dependency-cruiser 18.4.0 → 18.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";export const validate=de;export default de;const Ce={type:"string",enum:["error","warn","info","ignore"]};const We={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function ue(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot"||h==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var a=!0;const f=h.length;for(let k=0;k<f;k++){const O=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n){if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var i=!0;const k=h.length;for(let O=0;O<k;O++){const I=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n)if(s.orphan!==void 0){const h=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=h===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 Xe={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:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e,g=e;let T=!1,h=null;const u=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=u===e;y&&(T=!0,h=0);const o=e;if(e===o)if(Array.isArray(s)){var p=!0;const R=s.length;for(let M=0;M<R;M++){const V=e;if(typeof s[M]!="string"){const _={instancePath:t+"/"+M,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=V===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,h=[h,1]):y&&(T=!0,h=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:h},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 M in s)if(!(M==="path"||M==="pathNot"||M==="dependencyTypes"||M==="dependencyTypesNot")){const V={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:M},message:"must NOT have additional properties"};r===null?r=[V]:r.push(V),e++;break}if(R===e){if(s.path!==void 0){let M=s.path;const V=e,$=e;let _=!1,w=null;const P=e;if(typeof M!="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(M)){var c=!0;const A=M.length;for(let D=0;D<A;D++){const Z=e;if(typeof M[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 c=Z===e;if(!c)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=V===e}else var k=!0;if(k){if(s.pathNot!==void 0){let M=s.pathNot;const V=e,$=e;let _=!1,w=null;const P=e;if(typeof M!="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(M)){var O=!0;const D=M.length;for(let Z=0;Z<D;Z++){const xe=e;if(typeof M[Z]!="string"){const Ve={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ve]:r.push(Ve),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=V===e}else var k=!0;if(k){if(s.dependencyTypes!==void 0){let M=s.dependencyTypes;const V=e;if(e===V)if(Array.isArray(M)){var J=!0;const _=M.length;for(let w=0;w<_;w++){let P=M[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=V===e}else var k=!0;if(k)if(s.dependencyTypesNot!==void 0){let M=s.dependencyTypesNot;const V=e;if(e===V)if(Array.isArray(M)){var z=!0;const _=M.length;for(let w=0;w<_;w++){let P=M[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=V===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:U,parentDataProperty:H,rootData:E=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(Xe.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 M=e,V=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=V,r!==null&&(V?r.length=V: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=M===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const M=e,V=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=V,r!==null&&(V?r.length=V: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=M===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 M=e,V=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 h=w===e;h&&($=!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 h=P===e;if(h&&$?($=!1,_=[_,1]):h&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=M===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const M=e,V=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 u=!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 u=Z===e;if(!u)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=V,r!==null&&(V?r.length=V: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=M===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 M=e;if(e===M)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=M===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const M=e;if(e===M)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=M===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 M=e,V=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 c=w===e;c&&($=!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 c=P===e;if(c&&$?($=!1,_=[_,1]):c&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=M===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const M=e,V=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=V,r!==null&&(V?r.length=V: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=M===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:E})||(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:E})||(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 M=e,V=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=V,r!==null&&(V?r.length=V: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=M===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const M=e,V=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=V,r!==null&&(V?r.length=V: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=M===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:U,parentDataProperty:H,rootData:E=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:Ce.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:We.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:E})||(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:E})||(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 Ye={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:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var a=!0;const f=h.length;for(let k=0;k<f;k++){const O=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var i=!0;const k=h.length;for(let O=0;O<k;O++){const I=e;if(typeof h[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=c===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=u===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:U,parentDataProperty:H,rootData:E=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 h=e;for(const u in s)if(!(u==="path"||u==="pathNot"||u==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.path!==void 0){let u=s.path;const o=e,p=e;let y=!1,v=null;const c=e;if(typeof u!="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=c===e;l&&(y=!0,v=0);const f=e;if(e===f)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"){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 u=s.pathNot;const o=e,p=e;let y=!1,v=null;const c=e;if(typeof u!="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=c===e;g&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(u)){var i=!0;const O=u.length;for(let I=0;I<O;I++){const J=e;if(typeof u[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 u=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=u===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:U,parentDataProperty:H,rootData:E=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:Ce.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: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 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:E})||(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:E})||(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 Ze={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:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot"||h==="numberOfDependentsLessThan"||h==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var a=!0;const f=h.length;for(let k=0;k<f;k++){const O=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n){if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var i=!0;const k=h.length;for(let O=0;O<k;O++){const I=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let h=s.numberOfDependentsLessThan;const u=e;if(!(typeof h=="number"&&!(h%1)&&!isNaN(h)&&isFinite(h)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===u&&typeof h=="number"&&isFinite(h)){if(h>100||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(h<0||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=u===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let h=s.numberOfDependentsMoreThan;const u=e;if(!(typeof h=="number"&&!(h%1)&&!isNaN(h)&&isFinite(h)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===u&&typeof h=="number"&&isFinite(h)){if(h>100||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(h<0||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=u===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 Ee(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var a=!0;const f=h.length;for(let k=0;k<f;k++){const O=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var i=!0;const k=h.length;for(let O=0;O<k;O++){const I=e;if(typeof h[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=c===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=u===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 le(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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:Ce.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: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.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:E})||(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;Ee(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:E})||(r=r===null?Ee.errors:r.concat(Ee.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 Ue(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:U,parentDataProperty:H,rootData:E})||(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:U,parentDataProperty:H,rootData:E})||(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 h=e;le(s,{instancePath:t,parentData:U,parentDataProperty:H,rootData:E})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var T=h===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 h={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,Ue.errors=r,!1}return Ue.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/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function be(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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: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;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:E})||(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:E})||(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 rr={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:U,parentDataProperty:H,rootData:E=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: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.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:E})||(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:E})||(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:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;be(s,{instancePath:t,parentData:U,parentDataProperty:H,rootData:E})||(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:U,parentDataProperty:H,rootData:E})||(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 h={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,He.errors=r,!1}return He.errors=r,e===0}const sr={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 De(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var a=!0;const f=h.length;for(let k=0;k<f;k++){const O=e;if(typeof h[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=c===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=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,y=null;const v=e;if(typeof h!="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 c=e;if(e===c)if(Array.isArray(h)){var i=!0;const k=h.length;for(let O=0;O<k;O++){const I=e;if(typeof h[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=c===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=u===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 je(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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,h=e;let u=!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&&(u=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const f=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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&&u?(u=!1,o=[o,1]):l&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:H,rootData:E=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:Ce.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:sr.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;De(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:E})||(r=r===null?De.errors:r.concat(De.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:E})||(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","format"]},staleEntriesSeverity:{$ref:"#/definitions/SeverityType"}}}}};function Pe(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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 h=e,u=e;let o=!1,p=null;const y=e;if(typeof T!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var l=y===e;l&&(o=!0,p=0);const v=e;if(e===v)if(Array.isArray(T)){var a=!0;const c=T.length;for(let f=0;f<c;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 c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var l=v===e;if(l&&o?(o=!1,p=[p,1]):l&&(o=!0,p=1),o)e=u,r!==null&&(u?r.length=u:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Pe.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const h=e;if(e===h)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=h===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:U,parentDataProperty:H,rootData:E=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,h=e;let u=!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&&(u=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const f=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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&&u?(u=!1,o=[o,1]):l&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:H,rootData:E=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,h=null;const u=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=u===e;l&&(T=!0,h=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,h=[h,1]):l&&(T=!0,h=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:h},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:U,parentDataProperty:H,rootData:E=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,h=e;let u=!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&&(u=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const f=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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&&u?(u=!1,o=[o,1]):l&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:H,rootData:E=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,h=null;const u=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=u===e;l&&(T=!0,h=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,h=[h,1]):l&&(T=!0,h=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:h},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:U,parentDataProperty:H,rootData:E=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,h=null;const u=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=u===e;l&&(T=!0,h=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,h=[h,1]):l&&(T=!0,h=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:h},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 tr={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"}}},ir={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function ke(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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:Ce.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:U,parentDataProperty:H,rootData:E=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 u=g.length;for(let o=0;o<u;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:U,parentDataProperty:H,rootData:E=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 h=e;for(const u in s)if(!Be.call(tr.properties,u)){return G.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.from!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.to!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.unresolvedTo!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let u=s.dependencyTypes;const o=e;if(e===o)if(Array.isArray(u)){var l=!0;const y=u.length;for(let v=0;v<y;v++){let c=u[v];const f=e;if(typeof c!="string")return G.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(c==="aliased-subpath-import"||c==="aliased-tsconfig-base-url"||c==="aliased-tsconfig-paths"||c==="aliased-tsconfig"||c==="aliased-webpack"||c==="aliased-workspace"||c==="aliased"||c==="amd-define"||c==="amd-require"||c==="amd-exotic-require"||c==="core"||c==="deprecated"||c==="dynamic-import"||c==="exotic-require"||c==="export"||c==="import-equals"||c==="import"||c==="jsdoc"||c==="jsdoc-bracket-import"||c==="jsdoc-import-tag"||c==="local"||c==="localmodule"||c==="npm-bundled"||c==="npm-dev"||c==="npm-no-pkg"||c==="npm-optional"||c==="npm-peer"||c==="npm-unknown"||c==="npm"||c==="pre-compilation-only"||c==="process-get-builtin-module"||c==="require"||c==="triple-slash-amd-dependency"||c==="triple-slash-directive"||c==="triple-slash-file-reference"||c==="triple-slash-type-reference"||c==="type-import"||c==="type-only"||c==="undetermined"||c==="unknown"))return 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 u=s.type;const o=e;if(typeof u!="string")return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="dependency"||u==="module"||u==="reachability"||u==="cycle"||u==="instability"||u==="folder"))return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:ir.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 u=e;ke(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:E})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var a=u===e}else var a=!0;if(a){if(s.cycle!==void 0){let u=s.cycle;const o=e;if(e===o)if(Array.isArray(u)){var n=!0;const y=u.length;for(let v=0;v<y;v++){const c=e;ae(u[v],{instancePath:t+"/cycle/"+v,parentData:u,parentDataProperty:v,rootData:E})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=c===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 u=s.via;const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const y=u.length;for(let v=0;v<y;v++){const c=e;ae(u[v],{instancePath:t+"/via/"+v,parentData:u,parentDataProperty:v,rootData:E})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=c===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 u=s.metrics;const o=e;if(e===o)if(u&&typeof u=="object"&&!Array.isArray(u)){let y;if(u.from===void 0&&(y="from")||u.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 c in u)if(!(c==="from"||c==="to")){return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(v===e){if(u.from!==void 0){let c=u.from;const f=e;if(e===f)if(c&&typeof c=="object"&&!Array.isArray(c)){let k;if(c.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 c)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&&c.instability!==void 0){let I=c.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(u.to!==void 0){let c=u.to;const f=e;if(e===f)if(c&&typeof c=="object"&&!Array.isArray(c)){let O;if(c.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 c)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&&c.instability!==void 0){let J=c.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 u=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=u===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:U,parentDataProperty:H,rootData:E=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:E})||(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 nr={type:"string",enum:["cjs","es6","amd","tsd"]};function Me(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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:nr.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 ar={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 or={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"}}},pr={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ie(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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 Ie.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:E})||(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:E})||(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:E})||(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:E})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!0}}}}else return Ie.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ie.errors=r,e===0}function ce(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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:U,parentDataProperty:H,rootData:E=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:E})||(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:E})||(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:U,parentDataProperty:H,rootData:E=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,h=e;let u=!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&&(u=!0,o=0);const y=e;if(e===y)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const f=e;if(typeof g[c]!="string"){const O={instancePath:t+"/collapsePattern/"+c,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&&u?(u=!1,o=[o,1]):l&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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;Ie(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:E})||(r=r===null?Ie.errors:r.concat(Ie.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:E})||(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:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const u=e;for(const o in s)if(!Be.call(ar.properties,o)){return F.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(u===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 c in o)if(c!=="wordlist"){return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(v===e&&o.wordlist!==void 0){let c=o.wordlist;if(e===e)if(Array.isArray(c)){var a=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[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:E})||(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:E})||(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:E})||(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:E})||(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 c=e;for(const f in o)if(!Be.call(or.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(c===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 c=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(c===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:pr.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 c=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(c===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 c=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(c===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 c=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(c===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 c=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(c===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 c=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(c===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 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-html/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-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 lr={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=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:lr.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 S(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Qe=e;for(const m in s)if(!Be.call($e.properties,m)){return S.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(Qe===e){if(s.doNotFollow!==void 0){let m=s.doNotFollow;const C=e,B=e;let j=!1,d=null;const q=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=q===e;n&&(j=!0,d=0);const he=e;Pe(m,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:E})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=he===e;if(n&&j?(j=!1,d=[d,1]):n&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,S.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,d=null;const q=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 h=q===e;h&&(j=!0,d=0);const he=e;ve(m,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:E})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var h=he===e;if(h&&j?(j=!1,d=[d,1]):h&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.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,d=null;const q=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 u=!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 u=_e===e;if(!u)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=q===e;p&&(j=!0,d=0);const he=e;Ae(m,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:E})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var p=he===e;if(p&&j?(j=!1,d=[d,1]):p&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.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,d=null;const q=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 c=q===e;c&&(j=!0,d=0);const he=e;me(m,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:E})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var c=he===e;if(c&&j?(j=!1,d=[d,1]):c&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.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,d=null;const q=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=q===e;O&&(j=!0,d=0);const he=e;Re(m,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:E})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var O=he===e;if(O&&j?(j=!1,d=[d,1]):O&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.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,d=null;const q=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=q===e;I&&(j=!0,d=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,d=[d,1]):I&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.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,d=null;const q=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=q===e;se&&(j=!0,d=0);const he=e;qe(m,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:E})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var se=he===e;if(se&&j?(j=!1,d=[d,1]):se&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.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 S.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:E})||(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,d=null;const q=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=q===e;R&&(j=!0,d=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,d=[d,1]):R&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.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 S.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 S.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 S.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:E})||(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 S.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 S.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 S.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 S.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 S.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 S.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 d in m)if(d!=="fileName"){return S.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.fileName!="string")return S.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return S.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,d=null;const q=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 M=q===e;M&&(j=!0,d=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 M=L===e;if(M&&j?(j=!1,d=[d,1]):M&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.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 V=!0;const j=m.length;for(let d=0;d<j;d++){const q=e;if(typeof m[d]!="string")return S.errors=[{instancePath:t+"/extraExtensionsToScan/"+d,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var V=q===e;if(!V)break}}else return S.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 S.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 S.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 d in m)if(!(d==="override"||d==="add")){return S.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.override!==void 0){let d=m.override;const q=e;if(e===q)if(Array.isArray(d)){var $=!0;const L=d.length;for(let N=0;N<L;N++){const b=e;if(typeof d[N]!="string")return S.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 S.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=q===e}else var _=!0;if(_)if(m.add!==void 0){let d=m.add;const q=e;if(e===q)if(Array.isArray(d)){var w=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=q===e}else var _=!0}}else return S.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 S.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 d in m)if(!(d==="fileName"||d==="env"||d==="arguments")){return S.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.fileName!==void 0){const d=e;if(typeof m.fileName!="string")return S.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var P=d===e}else var P=!0;if(P){if(m.env!==void 0){let d=m.env;const q=e,L=e;let N=!1,b=null;const Y=e;if(!(d&&typeof d=="object"&&!Array.isArray(d))){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 d!="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++,S.errors=r,!1}var P=q===e}else var P=!0;if(P)if(m.arguments!==void 0){let d=m.arguments;const q=e;if(!(d&&typeof d=="object"&&!Array.isArray(d)))return S.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=q===e}else var P=!0}}}else return S.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 d in m)if(!(d==="exportsFields"||d==="conditionNames"||d==="extensions"||d==="mainFields"||d==="mainFiles"||d==="aliasFields"||d==="cachedInputFileSystem")){return S.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.exportsFields!==void 0){let d=m.exportsFields;const q=e;if(e===q)if(Array.isArray(d)){var A=!0;const L=d.length;for(let N=0;N<L;N++){const b=e;if(typeof d[N]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=q===e}else var D=!0;if(D){if(m.conditionNames!==void 0){let d=m.conditionNames;const q=e;if(e===q)if(Array.isArray(d)){var Z=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=q===e}else var D=!0;if(D){if(m.extensions!==void 0){let d=m.extensions;const q=e;if(e===q)if(Array.isArray(d)){var xe=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=q===e}else var D=!0;if(D){if(m.mainFields!==void 0){let d=m.mainFields;const q=e;if(e===q)if(Array.isArray(d)){var Q=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=q===e}else var D=!0;if(D){if(m.mainFiles!==void 0){const d=e;if(!Array.isArray(m.mainFiles))return S.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=d===e}else var D=!0;if(D){if(m.aliasFields!==void 0){let d=m.aliasFields;const q=e;if(e===q)if(Array.isArray(d)){var Ve=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=Y===e;if(!Ve)break}}else return S.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=q===e}else var D=!0;if(D)if(m.cachedInputFileSystem!==void 0){let d=m.cachedInputFileSystem;const q=e;if(e===q)if(d&&typeof d=="object"&&!Array.isArray(d)){const N=e;for(const b in d)if(b!=="cacheDuration"){return S.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&&d.cacheDuration!==void 0){let b=d.cacheDuration;const Y=e;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b)))return S.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 S.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 S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var D=q===e}else var D=!0}}}}}}}else return S.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 d in m)if(d!=="fileName"){return S.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.fileName!="string")return S.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return S.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 S.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 S.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 ze=!0;const j=m.length;for(let d=0;d<j;d++){const q=e;if(typeof m[d]!="string")return S.errors=[{instancePath:t+"/exoticRequireStrings/"+d,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ze=q===e;if(!ze)break}}else return S.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:E})||(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 d in m)if(!(d==="type"||d==="maximumLevel")){return S.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.type!==void 0){let d=m.type;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="cli-feedback"||d==="performance-log"||d==="ndjson"||d==="none"))return S.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=q===e}else var Je=!0;if(Je)if(m.maximumLevel!==void 0){let d=m.maximumLevel;const q=e;if(!(typeof d=="number"&&isFinite(d)))return S.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(d===-1||d===40||d===50||d===60||d===70||d===80||d===99))return S.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=q===e}else var Je=!0}}else return S.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 S.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 S.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 S.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 S.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,d=null;const q=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=q===e;Ne&&(j=!0,d=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,d=[d,1];else{Ne&&(j=!0,d=1);const b=e;Oe(m,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:E})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=b===e;Ne&&j?(j=!1,d=[d,2]):Ne&&(j=!0,d=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:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.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 d in m)if(!(d==="mode"||d==="staleEntriesSeverity")){return S.errors=[{instancePath:t+"/baseline",schemaPath:"#/properties/baseline/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.mode!==void 0){let d=m.mode;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/baseline/mode",schemaPath:"#/properties/baseline/properties/mode/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="shrink-only"||d==="full"||d==="format"))return S.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;var Ke=q===e}else var Ke=!0;if(Ke)if(m.staleEntriesSeverity!==void 0){let d=m.staleEntriesSeverity;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/baseline/staleEntriesSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="error"||d==="warn"||d==="info"||d==="ignore"))return S.errors=[{instancePath:t+"/baseline/staleEntriesSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var Ke=q===e}else var Ke=!0}}else return S.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 S.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return S.errors=r,e===0}function de(s,{instancePath:t="",parentData:U,parentDataProperty:H,rootData:E=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const h=e;for(const u in s)if(!(u==="$schema"||u==="forbidden"||u==="allowed"||u==="allowedSeverity"||u==="required"||u==="options"||u==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.$schema!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.forbidden!==void 0){let u=s.forbidden;const o=e;if(e===o)if(Array.isArray(u)){var l=!0;const y=u.length;for(let v=0;v<y;v++){const c=e;Ue(u[v],{instancePath:t+"/forbidden/"+v,parentData:u,parentDataProperty:v,rootData:E})||(r=r===null?Ue.errors:r.concat(Ue.errors),e=r.length);var l=c===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 u=s.allowed;const o=e;if(e===o)if(Array.isArray(u)){var n=!0;const y=u.length;for(let v=0;v<y;v++){const c=e;He(u[v],{instancePath:t+"/allowed/"+v,parentData:u,parentDataProperty:v,rootData:E})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var n=c===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 u=s.allowedSeverity;const o=e;if(typeof u!="string")return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="error"||u==="warn"||u==="info"||u==="ignore"))return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ce.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 u=s.required;const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const y=u.length;for(let v=0;v<y;v++){const c=e;fe(u[v],{instancePath:t+"/required/"+v,parentData:u,parentDataProperty:v,rootData:E})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=c===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 u=e;S(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:E})||(r=r===null?S.errors:r.concat(S.errors),e=r.length);var a=u===e}else var a=!0;if(a)if(s.extends!==void 0){let u=s.extends;const o=e,p=e;let y=!1,v=null;const c=e;if(typeof u!="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=c===e;T&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(u)){var g=!0;const O=u.length;for(let I=0;I<O;I++){const J=e;if(typeof u[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}
1
+ "use strict";export const validate=de;export default de;const Ce={type:"string",enum:["error","warn","info","ignore"]};const We={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function ue(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot"||h==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=v===e;f&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var a=!0;const l=h.length;for(let P=0;P<l;P++){const O=e;if(typeof h[P]!="string"){const J={instancePath:t+"/path/"+P,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 l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=c===e;if(f&&p?(p=!1,m=[m,1]):f&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,ue.errors=r,!1}var n=u===e}else var n=!0;if(n){if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var g=v===e;g&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var i=!0;const P=h.length;for(let O=0;O<P;O++){const I=e;if(typeof h[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 P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var g=c===e;if(g&&p?(p=!1,m=[m,1]):g&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,ue.errors=r,!1}var n=u===e}else var n=!0;if(n)if(s.orphan!==void 0){const h=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=h===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 Xe={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"]},Le=Object.prototype.hasOwnProperty;function Se(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e,g=e;let T=!1,h=null;const u=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 m=u===e;m&&(T=!0,h=0);const o=e;if(e===o)if(Array.isArray(s)){var p=!0;const R=s.length;for(let F=0;F<R;F++){const V=e;if(typeof s[F]!="string"){const _={instancePath:t+"/"+F,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=V===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 m=o===e;if(m&&T?(T=!1,h=[h,1]):m&&(T=!0,h=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:h},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var se=i===e;se&&(f=!0,n=0);const v=e;if(e===v)if(s&&typeof s=="object"&&!Array.isArray(s)){const R=e;for(const F in s)if(!(F==="path"||F==="pathNot"||F==="dependencyTypes"||F==="dependencyTypesNot")){const V={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:F},message:"must NOT have additional properties"};r===null?r=[V]:r.push(V),e++;break}if(R===e){if(s.path!==void 0){let F=s.path;const V=e,$=e;let _=!1,w=null;const k=e;if(typeof F!="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 l=k===e;l&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(F)){var c=!0;const A=F.length;for(let E=0;E<A;E++){const Z=e;if(typeof F[E]!="string"){const Q={instancePath:t+"/path/"+E,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 c=Z===e;if(!c)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 l=X===e;if(l&&_?(_=!1,w=[w,1]):l&&(_=!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 P=V===e}else var P=!0;if(P){if(s.pathNot!==void 0){let F=s.pathNot;const V=e,$=e;let _=!1,w=null;const k=e;if(typeof F!="string"){const E={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[E]:r.push(E),e++}var I=k===e;I&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(F)){var O=!0;const E=F.length;for(let Z=0;Z<E;Z++){const xe=e;if(typeof F[Z]!="string"){const Ve={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ve]:r.push(Ve),e++}var O=xe===e;if(!O)break}}else{const E={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[E]:r.push(E),e++}var I=X===e;if(I&&_?(_=!1,w=[w,1]):I&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const E={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[E]:r.push(E),e++}var P=V===e}else var P=!0;if(P){if(s.dependencyTypes!==void 0){let F=s.dependencyTypes;const V=e;if(e===V)if(Array.isArray(F)){var J=!0;const _=F.length;for(let w=0;w<_;w++){let k=F[w];const X=e;if(typeof k!="string"){const E={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[E]:r.push(E),e++}if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown")){const E={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=[E]:r.push(E),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 P=V===e}else var P=!0;if(P)if(s.dependencyTypesNot!==void 0){let F=s.dependencyTypesNot;const V=e;if(e===V)if(Array.isArray(F)){var z=!0;const _=F.length;for(let w=0;w<_;w++){let k=F[w];const X=e;if(typeof k!="string"){const E={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[E]:r.push(E),e++}if(!(k==="aliased-subpath-import"||k==="aliased-tsconfig-base-url"||k==="aliased-tsconfig-paths"||k==="aliased-tsconfig"||k==="aliased-webpack"||k==="aliased-workspace"||k==="aliased"||k==="amd-define"||k==="amd-require"||k==="amd-exotic-require"||k==="core"||k==="deprecated"||k==="dynamic-import"||k==="exotic-require"||k==="export"||k==="import-equals"||k==="import"||k==="jsdoc"||k==="jsdoc-bracket-import"||k==="jsdoc-import-tag"||k==="local"||k==="localmodule"||k==="npm-bundled"||k==="npm-dev"||k==="npm-no-pkg"||k==="npm-optional"||k==="npm-peer"||k==="npm-unknown"||k==="npm"||k==="pre-compilation-only"||k==="process-get-builtin-module"||k==="require"||k==="triple-slash-amd-dependency"||k==="triple-slash-directive"||k==="triple-slash-file-reference"||k==="triple-slash-type-reference"||k==="type-import"||k==="type-only"||k==="undetermined"||k==="unknown")){const E={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=[E]:r.push(E),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 P=V===e}else var P=!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&&f?(f=!1,n=[n,1]):se&&(f=!0,n=1),f)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:U,parentDataProperty:B,rootData:D=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(!Le.call(Xe.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 F=e,V=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 f=w===e;f&&($=!0,_=0);const k=e;if(e===k)if(Array.isArray(R)){var a=!0;const X=R.length;for(let A=0;A<X;A++){const E=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=E===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 f=k===e;if(f&&$?($=!1,_=[_,1]):f&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const F=e,V=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 k=e;if(e===k)if(Array.isArray(R)){var i=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/pathNot/"+E,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=k===e;if(g&&$?($=!1,_=[_,1]):g&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===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 F=e,V=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 h=w===e;h&&($=!0,_=0);const k=e;if(e===k)if(Array.isArray(R)){var T=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/exoticRequire/"+E,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 h=k===e;if(h&&$?($=!1,_=[_,1]):h&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const F=e,V=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 k=e;if(e===k)if(Array.isArray(R)){var u=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/exoticRequireNot/"+E,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+"/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=k===e;if(o&&$?($=!1,_=[_,1]):o&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===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 F=e;if(e===F)if(Array.isArray(R)){var p=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const k=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=k===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=F===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const F=e;if(e===F)if(Array.isArray(R)){var m=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const k=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 m=k===e;if(!m)break}}else return K.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=F===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 F=e,V=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 c=w===e;c&&($=!0,_=0);const k=e;if(e===k)if(Array.isArray(R)){var v=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/license/"+E,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 c=k===e;if(c&&$?($=!1,_=[_,1]):c&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const F=e,V=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 P=w===e;P&&($=!0,_=0);const k=e;if(e===k)if(Array.isArray(R)){var l=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/licenseNot/"+E,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 l=Z===e;if(!l)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 P=k===e;if(P&&$?($=!1,_=[_,1]):P&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===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:D})||(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:D})||(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 F=e,V=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 k=e;if(e===k)if(Array.isArray(R)){var O=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/viaNot/"+E,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=k===e;if(I&&$?($=!1,_=[_,1]):I&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const F=e,V=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 k=e;if(e===k)if(Array.isArray(R)){var J=!0;const A=R.length;for(let E=0;E<A;E++){const Z=e;if(typeof R[E]!="string"){const Q={instancePath:t+"/viaSomeNot/"+E,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=k===e;if(z&&$?($=!1,_=[_,1]):z&&($=!0,_=1),$)e=V,r!==null&&(V?r.length=V: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=F===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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return oe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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:Ce.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:We.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:D})||(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:D})||(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 Ye={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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=v===e;f&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var a=!0;const l=h.length;for(let P=0;P<l;P++){const O=e;if(typeof h[P]!="string"){const J={instancePath:t+"/path/"+P,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 l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=c===e;if(f&&p?(p=!1,m=[m,1]):f&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,ge.errors=r,!1}var n=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var g=v===e;g&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var i=!0;const P=h.length;for(let O=0;O<P;O++){const I=e;if(typeof h[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 P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var g=c===e;if(g&&p?(p=!1,m=[m,1]):g&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,ge.errors=r,!1}var n=u===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:U,parentDataProperty:B,rootData:D=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 h=e;for(const u in s)if(!(u==="path"||u==="pathNot"||u==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.path!==void 0){let u=s.path;const o=e,p=e;let m=!1,v=null;const c=e;if(typeof u!="string"){const P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var f=c===e;f&&(m=!0,v=0);const l=e;if(e===l)if(Array.isArray(u)){var a=!0;const P=u.length;for(let O=0;O<P;O++){const I=e;if(typeof u[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 P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var f=l===e;if(f&&m?(m=!1,v=[v,1]):f&&(m=!0,v=1),m)e=p,r!==null&&(p?r.length=p:r=null);else{const P={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n){if(s.pathNot!==void 0){let u=s.pathNot;const o=e,p=e;let m=!1,v=null;const c=e;if(typeof u!="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=c===e;g&&(m=!0,v=0);const l=e;if(e===l)if(Array.isArray(u)){var i=!0;const O=u.length;for(let I=0;I<O;I++){const J=e;if(typeof u[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=l===e;if(g&&m?(m=!1,v=[v,1]):g&&(m=!0,v=1),m)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 u=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=u===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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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:Ce.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: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 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:D})||(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:D})||(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 Ze={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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot"||h==="numberOfDependentsLessThan"||h==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=v===e;f&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var a=!0;const l=h.length;for(let P=0;P<l;P++){const O=e;if(typeof h[P]!="string"){const J={instancePath:t+"/path/"+P,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 l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=c===e;if(f&&p?(p=!1,m=[m,1]):f&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,ne.errors=r,!1}var n=u===e}else var n=!0;if(n){if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var g=v===e;g&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var i=!0;const P=h.length;for(let O=0;O<P;O++){const I=e;if(typeof h[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 P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var g=c===e;if(g&&p?(p=!1,m=[m,1]):g&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,ne.errors=r,!1}var n=u===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let h=s.numberOfDependentsLessThan;const u=e;if(!(typeof h=="number"&&!(h%1)&&!isNaN(h)&&isFinite(h)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===u&&typeof h=="number"&&isFinite(h)){if(h>100||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(h<0||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=u===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let h=s.numberOfDependentsMoreThan;const u=e;if(!(typeof h=="number"&&!(h%1)&&!isNaN(h)&&isFinite(h)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===u&&typeof h=="number"&&isFinite(h)){if(h>100||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(h<0||isNaN(h))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=u===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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=v===e;f&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var a=!0;const l=h.length;for(let P=0;P<l;P++){const O=e;if(typeof h[P]!="string"){const J={instancePath:t+"/path/"+P,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 l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=c===e;if(f&&p?(p=!1,m=[m,1]):f&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,De.errors=r,!1}var n=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var g=v===e;g&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var i=!0;const P=h.length;for(let O=0;O<P;O++){const I=e;if(typeof h[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 P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var g=c===e;if(g&&p?(p=!1,m=[m,1]):g&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,De.errors=r,!1}var n=u===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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.from===void 0&&(f="from"))return le.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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:Ce.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: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.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:D})||(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:D})||(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 Ue(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:U,parentDataProperty:B,rootData:D})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var T=i===e;T&&(f=!0,n=0);const g=e;pe(s,{instancePath:t,parentData:U,parentDataProperty:B,rootData:D})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var T=g===e;if(T&&f)f=!1,n=[n,1];else{T&&(f=!0,n=1);const h=e;le(s,{instancePath:t,parentData:U,parentDataProperty:B,rootData:D})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var T=h===e;T&&f?(f=!1,n=[n,2]):T&&(f=!0,n=2)}if(f)e=a,r!==null&&(a?r.length=a:r=null);else{const h={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,Ue.errors=r,!1}return Ue.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/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function be(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return be.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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: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;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:D})||(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:D})||(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 rr={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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return we.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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: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.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:D})||(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:D})||(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 Be(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e;be(s,{instancePath:t,parentData:U,parentDataProperty:B,rootData:D})||(r=r===null?be.errors:r.concat(be.errors),e=r.length);var T=i===e;T&&(f=!0,n=0);const g=e;we(s,{instancePath:t,parentData:U,parentDataProperty:B,rootData:D})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var T=g===e;if(T&&f?(f=!1,n=[n,1]):T&&(f=!0,n=1),f)e=a,r!==null&&(a?r.length=a:r=null);else{const h={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[h]:r.push(h),e++,Be.errors=r,!1}return Be.errors=r,e===0}const sr={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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const h in s)if(!(h==="path"||h==="pathNot")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let h=s.path;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=v===e;f&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var a=!0;const l=h.length;for(let P=0;P<l;P++){const O=e;if(typeof h[P]!="string"){const J={instancePath:t+"/path/"+P,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 l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=c===e;if(f&&p?(p=!1,m=[m,1]):f&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Ee.errors=r,!1}var n=u===e}else var n=!0;if(n)if(s.pathNot!==void 0){let h=s.pathNot;const u=e,o=e;let p=!1,m=null;const v=e;if(typeof h!="string"){const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[P]:r.push(P),e++}var g=v===e;g&&(p=!0,m=0);const c=e;if(e===c)if(Array.isArray(h)){var i=!0;const P=h.length;for(let O=0;O<P;O++){const I=e;if(typeof h[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 P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[P]:r.push(P),e++}var g=c===e;if(g&&p?(p=!1,m=[m,1]):g&&(p=!0,m=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const P={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};return r===null?r=[P]:r.push(P),e++,Ee.errors=r,!1}var n=u===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:U,parentDataProperty:B,rootData:D=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,h=e;let u=!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 f=p===e;f&&(u=!0,o=0);const m=e;if(e===m)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const l=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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=l===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 f=m===e;if(f&&u?(u=!1,o=[o,1]):f&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.to===void 0&&(f="to"))return fe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!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:Ce.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:sr.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:D})||(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:D})||(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"},detectImportsInAmbientModules:{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","format"]},staleEntriesSeverity:{$ref:"#/definitions/SeverityType"}}}}};function ke(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=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 ke.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 h=e,u=e;let o=!1,p=null;const m=e;if(typeof T!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=m===e;f&&(o=!0,p=0);const v=e;if(e===v)if(Array.isArray(T)){var a=!0;const c=T.length;for(let l=0;l<c;l++){const P=e;if(typeof T[l]!="string"){const I={instancePath:t+"/path/"+l,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=P===e;if(!a)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=v===e;if(f&&o?(o=!1,p=[p,1]):f&&(o=!0,p=1),o)e=u,r!==null&&(u?r.length=u:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ke.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const h=e;if(e===h)if(Array.isArray(T)){var i=!0;const o=T.length;for(let p=0;p<o;p++){let m=T[p];const v=e;if(typeof m!="string")return ke.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="aliased-subpath-import"||m==="aliased-tsconfig-base-url"||m==="aliased-tsconfig-paths"||m==="aliased-tsconfig"||m==="aliased-webpack"||m==="aliased-workspace"||m==="aliased"||m==="amd-define"||m==="amd-require"||m==="amd-exotic-require"||m==="core"||m==="deprecated"||m==="dynamic-import"||m==="exotic-require"||m==="export"||m==="import-equals"||m==="import"||m==="jsdoc"||m==="jsdoc-bracket-import"||m==="jsdoc-import-tag"||m==="local"||m==="localmodule"||m==="npm-bundled"||m==="npm-dev"||m==="npm-no-pkg"||m==="npm-optional"||m==="npm-peer"||m==="npm-unknown"||m==="npm"||m==="pre-compilation-only"||m==="process-get-builtin-module"||m==="require"||m==="triple-slash-amd-dependency"||m==="triple-slash-directive"||m==="triple-slash-file-reference"||m==="triple-slash-type-reference"||m==="type-import"||m==="type-only"||m==="undetermined"||m==="unknown"))return ke.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 ke.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=h===e}else var n=!0}}else return ke.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ke.errors=r,e===0}function ve(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=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,h=e;let u=!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 f=p===e;f&&(u=!0,o=0);const m=e;if(e===m)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const l=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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=l===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 f=m===e;if(f&&u?(u=!1,o=[o,1]):f&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:B,rootData:D=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,h=null;const u=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 f=u===e;f&&(T=!0,h=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let m=0;m<p;m++){const v=e;if(typeof i[m]!="string"){const l={instancePath:t+"/path/"+m,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var 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 f=o===e;if(f&&T?(T=!1,h=[h,1]):f&&(T=!0,h=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:h},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:U,parentDataProperty:B,rootData:D=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,h=e;let u=!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 f=p===e;f&&(u=!0,o=0);const m=e;if(e===m)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const l=e;if(typeof g[c]!="string"){const O={instancePath:t+"/path/"+c,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=l===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 f=m===e;if(f&&u?(u=!1,o=[o,1]):f&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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:U,parentDataProperty:B,rootData:D=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,h=null;const u=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 f=u===e;f&&(T=!0,h=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let m=0;m<p;m++){const v=e;if(typeof i[m]!="string"){const l={instancePath:t+"/path/"+m,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var 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 f=o===e;if(f&&T?(T=!1,h=[h,1]):f&&(T=!0,h=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:h},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:U,parentDataProperty:B,rootData:D=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,h=null;const u=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 f=u===e;f&&(T=!0,h=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let m=0;m<p;m++){const v=e;if(typeof i[m]!="string"){const l={instancePath:t+"/path/"+m,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var 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 f=o===e;if(f&&T?(T=!1,h=[h,1]):f&&(T=!0,h=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:h},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 tr={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"}}},ir={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function Pe(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.name===void 0&&(f="name")||s.severity===void 0&&(f="severity"))return Pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity")){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:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var a=g===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}function ae(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=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 f=!0;const u=g.length;for(let o=0;o<u;o++){let p=g[o];const m=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 f=m===e;if(!f)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:U,parentDataProperty:B,rootData:D=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 h=e;for(const u in s)if(!Le.call(tr.properties,u)){return G.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.from!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.to!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.unresolvedTo!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let u=s.dependencyTypes;const o=e;if(e===o)if(Array.isArray(u)){var f=!0;const m=u.length;for(let v=0;v<m;v++){let c=u[v];const l=e;if(typeof c!="string")return G.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(c==="aliased-subpath-import"||c==="aliased-tsconfig-base-url"||c==="aliased-tsconfig-paths"||c==="aliased-tsconfig"||c==="aliased-webpack"||c==="aliased-workspace"||c==="aliased"||c==="amd-define"||c==="amd-require"||c==="amd-exotic-require"||c==="core"||c==="deprecated"||c==="dynamic-import"||c==="exotic-require"||c==="export"||c==="import-equals"||c==="import"||c==="jsdoc"||c==="jsdoc-bracket-import"||c==="jsdoc-import-tag"||c==="local"||c==="localmodule"||c==="npm-bundled"||c==="npm-dev"||c==="npm-no-pkg"||c==="npm-optional"||c==="npm-peer"||c==="npm-unknown"||c==="npm"||c==="pre-compilation-only"||c==="process-get-builtin-module"||c==="require"||c==="triple-slash-amd-dependency"||c==="triple-slash-directive"||c==="triple-slash-file-reference"||c==="triple-slash-type-reference"||c==="type-import"||c==="type-only"||c==="undetermined"||c==="unknown"))return 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 f=l===e;if(!f)break}}else return G.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.type!==void 0){let u=s.type;const o=e;if(typeof u!="string")return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="dependency"||u==="module"||u==="reachability"||u==="cycle"||u==="instability"||u==="folder"))return G.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:ir.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 u=e;Pe(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:D})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var a=u===e}else var a=!0;if(a){if(s.cycle!==void 0){let u=s.cycle;const o=e;if(e===o)if(Array.isArray(u)){var n=!0;const m=u.length;for(let v=0;v<m;v++){const c=e;ae(u[v],{instancePath:t+"/cycle/"+v,parentData:u,parentDataProperty:v,rootData:D})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=c===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 u=s.via;const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const m=u.length;for(let v=0;v<m;v++){const c=e;ae(u[v],{instancePath:t+"/via/"+v,parentData:u,parentDataProperty:v,rootData:D})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=c===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 u=s.metrics;const o=e;if(e===o)if(u&&typeof u=="object"&&!Array.isArray(u)){let m;if(u.from===void 0&&(m="from")||u.to===void 0&&(m="to"))return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const v=e;for(const c in u)if(!(c==="from"||c==="to")){return G.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(v===e){if(u.from!==void 0){let c=u.from;const l=e;if(e===l)if(c&&typeof c=="object"&&!Array.isArray(c)){let P;if(c.instability===void 0&&(P="instability"))return G.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:P},message:"must have required property '"+P+"'"}],!1;{const O=e;for(const I in c)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&&c.instability!==void 0){let I=c.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=l===e}else var g=!0;if(g)if(u.to!==void 0){let c=u.to;const l=e;if(e===l)if(c&&typeof c=="object"&&!Array.isArray(c)){let O;if(c.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 c)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&&c.instability!==void 0){let J=c.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=l===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 u=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=u===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 He(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const f=s.length;for(let n=0;n<f;n++){const i=e;G(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:D})||(r=r===null?G.errors:r.concat(G.errors),e=r.length);var a=i===e;if(!a)break}}else return He.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return He.errors=r,e===0}const nr={type:"string",enum:["cjs","es6","amd","tsd"]};function Me(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const f=s.length;for(let n=0;n<f;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:nr.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 ar={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 or={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"},showStaleBaselineDetails:{type:"boolean"},staleBaselineHeader:{type:"string"},collapseStaleBaseline:{type:"boolean"},collapseStaleBaselineMessage:{type:"string"},staleBaselineIntro:{type:"string"},showFooter:{type:"boolean"}}},pr={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ie(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Ie.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.exclude!==void 0){const n=e;ve(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:D})||(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:D})||(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:D})||(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:D})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!0}}}}else return Ie.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ie.errors=r,e===0}function ce(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=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 m=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 f=m===e}else var f=!0;if(f)if(g.attributes!==void 0){let p=g.attributes;const m=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 f=m===e}else var f=!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:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return 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:D})||(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:D})||(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:U,parentDataProperty:B,rootData:D=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,h=e;let u=!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 f=p===e;f&&(u=!0,o=0);const m=e;if(e===m)if(Array.isArray(g)){var a=!0;const v=g.length;for(let c=0;c<v;c++){const l=e;if(typeof g[c]!="string"){const O={instancePath:t+"/collapsePattern/"+c,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=l===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 f=m===e;if(f&&u?(u=!1,o=[o,1]):f&&(u=!0,o=1),u)e=h,r!==null&&(h?r.length=h: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;Ie(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:D})||(r=r===null?Ie.errors:r.concat(Ie.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:D})||(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 M(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const u=e;for(const o in s)if(!Le.call(ar.properties,o)){return M.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(u===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 c in o)if(c!=="wordlist"){return M.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(v===e&&o.wordlist!==void 0){let c=o.wordlist;if(e===e)if(Array.isArray(c)){var a=!0;const P=c.length;for(let O=0;O<P;O++){const I=e;if(typeof c[O]!="string")return M.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 M.errors=[{instancePath:t+"/anon/wordlist",schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return M.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.archi!==void 0){const o=e;te(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:D})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=o===e}else var f=!0;if(f){if(s.dot!==void 0){const o=e;te(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:D})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=o===e}else var f=!0;if(f){if(s.ddot!==void 0){const o=e;te(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:D})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=o===e}else var f=!0;if(f){if(s.flat!==void 0){const o=e;te(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:D})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=o===e}else var f=!0;if(f){if(s.markdown!==void 0){let o=s.markdown;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const c=e;for(const l in o)if(!Le.call(or.properties,l)){return M.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e){if(o.showTitle!==void 0){const l=e;if(typeof o.showTitle!="boolean")return M.errors=[{instancePath:t+"/markdown/showTitle",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showTitle/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.title!==void 0){const l=e;if(typeof o.title!="string")return M.errors=[{instancePath:t+"/markdown/title",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/title/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.showSummary!==void 0){const l=e;if(typeof o.showSummary!="boolean")return M.errors=[{instancePath:t+"/markdown/showSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.showSummaryHeader!==void 0){const l=e;if(typeof o.showSummaryHeader!="boolean")return M.errors=[{instancePath:t+"/markdown/showSummaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummaryHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.summaryHeader!==void 0){const l=e;if(typeof o.summaryHeader!="string")return M.errors=[{instancePath:t+"/markdown/summaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/summaryHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.showStatsSummary!==void 0){const l=e;if(typeof o.showStatsSummary!="boolean")return M.errors=[{instancePath:t+"/markdown/showStatsSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStatsSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.showRulesSummary!==void 0){const l=e;if(typeof o.showRulesSummary!="boolean")return M.errors=[{instancePath:t+"/markdown/showRulesSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showRulesSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.includeIgnoredInSummary!==void 0){const l=e;if(typeof o.includeIgnoredInSummary!="boolean")return M.errors=[{instancePath:t+"/markdown/includeIgnoredInSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.showDetails!==void 0){const l=e;if(typeof o.showDetails!="boolean")return M.errors=[{instancePath:t+"/markdown/showDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.includeIgnoredInDetails!==void 0){const l=e;if(typeof o.includeIgnoredInDetails!="boolean")return M.errors=[{instancePath:t+"/markdown/includeIgnoredInDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.showDetailsHeader!==void 0){const l=e;if(typeof o.showDetailsHeader!="boolean")return M.errors=[{instancePath:t+"/markdown/showDetailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetailsHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.detailsHeader!==void 0){const l=e;if(typeof o.detailsHeader!="string")return M.errors=[{instancePath:t+"/markdown/detailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/detailsHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.collapseDetails!==void 0){const l=e;if(typeof o.collapseDetails!="boolean")return M.errors=[{instancePath:t+"/markdown/collapseDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.collapsedMessage!==void 0){const l=e;if(typeof o.collapsedMessage!="string")return M.errors=[{instancePath:t+"/markdown/collapsedMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapsedMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.showExternalModulesUnresolved!==void 0){const l=e;if(typeof o.showExternalModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/markdown/showExternalModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.showAliasedModulesUnresolved!==void 0){const l=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/markdown/showAliasedModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.noViolationsMessage!==void 0){const l=e;if(typeof o.noViolationsMessage!="string")return M.errors=[{instancePath:t+"/markdown/noViolationsMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/noViolationsMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.showStaleBaselineDetails!==void 0){const l=e;if(typeof o.showStaleBaselineDetails!="boolean")return M.errors=[{instancePath:t+"/markdown/showStaleBaselineDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStaleBaselineDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.staleBaselineHeader!==void 0){const l=e;if(typeof o.staleBaselineHeader!="string")return M.errors=[{instancePath:t+"/markdown/staleBaselineHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/staleBaselineHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.collapseStaleBaseline!==void 0){const l=e;if(typeof o.collapseStaleBaseline!="boolean")return M.errors=[{instancePath:t+"/markdown/collapseStaleBaseline",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseStaleBaseline/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0;if(n){if(o.collapseStaleBaselineMessage!==void 0){const l=e;if(typeof o.collapseStaleBaselineMessage!="string")return M.errors=[{instancePath:t+"/markdown/collapseStaleBaselineMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseStaleBaselineMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n){if(o.staleBaselineIntro!==void 0){const l=e;if(typeof o.staleBaselineIntro!="string")return M.errors=[{instancePath:t+"/markdown/staleBaselineIntro",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/staleBaselineIntro/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=l===e}else var n=!0;if(n)if(o.showFooter!==void 0){const l=e;if(typeof o.showFooter!="boolean")return M.errors=[{instancePath:t+"/markdown/showFooter",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showFooter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=l===e}else var n=!0}}}}}}}}}}}}}}}}}}}}}}}else return M.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.metrics!==void 0){let o=s.metrics;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const c=e;for(const l in o)if(!(l==="orderBy"||l==="hideModules"||l==="hideFolders")){return M.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e){if(o.orderBy!==void 0){let l=o.orderBy;const P=e;if(typeof l!="string")return M.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(l==="instability"||l==="moduleCount"||l==="afferentCouplings"||l==="efferentCouplings"||l==="name"||l==="size"||l==="topLevelStatementCount"))return M.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:pr.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var i=P===e}else var i=!0;if(i){if(o.hideModules!==void 0){const l=e;if(typeof o.hideModules!="boolean")return M.errors=[{instancePath:t+"/metrics/hideModules",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0;if(i)if(o.hideFolders!==void 0){const l=e;if(typeof o.hideFolders!="boolean")return M.errors=[{instancePath:t+"/metrics/hideFolders",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideFolders/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=l===e}else var i=!0}}}else return M.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.mermaid!==void 0){let o=s.mermaid;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const c=e;for(const l in o)if(l!=="minify"){return M.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e&&o.minify!==void 0&&typeof o.minify!="boolean")return M.errors=[{instancePath:t+"/mermaid/minify",schemaPath:"#/definitions/MermaidReporterOptionsType/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return M.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.text!==void 0){let o=s.text;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const c=e;for(const l in o)if(l!=="highlightFocused"){return M.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e&&o.highlightFocused!==void 0&&typeof o.highlightFocused!="boolean")return M.errors=[{instancePath:t+"/text/highlightFocused",schemaPath:"#/definitions/TextReporterOptionsType/properties/highlightFocused/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return M.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.err!==void 0){let o=s.err;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const c=e;for(const l in o)if(!(l==="showExternalModulesUnresolved"||l==="showAliasedModulesUnresolved")){return M.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e){if(o.showExternalModulesUnresolved!==void 0){const l=e;if(typeof o.showExternalModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var g=l===e}else var g=!0;if(g)if(o.showAliasedModulesUnresolved!==void 0){const l=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var g=l===e}else var g=!0}}else return M.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){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 c=e;for(const l in o)if(!(l==="showExternalModulesUnresolved"||l==="showAliasedModulesUnresolved")){return M.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e){if(o.showExternalModulesUnresolved!==void 0){const l=e;if(typeof o.showExternalModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err-long/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=l===e}else var T=!0;if(T)if(o.showAliasedModulesUnresolved!==void 0){const l=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err-long/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=l===e}else var T=!0}}else return M.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f)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 c=e;for(const l in o)if(!(l==="showExternalModulesUnresolved"||l==="showAliasedModulesUnresolved")){return M.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(c===e){if(o.showExternalModulesUnresolved!==void 0){const l=e;if(typeof o.showExternalModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err-html/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var h=l===e}else var h=!0;if(h)if(o.showAliasedModulesUnresolved!==void 0){const l=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return M.errors=[{instancePath:t+"/err-html/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var h=l===e}else var h=!0}}else return M.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0}}}}}}}}}}}}else return M.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return M.errors=r,e===0}const lr={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return Oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return 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:lr.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 S(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Qe=e;for(const y in s)if(!Le.call($e.properties,y)){return S.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(Qe===e){if(s.doNotFollow!==void 0){let y=s.doNotFollow;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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 f=Y===e;f&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(y)){var a=!0;const ee=y.length;for(let x=0;x<ee;x++){const W=e;if(typeof y[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 f=re===e;if(f&&N?(N=!1,b=[b,1]):f&&(N=!0,b=1),N)e=H,r!==null&&(H?r.length=H: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=q===e;n&&(j=!0,d=0);const he=e;ke(y,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:D})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var n=he===e;if(n&&j?(j=!1,d=[d,1]):n&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/properties/doNotFollow/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.exclude!==void 0){let y=s.exclude;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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(y)){var g=!0;const x=y.length;for(let W=0;W<x;W++){const _e=e;if(typeof y[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=H,r!==null&&(H?r.length=H: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 h=q===e;h&&(j=!0,d=0);const he=e;ve(y,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:D})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var h=he===e;if(h&&j?(j=!1,d=[d,1]):h&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/properties/exclude/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let y=s.includeOnly;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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(y)){var u=!0;const x=y.length;for(let W=0;W<x;W++){const _e=e;if(typeof y[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 u=_e===e;if(!u)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=H,r!==null&&(H?r.length=H: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=q===e;p&&(j=!0,d=0);const he=e;Ae(y,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:D})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var p=he===e;if(p&&j?(j=!1,d=[d,1]):p&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.focus!==void 0){let y=s.focus;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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(y)){var m=!0;const x=y.length;for(let W=0;W<x;W++){const _e=e;if(typeof y[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 m=_e===e;if(!m)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=H,r!==null&&(H?r.length=H: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 c=q===e;c&&(j=!0,d=0);const he=e;me(y,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:D})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var c=he===e;if(c&&j?(j=!1,d=[d,1]):c&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/properties/focus/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.reaches!==void 0){let y=s.reaches;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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 P=Y===e;P&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(y)){var l=!0;const x=y.length;for(let W=0;W<x;W++){const _e=e;if(typeof y[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 l=_e===e;if(!l)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 P=re===e;if(P&&N?(N=!1,b=[b,1]):P&&(N=!0,b=1),N)e=H,r!==null&&(H?r.length=H: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=q===e;O&&(j=!0,d=0);const he=e;Re(y,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:D})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var O=he===e;if(O&&j?(j=!1,d=[d,1]):O&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/properties/reaches/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.affected!==void 0){let y=s.affected;const C=e,L=e;let j=!1,d=null;const q=e;if(typeof y!="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=q===e;I&&(j=!0,d=0);const H=e;if(typeof y!="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=H===e;if(I&&j?(j=!1,d=[d,1]):I&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.highlight!==void 0){let y=s.highlight;const C=e,L=e;let j=!1,d=null;const q=e,H=e;let N=!1,b=null;const Y=e;if(typeof y!="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(y)){var J=!0;const x=y.length;for(let W=0;W<x;W++){const _e=e;if(typeof y[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=H,r!==null&&(H?r.length=H: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=q===e;se&&(j=!0,d=0);const he=e;qe(y,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:D})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var se=he===e;if(se&&j?(j=!1,d=[d,1]):se&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/properties/highlight/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.ignoreKnown!==void 0){const y=e;if(typeof s.ignoreKnown!="boolean")return S.errors=[{instancePath:t+"/ignoreKnown",schemaPath:"#/properties/ignoreKnown/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const y=e;He(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:D})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.collapse!==void 0){let y=s.collapse;const C=e,L=e;let j=!1,d=null;const q=e;if(typeof y!="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=q===e;R&&(j=!0,d=0);const H=e;if(!(typeof y=="number"&&!(y%1)&&!isNaN(y)&&isFinite(y))){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===H&&typeof y=="number"&&isFinite(y)){if(y>9||isNaN(y)){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(y<1||isNaN(y)){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=H===e;if(R&&j?(j=!1,d=[d,1]):R&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let y=s.maxDepth;const C=e;if(!(typeof y=="number"&&!(y%1)&&!isNaN(y)&&isFinite(y)))return S.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===C&&typeof y=="number"&&isFinite(y)){if(y>99||isNaN(y))return S.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(y<0||isNaN(y))return S.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 y=e;Me(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:D})||(r=r===null?Me.errors:r.concat(Me.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const y=e;if(typeof s.detectJSDocImports!="boolean")return S.errors=[{instancePath:t+"/detectJSDocImports",schemaPath:"#/properties/detectJSDocImports/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.detectImportsInAmbientModules!==void 0){const y=e;if(typeof s.detectImportsInAmbientModules!="boolean")return S.errors=[{instancePath:t+"/detectImportsInAmbientModules",schemaPath:"#/properties/detectImportsInAmbientModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const y=e;if(typeof s.detectProcessBuiltinModuleCalls!="boolean")return S.errors=[{instancePath:t+"/detectProcessBuiltinModuleCalls",schemaPath:"#/properties/detectProcessBuiltinModuleCalls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.prefix!==void 0){const y=e;if(typeof s.prefix!="string")return S.errors=[{instancePath:t+"/prefix",schemaPath:"#/properties/prefix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.suffix!==void 0){const y=e;if(typeof s.suffix!="string")return S.errors=[{instancePath:t+"/suffix",schemaPath:"#/properties/suffix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const y=e;if(typeof s.preserveSymlinks!="boolean")return S.errors=[{instancePath:t+"/preserveSymlinks",schemaPath:"#/properties/preserveSymlinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const y=e;if(typeof s.combinedDependencies!="boolean")return S.errors=[{instancePath:t+"/combinedDependencies",schemaPath:"#/properties/combinedDependencies/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let y=s.tsConfig;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(d!=="fileName"){return S.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e&&y.fileName!==void 0&&typeof y.fileName!="string")return S.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return S.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 y=s.tsPreCompilationDeps;const C=e,L=e;let j=!1,d=null;const q=e;if(typeof y!="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 F=q===e;F&&(j=!0,d=0);const H=e;if(typeof y!="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(y!=="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 F=H===e;if(F&&j?(j=!1,d=[d,1]):F&&(j=!0,d=1),j)e=L,r!==null&&(L?r.length=L:r=null);else{const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let y=s.extraExtensionsToScan;const C=e;if(e===C)if(Array.isArray(y)){var V=!0;const j=y.length;for(let d=0;d<j;d++){const q=e;if(typeof y[d]!="string")return S.errors=[{instancePath:t+"/extraExtensionsToScan/"+d,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var V=q===e;if(!V)break}}else return S.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 y=s.externalModuleResolutionStrategy;const C=e;if(typeof y!="string")return S.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="node_modules"||y==="yarn-pnp"))return S.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 y=s.builtInModules;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(!(d==="override"||d==="add")){return S.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(y.override!==void 0){let d=y.override;const q=e;if(e===q)if(Array.isArray(d)){var $=!0;const H=d.length;for(let N=0;N<H;N++){const b=e;if(typeof d[N]!="string")return S.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 S.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=q===e}else var _=!0;if(_)if(y.add!==void 0){let d=y.add;const q=e;if(e===q)if(Array.isArray(d)){var w=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=q===e}else var _=!0}}else return S.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 y=e;if(typeof s.forceDeriveDependents!="boolean")return S.errors=[{instancePath:t+"/forceDeriveDependents",schemaPath:"#/properties/forceDeriveDependents/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let y=s.webpackConfig;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(!(d==="fileName"||d==="env"||d==="arguments")){return S.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(y.fileName!==void 0){const d=e;if(typeof y.fileName!="string")return S.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var k=d===e}else var k=!0;if(k){if(y.env!==void 0){let d=y.env;const q=e,H=e;let N=!1,b=null;const Y=e;if(!(d&&typeof d=="object"&&!Array.isArray(d))){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 d!="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=H,r!==null&&(H?r.length=H: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++,S.errors=r,!1}var k=q===e}else var k=!0;if(k)if(y.arguments!==void 0){let d=y.arguments;const q=e;if(!(d&&typeof d=="object"&&!Array.isArray(d)))return S.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var k=q===e}else var k=!0}}}else return S.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 y=s.enhancedResolveOptions;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(!(d==="exportsFields"||d==="conditionNames"||d==="extensions"||d==="mainFields"||d==="mainFiles"||d==="aliasFields"||d==="cachedInputFileSystem")){return S.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(y.exportsFields!==void 0){let d=y.exportsFields;const q=e;if(e===q)if(Array.isArray(d)){var A=!0;const H=d.length;for(let N=0;N<H;N++){const b=e;if(typeof d[N]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=q===e}else var E=!0;if(E){if(y.conditionNames!==void 0){let d=y.conditionNames;const q=e;if(e===q)if(Array.isArray(d)){var Z=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=q===e}else var E=!0;if(E){if(y.extensions!==void 0){let d=y.extensions;const q=e;if(e===q)if(Array.isArray(d)){var xe=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=q===e}else var E=!0;if(E){if(y.mainFields!==void 0){let d=y.mainFields;const q=e;if(e===q)if(Array.isArray(d)){var Q=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=q===e}else var E=!0;if(E){if(y.mainFiles!==void 0){const d=e;if(!Array.isArray(y.mainFiles))return S.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=d===e}else var E=!0;if(E){if(y.aliasFields!==void 0){let d=y.aliasFields;const q=e;if(e===q)if(Array.isArray(d)){var Ve=!0;const N=d.length;for(let b=0;b<N;b++){const Y=e;if(typeof d[b]!="string")return S.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=Y===e;if(!Ve)break}}else return S.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var E=q===e}else var E=!0;if(E)if(y.cachedInputFileSystem!==void 0){let d=y.cachedInputFileSystem;const q=e;if(e===q)if(d&&typeof d=="object"&&!Array.isArray(d)){const N=e;for(const b in d)if(b!=="cacheDuration"){return S.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&&d.cacheDuration!==void 0){let b=d.cacheDuration;const Y=e;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b)))return S.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 S.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 S.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 S.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var E=q===e}else var E=!0}}}}}}}else return S.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 y=s.babelConfig;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(d!=="fileName"){return S.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e&&y.fileName!==void 0&&typeof y.fileName!="string")return S.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return S.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 y=s.parser;const C=e;if(typeof y!="string")return S.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="acorn"||y==="tsc"||y==="swc"))return S.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 y=s.exoticRequireStrings;const C=e;if(e===C)if(Array.isArray(y)){var ze=!0;const j=y.length;for(let d=0;d<j;d++){const q=e;if(typeof y[d]!="string")return S.errors=[{instancePath:t+"/exoticRequireStrings/"+d,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ze=q===e;if(!ze)break}}else return S.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 y=e;M(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:D})||(r=r===null?M.errors:r.concat(M.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.progress!==void 0){let y=s.progress;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(!(d==="type"||d==="maximumLevel")){return S.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(y.type!==void 0){let d=y.type;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="cli-feedback"||d==="performance-log"||d==="ndjson"||d==="none"))return S.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=q===e}else var Je=!0;if(Je)if(y.maximumLevel!==void 0){let d=y.maximumLevel;const q=e;if(!(typeof d=="number"&&isFinite(d)))return S.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(d===-1||d===40||d===50||d===60||d===70||d===80||d===99))return S.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=q===e}else var Je=!0}}else return S.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 y=e;if(typeof s.metrics!="boolean")return S.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const y=e;if(typeof s.experimentalStats!="boolean")return S.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/properties/experimentalStats/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const y=e;if(typeof s.skipAnalysisNotInRules!="boolean")return S.errors=[{instancePath:t+"/skipAnalysisNotInRules",schemaPath:"#/properties/skipAnalysisNotInRules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.baseDir!==void 0){const y=e;if(typeof s.baseDir!="string")return S.errors=[{instancePath:t+"/baseDir",schemaPath:"#/properties/baseDir/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.cache!==void 0){let y=s.cache;const C=e,L=e;let j=!1,d=null;const q=e;if(typeof y!="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=q===e;Ne&&(j=!0,d=0);const H=e;if(typeof y!="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=H===e;if(Ne&&j)j=!1,d=[d,1];else{Ne&&(j=!0,d=1);const b=e;Oe(y,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:D})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=b===e;Ne&&j?(j=!1,d=[d,2]):Ne&&(j=!0,d=2)}if(j)e=L,r!==null&&(L?r.length=L:r=null);else{const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,S.errors=r,!1}var i=C===e}else var i=!0;if(i)if(s.baseline!==void 0){let y=s.baseline;const C=e;if(e===C)if(y&&typeof y=="object"&&!Array.isArray(y)){const j=e;for(const d in y)if(!(d==="mode"||d==="staleEntriesSeverity")){return S.errors=[{instancePath:t+"/baseline",schemaPath:"#/properties/baseline/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(j===e){if(y.mode!==void 0){let d=y.mode;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/baseline/mode",schemaPath:"#/properties/baseline/properties/mode/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="shrink-only"||d==="full"||d==="format"))return S.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;var Ke=q===e}else var Ke=!0;if(Ke)if(y.staleEntriesSeverity!==void 0){let d=y.staleEntriesSeverity;const q=e;if(typeof d!="string")return S.errors=[{instancePath:t+"/baseline/staleEntriesSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="error"||d==="warn"||d==="info"||d==="ignore"))return S.errors=[{instancePath:t+"/baseline/staleEntriesSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var Ke=q===e}else var Ke=!0}}else return S.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 S.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return S.errors=r,e===0}function de(s,{instancePath:t="",parentData:U,parentDataProperty:B,rootData:D=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const h=e;for(const u in s)if(!(u==="$schema"||u==="forbidden"||u==="allowed"||u==="allowedSeverity"||u==="required"||u==="options"||u==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.$schema!==void 0){const u=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=u===e}else var a=!0;if(a){if(s.forbidden!==void 0){let u=s.forbidden;const o=e;if(e===o)if(Array.isArray(u)){var f=!0;const m=u.length;for(let v=0;v<m;v++){const c=e;Ue(u[v],{instancePath:t+"/forbidden/"+v,parentData:u,parentDataProperty:v,rootData:D})||(r=r===null?Ue.errors:r.concat(Ue.errors),e=r.length);var f=c===e;if(!f)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 u=s.allowed;const o=e;if(e===o)if(Array.isArray(u)){var n=!0;const m=u.length;for(let v=0;v<m;v++){const c=e;Be(u[v],{instancePath:t+"/allowed/"+v,parentData:u,parentDataProperty:v,rootData:D})||(r=r===null?Be.errors:r.concat(Be.errors),e=r.length);var n=c===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 u=s.allowedSeverity;const o=e;if(typeof u!="string")return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="error"||u==="warn"||u==="info"||u==="ignore"))return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ce.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 u=s.required;const o=e;if(e===o)if(Array.isArray(u)){var i=!0;const m=u.length;for(let v=0;v<m;v++){const c=e;fe(u[v],{instancePath:t+"/required/"+v,parentData:u,parentDataProperty:v,rootData:D})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=c===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 u=e;S(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:D})||(r=r===null?S.errors:r.concat(S.errors),e=r.length);var a=u===e}else var a=!0;if(a)if(s.extends!==void 0){let u=s.extends;const o=e,p=e;let m=!1,v=null;const c=e;if(typeof u!="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=c===e;T&&(m=!0,v=0);const l=e;if(e===l)if(Array.isArray(u)){var g=!0;const O=u.length;for(let I=0;I<O;I++){const J=e;if(typeof u[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=l===e;if(T&&m?(m=!1,v=[v,1]):T&&(m=!0,v=1),m)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}