Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-form

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-form - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

dist/redux-form.min.js

@@ -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 u=r[n]={exports:{},id:n,loaded:!1};return t[n].call(u.exports,u,u.exports,e),u.loaded=!0,u.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 u=r(22),o=n(u),i=r(24),a=n(i),s=a.default(!1,o.default),c=s.actionTypes,f=s.blur,l=s.change,d=s.destroy,p=s.focus,y=s.reducer,v=s.reduxForm,h=s.initialize,m=s.initializeWithKey,b=s.reset,g=s.startAsyncValidation,_=s.startSubmit,O=s.stopAsyncValidation,x=s.stopSubmit,S=s.touch,T=s.untouch;e.actionTypes=c,e.blur=f,e.change=l,e.destroy=d,e.focus=p,e.reducer=y,e.reduxForm=v,e.initialize=h,e.initializeWithKey=m,e.reset=b,e.startAsyncValidation=g,e.startSubmit=_,e.stopAsyncValidation=O,e.stopSubmit=x,e.touch=S,e.untouch=T},function(t,e){"use strict";function r(t){return Array.isArray(t)?t.reduce(function(t,e){return t&&r(e)},!0):t&&"object"==typeof t?Object.keys(t).reduce(function(e,n){return e&&r(t[n])},!0):!t}e.__esModule=!0,e.default=r,t.exports=e.default},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 u="redux-form/DESTROY";e.DESTROY=u;var o="redux-form/FOCUS";e.FOCUS=o;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 t?Object.keys(t).reduce(function(r,u){var o;return n({},r,(o={},o[u]=e(t[u],u),o))},{}):t}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){function r(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=r},function(t,e,r){"use strict";function n(t,e){return{type:v.BLUR,field:t,value:e}}function u(t,e){return{type:v.CHANGE,field:t,value:e}}function o(){return{type:v.DESTROY}}function i(t){return{type:v.FOCUS,field:t}}function a(t){var e=arguments.length<=1||void 0===arguments[1]?Date.now():arguments[1];return{type:v.INITIALIZE,data:t,timestamp:e}}function s(){return{type:v.RESET}}function c(){return{type:v.START_ASYNC_VALIDATION}}function f(){return{type:v.START_SUBMIT}}function l(t){return{type:v.STOP_ASYNC_VALIDATION,errors:t}}function d(t){return{type:v.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:v.TOUCH,fields:e}}function y(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:v.UNTOUCH,fields:e}}e.__esModule=!0,e.blur=n,e.change=u,e.destroy=o,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=y;var v=r(2)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){return"function"==typeof t?function(){return o({},t.apply(void 0,arguments),e)}:"object"==typeof t?a.default(t,function(t){return u(t,e)}):t}e.__esModule=!0;var o=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 i=r(3),a=n(i);t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r="value";e.dataKey=r;var n=function(t,e){return function(t){t.dataTransfer.setData(r,e())}};e.default=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(9),o=n(u),i=function(t,e){if(o.default(t)){if(!e&&void 0!==t.nativeEvent&&void 0!==t.nativeEvent.text)return t.nativeEvent.text;if(e&&void 0!==t.nativeEvent)return t.nativeEvent.text;var r=t.target,n=r.type,u=r.value,i=r.checked,a=r.files,s=t.dataTransfer;return"checkbox"===n?i:"file"===n?a||s&&s.files:"select-multiple"===n?(t.target.options||[]).reduce(function(t,e){return e.selected?t.concat(e.value):t},[]):u}return t&&"object"==typeof t&&void 0!==t.value?t.value:t};e.default=i,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){return!!(t&&t.stopPropagation&&t.preventDefault)};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(9),o=n(u),i=function(t){var e=o.default(t);return e&&t.preventDefault(),e};e.default=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";e.__esModule=!0;var r=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},n=function(t,e){return t.reduce(function(t,n){var u;return r({},t,(u={},u[n]=e[n]?e[n].value:void 0,u))},{})};e.default=n,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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 o(){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,o=r.key,i=u(r,["form","key"]);if(!n)return e;if(o){var c,f;if(r.type===s.DESTROY){var l;return a({},e,(l={},l[n]=e[n]&&Object.keys(e[n]).reduce(function(t,r){var u;return r===o?t:a({},t,(u={},u[r]=e[n][r],u))},{}),l))}return a({},e,(f={},f[n]=a({},e[n],(c={},c[o]=p((e[n]||{})[o],i),c)),f))}return r.type===s.DESTROY?Object.keys(e).reduce(function(t,r){var u;return r===n?t:a({},t,(u={},u[r]=e[r],u))},{}):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],u=e(r,n);return a({},u,f.default(t,function(t,e){return t(u[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],u=e(r,n);return a({},u,f.default(t,function(t,e){var n=d(a({},l,r[e])),o=a({},l,u[e]);return a({},o,f.default(t,function(t,u){return a({},o[u],{value:t(o[u]?o[u].value:void 0,r[e]&&r[e][u]?r[e][u].value:void 0,d(o),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(2),c=r(3),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],u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(u.type){case s.BLUR:return a({},n,(t={},t[u.field]=a({},n[u.field],{value:void 0===u.value?(n[u.field]||{}).value:u.value,touched:!(!u.touch&&!(n[u.field]||{}).touched)}),t._active=void 0,t));case s.CHANGE:return a({},n,(e={},e[u.field]=a({},n[u.field],{value:u.value,touched:!(!u.touch&&!(n[u.field]||{}).touched),asyncError:void 0,submitError:void 0}),e));case s.DESTROY:return void 0;case s.FOCUS:return a({},n,(r={},r[u.field]=a({},n[u.field],{visited:!0}),r._active=u.field,r));case s.INITIALIZE:return a({},f.default(u.data,function(t){return{initial:t,value:t}}),{_asyncValidating:!1,_active:void 0,_error:void 0,_initializedAt:u.timestamp,_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(u.errors,function(t,e){return a({},n[e],{asyncError:t})}),{_asyncValidating:!1,_error:u.errors&&u.errors._error});case s.STOP_SUBMIT:return a({},n,u.errors?f.default(u.errors,function(t,e){return a({},n[e],{submitError:t})}):{},{_error:u.errors&&u.errors._error,_submitting:!1});case s.TOUCH:return a({},n,u.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,u.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(o)},function(t,e,r){function n(t){return null===t||void 0===t}function u(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 o(t,e,r){var o,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(u(t)){if(!u(e))return!1;if(t.length!==e.length)return!1;for(o=0;o<t.length;o++)if(t[o]!==e[o])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(),o=l.length-1;o>=0;o--)if(l[o]!=d[o])return!1;for(o=l.length-1;o>=0;o--)if(f=l[o],!c(t[f],e[f],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(38),s=r(37),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:o(t,e,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 u=Object.getOwnPropertyNames(e),o=0;o<u.length;++o)r[u[o]]||n[u[o]]||(t[u[o]]=e[u[o]]);return t}},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 u(t,e){function r(){return c}function n(t){f.push(t);var e=!0;return function(){if(e){e=!1;var r=f.indexOf(t);f.splice(r,1)}}}function u(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 o(t){s=t,u({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 u({type:a.INIT}),{dispatch:u,subscribe:n,getState:r,replaceReducer:o}}e.__esModule=!0,e.default=u;var o=r(20),i=n(o),a={INIT:"@@redux/INIT"};e.ActionTypes=a},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(17),o=n(u),i=r(51),a=n(i),s=r(50),c=n(s),f=r(49),l=n(f),d=r(19),p=n(d);e.createStore=o.default,e.combineReducers=a.default,e.bindActionCreators=c.default,e.applyMiddleware=l.default,e.compose=p.default},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){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(4),o=n(u),i=r(1),a=n(i),s=function(t,e,r){e();var n=t();if(!o.default(n))throw new Error("asyncValidate function passed to reduxForm must return a promise");var u=function(t){return function(e){if(!a.default(e))return r(e),Promise.reject();if(t)throw r(),new Error("Asynchronous validation promise was rejected without errors.");return r(),Promise.resolve()}};return n.then(u(!1),u(!0))};e.default=s,t.exports=e.default},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 u(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return{actionTypes:b,blur:_,change:O,destroy:x,focus:S,reducer:s.default,initialize:T,initializeWithKey:j,reduxForm:f.default(t,e),reset:P,startAsyncValidation:w,startSubmit:M,stopAsyncValidation:A,stopSubmit:E,touch:R,untouch:C}}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=o;var a=r(13),s=u(a),c=r(26),f=u(c),l=r(3),d=u(l),p=r(6),y=u(p),v=r(5),h=n(v),m=r(2),b=n(m),g=i({},d.default(i({},h,{initializeWithKey:function(t,e){return y.default(h.initialize,{key:t})(e)},destroy:function(t){return y.default(h.destroy,{key:t})()}}),function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),u=1;r>u;u++)n[u-1]=arguments[u];return y.default(t,{form:e}).apply(void 0,n)}})),_=g.blur,O=g.change,x=g.destroy,S=g.focus,T=g.initialize,j=g.initializeWithKey,P=g.reset,w=g.startAsyncValidation,M=g.startSubmit,A=g.stopAsyncValidation,E=g.stopSubmit,R=g.touch,C=g.untouch;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(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,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)}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},c=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}}(),f=r(45),l=r(18),d=r(5),p=u(d),y=r(11),v=n(y),h=r(13),m=r(14),b=n(m),g=r(6),_=n(g),O=r(12),x=n(O),S=r(1),T=n(S),j=r(35),P=n(j),w=r(33),M=n(w),A=r(23),E=n(A),R=r(32),C=n(R),I=r(10),V=n(I),N=function(t,e,r,n){var u=arguments.length<=4||void 0===arguments[4]?function(){return{}}:arguments[4],d=arguments.length<=5||void 0===arguments[5]?function(){return{}}:arguments[5],y=r.Component,m=r.PropTypes;return function(g,O,S){var j=function(u){function f(t){i(this,f),u.call(this,t),this.asyncValidate=this.asyncValidate.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.fields=P.default(t,{},this.asyncValidate,e)}return a(f,u),c(f,null,[{key:"displayName",value:"ReduxForm("+v.default(n)+")",enumerable:!0},{key:"propTypes",value:{asyncBlurFields:m.arrayOf(m.string),asyncValidate:m.func,dispatch:m.func.isRequired,fields:m.arrayOf(m.string).isRequired,form:m.object,initialValues:m.any,onSubmit:m.func,validate:m.func,readonly:m.bool,returnRejectedSubmitPromise:m.bool,blur:m.func.isRequired,change:m.func.isRequired,destroy:m.func.isRequired,focus:m.func.isRequired,initialize:m.func.isRequired,reset:m.func.isRequired,startAsyncValidation:m.func.isRequired,startSubmit:m.func.isRequired,stopAsyncValidation:m.func.isRequired,stopSubmit:m.func.isRequired,touch:m.func.isRequired,untouch:m.func.isRequired},enumerable:!0},{key:"defaultProps",value:{asyncBlurFields:[],form:h.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}},enumerable:!0}]),f.prototype.componentWillMount=function(){var t=this.props,e=t.initialize,r=t.initialValues;r&&e(r)},f.prototype.componentWillReceiveProps=function(t){b.default(this.props.fields,t.fields)&&b.default(this.props.form,t.form)||(this.fields=P.default(t,this.fields,this.asyncValidate,e)),b.default(this.props.initialValues,t.initialValues)||this.props.initialize(t.initialValues)},f.prototype.componentWillUnmount=function(){t.destroyOnUnmount&&this.props.destroy()},f.prototype.asyncValidate=function l(t,e){var r=this,n=this.props,l=n.asyncValidate,u=n.dispatch,o=n.fields,i=n.form,a=n.startAsyncValidation,s=n.stopAsyncValidation,c=n.validate;if(l){var f=function(){var n=x.default(o,i);t&&(n[t]=e);var f=c(n,r.props);return!t||T.default(f[t])?{v:E.default(function(){return l(n,u)},a,s)}:void 0}();if("object"==typeof f)return f.v}},f.prototype.handleSubmit=function(t){var e=this,r=this.props,n=r.onSubmit,u=r.fields,o=r.form,i=function(t){if(!t||"function"!=typeof t)throw new Error("You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop");return t},a=x.default(u,o);return V.default(t)?M.default(i(n),a,this.props,this.asyncValidate):C.default(function(){return M.default(i(t),a,e.props,e.asyncValidate)})},f.prototype.render=function(){var t=this,e=this.fields,u=this.props,i=(u.asyncBlurFields,u.blur,u.change,u.destroy),a=(u.focus,u.fields),c=u.form,f=(u.initialValues,u.initialize),l=(u.onSubmit,u.reset),d=(u.startAsyncValidation,u.startSubmit,u.stopAsyncValidation,u.stopSubmit,u.touch),p=u.untouch,y=(u.validate,o(u,["asyncBlurFields","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","reset","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","touch","untouch","validate"])),v=e._meta,h=v.allPristine,m=v.allValid,b=v.errors,g=v.formError,_=v.values;return r.createElement(n,s({},y,{active:c._active,asyncValidating:c._asyncValidating,dirty:!h,error:g,errors:b,fields:e,formKey:S,invalid:!m,pristine:h,submitting:c._submitting,valid:m,values:_,asyncValidate:C.default(function(){return t.asyncValidate()}),destroyForm:C.default(i),handleSubmit:this.handleSubmit,initializeForm:C.default(f),resetForm:C.default(l),touch:C.default(function(){return d.apply(void 0,arguments)}),touchAll:C.default(function(){return d.apply(void 0,a)}),untouch:C.default(function(){return p.apply(void 0,arguments)}),untouchAll:C.default(function(){return p.apply(void 0,a)})}))},c(f,null,[{key:"WrappedComponent",value:n,enumerable:!0}]),f}(y),w=s({},p,{blur:_.default(p.blur,{touch:!!t.touchOnBlur}),change:_.default(p.change,{touch:!!t.touchOnChange})}),A=void 0!==S&&null!==S?f.connect(function(t){if(!t[g])throw new Error('You need to mount the redux-form reducer at "'+g+'"');return s({},u(t),{form:t[g]&&t[g][O]&&t[g][O][S]})},function(t){return s({},"function"==typeof d?d(t):l.bindActionCreators(d,t),l.bindActionCreators(_.default(w,{form:O,key:S}),t),{dispatch:t})}):f.connect(function(t){if(!t[g])throw new Error('You need to mount the redux-form reducer at "'+g+'"');return s({},u(t),{form:t[g]&&t[g][O]})},function(t){return s({},"function"==typeof d?d(t):l.bindActionCreators(d,t),l.bindActionCreators(_.default(w,{form:O}),t),{dispatch:t})});return A(j)}};e.default=N,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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)}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},a=r(27),s=n(a),c=r(15),f=n(c),l=function(t,e){var r=e.Component,n=s.default(t,e);return function(t,a,s){return function(c){var l=n(c,a,s),d=i({touchOnBlur:!0,touchOnChange:!1,destroyOnUnmount:!0},t),p=function(t){function r(){u(this,r),t.apply(this,arguments)}return o(r,t),r.prototype.render=function(){return e.createElement(l,i({},d,this.props))},r}(r);return f.default(p,c)}}};e.default=l,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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)}e.__esModule=!0;var a=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}}(),s=r(40),c=n(s),f=r(11),l=n(f),d=r(25),p=n(d),y=function(t,e){return function(r,n,s){var f=e.Component,d=e.PropTypes;return function(f){function y(u){o(this,y),f.call(this,u),this.cache=c.default(this,{ReduxForm:{params:["reduxMountPoint","form","formKey"],fn:p.default(u,t,e,r,n,s)}})}return i(y,f),a(y,null,[{key:"displayName",value:"ReduxFormConnector("+l.default(r)+")",enumerable:!0},{key:"WrappedComponent",value:r,enumerable:!0},{key:"propTypes",value:{destroyOnUnmount:d.bool,reduxMountPoint:d.string,form:d.string.isRequired,formKey:d.string,touchOnBlur:d.bool,touchOnChange:d.bool},enumerable:!0},{key:"defaultProps",value:{reduxMountPoint:"form"},enumerable:!0}]),y.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},y.prototype.render=function(){var t=this.cache.ReduxForm,r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.touchOnBlur,r.touchOnChange,u(r,["reduxMountPoint","destroyOnUnmount","form","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},y}(f)}};e.default=y,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(8),o=n(u),i=function(t,e,r,n){return function(u){var i=o.default(u,r);e(t,i),n&&n(t,i)}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(8),o=n(u),i=function(t,e,r){return function(n){return e(t,o.default(n,r))}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0;var n=r(7),u=function(t,e){return function(r){e(t,r.dataTransfer.getData(n.dataKey))}};e.default=u,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){return function(){return e(t)}};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(10),o=n(u),i=function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),u=1;r>u;u++)n[u-1]=arguments[u];return o.default(e)?t.apply(void 0,n):t.apply(void 0,[e].concat(n))}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(4),o=n(u),i=r(1),a=n(i),s=function(t,e,r,n){var u=r.dispatch,i=r.fields,s=r.startSubmit,c=r.stopSubmit,f=r.returnRejectedSubmitPromise,l=r.touch,d=r.validate,p=d(e,r);if(l.apply(void 0,i),a.default(p)){var y=function(){var r=t(e,u);return o.default(r)?(s(),r.then(function(t){return c(),t},function(t){return c(t),f?Promise.reject(t):void 0})):r},v=n();return o.default(v)?v.then(y,function(){return f?Promise.reject():Promise.resolve()}):y()}};e.default=s,t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;if("boolean"==typeof t||"boolean"==typeof e)return t===e;if(t&&"object"==typeof t){if(!e||"object"!=typeof e)return!1;var n=Object.keys(t),u=Object.keys(e);if(n.length!==u.length)return!1;for(var o=0;o<u.length;o++){var i=u[o];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,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":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},o=r(28),i=n(o),a=r(29),s=n(a),c=r(7),f=n(c),l=r(30),d=n(l),p=r(31),y=n(p),v=r(34),h=n(v),m=r(1),b=n(m),g=r(12),_=n(g),O=r(36),x=n(O),S=function(t,e,r,n){var o=t.asyncBlurFields,a=t.blur,c=t.change,l=t.fields,p=t.focus,v=t.form,m=t.initialValues,g=t.readonly,O=t.validate,S=_.default(l,v),T=O(S,t),j={},P=T._error||v._error,w=!P,M=!0,A=l.reduce(function(t,l){var _,O=e[l]||{},S={};if(O.name!==l){var P=s.default(l,c,n),A=m&&m[l];O.name=l,O.defaultChecked=A===!0,O.defaultValue=A,g||(O.onBlur=i.default(l,a,n,~o.indexOf(l)&&function(t,e){return x.default(r(t,e))}),O.onChange=P,O.onDragStart=f.default(l,function(){return O.value}),O.onDrop=d.default(l,c),O.onFocus=y.default(l,p),O.onUpdate=P),O.valid=!0,O.invalid=!1}var E=v[l]||{};if(O.value!==E.value&&(S.value=E.value,S.checked="boolean"==typeof E.value?E.value:void 0),v._initializedAt){var R=l+v._initializedAt;O.key!==R&&(S.key=R)}var C=h.default(E.value,E.initial);O.pristine!==C&&(S.dirty=!C,S.pristine=C);var I=T[l]||E.submitError||E.asyncError;I!==O.error&&(S.error=I);var V=b.default(I);O.valid!==V&&(S.invalid=!V,S.valid=V),I&&(j[l]=I);var N=v._active===l;N!==O.active&&(S.active=N);var k=!!E.touched;k!==O.touched&&(S.touched=k);var U=!!E.visited;U!==O.visited&&(S.visited=U);var D=Object.keys(S).length?u({},O,S):O;return D.invalid&&(w=!1),D.dirty&&(M=!1),u({},t,(_={},_[l]=D,_))},{});return Object.defineProperty(A,"_meta",{value:{allPristine:M,allValid:w,values:S,errors:j,formError:P}}),A};e.default=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 u=r(4),o=n(u),i=function(){return void 0},a=function(t){return o.default(t)?t.then(i,i):t};e.default=a,t.exports=e.default},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 u="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=u?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,r){"use strict";var n=function(t,e,r,n,u,o,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,u,o,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 u=r(41),o=n(u);e.default=o.default,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){var r=[],n={},u={},o=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(o){var i=e[o].fn,a=e[o].params;a.forEach(function(t){~r.indexOf(t)||r.push(t)}),n[o]={props:a},Object.defineProperty(u,o,{get:function(){var e=n[o];if(e&&void 0!==e.value)return e.value;var r=a.map(function(e){return t.props[e]||u[e]}),s=i.apply(void 0,r);return n[o]={props:a,value:s},s}})}),u.componentWillReceiveProps=function(e){var n=[];r.forEach(function(r){i.default(t.props[r],e[r])||n.push(r)}),n.forEach(o)},u}e.__esModule=!0,e.default=u;var o=r(14),i=n(o);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t){var e=i.default(t),r=s.default(t);return{Provider:e,connect:r}}e.__esModule=!0,e.default=u;var o=r(44),i=n(o),a=r(43),s=n(a);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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?g(r,e):g(r);return _.default(y.default(n),"`mapStateToProps` must return an object. Instead received %s.",n),n}function l(t,e){var r=t.dispatch,n=M?j(r,e):j(r);return _.default(y.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=P(t,e,r);return _.default(y.default(n),"`mergeProps` must return an object. Instead received %s.",n),n}var v=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],m=Boolean(r),g=r||O,j=y.default(a)?h.default(a):a||x,P=c||S,w=g.length>1,M=j.length>1,A=v.pure,E=void 0===A?!0:A,R=T++;return function(r){var a=function(e){function n(t,r){u(this,n),e.call(this,t,r),this.version=R,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 o(n,e),n.prototype.shouldComponentUpdate=function(t,e){if(!E)return this.updateStateProps(t),this.updateDispatchProps(t),this.updateState(t),!0;var r=e.storeState!==this.state.storeState,n=!d.default(t,this.props),u=!1,o=!1;return(r||n&&w)&&(u=this.updateStateProps(t)),n&&M&&(o=this.updateDispatchProps(t)),n||u||o?(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},b.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(16),f=n(c),l=r(47),d=n(l),p=r(46),y=n(p),v=r(48),h=n(v),m=r(15),b=n(m),g=r(39),_=n(g),O=function(){return{}},x=function(t){return{dispatch:t}},S=function(t,e,r){return s({},r,t,e)},T=0;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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),u=parseInt(r[1],10);return 0===n&&13===u}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(){y||(y=!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,y=!1,v=function(t){function i(e,r){u(this,i),t.call(this,e,r),this.store=e.store}return o(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 v.childContextTypes={store:l.isRequired},v.propTypes={store:l.isRequired,children:(d?s.func:s.element).isRequired},v}e.__esModule=!0,e.default=a;var s=r(16),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 u=r(22),o=n(u),i=r(42),a=n(i),s=a.default(o.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 u=Object.prototype.hasOwnProperty,o=0;o<r.length;o++)if(!u.call(e,r[o])||t[r[o]]!==e[r[o]])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 u.bindActionCreators(t,e)}}e.__esModule=!0,e.default=n;var u=r(18);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(){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 u=t(r,n),i=u.dispatch,s=[],c={getState:u.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(c)}),i=a.default.apply(void 0,s)(u.dispatch),o({},u,{dispatch:i})}}}e.__esModule=!0;var o=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 i=r(19),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){return function(){return e(t.apply(void 0,arguments))}}function o(t,e){if("function"==typeof t)return u(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 u(t,e)})}e.__esModule=!0,e.default=o;var i=r(21),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(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 o(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 u="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:u}))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{o(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 o=!1,a=f.default(r,function(e,r){var i=t[r],a=e(i,n);if("undefined"==typeof a){var s=u(r,n);throw new Error(s)}return o=o||a!==i,a});return o?a:t}}e.__esModule=!0,e.default=i;var a=r(17),s=r(20),c=(n(s),r(21)),f=n(c),l=r(52),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 u=r[n]={exports:{},id:n,loaded:!1};return t[n].call(u.exports,u,u.exports,e),u.loaded=!0,u.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 u=r(22),o=n(u),i=r(24),a=n(i),s=a.default(!1,o.default),c=s.actionTypes,f=s.blur,l=s.change,d=s.destroy,p=s.focus,v=s.reducer,y=s.reduxForm,h=s.initialize,m=s.initializeWithKey,b=s.reset,g=s.startAsyncValidation,_=s.startSubmit,O=s.stopAsyncValidation,x=s.stopSubmit,S=s.touch,T=s.untouch;e.actionTypes=c,e.blur=f,e.change=l,e.destroy=d,e.focus=p,e.reducer=v,e.reduxForm=y,e.initialize=h,e.initializeWithKey=m,e.reset=b,e.startAsyncValidation=g,e.startSubmit=_,e.stopAsyncValidation=O,e.stopSubmit=x,e.touch=S,e.untouch=T},function(t,e){"use strict";function r(t){return Array.isArray(t)?t.reduce(function(t,e){return t&&r(e)},!0):t&&"object"==typeof t?Object.keys(t).reduce(function(e,n){return e&&r(t[n])},!0):!t}e.__esModule=!0,e.default=r,t.exports=e.default},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 u="redux-form/DESTROY";e.DESTROY=u;var o="redux-form/FOCUS";e.FOCUS=o;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 t?Object.keys(t).reduce(function(r,u){var o;return n({},r,(o={},o[u]=e(t[u],u),o))},{}):t}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){function r(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=r},function(t,e,r){"use strict";function n(t,e){return{type:y.BLUR,field:t,value:e}}function u(t,e){return{type:y.CHANGE,field:t,value:e}}function o(){return{type:y.DESTROY}}function i(t){return{type:y.FOCUS,field:t}}function a(t){var e=arguments.length<=1||void 0===arguments[1]?Date.now():arguments[1];return{type:y.INITIALIZE,data:t,timestamp:e}}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 v(){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=u,e.destroy=o,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=v;var y=r(2)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){return"function"==typeof t?function(){return o({},t.apply(void 0,arguments),e)}:"object"==typeof t?a.default(t,function(t){return u(t,e)}):t}e.__esModule=!0;var o=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 i=r(3),a=n(i);t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r="value";e.dataKey=r;var n=function(t,e){return function(t){t.dataTransfer.setData(r,e())}};e.default=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(9),o=n(u),i=function(t){var e=[];if(t)for(var r=0;r<t.length;r++){var n=t[r];n.selected&&e.push(n.value)}return e},a=function(t,e){if(o.default(t)){if(!e&&void 0!==t.nativeEvent&&void 0!==t.nativeEvent.text)return t.nativeEvent.text;if(e&&void 0!==t.nativeEvent)return t.nativeEvent.text;var r=t.target,n=r.type,u=r.value,a=r.checked,s=r.files,c=t.dataTransfer;return"checkbox"===n?a:"file"===n?s||c&&c.files:"select-multiple"===n?i(t.target.options):u}return t&&"object"==typeof t&&void 0!==t.value?t.value:t};e.default=a,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){return!!(t&&t.stopPropagation&&t.preventDefault)};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(9),o=n(u),i=function(t){var e=o.default(t);return e&&t.preventDefault(),e};e.default=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";e.__esModule=!0;var r=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},n=function(t,e){return t.reduce(function(t,n){var u;return r({},t,(u={},u[n]=e[n]?e[n].value:void 0,u))},{})};e.default=n,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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 o(){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,o=r.key,i=u(r,["form","key"]);if(!n)return e;if(o){var c,f;if(r.type===s.DESTROY){var l;return a({},e,(l={},l[n]=e[n]&&Object.keys(e[n]).reduce(function(t,r){var u;return r===o?t:a({},t,(u={},u[r]=e[n][r],u))},{}),l))}return a({},e,(f={},f[n]=a({},e[n],(c={},c[o]=p((e[n]||{})[o],i),c)),f))}return r.type===s.DESTROY?Object.keys(e).reduce(function(t,r){var u;return r===n?t:a({},t,(u={},u[r]=e[r],u))},{}):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],u=e(r,n);return a({},u,f.default(t,function(t,e){return t(u[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],u=e(r,n);return a({},u,f.default(t,function(t,e){var n=d(a({},l,r[e])),o=a({},l,u[e]);return a({},o,f.default(t,function(t,u){return a({},o[u],{value:t(o[u]?o[u].value:void 0,r[e]&&r[e][u]?r[e][u].value:void 0,d(o),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(2),c=r(3),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],u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(u.type){case s.BLUR:return a({},n,(t={},t[u.field]=a({},n[u.field],{value:void 0===u.value?(n[u.field]||{}).value:u.value,touched:!(!u.touch&&!(n[u.field]||{}).touched)}),t._active=void 0,t));case s.CHANGE:return a({},n,(e={},e[u.field]=a({},n[u.field],{value:u.value,touched:!(!u.touch&&!(n[u.field]||{}).touched),asyncError:void 0,submitError:void 0}),e));case s.DESTROY:return void 0;case s.FOCUS:return a({},n,(r={},r[u.field]=a({},n[u.field],{visited:!0}),r._active=u.field,r));case s.INITIALIZE:return a({},f.default(u.data,function(t){return{initial:t,value:t}}),{_asyncValidating:!1,_active:void 0,_error:void 0,_initializedAt:u.timestamp,_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(u.errors,function(t,e){return a({},n[e],{asyncError:t})}),{_asyncValidating:!1,_error:u.errors&&u.errors._error});case s.STOP_SUBMIT:return a({},n,u.errors?f.default(u.errors,function(t,e){return a({},n[e],{submitError:t})}):{},{_error:u.errors&&u.errors._error,_submitting:!1});case s.TOUCH:return a({},n,u.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,u.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(o)},function(t,e,r){function n(t){return null===t||void 0===t}function u(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 o(t,e,r){var o,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(u(t)){if(!u(e))return!1;if(t.length!==e.length)return!1;for(o=0;o<t.length;o++)if(t[o]!==e[o])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(),o=l.length-1;o>=0;o--)if(l[o]!=d[o])return!1;for(o=l.length-1;o>=0;o--)if(f=l[o],!c(t[f],e[f],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(38),s=r(37),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:o(t,e,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 u=Object.getOwnPropertyNames(e),o=0;o<u.length;++o)r[u[o]]||n[u[o]]||(t[u[o]]=e[u[o]]);return t}},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 u(t,e){function r(){return c}function n(t){f.push(t);var e=!0;return function(){if(e){e=!1;var r=f.indexOf(t);f.splice(r,1)}}}function u(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 o(t){s=t,u({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 u({type:a.INIT}),{dispatch:u,subscribe:n,getState:r,replaceReducer:o}}e.__esModule=!0,e.default=u;var o=r(20),i=n(o),a={INIT:"@@redux/INIT"};e.ActionTypes=a},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(17),o=n(u),i=r(51),a=n(i),s=r(50),c=n(s),f=r(49),l=n(f),d=r(19),p=n(d);e.createStore=o.default,e.combineReducers=a.default,e.bindActionCreators=c.default,e.applyMiddleware=l.default,e.compose=p.default},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){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(4),o=n(u),i=r(1),a=n(i),s=function(t,e,r){e();var n=t();if(!o.default(n))throw new Error("asyncValidate function passed to reduxForm must return a promise");var u=function(t){return function(e){if(!a.default(e))return r(e),Promise.reject();if(t)throw r(),new Error("Asynchronous validation promise was rejected without errors.");return r(),Promise.resolve()}};return n.then(u(!1),u(!0))};e.default=s,t.exports=e.default},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 u(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return{actionTypes:b,blur:_,change:O,destroy:x,focus:S,reducer:s.default,initialize:T,initializeWithKey:j,reduxForm:f.default(t,e),reset:P,startAsyncValidation:w,startSubmit:M,stopAsyncValidation:A,stopSubmit:E,touch:R,untouch:C}}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=o;var a=r(13),s=u(a),c=r(26),f=u(c),l=r(3),d=u(l),p=r(6),v=u(p),y=r(5),h=n(y),m=r(2),b=n(m),g=i({},d.default(i({},h,{initializeWithKey:function(t,e){return v.default(h.initialize,{key:t})(e)},destroy:function(t){return v.default(h.destroy,{key:t})()}}),function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),u=1;r>u;u++)n[u-1]=arguments[u];return v.default(t,{form:e}).apply(void 0,n)}})),_=g.blur,O=g.change,x=g.destroy,S=g.focus,T=g.initialize,j=g.initializeWithKey,P=g.reset,w=g.startAsyncValidation,M=g.startSubmit,A=g.stopAsyncValidation,E=g.stopSubmit,R=g.touch,C=g.untouch;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(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,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)}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},c=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}}(),f=r(45),l=r(18),d=r(5),p=u(d),v=r(11),y=n(v),h=r(13),m=r(14),b=n(m),g=r(6),_=n(g),O=r(12),x=n(O),S=r(1),T=n(S),j=r(35),P=n(j),w=r(33),M=n(w),A=r(23),E=n(A),R=r(32),C=n(R),I=r(10),V=n(I),N=function(t,e,r,n){var u=arguments.length<=4||void 0===arguments[4]?function(){return{}}:arguments[4],d=arguments.length<=5||void 0===arguments[5]?function(){return{}}:arguments[5],v=r.Component,m=r.PropTypes;return function(g,O,S){var j=function(u){function f(t){i(this,f),u.call(this,t),this.asyncValidate=this.asyncValidate.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.fields=P.default(t,{},this.asyncValidate,e)}return a(f,u),c(f,null,[{key:"displayName",value:"ReduxForm("+y.default(n)+")",enumerable:!0},{key:"propTypes",value:{asyncBlurFields:m.arrayOf(m.string),asyncValidate:m.func,dispatch:m.func.isRequired,fields:m.arrayOf(m.string).isRequired,form:m.object,initialValues:m.any,onSubmit:m.func,validate:m.func,readonly:m.bool,returnRejectedSubmitPromise:m.bool,blur:m.func.isRequired,change:m.func.isRequired,destroy:m.func.isRequired,focus:m.func.isRequired,initialize:m.func.isRequired,reset:m.func.isRequired,startAsyncValidation:m.func.isRequired,startSubmit:m.func.isRequired,stopAsyncValidation:m.func.isRequired,stopSubmit:m.func.isRequired,touch:m.func.isRequired,untouch:m.func.isRequired},enumerable:!0},{key:"defaultProps",value:{asyncBlurFields:[],form:h.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}},enumerable:!0}]),f.prototype.componentWillMount=function(){var t=this.props,e=t.initialize,r=t.initialValues;r&&e(r)},f.prototype.componentWillReceiveProps=function(t){b.default(this.props.fields,t.fields)&&b.default(this.props.form,t.form)||(this.fields=P.default(t,this.fields,this.asyncValidate,e)),b.default(this.props.initialValues,t.initialValues)||this.props.initialize(t.initialValues)},f.prototype.componentWillUnmount=function(){t.destroyOnUnmount&&this.props.destroy()},f.prototype.asyncValidate=function l(t,e){var r=this,n=this.props,l=n.asyncValidate,u=n.dispatch,o=n.fields,i=n.form,a=n.startAsyncValidation,s=n.stopAsyncValidation,c=n.validate;if(l){var f=function(){var n=x.default(o,i);t&&(n[t]=e);var f=c(n,r.props);return!t||T.default(f[t])?{v:E.default(function(){return l(n,u)},a,s)}:void 0}();if("object"==typeof f)return f.v}},f.prototype.handleSubmit=function(t){var e=this,r=this.props,n=r.onSubmit,u=r.fields,o=r.form,i=function(t){if(!t||"function"!=typeof t)throw new Error("You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop");return t},a=x.default(u,o);return V.default(t)?M.default(i(n),a,this.props,this.asyncValidate):C.default(function(){return M.default(i(t),a,e.props,e.asyncValidate)})},f.prototype.render=function(){var t=this,e=this.fields,u=this.props,i=(u.asyncBlurFields,u.blur,u.change,u.destroy),a=(u.focus,u.fields),c=u.form,f=(u.initialValues,u.initialize),l=(u.onSubmit,u.reset),d=(u.startAsyncValidation,u.startSubmit,u.stopAsyncValidation,u.stopSubmit,u.touch),p=u.untouch,v=(u.validate,o(u,["asyncBlurFields","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","reset","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","touch","untouch","validate"])),y=e._meta,h=y.allPristine,m=y.allValid,b=y.errors,g=y.formError,_=y.values;return r.createElement(n,s({},v,{active:c._active,asyncValidating:c._asyncValidating,dirty:!h,error:g,errors:b,fields:e,formKey:S,invalid:!m,pristine:h,submitting:c._submitting,valid:m,values:_,asyncValidate:C.default(function(){return t.asyncValidate()}),destroyForm:C.default(i),handleSubmit:this.handleSubmit,initializeForm:C.default(f),resetForm:C.default(l),touch:C.default(function(){return d.apply(void 0,arguments)}),touchAll:C.default(function(){return d.apply(void 0,a)}),untouch:C.default(function(){return p.apply(void 0,arguments)}),untouchAll:C.default(function(){return p.apply(void 0,a)})}))},c(f,null,[{key:"WrappedComponent",value:n,enumerable:!0}]),f}(v),w=s({},p,{blur:_.default(p.blur,{touch:!!t.touchOnBlur}),change:_.default(p.change,{touch:!!t.touchOnChange})}),A=void 0!==S&&null!==S?f.connect(function(t){if(!t[g])throw new Error('You need to mount the redux-form reducer at "'+g+'"');return s({},u(t),{form:t[g]&&t[g][O]&&t[g][O][S]})},function(t){return s({},"function"==typeof d?d(t):l.bindActionCreators(d,t),l.bindActionCreators(_.default(w,{form:O,key:S}),t),{dispatch:t})}):f.connect(function(t){if(!t[g])throw new Error('You need to mount the redux-form reducer at "'+g+'"');return s({},u(t),{form:t[g]&&t[g][O]})},function(t){return s({},"function"==typeof d?d(t):l.bindActionCreators(d,t),l.bindActionCreators(_.default(w,{form:O}),t),{dispatch:t})});return A(j)}};e.default=N,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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)}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},a=r(27),s=n(a),c=r(15),f=n(c),l=function(t,e){var r=e.Component,n=s.default(t,e);return function(t,a,s){return function(c){var l=n(c,a,s),d=i({touchOnBlur:!0,touchOnChange:!1,destroyOnUnmount:!0},t),p=function(t){function r(){u(this,r),t.apply(this,arguments)}return o(r,t),r.prototype.render=function(){return e.createElement(l,i({},d,this.props))},r}(r);return f.default(p,c)}}};e.default=l,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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)}e.__esModule=!0;var a=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}}(),s=r(40),c=n(s),f=r(11),l=n(f),d=r(25),p=n(d),v=function(t,e){return function(r,n,s){var f=e.Component,d=e.PropTypes;return function(f){function v(u){o(this,v),f.call(this,u),this.cache=c.default(this,{ReduxForm:{params:["reduxMountPoint","form","formKey"],fn:p.default(u,t,e,r,n,s)}})}return i(v,f),a(v,null,[{key:"displayName",value:"ReduxFormConnector("+l.default(r)+")",enumerable:!0},{key:"WrappedComponent",value:r,enumerable:!0},{key:"propTypes",value:{destroyOnUnmount:d.bool,reduxMountPoint:d.string,form:d.string.isRequired,formKey:d.string,touchOnBlur:d.bool,touchOnChange:d.bool},enumerable:!0},{key:"defaultProps",value:{reduxMountPoint:"form"},enumerable:!0}]),v.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},v.prototype.render=function(){var t=this.cache.ReduxForm,r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.touchOnBlur,r.touchOnChange,u(r,["reduxMountPoint","destroyOnUnmount","form","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},v}(f)}};e.default=v,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(8),o=n(u),i=function(t,e,r,n){return function(u){var i=o.default(u,r);e(t,i),n&&n(t,i)}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(8),o=n(u),i=function(t,e,r){return function(n){return e(t,o.default(n,r))}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0;var n=r(7),u=function(t,e){return function(r){e(t,r.dataTransfer.getData(n.dataKey))}};e.default=u,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){return function(){return e(t)}};e.default=r,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(10),o=n(u),i=function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),u=1;r>u;u++)n[u-1]=arguments[u];return o.default(e)?t.apply(void 0,n):t.apply(void 0,[e].concat(n))}};e.default=i,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var u=r(4),o=n(u),i=r(1),a=n(i),s=function(t,e,r,n){var u=r.dispatch,i=r.fields,s=r.startSubmit,c=r.stopSubmit,f=r.returnRejectedSubmitPromise,l=r.touch,d=r.validate,p=d(e,r);if(l.apply(void 0,i),a.default(p)){var v=function(){var r=t(e,u);return o.default(r)?(s(),r.then(function(t){return c(),t},function(t){return c(t),f?Promise.reject(t):void 0})):r},y=n();return o.default(y)?y.then(v,function(){return f?Promise.reject():Promise.resolve()}):v()}};e.default=s,t.exports=e.default},function(t,e){"use strict";function r(t,e){if(t===e)return!0;if("boolean"==typeof t||"boolean"==typeof e)return t===e;if(t&&"object"==typeof t){if(!e||"object"!=typeof e)return!1;var n=Object.keys(t),u=Object.keys(e);if(n.length!==u.length)return!1;for(var o=0;o<u.length;o++){var i=u[o];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,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":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},o=r(28),i=n(o),a=r(29),s=n(a),c=r(7),f=n(c),l=r(30),d=n(l),p=r(31),v=n(p),y=r(34),h=n(y),m=r(1),b=n(m),g=r(12),_=n(g),O=r(36),x=n(O),S=function(t,e,r,n){var o=t.asyncBlurFields,a=t.blur,c=t.change,l=t.fields,p=t.focus,y=t.form,m=t.initialValues,g=t.readonly,O=t.validate,S=_.default(l,y),T=O(S,t),j={},P=T._error||y._error,w=!P,M=!0,A=l.reduce(function(t,l){var _,O=e[l]||{},S={};if(O.name!==l){var P=s.default(l,c,n),A=m&&m[l];O.name=l,O.defaultChecked=A===!0,O.defaultValue=A,g||(O.onBlur=i.default(l,a,n,~o.indexOf(l)&&function(t,e){return x.default(r(t,e))}),O.onChange=P,O.onDragStart=f.default(l,function(){return O.value}),O.onDrop=d.default(l,c),O.onFocus=v.default(l,p),O.onUpdate=P),O.valid=!0,O.invalid=!1}var E=y[l]||{};if(O.value!==E.value&&(S.value=E.value,S.checked="boolean"==typeof E.value?E.value:void 0),y._initializedAt){var R=l+y._initializedAt;O.key!==R&&(S.key=R)}var C=h.default(E.value,E.initial);O.pristine!==C&&(S.dirty=!C,S.pristine=C);var I=T[l]||E.submitError||E.asyncError;I!==O.error&&(S.error=I);var V=b.default(I);O.valid!==V&&(S.invalid=!V,S.valid=V),I&&(j[l]=I);var N=y._active===l;N!==O.active&&(S.active=N);var k=!!E.touched;k!==O.touched&&(S.touched=k);var U=!!E.visited;U!==O.visited&&(S.visited=U);var D=Object.keys(S).length?u({},O,S):O;return D.invalid&&(w=!1),D.dirty&&(M=!1),u({},t,(_={},_[l]=D,_))},{});return Object.defineProperty(A,"_meta",{value:{allPristine:M,allValid:w,values:S,errors:j,formError:P}}),A};e.default=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 u=r(4),o=n(u),i=function(){return void 0},a=function(t){return o.default(t)?t.then(i,i):t};e.default=a,t.exports=e.default},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 u="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=u?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,r){"use strict";var n=function(t,e,r,n,u,o,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,u,o,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 u=r(41),o=n(u);e.default=o.default,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){var r=[],n={},u={},o=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(o){var i=e[o].fn,a=e[o].params;a.forEach(function(t){~r.indexOf(t)||r.push(t)}),n[o]={props:a},Object.defineProperty(u,o,{get:function(){var e=n[o];if(e&&void 0!==e.value)return e.value;var r=a.map(function(e){return t.props[e]||u[e]}),s=i.apply(void 0,r);return n[o]={props:a,value:s},s}})}),u.componentWillReceiveProps=function(e){var n=[];r.forEach(function(r){i.default(t.props[r],e[r])||n.push(r)}),n.forEach(o)},u}e.__esModule=!0,e.default=u;var o=r(14),i=n(o);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t){var e=i.default(t),r=s.default(t);return{Provider:e,connect:r}}e.__esModule=!0,e.default=u;var o=r(44),i=n(o),a=r(43),s=n(a);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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?g(r,e):g(r);return _.default(v.default(n),"`mapStateToProps` must return an object. Instead received %s.",n),n}function l(t,e){var r=t.dispatch,n=M?j(r,e):j(r);return _.default(v.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=P(t,e,r);return _.default(v.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),g=r||O,j=v.default(a)?h.default(a):a||x,P=c||S,w=g.length>1,M=j.length>1,A=y.pure,E=void 0===A?!0:A,R=T++;return function(r){var a=function(e){function n(t,r){u(this,n),e.call(this,t,r),this.version=R,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 o(n,e),n.prototype.shouldComponentUpdate=function(t,e){if(!E)return this.updateStateProps(t),this.updateDispatchProps(t),this.updateState(t),!0;var r=e.storeState!==this.state.storeState,n=!d.default(t,this.props),u=!1,o=!1;return(r||n&&w)&&(u=this.updateStateProps(t)),n&&M&&(o=this.updateDispatchProps(t)),n||u||o?(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},b.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(16),f=n(c),l=r(47),d=n(l),p=r(46),v=n(p),y=r(48),h=n(y),m=r(15),b=n(m),g=r(39),_=n(g),O=function(){return{}},x=function(t){return{dispatch:t}},S=function(t,e,r){return s({},r,t,e)},T=0;t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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),u=parseInt(r[1],10);return 0===n&&13===u}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(){v||(v=!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,v=!1,y=function(t){function i(e,r){u(this,i),t.call(this,e,r),this.store=e.store}return o(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(16),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 u=r(22),o=n(u),i=r(42),a=n(i),s=a.default(o.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 u=Object.prototype.hasOwnProperty,o=0;o<r.length;o++)if(!u.call(e,r[o])||t[r[o]]!==e[r[o]])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 u.bindActionCreators(t,e)}}e.__esModule=!0,e.default=n;var u=r(18);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(){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 u=t(r,n),i=u.dispatch,s=[],c={getState:u.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(c)}),i=a.default.apply(void 0,s)(u.dispatch),o({},u,{dispatch:i})}}}e.__esModule=!0;var o=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 i=r(19),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(t,e){return function(){return e(t.apply(void 0,arguments))}}function o(t,e){if("function"==typeof t)return u(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 u(t,e)})}e.__esModule=!0,e.default=o;var i=r(21),a=n(i);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function u(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 o(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 u="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:u}))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{o(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 o=!1,a=f.default(r,function(e,r){var i=t[r],a=e(i,n);if("undefined"==typeof a){var s=u(r,n);throw new Error(s)}return o=o||a!==i,a});return o?a:t}}e.__esModule=!0,e.default=i;var a=r(17),s=r(20),c=(n(s),r(21)),f=n(c),l=r(52),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}])});

@@ -11,2 +11,15 @@ 'use strict';

var getSelectedValues = function getSelectedValues(options) {
var result = [];
if (options) {
for (var index = 0; index < options.length; index++) {
var option = options[index];
if (option.selected) {
result.push(option.value);
}
}
}
return result;
};
var getValue = function getValue(event, isReactNative) {

@@ -34,5 +47,3 @@ if (_isEvent2['default'](event)) {

if (type === 'select-multiple') {
return (event.target.options || []).reduce(function (accumulator, option) {
return option.selected ? accumulator.concat(option.value) : accumulator;
}, []);
return getSelectedValues(event.target.options);
}

@@ -39,0 +50,0 @@ return value;

{
"name": "redux-form",
"version": "3.0.1",
"version": "3.0.2",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc