!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("tile",t):(e=e||self).tile=t()}(this,function(){"use strict";vare=("undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{}).performance||{};e.now||e.mozNow||e.msNow||e.oNow||e.webkitNow;functiont(e,t){returne(t={exports:{}},t.exports),t.exports}varn=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;vara=function(){try{if(!Object.assign)return!1;vare=newString("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(vart={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){returnt[e]}).join(""))return!1;varr={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(vara,i,u=function(e){if(null==e)thrownewTypeError("Object.assign cannot be called with null or undefined");returnObject(e)}(e),s=1;s<arguments.length;s++){for(varcina=Object(arguments[s]))r.call(a,c)&&(u[c]=a[c]);if(n){i=n(a);for(varl=0;l<i.length;l++)o.call(a,i[l])&&(u[i[l]]=a[i[l]])}}returnu};vari={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},u={};functions(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||i}functionc(){}functionl(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||i}s.prototype.isReactComponent={},s.prototype.setState=function(e,t){if("object"!=typeofe&&"function"!=typeofe&&null!=e)throwfunction(e){for(vart=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);returne.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},s.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},c.prototype=s.prototype;varf=l.prototype=newc;f.constructor=l,a(f,s.prototype),f.isPureReactComponent=!0;varp=function(){},d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",y={},h=Function.call.bind(Object.prototype.hasOwnProperty);functionm(e,t,n,r,o){for(varaine)if(h(e,a)){vari;try{if("function"!=typeofe[a]){varu=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeofe[a]+"`.");throwu.name="Invariant Violation",u}i=e[a](t,a,r,n,null,d)}catch(e){i=e}if(!i||iinstanceofError||p((r||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeofi+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),iinstanceofError&&!(i.messageiny)){y[i.message]=!0;vars=o?o():"";p("Failed "+n+" type: "+i.message+(null!=s?s:""))}}}p=function(e){vart="Warning: "+e;"undefined"!=typeofconsole&&console.error(t);try{thrownewError(t)}catch(e){}},m.resetWarningCache=function(){y={}};varv=m,g=t(function(e){!function(){vart=a,n=v,r="function"==typeofSymbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,u=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,f=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responde