From 08faefe3ce55c312b62fba067d7185b6fcdb84dc Mon Sep 17 00:00:00 2001 From: Greg Fodor Date: Thu, 14 Jun 2018 23:32:51 +0000 Subject: [PATCH] Update dist --- dist/bundle.js | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 128e7e3..ac1d9a6 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,25 +1,23 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";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};!function(e,t){for(var n in t)e[n]=t[n]}(t,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){var i="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)};!function(e,t){for(var n in t)e[n]=t[n]}(t,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=50)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(16)),i=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}(n(6)),a=l(n(2));function l(e){return e&&e.__esModule?e:{default:e}}var u=0;t.default=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(){var e=this;this.putEventListener=function(t,n){var r=e.subscriptions,i=e.listeners;if(i.get(t)!==n&&i.set(t,n),n)r.has(t)||r.set(t,e.node.subscribe(t,n,e));else{var o=r.get(t);o&&(o(),r.delete(t))}},this.destroyEventListeners=function(){e.listeners.clear(),e.subscriptions.clear(),e.node.destroyEventListeners()},this.setStyleFromProps=function(e,t){var n=a.default;t.style?(n=t.style,e._originalStyle=n):e._originalStyle=null,e.frame||(e.frame=(0,i.make)(0,0,0,0));var r=e.frame,o=n.left||0,l=n.top||0,u=n.width||0,s=n.height||0;r.x!==o&&(r.x=o),r.y!==l&&(r.y=l),r.width!==u&&(r.width=u),r.height!==s&&(r.height=s),e.alpha!==n.alpha&&(e.alpha=n.alpha),e.backgroundColor!==n.backgroundColor&&(e.backgroundColor=n.backgroundColor),e.borderColor!==n.borderColor&&(e.borderColor=n.borderColor),e.borderWidth!==n.borderWidth&&(e.borderWidth=n.borderWidth),e.borderRadius!==n.borderRadius&&(e.borderRadius=n.borderRadius),e.clipRect!==n.clipRect&&(e.clipRect=n.clipRect),e.scale!==n.scale&&(e.scale=n.scale),e.translateX===n.translateX&&e.translateY===n.translateY||(e.translateX=n.translateX,e.translateY=n.translateY),e.zIndex!==n.zIndex&&(e.zIndex=n.zIndex),e.shadowColor!==n.shadowColor&&(e.shadowColor=n.shadowColor),e.shadowBlur!==n.shadowBlur&&(e.shadowBlur=n.shadowBlur),e.shadowOffsetX!==n.shadowOffsetX&&(e.shadowOffsetX=n.shadowOffsetX),e.shadowOffsetY!==n.shadowOffsetY&&(e.shadowOffsetY=n.shadowOffsetY)},this.applyCommonLayerProps=function(t,n){var r=e.node;for(var i in n.useBackingStore&&r.backingStoreId!==e._layerId&&(r.backingStoreId=e._layerId),o)t[i]!==n[i]&&e.putEventListener(o[i],n[i]);e.setStyleFromProps(r,n)},this.getLayer=function(){return e.node},this.reset=function(){e.destroyEventListeners(),e._originalStyle=null,e.node.reset(e)}}.call(this),this.type=t,this.subscriptions=new Map,this.listeners=new Map,this.node=new r.default(this),this._layerId=u++}},function(e,t,n){function r(e,t,n,r){return new function(e,t,n,r){this.x=e,this.y=t,this.width=n,this.height=r}(e,t,n,r)}function i(e){return r(e.x,e.y,e.width,e.height)}Object.defineProperty(t,"__esModule",{value:!0}),t.make=r,t.zero=function(){return r(0,0,0,0)},t.clone=i,t.inset=function(e,t,n,r,o){var a=i(e);return void 0===r&&(r=t,o=n),void 0===n&&(n=r=o=t),a.x+=o,a.y+=t,a.height-=t+r,a.width-=o+n,a},t.intersection=function(e,t){var n=Math.max(e.x,t.x),i=Math.min(e.x+e.width,t.x+t.width),o=Math.max(e.y,t.y),a=Math.min(e.y+e.height,t.y+t.height);return i>=n&&a>=o?r(n,o,i-n,a-o):null},t.intersects=function(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height=l.default.poolSize?(r=s[0].canvas,l.default.call(r,t.frame.width,t.frame.height,i),s[0].id=t.backingStoreId,s[0].canvas=r,s.push(s.shift())):(r=new l.default(t.frame.width,t.frame.height,i),s.push({id:t.backingStoreId,layer:t,canvas:r})),u=r.getContext("2d"),t.translate(-a,-o),u.save(),n&&n(u,t),u.restore(),t.children&&_(t,u),t.translate(a,o)),t.clipRect){var f=(t.clipRect.x-t.frame.x)*i,d=(t.clipRect.y-t.frame.y)*i,h=t.clipRect.width*i,p=t.clipRect.height*i,m=t.clipRect.x,y=t.clipRect.y,v=t.clipRect.width,g=t.clipRect.height;h>0&&p>0&&e.drawImage(r.getRawCanvas(),f,d,h,p,m,y,v,g)}else e.drawImage(r.getRawCanvas(),t.frame.x,t.frame.y,t.frame.width,t.frame.height)},t.drawBaseRenderLayer=p,t.drawRenderLayer=g,t.invalidateBackingStore=f,t.invalidateAllBackingStores=function(){s=[]},t.handleImageLoad=function(e){s.forEach(function(t){d(t.layer,e)&&f(t.id)})},t.handleFontLoad=function(e){s.forEach(function(t){h(t.layer,e)&&f(t.id)})},t.isCachedByBackingStore=function(e){return!!c(e)},t.layerContainsImage=d,t.layerContainsFontFace=h,t.registerLayerType=function(e,t){if(m.hasOwnProperty(e))throw new Error("type "+e+" already registered");m[e]=t}},function(e,t,n){e.exports=n(46)()},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RawImage=void 0;var r=function(){function e(e,t){for(var n=0;nt||_&&_.required?(d.height+=a,d.lines.push({width:p,text:y.trim()}),y=b,p=l.measureText(y.trim()).width):(y=m,p=h.width),_=g}(y=y.trim()).length>0&&(h=l.measureText(y),d.lines.push({width:h,text:y}))}return u.set(c,d),d};var r=n(14),i=a(n(41)),o=a(n(12));function a(e){return e&&e.__esModule?e:{default:e}}var l=document.createElement("canvas").getContext("2d"),u=new o.default,s={width:0,height:0,lines:[]}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){var r=n(43);function i(){this.cache=new r,this._vAl_kEY_nAMe_no_cOLLision_="_vAl_kEY_nAMe_no_cOLLision_"}i.prototype.set=function(e,t){var n,i,o=e.length,a=this.cache;if(!o)return this;for(i=0;i=0&&!(r=i[t].get(e[t])).size;t--)i[t].delete(e[t]);return!0},i.prototype.has=function(e){var t,n=e.length,r=this.cache;if(!n)return!1;for(t=0;t=a?u(e,!0):requestAnimationFrame(t)}()}};t.isFontLoaded=function(e){return void 0!==i[e.id]||!e.url},t.loadFont=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(44))&&r.__esModule?r:{default:r},o=function(){};function a(e){this._originalSrc=e,this._img=new Image,this._img.onload=this.emit.bind(this,"load"),this._img.onerror=this.emit.bind(this,"error"),this._img.crossOrigin=!0,this._img.src=e,this.on("error",o),this.setMaxListeners(100)}Object.assign(a.prototype,i.default.prototype,{destructor:function(){this.removeAllListeners()},getOriginalSrc:function(){return this._originalSrc},getRawImage:function(){return this._img},getWidth:function(){return this._img.naturalWidth},getHeight:function(){return this._img.naturalHeight},isLoaded:function(){return this._img.naturalHeight>0}});var l={length:0,elements:{},push:function(e,t){this.length++,this.elements[e]={hash:e,freq:0,data:t}},get:function(e){var t=this.elements[e];return t?(t.freq++,t.data):null},removeElement:function(e){var t=this.elements[e];return delete this.elements[e],this.length--,t},_reduceLeastUsed:function(e,t){var n=l.elements[t];return e.freq>n.freq?n:e},popLeastUsed:function(){var e=l._reduceLeastUsed,t=Object.keys(this.elements).reduce(e,{freq:1/0});return t.hash?this.removeElement(t.hash):null}},u={get:function(e){var t=l.get(e);return t||(t=new a(e),l.length>=300&&l.popLeastUsed().destructor(),l.push(t.getOriginalSrc(),t)),t}};t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),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}(n(6));function a(e){this.reset(e)}a.prototype={reset:function(e){for(var t in this.backingStoreId&&(0,i.invalidateBackingStore)(this.backingStoreId),this)"children"!==t&&"frame"!==t&&"component"!==t&&"function"!=typeof this[t]&&(this[t]=null);this.children?this.children.length=0:this.children=[],this.frame?(this.frame.x=null,this.frame.y=null,this.frame.width=null,this.frame.height=null):this.frame=(0,r.zero)(),this.component=e},getRootLayer:function(){for(var e=this;e.parentLayer;)e=e.parentLayer;return e},inject:function(e){this.parentLayer&&this.parentLayer!==e&&this.remove(),this.parentLayer||e.addChild(this)},injectBefore:function(e,t){this.remove();var n=e.children.indexOf(t);e.children.splice(n,0,this),this.parentLayer=e,this.zIndex=t.zIndex||0},addChild:function(e){e.parentLayer=this,this.children.push(e)},remove:function(){this.parentLayer&&(this.parentLayer.children.splice(this.parentLayer.children.indexOf(this),1),this.parentLayer=null)},moveToTop:function(){this.parentLayer&&this.parentLayer.children.length>1&&this.parentLayer.children[0]!==this&&(this.parentLayer.children.splice(this.parentLayer.children.indexOf(this),1),this.parentLayer.children.unshift(this))},subscribe:function(e,t,n){for(var r in o)o[r]===e&&(this[r]=t);return this.removeEventListener.bind(this,e,t,n)},destroyEventListeners:function(){for(var e in o)this[e]&&delete this[e]},removeEventListener:function(e,t,n){var r=this.eventListeners[e],i=void 0;if(r)for(var o=0,a=r.length;o=n&&a>=o?r(n,o,i-n,a-o):null},t.intersects=function(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height=l.default.poolSize?(r=u[0].canvas,l.default.call(r,t.frame.width,t.frame.height,i),u[0].id=t.backingStoreId,u[0].canvas=r,u.push(u.shift())):(r=new l.default(t.frame.width,t.frame.height,i),u.push({id:t.backingStoreId,layer:t,canvas:r})),s=r.getContext("2d"),t.translate(-a,-o),s.save(),n&&n(s,t),s.restore(),t.children&&v(t,s),t.translate(a,o)),t.clipRect){var c=(t.clipRect.x-t.frame.x)*i,f=(t.clipRect.y-t.frame.y)*i,d=t.clipRect.width*i,h=t.clipRect.height*i,p=t.clipRect.x,m=t.clipRect.y,y=t.clipRect.width,g=t.clipRect.height;d>0&&h>0&&e.drawImage(r.getRawCanvas(),c,f,d,h,p,m,y,g)}else e.drawImage(r.getRawCanvas(),t.frame.x,t.frame.y,t.frame.width,t.frame.height)},t.drawBaseRenderLayer=h,t.drawRenderLayer=g,t.invalidateBackingStore=c,t.invalidateAllBackingStores=function(){u=[]},t.handleImageLoad=function(e){u.forEach(function(t){f(t.layer,e)&&c(t.id)})},t.handleFontLoad=function(e){u.forEach(function(t){d(t.layer,e)&&c(t.id)})},t.layerContainsImage=f,t.layerContainsFontFace=d,t.registerLayerType=function(e,t){if(p.hasOwnProperty(e))throw new Error("type "+e+" already registered");p[e]=t}},function(e,t,n){e.exports=n(46)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RawImage=void 0;var r=function(){function e(e,t){for(var n=0;nt||_&&_.required?(d.height+=a,d.lines.push({width:p,text:y.trim()}),y=b,p=l.measureText(y.trim()).width):(y=m,p=h.width),_=v}(y=y.trim()).length>0&&(h=l.measureText(y),d.lines.push({width:h,text:y}))}return s.set(c,d),d};var r=n(14),i=a(n(41)),o=a(n(12));function a(e){return e&&e.__esModule?e:{default:e}}var l=document.createElement("canvas").getContext("2d"),s=new o.default,u={width:0,height:0,lines:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){var r=n(43);function i(){this.cache=new r,this._vAl_kEY_nAMe_no_cOLLision_="_vAl_kEY_nAMe_no_cOLLision_"}i.prototype.set=function(e,t){var n,i,o=e.length,a=this.cache;if(!o)return this;for(i=0;i=0&&!(r=i[t].get(e[t])).size;t--)i[t].delete(e[t]);return!0},i.prototype.has=function(e){var t,n=e.length,r=this.cache;if(!n)return!1;for(t=0;t=a?s(e,!0):requestAnimationFrame(t)}()}};t.isFontLoaded=function(e){return void 0!==i[e.id]||!e.url},t.loadFont=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(44),o=(r=i)&&r.__esModule?r:{default:r};var a=function(){};function l(e){this._originalSrc=e,this._img=new Image,this._img.onload=this.emit.bind(this,"load"),this._img.onerror=this.emit.bind(this,"error"),this._img.crossOrigin=!0,this._img.src=e,this.on("error",a),this.setMaxListeners(100)}Object.assign(l.prototype,o.default.prototype,{destructor:function(){this.removeAllListeners()},getOriginalSrc:function(){return this._originalSrc},getRawImage:function(){return this._img},getWidth:function(){return this._img.naturalWidth},getHeight:function(){return this._img.naturalHeight},isLoaded:function(){return this._img.naturalHeight>0}});var s={length:0,elements:{},push:function(e,t){this.length++,this.elements[e]={hash:e,freq:0,data:t}},get:function(e){var t=this.elements[e];return t?(t.freq++,t.data):null},removeElement:function(e){var t=this.elements[e];return delete this.elements[e],this.length--,t},_reduceLeastUsed:function(e,t){var n=s.elements[t];return e.freq>n.freq?n:e},popLeastUsed:function(){var e=s._reduceLeastUsed,t=Object.keys(this.elements).reduce(e,{freq:1/0});return t.hash?this.removeElement(t.hash):null}},u={get:function(e){var t=s.get(e);return t||(t=new l(e),s.length>=300&&s.popLeastUsed().destructor(),s.push(t.getOriginalSrc(),t)),t}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),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}(n(6));function a(e){this.reset(e)}a.prototype={reset:function(e){for(var t in this.backingStoreId&&(0,i.invalidateBackingStore)(this.backingStoreId),this){if("children"!==t&&"frame"!==t&&"component"!==t)"function"!=typeof this[t]&&(this[t]=null)}this.children?this.children.length=0:this.children=[],this.frame?(this.frame.x=null,this.frame.y=null,this.frame.width=null,this.frame.height=null):this.frame=(0,r.zero)(),this.component=e},getRootLayer:function(){for(var e=this;e.parentLayer;)e=e.parentLayer;return e},inject:function(e){this.parentLayer&&this.parentLayer!==e&&this.remove(),this.parentLayer||e.addChild(this)},injectBefore:function(e,t){this.remove();var n=e.children.indexOf(t);e.children.splice(n,0,this),this.parentLayer=e,this.zIndex=t.zIndex||0},addChild:function(e){e.parentLayer=this,this.children.push(e)},remove:function(){this.parentLayer&&(this.parentLayer.children.splice(this.parentLayer.children.indexOf(this),1),this.parentLayer=null)},moveToTop:function(){this.parentLayer&&this.parentLayer.children.length>1&&this.parentLayer.children[0]!==this&&(this.parentLayer.children.splice(this.parentLayer.children.indexOf(this),1),this.parentLayer.children.unshift(this))},subscribe:function(e,t,n){for(var r in o)o[r]===e&&(this[r]=t);return this.removeEventListener.bind(this,e,t,n)},destroyEventListeners:function(){for(var e in o)this[e]&&delete this[e]},removeEventListener:function(e,t,n){var r=this.eventListeners[e],i=void 0;if(r)for(var o=0,a=r.length;ot.expirationTime)&&(e.expirationTime=t.expirationTime)}new Set;var q=void 0,X=void 0;function Y(e){q=X=null;var t=e.alternate,n=e.updateQueue;null===n&&(n=e.updateQueue=B(null)),null!==t?null===(e=t.updateQueue)&&(e=t.updateQueue=B(null)):e=null,q=n,X=e!==n?e:null}function Q(e,t){Y(e),e=q;var n=X;null===n?V(e,t):null===e.last||null===n.last?(V(e,t),V(n,t)):(V(e,t),n.last=t)}function G(e,t,n,r){return"function"==typeof(e=e.partialState)?e.call(t,n,r):e}function Z(e,t,n,r,i,a){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,capturedValues:n.capturedValues,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var l=!0,u=n.first,s=!1;null!==u;){var c=u.expirationTime;if(c>a){var f=n.expirationTime;(0===f||f>c)&&(n.expirationTime=c),s||(s=!0,n.baseState=e)}else s||(n.first=u.next,null===n.first&&(n.last=null)),u.isReplace?(e=G(u,r,e,i),l=!0):(c=G(u,r,e,i))&&(e=l?o({},e,c):o(e,c),l=!1),u.isForced&&(n.hasForceUpdate=!0),null!==u.callback&&(null===(c=n.callbackList)&&(c=n.callbackList=[]),c.push(u)),null!==u.capturedValue&&(null===(c=n.capturedValues)?n.capturedValues=[u.capturedValue]:c.push(u.capturedValue));u=u.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||null!==n.capturedValues||(t.updateQueue=null),s||(n.baseState=e),e}function K(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;ed?(h=f,f=null):h=f.sibling;var y=m(i,f,l[d],u);if(null===y){null===f&&(f=h);break}e&&f&&null===y.alternate&&t(i,f),o=a(y,o,d),null===c?s=y:c.sibling=y,c=y,f=h}if(d===l.length)return n(i,f),s;if(null===f){for(;dh?(y=d,d=null):y=d.sibling;var _=m(i,d,v.value,u);if(null===_){d||(d=y);break}e&&d&&null===_.alternate&&t(i,d),o=a(_,o,h),null===f?s=_:f.sibling=_,f=_,d=y}if(v.done)return n(i,d),s;if(null===d){for(;!v.done;h++,v=l.next())null!==(v=p(i,v.value,u))&&(o=a(v,o,h),null===f?s=v:f.sibling=v,f=v);return s}for(d=r(i,d);!v.done;h++,v=l.next())null!==(v=g(d,i,h,v.value,u))&&(e&&null!==v.alternate&&d.delete(null===v.key?h:v.key),o=a(v,o,h),null===f?s=v:f.sibling=v,f=v);return e&&d.forEach(function(e){return t(i,e)}),s}return function(e,r,a,u){"object"==(void 0===a?"undefined":i(a))&&null!==a&&a.type===v&&null===a.key&&(a=a.props.children);var s="object"==(void 0===a?"undefined":i(a))&&null!==a;if(s)switch(a.$$typeof){case h:e:{var f=a.key;for(s=r;null!==s;){if(s.key===f){if(10===s.tag?a.type===v:s.type===a.type){n(e,s.sibling),(r=o(s,a.type===v?a.props.children:a.props,u)).ref=$(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===v?((r=A(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=R(a,e.mode,u)).ref=$(e,r,a),u.return=e,e=u)}return l(e);case y:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[],u)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=z(a,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a,u)).return=e,e=r):(n(e,r),(r=D(a,e.mode,u)).return=e,e=r),l(e);if(J(a))return _(e,r,a,u);if(S(a))return b(e,r,a,u);if(s&&ee(e,a),void 0===a)switch(e.tag){case 2:case 1:c("152",(u=e.type).displayName||u.name||"Component")}return n(e,r)}}var ne=te(!0),re=te(!1);function ie(e,t,n,r,a,l,d){function h(e,t,n){p(e,t,n,t.expirationTime)}function p(e,t,n,r){t.child=null===e?re(t,null,n,r):ne(t,e.child,n,r)}function m(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function y(e,t,n,r,i,o){if(m(e,t),!n&&!i)return r&&E(t,!1),_(e,t);n=t.stateNode,f.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(p(e,t,null,o),t.child=null),p(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&E(t,!0),t.child}function v(e){var t=e.stateNode;t.pendingContext?O(e,t.pendingContext,t.pendingContext!==t.context):t.context&&O(e,t.context,!1),T(e,t.containerInfo)}function g(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!=(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){o=i;break}o=o.return}i=o}}function _(e,t){if(null!==e&&t.child!==e.child&&c("153"),null!==t.child){var n=I(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=I(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}var b=e.shouldSetTextContent,x=e.shouldDeprioritizeSubtree,w=t.pushHostContext,T=t.pushHostContainer,S=r.pushProvider,C=n.getMaskedContext,k=n.getUnmaskedContext,M=n.hasContextChanged,P=n.pushContextProvider,O=n.pushTopLevelContextObject,E=n.invalidateContextProvider,R=a.enterHydrationState,A=a.resetHydrationState,D=a.tryToClaimNextHydratableInstance,z=(e=function(e,t,n,r,i){function a(e,t,n,r,i,o){if(null===t||null!==e.updateQueue&&e.updateQueue.hasForceUpdate)return!0;var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!(e.prototype&&e.prototype.isPureReactComponent&&s(t,n)&&s(r,i))}function l(e,t){t.updater=v,e.stateNode=t,t._reactInternalFiber=e}function c(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&v.enqueueReplaceState(t,t.state,null)}function f(e,t,n,r){if("function"==typeof(e=e.type).getDerivedStateFromProps)return e.getDerivedStateFromProps.call(null,n,r)}var d=e.cacheContext,h=e.getMaskedContext,p=e.getUnmaskedContext,m=e.isContextConsumer,y=e.hasContextChanged,v={isMounted:L,enqueueSetState:function(e,r,i){e=e._reactInternalFiber,i=void 0===i?null:i;var o=n(e);Q(e,{expirationTime:o,partialState:r,callback:i,isReplace:!1,isForced:!1,capturedValue:null,next:null}),t(e,o)},enqueueReplaceState:function(e,r,i){e=e._reactInternalFiber,i=void 0===i?null:i;var o=n(e);Q(e,{expirationTime:o,partialState:r,callback:i,isReplace:!0,isForced:!1,capturedValue:null,next:null}),t(e,o)},enqueueForceUpdate:function(e,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);Q(e,{expirationTime:i,partialState:null,callback:r,isReplace:!1,isForced:!0,capturedValue:null,next:null}),t(e,i)}};return{adoptClassInstance:l,callGetDerivedStateFromProps:f,constructClassInstance:function(e,t){var n=e.type,r=p(e),i=m(e),a=i?h(e,r):u,s=null!==(n=new n(t,a)).state&&void 0!==n.state?n.state:null;return l(e,n),e.memoizedState=s,null!==(t=f(e,0,t,s))&&void 0!==t&&(e.memoizedState=o({},e.memoizedState,t)),i&&d(e,r,a),n},mountClassInstance:function(e,t){var n=e.type,r=e.alternate,i=e.stateNode,o=e.pendingProps,a=p(e);i.props=o,i.state=e.memoizedState,i.refs=u,i.context=h(e,a),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(n=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),n!==i.state&&v.enqueueReplaceState(i,i.state,null),null!==(n=e.updateQueue)&&(i.state=Z(r,e,n,i,o,t))),"function"==typeof i.componentDidMount&&(e.effectTag|=4)},resumeMountClassInstance:function(e,t){var n=e.type,l=e.stateNode;l.props=e.memoizedProps,l.state=e.memoizedState;var u=e.memoizedProps,s=e.pendingProps,d=l.context,m=p(e);m=h(e,m),(n="function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(u!==s||d!==m)&&c(e,l,s,m),d=e.memoizedState,t=null!==e.updateQueue?Z(null,e,e.updateQueue,l,s,t):d;var v=void 0;if(u!==s&&(v=f(e,0,s,t)),null!==v&&void 0!==v){t=null===t||void 0===t?v:o({},t,v);var g=e.updateQueue;null!==g&&(g.baseState=o({},g.baseState,v))}return u!==s||d!==t||y()||null!==e.updateQueue&&e.updateQueue.hasForceUpdate?((u=a(e,u,s,d,t,m))?(n||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(e.effectTag|=4)):("function"==typeof l.componentDidMount&&(e.effectTag|=4),r(e,s),i(e,t)),l.props=s,l.state=t,l.context=m,u):("function"==typeof l.componentDidMount&&(e.effectTag|=4),!1)},updateClassInstance:function(e,t,n){var l=t.type,u=t.stateNode;u.props=t.memoizedProps,u.state=t.memoizedState;var s=t.memoizedProps,d=t.pendingProps,m=u.context,v=p(t);v=h(t,v),(l="function"==typeof l.getDerivedStateFromProps||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(s!==d||m!==v)&&c(t,u,d,v),m=t.memoizedState,n=null!==t.updateQueue?Z(e,t,t.updateQueue,u,d,n):m;var g=void 0;if(s!==d&&(g=f(t,0,d,n)),null!==g&&void 0!==g){n=null===n||void 0===n?g:o({},n,g);var _=t.updateQueue;null!==_&&(_.baseState=o({},_.baseState,g))}return s!==d||m!==n||y()||null!==t.updateQueue&&t.updateQueue.hasForceUpdate?((g=a(t,s,d,m,n,v))?(l||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(d,n,v),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(d,n,v)),"function"==typeof u.componentDidUpdate&&(t.effectTag|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(t.effectTag|=2048)):("function"!=typeof u.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof u.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),r(t,d),i(t,n)),u.props=d,u.state=n,u.context=v,g):("function"!=typeof u.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof u.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),!1)}}}(n,l,d,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t})).adoptClassInstance,j=e.callGetDerivedStateFromProps,N=e.constructClassInstance,F=e.mountClassInstance,U=e.resumeMountClassInstance,W=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:v(t);break;case 2:P(t);break;case 4:T(t,t.stateNode.containerInfo);break;case 13:S(t)}return null}switch(t.tag){case 0:null!==e&&c("155");var r=t.type,a=t.pendingProps,l=k(t);return r=r(a,l=C(t,l)),t.effectTag|=1,"object"==(void 0===r?"undefined":i(r))&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(l=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof l.getDerivedStateFromProps&&null!==(a=j(t,r,a,t.memoizedState))&&void 0!==a&&(t.memoizedState=o({},t.memoizedState,a)),a=P(t),z(t,r),F(t,n),e=y(e,t,!0,a,!1,n)):(t.tag=1,h(e,t,r),t.memoizedProps=a,e=t.child),e;case 1:return a=t.type,n=t.pendingProps,M()||t.memoizedProps!==n?(r=k(t),a=a(n,r=C(t,r)),t.effectTag|=1,h(e,t,a),t.memoizedProps=n,e=t.child):e=_(e,t),e;case 2:a=P(t),null===e?null===t.stateNode?(N(t,t.pendingProps),F(t,n),r=!0):r=U(t,n):r=W(e,t,n),l=!1;var u=t.updateQueue;return null!==u&&null!==u.capturedValues&&(l=r=!0),y(e,t,r,a,l,n);case 3:e:if(v(t),r=t.updateQueue,null!==r){if(l=t.memoizedState,a=Z(e,t,r,null,null,n),t.memoizedState=a,null!==(r=t.updateQueue)&&null!==r.capturedValues)r=null;else{if(l===a){A(),e=_(e,t);break e}r=a.element}l=t.stateNode,(null===e||null===e.child)&&l.hydrate&&R(t)?(t.effectTag|=2,t.child=re(t,null,r,n)):(A(),h(e,t,r)),t.memoizedState=a,e=t.child}else A(),e=_(e,t);return e;case 5:return w(t),null===e&&D(t),a=t.type,u=t.memoizedProps,r=t.pendingProps,l=null!==e?e.memoizedProps:null,M()||u!==r||((u=1&t.mode&&x(a,r))&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=r.children,b(a,r)?u=null:l&&b(a,l)&&(t.effectTag|=16),m(e,t),1073741823!==n&&1&t.mode&&x(a,r)?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(h(e,t,u),t.memoizedProps=r,e=t.child)):e=_(e,t),e;case 6:return null===e&&D(t),t.memoizedProps=t.pendingProps,null;case 8:t.tag=7;case 7:return a=t.pendingProps,M()||t.memoizedProps!==a||(a=t.memoizedProps),r=a.children,t.stateNode=null===e?re(t,t.stateNode,r,n):ne(t,e.stateNode,r,n),t.memoizedProps=a,t.stateNode;case 9:return null;case 4:return T(t,t.stateNode.containerInfo),a=t.pendingProps,M()||t.memoizedProps!==a?(null===e?t.child=ne(t,null,a,n):h(e,t,a),t.memoizedProps=a,e=t.child):e=_(e,t),e;case 14:return h(e,t,n=(n=t.type.render)(t.pendingProps,t.ref)),t.memoizedProps=n,t.child;case 10:return n=t.pendingProps,M()||t.memoizedProps!==n?(h(e,t,n),t.memoizedProps=n,e=t.child):e=_(e,t),e;case 11:return n=t.pendingProps.children,M()||null!==n&&t.memoizedProps!==n?(h(e,t,n),t.memoizedProps=n,e=t.child):e=_(e,t),e;case 13:return function(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps;if(!M()&&o===i)return t.stateNode=0,S(t),_(e,t);var a=i.value;if(t.memoizedProps=i,null===o)a=1073741823;else if(o.value===i.value){if(o.children===i.children)return t.stateNode=0,S(t),_(e,t);a=0}else{var l=o.value;if(l===a&&(0!==l||1/l==1/a)||l!=l&&a!=a){if(o.children===i.children)return t.stateNode=0,S(t),_(e,t);a=0}else if(a="function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823,0==(a|=0)){if(o.children===i.children)return t.stateNode=0,S(t),_(e,t)}else g(t,r,a,n)}return t.stateNode=a,S(t),h(e,t,i.children),t.child}(e,t,n);case 12:e:{r=t.type,l=t.pendingProps,u=t.memoizedProps,a=r._currentValue;var s=r._changedBits;if(M()||0!==s||u!==l){t.memoizedProps=l;var f=l.unstable_observedBits;if(void 0!==f&&null!==f||(f=1073741823),t.stateNode=f,0!=(s&f))g(t,r,s,n);else if(u===l){e=_(e,t);break e}h(e,t,n=(n=l.children)(a)),e=t.child}else e=_(e,t)}return e;default:c("156")}}}}function oe(e,t){var n=t.source;null===t.stack&&H(n),null!==n&&C(n),t=t.value,null!==e&&2===e.tag&&C(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}var ae={};function le(e){function t(){if(null!==pe)for(var e=pe.return;null!==e;)F(e),e=e.return;me=null,ye=0,pe=null,_e=!1}function n(e){return null!==be&&be.has(e)}function r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=z(t,e,ye);var i=e;if(1073741823===ye||1073741823!==i.expirationTime){e:switch(i.tag){case 3:case 2:var o=i.updateQueue;o=null===o?0:o.expirationTime;break e;default:o=0}for(var a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1Me)&&(Me=e),e}function h(e,n){e:{for(;null!==e;){if((0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>n)&&(e.alternate.expirationTime=n),null===e.return){if(3!==e.tag){n=void 0;break e}var r=e.stateNode;!he&&0!==ye&&nje&&c("185")}e=e.return}n=void 0}return n}function p(){return 2+((te()-ce)/10|0)}function m(e,t,n,r,i){var o=de;de=1;try{return e(t,n,r,i)}finally{de=o}}function y(e){if(0!==Te){if(e>Te)return;le(Se)}var t=te()-ce;Te=e,Se=re(_,{timeout:10*(e-2)-t})}function v(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===we?(xe=we=e,e.nextScheduledRoot=e):(we=we.nextScheduledRoot=e).nextScheduledRoot=xe;else{var n=e.remainingExpirationTime;(0===n||t=Le)&&(!Pe||p()>=Le);)T(ke,Le,!Pe),g();else for(;null!==ke&&0!==Le&&(0===e||e>=Le);)T(ke,Le,!1),g();null!==Ie&&(Te=0,Se=-1),0!==Le&&y(Le),Ie=null,Pe=!1,w()}function w(){if(Ne=0,null!==ze){var e=ze;ze=null;for(var t=0;tFe)&&(Pe=!0)}function M(e){null===ke&&c("246"),ke.remainingExpirationTime=0,Oe||(Oe=!0,Ee=e)}var P=function(){var e=[],t=-1;return{createCursor:function(e){return{current:e}},isEmpty:function(){return-1===t},pop:function(n){0>t||(n.current=e[t],e[t]=null,t--)},push:function(n,r){e[++t]=n.current,n.current=r},checkThatStackIsEmpty:function(){},resetStackAfterFatalErrorInDev:function(){}}}(),O=function(e,t){function n(e){return e===ae&&c("174"),e}var r=e.getChildHostContext,i=e.getRootHostContext;e=t.createCursor;var o=t.push,a=t.pop,l=e(ae),u=e(ae),s=e(ae);return{getHostContext:function(){return n(l.current)},getRootHostContainer:function(){return n(s.current)},popHostContainer:function(e){a(l,e),a(u,e),a(s,e)},popHostContext:function(e){u.current===e&&(a(l,e),a(u,e))},pushHostContainer:function(e,t){o(s,t,e),o(u,e,e),o(l,ae,e),t=i(t),a(l,e),o(l,t,e)},pushHostContext:function(e){var t=n(s.current),i=n(l.current);i!==(t=r(i,e.type,t))&&(o(u,e,e),o(l,t,e))}}}(e,P),R=function(e){function t(e,t,n){(e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n}function n(e){return 2===e.tag&&null!=e.type.childContextTypes}function r(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var i in n=n.getChildContext())i in r||c("108",C(e)||"Unknown",i);return o({},t,n)}var i=e.createCursor,a=e.push,l=e.pop,s=i(u),f=i(!1),d=u;return{getUnmaskedContext:function(e){return n(e)?d:s.current},cacheContext:t,getMaskedContext:function(e,n){var r=e.type.contextTypes;if(!r)return u;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===n)return i.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=n[o];return i&&t(e,n,a),a},hasContextChanged:function(){return f.current},isContextConsumer:function(e){return 2===e.tag&&null!=e.type.contextTypes},isContextProvider:n,popContextProvider:function(e){n(e)&&(l(f,e),l(s,e))},popTopLevelContextObject:function(e){l(f,e),l(s,e)},pushTopLevelContextObject:function(e,t,n){null!=s.cursor&&c("168"),a(s,t,e),a(f,n,e)},processChildContext:r,pushContextProvider:function(e){if(!n(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||u,d=s.current,a(s,t,e),a(f,f.current,e),!0},invalidateContextProvider:function(e,t){var n=e.stateNode;if(n||c("169"),t){var i=r(e,d);n.__reactInternalMemoizedMergedChildContext=i,l(f,e),l(s,e),a(s,i,e)}else l(f,e);a(f,t,e)},findCurrentUnmaskedContext:function(e){for((2!==k(e)||2!==e.tag)&&c("170");3!==e.tag;){if(n(e))return e.stateNode.__reactInternalMemoizedMergedChildContext;(e=e.return)||c("171")}return e.stateNode.context}}}(P);P=function(e){var t=e.createCursor,n=e.push,r=e.pop,i=t(null),o=t(null),a=t(0);return{pushProvider:function(e){var t=e.type._context;n(a,t._changedBits,e),n(o,t._currentValue,e),n(i,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode},popProvider:function(e){var t=a.current,n=o.current;r(i,e),r(o,e),r(a,e),(e=e.type._context)._currentValue=n,e._changedBits=t}}}(P);var A=function(e){function t(e,t){var n=new E(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function n(e,t){switch(e.tag){case 5:return null!==(t=o(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=a(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function r(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;d=e}var i=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){c("175")},prepareToHydrateHostTextInstance:function(){c("176")},popHydrationState:function(){return!1}};var o=e.canHydrateInstance,a=e.canHydrateTextInstance,l=e.getNextHydratableSibling,u=e.getFirstHydratableChild,s=e.hydrateInstance,f=e.hydrateTextInstance,d=null,h=null,p=!1;return{enterHydrationState:function(e){return h=u(e.stateNode.containerInfo),d=e,p=!0},resetHydrationState:function(){h=d=null,p=!1},tryToClaimNextHydratableInstance:function(e){if(p){var r=h;if(r){if(!n(e,r)){if(!(r=l(r))||!n(e,r))return e.effectTag|=2,p=!1,void(d=e);t(d,h)}d=e,h=u(r)}else e.effectTag|=2,p=!1,d=e}},prepareToHydrateHostInstance:function(e,t,n){return t=s(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return f(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==d)return!1;if(!p)return r(e),p=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!i(n,e.memoizedProps))for(n=h;n;)t(e,n),n=l(n);return r(e),h=d?l(e.stateNode):null,!0}}}(e),D=ie(e,O,R,P,A,h,d).beginWork,z=function(e,t,n,r,i){function o(e){e.effectTag|=4}var a=e.createInstance,l=e.createTextInstance,u=e.appendInitialChild,s=e.finalizeInitialChildren,f=e.prepareUpdate,d=e.persistence,h=t.getRootHostContainer,p=t.popHostContext,m=t.getHostContext,y=t.popHostContainer,v=n.popContextProvider,g=n.popTopLevelContextObject,_=r.popProvider,b=i.prepareToHydrateHostInstance,x=i.prepareToHydrateHostTextInstance,w=i.popHydrationState,T=void 0,S=void 0,C=void 0;return e.mutation?(T=function(){},S=function(e,t,n){(t.updateQueue=n)&&o(t)},C=function(e,t,n,r){n!==r&&o(t)}):c(d?"235":"236"),{completeWork:function(e,t,n){var r=t.pendingProps;switch(t.tag){case 1:return null;case 2:return v(t),e=t.stateNode,null!==(r=t.updateQueue)&&null!==r.capturedValues&&(t.effectTag&=-65,"function"==typeof e.componentDidCatch?t.effectTag|=256:r.capturedValues=null),null;case 3:return y(t),g(t),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(w(t),t.effectTag&=-3),T(t),null!==(e=t.updateQueue)&&null!==e.capturedValues&&(t.effectTag|=256),null;case 5:p(t),n=h();var i=t.type;if(null!==e&&null!=t.stateNode){var d=e.memoizedProps,k=t.stateNode,L=m();k=f(k,i,d,r,n,L),S(e,t,k,i,d,r,n,L),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!r)return null===t.stateNode&&c("166"),null;if(e=m(),w(t))b(t,n,e)&&o(t);else{d=a(i,r,n,e,t);e:for(L=t.child;null!==L;){if(5===L.tag||6===L.tag)u(d,L.stateNode);else if(4!==L.tag&&null!==L.child){L.child.return=L,L=L.child;continue}if(L===t)break;for(;null===L.sibling;){if(null===L.return||L.return===t)break e;L=L.return}L.sibling.return=L.return,L=L.sibling}s(d,i,r,n,e)&&o(t),t.stateNode=d}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)C(e,t,e.memoizedProps,r);else{if("string"!=typeof r)return null===t.stateNode&&c("166"),null;e=h(),n=m(),w(t)?x(t)&&o(t):t.stateNode=l(r,e,n,t)}return null;case 7:(r=t.memoizedProps)||c("165"),t.tag=8,i=[];e:for((d=t.stateNode)&&(d.return=t);null!==d;){if(5===d.tag||6===d.tag||4===d.tag)c("247");else if(9===d.tag)i.push(d.pendingProps.value);else if(null!==d.child){d.child.return=d,d=d.child;continue}for(;null===d.sibling;){if(null===d.return||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}return r=(d=r.handler)(r.props,i),t.child=ne(t,null!==e?e.child:null,r,n),t.child;case 8:return t.tag=7,null;case 9:case 14:case 10:case 11:return null;case 4:return y(t),T(t),null;case 13:return _(t),null;case 12:return null;case 0:c("167");default:c("156")}}}}(e,O,R,P,A).completeWork,j=(O=function(e,t,n,r,i){var o=e.popHostContainer,a=e.popHostContext,l=t.popContextProvider,u=t.popTopLevelContextObject,s=n.popProvider;return{throwException:function(e,t,n){t.effectTag|=512,t.firstEffect=t.lastEffect=null,t={value:n,source:t,stack:H(t)};do{switch(e.tag){case 3:return Y(e),e.updateQueue.capturedValues=[t],void(e.effectTag|=1024);case 2:if(n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&!i(n)){Y(e);var r=(n=e.updateQueue).capturedValues;return null===r?n.capturedValues=[t]:r.push(t),void(e.effectTag|=1024)}}e=e.return}while(null!==e)},unwindWork:function(e){switch(e.tag){case 2:l(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return o(e),u(e),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return a(e),null;case 4:return o(e),null;case 13:return s(e),null;default:return null}},unwindInterruptedWork:function(e){switch(e.tag){case 2:l(e);break;case 3:o(e),u(e);break;case 5:a(e);break;case 4:o(e);break;case 13:s(e)}}}}(O,R,P,0,n)).throwException,N=O.unwindWork,F=O.unwindInterruptedWork,B=(O=function(e,t,n,r,i){function o(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){t(e,n)}else n.current=null}function a(e){switch(W(e),e.tag){case 2:o(e);var n=e.stateNode;if("function"==typeof n.componentWillUnmount)try{n.props=e.memoizedProps,n.state=e.memoizedState,n.componentWillUnmount()}catch(n){t(e,n)}break;case 5:o(e);break;case 7:l(e.stateNode);break;case 4:d&&s(e)}}function l(e){for(var t=e;;)if(a(t),null===t.child||d&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function u(e){return 5===e.tag||3===e.tag||4===e.tag}function s(e){for(var t=e,n=!1,r=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&c("160"),n.tag){case 5:r=n.stateNode,i=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag)l(t),i?w(r,t.stateNode):x(r,t.stateNode);else if(4===t.tag?r=t.stateNode.containerInfo:a(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}var f=e.getPublicInstance,d=e.mutation;e=e.persistence,d||c(e?"235":"236");var h=d.commitMount,p=d.commitUpdate,m=d.resetTextContent,y=d.commitTextUpdate,v=d.appendChild,g=d.appendChildToContainer,_=d.insertBefore,b=d.insertInContainerBefore,x=d.removeChild,w=d.removeChildFromContainer;return{commitBeforeMutationLifeCycles:function(e,t){switch(t.tag){case 2:if(2048&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;(e=t.stateNode).props=t.memoizedProps,e.state=t.memoizedState,t=e.getSnapshotBeforeUpdate(n,r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:break;default:c("163")}},commitResetTextContent:function(e){m(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(u(t)){var n=t;break e}t=t.return}c("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:c("161")}16&n.effectTag&&(m(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||u(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)n?r?b(t,i.stateNode,n):_(t,i.stateNode,n):r?g(t,i.stateNode):v(t,i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},commitDeletion:function(e){s(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&p(n,o,i,e,r,t)}break;case 6:null===t.stateNode&&c("162"),n=t.memoizedProps,y(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:c("163")}},commitLifeCycles:function(e,t,n){switch(n.tag){case 2:if(e=n.stateNode,4&n.effectTag)if(null===t)e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidMount();else{var r=t.memoizedProps;t=t.memoizedState,e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}null!==(n=n.updateQueue)&&K(n,e);break;case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=f(n.child.stateNode);break;case 2:e=n.child.stateNode}K(t,e)}break;case 5:e=n.stateNode,null===t&&4&n.effectTag&&h(e,n.type,n.memoizedProps,n);break;case 6:case 4:break;default:c("163")}},commitErrorLogging:function(e,t){switch(e.tag){case 2:var n=e.type;t=e.stateNode;var r=e.updateQueue;(null===r||null===r.capturedValues)&&c("264");var i=r.capturedValues;for(r.capturedValues=null,"function"!=typeof n.getDerivedStateFromCatch&&function(e){null===be?be=new Set([e]):be.add(e)}(t),t.props=e.memoizedProps,t.state=e.memoizedState,n=0;n0?v[e].pop():new y[e](e)).applyLayerProps&&(n.applyLayerProps({},t),n.getLayer().invalidateLayout()),n},createTextInstance:function(e){return e},finalizeInitialChildren:function(){return!1},getPublicInstance:function(e){return e},prepareForCommit:function(){},prepareUpdate:function(){return m},resetAfterCommit:function(){},resetTextContent:function(){},shouldDeprioritizeSubtree:function(){return!1},getRootHostContext:function(){return o.default},getChildHostContext:function(){return o.default},scheduleDeferredCallback:c.default.rIC,shouldSetTextContent:function(e,t){return"string"==typeof t.children||"number"==typeof t.children},now:c.default.now,isPrimaryRenderer:!1,useSyncScheduling:!0,mutation:{appendChild:function(e,t){var n=t.getLayer(),r=e.getLayer();n.parentLayer===r?n.moveToTop():n.inject(r),r.invalidateLayout()},appendChildToContainer:function(e,t){var n=t.getLayer(),r=e.getLayer();n.parentLayer===r?n.moveToTop():n.inject(r),r.invalidateLayout()},insertBefore:function(e,t,n){var r=e.getLayer();t.getLayer().injectBefore(r,n.getLayer()),r.invalidateLayout()},insertInContainerBefore:function(e,t,n){var r=e.getLayer();t.getLayer().injectBefore(r,n.getLayer()),r.invalidateLayout()},removeChild:function(e,t){var n=e.getLayer();t.getLayer().remove(),g(t),n.invalidateLayout()},removeChildFromContainer:function(e,t){var n=e.getLayer();t.getLayer().remove(),g(t),n.invalidateLayout()},commitTextUpdate:function(){},commitMount:function(){},commitUpdate:function(e,t,n,r,i){void 0!==e.applyLayerProps&&(e.applyLayerProps(r,i),e.getLayer().invalidateLayout())}}},b=(0,f.default)(_);b.injectIntoDevTools({findFiberByHostInstance:h.getClosestInstanceFromNode,bundleType:0,version:r.default.version||16,rendererPackageName:"react-canvas",getInspectorDataForViewTag:function(){for(var e=arguments.length,t=Array(e),n=0;n2500&&(clearInterval(o),o=null)},1e3/60)),n}}(),stop:function(e){var t=null!=i[e];return t&&(i[e]=null),t},isRunning:function(e){return null!=i[e]},start:function(e,t,n,l,u,s){var c=r(),f=c,d=0,h=0,p=o++;if(s||(s=document.body),p%20==0){var m={};for(var y in i)m[y]=!0;i=m}return i[p]=!0,a.effect.Animate.requestAnimationFrame(function o(m){var y=!0!==m,v=r();if(!i[p]||t&&!t(p))return i[p]=null,void(n&&n(60-h/((v-c)/1e3),p,!1));if(y)for(var g=Math.round((v-f)/(1e3/60))-1,_=0;_1&&(d=1);var b=u?u(d):d;!1!==e(b,v,y)&&1!==d||!y?y&&(f=v,a.effect.Animate.requestAnimationFrame(o,s)):(i[p]=null,n&&n(60-h/((v-c)/1e3),p,1===d||null==l))},s),p}},e.exports=a},function(e,t,n){var r,i=n(29);!function(){var t=function(){};r=function(e,n){for(var r in this.__callback=e,this.options={scrollingX:!0,scrollingY:!0,animating:!0,animationDuration:250,bouncing:!0,locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:t,decelerationRate:.95,penetrationDeceleration:.03,penetrationAcceleration:.08},n)this.options[r]=n[r]};var n=function(e){return Math.pow(e-1,3)+1},o=function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},a={__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshDeactivate:null,__refreshStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,setDimensions:function(e,t,n,r){e===+e&&(this.__clientWidth=e),t===+t&&(this.__clientHeight=t),n===+n&&(this.__contentWidth=n),r===+r&&(this.__contentHeight=r),this.__computeScrollMax(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0)},setPosition:function(e,t){this.__clientLeft=e||0,this.__clientTop=t||0},setSnapSize:function(e,t){this.__snapWidth=e,this.__snapHeight=t},activatePullToRefresh:function(e,t,n,r){this.__refreshHeight=e,this.__refreshActivate=t,this.__refreshDeactivate=n,this.__refreshStart=r},triggerPullToRefresh:function(){this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()},finishPullToRefresh:function(){this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0)},getValues:function(){return{left:this.__scrollLeft,top:this.__scrollTop,zoom:this.__zoomLevel}},getScrollMax:function(){return{left:this.__maxScrollLeft,top:this.__maxScrollTop}},zoomTo:function(e,t,n,r,o){if(!this.options.zooming)throw new Error("Zooming is not enabled!");o&&(this.__zoomComplete=o),this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1);var a=this.__zoomLevel;null==n&&(n=this.__clientWidth/2),null==r&&(r=this.__clientHeight/2),e=Math.max(Math.min(e,this.options.maxZoom),this.options.minZoom),this.__computeScrollMax(e);var l=(n+this.__scrollLeft)*e/a-n,u=(r+this.__scrollTop)*e/a-r;l>this.__maxScrollLeft?l=this.__maxScrollLeft:l<0&&(l=0),u>this.__maxScrollTop?u=this.__maxScrollTop:u<0&&(u=0),this.__publish(l,u,e,t)},zoomBy:function(e,t,n,r,i){this.zoomTo(this.__zoomLevel*e,t,n,r,i)},scrollTo:function(e,t,n,r){if(this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1),null!=r&&r!==this.__zoomLevel){if(!this.options.zooming)throw new Error("Zooming is not enabled!");e*=r,t*=r,this.__computeScrollMax(r)}else r=this.__zoomLevel;this.options.scrollingX?this.options.paging?e=Math.round(e/this.__clientWidth)*this.__clientWidth:this.options.snapping&&(e=Math.round(e/this.__snapWidth)*this.__snapWidth):e=this.__scrollLeft,this.options.scrollingY?this.options.paging?t=Math.round(t/this.__clientHeight)*this.__clientHeight:this.options.snapping&&(t=Math.round(t/this.__snapHeight)*this.__snapHeight):t=this.__scrollTop,e=Math.max(Math.min(this.__maxScrollLeft,e),0),t=Math.max(Math.min(this.__maxScrollTop,t),0),e===this.__scrollLeft&&t===this.__scrollTop&&(n=!1),this.__publish(e,t,r,n)},scrollBy:function(e,t,n){var r=this.__isAnimating?this.__scheduledLeft:this.__scrollLeft,i=this.__isAnimating?this.__scheduledTop:this.__scrollTop;this.scrollTo(r+(e||0),i+(t||0),n)},doMouseZoom:function(e,t,n,r){var i=e>0?.97:1.03;return this.zoomTo(this.__zoomLevel*i,!1,n-this.__clientLeft,r-this.__clientTop)},doTouchStart:function(e,t){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);var n,r;this.__interruptedAnimation=!0,this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1,this.__interruptedAnimation=!0),this.__isAnimating&&(i.effect.Animate.stop(this.__isAnimating),this.__isAnimating=!1,this.__interruptedAnimation=!0);var o=1===e.length;o?(n=e[0].pageX,r=e[0].pageY):(n=Math.abs(e[0].pageX+e[1].pageX)/2,r=Math.abs(e[0].pageY+e[1].pageY)/2),this.__initialTouchLeft=n,this.__initialTouchTop=r,this.__zoomLevelStart=this.__zoomLevel,this.__lastTouchLeft=n,this.__lastTouchTop=r,this.__lastTouchMove=t,this.__lastScale=1,this.__enableScrollX=!o&&this.options.scrollingX,this.__enableScrollY=!o&&this.options.scrollingY,this.__isTracking=!0,this.__didDecelerationComplete=!1,this.__isDragging=!o,this.__isSingleTouch=o,this.__positions=[]},doTouchMove:function(e,t,n){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);if(this.__isTracking){var r,i;2===e.length?(r=Math.abs(e[0].pageX+e[1].pageX)/2,i=Math.abs(e[0].pageY+e[1].pageY)/2):(r=e[0].pageX,i=e[0].pageY);var o=this.__positions;if(this.__isDragging){var a=r-this.__lastTouchLeft,l=i-this.__lastTouchTop,u=this.__scrollLeft,s=this.__scrollTop,c=this.__zoomLevel;if(null!=n&&this.options.zooming){var f=c;if(c=c/this.__lastScale*n,f!==(c=Math.max(Math.min(c,this.options.maxZoom),this.options.minZoom))){var d=r-this.__clientLeft,h=i-this.__clientTop;u=(d+u)*c/f-d,s=(h+s)*c/f-h,this.__computeScrollMax(c)}}if(this.__enableScrollX){u-=a*this.options.speedMultiplier;var p=this.__maxScrollLeft;(u>p||u<0)&&(this.options.bouncing?u+=a/2*this.options.speedMultiplier:u=u>p?p:0)}if(this.__enableScrollY){s-=l*this.options.speedMultiplier;var m=this.__maxScrollTop;(s>m||s<0)&&(this.options.bouncing?(s+=l/2*this.options.speedMultiplier,this.__enableScrollX||null==this.__refreshHeight||(!this.__refreshActive&&s<=-this.__refreshHeight?(this.__refreshActive=!0,this.__refreshActivate&&this.__refreshActivate()):this.__refreshActive&&s>-this.__refreshHeight&&(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()))):s=s>m?m:0)}o.length>60&&o.splice(0,30),o.push(u,s,t),this.__publish(u,s,c)}else{var y=this.options.locking?3:0,v=Math.abs(r-this.__initialTouchLeft),g=Math.abs(i-this.__initialTouchTop);this.__enableScrollX=this.options.scrollingX&&v>=y,this.__enableScrollY=this.options.scrollingY&&g>=y,o.push(this.__scrollLeft,this.__scrollTop,t),this.__isDragging=(this.__enableScrollX||this.__enableScrollY)&&(v>=5||g>=5),this.__isDragging&&(this.__interruptedAnimation=!1)}this.__lastTouchLeft=r,this.__lastTouchTop=i,this.__lastTouchMove=t,this.__lastScale=n}},doTouchEnd:function(e){if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(this.__isTracking){if(this.__isTracking=!1,this.__isDragging)if(this.__isDragging=!1,this.__isSingleTouch&&this.options.animating&&e-this.__lastTouchMove<=100){for(var t=this.__positions,n=t.length-1,r=n,i=n;i>0&&t[i]>this.__lastTouchMove-100;i-=3)r=i;if(r===n&&t.length>5&&(r=2),r!==n){var o=t[n]-t[r],a=this.__scrollLeft-t[r-2],l=this.__scrollTop-t[r-1];this.__decelerationVelocityX=a/o*(1e3/60),this.__decelerationVelocityY=l/o*(1e3/60);var u=this.options.paging||this.options.snapping?4:1;(Math.abs(this.__decelerationVelocityX)>u||Math.abs(this.__decelerationVelocityY)>u)&&(this.__refreshActive||this.__startDeceleration(e))}else this.options.scrollingComplete()}else e-this.__lastTouchMove>100&&this.options.scrollingComplete();this.__isDecelerating||(this.__refreshActive&&this.__refreshStart?(this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()):((this.__interruptedAnimation||this.__isDragging)&&this.options.scrollingComplete(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0,this.__zoomLevel),this.__refreshActive&&(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()))),this.__positions.length=0}},__publish:function(e,t,r,a){var l=this,u=l.__isAnimating;if(u&&(i.effect.Animate.stop(u),l.__isAnimating=!1),a&&l.options.animating){l.__scheduledLeft=e,l.__scheduledTop=t,l.__scheduledZoom=r;var s=l.__scrollLeft,c=l.__scrollTop,f=l.__zoomLevel,d=e-s,h=t-c,p=r-f;l.__isAnimating=i.effect.Animate.start(function(e,t,n){n&&(l.__scrollLeft=s+d*e,l.__scrollTop=c+h*e,l.__zoomLevel=f+p*e,l.__callback&&l.__callback(l.__scrollLeft,l.__scrollTop,l.__zoomLevel))},function(e){return l.__isAnimating===e},function(e,t,n){t===l.__isAnimating&&(l.__isAnimating=!1),(l.__didDecelerationComplete||n)&&l.options.scrollingComplete(),l.options.zooming&&(l.__computeScrollMax(),l.__zoomComplete&&(l.__zoomComplete(),l.__zoomComplete=null))},l.options.animationDuration,u?n:o)}else l.__scheduledLeft=l.__scrollLeft=e,l.__scheduledTop=l.__scrollTop=t,l.__scheduledZoom=l.__zoomLevel=r,l.__callback&&l.__callback(e,t,r),l.options.zooming&&(l.__computeScrollMax(),l.__zoomComplete&&(l.__zoomComplete(),l.__zoomComplete=null))},__computeScrollMax:function(e){null==e&&(e=this.__zoomLevel),this.__maxScrollLeft=Math.max(this.__contentWidth*e-this.__clientWidth,0),this.__maxScrollTop=Math.max(this.__contentHeight*e-this.__clientHeight,0)},__startDeceleration:function(e){var t=this;if(t.options.paging){var n=Math.max(Math.min(t.__scrollLeft,t.__maxScrollLeft),0),r=Math.max(Math.min(t.__scrollTop,t.__maxScrollTop),0),o=t.__clientWidth,a=t.__clientHeight;t.__minDecelerationScrollLeft=Math.floor(n/o)*o,t.__minDecelerationScrollTop=Math.floor(r/a)*a,t.__maxDecelerationScrollLeft=Math.ceil(n/o)*o,t.__maxDecelerationScrollTop=Math.ceil(r/a)*a}else t.__minDecelerationScrollLeft=0,t.__minDecelerationScrollTop=0,t.__maxDecelerationScrollLeft=t.__maxScrollLeft,t.__maxDecelerationScrollTop=t.__maxScrollTop;var l=t.options.snapping?4:.1;t.__isDecelerating=i.effect.Animate.start(function(e,n,r){t.__stepThroughDeceleration(r)},function(){var e=Math.abs(t.__decelerationVelocityX)>=l||Math.abs(t.__decelerationVelocityY)>=l;return e||(t.__didDecelerationComplete=!0),e},function(e,n,r){t.__isDecelerating=!1,t.__didDecelerationComplete&&t.options.scrollingComplete(),t.scrollTo(t.__scrollLeft,t.__scrollTop,t.options.snapping)})},__stepThroughDeceleration:function(e){var t=this.__scrollLeft+this.__decelerationVelocityX,n=this.__scrollTop+this.__decelerationVelocityY;if(!this.options.bouncing){var r=Math.max(Math.min(this.__maxDecelerationScrollLeft,t),this.__minDecelerationScrollLeft);r!==t&&(t=r,this.__decelerationVelocityX=0);var i=Math.max(Math.min(this.__maxDecelerationScrollTop,n),this.__minDecelerationScrollTop);i!==n&&(n=i,this.__decelerationVelocityY=0)}if(e?this.__publish(t,n,this.__zoomLevel):(this.__scrollLeft=t,this.__scrollTop=n),!this.options.paging){var o=this.options.decelerationRate;this.__decelerationVelocityX*=o,this.__decelerationVelocityY*=o}if(this.options.bouncing){var a=0,l=0,u=this.options.penetrationDeceleration,s=this.options.penetrationAcceleration;tthis.__maxDecelerationScrollLeft&&(a=this.__maxDecelerationScrollLeft-t),nthis.__maxDecelerationScrollTop&&(l=this.__maxDecelerationScrollTop-n),0!==a&&(a*this.__decelerationVelocityX<=0?this.__decelerationVelocityX+=a*u:this.__decelerationVelocityX=a*s),0!==l&&(l*this.__decelerationVelocityY<=0?this.__decelerationVelocityY+=l*u:this.__decelerationVelocityY=l*s)}}};for(var l in a)r.prototype[l]=a[l];e.exports=r}()},function(e,t,n){e.exports=n(30)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=n.props.style.height||o<=-n.props.style.height||e.push(a);return e},n.updateScrollingDeceleration=function(){for(var e=n.scroller.__decelerationVelocityY,t=0,r=n.state.scrollTop;Math.abs(e).toFixed(6)>0;)r+=e,e*=n.props.scrollingDeceleration;for(var i=1/0,o=n.props.itemHeightGetter(),a=void 0,l=0,u=n.props.numberOfItemsGetter();l100&&(this._itemCache.clear(),this._groupCache.clear());var e=this.getVisibleItemIndexes().map(this.renderItem);return a.default.createElement(c,{style:this.props.style,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseOut:this.handleMouseOut,onMouseMove:this.handleMouseMove,onTouchCancel:this.handleTouchEnd},e)}}]),t}();f.propTypes={style:l.default.object,numberOfItemsGetter:l.default.func.isRequired,itemHeightGetter:l.default.func.isRequired,itemGetter:l.default.func.isRequired,snapping:l.default.bool,scrollingDeceleration:l.default.number,scrollingPenetrationAcceleration:l.default.number,onScroll:l.default.func},f.defaultProps={style:{left:0,top:0,width:0,height:0},snapping:!1,scrollingDeceleration:.95,scrollingPenetrationAcceleration:.08},t.default=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.linear=function(e){return e},t.easeInQuad=function(e){return Math.pow(e,2)},t.easeOutQuad=function(e){return e*(2-e)},t.easeInOutQuad=function(e){return e<.5?2*e*e:(4-2*e)*e-1},t.easeInCubic=function(e){return e*e*e},t.easeOutCubic=function(e){return--e*e*e+1},t.easeInOutCubic=function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}},function(e,t,n){var r,i;void 0===(i="function"==typeof(r=function(){var t=function(){var e,t="inherit",n="ltr",r="rtl",i="row",o="row-reverse",a="column",l="column-reverse",u="flex-start",s="center",c="flex-end",f="space-between",d="space-around",h="flex-start",p="center",m="flex-end",y="stretch",v="relative",g="absolute",_={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},b={row:"right","row-reverse":"left",column:"bottom","column-reverse":"top"},x={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},w={row:"width","row-reverse":"width",column:"height","column-reverse":"height"};function T(e){return void 0===e}function S(e){return e===i||e===o}function C(e,t){if(void 0!==e.style.marginStart&&S(t))return e.style.marginStart;var n=null;switch(t){case"row":n=e.style.marginLeft;break;case"row-reverse":n=e.style.marginRight;break;case"column":n=e.style.marginTop;break;case"column-reverse":n=e.style.marginBottom}return void 0!==n?n:void 0!==e.style.margin?e.style.margin:0}function k(e,t){if(void 0!==e.style.marginEnd&&S(t))return e.style.marginEnd;var n=null;switch(t){case"row":n=e.style.marginRight;break;case"row-reverse":n=e.style.marginLeft;break;case"column":n=e.style.marginBottom;break;case"column-reverse":n=e.style.marginTop}return null!=n?n:void 0!==e.style.margin?e.style.margin:0}function L(e,t){if(void 0!==e.style.borderStartWidth&&e.style.borderStartWidth>=0&&S(t))return e.style.borderStartWidth;var n=null;switch(t){case"row":n=e.style.borderLeftWidth;break;case"row-reverse":n=e.style.borderRightWidth;break;case"column":n=e.style.borderTopWidth;break;case"column-reverse":n=e.style.borderBottomWidth}return null!=n&&n>=0?n:void 0!==e.style.borderWidth&&e.style.borderWidth>=0?e.style.borderWidth:0}function M(e,t){if(void 0!==e.style.borderEndWidth&&e.style.borderEndWidth>=0&&S(t))return e.style.borderEndWidth;var n=null;switch(t){case"row":n=e.style.borderRightWidth;break;case"row-reverse":n=e.style.borderLeftWidth;break;case"column":n=e.style.borderBottomWidth;break;case"column-reverse":n=e.style.borderTopWidth}return null!=n&&n>=0?n:void 0!==e.style.borderWidth&&e.style.borderWidth>=0?e.style.borderWidth:0}function P(e,t){return function(e,t){if(void 0!==e.style.paddingStart&&e.style.paddingStart>=0&&S(t))return e.style.paddingStart;var n=null;switch(t){case"row":n=e.style.paddingLeft;break;case"row-reverse":n=e.style.paddingRight;break;case"column":n=e.style.paddingTop;break;case"column-reverse":n=e.style.paddingBottom}return null!=n&&n>=0?n:void 0!==e.style.padding&&e.style.padding>=0?e.style.padding:0}(e,t)+L(e,t)}function O(e,t){return function(e,t){if(void 0!==e.style.paddingEnd&&e.style.paddingEnd>=0&&S(t))return e.style.paddingEnd;var n=null;switch(t){case"row":n=e.style.paddingRight;break;case"row-reverse":n=e.style.paddingLeft;break;case"column":n=e.style.paddingBottom;break;case"column-reverse":n=e.style.paddingTop}return null!=n&&n>=0?n:void 0!==e.style.padding&&e.style.padding>=0?e.style.padding:0}(e,t)+M(e,t)}function E(e,t){return L(e,t)+M(e,t)}function I(e,t){return C(e,t)+k(e,t)}function R(e,t){return P(e,t)+O(e,t)}function A(e,t){return t.style.alignSelf?t.style.alignSelf:e.style.alignItems?e.style.alignItems:"stretch"}function D(e,t){if(t===r){if(e===i)return o;if(e===o)return i}return e}function z(e){return e.style.position?e.style.position:"relative"}function j(e){return z(e)===v&&e.style.flex>0}function N(e,t){return e.layout[w[t]]+I(e,t)}function F(e,t){return void 0!==e.style[w[t]]&&e.style[w[t]]>=0}function U(e,t){return void 0!==e.style[t]}function W(e,t){return void 0!==e.style[t]?e.style[t]:0}function H(e,t,n){var r={row:e.style.minWidth,"row-reverse":e.style.minWidth,column:e.style.minHeight,"column-reverse":e.style.minHeight}[t],i={row:e.style.maxWidth,"row-reverse":e.style.maxWidth,column:e.style.maxHeight,"column-reverse":e.style.maxHeight}[t],o=n;return void 0!==i&&i>=0&&o>i&&(o=i),void 0!==r&&r>=0&&ot?e:t}function V(e,t){void 0===e.layout[w[t]]&&F(e,t)&&(e.layout[w[t]]=B(H(e,t,e.style[w[t]]),R(e,t)))}function q(e,t,n){t.layout[b[n]]=e.layout[w[n]]-t.layout[w[n]]-t.layout[x[n]]}function X(e,t){return void 0!==e.style[_[t]]?W(e,_[t]):-W(e,b[t])}function Y(r,M,Y){var G=function(e,r){var i;return(i=e.style.direction?e.style.direction:t)===t&&(i=void 0===r?n:r),i}(r,Y),Z=D(function(e){return e.style.flexDirection?e.style.flexDirection:a}(r),G),K=function(e,t){return function(e){return e===a||e===l}(Z)?D(i,t):a}(0,G),J=D(i,G);V(r,Z),V(r,K),r.layout.direction=G,r.layout[_[Z]]+=C(r,Z)+X(r,Z),r.layout[b[Z]]+=k(r,Z)+X(r,Z),r.layout[_[K]]+=C(r,K)+X(r,K),r.layout[b[K]]+=k(r,K)+X(r,K);var $=r.children.length,ee=R(r,J);if(void 0!==r.style.measure){var te=!T(r.layout[w[J]]),ne=e;ne=F(r,J)?r.style.width:te?r.layout[w[J]]:M-I(r,J),ne-=ee;var re=!F(r,J)&&!te,ie=!F(r,a)&&T(r.layout[w[a]]);if(re||ie){var oe=r.style.measure(ne);re&&(r.layout.width=oe.width+ee),ie&&(r.layout.height=oe.height+R(r,a))}if(0===$)return}var ae,le,ue,se,ce="wrap"===r.style.flexWrap,fe=function(e){return e.style.justifyContent?e.style.justifyContent:"flex-start"}(r),de=P(r,Z),he=P(r,K),pe=R(r,Z),me=R(r,K),ye=!T(r.layout[w[Z]]),ve=!T(r.layout[w[K]]),ge=S(Z),_e=null,be=null,xe=e;ye&&(xe=r.layout[w[Z]]-pe);for(var we=0,Te=0,Se=0,Ce=0,ke=0,Le=0;Te<$;){var Me,Pe=0,Oe=0,Ee=0,Ie=0,Re=ye&&fe===u||!ye&&fe!==s,Ae=Re?$:we,De=!0,ze=$,je=null,Ne=null,Fe=de,Ue=0;for(ae=we;ae<$;++ae){if((ue=r.children[ae]).lineIndex=Le,ue.nextAbsoluteChild=null,ue.nextFlexChild=null,(Ge=A(r,ue))===y&&z(ue)===v&&ve&&!F(ue,K))ue.layout[w[K]]=B(H(ue,K,r.layout[w[K]]-me-I(ue,K)),R(ue,K));else if(z(ue)===g)for(null===_e&&(_e=ue),null!==be&&(be.nextAbsoluteChild=ue),be=ue,le=0;le<2;le++)se=0!==le?i:a,!T(r.layout[w[se]])&&!F(ue,se)&&U(ue,_[se])&&U(ue,b[se])&&(ue.layout[w[se]]=B(H(ue,se,r.layout[w[se]]-R(r,se)-I(ue,se)-W(ue,_[se])-W(ue,b[se])),R(ue,se)));var We=0;if(ye&&j(ue)?(Oe++,Ee+=ue.style.flex,null===je&&(je=ue),null!==Ne&&(Ne.nextFlexChild=ue),Ne=ue,We=R(ue,Z)+I(ue,Z)):(Me=e,ge||(Me=F(r,J)?r.layout[w[J]]-ee:M-I(r,J)-ee),0===Se&&Q(ue,Me,G),z(ue)===v&&(Ie++,We=N(ue,Z))),ce&&ye&&Pe+We>xe&&ae!==we){Ie--,Se=1;break}Re&&(z(ue)!==v||j(ue))&&(Re=!1,Ae=ae),De&&(z(ue)!==v||Ge!==y&&Ge!==h||T(ue.layout[w[K]]))&&(De=!1,ze=ae),Re&&(ue.layout[x[Z]]+=Fe,ye&&q(r,ue,Z),Fe+=N(ue,Z),Ue=B(Ue,H(ue,K,N(ue,K)))),De&&(ue.layout[x[K]]+=Ce+he,ve&&q(r,ue,K)),Se=0,Pe+=We,Te=ae+1}var He=0,Be=0,Ve=0;if(Ve=ye?xe-Pe:B(Pe,0)-Pe,0!==Oe){var qe,Xe,Ye=Ve/Ee;for(Ne=je;null!==Ne;)(qe=Ye*Ne.style.flex+R(Ne,Z))!==(Xe=H(Ne,Z,qe))&&(Ve-=Xe,Ee-=Ne.style.flex),Ne=Ne.nextFlexChild;for((Ye=Ve/Ee)<0&&(Ye=0),Ne=je;null!==Ne;)Ne.layout[w[Z]]=H(Ne,Z,Ye*Ne.style.flex+R(Ne,Z)),Me=e,F(r,J)?Me=r.layout[w[J]]-ee:ge||(Me=M-I(r,J)-ee),Q(Ne,Me,G),ue=Ne,Ne=Ne.nextFlexChild,ue.nextFlexChild=null}else fe!==u&&(fe===s?He=Ve/2:fe===c?He=Ve:fe===f?(Ve=B(Ve,0),Be=Oe+Ie-1!=0?Ve/(Oe+Ie-1):0):fe===d&&(He=(Be=Ve/(Oe+Ie))/2));for(Fe+=He,ae=Ae;ae1&&ve){var Je=r.layout[w[K]]-me,$e=Je-Ce,et=0,tt=he,nt=function(e){return e.style.alignContent?e.style.alignContent:"flex-start"}(r);nt===m?tt+=$e:nt===p?tt+=$e/2:nt===y&&Je>Ce&&(et=$e/Le);var rt=0;for(ae=0;ae0&&t.children.forEach(function(n){e(n,t.layer.frame.x,t.layer.frame.y)})}(t),t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=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}(n(6));function o(e,t){return(t.zIndex||0)-(e.zIndex||0)}function a(e){var t=void 0;for(var n in i)if(i[n]===e){t=n;break}return t}function l(e,t,n){var i=e.touches?e.touches[0]:e,l=i.pageX,u=i.pageY,s=void 0;return n&&(l-=(s=n.getBoundingClientRect()).left,u-=s.top),u-=window.pageYOffset,l-=window.pageXOffset,function e(t,n,i,l,u){var s=null,c=a(n),f=void 0,d=(0,r.clone)(t.frame);if("number"==typeof t.alpha&&t.alpha<.01)return null;if(t.children)for(var h=0,p=(f=t.children.slice().reverse().sort(o)).length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var u=e.length;a="="===e.charAt(u-2)?2:"="===e.charAt(u-1)?1:0,l=new t(3*e.length/4-a),i=a>0?e.length-4:e.length;var s=0;function f(e){l[s++]=e}for(n=0,r=0;n>16),f((65280&o)>>8),f(255&o);return 2===a?f(255&(o=c(e.charAt(n))<<2|c(e.charAt(n+1))>>4)):1===a&&(f((o=c(e.charAt(n))<<10|c(e.charAt(n+1))<<4|c(e.charAt(n+2))>>2)>>8&255),f(255&o)),l},e.fromByteArray=function(e){var t,n,i,o,a=e.length%3,l="";function u(e){return r.charAt(e)}for(t=0,i=e.length-a;t>18&63)+u(o>>12&63)+u(o>>6&63)+u(63&o);switch(a){case 1:l+=u((n=e[e.length-1])>>2),l+=u(n<<4&63),l+="==";break;case 2:l+=u((n=(e[e.length-2]<<8)+e[e.length-1])>>10),l+=u(n>>4&63),l+=u(n<<2&63),l+="="}return l}}(t)},function(e,t){var n=0,r=-3;function i(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}var o=new i,a=new i,l=new Uint8Array(30),u=new Uint16Array(30),s=new Uint8Array(30),c=new Uint16Array(30),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new i,h=new Uint8Array(320);function p(e,t,n,r){var i,o;for(i=0;i>>=1,t}function g(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<>>16-t;return e.tag>>>=t,e.bitcount-=t,r+n}function _(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<>>=1,++i,n+=t.table[i],r-=t.table[i]}while(r>=0);return e.tag=o,e.bitcount-=i,t.trans[n+r]}function b(e,t,n){var r,i,o,a,l,u;for(r=g(e,5,257),i=g(e,5,1),o=g(e,4,4),a=0;a<19;++a)h[a]=0;for(a=0;a8;)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(256*e.source[e.sourceIndex+3]+e.source[e.sourceIndex+2])))return r;for(e.sourceIndex+=4,i=t;i;--i)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,n}!function(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}(o,a),p(l,u,4,3),p(s,c,2,1),l[28]=0,u[28]=258,e.exports=function(e,t){var l,u,s=new function(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new i,this.dtree=new i}(e,t);do{switch(l=v(s),g(s,2,0)){case 0:u=w(s);break;case 1:u=x(s,o,a);break;case 2:b(s,s.ltree,s.dtree),u=x(s,s.ltree,s.dtree);break;default:u=r}if(u!==n)throw new Error("Data error")}while(!l);return s.destLen1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>5]<<2)+(31&e),this.data[t]):e<=65535?(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eqm2OK+uozR6SfiLCOPz36LiDlzXr6UWd7BpY6mlrNANkTOeme5EgnnAkQRTGo9T6iYxbUKfGJcI9B+ub2PcyUOgpwXbOf3bHFWtygD7FYbRhb+vkzi87dB0JeXl/vBpBUz93VtqZi7AL7C1VowTF+tGmyurw7DBcktc+UMY0E10Jw4URojf8NdaNpN6E1q4+Oz+4YePtMLy8FPRP"),o=new i(a),r=function(){function e(e){this.string=e,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null}var t,n,r;return e.prototype.nextCodePoint=function(){var e,t;return e=this.string.charCodeAt(this.pos++),t=this.string.charCodeAt(this.pos),55296<=e&&56319>=e&&56320<=t&&57343>=t?(this.pos++,1024*(e-55296)+(t-56320)+65536):e},n=function(e){return 29===e?12:36===e||37===e||39===e?12:32===e?5:e},r=function(e){return 34===e||35===e?30:31===e?17:38===e?22:e},e.prototype.nextCharClass=function(e){return null==e&&(e=!1),n(o.get(this.nextCodePoint()))},t=function(e,t){this.position=e,this.required=null!=t&&t},e.prototype.nextBreak=function(){var e,i,o;for(null==this.curClass&&(this.curClass=r(this.nextCharClass()));this.pos=this.string.length)return this.lastPosa&&(f=f.replace(/,?\s?\w+$/,"…")),c<=a+r&&e.fillText(f,s,c)}),e.restore()},t.drawGradient=function(e,t,n,r,i,o,a,l,u,s){e.save();var c=e.createLinearGradient(t,n,r,i);o.forEach(function(e){c.addColorStop(e.position,e.color)}),e.fillStyle=c,e.fillRect(a,l,u,s),e.restore()}},function(e,t,n){var r;e.exports=function e(t,n,i){function o(l,u){if(!n[l]){if(!t[l]){if(!u&&"function"==typeof r&&r)return r(l,!0);if(a)return a(l,!0);var s=new Error("Cannot find module '"+l+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[l]={exports:{}};t[l][0].call(c.exports,function(e){return o(t[l][1][e]||e)},c,c.exports,e,t,n,i)}return n[l].exports}for(var a="function"==typeof r&&r,l=0;l=0?(this.lastItem=this.list[t],this.list[t].val):void 0},r.prototype.set=function(e,t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=t,this):(n=this.indexOf(e))>=0?(this.lastItem=this.list[n],this.list[n].val=t,this):(this.lastItem={key:e,val:t},this.list.push(this.lastItem),this.size++,this)},r.prototype.delete=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),(t=this.indexOf(e))>=0)return this.size--,this.list.splice(t,1)[0]},r.prototype.has=function(e){var t;return!(!this.lastItem||!this.isEqual(this.lastItem.key,e))||(t=this.indexOf(e))>=0&&(this.lastItem=this.list[t],!0)},r.prototype.forEach=function(e,t){var n;for(n=0;n0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},n.prototype.removeListener=function(e,t){var n,i,a,l;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(l=a;l-- >0;)if(n[l]===t||n[l].listener&&n[l].listener===t){i=l;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(17),i=n(4),o=n(45);e.exports=function(){function e(e,t,n,r,a,l){l!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){ -/** @license React v16.4.0 - * react.production.min.js - * - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var r=n(18),o=n(4),a=n(2),l=n(17),u="function"==typeof Symbol&&Symbol.for,s=u?Symbol.for("react.element"):60103,c=u?Symbol.for("react.portal"):60106,f=u?Symbol.for("react.fragment"):60107,d=u?Symbol.for("react.strict_mode"):60108,h=u?Symbol.for("react.profiler"):60114,p=u?Symbol.for("react.provider"):60109,m=u?Symbol.for("react.context"):60110,y=u?Symbol.for("react.async_mode"):60111,v=u?Symbol.for("react.forward_ref"):60112;u&&Symbol.for("react.timeout");var g="function"==typeof Symbol&&Symbol.iterator;function _(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rE.length&&E.push(e)}function A(e,t,n,r){var o=void 0===e?"undefined":i(e);"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case s:case c:a=!0}}if(a)return n(r,e,""===t?"."+D(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;lh))return;n._lastMouseDownTimestamp=null,n._lastMouseDownPosition=null,n._draggedSinceMouseDown=!1}else"mousemove"===e.type&&!n._draggedSinceMouseDown&&n._lastMouseDownPosition&&(n._draggedSinceMouseDown=e.pageX!==n._lastMouseDownPosition[0]||e.pageY!==n._lastMouseDownPosition[1]);var t=(0,c.default)(e,n.node,n.canvas);if("mouseout"===e.type?t=n._lastHitTarget:n._lastHitTarget=t,t){var r=t[c.default.getHitHandle(e.type)];r&&r(e)}},n.handleContextMenu=function(e){n.hitTest(e)},e.canvas&&n.setCanvasRef(e.canvas),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":i(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"render",value:function(){if(this.props.canvas)return null;var e=this.props.width*this.props.scale,t=this.props.height*this.props.scale,n={};return this.props.style&&(n=Object.assign({},this.props.style)),void 0!==this.props.width&&(n.width=this.props.width),void 0!==this.props.height&&(n.height=this.props.height),o.default.createElement("canvas",{ref:this.setCanvasRef,className:this.props.className,id:this.props.id,width:e,height:t,style:n,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onTouchCancel:this.handleTouchEnd,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onMouseMove:this.handleMouseEvent,onMouseOver:this.handleMouseEvent,onMouseOut:this.handleMouseEvent,onContextMenu:this.handleContextMenu,onClick:this.handleMouseEvent,onDoubleClick:this.handleMouseEvent})}}]),t}();p.propTypes={className:a.default.string,id:a.default.string,top:a.default.number.isRequired,left:a.default.number.isRequired,width:a.default.number.isRequired,height:a.default.number.isRequired,scale:a.default.number.isRequired,enableCSSLayout:a.default.bool,children:a.default.object,style:a.default.object,canvas:a.default.object},p.defaultProps={scale:window.devicePixelRatio||1},p.canvasRenderer=null,t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tt.expirationTime)&&(e.expirationTime=t.expirationTime)}new Set;var B=void 0,q=void 0;function X(e){B=q=null;var t=e.alternate,n=e.updateQueue;null===n&&(n=e.updateQueue=H(null)),null!==t?null===(e=t.updateQueue)&&(e=t.updateQueue=H(null)):e=null,B=n,q=e!==n?e:null}function Y(e,t){X(e),e=B;var n=q;null===n?V(e,t):null===e.last||null===n.last?(V(e,t),V(n,t)):(V(e,t),n.last=t)}function Q(e,t,n,r){return"function"==typeof(e=e.partialState)?e.call(t,n,r):e}function G(e,t,n,r,o,a){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,capturedValues:n.capturedValues,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var l=!0,s=n.first,u=!1;null!==s;){var c=s.expirationTime;if(c>a){var f=n.expirationTime;(0===f||f>c)&&(n.expirationTime=c),u||(u=!0,n.baseState=e)}else u||(n.first=s.next,null===n.first&&(n.last=null)),s.isReplace?(e=Q(s,r,e,o),l=!0):(c=Q(s,r,e,o))&&(e=l?i({},e,c):i(e,c),l=!1),s.isForced&&(n.hasForceUpdate=!0),null!==s.callback&&(null===(c=n.callbackList)&&(c=n.callbackList=[]),c.push(s)),null!==s.capturedValue&&(null===(c=n.capturedValues)?n.capturedValues=[s.capturedValue]:c.push(s.capturedValue));s=s.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||null!==n.capturedValues||(t.updateQueue=null),u||(n.baseState=e),e}function Z(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;ed?(m=f,f=null):m=f.sibling;var y=p(i,f,l[d],s);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(i,f),a=o(y,a,d),null===c?u=y:c.sibling=y,c=y,f=m}if(d===l.length)return n(i,f),u;if(null===f){for(;dm?(y=d,d=null):y=d.sibling;var _=p(i,d,v.value,s);if(null===_){d||(d=y);break}e&&d&&null===_.alternate&&t(i,d),a=o(_,a,m),null===f?c=_:f.sibling=_,f=_,d=y}if(v.done)return n(i,d),c;if(null===d){for(;!v.done;m++,v=l.next())null!==(v=h(i,v.value,s))&&(a=o(v,a,m),null===f?c=v:f.sibling=v,f=v);return c}for(d=r(i,d);!v.done;m++,v=l.next())null!==(v=g(d,i,m,v.value,s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===f?c=v:f.sibling=v,f=v);return e&&d.forEach(function(e){return t(i,e)}),c}return function(e,r,o,l){"object"==typeof o&&null!==o&&o.type===y&&null===o.key&&(o=o.props.children);var s="object"==typeof o&&null!==o;if(s)switch(o.$$typeof){case d:e:{var c=o.key;for(s=r;null!==s;){if(s.key===c){if(10===s.tag?o.type===y:s.type===o.type){n(e,s.sibling),(r=i(s,o.type===y?o.props.children:o.props,l)).ref=J(e,s,o),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}o.type===y?((r=R(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=I(o,e.mode,l)).ref=J(e,r,o),l.return=e,e=l)}return a(e);case m:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[],l)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=D(o,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o,l)).return=e,e=r):(n(e,r),(r=A(o,e.mode,l)).return=e,e=r),a(e);if(K(o))return v(e,r,o,l);if(T(o))return _(e,r,o,l);if(s&&$(e,o),void 0===o)switch(e.tag){case 2:case 1:u("152",(l=e.type).displayName||l.name||"Component")}return n(e,r)}}var te=ee(!0),ne=ee(!1);function re(e,t,n,r,o,a,f){function d(e,t,n){h(e,t,n,t.expirationTime)}function h(e,t,n,r){t.child=null===e?ne(t,null,n,r):te(t,e.child,n,r)}function p(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function m(e,t,n,r,i,o){if(p(e,t),!n&&!i)return r&&E(t,!1),v(e,t);n=t.stateNode,c.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(h(e,t,null,o),t.child=null),h(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&E(t,!0),t.child}function y(e){var t=e.stateNode;t.pendingContext?P(e,t.pendingContext,t.pendingContext!==t.context):t.context&&P(e,t.context,!1),w(e,t.containerInfo)}function g(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!=(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){o=i;break}o=o.return}i=o}}function v(e,t){if(null!==e&&t.child!==e.child&&u("153"),null!==t.child){var n=O(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=O(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}var _=e.shouldSetTextContent,b=e.shouldDeprioritizeSubtree,x=t.pushHostContext,w=t.pushHostContainer,T=r.pushProvider,S=n.getMaskedContext,C=n.getUnmaskedContext,L=n.hasContextChanged,M=n.pushContextProvider,P=n.pushTopLevelContextObject,E=n.invalidateContextProvider,I=o.enterHydrationState,R=o.resetHydrationState,A=o.tryToClaimNextHydratableInstance,D=(e=function(e,t,n,r,o){function a(e,t,n,r,i,o){if(null===t||null!==e.updateQueue&&e.updateQueue.hasForceUpdate)return!0;var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!(e.prototype&&e.prototype.isPureReactComponent&&s(t,n)&&s(r,i))}function u(e,t){t.updater=g,e.stateNode=t,t._reactInternalFiber=e}function c(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&g.enqueueReplaceState(t,t.state,null)}function f(e,t,n,r){if("function"==typeof(e=e.type).getDerivedStateFromProps)return e.getDerivedStateFromProps.call(null,n,r)}var d=e.cacheContext,h=e.getMaskedContext,p=e.getUnmaskedContext,m=e.isContextConsumer,y=e.hasContextChanged,g={isMounted:k,enqueueSetState:function(e,r,i){e=e._reactInternalFiber,i=void 0===i?null:i;var o=n(e);Y(e,{expirationTime:o,partialState:r,callback:i,isReplace:!1,isForced:!1,capturedValue:null,next:null}),t(e,o)},enqueueReplaceState:function(e,r,i){e=e._reactInternalFiber,i=void 0===i?null:i;var o=n(e);Y(e,{expirationTime:o,partialState:r,callback:i,isReplace:!0,isForced:!1,capturedValue:null,next:null}),t(e,o)},enqueueForceUpdate:function(e,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);Y(e,{expirationTime:i,partialState:null,callback:r,isReplace:!1,isForced:!0,capturedValue:null,next:null}),t(e,i)}};return{adoptClassInstance:u,callGetDerivedStateFromProps:f,constructClassInstance:function(e,t){var n=e.type,r=p(e),o=m(e),a=o?h(e,r):l,s=null!==(n=new n(t,a)).state&&void 0!==n.state?n.state:null;return u(e,n),e.memoizedState=s,null!==(t=f(e,0,t,s))&&void 0!==t&&(e.memoizedState=i({},e.memoizedState,t)),o&&d(e,r,a),n},mountClassInstance:function(e,t){var n=e.type,r=e.alternate,i=e.stateNode,o=e.pendingProps,a=p(e);i.props=o,i.state=e.memoizedState,i.refs=l,i.context=h(e,a),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(n=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),n!==i.state&&g.enqueueReplaceState(i,i.state,null),null!==(n=e.updateQueue)&&(i.state=G(r,e,n,i,o,t))),"function"==typeof i.componentDidMount&&(e.effectTag|=4)},resumeMountClassInstance:function(e,t){var n=e.type,l=e.stateNode;l.props=e.memoizedProps,l.state=e.memoizedState;var s=e.memoizedProps,u=e.pendingProps,d=l.context,m=p(e);m=h(e,m),(n="function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(s!==u||d!==m)&&c(e,l,u,m),d=e.memoizedState,t=null!==e.updateQueue?G(null,e,e.updateQueue,l,u,t):d;var g=void 0;if(s!==u&&(g=f(e,0,u,t)),null!==g&&void 0!==g){t=null===t||void 0===t?g:i({},t,g);var v=e.updateQueue;null!==v&&(v.baseState=i({},v.baseState,g))}return s!==u||d!==t||y()||null!==e.updateQueue&&e.updateQueue.hasForceUpdate?((s=a(e,s,u,d,t,m))?(n||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(e.effectTag|=4)):("function"==typeof l.componentDidMount&&(e.effectTag|=4),r(e,u),o(e,t)),l.props=u,l.state=t,l.context=m,s):("function"==typeof l.componentDidMount&&(e.effectTag|=4),!1)},updateClassInstance:function(e,t,n){var l=t.type,s=t.stateNode;s.props=t.memoizedProps,s.state=t.memoizedState;var u=t.memoizedProps,d=t.pendingProps,m=s.context,g=p(t);g=h(t,g),(l="function"==typeof l.getDerivedStateFromProps||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(u!==d||m!==g)&&c(t,s,d,g),m=t.memoizedState,n=null!==t.updateQueue?G(e,t,t.updateQueue,s,d,n):m;var v=void 0;if(u!==d&&(v=f(t,0,d,n)),null!==v&&void 0!==v){n=null===n||void 0===n?v:i({},n,v);var _=t.updateQueue;null!==_&&(_.baseState=i({},_.baseState,v))}return u!==d||m!==n||y()||null!==t.updateQueue&&t.updateQueue.hasForceUpdate?((v=a(t,u,d,m,n,g))?(l||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(d,n,g),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(d,n,g)),"function"==typeof s.componentDidUpdate&&(t.effectTag|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.effectTag|=2048)):("function"!=typeof s.componentDidUpdate||u===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||u===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),r(t,d),o(t,n)),s.props=d,s.state=n,s.context=g,v):("function"!=typeof s.componentDidUpdate||u===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||u===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),!1)}}}(n,a,f,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t})).adoptClassInstance,z=e.callGetDerivedStateFromProps,j=e.constructClassInstance,N=e.mountClassInstance,F=e.resumeMountClassInstance,U=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:y(t);break;case 2:M(t);break;case 4:w(t,t.stateNode.containerInfo);break;case 13:T(t)}return null}switch(t.tag){case 0:null!==e&&u("155");var r=t.type,o=t.pendingProps,a=C(t);return r=r(o,a=S(t,a)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof a.getDerivedStateFromProps&&(null!==(o=z(t,r,o,t.memoizedState))&&void 0!==o&&(t.memoizedState=i({},t.memoizedState,o))),o=M(t),D(t,r),N(t,n),e=m(e,t,!0,o,!1,n)):(t.tag=1,d(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,L()||t.memoizedProps!==n?(r=C(t),o=o(n,r=S(t,r)),t.effectTag|=1,d(e,t,o),t.memoizedProps=n,e=t.child):e=v(e,t),e;case 2:o=M(t),null===e?null===t.stateNode?(j(t,t.pendingProps),N(t,n),r=!0):r=F(t,n):r=U(e,t,n),a=!1;var l=t.updateQueue;return null!==l&&null!==l.capturedValues&&(a=r=!0),m(e,t,r,o,a,n);case 3:e:if(y(t),r=t.updateQueue,null!==r){if(a=t.memoizedState,o=G(e,t,r,null,null,n),t.memoizedState=o,null!==(r=t.updateQueue)&&null!==r.capturedValues)r=null;else{if(a===o){R(),e=v(e,t);break e}r=o.element}a=t.stateNode,(null===e||null===e.child)&&a.hydrate&&I(t)?(t.effectTag|=2,t.child=ne(t,null,r,n)):(R(),d(e,t,r)),t.memoizedState=o,e=t.child}else R(),e=v(e,t);return e;case 5:return x(t),null===e&&A(t),o=t.type,l=t.memoizedProps,r=t.pendingProps,a=null!==e?e.memoizedProps:null,L()||l!==r||((l=1&t.mode&&b(o,r))&&(t.expirationTime=1073741823),l&&1073741823===n)?(l=r.children,_(o,r)?l=null:a&&_(o,a)&&(t.effectTag|=16),p(e,t),1073741823!==n&&1&t.mode&&b(o,r)?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(d(e,t,l),t.memoizedProps=r,e=t.child)):e=v(e,t),e;case 6:return null===e&&A(t),t.memoizedProps=t.pendingProps,null;case 8:t.tag=7;case 7:return o=t.pendingProps,L()||t.memoizedProps!==o||(o=t.memoizedProps),r=o.children,t.stateNode=null===e?ne(t,t.stateNode,r,n):te(t,e.stateNode,r,n),t.memoizedProps=o,t.stateNode;case 9:return null;case 4:return w(t,t.stateNode.containerInfo),o=t.pendingProps,L()||t.memoizedProps!==o?(null===e?t.child=te(t,null,o,n):d(e,t,o),t.memoizedProps=o,e=t.child):e=v(e,t),e;case 14:return d(e,t,n=(n=t.type.render)(t.pendingProps,t.ref)),t.memoizedProps=n,t.child;case 10:return n=t.pendingProps,L()||t.memoizedProps!==n?(d(e,t,n),t.memoizedProps=n,e=t.child):e=v(e,t),e;case 11:return n=t.pendingProps.children,L()||null!==n&&t.memoizedProps!==n?(d(e,t,n),t.memoizedProps=n,e=t.child):e=v(e,t),e;case 13:return function(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps;if(!L()&&o===i)return t.stateNode=0,T(t),v(e,t);var a=i.value;if(t.memoizedProps=i,null===o)a=1073741823;else if(o.value===i.value){if(o.children===i.children)return t.stateNode=0,T(t),v(e,t);a=0}else{var l=o.value;if(l===a&&(0!==l||1/l==1/a)||l!=l&&a!=a){if(o.children===i.children)return t.stateNode=0,T(t),v(e,t);a=0}else if(a="function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823,0==(a|=0)){if(o.children===i.children)return t.stateNode=0,T(t),v(e,t)}else g(t,r,a,n)}return t.stateNode=a,T(t),d(e,t,i.children),t.child}(e,t,n);case 12:e:{r=t.type,a=t.pendingProps,l=t.memoizedProps,o=r._currentValue;var s=r._changedBits;if(L()||0!==s||l!==a){t.memoizedProps=a;var c=a.unstable_observedBits;if(void 0!==c&&null!==c||(c=1073741823),t.stateNode=c,0!=(s&c))g(t,r,s,n);else if(l===a){e=v(e,t);break e}d(e,t,n=(n=a.children)(o)),e=t.child}else e=v(e,t)}return e;default:u("156")}}}}function ie(e,t){var n=t.source;null===t.stack&&W(n),null!==n&&S(n),t=t.value,null!==e&&2===e.tag&&S(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}var oe={};function ae(e){function t(){if(null!==me)for(var e=me.return;null!==e;)H(e),e=e.return;ye=null,ge=0,me=null,be=!1}function n(e){return null!==xe&&xe.has(e)}function r(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=z(t,e,ge);var i=e;if(1073741823===ge||1073741823!==i.expirationTime){e:switch(i.tag){case 3:case 2:var o=i.updateQueue;o=null===o?0:o.expirationTime;break e;default:o=0}for(var a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1Pe)&&(Pe=e),e}function h(e,n){e:{for(;null!==e;){if((0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>n)&&(e.alternate.expirationTime=n),null===e.return){if(3!==e.tag){n=void 0;break e}var r=e.stateNode;!pe&&0!==ge&&nNe&&u("185")}e=e.return}n=void 0}return n}function p(){return fe=ne()-ce,2+(fe/10|0)}function m(e,t,n,r,i){var o=he;he=1;try{return e(t,n,r,i)}finally{he=o}}function y(e){if(0!==Se){if(e>Se)return;le(Ce)}var t=ne()-ce;Se=e,Ce=ae(_,{timeout:10*(e-2)-t})}function g(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===Te?(we=Te=e,e.nextScheduledRoot=e):(Te=Te.nextScheduledRoot=e).nextScheduledRoot=we;else{var n=e.remainingExpirationTime;(0===n||t=Me)&&(!Ee||p()>=Me);)T(Le,Me,!Ee),v();else for(;null!==Le&&0!==Me&&(0===e||e>=Me);)T(Le,Me,!1),v();null!==Re&&(Se=0,Ce=-1),0!==Me&&y(Me),Re=null,Ee=!1,w()}function w(){if(Fe=0,null!==je){var e=je;je=null;for(var t=0;tUe)&&(Ee=!0)}function M(e){null===Le&&u("246"),Le.remainingExpirationTime=0,Oe||(Oe=!0,Ie=e)}var P=function(){var e=[],t=-1;return{createCursor:function(e){return{current:e}},isEmpty:function(){return-1===t},pop:function(n){0>t||(n.current=e[t],e[t]=null,t--)},push:function(n,r){e[++t]=n.current,n.current=r},checkThatStackIsEmpty:function(){},resetStackAfterFatalErrorInDev:function(){}}}(),I=function(e,t){function n(e){return e===oe&&u("174"),e}var r=e.getChildHostContext,i=e.getRootHostContext;e=t.createCursor;var o=t.push,a=t.pop,l=e(oe),s=e(oe),c=e(oe);return{getHostContext:function(){return n(l.current)},getRootHostContainer:function(){return n(c.current)},popHostContainer:function(e){a(l,e),a(s,e),a(c,e)},popHostContext:function(e){s.current===e&&(a(l,e),a(s,e))},pushHostContainer:function(e,t){o(c,t,e),o(s,e,e),o(l,oe,e),t=i(t),a(l,e),o(l,t,e)},pushHostContext:function(e){var t=n(c.current),i=n(l.current);i!==(t=r(i,e.type,t))&&(o(s,e,e),o(l,t,e))}}}(e,P),R=function(e){function t(e,t,n){(e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n}function n(e){return 2===e.tag&&null!=e.type.childContextTypes}function r(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var o in n=n.getChildContext())o in r||u("108",S(e)||"Unknown",o);return i({},t,n)}var o=e.createCursor,a=e.push,s=e.pop,c=o(l),f=o(!1),d=l;return{getUnmaskedContext:function(e){return n(e)?d:c.current},cacheContext:t,getMaskedContext:function(e,n){var r=e.type.contextTypes;if(!r)return l;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===n)return i.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=n[o];return i&&t(e,n,a),a},hasContextChanged:function(){return f.current},isContextConsumer:function(e){return 2===e.tag&&null!=e.type.contextTypes},isContextProvider:n,popContextProvider:function(e){n(e)&&(s(f,e),s(c,e))},popTopLevelContextObject:function(e){s(f,e),s(c,e)},pushTopLevelContextObject:function(e,t,n){null!=c.cursor&&u("168"),a(c,t,e),a(f,n,e)},processChildContext:r,pushContextProvider:function(e){if(!n(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||l,d=c.current,a(c,t,e),a(f,f.current,e),!0},invalidateContextProvider:function(e,t){var n=e.stateNode;if(n||u("169"),t){var i=r(e,d);n.__reactInternalMemoizedMergedChildContext=i,s(f,e),s(c,e),a(c,i,e)}else s(f,e);a(f,t,e)},findCurrentUnmaskedContext:function(e){for((2!==C(e)||2!==e.tag)&&u("170");3!==e.tag;){if(n(e))return e.stateNode.__reactInternalMemoizedMergedChildContext;(e=e.return)||u("171")}return e.stateNode.context}}}(P);P=function(e){var t=e.createCursor,n=e.push,r=e.pop,i=t(null),o=t(null),a=t(0);return{pushProvider:function(e){var t=e.type._context;n(a,t._changedBits,e),n(o,t._currentValue,e),n(i,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode},popProvider:function(e){var t=a.current,n=o.current;r(i,e),r(o,e),r(a,e),(e=e.type._context)._currentValue=n,e._changedBits=t}}}(P);var A=function(e){function t(e,t){var n=new E(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function n(e,t){switch(e.tag){case 5:return null!==(t=o(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=a(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function r(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;d=e}var i=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){u("175")},prepareToHydrateHostTextInstance:function(){u("176")},popHydrationState:function(){return!1}};var o=e.canHydrateInstance,a=e.canHydrateTextInstance,l=e.getNextHydratableSibling,s=e.getFirstHydratableChild,c=e.hydrateInstance,f=e.hydrateTextInstance,d=null,h=null,p=!1;return{enterHydrationState:function(e){return h=s(e.stateNode.containerInfo),d=e,p=!0},resetHydrationState:function(){h=d=null,p=!1},tryToClaimNextHydratableInstance:function(e){if(p){var r=h;if(r){if(!n(e,r)){if(!(r=l(r))||!n(e,r))return e.effectTag|=2,p=!1,void(d=e);t(d,h)}d=e,h=s(r)}else e.effectTag|=2,p=!1,d=e}},prepareToHydrateHostInstance:function(e,t,n){return t=c(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return f(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==d)return!1;if(!p)return r(e),p=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!i(n,e.memoizedProps))for(n=h;n;)t(e,n),n=l(n);return r(e),h=d?l(e.stateNode):null,!0}}}(e),D=re(e,I,R,P,A,h,d).beginWork,z=function(e,t,n,r,i){function o(e){e.effectTag|=4}var a=e.createInstance,l=e.createTextInstance,s=e.appendInitialChild,c=e.finalizeInitialChildren,f=e.prepareUpdate,d=e.persistence,h=t.getRootHostContainer,p=t.popHostContext,m=t.getHostContext,y=t.popHostContainer,g=n.popContextProvider,v=n.popTopLevelContextObject,_=r.popProvider,b=i.prepareToHydrateHostInstance,x=i.prepareToHydrateHostTextInstance,w=i.popHydrationState,T=void 0,S=void 0,C=void 0;return e.mutation?(T=function(){},S=function(e,t,n){(t.updateQueue=n)&&o(t)},C=function(e,t,n,r){n!==r&&o(t)}):u(d?"235":"236"),{completeWork:function(e,t,n){var r=t.pendingProps;switch(t.tag){case 1:return null;case 2:return g(t),e=t.stateNode,null!==(r=t.updateQueue)&&null!==r.capturedValues&&(t.effectTag&=-65,"function"==typeof e.componentDidCatch?t.effectTag|=256:r.capturedValues=null),null;case 3:return y(t),v(t),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(w(t),t.effectTag&=-3),T(t),null!==(e=t.updateQueue)&&null!==e.capturedValues&&(t.effectTag|=256),null;case 5:p(t),n=h();var i=t.type;if(null!==e&&null!=t.stateNode){var d=e.memoizedProps,k=t.stateNode,L=m();k=f(k,i,d,r,n,L),S(e,t,k,i,d,r,n,L),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!r)return null===t.stateNode&&u("166"),null;if(e=m(),w(t))b(t,n,e)&&o(t);else{d=a(i,r,n,e,t);e:for(L=t.child;null!==L;){if(5===L.tag||6===L.tag)s(d,L.stateNode);else if(4!==L.tag&&null!==L.child){L.child.return=L,L=L.child;continue}if(L===t)break;for(;null===L.sibling;){if(null===L.return||L.return===t)break e;L=L.return}L.sibling.return=L.return,L=L.sibling}c(d,i,r,n,e)&&o(t),t.stateNode=d}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)C(e,t,e.memoizedProps,r);else{if("string"!=typeof r)return null===t.stateNode&&u("166"),null;e=h(),n=m(),w(t)?x(t)&&o(t):t.stateNode=l(r,e,n,t)}return null;case 7:(r=t.memoizedProps)||u("165"),t.tag=8,i=[];e:for((d=t.stateNode)&&(d.return=t);null!==d;){if(5===d.tag||6===d.tag||4===d.tag)u("247");else if(9===d.tag)i.push(d.pendingProps.value);else if(null!==d.child){d.child.return=d,d=d.child;continue}for(;null===d.sibling;){if(null===d.return||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}return r=(d=r.handler)(r.props,i),t.child=te(t,null!==e?e.child:null,r,n),t.child;case 8:return t.tag=7,null;case 9:case 14:case 10:case 11:return null;case 4:return y(t),T(t),null;case 13:return _(t),null;case 12:return null;case 0:u("167");default:u("156")}}}}(e,I,R,P,A).completeWork,j=(I=function(e,t,n,r,i){var o=e.popHostContainer,a=e.popHostContext,l=t.popContextProvider,s=t.popTopLevelContextObject,u=n.popProvider;return{throwException:function(e,t,n){t.effectTag|=512,t.firstEffect=t.lastEffect=null,t={value:n,source:t,stack:W(t)};do{switch(e.tag){case 3:return X(e),e.updateQueue.capturedValues=[t],void(e.effectTag|=1024);case 2:if(n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&!i(n)){X(e);var r=(n=e.updateQueue).capturedValues;return null===r?n.capturedValues=[t]:r.push(t),void(e.effectTag|=1024)}}e=e.return}while(null!==e)},unwindWork:function(e){switch(e.tag){case 2:l(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return o(e),s(e),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return a(e),null;case 4:return o(e),null;case 13:return u(e),null;default:return null}},unwindInterruptedWork:function(e){switch(e.tag){case 2:l(e);break;case 3:o(e),s(e);break;case 5:a(e);break;case 4:o(e);break;case 13:u(e)}}}}(I,R,P,0,n)).throwException,N=I.unwindWork,H=I.unwindInterruptedWork,V=(I=function(e,t,n,r,i){function o(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){t(e,n)}else n.current=null}function a(e){switch(U(e),e.tag){case 2:o(e);var n=e.stateNode;if("function"==typeof n.componentWillUnmount)try{n.props=e.memoizedProps,n.state=e.memoizedState,n.componentWillUnmount()}catch(n){t(e,n)}break;case 5:o(e);break;case 7:l(e.stateNode);break;case 4:d&&c(e)}}function l(e){for(var t=e;;)if(a(t),null===t.child||d&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function s(e){return 5===e.tag||3===e.tag||4===e.tag}function c(e){for(var t=e,n=!1,r=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&u("160"),n.tag){case 5:r=n.stateNode,i=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag)l(t),i?w(r,t.stateNode):x(r,t.stateNode);else if(4===t.tag?r=t.stateNode.containerInfo:a(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}var f=e.getPublicInstance,d=e.mutation;e=e.persistence,d||u(e?"235":"236");var h=d.commitMount,p=d.commitUpdate,m=d.resetTextContent,y=d.commitTextUpdate,g=d.appendChild,v=d.appendChildToContainer,_=d.insertBefore,b=d.insertInContainerBefore,x=d.removeChild,w=d.removeChildFromContainer;return{commitBeforeMutationLifeCycles:function(e,t){switch(t.tag){case 2:if(2048&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;(e=t.stateNode).props=t.memoizedProps,e.state=t.memoizedState,t=e.getSnapshotBeforeUpdate(n,r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:break;default:u("163")}},commitResetTextContent:function(e){m(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(s(t)){var n=t;break e}t=t.return}u("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:u("161")}16&n.effectTag&&(m(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||s(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)n?r?b(t,i.stateNode,n):_(t,i.stateNode,n):r?v(t,i.stateNode):g(t,i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},commitDeletion:function(e){c(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&p(n,o,i,e,r,t)}break;case 6:null===t.stateNode&&u("162"),n=t.memoizedProps,y(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:u("163")}},commitLifeCycles:function(e,t,n){switch(n.tag){case 2:if(e=n.stateNode,4&n.effectTag)if(null===t)e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidMount();else{var r=t.memoizedProps;t=t.memoizedState,e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}null!==(n=n.updateQueue)&&Z(n,e);break;case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=f(n.child.stateNode);break;case 2:e=n.child.stateNode}Z(t,e)}break;case 5:e=n.stateNode,null===t&&4&n.effectTag&&h(e,n.type,n.memoizedProps,n);break;case 6:case 4:break;default:u("163")}},commitErrorLogging:function(e,t){switch(e.tag){case 2:var n=e.type;t=e.stateNode;var r=e.updateQueue;(null===r||null===r.capturedValues)&&u("264");var o=r.capturedValues;for(r.capturedValues=null,"function"!=typeof n.getDerivedStateFromCatch&&i(t),t.props=e.memoizedProps,t.state=e.memoizedState,n=0;n0?g[e].pop():new y[e](e)).applyLayerProps&&(n.applyLayerProps({},t),n.getLayer().invalidateLayout()),n},createTextInstance:function(e){return e},finalizeInitialChildren:function(){return!1},getPublicInstance:function(e){return e},prepareForCommit:function(){},prepareUpdate:function(){return m},resetAfterCommit:function(){},resetTextContent:function(){},shouldDeprioritizeSubtree:function(){return!1},getRootHostContext:function(){return o.default},getChildHostContext:function(){return o.default},scheduleDeferredCallback:c.default.rIC,shouldSetTextContent:function(e,t){return"string"==typeof t.children||"number"==typeof t.children},now:c.default.now,isPrimaryRenderer:!1,useSyncScheduling:!0,mutation:{appendChild:function(e,t){var n=t.getLayer(),r=e.getLayer();n.parentLayer===r?n.moveToTop():n.inject(r),r.invalidateLayout()},appendChildToContainer:function(e,t){var n=t.getLayer(),r=e.getLayer();n.parentLayer===r?n.moveToTop():n.inject(r),r.invalidateLayout()},insertBefore:function(e,t,n){var r=e.getLayer();t.getLayer().injectBefore(r,n.getLayer()),r.invalidateLayout()},insertInContainerBefore:function(e,t,n){var r=e.getLayer();t.getLayer().injectBefore(r,n.getLayer()),r.invalidateLayout()},removeChild:function(e,t){var n=e.getLayer();t.getLayer().remove(),v(t),n.invalidateLayout()},removeChildFromContainer:function(e,t){var n=e.getLayer();t.getLayer().remove(),v(t),n.invalidateLayout()},commitTextUpdate:function(){},commitMount:function(){},commitUpdate:function(e,t,n,r,i){void 0!==e.applyLayerProps&&(e.applyLayerProps(r,i),e.getLayer().invalidateLayout())}}},b=(0,f.default)(_);b.injectIntoDevTools({findFiberByHostInstance:h.getClosestInstanceFromNode,bundleType:0,version:r.default.version||16,rendererPackageName:"react-canvas",getInspectorDataForViewTag:function(){for(var e=arguments.length,t=Array(e),n=0;n2500&&(clearInterval(o),o=null)},1e3/60)),n}}(),stop:function(e){var t=null!=i[e];return t&&(i[e]=null),t},isRunning:function(e){return null!=i[e]},start:function(e,t,n,l,s,u){var c=r(),f=c,d=0,h=0,p=o++;if(u||(u=document.body),p%20==0){var m={};for(var y in i)m[y]=!0;i=m}var g=function(o){var m=!0!==o,y=r();if(!i[p]||t&&!t(p))return i[p]=null,void(n&&n(60-h/((y-c)/1e3),p,!1));if(m)for(var v=Math.round((y-f)/(1e3/60))-1,_=0;_1&&(d=1);var b=s?s(d):d;!1!==e(b,y,m)&&1!==d||!m?m&&(f=y,a.effect.Animate.requestAnimationFrame(g,u)):(i[p]=null,n&&n(60-h/((y-c)/1e3),p,1===d||null==l))};return i[p]=!0,a.effect.Animate.requestAnimationFrame(g,u),p}},e.exports=a},function(e,t,n){var r,i=n(29);!function(){var t=function(){};r=function(e,n){for(var r in this.__callback=e,this.options={scrollingX:!0,scrollingY:!0,animating:!0,animationDuration:250,bouncing:!0,locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:t,decelerationRate:.95,penetrationDeceleration:.03,penetrationAcceleration:.08},n)this.options[r]=n[r]};var n=function(e){return Math.pow(e-1,3)+1},o=function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},a={__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshDeactivate:null,__refreshStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,setDimensions:function(e,t,n,r){e===+e&&(this.__clientWidth=e),t===+t&&(this.__clientHeight=t),n===+n&&(this.__contentWidth=n),r===+r&&(this.__contentHeight=r),this.__computeScrollMax(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0)},setPosition:function(e,t){this.__clientLeft=e||0,this.__clientTop=t||0},setSnapSize:function(e,t){this.__snapWidth=e,this.__snapHeight=t},activatePullToRefresh:function(e,t,n,r){this.__refreshHeight=e,this.__refreshActivate=t,this.__refreshDeactivate=n,this.__refreshStart=r},triggerPullToRefresh:function(){this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()},finishPullToRefresh:function(){this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0)},getValues:function(){return{left:this.__scrollLeft,top:this.__scrollTop,zoom:this.__zoomLevel}},getScrollMax:function(){return{left:this.__maxScrollLeft,top:this.__maxScrollTop}},zoomTo:function(e,t,n,r,o){if(!this.options.zooming)throw new Error("Zooming is not enabled!");o&&(this.__zoomComplete=o),this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1);var a=this.__zoomLevel;null==n&&(n=this.__clientWidth/2),null==r&&(r=this.__clientHeight/2),e=Math.max(Math.min(e,this.options.maxZoom),this.options.minZoom),this.__computeScrollMax(e);var l=(n+this.__scrollLeft)*e/a-n,s=(r+this.__scrollTop)*e/a-r;l>this.__maxScrollLeft?l=this.__maxScrollLeft:l<0&&(l=0),s>this.__maxScrollTop?s=this.__maxScrollTop:s<0&&(s=0),this.__publish(l,s,e,t)},zoomBy:function(e,t,n,r,i){this.zoomTo(this.__zoomLevel*e,t,n,r,i)},scrollTo:function(e,t,n,r){if(this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1),null!=r&&r!==this.__zoomLevel){if(!this.options.zooming)throw new Error("Zooming is not enabled!");e*=r,t*=r,this.__computeScrollMax(r)}else r=this.__zoomLevel;this.options.scrollingX?this.options.paging?e=Math.round(e/this.__clientWidth)*this.__clientWidth:this.options.snapping&&(e=Math.round(e/this.__snapWidth)*this.__snapWidth):e=this.__scrollLeft,this.options.scrollingY?this.options.paging?t=Math.round(t/this.__clientHeight)*this.__clientHeight:this.options.snapping&&(t=Math.round(t/this.__snapHeight)*this.__snapHeight):t=this.__scrollTop,e=Math.max(Math.min(this.__maxScrollLeft,e),0),t=Math.max(Math.min(this.__maxScrollTop,t),0),e===this.__scrollLeft&&t===this.__scrollTop&&(n=!1),this.__publish(e,t,r,n)},scrollBy:function(e,t,n){var r=this.__isAnimating?this.__scheduledLeft:this.__scrollLeft,i=this.__isAnimating?this.__scheduledTop:this.__scrollTop;this.scrollTo(r+(e||0),i+(t||0),n)},doMouseZoom:function(e,t,n,r){var i=e>0?.97:1.03;return this.zoomTo(this.__zoomLevel*i,!1,n-this.__clientLeft,r-this.__clientTop)},doTouchStart:function(e,t){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);var n,r;this.__interruptedAnimation=!0,this.__isDecelerating&&(i.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1,this.__interruptedAnimation=!0),this.__isAnimating&&(i.effect.Animate.stop(this.__isAnimating),this.__isAnimating=!1,this.__interruptedAnimation=!0);var o=1===e.length;o?(n=e[0].pageX,r=e[0].pageY):(n=Math.abs(e[0].pageX+e[1].pageX)/2,r=Math.abs(e[0].pageY+e[1].pageY)/2),this.__initialTouchLeft=n,this.__initialTouchTop=r,this.__zoomLevelStart=this.__zoomLevel,this.__lastTouchLeft=n,this.__lastTouchTop=r,this.__lastTouchMove=t,this.__lastScale=1,this.__enableScrollX=!o&&this.options.scrollingX,this.__enableScrollY=!o&&this.options.scrollingY,this.__isTracking=!0,this.__didDecelerationComplete=!1,this.__isDragging=!o,this.__isSingleTouch=o,this.__positions=[]},doTouchMove:function(e,t,n){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);if(this.__isTracking){var r,i;2===e.length?(r=Math.abs(e[0].pageX+e[1].pageX)/2,i=Math.abs(e[0].pageY+e[1].pageY)/2):(r=e[0].pageX,i=e[0].pageY);var o=this.__positions;if(this.__isDragging){var a=r-this.__lastTouchLeft,l=i-this.__lastTouchTop,s=this.__scrollLeft,u=this.__scrollTop,c=this.__zoomLevel;if(null!=n&&this.options.zooming){var f=c;if(c=c/this.__lastScale*n,f!==(c=Math.max(Math.min(c,this.options.maxZoom),this.options.minZoom))){var d=r-this.__clientLeft,h=i-this.__clientTop;s=(d+s)*c/f-d,u=(h+u)*c/f-h,this.__computeScrollMax(c)}}if(this.__enableScrollX){s-=a*this.options.speedMultiplier;var p=this.__maxScrollLeft;(s>p||s<0)&&(this.options.bouncing?s+=a/2*this.options.speedMultiplier:s=s>p?p:0)}if(this.__enableScrollY){u-=l*this.options.speedMultiplier;var m=this.__maxScrollTop;(u>m||u<0)&&(this.options.bouncing?(u+=l/2*this.options.speedMultiplier,this.__enableScrollX||null==this.__refreshHeight||(!this.__refreshActive&&u<=-this.__refreshHeight?(this.__refreshActive=!0,this.__refreshActivate&&this.__refreshActivate()):this.__refreshActive&&u>-this.__refreshHeight&&(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()))):u=u>m?m:0)}o.length>60&&o.splice(0,30),o.push(s,u,t),this.__publish(s,u,c)}else{var y=this.options.locking?3:0,g=Math.abs(r-this.__initialTouchLeft),v=Math.abs(i-this.__initialTouchTop);this.__enableScrollX=this.options.scrollingX&&g>=y,this.__enableScrollY=this.options.scrollingY&&v>=y,o.push(this.__scrollLeft,this.__scrollTop,t),this.__isDragging=(this.__enableScrollX||this.__enableScrollY)&&(g>=5||v>=5),this.__isDragging&&(this.__interruptedAnimation=!1)}this.__lastTouchLeft=r,this.__lastTouchTop=i,this.__lastTouchMove=t,this.__lastScale=n}},doTouchEnd:function(e){if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(this.__isTracking){if(this.__isTracking=!1,this.__isDragging)if(this.__isDragging=!1,this.__isSingleTouch&&this.options.animating&&e-this.__lastTouchMove<=100){for(var t=this.__positions,n=t.length-1,r=n,i=n;i>0&&t[i]>this.__lastTouchMove-100;i-=3)r=i;if(r===n&&t.length>5&&(r=2),r!==n){var o=t[n]-t[r],a=this.__scrollLeft-t[r-2],l=this.__scrollTop-t[r-1];this.__decelerationVelocityX=a/o*(1e3/60),this.__decelerationVelocityY=l/o*(1e3/60);var s=this.options.paging||this.options.snapping?4:1;(Math.abs(this.__decelerationVelocityX)>s||Math.abs(this.__decelerationVelocityY)>s)&&(this.__refreshActive||this.__startDeceleration(e))}else this.options.scrollingComplete()}else e-this.__lastTouchMove>100&&this.options.scrollingComplete();this.__isDecelerating||(this.__refreshActive&&this.__refreshStart?(this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()):((this.__interruptedAnimation||this.__isDragging)&&this.options.scrollingComplete(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0,this.__zoomLevel),this.__refreshActive&&(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()))),this.__positions.length=0}},__publish:function(e,t,r,a){var l=this,s=l.__isAnimating;if(s&&(i.effect.Animate.stop(s),l.__isAnimating=!1),a&&l.options.animating){l.__scheduledLeft=e,l.__scheduledTop=t,l.__scheduledZoom=r;var u=l.__scrollLeft,c=l.__scrollTop,f=l.__zoomLevel,d=e-u,h=t-c,p=r-f;l.__isAnimating=i.effect.Animate.start(function(e,t,n){n&&(l.__scrollLeft=u+d*e,l.__scrollTop=c+h*e,l.__zoomLevel=f+p*e,l.__callback&&l.__callback(l.__scrollLeft,l.__scrollTop,l.__zoomLevel))},function(e){return l.__isAnimating===e},function(e,t,n){t===l.__isAnimating&&(l.__isAnimating=!1),(l.__didDecelerationComplete||n)&&l.options.scrollingComplete(),l.options.zooming&&(l.__computeScrollMax(),l.__zoomComplete&&(l.__zoomComplete(),l.__zoomComplete=null))},l.options.animationDuration,s?n:o)}else l.__scheduledLeft=l.__scrollLeft=e,l.__scheduledTop=l.__scrollTop=t,l.__scheduledZoom=l.__zoomLevel=r,l.__callback&&l.__callback(e,t,r),l.options.zooming&&(l.__computeScrollMax(),l.__zoomComplete&&(l.__zoomComplete(),l.__zoomComplete=null))},__computeScrollMax:function(e){null==e&&(e=this.__zoomLevel),this.__maxScrollLeft=Math.max(this.__contentWidth*e-this.__clientWidth,0),this.__maxScrollTop=Math.max(this.__contentHeight*e-this.__clientHeight,0)},__startDeceleration:function(e){var t=this;if(t.options.paging){var n=Math.max(Math.min(t.__scrollLeft,t.__maxScrollLeft),0),r=Math.max(Math.min(t.__scrollTop,t.__maxScrollTop),0),o=t.__clientWidth,a=t.__clientHeight;t.__minDecelerationScrollLeft=Math.floor(n/o)*o,t.__minDecelerationScrollTop=Math.floor(r/a)*a,t.__maxDecelerationScrollLeft=Math.ceil(n/o)*o,t.__maxDecelerationScrollTop=Math.ceil(r/a)*a}else t.__minDecelerationScrollLeft=0,t.__minDecelerationScrollTop=0,t.__maxDecelerationScrollLeft=t.__maxScrollLeft,t.__maxDecelerationScrollTop=t.__maxScrollTop;var l=t.options.snapping?4:.1;t.__isDecelerating=i.effect.Animate.start(function(e,n,r){t.__stepThroughDeceleration(r)},function(){var e=Math.abs(t.__decelerationVelocityX)>=l||Math.abs(t.__decelerationVelocityY)>=l;return e||(t.__didDecelerationComplete=!0),e},function(e,n,r){t.__isDecelerating=!1,t.__didDecelerationComplete&&t.options.scrollingComplete(),t.scrollTo(t.__scrollLeft,t.__scrollTop,t.options.snapping)})},__stepThroughDeceleration:function(e){var t=this.__scrollLeft+this.__decelerationVelocityX,n=this.__scrollTop+this.__decelerationVelocityY;if(!this.options.bouncing){var r=Math.max(Math.min(this.__maxDecelerationScrollLeft,t),this.__minDecelerationScrollLeft);r!==t&&(t=r,this.__decelerationVelocityX=0);var i=Math.max(Math.min(this.__maxDecelerationScrollTop,n),this.__minDecelerationScrollTop);i!==n&&(n=i,this.__decelerationVelocityY=0)}if(e?this.__publish(t,n,this.__zoomLevel):(this.__scrollLeft=t,this.__scrollTop=n),!this.options.paging){var o=this.options.decelerationRate;this.__decelerationVelocityX*=o,this.__decelerationVelocityY*=o}if(this.options.bouncing){var a=0,l=0,s=this.options.penetrationDeceleration,u=this.options.penetrationAcceleration;tthis.__maxDecelerationScrollLeft&&(a=this.__maxDecelerationScrollLeft-t),nthis.__maxDecelerationScrollTop&&(l=this.__maxDecelerationScrollTop-n),0!==a&&(a*this.__decelerationVelocityX<=0?this.__decelerationVelocityX+=a*s:this.__decelerationVelocityX=a*u),0!==l&&(l*this.__decelerationVelocityY<=0?this.__decelerationVelocityY+=l*s:this.__decelerationVelocityY=l*u)}}};for(var l in a)r.prototype[l]=a[l];e.exports=r}()},function(e,t,n){e.exports=n(30)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=n.props.style.height||o<=-n.props.style.height||e.push(a);return e},n.updateScrollingDeceleration=function(){for(var e=n.scroller.__decelerationVelocityY,t=0,r=n.state.scrollTop;Math.abs(e).toFixed(6)>0;)r+=e,e*=n.props.scrollingDeceleration;for(var i=1/0,o=n.props.itemHeightGetter(),a=void 0,l=0,s=n.props.numberOfItemsGetter();l100&&(this._itemCache.clear(),this._groupCache.clear());var e=this.getVisibleItemIndexes().map(this.renderItem);return o.default.createElement(u,{style:this.props.style,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseOut:this.handleMouseOut,onMouseMove:this.handleMouseMove,onTouchCancel:this.handleTouchEnd},e)}}]),t}();c.propTypes={style:a.default.object,numberOfItemsGetter:a.default.func.isRequired,itemHeightGetter:a.default.func.isRequired,itemGetter:a.default.func.isRequired,snapping:a.default.bool,scrollingDeceleration:a.default.number,scrollingPenetrationAcceleration:a.default.number,onScroll:a.default.func},c.defaultProps={style:{left:0,top:0,width:0,height:0},snapping:!1,scrollingDeceleration:.95,scrollingPenetrationAcceleration:.08},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linear=function(e){return e},t.easeInQuad=function(e){return Math.pow(e,2)},t.easeOutQuad=function(e){return e*(2-e)},t.easeInOutQuad=function(e){return e<.5?2*e*e:(4-2*e)*e-1},t.easeInCubic=function(e){return e*e*e},t.easeOutCubic=function(e){return--e*e*e+1},t.easeInOutCubic=function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}},function(e,t,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){var t=function(){var e,t="inherit",n="ltr",r="rtl",i="row",o="row-reverse",a="column",l="column-reverse",s="flex-start",u="center",c="flex-end",f="space-between",d="space-around",h="flex-start",p="center",m="flex-end",y="stretch",g="relative",v="absolute",_={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},b={row:"right","row-reverse":"left",column:"bottom","column-reverse":"top"},x={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},w={row:"width","row-reverse":"width",column:"height","column-reverse":"height"};function T(e){return void 0===e}function S(e){return e===i||e===o}function C(e,t){if(void 0!==e.style.marginStart&&S(t))return e.style.marginStart;var n=null;switch(t){case"row":n=e.style.marginLeft;break;case"row-reverse":n=e.style.marginRight;break;case"column":n=e.style.marginTop;break;case"column-reverse":n=e.style.marginBottom}return void 0!==n?n:void 0!==e.style.margin?e.style.margin:0}function k(e,t){if(void 0!==e.style.marginEnd&&S(t))return e.style.marginEnd;var n=null;switch(t){case"row":n=e.style.marginRight;break;case"row-reverse":n=e.style.marginLeft;break;case"column":n=e.style.marginBottom;break;case"column-reverse":n=e.style.marginTop}return null!=n?n:void 0!==e.style.margin?e.style.margin:0}function L(e,t){if(void 0!==e.style.borderStartWidth&&e.style.borderStartWidth>=0&&S(t))return e.style.borderStartWidth;var n=null;switch(t){case"row":n=e.style.borderLeftWidth;break;case"row-reverse":n=e.style.borderRightWidth;break;case"column":n=e.style.borderTopWidth;break;case"column-reverse":n=e.style.borderBottomWidth}return null!=n&&n>=0?n:void 0!==e.style.borderWidth&&e.style.borderWidth>=0?e.style.borderWidth:0}function M(e,t){if(void 0!==e.style.borderEndWidth&&e.style.borderEndWidth>=0&&S(t))return e.style.borderEndWidth;var n=null;switch(t){case"row":n=e.style.borderRightWidth;break;case"row-reverse":n=e.style.borderLeftWidth;break;case"column":n=e.style.borderBottomWidth;break;case"column-reverse":n=e.style.borderTopWidth}return null!=n&&n>=0?n:void 0!==e.style.borderWidth&&e.style.borderWidth>=0?e.style.borderWidth:0}function P(e,t){return function(e,t){if(void 0!==e.style.paddingStart&&e.style.paddingStart>=0&&S(t))return e.style.paddingStart;var n=null;switch(t){case"row":n=e.style.paddingLeft;break;case"row-reverse":n=e.style.paddingRight;break;case"column":n=e.style.paddingTop;break;case"column-reverse":n=e.style.paddingBottom}return null!=n&&n>=0?n:void 0!==e.style.padding&&e.style.padding>=0?e.style.padding:0}(e,t)+L(e,t)}function E(e,t){return function(e,t){if(void 0!==e.style.paddingEnd&&e.style.paddingEnd>=0&&S(t))return e.style.paddingEnd;var n=null;switch(t){case"row":n=e.style.paddingRight;break;case"row-reverse":n=e.style.paddingLeft;break;case"column":n=e.style.paddingBottom;break;case"column-reverse":n=e.style.paddingTop}return null!=n&&n>=0?n:void 0!==e.style.padding&&e.style.padding>=0?e.style.padding:0}(e,t)+M(e,t)}function O(e,t){return L(e,t)+M(e,t)}function I(e,t){return C(e,t)+k(e,t)}function R(e,t){return P(e,t)+E(e,t)}function A(e,t){return t.style.alignSelf?t.style.alignSelf:e.style.alignItems?e.style.alignItems:"stretch"}function D(e,t){if(t===r){if(e===i)return o;if(e===o)return i}return e}function z(e,t){return function(e){return e===a||e===l}(e)?D(i,t):a}function j(e){return e.style.position?e.style.position:"relative"}function N(e){return j(e)===g&&e.style.flex>0}function F(e,t){return e.layout[w[t]]+I(e,t)}function U(e,t){return void 0!==e.style[w[t]]&&e.style[w[t]]>=0}function W(e,t){return void 0!==e.style[t]}function H(e,t){return void 0!==e.style[t]?e.style[t]:0}function V(e,t,n){var r={row:e.style.minWidth,"row-reverse":e.style.minWidth,column:e.style.minHeight,"column-reverse":e.style.minHeight}[t],i={row:e.style.maxWidth,"row-reverse":e.style.maxWidth,column:e.style.maxHeight,"column-reverse":e.style.maxHeight}[t],o=n;return void 0!==i&&i>=0&&o>i&&(o=i),void 0!==r&&r>=0&&ot?e:t}function q(e,t){void 0===e.layout[w[t]]&&U(e,t)&&(e.layout[w[t]]=B(V(e,t,e.style[w[t]]),R(e,t)))}function X(e,t,n){t.layout[b[n]]=e.layout[w[n]]-t.layout[w[n]]-t.layout[x[n]]}function Y(e,t){return void 0!==e.style[_[t]]?H(e,_[t]):-H(e,b[t])}function Q(r,M,Q){var Z=function(e,r){var i;return(i=e.style.direction?e.style.direction:t)===t&&(i=void 0===r?n:r),i}(r,Q),K=D(function(e){return e.style.flexDirection?e.style.flexDirection:a}(r),Z),J=z(K,Z),$=D(i,Z);q(r,K),q(r,J),r.layout.direction=Z,r.layout[_[K]]+=C(r,K)+Y(r,K),r.layout[b[K]]+=k(r,K)+Y(r,K),r.layout[_[J]]+=C(r,J)+Y(r,J),r.layout[b[J]]+=k(r,J)+Y(r,J);var ee=r.children.length,te=R(r,$);if(function(e){return void 0!==e.style.measure}(r)){var ne=!T(r.layout[w[$]]),re=e;re=U(r,$)?r.style.width:ne?r.layout[w[$]]:M-I(r,$),re-=te;var ie=!U(r,$)&&!ne,oe=!U(r,a)&&T(r.layout[w[a]]);if(ie||oe){var ae=r.style.measure(re);ie&&(r.layout.width=ae.width+te),oe&&(r.layout.height=ae.height+R(r,a))}if(0===ee)return}var le,se,ue,ce,fe=function(e){return"wrap"===e.style.flexWrap}(r),de=function(e){return e.style.justifyContent?e.style.justifyContent:"flex-start"}(r),he=P(r,K),pe=P(r,J),me=R(r,K),ye=R(r,J),ge=!T(r.layout[w[K]]),ve=!T(r.layout[w[J]]),_e=S(K),be=null,xe=null,we=e;ge&&(we=r.layout[w[K]]-me);for(var Te=0,Se=0,Ce=0,ke=0,Le=0,Me=0;Sewe&&le!==Te){Re--,Ce=1;break}Ae&&(j(ue)!==g||N(ue))&&(Ae=!1,De=le),ze&&(j(ue)!==g||He!==y&&He!==h||T(ue.layout[w[J]]))&&(ze=!1,je=le),Ae&&(ue.layout[x[K]]+=Ue,ge&&X(r,ue,K),Ue+=F(ue,K),We=B(We,V(ue,J,F(ue,J)))),ze&&(ue.layout[x[J]]+=ke+pe,ve&&X(r,ue,J)),Ce=0,Ee+=Ve,Se=le+1}var Be=0,qe=0,Xe=0;if(Xe=ge?we-Ee:B(Ee,0)-Ee,0!==Oe){var Ye,Qe,Ge=Xe/Ie;for(Fe=Ne;null!==Fe;)Ye=Ge*Fe.style.flex+R(Fe,K),Qe=V(Fe,K,Ye),Ye!==Qe&&(Xe-=Qe,Ie-=Fe.style.flex),Fe=Fe.nextFlexChild;for((Ge=Xe/Ie)<0&&(Ge=0),Fe=Ne;null!==Fe;)Fe.layout[w[K]]=V(Fe,K,Ge*Fe.style.flex+R(Fe,K)),Pe=e,U(r,$)?Pe=r.layout[w[$]]-te:_e||(Pe=M-I(r,$)-te),G(Fe,Pe,Z),ue=Fe,Fe=Fe.nextFlexChild,ue.nextFlexChild=null}else de!==s&&(de===u?Be=Xe/2:de===c?Be=Xe:de===f?(Xe=B(Xe,0),qe=Oe+Re-1!=0?Xe/(Oe+Re-1):0):de===d&&(Be=(qe=Xe/(Oe+Re))/2));for(Ue+=Be,le=De;le1&&ve){var $e=r.layout[w[J]]-ye,et=$e-ke,tt=0,nt=pe,rt=function(e){return e.style.alignContent?e.style.alignContent:"flex-start"}(r);rt===m?nt+=et:rt===p?nt+=et/2:rt===y&&$e>ke&&(tt=et/Me);var it=0;for(le=0;le0&&t.children.forEach(function(n){e(n,t.layer.frame.x,t.layer.frame.y)})}(t),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=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}(n(6));function o(e,t){return(t.zIndex||0)-(e.zIndex||0)}function a(e){var t=void 0;for(var n in i)if(i[n]===e){t=n;break}return t}function l(e,t,n){var i=e.touches?e.touches[0]:e,l=i.pageX,s=i.pageY,u=void 0;return n&&(l-=(u=n.getBoundingClientRect()).left,s-=u.top),s-=window.pageYOffset,l-=window.pageXOffset,function e(t,n,i,l,s){var u=null,c=a(n),f=void 0,d=(0,r.clone)(t.frame);if("number"==typeof t.alpha&&t.alpha<.01)return null;if(t.children)for(var h=0,p=(f=t.children.slice().reverse().sort(o)).length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var s=e.length;a="="===e.charAt(s-2)?2:"="===e.charAt(s-1)?1:0,l=new t(3*e.length/4-a),i=a>0?e.length-4:e.length;var u=0;function f(e){l[u++]=e}for(n=0,r=0;n>16),f((65280&o)>>8),f(255&o);return 2===a?f(255&(o=c(e.charAt(n))<<2|c(e.charAt(n+1))>>4)):1===a&&(f((o=c(e.charAt(n))<<10|c(e.charAt(n+1))<<4|c(e.charAt(n+2))>>2)>>8&255),f(255&o)),l},e.fromByteArray=function(e){var t,n,i,o,a=e.length%3,l="";function s(e){return r.charAt(e)}for(t=0,i=e.length-a;t>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(a){case 1:l+=s((n=e[e.length-1])>>2),l+=s(n<<4&63),l+="==";break;case 2:l+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10),l+=s(n>>4&63),l+=s(n<<2&63),l+="="}return l}}(t)},function(e,t){var n=0,r=-3;function i(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}var o=new i,a=new i,l=new Uint8Array(30),s=new Uint16Array(30),u=new Uint8Array(30),c=new Uint16Array(30),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new i,h=new Uint8Array(320);function p(e,t,n,r){var i,o;for(i=0;i>>=1,t}function v(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<>>16-t;return e.tag>>>=t,e.bitcount-=t,r+n}function _(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<>>=1,++i,n+=t.table[i],r-=t.table[i]}while(r>=0);return e.tag=o,e.bitcount-=i,t.trans[n+r]}function b(e,t,n){var r,i,o,a,l,s;for(r=v(e,5,257),i=v(e,5,1),o=v(e,4,4),a=0;a<19;++a)h[a]=0;for(a=0;a8;)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(256*e.source[e.sourceIndex+3]+e.source[e.sourceIndex+2])))return r;for(e.sourceIndex+=4,i=t;i;--i)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,n}!function(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}(o,a),p(l,s,4,3),p(u,c,2,1),l[28]=0,s[28]=258,e.exports=function(e,t){var l,s,u=new function(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new i,this.dtree=new i}(e,t);do{switch(l=g(u),v(u,2,0)){case 0:s=w(u);break;case 1:s=x(u,o,a);break;case 2:b(u,u.ltree,u.dtree),s=x(u,u.ltree,u.dtree);break;default:s=r}if(s!==n)throw new Error("Data error")}while(!l);return u.destLen1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>5]<<2)+(31&e),this.data[t]):e<=65535?(t=(this.data[2048+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22Haj1DDA474EesoMP5nbspAPJLWJ8rYcP1DwCslhnn+gTFm+sS9wY+U6SogAa9tiwpoxuaFeqm2OK+uozR6SfiLCOPz36LiDlzXr6UWd7BpY6mlrNANkTOeme5EgnnAkQRTGo9T6iYxbUKfGJcI9B+ub2PcyUOgpwXbOf3bHFWtygD7FYbRhb+vkzi87dB0JeXl/vBpBUz93VtqZi7AL7C1VowTF+tGmyurw7DBcktc+UMY0E10Jw4URojf8NdaNpN6E1q4+Oz+4YePtMLy8FPRP"),o=new i(a),r=function(){function e(e){this.string=e,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null}var t,n,r;return e.prototype.nextCodePoint=function(){var e,t;return e=this.string.charCodeAt(this.pos++),t=this.string.charCodeAt(this.pos),55296<=e&&56319>=e&&56320<=t&&57343>=t?(this.pos++,1024*(e-55296)+(t-56320)+65536):e},n=function(e){return e===f?s:e===v||e===_||e===x?s:e===p?l:e},r=function(e){return e===y||e===g?d:e===h?u:e===b?c:e},e.prototype.nextCharClass=function(e){return null==e&&(e=!1),n(o.get(this.nextCodePoint()))},t=function(e,t){this.position=e,this.required=null!=t&&t},e.prototype.nextBreak=function(){var e,i,o;for(null==this.curClass&&(this.curClass=r(this.nextCharClass()));this.pos=this.string.length)return this.lastPosa&&(f=f.replace(/,?\s?\w+$/,"…")),c<=a+r&&e.fillText(f,u,c)}),e.restore()},t.drawGradient=function(e,t,n,r,i,o,a,l,s,u){e.save();var c=e.createLinearGradient(t,n,r,i);o.forEach(function(e){c.addColorStop(e.position,e.color)}),e.fillStyle=c,e.fillRect(a,l,s,u),e.restore()}},function(e,t,n){var r;e.exports=function e(t,n,i){function o(l,s){if(!n[l]){if(!t[l]){var u="function"==typeof r&&r;if(!s&&u)return r(l,!0);if(a)return a(l,!0);var c=new Error("Cannot find module '"+l+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[l]={exports:{}};t[l][0].call(f.exports,function(e){var n=t[l][1][e];return o(n||e)},f,f.exports,e,t,n,i)}return n[l].exports}for(var a="function"==typeof r&&r,l=0;l=0?(this.lastItem=this.list[t],this.list[t].val):void 0},r.prototype.set=function(e,t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=t,this):(n=this.indexOf(e))>=0?(this.lastItem=this.list[n],this.list[n].val=t,this):(this.lastItem={key:e,val:t},this.list.push(this.lastItem),this.size++,this)},r.prototype.delete=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),(t=this.indexOf(e))>=0)return this.size--,this.list.splice(t,1)[0]},r.prototype.has=function(e){var t;return!(!this.lastItem||!this.isEqual(this.lastItem.key,e))||(t=this.indexOf(e))>=0&&(this.lastItem=this.list[t],!0)},r.prototype.forEach=function(e,t){var n;for(n=0;n0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},n.prototype.removeListener=function(e,t){var n,o,a,l;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(l=a;l-- >0;)if(n[l]===t||n[l].listener&&n[l].listener===t){o=l;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(17),i=n(4),o=n(45);e.exports=function(){function e(e,t,n,r,a,l){l!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict"; +/** @license React v16.3.2 + * react.production.min.js + * + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(18),i=n(4),o=n(2),a=n(17),l="function"==typeof Symbol&&Symbol.for,s=l?Symbol.for("react.element"):60103,u=l?Symbol.for("react.portal"):60106,c=l?Symbol.for("react.fragment"):60107,f=l?Symbol.for("react.strict_mode"):60108,d=l?Symbol.for("react.provider"):60109,h=l?Symbol.for("react.context"):60110,p=l?Symbol.for("react.async_mode"):60111,m=l?Symbol.for("react.forward_ref"):60112,y="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="http://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rP.length&&P.push(e)}function I(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var o=!1;if(null===e)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case s:case u:o=!0}}if(o)return n(r,e,""===t?"."+R(e,0):t),1;if(o=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;ad))return;n._lastMouseDownTimestamp=null,n._lastMouseDownPosition=null,n._draggedSinceMouseDown=!1}else"mousemove"===e.type&&!n._draggedSinceMouseDown&&n._lastMouseDownPosition&&(n._draggedSinceMouseDown=e.pageX!==n._lastMouseDownPosition[0]||e.pageY!==n._lastMouseDownPosition[1]);var t=(0,u.default)(e,n.node,n.canvas);if("mouseout"===e.type?t=n._lastHitTarget:n._lastHitTarget=t,t){var r=t[u.default.getHitHandle(e.type)];r&&r(e)}},n.handleContextMenu=function(e){n.hitTest(e)},e.canvas&&n.setCanvasRef(e.canvas),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),r(t,[{key:"render",value:function(){if(this.props.canvas)return null;var e=this.props.width*this.props.scale,t=this.props.height*this.props.scale,n={};return this.props.style&&(n=Object.assign({},this.props.style)),void 0!==this.props.width&&(n.width=this.props.width),void 0!==this.props.height&&(n.height=this.props.height),i.default.createElement("canvas",{ref:this.setCanvasRef,className:this.props.className,id:this.props.id,width:e,height:t,style:n,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onTouchCancel:this.handleTouchEnd,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onMouseMove:this.handleMouseEvent,onMouseOver:this.handleMouseEvent,onMouseOut:this.handleMouseEvent,onContextMenu:this.handleContextMenu,onClick:this.handleMouseEvent,onDoubleClick:this.handleMouseEvent})}}]),t}();h.propTypes={className:o.default.string,id:o.default.string,top:o.default.number.isRequired,left:o.default.number.isRequired,width:o.default.number.isRequired,height:o.default.number.isRequired,scale:o.default.number.isRequired,enableCSSLayout:o.default.bool,children:o.default.object,style:o.default.object,canvas:o.default.object},h.defaultProps={scale:window.devicePixelRatio||1},h.canvasRenderer=null,t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t