Pleroma/priv/static/packs/base_polyfills.js

2 lines
101 KiB
JavaScript
Raw Normal View History

2019-06-26 21:06:28 +02:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1e3:function(e,t,r){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},1001:function(e,t,r){"use strict";var i=r(1002),s=r(1006),u=Math.max;e.exports=function(t,r){var n,e,o,a=u(arguments.length,2);for(t=Object(s(t)),o=function(e){try{t[e]=r[e]}catch(e){n||(n=e)}},e=1;e<a;++e)r=arguments[e],i(r).forEach(o);if(void 0!==n)throw n;return t}},1002:function(e,t,r){"use strict";e.exports=r(1003)()?Object.keys:r(1004)},1003:function(e,t,r){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},1004:function(e,t,r){"use strict";var n=r(918),o=Object.keys;e.exports=function(e){return o(n(e)?Object(e):e)}},1005:function(e,t,r){"use strict";e.exports=function(){}},1006:function(e,t,r){"use strict";var n=r(918);e.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}},1007:function(e,t,r){"use strict";var n=r(918),o=Array.prototype.forEach,a=Object.create;e.exports=function(e){var t=a(null);return o.call(arguments,function(e){n(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)}),t}},1008:function(e,t,r){"use strict";e.exports=function(e){return"function"==typeof e}},1009:function(e,t,r){"use strict";e.exports=r(1010)()?String.prototype.contains:r(1011)},1010:function(e,t,r){"use strict";var n="razdwatrzy";e.exports=function(){return"function"==typeof n.contains&&(!0===n.contains("dwa")&&!1===n.contains("foo"))}},1011:function(e,t,r){"use strict";var n=String.prototype.indexOf;e.exports=function(e){return-1<n.call(this,e,arguments[1])}},1012:function(e,t,r){"use strict";var n=r(1013);e.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}},1013: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]))}},1014:function(e,t,r){"use strict";var f=Object.prototype.hasOwnProperty,p=Object.prototype.toString,n=Array.prototype.slice,h=r(1015),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},1015: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}},1
//# sourceMappingURL=base_polyfills.js.map