(function(){"use strict";var a,b=Object,c=b.prototype,d=Array.prototype;a=function(a,b,c){a[b]=a[b]||c};a(b,"create",function(a){function b(){}b.prototype=a;return new b});a(c,"forEach",function(a){var b;if(typeof a==="function"){for(b in this){if(this.hasOwnProperty(b)){a.apply(this,[this[b],b,this].concat(Array.prototype.slice.call(arguments,1)))}}}return this});a(d,"filter",function(a,b){var c,d,e,f,g;c=Object(this);d=c.length>>>0;if(typeof a!=="function"){throw new TypeError}e=[];for(f=0;f<d;f+=1){if(c.hasOwnProperty(f)){g=c[f];if(a.call(b,g,f,c)){e.push(g)}}}return e});a(d,"forEach",function(a,b){var c,d,e;c=Object(this);d=c.length>>>0;if(typeof a!=="function"){throw new TypeError}for(e=0;e<d;e+=1){if(c.hasOwnProperty(e)){a.call(b,c[e],e,c)}}});a(d,"map",function(a,b){var c,d,e,f;c=Object(this);d=c.length>>>0;if(typeof a!=="function"){throw new TypeError}e=[];e.length=d;for(f=0;f<d;f+=1){if(c.hasOwnProperty(f)){e[f]=a.call(b,c[f],f,c)}}return e});a(d,"reduce",function(a,b){var c,d=this.length,e;if(typeof a!=="function"){throw new TypeError("First argument is not callable")}if((d===0||d===false||d===null)&&arguments.length<=1){throw new TypeError("Array length is 0 and no second argument")}if(arguments.length<=1){e=this[0];c=1}else{e=b}for(c=c||0;c<d;c+=1){if(this.hasOwnProperty(c)){e=a.call(b,e,this[c],c,this)}}return e});a(d,"some",function(a,b){var c,d,e;c=Object(this);d=c.length>>>0;if(typeof a!=="function"){throw new TypeError}for(e=0;e<d;e+=1){if(c.hasOwnProperty(e)&&a.call(b,c[e],e,c)){return true}}return false})})()
