UNPKG

webpack

Version:

Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

7 lines • 7.18 kB
/* eslint-disable */ // @ts-nocheck /* * This file was automatically generated by "schema-utils". * DO NOT MODIFY BY HAND. */ "use strict";module.exports=s,module.exports.default=s;let n=function(n){let t=n.length,s,l=0,e=0;for(;e<t;)l++,(s=n.charCodeAt(e++))>=55296&&s<=56319&&e<t&&(64512&(s=n.charCodeAt(e)))==56320&&e++;return l};function t(s,{instancePath="",parentData,parentDataProperty,rootData=s}={}){let l=null,e=0,a=e,o=!1,r=e;if(e===r)if(Array.isArray(s)){let t=s.length;for(let a=0;a<t;a++){let t=s[a],o=e,r=e,u=!1,c=null,f=e,h=e,m=!1,y=e;if(!(t instanceof RegExp)){let n={params:{}};l===null?l=[n]:l.push(n),e++}var i=y===e;if(!(m=m||i)){let s=e;if(e===s)if("string"==typeof t){if(n(t)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}if(i=s===e,!(m=m||i)){let s=e;if(e===s)if(t&&"object"==typeof t&&!Array.isArray(t)){let s;if(t.glob===void 0&&(s="glob")){let n={params:{missingProperty:s}};l===null?l=[n]:l.push(n),e++}else{let s=e;for(let n in t)if("glob"!==n){let t={params:{additionalProperty:n}};l===null?l=[t]:l.push(t),e++;break}if(s===e&&t.glob!==void 0){let s=t.glob,a=e,o=!1,r=e;if(e===r)if(Array.isArray(s))if(s.length<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}else{let t=s.length;for(let a=0;a<t;a++){let t=s[a],o=e;if(e===o)if("string"==typeof t){if(n(t)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}if(o!==e)break}}else{let n={params:{type:"array"}};l===null?l=[n]:l.push(n),e++}var p=r===e;if(!(o=o||p)){let t=e;if(e===t)if("string"==typeof s){if(n(s)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}p=t===e,o=o||p}if(o)e=a,l!==null&&(a?l.length=a:l=null);else{let n={params:{}};l===null?l=[n]:l.push(n),e++}}}}else{let n={params:{type:"object"}};l===null?l=[n]:l.push(n),e++}if(i=s===e,!(m=m||i)){let n=e;if(!(t instanceof Function)){let n={params:{}};l===null?l=[n]:l.push(n),e++}i=n===e,m=m||i}}}if(m)e=h,l!==null&&(h?l.length=h:l=null);else{let n={params:{}};l===null?l=[n]:l.push(n),e++}if(f===e&&(u=!0,c=0),u)e=r,l!==null&&(r?l.length=r:l=null);else{let n={params:{passingSchemas:c}};l===null?l=[n]:l.push(n),e++}if(o!==e)break}}else{let n={params:{type:"array"}};l===null?l=[n]:l.push(n),e++}var u=r===e;if(!(o=o||u)){let t=e,a=e,r=!1,i=e;if(!(s instanceof RegExp)){let n={params:{}};l===null?l=[n]:l.push(n),e++}var c=i===e;if(!(r=r||c)){let t=e;if(e===t)if("string"==typeof s){if(n(s)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}if(c=t===e,!(r=r||c)){let t=e;if(e===t)if(s&&"object"==typeof s&&!Array.isArray(s)){let t;if(s.glob===void 0&&(t="glob")){let n={params:{missingProperty:t}};l===null?l=[n]:l.push(n),e++}else{let t=e;for(let n in s)if("glob"!==n){let t={params:{additionalProperty:n}};l===null?l=[t]:l.push(t),e++;break}if(t===e&&s.glob!==void 0){let t=s.glob,a=e,o=!1,r=e;if(e===r)if(Array.isArray(t))if(t.length<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}else{let s=t.length;for(let a=0;a<s;a++){let s=t[a],o=e;if(e===o)if("string"==typeof s){if(n(s)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}if(o!==e)break}}else{let n={params:{type:"array"}};l===null?l=[n]:l.push(n),e++}var f=r===e;if(!(o=o||f)){let s=e;if(e===s)if("string"==typeof t){if(n(t)<1){let n={params:{limit:1}};l===null?l=[n]:l.push(n),e++}}else{let n={params:{type:"string"}};l===null?l=[n]:l.push(n),e++}f=s===e,o=o||f}if(o)e=a,l!==null&&(a?l.length=a:l=null);else{let n={params:{}};l===null?l=[n]:l.push(n),e++}}}}else{let n={params:{type:"object"}};l===null?l=[n]:l.push(n),e++}if(c=t===e,!(r=r||c)){let n=e;if(!(s instanceof Function)){let n={params:{}};l===null?l=[n]:l.push(n),e++}c=n===e,r=r||c}}}if(r)e=a,l!==null&&(a?l.length=a:l=null);else{let n={params:{}};l===null?l=[n]:l.push(n),e++}u=t===e,o=o||u}if(!o){let n={params:{}};return l===null?l=[n]:l.push(n),e++,t.errors=l,!1}return e=a,l!==null&&(a?l.length=a:l=null),t.errors=l,e===0}function s(l,{instancePath:e="",parentData,parentDataProperty,rootData=l}={}){let a=null,o=0,r=o,i=!1,p=o;if(o===p)if("string"==typeof l){if(n(l)<1){let n={params:{limit:1}};a===null?a=[n]:a.push(n),o++}}else{let n={params:{type:"string"}};a===null?a=[n]:a.push(n),o++}var u=p===o;if(!(i=i||u)){let n=o;if(o===n)if(l&&"object"==typeof l&&!Array.isArray(l)){let n;if(l.banner===void 0&&(n="banner")){let t={params:{missingProperty:n}};a===null?a=[t]:a.push(t),o++}else{let n=o;for(let n in l)if("banner"!==n&&"entryOnly"!==n&&"exclude"!==n&&"footer"!==n&&"include"!==n&&"raw"!==n&&"stage"!==n&&"test"!==n){let t={params:{additionalProperty:n}};a===null?a=[t]:a.push(t),o++;break}if(n===o){if(l.banner!==void 0){let n=l.banner,t=o,s=o,e=!1,r=o;if("string"!=typeof n){let n={params:{type:"string"}};a===null?a=[n]:a.push(n),o++}var c=r===o;if(!(e=e||c)){let t=o;if(!(n instanceof Function)){let n={params:{}};a===null?a=[n]:a.push(n),o++}c=t===o,e=e||c}if(e)o=s,a!==null&&(s?a.length=s:a=null);else{let n={params:{}};a===null?a=[n]:a.push(n),o++}var f=t===o}else f=!0;if(f){if(l.entryOnly!==void 0){let n=o;if("boolean"!=typeof l.entryOnly){let n={params:{type:"boolean"}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f){if(l.exclude!==void 0){let n=o,s=o,r=!1,i=null,p=o;if(t(l.exclude,{instancePath:e+"/exclude",parentData:l,parentDataProperty:"exclude",rootData})||(o=(a=a===null?t.errors:a.concat(t.errors)).length),p===o&&(r=!0,i=0),r)o=s,a!==null&&(s?a.length=s:a=null);else{let n={params:{passingSchemas:i}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f){if(l.footer!==void 0){let n=o;if("boolean"!=typeof l.footer){let n={params:{type:"boolean"}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f){if(l.include!==void 0){let n=o,s=o,r=!1,i=null,p=o;if(t(l.include,{instancePath:e+"/include",parentData:l,parentDataProperty:"include",rootData})||(o=(a=a===null?t.errors:a.concat(t.errors)).length),p===o&&(r=!0,i=0),r)o=s,a!==null&&(s?a.length=s:a=null);else{let n={params:{passingSchemas:i}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f){if(l.raw!==void 0){let n=o;if("boolean"!=typeof l.raw){let n={params:{type:"boolean"}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f){if(l.stage!==void 0){let n=o;if("number"!=typeof l.stage){let n={params:{type:"number"}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0;if(f)if(l.test!==void 0){let n=o,s=o,r=!1,i=null,p=o;if(t(l.test,{instancePath:e+"/test",parentData:l,parentDataProperty:"test",rootData})||(o=(a=a===null?t.errors:a.concat(t.errors)).length),p===o&&(r=!0,i=0),r)o=s,a!==null&&(s?a.length=s:a=null);else{let n={params:{passingSchemas:i}};a===null?a=[n]:a.push(n),o++}f=n===o}else f=!0}}}}}}}}}else{let n={params:{type:"object"}};a===null?a=[n]:a.push(n),o++}if(u=n===o,!(i=i||u)){let n=o;if(!(l instanceof Function)){let n={params:{}};a===null?a=[n]:a.push(n),o++}u=n===o,i=i||u}}if(!i){let n={params:{}};return a===null?a=[n]:a.push(n),o++,s.errors=a,!1}return o=r,a!==null&&(r?a.length=r:a=null),s.errors=a,o===0}