urbit/pkg/arvo/app/contacts/js/tile.js

1 line
93 KiB
JavaScript
Raw Normal View History

2020-04-24 11:15:39 +03:00
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("tile",t):(n=n||self).tile=t()}(this,function(){"use strict";var n=("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}).performance||{},t=(n.now||n.mozNow||n.msNow||n.oNow||n.webkitNow,"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function e(n,t){return n(t={exports:{}},t.exports),t.exports}var r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;var i=function(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de","5"===Object.getOwnPropertyNames(n)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(n){return t[n]}).join(""))return!1;var r={};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(var e,i,a=function(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}(n),f=1;f<arguments.length;f++){for(var c in e=Object(arguments[f]))u.call(e,c)&&(a[c]=e[c]);if(r){i=r(e);for(var l=0;l<i.length;l++)o.call(e,i[l])&&(a[i[l]]=e[i[l]])}}return a};var a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f={};function c(n,t,e){this.props=n,this.context=t,this.refs=f,this.updater=e||a}function l(){}function s(n,t,e){this.props=n,this.context=t,this.refs=f,this.updater=e||a}c.prototype.isReactComponent={},c.prototype.setState=function(n,t){if("object"!=typeof n&&"function"!=typeof n&&null!=n)throw function(n){for(var t=n.message,e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return n.message="Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n}(Error(85));this.updater.enqueueSetState(this,n,t,"setState")},c.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")},l.prototype=c.prototype;var p=s.prototype=new l;p.constructor=s,i(p,c.prototype),p.isPureReactComponent=!0;var h=function(){},v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d={},y=Function.call.bind(Object.prototype.hasOwnProperty);function _(n,t,e,r,u){for(var o in n)if(y(n,o)){var i;try{if("function"!=typeof n[o]){var a=Error((r||"React class")+": "+e+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[o]+"`.");throw a.name="Invariant Violation",a}i=n[o](t,o,r,e,null,v)}catch(n){i=n}if(!i||i instanceof Error||h((r||"React class")+": type specification of "+e+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in d)){d[i.message]=!0;var f=u?u():"";h("Failed "+e+" type: "+i.message+(null!=f?f:""))}}}h=function(n){var t="Warning: "+n;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},_.resetWarningCache=function(){d={}};var g=_,m=e(function(n){!function(){var t=i,e=g,r="function"==typeof Symbol&&Symbol.for,u=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,v=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):6