Array.prototype.includes||(Array.prototype.includes=function(r){return!!~this.indexOf(r)}),Array.prototype.indexOf||(Array.prototype.indexOf=function(o,f,u){"use strict";return function(r,e){if(null==this)throw TypeError("Array.prototype.indexOf called on null or undefined");var t=o(this),n=t.length>>>0,i=u(0|e,n);if(i<0)i=f(0,n+i);else if(n<=i)return-1;if(void 0===r){for(;i!==n;++i)if(void 0===t[i]&&i in t)return i}else if(r!=r){for(;i!==n;++i)if(t[i]!=t[i])return i}else for(;i!==n;++i)if(t[i]===r)return i;return-1}}(Object,Math.max,Math.min));