avg-core
Version:
Develop Adventure Game (or ADV, Visual Novel, Galgame, etc.) on your own!
6 lines • 626 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("PIXI")):"function"==typeof define&&define.amd?define(["PIXI"],e):"object"==typeof exports?exports.AVG=e(require("PIXI")):t.AVG=e(t.PIXI)}(this,function(__WEBPACK_EXTERNAL_MODULE_19__){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=619)}([function(t,e,n){var r=n(3),i=n(41),o=n(23),u=n(24),a=n(42),s=function(t,e,n){var c,l,p,f,h=t&s.F,d=t&s.G,v=t&s.S,m=t&s.P,y=t&s.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,_=d?i:i[e]||(i[e]={}),D=_.prototype||(_.prototype={});d&&(n=e);for(c in n)l=!h&&g&&void 0!==g[c],p=(l?g:n)[c],f=y&&l?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,g&&u(g,c,p,t&s.U),_[c]!=p&&o(_,c,f),m&&D[c]!=p&&(D[c]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r,o,u,a,s){if(i(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,u,a,s],p=0;c=new Error(e.replace(/%s/g,function(){return l[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(t){};t.exports=r},function(t,e,n){var r=n(8);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var r=n(34),i=r;t.exports=i},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(n);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},function(t,e,n){"use strict";for(var r=n(159),i={},o=0;o<128;o++)i[o]=String.fromCharCode(o);i["'".charCodeAt(0)]="\\'",i['"'.charCodeAt(0)]='\\"',i["\\".charCodeAt(0)]="\\\\",i["\b".charCodeAt(0)]="\\b",i["\f".charCodeAt(0)]="\\f",i["\n".charCodeAt(0)]="\\n",i["\r".charCodeAt(0)]="\\r",i["\t".charCodeAt(0)]="\\t",i["\v".charCodeAt(0)]="\\v",e.abstract=function(t){var e=t||"";return function(){throw new Error("this method "+e+" is abstract! (it has no implementation in class "+this.constructor.name+")")}},e.assert=function(t,e){if(!t)throw new Error(e)},e.defineLazyProperty=function(t,e,n){var r;Object.defineProperty(t,e,{get:function(){return r||(r=n.call(this)),r}})},e.clone=function(t){return t?r({},t):t},e.extend=r,e.repeatFn=function(t,e){for(var n=[];e-- >0;)n.push(t());return n},e.repeatStr=function(t,e){return new Array(e+1).join(t)},e.repeat=function(t,n){return e.repeatFn(function(){return t},n)},e.getDuplicates=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];t.lastIndexOf(r)!==n&&e.indexOf(r)<0&&e.push(r)}return e},e.copyWithoutDuplicates=function(t){var e=[];return t.forEach(function(t){e.indexOf(t)<0&&e.push(t)}),e},e.isSyntactic=function(t){var e=t[0];return e===e.toUpperCase()},e.isLexical=function(t){return!e.isSyntactic(t)},e.padLeft=function(t,n,r){var i=r||" ";return t.length<n?e.repeatStr(i,n-t.length)+t:t},e.StringBuffer=function(){this.strings=[]},e.StringBuffer.prototype.append=function(t){this.strings.push(t)},e.StringBuffer.prototype.contents=function(){return this.strings.join("")},e.escapeChar=function(t,n){var r=t.charCodeAt(0);return'"'!==t&&"'"!==t||!n||t===n?r<128?i[r]:128<=r&&r<256?"\\x"+e.padLeft(r.toString(16),2,"0"):"\\u"+e.padLeft(r.toString(16),4,"0"):t},e.unescapeChar=function(t){if("\\"!==t.charAt(0))return t;switch(t.charAt(1)){case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case"v":return"\v";case"x":return String.fromCharCode(parseInt(t.substring(2,4),16));case"u":return String.fromCharCode(parseInt(t.substring(2,6),16));default:return t.charAt(1)}},e.unexpectedObjToString=function(t){if(null==t)return String(t);var e=Object.prototype.toString.call(t);try{return(t.constructor&&t.constructor.name?t.constructor.name:0===e.indexOf("[object ")?e.slice(8,-1):typeof t)+": "+JSON.stringify(String(t))}catch(t){return e}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(95)("wks"),i=n(60),o=n(3).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,e,n){"use strict";function r(){throw new Error("PExpr cannot be instantiated -- it's abstract")}function i(t){this.obj=t}function o(t,e){this.from=t,this.to=e}function u(t){this.index=t}function a(t){this.terms=t}function s(t,e,n){this.superGrammar=t,this.name=e,this.body=n;var r=t.rules[e].body;this.terms=[n,r]}function c(t){this.factors=t}function l(t){this.expr=t}function p(t){this.expr=t}function f(t){this.expr=t}function h(t){this.expr=t}function d(t){this.expr=t}function v(t){this.expr=t}function m(t){this.expr=t}function y(t){this.expr=t}function g(t){this.expr=t}function _(t,e){var n=t.map(function(t){return t.name}),r=C.getDuplicates(n);if(r.length>0)throw E.duplicatePropertyNames(r);this.properties=t,this.isLenient=e}function D(t,e){this.ruleName=t,this.args=e||[]}function b(t){this.category=t,this.pattern=A[t]}var A=n(531),C=n(7),E=n(45),x=n(98);r.prototype.withSource=function(t){return t&&(this.source=t.trimmed()),this};var w=Object.create(r.prototype),F=Object.create(r.prototype);x(i,r),x(o,r),x(u,r),x(a,r),x(s,a),x(c,r),x(l,r),x(p,l),x(f,l),x(h,l),p.prototype.operator="*",f.prototype.operator="+",h.prototype.operator="?",p.prototype.minNumMatches=0,f.prototype.minNumMatches=1,h.prototype.minNumMatches=0,p.prototype.maxNumMatches=Number.POSITIVE_INFINITY,f.prototype.maxNumMatches=Number.POSITIVE_INFINITY,h.prototype.maxNumMatches=1,x(d,r),x(v,r),x(m,r),x(y,r),x(g,r),x(_,r),x(D,r),D.prototype.isSyntactic=function(){return C.isSyntactic(this.ruleName)},D.prototype.toMemoKey=function(){return this._memoKey||Object.defineProperty(this,"_memoKey",{value:this.toString()}),this._memoKey},x(b,r),e.PExpr=r,e.any=w,e.end=F,e.Terminal=i,e.Range=o,e.Param=u,e.Alt=a,e.Extend=s,e.Seq=c,e.Iter=l,e.Star=p,e.Plus=f,e.Opt=h,e.Not=d,e.Lookahead=v,e.Lex=m,e.Arr=y,e.Str=g,e.Obj=_,e.Apply=D,e.UnicodeChar=b,n(515),n(516),n(517),n(518),n(519),n(520),n(522),n(521),n(525),n(523),n(524),n(526),n(528),n(527),n(529),n(530)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(i,o){try{var u=e[i](o),a=u.value}catch(t){return void n(t)}if(!u.done)return Promise.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(245),s=r(a),c=n(500),l=r(c),p=n(542),f=n(246),h=r(f),d=n(164),v=n(272),m=r(v),y=n(271),g=r(y),_=n(75),D=r(_),b=n(260),A=n(261),C=r(A),E=n(19),x=n(503),w=D.default.create("Core"),F=function(){function t(){o(this,t),this._init=!1,this._tickTime=0,this.renderer=null,this.stage=null,this.canvas=null,this.options={},this.middlewares={},this.plugins={},this.assetsPath=null}return u(t,[{key:"use",value:function(t,e){var n=void 0;this.middlewares[t]?n=this.middlewares[t]:(n=[],this.middlewares[t]=n),n.push(e)}},{key:"unuse",value:function(t,e){var n=this.middlewares[t];if(n){var r=n.indexOf(e);-1!==r?n.splice(r,1):w.warn("Do not find the given middleware in "+t+".")}else w.warn("Do not find the given middleware in "+t+".")}},{key:"post",value:function(t,e,n){var r=this.middlewares[t];return r?(0,s.default)(r)(e||{},n):Promise.resolve()}},{key:"installPlugin",value:function(t){new t(this)}},{key:"init",value:function(){function t(t,n){return e.apply(this,arguments)}var e=i(regeneratorRuntime.mark(function t(e,n){var r,i,o,u=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._init){t.next=2;break}return t.abrupt("return");case 2:if(r=Object.assign({fitWindow:!1,assetsPath:"/",tryWebp:!1},a),!r.fontFamily){t.next=7;break}return i=new l.default(r.fontFamily),t.next=7,i.load();case 7:r.renderer?this.renderer=r.renderer:(x.any?(E.settings.RESOLUTION=1,E.settings.TARGET_FPMS=.03):E.settings.RESOLUTION=window.devicePixelRatio||1,this.renderer=new E.WebGLRenderer(e,n,{view:r.view,autoResize:!0,roundPixels:!0})),this.options=r,r.fitWindow&&(window.addEventListener("resize",function(){(0,g.default)(u.renderer,window.innerWidth,window.innerHeight)}),(0,g.default)(this.renderer,window.innerWidth,window.innerHeight)),o=r.assetsPath,o.endsWith("/")||(o+="/"),this.assetsPath=o,(0,b.init)(o,r.tryWebp),this.stage=new h.default,(0,d.attachToSprite)(this.stage),this.stage._ontap=function(t){return u.post("tap",t)},this.stage._onclick=function(t){return u.post("click",t)},this.ticker=new C.default,this.ticker.add(this.tick.bind(this)),(0,m.default)(),this._init=!0;case 22:case"end":return t.stop()}},t,this)}));return t}()},{key:"getRenderer",value:function(){return this._init?this.renderer:(w.error("Renderer hasn't been initialed."),null)}},{key:"getStage",value:function(){return this._init?this.stage:(w.error("Stage hasn't been initialed."),null)}},{key:"getAssetsPath",value:function(){return this.assetsPath}},{key:"getTexture",value:function(t){return(0,b.getTexture)(t)}},{key:"getLogger",value:function(t){return D.default.create(t)}},{key:"loadAssets",value:function(t,e){return(0,b.load)(t,e)}},{key:"render",value:function(){function t(t,n){return e.apply(this,arguments)}var e=i(regeneratorRuntime.mark(function t(e,n){var r=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._init){t.next=2;break}throw Error("not initialed");case 2:return t.abrupt("return",new Promise(function(t){(0,p.render)(e,n,t)}).then(function(){i&&n.appendChild(r.renderer.view)}));case 3:case"end":return t.stop()}},t,this)}));return t}()},{key:"getTicker",value:function(){return this.ticker}},{key:"tick",value:function(t){this._tickTime+=t,this._init&&this._tickTime>.98&&(this.renderer.render(this.stage),this._tickTime=0,window.stats&&window.stats.update())}},{key:"start",value:function(){this.ticker.start()}},{key:"stop",value:function(){this.ticker.stop()}}]),t}(),S=new F;e.default=S},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)o.call(n,l)&&(s[l]=n[l]);if(i){a=i(n);for(var p=0;p<a.length;p++)u.call(n,a[p])&&(s[a[p]]=n[a[p]])}}return s}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2),i=n(175),o=n(40),u=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t,e){return 1===t.nodeType&&t.getAttribute(d)===String(e)||8===t.nodeType&&t.nodeValue===" react-text: "+e+" "||8===t.nodeType&&t.nodeValue===" react-empty: "+e+" "}function i(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=i(t);n._hostNode=e,e[m]=n}function u(t){var e=t._hostNode;e&&(delete e[m],t._hostNode=null)}function a(t,e){if(!(t._flags&v.hasCachedChildNodes)){var n=t._renderedChildren,u=e.firstChild;t:for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],c=i(s)._domID;if(0!==c){for(;null!==u;u=u.nextSibling)if(r(u,c)){o(s,u);continue t}p("32",c)}}t._flags|=v.hasCachedChildNodes}}function s(t){if(t[m])return t[m];for(var e=[];!t[m];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[m]);t=e.pop())n=r,e.length&&a(r,t);return n}function c(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode&&p("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||p("34"),t=t._hostParent;for(;e.length;t=e.pop())a(t,t._hostNode);return t._hostNode}var p=n(6),f=n(69),h=n(207),d=(n(1),f.ID_ATTRIBUTE_NAME),v=h,m="__reactInternalInstance$"+Math.random().toString(36).slice(2),y={getClosestInstanceFromNode:s,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:a,precacheNode:o,uncacheNode:u};t.exports=y},function(t,e,n){var r=n(50),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(32);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";t.exports=n(72)},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE_19__},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(14),i=n(49);t.exports=n(13)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(3),i=n(23),o=n(20),u=n(60)("src"),a=Function.toString,s=(""+a).split("toString");n(41).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,u)||i(n,u,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(0),i=n(5),o=n(32),u=function(t,e,n,r){var i=String(o(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+String(r).replace(/"/g,""")+'"'),u+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(78),i=n(32);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(79),i=n(49),o=n(26),u=n(40),a=n(20),s=n(175),c=Object.getOwnPropertyDescriptor;e.f=n(13)?c:function(t,e){if(t=o(t),e=u(e,!0),s)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(20),i=n(17),o=n(124)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){"use strict";function r(){F.ReactReconcileTransaction&&b||l("123")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=F.ReactReconcileTransaction.getPooled(!0)}function o(t,e,n,i,o,u){return r(),b.batchedUpdates(t,e,n,i,o,u)}function u(t,e){return t._mountOrder-e._mountOrder}function a(t){var e=t.dirtyComponentsLength;e!==y.length&&l("124",e,y.length),y.sort(u),g++;for(var n=0;n<e;n++){var r=y[n],i=r._pendingCallbacks;r._pendingCallbacks=null;var o;if(d.logTopLevelRenders){var a=r;r._currentElement.type.isReactTopLevelWrapper&&(a=r._renderedComponent),o="React update: "+a.getName(),console.time(o)}if(v.performUpdateIfNecessary(r,t.reconcileTransaction,g),o&&console.timeEnd(o),i)for(var s=0;s<i.length;s++)t.callbackQueue.enqueue(i[s],r.getPublicInstance())}}function s(t){if(r(),!b.isBatchingUpdates)return void b.batchedUpdates(s,t);y.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=g+1)}function c(t,e){b.isBatchingUpdates||l("125"),_.enqueue(t,e),D=!0}var l=n(6),p=n(12),f=n(205),h=n(61),d=n(210),v=n(71),m=n(104),y=(n(1),[]),g=0,_=f.getPooled(),D=!1,b=null,A={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),x()):y.length=0}},C={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},E=[A,C];p(i.prototype,m,{getTransactionWrappers:function(){return E},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,F.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return m.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),h.addPoolingTo(i);var x=function(){for(;y.length||D;){if(y.length){var t=i.getPooled();t.perform(a,null,t),i.release(t)}if(D){D=!1;var e=_;_=f.getPooled(),e.notifyAll(),f.release(e)}}},w={injectReconcileTransaction:function(t){t||l("126"),F.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),b=t}},F={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:s,flushBatchedUpdates:x,injection:w,asap:c};t.exports=F},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(214),i=Object.assign({},r.Mixin,{moveChild:function(t){var e=t._mountImage;this.node.addChild(e)},createChild:function(t,e,n){t._mountImage=n,this.node.addChild(n)},removeChild:function(t){this.node.removeChild(t._mountImage),t._mountImage.destroy(),t._mountImage=null},mountAndInjectChildren:function(t,e,n){var r=this.mountChildren(t,e,n),i=0;for(var o in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(o)){var u=this._renderedChildren[o];u._mountImage=r[i],this.node.addChild(r[i]),i++}}});e.default=i},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(5);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(29),o=r(i),u=n(97),a=r(u),s=n(164),c=n(11),l=r(c),p=l.default.getLogger("NodeMixin"),f={_hostNode:{},construct:function(t){this._currentElement=t,this.createNode(t),this.node||p.error("`this.node` is null, you should init it at `this.createNode`"),(0,s.attachToSprite)(this.node),this.node.buttonMode=this.node.buttonMode||!1;var e=Object.keys(t.props),n=!0,r=!1,i=void 0;try{for(var o,u=e[Symbol.iterator]();!(n=(o=u.next()).done);n=!0){var a=o.value;/^on[A-Z]/.test(a)&&("onClick"===a&&!1!==t.props.buttonMode&&(this.node.buttonMode=!0),this.node["_on"+a.replace(/^on/,"").toLowerCase()]=t.props[a])}}catch(t){r=!0,i=t}finally{try{!n&&u.return&&u.return()}finally{if(r)throw i}}},getPublicInstance:function(){return this.node},mountComponentIntoNode:function(){throw new Error("You cannot render a Canvas component standalone. You need to wrap it in a Surface.")},getHostNode:function(){return this},mountComponent:function(t,e,n,r){var i=this._currentElement.props,u=this.mountNode(i),a=o.default.ReactReconcileTransaction.getPooled();return a.perform(this.mountAndInjectChildren,this,i.children,a,r),o.default.ReactReconcileTransaction.release(a),u},receiveComponent:function(t,e,n){var r=this._currentElement.props,i=t.props;if(!(0,a.default)(r,i)){this.updateNode(r,i);var u=Object.keys(r),s=!0,c=!1,l=void 0;try{for(var p,f=u[Symbol.iterator]();!(s=(p=f.next()).done);s=!0){var h=p.value;/^on[A-Z]/.test(h)&&delete this.node["_on"+h.replace(/^on/,"").toLowerCase()]}}catch(t){c=!0,l=t}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}this.node.buttonMode=this.node.buttonMode||!1;var d=Object.keys(i),v=!0,m=!1,y=void 0;try{for(var g,_=d[Symbol.iterator]();!(v=(g=_.next()).done);v=!0){var D=g.value;/^on[A-Z]/.test(D)&&("onClick"===D&&!1!==i.buttonMode&&(this.node.buttonMode=!0),this.node["_on"+D.replace(/^on/,"").toLowerCase()]=i[D])}}catch(t){m=!0,y=t}finally{try{!v&&_.return&&_.return()}finally{if(m)throw y}}var b=o.default.ReactReconcileTransaction.getPooled();b.perform(this.updateChildren,this,i.children,b,n),o.default.ReactReconcileTransaction.release(b),this._currentElement=t}},unmountComponent:function(){this.unmountNode(),this.unmountChildren(),this.node.removeChildren()},unmountNode:function(){}};e.default=f},function(t,e,n){"use strict";function r(t){function e(t){this.node=null,this._renderedChildren=null,this._mostRecentlyPlacedChild=null,this.construct(t)}e.displayName=t;for(var n=1,r=arguments.length;n<r;n++)Object.assign(e.prototype,arguments[n]);return e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e,n){var r=n(42),i=n(78),o=n(17),u=n(16),a=n(289);t.exports=function(t,e){var n=1==t,s=2==t,c=3==t,l=4==t,p=6==t,f=5==t||p,h=e||a;return function(e,a,d){for(var v,m,y=o(e),g=i(y),_=r(a,d,3),D=u(g.length),b=0,A=n?h(e,D):s?h(e,0):void 0;D>b;b++)if((f||b in g)&&(v=g[b],m=_(v,b,y),t))if(n)A[b]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return b;case 2:A.push(v)}else if(l)return!1;return p?-1:c||l?l:A}}},function(t,e,n){var r=n(0),i=n(41),o=n(5);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(8);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(22);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(191),i=n(0),o=n(95)("metadata"),u=o.store||(o.store=new(n(194))),a=function(t,e,n){var i=u.get(t);if(!i){if(!n)return;u.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},s=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},p=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},f=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},h=function(t){i(i.S,"Reflect",t)};t.exports={store:u,map:a,has:s,get:c,set:l,keys:p,key:f,exp:h}},function(t,e,n){"use strict";if(n(13)){var r=n(53),i=n(3),o=n(5),u=n(0),a=n(96),s=n(131),c=n(42),l=n(52),p=n(49),f=n(23),h=n(57),d=n(50),v=n(16),m=n(59),y=n(40),g=n(20),_=n(188),D=n(77),b=n(8),A=n(17),C=n(116),E=n(54),x=n(28),w=n(55).f,F=n(133),S=n(60),P=n(9),k=n(38),I=n(86),T=n(125),O=n(134),B=n(65),R=n(92),N=n(58),M=n(109),L=n(168),j=n(14),U=n(27),W=j.f,V=U.f,H=i.RangeError,q=i.TypeError,G=i.Uint8Array,K=Array.prototype,Y=s.ArrayBuffer,X=s.DataView,z=k(0),$=k(2),J=k(3),Q=k(4),Z=k(5),tt=k(6),et=I(!0),nt=I(!1),rt=O.values,it=O.keys,ot=O.entries,ut=K.lastIndexOf,at=K.reduce,st=K.reduceRight,ct=K.join,lt=K.sort,pt=K.slice,ft=K.toString,ht=K.toLocaleString,dt=P("iterator"),vt=P("toStringTag"),mt=S("typed_constructor"),yt=S("def_constructor"),gt=a.CONSTR,_t=a.TYPED,Dt=a.VIEW,bt=k(1,function(t,e){return Ft(T(t,t[yt]),e)}),At=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),Ct=!!G&&!!G.prototype.set&&o(function(){new G(1).set({})}),Et=function(t,e){if(void 0===t)throw q("Wrong length!");var n=+t,r=v(t);if(e&&!_(n,r))throw H("Wrong length!");return r},xt=function(t,e){var n=d(t);if(n<0||n%e)throw H("Wrong offset!");return n},wt=function(t){if(b(t)&&_t in t)return t;throw q(t+" is not a typed array!")},Ft=function(t,e){if(!(b(t)&&mt in t))throw q("It is not a typed array constructor!");return new t(e)},St=function(t,e){return Pt(T(t,t[yt]),e)},Pt=function(t,e){for(var n=0,r=e.length,i=Ft(t,r);r>n;)i[n]=e[n++];return i},kt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},It=function(t){var e,n,r,i,o,u,a=A(t),s=arguments.length,l=s>1?arguments[1]:void 0,p=void 0!==l,f=F(a);if(void 0!=f&&!C(f)){for(u=f.call(a),r=[],e=0;!(o=u.next()).done;e++)r.push(o.value);a=r}for(p&&s>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),i=Ft(this,n);n>e;e++)i[e]=p?l(a[e],e):a[e];return i},Tt=function(){for(var t=0,e=arguments.length,n=Ft(this,e);e>t;)n[t]=arguments[t++];return n},Ot=!!G&&o(function(){ht.call(new G(1))}),Bt=function(){return ht.apply(Ot?pt.call(wt(this)):wt(this),arguments)},Rt={copyWithin:function(t,e){return L.call(wt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(wt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return M.apply(wt(this),arguments)},filter:function(t){return St(this,$(wt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(wt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(wt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){z(wt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(wt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(wt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(wt(this),arguments)},lastIndexOf:function(t){return ut.apply(wt(this),arguments)},map:function(t){return bt(wt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(wt(this),arguments)},reduceRight:function(t){return st.apply(wt(this),arguments)},reverse:function(){for(var t,e=this,n=wt(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return J(wt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(wt(this),t)},subarray:function(t,e){var n=wt(this),r=n.length,i=m(t,r);return new(T(n,n[yt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},Nt=function(t,e){return St(this,pt.call(wt(this),t,e))},Mt=function(t){wt(this);var e=xt(arguments[1],1),n=this.length,r=A(t),i=v(r.length),o=0;if(i+e>n)throw H("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Lt={entries:function(){return ot.call(wt(this))},keys:function(){return it.call(wt(this))},values:function(){return rt.call(wt(this))}},jt=function(t,e){return b(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ut=function(t,e){return jt(t,e=y(e,!0))?p(2,t[e]):V(t,e)},Wt=function(t,e,n){return!(jt(t,e=y(e,!0))&&b(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};gt||(U.f=Ut,j.f=Wt),u(u.S+u.F*!gt,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Wt}),o(function(){ft.call({})})&&(ft=ht=function(){return ct.call(this)});var Vt=h({},Rt);h(Vt,Lt),f(Vt,dt,Lt.values),h(Vt,{slice:Nt,set:Mt,constructor:function(){},toString:ft,toLocaleString:Bt}),kt(Vt,"buffer","b"),kt(Vt,"byteOffset","o"),kt(Vt,"byteLength","l"),kt(Vt,"length","e"),W(Vt,vt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,s){s=!!s;var c=t+(s?"Clamped":"")+"Array",p="Uint8Array"!=c,h="get"+t,d="set"+t,m=i[c],y=m||{},g=m&&x(m),_=!m||!a.ABV,A={},C=m&&m.prototype,F=function(t,n){var r=t._d;return r.v[h](n*e+r.o,At)},S=function(t,n,r){var i=t._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,At)},P=function(t,e){W(t,e,{get:function(){return F(this,e)},set:function(t){return S(this,e,t)},enumerable:!0})};_?(m=n(function(t,n,r,i){l(t,m,c,"_d");var o,u,a,s,p=0,h=0;if(b(n)){if(!(n instanceof Y||"ArrayBuffer"==(s=D(n))||"SharedArrayBuffer"==s))return _t in n?Pt(m,n):It.call(m,n);o=n,h=xt(r,e);var d=n.byteLength;if(void 0===i){if(d%e)throw H("Wrong length!");if((u=d-h)<0)throw H("Wrong length!")}else if((u=v(i)*e)+h>d)throw H("Wrong length!");a=u/e}else a=Et(n,!0),u=a*e,o=new Y(u);for(f(t,"_d",{b:o,o:h,l:u,e:a,v:new X(o)});p<a;)P(t,p++)}),C=m.prototype=E(Vt),f(C,"constructor",m)):R(function(t){new m(null),new m(t)},!0)||(m=n(function(t,n,r,i){l(t,m,c);var o;return b(n)?n instanceof Y||"ArrayBuffer"==(o=D(n))||"SharedArrayBuffer"==o?void 0!==i?new y(n,xt(r,e),i):void 0!==r?new y(n,xt(r,e)):new y(n):_t in n?Pt(m,n):It.call(m,n):new y(Et(n,p))}),z(g!==Function.prototype?w(y).concat(w(g)):w(y),function(t){t in m||f(m,t,y[t])}),m.prototype=C,r||(C.constructor=m));var k=C[dt],I=!!k&&("values"==k.name||void 0==k.name),T=Lt.values;f(m,mt,!0),f(C,_t,c),f(C,Dt,!0),f(C,yt,m),(s?new m(1)[vt]==c:vt in C)||W(C,vt,{get:function(){return c}}),A[c]=m,u(u.G+u.W+u.F*(m!=y),A),u(u.S,c,{BYTES_PER_ELEMENT:e,from:It,of:Tt}),"BYTES_PER_ELEMENT"in C||f(C,"BYTES_PER_ELEMENT",e),u(u.P,c,Rt),N(c),u(u.P+u.F*Ct,c,{set:Mt}),u(u.P+u.F*!I,c,Lt),u(u.P+u.F*(C.toString!=ft),c,{toString:ft}),u(u.P+u.F*o(function(){new m(1).slice()}),c,{slice:Nt}),u(u.P+u.F*(o(function(){return[1,2].toLocaleString()!=new m([1,2]).toLocaleString()})||!o(function(){C.toLocaleString.call([1,2])})),c,{toLocaleString:Bt}),B[c]=I?k:T,r||I||f(C,dt,T)}}else t.exports=function(){}},function(t,e,n){"use strict";function r(t,e){var n;return e?(n=new Error(e.getLineAndColumnMessage()+t),n.shortMessage=t,n.interval=e):n=new Error(t),n}function i(){return r("Interval sources don't match")}function o(t){var e=new Error;return Object.defineProperty(e,"message",{get:function(){return t.message}}),Object.defineProperty(e,"shortMessage",{get:function(){return"Expected "+t.getExpectedText()}}),e.interval=t.getInterval(),e}function u(t,e,n){return r(e?"Grammar "+t+" is not declared in namespace "+C.toString(e):"Undeclared grammar "+t,n)}function a(t,e){return r("Grammar "+t.name+" is already declared in this namespace")}function s(t,e,n){return r("Rule "+t+" is not declared in grammar "+e,n)}function c(t,e,n){return r("Cannot override rule "+t+" because it is not declared in "+e,n)}function l(t,e,n){return r("Cannot extend rule "+t+" because it is not declared in "+e,n)}function p(t,e,n,i){var o="Duplicate declaration for rule '"+t+"' in grammar '"+e+"'";return e!==n&&(o+=" (originally declared in '"+n+"')"),r(o,i)}function f(t,e,n,i){return r("Wrong number of parameters for rule "+t+" (expected "+e+", got "+n+")",i)}function h(t,e,n,i){return r("Wrong number of arguments for rule "+t+" (expected "+e+", got "+n+")",i.source)}function d(t,e,n){return r("Duplicate parameter names in rule "+t+": "+e.join(", "),n)}function v(t,e){return r("Invalid parameter to rule "+t+": "+e+" has arity "+e.getArity()+", but parameter expressions must have arity 1",e.source)}function m(t,e){return r("Cannot apply syntactic rule "+t+" from here (inside a lexical context)",e.source)}function y(t){return r("Nullable expression "+t.expr.source.contents+" is not allowed inside '"+t.operator+"' (possible infinite loop)",t.expr.source)}function g(t,e,n,i){return r("Rule "+t+" involves an alternation which has inconsistent arity (expected "+e+", got "+n+")",i.source)}function _(t){return r("Object pattern has duplicate property names: "+t.join(", "))}function D(t,e,n){return r("Attempt to invoke constructor "+e+" with invalid or unexpected arguments")}function b(t){return r(["Errors:"].concat(t.map(function(t){return t.message})).join("\n- "),t[0].interval)}function A(t,e,n){var i=r("Missing semantic action for "+t+" in "+e+" "+n);return i.name="missingSemanticAction",i}var C=n(200);t.exports={applicationOfSyntacticRuleFromLexicalContext:m,cannotExtendUndeclaredRule:l,cannotOverrideUndeclaredRule:c,duplicateGrammarDeclaration:a,duplicateParameterNames:d,duplicatePropertyNames:_,duplicateRuleDeclaration:p,inconsistentArity:g,intervalSourcesDontMatch:i,invalidConstructorCall:D,invalidParameter:v,grammarSyntaxError:o,kleeneExprHasNullableOperand:y,missingSemanticAction:A,undeclaredGrammar:u,undeclaredRule:s,wrongNumberOfArguments:h,wrongNumberOfParameters:f,throwErrors:function(t){if(1===t.length)throw t[0];if(t.length>1)throw b(t)}}},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var i=this.constructor.Interface;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];a?this[o]=a(n):"target"===o?this.target=r:this[o]=n[o]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?u.thatReturnsTrue:u.thatReturnsFalse,this.isPropagationStopped=u.thatReturnsFalse,this}var i=n(12),o=n(61),u=n(34),a=(n(4),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:u.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};i(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=u.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=u.thatReturnsTrue)},persist:function(){this.isPersistent=u.thatReturnsTrue},isPersistent:u.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<a.length;n++)this[a[n]]=null}}),r.Interface=s,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var u=new r;i(u,t.prototype),t.prototype=u,t.prototype.constructor=t,t.Interface=i({},n.Interface,e),t.augmentClass=n.augmentClass,o.addPoolingTo(t,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),t.exports=r},function(t,e,n){"use strict";var r={current:null};t.exports=r},function(t,e,n){var r=n(60)("meta"),i=n(8),o=n(20),u=n(14).f,a=0,s=Object.isExtensible||function(){return!0},c=!n(5)(function(){return s(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},p=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},f=function(t,e){if(!o(t,r)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return c&&d.NEED&&s(t)&&!o(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:h}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={alpha:i.default.PropTypes.number,visible:i.default.PropTypes.bool,cacheAsBitmap:i.default.PropTypes.bool,x:i.default.PropTypes.number,y:i.default.PropTypes.number,position:i.default.PropTypes.arrayOf(i.default.PropTypes.number),width:i.default.PropTypes.number,height:i.default.PropTypes.number,pivot:i.default.PropTypes.arrayOf(i.default.PropTypes.number),anchor:i.default.PropTypes.arrayOf(i.default.PropTypes.number),rotation:i.default.PropTypes.number,scale:i.default.PropTypes.arrayOf(i.default.PropTypes.number),skew:i.default.PropTypes.arrayOf(i.default.PropTypes.number),tint:i.default.PropTypes.oneOf([i.default.PropTypes.number,i.default.PropTypes.string]),children:i.default.PropTypes.any}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(2),i=n(181),o=n(112),u=n(124)("IE_PROTO"),a=function(){},s=function(){var t,e=n(111)("iframe"),r=o.length;for(e.style.display="none",n(114).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=s(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(183),i=n(112).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(183),i=n(112);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(24);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(3),i=n(14),o=n(13),u=n(9)("species");t.exports=function(t){var e=r[t];o&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(50),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(6),i=(n(1),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},u=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},a=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},s=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=i,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,n.poolSize||(n.poolSize=10),n.release=s,n},p={addPoolingTo:l,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:u,fourArgumentPooler:a};t.exports=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return t instanceof Array?2===t.length?new h.Point(t[0],t[1]):4===t.length?new h.Rectangle(t[0],t[1],t[2],t[3]):9===t.length?h.Matrix.fromArray(t):(d.warn("Unrecognized array: "+t),t):t}function o(t,e,n){var r=this;void 0===e?void 0===n||(r[t]=n):"src"===t?r.src=f.default.getTexture(e):r[t]=i(e)}function u(t,e,n){(0,l.default)(e,n)||o.call(this,t,n)}function a(t,e){var n=o.bind(t);n("src",e.src),n("alpha",e.alpha),n("visible",e.visible),n("cacheAsBitmap",e.cacheAsBitmap),n("buttonMode",e.buttonMode),n("x",e.x),n("y",e.y),n("position",e.position),n("width",e.width),n("height",e.height),n("pivot",e.pivot),n("anchor",e.anchor),n("rotation",e.rotation),n("scale",e.scale),n("skew",e.skew),n("tint",e.tint)}function s(t,e,n){var r=u.bind(t);r("src",e.src,n.src),r("alpha",e.alpha,n.alpha),r("visible",e.visible,n.visible),r("cacheAsBitmap",e.cacheAsBitmap,n.cacheAsBitmap),r("buttonMode",e.buttonMode,n.buttonMode),r("x",e.x,n.x),r("y",e.y,n.y),r("position",e.position,n.position),r("width",e.width,n.width),r("height",e.height,n.height),r("pivot",e.pivot,n.pivot),r("anchor",e.anchor,n.anchor),r("rotation",e.rotation,n.rotation),r("scale",e.scale,n.scale),r("skew",e.skew,n.skew),r("tint",e.tint,n.tint)}Object.defineProperty(e,"__esModule",{value:!0}),e.setValue=o,e.updateValue=u,e.mountNode=a,e.updateNode=s;var c=n(97),l=r(c),p=n(11),f=r(p),h=n(19),d=f.default.getLogger("MountNode")},function(t,e,n){var r=n(9)("unscopables"),i=Array.prototype;void 0==i[r]&&n(23)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(42),i=n(177),o=n(116),u=n(2),a=n(16),s=n(133),c={},l={},e=t.exports=function(t,e,n,p,f){var h,d,v,m,y=f?function(){return t}:s(t),g=r(n,p,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(h=a(t.length);h>_;_++)if((m=e?g(u(d=t[_])[0],d[1]):g(t[_]))===c||m===l)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=i(v,g,d.value,e))===c||m===l)return m};e.BREAK=c,e.RETURN=l},function(t,e){t.exports={}},function(t,e,n){var r=n(14).f,i=n(20),o=n(9)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),i=n(32),o=n(5),u=n(129),a="["+u+"]",s="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),p=function(t,e,n){var i={},a=o(function(){return!!u[t]()||s[t]()!=s}),c=i[t]=a?e(f):u[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},f=p.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=p},function(t,e,n){"use strict";function r(t){if(d){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)v(e,n[r],null);else null!=t.html?p(e,t.html):null!=t.text&&h(e,t.text)}}function i(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function o(t,e){d?t.children.push(e):t.node.appendChild(e.node)}function u(t,e){d?t.html=e:p(t.node,e)}function a(t,e){d?t.text=e:h(t.node,e)}function s(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:s}}var l=n(142),p=n(106),f=n(150),h=n(223),d="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),v=f(function(t,e,n){11===e.node.nodeType||1===e.node.nodeType&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=v,c.replaceChildWithTree=i,c.queueChild=o,c.queueHTML=u,c.queueText=a,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var i=n(6),o=(n(1),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=o,n=t.Properties||{},u=t.DOMAttributeNamespaces||{},s=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&a._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var p in n){a.properties.hasOwnProperty(p)&&i("48",p);var f=p.toLowerCase(),h=n[p],d={attributeName:f,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(h,e.MUST_USE_PROPERTY),hasBooleanValue:r(h,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(h,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(h,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(h,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1||i("50",p),s.hasOwnProperty(p)){var v=s[p];d.attributeName=v}u.hasOwnProperty(p)&&(d.attributeNamespace=u[p]),c.hasOwnProperty(p)&&(d.propertyName=c[p]),l.hasOwnProperty(p)&&(d.mutationMethod=l[p]),a.properties[p]=d}}}),u=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",a={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:u,ATTRIBUTE_NAME_CHAR:u+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<a._isCustomAttributeFunctions.length;e++){if((0,a._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:o};t.exports=a},function(t,e,n){"use strict";var r={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=r},function(t,e,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(578),o=(n(35),n(4),{mountComponent:function(t,e,n,i,o,u){var a=t.mountComponent(e,n,i,o,u);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),a},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){i.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,o){var u=t._currentElement;if(e!==u||o!==t._context){var a=i.shouldUpdateRefs(u,e);a&&i.detachRefs(t,u),t.receiveComponent(e,n,o),a&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=o},function(t,e,n){"use strict";var r=n(12),i=n(607),o=n(157),u=n(612),a=n(608),s=n(609),c=n(73),l=n(611),p=n(613),f=n(616),h=(n(4),c.createElement),d=c.createFactory,v=c.cloneElement,m=r,y={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:f},Component:o,PureComponent:u,createElement:h,cloneElement:v,isValidElement:c.isValidElement,PropTypes:l,createClass:a.createClass,createFactory:d,createMixin:function(t){return t},DOM:s,version:p,__spread:m};t.exports=y},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function i(t){return void 0!==t.key}var o=n(12),u=n(47),a=(n(4),n(227),Object.prototype.hasOwnProperty),s=n(226),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,i,o,u){var a={$$typeof:s,type:t,key:e,ref:n,props:u,_owner:o};return a};l.createElement=function(t,e,n){var o,s={},p=null,f=null;if(null!=e){r(e)&&(f=e.ref),i(e)&&(p=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(o in e)a.call(e,o)&&!c.hasOwnProperty(o)&&(s[o]=e[o])}var h=arguments.length-2;if(1===h)s.children=n;else if(h>1){for(var d=Array(h),v=0;v<h;v++)d[v]=arguments[v+2];s.children=d}if(t&&t.defaultProps){var m=t.defaultProps;for(o in m)void 0===s[o]&&(s[o]=m[o])}return l(t,p,f,0,0,u.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var s,p=o({},t.props),f=t.key,h=t.ref,d=(t._self,t._source,t._owner);if(null!=e){r(e)&&(h=e.ref,d=u.current),i(e)&&(f=""+e.key);var v;t.type&&t.type.defaultProps&&(v=t.type.defaultProps);for(s in e)a.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==v?p[s]=v[s]:p[s]=e[s])}var m=arguments.length-2;if(1===m)p.children=n;else if(m>1){for(var y=Array(m),g=0;g<m;g++)y[g]=arguments[g+2];p.children=y}return l(t.type,f,h,0,0,d,p)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},t.exports=l},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(n);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},function(t,e,n){"use strict";(function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function e(i){r(this,e),this.name=i,this.isProduction=t&&n.i({NODE_ENV:"production"})&&!0}return i(e,[{key:"fatal",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).error.apply(t,["["+this.name+"]"].concat(n))}},{key:"error",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).error.apply(t,["["+this.name+"]"].concat(n))}},{key:"warn",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).warn.apply(t,["["+this.name+"]"].concat(n))}},{key:"info",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).log.apply(t,["["+this.name+"]"].concat(n))}},{key:"debug",value:function(){if(!this.isProduction){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).debug.apply(