eventman/static/js/eda.easyFormViewer.min.js.map

1 line
No EOL
539 KiB
Text

{"version":3,"sources":["webpack:///eda.easyFormViewer.min.js","webpack:///webpack/bootstrap 608f48fd14ec09d8b35a","webpack:///./src/app/formviewer/index.js","webpack:///./src/app/formviewer/vendors.js","webpack:///./~/api-check/dist/api-check.js","webpack:///./~/angular-formly/dist/formly.js","webpack:///external \"angular\"","webpack:///./~/angular-formly-templates-bootstrap/dist/angular-formly-templates-bootstrap.js","webpack:///./src/app/formviewer/main.js","webpack:///./src/app/formviewer/components/main/eda.easyFormViewer.main.module.js","webpack:///./src/app/formviewer/components/main/eda.easyFormViewer.main.directive.js","webpack:///./src/app/formviewer/components/main/eda.easyFormViewer.main.template.html","webpack:///./src/app/formviewer/components/main/eda.easyFormViewer.main.directive.helpers.js","webpack:///./src/app/formviewer/components/main/eda.easyFormViewer.main.controller.js","webpack:///./src/app/formviewer/components/core/eda.easyFormViewer.core.module.js","webpack:///./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.module.js","webpack:///./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.service.js","webpack:///./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.service.helpers.js","webpack:///./src/app/formviewer/config/eda.easyFormViewer.config.js","webpack:///./src/app/formviewer/config/eda.easyFormViewer.formly.template.js","webpack:///./src/app/easyFormConfig.json","webpack:///./src/app/formviewer/style/formviewer.scss?ebd6","webpack:///./src/app/formviewer/style/formviewer.scss","webpack:///./~/css-loader/lib/css-base.js","webpack:///./~/style-loader/addStyles.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","root","factory","this","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_apiCheck","_apiCheck2","getApiCheckInstance","apiCheck","api","args","output","config","disabled","globalConfig","apiTypes","argTypes","passed","message","failed","checkApiCheckApi","arguments","Array","isArray","prototype","slice","messages","checkEnoughArgs","length","checkApiWithArgs","returnObject","getTypes","getErrorMessage","checkApiArgs","isArrayOrArgs","Error","prefix","errors","apiCheckApis","handleErrorMessage","getApiCheck","shouldThrow","result","console","warn","getPrefix","onlyPrefix","gOut","trim","getSuffix","s","onlySuffix","suffix","getUrl","u","url","docsBaseUrl","urlSuffix","undefined","join","passedAndShouldHavePassed","buildMessageFromApiAndArgs","replaceFunctionWithName","each","val","name","replacedItems","indexOf","push","displayName","getObjectString","types","stringify","generateMessage","n","useS","keys","newLine","passedArgs","_getTypes","copy","arrayify","map","checker","index","specified","hasOwnProperty","getCheckerDisplay","terse","verbose","addHelpers","arg","getArgDisplay","extraCheckers","apiCheckApiCheck","getApiCheckInstanceCheckers","additionalProperties","throw","utils","apiCheckUtil","wrapper","checkers","getCheckers","checkerIndex","argIndex","res","lastChecker","argName","argFailed","skipPreviousChecker","isOptional","isError","getCheckerErrorMessage","t","checkerTypeType","checkerType","location","apiCheckDataChecker","shape","type","string","optional","bool","asFunc","func","withProperties","__apiCheckData","asShape","wrongShape","oneOfType","getError","checkerHelp","getCheckerHelp","_ref","help","requiredArgs","filter","a","gottenArgs","hasKeys","getDisplayIfNotGotten","getDisplay","cName","constructor","typeOf","properties","argDisplay","v","k","getApiCheckApis","os","checkerFnChecker","shortType","notOptional","notRequired","strict","objectOf","typeOrArrayOf","any","VERSION","internalChecker","getSerialize","fn","decycle","seen","key","getPath","ret","path","unshift","spaces","JSON","_defineProperty","enumerable","configurable","writable","daCopy","RegExp","options","display","short","getCheckerType","typeTypes","iterator","context","eachArry","eachObj","hasOwn","i","list","arry","finalJoin","last","pop","stringType","nAtL","tName","tLocation","thing","undef","setupChecker","getNoop","isNoop","prop","getRequiredVersion","notNullable","addNullable","addOptional","requiredChecker","copyProps","originalChecker","optionalCheck","fixType","nullableCheck","isNullable","nullable","checkerCopy","apply","src","dest","noop","checkerHelpers","typeOfCheckGetter","lType","toLowerCase","funcCheckGetter","functionChecker","apiError","shapeChecker","notFunction","objectCheckGetter","nullType","objectNullOkChecker","objectChecker","nullOk","instanceCheckGetter","classToCheck","oneOfCheckGetter","enums","enum","enm","some","oneOfTypeCheckGetter","typeCheckers","checkersDisplay","arrayOfCheckGetter","shortCheckerDisplay","array","every","item","objectOfCheckGetter","checkerDisplay","notObject","object","allTypesSuccess","typeOrArrayOfCheckGetter","arrayOf","getShapeCheckGetter","shapeCheckGetter","nonObject","modifyTypeDisplayToHelpOut","theRet","required","addHelper","property","objectMessage","stringMessage","error","toUpperCase","parentRequired","strictType","shapeTypes","isObject","shapePropError","shapeError","allowedProperties","extraProps","getRequiredIfNotChecker","all","otherProps","propChecker","props","ifProps","description","getTypeForShapeChild","propName","propExists","iteration","otherPropsExist","otherProp","ifNot","onlyIf","othersPresent","requiredIfNot","argumentsCheckerGetter","number","anyCheckGetter","nullCheckGetter","rangeCheckGetter","min","max","lessThanCheckGetter","greaterThanCheckGetter","emptyObjectCheckGetter","emptyObject","instanceOf","oneOf","range","lessThan","greaterThan","null","_require","__WEBPACK_EXTERNAL_MODULE_16__","__WEBPACK_EXTERNAL_MODULE_17__","_interopRequire","angular","formlyApiCheck","formlyErrorAndWarningsUrlPrefix","formlyUsability","formlyConfig","formlyValidationMessages","formlyUtil","formlyWarn","formlyCustomValidation","formlyField","formlyFocus","formlyForm","formlyNgModelAttrsManipulator","formlyCustomTags","ngModuleName","ngModule","constant","provider","directive","run","shapeRequiredIfNot","shapeRequiredIfNotDefinition","apiCheckFactory","formlyExpression","specifyWrapperType","apiCheckProperty","apiCheckInstanceProperty","apiCheckFunctionProperty","formlyWrapperType","template","templateUrl","overwriteOk","validateOptions","apiCheckInstance","apiCheckFunction","apiCheckOptions","expressionProperties","expression","modelChecker","fieldOptionsApiShape","$$hashKey","model","className","data","templateOptions","modelOptions","updateOn","debounce","allowInvalid","getterSetter","timezone","watcher","listener","validators","noFormControl","hide","hideExpression","ngModelAttrs","attribute","bound","elementAttributes","optionsTypes","link","controller","validation","show","errorExistsAndShouldBeVisible","formControl","runExpressions","resetModel","updateInitialValue","initialValue","defaultValue","formlyFieldOptions","formOptionsApi","formState","removeChromeAutoComplete","fieldGroup","form","typeOptionsDefaultOptions","formlyTypeOptions","defaultOptions","extends","extend","getFieldError","errorInfoSlug","field","toJson","getFormlyError","checkWrapper","checkWrapperTemplate","additionalInfo","formlyTransclude","_this","$get","$inject","formlyUsabilityProvider","setType","forEach","checkType","extendTypeOptions","typeMap","checkOverwrite","extendsType","getType","extendTypeControllerFunction","extendTypeLinkFunction","extendTypeValidateOptionsFunction","extendTypeDefaultOptions","reverseDeepMerge","extendTemplate","extendsCtrl","isDefined","optionsCtrl","$scope","$controller","extendsFn","optionsFn","originalDefaultOptions","mergedOptions","isFunction","extendsDO","optionsDO","optionsDOIsFn","extendsDOIsFn","extendsDefaultOptions","mergedDefaultOptions","extenderOptionsDefaultOptions","newDefaultOptions","throwError","errorContext","setWrapper","_x","_x2","_again","wrapperOptions","getOptionsTypes","getOptionsName","checkWrapperAPI","templateWrappersMap","isString","defaultWrapperName","checkWrapperTypes","newValue","objectName","getWrapper","getWrapperByType","wrappers","removeWrapperByName","removeWrappersForType","disableWarnings","_this2","extras","disableNgModelAttrsManipulator","ngModelAttrsManipulatorPreferUnbound","defaultHideDirective","getFieldId","templateManipulators","preWrapper","postWrapper","addTemplateOptionValueMessage","alternate","validationMessages","templateOptionValue","addStringMessage","viewValue","modelValue","scope","$log","warnInfoSlug","shift","_toConsumableArray","arr","arr2","from","$q","isPromiseLike","then","checkValidators","validatorsWithExtraProps","validator","restrict","require","el","attrs","ctrl","opts","formlyEval","$modelValue","$viewValue","useNewValidatorsApi","setupWithValidators","validatorCollection","isPossiblyAsync","when","reject","setupWithParsers","inFlightValidator","$parsers","isValid","$pending","$setValidity","$http","$compile","$templateCache","FormlyFieldController","$timeout","$parse","currentValue","valueGetterSetter","setter","assign","promise","newVal","simplifyLife","to","setFieldId","formName","$name","formId","setDefaultValue","setInitialValue","mergeFieldOptionsWithTypeDefaults","mergeOptions","properOrder","reverse","typeName","extraOptions","extendOptionsWithDefaults","addModelWatcher","$watch","$setViewValue","$render","$setUntouched","$setPristine","addValidationMessages","invokeControllers","setupFieldGroup","fieldType","getFieldType","checkApi","fieldLink","setFieldGroupTemplate","checkFieldGroupApi","addClass","extraAttributes","setElementTemplate","addAttributes","attr","addClasses","templateString","html","asHtml","contents","watchFormControl","watchFieldNameOrExistence","nameExpressionRegex","nameExpression","exec","watchFieldName","watchFieldExistence","stopWatchingField","fc","stopWatchingShowError","addShowMessagesWatcher","customExpression","errorExistsAndShouldBeVisibleExpression","$invalid","noTouchedButDirty","isUndefined","$touched","$dirty","showError","templateEl","element","ngModelNode","querySelector","getAttribute","callLinkFunctions","thusly","runManipulators","manipulators","chain","manipulator","newTemplate","getFieldTemplate","transcludeInWrappers","append","fromOptionsOrType","getTemplate","isUrl","templatePromise","_ret","httpOptions","cache","get","response","getWrapperOption","runApiCheck","promises","w","wrappersTemplates","wrapperTemplate","totalWrapper","doTransclusion","superWrapper","transcludeEl","find","findByNodeName","replaceWith","typeWrappers","concat","defaultWrapper","instance","transclude","fields","$document","previousEl","doc","$observe","activeElement","focus","focusWait","blur","currentFormId","getRootEl","rootEl","getFieldRootEl","fieldRootEl","getHideDirective","hideDirective","getTrackBy","trackBy","getFormName","bindName","version","minor","copyAttributes","attributes","excluded","arrayAttrs","nodeName","nodeValue","toKebabCase","replace","$1","parentFormAttributes","parent","hasClass","onModelOrFormStateChange","extraLocals","setupOptions","isFieldGroup","initModel","attachKey","setupWatchers","watchers","watchExpression","getWatchExpression","watchListener","getWatchListener","stopWatching","watchDeep","originalExpression","modifyArgs","_slice","originalListener","_len","originalArgs","_key","theFormlyForm","$parent","global","offInstance","onInstance","input","document","createElement","setAttribute","appendChild","addFormlyNgModelAttrsManipulator","ngModelAttrsManipulator","addValidation","addIfNotPresent","modelNodes","addModelOptions","node","addTemplateOptionsAttrs","ep","ngModelAttributes","getBuiltInAttributes","attrVal","attrName","ref","toVal","epVal","getEpValue","inTo","inEp","boolean","skipNgModelAttrsManipulator","innerHTML","querySelectorAll","boundOnly","bothBooleanAndBound","bothAttributeAndBound","expressionOnly","attributeOnly","substr","nodes","addCustomTags","div","isIeLessThan9","getElementsByTagName","customElements","window","$eval","objAndSameType","obj1","obj2","getPrototypeOf","children","extendFunction","fns","__WEBPACK_EXTERNAL_MODULE_2__","__WEBPACK_EXTERNAL_MODULE_3__","__WEBPACK_EXTERNAL_MODULE_8__","addCheckboxType","formlyConfigProvider","formlyBootstrapApiCheck","labelProp","valueProp","checkValidity","expressionValue","valid","setModel","multiCheckbox","checked","checkbox","$setTouched","change","addWrappers","label","_addons","_addons2","_description","_description2","addRadioType","addInputType","addSelectType","ngOptions","groupProp","addTextareaType","rows","cols","addAddonsManipulator","addonTemplate","addonChecker","class","text","onClick","addonLeft","addonRight","addDescriptionManipulator","modelEls","_edaEasyFormViewerMain","_edaEasyFormViewerMain2","_edaEasyFormViewerCore","_edaEasyFormViewerCore2","_edaEasyFormViewerModelTranslator","_edaEasyFormViewerModelTranslator2","_edaEasyFormViewer","_edaEasyFormViewer2","_easyFormConfig","_easyFormConfig2","DEP_TO_INJECT_IN_MAIN","EASY_FORM_VIEWER_VERSION_NAME","EASY_FORM_VIEWER_VERSION_VALUE","formviewer","MAIN_MODULE_NAME","mainModule","_edaEasyFormViewerMain3","_edaEasyFormViewerMain4","FORM_VIEWER_MAIN_MODULE_NAME","EASY_FORM_VIEWER_DIRECTIVE_NAME","EASY_FORM_VIEWER_CONTROLLER","edaFormViewerDirective","$modelsTranslator","linkFct","dataModelToWatch","vm","fieldsModelToWatch","edaEasyFormViewerEasyFormGeneratorFieldsModel","submitBtnTextToWatch","edaEasyFormViewerSubmitButtonText","cancelBtnTextToWatch","edaEasyFormViewerCancelButtonText","submitEventToWatch","hasJustSumitted","cancelEventToWatch","hasJustCancelled","fieldsModelWatcher","newFieldsModel","loadExistingConfigurationModel","submitBtnTextWatcher","newSubmitBtntext","oldSubmitBtntext","submitText","cancelBtnTextWatcher","newCancelBtntext","oldCancelBtntext","cancelText","dataModelWatcher","newDataModel","edaEasyFormViewerDataModel","submitEventWatcher","newSubmitEvent","edaEasyFormViewerSubmitFormEvent","_dataModelSubmitted","dataModelSubmitted","cancelEventWatcher","newCancelEvent","edaEasyFormViewerCancelFormEvent","loadFieldsModel","initialFieldsModel","loadedFieldModel","configlines","_edaEasyFormViewerMainDirective","returnAttributeConfigurationLinesIfNotEmpty","formlyFieldsModel","configurationLoaded","bindConfigurationLines","refreshControlFormlyExpressionProperties","refreshControlFormlyValidators","refreshControlFormlyValidation","configuration","applyConfigurationToformlyModel","controllerAs","_edaEasyFormViewerMainTemplate","_edaEasyFormViewerMainTemplate2","EMPTY_FIELD_MODEL","line","activeColumn","columns","numColumn","exist","control","emptyEdaFieldsModel","returnAttributeDataModelIfNotEmpty","edaEasyFormGeneratorModel","dataModelToReturn","dataModel","edaEasyFormGeneratorModelToReturn","_classCallCheck","Constructor","TypeError","_createClass","defineProperties","target","descriptor","protoProps","staticProps","EASY_FORM_VIEWER_CONTROLLERAS","edaEasyFormViewerController","init","CORE_MODULES","FORMVIEWER_CORE_MODULE_NAME","FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME","service","MODEL_TRANSLATOR_SERVICE","_edaEasyFormViewerModelTranslatorService","nyaSelectObj","resetNyaSelect","controls","configurationModel","lines","column","_controlsDefinition","getControlsDefinition","aControl","formlyType","subtype","formlySubtype","formlyExpressionProperties","formlyValidators","_this3","formlyValidation","configurationModelResult","getEmptyConfigModelResult","getMessageObject","getErrorObject","formlyModel","formlyDataModel","resetFormlyModel","resetDataModel","lineNumber","addOneColumnHeader","addOneColumnControl","addTwoColumnControl","addThreeColumnControl","newNyaSelectObj","subtitle","group","formlyLabel","formlyRequired","formlyDesciption","formlyOptions","defaultReturnMsg","returnMsg","emailShape","test","datepickerOptions","format","selectedControl","temporyConfig","formlyPlaceholder","getConfigurationModelInit","configurationModelInit","activeLine","listConfigStep","stepIndicators","configStepCounter","submitButtonText","cancelButtonText","emptyDataModel","errorTitle","errorMessage","messageObj","noError","title","Message","messageTitle","messageBody","resetformly","extractTemplateOptionDescription","extractTemplateOptionPlaceholder","placeholder","extractTemplateOptionType","extractTemplateOptionLabel","extractTemplateOptionDatepickerOptions","extractFormlyExpressionProperties","extractFormlyValidators","extractFormlyValidation","extractTemplateOptionRequired","extractTemplateOptionOptions","addDatepickerOptionsProperty","fieldToPush","lineIndex","headerTemplateCol0","Date","now","headerTemplateCol1","controlCol0","controlCol1","FieldGroup","headerTemplateCol2","controlCol2","edaEasyFormViewerConfig","camelize","match","chr","bindings","binding","initDate","showWeeks","datepicker","currentModelVal","opened","open","$event","preventDefault","stopPropagation","_edaEasyFormViewerFormly","richTextTemplate","blankTemplate","subTitleTemplate","basicSelectTemplate","groupedSelectTemplate","datepickerTemplate","validationTemplate","stepway","dragdropway","content","locals","toString","mediaQuery","alreadyImportedModules","addStylesToDom","styles","domStyle","stylesInDom","refs","j","parts","addStyle","listToStyles","newStyles","css","media","sourceMap","part","insertStyleElement","styleElement","head","getHeadElement","lastStyleElementInsertedAtTop","styleElementsInsertedAtTop","insertAt","nextSibling","insertBefore","firstChild","removeStyleElement","parentNode","removeChild","idx","splice","createStyleElement","createLinkElement","linkElement","rel","update","remove","singleton","styleIndex","singletonCounter","singletonElement","applyToSingletonTag","bind","URL","createObjectURL","revokeObjectURL","Blob","btoa","updateLink","href","applyToTag","newObj","styleSheet","cssText","replaceText","cssNode","createTextNode","childNodes","unescape","encodeURIComponent","blob","oldSrc","memoize","memo","isOldIE","navigator","userAgent","newList","mayRemove","textStore","replacement","Boolean"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,O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u/B,GAAAE,OACA8D,EAAAx+B,KAAAw6B,GAEA,GAAA+D,EAAA,CACA,GAAAxD,GAAAD,EAAAyD,EACAjE,GAAAS,EAAAj0B,GAEA,OAAAU,GAAA,EAAgBA,EAAAg3B,EAAAhhC,OAAsBgK,IAAA,CACtC,GAAAgzB,GAAAgE,EAAAh3B,EACA,QAAAgzB,EAAAE,KAAA,CACA,OAAAC,GAAA,EAAkBA,EAAAH,EAAAI,MAAAp9B,OAA2Bm9B,IAC7CH,EAAAI,MAAAD,WACAF,GAAAD,EAAAv/B,OAiIA,IAAAyiC,GAAA,WACA,GAAAe,KAEA,iBAAAz9B,EAAA09B,GAEA,MADAD,GAAAz9B,GAAA09B,EACAD,EAAAr6B,OAAAu6B,SAAAp/B,KAAA","file":"eda.easyFormViewer.min.js","sourcesContent":["/******/ (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 = \"/\";\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\t__webpack_require__(1);\n\t\n\t__webpack_require__(6);\n\t\n\t__webpack_require__(19);\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t__webpack_require__(2);\n\t\n\t__webpack_require__(3);\n\t\n\t__webpack_require__(5);\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t//! api-check version 7.5.5 built with ♥ by Kent C. Dodds <kent@doddsfamily.us> (http://kent.doddsfamily.us) (ó ì_í)=óò=(ì_í ò)\n\t\n\t(function webpackUniversalModuleDefinition(root, factory) {\n\t\tif(true)\n\t\t\tmodule.exports = factory();\n\t\telse if(typeof define === 'function' && define.amd)\n\t\t\tdefine(factory);\n\t\telse if(typeof exports === 'object')\n\t\t\texports[\"apiCheck\"] = factory();\n\t\telse\n\t\t\troot[\"apiCheck\"] = factory();\n\t})(this, function() {\n\treturn /******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t\n\t\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\n\t\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\t\tvar _apiCheck = __webpack_require__(1);\n\t\n\t\tvar _apiCheck2 = _interopRequireDefault(_apiCheck);\n\t\n\t\texports['default'] = _apiCheck2['default'];\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 1 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\n\t\tvar stringify = __webpack_require__(2);\n\t\tvar apiCheckUtil = __webpack_require__(3);\n\t\tvar each = apiCheckUtil.each;\n\t\tvar isError = apiCheckUtil.isError;\n\t\tvar t = apiCheckUtil.t;\n\t\tvar arrayify = apiCheckUtil.arrayify;\n\t\tvar getCheckerDisplay = apiCheckUtil.getCheckerDisplay;\n\t\tvar typeOf = apiCheckUtil.typeOf;\n\t\tvar getError = apiCheckUtil.getError;\n\t\n\t\tvar checkers = __webpack_require__(4);\n\t\tvar apiCheckApis = getApiCheckApis();\n\t\n\t\tmodule.exports = getApiCheckInstance;\n\t\tmodule.exports.VERSION = (\"7.5.5\");\n\t\tmodule.exports.utils = apiCheckUtil;\n\t\tmodule.exports.globalConfig = {\n\t\t verbose: false,\n\t\t disabled: false\n\t\t};\n\t\n\t\tvar apiCheckApiCheck = getApiCheckInstance({\n\t\t output: { prefix: 'apiCheck' }\n\t\t});\n\t\tmodule.exports.internalChecker = apiCheckApiCheck;\n\t\n\t\teach(checkers, function (checker, name) {\n\t\t return module.exports[name] = checker;\n\t\t});\n\t\n\t\tfunction getApiCheckInstance() {\n\t\t var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\t var extraCheckers = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t\t /* eslint complexity:[2, 6] */\n\t\t if (apiCheckApiCheck && arguments.length) {\n\t\t apiCheckApiCheck['throw'](apiCheckApis.getApiCheckInstanceCheckers, arguments, {\n\t\t prefix: 'creating an apiCheck instance'\n\t\t });\n\t\t }\n\t\n\t\t var additionalProperties = {\n\t\t 'throw': getApiCheck(true),\n\t\t warn: getApiCheck(false),\n\t\t getErrorMessage: getErrorMessage,\n\t\t handleErrorMessage: handleErrorMessage,\n\t\t config: {\n\t\t output: config.output || {\n\t\t prefix: '',\n\t\t suffix: '',\n\t\t docsBaseUrl: ''\n\t\t },\n\t\t verbose: config.verbose || false,\n\t\t disabled: config.disabled || false\n\t\t },\n\t\t utils: apiCheckUtil\n\t\t };\n\t\n\t\t each(additionalProperties, function (wrapper, name) {\n\t\t return apiCheck[name] = wrapper;\n\t\t });\n\t\n\t\t var disabled = apiCheck.disabled || module.exports.globalConfig.disabled;\n\t\t each(checkers.getCheckers(disabled), function (checker, name) {\n\t\t return apiCheck[name] = checker;\n\t\t });\n\t\t each(extraCheckers, function (checker, name) {\n\t\t return apiCheck[name] = checker;\n\t\t });\n\t\n\t\t return apiCheck;\n\t\n\t\t /**\n\t\t * This is the instance function. Other things are attached to this see additional properties above.\n\t\t * @param {Array} api - the checkers to check with\n\t\t * @param {Array} args - the args to check\n\t\t * @param {Object} output - output options\n\t\t * @returns {Object} - if this has a failed = true property, then it failed\n\t\t */\n\t\t function apiCheck(api, args, output) {\n\t\t /* eslint complexity:[2, 8] */\n\t\t if (apiCheck.config.disabled || module.exports.globalConfig.disabled) {\n\t\t return {\n\t\t apiTypes: {}, argTypes: {},\n\t\t passed: true, message: '',\n\t\t failed: false\n\t\t }; // empty version of what is normally returned\n\t\t }\n\t\t checkApiCheckApi(arguments);\n\t\t if (!Array.isArray(api)) {\n\t\t api = [api];\n\t\t args = [args];\n\t\t } else {\n\t\t // turn arguments into an array\n\t\t args = Array.prototype.slice.call(args);\n\t\t }\n\t\t var messages = checkEnoughArgs(api, args);\n\t\t if (!messages.length) {\n\t\t // this is where we actually go perform the checks.\n\t\t messages = checkApiWithArgs(api, args);\n\t\t }\n\t\n\t\t var returnObject = getTypes(api, args);\n\t\t returnObject.args = args;\n\t\t if (messages.length) {\n\t\t returnObject.message = apiCheck.getErrorMessage(api, args, messages, output);\n\t\t returnObject.failed = true;\n\t\t returnObject.passed = false;\n\t\t } else {\n\t\t returnObject.message = '';\n\t\t returnObject.failed = false;\n\t\t returnObject.passed = true;\n\t\t }\n\t\t return returnObject;\n\t\t }\n\t\n\t\t /**\n\t\t * checkApiCheckApi, should be read like: check apiCheck api. As in, check the api for apiCheck :-)\n\t\t * @param {Array} checkApiArgs - args provided to apiCheck function\n\t\t */\n\t\t function checkApiCheckApi(checkApiArgs) {\n\t\t var api = checkApiArgs[0];\n\t\t var args = checkApiArgs[1];\n\t\t var isArrayOrArgs = Array.isArray(args) || args && typeof args === 'object' && typeof args.length === 'number';\n\t\n\t\t if (Array.isArray(api) && !isArrayOrArgs) {\n\t\t throw new Error(getErrorMessage(api, [args], ['If an array is provided for the api, an array must be provided for the args as well.'], { prefix: 'apiCheck' }));\n\t\t }\n\t\t // dog fooding here\n\t\t var errors = checkApiWithArgs(apiCheckApis.checkApiCheckApi, checkApiArgs);\n\t\t if (errors.length) {\n\t\t var message = apiCheck.getErrorMessage(apiCheckApis.checkApiCheckApi, checkApiArgs, errors, {\n\t\t prefix: 'apiCheck'\n\t\t });\n\t\t apiCheck.handleErrorMessage(message, true);\n\t\t }\n\t\t }\n\t\n\t\t function getApiCheck(shouldThrow) {\n\t\t return function apiCheckWrapper(api, args, output) {\n\t\t var result = apiCheck(api, args, output);\n\t\t apiCheck.handleErrorMessage(result.message, shouldThrow);\n\t\t return result; // wont get here if an error is thrown\n\t\t };\n\t\t }\n\t\n\t\t function handleErrorMessage(message, shouldThrow) {\n\t\t if (shouldThrow && message) {\n\t\t throw new Error(message);\n\t\t } else if (message) {\n\t\t /* eslint no-console:0 */\n\t\t console.warn(message);\n\t\t }\n\t\t }\n\t\n\t\t function getErrorMessage(api, args) {\n\t\t var messages = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\t\t var output = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];\n\t\n\t\t var gOut = apiCheck.config.output || {};\n\t\t var prefix = getPrefix();\n\t\t var suffix = getSuffix();\n\t\t var url = getUrl();\n\t\t var message = 'apiCheck failed! ' + messages.join(', ');\n\t\t var passedAndShouldHavePassed = '\\n\\n' + buildMessageFromApiAndArgs(api, args);\n\t\t return (prefix + ' ' + message + ' ' + suffix + ' ' + (url || '') + passedAndShouldHavePassed).trim();\n\t\n\t\t function getPrefix() {\n\t\t var p = output.onlyPrefix;\n\t\t if (!p) {\n\t\t p = ((gOut.prefix || '') + ' ' + (output.prefix || '')).trim();\n\t\t }\n\t\t return p;\n\t\t }\n\t\n\t\t function getSuffix() {\n\t\t var s = output.onlySuffix;\n\t\t if (!s) {\n\t\t s = ((output.suffix || '') + ' ' + (gOut.suffix || '')).trim();\n\t\t }\n\t\t return s;\n\t\t }\n\t\n\t\t function getUrl() {\n\t\t var u = output.url;\n\t\t if (!u) {\n\t\t u = gOut.docsBaseUrl && output.urlSuffix && ('' + gOut.docsBaseUrl + output.urlSuffix).trim();\n\t\t }\n\t\t return u;\n\t\t }\n\t\t }\n\t\n\t\t function buildMessageFromApiAndArgs(api, args) {\n\t\t var _getTypes = getTypes(api, args);\n\t\n\t\t var apiTypes = _getTypes.apiTypes;\n\t\t var argTypes = _getTypes.argTypes;\n\t\n\t\t var copy = Array.prototype.slice.call(args || []);\n\t\t var replacedItems = [];\n\t\t replaceFunctionWithName(copy);\n\t\t var passedArgs = getObjectString(copy);\n\t\t argTypes = getObjectString(argTypes);\n\t\t apiTypes = getObjectString(apiTypes);\n\t\n\t\t return generateMessage();\n\t\n\t\t // functions\n\t\n\t\t function replaceFunctionWithName(obj) {\n\t\t each(obj, function (val, name) {\n\t\t /* eslint complexity:[2, 6] */\n\t\t if (replacedItems.indexOf(val) === -1) {\n\t\t // avoid recursive problems\n\t\t replacedItems.push(val);\n\t\t if (typeof val === 'object') {\n\t\t replaceFunctionWithName(obj);\n\t\t } else if (typeof val === 'function') {\n\t\t obj[name] = val.displayName || val.name || 'anonymous function';\n\t\t }\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function getObjectString(types) {\n\t\t if (!types || !types.length) {\n\t\t return 'nothing';\n\t\t } else if (types && types.length === 1) {\n\t\t types = types[0];\n\t\t }\n\t\t return stringify(types, null, 2);\n\t\t }\n\t\n\t\t function generateMessage() {\n\t\t var n = '\\n';\n\t\t var useS = true;\n\t\t if (args && args.length === 1) {\n\t\t if (typeof args[0] === 'object' && args[0] !== null) {\n\t\t useS = !!Object.keys(args[0]).length;\n\t\t } else {\n\t\t useS = false;\n\t\t }\n\t\t }\n\t\t var types = 'type' + (useS ? 's' : '');\n\t\t var newLine = n + n;\n\t\t return 'You passed:' + n + passedArgs + newLine + ('With the ' + types + ':' + n + argTypes + newLine) + ('The API calls for:' + n + apiTypes);\n\t\t }\n\t\t }\n\t\n\t\t function getTypes(api, args) {\n\t\t api = arrayify(api);\n\t\t args = arrayify(args);\n\t\t var apiTypes = api.map(function (checker, index) {\n\t\t var specified = module.exports.globalConfig.hasOwnProperty('verbose');\n\t\t return getCheckerDisplay(checker, {\n\t\t terse: specified ? !module.exports.globalConfig.verbose : !apiCheck.config.verbose,\n\t\t obj: args[index],\n\t\t addHelpers: true\n\t\t });\n\t\t });\n\t\t var argTypes = args.map(function (arg) {\n\t\t return getArgDisplay(arg, []);\n\t\t });\n\t\t return { argTypes: argTypes, apiTypes: apiTypes };\n\t\t }\n\t\t}\n\t\n\t\t// STATELESS FUNCTIONS\n\t\n\t\t/**\n\t\t * This is where the magic happens for actually checking the arguments with the api.\n\t\t * @param {Array} api - checkers\n\t\t * @param {Array} args - and arguments object\n\t\t * @returns {Array} - the error messages\n\t\t */\n\t\tfunction checkApiWithArgs(api, args) {\n\t\t /* eslint complexity:[2, 7] */\n\t\t var messages = [];\n\t\t var failed = false;\n\t\t var checkerIndex = 0;\n\t\t var argIndex = 0;\n\t\t var arg = undefined,\n\t\t checker = undefined,\n\t\t res = undefined,\n\t\t lastChecker = undefined,\n\t\t argName = undefined,\n\t\t argFailed = undefined,\n\t\t skipPreviousChecker = undefined;\n\t\t /* jshint -W084 */\n\t\t while ((checker = api[checkerIndex++]) && argIndex < args.length) {\n\t\t arg = args[argIndex++];\n\t\t argName = 'Argument ' + argIndex + (checker.isOptional ? ' (optional)' : '');\n\t\t res = checker(arg, 'value', argName);\n\t\t argFailed = isError(res);\n\t\t lastChecker = checkerIndex >= api.length;\n\t\t skipPreviousChecker = checkerIndex > 1 && api[checkerIndex - 1].isOptional;\n\t\t if (argFailed && lastChecker || argFailed && !lastChecker && !checker.isOptional && !skipPreviousChecker) {\n\t\t failed = true;\n\t\t messages.push(getCheckerErrorMessage(res, checker, arg));\n\t\t } else if (argFailed && checker.isOptional) {\n\t\t argIndex--;\n\t\t } else {\n\t\t messages.push(t(argName) + ' passed');\n\t\t }\n\t\t }\n\t\t return failed ? messages : [];\n\t\t}\n\t\n\t\tcheckerTypeType.type = 'function with __apiCheckData property and `${function.type}` property';\n\t\tfunction checkerTypeType(checkerType, name, location) {\n\t\t var apiCheckDataChecker = checkers.shape({\n\t\t type: checkers.string,\n\t\t optional: checkers.bool\n\t\t });\n\t\t var asFunc = checkers.func.withProperties({ __apiCheckData: apiCheckDataChecker });\n\t\t var asShape = checkers.shape({ __apiCheckData: apiCheckDataChecker });\n\t\t var wrongShape = checkers.oneOfType([asFunc, asShape])(checkerType, name, location);\n\t\t if (isError(wrongShape)) {\n\t\t return wrongShape;\n\t\t }\n\t\t if (typeof checkerType !== 'function' && !checkerType.hasOwnProperty(checkerType.__apiCheckData.type)) {\n\t\t return getError(name, location, checkerTypeType.type);\n\t\t }\n\t\t}\n\t\n\t\tfunction getCheckerErrorMessage(res, checker, val) {\n\t\t var checkerHelp = getCheckerHelp(checker, val);\n\t\t checkerHelp = checkerHelp ? ' - ' + checkerHelp : '';\n\t\t return res.message + checkerHelp;\n\t\t}\n\t\n\t\tfunction getCheckerHelp(_ref, val) {\n\t\t var help = _ref.help;\n\t\n\t\t if (!help) {\n\t\t return '';\n\t\t }\n\t\t if (typeof help === 'function') {\n\t\t help = help(val);\n\t\t }\n\t\t return help;\n\t\t}\n\t\n\t\tfunction checkEnoughArgs(api, args) {\n\t\t var requiredArgs = api.filter(function (a) {\n\t\t return !a.isOptional;\n\t\t });\n\t\t if (args.length < requiredArgs.length) {\n\t\t return ['Not enough arguments specified. Requires `' + requiredArgs.length + '`, you passed `' + args.length + '`'];\n\t\t } else {\n\t\t return [];\n\t\t }\n\t\t}\n\t\n\t\tfunction getArgDisplay(arg, gottenArgs) {\n\t\t /* eslint complexity:[2, 7] */\n\t\t var cName = arg && arg.constructor && arg.constructor.name;\n\t\t var type = typeOf(arg);\n\t\t if (type === 'function') {\n\t\t if (hasKeys()) {\n\t\t var properties = stringify(getDisplayIfNotGotten());\n\t\t return cName + ' (with properties: ' + properties + ')';\n\t\t }\n\t\t return cName;\n\t\t }\n\t\n\t\t if (arg === null) {\n\t\t return 'null';\n\t\t }\n\t\n\t\t if (type !== 'array' && type !== 'object') {\n\t\t return type;\n\t\t }\n\t\n\t\t if (hasKeys()) {\n\t\t return getDisplayIfNotGotten();\n\t\t }\n\t\n\t\t return cName;\n\t\n\t\t // utility functions\n\t\t function hasKeys() {\n\t\t return arg && Object.keys(arg).length;\n\t\t }\n\t\n\t\t function getDisplayIfNotGotten() {\n\t\t if (gottenArgs.indexOf(arg) !== -1) {\n\t\t return '[Circular]';\n\t\t }\n\t\t gottenArgs.push(arg);\n\t\t return getDisplay(arg, gottenArgs);\n\t\t }\n\t\t}\n\t\n\t\tfunction getDisplay(obj, gottenArgs) {\n\t\t var argDisplay = {};\n\t\t each(obj, function (v, k) {\n\t\t return argDisplay[k] = getArgDisplay(v, gottenArgs);\n\t\t });\n\t\t return argDisplay;\n\t\t}\n\t\n\t\tfunction getApiCheckApis() {\n\t\t var os = checkers.string.optional;\n\t\n\t\t var checkerFnChecker = checkers.func.withProperties({\n\t\t type: checkers.oneOfType([checkers.string, checkerTypeType]).optional,\n\t\t displayName: checkers.string.optional,\n\t\t shortType: checkers.string.optional,\n\t\t notOptional: checkers.bool.optional,\n\t\t notRequired: checkers.bool.optional\n\t\t });\n\t\n\t\t var getApiCheckInstanceCheckers = [checkers.shape({\n\t\t output: checkers.shape({\n\t\t prefix: checkers.string.optional,\n\t\t suffix: checkers.string.optional,\n\t\t docsBaseUrl: checkers.string.optional\n\t\t }).strict.optional,\n\t\t verbose: checkers.bool.optional,\n\t\t disabled: checkers.bool.optional\n\t\t }).strict.optional, checkers.objectOf(checkerFnChecker).optional];\n\t\n\t\t var checkApiCheckApi = [checkers.typeOrArrayOf(checkerFnChecker), checkers.any.optional, checkers.shape({\n\t\t prefix: os, suffix: os, urlSuffix: os, // appended case\n\t\t onlyPrefix: os, onlySuffix: os, url: os // override case\n\t\t }).strict.optional];\n\t\n\t\t return {\n\t\t checkerFnChecker: checkerFnChecker,\n\t\t getApiCheckInstanceCheckers: getApiCheckInstanceCheckers,\n\t\t checkApiCheckApi: checkApiCheckApi\n\t\t };\n\t\t}\n\t\n\t/***/ },\n\t/* 2 */\n\t/***/ function(module, exports) {\n\t\n\t\tmodule.exports = stringify;\n\t\n\t\tfunction getSerialize (fn, decycle) {\n\t\t var seen = [], keys = [];\n\t\t decycle = decycle || function(key, value) {\n\t\t return '[Circular ' + getPath(value, seen, keys) + ']'\n\t\t };\n\t\t return function(key, value) {\n\t\t var ret = value;\n\t\t if (typeof value === 'object' && value) {\n\t\t if (seen.indexOf(value) !== -1)\n\t\t ret = decycle(key, value);\n\t\t else {\n\t\t seen.push(value);\n\t\t keys.push(key);\n\t\t }\n\t\t }\n\t\t if (fn) ret = fn(key, ret);\n\t\t return ret;\n\t\t }\n\t\t}\n\t\n\t\tfunction getPath (value, seen, keys) {\n\t\t var index = seen.indexOf(value);\n\t\t var path = [ keys[index] ];\n\t\t for (index--; index >= 0; index--) {\n\t\t if (seen[index][ path[0] ] === value) {\n\t\t value = seen[index];\n\t\t path.unshift(keys[index]);\n\t\t }\n\t\t }\n\t\t return '~' + path.join('.');\n\t\t}\n\t\n\t\tfunction stringify(obj, fn, spaces, decycle) {\n\t\t return JSON.stringify(obj, getSerialize(fn, decycle), spaces);\n\t\t}\n\t\n\t\tstringify.getSerialize = getSerialize;\n\t\n\t\n\t/***/ },\n\t/* 3 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\n\t\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\t\tvar stringify = __webpack_require__(2);\n\t\tvar checkerHelpers = {\n\t\t addOptional: addOptional, getRequiredVersion: getRequiredVersion, setupChecker: setupChecker, addNullable: addNullable\n\t\t};\n\t\n\t\tmodule.exports = {\n\t\t each: each, copy: copy, typeOf: typeOf, arrayify: arrayify, getCheckerDisplay: getCheckerDisplay,\n\t\t isError: isError, list: list, getError: getError, nAtL: nAtL, t: t, undef: undef, checkerHelpers: checkerHelpers,\n\t\t noop: noop\n\t\t};\n\t\n\t\tfunction copy(obj) {\n\t\t var type = typeOf(obj);\n\t\t var daCopy = undefined;\n\t\t if (type === 'array') {\n\t\t daCopy = [];\n\t\t } else if (type === 'object') {\n\t\t daCopy = {};\n\t\t } else {\n\t\t return obj;\n\t\t }\n\t\t each(obj, function (val, key) {\n\t\t daCopy[key] = val; // cannot single-line this because we don't want to abort the each\n\t\t });\n\t\t return daCopy;\n\t\t}\n\t\n\t\tfunction typeOf(obj) {\n\t\t if (Array.isArray(obj)) {\n\t\t return 'array';\n\t\t } else if (obj instanceof RegExp) {\n\t\t return 'object';\n\t\t } else {\n\t\t return typeof obj;\n\t\t }\n\t\t}\n\t\n\t\tfunction getCheckerDisplay(checker, options) {\n\t\t /* eslint complexity:[2, 7] */\n\t\t var display = undefined;\n\t\t var short = options && options.short;\n\t\t if (short && checker.shortType) {\n\t\t display = checker.shortType;\n\t\t } else if (!short && typeof checker.type === 'object' || checker.type === 'function') {\n\t\t display = getCheckerType(checker, options);\n\t\t } else {\n\t\t display = getCheckerType(checker, options) || checker.displayName || checker.name;\n\t\t }\n\t\t return display;\n\t\t}\n\t\n\t\tfunction getCheckerType(_ref, options) {\n\t\t var type = _ref.type;\n\t\n\t\t if (typeof type === 'function') {\n\t\t var __apiCheckData = type.__apiCheckData;\n\t\t var typeTypes = type(options);\n\t\t type = _defineProperty({\n\t\t __apiCheckData: __apiCheckData\n\t\t }, __apiCheckData.type, typeTypes);\n\t\t }\n\t\t return type;\n\t\t}\n\t\n\t\tfunction arrayify(obj) {\n\t\t if (!obj) {\n\t\t return [];\n\t\t } else if (Array.isArray(obj)) {\n\t\t return obj;\n\t\t } else {\n\t\t return [obj];\n\t\t }\n\t\t}\n\t\n\t\tfunction each(obj, iterator, context) {\n\t\t if (Array.isArray(obj)) {\n\t\t return eachArry(obj, iterator, context);\n\t\t } else {\n\t\t return eachObj(obj, iterator, context);\n\t\t }\n\t\t}\n\t\n\t\tfunction eachObj(obj, iterator, context) {\n\t\t var ret = undefined;\n\t\t var hasOwn = Object.prototype.hasOwnProperty;\n\t\t /* eslint prefer-const:0 */ // some weird eslint bug?\n\t\t for (var key in obj) {\n\t\t if (hasOwn.call(obj, key)) {\n\t\t ret = iterator.call(context, obj[key], key, obj);\n\t\t if (ret === false) {\n\t\t return ret;\n\t\t }\n\t\t }\n\t\t }\n\t\t return true;\n\t\t}\n\t\n\t\tfunction eachArry(obj, iterator, context) {\n\t\t var ret = undefined;\n\t\t var length = obj.length;\n\t\t for (var i = 0; i < length; i++) {\n\t\t ret = iterator.call(context, obj[i], i, obj);\n\t\t if (ret === false) {\n\t\t return ret;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t}\n\t\n\t\tfunction isError(obj) {\n\t\t return obj instanceof Error;\n\t\t}\n\t\n\t\tfunction list(arry, join, finalJoin) {\n\t\t arry = arrayify(arry);\n\t\t var copy = arry.slice();\n\t\t var last = copy.pop();\n\t\t if (copy.length === 1) {\n\t\t join = ' ';\n\t\t }\n\t\t return copy.join(join) + ('' + (copy.length ? join + finalJoin : '') + last);\n\t\t}\n\t\n\t\tfunction getError(name, location, checkerType) {\n\t\t if (typeof checkerType === 'function') {\n\t\t checkerType = checkerType({ short: true });\n\t\t }\n\t\t var stringType = typeof checkerType !== 'object' ? checkerType : stringify(checkerType);\n\t\t return new Error(nAtL(name, location) + ' must be ' + t(stringType));\n\t\t}\n\t\n\t\tfunction nAtL(name, location) {\n\t\t var tName = t(name || 'value');\n\t\t var tLocation = !location ? '' : ' at ' + t(location);\n\t\t return '' + tName + tLocation;\n\t\t}\n\t\n\t\tfunction t(thing) {\n\t\t return '`' + thing + '`';\n\t\t}\n\t\n\t\tfunction undef(thing) {\n\t\t return typeof thing === 'undefined';\n\t\t}\n\t\n\t\t/**\n\t\t * This will set up the checker with all of the defaults that most checkers want like required by default and an\n\t\t * optional version\n\t\t *\n\t\t * @param {Function} checker - the checker to setup with properties\n\t\t * @param {Object} properties - properties to add to the checker\n\t\t * @param {boolean} disabled - when set to true, this will set the checker to a no-op function\n\t\t * @returns {Function} checker - the setup checker\n\t\t */\n\t\tfunction setupChecker(checker, properties, disabled) {\n\t\t /* eslint complexity:[2, 9] */\n\t\t if (disabled) {\n\t\t // swap out the checker for its own copy of noop\n\t\t checker = getNoop();\n\t\t checker.isNoop = true;\n\t\t }\n\t\n\t\t if (typeof checker.type === 'string') {\n\t\t checker.shortType = checker.type;\n\t\t }\n\t\n\t\t // assign all properties given\n\t\t each(properties, function (prop, name) {\n\t\t return checker[name] = prop;\n\t\t });\n\t\n\t\t if (!checker.displayName) {\n\t\t checker.displayName = 'apiCheck ' + t(checker.shortType || checker.type || checker.name) + ' type checker';\n\t\t }\n\t\n\t\t if (!checker.notRequired) {\n\t\t checker = getRequiredVersion(checker, disabled);\n\t\t }\n\t\n\t\t if (!checker.notNullable) {\n\t\t addNullable(checker, disabled);\n\t\t }\n\t\n\t\t if (!checker.notOptional) {\n\t\t addOptional(checker, disabled);\n\t\t }\n\t\n\t\t return checker;\n\t\t}\n\t\n\t\tfunction getRequiredVersion(checker, disabled) {\n\t\t var requiredChecker = disabled ? getNoop() : function requiredChecker(val, name, location, obj) {\n\t\t if (undef(val) && !checker.isOptional) {\n\t\t var tLocation = location ? ' in ' + t(location) : '';\n\t\t var type = getCheckerDisplay(checker, { short: true });\n\t\t var stringType = typeof type !== 'object' ? type : stringify(type);\n\t\t return new Error('Required ' + t(name) + ' not specified' + tLocation + '. Must be ' + t(stringType));\n\t\t } else {\n\t\t return checker(val, name, location, obj);\n\t\t }\n\t\t };\n\t\t copyProps(checker, requiredChecker);\n\t\t requiredChecker.originalChecker = checker;\n\t\t return requiredChecker;\n\t\t}\n\t\n\t\tfunction addOptional(checker, disabled) {\n\t\t var optionalCheck = disabled ? getNoop() : function optionalCheck(val, name, location, obj) {\n\t\t if (!undef(val)) {\n\t\t return checker(val, name, location, obj);\n\t\t }\n\t\t };\n\t\t // inherit all properties on the original checker\n\t\t copyProps(checker, optionalCheck);\n\t\n\t\t optionalCheck.isOptional = true;\n\t\t optionalCheck.displayName = checker.displayName + ' (optional)';\n\t\t optionalCheck.originalChecker = checker;\n\t\n\t\t // the magic line that allows you to add .optional to the end of the checkers\n\t\t checker.optional = optionalCheck;\n\t\n\t\t fixType(checker, checker.optional);\n\t\t}\n\t\n\t\tfunction addNullable(checker, disabled) {\n\t\t var nullableCheck = disabled ? getNoop() : function nullableCheck(val, name, location, obj) {\n\t\t if (val !== null) {\n\t\t return checker(val, name, location, obj);\n\t\t }\n\t\t };\n\t\t // inherit all properties on the original checker\n\t\t copyProps(checker, nullableCheck);\n\t\n\t\t nullableCheck.isNullable = true;\n\t\t nullableCheck.displayName = checker.displayName + ' (nullable)';\n\t\t nullableCheck.originalChecker = checker;\n\t\n\t\t // the magic line that allows you to add .nullable to the end of the checkers\n\t\t checker.nullable = nullableCheck;\n\t\n\t\t fixType(checker, checker.nullable);\n\t\t if (!checker.notOptional) {\n\t\t addOptional(checker.nullable, disabled);\n\t\t }\n\t\t}\n\t\n\t\tfunction fixType(checker, checkerCopy) {\n\t\t // fix type, because it's not a straight copy...\n\t\t // the reason is we need to specify type.__apiCheckData.optional as true for the terse/verbose option.\n\t\t // we also want to add \"(optional)\" to the types with a string\n\t\t if (typeof checkerCopy.type === 'object') {\n\t\t checkerCopy.type = copy(checkerCopy.type); // make our own copy of this\n\t\t } else if (typeof checkerCopy.type === 'function') {\n\t\t checkerCopy.type = function () {\n\t\t return checker.type.apply(checker, arguments);\n\t\t };\n\t\t } else {\n\t\t checkerCopy.type += ' (optional)';\n\t\t return;\n\t\t }\n\t\t checkerCopy.type.__apiCheckData = copy(checker.type.__apiCheckData) || {}; // and this\n\t\t checkerCopy.type.__apiCheckData.optional = true;\n\t\t}\n\t\n\t\t// UTILS\n\t\n\t\tfunction copyProps(src, dest) {\n\t\t each(Object.keys(src), function (key) {\n\t\t return dest[key] = src[key];\n\t\t });\n\t\t}\n\t\n\t\tfunction noop() {}\n\t\n\t\tfunction getNoop() {\n\t\t /* eslint no-shadow:0 */\n\t\t /* istanbul ignore next */\n\t\t return function noop() {};\n\t\t}\n\t\n\t/***/ },\n\t/* 4 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\n\t\tvar stringify = __webpack_require__(2);\n\t\n\t\tvar _require = __webpack_require__(3);\n\t\n\t\tvar typeOf = _require.typeOf;\n\t\tvar each = _require.each;\n\t\tvar copy = _require.copy;\n\t\tvar getCheckerDisplay = _require.getCheckerDisplay;\n\t\tvar isError = _require.isError;\n\t\tvar arrayify = _require.arrayify;\n\t\tvar list = _require.list;\n\t\tvar getError = _require.getError;\n\t\tvar nAtL = _require.nAtL;\n\t\tvar t = _require.t;\n\t\tvar checkerHelpers = _require.checkerHelpers;\n\t\tvar undef = _require.undef;\n\t\tvar setupChecker = checkerHelpers.setupChecker;\n\t\n\t\tvar checkers = module.exports = getCheckers();\n\t\tmodule.exports.getCheckers = getCheckers;\n\t\n\t\tfunction getCheckers(disabled) {\n\t\t return {\n\t\t array: typeOfCheckGetter('Array'),\n\t\t bool: typeOfCheckGetter('Boolean'),\n\t\t number: typeOfCheckGetter('Number'),\n\t\t string: typeOfCheckGetter('String'),\n\t\t func: funcCheckGetter(),\n\t\t object: objectCheckGetter(),\n\t\n\t\t emptyObject: emptyObjectCheckGetter(),\n\t\n\t\t instanceOf: instanceCheckGetter,\n\t\t oneOf: oneOfCheckGetter,\n\t\t oneOfType: oneOfTypeCheckGetter,\n\t\n\t\t arrayOf: arrayOfCheckGetter,\n\t\t objectOf: objectOfCheckGetter,\n\t\t typeOrArrayOf: typeOrArrayOfCheckGetter,\n\t\n\t\t range: rangeCheckGetter,\n\t\t lessThan: lessThanCheckGetter,\n\t\t greaterThan: greaterThanCheckGetter,\n\t\n\t\t shape: getShapeCheckGetter(),\n\t\t args: argumentsCheckerGetter(),\n\t\n\t\t any: anyCheckGetter(),\n\t\t 'null': nullCheckGetter()\n\t\n\t\t };\n\t\n\t\t function typeOfCheckGetter(type) {\n\t\t var lType = type.toLowerCase();\n\t\t return setupChecker(function typeOfCheckerDefinition(val, name, location) {\n\t\t if (typeOf(val) !== lType) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function funcCheckGetter() {\n\t\t var type = 'Function';\n\t\t var functionChecker = setupChecker(function functionCheckerDefinition(val, name, location) {\n\t\t if (typeOf(val) !== 'function') {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\n\t\t functionChecker.withProperties = function getWithPropertiesChecker(properties) {\n\t\t var apiError = checkers.objectOf(checkers.func)(properties, 'properties', 'apiCheck.func.withProperties');\n\t\t if (isError(apiError)) {\n\t\t throw apiError;\n\t\t }\n\t\t var shapeChecker = checkers.shape(properties, true);\n\t\t shapeChecker.type.__apiCheckData.type = 'func.withProperties';\n\t\n\t\t return setupChecker(function functionWithPropertiesChecker(val, name, location) {\n\t\t var notFunction = checkers.func(val, name, location);\n\t\t if (isError(notFunction)) {\n\t\t return notFunction;\n\t\t }\n\t\t return shapeChecker(val, name, location);\n\t\t }, { type: shapeChecker.type, shortType: 'func.withProperties' }, disabled);\n\t\t };\n\t\t return functionChecker;\n\t\t }\n\t\n\t\t function objectCheckGetter() {\n\t\t var type = 'Object';\n\t\t var nullType = 'Object (null ok)';\n\t\t var objectNullOkChecker = setupChecker(function objectNullOkCheckerDefinition(val, name, location) {\n\t\t if (typeOf(val) !== 'object') {\n\t\t return getError(name, location, nullType);\n\t\t }\n\t\t }, { type: nullType }, disabled);\n\t\n\t\t var objectChecker = setupChecker(function objectCheckerDefinition(val, name, location) {\n\t\t if (val === null || isError(objectNullOkChecker(val, name, location))) {\n\t\t return getError(name, location, objectChecker.type);\n\t\t }\n\t\t }, { type: type, nullOk: objectNullOkChecker }, disabled);\n\t\n\t\t return objectChecker;\n\t\t }\n\t\n\t\t function instanceCheckGetter(classToCheck) {\n\t\t return setupChecker(function instanceCheckerDefinition(val, name, location) {\n\t\t if (!(val instanceof classToCheck)) {\n\t\t return getError(name, location, classToCheck.name);\n\t\t }\n\t\t }, { type: classToCheck.name }, disabled);\n\t\t }\n\t\n\t\t function oneOfCheckGetter(enums) {\n\t\t var type = {\n\t\t __apiCheckData: { optional: false, type: 'enum' },\n\t\t 'enum': enums\n\t\t };\n\t\t var shortType = 'oneOf[' + enums.map(function (enm) {\n\t\t return stringify(enm);\n\t\t }).join(', ') + ']';\n\t\t return setupChecker(function oneOfCheckerDefinition(val, name, location) {\n\t\t if (!enums.some(function (enm) {\n\t\t return enm === val;\n\t\t })) {\n\t\t return getError(name, location, shortType);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t }\n\t\n\t\t function oneOfTypeCheckGetter(typeCheckers) {\n\t\t var checkersDisplay = typeCheckers.map(function (checker) {\n\t\t return getCheckerDisplay(checker, { short: true });\n\t\t });\n\t\t var shortType = 'oneOfType[' + checkersDisplay.join(', ') + ']';\n\t\t function type(options) {\n\t\t if (options && options.short) {\n\t\t return shortType;\n\t\t }\n\t\t return typeCheckers.map(function (checker) {\n\t\t return getCheckerDisplay(checker, options);\n\t\t });\n\t\t }\n\t\t type.__apiCheckData = { optional: false, type: 'oneOfType' };\n\t\t return setupChecker(function oneOfTypeCheckerDefinition(val, name, location) {\n\t\t if (!typeCheckers.some(function (checker) {\n\t\t return !isError(checker(val, name, location));\n\t\t })) {\n\t\t return getError(name, location, shortType);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t }\n\t\n\t\t function arrayOfCheckGetter(checker) {\n\t\t var shortCheckerDisplay = getCheckerDisplay(checker, { short: true });\n\t\t var shortType = 'arrayOf[' + shortCheckerDisplay + ']';\n\t\n\t\t function type(options) {\n\t\t if (options && options.short) {\n\t\t return shortType;\n\t\t }\n\t\t return getCheckerDisplay(checker, options);\n\t\t }\n\t\t type.__apiCheckData = { optional: false, type: 'arrayOf' };\n\t\n\t\t return setupChecker(function arrayOfCheckerDefinition(val, name, location) {\n\t\t if (isError(checkers.array(val)) || !val.every(function (item) {\n\t\t return !isError(checker(item));\n\t\t })) {\n\t\t return getError(name, location, shortType);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t }\n\t\n\t\t function objectOfCheckGetter(checker) {\n\t\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t\t var shortType = 'objectOf[' + checkerDisplay + ']';\n\t\n\t\t function type(options) {\n\t\t if (options && options.short) {\n\t\t return shortType;\n\t\t }\n\t\t return getCheckerDisplay(checker, options);\n\t\t }\n\t\t type.__apiCheckData = { optional: false, type: 'objectOf' };\n\t\n\t\t return setupChecker(function objectOfCheckerDefinition(val, name, location) {\n\t\t var notObject = checkers.object(val, name, location);\n\t\t if (isError(notObject)) {\n\t\t return notObject;\n\t\t }\n\t\t var allTypesSuccess = each(val, function (item, key) {\n\t\t if (isError(checker(item, key, name))) {\n\t\t return false;\n\t\t }\n\t\t });\n\t\t if (!allTypesSuccess) {\n\t\t return getError(name, location, shortType);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t }\n\t\n\t\t function typeOrArrayOfCheckGetter(checker) {\n\t\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t\t var shortType = 'typeOrArrayOf[' + checkerDisplay + ']';\n\t\n\t\t function type(options) {\n\t\t if (options && options.short) {\n\t\t return shortType;\n\t\t }\n\t\t return getCheckerDisplay(checker, options);\n\t\t }\n\t\n\t\t type.__apiCheckData = { optional: false, type: 'typeOrArrayOf' };\n\t\t return setupChecker(function typeOrArrayOfDefinition(val, name, location, obj) {\n\t\t if (isError(checkers.oneOfType([checker, checkers.arrayOf(checker)])(val, name, location, obj))) {\n\t\t return getError(name, location, shortType);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t }\n\t\n\t\t function getShapeCheckGetter() {\n\t\t function shapeCheckGetter(shape, nonObject) {\n\t\t var shapeTypes = {};\n\t\t each(shape, function (checker, prop) {\n\t\t shapeTypes[prop] = getCheckerDisplay(checker);\n\t\t });\n\t\t function type() {\n\t\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t\t var ret = {};\n\t\t var terse = options.terse;\n\t\t var obj = options.obj;\n\t\t var addHelpers = options.addHelpers;\n\t\n\t\t var parentRequired = options.required;\n\t\t each(shape, function (checker, prop) {\n\t\t /* eslint complexity:[2, 6] */\n\t\t var specified = obj && obj.hasOwnProperty(prop);\n\t\t var required = undef(parentRequired) ? !checker.isOptional : parentRequired;\n\t\t if (!terse || (specified || !checker.isOptional)) {\n\t\t ret[prop] = getCheckerDisplay(checker, { terse: terse, obj: obj && obj[prop], required: required, addHelpers: addHelpers });\n\t\t }\n\t\t if (addHelpers) {\n\t\t modifyTypeDisplayToHelpOut(ret, prop, specified, checker, required);\n\t\t }\n\t\t });\n\t\t return ret;\n\t\n\t\t function modifyTypeDisplayToHelpOut(theRet, prop, specified, checker, required) {\n\t\t if (!specified && required && !checker.isOptional) {\n\t\t var item = 'ITEM';\n\t\t if (checker.type && checker.type.__apiCheckData) {\n\t\t item = checker.type.__apiCheckData.type.toUpperCase();\n\t\t }\n\t\t addHelper('missing', 'MISSING THIS ' + item, ' <-- YOU ARE MISSING THIS');\n\t\t } else if (specified) {\n\t\t var error = checker(obj[prop], prop, null, obj);\n\t\t if (isError(error)) {\n\t\t addHelper('error', 'THIS IS THE PROBLEM: ' + error.message, ' <-- THIS IS THE PROBLEM: ' + error.message);\n\t\t }\n\t\t }\n\t\n\t\t function addHelper(property, objectMessage, stringMessage) {\n\t\t if (typeof theRet[prop] === 'string') {\n\t\t theRet[prop] += stringMessage;\n\t\t } else {\n\t\t theRet[prop].__apiCheckData[property] = objectMessage;\n\t\t }\n\t\t }\n\t\t }\n\t\t }\n\t\n\t\t type.__apiCheckData = { strict: false, optional: false, type: 'shape' };\n\t\t var shapeChecker = setupChecker(function shapeCheckerDefinition(val, name, location) {\n\t\t /* eslint complexity:[2, 6] */\n\t\t var isObject = !nonObject && checkers.object(val, name, location);\n\t\t if (isError(isObject)) {\n\t\t return isObject;\n\t\t }\n\t\t var shapePropError = undefined;\n\t\t location = location ? location + (name ? '/' : '') : '';\n\t\t name = name || '';\n\t\t each(shape, function (checker, prop) {\n\t\t if (val.hasOwnProperty(prop) || !checker.isOptional) {\n\t\t shapePropError = checker(val[prop], prop, '' + location + name, val);\n\t\t return !isError(shapePropError);\n\t\t }\n\t\t });\n\t\t if (isError(shapePropError)) {\n\t\t return shapePropError;\n\t\t }\n\t\t }, { type: type, shortType: 'shape' }, disabled);\n\t\n\t\t function strictType() {\n\t\t return type.apply(undefined, arguments);\n\t\t }\n\t\n\t\t strictType.__apiCheckData = copy(shapeChecker.type.__apiCheckData);\n\t\t strictType.__apiCheckData.strict = true;\n\t\t shapeChecker.strict = setupChecker(function strictShapeCheckerDefinition(val, name, location) {\n\t\t var shapeError = shapeChecker(val, name, location);\n\t\t if (isError(shapeError)) {\n\t\t return shapeError;\n\t\t }\n\t\t var allowedProperties = Object.keys(shape);\n\t\t var extraProps = Object.keys(val).filter(function (prop) {\n\t\t return allowedProperties.indexOf(prop) === -1;\n\t\t });\n\t\t if (extraProps.length) {\n\t\t return new Error(nAtL(name, location) + ' cannot have extra properties: ' + t(extraProps.join('`, `')) + '.' + ('It is limited to ' + t(allowedProperties.join('`, `'))));\n\t\t }\n\t\t }, { type: strictType, shortType: 'strict shape' }, disabled);\n\t\n\t\t return shapeChecker;\n\t\t }\n\t\n\t\t shapeCheckGetter.ifNot = function ifNot(otherProps, propChecker) {\n\t\t if (!Array.isArray(otherProps)) {\n\t\t otherProps = [otherProps];\n\t\t }\n\t\t var description = undefined;\n\t\t if (otherProps.length === 1) {\n\t\t description = 'specified only if ' + otherProps[0] + ' is not specified';\n\t\t } else {\n\t\t description = 'specified only if none of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t\t }\n\t\t var shortType = 'ifNot[' + otherProps.join(', ') + ']';\n\t\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t\t return setupChecker(function ifNotChecker(prop, propName, location, obj) {\n\t\t var propExists = obj && obj.hasOwnProperty(propName);\n\t\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t\t return obj && obj.hasOwnProperty(otherProp);\n\t\t });\n\t\t if (propExists === otherPropsExist) {\n\t\t return getError(propName, location, type);\n\t\t } else if (propExists) {\n\t\t return propChecker(prop, propName, location, obj);\n\t\t }\n\t\t }, { notRequired: true, type: type, shortType: shortType }, disabled);\n\t\t };\n\t\n\t\t shapeCheckGetter.onlyIf = function onlyIf(otherProps, propChecker) {\n\t\t otherProps = arrayify(otherProps);\n\t\t var description = undefined;\n\t\t if (otherProps.length === 1) {\n\t\t description = 'specified only if ' + otherProps[0] + ' is also specified';\n\t\t } else {\n\t\t description = 'specified only if all of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t\t }\n\t\t var shortType = 'onlyIf[' + otherProps.join(', ') + ']';\n\t\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t\t return setupChecker(function onlyIfCheckerDefinition(prop, propName, location, obj) {\n\t\t var othersPresent = otherProps.every(function (property) {\n\t\t return obj.hasOwnProperty(property);\n\t\t });\n\t\t if (!othersPresent) {\n\t\t return getError(propName, location, type);\n\t\t } else {\n\t\t return propChecker(prop, propName, location, obj);\n\t\t }\n\t\t }, { type: type, shortType: shortType }, disabled);\n\t\t };\n\t\n\t\t shapeCheckGetter.requiredIfNot = function shapeRequiredIfNot(otherProps, propChecker) {\n\t\t if (!Array.isArray(otherProps)) {\n\t\t otherProps = [otherProps];\n\t\t }\n\t\t return getRequiredIfNotChecker(false, otherProps, propChecker);\n\t\t };\n\t\n\t\t shapeCheckGetter.requiredIfNot.all = function shapeRequiredIfNotAll(otherProps, propChecker) {\n\t\t if (!Array.isArray(otherProps)) {\n\t\t throw new Error('requiredIfNot.all must be passed an array');\n\t\t }\n\t\t return getRequiredIfNotChecker(true, otherProps, propChecker);\n\t\t };\n\t\n\t\t function getRequiredIfNotChecker(all, otherProps, propChecker) {\n\t\t var props = t(otherProps.join(', '));\n\t\t var ifProps = 'if ' + (all ? 'all of' : 'at least one of');\n\t\t var description = 'specified ' + ifProps + ' these are not specified: ' + props + ' (otherwise it\\'s optional)';\n\t\t var shortType = 'requiredIfNot' + (all ? '.all' : '') + '[' + otherProps.join(', ') + '}]';\n\t\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t\t return setupChecker(function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t\t var propExists = obj && obj.hasOwnProperty(propName);\n\t\t var iteration = all ? 'every' : 'some';\n\t\t var otherPropsExist = otherProps[iteration](function (otherProp) {\n\t\t return obj && obj.hasOwnProperty(otherProp);\n\t\t });\n\t\t if (!otherPropsExist && !propExists) {\n\t\t return getError(propName, location, type);\n\t\t } else if (propExists) {\n\t\t return propChecker(prop, propName, location, obj);\n\t\t }\n\t\t }, { type: type, notRequired: true }, disabled);\n\t\t }\n\t\n\t\t return shapeCheckGetter;\n\t\n\t\t function getTypeForShapeChild(propChecker, description, shortType) {\n\t\t function type(options) {\n\t\t if (options && options.short) {\n\t\t return shortType;\n\t\t }\n\t\t return getCheckerDisplay(propChecker);\n\t\t }\n\t\t type.__apiCheckData = { optional: false, type: 'ifNot', description: description };\n\t\t return type;\n\t\t }\n\t\t }\n\t\n\t\t function argumentsCheckerGetter() {\n\t\t var type = 'function arguments';\n\t\t return setupChecker(function argsCheckerDefinition(val, name, location) {\n\t\t if (Array.isArray(val) || isError(checkers.object(val)) || isError(checkers.number(val.length))) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function anyCheckGetter() {\n\t\t return setupChecker(function anyCheckerDefinition() {\n\t\t // don't do anything\n\t\t }, { type: 'any' }, disabled);\n\t\t }\n\t\n\t\t function nullCheckGetter() {\n\t\t var type = 'null';\n\t\t return setupChecker(function nullChecker(val, name, location) {\n\t\t if (val !== null) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function rangeCheckGetter(min, max) {\n\t\t var type = 'Range (' + min + ' - ' + max + ')';\n\t\t return setupChecker(function rangeChecker(val, name, location) {\n\t\t if (typeof val !== 'number' || val < min || val > max) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function lessThanCheckGetter(min) {\n\t\t var type = 'lessThan[' + min + ']';\n\t\t return setupChecker(function lessThanChecker(val, name, location) {\n\t\t if (typeof val !== 'number' || val > min) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function greaterThanCheckGetter(max) {\n\t\t var type = 'greaterThan[' + max + ']';\n\t\t return setupChecker(function greaterThanChecker(val, name, location) {\n\t\t if (typeof val !== 'number' || val < max) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\n\t\t function emptyObjectCheckGetter() {\n\t\t var type = 'empty object';\n\t\t return setupChecker(function emptyObjectChecker(val, name, location) {\n\t\t if (typeOf(val) !== 'object' || val === null || Object.keys(val).length) {\n\t\t return getError(name, location, type);\n\t\t }\n\t\t }, { type: type }, disabled);\n\t\t }\n\t\t}\n\t\n\t/***/ }\n\t/******/ ])\n\t});\n\t;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// angular-formly version 6.8.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\t\n\t(function webpackUniversalModuleDefinition(root, factory) {\n\t\tif(true)\n\t\t\tmodule.exports = factory(__webpack_require__(2), __webpack_require__(4));\n\t\telse if(typeof define === 'function' && define.amd)\n\t\t\tdefine([\"api-check\", \"angular\"], factory);\n\t\telse if(typeof exports === 'object')\n\t\t\texports[\"ngFormly\"] = factory(require(\"api-check\"), require(\"angular\"));\n\t\telse\n\t\t\troot[\"ngFormly\"] = factory(root[\"apiCheck\"], root[\"angular\"]);\n\t})(this, function(__WEBPACK_EXTERNAL_MODULE_16__, __WEBPACK_EXTERNAL_MODULE_17__) {\n\treturn /******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t\n\t\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar index = _interopRequire(__webpack_require__(1));\n\t\n\t\tmodule.exports = index;\n\t\n\t/***/ },\n\t/* 1 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tvar formlyApiCheck = _interopRequire(__webpack_require__(2));\n\t\n\t\tvar formlyErrorAndWarningsUrlPrefix = _interopRequire(__webpack_require__(3));\n\t\n\t\tvar formlyUsability = _interopRequire(__webpack_require__(4));\n\t\n\t\tvar formlyConfig = _interopRequire(__webpack_require__(5));\n\t\n\t\tvar formlyValidationMessages = _interopRequire(__webpack_require__(6));\n\t\n\t\tvar formlyUtil = _interopRequire(__webpack_require__(7));\n\t\n\t\tvar formlyWarn = _interopRequire(__webpack_require__(8));\n\t\n\t\tvar formlyCustomValidation = _interopRequire(__webpack_require__(9));\n\t\n\t\tvar formlyField = _interopRequire(__webpack_require__(10));\n\t\n\t\tvar formlyFocus = _interopRequire(__webpack_require__(11));\n\t\n\t\tvar formlyForm = _interopRequire(__webpack_require__(12));\n\t\n\t\tvar formlyNgModelAttrsManipulator = _interopRequire(__webpack_require__(13));\n\t\n\t\tvar formlyCustomTags = _interopRequire(__webpack_require__(14));\n\t\n\t\tvar ngModuleName = \"formly\";\n\t\n\t\tmodule.exports = ngModuleName;\n\t\n\t\tvar ngModule = angular.module(ngModuleName, []);\n\t\n\t\tngModule.constant(\"formlyApiCheck\", formlyApiCheck);\n\t\tngModule.constant(\"formlyErrorAndWarningsUrlPrefix\", formlyErrorAndWarningsUrlPrefix);\n\t\tngModule.constant(\"formlyVersion\", (\"6.8.2\")); // <-- webpack variable\n\t\n\t\tngModule.provider(\"formlyUsability\", formlyUsability);\n\t\tngModule.provider(\"formlyConfig\", formlyConfig);\n\t\n\t\tngModule.factory(\"formlyValidationMessages\", formlyValidationMessages);\n\t\tngModule.factory(\"formlyUtil\", formlyUtil);\n\t\tngModule.factory(\"formlyWarn\", formlyWarn);\n\t\n\t\tngModule.directive(\"formlyCustomValidation\", formlyCustomValidation);\n\t\tngModule.directive(\"formlyField\", formlyField);\n\t\tngModule.directive(\"formlyFocus\", formlyFocus);\n\t\tngModule.directive(\"formlyForm\", formlyForm);\n\t\n\t\tngModule.run(formlyNgModelAttrsManipulator);\n\t\tngModule.run(formlyCustomTags);\n\t\n\t/***/ },\n\t/* 2 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar apiCheckFactory = _interopRequire(__webpack_require__(16));\n\t\n\t\tvar apiCheck = apiCheckFactory({\n\t\t output: {\n\t\t prefix: \"angular-formly:\",\n\t\t docsBaseUrl: __webpack_require__(3)\n\t\t }\n\t\t});\n\t\n\t\tfunction shapeRequiredIfNot(otherProps, propChecker) {\n\t\t if (!angular.isArray(otherProps)) {\n\t\t otherProps = [otherProps];\n\t\t }\n\t\t var type = \"specified if these are not specified: `\" + otherProps.join(\", \") + \"` (otherwise it's optional)\";\n\t\t function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t\t var propExists = obj && obj.hasOwnProperty(propName);\n\t\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t\t return obj && obj.hasOwnProperty(otherProp);\n\t\t });\n\t\t if (!otherPropsExist && !propExists) {\n\t\t return apiCheck.utils.getError(propName, location, type);\n\t\t } else if (propExists) {\n\t\t return propChecker(prop, propName, location, obj);\n\t\t }\n\t\t }\n\t\t shapeRequiredIfNotDefinition.type = type;\n\t\t return apiCheck.utils.checkerHelpers.setupChecker(shapeRequiredIfNotDefinition);\n\t\t}\n\t\n\t\tvar formlyExpression = apiCheck.oneOfType([apiCheck.string, apiCheck.func]);\n\t\tvar specifyWrapperType = apiCheck.oneOfType([apiCheck.oneOf([null]), apiCheck.typeOrArrayOf(apiCheck.string)]);\n\t\n\t\tvar apiCheckProperty = apiCheck.objectOf(apiCheck.func);\n\t\n\t\tvar apiCheckInstanceProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.func.withProperties({\n\t\t warn: apiCheck.func,\n\t\t \"throw\": apiCheck.func,\n\t\t shape: apiCheck.func\n\t\t}));\n\t\n\t\tvar apiCheckFunctionProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.oneOf([\"throw\", \"warn\"]));\n\t\n\t\tvar formlyWrapperType = apiCheck.shape({\n\t\t name: shapeRequiredIfNot(\"types\", apiCheck.string).optional,\n\t\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.string).optional,\n\t\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.string).optional,\n\t\t types: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t\t overwriteOk: apiCheck.bool.optional,\n\t\t validateOptions: apiCheck.func.optional,\n\t\t apiCheck: apiCheckProperty.optional,\n\t\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t\t apiCheckOptions: apiCheck.object.optional\n\t\t}).strict;\n\t\n\t\tvar expressionProperties = apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t\t expression: formlyExpression,\n\t\t message: formlyExpression.optional\n\t\t}).strict]));\n\t\n\t\tvar modelChecker = apiCheck.oneOfType([apiCheck.oneOf([\"formState\"]), apiCheck.object]);\n\t\n\t\tvar fieldOptionsApiShape = {\n\t\t $$hashKey: apiCheck.any.optional,\n\t\t type: apiCheck.shape.ifNot([\"template\", \"templateUrl\"], apiCheck.string).optional,\n\t\t template: apiCheck.shape.ifNot([\"type\", \"templateUrl\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t\t templateUrl: apiCheck.shape.ifNot([\"type\", \"template\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t\t key: apiCheck.oneOfType([apiCheck.string, apiCheck.number]).optional,\n\t\t model: modelChecker.optional,\n\t\t className: apiCheck.string.optional,\n\t\t id: apiCheck.string.optional,\n\t\t expressionProperties: expressionProperties.optional,\n\t\t data: apiCheck.object.optional,\n\t\t templateOptions: apiCheck.object.optional,\n\t\t wrapper: specifyWrapperType.optional,\n\t\t modelOptions: apiCheck.shape({\n\t\t updateOn: apiCheck.string.optional,\n\t\t debounce: apiCheck.oneOfType([apiCheck.objectOf(apiCheck.number), apiCheck.number]).optional,\n\t\t allowInvalid: apiCheck.bool.optional,\n\t\t getterSetter: apiCheck.bool.optional,\n\t\t timezone: apiCheck.string.optional\n\t\t }).optional,\n\t\t watcher: apiCheck.typeOrArrayOf(apiCheck.shape({\n\t\t expression: formlyExpression.optional,\n\t\t listener: formlyExpression\n\t\t })).optional,\n\t\t validators: apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t\t expression: formlyExpression,\n\t\t message: formlyExpression.optional\n\t\t }).strict])).optional,\n\t\t noFormControl: apiCheck.bool.optional,\n\t\t hide: apiCheck.bool.optional,\n\t\t hideExpression: formlyExpression.optional,\n\t\t ngModelAttrs: apiCheck.objectOf(apiCheck.shape({\n\t\t expression: apiCheck.shape.ifNot([\"value\", \"attribute\", \"bound\"], apiCheck.any).optional,\n\t\t value: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t\t attribute: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t\t bound: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional\n\t\t }).strict).optional,\n\t\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional,\n\t\t optionsTypes: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t\t link: apiCheck.func.optional,\n\t\t controller: apiCheck.oneOfType([apiCheck.string, apiCheck.func, apiCheck.array]).optional,\n\t\t validation: apiCheck.shape({\n\t\t show: apiCheck.oneOfType([apiCheck.bool, apiCheck.oneOf([null])]).optional,\n\t\t messages: apiCheck.objectOf(formlyExpression).optional,\n\t\t errorExistsAndShouldBeVisible: apiCheck.bool.optional\n\t\t }).optional,\n\t\t formControl: apiCheck.object.optional,\n\t\t value: apiCheck.func.optional,\n\t\t runExpressions: apiCheck.func.optional,\n\t\t resetModel: apiCheck.func.optional,\n\t\t updateInitialValue: apiCheck.func.optional,\n\t\t initialValue: apiCheck.any.optional,\n\t\t defaultValue: apiCheck.any.optional\n\t\t};\n\t\n\t\tvar formlyFieldOptions = apiCheck.shape(fieldOptionsApiShape).strict;\n\t\n\t\tvar formOptionsApi = apiCheck.shape({\n\t\t formState: apiCheck.object.optional,\n\t\t resetModel: apiCheck.func.optional,\n\t\t updateInitialValue: apiCheck.func.optional,\n\t\t removeChromeAutoComplete: apiCheck.bool.optional\n\t\t}).strict;\n\t\n\t\tvar fieldGroup = apiCheck.shape({\n\t\t $$hashKey: apiCheck.any.optional,\n\t\t // danger. Nested field groups wont get api-checked...\n\t\t fieldGroup: apiCheck.arrayOf(apiCheck.oneOfType([formlyFieldOptions, apiCheck.object])),\n\t\t className: apiCheck.string.optional,\n\t\t options: formOptionsApi.optional,\n\t\t hide: apiCheck.bool.optional,\n\t\t hideExpression: formlyExpression.optional,\n\t\t model: modelChecker.optional,\n\t\t form: apiCheck.object.optional,\n\t\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional\n\t\t}).strict;\n\t\n\t\tvar typeOptionsDefaultOptions = angular.copy(fieldOptionsApiShape);\n\t\ttypeOptionsDefaultOptions.key = apiCheck.string.optional;\n\t\n\t\tvar formlyTypeOptions = apiCheck.shape({\n\t\t name: apiCheck.string,\n\t\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t\t controller: apiCheck.oneOfType([apiCheck.func, apiCheck.string, apiCheck.array]).optional,\n\t\t link: apiCheck.func.optional,\n\t\t defaultOptions: apiCheck.oneOfType([apiCheck.func, apiCheck.shape(typeOptionsDefaultOptions)]).optional,\n\t\t \"extends\": apiCheck.string.optional,\n\t\t wrapper: specifyWrapperType.optional,\n\t\t data: apiCheck.object.optional,\n\t\t validateOptions: apiCheck.func.optional,\n\t\t apiCheck: apiCheckProperty.optional,\n\t\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t\t apiCheckOptions: apiCheck.object.optional,\n\t\t overwriteOk: apiCheck.bool.optional\n\t\t}).strict;\n\t\tangular.extend(apiCheck, {\n\t\t formlyTypeOptions: formlyTypeOptions, formlyFieldOptions: formlyFieldOptions, formlyExpression: formlyExpression, formlyWrapperType: formlyWrapperType, fieldGroup: fieldGroup, formOptionsApi: formOptionsApi\n\t\t});\n\t\n\t\tmodule.exports = apiCheck;\n\t\n\t/***/ },\n\t/* 3 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tmodule.exports = \"https://github.com/formly-js/angular-formly/blob/\" + (\"6.8.2\") + \"/other/ERRORS_AND_WARNINGS.md#\";\n\t\n\t/***/ },\n\t/* 4 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tmodule.exports = formlyUsability;\n\t\n\t\t// @ngInject\n\t\tfunction formlyUsability(formlyApiCheck, formlyErrorAndWarningsUrlPrefix) {\n\t\t var _this = this;\n\t\n\t\t angular.extend(this, {\n\t\t getFormlyError: getFormlyError,\n\t\t getFieldError: getFieldError,\n\t\t checkWrapper: checkWrapper,\n\t\t checkWrapperTemplate: checkWrapperTemplate,\n\t\t $get: function () {\n\t\t return _this;\n\t\t }\n\t\t });\n\t\n\t\t function getFieldError(errorInfoSlug, message, field) {\n\t\t if (arguments.length < 3) {\n\t\t field = message;\n\t\t message = errorInfoSlug;\n\t\t errorInfoSlug = null;\n\t\t }\n\t\t return new Error(getErrorMessage(errorInfoSlug, message) + (\" Field definition: \" + angular.toJson(field)));\n\t\t }\n\t\n\t\t function getFormlyError(errorInfoSlug, message) {\n\t\t if (!message) {\n\t\t message = errorInfoSlug;\n\t\t errorInfoSlug = null;\n\t\t }\n\t\t return new Error(getErrorMessage(errorInfoSlug, message));\n\t\t }\n\t\n\t\t function getErrorMessage(errorInfoSlug, message) {\n\t\t var url = \"\";\n\t\t if (errorInfoSlug !== null) {\n\t\t url = \"\" + formlyErrorAndWarningsUrlPrefix + \"\" + errorInfoSlug;\n\t\t }\n\t\t return \"Formly Error: \" + message + \". \" + url;\n\t\t }\n\t\n\t\t function checkWrapper(wrapper) {\n\t\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyWrapperType, wrapper, {\n\t\t prefix: \"formlyConfig.setWrapper\",\n\t\t urlSuffix: \"setwrapper-validation-failed\"\n\t\t });\n\t\t }\n\t\n\t\t function checkWrapperTemplate(template, additionalInfo) {\n\t\t var formlyTransclude = \"<formly-transclude></formly-transclude>\";\n\t\t if (template.indexOf(formlyTransclude) === -1) {\n\t\t throw getFormlyError(\"Template wrapper templates must use \\\"\" + formlyTransclude + \"\\\" somewhere in them. \" + (\"This one does not have \\\"<formly-transclude></formly-transclude>\\\" in it: \" + template) + \"\\n\" + (\"Additional information: \" + JSON.stringify(additionalInfo)));\n\t\t }\n\t\t }\n\t\t}\n\t\tformlyUsability.$inject = [\"formlyApiCheck\", \"formlyErrorAndWarningsUrlPrefix\"];\n\t\n\t/***/ },\n\t/* 5 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tvar utils = _interopRequire(__webpack_require__(18));\n\t\n\t\tmodule.exports = formlyConfig;\n\t\n\t\t// @ngInject\n\t\tfunction formlyConfig(formlyUsabilityProvider, formlyApiCheck) {\n\t\t var _this2 = this;\n\t\n\t\t var typeMap = {};\n\t\t var templateWrappersMap = {};\n\t\t var defaultWrapperName = \"default\";\n\t\t var _this = this;\n\t\t var getError = formlyUsabilityProvider.getFormlyError;\n\t\n\t\t angular.extend(this, {\n\t\t setType: setType,\n\t\t getType: getType,\n\t\t setWrapper: setWrapper,\n\t\t getWrapper: getWrapper,\n\t\t getWrapperByType: getWrapperByType,\n\t\t removeWrapperByName: removeWrapperByName,\n\t\t removeWrappersForType: removeWrappersForType,\n\t\t disableWarnings: false,\n\t\t extras: {\n\t\t disableNgModelAttrsManipulator: false,\n\t\t ngModelAttrsManipulatorPreferUnbound: false,\n\t\t removeChromeAutoComplete: false,\n\t\t defaultHideDirective: \"ng-if\",\n\t\t getFieldId: null\n\t\t },\n\t\t templateManipulators: {\n\t\t preWrapper: [],\n\t\t postWrapper: []\n\t\t },\n\t\t $get: function () {\n\t\t return _this2;\n\t\t }\n\t\t });\n\t\n\t\t function setType(options) {\n\t\t if (angular.isArray(options)) {\n\t\t angular.forEach(options, setType);\n\t\t } else if (angular.isObject(options)) {\n\t\t checkType(options);\n\t\t if (options[\"extends\"]) {\n\t\t extendTypeOptions(options);\n\t\t }\n\t\t typeMap[options.name] = options;\n\t\t } else {\n\t\t throw getError(\"You must provide an object or array for setType. You provided: \" + JSON.stringify(arguments));\n\t\t }\n\t\t }\n\t\n\t\t function checkType(options) {\n\t\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyTypeOptions, options, {\n\t\t prefix: \"formlyConfig.setType\",\n\t\t url: \"settype-validation-failed\"\n\t\t });\n\t\t if (!options.overwriteOk) {\n\t\t checkOverwrite(options.name, typeMap, options, \"types\");\n\t\t } else {\n\t\t options.overwriteOk = undefined;\n\t\t }\n\t\t }\n\t\n\t\t function extendTypeOptions(options) {\n\t\t var extendsType = getType(options[\"extends\"], true, options);\n\t\t extendTypeControllerFunction(options, extendsType);\n\t\t extendTypeLinkFunction(options, extendsType);\n\t\t extendTypeValidateOptionsFunction(options, extendsType);\n\t\t extendTypeDefaultOptions(options, extendsType);\n\t\t utils.reverseDeepMerge(options, extendsType);\n\t\t extendTemplate(options, extendsType);\n\t\t }\n\t\n\t\t function extendTemplate(options, extendsType) {\n\t\t if (options.template && extendsType.templateUrl) {\n\t\t delete options.templateUrl;\n\t\t } else if (options.templateUrl && extendsType.template) {\n\t\t delete options.template;\n\t\t }\n\t\t }\n\t\n\t\t function extendTypeControllerFunction(options, extendsType) {\n\t\t var extendsCtrl = extendsType.controller;\n\t\t if (!angular.isDefined(extendsCtrl)) {\n\t\t return;\n\t\t }\n\t\t var optionsCtrl = options.controller;\n\t\t if (angular.isDefined(optionsCtrl)) {\n\t\t options.controller = function ($scope, $controller) {\n\t\t $controller(extendsCtrl, { $scope: $scope });\n\t\t $controller(optionsCtrl, { $scope: $scope });\n\t\t };\n\t\t options.controller.$inject = [\"$scope\", \"$controller\"];\n\t\t } else {\n\t\t options.controller = extendsCtrl;\n\t\t }\n\t\t }\n\t\n\t\t function extendTypeLinkFunction(options, extendsType) {\n\t\t var extendsFn = extendsType.link;\n\t\t if (!angular.isDefined(extendsFn)) {\n\t\t return;\n\t\t }\n\t\t var optionsFn = options.link;\n\t\t if (angular.isDefined(optionsFn)) {\n\t\t options.link = function () {\n\t\t extendsFn.apply(undefined, arguments);\n\t\t optionsFn.apply(undefined, arguments);\n\t\t };\n\t\t } else {\n\t\t options.link = extendsFn;\n\t\t }\n\t\t }\n\t\n\t\t function extendTypeValidateOptionsFunction(options, extendsType) {\n\t\t var extendsFn = extendsType.validateOptions;\n\t\t if (!angular.isDefined(extendsFn)) {\n\t\t return;\n\t\t }\n\t\t var optionsFn = options.validateOptions;\n\t\t var originalDefaultOptions = options.defaultOptions;\n\t\t if (angular.isDefined(optionsFn)) {\n\t\t options.validateOptions = function (options) {\n\t\t optionsFn(options);\n\t\t var mergedOptions = angular.copy(options);\n\t\t var defaultOptions = originalDefaultOptions;\n\t\t if (defaultOptions) {\n\t\t if (angular.isFunction(defaultOptions)) {\n\t\t defaultOptions = defaultOptions(mergedOptions);\n\t\t }\n\t\t utils.reverseDeepMerge(mergedOptions, defaultOptions);\n\t\t }\n\t\t extendsFn(mergedOptions);\n\t\t };\n\t\t } else {\n\t\t options.validateOptions = extendsFn;\n\t\t }\n\t\t }\n\t\n\t\t function extendTypeDefaultOptions(options, extendsType) {\n\t\t var extendsDO = extendsType.defaultOptions;\n\t\t if (!angular.isDefined(extendsDO)) {\n\t\t return;\n\t\t }\n\t\t var optionsDO = options.defaultOptions;\n\t\t var optionsDOIsFn = angular.isFunction(optionsDO);\n\t\t var extendsDOIsFn = angular.isFunction(extendsDO);\n\t\t if (extendsDOIsFn) {\n\t\t options.defaultOptions = function defaultOptions(options) {\n\t\t var extendsDefaultOptions = extendsDO(options);\n\t\t var mergedDefaultOptions = {};\n\t\t utils.reverseDeepMerge(mergedDefaultOptions, options, extendsDefaultOptions);\n\t\t var extenderOptionsDefaultOptions = optionsDO;\n\t\t if (optionsDOIsFn) {\n\t\t extenderOptionsDefaultOptions = extenderOptionsDefaultOptions(mergedDefaultOptions);\n\t\t }\n\t\t utils.reverseDeepMerge(extendsDefaultOptions, extenderOptionsDefaultOptions);\n\t\t return extendsDefaultOptions;\n\t\t };\n\t\t } else if (optionsDOIsFn) {\n\t\t options.defaultOptions = function defaultOptions(options) {\n\t\t var newDefaultOptions = {};\n\t\t utils.reverseDeepMerge(newDefaultOptions, options, extendsDO);\n\t\t return optionsDO(newDefaultOptions);\n\t\t };\n\t\t }\n\t\t }\n\t\n\t\t function getType(name, throwError, errorContext) {\n\t\t if (!name) {\n\t\t return undefined;\n\t\t }\n\t\t var type = typeMap[name];\n\t\t if (!type && throwError === true) {\n\t\t throw getError(\"There is no type by the name of \\\"\" + name + \"\\\": \" + JSON.stringify(errorContext));\n\t\t } else {\n\t\t return type;\n\t\t }\n\t\t }\n\t\n\t\t function setWrapper(_x, _x2) {\n\t\t var _again = true;\n\t\n\t\t _function: while (_again) {\n\t\t _again = false;\n\t\t var options = _x,\n\t\t name = _x2;\n\t\n\t\t if (angular.isArray(options)) {\n\t\t return options.map(function (wrapperOptions) {\n\t\t return setWrapper(wrapperOptions);\n\t\t });\n\t\t } else if (angular.isObject(options)) {\n\t\t options.types = getOptionsTypes(options);\n\t\t options.name = getOptionsName(options, name);\n\t\t checkWrapperAPI(options);\n\t\t templateWrappersMap[options.name] = options;\n\t\t return options;\n\t\t } else if (angular.isString(options)) {\n\t\t _x = {\n\t\t template: options,\n\t\t name: name\n\t\t };\n\t\t _again = true;\n\t\t continue _function;\n\t\t }\n\t\t }\n\t\t }\n\t\n\t\t function getOptionsTypes(options) {\n\t\t if (angular.isString(options.types)) {\n\t\t return [options.types];\n\t\t }\n\t\t if (!angular.isDefined(options.types)) {\n\t\t return [];\n\t\t } else {\n\t\t return options.types;\n\t\t }\n\t\t }\n\t\n\t\t function getOptionsName(options, name) {\n\t\t return options.name || name || options.types.join(\" \") || defaultWrapperName;\n\t\t }\n\t\n\t\t function checkWrapperAPI(options) {\n\t\t formlyUsabilityProvider.checkWrapper(options);\n\t\t if (options.template) {\n\t\t formlyUsabilityProvider.checkWrapperTemplate(options.template, options);\n\t\t }\n\t\t if (!options.overwriteOk) {\n\t\t checkOverwrite(options.name, templateWrappersMap, options, \"templateWrappers\");\n\t\t } else {\n\t\t delete options.overwriteOk;\n\t\t }\n\t\t checkWrapperTypes(options);\n\t\t }\n\t\n\t\t function checkWrapperTypes(options) {\n\t\t var shouldThrow = !angular.isArray(options.types) || !options.types.every(angular.isString);\n\t\t if (shouldThrow) {\n\t\t throw getError(\"Attempted to create a template wrapper with types that is not a string or an array of strings\");\n\t\t }\n\t\t }\n\t\n\t\t function checkOverwrite(property, object, newValue, objectName) {\n\t\t if (object.hasOwnProperty(property)) {\n\t\t warn([\"Attempting to overwrite \" + property + \" on \" + objectName + \" which is currently\", \"\" + JSON.stringify(object[property]) + \" with \" + JSON.stringify(newValue), \"To supress this warning, specify the property \\\"overwriteOk: true\\\"\"].join(\" \"));\n\t\t }\n\t\t }\n\t\n\t\t function getWrapper(name) {\n\t\t return templateWrappersMap[name || defaultWrapperName];\n\t\t }\n\t\n\t\t function getWrapperByType(type) {\n\t\t /* jshint maxcomplexity:6 */\n\t\t var wrappers = [];\n\t\t for (var name in templateWrappersMap) {\n\t\t if (templateWrappersMap.hasOwnProperty(name)) {\n\t\t if (templateWrappersMap[name].types && templateWrappersMap[name].types.indexOf(type) !== -1) {\n\t\t wrappers.push(templateWrappersMap[name]);\n\t\t }\n\t\t }\n\t\t }\n\t\t return wrappers;\n\t\t }\n\t\n\t\t function removeWrapperByName(name) {\n\t\t var wrapper = templateWrappersMap[name];\n\t\t delete templateWrappersMap[name];\n\t\t return wrapper;\n\t\t }\n\t\n\t\t function removeWrappersForType(type) {\n\t\t var wrappers = getWrapperByType(type);\n\t\t if (!wrappers) {\n\t\t return;\n\t\t }\n\t\t if (!angular.isArray(wrappers)) {\n\t\t return removeWrapperByName(wrappers.name);\n\t\t } else {\n\t\t wrappers.forEach(function (wrapper) {\n\t\t return removeWrapperByName(wrapper.name);\n\t\t });\n\t\t return wrappers;\n\t\t }\n\t\t }\n\t\n\t\t function warn() {\n\t\t if (!_this.disableWarnings) {\n\t\t console.warn.apply(console, arguments);\n\t\t }\n\t\t }\n\t\t}\n\t\tformlyConfig.$inject = [\"formlyUsabilityProvider\", \"formlyApiCheck\"];\n\t\n\t/***/ },\n\t/* 6 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tmodule.exports = formlyValidationMessages;\n\t\n\t\t// @ngInject\n\t\tfunction formlyValidationMessages() {\n\t\n\t\t var validationMessages = {\n\t\t addTemplateOptionValueMessage: addTemplateOptionValueMessage,\n\t\t addStringMessage: addStringMessage,\n\t\t messages: {}\n\t\t };\n\t\n\t\t return validationMessages;\n\t\n\t\t function addTemplateOptionValueMessage(name, prop, prefix, suffix, alternate) {\n\t\t validationMessages.messages[name] = templateOptionValue(prop, prefix, suffix, alternate);\n\t\t }\n\t\n\t\t function addStringMessage(name, string) {\n\t\t validationMessages.messages[name] = function () {\n\t\t return string;\n\t\t };\n\t\t }\n\t\n\t\t function templateOptionValue(prop, prefix, suffix, alternate) {\n\t\t return function getValidationMessage(viewValue, modelValue, scope) {\n\t\t if (scope.options.templateOptions[prop]) {\n\t\t return \"\" + prefix + \" \" + scope.options.templateOptions[prop] + \" \" + suffix;\n\t\t } else {\n\t\t return alternate;\n\t\t }\n\t\t };\n\t\t }\n\t\t}\n\t\n\t/***/ },\n\t/* 7 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar utils = _interopRequire(__webpack_require__(18));\n\t\n\t\tmodule.exports = formlyUtil;\n\t\n\t\t// @ngInject\n\t\tfunction formlyUtil() {\n\t\t return utils;\n\t\t}\n\t\n\t/***/ },\n\t/* 8 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _toConsumableArray = function (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\t\tmodule.exports = formlyWarn;\n\t\n\t\t// @ngInject\n\t\tfunction formlyWarn(formlyConfig, formlyErrorAndWarningsUrlPrefix, $log) {\n\t\t return function warn() {\n\t\t if (!formlyConfig.disableWarnings) {\n\t\t var args = Array.prototype.slice.call(arguments);\n\t\t var warnInfoSlug = args.shift();\n\t\t args.unshift(\"Formly Warning:\");\n\t\t args.push(\"\" + formlyErrorAndWarningsUrlPrefix + \"\" + warnInfoSlug);\n\t\t $log.warn.apply($log, _toConsumableArray(args));\n\t\t }\n\t\t };\n\t\t}\n\t\tformlyWarn.$inject = [\"formlyConfig\", \"formlyErrorAndWarningsUrlPrefix\", \"$log\"];\n\t\n\t/***/ },\n\t/* 9 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tmodule.exports = formlyCustomValidation;\n\t\n\t\t// @ngInject\n\t\tfunction formlyCustomValidation(formlyUtil, $q) {\n\t\t return {\n\t\t restrict: \"A\",\n\t\t require: \"ngModel\",\n\t\t link: function formlyCustomValidationLink(scope, el, attrs, ctrl) {\n\t\t var opts = scope.options;\n\t\t if (opts.validators) {\n\t\t checkValidators(opts.validators);\n\t\t }\n\t\t opts.validation.messages = opts.validation.messages || {};\n\t\t angular.forEach(opts.validation.messages, function (message, key) {\n\t\t opts.validation.messages[key] = function () {\n\t\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t\t };\n\t\t });\n\t\n\t\t var useNewValidatorsApi = ctrl.hasOwnProperty(\"$validators\") && !attrs.hasOwnProperty(\"useParsers\");\n\t\t angular.forEach(opts.validators, function addValidatorToPipeline(validator, name) {\n\t\t var message = validator.message;\n\t\t if (message) {\n\t\t opts.validation.messages[name] = function () {\n\t\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t\t };\n\t\t }\n\t\t validator = angular.isObject(validator) ? validator.expression : validator;\n\t\t var isPossiblyAsync = !angular.isString(validator);\n\t\t if (useNewValidatorsApi) {\n\t\t setupWithValidators();\n\t\t } else {\n\t\t setupWithParsers();\n\t\t }\n\t\n\t\t function setupWithValidators() {\n\t\t var validatorCollection = isPossiblyAsync ? \"$asyncValidators\" : \"$validators\";\n\t\t ctrl[validatorCollection][name] = function evalValidity(modelValue, viewValue) {\n\t\t var value = formlyUtil.formlyEval(scope, validator, modelValue, viewValue);\n\t\t if (isPossiblyAsync) {\n\t\t return isPromiseLike(value) ? value : value ? $q.when(value) : $q.reject(value);\n\t\t } else {\n\t\t return value;\n\t\t }\n\t\t };\n\t\t }\n\t\n\t\t function setupWithParsers() {\n\t\t var inFlightValidator = undefined;\n\t\t ctrl.$parsers.unshift(function evalValidityOfParser(viewValue) {\n\t\t var isValid = formlyUtil.formlyEval(scope, validator, ctrl.$modelValue, viewValue);\n\t\t if (isPromiseLike(isValid)) {\n\t\t ctrl.$pending = ctrl.$pending || {};\n\t\t ctrl.$pending[name] = true;\n\t\t inFlightValidator = isValid;\n\t\t isValid.then(function () {\n\t\t if (inFlightValidator === isValid) {\n\t\t ctrl.$setValidity(name, true);\n\t\t }\n\t\t })[\"catch\"](function () {\n\t\t if (inFlightValidator === isValid) {\n\t\t ctrl.$setValidity(name, false);\n\t\t }\n\t\t })[\"finally\"](function () {\n\t\t if (Object.keys(ctrl.$pending).length === 1) {\n\t\t delete ctrl.$pending;\n\t\t } else {\n\t\t delete ctrl.$pending[name];\n\t\t }\n\t\t });\n\t\t } else {\n\t\t ctrl.$setValidity(name, isValid);\n\t\t }\n\t\t return viewValue;\n\t\t });\n\t\t }\n\t\t });\n\t\t }\n\t\t };\n\t\n\t\t function isPromiseLike(obj) {\n\t\t return obj && angular.isFunction(obj.then);\n\t\t }\n\t\n\t\t function checkValidators(validators) {\n\t\t var allowedProperties = [\"expression\", \"message\"];\n\t\t var validatorsWithExtraProps = {};\n\t\t angular.forEach(validators, function (validator, name) {\n\t\t if (angular.isString(validator)) {\n\t\t return;\n\t\t }\n\t\t var extraProps = [];\n\t\t angular.forEach(validator, function (v, key) {\n\t\t if (allowedProperties.indexOf(key) === -1) {\n\t\t extraProps.push(key);\n\t\t }\n\t\t });\n\t\t if (extraProps.length) {\n\t\t validatorsWithExtraProps[name] = extraProps;\n\t\t }\n\t\t });\n\t\t if (Object.keys(validatorsWithExtraProps).length) {\n\t\t throw new Error([\"Validators are only allowed to be functions or objects that have \" + allowedProperties.join(\", \") + \".\", \"You provided some extra properties: \" + JSON.stringify(validatorsWithExtraProps)].join(\" \"));\n\t\t }\n\t\t }\n\t\t}\n\t\tformlyCustomValidation.$inject = [\"formlyUtil\", \"$q\"];\n\t\n\t/***/ },\n\t/* 10 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tmodule.exports = formlyField;\n\t\n\t\t/**\n\t\t * @ngdoc directive\n\t\t * @name formlyField\n\t\t * @restrict AE\n\t\t */\n\t\t// @ngInject\n\t\tfunction formlyField($http, $q, $compile, $templateCache, formlyConfig, formlyValidationMessages, formlyApiCheck, formlyUtil, formlyUsability, formlyWarn) {\n\t\t var arrayify = formlyUtil.arrayify;\n\t\n\t\t FormlyFieldController.$inject = [\"$scope\", \"$timeout\", \"$parse\", \"$controller\"];\n\t\t return {\n\t\t restrict: \"AE\",\n\t\t transclude: true,\n\t\t scope: {\n\t\t options: \"=\",\n\t\t model: \"=\",\n\t\t formId: \"@\", // TODO remove formId in a breaking release\n\t\t index: \"=?\",\n\t\t fields: \"=?\",\n\t\t formState: \"=?\",\n\t\t form: \"=?\" // TODO require form in a breaking release\n\t\t },\n\t\t controller: FormlyFieldController,\n\t\t link: fieldLink\n\t\t };\n\t\n\t\t // @ngInject\n\t\t function FormlyFieldController($scope, $timeout, $parse, $controller) {\n\t\t /* jshint maxstatements:31 */\n\t\t if ($scope.options.fieldGroup) {\n\t\t setupFieldGroup();\n\t\t return;\n\t\t }\n\t\n\t\t var fieldType = getFieldType($scope.options);\n\t\t simplifyLife($scope.options);\n\t\t mergeFieldOptionsWithTypeDefaults($scope.options, fieldType);\n\t\t extendOptionsWithDefaults($scope.options, $scope.index);\n\t\t checkApi($scope.options);\n\t\t // set field id to link labels and fields\n\t\n\t\t // initalization\n\t\t setFieldId();\n\t\t setDefaultValue();\n\t\t setInitialValue();\n\t\t runExpressions();\n\t\t addModelWatcher($scope, $scope.options);\n\t\t addValidationMessages($scope.options);\n\t\t invokeControllers($scope, $scope.options, fieldType);\n\t\n\t\t // function definitions\n\t\t function runExpressions() {\n\t\t // must run on next tick to make sure that the current value is correct.\n\t\t $timeout(function runExpressionsOnNextTick() {\n\t\t var field = $scope.options;\n\t\t var currentValue = valueGetterSetter();\n\t\t angular.forEach(field.expressionProperties, function runExpression(expression, prop) {\n\t\t var setter = $parse(prop).assign;\n\t\t var promise = $q.when(formlyUtil.formlyEval($scope, expression, currentValue));\n\t\t promise.then(function setFieldValue(value) {\n\t\t setter(field, value);\n\t\t });\n\t\t });\n\t\t });\n\t\t }\n\t\n\t\t function valueGetterSetter(newVal) {\n\t\t if (!$scope.model || !$scope.options.key) {\n\t\t return;\n\t\t }\n\t\t if (angular.isDefined(newVal)) {\n\t\t $scope.model[$scope.options.key] = newVal;\n\t\t }\n\t\t return $scope.model[$scope.options.key];\n\t\t }\n\t\n\t\t function simplifyLife(options) {\n\t\t // add a few empty objects (if they don't already exist) so you don't have to undefined check everywhere\n\t\t formlyUtil.reverseDeepMerge(options, {\n\t\t data: {},\n\t\t templateOptions: {},\n\t\t validation: {}\n\t\t });\n\t\t // create $scope.to so template authors can reference to instead of $scope.options.templateOptions\n\t\t $scope.to = $scope.options.templateOptions;\n\t\t }\n\t\n\t\t function setFieldId() {\n\t\t if (angular.isFunction(formlyConfig.extras.getFieldId)) {\n\t\t $scope.id = formlyConfig.extras.getFieldId($scope.options, $scope.model, $scope);\n\t\t } else {\n\t\t var formName = $scope.form && $scope.form.$name || $scope.formId;\n\t\t $scope.id = formlyUtil.getFieldId(formName, $scope.options, $scope.index);\n\t\t }\n\t\t $scope.options.id = $scope.id;\n\t\t }\n\t\n\t\t function setDefaultValue() {\n\t\t if (angular.isDefined($scope.options.defaultValue) && !angular.isDefined($scope.model[$scope.options.key])) {\n\t\t $scope.model[$scope.options.key] = $scope.options.defaultValue;\n\t\t }\n\t\t }\n\t\n\t\t function setInitialValue() {\n\t\t $scope.options.initialValue = $scope.model && $scope.model[$scope.options.key];\n\t\t }\n\t\n\t\t function mergeFieldOptionsWithTypeDefaults(options, type) {\n\t\t if (type) {\n\t\t mergeOptions(options, type.defaultOptions);\n\t\t }\n\t\t var properOrder = arrayify(options.optionsTypes).reverse(); // so the right things are overridden\n\t\t angular.forEach(properOrder, function (typeName) {\n\t\t mergeOptions(options, formlyConfig.getType(typeName, true, options).defaultOptions);\n\t\t });\n\t\t }\n\t\n\t\t function mergeOptions(options, extraOptions) {\n\t\t if (extraOptions) {\n\t\t if (angular.isFunction(extraOptions)) {\n\t\t extraOptions = extraOptions(options);\n\t\t }\n\t\t formlyUtil.reverseDeepMerge(options, extraOptions);\n\t\t }\n\t\t }\n\t\n\t\t function extendOptionsWithDefaults(options, index) {\n\t\t var key = options.key || index || 0;\n\t\t angular.extend(options, {\n\t\t // attach the key in case the formly-field directive is used directly\n\t\t key: key,\n\t\t value: valueGetterSetter,\n\t\t runExpressions: runExpressions,\n\t\t resetModel: resetModel,\n\t\t updateInitialValue: updateInitialValue\n\t\t });\n\t\t }\n\t\n\t\t // initialization functions\n\t\t function addModelWatcher(scope, options) {\n\t\t if (options.model) {\n\t\t scope.$watch(\"options.model\", runExpressions, true);\n\t\t }\n\t\t }\n\t\n\t\t function resetModel() {\n\t\t $scope.model[$scope.options.key] = $scope.options.initialValue;\n\t\t if ($scope.options.formControl) {\n\t\t $scope.options.formControl.$setViewValue($scope.model[$scope.options.key]);\n\t\t $scope.options.formControl.$render();\n\t\t $scope.options.formControl.$setUntouched();\n\t\t $scope.options.formControl.$setPristine();\n\t\t }\n\t\t }\n\t\n\t\t function updateInitialValue() {\n\t\t $scope.options.initialValue = $scope.model[$scope.options.key];\n\t\t }\n\t\n\t\t function addValidationMessages(options) {\n\t\t options.validation.messages = options.validation.messages || {};\n\t\t angular.forEach(formlyValidationMessages.messages, function createFunctionForMessage(expression, name) {\n\t\t if (!options.validation.messages[name]) {\n\t\t options.validation.messages[name] = function evaluateMessage(viewValue, modelValue, scope) {\n\t\t return formlyUtil.formlyEval(scope, expression, modelValue, viewValue);\n\t\t };\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function invokeControllers(scope) {\n\t\t var options = arguments[1] === undefined ? {} : arguments[1];\n\t\t var type = arguments[2] === undefined ? {} : arguments[2];\n\t\n\t\t angular.forEach([type.controller, options.controller], function (controller) {\n\t\t if (controller) {\n\t\t $controller(controller, { $scope: scope });\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function setupFieldGroup() {\n\t\t $scope.options.options = $scope.options.options || {};\n\t\t $scope.options.options.formState = $scope.formState;\n\t\t }\n\t\t }\n\t\n\t\t // link function\n\t\t function fieldLink(scope, el) {\n\t\t if (scope.options.fieldGroup) {\n\t\t setFieldGroupTemplate();\n\t\t return;\n\t\t }\n\t\n\t\t addAttributes();\n\t\t addClasses();\n\t\n\t\t var type = getFieldType(scope.options);\n\t\t var args = arguments;\n\t\t var thusly = this;\n\t\t getFieldTemplate(scope.options).then(runManipulators(formlyConfig.templateManipulators.preWrapper)).then(transcludeInWrappers(scope.options)).then(runManipulators(formlyConfig.templateManipulators.postWrapper)).then(setElementTemplate).then(watchFormControl).then(callLinkFunctions)[\"catch\"](function (error) {\n\t\t formlyWarn(\"there-was-a-problem-setting-the-template-for-this-field\", \"There was a problem setting the template for this field \", scope.options, error);\n\t\t });\n\t\n\t\t function setFieldGroupTemplate() {\n\t\t checkFieldGroupApi(scope.options);\n\t\t el.addClass(\"formly-field-group\");\n\t\t var extraAttributes = \"\";\n\t\t if (scope.options.elementAttributes) {\n\t\t extraAttributes = Object.keys(scope.options.elementAttributes).map(function (key) {\n\t\t return \"\" + key + \"=\\\"\" + scope.options.elementAttributes[key] + \"\\\"\";\n\t\t }).join(\" \");\n\t\t }\n\t\t setElementTemplate(\"\\n <formly-form model=\\\"model\\\"\\n fields=\\\"options.fieldGroup\\\"\\n options=\\\"options.options\\\"\\n form=\\\"options.form\\\"\\n class=\\\"\" + scope.options.className + \"\\\"\\n \" + extraAttributes + \"\\n is-field-group>\\n </formly-form>\\n \");\n\t\t }\n\t\n\t\t function addAttributes() {\n\t\t if (scope.options.elementAttributes) {\n\t\t el.attr(scope.options.elementAttributes);\n\t\t }\n\t\t }\n\t\n\t\t function addClasses() {\n\t\t if (scope.options.className) {\n\t\t el.addClass(scope.options.className);\n\t\t }\n\t\t if (scope.options.type) {\n\t\t el.addClass(\"formly-field-\" + scope.options.type);\n\t\t }\n\t\t }\n\t\n\t\t function setElementTemplate(templateString) {\n\t\t el.html(asHtml(templateString));\n\t\t $compile(el.contents())(scope);\n\t\t return templateString;\n\t\t }\n\t\n\t\t function watchFormControl(templateString) {\n\t\t var stopWatchingField = angular.noop;\n\t\t var stopWatchingShowError = angular.noop;\n\t\t if (scope.options.noFormControl) {\n\t\t return;\n\t\t }\n\t\t var templateEl = angular.element(\"<div>\" + templateString + \"</div>\");\n\t\t var ngModelNode = templateEl[0].querySelector(\"[ng-model],[data-ng-model]\");\n\t\t if (ngModelNode && ngModelNode.getAttribute(\"name\")) {\n\t\t watchFieldNameOrExistence(ngModelNode.getAttribute(\"name\"));\n\t\t }\n\t\n\t\t function watchFieldNameOrExistence(name) {\n\t\t var nameExpressionRegex = /\\{\\{(.*?)}}/;\n\t\t var nameExpression = nameExpressionRegex.exec(name);\n\t\t if (nameExpression) {\n\t\t watchFieldName(nameExpression[1]);\n\t\t } else {\n\t\t watchFieldExistence(name);\n\t\t }\n\t\t }\n\t\n\t\t function watchFieldName(expression) {\n\t\t scope.$watch(expression, function oneFieldNameChange(name) {\n\t\t if (name) {\n\t\t stopWatchingField();\n\t\t watchFieldExistence(name);\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function watchFieldExistence(name) {\n\t\t stopWatchingField = scope.$watch(\"form[\\\"\" + name + \"\\\"]\", function formControlChange(formControl) {\n\t\t if (formControl) {\n\t\t scope.fc = formControl; // shortcut for template authors\n\t\t scope.options.formControl = formControl;\n\t\t stopWatchingShowError();\n\t\t addShowMessagesWatcher();\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function addShowMessagesWatcher() {\n\t\t stopWatchingShowError = scope.$watch(function watchShowValidationChange() {\n\t\t var customExpression = formlyConfig.extras.errorExistsAndShouldBeVisibleExpression;\n\t\t var options = scope.options;\n\t\t var fc = scope.fc;\n\t\n\t\t if (!fc.$invalid) {\n\t\t return false;\n\t\t } else if (typeof options.validation.show === \"boolean\") {\n\t\t return options.validation.show;\n\t\t } else if (customExpression) {\n\t\t return formlyUtil.formlyEval(scope, customExpression, fc.$modelValue, fc.$viewValue);\n\t\t } else {\n\t\t var noTouchedButDirty = angular.isUndefined(fc.$touched) && fc.$dirty;\n\t\t return scope.fc.$touched || noTouchedButDirty;\n\t\t }\n\t\t }, function onShowValidationChange(show) {\n\t\t scope.options.validation.errorExistsAndShouldBeVisible = show;\n\t\t scope.showError = show; // shortcut for template authors\n\t\t });\n\t\t }\n\t\t }\n\t\n\t\t function callLinkFunctions() {\n\t\t if (type && type.link) {\n\t\t type.link.apply(thusly, args);\n\t\t }\n\t\t if (scope.options.link) {\n\t\t scope.options.link.apply(thusly, args);\n\t\t }\n\t\t }\n\t\n\t\t function runManipulators(manipulators) {\n\t\t return function runManipulatorsOnTemplate(template) {\n\t\t var chain = $q.when(template);\n\t\t angular.forEach(manipulators, function (manipulator) {\n\t\t chain = chain.then(function (template) {\n\t\t return $q.when(manipulator(template, scope.options, scope)).then(function (newTemplate) {\n\t\t return angular.isString(newTemplate) ? newTemplate : asHtml(newTemplate);\n\t\t });\n\t\t });\n\t\t });\n\t\t return chain;\n\t\t };\n\t\t }\n\t\t }\n\t\n\t\t // stateless util functions\n\t\t function asHtml(el) {\n\t\t var wrapper = angular.element(\"<a></a>\");\n\t\t return wrapper.append(el).html();\n\t\t }\n\t\n\t\t function getFieldType(options) {\n\t\t return options.type && formlyConfig.getType(options.type);\n\t\t }\n\t\n\t\t function getFieldTemplate(options) {\n\t\t function fromOptionsOrType(key, type) {\n\t\t if (angular.isDefined(options[key])) {\n\t\t return options[key];\n\t\t } else if (type && angular.isDefined(type[key])) {\n\t\t return type[key];\n\t\t }\n\t\t }\n\t\n\t\t var type = formlyConfig.getType(options.type, true, options);\n\t\t var template = fromOptionsOrType(\"template\", type);\n\t\t var templateUrl = fromOptionsOrType(\"templateUrl\", type);\n\t\t if (angular.isUndefined(template) && !templateUrl) {\n\t\t throw formlyUsability.getFieldError(\"type-type-has-no-template\", \"Type '\" + options.type + \"' has not template. On element:\", options);\n\t\t }\n\t\n\t\t return getTemplate(templateUrl || template, angular.isUndefined(template), options);\n\t\t }\n\t\n\t\t function getTemplate(template, isUrl, options) {\n\t\t var templatePromise = undefined;\n\t\t if (angular.isFunction(template)) {\n\t\t templatePromise = $q.when(template(options));\n\t\t } else {\n\t\t templatePromise = $q.when(template);\n\t\t }\n\t\n\t\t if (!isUrl) {\n\t\t return templatePromise;\n\t\t } else {\n\t\t var _ret = (function () {\n\t\t var httpOptions = { cache: $templateCache };\n\t\t return {\n\t\t v: templatePromise.then(function (url) {\n\t\t return $http.get(url, httpOptions);\n\t\t }).then(function (response) {\n\t\t return response.data;\n\t\t })[\"catch\"](function handleErrorGettingATemplate(error) {\n\t\t formlyWarn(\"problem-loading-template-for-templateurl\", \"Problem loading template for \" + template, error);\n\t\t })\n\t\t };\n\t\t })();\n\t\n\t\t if (typeof _ret === \"object\") {\n\t\t return _ret.v;\n\t\t }\n\t\t }\n\t\t }\n\t\n\t\t function transcludeInWrappers(options) {\n\t\t var wrapper = getWrapperOption(options);\n\t\n\t\t return function transcludeTemplate(template) {\n\t\t if (!wrapper.length) {\n\t\t return $q.when(template);\n\t\t }\n\t\n\t\t wrapper.forEach(function (wrapper) {\n\t\t formlyUsability.checkWrapper(wrapper, options);\n\t\t wrapper.validateOptions && wrapper.validateOptions(options);\n\t\t runApiCheck(wrapper, options);\n\t\t });\n\t\t var promises = wrapper.map(function (w) {\n\t\t return getTemplate(w.template || w.templateUrl, !w.template);\n\t\t });\n\t\t return $q.all(promises).then(function (wrappersTemplates) {\n\t\t wrappersTemplates.forEach(function (wrapperTemplate, index) {\n\t\t formlyUsability.checkWrapperTemplate(wrapperTemplate, wrapper[index]);\n\t\t });\n\t\t wrappersTemplates.reverse(); // wrapper 0 is wrapped in wrapper 1 and so on...\n\t\t var totalWrapper = wrappersTemplates.shift();\n\t\t wrappersTemplates.forEach(function (wrapperTemplate) {\n\t\t totalWrapper = doTransclusion(totalWrapper, wrapperTemplate);\n\t\t });\n\t\t return doTransclusion(totalWrapper, template);\n\t\t });\n\t\t };\n\t\t }\n\t\n\t\t function doTransclusion(wrapper, template) {\n\t\t var superWrapper = angular.element(\"<a></a>\"); // this allows people not have to have a single root in wrappers\n\t\t superWrapper.append(wrapper);\n\t\t var transcludeEl = superWrapper.find(\"formly-transclude\");\n\t\t if (!transcludeEl.length) {\n\t\t //try it using our custom find function\n\t\t transcludeEl = formlyUtil.findByNodeName(superWrapper, \"formly-transclude\");\n\t\t }\n\t\t transcludeEl.replaceWith(template);\n\t\t return superWrapper.html();\n\t\t }\n\t\n\t\t function getWrapperOption(options) {\n\t\t var wrapper = options.wrapper;\n\t\t // explicit null means no wrapper\n\t\t if (wrapper === null) {\n\t\t return [];\n\t\t }\n\t\n\t\t // nothing specified means use the default wrapper for the type\n\t\t if (!wrapper) {\n\t\t // get all wrappers that specify they apply to this type\n\t\t wrapper = arrayify(formlyConfig.getWrapperByType(options.type));\n\t\t } else {\n\t\t wrapper = arrayify(wrapper).map(formlyConfig.getWrapper);\n\t\t }\n\t\n\t\t // get all wrappers for that this type specified that it uses.\n\t\t var type = formlyConfig.getType(options.type, true, options);\n\t\t if (type && type.wrapper) {\n\t\t var typeWrappers = arrayify(type.wrapper).map(formlyConfig.getWrapper);\n\t\t wrapper = wrapper.concat(typeWrappers);\n\t\t }\n\t\n\t\t // add the default wrapper last\n\t\t var defaultWrapper = formlyConfig.getWrapper();\n\t\t if (defaultWrapper) {\n\t\t wrapper.push(defaultWrapper);\n\t\t }\n\t\t return wrapper;\n\t\t }\n\t\n\t\t function checkApi(options) {\n\t\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyFieldOptions, options, {\n\t\t prefix: \"formly-field directive\",\n\t\t url: \"formly-field-directive-validation-failed\"\n\t\t });\n\t\t // validate with the type\n\t\t var type = options.type && formlyConfig.getType(options.type);\n\t\t if (type) {\n\t\t if (type.validateOptions) {\n\t\t type.validateOptions(options);\n\t\t }\n\t\t runApiCheck(type, options);\n\t\t }\n\t\t }\n\t\n\t\t function checkFieldGroupApi(options) {\n\t\t formlyApiCheck[\"throw\"](formlyApiCheck.fieldGroup, options, {\n\t\t prefix: \"formly-field directive\",\n\t\t url: \"formly-field-directive-validation-failed\"\n\t\t });\n\t\t }\n\t\n\t\t function runApiCheck(_ref, options) {\n\t\t var apiCheck = _ref.apiCheck;\n\t\t var apiCheckInstance = _ref.apiCheckInstance;\n\t\t var apiCheckFunction = _ref.apiCheckFunction;\n\t\t var apiCheckOptions = _ref.apiCheckOptions;\n\t\n\t\t if (!apiCheck) {\n\t\t return;\n\t\t }\n\t\t var instance = apiCheckInstance || formlyApiCheck;\n\t\t var fn = apiCheckFunction || \"warn\";\n\t\t var shape = instance.shape(apiCheck);\n\t\t instance[fn](shape, options, apiCheckOptions || {\n\t\t prefix: \"formly-field \" + name,\n\t\t url: formlyApiCheck.config.output.docsBaseUrl + \"formly-field-type-apicheck-failed\"\n\t\t });\n\t\t }\n\t\t}\n\t\tformlyField.$inject = [\"$http\", \"$q\", \"$compile\", \"$templateCache\", \"formlyConfig\", \"formlyValidationMessages\", \"formlyApiCheck\", \"formlyUtil\", \"formlyUsability\", \"formlyWarn\"];\n\t\n\t/***/ },\n\t/* 11 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tmodule.exports = formlyFocus;\n\t\n\t\t// @ngInject\n\t\tfunction formlyFocus($timeout, $document) {\n\t\t /* jshint -W052 */\n\t\t return {\n\t\t restrict: \"A\",\n\t\t link: function formlyFocusLink(scope, element, attrs) {\n\t\t var previousEl = null;\n\t\t var el = element[0];\n\t\t var doc = $document[0];\n\t\t attrs.$observe(\"formlyFocus\", function respondToFocusExpressionChange(value) {\n\t\t if (value === \"true\") {\n\t\t $timeout(function setElementFocus() {\n\t\t previousEl = doc.activeElement;\n\t\t el.focus();\n\t\t }, ~ ~attrs.focusWait);\n\t\t } else if (value === \"false\") {\n\t\t if (doc.activeElement === el) {\n\t\t el.blur();\n\t\t if (attrs.hasOwnProperty(\"refocus\") && previousEl) {\n\t\t previousEl.focus();\n\t\t }\n\t\t }\n\t\t }\n\t\t });\n\t\t }\n\t\t };\n\t\t}\n\t\tformlyFocus.$inject = [\"$timeout\", \"$document\"];\n\t\n\t/***/ },\n\t/* 12 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar _toConsumableArray = function (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\t\tvar _slice = Array.prototype.slice;\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tmodule.exports = formlyForm;\n\t\n\t\t/**\n\t\t * @ngdoc directive\n\t\t * @name formlyForm\n\t\t * @restrict E\n\t\t */\n\t\t// @ngInject\n\t\tfunction formlyForm(formlyUsability, $parse, formlyApiCheck, formlyConfig) {\n\t\t var currentFormId = 1;\n\t\t return {\n\t\t restrict: \"E\",\n\t\t template: function formlyFormGetTemplate(el, attrs) {\n\t\t /* jshint -W033 */ // this because jshint is broken I guess...\n\t\t var rootEl = getRootEl();\n\t\t var fieldRootEl = getFieldRootEl();\n\t\t var formId = \"formly_\" + currentFormId++;\n\t\t var parentFormAttributes = \"\";\n\t\t if (attrs.hasOwnProperty(\"isFieldGroup\") && el.parent().parent().hasClass(\"formly\")) {\n\t\t parentFormAttributes = copyAttributes(el.parent().parent()[0].attributes);\n\t\t }\n\t\t return \"\\n <\" + rootEl + \" class=\\\"formly\\\"\\n name=\\\"\" + getFormName() + \"\\\"\\n role=\\\"form\\\" \" + parentFormAttributes + \">\\n <\" + fieldRootEl + \" formly-field\\n ng-repeat=\\\"field in fields \" + getTrackBy() + \"\\\"\\n \" + getHideDirective() + \"=\\\"!field.hide\\\"\\n class=\\\"formly-field\\\"\\n options=\\\"field\\\"\\n model=\\\"field.model || model\\\"\\n fields=\\\"fields\\\"\\n form=\\\"theFormlyForm\\\"\\n form-id=\\\"\" + getFormName() + \"\\\"\\n form-state=\\\"options.formState\\\"\\n index=\\\"$index\\\">\\n </\" + fieldRootEl + \">\\n <div ng-transclude></div>\\n </\" + rootEl + \">\\n \";\n\t\n\t\t function getRootEl() {\n\t\t return attrs.rootEl || \"ng-form\";\n\t\t }\n\t\n\t\t function getFieldRootEl() {\n\t\t return attrs.fieldRootEl || \"div\";\n\t\t }\n\t\n\t\t function getHideDirective() {\n\t\t return attrs.hideDirective || formlyConfig.extras.defaultHideDirective || \"ng-if\";\n\t\t }\n\t\n\t\t function getTrackBy() {\n\t\t if (!attrs.trackBy) {\n\t\t return \"\";\n\t\t } else {\n\t\t return \"track by \" + attrs.trackBy;\n\t\t }\n\t\t }\n\t\n\t\t function getFormName() {\n\t\t var formName = formId;\n\t\t var bindName = attrs.bindName;\n\t\t if (bindName) {\n\t\t if (angular.version.minor < 3) {\n\t\t throw formlyUsability.getFormlyError(\"bind-name attribute on formly-form not allowed in > angular 1.3\");\n\t\t }\n\t\t // we can do a one-time binding here because we know we're in 1.3.x territory\n\t\t formName = \"{{::'formly_' + \" + bindName + \"}}\";\n\t\t }\n\t\t return formName;\n\t\t }\n\t\n\t\t function copyAttributes(attributes) {\n\t\t var excluded = [\"model\", \"form\", \"fields\", \"options\", \"name\", \"role\", \"class\"];\n\t\t var arrayAttrs = [];\n\t\t angular.forEach(attributes, function (_ref) {\n\t\t var nodeName = _ref.nodeName;\n\t\t var nodeValue = _ref.nodeValue;\n\t\n\t\t if (nodeName !== \"undefined\" && excluded.indexOf(nodeName) === -1) {\n\t\t arrayAttrs.push(\"\" + toKebabCase(nodeName) + \"=\\\"\" + nodeValue + \"\\\"\");\n\t\t }\n\t\t });\n\t\t return arrayAttrs.join(\" \");\n\t\t }\n\t\n\t\t function toKebabCase(string) {\n\t\t if (string) {\n\t\t return string.replace(/([A-Z])/g, function ($1) {\n\t\t return \"-\" + $1.toLowerCase();\n\t\t });\n\t\t } else {\n\t\t return \"\";\n\t\t }\n\t\t }\n\t\t },\n\t\t replace: true,\n\t\t transclude: true,\n\t\t scope: {\n\t\t fields: \"=\",\n\t\t model: \"=\",\n\t\t form: \"=?\",\n\t\t options: \"=?\"\n\t\t },\n\t\t controller: /* @ngInject */[\"$scope\", \"formlyUtil\", function FormlyFormController($scope, formlyUtil) {\n\t\t setupOptions();\n\t\t $scope.model = $scope.model || {};\n\t\t $scope.fields = $scope.fields || [];\n\t\n\t\t angular.forEach($scope.fields, initModel); // initializes the model property if set to 'formState'\n\t\t angular.forEach($scope.fields, attachKey); // attaches a key based on the index if a key isn't specified\n\t\t angular.forEach($scope.fields, setupWatchers); // setup watchers for all fields\n\t\n\t\t // watch the model and evaluate watch expressions that depend on it.\n\t\t $scope.$watch(\"model\", onModelOrFormStateChange, true);\n\t\t if ($scope.options.formState) {\n\t\t $scope.$watch(\"options.formState\", onModelOrFormStateChange, true);\n\t\t }\n\t\n\t\t function onModelOrFormStateChange() {\n\t\t angular.forEach($scope.fields, function runFieldExpressionProperties(field, index) {\n\t\t /*jshint -W030 */\n\t\t var model = field.model || $scope.model;\n\t\t field.runExpressions && field.runExpressions(model);\n\t\t if (field.hideExpression) {\n\t\t // can't use hide with expressionProperties reliably\n\t\t var val = model[field.key];\n\t\t // this makes it closer to what a regular expressionProperty would be\n\t\t var extraLocals = {\n\t\t options: field,\n\t\t index: index,\n\t\t formState: $scope.options.formState,\n\t\t formId: $scope.formId\n\t\t };\n\t\t field.hide = formlyUtil.formlyEval($scope, field.hideExpression, val, val, extraLocals);\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function setupOptions() {\n\t\t formlyApiCheck[\"throw\"]([formlyApiCheck.formOptionsApi.optional], [$scope.options], { prefix: \"formly-form options check\" });\n\t\t $scope.options = $scope.options || {};\n\t\t $scope.options.formState = $scope.options.formState || {};\n\t\n\t\t angular.extend($scope.options, {\n\t\t updateInitialValue: updateInitialValue,\n\t\t resetModel: resetModel\n\t\t });\n\t\t }\n\t\n\t\t function updateInitialValue() {\n\t\t angular.forEach($scope.fields, function (field) {\n\t\t if (isFieldGroup(field)) {\n\t\t field.options.updateInitialValue();\n\t\t } else {\n\t\t field.updateInitialValue();\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function resetModel() {\n\t\t angular.forEach($scope.fields, function (field) {\n\t\t if (isFieldGroup(field)) {\n\t\t field.options.resetModel();\n\t\t } else {\n\t\t field.resetModel();\n\t\t }\n\t\t });\n\t\t }\n\t\n\t\t function initModel(field) {\n\t\t if (field.model && field.model === \"formState\") {\n\t\t field.model = $scope.options.formState;\n\t\t }\n\t\t }\n\t\n\t\t function attachKey(field, index) {\n\t\t if (!isFieldGroup(field)) {\n\t\t field.key = field.key || index || 0;\n\t\t }\n\t\t }\n\t\n\t\t function setupWatchers(field, index) {\n\t\t if (isFieldGroup(field) || !angular.isDefined(field.watcher)) {\n\t\t return;\n\t\t }\n\t\t var watchers = field.watcher;\n\t\t if (!angular.isArray(watchers)) {\n\t\t watchers = [watchers];\n\t\t }\n\t\t angular.forEach(watchers, function setupWatcher(watcher) {\n\t\t if (!angular.isDefined(watcher.listener)) {\n\t\t throw formlyUsability.getFieldError(\"all-field-watchers-must-have-a-listener\", \"All field watchers must have a listener\", field);\n\t\t }\n\t\t var watchExpression = getWatchExpression(watcher, field, index);\n\t\t var watchListener = getWatchListener(watcher, field, index);\n\t\n\t\t var type = watcher.type || \"$watch\";\n\t\t watcher.stopWatching = $scope[type](watchExpression, watchListener, watcher.watchDeep);\n\t\t });\n\t\t }\n\t\n\t\t function getWatchExpression(watcher, field, index) {\n\t\t var watchExpression = watcher.expression || \"model['\" + field.key + \"']\";\n\t\t if (angular.isFunction(watchExpression)) {\n\t\t // wrap the field's watch expression so we can call it with the field as the first arg\n\t\t // and the stop function as the last arg as a helper\n\t\t var originalExpression = watchExpression;\n\t\t watchExpression = function formlyWatchExpression() {\n\t\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t\t return originalExpression.apply(undefined, _toConsumableArray(args));\n\t\t };\n\t\t watchExpression.displayName = \"Formly Watch Expression for field for \" + field.key;\n\t\t }\n\t\t return watchExpression;\n\t\t }\n\t\n\t\t function getWatchListener(watcher, field, index) {\n\t\t var watchListener = watcher.listener;\n\t\t if (angular.isFunction(watchListener)) {\n\t\t // wrap the field's watch listener so we can call it with the field as the first arg\n\t\t // and the stop function as the last arg as a helper\n\t\t var originalListener = watchListener;\n\t\t watchListener = function formlyWatchListener() {\n\t\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t\t return originalListener.apply(undefined, _toConsumableArray(args));\n\t\t };\n\t\t watchListener.displayName = \"Formly Watch Listener for field for \" + field.key;\n\t\t }\n\t\t return watchListener;\n\t\t }\n\t\n\t\t function modifyArgs(watcher, index) {\n\t\t for (var _len = arguments.length, originalArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t\t originalArgs[_key - 2] = arguments[_key];\n\t\t }\n\t\n\t\t return [$scope.fields[index]].concat(originalArgs, [watcher.stopWatching]);\n\t\t }\n\t\n\t\t function isFieldGroup(field) {\n\t\t return field && !!field.fieldGroup;\n\t\t }\n\t\t }],\n\t\t link: function link(scope, el, attrs) {\n\t\t var formId = attrs.name;\n\t\t scope.formId = formId;\n\t\t scope.theFormlyForm = scope[formId];\n\t\t if (attrs.form) {\n\t\t $parse(attrs.form).assign(scope.$parent, scope[formId]);\n\t\t }\n\t\n\t\t // chrome autocomplete lameness\n\t\t // see https://code.google.com/p/chromium/issues/detail?id=468153#c14\n\t\t // ლ(ಠ益ಠლ) (╯°□°)╯︵ ┻━┻ (◞‸◟;)\n\t\t var global = formlyConfig.extras.removeChromeAutoComplete === true;\n\t\t var offInstance = scope.options && scope.options.removeChromeAutoComplete === false;\n\t\t var onInstance = scope.options && scope.options.removeChromeAutoComplete === true;\n\t\t if (global && !offInstance || onInstance) {\n\t\t var input = document.createElement(\"input\");\n\t\t input.setAttribute(\"autocomplete\", \"address-level4\");\n\t\t input.setAttribute(\"hidden\", true);\n\t\t el[0].appendChild(input);\n\t\t }\n\t\t }\n\t\t };\n\t\t}\n\t\tformlyForm.$inject = [\"formlyUsability\", \"$parse\", \"formlyApiCheck\", \"formlyConfig\"];\n\t\n\t/***/ },\n\t/* 13 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tmodule.exports = addFormlyNgModelAttrsManipulator;\n\t\n\t\t// @ngInject\n\t\tfunction addFormlyNgModelAttrsManipulator(formlyConfig) {\n\t\t if (formlyConfig.extras.disableNgModelAttrsManipulator) {\n\t\t return;\n\t\t }\n\t\t formlyConfig.templateManipulators.preWrapper.push(ngModelAttrsManipulator);\n\t\n\t\t function ngModelAttrsManipulator(template, options, scope) {\n\t\t /* jshint maxcomplexity:6 */\n\t\t var el = document.createElement(\"div\");\n\t\t var data = options.data;\n\t\t if (data.skipNgModelAttrsManipulator === true) {\n\t\t return template;\n\t\t }\n\t\t el.innerHTML = template;\n\t\t var modelNodes = el.querySelectorAll(\"[ng-model], [data-ng-model]\");\n\t\t if (!modelNodes || !modelNodes.length) {\n\t\t return template;\n\t\t }\n\t\n\t\t addIfNotPresent(modelNodes, \"id\", scope.id);\n\t\t addIfNotPresent(modelNodes, \"name\", scope.id);\n\t\n\t\t addValidation();\n\t\t addModelOptions();\n\t\t addTemplateOptionsAttrs();\n\t\n\t\t return el.innerHTML;\n\t\n\t\t function addValidation() {\n\t\t if (angular.isDefined(options.validators) || angular.isDefined(options.validation.messages)) {\n\t\t addIfNotPresent(modelNodes, \"formly-custom-validation\", \"\");\n\t\t }\n\t\t }\n\t\n\t\t function addModelOptions() {\n\t\t if (angular.isDefined(options.modelOptions)) {\n\t\t addIfNotPresent(modelNodes, \"ng-model-options\", \"options.modelOptions\");\n\t\t if (options.modelOptions.getterSetter) {\n\t\t angular.forEach(modelNodes, function (node) {\n\t\t node.setAttribute(\"ng-model\", \"options.value\");\n\t\t });\n\t\t }\n\t\t }\n\t\t }\n\t\n\t\t function addTemplateOptionsAttrs() {\n\t\t if (!options.templateOptions && !options.expressionProperties) {\n\t\t // no need to run these if there are no templateOptions or expressionProperties\n\t\t return;\n\t\t }\n\t\t var to = options.templateOptions || {};\n\t\t var ep = options.expressionProperties || {};\n\t\n\t\t var ngModelAttributes = getBuiltInAttributes();\n\t\n\t\t // extend with the user's specifications winning\n\t\t angular.extend(ngModelAttributes, options.ngModelAttrs);\n\t\n\t\t // Feel free to make this more simple :-)\n\t\t angular.forEach(ngModelAttributes, function (val, name) {\n\t\t /* jshint maxcomplexity:14 */\n\t\t var attrVal = undefined;\n\t\t var attrName = undefined;\n\t\t var ref = \"options.templateOptions['\" + name + \"']\";\n\t\t var toVal = to[name];\n\t\t var epVal = getEpValue(ep, name);\n\t\n\t\t var inTo = angular.isDefined(toVal);\n\t\t var inEp = angular.isDefined(epVal);\n\t\t if (val.value) {\n\t\t // I realize this looks backwards, but it's right, trust me...\n\t\t attrName = val.value;\n\t\t attrVal = name;\n\t\t } else if (val.expression && inTo) {\n\t\t attrName = val.expression;\n\t\t if (angular.isString(to[name])) {\n\t\t attrVal = \"$eval(\" + ref + \")\";\n\t\t } else if (angular.isFunction(to[name])) {\n\t\t attrVal = \"\" + ref + \"(model[options.key], options, this, $event)\";\n\t\t } else {\n\t\t throw new Error(\"options.templateOptions.\" + name + \" must be a string or function: \" + JSON.stringify(options));\n\t\t }\n\t\t } else if (val.bound && inEp) {\n\t\t attrName = val.bound;\n\t\t attrVal = ref;\n\t\t } else if ((val.attribute || val.boolean) && inEp) {\n\t\t attrName = val.attribute || val.boolean;\n\t\t attrVal = \"{{\" + ref + \"}}\";\n\t\t } else if (val.attribute && inTo) {\n\t\t attrName = val.attribute;\n\t\t attrVal = toVal;\n\t\t } else if (val.boolean) {\n\t\t if (inTo && !inEp && toVal) {\n\t\t attrName = val.boolean;\n\t\t attrVal = true;\n\t\t } else {}\n\t\t } else if (val.bound && inTo) {\n\t\t attrName = val.bound;\n\t\t attrVal = ref;\n\t\t }\n\t\n\t\t if (angular.isDefined(attrName) && angular.isDefined(attrVal)) {\n\t\t addIfNotPresent(modelNodes, attrName, attrVal);\n\t\t }\n\t\t });\n\t\t }\n\t\t }\n\t\n\t\t // Utility functions\n\t\t function getBuiltInAttributes() {\n\t\t var ngModelAttributes = {\n\t\t focus: {\n\t\t attribute: \"formly-focus\"\n\t\t }\n\t\t };\n\t\t var boundOnly = [];\n\t\t var bothBooleanAndBound = [\"required\", \"disabled\"];\n\t\t var bothAttributeAndBound = [\"pattern\", \"minlength\"];\n\t\t var expressionOnly = [\"change\", \"keydown\", \"keyup\", \"keypress\", \"click\", \"focus\", \"blur\"];\n\t\t var attributeOnly = [\"placeholder\", \"min\", \"max\", \"tabindex\", \"type\"];\n\t\t if (formlyConfig.extras.ngModelAttrsManipulatorPreferUnbound) {\n\t\t bothAttributeAndBound.push(\"maxlength\");\n\t\t } else {\n\t\t boundOnly.push(\"maxlength\");\n\t\t }\n\t\n\t\t angular.forEach(boundOnly, function (item) {\n\t\t ngModelAttributes[item] = { bound: \"ng-\" + item };\n\t\t });\n\t\n\t\t angular.forEach(bothBooleanAndBound, function (item) {\n\t\t ngModelAttributes[item] = { boolean: item, bound: \"ng-\" + item };\n\t\t });\n\t\n\t\t angular.forEach(bothAttributeAndBound, function (item) {\n\t\t ngModelAttributes[item] = { attribute: item, bound: \"ng-\" + item };\n\t\t });\n\t\n\t\t angular.forEach(expressionOnly, function (item) {\n\t\t var propName = \"on\" + item.substr(0, 1).toUpperCase() + item.substr(1);\n\t\t ngModelAttributes[propName] = { expression: \"ng-\" + item };\n\t\t });\n\t\n\t\t angular.forEach(attributeOnly, function (item) {\n\t\t ngModelAttributes[item] = { attribute: item };\n\t\t });\n\t\t return ngModelAttributes;\n\t\t }\n\t\n\t\t function getEpValue(ep, name) {\n\t\t return ep[\"templateOptions.\" + name] || ep[\"templateOptions['\" + name + \"']\"] || ep[\"templateOptions[\\\"\" + name + \"\\\"]\"];\n\t\t }\n\t\n\t\t function addIfNotPresent(nodes, attr, val) {\n\t\t angular.forEach(nodes, function (node) {\n\t\t if (!node.getAttribute(attr)) {\n\t\t node.setAttribute(attr, val);\n\t\t }\n\t\t });\n\t\t }\n\t\t}\n\t\taddFormlyNgModelAttrsManipulator.$inject = [\"formlyConfig\"];\n\t\n\t\t// jshint -W035\n\t\t// empty to illustrate that a boolean will not be added via val.bound\n\t\t// if you want it added via val.bound, then put it in expressionProperties\n\t\n\t/***/ },\n\t/* 14 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tmodule.exports = addCustomTags;\n\t\n\t\t// @ngInject\n\t\tfunction addCustomTags($document) {\n\t\t if ($document && $document.get) {\n\t\t (function () {\n\t\t //IE8 check ->\n\t\t // http://stackoverflow.com/questions/10964966/detect-ie-version-prior-to-v9-in-javascript/10965203#10965203\n\t\t var document = $document.get(0);\n\t\t var div = document.createElement(\"div\");\n\t\t div.innerHTML = \"<!--[if lt IE 9]><i></i><![endif]-->\";\n\t\t var isIeLessThan9 = div.getElementsByTagName(\"i\").length === 1;\n\t\n\t\t if (isIeLessThan9) {\n\t\t //add the custom elements that we need for formly\n\t\t var customElements = [\"formly-field\", \"formly-form\", \"formly-custom-validation\", \"formly-focus\", \"formly-transpose\"];\n\t\t angular.forEach(customElements, function (el) {\n\t\t document.createElement(el);\n\t\t });\n\t\t }\n\t\t })();\n\t\t }\n\t\t}\n\t\taddCustomTags.$inject = [\"$document\"];\n\t\n\t/***/ },\n\t/* 15 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\t// some versions of angular don't export the angular module properly,\n\t\t// so we get it from window in this case.\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(17));\n\t\n\t\tif (!angular.version) {\n\t\t angular = window.angular;\n\t\t}\n\t\tmodule.exports = angular;\n\t\n\t/***/ },\n\t/* 16 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_16__;\n\t\n\t/***/ },\n\t/* 17 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_17__;\n\t\n\t/***/ },\n\t/* 18 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\n\t\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\t\n\t\tvar angular = _interopRequire(__webpack_require__(15));\n\t\n\t\tmodule.exports = { formlyEval: formlyEval, getFieldId: getFieldId, reverseDeepMerge: reverseDeepMerge, findByNodeName: findByNodeName, arrayify: arrayify, extendFunction: extendFunction };\n\t\n\t\tfunction formlyEval(scope, expression, $modelValue, $viewValue, extraLocals) {\n\t\t if (angular.isFunction(expression)) {\n\t\t return expression($viewValue, $modelValue, scope, extraLocals);\n\t\t } else {\n\t\t return scope.$eval(expression, angular.extend({ $viewValue: $viewValue, $modelValue: $modelValue }, extraLocals));\n\t\t }\n\t\t}\n\t\n\t\tfunction getFieldId(formId, options, index) {\n\t\t if (options.id) {\n\t\t return options.id;\n\t\t }\n\t\t var type = options.type;\n\t\t if (!type && options.template) {\n\t\t type = \"template\";\n\t\t } else if (!type && options.templateUrl) {\n\t\t type = \"templateUrl\";\n\t\t }\n\t\n\t\t return [formId, type, options.key, index].join(\"_\");\n\t\t}\n\t\n\t\tfunction reverseDeepMerge(dest) {\n\t\t angular.forEach(arguments, function (src, index) {\n\t\t if (!index) {\n\t\t return;\n\t\t }\n\t\t angular.forEach(src, function (val, prop) {\n\t\t if (!angular.isDefined(dest[prop])) {\n\t\t dest[prop] = angular.copy(val);\n\t\t } else if (objAndSameType(dest[prop], val)) {\n\t\t reverseDeepMerge(dest[prop], val);\n\t\t }\n\t\t });\n\t\t });\n\t\t}\n\t\n\t\tfunction objAndSameType(obj1, obj2) {\n\t\t return angular.isObject(obj1) && angular.isObject(obj2) && Object.getPrototypeOf(obj1) === Object.getPrototypeOf(obj2);\n\t\t}\n\t\n\t\t//recurse down a node tree to find a node with matching nodeName, for custom tags jQuery.find doesn't work in IE8\n\t\tfunction findByNodeName(el, nodeName) {\n\t\t if (!el.prop) {\n\t\t // not a jQuery or jqLite object -> wrap it\n\t\t el = angular.element(el);\n\t\t }\n\t\n\t\t if (el.prop(\"nodeName\") === nodeName.toUpperCase()) {\n\t\t return el;\n\t\t }\n\t\n\t\t var c = el.children();\n\t\t for (var i = 0; c && i < c.length; i++) {\n\t\t var node = findByNodeName(c[i], nodeName);\n\t\t if (node) {\n\t\t return node;\n\t\t }\n\t\t }\n\t\t}\n\t\n\t\tfunction arrayify(obj) {\n\t\t if (obj && !angular.isArray(obj)) {\n\t\t obj = [obj];\n\t\t } else if (!obj) {\n\t\t obj = [];\n\t\t }\n\t\t return obj;\n\t\t}\n\t\n\t\tfunction extendFunction() {\n\t\t for (var _len = arguments.length, fns = Array(_len), _key = 0; _key < _len; _key++) {\n\t\t fns[_key] = arguments[_key];\n\t\t }\n\t\n\t\t return function extendedFunction() {\n\t\t var args = arguments;\n\t\t fns.forEach(function (fn) {\n\t\t return fn.apply(null, args);\n\t\t });\n\t\t };\n\t\t}\n\t\n\t/***/ }\n\t/******/ ])\n\t});\n\t;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\tmodule.exports = angular;\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// angular-formly-templates-bootstrap version 4.3.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\t\n\t(function webpackUniversalModuleDefinition(root, factory) {\n\t\tif(true)\n\t\t\tmodule.exports = factory(__webpack_require__(3), __webpack_require__(2), __webpack_require__(4));\n\t\telse if(typeof define === 'function' && define.amd)\n\t\t\tdefine([\"angular-formly\", \"api-check\", \"angular\"], factory);\n\t\telse if(typeof exports === 'object')\n\t\t\texports[\"ngFormlyTemplatesBootstrap\"] = factory(require(\"angular-formly\"), require(\"api-check\"), require(\"angular\"));\n\t\telse\n\t\t\troot[\"ngFormlyTemplatesBootstrap\"] = factory(root[\"ngFormly\"], root[\"apiCheck\"], root[\"angular\"]);\n\t})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_8__) {\n\treturn /******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t/******/\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t/******/\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t/******/\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t/******/\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t/******/\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t/******/\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t/******/\n\t/******/\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t/******/\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t/******/\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t/******/\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tmodule.exports = __webpack_require__(11);\n\t\n\t/***/ },\n\t/* 1 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addCheckboxType);\n\t\t\n\t\t function addCheckboxType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setType({\n\t\t name: 'multiCheckbox',\n\t\t template: __webpack_require__(21),\n\t\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t options: c.arrayOf(c.object),\n\t\t labelProp: c.string.optional,\n\t\t valueProp: c.string.optional\n\t\t })\n\t\t },\n\t\t defaultOptions: {\n\t\t noFormControl: false,\n\t\t ngModelAttrs: {\n\t\t required: {\n\t\t attribute: '',\n\t\t bound: ''\n\t\t }\n\t\t }\n\t\t },\n\t\t apiCheckInstance: c,\n\t\t controller: /* @ngInject */[\"$scope\", function controller($scope) {\n\t\t var to = $scope.to;\n\t\t var opts = $scope.options;\n\t\t $scope.multiCheckbox = {\n\t\t checked: [],\n\t\t change: setModel\n\t\t };\n\t\t\n\t\t // initialize the checkboxes check property\n\t\t var modelValue = $scope.model[opts.key];\n\t\t if (angular.isArray(modelValue)) {\n\t\t (function () {\n\t\t var valueProp = to.valueProp || 'value';\n\t\t angular.forEach(to.options, function (v, index) {\n\t\t $scope.multiCheckbox.checked[index] = modelValue.indexOf(v[valueProp]) !== -1;\n\t\t });\n\t\t })();\n\t\t }\n\t\t\n\t\t function checkValidity(expressionValue) {\n\t\t var valid = angular.isArray($scope.model[opts.key]) && $scope.model[opts.key].length > 0 && expressionValue;\n\t\t\n\t\t $scope.fc.$setValidity('required', valid);\n\t\t }\n\t\t\n\t\t function setModel() {\n\t\t $scope.model[opts.key] = [];\n\t\t angular.forEach($scope.multiCheckbox.checked, function (checkbox, index) {\n\t\t if (checkbox) {\n\t\t $scope.model[opts.key].push(to.options[index][to.valueProp || 'value']);\n\t\t }\n\t\t });\n\t\t\n\t\t // Must make sure we mark as touched because only the last checkbox due to a bug in angular.\n\t\t $scope.fc.$setTouched();\n\t\t checkValidity(true);\n\t\t }\n\t\t\n\t\t if (opts.expressionProperties && opts.expressionProperties.required) {\n\t\t $scope.$watch($scope.options.expressionProperties.required, function (newValue) {\n\t\t checkValidity(newValue);\n\t\t });\n\t\t }\n\t\t\n\t\t if ($scope.to.required) {\n\t\t var unwatchFormControl = $scope.$watch('fc', function (newValue) {\n\t\t if (!newValue) {\n\t\t return;\n\t\t }\n\t\t checkValidity(true);\n\t\t unwatchFormControl;\n\t\t });\n\t\t }\n\t\t }]\n\t\t });\n\t\t }\n\t\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 2 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\t\n\t/***/ },\n\t/* 3 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\t\n\t/***/ },\n\t/* 4 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t// some versions of angular don't export the angular module properly,\n\t\t// so we get it from window in this case.\n\t\t'use strict';\n\t\t\n\t\tvar angular = __webpack_require__(8);\n\t\tif (!angular.version) {\n\t\t angular = window.angular;\n\t\t}\n\t\tmodule.exports = angular;\n\t\n\t/***/ },\n\t/* 5 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addWrappers);\n\t\t\n\t\t function addWrappers(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setWrapper([{\n\t\t name: 'bootstrapLabel',\n\t\t template: __webpack_require__(17),\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t label: c.string,\n\t\t required: c.bool.optional\n\t\t })\n\t\t },\n\t\t apiCheckInstance: c\n\t\t }, { name: 'bootstrapHasError', template: __webpack_require__(18) }]);\n\t\t }\n\t\t addWrappers.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 6 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t __webpack_require__(10)(ngModule);\n\t\t __webpack_require__(1)(ngModule);\n\t\t __webpack_require__(12)(ngModule);\n\t\t __webpack_require__(9)(ngModule);\n\t\t __webpack_require__(13)(ngModule);\n\t\t __webpack_require__(14)(ngModule);\n\t\t};\n\t\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 7 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\t\n\t\tvar _addons = __webpack_require__(15);\n\t\t\n\t\tvar _addons2 = _interopRequireDefault(_addons);\n\t\t\n\t\tvar _description = __webpack_require__(16);\n\t\t\n\t\tvar _description2 = _interopRequireDefault(_description);\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t (0, _addons2['default'])(ngModule);\n\t\t (0, _description2['default'])(ngModule);\n\t\t};\n\t\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 8 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_8__;\n\t\n\t/***/ },\n\t/* 9 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addRadioType);\n\t\t\n\t\t function addRadioType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setType({\n\t\t name: 'radio',\n\t\t template: __webpack_require__(19),\n\t\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t\t defaultOptions: {\n\t\t noFormControl: false\n\t\t },\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t options: c.arrayOf(c.object),\n\t\t labelProp: c.string.optional,\n\t\t valueProp: c.string.optional\n\t\t })\n\t\t },\n\t\t apiCheckInstance: c\n\t\t });\n\t\t }\n\t\t addRadioType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 10 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addCheckboxType);\n\t\t\n\t\t function addCheckboxType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setType({\n\t\t name: 'checkbox',\n\t\t template: __webpack_require__(20),\n\t\t wrapper: ['bootstrapHasError'],\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t label: c.string\n\t\t })\n\t\t },\n\t\t apiCheckInstance: c\n\t\t });\n\t\t }\n\t\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 11 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\tvar ngModuleName = 'formlyBootstrap';\n\t\tvar angular = __webpack_require__(4);\n\t\tvar ngModule = angular.module(ngModuleName, [__webpack_require__(2)]);\n\t\tngModule.constant('formlyBootstrapApiCheck', __webpack_require__(3)({\n\t\t output: {\n\t\t prefix: 'angular-formly-bootstrap'\n\t\t }\n\t\t}));\n\t\tngModule.constant('formlyBootstrapVersion', (\"4.3.2\"));\n\t\t\n\t\t__webpack_require__(5)(ngModule);\n\t\t__webpack_require__(6)(ngModule);\n\t\t__webpack_require__(7)(ngModule);\n\t\t\n\t\texports['default'] = ngModuleName;\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 12 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addInputType);\n\t\t\n\t\t function addInputType(formlyConfigProvider) {\n\t\t formlyConfigProvider.setType({\n\t\t name: 'input',\n\t\t template: '<input class=\"form-control\" ng-model=\"model[options.key]\">',\n\t\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t\t });\n\t\t }\n\t\t addInputType.$inject = [\"formlyConfigProvider\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 13 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\tfunction _defineProperty(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); }\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addSelectType);\n\t\t\n\t\t var template = '<select class=\"form-control\" ng-model=\"model[options.key]\"></select>';\n\t\t\n\t\t function addSelectType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setType({\n\t\t name: 'select',\n\t\t template: template,\n\t\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t\t defaultOptions: function defaultOptions(options) {\n\t\t /* jshint maxlen:195 */\n\t\t var ngOptions = options.templateOptions.ngOptions || 'option[to.valueProp || \\'value\\'] as option[to.labelProp || \\'name\\'] group by option[to.groupProp || \\'group\\'] for option in to.options';\n\t\t return {\n\t\t ngModelAttrs: _defineProperty({}, ngOptions, {\n\t\t value: 'ng-options'\n\t\t })\n\t\t };\n\t\t },\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t options: c.arrayOf(c.object),\n\t\t labelProp: c.string.optional,\n\t\t valueProp: c.string.optional,\n\t\t groupProp: c.string.optional\n\t\t })\n\t\t },\n\t\t apiCheckInstance: c\n\t\t });\n\t\t }\n\t\t addSelectType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 14 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.config(addTextareaType);\n\t\t\n\t\t function addTextareaType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t\t var c = formlyBootstrapApiCheck;\n\t\t formlyConfigProvider.setType({\n\t\t name: 'textarea',\n\t\t template: '<textarea class=\"form-control\" ng-model=\"model[options.key]\"></textarea>',\n\t\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t\t defaultOptions: {\n\t\t ngModelAttrs: {\n\t\t rows: { attribute: 'rows' },\n\t\t cols: { attribute: 'cols' }\n\t\t }\n\t\t },\n\t\t apiCheck: {\n\t\t templateOptions: c.shape({\n\t\t rows: c.number.optional,\n\t\t cols: c.number.optional\n\t\t })\n\t\t },\n\t\t apiCheckInstance: c\n\t\t });\n\t\t }\n\t\t addTextareaType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 15 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.run(addAddonsManipulator);\n\t\t\n\t\t function addAddonsManipulator(formlyConfig, formlyBootstrapApiCheck) {\n\t\t var addonTemplate = __webpack_require__(22);\n\t\t var addonChecker = formlyBootstrapApiCheck.shape({\n\t\t 'class': formlyBootstrapApiCheck.string.optional,\n\t\t text: formlyBootstrapApiCheck.string.optional,\n\t\t onClick: formlyBootstrapApiCheck.func.optional\n\t\t }).strict.optional;\n\t\t var api = formlyBootstrapApiCheck.shape({\n\t\t templateOptions: formlyBootstrapApiCheck.shape({\n\t\t addonLeft: addonChecker,\n\t\t addonRight: addonChecker\n\t\t })\n\t\t });\n\t\t formlyConfig.templateManipulators.preWrapper.push(function (template, options) {\n\t\t if (!options.templateOptions.addonLeft && !options.templateOptions.addonRight) {\n\t\t return template;\n\t\t }\n\t\t formlyBootstrapApiCheck.warn([api], [options]);\n\t\t return addonTemplate.replace('<formly-transclude></formly-transclude>', template);\n\t\t });\n\t\t }\n\t\t addAddonsManipulator.$inject = [\"formlyConfig\", \"formlyBootstrapApiCheck\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 16 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t'use strict';\n\t\t\n\t\tObject.defineProperty(exports, '__esModule', {\n\t\t value: true\n\t\t});\n\t\t\n\t\texports['default'] = function (ngModule) {\n\t\t ngModule.run(addDescriptionManipulator);\n\t\t\n\t\t function addDescriptionManipulator(formlyConfig) {\n\t\t formlyConfig.templateManipulators.preWrapper.push(function ariaDescribedBy(template, options, scope) {\n\t\t if (angular.isDefined(options.templateOptions.description)) {\n\t\t var el = document.createElement('div');\n\t\t el.appendChild(angular.element(template)[0]);\n\t\t el.appendChild(angular.element('<p id=\"' + scope.id + '_description\"' + 'class=\"help-block\"' + 'ng-if=\"to.description\">' + '{{to.description}}' + '</p>')[0]);\n\t\t var modelEls = angular.element(el.querySelectorAll('[ng-model]'));\n\t\t if (modelEls) {\n\t\t modelEls.attr('aria-describedby', scope.id + '_description');\n\t\t }\n\t\t return el.innerHTML;\n\t\t } else {\n\t\t return template;\n\t\t }\n\t\t });\n\t\t }\n\t\t addDescriptionManipulator.$inject = [\"formlyConfig\"];\n\t\t};\n\t\n\t\tmodule.exports = exports['default'];\n\t\n\t/***/ },\n\t/* 17 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div>\\n <label for=\\\"{{id}}\\\" class=\\\"control-label\\\">\\n {{to.label}}\\n {{to.required ? '*' : ''}}\\n </label>\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\t\n\t/***/ },\n\t/* 18 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div class=\\\"form-group\\\" ng-class=\\\"{'has-error': showError}\\\">\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\t\n\t/***/ },\n\t/* 19 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"radio\\\">\\n <label>\\n <input type=\\\"radio\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n tabindex=\\\"0\\\"\\n ng-value=\\\"option[to.valueProp || 'value']\\\"\\n ng-model=\\\"model[options.key]\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\t\n\t/***/ },\n\t/* 20 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div class=\\\"checkbox\\\">\\n\\t<label>\\n\\t\\t<input type=\\\"checkbox\\\"\\n class=\\\"formly-field-checkbox\\\"\\n\\t\\t ng-model=\\\"model[options.key]\\\">\\n\\t\\t{{to.label}}\\n\\t\\t{{to.required ? '*' : ''}}\\n\\t</label>\\n</div>\\n\"\n\t\n\t/***/ },\n\t/* 21 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"checkbox\\\">\\n <label>\\n <input type=\\\"checkbox\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n ng-model=\\\"multiCheckbox.checked[$index]\\\"\\n ng-change=\\\"multiCheckbox.change()\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\t\n\t/***/ },\n\t/* 22 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tmodule.exports = \"<div ng-class=\\\"{'input-group': to.addonLeft || to.addonRight}\\\">\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonLeft\\\"\\n ng-style=\\\"{cursor: to.addonLeft.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonLeft.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonLeft.class}}\\\" ng-if=\\\"to.addonLeft.class\\\"></i>\\n <span ng-if=\\\"to.addonLeft.text\\\">{{to.addonLeft.text}}</span>\\n </div>\\n <formly-transclude></formly-transclude>\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonRight\\\"\\n ng-style=\\\"{cursor: to.addonRight.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonRight.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonRight.class}}\\\" ng-if=\\\"to.addonRight.class\\\"></i>\\n <span ng-if=\\\"to.addonRight.text\\\">{{to.addonRight.text}}</span>\\n </div>\\n</div>\\n\"\n\t\n\t/***/ }\n\t/******/ ])\n\t});\n\t;\n\t//# sourceMappingURL=angular-formly-templates-bootstrap.js.map\n\n/***/ },\n/* 6 */\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 _edaEasyFormViewerMain = __webpack_require__(7);\n\t\n\tvar _edaEasyFormViewerMain2 = _interopRequireDefault(_edaEasyFormViewerMain);\n\t\n\tvar _edaEasyFormViewerCore = __webpack_require__(12);\n\t\n\tvar _edaEasyFormViewerCore2 = _interopRequireDefault(_edaEasyFormViewerCore);\n\t\n\tvar _edaEasyFormViewerModelTranslator = __webpack_require__(13);\n\t\n\tvar _edaEasyFormViewerModelTranslator2 = _interopRequireDefault(_edaEasyFormViewerModelTranslator);\n\t\n\tvar _edaEasyFormViewer = __webpack_require__(16);\n\t\n\tvar _edaEasyFormViewer2 = _interopRequireDefault(_edaEasyFormViewer);\n\t\n\tvar _easyFormConfig = __webpack_require__(18);\n\t\n\tvar _easyFormConfig2 = _interopRequireDefault(_easyFormConfig);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DEP_TO_INJECT_IN_MAIN = [_edaEasyFormViewerMain2.default.name, _edaEasyFormViewerCore2.default.name, _edaEasyFormViewerModelTranslator2.default.name];\n\t\n\tvar EASY_FORM_VIEWER_VERSION_NAME = 'easyFormViewerVersion';\n\tvar EASY_FORM_VIEWER_VERSION_VALUE = _easyFormConfig2.default.formviewer.version;\n\tvar MAIN_MODULE_NAME = 'eda.easyFormViewer';\n\t\n\tvar mainModule = angular.module(MAIN_MODULE_NAME, DEP_TO_INJECT_IN_MAIN).config(_edaEasyFormViewer2.default).value(EASY_FORM_VIEWER_VERSION_NAME, EASY_FORM_VIEWER_VERSION_VALUE);\n\t\n\texports.default = mainModule;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _edaEasyFormViewerMain = __webpack_require__(8);\n\t\n\tvar _edaEasyFormViewerMain2 = _interopRequireDefault(_edaEasyFormViewerMain);\n\t\n\tvar _edaEasyFormViewerMain3 = __webpack_require__(11);\n\t\n\tvar _edaEasyFormViewerMain4 = _interopRequireDefault(_edaEasyFormViewerMain3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/* global angular */\n\tvar FORM_VIEWER_MAIN_MODULE_NAME = 'edaFormViewerMainModule';\n\t\n\texports.default = angular.module(FORM_VIEWER_MAIN_MODULE_NAME, []).directive(_edaEasyFormViewerMain.EASY_FORM_VIEWER_DIRECTIVE_NAME, _edaEasyFormViewerMain2.default).controller(_edaEasyFormViewerMain3.EASY_FORM_VIEWER_CONTROLLER, _edaEasyFormViewerMain4.default);\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\texports.EASY_FORM_VIEWER_DIRECTIVE_NAME = undefined;\n\t\n\tvar _edaEasyFormViewerMainTemplate = __webpack_require__(9);\n\t\n\tvar _edaEasyFormViewerMainTemplate2 = _interopRequireDefault(_edaEasyFormViewerMainTemplate);\n\t\n\tvar _edaEasyFormViewerMainDirective = __webpack_require__(10);\n\t\n\tvar _edaEasyFormViewerMain = __webpack_require__(11);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar EASY_FORM_VIEWER_DIRECTIVE_NAME = 'edaEasyFormViewer'; /* global angular */\n\t\n\t\n\tfunction edaFormViewerDirective($modelsTranslator) {\n\t\tvar directive = {\n\t\t\trestrict: 'E',\n\t\t\tscope: {\n\t\t\t\tedaEasyFormViewerDataModel: '=?',\n\t\t\t\tedaEasyFormViewerEasyFormGeneratorFieldsModel: '=?',\n\t\t\t\tedaEasyFormViewerSubmitButtonText: '@?',\n\t\t\t\tedaEasyFormViewerCancelButtonText: '@?',\n\t\t\t\tedaEasyFormViewerSubmitFormEvent: '&?',\n\t\t\t\tedaEasyFormViewerCancelFormEvent: '&?'\n\t\t\t},\n\t\t\treplace: false,\n\t\t\tcontroller: _edaEasyFormViewerMain.EASY_FORM_VIEWER_CONTROLLER,\n\t\t\tcontrollerAs: _edaEasyFormViewerMain.EASY_FORM_VIEWER_CONTROLLERAS,\n\t\t\ttemplate: _edaEasyFormViewerMainTemplate2.default,\n\t\t\tlink: linkFct\n\t\t};\n\t\treturn directive;\n\t\n\t\tfunction linkFct(scope) {\n\t\t\tscope.vm.model = {};\n\t\t\tscope.vm.fields = loadFieldsModel();\n\t\t\tscope.vm.submitText = scope.edaEasyFormViewerSubmitButtonText || 'Submit';\n\t\t\tscope.vm.cancelText = scope.edaEasyFormViewerCancelButtonText || 'Cancel';\n\t\n\t\t\tscope.$watch(fieldsModelToWatch, fieldsModelWatcher, true);\n\t\t\tscope.$watch(dataModelToWatch, dataModelWatcher, true);\n\t\t\tscope.$watch(submitBtnTextToWatch, submitBtnTextWatcher);\n\t\t\tscope.$watch(cancelBtnTextToWatch, cancelBtnTextWatcher);\n\t\t\tscope.$watch(submitEventToWatch, submitEventWatcher);\n\t\t\tscope.$watch(cancelEventToWatch, cancelEventWatcher);\n\t\n\t\t\tfunction dataModelToWatch() {\n\t\t\t\treturn scope.vm.model;\n\t\t\t}\n\t\n\t\t\tfunction fieldsModelToWatch() {\n\t\t\t\treturn scope.edaEasyFormViewerEasyFormGeneratorFieldsModel;\n\t\t\t}\n\t\n\t\t\tfunction submitBtnTextToWatch() {\n\t\t\t\treturn scope.edaEasyFormViewerSubmitButtonText;\n\t\t\t}\n\t\n\t\t\tfunction cancelBtnTextToWatch() {\n\t\t\t\treturn scope.edaEasyFormViewerCancelButtonText;\n\t\t\t}\n\t\n\t\t\tfunction submitEventToWatch() {\n\t\t\t\treturn scope.vm.hasJustSumitted;\n\t\t\t}\n\t\n\t\t\tfunction cancelEventToWatch() {\n\t\t\t\treturn scope.vm.hasJustCancelled;\n\t\t\t}\n\t\n\t\t\tfunction fieldsModelWatcher(newFieldsModel) {\n\t\t\t\tscope.vm.fields = loadExistingConfigurationModel(newFieldsModel);\n\t\t\t}\n\t\n\t\t\tfunction submitBtnTextWatcher(newSubmitBtntext, oldSubmitBtntext) {\n\t\t\t\tif (newSubmitBtntext !== oldSubmitBtntext) {\n\t\t\t\t\tscope.vm.submitText = newSubmitBtntext || 'Submit';\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tfunction cancelBtnTextWatcher(newCancelBtntext, oldCancelBtntext) {\n\t\t\t\tif (newCancelBtntext !== oldCancelBtntext) {\n\t\t\t\t\tscope.vm.cancelText = newCancelBtntext || 'Submit';\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tfunction dataModelWatcher(newDataModel) {\n\t\t\t\tscope.edaEasyFormViewerDataModel = newDataModel;\n\t\t\t}\n\t\n\t\t\tfunction submitEventWatcher(newSubmitEvent) {\n\t\t\t\tif (newSubmitEvent === true) {\n\t\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerSubmitFormEvent)) {\n\t\t\t\t\t\tvar _dataModelSubmitted = scope.vm.model;\n\t\t\t\t\t\tscope.edaEasyFormViewerSubmitFormEvent({ dataModelSubmitted: _dataModelSubmitted });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tscope.vm.hasJustSumitted = false;\n\t\t\t}\n\t\n\t\t\tfunction cancelEventWatcher(newCancelEvent) {\n\t\t\t\tif (newCancelEvent === true) {\n\t\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerCancelFormEvent)) {\n\t\t\t\t\t\tscope.edaEasyFormViewerCancelFormEvent();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tscope.vm.hasJustCancelled = false;\n\t\t\t}\n\t\n\t\t\t/**\n\t \t* TODO : check if formly or easy form generato fields model\n\t \t*\n\t \t* by default or if both -> easy for generator is chosen\n\t \t*/\n\t\t\tfunction loadFieldsModel() {\n\t\t\t\tvar initialFieldsModel = angular.isArray(scope.edaEasyFormViewerEasyFormGeneratorFieldsModel) ?\n\t\t\t\t//translate easy form generator to formly fields model\n\t\t\t\tloadExistingConfigurationModel(scope.edaEasyFormViewerEasyFormGeneratorFieldsModel) : {};\n\t\n\t\t\t\treturn initialFieldsModel;\n\t\t\t}\n\t\n\t\t\tfunction loadExistingConfigurationModel(loadedFieldModel) {\n\t\n\t\t\t\tif (angular.isArray(loadedFieldModel)) {\n\t\t\t\t\tvar configlines = (0, _edaEasyFormViewerMainDirective.returnAttributeConfigurationLinesIfNotEmpty)(loadedFieldModel);\n\t\t\t\t\tvar formlyFieldsModel = [];\n\t\n\t\t\t\t\tscope.configurationLoaded = {};\n\t\n\t\t\t\t\t$modelsTranslator.bindConfigurationLines(scope.configurationLoaded, configlines);\n\t\t\t\t\t/**\n\t \t* rebind special control properties :\n\t \t*\n\t \t* formly expression properties\n\t \t* Validators\n\t \t* Validation\n\t \t*/\n\t\t\t\t\t$modelsTranslator.refreshControlFormlyExpressionProperties(scope.configurationLoaded);\n\t\t\t\t\t$modelsTranslator.refreshControlFormlyValidators(scope.configurationLoaded);\n\t\t\t\t\t$modelsTranslator.refreshControlFormlyValidation(scope.configurationLoaded);\n\t\n\t\t\t\t\t//apply configuration model\n\t\t\t\t\tscope.configuration = angular.copy(scope.configurationLoaded);\n\t\n\t\t\t\t\t//apply formly model\n\t\t\t\t\t$modelsTranslator.applyConfigurationToformlyModel(scope.configurationLoaded, formlyFieldsModel, scope.vm.model);\n\t\n\t\t\t\t\treturn formlyFieldsModel;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\tedaFormViewerDirective.$inject = ['$modelsTranslator'];\n\texports.default = edaFormViewerDirective;\n\texports.EASY_FORM_VIEWER_DIRECTIVE_NAME = EASY_FORM_VIEWER_DIRECTIVE_NAME;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"<div class=\\\"easyFormViewer\\\">\\n\\t\\n\\t<form \\tng-submit=\\\"vm.onSubmit()\\\"\\n\\t\\t\\t\\t\\tname=\\\"vm.form\\\"> \\n\\t\\t<formly-form \\tmodel=\\\"vm.model\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfields=\\\"vm.fields\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tform=\\\"vm.form\\\"> \\n\\t\\t\\t\\n\\t\\t\\t<div class=\\\"pull-right\\\">\\n\\t\\t\\t\\t<button type=\\\"submit\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-disabled=\\\"vm.form.$invalid\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaSubmitThisDataModel();\\\">{{vm.submitText}}</button>\\n\\t\\t\\t\\t<button type=\\\"button\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaCancelEvent();\\\">{{vm.cancelText}}</button>\\t\\t\\t\\t\\n\\t\\t\\t</div>\\t\\t\\t\\t\\t\\t\\n\\n\\t\\t</formly-form> \\n\\t</form>\\n\\n</div>\"\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t/* global angular */\n\t\n\tvar EMPTY_FIELD_MODEL = [{\n\t\t'line': 1,\n\t\t'activeColumn': 1,\n\t\t'columns': [{\n\t\t\t'numColumn': 1,\n\t\t\t'exist': true,\n\t\t\t'control': {\n\t\t\t\t'type': 'none',\n\t\t\t\t'key': 'none'\n\t\t\t}\n\t\t}]\n\t}];\n\t\n\t/**\n\t\t* empty fields model : to display at least an empty line\n\t\t* otherwise would look like ugly empty line like it were a bug\n\t\t*/\n\tvar emptyEdaFieldsModel = function emptyEdaFieldsModel() {\n\t\treturn angular.copy(EMPTY_FIELD_MODEL);\n\t};\n\t\n\tvar returnAttributeDataModelIfNotEmpty = function returnAttributeDataModelIfNotEmpty(edaEasyFormGeneratorModel) {\n\t\tvar dataModelToReturn = angular.isArray(edaEasyFormGeneratorModel.dataModel) ? edaEasyFormGeneratorModel.dataModel.length > 0 ? edaEasyFormGeneratorModel.dataModel : [] : [];\n\t\treturn dataModelToReturn;\n\t};\n\t\n\tvar returnAttributeConfigurationLinesIfNotEmpty = function returnAttributeConfigurationLinesIfNotEmpty(loadedFieldModel) {\n\t\tvar edaEasyFormGeneratorModelToReturn = angular.isArray(loadedFieldModel) ? loadedFieldModel.length > 0 ? loadedFieldModel : emptyEdaFieldsModel() : emptyEdaFieldsModel();\n\t\treturn edaEasyFormGeneratorModelToReturn;\n\t};\n\t\n\texports.emptyEdaFieldsModel = emptyEdaFieldsModel;\n\texports.returnAttributeDataModelIfNotEmpty = returnAttributeDataModelIfNotEmpty;\n\texports.returnAttributeConfigurationLinesIfNotEmpty = returnAttributeConfigurationLinesIfNotEmpty;\n\n/***/ },\n/* 11 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: 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\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar EASY_FORM_VIEWER_CONTROLLER = 'edaEasyFormViewerCtrl';\n\tvar EASY_FORM_VIEWER_CONTROLLERAS = 'vm';\n\t\n\tvar edaEasyFormViewerController = function () {\n\t\tfunction edaEasyFormViewerController() {\n\t\t\t_classCallCheck(this, edaEasyFormViewerController);\n\t\n\t\t\tthis.init();\n\t\t}\n\t\n\t\t_createClass(edaEasyFormViewerController, [{\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tthis.model = {};\n\t\t\t\tthis.fields = {};\n\t\t\t\tthis.hasJustSumitted = false;\n\t\t\t\tthis.hasJustCancelled = false;\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'edaSubmitThisDataModel',\n\t\t\tvalue: function edaSubmitThisDataModel() {\n\t\t\t\tthis.hasJustSumitted = true;\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'edaCancelEvent',\n\t\t\tvalue: function edaCancelEvent() {\n\t\t\t\tthis.hasJustCancelled = true;\n\t\t\t}\n\t\t}]);\n\t\n\t\treturn edaEasyFormViewerController;\n\t}();\n\t\n\tedaEasyFormViewerController.$inject = [];\n\t\n\texports.default = edaEasyFormViewerController;\n\texports.EASY_FORM_VIEWER_CONTROLLER = EASY_FORM_VIEWER_CONTROLLER;\n\texports.EASY_FORM_VIEWER_CONTROLLERAS = EASY_FORM_VIEWER_CONTROLLERAS;\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\tvar CORE_MODULES = ['textAngular', 'formly', 'ngAnimate', 'formlyBootstrap', 'ui.bootstrap', 'nya.bootstrap.select'];\n\t\n\tvar FORMVIEWER_CORE_MODULE_NAME = 'edaEasyFormViewerCore.module';\n\t\n\texports.default = angular.module(FORMVIEWER_CORE_MODULE_NAME, CORE_MODULES);\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _edaEasyFormViewerModelTranslator = __webpack_require__(14);\n\t\n\tvar _edaEasyFormViewerModelTranslator2 = _interopRequireDefault(_edaEasyFormViewerModelTranslator);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME = 'edaFormViewerModelTranslatorModule'; /* global angular */\n\texports.default = angular.module(FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME, []).service(_edaEasyFormViewerModelTranslator.MODEL_TRANSLATOR_SERVICE, _edaEasyFormViewerModelTranslator2.default);\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\texports.MODEL_TRANSLATOR_SERVICE = undefined;\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; }; }(); /* global angular */\n\t\n\t\n\tvar _edaEasyFormViewerModelTranslatorService = __webpack_require__(15);\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar MODEL_TRANSLATOR_SERVICE = '$modelsTranslator';\n\t\n\tvar $modelsTranslator = function () {\n\t\tfunction $modelsTranslator() {\n\t\t\t_classCallCheck(this, $modelsTranslator);\n\t\t}\n\t\n\t\t_createClass($modelsTranslator, [{\n\t\t\tkey: 'initNyaSelect',\n\t\t\tvalue: function initNyaSelect(nyaSelectObj) {\n\t\t\t\treturn (0, _edaEasyFormViewerModelTranslatorService.resetNyaSelect)(nyaSelectObj);\n\t\t\t}\n\t\n\t\t\t/**\n\t \t* get all controls definition (nyaSelectObj)\n\t \t* \n\t \t* needed to bind these properties :\n\t \t* \n\t \t* formlyExpressionProperties: {}, \n\t \t* formlyValidators: {},\n\t \t* formlyValidation \t\t\n\t \t*/\n\t\n\t\t}, {\n\t\t\tkey: 'getControlsDefinition',\n\t\t\tvalue: function getControlsDefinition() {\n\t\t\t\tvar controls = {};\n\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.resetNyaSelect)(controls);\n\t\t\t\treturn controls;\n\t\t\t}\n\t\n\t\t\t/**\n\t \t* loading forms will not be able to retrieve formlyExpressionProperties\n\t \t* -> here does the job\n\t \t*/\n\t\n\t\t}, {\n\t\t\tkey: 'refreshControlFormlyExpressionProperties',\n\t\t\tvalue: function refreshControlFormlyExpressionProperties(configurationModel) {\n\t\t\t\tvar _this = this;\n\t\n\t\t\t\tif (angular.isObject(configurationModel)) {\n\t\t\t\t\t//iterates lines\n\t\t\t\t\tangular.forEach(configurationModel.lines, function (line) {\n\t\t\t\t\t\tangular.forEach(line.columns, function (column) {\n\t\t\t\t\t\t\tvar _controlsDefinition = _this.getControlsDefinition();\n\t\t\t\t\t\t\tangular.forEach(_controlsDefinition.controls, function (aControl) {\n\t\t\t\t\t\t\t\tif (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t\t//----> update control formlyExpressionProperties property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcolumn.control.formlyExpressionProperties = aControl.formlyExpressionProperties;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\t/**\n\t \t* loading forms will not be able to retrieve formlyValidators\n\t \t* -> here does the job\n\t \t*/\n\t\n\t\t}, {\n\t\t\tkey: 'refreshControlFormlyValidators',\n\t\t\tvalue: function refreshControlFormlyValidators(configurationModel) {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\tif (angular.isObject(configurationModel)) {\n\t\t\t\t\t//iterates lines\n\t\t\t\t\tangular.forEach(configurationModel.lines, function (line) {\n\t\t\t\t\t\tangular.forEach(line.columns, function (column) {\n\t\t\t\t\t\t\tvar _controlsDefinition = _this2.getControlsDefinition();\n\t\t\t\t\t\t\tangular.forEach(_controlsDefinition.controls, function (aControl) {\n\t\t\t\t\t\t\t\tif (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t\t//----> update control formlyValidators property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcolumn.control.formlyValidators = aControl.formlyValidators;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\t/**\n\t \t* loading forms will not be able to retrieve formlyValidation\n\t \t* -> here does the job\n\t \t*/\n\t\n\t\t}, {\n\t\t\tkey: 'refreshControlFormlyValidation',\n\t\t\tvalue: function refreshControlFormlyValidation(configurationModel) {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\tif (angular.isObject(configurationModel)) {\n\t\t\t\t\t//iterates lines\n\t\t\t\t\tangular.forEach(configurationModel.lines, function (line) {\n\t\t\t\t\t\tangular.forEach(line.columns, function (column) {\n\t\t\t\t\t\t\tvar _controlsDefinition = _this3.getControlsDefinition();\n\t\t\t\t\t\t\tangular.forEach(_controlsDefinition.controls, function (aControl) {\n\t\t\t\t\t\t\t\tif (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t\t//----> update control formlyValidation property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcolumn.control.formlyValidation = aControl.formlyValidation;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\t// initConfigurationEditFromScratch(configurationModel) {\n\t\t\t// \tconfigurationModel = angular.copy(getConfigurationModelInit());\n\t\t\t// }\t\n\t\n\t\n\t\t}, {\n\t\t\tkey: 'bindConfigurationLines',\n\t\t\tvalue: function bindConfigurationLines(configurationModel, lines) {\n\t\t\t\tif (angular.isArray(lines)) {\n\t\t\t\t\tvar configurationModelResult = (0, _edaEasyFormViewerModelTranslatorService.getEmptyConfigModelResult)();\n\t\t\t\t\tconfigurationModelResult.lines = [].concat(lines);\n\t\t\t\t\tangular.copy(configurationModelResult, configurationModel);\n\t\t\t\t\treturn (0, _edaEasyFormViewerModelTranslatorService.getMessageObject)('configuration model is bound', 'lines are bound to configuration model.');\n\t\t\t\t} else {\n\t\t\t\t\treturn (0, _edaEasyFormViewerModelTranslatorService.getErrorObject)('lines is not an array', 'Checks lines type, it is not an array.');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'applyConfigurationToformlyModel',\n\t\t\tvalue: function applyConfigurationToformlyModel(configurationModel, formlyModel, formlyDataModel) {\n\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.resetFormlyModel)(formlyModel);\n\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.resetDataModel)(formlyDataModel);\n\t\t\t\t/**\n\t \t* manage header here line0 \n\t \t*/\n\t\t\t\tvar lineNumber = configurationModel.lines.length;\n\t\t\t\tfor (var i = 0; i < lineNumber; i++) {\n\t\t\t\t\t//1 column line control\n\t\t\t\t\tif (configurationModel.lines[i].columns.length === 1) {\n\t\t\t\t\t\t//test if template control = header\n\t\t\t\t\t\tif (configurationModel.lines[i].columns[0].control.type === 'header') {\n\t\t\t\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.addOneColumnHeader)(formlyModel, configurationModel, i);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.addOneColumnControl)(formlyModel, configurationModel, i);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (configurationModel.lines[i].columns.length === 2) {\n\t\t\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.addTwoColumnControl)(formlyModel, configurationModel, i);\n\t\t\t\t\t}\n\t\t\t\t\tif (configurationModel.lines[i].columns.length === 3) {\n\t\t\t\t\t\t(0, _edaEasyFormViewerModelTranslatorService.addThreeColumnControl)(formlyModel, configurationModel, i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}]);\n\t\n\t\treturn $modelsTranslator;\n\t}();\n\t\n\t$modelsTranslator.$inject = [];\n\t\n\texports.default = $modelsTranslator;\n\texports.MODEL_TRANSLATOR_SERVICE = MODEL_TRANSLATOR_SERVICE;\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t/* global angular */\n\t\n\tvar resetNyaSelect = function resetNyaSelect(nyaSelectObj) {\n\t\n\t\tvar newNyaSelectObj = {\n\t\t\tcontrols: [{\n\t\t\t\tid: 'empty',\n\t\t\t\tname: 'no control',\n\t\t\t\tsubtitle: 'no control',\n\t\t\t\tgroup: 'Blank',\n\t\t\t\tformlyType: 'blank',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {}\n\t\t\t}, {\n\t\t\t\tid: 'Header',\n\t\t\t\tname: 'Header',\n\t\t\t\tsubtitle: 'no control',\n\t\t\t\tgroup: 'Decoration',\n\t\t\t\tformlyType: 'header',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {}\n\t\t\t}, {\n\t\t\t\tid: 'Subtitle',\n\t\t\t\tname: 'Subtitle',\n\t\t\t\tsubtitle: 'no control',\n\t\t\t\tgroup: 'Decoration',\n\t\t\t\tformlyType: 'subTitle',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {}\n\t\t\t}, {\n\t\t\t\tid: 'TextInput',\n\t\t\t\tname: 'Text input',\n\t\t\t\tsubtitle: 'Text input',\n\t\t\t\tgroup: 'input',\n\t\t\t\tformlyType: 'input',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Text input field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Password',\n\t\t\t\tname: 'Password',\n\t\t\t\tsubtitle: 'Password',\n\t\t\t\tgroup: 'input',\n\t\t\t\tformlyType: 'input',\n\t\t\t\tformlySubtype: 'password',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Password field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Email',\n\t\t\t\tname: 'Email',\n\t\t\t\tsubtitle: 'Email',\n\t\t\t\tgroup: 'input',\n\t\t\t\tformlyType: 'input',\n\t\t\t\tformlySubtype: 'email',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\n\t\t\t\tformlyValidators: {\n\t\t\t\t\temailShape: {\n\t\t\t\t\t\texpression: function expression(viewValue, modelValue) {\n\t\t\t\t\t\t\tvar value = modelValue || viewValue;\n\t\t\t\t\t\t\treturn (/^[a-z]+[a-z0-9._]+@[a-z]+\\.[a-z.]{2,5}$/.test(value)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tmessage: '$viewValue + \\' is not a valid email\\''\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Email field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\t//check if validation is really dued to require validation\n\t\t\t\t\t\t\t//and not another validation like emailShape validator\n\t\t\t\t\t\t\tif (scope.to.required) return returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Date',\n\t\t\t\tname: 'Date',\n\t\t\t\tsubtitle: 'Date',\n\t\t\t\tgroup: 'input',\n\t\t\t\tformlyType: 'datepicker',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tdatepickerOptions: { format: 'dd-MMMM-yyyy' },\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Date field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Texarea',\n\t\t\t\tname: 'Textarea',\n\t\t\t\tsubtitle: 'Textarea',\n\t\t\t\tgroup: 'Textarea',\n\t\t\t\tformlyType: 'textarea',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Textarea field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'RichTextEditor',\n\t\t\t\tname: 'RichTextEditor',\n\t\t\t\tsubtitle: 'RichTextEditor',\n\t\t\t\tgroup: 'Textarea',\n\t\t\t\tformlyType: 'richEditor',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this RichTextEditor field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Radio',\n\t\t\t\tname: 'Radio',\n\t\t\t\tsubtitle: 'Radio',\n\t\t\t\toptions: [],\n\t\t\t\tgroup: 'Radio',\n\t\t\t\tformlyType: 'radio',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Password field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'Checkbox',\n\t\t\t\tname: 'Checkbox',\n\t\t\t\tsubtitle: 'Checkbox',\n\t\t\t\tgroup: 'Checkbox',\n\t\t\t\tformlyType: 'checkbox',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Checkbox field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'BasicSelect',\n\t\t\t\tname: 'Basic select',\n\t\t\t\tsubtitle: 'Basic select',\n\t\t\t\toptions: [],\n\t\t\t\tgroup: 'Select',\n\t\t\t\tformlyType: 'basicSelect',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Basic select field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tid: 'GroupedSelect',\n\t\t\t\tname: 'Grouped Select',\n\t\t\t\tsubtitle: 'Grouped Select',\n\t\t\t\toptions: [],\n\t\t\t\tgroup: 'Select',\n\t\t\t\tformlyType: 'groupedSelect',\n\t\t\t\tformlySubtype: '',\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg = 'this Grouped Select field is required';\n\t\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}],\n\t\t\tselectedControl: 'none',\n\t\t\ttemporyConfig: {\n\t\t\t\tselectedControl: 'none',\n\t\t\t\tformlyLabel: 'label',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyPlaceholder: '',\n\t\t\t\tformlyOptions: [],\n\t\t\t\t//expressions/validation fields\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators: {},\n\t\t\t\tformlyValidation: {}\n\t\t\t}\n\t\n\t\t};\n\t\n\t\t//reset\n\t\tangular.copy(newNyaSelectObj, nyaSelectObj);\n\t\treturn true;\n\t};\n\t\n\t/**\n\t\t* equivalent to formFielManage service in easy form generator\n\t\t*/\n\tvar getConfigurationModelInit = function getConfigurationModelInit() {\n\t\tvar configurationModelInit = {\n\t\t\tactiveLine: 1,\n\t\t\tlistConfigStep: ['init', 'first', 'second', 'third'],\n\t\t\tstepIndicators: [true, false, false, false],\n\t\t\tconfigStepCounter: 0,\n\t\t\tsubmitButtonText: 'submit',\n\t\t\tcancelButtonText: 'cancel',\n\t\t\tlines: [{\n\t\t\t\tline: 1,\n\t\t\t\tactiveColumn: 1,\n\t\t\t\tcolumns: [{\n\t\t\t\t\tnumColumn: 1,\n\t\t\t\t\texist: true,\n\t\t\t\t\tcontrol: {\n\t\t\t\t\t\ttype: 'none',\n\t\t\t\t\t\tkey: 'none'\n\t\t\t\t\t\t// templateOptions: {\n\t\t\t\t\t\t// label: 'none',\n\t\t\t\t\t\t// placeholder: 'none',\n\t\t\t\t\t\t// required: false,\n\t\t\t\t\t\t// description: 'Descriptive text'\n\t\t\t\t\t\t// }\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}]\n\t\t};\n\t\treturn configurationModelInit;\n\t};\n\t\n\tvar getEmptyConfigModelResult = function getEmptyConfigModelResult() {\n\t\tvar configurationModelResult = {\n\t\t\tactiveLine: 1,\n\t\t\tlistConfigStep: ['init', 'first', 'second', 'third'],\n\t\t\tstepIndicators: [true, false, false, false],\n\t\t\tconfigStepCounter: 0,\n\t\t\tsubmitButtonText: 'submit',\n\t\t\tcancelButtonText: 'cancel',\n\t\t\tlines: []\n\t\t};\n\t\treturn angular.copy(configurationModelResult);\n\t};\n\t\n\tvar resetDataModel = function resetDataModel(obj) {\n\t\tvar emptyDataModel = {};\n\t\tangular.copy(emptyDataModel, obj);\n\t\treturn true;\n\t};\n\t\n\tvar getErrorObject = function getErrorObject(errorTitle, errorMessage) {\n\t\tvar messageObj = {\n\t\t\tnoError: false,\n\t\t\ttitle: '',\n\t\t\tMessage: ''\n\t\t};\n\t\tmessageObj.noError = false;\n\t\tmessageObj.title = errorTitle;\n\t\tmessageObj.Message = errorMessage;\n\t\treturn messageObj;\n\t};\n\t\n\tvar getMessageObject = function getMessageObject(messageTitle, messageBody) {\n\t\tvar messageObj = {\n\t\t\tnoError: false,\n\t\t\ttitle: '',\n\t\t\tMessage: ''\n\t\t};\n\t\tmessageObj.noError = true;\n\t\tmessageObj.title = messageTitle;\n\t\tmessageObj.Message = messageBody;\n\t\treturn messageObj;\n\t};\n\t\n\tvar resetFormlyModel = function resetFormlyModel(formlyModel) {\n\t\tvar resetformly = [];\n\t\tangular.copy(resetformly, formlyModel);\n\t};\n\t\n\tvar extractTemplateOptionDescription = function extractTemplateOptionDescription(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.description !== 'undefined' ? obj.templateOptions.description : '' : '';\n\t};\n\t\n\tvar extractTemplateOptionPlaceholder = function extractTemplateOptionPlaceholder(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.placeholder !== 'undefined' ? obj.templateOptions.placeholder : '' : '';\n\t};\n\t\n\tvar extractTemplateOptionType = function extractTemplateOptionType(obj) {\n\t\treturn typeof obj.subtype !== 'undefined' ? obj.subtype : '';\n\t};\n\t\n\t// const isTemplateOptionDefined = (obj) => typeof obj.templateOptions !== 'undefined' ? true : false;\n\t\n\tvar extractTemplateOptionLabel = function extractTemplateOptionLabel(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.label !== 'undefined' ? obj.templateOptions.label : '' : '';\n\t};\n\t\n\tvar extractTemplateOptionDatepickerOptions = function extractTemplateOptionDatepickerOptions(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.datepickerOptions !== 'undefined' ? angular.copy(obj.templateOptions.datepickerOptions) : '' : '';\n\t};\n\t\n\tvar extractFormlyExpressionProperties = function extractFormlyExpressionProperties(obj) {\n\t\treturn typeof obj.formlyExpressionProperties !== 'undefined' ? angular.copy(obj.formlyExpressionProperties) : {};\n\t};\n\t\n\tvar extractFormlyValidators = function extractFormlyValidators(obj) {\n\t\treturn typeof obj.formlyValidators !== 'undefined' ? angular.copy(obj.formlyValidators) : {};\n\t};\n\t\n\tvar extractFormlyValidation = function extractFormlyValidation(obj) {\n\t\treturn typeof obj.formlyValidation !== 'undefined' ? angular.copy(obj.formlyValidation) : {};\n\t};\n\t\n\tvar extractTemplateOptionRequired = function extractTemplateOptionRequired(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.required !== 'undefined' ? obj.templateOptions.required : '' : '';\n\t};\n\t\n\tvar extractTemplateOptionOptions = function extractTemplateOptionOptions(obj) {\n\t\treturn typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.options !== 'undefined' ? obj.templateOptions.options : '' : '';\n\t};\n\t\n\tvar addDatepickerOptionsProperty = function addDatepickerOptionsProperty(fieldToPush, configurationModel, lineIndex) {\n\t\treturn fieldToPush.templateOptions.datepickerOptions = extractTemplateOptionDatepickerOptions(configurationModel.lines[lineIndex].columns[0].control);\n\t};\n\t\n\tvar addOneColumnHeader = function addOneColumnHeader(formlyModel, configurationModel, lineIndex) {\n\t\t/**\n\t \t* text header is stored in \"description\" in templateOtion model\n\t \t*/\n\t\tvar headerTemplateCol0 = '<div class=\"row\"><div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control) + '<h2></div></div><hr/>';\n\t\tformlyModel.push({\n\t\t\ttemplate: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.type === 'header' ? headerTemplateCol0 : '<div></div>' : '<div></div>'\n\t\t});\n\t};\n\t\n\tvar addOneColumnControl = function addOneColumnControl(formlyModel, configurationModel, lineIndex) {\n\t\tvar fieldToPush = {\n\t\t\tclassName: 'col-xs-12',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[0].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t\t};\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(fieldToPush, configurationModel, lineIndex);\n\t\n\t\tformlyModel.push(fieldToPush);\n\t};\n\t\n\tvar addTwoColumnControl = function addTwoColumnControl(formlyModel, configurationModel, lineIndex) {\n\t\n\t\t//text header is stored in \"description\" in templateOtion model\n\t\tvar headerTemplateCol0 = {\n\t\t\tclassName: 'col-xs-6',\n\t\t\ttemplate: '<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control) + '<h2><hr/></div></div>'\n\t\t};\n\t\n\t\tvar headerTemplateCol1 = {\n\t\t\tclassName: 'col-xs-6',\n\t\t\ttemplate: '<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control) + '<h2><hr/></div></div>'\n\t\t};\n\t\n\t\tvar controlCol0 = {\n\t\t\tclassName: 'col-xs-6',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[0].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t\t};\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol0, configurationModel, lineIndex);\n\t\n\t\tvar controlCol1 = {\n\t\t\tclassName: 'col-xs-6',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[1].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[1].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[1].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[1].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[1].control)\n\t\t};\n\t\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol1, configurationModel, lineIndex);\n\t\n\t\tvar FieldGroup = [];\n\t\n\t\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'header') {\n\t\t\tFieldGroup.push(headerTemplateCol0);\n\t\t} else {\n\t\t\tFieldGroup.push(controlCol0);\n\t\t}\n\t\n\t\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'header') {\n\t\t\tFieldGroup.push(headerTemplateCol1);\n\t\t} else {\n\t\t\tFieldGroup.push(controlCol1);\n\t\t}\n\t\n\t\tformlyModel.push({\n\t\t\tclassName: 'row',\n\t\t\tfieldGroup: FieldGroup\n\t\t});\n\t};\n\t\n\tvar addThreeColumnControl = function addThreeColumnControl(formlyModel, configurationModel, lineIndex) {\n\t\t//text header is stored in \"description\" in templateOtion model\n\t\tvar headerTemplateCol0 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttemplate: '<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control) + '<h2><hr/></div></div>'\n\t\t};\n\t\n\t\tvar headerTemplateCol1 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttemplate: '<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control) + '<h2><hr/></div></div>'\n\t\t};\n\t\n\t\tvar headerTemplateCol2 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttemplate: '<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">' + extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[2].control) + '<h2><hr/></div></div>'\n\t\t};\n\t\n\t\tvar controlCol0 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[0].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t\t};\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol0, configurationModel, lineIndex);\n\t\n\t\tvar controlCol1 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[1].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[1].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[1].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[1].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[1].control)\n\t\t};\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol1, configurationModel, lineIndex);\n\t\n\t\tvar controlCol2 = {\n\t\t\tclassName: 'col-xs-4',\n\t\t\ttype: typeof configurationModel.lines[lineIndex].columns[2].control.type !== 'undefined' ? configurationModel.lines[lineIndex].columns[2].control.type === 'none' ? 'blank' : configurationModel.lines[lineIndex].columns[2].control.type : 'blank',\n\t\t\tkey: typeof configurationModel.lines[lineIndex].columns[2].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[2].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\ttype: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\tlabel: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\trequired: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\tplaceholder: extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\tdescription: extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\toptions: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[2].control)\n\t\t\t},\n\t\t\texpressionProperties: extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\tvalidators: extractFormlyValidators(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\tvalidation: extractFormlyValidation(configurationModel.lines[lineIndex].columns[2].control)\n\t\t};\n\t\t//////////////////////////////////////////////\n\t\t//datepicker additionnal particular property\n\t\t//////////////////////////////////////////////\n\t\tif (configurationModel.lines[lineIndex].columns[2].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol2, configurationModel, lineIndex);\n\t\n\t\tvar FieldGroup = [];\n\t\n\t\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'header') {\n\t\t\tFieldGroup.push(headerTemplateCol0);\n\t\t} else {\n\t\t\tFieldGroup.push(controlCol0);\n\t\t}\n\t\n\t\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'header') {\n\t\t\tFieldGroup.push(headerTemplateCol1);\n\t\t} else {\n\t\t\tFieldGroup.push(controlCol1);\n\t\t}\n\t\n\t\tif (configurationModel.lines[lineIndex].columns[2].control.type === 'header') {\n\t\t\tFieldGroup.push(headerTemplateCol2);\n\t\t} else {\n\t\t\tFieldGroup.push(controlCol2);\n\t\t}\n\t\n\t\tformlyModel.push({\n\t\t\tclassName: 'row',\n\t\t\tfieldGroup: FieldGroup\n\t\t});\n\t};\n\t\n\texports.resetNyaSelect = resetNyaSelect;\n\texports.getConfigurationModelInit = getConfigurationModelInit;\n\texports.getEmptyConfigModelResult = getEmptyConfigModelResult;\n\texports.resetDataModel = resetDataModel;\n\texports.getErrorObject = getErrorObject;\n\texports.getMessageObject = getMessageObject;\n\texports.resetFormlyModel = resetFormlyModel;\n\texports.addOneColumnHeader = addOneColumnHeader;\n\texports.addOneColumnControl = addOneColumnControl;\n\texports.addTwoColumnControl = addTwoColumnControl;\n\texports.addThreeColumnControl = addThreeColumnControl;\n\n/***/ },\n/* 16 */\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 _edaEasyFormViewerFormly = __webpack_require__(17);\n\t\n\tfunction edaEasyFormViewerConfig(formlyConfigProvider) {\n\t\n\t formlyConfigProvider.setType({\n\t name: 'richEditor',\n\t template: _edaEasyFormViewerFormly.richTextTemplate,\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t });\n\t\n\t formlyConfigProvider.setType({\n\t name: 'blank',\n\t template: _edaEasyFormViewerFormly.blankTemplate\n\t });\n\t\n\t formlyConfigProvider.setType({\n\t name: 'subTitle',\n\t template: _edaEasyFormViewerFormly.subTitleTemplate\n\t });\n\t\n\t formlyConfigProvider.setType({\n\t name: 'basicSelect',\n\t template: _edaEasyFormViewerFormly.basicSelectTemplate,\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t });\n\t\n\t formlyConfigProvider.setType({\n\t name: 'groupedSelect',\n\t template: _edaEasyFormViewerFormly.groupedSelectTemplate,\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t });\n\t\n\t ////////////////////////////\n\t // angular UI date picker\n\t ////////////////////////////\n\t // thx Kent C. Dodds\n\t\n\t var attributes = ['date-disabled', 'custom-class', 'show-weeks', 'starting-day', 'init-date', 'min-mode', 'max-mode', 'format-day', 'format-month', 'format-year', 'format-day-header', 'format-day-title', 'format-month-title', 'year-range', 'shortcut-propagation', 'datepicker-popup', 'show-button-bar', 'current-text', 'clear-text', 'close-text', 'close-on-date-selection', 'datepicker-append-to-body'];\n\t\n\t var bindings = ['datepicker-mode', 'min-date', 'max-date'];\n\t\n\t var ngModelAttrs = {};\n\t\n\t angular.forEach(attributes, function (attr) {\n\t ngModelAttrs[camelize(attr)] = { attribute: attr };\n\t });\n\t\n\t angular.forEach(bindings, function (binding) {\n\t ngModelAttrs[camelize(binding)] = { bound: binding };\n\t });\n\t\n\t formlyConfigProvider.setType({\n\t name: 'datepicker',\n\t template: _edaEasyFormViewerFormly.datepickerTemplate,\n\t defaultOptions: {\n\t ngModelAttrs: ngModelAttrs,\n\t templateOptions: {\n\t datepickerOptions: {\n\t format: 'dd/MM/yyyy',\n\t initDate: new Date(),\n\t showWeeks: false\n\t }\n\t }\n\t },\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t controller: ['$scope', function ($scope) {\n\t // console.info('ui calendar init');\n\t $scope.datepicker = {};\n\t\n\t // make sure the initial value is of type DATE!\n\t var currentModelVal = $scope.model[$scope.options.key];\n\t if (typeof currentModelVal == 'string') {\n\t $scope.model[$scope.options.key] = new Date(currentModelVal);\n\t }\n\t\n\t $scope.datepicker.opened = false;\n\t $scope.datepicker.open = function ($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t // console.info('ui calendar open event');\n\t $scope.datepicker.opened = !$scope.datepicker.opened;\n\t };\n\t }]\n\t\n\t });\n\t\n\t /**\n\t * wrappers to show validation errors\n\t * without having to rewrite formly types\n\t */\n\t formlyConfigProvider.setWrapper([{\n\t template: _edaEasyFormViewerFormly.validationTemplate\n\t }]);\n\t\n\t function camelize(string) {\n\t string = string.replace(/[\\-_\\s]+(.)?/g, function (match, chr) {\n\t return chr ? chr.toUpperCase() : '';\n\t });\n\t // Ensure 1st char is always lowercase\n\t return string.replace(/^([A-Z])/, function (match, chr) {\n\t return chr ? chr.toLowerCase() : '';\n\t });\n\t }\n\t}\n\t\n\tedaEasyFormViewerConfig.$inject = ['formlyConfigProvider'];\n\t\n\texports.default = edaEasyFormViewerConfig;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar richTextTemplate = \"\\n\\t<text-angular name=\\\"{{id}}\\\"\\n\\t\\tclass=\\\"richTextAngular\\\"\\n\\t\\tng-model=\\\"model[options.key || index]\\\">\\n\\t</text-angular>\";\n\t\n\tvar blankTemplate = \"<div></div>\";\n\t\n\tvar subTitleTemplate = \"\\n\\t<div class=\\\"row\\\">\\n\\t\\t<div class=\\\"\\\">\\n\\t\\t\\t<h4 class=\\\"text-center\\\">\\n\\t\\t\\t{{options.templateOptions.placeholder}}\\n\\t\\t\\t<h4><hr/>\\n\\t\\t</div>\\n\\t</div>\";\n\t\n\tvar basicSelectTemplate = \"\\n<ol\\n\\tclass=\\\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\\\"\\n\\tng-model=\\\"model[options.key || index]\\\"\\n\\tid=\\\"{{id}}\\\"\\n\\tdisabled=\\\"options.templateOptions.options.length === 0\\\">\\n\\t<li class=\\\"nya-bs-option\\\" nya-bs-option=\\\"option in options.templateOptions.options\\\">\\n\\t\\t<a>{{option.name}}</a>\\n\\t</li>\\n</ol>\";\n\t\n\tvar groupedSelectTemplate = \"\\n\\t<ol class=\\\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\\\"\\n\\t\\tng-model=\\\"model[options.key || index]\\\"\\n\\t\\tdata-live-search=\\\"true\\\"\\n\\t\\tdisabled=\\\"options.templateOptions.options.length === 0\\\">\\n\\t\\t<li nya-bs-option=\\\"option in options.templateOptions.options group by option.group\\\">\\n\\t\\t\\t<span class=\\\"dropdown-header\\\">{{$group}}</span>\\n\\t\\t\\t<a>\\n\\t\\t\\t\\t<span>{{option.name}}</span>\\n\\t\\t\\t\\t<span class=\\\"glyphicon glyphicon-ok check-mark\\\"></span>\\n\\t\\t\\t</a>\\n\\t\\t</li>\\n\\t</ol>\";\n\t\n\tvar datepickerTemplate = \"\\n <p class=\\\"input-group\\\">\\n <span class=\\\"input-group-btn\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"btn btn-default\\\"\\n ng-click=\\\"formlyDatePicker.open($event)\\\">\\n <i class=\\\"glyphicon glyphicon-calendar\\\"></i>\\n </button>\\n </span>\\n <input type=\\\"text\\\"\\n id=\\\"{{::id}}\\\"\\n name=\\\"{{::id}}\\\"\\n ng-model=\\\"model[options.key]\\\"\\n class=\\\"form-control\\\"\\n ng-click=\\\"datepicker.open($event)\\\"\\n uib-datepicker-popup=\\\"{{to.datepickerOptions.format}}\\\"\\n is-open=\\\"datepicker.opened\\\"\\n datepicker-options=\\\"to.datepickerOptions\\\"\\n />\\n </p>\\n \";\n\t\n\tvar validationTemplate = \"\\n\\t<div class=\\\"formly-template-wrapper form-group\\\"\\n\\t\\t\\t\\t\\t\\tng-class=\\\"{'has-error': options.validation.errorExistsAndShouldBeVisible}\\\">\\n\\t\\t\\t\\t<formly-transclude></formly-transclude>\\n\\t\\t\\t\\t<div class=\\\"validation\\\"\\n\\t\\t\\t\\t\\t\\t\\tng-if=\\\"options.validation.errorExistsAndShouldBeVisible\\\"\\n\\t\\t\\t\\t\\t\\t\\tng-messages=\\\"options.formControl.$error\\\">\\n\\t\\t\\t\\t\\t<div ng-messages-include=\\\"validation.html\\\"></div>\\n\\t\\t\\t\\t\\t<div ng-message=\\\"{{::name}}\\\" ng-repeat=\\\"(name, message) in ::options.validation.messages\\\">\\n\\t\\t\\t\\t\\t\\t{{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\";\n\t\n\texports.richTextTemplate = richTextTemplate;\n\texports.blankTemplate = blankTemplate;\n\texports.subTitleTemplate = subTitleTemplate;\n\texports.basicSelectTemplate = basicSelectTemplate;\n\texports.groupedSelectTemplate = groupedSelectTemplate;\n\texports.datepickerTemplate = datepickerTemplate;\n\texports.validationTemplate = validationTemplate;\n\n/***/ },\n/* 18 */\n/***/ function(module, exports) {\n\n\tmodule.exports = {\n\t\t\"stepway\": {\n\t\t\t\"version\": \"2.0.0\"\n\t\t},\n\t\t\"dragdropway\": {\n\t\t\t\"version\": \"2.0.0\"\n\t\t},\n\t\t\"formviewer\": {\n\t\t\t\"version\": \"2.0.0\"\n\t\t}\n\t};\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(20);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(22)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\", function() {\n\t\t\t\tvar newContent = require(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(21)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \".ta-hidden-input{width:1px;height:1px;border:none;margin:0;padding:0;position:absolute;top:-10000px;left:-10000px;opacity:0;overflow:hidden}.ta-root.focussed>.ta-scroll-window.form-control{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.ta-editor.ta-html,.ta-scroll-window.form-control{min-height:300px;height:auto;overflow:auto;font-family:inherit;font-size:100%}.ta-scroll-window.form-control{position:relative;padding:0}.ta-scroll-window>.ta-bind{height:auto;min-height:300px;padding:6px 12px}.ta-editor:focus{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ta-resizer-handle-overlay{z-index:100;position:absolute;display:none}.ta-resizer-handle-overlay>.ta-resizer-handle-info{position:absolute;bottom:16px;right:16px;border:1px solid #000;background-color:#fff;padding:0 4px;opacity:.7}.ta-resizer-handle-overlay>.ta-resizer-handle-background{position:absolute;bottom:5px;right:5px;left:5px;top:5px;border:1px solid #000;background-color:rgba(0,0,0,.2)}.ta-resizer-handle-overlay>.ta-resizer-handle-corner{width:10px;height:10px;position:absolute}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-tl{top:0;left:0;border-left:1px solid #000;border-top:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-tr{top:0;right:0;border-right:1px solid #000;border-top:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-bl{bottom:0;left:0;border-left:1px solid #000;border-bottom:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-br{bottom:0;right:0;border:1px solid #000;cursor:se-resize;background-color:#fff}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.bottom{margin-top:10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:\\\"\\\";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:\\\" \\\";border-top-color:#fff;border-bottom-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:\\\" \\\";border-top-width:0;border-bottom-color:#fff}body{margin:20px;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif}.ta-scroll-window{margin-bottom:16px}.formly-field{margin-bottom:20px}.validation{position:absolute;font-size:.8em;color:#a94442}.error-messages,.formly-template-wrapper{position:relative}.error-messages,.message,.validation{opacity:1;transition:all .3s linear}.message{font-size:.8em;position:absolute;width:100%;color:#a94442;margin-top:2px}.error-messages.ng-enter.ng-enter-active,.message.ng-enter.ng-enter-active,.validation.ng-enter.ng-enter-active{opacity:1}.error-messages.ng-enter,.message.ng-enter,.validation.ng-enter{opacity:0}.error-messages.ng-leave,.message.ng-leave,.validation.ng-leave{opacity:1}.error-messages.ng-leave-active,.message.ng-leave-active,.validation.ng-leave-active{opacity:0}\", \"\"]);\n\t\n\t// exports\n\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\t/*\r\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\t\tAuthor Tobias Koppers @sokra\r\n\t*/\r\n\t// css base code, injected by the css-loader\r\n\tmodule.exports = function() {\r\n\t\tvar list = [];\r\n\t\r\n\t\t// return the list of modules as css string\r\n\t\tlist.toString = function toString() {\r\n\t\t\tvar result = [];\r\n\t\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\t\tvar item = this[i];\r\n\t\t\t\tif(item[2]) {\r\n\t\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tresult.push(item[1]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn result.join(\"\");\r\n\t\t};\r\n\t\r\n\t\t// import a list of modules into the list\r\n\t\tlist.i = function(modules, mediaQuery) {\r\n\t\t\tif(typeof modules === \"string\")\r\n\t\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\t\tvar alreadyImportedModules = {};\r\n\t\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\t\tvar id = this[i][0];\r\n\t\t\t\tif(typeof id === \"number\")\r\n\t\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t\t}\r\n\t\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\t\tvar item = modules[i];\r\n\t\t\t\t// skip already imported module\r\n\t\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlist.push(item);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\treturn list;\r\n\t};\r\n\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/*\r\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\t\tAuthor Tobias Koppers @sokra\r\n\t*/\r\n\tvar stylesInDom = {},\r\n\t\tmemoize = function(fn) {\r\n\t\t\tvar memo;\r\n\t\t\treturn function () {\r\n\t\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\t\treturn memo;\r\n\t\t\t};\r\n\t\t},\r\n\t\tisOldIE = memoize(function() {\r\n\t\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t\t}),\r\n\t\tgetHeadElement = memoize(function () {\r\n\t\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t\t}),\r\n\t\tsingletonElement = null,\r\n\t\tsingletonCounter = 0,\r\n\t\tstyleElementsInsertedAtTop = [];\r\n\t\r\n\tmodule.exports = function(list, options) {\r\n\t\tif(false) {\r\n\t\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t\t}\r\n\t\r\n\t\toptions = options || {};\r\n\t\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t\t// tags it will allow on a page\r\n\t\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\t\r\n\t\t// By default, add <style> tags to the bottom of <head>.\r\n\t\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\t\r\n\t\tvar styles = listToStyles(list);\r\n\t\taddStylesToDom(styles, options);\r\n\t\r\n\t\treturn function update(newList) {\r\n\t\t\tvar mayRemove = [];\r\n\t\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\t\tvar item = styles[i];\r\n\t\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\t\tdomStyle.refs--;\r\n\t\t\t\tmayRemove.push(domStyle);\r\n\t\t\t}\r\n\t\t\tif(newList) {\r\n\t\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\t\taddStylesToDom(newStyles, options);\r\n\t\t\t}\r\n\t\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\t\r\n\tfunction addStylesToDom(styles, options) {\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tif(domStyle) {\r\n\t\t\t\tdomStyle.refs++;\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t\t}\r\n\t\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tvar parts = [];\r\n\t\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t\t}\r\n\t\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction listToStyles(list) {\r\n\t\tvar styles = [];\r\n\t\tvar newStyles = {};\r\n\t\tfor(var i = 0; i < list.length; i++) {\r\n\t\t\tvar item = list[i];\r\n\t\t\tvar id = item[0];\r\n\t\t\tvar css = item[1];\r\n\t\t\tvar media = item[2];\r\n\t\t\tvar sourceMap = item[3];\r\n\t\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\t\tif(!newStyles[id])\r\n\t\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\t\telse\r\n\t\t\t\tnewStyles[id].parts.push(part);\r\n\t\t}\r\n\t\treturn styles;\r\n\t}\r\n\t\r\n\tfunction insertStyleElement(options, styleElement) {\r\n\t\tvar head = getHeadElement();\r\n\t\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\t\tif (options.insertAt === \"top\") {\r\n\t\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t\t} else {\r\n\t\t\t\thead.appendChild(styleElement);\r\n\t\t\t}\r\n\t\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t\t} else if (options.insertAt === \"bottom\") {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t} else {\r\n\t\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction removeStyleElement(styleElement) {\r\n\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n\t\tif(idx >= 0) {\r\n\t\t\tstyleElementsInsertedAtTop.splice(idx, 1);\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction createStyleElement(options) {\r\n\t\tvar styleElement = document.createElement(\"style\");\r\n\t\tstyleElement.type = \"text/css\";\r\n\t\tinsertStyleElement(options, styleElement);\r\n\t\treturn styleElement;\r\n\t}\r\n\t\r\n\tfunction createLinkElement(options) {\r\n\t\tvar linkElement = document.createElement(\"link\");\r\n\t\tlinkElement.rel = \"stylesheet\";\r\n\t\tinsertStyleElement(options, linkElement);\r\n\t\treturn linkElement;\r\n\t}\r\n\t\r\n\tfunction addStyle(obj, options) {\r\n\t\tvar styleElement, update, remove;\r\n\t\r\n\t\tif (options.singleton) {\r\n\t\t\tvar styleIndex = singletonCounter++;\r\n\t\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n\t\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t\t} else if(obj.sourceMap &&\r\n\t\t\ttypeof URL === \"function\" &&\r\n\t\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\t\ttypeof Blob === \"function\" &&\r\n\t\t\ttypeof btoa === \"function\") {\r\n\t\t\tstyleElement = createLinkElement(options);\r\n\t\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\t\tremove = function() {\r\n\t\t\t\tremoveStyleElement(styleElement);\r\n\t\t\t\tif(styleElement.href)\r\n\t\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tstyleElement = createStyleElement(options);\r\n\t\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\t\tremove = function() {\r\n\t\t\t\tremoveStyleElement(styleElement);\r\n\t\t\t};\r\n\t\t}\r\n\t\r\n\t\tupdate(obj);\r\n\t\r\n\t\treturn function updateStyle(newObj) {\r\n\t\t\tif(newObj) {\r\n\t\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\t\treturn;\r\n\t\t\t\tupdate(obj = newObj);\r\n\t\t\t} else {\r\n\t\t\t\tremove();\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\t\r\n\tvar replaceText = (function () {\r\n\t\tvar textStore = [];\r\n\t\r\n\t\treturn function (index, replacement) {\r\n\t\t\ttextStore[index] = replacement;\r\n\t\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t\t};\r\n\t})();\r\n\t\r\n\tfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\t\tvar css = remove ? \"\" : obj.css;\r\n\t\r\n\t\tif (styleElement.styleSheet) {\r\n\t\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t\t} else {\r\n\t\t\tvar cssNode = document.createTextNode(css);\r\n\t\t\tvar childNodes = styleElement.childNodes;\r\n\t\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\t\tif (childNodes.length) {\r\n\t\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t\t} else {\r\n\t\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction applyToTag(styleElement, obj) {\r\n\t\tvar css = obj.css;\r\n\t\tvar media = obj.media;\r\n\t\r\n\t\tif(media) {\r\n\t\t\tstyleElement.setAttribute(\"media\", media)\r\n\t\t}\r\n\t\r\n\t\tif(styleElement.styleSheet) {\r\n\t\t\tstyleElement.styleSheet.cssText = css;\r\n\t\t} else {\r\n\t\t\twhile(styleElement.firstChild) {\r\n\t\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t\t}\r\n\t\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction updateLink(linkElement, obj) {\r\n\t\tvar css = obj.css;\r\n\t\tvar sourceMap = obj.sourceMap;\r\n\t\r\n\t\tif(sourceMap) {\r\n\t\t\t// http://stackoverflow.com/a/26603875\r\n\t\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t\t}\r\n\t\r\n\t\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\t\r\n\t\tvar oldSrc = linkElement.href;\r\n\t\r\n\t\tlinkElement.href = URL.createObjectURL(blob);\r\n\t\r\n\t\tif(oldSrc)\r\n\t\t\tURL.revokeObjectURL(oldSrc);\r\n\t}\r\n\n\n/***/ }\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// eda.easyFormViewer.min.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 = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 608f48fd14ec09d8b35a","import './vendors';\nrequire('./style/formviewer.scss');\nimport './main';\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/index.js","import 'api-check'; // NOTE: always imported before angular-formly!\nimport 'angular-formly';\nimport 'angular-formly-templates-bootstrap';\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/vendors.js","//! api-check version 7.5.5 built with ♥ by Kent C. Dodds <kent@doddsfamily.us> (http://kent.doddsfamily.us) (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"apiCheck\"] = factory();\n\telse\n\t\troot[\"apiCheck\"] = factory();\n})(this, function() {\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 = \"\";\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\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n\tvar _apiCheck = __webpack_require__(1);\n\n\tvar _apiCheck2 = _interopRequireDefault(_apiCheck);\n\n\texports['default'] = _apiCheck2['default'];\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar stringify = __webpack_require__(2);\n\tvar apiCheckUtil = __webpack_require__(3);\n\tvar each = apiCheckUtil.each;\n\tvar isError = apiCheckUtil.isError;\n\tvar t = apiCheckUtil.t;\n\tvar arrayify = apiCheckUtil.arrayify;\n\tvar getCheckerDisplay = apiCheckUtil.getCheckerDisplay;\n\tvar typeOf = apiCheckUtil.typeOf;\n\tvar getError = apiCheckUtil.getError;\n\n\tvar checkers = __webpack_require__(4);\n\tvar apiCheckApis = getApiCheckApis();\n\n\tmodule.exports = getApiCheckInstance;\n\tmodule.exports.VERSION = (\"7.5.5\");\n\tmodule.exports.utils = apiCheckUtil;\n\tmodule.exports.globalConfig = {\n\t verbose: false,\n\t disabled: false\n\t};\n\n\tvar apiCheckApiCheck = getApiCheckInstance({\n\t output: { prefix: 'apiCheck' }\n\t});\n\tmodule.exports.internalChecker = apiCheckApiCheck;\n\n\teach(checkers, function (checker, name) {\n\t return module.exports[name] = checker;\n\t});\n\n\tfunction getApiCheckInstance() {\n\t var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t var extraCheckers = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t /* eslint complexity:[2, 6] */\n\t if (apiCheckApiCheck && arguments.length) {\n\t apiCheckApiCheck['throw'](apiCheckApis.getApiCheckInstanceCheckers, arguments, {\n\t prefix: 'creating an apiCheck instance'\n\t });\n\t }\n\n\t var additionalProperties = {\n\t 'throw': getApiCheck(true),\n\t warn: getApiCheck(false),\n\t getErrorMessage: getErrorMessage,\n\t handleErrorMessage: handleErrorMessage,\n\t config: {\n\t output: config.output || {\n\t prefix: '',\n\t suffix: '',\n\t docsBaseUrl: ''\n\t },\n\t verbose: config.verbose || false,\n\t disabled: config.disabled || false\n\t },\n\t utils: apiCheckUtil\n\t };\n\n\t each(additionalProperties, function (wrapper, name) {\n\t return apiCheck[name] = wrapper;\n\t });\n\n\t var disabled = apiCheck.disabled || module.exports.globalConfig.disabled;\n\t each(checkers.getCheckers(disabled), function (checker, name) {\n\t return apiCheck[name] = checker;\n\t });\n\t each(extraCheckers, function (checker, name) {\n\t return apiCheck[name] = checker;\n\t });\n\n\t return apiCheck;\n\n\t /**\n\t * This is the instance function. Other things are attached to this see additional properties above.\n\t * @param {Array} api - the checkers to check with\n\t * @param {Array} args - the args to check\n\t * @param {Object} output - output options\n\t * @returns {Object} - if this has a failed = true property, then it failed\n\t */\n\t function apiCheck(api, args, output) {\n\t /* eslint complexity:[2, 8] */\n\t if (apiCheck.config.disabled || module.exports.globalConfig.disabled) {\n\t return {\n\t apiTypes: {}, argTypes: {},\n\t passed: true, message: '',\n\t failed: false\n\t }; // empty version of what is normally returned\n\t }\n\t checkApiCheckApi(arguments);\n\t if (!Array.isArray(api)) {\n\t api = [api];\n\t args = [args];\n\t } else {\n\t // turn arguments into an array\n\t args = Array.prototype.slice.call(args);\n\t }\n\t var messages = checkEnoughArgs(api, args);\n\t if (!messages.length) {\n\t // this is where we actually go perform the checks.\n\t messages = checkApiWithArgs(api, args);\n\t }\n\n\t var returnObject = getTypes(api, args);\n\t returnObject.args = args;\n\t if (messages.length) {\n\t returnObject.message = apiCheck.getErrorMessage(api, args, messages, output);\n\t returnObject.failed = true;\n\t returnObject.passed = false;\n\t } else {\n\t returnObject.message = '';\n\t returnObject.failed = false;\n\t returnObject.passed = true;\n\t }\n\t return returnObject;\n\t }\n\n\t /**\n\t * checkApiCheckApi, should be read like: check apiCheck api. As in, check the api for apiCheck :-)\n\t * @param {Array} checkApiArgs - args provided to apiCheck function\n\t */\n\t function checkApiCheckApi(checkApiArgs) {\n\t var api = checkApiArgs[0];\n\t var args = checkApiArgs[1];\n\t var isArrayOrArgs = Array.isArray(args) || args && typeof args === 'object' && typeof args.length === 'number';\n\n\t if (Array.isArray(api) && !isArrayOrArgs) {\n\t throw new Error(getErrorMessage(api, [args], ['If an array is provided for the api, an array must be provided for the args as well.'], { prefix: 'apiCheck' }));\n\t }\n\t // dog fooding here\n\t var errors = checkApiWithArgs(apiCheckApis.checkApiCheckApi, checkApiArgs);\n\t if (errors.length) {\n\t var message = apiCheck.getErrorMessage(apiCheckApis.checkApiCheckApi, checkApiArgs, errors, {\n\t prefix: 'apiCheck'\n\t });\n\t apiCheck.handleErrorMessage(message, true);\n\t }\n\t }\n\n\t function getApiCheck(shouldThrow) {\n\t return function apiCheckWrapper(api, args, output) {\n\t var result = apiCheck(api, args, output);\n\t apiCheck.handleErrorMessage(result.message, shouldThrow);\n\t return result; // wont get here if an error is thrown\n\t };\n\t }\n\n\t function handleErrorMessage(message, shouldThrow) {\n\t if (shouldThrow && message) {\n\t throw new Error(message);\n\t } else if (message) {\n\t /* eslint no-console:0 */\n\t console.warn(message);\n\t }\n\t }\n\n\t function getErrorMessage(api, args) {\n\t var messages = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\t var output = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];\n\n\t var gOut = apiCheck.config.output || {};\n\t var prefix = getPrefix();\n\t var suffix = getSuffix();\n\t var url = getUrl();\n\t var message = 'apiCheck failed! ' + messages.join(', ');\n\t var passedAndShouldHavePassed = '\\n\\n' + buildMessageFromApiAndArgs(api, args);\n\t return (prefix + ' ' + message + ' ' + suffix + ' ' + (url || '') + passedAndShouldHavePassed).trim();\n\n\t function getPrefix() {\n\t var p = output.onlyPrefix;\n\t if (!p) {\n\t p = ((gOut.prefix || '') + ' ' + (output.prefix || '')).trim();\n\t }\n\t return p;\n\t }\n\n\t function getSuffix() {\n\t var s = output.onlySuffix;\n\t if (!s) {\n\t s = ((output.suffix || '') + ' ' + (gOut.suffix || '')).trim();\n\t }\n\t return s;\n\t }\n\n\t function getUrl() {\n\t var u = output.url;\n\t if (!u) {\n\t u = gOut.docsBaseUrl && output.urlSuffix && ('' + gOut.docsBaseUrl + output.urlSuffix).trim();\n\t }\n\t return u;\n\t }\n\t }\n\n\t function buildMessageFromApiAndArgs(api, args) {\n\t var _getTypes = getTypes(api, args);\n\n\t var apiTypes = _getTypes.apiTypes;\n\t var argTypes = _getTypes.argTypes;\n\n\t var copy = Array.prototype.slice.call(args || []);\n\t var replacedItems = [];\n\t replaceFunctionWithName(copy);\n\t var passedArgs = getObjectString(copy);\n\t argTypes = getObjectString(argTypes);\n\t apiTypes = getObjectString(apiTypes);\n\n\t return generateMessage();\n\n\t // functions\n\n\t function replaceFunctionWithName(obj) {\n\t each(obj, function (val, name) {\n\t /* eslint complexity:[2, 6] */\n\t if (replacedItems.indexOf(val) === -1) {\n\t // avoid recursive problems\n\t replacedItems.push(val);\n\t if (typeof val === 'object') {\n\t replaceFunctionWithName(obj);\n\t } else if (typeof val === 'function') {\n\t obj[name] = val.displayName || val.name || 'anonymous function';\n\t }\n\t }\n\t });\n\t }\n\n\t function getObjectString(types) {\n\t if (!types || !types.length) {\n\t return 'nothing';\n\t } else if (types && types.length === 1) {\n\t types = types[0];\n\t }\n\t return stringify(types, null, 2);\n\t }\n\n\t function generateMessage() {\n\t var n = '\\n';\n\t var useS = true;\n\t if (args && args.length === 1) {\n\t if (typeof args[0] === 'object' && args[0] !== null) {\n\t useS = !!Object.keys(args[0]).length;\n\t } else {\n\t useS = false;\n\t }\n\t }\n\t var types = 'type' + (useS ? 's' : '');\n\t var newLine = n + n;\n\t return 'You passed:' + n + passedArgs + newLine + ('With the ' + types + ':' + n + argTypes + newLine) + ('The API calls for:' + n + apiTypes);\n\t }\n\t }\n\n\t function getTypes(api, args) {\n\t api = arrayify(api);\n\t args = arrayify(args);\n\t var apiTypes = api.map(function (checker, index) {\n\t var specified = module.exports.globalConfig.hasOwnProperty('verbose');\n\t return getCheckerDisplay(checker, {\n\t terse: specified ? !module.exports.globalConfig.verbose : !apiCheck.config.verbose,\n\t obj: args[index],\n\t addHelpers: true\n\t });\n\t });\n\t var argTypes = args.map(function (arg) {\n\t return getArgDisplay(arg, []);\n\t });\n\t return { argTypes: argTypes, apiTypes: apiTypes };\n\t }\n\t}\n\n\t// STATELESS FUNCTIONS\n\n\t/**\n\t * This is where the magic happens for actually checking the arguments with the api.\n\t * @param {Array} api - checkers\n\t * @param {Array} args - and arguments object\n\t * @returns {Array} - the error messages\n\t */\n\tfunction checkApiWithArgs(api, args) {\n\t /* eslint complexity:[2, 7] */\n\t var messages = [];\n\t var failed = false;\n\t var checkerIndex = 0;\n\t var argIndex = 0;\n\t var arg = undefined,\n\t checker = undefined,\n\t res = undefined,\n\t lastChecker = undefined,\n\t argName = undefined,\n\t argFailed = undefined,\n\t skipPreviousChecker = undefined;\n\t /* jshint -W084 */\n\t while ((checker = api[checkerIndex++]) && argIndex < args.length) {\n\t arg = args[argIndex++];\n\t argName = 'Argument ' + argIndex + (checker.isOptional ? ' (optional)' : '');\n\t res = checker(arg, 'value', argName);\n\t argFailed = isError(res);\n\t lastChecker = checkerIndex >= api.length;\n\t skipPreviousChecker = checkerIndex > 1 && api[checkerIndex - 1].isOptional;\n\t if (argFailed && lastChecker || argFailed && !lastChecker && !checker.isOptional && !skipPreviousChecker) {\n\t failed = true;\n\t messages.push(getCheckerErrorMessage(res, checker, arg));\n\t } else if (argFailed && checker.isOptional) {\n\t argIndex--;\n\t } else {\n\t messages.push(t(argName) + ' passed');\n\t }\n\t }\n\t return failed ? messages : [];\n\t}\n\n\tcheckerTypeType.type = 'function with __apiCheckData property and `${function.type}` property';\n\tfunction checkerTypeType(checkerType, name, location) {\n\t var apiCheckDataChecker = checkers.shape({\n\t type: checkers.string,\n\t optional: checkers.bool\n\t });\n\t var asFunc = checkers.func.withProperties({ __apiCheckData: apiCheckDataChecker });\n\t var asShape = checkers.shape({ __apiCheckData: apiCheckDataChecker });\n\t var wrongShape = checkers.oneOfType([asFunc, asShape])(checkerType, name, location);\n\t if (isError(wrongShape)) {\n\t return wrongShape;\n\t }\n\t if (typeof checkerType !== 'function' && !checkerType.hasOwnProperty(checkerType.__apiCheckData.type)) {\n\t return getError(name, location, checkerTypeType.type);\n\t }\n\t}\n\n\tfunction getCheckerErrorMessage(res, checker, val) {\n\t var checkerHelp = getCheckerHelp(checker, val);\n\t checkerHelp = checkerHelp ? ' - ' + checkerHelp : '';\n\t return res.message + checkerHelp;\n\t}\n\n\tfunction getCheckerHelp(_ref, val) {\n\t var help = _ref.help;\n\n\t if (!help) {\n\t return '';\n\t }\n\t if (typeof help === 'function') {\n\t help = help(val);\n\t }\n\t return help;\n\t}\n\n\tfunction checkEnoughArgs(api, args) {\n\t var requiredArgs = api.filter(function (a) {\n\t return !a.isOptional;\n\t });\n\t if (args.length < requiredArgs.length) {\n\t return ['Not enough arguments specified. Requires `' + requiredArgs.length + '`, you passed `' + args.length + '`'];\n\t } else {\n\t return [];\n\t }\n\t}\n\n\tfunction getArgDisplay(arg, gottenArgs) {\n\t /* eslint complexity:[2, 7] */\n\t var cName = arg && arg.constructor && arg.constructor.name;\n\t var type = typeOf(arg);\n\t if (type === 'function') {\n\t if (hasKeys()) {\n\t var properties = stringify(getDisplayIfNotGotten());\n\t return cName + ' (with properties: ' + properties + ')';\n\t }\n\t return cName;\n\t }\n\n\t if (arg === null) {\n\t return 'null';\n\t }\n\n\t if (type !== 'array' && type !== 'object') {\n\t return type;\n\t }\n\n\t if (hasKeys()) {\n\t return getDisplayIfNotGotten();\n\t }\n\n\t return cName;\n\n\t // utility functions\n\t function hasKeys() {\n\t return arg && Object.keys(arg).length;\n\t }\n\n\t function getDisplayIfNotGotten() {\n\t if (gottenArgs.indexOf(arg) !== -1) {\n\t return '[Circular]';\n\t }\n\t gottenArgs.push(arg);\n\t return getDisplay(arg, gottenArgs);\n\t }\n\t}\n\n\tfunction getDisplay(obj, gottenArgs) {\n\t var argDisplay = {};\n\t each(obj, function (v, k) {\n\t return argDisplay[k] = getArgDisplay(v, gottenArgs);\n\t });\n\t return argDisplay;\n\t}\n\n\tfunction getApiCheckApis() {\n\t var os = checkers.string.optional;\n\n\t var checkerFnChecker = checkers.func.withProperties({\n\t type: checkers.oneOfType([checkers.string, checkerTypeType]).optional,\n\t displayName: checkers.string.optional,\n\t shortType: checkers.string.optional,\n\t notOptional: checkers.bool.optional,\n\t notRequired: checkers.bool.optional\n\t });\n\n\t var getApiCheckInstanceCheckers = [checkers.shape({\n\t output: checkers.shape({\n\t prefix: checkers.string.optional,\n\t suffix: checkers.string.optional,\n\t docsBaseUrl: checkers.string.optional\n\t }).strict.optional,\n\t verbose: checkers.bool.optional,\n\t disabled: checkers.bool.optional\n\t }).strict.optional, checkers.objectOf(checkerFnChecker).optional];\n\n\t var checkApiCheckApi = [checkers.typeOrArrayOf(checkerFnChecker), checkers.any.optional, checkers.shape({\n\t prefix: os, suffix: os, urlSuffix: os, // appended case\n\t onlyPrefix: os, onlySuffix: os, url: os // override case\n\t }).strict.optional];\n\n\t return {\n\t checkerFnChecker: checkerFnChecker,\n\t getApiCheckInstanceCheckers: getApiCheckInstanceCheckers,\n\t checkApiCheckApi: checkApiCheckApi\n\t };\n\t}\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\tmodule.exports = stringify;\n\n\tfunction getSerialize (fn, decycle) {\n\t var seen = [], keys = [];\n\t decycle = decycle || function(key, value) {\n\t return '[Circular ' + getPath(value, seen, keys) + ']'\n\t };\n\t return function(key, value) {\n\t var ret = value;\n\t if (typeof value === 'object' && value) {\n\t if (seen.indexOf(value) !== -1)\n\t ret = decycle(key, value);\n\t else {\n\t seen.push(value);\n\t keys.push(key);\n\t }\n\t }\n\t if (fn) ret = fn(key, ret);\n\t return ret;\n\t }\n\t}\n\n\tfunction getPath (value, seen, keys) {\n\t var index = seen.indexOf(value);\n\t var path = [ keys[index] ];\n\t for (index--; index >= 0; index--) {\n\t if (seen[index][ path[0] ] === value) {\n\t value = seen[index];\n\t path.unshift(keys[index]);\n\t }\n\t }\n\t return '~' + path.join('.');\n\t}\n\n\tfunction stringify(obj, fn, spaces, decycle) {\n\t return JSON.stringify(obj, getSerialize(fn, decycle), spaces);\n\t}\n\n\tstringify.getSerialize = getSerialize;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\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\n\tvar stringify = __webpack_require__(2);\n\tvar checkerHelpers = {\n\t addOptional: addOptional, getRequiredVersion: getRequiredVersion, setupChecker: setupChecker, addNullable: addNullable\n\t};\n\n\tmodule.exports = {\n\t each: each, copy: copy, typeOf: typeOf, arrayify: arrayify, getCheckerDisplay: getCheckerDisplay,\n\t isError: isError, list: list, getError: getError, nAtL: nAtL, t: t, undef: undef, checkerHelpers: checkerHelpers,\n\t noop: noop\n\t};\n\n\tfunction copy(obj) {\n\t var type = typeOf(obj);\n\t var daCopy = undefined;\n\t if (type === 'array') {\n\t daCopy = [];\n\t } else if (type === 'object') {\n\t daCopy = {};\n\t } else {\n\t return obj;\n\t }\n\t each(obj, function (val, key) {\n\t daCopy[key] = val; // cannot single-line this because we don't want to abort the each\n\t });\n\t return daCopy;\n\t}\n\n\tfunction typeOf(obj) {\n\t if (Array.isArray(obj)) {\n\t return 'array';\n\t } else if (obj instanceof RegExp) {\n\t return 'object';\n\t } else {\n\t return typeof obj;\n\t }\n\t}\n\n\tfunction getCheckerDisplay(checker, options) {\n\t /* eslint complexity:[2, 7] */\n\t var display = undefined;\n\t var short = options && options.short;\n\t if (short && checker.shortType) {\n\t display = checker.shortType;\n\t } else if (!short && typeof checker.type === 'object' || checker.type === 'function') {\n\t display = getCheckerType(checker, options);\n\t } else {\n\t display = getCheckerType(checker, options) || checker.displayName || checker.name;\n\t }\n\t return display;\n\t}\n\n\tfunction getCheckerType(_ref, options) {\n\t var type = _ref.type;\n\n\t if (typeof type === 'function') {\n\t var __apiCheckData = type.__apiCheckData;\n\t var typeTypes = type(options);\n\t type = _defineProperty({\n\t __apiCheckData: __apiCheckData\n\t }, __apiCheckData.type, typeTypes);\n\t }\n\t return type;\n\t}\n\n\tfunction arrayify(obj) {\n\t if (!obj) {\n\t return [];\n\t } else if (Array.isArray(obj)) {\n\t return obj;\n\t } else {\n\t return [obj];\n\t }\n\t}\n\n\tfunction each(obj, iterator, context) {\n\t if (Array.isArray(obj)) {\n\t return eachArry(obj, iterator, context);\n\t } else {\n\t return eachObj(obj, iterator, context);\n\t }\n\t}\n\n\tfunction eachObj(obj, iterator, context) {\n\t var ret = undefined;\n\t var hasOwn = Object.prototype.hasOwnProperty;\n\t /* eslint prefer-const:0 */ // some weird eslint bug?\n\t for (var key in obj) {\n\t if (hasOwn.call(obj, key)) {\n\t ret = iterator.call(context, obj[key], key, obj);\n\t if (ret === false) {\n\t return ret;\n\t }\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction eachArry(obj, iterator, context) {\n\t var ret = undefined;\n\t var length = obj.length;\n\t for (var i = 0; i < length; i++) {\n\t ret = iterator.call(context, obj[i], i, obj);\n\t if (ret === false) {\n\t return ret;\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction isError(obj) {\n\t return obj instanceof Error;\n\t}\n\n\tfunction list(arry, join, finalJoin) {\n\t arry = arrayify(arry);\n\t var copy = arry.slice();\n\t var last = copy.pop();\n\t if (copy.length === 1) {\n\t join = ' ';\n\t }\n\t return copy.join(join) + ('' + (copy.length ? join + finalJoin : '') + last);\n\t}\n\n\tfunction getError(name, location, checkerType) {\n\t if (typeof checkerType === 'function') {\n\t checkerType = checkerType({ short: true });\n\t }\n\t var stringType = typeof checkerType !== 'object' ? checkerType : stringify(checkerType);\n\t return new Error(nAtL(name, location) + ' must be ' + t(stringType));\n\t}\n\n\tfunction nAtL(name, location) {\n\t var tName = t(name || 'value');\n\t var tLocation = !location ? '' : ' at ' + t(location);\n\t return '' + tName + tLocation;\n\t}\n\n\tfunction t(thing) {\n\t return '`' + thing + '`';\n\t}\n\n\tfunction undef(thing) {\n\t return typeof thing === 'undefined';\n\t}\n\n\t/**\n\t * This will set up the checker with all of the defaults that most checkers want like required by default and an\n\t * optional version\n\t *\n\t * @param {Function} checker - the checker to setup with properties\n\t * @param {Object} properties - properties to add to the checker\n\t * @param {boolean} disabled - when set to true, this will set the checker to a no-op function\n\t * @returns {Function} checker - the setup checker\n\t */\n\tfunction setupChecker(checker, properties, disabled) {\n\t /* eslint complexity:[2, 9] */\n\t if (disabled) {\n\t // swap out the checker for its own copy of noop\n\t checker = getNoop();\n\t checker.isNoop = true;\n\t }\n\n\t if (typeof checker.type === 'string') {\n\t checker.shortType = checker.type;\n\t }\n\n\t // assign all properties given\n\t each(properties, function (prop, name) {\n\t return checker[name] = prop;\n\t });\n\n\t if (!checker.displayName) {\n\t checker.displayName = 'apiCheck ' + t(checker.shortType || checker.type || checker.name) + ' type checker';\n\t }\n\n\t if (!checker.notRequired) {\n\t checker = getRequiredVersion(checker, disabled);\n\t }\n\n\t if (!checker.notNullable) {\n\t addNullable(checker, disabled);\n\t }\n\n\t if (!checker.notOptional) {\n\t addOptional(checker, disabled);\n\t }\n\n\t return checker;\n\t}\n\n\tfunction getRequiredVersion(checker, disabled) {\n\t var requiredChecker = disabled ? getNoop() : function requiredChecker(val, name, location, obj) {\n\t if (undef(val) && !checker.isOptional) {\n\t var tLocation = location ? ' in ' + t(location) : '';\n\t var type = getCheckerDisplay(checker, { short: true });\n\t var stringType = typeof type !== 'object' ? type : stringify(type);\n\t return new Error('Required ' + t(name) + ' not specified' + tLocation + '. Must be ' + t(stringType));\n\t } else {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t copyProps(checker, requiredChecker);\n\t requiredChecker.originalChecker = checker;\n\t return requiredChecker;\n\t}\n\n\tfunction addOptional(checker, disabled) {\n\t var optionalCheck = disabled ? getNoop() : function optionalCheck(val, name, location, obj) {\n\t if (!undef(val)) {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t // inherit all properties on the original checker\n\t copyProps(checker, optionalCheck);\n\n\t optionalCheck.isOptional = true;\n\t optionalCheck.displayName = checker.displayName + ' (optional)';\n\t optionalCheck.originalChecker = checker;\n\n\t // the magic line that allows you to add .optional to the end of the checkers\n\t checker.optional = optionalCheck;\n\n\t fixType(checker, checker.optional);\n\t}\n\n\tfunction addNullable(checker, disabled) {\n\t var nullableCheck = disabled ? getNoop() : function nullableCheck(val, name, location, obj) {\n\t if (val !== null) {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t // inherit all properties on the original checker\n\t copyProps(checker, nullableCheck);\n\n\t nullableCheck.isNullable = true;\n\t nullableCheck.displayName = checker.displayName + ' (nullable)';\n\t nullableCheck.originalChecker = checker;\n\n\t // the magic line that allows you to add .nullable to the end of the checkers\n\t checker.nullable = nullableCheck;\n\n\t fixType(checker, checker.nullable);\n\t if (!checker.notOptional) {\n\t addOptional(checker.nullable, disabled);\n\t }\n\t}\n\n\tfunction fixType(checker, checkerCopy) {\n\t // fix type, because it's not a straight copy...\n\t // the reason is we need to specify type.__apiCheckData.optional as true for the terse/verbose option.\n\t // we also want to add \"(optional)\" to the types with a string\n\t if (typeof checkerCopy.type === 'object') {\n\t checkerCopy.type = copy(checkerCopy.type); // make our own copy of this\n\t } else if (typeof checkerCopy.type === 'function') {\n\t checkerCopy.type = function () {\n\t return checker.type.apply(checker, arguments);\n\t };\n\t } else {\n\t checkerCopy.type += ' (optional)';\n\t return;\n\t }\n\t checkerCopy.type.__apiCheckData = copy(checker.type.__apiCheckData) || {}; // and this\n\t checkerCopy.type.__apiCheckData.optional = true;\n\t}\n\n\t// UTILS\n\n\tfunction copyProps(src, dest) {\n\t each(Object.keys(src), function (key) {\n\t return dest[key] = src[key];\n\t });\n\t}\n\n\tfunction noop() {}\n\n\tfunction getNoop() {\n\t /* eslint no-shadow:0 */\n\t /* istanbul ignore next */\n\t return function noop() {};\n\t}\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar stringify = __webpack_require__(2);\n\n\tvar _require = __webpack_require__(3);\n\n\tvar typeOf = _require.typeOf;\n\tvar each = _require.each;\n\tvar copy = _require.copy;\n\tvar getCheckerDisplay = _require.getCheckerDisplay;\n\tvar isError = _require.isError;\n\tvar arrayify = _require.arrayify;\n\tvar list = _require.list;\n\tvar getError = _require.getError;\n\tvar nAtL = _require.nAtL;\n\tvar t = _require.t;\n\tvar checkerHelpers = _require.checkerHelpers;\n\tvar undef = _require.undef;\n\tvar setupChecker = checkerHelpers.setupChecker;\n\n\tvar checkers = module.exports = getCheckers();\n\tmodule.exports.getCheckers = getCheckers;\n\n\tfunction getCheckers(disabled) {\n\t return {\n\t array: typeOfCheckGetter('Array'),\n\t bool: typeOfCheckGetter('Boolean'),\n\t number: typeOfCheckGetter('Number'),\n\t string: typeOfCheckGetter('String'),\n\t func: funcCheckGetter(),\n\t object: objectCheckGetter(),\n\n\t emptyObject: emptyObjectCheckGetter(),\n\n\t instanceOf: instanceCheckGetter,\n\t oneOf: oneOfCheckGetter,\n\t oneOfType: oneOfTypeCheckGetter,\n\n\t arrayOf: arrayOfCheckGetter,\n\t objectOf: objectOfCheckGetter,\n\t typeOrArrayOf: typeOrArrayOfCheckGetter,\n\n\t range: rangeCheckGetter,\n\t lessThan: lessThanCheckGetter,\n\t greaterThan: greaterThanCheckGetter,\n\n\t shape: getShapeCheckGetter(),\n\t args: argumentsCheckerGetter(),\n\n\t any: anyCheckGetter(),\n\t 'null': nullCheckGetter()\n\n\t };\n\n\t function typeOfCheckGetter(type) {\n\t var lType = type.toLowerCase();\n\t return setupChecker(function typeOfCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== lType) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function funcCheckGetter() {\n\t var type = 'Function';\n\t var functionChecker = setupChecker(function functionCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== 'function') {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\n\t functionChecker.withProperties = function getWithPropertiesChecker(properties) {\n\t var apiError = checkers.objectOf(checkers.func)(properties, 'properties', 'apiCheck.func.withProperties');\n\t if (isError(apiError)) {\n\t throw apiError;\n\t }\n\t var shapeChecker = checkers.shape(properties, true);\n\t shapeChecker.type.__apiCheckData.type = 'func.withProperties';\n\n\t return setupChecker(function functionWithPropertiesChecker(val, name, location) {\n\t var notFunction = checkers.func(val, name, location);\n\t if (isError(notFunction)) {\n\t return notFunction;\n\t }\n\t return shapeChecker(val, name, location);\n\t }, { type: shapeChecker.type, shortType: 'func.withProperties' }, disabled);\n\t };\n\t return functionChecker;\n\t }\n\n\t function objectCheckGetter() {\n\t var type = 'Object';\n\t var nullType = 'Object (null ok)';\n\t var objectNullOkChecker = setupChecker(function objectNullOkCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== 'object') {\n\t return getError(name, location, nullType);\n\t }\n\t }, { type: nullType }, disabled);\n\n\t var objectChecker = setupChecker(function objectCheckerDefinition(val, name, location) {\n\t if (val === null || isError(objectNullOkChecker(val, name, location))) {\n\t return getError(name, location, objectChecker.type);\n\t }\n\t }, { type: type, nullOk: objectNullOkChecker }, disabled);\n\n\t return objectChecker;\n\t }\n\n\t function instanceCheckGetter(classToCheck) {\n\t return setupChecker(function instanceCheckerDefinition(val, name, location) {\n\t if (!(val instanceof classToCheck)) {\n\t return getError(name, location, classToCheck.name);\n\t }\n\t }, { type: classToCheck.name }, disabled);\n\t }\n\n\t function oneOfCheckGetter(enums) {\n\t var type = {\n\t __apiCheckData: { optional: false, type: 'enum' },\n\t 'enum': enums\n\t };\n\t var shortType = 'oneOf[' + enums.map(function (enm) {\n\t return stringify(enm);\n\t }).join(', ') + ']';\n\t return setupChecker(function oneOfCheckerDefinition(val, name, location) {\n\t if (!enums.some(function (enm) {\n\t return enm === val;\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function oneOfTypeCheckGetter(typeCheckers) {\n\t var checkersDisplay = typeCheckers.map(function (checker) {\n\t return getCheckerDisplay(checker, { short: true });\n\t });\n\t var shortType = 'oneOfType[' + checkersDisplay.join(', ') + ']';\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return typeCheckers.map(function (checker) {\n\t return getCheckerDisplay(checker, options);\n\t });\n\t }\n\t type.__apiCheckData = { optional: false, type: 'oneOfType' };\n\t return setupChecker(function oneOfTypeCheckerDefinition(val, name, location) {\n\t if (!typeCheckers.some(function (checker) {\n\t return !isError(checker(val, name, location));\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function arrayOfCheckGetter(checker) {\n\t var shortCheckerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'arrayOf[' + shortCheckerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'arrayOf' };\n\n\t return setupChecker(function arrayOfCheckerDefinition(val, name, location) {\n\t if (isError(checkers.array(val)) || !val.every(function (item) {\n\t return !isError(checker(item));\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function objectOfCheckGetter(checker) {\n\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'objectOf[' + checkerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'objectOf' };\n\n\t return setupChecker(function objectOfCheckerDefinition(val, name, location) {\n\t var notObject = checkers.object(val, name, location);\n\t if (isError(notObject)) {\n\t return notObject;\n\t }\n\t var allTypesSuccess = each(val, function (item, key) {\n\t if (isError(checker(item, key, name))) {\n\t return false;\n\t }\n\t });\n\t if (!allTypesSuccess) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function typeOrArrayOfCheckGetter(checker) {\n\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'typeOrArrayOf[' + checkerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\n\t type.__apiCheckData = { optional: false, type: 'typeOrArrayOf' };\n\t return setupChecker(function typeOrArrayOfDefinition(val, name, location, obj) {\n\t if (isError(checkers.oneOfType([checker, checkers.arrayOf(checker)])(val, name, location, obj))) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function getShapeCheckGetter() {\n\t function shapeCheckGetter(shape, nonObject) {\n\t var shapeTypes = {};\n\t each(shape, function (checker, prop) {\n\t shapeTypes[prop] = getCheckerDisplay(checker);\n\t });\n\t function type() {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n\t var ret = {};\n\t var terse = options.terse;\n\t var obj = options.obj;\n\t var addHelpers = options.addHelpers;\n\n\t var parentRequired = options.required;\n\t each(shape, function (checker, prop) {\n\t /* eslint complexity:[2, 6] */\n\t var specified = obj && obj.hasOwnProperty(prop);\n\t var required = undef(parentRequired) ? !checker.isOptional : parentRequired;\n\t if (!terse || (specified || !checker.isOptional)) {\n\t ret[prop] = getCheckerDisplay(checker, { terse: terse, obj: obj && obj[prop], required: required, addHelpers: addHelpers });\n\t }\n\t if (addHelpers) {\n\t modifyTypeDisplayToHelpOut(ret, prop, specified, checker, required);\n\t }\n\t });\n\t return ret;\n\n\t function modifyTypeDisplayToHelpOut(theRet, prop, specified, checker, required) {\n\t if (!specified && required && !checker.isOptional) {\n\t var item = 'ITEM';\n\t if (checker.type && checker.type.__apiCheckData) {\n\t item = checker.type.__apiCheckData.type.toUpperCase();\n\t }\n\t addHelper('missing', 'MISSING THIS ' + item, ' <-- YOU ARE MISSING THIS');\n\t } else if (specified) {\n\t var error = checker(obj[prop], prop, null, obj);\n\t if (isError(error)) {\n\t addHelper('error', 'THIS IS THE PROBLEM: ' + error.message, ' <-- THIS IS THE PROBLEM: ' + error.message);\n\t }\n\t }\n\n\t function addHelper(property, objectMessage, stringMessage) {\n\t if (typeof theRet[prop] === 'string') {\n\t theRet[prop] += stringMessage;\n\t } else {\n\t theRet[prop].__apiCheckData[property] = objectMessage;\n\t }\n\t }\n\t }\n\t }\n\n\t type.__apiCheckData = { strict: false, optional: false, type: 'shape' };\n\t var shapeChecker = setupChecker(function shapeCheckerDefinition(val, name, location) {\n\t /* eslint complexity:[2, 6] */\n\t var isObject = !nonObject && checkers.object(val, name, location);\n\t if (isError(isObject)) {\n\t return isObject;\n\t }\n\t var shapePropError = undefined;\n\t location = location ? location + (name ? '/' : '') : '';\n\t name = name || '';\n\t each(shape, function (checker, prop) {\n\t if (val.hasOwnProperty(prop) || !checker.isOptional) {\n\t shapePropError = checker(val[prop], prop, '' + location + name, val);\n\t return !isError(shapePropError);\n\t }\n\t });\n\t if (isError(shapePropError)) {\n\t return shapePropError;\n\t }\n\t }, { type: type, shortType: 'shape' }, disabled);\n\n\t function strictType() {\n\t return type.apply(undefined, arguments);\n\t }\n\n\t strictType.__apiCheckData = copy(shapeChecker.type.__apiCheckData);\n\t strictType.__apiCheckData.strict = true;\n\t shapeChecker.strict = setupChecker(function strictShapeCheckerDefinition(val, name, location) {\n\t var shapeError = shapeChecker(val, name, location);\n\t if (isError(shapeError)) {\n\t return shapeError;\n\t }\n\t var allowedProperties = Object.keys(shape);\n\t var extraProps = Object.keys(val).filter(function (prop) {\n\t return allowedProperties.indexOf(prop) === -1;\n\t });\n\t if (extraProps.length) {\n\t return new Error(nAtL(name, location) + ' cannot have extra properties: ' + t(extraProps.join('`, `')) + '.' + ('It is limited to ' + t(allowedProperties.join('`, `'))));\n\t }\n\t }, { type: strictType, shortType: 'strict shape' }, disabled);\n\n\t return shapeChecker;\n\t }\n\n\t shapeCheckGetter.ifNot = function ifNot(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t var description = undefined;\n\t if (otherProps.length === 1) {\n\t description = 'specified only if ' + otherProps[0] + ' is not specified';\n\t } else {\n\t description = 'specified only if none of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t }\n\t var shortType = 'ifNot[' + otherProps.join(', ') + ']';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function ifNotChecker(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (propExists === otherPropsExist) {\n\t return getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { notRequired: true, type: type, shortType: shortType }, disabled);\n\t };\n\n\t shapeCheckGetter.onlyIf = function onlyIf(otherProps, propChecker) {\n\t otherProps = arrayify(otherProps);\n\t var description = undefined;\n\t if (otherProps.length === 1) {\n\t description = 'specified only if ' + otherProps[0] + ' is also specified';\n\t } else {\n\t description = 'specified only if all of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t }\n\t var shortType = 'onlyIf[' + otherProps.join(', ') + ']';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function onlyIfCheckerDefinition(prop, propName, location, obj) {\n\t var othersPresent = otherProps.every(function (property) {\n\t return obj.hasOwnProperty(property);\n\t });\n\t if (!othersPresent) {\n\t return getError(propName, location, type);\n\t } else {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t };\n\n\t shapeCheckGetter.requiredIfNot = function shapeRequiredIfNot(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t return getRequiredIfNotChecker(false, otherProps, propChecker);\n\t };\n\n\t shapeCheckGetter.requiredIfNot.all = function shapeRequiredIfNotAll(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t throw new Error('requiredIfNot.all must be passed an array');\n\t }\n\t return getRequiredIfNotChecker(true, otherProps, propChecker);\n\t };\n\n\t function getRequiredIfNotChecker(all, otherProps, propChecker) {\n\t var props = t(otherProps.join(', '));\n\t var ifProps = 'if ' + (all ? 'all of' : 'at least one of');\n\t var description = 'specified ' + ifProps + ' these are not specified: ' + props + ' (otherwise it\\'s optional)';\n\t var shortType = 'requiredIfNot' + (all ? '.all' : '') + '[' + otherProps.join(', ') + '}]';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var iteration = all ? 'every' : 'some';\n\t var otherPropsExist = otherProps[iteration](function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (!otherPropsExist && !propExists) {\n\t return getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { type: type, notRequired: true }, disabled);\n\t }\n\n\t return shapeCheckGetter;\n\n\t function getTypeForShapeChild(propChecker, description, shortType) {\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(propChecker);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'ifNot', description: description };\n\t return type;\n\t }\n\t }\n\n\t function argumentsCheckerGetter() {\n\t var type = 'function arguments';\n\t return setupChecker(function argsCheckerDefinition(val, name, location) {\n\t if (Array.isArray(val) || isError(checkers.object(val)) || isError(checkers.number(val.length))) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function anyCheckGetter() {\n\t return setupChecker(function anyCheckerDefinition() {\n\t // don't do anything\n\t }, { type: 'any' }, disabled);\n\t }\n\n\t function nullCheckGetter() {\n\t var type = 'null';\n\t return setupChecker(function nullChecker(val, name, location) {\n\t if (val !== null) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function rangeCheckGetter(min, max) {\n\t var type = 'Range (' + min + ' - ' + max + ')';\n\t return setupChecker(function rangeChecker(val, name, location) {\n\t if (typeof val !== 'number' || val < min || val > max) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function lessThanCheckGetter(min) {\n\t var type = 'lessThan[' + min + ']';\n\t return setupChecker(function lessThanChecker(val, name, location) {\n\t if (typeof val !== 'number' || val > min) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function greaterThanCheckGetter(max) {\n\t var type = 'greaterThan[' + max + ']';\n\t return setupChecker(function greaterThanChecker(val, name, location) {\n\t if (typeof val !== 'number' || val < max) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function emptyObjectCheckGetter() {\n\t var type = 'empty object';\n\t return setupChecker(function emptyObjectChecker(val, name, location) {\n\t if (typeOf(val) !== 'object' || val === null || Object.keys(val).length) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\t}\n\n/***/ }\n/******/ ])\n});\n;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/api-check/dist/api-check.js\n// module id = 2\n// module chunks = 0","// angular-formly version 6.8.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"api-check\"), require(\"angular\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"api-check\", \"angular\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ngFormly\"] = factory(require(\"api-check\"), require(\"angular\"));\n\telse\n\t\troot[\"ngFormly\"] = factory(root[\"apiCheck\"], root[\"angular\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_16__, __WEBPACK_EXTERNAL_MODULE_17__) {\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 = \"\";\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\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar index = _interopRequire(__webpack_require__(1));\n\n\tmodule.exports = index;\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tvar formlyApiCheck = _interopRequire(__webpack_require__(2));\n\n\tvar formlyErrorAndWarningsUrlPrefix = _interopRequire(__webpack_require__(3));\n\n\tvar formlyUsability = _interopRequire(__webpack_require__(4));\n\n\tvar formlyConfig = _interopRequire(__webpack_require__(5));\n\n\tvar formlyValidationMessages = _interopRequire(__webpack_require__(6));\n\n\tvar formlyUtil = _interopRequire(__webpack_require__(7));\n\n\tvar formlyWarn = _interopRequire(__webpack_require__(8));\n\n\tvar formlyCustomValidation = _interopRequire(__webpack_require__(9));\n\n\tvar formlyField = _interopRequire(__webpack_require__(10));\n\n\tvar formlyFocus = _interopRequire(__webpack_require__(11));\n\n\tvar formlyForm = _interopRequire(__webpack_require__(12));\n\n\tvar formlyNgModelAttrsManipulator = _interopRequire(__webpack_require__(13));\n\n\tvar formlyCustomTags = _interopRequire(__webpack_require__(14));\n\n\tvar ngModuleName = \"formly\";\n\n\tmodule.exports = ngModuleName;\n\n\tvar ngModule = angular.module(ngModuleName, []);\n\n\tngModule.constant(\"formlyApiCheck\", formlyApiCheck);\n\tngModule.constant(\"formlyErrorAndWarningsUrlPrefix\", formlyErrorAndWarningsUrlPrefix);\n\tngModule.constant(\"formlyVersion\", (\"6.8.2\")); // <-- webpack variable\n\n\tngModule.provider(\"formlyUsability\", formlyUsability);\n\tngModule.provider(\"formlyConfig\", formlyConfig);\n\n\tngModule.factory(\"formlyValidationMessages\", formlyValidationMessages);\n\tngModule.factory(\"formlyUtil\", formlyUtil);\n\tngModule.factory(\"formlyWarn\", formlyWarn);\n\n\tngModule.directive(\"formlyCustomValidation\", formlyCustomValidation);\n\tngModule.directive(\"formlyField\", formlyField);\n\tngModule.directive(\"formlyFocus\", formlyFocus);\n\tngModule.directive(\"formlyForm\", formlyForm);\n\n\tngModule.run(formlyNgModelAttrsManipulator);\n\tngModule.run(formlyCustomTags);\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar apiCheckFactory = _interopRequire(__webpack_require__(16));\n\n\tvar apiCheck = apiCheckFactory({\n\t output: {\n\t prefix: \"angular-formly:\",\n\t docsBaseUrl: __webpack_require__(3)\n\t }\n\t});\n\n\tfunction shapeRequiredIfNot(otherProps, propChecker) {\n\t if (!angular.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t var type = \"specified if these are not specified: `\" + otherProps.join(\", \") + \"` (otherwise it's optional)\";\n\t function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (!otherPropsExist && !propExists) {\n\t return apiCheck.utils.getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }\n\t shapeRequiredIfNotDefinition.type = type;\n\t return apiCheck.utils.checkerHelpers.setupChecker(shapeRequiredIfNotDefinition);\n\t}\n\n\tvar formlyExpression = apiCheck.oneOfType([apiCheck.string, apiCheck.func]);\n\tvar specifyWrapperType = apiCheck.oneOfType([apiCheck.oneOf([null]), apiCheck.typeOrArrayOf(apiCheck.string)]);\n\n\tvar apiCheckProperty = apiCheck.objectOf(apiCheck.func);\n\n\tvar apiCheckInstanceProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.func.withProperties({\n\t warn: apiCheck.func,\n\t \"throw\": apiCheck.func,\n\t shape: apiCheck.func\n\t}));\n\n\tvar apiCheckFunctionProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.oneOf([\"throw\", \"warn\"]));\n\n\tvar formlyWrapperType = apiCheck.shape({\n\t name: shapeRequiredIfNot(\"types\", apiCheck.string).optional,\n\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.string).optional,\n\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.string).optional,\n\t types: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t overwriteOk: apiCheck.bool.optional,\n\t validateOptions: apiCheck.func.optional,\n\t apiCheck: apiCheckProperty.optional,\n\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t apiCheckOptions: apiCheck.object.optional\n\t}).strict;\n\n\tvar expressionProperties = apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t expression: formlyExpression,\n\t message: formlyExpression.optional\n\t}).strict]));\n\n\tvar modelChecker = apiCheck.oneOfType([apiCheck.oneOf([\"formState\"]), apiCheck.object]);\n\n\tvar fieldOptionsApiShape = {\n\t $$hashKey: apiCheck.any.optional,\n\t type: apiCheck.shape.ifNot([\"template\", \"templateUrl\"], apiCheck.string).optional,\n\t template: apiCheck.shape.ifNot([\"type\", \"templateUrl\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t templateUrl: apiCheck.shape.ifNot([\"type\", \"template\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t key: apiCheck.oneOfType([apiCheck.string, apiCheck.number]).optional,\n\t model: modelChecker.optional,\n\t className: apiCheck.string.optional,\n\t id: apiCheck.string.optional,\n\t expressionProperties: expressionProperties.optional,\n\t data: apiCheck.object.optional,\n\t templateOptions: apiCheck.object.optional,\n\t wrapper: specifyWrapperType.optional,\n\t modelOptions: apiCheck.shape({\n\t updateOn: apiCheck.string.optional,\n\t debounce: apiCheck.oneOfType([apiCheck.objectOf(apiCheck.number), apiCheck.number]).optional,\n\t allowInvalid: apiCheck.bool.optional,\n\t getterSetter: apiCheck.bool.optional,\n\t timezone: apiCheck.string.optional\n\t }).optional,\n\t watcher: apiCheck.typeOrArrayOf(apiCheck.shape({\n\t expression: formlyExpression.optional,\n\t listener: formlyExpression\n\t })).optional,\n\t validators: apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t expression: formlyExpression,\n\t message: formlyExpression.optional\n\t }).strict])).optional,\n\t noFormControl: apiCheck.bool.optional,\n\t hide: apiCheck.bool.optional,\n\t hideExpression: formlyExpression.optional,\n\t ngModelAttrs: apiCheck.objectOf(apiCheck.shape({\n\t expression: apiCheck.shape.ifNot([\"value\", \"attribute\", \"bound\"], apiCheck.any).optional,\n\t value: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t attribute: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t bound: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional\n\t }).strict).optional,\n\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional,\n\t optionsTypes: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t link: apiCheck.func.optional,\n\t controller: apiCheck.oneOfType([apiCheck.string, apiCheck.func, apiCheck.array]).optional,\n\t validation: apiCheck.shape({\n\t show: apiCheck.oneOfType([apiCheck.bool, apiCheck.oneOf([null])]).optional,\n\t messages: apiCheck.objectOf(formlyExpression).optional,\n\t errorExistsAndShouldBeVisible: apiCheck.bool.optional\n\t }).optional,\n\t formControl: apiCheck.object.optional,\n\t value: apiCheck.func.optional,\n\t runExpressions: apiCheck.func.optional,\n\t resetModel: apiCheck.func.optional,\n\t updateInitialValue: apiCheck.func.optional,\n\t initialValue: apiCheck.any.optional,\n\t defaultValue: apiCheck.any.optional\n\t};\n\n\tvar formlyFieldOptions = apiCheck.shape(fieldOptionsApiShape).strict;\n\n\tvar formOptionsApi = apiCheck.shape({\n\t formState: apiCheck.object.optional,\n\t resetModel: apiCheck.func.optional,\n\t updateInitialValue: apiCheck.func.optional,\n\t removeChromeAutoComplete: apiCheck.bool.optional\n\t}).strict;\n\n\tvar fieldGroup = apiCheck.shape({\n\t $$hashKey: apiCheck.any.optional,\n\t // danger. Nested field groups wont get api-checked...\n\t fieldGroup: apiCheck.arrayOf(apiCheck.oneOfType([formlyFieldOptions, apiCheck.object])),\n\t className: apiCheck.string.optional,\n\t options: formOptionsApi.optional,\n\t hide: apiCheck.bool.optional,\n\t hideExpression: formlyExpression.optional,\n\t model: modelChecker.optional,\n\t form: apiCheck.object.optional,\n\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional\n\t}).strict;\n\n\tvar typeOptionsDefaultOptions = angular.copy(fieldOptionsApiShape);\n\ttypeOptionsDefaultOptions.key = apiCheck.string.optional;\n\n\tvar formlyTypeOptions = apiCheck.shape({\n\t name: apiCheck.string,\n\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t controller: apiCheck.oneOfType([apiCheck.func, apiCheck.string, apiCheck.array]).optional,\n\t link: apiCheck.func.optional,\n\t defaultOptions: apiCheck.oneOfType([apiCheck.func, apiCheck.shape(typeOptionsDefaultOptions)]).optional,\n\t \"extends\": apiCheck.string.optional,\n\t wrapper: specifyWrapperType.optional,\n\t data: apiCheck.object.optional,\n\t validateOptions: apiCheck.func.optional,\n\t apiCheck: apiCheckProperty.optional,\n\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t apiCheckOptions: apiCheck.object.optional,\n\t overwriteOk: apiCheck.bool.optional\n\t}).strict;\n\tangular.extend(apiCheck, {\n\t formlyTypeOptions: formlyTypeOptions, formlyFieldOptions: formlyFieldOptions, formlyExpression: formlyExpression, formlyWrapperType: formlyWrapperType, fieldGroup: fieldGroup, formOptionsApi: formOptionsApi\n\t});\n\n\tmodule.exports = apiCheck;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = \"https://github.com/formly-js/angular-formly/blob/\" + (\"6.8.2\") + \"/other/ERRORS_AND_WARNINGS.md#\";\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = formlyUsability;\n\n\t// @ngInject\n\tfunction formlyUsability(formlyApiCheck, formlyErrorAndWarningsUrlPrefix) {\n\t var _this = this;\n\n\t angular.extend(this, {\n\t getFormlyError: getFormlyError,\n\t getFieldError: getFieldError,\n\t checkWrapper: checkWrapper,\n\t checkWrapperTemplate: checkWrapperTemplate,\n\t $get: function () {\n\t return _this;\n\t }\n\t });\n\n\t function getFieldError(errorInfoSlug, message, field) {\n\t if (arguments.length < 3) {\n\t field = message;\n\t message = errorInfoSlug;\n\t errorInfoSlug = null;\n\t }\n\t return new Error(getErrorMessage(errorInfoSlug, message) + (\" Field definition: \" + angular.toJson(field)));\n\t }\n\n\t function getFormlyError(errorInfoSlug, message) {\n\t if (!message) {\n\t message = errorInfoSlug;\n\t errorInfoSlug = null;\n\t }\n\t return new Error(getErrorMessage(errorInfoSlug, message));\n\t }\n\n\t function getErrorMessage(errorInfoSlug, message) {\n\t var url = \"\";\n\t if (errorInfoSlug !== null) {\n\t url = \"\" + formlyErrorAndWarningsUrlPrefix + \"\" + errorInfoSlug;\n\t }\n\t return \"Formly Error: \" + message + \". \" + url;\n\t }\n\n\t function checkWrapper(wrapper) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyWrapperType, wrapper, {\n\t prefix: \"formlyConfig.setWrapper\",\n\t urlSuffix: \"setwrapper-validation-failed\"\n\t });\n\t }\n\n\t function checkWrapperTemplate(template, additionalInfo) {\n\t var formlyTransclude = \"<formly-transclude></formly-transclude>\";\n\t if (template.indexOf(formlyTransclude) === -1) {\n\t throw getFormlyError(\"Template wrapper templates must use \\\"\" + formlyTransclude + \"\\\" somewhere in them. \" + (\"This one does not have \\\"<formly-transclude></formly-transclude>\\\" in it: \" + template) + \"\\n\" + (\"Additional information: \" + JSON.stringify(additionalInfo)));\n\t }\n\t }\n\t}\n\tformlyUsability.$inject = [\"formlyApiCheck\", \"formlyErrorAndWarningsUrlPrefix\"];\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tvar utils = _interopRequire(__webpack_require__(18));\n\n\tmodule.exports = formlyConfig;\n\n\t// @ngInject\n\tfunction formlyConfig(formlyUsabilityProvider, formlyApiCheck) {\n\t var _this2 = this;\n\n\t var typeMap = {};\n\t var templateWrappersMap = {};\n\t var defaultWrapperName = \"default\";\n\t var _this = this;\n\t var getError = formlyUsabilityProvider.getFormlyError;\n\n\t angular.extend(this, {\n\t setType: setType,\n\t getType: getType,\n\t setWrapper: setWrapper,\n\t getWrapper: getWrapper,\n\t getWrapperByType: getWrapperByType,\n\t removeWrapperByName: removeWrapperByName,\n\t removeWrappersForType: removeWrappersForType,\n\t disableWarnings: false,\n\t extras: {\n\t disableNgModelAttrsManipulator: false,\n\t ngModelAttrsManipulatorPreferUnbound: false,\n\t removeChromeAutoComplete: false,\n\t defaultHideDirective: \"ng-if\",\n\t getFieldId: null\n\t },\n\t templateManipulators: {\n\t preWrapper: [],\n\t postWrapper: []\n\t },\n\t $get: function () {\n\t return _this2;\n\t }\n\t });\n\n\t function setType(options) {\n\t if (angular.isArray(options)) {\n\t angular.forEach(options, setType);\n\t } else if (angular.isObject(options)) {\n\t checkType(options);\n\t if (options[\"extends\"]) {\n\t extendTypeOptions(options);\n\t }\n\t typeMap[options.name] = options;\n\t } else {\n\t throw getError(\"You must provide an object or array for setType. You provided: \" + JSON.stringify(arguments));\n\t }\n\t }\n\n\t function checkType(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyTypeOptions, options, {\n\t prefix: \"formlyConfig.setType\",\n\t url: \"settype-validation-failed\"\n\t });\n\t if (!options.overwriteOk) {\n\t checkOverwrite(options.name, typeMap, options, \"types\");\n\t } else {\n\t options.overwriteOk = undefined;\n\t }\n\t }\n\n\t function extendTypeOptions(options) {\n\t var extendsType = getType(options[\"extends\"], true, options);\n\t extendTypeControllerFunction(options, extendsType);\n\t extendTypeLinkFunction(options, extendsType);\n\t extendTypeValidateOptionsFunction(options, extendsType);\n\t extendTypeDefaultOptions(options, extendsType);\n\t utils.reverseDeepMerge(options, extendsType);\n\t extendTemplate(options, extendsType);\n\t }\n\n\t function extendTemplate(options, extendsType) {\n\t if (options.template && extendsType.templateUrl) {\n\t delete options.templateUrl;\n\t } else if (options.templateUrl && extendsType.template) {\n\t delete options.template;\n\t }\n\t }\n\n\t function extendTypeControllerFunction(options, extendsType) {\n\t var extendsCtrl = extendsType.controller;\n\t if (!angular.isDefined(extendsCtrl)) {\n\t return;\n\t }\n\t var optionsCtrl = options.controller;\n\t if (angular.isDefined(optionsCtrl)) {\n\t options.controller = function ($scope, $controller) {\n\t $controller(extendsCtrl, { $scope: $scope });\n\t $controller(optionsCtrl, { $scope: $scope });\n\t };\n\t options.controller.$inject = [\"$scope\", \"$controller\"];\n\t } else {\n\t options.controller = extendsCtrl;\n\t }\n\t }\n\n\t function extendTypeLinkFunction(options, extendsType) {\n\t var extendsFn = extendsType.link;\n\t if (!angular.isDefined(extendsFn)) {\n\t return;\n\t }\n\t var optionsFn = options.link;\n\t if (angular.isDefined(optionsFn)) {\n\t options.link = function () {\n\t extendsFn.apply(undefined, arguments);\n\t optionsFn.apply(undefined, arguments);\n\t };\n\t } else {\n\t options.link = extendsFn;\n\t }\n\t }\n\n\t function extendTypeValidateOptionsFunction(options, extendsType) {\n\t var extendsFn = extendsType.validateOptions;\n\t if (!angular.isDefined(extendsFn)) {\n\t return;\n\t }\n\t var optionsFn = options.validateOptions;\n\t var originalDefaultOptions = options.defaultOptions;\n\t if (angular.isDefined(optionsFn)) {\n\t options.validateOptions = function (options) {\n\t optionsFn(options);\n\t var mergedOptions = angular.copy(options);\n\t var defaultOptions = originalDefaultOptions;\n\t if (defaultOptions) {\n\t if (angular.isFunction(defaultOptions)) {\n\t defaultOptions = defaultOptions(mergedOptions);\n\t }\n\t utils.reverseDeepMerge(mergedOptions, defaultOptions);\n\t }\n\t extendsFn(mergedOptions);\n\t };\n\t } else {\n\t options.validateOptions = extendsFn;\n\t }\n\t }\n\n\t function extendTypeDefaultOptions(options, extendsType) {\n\t var extendsDO = extendsType.defaultOptions;\n\t if (!angular.isDefined(extendsDO)) {\n\t return;\n\t }\n\t var optionsDO = options.defaultOptions;\n\t var optionsDOIsFn = angular.isFunction(optionsDO);\n\t var extendsDOIsFn = angular.isFunction(extendsDO);\n\t if (extendsDOIsFn) {\n\t options.defaultOptions = function defaultOptions(options) {\n\t var extendsDefaultOptions = extendsDO(options);\n\t var mergedDefaultOptions = {};\n\t utils.reverseDeepMerge(mergedDefaultOptions, options, extendsDefaultOptions);\n\t var extenderOptionsDefaultOptions = optionsDO;\n\t if (optionsDOIsFn) {\n\t extenderOptionsDefaultOptions = extenderOptionsDefaultOptions(mergedDefaultOptions);\n\t }\n\t utils.reverseDeepMerge(extendsDefaultOptions, extenderOptionsDefaultOptions);\n\t return extendsDefaultOptions;\n\t };\n\t } else if (optionsDOIsFn) {\n\t options.defaultOptions = function defaultOptions(options) {\n\t var newDefaultOptions = {};\n\t utils.reverseDeepMerge(newDefaultOptions, options, extendsDO);\n\t return optionsDO(newDefaultOptions);\n\t };\n\t }\n\t }\n\n\t function getType(name, throwError, errorContext) {\n\t if (!name) {\n\t return undefined;\n\t }\n\t var type = typeMap[name];\n\t if (!type && throwError === true) {\n\t throw getError(\"There is no type by the name of \\\"\" + name + \"\\\": \" + JSON.stringify(errorContext));\n\t } else {\n\t return type;\n\t }\n\t }\n\n\t function setWrapper(_x, _x2) {\n\t var _again = true;\n\n\t _function: while (_again) {\n\t _again = false;\n\t var options = _x,\n\t name = _x2;\n\n\t if (angular.isArray(options)) {\n\t return options.map(function (wrapperOptions) {\n\t return setWrapper(wrapperOptions);\n\t });\n\t } else if (angular.isObject(options)) {\n\t options.types = getOptionsTypes(options);\n\t options.name = getOptionsName(options, name);\n\t checkWrapperAPI(options);\n\t templateWrappersMap[options.name] = options;\n\t return options;\n\t } else if (angular.isString(options)) {\n\t _x = {\n\t template: options,\n\t name: name\n\t };\n\t _again = true;\n\t continue _function;\n\t }\n\t }\n\t }\n\n\t function getOptionsTypes(options) {\n\t if (angular.isString(options.types)) {\n\t return [options.types];\n\t }\n\t if (!angular.isDefined(options.types)) {\n\t return [];\n\t } else {\n\t return options.types;\n\t }\n\t }\n\n\t function getOptionsName(options, name) {\n\t return options.name || name || options.types.join(\" \") || defaultWrapperName;\n\t }\n\n\t function checkWrapperAPI(options) {\n\t formlyUsabilityProvider.checkWrapper(options);\n\t if (options.template) {\n\t formlyUsabilityProvider.checkWrapperTemplate(options.template, options);\n\t }\n\t if (!options.overwriteOk) {\n\t checkOverwrite(options.name, templateWrappersMap, options, \"templateWrappers\");\n\t } else {\n\t delete options.overwriteOk;\n\t }\n\t checkWrapperTypes(options);\n\t }\n\n\t function checkWrapperTypes(options) {\n\t var shouldThrow = !angular.isArray(options.types) || !options.types.every(angular.isString);\n\t if (shouldThrow) {\n\t throw getError(\"Attempted to create a template wrapper with types that is not a string or an array of strings\");\n\t }\n\t }\n\n\t function checkOverwrite(property, object, newValue, objectName) {\n\t if (object.hasOwnProperty(property)) {\n\t warn([\"Attempting to overwrite \" + property + \" on \" + objectName + \" which is currently\", \"\" + JSON.stringify(object[property]) + \" with \" + JSON.stringify(newValue), \"To supress this warning, specify the property \\\"overwriteOk: true\\\"\"].join(\" \"));\n\t }\n\t }\n\n\t function getWrapper(name) {\n\t return templateWrappersMap[name || defaultWrapperName];\n\t }\n\n\t function getWrapperByType(type) {\n\t /* jshint maxcomplexity:6 */\n\t var wrappers = [];\n\t for (var name in templateWrappersMap) {\n\t if (templateWrappersMap.hasOwnProperty(name)) {\n\t if (templateWrappersMap[name].types && templateWrappersMap[name].types.indexOf(type) !== -1) {\n\t wrappers.push(templateWrappersMap[name]);\n\t }\n\t }\n\t }\n\t return wrappers;\n\t }\n\n\t function removeWrapperByName(name) {\n\t var wrapper = templateWrappersMap[name];\n\t delete templateWrappersMap[name];\n\t return wrapper;\n\t }\n\n\t function removeWrappersForType(type) {\n\t var wrappers = getWrapperByType(type);\n\t if (!wrappers) {\n\t return;\n\t }\n\t if (!angular.isArray(wrappers)) {\n\t return removeWrapperByName(wrappers.name);\n\t } else {\n\t wrappers.forEach(function (wrapper) {\n\t return removeWrapperByName(wrapper.name);\n\t });\n\t return wrappers;\n\t }\n\t }\n\n\t function warn() {\n\t if (!_this.disableWarnings) {\n\t console.warn.apply(console, arguments);\n\t }\n\t }\n\t}\n\tformlyConfig.$inject = [\"formlyUsabilityProvider\", \"formlyApiCheck\"];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyValidationMessages;\n\n\t// @ngInject\n\tfunction formlyValidationMessages() {\n\n\t var validationMessages = {\n\t addTemplateOptionValueMessage: addTemplateOptionValueMessage,\n\t addStringMessage: addStringMessage,\n\t messages: {}\n\t };\n\n\t return validationMessages;\n\n\t function addTemplateOptionValueMessage(name, prop, prefix, suffix, alternate) {\n\t validationMessages.messages[name] = templateOptionValue(prop, prefix, suffix, alternate);\n\t }\n\n\t function addStringMessage(name, string) {\n\t validationMessages.messages[name] = function () {\n\t return string;\n\t };\n\t }\n\n\t function templateOptionValue(prop, prefix, suffix, alternate) {\n\t return function getValidationMessage(viewValue, modelValue, scope) {\n\t if (scope.options.templateOptions[prop]) {\n\t return \"\" + prefix + \" \" + scope.options.templateOptions[prop] + \" \" + suffix;\n\t } else {\n\t return alternate;\n\t }\n\t };\n\t }\n\t}\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar utils = _interopRequire(__webpack_require__(18));\n\n\tmodule.exports = formlyUtil;\n\n\t// @ngInject\n\tfunction formlyUtil() {\n\t return utils;\n\t}\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _toConsumableArray = function (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\n\tmodule.exports = formlyWarn;\n\n\t// @ngInject\n\tfunction formlyWarn(formlyConfig, formlyErrorAndWarningsUrlPrefix, $log) {\n\t return function warn() {\n\t if (!formlyConfig.disableWarnings) {\n\t var args = Array.prototype.slice.call(arguments);\n\t var warnInfoSlug = args.shift();\n\t args.unshift(\"Formly Warning:\");\n\t args.push(\"\" + formlyErrorAndWarningsUrlPrefix + \"\" + warnInfoSlug);\n\t $log.warn.apply($log, _toConsumableArray(args));\n\t }\n\t };\n\t}\n\tformlyWarn.$inject = [\"formlyConfig\", \"formlyErrorAndWarningsUrlPrefix\", \"$log\"];\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyCustomValidation;\n\n\t// @ngInject\n\tfunction formlyCustomValidation(formlyUtil, $q) {\n\t return {\n\t restrict: \"A\",\n\t require: \"ngModel\",\n\t link: function formlyCustomValidationLink(scope, el, attrs, ctrl) {\n\t var opts = scope.options;\n\t if (opts.validators) {\n\t checkValidators(opts.validators);\n\t }\n\t opts.validation.messages = opts.validation.messages || {};\n\t angular.forEach(opts.validation.messages, function (message, key) {\n\t opts.validation.messages[key] = function () {\n\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t };\n\t });\n\n\t var useNewValidatorsApi = ctrl.hasOwnProperty(\"$validators\") && !attrs.hasOwnProperty(\"useParsers\");\n\t angular.forEach(opts.validators, function addValidatorToPipeline(validator, name) {\n\t var message = validator.message;\n\t if (message) {\n\t opts.validation.messages[name] = function () {\n\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t };\n\t }\n\t validator = angular.isObject(validator) ? validator.expression : validator;\n\t var isPossiblyAsync = !angular.isString(validator);\n\t if (useNewValidatorsApi) {\n\t setupWithValidators();\n\t } else {\n\t setupWithParsers();\n\t }\n\n\t function setupWithValidators() {\n\t var validatorCollection = isPossiblyAsync ? \"$asyncValidators\" : \"$validators\";\n\t ctrl[validatorCollection][name] = function evalValidity(modelValue, viewValue) {\n\t var value = formlyUtil.formlyEval(scope, validator, modelValue, viewValue);\n\t if (isPossiblyAsync) {\n\t return isPromiseLike(value) ? value : value ? $q.when(value) : $q.reject(value);\n\t } else {\n\t return value;\n\t }\n\t };\n\t }\n\n\t function setupWithParsers() {\n\t var inFlightValidator = undefined;\n\t ctrl.$parsers.unshift(function evalValidityOfParser(viewValue) {\n\t var isValid = formlyUtil.formlyEval(scope, validator, ctrl.$modelValue, viewValue);\n\t if (isPromiseLike(isValid)) {\n\t ctrl.$pending = ctrl.$pending || {};\n\t ctrl.$pending[name] = true;\n\t inFlightValidator = isValid;\n\t isValid.then(function () {\n\t if (inFlightValidator === isValid) {\n\t ctrl.$setValidity(name, true);\n\t }\n\t })[\"catch\"](function () {\n\t if (inFlightValidator === isValid) {\n\t ctrl.$setValidity(name, false);\n\t }\n\t })[\"finally\"](function () {\n\t if (Object.keys(ctrl.$pending).length === 1) {\n\t delete ctrl.$pending;\n\t } else {\n\t delete ctrl.$pending[name];\n\t }\n\t });\n\t } else {\n\t ctrl.$setValidity(name, isValid);\n\t }\n\t return viewValue;\n\t });\n\t }\n\t });\n\t }\n\t };\n\n\t function isPromiseLike(obj) {\n\t return obj && angular.isFunction(obj.then);\n\t }\n\n\t function checkValidators(validators) {\n\t var allowedProperties = [\"expression\", \"message\"];\n\t var validatorsWithExtraProps = {};\n\t angular.forEach(validators, function (validator, name) {\n\t if (angular.isString(validator)) {\n\t return;\n\t }\n\t var extraProps = [];\n\t angular.forEach(validator, function (v, key) {\n\t if (allowedProperties.indexOf(key) === -1) {\n\t extraProps.push(key);\n\t }\n\t });\n\t if (extraProps.length) {\n\t validatorsWithExtraProps[name] = extraProps;\n\t }\n\t });\n\t if (Object.keys(validatorsWithExtraProps).length) {\n\t throw new Error([\"Validators are only allowed to be functions or objects that have \" + allowedProperties.join(\", \") + \".\", \"You provided some extra properties: \" + JSON.stringify(validatorsWithExtraProps)].join(\" \"));\n\t }\n\t }\n\t}\n\tformlyCustomValidation.$inject = [\"formlyUtil\", \"$q\"];\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = formlyField;\n\n\t/**\n\t * @ngdoc directive\n\t * @name formlyField\n\t * @restrict AE\n\t */\n\t// @ngInject\n\tfunction formlyField($http, $q, $compile, $templateCache, formlyConfig, formlyValidationMessages, formlyApiCheck, formlyUtil, formlyUsability, formlyWarn) {\n\t var arrayify = formlyUtil.arrayify;\n\n\t FormlyFieldController.$inject = [\"$scope\", \"$timeout\", \"$parse\", \"$controller\"];\n\t return {\n\t restrict: \"AE\",\n\t transclude: true,\n\t scope: {\n\t options: \"=\",\n\t model: \"=\",\n\t formId: \"@\", // TODO remove formId in a breaking release\n\t index: \"=?\",\n\t fields: \"=?\",\n\t formState: \"=?\",\n\t form: \"=?\" // TODO require form in a breaking release\n\t },\n\t controller: FormlyFieldController,\n\t link: fieldLink\n\t };\n\n\t // @ngInject\n\t function FormlyFieldController($scope, $timeout, $parse, $controller) {\n\t /* jshint maxstatements:31 */\n\t if ($scope.options.fieldGroup) {\n\t setupFieldGroup();\n\t return;\n\t }\n\n\t var fieldType = getFieldType($scope.options);\n\t simplifyLife($scope.options);\n\t mergeFieldOptionsWithTypeDefaults($scope.options, fieldType);\n\t extendOptionsWithDefaults($scope.options, $scope.index);\n\t checkApi($scope.options);\n\t // set field id to link labels and fields\n\n\t // initalization\n\t setFieldId();\n\t setDefaultValue();\n\t setInitialValue();\n\t runExpressions();\n\t addModelWatcher($scope, $scope.options);\n\t addValidationMessages($scope.options);\n\t invokeControllers($scope, $scope.options, fieldType);\n\n\t // function definitions\n\t function runExpressions() {\n\t // must run on next tick to make sure that the current value is correct.\n\t $timeout(function runExpressionsOnNextTick() {\n\t var field = $scope.options;\n\t var currentValue = valueGetterSetter();\n\t angular.forEach(field.expressionProperties, function runExpression(expression, prop) {\n\t var setter = $parse(prop).assign;\n\t var promise = $q.when(formlyUtil.formlyEval($scope, expression, currentValue));\n\t promise.then(function setFieldValue(value) {\n\t setter(field, value);\n\t });\n\t });\n\t });\n\t }\n\n\t function valueGetterSetter(newVal) {\n\t if (!$scope.model || !$scope.options.key) {\n\t return;\n\t }\n\t if (angular.isDefined(newVal)) {\n\t $scope.model[$scope.options.key] = newVal;\n\t }\n\t return $scope.model[$scope.options.key];\n\t }\n\n\t function simplifyLife(options) {\n\t // add a few empty objects (if they don't already exist) so you don't have to undefined check everywhere\n\t formlyUtil.reverseDeepMerge(options, {\n\t data: {},\n\t templateOptions: {},\n\t validation: {}\n\t });\n\t // create $scope.to so template authors can reference to instead of $scope.options.templateOptions\n\t $scope.to = $scope.options.templateOptions;\n\t }\n\n\t function setFieldId() {\n\t if (angular.isFunction(formlyConfig.extras.getFieldId)) {\n\t $scope.id = formlyConfig.extras.getFieldId($scope.options, $scope.model, $scope);\n\t } else {\n\t var formName = $scope.form && $scope.form.$name || $scope.formId;\n\t $scope.id = formlyUtil.getFieldId(formName, $scope.options, $scope.index);\n\t }\n\t $scope.options.id = $scope.id;\n\t }\n\n\t function setDefaultValue() {\n\t if (angular.isDefined($scope.options.defaultValue) && !angular.isDefined($scope.model[$scope.options.key])) {\n\t $scope.model[$scope.options.key] = $scope.options.defaultValue;\n\t }\n\t }\n\n\t function setInitialValue() {\n\t $scope.options.initialValue = $scope.model && $scope.model[$scope.options.key];\n\t }\n\n\t function mergeFieldOptionsWithTypeDefaults(options, type) {\n\t if (type) {\n\t mergeOptions(options, type.defaultOptions);\n\t }\n\t var properOrder = arrayify(options.optionsTypes).reverse(); // so the right things are overridden\n\t angular.forEach(properOrder, function (typeName) {\n\t mergeOptions(options, formlyConfig.getType(typeName, true, options).defaultOptions);\n\t });\n\t }\n\n\t function mergeOptions(options, extraOptions) {\n\t if (extraOptions) {\n\t if (angular.isFunction(extraOptions)) {\n\t extraOptions = extraOptions(options);\n\t }\n\t formlyUtil.reverseDeepMerge(options, extraOptions);\n\t }\n\t }\n\n\t function extendOptionsWithDefaults(options, index) {\n\t var key = options.key || index || 0;\n\t angular.extend(options, {\n\t // attach the key in case the formly-field directive is used directly\n\t key: key,\n\t value: valueGetterSetter,\n\t runExpressions: runExpressions,\n\t resetModel: resetModel,\n\t updateInitialValue: updateInitialValue\n\t });\n\t }\n\n\t // initialization functions\n\t function addModelWatcher(scope, options) {\n\t if (options.model) {\n\t scope.$watch(\"options.model\", runExpressions, true);\n\t }\n\t }\n\n\t function resetModel() {\n\t $scope.model[$scope.options.key] = $scope.options.initialValue;\n\t if ($scope.options.formControl) {\n\t $scope.options.formControl.$setViewValue($scope.model[$scope.options.key]);\n\t $scope.options.formControl.$render();\n\t $scope.options.formControl.$setUntouched();\n\t $scope.options.formControl.$setPristine();\n\t }\n\t }\n\n\t function updateInitialValue() {\n\t $scope.options.initialValue = $scope.model[$scope.options.key];\n\t }\n\n\t function addValidationMessages(options) {\n\t options.validation.messages = options.validation.messages || {};\n\t angular.forEach(formlyValidationMessages.messages, function createFunctionForMessage(expression, name) {\n\t if (!options.validation.messages[name]) {\n\t options.validation.messages[name] = function evaluateMessage(viewValue, modelValue, scope) {\n\t return formlyUtil.formlyEval(scope, expression, modelValue, viewValue);\n\t };\n\t }\n\t });\n\t }\n\n\t function invokeControllers(scope) {\n\t var options = arguments[1] === undefined ? {} : arguments[1];\n\t var type = arguments[2] === undefined ? {} : arguments[2];\n\n\t angular.forEach([type.controller, options.controller], function (controller) {\n\t if (controller) {\n\t $controller(controller, { $scope: scope });\n\t }\n\t });\n\t }\n\n\t function setupFieldGroup() {\n\t $scope.options.options = $scope.options.options || {};\n\t $scope.options.options.formState = $scope.formState;\n\t }\n\t }\n\n\t // link function\n\t function fieldLink(scope, el) {\n\t if (scope.options.fieldGroup) {\n\t setFieldGroupTemplate();\n\t return;\n\t }\n\n\t addAttributes();\n\t addClasses();\n\n\t var type = getFieldType(scope.options);\n\t var args = arguments;\n\t var thusly = this;\n\t getFieldTemplate(scope.options).then(runManipulators(formlyConfig.templateManipulators.preWrapper)).then(transcludeInWrappers(scope.options)).then(runManipulators(formlyConfig.templateManipulators.postWrapper)).then(setElementTemplate).then(watchFormControl).then(callLinkFunctions)[\"catch\"](function (error) {\n\t formlyWarn(\"there-was-a-problem-setting-the-template-for-this-field\", \"There was a problem setting the template for this field \", scope.options, error);\n\t });\n\n\t function setFieldGroupTemplate() {\n\t checkFieldGroupApi(scope.options);\n\t el.addClass(\"formly-field-group\");\n\t var extraAttributes = \"\";\n\t if (scope.options.elementAttributes) {\n\t extraAttributes = Object.keys(scope.options.elementAttributes).map(function (key) {\n\t return \"\" + key + \"=\\\"\" + scope.options.elementAttributes[key] + \"\\\"\";\n\t }).join(\" \");\n\t }\n\t setElementTemplate(\"\\n <formly-form model=\\\"model\\\"\\n fields=\\\"options.fieldGroup\\\"\\n options=\\\"options.options\\\"\\n form=\\\"options.form\\\"\\n class=\\\"\" + scope.options.className + \"\\\"\\n \" + extraAttributes + \"\\n is-field-group>\\n </formly-form>\\n \");\n\t }\n\n\t function addAttributes() {\n\t if (scope.options.elementAttributes) {\n\t el.attr(scope.options.elementAttributes);\n\t }\n\t }\n\n\t function addClasses() {\n\t if (scope.options.className) {\n\t el.addClass(scope.options.className);\n\t }\n\t if (scope.options.type) {\n\t el.addClass(\"formly-field-\" + scope.options.type);\n\t }\n\t }\n\n\t function setElementTemplate(templateString) {\n\t el.html(asHtml(templateString));\n\t $compile(el.contents())(scope);\n\t return templateString;\n\t }\n\n\t function watchFormControl(templateString) {\n\t var stopWatchingField = angular.noop;\n\t var stopWatchingShowError = angular.noop;\n\t if (scope.options.noFormControl) {\n\t return;\n\t }\n\t var templateEl = angular.element(\"<div>\" + templateString + \"</div>\");\n\t var ngModelNode = templateEl[0].querySelector(\"[ng-model],[data-ng-model]\");\n\t if (ngModelNode && ngModelNode.getAttribute(\"name\")) {\n\t watchFieldNameOrExistence(ngModelNode.getAttribute(\"name\"));\n\t }\n\n\t function watchFieldNameOrExistence(name) {\n\t var nameExpressionRegex = /\\{\\{(.*?)}}/;\n\t var nameExpression = nameExpressionRegex.exec(name);\n\t if (nameExpression) {\n\t watchFieldName(nameExpression[1]);\n\t } else {\n\t watchFieldExistence(name);\n\t }\n\t }\n\n\t function watchFieldName(expression) {\n\t scope.$watch(expression, function oneFieldNameChange(name) {\n\t if (name) {\n\t stopWatchingField();\n\t watchFieldExistence(name);\n\t }\n\t });\n\t }\n\n\t function watchFieldExistence(name) {\n\t stopWatchingField = scope.$watch(\"form[\\\"\" + name + \"\\\"]\", function formControlChange(formControl) {\n\t if (formControl) {\n\t scope.fc = formControl; // shortcut for template authors\n\t scope.options.formControl = formControl;\n\t stopWatchingShowError();\n\t addShowMessagesWatcher();\n\t }\n\t });\n\t }\n\n\t function addShowMessagesWatcher() {\n\t stopWatchingShowError = scope.$watch(function watchShowValidationChange() {\n\t var customExpression = formlyConfig.extras.errorExistsAndShouldBeVisibleExpression;\n\t var options = scope.options;\n\t var fc = scope.fc;\n\n\t if (!fc.$invalid) {\n\t return false;\n\t } else if (typeof options.validation.show === \"boolean\") {\n\t return options.validation.show;\n\t } else if (customExpression) {\n\t return formlyUtil.formlyEval(scope, customExpression, fc.$modelValue, fc.$viewValue);\n\t } else {\n\t var noTouchedButDirty = angular.isUndefined(fc.$touched) && fc.$dirty;\n\t return scope.fc.$touched || noTouchedButDirty;\n\t }\n\t }, function onShowValidationChange(show) {\n\t scope.options.validation.errorExistsAndShouldBeVisible = show;\n\t scope.showError = show; // shortcut for template authors\n\t });\n\t }\n\t }\n\n\t function callLinkFunctions() {\n\t if (type && type.link) {\n\t type.link.apply(thusly, args);\n\t }\n\t if (scope.options.link) {\n\t scope.options.link.apply(thusly, args);\n\t }\n\t }\n\n\t function runManipulators(manipulators) {\n\t return function runManipulatorsOnTemplate(template) {\n\t var chain = $q.when(template);\n\t angular.forEach(manipulators, function (manipulator) {\n\t chain = chain.then(function (template) {\n\t return $q.when(manipulator(template, scope.options, scope)).then(function (newTemplate) {\n\t return angular.isString(newTemplate) ? newTemplate : asHtml(newTemplate);\n\t });\n\t });\n\t });\n\t return chain;\n\t };\n\t }\n\t }\n\n\t // stateless util functions\n\t function asHtml(el) {\n\t var wrapper = angular.element(\"<a></a>\");\n\t return wrapper.append(el).html();\n\t }\n\n\t function getFieldType(options) {\n\t return options.type && formlyConfig.getType(options.type);\n\t }\n\n\t function getFieldTemplate(options) {\n\t function fromOptionsOrType(key, type) {\n\t if (angular.isDefined(options[key])) {\n\t return options[key];\n\t } else if (type && angular.isDefined(type[key])) {\n\t return type[key];\n\t }\n\t }\n\n\t var type = formlyConfig.getType(options.type, true, options);\n\t var template = fromOptionsOrType(\"template\", type);\n\t var templateUrl = fromOptionsOrType(\"templateUrl\", type);\n\t if (angular.isUndefined(template) && !templateUrl) {\n\t throw formlyUsability.getFieldError(\"type-type-has-no-template\", \"Type '\" + options.type + \"' has not template. On element:\", options);\n\t }\n\n\t return getTemplate(templateUrl || template, angular.isUndefined(template), options);\n\t }\n\n\t function getTemplate(template, isUrl, options) {\n\t var templatePromise = undefined;\n\t if (angular.isFunction(template)) {\n\t templatePromise = $q.when(template(options));\n\t } else {\n\t templatePromise = $q.when(template);\n\t }\n\n\t if (!isUrl) {\n\t return templatePromise;\n\t } else {\n\t var _ret = (function () {\n\t var httpOptions = { cache: $templateCache };\n\t return {\n\t v: templatePromise.then(function (url) {\n\t return $http.get(url, httpOptions);\n\t }).then(function (response) {\n\t return response.data;\n\t })[\"catch\"](function handleErrorGettingATemplate(error) {\n\t formlyWarn(\"problem-loading-template-for-templateurl\", \"Problem loading template for \" + template, error);\n\t })\n\t };\n\t })();\n\n\t if (typeof _ret === \"object\") {\n\t return _ret.v;\n\t }\n\t }\n\t }\n\n\t function transcludeInWrappers(options) {\n\t var wrapper = getWrapperOption(options);\n\n\t return function transcludeTemplate(template) {\n\t if (!wrapper.length) {\n\t return $q.when(template);\n\t }\n\n\t wrapper.forEach(function (wrapper) {\n\t formlyUsability.checkWrapper(wrapper, options);\n\t wrapper.validateOptions && wrapper.validateOptions(options);\n\t runApiCheck(wrapper, options);\n\t });\n\t var promises = wrapper.map(function (w) {\n\t return getTemplate(w.template || w.templateUrl, !w.template);\n\t });\n\t return $q.all(promises).then(function (wrappersTemplates) {\n\t wrappersTemplates.forEach(function (wrapperTemplate, index) {\n\t formlyUsability.checkWrapperTemplate(wrapperTemplate, wrapper[index]);\n\t });\n\t wrappersTemplates.reverse(); // wrapper 0 is wrapped in wrapper 1 and so on...\n\t var totalWrapper = wrappersTemplates.shift();\n\t wrappersTemplates.forEach(function (wrapperTemplate) {\n\t totalWrapper = doTransclusion(totalWrapper, wrapperTemplate);\n\t });\n\t return doTransclusion(totalWrapper, template);\n\t });\n\t };\n\t }\n\n\t function doTransclusion(wrapper, template) {\n\t var superWrapper = angular.element(\"<a></a>\"); // this allows people not have to have a single root in wrappers\n\t superWrapper.append(wrapper);\n\t var transcludeEl = superWrapper.find(\"formly-transclude\");\n\t if (!transcludeEl.length) {\n\t //try it using our custom find function\n\t transcludeEl = formlyUtil.findByNodeName(superWrapper, \"formly-transclude\");\n\t }\n\t transcludeEl.replaceWith(template);\n\t return superWrapper.html();\n\t }\n\n\t function getWrapperOption(options) {\n\t var wrapper = options.wrapper;\n\t // explicit null means no wrapper\n\t if (wrapper === null) {\n\t return [];\n\t }\n\n\t // nothing specified means use the default wrapper for the type\n\t if (!wrapper) {\n\t // get all wrappers that specify they apply to this type\n\t wrapper = arrayify(formlyConfig.getWrapperByType(options.type));\n\t } else {\n\t wrapper = arrayify(wrapper).map(formlyConfig.getWrapper);\n\t }\n\n\t // get all wrappers for that this type specified that it uses.\n\t var type = formlyConfig.getType(options.type, true, options);\n\t if (type && type.wrapper) {\n\t var typeWrappers = arrayify(type.wrapper).map(formlyConfig.getWrapper);\n\t wrapper = wrapper.concat(typeWrappers);\n\t }\n\n\t // add the default wrapper last\n\t var defaultWrapper = formlyConfig.getWrapper();\n\t if (defaultWrapper) {\n\t wrapper.push(defaultWrapper);\n\t }\n\t return wrapper;\n\t }\n\n\t function checkApi(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyFieldOptions, options, {\n\t prefix: \"formly-field directive\",\n\t url: \"formly-field-directive-validation-failed\"\n\t });\n\t // validate with the type\n\t var type = options.type && formlyConfig.getType(options.type);\n\t if (type) {\n\t if (type.validateOptions) {\n\t type.validateOptions(options);\n\t }\n\t runApiCheck(type, options);\n\t }\n\t }\n\n\t function checkFieldGroupApi(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.fieldGroup, options, {\n\t prefix: \"formly-field directive\",\n\t url: \"formly-field-directive-validation-failed\"\n\t });\n\t }\n\n\t function runApiCheck(_ref, options) {\n\t var apiCheck = _ref.apiCheck;\n\t var apiCheckInstance = _ref.apiCheckInstance;\n\t var apiCheckFunction = _ref.apiCheckFunction;\n\t var apiCheckOptions = _ref.apiCheckOptions;\n\n\t if (!apiCheck) {\n\t return;\n\t }\n\t var instance = apiCheckInstance || formlyApiCheck;\n\t var fn = apiCheckFunction || \"warn\";\n\t var shape = instance.shape(apiCheck);\n\t instance[fn](shape, options, apiCheckOptions || {\n\t prefix: \"formly-field \" + name,\n\t url: formlyApiCheck.config.output.docsBaseUrl + \"formly-field-type-apicheck-failed\"\n\t });\n\t }\n\t}\n\tformlyField.$inject = [\"$http\", \"$q\", \"$compile\", \"$templateCache\", \"formlyConfig\", \"formlyValidationMessages\", \"formlyApiCheck\", \"formlyUtil\", \"formlyUsability\", \"formlyWarn\"];\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyFocus;\n\n\t// @ngInject\n\tfunction formlyFocus($timeout, $document) {\n\t /* jshint -W052 */\n\t return {\n\t restrict: \"A\",\n\t link: function formlyFocusLink(scope, element, attrs) {\n\t var previousEl = null;\n\t var el = element[0];\n\t var doc = $document[0];\n\t attrs.$observe(\"formlyFocus\", function respondToFocusExpressionChange(value) {\n\t if (value === \"true\") {\n\t $timeout(function setElementFocus() {\n\t previousEl = doc.activeElement;\n\t el.focus();\n\t }, ~ ~attrs.focusWait);\n\t } else if (value === \"false\") {\n\t if (doc.activeElement === el) {\n\t el.blur();\n\t if (attrs.hasOwnProperty(\"refocus\") && previousEl) {\n\t previousEl.focus();\n\t }\n\t }\n\t }\n\t });\n\t }\n\t };\n\t}\n\tformlyFocus.$inject = [\"$timeout\", \"$document\"];\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar _toConsumableArray = function (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\n\tvar _slice = Array.prototype.slice;\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = formlyForm;\n\n\t/**\n\t * @ngdoc directive\n\t * @name formlyForm\n\t * @restrict E\n\t */\n\t// @ngInject\n\tfunction formlyForm(formlyUsability, $parse, formlyApiCheck, formlyConfig) {\n\t var currentFormId = 1;\n\t return {\n\t restrict: \"E\",\n\t template: function formlyFormGetTemplate(el, attrs) {\n\t /* jshint -W033 */ // this because jshint is broken I guess...\n\t var rootEl = getRootEl();\n\t var fieldRootEl = getFieldRootEl();\n\t var formId = \"formly_\" + currentFormId++;\n\t var parentFormAttributes = \"\";\n\t if (attrs.hasOwnProperty(\"isFieldGroup\") && el.parent().parent().hasClass(\"formly\")) {\n\t parentFormAttributes = copyAttributes(el.parent().parent()[0].attributes);\n\t }\n\t return \"\\n <\" + rootEl + \" class=\\\"formly\\\"\\n name=\\\"\" + getFormName() + \"\\\"\\n role=\\\"form\\\" \" + parentFormAttributes + \">\\n <\" + fieldRootEl + \" formly-field\\n ng-repeat=\\\"field in fields \" + getTrackBy() + \"\\\"\\n \" + getHideDirective() + \"=\\\"!field.hide\\\"\\n class=\\\"formly-field\\\"\\n options=\\\"field\\\"\\n model=\\\"field.model || model\\\"\\n fields=\\\"fields\\\"\\n form=\\\"theFormlyForm\\\"\\n form-id=\\\"\" + getFormName() + \"\\\"\\n form-state=\\\"options.formState\\\"\\n index=\\\"$index\\\">\\n </\" + fieldRootEl + \">\\n <div ng-transclude></div>\\n </\" + rootEl + \">\\n \";\n\n\t function getRootEl() {\n\t return attrs.rootEl || \"ng-form\";\n\t }\n\n\t function getFieldRootEl() {\n\t return attrs.fieldRootEl || \"div\";\n\t }\n\n\t function getHideDirective() {\n\t return attrs.hideDirective || formlyConfig.extras.defaultHideDirective || \"ng-if\";\n\t }\n\n\t function getTrackBy() {\n\t if (!attrs.trackBy) {\n\t return \"\";\n\t } else {\n\t return \"track by \" + attrs.trackBy;\n\t }\n\t }\n\n\t function getFormName() {\n\t var formName = formId;\n\t var bindName = attrs.bindName;\n\t if (bindName) {\n\t if (angular.version.minor < 3) {\n\t throw formlyUsability.getFormlyError(\"bind-name attribute on formly-form not allowed in > angular 1.3\");\n\t }\n\t // we can do a one-time binding here because we know we're in 1.3.x territory\n\t formName = \"{{::'formly_' + \" + bindName + \"}}\";\n\t }\n\t return formName;\n\t }\n\n\t function copyAttributes(attributes) {\n\t var excluded = [\"model\", \"form\", \"fields\", \"options\", \"name\", \"role\", \"class\"];\n\t var arrayAttrs = [];\n\t angular.forEach(attributes, function (_ref) {\n\t var nodeName = _ref.nodeName;\n\t var nodeValue = _ref.nodeValue;\n\n\t if (nodeName !== \"undefined\" && excluded.indexOf(nodeName) === -1) {\n\t arrayAttrs.push(\"\" + toKebabCase(nodeName) + \"=\\\"\" + nodeValue + \"\\\"\");\n\t }\n\t });\n\t return arrayAttrs.join(\" \");\n\t }\n\n\t function toKebabCase(string) {\n\t if (string) {\n\t return string.replace(/([A-Z])/g, function ($1) {\n\t return \"-\" + $1.toLowerCase();\n\t });\n\t } else {\n\t return \"\";\n\t }\n\t }\n\t },\n\t replace: true,\n\t transclude: true,\n\t scope: {\n\t fields: \"=\",\n\t model: \"=\",\n\t form: \"=?\",\n\t options: \"=?\"\n\t },\n\t controller: /* @ngInject */[\"$scope\", \"formlyUtil\", function FormlyFormController($scope, formlyUtil) {\n\t setupOptions();\n\t $scope.model = $scope.model || {};\n\t $scope.fields = $scope.fields || [];\n\n\t angular.forEach($scope.fields, initModel); // initializes the model property if set to 'formState'\n\t angular.forEach($scope.fields, attachKey); // attaches a key based on the index if a key isn't specified\n\t angular.forEach($scope.fields, setupWatchers); // setup watchers for all fields\n\n\t // watch the model and evaluate watch expressions that depend on it.\n\t $scope.$watch(\"model\", onModelOrFormStateChange, true);\n\t if ($scope.options.formState) {\n\t $scope.$watch(\"options.formState\", onModelOrFormStateChange, true);\n\t }\n\n\t function onModelOrFormStateChange() {\n\t angular.forEach($scope.fields, function runFieldExpressionProperties(field, index) {\n\t /*jshint -W030 */\n\t var model = field.model || $scope.model;\n\t field.runExpressions && field.runExpressions(model);\n\t if (field.hideExpression) {\n\t // can't use hide with expressionProperties reliably\n\t var val = model[field.key];\n\t // this makes it closer to what a regular expressionProperty would be\n\t var extraLocals = {\n\t options: field,\n\t index: index,\n\t formState: $scope.options.formState,\n\t formId: $scope.formId\n\t };\n\t field.hide = formlyUtil.formlyEval($scope, field.hideExpression, val, val, extraLocals);\n\t }\n\t });\n\t }\n\n\t function setupOptions() {\n\t formlyApiCheck[\"throw\"]([formlyApiCheck.formOptionsApi.optional], [$scope.options], { prefix: \"formly-form options check\" });\n\t $scope.options = $scope.options || {};\n\t $scope.options.formState = $scope.options.formState || {};\n\n\t angular.extend($scope.options, {\n\t updateInitialValue: updateInitialValue,\n\t resetModel: resetModel\n\t });\n\t }\n\n\t function updateInitialValue() {\n\t angular.forEach($scope.fields, function (field) {\n\t if (isFieldGroup(field)) {\n\t field.options.updateInitialValue();\n\t } else {\n\t field.updateInitialValue();\n\t }\n\t });\n\t }\n\n\t function resetModel() {\n\t angular.forEach($scope.fields, function (field) {\n\t if (isFieldGroup(field)) {\n\t field.options.resetModel();\n\t } else {\n\t field.resetModel();\n\t }\n\t });\n\t }\n\n\t function initModel(field) {\n\t if (field.model && field.model === \"formState\") {\n\t field.model = $scope.options.formState;\n\t }\n\t }\n\n\t function attachKey(field, index) {\n\t if (!isFieldGroup(field)) {\n\t field.key = field.key || index || 0;\n\t }\n\t }\n\n\t function setupWatchers(field, index) {\n\t if (isFieldGroup(field) || !angular.isDefined(field.watcher)) {\n\t return;\n\t }\n\t var watchers = field.watcher;\n\t if (!angular.isArray(watchers)) {\n\t watchers = [watchers];\n\t }\n\t angular.forEach(watchers, function setupWatcher(watcher) {\n\t if (!angular.isDefined(watcher.listener)) {\n\t throw formlyUsability.getFieldError(\"all-field-watchers-must-have-a-listener\", \"All field watchers must have a listener\", field);\n\t }\n\t var watchExpression = getWatchExpression(watcher, field, index);\n\t var watchListener = getWatchListener(watcher, field, index);\n\n\t var type = watcher.type || \"$watch\";\n\t watcher.stopWatching = $scope[type](watchExpression, watchListener, watcher.watchDeep);\n\t });\n\t }\n\n\t function getWatchExpression(watcher, field, index) {\n\t var watchExpression = watcher.expression || \"model['\" + field.key + \"']\";\n\t if (angular.isFunction(watchExpression)) {\n\t // wrap the field's watch expression so we can call it with the field as the first arg\n\t // and the stop function as the last arg as a helper\n\t var originalExpression = watchExpression;\n\t watchExpression = function formlyWatchExpression() {\n\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t return originalExpression.apply(undefined, _toConsumableArray(args));\n\t };\n\t watchExpression.displayName = \"Formly Watch Expression for field for \" + field.key;\n\t }\n\t return watchExpression;\n\t }\n\n\t function getWatchListener(watcher, field, index) {\n\t var watchListener = watcher.listener;\n\t if (angular.isFunction(watchListener)) {\n\t // wrap the field's watch listener so we can call it with the field as the first arg\n\t // and the stop function as the last arg as a helper\n\t var originalListener = watchListener;\n\t watchListener = function formlyWatchListener() {\n\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t return originalListener.apply(undefined, _toConsumableArray(args));\n\t };\n\t watchListener.displayName = \"Formly Watch Listener for field for \" + field.key;\n\t }\n\t return watchListener;\n\t }\n\n\t function modifyArgs(watcher, index) {\n\t for (var _len = arguments.length, originalArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t originalArgs[_key - 2] = arguments[_key];\n\t }\n\n\t return [$scope.fields[index]].concat(originalArgs, [watcher.stopWatching]);\n\t }\n\n\t function isFieldGroup(field) {\n\t return field && !!field.fieldGroup;\n\t }\n\t }],\n\t link: function link(scope, el, attrs) {\n\t var formId = attrs.name;\n\t scope.formId = formId;\n\t scope.theFormlyForm = scope[formId];\n\t if (attrs.form) {\n\t $parse(attrs.form).assign(scope.$parent, scope[formId]);\n\t }\n\n\t // chrome autocomplete lameness\n\t // see https://code.google.com/p/chromium/issues/detail?id=468153#c14\n\t // ლ(ಠ益ಠლ) (╯°□°)╯︵ ┻━┻ (◞‸◟;)\n\t var global = formlyConfig.extras.removeChromeAutoComplete === true;\n\t var offInstance = scope.options && scope.options.removeChromeAutoComplete === false;\n\t var onInstance = scope.options && scope.options.removeChromeAutoComplete === true;\n\t if (global && !offInstance || onInstance) {\n\t var input = document.createElement(\"input\");\n\t input.setAttribute(\"autocomplete\", \"address-level4\");\n\t input.setAttribute(\"hidden\", true);\n\t el[0].appendChild(input);\n\t }\n\t }\n\t };\n\t}\n\tformlyForm.$inject = [\"formlyUsability\", \"$parse\", \"formlyApiCheck\", \"formlyConfig\"];\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = addFormlyNgModelAttrsManipulator;\n\n\t// @ngInject\n\tfunction addFormlyNgModelAttrsManipulator(formlyConfig) {\n\t if (formlyConfig.extras.disableNgModelAttrsManipulator) {\n\t return;\n\t }\n\t formlyConfig.templateManipulators.preWrapper.push(ngModelAttrsManipulator);\n\n\t function ngModelAttrsManipulator(template, options, scope) {\n\t /* jshint maxcomplexity:6 */\n\t var el = document.createElement(\"div\");\n\t var data = options.data;\n\t if (data.skipNgModelAttrsManipulator === true) {\n\t return template;\n\t }\n\t el.innerHTML = template;\n\t var modelNodes = el.querySelectorAll(\"[ng-model], [data-ng-model]\");\n\t if (!modelNodes || !modelNodes.length) {\n\t return template;\n\t }\n\n\t addIfNotPresent(modelNodes, \"id\", scope.id);\n\t addIfNotPresent(modelNodes, \"name\", scope.id);\n\n\t addValidation();\n\t addModelOptions();\n\t addTemplateOptionsAttrs();\n\n\t return el.innerHTML;\n\n\t function addValidation() {\n\t if (angular.isDefined(options.validators) || angular.isDefined(options.validation.messages)) {\n\t addIfNotPresent(modelNodes, \"formly-custom-validation\", \"\");\n\t }\n\t }\n\n\t function addModelOptions() {\n\t if (angular.isDefined(options.modelOptions)) {\n\t addIfNotPresent(modelNodes, \"ng-model-options\", \"options.modelOptions\");\n\t if (options.modelOptions.getterSetter) {\n\t angular.forEach(modelNodes, function (node) {\n\t node.setAttribute(\"ng-model\", \"options.value\");\n\t });\n\t }\n\t }\n\t }\n\n\t function addTemplateOptionsAttrs() {\n\t if (!options.templateOptions && !options.expressionProperties) {\n\t // no need to run these if there are no templateOptions or expressionProperties\n\t return;\n\t }\n\t var to = options.templateOptions || {};\n\t var ep = options.expressionProperties || {};\n\n\t var ngModelAttributes = getBuiltInAttributes();\n\n\t // extend with the user's specifications winning\n\t angular.extend(ngModelAttributes, options.ngModelAttrs);\n\n\t // Feel free to make this more simple :-)\n\t angular.forEach(ngModelAttributes, function (val, name) {\n\t /* jshint maxcomplexity:14 */\n\t var attrVal = undefined;\n\t var attrName = undefined;\n\t var ref = \"options.templateOptions['\" + name + \"']\";\n\t var toVal = to[name];\n\t var epVal = getEpValue(ep, name);\n\n\t var inTo = angular.isDefined(toVal);\n\t var inEp = angular.isDefined(epVal);\n\t if (val.value) {\n\t // I realize this looks backwards, but it's right, trust me...\n\t attrName = val.value;\n\t attrVal = name;\n\t } else if (val.expression && inTo) {\n\t attrName = val.expression;\n\t if (angular.isString(to[name])) {\n\t attrVal = \"$eval(\" + ref + \")\";\n\t } else if (angular.isFunction(to[name])) {\n\t attrVal = \"\" + ref + \"(model[options.key], options, this, $event)\";\n\t } else {\n\t throw new Error(\"options.templateOptions.\" + name + \" must be a string or function: \" + JSON.stringify(options));\n\t }\n\t } else if (val.bound && inEp) {\n\t attrName = val.bound;\n\t attrVal = ref;\n\t } else if ((val.attribute || val.boolean) && inEp) {\n\t attrName = val.attribute || val.boolean;\n\t attrVal = \"{{\" + ref + \"}}\";\n\t } else if (val.attribute && inTo) {\n\t attrName = val.attribute;\n\t attrVal = toVal;\n\t } else if (val.boolean) {\n\t if (inTo && !inEp && toVal) {\n\t attrName = val.boolean;\n\t attrVal = true;\n\t } else {}\n\t } else if (val.bound && inTo) {\n\t attrName = val.bound;\n\t attrVal = ref;\n\t }\n\n\t if (angular.isDefined(attrName) && angular.isDefined(attrVal)) {\n\t addIfNotPresent(modelNodes, attrName, attrVal);\n\t }\n\t });\n\t }\n\t }\n\n\t // Utility functions\n\t function getBuiltInAttributes() {\n\t var ngModelAttributes = {\n\t focus: {\n\t attribute: \"formly-focus\"\n\t }\n\t };\n\t var boundOnly = [];\n\t var bothBooleanAndBound = [\"required\", \"disabled\"];\n\t var bothAttributeAndBound = [\"pattern\", \"minlength\"];\n\t var expressionOnly = [\"change\", \"keydown\", \"keyup\", \"keypress\", \"click\", \"focus\", \"blur\"];\n\t var attributeOnly = [\"placeholder\", \"min\", \"max\", \"tabindex\", \"type\"];\n\t if (formlyConfig.extras.ngModelAttrsManipulatorPreferUnbound) {\n\t bothAttributeAndBound.push(\"maxlength\");\n\t } else {\n\t boundOnly.push(\"maxlength\");\n\t }\n\n\t angular.forEach(boundOnly, function (item) {\n\t ngModelAttributes[item] = { bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(bothBooleanAndBound, function (item) {\n\t ngModelAttributes[item] = { boolean: item, bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(bothAttributeAndBound, function (item) {\n\t ngModelAttributes[item] = { attribute: item, bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(expressionOnly, function (item) {\n\t var propName = \"on\" + item.substr(0, 1).toUpperCase() + item.substr(1);\n\t ngModelAttributes[propName] = { expression: \"ng-\" + item };\n\t });\n\n\t angular.forEach(attributeOnly, function (item) {\n\t ngModelAttributes[item] = { attribute: item };\n\t });\n\t return ngModelAttributes;\n\t }\n\n\t function getEpValue(ep, name) {\n\t return ep[\"templateOptions.\" + name] || ep[\"templateOptions['\" + name + \"']\"] || ep[\"templateOptions[\\\"\" + name + \"\\\"]\"];\n\t }\n\n\t function addIfNotPresent(nodes, attr, val) {\n\t angular.forEach(nodes, function (node) {\n\t if (!node.getAttribute(attr)) {\n\t node.setAttribute(attr, val);\n\t }\n\t });\n\t }\n\t}\n\taddFormlyNgModelAttrsManipulator.$inject = [\"formlyConfig\"];\n\n\t// jshint -W035\n\t// empty to illustrate that a boolean will not be added via val.bound\n\t// if you want it added via val.bound, then put it in expressionProperties\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = addCustomTags;\n\n\t// @ngInject\n\tfunction addCustomTags($document) {\n\t if ($document && $document.get) {\n\t (function () {\n\t //IE8 check ->\n\t // http://stackoverflow.com/questions/10964966/detect-ie-version-prior-to-v9-in-javascript/10965203#10965203\n\t var document = $document.get(0);\n\t var div = document.createElement(\"div\");\n\t div.innerHTML = \"<!--[if lt IE 9]><i></i><![endif]-->\";\n\t var isIeLessThan9 = div.getElementsByTagName(\"i\").length === 1;\n\n\t if (isIeLessThan9) {\n\t //add the custom elements that we need for formly\n\t var customElements = [\"formly-field\", \"formly-form\", \"formly-custom-validation\", \"formly-focus\", \"formly-transpose\"];\n\t angular.forEach(customElements, function (el) {\n\t document.createElement(el);\n\t });\n\t }\n\t })();\n\t }\n\t}\n\taddCustomTags.$inject = [\"$document\"];\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\t// some versions of angular don't export the angular module properly,\n\t// so we get it from window in this case.\n\n\tvar angular = _interopRequire(__webpack_require__(17));\n\n\tif (!angular.version) {\n\t angular = window.angular;\n\t}\n\tmodule.exports = angular;\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_16__;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_17__;\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = { formlyEval: formlyEval, getFieldId: getFieldId, reverseDeepMerge: reverseDeepMerge, findByNodeName: findByNodeName, arrayify: arrayify, extendFunction: extendFunction };\n\n\tfunction formlyEval(scope, expression, $modelValue, $viewValue, extraLocals) {\n\t if (angular.isFunction(expression)) {\n\t return expression($viewValue, $modelValue, scope, extraLocals);\n\t } else {\n\t return scope.$eval(expression, angular.extend({ $viewValue: $viewValue, $modelValue: $modelValue }, extraLocals));\n\t }\n\t}\n\n\tfunction getFieldId(formId, options, index) {\n\t if (options.id) {\n\t return options.id;\n\t }\n\t var type = options.type;\n\t if (!type && options.template) {\n\t type = \"template\";\n\t } else if (!type && options.templateUrl) {\n\t type = \"templateUrl\";\n\t }\n\n\t return [formId, type, options.key, index].join(\"_\");\n\t}\n\n\tfunction reverseDeepMerge(dest) {\n\t angular.forEach(arguments, function (src, index) {\n\t if (!index) {\n\t return;\n\t }\n\t angular.forEach(src, function (val, prop) {\n\t if (!angular.isDefined(dest[prop])) {\n\t dest[prop] = angular.copy(val);\n\t } else if (objAndSameType(dest[prop], val)) {\n\t reverseDeepMerge(dest[prop], val);\n\t }\n\t });\n\t });\n\t}\n\n\tfunction objAndSameType(obj1, obj2) {\n\t return angular.isObject(obj1) && angular.isObject(obj2) && Object.getPrototypeOf(obj1) === Object.getPrototypeOf(obj2);\n\t}\n\n\t//recurse down a node tree to find a node with matching nodeName, for custom tags jQuery.find doesn't work in IE8\n\tfunction findByNodeName(el, nodeName) {\n\t if (!el.prop) {\n\t // not a jQuery or jqLite object -> wrap it\n\t el = angular.element(el);\n\t }\n\n\t if (el.prop(\"nodeName\") === nodeName.toUpperCase()) {\n\t return el;\n\t }\n\n\t var c = el.children();\n\t for (var i = 0; c && i < c.length; i++) {\n\t var node = findByNodeName(c[i], nodeName);\n\t if (node) {\n\t return node;\n\t }\n\t }\n\t}\n\n\tfunction arrayify(obj) {\n\t if (obj && !angular.isArray(obj)) {\n\t obj = [obj];\n\t } else if (!obj) {\n\t obj = [];\n\t }\n\t return obj;\n\t}\n\n\tfunction extendFunction() {\n\t for (var _len = arguments.length, fns = Array(_len), _key = 0; _key < _len; _key++) {\n\t fns[_key] = arguments[_key];\n\t }\n\n\t return function extendedFunction() {\n\t var args = arguments;\n\t fns.forEach(function (fn) {\n\t return fn.apply(null, args);\n\t });\n\t };\n\t}\n\n/***/ }\n/******/ ])\n});\n;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/angular-formly/dist/formly.js\n// module id = 3\n// module chunks = 0","module.exports = angular;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"angular\"\n// module id = 4\n// module chunks = 0","// angular-formly-templates-bootstrap version 4.3.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"angular-formly\"), require(\"api-check\"), require(\"angular\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"angular-formly\", \"api-check\", \"angular\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ngFormlyTemplatesBootstrap\"] = factory(require(\"angular-formly\"), require(\"api-check\"), require(\"angular\"));\n\telse\n\t\troot[\"ngFormlyTemplatesBootstrap\"] = factory(root[\"ngFormly\"], root[\"apiCheck\"], root[\"angular\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_8__) {\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 = \"\";\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\tmodule.exports = __webpack_require__(11);\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addCheckboxType);\n\t\n\t function addCheckboxType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'multiCheckbox',\n\t template: __webpack_require__(21),\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t options: c.arrayOf(c.object),\n\t labelProp: c.string.optional,\n\t valueProp: c.string.optional\n\t })\n\t },\n\t defaultOptions: {\n\t noFormControl: false,\n\t ngModelAttrs: {\n\t required: {\n\t attribute: '',\n\t bound: ''\n\t }\n\t }\n\t },\n\t apiCheckInstance: c,\n\t controller: /* @ngInject */[\"$scope\", function controller($scope) {\n\t var to = $scope.to;\n\t var opts = $scope.options;\n\t $scope.multiCheckbox = {\n\t checked: [],\n\t change: setModel\n\t };\n\t\n\t // initialize the checkboxes check property\n\t var modelValue = $scope.model[opts.key];\n\t if (angular.isArray(modelValue)) {\n\t (function () {\n\t var valueProp = to.valueProp || 'value';\n\t angular.forEach(to.options, function (v, index) {\n\t $scope.multiCheckbox.checked[index] = modelValue.indexOf(v[valueProp]) !== -1;\n\t });\n\t })();\n\t }\n\t\n\t function checkValidity(expressionValue) {\n\t var valid = angular.isArray($scope.model[opts.key]) && $scope.model[opts.key].length > 0 && expressionValue;\n\t\n\t $scope.fc.$setValidity('required', valid);\n\t }\n\t\n\t function setModel() {\n\t $scope.model[opts.key] = [];\n\t angular.forEach($scope.multiCheckbox.checked, function (checkbox, index) {\n\t if (checkbox) {\n\t $scope.model[opts.key].push(to.options[index][to.valueProp || 'value']);\n\t }\n\t });\n\t\n\t // Must make sure we mark as touched because only the last checkbox due to a bug in angular.\n\t $scope.fc.$setTouched();\n\t checkValidity(true);\n\t }\n\t\n\t if (opts.expressionProperties && opts.expressionProperties.required) {\n\t $scope.$watch($scope.options.expressionProperties.required, function (newValue) {\n\t checkValidity(newValue);\n\t });\n\t }\n\t\n\t if ($scope.to.required) {\n\t var unwatchFormControl = $scope.$watch('fc', function (newValue) {\n\t if (!newValue) {\n\t return;\n\t }\n\t checkValidity(true);\n\t unwatchFormControl;\n\t });\n\t }\n\t }]\n\t });\n\t }\n\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// some versions of angular don't export the angular module properly,\n\t// so we get it from window in this case.\n\t'use strict';\n\t\n\tvar angular = __webpack_require__(8);\n\tif (!angular.version) {\n\t angular = window.angular;\n\t}\n\tmodule.exports = angular;\n\n/***/ },\n/* 5 */\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addWrappers);\n\t\n\t function addWrappers(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setWrapper([{\n\t name: 'bootstrapLabel',\n\t template: __webpack_require__(17),\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t label: c.string,\n\t required: c.bool.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t }, { name: 'bootstrapHasError', template: __webpack_require__(18) }]);\n\t }\n\t addWrappers.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\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\texports['default'] = function (ngModule) {\n\t __webpack_require__(10)(ngModule);\n\t __webpack_require__(1)(ngModule);\n\t __webpack_require__(12)(ngModule);\n\t __webpack_require__(9)(ngModule);\n\t __webpack_require__(13)(ngModule);\n\t __webpack_require__(14)(ngModule);\n\t};\n\t\n\tmodule.exports = exports['default'];\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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _addons = __webpack_require__(15);\n\t\n\tvar _addons2 = _interopRequireDefault(_addons);\n\t\n\tvar _description = __webpack_require__(16);\n\t\n\tvar _description2 = _interopRequireDefault(_description);\n\t\n\texports['default'] = function (ngModule) {\n\t (0, _addons2['default'])(ngModule);\n\t (0, _description2['default'])(ngModule);\n\t};\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_8__;\n\n/***/ },\n/* 9 */\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addRadioType);\n\t\n\t function addRadioType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'radio',\n\t template: __webpack_require__(19),\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: {\n\t noFormControl: false\n\t },\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t options: c.arrayOf(c.object),\n\t labelProp: c.string.optional,\n\t valueProp: c.string.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addRadioType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 10 */\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addCheckboxType);\n\t\n\t function addCheckboxType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'checkbox',\n\t template: __webpack_require__(20),\n\t wrapper: ['bootstrapHasError'],\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t label: c.string\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 11 */\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\tvar ngModuleName = 'formlyBootstrap';\n\tvar angular = __webpack_require__(4);\n\tvar ngModule = angular.module(ngModuleName, [__webpack_require__(2)]);\n\tngModule.constant('formlyBootstrapApiCheck', __webpack_require__(3)({\n\t output: {\n\t prefix: 'angular-formly-bootstrap'\n\t }\n\t}));\n\tngModule.constant('formlyBootstrapVersion', (\"4.3.2\"));\n\t\n\t__webpack_require__(5)(ngModule);\n\t__webpack_require__(6)(ngModule);\n\t__webpack_require__(7)(ngModule);\n\t\n\texports['default'] = ngModuleName;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 12 */\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addInputType);\n\t\n\t function addInputType(formlyConfigProvider) {\n\t formlyConfigProvider.setType({\n\t name: 'input',\n\t template: '<input class=\"form-control\" ng-model=\"model[options.key]\">',\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t });\n\t }\n\t addInputType.$inject = [\"formlyConfigProvider\"];\n\t};\n\n\tmodule.exports = exports['default'];\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\tfunction _defineProperty(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); }\n\t\n\texports['default'] = function (ngModule) {\n\t ngModule.config(addSelectType);\n\t\n\t var template = '<select class=\"form-control\" ng-model=\"model[options.key]\"></select>';\n\t\n\t function addSelectType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'select',\n\t template: template,\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: function defaultOptions(options) {\n\t /* jshint maxlen:195 */\n\t var ngOptions = options.templateOptions.ngOptions || 'option[to.valueProp || \\'value\\'] as option[to.labelProp || \\'name\\'] group by option[to.groupProp || \\'group\\'] for option in to.options';\n\t return {\n\t ngModelAttrs: _defineProperty({}, ngOptions, {\n\t value: 'ng-options'\n\t })\n\t };\n\t },\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t options: c.arrayOf(c.object),\n\t labelProp: c.string.optional,\n\t valueProp: c.string.optional,\n\t groupProp: c.string.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addSelectType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 14 */\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\texports['default'] = function (ngModule) {\n\t ngModule.config(addTextareaType);\n\t\n\t function addTextareaType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'textarea',\n\t template: '<textarea class=\"form-control\" ng-model=\"model[options.key]\"></textarea>',\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: {\n\t ngModelAttrs: {\n\t rows: { attribute: 'rows' },\n\t cols: { attribute: 'cols' }\n\t }\n\t },\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t rows: c.number.optional,\n\t cols: c.number.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addTextareaType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 15 */\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\texports['default'] = function (ngModule) {\n\t ngModule.run(addAddonsManipulator);\n\t\n\t function addAddonsManipulator(formlyConfig, formlyBootstrapApiCheck) {\n\t var addonTemplate = __webpack_require__(22);\n\t var addonChecker = formlyBootstrapApiCheck.shape({\n\t 'class': formlyBootstrapApiCheck.string.optional,\n\t text: formlyBootstrapApiCheck.string.optional,\n\t onClick: formlyBootstrapApiCheck.func.optional\n\t }).strict.optional;\n\t var api = formlyBootstrapApiCheck.shape({\n\t templateOptions: formlyBootstrapApiCheck.shape({\n\t addonLeft: addonChecker,\n\t addonRight: addonChecker\n\t })\n\t });\n\t formlyConfig.templateManipulators.preWrapper.push(function (template, options) {\n\t if (!options.templateOptions.addonLeft && !options.templateOptions.addonRight) {\n\t return template;\n\t }\n\t formlyBootstrapApiCheck.warn([api], [options]);\n\t return addonTemplate.replace('<formly-transclude></formly-transclude>', template);\n\t });\n\t }\n\t addAddonsManipulator.$inject = [\"formlyConfig\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 16 */\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\texports['default'] = function (ngModule) {\n\t ngModule.run(addDescriptionManipulator);\n\t\n\t function addDescriptionManipulator(formlyConfig) {\n\t formlyConfig.templateManipulators.preWrapper.push(function ariaDescribedBy(template, options, scope) {\n\t if (angular.isDefined(options.templateOptions.description)) {\n\t var el = document.createElement('div');\n\t el.appendChild(angular.element(template)[0]);\n\t el.appendChild(angular.element('<p id=\"' + scope.id + '_description\"' + 'class=\"help-block\"' + 'ng-if=\"to.description\">' + '{{to.description}}' + '</p>')[0]);\n\t var modelEls = angular.element(el.querySelectorAll('[ng-model]'));\n\t if (modelEls) {\n\t modelEls.attr('aria-describedby', scope.id + '_description');\n\t }\n\t return el.innerHTML;\n\t } else {\n\t return template;\n\t }\n\t });\n\t }\n\t addDescriptionManipulator.$inject = [\"formlyConfig\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div>\\n <label for=\\\"{{id}}\\\" class=\\\"control-label\\\">\\n {{to.label}}\\n {{to.required ? '*' : ''}}\\n </label>\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"form-group\\\" ng-class=\\\"{'has-error': showError}\\\">\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"radio\\\">\\n <label>\\n <input type=\\\"radio\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n tabindex=\\\"0\\\"\\n ng-value=\\\"option[to.valueProp || 'value']\\\"\\n ng-model=\\\"model[options.key]\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"checkbox\\\">\\n\\t<label>\\n\\t\\t<input type=\\\"checkbox\\\"\\n class=\\\"formly-field-checkbox\\\"\\n\\t\\t ng-model=\\\"model[options.key]\\\">\\n\\t\\t{{to.label}}\\n\\t\\t{{to.required ? '*' : ''}}\\n\\t</label>\\n</div>\\n\"\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"checkbox\\\">\\n <label>\\n <input type=\\\"checkbox\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n ng-model=\\\"multiCheckbox.checked[$index]\\\"\\n ng-change=\\\"multiCheckbox.change()\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div ng-class=\\\"{'input-group': to.addonLeft || to.addonRight}\\\">\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonLeft\\\"\\n ng-style=\\\"{cursor: to.addonLeft.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonLeft.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonLeft.class}}\\\" ng-if=\\\"to.addonLeft.class\\\"></i>\\n <span ng-if=\\\"to.addonLeft.text\\\">{{to.addonLeft.text}}</span>\\n </div>\\n <formly-transclude></formly-transclude>\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonRight\\\"\\n ng-style=\\\"{cursor: to.addonRight.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonRight.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonRight.class}}\\\" ng-if=\\\"to.addonRight.class\\\"></i>\\n <span ng-if=\\\"to.addonRight.text\\\">{{to.addonRight.text}}</span>\\n </div>\\n</div>\\n\"\n\n/***/ }\n/******/ ])\n});\n;\n//# sourceMappingURL=angular-formly-templates-bootstrap.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/angular-formly-templates-bootstrap/dist/angular-formly-templates-bootstrap.js\n// module id = 5\n// module chunks = 0","import edaFormViewerMainModule from './components/main/eda.easyFormViewer.main.module';\nimport edaFormViewerCoreModule from './components/core/eda.easyFormViewer.core.module';\nimport edaFormViewerModelTranslatorModule from './components/modelsTranslator/eda.easyFormViewer.modelTranslator.module';\nimport edaEasyFormViewerConfig from './config/eda.easyFormViewer.config';\nimport easyFormConfig from '../easyFormConfig.json';\n\nconst DEP_TO_INJECT_IN_MAIN = [\n edaFormViewerMainModule.name,\n edaFormViewerCoreModule.name,\n edaFormViewerModelTranslatorModule.name\n];\n\nconst EASY_FORM_VIEWER_VERSION_NAME = 'easyFormViewerVersion';\nconst EASY_FORM_VIEWER_VERSION_VALUE = easyFormConfig.formviewer.version;\nconst MAIN_MODULE_NAME = 'eda.easyFormViewer';\n\nconst mainModule = angular\n .module(MAIN_MODULE_NAME, DEP_TO_INJECT_IN_MAIN)\n .config(edaEasyFormViewerConfig)\n .value(EASY_FORM_VIEWER_VERSION_NAME, EASY_FORM_VIEWER_VERSION_VALUE);\n\nexport default mainModule;\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/main.js","/* global angular */\nimport edaFormViewerDirective, {\n\tEASY_FORM_VIEWER_DIRECTIVE_NAME\n}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom './eda.easyFormViewer.main.directive';\n\nimport edaEasyFormViewerController, {\n\tEASY_FORM_VIEWER_CONTROLLER\n}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom './eda.easyFormViewer.main.controller';\n\nconst FORM_VIEWER_MAIN_MODULE_NAME = 'edaFormViewerMainModule';\n\nexport default angular\n\t\t\t\t\t\t\t\t.module(FORM_VIEWER_MAIN_MODULE_NAME, [])\n\t\t\t\t\t\t\t\t.directive(EASY_FORM_VIEWER_DIRECTIVE_NAME, edaFormViewerDirective)\n\t\t\t\t\t\t\t\t.controller(EASY_FORM_VIEWER_CONTROLLER, edaEasyFormViewerController);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/main/eda.easyFormViewer.main.module.js","/* global angular */\nimport easyFormViewerTemplate \t\t\t\tfrom './eda.easyFormViewer.main.template.html';\n\nimport {\n\treturnAttributeConfigurationLinesIfNotEmpty\n\t}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom './eda.easyFormViewer.main.directive.helpers';\n\nimport {\n\tEASY_FORM_VIEWER_CONTROLLER,\n\tEASY_FORM_VIEWER_CONTROLLERAS\n} \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom './eda.easyFormViewer.main.controller';\n\nconst EASY_FORM_VIEWER_DIRECTIVE_NAME = 'edaEasyFormViewer';\n\nfunction edaFormViewerDirective($modelsTranslator){\n\t\tvar directive = {\n\t\t\trestrict \t: 'E',\n\t\t\tscope \t\t: {\n\t\t\t\tedaEasyFormViewerDataModel \t\t\t\t\t\t\t\t\t\t: '=?',\n\t\t\t\tedaEasyFormViewerEasyFormGeneratorFieldsModel : '=?',\n\t\t\t\tedaEasyFormViewerSubmitButtonText \t\t\t\t\t\t: '@?',\n\t\t\t\tedaEasyFormViewerCancelButtonText \t\t\t\t\t\t: '@?',\n\t\t\t\tedaEasyFormViewerSubmitFormEvent \t\t\t\t\t\t: '&?',\n\t\t\t\tedaEasyFormViewerCancelFormEvent\t\t\t\t\t\t\t: '&?'\n\t\t\t},\n\t\t\treplace \t\t\t: false,\n\t\t\tcontroller\t\t: EASY_FORM_VIEWER_CONTROLLER,\n\t\t\tcontrollerAs \t: EASY_FORM_VIEWER_CONTROLLERAS,\n\t\t\ttemplate \t\t\t: easyFormViewerTemplate,\n\t\t\tlink \t\t\t\t\t: linkFct\n\t\t};\n\treturn directive;\n\n\n\tfunction linkFct(scope) {\n\t\tscope.vm.model \t\t\t\t= {};\n\t\tscope.vm.fields \t\t\t= loadFieldsModel();\n\t\tscope.vm.submitText \t= scope.edaEasyFormViewerSubmitButtonText || 'Submit';\n\t\tscope.vm.cancelText \t= scope.edaEasyFormViewerCancelButtonText || 'Cancel';\n\n\t\tscope.$watch(fieldsModelToWatch, \t\tfieldsModelWatcher, \ttrue);\n\t\tscope.$watch(dataModelToWatch,\t\t\tdataModelWatcher,\t\t\ttrue);\n\t\tscope.$watch(submitBtnTextToWatch, \tsubmitBtnTextWatcher);\n\t\tscope.$watch(cancelBtnTextToWatch, \tcancelBtnTextWatcher);\n\t\tscope.$watch(submitEventToWatch, \t\tsubmitEventWatcher);\n\t\tscope.$watch(cancelEventToWatch, \t\tcancelEventWatcher);\n\n\t\tfunction dataModelToWatch(){\n\t\t\treturn scope.vm.model;\n\t\t}\n\n\t\tfunction fieldsModelToWatch(){\n\t\t\treturn scope.edaEasyFormViewerEasyFormGeneratorFieldsModel;\n\t\t}\n\n\t\tfunction submitBtnTextToWatch(){\n\t\t\treturn scope.edaEasyFormViewerSubmitButtonText;\n\t\t}\n\n\t\tfunction cancelBtnTextToWatch(){\n\t\t\treturn scope.edaEasyFormViewerCancelButtonText;\n\t\t}\n\n\t\tfunction submitEventToWatch(){\n\t\t\treturn scope.vm.hasJustSumitted;\n\t\t}\n\n\t\tfunction cancelEventToWatch(){\n\t\t\treturn scope.vm.hasJustCancelled;\n\t\t}\n\n\t\tfunction fieldsModelWatcher(newFieldsModel){\n\t\t\tscope.vm.fields = loadExistingConfigurationModel(newFieldsModel);\n\t\t}\n\n\t\tfunction submitBtnTextWatcher(newSubmitBtntext, oldSubmitBtntext){\n\t\t\tif (newSubmitBtntext !== oldSubmitBtntext) {\n\t\t\t\tscope.vm.submitText \t= newSubmitBtntext || 'Submit';\n\t\t\t}\n\t\t}\n\n\t\tfunction cancelBtnTextWatcher(newCancelBtntext, oldCancelBtntext){\n\t\t\tif (newCancelBtntext !== oldCancelBtntext) {\n\t\t\t\tscope.vm.cancelText \t= newCancelBtntext || 'Submit';\n\t\t\t}\n\t\t}\n\n\t\tfunction dataModelWatcher(newDataModel){\n\t\t\tscope.edaEasyFormViewerDataModel = newDataModel;\n\t\t}\n\n\t\tfunction submitEventWatcher(newSubmitEvent){\n\t\t\tif (newSubmitEvent === true) {\n\t\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerSubmitFormEvent)) {\n\t\t\t\t\t\tconst _dataModelSubmitted = scope.vm.model ;\n\t\t\t\t\t\tscope.edaEasyFormViewerSubmitFormEvent({ dataModelSubmitted : _dataModelSubmitted });\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tscope.vm.hasJustSumitted = false;\n\t\t}\n\n\t\tfunction cancelEventWatcher(newCancelEvent){\n\t\t\tif (newCancelEvent === true) {\n\t\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerCancelFormEvent)) {\n\t\t\t\t\t\tscope.edaEasyFormViewerCancelFormEvent();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tscope.vm.hasJustCancelled = false;\n\t\t}\n\n\t\t/**\n\t\t\t* TODO : check if formly or easy form generato fields model\n\t\t\t*\n\t\t\t* by default or if both -> easy for generator is chosen\n\t\t\t*/\n\t\tfunction loadFieldsModel(){\n\t\t\tvar initialFieldsModel = angular\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.isArray(scope.edaEasyFormViewerEasyFormGeneratorFieldsModel) ?\n\t\t\t\t//translate easy form generator to formly fields model\n\t\t\t\tloadExistingConfigurationModel(scope.edaEasyFormViewerEasyFormGeneratorFieldsModel)\n\t\t\t\t: {};\n\n\t\t\treturn initialFieldsModel;\n\t\t}\n\n\t\tfunction loadExistingConfigurationModel(loadedFieldModel){\n\n\t\t\tif(angular.isArray(loadedFieldModel)){\n\t\t\t\tconst configlines = returnAttributeConfigurationLinesIfNotEmpty(loadedFieldModel);\n\t\t\t\tconst formlyFieldsModel \t\t= [];\n\n\t\t\t\tscope.configurationLoaded = {};\n\n\t\t\t\t$modelsTranslator.bindConfigurationLines(scope.configurationLoaded,configlines);\n\t\t\t\t/**\n\t\t\t\t\t* rebind special control properties :\n\t\t\t\t\t*\n\t\t\t\t\t* formly expression properties\n\t\t\t\t\t* Validators\n\t\t\t\t\t* Validation\n\t\t\t\t\t*/\n\t\t\t\t$modelsTranslator.refreshControlFormlyExpressionProperties(scope.configurationLoaded);\n\t\t\t\t$modelsTranslator.refreshControlFormlyValidators(scope.configurationLoaded);\n\t\t\t\t$modelsTranslator.refreshControlFormlyValidation(scope.configurationLoaded);\n\n\t\t\t\t//apply configuration model\n\t\t\t\tscope.configuration = angular.copy(scope.configurationLoaded);\n\n\t\t\t\t//apply formly model\n\t\t\t\t$modelsTranslator.applyConfigurationToformlyModel(scope.configurationLoaded, formlyFieldsModel, scope.vm.model);\n\n\t\t\t\treturn formlyFieldsModel;\n\t\t\t}\n\n\t\t}\n\n\n\n\n\t}\n\n\n}\n\nedaFormViewerDirective.$inject = [\n\t'$modelsTranslator'\n];\nexport default edaFormViewerDirective;\nexport {EASY_FORM_VIEWER_DIRECTIVE_NAME};\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/main/eda.easyFormViewer.main.directive.js","module.exports = \"<div class=\\\"easyFormViewer\\\">\\n\\t\\n\\t<form \\tng-submit=\\\"vm.onSubmit()\\\"\\n\\t\\t\\t\\t\\tname=\\\"vm.form\\\"> \\n\\t\\t<formly-form \\tmodel=\\\"vm.model\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfields=\\\"vm.fields\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tform=\\\"vm.form\\\"> \\n\\t\\t\\t\\n\\t\\t\\t<div class=\\\"pull-right\\\">\\n\\t\\t\\t\\t<button type=\\\"submit\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-disabled=\\\"vm.form.$invalid\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaSubmitThisDataModel();\\\">{{vm.submitText}}</button>\\n\\t\\t\\t\\t<button type=\\\"button\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaCancelEvent();\\\">{{vm.cancelText}}</button>\\t\\t\\t\\t\\n\\t\\t\\t</div>\\t\\t\\t\\t\\t\\t\\n\\n\\t\\t</formly-form> \\n\\t</form>\\n\\n</div>\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/formviewer/components/main/eda.easyFormViewer.main.template.html\n// module id = 9\n// module chunks = 0","/* global angular */\n\nconst EMPTY_FIELD_MODEL = [\n\t{\n\t\t'line': 1,\n\t\t'activeColumn': 1,\n\t\t'columns': [\n\t\t\t{\n\t\t\t\t'numColumn': 1,\n\t\t\t\t'exist': true,\n\t\t\t\t'control': {\n\t\t\t\t\t'type': 'none',\n\t\t\t\t\t'key': 'none'\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n];\n\n/**\n\t* empty fields model : to display at least an empty line\n\t* otherwise would look like ugly empty line like it were a bug\n\t*/\nconst emptyEdaFieldsModel = ()=>{\n\treturn angular.copy(EMPTY_FIELD_MODEL);\n};\n\n\n\nconst returnAttributeDataModelIfNotEmpty = (edaEasyFormGeneratorModel)=>{\n\tlet dataModelToReturn = (\n\t\t\tangular.isArray(edaEasyFormGeneratorModel.dataModel) ? ( \n\t\t\t\t\tedaEasyFormGeneratorModel.dataModel.length > 0 ? \n\t\t\t\t\tedaEasyFormGeneratorModel.dataModel \n\t\t\t\t\t: []\n\t\t\t\t\t) \n\t\t\t: []\n\t);\n\t\treturn dataModelToReturn; \n};\n\n\nconst returnAttributeConfigurationLinesIfNotEmpty = (loadedFieldModel)=>{\n\tlet edaEasyFormGeneratorModelToReturn = (\n\t\t\tangular.isArray(loadedFieldModel) ? ( \n\t\t\t\t\tloadedFieldModel.length > 0 ? \n\t\t\t\t\t\tloadedFieldModel \n\t\t\t\t\t: emptyEdaFieldsModel()\n\t\t\t\t\t) \n\t\t\t: emptyEdaFieldsModel()\n\t);\n\t\treturn edaEasyFormGeneratorModelToReturn; \n}; \n\n\nexport {\n\temptyEdaFieldsModel,\n\treturnAttributeDataModelIfNotEmpty,\n\treturnAttributeConfigurationLinesIfNotEmpty\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/main/eda.easyFormViewer.main.directive.helpers.js","const EASY_FORM_VIEWER_CONTROLLER \t= 'edaEasyFormViewerCtrl';\nconst EASY_FORM_VIEWER_CONTROLLERAS\t= 'vm';\n\nclass edaEasyFormViewerController{\n\t\n\tconstructor(){\n\t\tthis.init();\n\t}\n\t\n\tinit(){\n\t\tthis.model \t\t\t\t\t\t= {};\n\t\tthis.fields \t\t\t\t\t= {};\n\t\tthis.hasJustSumitted \t= false;\n\t\tthis.hasJustCancelled = false;\n\t}\n\t\n\tedaSubmitThisDataModel(){\n\t\tthis.hasJustSumitted = true;\n\t}\n\t\n\tedaCancelEvent(){\n\t\tthis.hasJustCancelled = true;\n\t}\t\n\t\n}\n\nedaEasyFormViewerController.$inject = [];\n\nexport default edaEasyFormViewerController;\n\nexport {\n\tEASY_FORM_VIEWER_CONTROLLER,\n\tEASY_FORM_VIEWER_CONTROLLERAS\n};\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/main/eda.easyFormViewer.main.controller.js","const CORE_MODULES = [\n\t'textAngular', \n\t'formly', \n\t'ngAnimate',\n\t'formlyBootstrap', \n\t'ui.bootstrap', \n\t'nya.bootstrap.select' \n];\n\nconst FORMVIEWER_CORE_MODULE_NAME = 'edaEasyFormViewerCore.module';\n\nexport default angular\n\t\t\t\t\t\t\t\t.module(FORMVIEWER_CORE_MODULE_NAME, CORE_MODULES);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/core/eda.easyFormViewer.core.module.js","/* global angular */\nimport $modelsTranslator, {\n\tMODEL_TRANSLATOR_SERVICE\n}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom './eda.easyFormViewer.modelTranslator.service';\n\n\n\nconst FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME = 'edaFormViewerModelTranslatorModule';\n\nexport default angular\n\t\t\t\t\t\t\t\t.module(FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME, [])\n\t\t\t\t\t\t\t\t.service(MODEL_TRANSLATOR_SERVICE, $modelsTranslator);\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.module.js","/* global angular */\nimport {\n\tresetNyaSelect,\n\t// getConfigurationModelInit,\n\tgetEmptyConfigModelResult,\n\tresetDataModel,\n\tgetErrorObject,\n\tgetMessageObject,\n\tresetFormlyModel,\n\taddOneColumnHeader,\n\taddOneColumnControl,\n\taddTwoColumnControl,\n\taddThreeColumnControl\n}\t\tfrom './eda.easyFormViewer.modelTranslator.service.helpers';\n\nconst MODEL_TRANSLATOR_SERVICE = '$modelsTranslator';\n\n\n\nclass $modelsTranslator{\n\t\n\tconstructor(){\n\t\t\n\t}\n\t\n\t\n\tinitNyaSelect(nyaSelectObj){\n\t\treturn resetNyaSelect(nyaSelectObj);\n\t}\t\n\t\n\t/**\n\t\t* get all controls definition (nyaSelectObj)\n\t\t* \n\t\t* needed to bind these properties :\n\t\t* \n\t\t* formlyExpressionProperties: {}, \n\t\t* formlyValidators: {},\n\t\t* formlyValidation \t\t\n\t\t*/\t\n\tgetControlsDefinition(){\n\t\tlet controls = {};\n\t\tresetNyaSelect(controls);\t\n\t\treturn controls;\n\t}\t\n\t\n\t/**\n\t\t* loading forms will not be able to retrieve formlyExpressionProperties\n\t\t* -> here does the job\n\t\t*/\n\trefreshControlFormlyExpressionProperties(configurationModel){\n\t\tif (angular.isObject(configurationModel)) {\n\t\t\t//iterates lines\n\t\t\tangular.forEach(configurationModel.lines, (line) => {\n\t\t\t\tangular.forEach(line.columns, (column) => {\n\t\t\t\t\tlet _controlsDefinition = this.getControlsDefinition();\n\t\t\t\t\tangular.forEach(_controlsDefinition.controls, (aControl) => {\n\t\t\t\t\t\tif (column.control.type === aControl.formlyType &&\n\t\t\t\t\t\t\t\tcolumn.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t//----> update control formlyExpressionProperties property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tcolumn.control.formlyExpressionProperties = aControl.formlyExpressionProperties;\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t});\t\t\n\t\t\t\t});\n\t\t\t});\n\t\t}\t\n\t}\t\n\t\n\t\n\t/**\n\t\t* loading forms will not be able to retrieve formlyValidators\n\t\t* -> here does the job\n\t\t*/\t\t\t\n\trefreshControlFormlyValidators(configurationModel){\n\t\tif (angular.isObject(configurationModel)) {\n\t\t\t//iterates lines\n\t\t\tangular.forEach(configurationModel.lines, (line) => {\n\t\t\t\tangular.forEach(line.columns, (column) => {\n\t\t\t\t\tlet _controlsDefinition = this.getControlsDefinition();\n\t\t\t\t\tangular.forEach(_controlsDefinition.controls, (aControl) => {\n\t\t\t\t\t\tif (column.control.type === aControl.formlyType &&\n\t\t\t\t\t\t\t\tcolumn.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t//----> update control formlyValidators property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tcolumn.control.formlyValidators = aControl.formlyValidators;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\t\t\n\t\t\t\t});\n\t\t\t});\n\t\t}\t\t\t\t\n\t}\t\t\n\t\n\t\n\t/**\n\t\t* loading forms will not be able to retrieve formlyValidation\n\t\t* -> here does the job\n\t\t*/\t\t\t\n\trefreshControlFormlyValidation(configurationModel){\n\t\tif (angular.isObject(configurationModel)) {\n\t\t\t//iterates lines\n\t\t\tangular.forEach(configurationModel.lines, (line) => {\n\t\t\t\tangular.forEach(line.columns, (column) => {\n\t\t\t\t\tlet _controlsDefinition = this.getControlsDefinition();\n\t\t\t\t\tangular.forEach(_controlsDefinition.controls, (aControl) => {\n\t\t\t\t\t\tif (column.control.type === aControl.formlyType &&\n\t\t\t\t\t\t\t\tcolumn.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t//----> update control formlyValidation property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tcolumn.control.formlyValidation = aControl.formlyValidation;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\t\t\n\t\t\t\t});\n\t\t\t});\n\t\t}\t\t\t\t\t\n\t}\n\t\n\t\n\t// initConfigurationEditFromScratch(configurationModel) {\n\t// \tconfigurationModel = angular.copy(getConfigurationModelInit());\n\t// }\t\n\t\n\t\n\tbindConfigurationLines(configurationModel, lines){\n\t\tif(angular.isArray(lines)){\t\n\t\t\tlet configurationModelResult \t\t= getEmptyConfigModelResult();\n\t\t\tconfigurationModelResult.lines\t= [].concat(lines); \n\t\t\tangular.copy(configurationModelResult, configurationModel); \n\t\t\treturn getMessageObject(`configuration model is bound`,`lines are bound to configuration model.`);\n\t\t}else{\n\t\t\treturn getErrorObject(`lines is not an array`, `Checks lines type, it is not an array.`);\n\t\t}\n\t}\t\n\t\n\n\tapplyConfigurationToformlyModel(configurationModel, formlyModel, formlyDataModel){\n\t\tresetFormlyModel(formlyModel);\n\t\tresetDataModel(formlyDataModel);\n\t\t/**\n\t\t\t* manage header here line0 \n\t\t\t*/\n\t\tvar lineNumber = configurationModel.lines.length;\n\t\tfor (let i = 0; i < lineNumber; i++) {\n\t\t\t\t//1 column line control\n\t\t\t\tif (configurationModel.lines[i].columns.length === 1) {\n\t\t\t\t\t//test if template control = header\n\t\t\t\t\tif (configurationModel.lines[i].columns[0].control.type === 'header') {\n\t\t\t\t\t\taddOneColumnHeader(formlyModel, configurationModel, i);\n\t\t\t\t\t}else{\n\t\t\t\t\t\taddOneColumnControl(formlyModel, configurationModel, i); \n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t\tif (configurationModel.lines[i].columns.length === 2) {\n\t\t\t\t\taddTwoColumnControl(formlyModel, configurationModel,i);\n\t\t\t\t}\n\t\t\t\tif (configurationModel.lines[i].columns.length === 3) {\n\t\t\t\t\taddThreeColumnControl(formlyModel, configurationModel,i);\n\t\t\t\t}\n\t\t}\n\t}\t\n\t\n\t\t\n\t\n}\n\n$modelsTranslator.$inject = [];\n\nexport default $modelsTranslator;\n\nexport {MODEL_TRANSLATOR_SERVICE};\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.service.js","/* global angular */\n\nconst resetNyaSelect = (nyaSelectObj) => {\n\n\tlet newNyaSelectObj = {\n\t\tcontrols : [\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'empty',\n\t\t\t\tname\t\t\t\t\t\t\t: 'no control',\n\t\t\t\tsubtitle\t\t\t\t\t: 'no control',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Blank',\n\t\t\t\tformlyType\t\t\t\t: 'blank',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [] ,\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Header',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Header',\n\t\t\t\tsubtitle\t\t\t\t\t: 'no control',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Decoration',\n\t\t\t\tformlyType\t\t\t\t: 'header',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [] ,\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Subtitle',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Subtitle',\n\t\t\t\tsubtitle\t\t\t\t\t: 'no control',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Decoration',\n\t\t\t\tformlyType\t\t\t\t: 'subTitle',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [] ,\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'TextInput',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Text input',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Text input',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'input',\n\t\t\t\tformlyType\t\t\t\t: 'input',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [] ,\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Text input field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Password',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Password',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Password',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'input',\n\t\t\t\tformlyType\t\t\t\t: 'input',\n\t\t\t\tformlySubtype\t\t\t: 'password',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [] ,\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Password field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t},\n\n\t\t\t{\n\t\t\t\tid \t\t\t\t\t\t\t\t\t\t\t\t\t: 'Email',\n\t\t\t\tname \t\t\t\t\t\t\t\t\t\t\t\t: 'Email',\n\t\t\t\tsubtitle \t\t\t\t\t\t\t\t\t\t: 'Email',\n\t\t\t\tgroup \t\t\t\t\t\t\t\t\t\t\t: 'input',\n\t\t\t\tformlyType\t\t\t\t\t\t\t\t\t: 'input',\n\t\t\t\tformlySubtype \t\t\t\t\t\t\t: 'email',\n\t\t\t\tformlyLabel \t\t\t\t\t\t\t\t: '',\n\t\t\t\tformlyRequired \t\t\t\t\t\t\t: false,\n\t\t\t\tformlyDesciption \t\t\t\t\t\t: '',\n\t\t\t\tformlyOptions \t\t\t\t\t\t\t: [],\n\t\t\t\tformlyExpressionProperties \t: {},\n\n\t\t\t\tformlyValidators \t\t\t\t\t\t: {\n\t\t\t\t\temailShape : {\n\t\t\t\t\t\texpression : function(viewValue, modelValue) {\n\t\t\t\t\t\t\tvar value = modelValue || viewValue;\n\t\t\t\t\t\t\treturn /^[a-z]+[a-z0-9._]+@[a-z]+\\.[a-z.]{2,5}$/.test(value);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tmessage\t\t: '$viewValue + \\' is not a valid email\\''\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tformlyValidation: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Email field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\t//check if validation is really dued to require validation\n\t\t\t\t\t\t\t//and not another validation like emailShape validator\n\t\t\t\t\t\t\tif (scope.to.required) return returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Date',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Date',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Date',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'input',\n\t\t\t\tformlyType\t\t\t\t: 'datepicker',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tdatepickerOptions\t: {format : 'dd-MMMM-yyyy'},\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Date field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Texarea',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Textarea',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Textarea',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Textarea',\n\t\t\t\tformlyType\t\t\t\t: 'textarea',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages\t: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Textarea field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'RichTextEditor',\n\t\t\t\tname\t\t\t\t\t\t\t: 'RichTextEditor',\n\t\t\t\tsubtitle\t\t\t\t\t: 'RichTextEditor',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Textarea',\n\t\t\t\tformlyType\t\t\t\t: 'richEditor',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators \t\t\t\t\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg\t= 'this RichTextEditor field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Radio',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Radio',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Radio',\n\t\t\t\toptions\t\t\t\t\t\t: [],\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Radio',\n\t\t\t\tformlyType\t\t\t\t: 'radio',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '' ,\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Password field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'Checkbox',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Checkbox',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Checkbox',\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Checkbox',\n\t\t\t\tformlyType\t\t\t\t: 'checkbox',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Checkbox field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'BasicSelect',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Basic select',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Basic select',\n\t\t\t\toptions\t\t\t\t\t\t: [],\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Select',\n\t\t\t\tformlyType\t\t\t\t: 'basicSelect',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages: {\n\t\t\t\t\t\trequired: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Basic select field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tid\t\t\t\t\t\t\t\t: 'GroupedSelect',\n\t\t\t\tname\t\t\t\t\t\t\t: 'Grouped Select',\n\t\t\t\tsubtitle\t\t\t\t\t: 'Grouped Select',\n\t\t\t\toptions\t\t\t\t\t\t: [],\n\t\t\t\tgroup\t\t\t\t\t\t\t: 'Select',\n\t\t\t\tformlyType\t\t\t\t: 'groupedSelect',\n\t\t\t\tformlySubtype\t\t\t: '',\n\t\t\t\tformlyLabel\t\t\t\t: '',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyOptions\t\t\t: [],\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {\n\t\t\t\t\tmessages\t\t\t\t: {\n\t\t\t\t\t\trequired\t: function(viewValue, modelValue, scope) {\n\t\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\t\tvar defaultReturnMsg \t= 'this Grouped Select field is required';\n\t\t\t\t\t\t\tvar returnMsg \t\t\t\t= (typeof scope.to.label !== 'undefined') ? ((scope.to.label !== '') ? scope.to.label + ' is required' : defaultReturnMsg) : defaultReturnMsg;\n\t\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t],\n\t\t\tselectedControl : 'none' ,\n\t\t\ttemporyConfig \t: {\n\t\t\t\tselectedControl\t\t: 'none',\n\t\t\t\tformlyLabel\t\t\t\t: 'label',\n\t\t\t\tformlyRequired\t\t: false,\n\t\t\t\tformlyDesciption\t: '',\n\t\t\t\tformlyPlaceholder\t: '',\n\t\t\t\tformlyOptions \t\t: [],\n\t\t\t\t//expressions/validation fields\n\t\t\t\tformlyExpressionProperties: {},\n\t\t\t\tformlyValidators\t: {},\n\t\t\t\tformlyValidation\t: {}\n\t\t\t}\n\n\t};\n\n\t//reset\n\tangular.copy(newNyaSelectObj, nyaSelectObj);\n\treturn true;\n};\n\n/**\n\t* equivalent to formFielManage service in easy form generator\n\t*/\nconst getConfigurationModelInit = () => {\n\tlet configurationModelInit = {\n\t\tactiveLine: 1,\n\t\tlistConfigStep: [\n\t\t\t\t\t\t\t\t\t\t\t'init',\n\t\t\t\t\t\t\t\t\t\t\t'first',\n\t\t\t\t\t\t\t\t\t\t\t'second',\n\t\t\t\t\t\t\t\t\t\t\t'third'\n\t\t\t\t\t\t\t\t\t\t],\n\t\tstepIndicators: [\n\t\t\t\t\t\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t\t\t\t],\n\t\tconfigStepCounter : 0,\n\t\tsubmitButtonText : 'submit',\n\t\tcancelButtonText : 'cancel',\n\t\tlines: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tline:1,\n\t\t\t\t\t\t\tactiveColumn : 1,\n\t\t\t\t\t\t\tcolumns: [\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tnumColumn: 1,\n\t\t\t\t\t\t\t\t\t\t\t\t\texist:true,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontrol: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype:'none',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tkey: 'none'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// templateOptions: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// label: 'none',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// placeholder: 'none',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// required: false,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// description: 'Descriptive text'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t]\n\t};\n\treturn configurationModelInit;\n};\n\nconst getEmptyConfigModelResult = () => {\n\tlet configurationModelResult = {\n\t\tactiveLine: 1,\n\t\tlistConfigStep: [\n\t\t\t\t\t\t\t\t\t\t\t'init',\n\t\t\t\t\t\t\t\t\t\t\t'first',\n\t\t\t\t\t\t\t\t\t\t\t'second',\n\t\t\t\t\t\t\t\t\t\t\t'third'\n\t\t\t\t\t\t\t\t\t\t],\n\t\tstepIndicators: [\n\t\t\t\t\t\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t\t\t\t],\n\t\tconfigStepCounter: 0,\n\t\tsubmitButtonText : 'submit',\n\t\tcancelButtonText: 'cancel',\n\t\tlines: []\n\t};\n\treturn angular.copy(configurationModelResult);\n};\n\n\n\nconst resetDataModel = (obj) => {\n\tlet emptyDataModel = {};\n\tangular.copy(emptyDataModel, obj);\n\treturn true;\n};\n\n\nconst getErrorObject = (errorTitle, errorMessage) => {\n\tlet messageObj = {\n\t\tnoError : false,\n\t\ttitle\t\t: '',\n\t\tMessage\t: ''\n\t};\n\tmessageObj.noError\t= false;\n\tmessageObj.title \t\t= errorTitle;\n\tmessageObj.Message \t= errorMessage;\n\treturn messageObj;\n};\n\nconst getMessageObject = (messageTitle, messageBody) => {\n\tlet messageObj = {\n\t\tnoError \t: false,\n\t\ttitle\t\t\t: '',\n\t\tMessage\t\t: ''\n\t};\n\tmessageObj.noError\t= true;\n\tmessageObj.title \t\t= messageTitle;\n\tmessageObj.Message \t= messageBody;\n\treturn messageObj;\n};\n\nconst resetFormlyModel = (formlyModel) => {\n\tvar resetformly = [];\n\tangular.copy(resetformly, formlyModel);\n};\n\nconst extractTemplateOptionDescription = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.description !== 'undefined'? obj.templateOptions.description: '') : '';\n\nconst extractTemplateOptionPlaceholder = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.placeholder !== 'undefined'? obj.templateOptions.placeholder: '') : '';\n\nconst extractTemplateOptionType = (obj) => typeof obj.subtype !== 'undefined'? obj.subtype: '';\n\n// const isTemplateOptionDefined = (obj) => typeof obj.templateOptions !== 'undefined' ? true : false;\n\nconst extractTemplateOptionLabel = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.label !== 'undefined'? obj.templateOptions.label: '') : '';\n\nconst extractTemplateOptionDatepickerOptions = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.datepickerOptions !== 'undefined'? angular.copy(obj.templateOptions.datepickerOptions) : '') : '';\n\nconst extractFormlyExpressionProperties = (obj) => typeof obj.formlyExpressionProperties !== 'undefined' ? angular.copy(obj.formlyExpressionProperties) : {};\n\nconst extractFormlyValidators = (obj) => typeof obj.formlyValidators !== 'undefined' ? angular.copy(obj.formlyValidators): {};\n\nconst extractFormlyValidation = (obj) => typeof obj.formlyValidation !== 'undefined' ? angular.copy(obj.formlyValidation) : {};\n\nconst extractTemplateOptionRequired = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.required !== 'undefined'? obj.templateOptions.required: '') : '';\n\nconst extractTemplateOptionOptions = (obj) => typeof obj.templateOptions !== 'undefined' ? (typeof obj.templateOptions.options !== 'undefined'? obj.templateOptions.options: '') : '';\n\nconst addDatepickerOptionsProperty = (fieldToPush, configurationModel,lineIndex) => fieldToPush.templateOptions.datepickerOptions = extractTemplateOptionDatepickerOptions(configurationModel.lines[lineIndex].columns[0].control);\n\n\nconst addOneColumnHeader = (formlyModel, configurationModel,lineIndex) => {\n\t/**\n\t\t* text header is stored in \"description\" in templateOtion model\n\t\t*/\n\tlet headerTemplateCol0 = `<div class=\"row\"><div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control)}<h2></div></div><hr/>`;\n\tformlyModel.push(\n\t\t{\n\t\t\ttemplate: typeof configurationModel\n\t\t\t\t\t\t\t\t\t\t\t\t\t.lines[lineIndex]\n\t\t\t\t\t\t\t\t\t\t\t\t\t.columns[0]\n\t\t\t\t\t\t\t\t\t\t\t\t\t.control\n\t\t\t\t\t\t\t\t\t\t\t\t\t.type !== 'undefined' ?\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(configurationModel.lines[lineIndex].columns[0].control.type === 'header' ?\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theaderTemplateCol0\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: '<div></div>')\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: '<div></div>'\n\t\t}\n\t);\n};\n\n\nconst addOneColumnControl = (formlyModel, configurationModel,lineIndex) => {\n\tlet fieldToPush = {\n\t\tclassName\t: 'col-xs-12',\n\t\ttype\t: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[0].control.type): 'blank',\n\t\tkey\t\t: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\ttemplateOptions: {\n\t\t\ttype : extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tlabel : extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\trequired : extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\toptions : extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t},\n\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t};\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(fieldToPush, configurationModel,lineIndex);\n\n\tformlyModel.push(fieldToPush);\n};\n\n\n\nconst addTwoColumnControl = (formlyModel, configurationModel,lineIndex) => {\n\n\t//text header is stored in \"description\" in templateOtion model\n\tlet headerTemplateCol0 = {\n\t\tclassName: 'col-xs-6',\n\t\ttemplate : `<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control)}<h2><hr/></div></div>`\n\t};\n\n\tlet headerTemplateCol1 = {\n\t\tclassName: 'col-xs-6',\n\t\ttemplate : `<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control)}<h2><hr/></div></div>`\n\t};\n\n\tlet controlCol0 = {\n\t\tclassName\t: 'col-xs-6',\n\t\ttype\t\t\t: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[0].control.type): 'blank',\n\t\tkey\t\t\t\t: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\ttemplateOptions: {\n\t\t\t\ttype\t\t\t\t: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tlabel\t\t\t\t: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\trequired \t\t: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\toptions \t\t: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t},\n\t\t\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t\t};\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol0, configurationModel,lineIndex);\n\n\tlet controlCol1 = {\n\t\tclassName\t: 'col-xs-6',\n\t\ttype\t\t\t: typeof configurationModel.lines[lineIndex].columns[1].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[1].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[1].control.type) : 'blank',\n\t\tkey\t\t\t\t: typeof configurationModel.lines[lineIndex].columns[1].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.key : 'blank' + Date.now(),\n\t\ttemplateOptions: {\n\t\t\t\ttype\t\t\t\t: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tlabel\t\t\t\t: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\trequired \t\t: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\toptions \t\t: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[1].control)\n\t\t},\n\t\t\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[1].control)\n\t\t};\n\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol1, configurationModel,lineIndex);\n\n\tlet FieldGroup = [];\n\n\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'header') {\n\t\tFieldGroup.push(headerTemplateCol0);\n\t}else{\n\t\tFieldGroup.push(controlCol0);\n\t}\n\n\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'header') {\n\t\tFieldGroup.push(headerTemplateCol1);\n\t}else{\n\t\tFieldGroup.push(controlCol1);\n\t}\n\n\tformlyModel.push({\n\t\tclassName\t: 'row',\n\t\tfieldGroup: FieldGroup\n\t});\n\n};\n\n\nconst addThreeColumnControl = (formlyModel, configurationModel,lineIndex) => {\n\t//text header is stored in \"description\" in templateOtion model\n\tlet headerTemplateCol0 = {\n\t\tclassName\t: 'col-xs-4',\n\t\ttemplate \t: `<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control)}<h2><hr/></div></div>`\n\t};\n\n\tlet headerTemplateCol1 = {\n\t\tclassName\t: 'col-xs-4',\n\t\ttemplate\t: `<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control)}<h2><hr/></div></div>`\n\t};\n\n\tlet headerTemplateCol2 = {\n\t\tclassName\t: 'col-xs-4',\n\t\ttemplate\t: `<div class=\"row\"><div class=\"\"><h2 class=\"text-center\">${extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[2].control)}<h2><hr/></div></div>`\n\t};\n\n\tvar controlCol0 = {\n\t\t\tclassName\t: 'col-xs-4',\n\t\t\ttype\t\t\t: typeof configurationModel.lines[lineIndex].columns[0].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[0].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[0].control.type): 'blank',\n\t\t\tkey\t\t\t\t: typeof configurationModel.lines[lineIndex].columns[0].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[0].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\t\ttype\t\t\t\t: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\tlabel\t\t\t\t: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\trequired \t\t: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\toptions \t\t: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[0].control)\n\t\t\t},\n\t\t\t\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[0].control),\n\t\t\t\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[0].control)\n\t\t};\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol0, configurationModel,lineIndex);\n\n\tlet controlCol1 = {\n\t\t\tclassName\t: 'col-xs-4',\n\t\t\ttype\t\t\t: typeof configurationModel.lines[lineIndex].columns[1].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[1].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[1].control.type) : 'blank',\n\t\t\tkey\t\t\t\t: typeof configurationModel.lines[lineIndex].columns[1].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[1].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\t\ttype\t\t\t\t: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\tlabel\t\t\t\t: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\trequired \t\t: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\toptions \t\t: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[1].control)\n\t\t\t},\n\t\t\t\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[1].control),\n\t\t\t\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[1].control)\n\t\t};\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol1, configurationModel,lineIndex);\n\n\tlet controlCol2 = {\n\t\t\tclassName\t: 'col-xs-4',\n\t\t\ttype\t\t\t: typeof configurationModel.lines[lineIndex].columns[2].control.type !== 'undefined' ? (configurationModel.lines[lineIndex].columns[2].control.type === 'none' ? 'blank': configurationModel.lines[lineIndex].columns[2].control.type) : 'blank',\n\t\t\tkey\t\t\t\t: typeof configurationModel.lines[lineIndex].columns[2].control.key !== 'undefined' ? configurationModel.lines[lineIndex].columns[2].control.key : 'blank' + Date.now(),\n\t\t\ttemplateOptions: {\n\t\t\t\t\ttype\t\t\t\t: extractTemplateOptionType(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\tlabel\t\t\t\t: extractTemplateOptionLabel(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\trequired \t\t: extractTemplateOptionRequired(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\tplaceholder : extractTemplateOptionPlaceholder(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\tdescription : extractTemplateOptionDescription(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\toptions \t\t: extractTemplateOptionOptions(configurationModel.lines[lineIndex].columns[2].control)\n\t\t\t},\n\t\t\t\t\texpressionProperties : extractFormlyExpressionProperties(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\tvalidators : extractFormlyValidators(configurationModel.lines[lineIndex].columns[2].control),\n\t\t\t\t\tvalidation : extractFormlyValidation(configurationModel.lines[lineIndex].columns[2].control)\n\t\t};\n\t//////////////////////////////////////////////\n\t//datepicker additionnal particular property\n\t//////////////////////////////////////////////\n\tif (configurationModel.lines[lineIndex].columns[2].control.type === 'datepicker') addDatepickerOptionsProperty(controlCol2, configurationModel,lineIndex);\n\n\tlet FieldGroup = [];\n\n\tif (configurationModel.lines[lineIndex].columns[0].control.type === 'header') {\n\t\tFieldGroup.push(headerTemplateCol0);\n\t}else{\n\t\tFieldGroup.push(controlCol0);\n\t}\n\n\tif (configurationModel.lines[lineIndex].columns[1].control.type === 'header') {\n\t\tFieldGroup.push(headerTemplateCol1);\n\t}else{\n\t\tFieldGroup.push(controlCol1);\n\t}\n\n\tif (configurationModel.lines[lineIndex].columns[2].control.type === 'header') {\n\t\tFieldGroup.push(headerTemplateCol2);\n\t}else{\n\t\tFieldGroup.push(controlCol2);\n\t}\n\n\n\tformlyModel.push({\n\t\t\t\tclassName: 'row',\n\t\t\t\tfieldGroup: FieldGroup\n\t});\n\n};\n\n\n\n\n\nexport {\n\tresetNyaSelect,\n\tgetConfigurationModelInit,\n\tgetEmptyConfigModelResult,\n\tresetDataModel,\n\tgetErrorObject,\n\tgetMessageObject,\n\tresetFormlyModel,\n\taddOneColumnHeader,\n\taddOneColumnControl,\n\taddTwoColumnControl,\n\taddThreeColumnControl\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/components/modelsTranslator/eda.easyFormViewer.modelTranslator.service.helpers.js","import {\n richTextTemplate,\n blankTemplate,\n subTitleTemplate,\n basicSelectTemplate,\n groupedSelectTemplate,\n datepickerTemplate,\n validationTemplate\n} from './eda.easyFormViewer.formly.template';\n\n\nfunction edaEasyFormViewerConfig(formlyConfigProvider) {\n\n formlyConfigProvider.setType(\n {\n name : 'richEditor',\n template: richTextTemplate,\n wrapper : ['bootstrapLabel', 'bootstrapHasError']\n }\n );\n\n formlyConfigProvider.setType(\n {\n name : 'blank',\n template: blankTemplate\n }\n );\n\n formlyConfigProvider.setType(\n {\n name : 'subTitle',\n template: subTitleTemplate\n }\n );\n\n formlyConfigProvider.setType(\n {\n name : 'basicSelect',\n template : basicSelectTemplate,\n wrapper : ['bootstrapLabel', 'bootstrapHasError']\n }\n );\n\n formlyConfigProvider.setType(\n {\n name : 'groupedSelect',\n template : groupedSelectTemplate,\n wrapper : ['bootstrapLabel', 'bootstrapHasError']\n }\n );\n\n ////////////////////////////\n // angular UI date picker\n ////////////////////////////\n // thx Kent C. Dodds\n\n const attributes = [\n 'date-disabled',\n 'custom-class',\n 'show-weeks',\n 'starting-day',\n 'init-date',\n 'min-mode',\n 'max-mode',\n 'format-day',\n 'format-month',\n 'format-year',\n 'format-day-header',\n 'format-day-title',\n 'format-month-title',\n 'year-range',\n 'shortcut-propagation',\n 'datepicker-popup',\n 'show-button-bar',\n 'current-text',\n 'clear-text',\n 'close-text',\n 'close-on-date-selection',\n 'datepicker-append-to-body'\n ];\n\n const bindings = [\n 'datepicker-mode',\n 'min-date',\n 'max-date'\n ];\n\n let ngModelAttrs = {};\n\n angular.forEach(attributes, (attr) => {\n ngModelAttrs[camelize(attr)] = {attribute: attr};\n });\n\n angular.forEach(bindings, (binding) => {\n ngModelAttrs[camelize(binding)] = {bound: binding};\n });\n\n formlyConfigProvider.setType({\n name \t\t\t: 'datepicker',\n template \t: datepickerTemplate,\n defaultOptions: {\n ngModelAttrs \t\t: ngModelAttrs,\n templateOptions: {\n datepickerOptions: {\n format: 'dd/MM/yyyy',\n initDate: new Date(),\n showWeeks: false\n }\n }\n },\n wrapper \t: ['bootstrapLabel', 'bootstrapHasError'],\n controller: ['$scope', ($scope) => {\n // console.info('ui calendar init');\n $scope.datepicker = {};\n\n // make sure the initial value is of type DATE!\n var currentModelVal = $scope.model[$scope.options.key];\n if (typeof (currentModelVal) == 'string'){\n $scope.model[$scope.options.key] = new Date(currentModelVal);\n }\n\n $scope.datepicker.opened = false;\n $scope.datepicker.open = function ($event) {\n $event.preventDefault();\n $event.stopPropagation();\n // console.info('ui calendar open event');\n $scope.datepicker.opened = !$scope.datepicker.opened;\n };\n }]\n\n });\n\n\n\n\n\n /**\n * wrappers to show validation errors\n * without having to rewrite formly types\n */\n formlyConfigProvider.setWrapper([\n {\n template: validationTemplate\n }\n ]);\n\n function camelize(string) {\n string = string.replace(/[\\-_\\s]+(.)?/g, function(match, chr) {\n return chr ? chr.toUpperCase() : '';\n });\n // Ensure 1st char is always lowercase\n return string.replace(/^([A-Z])/, function(match, chr) {\n return chr ? chr.toLowerCase() : '';\n });\n }\n\n\n}\n\nedaEasyFormViewerConfig.$inject = ['formlyConfigProvider'];\n\nexport default edaEasyFormViewerConfig;\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/config/eda.easyFormViewer.config.js","\nconst richTextTemplate = `\n\t<text-angular name=\"{{id}}\"\n\t\tclass=\"richTextAngular\"\n\t\tng-model=\"model[options.key || index]\">\n\t</text-angular>`;\n\n\nconst blankTemplate = `<div></div>`;\n\n\nconst subTitleTemplate = `\n\t<div class=\"row\">\n\t\t<div class=\"\">\n\t\t\t<h4 class=\"text-center\">\n\t\t\t{{options.templateOptions.placeholder}}\n\t\t\t<h4><hr/>\n\t\t</div>\n\t</div>`;\n\nconst basicSelectTemplate = `\n<ol\n\tclass=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\"\n\tng-model=\"model[options.key || index]\"\n\tid=\"{{id}}\"\n\tdisabled=\"options.templateOptions.options.length === 0\">\n\t<li class=\"nya-bs-option\" nya-bs-option=\"option in options.templateOptions.options\">\n\t\t<a>{{option.name}}</a>\n\t</li>\n</ol>`;\n\nconst groupedSelectTemplate = `\n\t<ol class=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\"\n\t\tng-model=\"model[options.key || index]\"\n\t\tdata-live-search=\"true\"\n\t\tdisabled=\"options.templateOptions.options.length === 0\">\n\t\t<li nya-bs-option=\"option in options.templateOptions.options group by option.group\">\n\t\t\t<span class=\"dropdown-header\">{{$group}}</span>\n\t\t\t<a>\n\t\t\t\t<span>{{option.name}}</span>\n\t\t\t\t<span class=\"glyphicon glyphicon-ok check-mark\"></span>\n\t\t\t</a>\n\t\t</li>\n\t</ol>`;\n\nconst datepickerTemplate = `\n <p class=\"input-group\">\n <span class=\"input-group-btn\">\n <button\n type=\"button\"\n class=\"btn btn-default\"\n ng-click=\"formlyDatePicker.open($event)\">\n <i class=\"glyphicon glyphicon-calendar\"></i>\n </button>\n </span>\n <input type=\"text\"\n id=\"{{::id}}\"\n name=\"{{::id}}\"\n ng-model=\"model[options.key]\"\n class=\"form-control\"\n ng-click=\"datepicker.open($event)\"\n uib-datepicker-popup=\"{{to.datepickerOptions.format}}\"\n is-open=\"datepicker.opened\"\n datepicker-options=\"to.datepickerOptions\"\n />\n </p>\n `;\n\nconst validationTemplate = `\n\t<div class=\"formly-template-wrapper form-group\"\n\t\t\t\t\t\tng-class=\"{\\'has-error\\': options.validation.errorExistsAndShouldBeVisible}\">\n\t\t\t\t<formly-transclude></formly-transclude>\n\t\t\t\t<div class=\"validation\"\n\t\t\t\t\t\t\tng-if=\"options.validation.errorExistsAndShouldBeVisible\"\n\t\t\t\t\t\t\tng-messages=\"options.formControl.$error\">\n\t\t\t\t\t<div ng-messages-include=\"validation.html\"></div>\n\t\t\t\t\t<div ng-message=\"{{::name}}\" ng-repeat=\"(name, message) in ::options.validation.messages\">\n\t\t\t\t\t\t{{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>`;\n\nexport {\n\trichTextTemplate,\n\tblankTemplate,\n\tsubTitleTemplate,\n\tbasicSelectTemplate,\n\tgroupedSelectTemplate,\n\tdatepickerTemplate,\n\tvalidationTemplate\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/formviewer/config/eda.easyFormViewer.formly.template.js","module.exports = {\n\t\"stepway\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"dragdropway\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"formviewer\": {\n\t\t\"version\": \"2.0.0\"\n\t}\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/easyFormConfig.json\n// module id = 18\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../../../../node_modules/style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\", function() {\n\t\t\tvar newContent = require(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/formviewer/style/formviewer.scss\n// module id = 19\n// module chunks = 0","exports = module.exports = require(\"./../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".ta-hidden-input{width:1px;height:1px;border:none;margin:0;padding:0;position:absolute;top:-10000px;left:-10000px;opacity:0;overflow:hidden}.ta-root.focussed>.ta-scroll-window.form-control{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.ta-editor.ta-html,.ta-scroll-window.form-control{min-height:300px;height:auto;overflow:auto;font-family:inherit;font-size:100%}.ta-scroll-window.form-control{position:relative;padding:0}.ta-scroll-window>.ta-bind{height:auto;min-height:300px;padding:6px 12px}.ta-editor:focus{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ta-resizer-handle-overlay{z-index:100;position:absolute;display:none}.ta-resizer-handle-overlay>.ta-resizer-handle-info{position:absolute;bottom:16px;right:16px;border:1px solid #000;background-color:#fff;padding:0 4px;opacity:.7}.ta-resizer-handle-overlay>.ta-resizer-handle-background{position:absolute;bottom:5px;right:5px;left:5px;top:5px;border:1px solid #000;background-color:rgba(0,0,0,.2)}.ta-resizer-handle-overlay>.ta-resizer-handle-corner{width:10px;height:10px;position:absolute}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-tl{top:0;left:0;border-left:1px solid #000;border-top:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-tr{top:0;right:0;border-right:1px solid #000;border-top:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-bl{bottom:0;left:0;border-left:1px solid #000;border-bottom:1px solid #000}.ta-resizer-handle-overlay>.ta-resizer-handle-corner-br{bottom:0;right:0;border:1px solid #000;cursor:se-resize;background-color:#fff}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.bottom{margin-top:10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:\\\"\\\";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:\\\" \\\";border-top-color:#fff;border-bottom-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:\\\" \\\";border-top-width:0;border-bottom-color:#fff}body{margin:20px;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif}.ta-scroll-window{margin-bottom:16px}.formly-field{margin-bottom:20px}.validation{position:absolute;font-size:.8em;color:#a94442}.error-messages,.formly-template-wrapper{position:relative}.error-messages,.message,.validation{opacity:1;transition:all .3s linear}.message{font-size:.8em;position:absolute;width:100%;color:#a94442;margin-top:2px}.error-messages.ng-enter.ng-enter-active,.message.ng-enter.ng-enter-active,.validation.ng-enter.ng-enter-active{opacity:1}.error-messages.ng-enter,.message.ng-enter,.validation.ng-enter{opacity:0}.error-messages.ng-leave,.message.ng-leave,.validation.ng-leave{opacity:1}.error-messages.ng-leave-active,.message.ng-leave-active,.validation.ng-leave-active{opacity:0}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader!./~/sass-loader!./src/app/formviewer/style/formviewer.scss\n// module id = 20\n// module chunks = 0","/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader/lib/css-base.js\n// module id = 21\n// module chunks = 0","/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0,\r\n\tstyleElementsInsertedAtTop = [];\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(typeof DEBUG !== \"undefined\" && DEBUG) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\t// By default, add <style> tags to the bottom of <head>.\r\n\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction insertStyleElement(options, styleElement) {\r\n\tvar head = getHeadElement();\r\n\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\tif (options.insertAt === \"top\") {\r\n\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t} else {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t}\r\n\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t} else if (options.insertAt === \"bottom\") {\r\n\t\thead.appendChild(styleElement);\r\n\t} else {\r\n\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t}\r\n}\r\n\r\nfunction removeStyleElement(styleElement) {\r\n\tstyleElement.parentNode.removeChild(styleElement);\r\n\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n\tif(idx >= 0) {\r\n\t\tstyleElementsInsertedAtTop.splice(idx, 1);\r\n\t}\r\n}\r\n\r\nfunction createStyleElement(options) {\r\n\tvar styleElement = document.createElement(\"style\");\r\n\tstyleElement.type = \"text/css\";\r\n\tinsertStyleElement(options, styleElement);\r\n\treturn styleElement;\r\n}\r\n\r\nfunction createLinkElement(options) {\r\n\tvar linkElement = document.createElement(\"link\");\r\n\tlinkElement.rel = \"stylesheet\";\r\n\tinsertStyleElement(options, linkElement);\r\n\treturn linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n\tvar styleElement, update, remove;\r\n\r\n\tif (options.singleton) {\r\n\t\tvar styleIndex = singletonCounter++;\r\n\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t} else if(obj.sourceMap &&\r\n\t\ttypeof URL === \"function\" &&\r\n\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\ttypeof Blob === \"function\" &&\r\n\t\ttypeof btoa === \"function\") {\r\n\t\tstyleElement = createLinkElement(options);\r\n\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t\tif(styleElement.href)\r\n\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t};\r\n\t} else {\r\n\t\tstyleElement = createStyleElement(options);\r\n\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t};\r\n\t}\r\n\r\n\tupdate(obj);\r\n\r\n\treturn function updateStyle(newObj) {\r\n\t\tif(newObj) {\r\n\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\treturn;\r\n\t\t\tupdate(obj = newObj);\r\n\t\t} else {\r\n\t\t\tremove();\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar replaceText = (function () {\r\n\tvar textStore = [];\r\n\r\n\treturn function (index, replacement) {\r\n\t\ttextStore[index] = replacement;\r\n\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t};\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\tvar css = remove ? \"\" : obj.css;\r\n\r\n\tif (styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t} else {\r\n\t\tvar cssNode = document.createTextNode(css);\r\n\t\tvar childNodes = styleElement.childNodes;\r\n\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\tif (childNodes.length) {\r\n\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t} else {\r\n\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\r\n\tif(media) {\r\n\t\tstyleElement.setAttribute(\"media\", media)\r\n\t}\r\n\r\n\tif(styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = css;\r\n\t} else {\r\n\t\twhile(styleElement.firstChild) {\r\n\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t}\r\n\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t}\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(sourceMap) {\r\n\t\t// http://stackoverflow.com/a/26603875\r\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t}\r\n\r\n\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\r\n\tvar oldSrc = linkElement.href;\r\n\r\n\tlinkElement.href = URL.createObjectURL(blob);\r\n\r\n\tif(oldSrc)\r\n\t\tURL.revokeObjectURL(oldSrc);\r\n}\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/style-loader/addStyles.js\n// module id = 22\n// module chunks = 0"],"sourceRoot":""}