altair-graphql-core 7.2.0 → 7.2.1

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.
@@ -38,7 +38,8 @@ class HttpRequestHandler {
38
38
  // meros couldn't handle the response, so we'll handle it ourselves
39
39
  if (!merosResponse.ok || !merosResponse.body) {
40
40
  // don't handle streaming
41
- return this.emitChunk(merosResponse, new Uint8Array(), true, observer, requestStartTime, requestEndTime);
41
+ const buffer = await merosResponse.arrayBuffer();
42
+ return this.emitChunk(merosResponse, new Uint8Array(buffer), true, observer, requestStartTime, requestEndTime);
42
43
  }
43
44
  const reader = merosResponse.body.getReader();
44
45
  while (true) {
@@ -272,6 +272,46 @@ const testObserver = (o) => {
272
272
  }),
273
273
  ]);
274
274
  });
275
+ (0, globals_1.it)('should properly handle normal unsuccessful HTTP GET requests', async () => {
276
+ const mockHandler = new MswMockRequestHandler('http://localhost:3000/graphql', async () => {
277
+ return new Response('my data is not found', {
278
+ status: 404,
279
+ });
280
+ });
281
+ server.use(mockHandler);
282
+ const request = {
283
+ url: 'http://localhost:3000/graphql',
284
+ method: 'GET',
285
+ additionalParams: {
286
+ testData: [
287
+ {
288
+ hello: 'world',
289
+ },
290
+ ],
291
+ },
292
+ headers: [],
293
+ query: 'query { hello }',
294
+ variables: {},
295
+ selectedOperation: 'hello',
296
+ };
297
+ const httpHandler = new http_1.HttpRequestHandler();
298
+ const res = await testObserver(httpHandler.handle(request));
299
+ const receivedRequest = mockHandler.receivedRequest();
300
+ (0, globals_1.expect)(receivedRequest?.url).toEqual('http://localhost:3000/graphql?query=query+%7B+hello+%7D&variables=%7B%7D&operationName=hello');
301
+ (0, globals_1.expect)(receivedRequest?.body).toBeNull();
302
+ (0, globals_1.expect)(res).toEqual([
303
+ globals_1.expect.objectContaining({
304
+ ok: false,
305
+ data: 'my data is not found',
306
+ headers: globals_1.expect.any(Object),
307
+ status: 404,
308
+ url: 'http://localhost:3000/graphql?query=query+%7B+hello+%7D&variables=%7B%7D&operationName=hello',
309
+ requestStartTimestamp: globals_1.expect.any(Number),
310
+ requestEndTimestamp: globals_1.expect.any(Number),
311
+ resopnseTimeMs: globals_1.expect.any(Number),
312
+ }),
313
+ ]);
314
+ });
275
315
  (0, globals_1.it)('should properly handle failed HTTP requests', async () => {
276
316
  const mockHandler = new MswMockRequestHandler('http://localhost:3000/error', async () => {
277
317
  return Response.error();
@@ -38,9 +38,11 @@ const buildResponse = (responses, strategy = types_1.MultiResponseStrategy.AUTO)
38
38
  };
39
39
  exports.buildResponse = buildResponse;
40
40
  const buildResponse__concatenate = (responses) => {
41
+ const content = responses.map((r) => r.content).join('');
42
+ const parsedContent = (0, json_1.parseJson)(content, { defaultValue: null });
41
43
  return [
42
44
  {
43
- content: responses.map((r) => r.content).join(''),
45
+ content: parsedContent ? JSON.stringify(parsedContent, null, 2) : content,
44
46
  timestamp: responses.at(-1)?.timestamp ?? 0,
45
47
  },
46
48
  ];
@@ -130,6 +130,19 @@ const responseChunks = [
130
130
  const res = (0, response_builder_1.buildResponse)(responseChunks, types_1.MultiResponseStrategy.CONCATENATE);
131
131
  (0, globals_1.expect)(res).toMatchSnapshot();
132
132
  });
133
+ (0, globals_1.it)('should concatenate the responses and format the data if concatenated data is valid JSON', () => {
134
+ const res = (0, response_builder_1.buildResponse)([
135
+ {
136
+ content: '{"hello":',
137
+ timestamp: 1718252802585
138
+ },
139
+ {
140
+ content: '"world"}',
141
+ timestamp: 1718252802585,
142
+ }
143
+ ]);
144
+ (0, globals_1.expect)(res).toMatchSnapshot();
145
+ });
133
146
  (0, globals_1.it)('should return timestamp as 0 if no responses are provided', () => {
134
147
  const res = (0, response_builder_1.buildResponse)([], types_1.MultiResponseStrategy.CONCATENATE);
135
148
  (0, globals_1.expect)(res).toEqual([
@@ -86,6 +86,10 @@ export interface SettingsState {
86
86
  * Disable line numbers
87
87
  */
88
88
  disableLineNumbers?: boolean;
89
+ /**
90
+ * Hides deprecated Doc items
91
+ */
92
+ 'doc.hideDeprecatedItems'?: boolean;
89
93
  /**
90
94
  * Specify custom theme config to override the specified theme values
91
95
  */
@@ -275,6 +275,10 @@
275
275
  "description": "Specifies if native push notifications should be disabled",
276
276
  "type": "boolean"
277
277
  },
278
+ "doc.hideDeprecatedItems": {
279
+ "description": "Hides deprecated Doc items",
280
+ "type": "boolean"
281
+ },
278
282
  "editor.shortcuts": {
279
283
  "$ref": "#/definitions/Record<string,string>",
280
284
  "description": "Contains shortcut to action mapping"
@@ -32,7 +32,8 @@ export class HttpRequestHandler {
32
32
  // meros couldn't handle the response, so we'll handle it ourselves
33
33
  if (!merosResponse.ok || !merosResponse.body) {
34
34
  // don't handle streaming
35
- return this.emitChunk(merosResponse, new Uint8Array(), true, observer, requestStartTime, requestEndTime);
35
+ const buffer = await merosResponse.arrayBuffer();
36
+ return this.emitChunk(merosResponse, new Uint8Array(buffer), true, observer, requestStartTime, requestEndTime);
36
37
  }
37
38
  const reader = merosResponse.body.getReader();
38
39
  while (true) {
@@ -270,6 +270,46 @@ describe('HTTP handler', () => {
270
270
  }),
271
271
  ]);
272
272
  });
273
+ it('should properly handle normal unsuccessful HTTP GET requests', async () => {
274
+ const mockHandler = new MswMockRequestHandler('http://localhost:3000/graphql', async () => {
275
+ return new Response('my data is not found', {
276
+ status: 404,
277
+ });
278
+ });
279
+ server.use(mockHandler);
280
+ const request = {
281
+ url: 'http://localhost:3000/graphql',
282
+ method: 'GET',
283
+ additionalParams: {
284
+ testData: [
285
+ {
286
+ hello: 'world',
287
+ },
288
+ ],
289
+ },
290
+ headers: [],
291
+ query: 'query { hello }',
292
+ variables: {},
293
+ selectedOperation: 'hello',
294
+ };
295
+ const httpHandler = new HttpRequestHandler();
296
+ const res = await testObserver(httpHandler.handle(request));
297
+ const receivedRequest = mockHandler.receivedRequest();
298
+ expect(receivedRequest?.url).toEqual('http://localhost:3000/graphql?query=query+%7B+hello+%7D&variables=%7B%7D&operationName=hello');
299
+ expect(receivedRequest?.body).toBeNull();
300
+ expect(res).toEqual([
301
+ expect.objectContaining({
302
+ ok: false,
303
+ data: 'my data is not found',
304
+ headers: expect.any(Object),
305
+ status: 404,
306
+ url: 'http://localhost:3000/graphql?query=query+%7B+hello+%7D&variables=%7B%7D&operationName=hello',
307
+ requestStartTimestamp: expect.any(Number),
308
+ requestEndTimestamp: expect.any(Number),
309
+ resopnseTimeMs: expect.any(Number),
310
+ }),
311
+ ]);
312
+ });
273
313
  it('should properly handle failed HTTP requests', async () => {
274
314
  const mockHandler = new MswMockRequestHandler('http://localhost:3000/error', async () => {
275
315
  return Response.error();
@@ -34,9 +34,11 @@ export const buildResponse = (responses, strategy = MultiResponseStrategy.AUTO)
34
34
  }
35
35
  };
36
36
  const buildResponse__concatenate = (responses) => {
37
+ const content = responses.map((r) => r.content).join('');
38
+ const parsedContent = parseJson(content, { defaultValue: null });
37
39
  return [
38
40
  {
39
- content: responses.map((r) => r.content).join(''),
41
+ content: parsedContent ? JSON.stringify(parsedContent, null, 2) : content,
40
42
  timestamp: responses.at(-1)?.timestamp ?? 0,
41
43
  },
42
44
  ];
@@ -128,6 +128,19 @@ describe('response-builder', () => {
128
128
  const res = buildResponse(responseChunks, MultiResponseStrategy.CONCATENATE);
129
129
  expect(res).toMatchSnapshot();
130
130
  });
131
+ it('should concatenate the responses and format the data if concatenated data is valid JSON', () => {
132
+ const res = buildResponse([
133
+ {
134
+ content: '{"hello":',
135
+ timestamp: 1718252802585
136
+ },
137
+ {
138
+ content: '"world"}',
139
+ timestamp: 1718252802585,
140
+ }
141
+ ]);
142
+ expect(res).toMatchSnapshot();
143
+ });
131
144
  it('should return timestamp as 0 if no responses are provided', () => {
132
145
  const res = buildResponse([], MultiResponseStrategy.CONCATENATE);
133
146
  expect(res).toEqual([
@@ -275,6 +275,10 @@
275
275
  "description": "Specifies if native push notifications should be disabled",
276
276
  "type": "boolean"
277
277
  },
278
+ "doc.hideDeprecatedItems": {
279
+ "description": "Hides deprecated Doc items",
280
+ "type": "boolean"
281
+ },
278
282
  "editor.shortcuts": {
279
283
  "$ref": "#/definitions/Record<string,string>",
280
284
  "description": "Contains shortcut to action mapping"
@@ -86,6 +86,10 @@ export interface SettingsState {
86
86
  * Disable line numbers
87
87
  */
88
88
  disableLineNumbers?: boolean;
89
+ /**
90
+ * Hides deprecated Doc items
91
+ */
92
+ 'doc.hideDeprecatedItems'?: boolean;
89
93
  /**
90
94
  * Specify custom theme config to override the specified theme values
91
95
  */
@@ -1 +1 @@
1
- "use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data7 = data["editor.shortcuts"];const _errs15 = errors;if(!(data7 && typeof data7 == "object" && !Array.isArray(data7))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs18 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs20 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data10 = data.historyDepth;const _errs22 = errors;if(!((typeof data10 == "number") && (isFinite(data10)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data11 = data.language;const _errs24 = errors;if(typeof data11 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data11 === "cs-CZ") || (data11 === "de-DE")) || (data11 === "en-US")) || (data11 === "es-ES")) || (data11 === "fr-FR")) || (data11 === "it-IT")) || (data11 === "ja-JP")) || (data11 === "ko-KR")) || (data11 === "pl-PL")) || (data11 === "pt-BR")) || (data11 === "ro-RO")) || (data11 === "ru-RU")) || (data11 === "sr-SP")) || (data11 === "uk-UA")) || (data11 === "vi-VN")) || (data11 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data12 = data["plugin.list"];const _errs27 = errors;if(errors === _errs27){if(Array.isArray(data12)){var valid3 = true;const len0 = data12.length;for(let i0=0; i0<len0; i0++){const _errs29 = errors;if(typeof data12[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs29 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs27 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs31 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs31 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs33 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data16 = data["response.stream.strategy"];const _errs35 = errors;if(typeof data16 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data16 === "append") || (data16 === "auto")) || (data16 === "concatenate")) || (data16 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs38 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs38 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data18 = data["script.allowedCookies"];const _errs40 = errors;if(errors === _errs40){if(Array.isArray(data18)){var valid5 = true;const len1 = data18.length;for(let i1=0; i1<len1; i1++){const _errs42 = errors;if(typeof data18[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs42 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data20 = data.tabSize;const _errs44 = errors;if(!((typeof data20 == "number") && (isFinite(data20)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs44 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs46 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs48 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs50 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data24 = data["theme.editorFontSize"];const _errs52 = errors;if(!((typeof data24 == "number") && (isFinite(data24)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data25 = data["theme.fontsize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs56 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs57 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs57 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
1
+ "use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data12 = data.language;const _errs26 = errors;if(typeof data12 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data12 === "cs-CZ") || (data12 === "de-DE")) || (data12 === "en-US")) || (data12 === "es-ES")) || (data12 === "fr-FR")) || (data12 === "it-IT")) || (data12 === "ja-JP")) || (data12 === "ko-KR")) || (data12 === "pl-PL")) || (data12 === "pt-BR")) || (data12 === "ro-RO")) || (data12 === "ru-RU")) || (data12 === "sr-SP")) || (data12 === "uk-UA")) || (data12 === "vi-VN")) || (data12 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data13 = data["plugin.list"];const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data13)){var valid3 = true;const len0 = data13.length;for(let i0=0; i0<len0; i0++){const _errs31 = errors;if(typeof data13[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs31 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs29 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs33 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs35 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data17 = data["response.stream.strategy"];const _errs37 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data17 === "append") || (data17 === "auto")) || (data17 === "concatenate")) || (data17 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs37 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs40 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data19 = data["script.allowedCookies"];const _errs42 = errors;if(errors === _errs42){if(Array.isArray(data19)){var valid5 = true;const len1 = data19.length;for(let i1=0; i1<len1; i1++){const _errs44 = errors;if(typeof data19[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs44 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs42 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data21 = data.tabSize;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs48 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs50 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs52 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data25 = data["theme.editorFontSize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data26 = data["theme.fontsize"];const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs58 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs59 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs59 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
@@ -1 +1 @@
1
- "use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data7 = data["editor.shortcuts"];const _errs15 = errors;if(!(data7 && typeof data7 == "object" && !Array.isArray(data7))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs18 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs20 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data10 = data.historyDepth;const _errs22 = errors;if(!((typeof data10 == "number") && (isFinite(data10)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data11 = data.language;const _errs24 = errors;if(typeof data11 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data11 === "cs-CZ") || (data11 === "de-DE")) || (data11 === "en-US")) || (data11 === "es-ES")) || (data11 === "fr-FR")) || (data11 === "it-IT")) || (data11 === "ja-JP")) || (data11 === "ko-KR")) || (data11 === "pl-PL")) || (data11 === "pt-BR")) || (data11 === "ro-RO")) || (data11 === "ru-RU")) || (data11 === "sr-SP")) || (data11 === "uk-UA")) || (data11 === "vi-VN")) || (data11 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data12 = data["plugin.list"];const _errs27 = errors;if(errors === _errs27){if(Array.isArray(data12)){var valid3 = true;const len0 = data12.length;for(let i0=0; i0<len0; i0++){const _errs29 = errors;if(typeof data12[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs29 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs27 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs31 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs31 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs33 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data16 = data["response.stream.strategy"];const _errs35 = errors;if(typeof data16 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data16 === "append") || (data16 === "auto")) || (data16 === "concatenate")) || (data16 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs38 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs38 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data18 = data["script.allowedCookies"];const _errs40 = errors;if(errors === _errs40){if(Array.isArray(data18)){var valid5 = true;const len1 = data18.length;for(let i1=0; i1<len1; i1++){const _errs42 = errors;if(typeof data18[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs42 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data20 = data.tabSize;const _errs44 = errors;if(!((typeof data20 == "number") && (isFinite(data20)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs44 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs46 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs48 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs50 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data24 = data["theme.editorFontSize"];const _errs52 = errors;if(!((typeof data24 == "number") && (isFinite(data24)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data25 = data["theme.fontsize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs56 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs57 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs57 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
1
+ "use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data12 = data.language;const _errs26 = errors;if(typeof data12 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data12 === "cs-CZ") || (data12 === "de-DE")) || (data12 === "en-US")) || (data12 === "es-ES")) || (data12 === "fr-FR")) || (data12 === "it-IT")) || (data12 === "ja-JP")) || (data12 === "ko-KR")) || (data12 === "pl-PL")) || (data12 === "pt-BR")) || (data12 === "ro-RO")) || (data12 === "ru-RU")) || (data12 === "sr-SP")) || (data12 === "uk-UA")) || (data12 === "vi-VN")) || (data12 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data13 = data["plugin.list"];const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data13)){var valid3 = true;const len0 = data13.length;for(let i0=0; i0<len0; i0++){const _errs31 = errors;if(typeof data13[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs31 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs29 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs33 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs35 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data17 = data["response.stream.strategy"];const _errs37 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data17 === "append") || (data17 === "auto")) || (data17 === "concatenate")) || (data17 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs37 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs40 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data19 = data["script.allowedCookies"];const _errs42 = errors;if(errors === _errs42){if(Array.isArray(data19)){var valid5 = true;const len1 = data19.length;for(let i1=0; i1<len1; i1++){const _errs44 = errors;if(typeof data19[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs44 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs42 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data21 = data.tabSize;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs48 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs50 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs52 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data25 = data["theme.editorFontSize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data26 = data["theme.fontsize"];const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs58 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs59 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs59 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "altair-graphql-core",
3
3
  "description": "Several of the core logic for altair graphql client",
4
- "version": "7.2.0",
4
+ "version": "7.2.1",
5
5
  "author": "Samuel Imolorhe <altair@sirmuel.design> (https://sirmuel.design)",
6
6
  "bugs": "https://github.com/altair-graphql/altair/issues",
7
7
  "dependencies": {
@@ -76,5 +76,5 @@
76
76
  "test": "jest"
77
77
  },
78
78
  "types": "./build/index.d.ts",
79
- "gitHead": "166011762273ace81a91c504b38337f2c34dec54"
79
+ "gitHead": "3da4b2d1af388358adab39ce386de29727bb01a8"
80
80
  }