!function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="/",t(0)}([function(e,t,o){"use strict";o(1),o(6),o(19)},function(e,t,o){"use strict";o(2),o(3),o(5)},function(e,t,o){ //! api-check version 7.5.5 built with ♥ by Kent C. Dodds (http://kent.doddsfamily.us) (ó ì_í)=óò=(ì_í ò) !function(t,o){e.exports=o()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),i=n(r);t.default=i.default,e.exports=t.default},function(e,t,o){"use strict";function n(){function t(n,i,a){if(t.config.disabled||e.exports.globalConfig.disabled)return{apiTypes:{},argTypes:{},passed:!0,message:"",failed:!1};o(arguments),Array.isArray(n)?i=Array.prototype.slice.call(i):(n=[n],i=[i]);var l=s(n,i);l.length||(l=r(n,i));var p=u(n,i);return p.args=i,l.length?(p.message=t.getErrorMessage(n,i,l,a),p.failed=!0,p.passed=!1):(p.message="",p.failed=!1,p.passed=!0),p}function o(e){var o=e[0],n=e[1],i=Array.isArray(n)||n&&"object"==typeof n&&"number"==typeof n.length;if(Array.isArray(o)&&!i)throw new Error(a(o,[n],["If an array is provided for the api, an array must be provided for the args as well."],{prefix:"apiCheck"}));var l=r(k.checkApiCheckApi,e);if(l.length){var s=t.getErrorMessage(k.checkApiCheckApi,e,l,{prefix:"apiCheck"});t.handleErrorMessage(s,!0)}}function n(e){return function(o,n,r){var i=t(o,n,r);return t.handleErrorMessage(i.message,e),i}}function i(e,t){if(t&&e)throw new Error(e);e&&console.warn(e)}function a(e,o){function n(){var e=s.onlyPrefix;return e||(e=((p.prefix||"")+" "+(s.prefix||"")).trim()),e}function r(){var e=s.onlySuffix;return e||(e=((s.suffix||"")+" "+(p.suffix||"")).trim()),e}function i(){var e=s.url;return e||(e=p.docsBaseUrl&&s.urlSuffix&&(""+p.docsBaseUrl+s.urlSuffix).trim()),e}var a=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],s=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],p=t.config.output||{},u=n(),c=r(),f=i(),d="apiCheck failed! "+a.join(", "),m="\n\n"+l(e,o);return(u+" "+d+" "+c+" "+(f||"")+m).trim()}function l(e,t){function o(e){m(e,function(t,n){p.indexOf(t)===-1&&(p.push(t),"object"==typeof t?o(e):"function"==typeof t&&(e[n]=t.displayName||t.name||"anonymous function"))})}function n(e){return e&&e.length?(e&&1===e.length&&(e=e[0]),f(e,null,2)):"nothing"}function r(){var e="\n",o=!0;t&&1===t.length&&(o="object"==typeof t[0]&&null!==t[0]&&!!Object.keys(t[0]).length);var n="type"+(o?"s":""),r=e+e;return"You passed:"+e+c+r+("With the "+n+":"+e+l+r)+("The API calls for:"+e+a)}var i=u(e,t),a=i.apiTypes,l=i.argTypes,s=Array.prototype.slice.call(t||[]),p=[];o(s);var c=n(s);return l=n(l),a=n(a),r()}function u(o,n){o=v(o),n=v(n);var r=o.map(function(o,r){var i=e.exports.globalConfig.hasOwnProperty("verbose");return g(o,{terse:i?!e.exports.globalConfig.verbose:!t.config.verbose,obj:n[r],addHelpers:!0})}),i=n.map(function(e){return p(e,[])});return{argTypes:i,apiTypes:r}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],y=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];w&&arguments.length&&w.throw(k.getApiCheckInstanceCheckers,arguments,{prefix:"creating an apiCheck instance"});var h={throw:n(!0),warn:n(!1),getErrorMessage:a,handleErrorMessage:i,config:{output:c.output||{prefix:"",suffix:"",docsBaseUrl:""},verbose:c.verbose||!1,disabled:c.disabled||!1},utils:d};m(h,function(e,o){return t[o]=e});var b=t.disabled||e.exports.globalConfig.disabled;return m(O.getCheckers(b),function(e,o){return t[o]=e}),m(y,function(e,o){return t[o]=e}),t}function r(e,t){for(var o=[],n=!1,r=0,i=0,l=void 0,s=void 0,p=void 0,u=void 0,c=void 0,f=void 0,d=void 0;(s=e[r++])&&i=e.length,d=r>1&&e[r-1].isOptional,f&&u||f&&!u&&!s.isOptional&&!d?(n=!0,o.push(a(p,s,l))):f&&s.isOptional?i--:o.push(h(c)+" passed");return n?o:[]}function i(e,t,o){var n=O.shape({type:O.string,optional:O.bool}),r=O.func.withProperties({__apiCheckData:n}),a=O.shape({__apiCheckData:n}),l=O.oneOfType([r,a])(e,t,o);return y(l)?l:"function"==typeof e||e.hasOwnProperty(e.__apiCheckData.type)?void 0:x(t,o,i.type)}function a(e,t,o){var n=l(t,o);return n=n?" - "+n:"",e.message+n}function l(e,t){var o=e.help;return o?("function"==typeof o&&(o=o(t)),o):""}function s(e,t){var o=e.filter(function(e){return!e.isOptional});return t.length=0;n--)t[n][r[0]]===e&&(e=t[n],r.unshift(o[n]));return"~"+r.join(".")}function r(e,t,n,r){return JSON.stringify(e,o(t,r),n)}e.exports=r,r.getSerialize=o},function(e,t,o){"use strict";function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function r(e){var t=i(e),o=void 0;if("array"===t)o=[];else{if("object"!==t)return e;o={}}return p(e,function(e,t){o[t]=e}),o}function i(e){return Array.isArray(e)?"array":e instanceof RegExp?"object":typeof e}function a(e,t){var o=void 0,n=t&&t.short;return o=n&&e.shortType?e.shortType:!n&&"object"==typeof e.type||"function"===e.type?l(e,t):l(e,t)||e.displayName||e.name}function l(e,t){var o=e.type;if("function"==typeof o){var r=o.__apiCheckData,i=o(t);o=n({__apiCheckData:r},r.type,i)}return o}function s(e){return e?Array.isArray(e)?e:[e]:[]}function p(e,t,o){return Array.isArray(e)?c(e,t,o):u(e,t,o)}function u(e,t,o){var n=void 0,r=Object.prototype.hasOwnProperty;for(var i in e)if(r.call(e,i)&&(n=t.call(o,e[i],i,e),n===!1))return n;return!0}function c(e,t,o){for(var n=void 0,r=e.length,i=0;io)return d(r,i,n)},{type:n},e)}function j(t){var o="lessThan["+t+"]";return g(function(e,n,r){if("number"!=typeof e||e>t)return d(n,r,o)},{type:o},e)}function M(t){var o="greaterThan["+t+"]";return g(function(e,n,r){if("number"!=typeof e||e" in it: '+e+"\nAdditional information: "+JSON.stringify(t))}var s=this;i.extend(this,{getFormlyError:n,getFieldError:o,checkWrapper:a,checkWrapperTemplate:l,$get:function(){return s}})}var r=function(e){return e&&e.__esModule?e.default:e},i=r(o(15));e.exports=n,n.$inject=["formlyApiCheck","formlyErrorAndWarningsUrlPrefix"]},function(e,t,o){"use strict";function n(e,t){function o(e){if(i.isArray(e))i.forEach(e,o);else{if(!i.isObject(e))throw j("You must provide an object or array for setType. You provided: "+JSON.stringify(arguments));n(e),e.extends&&r(e),C[e.name]=e}}function n(e){t.throw(t.formlyTypeOptions,e,{prefix:"formlyConfig.setType",url:"settype-validation-failed"}),e.overwriteOk?e.overwriteOk=void 0:g(e.name,C,e,"types")}function r(e){var t=f(e.extends,!0,e);s(e,t),p(e,t),u(e,t),c(e,t),a.reverseDeepMerge(e,t),l(e,t)}function l(e,t){e.template&&t.templateUrl?delete e.templateUrl:e.templateUrl&&t.template&&delete e.template}function s(e,t){var o=t.controller;if(i.isDefined(o)){var n=e.controller;i.isDefined(n)?(e.controller=function(e,t){t(o,{$scope:e}),t(n,{$scope:e})},e.controller.$inject=["$scope","$controller"]):e.controller=o}}function p(e,t){var o=t.link;if(i.isDefined(o)){var n=e.link;i.isDefined(n)?e.link=function(){o.apply(void 0,arguments),n.apply(void 0,arguments)}:e.link=o}}function u(e,t){var o=t.validateOptions;if(i.isDefined(o)){var n=e.validateOptions,r=e.defaultOptions;i.isDefined(n)?e.validateOptions=function(e){n(e);var t=i.copy(e),l=r;l&&(i.isFunction(l)&&(l=l(t)),a.reverseDeepMerge(t,l)),o(t)}:e.validateOptions=o}}function c(e,t){var o=t.defaultOptions;if(i.isDefined(o)){var n=e.defaultOptions,r=i.isFunction(n),l=i.isFunction(o);l?e.defaultOptions=function(e){var t=o(e),i={};a.reverseDeepMerge(i,e,t);var l=n;return r&&(l=l(i)),a.reverseDeepMerge(t,l),t}:r&&(e.defaultOptions=function(e){var t={};return a.reverseDeepMerge(t,e,o),n(t)})}}function f(e,t,o){if(e){var n=C[e];if(n||t!==!0)return n;throw j('There is no type by the name of "'+e+'": '+JSON.stringify(o))}}function d(e,t){for(var o=!0;o;){o=!1;var n=e,r=t;if(i.isArray(n))return n.map(function(e){return d(e)});if(i.isObject(n))return n.types=m(n),n.name=y(n,r),h(n),T[n.name]=n,n;i.isString(n)&&(e={template:n,name:r},o=!0)}}function m(e){return i.isString(e.types)?[e.types]:i.isDefined(e.types)?e.types:[]}function y(e,t){return e.name||t||e.types.join(" ")||_}function h(t){e.checkWrapper(t),t.template&&e.checkWrapperTemplate(t.template,t),t.overwriteOk?delete t.overwriteOk:g(t.name,T,t,"templateWrappers"),v(t)}function v(e){var t=!i.isArray(e.types)||!e.types.every(i.isString);if(t)throw j("Attempted to create a template wrapper with types that is not a string or an array of strings")}function g(e,t,o,n){t.hasOwnProperty(e)&&w(["Attempting to overwrite "+e+" on "+n+" which is currently",""+JSON.stringify(t[e])+" with "+JSON.stringify(o),'To supress this warning, specify the property "overwriteOk: true"'].join(" "))}function b(e){return T[e||_]}function x(e){var t=[];for(var o in T)T.hasOwnProperty(o)&&T[o].types&&T[o].types.indexOf(e)!==-1&&t.push(T[o]);return t}function O(e){var t=T[e];return delete T[e],t}function k(e){var t=x(e);if(t)return i.isArray(t)?(t.forEach(function(e){return O(e.name)}),t):O(t.name)}function w(){A.disableWarnings||console.warn.apply(console,arguments)}var E=this,C={},T={},_="default",A=this,j=e.getFormlyError;i.extend(this,{setType:o,getType:f,setWrapper:d,getWrapper:b,getWrapperByType:x,removeWrapperByName:O,removeWrappersForType:k,disableWarnings:!1,extras:{disableNgModelAttrsManipulator:!1,ngModelAttrsManipulatorPreferUnbound:!1,removeChromeAutoComplete:!1,defaultHideDirective:"ng-if",getFieldId:null},templateManipulators:{preWrapper:[],postWrapper:[]},$get:function(){return E}})}var r=function(e){return e&&e.__esModule?e.default:e},i=r(o(15)),a=r(o(18));e.exports=n,n.$inject=["formlyUsabilityProvider","formlyApiCheck"]},function(e,t,o){"use strict";function n(){function e(e,t,r,i,a){n.messages[e]=o(t,r,i,a)}function t(e,t){n.messages[e]=function(){return t}}function o(e,t,o,n){return function(r,i,a){return a.options.templateOptions[e]?""+t+" "+a.options.templateOptions[e]+" "+o:n}}var n={addTemplateOptionValueMessage:e,addStringMessage:t,messages:{}};return n}e.exports=n},function(e,t,o){"use strict";function n(){return i}var r=function(e){return e&&e.__esModule?e.default:e},i=r(o(18));e.exports=n},function(e,t,o){"use strict";function n(e,t,o){return function(){if(!e.disableWarnings){var n=Array.prototype.slice.call(arguments),i=n.shift();n.unshift("Formly Warning:"),n.push(""+t+i),o.warn.apply(o,r(n))}}}var r=function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t\n \n ")}function l(){e.options.elementAttributes&&n.attr(e.options.elementAttributes)}function p(){e.options.className&&n.addClass(e.options.className),e.options.type&&n.addClass("formly-field-"+e.options.type)}function c(t){return n.html(d(t)),o(n.contents())(e),t}function f(t){function o(e){var t=/\{\{(.*?)}}/,o=t.exec(e);o?n(o[1]):a(e)}function n(t){e.$watch(t,function(e){e&&(p(),a(e))})}function a(t){p=e.$watch('form["'+t+'"]',function(t){t&&(e.fc=t,e.options.formControl=t,u(),l())})}function l(){u=e.$watch(function(){var t=r.extras.errorExistsAndShouldBeVisibleExpression,o=e.options,n=e.fc;if(n.$invalid){if("boolean"==typeof o.validation.show)return o.validation.show;if(t)return s.formlyEval(e,t,n.$modelValue,n.$viewValue);var a=i.isUndefined(n.$touched)&&n.$dirty; return e.fc.$touched||a}return!1},function(t){e.options.validation.errorExistsAndShouldBeVisible=t,e.showError=t})}var p=i.noop,u=i.noop;if(!e.options.noFormControl){var c=i.element("
"+t+"
"),f=c[0].querySelector("[ng-model],[data-ng-model]");f&&f.getAttribute("name")&&o(f.getAttribute("name"))}}function h(){b&&b.link&&b.link.apply(k,x),e.options.link&&e.options.link.apply(k,x)}function g(o){return function(n){var r=t.when(n);return i.forEach(o,function(o){r=r.then(function(n){return t.when(o(n,e.options,e)).then(function(e){return i.isString(e)?e:d(e)})})}),r}}if(e.options.fieldGroup)return void a();l(),p();var b=m(e.options),x=arguments,k=this;y(e.options).then(g(r.templateManipulators.preWrapper)).then(v(e.options)).then(g(r.templateManipulators.postWrapper)).then(c).then(f).then(h).catch(function(t){u("there-was-a-problem-setting-the-template-for-this-field","There was a problem setting the template for this field ",e.options,t)})}function d(e){var t=i.element("");return t.append(e).html()}function m(e){return e.type&&r.getType(e.type)}function y(e){function t(t,o){return i.isDefined(e[t])?e[t]:o&&i.isDefined(o[t])?o[t]:void 0}var o=r.getType(e.type,!0,e),n=t("template",o),a=t("templateUrl",o);if(i.isUndefined(n)&&!a)throw p.getFieldError("type-type-has-no-template","Type '"+e.type+"' has not template. On element:",e);return h(a||n,i.isUndefined(n),e)}function h(o,r,a){var l=void 0;if(l=i.isFunction(o)?t.when(o(a)):t.when(o),!r)return l;var s=function(){var t={cache:n};return{v:l.then(function(o){return e.get(o,t)}).then(function(e){return e.data}).catch(function(e){u("problem-loading-template-for-templateurl","Problem loading template for "+o,e)})}}();return"object"==typeof s?s.v:void 0}function v(e){var o=b(e);return function(n){if(!o.length)return t.when(n);o.forEach(function(t){p.checkWrapper(t,e),t.validateOptions&&t.validateOptions(e),k(t,e)});var r=o.map(function(e){return h(e.template||e.templateUrl,!e.template)});return t.all(r).then(function(e){e.forEach(function(e,t){p.checkWrapperTemplate(e,o[t])}),e.reverse();var t=e.shift();return e.forEach(function(e){t=g(t,e)}),g(t,n)})}}function g(e,t){var o=i.element("");o.append(e);var n=o.find("formly-transclude");return n.length||(n=s.findByNodeName(o,"formly-transclude")),n.replaceWith(t),o.html()}function b(e){var t=e.wrapper;if(null===t)return[];t=t?w(t).map(r.getWrapper):w(r.getWrapperByType(e.type));var o=r.getType(e.type,!0,e);if(o&&o.wrapper){var n=w(o.wrapper).map(r.getWrapper);t=t.concat(n)}var i=r.getWrapper();return i&&t.push(i),t}function x(e){l.throw(l.formlyFieldOptions,e,{prefix:"formly-field directive",url:"formly-field-directive-validation-failed"});var t=e.type&&r.getType(e.type);t&&(t.validateOptions&&t.validateOptions(e),k(t,e))}function O(e){l.throw(l.fieldGroup,e,{prefix:"formly-field directive",url:"formly-field-directive-validation-failed"})}function k(e,t){var o=e.apiCheck,n=e.apiCheckInstance,r=e.apiCheckFunction,i=e.apiCheckOptions;if(o){var a=n||l,s=r||"warn",p=a.shape(o);a[s](p,t,i||{prefix:"formly-field "+name,url:l.config.output.docsBaseUrl+"formly-field-type-apicheck-failed"})}}var w=s.arrayify;return c.$inject=["$scope","$timeout","$parse","$controller"],{restrict:"AE",transclude:!0,scope:{options:"=",model:"=",formId:"@",index:"=?",fields:"=?",formState:"=?",form:"=?"},controller:c,link:f}}var r=function(e){return e&&e.__esModule?e.default:e},i=r(o(15));e.exports=n,n.$inject=["$http","$q","$compile","$templateCache","formlyConfig","formlyValidationMessages","formlyApiCheck","formlyUtil","formlyUsability","formlyWarn"]},function(e,t,o){"use strict";function n(e,t){return{restrict:"A",link:function(o,n,r){var i=null,a=n[0],l=t[0];r.$observe("formlyFocus",function(t){"true"===t?e(function(){i=l.activeElement,a.focus()},~~r.focusWait):"false"===t&&l.activeElement===a&&(a.blur(),r.hasOwnProperty("refocus")&&i&&i.focus())})}}}e.exports=n,n.$inject=["$timeout","$document"]},function(e,t,o){"use strict";function n(e,t,o,n){var r=1;return{restrict:"E",template:function(t,o){function i(){return o.rootEl||"ng-form"}function a(){return o.fieldRootEl||"div"}function s(){return o.hideDirective||n.extras.defaultHideDirective||"ng-if"}function p(){return o.trackBy?"track by "+o.trackBy:""}function u(){var t=y,n=o.bindName;if(n){if(l.version.minor<3)throw e.getFormlyError("bind-name attribute on formly-form not allowed in > angular 1.3");t="{{::'formly_' + "+n+"}}"}return t}function c(e){var t=["model","form","fields","options","name","role","class"],o=[];return l.forEach(e,function(e){var n=e.nodeName,r=e.nodeValue;"undefined"!==n&&t.indexOf(n)===-1&&o.push(""+f(n)+'="'+r+'"')}),o.join(" ")}function f(e){return e?e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}):""}var d=i(),m=a(),y="formly_"+r++,h="";return o.hasOwnProperty("isFieldGroup")&&t.parent().parent().hasClass("formly")&&(h=c(t.parent().parent()[0].attributes)),"\n <"+d+' class="formly"\n name="'+u()+'"\n role="form" '+h+">\n <"+m+' formly-field\n ng-repeat="field in fields '+p()+'"\n '+s()+'="!field.hide"\n class="formly-field"\n options="field"\n model="field.model || model"\n fields="fields"\n form="theFormlyForm"\n form-id="'+u()+'"\n form-state="options.formState"\n index="$index">\n \n
\n \n "},replace:!0,transclude:!0,scope:{fields:"=",model:"=",form:"=?",options:"=?"},controller:["$scope","formlyUtil",function(t,n){function r(){l.forEach(t.fields,function(e,o){var r=e.model||t.model;if(e.runExpressions&&e.runExpressions(r),e.hideExpression){var i=r[e.key],a={options:e,index:o,formState:t.options.formState,formId:t.formId};e.hide=n.formlyEval(t,e.hideExpression,i,i,a)}})}function s(){o.throw([o.formOptionsApi.optional],[t.options],{prefix:"formly-form options check"}),t.options=t.options||{},t.options.formState=t.options.formState||{},l.extend(t.options,{updateInitialValue:p,resetModel:u})}function p(){l.forEach(t.fields,function(e){v(e)?e.options.updateInitialValue():e.updateInitialValue()})}function u(){l.forEach(t.fields,function(e){v(e)?e.options.resetModel():e.resetModel()})}function c(e){e.model&&"formState"===e.model&&(e.model=t.options.formState)}function f(e,t){v(e)||(e.key=e.key||t||0)}function d(o,n){if(!v(o)&&l.isDefined(o.watcher)){var r=o.watcher;l.isArray(r)||(r=[r]),l.forEach(r,function(r){if(!l.isDefined(r.listener))throw e.getFieldError("all-field-watchers-must-have-a-listener","All field watchers must have a listener",o);var i=m(r,o,n),a=y(r,o,n),s=r.type||"$watch";r.stopWatching=t[s](i,a,r.watchDeep)})}}function m(e,t,o){var n=e.expression||"model['"+t.key+"']";if(l.isFunction(n)){var r=n;n=function(){var t=h.apply(void 0,[e,o].concat(a.call(arguments)));return r.apply(void 0,i(t))},n.displayName="Formly Watch Expression for field for "+t.key}return n}function y(e,t,o){var n=e.listener;if(l.isFunction(n)){var r=n;n=function(){var t=h.apply(void 0,[e,o].concat(a.call(arguments)));return r.apply(void 0,i(t))},n.displayName="Formly Watch Listener for field for "+t.key}return n}function h(e,o){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i";var n=1===o.getElementsByTagName("i").length;if(n){var r=["formly-field","formly-form","formly-custom-validation","formly-focus","formly-transpose"];angular.forEach(r,function(e){t.createElement(e)})}}()}e.exports=n,n.$inject=["$document"]},function(e,t,o){"use strict";var n=function(e){return e&&e.__esModule?e.default:e},r=n(o(17));r.version||(r=window.angular),e.exports=r},function(t,o,n){t.exports=e},function(e,o,n){e.exports=t},function(e,t,o){"use strict";function n(e,t,o,n,r){return c.isFunction(t)?t(n,o,e,r):e.$eval(t,c.extend({$viewValue:n,$modelValue:o},r))}function r(e,t,o){if(t.id)return t.id;var n=t.type;return!n&&t.template?n="template":!n&&t.templateUrl&&(n="templateUrl"),[e,n,t.key,o].join("_")}function i(e){c.forEach(arguments,function(t,o){o&&c.forEach(t,function(t,o){c.isDefined(e[o])?a(e[o],t)&&i(e[o],t):e[o]=c.copy(t)})})}function a(e,t){return c.isObject(e)&&c.isObject(t)&&Object.getPrototypeOf(e)===Object.getPrototypeOf(t)}function l(e,t){if(e.prop||(e=c.element(e)),e.prop("nodeName")===t.toUpperCase())return e;for(var o=e.children(),n=0;o&&n0&&t;e.fc.$setValidity("required",o)}function o(){e.model[r.key]=[],angular.forEach(e.multiCheckbox.checked,function(t,o){t&&e.model[r.key].push(n.options[o][n.valueProp||"value"])}),e.fc.$setTouched(),t(!0)}var n=e.to,r=e.options;e.multiCheckbox={checked:[],change:o};var i=e.model[r.key];if(angular.isArray(i)&&!function(){var t=n.valueProp||"value";angular.forEach(n.options,function(o,n){e.multiCheckbox.checked[n]=i.indexOf(o[t])!==-1})}(),r.expressionProperties&&r.expressionProperties.required&&e.$watch(e.options.expressionProperties.required,function(e){t(e)}),e.to.required){e.$watch("fc",function(e){e&&t(!0)})}}]})}e.config(t),t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(t,o,n){t.exports=e},function(e,o,n){e.exports=t},function(e,t,o){"use strict";var n=o(8);n.version||(n=window.angular),e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var n=t;e.setWrapper([{name:"bootstrapLabel",template:o(17),apiCheck:{templateOptions:n.shape({label:n.string,required:n.bool.optional})},apiCheckInstance:n},{name:"bootstrapHasError",template:o(18)}])}e.config(t),t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o(10)(e),o(1)(e),o(12)(e),o(9)(e),o(13)(e),o(14)(e)},e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(15),i=n(r),a=o(16),l=n(a);t.default=function(e){(0,i.default)(e),(0,l.default)(e)},e.exports=t.default},function(e,t,n){e.exports=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var n=t;e.setType({name:"radio",template:o(19),wrapper:["bootstrapLabel","bootstrapHasError"],defaultOptions:{noFormControl:!1},apiCheck:{templateOptions:n.shape({options:n.arrayOf(n.object),labelProp:n.string.optional,valueProp:n.string.optional})},apiCheckInstance:n})}e.config(t),t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var n=t;e.setType({name:"checkbox",template:o(20),wrapper:["bootstrapHasError"],apiCheck:{templateOptions:n.shape({label:n.string})},apiCheckInstance:n})}e.config(t),t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="formlyBootstrap",r=o(4),i=r.module(n,[o(2)]);i.constant("formlyBootstrapApiCheck",o(3)({output:{prefix:"angular-formly-bootstrap"}})),i.constant("formlyBootstrapVersion","4.3.2"),o(5)(i),o(6)(i),o(7)(i),t.default=n,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e){e.setType({name:"input",template:'',wrapper:["bootstrapLabel","bootstrapHasError"]})}e.config(t),t.$inject=["formlyConfigProvider"]},e.exports=t.default},function(e,t,o){"use strict";function n(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var r=t;e.setType({name:"select",template:o,wrapper:["bootstrapLabel","bootstrapHasError"],defaultOptions:function(e){var t=e.templateOptions.ngOptions||"option[to.valueProp || 'value'] as option[to.labelProp || 'name'] group by option[to.groupProp || 'group'] for option in to.options";return{ngModelAttrs:n({},t,{value:"ng-options"})}},apiCheck:{templateOptions:r.shape({options:r.arrayOf(r.object),labelProp:r.string.optional,valueProp:r.string.optional,groupProp:r.string.optional})},apiCheckInstance:r})}e.config(t);var o='';t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var o=t;e.setType({name:"textarea",template:'',wrapper:["bootstrapLabel","bootstrapHasError"],defaultOptions:{ngModelAttrs:{rows:{attribute:"rows"},cols:{attribute:"cols"}}},apiCheck:{templateOptions:o.shape({rows:o.number.optional,cols:o.number.optional})},apiCheckInstance:o})}e.config(t),t.$inject=["formlyConfigProvider","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){var n=o(22),r=t.shape({class:t.string.optional,text:t.string.optional,onClick:t.func.optional}).strict.optional,i=t.shape({templateOptions:t.shape({addonLeft:r,addonRight:r})});e.templateManipulators.preWrapper.push(function(e,o){return o.templateOptions.addonLeft||o.templateOptions.addonRight?(t.warn([i],[o]),n.replace("",e)):e})}e.run(t),t.$inject=["formlyConfig","formlyBootstrapApiCheck"]},e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e){e.templateManipulators.preWrapper.push(function(e,t,o){if(angular.isDefined(t.templateOptions.description)){var n=document.createElement("div");n.appendChild(angular.element(e)[0]),n.appendChild(angular.element('

{{to.description}}

')[0]);var r=angular.element(n.querySelectorAll("[ng-model]"));return r&&r.attr("aria-describedby",o.id+"_description"),n.innerHTML}return e})}e.run(t),t.$inject=["formlyConfig"]},e.exports=t.default},function(e,t,o){e.exports="
\n \n \n
\n"},function(e,t,o){e.exports='
\n \n
\n'},function(e,t,o){e.exports='
\n
\n \n
\n
\n'},function(e,t,o){e.exports='
\n\t\n
\n'},function(e,t,o){e.exports='
\n
\n \n
\n
\n'},function(e,t,o){e.exports='
\n
\n \n {{to.addonLeft.text}}\n
\n \n
\n \n {{to.addonRight.text}}\n
\n
\n'}])})},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),i=n(r),a=o(12),l=n(a),s=o(13),p=n(s),u=o(16),c=n(u),f=o(18),d=n(f),m=[i.default.name,l.default.name,p.default.name],y="easyFormViewerVersion",h=d.default.formviewer.version,v="eda.easyFormViewer",g=angular.module(v,m).config(c.default).value(y,h);t.default=g},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(8),i=n(r),a=o(11),l=n(a),s="edaFormViewerMainModule";t.default=angular.module(s,[]).directive(r.EASY_FORM_VIEWER_DIRECTIVE_NAME,i.default).controller(a.EASY_FORM_VIEWER_CONTROLLER,l.default)},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e){function t(t){function o(){return t.vm.model}function n(){return t.edaEasyFormViewerEasyFormGeneratorFieldsModel}function r(){return t.edaEasyFormViewerSubmitButtonText}function i(){return t.edaEasyFormViewerCancelButtonText}function a(){return t.vm.hasJustSumitted}function s(){return t.vm.hasJustCancelled}function p(e){t.vm.fields=h(e)}function u(e,o){e!==o&&(t.vm.submitText=e||"Submit")}function c(e,o){e!==o&&(t.vm.cancelText=e||"Submit")}function f(e){t.edaEasyFormViewerDataModel=e}function d(e){if(e===!0&&angular.isFunction(t.edaEasyFormViewerSubmitFormEvent)){var o=t.vm.model;t.edaEasyFormViewerSubmitFormEvent({dataModelSubmitted:o})}t.vm.hasJustSumitted=!1}function m(e){e===!0&&angular.isFunction(t.edaEasyFormViewerCancelFormEvent)&&t.edaEasyFormViewerCancelFormEvent(),t.vm.hasJustCancelled=!1}function y(){var e=angular.isArray(t.edaEasyFormViewerEasyFormGeneratorFieldsModel)?h(t.edaEasyFormViewerEasyFormGeneratorFieldsModel):{};return e}function h(o){if(angular.isArray(o)){var n=(0,l.returnAttributeConfigurationLinesIfNotEmpty)(o),r=[];return t.configurationLoaded={},e.bindConfigurationLines(t.configurationLoaded,n),e.refreshControlFormlyExpressionProperties(t.configurationLoaded),e.refreshControlFormlyValidators(t.configurationLoaded),e.refreshControlFormlyValidation(t.configurationLoaded),t.configuration=angular.copy(t.configurationLoaded),e.applyConfigurationToformlyModel(t.configurationLoaded,r,t.vm.model),r}}t.vm.model={},t.vm.fields=y(),t.vm.submitText=t.edaEasyFormViewerSubmitButtonText||"Submit",t.vm.cancelText=t.edaEasyFormViewerCancelButtonText||"Cancel",t.$watch(n,p,!0),t.$watch(o,f,!0),t.$watch(r,u),t.$watch(i,c),t.$watch(a,d),t.$watch(s,m)}var o={restrict:"E",scope:{edaEasyFormViewerDataModel:"=?",edaEasyFormViewerEasyFormGeneratorFieldsModel:"=?",edaEasyFormViewerSubmitButtonText:"@?",edaEasyFormViewerCancelButtonText:"@?",edaEasyFormViewerSubmitFormEvent:"&?",edaEasyFormViewerCancelFormEvent:"&?"},replace:!1,controller:s.EASY_FORM_VIEWER_CONTROLLER,controllerAs:s.EASY_FORM_VIEWER_CONTROLLERAS,template:a.default,link:t};return o}Object.defineProperty(t,"__esModule",{value:!0}),t.EASY_FORM_VIEWER_DIRECTIVE_NAME=void 0;var i=o(9),a=n(i),l=o(10),s=o(11),p="edaEasyFormViewer";r.$inject=["$modelsTranslator"],t.default=r,t.EASY_FORM_VIEWER_DIRECTIVE_NAME=p},function(e,t){e.exports='
\n\t\n\t
\n\t\t \n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t
\t\t\t\t\t\t\n\n\t\t
\n\t
\n\n
'},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=[{line:1,activeColumn:1,columns:[{numColumn:1,exist:!0,control:{type:"none",key:"none"}}]}],n=function(){return angular.copy(o)},r=function(e){var t=angular.isArray(e.dataModel)&&e.dataModel.length>0?e.dataModel:[];return t},i=function(e){var t=angular.isArray(e)&&e.length>0?e:n();return t};t.emptyEdaFieldsModel=n,t.returnAttributeDataModelIfNotEmpty=r,t.returnAttributeConfigurationLinesIfNotEmpty=i},function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var o=0;o
";e.push({template:"undefined"!=typeof t.lines[o].columns[0].control.type&&"header"===t.lines[o].columns[0].control.type?n:"
"})},O=function(e,t,o){var n={className:"col-xs-12",type:"undefined"!=typeof t.lines[o].columns[0].control.type?"none"===t.lines[o].columns[0].control.type?"blank":t.lines[o].columns[0].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[0].control.key?t.lines[o].columns[0].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[0].control),label:f(t.lines[o].columns[0].control),required:v(t.lines[o].columns[0].control),placeholder:u(t.lines[o].columns[0].control),description:p(t.lines[o].columns[0].control),options:g(t.lines[o].columns[0].control)},expressionProperties:m(t.lines[o].columns[0].control),validators:y(t.lines[o].columns[0].control),validation:h(t.lines[o].columns[0].control)};"datepicker"===t.lines[o].columns[0].control.type&&b(n,t,o),e.push(n)},k=function(e,t,o){var n={className:"col-xs-6",template:'

'+p(t.lines[o].columns[0].control)+"


"},r={className:"col-xs-6",template:'

'+p(t.lines[o].columns[1].control)+"


"},i={className:"col-xs-6",type:"undefined"!=typeof t.lines[o].columns[0].control.type?"none"===t.lines[o].columns[0].control.type?"blank":t.lines[o].columns[0].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[0].control.key?t.lines[o].columns[0].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[0].control),label:f(t.lines[o].columns[0].control),required:v(t.lines[o].columns[0].control),placeholder:u(t.lines[o].columns[0].control),description:p(t.lines[o].columns[0].control),options:g(t.lines[o].columns[0].control)},expressionProperties:m(t.lines[o].columns[0].control),validators:y(t.lines[o].columns[0].control),validation:h(t.lines[o].columns[0].control)};"datepicker"===t.lines[o].columns[0].control.type&&b(i,t,o);var a={className:"col-xs-6",type:"undefined"!=typeof t.lines[o].columns[1].control.type?"none"===t.lines[o].columns[1].control.type?"blank":t.lines[o].columns[1].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[1].control.key?t.lines[o].columns[1].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[1].control),label:f(t.lines[o].columns[1].control),required:v(t.lines[o].columns[1].control),placeholder:u(t.lines[o].columns[1].control),description:p(t.lines[o].columns[1].control),options:g(t.lines[o].columns[1].control)},expressionProperties:m(t.lines[o].columns[1].control),validators:y(t.lines[o].columns[1].control),validation:h(t.lines[o].columns[1].control)};"datepicker"===t.lines[o].columns[1].control.type&&b(a,t,o);var l=[];"header"===t.lines[o].columns[0].control.type?l.push(n):l.push(i),"header"===t.lines[o].columns[1].control.type?l.push(r):l.push(a),e.push({className:"row",fieldGroup:l})},w=function(e,t,o){var n={className:"col-xs-4",template:'

'+p(t.lines[o].columns[0].control)+"


"},r={className:"col-xs-4",template:'

'+p(t.lines[o].columns[1].control)+"


"},i={className:"col-xs-4",template:'

'+p(t.lines[o].columns[2].control)+"


"},a={className:"col-xs-4",type:"undefined"!=typeof t.lines[o].columns[0].control.type?"none"===t.lines[o].columns[0].control.type?"blank":t.lines[o].columns[0].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[0].control.key?t.lines[o].columns[0].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[0].control),label:f(t.lines[o].columns[0].control),required:v(t.lines[o].columns[0].control),placeholder:u(t.lines[o].columns[0].control),description:p(t.lines[o].columns[0].control),options:g(t.lines[o].columns[0].control)},expressionProperties:m(t.lines[o].columns[0].control),validators:y(t.lines[o].columns[0].control),validation:h(t.lines[o].columns[0].control)};"datepicker"===t.lines[o].columns[0].control.type&&b(a,t,o);var l={className:"col-xs-4",type:"undefined"!=typeof t.lines[o].columns[1].control.type?"none"===t.lines[o].columns[1].control.type?"blank":t.lines[o].columns[1].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[1].control.key?t.lines[o].columns[1].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[1].control),label:f(t.lines[o].columns[1].control),required:v(t.lines[o].columns[1].control),placeholder:u(t.lines[o].columns[1].control),description:p(t.lines[o].columns[1].control),options:g(t.lines[o].columns[1].control)},expressionProperties:m(t.lines[o].columns[1].control),validators:y(t.lines[o].columns[1].control),validation:h(t.lines[o].columns[1].control)};"datepicker"===t.lines[o].columns[1].control.type&&b(l,t,o);var s={className:"col-xs-4",type:"undefined"!=typeof t.lines[o].columns[2].control.type?"none"===t.lines[o].columns[2].control.type?"blank":t.lines[o].columns[2].control.type:"blank",key:"undefined"!=typeof t.lines[o].columns[2].control.key?t.lines[o].columns[2].control.key:"blank"+Date.now(),templateOptions:{type:c(t.lines[o].columns[2].control),label:f(t.lines[o].columns[2].control),required:v(t.lines[o].columns[2].control),placeholder:u(t.lines[o].columns[2].control),description:p(t.lines[o].columns[2].control),options:g(t.lines[o].columns[2].control)},expressionProperties:m(t.lines[o].columns[2].control),validators:y(t.lines[o].columns[2].control),validation:h(t.lines[o].columns[2].control)};"datepicker"===t.lines[o].columns[2].control.type&&b(s,t,o);var d=[];"header"===t.lines[o].columns[0].control.type?d.push(n):d.push(a),"header"===t.lines[o].columns[1].control.type?d.push(r):d.push(l),"header"===t.lines[o].columns[2].control.type?d.push(i):d.push(s),e.push({className:"row",fieldGroup:d})};t.resetNyaSelect=o,t.getConfigurationModelInit=n,t.getEmptyConfigModelResult=r,t.resetDataModel=i,t.getErrorObject=a,t.getMessageObject=l,t.resetFormlyModel=s,t.addOneColumnHeader=x,t.addOneColumnControl=O,t.addTwoColumnControl=k,t.addThreeColumnControl=w},function(e,t,o){"use strict";function n(e){function t(e){return e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),e.replace(/^([A-Z])/,function(e,t){return t?t.toLowerCase():""})}e.setType({name:"richEditor",template:r.richTextTemplate,wrapper:["bootstrapLabel","bootstrapHasError"]}),e.setType({name:"blank",template:r.blankTemplate}),e.setType({name:"subTitle",template:r.subTitleTemplate}),e.setType({name:"basicSelect",template:r.basicSelectTemplate,wrapper:["bootstrapLabel","bootstrapHasError"]}),e.setType({name:"groupedSelect",template:r.groupedSelectTemplate,wrapper:["bootstrapLabel","bootstrapHasError"]});var o=["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=["datepicker-mode","min-date","max-date"],i={};angular.forEach(o,function(e){i[t(e)]={attribute:e}}),angular.forEach(n,function(e){i[t(e)]={bound:e}}),e.setType({name:"datepicker",template:r.datepickerTemplate,defaultOptions:{ngModelAttrs:i,templateOptions:{datepickerOptions:{format:"dd/MM/yyyy",initDate:new Date,showWeeks:!1}}},wrapper:["bootstrapLabel","bootstrapHasError"],controller:["$scope",function(e){e.datepicker={};var t=e.model[e.options.key];"string"==typeof t&&(e.model[e.options.key]=new Date(t)),e.datepicker.opened=!1,e.datepicker.open=function(t){t.preventDefault(),t.stopPropagation(),e.datepicker.opened=!e.datepicker.opened}}]}),e.setWrapper([{template:r.validationTemplate}])}Object.defineProperty(t,"__esModule",{value:!0});var r=o(17);n.$inject=["formlyConfigProvider"],t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o='\n\t\n\t',n="
",r='\n\t
\n\t\t
\n\t\t\t

