akkoma/priv/static/packs/base_polyfills.js

2 lines
93 KiB
JavaScript
Raw Normal View History

2018-08-12 13:29:30 +00:00
webpackJsonp([0],{806:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=n(922),a=(n.n(t),n(925)),o=(n.n(a),n(926)),i=(n.n(o),n(946)),s=n.n(i),u=n(105),l=n.n(u),c=n(959),h=n.n(c),y=n(963),f=n.n(y),p=n(320);if(Array.prototype.includes||s.a.shim(),Object.assign||(Object.assign=l.a),Object.values||h.a.shim(),Number.isNaN||(Number.isNaN=f.a),!HTMLCanvasElement.prototype.toBlob){Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image/png",n=arguments[2],t=this.toDataURL(r,n),a=void 0;if(t.indexOf(";base64,")>=0){var o=t.split(";base64,"),i=o[1];a=Object(p.a)(i)}else{a=t.split(",")[1]}e(new Blob([a],{type:r}))}})}},883:function(e,r,n){"use strict";var t=n(947),a=n(949),o="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,s=function(e){return"function"==typeof e&&"[object Function]"===i.call(e)},u=Object.defineProperty&&function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var r in e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,r,n,t){(!(r in e)||s(t)&&t())&&(u?Object.defineProperty(e,r,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[r]=n)},c=function(e,r){var n=arguments.length>2?arguments[2]:{},i=t(r);o&&(i=i.concat(Object.getOwnPropertySymbols(r))),a(i,function(t){l(e,t,r[t],n[t])})};c.supportsDescriptors=!!u,e.exports=c},888:function(e,r,n){var t=n(892);e.exports=t.call(Function.call,Object.prototype.hasOwnProperty)},891:function(e,r,n){"use strict";var t=n(937)();e.exports=function(e){return e!==t&&null!==e}},892:function(e,r,n){"use strict";var t=n(950);e.exports=Function.prototype.bind||t},893:function(e,r,n){"use strict";var t=Function.prototype.toString,a=/^\s*class /,o=function(e){try{var r=t.call(e),n=r.replace(/\/\/.*\n/g,""),o=n.replace(/\/\*[.\s\S]*\*\//g,""),i=o.replace(/\n/gm," ").replace(/ {2}/g," ");return a.test(i)}catch(e){return!1}},i=function(e){try{return!o(e)&&(t.call(e),!0)}catch(e){return!1}},s=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(u)return i(e);if(o(e))return!1;var r=s.call(e);return"[object Function]"===r||"[object GeneratorFunction]"===r}},901:function(e,r,n){"use strict";e.exports=n(902)},902:function(e,r,n){"use strict";var t=n(888),a=n(951),o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,s=n(904),u=n(905),l=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,c=n(906),h=n(907),y=n(908),f=n(954),p=parseInt,m=n(892),g=m.call(Function.call,Array.prototype.slice),d=m.call(Function.call,String.prototype.slice),b=m.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),v=m.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),w=m.call(Function.call,RegExp.prototype.exec),T=["…","","￾"].join(""),S=new RegExp("["+T+"]","g"),M=m.call(Function.call,RegExp.prototype.test,S),k=/^[-+]0x[0-9a-f]+$/i,j=m.call(Function.call,RegExp.prototype.test,k),E=["\t\n\v\f\r   "," \u2028","\u2029\ufeff"].join(""),O=new RegExp("(^["+E+"]+)|(["+E+"]+$)","g"),K=m.call(Function.call,String.prototype.replace),x=function(e){return K(e,O,"")},P=n(955),A=n(957),D=c(c({},P),{Call:function(e,r){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new TypeError(e+" is not a function");return e.apply(r,n)},ToPrimitive:a,ToNumber:function(e){var r=f(e)?e:a(e,Number);if("symbol"==typeof r)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(b(r))return this.ToNumber(p(d(r,2),2));if(v(r))return this.ToNumber(p(d(r,2),8));if(M(r)||j(r))return NaN;var n=x(r);if(n!==r)return this.ToNumber(n)}return Number(r)},ToInt16:function(e){var r=this.ToUint16(e);return r>=32768?r-65536:r},ToInt8:function(e){var r=this.ToUint8(e);return r>=128?r-256:r},ToUint8:function(e){var r=this.ToNumber(e);if(s(r)||0===r||!u(r))return 0;var n=h(r)*Math.floor(Math.abs(r));return y(n,256
//# sourceMappingURL=base_polyfills.js.map