UNPKG

1.22 MBSource Map (JSON)View Raw
1{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-jsonschema-form.js","webpack:///webpack/bootstrap 51074630786302559527","webpack:///./index.js","webpack:///./components/Form.js","webpack:///external {\"root\":\"React\",\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\"}","webpack:///../~/prop-types/index.js","webpack:///../~/prop-types/factoryWithThrowingShims.js","webpack:///../~/fbjs/lib/emptyFunction.js","webpack:///../~/fbjs/lib/invariant.js","webpack:///./components/ErrorList.js","webpack:///./utils.js","webpack:///../~/timers-browserify/main.js","webpack:///../~/timers-browserify/~/process/browser.js","webpack:///../~/setimmediate/setImmediate.js","webpack:///../~/node-libs-browser/~/process/browser.js","webpack:///./validate.js","webpack:///../~/lodash.topath/index.js","webpack:///../~/ajv/lib/ajv.js","webpack:///../~/ajv/lib/compile/index.js","webpack:///../~/ajv/lib/compile/resolve.js","webpack:///../~/url/url.js","webpack:///../~/url/~/punycode/punycode.js","webpack:///../~/webpack/buildin/module.js","webpack:///../~/webpack/buildin/amd-options.js","webpack:///../~/querystring/index.js","webpack:///../~/querystring/decode.js","webpack:///../~/querystring/encode.js","webpack:///../~/fast-deep-equal/index.js","webpack:///../~/ajv/lib/compile/util.js","webpack:///../~/ajv/lib/compile/ucs2length.js","webpack:///../~/ajv/lib/compile/schema_obj.js","webpack:///../~/json-schema-traverse/index.js","webpack:///../~/ajv/lib/compile/error_classes.js","webpack:///../~/json-stable-stringify/index.js","webpack:///../~/jsonify/index.js","webpack:///../~/jsonify/lib/parse.js","webpack:///../~/jsonify/lib/stringify.js","webpack:///../~/ajv/lib/dotjs/validate.js","webpack:///../~/co/index.js","webpack:///../~/ajv/lib/cache.js","webpack:///../~/ajv/lib/compile/formats.js","webpack:///../~/ajv/lib/compile/rules.js","webpack:///../~/ajv/lib/compile/_rules.js","webpack:///../~/ajv/lib/dotjs/ref.js","webpack:///../~/ajv/lib/dotjs/allOf.js","webpack:///../~/ajv/lib/dotjs/anyOf.js","webpack:///../~/ajv/lib/dotjs/const.js","webpack:///../~/ajv/lib/dotjs/contains.js","webpack:///../~/ajv/lib/dotjs/dependencies.js","webpack:///../~/ajv/lib/dotjs/enum.js","webpack:///../~/ajv/lib/dotjs/format.js","webpack:///../~/ajv/lib/dotjs/items.js","webpack:///../~/ajv/lib/dotjs/_limit.js","webpack:///../~/ajv/lib/dotjs/_limitItems.js","webpack:///../~/ajv/lib/dotjs/_limitLength.js","webpack:///../~/ajv/lib/dotjs/_limitProperties.js","webpack:///../~/ajv/lib/dotjs/multipleOf.js","webpack:///../~/ajv/lib/dotjs/not.js","webpack:///../~/ajv/lib/dotjs/oneOf.js","webpack:///../~/ajv/lib/dotjs/pattern.js","webpack:///../~/ajv/lib/dotjs/properties.js","webpack:///../~/ajv/lib/dotjs/propertyNames.js","webpack:///../~/ajv/lib/dotjs/required.js","webpack:///../~/ajv/lib/dotjs/uniqueItems.js","webpack:///../~/ajv/lib/$data.js","webpack:///../~/ajv/lib/patternGroups.js","webpack:///../~/ajv/lib/compile/async.js","webpack:///../~/ajv/lib/keyword.js","webpack:///../~/ajv/lib/dotjs/custom.js","webpack:///../~/ajv/lib/refs/$data.json","webpack:///../~/ajv/lib/refs/json-schema-draft-06.json","webpack:///./components/fields/index.js","webpack:///./components/fields/ArrayField.js","webpack:///./components/fields/UnsupportedField.js","webpack:///./components/fields/BooleanField.js","webpack:///./components/fields/DescriptionField.js","webpack:///./components/fields/NumberField.js","webpack:///./components/fields/ObjectField.js","webpack:///./components/fields/SchemaField.js","webpack:///./components/fields/StringField.js","webpack:///./components/fields/TitleField.js","webpack:///./components/widgets/index.js","webpack:///./components/widgets/AltDateWidget.js","webpack:///./components/widgets/AltDateTimeWidget.js","webpack:///./components/widgets/BaseInput.js","webpack:///./components/widgets/CheckboxWidget.js","webpack:///./components/widgets/CheckboxesWidget.js","webpack:///./components/widgets/ColorWidget.js","webpack:///./components/widgets/DateWidget.js","webpack:///./components/widgets/DateTimeWidget.js","webpack:///./components/widgets/EmailWidget.js","webpack:///./components/widgets/FileWidget.js","webpack:///./components/widgets/HiddenWidget.js","webpack:///./components/widgets/PasswordWidget.js","webpack:///./components/widgets/RadioWidget.js","webpack:///./components/widgets/RangeWidget.js","webpack:///./components/widgets/SelectWidget.js","webpack:///./components/widgets/TextareaWidget.js","webpack:///./components/widgets/TextWidget.js","webpack:///./components/widgets/URLWidget.js","webpack:///./components/widgets/UpDownWidget.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_2__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_Form","_Form2","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","enumerable","writable","configurable","setPrototypeOf","__proto__","_typeof","Symbol","iterator","_extends","assign","target","i","arguments","length","source","key","hasOwnProperty","_createClass","defineProperties","props","descriptor","protoProps","staticProps","_react","_react2","_propTypes","_ErrorList","_ErrorList2","_utils","_validate","_validate2","Form","_Component","_this","getPrototypeOf","onChange","formData","newErrorSchema","mustValidate","noValidate","liveValidate","state","_this$validate","validate","errors","errorSchema","toErrorList","setState","onBlur","_this$props","apply","onFocus","_this$props2","onSubmit","event","preventDefault","_ret","_this$validate2","keys","onError","console","error","v","status","getStateFromProps","nextProps","schema","uiSchema","edit","definitions","getDefaultFormState","retrievedSchema","retrieveSchema","_ref","idSchema","toIdSchema","idPrefix","nextState","shouldRender","undefined","_props","transformErrors","_getRegistry","getRegistry","resolvedSchema","_state","_props2","ErrorList","showErrorList","formContext","createElement","_getDefaultRegistry","getDefaultRegistry","fields","widgets","ArrayFieldTemplate","ObjectFieldTemplate","FieldTemplate","_props3","children","safeRenderCompletion","className","name","method","action","autocomplete","enctype","acceptcharset","noHtml5Validate","_state2","registry","_SchemaField","SchemaField","autoComplete","encType","acceptCharset","renderErrors","type","Component","defaultProps","emptyFunction","invariant","shim","getShim","isRequired","ReactPropTypes","array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","checkPropTypes","PropTypes","makeEmptyFunction","arg","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","condition","format","a","b","d","e","f","validateFormat","Error","args","argIndex","replace","framesToPop","map","stack","setImmediate","_toConsumableArray","arr","Array","isArray","arr2","from","_defineProperty","_objectWithoutProperties","indexOf","getSchemaType","enum","getWidget","widget","mergeOptions","Widget","MergedWidget","defaultOptions","options","_ref$options","registeredWidgets","registeredWidget","widgetMap","computeDefaults","parentDefaults","defaults","isObject","mergeObjects","refSchema","findSchemaDefinition","$ref","isFixedItems","items","itemSchema","properties","reduce","acc","minItems","isMultiSelect","defaultsLength","defaultEntries","fillerEntries","fill","concat","_schema","getUiOptions","filter","warn","component","substring","thing","obj1","obj2","concatArrays","left","right","asNumber","test","n","Number","valid","isNaN","orderProperties","order","arrayToHash","prev","curr","errorPropList","join","propertyHash","orderHash","extraneous","prop","rest","restIndex","lastIndexOf","complete","splice","isConstant","toConstant","const","isSelect","altSchemas","anyOf","every","uniqueItems","isFilesArray","itemsSchema","item","allowAdditionalItems","additionalItems","optionsList","label","enumNames","String","title","match","exec","parts","split","current","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","next","done","part","err","return","$refSchema","localSchema","resolveDependencies","_schema$dependencies","dependencies","dependencyKey","dependencyValue","withDependentProperties","withDependentSchema","additionallyRequired","required","Set","_retrieveSchema","dependentSchema","mergeSchemas","withExactlyOneSubschema","validSubschemas","subschema","conditionPropertySchema","conditionSchema","_validateFormData","_subschema$properties","dependentSubschema","schema1","schema2","isArguments","toString","deepEquals","ca","cb","Date","getTime","RegExp","global","multiline","lastIndex","ignoreCase","slice","ka","kb","cal","push","sort","j","k","pop","comp","$id","field","fieldId","parseDateString","dateString","includeTime","year","month","day","hour","minute","second","date","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","toDateString","_ref2","_ref2$hour","_ref2$minute","_ref2$second","time","utcTime","UTC","datetime","toJSON","pad","num","size","s","callback","dataURItoBlob","dataURI","splitted","params","param","binary","atob","charCodeAt","blob","window","Blob","Uint8Array","rangeSpec","spec","multipleOf","step","minimum","min","maximum","max","boolean","checkbox","radio","select","hidden","text","password","email","hostname","ipv4","ipv6","uri","data-url","textarea","date-time","alt-date","alt-datetime","color","file","updown","range","integer","checkboxes","files","clearImmediate","Timeout","clearFn","_id","_clearFn","nextTick","Function","immediateIds","nextImmediateId","setTimeout","clearTimeout","setInterval","clearInterval","timeout","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","fn","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","cleanUpNextTick","draining","currentQueue","queue","queueIndex","drainQueue","len","run","Item","noop","process","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","task","tasksByHandle","nextHandle","registerImmediate","handle","runIfPresent","currentlyRunningATask","installNextTickImplementation","canUsePostMessage","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","installPostMessageImplementation","messagePrefix","Math","random","onGlobalMessage","data","addEventListener","attachEvent","installMessageChannelImplementation","channel","MessageChannel","port1","port2","installReadyStateChangeImplementation","html","doc","documentElement","script","onreadystatechange","removeChild","appendChild","installSetTimeoutImplementation","document","attachTo","toErrorSchema","property","message","path","_lodash2","parent","segment","__errors","fieldName","errorList","createErrorHandler","handler","addError","unwrapErrorHandler","errorHandler","transformAjvErrors","dataPath","keyword","trim","validateFormData","customValidate","ajv","userErrorSchema","newErrors","_lodash","_ajv","_ajv2","errorDataPath","allErrors","addFormat","arrayMap","iteratee","index","result","getValue","isHostObject","Hash","entries","clear","entry","set","hashClear","__data__","nativeCreate","hashDelete","has","hashGet","HASH_UNDEFINED","hashHas","hashSet","ListCache","listCacheClear","listCacheDelete","assocIndexOf","listCacheGet","listCacheHas","listCacheSet","MapCache","mapCacheClear","hash","Map","mapCacheDelete","getMapData","mapCacheGet","get","mapCacheHas","mapCacheSet","eq","baseIsNative","isMasked","pattern","isFunction","reIsNative","reIsHostCtor","toSource","baseToString","isSymbol","symbolToString","INFINITY","copyArray","isKeyable","getNative","maskSrcKey","toKey","funcToString","memoize","resolver","FUNC_ERROR_TEXT","memoized","cache","Cache","other","tag","objectToString","funcTag","genTag","isObjectLike","symbolTag","toPath","stringToPath","reLeadingDot","rePropName","reRegExpChar","reEscapeChar","freeGlobal","freeSelf","arrayProto","funcProto","objectProto","coreJsData","uid","IE_PROTO","symbolProto","quote","Ajv","opts","_opts","util","copy","_schemas","_refs","_fragments","_formats","formats","schemaUriFormat","_schemaUriFormat","_schemaUriFormatFunc","str","_cache","_loadingSchemas","_compilations","RULES","rules","_getId","chooseGetId","loopRequired","Infinity","_errorDataPathProperty","serialize","stableStringify","_metaOpts","getMetaSchemaOptions","addInitialFormats","addDraft6MetaSchema","meta","addMetaSchema","addInitialSchemas","patternGroups","schemaKeyRef","getSchema","schemaObj","_addSchema","_compile","$async","async","co","compile","_meta","addSchema","_skipValidation","resolve","normalizeId","checkUnique","skipValidation","validateSchema","throwOrLogError","$schema","defaultMeta","currentUriFormat","errorsText","META_SCHEMA_ID","keyRef","_getSchemaObj","_getSchemaFragment","res","baseId","compileSchema","SchemaObject","fragment","removeSchema","_removeAllSchemas","del","cacheKey","schemas","regex","shouldAddSchema","cached","addUsedSchema","recursiveMeta","willValidate","localRefs","ids","put","callValidate","compiling","currentOpts","refs","refVal","schemaId","_get$Id","_get$IdOrId","separator","dataVar","$dataSchema","$data","metaSchema","$dataMetaSchema","META_SUPPORT_DATA","optsSchemas","metaOpts","META_IGNORE_OPTIONS","compileAsync","customKeyword","addKeyword","add","getKeyword","removeKeyword","remove","errorClasses","ValidationError","Validation","MissingRefError","MissingRef","compilation","localCompile","_root","isRoot","sourceCode","validateGenerator","isTop","schemaPath","errSchemaPath","errorPath","resolveRef","usePattern","useDefault","useCustomRule","vars","refValCode","patterns","patternCode","defaultCode","customRules","customRuleCode","processCode","makeValidate","equal","ucs2length","code","url","_refVal","refCode","refIndex","resolvedRef","rootRefId","addLocalRef","inlineRef","inlineRefs","replaceLocalRef","removeLocalRef","refId","inline","regexStr","patternsHash","toQuotedString","valueStr","defaultsHash","rule","parentSchema","it","definition","macro","checkCompiling","cv","endCompiling","compIndex","statement","resolveSchema","parse","refPath","_getFullPath","getFullPath","resolveRecursive","getJsonPointer","parsedRef","resolveUrl","unescapeFragment","PREVENT_SCOPE_CHANGE","limit","checkNoRef","countKeys","count","SIMPLE_INLINED","normalize","protocolSeparator","protocol","href","host","TRAILING_SLASH_HASH","resolveIds","baseIds","","fullPaths","traverse","allKeys","sch","jsonPtr","rootSchema","parentJsonPtr","parentKeyword","keyIndex","fullPath","escapeFragment","toHash","Url","slashes","auth","port","search","query","pathname","urlParse","parseQueryString","slashesDenoteHost","u","urlFormat","isString","urlResolve","relative","urlResolveObject","resolveObject","isNull","isNullOrUndefined","punycode","protocolPattern","portPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","unsafeProtocol","javascript","javascript:","hostlessProtocol","slashedProtocol","http","https","ftp","gopher","http:","https:","ftp:","gopher:","file:","querystring","proto","lowerProto","toLowerCase","substr","hostEnd","hec","atSign","decodeURIComponent","parseHost","ipv6Hostname","hostparts","l","newpart","validParts","notHost","bit","unshift","domainArray","newOut","encode","h","ae","esc","encodeURIComponent","escape","qm","stringify","charAt","rel","forEach","relPath","shift","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","authInHost","last","hasTrailingSlash","up","isAbsolute","__WEBPACK_AMD_DEFINE_RESULT__","RangeError","mapDomain","regexSeparators","labels","encoded","ucs2decode","extra","output","counter","ucs2encode","stringFromCharCode","basicToDigit","codePoint","base","digitToBasic","digit","flag","adapt","delta","numPoints","firstTime","floor","damp","baseMinusTMin","tMax","skew","decode","input","out","basic","oldi","w","t","baseMinusT","inputLength","initialN","bias","initialBias","delimiter","maxInt","tMin","handledCPCount","basicLength","q","currentValue","handledCPCountPlusOne","qMinusT","toUnicode","regexPunycode","toASCII","regexNonASCII","freeExports","nodeType","freeModule","overflow","not-basic","invalid-input","fromCharCode","ucs2","webpackPolyfill","deprecate","paths","__webpack_amd_options__","qs","sep","regexp","maxKeys","kstr","vstr","x","idx","stringifyPrimitive","isFinite","ks","arrA","arrB","dateA","dateB","regexpA","regexpB","o","to","checkDataType","dataType","negate","EQUAL","AND","OK","NOT","checkDataTypes","dataTypes","types","null","coerceToTypes","optionCoerceTypes","COERCE_TO_TYPES","getProperty","IDENTIFIER","escapeQuotes","SINGLE_QUOTE","varOccurences","matches","varReplace","expr","cleanUpCode","EMPTY_ELSE","EMPTY_IF_NO_ELSE","EMPTY_IF_WITH_ELSE","finalCleanUpCode","ERRORS_REGEXP","REMOVE_ERRORS_ASYNC","RETURN_ASYNC","RETURN_DATA_ASYNC","REMOVE_ERRORS","RETURN_VALID","RETURN_TRUE","ROOTDATA_REGEXP","REMOVE_ROOTDATA","schemaHasRules","schemaHasRulesExcept","exceptKeyword","getPathExpr","currentPath","jsonPointers","isNumber","joinPaths","getPath","escapeJsonPointer","getData","lvl","jsonPointer","JSON_POINTER","RELATIVE_JSON_POINTER","segments","unescapeJsonPointer","pos","_traverse","arrayKeywords","propsKeywords","escapeJsonPtr","keywords","skipKeywords","contains","additionalProperties","propertyNames","not","allOf","patternProperties","exclusiveMaximum","exclusiveMinimum","maxLength","minLength","maxItems","maxProperties","minProperties","validation","missingRef","missingSchema","errorSubclass","Subclass","json","JSON","cmp","space","cycles","replacer","aobj","bobj","seen","level","indent","colonSeparator","objectKeys","keyValue","at","ch","escapee","\"","\\","/","r","hex","uffff","parseInt","white","word","reviver","walk","holder","escapable","partial","mind","gap","rep","\b","\t","\n","\f","\r","$keyword","$ruleType","$shouldUseGroup","$rulesGroup","$shouldUseRule","$rule","implements","$ruleImlementsSomeKeyword","impl","$refKeywords","all","$es7","yieldAwait","$errorKeyword","$lvl","$dataLvl","dataLevel","$schemaPath","$errSchemaPath","$breakOnError","$valid","$$outStack","createErrors","messages","verbose","__err","compositeRule","$top","rootId","dataPathArr","$closingBraces1","$closingBraces2","$typeSchema","$typeIsArray","extendRefs","coerceTypes","$coerceToTypes","$method","$dataType","$coerced","$bracesCoercion","arr1","$type","$i","l1","$parentData","$parentDataProperty","v5","i2","l2","useDefaults","$schemaKeys","arr3","$propertyKey","i3","l3","$sch","$passData","arr4","l4","arr5","i5","l5","$code","gen","ctx","Promise","reject","onFulfilled","ret","onRejected","throw","toPromise","isPromise","then","isGeneratorFunction","isGenerator","thunkToPromise","arrayToPromise","objectToPromise","defer","promise","results","promises","displayName","val","wrap","createPromise","__generatorFunction__","mode","DATE","DAYS","full","TIME","timeZone","date_time","dateTime","DATE_TIME_SEPARATOR","HOSTNAME","NOT_URI_FRAGMENT","URI","Z_ANCHOR","URIREF","URITEMPLATE","URL","UUID","fast","uri-reference","uri-template","uuid","json-pointer","relative-json-pointer","ruleModules","ALL","KEYWORDS","TYPES","group","implKeywords","custom","$refCode","$refVal","$message","missingRefs","$it","$nextValid","passContext","__callValidate","$closingBraces","$currentBaseId","$allSchemasEmpty","$errs","$noEmptySchema","$wasComposite","$schemaValue","$isData","$idx","$dataNxt","$nextData","$nonEmptySchema","$schemaDeps","$propertyDeps","$ownProperties","ownProperties","$property","$deps","$currentErrorPath","$prop","$useData","$propertyPath","$missingProperty","$vSchema","$unknownFormats","unknownFormats","$allowUnknown","$format","$isObject","$formatType","$formatRef","$additionalItems","$currErrSchemaPath","$isMax","$exclusiveKeyword","$schemaExcl","$isDataExcl","$op","$notOp","$schemaValueExcl","$exclusive","$exclType","$exclIsNumber","$opExpr","$opStr","unicode","multipleOfPrecision","$allErrorsOption","$regexp","$key","$dataProperties","$pProperties","$pPropertyKeys","$aProperties","$someProperties","$noAdditional","$additionalIsSchema","$removeAdditional","removeAdditional","$checkAdditional","$required","$requiredHash","$pgProperties","$pgPropertyKeys","i1","$pProperty","$pgProperty","$additionalProperty","$useDefaults","i4","$hasDefault","arr6","i6","l6","$pgSchema","$pgMin","$pgMax","$limit","$reason","$moreOrLess","$invalidName","$propertySch","$loopRequired","keywordsJsonPointers","metaSchemaRef","loadMetaSchemaOf","_compileAsync","loadMissingSchema","removePromise","added","schemaPromise","loadSchema","_addRule","ruleGroup","rg","$compile","$inline","$macro","$ruleValidate","$validateCode","$definition","$rDef","$validateSchema","$ruleErrs","$ruleErr","$asyncKeyword","statements","def_callRuleValidate","modifying","def_customError","description","schemaArray","nonNegativeInteger","nonNegativeIntegerDefault0","simpleTypes","stringArray","_ArrayField","_ArrayField2","_BooleanField","_BooleanField2","_DescriptionField","_DescriptionField2","_NumberField","_NumberField2","_ObjectField","_ObjectField2","_SchemaField2","_StringField","_StringField2","_TitleField","_TitleField2","_UnsupportedField","_UnsupportedField2","ArrayField","BooleanField","DescriptionField","NumberField","ObjectField","StringField","TitleField","UnsupportedField","ArrayFieldTitle","ArrayFieldDescription","IconBtn","_props$type","icon","otherProps","DefaultArrayItem","btnStyle","flex","paddingLeft","paddingRight","fontWeight","hasToolbar","style","display","justifyContent","hasMoveUp","hasMoveDown","tabIndex","disabled","readonly","onClick","onReorderClick","hasRemove","onDropIndexClick","DefaultFixedArrayFieldTemplate","canAdd","AddButton","onAddClick","DefaultNormalArrayFieldTemplate","_ref4","_ref3","_temp","_len","_key","_this$props$registry","_","newIndex","blur","_this$props3","onChangeForIndex","_this$props4","newFormData","jsonValue","onSelectChange","includes","formItems","_getUiOptions","addable","_props2$registry","renderFixedArray","renderFiles","renderMultiSelect","renderNormalArray","reason","_this2","autofocus","_props3$registry","rawErrors","arrayProps","canAddItem","itemErrorSchema","itemIdPrefix","itemIdSchema","renderArrayFieldItem","canMoveUp","canMoveDown","itemData","itemUiSchema","_props4","_props4$registry","enumOptions","_getUiOptions$enumOpt","_getUiOptions$enumOpt2","multiple","_props5","_props5$registry","_getUiOptions2","_getUiOptions2$widget","_this3","_props6","_props6$registry","itemSchemas","additionalSchema","additional","canRemove","Template","_props$canRemove","_props$canMoveUp","_props$canMoveDown","_props7","_props7$registry","_orderable$removable$","orderable","removable","moveUp","moveDown","toolbar","some","isItemRequired","_props$registry","_getUiOptions$widget","DefaultObjectFieldTemplate","content","onPropertyChange","orderedProperties","templateProps","getFieldComponent","componentName","COMPONENT_TYPES","Label","htmlFor","REQUIRED_FIELD_SYMBOL","Help","help","_props$errors","DefaultTemplate","classNames","displayLabel","SchemaFieldRender","_registry$FieldTempla","FieldComponent","Boolean","uiOptions","_uiOptions$label","fieldErrorSchema","fieldProps","rawDescription","rawHelp","_React$Component","defaultWidget","_getUiOptions$placeho","placeholder","legend","_AltDateWidget","_AltDateWidget2","_AltDateTimeWidget","_AltDateTimeWidget2","_BaseInput","_BaseInput2","_CheckboxWidget","_CheckboxWidget2","_CheckboxesWidget","_CheckboxesWidget2","_ColorWidget","_ColorWidget2","_DateWidget","_DateWidget2","_DateTimeWidget","_DateTimeWidget2","_EmailWidget","_EmailWidget2","_FileWidget","_FileWidget2","_HiddenWidget","_HiddenWidget2","_PasswordWidget","_PasswordWidget2","_RadioWidget","_RadioWidget2","_RangeWidget","_RangeWidget2","_SelectWidget","_SelectWidget2","_TextareaWidget","_TextareaWidget2","_TextWidget","_TextWidget2","_URLWidget","_URLWidget2","_UpDownWidget","_UpDownWidget2","BaseInput","PasswordWidget","RadioWidget","UpDownWidget","RangeWidget","SelectWidget","TextWidget","DateWidget","DateTimeWidget","AltDateWidget","AltDateTimeWidget","EmailWidget","URLWidget","TextareaWidget","HiddenWidget","ColorWidget","FileWidget","CheckboxWidget","CheckboxesWidget","rangeOptions","start","stop","readyForChange","DateElement","setNow","nowDateObj","dateElementProps","elemProps","log","inputProps","inputType","_onChange","emptyValue","cleanProps","readOnly","autoFocus","checked","selectValue","selected","updated","deselectValue","option","disabledCls","utcToLocal","jsonDate","yyyy","getFullYear","MM","getMonth","dd","getDate","hh","getHours","mm","getMinutes","ss","getSeconds","SSS","getMilliseconds","localToUTC","addNameToDataURL","dataURL","processFile","reader","FileReader","onload","readAsDataURL","processFiles","FilesInfo","filesInfo","fileInfo","extractFileInfo","dataURLs","_dataURItoBlob","values","inputRef","defaultValue","processValue","enumDisabled","newValue","rows"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,EAAAG,QAAA,UACA,kBAAAC,gBAAAC,IACAD,QAAA,SAAAJ,GACA,gBAAAC,SACAA,QAAA,eAAAD,EAAAG,QAAA,UAEAJ,EAAA,eAAAC,EAAAD,EAAA,QACCO,KAAA,SAAAC,GACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAT,OAGA,IAAAC,GAAAS,EAAAD,IACAT,WACAW,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAZ,EAAAD,QAAAC,IAAAD,QAAAQ,GAGAP,EAAAW,QAAA,EAGAX,EAAAD,QAvBA,GAAAU,KAqCA,OATAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,SAGAR,EAAA,KDgBM,SAASP,EAAQD,EAASQ,GAE/B,YAUA,SAASS,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GARvFG,OAAOC,eAAetB,EAAS,cAC7BuB,OAAO,GE3DV,IAAAC,GAAAhB,EAAA,GFgEKiB,EAASR,EAAuBO,EAIpCxB,GAAQoB,QAAUK,EAAOL,SAIpB,SAASnB,EAAQD,EAASQ,GAE/B,YA8BA,SAASS,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAEvF,QAASQ,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,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EAAAxD,EAAA,EnGw9bmBS,GAAuB+C,EAgBzChE,GAAQoB,QmG39bMwiD,GnG+9bT,SAAS3jD,EAAQD,EAASQ,GAE/B,YAkBA,SAASS,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GoG5/bxF,QAASiiD,GAAaz/C,GAAO,GAGZs/C,GAEXt/C,EAHF2F,SACEhB,QAAW26C,SAGf,OAAOj/C,GAAA3C,QAAA6G,cAAC+6C,EAADjgD,GAAW6G,KAAK,UAAalG,GAAW,EAAAS,EAAAuV,WAAUhW,EAAM+C,UpGs+bhEpF,OAAOC,eAAetB,EAAS,cAC7BuB,OAAO,GAGT,IAAIwB,GAAW1B,OAAO2B,QAAU,SAAUC,GAAU,IAAK,GAAIC,GAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,GAAIG,GAASF,UAAUD,EAAI,KAAK,GAAII,KAAOD,GAAchC,OAAOe,UAAUmB,eAAe1C,KAAKwC,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,MAAOL,IoGr/bxPa,EAAAtD,EAAA,GpGy/bKuD,EAAU9C,EAAuB6C,GoGx/btCE,EAAAxD,EAAA,GAEA2D,GpG0/bmBlD,EAAuB+C,GoG1/b1CxD,EAAA,GpG4gcCR,GAAQoB,QoG3/bM+hD","file":"react-jsonschema-form.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"JSONSchemaForm\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"JSONSchemaForm\"] = factory(root[\"React\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"JSONSchemaForm\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"JSONSchemaForm\"] = factory(root[\"React\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _Form = __webpack_require__(1);\n\t\n\tvar _Form2 = _interopRequireDefault(_Form);\n\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n\texports.default = _Form2.default;\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _ErrorList = __webpack_require__(7);\n\t\n\tvar _ErrorList2 = _interopRequireDefault(_ErrorList);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tvar _validate = __webpack_require__(13);\n\t\n\tvar _validate2 = _interopRequireDefault(_validate);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Form = function (_Component) {\n\t _inherits(Form, _Component);\n\t\n\t function Form(props) {\n\t _classCallCheck(this, Form);\n\t\n\t var _this = _possibleConstructorReturn(this, (Form.__proto__ || Object.getPrototypeOf(Form)).call(this, props));\n\t\n\t _this.onChange = function (formData, newErrorSchema) {\n\t var mustValidate = !_this.props.noValidate && _this.props.liveValidate;\n\t var state = { formData: formData };\n\t if (mustValidate) {\n\t var _this$validate = _this.validate(formData),\n\t errors = _this$validate.errors,\n\t errorSchema = _this$validate.errorSchema;\n\t\n\t state = _extends({}, state, { errors: errors, errorSchema: errorSchema });\n\t } else if (!_this.props.noValidate && newErrorSchema) {\n\t state = _extends({}, state, {\n\t errorSchema: newErrorSchema,\n\t errors: (0, _validate.toErrorList)(newErrorSchema)\n\t });\n\t }\n\t (0, _utils.setState)(_this, state, function () {\n\t if (_this.props.onChange) {\n\t _this.props.onChange(_this.state);\n\t }\n\t });\n\t };\n\t\n\t _this.onBlur = function () {\n\t if (_this.props.onBlur) {\n\t var _this$props;\n\t\n\t (_this$props = _this.props).onBlur.apply(_this$props, arguments);\n\t }\n\t };\n\t\n\t _this.onFocus = function () {\n\t if (_this.props.onFocus) {\n\t var _this$props2;\n\t\n\t (_this$props2 = _this.props).onFocus.apply(_this$props2, arguments);\n\t }\n\t };\n\t\n\t _this.onSubmit = function (event) {\n\t event.preventDefault();\n\t\n\t if (!_this.props.noValidate) {\n\t var _ret = function () {\n\t var _this$validate2 = _this.validate(_this.state.formData),\n\t errors = _this$validate2.errors,\n\t errorSchema = _this$validate2.errorSchema;\n\t\n\t if (Object.keys(errors).length > 0) {\n\t (0, _utils.setState)(_this, { errors: errors, errorSchema: errorSchema }, function () {\n\t if (_this.props.onError) {\n\t _this.props.onError(errors);\n\t } else {\n\t console.error(\"Form validation failed\", errors);\n\t }\n\t });\n\t return {\n\t v: void 0\n\t };\n\t }\n\t }();\n\t\n\t if ((typeof _ret === \"undefined\" ? \"undefined\" : _typeof(_ret)) === \"object\") return _ret.v;\n\t }\n\t\n\t if (_this.props.onSubmit) {\n\t _this.props.onSubmit(_extends({}, _this.state, { status: \"submitted\" }));\n\t }\n\t _this.setState({ errors: [], errorSchema: {} });\n\t };\n\t\n\t _this.state = _this.getStateFromProps(props);\n\t return _this;\n\t }\n\t\n\t _createClass(Form, [{\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t this.setState(this.getStateFromProps(nextProps));\n\t }\n\t }, {\n\t key: \"getStateFromProps\",\n\t value: function getStateFromProps(props) {\n\t var state = this.state || {};\n\t var schema = \"schema\" in props ? props.schema : this.props.schema;\n\t var uiSchema = \"uiSchema\" in props ? props.uiSchema : this.props.uiSchema;\n\t var edit = typeof props.formData !== \"undefined\";\n\t var liveValidate = props.liveValidate || this.props.liveValidate;\n\t var mustValidate = edit && !props.noValidate && liveValidate;\n\t var definitions = schema.definitions;\n\t\n\t var formData = (0, _utils.getDefaultFormState)(schema, props.formData, definitions);\n\t var retrievedSchema = (0, _utils.retrieveSchema)(schema, definitions, formData);\n\t\n\t var _ref = mustValidate ? this.validate(formData, schema) : {\n\t errors: state.errors || [],\n\t errorSchema: state.errorSchema || {}\n\t },\n\t errors = _ref.errors,\n\t errorSchema = _ref.errorSchema;\n\t\n\t var idSchema = (0, _utils.toIdSchema)(retrievedSchema, uiSchema[\"ui:rootFieldId\"], definitions, formData, props.idPrefix);\n\t return {\n\t schema: schema,\n\t uiSchema: uiSchema,\n\t idSchema: idSchema,\n\t formData: formData,\n\t edit: edit,\n\t errors: errors,\n\t errorSchema: errorSchema\n\t };\n\t }\n\t }, {\n\t key: \"shouldComponentUpdate\",\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _utils.shouldRender)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: \"validate\",\n\t value: function validate(formData) {\n\t var schema = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.schema;\n\t var _props = this.props,\n\t validate = _props.validate,\n\t transformErrors = _props.transformErrors;\n\t\n\t var _getRegistry = this.getRegistry(),\n\t definitions = _getRegistry.definitions;\n\t\n\t var resolvedSchema = (0, _utils.retrieveSchema)(schema, definitions, formData);\n\t return (0, _validate2.default)(formData, resolvedSchema, validate, transformErrors);\n\t }\n\t }, {\n\t key: \"renderErrors\",\n\t value: function renderErrors() {\n\t var _state = this.state,\n\t errors = _state.errors,\n\t errorSchema = _state.errorSchema,\n\t schema = _state.schema,\n\t uiSchema = _state.uiSchema;\n\t var _props2 = this.props,\n\t ErrorList = _props2.ErrorList,\n\t showErrorList = _props2.showErrorList,\n\t formContext = _props2.formContext;\n\t\n\t\n\t if (errors.length && showErrorList != false) {\n\t return _react2.default.createElement(ErrorList, {\n\t errors: errors,\n\t errorSchema: errorSchema,\n\t schema: schema,\n\t uiSchema: uiSchema,\n\t formContext: formContext\n\t });\n\t }\n\t return null;\n\t }\n\t }, {\n\t key: \"getRegistry\",\n\t value: function getRegistry() {\n\t // For BC, accept passed SchemaField and TitleField props and pass them to\n\t // the \"fields\" registry one.\n\t var _getDefaultRegistry = (0, _utils.getDefaultRegistry)(),\n\t fields = _getDefaultRegistry.fields,\n\t widgets = _getDefaultRegistry.widgets;\n\t\n\t return {\n\t fields: _extends({}, fields, this.props.fields),\n\t widgets: _extends({}, widgets, this.props.widgets),\n\t ArrayFieldTemplate: this.props.ArrayFieldTemplate,\n\t ObjectFieldTemplate: this.props.ObjectFieldTemplate,\n\t FieldTemplate: this.props.FieldTemplate,\n\t definitions: this.props.schema.definitions || {},\n\t formContext: this.props.formContext || {}\n\t };\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _props3 = this.props,\n\t children = _props3.children,\n\t safeRenderCompletion = _props3.safeRenderCompletion,\n\t id = _props3.id,\n\t idPrefix = _props3.idPrefix,\n\t className = _props3.className,\n\t name = _props3.name,\n\t method = _props3.method,\n\t target = _props3.target,\n\t action = _props3.action,\n\t autocomplete = _props3.autocomplete,\n\t enctype = _props3.enctype,\n\t acceptcharset = _props3.acceptcharset,\n\t noHtml5Validate = _props3.noHtml5Validate;\n\t var _state2 = this.state,\n\t schema = _state2.schema,\n\t uiSchema = _state2.uiSchema,\n\t formData = _state2.formData,\n\t errorSchema = _state2.errorSchema,\n\t idSchema = _state2.idSchema;\n\t\n\t var registry = this.getRegistry();\n\t var _SchemaField = registry.fields.SchemaField;\n\t\n\t return _react2.default.createElement(\n\t \"form\",\n\t {\n\t className: className ? className : \"rjsf\",\n\t id: id,\n\t name: name,\n\t method: method,\n\t target: target,\n\t action: action,\n\t autoComplete: autocomplete,\n\t encType: enctype,\n\t acceptCharset: acceptcharset,\n\t noValidate: noHtml5Validate,\n\t onSubmit: this.onSubmit },\n\t this.renderErrors(),\n\t _react2.default.createElement(_SchemaField, {\n\t schema: schema,\n\t uiSchema: uiSchema,\n\t errorSchema: errorSchema,\n\t idSchema: idSchema,\n\t idPrefix: idPrefix,\n\t formData: formData,\n\t onChange: this.onChange,\n\t onBlur: this.onBlur,\n\t onFocus: this.onFocus,\n\t registry: registry,\n\t safeRenderCompletion: safeRenderCompletion\n\t }),\n\t children ? children : _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"submit\", className: \"btn btn-info\" },\n\t \"Submit\"\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return Form;\n\t}(_react.Component);\n\t\n\tForm.defaultProps = {\n\t uiSchema: {},\n\t noValidate: false,\n\t liveValidate: false,\n\t safeRenderCompletion: false,\n\t noHtml5Validate: false,\n\t ErrorList: _ErrorList2.default\n\t};\n\texports.default = Form;\n\t\n\t\n\tif (false) {\n\t Form.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object,\n\t formData: _propTypes2.default.any,\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])),\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func),\n\t ArrayFieldTemplate: _propTypes2.default.func,\n\t ObjectFieldTemplate: _propTypes2.default.func,\n\t FieldTemplate: _propTypes2.default.func,\n\t ErrorList: _propTypes2.default.func,\n\t onChange: _propTypes2.default.func,\n\t onError: _propTypes2.default.func,\n\t showErrorList: _propTypes2.default.bool,\n\t onSubmit: _propTypes2.default.func,\n\t id: _propTypes2.default.string,\n\t className: _propTypes2.default.string,\n\t name: _propTypes2.default.string,\n\t method: _propTypes2.default.string,\n\t target: _propTypes2.default.string,\n\t action: _propTypes2.default.string,\n\t autocomplete: _propTypes2.default.string,\n\t enctype: _propTypes2.default.string,\n\t acceptcharset: _propTypes2.default.string,\n\t noValidate: _propTypes2.default.bool,\n\t noHtml5Validate: _propTypes2.default.bool,\n\t liveValidate: _propTypes2.default.bool,\n\t validate: _propTypes2.default.func,\n\t transformErrors: _propTypes2.default.func,\n\t safeRenderCompletion: _propTypes2.default.bool,\n\t formContext: _propTypes2.default.object\n\t };\n\t}\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t */\n\t\n\tif (false) {\n\t var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element') || 0xeac7;\n\t\n\t var isValidElement = function isValidElement(object) {\n\t return (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n\t };\n\t\n\t // By explicitly using `prop-types` you are opting into new development behavior.\n\t // http://fb.me/prop-types-in-prod\n\t var throwOnDirectAccess = true;\n\t module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess);\n\t} else {\n\t // By explicitly using `prop-types` you are opting into new production behavior.\n\t // http://fb.me/prop-types-in-prod\n\t module.exports = __webpack_require__(4)();\n\t}\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __webpack_require__(5);\n\tvar invariant = __webpack_require__(6);\n\t\n\tmodule.exports = function () {\n\t // Important!\n\t // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\t function shim() {\n\t invariant(false, 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n\t };\n\t shim.isRequired = shim;\n\t function getShim() {\n\t return shim;\n\t };\n\t var ReactPropTypes = {\n\t array: shim,\n\t bool: shim,\n\t func: shim,\n\t number: shim,\n\t object: shim,\n\t string: shim,\n\t symbol: shim,\n\t\n\t any: shim,\n\t arrayOf: getShim,\n\t element: shim,\n\t instanceOf: getShim,\n\t node: shim,\n\t objectOf: getShim,\n\t oneOf: getShim,\n\t oneOfType: getShim,\n\t shape: getShim\n\t };\n\t\n\t ReactPropTypes.checkPropTypes = emptyFunction;\n\t ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t return ReactPropTypes;\n\t};\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\tfunction makeEmptyFunction(arg) {\n\t return function () {\n\t return arg;\n\t };\n\t}\n\t\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\t\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t return arg;\n\t};\n\t\n\tmodule.exports = emptyFunction;\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar validateFormat = function validateFormat(format) {};\n\t\n\tif (false) {\n\t validateFormat = function validateFormat(format) {\n\t if (format === undefined) {\n\t throw new Error('invariant requires an error message argument');\n\t }\n\t };\n\t}\n\t\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t validateFormat(format);\n\t\n\t if (!condition) {\n\t var error;\n\t if (format === undefined) {\n\t error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t } else {\n\t var args = [a, b, c, d, e, f];\n\t var argIndex = 0;\n\t error = new Error(format.replace(/%s/g, function () {\n\t return args[argIndex++];\n\t }));\n\t error.name = 'Invariant Violation';\n\t }\n\t\n\t error.framesToPop = 1; // we don't care about invariant's own frame\n\t throw error;\n\t }\n\t}\n\t\n\tmodule.exports = invariant;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = ErrorList;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction ErrorList(props) {\n\t var errors = props.errors;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"panel panel-danger errors\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"panel-heading\" },\n\t _react2.default.createElement(\n\t \"h3\",\n\t { className: \"panel-title\" },\n\t \"Errors\"\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"list-group\" },\n\t errors.map(function (error, i) {\n\t return _react2.default.createElement(\n\t \"li\",\n\t { key: i, className: \"list-group-item text-danger\" },\n\t error.stack\n\t );\n\t })\n\t )\n\t );\n\t}\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.getDefaultRegistry = getDefaultRegistry;\n\texports.getSchemaType = getSchemaType;\n\texports.getWidget = getWidget;\n\texports.getDefaultFormState = getDefaultFormState;\n\texports.getUiOptions = getUiOptions;\n\texports.isObject = isObject;\n\texports.mergeObjects = mergeObjects;\n\texports.asNumber = asNumber;\n\texports.orderProperties = orderProperties;\n\texports.isConstant = isConstant;\n\texports.toConstant = toConstant;\n\texports.isSelect = isSelect;\n\texports.isMultiSelect = isMultiSelect;\n\texports.isFilesArray = isFilesArray;\n\texports.isFixedItems = isFixedItems;\n\texports.allowAdditionalItems = allowAdditionalItems;\n\texports.optionsList = optionsList;\n\texports.retrieveSchema = retrieveSchema;\n\texports.deepEquals = deepEquals;\n\texports.shouldRender = shouldRender;\n\texports.toIdSchema = toIdSchema;\n\texports.parseDateString = parseDateString;\n\texports.toDateString = toDateString;\n\texports.pad = pad;\n\texports.setState = setState;\n\texports.dataURItoBlob = dataURItoBlob;\n\texports.rangeSpec = rangeSpec;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\t__webpack_require__(11);\n\t\n\tvar _validate = __webpack_require__(13);\n\t\n\tvar _validate2 = _interopRequireDefault(_validate);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tvar widgetMap = {\n\t boolean: {\n\t checkbox: \"CheckboxWidget\",\n\t radio: \"RadioWidget\",\n\t select: \"SelectWidget\",\n\t hidden: \"HiddenWidget\"\n\t },\n\t string: {\n\t text: \"TextWidget\",\n\t password: \"PasswordWidget\",\n\t email: \"EmailWidget\",\n\t hostname: \"TextWidget\",\n\t ipv4: \"TextWidget\",\n\t ipv6: \"TextWidget\",\n\t uri: \"URLWidget\",\n\t \"data-url\": \"FileWidget\",\n\t radio: \"RadioWidget\",\n\t select: \"SelectWidget\",\n\t textarea: \"TextareaWidget\",\n\t hidden: \"HiddenWidget\",\n\t date: \"DateWidget\",\n\t datetime: \"DateTimeWidget\",\n\t \"date-time\": \"DateTimeWidget\",\n\t \"alt-date\": \"AltDateWidget\",\n\t \"alt-datetime\": \"AltDateTimeWidget\",\n\t color: \"ColorWidget\",\n\t file: \"FileWidget\"\n\t },\n\t number: {\n\t text: \"TextWidget\",\n\t select: \"SelectWidget\",\n\t updown: \"UpDownWidget\",\n\t range: \"RangeWidget\",\n\t radio: \"RadioWidget\",\n\t hidden: \"HiddenWidget\"\n\t },\n\t integer: {\n\t text: \"TextWidget\",\n\t select: \"SelectWidget\",\n\t updown: \"UpDownWidget\",\n\t range: \"RangeWidget\",\n\t radio: \"RadioWidget\",\n\t hidden: \"HiddenWidget\"\n\t },\n\t array: {\n\t select: \"SelectWidget\",\n\t checkboxes: \"CheckboxesWidget\",\n\t files: \"FileWidget\"\n\t }\n\t};\n\t\n\tfunction getDefaultRegistry() {\n\t return {\n\t fields: __webpack_require__(69).default,\n\t widgets: __webpack_require__(79).default,\n\t definitions: {},\n\t formContext: {}\n\t };\n\t}\n\t\n\tfunction getSchemaType(schema) {\n\t var type = schema.type;\n\t\n\t if (!type && schema.enum) {\n\t type = \"string\";\n\t }\n\t return type;\n\t}\n\t\n\tfunction getWidget(schema, widget) {\n\t var registeredWidgets = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t var type = getSchemaType(schema);\n\t\n\t function mergeOptions(Widget) {\n\t // cache return value as property of widget for proper react reconciliation\n\t if (!Widget.MergedWidget) {\n\t (function () {\n\t var defaultOptions = Widget.defaultProps && Widget.defaultProps.options || {};\n\t Widget.MergedWidget = function (_ref) {\n\t var _ref$options = _ref.options,\n\t options = _ref$options === undefined ? {} : _ref$options,\n\t props = _objectWithoutProperties(_ref, [\"options\"]);\n\t\n\t return _react2.default.createElement(Widget, _extends({ options: _extends({}, defaultOptions, options) }, props));\n\t };\n\t })();\n\t }\n\t return Widget.MergedWidget;\n\t }\n\t\n\t if (typeof widget === \"function\") {\n\t return mergeOptions(widget);\n\t }\n\t\n\t if (typeof widget !== \"string\") {\n\t throw new Error(\"Unsupported widget definition: \" + (typeof widget === \"undefined\" ? \"undefined\" : _typeof(widget)));\n\t }\n\t\n\t if (registeredWidgets.hasOwnProperty(widget)) {\n\t var registeredWidget = registeredWidgets[widget];\n\t return getWidget(schema, registeredWidget, registeredWidgets);\n\t }\n\t\n\t if (!widgetMap.hasOwnProperty(type)) {\n\t throw new Error(\"No widget for type \\\"\" + type + \"\\\"\");\n\t }\n\t\n\t if (widgetMap[type].hasOwnProperty(widget)) {\n\t var _registeredWidget = registeredWidgets[widgetMap[type][widget]];\n\t return getWidget(schema, _registeredWidget, registeredWidgets);\n\t }\n\t\n\t throw new Error(\"No widget \\\"\" + widget + \"\\\" for type \\\"\" + type + \"\\\"\");\n\t}\n\t\n\tfunction computeDefaults(schema, parentDefaults) {\n\t var definitions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t // Compute the defaults recursively: give highest priority to deepest nodes.\n\t var defaults = parentDefaults;\n\t if (isObject(defaults) && isObject(schema.default)) {\n\t // For object defaults, only override parent defaults that are defined in\n\t // schema.default.\n\t defaults = mergeObjects(defaults, schema.default);\n\t } else if (\"default\" in schema) {\n\t // Use schema defaults for this node.\n\t defaults = schema.default;\n\t } else if (\"$ref\" in schema) {\n\t // Use referenced schema defaults for this node.\n\t var refSchema = findSchemaDefinition(schema.$ref, definitions);\n\t return computeDefaults(refSchema, defaults, definitions);\n\t } else if (isFixedItems(schema)) {\n\t defaults = schema.items.map(function (itemSchema) {\n\t return computeDefaults(itemSchema, undefined, definitions);\n\t });\n\t }\n\t // Not defaults defined for this node, fallback to generic typed ones.\n\t if (typeof defaults === \"undefined\") {\n\t defaults = schema.default;\n\t }\n\t\n\t switch (schema.type) {\n\t // We need to recur for object schema inner default values.\n\t case \"object\":\n\t return Object.keys(schema.properties || {}).reduce(function (acc, key) {\n\t // Compute the defaults for this node, with the parent defaults we might\n\t // have from a previous run: defaults[key].\n\t acc[key] = computeDefaults(schema.properties[key], (defaults || {})[key], definitions);\n\t return acc;\n\t }, {});\n\t\n\t case \"array\":\n\t if (schema.minItems) {\n\t if (!isMultiSelect(schema, definitions)) {\n\t var defaultsLength = defaults ? defaults.length : 0;\n\t if (schema.minItems > defaultsLength) {\n\t var defaultEntries = defaults || [];\n\t // populate the array with the defaults\n\t var fillerEntries = new Array(schema.minItems - defaultsLength).fill(computeDefaults(schema.items, schema.items.defaults, definitions));\n\t // then fill up the rest with either the item default or empty, up to minItems\n\t\n\t return defaultEntries.concat(fillerEntries);\n\t }\n\t } else {\n\t return [];\n\t }\n\t }\n\t }\n\t return defaults;\n\t}\n\t\n\tfunction getDefaultFormState(_schema, formData) {\n\t var definitions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t if (!isObject(_schema)) {\n\t throw new Error(\"Invalid schema: \" + _schema);\n\t }\n\t var schema = retrieveSchema(_schema, definitions, formData);\n\t var defaults = computeDefaults(schema, _schema.default, definitions);\n\t if (typeof formData === \"undefined\") {\n\t // No form data? Use schema defaults.\n\t return defaults;\n\t }\n\t if (isObject(formData)) {\n\t // Override schema defaults with form data.\n\t return mergeObjects(defaults, formData);\n\t }\n\t return formData || defaults;\n\t}\n\t\n\tfunction getUiOptions(uiSchema) {\n\t // get all passed options from ui:widget, ui:options, and ui:<optionName>\n\t return Object.keys(uiSchema).filter(function (key) {\n\t return key.indexOf(\"ui:\") === 0;\n\t }).reduce(function (options, key) {\n\t var value = uiSchema[key];\n\t\n\t if (key === \"ui:widget\" && isObject(value)) {\n\t console.warn(\"Setting options via ui:widget object is deprecated, use ui:options instead\");\n\t return _extends({}, options, value.options || {}, {\n\t widget: value.component\n\t });\n\t }\n\t if (key === \"ui:options\" && isObject(value)) {\n\t return _extends({}, options, value);\n\t }\n\t return _extends({}, options, _defineProperty({}, key.substring(3), value));\n\t }, {});\n\t}\n\t\n\tfunction isObject(thing) {\n\t return (typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null && !Array.isArray(thing);\n\t}\n\t\n\tfunction mergeObjects(obj1, obj2) {\n\t var concatArrays = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\t\n\t // Recursively merge deeply nested objects.\n\t var acc = Object.assign({}, obj1); // Prevent mutation of source object.\n\t return Object.keys(obj2).reduce(function (acc, key) {\n\t var left = obj1[key],\n\t right = obj2[key];\n\t if (obj1.hasOwnProperty(key) && isObject(right)) {\n\t acc[key] = mergeObjects(left, right, concatArrays);\n\t } else if (concatArrays && Array.isArray(left) && Array.isArray(right)) {\n\t acc[key] = left.concat(right);\n\t } else {\n\t acc[key] = right;\n\t }\n\t return acc;\n\t }, acc);\n\t}\n\t\n\tfunction asNumber(value) {\n\t if (value === \"\") {\n\t return undefined;\n\t }\n\t if (/\\.$/.test(value)) {\n\t // \"3.\" can't really be considered a number even if it parses in js. The\n\t // user is most likely entering a float.\n\t return value;\n\t }\n\t if (/\\.0$/.test(value)) {\n\t // we need to return this as a string here, to allow for input like 3.07\n\t return value;\n\t }\n\t var n = Number(value);\n\t var valid = typeof n === \"number\" && !Number.isNaN(n);\n\t\n\t if (/\\.\\d*0$/.test(value)) {\n\t // It's a number, that's cool - but we need it as a string so it doesn't screw\n\t // with the user when entering dollar amounts or other values (such as those with\n\t // specific precision or number of significant digits)\n\t return value;\n\t }\n\t\n\t return valid ? n : value;\n\t}\n\t\n\tfunction orderProperties(properties, order) {\n\t if (!Array.isArray(order)) {\n\t return properties;\n\t }\n\t\n\t var arrayToHash = function arrayToHash(arr) {\n\t return arr.reduce(function (prev, curr) {\n\t prev[curr] = true;\n\t return prev;\n\t }, {});\n\t };\n\t var errorPropList = function errorPropList(arr) {\n\t return arr.length > 1 ? \"properties '\" + arr.join(\"', '\") + \"'\" : \"property '\" + arr[0] + \"'\";\n\t };\n\t var propertyHash = arrayToHash(properties);\n\t var orderHash = arrayToHash(order);\n\t var extraneous = order.filter(function (prop) {\n\t return prop !== \"*\" && !propertyHash[prop];\n\t });\n\t if (extraneous.length) {\n\t throw new Error(\"uiSchema order list contains extraneous \" + errorPropList(extraneous));\n\t }\n\t var rest = properties.filter(function (prop) {\n\t return !orderHash[prop];\n\t });\n\t var restIndex = order.indexOf(\"*\");\n\t if (restIndex === -1) {\n\t if (rest.length) {\n\t throw new Error(\"uiSchema order list does not contain \" + errorPropList(rest));\n\t }\n\t return order;\n\t }\n\t if (restIndex !== order.lastIndexOf(\"*\")) {\n\t throw new Error(\"uiSchema order list contains more than one wildcard item\");\n\t }\n\t\n\t var complete = [].concat(_toConsumableArray(order));\n\t complete.splice.apply(complete, [restIndex, 1].concat(_toConsumableArray(rest)));\n\t return complete;\n\t}\n\t\n\t/**\n\t * This function checks if the given schema matches a single\n\t * constant value.\n\t */\n\tfunction isConstant(schema) {\n\t return Array.isArray(schema.enum) && schema.enum.length === 1 || schema.hasOwnProperty(\"const\");\n\t}\n\t\n\tfunction toConstant(schema) {\n\t if (Array.isArray(schema.enum) && schema.enum.length === 1) {\n\t return schema.enum[0];\n\t } else if (schema.hasOwnProperty(\"const\")) {\n\t return schema.const;\n\t } else {\n\t throw new Error(\"schema cannot be inferred as a constant\");\n\t }\n\t}\n\t\n\tfunction isSelect(_schema) {\n\t var definitions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t var schema = retrieveSchema(_schema, definitions);\n\t var altSchemas = schema.oneOf || schema.anyOf;\n\t if (Array.isArray(schema.enum)) {\n\t return true;\n\t } else if (Array.isArray(altSchemas)) {\n\t return altSchemas.every(function (altSchemas) {\n\t return isConstant(altSchemas);\n\t });\n\t }\n\t return false;\n\t}\n\t\n\tfunction isMultiSelect(schema) {\n\t var definitions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t if (!schema.uniqueItems || !schema.items) {\n\t return false;\n\t }\n\t return isSelect(schema.items, definitions);\n\t}\n\t\n\tfunction isFilesArray(schema, uiSchema) {\n\t var definitions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t if (uiSchema[\"ui:widget\"] === \"files\") {\n\t return true;\n\t } else if (schema.items) {\n\t var itemsSchema = retrieveSchema(schema.items, definitions);\n\t return itemsSchema.type === \"string\" && itemsSchema.format === \"data-url\";\n\t }\n\t return false;\n\t}\n\t\n\tfunction isFixedItems(schema) {\n\t return Array.isArray(schema.items) && schema.items.length > 0 && schema.items.every(function (item) {\n\t return isObject(item);\n\t });\n\t}\n\t\n\tfunction allowAdditionalItems(schema) {\n\t if (schema.additionalItems === true) {\n\t console.warn(\"additionalItems=true is currently not supported\");\n\t }\n\t return isObject(schema.additionalItems);\n\t}\n\t\n\tfunction optionsList(schema) {\n\t if (schema.enum) {\n\t return schema.enum.map(function (value, i) {\n\t var label = schema.enumNames && schema.enumNames[i] || String(value);\n\t return { label: label, value: value };\n\t });\n\t } else {\n\t var altSchemas = schema.oneOf || schema.anyOf;\n\t return altSchemas.map(function (schema, i) {\n\t var value = toConstant(schema);\n\t var label = schema.title || String(value);\n\t return { label: label, value: value };\n\t });\n\t }\n\t}\n\t\n\tfunction findSchemaDefinition($ref) {\n\t var definitions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\n\t // Extract and use the referenced definition if we have it.\n\t var match = /^#\\/definitions\\/(.*)$/.exec($ref);\n\t if (match && match[1]) {\n\t var parts = match[1].split(\"/\");\n\t var current = definitions;\n\t var _iteratorNormalCompletion = true;\n\t var _didIteratorError = false;\n\t var _iteratorError = undefined;\n\t\n\t try {\n\t for (var _iterator = parts[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t var part = _step.value;\n\t\n\t part = part.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n\t if (current.hasOwnProperty(part)) {\n\t current = current[part];\n\t } else {\n\t // No matching definition found, that's an error (bogus schema?)\n\t throw new Error(\"Could not find a definition for \" + $ref + \".\");\n\t }\n\t }\n\t } catch (err) {\n\t _didIteratorError = true;\n\t _iteratorError = err;\n\t } finally {\n\t try {\n\t if (!_iteratorNormalCompletion && _iterator.return) {\n\t _iterator.return();\n\t }\n\t } finally {\n\t if (_didIteratorError) {\n\t throw _iteratorError;\n\t }\n\t }\n\t }\n\t\n\t return current;\n\t }\n\t\n\t // No matching definition found, that's an error (bogus schema?)\n\t throw new Error(\"Could not find a definition for \" + $ref + \".\");\n\t}\n\t\n\tfunction retrieveSchema(schema) {\n\t var definitions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t var formData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t if (schema.hasOwnProperty(\"$ref\")) {\n\t // Retrieve the referenced schema definition.\n\t var $refSchema = findSchemaDefinition(schema.$ref, definitions);\n\t // Drop the $ref property of the source schema.\n\t\n\t var $ref = schema.$ref,\n\t localSchema = _objectWithoutProperties(schema, [\"$ref\"]);\n\t // Update referenced schema definition with local schema properties.\n\t\n\t\n\t return retrieveSchema(_extends({}, $refSchema, localSchema), definitions, formData);\n\t } else if (schema.hasOwnProperty(\"dependencies\")) {\n\t var resolvedSchema = resolveDependencies(schema, definitions, formData);\n\t return retrieveSchema(resolvedSchema, definitions, formData);\n\t } else {\n\t // No $ref or dependencies attribute found, returning the original schema.\n\t return schema;\n\t }\n\t}\n\t\n\tfunction resolveDependencies(schema, definitions, formData) {\n\t // Drop the dependencies from the source schema.\n\t var _schema$dependencies = schema.dependencies,\n\t dependencies = _schema$dependencies === undefined ? {} : _schema$dependencies,\n\t resolvedSchema = _objectWithoutProperties(schema, [\"dependencies\"]);\n\t // Process dependencies updating the local schema properties as appropriate.\n\t\n\t\n\t for (var dependencyKey in dependencies) {\n\t // Skip this dependency if its trigger property is not present.\n\t if (formData[dependencyKey] === undefined) {\n\t continue;\n\t }\n\t var dependencyValue = dependencies[dependencyKey];\n\t if (Array.isArray(dependencyValue)) {\n\t resolvedSchema = withDependentProperties(resolvedSchema, dependencyValue);\n\t } else if (isObject(dependencyValue)) {\n\t resolvedSchema = withDependentSchema(resolvedSchema, definitions, formData, dependencyKey, dependencyValue);\n\t }\n\t }\n\t return resolvedSchema;\n\t}\n\t\n\tfunction withDependentProperties(schema, additionallyRequired) {\n\t if (!additionallyRequired) {\n\t return schema;\n\t }\n\t var required = Array.isArray(schema.required) ? Array.from(new Set([].concat(_toConsumableArray(schema.required), _toConsumableArray(additionallyRequired)))) : additionallyRequired;\n\t return _extends({}, schema, { required: required });\n\t}\n\t\n\tfunction withDependentSchema(schema, definitions, formData, dependencyKey, dependencyValue) {\n\t var _retrieveSchema = retrieveSchema(dependencyValue, definitions, formData),\n\t oneOf = _retrieveSchema.oneOf,\n\t dependentSchema = _objectWithoutProperties(_retrieveSchema, [\"oneOf\"]);\n\t\n\t schema = mergeSchemas(schema, dependentSchema);\n\t return oneOf === undefined ? schema : withExactlyOneSubschema(schema, definitions, formData, dependencyKey, oneOf);\n\t}\n\t\n\tfunction withExactlyOneSubschema(schema, definitions, formData, dependencyKey, oneOf) {\n\t if (!Array.isArray(oneOf)) {\n\t throw new Error(\"invalid oneOf: it is some \" + (typeof oneOf === \"undefined\" ? \"undefined\" : _typeof(oneOf)) + \" instead of an array\");\n\t }\n\t var validSubschemas = oneOf.filter(function (subschema) {\n\t if (!subschema.properties) {\n\t return false;\n\t }\n\t var conditionPropertySchema = subschema.properties[dependencyKey];\n\t\n\t if (conditionPropertySchema) {\n\t var conditionSchema = {\n\t type: \"object\",\n\t properties: _defineProperty({}, dependencyKey, conditionPropertySchema)\n\t };\n\t\n\t var _validateFormData = (0, _validate2.default)(formData, conditionSchema),\n\t errors = _validateFormData.errors;\n\t\n\t return errors.length === 0;\n\t }\n\t });\n\t if (validSubschemas.length !== 1) {\n\t console.warn(\"ignoring oneOf in dependencies because there isn't exactly one subschema that is valid\");\n\t return schema;\n\t }\n\t var subschema = validSubschemas[0];\n\t\n\t var _subschema$properties = subschema.properties,\n\t conditionPropertySchema = _subschema$properties[dependencyKey],\n\t dependentSubschema = _objectWithoutProperties(_subschema$properties, [dependencyKey]);\n\t\n\t var dependentSchema = _extends({}, subschema, { properties: dependentSubschema });\n\t return mergeSchemas(schema, retrieveSchema(dependentSchema, definitions, formData));\n\t}\n\t\n\tfunction mergeSchemas(schema1, schema2) {\n\t return mergeObjects(schema1, schema2, true);\n\t}\n\t\n\tfunction isArguments(object) {\n\t return Object.prototype.toString.call(object) === \"[object Arguments]\";\n\t}\n\t\n\tfunction deepEquals(a, b) {\n\t var ca = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\t var cb = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n\t\n\t // Partially extracted from node-deeper and adapted to exclude comparison\n\t // checks for functions.\n\t // https://github.com/othiym23/node-deeper\n\t if (a === b) {\n\t return true;\n\t } else if (typeof a === \"function\" || typeof b === \"function\") {\n\t // Assume all functions are equivalent\n\t // see https://github.com/mozilla-services/react-jsonschema-form/issues/255\n\t return true;\n\t } else if ((typeof a === \"undefined\" ? \"undefined\" : _typeof(a)) !== \"object\" || (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) !== \"object\") {\n\t return false;\n\t } else if (a === null || b === null) {\n\t return false;\n\t } else if (a instanceof Date && b instanceof Date) {\n\t return a.getTime() === b.getTime();\n\t } else if (a instanceof RegExp && b instanceof RegExp) {\n\t return a.source === b.source && a.global === b.global && a.multiline === b.multiline && a.lastIndex === b.lastIndex && a.ignoreCase === b.ignoreCase;\n\t } else if (isArguments(a) || isArguments(b)) {\n\t if (!(isArguments(a) && isArguments(b))) {\n\t return false;\n\t }\n\t var slice = Array.prototype.slice;\n\t return deepEquals(slice.call(a), slice.call(b), ca, cb);\n\t } else {\n\t if (a.constructor !== b.constructor) {\n\t return false;\n\t }\n\t\n\t var ka = Object.keys(a);\n\t var kb = Object.keys(b);\n\t // don't bother with stack acrobatics if there's nothing there\n\t if (ka.length === 0 && kb.length === 0) {\n\t return true;\n\t }\n\t if (ka.length !== kb.length) {\n\t return false;\n\t }\n\t\n\t var cal = ca.length;\n\t while (cal--) {\n\t if (ca[cal] === a) {\n\t return cb[cal] === b;\n\t }\n\t }\n\t ca.push(a);\n\t cb.push(b);\n\t\n\t ka.sort();\n\t kb.sort();\n\t for (var j = ka.length - 1; j >= 0; j--) {\n\t if (ka[j] !== kb[j]) {\n\t return false;\n\t }\n\t }\n\t\n\t var key = void 0;\n\t for (var k = ka.length - 1; k >= 0; k--) {\n\t key = ka[k];\n\t if (!deepEquals(a[key], b[key], ca, cb)) {\n\t return false;\n\t }\n\t }\n\t\n\t ca.pop();\n\t cb.pop();\n\t\n\t return true;\n\t }\n\t}\n\t\n\tfunction shouldRender(comp, nextProps, nextState) {\n\t var props = comp.props,\n\t state = comp.state;\n\t\n\t return !deepEquals(props, nextProps) || !deepEquals(state, nextState);\n\t}\n\t\n\tfunction toIdSchema(schema, id, definitions) {\n\t var formData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\t var idPrefix = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : \"root\";\n\t\n\t var idSchema = {\n\t $id: id || idPrefix\n\t };\n\t if (\"$ref\" in schema) {\n\t var _schema = retrieveSchema(schema, definitions, formData);\n\t return toIdSchema(_schema, id, definitions, formData, idPrefix);\n\t }\n\t if (\"items\" in schema && !schema.items.$ref) {\n\t return toIdSchema(schema.items, id, definitions, formData, idPrefix);\n\t }\n\t if (schema.type !== \"object\") {\n\t return idSchema;\n\t }\n\t for (var name in schema.properties || {}) {\n\t var field = schema.properties[name];\n\t var fieldId = idSchema.$id + \"_\" + name;\n\t idSchema[name] = toIdSchema(field, fieldId, definitions, formData[name], idPrefix);\n\t }\n\t return idSchema;\n\t}\n\t\n\tfunction parseDateString(dateString) {\n\t var includeTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\t\n\t if (!dateString) {\n\t return {\n\t year: -1,\n\t month: -1,\n\t day: -1,\n\t hour: includeTime ? -1 : 0,\n\t minute: includeTime ? -1 : 0,\n\t second: includeTime ? -1 : 0\n\t };\n\t }\n\t var date = new Date(dateString);\n\t if (Number.isNaN(date.getTime())) {\n\t throw new Error(\"Unable to parse date \" + dateString);\n\t }\n\t return {\n\t year: date.getUTCFullYear(),\n\t month: date.getUTCMonth() + 1, // oh you, javascript.\n\t day: date.getUTCDate(),\n\t hour: includeTime ? date.getUTCHours() : 0,\n\t minute: includeTime ? date.getUTCMinutes() : 0,\n\t second: includeTime ? date.getUTCSeconds() : 0\n\t };\n\t}\n\t\n\tfunction toDateString(_ref2) {\n\t var year = _ref2.year,\n\t month = _ref2.month,\n\t day = _ref2.day,\n\t _ref2$hour = _ref2.hour,\n\t hour = _ref2$hour === undefined ? 0 : _ref2$hour,\n\t _ref2$minute = _ref2.minute,\n\t minute = _ref2$minute === undefined ? 0 : _ref2$minute,\n\t _ref2$second = _ref2.second,\n\t second = _ref2$second === undefined ? 0 : _ref2$second;\n\t var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\t\n\t var utcTime = Date.UTC(year, month - 1, day, hour, minute, second);\n\t var datetime = new Date(utcTime).toJSON();\n\t return time ? datetime : datetime.slice(0, 10);\n\t}\n\t\n\tfunction pad(num, size) {\n\t var s = String(num);\n\t while (s.length < size) {\n\t s = \"0\" + s;\n\t }\n\t return s;\n\t}\n\t\n\tfunction setState(instance, state, callback) {\n\t var safeRenderCompletion = instance.props.safeRenderCompletion;\n\t\n\t if (safeRenderCompletion) {\n\t instance.setState(state, callback);\n\t } else {\n\t instance.setState(state);\n\t setImmediate(callback);\n\t }\n\t}\n\t\n\tfunction dataURItoBlob(dataURI) {\n\t // Split metadata from data\n\t var splitted = dataURI.split(\",\");\n\t // Split params\n\t var params = splitted[0].split(\";\");\n\t // Get mime-type from params\n\t var type = params[0].replace(\"data:\", \"\");\n\t // Filter the name property from params\n\t var properties = params.filter(function (param) {\n\t return param.split(\"=\")[0] === \"name\";\n\t });\n\t // Look for the name and use unknown if no name property.\n\t var name = void 0;\n\t if (properties.length !== 1) {\n\t name = \"unknown\";\n\t } else {\n\t // Because we filtered out the other property,\n\t // we only have the name case here.\n\t name = properties[0].split(\"=\")[1];\n\t }\n\t\n\t // Built the Uint8Array Blob parameter from the base64 string.\n\t var binary = atob(splitted[1]);\n\t var array = [];\n\t for (var i = 0; i < binary.length; i++) {\n\t array.push(binary.charCodeAt(i));\n\t }\n\t // Create the blob object\n\t var blob = new window.Blob([new Uint8Array(array)], { type: type });\n\t\n\t return { blob: blob, name: name };\n\t}\n\t\n\tfunction rangeSpec(schema) {\n\t var spec = {};\n\t if (schema.multipleOf) {\n\t spec.step = schema.multipleOf;\n\t }\n\t if (schema.minimum || schema.minimum === 0) {\n\t spec.min = schema.minimum;\n\t }\n\t if (schema.maximum || schema.maximum === 0) {\n\t spec.max = schema.maximum;\n\t }\n\t return spec;\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(9).setImmediate))\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {\"use strict\";\n\t\n\tvar nextTick = __webpack_require__(10).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function () {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function () {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout = exports.clearInterval = function (timeout) {\n\t timeout.close();\n\t};\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function () {};\n\tTimeout.prototype.close = function () {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function (item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function (item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function (item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout) item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function (fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function (id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(9).setImmediate, __webpack_require__(9).clearImmediate))\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout() {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t})();\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while (len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () {\n\t return '/';\n\t};\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function () {\n\t return 0;\n\t};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {\"use strict\";\n\t\n\t(function (global, undefined) {\n\t \"use strict\";\n\t\n\t if (global.setImmediate) {\n\t return;\n\t }\n\t\n\t var nextHandle = 1; // Spec says greater than zero\n\t var tasksByHandle = {};\n\t var currentlyRunningATask = false;\n\t var doc = global.document;\n\t var registerImmediate;\n\t\n\t function setImmediate(callback) {\n\t // Callback can either be a function or a string\n\t if (typeof callback !== \"function\") {\n\t callback = new Function(\"\" + callback);\n\t }\n\t // Copy function arguments\n\t var args = new Array(arguments.length - 1);\n\t for (var i = 0; i < args.length; i++) {\n\t args[i] = arguments[i + 1];\n\t }\n\t // Store and register the task\n\t var task = { callback: callback, args: args };\n\t tasksByHandle[nextHandle] = task;\n\t registerImmediate(nextHandle);\n\t return nextHandle++;\n\t }\n\t\n\t function clearImmediate(handle) {\n\t delete tasksByHandle[handle];\n\t }\n\t\n\t function run(task) {\n\t var callback = task.callback;\n\t var args = task.args;\n\t switch (args.length) {\n\t case 0:\n\t callback();\n\t break;\n\t case 1:\n\t callback(args[0]);\n\t break;\n\t case 2:\n\t callback(args[0], args[1]);\n\t break;\n\t case 3:\n\t callback(args[0], args[1], args[2]);\n\t break;\n\t default:\n\t callback.apply(undefined, args);\n\t break;\n\t }\n\t }\n\t\n\t function runIfPresent(handle) {\n\t // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n\t // So if we're currently running a task, we'll need to delay this invocation.\n\t if (currentlyRunningATask) {\n\t // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n\t // \"too much recursion\" error.\n\t setTimeout(runIfPresent, 0, handle);\n\t } else {\n\t var task = tasksByHandle[handle];\n\t if (task) {\n\t currentlyRunningATask = true;\n\t try {\n\t run(task);\n\t } finally {\n\t clearImmediate(handle);\n\t currentlyRunningATask = false;\n\t }\n\t }\n\t }\n\t }\n\t\n\t function installNextTickImplementation() {\n\t registerImmediate = function registerImmediate(handle) {\n\t process.nextTick(function () {\n\t runIfPresent(handle);\n\t });\n\t };\n\t }\n\t\n\t function canUsePostMessage() {\n\t // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n\t // where `global.postMessage` means something completely different and can't be used for this purpose.\n\t if (global.postMessage && !global.importScripts) {\n\t var postMessageIsAsynchronous = true;\n\t var oldOnMessage = global.onmessage;\n\t global.onmessage = function () {\n\t postMessageIsAsynchronous = false;\n\t };\n\t global.postMessage(\"\", \"*\");\n\t global.onmessage = oldOnMessage;\n\t return postMessageIsAsynchronous;\n\t }\n\t }\n\t\n\t function installPostMessageImplementation() {\n\t // Installs an event handler on `global` for the `message` event: see\n\t // * https://developer.mozilla.org/en/DOM/window.postMessage\n\t // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\t\n\t var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n\t var onGlobalMessage = function onGlobalMessage(event) {\n\t if (event.source === global && typeof event.data === \"string\" && event.data.indexOf(messagePrefix) === 0) {\n\t runIfPresent(+event.data.slice(messagePrefix.length));\n\t }\n\t };\n\t\n\t if (global.addEventListener) {\n\t global.addEventListener(\"message\", onGlobalMessage, false);\n\t } else {\n\t global.attachEvent(\"onmessage\", onGlobalMessage);\n\t }\n\t\n\t registerImmediate = function registerImmediate(handle) {\n\t global.postMessage(messagePrefix + handle, \"*\");\n\t };\n\t }\n\t\n\t function installMessageChannelImplementation() {\n\t var channel = new MessageChannel();\n\t channel.port1.onmessage = function (event) {\n\t var handle = event.data;\n\t runIfPresent(handle);\n\t };\n\t\n\t registerImmediate = function registerImmediate(handle) {\n\t channel.port2.postMessage(handle);\n\t };\n\t }\n\t\n\t function installReadyStateChangeImplementation() {\n\t var html = doc.documentElement;\n\t registerImmediate = function registerImmediate(handle) {\n\t // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted\n\t // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\n\t var script = doc.createElement(\"script\");\n\t script.onreadystatechange = function () {\n\t runIfPresent(handle);\n\t script.onreadystatechange = null;\n\t html.removeChild(script);\n\t script = null;\n\t };\n\t html.appendChild(script);\n\t };\n\t }\n\t\n\t function installSetTimeoutImplementation() {\n\t registerImmediate = function registerImmediate(handle) {\n\t setTimeout(runIfPresent, 0, handle);\n\t };\n\t }\n\t\n\t // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.\n\t var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n\t attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n\t\n\t // Don't get fooled by e.g. browserify environments.\n\t if ({}.toString.call(global.process) === \"[object process]\") {\n\t // For Node.js before 0.9\n\t installNextTickImplementation();\n\t } else if (canUsePostMessage()) {\n\t // For non-IE10 modern browsers\n\t installPostMessageImplementation();\n\t } else if (global.MessageChannel) {\n\t // For web workers, where supported\n\t installMessageChannelImplementation();\n\t } else if (doc && \"onreadystatechange\" in doc.createElement(\"script\")) {\n\t // For IE 6–8\n\t installReadyStateChangeImplementation();\n\t } else {\n\t // For older browsers\n\t installSetTimeoutImplementation();\n\t }\n\t\n\t attachTo.setImmediate = setImmediate;\n\t attachTo.clearImmediate = clearImmediate;\n\t})(typeof self === \"undefined\" ? typeof global === \"undefined\" ? undefined : global : self);\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(12)))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout() {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t})();\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e) {\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e) {\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while (len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () {\n\t return '/';\n\t};\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function () {\n\t return 0;\n\t};\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.toErrorList = toErrorList;\n\texports.default = validateFormData;\n\t\n\tvar _lodash = __webpack_require__(14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _ajv = __webpack_require__(15);\n\t\n\tvar _ajv2 = _interopRequireDefault(_ajv);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tvar ajv = new _ajv2.default({\n\t errorDataPath: \"property\",\n\t allErrors: true\n\t});\n\t// add custom formats\n\tajv.addFormat(\"data-url\", /^data:([a-z]+\\/[a-z0-9-+.]+)?;name=(.*);base64,(.*)$/);\n\tajv.addFormat(\"color\", /^(#?([0-9A-Fa-f]{3}){1,2}\\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\)))$/);\n\t\n\tfunction toErrorSchema(errors) {\n\t // Transforms a ajv validation errors list:\n\t // [\n\t // {property: \".level1.level2[2].level3\", message: \"err a\"},\n\t // {property: \".level1.level2[2].level3\", message: \"err b\"},\n\t // {property: \".level1.level2[4].level3\", message: \"err b\"},\n\t // ]\n\t // Into an error tree:\n\t // {\n\t // level1: {\n\t // level2: {\n\t // 2: {level3: {errors: [\"err a\", \"err b\"]}},\n\t // 4: {level3: {errors: [\"err b\"]}},\n\t // }\n\t // }\n\t // };\n\t if (!errors.length) {\n\t return {};\n\t }\n\t return errors.reduce(function (errorSchema, error) {\n\t var property = error.property,\n\t message = error.message;\n\t\n\t var path = (0, _lodash2.default)(property);\n\t var parent = errorSchema;\n\t\n\t // If the property is at the root (.level1) then toPath creates\n\t // an empty array element at the first index. Remove it.\n\t if (path.length > 0 && path[0] === \"\") {\n\t path.splice(0, 1);\n\t }\n\t\n\t var _iteratorNormalCompletion = true;\n\t var _didIteratorError = false;\n\t var _iteratorError = undefined;\n\t\n\t try {\n\t for (var _iterator = path.slice(0)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t var segment = _step.value;\n\t\n\t if (!(segment in parent)) {\n\t parent[segment] = {};\n\t }\n\t parent = parent[segment];\n\t }\n\t } catch (err) {\n\t _didIteratorError = true;\n\t _iteratorError = err;\n\t } finally {\n\t try {\n\t if (!_iteratorNormalCompletion && _iterator.return) {\n\t _iterator.return();\n\t }\n\t } finally {\n\t if (_didIteratorError) {\n\t throw _iteratorError;\n\t }\n\t }\n\t }\n\t\n\t if (Array.isArray(parent.__errors)) {\n\t // We store the list of errors for this node in a property named __errors\n\t // to avoid name collision with a possible sub schema field named\n\t // \"errors\" (see `validate.createErrorHandler`).\n\t parent.__errors = parent.__errors.concat(message);\n\t } else {\n\t parent.__errors = [message];\n\t }\n\t return errorSchema;\n\t }, {});\n\t}\n\t\n\tfunction toErrorList(errorSchema) {\n\t var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"root\";\n\t\n\t // XXX: We should transform fieldName as a full field path string.\n\t var errorList = [];\n\t if (\"__errors\" in errorSchema) {\n\t errorList = errorList.concat(errorSchema.__errors.map(function (stack) {\n\t return {\n\t stack: fieldName + \": \" + stack\n\t };\n\t }));\n\t }\n\t return Object.keys(errorSchema).reduce(function (acc, key) {\n\t if (key !== \"__errors\") {\n\t acc = acc.concat(toErrorList(errorSchema[key], key));\n\t }\n\t return acc;\n\t }, errorList);\n\t}\n\t\n\tfunction createErrorHandler(formData) {\n\t var handler = {\n\t // We store the list of errors for this node in a property named __errors\n\t // to avoid name collision with a possible sub schema field named\n\t // \"errors\" (see `utils.toErrorSchema`).\n\t __errors: [],\n\t addError: function addError(message) {\n\t this.__errors.push(message);\n\t }\n\t };\n\t if ((0, _utils.isObject)(formData)) {\n\t return Object.keys(formData).reduce(function (acc, key) {\n\t return _extends({}, acc, _defineProperty({}, key, createErrorHandler(formData[key])));\n\t }, handler);\n\t }\n\t if (Array.isArray(formData)) {\n\t return formData.reduce(function (acc, value, key) {\n\t return _extends({}, acc, _defineProperty({}, key, createErrorHandler(value)));\n\t }, handler);\n\t }\n\t return handler;\n\t}\n\t\n\tfunction unwrapErrorHandler(errorHandler) {\n\t return Object.keys(errorHandler).reduce(function (acc, key) {\n\t if (key === \"addError\") {\n\t return acc;\n\t } else if (key === \"__errors\") {\n\t return _extends({}, acc, _defineProperty({}, key, errorHandler[key]));\n\t }\n\t return _extends({}, acc, _defineProperty({}, key, unwrapErrorHandler(errorHandler[key])));\n\t }, {});\n\t}\n\t\n\t/**\n\t * Transforming the error output from ajv to format used by jsonschema.\n\t * At some point, components should be updated to support ajv.\n\t */\n\tfunction transformAjvErrors() {\n\t var errors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\t\n\t if (errors === null) {\n\t return [];\n\t }\n\t\n\t return errors.map(function (e) {\n\t var dataPath = e.dataPath,\n\t keyword = e.keyword,\n\t message = e.message,\n\t params = e.params;\n\t\n\t var property = \"\" + dataPath;\n\t\n\t // put data in expected format\n\t return {\n\t name: keyword,\n\t property: property,\n\t message: message,\n\t params: params, // specific to ajv\n\t stack: (property + \" \" + message).trim()\n\t };\n\t });\n\t}\n\t\n\t/**\n\t * This function processes the formData with a user `validate` contributed\n\t * function, which receives the form data and an `errorHandler` object that\n\t * will be used to add custom validation errors for each field.\n\t */\n\tfunction validateFormData(formData, schema, customValidate, transformErrors) {\n\t try {\n\t ajv.validate(schema, formData);\n\t } catch (e) {\n\t // swallow errors thrown in ajv due to invalid schemas, these\n\t // still get displayed\n\t }\n\t\n\t var errors = transformAjvErrors(ajv.errors);\n\t\n\t if (typeof transformErrors === \"function\") {\n\t errors = transformErrors(errors);\n\t }\n\t var errorSchema = toErrorSchema(errors);\n\t\n\t if (typeof customValidate !== \"function\") {\n\t return { errors: errors, errorSchema: errorSchema };\n\t }\n\t\n\t var errorHandler = customValidate(formData, createErrorHandler(formData));\n\t var userErrorSchema = unwrapErrorHandler(errorHandler);\n\t var newErrorSchema = (0, _utils.mergeObjects)(errorSchema, userErrorSchema, true);\n\t // XXX: The errors list produced is not fully compliant with the format\n\t // exposed by the jsonschema lib, which contains full field paths and other\n\t // properties.\n\t var newErrors = toErrorList(newErrorSchema);\n\t\n\t return { errors: newErrors, errorSchema: newErrorSchema };\n\t}\n\n/***/ },\n/* 14 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash (Custom Build) <https://lodash.com/>\n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n\t * Released under MIT license <https://lodash.com/license>\n\t * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n\t * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t */\n\t\n\t/** Used as the `TypeError` message for \"Functions\" methods. */\n\tvar FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t/** Used to stand-in for `undefined` hash values. */\n\tvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0;\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]',\n\t symbolTag = '[object Symbol]';\n\t\n\t/** Used to match property names within property paths. */\n\tvar reLeadingDot = /^\\./,\n\t rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\t\n\t/**\n\t * Used to match `RegExp`\n\t * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n\t */\n\tvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\t\n\t/** Used to match backslashes in property paths. */\n\tvar reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t/** Used to detect host constructors (Safari). */\n\tvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global && global.Object === Object && global;\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = (typeof self === 'undefined' ? 'undefined' : _typeof(self)) == 'object' && self && self.Object === Object && self;\n\t\n\t/** Used as a reference to the global object. */\n\tvar root = freeGlobal || freeSelf || Function('return this')();\n\t\n\t/**\n\t * A specialized version of `_.map` for arrays without support for iteratee\n\t * shorthands.\n\t *\n\t * @private\n\t * @param {Array} [array] The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t */\n\tfunction arrayMap(array, iteratee) {\n\t var index = -1,\n\t length = array ? array.length : 0,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = iteratee(array[index], index, array);\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Gets the value at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} [object] The object to query.\n\t * @param {string} key The key of the property to get.\n\t * @returns {*} Returns the property value.\n\t */\n\tfunction getValue(object, key) {\n\t return object == null ? undefined : object[key];\n\t}\n\t\n\t/**\n\t * Checks if `value` is a host object in IE < 9.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n\t */\n\tfunction isHostObject(value) {\n\t // Many host objects are `Object` objects that can coerce to strings\n\t // despite having improperly defined `toString` methods.\n\t var result = false;\n\t if (value != null && typeof value.toString != 'function') {\n\t try {\n\t result = !!(value + '');\n\t } catch (e) {}\n\t }\n\t return result;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar arrayProto = Array.prototype,\n\t funcProto = Function.prototype,\n\t objectProto = Object.prototype;\n\t\n\t/** Used to detect overreaching core-js shims. */\n\tvar coreJsData = root['__core-js_shared__'];\n\t\n\t/** Used to detect methods masquerading as native. */\n\tvar maskSrcKey = function () {\n\t var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n\t return uid ? 'Symbol(src)_1.' + uid : '';\n\t}();\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = funcProto.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Used to detect if a method is native. */\n\tvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\t\n\t/** Built-in value references. */\n\tvar _Symbol = root.Symbol,\n\t splice = arrayProto.splice;\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Map = getNative(root, 'Map'),\n\t nativeCreate = getNative(Object, 'create');\n\t\n\t/** Used to convert symbols to primitives and strings. */\n\tvar symbolProto = _Symbol ? _Symbol.prototype : undefined,\n\t symbolToString = symbolProto ? symbolProto.toString : undefined;\n\t\n\t/**\n\t * Creates a hash object.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction Hash(entries) {\n\t var index = -1,\n\t length = entries ? entries.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the hash.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf Hash\n\t */\n\tfunction hashClear() {\n\t this.__data__ = nativeCreate ? nativeCreate(null) : {};\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the hash.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf Hash\n\t * @param {Object} hash The hash to modify.\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction hashDelete(key) {\n\t return this.has(key) && delete this.__data__[key];\n\t}\n\t\n\t/**\n\t * Gets the hash value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf Hash\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction hashGet(key) {\n\t var data = this.__data__;\n\t if (nativeCreate) {\n\t var result = data[key];\n\t return result === HASH_UNDEFINED ? undefined : result;\n\t }\n\t return hasOwnProperty.call(data, key) ? data[key] : undefined;\n\t}\n\t\n\t/**\n\t * Checks if a hash value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf Hash\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction hashHas(key) {\n\t var data = this.__data__;\n\t return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n\t}\n\t\n\t/**\n\t * Sets the hash `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf Hash\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the hash instance.\n\t */\n\tfunction hashSet(key, value) {\n\t var data = this.__data__;\n\t data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n\t return this;\n\t}\n\t\n\t// Add methods to `Hash`.\n\tHash.prototype.clear = hashClear;\n\tHash.prototype['delete'] = hashDelete;\n\tHash.prototype.get = hashGet;\n\tHash.prototype.has = hashHas;\n\tHash.prototype.set = hashSet;\n\t\n\t/**\n\t * Creates an list cache object.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction ListCache(entries) {\n\t var index = -1,\n\t length = entries ? entries.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the list cache.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf ListCache\n\t */\n\tfunction listCacheClear() {\n\t this.__data__ = [];\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the list cache.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf ListCache\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction listCacheDelete(key) {\n\t var data = this.__data__,\n\t index = assocIndexOf(data, key);\n\t\n\t if (index < 0) {\n\t return false;\n\t }\n\t var lastIndex = data.length - 1;\n\t if (index == lastIndex) {\n\t data.pop();\n\t } else {\n\t splice.call(data, index, 1);\n\t }\n\t return true;\n\t}\n\t\n\t/**\n\t * Gets the list cache value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf ListCache\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction listCacheGet(key) {\n\t var data = this.__data__,\n\t index = assocIndexOf(data, key);\n\t\n\t return index < 0 ? undefined : data[index][1];\n\t}\n\t\n\t/**\n\t * Checks if a list cache value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf ListCache\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction listCacheHas(key) {\n\t return assocIndexOf(this.__data__, key) > -1;\n\t}\n\t\n\t/**\n\t * Sets the list cache `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf ListCache\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the list cache instance.\n\t */\n\tfunction listCacheSet(key, value) {\n\t var data = this.__data__,\n\t index = assocIndexOf(data, key);\n\t\n\t if (index < 0) {\n\t data.push([key, value]);\n\t } else {\n\t data[index][1] = value;\n\t }\n\t return this;\n\t}\n\t\n\t// Add methods to `ListCache`.\n\tListCache.prototype.clear = listCacheClear;\n\tListCache.prototype['delete'] = listCacheDelete;\n\tListCache.prototype.get = listCacheGet;\n\tListCache.prototype.has = listCacheHas;\n\tListCache.prototype.set = listCacheSet;\n\t\n\t/**\n\t * Creates a map cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction MapCache(entries) {\n\t var index = -1,\n\t length = entries ? entries.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the map.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf MapCache\n\t */\n\tfunction mapCacheClear() {\n\t this.__data__ = {\n\t 'hash': new Hash(),\n\t 'map': new (Map || ListCache)(),\n\t 'string': new Hash()\n\t };\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the map.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction mapCacheDelete(key) {\n\t return getMapData(this, key)['delete'](key);\n\t}\n\t\n\t/**\n\t * Gets the map value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction mapCacheGet(key) {\n\t return getMapData(this, key).get(key);\n\t}\n\t\n\t/**\n\t * Checks if a map value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf MapCache\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction mapCacheHas(key) {\n\t return getMapData(this, key).has(key);\n\t}\n\t\n\t/**\n\t * Sets the map `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the map cache instance.\n\t */\n\tfunction mapCacheSet(key, value) {\n\t getMapData(this, key).set(key, value);\n\t return this;\n\t}\n\t\n\t// Add methods to `MapCache`.\n\tMapCache.prototype.clear = mapCacheClear;\n\tMapCache.prototype['delete'] = mapCacheDelete;\n\tMapCache.prototype.get = mapCacheGet;\n\tMapCache.prototype.has = mapCacheHas;\n\tMapCache.prototype.set = mapCacheSet;\n\t\n\t/**\n\t * Gets the index at which the `key` is found in `array` of key-value pairs.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {*} key The key to search for.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction assocIndexOf(array, key) {\n\t var length = array.length;\n\t while (length--) {\n\t if (eq(array[length][0], key)) {\n\t return length;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.isNative` without bad shim checks.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function,\n\t * else `false`.\n\t */\n\tfunction baseIsNative(value) {\n\t if (!isObject(value) || isMasked(value)) {\n\t return false;\n\t }\n\t var pattern = isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;\n\t return pattern.test(toSource(value));\n\t}\n\t\n\t/**\n\t * The base implementation of `_.toString` which doesn't convert nullish\n\t * values to empty strings.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t */\n\tfunction baseToString(value) {\n\t // Exit early for strings to avoid a performance hit in some environments.\n\t if (typeof value == 'string') {\n\t return value;\n\t }\n\t if (isSymbol(value)) {\n\t return symbolToString ? symbolToString.call(value) : '';\n\t }\n\t var result = value + '';\n\t return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n\t}\n\t\n\t/**\n\t * Copies the values of `source` to `array`.\n\t *\n\t * @private\n\t * @param {Array} source The array to copy values from.\n\t * @param {Array} [array=[]] The array to copy values to.\n\t * @returns {Array} Returns `array`.\n\t */\n\tfunction copyArray(source, array) {\n\t var index = -1,\n\t length = source.length;\n\t\n\t array || (array = Array(length));\n\t while (++index < length) {\n\t array[index] = source[index];\n\t }\n\t return array;\n\t}\n\t\n\t/**\n\t * Gets the data for `map`.\n\t *\n\t * @private\n\t * @param {Object} map The map to query.\n\t * @param {string} key The reference key.\n\t * @returns {*} Returns the map data.\n\t */\n\tfunction getMapData(map, key) {\n\t var data = map.__data__;\n\t return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n\t}\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = getValue(object, key);\n\t return baseIsNative(value) ? value : undefined;\n\t}\n\t\n\t/**\n\t * Checks if `value` is suitable for use as unique object key.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n\t */\n\tfunction isKeyable(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;\n\t}\n\t\n\t/**\n\t * Checks if `func` has its source masked.\n\t *\n\t * @private\n\t * @param {Function} func The function to check.\n\t * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n\t */\n\tfunction isMasked(func) {\n\t return !!maskSrcKey && maskSrcKey in func;\n\t}\n\t\n\t/**\n\t * Converts `string` to a property path array.\n\t *\n\t * @private\n\t * @param {string} string The string to convert.\n\t * @returns {Array} Returns the property path array.\n\t */\n\tvar stringToPath = memoize(function (string) {\n\t string = toString(string);\n\t\n\t var result = [];\n\t if (reLeadingDot.test(string)) {\n\t result.push('');\n\t }\n\t string.replace(rePropName, function (match, number, quote, string) {\n\t result.push(quote ? string.replace(reEscapeChar, '$1') : number || match);\n\t });\n\t return result;\n\t});\n\t\n\t/**\n\t * Converts `value` to a string key if it's not a string or symbol.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {string|symbol} Returns the key.\n\t */\n\tfunction toKey(value) {\n\t if (typeof value == 'string' || isSymbol(value)) {\n\t return value;\n\t }\n\t var result = value + '';\n\t return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n\t}\n\t\n\t/**\n\t * Converts `func` to its source code.\n\t *\n\t * @private\n\t * @param {Function} func The function to process.\n\t * @returns {string} Returns the source code.\n\t */\n\tfunction toSource(func) {\n\t if (func != null) {\n\t try {\n\t return funcToString.call(func);\n\t } catch (e) {}\n\t try {\n\t return func + '';\n\t } catch (e) {}\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * Creates a function that memoizes the result of `func`. If `resolver` is\n\t * provided, it determines the cache key for storing the result based on the\n\t * arguments provided to the memoized function. By default, the first argument\n\t * provided to the memoized function is used as the map cache key. The `func`\n\t * is invoked with the `this` binding of the memoized function.\n\t *\n\t * **Note:** The cache is exposed as the `cache` property on the memoized\n\t * function. Its creation may be customized by replacing the `_.memoize.Cache`\n\t * constructor with one whose instances implement the\n\t * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n\t * method interface of `delete`, `get`, `has`, and `set`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Function\n\t * @param {Function} func The function to have its output memoized.\n\t * @param {Function} [resolver] The function to resolve the cache key.\n\t * @returns {Function} Returns the new memoized function.\n\t * @example\n\t *\n\t * var object = { 'a': 1, 'b': 2 };\n\t * var other = { 'c': 3, 'd': 4 };\n\t *\n\t * var values = _.memoize(_.values);\n\t * values(object);\n\t * // => [1, 2]\n\t *\n\t * values(other);\n\t * // => [3, 4]\n\t *\n\t * object.a = 2;\n\t * values(object);\n\t * // => [1, 2]\n\t *\n\t * // Modify the result cache.\n\t * values.cache.set(object, ['a', 'b']);\n\t * values(object);\n\t * // => ['a', 'b']\n\t *\n\t * // Replace `_.memoize.Cache`.\n\t * _.memoize.Cache = WeakMap;\n\t */\n\tfunction memoize(func, resolver) {\n\t if (typeof func != 'function' || resolver && typeof resolver != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t var memoized = function memoized() {\n\t var args = arguments,\n\t key = resolver ? resolver.apply(this, args) : args[0],\n\t cache = memoized.cache;\n\t\n\t if (cache.has(key)) {\n\t return cache.get(key);\n\t }\n\t var result = func.apply(this, args);\n\t memoized.cache = cache.set(key, result);\n\t return result;\n\t };\n\t memoized.cache = new (memoize.Cache || MapCache)();\n\t return memoized;\n\t}\n\t\n\t// Assign cache to `_.memoize`.\n\tmemoize.Cache = MapCache;\n\t\n\t/**\n\t * Performs a\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n\t * comparison between two values to determine if they are equivalent.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'a': 1 };\n\t * var other = { 'a': 1 };\n\t *\n\t * _.eq(object, object);\n\t * // => true\n\t *\n\t * _.eq(object, other);\n\t * // => false\n\t *\n\t * _.eq('a', 'a');\n\t * // => true\n\t *\n\t * _.eq('a', Object('a'));\n\t * // => false\n\t *\n\t * _.eq(NaN, NaN);\n\t * // => true\n\t */\n\tfunction eq(value, other) {\n\t return value === other || value !== value && other !== other;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8-9 which returns 'object' for typed array and other constructors.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the\n\t * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n\t * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n\t}\n\t\n\t/**\n\t * Converts `value` to a string. An empty string is returned for `null`\n\t * and `undefined` values. The sign of `-0` is preserved.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t * @example\n\t *\n\t * _.toString(null);\n\t * // => ''\n\t *\n\t * _.toString(-0);\n\t * // => '-0'\n\t *\n\t * _.toString([1, 2, 3]);\n\t * // => '1,2,3'\n\t */\n\tfunction toString(value) {\n\t return value == null ? '' : baseToString(value);\n\t}\n\t\n\t/**\n\t * Converts `value` to a property path array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Util\n\t * @param {*} value The value to convert.\n\t * @returns {Array} Returns the new property path array.\n\t * @example\n\t *\n\t * _.toPath('a.b.c');\n\t * // => ['a', 'b', 'c']\n\t *\n\t * _.toPath('a[0].b.c');\n\t * // => ['a', '0', 'b', 'c']\n\t */\n\tfunction toPath(value) {\n\t if (isArray(value)) {\n\t return arrayMap(value, toKey);\n\t }\n\t return isSymbol(value) ? [value] : copyArray(stringToPath(value));\n\t}\n\t\n\tmodule.exports = toPath;\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar compileSchema = __webpack_require__(16),\n\t resolve = __webpack_require__(17),\n\t Cache = __webpack_require__(37),\n\t SchemaObject = __webpack_require__(28),\n\t stableStringify = __webpack_require__(31),\n\t formats = __webpack_require__(38),\n\t rules = __webpack_require__(39),\n\t $dataMetaSchema = __webpack_require__(62),\n\t patternGroups = __webpack_require__(63),\n\t util = __webpack_require__(26),\n\t co = __webpack_require__(36);\n\t\n\tmodule.exports = Ajv;\n\t\n\tAjv.prototype.validate = validate;\n\tAjv.prototype.compile = compile;\n\tAjv.prototype.addSchema = addSchema;\n\tAjv.prototype.addMetaSchema = addMetaSchema;\n\tAjv.prototype.validateSchema = validateSchema;\n\tAjv.prototype.getSchema = getSchema;\n\tAjv.prototype.removeSchema = removeSchema;\n\tAjv.prototype.addFormat = addFormat;\n\tAjv.prototype.errorsText = errorsText;\n\t\n\tAjv.prototype._addSchema = _addSchema;\n\tAjv.prototype._compile = _compile;\n\t\n\tAjv.prototype.compileAsync = __webpack_require__(64);\n\tvar customKeyword = __webpack_require__(65);\n\tAjv.prototype.addKeyword = customKeyword.add;\n\tAjv.prototype.getKeyword = customKeyword.get;\n\tAjv.prototype.removeKeyword = customKeyword.remove;\n\t\n\tvar errorClasses = __webpack_require__(30);\n\tAjv.ValidationError = errorClasses.Validation;\n\tAjv.MissingRefError = errorClasses.MissingRef;\n\tAjv.$dataMetaSchema = $dataMetaSchema;\n\t\n\tvar META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema';\n\t\n\tvar META_IGNORE_OPTIONS = ['removeAdditional', 'useDefaults', 'coerceTypes'];\n\tvar META_SUPPORT_DATA = ['/properties'];\n\t\n\t/**\n\t * Creates validator instance.\n\t * Usage: `Ajv(opts)`\n\t * @param {Object} opts optional options\n\t * @return {Object} ajv instance\n\t */\n\tfunction Ajv(opts) {\n\t if (!(this instanceof Ajv)) return new Ajv(opts);\n\t opts = this._opts = util.copy(opts) || {};\n\t this._schemas = {};\n\t this._refs = {};\n\t this._fragments = {};\n\t this._formats = formats(opts.format);\n\t var schemaUriFormat = this._schemaUriFormat = this._formats['uri-reference'];\n\t this._schemaUriFormatFunc = function (str) {\n\t return schemaUriFormat.test(str);\n\t };\n\t\n\t this._cache = opts.cache || new Cache();\n\t this._loadingSchemas = {};\n\t this._compilations = [];\n\t this.RULES = rules();\n\t this._getId = chooseGetId(opts);\n\t\n\t opts.loopRequired = opts.loopRequired || Infinity;\n\t if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true;\n\t if (opts.serialize === undefined) opts.serialize = stableStringify;\n\t this._metaOpts = getMetaSchemaOptions(this);\n\t\n\t if (opts.formats) addInitialFormats(this);\n\t addDraft6MetaSchema(this);\n\t if (_typeof(opts.meta) == 'object') this.addMetaSchema(opts.meta);\n\t addInitialSchemas(this);\n\t if (opts.patternGroups) patternGroups(this);\n\t}\n\t\n\t/**\n\t * Validate data using schema\n\t * Schema will be compiled and cached (using serialized JSON as key. [json-stable-stringify](https://github.com/substack/json-stable-stringify) is used to serialize.\n\t * @this Ajv\n\t * @param {String|Object} schemaKeyRef key, ref or schema object\n\t * @param {Any} data to be validated\n\t * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`).\n\t */\n\tfunction validate(schemaKeyRef, data) {\n\t var v;\n\t if (typeof schemaKeyRef == 'string') {\n\t v = this.getSchema(schemaKeyRef);\n\t if (!v) throw new Error('no schema with key or ref \"' + schemaKeyRef + '\"');\n\t } else {\n\t var schemaObj = this._addSchema(schemaKeyRef);\n\t v = schemaObj.validate || this._compile(schemaObj);\n\t }\n\t\n\t var valid = v(data);\n\t if (v.$async === true) return this._opts.async == '*' ? co(valid) : valid;\n\t this.errors = v.errors;\n\t return valid;\n\t}\n\t\n\t/**\n\t * Create validating function for passed schema.\n\t * @this Ajv\n\t * @param {Object} schema schema object\n\t * @param {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords.\n\t * @return {Function} validating function\n\t */\n\tfunction compile(schema, _meta) {\n\t var schemaObj = this._addSchema(schema, undefined, _meta);\n\t return schemaObj.validate || this._compile(schemaObj);\n\t}\n\t\n\t/**\n\t * Adds schema to the instance.\n\t * @this Ajv\n\t * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored.\n\t * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.\n\t * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead.\n\t * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.\n\t */\n\tfunction addSchema(schema, key, _skipValidation, _meta) {\n\t if (Array.isArray(schema)) {\n\t for (var i = 0; i < schema.length; i++) {\n\t this.addSchema(schema[i], undefined, _skipValidation, _meta);\n\t }return;\n\t }\n\t var id = this._getId(schema);\n\t if (id !== undefined && typeof id != 'string') throw new Error('schema id must be string');\n\t key = resolve.normalizeId(key || id);\n\t checkUnique(this, key);\n\t this._schemas[key] = this._addSchema(schema, _skipValidation, _meta, true);\n\t}\n\t\n\t/**\n\t * Add schema that will be used to validate other schemas\n\t * options in META_IGNORE_OPTIONS are alway set to false\n\t * @this Ajv\n\t * @param {Object} schema schema object\n\t * @param {String} key optional schema key\n\t * @param {Boolean} skipValidation true to skip schema validation, can be used to override validateSchema option for meta-schema\n\t */\n\tfunction addMetaSchema(schema, key, skipValidation) {\n\t this.addSchema(schema, key, skipValidation, true);\n\t}\n\t\n\t/**\n\t * Validate schema\n\t * @this Ajv\n\t * @param {Object} schema schema to validate\n\t * @param {Boolean} throwOrLogError pass true to throw (or log) an error if invalid\n\t * @return {Boolean} true if schema is valid\n\t */\n\tfunction validateSchema(schema, throwOrLogError) {\n\t var $schema = schema.$schema;\n\t if ($schema !== undefined && typeof $schema != 'string') throw new Error('$schema must be a string');\n\t $schema = $schema || this._opts.defaultMeta || defaultMeta(this);\n\t if (!$schema) {\n\t console.warn('meta-schema not available');\n\t this.errors = null;\n\t return true;\n\t }\n\t var currentUriFormat = this._formats.uri;\n\t this._formats.uri = typeof currentUriFormat == 'function' ? this._schemaUriFormatFunc : this._schemaUriFormat;\n\t var valid;\n\t try {\n\t valid = this.validate($schema, schema);\n\t } finally {\n\t this._formats.uri = currentUriFormat;\n\t }\n\t if (!valid && throwOrLogError) {\n\t var message = 'schema is invalid: ' + this.errorsText();\n\t if (this._opts.validateSchema == 'log') console.error(message);else throw new Error(message);\n\t }\n\t return valid;\n\t}\n\t\n\tfunction defaultMeta(self) {\n\t var meta = self._opts.meta;\n\t self._opts.defaultMeta = (typeof meta === 'undefined' ? 'undefined' : _typeof(meta)) == 'object' ? self._getId(meta) || meta : self.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined;\n\t return self._opts.defaultMeta;\n\t}\n\t\n\t/**\n\t * Get compiled schema from the instance by `key` or `ref`.\n\t * @this Ajv\n\t * @param {String} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id).\n\t * @return {Function} schema validating function (with property `schema`).\n\t */\n\tfunction getSchema(keyRef) {\n\t var schemaObj = _getSchemaObj(this, keyRef);\n\t switch (typeof schemaObj === 'undefined' ? 'undefined' : _typeof(schemaObj)) {\n\t case 'object':\n\t return schemaObj.validate || this._compile(schemaObj);\n\t case 'string':\n\t return this.getSchema(schemaObj);\n\t case 'undefined':\n\t return _getSchemaFragment(this, keyRef);\n\t }\n\t}\n\t\n\tfunction _getSchemaFragment(self, ref) {\n\t var res = resolve.schema.call(self, { schema: {} }, ref);\n\t if (res) {\n\t var schema = res.schema,\n\t root = res.root,\n\t baseId = res.baseId;\n\t var v = compileSchema.call(self, schema, root, undefined, baseId);\n\t self._fragments[ref] = new SchemaObject({\n\t ref: ref,\n\t fragment: true,\n\t schema: schema,\n\t root: root,\n\t baseId: baseId,\n\t validate: v\n\t });\n\t return v;\n\t }\n\t}\n\t\n\tfunction _getSchemaObj(self, keyRef) {\n\t keyRef = resolve.normalizeId(keyRef);\n\t return self._schemas[keyRef] || self._refs[keyRef] || self._fragments[keyRef];\n\t}\n\t\n\t/**\n\t * Remove cached schema(s).\n\t * If no parameter is passed all schemas but meta-schemas are removed.\n\t * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.\n\t * Even if schema is referenced by other schemas it still can be removed as other schemas have local references.\n\t * @this Ajv\n\t * @param {String|Object|RegExp} schemaKeyRef key, ref, pattern to match key/ref or schema object\n\t */\n\tfunction removeSchema(schemaKeyRef) {\n\t if (schemaKeyRef instanceof RegExp) {\n\t _removeAllSchemas(this, this._schemas, schemaKeyRef);\n\t _removeAllSchemas(this, this._refs, schemaKeyRef);\n\t return;\n\t }\n\t switch (typeof schemaKeyRef === 'undefined' ? 'undefined' : _typeof(schemaKeyRef)) {\n\t case 'undefined':\n\t _removeAllSchemas(this, this._schemas);\n\t _removeAllSchemas(this, this._refs);\n\t this._cache.clear();\n\t return;\n\t case 'string':\n\t var schemaObj = _getSchemaObj(this, schemaKeyRef);\n\t if (schemaObj) this._cache.del(schemaObj.cacheKey);\n\t delete this._schemas[schemaKeyRef];\n\t delete this._refs[schemaKeyRef];\n\t return;\n\t case 'object':\n\t var serialize = this._opts.serialize;\n\t var cacheKey = serialize ? serialize(schemaKeyRef) : schemaKeyRef;\n\t this._cache.del(cacheKey);\n\t var id = this._getId(schemaKeyRef);\n\t if (id) {\n\t id = resolve.normalizeId(id);\n\t delete this._schemas[id];\n\t delete this._refs[id];\n\t }\n\t }\n\t}\n\t\n\tfunction _removeAllSchemas(self, schemas, regex) {\n\t for (var keyRef in schemas) {\n\t var schemaObj = schemas[keyRef];\n\t if (!schemaObj.meta && (!regex || regex.test(keyRef))) {\n\t self._cache.del(schemaObj.cacheKey);\n\t delete schemas[keyRef];\n\t }\n\t }\n\t}\n\t\n\t/* @this Ajv */\n\tfunction _addSchema(schema, skipValidation, meta, shouldAddSchema) {\n\t if ((typeof schema === 'undefined' ? 'undefined' : _typeof(schema)) != 'object' && typeof schema != 'boolean') throw new Error('schema should be object or boolean');\n\t var serialize = this._opts.serialize;\n\t var cacheKey = serialize ? serialize(schema) : schema;\n\t var cached = this._cache.get(cacheKey);\n\t if (cached) return cached;\n\t\n\t shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;\n\t\n\t var id = resolve.normalizeId(this._getId(schema));\n\t if (id && shouldAddSchema) checkUnique(this, id);\n\t\n\t var willValidate = this._opts.validateSchema !== false && !skipValidation;\n\t var recursiveMeta;\n\t if (willValidate && !(recursiveMeta = id && id == resolve.normalizeId(schema.$schema))) this.validateSchema(schema, true);\n\t\n\t var localRefs = resolve.ids.call(this, schema);\n\t\n\t var schemaObj = new SchemaObject({\n\t id: id,\n\t schema: schema,\n\t localRefs: localRefs,\n\t cacheKey: cacheKey,\n\t meta: meta\n\t });\n\t\n\t if (id[0] != '#' && shouldAddSchema) this._refs[id] = schemaObj;\n\t this._cache.put(cacheKey, schemaObj);\n\t\n\t if (willValidate && recursiveMeta) this.validateSchema(schema, true);\n\t\n\t return schemaObj;\n\t}\n\t\n\t/* @this Ajv */\n\tfunction _compile(schemaObj, root) {\n\t if (schemaObj.compiling) {\n\t schemaObj.validate = callValidate;\n\t callValidate.schema = schemaObj.schema;\n\t callValidate.errors = null;\n\t callValidate.root = root ? root : callValidate;\n\t if (schemaObj.schema.$async === true) callValidate.$async = true;\n\t return callValidate;\n\t }\n\t schemaObj.compiling = true;\n\t\n\t var currentOpts;\n\t if (schemaObj.meta) {\n\t currentOpts = this._opts;\n\t this._opts = this._metaOpts;\n\t }\n\t\n\t var v;\n\t try {\n\t v = compileSchema.call(this, schemaObj.schema, root, schemaObj.localRefs);\n\t } finally {\n\t schemaObj.compiling = false;\n\t if (schemaObj.meta) this._opts = currentOpts;\n\t }\n\t\n\t schemaObj.validate = v;\n\t schemaObj.refs = v.refs;\n\t schemaObj.refVal = v.refVal;\n\t schemaObj.root = v.root;\n\t return v;\n\t\n\t function callValidate() {\n\t var _validate = schemaObj.validate;\n\t var result = _validate.apply(null, arguments);\n\t callValidate.errors = _validate.errors;\n\t return result;\n\t }\n\t}\n\t\n\tfunction chooseGetId(opts) {\n\t switch (opts.schemaId) {\n\t case '$id':\n\t return _get$Id;\n\t case 'id':\n\t return _getId;\n\t default:\n\t return _get$IdOrId;\n\t }\n\t}\n\t\n\tfunction _getId(schema) {\n\t if (schema.$id) console.warn('schema $id ignored', schema.$id);\n\t return schema.id;\n\t}\n\t\n\tfunction _get$Id(schema) {\n\t if (schema.id) console.warn('schema id ignored', schema.id);\n\t return schema.$id;\n\t}\n\t\n\tfunction _get$IdOrId(schema) {\n\t if (schema.$id && schema.id && schema.$id != schema.id) throw new Error('schema $id is different from id');\n\t return schema.$id || schema.id;\n\t}\n\t\n\t/**\n\t * Convert array of error message objects to string\n\t * @this Ajv\n\t * @param {Array<Object>} errors optional array of validation errors, if not passed errors from the instance are used.\n\t * @param {Object} options optional options with properties `separator` and `dataVar`.\n\t * @return {String} human readable string with all errors descriptions\n\t */\n\tfunction errorsText(errors, options) {\n\t errors = errors || this.errors;\n\t if (!errors) return 'No errors';\n\t options = options || {};\n\t var separator = options.separator === undefined ? ', ' : options.separator;\n\t var dataVar = options.dataVar === undefined ? 'data' : options.dataVar;\n\t\n\t var text = '';\n\t for (var i = 0; i < errors.length; i++) {\n\t var e = errors[i];\n\t if (e) text += dataVar + e.dataPath + ' ' + e.message + separator;\n\t }\n\t return text.slice(0, -separator.length);\n\t}\n\t\n\t/**\n\t * Add custom format\n\t * @this Ajv\n\t * @param {String} name format name\n\t * @param {String|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid)\n\t */\n\tfunction addFormat(name, format) {\n\t if (typeof format == 'string') format = new RegExp(format);\n\t this._formats[name] = format;\n\t}\n\t\n\tfunction addDraft6MetaSchema(self) {\n\t var $dataSchema;\n\t if (self._opts.$data) {\n\t $dataSchema = __webpack_require__(67);\n\t self.addMetaSchema($dataSchema, $dataSchema.$id, true);\n\t }\n\t if (self._opts.meta === false) return;\n\t var metaSchema = __webpack_require__(68);\n\t if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);\n\t self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);\n\t self._refs['http://json-schema.org/schema'] = META_SCHEMA_ID;\n\t}\n\t\n\tfunction addInitialSchemas(self) {\n\t var optsSchemas = self._opts.schemas;\n\t if (!optsSchemas) return;\n\t if (Array.isArray(optsSchemas)) self.addSchema(optsSchemas);else for (var key in optsSchemas) {\n\t self.addSchema(optsSchemas[key], key);\n\t }\n\t}\n\t\n\tfunction addInitialFormats(self) {\n\t for (var name in self._opts.formats) {\n\t var format = self._opts.formats[name];\n\t self.addFormat(name, format);\n\t }\n\t}\n\t\n\tfunction checkUnique(self, id) {\n\t if (self._schemas[id] || self._refs[id]) throw new Error('schema with key or id \"' + id + '\" already exists');\n\t}\n\t\n\tfunction getMetaSchemaOptions(self) {\n\t var metaOpts = util.copy(self._opts);\n\t for (var i = 0; i < META_IGNORE_OPTIONS.length; i++) {\n\t delete metaOpts[META_IGNORE_OPTIONS[i]];\n\t }return metaOpts;\n\t}\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar resolve = __webpack_require__(17),\n\t util = __webpack_require__(26),\n\t errorClasses = __webpack_require__(30),\n\t stableStringify = __webpack_require__(31);\n\t\n\tvar validateGenerator = __webpack_require__(35);\n\t\n\t/**\n\t * Functions below are used inside compiled validations function\n\t */\n\t\n\tvar co = __webpack_require__(36);\n\tvar ucs2length = util.ucs2length;\n\tvar equal = __webpack_require__(25);\n\t\n\t// this error is thrown by async schemas to return validation errors via exception\n\tvar ValidationError = errorClasses.Validation;\n\t\n\tmodule.exports = compile;\n\t\n\t/**\n\t * Compiles schema to validation function\n\t * @this Ajv\n\t * @param {Object} schema schema object\n\t * @param {Object} root object with information about the root schema for this schema\n\t * @param {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution\n\t * @param {String} baseId base ID for IDs in the schema\n\t * @return {Function} validation function\n\t */\n\tfunction compile(schema, root, localRefs, baseId) {\n\t /* jshint validthis: true, evil: true */\n\t /* eslint no-shadow: 0 */\n\t var self = this,\n\t opts = this._opts,\n\t refVal = [undefined],\n\t refs = {},\n\t patterns = [],\n\t patternsHash = {},\n\t defaults = [],\n\t defaultsHash = {},\n\t customRules = [];\n\t\n\t root = root || { schema: schema, refVal: refVal, refs: refs };\n\t\n\t var c = checkCompiling.call(this, schema, root, baseId);\n\t var compilation = this._compilations[c.index];\n\t if (c.compiling) return compilation.callValidate = callValidate;\n\t\n\t var formats = this._formats;\n\t var RULES = this.RULES;\n\t\n\t try {\n\t var v = localCompile(schema, root, localRefs, baseId);\n\t compilation.validate = v;\n\t var cv = compilation.callValidate;\n\t if (cv) {\n\t cv.schema = v.schema;\n\t cv.errors = null;\n\t cv.refs = v.refs;\n\t cv.refVal = v.refVal;\n\t cv.root = v.root;\n\t cv.$async = v.$async;\n\t if (opts.sourceCode) cv.source = v.source;\n\t }\n\t return v;\n\t } finally {\n\t endCompiling.call(this, schema, root, baseId);\n\t }\n\t\n\t function callValidate() {\n\t var validate = compilation.validate;\n\t var result = validate.apply(null, arguments);\n\t callValidate.errors = validate.errors;\n\t return result;\n\t }\n\t\n\t function localCompile(_schema, _root, localRefs, baseId) {\n\t var isRoot = !_root || _root && _root.schema == _schema;\n\t if (_root.schema != root.schema) return compile.call(self, _schema, _root, localRefs, baseId);\n\t\n\t var $async = _schema.$async === true;\n\t\n\t var sourceCode = validateGenerator({\n\t isTop: true,\n\t schema: _schema,\n\t isRoot: isRoot,\n\t baseId: baseId,\n\t root: _root,\n\t schemaPath: '',\n\t errSchemaPath: '#',\n\t errorPath: '\"\"',\n\t MissingRefError: errorClasses.MissingRef,\n\t RULES: RULES,\n\t validate: validateGenerator,\n\t util: util,\n\t resolve: resolve,\n\t resolveRef: resolveRef,\n\t usePattern: usePattern,\n\t useDefault: useDefault,\n\t useCustomRule: useCustomRule,\n\t opts: opts,\n\t formats: formats,\n\t self: self\n\t });\n\t\n\t sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode) + vars(defaults, defaultCode) + vars(customRules, customRuleCode) + sourceCode;\n\t\n\t if (opts.processCode) sourceCode = opts.processCode(sourceCode);\n\t // console.log('\\n\\n\\n *** \\n', JSON.stringify(sourceCode));\n\t var validate;\n\t try {\n\t var makeValidate = new Function('self', 'RULES', 'formats', 'root', 'refVal', 'defaults', 'customRules', 'co', 'equal', 'ucs2length', 'ValidationError', sourceCode);\n\t\n\t validate = makeValidate(self, RULES, formats, root, refVal, defaults, customRules, co, equal, ucs2length, ValidationError);\n\t\n\t refVal[0] = validate;\n\t } catch (e) {\n\t console.error('Error compiling schema, function code:', sourceCode);\n\t throw e;\n\t }\n\t\n\t validate.schema = _schema;\n\t validate.errors = null;\n\t validate.refs = refs;\n\t validate.refVal = refVal;\n\t validate.root = isRoot ? validate : _root;\n\t if ($async) validate.$async = true;\n\t if (opts.sourceCode === true) {\n\t validate.source = {\n\t code: sourceCode,\n\t patterns: patterns,\n\t defaults: defaults\n\t };\n\t }\n\t\n\t return validate;\n\t }\n\t\n\t function resolveRef(baseId, ref, isRoot) {\n\t ref = resolve.url(baseId, ref);\n\t var refIndex = refs[ref];\n\t var _refVal, refCode;\n\t if (refIndex !== undefined) {\n\t _refVal = refVal[refIndex];\n\t refCode = 'refVal[' + refIndex + ']';\n\t return resolvedRef(_refVal, refCode);\n\t }\n\t if (!isRoot && root.refs) {\n\t var rootRefId = root.refs[ref];\n\t if (rootRefId !== undefined) {\n\t _refVal = root.refVal[rootRefId];\n\t refCode = addLocalRef(ref, _refVal);\n\t return resolvedRef(_refVal, refCode);\n\t }\n\t }\n\t\n\t refCode = addLocalRef(ref);\n\t var v = resolve.call(self, localCompile, root, ref);\n\t if (v === undefined) {\n\t var localSchema = localRefs && localRefs[ref];\n\t if (localSchema) {\n\t v = resolve.inlineRef(localSchema, opts.inlineRefs) ? localSchema : compile.call(self, localSchema, root, localRefs, baseId);\n\t }\n\t }\n\t\n\t if (v === undefined) {\n\t removeLocalRef(ref);\n\t } else {\n\t replaceLocalRef(ref, v);\n\t return resolvedRef(v, refCode);\n\t }\n\t }\n\t\n\t function addLocalRef(ref, v) {\n\t var refId = refVal.length;\n\t refVal[refId] = v;\n\t refs[ref] = refId;\n\t return 'refVal' + refId;\n\t }\n\t\n\t function removeLocalRef(ref) {\n\t delete refs[ref];\n\t }\n\t\n\t function replaceLocalRef(ref, v) {\n\t var refId = refs[ref];\n\t refVal[refId] = v;\n\t }\n\t\n\t function resolvedRef(refVal, code) {\n\t return (typeof refVal === 'undefined' ? 'undefined' : _typeof(refVal)) == 'object' || typeof refVal == 'boolean' ? { code: code, schema: refVal, inline: true } : { code: code, $async: refVal && refVal.$async };\n\t }\n\t\n\t function usePattern(regexStr) {\n\t var index = patternsHash[regexStr];\n\t if (index === undefined) {\n\t index = patternsHash[regexStr] = patterns.length;\n\t patterns[index] = regexStr;\n\t }\n\t return 'pattern' + index;\n\t }\n\t\n\t function useDefault(value) {\n\t switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) {\n\t case 'boolean':\n\t case 'number':\n\t return '' + value;\n\t case 'string':\n\t return util.toQuotedString(value);\n\t case 'object':\n\t if (value === null) return 'null';\n\t var valueStr = stableStringify(value);\n\t var index = defaultsHash[valueStr];\n\t if (index === undefined) {\n\t index = defaultsHash[valueStr] = defaults.length;\n\t defaults[index] = value;\n\t }\n\t return 'default' + index;\n\t }\n\t }\n\t\n\t function useCustomRule(rule, schema, parentSchema, it) {\n\t var validateSchema = rule.definition.validateSchema;\n\t if (validateSchema && self._opts.validateSchema !== false) {\n\t var valid = validateSchema(schema);\n\t if (!valid) {\n\t var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors);\n\t if (self._opts.validateSchema == 'log') console.error(message);else throw new Error(message);\n\t }\n\t }\n\t\n\t var compile = rule.definition.compile,\n\t inline = rule.definition.inline,\n\t macro = rule.definition.macro;\n\t\n\t var validate;\n\t if (compile) {\n\t validate = compile.call(self, schema, parentSchema, it);\n\t } else if (macro) {\n\t validate = macro.call(self, schema, parentSchema, it);\n\t if (opts.validateSchema !== false) self.validateSchema(validate, true);\n\t } else if (inline) {\n\t validate = inline.call(self, it, rule.keyword, schema, parentSchema);\n\t } else {\n\t validate = rule.definition.validate;\n\t if (!validate) return;\n\t }\n\t\n\t if (validate === undefined) throw new Error('custom keyword \"' + rule.keyword + '\"failed to compile');\n\t\n\t var index = customRules.length;\n\t customRules[index] = validate;\n\t\n\t return {\n\t code: 'customRule' + index,\n\t validate: validate\n\t };\n\t }\n\t}\n\t\n\t/**\n\t * Checks if the schema is currently compiled\n\t * @this Ajv\n\t * @param {Object} schema schema to compile\n\t * @param {Object} root root object\n\t * @param {String} baseId base schema ID\n\t * @return {Object} object with properties \"index\" (compilation index) and \"compiling\" (boolean)\n\t */\n\tfunction checkCompiling(schema, root, baseId) {\n\t /* jshint validthis: true */\n\t var index = compIndex.call(this, schema, root, baseId);\n\t if (index >= 0) return { index: index, compiling: true };\n\t index = this._compilations.length;\n\t this._compilations[index] = {\n\t schema: schema,\n\t root: root,\n\t baseId: baseId\n\t };\n\t return { index: index, compiling: false };\n\t}\n\t\n\t/**\n\t * Removes the schema from the currently compiled list\n\t * @this Ajv\n\t * @param {Object} schema schema to compile\n\t * @param {Object} root root object\n\t * @param {String} baseId base schema ID\n\t */\n\tfunction endCompiling(schema, root, baseId) {\n\t /* jshint validthis: true */\n\t var i = compIndex.call(this, schema, root, baseId);\n\t if (i >= 0) this._compilations.splice(i, 1);\n\t}\n\t\n\t/**\n\t * Index of schema compilation in the currently compiled list\n\t * @this Ajv\n\t * @param {Object} schema schema to compile\n\t * @param {Object} root root object\n\t * @param {String} baseId base schema ID\n\t * @return {Integer} compilation index\n\t */\n\tfunction compIndex(schema, root, baseId) {\n\t /* jshint validthis: true */\n\t for (var i = 0; i < this._compilations.length; i++) {\n\t var c = this._compilations[i];\n\t if (c.schema == schema && c.root == root && c.baseId == baseId) return i;\n\t }\n\t return -1;\n\t}\n\t\n\tfunction patternCode(i, patterns) {\n\t return 'var pattern' + i + ' = new RegExp(' + util.toQuotedString(patterns[i]) + ');';\n\t}\n\t\n\tfunction defaultCode(i) {\n\t return 'var default' + i + ' = defaults[' + i + '];';\n\t}\n\t\n\tfunction refValCode(i, refVal) {\n\t return refVal[i] === undefined ? '' : 'var refVal' + i + ' = refVal[' + i + '];';\n\t}\n\t\n\tfunction customRuleCode(i) {\n\t return 'var customRule' + i + ' = customRules[' + i + '];';\n\t}\n\t\n\tfunction vars(arr, statement) {\n\t if (!arr.length) return '';\n\t var code = '';\n\t for (var i = 0; i < arr.length; i++) {\n\t code += statement(i, arr);\n\t }return code;\n\t}\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar url = __webpack_require__(18),\n\t equal = __webpack_require__(25),\n\t util = __webpack_require__(26),\n\t SchemaObject = __webpack_require__(28),\n\t traverse = __webpack_require__(29);\n\t\n\tmodule.exports = resolve;\n\t\n\tresolve.normalizeId = normalizeId;\n\tresolve.fullPath = getFullPath;\n\tresolve.url = resolveUrl;\n\tresolve.ids = resolveIds;\n\tresolve.inlineRef = inlineRef;\n\tresolve.schema = resolveSchema;\n\t\n\t/**\n\t * [resolve and compile the references ($ref)]\n\t * @this Ajv\n\t * @param {Function} compile reference to schema compilation funciton (localCompile)\n\t * @param {Object} root object with information about the root schema for the current schema\n\t * @param {String} ref reference to resolve\n\t * @return {Object|Function} schema object (if the schema can be inlined) or validation function\n\t */\n\tfunction resolve(compile, root, ref) {\n\t /* jshint validthis: true */\n\t var refVal = this._refs[ref];\n\t if (typeof refVal == 'string') {\n\t if (this._refs[refVal]) refVal = this._refs[refVal];else return resolve.call(this, compile, root, refVal);\n\t }\n\t\n\t refVal = refVal || this._schemas[ref];\n\t if (refVal instanceof SchemaObject) {\n\t return inlineRef(refVal.schema, this._opts.inlineRefs) ? refVal.schema : refVal.validate || this._compile(refVal);\n\t }\n\t\n\t var res = resolveSchema.call(this, root, ref);\n\t var schema, v, baseId;\n\t if (res) {\n\t schema = res.schema;\n\t root = res.root;\n\t baseId = res.baseId;\n\t }\n\t\n\t if (schema instanceof SchemaObject) {\n\t v = schema.validate || compile.call(this, schema.schema, root, undefined, baseId);\n\t } else if (schema !== undefined) {\n\t v = inlineRef(schema, this._opts.inlineRefs) ? schema : compile.call(this, schema, root, undefined, baseId);\n\t }\n\t\n\t return v;\n\t}\n\t\n\t/**\n\t * Resolve schema, its root and baseId\n\t * @this Ajv\n\t * @param {Object} root root object with properties schema, refVal, refs\n\t * @param {String} ref reference to resolve\n\t * @return {Object} object with properties schema, root, baseId\n\t */\n\tfunction resolveSchema(root, ref) {\n\t /* jshint validthis: true */\n\t var p = url.parse(ref, false, true),\n\t refPath = _getFullPath(p),\n\t baseId = getFullPath(this._getId(root.schema));\n\t if (refPath !== baseId) {\n\t var id = normalizeId(refPath);\n\t var refVal = this._refs[id];\n\t if (typeof refVal == 'string') {\n\t return resolveRecursive.call(this, root, refVal, p);\n\t } else if (refVal instanceof SchemaObject) {\n\t if (!refVal.validate) this._compile(refVal);\n\t root = refVal;\n\t } else {\n\t refVal = this._schemas[id];\n\t if (refVal instanceof SchemaObject) {\n\t if (!refVal.validate) this._compile(refVal);\n\t if (id == normalizeId(ref)) return { schema: refVal, root: root, baseId: baseId };\n\t root = refVal;\n\t } else {\n\t return;\n\t }\n\t }\n\t if (!root.schema) return;\n\t baseId = getFullPath(this._getId(root.schema));\n\t }\n\t return getJsonPointer.call(this, p, baseId, root.schema, root);\n\t}\n\t\n\t/* @this Ajv */\n\tfunction resolveRecursive(root, ref, parsedRef) {\n\t /* jshint validthis: true */\n\t var res = resolveSchema.call(this, root, ref);\n\t if (res) {\n\t var schema = res.schema;\n\t var baseId = res.baseId;\n\t root = res.root;\n\t var id = this._getId(schema);\n\t if (id) baseId = resolveUrl(baseId, id);\n\t return getJsonPointer.call(this, parsedRef, baseId, schema, root);\n\t }\n\t}\n\t\n\tvar PREVENT_SCOPE_CHANGE = util.toHash(['properties', 'patternProperties', 'enum', 'dependencies', 'definitions']);\n\t/* @this Ajv */\n\tfunction getJsonPointer(parsedRef, baseId, schema, root) {\n\t /* jshint validthis: true */\n\t parsedRef.hash = parsedRef.hash || '';\n\t if (parsedRef.hash.slice(0, 2) != '#/') return;\n\t var parts = parsedRef.hash.split('/');\n\t\n\t for (var i = 1; i < parts.length; i++) {\n\t var part = parts[i];\n\t if (part) {\n\t part = util.unescapeFragment(part);\n\t schema = schema[part];\n\t if (schema === undefined) break;\n\t var id;\n\t if (!PREVENT_SCOPE_CHANGE[part]) {\n\t id = this._getId(schema);\n\t if (id) baseId = resolveUrl(baseId, id);\n\t if (schema.$ref) {\n\t var $ref = resolveUrl(baseId, schema.$ref);\n\t var res = resolveSchema.call(this, root, $ref);\n\t if (res) {\n\t schema = res.schema;\n\t root = res.root;\n\t baseId = res.baseId;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if (schema !== undefined && schema !== root.schema) return { schema: schema, root: root, baseId: baseId };\n\t}\n\t\n\tvar SIMPLE_INLINED = util.toHash(['type', 'format', 'pattern', 'maxLength', 'minLength', 'maxProperties', 'minProperties', 'maxItems', 'minItems', 'maximum', 'minimum', 'uniqueItems', 'multipleOf', 'required', 'enum']);\n\tfunction inlineRef(schema, limit) {\n\t if (limit === false) return false;\n\t if (limit === undefined || limit === true) return checkNoRef(schema);else if (limit) return countKeys(schema) <= limit;\n\t}\n\t\n\tfunction checkNoRef(schema) {\n\t var item;\n\t if (Array.isArray(schema)) {\n\t for (var i = 0; i < schema.length; i++) {\n\t item = schema[i];\n\t if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) == 'object' && !checkNoRef(item)) return false;\n\t }\n\t } else {\n\t for (var key in schema) {\n\t if (key == '$ref') return false;\n\t item = schema[key];\n\t if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) == 'object' && !checkNoRef(item)) return false;\n\t }\n\t }\n\t return true;\n\t}\n\t\n\tfunction countKeys(schema) {\n\t var count = 0,\n\t item;\n\t if (Array.isArray(schema)) {\n\t for (var i = 0; i < schema.length; i++) {\n\t item = schema[i];\n\t if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) == 'object') count += countKeys(item);\n\t if (count == Infinity) return Infinity;\n\t }\n\t } else {\n\t for (var key in schema) {\n\t if (key == '$ref') return Infinity;\n\t if (SIMPLE_INLINED[key]) {\n\t count++;\n\t } else {\n\t item = schema[key];\n\t if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) == 'object') count += countKeys(item) + 1;\n\t if (count == Infinity) return Infinity;\n\t }\n\t }\n\t }\n\t return count;\n\t}\n\t\n\tfunction getFullPath(id, normalize) {\n\t if (normalize !== false) id = normalizeId(id);\n\t var p = url.parse(id, false, true);\n\t return _getFullPath(p);\n\t}\n\t\n\tfunction _getFullPath(p) {\n\t var protocolSeparator = p.protocol || p.href.slice(0, 2) == '//' ? '//' : '';\n\t return (p.protocol || '') + protocolSeparator + (p.host || '') + (p.path || '') + '#';\n\t}\n\t\n\tvar TRAILING_SLASH_HASH = /#\\/?$/;\n\tfunction normalizeId(id) {\n\t return id ? id.replace(TRAILING_SLASH_HASH, '') : '';\n\t}\n\t\n\tfunction resolveUrl(baseId, id) {\n\t id = normalizeId(id);\n\t return url.resolve(baseId, id);\n\t}\n\t\n\t/* @this Ajv */\n\tfunction resolveIds(schema) {\n\t var schemaId = normalizeId(this._getId(schema));\n\t var baseIds = { '': schemaId };\n\t var fullPaths = { '': getFullPath(schemaId, false) };\n\t var localRefs = {};\n\t var self = this;\n\t\n\t traverse(schema, { allKeys: true }, function (sch, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n\t if (jsonPtr === '') return;\n\t var id = self._getId(sch);\n\t var baseId = baseIds[parentJsonPtr];\n\t var fullPath = fullPaths[parentJsonPtr] + '/' + parentKeyword;\n\t if (keyIndex !== undefined) fullPath += '/' + (typeof keyIndex == 'number' ? keyIndex : util.escapeFragment(keyIndex));\n\t\n\t if (typeof id == 'string') {\n\t id = baseId = normalizeId(baseId ? url.resolve(baseId, id) : id);\n\t\n\t var refVal = self._refs[id];\n\t if (typeof refVal == 'string') refVal = self._refs[refVal];\n\t if (refVal && refVal.schema) {\n\t if (!equal(sch, refVal.schema)) throw new Error('id \"' + id + '\" resolves to more than one schema');\n\t } else if (id != normalizeId(fullPath)) {\n\t if (id[0] == '#') {\n\t if (localRefs[id] && !equal(sch, localRefs[id])) throw new Error('id \"' + id + '\" resolves to more than one schema');\n\t localRefs[id] = sch;\n\t } else {\n\t self._refs[id] = fullPath;\n\t }\n\t }\n\t }\n\t baseIds[jsonPtr] = baseId;\n\t fullPaths[jsonPtr] = fullPath;\n\t });\n\t\n\t return localRefs;\n\t}\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tvar punycode = __webpack_require__(19);\n\t\n\texports.parse = urlParse;\n\texports.resolve = urlResolve;\n\texports.resolveObject = urlResolveObject;\n\texports.format = urlFormat;\n\t\n\texports.Url = Url;\n\t\n\tfunction Url() {\n\t this.protocol = null;\n\t this.slashes = null;\n\t this.auth = null;\n\t this.host = null;\n\t this.port = null;\n\t this.hostname = null;\n\t this.hash = null;\n\t this.search = null;\n\t this.query = null;\n\t this.pathname = null;\n\t this.path = null;\n\t this.href = null;\n\t}\n\t\n\t// Reference: RFC 3986, RFC 1808, RFC 2396\n\t\n\t// define these here so at least they only have to be\n\t// compiled once on the first module load.\n\tvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n\t portPattern = /:[0-9]*$/,\n\t\n\t\n\t// RFC 2396: characters reserved for delimiting URLs.\n\t// We actually just auto-escape these.\n\tdelims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\t\n\t\n\t// RFC 2396: characters not allowed for various reasons.\n\tunwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\t\n\t\n\t// Allowed by RFCs, but cause of XSS attacks. Always escape these.\n\tautoEscape = ['\\''].concat(unwise),\n\t\n\t// Characters that are never ever allowed in a hostname.\n\t// Note that any invalid chars are also handled, but these\n\t// are the ones that are *expected* to be seen, so we fast-path\n\t// them.\n\tnonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n\t hostEndingChars = ['/', '?', '#'],\n\t hostnameMaxLen = 255,\n\t hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,\n\t hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,\n\t\n\t// protocols that can allow \"unsafe\" and \"unwise\" chars.\n\tunsafeProtocol = {\n\t 'javascript': true,\n\t 'javascript:': true\n\t},\n\t\n\t// protocols that never have a hostname.\n\thostlessProtocol = {\n\t 'javascript': true,\n\t 'javascript:': true\n\t},\n\t\n\t// protocols that always contain a // bit.\n\tslashedProtocol = {\n\t 'http': true,\n\t 'https': true,\n\t 'ftp': true,\n\t 'gopher': true,\n\t 'file': true,\n\t 'http:': true,\n\t 'https:': true,\n\t 'ftp:': true,\n\t 'gopher:': true,\n\t 'file:': true\n\t},\n\t querystring = __webpack_require__(22);\n\t\n\tfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n\t if (url && isObject(url) && url instanceof Url) return url;\n\t\n\t var u = new Url();\n\t u.parse(url, parseQueryString, slashesDenoteHost);\n\t return u;\n\t}\n\t\n\tUrl.prototype.parse = function (url, parseQueryString, slashesDenoteHost) {\n\t if (!isString(url)) {\n\t throw new TypeError(\"Parameter 'url' must be a string, not \" + (typeof url === 'undefined' ? 'undefined' : _typeof(url)));\n\t }\n\t\n\t var rest = url;\n\t\n\t // trim before proceeding.\n\t // This is to support parse stuff like \" http://foo.com \\n\"\n\t rest = rest.trim();\n\t\n\t var proto = protocolPattern.exec(rest);\n\t if (proto) {\n\t proto = proto[0];\n\t var lowerProto = proto.toLowerCase();\n\t this.protocol = lowerProto;\n\t rest = rest.substr(proto.length);\n\t }\n\t\n\t // figure out if it's got a host\n\t // user@server is *always* interpreted as a hostname, and url\n\t // resolution will treat //foo/bar as host=foo,path=bar because that's\n\t // how the browser resolves relative URLs.\n\t if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n\t var slashes = rest.substr(0, 2) === '//';\n\t if (slashes && !(proto && hostlessProtocol[proto])) {\n\t rest = rest.substr(2);\n\t this.slashes = true;\n\t }\n\t }\n\t\n\t if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {\n\t\n\t // there's a hostname.\n\t // the first instance of /, ?, ;, or # ends the host.\n\t //\n\t // If there is an @ in the hostname, then non-host chars *are* allowed\n\t // to the left of the last @ sign, unless some host-ending character\n\t // comes *before* the @-sign.\n\t // URLs are obnoxious.\n\t //\n\t // ex:\n\t // http://a@b@c/ => user:a@b host:c\n\t // http://a@b?@c => user:a host:c path:/?@c\n\t\n\t // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n\t // Review our test case against browsers more comprehensively.\n\t\n\t // find the first instance of any hostEndingChars\n\t var hostEnd = -1;\n\t for (var i = 0; i < hostEndingChars.length; i++) {\n\t var hec = rest.indexOf(hostEndingChars[i]);\n\t if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;\n\t }\n\t\n\t // at this point, either we have an explicit point where the\n\t // auth portion cannot go past, or the last @ char is the decider.\n\t var auth, atSign;\n\t if (hostEnd === -1) {\n\t // atSign can be anywhere.\n\t atSign = rest.lastIndexOf('@');\n\t } else {\n\t // atSign must be in auth portion.\n\t // http://a@b/c@d => host:b auth:a path:/c@d\n\t atSign = rest.lastIndexOf('@', hostEnd);\n\t }\n\t\n\t // Now we have a portion which is definitely the auth.\n\t // Pull that off.\n\t if (atSign !== -1) {\n\t auth = rest.slice(0, atSign);\n\t rest = rest.slice(atSign + 1);\n\t this.auth = decodeURIComponent(auth);\n\t }\n\t\n\t // the host is the remaining to the left of the first non-host char\n\t hostEnd = -1;\n\t for (var i = 0; i < nonHostChars.length; i++) {\n\t var hec = rest.indexOf(nonHostChars[i]);\n\t if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;\n\t }\n\t // if we still have not hit it, then the entire thing is a host.\n\t if (hostEnd === -1) hostEnd = rest.length;\n\t\n\t this.host = rest.slice(0, hostEnd);\n\t rest = rest.slice(hostEnd);\n\t\n\t // pull out port.\n\t this.parseHost();\n\t\n\t // we've indicated that there is a hostname,\n\t // so even if it's empty, it has to be present.\n\t this.hostname = this.hostname || '';\n\t\n\t // if hostname begins with [ and ends with ]\n\t // assume that it's an IPv6 address.\n\t var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']';\n\t\n\t // validate a little.\n\t if (!ipv6Hostname) {\n\t var hostparts = this.hostname.split(/\\./);\n\t for (var i = 0, l = hostparts.length; i < l; i++) {\n\t var part = hostparts[i];\n\t if (!part) continue;\n\t if (!part.match(hostnamePartPattern)) {\n\t var newpart = '';\n\t for (var j = 0, k = part.length; j < k; j++) {\n\t if (part.charCodeAt(j) > 127) {\n\t // we replace non-ASCII char with a temporary placeholder\n\t // we need this to make sure size of hostname is not\n\t // broken by replacing non-ASCII by nothing\n\t newpart += 'x';\n\t } else {\n\t newpart += part[j];\n\t }\n\t }\n\t // we test again with ASCII char only\n\t if (!newpart.match(hostnamePartPattern)) {\n\t var validParts = hostparts.slice(0, i);\n\t var notHost = hostparts.slice(i + 1);\n\t var bit = part.match(hostnamePartStart);\n\t if (bit) {\n\t validParts.push(bit[1]);\n\t notHost.unshift(bit[2]);\n\t }\n\t if (notHost.length) {\n\t rest = '/' + notHost.join('.') + rest;\n\t }\n\t this.hostname = validParts.join('.');\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t if (this.hostname.length > hostnameMaxLen) {\n\t this.hostname = '';\n\t } else {\n\t // hostnames are always lower case.\n\t this.hostname = this.hostname.toLowerCase();\n\t }\n\t\n\t if (!ipv6Hostname) {\n\t // IDNA Support: Returns a puny coded representation of \"domain\".\n\t // It only converts the part of the domain name that\n\t // has non ASCII characters. I.e. it dosent matter if\n\t // you call it with a domain that already is in ASCII.\n\t var domainArray = this.hostname.split('.');\n\t var newOut = [];\n\t for (var i = 0; i < domainArray.length; ++i) {\n\t var s = domainArray[i];\n\t newOut.push(s.match(/[^A-Za-z0-9_-]/) ? 'xn--' + punycode.encode(s) : s);\n\t }\n\t this.hostname = newOut.join('.');\n\t }\n\t\n\t var p = this.port ? ':' + this.port : '';\n\t var h = this.hostname || '';\n\t this.host = h + p;\n\t this.href += this.host;\n\t\n\t // strip [ and ] from the hostname\n\t // the host field still retains them, though\n\t if (ipv6Hostname) {\n\t this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n\t if (rest[0] !== '/') {\n\t rest = '/' + rest;\n\t }\n\t }\n\t }\n\t\n\t // now rest is set to the post-host stuff.\n\t // chop off any delim chars.\n\t if (!unsafeProtocol[lowerProto]) {\n\t\n\t // First, make 100% sure that any \"autoEscape\" chars get\n\t // escaped, even if encodeURIComponent doesn't think they\n\t // need to be.\n\t for (var i = 0, l = autoEscape.length; i < l; i++) {\n\t var ae = autoEscape[i];\n\t var esc = encodeURIComponent(ae);\n\t if (esc === ae) {\n\t esc = escape(ae);\n\t }\n\t rest = rest.split(ae).join(esc);\n\t }\n\t }\n\t\n\t // chop off from the tail first.\n\t var hash = rest.indexOf('#');\n\t if (hash !== -1) {\n\t // got a fragment string.\n\t this.hash = rest.substr(hash);\n\t rest = rest.slice(0, hash);\n\t }\n\t var qm = rest.indexOf('?');\n\t if (qm !== -1) {\n\t this.search = rest.substr(qm);\n\t this.query = rest.substr(qm + 1);\n\t if (parseQueryString) {\n\t this.query = querystring.parse(this.query);\n\t }\n\t rest = rest.slice(0, qm);\n\t } else if (parseQueryString) {\n\t // no query string, but parseQueryString still requested\n\t this.search = '';\n\t this.query = {};\n\t }\n\t if (rest) this.pathname = rest;\n\t if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {\n\t this.pathname = '/';\n\t }\n\t\n\t //to support http.request\n\t if (this.pathname || this.search) {\n\t var p = this.pathname || '';\n\t var s = this.search || '';\n\t this.path = p + s;\n\t }\n\t\n\t // finally, reconstruct the href based on what has been validated.\n\t this.href = this.format();\n\t return this;\n\t};\n\t\n\t// format a parsed object into a url string\n\tfunction urlFormat(obj) {\n\t // ensure it's an object, and not a string url.\n\t // If it's an obj, this is a no-op.\n\t // this way, you can call url_format() on strings\n\t // to clean up potentially wonky urls.\n\t if (isString(obj)) obj = urlParse(obj);\n\t if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n\t return obj.format();\n\t}\n\t\n\tUrl.prototype.format = function () {\n\t var auth = this.auth || '';\n\t if (auth) {\n\t auth = encodeURIComponent(auth);\n\t auth = auth.replace(/%3A/i, ':');\n\t auth += '@';\n\t }\n\t\n\t var protocol = this.protocol || '',\n\t pathname = this.pathname || '',\n\t hash = this.hash || '',\n\t host = false,\n\t query = '';\n\t\n\t if (this.host) {\n\t host = auth + this.host;\n\t } else if (this.hostname) {\n\t host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']');\n\t if (this.port) {\n\t host += ':' + this.port;\n\t }\n\t }\n\t\n\t if (this.query && isObject(this.query) && Object.keys(this.query).length) {\n\t query = querystring.stringify(this.query);\n\t }\n\t\n\t var search = this.search || query && '?' + query || '';\n\t\n\t if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\t\n\t // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n\t // unless they had them to begin with.\n\t if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {\n\t host = '//' + (host || '');\n\t if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n\t } else if (!host) {\n\t host = '';\n\t }\n\t\n\t if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n\t if (search && search.charAt(0) !== '?') search = '?' + search;\n\t\n\t pathname = pathname.replace(/[?#]/g, function (match) {\n\t return encodeURIComponent(match);\n\t });\n\t search = search.replace('#', '%23');\n\t\n\t return protocol + host + pathname + search + hash;\n\t};\n\t\n\tfunction urlResolve(source, relative) {\n\t return urlParse(source, false, true).resolve(relative);\n\t}\n\t\n\tUrl.prototype.resolve = function (relative) {\n\t return this.resolveObject(urlParse(relative, false, true)).format();\n\t};\n\t\n\tfunction urlResolveObject(source, relative) {\n\t if (!source) return relative;\n\t return urlParse(source, false, true).resolveObject(relative);\n\t}\n\t\n\tUrl.prototype.resolveObject = function (relative) {\n\t if (isString(relative)) {\n\t var rel = new Url();\n\t rel.parse(relative, false, true);\n\t relative = rel;\n\t }\n\t\n\t var result = new Url();\n\t Object.keys(this).forEach(function (k) {\n\t result[k] = this[k];\n\t }, this);\n\t\n\t // hash is always overridden, no matter what.\n\t // even href=\"\" will remove it.\n\t result.hash = relative.hash;\n\t\n\t // if the relative url is empty, then there's nothing left to do here.\n\t if (relative.href === '') {\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t // hrefs like //foo/bar always cut to the protocol.\n\t if (relative.slashes && !relative.protocol) {\n\t // take everything except the protocol from relative\n\t Object.keys(relative).forEach(function (k) {\n\t if (k !== 'protocol') result[k] = relative[k];\n\t });\n\t\n\t //urlParse appends trailing / to urls like http://www.example.com\n\t if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {\n\t result.path = result.pathname = '/';\n\t }\n\t\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t if (relative.protocol && relative.protocol !== result.protocol) {\n\t // if it's a known url protocol, then changing\n\t // the protocol does weird things\n\t // first, if it's not file:, then we MUST have a host,\n\t // and if there was a path\n\t // to begin with, then we MUST have a path.\n\t // if it is file:, then the host is dropped,\n\t // because that's known to be hostless.\n\t // anything else is assumed to be absolute.\n\t if (!slashedProtocol[relative.protocol]) {\n\t Object.keys(relative).forEach(function (k) {\n\t result[k] = relative[k];\n\t });\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t result.protocol = relative.protocol;\n\t if (!relative.host && !hostlessProtocol[relative.protocol]) {\n\t var relPath = (relative.pathname || '').split('/');\n\t while (relPath.length && !(relative.host = relPath.shift())) {}\n\t if (!relative.host) relative.host = '';\n\t if (!relative.hostname) relative.hostname = '';\n\t if (relPath[0] !== '') relPath.unshift('');\n\t if (relPath.length < 2) relPath.unshift('');\n\t result.pathname = relPath.join('/');\n\t } else {\n\t result.pathname = relative.pathname;\n\t }\n\t result.search = relative.search;\n\t result.query = relative.query;\n\t result.host = relative.host || '';\n\t result.auth = relative.auth;\n\t result.hostname = relative.hostname || relative.host;\n\t result.port = relative.port;\n\t // to support http.request\n\t if (result.pathname || result.search) {\n\t var p = result.pathname || '';\n\t var s = result.search || '';\n\t result.path = p + s;\n\t }\n\t result.slashes = result.slashes || relative.slashes;\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t var isSourceAbs = result.pathname && result.pathname.charAt(0) === '/',\n\t isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === '/',\n\t mustEndAbs = isRelAbs || isSourceAbs || result.host && relative.pathname,\n\t removeAllDots = mustEndAbs,\n\t srcPath = result.pathname && result.pathname.split('/') || [],\n\t relPath = relative.pathname && relative.pathname.split('/') || [],\n\t psychotic = result.protocol && !slashedProtocol[result.protocol];\n\t\n\t // if the url is a non-slashed url, then relative\n\t // links like ../.. should be able\n\t // to crawl up to the hostname, as well. This is strange.\n\t // result.protocol has already been set by now.\n\t // Later on, put the first path part into the host field.\n\t if (psychotic) {\n\t result.hostname = '';\n\t result.port = null;\n\t if (result.host) {\n\t if (srcPath[0] === '') srcPath[0] = result.host;else srcPath.unshift(result.host);\n\t }\n\t result.host = '';\n\t if (relative.protocol) {\n\t relative.hostname = null;\n\t relative.port = null;\n\t if (relative.host) {\n\t if (relPath[0] === '') relPath[0] = relative.host;else relPath.unshift(relative.host);\n\t }\n\t relative.host = null;\n\t }\n\t mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n\t }\n\t\n\t if (isRelAbs) {\n\t // it's absolute.\n\t result.host = relative.host || relative.host === '' ? relative.host : result.host;\n\t result.hostname = relative.hostname || relative.hostname === '' ? relative.hostname : result.hostname;\n\t result.search = relative.search;\n\t result.query = relative.query;\n\t srcPath = relPath;\n\t // fall through to the dot-handling below.\n\t } else if (relPath.length) {\n\t // it's relative\n\t // throw away the existing file, and take the new path instead.\n\t if (!srcPath) srcPath = [];\n\t srcPath.pop();\n\t srcPath = srcPath.concat(relPath);\n\t result.search = relative.search;\n\t result.query = relative.query;\n\t } else if (!isNullOrUndefined(relative.search)) {\n\t // just pull out the search.\n\t // like href='?foo'.\n\t // Put this after the other two cases because it simplifies the booleans\n\t if (psychotic) {\n\t result.hostname = result.host = srcPath.shift();\n\t //occationaly the auth can get stuck only in host\n\t //this especialy happens in cases like\n\t //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n\t var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;\n\t if (authInHost) {\n\t result.auth = authInHost.shift();\n\t result.host = result.hostname = authInHost.shift();\n\t }\n\t }\n\t result.search = relative.search;\n\t result.query = relative.query;\n\t //to support http.request\n\t if (!isNull(result.pathname) || !isNull(result.search)) {\n\t result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');\n\t }\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t if (!srcPath.length) {\n\t // no path at all. easy.\n\t // we've already handled the other stuff above.\n\t result.pathname = null;\n\t //to support http.request\n\t if (result.search) {\n\t result.path = '/' + result.search;\n\t } else {\n\t result.path = null;\n\t }\n\t result.href = result.format();\n\t return result;\n\t }\n\t\n\t // if a url ENDs in . or .., then it must get a trailing slash.\n\t // however, if it ends in anything else non-slashy,\n\t // then it must NOT get a trailing slash.\n\t var last = srcPath.slice(-1)[0];\n\t var hasTrailingSlash = (result.host || relative.host) && (last === '.' || last === '..') || last === '';\n\t\n\t // strip single dots, resolve double dots to parent dir\n\t // if the path tries to go above the root, `up` ends up > 0\n\t var up = 0;\n\t for (var i = srcPath.length; i >= 0; i--) {\n\t last = srcPath[i];\n\t if (last == '.') {\n\t srcPath.splice(i, 1);\n\t } else if (last === '..') {\n\t srcPath.splice(i, 1);\n\t up++;\n\t } else if (up) {\n\t srcPath.splice(i, 1);\n\t up--;\n\t }\n\t }\n\t\n\t // if the path is allowed to go above the root, restore leading ..s\n\t if (!mustEndAbs && !removeAllDots) {\n\t for (; up--; up) {\n\t srcPath.unshift('..');\n\t }\n\t }\n\t\n\t if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n\t srcPath.unshift('');\n\t }\n\t\n\t if (hasTrailingSlash && srcPath.join('/').substr(-1) !== '/') {\n\t srcPath.push('');\n\t }\n\t\n\t var isAbsolute = srcPath[0] === '' || srcPath[0] && srcPath[0].charAt(0) === '/';\n\t\n\t // put the host back\n\t if (psychotic) {\n\t result.hostname = result.host = isAbsolute ? '' : srcPath.length ? srcPath.shift() : '';\n\t //occationaly the auth can get stuck only in host\n\t //this especialy happens in cases like\n\t //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n\t var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;\n\t if (authInHost) {\n\t result.auth = authInHost.shift();\n\t result.host = result.hostname = authInHost.shift();\n\t }\n\t }\n\t\n\t mustEndAbs = mustEndAbs || result.host && srcPath.length;\n\t\n\t if (mustEndAbs && !isAbsolute) {\n\t srcPath.unshift('');\n\t }\n\t\n\t if (!srcPath.length) {\n\t result.pathname = null;\n\t result.path = null;\n\t } else {\n\t result.pathname = srcPath.join('/');\n\t }\n\t\n\t //to support request.http\n\t if (!isNull(result.pathname) || !isNull(result.search)) {\n\t result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');\n\t }\n\t result.auth = relative.auth || result.auth;\n\t result.slashes = result.slashes || relative.slashes;\n\t result.href = result.format();\n\t return result;\n\t};\n\t\n\tUrl.prototype.parseHost = function () {\n\t var host = this.host;\n\t var port = portPattern.exec(host);\n\t if (port) {\n\t port = port[0];\n\t if (port !== ':') {\n\t this.port = port.substr(1);\n\t }\n\t host = host.substr(0, host.length - port.length);\n\t }\n\t if (host) this.hostname = host;\n\t};\n\t\n\tfunction isString(arg) {\n\t return typeof arg === \"string\";\n\t}\n\t\n\tfunction isObject(arg) {\n\t return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null;\n\t}\n\t\n\tfunction isNull(arg) {\n\t return arg === null;\n\t}\n\tfunction isNullOrUndefined(arg) {\n\t return arg == null;\n\t}\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\t/*! https://mths.be/punycode v1.3.2 by @mathias */\n\t;(function (root) {\n\t\n\t\t/** Detect free variables */\n\t\tvar freeExports = ( false ? 'undefined' : _typeof(exports)) == 'object' && exports && !exports.nodeType && exports;\n\t\tvar freeModule = ( false ? 'undefined' : _typeof(module)) == 'object' && module && !module.nodeType && module;\n\t\tvar freeGlobal = (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global;\n\t\tif (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal) {\n\t\t\troot = freeGlobal;\n\t\t}\n\t\n\t\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\t\tvar punycode,\n\t\n\t\n\t\t/** Highest positive signed 32-bit float value */\n\t\tmaxInt = 2147483647,\n\t\t // aka. 0x7FFFFFFF or 2^31-1\n\t\n\t\t/** Bootstring parameters */\n\t\tbase = 36,\n\t\t tMin = 1,\n\t\t tMax = 26,\n\t\t skew = 38,\n\t\t damp = 700,\n\t\t initialBias = 72,\n\t\t initialN = 128,\n\t\t // 0x80\n\t\tdelimiter = '-',\n\t\t // '\\x2D'\n\t\n\t\t/** Regular expressions */\n\t\tregexPunycode = /^xn--/,\n\t\t regexNonASCII = /[^\\x20-\\x7E]/,\n\t\t // unprintable ASCII chars + non-ASCII chars\n\t\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g,\n\t\t // RFC 3490 separators\n\t\n\t\t/** Error messages */\n\t\terrors = {\n\t\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t\t'invalid-input': 'Invalid input'\n\t\t},\n\t\n\t\n\t\t/** Convenience shortcuts */\n\t\tbaseMinusTMin = base - tMin,\n\t\t floor = Math.floor,\n\t\t stringFromCharCode = String.fromCharCode,\n\t\n\t\n\t\t/** Temporary variable */\n\t\tkey;\n\t\n\t\t/*--------------------------------------------------------------------------*/\n\t\n\t\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\t\tfunction error(type) {\n\t\t\tthrow RangeError(errors[type]);\n\t\t}\n\t\n\t\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\t\tfunction map(array, fn) {\n\t\t\tvar length = array.length;\n\t\t\tvar result = [];\n\t\t\twhile (length--) {\n\t\t\t\tresult[length] = fn(array[length]);\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t\n\t\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\t\tfunction mapDomain(string, fn) {\n\t\t\tvar parts = string.split('@');\n\t\t\tvar result = '';\n\t\t\tif (parts.length > 1) {\n\t\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\t\tresult = parts[0] + '@';\n\t\t\t\tstring = parts[1];\n\t\t\t}\n\t\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\t\tvar labels = string.split('.');\n\t\t\tvar encoded = map(labels, fn).join('.');\n\t\t\treturn result + encoded;\n\t\t}\n\t\n\t\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\t\tfunction ucs2decode(string) {\n\t\t\tvar output = [],\n\t\t\t counter = 0,\n\t\t\t length = string.length,\n\t\t\t value,\n\t\t\t extra;\n\t\t\twhile (counter < length) {\n\t\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\t\tif ((extra & 0xFC00) == 0xDC00) {\n\t\t\t\t\t\t// low surrogate\n\t\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\t\toutput.push(value);\n\t\t\t\t\t\tcounter--;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\toutput.push(value);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn output;\n\t\t}\n\t\n\t\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\t\tfunction ucs2encode(array) {\n\t\t\treturn map(array, function (value) {\n\t\t\t\tvar output = '';\n\t\t\t\tif (value > 0xFFFF) {\n\t\t\t\t\tvalue -= 0x10000;\n\t\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t\t}\n\t\t\t\toutput += stringFromCharCode(value);\n\t\t\t\treturn output;\n\t\t\t}).join('');\n\t\t}\n\t\n\t\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\t\tfunction basicToDigit(codePoint) {\n\t\t\tif (codePoint - 48 < 10) {\n\t\t\t\treturn codePoint - 22;\n\t\t\t}\n\t\t\tif (codePoint - 65 < 26) {\n\t\t\t\treturn codePoint - 65;\n\t\t\t}\n\t\t\tif (codePoint - 97 < 26) {\n\t\t\t\treturn codePoint - 97;\n\t\t\t}\n\t\t\treturn base;\n\t\t}\n\t\n\t\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\t\tfunction digitToBasic(digit, flag) {\n\t\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t\t// 26..35 map to ASCII 0..9\n\t\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t\t}\n\t\n\t\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * http://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\t\tfunction adapt(delta, numPoints, firstTime) {\n\t\t\tvar k = 0;\n\t\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\t\tdelta += floor(delta / numPoints);\n\t\t\tfor (; /* no initialization */delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t\t}\n\t\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t\t}\n\t\n\t\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\t\tfunction decode(input) {\n\t\t\t// Don't use UCS-2\n\t\t\tvar output = [],\n\t\t\t inputLength = input.length,\n\t\t\t out,\n\t\t\t i = 0,\n\t\t\t n = initialN,\n\t\t\t bias = initialBias,\n\t\t\t basic,\n\t\t\t j,\n\t\t\t index,\n\t\t\t oldi,\n\t\t\t w,\n\t\t\t k,\n\t\t\t digit,\n\t\t\t t,\n\t\n\t\t\t/** Cached calculation results */\n\t\t\tbaseMinusT;\n\t\n\t\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t\t// the first basic code points to the output.\n\t\n\t\t\tbasic = input.lastIndexOf(delimiter);\n\t\t\tif (basic < 0) {\n\t\t\t\tbasic = 0;\n\t\t\t}\n\t\n\t\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t\t// if it's not a basic code point\n\t\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\t\terror('not-basic');\n\t\t\t\t}\n\t\t\t\toutput.push(input.charCodeAt(j));\n\t\t\t}\n\t\n\t\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t\t// points were copied; start at the beginning otherwise.\n\t\n\t\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength;) /* no final expression */{\n\t\n\t\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t\t// value at the end to obtain `delta`.\n\t\t\t\tfor (oldi = i, w = 1, k = base;; /* no condition */k += base) {\n\t\n\t\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\t\terror('invalid-input');\n\t\t\t\t\t}\n\t\n\t\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\t\n\t\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\t\terror('overflow');\n\t\t\t\t\t}\n\t\n\t\t\t\t\ti += digit * w;\n\t\t\t\t\tt = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n\t\n\t\t\t\t\tif (digit < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\n\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\t\terror('overflow');\n\t\t\t\t\t}\n\t\n\t\t\t\t\tw *= baseMinusT;\n\t\t\t\t}\n\t\n\t\t\t\tout = output.length + 1;\n\t\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\t\n\t\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\t\n\t\t\t\tn += floor(i / out);\n\t\t\t\ti %= out;\n\t\n\t\t\t\t// Insert `n` at position `i` of the output\n\t\t\t\toutput.splice(i++, 0, n);\n\t\t\t}\n\t\n\t\t\treturn ucs2encode(output);\n\t\t}\n\t\n\t\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\t\tfunction encode(input) {\n\t\t\tvar n,\n\t\t\t delta,\n\t\t\t handledCPCount,\n\t\t\t basicLength,\n\t\t\t bias,\n\t\t\t j,\n\t\t\t m,\n\t\t\t q,\n\t\t\t k,\n\t\t\t t,\n\t\t\t currentValue,\n\t\t\t output = [],\n\t\n\t\t\t/** `inputLength` will hold the number of code points in `input`. */\n\t\t\tinputLength,\n\t\n\t\t\t/** Cached calculation results */\n\t\t\thandledCPCountPlusOne,\n\t\t\t baseMinusT,\n\t\t\t qMinusT;\n\t\n\t\t\t// Convert the input in UCS-2 to Unicode\n\t\t\tinput = ucs2decode(input);\n\t\n\t\t\t// Cache the length\n\t\t\tinputLength = input.length;\n\t\n\t\t\t// Initialize the state\n\t\t\tn = initialN;\n\t\t\tdelta = 0;\n\t\t\tbias = initialBias;\n\t\n\t\t\t// Handle the basic code points\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue < 0x80) {\n\t\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\thandledCPCount = basicLength = output.length;\n\t\n\t\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t\t// `basicLength` is the number of basic code points.\n\t\n\t\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\t\tif (basicLength) {\n\t\t\t\toutput.push(delimiter);\n\t\t\t}\n\t\n\t\t\t// Main encoding loop:\n\t\t\twhile (handledCPCount < inputLength) {\n\t\n\t\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t\t// larger one:\n\t\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\t\tcurrentValue = input[j];\n\t\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\t\tm = currentValue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\n\t\t\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t\t\t// but guard against overflow\n\t\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\t\n\t\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\t\tn = m;\n\t\n\t\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\t\tcurrentValue = input[j];\n\t\n\t\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\t\terror('overflow');\n\t\t\t\t\t}\n\t\n\t\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\t\tfor (q = delta, k = base;; /* no condition */k += base) {\n\t\t\t\t\t\t\tt = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n\t\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));\n\t\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\t\tdelta = 0;\n\t\t\t\t\t\t++handledCPCount;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\n\t\t\t\t++delta;\n\t\t\t\t++n;\n\t\t\t}\n\t\t\treturn output.join('');\n\t\t}\n\t\n\t\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\t\tfunction toUnicode(input) {\n\t\t\treturn mapDomain(input, function (string) {\n\t\t\t\treturn regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;\n\t\t\t});\n\t\t}\n\t\n\t\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\t\tfunction toASCII(input) {\n\t\t\treturn mapDomain(input, function (string) {\n\t\t\t\treturn regexNonASCII.test(string) ? 'xn--' + encode(string) : string;\n\t\t\t});\n\t\t}\n\t\n\t\t/*--------------------------------------------------------------------------*/\n\t\n\t\t/** Define the public API */\n\t\tpunycode = {\n\t\t\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t\t\t'version': '1.3.2',\n\t\t\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t\t\t'ucs2': {\n\t\t\t\t'decode': ucs2decode,\n\t\t\t\t'encode': ucs2encode\n\t\t\t},\n\t\t\t'decode': decode,\n\t\t\t'encode': encode,\n\t\t\t'toASCII': toASCII,\n\t\t\t'toUnicode': toUnicode\n\t\t};\n\t\n\t\t/** Expose `punycode` */\n\t\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t\t// like the following:\n\t\tif (\"function\" == 'function' && _typeof(__webpack_require__(21)) == 'object' && __webpack_require__(21)) {\n\t\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn punycode;\n\t\t\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else if (freeExports && freeModule) {\n\t\t\tif (module.exports == freeExports) {\n\t\t\t\t// in Node.js or RingoJS v0.8.0+\n\t\t\t\tfreeModule.exports = punycode;\n\t\t\t} else {\n\t\t\t\t// in Narwhal or RingoJS v0.7.0-\n\t\t\t\tfor (key in punycode) {\n\t\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// in Rhino or a web browser\n\t\t\troot.punycode = punycode;\n\t\t}\n\t})(undefined);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)(module), (function() { return this; }())))\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tmodule.exports = function (module) {\n\t\tif (!module.webpackPolyfill) {\n\t\t\tmodule.deprecate = function () {};\n\t\t\tmodule.paths = [];\n\t\t\t// module.parent = undefined by default\n\t\t\tmodule.children = [];\n\t\t\tmodule.webpackPolyfill = 1;\n\t\t}\n\t\treturn module;\n\t};\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, {}))\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.decode = exports.parse = __webpack_require__(23);\n\texports.encode = exports.stringify = __webpack_require__(24);\n\n/***/ },\n/* 23 */\n/***/ function(module, exports) {\n\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\t'use strict';\n\t\n\t// If obj.hasOwnProperty has been overridden, then calling\n\t// obj.hasOwnProperty(prop) will break.\n\t// See: https://github.com/joyent/node/issues/1707\n\t\n\tfunction hasOwnProperty(obj, prop) {\n\t return Object.prototype.hasOwnProperty.call(obj, prop);\n\t}\n\t\n\tmodule.exports = function (qs, sep, eq, options) {\n\t sep = sep || '&';\n\t eq = eq || '=';\n\t var obj = {};\n\t\n\t if (typeof qs !== 'string' || qs.length === 0) {\n\t return obj;\n\t }\n\t\n\t var regexp = /\\+/g;\n\t qs = qs.split(sep);\n\t\n\t var maxKeys = 1000;\n\t if (options && typeof options.maxKeys === 'number') {\n\t maxKeys = options.maxKeys;\n\t }\n\t\n\t var len = qs.length;\n\t // maxKeys <= 0 means that we should not limit keys count\n\t if (maxKeys > 0 && len > maxKeys) {\n\t len = maxKeys;\n\t }\n\t\n\t for (var i = 0; i < len; ++i) {\n\t var x = qs[i].replace(regexp, '%20'),\n\t idx = x.indexOf(eq),\n\t kstr,\n\t vstr,\n\t k,\n\t v;\n\t\n\t if (idx >= 0) {\n\t kstr = x.substr(0, idx);\n\t vstr = x.substr(idx + 1);\n\t } else {\n\t kstr = x;\n\t vstr = '';\n\t }\n\t\n\t k = decodeURIComponent(kstr);\n\t v = decodeURIComponent(vstr);\n\t\n\t if (!hasOwnProperty(obj, k)) {\n\t obj[k] = v;\n\t } else if (Array.isArray(obj[k])) {\n\t obj[k].push(v);\n\t } else {\n\t obj[k] = [obj[k], v];\n\t }\n\t }\n\t\n\t return obj;\n\t};\n\n/***/ },\n/* 24 */\n/***/ function(module, exports) {\n\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar stringifyPrimitive = function stringifyPrimitive(v) {\n\t switch (typeof v === 'undefined' ? 'undefined' : _typeof(v)) {\n\t case 'string':\n\t return v;\n\t\n\t case 'boolean':\n\t return v ? 'true' : 'false';\n\t\n\t case 'number':\n\t return isFinite(v) ? v : '';\n\t\n\t default:\n\t return '';\n\t }\n\t};\n\t\n\tmodule.exports = function (obj, sep, eq, name) {\n\t sep = sep || '&';\n\t eq = eq || '=';\n\t if (obj === null) {\n\t obj = undefined;\n\t }\n\t\n\t if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') {\n\t return Object.keys(obj).map(function (k) {\n\t var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n\t if (Array.isArray(obj[k])) {\n\t return obj[k].map(function (v) {\n\t return ks + encodeURIComponent(stringifyPrimitive(v));\n\t }).join(sep);\n\t } else {\n\t return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n\t }\n\t }).join(sep);\n\t }\n\t\n\t if (!name) return '';\n\t return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj));\n\t};\n\n/***/ },\n/* 25 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = function equal(a, b) {\n\t if (a === b) return true;\n\t\n\t var arrA = Array.isArray(a),\n\t arrB = Array.isArray(b),\n\t i;\n\t\n\t if (arrA && arrB) {\n\t if (a.length != b.length) return false;\n\t for (i = 0; i < a.length; i++) {\n\t if (!equal(a[i], b[i])) return false;\n\t }return true;\n\t }\n\t\n\t if (arrA != arrB) return false;\n\t\n\t if (a && b && (typeof a === 'undefined' ? 'undefined' : _typeof(a)) === 'object' && (typeof b === 'undefined' ? 'undefined' : _typeof(b)) === 'object') {\n\t var keys = Object.keys(a);\n\t if (keys.length !== Object.keys(b).length) return false;\n\t\n\t var dateA = a instanceof Date,\n\t dateB = b instanceof Date;\n\t if (dateA && dateB) return a.getTime() == b.getTime();\n\t if (dateA != dateB) return false;\n\t\n\t var regexpA = a instanceof RegExp,\n\t regexpB = b instanceof RegExp;\n\t if (regexpA && regexpB) return a.toString() == b.toString();\n\t if (regexpA != regexpB) return false;\n\t\n\t for (i = 0; i < keys.length; i++) {\n\t if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\t }for (i = 0; i < keys.length; i++) {\n\t if (!equal(a[keys[i]], b[keys[i]])) return false;\n\t }return true;\n\t }\n\t\n\t return false;\n\t};\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t copy: copy,\n\t checkDataType: checkDataType,\n\t checkDataTypes: checkDataTypes,\n\t coerceToTypes: coerceToTypes,\n\t toHash: toHash,\n\t getProperty: getProperty,\n\t escapeQuotes: escapeQuotes,\n\t equal: __webpack_require__(25),\n\t ucs2length: __webpack_require__(27),\n\t varOccurences: varOccurences,\n\t varReplace: varReplace,\n\t cleanUpCode: cleanUpCode,\n\t finalCleanUpCode: finalCleanUpCode,\n\t schemaHasRules: schemaHasRules,\n\t schemaHasRulesExcept: schemaHasRulesExcept,\n\t toQuotedString: toQuotedString,\n\t getPathExpr: getPathExpr,\n\t getPath: getPath,\n\t getData: getData,\n\t unescapeFragment: unescapeFragment,\n\t unescapeJsonPointer: unescapeJsonPointer,\n\t escapeFragment: escapeFragment,\n\t escapeJsonPointer: escapeJsonPointer\n\t};\n\t\n\tfunction copy(o, to) {\n\t to = to || {};\n\t for (var key in o) {\n\t to[key] = o[key];\n\t }return to;\n\t}\n\t\n\tfunction checkDataType(dataType, data, negate) {\n\t var EQUAL = negate ? ' !== ' : ' === ',\n\t AND = negate ? ' || ' : ' && ',\n\t OK = negate ? '!' : '',\n\t NOT = negate ? '' : '!';\n\t switch (dataType) {\n\t case 'null':\n\t return data + EQUAL + 'null';\n\t case 'array':\n\t return OK + 'Array.isArray(' + data + ')';\n\t case 'object':\n\t return '(' + OK + data + AND + 'typeof ' + data + EQUAL + '\"object\"' + AND + NOT + 'Array.isArray(' + data + '))';\n\t case 'integer':\n\t return '(typeof ' + data + EQUAL + '\"number\"' + AND + NOT + '(' + data + ' % 1)' + AND + data + EQUAL + data + ')';\n\t default:\n\t return 'typeof ' + data + EQUAL + '\"' + dataType + '\"';\n\t }\n\t}\n\t\n\tfunction checkDataTypes(dataTypes, data) {\n\t switch (dataTypes.length) {\n\t case 1:\n\t return checkDataType(dataTypes[0], data, true);\n\t default:\n\t var code = '';\n\t var types = toHash(dataTypes);\n\t if (types.array && types.object) {\n\t code = types.null ? '(' : '(!' + data + ' || ';\n\t code += 'typeof ' + data + ' !== \"object\")';\n\t delete types.null;\n\t delete types.array;\n\t delete types.object;\n\t }\n\t if (types.number) delete types.integer;\n\t for (var t in types) {\n\t code += (code ? ' && ' : '') + checkDataType(t, data, true);\n\t }return code;\n\t }\n\t}\n\t\n\tvar COERCE_TO_TYPES = toHash(['string', 'number', 'integer', 'boolean', 'null']);\n\tfunction coerceToTypes(optionCoerceTypes, dataTypes) {\n\t if (Array.isArray(dataTypes)) {\n\t var types = [];\n\t for (var i = 0; i < dataTypes.length; i++) {\n\t var t = dataTypes[i];\n\t if (COERCE_TO_TYPES[t]) types[types.length] = t;else if (optionCoerceTypes === 'array' && t === 'array') types[types.length] = t;\n\t }\n\t if (types.length) return types;\n\t } else if (COERCE_TO_TYPES[dataTypes]) {\n\t return [dataTypes];\n\t } else if (optionCoerceTypes === 'array' && dataTypes === 'array') {\n\t return ['array'];\n\t }\n\t}\n\t\n\tfunction toHash(arr) {\n\t var hash = {};\n\t for (var i = 0; i < arr.length; i++) {\n\t hash[arr[i]] = true;\n\t }return hash;\n\t}\n\t\n\tvar IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;\n\tvar SINGLE_QUOTE = /'|\\\\/g;\n\tfunction getProperty(key) {\n\t return typeof key == 'number' ? '[' + key + ']' : IDENTIFIER.test(key) ? '.' + key : \"['\" + escapeQuotes(key) + \"']\";\n\t}\n\t\n\tfunction escapeQuotes(str) {\n\t return str.replace(SINGLE_QUOTE, '\\\\$&').replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r').replace(/\\f/g, '\\\\f').replace(/\\t/g, '\\\\t');\n\t}\n\t\n\tfunction varOccurences(str, dataVar) {\n\t dataVar += '[^0-9]';\n\t var matches = str.match(new RegExp(dataVar, 'g'));\n\t return matches ? matches.length : 0;\n\t}\n\t\n\tfunction varReplace(str, dataVar, expr) {\n\t dataVar += '([^0-9])';\n\t expr = expr.replace(/\\$/g, '$$$$');\n\t return str.replace(new RegExp(dataVar, 'g'), expr + '$1');\n\t}\n\t\n\tvar EMPTY_ELSE = /else\\s*{\\s*}/g,\n\t EMPTY_IF_NO_ELSE = /if\\s*\\([^)]+\\)\\s*\\{\\s*\\}(?!\\s*else)/g,\n\t EMPTY_IF_WITH_ELSE = /if\\s*\\(([^)]+)\\)\\s*\\{\\s*\\}\\s*else(?!\\s*if)/g;\n\tfunction cleanUpCode(out) {\n\t return out.replace(EMPTY_ELSE, '').replace(EMPTY_IF_NO_ELSE, '').replace(EMPTY_IF_WITH_ELSE, 'if (!($1))');\n\t}\n\t\n\tvar ERRORS_REGEXP = /[^v.]errors/g,\n\t REMOVE_ERRORS = /var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,\n\t REMOVE_ERRORS_ASYNC = /var errors = 0;|var vErrors = null;/g,\n\t RETURN_VALID = 'return errors === 0;',\n\t RETURN_TRUE = 'validate.errors = null; return true;',\n\t RETURN_ASYNC = /if \\(errors === 0\\) return data;\\s*else throw new ValidationError\\(vErrors\\);/,\n\t RETURN_DATA_ASYNC = 'return data;',\n\t ROOTDATA_REGEXP = /[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,\n\t REMOVE_ROOTDATA = /if \\(rootData === undefined\\) rootData = data;/;\n\t\n\tfunction finalCleanUpCode(out, async) {\n\t var matches = out.match(ERRORS_REGEXP);\n\t if (matches && matches.length == 2) {\n\t out = async ? out.replace(REMOVE_ERRORS_ASYNC, '').replace(RETURN_ASYNC, RETURN_DATA_ASYNC) : out.replace(REMOVE_ERRORS, '').replace(RETURN_VALID, RETURN_TRUE);\n\t }\n\t\n\t matches = out.match(ROOTDATA_REGEXP);\n\t if (!matches || matches.length !== 3) return out;\n\t return out.replace(REMOVE_ROOTDATA, '');\n\t}\n\t\n\tfunction schemaHasRules(schema, rules) {\n\t if (typeof schema == 'boolean') return !schema;\n\t for (var key in schema) {\n\t if (rules[key]) return true;\n\t }\n\t}\n\t\n\tfunction schemaHasRulesExcept(schema, rules, exceptKeyword) {\n\t if (typeof schema == 'boolean') return !schema && exceptKeyword != 'not';\n\t for (var key in schema) {\n\t if (key != exceptKeyword && rules[key]) return true;\n\t }\n\t}\n\t\n\tfunction toQuotedString(str) {\n\t return '\\'' + escapeQuotes(str) + '\\'';\n\t}\n\t\n\tfunction getPathExpr(currentPath, expr, jsonPointers, isNumber) {\n\t var path = jsonPointers // false by default\n\t ? '\\'/\\' + ' + expr + (isNumber ? '' : '.replace(/~/g, \\'~0\\').replace(/\\\\//g, \\'~1\\')') : isNumber ? '\\'[\\' + ' + expr + ' + \\']\\'' : '\\'[\\\\\\'\\' + ' + expr + ' + \\'\\\\\\']\\'';\n\t return joinPaths(currentPath, path);\n\t}\n\t\n\tfunction getPath(currentPath, prop, jsonPointers) {\n\t var path = jsonPointers // false by default\n\t ? toQuotedString('/' + escapeJsonPointer(prop)) : toQuotedString(getProperty(prop));\n\t return joinPaths(currentPath, path);\n\t}\n\t\n\tvar JSON_POINTER = /^\\/(?:[^~]|~0|~1)*$/;\n\tvar RELATIVE_JSON_POINTER = /^([0-9]+)(#|\\/(?:[^~]|~0|~1)*)?$/;\n\tfunction getData($data, lvl, paths) {\n\t var up, jsonPointer, data, matches;\n\t if ($data === '') return 'rootData';\n\t if ($data[0] == '/') {\n\t if (!JSON_POINTER.test($data)) throw new Error('Invalid JSON-pointer: ' + $data);\n\t jsonPointer = $data;\n\t data = 'rootData';\n\t } else {\n\t matches = $data.match(RELATIVE_JSON_POINTER);\n\t if (!matches) throw new Error('Invalid JSON-pointer: ' + $data);\n\t up = +matches[1];\n\t jsonPointer = matches[2];\n\t if (jsonPointer == '#') {\n\t if (up >= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl);\n\t return paths[lvl - up];\n\t }\n\t\n\t if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl);\n\t data = 'data' + (lvl - up || '');\n\t if (!jsonPointer) return data;\n\t }\n\t\n\t var expr = data;\n\t var segments = jsonPointer.split('/');\n\t for (var i = 0; i < segments.length; i++) {\n\t var segment = segments[i];\n\t if (segment) {\n\t data += getProperty(unescapeJsonPointer(segment));\n\t expr += ' && ' + data;\n\t }\n\t }\n\t return expr;\n\t}\n\t\n\tfunction joinPaths(a, b) {\n\t if (a == '\"\"') return b;\n\t return (a + ' + ' + b).replace(/' \\+ '/g, '');\n\t}\n\t\n\tfunction unescapeFragment(str) {\n\t return unescapeJsonPointer(decodeURIComponent(str));\n\t}\n\t\n\tfunction escapeFragment(str) {\n\t return encodeURIComponent(escapeJsonPointer(str));\n\t}\n\t\n\tfunction escapeJsonPointer(str) {\n\t return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n\t}\n\t\n\tfunction unescapeJsonPointer(str) {\n\t return str.replace(/~1/g, '/').replace(/~0/g, '~');\n\t}\n\n/***/ },\n/* 27 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t// https://mathiasbynens.be/notes/javascript-encoding\n\t// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode\n\t\n\tmodule.exports = function ucs2length(str) {\n\t var length = 0,\n\t len = str.length,\n\t pos = 0,\n\t value;\n\t while (pos < len) {\n\t length++;\n\t value = str.charCodeAt(pos++);\n\t if (value >= 0xD800 && value <= 0xDBFF && pos < len) {\n\t // high surrogate, and there is a next character\n\t value = str.charCodeAt(pos);\n\t if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate\n\t }\n\t }\n\t return length;\n\t};\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar util = __webpack_require__(26);\n\t\n\tmodule.exports = SchemaObject;\n\t\n\tfunction SchemaObject(obj) {\n\t util.copy(obj, this);\n\t}\n\n/***/ },\n/* 29 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar traverse = module.exports = function (schema, opts, cb) {\n\t if (typeof opts == 'function') {\n\t cb = opts;\n\t opts = {};\n\t }\n\t _traverse(opts, cb, schema, '', schema);\n\t};\n\t\n\ttraverse.keywords = {\n\t additionalItems: true,\n\t items: true,\n\t contains: true,\n\t additionalProperties: true,\n\t propertyNames: true,\n\t not: true\n\t};\n\t\n\ttraverse.arrayKeywords = {\n\t items: true,\n\t allOf: true,\n\t anyOf: true,\n\t oneOf: true\n\t};\n\t\n\ttraverse.propsKeywords = {\n\t definitions: true,\n\t properties: true,\n\t patternProperties: true,\n\t dependencies: true\n\t};\n\t\n\ttraverse.skipKeywords = {\n\t enum: true,\n\t const: true,\n\t required: true,\n\t maximum: true,\n\t minimum: true,\n\t exclusiveMaximum: true,\n\t exclusiveMinimum: true,\n\t multipleOf: true,\n\t maxLength: true,\n\t minLength: true,\n\t pattern: true,\n\t format: true,\n\t maxItems: true,\n\t minItems: true,\n\t uniqueItems: true,\n\t maxProperties: true,\n\t minProperties: true\n\t};\n\t\n\tfunction _traverse(opts, cb, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n\t if (schema && (typeof schema === 'undefined' ? 'undefined' : _typeof(schema)) == 'object' && !Array.isArray(schema)) {\n\t cb(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n\t for (var key in schema) {\n\t var sch = schema[key];\n\t if (Array.isArray(sch)) {\n\t if (key in traverse.arrayKeywords) {\n\t for (var i = 0; i < sch.length; i++) {\n\t _traverse(opts, cb, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);\n\t }\n\t }\n\t } else if (key in traverse.propsKeywords) {\n\t if (sch && (typeof sch === 'undefined' ? 'undefined' : _typeof(sch)) == 'object') {\n\t for (var prop in sch) {\n\t _traverse(opts, cb, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n\t }\n\t }\n\t } else if (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) {\n\t _traverse(opts, cb, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);\n\t }\n\t }\n\t }\n\t}\n\t\n\tfunction escapeJsonPtr(str) {\n\t return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n\t}\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar resolve = __webpack_require__(17);\n\t\n\tmodule.exports = {\n\t Validation: errorSubclass(ValidationError),\n\t MissingRef: errorSubclass(MissingRefError)\n\t};\n\t\n\tfunction ValidationError(errors) {\n\t this.message = 'validation failed';\n\t this.errors = errors;\n\t this.ajv = this.validation = true;\n\t}\n\t\n\tMissingRefError.message = function (baseId, ref) {\n\t return 'can\\'t resolve reference ' + ref + ' from id ' + baseId;\n\t};\n\t\n\tfunction MissingRefError(baseId, ref, message) {\n\t this.message = message || MissingRefError.message(baseId, ref);\n\t this.missingRef = resolve.url(baseId, ref);\n\t this.missingSchema = resolve.normalizeId(resolve.fullPath(this.missingRef));\n\t}\n\t\n\tfunction errorSubclass(Subclass) {\n\t Subclass.prototype = Object.create(Error.prototype);\n\t Subclass.prototype.constructor = Subclass;\n\t return Subclass;\n\t}\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar json = typeof JSON !== 'undefined' ? JSON : __webpack_require__(32);\n\t\n\tmodule.exports = function (obj, opts) {\n\t if (!opts) opts = {};\n\t if (typeof opts === 'function') opts = { cmp: opts };\n\t var space = opts.space || '';\n\t if (typeof space === 'number') space = Array(space + 1).join(' ');\n\t var cycles = typeof opts.cycles === 'boolean' ? opts.cycles : false;\n\t var replacer = opts.replacer || function (key, value) {\n\t return value;\n\t };\n\t\n\t var cmp = opts.cmp && function (f) {\n\t return function (node) {\n\t return function (a, b) {\n\t var aobj = { key: a, value: node[a] };\n\t var bobj = { key: b, value: node[b] };\n\t return f(aobj, bobj);\n\t };\n\t };\n\t }(opts.cmp);\n\t\n\t var seen = [];\n\t return function stringify(parent, key, node, level) {\n\t var indent = space ? '\\n' + new Array(level + 1).join(space) : '';\n\t var colonSeparator = space ? ': ' : ':';\n\t\n\t if (node && node.toJSON && typeof node.toJSON === 'function') {\n\t node = node.toJSON();\n\t }\n\t\n\t node = replacer.call(parent, key, node);\n\t\n\t if (node === undefined) {\n\t return;\n\t }\n\t if ((typeof node === 'undefined' ? 'undefined' : _typeof(node)) !== 'object' || node === null) {\n\t return json.stringify(node);\n\t }\n\t if (isArray(node)) {\n\t var out = [];\n\t for (var i = 0; i < node.length; i++) {\n\t var item = stringify(node, i, node[i], level + 1) || json.stringify(null);\n\t out.push(indent + space + item);\n\t }\n\t return '[' + out.join(',') + indent + ']';\n\t } else {\n\t if (seen.indexOf(node) !== -1) {\n\t if (cycles) return json.stringify('__cycle__');\n\t throw new TypeError('Converting circular structure to JSON');\n\t } else seen.push(node);\n\t\n\t var keys = objectKeys(node).sort(cmp && cmp(node));\n\t var out = [];\n\t for (var i = 0; i < keys.length; i++) {\n\t var key = keys[i];\n\t var value = stringify(node, key, node[key], level + 1);\n\t\n\t if (!value) continue;\n\t\n\t var keyValue = json.stringify(key) + colonSeparator + value;\n\t ;\n\t out.push(indent + space + keyValue);\n\t }\n\t seen.splice(seen.indexOf(node), 1);\n\t return '{' + out.join(',') + indent + '}';\n\t }\n\t }({ '': obj }, '', obj, 0);\n\t};\n\t\n\tvar isArray = Array.isArray || function (x) {\n\t return {}.toString.call(x) === '[object Array]';\n\t};\n\t\n\tvar objectKeys = Object.keys || function (obj) {\n\t var has = Object.prototype.hasOwnProperty || function () {\n\t return true;\n\t };\n\t var keys = [];\n\t for (var key in obj) {\n\t if (has.call(obj, key)) keys.push(key);\n\t }\n\t return keys;\n\t};\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.parse = __webpack_require__(33);\n\texports.stringify = __webpack_require__(34);\n\n/***/ },\n/* 33 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar at,\n\t // The index of the current character\n\tch,\n\t // The current character\n\tescapee = {\n\t '\"': '\"',\n\t '\\\\': '\\\\',\n\t '/': '/',\n\t b: '\\b',\n\t f: '\\f',\n\t n: '\\n',\n\t r: '\\r',\n\t t: '\\t'\n\t},\n\t text,\n\t error = function error(m) {\n\t // Call error when something is wrong.\n\t throw {\n\t name: 'SyntaxError',\n\t message: m,\n\t at: at,\n\t text: text\n\t };\n\t},\n\t next = function next(c) {\n\t // If a c parameter is provided, verify that it matches the current character.\n\t if (c && c !== ch) {\n\t error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n\t }\n\t\n\t // Get the next character. When there are no more characters,\n\t // return the empty string.\n\t\n\t ch = text.charAt(at);\n\t at += 1;\n\t return ch;\n\t},\n\t number = function number() {\n\t // Parse a number value.\n\t var number,\n\t string = '';\n\t\n\t if (ch === '-') {\n\t string = '-';\n\t next('-');\n\t }\n\t while (ch >= '0' && ch <= '9') {\n\t string += ch;\n\t next();\n\t }\n\t if (ch === '.') {\n\t string += '.';\n\t while (next() && ch >= '0' && ch <= '9') {\n\t string += ch;\n\t }\n\t }\n\t if (ch === 'e' || ch === 'E') {\n\t string += ch;\n\t next();\n\t if (ch === '-' || ch === '+') {\n\t string += ch;\n\t next();\n\t }\n\t while (ch >= '0' && ch <= '9') {\n\t string += ch;\n\t next();\n\t }\n\t }\n\t number = +string;\n\t if (!isFinite(number)) {\n\t error(\"Bad number\");\n\t } else {\n\t return number;\n\t }\n\t},\n\t string = function string() {\n\t // Parse a string value.\n\t var hex,\n\t i,\n\t string = '',\n\t uffff;\n\t\n\t // When parsing for string values, we must look for \" and \\ characters.\n\t if (ch === '\"') {\n\t while (next()) {\n\t if (ch === '\"') {\n\t next();\n\t return string;\n\t } else if (ch === '\\\\') {\n\t next();\n\t if (ch === 'u') {\n\t uffff = 0;\n\t for (i = 0; i < 4; i += 1) {\n\t hex = parseInt(next(), 16);\n\t if (!isFinite(hex)) {\n\t break;\n\t }\n\t uffff = uffff * 16 + hex;\n\t }\n\t string += String.fromCharCode(uffff);\n\t } else if (typeof escapee[ch] === 'string') {\n\t string += escapee[ch];\n\t } else {\n\t break;\n\t }\n\t } else {\n\t string += ch;\n\t }\n\t }\n\t }\n\t error(\"Bad string\");\n\t},\n\t white = function white() {\n\t\n\t // Skip whitespace.\n\t\n\t while (ch && ch <= ' ') {\n\t next();\n\t }\n\t},\n\t word = function word() {\n\t\n\t // true, false, or null.\n\t\n\t switch (ch) {\n\t case 't':\n\t next('t');\n\t next('r');\n\t next('u');\n\t next('e');\n\t return true;\n\t case 'f':\n\t next('f');\n\t next('a');\n\t next('l');\n\t next('s');\n\t next('e');\n\t return false;\n\t case 'n':\n\t next('n');\n\t next('u');\n\t next('l');\n\t next('l');\n\t return null;\n\t }\n\t error(\"Unexpected '\" + ch + \"'\");\n\t},\n\t value,\n\t // Place holder for the value function.\n\t\n\tarray = function array() {\n\t\n\t // Parse an array value.\n\t\n\t var array = [];\n\t\n\t if (ch === '[') {\n\t next('[');\n\t white();\n\t if (ch === ']') {\n\t next(']');\n\t return array; // empty array\n\t }\n\t while (ch) {\n\t array.push(value());\n\t white();\n\t if (ch === ']') {\n\t next(']');\n\t return array;\n\t }\n\t next(',');\n\t white();\n\t }\n\t }\n\t error(\"Bad array\");\n\t},\n\t object = function object() {\n\t\n\t // Parse an object value.\n\t\n\t var key,\n\t object = {};\n\t\n\t if (ch === '{') {\n\t next('{');\n\t white();\n\t if (ch === '}') {\n\t next('}');\n\t return object; // empty object\n\t }\n\t while (ch) {\n\t key = string();\n\t white();\n\t next(':');\n\t if (Object.hasOwnProperty.call(object, key)) {\n\t error('Duplicate key \"' + key + '\"');\n\t }\n\t object[key] = value();\n\t white();\n\t if (ch === '}') {\n\t next('}');\n\t return object;\n\t }\n\t next(',');\n\t white();\n\t }\n\t }\n\t error(\"Bad object\");\n\t};\n\t\n\tvalue = function value() {\n\t\n\t // Parse a JSON value. It could be an object, an array, a string, a number,\n\t // or a word.\n\t\n\t white();\n\t switch (ch) {\n\t case '{':\n\t return object();\n\t case '[':\n\t return array();\n\t case '\"':\n\t return string();\n\t case '-':\n\t return number();\n\t default:\n\t return ch >= '0' && ch <= '9' ? number() : word();\n\t }\n\t};\n\t\n\t// Return the json_parse function. It will have access to all of the above\n\t// functions and variables.\n\t\n\tmodule.exports = function (source, reviver) {\n\t var result;\n\t\n\t text = source;\n\t at = 0;\n\t ch = ' ';\n\t result = value();\n\t white();\n\t if (ch) {\n\t error(\"Syntax error\");\n\t }\n\t\n\t // If there is a reviver function, we recursively walk the new structure,\n\t // passing each name/value pair to the reviver function for possible\n\t // transformation, starting with a temporary root object that holds the result\n\t // in an empty key. If there is not a reviver function, we simply return the\n\t // result.\n\t\n\t return typeof reviver === 'function' ? function walk(holder, key) {\n\t var k,\n\t v,\n\t value = holder[key];\n\t if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n\t for (k in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, k)) {\n\t v = walk(value, k);\n\t if (v !== undefined) {\n\t value[k] = v;\n\t } else {\n\t delete value[k];\n\t }\n\t }\n\t }\n\t }\n\t return reviver.call(holder, key, value);\n\t }({ '': result }, '') : result;\n\t};\n\n/***/ },\n/* 34 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n\t escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n\t gap,\n\t indent,\n\t meta = { // table of character substitutions\n\t '\\b': '\\\\b',\n\t '\\t': '\\\\t',\n\t '\\n': '\\\\n',\n\t '\\f': '\\\\f',\n\t '\\r': '\\\\r',\n\t '\"': '\\\\\"',\n\t '\\\\': '\\\\\\\\'\n\t},\n\t rep;\n\t\n\tfunction quote(string) {\n\t // If the string contains no control characters, no quote characters, and no\n\t // backslash characters, then we can safely slap some quotes around it.\n\t // Otherwise we must also replace the offending characters with safe escape\n\t // sequences.\n\t\n\t escapable.lastIndex = 0;\n\t return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n\t var c = meta[a];\n\t return typeof c === 'string' ? c : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n\t }) + '\"' : '\"' + string + '\"';\n\t}\n\t\n\tfunction str(key, holder) {\n\t // Produce a string from holder[key].\n\t var i,\n\t // The loop counter.\n\t k,\n\t // The member key.\n\t v,\n\t // The member value.\n\t length,\n\t mind = gap,\n\t partial,\n\t value = holder[key];\n\t\n\t // If the value has a toJSON method, call it to obtain a replacement value.\n\t if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.toJSON === 'function') {\n\t value = value.toJSON(key);\n\t }\n\t\n\t // If we were called with a replacer function, then call the replacer to\n\t // obtain a replacement value.\n\t if (typeof rep === 'function') {\n\t value = rep.call(holder, key, value);\n\t }\n\t\n\t // What happens next depends on the value's type.\n\t switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) {\n\t case 'string':\n\t return quote(value);\n\t\n\t case 'number':\n\t // JSON numbers must be finite. Encode non-finite numbers as null.\n\t return isFinite(value) ? String(value) : 'null';\n\t\n\t case 'boolean':\n\t case 'null':\n\t // If the value is a boolean or null, convert it to a string. Note:\n\t // typeof null does not produce 'null'. The case is included here in\n\t // the remote chance that this gets fixed someday.\n\t return String(value);\n\t\n\t case 'object':\n\t if (!value) return 'null';\n\t gap += indent;\n\t partial = [];\n\t\n\t // Array.isArray\n\t if (Object.prototype.toString.apply(value) === '[object Array]') {\n\t length = value.length;\n\t for (i = 0; i < length; i += 1) {\n\t partial[i] = str(i, value) || 'null';\n\t }\n\t\n\t // Join all of the elements together, separated with commas, and\n\t // wrap them in brackets.\n\t v = partial.length === 0 ? '[]' : gap ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' : '[' + partial.join(',') + ']';\n\t gap = mind;\n\t return v;\n\t }\n\t\n\t // If the replacer is an array, use it to select the members to be\n\t // stringified.\n\t if (rep && (typeof rep === 'undefined' ? 'undefined' : _typeof(rep)) === 'object') {\n\t length = rep.length;\n\t for (i = 0; i < length; i += 1) {\n\t k = rep[i];\n\t if (typeof k === 'string') {\n\t v = str(k, value);\n\t if (v) {\n\t partial.push(quote(k) + (gap ? ': ' : ':') + v);\n\t }\n\t }\n\t }\n\t } else {\n\t // Otherwise, iterate through all of the keys in the object.\n\t for (k in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, k)) {\n\t v = str(k, value);\n\t if (v) {\n\t partial.push(quote(k) + (gap ? ': ' : ':') + v);\n\t }\n\t }\n\t }\n\t }\n\t\n\t // Join all of the member texts together, separated with commas,\n\t // and wrap them in braces.\n\t\n\t v = partial.length === 0 ? '{}' : gap ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' : '{' + partial.join(',') + '}';\n\t gap = mind;\n\t return v;\n\t }\n\t}\n\t\n\tmodule.exports = function (value, replacer, space) {\n\t var i;\n\t gap = '';\n\t indent = '';\n\t\n\t // If the space parameter is a number, make an indent string containing that\n\t // many spaces.\n\t if (typeof space === 'number') {\n\t for (i = 0; i < space; i += 1) {\n\t indent += ' ';\n\t }\n\t }\n\t // If the space parameter is a string, it will be used as the indent string.\n\t else if (typeof space === 'string') {\n\t indent = space;\n\t }\n\t\n\t // If there is a replacer, it must be a function or an array.\n\t // Otherwise, throw an error.\n\t rep = replacer;\n\t if (replacer && typeof replacer !== 'function' && ((typeof replacer === 'undefined' ? 'undefined' : _typeof(replacer)) !== 'object' || typeof replacer.length !== 'number')) {\n\t throw new Error('JSON.stringify');\n\t }\n\t\n\t // Make a fake root object containing our value under the key of ''.\n\t // Return the result of stringifying the value.\n\t return str('', { '': value });\n\t};\n\n/***/ },\n/* 35 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_validate(it, $keyword, $ruleType) {\n\t var out = '';\n\t var $async = it.schema.$async === true,\n\t $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'),\n\t $id = it.self._getId(it.schema);\n\t if (it.isTop) {\n\t if ($async) {\n\t it.async = true;\n\t var $es7 = it.opts.async == 'es7';\n\t it.yieldAwait = $es7 ? 'await' : 'yield';\n\t }\n\t out += ' var validate = ';\n\t if ($async) {\n\t if ($es7) {\n\t out += ' (async function ';\n\t } else {\n\t if (it.opts.async != '*') {\n\t out += 'co.wrap';\n\t }\n\t out += '(function* ';\n\t }\n\t } else {\n\t out += ' (function ';\n\t }\n\t out += ' (data, dataPath, parentData, parentDataProperty, rootData) { \\'use strict\\'; ';\n\t if ($id && (it.opts.sourceCode || it.opts.processCode)) {\n\t out += ' ' + ('/\\*# sourceURL=' + $id + ' */') + ' ';\n\t }\n\t }\n\t if (typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref)) {\n\t var $keyword = 'false schema';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t if (it.schema === false) {\n\t if (it.isTop) {\n\t $breakOnError = true;\n\t } else {\n\t out += ' var ' + $valid + ' = false; ';\n\t }\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'false schema') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'boolean schema is false\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: false , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t } else {\n\t if (it.isTop) {\n\t if ($async) {\n\t out += ' return data; ';\n\t } else {\n\t out += ' validate.errors = null; return true; ';\n\t }\n\t } else {\n\t out += ' var ' + $valid + ' = true; ';\n\t }\n\t }\n\t if (it.isTop) {\n\t out += ' }); return validate; ';\n\t }\n\t return out;\n\t }\n\t if (it.isTop) {\n\t var $top = it.isTop,\n\t $lvl = it.level = 0,\n\t $dataLvl = it.dataLevel = 0,\n\t $data = 'data';\n\t it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema));\n\t it.baseId = it.baseId || it.rootId;\n\t delete it.isTop;\n\t it.dataPathArr = [undefined];\n\t out += ' var vErrors = null; ';\n\t out += ' var errors = 0; ';\n\t out += ' if (rootData === undefined) rootData = data; ';\n\t } else {\n\t var $lvl = it.level,\n\t $dataLvl = it.dataLevel,\n\t $data = 'data' + ($dataLvl || '');\n\t if ($id) it.baseId = it.resolve.url(it.baseId, $id);\n\t if ($async && !it.async) throw new Error('async schema in sync schema');\n\t out += ' var errs_' + $lvl + ' = errors;';\n\t }\n\t var $valid = 'valid' + $lvl,\n\t $breakOnError = !it.opts.allErrors,\n\t $closingBraces1 = '',\n\t $closingBraces2 = '';\n\t var $errorKeyword;\n\t var $typeSchema = it.schema.type,\n\t $typeIsArray = Array.isArray($typeSchema);\n\t if ($typeIsArray && $typeSchema.length == 1) {\n\t $typeSchema = $typeSchema[0];\n\t $typeIsArray = false;\n\t }\n\t if (it.schema.$ref && $refKeywords) {\n\t if (it.opts.extendRefs == 'fail') {\n\t throw new Error('$ref: validation keywords used in schema at path \"' + it.errSchemaPath + '\" (see option extendRefs)');\n\t } else if (it.opts.extendRefs !== true) {\n\t $refKeywords = false;\n\t console.warn('$ref: keywords ignored in schema at path \"' + it.errSchemaPath + '\"');\n\t }\n\t }\n\t if ($typeSchema) {\n\t if (it.opts.coerceTypes) {\n\t var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema);\n\t }\n\t var $rulesGroup = it.RULES.types[$typeSchema];\n\t if ($coerceToTypes || $typeIsArray || $rulesGroup === true || $rulesGroup && !$shouldUseGroup($rulesGroup)) {\n\t var $schemaPath = it.schemaPath + '.type',\n\t $errSchemaPath = it.errSchemaPath + '/type';\n\t var $schemaPath = it.schemaPath + '.type',\n\t $errSchemaPath = it.errSchemaPath + '/type',\n\t $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType';\n\t out += ' if (' + it.util[$method]($typeSchema, $data, true) + ') { ';\n\t if ($coerceToTypes) {\n\t var $dataType = 'dataType' + $lvl,\n\t $coerced = 'coerced' + $lvl;\n\t out += ' var ' + $dataType + ' = typeof ' + $data + '; ';\n\t if (it.opts.coerceTypes == 'array') {\n\t out += ' if (' + $dataType + ' == \\'object\\' && Array.isArray(' + $data + ')) ' + $dataType + ' = \\'array\\'; ';\n\t }\n\t out += ' var ' + $coerced + ' = undefined; ';\n\t var $bracesCoercion = '';\n\t var arr1 = $coerceToTypes;\n\t if (arr1) {\n\t var $type,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $type = arr1[$i += 1];\n\t if ($i) {\n\t out += ' if (' + $coerced + ' === undefined) { ';\n\t $bracesCoercion += '}';\n\t }\n\t if (it.opts.coerceTypes == 'array' && $type != 'array') {\n\t out += ' if (' + $dataType + ' == \\'array\\' && ' + $data + '.length == 1) { ' + $coerced + ' = ' + $data + ' = ' + $data + '[0]; ' + $dataType + ' = typeof ' + $data + '; } ';\n\t }\n\t if ($type == 'string') {\n\t out += ' if (' + $dataType + ' == \\'number\\' || ' + $dataType + ' == \\'boolean\\') ' + $coerced + ' = \\'\\' + ' + $data + '; else if (' + $data + ' === null) ' + $coerced + ' = \\'\\'; ';\n\t } else if ($type == 'number' || $type == 'integer') {\n\t out += ' if (' + $dataType + ' == \\'boolean\\' || ' + $data + ' === null || (' + $dataType + ' == \\'string\\' && ' + $data + ' && ' + $data + ' == +' + $data + ' ';\n\t if ($type == 'integer') {\n\t out += ' && !(' + $data + ' % 1)';\n\t }\n\t out += ')) ' + $coerced + ' = +' + $data + '; ';\n\t } else if ($type == 'boolean') {\n\t out += ' if (' + $data + ' === \\'false\\' || ' + $data + ' === 0 || ' + $data + ' === null) ' + $coerced + ' = false; else if (' + $data + ' === \\'true\\' || ' + $data + ' === 1) ' + $coerced + ' = true; ';\n\t } else if ($type == 'null') {\n\t out += ' if (' + $data + ' === \\'\\' || ' + $data + ' === 0 || ' + $data + ' === false) ' + $coerced + ' = null; ';\n\t } else if (it.opts.coerceTypes == 'array' && $type == 'array') {\n\t out += ' if (' + $dataType + ' == \\'string\\' || ' + $dataType + ' == \\'number\\' || ' + $dataType + ' == \\'boolean\\' || ' + $data + ' == null) ' + $coerced + ' = [' + $data + ']; ';\n\t }\n\t }\n\t }\n\t out += ' ' + $bracesCoercion + ' if (' + $coerced + ' === undefined) { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { type: \\'';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be ';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else { ';\n\t var $parentData = $dataLvl ? 'data' + ($dataLvl - 1 || '') : 'parentData',\n\t $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n\t out += ' ' + $data + ' = ' + $coerced + '; ';\n\t if (!$dataLvl) {\n\t out += 'if (' + $parentData + ' !== undefined)';\n\t }\n\t out += ' ' + $parentData + '[' + $parentDataProperty + '] = ' + $coerced + '; } ';\n\t } else {\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { type: \\'';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be ';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t }\n\t out += ' } ';\n\t }\n\t }\n\t if (it.schema.$ref && !$refKeywords) {\n\t out += ' ' + it.RULES.all.$ref.code(it, '$ref') + ' ';\n\t if ($breakOnError) {\n\t out += ' } if (errors === ';\n\t if ($top) {\n\t out += '0';\n\t } else {\n\t out += 'errs_' + $lvl;\n\t }\n\t out += ') { ';\n\t $closingBraces2 += '}';\n\t }\n\t } else {\n\t if (it.opts.v5 && it.schema.patternGroups) {\n\t console.warn('keyword \"patternGroups\" is deprecated and disabled. Use option patternGroups: true to enable.');\n\t }\n\t var arr2 = it.RULES;\n\t if (arr2) {\n\t var $rulesGroup,\n\t i2 = -1,\n\t l2 = arr2.length - 1;\n\t while (i2 < l2) {\n\t $rulesGroup = arr2[i2 += 1];\n\t if ($shouldUseGroup($rulesGroup)) {\n\t if ($rulesGroup.type) {\n\t out += ' if (' + it.util.checkDataType($rulesGroup.type, $data) + ') { ';\n\t }\n\t if (it.opts.useDefaults && !it.compositeRule) {\n\t if ($rulesGroup.type == 'object' && it.schema.properties) {\n\t var $schema = it.schema.properties,\n\t $schemaKeys = Object.keys($schema);\n\t var arr3 = $schemaKeys;\n\t if (arr3) {\n\t var $propertyKey,\n\t i3 = -1,\n\t l3 = arr3.length - 1;\n\t while (i3 < l3) {\n\t $propertyKey = arr3[i3 += 1];\n\t var $sch = $schema[$propertyKey];\n\t if ($sch.default !== undefined) {\n\t var $passData = $data + it.util.getProperty($propertyKey);\n\t out += ' if (' + $passData + ' === undefined) ' + $passData + ' = ';\n\t if (it.opts.useDefaults == 'shared') {\n\t out += ' ' + it.useDefault($sch.default) + ' ';\n\t } else {\n\t out += ' ' + JSON.stringify($sch.default) + ' ';\n\t }\n\t out += '; ';\n\t }\n\t }\n\t }\n\t } else if ($rulesGroup.type == 'array' && Array.isArray(it.schema.items)) {\n\t var arr4 = it.schema.items;\n\t if (arr4) {\n\t var $sch,\n\t $i = -1,\n\t l4 = arr4.length - 1;\n\t while ($i < l4) {\n\t $sch = arr4[$i += 1];\n\t if ($sch.default !== undefined) {\n\t var $passData = $data + '[' + $i + ']';\n\t out += ' if (' + $passData + ' === undefined) ' + $passData + ' = ';\n\t if (it.opts.useDefaults == 'shared') {\n\t out += ' ' + it.useDefault($sch.default) + ' ';\n\t } else {\n\t out += ' ' + JSON.stringify($sch.default) + ' ';\n\t }\n\t out += '; ';\n\t }\n\t }\n\t }\n\t }\n\t }\n\t var arr5 = $rulesGroup.rules;\n\t if (arr5) {\n\t var $rule,\n\t i5 = -1,\n\t l5 = arr5.length - 1;\n\t while (i5 < l5) {\n\t $rule = arr5[i5 += 1];\n\t if ($shouldUseRule($rule)) {\n\t var $code = $rule.code(it, $rule.keyword, $rulesGroup.type);\n\t if ($code) {\n\t out += ' ' + $code + ' ';\n\t if ($breakOnError) {\n\t $closingBraces1 += '}';\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces1 + ' ';\n\t $closingBraces1 = '';\n\t }\n\t if ($rulesGroup.type) {\n\t out += ' } ';\n\t if ($typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes) {\n\t out += ' else { ';\n\t var $schemaPath = it.schemaPath + '.type',\n\t $errSchemaPath = it.errSchemaPath + '/type';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { type: \\'';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be ';\n\t if ($typeIsArray) {\n\t out += '' + $typeSchema.join(\",\");\n\t } else {\n\t out += '' + $typeSchema;\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' if (errors === ';\n\t if ($top) {\n\t out += '0';\n\t } else {\n\t out += 'errs_' + $lvl;\n\t }\n\t out += ') { ';\n\t $closingBraces2 += '}';\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces2 + ' ';\n\t }\n\t if ($top) {\n\t if ($async) {\n\t out += ' if (errors === 0) return data; ';\n\t out += ' else throw new ValidationError(vErrors); ';\n\t } else {\n\t out += ' validate.errors = vErrors; ';\n\t out += ' return errors === 0; ';\n\t }\n\t out += ' }); return validate;';\n\t } else {\n\t out += ' var ' + $valid + ' = errors === errs_' + $lvl + ';';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t if ($top) {\n\t out = it.util.finalCleanUpCode(out, $async);\n\t }\n\t\n\t function $shouldUseGroup($rulesGroup) {\n\t var rules = $rulesGroup.rules;\n\t for (var i = 0; i < rules.length; i++) {\n\t if ($shouldUseRule(rules[i])) return true;\n\t }\n\t }\n\t\n\t function $shouldUseRule($rule) {\n\t return it.schema[$rule.keyword] !== undefined || $rule.implements && $ruleImlementsSomeKeyword($rule);\n\t }\n\t\n\t function $ruleImlementsSomeKeyword($rule) {\n\t var impl = $rule.implements;\n\t for (var i = 0; i < impl.length; i++) {\n\t if (it.schema[impl[i]] !== undefined) return true;\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 36 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * slice() reference.\n\t */\n\t\n\tvar slice = Array.prototype.slice;\n\t\n\t/**\n\t * Expose `co`.\n\t */\n\t\n\tmodule.exports = co['default'] = co.co = co;\n\t\n\t/**\n\t * Wrap the given generator `fn` into a\n\t * function that returns a promise.\n\t * This is a separate function so that\n\t * every `co()` call doesn't create a new,\n\t * unnecessary closure.\n\t *\n\t * @param {GeneratorFunction} fn\n\t * @return {Function}\n\t * @api public\n\t */\n\t\n\tco.wrap = function (fn) {\n\t createPromise.__generatorFunction__ = fn;\n\t return createPromise;\n\t function createPromise() {\n\t return co.call(this, fn.apply(this, arguments));\n\t }\n\t};\n\t\n\t/**\n\t * Execute the generator function or a generator\n\t * and return a promise.\n\t *\n\t * @param {Function} fn\n\t * @return {Promise}\n\t * @api public\n\t */\n\t\n\tfunction co(gen) {\n\t var ctx = this;\n\t var args = slice.call(arguments, 1);\n\t\n\t // we wrap everything in a promise to avoid promise chaining,\n\t // which leads to memory leak errors.\n\t // see https://github.com/tj/co/issues/180\n\t return new Promise(function (resolve, reject) {\n\t if (typeof gen === 'function') gen = gen.apply(ctx, args);\n\t if (!gen || typeof gen.next !== 'function') return resolve(gen);\n\t\n\t onFulfilled();\n\t\n\t /**\n\t * @param {Mixed} res\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\t function onFulfilled(res) {\n\t var ret;\n\t try {\n\t ret = gen.next(res);\n\t } catch (e) {\n\t return reject(e);\n\t }\n\t next(ret);\n\t }\n\t\n\t /**\n\t * @param {Error} err\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\t function onRejected(err) {\n\t var ret;\n\t try {\n\t ret = gen.throw(err);\n\t } catch (e) {\n\t return reject(e);\n\t }\n\t next(ret);\n\t }\n\t\n\t /**\n\t * Get the next value in the generator,\n\t * return a promise.\n\t *\n\t * @param {Object} ret\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\t function next(ret) {\n\t if (ret.done) return resolve(ret.value);\n\t var value = toPromise.call(ctx, ret.value);\n\t if (value && isPromise(value)) return value.then(onFulfilled, onRejected);\n\t return onRejected(new TypeError('You may only yield a function, promise, generator, array, or object, ' + 'but the following object was passed: \"' + String(ret.value) + '\"'));\n\t }\n\t });\n\t}\n\t\n\t/**\n\t * Convert a `yield`ed value into a promise.\n\t *\n\t * @param {Mixed} obj\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\tfunction toPromise(obj) {\n\t if (!obj) return obj;\n\t if (isPromise(obj)) return obj;\n\t if (isGeneratorFunction(obj) || isGenerator(obj)) return co.call(this, obj);\n\t if ('function' == typeof obj) return thunkToPromise.call(this, obj);\n\t if (Array.isArray(obj)) return arrayToPromise.call(this, obj);\n\t if (isObject(obj)) return objectToPromise.call(this, obj);\n\t return obj;\n\t}\n\t\n\t/**\n\t * Convert a thunk to a promise.\n\t *\n\t * @param {Function}\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\tfunction thunkToPromise(fn) {\n\t var ctx = this;\n\t return new Promise(function (resolve, reject) {\n\t fn.call(ctx, function (err, res) {\n\t if (err) return reject(err);\n\t if (arguments.length > 2) res = slice.call(arguments, 1);\n\t resolve(res);\n\t });\n\t });\n\t}\n\t\n\t/**\n\t * Convert an array of \"yieldables\" to a promise.\n\t * Uses `Promise.all()` internally.\n\t *\n\t * @param {Array} obj\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\tfunction arrayToPromise(obj) {\n\t return Promise.all(obj.map(toPromise, this));\n\t}\n\t\n\t/**\n\t * Convert an object of \"yieldables\" to a promise.\n\t * Uses `Promise.all()` internally.\n\t *\n\t * @param {Object} obj\n\t * @return {Promise}\n\t * @api private\n\t */\n\t\n\tfunction objectToPromise(obj) {\n\t var results = new obj.constructor();\n\t var keys = Object.keys(obj);\n\t var promises = [];\n\t for (var i = 0; i < keys.length; i++) {\n\t var key = keys[i];\n\t var promise = toPromise.call(this, obj[key]);\n\t if (promise && isPromise(promise)) defer(promise, key);else results[key] = obj[key];\n\t }\n\t return Promise.all(promises).then(function () {\n\t return results;\n\t });\n\t\n\t function defer(promise, key) {\n\t // predefine the key in the result\n\t results[key] = undefined;\n\t promises.push(promise.then(function (res) {\n\t results[key] = res;\n\t }));\n\t }\n\t}\n\t\n\t/**\n\t * Check if `obj` is a promise.\n\t *\n\t * @param {Object} obj\n\t * @return {Boolean}\n\t * @api private\n\t */\n\t\n\tfunction isPromise(obj) {\n\t return 'function' == typeof obj.then;\n\t}\n\t\n\t/**\n\t * Check if `obj` is a generator.\n\t *\n\t * @param {Mixed} obj\n\t * @return {Boolean}\n\t * @api private\n\t */\n\t\n\tfunction isGenerator(obj) {\n\t return 'function' == typeof obj.next && 'function' == typeof obj.throw;\n\t}\n\t\n\t/**\n\t * Check if `obj` is a generator function.\n\t *\n\t * @param {Mixed} obj\n\t * @return {Boolean}\n\t * @api private\n\t */\n\tfunction isGeneratorFunction(obj) {\n\t var constructor = obj.constructor;\n\t if (!constructor) return false;\n\t if ('GeneratorFunction' === constructor.name || 'GeneratorFunction' === constructor.displayName) return true;\n\t return isGenerator(constructor.prototype);\n\t}\n\t\n\t/**\n\t * Check for plain object.\n\t *\n\t * @param {Mixed} val\n\t * @return {Boolean}\n\t * @api private\n\t */\n\t\n\tfunction isObject(val) {\n\t return Object == val.constructor;\n\t}\n\n/***/ },\n/* 37 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar Cache = module.exports = function Cache() {\n\t this._cache = {};\n\t};\n\t\n\tCache.prototype.put = function Cache_put(key, value) {\n\t this._cache[key] = value;\n\t};\n\t\n\tCache.prototype.get = function Cache_get(key) {\n\t return this._cache[key];\n\t};\n\t\n\tCache.prototype.del = function Cache_del(key) {\n\t delete this._cache[key];\n\t};\n\t\n\tCache.prototype.clear = function Cache_clear() {\n\t this._cache = {};\n\t};\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar util = __webpack_require__(26);\n\t\n\tvar DATE = /^\\d\\d\\d\\d-(\\d\\d)-(\\d\\d)$/;\n\tvar DAYS = [0, 31, 29, 31, 30, 31, 30,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z0-9\\-._~!$&'\"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\n\t// uri-template: https://tools.ietf.org/html/rfc6570\n\tvar URITEMPLATE = /^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i;\n\t// For the source: https://gist.github.com/dperini/729294\n\t// For test cases: https://mathiasbynens.be/demo/url-regex\n\t// @todo Delete current URL in favour of the commented out URL rule when this issue is fixed https://github.com/eslint/eslint/issues/7983.\n\t// var URL = /^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu;\n\tvar URL = /^(?:(?:http[s\\u017F]?|ftp):\\/\\/)(?:(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+(?::(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?@)?(?:(?!10(?:\\.[0-9]{1,3}){3})(?!127(?:\\.[0-9]{1,3}){3})(?!169\\.254(?:\\.[0-9]{1,3}){2})(?!192\\.168(?:\\.[0-9]{1,3}){2})(?!172\\.(?:1[6-9]|2[0-9]|3[01])(?:\\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-?)*(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)(?:\\.(?:(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-?)*(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)*(?:\\.(?:(?:[KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\\/(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?$/i;\n\tvar UUID = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;\n\tvar JSON_POINTER = /^(?:\\/(?:[^~/]|~0|~1)*)*$|^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;\n\tvar RELATIVE_JSON_POINTER = /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/;\n\t\n\tmodule.exports = formats;\n\t\n\tfunction formats(mode) {\n\t mode = mode == 'full' ? 'full' : 'fast';\n\t return util.copy(formats[mode]);\n\t}\n\t\n\tformats.fast = {\n\t // date: http://tools.ietf.org/html/rfc3339#section-5.6\n\t date: /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/,\n\t // date-time: http://tools.ietf.org/html/rfc3339#section-5.6\n\t time: /^[0-2]\\d:[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:z|[+-]\\d\\d:\\d\\d)?$/i,\n\t 'date-time': /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s][0-2]\\d:[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:z|[+-]\\d\\d:\\d\\d)$/i,\n\t // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js\n\t uri: /^(?:[a-z][a-z0-9+-.]*)(?::|\\/)\\/?[^\\s]*$/i,\n\t 'uri-reference': /^(?:(?:[a-z][a-z0-9+-.]*:)?\\/\\/)?[^\\s]*$/i,\n\t 'uri-template': URITEMPLATE,\n\t url: URL,\n\t // email (sources from jsen validator):\n\t // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363\n\t // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'willful violation')\n\t email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,\n\t hostname: HOSTNAME,\n\t // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html\n\t ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n\t // optimized http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses\n\t ipv6: /^\\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n\t regex: regex,\n\t // uuid: http://tools.ietf.org/html/rfc4122\n\t uuid: UUID,\n\t // JSON-pointer: https://tools.ietf.org/html/rfc6901\n\t // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A\n\t 'json-pointer': JSON_POINTER,\n\t // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00\n\t 'relative-json-pointer': RELATIVE_JSON_POINTER\n\t};\n\t\n\tformats.full = {\n\t date: date,\n\t time: time,\n\t 'date-time': date_time,\n\t uri: uri,\n\t 'uri-reference': URIREF,\n\t 'uri-template': URITEMPLATE,\n\t url: URL,\n\t email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&''*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n\t hostname: hostname,\n\t ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n\t ipv6: /^\\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n\t regex: regex,\n\t uuid: UUID,\n\t 'json-pointer': JSON_POINTER,\n\t 'relative-json-pointer': RELATIVE_JSON_POINTER\n\t};\n\t\n\tfunction date(str) {\n\t // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n\t var matches = str.match(DATE);\n\t if (!matches) return false;\n\t\n\t var month = +matches[1];\n\t var day = +matches[2];\n\t return month >= 1 && month <= 12 && day >= 1 && day <= DAYS[month];\n\t}\n\t\n\tfunction time(str, full) {\n\t var matches = str.match(TIME);\n\t if (!matches) return false;\n\t\n\t var hour = matches[1];\n\t var minute = matches[2];\n\t var second = matches[3];\n\t var timeZone = matches[5];\n\t return hour <= 23 && minute <= 59 && second <= 59 && (!full || timeZone);\n\t}\n\t\n\tvar DATE_TIME_SEPARATOR = /t|\\s/i;\n\tfunction date_time(str) {\n\t // http://tools.ietf.org/html/rfc3339#section-5.6\n\t var dateTime = str.split(DATE_TIME_SEPARATOR);\n\t return dateTime.length == 2 && date(dateTime[0]) && time(dateTime[1], true);\n\t}\n\t\n\tfunction hostname(str) {\n\t // https://tools.ietf.org/html/rfc1034#section-3.5\n\t // https://tools.ietf.org/html/rfc1123#section-2\n\t return str.length <= 255 && HOSTNAME.test(str);\n\t}\n\t\n\tvar NOT_URI_FRAGMENT = /\\/|:/;\n\tfunction uri(str) {\n\t // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required \".\"\n\t return NOT_URI_FRAGMENT.test(str) && URI.test(str);\n\t}\n\t\n\tvar Z_ANCHOR = /[^\\\\]\\\\Z/;\n\tfunction regex(str) {\n\t if (Z_ANCHOR.test(str)) return false;\n\t try {\n\t new RegExp(str);\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t}\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar ruleModules = __webpack_require__(40),\n\t toHash = __webpack_require__(26).toHash;\n\t\n\tmodule.exports = function rules() {\n\t var RULES = [{ type: 'number',\n\t rules: [{ 'maximum': ['exclusiveMaximum'] }, { 'minimum': ['exclusiveMinimum'] }, 'multipleOf', 'format'] }, { type: 'string',\n\t rules: ['maxLength', 'minLength', 'pattern', 'format'] }, { type: 'array',\n\t rules: ['maxItems', 'minItems', 'uniqueItems', 'contains', 'items'] }, { type: 'object',\n\t rules: ['maxProperties', 'minProperties', 'required', 'dependencies', 'propertyNames', { 'properties': ['additionalProperties', 'patternProperties'] }] }, { rules: ['$ref', 'const', 'enum', 'not', 'anyOf', 'oneOf', 'allOf'] }];\n\t\n\t var ALL = ['type'];\n\t var KEYWORDS = ['additionalItems', '$schema', 'id', 'title', 'description', 'default', 'definitions'];\n\t var TYPES = ['number', 'integer', 'string', 'array', 'object', 'boolean', 'null'];\n\t RULES.all = toHash(ALL);\n\t RULES.types = toHash(TYPES);\n\t\n\t RULES.forEach(function (group) {\n\t group.rules = group.rules.map(function (keyword) {\n\t var implKeywords;\n\t if ((typeof keyword === 'undefined' ? 'undefined' : _typeof(keyword)) == 'object') {\n\t var key = Object.keys(keyword)[0];\n\t implKeywords = keyword[key];\n\t keyword = key;\n\t implKeywords.forEach(function (k) {\n\t ALL.push(k);\n\t RULES.all[k] = true;\n\t });\n\t }\n\t ALL.push(keyword);\n\t var rule = RULES.all[keyword] = {\n\t keyword: keyword,\n\t code: ruleModules[keyword],\n\t implements: implKeywords\n\t };\n\t return rule;\n\t });\n\t\n\t if (group.type) RULES.types[group.type] = group;\n\t });\n\t\n\t RULES.keywords = toHash(ALL.concat(KEYWORDS));\n\t RULES.custom = {};\n\t\n\t return RULES;\n\t};\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t//all requires must be explicit because browserify won't work with dynamic requires\n\t\n\tmodule.exports = {\n\t '$ref': __webpack_require__(41),\n\t allOf: __webpack_require__(42),\n\t anyOf: __webpack_require__(43),\n\t const: __webpack_require__(44),\n\t contains: __webpack_require__(45),\n\t dependencies: __webpack_require__(46),\n\t 'enum': __webpack_require__(47),\n\t format: __webpack_require__(48),\n\t items: __webpack_require__(49),\n\t maximum: __webpack_require__(50),\n\t minimum: __webpack_require__(50),\n\t maxItems: __webpack_require__(51),\n\t minItems: __webpack_require__(51),\n\t maxLength: __webpack_require__(52),\n\t minLength: __webpack_require__(52),\n\t maxProperties: __webpack_require__(53),\n\t minProperties: __webpack_require__(53),\n\t multipleOf: __webpack_require__(54),\n\t not: __webpack_require__(55),\n\t oneOf: __webpack_require__(56),\n\t pattern: __webpack_require__(57),\n\t properties: __webpack_require__(58),\n\t propertyNames: __webpack_require__(59),\n\t required: __webpack_require__(60),\n\t uniqueItems: __webpack_require__(61),\n\t validate: __webpack_require__(35)\n\t};\n\n/***/ },\n/* 41 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_ref(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $async, $refCode;\n\t if ($schema == '#' || $schema == '#/') {\n\t if (it.isRoot) {\n\t $async = it.async;\n\t $refCode = 'validate';\n\t } else {\n\t $async = it.root.schema.$async === true;\n\t $refCode = 'root.refVal[0]';\n\t }\n\t } else {\n\t var $refVal = it.resolveRef(it.baseId, $schema, it.isRoot);\n\t if ($refVal === undefined) {\n\t var $message = it.MissingRefError.message(it.baseId, $schema);\n\t if (it.opts.missingRefs == 'fail') {\n\t console.error($message);\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + '$ref' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { ref: \\'' + it.util.escapeQuotes($schema) + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'can\\\\\\'t resolve reference ' + it.util.escapeQuotes($schema) + '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ' + it.util.toQuotedString($schema) + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (false) { ';\n\t }\n\t } else if (it.opts.missingRefs == 'ignore') {\n\t console.warn($message);\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t } else {\n\t throw new it.MissingRefError(it.baseId, $schema, $message);\n\t }\n\t } else if ($refVal.inline) {\n\t var $it = it.util.copy(it);\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t $it.schema = $refVal.schema;\n\t $it.schemaPath = '';\n\t $it.errSchemaPath = $schema;\n\t var $code = it.validate($it).replace(/validate\\.schema/g, $refVal.code);\n\t out += ' ' + $code + ' ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t }\n\t } else {\n\t $async = $refVal.$async === true;\n\t $refCode = $refVal.code;\n\t }\n\t }\n\t if ($refCode) {\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = '';\n\t if (it.opts.passContext) {\n\t out += ' ' + $refCode + '.call(this, ';\n\t } else {\n\t out += ' ' + $refCode + '( ';\n\t }\n\t out += ' ' + $data + ', (dataPath || \\'\\')';\n\t if (it.errorPath != '\"\"') {\n\t out += ' + ' + it.errorPath;\n\t }\n\t var $parentData = $dataLvl ? 'data' + ($dataLvl - 1 || '') : 'parentData',\n\t $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n\t out += ' , ' + $parentData + ' , ' + $parentDataProperty + ', rootData) ';\n\t var __callValidate = out;\n\t out = $$outStack.pop();\n\t if ($async) {\n\t if (!it.async) throw new Error('async schema referenced by sync schema');\n\t if ($breakOnError) {\n\t out += ' var ' + $valid + '; ';\n\t }\n\t out += ' try { ' + it.yieldAwait + ' ' + __callValidate + '; ';\n\t if ($breakOnError) {\n\t out += ' ' + $valid + ' = true; ';\n\t }\n\t out += ' } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ';\n\t if ($breakOnError) {\n\t out += ' ' + $valid + ' = false; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $valid + ') { ';\n\t }\n\t } else {\n\t out += ' if (!' + __callValidate + ') { if (vErrors === null) vErrors = ' + $refCode + '.errors; else vErrors = vErrors.concat(' + $refCode + '.errors); errors = vErrors.length; } ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 42 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_allOf(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $currentBaseId = $it.baseId,\n\t $allSchemasEmpty = true;\n\t var arr1 = $schema;\n\t if (arr1) {\n\t var $sch,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $sch = arr1[$i += 1];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t $allSchemasEmpty = false;\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + '[' + $i + ']';\n\t $it.errSchemaPath = $errSchemaPath + '/' + $i;\n\t out += ' ' + it.validate($it) + ' ';\n\t $it.baseId = $currentBaseId;\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t }\n\t if ($breakOnError) {\n\t if ($allSchemasEmpty) {\n\t out += ' if (true) { ';\n\t } else {\n\t out += ' ' + $closingBraces.slice(0, -1) + ' ';\n\t }\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 43 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_anyOf(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $noEmptySchema = $schema.every(function ($sch) {\n\t return it.util.schemaHasRules($sch, it.RULES.all);\n\t });\n\t if ($noEmptySchema) {\n\t var $currentBaseId = $it.baseId;\n\t out += ' var ' + $errs + ' = errors; var ' + $valid + ' = false; ';\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t var arr1 = $schema;\n\t if (arr1) {\n\t var $sch,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $sch = arr1[$i += 1];\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + '[' + $i + ']';\n\t $it.errSchemaPath = $errSchemaPath + '/' + $i;\n\t out += ' ' + it.validate($it) + ' ';\n\t $it.baseId = $currentBaseId;\n\t out += ' ' + $valid + ' = ' + $valid + ' || ' + $nextValid + '; if (!' + $valid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += ' ' + $closingBraces + ' if (!' + $valid + ') { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'anyOf' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should match some schema in anyOf\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError(vErrors); ';\n\t } else {\n\t out += ' validate.errors = vErrors; return false; ';\n\t }\n\t }\n\t out += ' } else { errors = ' + $errs + '; if (vErrors !== null) { if (' + $errs + ') vErrors.length = ' + $errs + '; else vErrors = null; } ';\n\t if (it.opts.allErrors) {\n\t out += ' } ';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t } else {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 44 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_const(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t if (!$isData) {\n\t out += ' var schema' + $lvl + ' = validate.schema' + $schemaPath + ';';\n\t }\n\t out += 'var ' + $valid + ' = equal(' + $data + ', schema' + $lvl + '); if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'const' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be equal to constant\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' }';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 45 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_contains(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $idx = 'i' + $lvl,\n\t $dataNxt = $it.dataLevel = it.dataLevel + 1,\n\t $nextData = 'data' + $dataNxt,\n\t $currentBaseId = it.baseId,\n\t $nonEmptySchema = it.util.schemaHasRules($schema, it.RULES.all);\n\t out += 'var ' + $errs + ' = errors;var ' + $valid + ';';\n\t if ($nonEmptySchema) {\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t $it.schema = $schema;\n\t $it.schemaPath = $schemaPath;\n\t $it.errSchemaPath = $errSchemaPath;\n\t out += ' var ' + $nextValid + ' = false; for (var ' + $idx + ' = 0; ' + $idx + ' < ' + $data + '.length; ' + $idx + '++) { ';\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n\t var $passData = $data + '[' + $idx + ']';\n\t $it.dataPathArr[$dataNxt] = $idx;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t out += ' if (' + $nextValid + ') break; } ';\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += ' ' + $closingBraces + ' if (!' + $nextValid + ') {';\n\t } else {\n\t out += ' if (' + $data + '.length == 0) {';\n\t }\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'contains' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should contain a valid item\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else { ';\n\t if ($nonEmptySchema) {\n\t out += ' errors = ' + $errs + '; if (vErrors !== null) { if (' + $errs + ') vErrors.length = ' + $errs + '; else vErrors = null; } ';\n\t }\n\t if (it.opts.allErrors) {\n\t out += ' } ';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 46 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_dependencies(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $schemaDeps = {},\n\t $propertyDeps = {},\n\t $ownProperties = it.opts.ownProperties;\n\t for ($property in $schema) {\n\t var $sch = $schema[$property];\n\t var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;\n\t $deps[$property] = $sch;\n\t }\n\t out += 'var ' + $errs + ' = errors;';\n\t var $currentErrorPath = it.errorPath;\n\t out += 'var missing' + $lvl + ';';\n\t for (var $property in $propertyDeps) {\n\t $deps = $propertyDeps[$property];\n\t if ($deps.length) {\n\t out += ' if ( ' + $data + it.util.getProperty($property) + ' !== undefined ';\n\t if ($ownProperties) {\n\t out += ' && Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($property) + '\\') ';\n\t }\n\t if ($breakOnError) {\n\t out += ' && ( ';\n\t var arr1 = $deps;\n\t if (arr1) {\n\t var $propertyKey,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $propertyKey = arr1[$i += 1];\n\t if ($i) {\n\t out += ' || ';\n\t }\n\t var $prop = it.util.getProperty($propertyKey),\n\t $useData = $data + $prop;\n\t out += ' ( ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') && (missing' + $lvl + ' = ' + it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop) + ') ) ';\n\t }\n\t }\n\t out += ')) { ';\n\t var $propertyPath = 'missing' + $lvl,\n\t $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n\t }\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'dependencies' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { property: \\'' + it.util.escapeQuotes($property) + '\\', missingProperty: \\'' + $missingProperty + '\\', depsCount: ' + $deps.length + ', deps: \\'' + it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \")) + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should have ';\n\t if ($deps.length == 1) {\n\t out += 'property ' + it.util.escapeQuotes($deps[0]);\n\t } else {\n\t out += 'properties ' + it.util.escapeQuotes($deps.join(\", \"));\n\t }\n\t out += ' when property ' + it.util.escapeQuotes($property) + ' is present\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t } else {\n\t out += ' ) { ';\n\t var arr2 = $deps;\n\t if (arr2) {\n\t var $propertyKey,\n\t i2 = -1,\n\t l2 = arr2.length - 1;\n\t while (i2 < l2) {\n\t $propertyKey = arr2[i2 += 1];\n\t var $prop = it.util.getProperty($propertyKey),\n\t $missingProperty = it.util.escapeQuotes($propertyKey),\n\t $useData = $data + $prop;\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n\t }\n\t out += ' if ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'dependencies' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { property: \\'' + it.util.escapeQuotes($property) + '\\', missingProperty: \\'' + $missingProperty + '\\', depsCount: ' + $deps.length + ', deps: \\'' + it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \")) + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should have ';\n\t if ($deps.length == 1) {\n\t out += 'property ' + it.util.escapeQuotes($deps[0]);\n\t } else {\n\t out += 'properties ' + it.util.escapeQuotes($deps.join(\", \"));\n\t }\n\t out += ' when property ' + it.util.escapeQuotes($property) + ' is present\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n\t }\n\t }\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t $closingBraces += '}';\n\t out += ' else { ';\n\t }\n\t }\n\t }\n\t it.errorPath = $currentErrorPath;\n\t var $currentBaseId = $it.baseId;\n\t for (var $property in $schemaDeps) {\n\t var $sch = $schemaDeps[$property];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t out += ' ' + $nextValid + ' = true; if ( ' + $data + it.util.getProperty($property) + ' !== undefined ';\n\t if ($ownProperties) {\n\t out += ' && Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($property) + '\\') ';\n\t }\n\t out += ') { ';\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + it.util.getProperty($property);\n\t $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);\n\t out += ' ' + it.validate($it) + ' ';\n\t $it.baseId = $currentBaseId;\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces + ' if (' + $errs + ' == errors) {';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 47 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_enum(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $i = 'i' + $lvl,\n\t $vSchema = 'schema' + $lvl;\n\t if (!$isData) {\n\t out += ' var ' + $vSchema + ' = validate.schema' + $schemaPath + ';';\n\t }\n\t out += 'var ' + $valid + ';';\n\t if ($isData) {\n\t out += ' if (schema' + $lvl + ' === undefined) ' + $valid + ' = true; else if (!Array.isArray(schema' + $lvl + ')) ' + $valid + ' = false; else {';\n\t }\n\t out += '' + $valid + ' = false;for (var ' + $i + '=0; ' + $i + '<' + $vSchema + '.length; ' + $i + '++) if (equal(' + $data + ', ' + $vSchema + '[' + $i + '])) { ' + $valid + ' = true; break; }';\n\t if ($isData) {\n\t out += ' } ';\n\t }\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'enum' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { allowedValues: schema' + $lvl + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be equal to one of the allowed values\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' }';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 48 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = function generate_format(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t if (it.opts.format === false) {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t return out;\n\t }\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $unknownFormats = it.opts.unknownFormats,\n\t $allowUnknown = Array.isArray($unknownFormats);\n\t if ($isData) {\n\t var $format = 'format' + $lvl,\n\t $isObject = 'isObject' + $lvl,\n\t $formatType = 'formatType' + $lvl;\n\t out += ' var ' + $format + ' = formats[' + $schemaValue + ']; var ' + $isObject + ' = typeof ' + $format + ' == \\'object\\' && !(' + $format + ' instanceof RegExp) && ' + $format + '.validate; var ' + $formatType + ' = ' + $isObject + ' && ' + $format + '.type || \\'string\\'; if (' + $isObject + ') { ';\n\t if (it.async) {\n\t out += ' var async' + $lvl + ' = ' + $format + '.async; ';\n\t }\n\t out += ' ' + $format + ' = ' + $format + '.validate; } if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'string\\') || ';\n\t }\n\t out += ' (';\n\t if ($unknownFormats != 'ignore') {\n\t out += ' (' + $schemaValue + ' && !' + $format + ' ';\n\t if ($allowUnknown) {\n\t out += ' && self._opts.unknownFormats.indexOf(' + $schemaValue + ') == -1 ';\n\t }\n\t out += ') || ';\n\t }\n\t out += ' (' + $format + ' && ' + $formatType + ' == \\'' + $ruleType + '\\' && !(typeof ' + $format + ' == \\'function\\' ? ';\n\t if (it.async) {\n\t out += ' (async' + $lvl + ' ? ' + it.yieldAwait + ' ' + $format + '(' + $data + ') : ' + $format + '(' + $data + ')) ';\n\t } else {\n\t out += ' ' + $format + '(' + $data + ') ';\n\t }\n\t out += ' : ' + $format + '.test(' + $data + '))))) {';\n\t } else {\n\t var $format = it.formats[$schema];\n\t if (!$format) {\n\t if ($unknownFormats == 'ignore') {\n\t console.warn('unknown format \"' + $schema + '\" ignored in schema at path \"' + it.errSchemaPath + '\"');\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t return out;\n\t } else if ($allowUnknown && $unknownFormats.indexOf($schema) >= 0) {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t return out;\n\t } else {\n\t throw new Error('unknown format \"' + $schema + '\" is used in schema at path \"' + it.errSchemaPath + '\"');\n\t }\n\t }\n\t var $isObject = (typeof $format === 'undefined' ? 'undefined' : _typeof($format)) == 'object' && !($format instanceof RegExp) && $format.validate;\n\t var $formatType = $isObject && $format.type || 'string';\n\t if ($isObject) {\n\t var $async = $format.async === true;\n\t $format = $format.validate;\n\t }\n\t if ($formatType != $ruleType) {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t return out;\n\t }\n\t if ($async) {\n\t if (!it.async) throw new Error('async format in sync schema');\n\t var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';\n\t out += ' if (!(' + it.yieldAwait + ' ' + $formatRef + '(' + $data + '))) { ';\n\t } else {\n\t out += ' if (! ';\n\t var $formatRef = 'formats' + it.util.getProperty($schema);\n\t if ($isObject) $formatRef += '.validate';\n\t if (typeof $format == 'function') {\n\t out += ' ' + $formatRef + '(' + $data + ') ';\n\t } else {\n\t out += ' ' + $formatRef + '.test(' + $data + ') ';\n\t }\n\t out += ') { ';\n\t }\n\t }\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'format' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { format: ';\n\t if ($isData) {\n\t out += '' + $schemaValue;\n\t } else {\n\t out += '' + it.util.toQuotedString($schema);\n\t }\n\t out += ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should match format \"';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue + ' + \\'';\n\t } else {\n\t out += '' + it.util.escapeQuotes($schema);\n\t }\n\t out += '\"\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + it.util.toQuotedString($schema);\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 49 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = function generate_items(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $idx = 'i' + $lvl,\n\t $dataNxt = $it.dataLevel = it.dataLevel + 1,\n\t $nextData = 'data' + $dataNxt,\n\t $currentBaseId = it.baseId;\n\t out += 'var ' + $errs + ' = errors;var ' + $valid + ';';\n\t if (Array.isArray($schema)) {\n\t var $additionalItems = it.schema.additionalItems;\n\t if ($additionalItems === false) {\n\t out += ' ' + $valid + ' = ' + $data + '.length <= ' + $schema.length + '; ';\n\t var $currErrSchemaPath = $errSchemaPath;\n\t $errSchemaPath = it.errSchemaPath + '/additionalItems';\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'additionalItems' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { limit: ' + $schema.length + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have more than ' + $schema.length + ' items\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: false , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t $errSchemaPath = $currErrSchemaPath;\n\t if ($breakOnError) {\n\t $closingBraces += '}';\n\t out += ' else { ';\n\t }\n\t }\n\t var arr1 = $schema;\n\t if (arr1) {\n\t var $sch,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $sch = arr1[$i += 1];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t out += ' ' + $nextValid + ' = true; if (' + $data + '.length > ' + $i + ') { ';\n\t var $passData = $data + '[' + $i + ']';\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + '[' + $i + ']';\n\t $it.errSchemaPath = $errSchemaPath + '/' + $i;\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true);\n\t $it.dataPathArr[$dataNxt] = $i;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t }\n\t if ((typeof $additionalItems === 'undefined' ? 'undefined' : _typeof($additionalItems)) == 'object' && it.util.schemaHasRules($additionalItems, it.RULES.all)) {\n\t $it.schema = $additionalItems;\n\t $it.schemaPath = it.schemaPath + '.additionalItems';\n\t $it.errSchemaPath = it.errSchemaPath + '/additionalItems';\n\t out += ' ' + $nextValid + ' = true; if (' + $data + '.length > ' + $schema.length + ') { for (var ' + $idx + ' = ' + $schema.length + '; ' + $idx + ' < ' + $data + '.length; ' + $idx + '++) { ';\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n\t var $passData = $data + '[' + $idx + ']';\n\t $it.dataPathArr[$dataNxt] = $idx;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (!' + $nextValid + ') break; ';\n\t }\n\t out += ' } } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t } else if (it.util.schemaHasRules($schema, it.RULES.all)) {\n\t $it.schema = $schema;\n\t $it.schemaPath = $schemaPath;\n\t $it.errSchemaPath = $errSchemaPath;\n\t out += ' for (var ' + $idx + ' = ' + 0 + '; ' + $idx + ' < ' + $data + '.length; ' + $idx + '++) { ';\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n\t var $passData = $data + '[' + $idx + ']';\n\t $it.dataPathArr[$dataNxt] = $idx;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (!' + $nextValid + ') break; ';\n\t }\n\t out += ' }';\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces + ' if (' + $errs + ' == errors) {';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 50 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate__limit(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $isMax = $keyword == 'maximum',\n\t $exclusiveKeyword = $isMax ? 'exclusiveMaximum' : 'exclusiveMinimum',\n\t $schemaExcl = it.schema[$exclusiveKeyword],\n\t $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data,\n\t $op = $isMax ? '<' : '>',\n\t $notOp = $isMax ? '>' : '<',\n\t $errorKeyword = undefined;\n\t if ($isDataExcl) {\n\t var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr),\n\t $exclusive = 'exclusive' + $lvl,\n\t $exclType = 'exclType' + $lvl,\n\t $exclIsNumber = 'exclIsNumber' + $lvl,\n\t $opExpr = 'op' + $lvl,\n\t $opStr = '\\' + ' + $opExpr + ' + \\'';\n\t out += ' var schemaExcl' + $lvl + ' = ' + $schemaValueExcl + '; ';\n\t $schemaValueExcl = 'schemaExcl' + $lvl;\n\t out += ' var ' + $exclusive + '; var ' + $exclType + ' = typeof ' + $schemaValueExcl + '; if (' + $exclType + ' != \\'boolean\\' && ' + $exclType + ' != \\'undefined\\' && ' + $exclType + ' != \\'number\\') { ';\n\t var $errorKeyword = $exclusiveKeyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || '_exclusiveLimit') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'' + $exclusiveKeyword + ' should be boolean\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t out += ' ' + $exclType + ' == \\'number\\' ? ( (' + $exclusive + ' = ' + $schemaValue + ' === undefined || ' + $schemaValueExcl + ' ' + $op + '= ' + $schemaValue + ') ? ' + $data + ' ' + $notOp + '= ' + $schemaValueExcl + ' : ' + $data + ' ' + $notOp + ' ' + $schemaValue + ' ) : ( (' + $exclusive + ' = ' + $schemaValueExcl + ' === true) ? ' + $data + ' ' + $notOp + '= ' + $schemaValue + ' : ' + $data + ' ' + $notOp + ' ' + $schemaValue + ' ) || ' + $data + ' !== ' + $data + ') { var op' + $lvl + ' = ' + $exclusive + ' ? \\'' + $op + '\\' : \\'' + $op + '=\\';';\n\t } else {\n\t var $exclIsNumber = typeof $schemaExcl == 'number',\n\t $opStr = $op;\n\t if ($exclIsNumber && $isData) {\n\t var $opExpr = '\\'' + $opStr + '\\'';\n\t out += ' if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t out += ' ( ' + $schemaValue + ' === undefined || ' + $schemaExcl + ' ' + $op + '= ' + $schemaValue + ' ? ' + $data + ' ' + $notOp + '= ' + $schemaExcl + ' : ' + $data + ' ' + $notOp + ' ' + $schemaValue + ' ) || ' + $data + ' !== ' + $data + ') { ';\n\t } else {\n\t if ($exclIsNumber && $schema === undefined) {\n\t $exclusive = true;\n\t $errorKeyword = $exclusiveKeyword;\n\t $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n\t $schemaValue = $schemaExcl;\n\t $notOp += '=';\n\t } else {\n\t if ($exclIsNumber) $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema);\n\t if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) {\n\t $exclusive = true;\n\t $errorKeyword = $exclusiveKeyword;\n\t $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n\t $notOp += '=';\n\t } else {\n\t $exclusive = false;\n\t $opStr += '=';\n\t }\n\t }\n\t var $opExpr = '\\'' + $opStr + '\\'';\n\t out += ' if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t out += ' ' + $data + ' ' + $notOp + ' ' + $schemaValue + ' || ' + $data + ' !== ' + $data + ') { ';\n\t }\n\t }\n\t $errorKeyword = $errorKeyword || $keyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || '_limit') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { comparison: ' + $opExpr + ', limit: ' + $schemaValue + ', exclusive: ' + $exclusive + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be ' + $opStr + ' ';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue;\n\t } else {\n\t out += '' + $schemaValue + '\\'';\n\t }\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 51 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate__limitItems(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $op = $keyword == 'maxItems' ? '>' : '<';\n\t out += 'if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t out += ' ' + $data + '.length ' + $op + ' ' + $schemaValue + ') { ';\n\t var $errorKeyword = $keyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || '_limitItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { limit: ' + $schemaValue + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have ';\n\t if ($keyword == 'maxItems') {\n\t out += 'more';\n\t } else {\n\t out += 'less';\n\t }\n\t out += ' than ';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue + ' + \\'';\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' items\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += '} ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 52 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate__limitLength(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $op = $keyword == 'maxLength' ? '>' : '<';\n\t out += 'if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t if (it.opts.unicode === false) {\n\t out += ' ' + $data + '.length ';\n\t } else {\n\t out += ' ucs2length(' + $data + ') ';\n\t }\n\t out += ' ' + $op + ' ' + $schemaValue + ') { ';\n\t var $errorKeyword = $keyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || '_limitLength') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { limit: ' + $schemaValue + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT be ';\n\t if ($keyword == 'maxLength') {\n\t out += 'longer';\n\t } else {\n\t out += 'shorter';\n\t }\n\t out += ' than ';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue + ' + \\'';\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' characters\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += '} ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 53 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate__limitProperties(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $op = $keyword == 'maxProperties' ? '>' : '<';\n\t out += 'if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'number\\') || ';\n\t }\n\t out += ' Object.keys(' + $data + ').length ' + $op + ' ' + $schemaValue + ') { ';\n\t var $errorKeyword = $keyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || '_limitProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { limit: ' + $schemaValue + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have ';\n\t if ($keyword == 'maxProperties') {\n\t out += 'more';\n\t } else {\n\t out += 'less';\n\t }\n\t out += ' than ';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue + ' + \\'';\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' properties\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += '} ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 54 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_multipleOf(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t out += 'var division' + $lvl + ';if (';\n\t if ($isData) {\n\t out += ' ' + $schemaValue + ' !== undefined && ( typeof ' + $schemaValue + ' != \\'number\\' || ';\n\t }\n\t out += ' (division' + $lvl + ' = ' + $data + ' / ' + $schemaValue + ', ';\n\t if (it.opts.multipleOfPrecision) {\n\t out += ' Math.abs(Math.round(division' + $lvl + ') - division' + $lvl + ') > 1e-' + it.opts.multipleOfPrecision + ' ';\n\t } else {\n\t out += ' division' + $lvl + ' !== parseInt(division' + $lvl + ') ';\n\t }\n\t out += ' ) ';\n\t if ($isData) {\n\t out += ' ) ';\n\t }\n\t out += ' ) { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'multipleOf' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { multipleOf: ' + $schemaValue + ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should be multiple of ';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue;\n\t } else {\n\t out += '' + $schemaValue + '\\'';\n\t }\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += '} ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 55 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_not(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t if (it.util.schemaHasRules($schema, it.RULES.all)) {\n\t $it.schema = $schema;\n\t $it.schemaPath = $schemaPath;\n\t $it.errSchemaPath = $errSchemaPath;\n\t out += ' var ' + $errs + ' = errors; ';\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t $it.createErrors = false;\n\t var $allErrorsOption;\n\t if ($it.opts.allErrors) {\n\t $allErrorsOption = $it.opts.allErrors;\n\t $it.opts.allErrors = false;\n\t }\n\t out += ' ' + it.validate($it) + ' ';\n\t $it.createErrors = true;\n\t if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption;\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += ' if (' + $nextValid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'not' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT be valid\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else { errors = ' + $errs + '; if (vErrors !== null) { if (' + $errs + ') vErrors.length = ' + $errs + '; else vErrors = null; } ';\n\t if (it.opts.allErrors) {\n\t out += ' } ';\n\t }\n\t } else {\n\t out += ' var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'not' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT be valid\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t if ($breakOnError) {\n\t out += ' if (false) { ';\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 56 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_oneOf(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t out += 'var ' + $errs + ' = errors;var prevValid' + $lvl + ' = false;var ' + $valid + ' = false;';\n\t var $currentBaseId = $it.baseId;\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t var arr1 = $schema;\n\t if (arr1) {\n\t var $sch,\n\t $i = -1,\n\t l1 = arr1.length - 1;\n\t while ($i < l1) {\n\t $sch = arr1[$i += 1];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + '[' + $i + ']';\n\t $it.errSchemaPath = $errSchemaPath + '/' + $i;\n\t out += ' ' + it.validate($it) + ' ';\n\t $it.baseId = $currentBaseId;\n\t } else {\n\t out += ' var ' + $nextValid + ' = true; ';\n\t }\n\t if ($i) {\n\t out += ' if (' + $nextValid + ' && prevValid' + $lvl + ') ' + $valid + ' = false; else { ';\n\t $closingBraces += '}';\n\t }\n\t out += ' if (' + $nextValid + ') ' + $valid + ' = prevValid' + $lvl + ' = true;';\n\t }\n\t }\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += '' + $closingBraces + 'if (!' + $valid + ') { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'oneOf' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: {} ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should match exactly one schema in oneOf\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError(vErrors); ';\n\t } else {\n\t out += ' validate.errors = vErrors; return false; ';\n\t }\n\t }\n\t out += '} else { errors = ' + $errs + '; if (vErrors !== null) { if (' + $errs + ') vErrors.length = ' + $errs + '; else vErrors = null; }';\n\t if (it.opts.allErrors) {\n\t out += ' } ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 57 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_pattern(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema);\n\t out += 'if ( ';\n\t if ($isData) {\n\t out += ' (' + $schemaValue + ' !== undefined && typeof ' + $schemaValue + ' != \\'string\\') || ';\n\t }\n\t out += ' !' + $regexp + '.test(' + $data + ') ) { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'pattern' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { pattern: ';\n\t if ($isData) {\n\t out += '' + $schemaValue;\n\t } else {\n\t out += '' + it.util.toQuotedString($schema);\n\t }\n\t out += ' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should match pattern \"';\n\t if ($isData) {\n\t out += '\\' + ' + $schemaValue + ' + \\'';\n\t } else {\n\t out += '' + it.util.escapeQuotes($schema);\n\t }\n\t out += '\"\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + it.util.toQuotedString($schema);\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += '} ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 58 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tmodule.exports = function generate_properties(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t var $key = 'key' + $lvl,\n\t $idx = 'idx' + $lvl,\n\t $dataNxt = $it.dataLevel = it.dataLevel + 1,\n\t $nextData = 'data' + $dataNxt,\n\t $dataProperties = 'dataProperties' + $lvl;\n\t var $schemaKeys = Object.keys($schema || {}),\n\t $pProperties = it.schema.patternProperties || {},\n\t $pPropertyKeys = Object.keys($pProperties),\n\t $aProperties = it.schema.additionalProperties,\n\t $someProperties = $schemaKeys.length || $pPropertyKeys.length,\n\t $noAdditional = $aProperties === false,\n\t $additionalIsSchema = (typeof $aProperties === 'undefined' ? 'undefined' : _typeof($aProperties)) == 'object' && Object.keys($aProperties).length,\n\t $removeAdditional = it.opts.removeAdditional,\n\t $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional,\n\t $ownProperties = it.opts.ownProperties,\n\t $currentBaseId = it.baseId;\n\t var $required = it.schema.required;\n\t if ($required && !(it.opts.v5 && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required);\n\t if (it.opts.patternGroups) {\n\t var $pgProperties = it.schema.patternGroups || {},\n\t $pgPropertyKeys = Object.keys($pgProperties);\n\t }\n\t out += 'var ' + $errs + ' = errors;var ' + $nextValid + ' = true;';\n\t if ($ownProperties) {\n\t out += ' var ' + $dataProperties + ' = undefined;';\n\t }\n\t if ($checkAdditional) {\n\t if ($ownProperties) {\n\t out += ' ' + $dataProperties + ' = ' + $dataProperties + ' || Object.keys(' + $data + '); for (var ' + $idx + '=0; ' + $idx + '<' + $dataProperties + '.length; ' + $idx + '++) { var ' + $key + ' = ' + $dataProperties + '[' + $idx + ']; ';\n\t } else {\n\t out += ' for (var ' + $key + ' in ' + $data + ') { ';\n\t }\n\t if ($someProperties) {\n\t out += ' var isAdditional' + $lvl + ' = !(false ';\n\t if ($schemaKeys.length) {\n\t if ($schemaKeys.length > 5) {\n\t out += ' || validate.schema' + $schemaPath + '[' + $key + '] ';\n\t } else {\n\t var arr1 = $schemaKeys;\n\t if (arr1) {\n\t var $propertyKey,\n\t i1 = -1,\n\t l1 = arr1.length - 1;\n\t while (i1 < l1) {\n\t $propertyKey = arr1[i1 += 1];\n\t out += ' || ' + $key + ' == ' + it.util.toQuotedString($propertyKey) + ' ';\n\t }\n\t }\n\t }\n\t }\n\t if ($pPropertyKeys.length) {\n\t var arr2 = $pPropertyKeys;\n\t if (arr2) {\n\t var $pProperty,\n\t $i = -1,\n\t l2 = arr2.length - 1;\n\t while ($i < l2) {\n\t $pProperty = arr2[$i += 1];\n\t out += ' || ' + it.usePattern($pProperty) + '.test(' + $key + ') ';\n\t }\n\t }\n\t }\n\t if (it.opts.patternGroups && $pgPropertyKeys.length) {\n\t var arr3 = $pgPropertyKeys;\n\t if (arr3) {\n\t var $pgProperty,\n\t $i = -1,\n\t l3 = arr3.length - 1;\n\t while ($i < l3) {\n\t $pgProperty = arr3[$i += 1];\n\t out += ' || ' + it.usePattern($pgProperty) + '.test(' + $key + ') ';\n\t }\n\t }\n\t }\n\t out += ' ); if (isAdditional' + $lvl + ') { ';\n\t }\n\t if ($removeAdditional == 'all') {\n\t out += ' delete ' + $data + '[' + $key + ']; ';\n\t } else {\n\t var $currentErrorPath = it.errorPath;\n\t var $additionalProperty = '\\' + ' + $key + ' + \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n\t }\n\t if ($noAdditional) {\n\t if ($removeAdditional) {\n\t out += ' delete ' + $data + '[' + $key + ']; ';\n\t } else {\n\t out += ' ' + $nextValid + ' = false; ';\n\t var $currErrSchemaPath = $errSchemaPath;\n\t $errSchemaPath = it.errSchemaPath + '/additionalProperties';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'additionalProperties' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { additionalProperty: \\'' + $additionalProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have additional properties\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: false , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t $errSchemaPath = $currErrSchemaPath;\n\t if ($breakOnError) {\n\t out += ' break; ';\n\t }\n\t }\n\t } else if ($additionalIsSchema) {\n\t if ($removeAdditional == 'failing') {\n\t out += ' var ' + $errs + ' = errors; ';\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t $it.schema = $aProperties;\n\t $it.schemaPath = it.schemaPath + '.additionalProperties';\n\t $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n\t $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n\t var $passData = $data + '[' + $key + ']';\n\t $it.dataPathArr[$dataNxt] = $key;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t out += ' if (!' + $nextValid + ') { errors = ' + $errs + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + $data + '[' + $key + ']; } ';\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t } else {\n\t $it.schema = $aProperties;\n\t $it.schemaPath = it.schemaPath + '.additionalProperties';\n\t $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n\t $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n\t var $passData = $data + '[' + $key + ']';\n\t $it.dataPathArr[$dataNxt] = $key;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (!' + $nextValid + ') break; ';\n\t }\n\t }\n\t }\n\t it.errorPath = $currentErrorPath;\n\t }\n\t if ($someProperties) {\n\t out += ' } ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t var $useDefaults = it.opts.useDefaults && !it.compositeRule;\n\t if ($schemaKeys.length) {\n\t var arr4 = $schemaKeys;\n\t if (arr4) {\n\t var $propertyKey,\n\t i4 = -1,\n\t l4 = arr4.length - 1;\n\t while (i4 < l4) {\n\t $propertyKey = arr4[i4 += 1];\n\t var $sch = $schema[$propertyKey];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t var $prop = it.util.getProperty($propertyKey),\n\t $passData = $data + $prop,\n\t $hasDefault = $useDefaults && $sch.default !== undefined;\n\t $it.schema = $sch;\n\t $it.schemaPath = $schemaPath + $prop;\n\t $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey);\n\t $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers);\n\t $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey);\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t $code = it.util.varReplace($code, $nextData, $passData);\n\t var $useData = $passData;\n\t } else {\n\t var $useData = $nextData;\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ';\n\t }\n\t if ($hasDefault) {\n\t out += ' ' + $code + ' ';\n\t } else {\n\t if ($requiredHash && $requiredHash[$propertyKey]) {\n\t out += ' if ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') { ' + $nextValid + ' = false; ';\n\t var $currentErrorPath = it.errorPath,\n\t $currErrSchemaPath = $errSchemaPath,\n\t $missingProperty = it.util.escapeQuotes($propertyKey);\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n\t }\n\t $errSchemaPath = it.errSchemaPath + '/required';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t $errSchemaPath = $currErrSchemaPath;\n\t it.errorPath = $currentErrorPath;\n\t out += ' } else { ';\n\t } else {\n\t if ($breakOnError) {\n\t out += ' if ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') { ' + $nextValid + ' = true; } else { ';\n\t } else {\n\t out += ' if (' + $useData + ' !== undefined ';\n\t if ($ownProperties) {\n\t out += ' && Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ' ) { ';\n\t }\n\t }\n\t out += ' ' + $code + ' } ';\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t }\n\t if ($pPropertyKeys.length) {\n\t var arr5 = $pPropertyKeys;\n\t if (arr5) {\n\t var $pProperty,\n\t i5 = -1,\n\t l5 = arr5.length - 1;\n\t while (i5 < l5) {\n\t $pProperty = arr5[i5 += 1];\n\t var $sch = $pProperties[$pProperty];\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t $it.schema = $sch;\n\t $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty);\n\t $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty);\n\t if ($ownProperties) {\n\t out += ' ' + $dataProperties + ' = ' + $dataProperties + ' || Object.keys(' + $data + '); for (var ' + $idx + '=0; ' + $idx + '<' + $dataProperties + '.length; ' + $idx + '++) { var ' + $key + ' = ' + $dataProperties + '[' + $idx + ']; ';\n\t } else {\n\t out += ' for (var ' + $key + ' in ' + $data + ') { ';\n\t }\n\t out += ' if (' + it.usePattern($pProperty) + '.test(' + $key + ')) { ';\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n\t var $passData = $data + '[' + $key + ']';\n\t $it.dataPathArr[$dataNxt] = $key;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (!' + $nextValid + ') break; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else ' + $nextValid + ' = true; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if (it.opts.patternGroups && $pgPropertyKeys.length) {\n\t var arr6 = $pgPropertyKeys;\n\t if (arr6) {\n\t var $pgProperty,\n\t i6 = -1,\n\t l6 = arr6.length - 1;\n\t while (i6 < l6) {\n\t $pgProperty = arr6[i6 += 1];\n\t var $pgSchema = $pgProperties[$pgProperty],\n\t $sch = $pgSchema.schema;\n\t if (it.util.schemaHasRules($sch, it.RULES.all)) {\n\t $it.schema = $sch;\n\t $it.schemaPath = it.schemaPath + '.patternGroups' + it.util.getProperty($pgProperty) + '.schema';\n\t $it.errSchemaPath = it.errSchemaPath + '/patternGroups/' + it.util.escapeFragment($pgProperty) + '/schema';\n\t out += ' var pgPropCount' + $lvl + ' = 0; ';\n\t if ($ownProperties) {\n\t out += ' ' + $dataProperties + ' = ' + $dataProperties + ' || Object.keys(' + $data + '); for (var ' + $idx + '=0; ' + $idx + '<' + $dataProperties + '.length; ' + $idx + '++) { var ' + $key + ' = ' + $dataProperties + '[' + $idx + ']; ';\n\t } else {\n\t out += ' for (var ' + $key + ' in ' + $data + ') { ';\n\t }\n\t out += ' if (' + it.usePattern($pgProperty) + '.test(' + $key + ')) { pgPropCount' + $lvl + '++; ';\n\t $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n\t var $passData = $data + '[' + $key + ']';\n\t $it.dataPathArr[$dataNxt] = $key;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t if ($breakOnError) {\n\t out += ' if (!' + $nextValid + ') break; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else ' + $nextValid + ' = true; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' if (' + $nextValid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t var $pgMin = $pgSchema.minimum,\n\t $pgMax = $pgSchema.maximum;\n\t if ($pgMin !== undefined || $pgMax !== undefined) {\n\t out += ' var ' + $valid + ' = true; ';\n\t var $currErrSchemaPath = $errSchemaPath;\n\t if ($pgMin !== undefined) {\n\t var $limit = $pgMin,\n\t $reason = 'minimum',\n\t $moreOrLess = 'less';\n\t out += ' ' + $valid + ' = pgPropCount' + $lvl + ' >= ' + $pgMin + '; ';\n\t $errSchemaPath = it.errSchemaPath + '/patternGroups/minimum';\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'patternGroups' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { reason: \\'' + $reason + '\\', limit: ' + $limit + ', pattern: \\'' + it.util.escapeQuotes($pgProperty) + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have ' + $moreOrLess + ' than ' + $limit + ' properties matching pattern \"' + it.util.escapeQuotes($pgProperty) + '\"\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t if ($pgMax !== undefined) {\n\t out += ' else ';\n\t }\n\t }\n\t if ($pgMax !== undefined) {\n\t var $limit = $pgMax,\n\t $reason = 'maximum',\n\t $moreOrLess = 'more';\n\t out += ' ' + $valid + ' = pgPropCount' + $lvl + ' <= ' + $pgMax + '; ';\n\t $errSchemaPath = it.errSchemaPath + '/patternGroups/maximum';\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'patternGroups' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { reason: \\'' + $reason + '\\', limit: ' + $limit + ', pattern: \\'' + it.util.escapeQuotes($pgProperty) + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have ' + $moreOrLess + ' than ' + $limit + ' properties matching pattern \"' + it.util.escapeQuotes($pgProperty) + '\"\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t }\n\t $errSchemaPath = $currErrSchemaPath;\n\t if ($breakOnError) {\n\t out += ' if (' + $valid + ') { ';\n\t $closingBraces += '}';\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces + ' if (' + $errs + ' == errors) {';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 59 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_propertyNames(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $errs = 'errs__' + $lvl;\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t if (it.util.schemaHasRules($schema, it.RULES.all)) {\n\t $it.schema = $schema;\n\t $it.schemaPath = $schemaPath;\n\t $it.errSchemaPath = $errSchemaPath;\n\t var $key = 'key' + $lvl,\n\t $idx = 'idx' + $lvl,\n\t $i = 'i' + $lvl,\n\t $invalidName = '\\' + ' + $key + ' + \\'',\n\t $dataNxt = $it.dataLevel = it.dataLevel + 1,\n\t $nextData = 'data' + $dataNxt,\n\t $dataProperties = 'dataProperties' + $lvl,\n\t $ownProperties = it.opts.ownProperties,\n\t $currentBaseId = it.baseId;\n\t out += ' var ' + $errs + ' = errors; ';\n\t if ($ownProperties) {\n\t out += ' var ' + $dataProperties + ' = undefined; ';\n\t }\n\t if ($ownProperties) {\n\t out += ' ' + $dataProperties + ' = ' + $dataProperties + ' || Object.keys(' + $data + '); for (var ' + $idx + '=0; ' + $idx + '<' + $dataProperties + '.length; ' + $idx + '++) { var ' + $key + ' = ' + $dataProperties + '[' + $idx + ']; ';\n\t } else {\n\t out += ' for (var ' + $key + ' in ' + $data + ') { ';\n\t }\n\t out += ' var startErrs' + $lvl + ' = errors; ';\n\t var $passData = $key;\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t var $code = it.validate($it);\n\t $it.baseId = $currentBaseId;\n\t if (it.util.varOccurences($code, $nextData) < 2) {\n\t out += ' ' + it.util.varReplace($code, $nextData, $passData) + ' ';\n\t } else {\n\t out += ' var ' + $nextData + ' = ' + $passData + '; ' + $code + ' ';\n\t }\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += ' if (!' + $nextValid + ') { for (var ' + $i + '=startErrs' + $lvl + '; ' + $i + '<errors; ' + $i + '++) { vErrors[' + $i + '].propertyName = ' + $key + '; } var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'propertyNames' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { propertyName: \\'' + $invalidName + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'property name \\\\\\'' + $invalidName + '\\\\\\' is invalid\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError(vErrors); ';\n\t } else {\n\t out += ' validate.errors = vErrors; return false; ';\n\t }\n\t }\n\t if ($breakOnError) {\n\t out += ' break; ';\n\t }\n\t out += ' } }';\n\t }\n\t if ($breakOnError) {\n\t out += ' ' + $closingBraces + ' if (' + $errs + ' == errors) {';\n\t }\n\t out = it.util.cleanUpCode(out);\n\t return out;\n\t};\n\n/***/ },\n/* 60 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_required(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $vSchema = 'schema' + $lvl;\n\t if (!$isData) {\n\t if ($schema.length < it.opts.loopRequired && it.schema.properties && Object.keys(it.schema.properties).length) {\n\t var $required = [];\n\t var arr1 = $schema;\n\t if (arr1) {\n\t var $property,\n\t i1 = -1,\n\t l1 = arr1.length - 1;\n\t while (i1 < l1) {\n\t $property = arr1[i1 += 1];\n\t var $propertySch = it.schema.properties[$property];\n\t if (!($propertySch && it.util.schemaHasRules($propertySch, it.RULES.all))) {\n\t $required[$required.length] = $property;\n\t }\n\t }\n\t }\n\t } else {\n\t var $required = $schema;\n\t }\n\t }\n\t if ($isData || $required.length) {\n\t var $currentErrorPath = it.errorPath,\n\t $loopRequired = $isData || $required.length >= it.opts.loopRequired,\n\t $ownProperties = it.opts.ownProperties;\n\t if ($breakOnError) {\n\t out += ' var missing' + $lvl + '; ';\n\t if ($loopRequired) {\n\t if (!$isData) {\n\t out += ' var ' + $vSchema + ' = validate.schema' + $schemaPath + '; ';\n\t }\n\t var $i = 'i' + $lvl,\n\t $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n\t $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n\t }\n\t out += ' var ' + $valid + ' = true; ';\n\t if ($isData) {\n\t out += ' if (schema' + $lvl + ' === undefined) ' + $valid + ' = true; else if (!Array.isArray(schema' + $lvl + ')) ' + $valid + ' = false; else {';\n\t }\n\t out += ' for (var ' + $i + ' = 0; ' + $i + ' < ' + $vSchema + '.length; ' + $i + '++) { ' + $valid + ' = ' + $data + '[' + $vSchema + '[' + $i + ']] !== undefined ';\n\t if ($ownProperties) {\n\t out += ' && Object.prototype.hasOwnProperty.call(' + $data + ', ' + $vSchema + '[' + $i + ']) ';\n\t }\n\t out += '; if (!' + $valid + ') break; } ';\n\t if ($isData) {\n\t out += ' } ';\n\t }\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else { ';\n\t } else {\n\t out += ' if ( ';\n\t var arr2 = $required;\n\t if (arr2) {\n\t var $propertyKey,\n\t $i = -1,\n\t l2 = arr2.length - 1;\n\t while ($i < l2) {\n\t $propertyKey = arr2[$i += 1];\n\t if ($i) {\n\t out += ' || ';\n\t }\n\t var $prop = it.util.getProperty($propertyKey),\n\t $useData = $data + $prop;\n\t out += ' ( ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') && (missing' + $lvl + ' = ' + it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop) + ') ) ';\n\t }\n\t }\n\t out += ') { ';\n\t var $propertyPath = 'missing' + $lvl,\n\t $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n\t }\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } else { ';\n\t }\n\t } else {\n\t if ($loopRequired) {\n\t if (!$isData) {\n\t out += ' var ' + $vSchema + ' = validate.schema' + $schemaPath + '; ';\n\t }\n\t var $i = 'i' + $lvl,\n\t $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n\t $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n\t }\n\t if ($isData) {\n\t out += ' if (' + $vSchema + ' && !Array.isArray(' + $vSchema + ')) { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (' + $vSchema + ' !== undefined) { ';\n\t }\n\t out += ' for (var ' + $i + ' = 0; ' + $i + ' < ' + $vSchema + '.length; ' + $i + '++) { if (' + $data + '[' + $vSchema + '[' + $i + ']] === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', ' + $vSchema + '[' + $i + ']) ';\n\t }\n\t out += ') { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ';\n\t if ($isData) {\n\t out += ' } ';\n\t }\n\t } else {\n\t var arr3 = $required;\n\t if (arr3) {\n\t var $propertyKey,\n\t i3 = -1,\n\t l3 = arr3.length - 1;\n\t while (i3 < l3) {\n\t $propertyKey = arr3[i3 += 1];\n\t var $prop = it.util.getProperty($propertyKey),\n\t $missingProperty = it.util.escapeQuotes($propertyKey),\n\t $useData = $data + $prop;\n\t if (it.opts._errorDataPathProperty) {\n\t it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n\t }\n\t out += ' if ( ' + $useData + ' === undefined ';\n\t if ($ownProperties) {\n\t out += ' || ! Object.prototype.hasOwnProperty.call(' + $data + ', \\'' + it.util.escapeQuotes($propertyKey) + '\\') ';\n\t }\n\t out += ') { var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'required' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { missingProperty: \\'' + $missingProperty + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'';\n\t if (it.opts._errorDataPathProperty) {\n\t out += 'is a required property';\n\t } else {\n\t out += 'should have required property \\\\\\'' + $missingProperty + '\\\\\\'';\n\t }\n\t out += '\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n\t }\n\t }\n\t }\n\t }\n\t it.errorPath = $currentErrorPath;\n\t } else if ($breakOnError) {\n\t out += ' if (true) {';\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 61 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_uniqueItems(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t if (($schema || $isData) && it.opts.uniqueItems !== false) {\n\t if ($isData) {\n\t out += ' var ' + $valid + '; if (' + $schemaValue + ' === false || ' + $schemaValue + ' === undefined) ' + $valid + ' = true; else if (typeof ' + $schemaValue + ' != \\'boolean\\') ' + $valid + ' = false; else { ';\n\t }\n\t out += ' var ' + $valid + ' = true; if (' + $data + '.length > 1) { var i = ' + $data + '.length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal(' + $data + '[i], ' + $data + '[j])) { ' + $valid + ' = false; break outer; } } } } ';\n\t if ($isData) {\n\t out += ' } ';\n\t }\n\t out += ' if (!' + $valid + ') { ';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + 'uniqueItems' + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { i: i, j: j } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should NOT have duplicate items (items ## \\' + j + \\' and \\' + i + \\' are identical)\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: ';\n\t if ($isData) {\n\t out += 'validate.schema' + $schemaPath;\n\t } else {\n\t out += '' + $schema;\n\t }\n\t out += ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t } else {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 62 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar KEYWORDS = ['multipleOf', 'maximum', 'exclusiveMaximum', 'minimum', 'exclusiveMinimum', 'maxLength', 'minLength', 'pattern', 'additionalItems', 'maxItems', 'minItems', 'uniqueItems', 'maxProperties', 'minProperties', 'required', 'additionalProperties', 'enum', 'format', 'const'];\n\t\n\tmodule.exports = function (metaSchema, keywordsJsonPointers) {\n\t for (var i = 0; i < keywordsJsonPointers.length; i++) {\n\t metaSchema = JSON.parse(JSON.stringify(metaSchema));\n\t var segments = keywordsJsonPointers[i].split('/');\n\t var keywords = metaSchema;\n\t var j;\n\t for (j = 1; j < segments.length; j++) {\n\t keywords = keywords[segments[j]];\n\t }for (j = 0; j < KEYWORDS.length; j++) {\n\t var key = KEYWORDS[j];\n\t var schema = keywords[key];\n\t if (schema) {\n\t keywords[key] = {\n\t anyOf: [schema, { $ref: 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#' }]\n\t };\n\t }\n\t }\n\t }\n\t\n\t return metaSchema;\n\t};\n\n/***/ },\n/* 63 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema';\n\t\n\tmodule.exports = function (ajv) {\n\t var defaultMeta = ajv._opts.defaultMeta;\n\t var metaSchemaRef = typeof defaultMeta == 'string' ? { $ref: defaultMeta } : ajv.getSchema(META_SCHEMA_ID) ? { $ref: META_SCHEMA_ID } : {};\n\t\n\t ajv.addKeyword('patternGroups', {\n\t // implemented in properties.jst\n\t metaSchema: {\n\t type: 'object',\n\t additionalProperties: {\n\t type: 'object',\n\t required: ['schema'],\n\t properties: {\n\t maximum: {\n\t type: 'integer',\n\t minimum: 0\n\t },\n\t minimum: {\n\t type: 'integer',\n\t minimum: 0\n\t },\n\t schema: metaSchemaRef\n\t },\n\t additionalProperties: false\n\t }\n\t }\n\t });\n\t ajv.RULES.all.properties.implements.push('patternGroups');\n\t};\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar MissingRefError = __webpack_require__(30).MissingRef;\n\t\n\tmodule.exports = compileAsync;\n\t\n\t/**\n\t * Creates validating function for passed schema with asynchronous loading of missing schemas.\n\t * `loadSchema` option should be a function that accepts schema uri and returns promise that resolves with the schema.\n\t * @this Ajv\n\t * @param {Object} schema schema object\n\t * @param {Boolean} meta optional true to compile meta-schema; this parameter can be skipped\n\t * @param {Function} callback an optional node-style callback, it is called with 2 parameters: error (or null) and validating function.\n\t * @return {Promise} promise that resolves with a validating function.\n\t */\n\tfunction compileAsync(schema, meta, callback) {\n\t /* eslint no-shadow: 0 */\n\t /* global Promise */\n\t /* jshint validthis: true */\n\t var self = this;\n\t if (typeof this._opts.loadSchema != 'function') throw new Error('options.loadSchema should be a function');\n\t\n\t if (typeof meta == 'function') {\n\t callback = meta;\n\t meta = undefined;\n\t }\n\t\n\t var p = loadMetaSchemaOf(schema).then(function () {\n\t var schemaObj = self._addSchema(schema, undefined, meta);\n\t return schemaObj.validate || _compileAsync(schemaObj);\n\t });\n\t\n\t if (callback) {\n\t p.then(function (v) {\n\t callback(null, v);\n\t }, callback);\n\t }\n\t\n\t return p;\n\t\n\t function loadMetaSchemaOf(sch) {\n\t var $schema = sch.$schema;\n\t return $schema && !self.getSchema($schema) ? compileAsync.call(self, { $ref: $schema }, true) : Promise.resolve();\n\t }\n\t\n\t function _compileAsync(schemaObj) {\n\t try {\n\t return self._compile(schemaObj);\n\t } catch (e) {\n\t if (e instanceof MissingRefError) return loadMissingSchema(e);\n\t throw e;\n\t }\n\t\n\t function loadMissingSchema(e) {\n\t var ref = e.missingSchema;\n\t if (added(ref)) throw new Error('Schema ' + ref + ' is loaded but ' + e.missingRef + ' cannot be resolved');\n\t\n\t var schemaPromise = self._loadingSchemas[ref];\n\t if (!schemaPromise) {\n\t schemaPromise = self._loadingSchemas[ref] = self._opts.loadSchema(ref);\n\t schemaPromise.then(removePromise, removePromise);\n\t }\n\t\n\t return schemaPromise.then(function (sch) {\n\t if (!added(ref)) {\n\t return loadMetaSchemaOf(sch).then(function () {\n\t if (!added(ref)) self.addSchema(sch, ref, undefined, meta);\n\t });\n\t }\n\t }).then(function () {\n\t return _compileAsync(schemaObj);\n\t });\n\t\n\t function removePromise() {\n\t delete self._loadingSchemas[ref];\n\t }\n\t\n\t function added(ref) {\n\t return self._refs[ref] || self._schemas[ref];\n\t }\n\t }\n\t }\n\t}\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;\n\tvar customRuleCode = __webpack_require__(66);\n\t\n\tmodule.exports = {\n\t add: addKeyword,\n\t get: getKeyword,\n\t remove: removeKeyword\n\t};\n\t\n\t/**\n\t * Define custom keyword\n\t * @this Ajv\n\t * @param {String} keyword custom keyword, should be unique (including different from all standard, custom and macro keywords).\n\t * @param {Object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`.\n\t */\n\tfunction addKeyword(keyword, definition) {\n\t /* jshint validthis: true */\n\t /* eslint no-shadow: 0 */\n\t var RULES = this.RULES;\n\t\n\t if (RULES.keywords[keyword]) throw new Error('Keyword ' + keyword + ' is already defined');\n\t\n\t if (!IDENTIFIER.test(keyword)) throw new Error('Keyword ' + keyword + ' is not a valid identifier');\n\t\n\t if (definition) {\n\t if (definition.macro && definition.valid !== undefined) throw new Error('\"valid\" option cannot be used with macro keywords');\n\t\n\t var dataType = definition.type;\n\t if (Array.isArray(dataType)) {\n\t var i,\n\t len = dataType.length;\n\t for (i = 0; i < len; i++) {\n\t checkDataType(dataType[i]);\n\t }for (i = 0; i < len; i++) {\n\t _addRule(keyword, dataType[i], definition);\n\t }\n\t } else {\n\t if (dataType) checkDataType(dataType);\n\t _addRule(keyword, dataType, definition);\n\t }\n\t\n\t var $data = definition.$data === true && this._opts.$data;\n\t if ($data && !definition.validate) throw new Error('$data support: \"validate\" function is not defined');\n\t\n\t var metaSchema = definition.metaSchema;\n\t if (metaSchema) {\n\t if ($data) {\n\t metaSchema = {\n\t anyOf: [metaSchema, { '$ref': 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#' }]\n\t };\n\t }\n\t definition.validateSchema = this.compile(metaSchema, true);\n\t }\n\t }\n\t\n\t RULES.keywords[keyword] = RULES.all[keyword] = true;\n\t\n\t function _addRule(keyword, dataType, definition) {\n\t var ruleGroup;\n\t for (var i = 0; i < RULES.length; i++) {\n\t var rg = RULES[i];\n\t if (rg.type == dataType) {\n\t ruleGroup = rg;\n\t break;\n\t }\n\t }\n\t\n\t if (!ruleGroup) {\n\t ruleGroup = { type: dataType, rules: [] };\n\t RULES.push(ruleGroup);\n\t }\n\t\n\t var rule = {\n\t keyword: keyword,\n\t definition: definition,\n\t custom: true,\n\t code: customRuleCode,\n\t implements: definition.implements\n\t };\n\t ruleGroup.rules.push(rule);\n\t RULES.custom[keyword] = rule;\n\t }\n\t\n\t function checkDataType(dataType) {\n\t if (!RULES.types[dataType]) throw new Error('Unknown type ' + dataType);\n\t }\n\t}\n\t\n\t/**\n\t * Get keyword\n\t * @this Ajv\n\t * @param {String} keyword pre-defined or custom keyword.\n\t * @return {Object|Boolean} custom keyword definition, `true` if it is a predefined keyword, `false` otherwise.\n\t */\n\tfunction getKeyword(keyword) {\n\t /* jshint validthis: true */\n\t var rule = this.RULES.custom[keyword];\n\t return rule ? rule.definition : this.RULES.keywords[keyword] || false;\n\t}\n\t\n\t/**\n\t * Remove keyword\n\t * @this Ajv\n\t * @param {String} keyword pre-defined or custom keyword.\n\t */\n\tfunction removeKeyword(keyword) {\n\t /* jshint validthis: true */\n\t var RULES = this.RULES;\n\t delete RULES.keywords[keyword];\n\t delete RULES.all[keyword];\n\t delete RULES.custom[keyword];\n\t for (var i = 0; i < RULES.length; i++) {\n\t var rules = RULES[i].rules;\n\t for (var j = 0; j < rules.length; j++) {\n\t if (rules[j].keyword == keyword) {\n\t rules.splice(j, 1);\n\t break;\n\t }\n\t }\n\t }\n\t}\n\n/***/ },\n/* 66 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function generate_custom(it, $keyword, $ruleType) {\n\t var out = ' ';\n\t var $lvl = it.level;\n\t var $dataLvl = it.dataLevel;\n\t var $schema = it.schema[$keyword];\n\t var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n\t var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n\t var $breakOnError = !it.opts.allErrors;\n\t var $errorKeyword;\n\t var $data = 'data' + ($dataLvl || '');\n\t var $valid = 'valid' + $lvl;\n\t var $errs = 'errs__' + $lvl;\n\t var $isData = it.opts.$data && $schema && $schema.$data,\n\t $schemaValue;\n\t if ($isData) {\n\t out += ' var schema' + $lvl + ' = ' + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + '; ';\n\t $schemaValue = 'schema' + $lvl;\n\t } else {\n\t $schemaValue = $schema;\n\t }\n\t var $rule = this,\n\t $definition = 'definition' + $lvl,\n\t $rDef = $rule.definition,\n\t $closingBraces = '';\n\t var $compile, $inline, $macro, $ruleValidate, $validateCode;\n\t if ($isData && $rDef.$data) {\n\t $validateCode = 'keywordValidate' + $lvl;\n\t var $validateSchema = $rDef.validateSchema;\n\t out += ' var ' + $definition + ' = RULES.custom[\\'' + $keyword + '\\'].definition; var ' + $validateCode + ' = ' + $definition + '.validate;';\n\t } else {\n\t $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);\n\t if (!$ruleValidate) return;\n\t $schemaValue = 'validate.schema' + $schemaPath;\n\t $validateCode = $ruleValidate.code;\n\t $compile = $rDef.compile;\n\t $inline = $rDef.inline;\n\t $macro = $rDef.macro;\n\t }\n\t var $ruleErrs = $validateCode + '.errors',\n\t $i = 'i' + $lvl,\n\t $ruleErr = 'ruleErr' + $lvl,\n\t $asyncKeyword = $rDef.async;\n\t if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema');\n\t if (!($inline || $macro)) {\n\t out += '' + $ruleErrs + ' = null;';\n\t }\n\t out += 'var ' + $errs + ' = errors;var ' + $valid + ';';\n\t if ($isData && $rDef.$data) {\n\t $closingBraces += '}';\n\t out += ' if (' + $schemaValue + ' === undefined) { ' + $valid + ' = true; } else { ';\n\t if ($validateSchema) {\n\t $closingBraces += '}';\n\t out += ' ' + $valid + ' = ' + $definition + '.validateSchema(' + $schemaValue + '); if (' + $valid + ') { ';\n\t }\n\t }\n\t if ($inline) {\n\t if ($rDef.statements) {\n\t out += ' ' + $ruleValidate.validate + ' ';\n\t } else {\n\t out += ' ' + $valid + ' = ' + $ruleValidate.validate + '; ';\n\t }\n\t } else if ($macro) {\n\t var $it = it.util.copy(it);\n\t var $closingBraces = '';\n\t $it.level++;\n\t var $nextValid = 'valid' + $it.level;\n\t $it.schema = $ruleValidate.validate;\n\t $it.schemaPath = '';\n\t var $wasComposite = it.compositeRule;\n\t it.compositeRule = $it.compositeRule = true;\n\t var $code = it.validate($it).replace(/validate\\.schema/g, $validateCode);\n\t it.compositeRule = $it.compositeRule = $wasComposite;\n\t out += ' ' + $code;\n\t } else {\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = '';\n\t out += ' ' + $validateCode + '.call( ';\n\t if (it.opts.passContext) {\n\t out += 'this';\n\t } else {\n\t out += 'self';\n\t }\n\t if ($compile || $rDef.schema === false) {\n\t out += ' , ' + $data + ' ';\n\t } else {\n\t out += ' , ' + $schemaValue + ' , ' + $data + ' , validate.schema' + it.schemaPath + ' ';\n\t }\n\t out += ' , (dataPath || \\'\\')';\n\t if (it.errorPath != '\"\"') {\n\t out += ' + ' + it.errorPath;\n\t }\n\t var $parentData = $dataLvl ? 'data' + ($dataLvl - 1 || '') : 'parentData',\n\t $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n\t out += ' , ' + $parentData + ' , ' + $parentDataProperty + ' , rootData ) ';\n\t var def_callRuleValidate = out;\n\t out = $$outStack.pop();\n\t if ($rDef.errors === false) {\n\t out += ' ' + $valid + ' = ';\n\t if ($asyncKeyword) {\n\t out += '' + it.yieldAwait;\n\t }\n\t out += '' + def_callRuleValidate + '; ';\n\t } else {\n\t if ($asyncKeyword) {\n\t $ruleErrs = 'customErrors' + $lvl;\n\t out += ' var ' + $ruleErrs + ' = null; try { ' + $valid + ' = ' + it.yieldAwait + def_callRuleValidate + '; } catch (e) { ' + $valid + ' = false; if (e instanceof ValidationError) ' + $ruleErrs + ' = e.errors; else throw e; } ';\n\t } else {\n\t out += ' ' + $ruleErrs + ' = null; ' + $valid + ' = ' + def_callRuleValidate + '; ';\n\t }\n\t }\n\t }\n\t if ($rDef.modifying) {\n\t out += ' if (' + $parentData + ') ' + $data + ' = ' + $parentData + '[' + $parentDataProperty + '];';\n\t }\n\t out += '' + $closingBraces;\n\t if ($rDef.valid) {\n\t if ($breakOnError) {\n\t out += ' if (true) { ';\n\t }\n\t } else {\n\t out += ' if ( ';\n\t if ($rDef.valid === undefined) {\n\t out += ' !';\n\t if ($macro) {\n\t out += '' + $nextValid;\n\t } else {\n\t out += '' + $valid;\n\t }\n\t } else {\n\t out += ' ' + !$rDef.valid + ' ';\n\t }\n\t out += ') { ';\n\t $errorKeyword = $rule.keyword;\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = '';\n\t var $$outStack = $$outStack || [];\n\t $$outStack.push(out);\n\t out = ''; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { keyword: \\'' + $rule.keyword + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should pass \"' + $rule.keyword + '\" keyword validation\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t var __err = out;\n\t out = $$outStack.pop();\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError([' + __err + ']); ';\n\t } else {\n\t out += ' validate.errors = [' + __err + ']; return false; ';\n\t }\n\t } else {\n\t out += ' var err = ' + __err + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t }\n\t var def_customError = out;\n\t out = $$outStack.pop();\n\t if ($inline) {\n\t if ($rDef.errors) {\n\t if ($rDef.errors != 'full') {\n\t out += ' for (var ' + $i + '=' + $errs + '; ' + $i + '<errors; ' + $i + '++) { var ' + $ruleErr + ' = vErrors[' + $i + ']; if (' + $ruleErr + '.dataPath === undefined) ' + $ruleErr + '.dataPath = (dataPath || \\'\\') + ' + it.errorPath + '; if (' + $ruleErr + '.schemaPath === undefined) { ' + $ruleErr + '.schemaPath = \"' + $errSchemaPath + '\"; } ';\n\t if (it.opts.verbose) {\n\t out += ' ' + $ruleErr + '.schema = ' + $schemaValue + '; ' + $ruleErr + '.data = ' + $data + '; ';\n\t }\n\t out += ' } ';\n\t }\n\t } else {\n\t if ($rDef.errors === false) {\n\t out += ' ' + def_customError + ' ';\n\t } else {\n\t out += ' if (' + $errs + ' == errors) { ' + def_customError + ' } else { for (var ' + $i + '=' + $errs + '; ' + $i + '<errors; ' + $i + '++) { var ' + $ruleErr + ' = vErrors[' + $i + ']; if (' + $ruleErr + '.dataPath === undefined) ' + $ruleErr + '.dataPath = (dataPath || \\'\\') + ' + it.errorPath + '; if (' + $ruleErr + '.schemaPath === undefined) { ' + $ruleErr + '.schemaPath = \"' + $errSchemaPath + '\"; } ';\n\t if (it.opts.verbose) {\n\t out += ' ' + $ruleErr + '.schema = ' + $schemaValue + '; ' + $ruleErr + '.data = ' + $data + '; ';\n\t }\n\t out += ' } } ';\n\t }\n\t }\n\t } else if ($macro) {\n\t out += ' var err = '; /* istanbul ignore else */\n\t if (it.createErrors !== false) {\n\t out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + it.errorPath + ' , schemaPath: ' + it.util.toQuotedString($errSchemaPath) + ' , params: { keyword: \\'' + $rule.keyword + '\\' } ';\n\t if (it.opts.messages !== false) {\n\t out += ' , message: \\'should pass \"' + $rule.keyword + '\" keyword validation\\' ';\n\t }\n\t if (it.opts.verbose) {\n\t out += ' , schema: validate.schema' + $schemaPath + ' , parentSchema: validate.schema' + it.schemaPath + ' , data: ' + $data + ' ';\n\t }\n\t out += ' } ';\n\t } else {\n\t out += ' {} ';\n\t }\n\t out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n\t if (!it.compositeRule && $breakOnError) {\n\t /* istanbul ignore if */\n\t if (it.async) {\n\t out += ' throw new ValidationError(vErrors); ';\n\t } else {\n\t out += ' validate.errors = vErrors; return false; ';\n\t }\n\t }\n\t } else {\n\t if ($rDef.errors === false) {\n\t out += ' ' + def_customError + ' ';\n\t } else {\n\t out += ' if (Array.isArray(' + $ruleErrs + ')) { if (vErrors === null) vErrors = ' + $ruleErrs + '; else vErrors = vErrors.concat(' + $ruleErrs + '); errors = vErrors.length; for (var ' + $i + '=' + $errs + '; ' + $i + '<errors; ' + $i + '++) { var ' + $ruleErr + ' = vErrors[' + $i + ']; if (' + $ruleErr + '.dataPath === undefined) ' + $ruleErr + '.dataPath = (dataPath || \\'\\') + ' + it.errorPath + '; ' + $ruleErr + '.schemaPath = \"' + $errSchemaPath + '\"; ';\n\t if (it.opts.verbose) {\n\t out += ' ' + $ruleErr + '.schema = ' + $schemaValue + '; ' + $ruleErr + '.data = ' + $data + '; ';\n\t }\n\t out += ' } } else { ' + def_customError + ' } ';\n\t }\n\t }\n\t out += ' } ';\n\t if ($breakOnError) {\n\t out += ' else { ';\n\t }\n\t }\n\t return out;\n\t};\n\n/***/ },\n/* 67 */\n/***/ function(module, exports) {\n\n\tmodule.exports = {\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"$id\":\"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#\",\"description\":\"Meta-schema for $data reference (JSON-schema extension proposal)\",\"type\":\"object\",\"required\":[\"$data\"],\"properties\":{\"$data\":{\"type\":\"string\",\"anyOf\":[{\"format\":\"relative-json-pointer\"},{\"format\":\"json-pointer\"}]}},\"additionalProperties\":false}\n\n/***/ },\n/* 68 */\n/***/ function(module, exports) {\n\n\tmodule.exports = {\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"$id\":\"http://json-schema.org/draft-06/schema#\",\"title\":\"Core schema meta-schema\",\"definitions\":{\"schemaArray\":{\"type\":\"array\",\"minItems\":1,\"items\":{\"$ref\":\"#\"}},\"nonNegativeInteger\":{\"type\":\"integer\",\"minimum\":0},\"nonNegativeIntegerDefault0\":{\"allOf\":[{\"$ref\":\"#/definitions/nonNegativeInteger\"},{\"default\":0}]},\"simpleTypes\":{\"enum\":[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},\"stringArray\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"default\":[]}},\"type\":[\"object\",\"boolean\"],\"properties\":{\"$id\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$schema\":{\"type\":\"string\",\"format\":\"uri\"},\"$ref\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"default\":{},\"multipleOf\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"maximum\":{\"type\":\"number\"},\"exclusiveMaximum\":{\"type\":\"number\"},\"minimum\":{\"type\":\"number\"},\"exclusiveMinimum\":{\"type\":\"number\"},\"maxLength\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minLength\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"pattern\":{\"type\":\"string\",\"format\":\"regex\"},\"additionalItems\":{\"$ref\":\"#\"},\"items\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/schemaArray\"}],\"default\":{}},\"maxItems\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minItems\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"uniqueItems\":{\"type\":\"boolean\",\"default\":false},\"contains\":{\"$ref\":\"#\"},\"maxProperties\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minProperties\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"required\":{\"$ref\":\"#/definitions/stringArray\"},\"additionalProperties\":{\"$ref\":\"#\"},\"definitions\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"properties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"patternProperties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"dependencies\":{\"type\":\"object\",\"additionalProperties\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/stringArray\"}]}},\"propertyNames\":{\"$ref\":\"#\"},\"const\":{},\"enum\":{\"type\":\"array\",\"minItems\":1,\"uniqueItems\":true},\"type\":{\"anyOf\":[{\"$ref\":\"#/definitions/simpleTypes\"},{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/simpleTypes\"},\"minItems\":1,\"uniqueItems\":true}]},\"format\":{\"type\":\"string\"},\"allOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"anyOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"oneOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"not\":{\"$ref\":\"#\"}},\"default\":{}}\n\n/***/ },\n/* 69 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _ArrayField = __webpack_require__(70);\n\t\n\tvar _ArrayField2 = _interopRequireDefault(_ArrayField);\n\t\n\tvar _BooleanField = __webpack_require__(72);\n\t\n\tvar _BooleanField2 = _interopRequireDefault(_BooleanField);\n\t\n\tvar _DescriptionField = __webpack_require__(73);\n\t\n\tvar _DescriptionField2 = _interopRequireDefault(_DescriptionField);\n\t\n\tvar _NumberField = __webpack_require__(74);\n\t\n\tvar _NumberField2 = _interopRequireDefault(_NumberField);\n\t\n\tvar _ObjectField = __webpack_require__(75);\n\t\n\tvar _ObjectField2 = _interopRequireDefault(_ObjectField);\n\t\n\tvar _SchemaField = __webpack_require__(76);\n\t\n\tvar _SchemaField2 = _interopRequireDefault(_SchemaField);\n\t\n\tvar _StringField = __webpack_require__(77);\n\t\n\tvar _StringField2 = _interopRequireDefault(_StringField);\n\t\n\tvar _TitleField = __webpack_require__(78);\n\t\n\tvar _TitleField2 = _interopRequireDefault(_TitleField);\n\t\n\tvar _UnsupportedField = __webpack_require__(71);\n\t\n\tvar _UnsupportedField2 = _interopRequireDefault(_UnsupportedField);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t ArrayField: _ArrayField2.default,\n\t BooleanField: _BooleanField2.default,\n\t DescriptionField: _DescriptionField2.default,\n\t NumberField: _NumberField2.default,\n\t ObjectField: _ObjectField2.default,\n\t SchemaField: _SchemaField2.default,\n\t StringField: _StringField2.default,\n\t TitleField: _TitleField2.default,\n\t UnsupportedField: _UnsupportedField2.default\n\t};\n\n/***/ },\n/* 70 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _UnsupportedField = __webpack_require__(71);\n\t\n\tvar _UnsupportedField2 = _interopRequireDefault(_UnsupportedField);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction ArrayFieldTitle(_ref) {\n\t var TitleField = _ref.TitleField,\n\t idSchema = _ref.idSchema,\n\t title = _ref.title,\n\t required = _ref.required;\n\t\n\t if (!title) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t var id = idSchema.$id + \"__title\";\n\t return _react2.default.createElement(TitleField, { id: id, title: title, required: required });\n\t}\n\t\n\tfunction ArrayFieldDescription(_ref2) {\n\t var DescriptionField = _ref2.DescriptionField,\n\t idSchema = _ref2.idSchema,\n\t description = _ref2.description;\n\t\n\t if (!description) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t var id = idSchema.$id + \"__description\";\n\t return _react2.default.createElement(DescriptionField, { id: id, description: description });\n\t}\n\t\n\tfunction IconBtn(props) {\n\t var _props$type = props.type,\n\t type = _props$type === undefined ? \"default\" : _props$type,\n\t icon = props.icon,\n\t className = props.className,\n\t otherProps = _objectWithoutProperties(props, [\"type\", \"icon\", \"className\"]);\n\t\n\t return _react2.default.createElement(\n\t \"button\",\n\t _extends({\n\t type: \"button\",\n\t className: \"btn btn-\" + type + \" \" + className\n\t }, otherProps),\n\t _react2.default.createElement(\"i\", { className: \"glyphicon glyphicon-\" + icon })\n\t );\n\t}\n\t\n\t// Used in the two templates\n\tfunction DefaultArrayItem(props) {\n\t var btnStyle = {\n\t flex: 1,\n\t paddingLeft: 6,\n\t paddingRight: 6,\n\t fontWeight: \"bold\"\n\t };\n\t return _react2.default.createElement(\n\t \"div\",\n\t { key: props.index, className: props.className },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: props.hasToolbar ? \"col-xs-9\" : \"col-xs-12\" },\n\t props.children\n\t ),\n\t props.hasToolbar && _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-3 array-item-toolbox\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"btn-group\",\n\t style: {\n\t display: \"flex\",\n\t justifyContent: \"space-around\"\n\t } },\n\t (props.hasMoveUp || props.hasMoveDown) && _react2.default.createElement(IconBtn, {\n\t icon: \"arrow-up\",\n\t className: \"array-item-move-up\",\n\t tabIndex: \"-1\",\n\t style: btnStyle,\n\t disabled: props.disabled || props.readonly || !props.hasMoveUp,\n\t onClick: props.onReorderClick(props.index, props.index - 1)\n\t }),\n\t (props.hasMoveUp || props.hasMoveDown) && _react2.default.createElement(IconBtn, {\n\t icon: \"arrow-down\",\n\t className: \"array-item-move-down\",\n\t tabIndex: \"-1\",\n\t style: btnStyle,\n\t disabled: props.disabled || props.readonly || !props.hasMoveDown,\n\t onClick: props.onReorderClick(props.index, props.index + 1)\n\t }),\n\t props.hasRemove && _react2.default.createElement(IconBtn, {\n\t type: \"danger\",\n\t icon: \"remove\",\n\t className: \"array-item-remove\",\n\t tabIndex: \"-1\",\n\t style: btnStyle,\n\t disabled: props.disabled || props.readonly,\n\t onClick: props.onDropIndexClick(props.index)\n\t })\n\t )\n\t )\n\t );\n\t}\n\t\n\tfunction DefaultFixedArrayFieldTemplate(props) {\n\t return _react2.default.createElement(\n\t \"fieldset\",\n\t { className: props.className },\n\t _react2.default.createElement(ArrayFieldTitle, {\n\t key: \"array-field-title-\" + props.idSchema.$id,\n\t TitleField: props.TitleField,\n\t idSchema: props.idSchema,\n\t title: props.uiSchema[\"ui:title\"] || props.title,\n\t required: props.required\n\t }),\n\t (props.uiSchema[\"ui:description\"] || props.schema.description) && _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"field-description\",\n\t key: \"field-description-\" + props.idSchema.$id },\n\t props.uiSchema[\"ui:description\"] || props.schema.description\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"row array-item-list\",\n\t key: \"array-item-list-\" + props.idSchema.$id },\n\t props.items && props.items.map(DefaultArrayItem)\n\t ),\n\t props.canAdd && _react2.default.createElement(AddButton, {\n\t onClick: props.onAddClick,\n\t disabled: props.disabled || props.readonly\n\t })\n\t );\n\t}\n\t\n\tfunction DefaultNormalArrayFieldTemplate(props) {\n\t return _react2.default.createElement(\n\t \"fieldset\",\n\t { className: props.className },\n\t _react2.default.createElement(ArrayFieldTitle, {\n\t key: \"array-field-title-\" + props.idSchema.$id,\n\t TitleField: props.TitleField,\n\t idSchema: props.idSchema,\n\t title: props.uiSchema[\"ui:title\"] || props.title,\n\t required: props.required\n\t }),\n\t (props.uiSchema[\"ui:description\"] || props.schema.description) && _react2.default.createElement(ArrayFieldDescription, {\n\t key: \"array-field-description-\" + props.idSchema.$id,\n\t DescriptionField: props.DescriptionField,\n\t idSchema: props.idSchema,\n\t description: props.uiSchema[\"ui:description\"] || props.schema.description\n\t }),\n\t _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"row array-item-list\",\n\t key: \"array-item-list-\" + props.idSchema.$id },\n\t props.items && props.items.map(function (p) {\n\t return DefaultArrayItem(p);\n\t })\n\t ),\n\t props.canAdd && _react2.default.createElement(AddButton, {\n\t onClick: props.onAddClick,\n\t disabled: props.disabled || props.readonly\n\t })\n\t );\n\t}\n\t\n\tvar ArrayField = function (_Component) {\n\t _inherits(ArrayField, _Component);\n\t\n\t function ArrayField() {\n\t var _ref3;\n\t\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, ArrayField);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref3 = ArrayField.__proto__ || Object.getPrototypeOf(ArrayField)).call.apply(_ref3, [this].concat(args))), _this), _this.onAddClick = function (event) {\n\t event.preventDefault();\n\t var _this$props = _this.props,\n\t schema = _this$props.schema,\n\t formData = _this$props.formData,\n\t _this$props$registry = _this$props.registry,\n\t registry = _this$props$registry === undefined ? (0, _utils.getDefaultRegistry)() : _this$props$registry;\n\t var definitions = registry.definitions;\n\t\n\t var itemSchema = schema.items;\n\t if ((0, _utils.isFixedItems)(schema) && (0, _utils.allowAdditionalItems)(schema)) {\n\t itemSchema = schema.additionalItems;\n\t }\n\t _this.props.onChange([].concat(_toConsumableArray(formData), [(0, _utils.getDefaultFormState)(itemSchema, undefined, definitions)]));\n\t }, _this.onDropIndexClick = function (index) {\n\t return function (event) {\n\t if (event) {\n\t event.preventDefault();\n\t }\n\t var _this$props2 = _this.props,\n\t formData = _this$props2.formData,\n\t onChange = _this$props2.onChange;\n\t // refs #195: revalidate to ensure properly reindexing errors\n\t\n\t var newErrorSchema = void 0;\n\t if (_this.props.errorSchema) {\n\t newErrorSchema = {};\n\t var errorSchema = _this.props.errorSchema;\n\t for (var i in errorSchema) {\n\t i = parseInt(i);\n\t if (i < index) {\n\t newErrorSchema[i] = errorSchema[i];\n\t } else if (i > index) {\n\t newErrorSchema[i - 1] = errorSchema[i];\n\t }\n\t }\n\t }\n\t onChange(formData.filter(function (_, i) {\n\t return i !== index;\n\t }), newErrorSchema);\n\t };\n\t }, _this.onReorderClick = function (index, newIndex) {\n\t return function (event) {\n\t if (event) {\n\t event.preventDefault();\n\t event.target.blur();\n\t }\n\t var _this$props3 = _this.props,\n\t formData = _this$props3.formData,\n\t onChange = _this$props3.onChange;\n\t\n\t var newErrorSchema = void 0;\n\t if (_this.props.errorSchema) {\n\t newErrorSchema = {};\n\t var errorSchema = _this.props.errorSchema;\n\t for (var i in errorSchema) {\n\t if (i == index) {\n\t newErrorSchema[newIndex] = errorSchema[index];\n\t } else if (i == newIndex) {\n\t newErrorSchema[index] = errorSchema[newIndex];\n\t } else {\n\t newErrorSchema[i] = errorSchema[i];\n\t }\n\t }\n\t }\n\t onChange(formData.map(function (item, i) {\n\t // i is string, index and newIndex are numbers,\n\t // so using \"==\" to compare\n\t if (i == newIndex) {\n\t return formData[index];\n\t } else if (i == index) {\n\t return formData[newIndex];\n\t } else {\n\t return item;\n\t }\n\t }), newErrorSchema);\n\t };\n\t }, _this.onChangeForIndex = function (index) {\n\t return function (value, errorSchema) {\n\t var _this$props4 = _this.props,\n\t formData = _this$props4.formData,\n\t onChange = _this$props4.onChange;\n\t\n\t var newFormData = formData.map(function (item, i) {\n\t // We need to treat undefined items as nulls to have validation.\n\t // See https://github.com/tdegrunt/jsonschema/issues/206\n\t var jsonValue = typeof value === \"undefined\" ? null : value;\n\t return index === i ? jsonValue : item;\n\t });\n\t onChange(newFormData, errorSchema && _this.props.errorSchema && _extends({}, _this.props.errorSchema, _defineProperty({}, index, errorSchema)));\n\t };\n\t }, _this.onSelectChange = function (value) {\n\t _this.props.onChange(value);\n\t }, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t _createClass(ArrayField, [{\n\t key: \"isItemRequired\",\n\t value: function isItemRequired(itemSchema) {\n\t if (Array.isArray(itemSchema.type)) {\n\t // While we don't yet support composite/nullable jsonschema types, it's\n\t // future-proof to check for requirement against these.\n\t return !itemSchema.type.includes(\"null\");\n\t }\n\t // All non-null array item types are inherently required by design\n\t return itemSchema.type !== \"null\";\n\t }\n\t }, {\n\t key: \"canAddItem\",\n\t value: function canAddItem(formItems) {\n\t var _props = this.props,\n\t schema = _props.schema,\n\t uiSchema = _props.uiSchema;\n\t\n\t var _getUiOptions = (0, _utils.getUiOptions)(uiSchema),\n\t addable = _getUiOptions.addable;\n\t\n\t if (addable !== false) {\n\t // if ui:options.addable was not explicitly set to false, we can add\n\t // another item if we have not exceeded maxItems yet\n\t if (schema.maxItems !== undefined) {\n\t addable = formItems.length < schema.maxItems;\n\t } else {\n\t addable = true;\n\t }\n\t }\n\t return addable;\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _props2 = this.props,\n\t schema = _props2.schema,\n\t uiSchema = _props2.uiSchema,\n\t idSchema = _props2.idSchema,\n\t _props2$registry = _props2.registry,\n\t registry = _props2$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props2$registry;\n\t var definitions = registry.definitions;\n\t\n\t if (!schema.hasOwnProperty(\"items\")) {\n\t return _react2.default.createElement(_UnsupportedField2.default, {\n\t schema: schema,\n\t idSchema: idSchema,\n\t reason: \"Missing items definition\"\n\t });\n\t }\n\t if ((0, _utils.isFixedItems)(schema)) {\n\t return this.renderFixedArray();\n\t }\n\t if ((0, _utils.isFilesArray)(schema, uiSchema, definitions)) {\n\t return this.renderFiles();\n\t }\n\t if ((0, _utils.isMultiSelect)(schema, definitions)) {\n\t return this.renderMultiSelect();\n\t }\n\t return this.renderNormalArray();\n\t }\n\t }, {\n\t key: \"renderNormalArray\",\n\t value: function renderNormalArray() {\n\t var _this2 = this;\n\t\n\t var _props3 = this.props,\n\t schema = _props3.schema,\n\t uiSchema = _props3.uiSchema,\n\t formData = _props3.formData,\n\t errorSchema = _props3.errorSchema,\n\t idSchema = _props3.idSchema,\n\t name = _props3.name,\n\t required = _props3.required,\n\t disabled = _props3.disabled,\n\t readonly = _props3.readonly,\n\t autofocus = _props3.autofocus,\n\t _props3$registry = _props3.registry,\n\t registry = _props3$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props3$registry,\n\t onBlur = _props3.onBlur,\n\t onFocus = _props3.onFocus,\n\t idPrefix = _props3.idPrefix,\n\t rawErrors = _props3.rawErrors;\n\t\n\t var title = schema.title === undefined ? name : schema.title;\n\t var ArrayFieldTemplate = registry.ArrayFieldTemplate,\n\t definitions = registry.definitions,\n\t fields = registry.fields,\n\t formContext = registry.formContext;\n\t var TitleField = fields.TitleField,\n\t DescriptionField = fields.DescriptionField;\n\t\n\t var itemsSchema = (0, _utils.retrieveSchema)(schema.items, definitions);\n\t var arrayProps = {\n\t canAdd: this.canAddItem(formData),\n\t items: formData.map(function (item, index) {\n\t var itemSchema = (0, _utils.retrieveSchema)(schema.items, definitions, item);\n\t var itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n\t var itemIdPrefix = idSchema.$id + \"_\" + index;\n\t var itemIdSchema = (0, _utils.toIdSchema)(itemSchema, itemIdPrefix, definitions, item, idPrefix);\n\t return _this2.renderArrayFieldItem({\n\t index: index,\n\t canMoveUp: index > 0,\n\t canMoveDown: index < formData.length - 1,\n\t itemSchema: itemSchema,\n\t itemIdSchema: itemIdSchema,\n\t itemErrorSchema: itemErrorSchema,\n\t itemData: item,\n\t itemUiSchema: uiSchema.items,\n\t autofocus: autofocus && index === 0,\n\t onBlur: onBlur,\n\t onFocus: onFocus\n\t });\n\t }),\n\t className: \"field field-array field-array-of-\" + itemsSchema.type,\n\t DescriptionField: DescriptionField,\n\t disabled: disabled,\n\t idSchema: idSchema,\n\t uiSchema: uiSchema,\n\t onAddClick: this.onAddClick,\n\t readonly: readonly,\n\t required: required,\n\t schema: schema,\n\t title: title,\n\t TitleField: TitleField,\n\t formContext: formContext,\n\t formData: formData,\n\t rawErrors: rawErrors\n\t };\n\t\n\t // Check if a custom render function was passed in\n\t var Component = ArrayFieldTemplate || DefaultNormalArrayFieldTemplate;\n\t return _react2.default.createElement(Component, arrayProps);\n\t }\n\t }, {\n\t key: \"renderMultiSelect\",\n\t value: function renderMultiSelect() {\n\t var _props4 = this.props,\n\t schema = _props4.schema,\n\t idSchema = _props4.idSchema,\n\t uiSchema = _props4.uiSchema,\n\t formData = _props4.formData,\n\t disabled = _props4.disabled,\n\t readonly = _props4.readonly,\n\t autofocus = _props4.autofocus,\n\t onBlur = _props4.onBlur,\n\t onFocus = _props4.onFocus,\n\t _props4$registry = _props4.registry,\n\t registry = _props4$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props4$registry,\n\t rawErrors = _props4.rawErrors;\n\t\n\t var items = this.props.formData;\n\t var widgets = registry.widgets,\n\t definitions = registry.definitions,\n\t formContext = registry.formContext;\n\t\n\t var itemsSchema = (0, _utils.retrieveSchema)(schema.items, definitions, formData);\n\t var enumOptions = (0, _utils.optionsList)(itemsSchema);\n\t\n\t var _getUiOptions$enumOpt = _extends({}, (0, _utils.getUiOptions)(uiSchema), {\n\t enumOptions: enumOptions\n\t }),\n\t _getUiOptions$enumOpt2 = _getUiOptions$enumOpt.widget,\n\t widget = _getUiOptions$enumOpt2 === undefined ? \"select\" : _getUiOptions$enumOpt2,\n\t options = _objectWithoutProperties(_getUiOptions$enumOpt, [\"widget\"]);\n\t\n\t var Widget = (0, _utils.getWidget)(schema, widget, widgets);\n\t return _react2.default.createElement(Widget, {\n\t id: idSchema && idSchema.$id,\n\t multiple: true,\n\t onChange: this.onSelectChange,\n\t onBlur: onBlur,\n\t onFocus: onFocus,\n\t options: options,\n\t schema: schema,\n\t value: items,\n\t disabled: disabled,\n\t readonly: readonly,\n\t formContext: formContext,\n\t autofocus: autofocus,\n\t rawErrors: rawErrors\n\t });\n\t }\n\t }, {\n\t key: \"renderFiles\",\n\t value: function renderFiles() {\n\t var _props5 = this.props,\n\t schema = _props5.schema,\n\t uiSchema = _props5.uiSchema,\n\t idSchema = _props5.idSchema,\n\t name = _props5.name,\n\t disabled = _props5.disabled,\n\t readonly = _props5.readonly,\n\t autofocus = _props5.autofocus,\n\t onBlur = _props5.onBlur,\n\t onFocus = _props5.onFocus,\n\t _props5$registry = _props5.registry,\n\t registry = _props5$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props5$registry,\n\t rawErrors = _props5.rawErrors;\n\t\n\t var title = schema.title || name;\n\t var items = this.props.formData;\n\t var widgets = registry.widgets,\n\t formContext = registry.formContext;\n\t\n\t var _getUiOptions2 = (0, _utils.getUiOptions)(uiSchema),\n\t _getUiOptions2$widget = _getUiOptions2.widget,\n\t widget = _getUiOptions2$widget === undefined ? \"files\" : _getUiOptions2$widget,\n\t options = _objectWithoutProperties(_getUiOptions2, [\"widget\"]);\n\t\n\t var Widget = (0, _utils.getWidget)(schema, widget, widgets);\n\t return _react2.default.createElement(Widget, {\n\t options: options,\n\t id: idSchema && idSchema.$id,\n\t multiple: true,\n\t onChange: this.onSelectChange,\n\t onBlur: onBlur,\n\t onFocus: onFocus,\n\t schema: schema,\n\t title: title,\n\t value: items,\n\t disabled: disabled,\n\t readonly: readonly,\n\t formContext: formContext,\n\t autofocus: autofocus,\n\t rawErrors: rawErrors\n\t });\n\t }\n\t }, {\n\t key: \"renderFixedArray\",\n\t value: function renderFixedArray() {\n\t var _this3 = this;\n\t\n\t var _props6 = this.props,\n\t schema = _props6.schema,\n\t uiSchema = _props6.uiSchema,\n\t formData = _props6.formData,\n\t errorSchema = _props6.errorSchema,\n\t idPrefix = _props6.idPrefix,\n\t idSchema = _props6.idSchema,\n\t name = _props6.name,\n\t required = _props6.required,\n\t disabled = _props6.disabled,\n\t readonly = _props6.readonly,\n\t autofocus = _props6.autofocus,\n\t _props6$registry = _props6.registry,\n\t registry = _props6$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props6$registry,\n\t onBlur = _props6.onBlur,\n\t onFocus = _props6.onFocus,\n\t rawErrors = _props6.rawErrors;\n\t\n\t var title = schema.title || name;\n\t var items = this.props.formData;\n\t var ArrayFieldTemplate = registry.ArrayFieldTemplate,\n\t definitions = registry.definitions,\n\t fields = registry.fields,\n\t formContext = registry.formContext;\n\t var TitleField = fields.TitleField;\n\t\n\t var itemSchemas = schema.items.map(function (item, index) {\n\t return (0, _utils.retrieveSchema)(item, definitions, formData[index]);\n\t });\n\t var additionalSchema = (0, _utils.allowAdditionalItems)(schema) ? (0, _utils.retrieveSchema)(schema.additionalItems, definitions, formData) : null;\n\t\n\t if (!items || items.length < itemSchemas.length) {\n\t // to make sure at least all fixed items are generated\n\t items = items || [];\n\t items = items.concat(new Array(itemSchemas.length - items.length));\n\t }\n\t\n\t // These are the props passed into the render function\n\t var arrayProps = {\n\t canAdd: this.canAddItem(items) && additionalSchema,\n\t className: \"field field-array field-array-fixed-items\",\n\t disabled: disabled,\n\t idSchema: idSchema,\n\t formData: formData,\n\t items: items.map(function (item, index) {\n\t var additional = index >= itemSchemas.length;\n\t var itemSchema = additional ? (0, _utils.retrieveSchema)(schema.additionalItems, definitions, item) : itemSchemas[index];\n\t var itemIdPrefix = idSchema.$id + \"_\" + index;\n\t var itemIdSchema = (0, _utils.toIdSchema)(itemSchema, itemIdPrefix, definitions, item, idPrefix);\n\t var itemUiSchema = additional ? uiSchema.additionalItems || {} : Array.isArray(uiSchema.items) ? uiSchema.items[index] : uiSchema.items || {};\n\t var itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n\t\n\t return _this3.renderArrayFieldItem({\n\t index: index,\n\t canRemove: additional,\n\t canMoveUp: index >= itemSchemas.length + 1,\n\t canMoveDown: additional && index < items.length - 1,\n\t itemSchema: itemSchema,\n\t itemData: item,\n\t itemUiSchema: itemUiSchema,\n\t itemIdSchema: itemIdSchema,\n\t itemErrorSchema: itemErrorSchema,\n\t autofocus: autofocus && index === 0,\n\t onBlur: onBlur,\n\t onFocus: onFocus\n\t });\n\t }),\n\t onAddClick: this.onAddClick,\n\t readonly: readonly,\n\t required: required,\n\t schema: schema,\n\t uiSchema: uiSchema,\n\t title: title,\n\t TitleField: TitleField,\n\t formContext: formContext,\n\t rawErrors: rawErrors\n\t };\n\t\n\t // Check if a custom template template was passed in\n\t var Template = ArrayFieldTemplate || DefaultFixedArrayFieldTemplate;\n\t return _react2.default.createElement(Template, arrayProps);\n\t }\n\t }, {\n\t key: \"renderArrayFieldItem\",\n\t value: function renderArrayFieldItem(props) {\n\t var index = props.index,\n\t _props$canRemove = props.canRemove,\n\t canRemove = _props$canRemove === undefined ? true : _props$canRemove,\n\t _props$canMoveUp = props.canMoveUp,\n\t canMoveUp = _props$canMoveUp === undefined ? true : _props$canMoveUp,\n\t _props$canMoveDown = props.canMoveDown,\n\t canMoveDown = _props$canMoveDown === undefined ? true : _props$canMoveDown,\n\t itemSchema = props.itemSchema,\n\t itemData = props.itemData,\n\t itemUiSchema = props.itemUiSchema,\n\t itemIdSchema = props.itemIdSchema,\n\t itemErrorSchema = props.itemErrorSchema,\n\t autofocus = props.autofocus,\n\t onBlur = props.onBlur,\n\t onFocus = props.onFocus,\n\t rawErrors = props.rawErrors;\n\t var _props7 = this.props,\n\t disabled = _props7.disabled,\n\t readonly = _props7.readonly,\n\t uiSchema = _props7.uiSchema,\n\t _props7$registry = _props7.registry,\n\t registry = _props7$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props7$registry;\n\t var SchemaField = registry.fields.SchemaField;\n\t\n\t var _orderable$removable$ = _extends({\n\t orderable: true,\n\t removable: true\n\t }, uiSchema[\"ui:options\"]),\n\t orderable = _orderable$removable$.orderable,\n\t removable = _orderable$removable$.removable;\n\t\n\t var has = {\n\t moveUp: orderable && canMoveUp,\n\t moveDown: orderable && canMoveDown,\n\t remove: removable && canRemove\n\t };\n\t has.toolbar = Object.keys(has).some(function (key) {\n\t return has[key];\n\t });\n\t\n\t return {\n\t children: _react2.default.createElement(SchemaField, {\n\t schema: itemSchema,\n\t uiSchema: itemUiSchema,\n\t formData: itemData,\n\t errorSchema: itemErrorSchema,\n\t idSchema: itemIdSchema,\n\t required: this.isItemRequired(itemSchema),\n\t onChange: this.onChangeForIndex(index),\n\t onBlur: onBlur,\n\t onFocus: onFocus,\n\t registry: this.props.registry,\n\t disabled: this.props.disabled,\n\t readonly: this.props.readonly,\n\t autofocus: autofocus,\n\t rawErrors: rawErrors\n\t }),\n\t className: \"array-item\",\n\t disabled: disabled,\n\t hasToolbar: has.toolbar,\n\t hasMoveUp: has.moveUp,\n\t hasMoveDown: has.moveDown,\n\t hasRemove: has.remove,\n\t index: index,\n\t onDropIndexClick: this.onDropIndexClick,\n\t onReorderClick: this.onReorderClick,\n\t readonly: readonly\n\t };\n\t }\n\t }, {\n\t key: \"itemTitle\",\n\t get: function get() {\n\t var schema = this.props.schema;\n\t\n\t return schema.items.title || schema.items.description || \"Item\";\n\t }\n\t }]);\n\t\n\t return ArrayField;\n\t}(_react.Component);\n\t\n\tArrayField.defaultProps = {\n\t uiSchema: {},\n\t formData: [],\n\t idSchema: {},\n\t required: false,\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\t\n\tfunction AddButton(_ref4) {\n\t var onClick = _ref4.onClick,\n\t disabled = _ref4.disabled;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"col-xs-3 col-xs-offset-9 array-item-add text-right\" },\n\t _react2.default.createElement(IconBtn, {\n\t type: \"info\",\n\t icon: \"plus\",\n\t className: \"btn-add col-xs-12\",\n\t tabIndex: \"0\",\n\t onClick: onClick,\n\t disabled: disabled\n\t })\n\t )\n\t );\n\t}\n\t\n\tif (false) {\n\t ArrayField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.shape({\n\t \"ui:options\": _propTypes2.default.shape({\n\t addable: _propTypes2.default.bool,\n\t orderable: _propTypes2.default.bool,\n\t removable: _propTypes2.default.bool\n\t })\n\t }),\n\t idSchema: _propTypes2.default.object,\n\t errorSchema: _propTypes2.default.object,\n\t onChange: _propTypes2.default.func.isRequired,\n\t onBlur: _propTypes2.default.func,\n\t onFocus: _propTypes2.default.func,\n\t formData: _propTypes2.default.array,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t registry: _propTypes2.default.shape({\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])).isRequired,\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func).isRequired,\n\t definitions: _propTypes2.default.object.isRequired,\n\t formContext: _propTypes2.default.object.isRequired\n\t })\n\t };\n\t}\n\t\n\texports.default = ArrayField;\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction UnsupportedField(_ref) {\n\t var schema = _ref.schema,\n\t idSchema = _ref.idSchema,\n\t reason = _ref.reason;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"unsupported-field\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t \"Unsupported field schema\",\n\t idSchema && idSchema.$id && _react2.default.createElement(\n\t \"span\",\n\t null,\n\t \" for\",\n\t \" field \",\n\t _react2.default.createElement(\n\t \"code\",\n\t null,\n\t idSchema.$id\n\t )\n\t ),\n\t reason && _react2.default.createElement(\n\t \"em\",\n\t null,\n\t \": \",\n\t reason\n\t ),\n\t \".\"\n\t ),\n\t schema && _react2.default.createElement(\n\t \"pre\",\n\t null,\n\t JSON.stringify(schema, null, 2)\n\t )\n\t );\n\t}\n\t\n\tif (false) {\n\t UnsupportedField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t idSchema: _propTypes2.default.object,\n\t reason: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = UnsupportedField;\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction BooleanField(props) {\n\t var schema = props.schema,\n\t name = props.name,\n\t uiSchema = props.uiSchema,\n\t idSchema = props.idSchema,\n\t formData = props.formData,\n\t _props$registry = props.registry,\n\t registry = _props$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props$registry,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t autofocus = props.autofocus,\n\t onChange = props.onChange,\n\t rawErrors = props.rawErrors;\n\t var title = schema.title;\n\t var widgets = registry.widgets,\n\t formContext = registry.formContext;\n\t\n\t var _getUiOptions = (0, _utils.getUiOptions)(uiSchema),\n\t _getUiOptions$widget = _getUiOptions.widget,\n\t widget = _getUiOptions$widget === undefined ? \"checkbox\" : _getUiOptions$widget,\n\t options = _objectWithoutProperties(_getUiOptions, [\"widget\"]);\n\t\n\t var Widget = (0, _utils.getWidget)(schema, widget, widgets);\n\t var enumOptions = (0, _utils.optionsList)({\n\t enum: [true, false],\n\t enumNames: schema.enumNames || [\"yes\", \"no\"]\n\t });\n\t return _react2.default.createElement(Widget, {\n\t options: _extends({}, options, { enumOptions: enumOptions }),\n\t schema: schema,\n\t id: idSchema && idSchema.$id,\n\t onChange: onChange,\n\t label: title === undefined ? name : title,\n\t value: formData,\n\t required: required,\n\t disabled: disabled,\n\t readonly: readonly,\n\t registry: registry,\n\t formContext: formContext,\n\t autofocus: autofocus,\n\t rawErrors: rawErrors\n\t });\n\t}\n\t\n\tif (false) {\n\t BooleanField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object,\n\t idSchema: _propTypes2.default.object,\n\t onChange: _propTypes2.default.func.isRequired,\n\t formData: _propTypes2.default.bool,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t registry: _propTypes2.default.shape({\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])).isRequired,\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func).isRequired,\n\t definitions: _propTypes2.default.object.isRequired,\n\t formContext: _propTypes2.default.object.isRequired\n\t }),\n\t rawErrors: _propTypes2.default.arrayOf(_propTypes2.default.string)\n\t };\n\t}\n\t\n\tBooleanField.defaultProps = {\n\t uiSchema: {},\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\texports.default = BooleanField;\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction DescriptionField(props) {\n\t var id = props.id,\n\t description = props.description;\n\t\n\t if (!description) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t if (typeof description === \"string\") {\n\t return _react2.default.createElement(\n\t \"p\",\n\t { id: id, className: \"field-description\" },\n\t description\n\t );\n\t } else {\n\t return _react2.default.createElement(\n\t \"div\",\n\t { id: id, className: \"field-description\" },\n\t description\n\t );\n\t }\n\t}\n\t\n\tif (false) {\n\t DescriptionField.propTypes = {\n\t id: _propTypes2.default.string,\n\t description: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element])\n\t };\n\t}\n\t\n\texports.default = DescriptionField;\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction NumberField(props) {\n\t var StringField = props.registry.fields.StringField;\n\t\n\t return _react2.default.createElement(StringField, _extends({}, props, {\n\t onChange: function onChange(value) {\n\t return props.onChange((0, _utils.asNumber)(value));\n\t }\n\t }));\n\t}\n\t\n\tif (false) {\n\t NumberField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object,\n\t idSchema: _propTypes2.default.object,\n\t onChange: _propTypes2.default.func.isRequired,\n\t formData: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),\n\t required: _propTypes2.default.bool,\n\t formContext: _propTypes2.default.object.isRequired\n\t };\n\t}\n\t\n\tNumberField.defaultProps = {\n\t uiSchema: {}\n\t};\n\t\n\texports.default = NumberField;\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction DefaultObjectFieldTemplate(props) {\n\t var TitleField = props.TitleField,\n\t DescriptionField = props.DescriptionField;\n\t\n\t return _react2.default.createElement(\n\t \"fieldset\",\n\t null,\n\t (props.uiSchema[\"ui:title\"] || props.title) && _react2.default.createElement(TitleField, {\n\t id: props.idSchema.$id + \"__title\",\n\t title: props.title || props.uiSchema[\"ui:title\"],\n\t required: props.required,\n\t formContext: props.formContext\n\t }),\n\t props.description && _react2.default.createElement(DescriptionField, {\n\t id: props.idSchema.$id + \"__description\",\n\t description: props.description,\n\t formContext: props.formContext\n\t }),\n\t props.properties.map(function (prop) {\n\t return prop.content;\n\t })\n\t );\n\t}\n\t\n\tvar ObjectField = function (_Component) {\n\t _inherits(ObjectField, _Component);\n\t\n\t function ObjectField() {\n\t var _ref;\n\t\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, ObjectField);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ObjectField.__proto__ || Object.getPrototypeOf(ObjectField)).call.apply(_ref, [this].concat(args))), _this), _this.onPropertyChange = function (name) {\n\t return function (value, errorSchema) {\n\t var newFormData = _extends({}, _this.props.formData, _defineProperty({}, name, value));\n\t _this.props.onChange(newFormData, errorSchema && _this.props.errorSchema && _extends({}, _this.props.errorSchema, _defineProperty({}, name, errorSchema)));\n\t };\n\t }, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t _createClass(ObjectField, [{\n\t key: \"isRequired\",\n\t value: function isRequired(name) {\n\t var schema = this.props.schema;\n\t return Array.isArray(schema.required) && schema.required.indexOf(name) !== -1;\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props,\n\t uiSchema = _props.uiSchema,\n\t formData = _props.formData,\n\t errorSchema = _props.errorSchema,\n\t idSchema = _props.idSchema,\n\t name = _props.name,\n\t required = _props.required,\n\t disabled = _props.disabled,\n\t readonly = _props.readonly,\n\t idPrefix = _props.idPrefix,\n\t onBlur = _props.onBlur,\n\t onFocus = _props.onFocus,\n\t _props$registry = _props.registry,\n\t registry = _props$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props$registry;\n\t var definitions = registry.definitions,\n\t fields = registry.fields,\n\t formContext = registry.formContext;\n\t var SchemaField = fields.SchemaField,\n\t TitleField = fields.TitleField,\n\t DescriptionField = fields.DescriptionField;\n\t\n\t var schema = (0, _utils.retrieveSchema)(this.props.schema, definitions, formData);\n\t var title = schema.title === undefined ? name : schema.title;\n\t var description = uiSchema[\"ui:description\"] || schema.description;\n\t var orderedProperties = void 0;\n\t\n\t try {\n\t var properties = Object.keys(schema.properties);\n\t orderedProperties = (0, _utils.orderProperties)(properties, uiSchema[\"ui:order\"]);\n\t } catch (err) {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"config-error\", style: { color: \"red\" } },\n\t \"Invalid \",\n\t name || \"root\",\n\t \" object field configuration:\",\n\t _react2.default.createElement(\n\t \"em\",\n\t null,\n\t err.message\n\t ),\n\t \".\"\n\t ),\n\t _react2.default.createElement(\n\t \"pre\",\n\t null,\n\t JSON.stringify(schema)\n\t )\n\t );\n\t }\n\t\n\t var Template = registry.ObjectFieldTemplate || DefaultObjectFieldTemplate;\n\t\n\t var templateProps = {\n\t title: uiSchema[\"ui:title\"] || title,\n\t description: description,\n\t TitleField: TitleField,\n\t DescriptionField: DescriptionField,\n\t properties: orderedProperties.map(function (name) {\n\t return {\n\t content: _react2.default.createElement(SchemaField, {\n\t key: name,\n\t name: name,\n\t required: _this2.isRequired(name),\n\t schema: schema.properties[name],\n\t uiSchema: uiSchema[name],\n\t errorSchema: errorSchema[name],\n\t idSchema: idSchema[name],\n\t idPrefix: idPrefix,\n\t formData: formData[name],\n\t onChange: _this2.onPropertyChange(name),\n\t onBlur: onBlur,\n\t onFocus: onFocus,\n\t registry: registry,\n\t disabled: disabled,\n\t readonly: readonly\n\t }),\n\t name: name,\n\t readonly: readonly,\n\t disabled: disabled,\n\t required: required\n\t };\n\t }),\n\t required: required,\n\t idSchema: idSchema,\n\t uiSchema: uiSchema,\n\t schema: schema,\n\t formData: formData,\n\t formContext: formContext\n\t };\n\t return _react2.default.createElement(Template, templateProps);\n\t }\n\t }]);\n\t\n\t return ObjectField;\n\t}(_react.Component);\n\t\n\tObjectField.defaultProps = {\n\t uiSchema: {},\n\t formData: {},\n\t errorSchema: {},\n\t idSchema: {},\n\t required: false,\n\t disabled: false,\n\t readonly: false\n\t};\n\t\n\t\n\tif (false) {\n\t ObjectField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object,\n\t errorSchema: _propTypes2.default.object,\n\t idSchema: _propTypes2.default.object,\n\t onChange: _propTypes2.default.func.isRequired,\n\t formData: _propTypes2.default.object,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t registry: _propTypes2.default.shape({\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])).isRequired,\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func).isRequired,\n\t definitions: _propTypes2.default.object.isRequired,\n\t formContext: _propTypes2.default.object.isRequired\n\t })\n\t };\n\t}\n\t\n\texports.default = ObjectField;\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tvar _UnsupportedField = __webpack_require__(71);\n\t\n\tvar _UnsupportedField2 = _interopRequireDefault(_UnsupportedField);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tvar REQUIRED_FIELD_SYMBOL = \"*\";\n\tvar COMPONENT_TYPES = {\n\t array: \"ArrayField\",\n\t boolean: \"BooleanField\",\n\t integer: \"NumberField\",\n\t number: \"NumberField\",\n\t object: \"ObjectField\",\n\t string: \"StringField\"\n\t};\n\t\n\tfunction getFieldComponent(schema, uiSchema, idSchema, fields) {\n\t var field = uiSchema[\"ui:field\"];\n\t if (typeof field === \"function\") {\n\t return field;\n\t }\n\t if (typeof field === \"string\" && field in fields) {\n\t return fields[field];\n\t }\n\t\n\t var componentName = COMPONENT_TYPES[(0, _utils.getSchemaType)(schema)];\n\t return componentName in fields ? fields[componentName] : function () {\n\t return _react2.default.createElement(_UnsupportedField2.default, {\n\t schema: schema,\n\t idSchema: idSchema,\n\t reason: \"Unknown field type \" + schema.type\n\t });\n\t };\n\t}\n\t\n\tfunction Label(props) {\n\t var label = props.label,\n\t required = props.required,\n\t id = props.id;\n\t\n\t if (!label) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t return _react2.default.createElement(\n\t \"label\",\n\t { className: \"control-label\", htmlFor: id },\n\t label,\n\t required && _react2.default.createElement(\n\t \"span\",\n\t { className: \"required\" },\n\t REQUIRED_FIELD_SYMBOL\n\t )\n\t );\n\t}\n\t\n\tfunction Help(props) {\n\t var help = props.help;\n\t\n\t if (!help) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t if (typeof help === \"string\") {\n\t return _react2.default.createElement(\n\t \"p\",\n\t { className: \"help-block\" },\n\t help\n\t );\n\t }\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"help-block\" },\n\t help\n\t );\n\t}\n\t\n\tfunction ErrorList(props) {\n\t var _props$errors = props.errors,\n\t errors = _props$errors === undefined ? [] : _props$errors;\n\t\n\t if (errors.length === 0) {\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\"p\", null),\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"error-detail bs-callout bs-callout-info\" },\n\t errors.map(function (error, index) {\n\t return _react2.default.createElement(\n\t \"li\",\n\t { className: \"text-danger\", key: index },\n\t error\n\t );\n\t })\n\t )\n\t );\n\t}\n\t\n\tfunction DefaultTemplate(props) {\n\t var id = props.id,\n\t classNames = props.classNames,\n\t label = props.label,\n\t children = props.children,\n\t errors = props.errors,\n\t help = props.help,\n\t description = props.description,\n\t hidden = props.hidden,\n\t required = props.required,\n\t displayLabel = props.displayLabel;\n\t\n\t if (hidden) {\n\t return children;\n\t }\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: classNames },\n\t displayLabel && _react2.default.createElement(Label, { label: label, required: required, id: id }),\n\t displayLabel && description ? description : null,\n\t children,\n\t errors,\n\t help\n\t );\n\t}\n\t\n\tif (false) {\n\t DefaultTemplate.propTypes = {\n\t id: _propTypes2.default.string,\n\t classNames: _propTypes2.default.string,\n\t label: _propTypes2.default.string,\n\t children: _propTypes2.default.node.isRequired,\n\t errors: _propTypes2.default.element,\n\t rawErrors: _propTypes2.default.arrayOf(_propTypes2.default.string),\n\t help: _propTypes2.default.element,\n\t rawHelp: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n\t description: _propTypes2.default.element,\n\t rawDescription: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n\t hidden: _propTypes2.default.bool,\n\t required: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t displayLabel: _propTypes2.default.bool,\n\t fields: _propTypes2.default.object,\n\t formContext: _propTypes2.default.object\n\t };\n\t}\n\t\n\tDefaultTemplate.defaultProps = {\n\t hidden: false,\n\t readonly: false,\n\t required: false,\n\t displayLabel: true\n\t};\n\t\n\tfunction SchemaFieldRender(props) {\n\t var uiSchema = props.uiSchema,\n\t formData = props.formData,\n\t errorSchema = props.errorSchema,\n\t idPrefix = props.idPrefix,\n\t name = props.name,\n\t required = props.required,\n\t _props$registry = props.registry,\n\t registry = _props$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props$registry;\n\t var definitions = registry.definitions,\n\t fields = registry.fields,\n\t formContext = registry.formContext,\n\t _registry$FieldTempla = registry.FieldTemplate,\n\t FieldTemplate = _registry$FieldTempla === undefined ? DefaultTemplate : _registry$FieldTempla;\n\t\n\t var idSchema = props.idSchema;\n\t var schema = (0, _utils.retrieveSchema)(props.schema, definitions, formData);\n\t idSchema = (0, _utils.mergeObjects)((0, _utils.toIdSchema)(schema, null, definitions, formData, idPrefix), idSchema);\n\t var FieldComponent = getFieldComponent(schema, uiSchema, idSchema, fields);\n\t var DescriptionField = fields.DescriptionField;\n\t\n\t var disabled = Boolean(props.disabled || uiSchema[\"ui:disabled\"]);\n\t var readonly = Boolean(props.readonly || uiSchema[\"ui:readonly\"]);\n\t var autofocus = Boolean(props.autofocus || uiSchema[\"ui:autofocus\"]);\n\t\n\t if (Object.keys(schema).length === 0) {\n\t // See #312: Ensure compatibility with old versions of React.\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t\n\t var uiOptions = (0, _utils.getUiOptions)(uiSchema);\n\t var _uiOptions$label = uiOptions.label,\n\t displayLabel = _uiOptions$label === undefined ? true : _uiOptions$label;\n\t\n\t if (schema.type === \"array\") {\n\t displayLabel = (0, _utils.isMultiSelect)(schema, definitions) || (0, _utils.isFilesArray)(schema, uiSchema, definitions);\n\t }\n\t if (schema.type === \"object\") {\n\t displayLabel = false;\n\t }\n\t if (schema.type === \"boolean\" && !uiSchema[\"ui:widget\"]) {\n\t displayLabel = false;\n\t }\n\t if (uiSchema[\"ui:field\"]) {\n\t displayLabel = false;\n\t }\n\t\n\t var __errors = errorSchema.__errors,\n\t fieldErrorSchema = _objectWithoutProperties(errorSchema, [\"__errors\"]);\n\t\n\t // See #439: uiSchema: Don't pass consumed class names to child components\n\t\n\t\n\t var field = _react2.default.createElement(FieldComponent, _extends({}, props, {\n\t idSchema: idSchema,\n\t schema: schema,\n\t uiSchema: _extends({}, uiSchema, { classNames: undefined }),\n\t disabled: disabled,\n\t readonly: readonly,\n\t autofocus: autofocus,\n\t errorSchema: fieldErrorSchema,\n\t formContext: formContext,\n\t rawErrors: __errors\n\t }));\n\t\n\t var type = schema.type;\n\t\n\t var id = idSchema.$id;\n\t var label = uiSchema[\"ui:title\"] || props.schema.title || schema.title || name;\n\t var description = uiSchema[\"ui:description\"] || props.schema.description || schema.description;\n\t var errors = __errors;\n\t var help = uiSchema[\"ui:help\"];\n\t var hidden = uiSchema[\"ui:widget\"] === \"hidden\";\n\t var classNames = [\"form-group\", \"field\", \"field-\" + type, errors && errors.length > 0 ? \"field-error has-error has-danger\" : \"\", uiSchema.classNames].join(\" \").trim();\n\t\n\t var fieldProps = {\n\t description: _react2.default.createElement(DescriptionField, {\n\t id: id + \"__description\",\n\t description: description,\n\t formContext: formContext\n\t }),\n\t rawDescription: description,\n\t help: _react2.default.createElement(Help, { help: help }),\n\t rawHelp: typeof help === \"string\" ? help : undefined,\n\t errors: _react2.default.createElement(ErrorList, { errors: errors }),\n\t rawErrors: errors,\n\t id: id,\n\t label: label,\n\t hidden: hidden,\n\t required: required,\n\t disabled: disabled,\n\t readonly: readonly,\n\t displayLabel: displayLabel,\n\t classNames: classNames,\n\t formContext: formContext,\n\t fields: fields,\n\t schema: schema,\n\t uiSchema: uiSchema\n\t };\n\t\n\t return _react2.default.createElement(\n\t FieldTemplate,\n\t fieldProps,\n\t field\n\t );\n\t}\n\t\n\tvar SchemaField = function (_React$Component) {\n\t _inherits(SchemaField, _React$Component);\n\t\n\t function SchemaField() {\n\t _classCallCheck(this, SchemaField);\n\t\n\t return _possibleConstructorReturn(this, (SchemaField.__proto__ || Object.getPrototypeOf(SchemaField)).apply(this, arguments));\n\t }\n\t\n\t _createClass(SchemaField, [{\n\t key: \"shouldComponentUpdate\",\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t // if schemas are equal idSchemas will be equal as well,\n\t // so it is not necessary to compare\n\t return !(0, _utils.deepEquals)(_extends({}, this.props, { idSchema: undefined }), _extends({}, nextProps, { idSchema: undefined }));\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t return SchemaFieldRender(this.props);\n\t }\n\t }]);\n\t\n\t return SchemaField;\n\t}(_react2.default.Component);\n\t\n\tSchemaField.defaultProps = {\n\t uiSchema: {},\n\t errorSchema: {},\n\t idSchema: {},\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t SchemaField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object,\n\t idSchema: _propTypes2.default.object,\n\t formData: _propTypes2.default.any,\n\t errorSchema: _propTypes2.default.object,\n\t registry: _propTypes2.default.shape({\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])).isRequired,\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func).isRequired,\n\t definitions: _propTypes2.default.object.isRequired,\n\t ArrayFieldTemplate: _propTypes2.default.func,\n\t ObjectFieldTemplate: _propTypes2.default.func,\n\t FieldTemplate: _propTypes2.default.func,\n\t formContext: _propTypes2.default.object.isRequired\n\t })\n\t };\n\t}\n\t\n\texports.default = SchemaField;\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction StringField(props) {\n\t var schema = props.schema,\n\t name = props.name,\n\t uiSchema = props.uiSchema,\n\t idSchema = props.idSchema,\n\t formData = props.formData,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t autofocus = props.autofocus,\n\t onChange = props.onChange,\n\t onBlur = props.onBlur,\n\t onFocus = props.onFocus,\n\t _props$registry = props.registry,\n\t registry = _props$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props$registry,\n\t rawErrors = props.rawErrors;\n\t var title = schema.title,\n\t format = schema.format;\n\t var widgets = registry.widgets,\n\t formContext = registry.formContext;\n\t\n\t var enumOptions = (0, _utils.isSelect)(schema) && (0, _utils.optionsList)(schema);\n\t var defaultWidget = format || (enumOptions ? \"select\" : \"text\");\n\t\n\t var _getUiOptions = (0, _utils.getUiOptions)(uiSchema),\n\t _getUiOptions$widget = _getUiOptions.widget,\n\t widget = _getUiOptions$widget === undefined ? defaultWidget : _getUiOptions$widget,\n\t _getUiOptions$placeho = _getUiOptions.placeholder,\n\t placeholder = _getUiOptions$placeho === undefined ? \"\" : _getUiOptions$placeho,\n\t options = _objectWithoutProperties(_getUiOptions, [\"widget\", \"placeholder\"]);\n\t\n\t var Widget = (0, _utils.getWidget)(schema, widget, widgets);\n\t\n\t return _react2.default.createElement(Widget, {\n\t options: _extends({}, options, { enumOptions: enumOptions }),\n\t schema: schema,\n\t id: idSchema && idSchema.$id,\n\t label: title === undefined ? name : title,\n\t value: formData,\n\t onChange: onChange,\n\t onBlur: onBlur,\n\t onFocus: onFocus,\n\t required: required,\n\t disabled: disabled,\n\t readonly: readonly,\n\t formContext: formContext,\n\t autofocus: autofocus,\n\t registry: registry,\n\t placeholder: placeholder,\n\t rawErrors: rawErrors\n\t });\n\t}\n\t\n\tif (false) {\n\t StringField.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t uiSchema: _propTypes2.default.object.isRequired,\n\t idSchema: _propTypes2.default.object,\n\t onChange: _propTypes2.default.func.isRequired,\n\t onBlur: _propTypes2.default.func,\n\t onFocus: _propTypes2.default.func,\n\t formData: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),\n\t registry: _propTypes2.default.shape({\n\t widgets: _propTypes2.default.objectOf(_propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.object])).isRequired,\n\t fields: _propTypes2.default.objectOf(_propTypes2.default.func).isRequired,\n\t definitions: _propTypes2.default.object.isRequired,\n\t formContext: _propTypes2.default.object.isRequired\n\t }),\n\t formContext: _propTypes2.default.object.isRequired,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t rawErrors: _propTypes2.default.arrayOf(_propTypes2.default.string)\n\t };\n\t}\n\t\n\tStringField.defaultProps = {\n\t uiSchema: {},\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\texports.default = StringField;\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar REQUIRED_FIELD_SYMBOL = \"*\";\n\t\n\tfunction TitleField(props) {\n\t var id = props.id,\n\t title = props.title,\n\t required = props.required;\n\t\n\t var legend = required ? title + REQUIRED_FIELD_SYMBOL : title;\n\t return _react2.default.createElement(\n\t \"legend\",\n\t { id: id },\n\t legend\n\t );\n\t}\n\t\n\tif (false) {\n\t TitleField.propTypes = {\n\t id: _propTypes2.default.string,\n\t title: _propTypes2.default.string,\n\t required: _propTypes2.default.bool\n\t };\n\t}\n\t\n\texports.default = TitleField;\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _AltDateWidget = __webpack_require__(80);\n\t\n\tvar _AltDateWidget2 = _interopRequireDefault(_AltDateWidget);\n\t\n\tvar _AltDateTimeWidget = __webpack_require__(81);\n\t\n\tvar _AltDateTimeWidget2 = _interopRequireDefault(_AltDateTimeWidget);\n\t\n\tvar _BaseInput = __webpack_require__(82);\n\t\n\tvar _BaseInput2 = _interopRequireDefault(_BaseInput);\n\t\n\tvar _CheckboxWidget = __webpack_require__(83);\n\t\n\tvar _CheckboxWidget2 = _interopRequireDefault(_CheckboxWidget);\n\t\n\tvar _CheckboxesWidget = __webpack_require__(84);\n\t\n\tvar _CheckboxesWidget2 = _interopRequireDefault(_CheckboxesWidget);\n\t\n\tvar _ColorWidget = __webpack_require__(85);\n\t\n\tvar _ColorWidget2 = _interopRequireDefault(_ColorWidget);\n\t\n\tvar _DateWidget = __webpack_require__(86);\n\t\n\tvar _DateWidget2 = _interopRequireDefault(_DateWidget);\n\t\n\tvar _DateTimeWidget = __webpack_require__(87);\n\t\n\tvar _DateTimeWidget2 = _interopRequireDefault(_DateTimeWidget);\n\t\n\tvar _EmailWidget = __webpack_require__(88);\n\t\n\tvar _EmailWidget2 = _interopRequireDefault(_EmailWidget);\n\t\n\tvar _FileWidget = __webpack_require__(89);\n\t\n\tvar _FileWidget2 = _interopRequireDefault(_FileWidget);\n\t\n\tvar _HiddenWidget = __webpack_require__(90);\n\t\n\tvar _HiddenWidget2 = _interopRequireDefault(_HiddenWidget);\n\t\n\tvar _PasswordWidget = __webpack_require__(91);\n\t\n\tvar _PasswordWidget2 = _interopRequireDefault(_PasswordWidget);\n\t\n\tvar _RadioWidget = __webpack_require__(92);\n\t\n\tvar _RadioWidget2 = _interopRequireDefault(_RadioWidget);\n\t\n\tvar _RangeWidget = __webpack_require__(93);\n\t\n\tvar _RangeWidget2 = _interopRequireDefault(_RangeWidget);\n\t\n\tvar _SelectWidget = __webpack_require__(94);\n\t\n\tvar _SelectWidget2 = _interopRequireDefault(_SelectWidget);\n\t\n\tvar _TextareaWidget = __webpack_require__(95);\n\t\n\tvar _TextareaWidget2 = _interopRequireDefault(_TextareaWidget);\n\t\n\tvar _TextWidget = __webpack_require__(96);\n\t\n\tvar _TextWidget2 = _interopRequireDefault(_TextWidget);\n\t\n\tvar _URLWidget = __webpack_require__(97);\n\t\n\tvar _URLWidget2 = _interopRequireDefault(_URLWidget);\n\t\n\tvar _UpDownWidget = __webpack_require__(98);\n\t\n\tvar _UpDownWidget2 = _interopRequireDefault(_UpDownWidget);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t BaseInput: _BaseInput2.default,\n\t PasswordWidget: _PasswordWidget2.default,\n\t RadioWidget: _RadioWidget2.default,\n\t UpDownWidget: _UpDownWidget2.default,\n\t RangeWidget: _RangeWidget2.default,\n\t SelectWidget: _SelectWidget2.default,\n\t TextWidget: _TextWidget2.default,\n\t DateWidget: _DateWidget2.default,\n\t DateTimeWidget: _DateTimeWidget2.default,\n\t AltDateWidget: _AltDateWidget2.default,\n\t AltDateTimeWidget: _AltDateTimeWidget2.default,\n\t EmailWidget: _EmailWidget2.default,\n\t URLWidget: _URLWidget2.default,\n\t TextareaWidget: _TextareaWidget2.default,\n\t HiddenWidget: _HiddenWidget2.default,\n\t ColorWidget: _ColorWidget2.default,\n\t FileWidget: _FileWidget2.default,\n\t CheckboxWidget: _CheckboxWidget2.default,\n\t CheckboxesWidget: _CheckboxesWidget2.default\n\t};\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction rangeOptions(start, stop) {\n\t var options = [];\n\t for (var i = start; i <= stop; i++) {\n\t options.push({ value: i, label: (0, _utils.pad)(i, 2) });\n\t }\n\t return options;\n\t}\n\t\n\tfunction readyForChange(state) {\n\t return Object.keys(state).every(function (key) {\n\t return state[key] !== -1;\n\t });\n\t}\n\t\n\tfunction DateElement(props) {\n\t var type = props.type,\n\t range = props.range,\n\t value = props.value,\n\t select = props.select,\n\t rootId = props.rootId,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t autofocus = props.autofocus,\n\t registry = props.registry,\n\t onBlur = props.onBlur;\n\t\n\t var id = rootId + \"_\" + type;\n\t var SelectWidget = registry.widgets.SelectWidget;\n\t\n\t return _react2.default.createElement(SelectWidget, {\n\t schema: { type: \"integer\" },\n\t id: id,\n\t className: \"form-control\",\n\t options: { enumOptions: rangeOptions(range[0], range[1]) },\n\t placeholder: type,\n\t value: value,\n\t disabled: disabled,\n\t readonly: readonly,\n\t autofocus: autofocus,\n\t onChange: function onChange(value) {\n\t return select(type, value);\n\t },\n\t onBlur: onBlur\n\t });\n\t}\n\t\n\tvar AltDateWidget = function (_Component) {\n\t _inherits(AltDateWidget, _Component);\n\t\n\t function AltDateWidget(props) {\n\t _classCallCheck(this, AltDateWidget);\n\t\n\t var _this = _possibleConstructorReturn(this, (AltDateWidget.__proto__ || Object.getPrototypeOf(AltDateWidget)).call(this, props));\n\t\n\t _this.onChange = function (property, value) {\n\t _this.setState(_defineProperty({}, property, typeof value === \"undefined\" ? -1 : value), function () {\n\t // Only propagate to parent state if we have a complete date{time}\n\t if (readyForChange(_this.state)) {\n\t _this.props.onChange((0, _utils.toDateString)(_this.state, _this.props.time));\n\t }\n\t });\n\t };\n\t\n\t _this.setNow = function (event) {\n\t event.preventDefault();\n\t var _this$props = _this.props,\n\t time = _this$props.time,\n\t disabled = _this$props.disabled,\n\t readonly = _this$props.readonly,\n\t onChange = _this$props.onChange;\n\t\n\t if (disabled || readonly) {\n\t return;\n\t }\n\t var nowDateObj = (0, _utils.parseDateString)(new Date().toJSON(), time);\n\t _this.setState(nowDateObj, function () {\n\t return onChange((0, _utils.toDateString)(_this.state, time));\n\t });\n\t };\n\t\n\t _this.clear = function (event) {\n\t event.preventDefault();\n\t var _this$props2 = _this.props,\n\t time = _this$props2.time,\n\t disabled = _this$props2.disabled,\n\t readonly = _this$props2.readonly,\n\t onChange = _this$props2.onChange;\n\t\n\t if (disabled || readonly) {\n\t return;\n\t }\n\t _this.setState((0, _utils.parseDateString)(\"\", time), function () {\n\t return onChange(undefined);\n\t });\n\t };\n\t\n\t _this.state = (0, _utils.parseDateString)(props.value, props.time);\n\t return _this;\n\t }\n\t\n\t _createClass(AltDateWidget, [{\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t this.setState((0, _utils.parseDateString)(nextProps.value, nextProps.time));\n\t }\n\t }, {\n\t key: \"shouldComponentUpdate\",\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _utils.shouldRender)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props,\n\t id = _props.id,\n\t disabled = _props.disabled,\n\t readonly = _props.readonly,\n\t autofocus = _props.autofocus,\n\t registry = _props.registry,\n\t onBlur = _props.onBlur;\n\t\n\t return _react2.default.createElement(\n\t \"ul\",\n\t { className: \"list-inline\" },\n\t this.dateElementProps.map(function (elemProps, i) {\n\t return _react2.default.createElement(\n\t \"li\",\n\t { key: i },\n\t _react2.default.createElement(DateElement, _extends({\n\t rootId: id,\n\t select: _this2.onChange\n\t }, elemProps, {\n\t disabled: disabled,\n\t readonly: readonly,\n\t registry: registry,\n\t onBlur: onBlur,\n\t autofocus: autofocus && i === 0\n\t }))\n\t );\n\t }),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t \"a\",\n\t { href: \"#\", className: \"btn btn-info btn-now\", onClick: this.setNow },\n\t \"Now\"\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t \"a\",\n\t {\n\t href: \"#\",\n\t className: \"btn btn-warning btn-clear\",\n\t onClick: this.clear },\n\t \"Clear\"\n\t )\n\t )\n\t );\n\t }\n\t }, {\n\t key: \"dateElementProps\",\n\t get: function get() {\n\t var time = this.props.time;\n\t var _state = this.state,\n\t year = _state.year,\n\t month = _state.month,\n\t day = _state.day,\n\t hour = _state.hour,\n\t minute = _state.minute,\n\t second = _state.second;\n\t\n\t var data = [{ type: \"year\", range: [1900, 2020], value: year }, { type: \"month\", range: [1, 12], value: month }, { type: \"day\", range: [1, 31], value: day }];\n\t if (time) {\n\t data.push({ type: \"hour\", range: [0, 23], value: hour }, { type: \"minute\", range: [0, 59], value: minute }, { type: \"second\", range: [0, 59], value: second });\n\t }\n\t return data;\n\t }\n\t }]);\n\t\n\t return AltDateWidget;\n\t}(_react.Component);\n\t\n\tAltDateWidget.defaultProps = {\n\t time: false,\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\t\n\tif (false) {\n\t AltDateWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t value: _propTypes2.default.string,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func,\n\t onBlur: _propTypes2.default.func,\n\t time: _propTypes2.default.bool\n\t };\n\t}\n\t\n\texports.default = AltDateWidget;\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction AltDateTimeWidget(props) {\n\t var AltDateWidget = props.registry.widgets.AltDateWidget;\n\t\n\t return _react2.default.createElement(AltDateWidget, _extends({ time: true }, props));\n\t}\n\t\n\tif (false) {\n\t AltDateTimeWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t value: _propTypes2.default.string,\n\t required: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = AltDateTimeWidget;\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction BaseInput(props) {\n\t // Note: since React 15.2.0 we can't forward unknown element attributes, so we\n\t // exclude the \"options\" and \"schema\" ones here.\n\t if (!props.id) {\n\t console.log(\"No id for\", props);\n\t throw new Error(\"no id for props \" + JSON.stringify(props));\n\t }\n\t\n\t var value = props.value,\n\t readonly = props.readonly,\n\t disabled = props.disabled,\n\t autofocus = props.autofocus,\n\t onBlur = props.onBlur,\n\t onFocus = props.onFocus,\n\t options = props.options,\n\t schema = props.schema,\n\t formContext = props.formContext,\n\t registry = props.registry,\n\t inputProps = _objectWithoutProperties(props, [\"value\", \"readonly\", \"disabled\", \"autofocus\", \"onBlur\", \"onFocus\", \"options\", \"schema\", \"formContext\", \"registry\"]);\n\t\n\t inputProps.type = options.inputType || inputProps.type || \"text\";\n\t var _onChange = function _onChange(_ref) {\n\t var value = _ref.target.value;\n\t\n\t return props.onChange(value === \"\" ? options.emptyValue : value);\n\t };\n\t\n\t var rawErrors = inputProps.rawErrors,\n\t cleanProps = _objectWithoutProperties(inputProps, [\"rawErrors\"]);\n\t\n\t return _react2.default.createElement(\"input\", _extends({\n\t className: \"form-control\",\n\t readOnly: readonly,\n\t disabled: disabled,\n\t autoFocus: autofocus,\n\t value: value == null ? \"\" : value\n\t }, cleanProps, {\n\t onChange: _onChange,\n\t onBlur: onBlur && function (event) {\n\t return onBlur(inputProps.id, event.target.value);\n\t },\n\t onFocus: onFocus && function (event) {\n\t return onFocus(inputProps.id, event.target.value);\n\t }\n\t }));\n\t}\n\t\n\tBaseInput.defaultProps = {\n\t type: \"text\",\n\t required: false,\n\t disabled: false,\n\t readonly: false,\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t BaseInput.propTypes = {\n\t id: _propTypes2.default.string.isRequired,\n\t placeholder: _propTypes2.default.string,\n\t value: _propTypes2.default.any,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func,\n\t onBlur: _propTypes2.default.func,\n\t onFocus: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = BaseInput;\n\n/***/ },\n/* 83 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _DescriptionField = __webpack_require__(73);\n\t\n\tvar _DescriptionField2 = _interopRequireDefault(_DescriptionField);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction CheckboxWidget(props) {\n\t var schema = props.schema,\n\t id = props.id,\n\t value = props.value,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t label = props.label,\n\t autofocus = props.autofocus,\n\t _onChange = props.onChange;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"checkbox \" + (disabled || readonly ? \"disabled\" : \"\") },\n\t schema.description && _react2.default.createElement(_DescriptionField2.default, { description: schema.description }),\n\t _react2.default.createElement(\n\t \"label\",\n\t null,\n\t _react2.default.createElement(\"input\", {\n\t type: \"checkbox\",\n\t id: id,\n\t checked: typeof value === \"undefined\" ? false : value,\n\t required: required,\n\t disabled: disabled || readonly,\n\t autoFocus: autofocus,\n\t onChange: function onChange(event) {\n\t return _onChange(event.target.checked);\n\t }\n\t }),\n\t _react2.default.createElement(\n\t \"span\",\n\t null,\n\t label\n\t )\n\t )\n\t );\n\t}\n\t\n\tCheckboxWidget.defaultProps = {\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t CheckboxWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t value: _propTypes2.default.bool,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = CheckboxWidget;\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction selectValue(value, selected, all) {\n\t var at = all.indexOf(value);\n\t var updated = selected.slice(0, at).concat(value, selected.slice(at));\n\t // As inserting values at predefined index positions doesn't work with empty\n\t // arrays, we need to reorder the updated selection to match the initial order\n\t return updated.sort(function (a, b) {\n\t return all.indexOf(a) > all.indexOf(b);\n\t });\n\t}\n\t\n\tfunction deselectValue(value, selected) {\n\t return selected.filter(function (v) {\n\t return v !== value;\n\t });\n\t}\n\t\n\tfunction CheckboxesWidget(props) {\n\t var id = props.id,\n\t disabled = props.disabled,\n\t options = props.options,\n\t value = props.value,\n\t autofocus = props.autofocus,\n\t readonly = props.readonly,\n\t _onChange = props.onChange;\n\t var enumOptions = options.enumOptions,\n\t inline = options.inline;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"checkboxes\", id: id },\n\t enumOptions.map(function (option, index) {\n\t var checked = value.indexOf(option.value) !== -1;\n\t var disabledCls = disabled || readonly ? \"disabled\" : \"\";\n\t var checkbox = _react2.default.createElement(\n\t \"span\",\n\t null,\n\t _react2.default.createElement(\"input\", {\n\t type: \"checkbox\",\n\t id: id + \"_\" + index,\n\t checked: checked,\n\t disabled: disabled || readonly,\n\t autoFocus: autofocus && index === 0,\n\t onChange: function onChange(event) {\n\t var all = enumOptions.map(function (_ref) {\n\t var value = _ref.value;\n\t return value;\n\t });\n\t if (event.target.checked) {\n\t _onChange(selectValue(option.value, value, all));\n\t } else {\n\t _onChange(deselectValue(option.value, value));\n\t }\n\t }\n\t }),\n\t _react2.default.createElement(\n\t \"span\",\n\t null,\n\t option.label\n\t )\n\t );\n\t return inline ? _react2.default.createElement(\n\t \"label\",\n\t { key: index, className: \"checkbox-inline \" + disabledCls },\n\t checkbox\n\t ) : _react2.default.createElement(\n\t \"div\",\n\t { key: index, className: \"checkbox \" + disabledCls },\n\t _react2.default.createElement(\n\t \"label\",\n\t null,\n\t checkbox\n\t )\n\t );\n\t })\n\t );\n\t}\n\t\n\tCheckboxesWidget.defaultProps = {\n\t autofocus: false,\n\t options: {\n\t inline: false\n\t }\n\t};\n\t\n\tif (false) {\n\t CheckboxesWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t options: _propTypes2.default.shape({\n\t enumOptions: _propTypes2.default.array,\n\t inline: _propTypes2.default.bool\n\t }).isRequired,\n\t value: _propTypes2.default.any,\n\t required: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t multiple: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = CheckboxesWidget;\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction ColorWidget(props) {\n\t var disabled = props.disabled,\n\t readonly = props.readonly,\n\t BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({ type: \"color\" }, props, { disabled: disabled || readonly }));\n\t}\n\t\n\tif (false) {\n\t ColorWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t value: _propTypes2.default.string,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = ColorWidget;\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction DateWidget(props) {\n\t var _onChange = props.onChange,\n\t BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({\n\t type: \"date\"\n\t }, props, {\n\t onChange: function onChange(value) {\n\t return _onChange(value || undefined);\n\t }\n\t }));\n\t}\n\t\n\tif (false) {\n\t DateWidget.propTypes = {\n\t value: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = DateWidget;\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.utcToLocal = utcToLocal;\n\texports.localToUTC = localToUTC;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction utcToLocal(jsonDate) {\n\t if (!jsonDate) {\n\t return \"\";\n\t }\n\t\n\t // required format of `\"yyyy-MM-ddThh:mm\" followed by optional \":ss\" or \":ss.SSS\"\n\t // https://html.spec.whatwg.org/multipage/input.html#local-date-and-time-state-(type%3Ddatetime-local)\n\t // > should be a _valid local date and time string_ (not GMT)\n\t\n\t // Note - date constructor passed local ISO-8601 does not correctly\n\t // change time to UTC in node pre-8\n\t var date = new Date(jsonDate);\n\t\n\t var yyyy = (0, _utils.pad)(date.getFullYear(), 4);\n\t var MM = (0, _utils.pad)(date.getMonth() + 1, 2);\n\t var dd = (0, _utils.pad)(date.getDate(), 2);\n\t var hh = (0, _utils.pad)(date.getHours(), 2);\n\t var mm = (0, _utils.pad)(date.getMinutes(), 2);\n\t var ss = (0, _utils.pad)(date.getSeconds(), 2);\n\t var SSS = (0, _utils.pad)(date.getMilliseconds(), 3);\n\t\n\t return yyyy + \"-\" + MM + \"-\" + dd + \"T\" + hh + \":\" + mm + \":\" + ss + \".\" + SSS;\n\t}\n\t\n\tfunction localToUTC(dateString) {\n\t if (dateString) {\n\t return new Date(dateString).toJSON();\n\t }\n\t}\n\t\n\tfunction DateTimeWidget(props) {\n\t var value = props.value,\n\t _onChange = props.onChange,\n\t BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({\n\t type: \"datetime-local\"\n\t }, props, {\n\t value: utcToLocal(value),\n\t onChange: function onChange(value) {\n\t return _onChange(localToUTC(value));\n\t }\n\t }));\n\t}\n\t\n\tif (false) {\n\t DateTimeWidget.propTypes = {\n\t value: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = DateTimeWidget;\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction EmailWidget(props) {\n\t var BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({ type: \"email\" }, props));\n\t}\n\t\n\tif (false) {\n\t EmailWidget.propTypes = {\n\t value: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = EmailWidget;\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction addNameToDataURL(dataURL, name) {\n\t return dataURL.replace(\";base64\", \";name=\" + name + \";base64\");\n\t}\n\t\n\tfunction processFile(file) {\n\t var name = file.name,\n\t size = file.size,\n\t type = file.type;\n\t\n\t return new Promise(function (resolve, reject) {\n\t var reader = new window.FileReader();\n\t reader.onload = function (event) {\n\t resolve({\n\t dataURL: addNameToDataURL(event.target.result, name),\n\t name: name,\n\t size: size,\n\t type: type\n\t });\n\t };\n\t reader.readAsDataURL(file);\n\t });\n\t}\n\t\n\tfunction processFiles(files) {\n\t return Promise.all([].map.call(files, processFile));\n\t}\n\t\n\tfunction FilesInfo(props) {\n\t var filesInfo = props.filesInfo;\n\t\n\t if (filesInfo.length === 0) {\n\t return null;\n\t }\n\t return _react2.default.createElement(\n\t \"ul\",\n\t { className: \"file-info\" },\n\t filesInfo.map(function (fileInfo, key) {\n\t var name = fileInfo.name,\n\t size = fileInfo.size,\n\t type = fileInfo.type;\n\t\n\t return _react2.default.createElement(\n\t \"li\",\n\t { key: key },\n\t _react2.default.createElement(\n\t \"strong\",\n\t null,\n\t name\n\t ),\n\t \" (\",\n\t type,\n\t \", \",\n\t size,\n\t \" bytes)\"\n\t );\n\t })\n\t );\n\t}\n\t\n\tfunction extractFileInfo(dataURLs) {\n\t return dataURLs.filter(function (dataURL) {\n\t return typeof dataURL !== \"undefined\";\n\t }).map(function (dataURL) {\n\t var _dataURItoBlob = (0, _utils.dataURItoBlob)(dataURL),\n\t blob = _dataURItoBlob.blob,\n\t name = _dataURItoBlob.name;\n\t\n\t return {\n\t name: name,\n\t size: blob.size,\n\t type: blob.type\n\t };\n\t });\n\t}\n\t\n\tvar FileWidget = function (_Component) {\n\t _inherits(FileWidget, _Component);\n\t\n\t function FileWidget(props) {\n\t _classCallCheck(this, FileWidget);\n\t\n\t var _this = _possibleConstructorReturn(this, (FileWidget.__proto__ || Object.getPrototypeOf(FileWidget)).call(this, props));\n\t\n\t _this.onChange = function (event) {\n\t var _this$props = _this.props,\n\t multiple = _this$props.multiple,\n\t onChange = _this$props.onChange;\n\t\n\t processFiles(event.target.files).then(function (filesInfo) {\n\t var state = {\n\t values: filesInfo.map(function (fileInfo) {\n\t return fileInfo.dataURL;\n\t }),\n\t filesInfo: filesInfo\n\t };\n\t (0, _utils.setState)(_this, state, function () {\n\t if (multiple) {\n\t onChange(state.values);\n\t } else {\n\t onChange(state.values[0]);\n\t }\n\t });\n\t });\n\t };\n\t\n\t var value = props.value;\n\t\n\t var values = Array.isArray(value) ? value : [value];\n\t _this.state = { values: values, filesInfo: extractFileInfo(values) };\n\t return _this;\n\t }\n\t\n\t _createClass(FileWidget, [{\n\t key: \"shouldComponentUpdate\",\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _utils.shouldRender)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props,\n\t multiple = _props.multiple,\n\t id = _props.id,\n\t readonly = _props.readonly,\n\t disabled = _props.disabled,\n\t autofocus = _props.autofocus;\n\t var filesInfo = this.state.filesInfo;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(\"input\", {\n\t ref: function ref(_ref) {\n\t return _this2.inputRef = _ref;\n\t },\n\t id: id,\n\t type: \"file\",\n\t disabled: readonly || disabled,\n\t onChange: this.onChange,\n\t defaultValue: \"\",\n\t autoFocus: autofocus,\n\t multiple: multiple\n\t })\n\t ),\n\t _react2.default.createElement(FilesInfo, { filesInfo: filesInfo })\n\t );\n\t }\n\t }]);\n\t\n\t return FileWidget;\n\t}(_react.Component);\n\t\n\tFileWidget.defaultProps = {\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t FileWidget.propTypes = {\n\t multiple: _propTypes2.default.bool,\n\t value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.arrayOf(_propTypes2.default.string)]),\n\t autofocus: _propTypes2.default.bool\n\t };\n\t}\n\t\n\texports.default = FileWidget;\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction HiddenWidget(_ref) {\n\t var id = _ref.id,\n\t value = _ref.value;\n\t\n\t return _react2.default.createElement(\"input\", {\n\t type: \"hidden\",\n\t id: id,\n\t value: typeof value === \"undefined\" ? \"\" : value\n\t });\n\t}\n\t\n\tif (false) {\n\t HiddenWidget.propTypes = {\n\t id: _propTypes2.default.string.isRequired,\n\t value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number, _propTypes2.default.bool])\n\t };\n\t}\n\t\n\texports.default = HiddenWidget;\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction PasswordWidget(props) {\n\t var BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({ type: \"password\" }, props));\n\t}\n\t\n\tif (false) {\n\t PasswordWidget.propTypes = {\n\t value: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = PasswordWidget;\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction RadioWidget(props) {\n\t var options = props.options,\n\t value = props.value,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t autofocus = props.autofocus,\n\t _onChange = props.onChange;\n\t // Generating a unique field name to identify this set of radio buttons\n\t\n\t var name = Math.random().toString();\n\t var enumOptions = options.enumOptions,\n\t inline = options.inline;\n\t // checked={checked} has been moved above name={name}, As mentioned in #349;\n\t // this is a temporary fix for radio button rendering bug in React, facebook/react#7630.\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"field-radio-group\" },\n\t enumOptions.map(function (option, i) {\n\t var checked = option.value === value;\n\t var disabledCls = disabled || readonly ? \"disabled\" : \"\";\n\t var radio = _react2.default.createElement(\n\t \"span\",\n\t null,\n\t _react2.default.createElement(\"input\", {\n\t type: \"radio\",\n\t checked: checked,\n\t name: name,\n\t required: required,\n\t value: option.value,\n\t disabled: disabled || readonly,\n\t autoFocus: autofocus && i === 0,\n\t onChange: function onChange(_) {\n\t return _onChange(option.value);\n\t }\n\t }),\n\t _react2.default.createElement(\n\t \"span\",\n\t null,\n\t option.label\n\t )\n\t );\n\t\n\t return inline ? _react2.default.createElement(\n\t \"label\",\n\t { key: i, className: \"radio-inline \" + disabledCls },\n\t radio\n\t ) : _react2.default.createElement(\n\t \"div\",\n\t { key: i, className: \"radio \" + disabledCls },\n\t _react2.default.createElement(\n\t \"label\",\n\t null,\n\t radio\n\t )\n\t );\n\t })\n\t );\n\t}\n\t\n\tRadioWidget.defaultProps = {\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t RadioWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t options: _propTypes2.default.shape({\n\t enumOptions: _propTypes2.default.array,\n\t inline: _propTypes2.default.bool\n\t }).isRequired,\n\t value: _propTypes2.default.any,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func\n\t };\n\t}\n\texports.default = RadioWidget;\n\n/***/ },\n/* 93 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction RangeWidget(props) {\n\t var schema = props.schema,\n\t value = props.value,\n\t BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"field-range-wrapper\" },\n\t _react2.default.createElement(BaseInput, _extends({ type: \"range\" }, props, (0, _utils.rangeSpec)(schema))),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"range-view\" },\n\t value\n\t )\n\t );\n\t}\n\t\n\tif (false) {\n\t RangeWidget.propTypes = {\n\t value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number])\n\t };\n\t}\n\t\n\texports.default = RangeWidget;\n\n/***/ },\n/* 94 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/**\n\t * This is a silly limitation in the DOM where option change event values are\n\t * always retrieved as strings.\n\t */\n\tfunction processValue(_ref, value) {\n\t var type = _ref.type,\n\t items = _ref.items;\n\t\n\t if (value === \"\") {\n\t return undefined;\n\t } else if (type === \"array\" && items && [\"number\", \"integer\"].includes(items.type)) {\n\t return value.map(_utils.asNumber);\n\t } else if (type === \"boolean\") {\n\t return value === \"true\";\n\t } else if (type === \"number\") {\n\t return (0, _utils.asNumber)(value);\n\t }\n\t return value;\n\t}\n\t\n\tfunction getValue(event, multiple) {\n\t if (multiple) {\n\t return [].slice.call(event.target.options).filter(function (o) {\n\t return o.selected;\n\t }).map(function (o) {\n\t return o.value;\n\t });\n\t } else {\n\t return event.target.value;\n\t }\n\t}\n\t\n\tfunction SelectWidget(props) {\n\t var schema = props.schema,\n\t id = props.id,\n\t options = props.options,\n\t value = props.value,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t multiple = props.multiple,\n\t autofocus = props.autofocus,\n\t _onChange = props.onChange,\n\t onBlur = props.onBlur,\n\t onFocus = props.onFocus,\n\t placeholder = props.placeholder;\n\t var enumOptions = options.enumOptions,\n\t enumDisabled = options.enumDisabled;\n\t\n\t var emptyValue = multiple ? [] : \"\";\n\t return _react2.default.createElement(\n\t \"select\",\n\t {\n\t id: id,\n\t multiple: multiple,\n\t className: \"form-control\",\n\t value: typeof value === \"undefined\" ? emptyValue : value,\n\t required: required,\n\t disabled: disabled || readonly,\n\t autoFocus: autofocus,\n\t onBlur: onBlur && function (event) {\n\t var newValue = getValue(event, multiple);\n\t onBlur(id, processValue(schema, newValue));\n\t },\n\t onFocus: onFocus && function (event) {\n\t var newValue = getValue(event, multiple);\n\t onFocus(id, processValue(schema, newValue));\n\t },\n\t onChange: function onChange(event) {\n\t var newValue = getValue(event, multiple);\n\t _onChange(processValue(schema, newValue));\n\t } },\n\t !multiple && !schema.default && _react2.default.createElement(\n\t \"option\",\n\t { value: \"\" },\n\t placeholder\n\t ),\n\t enumOptions.map(function (_ref2, i) {\n\t var value = _ref2.value,\n\t label = _ref2.label;\n\t\n\t var disabled = enumDisabled && enumDisabled.indexOf(value) != -1;\n\t return _react2.default.createElement(\n\t \"option\",\n\t { key: i, value: value, disabled: disabled },\n\t label\n\t );\n\t })\n\t );\n\t}\n\t\n\tSelectWidget.defaultProps = {\n\t autofocus: false\n\t};\n\t\n\tif (false) {\n\t SelectWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t options: _propTypes2.default.shape({\n\t enumOptions: _propTypes2.default.array\n\t }).isRequired,\n\t value: _propTypes2.default.any,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t multiple: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func,\n\t onBlur: _propTypes2.default.func,\n\t onFocus: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = SelectWidget;\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction TextareaWidget(props) {\n\t var id = props.id,\n\t options = props.options,\n\t placeholder = props.placeholder,\n\t value = props.value,\n\t required = props.required,\n\t disabled = props.disabled,\n\t readonly = props.readonly,\n\t autofocus = props.autofocus,\n\t onChange = props.onChange,\n\t onBlur = props.onBlur,\n\t onFocus = props.onFocus;\n\t\n\t var _onChange = function _onChange(_ref) {\n\t var value = _ref.target.value;\n\t\n\t return onChange(value === \"\" ? options.emptyValue : value);\n\t };\n\t return _react2.default.createElement(\"textarea\", {\n\t id: id,\n\t className: \"form-control\",\n\t value: typeof value === \"undefined\" ? \"\" : value,\n\t placeholder: placeholder,\n\t required: required,\n\t disabled: disabled,\n\t readOnly: readonly,\n\t autoFocus: autofocus,\n\t rows: options.rows,\n\t onBlur: onBlur && function (event) {\n\t return onBlur(id, event.target.value);\n\t },\n\t onFocus: onFocus && function (event) {\n\t return onFocus(id, event.target.value);\n\t },\n\t onChange: _onChange\n\t });\n\t}\n\t\n\tTextareaWidget.defaultProps = {\n\t autofocus: false,\n\t options: {}\n\t};\n\t\n\tif (false) {\n\t TextareaWidget.propTypes = {\n\t schema: _propTypes2.default.object.isRequired,\n\t id: _propTypes2.default.string.isRequired,\n\t placeholder: _propTypes2.default.string,\n\t options: _propTypes2.default.shape({\n\t rows: _propTypes2.default.number\n\t }),\n\t value: _propTypes2.default.string,\n\t required: _propTypes2.default.bool,\n\t disabled: _propTypes2.default.bool,\n\t readonly: _propTypes2.default.bool,\n\t autofocus: _propTypes2.default.bool,\n\t onChange: _propTypes2.default.func,\n\t onBlur: _propTypes2.default.func,\n\t onFocus: _propTypes2.default.func\n\t };\n\t}\n\t\n\texports.default = TextareaWidget;\n\n/***/ },\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction TextWidget(props) {\n\t var BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, props);\n\t}\n\t\n\tif (false) {\n\t TextWidget.propTypes = {\n\t value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),\n\t id: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = TextWidget;\n\n/***/ },\n/* 97 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction URLWidget(props) {\n\t var BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({ type: \"url\" }, props));\n\t}\n\t\n\tif (false) {\n\t URLWidget.propTypes = {\n\t value: _propTypes2.default.string\n\t };\n\t}\n\t\n\texports.default = URLWidget;\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(3);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _utils = __webpack_require__(8);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction UpDownWidget(props) {\n\t var BaseInput = props.registry.widgets.BaseInput;\n\t\n\t return _react2.default.createElement(BaseInput, _extends({ type: \"number\" }, props, (0, _utils.rangeSpec)(props.schema)));\n\t}\n\t\n\tif (false) {\n\t UpDownWidget.propTypes = {\n\t value: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string])\n\t };\n\t}\n\t\n\texports.default = UpDownWidget;\n\n/***/ }\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// react-jsonschema-form.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 51074630786302559527","import Form from \"./components/Form\";\n\nexport default Form;\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { default as DefaultErrorList } from \"./ErrorList\";\nimport {\n getDefaultFormState,\n retrieveSchema,\n shouldRender,\n toIdSchema,\n setState,\n getDefaultRegistry,\n} from \"../utils\";\nimport validateFormData, { toErrorList } from \"../validate\";\n\nexport default class Form extends Component {\n static defaultProps = {\n uiSchema: {},\n noValidate: false,\n liveValidate: false,\n safeRenderCompletion: false,\n noHtml5Validate: false,\n ErrorList: DefaultErrorList,\n };\n\n constructor(props) {\n super(props);\n this.state = this.getStateFromProps(props);\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState(this.getStateFromProps(nextProps));\n }\n\n getStateFromProps(props) {\n const state = this.state || {};\n const schema = \"schema\" in props ? props.schema : this.props.schema;\n const uiSchema = \"uiSchema\" in props ? props.uiSchema : this.props.uiSchema;\n const edit = typeof props.formData !== \"undefined\";\n const liveValidate = props.liveValidate || this.props.liveValidate;\n const mustValidate = edit && !props.noValidate && liveValidate;\n const { definitions } = schema;\n const formData = getDefaultFormState(schema, props.formData, definitions);\n const retrievedSchema = retrieveSchema(schema, definitions, formData);\n\n const { errors, errorSchema } = mustValidate\n ? this.validate(formData, schema)\n : {\n errors: state.errors || [],\n errorSchema: state.errorSchema || {},\n };\n const idSchema = toIdSchema(\n retrievedSchema,\n uiSchema[\"ui:rootFieldId\"],\n definitions,\n formData,\n props.idPrefix\n );\n return {\n schema,\n uiSchema,\n idSchema,\n formData,\n edit,\n errors,\n errorSchema,\n };\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n return shouldRender(this, nextProps, nextState);\n }\n\n validate(formData, schema = this.props.schema) {\n const { validate, transformErrors } = this.props;\n const { definitions } = this.getRegistry();\n const resolvedSchema = retrieveSchema(schema, definitions, formData);\n return validateFormData(\n formData,\n resolvedSchema,\n validate,\n transformErrors\n );\n }\n\n renderErrors() {\n const { errors, errorSchema, schema, uiSchema } = this.state;\n const { ErrorList, showErrorList, formContext } = this.props;\n\n if (errors.length && showErrorList != false) {\n return (\n <ErrorList\n errors={errors}\n errorSchema={errorSchema}\n schema={schema}\n uiSchema={uiSchema}\n formContext={formContext}\n />\n );\n }\n return null;\n }\n\n onChange = (formData, newErrorSchema) => {\n const mustValidate = !this.props.noValidate && this.props.liveValidate;\n let state = { formData };\n if (mustValidate) {\n const { errors, errorSchema } = this.validate(formData);\n state = { ...state, errors, errorSchema };\n } else if (!this.props.noValidate && newErrorSchema) {\n state = {\n ...state,\n errorSchema: newErrorSchema,\n errors: toErrorList(newErrorSchema),\n };\n }\n setState(this, state, () => {\n if (this.props.onChange) {\n this.props.onChange(this.state);\n }\n });\n };\n\n onBlur = (...args) => {\n if (this.props.onBlur) {\n this.props.onBlur(...args);\n }\n };\n\n onFocus = (...args) => {\n if (this.props.onFocus) {\n this.props.onFocus(...args);\n }\n };\n\n onSubmit = event => {\n event.preventDefault();\n\n if (!this.props.noValidate) {\n const { errors, errorSchema } = this.validate(this.state.formData);\n if (Object.keys(errors).length > 0) {\n setState(this, { errors, errorSchema }, () => {\n if (this.props.onError) {\n this.props.onError(errors);\n } else {\n console.error(\"Form validation failed\", errors);\n }\n });\n return;\n }\n }\n\n if (this.props.onSubmit) {\n this.props.onSubmit({ ...this.state, status: \"submitted\" });\n }\n this.setState({ errors: [], errorSchema: {} });\n };\n\n getRegistry() {\n // For BC, accept passed SchemaField and TitleField props and pass them to\n // the \"fields\" registry one.\n const { fields, widgets } = getDefaultRegistry();\n return {\n fields: { ...fields, ...this.props.fields },\n widgets: { ...widgets, ...this.props.widgets },\n ArrayFieldTemplate: this.props.ArrayFieldTemplate,\n ObjectFieldTemplate: this.props.ObjectFieldTemplate,\n FieldTemplate: this.props.FieldTemplate,\n definitions: this.props.schema.definitions || {},\n formContext: this.props.formContext || {},\n };\n }\n\n render() {\n const {\n children,\n safeRenderCompletion,\n id,\n idPrefix,\n className,\n name,\n method,\n target,\n action,\n autocomplete,\n enctype,\n acceptcharset,\n noHtml5Validate,\n } = this.props;\n\n const { schema, uiSchema, formData, errorSchema, idSchema } = this.state;\n const registry = this.getRegistry();\n const _SchemaField = registry.fields.SchemaField;\n\n return (\n <form\n className={className ? className : \"rjsf\"}\n id={id}\n name={name}\n method={method}\n target={target}\n action={action}\n autoComplete={autocomplete}\n encType={enctype}\n acceptCharset={acceptcharset}\n noValidate={noHtml5Validate}\n onSubmit={this.onSubmit}>\n {this.renderErrors()}\n <_SchemaField\n schema={schema}\n uiSchema={uiSchema}\n errorSchema={errorSchema}\n idSchema={idSchema}\n idPrefix={idPrefix}\n formData={formData}\n onChange={this.onChange}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n registry={registry}\n safeRenderCompletion={safeRenderCompletion}\n />\n {children ? (\n children\n ) : (\n <p>\n <button type=\"submit\" className=\"btn btn-info\">\n Submit\n </button>\n </p>\n )}\n </form>\n );\n }\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n Form.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object,\n formData: PropTypes.any,\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ),\n fields: PropTypes.objectOf(PropTypes.func),\n ArrayFieldTemplate: PropTypes.func,\n ObjectFieldTemplate: PropTypes.func,\n FieldTemplate: PropTypes.func,\n ErrorList: PropTypes.func,\n onChange: PropTypes.func,\n onError: PropTypes.func,\n showErrorList: PropTypes.bool,\n onSubmit: PropTypes.func,\n id: PropTypes.string,\n className: PropTypes.string,\n name: PropTypes.string,\n method: PropTypes.string,\n target: PropTypes.string,\n action: PropTypes.string,\n autocomplete: PropTypes.string,\n enctype: PropTypes.string,\n acceptcharset: PropTypes.string,\n noValidate: PropTypes.bool,\n noHtml5Validate: PropTypes.bool,\n liveValidate: PropTypes.bool,\n validate: PropTypes.func,\n transformErrors: PropTypes.func,\n safeRenderCompletion: PropTypes.bool,\n formContext: PropTypes.object,\n };\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/Form.js","module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"React\",\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\"}\n// module id = 2\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/prop-types/index.js","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\n\nmodule.exports = function() {\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n function shim() {\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim\n };\n\n ReactPropTypes.checkPropTypes = emptyFunction;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/prop-types/factoryWithThrowingShims.js","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n// WEBPACK FOOTER //\n// ../~/fbjs/lib/emptyFunction.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n\n// WEBPACK FOOTER //\n// ../~/fbjs/lib/invariant.js","import React from \"react\";\n\nexport default function ErrorList(props) {\n const { errors } = props;\n return (\n <div className=\"panel panel-danger errors\">\n <div className=\"panel-heading\">\n <h3 className=\"panel-title\">Errors</h3>\n </div>\n <ul className=\"list-group\">\n {errors.map((error, i) => {\n return (\n <li key={i} className=\"list-group-item text-danger\">\n {error.stack}\n </li>\n );\n })}\n </ul>\n </div>\n );\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/ErrorList.js","import React from \"react\";\nimport \"setimmediate\";\nimport validateFormData from \"./validate\";\n\nconst widgetMap = {\n boolean: {\n checkbox: \"CheckboxWidget\",\n radio: \"RadioWidget\",\n select: \"SelectWidget\",\n hidden: \"HiddenWidget\",\n },\n string: {\n text: \"TextWidget\",\n password: \"PasswordWidget\",\n email: \"EmailWidget\",\n hostname: \"TextWidget\",\n ipv4: \"TextWidget\",\n ipv6: \"TextWidget\",\n uri: \"URLWidget\",\n \"data-url\": \"FileWidget\",\n radio: \"RadioWidget\",\n select: \"SelectWidget\",\n textarea: \"TextareaWidget\",\n hidden: \"HiddenWidget\",\n date: \"DateWidget\",\n datetime: \"DateTimeWidget\",\n \"date-time\": \"DateTimeWidget\",\n \"alt-date\": \"AltDateWidget\",\n \"alt-datetime\": \"AltDateTimeWidget\",\n color: \"ColorWidget\",\n file: \"FileWidget\",\n },\n number: {\n text: \"TextWidget\",\n select: \"SelectWidget\",\n updown: \"UpDownWidget\",\n range: \"RangeWidget\",\n radio: \"RadioWidget\",\n hidden: \"HiddenWidget\",\n },\n integer: {\n text: \"TextWidget\",\n select: \"SelectWidget\",\n updown: \"UpDownWidget\",\n range: \"RangeWidget\",\n radio: \"RadioWidget\",\n hidden: \"HiddenWidget\",\n },\n array: {\n select: \"SelectWidget\",\n checkboxes: \"CheckboxesWidget\",\n files: \"FileWidget\",\n },\n};\n\nexport function getDefaultRegistry() {\n return {\n fields: require(\"./components/fields\").default,\n widgets: require(\"./components/widgets\").default,\n definitions: {},\n formContext: {},\n };\n}\n\nexport function getSchemaType(schema) {\n let { type } = schema;\n if (!type && schema.enum) {\n type = \"string\";\n }\n return type;\n}\n\nexport function getWidget(schema, widget, registeredWidgets = {}) {\n const type = getSchemaType(schema);\n\n function mergeOptions(Widget) {\n // cache return value as property of widget for proper react reconciliation\n if (!Widget.MergedWidget) {\n const defaultOptions =\n (Widget.defaultProps && Widget.defaultProps.options) || {};\n Widget.MergedWidget = ({ options = {}, ...props }) => (\n <Widget options={{ ...defaultOptions, ...options }} {...props} />\n );\n }\n return Widget.MergedWidget;\n }\n\n if (typeof widget === \"function\") {\n return mergeOptions(widget);\n }\n\n if (typeof widget !== \"string\") {\n throw new Error(`Unsupported widget definition: ${typeof widget}`);\n }\n\n if (registeredWidgets.hasOwnProperty(widget)) {\n const registeredWidget = registeredWidgets[widget];\n return getWidget(schema, registeredWidget, registeredWidgets);\n }\n\n if (!widgetMap.hasOwnProperty(type)) {\n throw new Error(`No widget for type \"${type}\"`);\n }\n\n if (widgetMap[type].hasOwnProperty(widget)) {\n const registeredWidget = registeredWidgets[widgetMap[type][widget]];\n return getWidget(schema, registeredWidget, registeredWidgets);\n }\n\n throw new Error(`No widget \"${widget}\" for type \"${type}\"`);\n}\n\nfunction computeDefaults(schema, parentDefaults, definitions = {}) {\n // Compute the defaults recursively: give highest priority to deepest nodes.\n let defaults = parentDefaults;\n if (isObject(defaults) && isObject(schema.default)) {\n // For object defaults, only override parent defaults that are defined in\n // schema.default.\n defaults = mergeObjects(defaults, schema.default);\n } else if (\"default\" in schema) {\n // Use schema defaults for this node.\n defaults = schema.default;\n } else if (\"$ref\" in schema) {\n // Use referenced schema defaults for this node.\n const refSchema = findSchemaDefinition(schema.$ref, definitions);\n return computeDefaults(refSchema, defaults, definitions);\n } else if (isFixedItems(schema)) {\n defaults = schema.items.map(itemSchema =>\n computeDefaults(itemSchema, undefined, definitions)\n );\n }\n // Not defaults defined for this node, fallback to generic typed ones.\n if (typeof defaults === \"undefined\") {\n defaults = schema.default;\n }\n\n switch (schema.type) {\n // We need to recur for object schema inner default values.\n case \"object\":\n return Object.keys(schema.properties || {}).reduce((acc, key) => {\n // Compute the defaults for this node, with the parent defaults we might\n // have from a previous run: defaults[key].\n acc[key] = computeDefaults(\n schema.properties[key],\n (defaults || {})[key],\n definitions\n );\n return acc;\n }, {});\n\n case \"array\":\n if (schema.minItems) {\n if (!isMultiSelect(schema, definitions)) {\n const defaultsLength = defaults ? defaults.length : 0;\n if (schema.minItems > defaultsLength) {\n const defaultEntries = defaults || [];\n // populate the array with the defaults\n const fillerEntries = new Array(\n schema.minItems - defaultsLength\n ).fill(\n computeDefaults(schema.items, schema.items.defaults, definitions)\n );\n // then fill up the rest with either the item default or empty, up to minItems\n\n return defaultEntries.concat(fillerEntries);\n }\n } else {\n return [];\n }\n }\n }\n return defaults;\n}\n\nexport function getDefaultFormState(_schema, formData, definitions = {}) {\n if (!isObject(_schema)) {\n throw new Error(\"Invalid schema: \" + _schema);\n }\n const schema = retrieveSchema(_schema, definitions, formData);\n const defaults = computeDefaults(schema, _schema.default, definitions);\n if (typeof formData === \"undefined\") {\n // No form data? Use schema defaults.\n return defaults;\n }\n if (isObject(formData)) {\n // Override schema defaults with form data.\n return mergeObjects(defaults, formData);\n }\n return formData || defaults;\n}\n\nexport function getUiOptions(uiSchema) {\n // get all passed options from ui:widget, ui:options, and ui:<optionName>\n return Object.keys(uiSchema)\n .filter(key => key.indexOf(\"ui:\") === 0)\n .reduce((options, key) => {\n const value = uiSchema[key];\n\n if (key === \"ui:widget\" && isObject(value)) {\n console.warn(\n \"Setting options via ui:widget object is deprecated, use ui:options instead\"\n );\n return {\n ...options,\n ...(value.options || {}),\n widget: value.component,\n };\n }\n if (key === \"ui:options\" && isObject(value)) {\n return { ...options, ...value };\n }\n return { ...options, [key.substring(3)]: value };\n }, {});\n}\n\nexport function isObject(thing) {\n return typeof thing === \"object\" && thing !== null && !Array.isArray(thing);\n}\n\nexport function mergeObjects(obj1, obj2, concatArrays = false) {\n // Recursively merge deeply nested objects.\n var acc = Object.assign({}, obj1); // Prevent mutation of source object.\n return Object.keys(obj2).reduce((acc, key) => {\n const left = obj1[key],\n right = obj2[key];\n if (obj1.hasOwnProperty(key) && isObject(right)) {\n acc[key] = mergeObjects(left, right, concatArrays);\n } else if (concatArrays && Array.isArray(left) && Array.isArray(right)) {\n acc[key] = left.concat(right);\n } else {\n acc[key] = right;\n }\n return acc;\n }, acc);\n}\n\nexport function asNumber(value) {\n if (value === \"\") {\n return undefined;\n }\n if (/\\.$/.test(value)) {\n // \"3.\" can't really be considered a number even if it parses in js. The\n // user is most likely entering a float.\n return value;\n }\n if (/\\.0$/.test(value)) {\n // we need to return this as a string here, to allow for input like 3.07\n return value;\n }\n const n = Number(value);\n const valid = typeof n === \"number\" && !Number.isNaN(n);\n\n if (/\\.\\d*0$/.test(value)) {\n // It's a number, that's cool - but we need it as a string so it doesn't screw\n // with the user when entering dollar amounts or other values (such as those with\n // specific precision or number of significant digits)\n return value;\n }\n\n return valid ? n : value;\n}\n\nexport function orderProperties(properties, order) {\n if (!Array.isArray(order)) {\n return properties;\n }\n\n const arrayToHash = arr =>\n arr.reduce((prev, curr) => {\n prev[curr] = true;\n return prev;\n }, {});\n const errorPropList = arr =>\n arr.length > 1\n ? `properties '${arr.join(\"', '\")}'`\n : `property '${arr[0]}'`;\n const propertyHash = arrayToHash(properties);\n const orderHash = arrayToHash(order);\n const extraneous = order.filter(prop => prop !== \"*\" && !propertyHash[prop]);\n if (extraneous.length) {\n throw new Error(\n `uiSchema order list contains extraneous ${errorPropList(extraneous)}`\n );\n }\n const rest = properties.filter(prop => !orderHash[prop]);\n const restIndex = order.indexOf(\"*\");\n if (restIndex === -1) {\n if (rest.length) {\n throw new Error(\n `uiSchema order list does not contain ${errorPropList(rest)}`\n );\n }\n return order;\n }\n if (restIndex !== order.lastIndexOf(\"*\")) {\n throw new Error(\"uiSchema order list contains more than one wildcard item\");\n }\n\n const complete = [...order];\n complete.splice(restIndex, 1, ...rest);\n return complete;\n}\n\n/**\n * This function checks if the given schema matches a single\n * constant value.\n */\nexport function isConstant(schema) {\n return (\n (Array.isArray(schema.enum) && schema.enum.length === 1) ||\n schema.hasOwnProperty(\"const\")\n );\n}\n\nexport function toConstant(schema) {\n if (Array.isArray(schema.enum) && schema.enum.length === 1) {\n return schema.enum[0];\n } else if (schema.hasOwnProperty(\"const\")) {\n return schema.const;\n } else {\n throw new Error(\"schema cannot be inferred as a constant\");\n }\n}\n\nexport function isSelect(_schema, definitions = {}) {\n const schema = retrieveSchema(_schema, definitions);\n const altSchemas = schema.oneOf || schema.anyOf;\n if (Array.isArray(schema.enum)) {\n return true;\n } else if (Array.isArray(altSchemas)) {\n return altSchemas.every(altSchemas => isConstant(altSchemas));\n }\n return false;\n}\n\nexport function isMultiSelect(schema, definitions = {}) {\n if (!schema.uniqueItems || !schema.items) {\n return false;\n }\n return isSelect(schema.items, definitions);\n}\n\nexport function isFilesArray(schema, uiSchema, definitions = {}) {\n if (uiSchema[\"ui:widget\"] === \"files\") {\n return true;\n } else if (schema.items) {\n const itemsSchema = retrieveSchema(schema.items, definitions);\n return itemsSchema.type === \"string\" && itemsSchema.format === \"data-url\";\n }\n return false;\n}\n\nexport function isFixedItems(schema) {\n return (\n Array.isArray(schema.items) &&\n schema.items.length > 0 &&\n schema.items.every(item => isObject(item))\n );\n}\n\nexport function allowAdditionalItems(schema) {\n if (schema.additionalItems === true) {\n console.warn(\"additionalItems=true is currently not supported\");\n }\n return isObject(schema.additionalItems);\n}\n\nexport function optionsList(schema) {\n if (schema.enum) {\n return schema.enum.map((value, i) => {\n const label = (schema.enumNames && schema.enumNames[i]) || String(value);\n return { label, value };\n });\n } else {\n const altSchemas = schema.oneOf || schema.anyOf;\n return altSchemas.map((schema, i) => {\n const value = toConstant(schema);\n const label = schema.title || String(value);\n return { label, value };\n });\n }\n}\n\nfunction findSchemaDefinition($ref, definitions = {}) {\n // Extract and use the referenced definition if we have it.\n const match = /^#\\/definitions\\/(.*)$/.exec($ref);\n if (match && match[1]) {\n const parts = match[1].split(\"/\");\n let current = definitions;\n for (let part of parts) {\n part = part.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n if (current.hasOwnProperty(part)) {\n current = current[part];\n } else {\n // No matching definition found, that's an error (bogus schema?)\n throw new Error(`Could not find a definition for ${$ref}.`);\n }\n }\n return current;\n }\n\n // No matching definition found, that's an error (bogus schema?)\n throw new Error(`Could not find a definition for ${$ref}.`);\n}\n\nexport function retrieveSchema(schema, definitions = {}, formData = {}) {\n if (schema.hasOwnProperty(\"$ref\")) {\n // Retrieve the referenced schema definition.\n const $refSchema = findSchemaDefinition(schema.$ref, definitions);\n // Drop the $ref property of the source schema.\n const { $ref, ...localSchema } = schema;\n // Update referenced schema definition with local schema properties.\n return retrieveSchema(\n { ...$refSchema, ...localSchema },\n definitions,\n formData\n );\n } else if (schema.hasOwnProperty(\"dependencies\")) {\n const resolvedSchema = resolveDependencies(schema, definitions, formData);\n return retrieveSchema(resolvedSchema, definitions, formData);\n } else {\n // No $ref or dependencies attribute found, returning the original schema.\n return schema;\n }\n}\n\nfunction resolveDependencies(schema, definitions, formData) {\n // Drop the dependencies from the source schema.\n let { dependencies = {}, ...resolvedSchema } = schema;\n // Process dependencies updating the local schema properties as appropriate.\n for (const dependencyKey in dependencies) {\n // Skip this dependency if its trigger property is not present.\n if (formData[dependencyKey] === undefined) {\n continue;\n }\n const dependencyValue = dependencies[dependencyKey];\n if (Array.isArray(dependencyValue)) {\n resolvedSchema = withDependentProperties(resolvedSchema, dependencyValue);\n } else if (isObject(dependencyValue)) {\n resolvedSchema = withDependentSchema(\n resolvedSchema,\n definitions,\n formData,\n dependencyKey,\n dependencyValue\n );\n }\n }\n return resolvedSchema;\n}\n\nfunction withDependentProperties(schema, additionallyRequired) {\n if (!additionallyRequired) {\n return schema;\n }\n const required = Array.isArray(schema.required)\n ? Array.from(new Set([...schema.required, ...additionallyRequired]))\n : additionallyRequired;\n return { ...schema, required: required };\n}\n\nfunction withDependentSchema(\n schema,\n definitions,\n formData,\n dependencyKey,\n dependencyValue\n) {\n let { oneOf, ...dependentSchema } = retrieveSchema(\n dependencyValue,\n definitions,\n formData\n );\n schema = mergeSchemas(schema, dependentSchema);\n return oneOf === undefined\n ? schema\n : withExactlyOneSubschema(\n schema,\n definitions,\n formData,\n dependencyKey,\n oneOf\n );\n}\n\nfunction withExactlyOneSubschema(\n schema,\n definitions,\n formData,\n dependencyKey,\n oneOf\n) {\n if (!Array.isArray(oneOf)) {\n throw new Error(\n `invalid oneOf: it is some ${typeof oneOf} instead of an array`\n );\n }\n const validSubschemas = oneOf.filter(subschema => {\n if (!subschema.properties) {\n return false;\n }\n const { [dependencyKey]: conditionPropertySchema } = subschema.properties;\n if (conditionPropertySchema) {\n const conditionSchema = {\n type: \"object\",\n properties: {\n [dependencyKey]: conditionPropertySchema,\n },\n };\n const { errors } = validateFormData(formData, conditionSchema);\n return errors.length === 0;\n }\n });\n if (validSubschemas.length !== 1) {\n console.warn(\n \"ignoring oneOf in dependencies because there isn't exactly one subschema that is valid\"\n );\n return schema;\n }\n const subschema = validSubschemas[0];\n const {\n [dependencyKey]: conditionPropertySchema,\n ...dependentSubschema\n } = subschema.properties;\n const dependentSchema = { ...subschema, properties: dependentSubschema };\n return mergeSchemas(\n schema,\n retrieveSchema(dependentSchema, definitions, formData)\n );\n}\n\nfunction mergeSchemas(schema1, schema2) {\n return mergeObjects(schema1, schema2, true);\n}\n\nfunction isArguments(object) {\n return Object.prototype.toString.call(object) === \"[object Arguments]\";\n}\n\nexport function deepEquals(a, b, ca = [], cb = []) {\n // Partially extracted from node-deeper and adapted to exclude comparison\n // checks for functions.\n // https://github.com/othiym23/node-deeper\n if (a === b) {\n return true;\n } else if (typeof a === \"function\" || typeof b === \"function\") {\n // Assume all functions are equivalent\n // see https://github.com/mozilla-services/react-jsonschema-form/issues/255\n return true;\n } else if (typeof a !== \"object\" || typeof b !== \"object\") {\n return false;\n } else if (a === null || b === null) {\n return false;\n } else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n } else if (a instanceof RegExp && b instanceof RegExp) {\n return (\n a.source === b.source &&\n a.global === b.global &&\n a.multiline === b.multiline &&\n a.lastIndex === b.lastIndex &&\n a.ignoreCase === b.ignoreCase\n );\n } else if (isArguments(a) || isArguments(b)) {\n if (!(isArguments(a) && isArguments(b))) {\n return false;\n }\n let slice = Array.prototype.slice;\n return deepEquals(slice.call(a), slice.call(b), ca, cb);\n } else {\n if (a.constructor !== b.constructor) {\n return false;\n }\n\n let ka = Object.keys(a);\n let kb = Object.keys(b);\n // don't bother with stack acrobatics if there's nothing there\n if (ka.length === 0 && kb.length === 0) {\n return true;\n }\n if (ka.length !== kb.length) {\n return false;\n }\n\n let cal = ca.length;\n while (cal--) {\n if (ca[cal] === a) {\n return cb[cal] === b;\n }\n }\n ca.push(a);\n cb.push(b);\n\n ka.sort();\n kb.sort();\n for (var j = ka.length - 1; j >= 0; j--) {\n if (ka[j] !== kb[j]) {\n return false;\n }\n }\n\n let key;\n for (let k = ka.length - 1; k >= 0; k--) {\n key = ka[k];\n if (!deepEquals(a[key], b[key], ca, cb)) {\n return false;\n }\n }\n\n ca.pop();\n cb.pop();\n\n return true;\n }\n}\n\nexport function shouldRender(comp, nextProps, nextState) {\n const { props, state } = comp;\n return !deepEquals(props, nextProps) || !deepEquals(state, nextState);\n}\n\nexport function toIdSchema(\n schema,\n id,\n definitions,\n formData = {},\n idPrefix = \"root\"\n) {\n const idSchema = {\n $id: id || idPrefix,\n };\n if (\"$ref\" in schema) {\n const _schema = retrieveSchema(schema, definitions, formData);\n return toIdSchema(_schema, id, definitions, formData, idPrefix);\n }\n if (\"items\" in schema && !schema.items.$ref) {\n return toIdSchema(schema.items, id, definitions, formData, idPrefix);\n }\n if (schema.type !== \"object\") {\n return idSchema;\n }\n for (const name in schema.properties || {}) {\n const field = schema.properties[name];\n const fieldId = idSchema.$id + \"_\" + name;\n idSchema[name] = toIdSchema(\n field,\n fieldId,\n definitions,\n formData[name],\n idPrefix\n );\n }\n return idSchema;\n}\n\nexport function parseDateString(dateString, includeTime = true) {\n if (!dateString) {\n return {\n year: -1,\n month: -1,\n day: -1,\n hour: includeTime ? -1 : 0,\n minute: includeTime ? -1 : 0,\n second: includeTime ? -1 : 0,\n };\n }\n const date = new Date(dateString);\n if (Number.isNaN(date.getTime())) {\n throw new Error(\"Unable to parse date \" + dateString);\n }\n return {\n year: date.getUTCFullYear(),\n month: date.getUTCMonth() + 1, // oh you, javascript.\n day: date.getUTCDate(),\n hour: includeTime ? date.getUTCHours() : 0,\n minute: includeTime ? date.getUTCMinutes() : 0,\n second: includeTime ? date.getUTCSeconds() : 0,\n };\n}\n\nexport function toDateString(\n { year, month, day, hour = 0, minute = 0, second = 0 },\n time = true\n) {\n const utcTime = Date.UTC(year, month - 1, day, hour, minute, second);\n const datetime = new Date(utcTime).toJSON();\n return time ? datetime : datetime.slice(0, 10);\n}\n\nexport function pad(num, size) {\n let s = String(num);\n while (s.length < size) {\n s = \"0\" + s;\n }\n return s;\n}\n\nexport function setState(instance, state, callback) {\n const { safeRenderCompletion } = instance.props;\n if (safeRenderCompletion) {\n instance.setState(state, callback);\n } else {\n instance.setState(state);\n setImmediate(callback);\n }\n}\n\nexport function dataURItoBlob(dataURI) {\n // Split metadata from data\n const splitted = dataURI.split(\",\");\n // Split params\n const params = splitted[0].split(\";\");\n // Get mime-type from params\n const type = params[0].replace(\"data:\", \"\");\n // Filter the name property from params\n const properties = params.filter(param => {\n return param.split(\"=\")[0] === \"name\";\n });\n // Look for the name and use unknown if no name property.\n let name;\n if (properties.length !== 1) {\n name = \"unknown\";\n } else {\n // Because we filtered out the other property,\n // we only have the name case here.\n name = properties[0].split(\"=\")[1];\n }\n\n // Built the Uint8Array Blob parameter from the base64 string.\n const binary = atob(splitted[1]);\n const array = [];\n for (let i = 0; i < binary.length; i++) {\n array.push(binary.charCodeAt(i));\n }\n // Create the blob object\n const blob = new window.Blob([new Uint8Array(array)], { type });\n\n return { blob, name };\n}\n\nexport function rangeSpec(schema) {\n const spec = {};\n if (schema.multipleOf) {\n spec.step = schema.multipleOf;\n }\n if (schema.minimum || schema.minimum === 0) {\n spec.min = schema.minimum;\n }\n if (schema.maximum || schema.maximum === 0) {\n spec.max = schema.maximum;\n }\n return spec;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./utils.js","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n// WEBPACK FOOTER //\n// ../~/timers-browserify/main.js","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n// WEBPACK FOOTER //\n// ../~/timers-browserify/~/process/browser.js","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\n var script = doc.createElement(\"script\");\n script.onreadystatechange = function () {\n runIfPresent(handle);\n script.onreadystatechange = null;\n html.removeChild(script);\n script = null;\n };\n html.appendChild(script);\n };\n }\n\n function installSetTimeoutImplementation() {\n registerImmediate = function(handle) {\n setTimeout(runIfPresent, 0, handle);\n };\n }\n\n // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.\n var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n\n // Don't get fooled by e.g. browserify environments.\n if ({}.toString.call(global.process) === \"[object process]\") {\n // For Node.js before 0.9\n installNextTickImplementation();\n\n } else if (canUsePostMessage()) {\n // For non-IE10 modern browsers\n installPostMessageImplementation();\n\n } else if (global.MessageChannel) {\n // For web workers, where supported\n installMessageChannelImplementation();\n\n } else if (doc && \"onreadystatechange\" in doc.createElement(\"script\")) {\n // For IE 6–8\n installReadyStateChangeImplementation();\n\n } else {\n // For older browsers\n installSetTimeoutImplementation();\n }\n\n attachTo.setImmediate = setImmediate;\n attachTo.clearImmediate = clearImmediate;\n}(typeof self === \"undefined\" ? typeof global === \"undefined\" ? this : global : self));\n\n\n\n// WEBPACK FOOTER //\n// ../~/setimmediate/setImmediate.js","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n// WEBPACK FOOTER //\n// ../~/node-libs-browser/~/process/browser.js","import toPath from \"lodash.topath\";\nimport Ajv from \"ajv\";\nconst ajv = new Ajv({\n errorDataPath: \"property\",\n allErrors: true,\n});\n// add custom formats\najv.addFormat(\n \"data-url\",\n /^data:([a-z]+\\/[a-z0-9-+.]+)?;name=(.*);base64,(.*)$/\n);\najv.addFormat(\n \"color\",\n /^(#?([0-9A-Fa-f]{3}){1,2}\\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\)))$/\n);\n\nimport { isObject, mergeObjects } from \"./utils\";\n\nfunction toErrorSchema(errors) {\n // Transforms a ajv validation errors list:\n // [\n // {property: \".level1.level2[2].level3\", message: \"err a\"},\n // {property: \".level1.level2[2].level3\", message: \"err b\"},\n // {property: \".level1.level2[4].level3\", message: \"err b\"},\n // ]\n // Into an error tree:\n // {\n // level1: {\n // level2: {\n // 2: {level3: {errors: [\"err a\", \"err b\"]}},\n // 4: {level3: {errors: [\"err b\"]}},\n // }\n // }\n // };\n if (!errors.length) {\n return {};\n }\n return errors.reduce((errorSchema, error) => {\n const { property, message } = error;\n const path = toPath(property);\n let parent = errorSchema;\n\n // If the property is at the root (.level1) then toPath creates\n // an empty array element at the first index. Remove it.\n if (path.length > 0 && path[0] === \"\") {\n path.splice(0, 1);\n }\n\n for (const segment of path.slice(0)) {\n if (!(segment in parent)) {\n parent[segment] = {};\n }\n parent = parent[segment];\n }\n if (Array.isArray(parent.__errors)) {\n // We store the list of errors for this node in a property named __errors\n // to avoid name collision with a possible sub schema field named\n // \"errors\" (see `validate.createErrorHandler`).\n parent.__errors = parent.__errors.concat(message);\n } else {\n parent.__errors = [message];\n }\n return errorSchema;\n }, {});\n}\n\nexport function toErrorList(errorSchema, fieldName = \"root\") {\n // XXX: We should transform fieldName as a full field path string.\n let errorList = [];\n if (\"__errors\" in errorSchema) {\n errorList = errorList.concat(\n errorSchema.__errors.map(stack => {\n return {\n stack: `${fieldName}: ${stack}`,\n };\n })\n );\n }\n return Object.keys(errorSchema).reduce((acc, key) => {\n if (key !== \"__errors\") {\n acc = acc.concat(toErrorList(errorSchema[key], key));\n }\n return acc;\n }, errorList);\n}\n\nfunction createErrorHandler(formData) {\n const handler = {\n // We store the list of errors for this node in a property named __errors\n // to avoid name collision with a possible sub schema field named\n // \"errors\" (see `utils.toErrorSchema`).\n __errors: [],\n addError(message) {\n this.__errors.push(message);\n },\n };\n if (isObject(formData)) {\n return Object.keys(formData).reduce((acc, key) => {\n return { ...acc, [key]: createErrorHandler(formData[key]) };\n }, handler);\n }\n if (Array.isArray(formData)) {\n return formData.reduce((acc, value, key) => {\n return { ...acc, [key]: createErrorHandler(value) };\n }, handler);\n }\n return handler;\n}\n\nfunction unwrapErrorHandler(errorHandler) {\n return Object.keys(errorHandler).reduce((acc, key) => {\n if (key === \"addError\") {\n return acc;\n } else if (key === \"__errors\") {\n return { ...acc, [key]: errorHandler[key] };\n }\n return { ...acc, [key]: unwrapErrorHandler(errorHandler[key]) };\n }, {});\n}\n\n/**\n * Transforming the error output from ajv to format used by jsonschema.\n * At some point, components should be updated to support ajv.\n */\nfunction transformAjvErrors(errors = []) {\n if (errors === null) {\n return [];\n }\n\n return errors.map(e => {\n const { dataPath, keyword, message, params } = e;\n let property = `${dataPath}`;\n\n // put data in expected format\n return {\n name: keyword,\n property,\n message,\n params, // specific to ajv\n stack: `${property} ${message}`.trim(),\n };\n });\n}\n\n/**\n * This function processes the formData with a user `validate` contributed\n * function, which receives the form data and an `errorHandler` object that\n * will be used to add custom validation errors for each field.\n */\nexport default function validateFormData(\n formData,\n schema,\n customValidate,\n transformErrors\n) {\n try {\n ajv.validate(schema, formData);\n } catch (e) {\n // swallow errors thrown in ajv due to invalid schemas, these\n // still get displayed\n }\n\n let errors = transformAjvErrors(ajv.errors);\n\n if (typeof transformErrors === \"function\") {\n errors = transformErrors(errors);\n }\n const errorSchema = toErrorSchema(errors);\n\n if (typeof customValidate !== \"function\") {\n return { errors, errorSchema };\n }\n\n const errorHandler = customValidate(formData, createErrorHandler(formData));\n const userErrorSchema = unwrapErrorHandler(errorHandler);\n const newErrorSchema = mergeObjects(errorSchema, userErrorSchema, true);\n // XXX: The errors list produced is not fully compliant with the format\n // exposed by the jsonschema lib, which contains full field paths and other\n // properties.\n const newErrors = toErrorList(newErrorSchema);\n\n return { errors: newErrors, errorSchema: newErrorSchema };\n}\n\n\n\n// WEBPACK FOOTER //\n// ./validate.js","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n symbolTag = '[object Symbol]';\n\n/** Used to match property names within property paths. */\nvar reLeadingDot = /^\\./,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array ? array.length : 0,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol,\n splice = arrayProto.splice;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoize(function(string) {\n string = toString(string);\n\n var result = [];\n if (reLeadingDot.test(string)) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Converts `value` to a property path array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {*} value The value to convert.\n * @returns {Array} Returns the new property path array.\n * @example\n *\n * _.toPath('a.b.c');\n * // => ['a', 'b', 'c']\n *\n * _.toPath('a[0].b.c');\n * // => ['a', '0', 'b', 'c']\n */\nfunction toPath(value) {\n if (isArray(value)) {\n return arrayMap(value, toKey);\n }\n return isSymbol(value) ? [value] : copyArray(stringToPath(value));\n}\n\nmodule.exports = toPath;\n\n\n\n// WEBPACK FOOTER //\n// ../~/lodash.topath/index.js","'use strict';\n\nvar compileSchema = require('./compile')\n , resolve = require('./compile/resolve')\n , Cache = require('./cache')\n , SchemaObject = require('./compile/schema_obj')\n , stableStringify = require('json-stable-stringify')\n , formats = require('./compile/formats')\n , rules = require('./compile/rules')\n , $dataMetaSchema = require('./$data')\n , patternGroups = require('./patternGroups')\n , util = require('./compile/util')\n , co = require('co');\n\nmodule.exports = Ajv;\n\nAjv.prototype.validate = validate;\nAjv.prototype.compile = compile;\nAjv.prototype.addSchema = addSchema;\nAjv.prototype.addMetaSchema = addMetaSchema;\nAjv.prototype.validateSchema = validateSchema;\nAjv.prototype.getSchema = getSchema;\nAjv.prototype.removeSchema = removeSchema;\nAjv.prototype.addFormat = addFormat;\nAjv.prototype.errorsText = errorsText;\n\nAjv.prototype._addSchema = _addSchema;\nAjv.prototype._compile = _compile;\n\nAjv.prototype.compileAsync = require('./compile/async');\nvar customKeyword = require('./keyword');\nAjv.prototype.addKeyword = customKeyword.add;\nAjv.prototype.getKeyword = customKeyword.get;\nAjv.prototype.removeKeyword = customKeyword.remove;\n\nvar errorClasses = require('./compile/error_classes');\nAjv.ValidationError = errorClasses.Validation;\nAjv.MissingRefError = errorClasses.MissingRef;\nAjv.$dataMetaSchema = $dataMetaSchema;\n\nvar META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema';\n\nvar META_IGNORE_OPTIONS = [ 'removeAdditional', 'useDefaults', 'coerceTypes' ];\nvar META_SUPPORT_DATA = ['/properties'];\n\n/**\n * Creates validator instance.\n * Usage: `Ajv(opts)`\n * @param {Object} opts optional options\n * @return {Object} ajv instance\n */\nfunction Ajv(opts) {\n if (!(this instanceof Ajv)) return new Ajv(opts);\n opts = this._opts = util.copy(opts) || {};\n this._schemas = {};\n this._refs = {};\n this._fragments = {};\n this._formats = formats(opts.format);\n var schemaUriFormat = this._schemaUriFormat = this._formats['uri-reference'];\n this._schemaUriFormatFunc = function (str) { return schemaUriFormat.test(str); };\n\n this._cache = opts.cache || new Cache;\n this._loadingSchemas = {};\n this._compilations = [];\n this.RULES = rules();\n this._getId = chooseGetId(opts);\n\n opts.loopRequired = opts.loopRequired || Infinity;\n if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true;\n if (opts.serialize === undefined) opts.serialize = stableStringify;\n this._metaOpts = getMetaSchemaOptions(this);\n\n if (opts.formats) addInitialFormats(this);\n addDraft6MetaSchema(this);\n if (typeof opts.meta == 'object') this.addMetaSchema(opts.meta);\n addInitialSchemas(this);\n if (opts.patternGroups) patternGroups(this);\n}\n\n\n\n/**\n * Validate data using schema\n * Schema will be compiled and cached (using serialized JSON as key. [json-stable-stringify](https://github.com/substack/json-stable-stringify) is used to serialize.\n * @this Ajv\n * @param {String|Object} schemaKeyRef key, ref or schema object\n * @param {Any} data to be validated\n * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`).\n */\nfunction validate(schemaKeyRef, data) {\n var v;\n if (typeof schemaKeyRef == 'string') {\n v = this.getSchema(schemaKeyRef);\n if (!v) throw new Error('no schema with key or ref \"' + schemaKeyRef + '\"');\n } else {\n var schemaObj = this._addSchema(schemaKeyRef);\n v = schemaObj.validate || this._compile(schemaObj);\n }\n\n var valid = v(data);\n if (v.$async === true)\n return this._opts.async == '*' ? co(valid) : valid;\n this.errors = v.errors;\n return valid;\n}\n\n\n/**\n * Create validating function for passed schema.\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords.\n * @return {Function} validating function\n */\nfunction compile(schema, _meta) {\n var schemaObj = this._addSchema(schema, undefined, _meta);\n return schemaObj.validate || this._compile(schemaObj);\n}\n\n\n/**\n * Adds schema to the instance.\n * @this Ajv\n * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored.\n * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.\n * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead.\n * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.\n */\nfunction addSchema(schema, key, _skipValidation, _meta) {\n if (Array.isArray(schema)){\n for (var i=0; i<schema.length; i++) this.addSchema(schema[i], undefined, _skipValidation, _meta);\n return;\n }\n var id = this._getId(schema);\n if (id !== undefined && typeof id != 'string')\n throw new Error('schema id must be string');\n key = resolve.normalizeId(key || id);\n checkUnique(this, key);\n this._schemas[key] = this._addSchema(schema, _skipValidation, _meta, true);\n}\n\n\n/**\n * Add schema that will be used to validate other schemas\n * options in META_IGNORE_OPTIONS are alway set to false\n * @this Ajv\n * @param {Object} schema schema object\n * @param {String} key optional schema key\n * @param {Boolean} skipValidation true to skip schema validation, can be used to override validateSchema option for meta-schema\n */\nfunction addMetaSchema(schema, key, skipValidation) {\n this.addSchema(schema, key, skipValidation, true);\n}\n\n\n/**\n * Validate schema\n * @this Ajv\n * @param {Object} schema schema to validate\n * @param {Boolean} throwOrLogError pass true to throw (or log) an error if invalid\n * @return {Boolean} true if schema is valid\n */\nfunction validateSchema(schema, throwOrLogError) {\n var $schema = schema.$schema;\n if ($schema !== undefined && typeof $schema != 'string')\n throw new Error('$schema must be a string');\n $schema = $schema || this._opts.defaultMeta || defaultMeta(this);\n if (!$schema) {\n console.warn('meta-schema not available');\n this.errors = null;\n return true;\n }\n var currentUriFormat = this._formats.uri;\n this._formats.uri = typeof currentUriFormat == 'function'\n ? this._schemaUriFormatFunc\n : this._schemaUriFormat;\n var valid;\n try { valid = this.validate($schema, schema); }\n finally { this._formats.uri = currentUriFormat; }\n if (!valid && throwOrLogError) {\n var message = 'schema is invalid: ' + this.errorsText();\n if (this._opts.validateSchema == 'log') console.error(message);\n else throw new Error(message);\n }\n return valid;\n}\n\n\nfunction defaultMeta(self) {\n var meta = self._opts.meta;\n self._opts.defaultMeta = typeof meta == 'object'\n ? self._getId(meta) || meta\n : self.getSchema(META_SCHEMA_ID)\n ? META_SCHEMA_ID\n : undefined;\n return self._opts.defaultMeta;\n}\n\n\n/**\n * Get compiled schema from the instance by `key` or `ref`.\n * @this Ajv\n * @param {String} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id).\n * @return {Function} schema validating function (with property `schema`).\n */\nfunction getSchema(keyRef) {\n var schemaObj = _getSchemaObj(this, keyRef);\n switch (typeof schemaObj) {\n case 'object': return schemaObj.validate || this._compile(schemaObj);\n case 'string': return this.getSchema(schemaObj);\n case 'undefined': return _getSchemaFragment(this, keyRef);\n }\n}\n\n\nfunction _getSchemaFragment(self, ref) {\n var res = resolve.schema.call(self, { schema: {} }, ref);\n if (res) {\n var schema = res.schema\n , root = res.root\n , baseId = res.baseId;\n var v = compileSchema.call(self, schema, root, undefined, baseId);\n self._fragments[ref] = new SchemaObject({\n ref: ref,\n fragment: true,\n schema: schema,\n root: root,\n baseId: baseId,\n validate: v\n });\n return v;\n }\n}\n\n\nfunction _getSchemaObj(self, keyRef) {\n keyRef = resolve.normalizeId(keyRef);\n return self._schemas[keyRef] || self._refs[keyRef] || self._fragments[keyRef];\n}\n\n\n/**\n * Remove cached schema(s).\n * If no parameter is passed all schemas but meta-schemas are removed.\n * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.\n * Even if schema is referenced by other schemas it still can be removed as other schemas have local references.\n * @this Ajv\n * @param {String|Object|RegExp} schemaKeyRef key, ref, pattern to match key/ref or schema object\n */\nfunction removeSchema(schemaKeyRef) {\n if (schemaKeyRef instanceof RegExp) {\n _removeAllSchemas(this, this._schemas, schemaKeyRef);\n _removeAllSchemas(this, this._refs, schemaKeyRef);\n return;\n }\n switch (typeof schemaKeyRef) {\n case 'undefined':\n _removeAllSchemas(this, this._schemas);\n _removeAllSchemas(this, this._refs);\n this._cache.clear();\n return;\n case 'string':\n var schemaObj = _getSchemaObj(this, schemaKeyRef);\n if (schemaObj) this._cache.del(schemaObj.cacheKey);\n delete this._schemas[schemaKeyRef];\n delete this._refs[schemaKeyRef];\n return;\n case 'object':\n var serialize = this._opts.serialize;\n var cacheKey = serialize ? serialize(schemaKeyRef) : schemaKeyRef;\n this._cache.del(cacheKey);\n var id = this._getId(schemaKeyRef);\n if (id) {\n id = resolve.normalizeId(id);\n delete this._schemas[id];\n delete this._refs[id];\n }\n }\n}\n\n\nfunction _removeAllSchemas(self, schemas, regex) {\n for (var keyRef in schemas) {\n var schemaObj = schemas[keyRef];\n if (!schemaObj.meta && (!regex || regex.test(keyRef))) {\n self._cache.del(schemaObj.cacheKey);\n delete schemas[keyRef];\n }\n }\n}\n\n\n/* @this Ajv */\nfunction _addSchema(schema, skipValidation, meta, shouldAddSchema) {\n if (typeof schema != 'object' && typeof schema != 'boolean')\n throw new Error('schema should be object or boolean');\n var serialize = this._opts.serialize;\n var cacheKey = serialize ? serialize(schema) : schema;\n var cached = this._cache.get(cacheKey);\n if (cached) return cached;\n\n shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;\n\n var id = resolve.normalizeId(this._getId(schema));\n if (id && shouldAddSchema) checkUnique(this, id);\n\n var willValidate = this._opts.validateSchema !== false && !skipValidation;\n var recursiveMeta;\n if (willValidate && !(recursiveMeta = id && id == resolve.normalizeId(schema.$schema)))\n this.validateSchema(schema, true);\n\n var localRefs = resolve.ids.call(this, schema);\n\n var schemaObj = new SchemaObject({\n id: id,\n schema: schema,\n localRefs: localRefs,\n cacheKey: cacheKey,\n meta: meta\n });\n\n if (id[0] != '#' && shouldAddSchema) this._refs[id] = schemaObj;\n this._cache.put(cacheKey, schemaObj);\n\n if (willValidate && recursiveMeta) this.validateSchema(schema, true);\n\n return schemaObj;\n}\n\n\n/* @this Ajv */\nfunction _compile(schemaObj, root) {\n if (schemaObj.compiling) {\n schemaObj.validate = callValidate;\n callValidate.schema = schemaObj.schema;\n callValidate.errors = null;\n callValidate.root = root ? root : callValidate;\n if (schemaObj.schema.$async === true)\n callValidate.$async = true;\n return callValidate;\n }\n schemaObj.compiling = true;\n\n var currentOpts;\n if (schemaObj.meta) {\n currentOpts = this._opts;\n this._opts = this._metaOpts;\n }\n\n var v;\n try { v = compileSchema.call(this, schemaObj.schema, root, schemaObj.localRefs); }\n finally {\n schemaObj.compiling = false;\n if (schemaObj.meta) this._opts = currentOpts;\n }\n\n schemaObj.validate = v;\n schemaObj.refs = v.refs;\n schemaObj.refVal = v.refVal;\n schemaObj.root = v.root;\n return v;\n\n\n function callValidate() {\n var _validate = schemaObj.validate;\n var result = _validate.apply(null, arguments);\n callValidate.errors = _validate.errors;\n return result;\n }\n}\n\n\nfunction chooseGetId(opts) {\n switch (opts.schemaId) {\n case '$id': return _get$Id;\n case 'id': return _getId;\n default: return _get$IdOrId;\n }\n}\n\n\nfunction _getId(schema) {\n if (schema.$id) console.warn('schema $id ignored', schema.$id);\n return schema.id;\n}\n\n\nfunction _get$Id(schema) {\n if (schema.id) console.warn('schema id ignored', schema.id);\n return schema.$id;\n}\n\n\nfunction _get$IdOrId(schema) {\n if (schema.$id && schema.id && schema.$id != schema.id)\n throw new Error('schema $id is different from id');\n return schema.$id || schema.id;\n}\n\n\n/**\n * Convert array of error message objects to string\n * @this Ajv\n * @param {Array<Object>} errors optional array of validation errors, if not passed errors from the instance are used.\n * @param {Object} options optional options with properties `separator` and `dataVar`.\n * @return {String} human readable string with all errors descriptions\n */\nfunction errorsText(errors, options) {\n errors = errors || this.errors;\n if (!errors) return 'No errors';\n options = options || {};\n var separator = options.separator === undefined ? ', ' : options.separator;\n var dataVar = options.dataVar === undefined ? 'data' : options.dataVar;\n\n var text = '';\n for (var i=0; i<errors.length; i++) {\n var e = errors[i];\n if (e) text += dataVar + e.dataPath + ' ' + e.message + separator;\n }\n return text.slice(0, -separator.length);\n}\n\n\n/**\n * Add custom format\n * @this Ajv\n * @param {String} name format name\n * @param {String|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid)\n */\nfunction addFormat(name, format) {\n if (typeof format == 'string') format = new RegExp(format);\n this._formats[name] = format;\n}\n\n\nfunction addDraft6MetaSchema(self) {\n var $dataSchema;\n if (self._opts.$data) {\n $dataSchema = require('./refs/$data.json');\n self.addMetaSchema($dataSchema, $dataSchema.$id, true);\n }\n if (self._opts.meta === false) return;\n var metaSchema = require('./refs/json-schema-draft-06.json');\n if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);\n self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);\n self._refs['http://json-schema.org/schema'] = META_SCHEMA_ID;\n}\n\n\nfunction addInitialSchemas(self) {\n var optsSchemas = self._opts.schemas;\n if (!optsSchemas) return;\n if (Array.isArray(optsSchemas)) self.addSchema(optsSchemas);\n else for (var key in optsSchemas) self.addSchema(optsSchemas[key], key);\n}\n\n\nfunction addInitialFormats(self) {\n for (var name in self._opts.formats) {\n var format = self._opts.formats[name];\n self.addFormat(name, format);\n }\n}\n\n\nfunction checkUnique(self, id) {\n if (self._schemas[id] || self._refs[id])\n throw new Error('schema with key or id \"' + id + '\" already exists');\n}\n\n\nfunction getMetaSchemaOptions(self) {\n var metaOpts = util.copy(self._opts);\n for (var i=0; i<META_IGNORE_OPTIONS.length; i++)\n delete metaOpts[META_IGNORE_OPTIONS[i]];\n return metaOpts;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/ajv.js","'use strict';\n\nvar resolve = require('./resolve')\n , util = require('./util')\n , errorClasses = require('./error_classes')\n , stableStringify = require('json-stable-stringify');\n\nvar validateGenerator = require('../dotjs/validate');\n\n/**\n * Functions below are used inside compiled validations function\n */\n\nvar co = require('co');\nvar ucs2length = util.ucs2length;\nvar equal = require('fast-deep-equal');\n\n// this error is thrown by async schemas to return validation errors via exception\nvar ValidationError = errorClasses.Validation;\n\nmodule.exports = compile;\n\n\n/**\n * Compiles schema to validation function\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Object} root object with information about the root schema for this schema\n * @param {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution\n * @param {String} baseId base ID for IDs in the schema\n * @return {Function} validation function\n */\nfunction compile(schema, root, localRefs, baseId) {\n /* jshint validthis: true, evil: true */\n /* eslint no-shadow: 0 */\n var self = this\n , opts = this._opts\n , refVal = [ undefined ]\n , refs = {}\n , patterns = []\n , patternsHash = {}\n , defaults = []\n , defaultsHash = {}\n , customRules = [];\n\n root = root || { schema: schema, refVal: refVal, refs: refs };\n\n var c = checkCompiling.call(this, schema, root, baseId);\n var compilation = this._compilations[c.index];\n if (c.compiling) return (compilation.callValidate = callValidate);\n\n var formats = this._formats;\n var RULES = this.RULES;\n\n try {\n var v = localCompile(schema, root, localRefs, baseId);\n compilation.validate = v;\n var cv = compilation.callValidate;\n if (cv) {\n cv.schema = v.schema;\n cv.errors = null;\n cv.refs = v.refs;\n cv.refVal = v.refVal;\n cv.root = v.root;\n cv.$async = v.$async;\n if (opts.sourceCode) cv.source = v.source;\n }\n return v;\n } finally {\n endCompiling.call(this, schema, root, baseId);\n }\n\n function callValidate() {\n var validate = compilation.validate;\n var result = validate.apply(null, arguments);\n callValidate.errors = validate.errors;\n return result;\n }\n\n function localCompile(_schema, _root, localRefs, baseId) {\n var isRoot = !_root || (_root && _root.schema == _schema);\n if (_root.schema != root.schema)\n return compile.call(self, _schema, _root, localRefs, baseId);\n\n var $async = _schema.$async === true;\n\n var sourceCode = validateGenerator({\n isTop: true,\n schema: _schema,\n isRoot: isRoot,\n baseId: baseId,\n root: _root,\n schemaPath: '',\n errSchemaPath: '#',\n errorPath: '\"\"',\n MissingRefError: errorClasses.MissingRef,\n RULES: RULES,\n validate: validateGenerator,\n util: util,\n resolve: resolve,\n resolveRef: resolveRef,\n usePattern: usePattern,\n useDefault: useDefault,\n useCustomRule: useCustomRule,\n opts: opts,\n formats: formats,\n self: self\n });\n\n sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode)\n + vars(defaults, defaultCode) + vars(customRules, customRuleCode)\n + sourceCode;\n\n if (opts.processCode) sourceCode = opts.processCode(sourceCode);\n // console.log('\\n\\n\\n *** \\n', JSON.stringify(sourceCode));\n var validate;\n try {\n var makeValidate = new Function(\n 'self',\n 'RULES',\n 'formats',\n 'root',\n 'refVal',\n 'defaults',\n 'customRules',\n 'co',\n 'equal',\n 'ucs2length',\n 'ValidationError',\n sourceCode\n );\n\n validate = makeValidate(\n self,\n RULES,\n formats,\n root,\n refVal,\n defaults,\n customRules,\n co,\n equal,\n ucs2length,\n ValidationError\n );\n\n refVal[0] = validate;\n } catch(e) {\n console.error('Error compiling schema, function code:', sourceCode);\n throw e;\n }\n\n validate.schema = _schema;\n validate.errors = null;\n validate.refs = refs;\n validate.refVal = refVal;\n validate.root = isRoot ? validate : _root;\n if ($async) validate.$async = true;\n if (opts.sourceCode === true) {\n validate.source = {\n code: sourceCode,\n patterns: patterns,\n defaults: defaults\n };\n }\n\n return validate;\n }\n\n function resolveRef(baseId, ref, isRoot) {\n ref = resolve.url(baseId, ref);\n var refIndex = refs[ref];\n var _refVal, refCode;\n if (refIndex !== undefined) {\n _refVal = refVal[refIndex];\n refCode = 'refVal[' + refIndex + ']';\n return resolvedRef(_refVal, refCode);\n }\n if (!isRoot && root.refs) {\n var rootRefId = root.refs[ref];\n if (rootRefId !== undefined) {\n _refVal = root.refVal[rootRefId];\n refCode = addLocalRef(ref, _refVal);\n return resolvedRef(_refVal, refCode);\n }\n }\n\n refCode = addLocalRef(ref);\n var v = resolve.call(self, localCompile, root, ref);\n if (v === undefined) {\n var localSchema = localRefs && localRefs[ref];\n if (localSchema) {\n v = resolve.inlineRef(localSchema, opts.inlineRefs)\n ? localSchema\n : compile.call(self, localSchema, root, localRefs, baseId);\n }\n }\n\n if (v === undefined) {\n removeLocalRef(ref);\n } else {\n replaceLocalRef(ref, v);\n return resolvedRef(v, refCode);\n }\n }\n\n function addLocalRef(ref, v) {\n var refId = refVal.length;\n refVal[refId] = v;\n refs[ref] = refId;\n return 'refVal' + refId;\n }\n\n function removeLocalRef(ref) {\n delete refs[ref];\n }\n\n function replaceLocalRef(ref, v) {\n var refId = refs[ref];\n refVal[refId] = v;\n }\n\n function resolvedRef(refVal, code) {\n return typeof refVal == 'object' || typeof refVal == 'boolean'\n ? { code: code, schema: refVal, inline: true }\n : { code: code, $async: refVal && refVal.$async };\n }\n\n function usePattern(regexStr) {\n var index = patternsHash[regexStr];\n if (index === undefined) {\n index = patternsHash[regexStr] = patterns.length;\n patterns[index] = regexStr;\n }\n return 'pattern' + index;\n }\n\n function useDefault(value) {\n switch (typeof value) {\n case 'boolean':\n case 'number':\n return '' + value;\n case 'string':\n return util.toQuotedString(value);\n case 'object':\n if (value === null) return 'null';\n var valueStr = stableStringify(value);\n var index = defaultsHash[valueStr];\n if (index === undefined) {\n index = defaultsHash[valueStr] = defaults.length;\n defaults[index] = value;\n }\n return 'default' + index;\n }\n }\n\n function useCustomRule(rule, schema, parentSchema, it) {\n var validateSchema = rule.definition.validateSchema;\n if (validateSchema && self._opts.validateSchema !== false) {\n var valid = validateSchema(schema);\n if (!valid) {\n var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors);\n if (self._opts.validateSchema == 'log') console.error(message);\n else throw new Error(message);\n }\n }\n\n var compile = rule.definition.compile\n , inline = rule.definition.inline\n , macro = rule.definition.macro;\n\n var validate;\n if (compile) {\n validate = compile.call(self, schema, parentSchema, it);\n } else if (macro) {\n validate = macro.call(self, schema, parentSchema, it);\n if (opts.validateSchema !== false) self.validateSchema(validate, true);\n } else if (inline) {\n validate = inline.call(self, it, rule.keyword, schema, parentSchema);\n } else {\n validate = rule.definition.validate;\n if (!validate) return;\n }\n\n if (validate === undefined)\n throw new Error('custom keyword \"' + rule.keyword + '\"failed to compile');\n\n var index = customRules.length;\n customRules[index] = validate;\n\n return {\n code: 'customRule' + index,\n validate: validate\n };\n }\n}\n\n\n/**\n * Checks if the schema is currently compiled\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n * @return {Object} object with properties \"index\" (compilation index) and \"compiling\" (boolean)\n */\nfunction checkCompiling(schema, root, baseId) {\n /* jshint validthis: true */\n var index = compIndex.call(this, schema, root, baseId);\n if (index >= 0) return { index: index, compiling: true };\n index = this._compilations.length;\n this._compilations[index] = {\n schema: schema,\n root: root,\n baseId: baseId\n };\n return { index: index, compiling: false };\n}\n\n\n/**\n * Removes the schema from the currently compiled list\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n */\nfunction endCompiling(schema, root, baseId) {\n /* jshint validthis: true */\n var i = compIndex.call(this, schema, root, baseId);\n if (i >= 0) this._compilations.splice(i, 1);\n}\n\n\n/**\n * Index of schema compilation in the currently compiled list\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n * @return {Integer} compilation index\n */\nfunction compIndex(schema, root, baseId) {\n /* jshint validthis: true */\n for (var i=0; i<this._compilations.length; i++) {\n var c = this._compilations[i];\n if (c.schema == schema && c.root == root && c.baseId == baseId) return i;\n }\n return -1;\n}\n\n\nfunction patternCode(i, patterns) {\n return 'var pattern' + i + ' = new RegExp(' + util.toQuotedString(patterns[i]) + ');';\n}\n\n\nfunction defaultCode(i) {\n return 'var default' + i + ' = defaults[' + i + '];';\n}\n\n\nfunction refValCode(i, refVal) {\n return refVal[i] === undefined ? '' : 'var refVal' + i + ' = refVal[' + i + '];';\n}\n\n\nfunction customRuleCode(i) {\n return 'var customRule' + i + ' = customRules[' + i + '];';\n}\n\n\nfunction vars(arr, statement) {\n if (!arr.length) return '';\n var code = '';\n for (var i=0; i<arr.length; i++)\n code += statement(i, arr);\n return code;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/index.js","'use strict';\n\nvar url = require('url')\n , equal = require('fast-deep-equal')\n , util = require('./util')\n , SchemaObject = require('./schema_obj')\n , traverse = require('json-schema-traverse');\n\nmodule.exports = resolve;\n\nresolve.normalizeId = normalizeId;\nresolve.fullPath = getFullPath;\nresolve.url = resolveUrl;\nresolve.ids = resolveIds;\nresolve.inlineRef = inlineRef;\nresolve.schema = resolveSchema;\n\n/**\n * [resolve and compile the references ($ref)]\n * @this Ajv\n * @param {Function} compile reference to schema compilation funciton (localCompile)\n * @param {Object} root object with information about the root schema for the current schema\n * @param {String} ref reference to resolve\n * @return {Object|Function} schema object (if the schema can be inlined) or validation function\n */\nfunction resolve(compile, root, ref) {\n /* jshint validthis: true */\n var refVal = this._refs[ref];\n if (typeof refVal == 'string') {\n if (this._refs[refVal]) refVal = this._refs[refVal];\n else return resolve.call(this, compile, root, refVal);\n }\n\n refVal = refVal || this._schemas[ref];\n if (refVal instanceof SchemaObject) {\n return inlineRef(refVal.schema, this._opts.inlineRefs)\n ? refVal.schema\n : refVal.validate || this._compile(refVal);\n }\n\n var res = resolveSchema.call(this, root, ref);\n var schema, v, baseId;\n if (res) {\n schema = res.schema;\n root = res.root;\n baseId = res.baseId;\n }\n\n if (schema instanceof SchemaObject) {\n v = schema.validate || compile.call(this, schema.schema, root, undefined, baseId);\n } else if (schema !== undefined) {\n v = inlineRef(schema, this._opts.inlineRefs)\n ? schema\n : compile.call(this, schema, root, undefined, baseId);\n }\n\n return v;\n}\n\n\n/**\n * Resolve schema, its root and baseId\n * @this Ajv\n * @param {Object} root root object with properties schema, refVal, refs\n * @param {String} ref reference to resolve\n * @return {Object} object with properties schema, root, baseId\n */\nfunction resolveSchema(root, ref) {\n /* jshint validthis: true */\n var p = url.parse(ref, false, true)\n , refPath = _getFullPath(p)\n , baseId = getFullPath(this._getId(root.schema));\n if (refPath !== baseId) {\n var id = normalizeId(refPath);\n var refVal = this._refs[id];\n if (typeof refVal == 'string') {\n return resolveRecursive.call(this, root, refVal, p);\n } else if (refVal instanceof SchemaObject) {\n if (!refVal.validate) this._compile(refVal);\n root = refVal;\n } else {\n refVal = this._schemas[id];\n if (refVal instanceof SchemaObject) {\n if (!refVal.validate) this._compile(refVal);\n if (id == normalizeId(ref))\n return { schema: refVal, root: root, baseId: baseId };\n root = refVal;\n } else {\n return;\n }\n }\n if (!root.schema) return;\n baseId = getFullPath(this._getId(root.schema));\n }\n return getJsonPointer.call(this, p, baseId, root.schema, root);\n}\n\n\n/* @this Ajv */\nfunction resolveRecursive(root, ref, parsedRef) {\n /* jshint validthis: true */\n var res = resolveSchema.call(this, root, ref);\n if (res) {\n var schema = res.schema;\n var baseId = res.baseId;\n root = res.root;\n var id = this._getId(schema);\n if (id) baseId = resolveUrl(baseId, id);\n return getJsonPointer.call(this, parsedRef, baseId, schema, root);\n }\n}\n\n\nvar PREVENT_SCOPE_CHANGE = util.toHash(['properties', 'patternProperties', 'enum', 'dependencies', 'definitions']);\n/* @this Ajv */\nfunction getJsonPointer(parsedRef, baseId, schema, root) {\n /* jshint validthis: true */\n parsedRef.hash = parsedRef.hash || '';\n if (parsedRef.hash.slice(0,2) != '#/') return;\n var parts = parsedRef.hash.split('/');\n\n for (var i = 1; i < parts.length; i++) {\n var part = parts[i];\n if (part) {\n part = util.unescapeFragment(part);\n schema = schema[part];\n if (schema === undefined) break;\n var id;\n if (!PREVENT_SCOPE_CHANGE[part]) {\n id = this._getId(schema);\n if (id) baseId = resolveUrl(baseId, id);\n if (schema.$ref) {\n var $ref = resolveUrl(baseId, schema.$ref);\n var res = resolveSchema.call(this, root, $ref);\n if (res) {\n schema = res.schema;\n root = res.root;\n baseId = res.baseId;\n }\n }\n }\n }\n }\n if (schema !== undefined && schema !== root.schema)\n return { schema: schema, root: root, baseId: baseId };\n}\n\n\nvar SIMPLE_INLINED = util.toHash([\n 'type', 'format', 'pattern',\n 'maxLength', 'minLength',\n 'maxProperties', 'minProperties',\n 'maxItems', 'minItems',\n 'maximum', 'minimum',\n 'uniqueItems', 'multipleOf',\n 'required', 'enum'\n]);\nfunction inlineRef(schema, limit) {\n if (limit === false) return false;\n if (limit === undefined || limit === true) return checkNoRef(schema);\n else if (limit) return countKeys(schema) <= limit;\n}\n\n\nfunction checkNoRef(schema) {\n var item;\n if (Array.isArray(schema)) {\n for (var i=0; i<schema.length; i++) {\n item = schema[i];\n if (typeof item == 'object' && !checkNoRef(item)) return false;\n }\n } else {\n for (var key in schema) {\n if (key == '$ref') return false;\n item = schema[key];\n if (typeof item == 'object' && !checkNoRef(item)) return false;\n }\n }\n return true;\n}\n\n\nfunction countKeys(schema) {\n var count = 0, item;\n if (Array.isArray(schema)) {\n for (var i=0; i<schema.length; i++) {\n item = schema[i];\n if (typeof item == 'object') count += countKeys(item);\n if (count == Infinity) return Infinity;\n }\n } else {\n for (var key in schema) {\n if (key == '$ref') return Infinity;\n if (SIMPLE_INLINED[key]) {\n count++;\n } else {\n item = schema[key];\n if (typeof item == 'object') count += countKeys(item) + 1;\n if (count == Infinity) return Infinity;\n }\n }\n }\n return count;\n}\n\n\nfunction getFullPath(id, normalize) {\n if (normalize !== false) id = normalizeId(id);\n var p = url.parse(id, false, true);\n return _getFullPath(p);\n}\n\n\nfunction _getFullPath(p) {\n var protocolSeparator = p.protocol || p.href.slice(0,2) == '//' ? '//' : '';\n return (p.protocol||'') + protocolSeparator + (p.host||'') + (p.path||'') + '#';\n}\n\n\nvar TRAILING_SLASH_HASH = /#\\/?$/;\nfunction normalizeId(id) {\n return id ? id.replace(TRAILING_SLASH_HASH, '') : '';\n}\n\n\nfunction resolveUrl(baseId, id) {\n id = normalizeId(id);\n return url.resolve(baseId, id);\n}\n\n\n/* @this Ajv */\nfunction resolveIds(schema) {\n var schemaId = normalizeId(this._getId(schema));\n var baseIds = {'': schemaId};\n var fullPaths = {'': getFullPath(schemaId, false)};\n var localRefs = {};\n var self = this;\n\n traverse(schema, {allKeys: true}, function(sch, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (jsonPtr === '') return;\n var id = self._getId(sch);\n var baseId = baseIds[parentJsonPtr];\n var fullPath = fullPaths[parentJsonPtr] + '/' + parentKeyword;\n if (keyIndex !== undefined)\n fullPath += '/' + (typeof keyIndex == 'number' ? keyIndex : util.escapeFragment(keyIndex));\n\n if (typeof id == 'string') {\n id = baseId = normalizeId(baseId ? url.resolve(baseId, id) : id);\n\n var refVal = self._refs[id];\n if (typeof refVal == 'string') refVal = self._refs[refVal];\n if (refVal && refVal.schema) {\n if (!equal(sch, refVal.schema))\n throw new Error('id \"' + id + '\" resolves to more than one schema');\n } else if (id != normalizeId(fullPath)) {\n if (id[0] == '#') {\n if (localRefs[id] && !equal(sch, localRefs[id]))\n throw new Error('id \"' + id + '\" resolves to more than one schema');\n localRefs[id] = sch;\n } else {\n self._refs[id] = fullPath;\n }\n }\n }\n baseIds[jsonPtr] = baseId;\n fullPaths[jsonPtr] = fullPath;\n });\n\n return localRefs;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/resolve.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar punycode = require('punycode');\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = require('querystring');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a puny coded representation of \"domain\".\n // It only converts the part of the domain name that\n // has non ASCII characters. I.e. it dosent matter if\n // you call it with a domain that already is in ASCII.\n var domainArray = this.hostname.split('.');\n var newOut = [];\n for (var i = 0; i < domainArray.length; ++i) {\n var s = domainArray[i];\n newOut.push(s.match(/[^A-Za-z0-9_-]/) ?\n 'xn--' + punycode.encode(s) : s);\n }\n this.hostname = newOut.join('.');\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n Object.keys(this).forEach(function(k) {\n result[k] = this[k];\n }, this);\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n Object.keys(relative).forEach(function(k) {\n if (k !== 'protocol')\n result[k] = relative[k];\n });\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n Object.keys(relative).forEach(function(k) {\n result[k] = relative[k];\n });\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host) && (last === '.' || last === '..') ||\n last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last == '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\nfunction isString(arg) {\n return typeof arg === \"string\";\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/url/url.js","/*! https://mths.be/punycode v1.3.2 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = typeof exports == 'object' && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = typeof module == 'object' && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * http://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.3.2',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine('punycode', function() {\n\t\t\treturn punycode;\n\t\t});\n\t} else if (freeExports && freeModule) {\n\t\tif (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = punycode;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (key in punycode) {\n\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.punycode = punycode;\n\t}\n\n}(this));\n\n\n\n// WEBPACK FOOTER //\n// ../~/url/~/punycode/punycode.js","module.exports = function(module) {\n\tif(!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tmodule.children = [];\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/webpack/buildin/module.js","module.exports = __webpack_amd_options__;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../~/webpack/buildin/amd-options.js\n// module id = 21\n// module chunks = 0","'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n\n\n\n// WEBPACK FOOTER //\n// ../~/querystring/index.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (Array.isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/querystring/decode.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return Object.keys(obj).map(function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (Array.isArray(obj[k])) {\n return obj[k].map(function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/querystring/encode.js","'use strict';\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n var arrA = Array.isArray(a)\n , arrB = Array.isArray(b)\n , i;\n\n if (arrA && arrB) {\n if (a.length != b.length) return false;\n for (i = 0; i < a.length; i++)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n if (a && b && typeof a === 'object' && typeof b === 'object') {\n var keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) return false;\n\n var dateA = a instanceof Date\n , dateB = b instanceof Date;\n if (dateA && dateB) return a.getTime() == b.getTime();\n if (dateA != dateB) return false;\n\n var regexpA = a instanceof RegExp\n , regexpB = b instanceof RegExp;\n if (regexpA && regexpB) return a.toString() == b.toString();\n if (regexpA != regexpB) return false;\n\n for (i = 0; i < keys.length; i++)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = 0; i < keys.length; i++)\n if(!equal(a[keys[i]], b[keys[i]])) return false;\n\n return true;\n }\n\n return false;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/fast-deep-equal/index.js","'use strict';\n\n\nmodule.exports = {\n copy: copy,\n checkDataType: checkDataType,\n checkDataTypes: checkDataTypes,\n coerceToTypes: coerceToTypes,\n toHash: toHash,\n getProperty: getProperty,\n escapeQuotes: escapeQuotes,\n equal: require('fast-deep-equal'),\n ucs2length: require('./ucs2length'),\n varOccurences: varOccurences,\n varReplace: varReplace,\n cleanUpCode: cleanUpCode,\n finalCleanUpCode: finalCleanUpCode,\n schemaHasRules: schemaHasRules,\n schemaHasRulesExcept: schemaHasRulesExcept,\n toQuotedString: toQuotedString,\n getPathExpr: getPathExpr,\n getPath: getPath,\n getData: getData,\n unescapeFragment: unescapeFragment,\n unescapeJsonPointer: unescapeJsonPointer,\n escapeFragment: escapeFragment,\n escapeJsonPointer: escapeJsonPointer\n};\n\n\nfunction copy(o, to) {\n to = to || {};\n for (var key in o) to[key] = o[key];\n return to;\n}\n\n\nfunction checkDataType(dataType, data, negate) {\n var EQUAL = negate ? ' !== ' : ' === '\n , AND = negate ? ' || ' : ' && '\n , OK = negate ? '!' : ''\n , NOT = negate ? '' : '!';\n switch (dataType) {\n case 'null': return data + EQUAL + 'null';\n case 'array': return OK + 'Array.isArray(' + data + ')';\n case 'object': return '(' + OK + data + AND +\n 'typeof ' + data + EQUAL + '\"object\"' + AND +\n NOT + 'Array.isArray(' + data + '))';\n case 'integer': return '(typeof ' + data + EQUAL + '\"number\"' + AND +\n NOT + '(' + data + ' % 1)' +\n AND + data + EQUAL + data + ')';\n default: return 'typeof ' + data + EQUAL + '\"' + dataType + '\"';\n }\n}\n\n\nfunction checkDataTypes(dataTypes, data) {\n switch (dataTypes.length) {\n case 1: return checkDataType(dataTypes[0], data, true);\n default:\n var code = '';\n var types = toHash(dataTypes);\n if (types.array && types.object) {\n code = types.null ? '(': '(!' + data + ' || ';\n code += 'typeof ' + data + ' !== \"object\")';\n delete types.null;\n delete types.array;\n delete types.object;\n }\n if (types.number) delete types.integer;\n for (var t in types)\n code += (code ? ' && ' : '' ) + checkDataType(t, data, true);\n\n return code;\n }\n}\n\n\nvar COERCE_TO_TYPES = toHash([ 'string', 'number', 'integer', 'boolean', 'null' ]);\nfunction coerceToTypes(optionCoerceTypes, dataTypes) {\n if (Array.isArray(dataTypes)) {\n var types = [];\n for (var i=0; i<dataTypes.length; i++) {\n var t = dataTypes[i];\n if (COERCE_TO_TYPES[t]) types[types.length] = t;\n else if (optionCoerceTypes === 'array' && t === 'array') types[types.length] = t;\n }\n if (types.length) return types;\n } else if (COERCE_TO_TYPES[dataTypes]) {\n return [dataTypes];\n } else if (optionCoerceTypes === 'array' && dataTypes === 'array') {\n return ['array'];\n }\n}\n\n\nfunction toHash(arr) {\n var hash = {};\n for (var i=0; i<arr.length; i++) hash[arr[i]] = true;\n return hash;\n}\n\n\nvar IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;\nvar SINGLE_QUOTE = /'|\\\\/g;\nfunction getProperty(key) {\n return typeof key == 'number'\n ? '[' + key + ']'\n : IDENTIFIER.test(key)\n ? '.' + key\n : \"['\" + escapeQuotes(key) + \"']\";\n}\n\n\nfunction escapeQuotes(str) {\n return str.replace(SINGLE_QUOTE, '\\\\$&')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\t/g, '\\\\t');\n}\n\n\nfunction varOccurences(str, dataVar) {\n dataVar += '[^0-9]';\n var matches = str.match(new RegExp(dataVar, 'g'));\n return matches ? matches.length : 0;\n}\n\n\nfunction varReplace(str, dataVar, expr) {\n dataVar += '([^0-9])';\n expr = expr.replace(/\\$/g, '$$$$');\n return str.replace(new RegExp(dataVar, 'g'), expr + '$1');\n}\n\n\nvar EMPTY_ELSE = /else\\s*{\\s*}/g\n , EMPTY_IF_NO_ELSE = /if\\s*\\([^)]+\\)\\s*\\{\\s*\\}(?!\\s*else)/g\n , EMPTY_IF_WITH_ELSE = /if\\s*\\(([^)]+)\\)\\s*\\{\\s*\\}\\s*else(?!\\s*if)/g;\nfunction cleanUpCode(out) {\n return out.replace(EMPTY_ELSE, '')\n .replace(EMPTY_IF_NO_ELSE, '')\n .replace(EMPTY_IF_WITH_ELSE, 'if (!($1))');\n}\n\n\nvar ERRORS_REGEXP = /[^v.]errors/g\n , REMOVE_ERRORS = /var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g\n , REMOVE_ERRORS_ASYNC = /var errors = 0;|var vErrors = null;/g\n , RETURN_VALID = 'return errors === 0;'\n , RETURN_TRUE = 'validate.errors = null; return true;'\n , RETURN_ASYNC = /if \\(errors === 0\\) return data;\\s*else throw new ValidationError\\(vErrors\\);/\n , RETURN_DATA_ASYNC = 'return data;'\n , ROOTDATA_REGEXP = /[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g\n , REMOVE_ROOTDATA = /if \\(rootData === undefined\\) rootData = data;/;\n\nfunction finalCleanUpCode(out, async) {\n var matches = out.match(ERRORS_REGEXP);\n if (matches && matches.length == 2) {\n out = async\n ? out.replace(REMOVE_ERRORS_ASYNC, '')\n .replace(RETURN_ASYNC, RETURN_DATA_ASYNC)\n : out.replace(REMOVE_ERRORS, '')\n .replace(RETURN_VALID, RETURN_TRUE);\n }\n\n matches = out.match(ROOTDATA_REGEXP);\n if (!matches || matches.length !== 3) return out;\n return out.replace(REMOVE_ROOTDATA, '');\n}\n\n\nfunction schemaHasRules(schema, rules) {\n if (typeof schema == 'boolean') return !schema;\n for (var key in schema) if (rules[key]) return true;\n}\n\n\nfunction schemaHasRulesExcept(schema, rules, exceptKeyword) {\n if (typeof schema == 'boolean') return !schema && exceptKeyword != 'not';\n for (var key in schema) if (key != exceptKeyword && rules[key]) return true;\n}\n\n\nfunction toQuotedString(str) {\n return '\\'' + escapeQuotes(str) + '\\'';\n}\n\n\nfunction getPathExpr(currentPath, expr, jsonPointers, isNumber) {\n var path = jsonPointers // false by default\n ? '\\'/\\' + ' + expr + (isNumber ? '' : '.replace(/~/g, \\'~0\\').replace(/\\\\//g, \\'~1\\')')\n : (isNumber ? '\\'[\\' + ' + expr + ' + \\']\\'' : '\\'[\\\\\\'\\' + ' + expr + ' + \\'\\\\\\']\\'');\n return joinPaths(currentPath, path);\n}\n\n\nfunction getPath(currentPath, prop, jsonPointers) {\n var path = jsonPointers // false by default\n ? toQuotedString('/' + escapeJsonPointer(prop))\n : toQuotedString(getProperty(prop));\n return joinPaths(currentPath, path);\n}\n\n\nvar JSON_POINTER = /^\\/(?:[^~]|~0|~1)*$/;\nvar RELATIVE_JSON_POINTER = /^([0-9]+)(#|\\/(?:[^~]|~0|~1)*)?$/;\nfunction getData($data, lvl, paths) {\n var up, jsonPointer, data, matches;\n if ($data === '') return 'rootData';\n if ($data[0] == '/') {\n if (!JSON_POINTER.test($data)) throw new Error('Invalid JSON-pointer: ' + $data);\n jsonPointer = $data;\n data = 'rootData';\n } else {\n matches = $data.match(RELATIVE_JSON_POINTER);\n if (!matches) throw new Error('Invalid JSON-pointer: ' + $data);\n up = +matches[1];\n jsonPointer = matches[2];\n if (jsonPointer == '#') {\n if (up >= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl);\n return paths[lvl - up];\n }\n\n if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl);\n data = 'data' + ((lvl - up) || '');\n if (!jsonPointer) return data;\n }\n\n var expr = data;\n var segments = jsonPointer.split('/');\n for (var i=0; i<segments.length; i++) {\n var segment = segments[i];\n if (segment) {\n data += getProperty(unescapeJsonPointer(segment));\n expr += ' && ' + data;\n }\n }\n return expr;\n}\n\n\nfunction joinPaths (a, b) {\n if (a == '\"\"') return b;\n return (a + ' + ' + b).replace(/' \\+ '/g, '');\n}\n\n\nfunction unescapeFragment(str) {\n return unescapeJsonPointer(decodeURIComponent(str));\n}\n\n\nfunction escapeFragment(str) {\n return encodeURIComponent(escapeJsonPointer(str));\n}\n\n\nfunction escapeJsonPointer(str) {\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n\n\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/util.js","'use strict';\n\n// https://mathiasbynens.be/notes/javascript-encoding\n// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode\nmodule.exports = function ucs2length(str) {\n var length = 0\n , len = str.length\n , pos = 0\n , value;\n while (pos < len) {\n length++;\n value = str.charCodeAt(pos++);\n if (value >= 0xD800 && value <= 0xDBFF && pos < len) {\n // high surrogate, and there is a next character\n value = str.charCodeAt(pos);\n if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate\n }\n }\n return length;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/ucs2length.js","'use strict';\n\nvar util = require('./util');\n\nmodule.exports = SchemaObject;\n\nfunction SchemaObject(obj) {\n util.copy(obj, this);\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/schema_obj.js","'use strict';\n\nvar traverse = module.exports = function (schema, opts, cb) {\n if (typeof opts == 'function') {\n cb = opts;\n opts = {};\n }\n _traverse(opts, cb, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n additionalItems: true,\n items: true,\n contains: true,\n additionalProperties: true,\n propertyNames: true,\n not: true\n};\n\ntraverse.arrayKeywords = {\n items: true,\n allOf: true,\n anyOf: true,\n oneOf: true\n};\n\ntraverse.propsKeywords = {\n definitions: true,\n properties: true,\n patternProperties: true,\n dependencies: true\n};\n\ntraverse.skipKeywords = {\n enum: true,\n const: true,\n required: true,\n maximum: true,\n minimum: true,\n exclusiveMaximum: true,\n exclusiveMinimum: true,\n multipleOf: true,\n maxLength: true,\n minLength: true,\n pattern: true,\n format: true,\n maxItems: true,\n minItems: true,\n uniqueItems: true,\n maxProperties: true,\n minProperties: true\n};\n\n\nfunction _traverse(opts, cb, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n cb(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n for (var key in schema) {\n var sch = schema[key];\n if (Array.isArray(sch)) {\n if (key in traverse.arrayKeywords) {\n for (var i=0; i<sch.length; i++)\n _traverse(opts, cb, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);\n }\n } else if (key in traverse.propsKeywords) {\n if (sch && typeof sch == 'object') {\n for (var prop in sch)\n _traverse(opts, cb, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n }\n } else if (key in traverse.keywords || (opts.allKeys && !(key in traverse.skipKeywords))) {\n _traverse(opts, cb, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);\n }\n }\n }\n}\n\n\nfunction escapeJsonPtr(str) {\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/json-schema-traverse/index.js","'use strict';\n\nvar resolve = require('./resolve');\n\nmodule.exports = {\n Validation: errorSubclass(ValidationError),\n MissingRef: errorSubclass(MissingRefError)\n};\n\n\nfunction ValidationError(errors) {\n this.message = 'validation failed';\n this.errors = errors;\n this.ajv = this.validation = true;\n}\n\n\nMissingRefError.message = function (baseId, ref) {\n return 'can\\'t resolve reference ' + ref + ' from id ' + baseId;\n};\n\n\nfunction MissingRefError(baseId, ref, message) {\n this.message = message || MissingRefError.message(baseId, ref);\n this.missingRef = resolve.url(baseId, ref);\n this.missingSchema = resolve.normalizeId(resolve.fullPath(this.missingRef));\n}\n\n\nfunction errorSubclass(Subclass) {\n Subclass.prototype = Object.create(Error.prototype);\n Subclass.prototype.constructor = Subclass;\n return Subclass;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/error_classes.js","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/json-stable-stringify/index.js","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n\n\n\n// WEBPACK FOOTER //\n// ../~/jsonify/index.js","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/jsonify/lib/parse.js","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/jsonify/lib/stringify.js","'use strict';\nmodule.exports = function generate_validate(it, $keyword, $ruleType) {\n var out = '';\n var $async = it.schema.$async === true,\n $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'),\n $id = it.self._getId(it.schema);\n if (it.isTop) {\n if ($async) {\n it.async = true;\n var $es7 = it.opts.async == 'es7';\n it.yieldAwait = $es7 ? 'await' : 'yield';\n }\n out += ' var validate = ';\n if ($async) {\n if ($es7) {\n out += ' (async function ';\n } else {\n if (it.opts.async != '*') {\n out += 'co.wrap';\n }\n out += '(function* ';\n }\n } else {\n out += ' (function ';\n }\n out += ' (data, dataPath, parentData, parentDataProperty, rootData) { \\'use strict\\'; ';\n if ($id && (it.opts.sourceCode || it.opts.processCode)) {\n out += ' ' + ('/\\*# sourceURL=' + $id + ' */') + ' ';\n }\n }\n if (typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref)) {\n var $keyword = 'false schema';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n if (it.schema === false) {\n if (it.isTop) {\n $breakOnError = true;\n } else {\n out += ' var ' + ($valid) + ' = false; ';\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'false schema') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'boolean schema is false\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n } else {\n if (it.isTop) {\n if ($async) {\n out += ' return data; ';\n } else {\n out += ' validate.errors = null; return true; ';\n }\n } else {\n out += ' var ' + ($valid) + ' = true; ';\n }\n }\n if (it.isTop) {\n out += ' }); return validate; ';\n }\n return out;\n }\n if (it.isTop) {\n var $top = it.isTop,\n $lvl = it.level = 0,\n $dataLvl = it.dataLevel = 0,\n $data = 'data';\n it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema));\n it.baseId = it.baseId || it.rootId;\n delete it.isTop;\n it.dataPathArr = [undefined];\n out += ' var vErrors = null; ';\n out += ' var errors = 0; ';\n out += ' if (rootData === undefined) rootData = data; ';\n } else {\n var $lvl = it.level,\n $dataLvl = it.dataLevel,\n $data = 'data' + ($dataLvl || '');\n if ($id) it.baseId = it.resolve.url(it.baseId, $id);\n if ($async && !it.async) throw new Error('async schema in sync schema');\n out += ' var errs_' + ($lvl) + ' = errors;';\n }\n var $valid = 'valid' + $lvl,\n $breakOnError = !it.opts.allErrors,\n $closingBraces1 = '',\n $closingBraces2 = '';\n var $errorKeyword;\n var $typeSchema = it.schema.type,\n $typeIsArray = Array.isArray($typeSchema);\n if ($typeIsArray && $typeSchema.length == 1) {\n $typeSchema = $typeSchema[0];\n $typeIsArray = false;\n }\n if (it.schema.$ref && $refKeywords) {\n if (it.opts.extendRefs == 'fail') {\n throw new Error('$ref: validation keywords used in schema at path \"' + it.errSchemaPath + '\" (see option extendRefs)');\n } else if (it.opts.extendRefs !== true) {\n $refKeywords = false;\n console.warn('$ref: keywords ignored in schema at path \"' + it.errSchemaPath + '\"');\n }\n }\n if ($typeSchema) {\n if (it.opts.coerceTypes) {\n var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema);\n }\n var $rulesGroup = it.RULES.types[$typeSchema];\n if ($coerceToTypes || $typeIsArray || $rulesGroup === true || ($rulesGroup && !$shouldUseGroup($rulesGroup))) {\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type';\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type',\n $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType';\n out += ' if (' + (it.util[$method]($typeSchema, $data, true)) + ') { ';\n if ($coerceToTypes) {\n var $dataType = 'dataType' + $lvl,\n $coerced = 'coerced' + $lvl;\n out += ' var ' + ($dataType) + ' = typeof ' + ($data) + '; ';\n if (it.opts.coerceTypes == 'array') {\n out += ' if (' + ($dataType) + ' == \\'object\\' && Array.isArray(' + ($data) + ')) ' + ($dataType) + ' = \\'array\\'; ';\n }\n out += ' var ' + ($coerced) + ' = undefined; ';\n var $bracesCoercion = '';\n var arr1 = $coerceToTypes;\n if (arr1) {\n var $type, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $type = arr1[$i += 1];\n if ($i) {\n out += ' if (' + ($coerced) + ' === undefined) { ';\n $bracesCoercion += '}';\n }\n if (it.opts.coerceTypes == 'array' && $type != 'array') {\n out += ' if (' + ($dataType) + ' == \\'array\\' && ' + ($data) + '.length == 1) { ' + ($coerced) + ' = ' + ($data) + ' = ' + ($data) + '[0]; ' + ($dataType) + ' = typeof ' + ($data) + '; } ';\n }\n if ($type == 'string') {\n out += ' if (' + ($dataType) + ' == \\'number\\' || ' + ($dataType) + ' == \\'boolean\\') ' + ($coerced) + ' = \\'\\' + ' + ($data) + '; else if (' + ($data) + ' === null) ' + ($coerced) + ' = \\'\\'; ';\n } else if ($type == 'number' || $type == 'integer') {\n out += ' if (' + ($dataType) + ' == \\'boolean\\' || ' + ($data) + ' === null || (' + ($dataType) + ' == \\'string\\' && ' + ($data) + ' && ' + ($data) + ' == +' + ($data) + ' ';\n if ($type == 'integer') {\n out += ' && !(' + ($data) + ' % 1)';\n }\n out += ')) ' + ($coerced) + ' = +' + ($data) + '; ';\n } else if ($type == 'boolean') {\n out += ' if (' + ($data) + ' === \\'false\\' || ' + ($data) + ' === 0 || ' + ($data) + ' === null) ' + ($coerced) + ' = false; else if (' + ($data) + ' === \\'true\\' || ' + ($data) + ' === 1) ' + ($coerced) + ' = true; ';\n } else if ($type == 'null') {\n out += ' if (' + ($data) + ' === \\'\\' || ' + ($data) + ' === 0 || ' + ($data) + ' === false) ' + ($coerced) + ' = null; ';\n } else if (it.opts.coerceTypes == 'array' && $type == 'array') {\n out += ' if (' + ($dataType) + ' == \\'string\\' || ' + ($dataType) + ' == \\'number\\' || ' + ($dataType) + ' == \\'boolean\\' || ' + ($data) + ' == null) ' + ($coerced) + ' = [' + ($data) + ']; ';\n }\n }\n }\n out += ' ' + ($bracesCoercion) + ' if (' + ($coerced) + ' === undefined) { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' ' + ($data) + ' = ' + ($coerced) + '; ';\n if (!$dataLvl) {\n out += 'if (' + ($parentData) + ' !== undefined)';\n }\n out += ' ' + ($parentData) + '[' + ($parentDataProperty) + '] = ' + ($coerced) + '; } ';\n } else {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n }\n out += ' } ';\n }\n }\n if (it.schema.$ref && !$refKeywords) {\n out += ' ' + (it.RULES.all.$ref.code(it, '$ref')) + ' ';\n if ($breakOnError) {\n out += ' } if (errors === ';\n if ($top) {\n out += '0';\n } else {\n out += 'errs_' + ($lvl);\n }\n out += ') { ';\n $closingBraces2 += '}';\n }\n } else {\n if (it.opts.v5 && it.schema.patternGroups) {\n console.warn('keyword \"patternGroups\" is deprecated and disabled. Use option patternGroups: true to enable.');\n }\n var arr2 = it.RULES;\n if (arr2) {\n var $rulesGroup, i2 = -1,\n l2 = arr2.length - 1;\n while (i2 < l2) {\n $rulesGroup = arr2[i2 += 1];\n if ($shouldUseGroup($rulesGroup)) {\n if ($rulesGroup.type) {\n out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data)) + ') { ';\n }\n if (it.opts.useDefaults && !it.compositeRule) {\n if ($rulesGroup.type == 'object' && it.schema.properties) {\n var $schema = it.schema.properties,\n $schemaKeys = Object.keys($schema);\n var arr3 = $schemaKeys;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $sch = $schema[$propertyKey];\n if ($sch.default !== undefined) {\n var $passData = $data + it.util.getProperty($propertyKey);\n out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = ';\n if (it.opts.useDefaults == 'shared') {\n out += ' ' + (it.useDefault($sch.default)) + ' ';\n } else {\n out += ' ' + (JSON.stringify($sch.default)) + ' ';\n }\n out += '; ';\n }\n }\n }\n } else if ($rulesGroup.type == 'array' && Array.isArray(it.schema.items)) {\n var arr4 = it.schema.items;\n if (arr4) {\n var $sch, $i = -1,\n l4 = arr4.length - 1;\n while ($i < l4) {\n $sch = arr4[$i += 1];\n if ($sch.default !== undefined) {\n var $passData = $data + '[' + $i + ']';\n out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = ';\n if (it.opts.useDefaults == 'shared') {\n out += ' ' + (it.useDefault($sch.default)) + ' ';\n } else {\n out += ' ' + (JSON.stringify($sch.default)) + ' ';\n }\n out += '; ';\n }\n }\n }\n }\n }\n var arr5 = $rulesGroup.rules;\n if (arr5) {\n var $rule, i5 = -1,\n l5 = arr5.length - 1;\n while (i5 < l5) {\n $rule = arr5[i5 += 1];\n if ($shouldUseRule($rule)) {\n var $code = $rule.code(it, $rule.keyword, $rulesGroup.type);\n if ($code) {\n out += ' ' + ($code) + ' ';\n if ($breakOnError) {\n $closingBraces1 += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces1) + ' ';\n $closingBraces1 = '';\n }\n if ($rulesGroup.type) {\n out += ' } ';\n if ($typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes) {\n out += ' else { ';\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n }\n }\n if ($breakOnError) {\n out += ' if (errors === ';\n if ($top) {\n out += '0';\n } else {\n out += 'errs_' + ($lvl);\n }\n out += ') { ';\n $closingBraces2 += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces2) + ' ';\n }\n if ($top) {\n if ($async) {\n out += ' if (errors === 0) return data; ';\n out += ' else throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; ';\n out += ' return errors === 0; ';\n }\n out += ' }); return validate;';\n } else {\n out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';';\n }\n out = it.util.cleanUpCode(out);\n if ($top) {\n out = it.util.finalCleanUpCode(out, $async);\n }\n\n function $shouldUseGroup($rulesGroup) {\n var rules = $rulesGroup.rules;\n for (var i = 0; i < rules.length; i++)\n if ($shouldUseRule(rules[i])) return true;\n }\n\n function $shouldUseRule($rule) {\n return it.schema[$rule.keyword] !== undefined || ($rule.implements && $ruleImlementsSomeKeyword($rule));\n }\n\n function $ruleImlementsSomeKeyword($rule) {\n var impl = $rule.implements;\n for (var i = 0; i < impl.length; i++)\n if (it.schema[impl[i]] !== undefined) return true;\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/validate.js","\n/**\n * slice() reference.\n */\n\nvar slice = Array.prototype.slice;\n\n/**\n * Expose `co`.\n */\n\nmodule.exports = co['default'] = co.co = co;\n\n/**\n * Wrap the given generator `fn` into a\n * function that returns a promise.\n * This is a separate function so that\n * every `co()` call doesn't create a new,\n * unnecessary closure.\n *\n * @param {GeneratorFunction} fn\n * @return {Function}\n * @api public\n */\n\nco.wrap = function (fn) {\n createPromise.__generatorFunction__ = fn;\n return createPromise;\n function createPromise() {\n return co.call(this, fn.apply(this, arguments));\n }\n};\n\n/**\n * Execute the generator function or a generator\n * and return a promise.\n *\n * @param {Function} fn\n * @return {Promise}\n * @api public\n */\n\nfunction co(gen) {\n var ctx = this;\n var args = slice.call(arguments, 1)\n\n // we wrap everything in a promise to avoid promise chaining,\n // which leads to memory leak errors.\n // see https://github.com/tj/co/issues/180\n return new Promise(function(resolve, reject) {\n if (typeof gen === 'function') gen = gen.apply(ctx, args);\n if (!gen || typeof gen.next !== 'function') return resolve(gen);\n\n onFulfilled();\n\n /**\n * @param {Mixed} res\n * @return {Promise}\n * @api private\n */\n\n function onFulfilled(res) {\n var ret;\n try {\n ret = gen.next(res);\n } catch (e) {\n return reject(e);\n }\n next(ret);\n }\n\n /**\n * @param {Error} err\n * @return {Promise}\n * @api private\n */\n\n function onRejected(err) {\n var ret;\n try {\n ret = gen.throw(err);\n } catch (e) {\n return reject(e);\n }\n next(ret);\n }\n\n /**\n * Get the next value in the generator,\n * return a promise.\n *\n * @param {Object} ret\n * @return {Promise}\n * @api private\n */\n\n function next(ret) {\n if (ret.done) return resolve(ret.value);\n var value = toPromise.call(ctx, ret.value);\n if (value && isPromise(value)) return value.then(onFulfilled, onRejected);\n return onRejected(new TypeError('You may only yield a function, promise, generator, array, or object, '\n + 'but the following object was passed: \"' + String(ret.value) + '\"'));\n }\n });\n}\n\n/**\n * Convert a `yield`ed value into a promise.\n *\n * @param {Mixed} obj\n * @return {Promise}\n * @api private\n */\n\nfunction toPromise(obj) {\n if (!obj) return obj;\n if (isPromise(obj)) return obj;\n if (isGeneratorFunction(obj) || isGenerator(obj)) return co.call(this, obj);\n if ('function' == typeof obj) return thunkToPromise.call(this, obj);\n if (Array.isArray(obj)) return arrayToPromise.call(this, obj);\n if (isObject(obj)) return objectToPromise.call(this, obj);\n return obj;\n}\n\n/**\n * Convert a thunk to a promise.\n *\n * @param {Function}\n * @return {Promise}\n * @api private\n */\n\nfunction thunkToPromise(fn) {\n var ctx = this;\n return new Promise(function (resolve, reject) {\n fn.call(ctx, function (err, res) {\n if (err) return reject(err);\n if (arguments.length > 2) res = slice.call(arguments, 1);\n resolve(res);\n });\n });\n}\n\n/**\n * Convert an array of \"yieldables\" to a promise.\n * Uses `Promise.all()` internally.\n *\n * @param {Array} obj\n * @return {Promise}\n * @api private\n */\n\nfunction arrayToPromise(obj) {\n return Promise.all(obj.map(toPromise, this));\n}\n\n/**\n * Convert an object of \"yieldables\" to a promise.\n * Uses `Promise.all()` internally.\n *\n * @param {Object} obj\n * @return {Promise}\n * @api private\n */\n\nfunction objectToPromise(obj){\n var results = new obj.constructor();\n var keys = Object.keys(obj);\n var promises = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var promise = toPromise.call(this, obj[key]);\n if (promise && isPromise(promise)) defer(promise, key);\n else results[key] = obj[key];\n }\n return Promise.all(promises).then(function () {\n return results;\n });\n\n function defer(promise, key) {\n // predefine the key in the result\n results[key] = undefined;\n promises.push(promise.then(function (res) {\n results[key] = res;\n }));\n }\n}\n\n/**\n * Check if `obj` is a promise.\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isPromise(obj) {\n return 'function' == typeof obj.then;\n}\n\n/**\n * Check if `obj` is a generator.\n *\n * @param {Mixed} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isGenerator(obj) {\n return 'function' == typeof obj.next && 'function' == typeof obj.throw;\n}\n\n/**\n * Check if `obj` is a generator function.\n *\n * @param {Mixed} obj\n * @return {Boolean}\n * @api private\n */\nfunction isGeneratorFunction(obj) {\n var constructor = obj.constructor;\n if (!constructor) return false;\n if ('GeneratorFunction' === constructor.name || 'GeneratorFunction' === constructor.displayName) return true;\n return isGenerator(constructor.prototype);\n}\n\n/**\n * Check for plain object.\n *\n * @param {Mixed} val\n * @return {Boolean}\n * @api private\n */\n\nfunction isObject(val) {\n return Object == val.constructor;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/co/index.js","'use strict';\n\n\nvar Cache = module.exports = function Cache() {\n this._cache = {};\n};\n\n\nCache.prototype.put = function Cache_put(key, value) {\n this._cache[key] = value;\n};\n\n\nCache.prototype.get = function Cache_get(key) {\n return this._cache[key];\n};\n\n\nCache.prototype.del = function Cache_del(key) {\n delete this._cache[key];\n};\n\n\nCache.prototype.clear = function Cache_clear() {\n this._cache = {};\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/cache.js","'use strict';\n\nvar util = require('./util');\n\nvar DATE = /^\\d\\d\\d\\d-(\\d\\d)-(\\d\\d)$/;\nvar DAYS = [0,31,29,31,30,31,30,31,31,30,31,30,31];\nvar TIME = /^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d:\\d\\d)?$/i;\nvar HOSTNAME = /^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*$/i;\nvar URI = /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4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-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i;\n// For the source: https://gist.github.com/dperini/729294\n// For test cases: https://mathiasbynens.be/demo/url-regex\n// @todo Delete current URL in favour of the commented out URL rule when this issue is fixed https://github.com/eslint/eslint/issues/7983.\n// var URL = /^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu;\nvar URL = /^(?:(?:http[s\\u017F]?|ftp):\\/\\/)(?:(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+(?::(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?@)?(?:(?!10(?:\\.[0-9]{1,3}){3})(?!127(?:\\.[0-9]{1,3}){3})(?!169\\.254(?:\\.[0-9]{1,3}){2})(?!192\\.168(?:\\.[0-9]{1,3}){2})(?!172\\.(?:1[6-9]|2[0-9]|3[01])(?:\\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-?)*(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)(?:\\.(?:(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-?)*(?:[0-9KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)*(?:\\.(?:(?:[KSa-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\\/(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?$/i;\nvar UUID = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;\nvar JSON_POINTER = /^(?:\\/(?:[^~/]|~0|~1)*)*$|^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;\nvar RELATIVE_JSON_POINTER = /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/;\n\n\nmodule.exports = formats;\n\nfunction formats(mode) {\n mode = mode == 'full' ? 'full' : 'fast';\n return util.copy(formats[mode]);\n}\n\n\nformats.fast = {\n // date: http://tools.ietf.org/html/rfc3339#section-5.6\n date: /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/,\n // date-time: http://tools.ietf.org/html/rfc3339#section-5.6\n time: /^[0-2]\\d:[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:z|[+-]\\d\\d:\\d\\d)?$/i,\n 'date-time': /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s][0-2]\\d:[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:z|[+-]\\d\\d:\\d\\d)$/i,\n // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js\n uri: /^(?:[a-z][a-z0-9+-.]*)(?::|\\/)\\/?[^\\s]*$/i,\n 'uri-reference': /^(?:(?:[a-z][a-z0-9+-.]*:)?\\/\\/)?[^\\s]*$/i,\n 'uri-template': URITEMPLATE,\n url: URL,\n // email (sources from jsen validator):\n // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363\n // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'willful violation')\n email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,\n hostname: HOSTNAME,\n // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html\n ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n // optimized http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses\n ipv6: /^\\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n regex: regex,\n // uuid: http://tools.ietf.org/html/rfc4122\n uuid: UUID,\n // JSON-pointer: https://tools.ietf.org/html/rfc6901\n // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A\n 'json-pointer': JSON_POINTER,\n // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00\n 'relative-json-pointer': RELATIVE_JSON_POINTER\n};\n\n\nformats.full = {\n date: date,\n time: time,\n 'date-time': date_time,\n uri: uri,\n 'uri-reference': URIREF,\n 'uri-template': URITEMPLATE,\n url: URL,\n email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&''*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+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0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n regex: regex,\n uuid: UUID,\n 'json-pointer': JSON_POINTER,\n 'relative-json-pointer': RELATIVE_JSON_POINTER\n};\n\n\nfunction date(str) {\n // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n var matches = str.match(DATE);\n if (!matches) return false;\n\n var month = +matches[1];\n var day = +matches[2];\n return month >= 1 && month <= 12 && day >= 1 && day <= DAYS[month];\n}\n\n\nfunction time(str, full) {\n var matches = str.match(TIME);\n if (!matches) return false;\n\n var hour = matches[1];\n var minute = matches[2];\n var second = matches[3];\n var timeZone = matches[5];\n return hour <= 23 && minute <= 59 && second <= 59 && (!full || timeZone);\n}\n\n\nvar DATE_TIME_SEPARATOR = /t|\\s/i;\nfunction date_time(str) {\n // http://tools.ietf.org/html/rfc3339#section-5.6\n var dateTime = str.split(DATE_TIME_SEPARATOR);\n return dateTime.length == 2 && date(dateTime[0]) && time(dateTime[1], true);\n}\n\n\nfunction hostname(str) {\n // https://tools.ietf.org/html/rfc1034#section-3.5\n // https://tools.ietf.org/html/rfc1123#section-2\n return str.length <= 255 && HOSTNAME.test(str);\n}\n\n\nvar NOT_URI_FRAGMENT = /\\/|:/;\nfunction uri(str) {\n // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required \".\"\n return NOT_URI_FRAGMENT.test(str) && URI.test(str);\n}\n\n\nvar Z_ANCHOR = /[^\\\\]\\\\Z/;\nfunction regex(str) {\n if (Z_ANCHOR.test(str)) return false;\n try {\n new RegExp(str);\n return true;\n } catch(e) {\n return false;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/formats.js","'use strict';\n\nvar ruleModules = require('./_rules')\n , toHash = require('./util').toHash;\n\nmodule.exports = function rules() {\n var RULES = [\n { type: 'number',\n rules: [ { 'maximum': ['exclusiveMaximum'] },\n { 'minimum': ['exclusiveMinimum'] }, 'multipleOf', 'format'] },\n { type: 'string',\n rules: [ 'maxLength', 'minLength', 'pattern', 'format' ] },\n { type: 'array',\n rules: [ 'maxItems', 'minItems', 'uniqueItems', 'contains', 'items' ] },\n { type: 'object',\n rules: [ 'maxProperties', 'minProperties', 'required', 'dependencies', 'propertyNames',\n { 'properties': ['additionalProperties', 'patternProperties'] } ] },\n { rules: [ '$ref', 'const', 'enum', 'not', 'anyOf', 'oneOf', 'allOf' ] }\n ];\n\n var ALL = [ 'type' ];\n var KEYWORDS = [\n 'additionalItems', '$schema', 'id', 'title',\n 'description', 'default', 'definitions'\n ];\n var TYPES = [ 'number', 'integer', 'string', 'array', 'object', 'boolean', 'null' ];\n RULES.all = toHash(ALL);\n RULES.types = toHash(TYPES);\n\n RULES.forEach(function (group) {\n group.rules = group.rules.map(function (keyword) {\n var implKeywords;\n if (typeof keyword == 'object') {\n var key = Object.keys(keyword)[0];\n implKeywords = keyword[key];\n keyword = key;\n implKeywords.forEach(function (k) {\n ALL.push(k);\n RULES.all[k] = true;\n });\n }\n ALL.push(keyword);\n var rule = RULES.all[keyword] = {\n keyword: keyword,\n code: ruleModules[keyword],\n implements: implKeywords\n };\n return rule;\n });\n\n if (group.type) RULES.types[group.type] = group;\n });\n\n RULES.keywords = toHash(ALL.concat(KEYWORDS));\n RULES.custom = {};\n\n return RULES;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/rules.js","'use strict';\n\n//all requires must be explicit because browserify won't work with dynamic requires\nmodule.exports = {\n '$ref': require('../dotjs/ref'),\n allOf: require('../dotjs/allOf'),\n anyOf: require('../dotjs/anyOf'),\n const: require('../dotjs/const'),\n contains: require('../dotjs/contains'),\n dependencies: require('../dotjs/dependencies'),\n 'enum': require('../dotjs/enum'),\n format: require('../dotjs/format'),\n items: require('../dotjs/items'),\n maximum: require('../dotjs/_limit'),\n minimum: require('../dotjs/_limit'),\n maxItems: require('../dotjs/_limitItems'),\n minItems: require('../dotjs/_limitItems'),\n maxLength: require('../dotjs/_limitLength'),\n minLength: require('../dotjs/_limitLength'),\n maxProperties: require('../dotjs/_limitProperties'),\n minProperties: require('../dotjs/_limitProperties'),\n multipleOf: require('../dotjs/multipleOf'),\n not: require('../dotjs/not'),\n oneOf: require('../dotjs/oneOf'),\n pattern: require('../dotjs/pattern'),\n properties: require('../dotjs/properties'),\n propertyNames: require('../dotjs/propertyNames'),\n required: require('../dotjs/required'),\n uniqueItems: require('../dotjs/uniqueItems'),\n validate: require('../dotjs/validate')\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/_rules.js","'use strict';\nmodule.exports = function generate_ref(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $async, $refCode;\n if ($schema == '#' || $schema == '#/') {\n if (it.isRoot) {\n $async = it.async;\n $refCode = 'validate';\n } else {\n $async = it.root.schema.$async === true;\n $refCode = 'root.refVal[0]';\n }\n } else {\n var $refVal = it.resolveRef(it.baseId, $schema, it.isRoot);\n if ($refVal === undefined) {\n var $message = it.MissingRefError.message(it.baseId, $schema);\n if (it.opts.missingRefs == 'fail') {\n console.error($message);\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('$ref') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { ref: \\'' + (it.util.escapeQuotes($schema)) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'can\\\\\\'t resolve reference ' + (it.util.escapeQuotes($schema)) + '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ' + (it.util.toQuotedString($schema)) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n if ($breakOnError) {\n out += ' if (false) { ';\n }\n } else if (it.opts.missingRefs == 'ignore') {\n console.warn($message);\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n } else {\n throw new it.MissingRefError(it.baseId, $schema, $message);\n }\n } else if ($refVal.inline) {\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n $it.schema = $refVal.schema;\n $it.schemaPath = '';\n $it.errSchemaPath = $schema;\n var $code = it.validate($it).replace(/validate\\.schema/g, $refVal.code);\n out += ' ' + ($code) + ' ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n }\n } else {\n $async = $refVal.$async === true;\n $refCode = $refVal.code;\n }\n }\n if ($refCode) {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n if (it.opts.passContext) {\n out += ' ' + ($refCode) + '.call(this, ';\n } else {\n out += ' ' + ($refCode) + '( ';\n }\n out += ' ' + ($data) + ', (dataPath || \\'\\')';\n if (it.errorPath != '\"\"') {\n out += ' + ' + (it.errorPath);\n }\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ', rootData) ';\n var __callValidate = out;\n out = $$outStack.pop();\n if ($async) {\n if (!it.async) throw new Error('async schema referenced by sync schema');\n if ($breakOnError) {\n out += ' var ' + ($valid) + '; ';\n }\n out += ' try { ' + (it.yieldAwait) + ' ' + (__callValidate) + '; ';\n if ($breakOnError) {\n out += ' ' + ($valid) + ' = true; ';\n }\n out += ' } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ';\n if ($breakOnError) {\n out += ' ' + ($valid) + ' = false; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($valid) + ') { ';\n }\n } else {\n out += ' if (!' + (__callValidate) + ') { if (vErrors === null) vErrors = ' + ($refCode) + '.errors; else vErrors = vErrors.concat(' + ($refCode) + '.errors); errors = vErrors.length; } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n }\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/ref.js","'use strict';\nmodule.exports = function generate_allOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $currentBaseId = $it.baseId,\n $allSchemasEmpty = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n $allSchemasEmpty = false;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($breakOnError) {\n if ($allSchemasEmpty) {\n out += ' if (true) { ';\n } else {\n out += ' ' + ($closingBraces.slice(0, -1)) + ' ';\n }\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/allOf.js","'use strict';\nmodule.exports = function generate_anyOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $noEmptySchema = $schema.every(function($sch) {\n return it.util.schemaHasRules($sch, it.RULES.all);\n });\n if ($noEmptySchema) {\n var $currentBaseId = $it.baseId;\n out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { ';\n $closingBraces += '}';\n }\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('anyOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match some schema in anyOf\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n out = it.util.cleanUpCode(out);\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/anyOf.js","'use strict';\nmodule.exports = function generate_const(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!$isData) {\n out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('const') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to constant\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/const.js","'use strict';\nmodule.exports = function generate_contains(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $idx = 'i' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $currentBaseId = it.baseId,\n $nonEmptySchema = it.util.schemaHasRules($schema, it.RULES.all);\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($nonEmptySchema) {\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (' + ($nextValid) + ') break; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {';\n } else {\n out += ' if (' + ($data) + '.length == 0) {';\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('contains') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should contain a valid item\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n if ($nonEmptySchema) {\n out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n }\n if (it.opts.allErrors) {\n out += ' } ';\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/contains.js","'use strict';\nmodule.exports = function generate_dependencies(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $schemaDeps = {},\n $propertyDeps = {},\n $ownProperties = it.opts.ownProperties;\n for ($property in $schema) {\n var $sch = $schema[$property];\n var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;\n $deps[$property] = $sch;\n }\n out += 'var ' + ($errs) + ' = errors;';\n var $currentErrorPath = it.errorPath;\n out += 'var missing' + ($lvl) + ';';\n for (var $property in $propertyDeps) {\n $deps = $propertyDeps[$property];\n if ($deps.length) {\n out += ' if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n if ($breakOnError) {\n out += ' && ( ';\n var arr1 = $deps;\n if (arr1) {\n var $propertyKey, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $propertyKey = arr1[$i += 1];\n if ($i) {\n out += ' || ';\n }\n var $prop = it.util.getProperty($propertyKey),\n $useData = $data + $prop;\n out += ' ( ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';\n }\n }\n out += ')) { ';\n var $propertyPath = 'missing' + $lvl,\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n } else {\n out += ' ) { ';\n var arr2 = $deps;\n if (arr2) {\n var $propertyKey, i2 = -1,\n l2 = arr2.length - 1;\n while (i2 < l2) {\n $propertyKey = arr2[i2 += 1];\n var $prop = it.util.getProperty($propertyKey),\n $missingProperty = it.util.escapeQuotes($propertyKey),\n $useData = $data + $prop;\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n }\n }\n }\n out += ' } ';\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n var $currentBaseId = $it.baseId;\n for (var $property in $schemaDeps) {\n var $sch = $schemaDeps[$property];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n out += ' ' + ($nextValid) + ' = true; if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n out += ') { ';\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + it.util.getProperty($property);\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/dependencies.js","'use strict';\nmodule.exports = function generate_enum(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $i = 'i' + $lvl,\n $vSchema = 'schema' + $lvl;\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ';';\n if ($isData) {\n out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';\n }\n out += '' + ($valid) + ' = false;for (var ' + ($i) + '=0; ' + ($i) + '<' + ($vSchema) + '.length; ' + ($i) + '++) if (equal(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + '])) { ' + ($valid) + ' = true; break; }';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('enum') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValues: schema' + ($lvl) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to one of the allowed values\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/enum.js","'use strict';\nmodule.exports = function generate_format(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n if (it.opts.format === false) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $unknownFormats = it.opts.unknownFormats,\n $allowUnknown = Array.isArray($unknownFormats);\n if ($isData) {\n var $format = 'format' + $lvl,\n $isObject = 'isObject' + $lvl,\n $formatType = 'formatType' + $lvl;\n out += ' var ' + ($format) + ' = formats[' + ($schemaValue) + ']; var ' + ($isObject) + ' = typeof ' + ($format) + ' == \\'object\\' && !(' + ($format) + ' instanceof RegExp) && ' + ($format) + '.validate; var ' + ($formatType) + ' = ' + ($isObject) + ' && ' + ($format) + '.type || \\'string\\'; if (' + ($isObject) + ') { ';\n if (it.async) {\n out += ' var async' + ($lvl) + ' = ' + ($format) + '.async; ';\n }\n out += ' ' + ($format) + ' = ' + ($format) + '.validate; } if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'string\\') || ';\n }\n out += ' (';\n if ($unknownFormats != 'ignore') {\n out += ' (' + ($schemaValue) + ' && !' + ($format) + ' ';\n if ($allowUnknown) {\n out += ' && self._opts.unknownFormats.indexOf(' + ($schemaValue) + ') == -1 ';\n }\n out += ') || ';\n }\n out += ' (' + ($format) + ' && ' + ($formatType) + ' == \\'' + ($ruleType) + '\\' && !(typeof ' + ($format) + ' == \\'function\\' ? ';\n if (it.async) {\n out += ' (async' + ($lvl) + ' ? ' + (it.yieldAwait) + ' ' + ($format) + '(' + ($data) + ') : ' + ($format) + '(' + ($data) + ')) ';\n } else {\n out += ' ' + ($format) + '(' + ($data) + ') ';\n }\n out += ' : ' + ($format) + '.test(' + ($data) + '))))) {';\n } else {\n var $format = it.formats[$schema];\n if (!$format) {\n if ($unknownFormats == 'ignore') {\n console.warn('unknown format \"' + $schema + '\" ignored in schema at path \"' + it.errSchemaPath + '\"');\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else if ($allowUnknown && $unknownFormats.indexOf($schema) >= 0) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else {\n throw new Error('unknown format \"' + $schema + '\" is used in schema at path \"' + it.errSchemaPath + '\"');\n }\n }\n var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate;\n var $formatType = $isObject && $format.type || 'string';\n if ($isObject) {\n var $async = $format.async === true;\n $format = $format.validate;\n }\n if ($formatType != $ruleType) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n if ($async) {\n if (!it.async) throw new Error('async format in sync schema');\n var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';\n out += ' if (!(' + (it.yieldAwait) + ' ' + ($formatRef) + '(' + ($data) + '))) { ';\n } else {\n out += ' if (! ';\n var $formatRef = 'formats' + it.util.getProperty($schema);\n if ($isObject) $formatRef += '.validate';\n if (typeof $format == 'function') {\n out += ' ' + ($formatRef) + '(' + ($data) + ') ';\n } else {\n out += ' ' + ($formatRef) + '.test(' + ($data) + ') ';\n }\n out += ') { ';\n }\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('format') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match format \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/format.js","'use strict';\nmodule.exports = function generate_items(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $idx = 'i' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $currentBaseId = it.baseId;\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if (Array.isArray($schema)) {\n var $additionalItems = it.schema.additionalItems;\n if ($additionalItems === false) {\n out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; ';\n var $currErrSchemaPath = $errSchemaPath;\n $errSchemaPath = it.errSchemaPath + '/additionalItems';\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('additionalItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have more than ' + ($schema.length) + ' items\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { ';\n var $passData = $data + '[' + $i + ']';\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true);\n $it.dataPathArr[$dataNxt] = $i;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if (typeof $additionalItems == 'object' && it.util.schemaHasRules($additionalItems, it.RULES.all)) {\n $it.schema = $additionalItems;\n $it.schemaPath = it.schemaPath + '.additionalItems';\n $it.errSchemaPath = it.errSchemaPath + '/additionalItems';\n out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n } else if (it.util.schemaHasRules($schema, it.RULES.all)) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' }';\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/items.js","'use strict';\nmodule.exports = function generate__limit(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $isMax = $keyword == 'maximum',\n $exclusiveKeyword = $isMax ? 'exclusiveMaximum' : 'exclusiveMinimum',\n $schemaExcl = it.schema[$exclusiveKeyword],\n $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data,\n $op = $isMax ? '<' : '>',\n $notOp = $isMax ? '>' : '<',\n $errorKeyword = undefined;\n if ($isDataExcl) {\n var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr),\n $exclusive = 'exclusive' + $lvl,\n $exclType = 'exclType' + $lvl,\n $exclIsNumber = 'exclIsNumber' + $lvl,\n $opExpr = 'op' + $lvl,\n $opStr = '\\' + ' + $opExpr + ' + \\'';\n out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; ';\n $schemaValueExcl = 'schemaExcl' + $lvl;\n out += ' var ' + ($exclusive) + '; var ' + ($exclType) + ' = typeof ' + ($schemaValueExcl) + '; if (' + ($exclType) + ' != \\'boolean\\' && ' + ($exclType) + ' != \\'undefined\\' && ' + ($exclType) + ' != \\'number\\') { ';\n var $errorKeyword = $exclusiveKeyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_exclusiveLimit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'' + ($exclusiveKeyword) + ' should be boolean\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($exclType) + ' == \\'number\\' ? ( (' + ($exclusive) + ' = ' + ($schemaValue) + ' === undefined || ' + ($schemaValueExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ') ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValueExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) : ( (' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true) ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValue) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \\'' + ($op) + '\\' : \\'' + ($op) + '=\\';';\n } else {\n var $exclIsNumber = typeof $schemaExcl == 'number',\n $opStr = $op;\n if ($exclIsNumber && $isData) {\n var $opExpr = '\\'' + $opStr + '\\'';\n out += ' if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ( ' + ($schemaValue) + ' === undefined || ' + ($schemaExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ' ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { ';\n } else {\n if ($exclIsNumber && $schema === undefined) {\n $exclusive = true;\n $errorKeyword = $exclusiveKeyword;\n $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n $schemaValue = $schemaExcl;\n $notOp += '=';\n } else {\n if ($exclIsNumber) $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema);\n if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) {\n $exclusive = true;\n $errorKeyword = $exclusiveKeyword;\n $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n $notOp += '=';\n } else {\n $exclusive = false;\n $opStr += '=';\n }\n }\n var $opExpr = '\\'' + $opStr + '\\'';\n out += ' if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' || ' + ($data) + ' !== ' + ($data) + ') { ';\n }\n }\n $errorKeyword = $errorKeyword || $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: ' + ($schemaValue) + ', exclusive: ' + ($exclusive) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ' + ($opStr) + ' ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue);\n } else {\n out += '' + ($schemaValue) + '\\'';\n }\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/_limit.js","'use strict';\nmodule.exports = function generate__limitItems(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $op = $keyword == 'maxItems' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxItems') {\n out += 'more';\n } else {\n out += 'less';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' items\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/_limitItems.js","'use strict';\nmodule.exports = function generate__limitLength(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $op = $keyword == 'maxLength' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n if (it.opts.unicode === false) {\n out += ' ' + ($data) + '.length ';\n } else {\n out += ' ucs2length(' + ($data) + ') ';\n }\n out += ' ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitLength') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be ';\n if ($keyword == 'maxLength') {\n out += 'longer';\n } else {\n out += 'shorter';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' characters\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/_limitLength.js","'use strict';\nmodule.exports = function generate__limitProperties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $op = $keyword == 'maxProperties' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxProperties') {\n out += 'more';\n } else {\n out += 'less';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' properties\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/_limitProperties.js","'use strict';\nmodule.exports = function generate_multipleOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n out += 'var division' + ($lvl) + ';if (';\n if ($isData) {\n out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \\'number\\' || ';\n }\n out += ' (division' + ($lvl) + ' = ' + ($data) + ' / ' + ($schemaValue) + ', ';\n if (it.opts.multipleOfPrecision) {\n out += ' Math.abs(Math.round(division' + ($lvl) + ') - division' + ($lvl) + ') > 1e-' + (it.opts.multipleOfPrecision) + ' ';\n } else {\n out += ' division' + ($lvl) + ' !== parseInt(division' + ($lvl) + ') ';\n }\n out += ' ) ';\n if ($isData) {\n out += ' ) ';\n }\n out += ' ) { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('multipleOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { multipleOf: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be multiple of ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue);\n } else {\n out += '' + ($schemaValue) + '\\'';\n }\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/multipleOf.js","'use strict';\nmodule.exports = function generate_not(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n if (it.util.schemaHasRules($schema, it.RULES.all)) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.createErrors = false;\n var $allErrorsOption;\n if ($it.opts.allErrors) {\n $allErrorsOption = $it.opts.allErrors;\n $it.opts.allErrors = false;\n }\n out += ' ' + (it.validate($it)) + ' ';\n $it.createErrors = true;\n if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption;\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' if (' + ($nextValid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('not') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be valid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n } else {\n out += ' var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('not') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be valid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if ($breakOnError) {\n out += ' if (false) { ';\n }\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/not.js","'use strict';\nmodule.exports = function generate_oneOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n out += 'var ' + ($errs) + ' = errors;var prevValid' + ($lvl) + ' = false;var ' + ($valid) + ' = false;';\n var $currentBaseId = $it.baseId;\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n } else {\n out += ' var ' + ($nextValid) + ' = true; ';\n }\n if ($i) {\n out += ' if (' + ($nextValid) + ' && prevValid' + ($lvl) + ') ' + ($valid) + ' = false; else { ';\n $closingBraces += '}';\n }\n out += ' if (' + ($nextValid) + ') ' + ($valid) + ' = prevValid' + ($lvl) + ' = true;';\n }\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('oneOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match exactly one schema in oneOf\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += '} else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; }';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/oneOf.js","'use strict';\nmodule.exports = function generate_pattern(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema);\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'string\\') || ';\n }\n out += ' !' + ($regexp) + '.test(' + ($data) + ') ) { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('pattern') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { pattern: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match pattern \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/pattern.js","'use strict';\nmodule.exports = function generate_properties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl;\n var $schemaKeys = Object.keys($schema || {}),\n $pProperties = it.schema.patternProperties || {},\n $pPropertyKeys = Object.keys($pProperties),\n $aProperties = it.schema.additionalProperties,\n $someProperties = $schemaKeys.length || $pPropertyKeys.length,\n $noAdditional = $aProperties === false,\n $additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length,\n $removeAdditional = it.opts.removeAdditional,\n $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n var $required = it.schema.required;\n if ($required && !(it.opts.v5 && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required);\n if (it.opts.patternGroups) {\n var $pgProperties = it.schema.patternGroups || {},\n $pgPropertyKeys = Object.keys($pgProperties);\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;';\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined;';\n }\n if ($checkAdditional) {\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n if ($someProperties) {\n out += ' var isAdditional' + ($lvl) + ' = !(false ';\n if ($schemaKeys.length) {\n if ($schemaKeys.length > 5) {\n out += ' || validate.schema' + ($schemaPath) + '[' + ($key) + '] ';\n } else {\n var arr1 = $schemaKeys;\n if (arr1) {\n var $propertyKey, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $propertyKey = arr1[i1 += 1];\n out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' ';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr2 = $pPropertyKeys;\n if (arr2) {\n var $pProperty, $i = -1,\n l2 = arr2.length - 1;\n while ($i < l2) {\n $pProperty = arr2[$i += 1];\n out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';\n }\n }\n }\n if (it.opts.patternGroups && $pgPropertyKeys.length) {\n var arr3 = $pgPropertyKeys;\n if (arr3) {\n var $pgProperty, $i = -1,\n l3 = arr3.length - 1;\n while ($i < l3) {\n $pgProperty = arr3[$i += 1];\n out += ' || ' + (it.usePattern($pgProperty)) + '.test(' + ($key) + ') ';\n }\n }\n }\n out += ' ); if (isAdditional' + ($lvl) + ') { ';\n }\n if ($removeAdditional == 'all') {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n var $currentErrorPath = it.errorPath;\n var $additionalProperty = '\\' + ' + $key + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n }\n if ($noAdditional) {\n if ($removeAdditional) {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n out += ' ' + ($nextValid) + ' = false; ';\n var $currErrSchemaPath = $errSchemaPath;\n $errSchemaPath = it.errSchemaPath + '/additionalProperties';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('additionalProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \\'' + ($additionalProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have additional properties\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n out += ' break; ';\n }\n }\n } else if ($additionalIsSchema) {\n if ($removeAdditional == 'failing') {\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n } else {\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n }\n if ($someProperties) {\n out += ' } ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n var $useDefaults = it.opts.useDefaults && !it.compositeRule;\n if ($schemaKeys.length) {\n var arr4 = $schemaKeys;\n if (arr4) {\n var $propertyKey, i4 = -1,\n l4 = arr4.length - 1;\n while (i4 < l4) {\n $propertyKey = arr4[i4 += 1];\n var $sch = $schema[$propertyKey];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n var $prop = it.util.getProperty($propertyKey),\n $passData = $data + $prop,\n $hasDefault = $useDefaults && $sch.default !== undefined;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + $prop;\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey);\n $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers);\n $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey);\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n $code = it.util.varReplace($code, $nextData, $passData);\n var $useData = $passData;\n } else {\n var $useData = $nextData;\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ';\n }\n if ($hasDefault) {\n out += ' ' + ($code) + ' ';\n } else {\n if ($requiredHash && $requiredHash[$propertyKey]) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = false; ';\n var $currentErrorPath = it.errorPath,\n $currErrSchemaPath = $errSchemaPath,\n $missingProperty = it.util.escapeQuotes($propertyKey);\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n $errSchemaPath = it.errSchemaPath + '/required';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n it.errorPath = $currentErrorPath;\n out += ' } else { ';\n } else {\n if ($breakOnError) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = true; } else { ';\n } else {\n out += ' if (' + ($useData) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ' ) { ';\n }\n }\n out += ' ' + ($code) + ' } ';\n }\n }\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr5 = $pPropertyKeys;\n if (arr5) {\n var $pProperty, i5 = -1,\n l5 = arr5.length - 1;\n while (i5 < l5) {\n $pProperty = arr5[i5 += 1];\n var $sch = $pProperties[$pProperty];\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n $it.schema = $sch;\n $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty);\n $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty);\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else ' + ($nextValid) + ' = true; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n }\n if (it.opts.patternGroups && $pgPropertyKeys.length) {\n var arr6 = $pgPropertyKeys;\n if (arr6) {\n var $pgProperty, i6 = -1,\n l6 = arr6.length - 1;\n while (i6 < l6) {\n $pgProperty = arr6[i6 += 1];\n var $pgSchema = $pgProperties[$pgProperty],\n $sch = $pgSchema.schema;\n if (it.util.schemaHasRules($sch, it.RULES.all)) {\n $it.schema = $sch;\n $it.schemaPath = it.schemaPath + '.patternGroups' + it.util.getProperty($pgProperty) + '.schema';\n $it.errSchemaPath = it.errSchemaPath + '/patternGroups/' + it.util.escapeFragment($pgProperty) + '/schema';\n out += ' var pgPropCount' + ($lvl) + ' = 0; ';\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' if (' + (it.usePattern($pgProperty)) + '.test(' + ($key) + ')) { pgPropCount' + ($lvl) + '++; ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else ' + ($nextValid) + ' = true; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n var $pgMin = $pgSchema.minimum,\n $pgMax = $pgSchema.maximum;\n if ($pgMin !== undefined || $pgMax !== undefined) {\n out += ' var ' + ($valid) + ' = true; ';\n var $currErrSchemaPath = $errSchemaPath;\n if ($pgMin !== undefined) {\n var $limit = $pgMin,\n $reason = 'minimum',\n $moreOrLess = 'less';\n out += ' ' + ($valid) + ' = pgPropCount' + ($lvl) + ' >= ' + ($pgMin) + '; ';\n $errSchemaPath = it.errSchemaPath + '/patternGroups/minimum';\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('patternGroups') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { reason: \\'' + ($reason) + '\\', limit: ' + ($limit) + ', pattern: \\'' + (it.util.escapeQuotes($pgProperty)) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ' + ($moreOrLess) + ' than ' + ($limit) + ' properties matching pattern \"' + (it.util.escapeQuotes($pgProperty)) + '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($pgMax !== undefined) {\n out += ' else ';\n }\n }\n if ($pgMax !== undefined) {\n var $limit = $pgMax,\n $reason = 'maximum',\n $moreOrLess = 'more';\n out += ' ' + ($valid) + ' = pgPropCount' + ($lvl) + ' <= ' + ($pgMax) + '; ';\n $errSchemaPath = it.errSchemaPath + '/patternGroups/maximum';\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('patternGroups') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { reason: \\'' + ($reason) + '\\', limit: ' + ($limit) + ', pattern: \\'' + (it.util.escapeQuotes($pgProperty)) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ' + ($moreOrLess) + ' than ' + ($limit) + ' properties matching pattern \"' + (it.util.escapeQuotes($pgProperty)) + '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n }\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n out += ' if (' + ($valid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/properties.js","'use strict';\nmodule.exports = function generate_propertyNames(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n if (it.util.schemaHasRules($schema, it.RULES.all)) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $i = 'i' + $lvl,\n $invalidName = '\\' + ' + $key + ' + \\'',\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n out += ' var ' + ($errs) + ' = errors; ';\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined; ';\n }\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' var startErrs' + ($lvl) + ' = errors; ';\n var $passData = $key;\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '<errors; ' + ($i) + '++) { vErrors[' + ($i) + '].propertyName = ' + ($key) + '; } var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('propertyNames') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { propertyName: \\'' + ($invalidName) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'property name \\\\\\'' + ($invalidName) + '\\\\\\' is invalid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n if ($breakOnError) {\n out += ' break; ';\n }\n out += ' } }';\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n out = it.util.cleanUpCode(out);\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/propertyNames.js","'use strict';\nmodule.exports = function generate_required(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $vSchema = 'schema' + $lvl;\n if (!$isData) {\n if ($schema.length < it.opts.loopRequired && it.schema.properties && Object.keys(it.schema.properties).length) {\n var $required = [];\n var arr1 = $schema;\n if (arr1) {\n var $property, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $property = arr1[i1 += 1];\n var $propertySch = it.schema.properties[$property];\n if (!($propertySch && it.util.schemaHasRules($propertySch, it.RULES.all))) {\n $required[$required.length] = $property;\n }\n }\n }\n } else {\n var $required = $schema;\n }\n }\n if ($isData || $required.length) {\n var $currentErrorPath = it.errorPath,\n $loopRequired = $isData || $required.length >= it.opts.loopRequired,\n $ownProperties = it.opts.ownProperties;\n if ($breakOnError) {\n out += ' var missing' + ($lvl) + '; ';\n if ($loopRequired) {\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; ';\n }\n var $i = 'i' + $lvl,\n $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n }\n out += ' var ' + ($valid) + ' = true; ';\n if ($isData) {\n out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';\n }\n out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { ' + ($valid) + ' = ' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) ';\n }\n out += '; if (!' + ($valid) + ') break; } ';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n } else {\n out += ' if ( ';\n var arr2 = $required;\n if (arr2) {\n var $propertyKey, $i = -1,\n l2 = arr2.length - 1;\n while ($i < l2) {\n $propertyKey = arr2[$i += 1];\n if ($i) {\n out += ' || ';\n }\n var $prop = it.util.getProperty($propertyKey),\n $useData = $data + $prop;\n out += ' ( ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';\n }\n }\n out += ') { ';\n var $propertyPath = 'missing' + $lvl,\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n }\n } else {\n if ($loopRequired) {\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; ';\n }\n var $i = 'i' + $lvl,\n $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n }\n if ($isData) {\n out += ' if (' + ($vSchema) + ' && !Array.isArray(' + ($vSchema) + ')) { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (' + ($vSchema) + ' !== undefined) { ';\n }\n out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { if (' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ';\n if ($isData) {\n out += ' } ';\n }\n } else {\n var arr3 = $required;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $prop = it.util.getProperty($propertyKey),\n $missingProperty = it.util.escapeQuotes($propertyKey),\n $useData = $data + $prop;\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n }\n }\n }\n }\n it.errorPath = $currentErrorPath;\n } else if ($breakOnError) {\n out += ' if (true) {';\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/required.js","'use strict';\nmodule.exports = function generate_uniqueItems(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (($schema || $isData) && it.opts.uniqueItems !== false) {\n if ($isData) {\n out += ' var ' + ($valid) + '; if (' + ($schemaValue) + ' === false || ' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \\'boolean\\') ' + ($valid) + ' = false; else { ';\n }\n out += ' var ' + ($valid) + ' = true; if (' + ($data) + '.length > 1) { var i = ' + ($data) + '.length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal(' + ($data) + '[i], ' + ($data) + '[j])) { ' + ($valid) + ' = false; break outer; } } } } ';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('uniqueItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { i: i, j: j } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have duplicate items (items ## \\' + j + \\' and \\' + i + \\' are identical)\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/uniqueItems.js","'use strict';\n\nvar KEYWORDS = [\n 'multipleOf',\n 'maximum',\n 'exclusiveMaximum',\n 'minimum',\n 'exclusiveMinimum',\n 'maxLength',\n 'minLength',\n 'pattern',\n 'additionalItems',\n 'maxItems',\n 'minItems',\n 'uniqueItems',\n 'maxProperties',\n 'minProperties',\n 'required',\n 'additionalProperties',\n 'enum',\n 'format',\n 'const'\n];\n\nmodule.exports = function (metaSchema, keywordsJsonPointers) {\n for (var i=0; i<keywordsJsonPointers.length; i++) {\n metaSchema = JSON.parse(JSON.stringify(metaSchema));\n var segments = keywordsJsonPointers[i].split('/');\n var keywords = metaSchema;\n var j;\n for (j=1; j<segments.length; j++)\n keywords = keywords[segments[j]];\n\n for (j=0; j<KEYWORDS.length; j++) {\n var key = KEYWORDS[j];\n var schema = keywords[key];\n if (schema) {\n keywords[key] = {\n anyOf: [\n schema,\n { $ref: 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#' }\n ]\n };\n }\n }\n }\n\n return metaSchema;\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/$data.js","'use strict';\n\nvar META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema';\n\nmodule.exports = function (ajv) {\n var defaultMeta = ajv._opts.defaultMeta;\n var metaSchemaRef = typeof defaultMeta == 'string'\n ? { $ref: defaultMeta }\n : ajv.getSchema(META_SCHEMA_ID)\n ? { $ref: META_SCHEMA_ID }\n : {};\n\n ajv.addKeyword('patternGroups', {\n // implemented in properties.jst\n metaSchema: {\n type: 'object',\n additionalProperties: {\n type: 'object',\n required: [ 'schema' ],\n properties: {\n maximum: {\n type: 'integer',\n minimum: 0\n },\n minimum: {\n type: 'integer',\n minimum: 0\n },\n schema: metaSchemaRef\n },\n additionalProperties: false\n }\n }\n });\n ajv.RULES.all.properties.implements.push('patternGroups');\n};\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/patternGroups.js","'use strict';\n\nvar MissingRefError = require('./error_classes').MissingRef;\n\nmodule.exports = compileAsync;\n\n\n/**\n * Creates validating function for passed schema with asynchronous loading of missing schemas.\n * `loadSchema` option should be a function that accepts schema uri and returns promise that resolves with the schema.\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Boolean} meta optional true to compile meta-schema; this parameter can be skipped\n * @param {Function} callback an optional node-style callback, it is called with 2 parameters: error (or null) and validating function.\n * @return {Promise} promise that resolves with a validating function.\n */\nfunction compileAsync(schema, meta, callback) {\n /* eslint no-shadow: 0 */\n /* global Promise */\n /* jshint validthis: true */\n var self = this;\n if (typeof this._opts.loadSchema != 'function')\n throw new Error('options.loadSchema should be a function');\n\n if (typeof meta == 'function') {\n callback = meta;\n meta = undefined;\n }\n\n var p = loadMetaSchemaOf(schema).then(function () {\n var schemaObj = self._addSchema(schema, undefined, meta);\n return schemaObj.validate || _compileAsync(schemaObj);\n });\n\n if (callback) {\n p.then(\n function(v) { callback(null, v); },\n callback\n );\n }\n\n return p;\n\n\n function loadMetaSchemaOf(sch) {\n var $schema = sch.$schema;\n return $schema && !self.getSchema($schema)\n ? compileAsync.call(self, { $ref: $schema }, true)\n : Promise.resolve();\n }\n\n\n function _compileAsync(schemaObj) {\n try { return self._compile(schemaObj); }\n catch(e) {\n if (e instanceof MissingRefError) return loadMissingSchema(e);\n throw e;\n }\n\n\n function loadMissingSchema(e) {\n var ref = e.missingSchema;\n if (added(ref)) throw new Error('Schema ' + ref + ' is loaded but ' + e.missingRef + ' cannot be resolved');\n\n var schemaPromise = self._loadingSchemas[ref];\n if (!schemaPromise) {\n schemaPromise = self._loadingSchemas[ref] = self._opts.loadSchema(ref);\n schemaPromise.then(removePromise, removePromise);\n }\n\n return schemaPromise.then(function (sch) {\n if (!added(ref)) {\n return loadMetaSchemaOf(sch).then(function () {\n if (!added(ref)) self.addSchema(sch, ref, undefined, meta);\n });\n }\n }).then(function() {\n return _compileAsync(schemaObj);\n });\n\n function removePromise() {\n delete self._loadingSchemas[ref];\n }\n\n function added(ref) {\n return self._refs[ref] || self._schemas[ref];\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/compile/async.js","'use strict';\n\nvar IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;\nvar customRuleCode = require('./dotjs/custom');\n\nmodule.exports = {\n add: addKeyword,\n get: getKeyword,\n remove: removeKeyword\n};\n\n/**\n * Define custom keyword\n * @this Ajv\n * @param {String} keyword custom keyword, should be unique (including different from all standard, custom and macro keywords).\n * @param {Object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`.\n */\nfunction addKeyword(keyword, definition) {\n /* jshint validthis: true */\n /* eslint no-shadow: 0 */\n var RULES = this.RULES;\n\n if (RULES.keywords[keyword])\n throw new Error('Keyword ' + keyword + ' is already defined');\n\n if (!IDENTIFIER.test(keyword))\n throw new Error('Keyword ' + keyword + ' is not a valid identifier');\n\n if (definition) {\n if (definition.macro && definition.valid !== undefined)\n throw new Error('\"valid\" option cannot be used with macro keywords');\n\n var dataType = definition.type;\n if (Array.isArray(dataType)) {\n var i, len = dataType.length;\n for (i=0; i<len; i++) checkDataType(dataType[i]);\n for (i=0; i<len; i++) _addRule(keyword, dataType[i], definition);\n } else {\n if (dataType) checkDataType(dataType);\n _addRule(keyword, dataType, definition);\n }\n\n var $data = definition.$data === true && this._opts.$data;\n if ($data && !definition.validate)\n throw new Error('$data support: \"validate\" function is not defined');\n\n var metaSchema = definition.metaSchema;\n if (metaSchema) {\n if ($data) {\n metaSchema = {\n anyOf: [\n metaSchema,\n { '$ref': 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#' }\n ]\n };\n }\n definition.validateSchema = this.compile(metaSchema, true);\n }\n }\n\n RULES.keywords[keyword] = RULES.all[keyword] = true;\n\n\n function _addRule(keyword, dataType, definition) {\n var ruleGroup;\n for (var i=0; i<RULES.length; i++) {\n var rg = RULES[i];\n if (rg.type == dataType) {\n ruleGroup = rg;\n break;\n }\n }\n\n if (!ruleGroup) {\n ruleGroup = { type: dataType, rules: [] };\n RULES.push(ruleGroup);\n }\n\n var rule = {\n keyword: keyword,\n definition: definition,\n custom: true,\n code: customRuleCode,\n implements: definition.implements\n };\n ruleGroup.rules.push(rule);\n RULES.custom[keyword] = rule;\n }\n\n\n function checkDataType(dataType) {\n if (!RULES.types[dataType]) throw new Error('Unknown type ' + dataType);\n }\n}\n\n\n/**\n * Get keyword\n * @this Ajv\n * @param {String} keyword pre-defined or custom keyword.\n * @return {Object|Boolean} custom keyword definition, `true` if it is a predefined keyword, `false` otherwise.\n */\nfunction getKeyword(keyword) {\n /* jshint validthis: true */\n var rule = this.RULES.custom[keyword];\n return rule ? rule.definition : this.RULES.keywords[keyword] || false;\n}\n\n\n/**\n * Remove keyword\n * @this Ajv\n * @param {String} keyword pre-defined or custom keyword.\n */\nfunction removeKeyword(keyword) {\n /* jshint validthis: true */\n var RULES = this.RULES;\n delete RULES.keywords[keyword];\n delete RULES.all[keyword];\n delete RULES.custom[keyword];\n for (var i=0; i<RULES.length; i++) {\n var rules = RULES[i].rules;\n for (var j=0; j<rules.length; j++) {\n if (rules[j].keyword == keyword) {\n rules.splice(j, 1);\n break;\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/keyword.js","'use strict';\nmodule.exports = function generate_custom(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $rule = this,\n $definition = 'definition' + $lvl,\n $rDef = $rule.definition,\n $closingBraces = '';\n var $compile, $inline, $macro, $ruleValidate, $validateCode;\n if ($isData && $rDef.$data) {\n $validateCode = 'keywordValidate' + $lvl;\n var $validateSchema = $rDef.validateSchema;\n out += ' var ' + ($definition) + ' = RULES.custom[\\'' + ($keyword) + '\\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;';\n } else {\n $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);\n if (!$ruleValidate) return;\n $schemaValue = 'validate.schema' + $schemaPath;\n $validateCode = $ruleValidate.code;\n $compile = $rDef.compile;\n $inline = $rDef.inline;\n $macro = $rDef.macro;\n }\n var $ruleErrs = $validateCode + '.errors',\n $i = 'i' + $lvl,\n $ruleErr = 'ruleErr' + $lvl,\n $asyncKeyword = $rDef.async;\n if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema');\n if (!($inline || $macro)) {\n out += '' + ($ruleErrs) + ' = null;';\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($isData && $rDef.$data) {\n $closingBraces += '}';\n out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { ';\n if ($validateSchema) {\n $closingBraces += '}';\n out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { ';\n }\n }\n if ($inline) {\n if ($rDef.statements) {\n out += ' ' + ($ruleValidate.validate) + ' ';\n } else {\n out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; ';\n }\n } else if ($macro) {\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n $it.schema = $ruleValidate.validate;\n $it.schemaPath = '';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it).replace(/validate\\.schema/g, $validateCode);\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($code);\n } else {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n out += ' ' + ($validateCode) + '.call( ';\n if (it.opts.passContext) {\n out += 'this';\n } else {\n out += 'self';\n }\n if ($compile || $rDef.schema === false) {\n out += ' , ' + ($data) + ' ';\n } else {\n out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' ';\n }\n out += ' , (dataPath || \\'\\')';\n if (it.errorPath != '\"\"') {\n out += ' + ' + (it.errorPath);\n }\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) ';\n var def_callRuleValidate = out;\n out = $$outStack.pop();\n if ($rDef.errors === false) {\n out += ' ' + ($valid) + ' = ';\n if ($asyncKeyword) {\n out += '' + (it.yieldAwait);\n }\n out += '' + (def_callRuleValidate) + '; ';\n } else {\n if ($asyncKeyword) {\n $ruleErrs = 'customErrors' + $lvl;\n out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = ' + (it.yieldAwait) + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } ';\n } else {\n out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; ';\n }\n }\n }\n if ($rDef.modifying) {\n out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];';\n }\n out += '' + ($closingBraces);\n if ($rDef.valid) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n } else {\n out += ' if ( ';\n if ($rDef.valid === undefined) {\n out += ' !';\n if ($macro) {\n out += '' + ($nextValid);\n } else {\n out += '' + ($valid);\n }\n } else {\n out += ' ' + (!$rDef.valid) + ' ';\n }\n out += ') { ';\n $errorKeyword = $rule.keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n var def_customError = out;\n out = $$outStack.pop();\n if ($inline) {\n if ($rDef.errors) {\n if ($rDef.errors != 'full') {\n out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } ';\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (' + ($errs) + ' == errors) { ' + (def_customError) + ' } else { for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } ';\n }\n }\n } else if ($macro) {\n out += ' var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (Array.isArray(' + ($ruleErrs) + ')) { if (vErrors === null) vErrors = ' + ($ruleErrs) + '; else vErrors = vErrors.concat(' + ($ruleErrs) + '); errors = vErrors.length; for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } else { ' + (def_customError) + ' } ';\n }\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n }\n return out;\n}\n\n\n\n// WEBPACK FOOTER //\n// ../~/ajv/lib/dotjs/custom.js","module.exports = {\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"$id\":\"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#\",\"description\":\"Meta-schema for $data reference (JSON-schema extension proposal)\",\"type\":\"object\",\"required\":[\"$data\"],\"properties\":{\"$data\":{\"type\":\"string\",\"anyOf\":[{\"format\":\"relative-json-pointer\"},{\"format\":\"json-pointer\"}]}},\"additionalProperties\":false}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../~/ajv/lib/refs/$data.json\n// module id = 67\n// module chunks = 0","module.exports = {\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"$id\":\"http://json-schema.org/draft-06/schema#\",\"title\":\"Core schema meta-schema\",\"definitions\":{\"schemaArray\":{\"type\":\"array\",\"minItems\":1,\"items\":{\"$ref\":\"#\"}},\"nonNegativeInteger\":{\"type\":\"integer\",\"minimum\":0},\"nonNegativeIntegerDefault0\":{\"allOf\":[{\"$ref\":\"#/definitions/nonNegativeInteger\"},{\"default\":0}]},\"simpleTypes\":{\"enum\":[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},\"stringArray\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"default\":[]}},\"type\":[\"object\",\"boolean\"],\"properties\":{\"$id\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$schema\":{\"type\":\"string\",\"format\":\"uri\"},\"$ref\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"default\":{},\"multipleOf\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"maximum\":{\"type\":\"number\"},\"exclusiveMaximum\":{\"type\":\"number\"},\"minimum\":{\"type\":\"number\"},\"exclusiveMinimum\":{\"type\":\"number\"},\"maxLength\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minLength\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"pattern\":{\"type\":\"string\",\"format\":\"regex\"},\"additionalItems\":{\"$ref\":\"#\"},\"items\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/schemaArray\"}],\"default\":{}},\"maxItems\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minItems\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"uniqueItems\":{\"type\":\"boolean\",\"default\":false},\"contains\":{\"$ref\":\"#\"},\"maxProperties\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minProperties\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"required\":{\"$ref\":\"#/definitions/stringArray\"},\"additionalProperties\":{\"$ref\":\"#\"},\"definitions\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"properties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"patternProperties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"dependencies\":{\"type\":\"object\",\"additionalProperties\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/stringArray\"}]}},\"propertyNames\":{\"$ref\":\"#\"},\"const\":{},\"enum\":{\"type\":\"array\",\"minItems\":1,\"uniqueItems\":true},\"type\":{\"anyOf\":[{\"$ref\":\"#/definitions/simpleTypes\"},{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/simpleTypes\"},\"minItems\":1,\"uniqueItems\":true}]},\"format\":{\"type\":\"string\"},\"allOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"anyOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"oneOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"not\":{\"$ref\":\"#\"}},\"default\":{}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../~/ajv/lib/refs/json-schema-draft-06.json\n// module id = 68\n// module chunks = 0","import ArrayField from \"./ArrayField\";\nimport BooleanField from \"./BooleanField\";\nimport DescriptionField from \"./DescriptionField\";\nimport NumberField from \"./NumberField\";\nimport ObjectField from \"./ObjectField\";\nimport SchemaField from \"./SchemaField\";\nimport StringField from \"./StringField\";\nimport TitleField from \"./TitleField\";\nimport UnsupportedField from \"./UnsupportedField\";\n\nexport default {\n ArrayField,\n BooleanField,\n DescriptionField,\n NumberField,\n ObjectField,\n SchemaField,\n StringField,\n TitleField,\n UnsupportedField,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/index.js","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport UnsupportedField from \"./UnsupportedField\";\nimport {\n getWidget,\n getDefaultFormState,\n getUiOptions,\n isMultiSelect,\n isFilesArray,\n isFixedItems,\n allowAdditionalItems,\n optionsList,\n retrieveSchema,\n toIdSchema,\n getDefaultRegistry,\n} from \"../../utils\";\n\nfunction ArrayFieldTitle({ TitleField, idSchema, title, required }) {\n if (!title) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n const id = `${idSchema.$id}__title`;\n return <TitleField id={id} title={title} required={required} />;\n}\n\nfunction ArrayFieldDescription({ DescriptionField, idSchema, description }) {\n if (!description) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n const id = `${idSchema.$id}__description`;\n return <DescriptionField id={id} description={description} />;\n}\n\nfunction IconBtn(props) {\n const { type = \"default\", icon, className, ...otherProps } = props;\n return (\n <button\n type=\"button\"\n className={`btn btn-${type} ${className}`}\n {...otherProps}>\n <i className={`glyphicon glyphicon-${icon}`} />\n </button>\n );\n}\n\n// Used in the two templates\nfunction DefaultArrayItem(props) {\n const btnStyle = {\n flex: 1,\n paddingLeft: 6,\n paddingRight: 6,\n fontWeight: \"bold\",\n };\n return (\n <div key={props.index} className={props.className}>\n <div className={props.hasToolbar ? \"col-xs-9\" : \"col-xs-12\"}>\n {props.children}\n </div>\n\n {props.hasToolbar && (\n <div className=\"col-xs-3 array-item-toolbox\">\n <div\n className=\"btn-group\"\n style={{\n display: \"flex\",\n justifyContent: \"space-around\",\n }}>\n {(props.hasMoveUp || props.hasMoveDown) && (\n <IconBtn\n icon=\"arrow-up\"\n className=\"array-item-move-up\"\n tabIndex=\"-1\"\n style={btnStyle}\n disabled={props.disabled || props.readonly || !props.hasMoveUp}\n onClick={props.onReorderClick(props.index, props.index - 1)}\n />\n )}\n\n {(props.hasMoveUp || props.hasMoveDown) && (\n <IconBtn\n icon=\"arrow-down\"\n className=\"array-item-move-down\"\n tabIndex=\"-1\"\n style={btnStyle}\n disabled={\n props.disabled || props.readonly || !props.hasMoveDown\n }\n onClick={props.onReorderClick(props.index, props.index + 1)}\n />\n )}\n\n {props.hasRemove && (\n <IconBtn\n type=\"danger\"\n icon=\"remove\"\n className=\"array-item-remove\"\n tabIndex=\"-1\"\n style={btnStyle}\n disabled={props.disabled || props.readonly}\n onClick={props.onDropIndexClick(props.index)}\n />\n )}\n </div>\n </div>\n )}\n </div>\n );\n}\n\nfunction DefaultFixedArrayFieldTemplate(props) {\n return (\n <fieldset className={props.className}>\n <ArrayFieldTitle\n key={`array-field-title-${props.idSchema.$id}`}\n TitleField={props.TitleField}\n idSchema={props.idSchema}\n title={props.uiSchema[\"ui:title\"] || props.title}\n required={props.required}\n />\n\n {(props.uiSchema[\"ui:description\"] || props.schema.description) && (\n <div\n className=\"field-description\"\n key={`field-description-${props.idSchema.$id}`}>\n {props.uiSchema[\"ui:description\"] || props.schema.description}\n </div>\n )}\n\n <div\n className=\"row array-item-list\"\n key={`array-item-list-${props.idSchema.$id}`}>\n {props.items && props.items.map(DefaultArrayItem)}\n </div>\n\n {props.canAdd && (\n <AddButton\n onClick={props.onAddClick}\n disabled={props.disabled || props.readonly}\n />\n )}\n </fieldset>\n );\n}\n\nfunction DefaultNormalArrayFieldTemplate(props) {\n return (\n <fieldset className={props.className}>\n <ArrayFieldTitle\n key={`array-field-title-${props.idSchema.$id}`}\n TitleField={props.TitleField}\n idSchema={props.idSchema}\n title={props.uiSchema[\"ui:title\"] || props.title}\n required={props.required}\n />\n\n {(props.uiSchema[\"ui:description\"] || props.schema.description) && (\n <ArrayFieldDescription\n key={`array-field-description-${props.idSchema.$id}`}\n DescriptionField={props.DescriptionField}\n idSchema={props.idSchema}\n description={\n props.uiSchema[\"ui:description\"] || props.schema.description\n }\n />\n )}\n\n <div\n className=\"row array-item-list\"\n key={`array-item-list-${props.idSchema.$id}`}>\n {props.items && props.items.map(p => DefaultArrayItem(p))}\n </div>\n\n {props.canAdd && (\n <AddButton\n onClick={props.onAddClick}\n disabled={props.disabled || props.readonly}\n />\n )}\n </fieldset>\n );\n}\n\nclass ArrayField extends Component {\n static defaultProps = {\n uiSchema: {},\n formData: [],\n idSchema: {},\n required: false,\n disabled: false,\n readonly: false,\n autofocus: false,\n };\n\n get itemTitle() {\n const { schema } = this.props;\n return schema.items.title || schema.items.description || \"Item\";\n }\n\n isItemRequired(itemSchema) {\n if (Array.isArray(itemSchema.type)) {\n // While we don't yet support composite/nullable jsonschema types, it's\n // future-proof to check for requirement against these.\n return !itemSchema.type.includes(\"null\");\n }\n // All non-null array item types are inherently required by design\n return itemSchema.type !== \"null\";\n }\n\n canAddItem(formItems) {\n const { schema, uiSchema } = this.props;\n let { addable } = getUiOptions(uiSchema);\n if (addable !== false) {\n // if ui:options.addable was not explicitly set to false, we can add\n // another item if we have not exceeded maxItems yet\n if (schema.maxItems !== undefined) {\n addable = formItems.length < schema.maxItems;\n } else {\n addable = true;\n }\n }\n return addable;\n }\n\n onAddClick = event => {\n event.preventDefault();\n const { schema, formData, registry = getDefaultRegistry() } = this.props;\n const { definitions } = registry;\n let itemSchema = schema.items;\n if (isFixedItems(schema) && allowAdditionalItems(schema)) {\n itemSchema = schema.additionalItems;\n }\n this.props.onChange([\n ...formData,\n getDefaultFormState(itemSchema, undefined, definitions),\n ]);\n };\n\n onDropIndexClick = index => {\n return event => {\n if (event) {\n event.preventDefault();\n }\n const { formData, onChange } = this.props;\n // refs #195: revalidate to ensure properly reindexing errors\n let newErrorSchema;\n if (this.props.errorSchema) {\n newErrorSchema = {};\n const errorSchema = this.props.errorSchema;\n for (let i in errorSchema) {\n i = parseInt(i);\n if (i < index) {\n newErrorSchema[i] = errorSchema[i];\n } else if (i > index) {\n newErrorSchema[i - 1] = errorSchema[i];\n }\n }\n }\n onChange(formData.filter((_, i) => i !== index), newErrorSchema);\n };\n };\n\n onReorderClick = (index, newIndex) => {\n return event => {\n if (event) {\n event.preventDefault();\n event.target.blur();\n }\n const { formData, onChange } = this.props;\n let newErrorSchema;\n if (this.props.errorSchema) {\n newErrorSchema = {};\n const errorSchema = this.props.errorSchema;\n for (let i in errorSchema) {\n if (i == index) {\n newErrorSchema[newIndex] = errorSchema[index];\n } else if (i == newIndex) {\n newErrorSchema[index] = errorSchema[newIndex];\n } else {\n newErrorSchema[i] = errorSchema[i];\n }\n }\n }\n onChange(\n formData.map((item, i) => {\n // i is string, index and newIndex are numbers,\n // so using \"==\" to compare\n if (i == newIndex) {\n return formData[index];\n } else if (i == index) {\n return formData[newIndex];\n } else {\n return item;\n }\n }),\n newErrorSchema\n );\n };\n };\n\n onChangeForIndex = index => {\n return (value, errorSchema) => {\n const { formData, onChange } = this.props;\n const newFormData = formData.map((item, i) => {\n // We need to treat undefined items as nulls to have validation.\n // See https://github.com/tdegrunt/jsonschema/issues/206\n const jsonValue = typeof value === \"undefined\" ? null : value;\n return index === i ? jsonValue : item;\n });\n onChange(\n newFormData,\n errorSchema &&\n this.props.errorSchema && {\n ...this.props.errorSchema,\n [index]: errorSchema,\n }\n );\n };\n };\n\n onSelectChange = value => {\n this.props.onChange(value);\n };\n\n render() {\n const {\n schema,\n uiSchema,\n idSchema,\n registry = getDefaultRegistry(),\n } = this.props;\n const { definitions } = registry;\n if (!schema.hasOwnProperty(\"items\")) {\n return (\n <UnsupportedField\n schema={schema}\n idSchema={idSchema}\n reason=\"Missing items definition\"\n />\n );\n }\n if (isFixedItems(schema)) {\n return this.renderFixedArray();\n }\n if (isFilesArray(schema, uiSchema, definitions)) {\n return this.renderFiles();\n }\n if (isMultiSelect(schema, definitions)) {\n return this.renderMultiSelect();\n }\n return this.renderNormalArray();\n }\n\n renderNormalArray() {\n const {\n schema,\n uiSchema,\n formData,\n errorSchema,\n idSchema,\n name,\n required,\n disabled,\n readonly,\n autofocus,\n registry = getDefaultRegistry(),\n onBlur,\n onFocus,\n idPrefix,\n rawErrors,\n } = this.props;\n const title = schema.title === undefined ? name : schema.title;\n const { ArrayFieldTemplate, definitions, fields, formContext } = registry;\n const { TitleField, DescriptionField } = fields;\n const itemsSchema = retrieveSchema(schema.items, definitions);\n const arrayProps = {\n canAdd: this.canAddItem(formData),\n items: formData.map((item, index) => {\n const itemSchema = retrieveSchema(schema.items, definitions, item);\n const itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n const itemIdPrefix = idSchema.$id + \"_\" + index;\n const itemIdSchema = toIdSchema(\n itemSchema,\n itemIdPrefix,\n definitions,\n item,\n idPrefix\n );\n return this.renderArrayFieldItem({\n index,\n canMoveUp: index > 0,\n canMoveDown: index < formData.length - 1,\n itemSchema: itemSchema,\n itemIdSchema,\n itemErrorSchema,\n itemData: item,\n itemUiSchema: uiSchema.items,\n autofocus: autofocus && index === 0,\n onBlur,\n onFocus,\n });\n }),\n className: `field field-array field-array-of-${itemsSchema.type}`,\n DescriptionField,\n disabled,\n idSchema,\n uiSchema,\n onAddClick: this.onAddClick,\n readonly,\n required,\n schema,\n title,\n TitleField,\n formContext,\n formData,\n rawErrors,\n };\n\n // Check if a custom render function was passed in\n const Component = ArrayFieldTemplate || DefaultNormalArrayFieldTemplate;\n return <Component {...arrayProps} />;\n }\n\n renderMultiSelect() {\n const {\n schema,\n idSchema,\n uiSchema,\n formData,\n disabled,\n readonly,\n autofocus,\n onBlur,\n onFocus,\n registry = getDefaultRegistry(),\n rawErrors,\n } = this.props;\n const items = this.props.formData;\n const { widgets, definitions, formContext } = registry;\n const itemsSchema = retrieveSchema(schema.items, definitions, formData);\n const enumOptions = optionsList(itemsSchema);\n const { widget = \"select\", ...options } = {\n ...getUiOptions(uiSchema),\n enumOptions,\n };\n const Widget = getWidget(schema, widget, widgets);\n return (\n <Widget\n id={idSchema && idSchema.$id}\n multiple\n onChange={this.onSelectChange}\n onBlur={onBlur}\n onFocus={onFocus}\n options={options}\n schema={schema}\n value={items}\n disabled={disabled}\n readonly={readonly}\n formContext={formContext}\n autofocus={autofocus}\n rawErrors={rawErrors}\n />\n );\n }\n\n renderFiles() {\n const {\n schema,\n uiSchema,\n idSchema,\n name,\n disabled,\n readonly,\n autofocus,\n onBlur,\n onFocus,\n registry = getDefaultRegistry(),\n rawErrors,\n } = this.props;\n const title = schema.title || name;\n const items = this.props.formData;\n const { widgets, formContext } = registry;\n const { widget = \"files\", ...options } = getUiOptions(uiSchema);\n const Widget = getWidget(schema, widget, widgets);\n return (\n <Widget\n options={options}\n id={idSchema && idSchema.$id}\n multiple\n onChange={this.onSelectChange}\n onBlur={onBlur}\n onFocus={onFocus}\n schema={schema}\n title={title}\n value={items}\n disabled={disabled}\n readonly={readonly}\n formContext={formContext}\n autofocus={autofocus}\n rawErrors={rawErrors}\n />\n );\n }\n\n renderFixedArray() {\n const {\n schema,\n uiSchema,\n formData,\n errorSchema,\n idPrefix,\n idSchema,\n name,\n required,\n disabled,\n readonly,\n autofocus,\n registry = getDefaultRegistry(),\n onBlur,\n onFocus,\n rawErrors,\n } = this.props;\n const title = schema.title || name;\n let items = this.props.formData;\n const { ArrayFieldTemplate, definitions, fields, formContext } = registry;\n const { TitleField } = fields;\n const itemSchemas = schema.items.map((item, index) =>\n retrieveSchema(item, definitions, formData[index])\n );\n const additionalSchema = allowAdditionalItems(schema)\n ? retrieveSchema(schema.additionalItems, definitions, formData)\n : null;\n\n if (!items || items.length < itemSchemas.length) {\n // to make sure at least all fixed items are generated\n items = items || [];\n items = items.concat(new Array(itemSchemas.length - items.length));\n }\n\n // These are the props passed into the render function\n const arrayProps = {\n canAdd: this.canAddItem(items) && additionalSchema,\n className: \"field field-array field-array-fixed-items\",\n disabled,\n idSchema,\n formData,\n items: items.map((item, index) => {\n const additional = index >= itemSchemas.length;\n const itemSchema = additional\n ? retrieveSchema(schema.additionalItems, definitions, item)\n : itemSchemas[index];\n const itemIdPrefix = idSchema.$id + \"_\" + index;\n const itemIdSchema = toIdSchema(\n itemSchema,\n itemIdPrefix,\n definitions,\n item,\n idPrefix\n );\n const itemUiSchema = additional\n ? uiSchema.additionalItems || {}\n : Array.isArray(uiSchema.items)\n ? uiSchema.items[index]\n : uiSchema.items || {};\n const itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n\n return this.renderArrayFieldItem({\n index,\n canRemove: additional,\n canMoveUp: index >= itemSchemas.length + 1,\n canMoveDown: additional && index < items.length - 1,\n itemSchema,\n itemData: item,\n itemUiSchema,\n itemIdSchema,\n itemErrorSchema,\n autofocus: autofocus && index === 0,\n onBlur,\n onFocus,\n });\n }),\n onAddClick: this.onAddClick,\n readonly,\n required,\n schema,\n uiSchema,\n title,\n TitleField,\n formContext,\n rawErrors,\n };\n\n // Check if a custom template template was passed in\n const Template = ArrayFieldTemplate || DefaultFixedArrayFieldTemplate;\n return <Template {...arrayProps} />;\n }\n\n renderArrayFieldItem(props) {\n const {\n index,\n canRemove = true,\n canMoveUp = true,\n canMoveDown = true,\n itemSchema,\n itemData,\n itemUiSchema,\n itemIdSchema,\n itemErrorSchema,\n autofocus,\n onBlur,\n onFocus,\n rawErrors,\n } = props;\n const {\n disabled,\n readonly,\n uiSchema,\n registry = getDefaultRegistry(),\n } = this.props;\n const {\n fields: { SchemaField },\n } = registry;\n const { orderable, removable } = {\n orderable: true,\n removable: true,\n ...uiSchema[\"ui:options\"],\n };\n const has = {\n moveUp: orderable && canMoveUp,\n moveDown: orderable && canMoveDown,\n remove: removable && canRemove,\n };\n has.toolbar = Object.keys(has).some(key => has[key]);\n\n return {\n children: (\n <SchemaField\n schema={itemSchema}\n uiSchema={itemUiSchema}\n formData={itemData}\n errorSchema={itemErrorSchema}\n idSchema={itemIdSchema}\n required={this.isItemRequired(itemSchema)}\n onChange={this.onChangeForIndex(index)}\n onBlur={onBlur}\n onFocus={onFocus}\n registry={this.props.registry}\n disabled={this.props.disabled}\n readonly={this.props.readonly}\n autofocus={autofocus}\n rawErrors={rawErrors}\n />\n ),\n className: \"array-item\",\n disabled,\n hasToolbar: has.toolbar,\n hasMoveUp: has.moveUp,\n hasMoveDown: has.moveDown,\n hasRemove: has.remove,\n index,\n onDropIndexClick: this.onDropIndexClick,\n onReorderClick: this.onReorderClick,\n readonly,\n };\n }\n}\n\nfunction AddButton({ onClick, disabled }) {\n return (\n <div className=\"row\">\n <p className=\"col-xs-3 col-xs-offset-9 array-item-add text-right\">\n <IconBtn\n type=\"info\"\n icon=\"plus\"\n className=\"btn-add col-xs-12\"\n tabIndex=\"0\"\n onClick={onClick}\n disabled={disabled}\n />\n </p>\n </div>\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n ArrayField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.shape({\n \"ui:options\": PropTypes.shape({\n addable: PropTypes.bool,\n orderable: PropTypes.bool,\n removable: PropTypes.bool,\n }),\n }),\n idSchema: PropTypes.object,\n errorSchema: PropTypes.object,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n formData: PropTypes.array,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n registry: PropTypes.shape({\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ).isRequired,\n fields: PropTypes.objectOf(PropTypes.func).isRequired,\n definitions: PropTypes.object.isRequired,\n formContext: PropTypes.object.isRequired,\n }),\n };\n}\n\nexport default ArrayField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/ArrayField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction UnsupportedField({ schema, idSchema, reason }) {\n return (\n <div className=\"unsupported-field\">\n <p>\n Unsupported field schema{idSchema &&\n idSchema.$id && (\n <span>\n {\" for\"} field <code>{idSchema.$id}</code>\n </span>\n )}\n {reason && <em>: {reason}</em>}.\n </p>\n {schema && <pre>{JSON.stringify(schema, null, 2)}</pre>}\n </div>\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n UnsupportedField.propTypes = {\n schema: PropTypes.object.isRequired,\n idSchema: PropTypes.object,\n reason: PropTypes.string,\n };\n}\n\nexport default UnsupportedField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/UnsupportedField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n getWidget,\n getUiOptions,\n optionsList,\n getDefaultRegistry,\n} from \"../../utils\";\n\nfunction BooleanField(props) {\n const {\n schema,\n name,\n uiSchema,\n idSchema,\n formData,\n registry = getDefaultRegistry(),\n required,\n disabled,\n readonly,\n autofocus,\n onChange,\n rawErrors,\n } = props;\n const { title } = schema;\n const { widgets, formContext } = registry;\n const { widget = \"checkbox\", ...options } = getUiOptions(uiSchema);\n const Widget = getWidget(schema, widget, widgets);\n const enumOptions = optionsList({\n enum: [true, false],\n enumNames: schema.enumNames || [\"yes\", \"no\"],\n });\n return (\n <Widget\n options={{ ...options, enumOptions }}\n schema={schema}\n id={idSchema && idSchema.$id}\n onChange={onChange}\n label={title === undefined ? name : title}\n value={formData}\n required={required}\n disabled={disabled}\n readonly={readonly}\n registry={registry}\n formContext={formContext}\n autofocus={autofocus}\n rawErrors={rawErrors}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n BooleanField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object,\n idSchema: PropTypes.object,\n onChange: PropTypes.func.isRequired,\n formData: PropTypes.bool,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n registry: PropTypes.shape({\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ).isRequired,\n fields: PropTypes.objectOf(PropTypes.func).isRequired,\n definitions: PropTypes.object.isRequired,\n formContext: PropTypes.object.isRequired,\n }),\n rawErrors: PropTypes.arrayOf(PropTypes.string),\n };\n}\n\nBooleanField.defaultProps = {\n uiSchema: {},\n disabled: false,\n readonly: false,\n autofocus: false,\n};\n\nexport default BooleanField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/BooleanField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction DescriptionField(props) {\n const { id, description } = props;\n if (!description) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n if (typeof description === \"string\") {\n return (\n <p id={id} className=\"field-description\">\n {description}\n </p>\n );\n } else {\n return (\n <div id={id} className=\"field-description\">\n {description}\n </div>\n );\n }\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n DescriptionField.propTypes = {\n id: PropTypes.string,\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n };\n}\n\nexport default DescriptionField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/DescriptionField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { asNumber } from \"../../utils\";\n\nfunction NumberField(props) {\n const { StringField } = props.registry.fields;\n return (\n <StringField\n {...props}\n onChange={value => props.onChange(asNumber(value))}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n NumberField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object,\n idSchema: PropTypes.object,\n onChange: PropTypes.func.isRequired,\n formData: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n required: PropTypes.bool,\n formContext: PropTypes.object.isRequired,\n };\n}\n\nNumberField.defaultProps = {\n uiSchema: {},\n};\n\nexport default NumberField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/NumberField.js","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n orderProperties,\n retrieveSchema,\n getDefaultRegistry,\n} from \"../../utils\";\n\nfunction DefaultObjectFieldTemplate(props) {\n const { TitleField, DescriptionField } = props;\n return (\n <fieldset>\n {(props.uiSchema[\"ui:title\"] || props.title) && (\n <TitleField\n id={`${props.idSchema.$id}__title`}\n title={props.title || props.uiSchema[\"ui:title\"]}\n required={props.required}\n formContext={props.formContext}\n />\n )}\n {props.description && (\n <DescriptionField\n id={`${props.idSchema.$id}__description`}\n description={props.description}\n formContext={props.formContext}\n />\n )}\n {props.properties.map(prop => prop.content)}\n </fieldset>\n );\n}\n\nclass ObjectField extends Component {\n static defaultProps = {\n uiSchema: {},\n formData: {},\n errorSchema: {},\n idSchema: {},\n required: false,\n disabled: false,\n readonly: false,\n };\n\n isRequired(name) {\n const schema = this.props.schema;\n return (\n Array.isArray(schema.required) && schema.required.indexOf(name) !== -1\n );\n }\n\n onPropertyChange = name => {\n return (value, errorSchema) => {\n const newFormData = { ...this.props.formData, [name]: value };\n this.props.onChange(\n newFormData,\n errorSchema &&\n this.props.errorSchema && {\n ...this.props.errorSchema,\n [name]: errorSchema,\n }\n );\n };\n };\n\n render() {\n const {\n uiSchema,\n formData,\n errorSchema,\n idSchema,\n name,\n required,\n disabled,\n readonly,\n idPrefix,\n onBlur,\n onFocus,\n registry = getDefaultRegistry(),\n } = this.props;\n const { definitions, fields, formContext } = registry;\n const { SchemaField, TitleField, DescriptionField } = fields;\n const schema = retrieveSchema(this.props.schema, definitions, formData);\n const title = schema.title === undefined ? name : schema.title;\n const description = uiSchema[\"ui:description\"] || schema.description;\n let orderedProperties;\n\n try {\n const properties = Object.keys(schema.properties);\n orderedProperties = orderProperties(properties, uiSchema[\"ui:order\"]);\n } catch (err) {\n return (\n <div>\n <p className=\"config-error\" style={{ color: \"red\" }}>\n Invalid {name || \"root\"} object field configuration:\n <em>{err.message}</em>.\n </p>\n <pre>{JSON.stringify(schema)}</pre>\n </div>\n );\n }\n\n const Template = registry.ObjectFieldTemplate || DefaultObjectFieldTemplate;\n\n const templateProps = {\n title: uiSchema[\"ui:title\"] || title,\n description,\n TitleField,\n DescriptionField,\n properties: orderedProperties.map(name => {\n return {\n content: (\n <SchemaField\n key={name}\n name={name}\n required={this.isRequired(name)}\n schema={schema.properties[name]}\n uiSchema={uiSchema[name]}\n errorSchema={errorSchema[name]}\n idSchema={idSchema[name]}\n idPrefix={idPrefix}\n formData={formData[name]}\n onChange={this.onPropertyChange(name)}\n onBlur={onBlur}\n onFocus={onFocus}\n registry={registry}\n disabled={disabled}\n readonly={readonly}\n />\n ),\n name,\n readonly,\n disabled,\n required,\n };\n }),\n required,\n idSchema,\n uiSchema,\n schema,\n formData,\n formContext,\n };\n return <Template {...templateProps} />;\n }\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n ObjectField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object,\n errorSchema: PropTypes.object,\n idSchema: PropTypes.object,\n onChange: PropTypes.func.isRequired,\n formData: PropTypes.object,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n registry: PropTypes.shape({\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ).isRequired,\n fields: PropTypes.objectOf(PropTypes.func).isRequired,\n definitions: PropTypes.object.isRequired,\n formContext: PropTypes.object.isRequired,\n }),\n };\n}\n\nexport default ObjectField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/ObjectField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n isMultiSelect,\n retrieveSchema,\n toIdSchema,\n getDefaultRegistry,\n mergeObjects,\n getUiOptions,\n isFilesArray,\n deepEquals,\n getSchemaType,\n} from \"../../utils\";\nimport UnsupportedField from \"./UnsupportedField\";\n\nconst REQUIRED_FIELD_SYMBOL = \"*\";\nconst COMPONENT_TYPES = {\n array: \"ArrayField\",\n boolean: \"BooleanField\",\n integer: \"NumberField\",\n number: \"NumberField\",\n object: \"ObjectField\",\n string: \"StringField\",\n};\n\nfunction getFieldComponent(schema, uiSchema, idSchema, fields) {\n const field = uiSchema[\"ui:field\"];\n if (typeof field === \"function\") {\n return field;\n }\n if (typeof field === \"string\" && field in fields) {\n return fields[field];\n }\n\n const componentName = COMPONENT_TYPES[getSchemaType(schema)];\n return componentName in fields\n ? fields[componentName]\n : () => {\n return (\n <UnsupportedField\n schema={schema}\n idSchema={idSchema}\n reason={`Unknown field type ${schema.type}`}\n />\n );\n };\n}\n\nfunction Label(props) {\n const { label, required, id } = props;\n if (!label) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n return (\n <label className=\"control-label\" htmlFor={id}>\n {label}\n {required && <span className=\"required\">{REQUIRED_FIELD_SYMBOL}</span>}\n </label>\n );\n}\n\nfunction Help(props) {\n const { help } = props;\n if (!help) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n if (typeof help === \"string\") {\n return <p className=\"help-block\">{help}</p>;\n }\n return <div className=\"help-block\">{help}</div>;\n}\n\nfunction ErrorList(props) {\n const { errors = [] } = props;\n if (errors.length === 0) {\n return <div />;\n }\n return (\n <div>\n <p />\n <ul className=\"error-detail bs-callout bs-callout-info\">\n {errors.map((error, index) => {\n return (\n <li className=\"text-danger\" key={index}>\n {error}\n </li>\n );\n })}\n </ul>\n </div>\n );\n}\n\nfunction DefaultTemplate(props) {\n const {\n id,\n classNames,\n label,\n children,\n errors,\n help,\n description,\n hidden,\n required,\n displayLabel,\n } = props;\n if (hidden) {\n return children;\n }\n\n return (\n <div className={classNames}>\n {displayLabel && <Label label={label} required={required} id={id} />}\n {displayLabel && description ? description : null}\n {children}\n {errors}\n {help}\n </div>\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n DefaultTemplate.propTypes = {\n id: PropTypes.string,\n classNames: PropTypes.string,\n label: PropTypes.string,\n children: PropTypes.node.isRequired,\n errors: PropTypes.element,\n rawErrors: PropTypes.arrayOf(PropTypes.string),\n help: PropTypes.element,\n rawHelp: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n description: PropTypes.element,\n rawDescription: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n hidden: PropTypes.bool,\n required: PropTypes.bool,\n readonly: PropTypes.bool,\n displayLabel: PropTypes.bool,\n fields: PropTypes.object,\n formContext: PropTypes.object,\n };\n}\n\nDefaultTemplate.defaultProps = {\n hidden: false,\n readonly: false,\n required: false,\n displayLabel: true,\n};\n\nfunction SchemaFieldRender(props) {\n const {\n uiSchema,\n formData,\n errorSchema,\n idPrefix,\n name,\n required,\n registry = getDefaultRegistry(),\n } = props;\n const {\n definitions,\n fields,\n formContext,\n FieldTemplate = DefaultTemplate,\n } = registry;\n let idSchema = props.idSchema;\n const schema = retrieveSchema(props.schema, definitions, formData);\n idSchema = mergeObjects(\n toIdSchema(schema, null, definitions, formData, idPrefix),\n idSchema\n );\n const FieldComponent = getFieldComponent(schema, uiSchema, idSchema, fields);\n const { DescriptionField } = fields;\n const disabled = Boolean(props.disabled || uiSchema[\"ui:disabled\"]);\n const readonly = Boolean(props.readonly || uiSchema[\"ui:readonly\"]);\n const autofocus = Boolean(props.autofocus || uiSchema[\"ui:autofocus\"]);\n\n if (Object.keys(schema).length === 0) {\n // See #312: Ensure compatibility with old versions of React.\n return <div />;\n }\n\n const uiOptions = getUiOptions(uiSchema);\n let { label: displayLabel = true } = uiOptions;\n if (schema.type === \"array\") {\n displayLabel =\n isMultiSelect(schema, definitions) ||\n isFilesArray(schema, uiSchema, definitions);\n }\n if (schema.type === \"object\") {\n displayLabel = false;\n }\n if (schema.type === \"boolean\" && !uiSchema[\"ui:widget\"]) {\n displayLabel = false;\n }\n if (uiSchema[\"ui:field\"]) {\n displayLabel = false;\n }\n\n const { __errors, ...fieldErrorSchema } = errorSchema;\n\n // See #439: uiSchema: Don't pass consumed class names to child components\n const field = (\n <FieldComponent\n {...props}\n idSchema={idSchema}\n schema={schema}\n uiSchema={{ ...uiSchema, classNames: undefined }}\n disabled={disabled}\n readonly={readonly}\n autofocus={autofocus}\n errorSchema={fieldErrorSchema}\n formContext={formContext}\n rawErrors={__errors}\n />\n );\n\n const { type } = schema;\n const id = idSchema.$id;\n const label =\n uiSchema[\"ui:title\"] || props.schema.title || schema.title || name;\n const description =\n uiSchema[\"ui:description\"] ||\n props.schema.description ||\n schema.description;\n const errors = __errors;\n const help = uiSchema[\"ui:help\"];\n const hidden = uiSchema[\"ui:widget\"] === \"hidden\";\n const classNames = [\n \"form-group\",\n \"field\",\n `field-${type}`,\n errors && errors.length > 0 ? \"field-error has-error has-danger\" : \"\",\n uiSchema.classNames,\n ]\n .join(\" \")\n .trim();\n\n const fieldProps = {\n description: (\n <DescriptionField\n id={id + \"__description\"}\n description={description}\n formContext={formContext}\n />\n ),\n rawDescription: description,\n help: <Help help={help} />,\n rawHelp: typeof help === \"string\" ? help : undefined,\n errors: <ErrorList errors={errors} />,\n rawErrors: errors,\n id,\n label,\n hidden,\n required,\n disabled,\n readonly,\n displayLabel,\n classNames,\n formContext,\n fields,\n schema,\n uiSchema,\n };\n\n return <FieldTemplate {...fieldProps}>{field}</FieldTemplate>;\n}\n\nclass SchemaField extends React.Component {\n shouldComponentUpdate(nextProps, nextState) {\n // if schemas are equal idSchemas will be equal as well,\n // so it is not necessary to compare\n return !deepEquals(\n { ...this.props, idSchema: undefined },\n { ...nextProps, idSchema: undefined }\n );\n }\n\n render() {\n return SchemaFieldRender(this.props);\n }\n}\n\nSchemaField.defaultProps = {\n uiSchema: {},\n errorSchema: {},\n idSchema: {},\n disabled: false,\n readonly: false,\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n SchemaField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object,\n idSchema: PropTypes.object,\n formData: PropTypes.any,\n errorSchema: PropTypes.object,\n registry: PropTypes.shape({\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ).isRequired,\n fields: PropTypes.objectOf(PropTypes.func).isRequired,\n definitions: PropTypes.object.isRequired,\n ArrayFieldTemplate: PropTypes.func,\n ObjectFieldTemplate: PropTypes.func,\n FieldTemplate: PropTypes.func,\n formContext: PropTypes.object.isRequired,\n }),\n };\n}\n\nexport default SchemaField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/SchemaField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n getWidget,\n getUiOptions,\n isSelect,\n optionsList,\n getDefaultRegistry,\n} from \"../../utils\";\n\nfunction StringField(props) {\n const {\n schema,\n name,\n uiSchema,\n idSchema,\n formData,\n required,\n disabled,\n readonly,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n registry = getDefaultRegistry(),\n rawErrors,\n } = props;\n const { title, format } = schema;\n const { widgets, formContext } = registry;\n const enumOptions = isSelect(schema) && optionsList(schema);\n const defaultWidget = format || (enumOptions ? \"select\" : \"text\");\n const { widget = defaultWidget, placeholder = \"\", ...options } = getUiOptions(\n uiSchema\n );\n const Widget = getWidget(schema, widget, widgets);\n\n return (\n <Widget\n options={{ ...options, enumOptions }}\n schema={schema}\n id={idSchema && idSchema.$id}\n label={title === undefined ? name : title}\n value={formData}\n onChange={onChange}\n onBlur={onBlur}\n onFocus={onFocus}\n required={required}\n disabled={disabled}\n readonly={readonly}\n formContext={formContext}\n autofocus={autofocus}\n registry={registry}\n placeholder={placeholder}\n rawErrors={rawErrors}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n StringField.propTypes = {\n schema: PropTypes.object.isRequired,\n uiSchema: PropTypes.object.isRequired,\n idSchema: PropTypes.object,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n formData: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n registry: PropTypes.shape({\n widgets: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n ).isRequired,\n fields: PropTypes.objectOf(PropTypes.func).isRequired,\n definitions: PropTypes.object.isRequired,\n formContext: PropTypes.object.isRequired,\n }),\n formContext: PropTypes.object.isRequired,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n rawErrors: PropTypes.arrayOf(PropTypes.string),\n };\n}\n\nStringField.defaultProps = {\n uiSchema: {},\n disabled: false,\n readonly: false,\n autofocus: false,\n};\n\nexport default StringField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/StringField.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst REQUIRED_FIELD_SYMBOL = \"*\";\n\nfunction TitleField(props) {\n const { id, title, required } = props;\n const legend = required ? title + REQUIRED_FIELD_SYMBOL : title;\n return <legend id={id}>{legend}</legend>;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n TitleField.propTypes = {\n id: PropTypes.string,\n title: PropTypes.string,\n required: PropTypes.bool,\n };\n}\n\nexport default TitleField;\n\n\n\n// WEBPACK FOOTER //\n// ./components/fields/TitleField.js","import AltDateWidget from \"./AltDateWidget\";\nimport AltDateTimeWidget from \"./AltDateTimeWidget\";\nimport BaseInput from \"./BaseInput\";\nimport CheckboxWidget from \"./CheckboxWidget\";\nimport CheckboxesWidget from \"./CheckboxesWidget\";\nimport ColorWidget from \"./ColorWidget\";\nimport DateWidget from \"./DateWidget\";\nimport DateTimeWidget from \"./DateTimeWidget\";\nimport EmailWidget from \"./EmailWidget\";\nimport FileWidget from \"./FileWidget\";\nimport HiddenWidget from \"./HiddenWidget\";\nimport PasswordWidget from \"./PasswordWidget\";\nimport RadioWidget from \"./RadioWidget\";\nimport RangeWidget from \"./RangeWidget\";\nimport SelectWidget from \"./SelectWidget\";\nimport TextareaWidget from \"./TextareaWidget\";\nimport TextWidget from \"./TextWidget\";\nimport URLWidget from \"./URLWidget\";\nimport UpDownWidget from \"./UpDownWidget\";\n\nexport default {\n BaseInput,\n PasswordWidget,\n RadioWidget,\n UpDownWidget,\n RangeWidget,\n SelectWidget,\n TextWidget,\n DateWidget,\n DateTimeWidget,\n AltDateWidget,\n AltDateTimeWidget,\n EmailWidget,\n URLWidget,\n TextareaWidget,\n HiddenWidget,\n ColorWidget,\n FileWidget,\n CheckboxWidget,\n CheckboxesWidget,\n};\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/index.js","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { shouldRender, parseDateString, toDateString, pad } from \"../../utils\";\n\nfunction rangeOptions(start, stop) {\n let options = [];\n for (let i = start; i <= stop; i++) {\n options.push({ value: i, label: pad(i, 2) });\n }\n return options;\n}\n\nfunction readyForChange(state) {\n return Object.keys(state).every(key => state[key] !== -1);\n}\n\nfunction DateElement(props) {\n const {\n type,\n range,\n value,\n select,\n rootId,\n disabled,\n readonly,\n autofocus,\n registry,\n onBlur,\n } = props;\n const id = rootId + \"_\" + type;\n const { SelectWidget } = registry.widgets;\n return (\n <SelectWidget\n schema={{ type: \"integer\" }}\n id={id}\n className=\"form-control\"\n options={{ enumOptions: rangeOptions(range[0], range[1]) }}\n placeholder={type}\n value={value}\n disabled={disabled}\n readonly={readonly}\n autofocus={autofocus}\n onChange={value => select(type, value)}\n onBlur={onBlur}\n />\n );\n}\n\nclass AltDateWidget extends Component {\n static defaultProps = {\n time: false,\n disabled: false,\n readonly: false,\n autofocus: false,\n };\n\n constructor(props) {\n super(props);\n this.state = parseDateString(props.value, props.time);\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState(parseDateString(nextProps.value, nextProps.time));\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n return shouldRender(this, nextProps, nextState);\n }\n\n onChange = (property, value) => {\n this.setState(\n { [property]: typeof value === \"undefined\" ? -1 : value },\n () => {\n // Only propagate to parent state if we have a complete date{time}\n if (readyForChange(this.state)) {\n this.props.onChange(toDateString(this.state, this.props.time));\n }\n }\n );\n };\n\n setNow = event => {\n event.preventDefault();\n const { time, disabled, readonly, onChange } = this.props;\n if (disabled || readonly) {\n return;\n }\n const nowDateObj = parseDateString(new Date().toJSON(), time);\n this.setState(nowDateObj, () => onChange(toDateString(this.state, time)));\n };\n\n clear = event => {\n event.preventDefault();\n const { time, disabled, readonly, onChange } = this.props;\n if (disabled || readonly) {\n return;\n }\n this.setState(parseDateString(\"\", time), () => onChange(undefined));\n };\n\n get dateElementProps() {\n const { time } = this.props;\n const { year, month, day, hour, minute, second } = this.state;\n const data = [\n { type: \"year\", range: [1900, 2020], value: year },\n { type: \"month\", range: [1, 12], value: month },\n { type: \"day\", range: [1, 31], value: day },\n ];\n if (time) {\n data.push(\n { type: \"hour\", range: [0, 23], value: hour },\n { type: \"minute\", range: [0, 59], value: minute },\n { type: \"second\", range: [0, 59], value: second }\n );\n }\n return data;\n }\n\n render() {\n const { id, disabled, readonly, autofocus, registry, onBlur } = this.props;\n return (\n <ul className=\"list-inline\">\n {this.dateElementProps.map((elemProps, i) => (\n <li key={i}>\n <DateElement\n rootId={id}\n select={this.onChange}\n {...elemProps}\n disabled={disabled}\n readonly={readonly}\n registry={registry}\n onBlur={onBlur}\n autofocus={autofocus && i === 0}\n />\n </li>\n ))}\n <li>\n <a href=\"#\" className=\"btn btn-info btn-now\" onClick={this.setNow}>\n Now\n </a>\n </li>\n <li>\n <a\n href=\"#\"\n className=\"btn btn-warning btn-clear\"\n onClick={this.clear}>\n Clear\n </a>\n </li>\n </ul>\n );\n }\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n AltDateWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n value: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n time: PropTypes.bool,\n };\n}\n\nexport default AltDateWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/AltDateWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction AltDateTimeWidget(props) {\n const { AltDateWidget } = props.registry.widgets;\n return <AltDateWidget time {...props} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n AltDateTimeWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n value: PropTypes.string,\n required: PropTypes.bool,\n onChange: PropTypes.func,\n };\n}\n\nexport default AltDateTimeWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/AltDateTimeWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction BaseInput(props) {\n // Note: since React 15.2.0 we can't forward unknown element attributes, so we\n // exclude the \"options\" and \"schema\" ones here.\n if (!props.id) {\n console.log(\"No id for\", props);\n throw new Error(`no id for props ${JSON.stringify(props)}`);\n }\n const {\n value,\n readonly,\n disabled,\n autofocus,\n onBlur,\n onFocus,\n options,\n schema,\n formContext,\n registry,\n ...inputProps\n } = props;\n\n inputProps.type = options.inputType || inputProps.type || \"text\";\n const _onChange = ({ target: { value } }) => {\n return props.onChange(value === \"\" ? options.emptyValue : value);\n };\n\n const { rawErrors, ...cleanProps } = inputProps;\n\n return (\n <input\n className=\"form-control\"\n readOnly={readonly}\n disabled={disabled}\n autoFocus={autofocus}\n value={value == null ? \"\" : value}\n {...cleanProps}\n onChange={_onChange}\n onBlur={onBlur && (event => onBlur(inputProps.id, event.target.value))}\n onFocus={onFocus && (event => onFocus(inputProps.id, event.target.value))}\n />\n );\n}\n\nBaseInput.defaultProps = {\n type: \"text\",\n required: false,\n disabled: false,\n readonly: false,\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n BaseInput.propTypes = {\n id: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n value: PropTypes.any,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n };\n}\n\nexport default BaseInput;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/BaseInput.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport DescriptionField from \"../fields/DescriptionField.js\";\n\nfunction CheckboxWidget(props) {\n const {\n schema,\n id,\n value,\n required,\n disabled,\n readonly,\n label,\n autofocus,\n onChange,\n } = props;\n return (\n <div className={`checkbox ${disabled || readonly ? \"disabled\" : \"\"}`}>\n {schema.description && (\n <DescriptionField description={schema.description} />\n )}\n <label>\n <input\n type=\"checkbox\"\n id={id}\n checked={typeof value === \"undefined\" ? false : value}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onChange={event => onChange(event.target.checked)}\n />\n <span>{label}</span>\n </label>\n </div>\n );\n}\n\nCheckboxWidget.defaultProps = {\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n CheckboxWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n value: PropTypes.bool,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n };\n}\n\nexport default CheckboxWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/CheckboxWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction selectValue(value, selected, all) {\n const at = all.indexOf(value);\n const updated = selected.slice(0, at).concat(value, selected.slice(at));\n // As inserting values at predefined index positions doesn't work with empty\n // arrays, we need to reorder the updated selection to match the initial order\n return updated.sort((a, b) => all.indexOf(a) > all.indexOf(b));\n}\n\nfunction deselectValue(value, selected) {\n return selected.filter(v => v !== value);\n}\n\nfunction CheckboxesWidget(props) {\n const { id, disabled, options, value, autofocus, readonly, onChange } = props;\n const { enumOptions, inline } = options;\n return (\n <div className=\"checkboxes\" id={id}>\n {enumOptions.map((option, index) => {\n const checked = value.indexOf(option.value) !== -1;\n const disabledCls = disabled || readonly ? \"disabled\" : \"\";\n const checkbox = (\n <span>\n <input\n type=\"checkbox\"\n id={`${id}_${index}`}\n checked={checked}\n disabled={disabled || readonly}\n autoFocus={autofocus && index === 0}\n onChange={event => {\n const all = enumOptions.map(({ value }) => value);\n if (event.target.checked) {\n onChange(selectValue(option.value, value, all));\n } else {\n onChange(deselectValue(option.value, value));\n }\n }}\n />\n <span>{option.label}</span>\n </span>\n );\n return inline ? (\n <label key={index} className={`checkbox-inline ${disabledCls}`}>\n {checkbox}\n </label>\n ) : (\n <div key={index} className={`checkbox ${disabledCls}`}>\n <label>{checkbox}</label>\n </div>\n );\n })}\n </div>\n );\n}\n\nCheckboxesWidget.defaultProps = {\n autofocus: false,\n options: {\n inline: false,\n },\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n CheckboxesWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n options: PropTypes.shape({\n enumOptions: PropTypes.array,\n inline: PropTypes.bool,\n }).isRequired,\n value: PropTypes.any,\n required: PropTypes.bool,\n readonly: PropTypes.bool,\n disabled: PropTypes.bool,\n multiple: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n };\n}\n\nexport default CheckboxesWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/CheckboxesWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction ColorWidget(props) {\n const {\n disabled,\n readonly,\n registry: {\n widgets: { BaseInput },\n },\n } = props;\n return <BaseInput type=\"color\" {...props} disabled={disabled || readonly} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n ColorWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n value: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n };\n}\n\nexport default ColorWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/ColorWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction DateWidget(props) {\n const {\n onChange,\n registry: {\n widgets: { BaseInput },\n },\n } = props;\n return (\n <BaseInput\n type=\"date\"\n {...props}\n onChange={value => onChange(value || undefined)}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n DateWidget.propTypes = {\n value: PropTypes.string,\n };\n}\n\nexport default DateWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/DateWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { pad } from \"../../utils\";\n\nexport function utcToLocal(jsonDate) {\n if (!jsonDate) {\n return \"\";\n }\n\n // required format of `\"yyyy-MM-ddThh:mm\" followed by optional \":ss\" or \":ss.SSS\"\n // https://html.spec.whatwg.org/multipage/input.html#local-date-and-time-state-(type%3Ddatetime-local)\n // > should be a _valid local date and time string_ (not GMT)\n\n // Note - date constructor passed local ISO-8601 does not correctly\n // change time to UTC in node pre-8\n const date = new Date(jsonDate);\n\n const yyyy = pad(date.getFullYear(), 4);\n const MM = pad(date.getMonth() + 1, 2);\n const dd = pad(date.getDate(), 2);\n const hh = pad(date.getHours(), 2);\n const mm = pad(date.getMinutes(), 2);\n const ss = pad(date.getSeconds(), 2);\n const SSS = pad(date.getMilliseconds(), 3);\n\n return `${yyyy}-${MM}-${dd}T${hh}:${mm}:${ss}.${SSS}`;\n}\n\nexport function localToUTC(dateString) {\n if (dateString) {\n return new Date(dateString).toJSON();\n }\n}\n\nfunction DateTimeWidget(props) {\n const {\n value,\n onChange,\n registry: {\n widgets: { BaseInput },\n },\n } = props;\n return (\n <BaseInput\n type=\"datetime-local\"\n {...props}\n value={utcToLocal(value)}\n onChange={value => onChange(localToUTC(value))}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n DateTimeWidget.propTypes = {\n value: PropTypes.string,\n };\n}\n\nexport default DateTimeWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/DateTimeWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction EmailWidget(props) {\n const { BaseInput } = props.registry.widgets;\n return <BaseInput type=\"email\" {...props} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n EmailWidget.propTypes = {\n value: PropTypes.string,\n };\n}\n\nexport default EmailWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/EmailWidget.js","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { dataURItoBlob, shouldRender, setState } from \"../../utils\";\n\nfunction addNameToDataURL(dataURL, name) {\n return dataURL.replace(\";base64\", `;name=${name};base64`);\n}\n\nfunction processFile(file) {\n const { name, size, type } = file;\n return new Promise((resolve, reject) => {\n const reader = new window.FileReader();\n reader.onload = event => {\n resolve({\n dataURL: addNameToDataURL(event.target.result, name),\n name,\n size,\n type,\n });\n };\n reader.readAsDataURL(file);\n });\n}\n\nfunction processFiles(files) {\n return Promise.all([].map.call(files, processFile));\n}\n\nfunction FilesInfo(props) {\n const { filesInfo } = props;\n if (filesInfo.length === 0) {\n return null;\n }\n return (\n <ul className=\"file-info\">\n {filesInfo.map((fileInfo, key) => {\n const { name, size, type } = fileInfo;\n return (\n <li key={key}>\n <strong>{name}</strong> ({type}, {size} bytes)\n </li>\n );\n })}\n </ul>\n );\n}\n\nfunction extractFileInfo(dataURLs) {\n return dataURLs\n .filter(dataURL => typeof dataURL !== \"undefined\")\n .map(dataURL => {\n const { blob, name } = dataURItoBlob(dataURL);\n return {\n name: name,\n size: blob.size,\n type: blob.type,\n };\n });\n}\n\nclass FileWidget extends Component {\n constructor(props) {\n super(props);\n const { value } = props;\n const values = Array.isArray(value) ? value : [value];\n this.state = { values, filesInfo: extractFileInfo(values) };\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n return shouldRender(this, nextProps, nextState);\n }\n\n onChange = event => {\n const { multiple, onChange } = this.props;\n processFiles(event.target.files).then(filesInfo => {\n const state = {\n values: filesInfo.map(fileInfo => fileInfo.dataURL),\n filesInfo,\n };\n setState(this, state, () => {\n if (multiple) {\n onChange(state.values);\n } else {\n onChange(state.values[0]);\n }\n });\n });\n };\n\n render() {\n const { multiple, id, readonly, disabled, autofocus } = this.props;\n const { filesInfo } = this.state;\n return (\n <div>\n <p>\n <input\n ref={ref => (this.inputRef = ref)}\n id={id}\n type=\"file\"\n disabled={readonly || disabled}\n onChange={this.onChange}\n defaultValue=\"\"\n autoFocus={autofocus}\n multiple={multiple}\n />\n </p>\n <FilesInfo filesInfo={filesInfo} />\n </div>\n );\n }\n}\n\nFileWidget.defaultProps = {\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n FileWidget.propTypes = {\n multiple: PropTypes.bool,\n value: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string),\n ]),\n autofocus: PropTypes.bool,\n };\n}\n\nexport default FileWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/FileWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction HiddenWidget({ id, value }) {\n return (\n <input\n type=\"hidden\"\n id={id}\n value={typeof value === \"undefined\" ? \"\" : value}\n />\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n HiddenWidget.propTypes = {\n id: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n PropTypes.bool,\n ]),\n };\n}\n\nexport default HiddenWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/HiddenWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction PasswordWidget(props) {\n const { BaseInput } = props.registry.widgets;\n return <BaseInput type=\"password\" {...props} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n PasswordWidget.propTypes = {\n value: PropTypes.string,\n };\n}\n\nexport default PasswordWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/PasswordWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction RadioWidget(props) {\n const {\n options,\n value,\n required,\n disabled,\n readonly,\n autofocus,\n onChange,\n } = props;\n // Generating a unique field name to identify this set of radio buttons\n const name = Math.random().toString();\n const { enumOptions, inline } = options;\n // checked={checked} has been moved above name={name}, As mentioned in #349;\n // this is a temporary fix for radio button rendering bug in React, facebook/react#7630.\n return (\n <div className=\"field-radio-group\">\n {enumOptions.map((option, i) => {\n const checked = option.value === value;\n const disabledCls = disabled || readonly ? \"disabled\" : \"\";\n const radio = (\n <span>\n <input\n type=\"radio\"\n checked={checked}\n name={name}\n required={required}\n value={option.value}\n disabled={disabled || readonly}\n autoFocus={autofocus && i === 0}\n onChange={_ => onChange(option.value)}\n />\n <span>{option.label}</span>\n </span>\n );\n\n return inline ? (\n <label key={i} className={`radio-inline ${disabledCls}`}>\n {radio}\n </label>\n ) : (\n <div key={i} className={`radio ${disabledCls}`}>\n <label>{radio}</label>\n </div>\n );\n })}\n </div>\n );\n}\n\nRadioWidget.defaultProps = {\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n RadioWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n options: PropTypes.shape({\n enumOptions: PropTypes.array,\n inline: PropTypes.bool,\n }).isRequired,\n value: PropTypes.any,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n };\n}\nexport default RadioWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/RadioWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { rangeSpec } from \"../../utils\";\n\nfunction RangeWidget(props) {\n const {\n schema,\n value,\n registry: {\n widgets: { BaseInput },\n },\n } = props;\n return (\n <div className=\"field-range-wrapper\">\n <BaseInput type=\"range\" {...props} {...rangeSpec(schema)} />\n <span className=\"range-view\">{value}</span>\n </div>\n );\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n RangeWidget.propTypes = {\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n };\n}\n\nexport default RangeWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/RangeWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { asNumber } from \"../../utils\";\n\n/**\n * This is a silly limitation in the DOM where option change event values are\n * always retrieved as strings.\n */\nfunction processValue({ type, items }, value) {\n if (value === \"\") {\n return undefined;\n } else if (\n type === \"array\" &&\n items &&\n [\"number\", \"integer\"].includes(items.type)\n ) {\n return value.map(asNumber);\n } else if (type === \"boolean\") {\n return value === \"true\";\n } else if (type === \"number\") {\n return asNumber(value);\n }\n return value;\n}\n\nfunction getValue(event, multiple) {\n if (multiple) {\n return [].slice\n .call(event.target.options)\n .filter(o => o.selected)\n .map(o => o.value);\n } else {\n return event.target.value;\n }\n}\n\nfunction SelectWidget(props) {\n const {\n schema,\n id,\n options,\n value,\n required,\n disabled,\n readonly,\n multiple,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n placeholder,\n } = props;\n const { enumOptions, enumDisabled } = options;\n const emptyValue = multiple ? [] : \"\";\n return (\n <select\n id={id}\n multiple={multiple}\n className=\"form-control\"\n value={typeof value === \"undefined\" ? emptyValue : value}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n onBlur={\n onBlur &&\n (event => {\n const newValue = getValue(event, multiple);\n onBlur(id, processValue(schema, newValue));\n })\n }\n onFocus={\n onFocus &&\n (event => {\n const newValue = getValue(event, multiple);\n onFocus(id, processValue(schema, newValue));\n })\n }\n onChange={event => {\n const newValue = getValue(event, multiple);\n onChange(processValue(schema, newValue));\n }}>\n {!multiple && !schema.default && <option value=\"\">{placeholder}</option>}\n {enumOptions.map(({ value, label }, i) => {\n const disabled = enumDisabled && enumDisabled.indexOf(value) != -1;\n return (\n <option key={i} value={value} disabled={disabled}>\n {label}\n </option>\n );\n })}\n </select>\n );\n}\n\nSelectWidget.defaultProps = {\n autofocus: false,\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n SelectWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n options: PropTypes.shape({\n enumOptions: PropTypes.array,\n }).isRequired,\n value: PropTypes.any,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n multiple: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n };\n}\n\nexport default SelectWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/SelectWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction TextareaWidget(props) {\n const {\n id,\n options,\n placeholder,\n value,\n required,\n disabled,\n readonly,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n } = props;\n const _onChange = ({ target: { value } }) => {\n return onChange(value === \"\" ? options.emptyValue : value);\n };\n return (\n <textarea\n id={id}\n className=\"form-control\"\n value={typeof value === \"undefined\" ? \"\" : value}\n placeholder={placeholder}\n required={required}\n disabled={disabled}\n readOnly={readonly}\n autoFocus={autofocus}\n rows={options.rows}\n onBlur={onBlur && (event => onBlur(id, event.target.value))}\n onFocus={onFocus && (event => onFocus(id, event.target.value))}\n onChange={_onChange}\n />\n );\n}\n\nTextareaWidget.defaultProps = {\n autofocus: false,\n options: {},\n};\n\nif (process.env.NODE_ENV !== \"production\") {\n TextareaWidget.propTypes = {\n schema: PropTypes.object.isRequired,\n id: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n options: PropTypes.shape({\n rows: PropTypes.number,\n }),\n value: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n readonly: PropTypes.bool,\n autofocus: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n };\n}\n\nexport default TextareaWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/TextareaWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction TextWidget(props) {\n const { BaseInput } = props.registry.widgets;\n return <BaseInput {...props} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n TextWidget.propTypes = {\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n id: PropTypes.string,\n };\n}\n\nexport default TextWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/TextWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nfunction URLWidget(props) {\n const { BaseInput } = props.registry.widgets;\n return <BaseInput type=\"url\" {...props} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n URLWidget.propTypes = {\n value: PropTypes.string,\n };\n}\n\nexport default URLWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/URLWidget.js","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { rangeSpec } from \"../../utils\";\n\nfunction UpDownWidget(props) {\n const {\n registry: {\n widgets: { BaseInput },\n },\n } = props;\n return <BaseInput type=\"number\" {...props} {...rangeSpec(props.schema)} />;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n UpDownWidget.propTypes = {\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n };\n}\n\nexport default UpDownWidget;\n\n\n\n// WEBPACK FOOTER //\n// ./components/widgets/UpDownWidget.js"],"sourceRoot":""}
\No newline at end of file