text: /*!
   * @pixi/polyfill - v5.1.0
   * Compiled Fri, 19 Jul 2019 21:54:36 UTC
   *
   * @pixi/polyfill is licensed under the MIT License.
   * http://www.opensource.org/licenses/mit-license
   */
  !function(){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var t,e=(function(t,e){!function(n){var t=n.Promise,r=t&&"resolve"in t&&"reject"in t&&"all"in t&&"race"in t&&function(){var n;return new t(function(t){n=t}),"function"==typeof n}();e?(e.Promise=r?t:_,e.Polyfill=_):r||(n.Promise=_);var o="pending",i="sealed",a="fulfilled",c="rejected",f=function(){};function u(n){return"[object Array]"===Object.prototype.toString.call(n)}var s,l="undefined"!=typeof setImmediate?setImmediate:setTimeout,w=[];function m(){for(var n=0;n<w.length;n++)w[n][0](w[n][1]);w=[],s=!1}function h(n,t){w.push([n,t]),s||(s=!0,l(m,0))}function y(n){var t=n.owner,e=t.state_,r=t.data_,o=n[e],i=n.then;if("function"==typeof o){e=a;try{r=o(r)}catch(n){g(i,n)}}p(i,r)||(e===a&&d(i,r),e===c&&g(i,r))}function p(n,t){var e;try{if(n===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"==typeof t)){var r=t.then;if("function"==typeof r)return r.call(t,function(r){e||(e=!0,t!==r?d(n,r):b(n,r))},function(t){e||(e=!0,g(n,t))}),!0}}catch(t){return e||g(n,t),!0}return!1}function d(n,t){n!==t&&p(n,t)||b(n,t)}function b(n,t){n.state_===o&&(n.state_=i,n.data_=t,h(A,n))}function g(n,t){n.state_===o&&(n.state_=i,n.data_=t,h(j,n))}function v(n){var t=n.then_;n.then_=void 0;for(var e=0;e<t.length;e++)y(t[e])}function A(n){n.state_=a,v(n)}function j(n){n.state_=c,v(n)}function _(n){if("function"!=typeof n)throw new TypeError("Promise constructor takes a function argument");if(this instanceof _==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.then_=[],function(n,t){function e(n){g(t,n)}try{n(function(n){d(t,n)},e)}catch(n){e(n)}}(n,this)}_.prototype={constructor:_,state_:o,then_:null,data_:void 0,then:function(n,t){var e={owner:this,then:new this.constructor(f),fulfilled:n,rejected:t};return this.state_===a||this.state_===c?h(y,e):this.then_.push(e),e.then},catch:function(n){return this.then(null,n)}},_.all=function(n){if(!u(n))throw new TypeError("You must pass an array to Promise.all().");return new this(function(t,e){var r=[],o=0;function i(n){return o++,function(e){r[n]=e,--o||t(r)}}for(var a,c=0;c<n.length;c++)(a=n[c])&&"function"==typeof a.then?a.then(i(c),e):r[c]=a;o||t(r)})},_.race=function(n){if(!u(n))throw new TypeError("You must pass an array to Promise.race().");return new this(function(t,e){for(var r,o=0;o<n.length;o++)(r=n[o])&&"function"==typeof r.then?r.then(t,e):t(r)})},_.resolve=function(n){return n&&"object"==typeof n&&n.constructor===this?n:new this(function(t){t(n)})},_.reject=function(n){return new this(function(t,e){e(n)})}}("undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:n)}(t={exports:{}},t.exports),t.exports),r=(e.Promise,e.Polyfill);window.Promise||(window.Promise=r);var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var c=function(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de","5"===Object.getOwnPropertyNames(n)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(n){return t[n]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(n){return!1}}()?Object.assign:function(n,t){for(var e,r,c=arguments,f=function(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}(n),u=1;u<arguments.length;u++){for(var s in e=Object(c[u]))i.call(e,s)&&(f[s]=e[s]);if(o){r=o(e);for(var l=0;l<r.length;l++)a.call(e,r[l])&&(f[r[l]]=e[r[l]])}}return f};Object.assign||(Object.assign=c);if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!n.performance||!n.performance.now){var f=Date.now();n.performance||(n.performance={}),n.performance.now=function(){return Date.now()-f}}for(var u=Date.now(),s=["ms","moz","webkit","o"],l=0;l<s.length&&!n.requestAnimationFrame;++l){var w=s[l];n.requestAnimationFrame=n[w+"RequestAnimationFrame"],n.cancelAnimationFrame=n[w+"CancelAnimationFrame"]||n[w+"CancelRequestAnimationFrame"]}n.requestAnimationFrame||(n.requestAnimationFrame=function(n){if("function"!=typeof n)throw new TypeError(n+"is not a function");var t=Date.now(),e=16+u-t;return e<0&&(e=0),u=t,setTimeout(function(){u=Date.now(),n(performance.now())},e)}),n.cancelAnimationFrame||(n.cancelAnimationFrame=function(n){return clearTimeout(n)}),Math.sign||(Math.sign=function(n){return 0===(n=Number(n))||isNaN(n)?n:n>0?1:-1}),Number.isInteger||(Number.isInteger=function(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}),window.ArrayBuffer||(window.ArrayBuffer=Array),window.Float32Array||(window.Float32Array=Array),window.Uint32Array||(window.Uint32Array=Array),window.Uint16Array||(window.Uint16Array=Array),window.Uint8Array||(window.Uint8Array=Array),window.Int32Array||(window.Int32Array=Array)}();
  //# sourceMappingURL=polyfill.min.js.map
  