redux-form
Advanced tools
Comparing version 4.0.3 to 4.0.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 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(25),o=n(u),i=r(57),a=r(27),s=n(a),f=s.default(!1,o.default,i.connect),c=f.actionTypes,l=f.blur,d=f.change,p=f.changeWithKey,v=f.destroy,y=f.focus,h=f.reducer,m=f.reduxForm,g=f.getValues,b=f.initialize,_=f.initializeWithKey,O=f.propTypes,x=f.reset,A=f.startAsyncValidation,j=f.startSubmit,S=f.stopAsyncValidation,T=f.stopSubmit,w=f.touch,M=f.touchWithKey,R=f.untouch,E=f.untouchWithKey;e.actionTypes=c,e.blur=l,e.change=d,e.changeWithKey=p,e.destroy=v,e.focus=y,e.reducer=h,e.reduxForm=m,e.getValues=g,e.initialize=b,e.initializeWithKey=_,e.propTypes=O,e.reset=x,e.startAsyncValidation=A,e.startSubmit=j,e.stopAsyncValidation=S,e.stopSubmit=T,e.touch=w,e.touchWithKey=M,e.untouch=R,e.untouchWithKey=E},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/ADD_ARRAY_VALUE";e.ADD_ARRAY_VALUE=r;var n="redux-form/BLUR";e.BLUR=n;var u="redux-form/CHANGE";e.CHANGE=u;var o="redux-form/DESTROY";e.DESTROY=o;var i="redux-form/FOCUS";e.FOCUS=i;var a="redux-form/INITIALIZE";e.INITIALIZE=a;var s="redux-form/REMOVE_ARRAY_VALUE";e.REMOVE_ARRAY_VALUE=s;var f="redux-form/RESET";e.RESET=f;var c="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=c;var l="redux-form/START_SUBMIT";e.START_SUBMIT=l;var d="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=d;var p="redux-form/STOP_SUBMIT";e.STOP_SUBMIT=p;var v="redux-form/SUBMIT_FAILED";e.SUBMIT_FAILED=v;var y="redux-form/TOUCH";e.TOUCH=y;var h="redux-form/UNTOUCH";e.UNTOUCH=h},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";e.__esModule=!0;var n=r(2),u=function(t,e,r){return{type:n.ADD_ARRAY_VALUE,path:t,value:e,index:r}};e.addArrayValue=u;var o=function(t,e){return{type:n.BLUR,field:t,value:e}};e.blur=o;var i=function(t,e){return{type:n.CHANGE,field:t,value:e}};e.change=i;var a=function(){return{type:n.DESTROY}};e.destroy=a;var s=function(t){return{type:n.FOCUS,field:t}};e.focus=s;var f=function(t,e){if(!Array.isArray(e))throw new Error("must provide fields array to initialize() action creator");return{type:n.INITIALIZE,data:t,fields:e}};e.initialize=f;var c=function(t,e){return{type:n.REMOVE_ARRAY_VALUE,path:t,index:e}};e.removeArrayValue=c;var l=function(){return{type:n.RESET}};e.reset=l;var d=function(){return{type:n.START_ASYNC_VALIDATION}};e.startAsyncValidation=d;var p=function(){return{type:n.START_SUBMIT}};e.startSubmit=p;var v=function(t){return{type:n.STOP_ASYNC_VALIDATION,errors:t}};e.stopAsyncValidation=v;var y=function(t){return{type:n.STOP_SUBMIT,errors:t}};e.stopSubmit=y;var h=function(){return{type:n.SUBMIT_FAILED}};e.submitFailed=h;var m=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:n.TOUCH,fields:e}};e.touch=m;var g=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:n.UNTOUCH,fields:e}};e.untouch=g},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&&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,f=t.dataTransfer;return"checkbox"===n?a:"file"===n?s||f&&f.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=function u(t,e,r){var n=t.indexOf("."),o=t.indexOf("["),i=t.indexOf("]");if(o>0&&i!==o+1)throw new Error("found [ not followed by ]");if(o>0&&(0>n||n>o))!function(){var n=t.substring(0,o),a=t.substring(i+1);"."===a[0]&&(a=a.substring(1));var s=e&&e[n]||[];a?(r[n]||(r[n]=[]),s.forEach(function(t,e){r[n][e]||(r[n][e]={}),u(a,t,r[n][e])})):r[n]=s.map(function(t){return t.value})}();else if(n>0){var a=t.substring(0,n),s=t.substring(n+1);r[a]||(r[a]={}),u(s,e&&e[a]||{},r[a])}else r[t]=e[t]&&e[t].value},n=function(t,e){return t.reduce(function(t,n){return r(n,e,t),t},{})};e.default=n,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function n(t){if(!t)return t;var e=Object.keys(t);if(e.length)return e.reduce(function(e,r){var u=t[r];return u&&(u.hasOwnProperty&&u.hasOwnProperty("value")?void 0!==u.value&&(e[r]=u.value):Array.isArray(u)?e[r]=u.map(function(t){return t.value||n(t)}):"string"!=typeof u&&(e[r]=n(u))),e},{})};e.default=r,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){var r=!0;t:for(;r;){var n=t,u=e;if(r=!1,!n||!u)return u;var o=n.indexOf(".");if(0!==o){var i=n.indexOf("["),a=n.indexOf("]");if(o>=0&&(0>i||i>o))t=n.substring(o+1),e=u[n.substring(0,o)],r=!0,o=i=a=void 0;else{if(!(i>=0&&(0>o||o>i)))return u[n];if(0>a)throw new Error("found [ but no ]");var s=n.substring(0,i),f=n.substring(i+1,a);if(!f.length)return u[s];if(0===i){t=n.substring(a+1),e=u[f],r=!0,o=i=a=s=f=void 0;continue t}if(!u[s])return;t=n.substring(a+1),e=u[s][f],r=!0,o=i=a=s=f=void 0}}else t=n.substring(1),e=u,r=!0,o=void 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){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 a,s;if(r.type===c.DESTROY){var l;return f({},e,(l={},l[n]=e[n]&&Object.keys(e[n]).reduce(function(t,r){var u;return r===o?t:f({},t,(u={},u[r]=e[n][r],u))},{}),l))}return f({},e,(s={},s[n]=f({},e[n],(a={},a[o]=M((e[n]||{})[o],i),a)),s))}return r.type===c.DESTROY?Object.keys(e).reduce(function(t,r){var u;return r===n?t:f({},t,(u={},u[r]=e[r],u))},{}):f({},e,(t={},t[n]=M(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 f({},u,d.default(t,function(t,e){return t(u[e]||T,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 f({},u,d.default(t,function(t,e){var o=function(e,r){var n=g.default(f({},T,e)),u=f({},T,r);return f({},u,d.default(t,function(t,r){return f({},u[r],{value:t(u[r]?u[r].value:void 0,e&&e[r]?e[r].value:void 0,g.default(u),n)})}))};if(n.key){var i;return f({},u[e],(i={},i[n.key]=o(r[e][n.key],u[e][n.key]),i))}return o(r[e],u[e])}))})},t}e.__esModule=!0;var a,s,f=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=r(2),l=r(3),d=n(l),p=r(14),v=n(p),y=r(16),h=n(y),m=r(13),g=n(m),b=r(38),_=n(b),O=r(43),x=n(O),A=r(44),j=n(A),S="_error";e.globalErrorKey=S;var T=(a={_active:void 0,_asyncValidating:!1},a[S]=void 0,a._submitting=!1,a._submitFailed=!1,a);e.initialState=T;var w=(s={},s[c.ADD_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,u=e.value,o=v.default(r,t),i=f({},t),a=o?[].concat(o):[],s={value:u};return void 0===n?a.push(s):a.splice(n,0,s),h.default(r,a,i)},s[c.BLUR]=function(t,e){var r=e.field,n=e.value,o=e.touch,i=(t._active,u(t,["_active"]));return h.default(r,function(t){var e=f({},t);return void 0!==n&&(e.value=n),o&&(e.touched=!0),e},i)},s[c.CHANGE]=function(t,e){var r=e.field,n=e.value,o=e.touch;return h.default(r,function(t){var e=f({},t,{value:n}),r=(e.asyncError,e.submitError,u(e,["asyncError","submitError"]));return o&&(r.touched=!0),r},t)},s[c.DESTROY]=function(){},s[c.FOCUS]=function(t,e){var r=e.field,n=h.default(r+".visited",!0,t);return n._active=r,n},s[c.INITIALIZE]=function(t,e){var r,n=e.data,u=e.fields;return f({},_.default(n,u,t),(r={_asyncValidating:!1,_active:void 0},r[S]=void 0,r._submitting=!1,r._submitFailed=!1,r))},s[c.REMOVE_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,u=v.default(r,t),o=f({},t),i=u?[].concat(u):[];return void 0===n?i.pop():isNaN(n)?delete i[n]:i.splice(n,1),h.default(r,i,o)},s[c.RESET]=function(t){var e;return f({},x.default(t),(e={_active:void 0,_asyncValidating:!1},e[S]=void 0,e._submitting=!1,e._submitFailed=!1,e))},s[c.START_ASYNC_VALIDATION]=function(t){return f({},t,{_asyncValidating:!0})},s[c.START_SUBMIT]=function(t){return f({},t,{_submitting:!0})},s[c.STOP_ASYNC_VALIDATION]=function(t,e){var r,n=e.errors;return f({},j.default(t,n,"asyncError"),(r={_asyncValidating:!1},r[S]=n&&n[S],r))},s[c.STOP_SUBMIT]=function(t,e){var r,n=e.errors;return f({},j.default(t,n,"submitError"),(r={},r[S]=n&&n[S],r._submitting=!1,r._submitFailed=!(!n||!Object.keys(n).length),r))},s[c.SUBMIT_FAILED]=function(t){return f({},t,{_submitFailed:!0})},s[c.TOUCH]=function(t,e){var r=e.fields;return f({},t,r.reduce(function(t,e){return h.default(e,function(t){return f({},t,{touched:!0})},t)},t))},s[c.UNTOUCH]=function(t,e){var r=e.fields;return f({},t,r.reduce(function(t,e){return h.default(e,function(t){if(t){var e=(t.touched,u(t,["touched"]));return e}return t},t)},t))},s),M=function(){var t=arguments.length<=0||void 0===arguments[0]?T:arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=w[e.type];return r?r(t,e):t};e.default=i(o)},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 u(t,e,n){for(var o=!0;o;){var i,a=t,s=e,f=n;o=!1;var c=a.indexOf(".");if(0!==c){var l=a.indexOf("["),d=a.indexOf("]");if(c>=0&&(0>l||l>c)){var p,v=a.substring(0,c);return r({},f,(p={},p[v]=u(a.substring(c+1),s,f[v]||{}),p))}if(l>=0&&(0>c||c>l)){var y,h,m,g,b=function(){if(0>d)throw new Error("found [ but no ]");var t=a.substring(0,l),e=a.substring(l+1,d),n=f[t]||[],o=a.substring(d+1);if(e){if(o.length){var i=n[e]||{},c=[].concat(n);return c[e]=u(o,s,i),{v:r({},f||{},(m={},m[t]=c,m))}}var p=[].concat(n);return p[e]="function"==typeof s?s(p[e]):s,{v:r({},f||{},(h={},h[t]=p,h))}}if(o.length){if(!(n&&n.length||"function"!=typeof s))return{v:f};var c=n.map(function(t){return u(o,s,t)});return{v:r({},f||{},(g={},g[t]=c,g))}}var v=void 0;if(Array.isArray(s))v=s;else if(f[t])v=n.map(function(t){return"function"==typeof s?s(t):s});else{if("function"==typeof s)return{v:f};v=s}return{v:r({},f||{},(y={},y[t]=v,y))}}();if("object"==typeof b)return b.v}return r({},f,(i={},i[a]="function"==typeof s?s(f[a]):s,i))}t=a.substring(1),e=s,n=f,o=!0,i=c=void 0}};e.default=n,t.exports=e.default},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,c;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),f(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(c=l[o],!f(t[c],e[c],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(50),s=r(49),f=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 f}function n(t){c.push(t);var e=!0;return function(){if(e){e=!1;var r=c.indexOf(t);c.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,f=s(f,t)}finally{l=!1}return c.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,f=e,c=[],l=!1;return u({type:a.INIT}),{dispatch:u,subscribe:n,getState:r,replaceReducer:o}}e.__esModule=!0,e.default=u;var o=r(23),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(20),o=n(u),i=r(63),a=n(i),s=r(62),f=n(s),c=r(61),l=n(c),d=r(22),p=n(d);e.createStore=o.default,e.combineReducers=a.default,e.bindActionCreators=f.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,r){return{actionTypes:g,blur:j,change:S,changeWithKey:T,destroy:w,focus:M,getValues:x.default,initialize:R,initializeWithKey:E,propTypes:_.default(e),reduxForm:c.default(t,e,r),reducer:s.default,reset:P,startAsyncValidation:V,startSubmit:I,stopAsyncValidation:C,stopSubmit:F,submitFailed:N,touch:U,touchWithKey:q,untouch:D,untouchWithKey:k}}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(15),s=u(a),f=r(30),c=u(f),l=r(3),d=u(l),p=r(6),v=u(p),y=r(5),h=n(y),m=r(2),g=n(m),b=r(29),_=u(b),O=r(13),x=u(O),A=i({},d.default(i({},h,{changeWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.change,{key:t}).apply(void 0,r)},initializeWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.initialize,{key:t}).apply(void 0,r)},reset:function(t){return v.default(h.reset,{key:t})()},touchWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.touch,{key:t}).apply(void 0,r)},untouchWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.untouch,{key:t}).apply(void 0,r)},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)}})),j=A.blur,S=A.change,T=A.changeWithKey,w=A.destroy,M=A.focus,R=A.initialize,E=A.initializeWithKey,P=A.reset,V=A.startAsyncValidation,I=A.startSubmit,C=A.stopAsyncValidation,F=A.stopSubmit,N=A.submitFailed,U=A.touch,q=A.touchWithKey,D=A.untouch,k=A.untouchWithKey;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},f=r(5),c=u(f),l=r(11),d=n(l),p=r(15),v=r(17),y=n(v),h=r(6),m=n(h),g=r(12),b=n(g),_=r(1),O=n(_),x=r(41),A=n(x),j=r(37),S=n(j),T=r(26),w=n(T),M=r(36),R=n(M),E=r(10),P=n(E),V=r(47),I=n(V),C=r(48),F=n(C),N=function(t,e,r,n,u,f,l){var v=r.Component,h=r.PropTypes;return function(g,_,x,j){var T=function(n){function f(t){i(this,f),n.call(this,t),this.asyncValidate=this.asyncValidate.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.fields=A.default(t,{},{},this.asyncValidate,e)}return a(f,n),f.prototype.componentWillMount=function(){var t=this.props,e=t.fields,r=t.initialize,n=t.initialValues;n&&r(n,e)},f.prototype.componentWillReceiveProps=function(t){y.default(this.props.fields,t.fields)&&y.default(this.props.form,t.form)||(this.fields=A.default(t,this.props,this.fields,this.asyncValidate,e)),y.default(this.props.initialValues,t.initialValues)||this.props.initialize(t.initialValues,t.fields)},f.prototype.componentWillUnmount=function(){t.destroyOnUnmount&&this.props.destroy()},f.prototype.asyncValidate=function c(t,e){var r=this,n=this.props,c=n.asyncValidate,u=n.dispatch,o=n.fields,i=n.form,a=n.startAsyncValidation,s=n.stopAsyncValidation,f=n.validate;if(c){var l=function(){var n=b.default(o,i);t&&(n[t]=e);var l=f(n,r.props);return!t||O.default(l[t])?{v:w.default(function(){return c(n,u,r.props)},a,s)}:void 0}();if("object"==typeof l)return l.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=b.default(u,o);return!t||P.default(t)?S.default(i(n),a,this.props,this.asyncValidate):R.default(function(r){P.default(r),S.default(i(t),a,e.props,e.asyncValidate)})},f.prototype.render=function(){var t,e=this,n=this.fields,i=this.props,a=(i.addArrayValue,i.asyncBlurFields,i.blur,i.change,i.destroy),f=(i.focus,i.fields),c=i.form,l=(i.initialValues,i.initialize),d=(i.onSubmit,i.propNamespace),p=i.reset,v=(i.removeArrayValue,i.returnRejectedSubmitPromise,i.startAsyncValidation,i.startSubmit,i.stopAsyncValidation,i.stopSubmit,i.submitFailed,i.touch),y=i.untouch,h=(i.validate,o(i,["addArrayValue","asyncBlurFields","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","propNamespace","reset","removeArrayValue","returnRejectedSubmitPromise","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","submitFailed","touch","untouch","validate"])),m=n._meta,g=m.allPristine,b=m.allValid,_=m.errors,O=m.formError,A=m.values,j={active:c._active,asyncValidating:c._asyncValidating,dirty:!g,error:O,errors:_,fields:n,formKey:x,invalid:!b,pristine:g,submitting:c._submitting,submitFailed:c._submitFailed,valid:b,values:A,asyncValidate:R.default(function(){return e.asyncValidate()}),destroyForm:R.default(a),handleSubmit:this.handleSubmit,initializeForm:R.default(function(t){return l(t,f)}),resetForm:R.default(p),touch:R.default(function(){return v.apply(void 0,arguments)}),touchAll:R.default(function(){return v.apply(void 0,f)}),untouch:R.default(function(){return y.apply(void 0,arguments)}),untouchAll:R.default(function(){return y.apply(void 0,f)})},S=d?(t={},t[d]=j,t):j;return r.createElement(u,s({},h,S))},f}(v);T.displayName="ReduxForm("+d.default(u)+")",T.WrappedComponent=u,T.propTypes={asyncBlurFields:h.arrayOf(h.string),asyncValidate:h.func,dispatch:h.func.isRequired,fields:h.arrayOf(h.string).isRequired,form:h.object,initialValues:h.any,onSubmit:h.func,propNamespace:h.string,readonly:h.bool,returnRejectedSubmitPromise:h.bool,validate:h.func,addArrayValue:h.func.isRequired,blur:h.func.isRequired,change:h.func.isRequired,destroy:h.func.isRequired,focus:h.func.isRequired,initialize:h.func.isRequired,removeArrayValue:h.func.isRequired,reset:h.func.isRequired,startAsyncValidation:h.func.isRequired,startSubmit:h.func.isRequired,stopAsyncValidation:h.func.isRequired,stopSubmit:h.func.isRequired,submitFailed:h.func.isRequired,touch:h.func.isRequired,untouch:h.func.isRequired},T.defaultProps={asyncBlurFields:[],form:p.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}};var M=s({},c,{blur:m.default(c.blur,{touch:!!t.touchOnBlur}),change:m.default(c.change,{touch:!!t.touchOnChange})}),E=void 0!==x&&null!==x?n(F.default(f,function(t){var e=j(t,g);if(!e)throw new Error('You need to mount the redux-form reducer at "'+g+'"');return e&&e[_]&&e[_][x]}),I.default(l,m.default(M,{form:_,key:x}))):n(F.default(f,function(t){var e=j(t,g);if(!e)throw new Error('You need to mount the redux-form reducer at "'+g+'"');return e&&e[_]}),I.default(l,m.default(M,{form:_})));return E(T)}};e.default=N,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){var e=t.PropTypes,r=e.any,n=e.bool,u=e.string,o=e.func,i=e.object;return{active:u,asyncValidating:n.isRequired,dirty:n.isRequired,error:r,errors:i,fields:i.isRequired,formKey:r,invalid:n.isRequired,pristine:n.isRequired,submitting:n.isRequired,submitFailed:n.isRequired,valid:n.isRequired,values:i.isRequired,asyncValidate:o.isRequired,destroyForm:o.isRequired,handleSubmit:o.isRequired,initializeForm:o.isRequired,resetForm:o.isRequired,touch:o.isRequired,touchAll:o.isRequired,untouch:o.isRequired,untouchAll:o.isRequired}};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){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(31),s=n(a),f=r(18),c=n(f),l=function(t,e,r){var n=e.Component,a=s.default(t,e,r);return function(t,r,s){return function(f){var l=a(f,r,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}(n);return c.default(p,f)}}};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=r(52),s=n(a),f=r(11),c=n(f),l=r(28),d=n(l),p=function(t,e,r){return function(n,a,f){var l=e.Component,p=e.PropTypes,v=function(c){function l(u){o(this,l),c.call(this,u),this.cache=s.default(this,{ReduxForm:{params:["reduxMountPoint","form","formKey","getFormState"],fn:d.default(u,t,e,r,n,a,f)}})}return i(l,c),l.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},l.prototype.render=function(){var t=this.cache.ReduxForm,r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.getFormState,r.touchOnBlur,r.touchOnChange,u(r,["reduxMountPoint","destroyOnUnmount","form","getFormState","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},l}(l);return v.displayName="ReduxFormConnector("+c.default(n)+")",v.WrappedComponent=n,v.propTypes={destroyOnUnmount:p.bool,reduxMountPoint:p.string,form:p.string.isRequired,formKey:p.string,getFormState:p.func,touchOnBlur:p.bool,touchOnChange:p.bool},v.defaultProps={reduxMountPoint:"form",getFormState:function(t,e){return t[e]}},v}};e.default=p,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,f=r.stopSubmit,c=r.submitFailed,l=r.returnRejectedSubmitPromise,d=r.touch,p=r.validate,v=p(e,r);if(d.apply(void 0,i),a.default(v)){var y=function(){var r=t(e,u);return o.default(r)?(s(),r.then(function(t){return f(),t},function(t){return f(t),l?Promise.reject(t):void 0})):r},h=n();return o.default(h)?h.then(y,function(){return c(),l?Promise.reject():Promise.resolve()}):y()}c()};e.default=s,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&&void 0!==t.value?{initial:e,value:t.value}:void 0===e?{}:{initial:e,value:e}},u=function(t,e){var u=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(!e)throw new Error("fields must be passed when initializing state");if(!t||!e.length)return u;var o=function i(t,e,r){for(var u=!0;u;){var o=t,a=e,s=r;u=!1;var f=o.indexOf(".");{if(0!==f){var c=o.indexOf("["),l=o.indexOf("]"),d=s||{};if(f>=0&&(0>c||c>f)){var p=o.substring(0,f);d[p]=a[p]&&i(o.substring(f+1),a[p],d[p]||{})}else c>=0&&(0>f||f>c)?!function(){if(0>l)throw new Error("found '[' but no ']': '"+o+"'");var t=o.substring(0,c),e=a[t],r=d[t],u=o.substring(l+1);Array.isArray(e)?u.length?d[t]=e.map(function(t,e){return i(u,t,r&&r[e])}):d[t]=e.map(function(t,e){return n(r&&r[e],t)}):d[t]=n(r,e)}():d[o]=n(d[o],a&&a[o]);return d}t=o.substring(1),e=a,r=s,u=!0,f=void 0}}};return e.reduce(function(e,r){return o(r,t,e)},r({},u))};e.default=u,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 instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();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=r(32),o=n(u),i=r(33),a=n(i),s=r(7),f=n(s),c=r(34),l=n(c),d=r(35),p=n(d),v=r(45),y=n(v),h=r(14),m=n(h),g=r(46),b=n(g),_=function O(t,e,r,n,u,i,s,c){for(var d=arguments,v=!0;v;){var h=t,g=e,_=r,x=n,A=u,j=i,S=s,T=c;void 0===_&&(_=""), | ||
v=!1;var w=d.length<=8||void 0===d[8]?function(){return null}:d[8],M=T.asyncBlurFields,R=T.blur,E=T.change,P=T.focus,V=T.form,I=T.initialValues,C=T.readonly,F=T.addArrayValue,N=T.removeArrayValue,U=g.indexOf("."),q=g.indexOf("["),D=g.indexOf("]");if(q>0&&D!==q+1)throw new Error("found [ not followed by ]");if(q>0&&(0>U||U>q)){var k=function(){var t=g.substring(0,q),e=g.substring(D+1);"."===e[0]&&(e=e.substring(1));var r=h&&h[t]||[];x[t]||(x[t]=[],Object.defineProperty(x[t],"addField",{value:function(e,r){return F(_+t,e,r)}}),Object.defineProperty(x[t],"removeField",{value:function(e){return N(_+t,e)}}));var n=x[t];return r.forEach(function(r,u){e&&!n[u]&&(n[u]={});var o=e?n[u]:{},i=O(r,e,""+_+t+"["+u+"]"+(e?".":""),o,A,j,S,T,w);e||(n[u]=i)}),n.length>r.length&&n.splice(r.length,n.length-r.length),{v:n}}();if("object"==typeof k)return k.v}if(!(U>0)){var W=_+g,B=x[g]||{};if(B.name!==W){var K=a.default(W,E,S),L=m.default(W,I);B.name=W,B.defaultChecked=L===!0,B.defaultValue=L,B.initialValue=L,C||(B.onBlur=o.default(W,R,S,~M.indexOf(W)&&function(t,e){return y.default(j(t,e))}),B.onChange=K,B.onDragStart=f.default(W,function(){return B.value}),B.onDrop=l.default(W,E),B.onFocus=p.default(W,P),B.onUpdate=K),B.valid=!0,B.invalid=!1,Object.defineProperty(B,"_isField",{value:!0})}var Y=(g?h[g]:h)||{},z=m.default(W,A),H=b.default(B,Y,W===V._active,z);return(g||x[g]!==H)&&(x[g]=H),w(H),H}var G=g.substring(0,U),Z=g.substring(U+1);x[G]||(x[G]={}),d=[t=h[G]||{},e=Z,r=_+G+".",n=x[G],u=A,i=j,s=S,c=T,w],v=!0,w=M=R=E=P=V=I=C=F=N=U=q=D=k=G=Z=void 0}};e.default=_,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(40),i=n(o),a=r(16),s=n(a),f=r(12),c=n(f),l=r(42),d=n(l),p=function(t,e,r,n,o){var a=t.fields,f=t.form,l=t.validate,p=e.fields,v=c.default(a,f),y=l(v,t),h={},m=y._error||f._error,g=!m,b=!0,_=function(t){t.error&&(h=s.default(t.name,t.error,h),g=!1),t.dirty&&(b=!1)},O=p?p.reduce(function(t,e){return~a.indexOf(e)?t:d.default(t,e)},u({},r)):u({},r);return a.forEach(function(e){i.default(f,e,void 0,O,y,n,o,t,_)}),Object.defineProperty(O,"_meta",{value:{allPristine:b,allValid:g,values:v,errors:h,formError:m}}),O};e.default=p,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){var n=r({},t);return delete n[e],n},u=function o(t,e){var u=e.indexOf("."),i=e.indexOf("["),a=e.indexOf("]");if(i>0&&a!==i+1)throw new Error("found [ not followed by ]");if(i>0&&(0>u||u>i)){var s,f=function(){var u=e.substring(0,i);if(!Array.isArray(t[u]))return{v:n(t,u)};var f=e.substring(a+1);if("."===f[0]&&(f=f.substring(1)),f){var c=function(){var e=[];return t[u].forEach(function(t,r){var n=o(t,f);Object.keys(n).length&&(e[r]=n)}),{v:{v:e.length?r({},t,(s={},s[u]=e,s)):n(t,u)}}}();if("object"==typeof c)return c.v}return{v:n(t,u)}}();if("object"==typeof f)return f.v}if(u>0){var c,l=e.substring(0,u),d=e.substring(u+1);if(!t[l])return t;var p=o(t[l],d);return Object.keys(p).length?r({},t,(c={},c[l]=o(t[l],d),c)):n(t,l)}return n(t,e)};e.default=u,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){return void 0===t||t&&void 0===t.initial?{}:{initial:t.initial,value:t.initial}},n=function(t){return t&&"object"==typeof t&&(void 0!==t.value||void 0!==t.initial)},u=function o(t){return t?Object.keys(t).reduce(function(e,u){var i=t[u];return Array.isArray(i)?e[u]=i.map(function(t){return n(t)?r(t):o(t)}):i&&(n(i)?e[u]=r(i):"object"==typeof i&&null!==i?e[u]=o(i):e[u]=i),e},{}):t};e.default=u,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){return"_"===t[0]},u=function o(t,e,u){for(var i=!0;i;){var a=t,s=e,f=u;i=!1;var c=function(){return Array.isArray(a)?a.map(function(t,e){return o(t,s&&s[e],f)}):"object"==typeof a?Object.keys(a).reduce(function(t,e){var u;return n(e)?t:r({},t,(u={},u[e]=o(a[e],s&&s[e],f),u))},a):a};if(!s){if(a[f]){var l=r({},a);return delete l[f],l}return c()}if("string"==typeof s){var d;return r({},a,(d={},d[f]=s,d))}{if(!Array.isArray(s))return Object.keys(s).reduce(function(t,e){var u;return n(e)?t:r({},t,(u={},u[e]=o(a&&a[e],s[e],f),u))},c()||{});if(!a||Array.isArray(a)){var p=function(){var t=(a||[]).map(function(t,e){return o(t,s[e],f)});return s.forEach(function(e,r){return t[r]=o(t[r],e,f)}),{v:t}}();if("object"==typeof p)return p.v}t=a,e=s[0],u=f,i=!0,c=l=d=p=void 0}}};e.default=u,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(){},a=function(t){return o.default(t)?t.then(i,i):t};e.default=a,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(39),i=n(o),a=r(1),s=n(a),f=function(t,e,r,n){var o={};t.value!==e.value&&(o.value=e.value,o.checked="boolean"==typeof e.value?e.value:void 0);var a=i.default(e.value,e.initial);t.pristine!==a&&(o.dirty=!a,o.pristine=a);var f=n||e.submitError||e.asyncError;f!==t.error&&(o.error=f);var c=s.default(f);t.valid!==c&&(o.invalid=!c,o.valid=c),r!==t.active&&(o.active=r);var l=!!e.touched;l!==t.touched&&(o.touched=l);var d=!!e.visited;return d!==t.visited&&(o.visited=d),Object.keys(o).length?u({},t,o):t};e.default=f,t.exports=e.default},function(t,e,r){"use strict";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},u=r(21),o=function(t,e){return t?"function"==typeof t?t.length>1?function(r,o){return n({},t(r,o),u.bindActionCreators(e,r),{dispatch:r})}:function(r){return n({},t(r),u.bindActionCreators(e,r),{dispatch:r})}:function(r){return n({},u.bindActionCreators(t,r),u.bindActionCreators(e,r),{dispatch:r})}:function(t){return n({},u.bindActionCreators(e,t),{dispatch:t})}};e.default=o,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){if(t){if("function"!=typeof t)throw new Error("mapStateToProps must be a function");return t.length>1?function(n,u){return r({},t(n,u),{form:e(n)})}:function(n){return r({},t(n),{form:e(n)})}}return function(t){return{form:e(t)}}};e.default=n,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 f=[r,n,u,o,i,a],c=0;s=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return f[c++]}))}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(53),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(17),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(56),i=n(o),a=r(55),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=c.default(r);return function(r,a,f){function c(t,e){var r=t.getState(),n=w?b(r,e):b(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?S(r,e):S(r);return _.default(v.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=T(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),b=r||O,S=v.default(a)?h.default(a):a||x,T=f||A,w=b.length>1,M=S.length>1,R=y.pure,E=void 0===R?!0:R,P=j++;return function(r){var a=function(e){function n(t,r){u(this,n),e.call(this,t,r),this.version=P,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=c(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=c(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 f=r(19),c=n(f),l=r(59),d=n(l),p=r(58),v=n(p),y=r(60),h=n(y),m=r(18),g=n(m),b=r(51),_=n(b),O=function(){return{}},x=function(t){return{dispatch:t}},A=function(t,e,r){return s({},r,t,e)},j=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,c=t.Children,l=f.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(),c.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(19),f=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(25),o=n(u),i=r(54),a=n(i),s=a.default(o.default),f=s.Provider,c=s.connect;e.Provider=f,e.connect=c},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(21);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=[],f={getState:u.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(f)}),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(22),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(24),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=c.default(r,function(){});return function(t,n){if(void 0===t&&(t=i),e)throw e;var o=!1,a=c.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(20),s=r(23),f=(n(s),r(24)),c=n(f),l=r(64),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(25),o=n(u),i=r(57),a=r(27),s=n(a),f=s.default(!1,o.default,i.connect),c=f.actionTypes,l=f.blur,d=f.change,p=f.changeWithKey,v=f.destroy,y=f.focus,h=f.reducer,m=f.reduxForm,g=f.getValues,b=f.initialize,_=f.initializeWithKey,O=f.propTypes,x=f.reset,A=f.startAsyncValidation,j=f.startSubmit,S=f.stopAsyncValidation,T=f.stopSubmit,w=f.touch,M=f.touchWithKey,R=f.untouch,E=f.untouchWithKey;e.actionTypes=c,e.blur=l,e.change=d,e.changeWithKey=p,e.destroy=v,e.focus=y,e.reducer=h,e.reduxForm=m,e.getValues=g,e.initialize=b,e.initializeWithKey=_,e.propTypes=O,e.reset=x,e.startAsyncValidation=A,e.startSubmit=j,e.stopAsyncValidation=S,e.stopSubmit=T,e.touch=w,e.touchWithKey=M,e.untouch=R,e.untouchWithKey=E},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/ADD_ARRAY_VALUE";e.ADD_ARRAY_VALUE=r;var n="redux-form/BLUR";e.BLUR=n;var u="redux-form/CHANGE";e.CHANGE=u;var o="redux-form/DESTROY";e.DESTROY=o;var i="redux-form/FOCUS";e.FOCUS=i;var a="redux-form/INITIALIZE";e.INITIALIZE=a;var s="redux-form/REMOVE_ARRAY_VALUE";e.REMOVE_ARRAY_VALUE=s;var f="redux-form/RESET";e.RESET=f;var c="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=c;var l="redux-form/START_SUBMIT";e.START_SUBMIT=l;var d="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=d;var p="redux-form/STOP_SUBMIT";e.STOP_SUBMIT=p;var v="redux-form/SUBMIT_FAILED";e.SUBMIT_FAILED=v;var y="redux-form/TOUCH";e.TOUCH=y;var h="redux-form/UNTOUCH";e.UNTOUCH=h},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";e.__esModule=!0;var n=r(2),u=function(t,e,r){return{type:n.ADD_ARRAY_VALUE,path:t,value:e,index:r}};e.addArrayValue=u;var o=function(t,e){return{type:n.BLUR,field:t,value:e}};e.blur=o;var i=function(t,e){return{type:n.CHANGE,field:t,value:e}};e.change=i;var a=function(){return{type:n.DESTROY}};e.destroy=a;var s=function(t){return{type:n.FOCUS,field:t}};e.focus=s;var f=function(t,e){if(!Array.isArray(e))throw new Error("must provide fields array to initialize() action creator");return{type:n.INITIALIZE,data:t,fields:e}};e.initialize=f;var c=function(t,e){return{type:n.REMOVE_ARRAY_VALUE,path:t,index:e}};e.removeArrayValue=c;var l=function(){return{type:n.RESET}};e.reset=l;var d=function(){return{type:n.START_ASYNC_VALIDATION}};e.startAsyncValidation=d;var p=function(){return{type:n.START_SUBMIT}};e.startSubmit=p;var v=function(t){return{type:n.STOP_ASYNC_VALIDATION,errors:t}};e.stopAsyncValidation=v;var y=function(t){return{type:n.STOP_SUBMIT,errors:t}};e.stopSubmit=y;var h=function(){return{type:n.SUBMIT_FAILED}};e.submitFailed=h;var m=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:n.TOUCH,fields:e}};e.touch=m;var g=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:n.UNTOUCH,fields:e}};e.untouch=g},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&&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,f=t.dataTransfer;return"checkbox"===n?a:"file"===n?s||f&&f.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=function u(t,e,r){var n=t.indexOf("."),o=t.indexOf("["),i=t.indexOf("]");if(o>0&&i!==o+1)throw new Error("found [ not followed by ]");if(o>0&&(0>n||n>o))!function(){var n=t.substring(0,o),a=t.substring(i+1);"."===a[0]&&(a=a.substring(1));var s=e&&e[n]||[];a?(r[n]||(r[n]=[]),s.forEach(function(t,e){r[n][e]||(r[n][e]={}),u(a,t,r[n][e])})):r[n]=s.map(function(t){return t.value})}();else if(n>0){var a=t.substring(0,n),s=t.substring(n+1);r[a]||(r[a]={}),u(s,e&&e[a]||{},r[a])}else r[t]=e[t]&&e[t].value},n=function(t,e){return t.reduce(function(t,n){return r(n,e,t),t},{})};e.default=n,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function n(t){if(!t)return t;var e=Object.keys(t);if(e.length)return e.reduce(function(e,r){var u=t[r];if(u)if(u.hasOwnProperty&&u.hasOwnProperty("value"))void 0!==u.value&&(e[r]=u.value);else if(Array.isArray(u))e[r]=u.map(function(t){return t.value||n(t)});else if("object"==typeof u){var o=n(u);o&&Object.keys(o).length>0&&(e[r]=o)}return e},{})};e.default=r,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){var r=!0;t:for(;r;){var n=t,u=e;if(r=!1,!n||!u)return u;var o=n.indexOf(".");if(0!==o){var i=n.indexOf("["),a=n.indexOf("]");if(o>=0&&(0>i||i>o))t=n.substring(o+1),e=u[n.substring(0,o)],r=!0,o=i=a=void 0;else{if(!(i>=0&&(0>o||o>i)))return u[n];if(0>a)throw new Error("found [ but no ]");var s=n.substring(0,i),f=n.substring(i+1,a);if(!f.length)return u[s];if(0===i){t=n.substring(a+1),e=u[f],r=!0,o=i=a=s=f=void 0;continue t}if(!u[s])return;t=n.substring(a+1),e=u[s][f],r=!0,o=i=a=s=f=void 0}}else t=n.substring(1),e=u,r=!0,o=void 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){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 a,s;if(r.type===c.DESTROY){var l;return f({},e,(l={},l[n]=e[n]&&Object.keys(e[n]).reduce(function(t,r){var u;return r===o?t:f({},t,(u={},u[r]=e[n][r],u))},{}),l))}return f({},e,(s={},s[n]=f({},e[n],(a={},a[o]=M((e[n]||{})[o],i),a)),s))}return r.type===c.DESTROY?Object.keys(e).reduce(function(t,r){var u;return r===n?t:f({},t,(u={},u[r]=e[r],u))},{}):f({},e,(t={},t[n]=M(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 f({},u,d.default(t,function(t,e){return t(u[e]||T,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 f({},u,d.default(t,function(t,e){var o=function(e,r){var n=g.default(f({},T,e)),u=f({},T,r);return f({},u,d.default(t,function(t,r){return f({},u[r],{value:t(u[r]?u[r].value:void 0,e&&e[r]?e[r].value:void 0,g.default(u),n)})}))};if(n.key){var i;return f({},u[e],(i={},i[n.key]=o(r[e][n.key],u[e][n.key]),i))}return o(r[e],u[e])}))})},t}e.__esModule=!0;var a,s,f=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=r(2),l=r(3),d=n(l),p=r(14),v=n(p),y=r(16),h=n(y),m=r(13),g=n(m),b=r(38),_=n(b),O=r(43),x=n(O),A=r(44),j=n(A),S="_error";e.globalErrorKey=S;var T=(a={_active:void 0,_asyncValidating:!1},a[S]=void 0,a._submitting=!1,a._submitFailed=!1,a);e.initialState=T;var w=(s={},s[c.ADD_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,u=e.value,o=v.default(r,t),i=f({},t),a=o?[].concat(o):[],s=null!==u&&"object"==typeof u?_.default(u,Object.keys(u)):{value:u};return void 0===n?a.push(s):a.splice(n,0,s),h.default(r,a,i)},s[c.BLUR]=function(t,e){var r=e.field,n=e.value,o=e.touch,i=(t._active,u(t,["_active"]));return h.default(r,function(t){var e=f({},t);return void 0!==n&&(e.value=n),o&&(e.touched=!0),e},i)},s[c.CHANGE]=function(t,e){var r=e.field,n=e.value,o=e.touch;return h.default(r,function(t){var e=f({},t,{value:n}),r=(e.asyncError,e.submitError,u(e,["asyncError","submitError"]));return o&&(r.touched=!0),r},t)},s[c.DESTROY]=function(){},s[c.FOCUS]=function(t,e){var r=e.field,n=h.default(r+".visited",!0,t);return n._active=r,n},s[c.INITIALIZE]=function(t,e){var r,n=e.data,u=e.fields;return f({},_.default(n,u,t),(r={_asyncValidating:!1,_active:void 0},r[S]=void 0,r._submitting=!1,r._submitFailed=!1,r))},s[c.REMOVE_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,u=v.default(r,t),o=f({},t),i=u?[].concat(u):[];return void 0===n?i.pop():isNaN(n)?delete i[n]:i.splice(n,1),h.default(r,i,o)},s[c.RESET]=function(t){var e;return f({},x.default(t),(e={_active:void 0,_asyncValidating:!1},e[S]=void 0,e._submitting=!1,e._submitFailed=!1,e))},s[c.START_ASYNC_VALIDATION]=function(t){return f({},t,{_asyncValidating:!0})},s[c.START_SUBMIT]=function(t){return f({},t,{_submitting:!0})},s[c.STOP_ASYNC_VALIDATION]=function(t,e){var r,n=e.errors;return f({},j.default(t,n,"asyncError"),(r={_asyncValidating:!1},r[S]=n&&n[S],r))},s[c.STOP_SUBMIT]=function(t,e){var r,n=e.errors;return f({},j.default(t,n,"submitError"),(r={},r[S]=n&&n[S],r._submitting=!1,r._submitFailed=!(!n||!Object.keys(n).length),r))},s[c.SUBMIT_FAILED]=function(t){return f({},t,{_submitFailed:!0})},s[c.TOUCH]=function(t,e){var r=e.fields;return f({},t,r.reduce(function(t,e){return h.default(e,function(t){return f({},t,{touched:!0})},t)},t))},s[c.UNTOUCH]=function(t,e){var r=e.fields;return f({},t,r.reduce(function(t,e){return h.default(e,function(t){if(t){var e=(t.touched,u(t,["touched"]));return e}return t},t)},t))},s),M=function(){var t=arguments.length<=0||void 0===arguments[0]?T:arguments[0],e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=w[e.type];return r?r(t,e):t};e.default=i(o)},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 u(t,e,n){for(var o=!0;o;){var i,a=t,s=e,f=n;o=!1;var c=a.indexOf(".");if(0!==c){var l=a.indexOf("["),d=a.indexOf("]");if(c>=0&&(0>l||l>c)){var p,v=a.substring(0,c);return r({},f,(p={},p[v]=u(a.substring(c+1),s,f[v]||{}),p))}if(l>=0&&(0>c||c>l)){var y,h,m,g,b=function(){if(0>d)throw new Error("found [ but no ]");var t=a.substring(0,l),e=a.substring(l+1,d),n=f[t]||[],o=a.substring(d+1);if(e){if(o.length){var i=n[e]||{},c=[].concat(n);return c[e]=u(o,s,i),{v:r({},f||{},(m={},m[t]=c,m))}}var p=[].concat(n);return p[e]="function"==typeof s?s(p[e]):s,{v:r({},f||{},(h={},h[t]=p,h))}}if(o.length){if(!(n&&n.length||"function"!=typeof s))return{v:f};var c=n.map(function(t){return u(o,s,t)});return{v:r({},f||{},(g={},g[t]=c,g))}}var v=void 0;if(Array.isArray(s))v=s;else if(f[t])v=n.map(function(t){return"function"==typeof s?s(t):s});else{if("function"==typeof s)return{v:f};v=s}return{v:r({},f||{},(y={},y[t]=v,y))}}();if("object"==typeof b)return b.v}return r({},f,(i={},i[a]="function"==typeof s?s(f[a]):s,i))}t=a.substring(1),e=s,n=f,o=!0,i=c=void 0}};e.default=n,t.exports=e.default},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,c;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),f(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(c=l[o],!f(t[c],e[c],r))return!1;return typeof t==typeof e}var i=Array.prototype.slice,a=r(50),s=r(49),f=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 f}function n(t){c.push(t);var e=!0;return function(){if(e){e=!1;var r=c.indexOf(t);c.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,f=s(f,t)}finally{l=!1}return c.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,f=e,c=[],l=!1;return u({type:a.INIT}),{dispatch:u,subscribe:n,getState:r,replaceReducer:o}}e.__esModule=!0,e.default=u;var o=r(23),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(20),o=n(u),i=r(63),a=n(i),s=r(62),f=n(s),c=r(61),l=n(c),d=r(22),p=n(d);e.createStore=o.default,e.combineReducers=a.default,e.bindActionCreators=f.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)===u}e.__esModule=!0,e.default=r;var n=function(t){return Function.prototype.toString.call(t)},u=n(Object);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,r){return{actionTypes:g,blur:j,change:S,changeWithKey:T,destroy:w,focus:M,getValues:x.default,initialize:R,initializeWithKey:E,propTypes:_.default(e),reduxForm:c.default(t,e,r),reducer:s.default,reset:P,startAsyncValidation:V,startSubmit:I,stopAsyncValidation:C,stopSubmit:F,submitFailed:N,touch:U,touchWithKey:k,untouch:q,untouchWithKey:D}}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(15),s=u(a),f=r(30),c=u(f),l=r(3),d=u(l),p=r(6),v=u(p),y=r(5),h=n(y),m=r(2),g=n(m),b=r(29),_=u(b),O=r(13),x=u(O),A=i({},d.default(i({},h,{changeWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.change,{key:t}).apply(void 0,r)},initializeWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.initialize,{key:t}).apply(void 0,r)},reset:function(t){return v.default(h.reset,{key:t})()},touchWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.touch,{key:t}).apply(void 0,r)},untouchWithKey:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return v.default(h.untouch,{key:t}).apply(void 0,r)},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)}})),j=A.blur,S=A.change,T=A.changeWithKey,w=A.destroy,M=A.focus,R=A.initialize,E=A.initializeWithKey,P=A.reset,V=A.startAsyncValidation,I=A.startSubmit,C=A.stopAsyncValidation,F=A.stopSubmit,N=A.submitFailed,U=A.touch,k=A.touchWithKey,q=A.untouch,D=A.untouchWithKey;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},f=r(5),c=u(f),l=r(11),d=n(l),p=r(15),v=r(17),y=n(v),h=r(6),m=n(h),g=r(12),b=n(g),_=r(1),O=n(_),x=r(41),A=n(x),j=r(37),S=n(j),T=r(26),w=n(T),M=r(36),R=n(M),E=r(10),P=n(E),V=r(47),I=n(V),C=r(48),F=n(C),N=function(t,e,r,n,u,f,l){var v=r.Component,h=r.PropTypes;return function(g,_,x,j){var T=function(n){function f(t){i(this,f),n.call(this,t),this.asyncValidate=this.asyncValidate.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.fields=A.default(t,{},{},this.asyncValidate,e)}return a(f,n),f.prototype.componentWillMount=function(){var t=this.props,e=t.fields,r=t.initialize,n=t.initialValues;n&&r(n,e)},f.prototype.componentWillReceiveProps=function(t){y.default(this.props.fields,t.fields)&&y.default(this.props.form,t.form)||(this.fields=A.default(t,this.props,this.fields,this.asyncValidate,e)),y.default(this.props.initialValues,t.initialValues)||this.props.initialize(t.initialValues,t.fields)},f.prototype.componentWillUnmount=function(){t.destroyOnUnmount&&this.props.destroy()},f.prototype.asyncValidate=function c(t,e){var r=this,n=this.props,c=n.asyncValidate,u=n.dispatch,o=n.fields,i=n.form,a=n.startAsyncValidation,s=n.stopAsyncValidation,f=n.validate;if(c){var l=function(){var n=b.default(o,i);t&&(n[t]=e);var l=f(n,r.props);return!t||O.default(l[t])?{v:w.default(function(){return c(n,u,r.props)},a,s)}:void 0}();if("object"==typeof l)return l.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};return!t||P.default(t)?S.default(i(n),b.default(u,o),this.props,this.asyncValidate):R.default(function(r){P.default(r),S.default(i(t),b.default(u,o),e.props,e.asyncValidate)})},f.prototype.render=function(){var t,e=this,n=this.fields,i=this.props,a=(i.addArrayValue,i.asyncBlurFields,i.blur,i.change,i.destroy),f=(i.focus,i.fields),c=i.form,l=(i.initialValues,i.initialize),d=(i.onSubmit,i.propNamespace),p=i.reset,v=(i.removeArrayValue,i.returnRejectedSubmitPromise,i.startAsyncValidation,i.startSubmit,i.stopAsyncValidation,i.stopSubmit,i.submitFailed,i.touch),y=i.untouch,h=(i.validate,o(i,["addArrayValue","asyncBlurFields","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","propNamespace","reset","removeArrayValue","returnRejectedSubmitPromise","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","submitFailed","touch","untouch","validate"])),m=n._meta,g=m.allPristine,b=m.allValid,_=m.errors,O=m.formError,A=m.values,j={active:c._active,asyncValidating:c._asyncValidating,dirty:!g,error:O,errors:_,fields:n,formKey:x,invalid:!b,pristine:g,submitting:c._submitting,submitFailed:c._submitFailed,valid:b,values:A,asyncValidate:R.default(function(){return e.asyncValidate()}),destroyForm:R.default(a),handleSubmit:this.handleSubmit,initializeForm:R.default(function(t){return l(t,f)}),resetForm:R.default(p),touch:R.default(function(){return v.apply(void 0,arguments)}),touchAll:R.default(function(){return v.apply(void 0,f)}),untouch:R.default(function(){return y.apply(void 0,arguments)}),untouchAll:R.default(function(){return y.apply(void 0,f)})},S=d?(t={},t[d]=j,t):j;return r.createElement(u,s({},h,S))},f}(v);T.displayName="ReduxForm("+d.default(u)+")",T.WrappedComponent=u,T.propTypes={asyncBlurFields:h.arrayOf(h.string),asyncValidate:h.func,dispatch:h.func.isRequired,fields:h.arrayOf(h.string).isRequired,form:h.object,initialValues:h.any,onSubmit:h.func,propNamespace:h.string,readonly:h.bool,returnRejectedSubmitPromise:h.bool,validate:h.func,addArrayValue:h.func.isRequired,blur:h.func.isRequired,change:h.func.isRequired,destroy:h.func.isRequired,focus:h.func.isRequired,initialize:h.func.isRequired,removeArrayValue:h.func.isRequired,reset:h.func.isRequired,startAsyncValidation:h.func.isRequired,startSubmit:h.func.isRequired,stopAsyncValidation:h.func.isRequired,stopSubmit:h.func.isRequired,submitFailed:h.func.isRequired,touch:h.func.isRequired,untouch:h.func.isRequired},T.defaultProps={asyncBlurFields:[],form:p.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}};var M=s({},c,{blur:m.default(c.blur,{touch:!!t.touchOnBlur}),change:m.default(c.change,{touch:!!t.touchOnChange})}),E=void 0!==x&&null!==x?n(F.default(f,function(t){var e=j(t,g);if(!e)throw new Error('You need to mount the redux-form reducer at "'+g+'"');return e&&e[_]&&e[_][x]}),I.default(l,m.default(M,{form:_,key:x}))):n(F.default(f,function(t){var e=j(t,g);if(!e)throw new Error('You need to mount the redux-form reducer at "'+g+'"');return e&&e[_]}),I.default(l,m.default(M,{form:_})));return E(T)}};e.default=N,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){var e=t.PropTypes,r=e.any,n=e.bool,u=e.string,o=e.func,i=e.object;return{active:u,asyncValidating:n.isRequired,dirty:n.isRequired,error:r,errors:i,fields:i.isRequired,formKey:r,invalid:n.isRequired,pristine:n.isRequired,submitting:n.isRequired,submitFailed:n.isRequired,valid:n.isRequired,values:i.isRequired,asyncValidate:o.isRequired,destroyForm:o.isRequired,handleSubmit:o.isRequired,initializeForm:o.isRequired,resetForm:o.isRequired,touch:o.isRequired,touchAll:o.isRequired,untouch:o.isRequired,untouchAll:o.isRequired}};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){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(31),s=n(a),f=r(18),c=n(f),l=function(t,e,r){var n=e.Component,a=s.default(t,e,r);return function(t,r,s){return function(f){var l=a(f,r,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}(n);return c.default(p,f)}}};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=r(52),s=n(a),f=r(11),c=n(f),l=r(28),d=n(l),p=function(t,e,r){return function(n,a,f){var l=e.Component,p=e.PropTypes,v=function(c){function l(u){o(this,l),c.call(this,u),this.cache=s.default(this,{ReduxForm:{params:["reduxMountPoint","form","formKey","getFormState"],fn:d.default(u,t,e,r,n,a,f)}})}return i(l,c),l.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},l.prototype.render=function(){var t=this.cache.ReduxForm,r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.getFormState,r.touchOnBlur,r.touchOnChange,u(r,["reduxMountPoint","destroyOnUnmount","form","getFormState","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},l}(l);return v.displayName="ReduxFormConnector("+c.default(n)+")",v.WrappedComponent=n,v.propTypes={destroyOnUnmount:p.bool,reduxMountPoint:p.string,form:p.string.isRequired,formKey:p.string,getFormState:p.func,touchOnBlur:p.bool,touchOnChange:p.bool},v.defaultProps={reduxMountPoint:"form",getFormState:function(t,e){return t[e]}},v}};e.default=p,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,f=r.stopSubmit,c=r.submitFailed,l=r.returnRejectedSubmitPromise,d=r.touch,p=r.validate,v=p(e,r);if(d.apply(void 0,i),a.default(v)){var y=function(){var r=t(e,u);return o.default(r)?(s(),r.then(function(t){return f(),t},function(t){return f(t),l?Promise.reject(t):void 0})):r},h=n();return o.default(h)?h.then(y,function(){return c(),l?Promise.reject():Promise.resolve()}):y()}c()};e.default=s,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&&void 0!==t.value?{initial:e,value:t.value}:void 0===e?{}:{initial:e,value:e}},u=function(t,e){var u=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(!e)throw new Error("fields must be passed when initializing state");if(!t||!e.length)return u;var o=function i(t,e,r){for(var u=!0;u;){var o=t,a=e,s=r;u=!1;var f=o.indexOf(".");{if(0!==f){var c=o.indexOf("["),l=o.indexOf("]"),d=s||{};if(f>=0&&(0>c||c>f)){var p=o.substring(0,f);d[p]=a[p]&&i(o.substring(f+1),a[p],d[p]||{})}else c>=0&&(0>f||f>c)?!function(){if(0>l)throw new Error("found '[' but no ']': '"+o+"'");var t=o.substring(0,c),e=a[t],r=d[t],u=o.substring(l+1);Array.isArray(e)?u.length?d[t]=e.map(function(t,e){return i(u,t,r&&r[e])}):d[t]=e.map(function(t,e){return n(r&&r[e],t)}):d[t]=n(r,e)}():d[o]=n(d[o],a&&a[o]);return d}t=o.substring(1),e=a,r=s,u=!0,f=void 0}}};return e.reduce(function(e,r){return o(r,t,e)},r({},u))};e.default=u,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 instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();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=r(32),o=n(u),i=r(33),a=n(i),s=r(7),f=n(s),c=r(34),l=n(c),d=r(35),p=n(d),v=r(45),y=n(v),h=r(14),m=n(h),g=r(46),b=n(g),_=function O(t,e,r,n,u,i,s,c){ | ||
for(var d=arguments,v=!0;v;){var h=t,g=e,_=r,x=n,A=u,j=i,S=s,T=c;void 0===_&&(_=""),v=!1;var w=d.length<=8||void 0===d[8]?function(){return null}:d[8],M=T.asyncBlurFields,R=T.blur,E=T.change,P=T.focus,V=T.form,I=T.initialValues,C=T.readonly,F=T.addArrayValue,N=T.removeArrayValue,U=g.indexOf("."),k=g.indexOf("["),q=g.indexOf("]");if(k>0&&q!==k+1)throw new Error("found [ not followed by ]");if(k>0&&(0>U||U>k)){var D=function(){var t=g.substring(0,k),e=g.substring(q+1);"."===e[0]&&(e=e.substring(1));var r=h&&h[t]||[];x[t]||(x[t]=[],Object.defineProperty(x[t],"addField",{value:function(e,r){return F(_+t,e,r)}}),Object.defineProperty(x[t],"removeField",{value:function(e){return N(_+t,e)}}));var n=x[t];return r.forEach(function(r,u){e&&!n[u]&&(n[u]={});var o=e?n[u]:{},i=O(r,e,""+_+t+"["+u+"]"+(e?".":""),o,A,j,S,T,w);e||(n[u]=i)}),n.length>r.length&&n.splice(r.length,n.length-r.length),{v:n}}();if("object"==typeof D)return D.v}if(!(U>0)){var W=_+g,B=x[g]||{};if(B.name!==W){var K=a.default(W,E,S),L=m.default(W,I);B.name=W,B.defaultChecked=L===!0,B.defaultValue=L,B.initialValue=L,C||(B.onBlur=o.default(W,R,S,~M.indexOf(W)&&function(t,e){return y.default(j(t,e))}),B.onChange=K,B.onDragStart=f.default(W,function(){return B.value}),B.onDrop=l.default(W,E),B.onFocus=p.default(W,P),B.onUpdate=K),B.valid=!0,B.invalid=!1,Object.defineProperty(B,"_isField",{value:!0})}var Y=(g?h[g]:h)||{},z=m.default(W,A),H=b.default(B,Y,W===V._active,z);return(g||x[g]!==H)&&(x[g]=H),w(H),H}var G=g.substring(0,U),Z=g.substring(U+1);x[G]||(x[G]={}),d=[t=h[G]||{},e=Z,r=_+G+".",n=x[G],u=A,i=j,s=S,c=T,w],v=!0,w=M=R=E=P=V=I=C=F=N=U=k=q=D=G=Z=void 0}};e.default=_,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(40),i=n(o),a=r(16),s=n(a),f=r(12),c=n(f),l=r(42),d=n(l),p=function(t,e,r,n,o){var a=t.fields,f=t.form,l=t.validate,p=e.fields,v=c.default(a,f),y=l(v,t),h={},m=y._error||f._error,g=!m,b=!0,_=function(t){t.error&&(h=s.default(t.name,t.error,h),g=!1),t.dirty&&(b=!1)},O=p?p.reduce(function(t,e){return~a.indexOf(e)?t:d.default(t,e)},u({},r)):u({},r);return a.forEach(function(e){i.default(f,e,void 0,O,y,n,o,t,_)}),Object.defineProperty(O,"_meta",{value:{allPristine:b,allValid:g,values:v,errors:h,formError:m}}),O};e.default=p,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){var n=r({},t);return delete n[e],n},u=function o(t,e){var u=e.indexOf("."),i=e.indexOf("["),a=e.indexOf("]");if(i>0&&a!==i+1)throw new Error("found [ not followed by ]");if(i>0&&(0>u||u>i)){var s,f=function(){var u=e.substring(0,i);if(!Array.isArray(t[u]))return{v:n(t,u)};var f=e.substring(a+1);if("."===f[0]&&(f=f.substring(1)),f){var c=function(){var e=[];return t[u].forEach(function(t,r){var n=o(t,f);Object.keys(n).length&&(e[r]=n)}),{v:{v:e.length?r({},t,(s={},s[u]=e,s)):n(t,u)}}}();if("object"==typeof c)return c.v}return{v:n(t,u)}}();if("object"==typeof f)return f.v}if(u>0){var c,l=e.substring(0,u),d=e.substring(u+1);if(!t[l])return t;var p=o(t[l],d);return Object.keys(p).length?r({},t,(c={},c[l]=o(t[l],d),c)):n(t,l)}return n(t,e)};e.default=u,t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var r=function(t){return void 0===t||t&&void 0===t.initial?{}:{initial:t.initial,value:t.initial}},n=function(t){return t&&"object"==typeof t&&(void 0!==t.value||void 0!==t.initial)},u=function o(t){return t?Object.keys(t).reduce(function(e,u){var i=t[u];return Array.isArray(i)?e[u]=i.map(function(t){return n(t)?r(t):o(t)}):i&&(n(i)?e[u]=r(i):"object"==typeof i&&null!==i?e[u]=o(i):e[u]=i),e},{}):t};e.default=u,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){return"_"===t[0]},u=function o(t,e,u){for(var i=!0;i;){var a=t,s=e,f=u;i=!1;var c=function(){return Array.isArray(a)?a.map(function(t,e){return o(t,s&&s[e],f)}):a&&"object"==typeof a?Object.keys(a).reduce(function(t,e){var u;return n(e)?t:r({},t,(u={},u[e]=o(a[e],s&&s[e],f),u))},a):a};if(!s){if(a[f]){var l=r({},a);return delete l[f],l}return c()}if("string"==typeof s){var d;return r({},a,(d={},d[f]=s,d))}{if(!Array.isArray(s))return Object.keys(s).reduce(function(t,e){var u;return n(e)?t:r({},t,(u={},u[e]=o(a&&a[e],s[e],f),u))},c()||{});if(!a||Array.isArray(a)){var p=function(){var t=(a||[]).map(function(t,e){return o(t,s[e],f)});return s.forEach(function(e,r){return t[r]=o(t[r],e,f)}),{v:t}}();if("object"==typeof p)return p.v}t=a,e=s[0],u=f,i=!0,c=l=d=p=void 0}}};e.default=u,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(){},a=function(t){return o.default(t)?t.then(i,i):t};e.default=a,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(39),i=n(o),a=r(1),s=n(a),f=function(t,e,r,n){var o={};t.value!==e.value&&(o.value=e.value,o.checked="boolean"==typeof e.value?e.value:void 0);var a=i.default(e.value,e.initial);t.pristine!==a&&(o.dirty=!a,o.pristine=a);var f=n||e.submitError||e.asyncError;f!==t.error&&(o.error=f);var c=s.default(f);t.valid!==c&&(o.invalid=!c,o.valid=c),r!==t.active&&(o.active=r);var l=!!e.touched;l!==t.touched&&(o.touched=l);var d=!!e.visited;return d!==t.visited&&(o.visited=d),Object.keys(o).length?u({},t,o):t};e.default=f,t.exports=e.default},function(t,e,r){"use strict";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},u=r(21),o=function(t,e){return t?"function"==typeof t?t.length>1?function(r,o){return n({},t(r,o),u.bindActionCreators(e,r),{dispatch:r})}:function(r){return n({},t(r),u.bindActionCreators(e,r),{dispatch:r})}:function(r){return n({},u.bindActionCreators(t,r),u.bindActionCreators(e,r),{dispatch:r})}:function(t){return n({},u.bindActionCreators(e,t),{dispatch:t})}};e.default=o,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){if(t){if("function"!=typeof t)throw new Error("mapStateToProps must be a function");return t.length>1?function(n,u){return r({},t(n,u),{form:e(n)})}:function(n){return r({},t(n),{form:e(n)})}}return function(t){return{form:e(t)}}};e.default=n,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 f=[r,n,u,o,i,a],c=0;s=new Error(e.replace(/%s/g,function(){return f[c++]})),s.name="Invariant Violation"}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(53),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(17),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(56),i=n(o),a=r(55),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=c.default(r);return function(r,a,f){function c(t,e){var r=t.getState(),n=w?b(r,e):b(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?S(r,e):S(r);return _.default(v.default(n),"`mapDispatchToProps` must return an object. Instead received %s.",n),n}function p(t,e,r){var n=T(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),b=r||O,S=v.default(a)?h.default(a):a||x,T=f||A,w=b.length>1,M=S.length>1,R=y.pure,E=void 0===R?!0:R,P=j++;return function(r){var a=function(e){function n(t,r){u(this,n),e.call(this,t,r),this.version=P,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=c(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=c(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 f=r(19),c=n(f),l=r(59),d=n(l),p=r(58),v=n(p),y=r(60),h=n(y),m=r(18),g=n(m),b=r(51),_=n(b),O=function(){return{}},x=function(t){return{dispatch:t}},A=function(t,e,r){return s({},r,t,e)},j=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,c=t.Children,l=f.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(),c.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(19),f=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(25),o=n(u),i=r(54),a=n(i),s=a.default(o.default),f=s.Provider,c=s.connect;e.Provider=f,e.connect=c},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(21);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=[],f={getState:u.getState,dispatch:function(t){return i(t)}};return s=e.map(function(t){return t(f)}),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(22),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(24),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=c.default(r,function(){});return function(t,n){if(void 0===t&&(t=i),e)throw e;var o=!1,a=c.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(20),s=r(23),f=(n(s),r(24)),c=n(f),l=r(64),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}])}); |
@@ -955,3 +955,3 @@ /* eslint react/no-multi-comp:0*/ | ||
it('should call submit function passed to handleSubmit', function (done) { | ||
it('should call async onSubmit prop', function (done) { | ||
var submit = function submit(values) { | ||
@@ -962,3 +962,7 @@ _expect2['default'](values).toEqual({ | ||
}); | ||
done(); | ||
return new Promise(function (resolve) { | ||
setTimeout(function () { | ||
resolve(); | ||
}, 100); | ||
}).then(done); | ||
}; | ||
@@ -976,2 +980,48 @@ | ||
FormComponent.prototype.render = function render() { | ||
return _react2['default'].createElement('form', { onSubmit: this.props.handleSubmit }); | ||
}; | ||
return FormComponent; | ||
})(_react.Component); | ||
FormComponent.propTypes = { | ||
handleSubmit: _react.PropTypes.func.isRequired | ||
}; | ||
var store = makeStore(); | ||
var form = 'testForm'; | ||
var Decorated = reduxForm({ | ||
form: form, | ||
fields: ['foo', 'bar'], | ||
readonly: true | ||
})(FormComponent); | ||
var dom = _reactAddonsTestUtils2['default'].renderIntoDocument(_react2['default'].createElement( | ||
_reactRedux.Provider, | ||
{ store: store }, | ||
_react2['default'].createElement(Decorated, { onSubmit: submit }) | ||
)); | ||
var button = _reactAddonsTestUtils2['default'].findRenderedDOMComponentWithTag(dom, 'form'); | ||
_reactAddonsTestUtils2['default'].Simulate.submit(button); | ||
}); | ||
it('should call submit function passed to handleSubmit', function (done) { | ||
var submit = function submit(values) { | ||
_expect2['default'](values).toEqual({ | ||
foo: undefined, | ||
bar: undefined | ||
}); | ||
done(); | ||
}; | ||
var FormComponent = (function (_Component5) { | ||
_inherits(FormComponent, _Component5); | ||
function FormComponent() { | ||
_classCallCheck(this, FormComponent); | ||
_Component5.apply(this, arguments); | ||
} | ||
FormComponent.prototype.render = function render() { | ||
return _react2['default'].createElement('form', { onSubmit: this.props.handleSubmit(submit) }); | ||
@@ -1004,2 +1054,52 @@ }; | ||
it('should call submit function passed to async handleSubmit', function (done) { | ||
var submit = function submit(values) { | ||
_expect2['default'](values).toEqual({ | ||
foo: undefined, | ||
bar: undefined | ||
}); | ||
return new Promise(function (resolve) { | ||
setTimeout(function () { | ||
resolve(); | ||
}, 100); | ||
}).then(done); | ||
}; | ||
var FormComponent = (function (_Component6) { | ||
_inherits(FormComponent, _Component6); | ||
function FormComponent() { | ||
_classCallCheck(this, FormComponent); | ||
_Component6.apply(this, arguments); | ||
} | ||
FormComponent.prototype.render = function render() { | ||
return _react2['default'].createElement('form', { onSubmit: this.props.handleSubmit(submit) }); | ||
}; | ||
return FormComponent; | ||
})(_react.Component); | ||
FormComponent.propTypes = { | ||
handleSubmit: _react.PropTypes.func.isRequired | ||
}; | ||
var store = makeStore(); | ||
var form = 'testForm'; | ||
var Decorated = reduxForm({ | ||
form: form, | ||
fields: ['foo', 'bar'], | ||
readonly: true | ||
})(FormComponent); | ||
var dom = _reactAddonsTestUtils2['default'].renderIntoDocument(_react2['default'].createElement( | ||
_reactRedux.Provider, | ||
{ store: store }, | ||
_react2['default'].createElement(Decorated, null) | ||
)); | ||
var button = _reactAddonsTestUtils2['default'].findRenderedDOMComponentWithTag(dom, 'form'); | ||
_reactAddonsTestUtils2['default'].Simulate.submit(button); | ||
}); | ||
it('should initialize a non-array field with an array value and let it read it back', function () { | ||
@@ -1006,0 +1106,0 @@ var store = makeStore(); |
@@ -100,2 +100,18 @@ 'use strict'; | ||
}); | ||
it('should ignore visited fields without values', function () { | ||
var form = { | ||
foo: { | ||
value: 'dog' | ||
}, | ||
bar: { | ||
visited: true | ||
} | ||
}; | ||
var fields = ['foo', 'bar']; | ||
_expect2['default'](_getValues2['default'](fields, form)).toBeA('object').toEqual({ | ||
foo: 'dog', | ||
bar: undefined | ||
}); | ||
}); | ||
}); |
@@ -159,2 +159,16 @@ 'use strict'; | ||
}); | ||
it('should ignore visited fields without values', function () { | ||
var state = { | ||
foo: { | ||
value: 'dog' | ||
}, | ||
bar: { | ||
visited: true | ||
} | ||
}; | ||
_expect2['default'](_getValuesFromState2['default'](state)).toBeA('object').toEqual({ | ||
foo: 'dog' | ||
}); | ||
}); | ||
}); |
@@ -18,3 +18,3 @@ 'use strict'; | ||
it('should set errors even when no state', function () { | ||
it('should set errors even when state is empty', function () { | ||
_expect2['default'](_setErrors2['default']({}, { | ||
@@ -33,2 +33,12 @@ foo: 'fooError', | ||
it('should set errors even when state is null', function () { | ||
_expect2['default'](_setErrors2['default'](null, { | ||
foo: 'fooError' | ||
}, '__err')).toEqual({ | ||
foo: { | ||
__err: 'fooError' | ||
} | ||
}); | ||
}); | ||
it('should ignore meta keys', function () { | ||
@@ -35,0 +45,0 @@ _expect2['default'](_setErrors2['default']({}, { |
@@ -166,10 +166,9 @@ 'use strict'; | ||
}; | ||
var values = _getValues2['default'](fields, form); | ||
return !submitOrEvent || _eventsSilenceEvent2['default'](submitOrEvent) ? | ||
// submitOrEvent is an event: fire submit | ||
_handleSubmit3['default'](check(onSubmit), values, this.props, this.asyncValidate) : | ||
_handleSubmit3['default'](check(onSubmit), _getValues2['default'](fields, form), this.props, this.asyncValidate) : | ||
// submitOrEvent is the submit function: return deferred submit thunk | ||
_eventsSilenceEvents2['default'](function (event) { | ||
_eventsSilenceEvent2['default'](event); | ||
_handleSubmit3['default'](check(submitOrEvent), values, _this2.props, _this2.asyncValidate); | ||
_handleSubmit3['default'](check(submitOrEvent), _getValues2['default'](fields, form), _this2.props, _this2.asyncValidate); | ||
}); | ||
@@ -176,0 +175,0 @@ }; |
@@ -26,4 +26,8 @@ /** | ||
}); | ||
} else if (typeof field !== 'string') { | ||
accumulator[key] = getValuesFromState(field); | ||
} else if (typeof field === 'object') { | ||
var result = getValuesFromState(field); | ||
if (result && Object.keys(result).length > 0) { | ||
accumulator[key] = result; | ||
} | ||
} | ||
@@ -30,0 +34,0 @@ } |
@@ -60,3 +60,3 @@ 'use strict'; | ||
var arrayCopy = array ? [].concat(array) : []; | ||
var newValue = { value: value }; | ||
var newValue = value !== null && typeof value === 'object' ? _initializeState2['default'](value, Object.keys(value)) : { value: value }; | ||
if (index === undefined) { | ||
@@ -63,0 +63,0 @@ arrayCopy.push(newValue); |
@@ -29,3 +29,3 @@ 'use strict'; | ||
} | ||
if (typeof state === 'object') { | ||
if (state && typeof state === 'object') { | ||
return Object.keys(state).reduce(function (accumulator, key) { | ||
@@ -32,0 +32,0 @@ var _extends2; |
{ | ||
"name": "redux-form", | ||
"version": "4.0.3", | ||
"version": "4.0.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
Sorry, the diff of this file is too big to display
830581
155
22662