diff --git a/page/main.js b/page/main.js index 87becde..b1bf847 100644 --- a/page/main.js +++ b/page/main.js @@ -27,4 +27,4 @@ object-assign * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r,l,a,i,o;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},l=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var g=!1,b=null,w=-1,k=5,E=0;i=function(){return t.unstable_now()>=E},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125P(i,n))void 0!==u&&0>P(u,i)?(e[r]=u,e[o]=n,r=o):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],O=[],z=1,M=null,R=3,I=!1,U=!1,F=!1;function D(e){for(var t=C(O);null!==t;){if(null===t.callback)_(O);else{if(!(t.startTime<=e))break;_(O),t.sortIndex=t.expirationTime,S(N,t)}t=C(O)}}function L(e){if(F=!1,D(e),!U)if(null!==C(N))U=!0,r(j);else{var t=C(O);null!==t&&l(L,t.startTime-e)}}function j(e,n){U=!1,F&&(F=!1,a()),I=!0;var r=R;try{for(D(n),M=C(N);null!==M&&(!(M.expirationTime>n)||e&&!i());){var o=M.callback;if(null!==o){M.callback=null,R=M.priorityLevel;var u=o(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?M.callback=u:M===C(N)&&_(N),D(n)}else _(N);M=C(N)}if(null!==M)var c=!0;else{var s=C(O);null!==s&&l(L,s.startTime-n),c=!1}return c}finally{M=null,R=r,I=!1}}function A(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,i){var o=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0o?(e.sortIndex=u,S(O,e),null===C(N)&&e===C(O)&&(F?a():F=!0,l(L,u-o))):(e.sortIndex=i,S(N,e),U||I||(U=!0,r(j))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=C(N);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime=t.scrollHeight?(e.preventDefault(),t.scrollTop=t.scrollHeight):t.scrollTop+e.deltaY<=0&&(e.preventDefault(),t.scrollTop=0),this.props.onWheel(e)}},{key:"render",value:function(){var e=this,t=this.props.tagName,n=Object.assign({},this.props);return delete n.tagName,l.a.createElement(t,s({ref:function(t){return e.scroller=t}},n),this.props.children)}}])&&f(n.prototype,r),a&&f(n,a),t}(r.Component);h(v,"propTypes",{tagName:u.a.string,onWheel:u.a.func}),h(v,"defaultProps",{tagName:"ul",onWheel:function(){}});n(10);function y(e){return(y="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})(e)}function g(e,t){for(var n=0;n=E},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125P(i,n))void 0!==u&&0>P(u,i)?(e[r]=u,e[o]=n,r=o):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],O=[],z=1,M=null,R=3,I=!1,U=!1,F=!1;function D(e){for(var t=C(O);null!==t;){if(null===t.callback)_(O);else{if(!(t.startTime<=e))break;_(O),t.sortIndex=t.expirationTime,S(N,t)}t=C(O)}}function L(e){if(F=!1,D(e),!U)if(null!==C(N))U=!0,r(j);else{var t=C(O);null!==t&&l(L,t.startTime-e)}}function j(e,n){U=!1,F&&(F=!1,a()),I=!0;var r=R;try{for(D(n),M=C(N);null!==M&&(!(M.expirationTime>n)||e&&!i());){var o=M.callback;if(null!==o){M.callback=null,R=M.priorityLevel;var u=o(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?M.callback=u:M===C(N)&&_(N),D(n)}else _(N);M=C(N)}if(null!==M)var c=!0;else{var s=C(O);null!==s&&l(L,s.startTime-n),c=!1}return c}finally{M=null,R=r,I=!1}}function A(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,i){var o=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0o?(e.sortIndex=u,S(O,e),null===C(N)&&e===C(O)&&(F?a():F=!0,l(L,u-o))):(e.sortIndex=i,S(N,e),U||I||(U=!0,r(j))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=C(N);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime=t.scrollHeight?(e.preventDefault(),t.scrollTop=t.scrollHeight):t.scrollTop+e.deltaY<=0&&(e.preventDefault(),t.scrollTop=0),this.props.onWheel(e)}},{key:"render",value:function(){var e=this,t=this.props.tagName,n=Object.assign({},this.props);return delete n.tagName,l.a.createElement(t,s({ref:function(t){return e.scroller=t}},n),this.props.children)}}])&&f(n.prototype,r),a&&f(n,a),t}(r.Component);h(v,"propTypes",{tagName:u.a.string,onWheel:u.a.func}),h(v,"defaultProps",{tagName:"ul",onWheel:function(){}});n(10);function y(e){return(y="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})(e)}function g(e,t){for(var n=0;n
- - Checkout Documentation - NPM Package + + Checkout Documentation + NPM Package