\n\t\t\t{{options.templateOptions.placeholder}}\n\t\t\t


\n\t\t

\n\t
',i='\n\n\t
  • \n\t\t{{option.name}}\n\t
  • \n',a='\n\t
      \n\t\t
    1. \n\t\t\t{{$group}}\n\t\t\t\n\t\t\t\t{{option.name}}\n\t\t\t\t\n\t\t\t\n\t\t
    2. \n\t
    ',l='\n

    \n \n \n \n \n \n \n

    \n ',s='\n\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    ';t.richTextTemplate=o,t.blankTemplate=n,t.subTitleTemplate=r,t.basicSelectTemplate=i,t.groupedSelectTemplate=a,t.datepickerTemplate=l,t.validationTemplate=s},function(e,t){e.exports={stepway:{version:"2.0.0"},dragdropway:{version:"2.0.0"},formviewer:{version:"2.0.0"}}},function(e,t,o){var n=o(20);"string"==typeof n&&(n=[[e.id,n,""]]);o(22)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(21)(),t.push([e.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}',""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function l(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function p(e,t){var o,n,r;if(t.singleton){var i=g++;o=v||(v=l(t)),n=u.bind(null,o,i,!1),r=u.bind(null,o,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=s(t),n=f.bind(null,o),r=function(){a(o),o.href&&URL.revokeObjectURL(o.href)}):(o=l(t),n=c.bind(null,o),r=function(){a(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}function u(e,t,o,n){var r=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function f(e,t){var o=t.css,n=t.sourceMap;n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([o],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var d={},m=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},y=m(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=m(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=y()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var o=r(e);return n(o,t),function(e){for(var i=[],a=0;a