!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:{};e.setTimeout,e.clearTimeout;vart=e.performance||{};t.now||t.mozNow||t.msNow||t.oNow||t.webkitNow;functionn(e,t){returne(t={exports:{}},t.exports),t.exports}varr=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;vari=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(varn,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(varcinn=Object(arguments[s]))o.call(n,c)&&(u[c]=n[c]);if(r){i=r(n);for(varl=0;l<i.length;l++)a.call(n,i[l])&&(u[i[l]]=n[i[l]])}}returnu};functionu(e){for(vart=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,a,i,u){if(!e){if(e=void0,void0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{vars=[n,r,o,a,i,u],c=0;(e=Error(t.replace(/%s/g,function(){returns[c++]}))).name="Invariant Violation"}throwe.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}vars={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},c={};functionl(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||s}functionf(){}functionp(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||s}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){"object"!=typeofe&&"function"!=typeofe&&null!=e&&u("85"),this.updater.enqueueSetState(this,e,t,"setState")},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},f.prototype=l.prototype;vard=p.prototype=newf;d.constructor=p,i(d,l.prototype),d.isPureReactComponent=!0;vary=function(){},h="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",m={},v=Function.call.bind(Object.prototype.hasOwnProperty);functiong(e,t,n,r,o){for(varaine)if(v(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,h)}catch(e){i=e}if(!i||iinstanceofError||y((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.messageinm)){m[i.message]=!0;vars=o?o():"";y("Failed "+n+" type: "+i.message+(null!=s?s:""))}}}y=function(e){vart="Warning: "+e;"undefined"!=typeofconsole&&console.error(t);try{thrownewError(t)}catch(e){}},g.resetWarningCache=function(){m={}};varb=g,w=n(function(e){!function(){vart=i,n=b,r="function"==typeofSymbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=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("r