FitTrackee/fittrackee/dist/static/js/2.08d2122d.chunk.js

3 lines
1.0 MiB
JavaScript
Raw Normal View History

/*! For license information please see 2.08d2122d.chunk.js.LICENSE.txt */
(this.webpackJsonpfittrackee_client=this.webpackJsonpfittrackee_client||[]).push([[2],[function(t,e,n){t.exports=n(266)()},function(t,e,n){"use strict";t.exports=n(270)},function(t,e,n){"use strict";t.exports=n(262)},function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){var r=n(60),i=n(24);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return V}));var r=n(2),i=n.n(r),o=(n(0),i.a.createContext(null));var a=function(t){t()};function s(){var t=a,e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,i=n={callback:t,next:null,prev:n};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var u={notify:function(){},get:function(){return[]}};function c(t,e){var n,r=u;function i(){a.onStateChange&&a.onStateChange()}function o(){n||(n=e?e.addNestedSub(i):t.subscribe(i),r=s())}var a={addNestedSub:function(t){return o(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=u)},getListeners:function(){return r}};return a}var l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(t){var e=t.store,n=t.context,a=t.children,s=Object(r.useMemo)((function(){var t=c(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),u=Object(r.useMemo)((function(){return e.getState()}),[e]);l((function(){var t=s.subscription;return t.trySubscribe(),u!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,u]);var f=n||o;return i.a.createElement(f.Provider,{value:s},a)},h=n(19),d=n(28),p=n(81),m=n.n(p),y=n(97),v=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],g=["reactReduxForwardedRef"],b=[],w=[null,null];function _(t,e){var n=t[1];return[e.payload,n+1]}function x(t,e,n){l((function(){return t.apply(void 0,e)}),n)}function O(t,e,n,r,i,o,a){t.current=r,e.current=i,n.current=!1,o.current&&(o.current=null,a())}function S(t,e,n,r,i,o,a,s,u,c){if(t){var l=!1,f=null,h=function(){if(!l){var t,n,h=e.getState();try{t=r(h,i.current)}catch(d){n=d,f=d}n||(f=null),t===o.current?a.current||u():(o.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=h,n.trySubscribe(),h();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var k=function(){return[null,0]};function T(t,e){void 0===e&&(e={});var n=e,a=n.getDisplayName,s=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,f=n.renderCountProp,p=void 0===f?void 0:f,T=n.shouldHandleStateChanges,E=void 0===T||T,P=n.storeKey,j=void 0===P?"store":P,M=(n.withRef,n.forwardRef),A=void 0!==M&&M,C=n.context,L=void 0===C?o:C,N=Object(d.a)(n,v),I=L;return function(e){var n=e.displayName||e.name||"Component",o=s(n),a=Object(h.a)({
//# sourceMappingURL=2.08d2122d.chunk.js.map