dependency-cruiser 17.3.9 → 17.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";export const validate=K;export default K;const ze={type:"object",required:["SHA1","changes"],properties:{cacheFormatVersion:{type:"number"},SHA1:{type:"string"},changes:{type:"array",items:{type:"object",required:["name","type"],properties:{name:{type:"string"},type:{type:"string",enum:["added","copied","deleted","modified","renamed","type changed","unmerged","pairing broken","unknown","unmodified","untracked","ignored"]},oldName:{type:"string"},checksum:{type:"string"},args:{type:"array",items:{type:"string"}},rulesFile:{type:"string"}}}}}};const Be={type:"object",required:["source","dependencies","valid"],additionalProperties:!1,properties:{source:{type:"string"},valid:{type:"boolean"},dependencies:{$ref:"#/definitions/DependenciesType"},dependents:{type:"array",items:{type:"string"}},followable:{type:"boolean"},matchesDoNotFollow:{type:"boolean"},matchesFocus:{type:"boolean"},matchesReaches:{type:"boolean"},matchesHighlight:{type:"boolean"},coreModule:{type:"boolean"},couldNotResolve:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},license:{type:"string"},orphan:{type:"boolean"},reachable:{type:"array",items:{$ref:"#/definitions/ReachableType"}},reaches:{type:"array",items:{$ref:"#/definitions/ReachesType"}},rules:{type:"array",items:{$ref:"#/definitions/RuleSummaryType"}},consolidated:{type:"boolean"},instability:{type:"number"},experimentalStats:{$ref:"#/definitions/ExperimentalStatsType"},checksum:{type:"string"}}},_e={type:"string",enum:["aliased-subpath-import","aliased-tsconfig-base-url","aliased-tsconfig-paths","aliased-tsconfig","aliased-webpack","aliased-workspace","aliased","amd-define","amd-require","amd-exotic-require","core","deprecated","dynamic-import","exotic-require","export","import-equals","import","jsdoc","jsdoc-bracket-import","jsdoc-import-tag","local","localmodule","npm-bundled","npm-dev","npm-no-pkg","npm-optional","npm-peer","npm-unknown","npm","pre-compilation-only","process-get-builtin-module","require","triple-slash-amd-dependency","triple-slash-directive","triple-slash-file-reference","triple-slash-type-reference","type-import","type-only","undetermined","unknown"]};const je=Object.prototype.hasOwnProperty;const Ve={type:"object",required:["circular","coreModule","couldNotResolve","dependencyTypes","exoticallyRequired","dynamic","followable","module","moduleSystem","resolved","valid"],additionalProperties:!1,properties:{module:{type:"string"},protocol:{type:"string",enum:["data:","file:","node:","bun:"]},mimeType:{type:"string"},resolved:{type:"string"},coreModule:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},license:{type:"string"},followable:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{type:"string"},matchesDoNotFollow:{type:"boolean"},couldNotResolve:{type:"boolean"},preCompilationOnly:{type:"boolean"},typeOnly:{type:"boolean"},circular:{type:"boolean"},cycle:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},moduleSystem:{$ref:"#/definitions/ModuleSystemType"},valid:{type:"boolean"},rules:{type:"array",items:{$ref:"#/definitions/RuleSummaryType"}},instability:{type:"number"}}},He={type:"string",enum:["cjs","es6","amd","tsd"]};function G(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let n;if(s.name===void 0&&(n="name")||s.dependencyTypes===void 0&&(n="dependencyTypes"))return G.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:n},message:"must have required property '"+n+"'"}],!1;{const o=e;for(const m in s)if(!(m==="name"||m==="dependencyTypes")){return G.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(o===e){if(s.name!==void 0){const m=e;if(typeof s.name!="string")return G.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=m===e}else var i=!0;if(i)if(s.dependencyTypes!==void 0){let m=s.dependencyTypes;const d=e;if(e===d)if(Array.isArray(m)){var f=!0;const b=m.length;for(let R=0;R<b;R++){let l=m[R];const a=e;if(typeof l!="string")return G.errors=[{instancePath:t+"/dependencyTypes/"+R,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(l==="aliased-subpath-import"||l==="aliased-tsconfig-base-url"||l==="aliased-tsconfig-paths"||l==="aliased-tsconfig"||l==="aliased-webpack"||l==="aliased-workspace"||l==="aliased"||l==="amd-define"||l==="amd-require"||l==="amd-exotic-require"||l==="core"||l==="deprecated"||l==="dynamic-import"||l==="exotic-require"||l==="export"||l==="import-equals"||l==="import"||l==="jsdoc"||l==="jsdoc-bracket-import"||l==="jsdoc-import-tag"||l==="local"||l==="localmodule"||l==="npm-bundled"||l==="npm-dev"||l==="npm-no-pkg"||l==="npm-optional"||l==="npm-peer"||l==="npm-unknown"||l==="npm"||l==="pre-compilation-only"||l==="process-get-builtin-module"||l==="require"||l==="triple-slash-amd-dependency"||l==="triple-slash-directive"||l==="triple-slash-file-reference"||l==="triple-slash-type-reference"||l==="type-import"||l==="type-only"||l==="undetermined"||l==="unknown"))return G.errors=[{instancePath:t+"/dependencyTypes/"+R,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var f=a===e;if(!f)break}}else return G.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=d===e}else var i=!0}}}else return G.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return G.errors=r,e===0}const xe={type:"string",enum:["error","warn","info","ignore"]};function Q(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.name===void 0&&(f="name")||s.severity===void 0&&(f="severity"))return Q.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="name"||o==="severity")){return Q.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const o=e;if(typeof s.name!="string")return Q.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i)if(s.severity!==void 0){let o=s.severity;const m=e;if(typeof o!="string")return Q.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="error"||o==="warn"||o==="info"||o==="ignore"))return Q.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0}}}else return Q.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Q.errors=r,e===0}function U(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.circular===void 0&&(m="circular")||s.coreModule===void 0&&(m="coreModule")||s.couldNotResolve===void 0&&(m="couldNotResolve")||s.dependencyTypes===void 0&&(m="dependencyTypes")||s.exoticallyRequired===void 0&&(m="exoticallyRequired")||s.dynamic===void 0&&(m="dynamic")||s.followable===void 0&&(m="followable")||s.module===void 0&&(m="module")||s.moduleSystem===void 0&&(m="moduleSystem")||s.resolved===void 0&&(m="resolved")||s.valid===void 0&&(m="valid"))return U.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const d=e;for(const p in s)if(!je.call(Ve.properties,p)){return U.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.module!==void 0){const p=e;if(typeof s.module!="string")return U.errors=[{instancePath:t+"/module",schemaPath:"#/properties/module/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.protocol!==void 0){let p=s.protocol;const b=e;if(typeof p!="string")return U.errors=[{instancePath:t+"/protocol",schemaPath:"#/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="data:"||p==="file:"||p==="node:"||p==="bun:"))return U.errors=[{instancePath:t+"/protocol",schemaPath:"#/properties/protocol/enum",keyword:"enum",params:{allowedValues:Ve.properties.protocol.enum},message:"must be equal to one of the allowed values"}],!1;var i=b===e}else var i=!0;if(i){if(s.mimeType!==void 0){const p=e;if(typeof s.mimeType!="string")return U.errors=[{instancePath:t+"/mimeType",schemaPath:"#/properties/mimeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.resolved!==void 0){const p=e;if(typeof s.resolved!="string")return U.errors=[{instancePath:t+"/resolved",schemaPath:"#/properties/resolved/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.coreModule!==void 0){const p=e;if(typeof s.coreModule!="boolean")return U.errors=[{instancePath:t+"/coreModule",schemaPath:"#/properties/coreModule/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.dependencyTypes!==void 0){let p=s.dependencyTypes;const b=e;if(e===b)if(Array.isArray(p)){var f=!0;const l=p.length;for(let a=0;a<l;a++){let u=p[a];const S=e;if(typeof u!="string")return U.errors=[{instancePath:t+"/dependencyTypes/"+a,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="aliased-subpath-import"||u==="aliased-tsconfig-base-url"||u==="aliased-tsconfig-paths"||u==="aliased-tsconfig"||u==="aliased-webpack"||u==="aliased-workspace"||u==="aliased"||u==="amd-define"||u==="amd-require"||u==="amd-exotic-require"||u==="core"||u==="deprecated"||u==="dynamic-import"||u==="exotic-require"||u==="export"||u==="import-equals"||u==="import"||u==="jsdoc"||u==="jsdoc-bracket-import"||u==="jsdoc-import-tag"||u==="local"||u==="localmodule"||u==="npm-bundled"||u==="npm-dev"||u==="npm-no-pkg"||u==="npm-optional"||u==="npm-peer"||u==="npm-unknown"||u==="npm"||u==="pre-compilation-only"||u==="process-get-builtin-module"||u==="require"||u==="triple-slash-amd-dependency"||u==="triple-slash-directive"||u==="triple-slash-file-reference"||u==="triple-slash-type-reference"||u==="type-import"||u==="type-only"||u==="undetermined"||u==="unknown"))return U.errors=[{instancePath:t+"/dependencyTypes/"+a,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var f=S===e;if(!f)break}}else return U.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=b===e}else var i=!0;if(i){if(s.license!==void 0){const p=e;if(typeof s.license!="string")return U.errors=[{instancePath:t+"/license",schemaPath:"#/properties/license/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.followable!==void 0){const p=e;if(typeof s.followable!="boolean")return U.errors=[{instancePath:t+"/followable",schemaPath:"#/properties/followable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.dynamic!==void 0){const p=e;if(typeof s.dynamic!="boolean")return U.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.exoticallyRequired!==void 0){const p=e;if(typeof s.exoticallyRequired!="boolean")return U.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.exoticRequire!==void 0){const p=e;if(typeof s.exoticRequire!="string")return U.errors=[{instancePath:t+"/exoticRequire",schemaPath:"#/properties/exoticRequire/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.matchesDoNotFollow!==void 0){const p=e;if(typeof s.matchesDoNotFollow!="boolean")return U.errors=[{instancePath:t+"/matchesDoNotFollow",schemaPath:"#/properties/matchesDoNotFollow/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.couldNotResolve!==void 0){const p=e;if(typeof s.couldNotResolve!="boolean")return U.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.preCompilationOnly!==void 0){const p=e;if(typeof s.preCompilationOnly!="boolean")return U.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.typeOnly!==void 0){const p=e;if(typeof s.typeOnly!="boolean")return U.errors=[{instancePath:t+"/typeOnly",schemaPath:"#/properties/typeOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.circular!==void 0){const p=e;if(typeof s.circular!="boolean")return U.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.cycle!==void 0){let p=s.cycle;const b=e;if(e===b)if(Array.isArray(p)){var n=!0;const l=p.length;for(let a=0;a<l;a++){const u=e;G(p[a],{instancePath:t+"/cycle/"+a,parentData:p,parentDataProperty:a,rootData:A})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var n=u===e;if(!n)break}}else return U.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=b===e}else var i=!0;if(i){if(s.moduleSystem!==void 0){let p=s.moduleSystem;const b=e;if(typeof p!="string")return U.errors=[{instancePath:t+"/moduleSystem",schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="cjs"||p==="es6"||p==="amd"||p==="tsd"))return U.errors=[{instancePath:t+"/moduleSystem",schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:He.enum},message:"must be equal to one of the allowed values"}],!1;var i=b===e}else var i=!0;if(i){if(s.valid!==void 0){const p=e;if(typeof s.valid!="boolean")return U.errors=[{instancePath:t+"/valid",schemaPath:"#/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=p===e}else var i=!0;if(i){if(s.rules!==void 0){let p=s.rules;const b=e;if(e===b)if(Array.isArray(p)){var o=!0;const l=p.length;for(let a=0;a<l;a++){const u=e;Q(p[a],{instancePath:t+"/rules/"+a,parentData:p,parentDataProperty:a,rootData:A})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var o=u===e;if(!o)break}}else return U.errors=[{instancePath:t+"/rules",schemaPath:"#/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=b===e}else var i=!0;if(i)if(s.instability!==void 0){let p=s.instability;const b=e;if(!(typeof p=="number"&&isFinite(p)))return U.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=b===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}else return U.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return U.errors=r,e===0}function qe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const f=s.length;for(let n=0;n<f;n++){const o=e;U(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:A})||(r=r===null?U.errors:r.concat(U.errors),e=r.length);var i=o===e;if(!i)break}}else return qe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return qe.errors=r,e===0}function X(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.modules===void 0&&(m="modules")||s.asDefinedInRule===void 0&&(m="asDefinedInRule"))return X.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const d=e;for(const p in s)if(!(p==="modules"||p==="asDefinedInRule")){return X.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.modules!==void 0){let p=s.modules;const b=e;if(e===b)if(Array.isArray(p)){var i=!0;const R=p.length;for(let l=0;l<R;l++){let a=p[l];const u=e;if(e===u)if(a&&typeof a=="object"&&!Array.isArray(a)){let g;if(a.source===void 0&&(g="source")||a.via===void 0&&(g="via"))return X.errors=[{instancePath:t+"/modules/"+l,schemaPath:"#/properties/modules/items/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"}],!1;{const c=e;for(const h in a)if(!(h==="source"||h==="via")){return X.errors=[{instancePath:t+"/modules/"+l,schemaPath:"#/properties/modules/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(c===e){if(a.source!==void 0){const h=e;if(typeof a.source!="string")return X.errors=[{instancePath:t+"/modules/"+l+"/source",schemaPath:"#/properties/modules/items/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=h===e}else var f=!0;if(f)if(a.via!==void 0){let h=a.via;const x=e;if(e===x)if(Array.isArray(h)){var n=!0;const L=h.length;for(let $=0;$<L;$++){const _=e;G(h[$],{instancePath:t+"/modules/"+l+"/via/"+$,parentData:h,parentDataProperty:$,rootData:A})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var n=_===e;if(!n)break}}else return X.errors=[{instancePath:t+"/modules/"+l+"/via",schemaPath:"#/properties/modules/items/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=x===e}else var f=!0}}}else return X.errors=[{instancePath:t+"/modules/"+l,schemaPath:"#/properties/modules/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=u===e;if(!i)break}}else return X.errors=[{instancePath:t+"/modules",schemaPath:"#/properties/modules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=b===e}else var o=!0;if(o)if(s.asDefinedInRule!==void 0){const p=e;if(typeof s.asDefinedInRule!="string")return X.errors=[{instancePath:t+"/asDefinedInRule",schemaPath:"#/properties/asDefinedInRule/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===e}else var o=!0}}}else return X.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return X.errors=r,e===0}function I(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let R;if(s.source===void 0&&(R="source")||s.dependencies===void 0&&(R="dependencies")||s.valid===void 0&&(R="valid"))return I.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:R},message:"must have required property '"+R+"'"}],!1;{const l=e;for(const a in s)if(!je.call(Be.properties,a)){return I.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.source!==void 0){const a=e;if(typeof s.source!="string")return I.errors=[{instancePath:t+"/source",schemaPath:"#/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=a===e}else var i=!0;if(i){if(s.valid!==void 0){const a=e;if(typeof s.valid!="boolean")return I.errors=[{instancePath:t+"/valid",schemaPath:"#/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.dependencies!==void 0){const a=e;qe(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:A})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var i=a===e}else var i=!0;if(i){if(s.dependents!==void 0){let a=s.dependents;const u=e;if(e===u)if(Array.isArray(a)){var f=!0;const g=a.length;for(let c=0;c<g;c++){const h=e;if(typeof a[c]!="string")return I.errors=[{instancePath:t+"/dependents/"+c,schemaPath:"#/properties/dependents/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=h===e;if(!f)break}}else return I.errors=[{instancePath:t+"/dependents",schemaPath:"#/properties/dependents/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=u===e}else var i=!0;if(i){if(s.followable!==void 0){const a=e;if(typeof s.followable!="boolean")return I.errors=[{instancePath:t+"/followable",schemaPath:"#/properties/followable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.matchesDoNotFollow!==void 0){const a=e;if(typeof s.matchesDoNotFollow!="boolean")return I.errors=[{instancePath:t+"/matchesDoNotFollow",schemaPath:"#/properties/matchesDoNotFollow/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.matchesFocus!==void 0){const a=e;if(typeof s.matchesFocus!="boolean")return I.errors=[{instancePath:t+"/matchesFocus",schemaPath:"#/properties/matchesFocus/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.matchesReaches!==void 0){const a=e;if(typeof s.matchesReaches!="boolean")return I.errors=[{instancePath:t+"/matchesReaches",schemaPath:"#/properties/matchesReaches/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.matchesHighlight!==void 0){const a=e;if(typeof s.matchesHighlight!="boolean")return I.errors=[{instancePath:t+"/matchesHighlight",schemaPath:"#/properties/matchesHighlight/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.coreModule!==void 0){const a=e;if(typeof s.coreModule!="boolean")return I.errors=[{instancePath:t+"/coreModule",schemaPath:"#/properties/coreModule/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.couldNotResolve!==void 0){const a=e;if(typeof s.couldNotResolve!="boolean")return I.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.dependencyTypes!==void 0){let a=s.dependencyTypes;const u=e;if(e===u)if(Array.isArray(a)){var n=!0;const g=a.length;for(let c=0;c<g;c++){let h=a[c];const x=e;if(typeof h!="string")return I.errors=[{instancePath:t+"/dependencyTypes/"+c,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(h==="aliased-subpath-import"||h==="aliased-tsconfig-base-url"||h==="aliased-tsconfig-paths"||h==="aliased-tsconfig"||h==="aliased-webpack"||h==="aliased-workspace"||h==="aliased"||h==="amd-define"||h==="amd-require"||h==="amd-exotic-require"||h==="core"||h==="deprecated"||h==="dynamic-import"||h==="exotic-require"||h==="export"||h==="import-equals"||h==="import"||h==="jsdoc"||h==="jsdoc-bracket-import"||h==="jsdoc-import-tag"||h==="local"||h==="localmodule"||h==="npm-bundled"||h==="npm-dev"||h==="npm-no-pkg"||h==="npm-optional"||h==="npm-peer"||h==="npm-unknown"||h==="npm"||h==="pre-compilation-only"||h==="process-get-builtin-module"||h==="require"||h==="triple-slash-amd-dependency"||h==="triple-slash-directive"||h==="triple-slash-file-reference"||h==="triple-slash-type-reference"||h==="type-import"||h==="type-only"||h==="undetermined"||h==="unknown"))return I.errors=[{instancePath:t+"/dependencyTypes/"+c,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var n=x===e;if(!n)break}}else return I.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=u===e}else var i=!0;if(i){if(s.license!==void 0){const a=e;if(typeof s.license!="string")return I.errors=[{instancePath:t+"/license",schemaPath:"#/properties/license/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=a===e}else var i=!0;if(i){if(s.orphan!==void 0){const a=e;if(typeof s.orphan!="boolean")return I.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.reachable!==void 0){let a=s.reachable;const u=e;if(e===u)if(Array.isArray(a)){var o=!0;const g=a.length;for(let c=0;c<g;c++){let h=a[c];const x=e;if(e===e)if(h&&typeof h=="object"&&!Array.isArray(h)){let $;if(h.value===void 0&&($="value")||h.asDefinedInRule===void 0&&($="asDefinedInRule")||h.matchedFrom===void 0&&($="matchedFrom"))return I.errors=[{instancePath:t+"/reachable/"+c,schemaPath:"#/definitions/ReachableType/required",keyword:"required",params:{missingProperty:$},message:"must have required property '"+$+"'"}],!1;{const _=e;for(const D in h)if(!(D==="value"||D==="asDefinedInRule"||D==="matchedFrom")){return I.errors=[{instancePath:t+"/reachable/"+c,schemaPath:"#/definitions/ReachableType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:D},message:"must NOT have additional properties"}],!1;break}if(_===e){if(h.value!==void 0){const D=e;if(typeof h.value!="boolean")return I.errors=[{instancePath:t+"/reachable/"+c+"/value",schemaPath:"#/definitions/ReachableType/properties/value/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var m=D===e}else var m=!0;if(m){if(h.asDefinedInRule!==void 0){const D=e;if(typeof h.asDefinedInRule!="string")return I.errors=[{instancePath:t+"/reachable/"+c+"/asDefinedInRule",schemaPath:"#/definitions/ReachableType/properties/asDefinedInRule/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=D===e}else var m=!0;if(m)if(h.matchedFrom!==void 0){const D=e;if(typeof h.matchedFrom!="string")return I.errors=[{instancePath:t+"/reachable/"+c+"/matchedFrom",schemaPath:"#/definitions/ReachableType/properties/matchedFrom/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=D===e}else var m=!0}}}}else return I.errors=[{instancePath:t+"/reachable/"+c,schemaPath:"#/definitions/ReachableType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=x===e;if(!o)break}}else return I.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=u===e}else var i=!0;if(i){if(s.reaches!==void 0){let a=s.reaches;const u=e;if(e===u)if(Array.isArray(a)){var d=!0;const g=a.length;for(let c=0;c<g;c++){const h=e;X(a[c],{instancePath:t+"/reaches/"+c,parentData:a,parentDataProperty:c,rootData:A})||(r=r===null?X.errors:r.concat(X.errors),e=r.length);var d=h===e;if(!d)break}}else return I.errors=[{instancePath:t+"/reaches",schemaPath:"#/properties/reaches/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=u===e}else var i=!0;if(i){if(s.rules!==void 0){let a=s.rules;const u=e;if(e===u)if(Array.isArray(a)){var p=!0;const g=a.length;for(let c=0;c<g;c++){const h=e;Q(a[c],{instancePath:t+"/rules/"+c,parentData:a,parentDataProperty:c,rootData:A})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var p=h===e;if(!p)break}}else return I.errors=[{instancePath:t+"/rules",schemaPath:"#/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=u===e}else var i=!0;if(i){if(s.consolidated!==void 0){const a=e;if(typeof s.consolidated!="boolean")return I.errors=[{instancePath:t+"/consolidated",schemaPath:"#/properties/consolidated/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.instability!==void 0){let a=s.instability;const u=e;if(!(typeof a=="number"&&isFinite(a)))return I.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){let a=s.experimentalStats;const u=e;if(e===e)if(a&&typeof a=="object"&&!Array.isArray(a)){let c;if(a.size===void 0&&(c="size")||a.topLevelStatementCount===void 0&&(c="topLevelStatementCount"))return I.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/required",keyword:"required",params:{missingProperty:c},message:"must have required property '"+c+"'"}],!1;{const h=e;for(const x in a)if(!(x==="topLevelStatementCount"||x==="size")){return I.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:x},message:"must NOT have additional properties"}],!1;break}if(h===e){if(a.topLevelStatementCount!==void 0){let x=a.topLevelStatementCount;const q=e;if(!(typeof x=="number"&&isFinite(x)))return I.errors=[{instancePath:t+"/experimentalStats/topLevelStatementCount",schemaPath:"#/definitions/ExperimentalStatsType/properties/topLevelStatementCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var b=q===e}else var b=!0;if(b)if(a.size!==void 0){let x=a.size;const q=e;if(!(typeof x=="number"&&isFinite(x)))return I.errors=[{instancePath:t+"/experimentalStats/size",schemaPath:"#/definitions/ExperimentalStatsType/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var b=q===e}else var b=!0}}}else return I.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=u===e}else var i=!0;if(i)if(s.checksum!==void 0){const a=e;if(typeof s.checksum!="string")return I.errors=[{instancePath:t+"/checksum",schemaPath:"#/properties/checksum/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=a===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}else return I.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return I.errors=r,e===0}function Ee(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const f=s.length;for(let n=0;n<f;n++){const o=e;I(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:A})||(r=r===null?I.errors:r.concat(I.errors),e=r.length);var i=o===e;if(!i)break}}else return Ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Ee.errors=r,e===0}function z(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let b;if(s.name===void 0&&(b="name")||s.moduleCount===void 0&&(b="moduleCount"))return z.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"}],!1;{const R=e;for(const l in s)if(!(l==="name"||l==="dependents"||l==="dependencies"||l==="moduleCount"||l==="afferentCouplings"||l==="efferentCouplings"||l==="instability"||l==="experimentalStats")){return z.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(R===e){if(s.name!==void 0){const l=e;if(typeof s.name!="string")return z.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.dependents!==void 0){let l=s.dependents;const a=e;if(e===a)if(Array.isArray(l)){var f=!0;const S=l.length;for(let g=0;g<S;g++){let c=l[g];const h=e;if(e===h)if(c&&typeof c=="object"&&!Array.isArray(c)){let q;if(c.name===void 0&&(q="name"))return z.errors=[{instancePath:t+"/dependents/"+g,schemaPath:"#/properties/dependents/items/required",keyword:"required",params:{missingProperty:q},message:"must have required property '"+q+"'"}],!1;{const L=e;for(const $ in c)if($!=="name"){return z.errors=[{instancePath:t+"/dependents/"+g,schemaPath:"#/properties/dependents/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:$},message:"must NOT have additional properties"}],!1;break}if(L===e&&c.name!==void 0&&typeof c.name!="string")return z.errors=[{instancePath:t+"/dependents/"+g+"/name",schemaPath:"#/properties/dependents/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}}else return z.errors=[{instancePath:t+"/dependents/"+g,schemaPath:"#/properties/dependents/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=h===e;if(!f)break}}else return z.errors=[{instancePath:t+"/dependents",schemaPath:"#/properties/dependents/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=a===e}else var i=!0;if(i){if(s.dependencies!==void 0){let l=s.dependencies;const a=e;if(e===a)if(Array.isArray(l)){var n=!0;const S=l.length;for(let g=0;g<S;g++){let c=l[g];const h=e;if(e===h)if(c&&typeof c=="object"&&!Array.isArray(c)){let q;if(c.name===void 0&&(q="name")||c.valid===void 0&&(q="valid")||c.circular===void 0&&(q="circular"))return z.errors=[{instancePath:t+"/dependencies/"+g,schemaPath:"#/properties/dependencies/items/required",keyword:"required",params:{missingProperty:q},message:"must have required property '"+q+"'"}],!1;{const L=e;for(const $ in c)if(!($==="name"||$==="instability"||$==="valid"||$==="circular"||$==="cycle"||$==="rules")){return z.errors=[{instancePath:t+"/dependencies/"+g,schemaPath:"#/properties/dependencies/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:$},message:"must NOT have additional properties"}],!1;break}if(L===e){if(c.name!==void 0){const $=e;if(typeof c.name!="string")return z.errors=[{instancePath:t+"/dependencies/"+g+"/name",schemaPath:"#/properties/dependencies/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=$===e}else var o=!0;if(o){if(c.instability!==void 0){let $=c.instability;const _=e;if(!(typeof $=="number"&&isFinite($)))return z.errors=[{instancePath:t+"/dependencies/"+g+"/instability",schemaPath:"#/properties/dependencies/items/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var o=_===e}else var o=!0;if(o){if(c.valid!==void 0){const $=e;if(typeof c.valid!="boolean")return z.errors=[{instancePath:t+"/dependencies/"+g+"/valid",schemaPath:"#/properties/dependencies/items/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var o=$===e}else var o=!0;if(o){if(c.circular!==void 0){const $=e;if(typeof c.circular!="boolean")return z.errors=[{instancePath:t+"/dependencies/"+g+"/circular",schemaPath:"#/properties/dependencies/items/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var o=$===e}else var o=!0;if(o){if(c.cycle!==void 0){let $=c.cycle;const _=e;if(e===_)if(Array.isArray($)){var m=!0;const E=$.length;for(let y=0;y<E;y++){const T=e;G($[y],{instancePath:t+"/dependencies/"+g+"/cycle/"+y,parentData:$,parentDataProperty:y,rootData:A})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var m=T===e;if(!m)break}}else return z.errors=[{instancePath:t+"/dependencies/"+g+"/cycle",schemaPath:"#/properties/dependencies/items/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=_===e}else var o=!0;if(o)if(c.rules!==void 0){let $=c.rules;const _=e;if(e===_)if(Array.isArray($)){var d=!0;const E=$.length;for(let y=0;y<E;y++){const T=e;Q($[y],{instancePath:t+"/dependencies/"+g+"/rules/"+y,parentData:$,parentDataProperty:y,rootData:A})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var d=T===e;if(!d)break}}else return z.errors=[{instancePath:t+"/dependencies/"+g+"/rules",schemaPath:"#/properties/dependencies/items/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=_===e}else var o=!0}}}}}}}else return z.errors=[{instancePath:t+"/dependencies/"+g,schemaPath:"#/properties/dependencies/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var n=h===e;if(!n)break}}else return z.errors=[{instancePath:t+"/dependencies",schemaPath:"#/properties/dependencies/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=a===e}else var i=!0;if(i){if(s.moduleCount!==void 0){let l=s.moduleCount;const a=e;if(!(typeof l=="number"&&isFinite(l)))return z.errors=[{instancePath:t+"/moduleCount",schemaPath:"#/properties/moduleCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=a===e}else var i=!0;if(i){if(s.afferentCouplings!==void 0){let l=s.afferentCouplings;const a=e;if(!(typeof l=="number"&&isFinite(l)))return z.errors=[{instancePath:t+"/afferentCouplings",schemaPath:"#/properties/afferentCouplings/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=a===e}else var i=!0;if(i){if(s.efferentCouplings!==void 0){let l=s.efferentCouplings;const a=e;if(!(typeof l=="number"&&isFinite(l)))return z.errors=[{instancePath:t+"/efferentCouplings",schemaPath:"#/properties/efferentCouplings/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=a===e}else var i=!0;if(i){if(s.instability!==void 0){let l=s.instability;const a=e;if(!(typeof l=="number"&&isFinite(l)))return z.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=a===e}else var i=!0;if(i)if(s.experimentalStats!==void 0){let l=s.experimentalStats;const a=e;if(e===e)if(l&&typeof l=="object"&&!Array.isArray(l)){let g;if(l.size===void 0&&(g="size")||l.topLevelStatementCount===void 0&&(g="topLevelStatementCount"))return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"}],!1;{const c=e;for(const h in l)if(!(h==="topLevelStatementCount"||h==="size")){return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(c===e){if(l.topLevelStatementCount!==void 0){let h=l.topLevelStatementCount;const x=e;if(!(typeof h=="number"&&isFinite(h)))return z.errors=[{instancePath:t+"/experimentalStats/topLevelStatementCount",schemaPath:"#/definitions/ExperimentalStatsType/properties/topLevelStatementCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var p=x===e}else var p=!0;if(p)if(l.size!==void 0){let h=l.size;const x=e;if(!(typeof h=="number"&&isFinite(h)))return z.errors=[{instancePath:t+"/experimentalStats/size",schemaPath:"#/definitions/ExperimentalStatsType/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var p=x===e}else var p=!0}}}else return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=a===e}else var i=!0}}}}}}}}}else return z.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return z.errors=r,e===0}function $e(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const f=s.length;for(let n=0;n<f;n++){const o=e;z(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:A})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var i=o===e;if(!i)break}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return $e.errors=r,e===0}const Je={type:"object",required:["violations","error","warn","info","totalCruised","optionsUsed"],additionalProperties:!1,properties:{violations:{$ref:"#/definitions/ViolationsType"},error:{type:"number"},warn:{type:"number"},info:{type:"number"},ignore:{type:"number"},totalCruised:{type:"number"},totalDependenciesCruised:{type:"number"},ruleSetUsed:{$ref:"#/definitions/RuleSetType"},optionsUsed:{$ref:"#/definitions/OptionsUsedType"}}};const Ge={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function J(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.from===void 0&&(m="from")||s.to===void 0&&(m="to")||s.rule===void 0&&(m="rule"))return J.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const d=e;for(const p in s)if(!(p==="from"||p==="to"||p==="type"||p==="rule"||p==="cycle"||p==="via"||p==="metrics"||p==="comment")){return J.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.from!==void 0){const p=e;if(typeof s.from!="string")return J.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.to!==void 0){const p=e;if(typeof s.to!="string")return J.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.type!==void 0){let p=s.type;const b=e;if(typeof p!="string")return J.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="dependency"||p==="module"||p==="reachability"||p==="cycle"||p==="instability"||p==="folder"))return J.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:Ge.enum},message:"must be equal to one of the allowed values"}],!1;var i=b===e}else var i=!0;if(i){if(s.rule!==void 0){const p=e;Q(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:A})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var i=p===e}else var i=!0;if(i){if(s.cycle!==void 0){let p=s.cycle;const b=e;if(e===b)if(Array.isArray(p)){var f=!0;const l=p.length;for(let a=0;a<l;a++){const u=e;G(p[a],{instancePath:t+"/cycle/"+a,parentData:p,parentDataProperty:a,rootData:A})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var f=u===e;if(!f)break}}else return J.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=b===e}else var i=!0;if(i){if(s.via!==void 0){let p=s.via;const b=e;if(e===b)if(Array.isArray(p)){var n=!0;const l=p.length;for(let a=0;a<l;a++){const u=e;G(p[a],{instancePath:t+"/via/"+a,parentData:p,parentDataProperty:a,rootData:A})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var n=u===e;if(!n)break}}else return J.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=b===e}else var i=!0;if(i){if(s.metrics!==void 0){let p=s.metrics;const b=e;if(e===b)if(p&&typeof p=="object"&&!Array.isArray(p)){let l;if(p.from===void 0&&(l="from")||p.to===void 0&&(l="to"))return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const a=e;for(const u in p)if(!(u==="from"||u==="to")){return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(a===e){if(p.from!==void 0){let u=p.from;const S=e;if(e===S)if(u&&typeof u=="object"&&!Array.isArray(u)){let g;if(u.instability===void 0&&(g="instability"))return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"}],!1;{const c=e;for(const h in u)if(h!=="instability"){return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(c===e&&u.instability!==void 0){let h=u.instability;if(!(typeof h=="number"&&isFinite(h)))return J.errors=[{instancePath:t+"/metrics/from/instability",schemaPath:"#/properties/metrics/properties/from/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===e}else var o=!0;if(o)if(p.to!==void 0){let u=p.to;const S=e;if(e===S)if(u&&typeof u=="object"&&!Array.isArray(u)){let c;if(u.instability===void 0&&(c="instability"))return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:c},message:"must have required property '"+c+"'"}],!1;{const h=e;for(const x in u)if(x!=="instability"){return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:x},message:"must NOT have additional properties"}],!1;break}if(h===e&&u.instability!==void 0){let x=u.instability;if(!(typeof x=="number"&&isFinite(x)))return J.errors=[{instancePath:t+"/metrics/to/instability",schemaPath:"#/properties/metrics/properties/to/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===e}else var o=!0}}}else return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=b===e}else var i=!0;if(i)if(s.comment!==void 0){const p=e;if(typeof s.comment!="string")return J.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0}}}}}}}}}else return J.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return J.errors=r,e===0}function Re(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const f=s.length;for(let n=0;n<f;n++){const o=e;J(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:A})||(r=r===null?J.errors:r.concat(J.errors),e=r.length);var i=o===e;if(!i)break}}else return Re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Re.errors=r,e===0}const Ke={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function oe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const p in s)if(!(p==="path"||p==="pathNot"||p==="orphan")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let p=s.path;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var f=u===e;f&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var i=!0;const g=p.length;for(let c=0;c<g;c++){const h=e;if(typeof p[c]!="string"){const q={instancePath:t+"/path/"+c,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[q]:r.push(q),e++}var i=h===e;if(!i)break}}else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[g]:r.push(g),e++}var f=S===e;if(f&&l?(l=!1,a=[a,1]):f&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,oe.errors=r,!1}var n=b===e}else var n=!0;if(n){if(s.pathNot!==void 0){let p=s.pathNot;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=u===e;m&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var o=!0;const c=p.length;for(let h=0;h<c;h++){const x=e;if(typeof p[h]!="string"){const L={instancePath:t+"/pathNot/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var o=x===e;if(!o)break}}else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=S===e;if(m&&l?(l=!1,a=[a,1]):m&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,oe.errors=r,!1}var n=b===e}else var n=!0;if(n)if(s.orphan!==void 0){const p=e;if(typeof s.orphan!="boolean")return oe.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=p===e}else var n=!0}}}else return oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return oe.errors=r,e===0}const Qe={type:"object",additionalProperties:!1,properties:{path:{$ref:"#/definitions/REAsStringsType"},pathNot:{$ref:"#/definitions/REAsStringsType"},couldNotResolve:{type:"boolean"},circular:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{$ref:"#/definitions/REAsStringsType"},exoticRequireNot:{$ref:"#/definitions/REAsStringsType"},preCompilationOnly:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},dependencyTypesNot:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},moreThanOneDependencyType:{type:"boolean"},license:{$ref:"#/definitions/REAsStringsType"},licenseNot:{$ref:"#/definitions/REAsStringsType"},via:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaOnly:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},viaSomeNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},moreUnstable:{type:"boolean"},ancestor:{type:"boolean"}}};function Pe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;const i=e;let f=!1,n=null;const o=e,m=e;let d=!1,p=null;const b=e;if(typeof s!="string"){const _={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var a=b===e;a&&(d=!0,p=0);const R=e;if(e===R)if(Array.isArray(s)){var l=!0;const _=s.length;for(let D=0;D<_;D++){const E=e;if(typeof s[D]!="string"){const T={instancePath:t+"/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[T]:r.push(T),e++}var l=E===e;if(!l)break}}else{const _={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var a=R===e;if(a&&d?(d=!1,p=[p,1]):a&&(d=!0,p=1),d)e=m,r!==null&&(m?r.length=m:r=null);else{const _={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};r===null?r=[_]:r.push(_),e++}var $=o===e;$&&(f=!0,n=0);const u=e;if(e===u)if(s&&typeof s=="object"&&!Array.isArray(s)){const _=e;for(const D in s)if(!(D==="path"||D==="pathNot"||D==="dependencyTypes"||D==="dependencyTypesNot")){const E={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:D},message:"must NOT have additional properties"};r===null?r=[E]:r.push(E),e++;break}if(_===e){if(s.path!==void 0){let D=s.path;const E=e,y=e;let T=!1,k=null;const v=e;if(typeof D!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var g=v===e;g&&(T=!0,k=0);const P=e;if(e===P)if(Array.isArray(D)){var S=!0;const w=D.length;for(let j=0;j<w;j++){const F=e;if(typeof D[j]!="string"){const H={instancePath:t+"/path/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var S=F===e;if(!S)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var g=P===e;if(g&&T?(T=!1,k=[k,1]):g&&(T=!0,k=1),T)e=y,r!==null&&(y?r.length=y:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};r===null?r=[w]:r.push(w),e++}var c=E===e}else var c=!0;if(c){if(s.pathNot!==void 0){let D=s.pathNot;const E=e,y=e;let T=!1,k=null;const v=e;if(typeof D!="string"){const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}var x=v===e;x&&(T=!0,k=0);const P=e;if(e===P)if(Array.isArray(D)){var h=!0;const j=D.length;for(let F=0;F<j;F++){const O=e;if(typeof D[F]!="string"){const Ae={instancePath:t+"/pathNot/"+F,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ae]:r.push(Ae),e++}var h=O===e;if(!h)break}}else{const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[j]:r.push(j),e++}var x=P===e;if(x&&T?(T=!1,k=[k,1]):x&&(T=!0,k=1),T)e=y,r!==null&&(y?r.length=y:r=null);else{const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};r===null?r=[j]:r.push(j),e++}var c=E===e}else var c=!0;if(c){if(s.dependencyTypes!==void 0){let D=s.dependencyTypes;const E=e;if(e===E)if(Array.isArray(D)){var q=!0;const T=D.length;for(let k=0;k<T;k++){let v=D[k];const P=e;if(typeof v!="string"){const j={instancePath:t+"/dependencyTypes/"+k,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}if(!(v==="aliased-subpath-import"||v==="aliased-tsconfig-base-url"||v==="aliased-tsconfig-paths"||v==="aliased-tsconfig"||v==="aliased-webpack"||v==="aliased-workspace"||v==="aliased"||v==="amd-define"||v==="amd-require"||v==="amd-exotic-require"||v==="core"||v==="deprecated"||v==="dynamic-import"||v==="exotic-require"||v==="export"||v==="import-equals"||v==="import"||v==="jsdoc"||v==="jsdoc-bracket-import"||v==="jsdoc-import-tag"||v==="local"||v==="localmodule"||v==="npm-bundled"||v==="npm-dev"||v==="npm-no-pkg"||v==="npm-optional"||v==="npm-peer"||v==="npm-unknown"||v==="npm"||v==="pre-compilation-only"||v==="process-get-builtin-module"||v==="require"||v==="triple-slash-amd-dependency"||v==="triple-slash-directive"||v==="triple-slash-file-reference"||v==="triple-slash-type-reference"||v==="type-import"||v==="type-only"||v==="undetermined"||v==="unknown")){const j={instancePath:t+"/dependencyTypes/"+k,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"};r===null?r=[j]:r.push(j),e++}var q=P===e;if(!q)break}}else{const T={instancePath:t+"/dependencyTypes",schemaPath:"#/oneOf/1/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[T]:r.push(T),e++}var c=E===e}else var c=!0;if(c)if(s.dependencyTypesNot!==void 0){let D=s.dependencyTypesNot;const E=e;if(e===E)if(Array.isArray(D)){var L=!0;const T=D.length;for(let k=0;k<T;k++){let v=D[k];const P=e;if(typeof v!="string"){const j={instancePath:t+"/dependencyTypesNot/"+k,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}if(!(v==="aliased-subpath-import"||v==="aliased-tsconfig-base-url"||v==="aliased-tsconfig-paths"||v==="aliased-tsconfig"||v==="aliased-webpack"||v==="aliased-workspace"||v==="aliased"||v==="amd-define"||v==="amd-require"||v==="amd-exotic-require"||v==="core"||v==="deprecated"||v==="dynamic-import"||v==="exotic-require"||v==="export"||v==="import-equals"||v==="import"||v==="jsdoc"||v==="jsdoc-bracket-import"||v==="jsdoc-import-tag"||v==="local"||v==="localmodule"||v==="npm-bundled"||v==="npm-dev"||v==="npm-no-pkg"||v==="npm-optional"||v==="npm-peer"||v==="npm-unknown"||v==="npm"||v==="pre-compilation-only"||v==="process-get-builtin-module"||v==="require"||v==="triple-slash-amd-dependency"||v==="triple-slash-directive"||v==="triple-slash-file-reference"||v==="triple-slash-type-reference"||v==="type-import"||v==="type-only"||v==="undetermined"||v==="unknown")){const j={instancePath:t+"/dependencyTypesNot/"+k,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"};r===null?r=[j]:r.push(j),e++}var L=P===e;if(!L)break}}else{const T={instancePath:t+"/dependencyTypesNot",schemaPath:"#/oneOf/1/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[T]:r.push(T),e++}var c=E===e}else var c=!0}}}}else{const _={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[_]:r.push(_),e++}var $=u===e;if($&&f?(f=!1,n=[n,1]):$&&(f=!0,n=1),f)e=i,r!==null&&(i?r.length=i:r=null);else{const _={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[_]:r.push(_),e++,Pe.errors=r,!1}return Pe.errors=r,e===0}function B(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const $=e;for(const _ in s)if(!je.call(Qe.properties,_)){return B.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:_},message:"must NOT have additional properties"}],!1;break}if($===e){if(s.path!==void 0){let _=s.path;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var f=k===e;f&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var i=!0;const P=_.length;for(let w=0;w<P;w++){const j=e;if(typeof _[w]!="string"){const O={instancePath:t+"/path/"+w,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var i=j===e;if(!i)break}}else{const P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var f=v===e;if(f&&y?(y=!1,T=[T,1]):f&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.pathNot!==void 0){let _=s.pathNot;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var m=k===e;m&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var o=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/pathNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var o=F===e;if(!o)break}}else{const w={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var m=v===e;if(m&&y?(y=!1,T=[T,1]):m&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.couldNotResolve!==void 0){const _=e;if(typeof s.couldNotResolve!="boolean")return B.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.circular!==void 0){const _=e;if(typeof s.circular!="boolean")return B.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.dynamic!==void 0){const _=e;if(typeof s.dynamic!="boolean")return B.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.exoticallyRequired!==void 0){const _=e;if(typeof s.exoticallyRequired!="boolean")return B.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.exoticRequire!==void 0){let _=s.exoticRequire;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var p=k===e;p&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var d=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/exoticRequire/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var d=F===e;if(!d)break}}else{const w={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var p=v===e;if(p&&y?(y=!1,T=[T,1]):p&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let _=s.exoticRequireNot;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var R=k===e;R&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var b=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/exoticRequireNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var b=F===e;if(!b)break}}else{const w={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var R=v===e;if(R&&y?(y=!1,T=[T,1]):R&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.preCompilationOnly!==void 0){const _=e;if(typeof s.preCompilationOnly!="boolean")return B.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.dependencyTypes!==void 0){let _=s.dependencyTypes;const D=e;if(e===D)if(Array.isArray(_)){var l=!0;const y=_.length;for(let T=0;T<y;T++){let k=_[T];const v=e;if(typeof k!="string")return B.errors=[{instancePath:t+"/dependencyTypes/"+T,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown"))return B.errors=[{instancePath:t+"/dependencyTypes/"+T,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var l=v===e;if(!l)break}}else return B.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=D===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let _=s.dependencyTypesNot;const D=e;if(e===D)if(Array.isArray(_)){var a=!0;const y=_.length;for(let T=0;T<y;T++){let k=_[T];const v=e;if(typeof k!="string")return B.errors=[{instancePath:t+"/dependencyTypesNot/"+T,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown"))return B.errors=[{instancePath:t+"/dependencyTypesNot/"+T,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var a=v===e;if(!a)break}}else return B.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=D===e}else var n=!0;if(n){if(s.moreThanOneDependencyType!==void 0){const _=e;if(typeof s.moreThanOneDependencyType!="boolean")return B.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n){if(s.license!==void 0){let _=s.license;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var S=k===e;S&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var u=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/license/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var u=F===e;if(!u)break}}else{const w={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var S=v===e;if(S&&y?(y=!1,T=[T,1]):S&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let _=s.licenseNot;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var c=k===e;c&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var g=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/licenseNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var g=F===e;if(!g)break}}else{const w={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var c=v===e;if(c&&y?(y=!1,T=[T,1]):c&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.via!==void 0){const _=e;Pe(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:A})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=_===e}else var n=!0;if(n){if(s.viaOnly!==void 0){const _=e;Pe(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:A})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=_===e}else var n=!0;if(n){if(s.viaNot!==void 0){let _=s.viaNot;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var x=k===e;x&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var h=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/viaNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var h=F===e;if(!h)break}}else{const w={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var x=v===e;if(x&&y?(y=!1,T=[T,1]):x&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let _=s.viaSomeNot;const D=e,E=e;let y=!1,T=null;const k=e;if(typeof _!="string"){const w={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var L=k===e;L&&(y=!0,T=0);const v=e;if(e===v)if(Array.isArray(_)){var q=!0;const w=_.length;for(let j=0;j<w;j++){const F=e;if(typeof _[j]!="string"){const H={instancePath:t+"/viaSomeNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var q=F===e;if(!q)break}}else{const w={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var L=v===e;if(L&&y?(y=!1,T=[T,1]):L&&(y=!0,T=1),y)e=E,r!==null&&(E?r.length=E:r=null);else{const w={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:T},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var n=D===e}else var n=!0;if(n){if(s.moreUnstable!==void 0){const _=e;if(typeof s.moreUnstable!="boolean")return B.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0;if(n)if(s.ancestor!==void 0){const _=e;if(typeof s.ancestor!="boolean")return B.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=_===e}else var n=!0}}}}}}}}}}}}}}}}}}}}else return B.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return B.errors=r,e===0}function ee(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return ee.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="name"||o==="severity"||o==="scope"||o==="comment"||o==="from"||o==="to")){return ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const o=e;if(typeof s.name!="string")return ee.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.severity!==void 0){let o=s.severity;const m=e;if(typeof o!="string")return ee.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="error"||o==="warn"||o==="info"||o==="ignore"))return ee.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return ee.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return ee.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ke.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return ee.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.from!==void 0){const o=e;oe(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:A})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.to!==void 0){const o=e;B(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:A})||(r=r===null?B.errors:r.concat(B.errors),e=r.length);var i=o===e}else var i=!0}}}}}}}else return ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ee.errors=r,e===0}const We={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function ye(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let p=s.path;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var f=u===e;f&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var i=!0;const g=p.length;for(let c=0;c<g;c++){const h=e;if(typeof p[c]!="string"){const q={instancePath:t+"/path/"+c,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[q]:r.push(q),e++}var i=h===e;if(!i)break}}else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[g]:r.push(g),e++}var f=S===e;if(f&&l?(l=!1,a=[a,1]):f&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,ye.errors=r,!1}var n=b===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=u===e;m&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var o=!0;const c=p.length;for(let h=0;h<c;h++){const x=e;if(typeof p[h]!="string"){const L={instancePath:t+"/pathNot/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var o=x===e;if(!o)break}}else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=S===e;if(m&&l?(l=!1,a=[a,1]):m&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ye.errors=r,!1}var n=b===e}else var n=!0}}else return ye.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ye.errors=r,e===0}function ae(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let d;if(s.reachable===void 0&&(d="reachable"))return ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:d},message:"must have required property '"+d+"'"}],!1;{const p=e;for(const b in s)if(!(b==="path"||b==="pathNot"||b==="reachable")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(p===e){if(s.path!==void 0){let b=s.path;const R=e,l=e;let a=!1,u=null;const S=e;if(typeof b!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=S===e;f&&(a=!0,u=0);const g=e;if(e===g)if(Array.isArray(b)){var i=!0;const c=b.length;for(let h=0;h<c;h++){const x=e;if(typeof b[h]!="string"){const L={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var i=x===e;if(!i)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=g===e;if(f&&a?(a=!1,u=[u,1]):f&&(a=!0,u=1),a)e=l,r!==null&&(l?r.length=l:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ae.errors=r,!1}var n=R===e}else var n=!0;if(n){if(s.pathNot!==void 0){let b=s.pathNot;const R=e,l=e;let a=!1,u=null;const S=e;if(typeof b!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var m=S===e;m&&(a=!0,u=0);const g=e;if(e===g)if(Array.isArray(b)){var o=!0;const h=b.length;for(let x=0;x<h;x++){const q=e;if(typeof b[x]!="string"){const $={instancePath:t+"/pathNot/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[$]:r.push($),e++}var o=q===e;if(!o)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var m=g===e;if(m&&a?(a=!1,u=[u,1]):m&&(a=!0,u=1),a)e=l,r!==null&&(l?r.length=l:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,ae.errors=r,!1}var n=R===e}else var n=!0;if(n)if(s.reachable!==void 0){const b=e;if(typeof s.reachable!="boolean")return ae.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=b===e}else var n=!0}}}}else return ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ae.errors=r,e===0}function re(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return re.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="name"||o==="severity"||o==="scope"||o==="comment"||o==="from"||o==="to")){return re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const o=e;if(typeof s.name!="string")return re.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.severity!==void 0){let o=s.severity;const m=e;if(typeof o!="string")return re.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="error"||o==="warn"||o==="info"||o==="ignore"))return re.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return re.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return re.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:We.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return re.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.from!==void 0){const o=e;ye(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:A})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.to!==void 0){const o=e;ae(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:A})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=o===e}else var i=!0}}}}}}}else return re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return re.errors=r,e===0}const Xe={type:"object",required:["module","from"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/DependentsModuleRestrictionType"},from:{$ref:"#/definitions/DependentsFromRestrictionType"}}};function Y(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const p in s)if(!(p==="path"||p==="pathNot"||p==="numberOfDependentsLessThan"||p==="numberOfDependentsMoreThan")){return Y.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let p=s.path;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var f=u===e;f&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var i=!0;const g=p.length;for(let c=0;c<g;c++){const h=e;if(typeof p[c]!="string"){const q={instancePath:t+"/path/"+c,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[q]:r.push(q),e++}var i=h===e;if(!i)break}}else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[g]:r.push(g),e++}var f=S===e;if(f&&l?(l=!1,a=[a,1]):f&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,Y.errors=r,!1}var n=b===e}else var n=!0;if(n){if(s.pathNot!==void 0){let p=s.pathNot;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=u===e;m&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var o=!0;const c=p.length;for(let h=0;h<c;h++){const x=e;if(typeof p[h]!="string"){const L={instancePath:t+"/pathNot/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var o=x===e;if(!o)break}}else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=S===e;if(m&&l?(l=!1,a=[a,1]):m&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Y.errors=r,!1}var n=b===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let p=s.numberOfDependentsLessThan;const b=e;if(!(typeof p=="number"&&!(p%1)&&!isNaN(p)&&isFinite(p)))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===b&&typeof p=="number"&&isFinite(p)){if(p>100||isNaN(p))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(p<0||isNaN(p))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=b===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let p=s.numberOfDependentsMoreThan;const b=e;if(!(typeof p=="number"&&!(p%1)&&!isNaN(p)&&isFinite(p)))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===b&&typeof p=="number"&&isFinite(p)){if(p>100||isNaN(p))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(p<0||isNaN(p))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=b===e}else var n=!0}}}}else return Y.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Y.errors=r,e===0}function ke(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let p=s.path;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var f=u===e;f&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var i=!0;const g=p.length;for(let c=0;c<g;c++){const h=e;if(typeof p[c]!="string"){const q={instancePath:t+"/path/"+c,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[q]:r.push(q),e++}var i=h===e;if(!i)break}}else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[g]:r.push(g),e++}var f=S===e;if(f&&l?(l=!1,a=[a,1]):f&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,ke.errors=r,!1}var n=b===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=u===e;m&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var o=!0;const c=p.length;for(let h=0;h<c;h++){const x=e;if(typeof p[h]!="string"){const L={instancePath:t+"/pathNot/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var o=x===e;if(!o)break}}else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=S===e;if(m&&l?(l=!1,a=[a,1]):m&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ke.errors=r,!1}var n=b===e}else var n=!0}}else return ke.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ke.errors=r,e===0}function se(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.from===void 0&&(f="from"))return se.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="name"||o==="severity"||o==="scope"||o==="comment"||o==="module"||o==="from")){return se.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const o=e;if(typeof s.name!="string")return se.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.severity!==void 0){let o=s.severity;const m=e;if(typeof o!="string")return se.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="error"||o==="warn"||o==="info"||o==="ignore"))return se.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return se.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return se.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Xe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return se.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.module!==void 0){const o=e;Y(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:A})||(r=r===null?Y.errors:r.concat(Y.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.from!==void 0){const o=e;ke(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:A})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var i=o===e}else var i=!0}}}}}}}else return se.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return se.errors=r,e===0}function Fe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;const i=e;let f=!1,n=null;const o=e;ee(s,{instancePath:t,parentData:C,parentDataProperty:M,rootData:A})||(r=r===null?ee.errors:r.concat(ee.errors),e=r.length);var d=o===e;d&&(f=!0,n=0);const m=e;re(s,{instancePath:t,parentData:C,parentDataProperty:M,rootData:A})||(r=r===null?re.errors:r.concat(re.errors),e=r.length);var d=m===e;if(d&&f)f=!1,n=[n,1];else{d&&(f=!0,n=1);const p=e;se(s,{instancePath:t,parentData:C,parentDataProperty:M,rootData:A})||(r=r===null?se.errors:r.concat(se.errors),e=r.length);var d=p===e;d&&f?(f=!1,n=[n,2]):d&&(f=!0,n=2)}if(f)e=i,r!==null&&(i?r.length=i:r=null);else{const p={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Fe.errors=r,!1}return Fe.errors=r,e===0}const Ye={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function me(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return me.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="comment"||o==="scope"||o==="from"||o==="to")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return me.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return me.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return me.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ye.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.from!==void 0){const o=e;oe(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:A})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.to!==void 0){const o=e;B(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:A})||(r=r===null?B.errors:r.concat(B.errors),e=r.length);var i=o===e}else var i=!0}}}}}else return me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return me.errors=r,e===0}const Ze={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function de(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return de.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="comment"||o==="scope"||o==="from"||o==="to")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return de.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return de.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return de.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ze.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.from!==void 0){const o=e;ye(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:A})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.to!==void 0){const o=e;ae(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:A})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=o===e}else var i=!0}}}}}else return de.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return de.errors=r,e===0}function Ce(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;const i=e;let f=!1,n=null;const o=e;me(s,{instancePath:t,parentData:C,parentDataProperty:M,rootData:A})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var d=o===e;d&&(f=!0,n=0);const m=e;de(s,{instancePath:t,parentData:C,parentDataProperty:M,rootData:A})||(r=r===null?de.errors:r.concat(de.errors),e=r.length);var d=m===e;if(d&&f?(f=!1,n=[n,1]):d&&(f=!0,n=1),f)e=i,r!==null&&(i?r.length=i:r=null);else{const p={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Ce.errors=r,!1}return Ce.errors=r,e===0}const er={type:"object",required:["module","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/RequiredModuleRestrictionType"},to:{$ref:"#/definitions/RequiredToRestrictionType"}}};function we(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return we.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let p=s.path;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var f=u===e;f&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var i=!0;const g=p.length;for(let c=0;c<g;c++){const h=e;if(typeof p[c]!="string"){const q={instancePath:t+"/path/"+c,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[q]:r.push(q),e++}var i=h===e;if(!i)break}}else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[g]:r.push(g),e++}var f=S===e;if(f&&l?(l=!1,a=[a,1]):f&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const g={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,we.errors=r,!1}var n=b===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const b=e,R=e;let l=!1,a=null;const u=e;if(typeof p!="string"){const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=u===e;m&&(l=!0,a=0);const S=e;if(e===S)if(Array.isArray(p)){var o=!0;const c=p.length;for(let h=0;h<c;h++){const x=e;if(typeof p[h]!="string"){const L={instancePath:t+"/pathNot/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[L]:r.push(L),e++}var o=x===e;if(!o)break}}else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=S===e;if(m&&l?(l=!1,a=[a,1]):m&&(l=!0,a=1),l)e=R,r!==null&&(R?r.length=R:r=null);else{const c={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,we.errors=r,!1}var n=b===e}else var n=!0}}else return we.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return we.errors=r,e===0}function Te(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const o=e;for(const m in s)if(!(m==="path"||m==="reachable")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(o===e){if(s.path!==void 0){let m=s.path;const d=e,p=e;let b=!1,R=null;const l=e;if(typeof m!="string"){const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[u]:r.push(u),e++}var f=l===e;f&&(b=!0,R=0);const a=e;if(e===a)if(Array.isArray(m)){var i=!0;const u=m.length;for(let S=0;S<u;S++){const g=e;if(typeof m[S]!="string"){const h={instancePath:t+"/path/"+S,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var i=g===e;if(!i)break}}else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[u]:r.push(u),e++}var f=a===e;if(f&&b?(b=!1,R=[R,1]):f&&(b=!0,R=1),b)e=p,r!==null&&(p?r.length=p:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:R},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,Te.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.reachable!==void 0){const m=e;if(typeof s.reachable!="boolean")return Te.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=m===e}else var n=!0}}else return Te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Te.errors=r,e===0}function te(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.to===void 0&&(f="to"))return te.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!(o==="name"||o==="severity"||o==="scope"||o==="comment"||o==="module"||o==="to")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const o=e;if(typeof s.name!="string")return te.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.severity!==void 0){let o=s.severity;const m=e;if(typeof o!="string")return te.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="error"||o==="warn"||o==="info"||o==="ignore"))return te.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.scope!==void 0){let o=s.scope;const m=e;if(typeof o!="string")return te.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="module"||o==="folder"))return te.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:er.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e}else var i=!0;if(i){if(s.comment!==void 0){const o=e;if(typeof s.comment!="string")return te.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.module!==void 0){const o=e;we(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:A})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.to!==void 0){const o=e;Te(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:A})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var i=o===e}else var i=!0}}}}}}}else return te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return te.errors=r,e===0}function le(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const d in s)if(!(d==="forbidden"||d==="allowed"||d==="allowedSeverity"||d==="required")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.forbidden!==void 0){let d=s.forbidden;const p=e;if(e===p)if(Array.isArray(d)){var i=!0;const b=d.length;for(let R=0;R<b;R++){const l=e;Fe(d[R],{instancePath:t+"/forbidden/"+R,parentData:d,parentDataProperty:R,rootData:A})||(r=r===null?Fe.errors:r.concat(Fe.errors),e=r.length);var i=l===e;if(!i)break}}else return le.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=p===e}else var f=!0;if(f){if(s.allowed!==void 0){let d=s.allowed;const p=e;if(e===p)if(Array.isArray(d)){var n=!0;const R=d.length;for(let l=0;l<R;l++){const a=e;Ce(d[l],{instancePath:t+"/allowed/"+l,parentData:d,parentDataProperty:l,rootData:A})||(r=r===null?Ce.errors:r.concat(Ce.errors),e=r.length);var n=a===e;if(!n)break}}else return le.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=p===e}else var f=!0;if(f){if(s.allowedSeverity!==void 0){let d=s.allowedSeverity;const p=e;if(typeof d!="string")return le.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="error"||d==="warn"||d==="info"||d==="ignore"))return le.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var f=p===e}else var f=!0;if(f)if(s.required!==void 0){let d=s.required;const p=e;if(e===p)if(Array.isArray(d)){var o=!0;const R=d.length;for(let l=0;l<R;l++){const a=e;te(d[l],{instancePath:t+"/required/"+l,parentData:d,parentDataProperty:l,rootData:A})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var o=a===e;if(!o)break}}else return le.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=p===e}else var f=!0}}}}else return le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return le.errors=r,e===0}const Oe={type:"object",additionalProperties:!1,properties:{doNotFollow:{$ref:"#/definitions/CompoundDoNotFollowType"},exclude:{$ref:"#/definitions/CompoundExcludeType"},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{$ref:"#/definitions/CompoundFocusType"},reaches:{$ref:"#/definitions/CompoundReachesType"},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{$ref:"#/definitions/CompoundHighlightType"},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{type:"string"},maxDepth:{type:"integer",minimum:0,maximum:99},moduleSystems:{$ref:"#/definitions/ModuleSystemsType"},detectJSDocImports:{type:"boolean"},detectProcessBuiltinModuleCalls:{type:"boolean"},prefix:{type:"string"},suffix:{type:"string"},preserveSymlinks:{type:"boolean"},combinedDependencies:{type:"boolean"},tsConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},tsPreCompilationDeps:{oneOf:[{type:"boolean"},{type:"string",enum:["specify"]}]},extraExtensionsToScan:{type:"array",items:{type:"string"}},externalModuleResolutionStrategy:{type:"string",enum:["node_modules","yarn-pnp"]},builtInModules:{type:"object",additionalProperties:!1,properties:{override:{type:"array",items:{type:"string"}},add:{type:"array",items:{type:"string"}}}},forceDeriveDependents:{type:"boolean",deprecated:!0},webpackConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"},env:{oneOf:[{type:"object"},{type:"string"}]},arguments:{type:"object"}}},enhancedResolveOptions:{type:"object",additionalProperties:!1,properties:{exportsFields:{type:"array",items:{type:"string"}},conditionNames:{type:"array",items:{type:"string"}},extensions:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{type:"string"}},mainFiles:{type:"array"},aliasFields:{type:"array",items:{type:"string"}},cachedInputFileSystem:{type:"object",additionalProperties:!1,properties:{cacheDuration:{type:"integer",minimum:0,maximum:18e5}}}}},babelConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},parser:{type:"string",enum:["acorn","tsc","swc"]},exoticRequireStrings:{type:"array",items:{type:"string"}},reporterOptions:{$ref:"#/definitions/ReporterOptionsType"},progress:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["cli-feedback","performance-log","ndjson","none"]},maximumLevel:{type:"number",enum:[-1,40,50,60,70,80,99]}}},metrics:{type:"boolean"},experimentalStats:{type:"boolean"},skipAnalysisNotInRules:{type:"boolean"},baseDir:{type:"string"},cache:{oneOf:[{type:"boolean",enum:[!1]},{$ref:"#/definitions/CacheOptionsType"}]},args:{type:"string"},rulesFile:{type:"string"},outputTo:{type:"string"},outputType:{$ref:"#/definitions/OutputType"}}},rr={oneOf:[{type:"string",enum:["json","html","dot","ddot","cdot","archi","fdot","flat","csv","err","err-long","err-html","teamcity","anon","text","metrics","markdown","mermaid","d2","null"]},{type:"string",pattern:"^plugin:[^:]+$"}]};function ue(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const d in s)if(!(d==="path"||d==="dependencyTypes")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let d=s.path;const p=e,b=e;let R=!1,l=null;const a=e;if(typeof d!="string"){const S={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}var f=a===e;f&&(R=!0,l=0);const u=e;if(e===u)if(Array.isArray(d)){var i=!0;const S=d.length;for(let g=0;g<S;g++){const c=e;if(typeof d[g]!="string"){const x={instancePath:t+"/path/"+g,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var i=c===e;if(!i)break}}else{const S={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[S]:r.push(S),e++}var f=u===e;if(f&&R?(R=!1,l=[l,1]):f&&(R=!0,l=1),R)e=b,r!==null&&(b?r.length=b:r=null);else{const S={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};return r===null?r=[S]:r.push(S),e++,ue.errors=r,!1}var n=p===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let d=s.dependencyTypes;const p=e;if(e===p)if(Array.isArray(d)){var o=!0;const R=d.length;for(let l=0;l<R;l++){let a=d[l];const u=e;if(typeof a!="string")return ue.errors=[{instancePath:t+"/dependencyTypes/"+l,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(a==="aliased-subpath-import"||a==="aliased-tsconfig-base-url"||a==="aliased-tsconfig-paths"||a==="aliased-tsconfig"||a==="aliased-webpack"||a==="aliased-workspace"||a==="aliased"||a==="amd-define"||a==="amd-require"||a==="amd-exotic-require"||a==="core"||a==="deprecated"||a==="dynamic-import"||a==="exotic-require"||a==="export"||a==="import-equals"||a==="import"||a==="jsdoc"||a==="jsdoc-bracket-import"||a==="jsdoc-import-tag"||a==="local"||a==="localmodule"||a==="npm-bundled"||a==="npm-dev"||a==="npm-no-pkg"||a==="npm-optional"||a==="npm-peer"||a==="npm-unknown"||a==="npm"||a==="pre-compilation-only"||a==="process-get-builtin-module"||a==="require"||a==="triple-slash-amd-dependency"||a==="triple-slash-directive"||a==="triple-slash-file-reference"||a==="triple-slash-type-reference"||a==="type-import"||a==="type-only"||a==="undetermined"||a==="unknown"))return ue.errors=[{instancePath:t+"/dependencyTypes/"+l,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:_e.enum},message:"must be equal to one of the allowed values"}],!1;var o=u===e;if(!o)break}}else return ue.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=p===e}else var n=!0}}else return ue.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ue.errors=r,e===0}function fe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const o=e;for(const m in s)if(!(m==="path"||m==="dynamic")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(o===e){if(s.path!==void 0){let m=s.path;const d=e,p=e;let b=!1,R=null;const l=e;if(typeof m!="string"){const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[u]:r.push(u),e++}var f=l===e;f&&(b=!0,R=0);const a=e;if(e===a)if(Array.isArray(m)){var i=!0;const u=m.length;for(let S=0;S<u;S++){const g=e;if(typeof m[S]!="string"){const h={instancePath:t+"/path/"+S,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var i=g===e;if(!i)break}}else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[u]:r.push(u),e++}var f=a===e;if(f&&b?(b=!1,R=[R,1]):f&&(b=!0,R=1),b)e=p,r!==null&&(p?r.length=p:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:R},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,fe.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.dynamic!==void 0){const m=e;if(typeof s.dynamic!="boolean")return fe.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=m===e}else var n=!0}}else return fe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return fe.errors=r,e===0}function ge(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const o in s)if(o!=="path"){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let o=s.path;const m=e;let d=!1,p=null;const b=e;if(typeof o!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=b===e;f&&(d=!0,p=0);const R=e;if(e===R)if(Array.isArray(o)){var i=!0;const l=o.length;for(let a=0;a<l;a++){const u=e;if(typeof o[a]!="string"){const g={instancePath:t+"/path/"+a,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var i=u===e;if(!i)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=R===e;if(f&&d?(d=!1,p=[p,1]):f&&(d=!0,p=1),d)e=m,r!==null&&(m?r.length=m:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,ge.errors=r,!1}}}else return ge.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ge.errors=r,e===0}function ne(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const o=e;for(const m in s)if(!(m==="path"||m==="depth")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(o===e){if(s.path!==void 0){let m=s.path;const d=e,p=e;let b=!1,R=null;const l=e;if(typeof m!="string"){const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[u]:r.push(u),e++}var f=l===e;f&&(b=!0,R=0);const a=e;if(e===a)if(Array.isArray(m)){var i=!0;const u=m.length;for(let S=0;S<u;S++){const g=e;if(typeof m[S]!="string"){const h={instancePath:t+"/path/"+S,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var i=g===e;if(!i)break}}else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[u]:r.push(u),e++}var f=a===e;if(f&&b?(b=!1,R=[R,1]):f&&(b=!0,R=1),b)e=p,r!==null&&(p?r.length=p:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:R},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.depth!==void 0){let m=s.depth;const d=e;if(e===d)if(typeof m=="number"&&isFinite(m)){if(m>4||isNaN(m))return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(m<1||isNaN(m))return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=d===e}else var n=!0}}else return ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ne.errors=r,e===0}function ve(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const o in s)if(o!=="path"){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let o=s.path;const m=e;let d=!1,p=null;const b=e;if(typeof o!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=b===e;f&&(d=!0,p=0);const R=e;if(e===R)if(Array.isArray(o)){var i=!0;const l=o.length;for(let a=0;a<l;a++){const u=e;if(typeof o[a]!="string"){const g={instancePath:t+"/path/"+a,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var i=u===e;if(!i)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=R===e;if(f&&d?(d=!1,p=[p,1]):f&&(d=!0,p=1),d)e=m,r!==null&&(m?r.length=m:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,ve.errors=r,!1}}}else return ve.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ve.errors=r,e===0}function Se(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const o in s)if(o!=="path"){return Se.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let o=s.path;const m=e;let d=!1,p=null;const b=e;if(typeof o!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=b===e;f&&(d=!0,p=0);const R=e;if(e===R)if(Array.isArray(o)){var i=!0;const l=o.length;for(let a=0;a<l;a++){const u=e;if(typeof o[a]!="string"){const g={instancePath:t+"/path/"+a,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var i=u===e;if(!i)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=R===e;if(f&&d?(d=!1,p=[p,1]):f&&(d=!0,p=1),d)e=m,r!==null&&(m?r.length=m:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Se.errors=r,!1}}}else return Se.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Se.errors=r,e===0}function De(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const f=s.length;for(let n=0;n<f;n++){let o=s[n];const m=e;if(typeof o!="string")return De.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="cjs"||o==="es6"||o==="amd"||o==="tsd"))return De.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:He.enum},message:"must be equal to one of the allowed values"}],!1;var i=m===e;if(!i)break}}else return De.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return De.errors=r,e===0}const sr={type:"object",additionalProperties:!1,properties:{anon:{$ref:"#/definitions/AnonReporterOptionsType"},archi:{$ref:"#/definitions/DotReporterOptionsType"},dot:{$ref:"#/definitions/DotReporterOptionsType"},ddot:{$ref:"#/definitions/DotReporterOptionsType"},flat:{$ref:"#/definitions/DotReporterOptionsType"},markdown:{$ref:"#/definitions/MarkdownReporterOptionsType"},metrics:{$ref:"#/definitions/MetricsReporterOptionsType"},mermaid:{$ref:"#/definitions/MermaidReporterOptionsType"},text:{$ref:"#/definitions/TextReporterOptionsType"}}};const tr={type:"object",additionalProperties:!1,properties:{showTitle:{type:"boolean"},title:{type:"string"},showSummary:{type:"boolean"},showSummaryHeader:{type:"boolean"},summaryHeader:{type:"string"},showStatsSummary:{type:"boolean"},showRulesSummary:{type:"boolean"},includeIgnoredInSummary:{type:"boolean"},showDetails:{type:"boolean"},includeIgnoredInDetails:{type:"boolean"},showDetailsHeader:{type:"boolean"},detailsHeader:{type:"string"},collapseDetails:{type:"boolean"},collapsedMessage:{type:"string"},noViolationsMessage:{type:"string"},showFooter:{type:"boolean"}}},ir={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ne(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.exclude!==void 0){const n=e;fe(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:A})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=n===e}else var i=!0;if(i){if(s.includeOnly!==void 0){const n=e;ge(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:A})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var i=n===e}else var i=!0;if(i){if(s.focus!==void 0){const n=e;ne(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:A})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.reaches!==void 0){const n=e;ve(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:A})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var i=n===e}else var i=!0}}}}else return Ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ne.errors=r,e===0}function pe(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const n=s.length;for(let o=0;o<n;o++){let m=s[o];const d=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const R=e;for(const l in m)if(!(l==="criteria"||l==="attributes")){return pe.errors=[{instancePath:t+"/"+o,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(R===e){if(m.criteria!==void 0){let l=m.criteria;const a=e;if(!(l&&typeof l=="object"&&!Array.isArray(l)))return pe.errors=[{instancePath:t+"/"+o+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=a===e}else var f=!0;if(f)if(m.attributes!==void 0){let l=m.attributes;const a=e;if(!(l&&typeof l=="object"&&!Array.isArray(l)))return pe.errors=[{instancePath:t+"/"+o+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=a===e}else var f=!0}}else return pe.errors=[{instancePath:t+"/"+o,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=d===e;if(!i)break}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return pe.errors=r,e===0}function ce(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return ce.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return ce.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=n===e}else var i=!0;if(i){if(s.graph!==void 0){let n=s.graph;const o=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return ce.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=o===e}else var i=!0;if(i){if(s.node!==void 0){let n=s.node;const o=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return ce.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=o===e}else var i=!0;if(i){if(s.edge!==void 0){let n=s.edge;const o=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return ce.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=o===e}else var i=!0;if(i){if(s.modules!==void 0){const n=e;pe(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:A})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.dependencies!==void 0){const n=e;pe(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:A})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var i=n===e}else var i=!0}}}}}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ce.errors=r,e===0}function W(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const o=e;for(const m in s)if(!(m==="collapsePattern"||m==="filters"||m==="showMetrics"||m==="theme")){return W.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(o===e){if(s.collapsePattern!==void 0){let m=s.collapsePattern;const d=e,p=e;let b=!1,R=null;const l=e;if(typeof m!="string"){const u={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[u]:r.push(u),e++}var f=l===e;f&&(b=!0,R=0);const a=e;if(e===a)if(Array.isArray(m)){var i=!0;const u=m.length;for(let S=0;S<u;S++){const g=e;if(typeof m[S]!="string"){const h={instancePath:t+"/collapsePattern/"+S,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var i=g===e;if(!i)break}}else{const u={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[u]:r.push(u),e++}var f=a===e;if(f&&b?(b=!1,R=[R,1]):f&&(b=!0,R=1),b)e=p,r!==null&&(p?r.length=p:r=null);else{const u={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:R},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,W.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.filters!==void 0){const m=e;Ne(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:A})||(r=r===null?Ne.errors:r.concat(Ne.errors),e=r.length);var n=m===e}else var n=!0;if(n){if(s.showMetrics!==void 0){const m=e;if(typeof s.showMetrics!="boolean")return W.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=m===e}else var n=!0;if(n)if(s.theme!==void 0){const m=e;ce(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:A})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var n=m===e}else var n=!0}}}}else return W.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return W.errors=r,e===0}function V(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const d in s)if(!je.call(sr.properties,d)){return V.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.anon!==void 0){let d=s.anon;const p=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const R=e;for(const l in d)if(l!=="wordlist"){return V.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(R===e&&d.wordlist!==void 0){let l=d.wordlist;if(e===e)if(Array.isArray(l)){var i=!0;const u=l.length;for(let S=0;S<u;S++){const g=e;if(typeof l[S]!="string")return V.errors=[{instancePath:t+"/anon/wordlist/"+S,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=g===e;if(!i)break}}else return V.errors=[{instancePath:t+"/anon/wordlist",schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return V.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.archi!==void 0){const d=e;W(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:A})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var f=d===e}else var f=!0;if(f){if(s.dot!==void 0){const d=e;W(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:A})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var f=d===e}else var f=!0;if(f){if(s.ddot!==void 0){const d=e;W(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:A})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var f=d===e}else var f=!0;if(f){if(s.flat!==void 0){const d=e;W(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:A})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var f=d===e}else var f=!0;if(f){if(s.markdown!==void 0){let d=s.markdown;const p=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const l=e;for(const a in d)if(!je.call(tr.properties,a)){return V.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(l===e){if(d.showTitle!==void 0){const a=e;if(typeof d.showTitle!="boolean")return V.errors=[{instancePath:t+"/markdown/showTitle",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showTitle/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.title!==void 0){const a=e;if(typeof d.title!="string")return V.errors=[{instancePath:t+"/markdown/title",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/title/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=a===e}else var n=!0;if(n){if(d.showSummary!==void 0){const a=e;if(typeof d.showSummary!="boolean")return V.errors=[{instancePath:t+"/markdown/showSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.showSummaryHeader!==void 0){const a=e;if(typeof d.showSummaryHeader!="boolean")return V.errors=[{instancePath:t+"/markdown/showSummaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummaryHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.summaryHeader!==void 0){const a=e;if(typeof d.summaryHeader!="string")return V.errors=[{instancePath:t+"/markdown/summaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/summaryHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=a===e}else var n=!0;if(n){if(d.showStatsSummary!==void 0){const a=e;if(typeof d.showStatsSummary!="boolean")return V.errors=[{instancePath:t+"/markdown/showStatsSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStatsSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.showRulesSummary!==void 0){const a=e;if(typeof d.showRulesSummary!="boolean")return V.errors=[{instancePath:t+"/markdown/showRulesSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showRulesSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.includeIgnoredInSummary!==void 0){const a=e;if(typeof d.includeIgnoredInSummary!="boolean")return V.errors=[{instancePath:t+"/markdown/includeIgnoredInSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.showDetails!==void 0){const a=e;if(typeof d.showDetails!="boolean")return V.errors=[{instancePath:t+"/markdown/showDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.includeIgnoredInDetails!==void 0){const a=e;if(typeof d.includeIgnoredInDetails!="boolean")return V.errors=[{instancePath:t+"/markdown/includeIgnoredInDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.showDetailsHeader!==void 0){const a=e;if(typeof d.showDetailsHeader!="boolean")return V.errors=[{instancePath:t+"/markdown/showDetailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetailsHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.detailsHeader!==void 0){const a=e;if(typeof d.detailsHeader!="string")return V.errors=[{instancePath:t+"/markdown/detailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/detailsHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=a===e}else var n=!0;if(n){if(d.collapseDetails!==void 0){const a=e;if(typeof d.collapseDetails!="boolean")return V.errors=[{instancePath:t+"/markdown/collapseDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0;if(n){if(d.collapsedMessage!==void 0){const a=e;if(typeof d.collapsedMessage!="string")return V.errors=[{instancePath:t+"/markdown/collapsedMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapsedMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=a===e}else var n=!0;if(n){if(d.noViolationsMessage!==void 0){const a=e;if(typeof d.noViolationsMessage!="string")return V.errors=[{instancePath:t+"/markdown/noViolationsMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/noViolationsMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=a===e}else var n=!0;if(n)if(d.showFooter!==void 0){const a=e;if(typeof d.showFooter!="boolean")return V.errors=[{instancePath:t+"/markdown/showFooter",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showFooter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=a===e}else var n=!0}}}}}}}}}}}}}}}}else return V.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.metrics!==void 0){let d=s.metrics;const p=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const l=e;for(const a in d)if(!(a==="orderBy"||a==="hideModules"||a==="hideFolders")){return V.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(l===e){if(d.orderBy!==void 0){let a=d.orderBy;const u=e;if(typeof a!="string")return V.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(a==="instability"||a==="moduleCount"||a==="afferentCouplings"||a==="efferentCouplings"||a==="name"||a==="size"||a==="topLevelStatementCount"))return V.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:ir.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var o=u===e}else var o=!0;if(o){if(d.hideModules!==void 0){const a=e;if(typeof d.hideModules!="boolean")return V.errors=[{instancePath:t+"/metrics/hideModules",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var o=a===e}else var o=!0;if(o)if(d.hideFolders!==void 0){const a=e;if(typeof d.hideFolders!="boolean")return V.errors=[{instancePath:t+"/metrics/hideFolders",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideFolders/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var o=a===e}else var o=!0}}}else return V.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.mermaid!==void 0){let d=s.mermaid;const p=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const l=e;for(const a in d)if(a!=="minify"){return V.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(l===e&&d.minify!==void 0&&typeof d.minify!="boolean")return V.errors=[{instancePath:t+"/mermaid/minify",schemaPath:"#/definitions/MermaidReporterOptionsType/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return V.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f)if(s.text!==void 0){let d=s.text;const p=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const l=e;for(const a in d)if(a!=="highlightFocused"){return V.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(l===e&&d.highlightFocused!==void 0&&typeof d.highlightFocused!="boolean")return V.errors=[{instancePath:t+"/text/highlightFocused",schemaPath:"#/definitions/TextReporterOptionsType/properties/highlightFocused/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return V.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0}}}}}}}}}else return V.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return V.errors=r,e===0}const ar={type:"string",enum:["metadata","content"]};function he(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return he.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return he.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.strategy!==void 0){let n=s.strategy;const o=e;if(typeof n!="string")return he.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="metadata"||n==="content"))return he.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:ar.enum},message:"must be equal to one of the allowed values"}],!1;var i=o===e}else var i=!0;if(i)if(s.compress!==void 0){const n=e;if(typeof s.compress!="boolean")return he.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=n===e}else var i=!0}}}else return he.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return he.errors=r,e===0}const nr=new RegExp("^plugin:[^:]+$","u");function N(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const E=e;for(const y in s)if(!je.call(Oe.properties,y)){return N.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(E===e){if(s.doNotFollow!==void 0){const y=e;ue(s.doNotFollow,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:A})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.exclude!==void 0){const y=e;fe(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:A})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let y=s.includeOnly;const T=e,k=e;let v=!1,P=null;const w=e,j=e;let F=!1,O=null;const H=e;if(typeof y!="string"){const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Z]:r.push(Z),e++}var n=H===e;n&&(F=!0,O=0);const Ae=e;if(e===Ae)if(Array.isArray(y)){var f=!0;const Z=y.length;for(let Me=0;Me<Z;Me++){const Ue=e;if(typeof y[Me]!="string"){const Ie={instancePath:t+"/includeOnly/"+Me,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ie]:r.push(Ie),e++}var f=Ue===e;if(!f)break}}else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[Z]:r.push(Z),e++}var n=Ae===e;if(n&&F?(F=!1,O=[O,1]):n&&(F=!0,O=1),F)e=j,r!==null&&(j?r.length=j:r=null);else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:O},message:"must match exactly one schema in oneOf"};r===null?r=[Z]:r.push(Z),e++}var o=w===e;o&&(v=!0,P=0);const Le=e;ge(y,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:A})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var o=Le===e;if(o&&v?(v=!1,P=[P,1]):o&&(v=!0,P=1),v)e=k,r!==null&&(k?r.length=k:r=null);else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[Z]:r.push(Z),e++,N.errors=r,!1}var i=T===e}else var i=!0;if(i){if(s.focus!==void 0){const y=e;ne(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:A})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.reaches!==void 0){const y=e;ve(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:A})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.affected!==void 0){let y=s.affected;const T=e,k=e;let v=!1,P=null;const w=e;if(typeof y!="string"){const O={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var m=w===e;m&&(v=!0,P=0);const j=e;if(typeof y!="boolean"){const O={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[O]:r.push(O),e++}var m=j===e;if(m&&v?(v=!1,P=[P,1]):m&&(v=!0,P=1),v)e=k,r!==null&&(k?r.length=k:r=null);else{const O={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,N.errors=r,!1}var i=T===e}else var i=!0;if(i){if(s.highlight!==void 0){const y=e;Se(s.highlight,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:A})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const y=e;Re(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:A})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.collapse!==void 0){const y=e;if(typeof s.collapse!="string")return N.errors=[{instancePath:t+"/collapse",schemaPath:"#/properties/collapse/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let y=s.maxDepth;const T=e;if(!(typeof y=="number"&&!(y%1)&&!isNaN(y)&&isFinite(y)))return N.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===T&&typeof y=="number"&&isFinite(y)){if(y>99||isNaN(y))return N.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(y<0||isNaN(y))return N.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=T===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const y=e;De(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:A})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const y=e;if(typeof s.detectJSDocImports!="boolean")return N.errors=[{instancePath:t+"/detectJSDocImports",schemaPath:"#/properties/detectJSDocImports/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const y=e;if(typeof s.detectProcessBuiltinModuleCalls!="boolean")return N.errors=[{instancePath:t+"/detectProcessBuiltinModuleCalls",schemaPath:"#/properties/detectProcessBuiltinModuleCalls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.prefix!==void 0){const y=e;if(typeof s.prefix!="string")return N.errors=[{instancePath:t+"/prefix",schemaPath:"#/properties/prefix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.suffix!==void 0){const y=e;if(typeof s.suffix!="string")return N.errors=[{instancePath:t+"/suffix",schemaPath:"#/properties/suffix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const y=e;if(typeof s.preserveSymlinks!="boolean")return N.errors=[{instancePath:t+"/preserveSymlinks",schemaPath:"#/properties/preserveSymlinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const y=e;if(typeof s.combinedDependencies!="boolean")return N.errors=[{instancePath:t+"/combinedDependencies",schemaPath:"#/properties/combinedDependencies/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let y=s.tsConfig;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(P!=="fileName"){return N.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e&&y.fileName!==void 0&&typeof y.fileName!="string")return N.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return N.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let y=s.tsPreCompilationDeps;const T=e,k=e;let v=!1,P=null;const w=e;if(typeof y!="boolean"){const O={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[O]:r.push(O),e++}var d=w===e;d&&(v=!0,P=0);const j=e;if(typeof y!="string"){const O={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}if(y!=="specify"){const O={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:Oe.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[O]:r.push(O),e++}var d=j===e;if(d&&v?(v=!1,P=[P,1]):d&&(v=!0,P=1),v)e=k,r!==null&&(k?r.length=k:r=null);else{const O={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,N.errors=r,!1}var i=T===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let y=s.extraExtensionsToScan;const T=e;if(e===T)if(Array.isArray(y)){var p=!0;const v=y.length;for(let P=0;P<v;P++){const w=e;if(typeof y[P]!="string")return N.errors=[{instancePath:t+"/extraExtensionsToScan/"+P,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=w===e;if(!p)break}}else return N.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=T===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let y=s.externalModuleResolutionStrategy;const T=e;if(typeof y!="string")return N.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="node_modules"||y==="yarn-pnp"))return N.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:Oe.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=T===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let y=s.builtInModules;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(!(P==="override"||P==="add")){return N.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e){if(y.override!==void 0){let P=y.override;const w=e;if(e===w)if(Array.isArray(P)){var b=!0;const j=P.length;for(let F=0;F<j;F++){const O=e;if(typeof P[F]!="string")return N.errors=[{instancePath:t+"/builtInModules/override/"+F,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var b=O===e;if(!b)break}}else return N.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var R=w===e}else var R=!0;if(R)if(y.add!==void 0){let P=y.add;const w=e;if(e===w)if(Array.isArray(P)){var l=!0;const F=P.length;for(let O=0;O<F;O++){const H=e;if(typeof P[O]!="string")return N.errors=[{instancePath:t+"/builtInModules/add/"+O,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=H===e;if(!l)break}}else return N.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var R=w===e}else var R=!0}}else return N.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const y=e;if(typeof s.forceDeriveDependents!="boolean")return N.errors=[{instancePath:t+"/forceDeriveDependents",schemaPath:"#/properties/forceDeriveDependents/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let y=s.webpackConfig;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(!(P==="fileName"||P==="env"||P==="arguments")){return N.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e){if(y.fileName!==void 0){const P=e;if(typeof y.fileName!="string")return N.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=P===e}else var a=!0;if(a){if(y.env!==void 0){let P=y.env;const w=e,j=e;let F=!1,O=null;const H=e;if(!(P&&typeof P=="object"&&!Array.isArray(P))){const be={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[be]:r.push(be),e++}var u=H===e;u&&(F=!0,O=0);const Ae=e;if(typeof P!="string"){const be={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[be]:r.push(be),e++}var u=Ae===e;if(u&&F?(F=!1,O=[O,1]):u&&(F=!0,O=1),F)e=j,r!==null&&(j?r.length=j:r=null);else{const be={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:O},message:"must match exactly one schema in oneOf"};return r===null?r=[be]:r.push(be),e++,N.errors=r,!1}var a=w===e}else var a=!0;if(a)if(y.arguments!==void 0){let P=y.arguments;const w=e;if(!(P&&typeof P=="object"&&!Array.isArray(P)))return N.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=w===e}else var a=!0}}}else return N.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let y=s.enhancedResolveOptions;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(!(P==="exportsFields"||P==="conditionNames"||P==="extensions"||P==="mainFields"||P==="mainFiles"||P==="aliasFields"||P==="cachedInputFileSystem")){return N.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e){if(y.exportsFields!==void 0){let P=y.exportsFields;const w=e;if(e===w)if(Array.isArray(P)){var S=!0;const j=P.length;for(let F=0;F<j;F++){const O=e;if(typeof P[F]!="string")return N.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+F,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var S=O===e;if(!S)break}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=w===e}else var g=!0;if(g){if(y.conditionNames!==void 0){let P=y.conditionNames;const w=e;if(e===w)if(Array.isArray(P)){var c=!0;const F=P.length;for(let O=0;O<F;O++){const H=e;if(typeof P[O]!="string")return N.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+O,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=H===e;if(!c)break}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=w===e}else var g=!0;if(g){if(y.extensions!==void 0){let P=y.extensions;const w=e;if(e===w)if(Array.isArray(P)){var h=!0;const F=P.length;for(let O=0;O<F;O++){const H=e;if(typeof P[O]!="string")return N.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+O,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=H===e;if(!h)break}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=w===e}else var g=!0;if(g){if(y.mainFields!==void 0){let P=y.mainFields;const w=e;if(e===w)if(Array.isArray(P)){var x=!0;const F=P.length;for(let O=0;O<F;O++){const H=e;if(typeof P[O]!="string")return N.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+O,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var x=H===e;if(!x)break}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=w===e}else var g=!0;if(g){if(y.mainFiles!==void 0){const P=e;if(!Array.isArray(y.mainFiles))return N.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=P===e}else var g=!0;if(g){if(y.aliasFields!==void 0){let P=y.aliasFields;const w=e;if(e===w)if(Array.isArray(P)){var q=!0;const F=P.length;for(let O=0;O<F;O++){const H=e;if(typeof P[O]!="string")return N.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+O,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var q=H===e;if(!q)break}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var g=w===e}else var g=!0;if(g)if(y.cachedInputFileSystem!==void 0){let P=y.cachedInputFileSystem;const w=e;if(e===w)if(P&&typeof P=="object"&&!Array.isArray(P)){const F=e;for(const O in P)if(O!=="cacheDuration"){return N.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:O},message:"must NOT have additional properties"}],!1;break}if(F===e&&P.cacheDuration!==void 0){let O=P.cacheDuration;const H=e;if(!(typeof O=="number"&&!(O%1)&&!isNaN(O)&&isFinite(O)))return N.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===H&&typeof O=="number"&&isFinite(O)){if(O>18e5||isNaN(O))return N.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/maximum",keyword:"maximum",params:{comparison:"<=",limit:18e5},message:"must be <= 1800000"}],!1;if(O<0||isNaN(O))return N.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=w===e}else var g=!0}}}}}}}else return N.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let y=s.babelConfig;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(P!=="fileName"){return N.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e&&y.fileName!==void 0&&typeof y.fileName!="string")return N.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return N.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.parser!==void 0){let y=s.parser;const T=e;if(typeof y!="string")return N.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="acorn"||y==="tsc"||y==="swc"))return N.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:Oe.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=T===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let y=s.exoticRequireStrings;const T=e;if(e===T)if(Array.isArray(y)){var L=!0;const v=y.length;for(let P=0;P<v;P++){const w=e;if(typeof y[P]!="string")return N.errors=[{instancePath:t+"/exoticRequireStrings/"+P,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var L=w===e;if(!L)break}}else return N.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=T===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const y=e;V(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:A})||(r=r===null?V.errors:r.concat(V.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.progress!==void 0){let y=s.progress;const T=e;if(e===T)if(y&&typeof y=="object"&&!Array.isArray(y)){const v=e;for(const P in y)if(!(P==="type"||P==="maximumLevel")){return N.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:P},message:"must NOT have additional properties"}],!1;break}if(v===e){if(y.type!==void 0){let P=y.type;const w=e;if(typeof P!="string")return N.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(P==="cli-feedback"||P==="performance-log"||P==="ndjson"||P==="none"))return N.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:Oe.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var $=w===e}else var $=!0;if($)if(y.maximumLevel!==void 0){let P=y.maximumLevel;const w=e;if(!(typeof P=="number"&&isFinite(P)))return N.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(P===-1||P===40||P===50||P===60||P===70||P===80||P===99))return N.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:Oe.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var $=w===e}else var $=!0}}else return N.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i){if(s.metrics!==void 0){const y=e;if(typeof s.metrics!="boolean")return N.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const y=e;if(typeof s.experimentalStats!="boolean")return N.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/properties/experimentalStats/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const y=e;if(typeof s.skipAnalysisNotInRules!="boolean")return N.errors=[{instancePath:t+"/skipAnalysisNotInRules",schemaPath:"#/properties/skipAnalysisNotInRules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.baseDir!==void 0){const y=e;if(typeof s.baseDir!="string")return N.errors=[{instancePath:t+"/baseDir",schemaPath:"#/properties/baseDir/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.cache!==void 0){let y=s.cache;const T=e,k=e;let v=!1,P=null;const w=e;if(typeof y!="boolean"){const O={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[O]:r.push(O),e++}if(y!==!1){const O={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/enum",keyword:"enum",params:{allowedValues:Oe.properties.cache.oneOf[0].enum},message:"must be equal to one of the allowed values"};r===null?r=[O]:r.push(O),e++}var _=w===e;_&&(v=!0,P=0);const j=e;he(y,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:A})||(r=r===null?he.errors:r.concat(he.errors),e=r.length);var _=j===e;if(_&&v?(v=!1,P=[P,1]):_&&(v=!0,P=1),v)e=k,r!==null&&(k?r.length=k:r=null);else{const O={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,N.errors=r,!1}var i=T===e}else var i=!0;if(i){if(s.args!==void 0){const y=e;if(typeof s.args!="string")return N.errors=[{instancePath:t+"/args",schemaPath:"#/properties/args/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.rulesFile!==void 0){const y=e;if(typeof s.rulesFile!="string")return N.errors=[{instancePath:t+"/rulesFile",schemaPath:"#/properties/rulesFile/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.outputTo!==void 0){const y=e;if(typeof s.outputTo!="string")return N.errors=[{instancePath:t+"/outputTo",schemaPath:"#/properties/outputTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i)if(s.outputType!==void 0){let y=s.outputType;const T=e,k=e;let v=!1,P=null;const w=e;if(typeof y!="string"){const O={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}if(!(y==="json"||y==="html"||y==="dot"||y==="ddot"||y==="cdot"||y==="archi"||y==="fdot"||y==="flat"||y==="csv"||y==="err"||y==="err-long"||y==="err-html"||y==="teamcity"||y==="anon"||y==="text"||y==="metrics"||y==="markdown"||y==="mermaid"||y==="d2"||y==="null")){const O={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/0/enum",keyword:"enum",params:{allowedValues:rr.oneOf[0].enum},message:"must be equal to one of the allowed values"};r===null?r=[O]:r.push(O),e++}var D=w===e;D&&(v=!0,P=0);const j=e;if(e===j)if(typeof y=="string"){if(!nr.test(y)){const O={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/1/pattern",keyword:"pattern",params:{pattern:"^plugin:[^:]+$"},message:'must match pattern "^plugin:[^:]+$"'};r===null?r=[O]:r.push(O),e++}}else{const O={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var D=j===e;if(D&&v?(v=!1,P=[P,1]):D&&(v=!0,P=1),v)e=k,r!==null&&(k?r.length=k:r=null);else{const O={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,N.errors=r,!1}var i=T===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return N.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return N.errors=r,e===0}function ie(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.violations===void 0&&(f="violations")||s.error===void 0&&(f="error")||s.warn===void 0&&(f="warn")||s.info===void 0&&(f="info")||s.totalCruised===void 0&&(f="totalCruised")||s.optionsUsed===void 0&&(f="optionsUsed"))return ie.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const o in s)if(!je.call(Je.properties,o)){return ie.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.violations!==void 0){const o=e;Re(s.violations,{instancePath:t+"/violations",parentData:s,parentDataProperty:"violations",rootData:A})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var i=o===e}else var i=!0;if(i){if(s.error!==void 0){let o=s.error;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/error",schemaPath:"#/properties/error/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.warn!==void 0){let o=s.warn;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/warn",schemaPath:"#/properties/warn/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.info!==void 0){let o=s.info;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/info",schemaPath:"#/properties/info/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.ignore!==void 0){let o=s.ignore;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/ignore",schemaPath:"#/properties/ignore/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.totalCruised!==void 0){let o=s.totalCruised;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/totalCruised",schemaPath:"#/properties/totalCruised/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.totalDependenciesCruised!==void 0){let o=s.totalDependenciesCruised;const m=e;if(!(typeof o=="number"&&isFinite(o)))return ie.errors=[{instancePath:t+"/totalDependenciesCruised",schemaPath:"#/properties/totalDependenciesCruised/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=m===e}else var i=!0;if(i){if(s.ruleSetUsed!==void 0){const o=e;le(s.ruleSetUsed,{instancePath:t+"/ruleSetUsed",parentData:s,parentDataProperty:"ruleSetUsed",rootData:A})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var i=o===e}else var i=!0;if(i)if(s.optionsUsed!==void 0){const o=e;N(s.optionsUsed,{instancePath:t+"/optionsUsed",parentData:s,parentDataProperty:"optionsUsed",rootData:A})||(r=r===null?N.errors:r.concat(N.errors),e=r.length);var i=o===e}else var i=!0}}}}}}}}}}else return ie.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ie.errors=r,e===0}function K(s,{instancePath:t="",parentData:C,parentDataProperty:M,rootData:A=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let d;if(s.summary===void 0&&(d="summary")||s.modules===void 0&&(d="modules"))return K.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:d},message:"must have required property '"+d+"'"}],!1;{const p=e;for(const b in s)if(!(b==="modules"||b==="folders"||b==="summary"||b==="revisionData")){return K.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(p===e){if(s.modules!==void 0){const b=e;Ee(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:A})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var i=b===e}else var i=!0;if(i){if(s.folders!==void 0){const b=e;$e(s.folders,{instancePath:t+"/folders",parentData:s,parentDataProperty:"folders",rootData:A})||(r=r===null?$e.errors:r.concat($e.errors),e=r.length);var i=b===e}else var i=!0;if(i){if(s.summary!==void 0){const b=e;ie(s.summary,{instancePath:t+"/summary",parentData:s,parentDataProperty:"summary",rootData:A})||(r=r===null?ie.errors:r.concat(ie.errors),e=r.length);var i=b===e}else var i=!0;if(i)if(s.revisionData!==void 0){let b=s.revisionData;const R=e;if(e===e)if(b&&typeof b=="object"&&!Array.isArray(b)){let u;if(b.SHA1===void 0&&(u="SHA1")||b.changes===void 0&&(u="changes"))return K.errors=[{instancePath:t+"/revisionData",schemaPath:"#/definitions/RevisionDataType/required",keyword:"required",params:{missingProperty:u},message:"must have required property '"+u+"'"}],!1;if(b.cacheFormatVersion!==void 0){let S=b.cacheFormatVersion;const g=e;if(!(typeof S=="number"&&isFinite(S)))return K.errors=[{instancePath:t+"/revisionData/cacheFormatVersion",schemaPath:"#/definitions/RevisionDataType/properties/cacheFormatVersion/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var f=g===e}else var f=!0;if(f){if(b.SHA1!==void 0){const S=e;if(typeof b.SHA1!="string")return K.errors=[{instancePath:t+"/revisionData/SHA1",schemaPath:"#/definitions/RevisionDataType/properties/SHA1/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=S===e}else var f=!0;if(f)if(b.changes!==void 0){let S=b.changes;const g=e;if(e===g)if(Array.isArray(S)){var n=!0;const h=S.length;for(let x=0;x<h;x++){let q=S[x];const L=e;if(e===L)if(q&&typeof q=="object"&&!Array.isArray(q)){let _;if(q.name===void 0&&(_="name")||q.type===void 0&&(_="type"))return K.errors=[{instancePath:t+"/revisionData/changes/"+x,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/required",keyword:"required",params:{missingProperty:_},message:"must have required property '"+_+"'"}],!1;if(q.name!==void 0){const D=e;if(typeof q.name!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/name",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=D===e}else var o=!0;if(o){if(q.type!==void 0){let D=q.type;const E=e;if(typeof D!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/type",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(D==="added"||D==="copied"||D==="deleted"||D==="modified"||D==="renamed"||D==="type changed"||D==="unmerged"||D==="pairing broken"||D==="unknown"||D==="unmodified"||D==="untracked"||D==="ignored"))return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/type",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/type/enum",keyword:"enum",params:{allowedValues:ze.properties.changes.items.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var o=E===e}else var o=!0;if(o){if(q.oldName!==void 0){const D=e;if(typeof q.oldName!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/oldName",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/oldName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=D===e}else var o=!0;if(o){if(q.checksum!==void 0){const D=e;if(typeof q.checksum!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/checksum",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/checksum/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=D===e}else var o=!0;if(o){if(q.args!==void 0){let D=q.args;const E=e;if(e===E)if(Array.isArray(D)){var m=!0;const T=D.length;for(let k=0;k<T;k++){const v=e;if(typeof D[k]!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/args/"+k,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/args/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=v===e;if(!m)break}}else return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/args",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/args/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=E===e}else var o=!0;if(o)if(q.rulesFile!==void 0){const D=e;if(typeof q.rulesFile!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/rulesFile",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/rulesFile/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=D===e}else var o=!0}}}}}else return K.errors=[{instancePath:t+"/revisionData/changes/"+x,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var n=L===e;if(!n)break}}else return K.errors=[{instancePath:t+"/revisionData/changes",schemaPath:"#/definitions/RevisionDataType/properties/changes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=g===e}else var f=!0}}else return K.errors=[{instancePath:t+"/revisionData",schemaPath:"#/definitions/RevisionDataType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=R===e}else var i=!0}}}}}else return K.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return K.errors=r,e===0}
1
+ "use strict";export const validate=K;export default K;const ze={type:"object",required:["SHA1","changes"],properties:{cacheFormatVersion:{type:"number"},SHA1:{type:"string"},changes:{type:"array",items:{type:"object",required:["name","type"],properties:{name:{type:"string"},type:{type:"string",enum:["added","copied","deleted","modified","renamed","type changed","unmerged","pairing broken","unknown","unmodified","untracked","ignored"]},oldName:{type:"string"},checksum:{type:"string"},args:{type:"array",items:{type:"string"}},rulesFile:{type:"string"}}}}}};const Be={type:"object",required:["source","dependencies","valid"],additionalProperties:!1,properties:{source:{type:"string"},valid:{type:"boolean"},dependencies:{$ref:"#/definitions/DependenciesType"},dependents:{type:"array",items:{type:"string"}},followable:{type:"boolean"},matchesDoNotFollow:{type:"boolean"},matchesFocus:{type:"boolean"},matchesReaches:{type:"boolean"},matchesHighlight:{type:"boolean"},coreModule:{type:"boolean"},couldNotResolve:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},license:{type:"string"},orphan:{type:"boolean"},reachable:{type:"array",items:{$ref:"#/definitions/ReachableType"}},reaches:{type:"array",items:{$ref:"#/definitions/ReachesType"}},rules:{type:"array",items:{$ref:"#/definitions/RuleSummaryType"}},consolidated:{type:"boolean"},instability:{type:"number"},experimentalStats:{$ref:"#/definitions/ExperimentalStatsType"},checksum:{type:"string"}}},be={type:"string",enum:["aliased-subpath-import","aliased-tsconfig-base-url","aliased-tsconfig-paths","aliased-tsconfig","aliased-webpack","aliased-workspace","aliased","amd-define","amd-require","amd-exotic-require","core","deprecated","dynamic-import","exotic-require","export","import-equals","import","jsdoc","jsdoc-bracket-import","jsdoc-import-tag","local","localmodule","npm-bundled","npm-dev","npm-no-pkg","npm-optional","npm-peer","npm-unknown","npm","pre-compilation-only","process-get-builtin-module","require","triple-slash-amd-dependency","triple-slash-directive","triple-slash-file-reference","triple-slash-type-reference","type-import","type-only","undetermined","unknown"]};const Ae=Object.prototype.hasOwnProperty;const Ue={type:"object",required:["circular","coreModule","couldNotResolve","dependencyTypes","exoticallyRequired","dynamic","followable","module","moduleSystem","resolved","valid"],additionalProperties:!1,properties:{module:{type:"string"},protocol:{type:"string",enum:["data:","file:","node:","bun:"]},mimeType:{type:"string"},resolved:{type:"string"},coreModule:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},license:{type:"string"},followable:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{type:"string"},matchesDoNotFollow:{type:"boolean"},couldNotResolve:{type:"boolean"},preCompilationOnly:{type:"boolean"},typeOnly:{type:"boolean"},circular:{type:"boolean"},cycle:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},moduleSystem:{$ref:"#/definitions/ModuleSystemType"},valid:{type:"boolean"},rules:{type:"array",items:{$ref:"#/definitions/RuleSummaryType"}},instability:{type:"number"}}},Ve={type:"string",enum:["cjs","es6","amd","tsd"]};function G(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let a;if(s.name===void 0&&(a="name")||s.dependencyTypes===void 0&&(a="dependencyTypes"))return G.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:a},message:"must have required property '"+a+"'"}],!1;{const n=e;for(const u in s)if(!(u==="name"||u==="dependencyTypes")){return G.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const u=e;if(typeof s.name!="string")return G.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=u===e}else var i=!0;if(i)if(s.dependencyTypes!==void 0){let u=s.dependencyTypes;const T=e;if(e===T)if(Array.isArray(u)){var m=!0;const g=u.length;for(let f=0;f<g;f++){let p=u[f];const o=e;if(typeof p!="string")return G.errors=[{instancePath:t+"/dependencyTypes/"+f,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="aliased-subpath-import"||p==="aliased-tsconfig-base-url"||p==="aliased-tsconfig-paths"||p==="aliased-tsconfig"||p==="aliased-webpack"||p==="aliased-workspace"||p==="aliased"||p==="amd-define"||p==="amd-require"||p==="amd-exotic-require"||p==="core"||p==="deprecated"||p==="dynamic-import"||p==="exotic-require"||p==="export"||p==="import-equals"||p==="import"||p==="jsdoc"||p==="jsdoc-bracket-import"||p==="jsdoc-import-tag"||p==="local"||p==="localmodule"||p==="npm-bundled"||p==="npm-dev"||p==="npm-no-pkg"||p==="npm-optional"||p==="npm-peer"||p==="npm-unknown"||p==="npm"||p==="pre-compilation-only"||p==="process-get-builtin-module"||p==="require"||p==="triple-slash-amd-dependency"||p==="triple-slash-directive"||p==="triple-slash-file-reference"||p==="triple-slash-type-reference"||p==="type-import"||p==="type-only"||p==="undetermined"||p==="unknown"))return G.errors=[{instancePath:t+"/dependencyTypes/"+f,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var m=o===e;if(!m)break}}else return G.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=T===e}else var i=!0}}}else return G.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return G.errors=r,e===0}const xe={type:"string",enum:["error","warn","info","ignore"]};function Q(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.name===void 0&&(m="name")||s.severity===void 0&&(m="severity"))return Q.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="name"||n==="severity")){return Q.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.name!==void 0){const n=e;if(typeof s.name!="string")return Q.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i)if(s.severity!==void 0){let n=s.severity;const u=e;if(typeof n!="string")return Q.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="error"||n==="warn"||n==="info"||n==="ignore"))return Q.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0}}}else return Q.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Q.errors=r,e===0}function L(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let u;if(s.circular===void 0&&(u="circular")||s.coreModule===void 0&&(u="coreModule")||s.couldNotResolve===void 0&&(u="couldNotResolve")||s.dependencyTypes===void 0&&(u="dependencyTypes")||s.exoticallyRequired===void 0&&(u="exoticallyRequired")||s.dynamic===void 0&&(u="dynamic")||s.followable===void 0&&(u="followable")||s.module===void 0&&(u="module")||s.moduleSystem===void 0&&(u="moduleSystem")||s.resolved===void 0&&(u="resolved")||s.valid===void 0&&(u="valid"))return L.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:u},message:"must have required property '"+u+"'"}],!1;{const T=e;for(const l in s)if(!Ae.call(Ue.properties,l)){return L.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.module!==void 0){const l=e;if(typeof s.module!="string")return L.errors=[{instancePath:t+"/module",schemaPath:"#/properties/module/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.protocol!==void 0){let l=s.protocol;const g=e;if(typeof l!="string")return L.errors=[{instancePath:t+"/protocol",schemaPath:"#/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(l==="data:"||l==="file:"||l==="node:"||l==="bun:"))return L.errors=[{instancePath:t+"/protocol",schemaPath:"#/properties/protocol/enum",keyword:"enum",params:{allowedValues:Ue.properties.protocol.enum},message:"must be equal to one of the allowed values"}],!1;var i=g===e}else var i=!0;if(i){if(s.mimeType!==void 0){const l=e;if(typeof s.mimeType!="string")return L.errors=[{instancePath:t+"/mimeType",schemaPath:"#/properties/mimeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.resolved!==void 0){const l=e;if(typeof s.resolved!="string")return L.errors=[{instancePath:t+"/resolved",schemaPath:"#/properties/resolved/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.coreModule!==void 0){const l=e;if(typeof s.coreModule!="boolean")return L.errors=[{instancePath:t+"/coreModule",schemaPath:"#/properties/coreModule/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.dependencyTypes!==void 0){let l=s.dependencyTypes;const g=e;if(e===g)if(Array.isArray(l)){var m=!0;const p=l.length;for(let o=0;o<p;o++){let c=l[o];const v=e;if(typeof c!="string")return L.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(c==="aliased-subpath-import"||c==="aliased-tsconfig-base-url"||c==="aliased-tsconfig-paths"||c==="aliased-tsconfig"||c==="aliased-webpack"||c==="aliased-workspace"||c==="aliased"||c==="amd-define"||c==="amd-require"||c==="amd-exotic-require"||c==="core"||c==="deprecated"||c==="dynamic-import"||c==="exotic-require"||c==="export"||c==="import-equals"||c==="import"||c==="jsdoc"||c==="jsdoc-bracket-import"||c==="jsdoc-import-tag"||c==="local"||c==="localmodule"||c==="npm-bundled"||c==="npm-dev"||c==="npm-no-pkg"||c==="npm-optional"||c==="npm-peer"||c==="npm-unknown"||c==="npm"||c==="pre-compilation-only"||c==="process-get-builtin-module"||c==="require"||c==="triple-slash-amd-dependency"||c==="triple-slash-directive"||c==="triple-slash-file-reference"||c==="triple-slash-type-reference"||c==="type-import"||c==="type-only"||c==="undetermined"||c==="unknown"))return L.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var m=v===e;if(!m)break}}else return L.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=g===e}else var i=!0;if(i){if(s.license!==void 0){const l=e;if(typeof s.license!="string")return L.errors=[{instancePath:t+"/license",schemaPath:"#/properties/license/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.followable!==void 0){const l=e;if(typeof s.followable!="boolean")return L.errors=[{instancePath:t+"/followable",schemaPath:"#/properties/followable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.dynamic!==void 0){const l=e;if(typeof s.dynamic!="boolean")return L.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.exoticallyRequired!==void 0){const l=e;if(typeof s.exoticallyRequired!="boolean")return L.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.exoticRequire!==void 0){const l=e;if(typeof s.exoticRequire!="string")return L.errors=[{instancePath:t+"/exoticRequire",schemaPath:"#/properties/exoticRequire/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=l===e}else var i=!0;if(i){if(s.matchesDoNotFollow!==void 0){const l=e;if(typeof s.matchesDoNotFollow!="boolean")return L.errors=[{instancePath:t+"/matchesDoNotFollow",schemaPath:"#/properties/matchesDoNotFollow/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.couldNotResolve!==void 0){const l=e;if(typeof s.couldNotResolve!="boolean")return L.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.preCompilationOnly!==void 0){const l=e;if(typeof s.preCompilationOnly!="boolean")return L.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.typeOnly!==void 0){const l=e;if(typeof s.typeOnly!="boolean")return L.errors=[{instancePath:t+"/typeOnly",schemaPath:"#/properties/typeOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.circular!==void 0){const l=e;if(typeof s.circular!="boolean")return L.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.cycle!==void 0){let l=s.cycle;const g=e;if(e===g)if(Array.isArray(l)){var a=!0;const p=l.length;for(let o=0;o<p;o++){const c=e;G(l[o],{instancePath:t+"/cycle/"+o,parentData:l,parentDataProperty:o,rootData:O})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var a=c===e;if(!a)break}}else return L.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=g===e}else var i=!0;if(i){if(s.moduleSystem!==void 0){let l=s.moduleSystem;const g=e;if(typeof l!="string")return L.errors=[{instancePath:t+"/moduleSystem",schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(l==="cjs"||l==="es6"||l==="amd"||l==="tsd"))return L.errors=[{instancePath:t+"/moduleSystem",schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:Ve.enum},message:"must be equal to one of the allowed values"}],!1;var i=g===e}else var i=!0;if(i){if(s.valid!==void 0){const l=e;if(typeof s.valid!="boolean")return L.errors=[{instancePath:t+"/valid",schemaPath:"#/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i){if(s.rules!==void 0){let l=s.rules;const g=e;if(e===g)if(Array.isArray(l)){var n=!0;const p=l.length;for(let o=0;o<p;o++){const c=e;Q(l[o],{instancePath:t+"/rules/"+o,parentData:l,parentDataProperty:o,rootData:O})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var n=c===e;if(!n)break}}else return L.errors=[{instancePath:t+"/rules",schemaPath:"#/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=g===e}else var i=!0;if(i)if(s.instability!==void 0){let l=s.instability;const g=e;if(!(typeof l=="number"&&isFinite(l)))return L.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=g===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}else return L.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return L.errors=r,e===0}function Ne(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const m=s.length;for(let a=0;a<m;a++){const n=e;L(s[a],{instancePath:t+"/"+a,parentData:s,parentDataProperty:a,rootData:O})||(r=r===null?L.errors:r.concat(L.errors),e=r.length);var i=n===e;if(!i)break}}else return Ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Ne.errors=r,e===0}function X(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let u;if(s.modules===void 0&&(u="modules")||s.asDefinedInRule===void 0&&(u="asDefinedInRule"))return X.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:u},message:"must have required property '"+u+"'"}],!1;{const T=e;for(const l in s)if(!(l==="modules"||l==="asDefinedInRule")){return X.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.modules!==void 0){let l=s.modules;const g=e;if(e===g)if(Array.isArray(l)){var i=!0;const f=l.length;for(let p=0;p<f;p++){let o=l[p];const c=e;if(e===c)if(o&&typeof o=="object"&&!Array.isArray(o)){let y;if(o.source===void 0&&(y="source")||o.via===void 0&&(y="via"))return X.errors=[{instancePath:t+"/modules/"+p,schemaPath:"#/properties/modules/items/required",keyword:"required",params:{missingProperty:y},message:"must have required property '"+y+"'"}],!1;{const h=e;for(const b in o)if(!(b==="source"||b==="via")){return X.errors=[{instancePath:t+"/modules/"+p,schemaPath:"#/properties/modules/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(h===e){if(o.source!==void 0){const b=e;if(typeof o.source!="string")return X.errors=[{instancePath:t+"/modules/"+p+"/source",schemaPath:"#/properties/modules/items/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=b===e}else var m=!0;if(m)if(o.via!==void 0){let b=o.via;const x=e;if(e===x)if(Array.isArray(b)){var a=!0;const H=b.length;for(let $=0;$<H;$++){const A=e;G(b[$],{instancePath:t+"/modules/"+p+"/via/"+$,parentData:b,parentDataProperty:$,rootData:O})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var a=A===e;if(!a)break}}else return X.errors=[{instancePath:t+"/modules/"+p+"/via",schemaPath:"#/properties/modules/items/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=x===e}else var m=!0}}}else return X.errors=[{instancePath:t+"/modules/"+p,schemaPath:"#/properties/modules/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=c===e;if(!i)break}}else return X.errors=[{instancePath:t+"/modules",schemaPath:"#/properties/modules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=g===e}else var n=!0;if(n)if(s.asDefinedInRule!==void 0){const l=e;if(typeof s.asDefinedInRule!="string")return X.errors=[{instancePath:t+"/asDefinedInRule",schemaPath:"#/properties/asDefinedInRule/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0}}}else return X.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return X.errors=r,e===0}function U(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.source===void 0&&(f="source")||s.dependencies===void 0&&(f="dependencies")||s.valid===void 0&&(f="valid"))return U.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const p=e;for(const o in s)if(!Ae.call(Be.properties,o)){return U.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(p===e){if(s.source!==void 0){const o=e;if(typeof s.source!="string")return U.errors=[{instancePath:t+"/source",schemaPath:"#/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.valid!==void 0){const o=e;if(typeof s.valid!="boolean")return U.errors=[{instancePath:t+"/valid",schemaPath:"#/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.dependencies!==void 0){const o=e;Ne(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:O})||(r=r===null?Ne.errors:r.concat(Ne.errors),e=r.length);var i=o===e}else var i=!0;if(i){if(s.dependents!==void 0){let o=s.dependents;const c=e;if(e===c)if(Array.isArray(o)){var m=!0;const y=o.length;for(let h=0;h<y;h++){const b=e;if(typeof o[h]!="string")return U.errors=[{instancePath:t+"/dependents/"+h,schemaPath:"#/properties/dependents/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=b===e;if(!m)break}}else return U.errors=[{instancePath:t+"/dependents",schemaPath:"#/properties/dependents/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=c===e}else var i=!0;if(i){if(s.followable!==void 0){const o=e;if(typeof s.followable!="boolean")return U.errors=[{instancePath:t+"/followable",schemaPath:"#/properties/followable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.matchesDoNotFollow!==void 0){const o=e;if(typeof s.matchesDoNotFollow!="boolean")return U.errors=[{instancePath:t+"/matchesDoNotFollow",schemaPath:"#/properties/matchesDoNotFollow/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.matchesFocus!==void 0){const o=e;if(typeof s.matchesFocus!="boolean")return U.errors=[{instancePath:t+"/matchesFocus",schemaPath:"#/properties/matchesFocus/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.matchesReaches!==void 0){const o=e;if(typeof s.matchesReaches!="boolean")return U.errors=[{instancePath:t+"/matchesReaches",schemaPath:"#/properties/matchesReaches/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.matchesHighlight!==void 0){const o=e;if(typeof s.matchesHighlight!="boolean")return U.errors=[{instancePath:t+"/matchesHighlight",schemaPath:"#/properties/matchesHighlight/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.coreModule!==void 0){const o=e;if(typeof s.coreModule!="boolean")return U.errors=[{instancePath:t+"/coreModule",schemaPath:"#/properties/coreModule/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.couldNotResolve!==void 0){const o=e;if(typeof s.couldNotResolve!="boolean")return U.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.dependencyTypes!==void 0){let o=s.dependencyTypes;const c=e;if(e===c)if(Array.isArray(o)){var a=!0;const y=o.length;for(let h=0;h<y;h++){let b=o[h];const x=e;if(typeof b!="string")return U.errors=[{instancePath:t+"/dependencyTypes/"+h,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(b==="aliased-subpath-import"||b==="aliased-tsconfig-base-url"||b==="aliased-tsconfig-paths"||b==="aliased-tsconfig"||b==="aliased-webpack"||b==="aliased-workspace"||b==="aliased"||b==="amd-define"||b==="amd-require"||b==="amd-exotic-require"||b==="core"||b==="deprecated"||b==="dynamic-import"||b==="exotic-require"||b==="export"||b==="import-equals"||b==="import"||b==="jsdoc"||b==="jsdoc-bracket-import"||b==="jsdoc-import-tag"||b==="local"||b==="localmodule"||b==="npm-bundled"||b==="npm-dev"||b==="npm-no-pkg"||b==="npm-optional"||b==="npm-peer"||b==="npm-unknown"||b==="npm"||b==="pre-compilation-only"||b==="process-get-builtin-module"||b==="require"||b==="triple-slash-amd-dependency"||b==="triple-slash-directive"||b==="triple-slash-file-reference"||b==="triple-slash-type-reference"||b==="type-import"||b==="type-only"||b==="undetermined"||b==="unknown"))return U.errors=[{instancePath:t+"/dependencyTypes/"+h,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var a=x===e;if(!a)break}}else return U.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=c===e}else var i=!0;if(i){if(s.license!==void 0){const o=e;if(typeof s.license!="string")return U.errors=[{instancePath:t+"/license",schemaPath:"#/properties/license/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0;if(i){if(s.orphan!==void 0){const o=e;if(typeof s.orphan!="boolean")return U.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.reachable!==void 0){let o=s.reachable;const c=e;if(e===c)if(Array.isArray(o)){var n=!0;const y=o.length;for(let h=0;h<y;h++){let b=o[h];const x=e;if(e===e)if(b&&typeof b=="object"&&!Array.isArray(b)){let $;if(b.value===void 0&&($="value")||b.asDefinedInRule===void 0&&($="asDefinedInRule")||b.matchedFrom===void 0&&($="matchedFrom"))return U.errors=[{instancePath:t+"/reachable/"+h,schemaPath:"#/definitions/ReachableType/required",keyword:"required",params:{missingProperty:$},message:"must have required property '"+$+"'"}],!1;{const A=e;for(const D in b)if(!(D==="value"||D==="asDefinedInRule"||D==="matchedFrom")){return U.errors=[{instancePath:t+"/reachable/"+h,schemaPath:"#/definitions/ReachableType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:D},message:"must NOT have additional properties"}],!1;break}if(A===e){if(b.value!==void 0){const D=e;if(typeof b.value!="boolean")return U.errors=[{instancePath:t+"/reachable/"+h+"/value",schemaPath:"#/definitions/ReachableType/properties/value/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var u=D===e}else var u=!0;if(u){if(b.asDefinedInRule!==void 0){const D=e;if(typeof b.asDefinedInRule!="string")return U.errors=[{instancePath:t+"/reachable/"+h+"/asDefinedInRule",schemaPath:"#/definitions/ReachableType/properties/asDefinedInRule/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=D===e}else var u=!0;if(u)if(b.matchedFrom!==void 0){const D=e;if(typeof b.matchedFrom!="string")return U.errors=[{instancePath:t+"/reachable/"+h+"/matchedFrom",schemaPath:"#/definitions/ReachableType/properties/matchedFrom/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=D===e}else var u=!0}}}}else return U.errors=[{instancePath:t+"/reachable/"+h,schemaPath:"#/definitions/ReachableType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var n=x===e;if(!n)break}}else return U.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=c===e}else var i=!0;if(i){if(s.reaches!==void 0){let o=s.reaches;const c=e;if(e===c)if(Array.isArray(o)){var T=!0;const y=o.length;for(let h=0;h<y;h++){const b=e;X(o[h],{instancePath:t+"/reaches/"+h,parentData:o,parentDataProperty:h,rootData:O})||(r=r===null?X.errors:r.concat(X.errors),e=r.length);var T=b===e;if(!T)break}}else return U.errors=[{instancePath:t+"/reaches",schemaPath:"#/properties/reaches/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=c===e}else var i=!0;if(i){if(s.rules!==void 0){let o=s.rules;const c=e;if(e===c)if(Array.isArray(o)){var l=!0;const y=o.length;for(let h=0;h<y;h++){const b=e;Q(o[h],{instancePath:t+"/rules/"+h,parentData:o,parentDataProperty:h,rootData:O})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var l=b===e;if(!l)break}}else return U.errors=[{instancePath:t+"/rules",schemaPath:"#/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=c===e}else var i=!0;if(i){if(s.consolidated!==void 0){const o=e;if(typeof s.consolidated!="boolean")return U.errors=[{instancePath:t+"/consolidated",schemaPath:"#/properties/consolidated/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i){if(s.instability!==void 0){let o=s.instability;const c=e;if(!(typeof o=="number"&&isFinite(o)))return U.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=c===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){let o=s.experimentalStats;const c=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){let h;if(o.size===void 0&&(h="size")||o.topLevelStatementCount===void 0&&(h="topLevelStatementCount"))return U.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/required",keyword:"required",params:{missingProperty:h},message:"must have required property '"+h+"'"}],!1;{const b=e;for(const x in o)if(!(x==="topLevelStatementCount"||x==="size")){return U.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:x},message:"must NOT have additional properties"}],!1;break}if(b===e){if(o.topLevelStatementCount!==void 0){let x=o.topLevelStatementCount;const N=e;if(!(typeof x=="number"&&isFinite(x)))return U.errors=[{instancePath:t+"/experimentalStats/topLevelStatementCount",schemaPath:"#/definitions/ExperimentalStatsType/properties/topLevelStatementCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var g=N===e}else var g=!0;if(g)if(o.size!==void 0){let x=o.size;const N=e;if(!(typeof x=="number"&&isFinite(x)))return U.errors=[{instancePath:t+"/experimentalStats/size",schemaPath:"#/definitions/ExperimentalStatsType/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var g=N===e}else var g=!0}}}else return U.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=c===e}else var i=!0;if(i)if(s.checksum!==void 0){const o=e;if(typeof s.checksum!="string")return U.errors=[{instancePath:t+"/checksum",schemaPath:"#/properties/checksum/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=o===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}else return U.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return U.errors=r,e===0}function qe(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const m=s.length;for(let a=0;a<m;a++){const n=e;U(s[a],{instancePath:t+"/"+a,parentData:s,parentDataProperty:a,rootData:O})||(r=r===null?U.errors:r.concat(U.errors),e=r.length);var i=n===e;if(!i)break}}else return qe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return qe.errors=r,e===0}function z(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let g;if(s.name===void 0&&(g="name")||s.moduleCount===void 0&&(g="moduleCount"))return z.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"}],!1;{const f=e;for(const p in s)if(!(p==="name"||p==="dependents"||p==="dependencies"||p==="moduleCount"||p==="afferentCouplings"||p==="efferentCouplings"||p==="instability"||p==="experimentalStats")){return z.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.name!==void 0){const p=e;if(typeof s.name!="string")return z.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=p===e}else var i=!0;if(i){if(s.dependents!==void 0){let p=s.dependents;const o=e;if(e===o)if(Array.isArray(p)){var m=!0;const v=p.length;for(let y=0;y<v;y++){let h=p[y];const b=e;if(e===b)if(h&&typeof h=="object"&&!Array.isArray(h)){let N;if(h.name===void 0&&(N="name"))return z.errors=[{instancePath:t+"/dependents/"+y,schemaPath:"#/properties/dependents/items/required",keyword:"required",params:{missingProperty:N},message:"must have required property '"+N+"'"}],!1;{const H=e;for(const $ in h)if($!=="name"){return z.errors=[{instancePath:t+"/dependents/"+y,schemaPath:"#/properties/dependents/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:$},message:"must NOT have additional properties"}],!1;break}if(H===e&&h.name!==void 0&&typeof h.name!="string")return z.errors=[{instancePath:t+"/dependents/"+y+"/name",schemaPath:"#/properties/dependents/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}}else return z.errors=[{instancePath:t+"/dependents/"+y,schemaPath:"#/properties/dependents/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=b===e;if(!m)break}}else return z.errors=[{instancePath:t+"/dependents",schemaPath:"#/properties/dependents/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=o===e}else var i=!0;if(i){if(s.dependencies!==void 0){let p=s.dependencies;const o=e;if(e===o)if(Array.isArray(p)){var a=!0;const v=p.length;for(let y=0;y<v;y++){let h=p[y];const b=e;if(e===b)if(h&&typeof h=="object"&&!Array.isArray(h)){let N;if(h.name===void 0&&(N="name")||h.valid===void 0&&(N="valid")||h.circular===void 0&&(N="circular"))return z.errors=[{instancePath:t+"/dependencies/"+y,schemaPath:"#/properties/dependencies/items/required",keyword:"required",params:{missingProperty:N},message:"must have required property '"+N+"'"}],!1;{const H=e;for(const $ in h)if(!($==="name"||$==="instability"||$==="valid"||$==="circular"||$==="cycle"||$==="rules")){return z.errors=[{instancePath:t+"/dependencies/"+y,schemaPath:"#/properties/dependencies/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:$},message:"must NOT have additional properties"}],!1;break}if(H===e){if(h.name!==void 0){const $=e;if(typeof h.name!="string")return z.errors=[{instancePath:t+"/dependencies/"+y+"/name",schemaPath:"#/properties/dependencies/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=$===e}else var n=!0;if(n){if(h.instability!==void 0){let $=h.instability;const A=e;if(!(typeof $=="number"&&isFinite($)))return z.errors=[{instancePath:t+"/dependencies/"+y+"/instability",schemaPath:"#/properties/dependencies/items/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=A===e}else var n=!0;if(n){if(h.valid!==void 0){const $=e;if(typeof h.valid!="boolean")return z.errors=[{instancePath:t+"/dependencies/"+y+"/valid",schemaPath:"#/properties/dependencies/items/properties/valid/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=$===e}else var n=!0;if(n){if(h.circular!==void 0){const $=e;if(typeof h.circular!="boolean")return z.errors=[{instancePath:t+"/dependencies/"+y+"/circular",schemaPath:"#/properties/dependencies/items/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=$===e}else var n=!0;if(n){if(h.cycle!==void 0){let $=h.cycle;const A=e;if(e===A)if(Array.isArray($)){var u=!0;const q=$.length;for(let d=0;d<q;d++){const _=e;G($[d],{instancePath:t+"/dependencies/"+y+"/cycle/"+d,parentData:$,parentDataProperty:d,rootData:O})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var u=_===e;if(!u)break}}else return z.errors=[{instancePath:t+"/dependencies/"+y+"/cycle",schemaPath:"#/properties/dependencies/items/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=A===e}else var n=!0;if(n)if(h.rules!==void 0){let $=h.rules;const A=e;if(e===A)if(Array.isArray($)){var T=!0;const q=$.length;for(let d=0;d<q;d++){const _=e;Q($[d],{instancePath:t+"/dependencies/"+y+"/rules/"+d,parentData:$,parentDataProperty:d,rootData:O})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var T=_===e;if(!T)break}}else return z.errors=[{instancePath:t+"/dependencies/"+y+"/rules",schemaPath:"#/properties/dependencies/items/properties/rules/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=A===e}else var n=!0}}}}}}}else return z.errors=[{instancePath:t+"/dependencies/"+y,schemaPath:"#/properties/dependencies/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=b===e;if(!a)break}}else return z.errors=[{instancePath:t+"/dependencies",schemaPath:"#/properties/dependencies/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=o===e}else var i=!0;if(i){if(s.moduleCount!==void 0){let p=s.moduleCount;const o=e;if(!(typeof p=="number"&&isFinite(p)))return z.errors=[{instancePath:t+"/moduleCount",schemaPath:"#/properties/moduleCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=o===e}else var i=!0;if(i){if(s.afferentCouplings!==void 0){let p=s.afferentCouplings;const o=e;if(!(typeof p=="number"&&isFinite(p)))return z.errors=[{instancePath:t+"/afferentCouplings",schemaPath:"#/properties/afferentCouplings/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=o===e}else var i=!0;if(i){if(s.efferentCouplings!==void 0){let p=s.efferentCouplings;const o=e;if(!(typeof p=="number"&&isFinite(p)))return z.errors=[{instancePath:t+"/efferentCouplings",schemaPath:"#/properties/efferentCouplings/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=o===e}else var i=!0;if(i){if(s.instability!==void 0){let p=s.instability;const o=e;if(!(typeof p=="number"&&isFinite(p)))return z.errors=[{instancePath:t+"/instability",schemaPath:"#/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=o===e}else var i=!0;if(i)if(s.experimentalStats!==void 0){let p=s.experimentalStats;const o=e;if(e===e)if(p&&typeof p=="object"&&!Array.isArray(p)){let y;if(p.size===void 0&&(y="size")||p.topLevelStatementCount===void 0&&(y="topLevelStatementCount"))return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/required",keyword:"required",params:{missingProperty:y},message:"must have required property '"+y+"'"}],!1;{const h=e;for(const b in p)if(!(b==="topLevelStatementCount"||b==="size")){return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(h===e){if(p.topLevelStatementCount!==void 0){let b=p.topLevelStatementCount;const x=e;if(!(typeof b=="number"&&isFinite(b)))return z.errors=[{instancePath:t+"/experimentalStats/topLevelStatementCount",schemaPath:"#/definitions/ExperimentalStatsType/properties/topLevelStatementCount/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var l=x===e}else var l=!0;if(l)if(p.size!==void 0){let b=p.size;const x=e;if(!(typeof b=="number"&&isFinite(b)))return z.errors=[{instancePath:t+"/experimentalStats/size",schemaPath:"#/definitions/ExperimentalStatsType/properties/size/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var l=x===e}else var l=!0}}}else return z.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/definitions/ExperimentalStatsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=o===e}else var i=!0}}}}}}}}}else return z.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return z.errors=r,e===0}function $e(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const m=s.length;for(let a=0;a<m;a++){const n=e;z(s[a],{instancePath:t+"/"+a,parentData:s,parentDataProperty:a,rootData:O})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var i=n===e;if(!i)break}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return $e.errors=r,e===0}const Je={type:"object",required:["violations","error","warn","info","totalCruised","optionsUsed"],additionalProperties:!1,properties:{violations:{$ref:"#/definitions/ViolationsType"},error:{type:"number"},warn:{type:"number"},info:{type:"number"},ignore:{type:"number"},totalCruised:{type:"number"},totalDependenciesCruised:{type:"number"},ruleSetUsed:{$ref:"#/definitions/RuleSetType"},optionsUsed:{$ref:"#/definitions/OptionsUsedType"}}};const Ge={type:"object",required:["from","to","rule"],additionalProperties:!1,properties:{from:{type:"string"},to:{type:"string"},unresolvedTo:{type:"string"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},type:{$ref:"#/definitions/ViolationTypeType"},rule:{$ref:"#/definitions/RuleSummaryType"},cycle:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},via:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},metrics:{type:"object",required:["from","to"],additionalProperties:!1,properties:{from:{type:"object",required:["instability"],additionalProperties:!1,properties:{instability:{type:"number"}}},to:{type:"object",required:["instability"],additionalProperties:!1,properties:{instability:{type:"number"}}}}},comment:{type:"string"}}},Ke={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function J(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let T;if(s.from===void 0&&(T="from")||s.to===void 0&&(T="to")||s.rule===void 0&&(T="rule"))return J.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const l=e;for(const g in s)if(!Ae.call(Ge.properties,g)){return J.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.from!==void 0){const g=e;if(typeof s.from!="string")return J.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=g===e}else var i=!0;if(i){if(s.to!==void 0){const g=e;if(typeof s.to!="string")return J.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=g===e}else var i=!0;if(i){if(s.unresolvedTo!==void 0){const g=e;if(typeof s.unresolvedTo!="string")return J.errors=[{instancePath:t+"/unresolvedTo",schemaPath:"#/properties/unresolvedTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=g===e}else var i=!0;if(i){if(s.dependencyTypes!==void 0){let g=s.dependencyTypes;const f=e;if(e===f)if(Array.isArray(g)){var m=!0;const o=g.length;for(let c=0;c<o;c++){let v=g[c];const y=e;if(typeof v!="string")return J.errors=[{instancePath:t+"/dependencyTypes/"+c,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(v==="aliased-subpath-import"||v==="aliased-tsconfig-base-url"||v==="aliased-tsconfig-paths"||v==="aliased-tsconfig"||v==="aliased-webpack"||v==="aliased-workspace"||v==="aliased"||v==="amd-define"||v==="amd-require"||v==="amd-exotic-require"||v==="core"||v==="deprecated"||v==="dynamic-import"||v==="exotic-require"||v==="export"||v==="import-equals"||v==="import"||v==="jsdoc"||v==="jsdoc-bracket-import"||v==="jsdoc-import-tag"||v==="local"||v==="localmodule"||v==="npm-bundled"||v==="npm-dev"||v==="npm-no-pkg"||v==="npm-optional"||v==="npm-peer"||v==="npm-unknown"||v==="npm"||v==="pre-compilation-only"||v==="process-get-builtin-module"||v==="require"||v==="triple-slash-amd-dependency"||v==="triple-slash-directive"||v==="triple-slash-file-reference"||v==="triple-slash-type-reference"||v==="type-import"||v==="type-only"||v==="undetermined"||v==="unknown"))return J.errors=[{instancePath:t+"/dependencyTypes/"+c,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var m=y===e;if(!m)break}}else return J.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=f===e}else var i=!0;if(i){if(s.type!==void 0){let g=s.type;const f=e;if(typeof g!="string")return J.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(g==="dependency"||g==="module"||g==="reachability"||g==="cycle"||g==="instability"||g==="folder"))return J.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:Ke.enum},message:"must be equal to one of the allowed values"}],!1;var i=f===e}else var i=!0;if(i){if(s.rule!==void 0){const g=e;Q(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:O})||(r=r===null?Q.errors:r.concat(Q.errors),e=r.length);var i=g===e}else var i=!0;if(i){if(s.cycle!==void 0){let g=s.cycle;const f=e;if(e===f)if(Array.isArray(g)){var a=!0;const o=g.length;for(let c=0;c<o;c++){const v=e;G(g[c],{instancePath:t+"/cycle/"+c,parentData:g,parentDataProperty:c,rootData:O})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var a=v===e;if(!a)break}}else return J.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=f===e}else var i=!0;if(i){if(s.via!==void 0){let g=s.via;const f=e;if(e===f)if(Array.isArray(g)){var n=!0;const o=g.length;for(let c=0;c<o;c++){const v=e;G(g[c],{instancePath:t+"/via/"+c,parentData:g,parentDataProperty:c,rootData:O})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var n=v===e;if(!n)break}}else return J.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=f===e}else var i=!0;if(i){if(s.metrics!==void 0){let g=s.metrics;const f=e;if(e===f)if(g&&typeof g=="object"&&!Array.isArray(g)){let o;if(g.from===void 0&&(o="from")||g.to===void 0&&(o="to"))return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:o},message:"must have required property '"+o+"'"}],!1;{const c=e;for(const v in g)if(!(v==="from"||v==="to")){return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:v},message:"must NOT have additional properties"}],!1;break}if(c===e){if(g.from!==void 0){let v=g.from;const y=e;if(e===y)if(v&&typeof v=="object"&&!Array.isArray(v)){let h;if(v.instability===void 0&&(h="instability"))return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:h},message:"must have required property '"+h+"'"}],!1;{const b=e;for(const x in v)if(x!=="instability"){return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:x},message:"must NOT have additional properties"}],!1;break}if(b===e&&v.instability!==void 0){let x=v.instability;if(!(typeof x=="number"&&isFinite(x)))return J.errors=[{instancePath:t+"/metrics/from/instability",schemaPath:"#/properties/metrics/properties/from/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return J.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=y===e}else var u=!0;if(u)if(g.to!==void 0){let v=g.to;const y=e;if(e===y)if(v&&typeof v=="object"&&!Array.isArray(v)){let b;if(v.instability===void 0&&(b="instability"))return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"}],!1;{const x=e;for(const N in v)if(N!=="instability"){return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:N},message:"must NOT have additional properties"}],!1;break}if(x===e&&v.instability!==void 0){let N=v.instability;if(!(typeof N=="number"&&isFinite(N)))return J.errors=[{instancePath:t+"/metrics/to/instability",schemaPath:"#/properties/metrics/properties/to/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return J.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=y===e}else var u=!0}}}else return J.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=f===e}else var i=!0;if(i)if(s.comment!==void 0){const g=e;if(typeof s.comment!="string")return J.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=g===e}else var i=!0}}}}}}}}}}}else return J.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return J.errors=r,e===0}function _e(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const m=s.length;for(let a=0;a<m;a++){const n=e;J(s[a],{instancePath:t+"/"+a,parentData:s,parentDataProperty:a,rootData:O})||(r=r===null?J.errors:r.concat(J.errors),e=r.length);var i=n===e;if(!i)break}}else return _e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return _e.errors=r,e===0}const Qe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function oe(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const l in s)if(!(l==="path"||l==="pathNot"||l==="orphan")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let l=s.path;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var m=c===e;m&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var i=!0;const y=l.length;for(let h=0;h<y;h++){const b=e;if(typeof l[h]!="string"){const N={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[N]:r.push(N),e++}var i=b===e;if(!i)break}}else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[y]:r.push(y),e++}var m=v===e;if(m&&p?(p=!1,o=[o,1]):m&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[y]:r.push(y),e++,oe.errors=r,!1}var a=g===e}else var a=!0;if(a){if(s.pathNot!==void 0){let l=s.pathNot;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var u=c===e;u&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var n=!0;const h=l.length;for(let b=0;b<h;b++){const x=e;if(typeof l[b]!="string"){const H={instancePath:t+"/pathNot/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var n=x===e;if(!n)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var u=v===e;if(u&&p?(p=!1,o=[o,1]):u&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,oe.errors=r,!1}var a=g===e}else var a=!0;if(a)if(s.orphan!==void 0){const l=e;if(typeof s.orphan!="boolean")return oe.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=l===e}else var a=!0}}}else return oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return oe.errors=r,e===0}const We={type:"object",additionalProperties:!1,properties:{path:{$ref:"#/definitions/REAsStringsType"},pathNot:{$ref:"#/definitions/REAsStringsType"},couldNotResolve:{type:"boolean"},circular:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{$ref:"#/definitions/REAsStringsType"},exoticRequireNot:{$ref:"#/definitions/REAsStringsType"},preCompilationOnly:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},dependencyTypesNot:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},moreThanOneDependencyType:{type:"boolean"},license:{$ref:"#/definitions/REAsStringsType"},licenseNot:{$ref:"#/definitions/REAsStringsType"},via:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaOnly:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},viaSomeNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},moreUnstable:{type:"boolean"},ancestor:{type:"boolean"}}};function we(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;const i=e;let m=!1,a=null;const n=e,u=e;let T=!1,l=null;const g=e;if(typeof s!="string"){const A={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var o=g===e;o&&(T=!0,l=0);const f=e;if(e===f)if(Array.isArray(s)){var p=!0;const A=s.length;for(let D=0;D<A;D++){const q=e;if(typeof s[D]!="string"){const _={instancePath:t+"/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=q===e;if(!p)break}}else{const A={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var o=f===e;if(o&&T?(T=!1,l=[l,1]):o&&(T=!0,l=1),T)e=u,r!==null&&(u?r.length=u:r=null);else{const A={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};r===null?r=[A]:r.push(A),e++}var $=n===e;$&&(m=!0,a=0);const c=e;if(e===c)if(s&&typeof s=="object"&&!Array.isArray(s)){const A=e;for(const D in s)if(!(D==="path"||D==="pathNot"||D==="dependencyTypes"||D==="dependencyTypesNot")){const q={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:D},message:"must NOT have additional properties"};r===null?r=[q]:r.push(q),e++;break}if(A===e){if(s.path!==void 0){let D=s.path;const q=e,d=e;let _=!1,k=null;const P=e;if(typeof D!="string"){const R={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var y=P===e;y&&(_=!0,k=0);const w=e;if(e===w)if(Array.isArray(D)){var v=!0;const R=D.length;for(let j=0;j<R;j++){const M=e;if(typeof D[j]!="string"){const V={instancePath:t+"/path/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var v=M===e;if(!v)break}}else{const R={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var y=w===e;if(y&&_?(_=!1,k=[k,1]):y&&(_=!0,k=1),_)e=d,r!==null&&(d?r.length=d:r=null);else{const R={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var h=q===e}else var h=!0;if(h){if(s.pathNot!==void 0){let D=s.pathNot;const q=e,d=e;let _=!1,k=null;const P=e;if(typeof D!="string"){const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}var x=P===e;x&&(_=!0,k=0);const w=e;if(e===w)if(Array.isArray(D)){var b=!0;const j=D.length;for(let M=0;M<j;M++){const S=e;if(typeof D[M]!="string"){const Oe={instancePath:t+"/pathNot/"+M,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Oe]:r.push(Oe),e++}var b=S===e;if(!b)break}}else{const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[j]:r.push(j),e++}var x=w===e;if(x&&_?(_=!1,k=[k,1]):x&&(_=!0,k=1),_)e=d,r!==null&&(d?r.length=d:r=null);else{const j={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};r===null?r=[j]:r.push(j),e++}var h=q===e}else var h=!0;if(h){if(s.dependencyTypes!==void 0){let D=s.dependencyTypes;const q=e;if(e===q)if(Array.isArray(D)){var N=!0;const _=D.length;for(let k=0;k<_;k++){let P=D[k];const w=e;if(typeof P!="string"){const j={instancePath:t+"/dependencyTypes/"+k,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}if(!(P==="aliased-subpath-import"||P==="aliased-tsconfig-base-url"||P==="aliased-tsconfig-paths"||P==="aliased-tsconfig"||P==="aliased-webpack"||P==="aliased-workspace"||P==="aliased"||P==="amd-define"||P==="amd-require"||P==="amd-exotic-require"||P==="core"||P==="deprecated"||P==="dynamic-import"||P==="exotic-require"||P==="export"||P==="import-equals"||P==="import"||P==="jsdoc"||P==="jsdoc-bracket-import"||P==="jsdoc-import-tag"||P==="local"||P==="localmodule"||P==="npm-bundled"||P==="npm-dev"||P==="npm-no-pkg"||P==="npm-optional"||P==="npm-peer"||P==="npm-unknown"||P==="npm"||P==="pre-compilation-only"||P==="process-get-builtin-module"||P==="require"||P==="triple-slash-amd-dependency"||P==="triple-slash-directive"||P==="triple-slash-file-reference"||P==="triple-slash-type-reference"||P==="type-import"||P==="type-only"||P==="undetermined"||P==="unknown")){const j={instancePath:t+"/dependencyTypes/"+k,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"};r===null?r=[j]:r.push(j),e++}var N=w===e;if(!N)break}}else{const _={instancePath:t+"/dependencyTypes",schemaPath:"#/oneOf/1/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var h=q===e}else var h=!0;if(h)if(s.dependencyTypesNot!==void 0){let D=s.dependencyTypesNot;const q=e;if(e===q)if(Array.isArray(D)){var H=!0;const _=D.length;for(let k=0;k<_;k++){let P=D[k];const w=e;if(typeof P!="string"){const j={instancePath:t+"/dependencyTypesNot/"+k,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[j]:r.push(j),e++}if(!(P==="aliased-subpath-import"||P==="aliased-tsconfig-base-url"||P==="aliased-tsconfig-paths"||P==="aliased-tsconfig"||P==="aliased-webpack"||P==="aliased-workspace"||P==="aliased"||P==="amd-define"||P==="amd-require"||P==="amd-exotic-require"||P==="core"||P==="deprecated"||P==="dynamic-import"||P==="exotic-require"||P==="export"||P==="import-equals"||P==="import"||P==="jsdoc"||P==="jsdoc-bracket-import"||P==="jsdoc-import-tag"||P==="local"||P==="localmodule"||P==="npm-bundled"||P==="npm-dev"||P==="npm-no-pkg"||P==="npm-optional"||P==="npm-peer"||P==="npm-unknown"||P==="npm"||P==="pre-compilation-only"||P==="process-get-builtin-module"||P==="require"||P==="triple-slash-amd-dependency"||P==="triple-slash-directive"||P==="triple-slash-file-reference"||P==="triple-slash-type-reference"||P==="type-import"||P==="type-only"||P==="undetermined"||P==="unknown")){const j={instancePath:t+"/dependencyTypesNot/"+k,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"};r===null?r=[j]:r.push(j),e++}var H=w===e;if(!H)break}}else{const _={instancePath:t+"/dependencyTypesNot",schemaPath:"#/oneOf/1/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var h=q===e}else var h=!0}}}}else{const A={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[A]:r.push(A),e++}var $=c===e;if($&&m?(m=!1,a=[a,1]):$&&(m=!0,a=1),m)e=i,r!==null&&(i?r.length=i:r=null);else{const A={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,we.errors=r,!1}return we.errors=r,e===0}function B(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const $=e;for(const A in s)if(!Ae.call(We.properties,A)){return B.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:A},message:"must NOT have additional properties"}],!1;break}if($===e){if(s.path!==void 0){let A=s.path;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var m=k===e;m&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var i=!0;const w=A.length;for(let R=0;R<w;R++){const j=e;if(typeof A[R]!="string"){const S={instancePath:t+"/path/"+R,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}var i=j===e;if(!i)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var m=P===e;if(m&&d?(d=!1,_=[_,1]):m&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.pathNot!==void 0){let A=s.pathNot;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var u=k===e;u&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var n=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/pathNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var n=M===e;if(!n)break}}else{const R={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var u=P===e;if(u&&d?(d=!1,_=[_,1]):u&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.couldNotResolve!==void 0){const A=e;if(typeof s.couldNotResolve!="boolean")return B.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.circular!==void 0){const A=e;if(typeof s.circular!="boolean")return B.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.dynamic!==void 0){const A=e;if(typeof s.dynamic!="boolean")return B.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.exoticallyRequired!==void 0){const A=e;if(typeof s.exoticallyRequired!="boolean")return B.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.exoticRequire!==void 0){let A=s.exoticRequire;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var l=k===e;l&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var T=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/exoticRequire/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var T=M===e;if(!T)break}}else{const R={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var l=P===e;if(l&&d?(d=!1,_=[_,1]):l&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.exoticRequireNot!==void 0){let A=s.exoticRequireNot;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var f=k===e;f&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var g=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/exoticRequireNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var g=M===e;if(!g)break}}else{const R={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var f=P===e;if(f&&d?(d=!1,_=[_,1]):f&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.preCompilationOnly!==void 0){const A=e;if(typeof s.preCompilationOnly!="boolean")return B.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let A=s.dependencyTypes;const D=e;if(e===D)if(Array.isArray(A)){var p=!0;const d=A.length;for(let _=0;_<d;_++){let k=A[_];const P=e;if(typeof k!="string")return B.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown"))return B.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var p=P===e;if(!p)break}}else return B.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=D===e}else var a=!0;if(a){if(s.dependencyTypesNot!==void 0){let A=s.dependencyTypesNot;const D=e;if(e===D)if(Array.isArray(A)){var o=!0;const d=A.length;for(let _=0;_<d;_++){let k=A[_];const P=e;if(typeof k!="string")return B.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown"))return B.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var o=P===e;if(!o)break}}else return B.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=D===e}else var a=!0;if(a){if(s.moreThanOneDependencyType!==void 0){const A=e;if(typeof s.moreThanOneDependencyType!="boolean")return B.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a){if(s.license!==void 0){let A=s.license;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var v=k===e;v&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var c=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/license/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var c=M===e;if(!c)break}}else{const R={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var v=P===e;if(v&&d?(d=!1,_=[_,1]):v&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.licenseNot!==void 0){let A=s.licenseNot;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var h=k===e;h&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var y=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/licenseNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var y=M===e;if(!y)break}}else{const R={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var h=P===e;if(h&&d?(d=!1,_=[_,1]):h&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.via!==void 0){const A=e;we(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:O})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var a=A===e}else var a=!0;if(a){if(s.viaOnly!==void 0){const A=e;we(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:O})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var a=A===e}else var a=!0;if(a){if(s.viaNot!==void 0){let A=s.viaNot;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var x=k===e;x&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var b=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/viaNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var b=M===e;if(!b)break}}else{const R={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var x=P===e;if(x&&d?(d=!1,_=[_,1]):x&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.viaSomeNot!==void 0){let A=s.viaSomeNot;const D=e,q=e;let d=!1,_=null;const k=e;if(typeof A!="string"){const R={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var H=k===e;H&&(d=!0,_=0);const P=e;if(e===P)if(Array.isArray(A)){var N=!0;const R=A.length;for(let j=0;j<R;j++){const M=e;if(typeof A[j]!="string"){const V={instancePath:t+"/viaSomeNot/"+j,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[V]:r.push(V),e++}var N=M===e;if(!N)break}}else{const R={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var H=P===e;if(H&&d?(d=!1,_=[_,1]):H&&(d=!0,_=1),d)e=q,r!==null&&(q?r.length=q:r=null);else{const R={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,B.errors=r,!1}var a=D===e}else var a=!0;if(a){if(s.moreUnstable!==void 0){const A=e;if(typeof s.moreUnstable!="boolean")return B.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0;if(a)if(s.ancestor!==void 0){const A=e;if(typeof s.ancestor!="boolean")return B.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=A===e}else var a=!0}}}}}}}}}}}}}}}}}}}}else return B.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return B.errors=r,e===0}function ee(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.from===void 0&&(m="from")||s.to===void 0&&(m="to"))return ee.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="name"||n==="severity"||n==="scope"||n==="comment"||n==="from"||n==="to")){return ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.name!==void 0){const n=e;if(typeof s.name!="string")return ee.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.severity!==void 0){let n=s.severity;const u=e;if(typeof n!="string")return ee.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="error"||n==="warn"||n==="info"||n==="ignore"))return ee.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return ee.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return ee.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Qe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return ee.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.from!==void 0){const n=e;oe(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:O})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.to!==void 0){const n=e;B(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:O})||(r=r===null?B.errors:r.concat(B.errors),e=r.length);var i=n===e}else var i=!0}}}}}}}else return ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ee.errors=r,e===0}const Xe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function ye(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const l in s)if(!(l==="path"||l==="pathNot")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let l=s.path;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var m=c===e;m&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var i=!0;const y=l.length;for(let h=0;h<y;h++){const b=e;if(typeof l[h]!="string"){const N={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[N]:r.push(N),e++}var i=b===e;if(!i)break}}else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[y]:r.push(y),e++}var m=v===e;if(m&&p?(p=!1,o=[o,1]):m&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[y]:r.push(y),e++,ye.errors=r,!1}var a=g===e}else var a=!0;if(a)if(s.pathNot!==void 0){let l=s.pathNot;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var u=c===e;u&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var n=!0;const h=l.length;for(let b=0;b<h;b++){const x=e;if(typeof l[b]!="string"){const H={instancePath:t+"/pathNot/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var n=x===e;if(!n)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var u=v===e;if(u&&p?(p=!1,o=[o,1]):u&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,ye.errors=r,!1}var a=g===e}else var a=!0}}else return ye.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ye.errors=r,e===0}function ae(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let T;if(s.reachable===void 0&&(T="reachable"))return ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const l=e;for(const g in s)if(!(g==="path"||g==="pathNot"||g==="reachable")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.path!==void 0){let g=s.path;const f=e,p=e;let o=!1,c=null;const v=e;if(typeof g!="string"){const h={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var m=v===e;m&&(o=!0,c=0);const y=e;if(e===y)if(Array.isArray(g)){var i=!0;const h=g.length;for(let b=0;b<h;b++){const x=e;if(typeof g[b]!="string"){const H={instancePath:t+"/path/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var i=x===e;if(!i)break}}else{const h={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var m=y===e;if(m&&o?(o=!1,c=[c,1]):m&&(o=!0,c=1),o)e=p,r!==null&&(p?r.length=p:r=null);else{const h={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,ae.errors=r,!1}var a=f===e}else var a=!0;if(a){if(s.pathNot!==void 0){let g=s.pathNot;const f=e,p=e;let o=!1,c=null;const v=e;if(typeof g!="string"){const b={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var u=v===e;u&&(o=!0,c=0);const y=e;if(e===y)if(Array.isArray(g)){var n=!0;const b=g.length;for(let x=0;x<b;x++){const N=e;if(typeof g[x]!="string"){const $={instancePath:t+"/pathNot/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[$]:r.push($),e++}var n=N===e;if(!n)break}}else{const b={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[b]:r.push(b),e++}var u=y===e;if(u&&o?(o=!1,c=[c,1]):u&&(o=!0,c=1),o)e=p,r!==null&&(p?r.length=p:r=null);else{const b={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,ae.errors=r,!1}var a=f===e}else var a=!0;if(a)if(s.reachable!==void 0){const g=e;if(typeof s.reachable!="boolean")return ae.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=g===e}else var a=!0}}}}else return ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ae.errors=r,e===0}function re(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.from===void 0&&(m="from")||s.to===void 0&&(m="to"))return re.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="name"||n==="severity"||n==="scope"||n==="comment"||n==="from"||n==="to")){return re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.name!==void 0){const n=e;if(typeof s.name!="string")return re.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.severity!==void 0){let n=s.severity;const u=e;if(typeof n!="string")return re.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="error"||n==="warn"||n==="info"||n==="ignore"))return re.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return re.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return re.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Xe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return re.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.from!==void 0){const n=e;ye(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:O})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.to!==void 0){const n=e;ae(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:O})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=n===e}else var i=!0}}}}}}}else return re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return re.errors=r,e===0}const Ye={type:"object",required:["module","from"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/DependentsModuleRestrictionType"},from:{$ref:"#/definitions/DependentsFromRestrictionType"}}};function Y(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const l in s)if(!(l==="path"||l==="pathNot"||l==="numberOfDependentsLessThan"||l==="numberOfDependentsMoreThan")){return Y.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let l=s.path;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var m=c===e;m&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var i=!0;const y=l.length;for(let h=0;h<y;h++){const b=e;if(typeof l[h]!="string"){const N={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[N]:r.push(N),e++}var i=b===e;if(!i)break}}else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[y]:r.push(y),e++}var m=v===e;if(m&&p?(p=!1,o=[o,1]):m&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[y]:r.push(y),e++,Y.errors=r,!1}var a=g===e}else var a=!0;if(a){if(s.pathNot!==void 0){let l=s.pathNot;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var u=c===e;u&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var n=!0;const h=l.length;for(let b=0;b<h;b++){const x=e;if(typeof l[b]!="string"){const H={instancePath:t+"/pathNot/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var n=x===e;if(!n)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var u=v===e;if(u&&p?(p=!1,o=[o,1]):u&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,Y.errors=r,!1}var a=g===e}else var a=!0;if(a){if(s.numberOfDependentsLessThan!==void 0){let l=s.numberOfDependentsLessThan;const g=e;if(!(typeof l=="number"&&!(l%1)&&!isNaN(l)&&isFinite(l)))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===g&&typeof l=="number"&&isFinite(l)){if(l>100||isNaN(l))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(l<0||isNaN(l))return Y.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var a=g===e}else var a=!0;if(a)if(s.numberOfDependentsMoreThan!==void 0){let l=s.numberOfDependentsMoreThan;const g=e;if(!(typeof l=="number"&&!(l%1)&&!isNaN(l)&&isFinite(l)))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===g&&typeof l=="number"&&isFinite(l)){if(l>100||isNaN(l))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(l<0||isNaN(l))return Y.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var a=g===e}else var a=!0}}}}else return Y.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Y.errors=r,e===0}function ke(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const l in s)if(!(l==="path"||l==="pathNot")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let l=s.path;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var m=c===e;m&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var i=!0;const y=l.length;for(let h=0;h<y;h++){const b=e;if(typeof l[h]!="string"){const N={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[N]:r.push(N),e++}var i=b===e;if(!i)break}}else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[y]:r.push(y),e++}var m=v===e;if(m&&p?(p=!1,o=[o,1]):m&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[y]:r.push(y),e++,ke.errors=r,!1}var a=g===e}else var a=!0;if(a)if(s.pathNot!==void 0){let l=s.pathNot;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var u=c===e;u&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var n=!0;const h=l.length;for(let b=0;b<h;b++){const x=e;if(typeof l[b]!="string"){const H={instancePath:t+"/pathNot/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var n=x===e;if(!n)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var u=v===e;if(u&&p?(p=!1,o=[o,1]):u&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,ke.errors=r,!1}var a=g===e}else var a=!0}}else return ke.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ke.errors=r,e===0}function se(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.module===void 0&&(m="module")||s.from===void 0&&(m="from"))return se.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="name"||n==="severity"||n==="scope"||n==="comment"||n==="module"||n==="from")){return se.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.name!==void 0){const n=e;if(typeof s.name!="string")return se.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.severity!==void 0){let n=s.severity;const u=e;if(typeof n!="string")return se.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="error"||n==="warn"||n==="info"||n==="ignore"))return se.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return se.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return se.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ye.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return se.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.module!==void 0){const n=e;Y(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:O})||(r=r===null?Y.errors:r.concat(Y.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.from!==void 0){const n=e;ke(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:O})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var i=n===e}else var i=!0}}}}}}}else return se.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return se.errors=r,e===0}function Me(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;const i=e;let m=!1,a=null;const n=e;ee(s,{instancePath:t,parentData:C,parentDataProperty:I,rootData:O})||(r=r===null?ee.errors:r.concat(ee.errors),e=r.length);var T=n===e;T&&(m=!0,a=0);const u=e;re(s,{instancePath:t,parentData:C,parentDataProperty:I,rootData:O})||(r=r===null?re.errors:r.concat(re.errors),e=r.length);var T=u===e;if(T&&m)m=!1,a=[a,1];else{T&&(m=!0,a=1);const l=e;se(s,{instancePath:t,parentData:C,parentDataProperty:I,rootData:O})||(r=r===null?se.errors:r.concat(se.errors),e=r.length);var T=l===e;T&&m?(m=!1,a=[a,2]):T&&(m=!0,a=2)}if(m)e=i,r!==null&&(i?r.length=i:r=null);else{const l={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Me.errors=r,!1}return Me.errors=r,e===0}const Ze={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function de(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.from===void 0&&(m="from")||s.to===void 0&&(m="to"))return de.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="comment"||n==="scope"||n==="from"||n==="to")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return de.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return de.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return de.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ze.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.from!==void 0){const n=e;oe(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:O})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.to!==void 0){const n=e;B(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:O})||(r=r===null?B.errors:r.concat(B.errors),e=r.length);var i=n===e}else var i=!0}}}}}else return de.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return de.errors=r,e===0}const er={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function me(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.from===void 0&&(m="from")||s.to===void 0&&(m="to"))return me.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="comment"||n==="scope"||n==="from"||n==="to")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return me.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return me.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return me.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:er.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.from!==void 0){const n=e;ye(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:O})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.to!==void 0){const n=e;ae(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:O})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=n===e}else var i=!0}}}}}else return me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return me.errors=r,e===0}function Fe(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;const i=e;let m=!1,a=null;const n=e;de(s,{instancePath:t,parentData:C,parentDataProperty:I,rootData:O})||(r=r===null?de.errors:r.concat(de.errors),e=r.length);var T=n===e;T&&(m=!0,a=0);const u=e;me(s,{instancePath:t,parentData:C,parentDataProperty:I,rootData:O})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var T=u===e;if(T&&m?(m=!1,a=[a,1]):T&&(m=!0,a=1),m)e=i,r!==null&&(i?r.length=i:r=null);else{const l={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:a},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Fe.errors=r,!1}return Fe.errors=r,e===0}const rr={type:"object",required:["module","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/RequiredModuleRestrictionType"},to:{$ref:"#/definitions/RequiredToRestrictionType"}}};function Te(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const l in s)if(!(l==="path"||l==="pathNot")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let l=s.path;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var m=c===e;m&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var i=!0;const y=l.length;for(let h=0;h<y;h++){const b=e;if(typeof l[h]!="string"){const N={instancePath:t+"/path/"+h,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[N]:r.push(N),e++}var i=b===e;if(!i)break}}else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[y]:r.push(y),e++}var m=v===e;if(m&&p?(p=!1,o=[o,1]):m&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const y={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[y]:r.push(y),e++,Te.errors=r,!1}var a=g===e}else var a=!0;if(a)if(s.pathNot!==void 0){let l=s.pathNot;const g=e,f=e;let p=!1,o=null;const c=e;if(typeof l!="string"){const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[h]:r.push(h),e++}var u=c===e;u&&(p=!0,o=0);const v=e;if(e===v)if(Array.isArray(l)){var n=!0;const h=l.length;for(let b=0;b<h;b++){const x=e;if(typeof l[b]!="string"){const H={instancePath:t+"/pathNot/"+b,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[H]:r.push(H),e++}var n=x===e;if(!n)break}}else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[h]:r.push(h),e++}var u=v===e;if(u&&p?(p=!1,o=[o,1]):u&&(p=!0,o=1),p)e=f,r!==null&&(f?r.length=f:r=null);else{const h={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,Te.errors=r,!1}var a=g===e}else var a=!0}}else return Te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Te.errors=r,e===0}function Re(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const u in s)if(!(u==="path"||u==="reachable")){return Re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.path!==void 0){let u=s.path;const T=e,l=e;let g=!1,f=null;const p=e;if(typeof u!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=p===e;m&&(g=!0,f=0);const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const c=u.length;for(let v=0;v<c;v++){const y=e;if(typeof u[v]!="string"){const b={instancePath:t+"/path/"+v,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var i=y===e;if(!i)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=o===e;if(m&&g?(g=!1,f=[f,1]):m&&(g=!0,f=1),g)e=l,r!==null&&(l?r.length=l:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:f},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Re.errors=r,!1}var a=T===e}else var a=!0;if(a)if(s.reachable!==void 0){const u=e;if(typeof s.reachable!="boolean")return Re.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=u===e}else var a=!0}}else return Re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Re.errors=r,e===0}function te(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.module===void 0&&(m="module")||s.to===void 0&&(m="to"))return te.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!(n==="name"||n==="severity"||n==="scope"||n==="comment"||n==="module"||n==="to")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.name!==void 0){const n=e;if(typeof s.name!="string")return te.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.severity!==void 0){let n=s.severity;const u=e;if(typeof n!="string")return te.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="error"||n==="warn"||n==="info"||n==="ignore"))return te.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.scope!==void 0){let n=s.scope;const u=e;if(typeof n!="string")return te.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="module"||n==="folder"))return te.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:rr.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e}else var i=!0;if(i){if(s.comment!==void 0){const n=e;if(typeof s.comment!="string")return te.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=n===e}else var i=!0;if(i){if(s.module!==void 0){const n=e;Te(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:O})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.to!==void 0){const n=e;Re(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:O})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var i=n===e}else var i=!0}}}}}}}else return te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return te.errors=r,e===0}function le(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const u=e;for(const T in s)if(!(T==="forbidden"||T==="allowed"||T==="allowedSeverity"||T==="required")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:T},message:"must NOT have additional properties"}],!1;break}if(u===e){if(s.forbidden!==void 0){let T=s.forbidden;const l=e;if(e===l)if(Array.isArray(T)){var i=!0;const g=T.length;for(let f=0;f<g;f++){const p=e;Me(T[f],{instancePath:t+"/forbidden/"+f,parentData:T,parentDataProperty:f,rootData:O})||(r=r===null?Me.errors:r.concat(Me.errors),e=r.length);var i=p===e;if(!i)break}}else return le.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=l===e}else var m=!0;if(m){if(s.allowed!==void 0){let T=s.allowed;const l=e;if(e===l)if(Array.isArray(T)){var a=!0;const f=T.length;for(let p=0;p<f;p++){const o=e;Fe(T[p],{instancePath:t+"/allowed/"+p,parentData:T,parentDataProperty:p,rootData:O})||(r=r===null?Fe.errors:r.concat(Fe.errors),e=r.length);var a=o===e;if(!a)break}}else return le.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=l===e}else var m=!0;if(m){if(s.allowedSeverity!==void 0){let T=s.allowedSeverity;const l=e;if(typeof T!="string")return le.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(T==="error"||T==="warn"||T==="info"||T==="ignore"))return le.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:xe.enum},message:"must be equal to one of the allowed values"}],!1;var m=l===e}else var m=!0;if(m)if(s.required!==void 0){let T=s.required;const l=e;if(e===l)if(Array.isArray(T)){var n=!0;const f=T.length;for(let p=0;p<f;p++){const o=e;te(T[p],{instancePath:t+"/required/"+p,parentData:T,parentDataProperty:p,rootData:O})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var n=o===e;if(!n)break}}else return le.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=l===e}else var m=!0}}}}else return le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return le.errors=r,e===0}const Se={type:"object",additionalProperties:!1,properties:{doNotFollow:{$ref:"#/definitions/CompoundDoNotFollowType"},exclude:{$ref:"#/definitions/CompoundExcludeType"},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{$ref:"#/definitions/CompoundFocusType"},reaches:{$ref:"#/definitions/CompoundReachesType"},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{$ref:"#/definitions/CompoundHighlightType"},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{type:"string"},maxDepth:{type:"integer",minimum:0,maximum:99},moduleSystems:{$ref:"#/definitions/ModuleSystemsType"},detectJSDocImports:{type:"boolean"},detectProcessBuiltinModuleCalls:{type:"boolean"},prefix:{type:"string"},suffix:{type:"string"},preserveSymlinks:{type:"boolean"},combinedDependencies:{type:"boolean"},tsConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},tsPreCompilationDeps:{oneOf:[{type:"boolean"},{type:"string",enum:["specify"]}]},extraExtensionsToScan:{type:"array",items:{type:"string"}},externalModuleResolutionStrategy:{type:"string",enum:["node_modules","yarn-pnp"]},builtInModules:{type:"object",additionalProperties:!1,properties:{override:{type:"array",items:{type:"string"}},add:{type:"array",items:{type:"string"}}}},forceDeriveDependents:{type:"boolean",deprecated:!0},webpackConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"},env:{oneOf:[{type:"object"},{type:"string"}]},arguments:{type:"object"}}},enhancedResolveOptions:{type:"object",additionalProperties:!1,properties:{exportsFields:{type:"array",items:{type:"string"}},conditionNames:{type:"array",items:{type:"string"}},extensions:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{type:"string"}},mainFiles:{type:"array"},aliasFields:{type:"array",items:{type:"string"}},cachedInputFileSystem:{type:"object",additionalProperties:!1,properties:{cacheDuration:{type:"integer",minimum:0,maximum:18e5}}}}},babelConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},parser:{type:"string",enum:["acorn","tsc","swc"]},exoticRequireStrings:{type:"array",items:{type:"string"}},reporterOptions:{$ref:"#/definitions/ReporterOptionsType"},progress:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["cli-feedback","performance-log","ndjson","none"]},maximumLevel:{type:"number",enum:[-1,40,50,60,70,80,99]}}},metrics:{type:"boolean"},experimentalStats:{type:"boolean"},skipAnalysisNotInRules:{type:"boolean"},baseDir:{type:"string"},cache:{oneOf:[{type:"boolean",enum:[!1]},{$ref:"#/definitions/CacheOptionsType"}]},args:{type:"string"},rulesFile:{type:"string"},outputTo:{type:"string"},outputType:{$ref:"#/definitions/OutputType"}}},sr={oneOf:[{type:"string",enum:["json","html","dot","ddot","cdot","archi","fdot","flat","csv","err","err-long","err-html","teamcity","anon","text","metrics","markdown","mermaid","d2","null"]},{type:"string",pattern:"^plugin:[^:]+$"}]};function ue(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const u=e;for(const T in s)if(!(T==="path"||T==="dependencyTypes")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:T},message:"must NOT have additional properties"}],!1;break}if(u===e){if(s.path!==void 0){let T=s.path;const l=e,g=e;let f=!1,p=null;const o=e;if(typeof T!="string"){const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var m=o===e;m&&(f=!0,p=0);const c=e;if(e===c)if(Array.isArray(T)){var i=!0;const v=T.length;for(let y=0;y<v;y++){const h=e;if(typeof T[y]!="string"){const x={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var i=h===e;if(!i)break}}else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var m=c===e;if(m&&f?(f=!1,p=[p,1]):m&&(f=!0,p=1),f)e=g,r!==null&&(g?r.length=g:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,ue.errors=r,!1}var a=l===e}else var a=!0;if(a)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const l=e;if(e===l)if(Array.isArray(T)){var n=!0;const f=T.length;for(let p=0;p<f;p++){let o=T[p];const c=e;if(typeof o!="string")return ue.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="aliased-subpath-import"||o==="aliased-tsconfig-base-url"||o==="aliased-tsconfig-paths"||o==="aliased-tsconfig"||o==="aliased-webpack"||o==="aliased-workspace"||o==="aliased"||o==="amd-define"||o==="amd-require"||o==="amd-exotic-require"||o==="core"||o==="deprecated"||o==="dynamic-import"||o==="exotic-require"||o==="export"||o==="import-equals"||o==="import"||o==="jsdoc"||o==="jsdoc-bracket-import"||o==="jsdoc-import-tag"||o==="local"||o==="localmodule"||o==="npm-bundled"||o==="npm-dev"||o==="npm-no-pkg"||o==="npm-optional"||o==="npm-peer"||o==="npm-unknown"||o==="npm"||o==="pre-compilation-only"||o==="process-get-builtin-module"||o==="require"||o==="triple-slash-amd-dependency"||o==="triple-slash-directive"||o==="triple-slash-file-reference"||o==="triple-slash-type-reference"||o==="type-import"||o==="type-only"||o==="undetermined"||o==="unknown"))return ue.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:be.enum},message:"must be equal to one of the allowed values"}],!1;var n=c===e;if(!n)break}}else return ue.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=l===e}else var a=!0}}else return ue.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ue.errors=r,e===0}function fe(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const u in s)if(!(u==="path"||u==="dynamic")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.path!==void 0){let u=s.path;const T=e,l=e;let g=!1,f=null;const p=e;if(typeof u!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=p===e;m&&(g=!0,f=0);const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const c=u.length;for(let v=0;v<c;v++){const y=e;if(typeof u[v]!="string"){const b={instancePath:t+"/path/"+v,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var i=y===e;if(!i)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=o===e;if(m&&g?(g=!1,f=[f,1]):m&&(g=!0,f=1),g)e=l,r!==null&&(l?r.length=l:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:f},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,fe.errors=r,!1}var a=T===e}else var a=!0;if(a)if(s.dynamic!==void 0){const u=e;if(typeof s.dynamic!="boolean")return fe.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=u===e}else var a=!0}}else return fe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return fe.errors=r,e===0}function ge(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const a=e;for(const n in s)if(n!=="path"){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e&&s.path!==void 0){let n=s.path;const u=e;let T=!1,l=null;const g=e;if(typeof n!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var m=g===e;m&&(T=!0,l=0);const f=e;if(e===f)if(Array.isArray(n)){var i=!0;const p=n.length;for(let o=0;o<p;o++){const c=e;if(typeof n[o]!="string"){const y={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var i=c===e;if(!i)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var m=f===e;if(m&&T?(T=!1,l=[l,1]):m&&(T=!0,l=1),T)e=u,r!==null&&(u?r.length=u:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,ge.errors=r,!1}}}else return ge.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ge.errors=r,e===0}function ne(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const u in s)if(!(u==="path"||u==="depth")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.path!==void 0){let u=s.path;const T=e,l=e;let g=!1,f=null;const p=e;if(typeof u!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=p===e;m&&(g=!0,f=0);const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const c=u.length;for(let v=0;v<c;v++){const y=e;if(typeof u[v]!="string"){const b={instancePath:t+"/path/"+v,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var i=y===e;if(!i)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=o===e;if(m&&g?(g=!1,f=[f,1]):m&&(g=!0,f=1),g)e=l,r!==null&&(l?r.length=l:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:f},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ne.errors=r,!1}var a=T===e}else var a=!0;if(a)if(s.depth!==void 0){let u=s.depth;const T=e;if(e===T)if(typeof u=="number"&&isFinite(u)){if(u>4||isNaN(u))return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(u<1||isNaN(u))return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return ne.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var a=T===e}else var a=!0}}else return ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ne.errors=r,e===0}function ve(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const a=e;for(const n in s)if(n!=="path"){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e&&s.path!==void 0){let n=s.path;const u=e;let T=!1,l=null;const g=e;if(typeof n!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var m=g===e;m&&(T=!0,l=0);const f=e;if(e===f)if(Array.isArray(n)){var i=!0;const p=n.length;for(let o=0;o<p;o++){const c=e;if(typeof n[o]!="string"){const y={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var i=c===e;if(!i)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var m=f===e;if(m&&T?(T=!1,l=[l,1]):m&&(T=!0,l=1),T)e=u,r!==null&&(u?r.length=u:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,ve.errors=r,!1}}}else return ve.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ve.errors=r,e===0}function De(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const a=e;for(const n in s)if(n!=="path"){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e&&s.path!==void 0){let n=s.path;const u=e;let T=!1,l=null;const g=e;if(typeof n!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var m=g===e;m&&(T=!0,l=0);const f=e;if(e===f)if(Array.isArray(n)){var i=!0;const p=n.length;for(let o=0;o<p;o++){const c=e;if(typeof n[o]!="string"){const y={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[y]:r.push(y),e++}var i=c===e;if(!i)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var m=f===e;if(m&&T?(T=!1,l=[l,1]):m&&(T=!0,l=1),T)e=u,r!==null&&(u?r.length=u:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,De.errors=r,!1}}}else return De.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return De.errors=r,e===0}function je(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const m=s.length;for(let a=0;a<m;a++){let n=s[a];const u=e;if(typeof n!="string")return je.errors=[{instancePath:t+"/"+a,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="cjs"||n==="es6"||n==="amd"||n==="tsd"))return je.errors=[{instancePath:t+"/"+a,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:Ve.enum},message:"must be equal to one of the allowed values"}],!1;var i=u===e;if(!i)break}}else return je.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return je.errors=r,e===0}const tr={type:"object",additionalProperties:!1,properties:{anon:{$ref:"#/definitions/AnonReporterOptionsType"},archi:{$ref:"#/definitions/DotReporterOptionsType"},dot:{$ref:"#/definitions/DotReporterOptionsType"},ddot:{$ref:"#/definitions/DotReporterOptionsType"},flat:{$ref:"#/definitions/DotReporterOptionsType"},markdown:{$ref:"#/definitions/MarkdownReporterOptionsType"},metrics:{$ref:"#/definitions/MetricsReporterOptionsType"},mermaid:{$ref:"#/definitions/MermaidReporterOptionsType"},text:{$ref:"#/definitions/TextReporterOptionsType"},err:{$ref:"#/definitions/ErrorReporterOptionsType"},"err-long":{$ref:"#/definitions/ErrorReporterOptionsType"},"err-html":{$ref:"#/definitions/ErrorReporterOptionsType"}}};const ir={type:"object",additionalProperties:!1,properties:{showTitle:{type:"boolean"},title:{type:"string"},showSummary:{type:"boolean"},showSummaryHeader:{type:"boolean"},summaryHeader:{type:"string"},showStatsSummary:{type:"boolean"},showRulesSummary:{type:"boolean"},includeIgnoredInSummary:{type:"boolean"},showDetails:{type:"boolean"},includeIgnoredInDetails:{type:"boolean"},showDetailsHeader:{type:"boolean"},detailsHeader:{type:"string"},collapseDetails:{type:"boolean"},collapsedMessage:{type:"string"},showExternalModulesUnresolved:{type:"boolean",default:!1},showAliasedModulesUnresolved:{type:"boolean",default:!1},noViolationsMessage:{type:"string"},showFooter:{type:"boolean"}}},ar={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ee(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const a in s)if(!(a==="exclude"||a==="includeOnly"||a==="focus"||a==="reaches")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.exclude!==void 0){const a=e;fe(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:O})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=a===e}else var i=!0;if(i){if(s.includeOnly!==void 0){const a=e;ge(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:O})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var i=a===e}else var i=!0;if(i){if(s.focus!==void 0){const a=e;ne(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:O})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var i=a===e}else var i=!0;if(i)if(s.reaches!==void 0){const a=e;ve(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:O})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var i=a===e}else var i=!0}}}}else return Ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ee.errors=r,e===0}function pe(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var i=!0;const a=s.length;for(let n=0;n<a;n++){let u=s[n];const T=e;if(e===e)if(u&&typeof u=="object"&&!Array.isArray(u)){const f=e;for(const p in u)if(!(p==="criteria"||p==="attributes")){return pe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(f===e){if(u.criteria!==void 0){let p=u.criteria;const o=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return pe.errors=[{instancePath:t+"/"+n+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=o===e}else var m=!0;if(m)if(u.attributes!==void 0){let p=u.attributes;const o=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return pe.errors=[{instancePath:t+"/"+n+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=o===e}else var m=!0}}else return pe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e;if(!i)break}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return pe.errors=r,e===0}function ce(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const a in s)if(!(a==="replace"||a==="graph"||a==="node"||a==="edge"||a==="modules"||a==="dependencies")){return ce.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.replace!==void 0){const a=e;if(typeof s.replace!="boolean")return ce.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0;if(i){if(s.graph!==void 0){let a=s.graph;const n=e;if(!(a&&typeof a=="object"&&!Array.isArray(a)))return ce.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=n===e}else var i=!0;if(i){if(s.node!==void 0){let a=s.node;const n=e;if(!(a&&typeof a=="object"&&!Array.isArray(a)))return ce.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=n===e}else var i=!0;if(i){if(s.edge!==void 0){let a=s.edge;const n=e;if(!(a&&typeof a=="object"&&!Array.isArray(a)))return ce.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=n===e}else var i=!0;if(i){if(s.modules!==void 0){const a=e;pe(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:O})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var i=a===e}else var i=!0;if(i)if(s.dependencies!==void 0){const a=e;pe(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:O})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var i=a===e}else var i=!0}}}}}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ce.errors=r,e===0}function W(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const u in s)if(!(u==="collapsePattern"||u==="filters"||u==="showMetrics"||u==="theme")){return W.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.collapsePattern!==void 0){let u=s.collapsePattern;const T=e,l=e;let g=!1,f=null;const p=e;if(typeof u!="string"){const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var m=p===e;m&&(g=!0,f=0);const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const c=u.length;for(let v=0;v<c;v++){const y=e;if(typeof u[v]!="string"){const b={instancePath:t+"/collapsePattern/"+v,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var i=y===e;if(!i)break}}else{const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var m=o===e;if(m&&g?(g=!1,f=[f,1]):m&&(g=!0,f=1),g)e=l,r!==null&&(l?r.length=l:r=null);else{const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:f},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,W.errors=r,!1}var a=T===e}else var a=!0;if(a){if(s.filters!==void 0){const u=e;Ee(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:O})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var a=u===e}else var a=!0;if(a){if(s.showMetrics!==void 0){const u=e;if(typeof s.showMetrics!="boolean")return W.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=u===e}else var a=!0;if(a)if(s.theme!==void 0){const u=e;ce(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:O})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=u===e}else var a=!0}}}}else return W.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return W.errors=r,e===0}function F(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const g=e;for(const f in s)if(!Ae.call(tr.properties,f)){return F.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(g===e){if(s.anon!==void 0){let f=s.anon;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const c=e;for(const v in f)if(v!=="wordlist"){return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:v},message:"must NOT have additional properties"}],!1;break}if(c===e&&f.wordlist!==void 0){let v=f.wordlist;if(e===e)if(Array.isArray(v)){var i=!0;const h=v.length;for(let b=0;b<h;b++){const x=e;if(typeof v[b]!="string")return F.errors=[{instancePath:t+"/anon/wordlist/"+b,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=x===e;if(!i)break}}else return F.errors=[{instancePath:t+"/anon/wordlist",schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s.archi!==void 0){const f=e;W(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:O})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var m=f===e}else var m=!0;if(m){if(s.dot!==void 0){const f=e;W(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:O})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var m=f===e}else var m=!0;if(m){if(s.ddot!==void 0){const f=e;W(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:O})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var m=f===e}else var m=!0;if(m){if(s.flat!==void 0){const f=e;W(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:O})||(r=r===null?W.errors:r.concat(W.errors),e=r.length);var m=f===e}else var m=!0;if(m){if(s.markdown!==void 0){let f=s.markdown;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(!Ae.call(ir.properties,y)){return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e){if(f.showTitle!==void 0){const y=e;if(typeof f.showTitle!="boolean")return F.errors=[{instancePath:t+"/markdown/showTitle",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showTitle/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.title!==void 0){const y=e;if(typeof f.title!="string")return F.errors=[{instancePath:t+"/markdown/title",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/title/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=y===e}else var a=!0;if(a){if(f.showSummary!==void 0){const y=e;if(typeof f.showSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.showSummaryHeader!==void 0){const y=e;if(typeof f.showSummaryHeader!="boolean")return F.errors=[{instancePath:t+"/markdown/showSummaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummaryHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.summaryHeader!==void 0){const y=e;if(typeof f.summaryHeader!="string")return F.errors=[{instancePath:t+"/markdown/summaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/summaryHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=y===e}else var a=!0;if(a){if(f.showStatsSummary!==void 0){const y=e;if(typeof f.showStatsSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showStatsSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStatsSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.showRulesSummary!==void 0){const y=e;if(typeof f.showRulesSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showRulesSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showRulesSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.includeIgnoredInSummary!==void 0){const y=e;if(typeof f.includeIgnoredInSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/includeIgnoredInSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.showDetails!==void 0){const y=e;if(typeof f.showDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/showDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.includeIgnoredInDetails!==void 0){const y=e;if(typeof f.includeIgnoredInDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/includeIgnoredInDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.showDetailsHeader!==void 0){const y=e;if(typeof f.showDetailsHeader!="boolean")return F.errors=[{instancePath:t+"/markdown/showDetailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetailsHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.detailsHeader!==void 0){const y=e;if(typeof f.detailsHeader!="string")return F.errors=[{instancePath:t+"/markdown/detailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/detailsHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=y===e}else var a=!0;if(a){if(f.collapseDetails!==void 0){const y=e;if(typeof f.collapseDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/collapseDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.collapsedMessage!==void 0){const y=e;if(typeof f.collapsedMessage!="string")return F.errors=[{instancePath:t+"/markdown/collapsedMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapsedMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=y===e}else var a=!0;if(a){if(f.showExternalModulesUnresolved!==void 0){const y=e;if(typeof f.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/markdown/showExternalModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.showAliasedModulesUnresolved!==void 0){const y=e;if(typeof f.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/markdown/showAliasedModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0;if(a){if(f.noViolationsMessage!==void 0){const y=e;if(typeof f.noViolationsMessage!="string")return F.errors=[{instancePath:t+"/markdown/noViolationsMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/noViolationsMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=y===e}else var a=!0;if(a)if(f.showFooter!==void 0){const y=e;if(typeof f.showFooter!="boolean")return F.errors=[{instancePath:t+"/markdown/showFooter",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showFooter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=y===e}else var a=!0}}}}}}}}}}}}}}}}}}else return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s.metrics!==void 0){let f=s.metrics;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(!(y==="orderBy"||y==="hideModules"||y==="hideFolders")){return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e){if(f.orderBy!==void 0){let y=f.orderBy;const h=e;if(typeof y!="string")return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="instability"||y==="moduleCount"||y==="afferentCouplings"||y==="efferentCouplings"||y==="name"||y==="size"||y==="topLevelStatementCount"))return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:ar.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var n=h===e}else var n=!0;if(n){if(f.hideModules!==void 0){const y=e;if(typeof f.hideModules!="boolean")return F.errors=[{instancePath:t+"/metrics/hideModules",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=y===e}else var n=!0;if(n)if(f.hideFolders!==void 0){const y=e;if(typeof f.hideFolders!="boolean")return F.errors=[{instancePath:t+"/metrics/hideFolders",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideFolders/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=y===e}else var n=!0}}}else return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s.mermaid!==void 0){let f=s.mermaid;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(y!=="minify"){return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e&&f.minify!==void 0&&typeof f.minify!="boolean")return F.errors=[{instancePath:t+"/mermaid/minify",schemaPath:"#/definitions/MermaidReporterOptionsType/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s.text!==void 0){let f=s.text;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(y!=="highlightFocused"){return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e&&f.highlightFocused!==void 0&&typeof f.highlightFocused!="boolean")return F.errors=[{instancePath:t+"/text/highlightFocused",schemaPath:"#/definitions/TextReporterOptionsType/properties/highlightFocused/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s.err!==void 0){let f=s.err;const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(!(y==="showExternalModulesUnresolved"||y==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e){if(f.showExternalModulesUnresolved!==void 0){const y=e;if(typeof f.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var u=y===e}else var u=!0;if(u)if(f.showAliasedModulesUnresolved!==void 0){const y=e;if(typeof f.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var u=y===e}else var u=!0}}else return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m){if(s["err-long"]!==void 0){let f=s["err-long"];const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(!(y==="showExternalModulesUnresolved"||y==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e){if(f.showExternalModulesUnresolved!==void 0){const y=e;if(typeof f.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-long/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=y===e}else var T=!0;if(T)if(f.showAliasedModulesUnresolved!==void 0){const y=e;if(typeof f.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-long/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=y===e}else var T=!0}}else return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0;if(m)if(s["err-html"]!==void 0){let f=s["err-html"];const p=e;if(e===e)if(f&&typeof f=="object"&&!Array.isArray(f)){const v=e;for(const y in f)if(!(y==="showExternalModulesUnresolved"||y==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(v===e){if(f.showExternalModulesUnresolved!==void 0){const y=e;if(typeof f.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-html/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var l=y===e}else var l=!0;if(l)if(f.showAliasedModulesUnresolved!==void 0){const y=e;if(typeof f.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-html/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var l=y===e}else var l=!0}}else return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=p===e}else var m=!0}}}}}}}}}}}}else return F.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return F.errors=r,e===0}const nr={type:"string",enum:["metadata","content"]};function he(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const a in s)if(!(a==="folder"||a==="strategy"||a==="compress")){return he.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.folder!==void 0){const a=e;if(typeof s.folder!="string")return he.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=a===e}else var i=!0;if(i){if(s.strategy!==void 0){let a=s.strategy;const n=e;if(typeof a!="string")return he.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(a==="metadata"||a==="content"))return he.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:nr.enum},message:"must be equal to one of the allowed values"}],!1;var i=n===e}else var i=!0;if(i)if(s.compress!==void 0){const a=e;if(typeof s.compress!="boolean")return he.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=a===e}else var i=!0}}}else return he.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return he.errors=r,e===0}const or=new RegExp("^plugin:[^:]+$","u");function E(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const q=e;for(const d in s)if(!Ae.call(Se.properties,d)){return E.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(q===e){if(s.doNotFollow!==void 0){const d=e;ue(s.doNotFollow,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:O})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.exclude!==void 0){const d=e;fe(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:O})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let d=s.includeOnly;const _=e,k=e;let P=!1,w=null;const R=e,j=e;let M=!1,S=null;const V=e;if(typeof d!="string"){const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Z]:r.push(Z),e++}var a=V===e;a&&(M=!0,S=0);const Oe=e;if(e===Oe)if(Array.isArray(d)){var m=!0;const Z=d.length;for(let Ce=0;Ce<Z;Ce++){const Le=e;if(typeof d[Ce]!="string"){const Ie={instancePath:t+"/includeOnly/"+Ce,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ie]:r.push(Ie),e++}var m=Le===e;if(!m)break}}else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[Z]:r.push(Z),e++}var a=Oe===e;if(a&&M?(M=!1,S=[S,1]):a&&(M=!0,S=1),M)e=j,r!==null&&(j?r.length=j:r=null);else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:S},message:"must match exactly one schema in oneOf"};r===null?r=[Z]:r.push(Z),e++}var n=R===e;n&&(P=!0,w=0);const He=e;ge(d,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:O})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var n=He===e;if(n&&P?(P=!1,w=[w,1]):n&&(P=!0,w=1),P)e=k,r!==null&&(k?r.length=k:r=null);else{const Z={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};return r===null?r=[Z]:r.push(Z),e++,E.errors=r,!1}var i=_===e}else var i=!0;if(i){if(s.focus!==void 0){const d=e;ne(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:O})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.reaches!==void 0){const d=e;ve(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:O})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.affected!==void 0){let d=s.affected;const _=e,k=e;let P=!1,w=null;const R=e;if(typeof d!="string"){const S={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}var u=R===e;u&&(P=!0,w=0);const j=e;if(typeof d!="boolean"){const S={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[S]:r.push(S),e++}var u=j===e;if(u&&P?(P=!1,w=[w,1]):u&&(P=!0,w=1),P)e=k,r!==null&&(k?r.length=k:r=null);else{const S={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};return r===null?r=[S]:r.push(S),e++,E.errors=r,!1}var i=_===e}else var i=!0;if(i){if(s.highlight!==void 0){const d=e;De(s.highlight,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:O})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const d=e;_e(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:O})||(r=r===null?_e.errors:r.concat(_e.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.collapse!==void 0){const d=e;if(typeof s.collapse!="string")return E.errors=[{instancePath:t+"/collapse",schemaPath:"#/properties/collapse/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let d=s.maxDepth;const _=e;if(!(typeof d=="number"&&!(d%1)&&!isNaN(d)&&isFinite(d)))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===_&&typeof d=="number"&&isFinite(d)){if(d>99||isNaN(d))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(d<0||isNaN(d))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=_===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const d=e;je(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:O})||(r=r===null?je.errors:r.concat(je.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const d=e;if(typeof s.detectJSDocImports!="boolean")return E.errors=[{instancePath:t+"/detectJSDocImports",schemaPath:"#/properties/detectJSDocImports/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const d=e;if(typeof s.detectProcessBuiltinModuleCalls!="boolean")return E.errors=[{instancePath:t+"/detectProcessBuiltinModuleCalls",schemaPath:"#/properties/detectProcessBuiltinModuleCalls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.prefix!==void 0){const d=e;if(typeof s.prefix!="string")return E.errors=[{instancePath:t+"/prefix",schemaPath:"#/properties/prefix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.suffix!==void 0){const d=e;if(typeof s.suffix!="string")return E.errors=[{instancePath:t+"/suffix",schemaPath:"#/properties/suffix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const d=e;if(typeof s.preserveSymlinks!="boolean")return E.errors=[{instancePath:t+"/preserveSymlinks",schemaPath:"#/properties/preserveSymlinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const d=e;if(typeof s.combinedDependencies!="boolean")return E.errors=[{instancePath:t+"/combinedDependencies",schemaPath:"#/properties/combinedDependencies/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let d=s.tsConfig;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(w!=="fileName"){return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e&&d.fileName!==void 0&&typeof d.fileName!="string")return E.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let d=s.tsPreCompilationDeps;const _=e,k=e;let P=!1,w=null;const R=e;if(typeof d!="boolean"){const S={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[S]:r.push(S),e++}var T=R===e;T&&(P=!0,w=0);const j=e;if(typeof d!="string"){const S={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}if(d!=="specify"){const S={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:Se.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[S]:r.push(S),e++}var T=j===e;if(T&&P?(P=!1,w=[w,1]):T&&(P=!0,w=1),P)e=k,r!==null&&(k?r.length=k:r=null);else{const S={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};return r===null?r=[S]:r.push(S),e++,E.errors=r,!1}var i=_===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let d=s.extraExtensionsToScan;const _=e;if(e===_)if(Array.isArray(d)){var l=!0;const P=d.length;for(let w=0;w<P;w++){const R=e;if(typeof d[w]!="string")return E.errors=[{instancePath:t+"/extraExtensionsToScan/"+w,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=R===e;if(!l)break}}else return E.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=_===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let d=s.externalModuleResolutionStrategy;const _=e;if(typeof d!="string")return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="node_modules"||d==="yarn-pnp"))return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:Se.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=_===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let d=s.builtInModules;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(!(w==="override"||w==="add")){return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e){if(d.override!==void 0){let w=d.override;const R=e;if(e===R)if(Array.isArray(w)){var g=!0;const j=w.length;for(let M=0;M<j;M++){const S=e;if(typeof w[M]!="string")return E.errors=[{instancePath:t+"/builtInModules/override/"+M,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var g=S===e;if(!g)break}}else return E.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=R===e}else var f=!0;if(f)if(d.add!==void 0){let w=d.add;const R=e;if(e===R)if(Array.isArray(w)){var p=!0;const M=w.length;for(let S=0;S<M;S++){const V=e;if(typeof w[S]!="string")return E.errors=[{instancePath:t+"/builtInModules/add/"+S,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=V===e;if(!p)break}}else return E.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=R===e}else var f=!0}}else return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const d=e;if(typeof s.forceDeriveDependents!="boolean")return E.errors=[{instancePath:t+"/forceDeriveDependents",schemaPath:"#/properties/forceDeriveDependents/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let d=s.webpackConfig;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(!(w==="fileName"||w==="env"||w==="arguments")){return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e){if(d.fileName!==void 0){const w=e;if(typeof d.fileName!="string")return E.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=w===e}else var o=!0;if(o){if(d.env!==void 0){let w=d.env;const R=e,j=e;let M=!1,S=null;const V=e;if(!(w&&typeof w=="object"&&!Array.isArray(w))){const Pe={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[Pe]:r.push(Pe),e++}var c=V===e;c&&(M=!0,S=0);const Oe=e;if(typeof w!="string"){const Pe={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Pe]:r.push(Pe),e++}var c=Oe===e;if(c&&M?(M=!1,S=[S,1]):c&&(M=!0,S=1),M)e=j,r!==null&&(j?r.length=j:r=null);else{const Pe={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:S},message:"must match exactly one schema in oneOf"};return r===null?r=[Pe]:r.push(Pe),e++,E.errors=r,!1}var o=R===e}else var o=!0;if(o)if(d.arguments!==void 0){let w=d.arguments;const R=e;if(!(w&&typeof w=="object"&&!Array.isArray(w)))return E.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=R===e}else var o=!0}}}else return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let d=s.enhancedResolveOptions;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(!(w==="exportsFields"||w==="conditionNames"||w==="extensions"||w==="mainFields"||w==="mainFiles"||w==="aliasFields"||w==="cachedInputFileSystem")){return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e){if(d.exportsFields!==void 0){let w=d.exportsFields;const R=e;if(e===R)if(Array.isArray(w)){var v=!0;const j=w.length;for(let M=0;M<j;M++){const S=e;if(typeof w[M]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+M,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var v=S===e;if(!v)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=R===e}else var y=!0;if(y){if(d.conditionNames!==void 0){let w=d.conditionNames;const R=e;if(e===R)if(Array.isArray(w)){var h=!0;const M=w.length;for(let S=0;S<M;S++){const V=e;if(typeof w[S]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+S,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=V===e;if(!h)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=R===e}else var y=!0;if(y){if(d.extensions!==void 0){let w=d.extensions;const R=e;if(e===R)if(Array.isArray(w)){var b=!0;const M=w.length;for(let S=0;S<M;S++){const V=e;if(typeof w[S]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+S,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var b=V===e;if(!b)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=R===e}else var y=!0;if(y){if(d.mainFields!==void 0){let w=d.mainFields;const R=e;if(e===R)if(Array.isArray(w)){var x=!0;const M=w.length;for(let S=0;S<M;S++){const V=e;if(typeof w[S]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+S,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var x=V===e;if(!x)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=R===e}else var y=!0;if(y){if(d.mainFiles!==void 0){const w=e;if(!Array.isArray(d.mainFiles))return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=w===e}else var y=!0;if(y){if(d.aliasFields!==void 0){let w=d.aliasFields;const R=e;if(e===R)if(Array.isArray(w)){var N=!0;const M=w.length;for(let S=0;S<M;S++){const V=e;if(typeof w[S]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+S,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var N=V===e;if(!N)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var y=R===e}else var y=!0;if(y)if(d.cachedInputFileSystem!==void 0){let w=d.cachedInputFileSystem;const R=e;if(e===R)if(w&&typeof w=="object"&&!Array.isArray(w)){const M=e;for(const S in w)if(S!=="cacheDuration"){return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:S},message:"must NOT have additional properties"}],!1;break}if(M===e&&w.cacheDuration!==void 0){let S=w.cacheDuration;const V=e;if(!(typeof S=="number"&&!(S%1)&&!isNaN(S)&&isFinite(S)))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===V&&typeof S=="number"&&isFinite(S)){if(S>18e5||isNaN(S))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/maximum",keyword:"maximum",params:{comparison:"<=",limit:18e5},message:"must be <= 1800000"}],!1;if(S<0||isNaN(S))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=R===e}else var y=!0}}}}}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let d=s.babelConfig;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(w!=="fileName"){return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e&&d.fileName!==void 0&&typeof d.fileName!="string")return E.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.parser!==void 0){let d=s.parser;const _=e;if(typeof d!="string")return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="acorn"||d==="tsc"||d==="swc"))return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:Se.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=_===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let d=s.exoticRequireStrings;const _=e;if(e===_)if(Array.isArray(d)){var H=!0;const P=d.length;for(let w=0;w<P;w++){const R=e;if(typeof d[w]!="string")return E.errors=[{instancePath:t+"/exoticRequireStrings/"+w,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var H=R===e;if(!H)break}}else return E.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=_===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const d=e;F(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:O})||(r=r===null?F.errors:r.concat(F.errors),e=r.length);var i=d===e}else var i=!0;if(i){if(s.progress!==void 0){let d=s.progress;const _=e;if(e===_)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const w in d)if(!(w==="type"||w==="maximumLevel")){return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:w},message:"must NOT have additional properties"}],!1;break}if(P===e){if(d.type!==void 0){let w=d.type;const R=e;if(typeof w!="string")return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="cli-feedback"||w==="performance-log"||w==="ndjson"||w==="none"))return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:Se.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var $=R===e}else var $=!0;if($)if(d.maximumLevel!==void 0){let w=d.maximumLevel;const R=e;if(!(typeof w=="number"&&isFinite(w)))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(w===-1||w===40||w===50||w===60||w===70||w===80||w===99))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:Se.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var $=R===e}else var $=!0}}else return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=_===e}else var i=!0;if(i){if(s.metrics!==void 0){const d=e;if(typeof s.metrics!="boolean")return E.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const d=e;if(typeof s.experimentalStats!="boolean")return E.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/properties/experimentalStats/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const d=e;if(typeof s.skipAnalysisNotInRules!="boolean")return E.errors=[{instancePath:t+"/skipAnalysisNotInRules",schemaPath:"#/properties/skipAnalysisNotInRules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=d===e}else var i=!0;if(i){if(s.baseDir!==void 0){const d=e;if(typeof s.baseDir!="string")return E.errors=[{instancePath:t+"/baseDir",schemaPath:"#/properties/baseDir/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.cache!==void 0){let d=s.cache;const _=e,k=e;let P=!1,w=null;const R=e;if(typeof d!="boolean"){const S={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[S]:r.push(S),e++}if(d!==!1){const S={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/enum",keyword:"enum",params:{allowedValues:Se.properties.cache.oneOf[0].enum},message:"must be equal to one of the allowed values"};r===null?r=[S]:r.push(S),e++}var A=R===e;A&&(P=!0,w=0);const j=e;he(d,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:O})||(r=r===null?he.errors:r.concat(he.errors),e=r.length);var A=j===e;if(A&&P?(P=!1,w=[w,1]):A&&(P=!0,w=1),P)e=k,r!==null&&(k?r.length=k:r=null);else{const S={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};return r===null?r=[S]:r.push(S),e++,E.errors=r,!1}var i=_===e}else var i=!0;if(i){if(s.args!==void 0){const d=e;if(typeof s.args!="string")return E.errors=[{instancePath:t+"/args",schemaPath:"#/properties/args/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.rulesFile!==void 0){const d=e;if(typeof s.rulesFile!="string")return E.errors=[{instancePath:t+"/rulesFile",schemaPath:"#/properties/rulesFile/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i){if(s.outputTo!==void 0){const d=e;if(typeof s.outputTo!="string")return E.errors=[{instancePath:t+"/outputTo",schemaPath:"#/properties/outputTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=d===e}else var i=!0;if(i)if(s.outputType!==void 0){let d=s.outputType;const _=e,k=e;let P=!1,w=null;const R=e;if(typeof d!="string"){const S={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}if(!(d==="json"||d==="html"||d==="dot"||d==="ddot"||d==="cdot"||d==="archi"||d==="fdot"||d==="flat"||d==="csv"||d==="err"||d==="err-long"||d==="err-html"||d==="teamcity"||d==="anon"||d==="text"||d==="metrics"||d==="markdown"||d==="mermaid"||d==="d2"||d==="null")){const S={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/0/enum",keyword:"enum",params:{allowedValues:sr.oneOf[0].enum},message:"must be equal to one of the allowed values"};r===null?r=[S]:r.push(S),e++}var D=R===e;D&&(P=!0,w=0);const j=e;if(e===j)if(typeof d=="string"){if(!or.test(d)){const S={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/1/pattern",keyword:"pattern",params:{pattern:"^plugin:[^:]+$"},message:'must match pattern "^plugin:[^:]+$"'};r===null?r=[S]:r.push(S),e++}}else{const S={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[S]:r.push(S),e++}var D=j===e;if(D&&P?(P=!1,w=[w,1]):D&&(P=!0,w=1),P)e=k,r!==null&&(k?r.length=k:r=null);else{const S={instancePath:t+"/outputType",schemaPath:"#/definitions/OutputType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};return r===null?r=[S]:r.push(S),e++,E.errors=r,!1}var i=_===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return E.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return E.errors=r,e===0}function ie(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.violations===void 0&&(m="violations")||s.error===void 0&&(m="error")||s.warn===void 0&&(m="warn")||s.info===void 0&&(m="info")||s.totalCruised===void 0&&(m="totalCruised")||s.optionsUsed===void 0&&(m="optionsUsed"))return ie.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const a=e;for(const n in s)if(!Ae.call(Je.properties,n)){return ie.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(a===e){if(s.violations!==void 0){const n=e;_e(s.violations,{instancePath:t+"/violations",parentData:s,parentDataProperty:"violations",rootData:O})||(r=r===null?_e.errors:r.concat(_e.errors),e=r.length);var i=n===e}else var i=!0;if(i){if(s.error!==void 0){let n=s.error;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/error",schemaPath:"#/properties/error/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.warn!==void 0){let n=s.warn;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/warn",schemaPath:"#/properties/warn/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.info!==void 0){let n=s.info;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/info",schemaPath:"#/properties/info/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.ignore!==void 0){let n=s.ignore;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/ignore",schemaPath:"#/properties/ignore/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.totalCruised!==void 0){let n=s.totalCruised;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/totalCruised",schemaPath:"#/properties/totalCruised/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.totalDependenciesCruised!==void 0){let n=s.totalDependenciesCruised;const u=e;if(!(typeof n=="number"&&isFinite(n)))return ie.errors=[{instancePath:t+"/totalDependenciesCruised",schemaPath:"#/properties/totalDependenciesCruised/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var i=u===e}else var i=!0;if(i){if(s.ruleSetUsed!==void 0){const n=e;le(s.ruleSetUsed,{instancePath:t+"/ruleSetUsed",parentData:s,parentDataProperty:"ruleSetUsed",rootData:O})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var i=n===e}else var i=!0;if(i)if(s.optionsUsed!==void 0){const n=e;E(s.optionsUsed,{instancePath:t+"/optionsUsed",parentData:s,parentDataProperty:"optionsUsed",rootData:O})||(r=r===null?E.errors:r.concat(E.errors),e=r.length);var i=n===e}else var i=!0}}}}}}}}}}else return ie.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ie.errors=r,e===0}function K(s,{instancePath:t="",parentData:C,parentDataProperty:I,rootData:O=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let T;if(s.summary===void 0&&(T="summary")||s.modules===void 0&&(T="modules"))return K.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const l=e;for(const g in s)if(!(g==="modules"||g==="folders"||g==="summary"||g==="revisionData")){return K.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.modules!==void 0){const g=e;qe(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:O})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var i=g===e}else var i=!0;if(i){if(s.folders!==void 0){const g=e;$e(s.folders,{instancePath:t+"/folders",parentData:s,parentDataProperty:"folders",rootData:O})||(r=r===null?$e.errors:r.concat($e.errors),e=r.length);var i=g===e}else var i=!0;if(i){if(s.summary!==void 0){const g=e;ie(s.summary,{instancePath:t+"/summary",parentData:s,parentDataProperty:"summary",rootData:O})||(r=r===null?ie.errors:r.concat(ie.errors),e=r.length);var i=g===e}else var i=!0;if(i)if(s.revisionData!==void 0){let g=s.revisionData;const f=e;if(e===e)if(g&&typeof g=="object"&&!Array.isArray(g)){let c;if(g.SHA1===void 0&&(c="SHA1")||g.changes===void 0&&(c="changes"))return K.errors=[{instancePath:t+"/revisionData",schemaPath:"#/definitions/RevisionDataType/required",keyword:"required",params:{missingProperty:c},message:"must have required property '"+c+"'"}],!1;if(g.cacheFormatVersion!==void 0){let v=g.cacheFormatVersion;const y=e;if(!(typeof v=="number"&&isFinite(v)))return K.errors=[{instancePath:t+"/revisionData/cacheFormatVersion",schemaPath:"#/definitions/RevisionDataType/properties/cacheFormatVersion/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var m=y===e}else var m=!0;if(m){if(g.SHA1!==void 0){const v=e;if(typeof g.SHA1!="string")return K.errors=[{instancePath:t+"/revisionData/SHA1",schemaPath:"#/definitions/RevisionDataType/properties/SHA1/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=v===e}else var m=!0;if(m)if(g.changes!==void 0){let v=g.changes;const y=e;if(e===y)if(Array.isArray(v)){var a=!0;const b=v.length;for(let x=0;x<b;x++){let N=v[x];const H=e;if(e===H)if(N&&typeof N=="object"&&!Array.isArray(N)){let A;if(N.name===void 0&&(A="name")||N.type===void 0&&(A="type"))return K.errors=[{instancePath:t+"/revisionData/changes/"+x,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/required",keyword:"required",params:{missingProperty:A},message:"must have required property '"+A+"'"}],!1;if(N.name!==void 0){const D=e;if(typeof N.name!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/name",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=D===e}else var n=!0;if(n){if(N.type!==void 0){let D=N.type;const q=e;if(typeof D!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/type",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(D==="added"||D==="copied"||D==="deleted"||D==="modified"||D==="renamed"||D==="type changed"||D==="unmerged"||D==="pairing broken"||D==="unknown"||D==="unmodified"||D==="untracked"||D==="ignored"))return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/type",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/type/enum",keyword:"enum",params:{allowedValues:ze.properties.changes.items.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var n=q===e}else var n=!0;if(n){if(N.oldName!==void 0){const D=e;if(typeof N.oldName!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/oldName",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/oldName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=D===e}else var n=!0;if(n){if(N.checksum!==void 0){const D=e;if(typeof N.checksum!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/checksum",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/checksum/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=D===e}else var n=!0;if(n){if(N.args!==void 0){let D=N.args;const q=e;if(e===q)if(Array.isArray(D)){var u=!0;const _=D.length;for(let k=0;k<_;k++){const P=e;if(typeof D[k]!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/args/"+k,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/args/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=P===e;if(!u)break}}else return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/args",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/args/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n)if(N.rulesFile!==void 0){const D=e;if(typeof N.rulesFile!="string")return K.errors=[{instancePath:t+"/revisionData/changes/"+x+"/rulesFile",schemaPath:"#/definitions/RevisionDataType/properties/changes/items/properties/rulesFile/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=D===e}else var n=!0}}}}}else return K.errors=[{instancePath:t+"/revisionData/changes/"+x,schemaPath:"#/definitions/RevisionDataType/properties/changes/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=H===e;if(!a)break}}else return K.errors=[{instancePath:t+"/revisionData/changes",schemaPath:"#/definitions/RevisionDataType/properties/changes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=y===e}else var m=!0}}else return K.errors=[{instancePath:t+"/revisionData",schemaPath:"#/definitions/RevisionDataType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=f===e}else var i=!0}}}}}else return K.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return K.errors=r,e===0}