All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.assets.platform.plugins.polyfill.polyfill.min.js Maven / Gradle / Ivy

There is a newer version: 5.2.8-zookeeper
Show newest version
Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(r.prototype=this.prototype),o.prototype=new r,o}),function(){var e,t,n,r,o=Object.prototype,i=Function.call,c=i.bind(o.hasOwnProperty),l=i.bind(o.propertyIsEnumerable),a=i.bind(o.toString),u=c(o,"__defineGetter__");u&&(e=i.bind(o.__defineGetter__),t=i.bind(o.__defineSetter__),n=i.bind(o.__lookupGetter__),r=i.bind(o.__lookupSetter__));var p=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e};Object.getPrototypeOf||(Object.getPrototypeOf=function(e){var t=e.__proto__;return t||null===t?t:"[object Function]"===a(e.constructor)?e.constructor.prototype:e instanceof Object?o:null}),Object.keys||(Object.keys=function(){var e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(o){if("object"!=typeof o&&("function"!=typeof o||null===o))throw new TypeError("Object.keys called on non-object");var i,c,l=[];for(i in o)e.call(o,i)&&l.push(i);if(t)for(c=0;c<\/script>"),t.close(),e=t.parentWindow.Object.prototype,t=null,e},E=function(){var e,t=document.createElement("iframe"),n=document.body||document.documentElement;return t.style.display="none",n.appendChild(t),t.src="javascript:",e=t.contentWindow.Object.prototype,n.removeChild(t),t=null,e};g=O||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var e=w()?j():E();delete e.constructor,delete e.hasOwnProperty,delete e.propertyIsEnumerable,delete e.isPrototypeOf,delete e.toLocaleString,delete e.toString,delete e.valueOf;var t=function(){};return t.prototype=e,g=function(){return new t},new t},Object.create=function(e,t){var n,r=function(){};if(null===e)n=g();else{if(null!==e&&p(e))throw new TypeError("Object prototype may only be an Object or null");r.prototype=e,n=new r,n.__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}Object.seal||(Object.seal=function(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e}),Object.freeze||(Object.freeze=function(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze(function(){})}catch(_){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e}),Object.isSealed||(Object.isSealed=function(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var t="";c(e,t);)t+="?";e[t]=!0;var n=c(e,t);return delete e[t],n})}(),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,r;if(void 0===this||null===this)throw new TypeError("Array.prototype.forEach called on null or undefined");var o=Object(this),i=o.length>>>0;if("[object Function]"!=Object.prototype.toString.call(e))throw new TypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=0;r>>0;if("[object Function]"!=Object.prototype.toString.call(e))throw new TypeError(e+" is not a function");for(var r=arguments.length>=2?arguments[1]:void 0,o=0;o>>0,r=arguments[1],o=r>>0,i=o<0?Math.max(n+o,0):Math.min(o,n),c=arguments[2],l=c===undefined?n:c>>0,a=l<0?Math.max(n+l,0):Math.min(l,n);i>>0;if("[object Function]"!=Object.prototype.toString.call(e))throw new TypeError(e+" is not a function");for(var r=[],o=arguments.length>=2?arguments[1]:void 0,i=0;i>>0;if(0===o)return-1;var i=0|t;if(i>=o)return-1;for(n=Math.max(i>=0?i:o-Math.abs(i),0);n>>0;if(0===o)return-1;for(t=o-1,arguments.length>1&&(t=Number(arguments[1]),t!==t?t=0:0!=t&&t!=1/0&&t!=-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t)))),n=t>=0?Math.min(t,o-1):o-Math.abs(t);n>=0;n--)if(n in r&&r[n]===e)return n;return-1}),Array.prototype.map||(Array.prototype.map=function(e,t){if(void 0===this||null===this)throw new TypeError("Array.prototype.map called on null or undefined");var n,r,o,i=Object(this),c=i.length>>>0;if("[object Function]"!==Object.prototype.toString.call(e))throw new TypeError(e+" is not a function");for(t&&(n=t),r=new Array(c),o=0;o>>0,o=0;if(arguments.length>=2)t=arguments[1];else{for(;o=r)throw new TypeError("Reduce of empty array with no initial value");t=n[o++]}for(;o>>0,o=r-1;if(arguments.length>=2)t=arguments[1];else{for(;o>=0&&!(o in n);)o--;if(o<0)throw new TypeError("Reduce of empty array with no initial value");t=n[o--]}for(;o>=0;o--)o in n&&(t=e(t,n[o],o,n));return t}),Array.prototype.some||(Array.prototype.some=function(e){if(void 0===this||null===this)throw new TypeError("Array.prototype.reduceRight called on null or undefined");if("[object Function]"!==Object.prototype.toString.call(e))throw new TypeError(e+" is not a function");for(var t=Object(this),n=t.length>>>0,r=arguments.length>=2?arguments[1]:void 0,o=0;o=0&&t.item(n)!==this;);return n>-1})}}(),Object.defineProperty&&Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(Element.prototype,"textContent")&&!Object.getOwnPropertyDescriptor(Element.prototype,"textContent").get&&function(){var e=Object.getOwnPropertyDescriptor(Element.prototype,"innerText");Object.defineProperty(Element.prototype,"textContent",{get:function(){return e.get.call(this)},set:function(t){return e.set.call(this,t)}})}()}}(window),function(e){if(!("Event"in e&&"function"==typeof e.Event)){var t={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1},n=e.Event&&e.Event.prototype||null;if(e.Event=Window.prototype.Event=function(e,t){if(!e)throw new Error("Not enough arguments");var n;if("createEvent"in document){n=document.createEvent("Event");var r=!(!t||t.bubbles===undefined)&&t.bubbles,o=!(!t||t.cancelable===undefined)&&t.cancelable;return n.initEvent(e,r,o),n}return n=document.createEventObject(),n.type=e,n.bubbles=!(!t||t.bubbles===undefined)&&t.bubbles,n.cancelable=!(!t||t.cancelable===undefined)&&t.cancelable,n},n&&Object.defineProperty(e.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:n}),!("createEvent"in document)){var r=function(n,r){var o=this;if(o===e&&n in t)throw new Error("In IE8 the event: "+n+" is not available on the window object.");o._events||(o._events={}),o._events[n]||(o._events[n]=function(e){var t,n=o._events[e.type].list,r=n.slice(),i=-1,c=r.length;for(e.preventDefault=function(){!1!==e.cancelable&&(e.returnValue=!1)},e.stopPropagation=function(){e.cancelBubble=!0},e.stopImmediatePropagation=function(){e.cancelBubble=!0,e.cancelImmediate=!0},e.currentTarget=o,e.target=e.target||e.srcElement||o,e.relatedTarget=e.fromElement?e.fromElement===e.target?e.toElement:e.fromElement:null,e.timeStamp=(new Date).getTime(),e.clientX&&(e.pageX=e.clientX+document.documentElement.scrollLeft,e.pageY=e.clientY+document.documentElement.scrollTop);++i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy