ReCast is a multi platform restreaming tool, you can stream with one servers to multiple services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
213 KiB

webpackJsonp([1],{"+aDy":function(t,e,n){var r=n("guFp"),o=n("MfBZ"),i=n("f8aT"),a=function(t,e,n){var s,c,u,f=t&a.F,l=t&a.G,p=t&a.S,d=t&a.P,h=t&a.B,v=t&a.W,m=l?o:o[e]||(o[e]={}),y=l?r:p?r[e]:(r[e]||{}).prototype;l&&(n=e);for(s in n)(c=!f&&y&&s in y)&&s in m||(u=c?y[s]:n[s],m[s]=l&&"function"!=typeof y[s]?n[s]:h&&c?i(u,r):v&&y[s]==u?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(u):d&&"function"==typeof u?i(Function.call,u):u,d&&((m.prototype||(m.prototype={}))[s]=u))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,t.exports=a},"/ocq":function(t,e,n){"use strict";function r(t,e){}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function i(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){void 0===e&&(e={});var r,o=n||c;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}function c(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Bt(n.shift()),o=n.length>0?Bt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function u(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ft(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ft(e)):r.push(Ft(e)+"="+Ft(t)))}),r.join("&")}return Ft(e)+"="+Ft(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=l(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:d(e,o),matched:t?p(t):[]};return n&&(a.redirectedFrom=d(n,o)),Object.freeze(a)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function d(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||u;return(n||"/")+i(r)+o}function h(t,e){return e===Ht?t===e:!!e&&(t.path&&e.path?t.path.replace(Ut,"")===e.path.replace(Ut,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?v(r,o):String(r)===String(o)})}function m(t,e){return 0===t.path.replace(Ut,"/").indexOf(e.path.replace(Ut,"/"))&&(!e.hash||t.hash===e.hash)&&y(t.query,e.query)}function y(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function b(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=b(e.children)))return e}}function _(t){if(!_.installed||Pt!==t){_.installed=!0,Pt=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",It),t.component("router-link",zt);var r=t.conf
* vue-notifyjs v0.2.0
* (c) 2017-present cristij <joracristi@gmail.com>
* Released under the MIT License.
*/
var r={name:"notification",props:{message:String,title:String,icon:String,verticalAlign:{type:String,default:"top",validator:function(t){return-1!==["top","bottom"].indexOf(t)}},horizontalAlign:{type:String,default:"right",validator:function(t){return-1!==["left","center","right"].indexOf(t)}},type:{type:String,default:"info",validator:function(t){return-1!==["info","primary","danger","warning","success"].indexOf(t)}},timeout:{type:Number,default:5e3,validator:function(t){return t>0}},timestamp:{type:Date,default:function(){return new Date}},component:{type:[Object,Function]}},data:function(){return{elmHeight:0}},computed:{hasIcon:function(){return this.icon&&this.icon.length>0},alertType:function(){return"alert-"+this.type},customPosition:function(){var t=this,e=this.elmHeight+10,n=this.$notifications.state.filter(function(e){return e.horizontalAlign===t.horizontalAlign&&e.verticalAlign===t.verticalAlign&&e.timestamp<=t.timestamp}).length;this.$notifications.settings.overlap&&(n=1);var r=(n-1)*e+20,o={};return"top"===this.verticalAlign?o.top=r+"px":o.bottom=r+"px",o}},methods:{close:function(){this.$emit("close",this.timestamp)}},mounted:function(){this.elmHeight=this.$el.clientHeight,this.timeout&&setTimeout(this.close,this.timeout)},render:function(t){this.component;return t("div",{on:{click:this.close},attrs:{"data-notify":"container",role:"alert","data-notify-position":"top-center"},class:["alert open ",{"alert-with-icon":this.icon},this.verticalAlign,this.horizontalAlign,this.alertType],style:this.customPosition},[t("button",{attrs:{type:"button","aria-hidden":"true","data-notify":"dismiss"},class:"close col-xs-1",on:{click:this.close}},["×"]),this.icon&&t("span",{attrs:{"data-notify":"icon"},class:["alert-icon",this.icon]},[]),t("span",{attrs:{"data-notify":"message"}},[void 0!==this.title&&t("span",{class:"title"},[t("b",null,[this.title,t("br",null,[])])]),void 0!==this.message&&this.message,void 0!==this.component&&t(this.component,null,[])])])}},o={props:{transitionName:{type:String,default:"list"},transitionMode:{type:String,default:"in-out"},overlap:{type:Boolean,default:!1}},data:function(){return{notifications:this.$notifications.state}},methods:{removeNotification:function(t){this.$notifications.removeNotification(t)}},created:function(){this.$notifications.settings.overlap=this.overlap},render:function(){var t=this,e=arguments[0],n=this.$notifications.state.map(function(n,o){return e(r,{attrs:{horizontalAlign:n.horizontalAlign,verticalAlign:n.verticalAlign,icon:n.icon,message:n.message,title:n.title,timeout:n.timeout,type:n.type,component:n.component,timestamp:n.timestamp},key:n.timestamp.getTime(),on:{close:t.removeNotification}},[])});return e("div",{class:"notifications vue-notifyjs"},[e("transition-group",{attrs:{name:this.transitionName,mode:this.transitionMode}},[n])])},watch:{overlap:function(t){this.$notifications.settings.overlap=t}}},i={state:[],settings:{overlap:!1,verticalAlign:"top",horizontalAlign:"right",type:"info",timeout:5e3},setOptions:function(t){this.settings=Object.assign({},this.settings,t)},removeNotification:function(t){var e=this.state.findIndex(function(e){return e.timestamp===t});-1!==e&&this.state.splice(e,1)},addNotification:function(t){("string"==typeof t||t instanceof String)&&(t={message:t}),t.timestamp=new Date,t.timestamp.setMilliseconds(t.timestamp.getMilliseconds()+this.state.length),t=Object.assign({},this.settings,t),this.state.push(t)},notify:function(t){var e=this;Array.isArray(t)?t.forEach(function(t){e.addNotification(t)}):this.addNotification(t)}},a={install:function(t,e){t.mixin({data:function(){return{notificationStore:i}},methods:{notify:function(t){this.notificationStore.notify(t)}}}),Object.defineProperty(t.prototype,"$notify",{get:function(){return this.$root.notify}}),Object.defineProperty(t.prototype,"$notifications",{get:function(){return this.$root.notificationStore}}),t.component("Notifications",o),e&&i.setOptions(e)}};t.exports=a},"21It":function(t,e,n){"use strict";var r=n("FtD3");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&
* Vue.js v2.5.16
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
var si=Object.freeze({}),ci=Object.prototype.toString,ui=h("slot,component",!0),fi=h("key,ref,slot,slot-scope,is"),li=Object.prototype.hasOwnProperty,pi=/-(\w)/g,di=y(function(t){return t.replace(pi,function(t,e){return e?e.toUpperCase():""})}),hi=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),vi=/\B([A-Z])/g,mi=y(function(t){return t.replace(vi,"-$1").toLowerCase()}),yi=Function.prototype.bind?b:g,gi=function(t,e,n){return!1},bi=function(t){return t},_i="data-server-rendered",wi=["component","directive","filter"],xi=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Oi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:gi,isReservedAttr:gi,isUnknownElement:gi,getTagNamespace:O,parsePlatformTagName:bi,mustUseProp:gi,_lifecycleHooks:xi},Ci=/[^\w.$]/,$i="__proto__"in{},ki="undefined"!=typeof window,Ai="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Ei=Ai&&WXEnvironment.platform.toLowerCase(),Ti=ki&&window.navigator.userAgent.toLowerCase(),Si=Ti&&/msie|trident/.test(Ti),ji=Ti&&Ti.indexOf("msie 9.0")>0,Li=Ti&&Ti.indexOf("edge/")>0,Ni=(Ti&&Ti.indexOf("android"),Ti&&/iphone|ipad|ipod|ios/.test(Ti)||"ios"===Ei),Pi=(Ti&&/chrome\/\d+/.test(Ti),{}.watch),Ii=!1;if(ki)try{var Di={};Object.defineProperty(Di,"passive",{get:function(){Ii=!0}}),window.addEventListener("test-passive",null,Di)}catch(t){}var Ri,Mi,Fi=function(){return void 0===Ri&&(Ri=!ki&&!Ai&&void 0!==e&&"server"===e.process.env.VUE_ENV),Ri},Bi=ki&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ui="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys);Mi="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hi=O,qi=0,Vi=function(){this.id=qi++,this.subs=[]};Vi.prototype.addSub=function(t){this.subs.push(t)},Vi.prototype.removeSub=function(t){v(this.subs,t)},Vi.prototype.depend=function(){Vi.target&&Vi.target.addDep(this)},Vi.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Vi.target=null;var zi=[],Gi=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Wi={child:{configurable:!0}};Wi.child.get=function(){return this.componentInstance},Object.defineProperties(Gi.prototype,Wi);var Ji=function(t){void 0===t&&(t="");var e=new Gi;return e.text=t,e.isComment=!0,e},Ki=Array.prototype,Yi=Object.create(Ki);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Ki[t];E(Yi,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var Xi=Object.getOwnPropertyNames(Yi),Zi=!0,Qi=function(t){if(this.value=t,this.dep=new Vi,this.vmCount=0,E(t,"__ob__",this),Array.isArray(t)){($i?D:R)(t,Yi,Xi),this.observeArray(t)}else this.walk(t)};Qi.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)F(t,e[n])},Qi.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)M(t[e])};var ta=Oi.optionMergeStrategies;ta.data=function(t,e,n){return n?V(t,e,n):e&&"function"!=typeof e?t:V(t,e)},xi.forEach(function(t){ta[t]=z}),wi.forEach(function(t){ta[t+"s"]=G}),ta.watch=function(t,e,n,r){if(t===Pi&&(t=void 0),e===Pi&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;va
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(n(t)||r(t)||!!t._isBuffer)}},Rf8U:function(t,e,n){"use strict";var r,o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function n(t,e){if(!n.installed){if(n.installed=!0,!e)return void console.error("You have to install axios");t.axios=e,Object.defineProperties(t.prototype,{axios:{get:function(){return e}},$http:{get:function(){return e}}})}}"object"==i(e)?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},TNV1:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},VN6J:function(t,e,n){"use strict";(function(t){function n(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Lt))}}function o(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,r=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+r)?t:s(a(t))}function c(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===i(e,"position")?c(e):e:t?t.ownerDocument.documentElement:document.documentElement}function u(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||c(t.firstElementChild)===t)}function f(t){return null!==t.parentNode?f(t.parentNode):t}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(t!==a&&e!==a||r.contains(o))return u(a)?a:c(a);var s=f(t);return s.host?l(s.host,e):l(t,f(e).host)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[n]}return t[n]}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(e,"top"),o=p(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function h(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Rt()?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function m(){var t=document.body,e=document.documentElement,n=Rt()&&getComputedStyle(e);return{height:v("Height",t,e,n),width:v("Width",t,e,n)}}function y(t){return Ut({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var e={};if(Rt())try{e=t.getBoundingClientRect();var n=p(t,"top"),r=p(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}catch(t){}else e=t.getBoundingClientRect();var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a="HTML"===t.nodeName?m():{},s=a.width||t.clientWidth||o.right-o.left,c=a.height||t.clientHeight||o.bottom-o.top,u=t.offsetWidth-s,f=t.offsetHeight-c;if(u||f){var l=i(t);u-=h(l,"x"),f-=h(l,"y"),o.width-=u,o.height-=f}return y(o)}function b(t,e){var n=Rt(),r="HTML"===e.nodeName,o=g(t),a=g(e),c=s(t),u=i(e),f=parseFloat(u.borderTopWidth,10),l=parseFloat(u.borderLeftWidth,10),p=y({top:o.top-a.top-f,left:o.left-a.left-l,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!n&&r){var h=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);p.top-=f-h,p.bottom-=f-h,p.left-=l-v,p.right-=l-v,p.marginTop=h,p.marginLeft=v}ret
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.4+314e4831
*/
!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function r(t){return"function"==typeof t}function o(t){U=t}function i(t){H=t}function a(){return void 0!==B?function(){B(c)}:s()}function s(){var t=setTimeout;return function(){return t(c,1)}}function c(){for(var t=0;t<F;t+=2){(0,J[t])(J[t+1]),J[t]=void 0,J[t+1]=void 0}F=0}function u(t,e){var n=this,r=new this.constructor(l);void 0===r[Y]&&T(r);var o=n._state;if(o){var i=arguments[o-1];H(function(){return k(o,r,i,n._result)})}else O(n,r,t,e);return r}function f(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(l);return b(n,t),n}function l(){}function p(){return new TypeError("You cannot resolve a promise with itself")}function d(){return new TypeError("A promises callback cannot return that same promise.")}function h(t){try{return t.then}catch(t){return tt.error=t,tt}}function v(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function m(t,e,n){H(function(t){var r=!1,o=v(n,e,function(n){r||(r=!0,e!==n?b(t,n):w(t,n))},function(e){r||(r=!0,x(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,x(t,o))},t)}function y(t,e){e._state===Z?w(t,e._result):e._state===Q?x(t,e._result):O(e,void 0,function(e){return b(t,e)},function(e){return x(t,e)})}function g(t,e,n){e.constructor===t.constructor&&n===u&&e.constructor.resolve===f?y(t,e):n===tt?(x(t,tt.error),tt.error=null):void 0===n?w(t,e):r(n)?m(t,e,n):w(t,e)}function b(e,n){e===n?x(e,p()):t(n)?g(e,n,h(n)):w(e,n)}function _(t){t._onerror&&t._onerror(t._result),C(t)}function w(t,e){t._state===X&&(t._result=e,t._state=Z,0!==t._subscribers.length&&H(C,t))}function x(t,e){t._state===X&&(t._state=Q,t._result=e,H(_,t))}function O(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+Z]=n,o[i+Q]=r,0===i&&t._state&&H(C,t)}function C(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?k(n,r,o,i):o(i);t._subscribers.length=0}}function $(t,e){try{return t(e)}catch(t){return tt.error=t,tt}}function k(t,e,n,o){var i=r(n),a=void 0,s=void 0,c=void 0,u=void 0;if(i){if(a=$(n,o),a===tt?(u=!0,s=a.error,a.error=null):c=!0,e===a)return void x(e,d())}else a=o,c=!0;e._state!==X||(i&&c?b(e,a):u?x(e,s):t===Z?w(e,a):t===Q&&x(e,a))}function A(t,e){try{e(function(e){b(t,e)},function(e){x(t,e)})}catch(e){x(t,e)}}function E(){return et++}function T(t){t[Y]=et++,t._state=void 0,t._result=void 0,t._subscribers=[]}function S(){return new Error("Array Methods must be provided an Array")}function j(t){return new nt(this,t).promise}function L(t){var e=this;return new e(M(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function N(t){var e=this,n=new e(l);return x(n,t),n}function P(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function I(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function D(){var t=void 0;if(void 0!==n)t=n;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var r=null;try{r=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===r&&!e.cast)return}t.Promise=rt}var R=void 0;R=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var M=R,F=0,B=void 0,U=void 0,H=function(t,e){J[F]=t,J[F+1]=e,2===(F+=2)&&(U?U(c):K())},q="undefined"!=typeof window?window:void 0,V=q||{},z=V.MutationObserver||V.WebKitMutationObserver,G="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),W="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,J=new Array(1e3),K=void 0;K=G?function(){return function(){return e.nextTick(