Pleroma/priv/static/packs/base_polyfills.js

2 lines
101 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1e3:function(e,t,r){"use strict";var n=String.prototype.indexOf;e.exports=function(e){return-1<n.call(this,e,arguments[1])}},1001:function(e,t,r){"use strict";var n=r(1002);e.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}},1002:function(e,t,r){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},1003:function(e,t,r){"use strict";var f=Object.prototype.hasOwnProperty,p=Object.prototype.toString,n=Array.prototype.slice,h=r(1004),o=Object.prototype.propertyIsEnumerable,m=!o.call({toString:null},"toString"),d=o.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],b=function(e){var t=e.constructor;return t&&t.prototype===e},a={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!a["$"+e]&&f.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{b(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),i=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===p.call(e),n=h(e),o=t&&"[object String]"===p.call(e),a=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var i=d&&r;if(o&&0<e.length&&!f.call(e,0))for(var s=0;s<e.length;++s)a.push(String(s));if(n&&0<e.length)for(var u=0;u<e.length;++u)a.push(String(u));else for(var l in e)i&&"prototype"===l||!f.call(e,l)||a.push(String(l));if(m)for(var c=function(e){if("undefined"==typeof window||!v)return b(e);try{return b(e)}catch(e){return!1}}(e),y=0;y<g.length;++y)c&&"constructor"===g[y]||!f.call(e,g[y])||a.push(g[y]);return a};i.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var t=Object.keys;Object.keys=function(e){return h(e)?t(n.call(e)):t(e)}}}else Object.keys=i;return Object.keys||i},e.exports=i},1004:function(e,t,r){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Function]"===n.call(e.callee)),r}},1005:function(e,t,r){"use strict";var u=Array.prototype.slice,l=Object.prototype.toString;e.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==l.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,o=u.call(arguments,1),e=Math.max(0,r.length-o.length),a=[],i=0;i<e;i++)a.push("$"+i);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var e=r.apply(this,o.concat(u.call(arguments)));return Object(e)===e?e:this}return r.apply(t,o.concat(u.call(arguments)))}),r.prototype){var s=function(){};s.prototype=r.prototype,n.prototype=new s,s.prototype=null}return n}},1006:function(e,t,r){"use strict";e.exports=r(1007)},1007:function(e,t,r){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=r(934),s=r(913),a=r(1008),u=r(1009);e.exports=function(e){if(i(e))return e;var t,r="default";if(1<arguments.length&&(arguments[1]===String?r="string":arguments[1]===Number&&(r="number")),o&&(Symbol.toPrimitive?t=function(e,t){var r=e[t];if(null!=r){if(!s(r))throw new TypeError(r+" returned for property "+t+" of object "+e+" is not a function");return r}}(e,Symbol.toPrimitive):u(e)&&(t=Symbol.prototype.valueOf)),void 0===t)return"default"===r&&(a(e)||u(e))&&(r="string"),function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var r,
//# sourceMappingURL=base_polyfills.js.map