redux-bluetooth/dist/redux-bluetooth.webapp.js

1 line
21 KiB
JavaScript

!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.BLUETOOTH_CONNECTING="@@bluetooth/CONNECTING",t.BLUETOOTH_CONNECTED="@@bluetooth/CONNECTED",t.BLUETOOTH_ERROR="@@bluetooth/ERROR",t.BLUETOOTH_READ="@@bluetooth/READ",t.BLUETOOTH_SYNC="@@bluetooth/SYNC",t.BLUETOOTH_SEND="@@bluetooth/SEND",t.BLUETOOTH_CONNECT_REQUEST="@@bluetooth/CONNECT_REQUEST",t.BLUETOOTH_SEND_REQUEST="@@bluetooth/SEND_REQUEST",t.BLUETOOTH_SYNC_REQUEST="@@bluetooth/SYNC_REQUEST"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.INIT="INIT",t.DISCONNECTED="DISCONNECTED",t.DISCONNECTING="DISCONNECTING",t.CONNECTING="CONNECTING",t.CONNECTED="CONNECTED",t.ERROR="ERROR"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),u=r(o),i=n(0),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),f=n(17),a=r(f);t.default=(0,a.default)(u.default,c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(2),u=function(e){return e&&e.__esModule?e:{default:e}}(o),i=n(0),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),f=u.default.sendAction,a=c.BLUETOOTH_CONNECT_REQUEST,l=c.BLUETOOTH_SEND_REQUEST,d=c.BLUETOOTH_SYNC_REQUEST,s=[a,l,d];t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return function(t){return function(n){return function(o){if("object"!==(void 0===o?"undefined":r(o)))return n(o);var u=o.type;return s.includes(u)&&o.request(t.dispatch),e.includes(u)&&t.dispatch(f(o)),n(o)}}}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),u=r(o),i=n(1),c=r(i),f=n(18),a=function(e){return e&&e.__esModule?e:{default:e}}(f);t.default=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default,n=arguments[1],r=n.type,o=n.payload;switch(r){case u.BLUETOOTH_CONNECTING:return Object.assign({},t,{status:c.CONNECTING});case u.BLUETOOTH_CONNECTED:return Object.assign({},t,{status:c.CONNECTED});case u.BLUETOOTH_SYNC:return e?Object.assign({},t,{store:o}):t;default:return t}}}},function(e,t,n){"use strict";function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function u(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function i(e){if(s===clearTimeout)return clearTimeout(e);if((s===o||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}function c(){b&&p&&(b=!1,p.length?v=p.concat(v):_=-1,v.length&&f())}function f(){if(!b){var e=u(c);b=!0;for(var t=v.length;t;){for(p=v,v=[];++_<t;)p&&p[_].run();_=-1,t=v.length}p=null,b=!1,i(e)}}function a(e,t){this.fun=e,this.array=t}function l(){}var d,s,y=e.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:r}catch(e){d=r}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(e){s=o}}();var p,v=[],b=!1,_=-1;y.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];v.push(new a(e,t)),1!==v.length||b||u(f)},a.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={},y.on=l,y.addListener=l,y.once=l,y.off=l,y.removeListener=l,y.removeAllListeners=l,y.emit=l,y.prependListener=l,y.prependOnceListener=l,y.listeners=function(e){return[]},y.binding=function(e){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(e){throw new Error("process.chdir is not supported")},y.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){h===_&&(h=_.slice())}function i(){return b}function f(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),h.push(e),function(){if(t){t=!1,r();var n=h.indexOf(e);h.splice(n,1)}}}function d(e){if(!(0,c.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(O)throw new Error("Reducers may not dispatch actions.");try{O=!0,b=v(b,e)}finally{O=!1}for(var t=_=h,n=0;n<t.length;n++){(0,t[n])()}return e}function s(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");v=e,d({type:l.INIT})}function y(){var e,t=f;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!==(void 0===e?"undefined":u(e)))throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[a.default]=function(){return this},e}var p;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var v=e,b=t,_=[],h=_,O=!1;return d({type:l.INIT}),p={dispatch:d,subscribe:f,getState:i,replaceReducer:s},p[a.default]=y,p}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionTypes=void 0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var i=n(7),c=r(i),f=n(29),a=r(f),l=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!(0,l.default)(e)||(0,i.default)(e)!=d)return!1;var t=(0,f.default)(e);if(null===t)return!0;var n=v.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)==b}Object.defineProperty(t,"__esModule",{value:!0});var u=n(21),i=r(u),c=n(26),f=r(c),a=n(28),l=r(a),d="[object Object]",s=Function.prototype,y=Object.prototype,p=s.toString,v=y.hasOwnProperty,b=p.call(Object);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22),o=function(e){return e&&e.__esModule?e:{default:e}}(r),u=o.default.Symbol;t.default=u},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.createSyncStore=t.middleware=t.reducers=t.actions=t.status=t.types=void 0;var u=n(0),i=o(u),c=n(1),f=o(c),a=n(2),l=r(a),d=n(3),s=r(d),y=n(4),p=r(y),v=n(19),b=r(v),_=l.default.connectStore,h=l.default.syncStore;t.types=i,t.status=f,t.actions={connectStore:_,syncStore:h},t.reducers=p.default,t.middleware=s.default,t.createSyncStore=b.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),u=n(15),i=r(u),c=n(16),f=r(c),a=window,l=a.navigator,d=a.TextDecoder,s=a.TextEncoder;t.default=new f.default(l.bluetooth,(0,i.default)({TextEncoder:s,TextDecoder:d}),o.CENTRAL_CONFIG)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={SERVICE_UUID:"13333333-3333-3333-3333-333333333337",CHARACTERISTIC_UUID:"13333333-3333-3333-3333-333333330001"};t.CENTRAL_CONFIG=r,t.BLENO_CONFIG={SERVICE_UUID:r.SERVICE_UUID.replace(/-/g,""),CHARACTERISTIC_UUID:r.CHARACTERISTIC_UUID.replace(/-/g,""),DESCRIPTOR_UUID:"2901"}},function(e,t,n){"use strict";function r(e){var t=e.TextEncoder,n=e.TextDecoder,r=new t("utf-8"),o=new n("utf-8");return{encode:function(e){var t=JSON.stringify(e);return r.encode(t)},decode:function(e){var t=o.decode(e),n=JSON.parse(t);return"string"==typeof n?JSON.parse(n):n}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t,n){var r=t.encode,o=t.decode,u=n.SERVICE_UUID,i=n.CHARACTERISTIC_UUID,c={server:null,characteristic:null},f=function(t){return e.requestDevice({filters:[{services:[u],name:t}]}).then(function(e){return e.gatt.connect()}).then(function(e){return c.server=e,e.getPrimaryService(u)}).then(function(e){return e.getCharacteristic(i)}).then(function(e){c.characteristic=e})},a=function(e){return c.characteristic.startNotifications().then(function(){var t=function(t){return e(o(t.target.value))};return c.characteristic.addEventListener("characteristicvaluechanged",t),t})},l=function(){return c.server&&c.server.connected&&c.characteristic?c.characteristic.readValue().then(function(e){return o(e)}):Promise.reject(new Error("Bluetooth: Not Connected"))},d=function(e){if(!c.server||!c.server.connected||!c.characteristic)return null;var t=JSON.stringify(e),n=r(t);return c.characteristic.writeValue(n)};return{connected:c.server&&c.server.connected,connect:f,handler:a,read:l,write:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t){var n=function(e){return{type:t.BLUETOOTH_SYNC,payload:e}},r=function(){return{type:t.BLUETOOTH_SYNC_REQUEST,request:function(t){return e.read().then(function(e){return t(n(e))})}}};return{connectStore:function(o){return{type:t.BLUETOOTH_CONNECT_REQUEST,request:function(u){return u({type:t.BLUETOOTH_CONNECTING}),e.connect(o).then(function(){return e.handler(function(e){return u(n(e))})}).then(function(){return u({type:t.BLUETOOTH_CONNECTED})}).then(function(){return u(r())})}}},syncStore:r,syncState:n,sendAction:function(n){return{type:t.BLUETOOTH_SEND_REQUEST,request:function(){return e.write(n)}}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(r);t.default={status:o.INIT}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=n(20),i=n(3),c=r(i),f=n(4),a=r(f);t.default=function(e){var t=[(0,c.default)(e)],n=[u.applyMiddleware.apply(void 0,t)];return"object"===("undefined"==typeof window?"undefined":o(window))&&window.__REDUX_DEVTOOLS_EXTENSION__&&n.push(window.__REDUX_DEVTOOLS_EXTENSION__()),(0,u.createStore)((0,a.default)(),u.compose.apply(void 0,n))}},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(){}Object.defineProperty(t,"__esModule",{value:!0}),t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var u=n(6),i=r(u),c=n(33),f=r(c),a=n(34),l=r(a),d=n(35),s=r(d),y=n(11),p=r(y),v=n(10),b=r(v);"production"!==e.env.NODE_ENV&&"string"==typeof o.name&&"isCrushed"!==o.name&&(0,b.default)("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),t.createStore=i.default,t.combineReducers=f.default,t.bindActionCreators=l.default,t.applyMiddleware=s.default,t.compose=p.default}).call(t,n(5))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e?void 0===e?s:d:y&&y in Object(e)?(0,f.default)(e):(0,l.default)(e)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(8),i=r(u),c=n(24),f=r(c),a=n(25),l=r(a),d="[object Null]",s="[object Undefined]",y=i.default?i.default.toStringTag:void 0;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(23),u=function(e){return e&&e.__esModule?e:{default:e}}(o),i="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=u.default||i||Function("return this")();t.default=c},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r="object"==(void 0===e?"undefined":n(e))&&e&&e.Object===Object&&e;t.default=r}).call(t,n(9))},function(e,t,n){"use strict";function r(e){var t=c.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var o=f.call(e);return r&&(t?e[a]=n:delete e[a]),o}Object.defineProperty(t,"__esModule",{value:!0});var o=n(8),u=function(e){return e&&e.__esModule?e:{default:e}}(o),i=Object.prototype,c=i.hasOwnProperty,f=i.toString,a=u.default?u.default.toStringTag:void 0;t.default=r},function(e,t,n){"use strict";function r(e){return u.call(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.prototype,u=o.toString;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(27),o=function(e){return e&&e.__esModule?e:{default:e}}(r),u=(0,o.default)(Object.getPrototypeOf,Object);t.default=u},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==(void 0===e?"undefined":o(e))}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r},function(e,t,n){"use strict";e.exports=n(30)},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,u=n(32),i=function(e){return e&&e.__esModule?e:{default:e}}(u);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var c=(0,i.default)(o);t.default=c}).call(t,n(9),n(31)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e,t,n,r){var o=Object.keys(t),u=n&&n.type===f.ActionTypes.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!(0,l.default)(e))return"The "+u+' has unexpected type of "'+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following keys: "'+o.join('", "')+'"';var i=Object.keys(e).filter(function(e){return!t.hasOwnProperty(e)&&!r[e]});return i.forEach(function(e){r[e]=!0}),i.length>0?"Unexpected "+(i.length>1?"keys":"key")+' "'+i.join('", "')+'" found in '+u+'. Expected to find one of the known reducer keys instead: "'+o.join('", "')+'". Unexpected keys will be ignored.':void 0}function i(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:f.ActionTypes.INIT}))throw new Error('Reducer "'+t+"\" 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. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+f.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, but can be null.')})}function c(t){for(var n=Object.keys(t),r={},c=0;c<n.length;c++){var f=n[c];"production"!==e.env.NODE_ENV&&void 0===t[f]&&(0,s.default)('No reducer provided for key "'+f+'"'),"function"==typeof t[f]&&(r[f]=t[f])}var a=Object.keys(r),l=void 0;"production"!==e.env.NODE_ENV&&(l={});var d=void 0;try{i(r)}catch(e){d=e}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(d)throw d;if("production"!==e.env.NODE_ENV){var i=u(t,r,n,l);i&&(0,s.default)(i)}for(var c=!1,f={},y=0;y<a.length;y++){var p=a[y],v=r[p],b=t[p],_=v(b,n);if(void 0===_){var h=o(p,n);throw new Error(h)}f[p]=_,c=c||_!==b}return c?f:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var f=n(6),a=n(7),l=r(a),d=n(10),s=r(d)}).call(t,n(5))},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!==(void 0===e?"undefined":u(e))||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":void 0===e?"undefined":u(e))+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var c=n[i],f=e[c];"function"==typeof f&&(o[c]=r(f,t))}return o}Object.defineProperty(t,"__esModule",{value:!0});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var c=e(n,r,o),f=c.dispatch,a=[],l={getState:c.getState,dispatch:function(e){return f(e)}};return a=t.map(function(e){return e(l)}),f=u.default.apply(void 0,a)(c.dispatch),i({},c,{dispatch:f})}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(11),u=function(e){return e&&e.__esModule?e:{default:e}}(o),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}}]);