!function(n,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("tile",t):(n=n||self).tile=t()}(this,function(){"use strict";varn="undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{};n.setTimeout,n.clearTimeout;vart=n.performance||{},e=(t.now||t.mozNow||t.msNow||t.oNow||t.webkitNow,"undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{});functionr(n,t){returnn(t={exports:{}},t.exports),t.exports}varu=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;vara=function(){try{if(!Object.assign)return!1;varn=newString("abc");if(n[5]="de","5"===Object.getOwnPropertyNames(n)[0])return!1;for(vart={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(n){returnt[n]}).join(""))return!1;varr={};return"abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(n){return!1}}()?Object.assign:function(n,t){for(vare,r,a=function(n){if(null==n)thrownewTypeError("Object.assign cannot be called with null or undefined");returnObject(n)}(n),f=1;f<arguments.length;f++){for(varcine=Object(arguments[f]))o.call(e,c)&&(a[c]=e[c]);if(u){r=u(e);for(varl=0;l<r.length;l++)i.call(e,r[l])&&(a[r[l]]=e[r[l]])}}returna};functionf(n){for(vart=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=0;r<t;r++)e+="&args[]="+encodeURIComponent(arguments[r+1]);!function(n,t,e,r,u,o,i,a){if(!n){if(n=void0,void0===t)n=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{varf=[e,r,u,o,i,a],c=0;(n=Error(t.replace(/%s/g,function(){returnf[c++]}))).name="Invariant Violation"}thrown.framesToPop=1,n}}(!1,"Minified React error #"+n+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}varc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},l={};functions(n,t,e){this.props=n,this.context=t,this.refs=l,this.updater=e||c}functionp(){}functionh(n,t,e){this.props=n,this.context=t,this.refs=l,this.updater=e||c}s.prototype.isReactComponent={},s.prototype.setState=function(n,t){"object"!=typeofn&&"function"!=typeofn&&null!=n&&f("85"),this.updater.enqueueSetState(this,n,t,"setState")},s.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")},p.prototype=s.prototype;varv=h.prototype=newp;v.constructor=h,a(v,s.prototype),v.isPureReactComponent=!0;vard=function(){},y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_={},g=Function.call.bind(Object.prototype.hasOwnProperty);functionm(n,t,e,r,u){for(varoinn)if(g(n,o)){vari;try{if("function"!=typeofn[o]){vara=Error((r||"React class")+": "+e+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeofn[o]+"`.");throwa.name="Invariant Violation",a}i=n[o](t,o,r,e,null,y)}catch(n){i=n}if(!i||iinstanceofError||d((r||"React class")+": type specification of "+e+" `"+o+"` 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.messagein_)){_[i.message]=!0;varf=u?u():"";d("Failed "+e+" type: "+i.message+(null!=f?f:""))}}}d=function(n){vart="Warning: "+n;"undefined"!=typeofconsole&&console.error(t);try{thrownewError(t)}catch(n){}},m.resetWarningCache=function(){_={}};varb=m,w=r(function(n){!function(){vart=a,e=b,r="function"==typeofSymbol&&Symbol.for,u=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragmen