dependency-cruiser 18.2.0 → 18.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/bin/depcruise-baseline.mjs +12 -5
- package/bin/{dependency-cruise.mjs → dependency-cruiser.mjs} +24 -14
- package/package.json +7 -7
- package/src/analyze/analyze-modules.mjs +5 -1
- package/src/analyze/index.mjs +1 -1
- package/src/analyze/soften-known-violations.mjs +4 -2
- package/src/analyze/summarize/summarize-options.mjs +2 -0
- package/src/cache/options-compatible.mjs +1 -0
- package/src/cli/index.mjs +11 -3
- package/src/cli/init-config/config-template.mjs +1 -1
- package/src/cli/init-config/write-run-scripts-to-manifest.mjs +7 -7
- package/src/cli/normalize-cli-options.mjs +63 -2
- package/src/extract/helpers.mjs +1 -0
- package/src/extract/swc/dependency-visitor.mjs +13 -2
- package/src/extract/swc/parse.mjs +14 -4
- package/src/extract/transpile/try-import-available.mjs +1 -1
- package/src/graph-utl/compare.mjs +113 -14
- package/src/main/options/normalize.mjs +9 -3
- package/src/main/report-wrap.mjs +4 -2
- package/src/meta.cjs +1 -1
- package/src/report/baseline.mjs +52 -10
- package/src/report/dot-webpage/dot-module.mjs +1 -1
- package/src/report/index.mjs +1 -0
- package/src/schema/configuration.validate.mjs +1 -1
- package/src/schema/cruise-result.validate.mjs +1 -1
- package/src/utl/try-import.mjs +1 -1
- package/types/dependency-cruiser.d.mts +6 -0
- package/types/options.d.mts +17 -1
- package/types/restrictions.d.mts +2 -2
- package/types/shared-types.d.mts +16 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export const validate=de;export default de;const Ie={type:"string",enum:["error","warn","info","ignore"]};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 ue(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,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=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.orphan!==void 0){const c=e;if(typeof s.orphan!="boolean")return ue.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=c===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}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"}}},Me={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"]},Be=Object.prototype.hasOwnProperty;function Se(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e,h=e;let T=!1,c=null;const d=e;if(typeof s!="string"){const R={instancePath:t,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=d===e;y&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(s)){var p=!0;const R=s.length;for(let q=0;q<R;q++){const U=e;if(typeof s[q]!="string"){const _={instancePath:t+"/"+q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=U===e;if(!p)break}}else{const R={instancePath:t,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=o===e;if(y&&T?(T=!1,c=[c,1]):y&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var se=i===e;se&&(l=!0,n=0);const v=e;if(e===v)if(s&&typeof s=="object"&&!Array.isArray(s)){const R=e;for(const q in s)if(!(q==="path"||q==="pathNot"||q==="dependencyTypes"||q==="dependencyTypesNot")){const U={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:q},message:"must NOT have additional properties"};r===null?r=[U]:r.push(U),e++;break}if(R===e){if(s.path!==void 0){let q=s.path;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var f=P===e;f&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var u=!0;const A=q.length;for(let D=0;D<A;D++){const Z=e;if(typeof q[D]!="string"){const Q={instancePath:t+"/path/"+D,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 u=Z===e;if(!u)break}}else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var f=X===e;if(f&&_?(_=!1,w=[w,1]):f&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[A]:r.push(A),e++}var k=U===e}else var k=!0;if(k){if(s.pathNot!==void 0){let q=s.pathNot;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}var I=P===e;I&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var O=!0;const D=q.length;for(let Z=0;Z<D;Z++){const xe=e;if(typeof q[Z]!="string"){const Ue={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ue]:r.push(Ue),e++}var O=xe===e;if(!O)break}}else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[D]:r.push(D),e++}var I=X===e;if(I&&_?(_=!1,w=[w,1]):I&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[D]:r.push(D),e++}var k=U===e}else var k=!0;if(k){if(s.dependencyTypes!==void 0){let q=s.dependencyTypes;const U=e;if(e===U)if(Array.isArray(q)){var J=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),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 D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var J=X===e;if(!J)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 k=U===e}else var k=!0;if(k)if(s.dependencyTypesNot!==void 0){let q=s.dependencyTypesNot;const U=e;if(e===U)if(Array.isArray(q)){var G=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),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 D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var G=X===e;if(!G)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 k=U===e}else var k=!0}}}}else{const R={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[R]:r.push(R),e++}var se=v===e;if(se&&l?(l=!1,n=[n,1]):se&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const R={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,Se.errors=r,!1}return Se.errors=r,e===0}function z(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const se=e;for(const R in s)if(!Be.call(We.properties,R)){return z.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:R},message:"must NOT have additional properties"}],!1;break}if(se===e){if(s.path!==void 0){let R=s.path;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[X]:r.push(X),e++}var l=w===e;l&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var a=!0;const X=R.length;for(let A=0;A<X;A++){const D=e;if(typeof R[A]!="string"){const xe={instancePath:t+"/path/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[xe]:r.push(xe),e++}var a=D===e;if(!a)break}}else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[X]:r.push(X),e++}var l=P===e;if(l&&$?($=!1,_=[_,1]):l&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[X]:r.push(X),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var h=w===e;h&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var i=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/pathNot/"+D,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=Z===e;if(!i)break}}else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var h=P===e;if(h&&$?($=!1,_=[_,1]):h&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.couldNotResolve!==void 0){const R=e;if(typeof s.couldNotResolve!="boolean")return z.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.circular!==void 0){const R=e;if(typeof s.circular!="boolean")return z.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dynamic!==void 0){const R=e;if(typeof s.dynamic!="boolean")return z.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticallyRequired!==void 0){const R=e;if(typeof s.exoticallyRequired!="boolean")return z.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticRequire!==void 0){let R=s.exoticRequire;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var c=w===e;c&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var T=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequire/"+D,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 T=Z===e;if(!T)break}}else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var c=P===e;if(c&&$?($=!1,_=[_,1]):c&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequireNot",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=w===e;o&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var d=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequireNot/"+D,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 d=Z===e;if(!d)break}}else{const A={instancePath:t+"/exoticRequireNot",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=P===e;if(o&&$?($=!1,_=[_,1]):o&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.preCompilationOnly!==void 0){const R=e;if(typeof s.preCompilationOnly!="boolean")return z.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dependencyTypes!==void 0){let R=s.dependencyTypes;const q=e;if(e===q)if(Array.isArray(R)){var p=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return z.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return z.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var p=P===e;if(!p)break}}else return z.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const q=e;if(e===q)if(Array.isArray(R)){var y=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return z.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return z.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var y=P===e;if(!y)break}}else return z.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.moreThanOneDependencyType!==void 0){const R=e;if(typeof s.moreThanOneDependencyType!="boolean")return z.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.license!==void 0){let R=s.license;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var u=w===e;u&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var v=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/license/"+D,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 v=Z===e;if(!v)break}}else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var u=P===e;if(u&&$?($=!1,_=[_,1]):u&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var k=w===e;k&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var f=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/licenseNot/"+D,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 f=Z===e;if(!f)break}}else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var k=P===e;if(k&&$?($=!1,_=[_,1]):k&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.via!==void 0){const R=e;Se(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaOnly!==void 0){const R=e;Se(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaNot!==void 0){let R=s.viaNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var I=w===e;I&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var O=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaNot/"+D,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 O=Z===e;if(!O)break}}else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var I=P===e;if(I&&$?($=!1,_=[_,1]):I&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var G=w===e;G&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var J=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaSomeNot/"+D,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 J=Z===e;if(!J)break}}else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var G=P===e;if(G&&$?($=!1,_=[_,1]):G&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.moreUnstable!==void 0){const R=e;if(typeof s.moreUnstable!="boolean")return z.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n)if(s.ancestor!==void 0){const R=e;if(typeof s.ancestor!="boolean")return z.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!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 oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return oe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return oe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return oe.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 a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return oe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;z(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var a=i===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 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 ge(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ge.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,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=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ge.errors=r,!1}var n=d===e}else var n=!0}}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 ye(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 ye.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!(d==="path"||d==="pathNot"||d==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.path!==void 0){let d=s.path;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var l=u===e;l&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var a=!0;const k=d.length;for(let O=0;O<k;O++){const I=e;if(typeof d[O]!="string"){const G={instancePath:t+"/path/"+O,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 a=I===e;if(!a)break}}else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var l=f===e;if(l&&y?(y=!1,v=[v,1]):l&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n){if(s.pathNot!==void 0){let d=s.pathNot;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var h=u===e;h&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var i=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/pathNot/"+I,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var i=J===e;if(!i)break}}else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var h=f===e;if(h&&y?(y=!1,v=[v,1]):h&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n)if(s.reachable!==void 0){const d=e;if(typeof s.reachable!="boolean")return ye.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===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 pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return pe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return pe.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 a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return pe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return pe.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 ne(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="numberOfDependentsLessThan"||c==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,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=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let c=s.numberOfDependentsLessThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=d===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let c=s.numberOfDependentsMoreThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!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 De(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,De.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,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=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,De.errors=r,!1}var n=d===e}else var n=!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 le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.from===void 0&&(l="from"))return le.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="from")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return le.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return le.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 a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return le.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;ne(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.from!==void 0){const i=e;De(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var a=i===e}else var a=!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}function Ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const h=e;pe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var T=h===e;if(T&&l)l=!1,n=[n,1];else{T&&(l=!0,n=1);const c=e;le(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var T=c===e;T&&l?(l=!1,n=[n,2]):T&&(l=!0,n=2)}if(l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Ve.errors=r,!1}return Ve.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 be(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return be.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return be.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return be.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return be.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 a=h===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;z(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return be.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return be.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 we(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return we.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return we.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return we.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return we.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return we.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 a=h===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!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 He(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;be(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?be.errors:r.concat(be.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const h=e;we(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var T=h===e;if(T&&l?(l=!1,n=[n,1]):T&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,He.errors=r,!1}return He.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 Ee(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,Ee.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,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=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,Ee.errors=r,!1}var n=d===e}else var n=!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 je(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="reachable")){return je.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,je.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.reachable!==void 0){const h=e;if(typeof s.reachable!="boolean")return je.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0}}else return je.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return je.errors=r,e===0}function fe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.to===void 0&&(l="to"))return fe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="to")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return fe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return fe.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 a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return fe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;Ee(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;je(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?je.errors:r.concat(je.errors),e=r.length);var a=i===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}const Fe={type:"object",additionalProperties:!1,properties:{doNotFollow:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundDoNotFollowType"}]},exclude:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundExcludeType"}]},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundFocusType"}]},reaches:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundReachesType"}]},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundHighlightType"}]},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{oneOf:[{type:"string"},{type:"integer",minimum:1,maximum:9}]},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"},{deprecated:!0,type:"string"},{$ref:"#/definitions/CacheOptionsType"}]}}};function Pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const h=e;for(const T in s)if(!(T==="path"||T==="dependencyTypes")){return Pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:T},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.path!==void 0){let T=s.path;const c=e,d=e;let o=!1,p=null;const y=e;if(typeof T!="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 l=y===e;l&&(o=!0,p=0);const v=e;if(e===v)if(Array.isArray(T)){var a=!0;const u=T.length;for(let f=0;f<u;f++){const k=e;if(typeof T[f]!="string"){const I={instancePath:t+"/path/"+f,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[I]:r.push(I),e++}var a=k===e;if(!a)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 l=v===e;if(l&&o?(o=!1,p=[p,1]):l&&(o=!0,p=1),o)e=d,r!==null&&(d?r.length=d:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,Pe.errors=r,!1}var n=c===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const c=e;if(e===c)if(Array.isArray(T)){var i=!0;const o=T.length;for(let p=0;p<o;p++){let y=T[p];const v=e;if(typeof y!="string")return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="aliased-subpath-import"||y==="aliased-tsconfig-base-url"||y==="aliased-tsconfig-paths"||y==="aliased-tsconfig"||y==="aliased-webpack"||y==="aliased-workspace"||y==="aliased"||y==="amd-define"||y==="amd-require"||y==="amd-exotic-require"||y==="core"||y==="deprecated"||y==="dynamic-import"||y==="exotic-require"||y==="export"||y==="import-equals"||y==="import"||y==="jsdoc"||y==="jsdoc-bracket-import"||y==="jsdoc-import-tag"||y==="local"||y==="localmodule"||y==="npm-bundled"||y==="npm-dev"||y==="npm-no-pkg"||y==="npm-optional"||y==="npm-peer"||y==="npm-unknown"||y==="npm"||y==="pre-compilation-only"||y==="process-get-builtin-module"||y==="require"||y==="triple-slash-amd-dependency"||y==="triple-slash-directive"||y==="triple-slash-file-reference"||y==="triple-slash-type-reference"||y==="type-import"||y==="type-only"||y==="undetermined"||y==="unknown"))return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var i=v===e;if(!i)break}}else return Pe.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=c===e}else var n=!0}}else return Pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Pe.errors=r,e===0}function ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="dynamic")){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,ve.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.dynamic!==void 0){const h=e;if(typeof s.dynamic!="boolean")return ve.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0}}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 Ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Ae.errors=r,!1}}}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 me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="depth")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,me.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.depth!==void 0){let h=s.depth;const T=e;if(e===T)if(typeof h=="number"&&isFinite(h)){if(h>4||isNaN(h))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(h<1||isNaN(h))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=T===e}else var n=!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 Re(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Re.errors=r,!1}}}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 $e(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return $e.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,$e.errors=r,!1}}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return $e.errors=r,e===0}const sr={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"}}},tr={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function ke(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.name===void 0&&(l="name")||s.severity===void 0&&(l="severity"))return ke.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return ke.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a)if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===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 ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:n},message:"must have required property '"+n+"'"}],!1;{const i=e;for(const h in s)if(!(h==="name"||h==="dependencyTypes")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.name!==void 0){const h=e;if(typeof s.name!="string")return ae.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=h===e}else var a=!0;if(a)if(s.dependencyTypes!==void 0){let h=s.dependencyTypes;const T=e;if(e===T)if(Array.isArray(h)){var l=!0;const d=h.length;for(let o=0;o<d;o++){let p=h[o];const y=e;if(typeof p!="string")return ae.errors=[{instancePath:t+"/dependencyTypes/"+o,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 ae.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var l=y===e;if(!l)break}}else return ae.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=T===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 K(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 K.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!Be.call(sr.properties,d)){return K.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.from!==void 0){const d=e;if(typeof s.from!="string")return K.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.to!==void 0){const d=e;if(typeof s.to!="string")return K.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.unresolvedTo!==void 0){const d=e;if(typeof s.unresolvedTo!="string")return K.errors=[{instancePath:t+"/unresolvedTo",schemaPath:"#/properties/unresolvedTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let d=s.dependencyTypes;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){let u=d[v];const f=e;if(typeof u!="string")return K.errors=[{instancePath:t+"/dependencyTypes/"+v,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 K.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var l=f===e;if(!l)break}}else return K.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.type!==void 0){let d=s.type;const o=e;if(typeof d!="string")return K.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="dependency"||d==="module"||d==="reachability"||d==="cycle"||d==="instability"||d==="folder"))return K.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:tr.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.rule!==void 0){const d=e;ke(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:S})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var a=d===e}else var a=!0;if(a){if(s.cycle!==void 0){let d=s.cycle;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/cycle/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=u===e;if(!n)break}}else return K.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.via!==void 0){let d=s.via;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/via/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=u===e;if(!i)break}}else return K.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.metrics!==void 0){let d=s.metrics;const o=e;if(e===o)if(d&&typeof d=="object"&&!Array.isArray(d)){let y;if(d.from===void 0&&(y="from")||d.to===void 0&&(y="to"))return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:y},message:"must have required property '"+y+"'"}],!1;{const v=e;for(const u in d)if(!(u==="from"||u==="to")){return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e){if(d.from!==void 0){let u=d.from;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let k;if(u.instability===void 0&&(k="instability"))return K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:k},message:"must have required property '"+k+"'"}],!1;{const O=e;for(const I in u)if(I!=="instability"){return K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:I},message:"must NOT have additional properties"}],!1;break}if(O===e&&u.instability!==void 0){let I=u.instability;if(!(typeof I=="number"&&isFinite(I)))return K.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 K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=f===e}else var h=!0;if(h)if(d.to!==void 0){let u=d.to;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let O;if(u.instability===void 0&&(O="instability"))return K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:O},message:"must have required property '"+O+"'"}],!1;{const I=e;for(const J in u)if(J!=="instability"){return K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:J},message:"must NOT have additional properties"}],!1;break}if(I===e&&u.instability!==void 0){let J=u.instability;if(!(typeof J=="number"&&isFinite(J)))return K.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 K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=f===e}else var h=!0}}}else return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=o===e}else var a=!0;if(a)if(s.comment!==void 0){const d=e;if(typeof s.comment!="string")return K.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!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}function Le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){const i=e;K(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:S})||(r=r===null?K.errors:r.concat(K.errors),e=r.length);var a=i===e;if(!a)break}}else return Le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Le.errors=r,e===0}const ir={type:"string",enum:["cjs","es6","amd","tsd"]};function qe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){let i=s[n];const h=e;if(typeof i!="string")return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="cjs"||i==="es6"||i==="amd"||i==="tsd"))return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:ir.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e;if(!a)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}const nr={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 ar={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"}}},or={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Ce.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.exclude!==void 0){const n=e;ve(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.includeOnly!==void 0){const n=e;Ae(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.focus!==void 0){const n=e;me(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.reaches!==void 0){const n=e;Re(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!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 ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const n=s.length;for(let i=0;i<n;i++){let h=s[i];const T=e;if(e===e)if(h&&typeof h=="object"&&!Array.isArray(h)){const o=e;for(const p in h)if(!(p==="criteria"||p==="attributes")){return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(o===e){if(h.criteria!==void 0){let p=h.criteria;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0;if(l)if(h.attributes!==void 0){let p=h.attributes;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0}}else return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=T===e;if(!a)break}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return ce.errors=r,e===0}function Te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return Te.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0;if(a){if(s.graph!==void 0){let n=s.graph;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.node!==void 0){let n=s.node;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.edge!==void 0){let n=s.edge;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.modules!==void 0){const n=e;ce(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.dependencies!==void 0){const n=e;ce(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===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 te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="collapsePattern"||h==="filters"||h==="showMetrics"||h==="theme")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.collapsePattern!==void 0){let h=s.collapsePattern;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="string"){const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/collapsePattern/"+u,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 a=f===e;if(!a)break}}else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,te.errors=r,!1}var n=T===e}else var n=!0;if(n){if(s.filters!==void 0){const h=e;Ce(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:S})||(r=r===null?Ce.errors:r.concat(Ce.errors),e=r.length);var n=h===e}else var n=!0;if(n){if(s.showMetrics!==void 0){const h=e;if(typeof s.showMetrics!="boolean")return te.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0;if(n)if(s.theme!==void 0){const h=e;Te(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:S})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var n=h===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 F(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const o in s)if(!Be.call(nr.properties,o)){return F.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.anon!==void 0){let o=s.anon;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const v=e;for(const u in o)if(u!=="wordlist"){return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e&&o.wordlist!==void 0){let u=o.wordlist;if(e===e)if(Array.isArray(u)){var a=!0;const k=u.length;for(let O=0;O<k;O++){const I=e;if(typeof u[O]!="string")return F.errors=[{instancePath:t+"/anon/wordlist/"+O,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=I===e;if(!a)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 l=p===e}else var l=!0;if(l){if(s.archi!==void 0){const o=e;te(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.dot!==void 0){const o=e;te(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.ddot!==void 0){const o=e;te(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.flat!==void 0){const o=e;te(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.markdown!==void 0){let o=s.markdown;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!Be.call(ar.properties,f)){return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showTitle!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.title!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showSummaryHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.summaryHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showStatsSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showRulesSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.includeIgnoredInSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.includeIgnoredInDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showDetailsHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.detailsHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.collapseDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.collapsedMessage!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.noViolationsMessage!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n)if(o.showFooter!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0}}}}}}}}}}}}}}}}}}else return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.metrics!==void 0){let o=s.metrics;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="orderBy"||f==="hideModules"||f==="hideFolders")){return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.orderBy!==void 0){let f=o.orderBy;const k=e;if(typeof f!="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(!(f==="instability"||f==="moduleCount"||f==="afferentCouplings"||f==="efferentCouplings"||f==="name"||f==="size"||f==="topLevelStatementCount"))return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:or.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var i=k===e}else var i=!0;if(i){if(o.hideModules!==void 0){const f=e;if(typeof o.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 i=f===e}else var i=!0;if(i)if(o.hideFolders!==void 0){const f=e;if(typeof o.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 i=f===e}else var i=!0}}}else return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.mermaid!==void 0){let o=s.mermaid;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="minify"){return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.minify!==void 0&&typeof o.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 l=p===e}else var l=!0;if(l){if(s.text!==void 0){let o=s.text;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="highlightFocused"){return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.highlightFocused!==void 0&&typeof o.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 l=p===e}else var l=!0;if(l){if(s.err!==void 0){let o=s.err;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 h=f===e}else var h=!0;if(h)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 h=f===e}else var h=!0}}else return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s["err-long"]!==void 0){let o=s["err-long"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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=f===e}else var T=!0;if(T)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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=f===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 l=p===e}else var l=!0;if(l)if(s["err-html"]!==void 0){let o=s["err-html"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 c=f===e}else var c=!0;if(c)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 c=f===e}else var c=!0}}else return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!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 pr={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return Oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return Oe.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=n===e}else var a=!0;if(a){if(s.strategy!==void 0){let n=s.strategy;const i=e;if(typeof n!="string")return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="metadata"||n==="content"))return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:pr.enum},message:"must be equal to one of the allowed values"}],!1;var a=i===e}else var a=!0;if(a)if(s.compress!==void 0){const n=e;if(typeof s.compress!="boolean")return Oe.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===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}function E(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Ke=e;for(const m in s)if(!Be.call(Fe.properties,m)){return E.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(Ke===e){if(s.doNotFollow!==void 0){let m=s.doNotFollow;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var l=Y===e;l&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var a=!0;const ee=m.length;for(let x=0;x<ee;x++){const W=e;if(typeof m[x]!="string"){const Ge={instancePath:t+"/doNotFollow/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ge]:r.push(Ge),e++}var a=W===e;if(!a)break}}else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[ee]:r.push(ee),e++}var l=re===e;if(l&&N?(N=!1,b=[b,1]):l&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[ee]:r.push(ee),e++}var n=M===e;n&&(j=!0,g=0);const he=e;Pe(m,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:S})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=he===e;if(n&&j?(j=!1,g=[g,1]):n&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/properties/doNotFollow/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.exclude!==void 0){let m=s.exclude;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var T=Y===e;T&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var h=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/exclude/"+W,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 h=_e===e;if(!h)break}}else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var T=re===e;if(T&&N?(N=!1,b=[b,1]):T&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var c=M===e;c&&(j=!0,g=0);const he=e;ve(m,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var c=he===e;if(c&&j?(j=!1,g=[g,1]):c&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/properties/exclude/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let m=s.includeOnly;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var o=Y===e;o&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var d=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/includeOnly/"+W,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 d=_e===e;if(!d)break}}else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var o=re===e;if(o&&N?(N=!1,b=[b,1]):o&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var p=M===e;p&&(j=!0,g=0);const he=e;Ae(m,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var p=he===e;if(p&&j?(j=!1,g=[g,1]):p&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.focus!==void 0){let m=s.focus;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var v=Y===e;v&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var y=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/focus/"+W,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 y=_e===e;if(!y)break}}else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var v=re===e;if(v&&N?(N=!1,b=[b,1]):v&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var u=M===e;u&&(j=!0,g=0);const he=e;me(m,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var u=he===e;if(u&&j?(j=!1,g=[g,1]):u&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/properties/focus/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.reaches!==void 0){let m=s.reaches;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var k=Y===e;k&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var f=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/reaches/"+W,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=_e===e;if(!f)break}}else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var k=re===e;if(k&&N?(N=!1,b=[b,1]):k&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var O=M===e;O&&(j=!0,g=0);const he=e;Re(m,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var O=he===e;if(O&&j?(j=!1,g=[g,1]):O&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/properties/reaches/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.affected!==void 0){let m=s.affected;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var I=M===e;I&&(j=!0,g=0);const L=e;if(typeof m!="boolean"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var I=L===e;if(I&&j?(j=!1,g=[g,1]):I&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.highlight!==void 0){let m=s.highlight;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var G=Y===e;G&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var J=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/highlight/"+W,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 J=_e===e;if(!J)break}}else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var G=re===e;if(G&&N?(N=!1,b=[b,1]):G&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var se=M===e;se&&(j=!0,g=0);const he=e;$e(m,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:S})||(r=r===null?$e.errors:r.concat($e.errors),e=r.length);var se=he===e;if(se&&j?(j=!1,g=[g,1]):se&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/properties/highlight/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const m=e;Le(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:S})||(r=r===null?Le.errors:r.concat(Le.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.collapse!==void 0){let m=s.collapse;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var R=M===e;R&&(j=!0,g=0);const L=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m))){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/type",keyword:"type",params:{type:"integer"},message:"must be integer"};r===null?r=[b]:r.push(b),e++}if(e===L&&typeof m=="number"&&isFinite(m)){if(m>9||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/maximum",keyword:"maximum",params:{comparison:"<=",limit:9},message:"must be <= 9"};r===null?r=[b]:r.push(b),e++}else if(m<1||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};r===null?r=[b]:r.push(b),e++}}var R=L===e;if(R&&j?(j=!1,g=[g,1]):R&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let m=s.maxDepth;const C=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m)))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===C&&typeof m=="number"&&isFinite(m)){if(m>99||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(m<0||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=C===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const m=e;qe(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:S})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.prefix!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.suffix!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let m=s.tsConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(g!=="fileName"){return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.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=C===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let m=s.tsPreCompilationDeps;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var q=M===e;q&&(j=!0,g=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}if(m!=="specify"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:Fe.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[b]:r.push(b),e++}var q=L===e;if(q&&j?(j=!1,g=[g,1]):q&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let m=s.extraExtensionsToScan;const C=e;if(e===C)if(Array.isArray(m)){var U=!0;const j=m.length;for(let g=0;g<j;g++){const M=e;if(typeof m[g]!="string")return E.errors=[{instancePath:t+"/extraExtensionsToScan/"+g,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=M===e;if(!U)break}}else return E.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let m=s.externalModuleResolutionStrategy;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="node_modules"||m==="yarn-pnp"))return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:Fe.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let m=s.builtInModules;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="override"||g==="add")){return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.override!==void 0){let g=m.override;const M=e;if(e===M)if(Array.isArray(g)){var $=!0;const L=g.length;for(let N=0;N<L;N++){const b=e;if(typeof g[N]!="string")return E.errors=[{instancePath:t+"/builtInModules/override/"+N,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var $=b===e;if(!$)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 _=M===e}else var _=!0;if(_)if(m.add!==void 0){let g=m.add;const M=e;if(e===M)if(Array.isArray(g)){var w=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/builtInModules/add/"+b,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var w=Y===e;if(!w)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 _=M===e}else var _=!0}}else return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let m=s.webpackConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="fileName"||g==="env"||g==="arguments")){return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.fileName!==void 0){const g=e;if(typeof m.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 P=g===e}else var P=!0;if(P){if(m.env!==void 0){let g=m.env;const M=e,L=e;let N=!1,b=null;const Y=e;if(!(g&&typeof g=="object"&&!Array.isArray(g))){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[ee]:r.push(ee),e++}var X=Y===e;X&&(N=!0,b=0);const re=e;if(typeof g!="string"){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var X=re===e;if(X&&N?(N=!1,b=[b,1]):X&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var P=M===e}else var P=!0;if(P)if(m.arguments!==void 0){let g=m.arguments;const M=e;if(!(g&&typeof g=="object"&&!Array.isArray(g)))return E.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=M===e}else var P=!0}}}else return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let m=s.enhancedResolveOptions;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="exportsFields"||g==="conditionNames"||g==="extensions"||g==="mainFields"||g==="mainFiles"||g==="aliasFields"||g==="cachedInputFileSystem")){return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.exportsFields!==void 0){let g=m.exportsFields;const M=e;if(e===M)if(Array.isArray(g)){var A=!0;const L=g.length;for(let N=0;N<L;N++){const b=e;if(typeof g[N]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+N,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var A=b===e;if(!A)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 D=M===e}else var D=!0;if(D){if(m.conditionNames!==void 0){let g=m.conditionNames;const M=e;if(e===M)if(Array.isArray(g)){var Z=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=Y===e;if(!Z)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 D=M===e}else var D=!0;if(D){if(m.extensions!==void 0){let g=m.extensions;const M=e;if(e===M)if(Array.isArray(g)){var xe=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=Y===e;if(!xe)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 D=M===e}else var D=!0;if(D){if(m.mainFields!==void 0){let g=m.mainFields;const M=e;if(e===M)if(Array.isArray(g)){var Q=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Q=Y===e;if(!Q)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 D=M===e}else var D=!0;if(D){if(m.mainFiles!==void 0){const g=e;if(!Array.isArray(m.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 D=g===e}else var D=!0;if(D){if(m.aliasFields!==void 0){let g=m.aliasFields;const M=e;if(e===M)if(Array.isArray(g)){var Ue=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ue=Y===e;if(!Ue)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 D=M===e}else var D=!0;if(D)if(m.cachedInputFileSystem!==void 0){let g=m.cachedInputFileSystem;const M=e;if(e===M)if(g&&typeof g=="object"&&!Array.isArray(g)){const N=e;for(const b in g)if(b!=="cacheDuration"){return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(N===e&&g.cacheDuration!==void 0){let b=g.cacheDuration;const Y=e;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b)))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===Y&&typeof b=="number"&&isFinite(b)){if(b>18e5||isNaN(b))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(b<0||isNaN(b))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 D=M===e}else var D=!0}}}}}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let m=s.babelConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(g!=="fileName"){return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.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=C===e}else var i=!0;if(i){if(s.parser!==void 0){let m=s.parser;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="acorn"||m==="tsc"||m==="swc"))return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:Fe.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let m=s.exoticRequireStrings;const C=e;if(e===C)if(Array.isArray(m)){var ze=!0;const j=m.length;for(let g=0;g<j;g++){const M=e;if(typeof m[g]!="string")return E.errors=[{instancePath:t+"/exoticRequireStrings/"+g,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ze=M===e;if(!ze)break}}else return E.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const m=e;F(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:S})||(r=r===null?F.errors:r.concat(F.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.progress!==void 0){let m=s.progress;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="type"||g==="maximumLevel")){return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.type!==void 0){let g=m.type;const M=e;if(typeof g!="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(!(g==="cli-feedback"||g==="performance-log"||g==="ndjson"||g==="none"))return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0;if(Je)if(m.maximumLevel!==void 0){let g=m.maximumLevel;const M=e;if(!(typeof g=="number"&&isFinite(g)))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(g===-1||g===40||g===50||g===60||g===70||g===80||g===99))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0}}else return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.metrics!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.baseDir!==void 0){const m=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=m===e}else var i=!0;if(i)if(s.cache!==void 0){let m=s.cache;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var Ne=M===e;Ne&&(j=!0,g=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var Ne=L===e;if(Ne&&j)j=!1,g=[g,1];else{Ne&&(j=!0,g=1);const b=e;Oe(m,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:S})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=b===e;Ne&&j?(j=!1,g=[g,2]):Ne&&(j=!0,g=2)}if(j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===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 de(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const c=e;for(const d in s)if(!(d==="$schema"||d==="forbidden"||d==="allowed"||d==="allowedSeverity"||d==="required"||d==="options"||d==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.$schema!==void 0){const d=e;if(typeof s.$schema!="string")return de.errors=[{instancePath:t+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.forbidden!==void 0){let d=s.forbidden;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;Ve(d[v],{instancePath:t+"/forbidden/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?Ve.errors:r.concat(Ve.errors),e=r.length);var l=u===e;if(!l)break}}else return de.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowed!==void 0){let d=s.allowed;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;He(d[v],{instancePath:t+"/allowed/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var n=u===e;if(!n)break}}else return de.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowedSeverity!==void 0){let d=s.allowedSeverity;const o=e;if(typeof d!="string")return de.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 de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.required!==void 0){let d=s.required;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;fe(d[v],{instancePath:t+"/required/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=u===e;if(!i)break}}else return de.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.options!==void 0){const d=e;E(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:S})||(r=r===null?E.errors:r.concat(E.errors),e=r.length);var a=d===e}else var a=!0;if(a)if(s.extends!==void 0){let d=s.extends;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var T=u===e;T&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var h=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/extends/"+I,schemaPath:"#/definitions/ExtendsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var h=J===e;if(!h)break}}else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var T=f===e;if(T&&y?(y=!1,v=[v,1]):T&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,de.errors=r,!1}var a=o===e}else var a=!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}
|
|
1
|
+
"use strict";export const validate=de;export default de;const Ie={type:"string",enum:["error","warn","info","ignore"]};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 ue(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var g=v===e;g&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const z={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var g=u===e;if(g&&p?(p=!1,y=[y,1]):g&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.orphan!==void 0){const c=e;if(typeof s.orphan!="boolean")return ue.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=c===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}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"}}},Fe={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"]},Be=Object.prototype.hasOwnProperty;function Se(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e,g=e;let T=!1,c=null;const d=e;if(typeof s!="string"){const R={instancePath:t,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=d===e;y&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(s)){var p=!0;const R=s.length;for(let q=0;q<R;q++){const U=e;if(typeof s[q]!="string"){const _={instancePath:t+"/"+q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=U===e;if(!p)break}}else{const R={instancePath:t,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=o===e;if(y&&T?(T=!1,c=[c,1]):y&&(T=!0,c=1),T)e=g,r!==null&&(g?r.length=g:r=null);else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var se=i===e;se&&(l=!0,n=0);const v=e;if(e===v)if(s&&typeof s=="object"&&!Array.isArray(s)){const R=e;for(const q in s)if(!(q==="path"||q==="pathNot"||q==="dependencyTypes"||q==="dependencyTypesNot")){const U={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:q},message:"must NOT have additional properties"};r===null?r=[U]:r.push(U),e++;break}if(R===e){if(s.path!==void 0){let q=s.path;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var f=P===e;f&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var u=!0;const A=q.length;for(let D=0;D<A;D++){const Z=e;if(typeof q[D]!="string"){const Q={instancePath:t+"/path/"+D,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 u=Z===e;if(!u)break}}else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var f=X===e;if(f&&_?(_=!1,w=[w,1]):f&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[A]:r.push(A),e++}var k=U===e}else var k=!0;if(k){if(s.pathNot!==void 0){let q=s.pathNot;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}var I=P===e;I&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var O=!0;const D=q.length;for(let Z=0;Z<D;Z++){const xe=e;if(typeof q[Z]!="string"){const Ue={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ue]:r.push(Ue),e++}var O=xe===e;if(!O)break}}else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[D]:r.push(D),e++}var I=X===e;if(I&&_?(_=!1,w=[w,1]):I&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[D]:r.push(D),e++}var k=U===e}else var k=!0;if(k){if(s.dependencyTypes!==void 0){let q=s.dependencyTypes;const U=e;if(e===U)if(Array.isArray(q)){var J=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),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 D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var J=X===e;if(!J)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 k=U===e}else var k=!0;if(k)if(s.dependencyTypesNot!==void 0){let q=s.dependencyTypesNot;const U=e;if(e===U)if(Array.isArray(q)){var z=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),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 D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var z=X===e;if(!z)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 k=U===e}else var k=!0}}}}else{const R={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[R]:r.push(R),e++}var se=v===e;if(se&&l?(l=!1,n=[n,1]):se&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const R={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,Se.errors=r,!1}return Se.errors=r,e===0}function K(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const se=e;for(const R in s)if(!Be.call(We.properties,R)){return K.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:R},message:"must NOT have additional properties"}],!1;break}if(se===e){if(s.path!==void 0){let R=s.path;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[X]:r.push(X),e++}var l=w===e;l&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var a=!0;const X=R.length;for(let A=0;A<X;A++){const D=e;if(typeof R[A]!="string"){const xe={instancePath:t+"/path/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[xe]:r.push(xe),e++}var a=D===e;if(!a)break}}else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[X]:r.push(X),e++}var l=P===e;if(l&&$?($=!1,_=[_,1]):l&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[X]:r.push(X),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var g=w===e;g&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var i=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/pathNot/"+D,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=Z===e;if(!i)break}}else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var g=P===e;if(g&&$?($=!1,_=[_,1]):g&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.couldNotResolve!==void 0){const R=e;if(typeof s.couldNotResolve!="boolean")return K.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.circular!==void 0){const R=e;if(typeof s.circular!="boolean")return K.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dynamic!==void 0){const R=e;if(typeof s.dynamic!="boolean")return K.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticallyRequired!==void 0){const R=e;if(typeof s.exoticallyRequired!="boolean")return K.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticRequire!==void 0){let R=s.exoticRequire;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var c=w===e;c&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var T=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequire/"+D,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 T=Z===e;if(!T)break}}else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var c=P===e;if(c&&$?($=!1,_=[_,1]):c&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequireNot",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=w===e;o&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var d=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequireNot/"+D,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 d=Z===e;if(!d)break}}else{const A={instancePath:t+"/exoticRequireNot",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=P===e;if(o&&$?($=!1,_=[_,1]):o&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.preCompilationOnly!==void 0){const R=e;if(typeof s.preCompilationOnly!="boolean")return K.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dependencyTypes!==void 0){let R=s.dependencyTypes;const q=e;if(e===q)if(Array.isArray(R)){var p=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return K.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return K.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"}],!1;var p=P===e;if(!p)break}}else return K.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const q=e;if(e===q)if(Array.isArray(R)){var y=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return K.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return K.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"}],!1;var y=P===e;if(!y)break}}else return K.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.moreThanOneDependencyType!==void 0){const R=e;if(typeof s.moreThanOneDependencyType!="boolean")return K.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.license!==void 0){let R=s.license;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var u=w===e;u&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var v=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/license/"+D,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 v=Z===e;if(!v)break}}else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var u=P===e;if(u&&$?($=!1,_=[_,1]):u&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var k=w===e;k&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var f=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/licenseNot/"+D,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 f=Z===e;if(!f)break}}else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var k=P===e;if(k&&$?($=!1,_=[_,1]):k&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.via!==void 0){const R=e;Se(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaOnly!==void 0){const R=e;Se(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaNot!==void 0){let R=s.viaNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var I=w===e;I&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var O=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaNot/"+D,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 O=Z===e;if(!O)break}}else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var I=P===e;if(I&&$?($=!1,_=[_,1]):I&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var z=w===e;z&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var J=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaSomeNot/"+D,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 J=Z===e;if(!J)break}}else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var z=P===e;if(z&&$?($=!1,_=[_,1]):z&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,K.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.moreUnstable!==void 0){const R=e;if(typeof s.moreUnstable!="boolean")return K.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n)if(s.ancestor!==void 0){const R=e;if(typeof s.ancestor!="boolean")return K.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!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}function oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return oe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return oe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const g=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return oe.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 a=g===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return oe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;K(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?K.errors:r.concat(K.errors),e=r.length);var a=i===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 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 ge(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ge.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var g=v===e;g&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const z={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var g=u===e;if(g&&p?(p=!1,y=[y,1]):g&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ge.errors=r,!1}var n=d===e}else var n=!0}}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 ye(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 ye.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!(d==="path"||d==="pathNot"||d==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.path!==void 0){let d=s.path;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var l=u===e;l&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var a=!0;const k=d.length;for(let O=0;O<k;O++){const I=e;if(typeof d[O]!="string"){const z={instancePath:t+"/path/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var a=I===e;if(!a)break}}else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var l=f===e;if(l&&y?(y=!1,v=[v,1]):l&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n){if(s.pathNot!==void 0){let d=s.pathNot;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var g=u===e;g&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var i=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/pathNot/"+I,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var i=J===e;if(!i)break}}else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var g=f===e;if(g&&y?(y=!1,v=[v,1]):g&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n)if(s.reachable!==void 0){const d=e;if(typeof s.reachable!="boolean")return ye.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===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 pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return pe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const g=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return pe.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 a=g===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return pe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return pe.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 ne(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="numberOfDependentsLessThan"||c==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var g=v===e;g&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const z={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var g=u===e;if(g&&p?(p=!1,y=[y,1]):g&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let c=s.numberOfDependentsLessThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=d===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let c=s.numberOfDependentsMoreThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!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 De(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,De.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var g=v===e;g&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const z={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var g=u===e;if(g&&p?(p=!1,y=[y,1]):g&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,De.errors=r,!1}var n=d===e}else var n=!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 le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.from===void 0&&(l="from"))return le.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="from")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return le.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const g=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return le.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 a=g===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return le.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;ne(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.from!==void 0){const i=e;De(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var a=i===e}else var a=!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}function Ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const g=e;pe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var T=g===e;if(T&&l)l=!1,n=[n,1];else{T&&(l=!0,n=1);const c=e;le(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var T=c===e;T&&l?(l=!1,n=[n,2]):T&&(l=!0,n=2)}if(l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Ve.errors=r,!1}return Ve.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 be(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return be.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return be.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return be.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return be.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 a=g===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;K(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?K.errors:r.concat(K.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return be.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return be.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 we(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return we.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return we.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return we.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return we.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return we.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 a=g===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!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 He(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;be(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?be.errors:r.concat(be.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const g=e;we(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var T=g===e;if(T&&l?(l=!1,n=[n,1]):T&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,He.errors=r,!1}return He.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 Ee(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,Ee.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var g=v===e;g&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const z={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var g=u===e;if(g&&p?(p=!1,y=[y,1]):g&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,Ee.errors=r,!1}var n=d===e}else var n=!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 je(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const g in s)if(!(g==="path"||g==="reachable")){return je.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let g=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof g!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let u=0;u<v;u++){const f=e;if(typeof g[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,je.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.reachable!==void 0){const g=e;if(typeof s.reachable!="boolean")return je.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=g===e}else var n=!0}}else return je.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return je.errors=r,e===0}function fe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.to===void 0&&(l="to"))return fe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="to")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return fe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const g=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const g=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return fe.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 a=g===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return fe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;Ee(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;je(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?je.errors:r.concat(je.errors),e=r.length);var a=i===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}const $e={type:"object",additionalProperties:!1,properties:{doNotFollow:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundDoNotFollowType"}]},exclude:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundExcludeType"}]},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundFocusType"}]},reaches:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundReachesType"}]},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundHighlightType"}]},ignoreKnown:{type:"boolean"},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{oneOf:[{type:"string"},{type:"integer",minimum:1,maximum:9}]},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"},{deprecated:!0,type:"string"},{$ref:"#/definitions/CacheOptionsType"}]},baseline:{type:"object",additionalProperties:!1,properties:{mode:{type:"string",enum:["shrink-only","full"]}}}}};function Pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const g=e;for(const T in s)if(!(T==="path"||T==="dependencyTypes")){return Pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:T},message:"must NOT have additional properties"}],!1;break}if(g===e){if(s.path!==void 0){let T=s.path;const c=e,d=e;let o=!1,p=null;const y=e;if(typeof T!="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 l=y===e;l&&(o=!0,p=0);const v=e;if(e===v)if(Array.isArray(T)){var a=!0;const u=T.length;for(let f=0;f<u;f++){const k=e;if(typeof T[f]!="string"){const I={instancePath:t+"/path/"+f,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[I]:r.push(I),e++}var a=k===e;if(!a)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 l=v===e;if(l&&o?(o=!1,p=[p,1]):l&&(o=!0,p=1),o)e=d,r!==null&&(d?r.length=d:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,Pe.errors=r,!1}var n=c===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const c=e;if(e===c)if(Array.isArray(T)){var i=!0;const o=T.length;for(let p=0;p<o;p++){let y=T[p];const v=e;if(typeof y!="string")return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="aliased-subpath-import"||y==="aliased-tsconfig-base-url"||y==="aliased-tsconfig-paths"||y==="aliased-tsconfig"||y==="aliased-webpack"||y==="aliased-workspace"||y==="aliased"||y==="amd-define"||y==="amd-require"||y==="amd-exotic-require"||y==="core"||y==="deprecated"||y==="dynamic-import"||y==="exotic-require"||y==="export"||y==="import-equals"||y==="import"||y==="jsdoc"||y==="jsdoc-bracket-import"||y==="jsdoc-import-tag"||y==="local"||y==="localmodule"||y==="npm-bundled"||y==="npm-dev"||y==="npm-no-pkg"||y==="npm-optional"||y==="npm-peer"||y==="npm-unknown"||y==="npm"||y==="pre-compilation-only"||y==="process-get-builtin-module"||y==="require"||y==="triple-slash-amd-dependency"||y==="triple-slash-directive"||y==="triple-slash-file-reference"||y==="triple-slash-type-reference"||y==="type-import"||y==="type-only"||y==="undetermined"||y==="unknown"))return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"}],!1;var i=v===e;if(!i)break}}else return Pe.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=c===e}else var n=!0}}else return Pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Pe.errors=r,e===0}function ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const g in s)if(!(g==="path"||g==="dynamic")){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let g=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof g!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let u=0;u<v;u++){const f=e;if(typeof g[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,ve.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.dynamic!==void 0){const g=e;if(typeof s.dynamic!="boolean")return ve.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=g===e}else var n=!0}}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 Ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const g=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=g,r!==null&&(g?r.length=g:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Ae.errors=r,!1}}}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 me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const g in s)if(!(g==="path"||g==="depth")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let g=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof g!="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 l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let u=0;u<v;u++){const f=e;if(typeof g[u]!="string"){const O={instancePath:t+"/path/"+u,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 a=f===e;if(!a)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 l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,me.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.depth!==void 0){let g=s.depth;const T=e;if(e===T)if(typeof g=="number"&&isFinite(g)){if(g>4||isNaN(g))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(g<1||isNaN(g))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=T===e}else var n=!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 Re(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const g=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=g,r!==null&&(g?r.length=g:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Re.errors=r,!1}}}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 qe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return qe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const g=e;let T=!1,c=null;const d=e;if(typeof i!="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 l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)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 l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=g,r!==null&&(g?r.length=g:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,qe.errors=r,!1}}}else return qe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return qe.errors=r,e===0}const sr={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"}}},tr={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function ke(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.name===void 0&&(l="name")||s.severity===void 0&&(l="severity"))return ke.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return ke.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a)if(s.severity!==void 0){let i=s.severity;const g=e;if(typeof i!="string")return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!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 ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:n},message:"must have required property '"+n+"'"}],!1;{const i=e;for(const g in s)if(!(g==="name"||g==="dependencyTypes")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.name!==void 0){const g=e;if(typeof s.name!="string")return ae.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=g===e}else var a=!0;if(a)if(s.dependencyTypes!==void 0){let g=s.dependencyTypes;const T=e;if(e===T)if(Array.isArray(g)){var l=!0;const d=g.length;for(let o=0;o<d;o++){let p=g[o];const y=e;if(typeof p!="string")return ae.errors=[{instancePath:t+"/dependencyTypes/"+o,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 ae.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"}],!1;var l=y===e;if(!l)break}}else return ae.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=T===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 G(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=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 G.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!Be.call(sr.properties,d)){return G.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.from!==void 0){const d=e;if(typeof s.from!="string")return G.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.to!==void 0){const d=e;if(typeof s.to!="string")return G.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.unresolvedTo!==void 0){const d=e;if(typeof s.unresolvedTo!="string")return G.errors=[{instancePath:t+"/unresolvedTo",schemaPath:"#/properties/unresolvedTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let d=s.dependencyTypes;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){let u=d[v];const f=e;if(typeof u!="string")return G.errors=[{instancePath:t+"/dependencyTypes/"+v,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 G.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Fe.enum},message:"must be equal to one of the allowed values"}],!1;var l=f===e;if(!l)break}}else return G.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.type!==void 0){let d=s.type;const o=e;if(typeof d!="string")return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="dependency"||d==="module"||d==="reachability"||d==="cycle"||d==="instability"||d==="folder"))return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:tr.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.rule!==void 0){const d=e;ke(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:S})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var a=d===e}else var a=!0;if(a){if(s.cycle!==void 0){let d=s.cycle;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/cycle/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=u===e;if(!n)break}}else return G.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.via!==void 0){let d=s.via;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/via/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=u===e;if(!i)break}}else return G.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.metrics!==void 0){let d=s.metrics;const o=e;if(e===o)if(d&&typeof d=="object"&&!Array.isArray(d)){let y;if(d.from===void 0&&(y="from")||d.to===void 0&&(y="to"))return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:y},message:"must have required property '"+y+"'"}],!1;{const v=e;for(const u in d)if(!(u==="from"||u==="to")){return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e){if(d.from!==void 0){let u=d.from;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let k;if(u.instability===void 0&&(k="instability"))return G.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:k},message:"must have required property '"+k+"'"}],!1;{const O=e;for(const I in u)if(I!=="instability"){return G.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:I},message:"must NOT have additional properties"}],!1;break}if(O===e&&u.instability!==void 0){let I=u.instability;if(!(typeof I=="number"&&isFinite(I)))return G.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 G.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=f===e}else var g=!0;if(g)if(d.to!==void 0){let u=d.to;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let O;if(u.instability===void 0&&(O="instability"))return G.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:O},message:"must have required property '"+O+"'"}],!1;{const I=e;for(const J in u)if(J!=="instability"){return G.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:J},message:"must NOT have additional properties"}],!1;break}if(I===e&&u.instability!==void 0){let J=u.instability;if(!(typeof J=="number"&&isFinite(J)))return G.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 G.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=f===e}else var g=!0}}}else return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=o===e}else var a=!0;if(a)if(s.comment!==void 0){const d=e;if(typeof s.comment!="string")return G.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!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}function Le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){const i=e;G(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:S})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var a=i===e;if(!a)break}}else return Le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Le.errors=r,e===0}const ir={type:"string",enum:["cjs","es6","amd","tsd"]};function Me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){let i=s[n];const g=e;if(typeof i!="string")return Me.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="cjs"||i==="es6"||i==="amd"||i==="tsd"))return Me.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:ir.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===e;if(!a)break}}else return Me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Me.errors=r,e===0}const nr={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 ar={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"}}},or={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Ce.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.exclude!==void 0){const n=e;ve(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.includeOnly!==void 0){const n=e;Ae(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.focus!==void 0){const n=e;me(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.reaches!==void 0){const n=e;Re(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!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 ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const n=s.length;for(let i=0;i<n;i++){let g=s[i];const T=e;if(e===e)if(g&&typeof g=="object"&&!Array.isArray(g)){const o=e;for(const p in g)if(!(p==="criteria"||p==="attributes")){return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(o===e){if(g.criteria!==void 0){let p=g.criteria;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0;if(l)if(g.attributes!==void 0){let p=g.attributes;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0}}else return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=T===e;if(!a)break}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return ce.errors=r,e===0}function Te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return Te.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0;if(a){if(s.graph!==void 0){let n=s.graph;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.node!==void 0){let n=s.node;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.edge!==void 0){let n=s.edge;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.modules!==void 0){const n=e;ce(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.dependencies!==void 0){const n=e;ce(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===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 te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const g in s)if(!(g==="collapsePattern"||g==="filters"||g==="showMetrics"||g==="theme")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.collapsePattern!==void 0){let g=s.collapsePattern;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof g!="string"){const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let u=0;u<v;u++){const f=e;if(typeof g[u]!="string"){const O={instancePath:t+"/collapsePattern/"+u,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 a=f===e;if(!a)break}}else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,te.errors=r,!1}var n=T===e}else var n=!0;if(n){if(s.filters!==void 0){const g=e;Ce(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:S})||(r=r===null?Ce.errors:r.concat(Ce.errors),e=r.length);var n=g===e}else var n=!0;if(n){if(s.showMetrics!==void 0){const g=e;if(typeof s.showMetrics!="boolean")return te.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=g===e}else var n=!0;if(n)if(s.theme!==void 0){const g=e;Te(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:S})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var n=g===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 F(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const o in s)if(!Be.call(nr.properties,o)){return F.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.anon!==void 0){let o=s.anon;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const v=e;for(const u in o)if(u!=="wordlist"){return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e&&o.wordlist!==void 0){let u=o.wordlist;if(e===e)if(Array.isArray(u)){var a=!0;const k=u.length;for(let O=0;O<k;O++){const I=e;if(typeof u[O]!="string")return F.errors=[{instancePath:t+"/anon/wordlist/"+O,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=I===e;if(!a)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 l=p===e}else var l=!0;if(l){if(s.archi!==void 0){const o=e;te(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.dot!==void 0){const o=e;te(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.ddot!==void 0){const o=e;te(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.flat!==void 0){const o=e;te(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.markdown!==void 0){let o=s.markdown;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!Be.call(ar.properties,f)){return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showTitle!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.title!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showSummaryHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.summaryHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showStatsSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showRulesSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.includeIgnoredInSummary!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.includeIgnoredInDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showDetailsHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.detailsHeader!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.collapseDetails!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.collapsedMessage!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n){if(o.noViolationsMessage!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0;if(n)if(o.showFooter!==void 0){const f=e;if(typeof o.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 n=f===e}else var n=!0}}}}}}}}}}}}}}}}}}else return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.metrics!==void 0){let o=s.metrics;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="orderBy"||f==="hideModules"||f==="hideFolders")){return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.orderBy!==void 0){let f=o.orderBy;const k=e;if(typeof f!="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(!(f==="instability"||f==="moduleCount"||f==="afferentCouplings"||f==="efferentCouplings"||f==="name"||f==="size"||f==="topLevelStatementCount"))return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:or.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var i=k===e}else var i=!0;if(i){if(o.hideModules!==void 0){const f=e;if(typeof o.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 i=f===e}else var i=!0;if(i)if(o.hideFolders!==void 0){const f=e;if(typeof o.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 i=f===e}else var i=!0}}}else return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.mermaid!==void 0){let o=s.mermaid;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="minify"){return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.minify!==void 0&&typeof o.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 l=p===e}else var l=!0;if(l){if(s.text!==void 0){let o=s.text;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="highlightFocused"){return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.highlightFocused!==void 0&&typeof o.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 l=p===e}else var l=!0;if(l){if(s.err!==void 0){let o=s.err;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 g=f===e}else var g=!0;if(g)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 g=f===e}else var g=!0}}else return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s["err-long"]!==void 0){let o=s["err-long"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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=f===e}else var T=!0;if(T)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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=f===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 l=p===e}else var l=!0;if(l)if(s["err-html"]!==void 0){let o=s["err-html"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.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 c=f===e}else var c=!0;if(c)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.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 c=f===e}else var c=!0}}else return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!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 pr={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return Oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return Oe.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=n===e}else var a=!0;if(a){if(s.strategy!==void 0){let n=s.strategy;const i=e;if(typeof n!="string")return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="metadata"||n==="content"))return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:pr.enum},message:"must be equal to one of the allowed values"}],!1;var a=i===e}else var a=!0;if(a)if(s.compress!==void 0){const n=e;if(typeof s.compress!="boolean")return Oe.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===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}function E(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Ge=e;for(const m in s)if(!Be.call($e.properties,m)){return E.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(Ge===e){if(s.doNotFollow!==void 0){let m=s.doNotFollow;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var l=Y===e;l&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var a=!0;const ee=m.length;for(let x=0;x<ee;x++){const W=e;if(typeof m[x]!="string"){const ze={instancePath:t+"/doNotFollow/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ze]:r.push(ze),e++}var a=W===e;if(!a)break}}else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[ee]:r.push(ee),e++}var l=re===e;if(l&&N?(N=!1,b=[b,1]):l&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[ee]:r.push(ee),e++}var n=M===e;n&&(j=!0,h=0);const he=e;Pe(m,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:S})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=he===e;if(n&&j?(j=!1,h=[h,1]):n&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/properties/doNotFollow/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.exclude!==void 0){let m=s.exclude;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var T=Y===e;T&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var g=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/exclude/"+W,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 g=_e===e;if(!g)break}}else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var T=re===e;if(T&&N?(N=!1,b=[b,1]):T&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var c=M===e;c&&(j=!0,h=0);const he=e;ve(m,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var c=he===e;if(c&&j?(j=!1,h=[h,1]):c&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/properties/exclude/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let m=s.includeOnly;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var o=Y===e;o&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var d=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/includeOnly/"+W,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 d=_e===e;if(!d)break}}else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var o=re===e;if(o&&N?(N=!1,b=[b,1]):o&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var p=M===e;p&&(j=!0,h=0);const he=e;Ae(m,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var p=he===e;if(p&&j?(j=!1,h=[h,1]):p&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.focus!==void 0){let m=s.focus;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var v=Y===e;v&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var y=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/focus/"+W,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 y=_e===e;if(!y)break}}else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var v=re===e;if(v&&N?(N=!1,b=[b,1]):v&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var u=M===e;u&&(j=!0,h=0);const he=e;me(m,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var u=he===e;if(u&&j?(j=!1,h=[h,1]):u&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/properties/focus/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.reaches!==void 0){let m=s.reaches;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var k=Y===e;k&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var f=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/reaches/"+W,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=_e===e;if(!f)break}}else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var k=re===e;if(k&&N?(N=!1,b=[b,1]):k&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var O=M===e;O&&(j=!0,h=0);const he=e;Re(m,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var O=he===e;if(O&&j?(j=!1,h=[h,1]):O&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/properties/reaches/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.affected!==void 0){let m=s.affected;const C=e,B=e;let j=!1,h=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var I=M===e;I&&(j=!0,h=0);const L=e;if(typeof m!="boolean"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var I=L===e;if(I&&j?(j=!1,h=[h,1]):I&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.highlight!==void 0){let m=s.highlight;const C=e,B=e;let j=!1,h=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var z=Y===e;z&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var J=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/highlight/"+W,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 J=_e===e;if(!J)break}}else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var z=re===e;if(z&&N?(N=!1,b=[b,1]):z&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var se=M===e;se&&(j=!0,h=0);const he=e;qe(m,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:S})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var se=he===e;if(se&&j?(j=!1,h=[h,1]):se&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/properties/highlight/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.ignoreKnown!==void 0){const m=e;if(typeof s.ignoreKnown!="boolean")return E.errors=[{instancePath:t+"/ignoreKnown",schemaPath:"#/properties/ignoreKnown/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const m=e;Le(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:S})||(r=r===null?Le.errors:r.concat(Le.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.collapse!==void 0){let m=s.collapse;const C=e,B=e;let j=!1,h=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var R=M===e;R&&(j=!0,h=0);const L=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m))){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/type",keyword:"type",params:{type:"integer"},message:"must be integer"};r===null?r=[b]:r.push(b),e++}if(e===L&&typeof m=="number"&&isFinite(m)){if(m>9||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/maximum",keyword:"maximum",params:{comparison:"<=",limit:9},message:"must be <= 9"};r===null?r=[b]:r.push(b),e++}else if(m<1||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};r===null?r=[b]:r.push(b),e++}}var R=L===e;if(R&&j?(j=!1,h=[h,1]):R&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let m=s.maxDepth;const C=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m)))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===C&&typeof m=="number"&&isFinite(m)){if(m>99||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(m<0||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=C===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const m=e;Me(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:S})||(r=r===null?Me.errors:r.concat(Me.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.prefix!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.suffix!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let m=s.tsConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(h!=="fileName"){return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.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=C===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let m=s.tsPreCompilationDeps;const C=e,B=e;let j=!1,h=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var q=M===e;q&&(j=!0,h=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}if(m!=="specify"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:$e.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[b]:r.push(b),e++}var q=L===e;if(q&&j?(j=!1,h=[h,1]):q&&(j=!0,h=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let m=s.extraExtensionsToScan;const C=e;if(e===C)if(Array.isArray(m)){var U=!0;const j=m.length;for(let h=0;h<j;h++){const M=e;if(typeof m[h]!="string")return E.errors=[{instancePath:t+"/extraExtensionsToScan/"+h,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=M===e;if(!U)break}}else return E.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let m=s.externalModuleResolutionStrategy;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="node_modules"||m==="yarn-pnp"))return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:$e.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let m=s.builtInModules;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(!(h==="override"||h==="add")){return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.override!==void 0){let h=m.override;const M=e;if(e===M)if(Array.isArray(h)){var $=!0;const L=h.length;for(let N=0;N<L;N++){const b=e;if(typeof h[N]!="string")return E.errors=[{instancePath:t+"/builtInModules/override/"+N,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var $=b===e;if(!$)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 _=M===e}else var _=!0;if(_)if(m.add!==void 0){let h=m.add;const M=e;if(e===M)if(Array.isArray(h)){var w=!0;const N=h.length;for(let b=0;b<N;b++){const Y=e;if(typeof h[b]!="string")return E.errors=[{instancePath:t+"/builtInModules/add/"+b,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var w=Y===e;if(!w)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 _=M===e}else var _=!0}}else return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let m=s.webpackConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(!(h==="fileName"||h==="env"||h==="arguments")){return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.fileName!==void 0){const h=e;if(typeof m.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 P=h===e}else var P=!0;if(P){if(m.env!==void 0){let h=m.env;const M=e,L=e;let N=!1,b=null;const Y=e;if(!(h&&typeof h=="object"&&!Array.isArray(h))){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[ee]:r.push(ee),e++}var X=Y===e;X&&(N=!0,b=0);const re=e;if(typeof h!="string"){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var X=re===e;if(X&&N?(N=!1,b=[b,1]):X&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var P=M===e}else var P=!0;if(P)if(m.arguments!==void 0){let h=m.arguments;const M=e;if(!(h&&typeof h=="object"&&!Array.isArray(h)))return E.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=M===e}else var P=!0}}}else return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let m=s.enhancedResolveOptions;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(!(h==="exportsFields"||h==="conditionNames"||h==="extensions"||h==="mainFields"||h==="mainFiles"||h==="aliasFields"||h==="cachedInputFileSystem")){return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.exportsFields!==void 0){let h=m.exportsFields;const M=e;if(e===M)if(Array.isArray(h)){var A=!0;const L=h.length;for(let N=0;N<L;N++){const b=e;if(typeof h[N]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+N,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var A=b===e;if(!A)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 D=M===e}else var D=!0;if(D){if(m.conditionNames!==void 0){let h=m.conditionNames;const M=e;if(e===M)if(Array.isArray(h)){var Z=!0;const N=h.length;for(let b=0;b<N;b++){const Y=e;if(typeof h[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=Y===e;if(!Z)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 D=M===e}else var D=!0;if(D){if(m.extensions!==void 0){let h=m.extensions;const M=e;if(e===M)if(Array.isArray(h)){var xe=!0;const N=h.length;for(let b=0;b<N;b++){const Y=e;if(typeof h[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=Y===e;if(!xe)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 D=M===e}else var D=!0;if(D){if(m.mainFields!==void 0){let h=m.mainFields;const M=e;if(e===M)if(Array.isArray(h)){var Q=!0;const N=h.length;for(let b=0;b<N;b++){const Y=e;if(typeof h[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Q=Y===e;if(!Q)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 D=M===e}else var D=!0;if(D){if(m.mainFiles!==void 0){const h=e;if(!Array.isArray(m.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 D=h===e}else var D=!0;if(D){if(m.aliasFields!==void 0){let h=m.aliasFields;const M=e;if(e===M)if(Array.isArray(h)){var Ue=!0;const N=h.length;for(let b=0;b<N;b++){const Y=e;if(typeof h[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ue=Y===e;if(!Ue)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 D=M===e}else var D=!0;if(D)if(m.cachedInputFileSystem!==void 0){let h=m.cachedInputFileSystem;const M=e;if(e===M)if(h&&typeof h=="object"&&!Array.isArray(h)){const N=e;for(const b in h)if(b!=="cacheDuration"){return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(N===e&&h.cacheDuration!==void 0){let b=h.cacheDuration;const Y=e;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b)))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===Y&&typeof b=="number"&&isFinite(b)){if(b>18e5||isNaN(b))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(b<0||isNaN(b))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 D=M===e}else var D=!0}}}}}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let m=s.babelConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(h!=="fileName"){return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.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=C===e}else var i=!0;if(i){if(s.parser!==void 0){let m=s.parser;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="acorn"||m==="tsc"||m==="swc"))return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:$e.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let m=s.exoticRequireStrings;const C=e;if(e===C)if(Array.isArray(m)){var Ke=!0;const j=m.length;for(let h=0;h<j;h++){const M=e;if(typeof m[h]!="string")return E.errors=[{instancePath:t+"/exoticRequireStrings/"+h,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ke=M===e;if(!Ke)break}}else return E.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const m=e;F(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:S})||(r=r===null?F.errors:r.concat(F.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.progress!==void 0){let m=s.progress;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(!(h==="type"||h==="maximumLevel")){return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.type!==void 0){let h=m.type;const M=e;if(typeof h!="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(!(h==="cli-feedback"||h==="performance-log"||h==="ndjson"||h==="none"))return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:$e.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0;if(Je)if(m.maximumLevel!==void 0){let h=m.maximumLevel;const M=e;if(!(typeof h=="number"&&isFinite(h)))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(h===-1||h===40||h===50||h===60||h===70||h===80||h===99))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:$e.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0}}else return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.metrics!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.baseDir!==void 0){const m=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=m===e}else var i=!0;if(i){if(s.cache!==void 0){let m=s.cache;const C=e,B=e;let j=!1,h=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var Ne=M===e;Ne&&(j=!0,h=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var Ne=L===e;if(Ne&&j)j=!1,h=[h,1];else{Ne&&(j=!0,h=1);const b=e;Oe(m,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:S})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=b===e;Ne&&j?(j=!1,h=[h,2]):Ne&&(j=!0,h=2)}if(j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i)if(s.baseline!==void 0){let m=s.baseline;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const h in m)if(h!=="mode"){return E.errors=[{instancePath:t+"/baseline",schemaPath:"#/properties/baseline/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.mode!==void 0){let h=m.mode;if(typeof h!="string")return E.errors=[{instancePath:t+"/baseline/mode",schemaPath:"#/properties/baseline/properties/mode/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(h==="shrink-only"||h==="full"))return E.errors=[{instancePath:t+"/baseline/mode",schemaPath:"#/properties/baseline/properties/mode/enum",keyword:"enum",params:{allowedValues:$e.properties.baseline.properties.mode.enum},message:"must be equal to one of the allowed values"}],!1}}else return E.errors=[{instancePath:t+"/baseline",schemaPath:"#/properties/baseline/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===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 de(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const c=e;for(const d in s)if(!(d==="$schema"||d==="forbidden"||d==="allowed"||d==="allowedSeverity"||d==="required"||d==="options"||d==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.$schema!==void 0){const d=e;if(typeof s.$schema!="string")return de.errors=[{instancePath:t+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.forbidden!==void 0){let d=s.forbidden;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;Ve(d[v],{instancePath:t+"/forbidden/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?Ve.errors:r.concat(Ve.errors),e=r.length);var l=u===e;if(!l)break}}else return de.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowed!==void 0){let d=s.allowed;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;He(d[v],{instancePath:t+"/allowed/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var n=u===e;if(!n)break}}else return de.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowedSeverity!==void 0){let d=s.allowedSeverity;const o=e;if(typeof d!="string")return de.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 de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.required!==void 0){let d=s.required;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;fe(d[v],{instancePath:t+"/required/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=u===e;if(!i)break}}else return de.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.options!==void 0){const d=e;E(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:S})||(r=r===null?E.errors:r.concat(E.errors),e=r.length);var a=d===e}else var a=!0;if(a)if(s.extends!==void 0){let d=s.extends;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var T=u===e;T&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var g=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/extends/"+I,schemaPath:"#/definitions/ExtendsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var g=J===e;if(!g)break}}else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var T=f===e;if(T&&y?(y=!1,v=[v,1]):T&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,de.errors=r,!1}var a=o===e}else var a=!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}
|