/*
 * This file was automatically generated.
 * DO NOT MODIFY BY HAND.
 * Run `yarn fix:special` to update
 */
"use strict";module.exports=o,module.exports.default=o;const e={type:"object",additionalProperties:!1,properties:{activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]},progressBar:{anyOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{color:{type:"string"},name:{type:"string"}}}]}}},r=Object.prototype.hasOwnProperty;function n(o,{instancePath:t="",parentData:s,parentDataProperty:a,rootData:l=o}={}){let i=null,p=0;if(0===p){if(!o||"object"!=typeof o||Array.isArray(o))return n.errors=[{params:{type:"object"}}],!1;{const t=p;for(const t in o)if(!r.call(e.properties,t))return n.errors=[{params:{additionalProperty:t}}],!1;if(t===p){if(void 0!==o.activeModules){const e=p;if("boolean"!=typeof o.activeModules)return n.errors=[{params:{type:"boolean"}}],!1;var u=e===p}else u=!0;if(u){if(void 0!==o.dependencies){const e=p;if("boolean"!=typeof o.dependencies)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==o.dependenciesCount){const e=p;if("number"!=typeof o.dependenciesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==o.entries){const e=p;if("boolean"!=typeof o.entries)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==o.handler){const e=p,r=p;let t=!1,s=null;const a=p;if(!(o.handler instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),p++}if(a===p&&(t=!0,s=0),!t){const e={params:{passingSchemas:s}};return null===i?i=[e]:i.push(e),p++,n.errors=i,!1}p=r,null!==i&&(r?i.length=r:i=null),u=e===p}else u=!0;if(u){if(void 0!==o.modules){const e=p;if("boolean"!=typeof o.modules)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==o.modulesCount){const e=p;if("number"!=typeof o.modulesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==o.percentBy){let e=o.percentBy;const r=p;if("entries"!==e&&"modules"!==e&&"dependencies"!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0;if(u){if(void 0!==o.profile){let e=o.profile;const r=p;if(!0!==e&&!1!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0;if(u)if(void 0!==o.progressBar){let e=o.progressBar;const r=p,t=p;let s=!1;const a=p;if("boolean"!=typeof e){const e={params:{type:"boolean"}};null===i?i=[e]:i.push(e),p++}var c=a===p;if(s=s||c,!s){const r=p;if(p===r)if(e&&"object"==typeof e&&!Array.isArray(e)){const r=p;for(const r in e)if("color"!==r&&"name"!==r){const e={params:{additionalProperty:r}};null===i?i=[e]:i.push(e),p++;break}if(r===p){if(void 0!==e.color){const r=p;if("string"!=typeof e.color){const e={params:{type:"string"}};null===i?i=[e]:i.push(e),p++}var f=r===p}else f=!0;if(f)if(void 0!==e.name){const r=p;if("string"!=typeof e.name){const e={params:{type:"string"}};null===i?i=[e]:i.push(e),p++}f=r===p}else f=!0}}else{const e={params:{type:"object"}};null===i?i=[e]:i.push(e),p++}c=r===p,s=s||c}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),p++,n.errors=i,!1}p=t,null!==i&&(t?i.length=t:i=null),u=r===p}else u=!0}}}}}}}}}}}return n.errors=i,0===p}function o(e,{instancePath:r="",parentData:t,parentDataProperty:s,rootData:a=e}={}){let l=null,i=0;const p=i;let u=!1;const c=i;n(e,{instancePath:r,parentData:t,parentDataProperty:s,rootData:a})||(l=null===l?n.errors:l.concat(n.errors),i=l.length);var f=c===i;if(u=u||f,!u){const r=i;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),i++}f=r===i,u=u||f}if(!u){const e={params:{}};return null===l?l=[e]:l.push(e),i++,o.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),o.errors=l,0===i}