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

redux-form

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-form - npm Package Compare versions

Comparing version 5.3.2 to 5.3.3

2

dist/redux-form.min.js
!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 i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.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,e.untouchWithKey=e.untouch=e.touchWithKey=e.touch=e.swapArrayValues=e.stopSubmit=e.stopAsyncValidation=e.startSubmit=e.startAsyncValidation=e.reset=e.propTypes=e.initializeWithKey=e.initialize=e.getValues=e.removeArrayValue=e.reduxForm=e.reducer=e.focus=e.destroy=e.changeWithKey=e.change=e.blur=e.autofillWithKey=e.autofill=e.addArrayValue=e.actionTypes=void 0;var i=r(3),o=n(i),u=r(63),a=r(30),s=n(a),f="undefined"!=typeof window&&window.navigator&&window.navigator.product&&"ReactNative"===window.navigator.product,c=(0,s.default)(f,o.default,u.connect),l=c.actionTypes,d=c.addArrayValue,p=c.autofill,h=c.autofillWithKey,y=c.blur,v=c.change,b=c.changeWithKey,m=c.destroy,g=c.focus,_=c.reducer,O=c.reduxForm,A=c.removeArrayValue,w=c.getValues,P=c.initialize,S=c.initializeWithKey,j=c.propTypes,V=c.reset,E=c.startAsyncValidation,T=c.startSubmit,x=c.stopAsyncValidation,M=c.stopSubmit,R=c.swapArrayValues,F=c.touch,C=c.touchWithKey,k=c.untouch,I=c.untouchWithKey;e.actionTypes=l,e.addArrayValue=d,e.autofill=p,e.autofillWithKey=h,e.blur=y,e.change=v,e.changeWithKey=b,e.destroy=m,e.focus=g,e.reducer=_,e.reduxForm=O,e.removeArrayValue=A,e.getValues=w,e.initialize=P,e.initializeWithKey=S,e.propTypes=j,e.reset=V,e.startAsyncValidation=E,e.startSubmit=T,e.stopAsyncValidation=x,e.stopSubmit=M,e.swapArrayValues=R,e.touch=F,e.touchWithKey=C,e.untouch=k,e.untouchWithKey=I},function(t,e){"use strict";function r(t){return t&&o(t)&&Object.defineProperty(t,i,{value:!0,enumerable:!0}),t}function n(t){return!!(t&&o(t)&&t[i])}e.__esModule=!0,e.makeFieldValue=r,e.isFieldValue=n;var i="_isFieldValue",o=function(t){return"object"==typeof t}},function(t,e){"use strict";function r(t){return Array.isArray(t)?t.reduce(function(t,e){return t&&r(e)},!0):t&&"object"==typeof t?Object.keys(t).reduce(function(e,n){return e&&r(t[n])},!0):!t}e.__esModule=!0,e.default=r},function(e,r){e.exports=t},function(t,e){"use strict";e.__esModule=!0;e.ADD_ARRAY_VALUE="redux-form/ADD_ARRAY_VALUE",e.AUTOFILL="redux-form/AUTOFILL",e.BLUR="redux-form/BLUR",e.CHANGE="redux-form/CHANGE",e.DESTROY="redux-form/DESTROY",e.FOCUS="redux-form/FOCUS",e.INITIALIZE="redux-form/INITIALIZE",e.REMOVE_ARRAY_VALUE="redux-form/REMOVE_ARRAY_VALUE",e.RESET="redux-form/RESET",e.START_ASYNC_VALIDATION="redux-form/START_ASYNC_VALIDATION",e.START_SUBMIT="redux-form/START_SUBMIT",e.STOP_ASYNC_VALIDATION="redux-form/STOP_ASYNC_VALIDATION",e.STOP_SUBMIT="redux-form/STOP_SUBMIT",e.SUBMIT_FAILED="redux-form/SUBMIT_FAILED",e.SWAP_ARRAY_VALUES="redux-form/SWAP_ARRAY_VALUES",e.TOUCH="redux-form/TOUCH",e.UNTOUCH="redux-form/UNTOUCH"},function(t,e){"use strict";function r(t,e){return t?Object.keys(t).reduce(function(r,i){var o;return n({},r,(o={},o[i]=e(t[i],i),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},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){function n(t){if(!u(t)||d.call(t)!=a||o(t))return!1;var e=i(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&f.call(r)==l}var i=r(56),o=r(57),u=r(58),a="[object Object]",s=Object.prototype,f=Function.prototype.toString,c=s.hasOwnProperty,l=f.call(Object),d=s.toString;t.exports=n},function(t,e,r){"use strict";e.__esModule=!0,e.untouch=e.touch=e.swapArrayValues=e.submitFailed=e.stopSubmit=e.stopAsyncValidation=e.startSubmit=e.startAsyncValidation=e.reset=e.removeArrayValue=e.initialize=e.focus=e.destroy=e.change=e.blur=e.autofill=e.addArrayValue=void 0;var n=r(4);e.addArrayValue=function(t,e,r,i){return{type:n.ADD_ARRAY_VALUE,path:t,value:e,index:r,fields:i}},e.autofill=function(t,e){return{type:n.AUTOFILL,field:t,value:e}},e.blur=function(t,e){return{type:n.BLUR,field:t,value:e}},e.change=function(t,e){return{type:n.CHANGE,field:t,value:e}},e.destroy=function(){return{type:n.DESTROY}},e.focus=function(t){return{type:n.FOCUS,field:t}},e.initialize=function(t,e){var r=arguments.length<=2||void 0===arguments[2]?!0:arguments[2];if(!Array.isArray(e))throw new Error("must provide fields array to initialize() action creator");return{type:n.INITIALIZE,data:t,fields:e,overwriteValues:r}},e.removeArrayValue=function(t,e){return{type:n.REMOVE_ARRAY_VALUE,path:t,index:e}},e.reset=function(){return{type:n.RESET}},e.startAsyncValidation=function(t){return{type:n.START_ASYNC_VALIDATION,field:t}},e.startSubmit=function(){return{type:n.START_SUBMIT}},e.stopAsyncValidation=function(t){return{type:n.STOP_ASYNC_VALIDATION,errors:t}},e.stopSubmit=function(t){return{type:n.STOP_SUBMIT,errors:t}},e.submitFailed=function(){return{type:n.SUBMIT_FAILED}},e.swapArrayValues=function(t,e,r){return{type:n.SWAP_ARRAY_VALUES,path:t,indexA:e,indexB:r}},e.touch=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.untouch=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return{type:n.UNTOUCH,fields:e}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){return"function"==typeof t?function(){return o({},t.apply(void 0,arguments),e)}:"object"==typeof t?(0,a.default)(t,function(t){return i(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=i;var u=r(5),a=n(u)},function(t,e){"use strict";e.__esModule=!0;var r=e.dataKey="value",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 i=r(12),o=n(i),u=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((0,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,i=r.value,a=r.checked,s=r.files,f=t.dataTransfer;return"checkbox"===n?a:"file"===n?s||f&&f.files:"select-multiple"===n?u(t.target.options):"number"===n||"range"===n?parseFloat(i):i}return t&&"object"==typeof t&&void 0!==t.value?t.value:t};e.default=a},function(t,e){"use strict";e.__esModule=!0;var r=function(t){return!!(t&&t.stopPropagation&&t.preventDefault)};e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(12),o=n(i),u=function(t){var e=(0,o.default)(t);return e&&t.preventDefault(),e};e.default=u},function(t,e){"use strict";function r(t){return t.displayName||t.name||"Component"}e.__esModule=!0,e.default=r},function(t,e){"use strict";e.__esModule=!0;var r=function(t){var e=t.value,r=t.initialValue;return"undefined"!=typeof e?e:r},n=function o(t,e,n){var i=t.indexOf("."),u=t.indexOf("["),a=t.indexOf("]");if(u>0&&a!==u+1)throw new Error("found [ not followed by ]");if(u>0&&(0>i||i>u))!function(){var i=t.substring(0,u),s=t.substring(a+1);"."===s[0]&&(s=s.substring(1));var f=e&&e[i]||[];s?(n[i]||(n[i]=[]),f.forEach(function(t,e){n[i][e]||(n[i][e]={}),o(s,t,n[i][e])})):n[i]=f.map(r)}();else if(i>0){var s=t.substring(0,i),f=t.substring(i+1);n[s]||(n[s]={}),o(f,e&&e[s]||{},n[s])}else n[t]=e[t]&&r(e[t])},i=function(t,e){return t.reduce(function(t,r){return n(r,e,t),t},{})};e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var n=r(1),i=function o(t){if(!t)return t;var e=Object.keys(t);if(e.length)return e.reduce(function(e,r){var i=t[r];if(i)if((0,n.isFieldValue)(i))void 0!==i.value&&(e[r]=i.value);else if(Array.isArray(i))e[r]=i.map(function(t){return(0,n.isFieldValue)(t)?t.value:o(t)});else if("object"==typeof i){var u=o(i);u&&Object.keys(u).length>0&&(e[r]=u)}return e},{})};e.default=i},function(t,e){"use strict";e.__esModule=!0;var r=function(t){if("boolean"==typeof t)return t;if("string"==typeof t){var e=t.toLowerCase();if("true"===e)return!0;if("false"===e)return!1}};e.default=r},function(t,e){"use strict";e.__esModule=!0;var r=function n(t,e){if(!t||!e)return e;var r=t.indexOf(".");if(0===r)return n(t.substring(1),e);var i=t.indexOf("["),o=t.indexOf("]");if(r>=0&&(0>i||i>r))return n(t.substring(r+1),e[t.substring(0,r)]);if(i>=0&&(0>r||r>i)){if(0>o)throw new Error("found [ but no ]");var u=t.substring(0,i),a=t.substring(i+1,o);if(!a.length)return e[u];if(0===i)return n(t.substring(o+1),e[a]);if(!e[u])return;return n(t.substring(o+1),e[u][a])}return e[t]};e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(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,u=i(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 i;return r===o?t:f({},t,(i={},i[r]=e[n][r],i))},{}),l))}return f({},e,(s={},s[n]=f({},e[n],(a={},a[o]=M((e[n]||{})[o],u),a)),s))}return r.type===c.DESTROY?Object.keys(e).reduce(function(t,r){var i;return r===n?t:f({},t,(i={},i[r]=e[r],i))},{}):f({},e,(t={},t[n]=M(e[n],u),t))}function u(t){return t.plugin=function(t){var e=this;return u(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e(r,n);return f({},i,(0,d.default)(t,function(t,e){return t(i[e]||T,n)}))})},t.normalize=function(t){var e=this;return u(function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e(r,n);return f({},i,(0,d.default)(t,function(t,e){var o=function(e,r){var n=(0,m.default)(f({},T,e)),i=f({},T,r),o=(0,m.default)(i);return(0,V.default)(t,i,e,o,n)};if(n.key){var u;return f({},i[e],(u={},u[n.key]=o(r[e][n.key],i[e][n.key]),u))}return o(r[e],i[e])}))})},t}e.__esModule=!0,e.initialState=e.globalErrorKey=void 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(4),l=r(5),d=n(l),p=r(18),h=n(p),y=r(20),v=n(y),b=r(16),m=n(b),g=r(41),_=n(g),O=r(47),A=n(O),w=r(48),P=n(w),S=r(1),j=r(43),V=n(j),E=e.globalErrorKey="_error",T=e.initialState=(a={_active:void 0,_asyncValidating:!1},a[E]=void 0,a._initialized=!1,a._submitting=!1,a._submitFailed=!1,a),x=(s={},s[c.ADD_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,i=e.value,o=e.fields,u=(0,h.default)(r,t),a=f({},t),s=u?[].concat(u):[],c=null!==i&&"object"==typeof i?(0,_.default)(i,o||Object.keys(i)):(0,S.makeFieldValue)({value:i});return void 0===n?s.push(c):s.splice(n,0,c),(0,v.default)(r,s,a)},s[c.AUTOFILL]=function(t,e){var r=e.field,n=e.value;return(0,v.default)(r,function(t){var e=f({},t,{value:n,autofilled:!0}),r=(e.asyncError,e.submitError,i(e,["asyncError","submitError"]));return(0,S.makeFieldValue)(r)},t)},s[c.BLUR]=function(t,e){var r=e.field,n=e.value,o=e.touch,u=t._active,a=i(t,["_active"]);return u&&u!==r&&(a._active=u),(0,v.default)(r,function(t){var e=f({},t);return void 0!==n&&(e.value=n),o&&(e.touched=!0),(0,S.makeFieldValue)(e)},a)},s[c.CHANGE]=function(t,e){var r=e.field,n=e.value,o=e.touch;return(0,v.default)(r,function(t){var e=f({},t,{value:n}),r=(e.asyncError,e.submitError,e.autofilled,i(e,["asyncError","submitError","autofilled"]));return o&&(r.touched=!0),(0,S.makeFieldValue)(r)},t)},s[c.DESTROY]=function(){},s[c.FOCUS]=function(t,e){var r=e.field,n=(0,v.default)(r,function(t){return(0,S.makeFieldValue)(f({},t,{visited:!0}))},t);return n._active=r,n},s[c.INITIALIZE]=function(t,e){var r,n=e.data,i=e.fields,o=e.overwriteValues;return f({},(0,_.default)(n,i,t,o),(r={_asyncValidating:!1,_active:void 0},r[E]=void 0,r._initialized=!0,r._submitting=!1,r._submitFailed=!1,r))},s[c.REMOVE_ARRAY_VALUE]=function(t,e){var r=e.path,n=e.index,i=(0,h.default)(r,t),o=f({},t),u=i?[].concat(i):[];return void 0===n?u.pop():isNaN(n)?delete u[n]:u.splice(n,1),(0,v.default)(r,u,o)},s[c.RESET]=function(t){var e;return f({},(0,A.default)(t),(e={_active:void 0,_asyncValidating:!1},e[E]=void 0,e._initialized=t._initialized,e._submitting=!1,e._submitFailed=!1,e))},s[c.START_ASYNC_VALIDATION]=function(t,e){var r=e.field;return f({},t,{_asyncValidating:r||!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({},(0,P.default)(t,n,"asyncError"),(r={_asyncValidating:!1},r[E]=n&&n[E],r))},s[c.STOP_SUBMIT]=function(t,e){var r,n=e.errors;return f({},(0,P.default)(t,n,"submitError"),(r={},r[E]=n&&n[E],r._submitting=!1,r._submitFailed=!(!n||!Object.keys(n).length),r))},s[c.SUBMIT_FAILED]=function(t){return f({},t,{_submitFailed:!0})},s[c.SWAP_ARRAY_VALUES]=function(t,e){var r=e.path,n=e.indexA,i=e.indexB,o=(0,h.default)(r,t),u=o.length;if(n===i||isNaN(n)||isNaN(i)||n>=u||i>=u)return t;var a=f({},t),s=[].concat(o);return s[n]=o[i],s[i]=o[n],(0,v.default)(r,s,a)},s[c.TOUCH]=function(t,e){var r=e.fields;return f({},t,r.reduce(function(t,e){return(0,v.default)(e,function(t){return(0,S.makeFieldValue)(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(0,v.default)(e,function(t){if(t){var e=(t.touched,i(t,["touched"]));return(0,S.makeFieldValue)(e)}return(0,S.makeFieldValue)(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=x[e.type];return r?r(t,e):t};e.default=u(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 i(t,e,n){var o,u=t.indexOf(".");if(0===u)return i(t.substring(1),e,n);var a=t.indexOf("["),s=t.indexOf("]");if(u>=0&&(0>a||a>u)){var f,c=t.substring(0,u);return r({},n,(f={},f[c]=i(t.substring(u+1),e,n[c]||{}),f))}if(a>=0&&(0>u||u>a)){var l=function(){var o;if(0>s)throw new Error("found [ but no ]");var u=t.substring(0,a),f=t.substring(a+1,s),c=n[u]||[],l=t.substring(s+1);if(f){var d;if(l.length){var p,h=c[f]||{},y=[].concat(c);return y[f]=i(l,e,h),{v:r({},n||{},(p={},p[u]=y,p))}}var v=[].concat(c);return v[f]="function"==typeof e?e(v[f]):e,{v:r({},n||{},(d={},d[u]=v,d))}}if(l.length){var b;if(!(c&&c.length||"function"!=typeof e))return{v:n};var m=c.map(function(t){return i(l,e,t)});return{v:r({},n||{},(b={},b[u]=m,b))}}var g=void 0;if(Array.isArray(e))g=e;else if(n[u])g=c.map(function(t){return"function"==typeof e?e(t):e});else{if("function"==typeof e)return{v:n};g=e}return{v:r({},n||{},(o={},o[u]=g,o))}}();if("object"==typeof l)return l.v}return r({},n,(o={},o[t]="function"==typeof e?e(n[t]):e,o))};e.default=n},function(t,e,r){function n(t){return null===t||void 0===t}function i(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}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=u.call(t),e=u.call(e),f(t,e,r)):!1;if(i(t)){if(!i(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 u=Array.prototype.slice,a=r(54),s=r(53),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){if("string"!=typeof e)for(var i=Object.getOwnPropertyNames(e),o=0;o<i.length;++o)if(!r[i[o]]&&!n[i[o]])try{t[i[o]]=e[i[o]]}catch(u){}return t}},function(t,e,r){"use strict";e.__esModule=!0;var n=r(3);e.default=n.PropTypes.shape({subscribe:n.PropTypes.func.isRequired,dispatch:n.PropTypes.func.isRequired,getState:n.PropTypes.func.isRequired})},function(t,e){"use strict";function r(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(e){}}e.__esModule=!0,e.default=r},function(t,e){"use strict";function r(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];if(0===e.length)return function(t){return t};var n=function(){var t=e[e.length-1],r=e.slice(0,-1);return{v:function(){return r.reduceRight(function(t,e){return e(t)},t.apply(void 0,arguments))}}}();return"object"==typeof n?n.v:void 0}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,r){function n(){b===v&&(b=v.slice())}function o(){return y}function a(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return n(),b.push(t),function(){if(e){e=!1,n();var r=b.indexOf(t);b.splice(r,1)}}}function c(t){if(!(0,u.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(m)throw new Error("Reducers may not dispatch actions.");try{m=!0,y=h(y,t)}finally{m=!1}for(var e=v=b,r=0;r<e.length;r++)e[r]();return t}function l(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");h=t,c({type:f.INIT})}function d(){var t,e=a;return t={subscribe:function(t){function r(){t.next&&t.next(o())}if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");r();var n=e(r);return{unsubscribe:n}}},t[s.default]=function(){return this},t}var p;if("function"==typeof e&&"undefined"==typeof r&&(r=e,e=void 0),"undefined"!=typeof r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(i)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var h=t,y=e,v=[],b=v,m=!1;return c({type:f.INIT}),p={dispatch:c,subscribe:a,getState:o,replaceReducer:l},p[s.default]=d,p}e.__esModule=!0,e.ActionTypes=void 0,e.default=i;var o=r(7),u=n(o),a=r(69),s=n(a),f=e.ActionTypes={INIT:"@@redux/INIT"}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.compose=e.applyMiddleware=e.bindActionCreators=e.combineReducers=e.createStore=void 0;var i=r(26),o=n(i),u=r(68),a=n(u),s=r(67),f=n(s),c=r(66),l=n(c),d=r(25),p=n(d),h=r(28);n(h);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(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(e){}}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(6),o=n(i),u=r(2),a=n(u),s=function(t,e,r,n){e(n);var i=t();if(!(0,o.default)(i))throw new Error("asyncValidate function passed to reduxForm must return a promise");var u=function(t){return function(e){if(!(0,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 i.then(u(!1),u(!0))};e.default=s},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 i(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,r){return{actionTypes:m,addArrayValue:P,autofill:S,autofillWithKey:j,blur:V,change:E,changeWithKey:T,destroy:x,focus:M,getValues:A.default,initialize:R,initializeWithKey:F,propTypes:(0,_.default)(e),reduxForm:(0,c.default)(t,e,r),reducer:s.default,removeArrayValue:C,reset:k,startAsyncValidation:I,startSubmit:D,stopAsyncValidation:N,stopSubmit:U,submitFailed:q,swapArrayValues:W,touch:L,touchWithKey:K,untouch:B,untouchWithKey:z}}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var a=r(19),s=i(a),f=r(33),c=i(f),l=r(5),d=i(l),p=r(9),h=i(p),y=r(8),v=n(y),b=r(4),m=n(b),g=r(32),_=i(g),O=r(16),A=i(O),w=u({},(0,d.default)(u({},v,{autofillWithKey: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(0,h.default)(v.autofill,{key:t}).apply(void 0,r)},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(0,h.default)(v.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(0,h.default)(v.initialize,{key:t}).apply(void 0,r)},reset:function(t){return(0,h.default)(v.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(0,h.default)(v.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(0,h.default)(v.untouch,{key:t}).apply(void 0,r)},destroy:function(t){return(0,h.default)(v.destroy,{key:t})()}}),function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;r>i;i++)n[i-1]=arguments[i];return(0,h.default)(t,{form:e}).apply(void 0,n)}})),P=w.addArrayValue,S=w.autofill,j=w.autofillWithKey,V=w.blur,E=w.change,T=w.changeWithKey,x=w.destroy,M=w.focus,R=w.initialize,F=w.initializeWithKey,C=w.removeArrayValue,k=w.reset,I=w.startAsyncValidation,D=w.startSubmit,N=w.stopAsyncValidation,U=w.stopSubmit,q=w.submitFailed,W=w.swapArrayValues,L=w.touch,K=w.touchWithKey,B=w.untouch,z=w.untouchWithKey},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(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 u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(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 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(8),l=i(c),d=r(14),p=n(d),h=r(19),y=r(21),v=n(y),b=r(9),m=n(b),g=r(15),_=n(g),O=r(2),A=n(O),w=r(45),P=n(w),S=r(40),j=n(S),V=r(29),E=n(V),T=r(39),x=n(T),M=r(13),R=n(M),F=r(51),C=n(F),k=r(52),I=n(k),D=function(t,e,r,n,i,c,d,y,b){var g=r.Component,O=r.PropTypes;return function(w,S,V,T){var M=function(n){function c(t){u(this,c);var r=a(this,n.call(this,t));r.asyncValidate=r.asyncValidate.bind(r),r.handleSubmit=r.handleSubmit.bind(r),r.fields=(0,P.default)(t,{},{},r.asyncValidate,e);var i=r.props.submitPassback;return i(function(){return r.handleSubmit()}),r}return s(c,n),c.prototype.componentWillMount=function(){var t=this.props,e=t.fields,r=t.form,n=t.initialize,i=t.initialValues;i&&!r._initialized&&n(i,e)},c.prototype.componentWillReceiveProps=function(t){(0,v.default)(this.props.fields,t.fields)&&(0,v.default)(this.props.form,t.form,{strict:!0})||(this.fields=(0,P.default)(t,this.props,this.fields,this.asyncValidate,e)),(0,v.default)(this.props.initialValues,t.initialValues)||this.props.initialize(t.initialValues,t.fields,this.props.overwriteOnInitialValuesChange||!this.props.form._initialized)},c.prototype.componentWillUnmount=function(){t.destroyOnUnmount&&this.props.destroy()},c.prototype.asyncValidate=function l(t,e){var r=this,n=this.props,i=n.alwaysAsyncValidate,l=n.asyncValidate,o=n.dispatch,u=n.fields,a=n.form,s=n.startAsyncValidation,f=n.stopAsyncValidation,c=n.validate,d=!t;if(l){var p=function(){var n=(0,_.default)(u,a);t&&(n[t]=e);var p=c(n,r.props),h=r.fields._meta.allPristine,y=a._initialized,v=d||(0,A.default)(p[t]);return i||v&&(d||!h||!y)?{v:(0,E.default)(function(){return l(n,o,r.props)},s,f,t)}:void 0}();if("object"==typeof p)return p.v}},c.prototype.handleSubmit=function(t){var e=this,r=this.props,n=r.onSubmit,i=r.fields,o=r.form,u=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||(0,R.default)(t)?(0,j.default)(u(n),(0,_.default)(i,o),this.props,this.asyncValidate):(0,x.default)(function(){return(0,j.default)(u(t),(0,_.default)(i,o),e.props,e.asyncValidate)})},c.prototype.render=function(){var t,e=this,n=this.fields,u=this.props,a=(u.addArrayValue,u.asyncBlurFields,u.autofill,u.blur,u.change,u.destroy),s=(u.focus,u.fields),c=u.form,l=(u.initialValues,u.initialize),d=(u.onSubmit,u.propNamespace),p=u.reset,h=(u.removeArrayValue,u.returnRejectedSubmitPromise,u.startAsyncValidation,u.startSubmit,u.stopAsyncValidation,u.stopSubmit,u.submitFailed,u.swapArrayValues,u.touch),y=u.untouch,v=(u.validate,o(u,["addArrayValue","asyncBlurFields","autofill","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","propNamespace","reset","removeArrayValue","returnRejectedSubmitPromise","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","submitFailed","swapArrayValues","touch","untouch","validate"])),b=n._meta,m=b.allPristine,g=b.allValid,_=b.errors,O=b.formError,A=b.values,w={active:c._active,asyncValidating:c._asyncValidating,dirty:!m,error:O,errors:_,fields:n,formKey:V,invalid:!g,pristine:m,submitting:c._submitting,submitFailed:c._submitFailed,valid:g,values:A,asyncValidate:(0,x.default)(function(){return e.asyncValidate()}),destroyForm:(0,x.default)(a),handleSubmit:this.handleSubmit,initializeForm:(0,x.default)(function(t){return l(t,s)}),resetForm:(0,x.default)(p),touch:(0,x.default)(function(){return h.apply(void 0,arguments)}),touchAll:(0,x.default)(function(){return h.apply(void 0,s)}),untouch:(0,x.default)(function(){return y.apply(void 0,arguments)}),untouchAll:(0,x.default)(function(){return y.apply(void 0,s)})},P=d?(t={},t[d]=w,t):w;return r.createElement(i,f({},v,P))},c}(g);M.displayName="ReduxForm("+(0,p.default)(i)+")",M.WrappedComponent=i,M.propTypes={alwaysAsyncValidate:O.bool,asyncBlurFields:O.arrayOf(O.string),asyncValidate:O.func,dispatch:O.func.isRequired,fields:O.arrayOf(O.string).isRequired,form:O.object,initialValues:O.any,onSubmit:O.func,onSubmitSuccess:O.func,onSubmitFail:O.func,overwriteOnInitialValuesChange:O.bool.isRequired,propNamespace:O.string,readonly:O.bool,returnRejectedSubmitPromise:O.bool,submitPassback:O.func.isRequired,validate:O.func,addArrayValue:O.func.isRequired,autofill:O.func.isRequired,blur:O.func.isRequired,change:O.func.isRequired,destroy:O.func.isRequired,focus:O.func.isRequired,initialize:O.func.isRequired,removeArrayValue:O.func.isRequired,reset:O.func.isRequired,startAsyncValidation:O.func.isRequired,startSubmit:O.func.isRequired,stopAsyncValidation:O.func.isRequired,stopSubmit:O.func.isRequired,submitFailed:O.func.isRequired,swapArrayValues:O.func.isRequired,touch:O.func.isRequired,untouch:O.func.isRequired},M.defaultProps={asyncBlurFields:[],form:h.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}};var F=f({},l,{blur:(0,m.default)(l.blur,{touch:!!t.touchOnBlur}),change:(0,m.default)(l.change,{touch:!!t.touchOnChange})}),k=void 0!==V&&null!==V?n((0,I.default)(c,function(t){var e=T(t,w);if(!e)throw new Error('You need to mount the redux-form reducer at "'+w+'"');return e&&e[S]&&e[S][V]}),(0,C.default)(d,(0,m.default)(F,{form:S,key:V})),y,b):n((0,I.default)(c,function(t){var e=T(t,w);if(!e)throw new Error('You need to mount the redux-form reducer at "'+w+'"');return e&&e[S]}),(0,C.default)(d,(0,m.default)(F,{form:S})),y,b);return k(M)}};e.default=D},function(t,e){"use strict";e.__esModule=!0;var r=function(t){var e=t.PropTypes,r=e.any,n=e.bool,i=e.string,o=e.func,u=e.object;return{active:i,asyncValidating:n.isRequired,autofilled:n,dirty:n.isRequired,error:r,errors:u,fields:u.isRequired,formKey:r,invalid:n.isRequired,pristine:n.isRequired,submitting:n.isRequired,submitFailed:n.isRequired,valid:n.isRequired,values:u.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},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s=r(34),f=n(s),c=r(22),l=n(c),d=function(t,e,r){var n=e.Component,s=(0,f.default)(t,e,r);return function(t,r,f,c,d){return function(p){var h=s(p,r,f,c,d),y=a({overwriteOnInitialValuesChange:!0,touchOnBlur:!0,touchOnChange:!1,destroyOnUnmount:!0},t),v=function(t){function r(e){i(this,r);var n=o(this,t.call(this,e));return n.handleSubmitPassback=n.handleSubmitPassback.bind(n),n}return u(r,t),r.prototype.handleSubmitPassback=function(t){this.submit=t},r.prototype.render=function(){return e.createElement(h,a({},y,this.props,{submitPassback:this.handleSubmitPassback}))},r}(n);return(0,l.default)(v,p)}}};e.default=d},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(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 u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}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=r(60),f=n(s),c=r(14),l=n(c),d=r(31),p=n(d),h=function(t,e,r){return function(n,s,c,d,h){var y=e.Component,v=e.PropTypes,b=function(l){function y(i){o(this,y);var a=u(this,l.call(this,i));return a.cache=new f.default(a,{ReduxForm:{params:["reduxMountPoint","form","formKey","getFormState"],fn:(0,p.default)(i,t,e,r,n,s,c,d,h)}}),a}return a(y,l),y.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},y.prototype.render=function(){var t=this.cache.get("ReduxForm"),r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.getFormState,r.touchOnBlur,r.touchOnChange,i(r,["reduxMountPoint","destroyOnUnmount","form","getFormState","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},y}(y);return b.displayName="ReduxFormConnector("+(0,l.default)(n)+")",b.WrappedComponent=n,b.propTypes={destroyOnUnmount:v.bool,reduxMountPoint:v.string,form:v.string.isRequired,formKey:v.string,getFormState:v.func,touchOnBlur:v.bool,touchOnChange:v.bool},b.defaultProps={reduxMountPoint:"form",getFormState:function(t,e){return t[e]}},b}};e.default=h},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(11),o=n(i),u=function(t,e,r,n){return function(i){var u=(0,o.default)(i,r);e(t,u),n&&n(t,u)}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(11),o=n(i),u=function(t,e,r){return function(n){return e(t,(0,o.default)(n,r))}};e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var n=r(10),i=function(t,e){return function(r){e(t,r.dataTransfer.getData(n.dataKey))}};e.default=i},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){return function(){return e(t)}};e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(13),o=n(i),u=function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;r>i;i++)n[i-1]=arguments[i];return(0,o.default)(e)?t.apply(void 0,n):t.apply(void 0,[e].concat(n))}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(6),o=n(i),u=r(2),a=n(u),s=function(t,e,r,n){var i=r.dispatch,u=r.fields,s=r.onSubmitSuccess,f=r.onSubmitFail,c=r.startSubmit,l=r.stopSubmit,d=r.submitFailed,p=r.returnRejectedSubmitPromise,h=r.touch,y=r.validate,v=y(e,r);if(h.apply(void 0,u),(0,a.default)(v)){var b=function(){var r=t(e,i);return(0,o.default)(r)?(c(),r.then(function(t){return l(),s&&s(t),t},function(t){return l(t),f&&f(t),p?Promise.reject(t):void 0})):(s&&s(r),r)},m=n();return(0,o.default)(m)?m.then(b,function(){return d(),f&&f(),p?Promise.reject():Promise.resolve()}):b()}return d(),f&&f(v),p?Promise.reject(v):void 0};e.default=s},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},i=r(1),o=function(t,e,r){return void 0===t&&void 0===e?(0,i.makeFieldValue)({}):(0,i.makeFieldValue)({initial:t,value:r?t:e})},u=function(t,e){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],i=arguments.length<=3||void 0===arguments[3]?!0:arguments[3];if(!e)throw new Error("fields must be passed when initializing state");if(!t||!e.length)return r;var u=function a(t,e,r){var u=t.indexOf(".");if(0===u)return a(t.substring(1),e,r);var s=t.indexOf("["),f=t.indexOf("]"),c=n({},r)||{};if(u>=0&&(0>s||s>u)){var l=t.substring(0,u);c[l]=e[l]&&a(t.substring(u+1),e[l],c[l]||{})}else s>=0&&(0>u||u>s)?!function(){if(0>f)throw new Error("found '[' but no ']': '"+t+"'");var r=t.substring(0,s),n=e[r],u=c[r],l=t.substring(f+1);Array.isArray(n)?l.length?c[r]=n.map(function(t,e){return a(l,t,u&&u[e])}):c[r]=n.map(function(t,e){return o(t,u&&u[e]&&u[e].value,i)}):c[r]=[]}():c[t]=o(e&&e[t],r&&r[t]&&r[t].value,i);return c};return e.reduce(function(e,r){return u(r,t,e)},n({},r))};e.default=u},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),i=Object.keys(e);if(n.length!==i.length)return!1;for(var o=0;o<i.length;o++){var u=i[o];if(!r(t[u],e[u]))return!1}}else if(t||e)return t===e;return!0}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){var e=t.indexOf("."),r=t.indexOf("["),n=t.indexOf("]");if(r>0&&n!==r+1)throw new Error("found [ not followed by ]");var i=r>0&&(0>e||e>r),o=void 0,u=void 0;return i?(o=t.substring(0,r),u=t.substring(n+1),"."===u[0]&&(u=u.substring(1))):e>0?(o=t.substring(0,e),u=t.substring(e+1)):o=t,{isArray:i,key:o,nestedPath:u}}function i(t,e,r,o,u,s,f){if(t.isArray){if(t.nestedPath){var c=function(){var a=r&&r[t.key]||[],c=o&&o[t.key]||[],l=n(t.nestedPath);return{v:a.map(function(t,r){return t[l.key]=i(l,e,t,c[r],u,s,f),t})}}();if("object"==typeof c)return c.v}var l=f[e],d=l(r&&r[t.key],o&&o[t.key],u,s);return t.isArray?d&&d.map(a.makeFieldValue):d}if(t.nestedPath){var p=r&&r[t.key]||{},h=n(t.nestedPath);return p[h.key]=i(h,e,p,o&&o[t.key],u,s,f),p}var y=r&&r[t.key]||{},v=f[e];return y.value=v(y.value,o&&o[t.key]&&o[t.key].value,u,s),(0,a.makeFieldValue)(y)}function o(t,e,r,o,a){var s=Object.keys(t).reduce(function(u,s){var f=n(s);return u[f.key]=i(f,s,e,r,o,a,t),u},{});return u({},e,s)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var a=r(1)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var r=t.substring(e+1);return"."===r[0]&&(r=r.substring(1)),r}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},u=r(35),a=n(u),s=r(36),f=n(s),c=r(10),l=n(c),d=r(37),p=n(d),h=r(38),y=n(h),v=r(49),b=n(v),m=r(18),g=n(m),_=r(50),O=n(_),A=r(17),w=n(A),P=function(t){var e=t.indexOf("."),r=t.indexOf("[");return r>0&&(0>e||e>r)?t.substring(0,r):e>0?t.substring(0,e):t},S=function(t,e){return~e.indexOf(t.replace(/\[[0-9]+\]/g,"[]"))},j=function V(t,e){var r=arguments.length<=2||void 0===arguments[2]?"":arguments[2],n=arguments[3],u=arguments[4],s=arguments[5],c=arguments[6],d=arguments[7],h=arguments.length<=8||void 0===arguments[8]?function(){return null}:arguments[8],v=arguments.length<=9||void 0===arguments[9]?"":arguments[9],m=d.asyncBlurFields,_=d.autofill,A=d.blur,j=d.change,E=d.focus,T=d.form,x=d.initialValues,M=d.readonly,R=d.addArrayValue,F=d.removeArrayValue,C=d.swapArrayValues,k=e.indexOf("."),I=e.indexOf("["),D=e.indexOf("]");if(I>0&&D!==I+1)throw new Error("found [ not followed by ]");if(I>0&&(0>k||k>I)){var N=function(){var o=e.substring(0,I),a=i(e,D),f=t&&t[o]||[],l=v+e.substring(0,D+1),p=d.fields.reduce(function(t,e){return 0===e.indexOf(l)&&t.push(e),t},[]).map(function(t){return i(t,v.length+D)}),y=function(t){return Object.defineProperty(t,"addField",{value:function(t,e){return R(r+o,t,e,p)}}),Object.defineProperty(t,"removeField",{value:function(t){return F(r+o,t)}}),Object.defineProperty(t,"swapFields",{value:function(t,e){return C(r+o,t,e)}}),t};n[o]&&n[o].length===f.length||(n[o]=n[o]?[].concat(n[o]):[],y(n[o]));var b=n[o],m=!1;return f.forEach(function(t,e){a&&!b[e]&&(b[e]={},m=!0);var n=a?b[e]:{},i=""+r+o+"["+e+"]"+(a?".":""),f=""+v+o+"[]"+(a?".":""),l=V(t,a,i,n,u,s,c,d,h,f);a||b[e]===l||(b[e]=l,m=!0)}),b.length>f.length&&b.splice(f.length,b.length-f.length),{v:m?y([].concat(b)):b}}();if("object"==typeof N)return N.v}if(k>0){var U=e.substring(0,k),q=e.substring(k+1),W=n[U]||{},L=r+U+".",K=P(q),B=v+U+".",z=W[K],Y=V(t[U]||{},q,L,W,u,s,c,d,h,B);if(Y!==z){var H;W=o({},W,(H={},H[K]=Y,H))}return n[U]=W,W}var G=r+e,Z=n[e]||{};if(Z.name!==G){var J=(0,f.default)(G,j,c),Q=(0,g.default)(G+".initial",T),X=Q||(0,g.default)(G,x);X=void 0===X?"":X,Z.name=G,Z.checked=(0,w.default)(X),Z.value=X,Z.initialValue=X,M||(Z.autofill=function(t){return _(G,t)},Z.onBlur=(0,a.default)(G,A,c,S(G,m)&&function(t,e){return(0,b.default)(s(t,e))}),Z.onChange=J,Z.onDragStart=(0,l.default)(G,function(){return Z.value}),Z.onDrop=(0,p.default)(G,j),Z.onFocus=(0,y.default)(G,E),Z.onUpdate=J),Z.valid=!0,Z.invalid=!1,Object.defineProperty(Z,"_isField",{value:!0})}var $={initial:Z.value,value:Z.value},tt=(e?t[e]:t)||$,et=(0,g.default)(G,u),rt=(0,O.default)(Z,tt,G===T._active,et);return(e||n[e]!==rt)&&(n[e]=rt),h(rt),rt};e.default=j},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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},o=r(44),u=n(o),a=r(20),s=n(a),f=r(15),c=n(f),l=r(46),d=n(l),p=function(t,e,r,n,o){var a=t.fields,f=t.form,l=t.validate,p=e.fields,h=(0,c.default)(a,f),y=l(h,t)||{},v={},b=y._error||f._error,m=!b,g=!0,_=function(t){t.error&&(v=(0,s.default)(t.name,t.error,v),m=!1),t.dirty&&(g=!1)},O=p?p.reduce(function(t,e){return~a.indexOf(e)?t:(0,d.default)(t,e)},i({},r)):i({},r);return a.forEach(function(e){(0,u.default)(f,e,void 0,O,y,n,o,t,_)}),Object.defineProperty(O,"_meta",{value:{allPristine:g,allValid:m,values:h,errors:v,formError:b}}),O};e.default=p},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},i=function o(t,e){var i=e.indexOf("."),u=e.indexOf("["),a=e.indexOf("]");if(u>0&&a!==u+1)throw new Error("found [ not followed by ]");if(u>0&&(0>i||i>u)){var s=function(){var i=e.substring(0,u);if(!Array.isArray(t[i]))return{v:n(t,i)};var s=e.substring(a+1);if("."===s[0]&&(s=s.substring(1)),s){var f=function(){var e,u=[];return t[i].forEach(function(t,e){var r=o(t,s);Object.keys(r).length&&(u[e]=r)}),{v:{v:u.length?r({},t,(e={},e[i]=u,e)):n(t,i)}}}();if("object"==typeof f)return f.v}return{v:n(t,i)}}();if("object"==typeof s)return s.v}if(i>0){var f,c=e.substring(0,i),l=e.substring(i+1);if(!t[c])return t;var d=o(t[c],l);return Object.keys(d).length?r({},t,(f={},f[c]=o(t[c],l),f)):n(t,c)}return n(t,e)};e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var n=r(1),i=function(t){return(0,n.makeFieldValue)(void 0===t||t&&void 0===t.initial?{}:{initial:t.initial,value:t.initial})},o=function u(t){return t?Object.keys(t).reduce(function(e,r){var o=t[r];return Array.isArray(o)?e[r]=o.map(function(t){return(0,n.isFieldValue)(t)?i(t):u(t)}):o&&((0,n.isFieldValue)(o)?e[r]=i(o):"object"==typeof o&&null!==o?e[r]=u(o):e[r]=o),e},{}):t};e.default=o},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},i=r(1),o=function(t){return"_"===t[0]},u=function a(t,e,r){var u=function(){if(Array.isArray(t))return t.map(function(t,n){return a(t,e&&e[n],r)});if(t&&"object"==typeof t){var u=Object.keys(t).reduce(function(i,u){var s;return o(u)?i:n({},i,(s={},s[u]=a(t[u],e&&e[u],r),s))},t);return(0,i.isFieldValue)(t)&&(0,i.makeFieldValue)(u),u}return(0,i.makeFieldValue)(t)};if("undefined"!=typeof File&&t instanceof File)return t;if(!e){if(!t)return t;if(t[r]){var s=n({},t);return delete s[r],(0,i.makeFieldValue)(s)}return u()}if("string"==typeof e){var f;return(0,i.makeFieldValue)(n({},t,(f={},f[r]=e,f)))}if(Array.isArray(e)){if(!t||Array.isArray(t)){var c=function(){var n=(t||[]).map(function(t,n){return a(t,e[n],r)});return e.forEach(function(t,e){return n[e]=a(n[e],t,r)}),{v:n}}();if("object"==typeof c)return c.v}return a(t,e[0],r)}if((0,i.isFieldValue)(t)){var l;return(0,i.makeFieldValue)(n({},t,(l={},l[r]=e,l)))}var d=Object.keys(e);return d.length||t?d.reduce(function(i,u){var s;return o(u)?i:n({},i,(s={},s[u]=a(t&&t[u],e[u],r),s))},u()||{}):t};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(6),o=n(i),u=function(){},a=function(t){return(0,o.default)(t)?t.then(u,u):t};e.default=a},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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},o=r(42),u=n(o),a=r(2),s=n(a),f=r(17),c=n(f),l=function(t,e,r,n){var o={},a=void 0===e.value?"":e.value;t.value!==a&&(o.value=a,o.checked=(0,c.default)(a));var f=(0,u.default)(a,e.initial);t.pristine!==f&&(o.dirty=!f,o.pristine=f);var l=n||e.submitError||e.asyncError;l!==t.error&&(o.error=l);var d=(0,s.default)(l);t.valid!==d&&(o.invalid=!d,o.valid=d),r!==t.active&&(o.active=r);var p=!!e.touched;p!==t.touched&&(o.touched=p);var h=!!e.visited;h!==t.visited&&(o.visited=h);var y=!!e.autofilled;return y!==t.autofilled&&(o.autofilled=y),"initial"in e&&e.initial!==t.initialValue&&(t.initialValue=e.initial),Object.keys(o).length?i({},t,o):t};e.default=l},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},i=r(27),o=function(t,e){return t?"function"==typeof t?t.length>1?function(r,o){return n({dispatch:r},t(r,o),(0,i.bindActionCreators)(e,r))}:function(r){return n({dispatch:r},t(r),(0,i.bindActionCreators)(e,r))}:function(r){return n({dispatch:r},(0,i.bindActionCreators)(t,r),(0,i.bindActionCreators)(e,r))}:function(t){return n({dispatch:t},(0,i.bindActionCreators)(e,t))}};e.default=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(t,e){if(t){if("function"!=typeof t)throw new Error("mapStateToProps must be a function");return t.length>1?function(n,i){return r({},t(n,i),{form:e(n)})}:function(n){return r({},t(n),{form:e(n)})}}return function(t){return{form:e(t)}}};e.default=n},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 i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=i?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,i,o,u,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,i,o,u,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){function r(t){return n(Object(t))}var n=Object.getPrototypeOf;t.exports=r},function(t,e){function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}t.exports=r},function(t,e){function r(t){return!!t&&"object"==typeof t}t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){return!!(t&&e&&t.some(function(t){return~e.indexOf(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},a=r(21),s=n(a),f=function(){function t(e,r){var n=this;i(this,t),this.component=e,this.allProps=[],this.cache=Object.keys(r).reduce(function(t,e){var i,o=r[e],a=o.fn,s=o.params;return s.forEach(function(t){~n.allProps.indexOf(t)||n.allProps.push(t)}),u({},t,(i={},i[e]={value:void 0,props:s,fn:a},i))},{})}return t.prototype.get=function(t){var e=this.component,r=this.cache[t],n=r.value,i=r.fn,o=r.props;if(void 0!==n)return n;var u=o.map(function(t){return e.props[t]}),a=i.apply(void 0,u);return this.cache[t].value=a,a},t.prototype.componentWillReceiveProps=function(t){var e=this,r=this.component,n=[];this.allProps.forEach(function(e){s.default(r.props[e],t[e])||n.push(e)}),n.length&&Object.keys(this.cache).forEach(function(t){o(n,e.cache[t].props)&&delete e.cache[t].value})},t}();e.default=f,t.exports=e.default},function(t,e,r){t.exports=r(59)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.default=void 0;var a=r(3),s=r(23),f=n(s),c=r(24),l=(n(c),function(t){function e(r,n){i(this,e);var u=o(this,t.call(this,r,n));return u.store=r.store,u}return u(e,t),e.prototype.getChildContext=function(){return{store:this.store}},e.prototype.render=function(){var t=this.props.children;return a.Children.only(t)},e}(a.Component));e.default=l,l.propTypes={store:f.default.isRequired,children:a.PropTypes.element.isRequired},l.childContextTypes={store:f.default.isRequired}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return t.displayName||t.name||"Component"}function s(t,e){try{return t.apply(e)}catch(r){return V.value=r,V}}function f(t,e,r){var n=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],f=Boolean(t),d=t||P,h=void 0;h="function"==typeof e?e:e?(0,b.default)(e):S;var v=r||j,m=n.pure,g=void 0===m?!0:m,_=n.withRef,A=void 0===_?!1:_,T=g&&v!==j,x=E++;return function(t){function e(t,e,r){var n=v(t,e,r);return n}var r="Connect("+a(t)+")",n=function(n){function a(t,e){i(this,a);var u=o(this,n.call(this,t,e));u.version=x,u.store=t.store||e.store,(0,w.default)(u.store,'Could not find "store" in either the context or '+('props of "'+r+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+r+'".'));var s=u.store.getState();return u.state={storeState:s},u.clearCache(),u}return u(a,n),a.prototype.shouldComponentUpdate=function(){return!g||this.haveOwnPropsChanged||this.hasStoreStateChanged},a.prototype.computeStateProps=function(t,e){if(!this.finalMapStateToProps)return this.configureFinalMapState(t,e);var r=t.getState(),n=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(r,e):this.finalMapStateToProps(r);return n},a.prototype.configureFinalMapState=function(t,e){var r=d(t.getState(),e),n="function"==typeof r;return this.finalMapStateToProps=n?r:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,n?this.computeStateProps(t,e):r},a.prototype.computeDispatchProps=function(t,e){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(t,e);var r=t.dispatch,n=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(r,e):this.finalMapDispatchToProps(r);return n},a.prototype.configureFinalMapDispatch=function(t,e){var r=h(t.dispatch,e),n="function"==typeof r;return this.finalMapDispatchToProps=n?r:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,n?this.computeDispatchProps(t,e):r},a.prototype.updateStatePropsIfNeeded=function(){var t=this.computeStateProps(this.store,this.props);return this.stateProps&&(0,y.default)(t,this.stateProps)?!1:(this.stateProps=t,!0)},a.prototype.updateDispatchPropsIfNeeded=function(){var t=this.computeDispatchProps(this.store,this.props);return this.dispatchProps&&(0,y.default)(t,this.dispatchProps)?!1:(this.dispatchProps=t,!0)},a.prototype.updateMergedPropsIfNeeded=function(){var t=e(this.stateProps,this.dispatchProps,this.props);return this.mergedProps&&T&&(0,y.default)(t,this.mergedProps)?!1:(this.mergedProps=t,!0)},a.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},a.prototype.trySubscribe=function(){f&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},a.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},a.prototype.componentDidMount=function(){this.trySubscribe()},a.prototype.componentWillReceiveProps=function(t){g&&(0,y.default)(t,this.props)||(this.haveOwnPropsChanged=!0)},a.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},a.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},a.prototype.handleChange=function(){if(this.unsubscribe){var t=this.store.getState(),e=this.state.storeState;if(!g||e!==t){if(g&&!this.doStatePropsDependOnOwnProps){var r=s(this.updateStatePropsIfNeeded,this);if(!r)return;r===V&&(this.statePropsPrecalculationError=V.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:t})}}},a.prototype.getWrappedInstance=function(){return(0,w.default)(A,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},a.prototype.render=function(){var e=this.haveOwnPropsChanged,r=this.hasStoreStateChanged,n=this.haveStatePropsBeenPrecalculated,i=this.statePropsPrecalculationError,o=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,i)throw i;var u=!0,a=!0;g&&o&&(u=r||e&&this.doStatePropsDependOnOwnProps,a=e&&this.doDispatchPropsDependOnOwnProps);var s=!1,f=!1;n?s=!0:u&&(s=this.updateStatePropsIfNeeded()),a&&(f=this.updateDispatchPropsIfNeeded());var d=!0;return d=s||f||e?this.updateMergedPropsIfNeeded():!1,!d&&o?o:(A?this.renderedElement=(0,l.createElement)(t,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,l.createElement)(t,this.mergedProps),this.renderedElement)},a}(l.Component);return n.displayName=r,n.WrappedComponent=t,n.contextTypes={store:p.default},n.propTypes={store:p.default},(0,O.default)(n,t)}}var c=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.__esModule=!0,e.default=f;var l=r(3),d=r(23),p=n(d),h=r(64),y=n(h),v=r(65),b=n(v),m=r(24),g=(n(m),r(7)),_=(n(g),r(22)),O=n(_),A=r(55),w=n(A),P=function(t){return{}},S=function(t){return{dispatch:t}},j=function(t,e,r){return c({},r,t,e)},V={value:null},E=0},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.connect=e.Provider=void 0;var i=r(61),o=n(i),u=r(62),a=n(u);e.Provider=o.default,e.connect=a.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 i=Object.prototype.hasOwnProperty,o=0;o<r.length;o++)if(!i.call(e,r[o])||t[r[o]]!==e[r[o]])return!1;return!0}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){return function(e){return(0,i.bindActionCreators)(t,e)}}e.__esModule=!0,e.default=n;var i=r(27)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return function(r,n,i){var u=t(r,n,i),s=u.dispatch,f=[],c={getState:u.getState,dispatch:function(t){return s(t)}};return f=e.map(function(t){return t(c)}),s=a.default.apply(void 0,f)(u.dispatch),o({},u,{dispatch:s})}}}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=i;var u=r(25),a=n(u)},function(t,e){"use strict";function r(t,e){return function(){return e(t.apply(void 0,arguments))}}function n(t,e){if("function"==typeof t)return r(t,e);if("object"!=typeof t||null===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"?');for(var n=Object.keys(t),i={},o=0;o<n.length;o++){var u=n[o],a=t[u];"function"==typeof a&&(i[u]=r(a,e))}return i}e.__esModule=!0,e.default=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return"Given action "+n+', reducer "'+t+'" returned undefined. 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 i="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:i}))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 u(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var u=e[n];"function"==typeof t[u]&&(r[u]=t[u])}var a,s=Object.keys(r);try{o(r)}catch(f){a=f}return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=arguments[1];if(a)throw a;for(var n=!1,o={},u=0;u<s.length;u++){var f=s[u],c=r[f],l=t[f],d=c(l,e);if("undefined"==typeof d){var p=i(f,e);throw new Error(p)}o[f]=d,n=n||d!==l}return n?o:t}}e.__esModule=!0,e.default=u;var a=r(26),s=r(7),f=(n(s),r(28));n(f)},function(t,e,r){(function(e){"use strict";t.exports=r(70)(e||window||this)}).call(e,function(){return this}())},function(t,e){"use strict";t.exports=function(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",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=r(60),f=n(s),c=r(14),l=n(c),d=r(31),p=n(d),h=function(t,e,r){return function(n,s,c,d,h){var y=e.Component,v=e.PropTypes,b=function(l){function y(i){o(this,y);var a=u(this,l.call(this,i));return a.cache=new f.default(a,{ReduxForm:{params:["reduxMountPoint","form","formKey","getFormState"],fn:(0,p.default)(i,t,e,r,n,s,c,d,h)}}),a}return a(y,l),y.prototype.componentWillReceiveProps=function(t){this.cache.componentWillReceiveProps(t)},y.prototype.render=function(){var t=this.cache.get("ReduxForm"),r=this.props,n=(r.reduxMountPoint,r.destroyOnUnmount,r.form,r.getFormState,r.touchOnBlur,r.touchOnChange,i(r,["reduxMountPoint","destroyOnUnmount","form","getFormState","touchOnBlur","touchOnChange"]));return e.createElement(t,n)},y}(y);return b.displayName="ReduxFormConnector("+(0,l.default)(n)+")",b.WrappedComponent=n,b.propTypes={destroyOnUnmount:v.bool,reduxMountPoint:v.string,form:v.string.isRequired,formKey:v.string,getFormState:v.func,touchOnBlur:v.bool,touchOnChange:v.bool},b.defaultProps={reduxMountPoint:"form",getFormState:function(t,e){return t[e]}},b}};e.default=h},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(11),o=n(i),u=function(t,e,r,n){return function(i){var u=(0,o.default)(i,r);e(t,u),n&&n(t,u)}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(11),o=n(i),u=function(t,e,r){return function(n){return e(t,(0,o.default)(n,r))}};e.default=u},function(t,e,r){"use strict";e.__esModule=!0;var n=r(10),i=function(t,e){return function(r){e(t,r.dataTransfer.getData(n.dataKey))}};e.default=i},function(t,e){"use strict";e.__esModule=!0;var r=function(t,e){return function(){return e(t)}};e.default=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(13),o=n(i),u=function(t){return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;r>i;i++)n[i-1]=arguments[i];return(0,o.default)(e)?t.apply(void 0,n):t.apply(void 0,[e].concat(n))}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(6),o=n(i),u=r(2),a=n(u),s=function(t,e,r,n){var i=r.dispatch,u=r.fields,s=r.onSubmitSuccess,f=r.onSubmitFail,c=r.startSubmit,l=r.stopSubmit,d=r.submitFailed,p=r.returnRejectedSubmitPromise,h=r.touch,y=r.validate,v=y(e,r);if(h.apply(void 0,u),(0,a.default)(v)){var b=function(){var n=t(e,i,r);return(0,o.default)(n)?(c(),n.then(function(t){return l(),s&&s(t),t},function(t){return l(t),f&&f(t),p?Promise.reject(t):void 0})):(s&&s(n),n)},m=n();return(0,o.default)(m)?m.then(b,function(){return d(),f&&f(),p?Promise.reject():Promise.resolve()}):b()}return d(),f&&f(v),p?Promise.reject(v):void 0};e.default=s},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},i=r(1),o=function(t,e,r){return void 0===t&&void 0===e?(0,i.makeFieldValue)({}):(0,i.makeFieldValue)({initial:t,value:r?t:e})},u=function(t,e){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],i=arguments.length<=3||void 0===arguments[3]?!0:arguments[3];if(!e)throw new Error("fields must be passed when initializing state");if(!t||!e.length)return r;var u=function a(t,e,r){var u=t.indexOf(".");if(0===u)return a(t.substring(1),e,r);var s=t.indexOf("["),f=t.indexOf("]"),c=n({},r)||{};if(u>=0&&(0>s||s>u)){var l=t.substring(0,u);c[l]=e[l]&&a(t.substring(u+1),e[l],c[l]||{})}else s>=0&&(0>u||u>s)?!function(){if(0>f)throw new Error("found '[' but no ']': '"+t+"'");var r=t.substring(0,s),n=e[r],u=c[r],l=t.substring(f+1);Array.isArray(n)?l.length?c[r]=n.map(function(t,e){return a(l,t,u&&u[e])}):c[r]=n.map(function(t,e){return o(t,u&&u[e]&&u[e].value,i)}):c[r]=[]}():c[t]=o(e&&e[t],r&&r[t]&&r[t].value,i);return c};return e.reduce(function(e,r){return u(r,t,e)},n({},r))};e.default=u},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),i=Object.keys(e);if(n.length!==i.length)return!1;for(var o=0;o<i.length;o++){var u=i[o];if(!r(t[u],e[u]))return!1}}else if(t||e)return t===e;return!0}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){var e=t.indexOf("."),r=t.indexOf("["),n=t.indexOf("]");if(r>0&&n!==r+1)throw new Error("found [ not followed by ]");var i=r>0&&(0>e||e>r),o=void 0,u=void 0;return i?(o=t.substring(0,r),u=t.substring(n+1),"."===u[0]&&(u=u.substring(1))):e>0?(o=t.substring(0,e),u=t.substring(e+1)):o=t,{isArray:i,key:o,nestedPath:u}}function i(t,e,r,o,u,s,f){if(t.isArray){if(t.nestedPath){var c=function(){var a=r&&r[t.key]||[],c=o&&o[t.key]||[],l=n(t.nestedPath);return{v:a.map(function(t,r){return t[l.key]=i(l,e,t,c[r],u,s,f),t})}}();if("object"==typeof c)return c.v}var l=f[e],d=l(r&&r[t.key],o&&o[t.key],u,s);return t.isArray?d&&d.map(a.makeFieldValue):d}if(t.nestedPath){var p=r&&r[t.key]||{},h=n(t.nestedPath);return p[h.key]=i(h,e,p,o&&o[t.key],u,s,f),p}var y=r&&Object.assign({},r[t.key]||{}),v=f[e];return y.value=v(y.value,o&&o[t.key]&&o[t.key].value,u,s),(0,a.makeFieldValue)(y)}function o(t,e,r,o,a){var s=Object.keys(t).reduce(function(u,s){var f=n(s);return u[f.key]=i(f,s,e,r,o,a,t),u},{});return u({},e,s)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=o;var a=r(1)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var r=t.substring(e+1);return"."===r[0]&&(r=r.substring(1)),r}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},u=r(35),a=n(u),s=r(36),f=n(s),c=r(10),l=n(c),d=r(37),p=n(d),h=r(38),y=n(h),v=r(49),b=n(v),m=r(18),g=n(m),_=r(50),O=n(_),A=r(17),w=n(A),P=function(t){var e=t.indexOf("."),r=t.indexOf("[");return r>0&&(0>e||e>r)?t.substring(0,r):e>0?t.substring(0,e):t},S=function(t,e){return~e.indexOf(t.replace(/\[[0-9]+\]/g,"[]"))},j=function V(t,e){var r=arguments.length<=2||void 0===arguments[2]?"":arguments[2],n=arguments[3],u=arguments[4],s=arguments[5],c=arguments[6],d=arguments[7],h=arguments.length<=8||void 0===arguments[8]?function(){return null}:arguments[8],v=arguments.length<=9||void 0===arguments[9]?"":arguments[9],m=d.asyncBlurFields,_=d.autofill,A=d.blur,j=d.change,E=d.focus,T=d.form,x=d.initialValues,M=d.readonly,R=d.addArrayValue,F=d.removeArrayValue,C=d.swapArrayValues,k=e.indexOf("."),I=e.indexOf("["),D=e.indexOf("]");if(I>0&&D!==I+1)throw new Error("found [ not followed by ]");if(I>0&&(0>k||k>I)){var N=function(){var o=e.substring(0,I),a=i(e,D),f=t&&t[o]||[],l=v+e.substring(0,D+1),p=d.fields.reduce(function(t,e){return 0===e.indexOf(l)&&t.push(e),t},[]).map(function(t){return i(t,v.length+D)}),y=function(t){return Object.defineProperty(t,"addField",{value:function(t,e){return R(r+o,t,e,p)}}),Object.defineProperty(t,"removeField",{value:function(t){return F(r+o,t)}}),Object.defineProperty(t,"swapFields",{value:function(t,e){return C(r+o,t,e)}}),t};n[o]&&n[o].length===f.length||(n[o]=n[o]?[].concat(n[o]):[],y(n[o]));var b=n[o],m=!1;return f.forEach(function(t,e){a&&!b[e]&&(b[e]={},m=!0);var n=a?b[e]:{},i=""+r+o+"["+e+"]"+(a?".":""),f=""+v+o+"[]"+(a?".":""),l=V(t,a,i,n,u,s,c,d,h,f);a||b[e]===l||(b[e]=l,m=!0)}),b.length>f.length&&b.splice(f.length,b.length-f.length),{v:m?y([].concat(b)):b}}();if("object"==typeof N)return N.v}if(k>0){var U=e.substring(0,k),q=e.substring(k+1),W=n[U]||{},L=r+U+".",K=P(q),B=v+U+".",z=W[K],Y=V(t[U]||{},q,L,W,u,s,c,d,h,B);if(Y!==z){var H;W=o({},W,(H={},H[K]=Y,H))}return n[U]=W,W}var G=r+e,Z=n[e]||{};if(Z.name!==G){var J=(0,f.default)(G,j,c),Q=(0,g.default)(G+".initial",T),X=Q||(0,g.default)(G,x);X=void 0===X?"":X,Z.name=G,Z.checked=(0,w.default)(X),Z.value=X,Z.initialValue=X,M||(Z.autofill=function(t){return _(G,t)},Z.onBlur=(0,a.default)(G,A,c,S(G,m)&&function(t,e){return(0,b.default)(s(t,e))}),Z.onChange=J,Z.onDragStart=(0,l.default)(G,function(){return Z.value}),Z.onDrop=(0,p.default)(G,j),Z.onFocus=(0,y.default)(G,E),Z.onUpdate=J),Z.valid=!0,Z.invalid=!1,Object.defineProperty(Z,"_isField",{value:!0})}var $={initial:Z.value,value:Z.value},tt=(e?t[e]:t)||$,et=(0,g.default)(G,u),rt=(0,O.default)(Z,tt,G===T._active,et);return(e||n[e]!==rt)&&(n[e]=rt),h(rt),rt};e.default=j},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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},o=r(44),u=n(o),a=r(20),s=n(a),f=r(15),c=n(f),l=r(46),d=n(l),p=function(t,e,r,n,o){var a=t.fields,f=t.form,l=t.validate,p=e.fields,h=(0,c.default)(a,f),y=l(h,t)||{},v={},b=y._error||f._error,m=!b,g=!0,_=function(t){t.error&&(v=(0,s.default)(t.name,t.error,v),m=!1),t.dirty&&(g=!1)},O=p?p.reduce(function(t,e){return~a.indexOf(e)?t:(0,d.default)(t,e)},i({},r)):i({},r);return a.forEach(function(e){(0,u.default)(f,e,void 0,O,y,n,o,t,_)}),Object.defineProperty(O,"_meta",{value:{allPristine:g,allValid:m,values:h,errors:v,formError:b}}),O};e.default=p},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},i=function o(t,e){var i=e.indexOf("."),u=e.indexOf("["),a=e.indexOf("]");if(u>0&&a!==u+1)throw new Error("found [ not followed by ]");if(u>0&&(0>i||i>u)){var s=function(){var i=e.substring(0,u);if(!Array.isArray(t[i]))return{v:n(t,i)};var s=e.substring(a+1);if("."===s[0]&&(s=s.substring(1)),s){var f=function(){var e,u=[];return t[i].forEach(function(t,e){var r=o(t,s);Object.keys(r).length&&(u[e]=r)}),{v:{v:u.length?r({},t,(e={},e[i]=u,e)):n(t,i)}}}();if("object"==typeof f)return f.v}return{v:n(t,i)}}();if("object"==typeof s)return s.v}if(i>0){var f,c=e.substring(0,i),l=e.substring(i+1);if(!t[c])return t;var d=o(t[c],l);return Object.keys(d).length?r({},t,(f={},f[c]=o(t[c],l),f)):n(t,c)}return n(t,e)};e.default=i},function(t,e,r){"use strict";e.__esModule=!0;var n=r(1),i=function(t){return(0,n.makeFieldValue)(void 0===t||t&&void 0===t.initial?{}:{initial:t.initial,value:t.initial})},o=function u(t){return t?Object.keys(t).reduce(function(e,r){var o=t[r];return Array.isArray(o)?e[r]=o.map(function(t){return(0,n.isFieldValue)(t)?i(t):u(t)}):o&&((0,n.isFieldValue)(o)?e[r]=i(o):"object"==typeof o&&null!==o?e[r]=u(o):e[r]=o),e},{}):t};e.default=o},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},i=r(1),o=function(t){return"_"===t[0]},u=function a(t,e,r){var u=function(){if(Array.isArray(t))return t.map(function(t,n){return a(t,e&&e[n],r)});if(t&&"object"==typeof t){var u=Object.keys(t).reduce(function(i,u){var s;return o(u)?i:n({},i,(s={},s[u]=a(t[u],e&&e[u],r),s))},t);return(0,i.isFieldValue)(t)&&(0,i.makeFieldValue)(u),u}return(0,i.makeFieldValue)(t)};if("undefined"!=typeof File&&t instanceof File)return t;if(!e){if(!t)return t;if(t[r]){var s=n({},t);return delete s[r],(0,i.makeFieldValue)(s)}return u()}if("string"==typeof e){var f;return(0,i.makeFieldValue)(n({},t,(f={},f[r]=e,f)))}if(Array.isArray(e)){if(!t||Array.isArray(t)){var c=function(){var n=(t||[]).map(function(t,n){return a(t,e[n],r)});return e.forEach(function(t,e){return n[e]=a(n[e],t,r)}),{v:n}}();if("object"==typeof c)return c.v}return a(t,e[0],r)}if((0,i.isFieldValue)(t)){var l;return(0,i.makeFieldValue)(n({},t,(l={},l[r]=e,l)))}var d=Object.keys(e);return d.length||t?d.reduce(function(i,u){var s;return o(u)?i:n({},i,(s={},s[u]=a(t&&t[u],e[u],r),s))},u()||{}):t};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=r(6),o=n(i),u=function(){},a=function(t){return(0,o.default)(t)?t.then(u,u):t};e.default=a},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}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},o=r(42),u=n(o),a=r(2),s=n(a),f=r(17),c=n(f),l=function(t,e,r,n){var o={},a=void 0===e.value?"":e.value;t.value!==a&&(o.value=a,o.checked=(0,c.default)(a));var f=(0,u.default)(a,e.initial);t.pristine!==f&&(o.dirty=!f,o.pristine=f);var l=n||e.submitError||e.asyncError;l!==t.error&&(o.error=l);var d=(0,s.default)(l);t.valid!==d&&(o.invalid=!d,o.valid=d),r!==t.active&&(o.active=r);var p=!!e.touched;p!==t.touched&&(o.touched=p);var h=!!e.visited;h!==t.visited&&(o.visited=h);var y=!!e.autofilled;return y!==t.autofilled&&(o.autofilled=y),"initial"in e&&e.initial!==t.initialValue&&(t.initialValue=e.initial),Object.keys(o).length?i({},t,o):t};e.default=l},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},i=r(27),o=function(t,e){return t?"function"==typeof t?t.length>1?function(r,o){return n({dispatch:r},t(r,o),(0,i.bindActionCreators)(e,r))}:function(r){return n({dispatch:r},t(r),(0,i.bindActionCreators)(e,r))}:function(r){return n({dispatch:r},(0,i.bindActionCreators)(t,r),(0,i.bindActionCreators)(e,r))}:function(t){return n({dispatch:t},(0,i.bindActionCreators)(e,t))}};e.default=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(t,e){if(t){if("function"!=typeof t)throw new Error("mapStateToProps must be a function");return t.length>1?function(n,i){return r({},t(n,i),{form:e(n)})}:function(n){return r({},t(n),{form:e(n)})}}return function(t){return{form:e(t)}}};e.default=n},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 i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=i?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,i,o,u,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,i,o,u,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){function r(t){return n(Object(t))}var n=Object.getPrototypeOf;t.exports=r},function(t,e){function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}t.exports=r},function(t,e){function r(t){return!!t&&"object"==typeof t}t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){return!!(t&&e&&t.some(function(t){return~e.indexOf(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},a=r(21),s=n(a),f=function(){function t(e,r){var n=this;i(this,t),this.component=e,this.allProps=[],this.cache=Object.keys(r).reduce(function(t,e){var i,o=r[e],a=o.fn,s=o.params;return s.forEach(function(t){~n.allProps.indexOf(t)||n.allProps.push(t)}),u({},t,(i={},i[e]={value:void 0,props:s,fn:a},i))},{})}return t.prototype.get=function(t){var e=this.component,r=this.cache[t],n=r.value,i=r.fn,o=r.props;if(void 0!==n)return n;var u=o.map(function(t){return e.props[t]}),a=i.apply(void 0,u);return this.cache[t].value=a,a},t.prototype.componentWillReceiveProps=function(t){var e=this,r=this.component,n=[];this.allProps.forEach(function(e){s.default(r.props[e],t[e])||n.push(e)}),n.length&&Object.keys(this.cache).forEach(function(t){o(n,e.cache[t].props)&&delete e.cache[t].value})},t}();e.default=f,t.exports=e.default},function(t,e,r){t.exports=r(59)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.default=void 0;var a=r(3),s=r(23),f=n(s),c=r(24),l=(n(c),function(t){function e(r,n){i(this,e);var u=o(this,t.call(this,r,n));return u.store=r.store,u}return u(e,t),e.prototype.getChildContext=function(){return{store:this.store}},e.prototype.render=function(){var t=this.props.children;return a.Children.only(t)},e}(a.Component));e.default=l,l.propTypes={store:f.default.isRequired,children:a.PropTypes.element.isRequired},l.childContextTypes={store:f.default.isRequired}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return t.displayName||t.name||"Component"}function s(t,e){try{return t.apply(e)}catch(r){return V.value=r,V}}function f(t,e,r){var n=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],f=Boolean(t),d=t||P,h=void 0;h="function"==typeof e?e:e?(0,b.default)(e):S;var v=r||j,m=n.pure,g=void 0===m?!0:m,_=n.withRef,A=void 0===_?!1:_,T=g&&v!==j,x=E++;return function(t){function e(t,e,r){var n=v(t,e,r);return n}var r="Connect("+a(t)+")",n=function(n){function a(t,e){i(this,a);var u=o(this,n.call(this,t,e));u.version=x,u.store=t.store||e.store,(0,w.default)(u.store,'Could not find "store" in either the context or '+('props of "'+r+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+r+'".'));var s=u.store.getState();return u.state={storeState:s},u.clearCache(),u}return u(a,n),a.prototype.shouldComponentUpdate=function(){return!g||this.haveOwnPropsChanged||this.hasStoreStateChanged},a.prototype.computeStateProps=function(t,e){if(!this.finalMapStateToProps)return this.configureFinalMapState(t,e);var r=t.getState(),n=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(r,e):this.finalMapStateToProps(r);return n},a.prototype.configureFinalMapState=function(t,e){var r=d(t.getState(),e),n="function"==typeof r;return this.finalMapStateToProps=n?r:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,n?this.computeStateProps(t,e):r},a.prototype.computeDispatchProps=function(t,e){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(t,e);var r=t.dispatch,n=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(r,e):this.finalMapDispatchToProps(r);return n},a.prototype.configureFinalMapDispatch=function(t,e){var r=h(t.dispatch,e),n="function"==typeof r;return this.finalMapDispatchToProps=n?r:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,n?this.computeDispatchProps(t,e):r},a.prototype.updateStatePropsIfNeeded=function(){var t=this.computeStateProps(this.store,this.props);return this.stateProps&&(0,y.default)(t,this.stateProps)?!1:(this.stateProps=t,!0)},a.prototype.updateDispatchPropsIfNeeded=function(){var t=this.computeDispatchProps(this.store,this.props);return this.dispatchProps&&(0,y.default)(t,this.dispatchProps)?!1:(this.dispatchProps=t,!0)},a.prototype.updateMergedPropsIfNeeded=function(){var t=e(this.stateProps,this.dispatchProps,this.props);return this.mergedProps&&T&&(0,y.default)(t,this.mergedProps)?!1:(this.mergedProps=t,!0)},a.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},a.prototype.trySubscribe=function(){f&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},a.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},a.prototype.componentDidMount=function(){this.trySubscribe()},a.prototype.componentWillReceiveProps=function(t){g&&(0,y.default)(t,this.props)||(this.haveOwnPropsChanged=!0)},a.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},a.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},a.prototype.handleChange=function(){if(this.unsubscribe){var t=this.store.getState(),e=this.state.storeState;if(!g||e!==t){if(g&&!this.doStatePropsDependOnOwnProps){var r=s(this.updateStatePropsIfNeeded,this);if(!r)return;r===V&&(this.statePropsPrecalculationError=V.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:t})}}},a.prototype.getWrappedInstance=function(){return(0,w.default)(A,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},a.prototype.render=function(){var e=this.haveOwnPropsChanged,r=this.hasStoreStateChanged,n=this.haveStatePropsBeenPrecalculated,i=this.statePropsPrecalculationError,o=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,i)throw i;var u=!0,a=!0;g&&o&&(u=r||e&&this.doStatePropsDependOnOwnProps,a=e&&this.doDispatchPropsDependOnOwnProps);var s=!1,f=!1;n?s=!0:u&&(s=this.updateStatePropsIfNeeded()),a&&(f=this.updateDispatchPropsIfNeeded());var d=!0;return d=s||f||e?this.updateMergedPropsIfNeeded():!1,!d&&o?o:(A?this.renderedElement=(0,l.createElement)(t,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,l.createElement)(t,this.mergedProps),this.renderedElement)},a}(l.Component);return n.displayName=r,n.WrappedComponent=t,n.contextTypes={store:p.default},n.propTypes={store:p.default},(0,O.default)(n,t)}}var c=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.__esModule=!0,e.default=f;var l=r(3),d=r(23),p=n(d),h=r(64),y=n(h),v=r(65),b=n(v),m=r(24),g=(n(m),r(7)),_=(n(g),r(22)),O=n(_),A=r(55),w=n(A),P=function(t){return{}},S=function(t){return{dispatch:t}},j=function(t,e,r){return c({},r,t,e)},V={value:null},E=0},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.connect=e.Provider=void 0;var i=r(61),o=n(i),u=r(62),a=n(u);e.Provider=o.default,e.connect=a.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 i=Object.prototype.hasOwnProperty,o=0;o<r.length;o++)if(!i.call(e,r[o])||t[r[o]]!==e[r[o]])return!1;return!0}e.__esModule=!0,e.default=r},function(t,e,r){"use strict";function n(t){return function(e){return(0,i.bindActionCreators)(t,e)}}e.__esModule=!0,e.default=n;var i=r(27)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t){return function(r,n,i){var u=t(r,n,i),s=u.dispatch,f=[],c={getState:u.getState,dispatch:function(t){return s(t)}};return f=e.map(function(t){return t(c)}),s=a.default.apply(void 0,f)(u.dispatch),o({},u,{dispatch:s})}}}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=i;var u=r(25),a=n(u)},function(t,e){"use strict";function r(t,e){return function(){return e(t.apply(void 0,arguments))}}function n(t,e){if("function"==typeof t)return r(t,e);if("object"!=typeof t||null===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"?');for(var n=Object.keys(t),i={},o=0;o<n.length;o++){var u=n[o],a=t[u];"function"==typeof a&&(i[u]=r(a,e))}return i}e.__esModule=!0,e.default=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return"Given action "+n+', reducer "'+t+'" returned undefined. 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 i="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:i}))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 u(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var u=e[n];"function"==typeof t[u]&&(r[u]=t[u])}var a,s=Object.keys(r);try{o(r)}catch(f){a=f}return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=arguments[1];if(a)throw a;for(var n=!1,o={},u=0;u<s.length;u++){var f=s[u],c=r[f],l=t[f],d=c(l,e);if("undefined"==typeof d){var p=i(f,e);throw new Error(p)}o[f]=d,n=n||d!==l}return n?o:t}}e.__esModule=!0,e.default=u;var a=r(26),s=r(7),f=(n(s),r(28));n(f)},function(t,e,r){(function(e){"use strict";t.exports=r(70)(e||window||this)}).call(e,function(){return this}())},function(t,e){"use strict";t.exports=function(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}}])});

