redux-form
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(12),u=n(o),i=r(28),a=r(13),s=n(a),c=s.default(!1,u.default,i.connect),f=c.actionTypes,l=c.blur,d=c.change,p=c.connectReduxForm,h=c.destroy,y=c.focus,v=c.reducer,m=c.reduxForm,g=c.initialize,b=c.initializeWithKey,_=c.reset,O=c.startAsyncValidation,S=c.startSubmit,T=c.stopAsyncValidation,x=c.stopSubmit,j=c.touch,A=c.untouch;e.actionTypes=f,e.blur=l,e.change=d,e.connectReduxForm=p,e.destroy=h,e.focus=y,e.reducer=v,e.reduxForm=m,e.initialize=g,e.initializeWithKey=b,e.reset=_,e.startAsyncValidation=O,e.startSubmit=S,e.stopAsyncValidation=T,e.stopSubmit=x,e.touch=j,e.untouch=A},function(t,e){"use strict";e.__esModule=!0;var r="redux-form/BLUR";e.BLUR=r;var n="redux-form/CHANGE";e.CHANGE=n;var o="redux-form/DESTROY";e.DESTROY=o;var u="redux-form/FOCUS";e.FOCUS=u;var i="redux-form/INITIALIZE";e.INITIALIZE=i;var a="redux-form/RESET";e.RESET=a;var s="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=s;var c="redux-form/START_SUBMIT";e.START_SUBMIT=c;var f="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=f;var l="redux-form/STOP_SUBMIT";e.STOP_SUBMIT=l;var d="redux-form/TOUCH";e.TOUCH=d;var p="redux-form/UNTOUCH";e.UNTOUCH=p},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,o){var u;return n({},r,(u={},u[o]=e(t[o],o),u))},{})}e.__esModule=!0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t,e){return{type:y.BLUR,field:t,value:e}}function o(t,e){return{type:y.CHANGE,field:t,value:e}}function u(){return{type:y.DESTROY}}function i(t){return{type:y.FOCUS,field:t}}function a(t){return{type:y.INITIALIZE,data:t}}function s(){return{type:y.RESET}}function c(){return{type:y.START_ASYNC_VALIDATION}}function f(){return{type:y.START_SUBMIT}}function l(t){return{type:y.STOP_ASYNC_VALIDATION,errors:t}}function d(t){return{type:y.STOP_SUBMIT,errors:t}}function p(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:y.TOUCH,fields:e}}function h(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:y.UNTOUCH,fields:e}}e.__esModule=!0,e.blur=n,e.change=o,e.destroy=u,e.focus=i,e.initialize=a,e.reset=s,e.startAsyncValidation=c,e.startSubmit=f,e.stopAsyncValidation=l,e.stopSubmit=d,e.touch=p,e.untouch=h;var y=r(1)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return"function"==typeof t?function(){return u({},t.apply(void 0,arguments),e)}:"object"==typeof t?a.default(t,function(t){return o(t,e)}):t}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var i=r(2),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function u(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=["asyncValidate","handleBlur","handleChange","handleFocus","handleSubmit","onBlur","onChange","onFocus"];return!~e.indexOf(t)}function c(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;r>o;o++)n[o-1]=arguments[o];return e&&e.preventDefault?(e.preventDefault(),e.stopPropagation(),t.apply(void 0,n)):t.apply(void 0,[e].concat(n))}}function f(t){return!t||Object.keys(t).reduce(function(e,r){return e&&O.default(t[r])},!0)}function l(t,e){function r(e,r){if(void 0!==e||!r)return"object"==typeof e&&e.value?e.value:e;if(!t&&void 0!==r.nativeEvent&&void 0!==r.nativeEvent.text)return r.nativeEvent.text;if(t&&void 0!==r.nativeEvent)return r.nativeEvent.text;if(void 0===r.target)return r;var n=r.target,o=n.type,u=n.value,i=n.checked,a=n.files,s=r.dataTransfer;return"checkbox"===o?i:"file"===o?a||s&&s.files:u}var n=e.Component,o=e.PropTypes;return function(t){var l=p({validate:function(){return{}},touchOnBlur:!0,touchOnChange:!1,readonly:!1,asyncValidate:null,asyncBlurFields:[]},t),h=l.form,v=l.fields,g=l.validate,_=l.readonly,S=l.touchOnBlur,j=l.touchOnChange,w=l.asyncValidate,P=l.asyncBlurFields;if(!v||!v.length)throw new Error('No fields passed to redux-form. Must be passed to connectReduxForm({fields: ["my", "field", "names"]})');var E=function(t){return _?Object.keys(t).reduce(function(e,r){var n;return s(r)?p({},e,(n={},n[r]=t[r],n)):e},{}):t};return function(t){return function(n){function s(t){var e=this;i(this,s),n.call(this,t),this.cache=A.default(this,{_actions:{params:["formName","formKey"],fn:function(t,e){return e?T.default(y,{form:t,key:e}):T.default(y,{form:t})}},_handleBlur:{params:["_actions","dispatch"],fn:function(t,n){return function(o,u){return function(i){var a=r(u,i),s=T.default(t.blur,{touch:S});if(n(s(o,a)),w&&~P.indexOf(o)){var c,f=e.getValues(),l=e.runSyncValidation(p({},f,(c={},c[o]=a,c)))[o];l||e.runAsyncValidation(t,f)}}}}},_handleFocus:{params:["_actions","dispatch"],fn:function(t,e){return function(r){return function(){return e(t.focus(r))}}}},_handleChange:{params:["_actions","dispatch"],fn:function(t,e){return function(n,o){var u=T.default(t.change,{touch:j});return o?e(u(n,r(o))):function(t){return e(u(n,r(o,t)))}}}},_fieldActions:{params:["_handleBlur","_handleChange","_handleFocus"],fn:function(t,e,r){return v.reduce(function(n,o){var u,i=t(o),a=e(o),s=r(o);return p({},n,(u={},u[o]=E({handleBlur:i,handleChange:a,handleFocus:s,name:o,onBlur:i,onChange:a,onDrop:function(t){a(t.dataTransfer.getData("value"))},onFocus:s,onUpdate:a}),u))},{})}}})}return a(s,n),d(s,null,[{key:"displayName",value:"ReduxForm("+m.default(t)+")",enumerable:!0},{key:"DecoratedComponent",value:t,enumerable:!0},{key:"propTypes",value:{formName:o.string,formKey:o.string,form:o.object,onSubmit:o.func,dispatch:o.func.isRequired,initialValues:o.object},enumerable:!0},{key:"defaultProps",value:{formName:h},enumerable:!0}]),s.prototype.componentWillMount=function(){var t=this.props,e=t.initialValues,r=t.dispatch;if(e){var n=this.cache._actions.initialize;r(n(e))}},s.prototype.runSyncValidation=function(t){return g(t,this.props)},s.prototype.runAsyncValidation=function(t,e){var r=this.props,n=r.dispatch,o=r.formKey;n(t.startAsyncValidation(o));var u=w(e,n);if(!u||"function"!=typeof u.then)throw new Error("asyncValidate function passed to reduxForm must return a promise!");var i=function(e){return n(t.stopAsyncValidation(e)),f(e)};return u.then(i,i)},s.prototype.getSubForm=function(){var t=this.props,e=t.formName,r=t.form,n=t.formKey;if(r&&r[e]){if(!n)return r[e];if(r[e][n])return r[e][n]}return x.initialState},s.prototype.getValues=function(){var t=this.getSubForm();return v.reduce(function(e,r){var n;return p({},e,(n={},n[r]=t[r]?t[r].value:void 0,n))},{})},s.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},s.prototype.render=function(){var r=this,n=this.props,o=n.formName,i=(n.form,n.formKey),a=n.dispatch,s=u(n,["formName","form","formKey","dispatch"]);if(!o)throw new Error('No form name given to redux-form. Must be passed to connectReduxForm({form: [form name]}) or as a "formName" prop');var l=this.cache,d=l._actions,h=l._fieldActions,y=l._handleBlur,m=l._handleChange,g=l._handleFocus,_=this.getSubForm(),S=!0,T=!0,x=function(t){var e=function(t){return function(e){e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation());var n=r.getValues(),o=r.runSyncValidation(n);if(!f(o)){var u=function(){var e=function(){var e=t(n);return e&&"function"==typeof e.then?(a(d.startSubmit()),e.then(function(t){return a(d.stopSubmit()),t},function(t){return a(d.stopSubmit(t)),t})):void 0};return a(d.touch.apply(d,v)),S?w?{v:r.runAsyncValidation(d,n).then(function(t){return S&&t?e(n):void 0})}:{v:e(n)}:void 0}();if("object"==typeof u)return u.v}}};if("function"==typeof t)return e(t);var n=r.props.onSubmit;if(!n)throw new Error("You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop");e(n)(t)},j=this.getValues(),A=this.runSyncValidation(j),P=v.reduce(function(t,e){var r,n=_[e]||{},o=b.default(n.value,n.initial),u=A[e]||n.asyncError||n.submitError,i=O.default(u),a=s.initialValues&&s.initialValues[e];return i||(S=!1),o||(T=!1),p({},t,(r={},r[e]=E(p({active:_._active===e,checked:"boolean"==typeof n.value?n.value:void 0,defaultChecked:a,defaultValue:a,dirty:!o,error:u},h[e],{invalid:!i,name:e,onDrag:function(t){return t.dataTransfer.setData("value",n.value)},pristine:o,touched:n.touched,valid:i,value:n.value,visited:n.visited})),r))},{}),I=A._error||_._error;return I&&(S=!1),e.createElement(t,p({active:_._active,asyncValidating:_._asyncValidating,dirty:!T,error:I,fields:P,formKey:i,invalid:!S,pristine:T,submitting:_._submitting,valid:S,values:j,asyncValidate:c(function(){return r.runAsyncValidation(d,j)}),destroyForm:c(function(){return a(d.destroy())}),handleBlur:c(y),handleChange:c(m),handleFocus:g,handleSubmit:c(x),initializeForm:c(function(t){return a(d.initialize(t))}),resetForm:c(function(){return a(d.reset())}),touch:c(function(){return a(d.touch.apply(d,arguments))}),touchAll:c(function(){return a(d.touch.apply(d,v))}),untouch:c(function(){return a(d.untouch.apply(d,arguments))}),untouchAll:c(function(){return a(d.untouch.apply(d,v))}),dispatch:a},s))},s}(n)}}}e.__esModule=!0;var d=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=l;var h=r(3),y=o(h),v=r(15),m=n(v),g=r(16),b=n(g),_=r(17),O=n(_),S=r(4),T=n(S),x=r(6),j=r(23),A=n(j);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function u(){var t,e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=r.form,u=r.key,i=o(r,["form","key"]);if(!n)return e;if(u){var c,f;if(r.type===s.DESTROY){var l;return a({},e,(l={},l[n]=Object.keys(e[n]).reduce(function(t,r){var o;return r===u?t:a({},t,(o={},o[r]=e[n][r],o))},{}),l))}return a({},e,(f={},f[n]=a({},e[n],(c={},c[u]=p((e[n]||{})[u],i),c)),f))}return r.type===s.DESTROY?Object.keys(e).reduce(function(t,r){var o;return r===n?t:a({},t,(o={},o[r]=e[r],o))},{}):a({},e,(t={},t[n]=p(e[n],i),t))}function i(t){return t.plugin=function(t){var e=this;return i(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e(r,n);return a({},o,f.default(t,function(t,e){return t(o[e]||l,n)}))})},t.normalize=function(t){var e=this;return i(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e(r,n);return a({},o,f.default(t,function(t,e){var n=a({},l,o[e]);return a({},n,f.default(t,function(t,o){return a({},n[o],{value:t(n[o]?n[o].value:void 0,r[e]&&r[e][o]?r[e][o].value:void 0,d(n))})}))}))})},t}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s=r(1),c=r(2),f=n(c),l={_active:void 0,_asyncValidating:!1,_error:void 0,_submitting:!1};e.initialState=l;var d=function(t){return Object.keys(t).reduce(function(e,r){var n;return"_"===r[0]?e:a({},e,(n={},n[r]=t[r].value,n))},{})},p=function(){var t,e,r,n=arguments.length<=0||void 0===arguments[0]?l:arguments[0],o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(o.type){case s.BLUR:return a({},n,(t={},t[o.field]=a({},n[o.field],{value:void 0===o.value?(n[o.field]||{}).value:o.value,touched:!(!o.touch&&!(n[o.field]||{}).touched)}),t._active=void 0,t));case s.CHANGE:return a({},n,(e={},e[o.field]=a({},n[o.field],{value:o.value,touched:!(!o.touch&&!(n[o.field]||{}).touched),asyncError:null,submitError:null}),e._error=void 0,e));case s.DESTROY:return void 0;case s.FOCUS:return a({},n,(r={},r[o.field]=a({},n[o.field],{visited:!0}),r._active=o.field,r));case s.INITIALIZE:return a({},f.default(o.data,function(t){return{initial:t,value:t}}),{_asyncValidating:!1,_active:void 0,_error:void 0,_submitting:!1});case s.RESET:return a({},f.default(n,function(t,e){return"_"===e[0]?t:{initial:t.initial,value:t.initial}}),{_active:void 0,_asyncValidating:!1,_error:void 0,_submitting:!1});case s.START_ASYNC_VALIDATION:return a({},n,{_asyncValidating:!0});case s.START_SUBMIT:return a({},n,{_submitting:!0});case s.STOP_ASYNC_VALIDATION:return a({},n,f.default(o.errors,function(t,e){return a({},n[e],{asyncError:t})}),{_asyncValidating:!1,_error:o.errors._error});case s.STOP_SUBMIT:return a({},n,o.errors?f.default(o.errors,function(t,e){return a({},n[e],{submitError:t})}):{},{_error:o.errors&&o.errors._error,_submitting:!1});case s.TOUCH:return a({},n,o.fields.reduce(function(t,e){var r;return a({},t,(r={},r[e]=a({},n[e],{touched:!0}),r))},{}));case s.UNTOUCH:return a({},n,o.fields.reduce(function(t,e){var r;return a({},t,(r={},r[e]=a({},n[e],{touched:!1}),r))},{}));default:return n}};e.default=i(u)},function(t,e){"use strict";function r(t){return t.shape({subscribe:t.func.isRequired,dispatch:t.func.isRequired,getState:t.func.isRequired})}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){function r(){return c}function n(t){return f.push(t),function(){var e=f.indexOf(t);f.splice(e,1)}}function o(t){if(!i.default(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,c=s(c,t)}finally{l=!1}return f.slice().forEach(function(t){return t()}),t}function u(t){s=t,o({type:a.INIT})}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var s=t,c=e,f=[],l=!1;return o({type:a.INIT}),{dispatch:o,subscribe:n,getState:r,replaceReducer:u}}e.__esModule=!0,e.default=o;var u=r(10),i=n(u),a={INIT:"@@redux/INIT"};e.ActionTypes=a},function(t,e){"use strict";function r(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t){if(!t||"object"!=typeof t)return!1;var e="function"==typeof t.constructor?Object.getPrototypeOf(t):Object.prototype;if(null===e)return!0;var r=e.constructor;return"function"==typeof r&&r instanceof r&&n(r)===n(Object)}e.__esModule=!0,e.default=r;var n=function(t){return Function.prototype.toString.call(t)};t.exports=e.default},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,n){return r[n]=e(t[n],n),r},{})}e.__esModule=!0,e.default=r,t.exports=e.default},function(e,r){e.exports=t},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function u(t,e,r){return{actionTypes:_,blur:S,change:T,connectReduxForm:d.default(t,e,r),destroy:x,focus:j,reducer:s.default,initialize:A,initializeWithKey:w,reduxForm:f.default(t,e),reset:P,startAsyncValidation:E,startSubmit:I,stopAsyncValidation:M,stopSubmit:C,touch:N,untouch:R}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=u;var a=r(6),s=o(a),c=r(5),f=o(c),l=r(14),d=o(l),p=r(2),h=o(p),y=r(4),v=o(y),m=r(3),g=n(m),b=r(1),_=n(b),O=i({},h.default(i({},g,{initializeWithKey:function(t,e){return v.default(g.initialize,{key:t})(e)},destroy:function(t){return v.default(g.destroy,{key:t})()}}),function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;r>o;o++)n[o-1]=arguments[o];return v.default(t,{form:e}).apply(void 0,n)}})),S=O.blur,T=O.change,x=O.destroy,j=O.focus,A=O.initialize,w=O.initializeWithKey,P=O.reset,E=O.startAsyncValidation,I=O.startSubmit,M=O.stopAsyncValidation,C=O.stopSubmit,N=O.touch,R=O.untouch;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}}function u(t,e,r){var n=a.default(t,e),u=r(function(t){return{form:t.form}});return function(){return o(n.apply(void 0,arguments),u)}}e.__esModule=!0,e.default=u;var i=r(5),a=n(i);t.exports=e.default},function(t,e){"use strict";function r(t){return t.displayName||t.name||"Component"}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;if(t&&"object"==typeof t){if(!e||"object"!=typeof e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var u=0;u<o.length;u++){var i=o[u];if(!r(t[i],e[i]))return!1}}else if(t||e)return t===e;return!0}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t){return Array.isArray(t)?t.reduce(function(t,e){return t&&r(e)},!0):!t}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){function n(t){return null===t||void 0===t}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length?"function"!=typeof t.copy||"function"!=typeof t.slice?!1:t.length>0&&"number"!=typeof t[0]?!1:!0:!1}function u(t,e,r){var u,f;if(n(t)||n(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return s(e)?(t=i.call(t),e=i.call(e),c(t,e,r)):!1;if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var l=a(t),d=a(e)}catch(p){return!1}if(l.length!=d.length)return!1;for(l.sort(),d.sort(),u=l.length-1;u>=0;u--)if(l[u]!=d[u])return!1;for(u=l.length-1;u>=0;u--)if(f=l[u],!c(t[f],e[f],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(20),s=r(19),c=t.exports=function(t,e,r){return r||(r={}),t===e?!0:t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:u(t,e,r)}},function(t,e){function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function n(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=o?r:n,e.supported=r,e.unsupported=n},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}e=t.exports="function"==typeof Object.keys?Object.keys:r,e.shim=r},function(t,e){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0};t.exports=function(t,e){for(var o=Object.getOwnPropertyNames(e),u=0;u<o.length;++u)r[o[u]]||n[o[u]]||(t[o[u]]=e[o[u]]);return t}},function(t,e,r){"use strict";var n=function(t,e,r,n,o,u,i,a){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,u,i,a],f=0;s=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return c[f++]}))}throw s.framesToPop=1,s}};t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(24),u=n(o);e.default=u.default,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r=[],n={},o={},u=function a(t){Object.keys(n).forEach(function(e){~n[e].props.indexOf(t)&&(delete n[e].value,a(e))})};return Object.keys(e).forEach(function(u){var i=e[u].fn,a=e[u].params;a.forEach(function(t){~r.indexOf(t)||r.push(t)}),n[u]={props:a},Object.defineProperty(o,u,{get:function(){var e=n[u];if(e&&void 0!==e.value)return e.value;var r=a.map(function(e){return t.props[e]||o[e]}),s=i.apply(void 0,r);return n[u]={props:a,value:s},s}})}),o.componentWillReceiveProps=function(e){var n=[];r.forEach(function(r){i.default(t.props[r],e[r])||n.push(r)}),n.forEach(u)},o}e.__esModule=!0,e.default=o;var u=r(18),i=n(u);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=i.default(t),r=s.default(t);return{Provider:e,connect:r}}e.__esModule=!0,e.default=o;var u=r(27),i=n(u),a=r(26),s=n(a);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){return t.displayName||t.name||"Component"}function a(t){var e=t.Component,r=t.PropTypes,n=f.default(r);return function(r,a,c){function f(t,e){var r=t.getState(),n=w?b(r,e):b(r);return _.default(h.default(n),"`mapStateToProps` must return an object. Instead received %s.",n),n}function l(t,e){var r=t.dispatch,n=P?j(r,e):j(r);return _.default(h.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=A(t,e,r);return _.default(h.default(n),"`mergeProps` must return an object. Instead received %s.",n),n}var y=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],m=Boolean(r),b=r||O,j=h.default(a)?v.default(a):a||S,A=c||T,w=b.length>1,P=j.length>1,E=y.pure,I=void 0===E?!0:E,M=x++;return function(r){var a=function(e){function n(t,r){o(this,n),e.call(this,t,r),this.version=M,this.store=t.store||r.store,_.default(this.store,'Could not find "store" in either the context or '+('props of "'+this.constructor.displayName+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+this.constructor.displayName+'".')),this.stateProps=f(this.store,t),this.dispatchProps=l(this.store,t),this.state={storeState:null},this.updateState()}return u(n,e),n.prototype.shouldComponentUpdate=function(t,e){if(!I)return this.updateStateProps(t),this.updateDispatchProps(t),this.updateState(t),!0;var r=e.storeState!==this.state.storeState,n=!d.default(t,this.props),o=!1,u=!1;return(r||n&&w)&&(o=this.updateStateProps(t)),n&&P&&(u=this.updateDispatchProps(t)),n||o||u?(this.updateState(t),!0):!1},n.prototype.computeNextState=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];return p(this.stateProps,this.dispatchProps,t)},n.prototype.updateStateProps=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],e=f(this.store,t);return d.default(e,this.stateProps)?!1:(this.stateProps=e,!0)},n.prototype.updateDispatchProps=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],e=l(this.store,t);return d.default(e,this.dispatchProps)?!1:(this.dispatchProps=e,!0)},n.prototype.updateState=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];this.nextState=this.computeNextState(t)},n.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},n.prototype.trySubscribe=function(){m&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},n.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},n.prototype.componentDidMount=function(){this.trySubscribe()},n.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},n.prototype.handleChange=function(){this.unsubscribe&&this.setState({storeState:this.store.getState()})},n.prototype.getWrappedInstance=function(){return this.refs.wrappedInstance},n.prototype.render=function(){return t.createElement(r,s({ref:"wrappedInstance"},this.nextState))},n}(e);return a.displayName="Connect("+i(r)+")",a.WrappedComponent=r,a.contextTypes={store:n},a.propTypes={store:n},g.default(a,r)}}}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=a;var c=r(7),f=n(c),l=r(30),d=n(l),p=r(29),h=n(p),y=r(31),v=n(y),m=r(21),g=n(m),b=r(22),_=n(b),O=function(){return{}},S=function(t){return{dispatch:t}},T=function(t,e,r){return s({},r,t,e)},x=0;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){var e=t.version;if("string"!=typeof e)return!0;var r=e.split("."),n=parseInt(r[0],10),o=parseInt(r[1],10);return 0===n&&13===o}function a(t){function e(){p||d||(p=!0,console.error("With React 0.14 and later versions, you no longer need to wrap <Provider> child into a function."))}function r(){!p&&d&&(p=!0,console.error("With React 0.13, you need to wrap <Provider> child into a function. This restriction will be removed with React 0.14."))}function n(){h||(h=!0,console.error("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/rackt/react-redux/releases/tag/v2.0.0 for the migration instructions."))}var a=t.Component,s=t.PropTypes,f=t.Children,l=c.default(s),d=i(t),p=!1,h=!1,y=function(t){function i(e,r){o(this,i),t.call(this,e,r),this.store=e.store}return u(i,t),i.prototype.getChildContext=function(){return{store:this.store}},i.prototype.componentWillReceiveProps=function(t){var e=this.store,r=t.store;e!==r&&n()},i.prototype.render=function(){var t=this.props.children;return"function"==typeof t?(e(),t=t()):r(),f.only(t)},i}(a);return y.childContextTypes={store:l.isRequired},y.propTypes={store:l.isRequired,children:(d?s.func:s.element).isRequired},y}e.__esModule=!0,e.default=a;var s=r(7),c=n(s);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(12),u=n(o),i=r(25),a=n(i),s=a.default(u.default),c=s.Provider,f=s.connect;e.Provider=c,e.connect=f},function(t,e){"use strict";function r(t){if(!t||"object"!=typeof t)return!1;var e="function"==typeof t.constructor?Object.getPrototypeOf(t):Object.prototype;if(null===e)return!0;var r=e.constructor;return"function"==typeof r&&r instanceof r&&n(r)===n(Object)}e.__esModule=!0,e.default=r;var n=function(t){return Function.prototype.toString.call(t)};t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,u=0;u<r.length;u++)if(!o.call(e,r[u])||t[r[u]]!==e[r[u]])return!1;return!0}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return function(e){return o.bindActionCreators(t,e)}}e.__esModule=!0,e.default=n;var o=r(32);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(8),u=n(o),i=r(35),a=n(i),s=r(34),c=n(s),f=r(33),l=n(f),d=r(9),p=n(d);e.createStore=u.default,e.combineReducers=a.default,e.bindActionCreators=c.default,e.applyMiddleware=l.default,e.compose=p.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return function(r,n){var o=t(r,n),i=o.dispatch,s=[],c={getState:o.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(c)}),i=a.default.apply(void 0,s)(o.dispatch),u({},o,{dispatch:i})}}}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var i=r(9),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return function(){return e(t.apply(void 0,arguments))}}function u(t,e){if("function"==typeof t)return o(t,e);if("object"!=typeof t||null===t||void 0===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');return a.default(t,function(t){return o(t,e)})}e.__esModule=!0,e.default=u;var i=r(11),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return'Reducer "'+t+'" returned undefined handling '+n+". To ignore an action, you must explicitly return the previous state."}function u(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:a.ActionTypes.INIT});if("undefined"==typeof n)throw new Error('Reducer "'+e+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:o}))throw new Error('Reducer "'+e+'" returned undefined when probed with a random type. '+("Don't try to handle "+a.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(t){ | ||
var e,r=d.default(t,function(t){return"function"==typeof t});try{u(r)}catch(n){e=n}var i=f.default(r,function(){return void 0});return function(t,n){if(void 0===t&&(t=i),e)throw e;var u=f.default(r,function(e,r){var u=e(t[r],n);if("undefined"==typeof u){var i=o(r,n);throw new Error(i)}return u});return u}}e.__esModule=!0,e.default=i;var a=r(8),s=r(10),c=(n(s),r(11)),f=n(c),l=r(36),d=n(l);t.exports=e.default},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,n){return e(t[n])&&(r[n]=t[n]),r},{})}e.__esModule=!0,e.default=r,t.exports=e.default}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(12),u=n(o),i=r(28),a=r(13),s=n(a),c=s.default(!1,u.default,i.connect),f=c.actionTypes,l=c.blur,d=c.change,p=c.connectReduxForm,h=c.destroy,y=c.focus,v=c.reducer,m=c.reduxForm,g=c.initialize,b=c.initializeWithKey,_=c.reset,O=c.startAsyncValidation,S=c.startSubmit,T=c.stopAsyncValidation,x=c.stopSubmit,j=c.touch,A=c.untouch;e.actionTypes=f,e.blur=l,e.change=d,e.connectReduxForm=p,e.destroy=h,e.focus=y,e.reducer=v,e.reduxForm=m,e.initialize=g,e.initializeWithKey=b,e.reset=_,e.startAsyncValidation=O,e.startSubmit=S,e.stopAsyncValidation=T,e.stopSubmit=x,e.touch=j,e.untouch=A},function(t,e){"use strict";e.__esModule=!0;var r="redux-form/BLUR";e.BLUR=r;var n="redux-form/CHANGE";e.CHANGE=n;var o="redux-form/DESTROY";e.DESTROY=o;var u="redux-form/FOCUS";e.FOCUS=u;var i="redux-form/INITIALIZE";e.INITIALIZE=i;var a="redux-form/RESET";e.RESET=a;var s="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=s;var c="redux-form/START_SUBMIT";e.START_SUBMIT=c;var f="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=f;var l="redux-form/STOP_SUBMIT";e.STOP_SUBMIT=l;var d="redux-form/TOUCH";e.TOUCH=d;var p="redux-form/UNTOUCH";e.UNTOUCH=p},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,o){var u;return n({},r,(u={},u[o]=e(t[o],o),u))},{})}e.__esModule=!0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t,e){return{type:y.BLUR,field:t,value:e}}function o(t,e){return{type:y.CHANGE,field:t,value:e}}function u(){return{type:y.DESTROY}}function i(t){return{type:y.FOCUS,field:t}}function a(t){return{type:y.INITIALIZE,data:t}}function s(){return{type:y.RESET}}function c(){return{type:y.START_ASYNC_VALIDATION}}function f(){return{type:y.START_SUBMIT}}function l(t){return{type:y.STOP_ASYNC_VALIDATION,errors:t}}function d(t){return{type:y.STOP_SUBMIT,errors:t}}function p(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:y.TOUCH,fields:e}}function h(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:y.UNTOUCH,fields:e}}e.__esModule=!0,e.blur=n,e.change=o,e.destroy=u,e.focus=i,e.initialize=a,e.reset=s,e.startAsyncValidation=c,e.startSubmit=f,e.stopAsyncValidation=l,e.stopSubmit=d,e.touch=p,e.untouch=h;var y=r(1)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return"function"==typeof t?function(){return u({},t.apply(void 0,arguments),e)}:"object"==typeof t?a.default(t,function(t){return o(t,e)}):t}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var i=r(2),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function u(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=["asyncValidate","handleBlur","handleChange","handleFocus","handleSubmit","onBlur","onChange","onFocus"];return!~e.indexOf(t)}function c(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;r>o;o++)n[o-1]=arguments[o];return e&&e.preventDefault?(e.preventDefault(),t.apply(void 0,n)):t.apply(void 0,[e].concat(n))}}function f(t){return!t||Object.keys(t).reduce(function(e,r){return e&&O.default(t[r])},!0)}function l(t,e){function r(e,r){if(void 0!==e||!r)return"object"==typeof e&&e.value?e.value:e;if(!t&&void 0!==r.nativeEvent&&void 0!==r.nativeEvent.text)return r.nativeEvent.text;if(t&&void 0!==r.nativeEvent)return r.nativeEvent.text;if(void 0===r.target)return r;var n=r.target,o=n.type,u=n.value,i=n.checked,a=n.files,s=r.dataTransfer;return"checkbox"===o?i:"file"===o?a||s&&s.files:u}var n=e.Component,o=e.PropTypes;return function(t){var l=p({validate:function(){return{}},touchOnBlur:!0,touchOnChange:!1,readonly:!1,asyncValidate:null,asyncBlurFields:[]},t),h=l.form,v=l.fields,g=l.validate,_=l.readonly,S=l.touchOnBlur,j=l.touchOnChange,w=l.asyncValidate,P=l.asyncBlurFields;if(!v||!v.length)throw new Error('No fields passed to redux-form. Must be passed to connectReduxForm({fields: ["my", "field", "names"]})');var E=function(t){return _?Object.keys(t).reduce(function(e,r){var n;return s(r)?p({},e,(n={},n[r]=t[r],n)):e},{}):t};return function(t){return function(n){function s(t){var e=this;i(this,s),n.call(this,t),this.cache=A.default(this,{_actions:{params:["formName","formKey"],fn:function(t,e){return e?T.default(y,{form:t,key:e}):T.default(y,{form:t})}},_handleBlur:{params:["_actions","dispatch"],fn:function(t,n){return function(o,u){return function(i){var a=r(u,i),s=T.default(t.blur,{touch:S});if(n(s(o,a)),w&&~P.indexOf(o)){var c,f=e.getValues(),l=e.runSyncValidation(p({},f,(c={},c[o]=a,c)))[o];l||e.runAsyncValidation(t,f)}}}}},_handleFocus:{params:["_actions","dispatch"],fn:function(t,e){return function(r){return function(){return e(t.focus(r))}}}},_handleChange:{params:["_actions","dispatch"],fn:function(t,e){return function(n,o){var u=T.default(t.change,{touch:j});return o?e(u(n,r(o))):function(t){return e(u(n,r(o,t)))}}}},_fieldActions:{params:["_handleBlur","_handleChange","_handleFocus"],fn:function(t,e,r){return v.reduce(function(n,o){var u,i=t(o),a=e(o),s=r(o);return p({},n,(u={},u[o]=E({handleBlur:i,handleChange:a,handleFocus:s,name:o,onBlur:i,onChange:a,onDrop:function(t){a(t.dataTransfer.getData("value"))},onFocus:s,onUpdate:a}),u))},{})}}})}return a(s,n),d(s,null,[{key:"displayName",value:"ReduxForm("+m.default(t)+")",enumerable:!0},{key:"DecoratedComponent",value:t,enumerable:!0},{key:"propTypes",value:{formName:o.string,formKey:o.string,form:o.object,onSubmit:o.func,dispatch:o.func.isRequired,initialValues:o.object},enumerable:!0},{key:"defaultProps",value:{formName:h},enumerable:!0}]),s.prototype.componentWillMount=function(){var t=this.props,e=t.initialValues,r=t.dispatch;if(e){var n=this.cache._actions.initialize;r(n(e))}},s.prototype.runSyncValidation=function(t){return g(t,this.props)},s.prototype.runAsyncValidation=function(t,e){var r=this.props,n=r.dispatch,o=r.formKey;n(t.startAsyncValidation(o));var u=w(e,n);if(!u||"function"!=typeof u.then)throw new Error("asyncValidate function passed to reduxForm must return a promise!");var i=function(e){return n(t.stopAsyncValidation(e)),f(e)};return u.then(i,i)},s.prototype.getSubForm=function(){var t=this.props,e=t.formName,r=t.form,n=t.formKey;if(r&&r[e]){if(!n)return r[e];if(r[e][n])return r[e][n]}return x.initialState},s.prototype.getValues=function(){var t=this.getSubForm();return v.reduce(function(e,r){var n;return p({},e,(n={},n[r]=t[r]?t[r].value:void 0,n))},{})},s.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},s.prototype.render=function(){var r=this,n=this.props,o=n.formName,i=(n.form,n.formKey),a=n.dispatch,s=u(n,["formName","form","formKey","dispatch"]);if(!o)throw new Error('No form name given to redux-form. Must be passed to connectReduxForm({form: [form name]}) or as a "formName" prop');var l=this.cache,d=l._actions,h=l._fieldActions,y=l._handleBlur,m=l._handleChange,g=l._handleFocus,_=this.getSubForm(),S=!0,T=!0,x=function(t){var e=function(t){return function(e){e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation());var n=r.getValues(),o=r.runSyncValidation(n);if(!f(o)){var u=function(){var e=function(){var e=t(n);return e&&"function"==typeof e.then?(a(d.startSubmit()),e.then(function(t){return a(d.stopSubmit()),t},function(t){return a(d.stopSubmit(t)),t})):void 0};return a(d.touch.apply(d,v)),S?w?{v:r.runAsyncValidation(d,n).then(function(t){return S&&t?e(n):void 0})}:{v:e(n)}:void 0}();if("object"==typeof u)return u.v}}};if("function"==typeof t)return e(t);var n=r.props.onSubmit;if(!n)throw new Error("You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop");e(n)(t)},j=this.getValues(),A=this.runSyncValidation(j),P=v.reduce(function(t,e){var r,n=_[e]||{},o=b.default(n.value,n.initial),u=A[e]||n.asyncError||n.submitError,i=O.default(u),a=s.initialValues&&s.initialValues[e];return i||(S=!1),o||(T=!1),p({},t,(r={},r[e]=E(p({active:_._active===e,checked:"boolean"==typeof n.value?n.value:void 0,defaultChecked:a,defaultValue:a,dirty:!o,error:u},h[e],{invalid:!i,name:e,onDrag:function(t){return t.dataTransfer.setData("value",n.value)},pristine:o,touched:n.touched,valid:i,value:n.value,visited:n.visited})),r))},{}),I=A._error||_._error;return I&&(S=!1),e.createElement(t,p({active:_._active,asyncValidating:_._asyncValidating,dirty:!T,error:I,fields:P,formKey:i,invalid:!S,pristine:T,submitting:_._submitting,valid:S,values:j,asyncValidate:c(function(){return r.runAsyncValidation(d,j)}),destroyForm:c(function(){return a(d.destroy())}),handleBlur:c(y),handleChange:c(m),handleFocus:g,handleSubmit:c(x),initializeForm:c(function(t){return a(d.initialize(t))}),resetForm:c(function(){return a(d.reset())}),touch:c(function(){return a(d.touch.apply(d,arguments))}),touchAll:c(function(){return a(d.touch.apply(d,v))}),untouch:c(function(){return a(d.untouch.apply(d,arguments))}),untouchAll:c(function(){return a(d.untouch.apply(d,v))}),dispatch:a},s))},s}(n)}}}e.__esModule=!0;var d=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=l;var h=r(3),y=o(h),v=r(15),m=n(v),g=r(16),b=n(g),_=r(17),O=n(_),S=r(4),T=n(S),x=r(6),j=r(23),A=n(j);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function u(){var t,e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=r.form,u=r.key,i=o(r,["form","key"]);if(!n)return e;if(u){var c,f;if(r.type===s.DESTROY){var l;return a({},e,(l={},l[n]=Object.keys(e[n]).reduce(function(t,r){var o;return r===u?t:a({},t,(o={},o[r]=e[n][r],o))},{}),l))}return a({},e,(f={},f[n]=a({},e[n],(c={},c[u]=p((e[n]||{})[u],i),c)),f))}return r.type===s.DESTROY?Object.keys(e).reduce(function(t,r){var o;return r===n?t:a({},t,(o={},o[r]=e[r],o))},{}):a({},e,(t={},t[n]=p(e[n],i),t))}function i(t){return t.plugin=function(t){var e=this;return i(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e(r,n);return a({},o,f.default(t,function(t,e){return t(o[e]||l,n)}))})},t.normalize=function(t){var e=this;return i(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e(r,n);return a({},o,f.default(t,function(t,e){var n=a({},l,o[e]);return a({},n,f.default(t,function(t,o){return a({},n[o],{value:t(n[o]?n[o].value:void 0,r[e]&&r[e][o]?r[e][o].value:void 0,d(n))})}))}))})},t}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s=r(1),c=r(2),f=n(c),l={_active:void 0,_asyncValidating:!1,_error:void 0,_submitting:!1};e.initialState=l;var d=function(t){return Object.keys(t).reduce(function(e,r){var n;return"_"===r[0]?e:a({},e,(n={},n[r]=t[r].value,n))},{})},p=function(){var t,e,r,n=arguments.length<=0||void 0===arguments[0]?l:arguments[0],o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(o.type){case s.BLUR:return a({},n,(t={},t[o.field]=a({},n[o.field],{value:void 0===o.value?(n[o.field]||{}).value:o.value,touched:!(!o.touch&&!(n[o.field]||{}).touched)}),t._active=void 0,t));case s.CHANGE:return a({},n,(e={},e[o.field]=a({},n[o.field],{value:o.value,touched:!(!o.touch&&!(n[o.field]||{}).touched),asyncError:null,submitError:null}),e._error=void 0,e));case s.DESTROY:return void 0;case s.FOCUS:return a({},n,(r={},r[o.field]=a({},n[o.field],{visited:!0}),r._active=o.field,r));case s.INITIALIZE:return a({},f.default(o.data,function(t){return{initial:t,value:t}}),{_asyncValidating:!1,_active:void 0,_error:void 0,_submitting:!1});case s.RESET:return a({},f.default(n,function(t,e){return"_"===e[0]?t:{initial:t.initial,value:t.initial}}),{_active:void 0,_asyncValidating:!1,_error:void 0,_submitting:!1});case s.START_ASYNC_VALIDATION:return a({},n,{_asyncValidating:!0});case s.START_SUBMIT:return a({},n,{_submitting:!0});case s.STOP_ASYNC_VALIDATION:return a({},n,f.default(o.errors,function(t,e){return a({},n[e],{asyncError:t})}),{_asyncValidating:!1,_error:o.errors._error});case s.STOP_SUBMIT:return a({},n,o.errors?f.default(o.errors,function(t,e){return a({},n[e],{submitError:t})}):{},{_error:o.errors&&o.errors._error,_submitting:!1});case s.TOUCH:return a({},n,o.fields.reduce(function(t,e){var r;return a({},t,(r={},r[e]=a({},n[e],{touched:!0}),r))},{}));case s.UNTOUCH:return a({},n,o.fields.reduce(function(t,e){var r;return a({},t,(r={},r[e]=a({},n[e],{touched:!1}),r))},{}));default:return n}};e.default=i(u)},function(t,e){"use strict";function r(t){return t.shape({subscribe:t.func.isRequired,dispatch:t.func.isRequired,getState:t.func.isRequired})}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){function r(){return c}function n(t){return f.push(t),function(){var e=f.indexOf(t);f.splice(e,1)}}function o(t){if(!i.default(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,c=s(c,t)}finally{l=!1}return f.slice().forEach(function(t){return t()}),t}function u(t){s=t,o({type:a.INIT})}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var s=t,c=e,f=[],l=!1;return o({type:a.INIT}),{dispatch:o,subscribe:n,getState:r,replaceReducer:u}}e.__esModule=!0,e.default=o;var u=r(10),i=n(u),a={INIT:"@@redux/INIT"};e.ActionTypes=a},function(t,e){"use strict";function r(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t){if(!t||"object"!=typeof t)return!1;var e="function"==typeof t.constructor?Object.getPrototypeOf(t):Object.prototype;if(null===e)return!0;var r=e.constructor;return"function"==typeof r&&r instanceof r&&n(r)===n(Object)}e.__esModule=!0,e.default=r;var n=function(t){return Function.prototype.toString.call(t)};t.exports=e.default},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,n){return r[n]=e(t[n],n),r},{})}e.__esModule=!0,e.default=r,t.exports=e.default},function(e,r){e.exports=t},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function u(t,e,r){return{actionTypes:_,blur:S,change:T,connectReduxForm:d.default(t,e,r),destroy:x,focus:j,reducer:s.default,initialize:A,initializeWithKey:w,reduxForm:f.default(t,e),reset:P,startAsyncValidation:E,startSubmit:I,stopAsyncValidation:M,stopSubmit:C,touch:N,untouch:R}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=u;var a=r(6),s=o(a),c=r(5),f=o(c),l=r(14),d=o(l),p=r(2),h=o(p),y=r(4),v=o(y),m=r(3),g=n(m),b=r(1),_=n(b),O=i({},h.default(i({},g,{initializeWithKey:function(t,e){return v.default(g.initialize,{key:t})(e)},destroy:function(t){return v.default(g.destroy,{key:t})()}}),function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;r>o;o++)n[o-1]=arguments[o];return v.default(t,{form:e}).apply(void 0,n)}})),S=O.blur,T=O.change,x=O.destroy,j=O.focus,A=O.initialize,w=O.initializeWithKey,P=O.reset,E=O.startAsyncValidation,I=O.startSubmit,M=O.stopAsyncValidation,C=O.stopSubmit,N=O.touch,R=O.untouch;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}}function u(t,e,r){var n=a.default(t,e),u=r(function(t){return{form:t.form}});return function(){return o(n.apply(void 0,arguments),u)}}e.__esModule=!0,e.default=u;var i=r(5),a=n(i);t.exports=e.default},function(t,e){"use strict";function r(t){return t.displayName||t.name||"Component"}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;if(t&&"object"==typeof t){if(!e||"object"!=typeof e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var u=0;u<o.length;u++){var i=o[u];if(!r(t[i],e[i]))return!1}}else if(t||e)return t===e;return!0}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e){"use strict";function r(t){return Array.isArray(t)?t.reduce(function(t,e){return t&&r(e)},!0):!t}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){function n(t){return null===t||void 0===t}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length?"function"!=typeof t.copy||"function"!=typeof t.slice?!1:t.length>0&&"number"!=typeof t[0]?!1:!0:!1}function u(t,e,r){var u,f;if(n(t)||n(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return s(e)?(t=i.call(t),e=i.call(e),c(t,e,r)):!1;if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var l=a(t),d=a(e)}catch(p){return!1}if(l.length!=d.length)return!1;for(l.sort(),d.sort(),u=l.length-1;u>=0;u--)if(l[u]!=d[u])return!1;for(u=l.length-1;u>=0;u--)if(f=l[u],!c(t[f],e[f],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(20),s=r(19),c=t.exports=function(t,e,r){return r||(r={}),t===e?!0:t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:u(t,e,r)}},function(t,e){function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function n(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=o?r:n,e.supported=r,e.unsupported=n},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}e=t.exports="function"==typeof Object.keys?Object.keys:r,e.shim=r},function(t,e){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0};t.exports=function(t,e){for(var o=Object.getOwnPropertyNames(e),u=0;u<o.length;++u)r[o[u]]||n[o[u]]||(t[o[u]]=e[o[u]]);return t}},function(t,e,r){"use strict";var n=function(t,e,r,n,o,u,i,a){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,u,i,a],f=0;s=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return c[f++]}))}throw s.framesToPop=1,s}};t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(24),u=n(o);e.default=u.default,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r=[],n={},o={},u=function a(t){Object.keys(n).forEach(function(e){~n[e].props.indexOf(t)&&(delete n[e].value,a(e))})};return Object.keys(e).forEach(function(u){var i=e[u].fn,a=e[u].params;a.forEach(function(t){~r.indexOf(t)||r.push(t)}),n[u]={props:a},Object.defineProperty(o,u,{get:function(){var e=n[u];if(e&&void 0!==e.value)return e.value;var r=a.map(function(e){return t.props[e]||o[e]}),s=i.apply(void 0,r);return n[u]={props:a,value:s},s}})}),o.componentWillReceiveProps=function(e){var n=[];r.forEach(function(r){i.default(t.props[r],e[r])||n.push(r)}),n.forEach(u)},o}e.__esModule=!0,e.default=o;var u=r(18),i=n(u);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=i.default(t),r=s.default(t);return{Provider:e,connect:r}}e.__esModule=!0,e.default=o;var u=r(27),i=n(u),a=r(26),s=n(a);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){return t.displayName||t.name||"Component"}function a(t){var e=t.Component,r=t.PropTypes,n=f.default(r);return function(r,a,c){function f(t,e){var r=t.getState(),n=w?b(r,e):b(r);return _.default(h.default(n),"`mapStateToProps` must return an object. Instead received %s.",n),n}function l(t,e){var r=t.dispatch,n=P?j(r,e):j(r);return _.default(h.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=A(t,e,r);return _.default(h.default(n),"`mergeProps` must return an object. Instead received %s.",n),n}var y=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],m=Boolean(r),b=r||O,j=h.default(a)?v.default(a):a||S,A=c||T,w=b.length>1,P=j.length>1,E=y.pure,I=void 0===E?!0:E,M=x++;return function(r){var a=function(e){function n(t,r){o(this,n),e.call(this,t,r),this.version=M,this.store=t.store||r.store,_.default(this.store,'Could not find "store" in either the context or '+('props of "'+this.constructor.displayName+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+this.constructor.displayName+'".')),this.stateProps=f(this.store,t),this.dispatchProps=l(this.store,t),this.state={storeState:null},this.updateState()}return u(n,e),n.prototype.shouldComponentUpdate=function(t,e){if(!I)return this.updateStateProps(t),this.updateDispatchProps(t),this.updateState(t),!0;var r=e.storeState!==this.state.storeState,n=!d.default(t,this.props),o=!1,u=!1;return(r||n&&w)&&(o=this.updateStateProps(t)),n&&P&&(u=this.updateDispatchProps(t)),n||o||u?(this.updateState(t),!0):!1},n.prototype.computeNextState=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];return p(this.stateProps,this.dispatchProps,t)},n.prototype.updateStateProps=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],e=f(this.store,t);return d.default(e,this.stateProps)?!1:(this.stateProps=e,!0)},n.prototype.updateDispatchProps=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],e=l(this.store,t);return d.default(e,this.dispatchProps)?!1:(this.dispatchProps=e,!0)},n.prototype.updateState=function(){var t=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];this.nextState=this.computeNextState(t)},n.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},n.prototype.trySubscribe=function(){m&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},n.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},n.prototype.componentDidMount=function(){this.trySubscribe()},n.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},n.prototype.handleChange=function(){this.unsubscribe&&this.setState({storeState:this.store.getState()})},n.prototype.getWrappedInstance=function(){return this.refs.wrappedInstance},n.prototype.render=function(){return t.createElement(r,s({ref:"wrappedInstance"},this.nextState))},n}(e);return a.displayName="Connect("+i(r)+")",a.WrappedComponent=r,a.contextTypes={store:n},a.propTypes={store:n},g.default(a,r)}}}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=a;var c=r(7),f=n(c),l=r(30),d=n(l),p=r(29),h=n(p),y=r(31),v=n(y),m=r(21),g=n(m),b=r(22),_=n(b),O=function(){return{}},S=function(t){return{dispatch:t}},T=function(t,e,r){return s({},r,t,e)},x=0;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){var e=t.version;if("string"!=typeof e)return!0;var r=e.split("."),n=parseInt(r[0],10),o=parseInt(r[1],10);return 0===n&&13===o}function a(t){function e(){p||d||(p=!0,console.error("With React 0.14 and later versions, you no longer need to wrap <Provider> child into a function."))}function r(){!p&&d&&(p=!0,console.error("With React 0.13, you need to wrap <Provider> child into a function. This restriction will be removed with React 0.14."))}function n(){h||(h=!0,console.error("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/rackt/react-redux/releases/tag/v2.0.0 for the migration instructions."))}var a=t.Component,s=t.PropTypes,f=t.Children,l=c.default(s),d=i(t),p=!1,h=!1,y=function(t){function i(e,r){o(this,i),t.call(this,e,r),this.store=e.store}return u(i,t),i.prototype.getChildContext=function(){return{store:this.store}},i.prototype.componentWillReceiveProps=function(t){var e=this.store,r=t.store;e!==r&&n()},i.prototype.render=function(){var t=this.props.children;return"function"==typeof t?(e(),t=t()):r(),f.only(t)},i}(a);return y.childContextTypes={store:l.isRequired},y.propTypes={store:l.isRequired,children:(d?s.func:s.element).isRequired},y}e.__esModule=!0,e.default=a;var s=r(7),c=n(s);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(12),u=n(o),i=r(25),a=n(i),s=a.default(u.default),c=s.Provider,f=s.connect;e.Provider=c,e.connect=f},function(t,e){"use strict";function r(t){if(!t||"object"!=typeof t)return!1;var e="function"==typeof t.constructor?Object.getPrototypeOf(t):Object.prototype;if(null===e)return!0;var r=e.constructor;return"function"==typeof r&&r instanceof r&&n(r)===n(Object)}e.__esModule=!0,e.default=r;var n=function(t){return Function.prototype.toString.call(t)};t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,u=0;u<r.length;u++)if(!o.call(e,r[u])||t[r[u]]!==e[r[u]])return!1;return!0}e.__esModule=!0,e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return function(e){return o.bindActionCreators(t,e)}}e.__esModule=!0,e.default=n;var o=r(32);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(8),u=n(o),i=r(35),a=n(i),s=r(34),c=n(s),f=r(33),l=n(f),d=r(9),p=n(d);e.createStore=u.default,e.combineReducers=a.default,e.bindActionCreators=c.default,e.applyMiddleware=l.default,e.compose=p.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return function(r,n){var o=t(r,n),i=o.dispatch,s=[],c={getState:o.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(c)}),i=a.default.apply(void 0,s)(o.dispatch),u({},o,{dispatch:i})}}}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var i=r(9),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return function(){return e(t.apply(void 0,arguments))}}function u(t,e){if("function"==typeof t)return o(t,e);if("object"!=typeof t||null===t||void 0===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');return a.default(t,function(t){return o(t,e)})}e.__esModule=!0,e.default=u;var i=r(11),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return'Reducer "'+t+'" returned undefined handling '+n+". To ignore an action, you must explicitly return the previous state."}function u(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:a.ActionTypes.INIT});if("undefined"==typeof n)throw new Error('Reducer "'+e+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:o}))throw new Error('Reducer "'+e+'" returned undefined when probed with a random type. '+("Don't try to handle "+a.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(t){var e,r=d.default(t,function(t){ | ||
return"function"==typeof t});try{u(r)}catch(n){e=n}var i=f.default(r,function(){return void 0});return function(t,n){if(void 0===t&&(t=i),e)throw e;var u=f.default(r,function(e,r){var u=e(t[r],n);if("undefined"==typeof u){var i=o(r,n);throw new Error(i)}return u});return u}}e.__esModule=!0,e.default=i;var a=r(8),s=r(10),c=(n(s),r(11)),f=n(c),l=r(36),d=n(l);t.exports=e.default},function(t,e){"use strict";function r(t,e){return Object.keys(t).reduce(function(r,n){return e(t[n])&&(r[n]=t[n]),r},{})}e.__esModule=!0,e.default=r,t.exports=e.default}])}); |
@@ -60,3 +60,2 @@ 'use strict'; | ||
event.preventDefault(); | ||
event.stopPropagation(); | ||
return fn.apply(undefined, args); | ||
@@ -63,0 +62,0 @@ } |
{ | ||
"name": "redux-form", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "A higher order component decorator for forms using Redux and React", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239654
3224