!function(){vara,b,c,d;!function(){vare={},f={};a=function(a,b,c){e[a]={deps:b,callback:c}},d=c=b=function(a){functionc(b){if("."!==b.charAt(0))returnb;for(varc=b.split("/"),d=a.split("/").slice(0,-1),e=0,f=c.length;f>e;e++){varg=c[e];if(".."===g)d.pop();else{if("."===g)continue;d.push(g)}}returnd.join("/")}if(d._eak_seen=e,f[a])returnf[a];if(f[a]={},!e[a])thrownewError("Could not find module "+a);for(varg,h=e[a],i=h.deps,j=h.callback,k=[],l=0,m=i.length;m>l;l++)"exports"===i[l]?k.push(g={}):k.push(b(c(i[l])));varn=j.apply(this,k);returnf[a]=g||n}}(),a("promise/all",["./utils","exports"],function(a,b){"use strict";functionc(a){varb=this;if(!d(a))thrownewTypeError("You must pass an array to all.");returnnewb(function(b,c){functiond(a){returnfunction(b){f(a,b)}}functionf(a,c){h[a]=c,0===--i&&b(h)}varg,h=[],i=a.length;0===i&&b([]);for(varj=0;j<a.length;j++)g=a[j],g&&e(g.then)?g.then(d(j),c):f(j,g)})}vard=a.isArray,e=a.isFunction;b.all=c}),a("promise/asap",["exports"],function(a){"use strict";functionb(){returnfunction(){process.nextTick(e)}}functionc(){vara=0,b=newi(e),c=document.createTextNode("");returnb.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}functiond(){returnfunction(){j.setTimeout(e,1)}}functione(){for(vara=0;a<k.length;a++){varb=k[a],c=b[0],d=b[1];c(d)}k=[]}functionf(a,b){varc=k.push([a,b]);1===c&&g()}varg,h="undefined"!=typeofwindow?window:{},i=h.MutationObserver||h.WebKitMutationObserver,j="undefined"!=typeofglobal?global:this,k=[];g="undefined"!=typeofprocess&&"[object process]"==={}.toString.call(process)?b():i?c():d(),a.asap=f}),a("promise/cast",["exports"],function(a){"use strict";functionb(a){if(a&&"object"==typeofa&&a.constructor===this)returna;varb=this;returnnewb(function(b){b(a)})}a.cast=b}),a("promise/config",["exports"],function(a){"use strict";functionb(a,b){return2!==arguments.length?c[a]:(c[a]=b,void0)}varc={instrument:!1};a.config=c,a.configure=b}),a("promise/polyfill",["./promise","./utils","exports"],function(a,b,c){"use strict";functiond(){vara="Promise"inwindow&&"cast"inwindow.Promise&&"resolve"inwindow.Promise&&"reject"inwindow.Promise&&"all"inwindow.Promise&&"race"inwindow.Promise&&function(){vara;returnnewwindow.Promise(function(b){a=b}),f(a)}();a||(window.Promise=e)}vare=a.Promise,f=b.isFunction;c.polyfill=d}),a("promise/promise",["./config","./utils","./cast","./all","./race","./resolve","./reject","./asap","exports"],function(a,b,c,d,e,f,g,h,i){"use strict";functionj(a){if(!w(a))thrownewTypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(thisinstanceofj))thrownewTypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._subscribers=[],k(a,this)}functionk(a,b){functionc(a){p(b,a)}functiond(a){r(b,a)}try{a(c,d)}catch(e){d(e)}}functionl(a,b,c,d){vare,f,g,h,i=w(c);if(i)try{e=c(d),g=!0}catch(j){h=!0,f=j}elsee=d,g=!0;o(b,e)||(i&&g?p(b,e):h?r(b,f):a===F?p(b,e):a===G&&r(b,e))}functionm(a,b,c,d){vare=a._subscribers,f=e.length;e[f]=b,e[f+F]=c,e[f+G]=d}functionn(a,b){for(varc,d,e=a._subscribers,f=a._detail,g=0;g<e.length;g+=3)c=e[g],d=e[g+b],l(b,c,d,f);a._subscribers=null}functiono(a,b){varc,d=null;try{if(a===b)thrownewTypeError("A promises callback cannot return that same promise.");if(v(b)&&(d=b.then,w(d)))returnd.call(b,function(d){returnc?!0:(c=!0,b!==d?p(a,d):q(a,d),void0)},function(b){returnc?!0:(c=!0,r(a,b),void0)}),!0}catch(e){returnc?!0:(r(a,e),!0)}return!1}functionp(a,b){a===b?q(a,b):o(a,b)||q(a,b)}functionq(a,b){a._state===D&&(a._state=E,a._detail=b,u.async(s,a))}functionr(a,b){a._state===D&&(a._state=E,a._detail=b,u.async(t,a))}functions(a){n(a,a._state=F)}functiont(a){n(a,a._state=G)}varu=a.config,v=(a.configure,b.objectOrFunction),w=b.isFunction,x=(b.now,c.cast),y=d.all,z=e.race,A=f.resolve,B=g.reject,C=h.asap;u.async=C;varD=void0,E=0,F=1,G=2;j.prototype={constructor:j,_state:void0,_detail:void0,_subscribers:void0,then:function(a,b){varc=this,d=newthis.constructor(function(){});if(this._state){vare=arguments;u.async(function(){l(c._state,d,e[c._state-1],c._detail)})}elsem(this,d,a,b);returnd},"catch":function(a){returnthis.then(null,a)}},j.all=y,j.cast=x,j.race=z,j.resolve=A,j.reject=B,i.Promise=j}),a("promise/race",["./utils","exports"],function(a,b){"use strict";functionc(a){varb=this;if(!d(a))thrownewTypeError("You must pass an array to race.");returnnewb(function(b,c){for(vard,e=0;e<a.length;e++)d=a[e],d&&"function"==typeofd.then?d.then(b,c):b(d)})}vard=a.isArray;b.race=c}),a("promise/reject",["exports"],function(a){"use strict";functionb(a){varb=this;returnnewb(function(b,c){c(a)})}a.reject=b}),a("promise/resolve",["exports"],function(a){"use strict";functionb(a){varb=this;returnnewb(function(b){b(a)})}a.resolve=b}),a("promise/utils",["exports"],function(a){"use strict";functionb(a){returnc(a)||"object"==typeofa&&null!==a}functionc(a){return"function"==typeofa}functiond(a){return"[object Array]"===Object.prototype.toString.call(a)}vare=Date.now||function(){return(newDate).getTime()};a.objectOrFunction=b,a.isFunction=c,a.isArray=d,a.now=e}),b("promise/polyfill").polyfill()}();