@@ -118,3 +118,3 @@ 'use strict';

(0, _expect2.default)(asyncValidate).toHaveBeenCalled().toHaveBeenCalledWith();
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch);
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch, props);
(0, _expect2.default)(startSubmit).toNotHaveBeenCalled();

@@ -230,3 +230,3 @@ (0, _expect2.default)(stopSubmit).toNotHaveBeenCalled();

(0, _expect2.default)(asyncValidate).toHaveBeenCalled().toHaveBeenCalledWith();
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch);
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch, props);
(0, _expect2.default)(startSubmit).toNotHaveBeenCalled();

@@ -269,3 +269,3 @@ (0, _expect2.default)(stopSubmit).toNotHaveBeenCalled();

(0, _expect2.default)(asyncValidate).toHaveBeenCalled().toHaveBeenCalledWith();
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch);
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch, props);
(0, _expect2.default)(startSubmit).toHaveBeenCalled();

@@ -309,3 +309,3 @@ (0, _expect2.default)(stopSubmit).toHaveBeenCalled().toHaveBeenCalledWith();

(0, _expect2.default)(asyncValidate).toHaveBeenCalled().toHaveBeenCalledWith();
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch);
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch, props);
(0, _expect2.default)(startSubmit).toHaveBeenCalled();

@@ -351,3 +351,3 @@ (0, _expect2.default)(stopSubmit).toHaveBeenCalled().toHaveBeenCalledWith(submitErrors);

(0, _expect2.default)(asyncValidate).toHaveBeenCalled().toHaveBeenCalledWith();
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch);
(0, _expect2.default)(submit).toHaveBeenCalled().toHaveBeenCalledWith(values, dispatch, props);
(0, _expect2.default)(startSubmit).toHaveBeenCalled();

@@ -354,0 +354,0 @@ (0, _expect2.default)(stopSubmit).toHaveBeenCalled().toHaveBeenCalledWith(submitErrors);

@@ -31,3 +31,3 @@ 'use strict';

var doSubmit = function doSubmit() {
var result = submit(values, dispatch);
var result = submit(values, dispatch, props);
if ((0, _isPromise2.default)(result)) {

@@ -34,0 +34,0 @@ startSubmit();

@@ -74,3 +74,3 @@ 'use strict';

var finalField = state && state[field.key] || {};
var finalField = state && Object.assign({}, state[field.key] || {});
var normalizer = normalizers[fullFieldPath];

@@ -77,0 +77,0 @@

{
"name": "redux-form",
"version": "5.3.2",
"version": "5.3.3",
"description": "A higher order component decorator for forms using Redux and React",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -114,3 +114,3 @@ import expect, {createSpy} from 'expect';

.toHaveBeenCalled()
.toHaveBeenCalledWith(values, dispatch);
.toHaveBeenCalledWith(values, dispatch, props);
expect(startSubmit).toNotHaveBeenCalled();

@@ -237,3 +237,3 @@ expect(stopSubmit).toNotHaveBeenCalled();

.toHaveBeenCalled()
.toHaveBeenCalledWith(values, dispatch);
.toHaveBeenCalledWith(values, dispatch, props);
expect(startSubmit).toNotHaveBeenCalled();

@@ -281,3 +281,3 @@ expect(stopSubmit).toNotHaveBeenCalled();

.toHaveBeenCalled()
.toHaveBeenCalledWith(values, dispatch);
.toHaveBeenCalledWith(values, dispatch, props);
expect(startSubmit).toHaveBeenCalled();

@@ -328,3 +328,3 @@ expect(stopSubmit)

.toHaveBeenCalled()
.toHaveBeenCalledWith(values, dispatch);
.toHaveBeenCalledWith(values, dispatch, props);
expect(startSubmit).toHaveBeenCalled();

@@ -379,3 +379,3 @@ expect(stopSubmit)

.toHaveBeenCalled()
.toHaveBeenCalledWith(values, dispatch);
.toHaveBeenCalledWith(values, dispatch, props);
expect(startSubmit).toHaveBeenCalled();

@@ -382,0 +382,0 @@ expect(stopSubmit)

@@ -13,3 +13,3 @@ import isPromise from 'is-promise';

const doSubmit = () => {
const result = submit(values, dispatch);
const result = submit(values, dispatch, props);
if (isPromise(result)) {

@@ -16,0 +16,0 @@ startSubmit();

@@ -81,3 +81,3 @@ import {makeFieldValue} from './fieldValue';

const finalField = state && state[field.key] || {};
const finalField = state && Object.assign({}, state[field.key] || {});
const normalizer = normalizers[fullFieldPath];

@@ -84,0 +84,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc