@theoplayer/extended 2.92.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/theoplayer.e.js CHANGED
@@ -30,7 +30,7 @@
30
30
  THEOplayer is based on patented technology developed by
31
31
  THEO Technologies (https://www.theoplayer.com).
32
32
 
33
- Version: 2021.4.2 (2.92.0)
34
- Created: 2021-12-17T14:44:18.982Z
33
+ Version: 2022.1.0 (3.0.0)
34
+ Created: 2022-01-18T11:07:28.493Z
35
35
  */
36
- !function(t){!function(){"use strict";var n,r=t.window,i=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,a=t.Error,c=t.TypeError,h=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,p=t.Uint8Array,w=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==r?r:"undefined"!=typeof global?global:void 0!==t?t:{});function m(t,n,r){return t(r={path:n,exports:{},require:function(t,n){return function(){throw new a("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&r.path)}},r.exports),r.exports}var y=m(function(s,f){s.exports=function t(r,i,e){function u(s,f){if(!i[s]){if(!r[s]){var c="function"==typeof n&&n;if(!f&&c)return c(s,!0);if(o)return o(s,!0);var h=new a("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var v=i[s]={exports:{}};r[s][0].call(v.exports,function(t){var n=r[s][1][t];return u(n||t)},v,v.exports,t,r,i,e)}return i[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,r){n.exports=function(t){var n=t.l;function r(t){var r=new n(t),i=r.promise();return r.setHowMany(1),r.setUnwrap(),r.init(),i}t.any=function(t){return r(t)},t.prototype.any=function(){return r(this)}}},{}],2:[function(t,n,r){var i;try{throw new a}catch(t){i=t}var e=t("./schedule"),o=t("./queue"),s=t("./util");function f(){this.g=!1,this.I=!1,this.R=new o(16),this.N=new o(16),this.M=!1,this.U=!0;var t=this;this.drainQueues=function(){t.F()},this.q=e}function c(t,n,r){this.R.push(t,n,r),this.G()}function h(t,n,r){this.N.push(t,n,r),this.G()}function v(t){this.N.j(t),this.G()}function l(t){for(;t.length()>0;)_(t)}function _(t){var n=t.shift();if("function"!=typeof n)n.Y();else{var r=t.shift(),i=t.shift();n.call(r,i)}}f.prototype.setScheduler=function(t){var n=this.q;return this.q=t,this.g=!0,n},f.prototype.hasCustomScheduler=function(){return this.g},f.prototype.enableTrampoline=function(){this.U=!0},f.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this.U=!1)},f.prototype.haveItemsQueued=function(){return this.I||this.M},f.prototype.fatalError=function(t,n){n?(process.stderr.write("Fatal "+(t instanceof a?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},f.prototype.throwLater=function(t,n){if(1===arguments.length&&(n=t,t=function(){throw n}),void 0!==u)u(function(){t(n)},0);else try{this.q(function(){t(n)})}catch(t){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,r){this.U?c.call(this,t,n,r):this.q(function(){u(function(){t.call(n,r)},100)})},f.prototype.invoke=function(t,n,r){this.U?h.call(this,t,n,r):this.q(function(){t.call(n,r)})},f.prototype.settlePromises=function(t){this.U?v.call(this,t):this.q(function(){t.Y()})}):(f.prototype.invokeLater=c,f.prototype.invoke=h,f.prototype.settlePromises=v),f.prototype.F=function(){l(this.N),this.K(),this.M=!0,l(this.R)},f.prototype.G=function(){this.I||(this.I=!0,this.q(this.drainQueues))},f.prototype.K=function(){this.I=!1},n.exports=f,n.exports.firstLineError=i},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,r){n.exports=function(t,n,r,i){var e=!1,u=function(t,n){this.Z(n)},o=function(t,n){n.promiseRejectionQueued=!0,n.bindingPromise.J(u,u,null,this,t)},s=function(t,n){0==(50397184&this.nt)&&this.ut(n.target)},f=function(t,n){n.promiseRejectionQueued||this.Z(t)};t.prototype.bind=function(u){e||(e=!0,t.prototype.ot=i.propagateFromFunction(),t.prototype.at=i.boundValueFunction());var a=r(u),c=new t(n);c.ot(this,1);var h=this.ct();if(c.ft(a),a instanceof t){var v={promiseRejectionQueued:!1,promise:c,target:h,bindingPromise:a};h.J(n,o,void 0,c,v),a.J(s,f,void 0,c,v),c.vt(a)}else c.ut(h);return c},t.prototype.ft=function(t){void 0!==t?(this.nt=2097152|this.nt,this.dt=t):this.nt=-2097153&this.nt},t.prototype._t=function(){return 2097152==(2097152&this.nt)},t.bind=function(n,r){return t.resolve(r).bind(n)}}},{}],4:[function(t,n,r){var i;"undefined"!=typeof Promise&&(i=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=i)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,r){var i=h.create;if(i){var e=i(null),u=i(null);e[" size"]=u[" size"]=0}n.exports=function(n){var r=t("./util"),i=r.canEvaluate;function e(t){var i=this.pop(),e=function(t,i){var e;if(null!=t&&(e=t[i]),"function"!=typeof e){var u="Object "+r.classString(t)+" has no method '"+r.toString(i)+"'";throw new n.TypeError(u)}return e}(t,i);return e.apply(t,this)}function u(t){return t[this]}function o(t){var n=+this;return n<0&&(n=v.max(0,n+t.length)),t[n]}r.isIdentifier,n.prototype.call=function(t){var n=[].slice.call(arguments,1);return n.push(t),this.J(e,void 0,void 0,n,void 0)},n.prototype.get=function(t){var n,r="number"==typeof t;if(r)n=o;else if(i){var e=(void 0)();n=null!==e?e:u}else n=u;return this.J(n,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=u.tryCatch,s=u.errorObj,f=n.wt;n.prototype.break=n.prototype.cancel=function(){if(!e.cancellation())return this.yt("cancellation is disabled");for(var t=this,n=t;t.kt();){if(!t.bt(n)){n.At()?n.Tt().cancel():n.St();break}var r=t.Et;if(null==r||!r.kt()){t.At()?t.Tt().cancel():t.St();break}t.At()&&t.Tt().cancel(),t.It(),n=t,t=r}},n.prototype.Rt=function(){this.Nt--},n.prototype.Dt=function(){return void 0===this.Nt||this.Nt<=0},n.prototype.bt=function(t){return t===this?(this.Nt=0,this.Ct(),!0):(this.Rt(),!!this.Dt()&&(this.Ct(),!0))},n.prototype.St=function(){this.Dt()&&this.Pt()},n.prototype.Pt=function(){this.kt()&&(this.Ot(),f.invoke(this.Bt,this,void 0))},n.prototype.Bt=function(){this.Lt()>0&&this.Y()},n.prototype.Mt=function(){this.xt=void 0},n.prototype.kt=function(){return this.isPending()&&!this.Ut()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.prototype.Ft=function(t,n){if(u.isArray(t))for(var r=0;r<t.length;++r)this.Ft(t[r],n);else if(void 0!==t)if("function"==typeof t){if(!n){var i=o(t).call(this.at());i===s&&(this.Ht(i.e),f.throwLater(i.e))}}else t._resultCancelled(this)},n.prototype.Ct=function(){var t=this.Vt();this.Mt(),f.invoke(this.Ft,this,t)},n.prototype.Xt=function(){this.kt()&&(this.Ft(this.Vt(),!0),this.Mt())},n.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=t("./es5").keys,e=r.tryCatch,u=r.errorObj;return function(t,o,s){return function(f){var c=s.at();t:for(var h=0;h<t.length;++h){var v=t[h];if(v===a||null!=v&&v.prototype instanceof a){if(f instanceof v)return e(o).call(c,f)}else if("function"==typeof v){var l=e(v).call(c,f);if(l===u)return l;if(l)return e(o).call(c,f)}else if(r.isObject(f)){for(var _=i(v),d=0;d<_.length;++d){var p=_[d];if(v[p]!=f[p])continue t}return e(o).call(c,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,r){n.exports=function(t){var n=!1,r=[];function i(){this.zt=new i.CapturedTrace(e())}function e(){var t=r.length-1;if(t>=0)return r[t]}return t.prototype.Wt=function(){},t.prototype.qt=function(){},t.prototype.Gt=function(){return null},t.jt=t.prototype.jt=function(){},i.prototype.qt=function(){void 0!==this.zt&&(this.zt.Wt=null,r.push(this.zt))},i.prototype.Gt=function(){if(void 0!==this.zt){var t=r.pop(),n=t.Wt;return t.Wt=null,n}return null},i.CapturedTrace=null,i.create=function(){if(n)return new i},i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var r=t.prototype.qt,u=t.prototype.Gt,o=t.jt,s=t.prototype.jt,f=t.prototype.Wt;i.deactivateLongStackTraces=function(){t.prototype.qt=r,t.prototype.Gt=u,t.jt=o,t.prototype.jt=s,t.prototype.Wt=f,n=!1},n=!0,t.prototype.qt=i.prototype.qt,t.prototype.Gt=i.prototype.Gt,t.jt=t.prototype.jt=e,t.prototype.Wt=function(){var t=this.jt();t&&null==t.Wt&&(t.Wt=this)}},i}},{}],9:[function(t,n,r){n.exports=function(n,r){var e,o,s,f=n.Yt,v=n.wt,_=t("./errors").Warning,d=t("./util"),p=t("./es5"),w=d.canAttachTrace,m=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,y=/\((?:timers\.js):\d+:\d+\)/,g=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,E=null,b=null,S=!1,I=!(0==d.env("BLUEBIRD_DEBUG")),T=!(0==d.env("BLUEBIRD_WARNINGS")||!I&&!d.env("BLUEBIRD_WARNINGS")),k=!(0==d.env("BLUEBIRD_LONG_STACK_TRACES")||!I&&!d.env("BLUEBIRD_LONG_STACK_TRACES")),A=0!=d.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(T||!!d.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var t=this.ct();t.nt=-1048577&t.nt|524288},n.prototype.Qt=function(){if(0==(524288&this.nt)){this.Kt();var t=this;u(function(){t.Zt()},1)}},n.prototype.Jt=function(){$("rejectionHandled",e,void 0,this)},n.prototype.$t=function(){this.nt=268435456|this.nt},n.prototype.in=function(){return 0!=(268435456&this.nt)},n.prototype.Zt=function(){if(this.un()){var t=this.hn();this.cn(),$("unhandledRejection",o,t,this)}},n.prototype.cn=function(){this.nt=262144|this.nt},n.prototype.fn=function(){this.nt=-262145&this.nt},n.prototype.vn=function(){return(262144&this.nt)>0},n.prototype.Kt=function(){this.nt=1048576|this.nt},n.prototype.dn=function(){this.nt=-1048577&this.nt,this.vn()&&(this.fn(),this.Jt())},n.prototype.un=function(){return(1048576&this.nt)>0},n.prototype.yt=function(t,n,r){return q(t,n,r||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:d.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:d.domainBind(n,t):void 0};var N=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!et.longStackTraces&&Q()){var t=n.prototype._n,i=n.prototype.Ht,e=n.prototype.wn;et.longStackTraces=!0,N=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");n.prototype._n=t,n.prototype.Ht=i,n.prototype.wn=e,r.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype._n=G,n.prototype.Ht=V,n.prototype.wn=X,r.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&Q()};var R=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r={detail:n,cancelable:!0};p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason});var i=new CustomEvent(t.toLowerCase(),r);return!d.global.dispatchEvent(i)}}if("function"==typeof Event){var t=new Event("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r=new Event(t.toLowerCase(),{cancelable:!0});return r.detail=n,p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason}),!d.global.dispatchEvent(r)}}var t=i.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),d.global.dispatchEvent(t),function(t,n){var r=i.createEvent("CustomEvent");return r.initCustomEvent(t.toLowerCase(),!1,!0,n),!d.global.dispatchEvent(r)}}catch(t){}return function(){return!1}}(),D=d.isNode?function(){return process.emit.apply(process,arguments)}:d.global?function(t){var n="on"+t.toLowerCase(),r=d.global[n];return!!r&&(r.apply(d.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function P(t,n){return{promise:n}}var O={promiseCreated:P,promiseFulfilled:P,promiseRejected:P,promiseResolved:P,promiseCancelled:P,promiseChained:function(t,n,r){return{promise:n,child:r}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,r){return{reason:n,promise:r}},rejectionHandled:P},C=function(t){var n=!1;try{n=D.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var r=!1;try{r=R(t,O[t].apply(null,arguments))}catch(t){v.throwLater(t),r=!0}return r||n};function F(){return!1}function L(t,n,r){var i=this;try{t(n,r,function(t){if("function"!=typeof t)throw new c("onCancel must be a function, got: "+d.toString(t));i.yn(t)})}catch(t){return t}}function M(t){if(!this.kt())return this;var n=this.Vt();void 0!==n?d.isArray(n)?n.push(t):this.vt([n,t]):this.vt(t)}function x(){return this.xt}function B(t){this.xt=t}function j(){this.Et=void 0,this.xt=void 0}function U(t,n){if(0!=(1&n)){this.Et=t;var r=t.Nt;void 0===r&&(r=0),t.Nt=r+1}0!=(2&n)&&t._t()&&this.ft(t.dt)}n.config=function(t){if("longStackTraces"in(t=h(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&N()),"warnings"in t){var r=t.warnings;et.warnings=!!r,A=et.warnings,d.isObject(r)&&"wForgottenReturn"in r&&(A=!!r.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new a("cannot enable cancellation after promises are in use");n.prototype.pn=j,n.prototype.ot=U,n.prototype.Vt=x,n.prototype.vt=B,n.prototype.yn=M,n.prototype.An=L,H=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.Tn=C):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.Tn=F)),n},n.prototype.Tn=F,n.prototype.An=function(t,n,r){try{t(n,r)}catch(t){return t}},n.prototype.Vt=function(){},n.prototype.vt=function(t){},n.prototype.yn=function(t){},n.prototype._n=function(){},n.prototype.Ht=function(){},n.prototype.wn=function(){},n.prototype.pn=function(){},n.prototype.ot=function(t,n){};var H=function(t,n){0!=(2&n)&&t._t()&&this.ft(t.dt)};function W(){var t=this.dt;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function G(){this.zt=new rt(this.jt())}function V(t,n){if(w(t)){var r=this.zt;if(void 0!==r&&n&&(r=r.Sn),void 0!==r)r.attachExtraTrace(t);else if(!t.En){var i=Y(t);d.notEnumerableProp(t,"stack",i.message+"\n"+i.stack.join("\n")),d.notEnumerableProp(t,"En",!0)}}}function X(){this.zt=void 0}function q(t,r,i){if(et.warnings){var e,u=new _(t);if(r)i.Ht(u);else if(et.longStackTraces&&(e=n.jt()))e.attachExtraTrace(u);else{var o=Y(u);u.stack=o.message+"\n"+o.stack.join("\n")}C("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],r=0;r<t.length;++r){var i=t[r],e=" (No stack trace)"===i||E.test(i),u=e&&J(i);e&&!u&&(S&&" "!==i.charAt(0)&&(i=" "+i),n.push(i))}return n}function Y(t){var n=t.stack,r=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),r=0;r<n.length;++r){var i=n[r];if(" (No stack trace)"===i||E.test(i))break}return r>0&&"SyntaxError"!=t.name&&(n=n.slice(r)),n}(t):[" (No stack trace)"],{message:r,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,r){if("undefined"!=typeof console){var i;if(d.isObject(t)){var e=t.stack;i=n+b(e,t)}else i=n+String(t);"function"==typeof s?s(i,r):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(i)}}function $(t,n,r,i){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(i):n(r,i))}catch(t){v.throwLater(t)}"unhandledRejection"===t?C(t,r,i)||e||K(r,"Unhandled rejection "):C(t,i)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():d.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var r=JSON.stringify(t);n=r}catch(t){}0===n.length&&(n="(empty array)")}return"(<"+function(t){return t.length<41?t:t.substr(0,38)+"..."}(n)+">, no stack trace)"}function Q(){return"function"==typeof it}var J=function(){return!1},tt=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function nt(t){var n=t.match(tt);if(n)return{fileName:n[1],line:l(n[2],10)}}function rt(t){this.Sn=t,this.In=0;var n=this.Lt=1+(void 0===t?0:t.Lt);it(this,rt),n>32&&this.uncycle()}d.inherits(rt,a),r.CapturedTrace=rt,rt.prototype.uncycle=function(){var t=this.Lt;if(!(t<2)){for(var n=[],r={},i=0,e=this;void 0!==e;++i)n.push(e),e=e.Sn;for(var i=(t=this.Lt=i)-1;i>=0;--i){var u=n[i].stack;void 0===r[u]&&(r[u]=i)}for(var i=0;i<t;++i){var o=n[i].stack,s=r[o];if(void 0!==s&&s!==i){s>0&&(n[s-1].Sn=void 0,n[s-1].Lt=1),n[i].Sn=void 0,n[i].Lt=1;var f=i>0?n[i-1]:this;s<t-1?(f.Sn=n[s+1],f.Sn.uncycle(),f.Lt=f.Sn.Lt+1):(f.Sn=void 0,f.Lt=1);for(var a=f.Lt+1,c=i-2;c>=0;--c)n[c].Lt=a,a++;return}}}},rt.prototype.attachExtraTrace=function(t){if(!t.En){this.uncycle();for(var n=Y(t),r=n.message,i=[n.stack],e=this;void 0!==e;)i.push(z(e.stack.split("\n"))),e=e.Sn;!function(t){for(var n=t[0],r=1;r<t.length;++r){for(var i=t[r],e=n.length-1,u=n[e],o=-1,s=i.length-1;s>=0;--s)if(i[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=i[s];if(n[e]!==f)break;n.pop(),e--}n=i}}(i),function(t){for(var n=0;n<t.length;++n)(0===t[n].length||n+1<t.length&&t[n][0]===t[n+1][0])&&(t.splice(n,1),n--)}(i),d.notEnumerableProp(t,"stack",function(t,n){for(var r=0;r<n.length-1;++r)n[r].push("From previous event:"),n[r]=n[r].join("\n");return r<n.length&&(n[r]=n[r].join("\n")),t+"\n"+n.join("\n")}(r,i)),d.notEnumerableProp(t,"En",!0)}};var it=function(){var t=/^\s*at\s*/,n=function(t,n){return"string"==typeof t?t:void 0!==n.name&&void 0!==n.message?n.toString():Z(n)};if("number"==typeof a.stackTraceLimit&&"function"==typeof a.captureStackTrace){a.stackTraceLimit+=6,E=t,b=n;var r=a.captureStackTrace;return J=function(t){return m.test(t)},function(t,n){a.stackTraceLimit+=6,r(t,n),a.stackTraceLimit-=6}}var i,e=new a;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return E=/@/,b=n,S=!0,function(t){t.stack=(new a).stack};try{throw new a}catch(t){i="stack"in t}return"stack"in e||!i||"number"!=typeof a.stackTraceLimit?(b=function(t,n){return"string"==typeof t?t:"object"!=typeof n&&"function"!=typeof n||void 0===n.name||void 0===n.message?Z(n):n.toString()},null):(E=t,b=n,function(t){a.stackTraceLimit+=6;try{throw new a}catch(n){t.stack=n.stack}a.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},d.isNode&&process.stderr.isTTY?s=function(t,n){var r=n?"\x1b[33m":"\x1b[31m";console.warn(r+t+"\x1b[0m\n")}:d.isNode||"string"!=typeof(new a).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:T,longStackTraces:!1,cancellation:!1,monitoring:!1};return k&&n.longStackTraces(),{longStackTraces:function(){return et.longStackTraces},warnings:function(){return et.warnings},cancellation:function(){return et.cancellation},monitoring:function(){return et.monitoring},propagateFromFunction:function(){return H},boundValueFunction:function(){return W},checkForgottenReturns:function(t,n,r,i,e){if(void 0===t&&null!==n&&A){if(void 0!==e&&e.in())return;if(0==(65535&i.nt))return;r&&(r+=" ");var u="",o="";if(n.zt){for(var s=n.zt.stack.split("\n"),f=z(s),a=f.length-1;a>=0;--a){var c=f[a];if(!y.test(c)){var h=c.match(g);h&&(u="at "+h[1]+":"+h[2]+":"+h[3]+" ");break}}if(f.length>0)for(var v=f[0],a=0;a<s.length;++a)if(s[a]===v){a>0&&(o="\n"+s[a-1]);break}}var l="a promise was created in a "+r+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;i.yt(l,!0,n)}},setBounds:function(t,n){if(Q()){for(var r,i,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var a=nt(e[f]);if(a){r=a.fileName,o=a.line;break}}for(var f=0;f<u.length;++f){var a=nt(u[f]);if(a){i=a.fileName,s=a.line;break}}o<0||s<0||!r||!i||r!==i||o>=s||(J=function(t){if(m.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===r&&o<=n.line&&n.line<=s)})}},warn:q,deprecated:function(t,n){var r=t+" is deprecated and will be removed in a future version.";return n&&(r+=" Use "+n+" instead."),q(r)},CapturedTrace:rt,fireDomEvent:R,fireGlobalEvent:D}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,r){n.exports=function(t){function n(){return this.value}function r(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this.J(n,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.J(r,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.J(void 0,r,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this.J(void 0,n,void 0,{value:r},void 0);var i=arguments[1];return i instanceof t&&i.suppressUnhandledRejections(),this.caught(r,function(){return i})}}},{}],11:[function(t,n,r){n.exports=function(t,n){var r=t.reduce,i=t.all;function e(){return i(this)}t.prototype.each=function(t){return r(this,t,n,0).J(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,i){return r(t,i,n,0).J(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,i){return r(t,i,n,n)}}},{}],12:[function(t,n,r){var i,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,h=s.notEnumerableProp;function v(t,n){function r(i){if(!(this instanceof r))return new r(i);h(this,"message","string"==typeof i?i:n),h(this,"name",t),a.captureStackTrace?a.captureStackTrace(this,this.constructor):a.call(this)}return f(r,a),r}var l=v("Warning","warning"),_=v("CancellationError","cancellation error"),d=v("TimeoutError","timeout error"),p=v("AggregateError","aggregate error");try{i=c,e=RangeError}catch(t){i=v("TypeError","type error"),e=v("RangeError","range error")}for(var w="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<w.length;++m)"function"==typeof Array.prototype[w[m]]&&(p.prototype[w[m]]=Array.prototype[w[m]]);u.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var y=0;function g(t){if(!(this instanceof g))return new g(t);h(this,"name","OperationalError"),h(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof a?(h(this,"message",t.message),h(this,"stack",t.stack)):a.captureStackTrace&&a.captureStackTrace(this,this.constructor)}p.prototype.toString=function(){var t=Array(4*y+1).join(" "),n="\n"+t+"AggregateError of:\n";y++,t=Array(4*y+1).join(" ");for(var r=0;r<this.length;++r){for(var i=this[r]===this?"[Circular AggregateError]":this[r]+"",e=i.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];i=e.join("\n"),n+=i+"\n"}return y--,n},f(g,a);var E=a.Rn;E||(E=o({CancellationError:_,TimeoutError:d,OperationalError:g,RejectionError:g,AggregateError:p}),u.defineProperty(a,"Rn",{value:E,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:a,TypeError:i,RangeError:e,CancellationError:E.CancellationError,OperationalError:E.OperationalError,TimeoutError:E.TimeoutError,AggregateError:E.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,r){var i=function(){return void 0===this}();if(i)n.exports={freeze:h.freeze,defineProperty:h.defineProperty,getDescriptor:h.getOwnPropertyDescriptor,keys:h.keys,names:h.getOwnPropertyNames,getPrototypeOf:h.getPrototypeOf,isArray:Array.isArray,isES5:i,propertyIsWritable:function(t,n){var r=h.getOwnPropertyDescriptor(t,n);return!(r&&!r.writable&&!r.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var r in t)e.call(t,r)&&n.push(r);return n};n.exports={isArray:function(t){try{return"[object Array]"===u.call(t)}catch(t){return!1}},keys:s,names:s,defineProperty:function(t,n,r){return t[n]=r.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return h(t).constructor.prototype}catch(t){return o}},isES5:i,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,r){n.exports=function(t,n){var r=t.map;t.prototype.filter=function(t,i){return r(this,t,i,n)},t.filter=function(t,i,e){return r(t,i,e,n)}}},{}],15:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(i);function f(t,n,r){this.promise=t,this.type=n,this.handler=r,this.called=!1,this.cancelPromise=null}function a(t){this.finallyHandler=t}function h(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.Z(n):t.cancelPromise.Pt(),t.cancelPromise=null,!0)}function v(){return _.call(this,this.promise.ct().hn())}function l(t){if(!h(this,t))return o.e=t,o}function _(t){var e=this.promise,s=this.handler;if(!this.called){this.called=!0;var f=this.isFinallyHandler()?s.call(e.at()):s.call(e.at(),t);if(f===i)return f;if(void 0!==f){e.$t();var c=r(f,e);if(c instanceof n){if(null!=this.cancelPromise){if(c.Ut()){var _=new u("late cancellation observer");return e.Ht(_),o.e=_,o}c.isPending()&&c.yn(new a(this))}return c.J(v,l,void 0,this,void 0)}}}return e.isRejected()?(h(this),o.e=t,o):(h(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},a.prototype._resultCancelled=function(){h(this.finallyHandler)},n.prototype.Nn=function(t,n,r,i){return"function"!=typeof t?this.then():this.J(r,i,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Nn(t,0,_,_)},n.prototype.tap=function(t){return this.Nn(t,1,_)},n.prototype.tapCatch=function(t){var r=arguments.length;if(1===r)return this.Nn(t,1,void 0,_);var i,u=new Array(r-1),o=0;for(i=0;i<r-1;++i){var f=arguments[i];if(!e.isObject(f))return n.reject(new c("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var a=arguments[i];return this.Nn(s(u,a,this),1,void 0,_)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./errors"),f=s.TypeError,c=t("./util"),v=c.errorObj,l=c.tryCatch,_=[];function d(t,r,e,u){if(o.cancellation()){var s=new n(i),f=this.Dn=new n(i);this.Cn=s.lastly(function(){return f}),s._n(),s.vt(this)}else{var a=this.Cn=new n(i);a._n()}this.Pn=u,this.On=t,this.Bn=r,this.Ln=void 0,this.Mn="function"==typeof e?[e].concat(_):_,this.xn=null,this.Un=!1}c.inherits(d,u),d.prototype.Fn=function(){return null===this.Cn},d.prototype.Hn=function(){this.Cn=this.Ln=null,o.cancellation()&&null!==this.Dn&&(this.Dn.Vn(),this.Dn=null)},d.prototype.Xn=function(){if(!this.Fn()){var t,r=void 0!==this.Ln.return;if(r)this.Cn.qt(),t=l(this.Ln.return).call(this.Ln,void 0),this.Cn.Gt();else{var i=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=i,this.Cn.Ht(i),this.Cn.qt(),t=l(this.Ln.throw).call(this.Ln,i),this.Cn.Gt()}this.Un=!0,this.xn=null,this.zn(t)}},d.prototype.Wn=function(t){this.xn=null,this.Cn.qt();var n=l(this.Ln.next).call(this.Ln,t);this.Cn.Gt(),this.zn(n)},d.prototype.qn=function(t){this.xn=null,this.Cn.Ht(t),this.Cn.qt();var n=l(this.Ln.throw).call(this.Ln,t);this.Cn.Gt(),this.zn(n)},d.prototype._resultCancelled=function(){if(this.xn instanceof n){var t=this.xn;this.xn=null,t.cancel()}},d.prototype.promise=function(){return this.Cn},d.prototype.Gn=function(){this.Ln=this.On.call(this.Bn),this.Bn=this.On=void 0,this.Wn(void 0)},d.prototype.zn=function(t){var r=this.Cn;if(t===v)return this.Hn(),this.Un?r.cancel():r.jn(t.e,!1);var i=t.value;if(!0===t.done)return this.Hn(),this.Un?r.cancel():r.ut(i);var u=e(i,this.Cn);if(u instanceof n||null!==(u=function(t,r,i){for(var u=0;u<r.length;++u){i.qt();var o=l(r[u])(t);if(i.Gt(),o===v){i.qt();var s=n.reject(v.e);return i.Gt(),s}var f=e(o,i);if(f instanceof n)return f}return null}(u,this.Mn,this.Cn))){var o=(u=u.ct()).nt;0==(50397184&o)?(this.xn=u,u.Yn(this,null)):0!=(33554432&o)?n.wt.invoke(this.Wn,this,u.Qn()):0!=(16777216&o)?n.wt.invoke(this.qn,this,u.Kn()):this.Xn()}else this.qn(new f("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(i))+"From coroutine:\n"+this.Pn.split("\n").slice(1,-7).join("\n")))},n.coroutine=function(t,n){if("function"!=typeof t)throw new f("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=h(n).yieldHandler,i=d,e=(new a).stack;return function(){var n=t.apply(this,arguments),u=new i(void 0,void 0,r,e),o=u.promise();return u.Ln=n,u.Wn(void 0),o}},n.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new f("expecting a function but got "+c.classString(t));_.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return r("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=new d(t,this),e=i.promise();return i.Gn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./util");s.canEvaluate,s.tryCatch,s.errorObj,n.join=function(){var t,n=arguments.length-1;n>0&&"function"==typeof arguments[n]&&(t=arguments[n]);var i=[].slice.call(arguments);t&&i.pop();var e=new r(i).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Yt,f=t("./util"),a=f.tryCatch,h=f.errorObj,v=n.wt;function l(t,n,r,i){this.constructor$(t),this.Cn._n();var e=s();this.Zn=null===e?n:f.domainBind(e,n),this.Jn=i===u?new Array(this.length()):null,this.$n=r,this.ni=0,this.ri=[],v.invoke(this.ei,this,void 0)}function _(t,r,e,u){if("function"!=typeof r)return i("expecting a function but got "+f.classString(r));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new c("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new c("'concurrency' must be a number but it is "+f.classString(e.concurrency)));o=e.concurrency}return o="number"==typeof o&&isFinite(o)&&o>=1?o:0,new l(t,r,o,u).promise()}f.inherits(l,r),l.prototype.ei=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Wn=function(t,r){var i=this.oi,u=this.length(),s=this.Jn,f=this.$n;if(r<0){if(i[r=-1*r-1]=t,f>=1&&(this.ni--,this.ai(),this.Fn()))return!0}else{if(f>=1&&this.ni>=f)return i[r]=t,this.ri.push(r),!1;null!==s&&(s[r]=t);var c=this.Cn,v=this.Zn,l=c.at();c.qt();var _=a(v).call(l,t,r,u),d=c.Gt();if(o.checkForgottenReturns(_,d,null!==s?"Promise.filter":"Promise.map",c),_===h)return this.Z(_.e),!0;var p=e(_,this.Cn);if(p instanceof n){var w=(p=p.ct()).nt;if(0==(50397184&w))return f>=1&&this.ni++,i[r]=p,p.Yn(this,-1*(r+1)),!1;if(0==(33554432&w))return 0!=(16777216&w)?(this.Z(p.Kn()),!0):(this.Pt(),!0);_=p.Qn()}i[r]=_}var m=++this.ci;return m>=u&&(null!==s?this.di(i,s):this._i(i),!0)},l.prototype.ai=function(){for(var t=this.ri,n=this.$n,r=this.oi;t.length>0&&this.ni<n;){if(this.Fn())return;var i=t.pop();this.Wn(r[i],i)}},l.prototype.di=function(t,n){for(var r=n.length,i=new Array(r),e=0,u=0;u<r;++u)t[u]&&(i[e++]=n[u]);i.length=e,this._i(i)},l.prototype.preservedValues=function(){return this.Jn},n.prototype.map=function(t,n){return _(this,t,n,null)},n.map=function(t,n,r,i){return _(t,n,r,i)}}},{"./util":36}],19:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util"),s=o.tryCatch;n.method=function(t){if("function"!=typeof t)throw new n.TypeError("expecting a function but got "+o.classString(t));return function(){var i=new n(r);i._n(),i.qt();var e=s(t).apply(this,arguments),o=i.Gt();return u.checkForgottenReturns(e,o,"Promise.method",i),i.wi(e),i}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var i,f=new n(r);if(f._n(),f.qt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var a=arguments[1],c=arguments[2];i=o.isArray(a)?s(t).apply(c,a):s(t).call(c,a)}else i=s(t)();var h=f.Gt();return u.checkForgottenReturns(i,h,"Promise.try",f),f.wi(i),f},n.prototype.wi=function(t){t===o.errorObj?this.jn(t.e,!1):this.ut(t,!0)}}},{"./util":36}],20:[function(t,n,r){var i=t("./util"),e=i.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function c(t){var n;if(function(t){return t instanceof a&&s.getPrototypeOf(t)===a.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var r=s.keys(t),e=0;e<r.length;++e){var u=r[e];f.test(u)||(n[u]=t[u])}return n}return i.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(r,i){if(null!==t){if(r){var u=c(e(r));t.Ht(u),t.Z(u)}else if(n){var o=[].slice.call(arguments,1);t.Vn(o)}else t.Vn(i);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=n.wt,e=r.tryCatch,u=r.errorObj;function o(t,n){if(!r.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.at(),[null].concat(t));o===u&&i.throwLater(o.e)}function s(t,n){var r=this.at(),o=void 0===t?e(n).call(r,null):e(n).call(r,null,t);o===u&&i.throwLater(o.e)}function f(t,n){if(!t){var r=new a(t+"");r.cause=t,t=r}var o=e(n).call(this.at(),t);o===u&&i.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var r=s;void 0!==n&&h(n).spread&&(r=o),this.J(r,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,r){n.exports=function(){var r=function(){return new _("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},i=function(){return new R.PromiseInspection(this.ct())},e=function(t){return R.reject(new _(t))};function u(){}var o,s={},f=t("./util");o=f.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},f.notEnumerableProp(R,"Yt",o);var a=t("./es5"),c=t("./async"),v=new c;a.defineProperty(R,"wt",{value:v});var l=t("./errors"),_=R.TypeError=l.TypeError;R.RangeError=l.RangeError;var d=R.CancellationError=l.CancellationError;R.TimeoutError=l.TimeoutError,R.OperationalError=l.OperationalError,R.RejectionError=l.OperationalError,R.AggregateError=l.AggregateError;var p=function(){},w={},m={},y=t("./thenables")(R,p),g=t("./promise_array")(R,p,y,e,u),E=t("./context")(R),b=E.create,S=t("./debuggability")(R,E),I=(S.CapturedTrace,t("./finally")(R,y,m)),T=t("./catch_filter")(m),k=t("./nodeback"),A=f.errorObj,N=f.tryCatch;function R(t){t!==p&&function(t,n){if(null==t||t.constructor!==R)throw new _("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new _("expecting a function but got "+f.classString(n))}(this,t),this.nt=0,this.gi=void 0,this.Ai=void 0,this.Ti=void 0,this.Si=void 0,this.Ei(t),this.Wt(),this.Tn("promiseCreated",this)}function D(t){this.promise.ut(t)}function P(t){this.promise.jn(t,!1)}function O(t){var n=new R(p);n.gi=t,n.Ai=t,n.Ti=t,n.Si=t}return R.prototype.toString=function(){return"[object Promise]"},R.prototype.caught=R.prototype.catch=function(t){var n=arguments.length;if(n>1){var r,i=new Array(n-1),u=0;for(r=0;r<n-1;++r){var o=arguments[r];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));i[u++]=o}if(i.length=u,"function"!=typeof(t=arguments[r]))throw new _("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,T(i,t,this))}return this.then(void 0,t)},R.prototype.reflect=function(){return this.J(i,i,void 0,this,void 0)},R.prototype.then=function(t,n){if(S.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var r=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(r+=", "+f.classString(n)),this.yt(r)}return this.J(t,n,void 0,void 0,void 0)},R.prototype.done=function(t,n){var r=this.J(t,n,void 0,void 0,void 0);r.Ii()},R.prototype.spread=function(t){return"function"!=typeof t?e("expecting a function but got "+f.classString(t)):this.all().J(t,void 0,void 0,w,void 0)},R.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},R.prototype.all=function(){return arguments.length>0&&this.yt(".all() was passed arguments but it does not take any"),new g(this).promise()},R.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},R.getNewLibraryCopy=n.exports,R.is=function(t){return t instanceof R},R.fromNode=R.fromCallback=function(t){var n=new R(p);n._n();var r=arguments.length>1&&!!h(arguments[1]).multiArgs,i=N(t)(k(n,r));return i===A&&n.jn(i.e,!0),n.Ri()||n.Ni(),n},R.all=function(t){return new g(t).promise()},R.cast=function(t){var n=y(t);return n instanceof R||((n=new R(p))._n(),n.Di(),n.Ai=t),n},R.resolve=R.fulfilled=R.cast,R.reject=R.rejected=function(t){var n=new R(p);return n._n(),n.jn(t,!0),n},R.setScheduler=function(t){if("function"!=typeof t)throw new _("expecting a function but got "+f.classString(t));return v.setScheduler(t)},R.prototype.J=function(t,n,r,i,e){var u=void 0!==e,s=u?e:new R(p),a=this.ct(),c=a.nt;u||(s.ot(this,3),s._n(),void 0===i&&0!=(2097152&this.nt)&&(i=0!=(50397184&c)?this.at():a===this?void 0:this.dt),this.Tn("promiseChained",this,s));var h=o();if(0!=(50397184&c)){var l,_,w=a.Ci;0!=(33554432&c)?(_=a.Ai,l=t):0!=(16777216&c)?(_=a.gi,l=n,a.dn()):(w=a.Pi,_=new d("late cancellation observer"),a.Ht(_),l=n),v.invoke(w,a,{handler:null===h?l:"function"==typeof l&&f.domainBind(h,l),promise:s,receiver:i,value:_})}else a.Oi(t,n,s,i,h);return s},R.prototype.Lt=function(){return 65535&this.nt},R.prototype.Ri=function(){return 0!=(117506048&this.nt)},R.prototype.At=function(){return 67108864==(67108864&this.nt)},R.prototype.Bi=function(t){this.nt=-65536&this.nt|65535&t},R.prototype.Di=function(){this.nt=33554432|this.nt,this.Tn("promiseFulfilled",this)},R.prototype.Li=function(){this.nt=16777216|this.nt,this.Tn("promiseRejected",this)},R.prototype.Mi=function(){this.nt=67108864|this.nt,this.Tn("promiseResolved",this)},R.prototype.Ii=function(){this.nt=4194304|this.nt},R.prototype.xi=function(){return(4194304&this.nt)>0},R.prototype.Ui=function(){this.nt=-65537&this.nt},R.prototype.Ot=function(){this.nt=65536|this.nt,this.Tn("promiseCancelled",this)},R.prototype.It=function(){this.nt=8388608|this.nt},R.prototype.Ni=function(){v.hasCustomScheduler()||(this.nt=134217728|this.nt)},R.prototype.Fi=function(t){var n=0===t?this.Si:this[4*t-4+3];if(n!==s)return void 0===n&&this._t()?this.at():n},R.prototype.Hi=function(t){return this[4*t-4+2]},R.prototype.Vi=function(t){return this[4*t-4+0]},R.prototype.Xi=function(t){return this[4*t-4+1]},R.prototype.at=function(){},R.prototype.zi=function(t){t.nt;var n=t.gi,r=t.Ai,i=t.Ti,e=t.Fi(0);void 0===e&&(e=s),this.Oi(n,r,i,e,null)},R.prototype.Wi=function(t,n){var r=t.Vi(n),i=t.Xi(n),e=t.Hi(n),u=t.Fi(n);void 0===u&&(u=s),this.Oi(r,i,e,u,null)},R.prototype.Oi=function(t,n,r,i,e){var u=this.Lt();if(u>=65531&&(u=0,this.Bi(0)),0===u)this.Ti=r,this.Si=i,"function"==typeof t&&(this.gi=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this.Ai=null===e?n:f.domainBind(e,n));else{var o=4*u-4;this[o+2]=r,this[o+3]=i,"function"==typeof t&&(this[o+0]=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this[o+1]=null===e?n:f.domainBind(e,n))}return this.Bi(u+1),u},R.prototype.Yn=function(t,n){this.Oi(void 0,void 0,n,t,null)},R.prototype.ut=function(t,n){if(0==(117506048&this.nt)){if(t===this)return this.jn(r(),!1);var i=y(t,this);if(!(i instanceof R))return this.Vn(t);n&&this.ot(i,2);var e=i.ct();if(e!==this){var u=e.nt;if(0==(50397184&u)){var o=this.Lt();o>0&&e.zi(this);for(var s=1;s<o;++s)e.Wi(this,s);this.Mi(),this.Bi(0),this.qi(e)}else if(0!=(33554432&u))this.Vn(e.Qn());else if(0!=(16777216&u))this.Z(e.Kn());else{var f=new d("late cancellation observer");e.Ht(f),this.Z(f)}}else this.Z(r())}},R.prototype.jn=function(t,n,r){var i=f.ensureErrorObject(t),e=i===t;if(!e&&!r&&S.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.yt(u,!0)}this.Ht(i,!!n&&e),this.Z(t)},R.prototype.Ei=function(t){if(t!==p){var n=this;this._n(),this.qt();var r=!0,i=this.An(t,function(t){n.ut(t)},function(t){n.jn(t,r)});r=!1,this.Gt(),void 0!==i&&n.jn(i,!0)}},R.prototype.Gi=function(t,n,r,i){var e=i.nt;if(0==(65536&e)){var u;i.qt(),n===w?r&&"number"==typeof r.length?u=N(t).apply(this.at(),r):(u=A).e=new _("cannot .spread() a non-array: "+f.classString(r)):u=N(t).call(n,r);var o=i.Gt();0==(65536&(e=i.nt))&&(u===m?i.Z(r):u===A?i.jn(u.e,!1):(S.checkForgottenReturns(u,o,"",i,this),i.ut(u)))}},R.prototype.ct=function(){for(var t=this;t.At();)t=t.Tt();return t},R.prototype.Tt=function(){return this.Ai},R.prototype.qi=function(t){this.Ai=t},R.prototype.ji=function(t,n,r,e){var o=t instanceof R,s=this.nt,f=0!=(134217728&s);0!=(65536&s)?(o&&t.Xt(),r instanceof I&&r.isFinallyHandler()?(r.cancelPromise=t,N(n).call(r,e)===A&&t.Z(A.e)):n===i?t.Vn(i.call(r)):r instanceof u?r.Xn(t):o||t instanceof g?t.Pt():r.cancel()):"function"==typeof n?o?(f&&t.Ni(),this.Gi(n,r,e,t)):n.call(r,e,t):r instanceof u?r.Fn()||(0!=(33554432&s)?r.Wn(e,t):r.qn(e,t)):o&&(f&&t.Ni(),0!=(33554432&s)?t.Vn(e):t.Z(e))},R.prototype.Pi=function(t){var n=t.handler,r=t.promise,i=t.receiver,e=t.value;"function"==typeof n?r instanceof R?this.Gi(n,i,e,r):n.call(i,e,r):r instanceof R&&r.Z(e)},R.prototype.Ci=function(t){this.ji(t.promise,t.handler,t.receiver,t.value)},R.prototype.Yi=function(t,n,r){var i=this.Ti,e=this.Fi(0);this.Ti=void 0,this.Si=void 0,this.ji(i,t,e,n)},R.prototype.Qi=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},R.prototype.Vn=function(t){var n=this.nt;if(!((117506048&n)>>>16)){if(t===this){var i=r();return this.Ht(i),this.Z(i)}this.Di(),this.Ai=t,(65535&n)>0&&(0!=(134217728&n)?this.Y():v.settlePromises(this),this.wn())}},R.prototype.Z=function(t){var n=this.nt;if(!((117506048&n)>>>16)){if(this.Li(),this.gi=t,this.xi())return v.fatalError(t,f.isNode);(65535&n)>0?v.settlePromises(this):this.Qt()}},R.prototype.Ki=function(t,n){for(var r=1;r<t;r++){var i=this.Vi(r),e=this.Hi(r),u=this.Fi(r);this.Qi(r),this.ji(e,i,u,n)}},R.prototype.Zi=function(t,n){for(var r=1;r<t;r++){var i=this.Xi(r),e=this.Hi(r),u=this.Fi(r);this.Qi(r),this.ji(e,i,u,n)}},R.prototype.Y=function(){var t=this.nt,n=65535&t;if(n>0){if(0!=(16842752&t)){var r=this.gi;this.Yi(this.Ai,r,t),this.Zi(n,r)}else{var i=this.Ai;this.Yi(this.gi,i,t),this.Ki(n,i)}this.Bi(0)}this.pn()},R.prototype.hn=function(){var t=this.nt;return 0!=(33554432&t)?this.Ai:0!=(16777216&t)?this.gi:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&a.defineProperty(R.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),R.defer=R.pending=function(){S.deprecated("Promise.defer","new Promise");var t=new R(p);return{promise:t,resolve:D,reject:P}},f.notEnumerableProp(R,"Ji",r),t("./method")(R,p,y,e,S),t("./bind")(R,p,y,S),t("./cancel")(R,g,e,S),t("./direct_resolve")(R),t("./synchronous_inspection")(R),t("./join")(R,g,y,p,v,o),R.Promise=R,R.version="3.5.5",t("./call_get.js")(R),t("./generators.js")(R,e,p,y,u,S),t("./map.js")(R,g,e,y,p,S),t("./nodeify.js")(R),t("./promisify.js")(R,p),t("./props.js")(R,g,y,e),t("./race.js")(R,p,y,e),t("./reduce.js")(R,g,e,y,p,S),t("./settle.js")(R,g,S),t("./some.js")(R,g,e),t("./timers.js")(R,p,S),t("./using.js")(R,e,y,b,p,S),t("./any.js")(R),t("./each.js")(R,p),t("./filter.js")(R,p),f.toFastProperties(R),f.toFastProperties(R.prototype),O({a:1}),O({b:2}),O({c:3}),O(1),O(function(){}),O(void 0),O(!1),O(new R(p)),S.setBounds(c.firstLineError,f.lastLineError),R}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util");function s(t){var i=this.Cn=new n(r);t instanceof n&&i.ot(t,3),i.vt(this),this.oi=t,this.Lt=0,this.ci=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,u),s.prototype.length=function(){return this.Lt},s.prototype.promise=function(){return this.Cn},s.prototype._init=function t(r,u){var s=i(this.oi,this.Cn);if(s instanceof n){var f=(s=s.ct()).nt;if(this.oi=s,0==(50397184&f))return this.Cn.Ni(),s.J(t,this.Z,void 0,this,u);if(0==(33554432&f))return 0!=(16777216&f)?this.Z(s.Kn()):this.Pt();s=s.Qn()}if(null!==(s=o.asArray(s)))0!==s.length?this.$i(s):-5===u?this.ir():this._i(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(u));else{var a=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.Cn.jn(a,!1)}},s.prototype.$i=function(t){var r=this.getActualLength(t.length);this.Lt=r,this.oi=this.shouldCopyValues()?new Array(r):this.oi;for(var e=this.Cn,u=!1,o=null,s=0;s<r;++s){var f=i(t[s],e);f instanceof n?(f=f.ct(),o=f.nt):o=null,u?null!==o&&f.suppressUnhandledRejections():null!==o?0==(50397184&o)?(f.Yn(this,s),this.oi[s]=f):u=0!=(33554432&o)?this.Wn(f.Qn(),s):0!=(16777216&o)?this.qn(f.Kn(),s):this.Xn(s):u=this.Wn(f,s)}u||e.Ni()},s.prototype.Fn=function(){return null===this.oi},s.prototype._i=function(t){this.oi=null,this.Cn.Vn(t)},s.prototype.Pt=function(){!this.Fn()&&this.Cn.kt()&&(this.oi=null,this.Cn.Pt())},s.prototype.Z=function(t){this.oi=null,this.Cn.jn(t,!1)},s.prototype.Wn=function(t,n){this.oi[n]=t;var r=++this.ci;return r>=this.Lt&&(this._i(this.oi),!0)},s.prototype.Xn=function(){return this.Pt(),!0},s.prototype.qn=function(t){return this.ci++,this.Z(t),!0},s.prototype._resultCancelled=function(){if(!this.Fn()){var t=this.oi;if(this.Pt(),t instanceof n)t.cancel();else for(var r=0;r<t.length;++r)t[r]instanceof n&&t[r].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,r){n.exports=function(n,r){var i={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,a=t("./errors").TypeError,c={rr:!0},v=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","rr"].join("|")+")$"),l=function(t){return e.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function _(t){return!v.test(t)}function d(t){try{return!0===t.rr}catch(t){return!1}}function p(t,n,r){var i=e.getDataPropertyOrDefault(t,n+r,c);return!!i&&d(i)}function w(t,n,r,i){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],c=t[f],h=i===l||l(f);"function"!=typeof c||d(c)||p(t,f,n)||!i(f,c,t,h)||o.push(f,c)}return function(t,n,r){for(var i=0;i<t.length;i+=2){var e=t[i];if(r.test(e))for(var u=e.replace(r,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new a("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,r),o}var m=function(t){return t.replace(/([$])/,"\\$")},y=f?void 0:function(t,f,a,c,h,v){var l=function(){return this}(),_=t;function d(){var e=f;f===i&&(e=this);var a=new n(r);a._n();var c="string"==typeof _&&this!==l?this[_]:t,h=u(a,v);try{c.apply(e,o(arguments,h))}catch(t){a.jn(s(t),!0,!0)}return a.Ri()||a.Ni(),a}return"string"==typeof _&&(t=c),e.notEnumerableProp(d,"rr",!0),d};function g(t,n,r,u,o){for(var s=new RegExp(m(n)+"$"),f=w(t,n,s,r),a=0,c=f.length;a<c;a+=2){var h=f[a],v=f[a+1],l=h+n;if(u===y)t[l]=y(h,i,h,v,n,o);else{var _=u(v,function(){return y(h,i,h,v,n,o)});e.notEnumerableProp(_,"rr",!0),t[l]=_}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new a("expecting a function but got "+e.classString(t));if(d(t))return t;var r=void 0===(n=h(n)).context?i:n.context,u=!!n.multiArgs,o=function(t,n,r){return y(t,n,void 0,t,null,r)}(t,r,u);return e.copyDescriptors(t,o,_),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new a("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var r=!!(n=h(n)).multiArgs,i=n.suffix;"string"!=typeof i&&(i="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=y),!e.isIdentifier(i))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=e.inheritedDataKeys(t),f=0;f<s.length;++f){var c=t[s[f]];"constructor"!==s[f]&&e.isClass(c)&&(g(c.prototype,i,u,o,r),g(c,i,u,o,r))}return g(t,i,u,o,r)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,r){n.exports=function(n,r,i,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var a=function(){var t=0,n=0;function r(r,i){this[t]=r,this[t+n]=i,t++}return function(i){n=i.size,t=0;var e=new Array(2*i.size);return i.forEach(r,e),e}}();function c(t){var n,r=!1;if(void 0!==u&&t instanceof u)n=a(t),r=!0;else{var i=f.keys(t),e=i.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=i[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this.dr=r,this._init$(void 0,r?-6:-3)}function h(t){var r,u=i(t);return s(u)?(r=u instanceof n?u.J(n.props,void 0,void 0,void 0,void 0):new c(u).promise(),u instanceof n&&r.ot(u,2),r):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(c,r),c.prototype._init=function(){},c.prototype.Wn=function(t,n){this.oi[n]=t;var r=++this.ci;if(r>=this.Lt){var i;if(this.dr)i=function(t){for(var n=new u,r=t.length/2|0,i=0;i<r;++i){var e=t[r+i],o=t[i];n.set(e,o)}return n}(this.oi);else{i={};for(var e=this.length(),o=0,s=this.length();o<s;++o)i[this.oi[o+e]]=this.oi[o]}return this._i(i),!0}return!1},c.prototype.shouldCopyValues=function(){return!1},c.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return h(this)},n.props=function(t){return h(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,r){function i(t){this._r=t,this.Lt=0,this.wr=0}i.prototype.gr=function(t){return this._r<t},i.prototype.j=function(t){var n=this.length();this.yr(n+1);var r=this.wr+n&this._r-1;this[r]=t,this.Lt=n+1},i.prototype.push=function(t,n,r){var i=this.length()+3;if(this.gr(i))return this.j(t),this.j(n),void this.j(r);var e=this.wr+i-3;this.yr(i);var u=this._r-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=r,this.Lt=i},i.prototype.shift=function(){var t=this.wr,n=this[t];return this[t]=void 0,this.wr=t+1&this._r-1,this.Lt--,n},i.prototype.length=function(){return this.Lt},i.prototype.yr=function(t){this._r<t&&this.pr(this._r<<1)},i.prototype.pr=function(t){var n=this._r;this._r=t;var r=this.wr,i=this.Lt,e=r+i&n-1;!function(t,n,r,i,e){for(var u=0;u<e;++u)r[u+i]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=i},{}],27:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=i(t);if(f instanceof n)return o(f);if(null===(t=u.asArray(t)))return e("expecting an array or an iterable object but got "+u.classString(t));var a=new n(r);void 0!==s&&a.ot(s,3);for(var c=a.Vn,h=a.Z,v=0,l=t.length;v<l;++v){var _=t[v];(void 0!==_||v in t)&&n.cast(_).J(c,h,void 0,a,null)}return a}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Yt,f=t("./util"),a=f.tryCatch;function c(t,r,i,e){this.constructor$(t);var o=s();this._fn=null===o?r:f.domainBind(o,r),void 0!==i&&(i=n.resolve(i)).yn(this),this.Tr=i,this.Sr=null,this.Er=e===u?Array(this.Lt):0===e?null:void 0,this.Cn._n(),this._init$(void 0,-5)}function h(t,n){this.isFulfilled()?n._i(t):n.Z(t)}function v(t,n,r,e){if("function"!=typeof n)return i("expecting a function but got "+f.classString(n));var u=new c(t,n,r,e);return u.promise()}function l(t){this.accum=t,this.array.Ir(t);var r=e(this.value,this.array.Cn);return r instanceof n?(this.array.Sr=r,r.J(_,void 0,void 0,this,void 0)):_.call(this,r)}function _(t){var r,i=this.array,e=i.Cn,u=a(i._fn);e.qt(),(r=void 0!==i.Er?u.call(e.at(),t,this.index,this.length):u.call(e.at(),this.accum,t,this.index,this.length))instanceof n&&(i.Sr=r);var s=e.Gt();return o.checkForgottenReturns(r,s,void 0!==i.Er?"Promise.each":"Promise.reduce",e),r}f.inherits(c,r),c.prototype.Ir=function(t){void 0!==this.Er&&null!==this.Er&&t!==u&&this.Er.push(t)},c.prototype.Rr=function(t){return null!==this.Er&&this.Er.push(t),this.Er},c.prototype._init=function(){},c.prototype.ir=function(){this._i(void 0!==this.Er?this.Er:this.Tr)},c.prototype.shouldCopyValues=function(){return!1},c.prototype._i=function(t){this.Cn.ut(t),this.oi=null},c.prototype._resultCancelled=function(t){if(t===this.Tr)return this.Pt();this.Fn()||(this._resultCancelled$(),this.Sr instanceof n&&this.Sr.cancel(),this.Tr instanceof n&&this.Tr.cancel())},c.prototype.$i=function(t){var r,i;this.oi=t;var e=t.length;if(void 0!==this.Tr?(r=this.Tr,i=0):(r=n.resolve(t[0]),i=1),this.Sr=r,!r.isRejected())for(;i<e;++i){var u={accum:null,value:t[i],index:i,length:e,array:this};r=r.J(l,void 0,void 0,u,void 0)}void 0!==this.Er&&(r=r.J(this.Rr,void 0,void 0,this,void 0)),r.J(h,h,void 0,r,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,r,i){return v(t,n,r,i)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,c,h,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var _=w.setImmediate,d=process.nextTick;o=v.isRecentNode?function(t){_.call(w,t)}:function(t){d.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var p=l.resolve();o=function(t){p.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===r||!r.navigator||!r.navigator.standalone&&!r.cordova)&&"classList"in i.documentElement?(s=i.createElement("div"),f={attributes:!0},c=!1,h=i.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),c=!1}).observe(h,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),c||(c=!0,h.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,r){n.exports=function(n,r,i){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,r),o.prototype.Nr=function(t,n){this.oi[t]=n;var r=++this.ci;return r>=this.Lt&&(this._i(this.oi),!0)},o.prototype.Wn=function(t,n){var r=new e;return r.nt=33554432,r.Dr=t,this.Nr(n,r)},o.prototype.qn=function(t,n){var r=new e;return r.nt=16777216,r.Dr=t,this.Nr(n,r)},n.settle=function(t){return i.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function a(t){this.constructor$(t),this.Cr=0,this.Pr=!1,this.Or=!1}function c(t,n){if((0|n)!==n||n<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var r=new a(t),e=r.promise();return r.setHowMany(n),r.init(),e}e.inherits(a,r),a.prototype._init=function(){if(this.Or)if(0!==this.Cr){this._init$(void 0,-5);var t=s(this.oi);!this.Fn()&&t&&this.Cr>this.Br()&&this.Z(this.Lr(this.length()))}else this._i([])},a.prototype.init=function(){this.Or=!0,this._init()},a.prototype.setUnwrap=function(){this.Pr=!0},a.prototype.howMany=function(){return this.Cr},a.prototype.setHowMany=function(t){this.Cr=t},a.prototype.Wn=function(t){return this.Mr(t),this.xr()===this.howMany()&&(this.oi.length=this.howMany(),1===this.howMany()&&this.Pr?this._i(this.oi[0]):this._i(this.oi),!0)},a.prototype.qn=function(t){return this.Ur(t),this.Fr()},a.prototype.Xn=function(){return this.oi instanceof n||null==this.oi?this.Pt():(this.Ur(f),this.Fr())},a.prototype.Fr=function(){if(this.howMany()>this.Br()){for(var t=new o,n=this.length();n<this.oi.length;++n)this.oi[n]!==f&&t.push(this.oi[n]);return t.length>0?this.Z(t):this.Pt(),!0}return!1},a.prototype.xr=function(){return this.ci},a.prototype.Hr=function(){return this.oi.length-this.length()},a.prototype.Ur=function(t){this.oi.push(t)},a.prototype.Mr=function(t){this.oi[this.ci++]=t},a.prototype.Br=function(){return this.length()-this.Hr()},a.prototype.Lr=function(t){var n="Input array must contain at least "+this.Cr+" items but contains only "+t+" items";return new u(n)},a.prototype.ir=function(){this.Z(this.Lr(0))},n.some=function(t,n){return c(t,n)},n.prototype.some=function(t){return c(this,t)},n.l=a}},{"./errors":12,"./util":36}],32:[function(t,n,r){n.exports=function(t){function n(t){void 0!==t?(t=t.ct(),this.nt=t.nt,this.Dr=t.Ri()?t.hn():void 0):(this.nt=0,this.Dr=void 0)}n.prototype.hn=function(){return this.Dr};var r=n.prototype.value=function(){if(!this.isFulfilled())throw new c("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.hn()},i=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new c("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this.hn()},e=n.prototype.isFulfilled=function(){return 0!=(33554432&this.nt)},u=n.prototype.isRejected=function(){return 0!=(16777216&this.nt)},o=n.prototype.isPending=function(){return 0==(50397184&this.nt)},s=n.prototype.isResolved=function(){return 0!=(50331648&this.nt)};n.prototype.isCancelled=function(){return 0!=(8454144&this.nt)},t.prototype.Vr=function(){return 65536==(65536&this.nt)},t.prototype.Ut=function(){return this.ct().Vr()},t.prototype.isCancelled=function(){return 0!=(8454144&this.ct().nt)},t.prototype.isPending=function(){return o.call(this.ct())},t.prototype.isRejected=function(){return u.call(this.ct())},t.prototype.isFulfilled=function(){return e.call(this.ct())},t.prototype.isResolved=function(){return s.call(this.ct())},t.prototype.value=function(){return r.call(this.ct())},t.prototype.reason=function(){var t=this.ct();return t.dn(),i.call(t)},t.prototype.Qn=function(){return this.hn()},t.prototype.Kn=function(){return this.dn(),this.hn()},t.PromiseInspection=n}},{}],33:[function(t,n,r){n.exports=function(n,r){var i=t("./util"),e=i.errorObj,u=i.isObject,o={}.hasOwnProperty;return function(t,s){if(u(t)){if(t instanceof n)return t;var f=function(t){try{return function(t){return t.then}(t)}catch(t){return e.e=t,e}}(t);if(f===e){s&&s.qt();var a=n.reject(f.e);return s&&s.Gt(),a}if("function"==typeof f){if(function(t){try{return o.call(t,"Ti")}catch(t){return!1}}(t)){var a=new n(r);return t.J(a.Vn,a.Z,void 0,a,null),a}return function(t,u,o){var s=new n(r),f=s;o&&o.qt(),s._n(),o&&o.Gt();var a=!0,c=i.tryCatch(u).call(t,function(t){s&&(s.ut(t),s=null)},function(t){s&&(s.jn(t,a,!0),s=null)});return a=!1,s&&c===e&&(s.jn(c.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var c=function(t){return h(+this).thenReturn(t)},h=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).J(c,null,null,t,void 0),i.cancellation()&&e instanceof n&&o.vt(e)):(o=new n(r),s=u(function(){o.Vn()},+t),i.cancellation()&&o.vt(new f(s)),o._n()),o.Ni(),o};function v(t){return o(this.handle),t}function l(t){throw o(this.handle),t}n.prototype.delay=function(t){return h(t,this)},n.prototype.timeout=function(t,n){var r,o,c=new f(u(function(){r.isPending()&&function(t,n,r){var i;i="string"!=typeof n?n instanceof a?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(i),t.Ht(i),t.Z(i),null!=r&&r.cancel()}(r,n,o)},t=+t));return i.cancellation()?(o=this.then(),(r=o.J(v,l,void 0,c,void 0)).vt(c)):r=this.J(v,l,void 0,c,void 0),r}}},{"./util":36}],35:[function(t,n,r){n.exports=function(n,r,i,e,o,s){var f=t("./util"),a=t("./errors").TypeError,c=t("./util").inherits,h=f.errorObj,v=f.tryCatch,l={};function _(t){u(function(){throw t},0)}function d(t,r){var e=0,u=t.length,s=new n(o);return function o(){if(e>=u)return s.Vn();var f=function(t){var n=i(t);return n!==t&&"function"==typeof t.Xr&&"function"==typeof t.zr&&t.Xr()&&n.Wr(t.zr()),n}(t[e++]);if(f instanceof n&&f.Xr()){try{f=i(f.zr().tryDispose(r),t.promise)}catch(t){return _(t)}if(f instanceof n)return f.J(o,_,null,null,null)}o()}(),s}function p(t,n,r){this.qr=t,this.Cn=n,this.Gr=r}function w(t,n,r){this.constructor$(t,n,r)}function m(t){return p.isDisposer(t)?(this.resources[this.index].Wr(t),t.promise()):t}function y(t){this.length=t,this.promise=null,this[t-1]=null}p.prototype.data=function(){return this.qr},p.prototype.promise=function(){return this.Cn},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},p.prototype.tryDispose=function(t){var n=this.resource(),r=this.Gr;void 0!==r&&r.qt();var i=n!==l?this.doDispose(n,t):null;return void 0!==r&&r.Gt(),this.Cn.jr(),this.qr=null,i},p.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},c(w,p),w.prototype.doDispose=function(t,n){var r=this.data();return r.call(t,t,n)},y.prototype._resultCancelled=function(){for(var t=this.length,r=0;r<t;++r){var i=this[r];i instanceof n&&i.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return r("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return r("expecting a function but got "+f.classString(u));var o=!0;2===t&&Array.isArray(arguments[0])?(e=arguments[0],t=e.length,o=!1):(e=arguments,t--);for(var a=new y(t),c=0;c<t;++c){var l=e[c];if(p.isDisposer(l)){var _=l;(l=l.promise()).Wr(_)}else{var w=i(l);w instanceof n&&(l=w.J(m,null,null,{resources:a,index:c},void 0))}a[c]=l}for(var g=new Array(a.length),c=0;c<g.length;++c)g[c]=n.resolve(a[c]).reflect();var E=n.all(g).then(function(t){for(var n=0;n<t.length;++n){var r=t[n];if(r.isRejected())return h.e=r.error(),h;if(!r.isFulfilled())return void E.cancel();t[n]=r.value()}b.qt(),u=v(u);var i=o?u.apply(void 0,t):u(t),e=b.Gt();return s.checkForgottenReturns(i,e,"Promise.using",b),i}),b=E.lastly(function(){var t=new n.PromiseInspection(E);return d(a,t)});return a.promise=b,b.vt(a),b},n.prototype.Wr=function(t){this.nt=131072|this.nt,this.Yr=t},n.prototype.Xr=function(){return(131072&this.nt)>0},n.prototype.zr=function(){return this.Yr},n.prototype.jr=function(){this.nt=-131073&this.nt,this.Yr=void 0},n.prototype.disposer=function(t){if("function"==typeof t)return new w(t,this,e());throw new a}}},{"./errors":12,"./util":36}],36:[function(n,i,u){var o,s=n("./es5"),f=void 0===e,c={e:{}},v=void 0!==t?t:void 0!==r?r:void 0!==w?w:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return c.e=t,c}}function _(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function d(t,n,r){if(_(t))return t;var i={value:r,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,i),t}var p=function(){var t=[Array.prototype,h.prototype,Function.prototype],n=function(n){for(var r=0;r<t.length;++r)if(t[r]===n)return!0;return!1};if(s.isES5){var r=h.getOwnPropertyNames;return function(t){for(var i=[],e=h.create(null);null!=t&&!n(t);){var u;try{u=r(t)}catch(t){return i}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var a=h.getOwnPropertyDescriptor(t,f);null!=a&&null==a.get&&null==a.set&&i.push(f)}}t=s.getPrototypeOf(t)}return i}}var i={}.hasOwnProperty;return function(r){if(n(r))return[];var e=[];t:for(var u in r)if(i.call(r,u))e.push(u);else{for(var o=0;o<t.length;++o)if(i.call(t[o],u))continue t;e.push(u)}return e}}(),m=/this\s*\.\s*\S+\s*=/,y=/^[a-z$_][a-z$_0-9]*$/i;function g(t){try{return t+""}catch(t){return"[no string representation]"}}function E(t){return t instanceof a||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function b(t){return E(t)&&s.propertyIsWritable(t,"stack")}var S="stack"in new a?function(t){return b(t)?t:new a(g(t))}:function(t){if(b(t))return t;try{throw new a(g(t))}catch(t){return t}};function I(t){return{}.toString.call(t)}var T=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var k="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,r=[],i=t[Symbol.iterator]();!(n=i.next()).done;)r.push(n.value);return r};T=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?k(t):null}}var A,N="undefined"!=typeof process&&"[object process]"===I(process).toLowerCase(),R="undefined"!=typeof process&&void 0!==process.env,D={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),r=s.isES5&&n.length>1,i=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=m.test(t+"")&&s.names(t).length>0;if(r||i||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return y.test(t)},inheritedDataKeys:p,getDataPropertyOrDefault:function(t,n,r){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var i=h.getOwnPropertyDescriptor(t,n);return null!=i?null==i.get&&null==i.set?i.value:r:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:T,notEnumerableProp:d,isPrimitive:_,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:E,canEvaluate:f,errorObj:c,tryCatch:function(t){return o=t,l},inherits:function(t,n){var r={}.hasOwnProperty;function i(){for(var i in this.constructor=t,this.constructor$=n,n.prototype)r.call(n.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=n.prototype[i])}return i.prototype=n.prototype,t.prototype=new i,t.prototype},withAppended:function(t,n){var r,i=t.length,e=new Array(i+1);for(r=0;r<i;++r)e[r]=t[r];return e[r]=n,e},maybeWrapAsError:function(t){return _(t)?new a(g(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,r){for(var i=new Array(t),e=0;e<t;++e)i[e]=n+e+r;return i},toString:g,canAttachTrace:b,ensureErrorObject:S,originatesFromRejection:function(t){return null!=t&&(t instanceof a.Rn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{d(t,"isOperational",!0)}catch(t){}},classString:I,copyDescriptors:function(t,n,r){for(var i=s.names(t),e=0;e<i.length;++e){var u=i[e];if(r(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:R,env:function(t){return R?process.env[t]:void 0},global:v,getNativePromise:function(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}},domainBind:function(t,n){return t.bind(n)}};D.isRecentNode=D.isNode&&(process.versions&&process.versions.node?A=process.versions.node.split(".").map(Number):process.version&&(A=process.version.split(".").map(Number)),0===A[0]&&A[1]>10||A[0]>0),D.isNode&&D.toFastProperties(process);try{throw new a}catch(t){D.lastLineError=t}i.exports=D},{"./es5":13}]},{},[4])(4),null!=r?r.P=r.Promise:null!=t&&(t.P=t.Promise)});var g,E=function(){};(g=y)&&g.config({warnings:!1,longStackTraces:!1});var b,S,I,T,k,A;g&&(T=g.setScheduler(E),b=T,k={Zr:function(t){S=t,b(I)},Jr:I=function(){var t=S;t&&(S=void 0,t())}},g.setScheduler(k.Zr));function N(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function R(t,n,r){return n&&N(t.prototype,n),r&&N(t,r),t}function D(t,n){return(D=h.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function P(t,n){t.prototype=h.create(n.prototype),t.prototype.constructor=t,D(t,n)}!function(t){t.$r="web",t.re="android",t.ue="android-tv",t.oe="ios",t.fe="tvos",t._e="chromecast"}(A||(A={}));var O=e?e.userAgent:"",C=O.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),F=O.match(/Android ([0-9\.]+)/i),L=O.match(/Windows NT ([0-9\.]+)/i),M=O.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),x=O.match(/Firefox\/([0-9\.]+)/i),B=O.match(/OPR\/(\d+\.\d+)/i),j=O.match(/Tizen ([0-9\.]+)/i),U=function(){function n(){this.we=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.ye=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(O)||/(macintosh|mac(?=_powerpc)\s)/i.test(O),this.ke=/Windows NT/i.test(O),this.me=L?_(L[1]):0,this.pe=/Android/i.test(O),this.Ae=F?_(F[1]):0,this.Te=/windows phone (8|8\.1)/i.test(O),this.Se=/iPhone/i.test(O),this.Ee=/iPad/i.test(O),this.Ie=this.ye&&this.we&&!this.Ee,this.Re=/iPod/i.test(O),this.Ne=/Mobile Safari/i.test(O),this.De=(this.Se||this.Ee||this.Ie||this.Re)&&!this.Te,this.Ce=this.Te||this.De||this.pe||this.Ne,this.Pe=/CriOS/i.test(O),this.Oe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Pe,this.Be=Boolean(t.chrome||/Chrome/i.test(O)||/CriOS/i.test(O)),this.Le=C?l(C[1],10):0,this.Me=/SMART-TV.*Tizen/i.test(O),this.xe=j?_(j[1]):0,this.Ue=/webos|web0s/i.test(O),this.Fe=/Edge\/\d+/i.test(O),this.He=/Trident/i.test(O),this.Ve=this.He&&!t.ActiveXObject&&"ActiveXObject"in t,this.Xe=/Vivaldi/i.test(O),this.ze=/Firefox/i.test(O)&&!/Seamonkey/i.test(O),this.We=x?_(x[1]):0,this.qe=/Safari/i.test(O)&&!/Chrome/i.test(O)&&!this.Te&&!this.Me,this.Ge=M?_(M[2]):0,this.je=Boolean(B),this.Ye=B?_(B[1]):0,this.Qe=/CrKey/.test(O),this.Ke=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(O),this.Ze="web"===A.ue,this.Je="web"===A.re,this.$e=this.Je||this.Ze,this.ns="web"===A.oe,this.rs="web"===A.fe,this.us="web"===A._e}return R(n,[{key:"hs",get:function(){return this.we}},{key:"fs",get:function(){return this.ye}},{key:"vs",get:function(){return this.ke}},{key:"ds",get:function(){return this.me}},{key:"ls",get:function(){return this.pe}},{key:"_s",get:function(){return this.Ae}},{key:"gs",get:function(){return this.Te}},{key:"ys",get:function(){return this.Se}},{key:"As",get:function(){return this.Ee}},{key:"Ts",get:function(){return this.Ie}},{key:"Ss",get:function(){return this.Re}},{key:"Es",get:function(){return this.De}},{key:"Is",get:function(){return this.Ne}},{key:"Rs",get:function(){return this.Ce}},{key:"Ns",get:function(){return this.Pe}},{key:"Ds",get:function(){return this.Oe}},{key:"Cs",get:function(){return this.Le}},{key:"Ps",get:function(){return this.Me}},{key:"Os",get:function(){return this.xe}},{key:"Bs",get:function(){return this.Ue}},{key:"Ls",get:function(){return this.Fe}},{key:"Ms",get:function(){return this.He}},{key:"xs",get:function(){return this.Ve}},{key:"Us",get:function(){return this.Xe}},{key:"Fs",get:function(){return this.ze}},{key:"Hs",get:function(){return this.We}},{key:"Vs",get:function(){return this.qe}},{key:"Xs",get:function(){return this.Ge}},{key:"zs",get:function(){return this.je}},{key:"Ws",get:function(){return this.Ye}},{key:"qs",get:function(){return this.Qe}},{key:"Gs",get:function(){return this.Ke}},{key:"js",get:function(){if(!(this.Bs||this.Ps))return!1;var t=this.Cs;return void 0===t||Number(t)<56}},{key:"Ys",get:function(){return this.Ze}},{key:"Qs",get:function(){return this.Je}},{key:"Ks",get:function(){return this.$e}},{key:"Zs",get:function(){return this.ns}},{key:"Js",get:function(){return this.rs}},{key:"$s",get:function(){return this.us}},{key:"tu",get:function(){return this.Be}}]),n}();U.nu=new U;var H=U.nu;function W(t){return null!=t}var G=!(H.Ms&&!H.xs),V=t.console;function X(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function q(t){return t.map(X).join(" ")}function z(t){var n=V&&V[t];return n?n.bind&&G?n.bind(V):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];V[t](q(r))}:void 0}var Y,K=z("log")||E,$=z("warn")||K.bind(void 0,"WARNING:"),Z=z("error")||K.bind(void 0,"ERROR:"),Q=(Y=V&&V.assert)?Y.bind&&G?Y.bind(V):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];V.assert(t,q(r))}:function(t){if(!t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Z.apply(void 0,["Assertion failed:"].concat(r))}},J=nt,tt=null;try{tt=new WebAssembly.Instance(new WebAssembly.Module(new p([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function nt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function rt(t){return!0===(t&&t.uu)}nt.prototype.uu,h.defineProperty(nt.prototype,"uu",{value:!0}),nt.isLong=rt;var it={},et={};function ut(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=et[t])?i:(r=st(t,(0|t)<0?-1:0,!0),e&&(et[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=it[t])?i:(r=st(t,t<0?-1:0,!1),e&&(it[t]=r),r)}function ot(t,n){if(d(t))return n?pt:dt;if(n){if(t<0)return pt;if(t>=vt)return Et}else{if(t<=-lt)return bt;if(t+1>=lt)return gt}return t<0?ot(-t,n).neg():st(t%ht|0,t/ht|0,n)}function st(t,n,r){return new nt(t,n,r)}nt.fromInt=ut,nt.fromNumber=ot,nt.fromBits=st;var ft=v.pow;function at(t,n,r){if(0===t.length)throw a("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return dt;if("number"==typeof n?(r=n,n=!1):n=!!n,(r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw a("interior hyphen");if(0===i)return at(t.substring(1),n,r).neg();for(var e=ot(ft(r,8)),u=dt,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),r);if(s<8){var c=ot(ft(r,s));u=u.mul(c).add(ot(f))}else u=(u=u.mul(e)).add(ot(f))}return u.unsigned=n,u}function ct(t,n){return"number"==typeof t?ot(t,n):"string"==typeof t?at(t,n):st(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}nt.fromString=at,nt.fromValue=ct;var ht=4294967296,vt=ht*ht,lt=vt/2,_t=ut(1<<24),dt=ut(0);nt.ZERO=dt;var pt=ut(0,!0);nt.UZERO=pt;var wt=ut(1);nt.ONE=wt;var mt=ut(1,!0);nt.UONE=mt;var yt=ut(-1);nt.NEG_ONE=yt;var gt=st(-1,2147483647,!1);nt.MAX_VALUE=gt;var Et=st(-1,-1,!0);nt.MAX_UNSIGNED_VALUE=Et;var bt=st(0,-2147483648,!1);nt.MIN_VALUE=bt;var St=nt.prototype;St.toInt=function(){return this.unsigned?this.low>>>0:this.low},St.toNumber=function(){return this.unsigned?(this.high>>>0)*ht+(this.low>>>0):this.high*ht+(this.low>>>0)},St.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(bt)){var n=ot(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=ot(ft(t,6),this.unsigned),u=this,o="";;){var s=u.div(e),f=(u.sub(s.mul(e)).toInt()>>>0).toString(t);if((u=s).isZero())return f+o;for(;f.length<6;)f="0"+f;o=""+f+o}},St.getHighBits=function(){return this.high},St.getHighBitsUnsigned=function(){return this.high>>>0},St.getLowBits=function(){return this.low},St.getLowBitsUnsigned=function(){return this.low>>>0},St.getNumBitsAbs=function(){if(this.isNegative())return this.eq(bt)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1},St.isZero=function(){return 0===this.high&&0===this.low},St.eqz=St.isZero,St.isNegative=function(){return!this.unsigned&&this.high<0},St.isPositive=function(){return this.unsigned||this.high>=0},St.isOdd=function(){return 1==(1&this.low)},St.isEven=function(){return 0==(1&this.low)},St.equals=function(t){return rt(t)||(t=ct(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},St.eq=St.equals,St.notEquals=function(t){return!this.eq(t)},St.neq=St.notEquals,St.ne=St.notEquals,St.lessThan=function(t){return this.comp(t)<0},St.lt=St.lessThan,St.lessThanOrEqual=function(t){return this.comp(t)<=0},St.lte=St.lessThanOrEqual,St.le=St.lessThanOrEqual,St.greaterThan=function(t){return this.comp(t)>0},St.gt=St.greaterThan,St.greaterThanOrEqual=function(t){return this.comp(t)>=0},St.gte=St.greaterThanOrEqual,St.ge=St.greaterThanOrEqual,St.compare=function(t){if(rt(t)||(t=ct(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},St.comp=St.compare,St.negate=function(){return!this.unsigned&&this.eq(bt)?bt:this.not().add(wt)},St.neg=St.negate,St.add=function(t){rt(t)||(t=ct(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,a=0,c=0,h=0;return c+=(h+=e+(65535&t.low))>>>16,a+=(c+=i+s)>>>16,f+=(a+=r+o)>>>16,f+=n+u,st((c&=65535)<<16|(h&=65535),(f&=65535)<<16|(a&=65535),this.unsigned)},St.subtract=function(t){return rt(t)||(t=ct(t)),this.add(t.neg())},St.sub=St.subtract,St.multiply=function(t){if(this.isZero())return dt;if(rt(t)||(t=ct(t)),tt)return st(tt.mul(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned);if(t.isZero())return dt;if(this.eq(bt))return t.isOdd()?bt:dt;if(t.eq(bt))return this.isOdd()?bt:dt;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(_t)&&t.lt(_t))return ot(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,a=0,c=0,h=0,v=0;return h+=(v+=e*f)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=e*s)>>>16,a+=(c+=r*f)>>>16,c&=65535,a+=(c+=i*s)>>>16,c&=65535,a+=(c+=e*o)>>>16,a+=n*f+r*s+i*o+e*u,st((h&=65535)<<16|(v&=65535),(a&=65535)<<16|(c&=65535),this.unsigned)},St.mul=St.multiply,St.divide=function(t){if(rt(t)||(t=ct(t)),t.isZero())throw a("division by zero");var n,r,i;if(tt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?st((this.unsigned?tt.div_u:tt.div_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?pt:dt;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return pt;if(t.gt(this.shru(1)))return mt;i=pt}else{if(this.eq(bt))return t.eq(wt)||t.eq(yt)?bt:t.eq(bt)?wt:(n=this.shr(1).div(t).shl(1)).eq(dt)?t.isNegative()?wt:yt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(bt))return this.unsigned?pt:dt;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=dt}for(r=this;r.gte(t);){n=v.max(1,v.floor(r.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:ft(2,e-48),o=ot(n),s=o.mul(t);s.isNegative()||s.gt(r);)s=(o=ot(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=wt),i=i.add(o),r=r.sub(s)}return i},St.div=St.divide,St.modulo=function(t){return rt(t)||(t=ct(t)),tt?st((this.unsigned?tt.rem_u:tt.rem_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},St.mod=St.modulo,St.rem=St.modulo,St.not=function(){return st(~this.low,~this.high,this.unsigned)},St.and=function(t){return rt(t)||(t=ct(t)),st(this.low&t.low,this.high&t.high,this.unsigned)},St.or=function(t){return rt(t)||(t=ct(t)),st(this.low|t.low,this.high|t.high,this.unsigned)},St.xor=function(t){return rt(t)||(t=ct(t)),st(this.low^t.low,this.high^t.high,this.unsigned)},St.shiftLeft=function(t){return rt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?st(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):st(0,this.low<<t-32,this.unsigned)},St.shl=St.shiftLeft,St.shiftRight=function(t){return rt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?st(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):st(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},St.shr=St.shiftRight,St.shiftRightUnsigned=function(t){if(rt(t)&&(t=t.toInt()),0===(t&=63))return this;var n=this.high;return t<32?st(this.low>>>t|n<<32-t,n>>>t,this.unsigned):st(32===t?n:n>>>t-32,0,this.unsigned)},St.shru=St.shiftRightUnsigned,St.shr_u=St.shiftRightUnsigned,St.toSigned=function(){return this.unsigned?st(this.low,this.high,!1):this},St.toUnsigned=function(){return this.unsigned?this:st(this.low,this.high,!0)},St.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},St.toBytesLE=function(){var t=this.high,n=this.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},St.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},nt.fromBytes=function(t,n,r){return r?nt.fromBytesLE(t,n):nt.fromBytesBE(t,n)},nt.fromBytesLE=function(t,n){return new nt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},nt.fromBytesBE=function(t,n){return new nt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var It=J,Tt=v.pow(2,-52);function kt(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function At(){return Date.now()||(new Date).getTime()}var Nt;It.fromNumber(9007199254740991);!function(t){t[t.au=1]="au",t[t.vu=2]="vu",t[t.fu=3]="fu",t[t.du=4]="du",t[t._u=9]="_u"}(Nt||(Nt={}));var Rt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.apply(this,n)};(Rt.prototype=h.create(a.prototype)).constructor=Rt;var Dt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,a.captureStackTrace&&a.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),i.constructor),i}return P(n,t),R(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Rt),Pt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return P(n,t),n}(Dt),Ot=function(){function t(){}return t.prototype.wu=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new Pt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Pt;return new jt(n)},t}(),Ct=function(){function t(t){this.yu=void 0,this.yu=t}var n=t.prototype;return n.mu=function(t){return this.yu.isEqualNode(t.yu)},n.pu=function(n){return new t(this.yu.cloneNode(n))},R(t,[{key:"ou",get:function(){return Nt.vu}},{key:"bu",get:function(){var t;return null!=(t=this.yu.localName)?t:Wt(this.yu.nodeName)}},{key:"Au",get:function(){return this.yu.nodeName}},{key:"Tu",get:function(){var t;return null!=(t=this.yu.namespaceURI)?t:void 0}},{key:"Su",get:function(){var t;return null!=(t=this.yu.prefix)?t:void 0}},{key:"Eu",get:function(){return this.yu.nodeValue}}]),t}(),Ft=function(){function t(t){this.Iu=void 0,this.Ru=void 0,this.Iu=t}var n=t.prototype;return n.Nu=function(t){return this.Du.filter(function(n){return Ut(n)&&n.Cu===t})},n.Pu=function(t,n){return this.Du.filter(function(r){return Ut(r)&&r.bu===n&&r.Tu===t})},n.Ou=function(t){this.Iu.appendChild(t.Bu),this.Ru&&this.Ru.push(t)},n.mu=function(t){return this.Iu.isEqualNode(t.Bu)},R(t,[{key:"Du",get:function(){return void 0===this.Ru&&(this.Ru=function(t){for(var n=[],r=0;r<t.length;r++){var i=Ht(t.item(r));i&&n.push(i)}return n}(this.Iu.childNodes)),this.Ru}},{key:"Lu",get:function(){return this.Du.filter(Ut)}},{key:"Bu",get:function(){return this.Iu}}]),t}(),Lt=function(t){function n(n){return t.call(this,n)||this}P(n,t);var r=n.prototype;return r.Mu=function(t){if(this.Iu.hasAttribute(t))return this.Iu.getAttribute(t)},r.xu=function(t,n){if(this.Iu.hasAttributeNS(t,n))return this.Iu.getAttributeNS(t,n)},r.Uu=function(t){this.Iu.removeAttribute(t)},r.Fu=function(t,n){this.Iu.removeAttributeNS(t,n)},r.Hu=function(t,n){this.Iu.setAttribute(t,n)},r.Vu=function(t,n,r){this.Iu.setAttributeNS(t,n,r)},r.pu=function(t){return new n(this.Iu.cloneNode(t))},R(n,[{key:"ou",get:function(){return Nt.au}},{key:"bu",get:function(){var t;return null!=(t=this.Iu.localName)?t:Wt(this.Iu.nodeName)}},{key:"Tu",get:function(){var t;return null!=(t=this.Iu.namespaceURI)?t:void 0}},{key:"Su",get:function(){var t;return null!=(t=this.Iu.prefix)?t:void 0}},{key:"Cu",get:function(){return this.Iu.nodeName}},{key:"Xu",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new Ct(t.item(r)));return n}(this.Iu.attributes)}},{key:"Wu",get:function(){return this.Iu.textContent}}]),n}(Ft),Mt=function(){function t(t){this.Iu=void 0,this.Iu=t}return t.prototype.mu=function(t){return this.Gu===t.Gu},R(t,[{key:"Gu",get:function(){return this.Iu.nodeValue}},{key:"Bu",get:function(){return this.Iu}}]),t}(),xt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.pu=function(t){return new n(this.Iu.cloneNode(t))},R(n,[{key:"ou",get:function(){return Nt.fu}}]),n}(Mt),Bt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.pu=function(t){return new n(this.Iu.cloneNode(t))},R(n,[{key:"ou",get:function(){return Nt.du}}]),n}(Mt),jt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.pu=function(t){return new n(this.Iu.cloneNode(t))},R(n,[{key:"ou",get:function(){return Nt._u}},{key:"ju",get:function(){return new Lt(this.Iu.documentElement)}}]),n}(Ft);function Ut(t){return function(t){return t.ou===Nt.au}(t)}function Ht(t){switch(t.nodeType){case Nt.au:return new Lt(t);case Nt.fu:return new xt(t);case Nt.du:return new Bt(t)}}function Wt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Gt(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function Vt(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){Xt(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&Xt(r,null,t.length,t),t}function Xt(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(e=0;e<a;e+=h)for(o=(u=e+r)+r,u>a&&(u=a),o>a&&(o=a),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<u)i[c++]=t[s++];else{if(!(f<o))break;i[c++]=t[f++]}}var qt=/[a-zA-Z]/,zt=/[0-9]/,Yt=/[0-9a-fA-F]/,Kt=/^0x/i,$t=/^[0-9]+$/,Zt=/^[0-9a-fA-F]+$/,Qt=/^[0-7]+$/,Jt=h.prototype.toString,tn=Array.isArray||function(t){return"[object Array]"===Jt.call(t)},nn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function rn(t){return tn(t)?t:Array.from(t)}function en(t){return t>=65&&t<=90}function un(t){return en(t)||function(t){return t>=97&&t<=122}(t)}function on(t){return t>=48&&t<=57}function sn(t){return on(t)||un(t)}function fn(t){return on(t)||t>=65&&t<=70||t>=97&&t<=102}function an(t){return en(t)?t+32:t}function cn(t){return on(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function hn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var vn=v.min,ln=String.fromCharCode,_n=16384;function dn(t){for(var n=t.length,r=[],i=0;i<n;i+=_n){var e=vn(i+_n,n);r.push(ln.apply(null,t.slice(i,e)))}return r.join("")}var pn=/[^\0-\x7E]/,wn=/[\x2E\u3002\uFF0E\uFF61]/g,mn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},yn=v.floor,gn=String.fromCharCode;function En(t){throw new RangeError(mn[t])}function bn(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var Sn,In,Tn,kn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},An=function(t,n,r){var i=0;for(t=r?yn(t/700):t>>1,t+=yn(t/n);t>455;i+=36)t=yn(t/35);return yn(i+36*t/(t+38))},Nn=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(wn,".")).split("."),n).join(".");return i+e}(t,function(t){return pn.test(t)?"xn--"+function(t){for(var n=[],r=(t=bn(t)).length,i=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(gn(f))}var a=n.length,c=a;for(a&&n.push("-");c<r;){for(var h=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=c+1;h-i>yn((2147483647-e)/d)&&En("overflow"),e+=(h-i)*d,i=h;for(var p=0,w=t;p<w.length;p++){var m=w[p];if(m<i&&++e>2147483647&&En("overflow"),m==i){for(var y=e,g=36;;g+=36){var E=g<=u?1:g>=u+26?26:g-u;if(y<E)break;var b=y-E,S=36-E;n.push(gn(kn(E+b%S,0))),y=yn(b/S)}n.push(gn(kn(y,0))),u=An(e,d,c==a),e=0,++c}}++e,++i}return n.join("")}(t):t})};function Rn(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return dn(n)}function Dn(t){if(t>=55296&&t<=57343)throw new a("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Pn(t,n){return t>>n&63|128}function On(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(Dn(t),n.push(t>>12&15|224),n.push(Pn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Pn(t,12)),n.push(Pn(t,6))),n.push(63&t|128)):n.push(t)}function Cn(t){for(var n=[],r=0;r<t.length;r++){On(t[r],n)}return n}function Fn(){if(Tn>=In)throw new a("Invalid byte index");var t=255&Sn[Tn];if(Tn++,128==(192&t))return 63&t;throw new a("Invalid continuation byte")}function Ln(){var t,n;if(Tn>In)throw new a("Invalid byte index");if(Tn===In)return!1;if(t=255&Sn[Tn],Tn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Fn())>=128)return n;throw new a("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Fn()<<6|Fn())>=2048)return Dn(n),n;throw new a("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Fn()<<12|Fn()<<6|Fn())>=65536&&n<=1114111)return n;throw new a("Invalid UTF-8 detected")}function Mn(t){return[37,hn(t>>4),hn(15&t)]}function xn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Bn(t){return xn(t)||32===t||34===t||60===t||62===t||96===t}function jn(t){return Bn(t)||35===t||63===t||123===t||125===t}function Un(t){return jn(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Hn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Wn(t){return Hn(t)||39===t}function Gn(t,n){if(!n(t))return[t];for(var r=Cn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Mn(u))}return i}function Vn(t,n){for(var r=[],i=0,e=bn(t);i<e.length;i++){var u=e[i];r.push.apply(r,Gn(u,n))}return Rn(r)}function Xn(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&fn(t[i+1])&&fn(t[i+2])){var u=cn(t[i+1])<<4|cn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Cn(t))}function qn(t){return Rn(function(t){Sn=t.slice(),In=Sn.length,Tn=0;for(var n,r=[];!1!==(n=Ln());)r.push(n);return r}(Xn(bn(t))))}function zn(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,a=0;if(a<u&&":"===t[a]){if(!(a+1<u&&":"===t[a+1]))throw new c;a+=2,f=s+=1}for(;a<u;){if(8===s)throw new c("Too many groups");if(":"!==t[a]){for(var h=0,v=0;v<4&&a<u&&Yt.test(t[a]);)h=h<<4|l(t[a],16),a+=1,v+=1;if("."===t[a]){if(0===v)throw new c;if(a-=v,s>6)throw new c;for(var _=0;a<u;){var d=null;if(_>0){if(!("."===t[a]&&_<4))throw new c;a+=1}if(!zt.test(t[a]))throw new c;for(;a<u&&zt.test(t[a]);){var p=l(t[a],10);if(null===d)d=p;else{if(0===d)throw new c;if((d=10*d+p)>255)throw new c}a+=1}o[s]=o[s]<<8|d,2!==(_+=1)&&4!==_||(s+=1)}if(4!==_)throw new c;break}if(":"===t[a]){if((a+=1)===u)throw new c}else if(a<u)throw new c;o[s]=h,s+=1}else{if(null!==f)throw new c("Too many :: groups");a+=1,f=s+=1}}if(null!==f){var w=s-f;for(s=7;0!==s&&w>0;)i=f+w-1,e=void 0,e=(n=o)[r=s],n[r]=n[i],n[i]=e,s-=1,w-=1}else if(8!==s)throw new c;return o}function Yn(t){var n=10,r=$t;return Kt.test(t)?(t=t.slice(2),n=16,r=Zt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=Qt),""===t?0:r.test(t)?l(t,n):void 0}var Kn={Yu:4},$n=/[\0\t\n\r #%/:?@\[\\\]]/,Zn=/[\0\t\n\r #/:?@\[\\\]]/;function Qn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new c("Invalid IPv6 address");return{Yu:2,Qu:zn(t.slice(1,-1))}}if(!n)return function(t){if(Zn.test(t))throw new c("Invalid code point in opaque host");var n=Vn(t,xn);return""===n?Kn:{Yu:3,qr:n}}(t);var r=function(t){return function(t){return Nn(t.toLowerCase())}(t)}(qn(t));if($n.test(r))throw new c("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=Yn(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new c;if(r[r.length-1]>=v.pow(256,5-r.length))throw new c;for(var s=r.pop(),f=0;f<r.length;f++)s+=r[f]*v.pow(256,3-f);return s}}(r);return void 0!==i?{Yu:1,Qu:i}:""===r?Kn:{Yu:0,Ku:r}}function Jn(t){switch(t.Yu){case 0:return t.Ku;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Qu);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Qu)+"]";case 3:return t.qr;case 4:return""}}var tr=/\+/g;function nr(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,s=void 0;-1!==u?(o=e.slice(0,u),s=e.slice(u+1)):(o=e,s=""),o=o.replace(tr," "),s=s.replace(tr," ");var f=qn(o),a=qn(s);r.push([f,a])}}return r}function rr(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=ir(Cn(bn(i[0])))+"="+ir(Cn(bn(i[1])))}return n}function ir(t){for(var n,r=[],i=0;i<t.length;i++){var e=t[i];32===e?r.push(43):42===(n=e)||45===n||46===n||95===n||sn(n)?r.push(e):r.push.apply(r,Mn(e))}return dn(r)}var er=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function ur(t){var n=""+t,r=er.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(sr(u))if(fr(u)||e===r-1)i.push(or);else{var o=t.charCodeAt(e+1);fr(o)?(i.push(u,o),e++):i.push(or)}else i.push(u)}return t.slice(0,n)+dn(i)}(n,r.index):n}var or=65533,sr=function(t){return 55296==(63488&t)},fr=function(t){return 0!=(1024&t)};function ar(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function cr(t){t.Zu.length=0}function hr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Zu,nr(n))}function vr(t){if(t.Ju){var n=rr(t.Zu);""===n&&(n=null),t.Ju.Ju.$u=n}}function lr(t){return t instanceof _r&&(!!tn(t.Zu)&&(!nn||t[Symbol.iterator]===dr))}var _r=function(){function t(t){if(void 0===t&&(t=void 0),this.Ju=null,null==t)this.Zu=[];else if("object"==typeof t||"function"==typeof t)if(lr(t))this.Zu=t.Zu.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.Zu=[];for(var n=0,r=rn(t);n<r.length;n++){var i=rn(r[n]);if(2!==i.length)throw new c("Invalid name-value pair");this.Zu.push([ur(i[0]),ur(i[1])])}}else for(var e in this.Zu=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.Zu.push([ur(e),ur(t[e])]);else(t=ur(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Zu=nr(t);var u}var n=t.prototype;return n.append=function(t,n){t=ur(t),n=ur(n),this.Zu.push([t,n]),vr(this)},n.delete=function(t){t=ur(t);for(var n=this.Zu,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}vr(this)},n.get=function(t){t=ur(t);for(var n=this.Zu,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=ur(t);for(var n=this.Zu,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=ur(t);for(var n=this.Zu,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=ur(t),n=ur(n);for(var r=this.Zu,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),vr(this)},n.sort=function(){Vt(this.Zu,ar),vr(this)},n.toString=function(){return rr(this.Zu)},n.entries=function(){return new yr(this.Zu,pr)},n.keys=function(){return new yr(this.Zu,wr)},n.values=function(){return new yr(this.Zu,mr)},n.forEach=function(t){var n=this;this.Zu.forEach(function(r){return t(r[1],r[0],n)})},t}(),dr=_r.prototype.entries;nn&&(_r.prototype[Symbol.iterator]=dr);var pr=function(t){return[t[0],t[1]]},wr=function(t){return t[0]},mr=function(t){return t[1]},yr=function(){function t(t,n){this.uo=0,this.Zu=t,this.oo=n}return t.prototype.next=function(){return this.uo<this.Zu.length?{done:!1,value:this.oo(this.Zu[this.uo++])}:{done:!0,value:void 0}},t}(),gr="null";var Er=h.create(null);Er.ftp=21,Er.file=0,Er.gopher=70,Er.http=80,Er.https=443,Er.ws=80,Er.wss=443;var br=/^(?:\.|%2e)$/i,Sr=/^(?:\.|%2e){2}$/i;function Ir(t){return br.test(t)}function Tr(t){return Sr.test(t)}function kr(t){return void 0!==Er[t]}function Ar(t){return kr(t.ao)}function Nr(t){return""!==t.do||""!==t._o}function Rr(t){var n=t.length;if(!(n>=2))return!1;if(!Pr(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Dr(t){return 2===t.length&&qt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Pr(t){return 2===t.length&&Dr(dn(t))}function Or(t){return Dr(t)&&":"===t[1]}function Cr(t){var n=t.mo;0!==n.length&&("file"===t.ao&&1===n.length&&Or(n[0])||n.pop())}function Fr(t){return null===t.po||Kn===t.po||t.Ao||"file"===t.ao}var Lr=-1,Mr=/\t|\n|\r/g,xr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Br(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Ur,t=t.replace(xr,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,a=bn(t=t.replace(Mr,"")),h=a.length,v=0;v<=h;){var _=v<h?a[v]:Lr;switch(e){case 0:if(!un(_)){if(null===i){u.length=0,e=2;continue}throw new c("Invalid scheme")}u.push(an(_)),e=1;break;case 1:if(sn(_)||43===_||45===_||46===_)u.push(an(_));else{if(58!==_){if(null===i){u.length=0,e=2,v=0;continue}throw new c("Invalid scheme")}var d=Rn(u);if(null!==i){if(kr(r.ao)&&!kr(d))return;if(!kr(r.ao)&&kr(d))return;if((Nr(r)||null!==r.To)&&"file"===d)return;if("file"===r.ao&&(r.po===Kn||null===r.po))return}if(r.ao=d,null!==i)return void(Ar(r)&&r.To===Er[r.ao]&&(r.To=null));u.length=0,"file"===r.ao?e=13:Ar(r)&&n&&n.ao===r.ao?e=3:Ar(r)?e=7:47===a[v+1]?(e=4,v+=1):(r.Ao=!0,r.mo.push(""),e=18)}break;case 2:if(!n||n.Ao&&35!==_)throw new c("Invalid scheme");n.Ao&&35===_?(r.ao=n.ao,r.mo=n.mo.slice(),r.$u=n.$u,r.So="",r.Ao=!0,e=20):"file"!==n.ao?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===a[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:r.ao=n.ao,Lr===_?(r.do=n.do,r._o=n._o,r.po=n.po,r.To=n.To,r.mo=n.mo.slice(),r.$u=n.$u):47===_?e=6:63===_?(r.do=n.do,r._o=n._o,r.po=n.po,r.To=n.To,r.mo=n.mo.slice(),r.$u="",e=19):35===_?(r.do=n.do,r._o=n._o,r.po=n.po,r.To=n.To,r.mo=n.mo.slice(),r.$u=n.$u,r.So="",e=20):92===_&&Ar(r)?e=6:(r.do=n.do,r._o=n._o,r.po=n.po,r.To=n.To,r.mo=n.mo.slice(),r.mo.pop(),e=17,v-=1);break;case 6:!Ar(r)||47!==_&&92!==_?47===_?e=9:(r.do=n.do,r._o=n._o,r.po=n.po,r.To=n.To,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==a[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==_&&92!==_&&(e=9,v-=1);break;case 9:if(64===_){o&&u.unshift(37,52,48),o=!0;for(var p=0;p<u.length;p++){var w=u[p];if(58!==w||f){var m=Rn(Gn(w,Un));f?r._o+=m:r.do+=m}else f=!0}u.length=0}else if(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_){if(o&&0===u.length)throw new c("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.ao)v-=1,e=15;else if(58!==_||s)if(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_){if(v-=1,Ar(r)&&0===u.length)throw new c("Invalid host");if(null!==i&&0===u.length&&(Nr(r)||null!==r.To))return;var y=Qn(Rn(u),Ar(r));if(r.po=y,u.length=0,e=16,null!==i)return}else 91===_?s=!0:93===_&&(s=!1),u.push(_);else{if(0===u.length)throw new c("Invalid host");var g=Qn(Rn(u),Ar(r));if(r.po=g,u.length=0,e=12,11===i)return}break;case 12:if(on(_))u.push(_);else{if(!(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_||null!==i))throw new c("Invalid port");if(0!==u.length){var E=l(Rn(u),10);if(E>65535)throw new c("Invalid port");r.To=E===Er[r.ao]?null:E,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.ao="file",47===_||92===_?e=14:n&&"file"===n.ao?Lr===_?(r.po=n.po,r.mo=n.mo.slice(),r.$u=n.$u):63===_?(r.po=n.po,r.mo=n.mo.slice(),r.$u="",e=19):35===_?(r.po=n.po,r.mo=n.mo.slice(),r.$u=n.$u,r.So="",e=20):(Rr(a.slice(v))||(r.po=n.po,r.mo=n.mo.slice(),Cr(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.ao&&!Rr(a.slice(v))&&(Or(n.mo[0])?r.mo.push(n.mo[0]):r.po=n.po),e=17,v-=1);break;case 15:if(Lr===_||47===_||92===_||63===_||35===_)if(v-=1,null===i&&Pr(u))e=17;else if(0===u.length){if(r.po=Kn,null!==i)return;e=16}else{var b=Qn(Rn(u),Ar(r));if(0===b.Yu&&"localhost"===b.Ku&&(b=Kn),r.po=b,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:Ar(r)?(e=17,47!==_&&92!==_&&(v-=1)):null===i&&63===_?(r.$u="",e=19):null===i&&35===_?(r.So="",e=20):Lr!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Lr===_||47===_||Ar(r)&&92===_||null===i&&(63===_||35===_)){var S=Rn(u);if(Tr(S)?(Cr(r),47===_||Ar(r)&&92===_||r.mo.push("")):!Ir(S)||47===_||Ar(r)&&92===_?Ir(S)||("file"===r.ao&&0===r.mo.length&&Pr(u)&&(Kn!==r.po&&null!==r.po&&(r.po=Kn),u[1]=58,S=Rn(u)),r.mo.push(S)):r.mo.push(""),u.length=0,"file"===r.ao&&(Lr===_||63===_||35===_))for(;r.mo.length>1&&""===r.mo[0];)r.mo.shift();63===_?(r.$u="",e=19):35===_&&(r.So="",e=20)}else u.push.apply(u,Gn(_,jn));break;case 18:63===_?(r.$u="",e=19):35===_?(r.So="",e=20):Lr!==_&&(r.mo[0]+=Rn(Gn(_,xn)));break;case 19:null===i&&35===_?(r.So="",e=20):Lr!==_&&(r.$u+=Rn(Gn(_,Ar(r)?Wn:Hn)));break;case 20:Lr===_||0===_||(r.So+=Rn(Gn(_,Bn)))}v++}return r}function jr(t,n,r,i){try{Br(t,n,r,i)}catch(t){}}var Ur=function(){this.ao="",this.do="",this._o="",this.po=null,this.To=null,this.mo=[],this.$u=null,this.So=null,this.Ao=!1};function Hr(t){switch(t.ao){case"blob":var n;try{n=Br(t.mo[0],null)}catch(t){return gr}return Hr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.ao,i=t.po,e=t.To,r+"://"+Jn(i)+(null===e?"":":"+e);case"file":default:return gr}var r,i,e}function Wr(t){return null!=t&&(t instanceof Vr&&"object"==typeof t.Ju)}var Gr,Vr=function(){function t(t,n){var r,i=null;if(null!=n)if(Wr(n))i=n.Ju;else try{i=Br(String(n),null)}catch(t){throw new c("Invalid base URL: "+t.message)}try{r=Br(String(t),i)}catch(t){throw new c("Invalid URL: "+t.message)}var e=r.$u;this.Ju=r,this.$u=function(t){var n=new _r;return null!==t&&hr(n,t),n}(e),this.$u.Ju=this}var n,r,i,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(r=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.ao+":";if(null!==t.po?(r+="//",Nr(t)&&(r+=t.do,""!==t._o&&(r+=":"+t._o),r+="@"),r+=Jn(t.po),null!==t.To&&(r+=":"+t.To)):null===t.po&&"file"===t.ao&&(r+="//"),t.Ao)r+=t.mo[0];else for(var i=0,e=t.mo;i<e.length;i++)r+="/"+e[i];return null!==t.$u&&(r+="?"+t.$u),n||null===t.So||(r+="#"+t.So),r}(this.Ju)},set:function(t){var n;try{n=Br(String(t),null)}catch(t){throw new c("Invalid URL: "+t.message)}this.Ju=n,cr(this.$u);var r=this.Ju.$u;null!==r&&hr(this.$u,r)}},{key:"origin",get:function(){return Hr(this.Ju)}},{key:"protocol",get:function(){return this.Ju.ao+":"},set:function(t){jr(t+":",null,this.Ju,0)}},{key:"username",get:function(){return this.Ju.do},set:function(t){Fr(this.Ju)||(this.Ju.do=Vn(t,Un))}},{key:"password",get:function(){return this.Ju._o},set:function(t){Fr(this.Ju)||(this.Ju._o=Vn(t,Un))}},{key:"host",get:function(){var t=this.Ju,n=t.po;if(null===n)return"";var r=t.To,i=Jn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Ju.Ao||jr(t,null,this.Ju,10)}},{key:"hostname",get:function(){var t=this.Ju.po;return null===t?"":Jn(t)},set:function(t){this.Ju.Ao||jr(t,null,this.Ju,11)}},{key:"port",get:function(){var t=this.Ju.To;return null===t?"":""+t},set:function(t){Fr(this.Ju)||(""===t?this.Ju.To=null:jr(t,null,this.Ju,12))}},{key:"pathname",get:function(){var t=this.Ju.mo;return this.Ju.Ao?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ju.Ao||(this.Ju.mo.length=0,jr(t,null,this.Ju,16))}},{key:"search",get:function(){var t=this.Ju.$u;return null===t||""===t?"":"?"+t},set:function(t){t=ur(t);var n=this.Ju;if(""===t)return n.$u=null,void cr(this.$u);"?"===t[0]&&(t=t.slice(1)),n.$u="",jr(t,null,n,19),hr(this.$u,t)}},{key:"searchParams",get:function(){return this.$u}},{key:"hash",get:function(){var t=this.Ju.So;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ju.So="",jr(t,null,this.Ju,20)):this.Ju.So=null}}])&&Gt(n.prototype,r),i&&Gt(n,i),t}();function Xr(t){return t.document&&t.document.baseURI||t.location.href||""}function qr(){return void 0!==i?i.createElement("video"):void 0}var zr=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),Yr=(Gr||(Gr=qr()),Gr),Kr=!(!Yr||!Yr.webkitShowPlaybackTargetPicker),$r=function(){function t(){this.Eo=void 0,this.Io=!1,this.hs=zr,this.Rs=!1,this.Ro=!0,this.No=!0}var n=t.prototype;return n.Do=function(){return 0},n.Co=function(t,n){return!0},n.Po=function(t){return t>=1/6*2},R(t,[{key:"Oo",get:function(){return void 0===this.Eo&&(this.Eo=this.Do()),this.Eo}},{key:"Bo",get:function(){return r.devicePixelRatio||1}},{key:"Lo",get:function(){return Kr}},{key:"Mo",get:function(){return!1}},{key:"xo",get:function(){return!0}},{key:"Uo",get:function(){return H.fs||H.Es}},{key:"Fo",get:function(){return!0}},{key:"Ho",get:function(){return!0}},{key:"Vo",get:function(){}}]),t}(),Zr=function(){var t=qr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(H.Ts)return!1;var t=qr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Qr=function(t){function n(n){var r;return(r=t.call(this)||this).Xo=void 0,r.Xo=n,r.Xo&&(r.Io=r.Xo.Io,r.hs=r.Xo.hs,r.Ro=Zr&&r.Xo.Ro),r}P(n,t);var r=n.prototype;return r.Do=function(){return this.Xo?this.Xo.Oo:t.prototype.Do.call(this)},r.Co=function(n,r){return this.Xo?this.Xo.Co(n,r):t.prototype.Co.call(this,n,r)},r.Po=function(n){return this.Xo?this.Xo.Po(n):t.prototype.Po.call(this,n)},R(n,[{key:"Vo",get:function(){var t;return null==(t=this.Xo)?void 0:t.Vo}}]),n}($r),Jr=function(t){function n(n){var r;return(r=t.call(this,n)||this).Io=!0,r.Rs=!0,r}return P(n,t),n}(Qr),ti=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Do=function(){if(!(void 0).MediaSource)return 1},n}(Jr),ni=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Co=function(n,r){return!(r.zo>1920)&&t.prototype.Co.call(this,n,r)},R(n,[{key:"Mo",get:function(){return H.Os<3}},{key:"xo",get:function(){return H.Os>=3}}]),n}(Qr),ri=function(t){function n(){return t.call(this)||this}return P(n,t),n}($r),ii=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Co=function(t,n){if(t&&t.Wo&&n&&n.Wo){var r=ei(t.Wo,"mp4a.40.2")&&ei(n.Wo,"mp4a.40.5"),i=ei(t.Wo,"mp4a.40.5")&&ei(n.Wo,"mp4a.40.2"),e=ei(t.Wo,"mp4a.40.2")&&ei(n.Wo,"mp4a.40.34"),u=ei(t.Wo,"mp4a.40.34")&&ei(n.Wo,"mp4a.40.2"),o=ei(t.Wo,"mp4a.40.5")&&ei(n.Wo,"mp4a.40.34"),s=ei(t.Wo,"mp4a.40.34")&&ei(n.Wo,"mp4a.40.5");return!(r||i||e||u||o||s)}return!0},R(n,[{key:"Vo",get:function(){if(H.fs)return 4096}}]),n}(ri);function ei(t,n){return t.indexOf(n)>-1}var ui=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Po=function(t){return t>=2},n}(ri),oi=function(t){function n(){var n;return(n=t.call(this)||this).Io=H.Xs>=11,n.Ro=H.Vs&&!(H.Es&&H.Xs<10),n}return P(n,t),n}(ri),si=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),R(n,[{key:"Fo",get:function(){return!1}}]),n}(Qr),fi=function(){function n(){var n;this.qo=void 0,this.Go=new Ot,this.jo=new ai,this.Yo=(n=function(){if(H.Fs)return new ii;if(H.Ls||H.Ms)return new ui;if(H.Vs)return new oi;return new ri}(),H.Es?new ti(n):H.Rs?new Jr(n):H.Ps?new ni(n):H.Bs?new si(n):new Qr(n)),this.Qo=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.qo=function(){return t.performance.now()}:this.qo=At}var r=n.prototype;return r.Ko=function(){K.apply(void 0,arguments)},r.Zo=function(){$.apply(void 0,arguments)},r.Jo=function(){Z.apply(void 0,arguments)},r.$o=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Q.apply(void 0,[t].concat(r))},r.Kr=function(t,n){return u(t,n)},r.nh=function(t,n){return s(t,n)},r.Qr=function(t){o(t)},r.ih=function(t){f(t)},r.wu=function(t){return this.Go.wu(t)},r.rh=function(){return this.eh.rh()},r.sh=function(){return this.eh.sh()},r.uh=function(){return this.eh.uh()},r.oh=function(){return this.eh.oh()},r.ah=function(){return this.eh.ah()},r.fh=function(t,n){return this.eh.fh(t,n)},r.vh=function(t){return this.eh.vh(t)},r.dh=function(t,n){var r;return void 0===n&&(n=Xr(void 0)),r="object"!=typeof n||n instanceof Vr?n:n.href,new Vr(t,r)},r.lh=function(n,r){if(void 0===r&&(r=Xr(void 0)),this.Qo){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.dh(n,r).href},R(n,[{key:"_h",get:function(){return this.jo}},{key:"wh",get:function(){return this.Yo}},{key:"gh",get:function(){return{yh:e&&e.userAgent.match(/Android /i)?"Android":"other",kh:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"ph",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Ah",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),ai=function(){function t(){}return R(t,[{key:"Th",get:function(){return e.oscpu}},{key:"wh",get:function(){return e.platform}},{key:"Sh",get:function(){return e.vendor}},{key:"Eh",get:function(){return e.vendorSub}}]),t}();var ci=m(function(t){!function(t){var n,r=h.prototype,i=r.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,r,i){var e=n&&n.prototype instanceof y?n:y,u=h.create(e.prototype),o=new P(i||[]);return u.Ih=function(t,n,r){var i=l;return function(e,u){if(i===p)throw new a("Generator is already running");if(i===w){if("throw"===e)throw u;return C()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var s=N(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r.Rh=r.arg;else if("throw"===r.method){if(i===l)throw i=w,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var f=v(t,n,r);if("normal"===f.type){if(i=r.done?w:_,f.arg===m)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(i=w,r.method="throw",r.arg=f.arg)}}}(t,r,o),u}function v(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",_="suspendedYield",p="executing",w="completed",m={};function y(){}function g(){}function E(){}var b={};b[u]=function(){return this};var S=h.getPrototypeOf,I=S&&S(S(O([])));I&&I!==r&&i.call(I,u)&&(b=I);var T=E.prototype=y.prototype=h.create(b);function k(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Ih(n,t)}})}function A(t){var n;this.Ih=function(r,e){function u(){return new Promise(function(n,u){!function n(r,e,u,o){var s=v(t[r],t,e);if("throw"!==s.type){var f=s.arg,a=f.value;return a&&"object"==typeof a&&i.call(a,"Nh")?Promise.resolve(a.Nh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(a).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(r,e,n,u)})}return n=n?n.then(u,u):u()}}function N(t,r){var i=t.iterator[r.method];if(i===n){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=n,N(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new c("The iterator does not provide a 'throw' method")}return m}var e=v(i,t.iterator,r.arg);if("throw"===e.type)return r.method="throw",r.arg=e.arg,r.delegate=null,m;var u=e.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,m):u:(r.method="throw",r.arg=new c("iterator result is not an object"),r.delegate=null,m)}function R(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function D(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=n,r.done=!0,r};return o.next=o}}return{next:C}}function C(){return{value:n,done:!0}}g.prototype=T.constructor=E,E.constructor=g,E[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return h.setPrototypeOf?h.setPrototypeOf(t,E):(t.__proto__=E,s in t||(t[s]="GeneratorFunction")),t.prototype=h.create(T),t},t.awrap=function(t){return{Nh:t}},k(A.prototype),A.prototype[o]=function(){return this},t.AsyncIterator=A,t.async=function(n,r,i,e){var u=new A(f(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},k(T),T[s]="Generator",T[u]=function(){return this},T.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var i=n.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Rh=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!d(+r.slice(1))&&(this[r]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(i,e){return s.type="throw",s.arg=t,r.next=i,e&&(r.method="next",r.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var f=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(f&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(f){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new a("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,m):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),m},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var e=i.arg;D(r)}return e}}throw new a("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:O(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}(t.exports)});function hi(){return(hi=h.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)h.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function vi(){var t=h.create(null);return t.__=void 0,delete t.__,t}var li,_i=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(li=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=h.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=vi(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=vi(),this.size=0},n.keys=function(){return new li(this.data,function(t,n){return n})},n.values=function(){return new li(this.data,function(t,n){return t[n]})},n.entries=function(){return new li(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());var di,pi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",wi="urn:uuid:"+pi;!function(t){t.Bh="playready",t.Lh="widevine",t.Mh="fairplay",t.Uh="clearkey",t.Fh="aes128"}(di||(di={}));var mi={Hh:di.Bh,Vh:"com.microsoft.playready",Xh:"cenc",Wh:"9a04f079-9840-4286-ab92-e65be0885f95",qh:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Gh:"PlayReady"},yi={Hh:di.Lh,Vh:"com.widevine.alpha",Xh:"cenc",Wh:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",qh:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Gh:"Widevine"},gi={Hh:di.Mh,Vh:"com.apple.fps.1_0",Xh:"skd",Wh:pi,qh:wi,Gh:"FairPlay"},Ei=(di.Mh,{Hh:di.Uh,Vh:"org.w3.clearkey",Xh:"cenc",Wh:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",qh:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Gh:"ClearKey"});var bi=16384;function Si(t){var n=t.length;if(n<=bi)return String.fromCharCode.apply(String,t);for(var r=[],i=0;i<n;i+=bi)r.push(String.fromCharCode.apply(String,t.slice(i,i+bi)));return r.join("")}var Ii=H.Ds&&H.Cs>=42||H.Fs&&H.Hs>=38||H.Ls||H.xs||H.zs&&H.Ws>=29;function Ti(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[hi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[hi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var ki,Ai=function(){function t(t){this.jh=void 0,this.Yh=new _i,this.Qh=void 0,this.jh=t}var n=t.prototype;return n.ah=function(){return this.vh(yi)},n.sh=function(){return this.vh(Ei)},n.oh=function(){return this.vh(mi)},n.uh=function(){return this.vh(gi)},n.vh=function(t){var n=t.qh,r=this.Yh.get(n);if(r)return r;var i=this.fh(t,'video/mp4; codecs="avc1.42000a"');return this.Yh.set(n,i),i},n.fh=function(){var t=y.coroutine(ci.mark(function t(n,r){return ci.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.jh.Kh(n.Vh,[Ti(r,!0)]);case 3:return t.abrupt("return",!0);case 6:return t.prev=6,t.t0=t.catch(0),t.prev=8,t.next=11,this.jh.Kh(n.Vh,[Ti(r,!1)]);case 11:return t.abrupt("return",!0);case 14:return t.prev=14,t.t1=t.catch(8),t.abrupt("return",!1);case 17:case"end":return t.stop()}},t,this,[[0,6],[8,14]])}));return function(n,r){return t.apply(this,arguments)}}(),n.rh=function(){return this.Qh||(this.Qh=this.Zh()),this.Qh},n.Zh=function(){var t=y.coroutine(ci.mark(function t(){return ci.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Ii){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,this.sh();case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),t}(),Ni=function(){function t(){}var n=t.prototype;return n.qf=function(){},n.hc=function(t){},n.rc=function(t){},n.Gf=function(t,n){},t}(),Ri=function(){function t(){}return t.prototype.Kh=function(t,n){return y.reject(new c("Unsupported key system configuration"))},t}();!function(t){t.Hv="arraybuffer",t.Vv="json",t.Xv="stream",t.fu="text"}(ki||(ki={}));var Di=function(){function t(n){var r=this;this.Oh=void 0,this.Oh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)}):Array.isArray(n)?n.forEach(function(t){r.append(t[0],t[1])}):n&&h.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=Pi(r),i=Oi(i);var e=r.toLowerCase();if(this.Oh.hasOwnProperty(e)){var u=this.Oh[e],o=u[1];u[1]=o?o+", "+i:i}else this.Oh[e]=[r,i]},n.delete=function(t){var n=Pi(t).toLowerCase();delete this.Oh[n]},n.get=function(t){var n=Pi(t).toLowerCase();return this.Oh.hasOwnProperty(n)?this.Oh[n][1]:null},n.has=function(t){var n=Pi(t).toLowerCase();return this.Oh.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=Pi(r)).toLowerCase();this.Oh[i]=[r,Oi(n)]},n.forEach=function(t,n){for(var r in this.Oh)this.Oh.hasOwnProperty(r)&&t.call(n,this.Oh[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Oh)if(this.Oh.hasOwnProperty(n)){var r=this.Oh[n],i=r[0],e=r[1];t.push([i,e])}return t},n.zv=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Wv=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.qv=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function Pi(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new c("Invalid character in header field name");return n}function Oi(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Ci(t,n){return function(t,n){var r=t,i=r.length;if(i<=1)return r;for(var e=new Array(i),u=1;u<i;u*=2){Fi(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function Fi(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(u=0;u<a;u+=h)for(e=(o=u+r)+r,o>a&&(o=a),e>a&&(e=a),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<o)i[c++]=t[s++];else{if(!(f<e))break;i[c++]=t[f++]}}function Li(t,n,r){var i=Mi(t,n,r);return-1===i?void 0:t[i]}function Mi(t,n,r){for(var i=0;i<t.length;i+=1){var e=t[i];if(n.call(r,e,i,t))return i}return-1}function xi(t,n){var r=t.indexOf(n);return-1!==r&&(Bi(t,r),!0)}function Bi(t,n){t.splice(n,1)}function ji(t){t.length=0}var Ui,Hi,Wi,Gi,Vi=function(){function t(){this.Jh=!1,this.$h=!1,this.ra=[],this.ea=[]}var n=t.prototype;return n.ua=function(){if(!this.Jh&&!this.$h){this.Jh=!0;for(var t=0,n=this.ra.slice();t<n.length;t++){(0,n[t])()}this.oa()}},n.oa=function(){if(!this.$h){this.$h=!0;for(var t=0,n=this.ea.slice();t<n.length;t++){(0,n[t])()}ji(this.ra),ji(this.ea)}},n.va=function(t){this.$h||this.ra.push(t)},n._a=function(t){this.$h||xi(this.ra,t)},n.ya=function(t){this.$h||this.ea.push(t)},n.ma=function(t){this.$h||xi(this.ea,t)},t}(),Xi=function(){function t(){this.Aa=new Vi}var n=t.prototype;return n.Ta=function(){this.Aa.ua()},n.oa=function(){this.Aa.oa()},n.Sa=function(t){var n=this.Aa;if(!n.Jh)if(t.Jh)n.ua();else if(!n.$h&&!t.$h){var r=function(){i(),n.ua()},i=function i(){t._a(r),t.ma(i),n._a(r),n.ma(i)};t.va(r),t.ya(i),n.va(r),n.ya(i)}},n.Ea=function(){var n=new t,r=new t,i=n.Ia,e=r.Ia,u=this.Aa,o=function(){i.Jh&&e.$h||e.Jh&&i.$h?u.ua():i.$h&&e.$h&&u.oa()};i.va(o),e.va(o),i.ya(o),e.ya(o),n.Sa(u),r.Sa(u);return u.ya(function(){i._a(o),e._a(o),i.ma(o),e.ma(o)}),[n,r]},R(t,[{key:"Ia",get:function(){return this.Aa}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(Ui||(Ui={})),function(t){t.Wl="",t.ql="manifest",t.Gl="segment",t.jl="content-protection"}(Hi||(Hi={})),function(t){t.Wl="",t.Yl="initialization-segment",t.Ql="fairplay-license",t.Kl="fairplay-certificate",t.Zl="widevine-license",t.Jl="widevine-certificate",t.$l="playready-license",t.t_="clearkey-license",t.n_="aes128-key"}(Wi||(Wi={})),function(t){t.Wl="",t.i_="audio",t.r_="video",t.fu="text",t.e_="image"}(Gi||(Gi={}));var qi,zi=function(t,n){this.Tl=void 0,this.Ml=void 0,this.s_=void 0,this.xl=void 0,this.u_=void 0,this.Ia=void 0,this.Hh=void 0,this.o_=void 0,this.h_=void 0,this.Xl=void 0,this.a_=void 0,this.c_=void 0;var r,i,e,u,o,s,f,a,c,h,v,l=t.Xl;n?(r=n.Tl,i=n.Ml,e=n.s_,u=n.xl,o=n.u_,s=n.Ia,f=n.Hh,a=n.o_,c=n.h_,h=n.a_,v=n.c_):(r=null,i={},e=Ui.GET,u=ki.fu,o=0,f=Hi.Wl,a=Wi.Wl,c=Gi.Wl,h=!1),this.Xl=l,this.Tl=t.Tl||r,this.Ml=new Di(t.Ml||i),this.s_=t.s_||e,this.xl=t.xl||u,this.u_=void 0!==t.u_?Number(t.u_)||0:o,this.Ia=t.Ia||s||(new Xi).Ia,this.Hh=t.Hh||f,this.o_=t.o_||a,this.h_=t.h_||c,this.a_=void 0!==t.a_?Boolean(t.a_):h,this.c_=t.c_||v};!function(t){t.m_="HttpOpenError",t.p_="HttpResponseError",t.b_="HttpTimeoutError"}(qi||(qi={}));var Yi,Ki=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.Xl+". Invalid URL.",r)||this}return P(n,t),R(n,[{key:"name",get:function(){return qi.m_}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).A_=void 0,e.A_=n,e}return P(n,t),R(n,[{key:"Hl",get:function(){return this.A_}}]),n}(Dt)),$i=function(){function t(){}var n=t.prototype;return n.Hl=function(t){return y.reject(new Ki(new zi(t)))},n.f_=function(t){},n.v_=function(){},t}();function Zi(t){return"function"==typeof t.rc}function Qi(t,n,r){if(!(r&&n.byte>=r)){var i=Zi(t)?t.rc(n.byte):t[n.byte];return n.byte+=1,i}}function Ji(t,n){return function(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=256*i+Qi(t,n);return i}(t,n,2)}Yi=new(function(t){function n(){for(var n,r=arguments.length,i=new Array(r),e=0;e<r;e++)i[e]=arguments[e];return(n=t.call.apply(t,[this].concat(i))||this).vw=new Ai(new Ri),n.Yy=new $i,n.to=new Ni,n}return P(n,t),R(n,[{key:"eh",get:function(){return this.vw}},{key:"ww",get:function(){return!1}},{key:"gw",get:function(){return!1}},{key:"yw",get:function(){return!1}},{key:"mw",get:function(){return this.to}},{key:"pw",get:function(){return{bw:E}}},{key:"Aw",get:function(){return"default"}},{key:"Tw",get:function(){return"unknown"}},{key:"Sw",get:function(){return this.Yy}}]),n}(fi));var te=function(){function t(){this.jut=0,this.Yut=[],this.rI={}}var n=t.prototype;return n.Qut=function(t){this.Yut=this.Yut.concat(t.Yut),this.jut+=t.dg},n.Kut=function(t,n,r){var i=this.jut,e=r-n;e>0&&(this.Yut.push({Zut:n,Jut:r,$ut:e,tot:i,iot:t}),this.jut+=e)},n.rc=function(t){for(var n=0,r=this.Yut;n<r.length;n++){var i=r[n];if(i.tot<=t&&t<i.tot+i.$ut)return i.iot[t+i.Zut-i.tot]}},n.rot=function(t,n){for(var r=n,i=0,e=this.Yut;i<e.length;i++)for(var u=e[i],o=u.Jut,s=u.Zut;s<o;s+=1,r+=1)t[r]=u.iot[s];return r},n.eot=function(){for(var t=new p(this.jut),n=0,r=0,i=this.Yut;r<i.length;r++)for(var e=i[r],u=e.Jut,o=e.Zut;o<u;o+=1,n+=1)t[n]=e.iot[o];return t},n.lc=function(n){for(var r=new t,i=0,e=this.Yut;i<e.length;i++){var u=e[i];r.Kut(u.iot,u.Zut,u.Jut)}return r.rI=n||hi({},this.rI),r},R(t,[{key:"dg",get:function(){return this.jut},set:function(t){var n=this.Yut,r=this.jut-t;if(!(t>=this.jut))if(this.jut=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.$ut)return e.Jut-=r,e.$ut-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.$ut}else n.length=0}},{key:"Gu",get:function(){for(var t=new Array(this.jut),n=0,r=0,i=this.Yut;r<i.length;r++)for(var e=i[r],u=e.Jut,o=e.Zut;o<u;o+=1,n+=1)t[n]=e.iot[o];return t}}]),t}();function ne(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}var re=[128,64,32,16,8,4,2,1];function ie(t,n){var r=v.floor(n.bit/8),i=0==(("function"==typeof t.rc?t.rc(r):t[r])&re[n.bit%8])?0:1;return n.bit+=1,i}function ee(t,n,r){for(var i=0;r>0;)r-=1,i=2*i+ie(t,n);return i}function ue(t,n){return t.push(n),t}function oe(t,n,r,i){var e=r||0,u=i||n.length,o=u-e,s=t.length,f=s+o;for(t.length=f;e<u;e+=1,s+=1)t[s]=n[e];return t}function se(t,n){return oe(t,ne(n))}function fe(t,n){return oe(t,function(t){return[t>>>8&255,255&t]}(n))}var ae,ce=function(t){function n(n,r){var i,e=ve[n];return(i=t.call(this,e?e.qa:"")||this).code=void 0,i.info=void 0,i.helpLink=void 0,i.helpLinkText=void 0,i.code=n,i.info=r,i.helpLink=e&&e.ENt,i.helpLinkText=e&&e.INt,i}return P(n,t),R(n,[{key:"name",get:function(){return"THEOplayerError"}}]),n}(Dt);!function(t){t.RNt="LICENSE_INVALID",t.NNt="MANIFEST_NOT_FOUND",t.DNt="MANIFEST_CORS_ERROR",t.CNt="INVALID_HLS_MANIFEST",t.PNt="PLAYBACK_ISSUE",t.ONt="AUDIO_ISSUE",t.BNt="BROWSER_SUPPORT_ISSUE",t.LNt="INVALID_KEY",t.MNt="DECRYPTION_ERROR",t.xNt="AD_BLOCK_DETECTED",t.UNt="THEOPLAYER_NOT_INITIALIZED",t.xg="ERROR",t.FNt="MANIFEST_SEQUENCE_RESET_ERROR",t.HNt="PLAYER_INCORRECTLY_CONFIGURED",t.VNt="UNSUPPORTED"}(ae||(ae={}));for(var he=[{pc:ae.RNt,qa:"The license for this player is invalid. Please contact your service provider for additional information."},{pc:ae.NNt,qa:"Could not load the manifest file."},{pc:ae.DNt,qa:"Could not load the manifest file. Make sure the source is set correctly and that CORS support is enabled.",ENt:"https://www.theoplayer.com/documentation/cors.html",XNt:!1},{pc:ae.CNt,qa:"The source of the player is an invalid HLS manifest.",ENt:"https://developer.apple.com/library/ios/technotes/tn2288/_index.html"},{pc:ae.PNt,qa:"There appears to be a playback issue."},{pc:ae.ONt,qa:"There is an audio issue. Please contact your service provider with the code below for additional information."},{pc:ae.BNt,qa:"Your browser doesn't support a feature. Try upgrading your browser or please contact your service provider referring to the code below."},{pc:ae.LNt,qa:"There is an invalid key being decrypted. Please contact your service provider with the code below for additional information."},{pc:ae.MNt,qa:"There is a decryption error. Please contact your service provider with the code below for additional information."},{pc:ae.xNt,qa:"An ad blocker was detected. Please turn it off and refresh the page in order to watch this video."},{pc:ae.UNt,qa:"THEOplayer hasn't been initialized yet. Please check your configuration or wait."},{pc:ae.xg,qa:"THEOplayer encountered an error. If this issue holds, please contact your service provider."},{pc:ae.FNt,qa:"The video stream has been reset. THEOplayer will attempt to reload the source."},{pc:ae.HNt,qa:"The player is incorrectly configured.",ENt:"https://support.theoplayer.com/hc/en-us/articles/214343065-Player-API"},{pc:ae.VNt,qa:"This browser does not allow you to watch this video. Try to update your browser or use a different browser."}],ve={},le=0;le<he.length;le++){var _e=he[le];ve[_e.pc]=_e}var de="SBR_DETECTED",pe=[[[1,0,0,0,0,0],[5,16,1,0,0,0],[5,17,-1,0,0,0],[5,18,0,0,0,-1],[5,19,0,1,0,0],[5,20,0,0,0,1],[5,21,0,0,-1,0],[5,22,0,0,1,0],[5,23,0,-1,0,0],[7,96,1,-1,0,0],[7,97,-1,1,0,0],[7,98,0,0,-1,1],[7,99,0,1,-1,0],[7,100,0,-1,1,0],[7,101,0,0,1,-1],[7,102,1,1,0,0],[7,103,0,0,-1,-1],[7,104,-1,-1,0,0],[7,105,0,-1,-1,0],[7,106,1,0,-1,0],[7,107,0,1,0,-1],[7,108,-1,0,1,0],[7,109,0,0,1,1],[7,110,1,0,1,0],[7,111,0,-1,0,1],[7,112,0,1,1,0],[7,113,0,1,0,1],[7,114,-1,0,-1,0],[7,115,1,0,0,1],[7,116,-1,0,0,-1],[7,117,1,0,0,-1],[7,118,-1,0,0,1],[7,119,0,-1,0,-1],[9,480,1,1,-1,0],[9,481,-1,1,-1,0],[9,482,1,-1,1,0],[9,483,0,1,1,-1],[9,484,0,1,-1,1],[9,485,0,-1,1,1],[9,486,0,-1,1,-1],[9,487,1,-1,-1,0],[9,488,1,0,-1,1],[9,489,0,1,-1,-1],[9,490,-1,1,1,0],[9,491,-1,0,1,-1],[9,492,-1,-1,1,0],[9,493,0,-1,-1,1],[9,494,1,-1,0,1],[9,495,1,-1,0,-1],[9,496,-1,1,0,-1],[9,497,-1,-1,-1,0],[9,498,0,-1,-1,-1],[9,499,0,1,1,1],[9,500,1,0,1,-1],[9,501,1,1,0,1],[9,502,-1,1,0,1],[9,503,1,1,1,0],[10,1008,-1,-1,0,1],[10,1009,-1,0,-1,-1],[10,1010,1,1,0,-1],[10,1011,1,0,-1,-1],[10,1012,-1,0,-1,1],[10,1013,-1,-1,0,-1],[10,1014,-1,0,1,1],[10,1015,1,0,1,1],[11,2032,1,-1,1,-1],[11,2033,-1,1,-1,1],[11,2034,-1,1,1,-1],[11,2035,1,-1,-1,1],[11,2036,1,1,1,1],[11,2037,-1,-1,1,1],[11,2038,1,1,-1,-1],[11,2039,-1,-1,1,-1],[11,2040,-1,-1,-1,-1],[11,2041,1,1,-1,1],[11,2042,1,-1,1,1],[11,2043,-1,1,1,1],[11,2044,-1,1,-1,-1],[11,2045,-1,-1,-1,1],[11,2046,1,-1,-1,-1],[11,2047,1,1,1,-1]],[[3,0,0,0,0,0],[4,2,1,0,0,0],[5,6,-1,0,0,0],[5,7,0,0,0,1],[5,8,0,0,-1,0],[5,9,0,0,0,-1],[5,10,0,-1,0,0],[5,11,0,0,1,0],[5,12,0,1,0,0],[6,26,0,-1,1,0],[6,27,-1,1,0,0],[6,28,0,1,-1,0],[6,29,0,0,1,-1],[6,30,0,1,0,-1],[6,31,0,0,-1,1],[6,32,-1,0,0,-1],[6,33,1,-1,0,0],[6,34,1,0,-1,0],[6,35,-1,-1,0,0],[6,36,0,0,-1,-1],[6,37,1,0,1,0],[6,38,1,0,0,1],[6,39,0,-1,0,1],[6,40,-1,0,1,0],[6,41,0,1,0,1],[6,42,0,-1,-1,0],[6,43,-1,0,0,1],[6,44,0,-1,0,-1],[6,45,-1,0,-1,0],[6,46,1,1,0,0],[6,47,0,1,1,0],[6,48,0,0,1,1],[6,49,1,0,0,-1],[7,100,0,1,-1,1],[7,101,1,0,-1,1],[7,102,-1,1,-1,0],[7,103,0,-1,1,-1],[7,104,1,-1,1,0],[7,105,1,1,0,-1],[7,106,1,0,1,1],[7,107,-1,1,1,0],[7,108,0,-1,-1,1],[7,109,1,1,1,0],[7,110,-1,0,1,-1],[7,111,-1,-1,-1,0],[7,112,-1,0,-1,1],[7,113,1,-1,-1,0],[7,114,1,1,-1,0],[8,230,1,-1,0,1],[8,231,-1,1,0,-1],[8,232,-1,-1,1,0],[8,233,-1,0,1,1],[8,234,-1,-1,0,1],[8,235,-1,-1,0,-1],[8,236,0,-1,-1,-1],[8,237,1,0,1,-1],[8,238,1,0,-1,-1],[8,239,0,1,-1,-1],[8,240,0,1,1,1],[8,241,-1,1,0,1],[8,242,-1,0,-1,-1],[8,243,0,1,1,-1],[8,244,1,-1,0,-1],[8,245,0,-1,1,1],[8,246,1,1,0,1],[8,247,1,-1,1,-1],[8,248,-1,1,-1,1],[9,498,1,-1,-1,1],[9,499,-1,-1,-1,-1],[9,500,-1,1,1,-1],[9,501,-1,1,1,1],[9,502,1,1,1,1],[9,503,-1,-1,1,-1],[9,504,1,-1,1,1],[9,505,-1,1,-1,-1],[9,506,-1,-1,1,1],[9,507,1,1,-1,-1],[9,508,1,-1,-1,-1],[9,509,-1,-1,-1,1],[9,510,1,1,-1,1],[9,511,1,1,1,-1]],[[1,0,0,0,0,0],[4,8,1,0,0,0],[4,9,0,0,0,1],[4,10,0,1,0,0],[4,11,0,0,1,0],[5,24,1,1,0,0],[5,25,0,0,1,1],[6,52,0,1,1,0],[6,53,0,1,0,1],[6,54,1,0,1,0],[6,55,0,1,1,1],[6,56,1,0,0,1],[6,57,1,1,1,0],[7,116,1,1,1,1],[7,117,1,0,1,1],[7,118,1,1,0,1],[8,238,2,0,0,0],[8,239,0,0,0,2],[8,240,0,0,1,2],[8,241,2,1,0,0],[8,242,1,2,1,0],[9,486,0,0,2,1],[9,487,0,1,2,1],[9,488,1,2,0,0],[9,489,0,1,1,2],[9,490,2,1,1,0],[9,491,0,0,2,0],[9,492,0,2,1,0],[9,493,0,1,2,0],[9,494,0,2,0,0],[9,495,0,1,0,2],[9,496,2,0,1,0],[9,497,1,2,1,1],[9,498,0,2,1,1],[9,499,1,1,2,0],[9,500,1,1,2,1],[10,1002,1,2,0,1],[10,1003,1,0,2,0],[10,1004,1,0,2,1],[10,1005,0,2,0,1],[10,1006,2,1,1,1],[10,1007,1,1,1,2],[10,1008,2,1,0,1],[10,1009,1,0,1,2],[10,1010,0,0,2,2],[10,1011,0,1,2,2],[10,1012,2,2,1,0],[10,1013,1,2,2,0],[10,1014,1,0,0,2],[10,1015,2,0,0,1],[10,1016,0,2,2,1],[11,2034,2,2,0,0],[11,2035,1,2,2,1],[11,2036,1,1,0,2],[11,2037,2,0,1,1],[11,2038,1,1,2,2],[11,2039,2,2,1,1],[11,2040,0,2,2,0],[11,2041,0,2,1,2],[12,4084,1,0,2,2],[12,4085,2,2,0,1],[12,4086,2,1,2,0],[12,4087,2,2,2,0],[12,4088,0,2,2,2],[12,4089,2,2,2,1],[12,4090,2,1,2,1],[12,4091,1,2,1,2],[12,4092,1,2,2,2],[13,8186,0,2,0,2],[13,8187,2,0,2,0],[13,8188,1,2,0,2],[14,16378,2,0,2,1],[14,16379,2,1,1,2],[14,16380,2,1,0,2],[15,32762,2,2,2,2],[15,32763,2,2,1,2],[15,32764,2,1,2,2],[15,32765,2,0,1,2],[15,32766,2,0,0,2],[16,65534,2,2,0,2],[16,65535,2,0,2,2]],[[4,0,1,1,1,1],[4,1,0,1,1,1],[4,2,1,1,0,1],[4,3,1,1,1,0],[4,4,1,0,1,1],[4,5,1,0,0,0],[4,6,1,1,0,0],[4,7,0,0,0,0],[4,8,0,0,1,1],[4,9,1,0,1,0],[5,20,1,0,0,1],[5,21,0,1,1,0],[5,22,0,0,0,1],[5,23,0,1,0,1],[5,24,0,0,1,0],[5,25,0,1,0,0],[7,104,2,1,1,1],[7,105,1,1,2,1],[7,106,1,2,1,1],[7,107,1,1,1,2],[7,108,2,1,1,0],[7,109,2,1,0,1],[7,110,1,2,1,0],[7,111,2,0,1,1],[7,112,0,1,2,1],[8,226,0,1,1,2],[8,227,1,1,2,0],[8,228,0,2,1,1],[8,229,1,0,1,2],[8,230,1,2,0,1],[8,231,1,1,0,2],[8,232,1,0,2,1],[8,233,2,1,0,0],[8,234,2,0,1,0],[8,235,1,2,0,0],[8,236,2,0,0,1],[8,237,0,1,0,2],[8,238,0,2,1,0],[8,239,0,0,1,2],[8,240,0,1,2,0],[8,241,0,2,0,1],[8,242,1,0,0,2],[8,243,0,0,2,1],[8,244,1,0,2,0],[8,245,2,0,0,0],[8,246,0,0,0,2],[9,494,0,2,0,0],[9,495,0,0,2,0],[9,496,1,2,2,1],[9,497,2,2,1,1],[9,498,2,1,2,1],[9,499,1,1,2,2],[9,500,1,2,1,2],[9,501,2,1,1,2],[10,1004,1,2,2,0],[10,1005,2,2,1,0],[10,1006,2,1,2,0],[10,1007,0,2,2,1],[10,1008,0,1,2,2],[10,1009,2,2,0,1],[10,1010,0,2,1,2],[10,1011,2,0,2,1],[10,1012,1,0,2,2],[10,1013,2,2,2,1],[10,1014,1,2,0,2],[10,1015,2,0,1,2],[10,1016,2,1,0,2],[10,1017,1,2,2,2],[11,2036,2,1,2,2],[11,2037,2,2,1,2],[11,2038,0,2,2,0],[11,2039,2,2,0,0],[11,2040,0,0,2,2],[11,2041,2,0,2,0],[11,2042,0,2,0,2],[11,2043,2,0,0,2],[11,2044,2,2,2,2],[11,2045,0,2,2,2],[11,2046,2,2,2,0],[12,4094,2,2,0,2],[12,4095,2,0,2,2]],[[1,0,0,0],[4,8,-1,0],[4,9,1,0],[4,10,0,1],[4,11,0,-1],[5,24,1,-1],[5,25,-1,1],[5,26,-1,-1],[5,27,1,1],[7,112,-2,0],[7,113,0,2],[7,114,2,0],[7,115,0,-2],[8,232,-2,-1],[8,233,2,1],[8,234,-1,-2],[8,235,1,2],[8,236,-2,1],[8,237,2,-1],[8,238,-1,2],[8,239,1,-2],[8,240,-3,0],[8,241,3,0],[8,242,0,-3],[8,243,0,3],[9,488,-3,-1],[9,489,1,3],[9,490,3,1],[9,491,-1,-3],[9,492,-3,1],[9,493,3,-1],[9,494,1,-3],[9,495,-1,3],[9,496,-2,2],[9,497,2,2],[9,498,-2,-2],[9,499,2,-2],[10,1e3,-3,-2],[10,1001,3,-2],[10,1002,-2,3],[10,1003,2,-3],[10,1004,3,2],[10,1005,2,3],[10,1006,-3,2],[10,1007,-2,-3],[10,1008,0,-4],[10,1009,-4,0],[10,1010,4,1],[10,1011,4,0],[11,2024,-4,-1],[11,2025,0,4],[11,2026,4,-1],[11,2027,-1,-4],[11,2028,1,4],[11,2029,-1,4],[11,2030,-4,1],[11,2031,1,-4],[11,2032,3,-3],[11,2033,-3,-3],[11,2034,-3,3],[11,2035,-2,4],[11,2036,-4,-2],[11,2037,4,2],[11,2038,2,-4],[11,2039,2,4],[11,2040,3,3],[11,2041,-4,2],[12,4084,-2,-4],[12,4085,4,-2],[12,4086,3,-4],[12,4087,-4,-3],[12,4088,-4,3],[12,4089,3,4],[12,4090,-3,4],[12,4091,4,3],[12,4092,4,-3],[12,4093,-3,-4],[13,8188,4,-4],[13,8189,-4,4],[13,8190,4,4],[13,8191,-4,-4]],[[4,0,0,0],[4,1,1,0],[4,2,0,-1],[4,3,0,1],[4,4,-1,0],[4,5,1,1],[4,6,-1,1],[4,7,1,-1],[4,8,-1,-1],[6,36,2,-1],[6,37,2,1],[6,38,-2,1],[6,39,-2,-1],[6,40,-2,0],[6,41,-1,2],[6,42,2,0],[6,43,1,-2],[6,44,1,2],[6,45,0,-2],[6,46,-1,-2],[6,47,0,2],[6,48,2,-2],[6,49,-2,2],[6,50,-2,-2],[6,51,2,2],[7,104,-3,1],[7,105,3,1],[7,106,3,-1],[7,107,-1,3],[7,108,-3,-1],[7,109,1,3],[7,110,1,-3],[7,111,-1,-3],[7,112,3,0],[7,113,-3,0],[7,114,0,-3],[7,115,0,3],[7,116,3,2],[8,234,-3,-2],[8,235,-2,3],[8,236,2,3],[8,237,3,-2],[8,238,2,-3],[8,239,-2,-3],[8,240,-3,2],[8,241,3,3],[9,484,3,-3],[9,485,-3,-3],[9,486,-3,3],[9,487,1,-4],[9,488,-1,-4],[9,489,4,1],[9,490,-4,1],[9,491,-4,-1],[9,492,1,4],[9,493,4,-1],[9,494,-1,4],[9,495,0,-4],[9,496,-4,2],[9,497,-4,-2],[9,498,2,4],[9,499,-2,-4],[9,500,-4,0],[9,501,4,2],[9,502,4,-2],[9,503,-2,4],[9,504,4,0],[9,505,2,-4],[9,506,0,4],[10,1014,-3,-4],[10,1015,-3,4],[10,1016,3,-4],[10,1017,4,-3],[10,1018,3,4],[10,1019,4,3],[10,1020,-4,3],[10,1021,-4,-3],[11,2044,4,4],[11,2045,-4,4],[11,2046,-4,-4],[11,2047,4,-4]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,1,3],[7,114,2,2],[7,115,3,0],[7,116,0,3],[8,234,2,3],[8,235,3,2],[8,236,1,4],[8,237,4,1],[8,238,1,5],[8,239,5,1],[8,240,3,3],[8,241,2,4],[8,242,0,4],[8,243,4,0],[9,488,4,2],[9,489,2,5],[9,490,5,2],[9,491,0,5],[9,492,6,1],[9,493,5,0],[9,494,1,6],[9,495,4,3],[9,496,3,5],[9,497,3,4],[9,498,5,3],[9,499,2,6],[9,500,6,2],[9,501,1,7],[10,1004,3,6],[10,1005,0,6],[10,1006,6,0],[10,1007,4,4],[10,1008,7,1],[10,1009,4,5],[10,1010,7,2],[10,1011,5,4],[10,1012,6,3],[10,1013,2,7],[10,1014,7,3],[10,1015,6,4],[10,1016,5,5],[10,1017,4,6],[10,1018,3,7],[11,2038,7,0],[11,2039,0,7],[11,2040,6,5],[11,2041,5,6],[11,2042,7,4],[11,2043,4,7],[11,2044,5,7],[11,2045,7,5],[12,4092,7,6],[12,4093,6,6],[12,4094,6,7],[12,4095,7,7]],[[3,0,1,1],[4,2,2,1],[4,3,1,0],[4,4,1,2],[4,5,0,1],[4,6,2,2],[5,14,0,0],[5,15,2,0],[5,16,0,2],[5,17,3,1],[5,18,1,3],[5,19,3,2],[5,20,2,3],[6,42,3,3],[6,43,4,1],[6,44,1,4],[6,45,4,2],[6,46,2,4],[6,47,3,0],[6,48,0,3],[6,49,4,3],[6,50,3,4],[6,51,5,2],[7,104,5,1],[7,105,2,5],[7,106,1,5],[7,107,5,3],[7,108,3,5],[7,109,4,4],[7,110,5,4],[7,111,0,4],[7,112,4,5],[7,113,4,0],[7,114,2,6],[7,115,6,2],[7,116,6,1],[7,117,1,6],[8,236,3,6],[8,237,6,3],[8,238,5,5],[8,239,5,0],[8,240,6,4],[8,241,0,5],[8,242,4,6],[8,243,7,1],[8,244,7,2],[8,245,2,7],[8,246,6,5],[8,247,7,3],[8,248,1,7],[8,249,5,6],[8,250,3,7],[9,502,6,6],[9,503,7,4],[9,504,6,0],[9,505,4,7],[9,506,0,6],[9,507,7,5],[9,508,7,6],[9,509,6,7],[10,1020,5,7],[10,1021,7,0],[10,1022,0,7],[10,1023,7,7]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,2,2],[7,114,1,3],[8,230,3,0],[8,231,0,3],[8,232,2,3],[8,233,3,2],[8,234,1,4],[8,235,4,1],[8,236,2,4],[8,237,1,5],[9,476,4,2],[9,477,3,3],[9,478,0,4],[9,479,4,0],[9,480,5,1],[9,481,2,5],[9,482,1,6],[9,483,3,4],[9,484,5,2],[9,485,6,1],[9,486,4,3],[10,974,0,5],[10,975,2,6],[10,976,5,0],[10,977,1,7],[10,978,3,5],[10,979,1,8],[10,980,8,1],[10,981,4,4],[10,982,5,3],[10,983,6,2],[10,984,7,1],[10,985,0,6],[10,986,8,2],[10,987,2,8],[10,988,3,6],[10,989,2,7],[10,990,4,5],[10,991,9,1],[10,992,1,9],[10,993,7,2],[11,1988,6,0],[11,1989,5,4],[11,1990,6,3],[11,1991,8,3],[11,1992,0,7],[11,1993,9,2],[11,1994,3,8],[11,1995,4,6],[11,1996,3,7],[11,1997,0,8],[11,1998,10,1],[11,1999,6,4],[11,2e3,2,9],[11,2001,5,5],[11,2002,8,0],[11,2003,7,0],[11,2004,7,3],[11,2005,10,2],[11,2006,9,3],[11,2007,8,4],[11,2008,1,10],[11,2009,7,4],[11,2010,6,5],[11,2011,5,6],[11,2012,4,8],[11,2013,4,7],[11,2014,3,9],[11,2015,11,1],[11,2016,5,8],[11,2017,9,0],[11,2018,8,5],[12,4038,10,3],[12,4039,2,10],[12,4040,0,9],[12,4041,11,2],[12,4042,9,4],[12,4043,6,6],[12,4044,12,1],[12,4045,4,9],[12,4046,8,6],[12,4047,1,11],[12,4048,9,5],[12,4049,10,4],[12,4050,5,7],[12,4051,7,5],[12,4052,2,11],[12,4053,1,12],[12,4054,12,2],[12,4055,11,3],[12,4056,3,10],[12,4057,5,9],[12,4058,6,7],[12,4059,8,7],[12,4060,11,4],[12,4061,0,10],[12,4062,7,6],[12,4063,12,3],[12,4064,10,0],[12,4065,10,5],[12,4066,4,10],[12,4067,6,8],[12,4068,2,12],[12,4069,9,6],[12,4070,9,7],[12,4071,4,11],[12,4072,11,0],[12,4073,6,9],[12,4074,3,11],[12,4075,5,10],[13,8152,8,8],[13,8153,7,8],[13,8154,12,5],[13,8155,3,12],[13,8156,11,5],[13,8157,7,7],[13,8158,12,4],[13,8159,11,6],[13,8160,10,6],[13,8161,4,12],[13,8162,7,9],[13,8163,5,11],[13,8164,0,11],[13,8165,12,6],[13,8166,6,10],[13,8167,12,0],[13,8168,10,7],[13,8169,5,12],[13,8170,7,10],[13,8171,9,8],[13,8172,0,12],[13,8173,11,7],[13,8174,8,9],[13,8175,9,9],[13,8176,10,8],[13,8177,7,11],[13,8178,12,7],[13,8179,6,11],[13,8180,8,11],[13,8181,11,8],[13,8182,7,12],[13,8183,6,12],[14,16368,8,10],[14,16369,10,9],[14,16370,8,12],[14,16371,9,10],[14,16372,9,11],[14,16373,9,12],[14,16374,10,11],[14,16375,12,9],[14,16376,10,10],[14,16377,11,9],[14,16378,12,8],[14,16379,11,10],[14,16380,12,10],[14,16381,12,11],[15,32764,10,12],[15,32765,11,11],[15,32766,11,12],[15,32767,12,12]],[[4,0,1,1],[4,1,1,2],[4,2,2,1],[5,6,2,2],[5,7,1,0],[5,8,0,1],[5,9,1,3],[5,10,3,2],[5,11,3,1],[5,12,2,3],[5,13,3,3],[6,28,2,0],[6,29,0,2],[6,30,2,4],[6,31,4,2],[6,32,1,4],[6,33,4,1],[6,34,0,0],[6,35,4,3],[6,36,3,4],[6,37,3,0],[6,38,0,3],[6,39,4,4],[6,40,2,5],[6,41,5,2],[7,84,1,5],[7,85,5,1],[7,86,5,3],[7,87,3,5],[7,88,5,4],[7,89,4,5],[7,90,6,2],[7,91,2,6],[7,92,6,3],[7,93,4,0],[7,94,6,1],[7,95,0,4],[7,96,1,6],[7,97,3,6],[7,98,5,5],[7,99,6,4],[7,100,4,6],[8,202,6,5],[8,203,7,2],[8,204,3,7],[8,205,2,7],[8,206,5,6],[8,207,8,2],[8,208,7,3],[8,209,5,0],[8,210,7,1],[8,211,0,5],[8,212,8,1],[8,213,1,7],[8,214,8,3],[8,215,7,4],[8,216,4,7],[8,217,2,8],[8,218,6,6],[8,219,7,5],[8,220,1,8],[8,221,3,8],[8,222,8,4],[8,223,4,8],[8,224,5,7],[8,225,8,5],[8,226,5,8],[9,454,7,6],[9,455,6,7],[9,456,9,2],[9,457,6,0],[9,458,6,8],[9,459,9,3],[9,460,3,9],[9,461,9,1],[9,462,2,9],[9,463,0,6],[9,464,8,6],[9,465,9,4],[9,466,4,9],[9,467,10,2],[9,468,1,9],[9,469,7,7],[9,470,8,7],[9,471,9,5],[9,472,7,8],[9,473,10,3],[9,474,5,9],[9,475,10,4],[9,476,2,10],[9,477,10,1],[9,478,3,10],[9,479,9,6],[9,480,6,9],[9,481,8,0],[9,482,4,10],[9,483,7,0],[9,484,11,2],[10,970,7,9],[10,971,11,3],[10,972,10,6],[10,973,1,10],[10,974,11,1],[10,975,9,7],[10,976,0,7],[10,977,8,8],[10,978,10,5],[10,979,3,11],[10,980,5,10],[10,981,8,9],[10,982,11,5],[10,983,0,8],[10,984,11,4],[10,985,2,11],[10,986,7,10],[10,987,6,10],[10,988,10,7],[10,989,4,11],[10,990,1,11],[10,991,12,2],[10,992,9,8],[10,993,12,3],[10,994,11,6],[10,995,5,11],[10,996,12,4],[10,997,11,7],[10,998,12,5],[10,999,3,12],[10,1e3,6,11],[10,1001,9,0],[10,1002,10,8],[10,1003,10,0],[10,1004,12,1],[10,1005,0,9],[10,1006,4,12],[10,1007,9,9],[10,1008,12,6],[10,1009,2,12],[10,1010,8,10],[11,2022,9,10],[11,2023,1,12],[11,2024,11,8],[11,2025,12,7],[11,2026,7,11],[11,2027,5,12],[11,2028,6,12],[11,2029,10,9],[11,2030,8,11],[11,2031,12,8],[11,2032,0,10],[11,2033,7,12],[11,2034,11,0],[11,2035,10,10],[11,2036,11,9],[11,2037,11,10],[11,2038,0,11],[11,2039,11,11],[11,2040,9,11],[11,2041,10,11],[11,2042,12,0],[11,2043,8,12],[12,4088,12,9],[12,4089,10,12],[12,4090,9,12],[12,4091,11,12],[12,4092,12,11],[12,4093,0,12],[12,4094,12,10],[12,4095,12,12]],[[4,0,0,0],[4,1,1,1],[5,4,16,16],[5,5,1,0],[5,6,0,1],[5,7,2,1],[5,8,1,2],[5,9,2,2],[6,20,1,3],[6,21,3,1],[6,22,3,2],[6,23,2,0],[6,24,2,3],[6,25,0,2],[6,26,3,3],[7,54,4,1],[7,55,1,4],[7,56,4,2],[7,57,2,4],[7,58,4,3],[7,59,3,4],[7,60,3,0],[7,61,0,3],[7,62,5,1],[7,63,5,2],[7,64,2,5],[7,65,4,4],[7,66,1,5],[7,67,5,3],[7,68,3,5],[7,69,5,4],[8,140,4,5],[8,141,6,2],[8,142,2,6],[8,143,6,1],[8,144,6,3],[8,145,3,6],[8,146,1,6],[8,147,4,16],[8,148,3,16],[8,149,16,5],[8,150,16,3],[8,151,16,4],[8,152,6,4],[8,153,16,6],[8,154,4,0],[8,155,4,6],[8,156,0,4],[8,157,2,16],[8,158,5,5],[8,159,5,16],[8,160,16,7],[8,161,16,2],[8,162,16,8],[8,163,2,7],[8,164,7,2],[8,165,3,7],[8,166,6,5],[8,167,5,6],[8,168,6,16],[8,169,16,10],[8,170,7,3],[8,171,7,1],[8,172,16,9],[8,173,7,16],[8,174,1,16],[8,175,1,7],[8,176,4,7],[8,177,16,11],[8,178,7,4],[8,179,16,12],[8,180,8,16],[8,181,16,1],[8,182,6,6],[8,183,9,16],[8,184,2,8],[8,185,5,7],[8,186,10,16],[8,187,16,13],[8,188,8,3],[8,189,8,2],[8,190,3,8],[8,191,5,0],[8,192,16,14],[8,193,11,16],[8,194,7,5],[8,195,4,8],[8,196,6,7],[8,197,7,6],[8,198,0,5],[9,398,8,4],[9,399,16,15],[9,400,12,16],[9,401,1,8],[9,402,8,1],[9,403,14,16],[9,404,5,8],[9,405,13,16],[9,406,3,9],[9,407,8,5],[9,408,7,7],[9,409,2,9],[9,410,8,6],[9,411,9,2],[9,412,9,3],[9,413,15,16],[9,414,4,9],[9,415,6,8],[9,416,6,0],[9,417,9,4],[9,418,5,9],[9,419,8,7],[9,420,7,8],[9,421,1,9],[9,422,10,3],[9,423,0,6],[9,424,10,2],[9,425,9,1],[9,426,9,5],[9,427,4,10],[9,428,2,10],[9,429,9,6],[9,430,3,10],[9,431,6,9],[9,432,10,4],[9,433,8,8],[9,434,10,5],[9,435,9,7],[9,436,11,3],[9,437,1,10],[9,438,7,0],[9,439,10,6],[9,440,7,9],[9,441,3,11],[9,442,5,10],[9,443,10,1],[9,444,4,11],[9,445,11,2],[9,446,13,2],[9,447,6,10],[9,448,13,3],[9,449,2,11],[9,450,16,0],[9,451,5,11],[9,452,11,5],[10,906,11,4],[10,907,9,8],[10,908,7,10],[10,909,8,9],[10,910,0,16],[10,911,4,13],[10,912,0,7],[10,913,3,13],[10,914,11,6],[10,915,13,1],[10,916,13,4],[10,917,12,3],[10,918,2,13],[10,919,13,5],[10,920,8,10],[10,921,6,11],[10,922,10,8],[10,923,10,7],[10,924,14,2],[10,925,12,4],[10,926,1,11],[10,927,4,12],[10,928,11,1],[10,929,3,12],[10,930,1,13],[10,931,12,2],[10,932,7,11],[10,933,3,14],[10,934,5,12],[10,935,5,13],[10,936,14,4],[10,937,4,14],[10,938,11,7],[10,939,14,3],[10,940,12,5],[10,941,13,6],[10,942,12,6],[10,943,8,0],[10,944,11,8],[10,945,2,12],[10,946,9,9],[10,947,14,5],[10,948,6,13],[10,949,10,10],[10,950,15,2],[10,951,8,11],[10,952,9,10],[10,953,14,6],[10,954,10,9],[10,955,5,14],[10,956,11,9],[10,957,14,1],[10,958,2,14],[10,959,6,12],[10,960,1,12],[10,961,13,8],[10,962,0,8],[10,963,13,7],[10,964,7,12],[10,965,12,7],[10,966,7,13],[10,967,15,3],[10,968,12,1],[10,969,6,14],[10,970,2,15],[10,971,15,5],[10,972,15,4],[10,973,1,14],[10,974,9,11],[10,975,4,15],[10,976,14,7],[10,977,8,13],[10,978,13,9],[10,979,8,12],[10,980,5,15],[10,981,3,15],[10,982,10,11],[10,983,11,10],[10,984,12,8],[10,985,15,6],[10,986,15,7],[10,987,8,14],[10,988,15,1],[10,989,7,14],[10,990,9,0],[10,991,0,9],[10,992,9,13],[10,993,9,12],[10,994,12,9],[10,995,14,8],[10,996,10,13],[10,997,14,9],[10,998,12,10],[10,999,6,15],[10,1e3,7,15],[11,2002,9,14],[11,2003,15,8],[11,2004,11,11],[11,2005,11,14],[11,2006,1,15],[11,2007,10,12],[11,2008,10,14],[11,2009,13,11],[11,2010,13,10],[11,2011,11,13],[11,2012,11,12],[11,2013,8,15],[11,2014,14,11],[11,2015,13,12],[11,2016,12,13],[11,2017,15,9],[11,2018,14,10],[11,2019,10,0],[11,2020,12,11],[11,2021,9,15],[11,2022,0,10],[11,2023,12,12],[11,2024,11,0],[11,2025,12,14],[11,2026,10,15],[11,2027,13,13],[11,2028,0,13],[11,2029,14,12],[11,2030,15,10],[11,2031,15,11],[11,2032,11,15],[11,2033,14,13],[11,2034,13,0],[11,2035,0,11],[11,2036,13,14],[11,2037,15,12],[11,2038,15,13],[11,2039,12,15],[11,2040,14,0],[11,2041,14,14],[11,2042,13,15],[11,2043,12,0],[11,2044,14,15],[12,4090,0,14],[12,4091,0,12],[12,4092,15,14],[12,4093,15,0],[12,4094,0,15],[12,4095,15,15]]],we=[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,96,108,120,132,144,156,172,188,212,240,276,320,384,448,512,576,640,704,768,832,896,960,1024],me=[0,4,8,12,16,20,24,32,40,48,64,92,128],ye=[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,1024],ge=[0,4,8,12,16,20,28,36,44,56,68,80,96,112,128],Ee=[0,4,8,12,16,20,24,28,32,36,40,44,52,60,68,76,84,92,100,108,116,124,136,148,160,172,188,204,220,240,260,284,308,336,364,396,432,468,508,552,600,652,704,768,832,896,960,1024],be=[0,4,8,12,16,20,24,28,36,44,52,64,76,92,108,128],Se=[0,8,16,24,32,40,48,56,64,72,80,88,100,112,124,136,148,160,172,184,196,212,228,244,260,280,300,320,344,368,396,424,456,492,532,572,616,664,716,772,832,896,960,1024],Ie=[0,4,8,12,16,20,24,28,32,40,48,60,72,88,108,128],Te=[we,we,[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,100,112,124,140,156,172,192,216,240,268,304,344,384,424,464,504,544,584,624,664,704,744,784,824,864,904,944,984,1024],ye,ye,[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024],Ee,Ee,Se,Se,Se,[0,12,24,36,48,60,72,84,96,108,120,132,144,156,172,188,204,220,236,252,268,288,308,328,348,372,396,420,448,476,508,544,580,620,664,712,764,820,880,944,1024]],ke=[me,me,[0,4,8,12,16,20,24,32,40,48,64,92,128],ge,ge,ge,be,be,Ie,Ie,Ie,[0,4,8,12,16,20,24,28,36,44,52,60,72,88,108,128]],Ae=2;function Ne(t,n,r,i){var e;if(t.ts=[1,0,0,0,0,0,0,0],r.bit+=1,t.es=ee(n,r,2),r.bit+=1,t.es===Ae){for(t.os=0,t.ss=ee(n,r,4),e=0;e<7;e+=1)ie(n,r)?t.ts[t.os]+=1:(t.os+=1,t.ts[t.os]=1);t.os+=1,t.as=8,t.cs=ke[t.Gyt]}else if(t.os=1,t.as=1,t.cs=Te[t.Gyt],t.ss=ee(n,r,6),ie(n,r))throw new ce(ae.ONt,{info:"Prediction not implemented"})}var Re,De,Pe=[[1,0],[3,4],[4,10],[4,11],[4,12],[5,26],[5,27],[6,56],[6,57],[6,58],[6,59],[7,120],[7,121],[7,122],[8,246],[8,247],[8,248],[8,249],[8,250],[9,502],[9,503],[9,504],[9,505],[10,1012],[10,1013],[10,1014],[10,1015],[10,1016],[10,1017],[11,2036],[11,2037],[11,2038],[11,2039],[11,2040],[11,2041],[12,4084],[12,4085],[12,4086],[12,4087],[12,4088],[12,4089],[13,8180],[13,8181],[13,8182],[13,8183],[13,8184],[14,16370],[14,16371],[14,16372],[14,16373],[14,16374],[14,16375],[14,16376],[14,16377],[15,32756],[15,32757],[15,32758],[15,32759],[16,65520],[16,65521],[16,65522],[16,65523],[16,65524],[16,65525],[16,65526],[17,131054],[17,131055],[17,131056],[18,262114],[18,262115],[18,262116],[18,262117],[18,262118],[18,262119],[18,262120],[19,524242],[19,524243],[19,524244],[19,524245],[19,524246],[19,524247],[19,524248],[19,524249],[19,524250],[19,524251],[19,524252],[19,524253],[19,524254],[19,524255],[19,524256],[19,524257],[19,524258],[19,524259],[19,524260],[19,524261],[19,524262],[19,524263],[19,524264],[19,524265],[19,524266],[19,524267],[19,524268],[19,524269],[19,524270],[19,524271],[19,524272],[19,524273],[19,524274],[19,524275],[19,524276],[19,524277],[19,524278],[19,524279],[19,524280],[19,524281],[19,524282],[19,524283],[19,524284],[19,524285],[19,524286],[19,524287]];function Oe(t,n){for(var r,i=0,e=1,u=e,o=ie(t,n);o!==Pe[i][1];)(u=(r=Pe[i+=1][0])-e)&&(e=r,o<<=u,o|=ee(t,n,u))}function Ce(t,n,r){function i(t,n){for(var r=0,i=n.length;r<i;r+=1)n[r]&&(t.bit+=1)}function e(t,n){for(var r=4;ie(t,n);)r+=1;n.bit+=r}var u=pe[r-1],o=function(t,n,r){for(var i,e=0,u=r[0][0],o=u,s=ee(t,n,o);s!==r[e][1];)(o=(i=r[e+=1][0])-u)&&(u=i,s<<=o,s|=ee(t,n,o));return e}(t,n,u),s=[0,0,0,0];if(s[0]=u[o][2],s[1]=u[o][3],r<5&&(s[2]=u[o][4],s[3]=u[o][5]),r<11)(3===r||4===r||r>=7)&&i(n,s);else{if(!(11===r||r>15))throw new ce(ae.ONt,{info:"Huffman: unknown spectral codebook: "+r});i(n,s),16===s[0]&&e(t,n),16===s[1]&&e(t,n)}}function Fe(t,n,r,i,e){if(r.bit+=8,i||e||Ne(t,n,r),function(t,n,r){var i,e,u,o,s,f=t.es===Ae?3:5,a=t.es===Ae?7:31,c=0,h=t.os,v=t.ss,l=[],_=[];for(t.ps=l,t.ms=_,i=0;i<h;i+=1)for(e=0;e<v;){for(u=ee(n,r,4),s=e;(o=ee(n,r,f))===a;)s+=o;if((s+=o)>v)throw new ce(ae.ONt,{info:"Number of bands is too high"});if(0===s)throw new ce(ae.ONt,{info:"sectionLength is 0"});for(;e<s;e+=1)l[c]=u,_[c]=s,c+=1}}(t,n,r),function(t,n,r){var i,e,u,o=0,s=!0,f=t.os,a=t.ss,c=t.ps;for(i=0;i<f;i+=1)for(e=0;e<a;e+=1,o+=1)(u=c[o])!==Re.sxt&&(u===Re.axt||u===Re.hxt?Oe(n,r):u===Re.oxt&&s?(r.bit+=9,s=!1):Oe(n,r))}(t,n,r),!e){if(ie(n,r)){if(2===t.es)throw new ce(ae.ONt,{info:"Pulse not allowed in eight short sequence."});!function(t,n){var r=ee(t,n,2);n.bit+=6+9*r}(n,r)}if(ie(n,r)&&function(t,n,r){for(var i,e,u,o,s,f=0,a=t.as,c=2===t.es?[1,4,3]:[2,6,5];f<a;f+=1)if(e=ee(n,r,c[0]))for(u=ie(n,r),i=0;i<e;i+=1)r.bit+=c[1],(s=ee(n,r,c[2]))&&(r.bit+=1,o=u+3-ie(n,r),r.bit+=o*s)}(t,n,r),ie(n,r))throw new ce(ae.ONt,{info:"Gain Control not implemented."})}!function(t,n,r){var i,e,u,o,s,f,a,c=t.os,h=0,v=t.cs,l=t.ts,_=t.ss,d=t.ps;for(i=0;i<c;i+=1)for(f=l[i],e=0;e<_;e+=1,h+=1)if(s=d[h],a=v[e+1]-v[e],s!==Re.sxt&&s!==Re.oxt&&s!==Re.axt&&s!==Re.hxt)for(o=0;o<f;o+=1)if(s<Re.uxt)for(u=0;u<a;u+=4)Ce(n,r,s);else for(u=0;u<a;u+=2)Ce(n,r,s)}(t,n,r)}function Le(t,n,r){r.bit+=4,Fe(t,n,r,0,0)}function Me(t,n,r){r.bit+=4;var i=ie(n,r);i&&(Ne(t,n,r),1===ee(n,r,2)&&(r.bit+=t.os*t.ss));Fe(t,n,r,i,0),Fe(t,n,r,i,0)}function xe(t,n,r){var i,e,u,o,s,f,a,c,h,v,l=0;for(r.bit+=4,i=ie(n,r),e=ee(n,r,3),u=0;u<=e;u+=1)l+=1,o=ie(n,r),r.bit+=4,o&&3===ee(n,r,2)&&(l+=1);for(r.bit+=4,Fe(t,n,r,0,0),c=t.os,h=t.ss,v=t.ps,u=1;u<l;u+=1)if(a=0,i?1:ie(n,r))Oe(n,r);else for(s=0;s<c;s+=1)for(f=0;f<h;f+=1,a+=1)v[a]!==Re.sxt&&Oe(n,r)}function Be(t,n){var r,i;n.bit+=4,r=ie(t,n),255===(i=ee(t,n,8))&&(i+=ee(t,n,8)),r&&0!==n.bit&&(n.bit+=7-(n.bit-1)%8),n.bit+=8*i}function je(t,n){var r,i,e,u,o,s,f,a;n.bit+=10,r=ee(t,n,4),i=ee(t,n,4),e=ee(t,n,4),u=ee(t,n,2),o=ee(t,n,3),s=ee(t,n,4),ie(t,n)&&(n.bit+=4),ie(t,n)&&(n.bit+=4),ie(t,n)&&(n.bit+=3),n.bit+=5*r,n.bit+=5*i,n.bit+=5*e,n.bit+=4*u,n.bit+=4*o,n.bit+=5*s,0!==(a=n.bit%8)&&(n.bit+=8-a),f=ee(t,n,8),n.bit+=8*f}function Ue(t,n){var r=1,i=1;return ie(t,n)&&(n.bit+=8,r=2),ie(t,n)&&(r+=function(t,n){var r=1;for(n.bit+=7;ie(t,n);)n.bit+=7,r+=1;return r}(t,n)),ie(t,n)&&(r+=1+(i+=ee(t,n,4)),n.bit+=4+8*i),ie(t,n)&&(n.bit+=8,r+=1),n.bit+=8*i,r+=i}!function(t){t[t.sxt=0]="sxt",t[t.uxt=5]="uxt",t[t.oxt=13]="oxt",t[t.hxt=14]="hxt",t[t.axt=15]="axt"}(Re||(Re={})),function(t){t[t.cxt=0]="cxt",t[t.fxt=1]="fxt",t[t.vxt=2]="vxt",t[t.dxt=11]="dxt",t[t.lxt=13]="lxt",t[t._xt=14]="_xt"}(De||(De={}));var He,We,Ge=0;function Ve(t,n,r){var i,e=0,u=0;switch(ee(t,n,4)){case De.dxt:return Ue(t,n);case De.lxt:case De._xt:return de;case De.fxt:return n.bit+=4+8*(r-1),r;case De.vxt:switch(ee(t,n,4)){case Ge:do{e+=i=ee(t,n,8),u+=1}while(255===i);return n.bit+=8*e,e+u+1;default:return n.bit+=8*(r-1),r}case De.cxt:default:return n.bit+=8*r-4,r}}function Xe(t,n){var r=ee(t,n,4);for(15===r&&(r+=ee(t,n,8)-1);r>0;){var i=Ve(t,n,r);if(i===de)return!0;r-=i}return!1}function qe(t,n){for(var r={bit:0},i={Gyt:n},e=ee(t,r,3);e!==He.Axt;){if(t.length<r.bit/8)return!1;switch(e){case He.wxt:Le(i,t,r);break;case He.gxt:Me(i,t,r);break;case He.yxt:xe(i,t,r);break;case He.kxt:Le(i,t,r);break;case He.mxt:Be(t,r);break;case He.pxt:je(t,r);break;case He.bxt:if(Xe(t,r))return!0}e=ee(t,r,3)}return!1}!function(t){t[t.wxt=0]="wxt",t[t.gxt=1]="gxt",t[t.yxt=2]="yxt",t[t.kxt=3]="kxt",t[t.mxt=4]="mxt",t[t.pxt=5]="pxt",t[t.bxt=6]="bxt",t[t.Axt=7]="Axt"}(He||(He={})),function(t){t[t.Op=0]="Op",t[t.Bp=1]="Bp",t[t.Lp=-1]="Lp"}(We||(We={}));var ze=function(t,n){return(0|t)-(0|n)},Ye=function(t,n){return function(t,n){if(t===n)return!0;var r=v.abs(t-n);return r<Tt||r<v.max(v.abs(t),v.abs(n))*Tt}(t,n)?We.Op:function(t,n){return t===n?We.Op:t<n?We.Lp:t>n?We.Bp:d(t)?d(n)?We.Op:We.Bp:We.Lp}(t,n)},Ke=function(){function t(){}var n=t.prototype;return n.Mp=function(t){return this.xp()*t},n.Up=function(t){return this.Fp(t)>0},n.Hp=function(t){return this.Fp(t)>=0},n.Vp=function(t,n){return this.zp(t).Xp(n)},n.Ap=function(t){return 0===this.Fp(t)},n.Wp=function(t){return this.Fp(t)<0},n.Xp=function(t){return this.Fp(t)<=0},n.qp=function(){return this.Gp()?this.jp():this},n.Yp=function(t){return this.Um(t.jp())},n.zp=function(t){return this.Yp(t).qp()},t}();function $e(t,n){return t.Qp()?n.Qp()?We.Op:We.Bp:n.Qp()?We.Lp:t.Kp()?n.Kp()&&t.Gp()===n.Gp()?We.Op:t.Gp()?We.Lp:We.Bp:n.Gp()?We.Bp:We.Lp}var Ze=function(){function t(t,n){this.Zp=void 0,this.Jp=void 0,this.Zp=t,this.Jp=n}t.$p=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.ib=function(n){return n.unsigned?new t(n,It.UZERO):new t(n,n.isNegative()?It.NEG_ONE:It.ZERO)},t.eb=function(n,r){if(d(n))return r?t.sb:t.ub;if(r){if(n<0)return t.sb;if(n>=3.402823669209385e38)return t.ob}else{if(n<=-1.7014118346046923e38)return t.hb;if(n+1>=1.7014118346046923e38)return t.cb}return n<0?t.eb(-n,r).jp():t.$p(It.fromNumber(n%0x10000000000000000),It.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.fb=function(){return this.Jp.unsigned},n.vb=function(){return this.Zp.isZero()&&this.Jp.isZero()},n.Gp=function(){return this.Jp.isNegative()},n._b=function(){return this.fb()?t.$p(this.Zp,this.Jp,!1):this},n.wb=function(){return this.fb()?this:t.$p(this.Zp,this.Jp,!0)},n.gb=function(){return this.Zp},n.xp=function(){return this.Gp()?-this.jp().xp():0x10000000000000000*this.Jp.toNumber()+this.Zp.toUnsigned().toNumber()},n.yb=function(){return this.Zp.toInt()},n.Ap=function(t){return(this.fb()===t.fb()||this.Jp.getHighBits()>>>31!=1||t.Jp.getHighBits()>>>31!=1)&&(this.Jp.toUnsigned().eq(t.Jp.toUnsigned())&&this.Zp.toUnsigned().eq(t.Zp.toUnsigned()))},n.Fp=function(t){if(this.Ap(t))return We.Op;var n=this.Gp(),r=t.Gp();if(n&&!r)return We.Lp;if(!n&&r)return We.Bp;if(!this.fb())return this.Yp(t).Gp()?We.Lp:We.Bp;var i=this.wb(),e=t.wb(),u=e.Jp.comp(i.Jp);return u>0||0===u&&e.Zp.gt(i.Zp)?We.Lp:We.Bp},n.Wp=function(t){return this.Fp(t)<0},n.Xp=function(t){return this.Fp(t)<=0},n.kb=function(t){return this.Fp(t)>0},n.mb=function(t){return this.Fp(t)>=0},n.pb=function(){return new t(this.Zp.not(),this.Jp.not())},n.bb=function(n){return new t(this.Zp.and(n.Zp),this.Jp.and(n.Jp))},n.Ab=function(n){return new t(this.Zp.or(n.Zp),this.Jp.or(n.Jp))},n.Tb=function(n){var r=127&n;return 0===r?this:r<64?t.$p(this.Zp.shl(r),this.Jp.shl(r).or(this.Zp.shru(64-r)),this.fb()):t.$p(It.ZERO,this.Zp.shl(r-64),this.fb())},n.Sb=function(n){var r=127&n;return 0===r?this:r<64?t.$p(this.Zp.shru(r).or(this.Jp.shl(64-r)),this.Jp.shr(r),this.fb()):t.$p(this.Jp.shr(r-64),this.Jp.isNegative()?It.NEG_ONE:It.ZERO,this.fb())},n.Eb=function(n){var r=127&n;return 0===r?this:r<64?t.$p(this.Zp.shru(r).or(this.Jp.shl(64-r)),this.Jp.shru(r),this.fb()):64===r?t.$p(this.Jp,It.ZERO,this.fb()):t.$p(this.Jp.shru(r-64),It.ZERO,this.fb())},n.Um=function(n){var r=this.Jp.high>>>16,i=65535&this.Jp.high,e=this.Jp.low>>>16,u=65535&this.Jp.low,o=this.Zp.high>>>16,s=65535&this.Zp.high,f=this.Zp.low>>>16,a=65535&this.Zp.low,c=n.Jp.high>>>16,h=65535&n.Jp.high,v=n.Jp.low>>>16,l=65535&n.Jp.low,_=n.Zp.high>>>16,d=65535&n.Zp.high,p=n.Zp.low>>>16,w=0,m=0,y=0,g=0,E=0,b=0,S=0,I=0;S+=(I+=a+(65535&n.Zp.low))>>>16,I&=65535,b+=(S+=f+p)>>>16,S&=65535,E+=(b+=s+d)>>>16,b&=65535,g+=(E+=o+_)>>>16,E&=65535,y+=(g+=u+l)>>>16,g&=65535,m+=(y+=e+v)>>>16,y&=65535,w+=(m+=i+h)>>>16,m&=65535,w+=r+c,w&=65535;var T=this.fb(),k=It.fromBits(y<<16|g,w<<16|m,T),A=It.fromBits(S<<16|I,E<<16|b,T);return t.$p(A,k,T)},n.Yp=function(t){return this.Um(t.jp())},n.jp=function(){return this.pb().Um(t.Ib)},n.Rb=function(n){if(this.vb()||n.vb())return this.fb()?t.sb:t.ub;if(this.Gp())return n.Gp()?this.jp().Rb(n.jp()):this.jp().Rb(n).jp();if(n.Gp())return this.Rb(n.jp()).jp();if(this.Jp.isZero()&&0===this.Zp.high&&n.Jp.isZero()&&0===n.Zp.high)return t.ib(this.Zp.multiply(n.Zp));var r=It.fromBits(4294967295,0,!0),i=this.Zp.and(r),e=this.Zp.shru(32),u=this.Jp.and(r),o=this.Jp.shru(32),s=n.Zp.and(r),f=n.Zp.shru(32),a=n.Jp.and(r),c=n.Jp.shru(32),h=It.UZERO,v=It.UZERO,l=It.UZERO,_=It.UZERO;h=h.add(i.mul(s)),v=v.add(h.shru(32)),h=h.and(r),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(f)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(u.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(e.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(i.mul(a)),_=_.add(l.shru(32)),l=l.and(r),_=_.add(o.mul(s)).add(u.mul(f)).add(e.mul(a)).add(i.mul(c)).and(r);var d=It.fromBits(h.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),p=It.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.$p(d,p,this.fb())},n.Nb=function(n){var r,i,e=n;if(e.vb())throw new RangeError("division by zero");if(this.vb())return this.fb()?[t.sb,t.sb]:[t.ub,t.ub];if(this.fb()){if(e.fb()||(e=e.wb()),e.kb(this))return[t.sb,this];if(e.kb(this.Eb(1)))return[i=t.Db,r=this.Yp(e)];i=t.sb}else{if(this.Ap(t.hb)){if(e.Ap(t.Ib)||e.Ap(t.Cb))return[t.hb,t.ub];if(e.Ap(t.hb))return[t.Ib,t.ub];var u=this.Sb(1).Pb(e).Tb(1);return u.Ap(t.ub)?i=e.Gp()?t.Ib:t.Cb:(r=this.Yp(e.Rb(u)),i=u.Um(r.Pb(e))),[i,r=this.Yp(e.Rb(i))]}if(e.Ap(t.hb))return this.fb()?[t.sb,this]:[t.ub,this];if(this.Gp()){if(e.Gp())return this.jp().Nb(e.jp());var o=this.jp().Nb(e);return i=o[0],r=o[1],[i.jp(),r.jp()]}if(e.Gp()){var s=this.Nb(e.jp());return i=s[0],r=s[1],[i.jp(),r.jp()]}i=t.ub}for(r=this;r.mb(e);){for(var f=v.max(1,v.floor(r.xp()/e.xp())),a=v.ceil(v.log(f)/v.LN2),c=a<=48?1:v.pow(2,a-48),h=t.eb(f),l=h.Rb(e);l.Gp()||l.kb(r);)f-=c,l=(h=t.eb(f,this.fb())).Rb(e);h.vb()&&(h=t.Ib),i=i.Um(h),r=r.Yp(l)}return[i,r]},n.Pb=function(t){return this.Nb(t)[0]},n.Ob=function(t){return this.Nb(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.vb())return"0";if(this.Gp()){if(this.Ap(t.hb)){var i=t.eb(r),e=this.Pb(i),u=e.Rb(i).Yp(this);return e.toString(r)+u.yb().toString(r)}return"-"+this.jp().toString(r)}for(var o=t.eb(v.pow(r,6),this.fb()),s=this,f="";;){var a=s.Pb(o),c=(s.Yp(a.Rb(o)).yb()>>>0).toString(r);if((s=a).vb())return c+f;for(;c.length<6;)c="0"+c;f=String(c)+f}},t}();Ze.ub=Ze.ib(It.ZERO),Ze.sb=Ze.ib(It.UZERO),Ze.Ib=Ze.ib(It.ONE),Ze.Db=Ze.ib(It.UONE),Ze.Cb=Ze.ib(It.NEG_ONE),Ze.cb=Ze.$p(It.NEG_ONE,It.MAX_VALUE,!1),Ze.ob=Ze.$p(It.MAX_UNSIGNED_VALUE,It.MAX_UNSIGNED_VALUE,!0),Ze.hb=Ze.$p(It.ZERO,It.MIN_VALUE,!1);var Qe=function(){function t(t,n){void 0===n&&(n=1),this.Bb=void 0,this.Lb=void 0,this.Bb=t,this.Lb=n}t.Mb=function(n){return new t(v.ceil(n.Bb),n.Lb)},t.xb=function(n){return new t(v.floor(n.Bb),n.Lb)},t.Ub=function(t,n){return t.Hp(n)?t:n},t.Fb=function(t,n){return t.Xp(n)?t:n};var n=t.prototype;return n.Um=function(n){return this.Lb>=n.Lb?new t(this.Bb+n.Hb(this.Lb).Bb,this.Lb):new t(this.Hb(n.Lb).Bb+n.Bb,n.Lb)},n.Up=function(t){return t.Wp(this)},n.Hp=function(t){return t.Xp(this)},n.zp=function(n){return this.Lb>=n.Lb?new t(v.abs(this.Bb-n.Hb(this.Lb).Bb),this.Lb):n.zp(this)},n.Vp=function(t,n){return this.zp(t).Xp(n)},n.Fp=function(t){return r=t,(n=this).Lb>=r.Lb?Ye(n.Bb,r.Hb(n.Lb).Bb):Ye(n.Hb(r.Lb).Bb,r.Bb);var n,r},n.Ap=function(t){return 0===this.Fp(t)},n.Wp=function(t){return this.Fp(t)<0},n.Xp=function(t){return this.Fp(t)<=0},n.Hb=function(n){return new t(this.Bb*(n/this.Lb),n)},n.Yp=function(n){return this.Lb>=n.Lb?new t(this.Bb-n.Hb(this.Lb).Bb,this.Lb):new t(this.Hb(n.Lb).Bb-n.Bb,n.Lb)},n.Vb=function(n){return new t(this.Bb*n,this.Lb)},R(t,[{key:"Kp",get:function(){return!isFinite(this.Bb)}},{key:"Xb",get:function(){return this.Bb/this.Lb}}]),t}();Qe.zb=new Qe(1/6,1),Qe.ub=new Qe(0),Qe.Wb=new Qe(1/0),Qe.qb=1e6;var Je=function(t){function n(n,r){var i;return(i=t.call(this)||this).Eu=void 0,i.Lb=void 0,i.Eu=n.toSigned(),i.Lb=r>>>0,i}P(n,t),n.Gb=function(t,r){return void 0===r&&(r=1e6),n.eb(t*r,r)},n.eb=function(t,r){return d(t)?n.jb:t===1/0?n.Yb:t===-1/0?n.Qb:new n(It.fromNumber(t),r)},n.ib=function(t,r){return new n(t,r)},n.Kb=function(t){return n.Gb(t.Xb,1e6)},n.Zb=function(t){return new n(It.fromNumber(t.getTime()),1e3)},n.Ub=function(t,n){return t.Hp(n)?t:n},n.Fb=function(t,n){return t.Xp(n)?t:n},n.Jb=function(t,r,i){return n.Ub(r,n.Fb(i,t))};var r=n.prototype;return r.Gp=function(){return this.Eu.isNegative()},r.vb=function(){return 0!==this.Lb&&this.Eu.isZero()},r.Kp=function(){return 0===this.Lb&&!this.Eu.isZero()},r.Qp=function(){return 0===this.Lb&&this.Eu.isZero()},r.xp=function(){if(0===this.Lb)return this.Eu.isZero()?NaN:this.Eu.isNegative()?-1/0:1/0;var t=this.Eu.divide(this.Lb),n=this.Eu.subtract(t.multiply(this.Lb));return t.toNumber()+n.toNumber()/this.Lb},r.gb=function(){if(0===this.Lb)throw new a("Failed to convert timestamp");return this.Eu},r.$b=function(){return new Date(0===this.Lb?NaN:this.Hb(1e3).Eu.toNumber())},r.tA=function(){return new Qe(0===this.Lb?this.xp():this.Eu.toNumber(),this.Lb)},r.Hb=function(t,r){void 0===r&&(r=ru.nA);var i=this.Lb;if(i===t)return this;if(0===i)return this;var e=kt(i,t);return new n(function(t,n,r){var i=t.Nb(n),e=i[0],u=i[1];if(u.vb())return e;if(r===ru.nA)return u.Gp()?e.Yp(Ze.Ib):e;if(r===ru.iA)return u.Gp()?e:e.Um(Ze.Ib);var o=u.Rb(Ze.eb(2));return o.Gp()?o.jp().Wp(n)?e:e.Yp(Ze.Ib):o.Wp(n)?e:e.Um(Ze.Ib)}(Ze.ib(this.Eu).Rb(Ze.eb(t/e)),Ze.eb(i/e),r).gb(),t)},r.Fp=function(t){if(this===t)return We.Op;if(0===this.Lb||0===t.Lb)return $e(this,t);if(this.vb())return t.vb()?We.Op:t.Gp()?We.Bp:We.Lp;if(t.vb())return this.Gp()?We.Lp:We.Bp;var n=v.min(this.Lb,t.Lb),r=this.Hb(n,ru.rA).Eu,i=t.Hb(n,ru.rA).Eu;return r.compare(i)},r.jp=function(){return 0===this.Lb?tu(this):new n(this.Eu.negate(),this.Lb)},r.Um=function(t){if(0===this.Lb||0===t.Lb)return nu(this,t);if(this.vb())return t;if(t.vb())return this;var r=v.max(this.Lb,t.Lb),i=this.Hb(r,ru.rA),e=t.Hb(r,ru.rA);return new n(i.Eu.add(e.Eu),r)},r.Rb=function(t){if(this.Qp()||d(t))return n.jb;if(this.Kp()||!isFinite(t)){if(this.vb()||0===t)return n.jb;var r=this.Gp()?n.Qb:n.Yb;return t<0?r.jp():r}return this.vb()?this:new n(0===t?It.ZERO:this.Eu.multiply(t),this.Lb)},r.Pb=function(t){if(this.Qp()||d(t))return n.jb;if(this.Kp())return isFinite(t)?0===t?1/t<0?this.jp():this:t<0?this.jp():this:n.jb;if(!isFinite(t))return new n(It.ZERO,this.Lb);if(this.vb())return 0===t?n.jb:new n(It.ZERO,this.Lb);if(0===t){var r=this.Gp()?n.Qb:n.Yb;return 1/t<0?r.jp():r}return new n(this.Eu.divide(t),this.Lb)},r.eA=function(){return[this.Eu.low,this.Eu.high,this.Lb]},n}(Ke);function tu(t){return t.Qp()?t:t.Gp()?Je.Yb:Je.Qb}function nu(t,n){return t.Qp()||n.Qp()?Je.jb:t.Kp()&&n.Kp()?t.Gp()===n.Gp()?t:Je.jb:t.Kp()?t:n}Je.ub=new Je(It.ZERO,1e6),Je.jb=new Je(It.ZERO,0),Je.Yb=new Je(It.ONE,0),Je.Qb=new Je(It.NEG_ONE,0);var ru,iu=function(t){function n(n,r){var i;return(i=t.call(this)||this).Eu=void 0,i.Lb=void 0,i.Eu=BigInt.asIntN(64,n),i.Lb=r>>>0,i}P(n,t),n.Gb=function(t,r){return void 0===r&&(r=1e6),n.eb(t*r,r)},n.eb=function(t,r){return d(t)?n.jb:t===1/0?n.Yb:t===-1/0?n.Qb:new n(BigInt(v.floor(t)),r)},n.ib=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.Kb=function(t){return n.Gb(t.Xb,1e6)},n.Zb=function(t){return n.eb(t.getTime(),1e3)},n.Ub=function(t,n){return t.Hp(n)?t:n},n.Fb=function(t,n){return t.Xp(n)?t:n},n.Jb=function(t,r,i){return n.Ub(r,n.Fb(i,t))};var r=n.prototype;return r.Gp=function(){return this.Eu<BigInt(0)},r.vb=function(){return 0!==this.Lb&&this.Eu===BigInt(0)},r.Kp=function(){return 0===this.Lb&&this.Eu!==BigInt(0)},r.Qp=function(){return 0===this.Lb&&this.Eu===BigInt(0)},r.xp=function(){if(0===this.Lb)return this.Eu===BigInt(0)?NaN:this.Eu<BigInt(0)?-1/0:1/0;var t=this.Eu/BigInt(this.Lb),n=this.Eu-t*BigInt(this.Lb);return Number(t)+Number(n)/this.Lb},r.gb=function(){if(0===this.Lb)throw new a("Failed to convert timestamp");return this.sA()},r.sA=function(){var t=this.Eu&BigInt(4294967295),n=this.Eu>>BigInt(32)&BigInt(4294967295);return It.fromBits(Number(t),Number(n))},r.$b=function(){return new Date(0===this.Lb?NaN:Number(this.Hb(1e3).Eu))},r.tA=function(){return new Qe(0===this.Lb?this.xp():Number(this.Eu),this.Lb)},r.Hb=function(t,r){void 0===r&&(r=ru.nA);var i=this.Lb;if(i===t)return this;if(0===i)return this;var e=kt(i,t);return new n(function(t,n,r){var i=t/n,e=t-i*n;if(e===BigInt(0))return i;if(r===ru.nA)return e<BigInt(0)?i-BigInt(1):i;if(r===ru.iA)return e<BigInt(0)?i:i+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?i:i-BigInt(1):u<n?i:i+BigInt(1)}(this.Eu*BigInt(t/e),BigInt(i/e),r),t)},r.Fp=function(t){if(this===t)return We.Op;if(0===this.Lb||0===t.Lb)return $e(this,t);if(this.vb())return t.vb()?We.Op:t.Gp()?We.Bp:We.Lp;if(t.vb())return this.Gp()?We.Lp:We.Bp;var n=v.min(this.Lb,t.Lb),r=this.Hb(n,ru.rA).Eu,i=t.Hb(n,ru.rA).Eu;return r>i?We.Bp:r<i?We.Lp:We.Op},r.jp=function(){return 0===this.Lb?eu(this):new n(-this.Eu,this.Lb)},r.Um=function(t){if(0===this.Lb||0===t.Lb)return uu(this,t);if(this.vb())return t;if(t.vb())return this;var r=v.max(this.Lb,t.Lb),i=this.Hb(r,ru.rA),e=t.Hb(r,ru.rA);return new n(i.Eu+e.Eu,r)},r.Rb=function(t){if(this.Qp()||d(t))return n.jb;if(this.Kp()||!isFinite(t)){if(this.vb()||0===t)return n.jb;var r=this.Gp()?n.Qb:n.Yb;return t<0?r.jp():r}return this.vb()?this:new n(0===t?BigInt(0):this.Eu*BigInt(t),this.Lb)},r.Pb=function(t){if(this.Qp()||d(t))return n.jb;if(this.Kp())return isFinite(t)?0===t?1/t<0?this.jp():this:t<0?this.jp():this:n.jb;if(!isFinite(t))return new n(BigInt(0),this.Lb);if(this.vb())return 0===t?n.jb:new n(BigInt(0),this.Lb);if(0===t){var r=this.Gp()?n.Qb:n.Yb;return 1/t<0?r.jp():r}return new n(this.Eu/BigInt(t),this.Lb)},r.eA=function(){var t=this.sA();return[t.low,t.high,this.Lb]},R(n,null,[{key:"ub",get:function(){return n.uA||(n.uA=new n(BigInt(0),1e6)),n.uA}},{key:"jb",get:function(){return n.oA||(n.oA=new n(BigInt(0),0)),n.oA}},{key:"Yb",get:function(){return n.hA||(n.hA=new n(BigInt(1),0)),n.hA}},{key:"Qb",get:function(){return n.aA||(n.aA=new n(BigInt(-1),0)),n.aA}}]),n}(Ke);function eu(t){return t.Qp()?t:t.Gp()?iu.Yb:iu.Qb}function uu(t,n){return t.Qp()||n.Qp()?iu.jb:t.Kp()&&n.Kp()?t.Gp()===n.Gp()?t:iu.jb:t.Kp()?t:n}iu.uA=void 0,iu.oA=void 0,iu.hA=void 0,iu.aA=void 0,function(t){t[t.nA=0]="nA",t[t.iA=1]="iA",t[t.rA=2]="rA"}(ru||(ru={}));var ou=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?iu:Je;function su(t,n){return t.Fp(n)}var fu=9e4,au=v.pow(2,33),cu=ou.eb(au,fu),hu=cu.Pb(2);function vu(t,n){var r=t.Yp(n);return t.Kp()||n.Kp()?r:(r.Hp(hu)?r=r.Yp(cu):r.Wp(hu.jp())&&(r=r.Um(cu)),r)}function lu(t){return ou.eb(t,fu)}var _u=fu,du=2,pu=1024;function wu(t,n,r,i){var e,u,o=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3];e=u=n,i.SG=i.SG||[],i.GOt=i.GOt||new te,i.bs=i.bs||0;for(var s=i.GOt;u<r;){var f=void 0;if(i.bs<9&&(f=t[u],u+=1),0===i.bs)255===f&&(i.bs=1);else if(1===i.bs)240==(240&f)?(i.bs=2,i.GOt=s=new te,i.SG.push(s),s.rI.Vot=i.Vot,s.rI.Xot=i.Vot,s.rI.zot=i.Vot,i.ks=1&f):i.bs=0;else if(2===i.bs){i.bs=3,i.aft=f>>6&3;var a=s.rI.MBt=f>>2&15,c=s.rI.xBt=o[a];s.rI.UBt=(1&f)<<2,i.Vot=i.Vot.Um(lu(_u*pu/c))}else if(3===i.bs)i.bs=4,s.rI.UBt+=f>>6&3,i.ff=(3&f)<<11;else if(4===i.bs)i.bs=5,i.ff+=f<<3;else if(5===i.bs)i.bs=6,i.ff+=(224&f)>>5;else if(6===i.bs)i.bs=7,i.af=3&f,e=u,i.ta=i.ff-7,0===i.af&&0===i.ks||(i.bs=9);else if(7===i.bs)e+=1,i.ta-=1,i.bs=8;else if(8===i.bs)e+=1,i.ta-=1,i.bs=9;else{var h=v.min(r-e,i.ta);0!==h&&(u=e+h,i.ta-=h,s.Kut(t,e,e+h)),0===i.ta&&(i.bs=0)}}return i.SG}function mu(t){var n,r;if(!t)return!1;for(n=0,r=t.length;n<r;n+=1)try{if(qe(t[n].eot(),t[n].rI.MBt))return!0}catch(t){0}return!1}function yu(t,n,r){var i,e,u,o=t.SG||[];o[0]&&o[0].rI.xBt?(i=o[0].rI.xBt/pu,e=lu(_u/i),u=o[0].rI.xBt):(i=0,e=lu(0),u=0),null===r&&(r=!n&&mu(o)),n=n||r;var s=o[0]?o[0].rI.UBt:0,f=function(t,n){if(t)switch(n){case 1:return new p([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);case 2:case 3:return new p([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}else switch(n){case 1:return new p([0,200,0,128,35,128]);case 2:return new p([33,0,73,144,2,25,0,35,128]);case 3:return new p([0,200,0,128,32,132,1,38,64,8,100,0,142]);case 4:return new p([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);case 5:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);case 6:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}return null}(n,s);!function(t,n,r){if(0!==r.ta){var i=t.length-1,e=t[i],u=t[i]=new te;u.Kut(n,0,n.length),u.rI=e.rI,r.ta=0}}(o,f,t),function(t,n){if(t.length)for(var r=1,i=1;i<t.length;i++){var e=t[i-1].rI.Xot,u=t[i].rI.Xot;if(u===e)r++;else{var o=u.Yp(e),s=v.max(1,v.round(o.xp()/n.xp()));if(r>s){var f=r-s;t.splice(i-f,f),i-=f}r=1}}}(o,e),function(t,n){if(t.length)for(var r=t[0],i=1,e=t.length;i<e;i+=1){var u=t[i],o=lu(_u*pu/r.rI.xBt),s=r.rI.Vot.Um(o),f=u.rI.Vot.Yp(s),a=f.gb().divide(o.Hb(f.Lb).gb()).toNumber();if(a>0){for(var c=[],h=0;h<a;h++){var v=new te;v.Kut(n,0,n.length),v.rI=hi({},r.rI,{Vot:s,Xot:s,zot:s}),c.push(v),s=s.Um(o)}t.splice.apply(t,[i,0].concat(c)),i+=a}r=u}}(o,f);var a=function(t){var n=[],r=t[0]&&t[0].rI,i=r&&r.MBt||0,e=r&&r.UBt||0,u=[];return u[0]=(du<<3)+(i>>1),u[1]=((1&i)<<7)+(e<<3),ue(n,3),ue(n,23+u.length),fe(n,2),ue(n,0),ue(n,4),ue(n,15+u.length),ue(n,64),ue(n,21),oe(n,[0,0,0]),se(n,0),se(n,0),ue(n,5),ue(n,u.length),oe(n,u),ue(n,6),ue(n,1),ue(n,2),n}(o);return{gBt:t.gBt,SG:o,bBt:t.bBt,ABt:t.ABt,qBt:a,SBt:lu(t.SBt),XBt:u,zBt:pu,WBt:s,xot:i,EBt:e,_Ct:r,FBt:n,OBt:ou.jb,BBt:ou.jb,TBt:NaN,duration:NaN,IBt:t.IBt,RBt:t.RBt,NBt:t.NBt,DBt:t.DBt,CBt:t.CBt,PBt:t.PBt}}function gu(t){var n=t.EBt.Rb(t.SG.length);t.duration=n.xp(),t.TBt||(t.TBt=n.xp())}var Eu=2,bu=3,Su=1,Iu=[null,null,[22050,24e3,16e3,0],[44100,48e3,32e3,0]],Tu=[null,null,[0,8e3,16e3,24e3,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,144e3,16e4,0],[0,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,16e4,192e3,224e3,256e3,32e4,0]],ku=[576,0,576,1152],Au=[2,2,2,1];function Nu(t,n){if(255!==t||224!=(224&n))return!1;var r=(24&n)>>3;return(6&n)>>1===Su&&(r===bu||r===Eu)}function Ru(t,n,r,i){var e,u,o,s,f=n;for(i.SG=i.SG||[],i.GOt=i.GOt||new te,i.bs=i.bs||0,u=i.GOt;f<r;)switch(i.bs){case 0:e=t[f],f+=1,255===e?i.bs=1:u.Kut(t,f-1,f);break;case 1:e=t[f],f+=1,Nu(255,e)?(i.GOt=u=new te,i.na=e,u.rI.LT=(24&e)>>3,u.rI.fS=(6&e)>>1,u.rI.Vot=i.Vot,u.rI.Xot=i.Vot,u.rI.zot=i.Vot,i.SG.push(u),i.bs=2):255!==e?(i.bs=0,u.Kut([255,e],0,2)):255===e&&u.Kut([255],0,1);break;case 2:if(e=t[f],f+=1,i.ia=e,u.rI.HBt=Tu[u.rI.LT][e>>4],u.rI.jyt=Iu[u.rI.LT][(12&e)>>2],i.lo=2==(2&e)?1:0,i.dg=v.round(ku[u.rI.LT]/8*u.rI.HBt/u.rI.jyt+i.lo)-1,!i.dg)return;i.bs=3;break;case 3:e=t[f],f+=1,i.sa=e,u.rI.VBt=Au[e>>6],i.bs=4,u.Kut([255,i.na,i.ia,e],0,4),i.ta=v.max(i.dg-4,0);break;default:if(i.dg!==1/0)(s=i.ta)>r-f?(s=r-f,u.Kut(t,f,r),i.ta-=s,f=r):(u.Kut(t,f,f+s),i.ta=0,i.bs=0,f+=s);else{i.fa=i.fa||0,o=f;t:for(;f<r;)switch(e=t[f],f+=1,i.fa){case 1:if(Nu(255,e)){i.bs=1,f-=1;break t}i.fa=0;break;default:255===e&&(i.fa=1)}f<r?u.Kut(t,o,f-1):u.Kut(t,o,r)}}}function Du(t){var n,r,i,e,u=t.SG||[];u[0]&&u[0].rI.jyt?(n=9e4/(r=u[0].rI.jyt/ku[u[0].rI.LT]),i=u[0].rI.jyt,e=ku[u[0].rI.LT]):(n=0,r=0,i=0,e=ku[bu]);var o=function(t){var n=[],r=t[0]&&t[0].rI,i=r?32*r.jyt:0,e=r?32*r.jyt:0;return ue(n,3),oe(n,[128,128,128]),ue(n,27),fe(n,2),ue(n,0),ue(n,4),oe(n,[128,128,128]),ue(n,13),ue(n,107),ue(n,21),oe(n,[0,0,0]),se(n,i),se(n,e),ue(n,6),oe(n,[128,128,128]),ue(n,1),ue(n,2),n}(u),s=u[0]?u[0].rI.VBt:0;return{gBt:t.gBt,SG:u,bBt:t.bBt,ABt:t.ABt,qBt:o,SBt:lu(t.SBt),XBt:i,zBt:e,WBt:s,xot:r,EBt:lu(n),OBt:ou.jb,BBt:ou.jb,TBt:NaN,duration:NaN,IBt:t.IBt,RBt:t.RBt,NBt:t.NBt,DBt:t.DBt,CBt:t.CBt,PBt:t.PBt}}function Pu(t){var n=t.EBt.Rb(t.SG.length);t.duration=n.xp(),t.TBt=n.xp()}function Ou(t,n){var r=n.cc,i=t.getUint8(r>>3),e=1<<7-(7&r);return n.fc(1),(i&e)===e?1:0}function Cu(t,n,r){for(var i=0,e=0;e<r;e++)i=2*i+Ou(t,n);return i}var Fu=function(){function t(t){void 0===t&&(t=0),this.vc=t}var n=t.prototype;return n.fc=function(t){this.vc+=t},n.dc=function(t){this.vc=t},n.lc=function(){return new t(this.cc)},R(t,[{key:"cc",get:function(){return this.vc}}]),t}(),Lu=[128,64,32,16,8,4,2,1],Mu=function(){function t(t){this._c=t}return t.prototype.wc=function(t){return xu(this._c,t)},t}();function xu(t,n){return(t&n)===n}function Bu(t,n){return xu(t,Lu[n])}function ju(t,n){var r=t.getUint8(n.cc);return n.fc(1),r}function Uu(t,n,r){var i=no(eo(t),n.cc,n.cc+r);return n.fc(i.byteLength),i}function Hu(t,n,r){return n.cc+r<=t.byteLength}function Wu(t,n,r,i){return void 0===i&&(i=!1),i?function(t,n,r){for(var i=0,e=1,u=0;u<r;u++)i+=ju(t,n)*e,e*=256;return i}(t,n,r):function(t,n,r){for(var i=0,e=0;e<r;e++)i=256*i+ju(t,n);return i}(t,n,r)}function Gu(t,n,r){void 0===r&&(r=!1);var i=t.getUint16(n.cc,r);return n.fc(2),i}function Vu(t,n,r){void 0===r&&(r=!1);var i=t.getUint32(n.cc,r);return n.fc(4),i}function Xu(t,n,r){void 0===r&&(r=!1);var i=Vu(t,n,r),e=Vu(t,n,r),u=r?e:i,o=r?i:e;return It.fromBits(o,u,!0)}function qu(t,n){var r=ju(t,n);if(r)return String.fromCharCode(r)}function zu(t,n){return $u(t,n)}function Yu(t,n,r){for(var i="",e=0;e<r;e++)i+=qu(t,n);return i}function Ku(t,n){var r,i=ju(t,n);return 0==(128&i)?r=i:192==(224&i)?r=64*(31&i)+(63&ju(t,n)):224==(240&i)?r=4096*(15&i)+64*(63&ju(t,n))+(63&ju(t,n)):240==(248&i)&&(r=262144*(7&i)+4096*(63&ju(t,n))+64*(63&ju(t,n))+(63&ju(t,n))),r}function $u(t,n){return function(t,n,r){var i=[];for(;n.cc<t.byteLength;){var e=ju(t,n);if(r&&!e)break;i.push(e)}return Si(i)}(t,n,!0)}function Zu(t,n){if(n.cc+2<=t.byteLength){var r=t.getUint8(n.cc),i=t.getUint8(n.cc+1);return(254!==r||255!==i)&&(255===r&&254===i||void 0)}}function Qu(t,n){var r=Zu(t,n);return void 0!==r&&n.fc(2),Ju(t,n,!0===r)}function Ju(t,n,r){return void 0===r&&(r=!1),function(t,n,r,i){var e=[];for(;n.cc+2<=t.byteLength;){var u=Gu(t,n,r);if(i&&!u)break;e.push(u)}return Si(e)}(t,n,r,!0)}function to(t,n){return function(t,n,r){var i=[];(function(t,n){return n.cc+3<=t.byteLength&&239===t.getUint8(n.cc)&&187===t.getUint8(n.cc+1)&&191===t.getUint8(n.cc+2)})(t,n)&&n.fc(3);for(;n.cc<t.byteLength;){var e=Ku(t,n);if(void 0===e)break;if(r&&0===e)break;i.push(e)}return function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Si(n)}(i)}(t,n,!0)}function no(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new p(t.buffer,t.byteOffset+n,r-n)}function ro(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new DataView(t.buffer,t.byteOffset+n,r-n)}function io(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function eo(t){return new p(t.buffer,t.byteOffset,t.byteLength)}function uo(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),t.slice?t.slice(n,r):oo(no(t,n,r))}function oo(t){if(t.slice)return t.slice(0);var n=new p(t.byteLength);return n.set(t,0),n}function so(t){return[].slice.call(t)}var fo,ao,co=function(){function t(t){void 0===t&&(t=0),this.vc=t}var n=t.prototype;return n.fc=function(t){this.vc+=t},n.dc=function(t){this.vc=t},n.lc=function(){return new t(this.cc)},n.gc=function(){return new Fu(this.cc<<3)},R(t,[{key:"cc",get:function(){return this.vc}}]),t}();function ho(t){switch(t){case fo.ISO_8859_1:case fo.UTF16_BOM:case fo.UTF16:case fo.UTF8:return!0}return!1}function vo(t){switch(t){case fo.ISO_8859_1:return $u;case fo.UTF16_BOM:return Qu;case fo.UTF16:return Ju;case fo.UTF8:return to}}function lo(t,n){var r=n.cc,i=t.byteLength,e=eo(t);return n.fc(i-r),uo(e,r,i).buffer}function _o(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i);return{id:r,language:Yu(t,n,3),description:e(t,n),text:e(t,n)}}}function po(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i);return{id:r,mimeType:$u(t,n),fileName:e(t,n),description:e(t,n),data:lo(t,n)}}}function wo(t,n,r){var i=ju(t,n);if(ho(i)){for(var e=vo(i),u=[];n.cc<t.byteLength;)u.push({involvement:e(t,n),involvee:e(t,n)});return{id:r,entries:u}}}function mo(t,n,r){var i=ju(t,n);if(ho(i)){for(var e=vo(i),u=Yu(t,n,3),o=ju(t,n),s=ju(t,n),f=e(t,n),a=!1,c=[];n.cc<t.byteLength;){var h=void 0;if(i===fo.UTF16_BOM){var v=Zu(t,n);void 0===v?v=a:a=v,h=Ju(t,n,v)}else h=e(t,n);if(!h||n.cc+4>t.byteLength)break;c.push({text:h,timestamp:Vu(t,n)})}return{id:r,language:u,format:o,contentType:s,description:f,entries:c}}}function yo(t,n,r){return{id:r,ownerIdentifier:$u(t,n),identifier:lo(t,n)}}function go(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i);return{id:r,language:Yu(t,n,3),description:e(t,n),text:e(t,n)}}}function Eo(t,n,r){var i=ju(t,n);if(ho(i))return{id:r,text:vo(i)(t,n)}}function bo(t,n,r){return{id:r,url:$u(t,n)}}function So(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i);return{id:r,description:e(t,n),text:e(t,n)}}}function Io(t,n,r){var i=ju(t,n);if(ho(i))return{id:r,description:vo(i)(t,n),url:$u(t,n)}}function To(t,n,r){switch(r){case"COM":return _o(t,n,r);case"GEO":return po(t,n,r);case"IPL":return wo(t,n,r);case"PIC":return function(t,n,r){var i=ju(t,n);if(ho(i)){var e,u,o=vo(i),s=Yu(t,n,3),f=ju(t,n),a=o(t,n);return"--\x3e"===s?(e=s,u=$u(t,n)):(e="image/"+s.toLowerCase(),u=lo(t,n)),{id:r,mimeType:e,pictureType:f,description:a,data:u}}}(t,n,r);case"SLT":return mo(t,n,r);case"TXX":return So(t,n,r);case"UFI":return yo(t,n,r);case"ULT":return go(t,n,r);case"WXX":return Io(t,n,r);default:if("T"===r.charAt(0))return Eo(t,n,r);if("W"===r.charAt(0))return bo(t,n,r)}}function ko(t,n,r){switch(r){case"APIC":return function(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i),u=$u(t,n);return{id:r,mimeType:u,pictureType:ju(t,n),description:e(t,n),data:"--\x3e"===u?$u(t,n):lo(t,n)}}}(t,n,r);case"COMM":return _o(t,n,r);case"COMR":return function(t,n,r){var i=ju(t,n);if(ho(i)){var e,u,o=vo(i),s=$u(t,n),f=Yu(t,n,8),a=$u(t,n),c=ju(t,n),h=o(t,n),v=o(t,n);return n.cc<t.byteLength&&(e=$u(t,n)||"image/",u=lo(t,n)),{id:r,price:s,validUntil:f,contactURL:a,receivedAs:c,nameOfSeller:h,description:v,pictureMimeType:e,sellerLogo:u}}}(t,n,r);case"GEOB":return po(t,n,r);case"IPLS":return wo(t,n,r);case"PRIV":return function(t,n,r){return{id:r,ownerIdentifier:$u(t,n),data:lo(t,n)}}(t,n,r);case"POSS":return function(t,n,r){return{id:r,format:ju(t,n),position:Vu(t,n)}}(t,n,r);case"SYLT":return mo(t,n,r);case"TXXX":return So(t,n,r);case"UFID":return yo(t,n,r);case"USER":return function(t,n,r){var i=ju(t,n);if(ho(i)){var e=vo(i);return{id:r,language:Yu(t,n,3),text:e(t,n)}}}(t,n,r);case"USLT":return go(t,n,r);case"WXXX":return Io(t,n,r);case"YMID":case"YTYP":case"YSEQ":case"YDUR":case"YCSP":return Eo(t,n,r);default:var i=r.charAt(0);if("T"===i)return Eo(t,n,r);if("W"===i)return bo(t,n,r)}}!function(t){t[t.ISO_8859_1=0]="ISO_8859_1",t[t.UTF16_BOM=1]="UTF16_BOM",t[t.UTF16=2]="UTF16",t[t.UTF8=3]="UTF8"}(fo||(fo={})),function(t){t[t.V22=2]="V22",t[t.V23=3]="V23",t[t.V24=4]="V24"}(ao||(ao={}));var Ao,No=10;function Ro(t,n){return(127&ju(t,n))<<21|(127&ju(t,n))<<14|(127&ju(t,n))<<7|127&ju(t,n)}function Do(t,n){switch(t){case ao.V24:return{wG:Bu(n,0),gG:Bu(n,1),yG:Bu(n,2),kG:Bu(n,3)};case ao.V23:return{wG:Bu(n,0),gG:Bu(n,1),yG:Bu(n,2)};case ao.V22:return{wG:Bu(n,0),mG:Bu(n,1)}}}function Po(t,n,r){switch(r.LT){case ao.V23:r.MT.gG&&function(t,n){var r=n.cc,i=Vu(t,n)+4,e=32768&Gu(t,n);n.dc(r+i),e&&Vu(t,n)}(t,n);break;case ao.V24:r.MT.gG&&function(t,n){var r=n.cc,i=Ro(t,n);n.dc(r+i)}(t,n)}}function Oo(t,n){if(t.byteLength-n.cc<No)return null;if(73!==ju(t,n)||68!==ju(t,n)||51!==ju(t,n))return null;var r=ju(t,n),i=ju(t,n);if(!function(t){switch(t){case ao.V22:case ao.V23:case ao.V24:return!0}return!1}(r))return null;var e=ju(t,n),u=Ro(t,n);return{LT:r,pG:i,MT:Do(r,e),bG:u}}function Co(t,n,r){switch(r.LT){case ao.V22:return function(t,n,r){return{Ig:Yu(t,n,3),ac:Wu(t,n,3)}}(t,n);case ao.V23:return function(t,n,r){var i=Yu(t,n,4),e=Vu(t,n);ju(t,n);var u=ju(t,n);return{Ig:i,ac:e,MT:{mG:Bu(u,0),AG:Bu(u,1),groupingIdentity:Bu(u,2)}}}(t,n);case ao.V24:return function(t,n,r){var i=Yu(t,n,4),e=Ro(t,n);ju(t,n);var u=ju(t,n);return{Ig:i,ac:e,MT:{groupingIdentity:Bu(u,1),mG:Bu(u,4),AG:Bu(u,5),wG:Bu(u,6),TG:Bu(u,7)}}}(t,n)}}function Fo(t){for(var n=new p(t.byteLength),r=0,i=0;i<t.byteLength;i++){var e=t.getUint8(i);255===e&&i++,n[r]=e,r++}return new DataView(n,0,r)}function Lo(t,n,r){var i=[],e=n.cc,u=ro(t,e,e+r.bG),o=new co;switch(n.fc(r.bG),r.LT){case ao.V22:case ao.V23:r.MT.wG&&(u=Fo(u))}for(Po(t,n,r);o.cc<u.byteLength;)i.push(Mo(u,o,r));return i}function Mo(t,n,r){var i,e,u=Co(t,n,r),o=n.cc,s=ro(t,o,o+u.ac);switch(n.fc(u.ac),r.LT){case ao.V22:var f=u;i=To(e=s,new co,f.Ig);break;case ao.V23:var a=u,c=new co;!function(t,n,r){var i,e,u,o=r.MT;o.mG&&(i=Vu(t,n)),o.AG&&(e=ju(t,n)),o.groupingIdentity&&(u=ju(t,n))}(s,c,a),i=ko(e=ro(s,c.cc,s.byteLength),new co,a.Ig);break;case ao.V24:var h=u,v=new co;h.MT.wG&&(s=Fo(s)),function(t,n,r){var i,e,u,o,s=r.MT;s.groupingIdentity&&(i=ju(t,n)),s.mG&&(e=Vu(t,n)),s.AG&&(u=ju(t,n)),s.TG&&(o=Ro(t,n))}(s,v,h),i=ko(e=ro(s,v.cc,s.byteLength),new co,h.Ig)}if(!i){var l=oo(eo(e));i=function(t,n){return{id:t||"",data:n instanceof ArrayBuffer?n:void 0}}(u.Ig,l.buffer)}return i}function xo(t,n){var r=new DataView(t.buffer,n),i=new co,e=Oo(r,i);return e?i.cc+e.bG:0}function Bo(t,n,r,i,e){var u=e.mBt=e.mBt||[],o=ro(io(t),n,r),s=new co,f=Oo(o,s);if(null!==f){var a=io(new p(f.bG)),c=new co,h={rI:{i2:i.xp(),Vot:i},DT:f,Gu:{uI:a,hT:c}};u.push(h),jo(h,ro(o,s.cc))}}function jo(t,n){var r=t.Gu,i=r.uI.byteLength-r.hT.cc,e=ro(n,0,v.min(i,n.byteLength));!function(t,n,r){eo(t).set(eo(r),n.cc),n.fc(r.byteLength)}(r.uI,r.hT,e)}function Uo(t){for(var n=[],r=0,i=t.mBt;r<i.length;r++){var e=i[r],u=e.DT,o={DT:u,SG:Lo(e.Gu.uI,new co,u),rI:{i2:e.rI.i2,jJ:e.rI.Vot}};n.push(o)}return{gBt:t.gBt,hyt:t.hyt,yBt:t.yBt,kBt:t.kBt,mBt:n,zCt:"",Ug:"",Vg:[]}}!function(t){t.nLt="h.264",t.Kyt="mp3",t.Qyt="aac-lc",t.LBt="he-aac"}(Ao||(Ao={}));var Ho,Wo,Go=H.Vs?function(t,n){return vu(t.Xot,n.Xot)}:function(t,n){return vu(t.zot,n.zot)};!function(t){t[t.iZ=0]="iZ",t[t.rZ=1]="rZ",t[t.eZ=2]="eZ",t[t.sZ=3]="sZ",t[t.uZ=4]="uZ",t[t.oZ=5]="oZ"}(Ho||(Ho={})),function(t){t[t.hZ=0]="hZ",t[t.aZ=1]="aZ",t[t.cZ=2]="cZ",t[t.fZ=3]="fZ"}(Wo||(Wo={}));var Vo,Xo,qo,zo,Yo,Ko;[[42,225],[92,233],[94,237],[95,243],[96,250],[123,231],[124,247],[125,209],[126,241],[127,9608],[128,174],[129,176],[130,189],[131,191],[132,8482],[133,162],[134,163],[135,9834],[136,224],[137,32],[138,232],[139,226],[140,234],[141,238],[142,244],[143,251],[144,193],[145,201],[146,211],[147,218],[148,220],[149,252],[150,8216],[151,161],[152,42],[153,8217],[154,9473],[155,169],[156,8480],[157,8226],[158,8220],[159,8221],[160,192],[161,194],[162,199],[163,200],[164,202],[165,203],[166,235],[167,206],[168,207],[169,239],[170,212],[171,217],[172,249],[173,219],[174,171],[175,187],[176,195],[177,227],[178,205],[179,204],[180,236],[181,210],[182,242],[183,213],[184,245],[185,123],[186,125],[187,92],[188,94],[189,95],[190,124],[191,8764],[192,196],[193,228],[194,214],[195,246],[196,223],[197,165],[198,164],[199,9475],[200,197],[201,229],[202,216],[203,248],[204,9487],[205,9491],[206,9495],[207,9499]].reduce(function(t,n){return t[n[0]]=n[1],t},{}),y.resolve();!function(t){t.Jm="$m",t.tp="np",t.Kw="xc"}(Vo||(Vo={})),function(t){t.Jm="enter",t.tp="exit",t.Kw="update"}(Xo||(Xo={})),function(t){t[t._C=0]="_C",t[t.oJ=1]="oJ",t[t.hJ=2]="hJ",t[t.aJ=3]="aJ",t[t.fu=4]="fu"}(qo||(qo={})),function(t){t.EK='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.IK='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.RK='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.NK='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(zo||(zo={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}(Yo||(Yo={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ko||(Ko={}));var $o;Yo.WHITE,zo.RK,Yo.BLACK,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.GREEN,Ko.FONT_REGULAR,Yo.GREEN,Ko.FONT_UNDERLINE,Yo.BLUE,Ko.FONT_REGULAR,Yo.BLUE,Ko.FONT_UNDERLINE,Yo.CYAN,Ko.FONT_REGULAR,Yo.CYAN,Ko.FONT_UNDERLINE,Yo.RED,Ko.FONT_REGULAR,Yo.RED,Ko.FONT_UNDERLINE,Yo.YELLOW,Ko.FONT_REGULAR,Yo.YELLOW,Ko.FONT_UNDERLINE,Yo.MAGENTA,Ko.FONT_REGULAR,Yo.MAGENTA,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_ITALICS,Yo.WHITE,Ko.FONT_UNDERLINE_ITALICS,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE,Yo.WHITE,Ko.FONT_REGULAR,Yo.WHITE,Ko.FONT_UNDERLINE;function Zo(t,n){return su(t.jJ,n.jJ)||ze(t.mE,n.mE)}function Qo(t,n,r){return r===Ho.iZ?r:n!==Wo.hZ&&n!==Wo.aZ||r!==Ho.rZ&&r!==Ho.eZ?t?n===Wo.cZ?Ho.uZ:n===Wo.fZ?Ho.sZ:Ho.iZ:Ho.oZ:Ho.eZ}function Jo(t,n,r,i){var e={byte:r},u=Ho.rZ,o=[],s=31&Qi(n,e,i);e.byte+=1;for(var f=0;f<s;f+=1){var a=Qi(n,e,i),c=4&a,h=3&a;u=Qo(Boolean(c),h,u);var v=Qi(n,e,i),l=Qi(n,e,i);o.push({jJ:t,mE:-1,FJ:!f,UJ:Boolean(c),Hh:h,uot:u,HJ:v,VJ:l})}return o}function ts(t,n,r){var i=Qi(t,n,r);if(!d(i))return String.fromCharCode(i)}function ns(t){var n=t.oot,r={byte:t.hot},i=t.aot,e=Qi(n,r,i);if(255===e&&(r.byte+=1),181===e){var u=Ji(n,r);if(u===$o.cot||u===$o.fot){if(u===$o.fot)if("GA94"!==function(t,n,r){for(var i="",e=r;e>0;)e-=1,i+=ts(t,n);return i}(n,r,4))return;if(3===Qi(n,r,i)){u===$o.cot&&(r.byte+=1);var o=t;return o.vot=r.byte,o}}}}function rs(t){return 4===t.dot}function is(t){for(var n=t.filter(rs).map(ns).filter(W),r=[],i=0;i<n.length;i++){var e=n[i];r.push.apply(r,Jo(e.lot,e.oot,e.vot,e.aot))}return r}function es(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i.rI.Yot&&n.push.apply(n,i.rI.Yot),delete i.rI.Yot}for(var e=0;e<n.length;e+=1)n[e].mE=e;return n.sort(Zo)}!function(t){t[t.cot=47]="cot",t[t.fot=49]="fot"}($o||($o={}));var us,os=[128,64,32,16,8,4,2,1];function ss(t,n){var r=v.floor(n.bit/8),i=0==((Zi(t)?t.rc(r):t[r])&os[n.bit%8])?0:1;return n.bit+=1,i}function fs(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+ss(t,n);return i}function as(t,n){for(var r=0;0===ss(t,n)&&r<32;)r+=1;return fs(t,n,r)+v.pow(2,r)-1}function cs(t,n){var r=as(t,n);return 1&r?v.floor((r+1)/2):-v.floor(r/2)}function hs(t,n){var r,i=[],e={byte:1};do{i.push(ls(t,n,e)),r=n.rc(e.byte)}while(void 0!==r&&128!==r);return i}function vs(t,n){var r,i=0;do{i+=r=Qi(t,n)}while(255===r);return i}function ls(t,n,r){var i=vs(n,r),e=vs(n,r),u=r.byte,o=u+e;return r.byte=o,{lot:t,dot:i,bot:e,hot:u,aot:o,oot:n}}!function(t){t[t.Aot=1]="Aot",t[t.Tot=2]="Tot",t[t.Sot=3]="Sot",t[t.Eot=4]="Eot",t[t.Iot=5]="Iot",t[t.Rot=6]="Rot",t[t.Not=7]="Not",t[t.Dot=8]="Dot",t[t.Cot=9]="Cot"}(us||(us={}));var _s=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function ds(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+cs(t,n)+256)%256;i=0===e?i:e}}var ps=function(){function t(t){this.Pot=void 0,this.Oot=[],this.Bot=0,this.Pot=t}var n=t.prototype;return n.Lot=function(){for(var t=this.Oot,n=v.max(0,this.Bot+t.length-2),r=this.Pot,i=r.dg,e=0;n<i;n+=1){var u=r.rc(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Bot=n-t.length},n.Mot=function(t){for(var n=this.Oot,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.rc=function(t){if(!(t>this.Pot.dg))return t>this.Bot&&this.Lot(),this.Pot.rc(this.Mot(t))},t}();function ws(t){var n,r,i,e,u,o,s=new ps(t),f=0,a=0,c=0,h=0,l=s.rc(1),_={bit:32};if(as(s,_),100===l||110===l||122===l||144===l){var d=as(s,_);if(3===d&&(n=ss(s,_)),as(s,_),as(s,_),ss(s,_),1===ss(s,_))for(var p=0;p<(3!==d?8:12);p+=1){1===ss(s,_)&&ds(s,_,p<6?16:64)}}var w=as(s,_),m=as(s,_);if(0===m)as(s,_);else if(1===m){ss(s,_),cs(s,_),cs(s,_);for(var y=as(s,_),g=0;g<y;g+=1)cs(s,_)}as(s,_),ss(s,_);var E=as(s,_),b=as(s,_),S=ss(s,_);if(0===S&&ss(s,_),ss(s,_),1===ss(s,_)&&(f=as(s,_),a=as(s,_),c=as(s,_),h=as(s,_)),1===ss(s,_)){if(1===ss(s,_)){var I=fs(s,_,8);if(255===I)r=fs(s,_,16),i=fs(s,_,16);else{var T=_s[I];T&&(r=T[0],i=T[1])}}if(1===ss(s,_)&&ss(s,_),1===ss(s,_))fs(s,_,3),ss(s,_),1===ss(s,_)&&(fs(s,_,8),fs(s,_,8),fs(s,_,8));1===ss(s,_)&&(as(s,_),as(s,_)),1===(e=ss(s,_))&&(u=fs(s,_,32),o=fs(s,_,32),ss(s,_))}return{width:v.floor(16*(E+1)-2*f-2*a),height:v.floor((2-S)*(b+1)*16-2*c-2*h),cE:r,fE:i,xot:!!e&&o/(2*u),Uot:n,Fot:w}}var ms=9e4;function ys(t,n){var r=new te,i=r.rI;return i.Vot=t.Vot,i.qot=t.qot,i.Xot=t.Xot,i.Got=t.Got,i.zot=t.zot,t.Pot=r,n.push(r),r}function gs(t,n){var r,i,e,u,o=t.aa;if(!o)return{};for(var s=0;s<o.length&&(!r||!e);s+=1)o[s].rI.Hh===us.Not?r=o[s]:o[s].rI.Hh===us.Dot&&(e=o[s].Gu);i=r&&r.Gu||n.aCt,e=e||n.cCt,!r&&i&&(r=new te).Kut(i,0,i.length);var f,a,c,h,v=i&&e&&function(t,n){var r=t.length,i=n.length,e=[];return ue(e,1),ue(e,t[1]),ue(e,t[2]),ue(e,t[3]),ue(e,255),ue(e,225),ue(e,(65280&r)>>8),ue(e,255&r),oe(e,t),ue(e,1),ue(e,(65280&i)>>8),ue(e,255&i),oe(e,n),e}(i,e),l=(u=r&&ws(r))&&u.width,_=u&&u.height,d=r&&r.rc(1),p=r&&r.rc(2),w=r&&r.rc(3);return u&&u.xot?(f=u.xot,a=!1):(f=void 0,a=!0),u&&u.cE&&u.fE&&(c=u.cE,h=u.fE),{JS:v,zo:l,dS:_,aft:d,$Bt:p,fft:w,aCt:i,cCt:e,xot:f,JBt:a,cE:c,fE:h}}function Es(t){for(var n=t.dg-1;n>=0;n-=1)if(0!==t.rc(n))return t.dg!==n+1&&(t.dg=n+1),t;return t}function bs(t,n){n.rI.Kot=!0}function Ss(t,n){n.rI.jot=!0,bs(0,n)}function Is(t){var n=new te,r=n.rI,i=t.rI;return r.Vot=i.Vot,r.i2=i.i2,r.qot=i.qot,r.Xot=i.Xot,r.Got=i.Got,r.zot=i.zot,n}function Ts(t,n){var r=t.length&&t[t.length-1],i=n.rI;i.Kot&&(!i.Qot&&r||t.push(n))}function ks(t,n,r){return n.rI.Kot?(Ts(t,n),Is(r)):null}function As(t){for(var n=function(t){return t.map(function(t){return t.rI.Xot}).sort(su)}(t),r=[],i=1;i<n.length;i+=1){var e=n[i],u=n[i-1];r.push(e.Yp(u))}return r.sort(su),r}function Ns(t){var n=As(t);return n.length?n[v.floor(n.length/2)]:lu(.4*ms)}function Rs(t,n){!function(t){var n=t.aa;if(n)for(var r,i=n.length,e=0;e<i;e+=1)switch((r=n[e]).rI.Hh){case us.Cot:case us.Rot:case us.Not:case us.Dot:Es(r)}}(t);var r,i,e=gs(t,n),u=function(t){var n,r=[],i=new te,e=t.aa;if(!e)return r;for(var u=0;u<e.length;u++){var o=e[u];switch(o.rI.Hh){case us.Iot:Ss(0,i);break;case us.Aot:case us.Tot:case us.Sot:case us.Eot:bs(0,i);break;case us.Rot:(n=ks(r,i,o))&&(i=n);var s,f=is(hs(o.rI.Xot,new ps(o)));i.rI.Yot?(s=i.rI.Yot).push.apply(s,f):i.rI.Yot=f;break;case us.Not:case us.Dot:(n=ks(r,i,o))&&(i=n);break;case us.Cot:Ts(r,i),(i=Is(o)).rI.Qot=!0}0!==o.rI.Hh&&(i.Kut(ne(o.dg),0,4),i.Qut(o))}return Ts(r,i),r}(t),o=u.length>1?t.CBt.Yp(t.NBt).Pb(u.length-1):ou.jb,s=!1;return o.Qp()||e.xot&&!(v.abs(e.xot-1/o.xp())>10)?e.xot?(i=e.xot,r=lu(ms/i)):r=lu(ms/(i=24)):(s=!0,i=1/(r=Ns(u)).xp()),{gBt:t.gBt,SG:u,bBt:t.bBt,ABt:t.ABt,SBt:lu(t.SBt),xot:i,EBt:r,ZBt:s,JBt:e.JBt,JS:e.JS,width:e.zo,height:e.dS,aft:e.aft,$Bt:e.$Bt,fft:e.fft,aCt:e.aCt,cCt:e.cCt,cE:e.cE,fE:e.fE,OBt:ou.jb,BBt:ou.jb,TBt:NaN,duration:NaN,IBt:t.IBt,RBt:t.RBt,NBt:t.NBt,DBt:t.DBt,CBt:t.CBt,PBt:t.PBt}}function Ds(t){t.duration=t.TBt,function(t){var n,r,i=t.SG,e=i.length,u=ou.ub;if(e){n=(i=Ci(i,function(t,n){return Go(t.rI,n.rI).Fp(ou.ub)}))[0];for(var o=1;o<e;o+=1){var s=i[o];(r=Go(s.rI,n.rI)).Xp(ou.ub)&&(r=t.EBt),u=u.Um(r),n.rI.Wot=r,n.rI.Oy=r.xp(),n=s}n&&(r=ou.Ub(lu(v.round(t.duration*ms)).Yp(u),t.EBt),n.rI.Wot=r,n.rI.Oy=r.xp())}}(t)}var Ps,Os=71,Cs=188,Fs=0;function Ls(t,n,r){if(t&&n&&n.length){for(var i=ou.Yb,e=ou.Yb,u=ou.Qb,o=ou.Qb,s=0;s<n.length;s++){var f=n[s].rI;i=ou.Fb(f.zot,i),e=ou.Fb(f.Xot,e),u=ou.Ub(f.zot,u),o=ou.Ub(f.Xot,o)}t.NBt=e,t.DBt=i,t.CBt=o,t.PBt=u,t.SBt=ou.Ub(ou.ub,t.RBt.Yp(r)).xp()}}function Ms(t){t.OBt=t.CBt.Um(t.EBt),t.BBt=t.PBt.Um(t.EBt),t.TBt=t.OBt.Yp(t.NBt).xp()}function xs(t,n,r){if(0!=(48&t[n+6]))throw new a("MTE1540");var i=t[n+7],e=0!=(128&i),u=0!=(64&i),o=t[n+8],s=e?lu((14&t[n+9])*v.pow(2,29)+(t[n+10]<<22)+((254&t[n+11])<<14)+(t[n+12]<<7)+((254&t[n+13])>>1)):void 0,f=u?lu((14&t[n+14])*v.pow(2,29)+(t[n+15]<<22)+((254&t[n+16])<<14)+(t[n+17]<<7)+((254&t[n+18])>>1)):void 0,c=r.zot||r.Xot||f||s;if(e){var h=vu(s,c),l=c.Um(h);r.Xot=l,r.qot=l.xp()}else 0;if(r.ABt=u,u){var _=vu(f,c),d=c.Um(_);r.zot=d,r.Vot=d,r.Got=d.xp()}else r.Got=r.qot,r.zot=r.Xot,r.Vot=r.Xot;return void 0===r.RBt&&(r.RBt=r.Vot),r.ca=!0,n+8+o+1}function Bs(t,n,r,i,e){i.ha?Bo(t,n=xs(t,n,e),r,e.Xot,e):e.ca&&function(t,n,r,i){var e=i.mBt=i.mBt||[];if(e.length){var u=e[e.length-1];u&&jo(u,ro(io(t),n,r))}}(t,n,r,e)}function js(t,n,r,i,e){i.ha&&(n=xs(t,n,e)),e.ca&&function(t,n,r,i){var e,u,o,s,f;for(e=u=n,o=i.aa=i.aa||[],s=i.Pot||ys(i,o),f=i.bs||0;u<r;){var a=t[u];if(u+=1,0===f)0===a&&(f=1);else if(1===f)f=0===a?2:0;else if(0===a)f=3;else if(1===a){var c=1+f;s.Kut(t,e,u-c),s.rI.Hh||(s.rI.Hh=31&s.rc(0)),e=u,0!==s.dg&&(s=ys(i,o)),f=0}else f=0}u-e>0&&(s.Kut(t,e,u),s.rI.Hh||(s.rI.Hh=31&s.rc(0))),i.bs=f}(t,n,r,e)}function Us(t,n,r,i,e){return e.video&&i.gBt===e.video.gBt?js(t,n,r,i,e.video):e.audio&&i.gBt===e.audio.gBt?function(t,n,r,i,e){i.ha&&(n=xs(t,n,e)),e.ca&&(e.bBt===Ao.Qyt||e.bBt===Ao.LBt?wu(t,n,r,e):e.bBt===Ao.Kyt&&Ru(t,n,r,e))}(t,n,r,i,e.audio):e.wBt&&i.gBt===e.wBt.gBt?Bs(t,n,r,i,e.wBt):e}function Hs(t,n,r,i,e){return i.gBt===Fs?i.ha?function(t,n,r){var i,e=((15&t[n+2])<<8)+t[n+3];if(e<13)return r;if(0!==(t[n+9]<<8)+t[n+10])i=n+11;else{if(!(e>=17))return r;i=n+15}return r.la=((31&t[i])<<8)+t[i+1],r}(t,n,e):e:i.gBt===e.la&&i.ha?function(t,n,r){var i,e,u=((15&t[n+2])<<8)+t[n+3],o=((15&t[n+11])<<8)+t[n+12];i=n+13+o,e=u-9-4-o;for(var s=!1,f=!1,a=!1;e>=5;){var c=null,h=t[i],v=((31&t[i+1])<<8)+t[i+2];s||h!==Ps.nLt?f||h!==Ps.da&&h!==Ps.pa?f||h!==Ps.Qyt?f||h!==Ps.LBt?a||h!==Ps.wa||(r.wBt.gBt=v,c=r.wBt,a=!0):(r.audio.bBt=Ao.LBt,r.audio.gBt=v,c=r.audio,f=!0):(r.audio.bBt=Ao.Qyt,r.audio.gBt=v,c=r.audio,f=!0):(r.audio.bBt=Ao.Kyt,r.audio.gBt=v,c=r.audio,f=!0):(r.video.bBt=Ao.nLt,r.video.gBt=v,c=r.video,s=!0);var l=((15&t[i+3])<<8)+t[i+4];c&&(c.hyt=h,c.yBt=l,c.kBt=so(no(t,i+5,i+5+l))),e=e-5-l,i=i+5+l}}(t,n,e):e}function Ws(t,n){return t===Fs||t===n.la}function Gs(t,n){return!(!n.video||t!==n.video.gBt)||(!(!n.audio||t!==n.audio.gBt)||!(!n.wBt||t!==n.wBt.gBt))}function Vs(t,n,r,i,e,u){if(t[n]===Os){var o,s=128&(o=t[n+1]),f=64==(64&o),a=((31&o)<<8)+t[n+2],c=192&(o=t[n+3]),h=32==(32&o),v=16==(16&o);if(!e(a,i))return i;if(0!==s)return i;if(0!==c)return i;if(!v)return i;var l=n+4;return h&&(l+=t[l]+1),l>=r?i:u(t,l,r,{ga:s,ha:f,gBt:a,ba:c,ka:h,ja:v},i)}}function Xs(t){for(var n=v.min(1e3,t.length-3*Cs),r=0;r<n;r++)if(t[r]===Os&&t[r+Cs]===Os&&t[r+2*Cs]===Os)return r;return-1}function qs(t,n){return n.Up(t)&&(t=t.Um(cu)),t.xp()}function zs(t,n,r){if(t&&n){t.IBt=qs(t.RBt,r);for(var i=0;i<n.length;i++){var e=n[i];e.rI.i2=qs(e.rI.Vot,r)}}}function Ys(t){return!!t&&void 0!==t.RBt}function Ks(t,n){return su(t.RBt,n.RBt)}function $s(t,n){var r=function(t,n){for(var r={audio:{},video:{},wBt:{}},i=Xs(t),e=t.length-(t.length-i)%Cs,u=i;u<e;u+=Cs)Vs(t,u,u+Cs,r,Ws,Hs);n.fCt&&!r.audio.gBt&&(r.audio.gBt=n.fCt),n.vCt&&!r.video.gBt&&(r.video.gBt=n.vCt),n.dCt&&!r.audio.bBt&&(r.audio.bBt=n.dCt),n.lCt&&!r.video.bBt&&(r.video.bBt=n.lCt),!r.audio||n.F2&&"mp4a.40.5"!==n.F2.kyt||(r.audio.za=!0);for(var o=i;o<e;o+=Cs)Vs(t,o,o+Cs,r,Gs,Us);return r}(t,n);if(t=null,r.audio&&r.audio.SG&&0!==r.audio.SG.length||(r.audio=null),r.video&&r.video.aa&&0!==r.video.aa.length||(r.video=null),r.wBt&&r.wBt.mBt&&0!==r.wBt.mBt.length||(r.wBt=null),null===r.audio&&null===r.video&&null===r.wBt)return r;var i,e,u=(i=[r.audio,r.video,r.wBt],(e=i.filter(Ys)).length?(e.sort(Ks),e[0].RBt):ou.ub);zs(r.audio,r.audio&&r.audio.SG,u),zs(r.video,r.video&&r.video.aa,u),zs(r.wBt,r.wBt&&r.wBt.mBt,u),Ls(r.audio,r.audio&&r.audio.SG,u),Ls(r.video,r.video&&r.video.aa,u);var o=null,s=null;r.video&&(s=es((o=Rs(r.video,n)).SG),Ms(o),Ds(o));var f=null;if(r.audio)if(r.audio.bBt===Ao.Qyt||r.audio.bBt===Ao.LBt){var a=r.audio.bBt===Ao.LBt||n.F2&&"mp4a.40.5"===n.F2.kyt,c=!a&&n._Ct;Ms(f=yu(r.audio,a,c)),gu(f)}else r.audio.bBt===Ao.Kyt&&(Ms(f=Du(r.audio)),Pu(f));var h=null;return r.wBt&&(h=Uo(r.wBt)),{audio:f,video:o,wBt:h,Yot:s,pBt:u}}function Zs(t,n,r,i,e){!function(t,n,r){return Nu(t[n],t[n+1])}(t,n)?(i.F2&&"mp4a.40.5"===i.F2.kyt?e.bBt=Ao.LBt:e.bBt=Ao.Qyt,wu(t,n,r,e)):(e.bBt=Ao.Kyt,Ru(t,n,r,e))}function Qs(t,n){var r=0,i={};r+=function(t,n,r,i,e){for(var u=xo(t,n);u>0&&n+u<r;)Bo(t,n,n+u,i,e),u=xo(t,n+=u);return n}(t,r,t.byteLength,ou.ub,i);for(var e=Uo(i),u=function(t){for(var n=ou.jb,r=0;r<t.mBt.length;r+=1)for(var i=t.mBt[r],e=0;e<i.SG.length;e+=1){var u=i.SG[e];if("PRIV"===u.id&&"com.apple.streaming.transportStreamTimestamp"===u.ownerIdentifier){var o=new DataView(u.data);return n=ou.ib(Xu(o,new co),fu),Js(t,r,e),n}}return n}(e),o=0,s=e.mBt;o<s.length;o++){s[o].rI={jJ:u,i2:u.xp()}}var f={};return f.NBt=f.DBt=f.Vot=f.RBt=u,f.IBt=u.xp(),f.SBt=0,Zs(t,r,t.byteLength,n,f),{audio:f,wBt:e}}function Js(t,n,r){var i=t.mBt,e=i[n].SG;e.length>1?Bi(e,r):i.length>1?Bi(i,n):i.length=0}function tf(t){var n=t.EBt.Rb(t.SG.length);t.BBt=t.NBt.Um(n),t.OBt=t.NBt.Um(n)}!function(t){t[t.nLt=27]="nLt",t[t.da=3]="da",t[t.pa=4]="pa",t[t.Qyt=15]="Qyt",t[t.LBt=17]="LBt",t[t.wa=21]="wa"}(Ps||(Ps={}));var nf,rf,ef,uf,of,sf,ff,af=t;function cf(t,n){return void 0===nf&&(nf=function(){var t=new p(1);try{return af.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&nf?af.postMessage(t,n):af.postMessage(t)}function hf(t){return{DT:t.DT,rI:{i2:t.rI.i2,Vot:t.rI.jJ.eA()},SG:t.SG}}function vf(t){return{jJ:t.jJ.eA(),mE:t.mE,FJ:t.FJ,UJ:t.UJ,Hh:t.Hh,uot:t.uot,HJ:t.HJ,VJ:t.VJ}}function lf(t){return{gBt:t.gBt,SG:[],bBt:t.bBt,ABt:t.ABt,duration:t.duration,TBt:t.TBt,SBt:t.SBt.eA(),xot:t.xot,EBt:t.EBt.eA(),IBt:t.IBt,RBt:t.RBt.eA(),NBt:t.NBt.eA(),DBt:t.DBt.eA(),CBt:t.CBt.eA(),PBt:t.PBt.eA(),OBt:t.OBt.eA(),BBt:t.BBt.eA()}}function _f(t,n){switch(t.bBt){case Ao.Qyt:case Ao.LBt:return function(t,n){return hi({},df(t),{bBt:t.bBt,SG:t.SG.map(function(t){return function(t,n){var r=(i=t.rI,hi({},yf(i),{MBt:i.MBt,xBt:i.xBt,UBt:i.UBt}));var i;return pf(t.lc(r),n)}(t,n)}),_Ct:t._Ct,FBt:t.FBt})}(t,n);case Ao.Kyt:return function(t,n){return hi({},df(t),{bBt:t.bBt,SG:t.SG.map(function(t){return function(t,n){var r=(i=t.rI,hi({},yf(i),{LT:i.LT,fS:i.fS,HBt:i.HBt,jyt:i.jyt,VBt:i.VBt}));var i;return pf(t.lc(r),n)}(t,n)})})}(t,n)}}function df(t){return hi({},lf(t),{SG:[],bBt:t.bBt,XBt:t.XBt,zBt:t.zBt,WBt:t.WBt,qBt:t.qBt})}function pf(t,n){var r=t.eot();return n.push(r.buffer),{GBt:r,jBt:t.dg,YBt:t.rI}}function wf(t,n){return hi({},lf(t),{bBt:t.bBt,SG:t.SG.map(function(t){return function(t,n){var r=(i=t.rI,hi({},mf(i),{Oy:i.Oy,Wot:i.Wot.eA(),qot:i.qot,Got:i.Got,QBt:i.QBt&&i.QBt.eA(),KBt:i.KBt&&i.KBt.eA(),jot:i.jot,Kot:i.Kot,Yot:i.Yot,Qot:i.Qot}));var i;return pf(t.lc(r),n)}(t,n)}),ZBt:t.ZBt,JBt:t.JBt,JS:t.JS,width:t.width,height:t.height,aft:t.aft,$Bt:t.$Bt,fft:t.fft,aCt:t.aCt,cCt:t.cCt,cE:t.cE,fE:t.fE})}function mf(t){var n;return hi({},{i2:(n=t).i2,Vot:n.Vot.eA()},{Xot:t.Xot.eA(),zot:t.zot.eA()})}function yf(t){return hi({},mf(t))}!function(t){t.gLt="jct",t.dLt="AEt"}(rf||(rf={})),function(t){t.yLt="kLt",t.mLt="pLt"}(ef||(ef={})),function(t){t.yA="moov",t.kA="mvhd",t.mA="trak",t.pA="tkhd",t.bA="mdia",t.AA="mdhd",t.TA="hdlr",t.SA="minf",t.EA="stbl",t.IA="stsd",t.RA="stsc",t.NA="mvex",t.DA="trex",t.CA="avc1",t.PA="avcC",t.OA="hev1",t.BA="hvc1",t.LA="hvcC",t.MA="pasp",t.xA="mp4a",t.UA="esds",t.FA="wvtt",t.HA="vttC",t.VA="vlab",t.XA="enca",t.zA="encv",t.WA="moof",t.qA="mfhd",t.GA="traf",t.jA="tfhd",t.YA="trun",t.QA="tfdt",t.KA="mdat",t.ZA="pssh",t.JA="emsg",t.$A="sidx",t.tT="styp",t.nT="ftyp",t.iT="sinf",t.rT="frma"}(uf||(uf={})),function(t){t.r_="vide",t.i_="soun",t.eT="subt",t.sT="hint",t.uT="meta",t.oT="auxv"}(of||(of={})),function(t){t[t.BASE_DATA_OFFSET_PRESENT=1]="BASE_DATA_OFFSET_PRESENT",t[t.SAMPLE_DESCRIPTION_INDEX_PRESENT=2]="SAMPLE_DESCRIPTION_INDEX_PRESENT",t[t.DEFAULT_SAMPLE_DURATION_PRESENT=8]="DEFAULT_SAMPLE_DURATION_PRESENT",t[t.DEFAULT_SAMPLE_SIZE_PRESENT=16]="DEFAULT_SAMPLE_SIZE_PRESENT",t[t.DEFAULT_SAMPLE_FLAGS_PRESENT=32]="DEFAULT_SAMPLE_FLAGS_PRESENT",t[t.DURATION_IS_EMPTY=32]="DURATION_IS_EMPTY",t[t.DEFAULT_BASE_IS_MOOF=131072]="DEFAULT_BASE_IS_MOOF"}(sf||(sf={})),function(t){t[t.DATA_OFFSET_PRESENT=1]="DATA_OFFSET_PRESENT",t[t.FIRST_SAMPLE_FLAGS_PRESENT=4]="FIRST_SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_DURATION_PRESENT=256]="SAMPLE_DURATION_PRESENT",t[t.SAMPLE_SIZE_PRESENT=512]="SAMPLE_SIZE_PRESENT",t[t.SAMPLE_FLAGS_PRESENT=1024]="SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT=2048]="SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT"}(ff||(ff={}));var gf=function(){function t(t,n){this.Gu=void 0,this.hT=void 0,this.Gu=t,this.hT=n}var n=t.prototype;return n.aT=function(){return ju(this.Gu,this.hT)},n.cT=function(){return Gu(this.Gu,this.hT)},n.fT=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt16(n.cc,r);return n.fc(2),i}(this.Gu,this.hT)},n.vT=function(){return Vu(this.Gu,this.hT)},n.dT=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt32(n.cc,r);return n.fc(4),i}(this.Gu,this.hT)},n.lT=function(){return Xu(this.Gu,this.hT)},n._T=function(t){return Uu(this.Gu,this.hT,t)},n.wT=function(t){return function(t,n,r){for(var i=[],e=0;e<r;e++)i.push(Vu(t,n));return i}(this.Gu,this.hT,t)},n.gT=function(t){return Yu(this.Gu,this.hT,t)},n.yT=function(){return to(this.Gu,this.hT)},n.kT=function(t){this.hT.fc(t)},n.lc=function(){return new t(this.Gu,this.hT.lc())},t}();function Ef(t,n){return t.Hh===n}var bf=function(t){function n(n,r){var i;return(i=t.call(this)||this).mT=n,i.pT=r,i}return P(n,t),R(n,[{key:"name",get:function(){return"DataIncompleteError"}}]),n}(Dt),Sf=function(){function t(){}return t.bT=function(n){var r=n.Gu,i=n.hT,e=t.AT(r,i,!1);if(!e.TT)throw new bf(i.cc,e.Lu);return e.Lu},t.AT=function(n,r,i){for(var e=[];r.cc<n.byteLength;){var u=t.ST(n,r,i);if(!u.TT)return{TT:!1,Lu:e};e.push(u.ET)}return{TT:!0,Lu:e}},t.IT=function(n,r){var i=t.ST(n,r,!1);if(!i.TT)throw new bf(r.cc);return i.ET},t.RT=function(n,r){for(var i=n.Gu,e=n.hT;e.cc<i.byteLength;){var u=t.ST(i,e,!1);if(!u.TT)return;if(u.ET.Hh===r)return u.ET}},t.ST=function(n,r,i){var e=r.cc,u=t.NT(n,r);if(!u.TT)return u;var o=u.DT,s=o.ac;if(0===s){if(i)return r.dc(e),{TT:!1,CT:1/0};s=n.byteLength-e}var f=e+s;if(f>n.byteLength){var a=f;return r.dc(e),{TT:!1,CT:a}}var c={Hh:o.Hh,cc:e,Gu:new gf(ro(n,e,f),new co(o.PT))};return r.dc(f),{TT:!0,ET:c}},t.NT=function(t,n){var r=n.cc;if(!Hu(t,n,8))return{TT:!1,CT:n.cc+8};var i=Vu(t,n),e=Yu(t,n,4);if(1===i){if(!Hu(t,n,8)){var u=n.cc+8;return n.dc(r),{TT:!1,CT:u}}i=Xu(t,n).toNumber()}if("uuid"===e){if(!Hu(t,n,16)){var o=n.cc+16;return n.dc(r),{TT:!1,CT:o}}e=Yu(t,n,16)}return{TT:!0,DT:{Hh:e,ac:i,PT:n.cc-r}}},t.OT=function(t,n,r){var i=t.Gu,e=t.hT,u=no(eo(i),e.cc,i.byteLength);return r&&(u=oo(u)),e.fc(u.byteLength),{Hh:n,Gu:u}},t.BT=function(n,r,i){var e=Af(n.vT());return{Hh:r,LT:e.version,MT:e.flags,Gu:t.OT(n,r,i).Gu}},t}();function If(t,n){var r=Tf(t,n);if(!r)throw new a("Missing "+n+" atom");return r}function Tf(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.Hh===n)return i.Gu}}function kf(t,n){for(var r=[],i=0;i<t.length;i++){var e=t[i];e.Hh===n&&r.push(e.Gu)}return r}function Af(t){return{version:t>>24,flags:new Mu(16777215&t)}}var Nf,Rf,Df,Pf=function(){function t(){}return t.xT=function(n){for(var r=[],i=Sf.bT(new gf(n,new co)),e=0;e<i.length;e++){var u=i[e],o=t.UT(u);o&&r.push(o)}return r},t.FT=function(t){return Sf.AT(t,new co,!1).Lu.some(function(t){return t.Hh===uf.WA||t.Hh===uf.tT})},t.HT=function(n){return kf(Sf.bT(new gf(n,new co)),uf.ZA).map(t.VT)},t.XT=function(n){return kf(Sf.bT(n.Gu),uf.ZA).map(t.VT)},t.UT=function(n){switch(n.Hh){case uf.yA:return t.zT(n.Gu);case uf.WA:return t.WT(n.Gu,n.cc);case uf.KA:return t.qT(n.Gu);case uf.$A:return t.GT(n.Gu);case uf.JA:return t.jT(n.Gu)}},t.zT=function(n){var r=Sf.bT(n),i=If(r,uf.kA),e=kf(r,uf.mA),u=Tf(r,uf.NA),o=t.YT(i),s=e.map(t.QT),f=u?t.KT(u):void 0;return{Hh:uf.yA,DT:o,ZT:s,JT:f}},t.YT=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=1===r?t.lT():t.vT(),u=1===r?t.lT():t.vT(),o=t.vT(),s=1===r?t.lT():t.vT(),f=t.vT(),a=t.cT()>>8;t.kT(2),t.kT(8);var c=t.wT(9);t.kT(24);var h=t.vT();return{Hh:uf.kA,LT:r,MT:i,$T:e,tS:u,Lb:o,Oy:s,nS:f,Xy:a,iS:c,rS:h}},t.QT=function(n){var r=Sf.bT(n),i=If(r,uf.pA),e=If(r,uf.bA),u=t.eS(i),o=t.sS(e);return{Hh:uf.mA,DT:u,uS:o}},t.eS=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=1===r?t.lT():t.vT(),u=1===r?t.lT():t.vT(),o=t.vT();t.kT(4);var s=1===r?t.lT():t.vT();t.kT(8);var f=t.fT(),a=t.fT(),c=t.fT()/v.pow(2,8);t.kT(2);var h=t.wT(9),l=t.vT()/v.pow(2,16),_=t.vT()/v.pow(2,16);return{Hh:uf.pA,oS:i.wc(1),hS:i.wc(2),aS:i.wc(4),$T:e,tS:u,cS:o,Oy:s,fS:f,vS:a,Xy:c,iS:h,zo:l,dS:_}},t.sS=function(n){var r=Sf.bT(n),i=If(r,uf.AA),e=If(r,uf.TA),u=If(r,uf.SA),o=t.lS(i),s=t._S(e),f=t.wS(u);return{Hh:uf.bA,DT:o,gS:s,yS:f}},t.lS=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=1===r?t.lT():t.vT(),u=1===r?t.lT():t.vT(),o=t.vT(),s=1===r?t.lT():t.vT();t.cT();return t.kT(2),{Hh:uf.AA,LT:r,MT:i,$T:e,tS:u,Lb:o,Oy:s}},t._S=function(t){var n=Af(t.vT()),r=n.version,i=n.flags;t.kT(4);var e=t.gT(4);t.kT(12);var u=t.yT();return{Hh:uf.TA,LT:r,MT:i,kS:e,Au:u}},t.wS=function(n){var r=If(Sf.bT(n),uf.EA),i=t.mS(r);return{Hh:uf.SA,pS:i}},t.mS=function(n){var r=If(Sf.bT(n),uf.IA),i=t.bS(r);return{Hh:uf.EA,AS:i}},t.bS=function(n){for(var r=Af(n.vT()),i=r.version,e=r.flags,u=(n.vT(),[]),o=Sf.bT(n),s=0;s<o.length;s++){var f=o[s],a=t.TS(f.Gu,f.Hh);a&&u.push(a)}return{Hh:uf.IA,LT:i,MT:e,SS:u}},t.TS=function(n,r){var i=t.ES(n,r);return i||((i=t.IS(n,r))||(r===uf.FA?t.RS(n):void 0))},t.ES=function(n,r){return r===uf.xA?t.NS(n):r===uf.XA?t.DS(n):void 0},t.IS=function(n,r){return r===uf.CA?t.CS(n):r===uf.OA||r===uf.BA?t.PS(n,r):r===uf.zA?t.OS(n):void 0},t.LS=function(t,n){return t.kT(6),{Hh:n,MS:t.cT()}},t.xS=function(n,r){var i=t.LS(n,r);n.kT(8);var e=n.cT(),u=n.cT();return n.kT(2),n.kT(2),hi({},i,{US:e,FS:u,HS:n.vT()>>>16})},t.VS=function(n,r){var i=t.LS(n,r);n.kT(2),n.kT(2),n.kT(12);var e=n.cT(),u=n.cT(),o=n.vT(),s=n.vT();n.kT(4);var f=n.cT();n.kT(32);var a=n.cT();return n.kT(2),hi({},i,{zo:e,dS:u,XS:o,zS:s,WS:f,qS:a})},t.NS=function(n){var r=t.xS(n,uf.xA),i=If(Sf.bT(n),uf.UA);return hi({},r,{GS:t.jS(i)})},t.RS=function(n){var r=t.LS(n,uf.FA),i=Sf.bT(n),e=If(i,uf.HA),u=t.YS(e),o=Tf(i,uf.VA);return hi({},r,{QS:u,KS:o?t.ZS(o):o})},t.YS=function(t){return{Hh:uf.HA,qc:t.yT()}},t.ZS=function(t){return{Hh:uf.VA,Dg:t.yT()}},t.jS=function(t){return Sf.BT(t,uf.UA,!0)},t.CS=function(n){var r=t.VS(n,uf.CA),i=Sf.bT(n),e=If(i,uf.PA),u=Tf(i,uf.MA);return hi({},r,{JS:t.$S(e),tE:u?t.nE(u):void 0})},t.PS=function(n,r){var i=t.VS(n,r),e=If(Sf.bT(n),uf.LA);return hi({},i,{iE:t.rE(e)})},t.OS=function(n){var r=n.lc(),i=t.VS(n,uf.zA),e=If(Sf.bT(n),uf.iT),u=t.eE(e);return hi({},i,{sE:t.IS(r,u.oE.uE),hE:u})},t.DS=function(n){var r=n.lc(),i=t.xS(n,uf.XA),e=If(Sf.bT(n),uf.iT),u=t.eE(e);return hi({},i,{sE:t.ES(r,u.oE.uE),hE:u})},t.eE=function(n){var r=If(Sf.bT(n),uf.rT),i=t.aE(r);return{Hh:uf.iT,oE:i}},t.aE=function(t){var n=t.gT(4);return{Hh:uf.rT,uE:n}},t.$S=function(t){return Sf.OT(t,uf.PA,!0)},t.rE=function(t){return Sf.OT(t,uf.LA,!0)},t.nE=function(t){var n=t.vT(),r=t.vT();return{Hh:uf.MA,cE:n,fE:r}},t.KT=function(n){var r=kf(Sf.bT(n),uf.DA).map(t.vE);return{Hh:uf.NA,ZT:r}},t.vE=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=t.vT(),u=t.vT(),o=t.vT(),s=t.vT(),f=t.vT();return{Hh:uf.DA,LT:r,MT:i,cS:e,dE:u,lE:o,_E:s,wE:f}},t.WT=function(n,r){var i=Sf.bT(n),e=If(i,uf.qA),u=kf(i,uf.GA),o=t.gE(e),s=u.map(t.yE);return{Hh:uf.WA,kE:r,DT:o,ZT:s}},t.gE=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=t.vT();return{Hh:uf.qA,LT:r,MT:i,mE:e}},t.yE=function(n){var r=Sf.bT(n),i=If(r,uf.jA),e=kf(r,uf.YA),u=Tf(r,uf.QA),o=t.pE(i),s=e.map(function(n){return t.bE(n,o)}),f=u?t.AE(u):void 0;return{Hh:uf.GA,DT:o,TE:s,SE:f}},t.pE=function(t){var n=Af(t.vT()),r=n.version,i=n.flags,e=t.vT(),u=i.wc(sf.BASE_DATA_OFFSET_PRESENT)?t.lT():void 0,o=i.wc(sf.SAMPLE_DESCRIPTION_INDEX_PRESENT)?t.vT():void 0,s=i.wc(sf.DEFAULT_SAMPLE_DURATION_PRESENT)?t.vT():void 0,f=i.wc(sf.DEFAULT_SAMPLE_SIZE_PRESENT)?t.vT():void 0,a=i.wc(sf.DEFAULT_SAMPLE_FLAGS_PRESENT)?t.vT():void 0;return{Hh:uf.jA,LT:r,MT:i,cS:e,EE:u,IE:o,lE:s,_E:f,wE:a}},t.bE=function(n,r){for(var i=Af(n.vT()),e=i.version,u=i.flags,o=n.vT(),s=u.wc(ff.DATA_OFFSET_PRESENT)?n.dT():void 0,f=u.wc(ff.FIRST_SAMPLE_FLAGS_PRESENT)?n.vT():void 0,a=[],c=0;c<o;c++){var h=t.RE(n,u,e,r);0===c&&void 0!==f&&(h.MT=f),a.push(h)}return{Hh:uf.YA,LT:e,MT:u,NE:o,kE:s,DE:f,CE:a}},t.RE=function(t,n,r,i){return{Oy:n.wc(ff.SAMPLE_DURATION_PRESENT)?t.vT():i.lE,ac:n.wc(ff.SAMPLE_SIZE_PRESENT)?t.vT():i._E,MT:n.wc(ff.SAMPLE_FLAGS_PRESENT)?t.vT():i.wE,PE:n.wc(ff.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT)?0===r?t.vT():t.dT():void 0}},t.jT=function(t){var n=t.Gu,r=t.hT,i=Af(Vu(n,r)),e=i.version,u=i.flags;if(1===e){var o=Vu(n,r),s=Xu(n,r),f=Vu(n,r),a=Vu(n,r),c=zu(n,r),h=zu(n,r),v=uo(eo(n),r.cc,n.byteLength);return r.fc(v.byteLength),{Hh:uf.JA,LT:e,MT:u,OE:c,Eu:h,Lb:o,BE:s,LE:f,Ig:a,ME:v}}var l=zu(n,r),_=zu(n,r),d=Vu(n,r),p=Vu(n,r),w=Vu(n,r),m=Vu(n,r),y=uo(eo(n),r.cc,n.byteLength);return r.fc(y.byteLength),{Hh:uf.JA,MT:u,LT:e,OE:l,Eu:_,Lb:d,xE:p,LE:w,Ig:m,ME:y}},t.qT=function(t){return Sf.OT(t,uf.KA,!1)},t.VT=function(n){var r=n.Gu,i=n.hT,e=oo(eo(r)).buffer,u=Af(Vu(r,i)),o=u.version,s=u.flags,f=t.UE(r,i),a=[];if(o>0)for(var c=Vu(r,i),h=0;h<c;h++){var v=Uu(r,i,16);a.push(v)}var l=Vu(r,i),_=new p(e,i.cc,l);return i.fc(r.byteLength),{Hh:uf.ZA,LT:o,MT:s,FE:f,HE:a,VE:l,Gu:_,XE:e}},t.UE=function(t,n){for(var r="",i=0;i<4;i++){var e=ju(t,n).toString(16);r+=1===e.length?"0"+e:e}r+="-";for(var u=0;u<2;u++){var o=ju(t,n).toString(16);r+=1===o.length?"0"+o:o}r+="-";for(var s=0;s<2;s++){var f=ju(t,n).toString(16);r+=1===f.length?"0"+f:f}r+="-";for(var a=0;a<2;a++){var c=ju(t,n).toString(16);r+=1===c.length?"0"+c:c}r+="-";for(var h=0;h<6;h++){var v=ju(t,n).toString(16);r+=1===v.length?"0"+v:v}return r.toLowerCase()},t.GT=function(t){var n,r,i=t.Gu,e=t.hT,u=Af(Vu(i,e)),o=u.version,s=u.flags,f=Vu(i,e),a=Vu(i,e);0===o?(n=It.fromBits(Vu(i,e),0,!0),r=It.fromBits(Vu(i,e),0,!0)):(n=Xu(i,e),r=Xu(i,e)),e.fc(2);for(var c=Gu(i,e),h=[],v=0;v<c;v+=1){var l=Vu(i,e),_=l>>31&1,d=2147483647&l,p=Vu(i,e),w=Vu(i,e),m=w>>31&1,y=w>>28&7,g=268435455&w;h.push({zE:_,WE:d,Oy:p,qE:m,GE:y,jE:g})}return{Hh:uf.$A,LT:o,MT:s,YE:f,Lb:a,QE:n,KE:r,ZE:c,JE:h}},t.AE=function(t){var n,r=t.Gu,i=t.hT,e=Af(Vu(r,i)),u=e.version,o=e.flags;return n=0===u?It.fromBits(Vu(r,i),0,!0):Xu(r,i),{Hh:uf.QA,LT:u,MT:o,SE:n}},t}();function Of(t,n,r){var i=ju(t,n);if(i!==r)throw new c("Expected descriptor with tag "+r+", but found "+i)}function Cf(t,n){Of(t,n,Nf.iyt);var r,i,e,u=Ff(t,n),o=n.cc+u,s=Gu(t,n),f=ju(t,n),a=0!=(64&f),c=0!=(32&f),h=31&f;(0!=(128&f)&&(r=Gu(t,n)),a)&&(i=Yu(t,n,ju(t,n)));c&&(e=Yu(t,n,2));var v=function(t,n){Of(t,n,Nf.ryt);var r,i=Ff(t,n),e=n.cc+i,u=ju(t,n),o=ju(t,n),s=o>>2,f=0!=(2&o),a=Wu(t,n,3),c=Vu(t,n),h=Vu(t,n);if(n.cc<e){var v=function(t,n){return t.getUint8(n.cc)}(t,n);v===Nf.eyt&&(r=function(t,n){Of(t,n,Nf.eyt);var r=Ff(t,n),i=Uu(t,n,r);return{syt:Nf.eyt,uyt:i}}(t,n))}return n.dc(e),{syt:Nf.ryt,oyt:u,hyt:s,ayt:f,cyt:a,fyt:c,vyt:h,dyt:r}}(t,n);return n.dc(o),{syt:Nf.iyt,Ig:s,lyt:r,Xl:i,_yt:h,wyt:e,gyt:v}}function Ff(t,n){for(var r=0,i=0;i<4;i++){var e=ju(t,n);if(r=r<<7|127&e,!(128&e))break}return r}function Lf(t,n){for(var r=ju(t,n),i=ju(t,n),e=ju(t,n),u=ju(t,n),o=3&ju(t,n),s=31&ju(t,n),f=[],a=0;a<s;a++){var c=Gu(t,n);f.push(Uu(t,n,c))}for(var h=ju(t,n),v=[],l=0;l<h;l++){var _=Gu(t,n);v.push(Uu(t,n,_))}return{_ot:r,wot:i,got:e,yot:u,kot:o,mot:f,pot:v}}!function(t){t[t.iyt=3]="iyt",t[t.ryt=4]="ryt",t[t.eyt=5]="eyt"}(Nf||(Nf={})),function(t){t[t.Wyt=64]="Wyt",t[t.Qyt=103]="Qyt",t[t.Kyt=107]="Kyt"}(Rf||(Rf={})),function(t){t[t.Zyt=0]="Zyt",t[t.Jyt=1]="Jyt",t[t.Qyt=2]="Qyt",t[t.$yt=5]="$yt",t[t.tkt=34]="tkt"}(Df||(Df={}));var Mf=24;function xf(t){var n=t.mot,r=new te;return r.Kut(eo(n),0,n.length),ws(r).xot}function Bf(t){var n=xf(t)||Mf;return t.Hot/n}function jf(t,n,r,i,e){for(var u=[],o=n.filter(Uf),s=i(r),f=0;f<o.length;f++){var a,c=o[f],h=Li(c.ZT,function(t){return t.DT.cS===r.cS});if(h)for(var v=h.DT.lE||0,l=h.DT._E||0,_=h.SE?h.SE.SE:It.ZERO,d=c.kE+(null!=(a=h.DT.EE)?a:It.ZERO).toNumber(),p=0,w=h.TE;p<w.length;p++)for(var m=w[p],y=d+(m.kE||0),g=0,E=m.CE;g<E.length;g++){var b=E[g],S=b.ac||l,I=new te;I.Kut(t,y,y+S);var T=ou.ib(_,r.Hot);I.rI=e(b,c,r,T,uo(t,y,y+S)),u.push(I),y+=S,_=_.add(b.Oy||v||s)}}return u}function Uf(t){return t.Hh===uf.WA}var Hf,Wf=65536;function Gf(t,n,r,i){var e=r.Hot,u=It.fromNumber(t.PE||0),o=i.Um(ou.ib(u,e));return{i2:i.xp(),Vot:i,Xot:o,zot:i}}function Vf(t,n,r,i,e){for(var u,o=Gf(t,0,r,i),s=ou.eb(t.Oy||0,r.Hot),f=t.MT||0,a=!(f&Wf)&&(f>>24&3)!==Hf.SAMPLE_DEPENDS_ON_OTHERS,c=io(e),h=new co;h.cc<c.byteLength;){var v=Vu(c,h);if((31&Wu(c,h,1))===us.Rot){var l,_=new te;_.Kut(e,h.cc-1,h.cc+v-1);var d=hs(o.Xot,_);(l=u=u||[]).push.apply(l,is(d))}h.fc(v-1)}return hi({},o,{Oy:s.xp(),Wot:s,qot:o.Xot.xp(),Got:o.i2,jot:a,Yot:u,Qot:!1,Kot:!1})}function Xf(t){return{cS:t.DT.cS,Hot:t.uS.DT.Lb}}function qf(t){return t.Hh===uf.yA}!function(t){t[t.SAMPLE_DEPENDS_ON_UNKNOWN=0]="SAMPLE_DEPENDS_ON_UNKNOWN",t[t.SAMPLE_DEPENDS_ON_OTHERS=1]="SAMPLE_DEPENDS_ON_OTHERS",t[t.SAMPLE_DEPENDS_ON_NO_OTHER=2]="SAMPLE_DEPENDS_ON_NO_OTHER",t[t.SAMPLE_DEPENDS_ON_RESERVED=3]="SAMPLE_DEPENDS_ON_RESERVED"}(Hf||(Hf={}));var zf=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3],Yf=.01;function Kf(t,n){var r=Pf.xT(io(n.A4)),i=Pf.xT(io(t)),e=function(t){for(var n=0;n<t.ZT.length;n++){var r=t.ZT[n],i=Xf(t.ZT[n]),e=r.uS.yS.pS.AS.SS,u=Li(e,function(t){return t.Hh===uf.xA});if(u){var o=Cf(io(u.GS.Gu),new co),s=$f(o),f=u.US,a=r.DT.cS;return hi({},i,{cS:a,oc:f,bBt:s,GS:so(u.GS.Gu)})}}return}(r.filter(qf)[0]),u=function(t){for(var n=0;n<t.ZT.length;n++){var r=t.ZT[n],i=Xf(t.ZT[n]),e=r.uS.yS.pS.AS.SS,u=Li(e,function(t){return t.Hh===uf.CA});if(!u){var o=Li(e.filter(function(t){return t.Hh===uf.zA}),function(t){var n;return(null==(n=t.sE)?void 0:n.Hh)===uf.CA});o&&(u=o.sE)}if(u){var s=Lf(io(u.JS.Gu),new co),f=u.tE;return hi({},i,{cS:r.DT.cS,JS:so(u.JS.Gu),zo:u.zo,dS:u.dS,fE:f&&f.fE,cE:f&&f.cE,aft:s.wot,cft:s.got,fft:s.yot,mot:s.mot[0],pot:s.pot[0]})}}}(r.filter(qf)[0]),o=e?jf(t,i,e,Qf,Zf):[],s=u?jf(t,i,u,Bf,Vf):[],f=e&&o.length>0?function(t,n,r,i,e){switch(r.bBt){case Ao.Qyt:return ta(t,n,r,i,!1,e);case Ao.LBt:return ta(t,n,r,i,!0,e);case Ao.Kyt:return}}(t,i,e,o,n._Ct):void 0,a=u&&s.length>0?function(t,n,r,i){var e,u=Jf(t,n,r,Vf,i),o=!1,s=xf(r),f=u.CBt.Yp(u.NBt).Pb(u.SG.length-1);f.Qp()||s&&!(v.abs(s-1/f.xp())>10)?e=s||Mf:(o=!0,e=1/Ns(u.SG).xp());return hi({},u,{bBt:Ao.nLt,ZBt:o,JBt:!1===s,xot:e,EBt:ou.Gb(1/e,r.Hot),JS:r.JS,width:r.zo,height:r.dS,aft:r.aft,$Bt:r.cft,fft:r.fft,aCt:so(r.mot),cCt:so(r.pot),cE:r.cE,fE:r.fE})}(t,i,u,s):void 0,c=f?f.NBt:ou.Yb,h=a?a.NBt:ou.Yb,l=ou.Fb(c,h);return{wBt:void 0,Yot:es(s),pBt:l,audio:f,video:a}}function $f(t){var n=t.gyt;switch(n.oyt){case Rf.Wyt:return function(t){var n=t.dyt;if(n){var r=function(t,n){var r=Cu(t,n,5);31===r&&(r=32+Cu(t,n,6));var i,e=Cu(t,n,4);return 15===e&&(i=Cu(t,n,24)),{qyt:r,Gyt:e,jyt:i,Yyt:Cu(t,n,4)}}(io(n.uyt),new Fu);switch(r.qyt){case Df.Qyt:return Ao.Qyt;case Df.$yt:return Ao.LBt;case Df.tkt:return Ao.Kyt}}}(n);case Rf.Qyt:return Ao.Qyt;case Rf.Kyt:return Ao.Kyt}}function Zf(t,n,r,i,e){return hi({},Gf(t,0,r,i),{MBt:Mi(zf,function(t){return t===r.Hot}),xBt:r.Hot,UBt:r.oc})}function Qf(t){return pu}function Jf(t,n,r,i,e){var u=e[0],o=e[e.length-1],s=void 0!==o.rI.Oy?o.rI.Oy:function(t){return void 0!==t.xBt}(o.rI)?pu/o.rI.xBt:v.max((o.rI.i2-u.rI.i2)/e.length,Yf),f=o.rI.i2+s-u.rI.i2,a=e.some(function(t){return!t.rI.zot.Ap(t.rI.Xot)}),c=ou.Gb(s,r.Hot);return{gBt:0,SG:e,bBt:"",ABt:a,duration:f,TBt:f,SBt:ou.ub,xot:NaN,EBt:ou.jb,IBt:u.rI.i2,RBt:u.rI.Vot,NBt:u.rI.Xot,DBt:u.rI.zot,CBt:o.rI.Xot,PBt:o.rI.zot,OBt:o.rI.Xot.Um(c),BBt:o.rI.zot.Um(c)}}function ta(t,n,r,i,e,u){var o=Jf(0,0,r,0,i),s=Li(function(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(Ef(i,n))return i}}(n,uf.WA).ZT,function(t){return t.DT.cS===r.cS});if(s){var f,a,c,h,v=null!=(f=null!=(a=s.DT.lE)?a:null==(c=s.TE[0])?void 0:null==(h=c.CE[0])?void 0:h.Oy)?f:pu;return null===u&&(u=!e&&mu(i)),e=e||u,hi({},o,{bBt:Ao.Qyt,qBt:r.GS,xot:r.Hot,EBt:lu(o.duration/o.SG.length),XBt:r.Hot,zBt:v,WBt:r.oc,_Ct:u,FBt:e})}}var na=t;function ra(t,n,r){n={},r||(r="EMW0032"),na.postMessage({BLt:ef.mLt,OLt:t,xLt:n.message||r,ku:n.name,sc:n.stack,th:JSON.stringify(n)})}var ia,ea=[];function ua(t){for(var n=0;n<ea.length;n++){if(ea[n].JLt===t)return void Bi(ea,n)}}function oa(){ea.length?ia||(ia=u(sa,0)):(o(ia),ia=void 0)}function sa(){ia&&(o(ia),ia=void 0),ea.length&&function(t){var n,r=t.zLt,i=t.$Lt,e=t.JLt,u=t.tMt,o=[];if(r===rf.gLt){try{if(function(t){return xo(t,0)>0}(i))n=function(t,n){var r=Qs(t,n);if(t=null,r.audio&&r.audio.SG&&0!==r.audio.SG.length||(r.audio=null),r.wBt&&r.wBt.mBt&&0!==r.wBt.mBt.length?r.wBt.hyt=Ps.wa:r.wBt=null,null===r.audio&&null===r.wBt)return{pBt:ou.ub};var i=null;if(r.audio)if(Ls(r.audio,r.audio.SG,r.audio.RBt),r.audio.bBt===Ao.Qyt||r.audio.bBt===Ao.LBt){var e=r.audio.bBt===Ao.LBt,u=!e&&n._Ct;tf(i=yu(r.audio,e,u)),gu(i),i.FBt?i.bBt=Ao.LBt:i.bBt=Ao.Qyt}else r.audio.bBt===Ao.Kyt&&(tf(i=Du(r.audio)),Pu(i));return{audio:i,wBt:r.wBt,pBt:ou.ub}}(i,u);else if(function(t){return Xs(t)>=0}(i))n=$s(i,u);else{if(!function(t){return Pf.FT(io(uo(t,0,v.min(t.length,16384))))}(i))throw new a("Unknown media format");n=Kf(i,u)}}catch(t){return ra(e,t,"EMW0064")}try{var s=function(t,n){return{audio:t.audio?_f(t.audio,n):void 0,video:t.video?wf(t.video,n):void 0,wBt:t.wBt?(r=t.wBt,{gBt:r.gBt,zCt:r.zCt,Ug:r.Ug,hyt:r.hyt,yBt:r.yBt,kBt:r.kBt,mBt:r.mBt.map(hf),Vg:[]}):void 0,Yot:t.Yot?t.Yot.map(vf):t.Yot,pBt:t.pBt.eA()};var r}(n,o);return cf({BLt:ef.yLt,OLt:e,LLt:s},o)}catch(t){return ra(e,t,"EMW0060")}}ra(e,{},"EMW0072")}(ea.shift()),oa()}na.addEventListener("message",function(t){var n=t.data;switch(n.zLt){case rf.dLt:!function(t){for(var n=0;n<t.length;n++)ua(t[n])}(n.WLt);break;default:!function(t){ea.push(t)}(n)}oa()},!1),na.postMessage({$Ot:"2.92.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
36
+ !function(t){!function(){"use strict";var n,r=t.window,i=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,a=t.Error,c=t.TypeError,h=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,p=t.Uint8Array,w=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==r?r:"undefined"!=typeof global?global:void 0!==t?t:{});function m(t,n,r){return t(r={path:n,exports:{},require:function(t,n){return function(){throw new a("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&r.path)}},r.exports),r.exports}var y=m(function(s,f){s.exports=function t(r,i,e){function u(s,f){if(!i[s]){if(!r[s]){var c="function"==typeof n&&n;if(!f&&c)return c(s,!0);if(o)return o(s,!0);var h=new a("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var v=i[s]={exports:{}};r[s][0].call(v.exports,function(t){var n=r[s][1][t];return u(n||t)},v,v.exports,t,r,i,e)}return i[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,r){n.exports=function(t){var n=t.l;function r(t){var r=new n(t),i=r.promise();return r.setHowMany(1),r.setUnwrap(),r.init(),i}t.any=function(t){return r(t)},t.prototype.any=function(){return r(this)}}},{}],2:[function(t,n,r){var i;try{throw new a}catch(t){i=t}var e=t("./schedule"),o=t("./queue"),s=t("./util");function f(){this.g=!1,this.R=!1,this.N=new o(16),this.M=new o(16),this.F=!1,this.U=!0;var t=this;this.drainQueues=function(){t.G()},this.q=e}function c(t,n,r){this.N.push(t,n,r),this.j()}function h(t,n,r){this.M.push(t,n,r),this.j()}function v(t){this.M.Y(t),this.j()}function l(t){for(;t.length()>0;)_(t)}function _(t){var n=t.shift();if("function"!=typeof n)n.K();else{var r=t.shift(),i=t.shift();n.call(r,i)}}f.prototype.setScheduler=function(t){var n=this.q;return this.q=t,this.g=!0,n},f.prototype.hasCustomScheduler=function(){return this.g},f.prototype.enableTrampoline=function(){this.U=!0},f.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this.U=!1)},f.prototype.haveItemsQueued=function(){return this.R||this.F},f.prototype.fatalError=function(t,n){n?(process.stderr.write("Fatal "+(t instanceof a?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},f.prototype.throwLater=function(t,n){if(1===arguments.length&&(n=t,t=function(){throw n}),void 0!==u)u(function(){t(n)},0);else try{this.q(function(){t(n)})}catch(t){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,r){this.U?c.call(this,t,n,r):this.q(function(){u(function(){t.call(n,r)},100)})},f.prototype.invoke=function(t,n,r){this.U?h.call(this,t,n,r):this.q(function(){t.call(n,r)})},f.prototype.settlePromises=function(t){this.U?v.call(this,t):this.q(function(){t.K()})}):(f.prototype.invokeLater=c,f.prototype.invoke=h,f.prototype.settlePromises=v),f.prototype.G=function(){l(this.M),this.Z(),this.F=!0,l(this.N)},f.prototype.j=function(){this.R||(this.R=!0,this.q(this.drainQueues))},f.prototype.Z=function(){this.R=!1},n.exports=f,n.exports.firstLineError=i},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,r){n.exports=function(t,n,r,i){var e=!1,u=function(t,n){this.J(n)},o=function(t,n){n.promiseRejectionQueued=!0,n.bindingPromise.nt(u,u,null,this,t)},s=function(t,n){0==(50397184&this.ut)&&this.ot(n.target)},f=function(t,n){n.promiseRejectionQueued||this.J(t)};t.prototype.bind=function(u){e||(e=!0,t.prototype.at=i.propagateFromFunction(),t.prototype.ct=i.boundValueFunction());var a=r(u),c=new t(n);c.at(this,1);var h=this.ft();if(c.vt(a),a instanceof t){var v={promiseRejectionQueued:!1,promise:c,target:h,bindingPromise:a};h.nt(n,o,void 0,c,v),a.nt(s,f,void 0,c,v),c.dt(a)}else c.ot(h);return c},t.prototype.vt=function(t){void 0!==t?(this.ut=2097152|this.ut,this._t=t):this.ut=-2097153&this.ut},t.prototype.wt=function(){return 2097152==(2097152&this.ut)},t.bind=function(n,r){return t.resolve(r).bind(n)}}},{}],4:[function(t,n,r){var i;"undefined"!=typeof Promise&&(i=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=i)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,r){var i=h.create;if(i){var e=i(null),u=i(null);e[" size"]=u[" size"]=0}n.exports=function(n){var r=t("./util"),i=r.canEvaluate;function e(t){var i=this.pop(),e=function(t,i){var e;if(null!=t&&(e=t[i]),"function"!=typeof e){var u="Object "+r.classString(t)+" has no method '"+r.toString(i)+"'";throw new n.TypeError(u)}return e}(t,i);return e.apply(t,this)}function u(t){return t[this]}function o(t){var n=+this;return n<0&&(n=v.max(0,n+t.length)),t[n]}r.isIdentifier,n.prototype.call=function(t){var n=[].slice.call(arguments,1);return n.push(t),this.nt(e,void 0,void 0,n,void 0)},n.prototype.get=function(t){var n,r="number"==typeof t;if(r)n=o;else if(i){var e=(void 0)();n=null!==e?e:u}else n=u;return this.nt(n,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=u.tryCatch,s=u.errorObj,f=n.yt;n.prototype.break=n.prototype.cancel=function(){if(!e.cancellation())return this.kt("cancellation is disabled");for(var t=this,n=t;t.bt();){if(!t.At(n)){n.Tt()?n.St().cancel():n.Et();break}var r=t.It;if(null==r||!r.bt()){t.Tt()?t.St().cancel():t.Et();break}t.Tt()&&t.St().cancel(),t.Rt(),n=t,t=r}},n.prototype.Nt=function(){this.Dt--},n.prototype.Ct=function(){return void 0===this.Dt||this.Dt<=0},n.prototype.At=function(t){return t===this?(this.Dt=0,this.Pt(),!0):(this.Nt(),!!this.Ct()&&(this.Pt(),!0))},n.prototype.Et=function(){this.Ct()&&this.Ot()},n.prototype.Ot=function(){this.bt()&&(this.Bt(),f.invoke(this.Lt,this,void 0))},n.prototype.Lt=function(){this.xt()>0&&this.K()},n.prototype.Mt=function(){this.Ft=void 0},n.prototype.bt=function(){return this.isPending()&&!this.Ut()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.prototype.Ht=function(t,n){if(u.isArray(t))for(var r=0;r<t.length;++r)this.Ht(t[r],n);else if(void 0!==t)if("function"==typeof t){if(!n){var i=o(t).call(this.ct());i===s&&(this.Vt(i.e),f.throwLater(i.e))}}else t._resultCancelled(this)},n.prototype.Pt=function(){var t=this.Xt();this.Mt(),f.invoke(this.Ht,this,t)},n.prototype.zt=function(){this.bt()&&(this.Ht(this.Xt(),!0),this.Mt())},n.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=t("./es5").keys,e=r.tryCatch,u=r.errorObj;return function(t,o,s){return function(f){var c=s.ct();t:for(var h=0;h<t.length;++h){var v=t[h];if(v===a||null!=v&&v.prototype instanceof a){if(f instanceof v)return e(o).call(c,f)}else if("function"==typeof v){var l=e(v).call(c,f);if(l===u)return l;if(l)return e(o).call(c,f)}else if(r.isObject(f)){for(var _=i(v),d=0;d<_.length;++d){var p=_[d];if(v[p]!=f[p])continue t}return e(o).call(c,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,r){n.exports=function(t){var n=!1,r=[];function i(){this.Wt=new i.CapturedTrace(e())}function e(){var t=r.length-1;if(t>=0)return r[t]}return t.prototype.Gt=function(){},t.prototype.qt=function(){},t.prototype.jt=function(){return null},t.Yt=t.prototype.Yt=function(){},i.prototype.qt=function(){void 0!==this.Wt&&(this.Wt.Gt=null,r.push(this.Wt))},i.prototype.jt=function(){if(void 0!==this.Wt){var t=r.pop(),n=t.Gt;return t.Gt=null,n}return null},i.CapturedTrace=null,i.create=function(){if(n)return new i},i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var r=t.prototype.qt,u=t.prototype.jt,o=t.Yt,s=t.prototype.Yt,f=t.prototype.Gt;i.deactivateLongStackTraces=function(){t.prototype.qt=r,t.prototype.jt=u,t.Yt=o,t.prototype.Yt=s,t.prototype.Gt=f,n=!1},n=!0,t.prototype.qt=i.prototype.qt,t.prototype.jt=i.prototype.jt,t.Yt=t.prototype.Yt=e,t.prototype.Gt=function(){var t=this.Yt();t&&null==t.Gt&&(t.Gt=this)}},i}},{}],9:[function(t,n,r){n.exports=function(n,r){var e,o,s,f=n.Qt,v=n.yt,_=t("./errors").Warning,d=t("./util"),p=t("./es5"),w=d.canAttachTrace,m=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,y=/\((?:timers\.js):\d+:\d+\)/,g=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,E=null,S=null,b=!1,I=!(0==d.env("BLUEBIRD_DEBUG")),T=!(0==d.env("BLUEBIRD_WARNINGS")||!I&&!d.env("BLUEBIRD_WARNINGS")),k=!(0==d.env("BLUEBIRD_LONG_STACK_TRACES")||!I&&!d.env("BLUEBIRD_LONG_STACK_TRACES")),A=0!=d.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(T||!!d.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var t=this.ft();t.ut=-1048577&t.ut|524288},n.prototype.Kt=function(){if(0==(524288&this.ut)){this.Zt();var t=this;u(function(){t.Jt()},1)}},n.prototype.$t=function(){$("rejectionHandled",e,void 0,this)},n.prototype.in=function(){this.ut=268435456|this.ut},n.prototype.un=function(){return 0!=(268435456&this.ut)},n.prototype.Jt=function(){if(this.hn()){var t=this.cn();this.fn(),$("unhandledRejection",o,t,this)}},n.prototype.fn=function(){this.ut=262144|this.ut},n.prototype.vn=function(){this.ut=-262145&this.ut},n.prototype.dn=function(){return(262144&this.ut)>0},n.prototype.Zt=function(){this.ut=1048576|this.ut},n.prototype._n=function(){this.ut=-1048577&this.ut,this.dn()&&(this.vn(),this.$t())},n.prototype.hn=function(){return(1048576&this.ut)>0},n.prototype.kt=function(t,n,r){return q(t,n,r||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:d.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:d.domainBind(n,t):void 0};var N=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!et.longStackTraces&&Q()){var t=n.prototype.wn,i=n.prototype.Vt,e=n.prototype.yn;et.longStackTraces=!0,N=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");n.prototype.wn=t,n.prototype.Vt=i,n.prototype.yn=e,r.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.wn=W,n.prototype.Vt=V,n.prototype.yn=X,r.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&Q()};var R=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r={detail:n,cancelable:!0};p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason});var i=new CustomEvent(t.toLowerCase(),r);return!d.global.dispatchEvent(i)}}if("function"==typeof Event){var t=new Event("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r=new Event(t.toLowerCase(),{cancelable:!0});return r.detail=n,p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason}),!d.global.dispatchEvent(r)}}var t=i.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),d.global.dispatchEvent(t),function(t,n){var r=i.createEvent("CustomEvent");return r.initCustomEvent(t.toLowerCase(),!1,!0,n),!d.global.dispatchEvent(r)}}catch(t){}return function(){return!1}}(),D=d.isNode?function(){return process.emit.apply(process,arguments)}:d.global?function(t){var n="on"+t.toLowerCase(),r=d.global[n];return!!r&&(r.apply(d.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function P(t,n){return{promise:n}}var O={promiseCreated:P,promiseFulfilled:P,promiseRejected:P,promiseResolved:P,promiseCancelled:P,promiseChained:function(t,n,r){return{promise:n,child:r}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,r){return{reason:n,promise:r}},rejectionHandled:P},C=function(t){var n=!1;try{n=D.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var r=!1;try{r=R(t,O[t].apply(null,arguments))}catch(t){v.throwLater(t),r=!0}return r||n};function F(){return!1}function L(t,n,r){var i=this;try{t(n,r,function(t){if("function"!=typeof t)throw new c("onCancel must be a function, got: "+d.toString(t));i.pn(t)})}catch(t){return t}}function M(t){if(!this.bt())return this;var n=this.Xt();void 0!==n?d.isArray(n)?n.push(t):this.dt([n,t]):this.dt(t)}function x(){return this.Ft}function B(t){this.Ft=t}function j(){this.It=void 0,this.Ft=void 0}function U(t,n){if(0!=(1&n)){this.It=t;var r=t.Dt;void 0===r&&(r=0),t.Dt=r+1}0!=(2&n)&&t.wt()&&this.vt(t._t)}n.config=function(t){if("longStackTraces"in(t=h(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&N()),"warnings"in t){var r=t.warnings;et.warnings=!!r,A=et.warnings,d.isObject(r)&&"wForgottenReturn"in r&&(A=!!r.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new a("cannot enable cancellation after promises are in use");n.prototype.An=j,n.prototype.at=U,n.prototype.Xt=x,n.prototype.dt=B,n.prototype.pn=M,n.prototype.Tn=L,H=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.Sn=C):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.Sn=F)),n},n.prototype.Sn=F,n.prototype.Tn=function(t,n,r){try{t(n,r)}catch(t){return t}},n.prototype.Xt=function(){},n.prototype.dt=function(t){},n.prototype.pn=function(t){},n.prototype.wn=function(){},n.prototype.Vt=function(){},n.prototype.yn=function(){},n.prototype.An=function(){},n.prototype.at=function(t,n){};var H=function(t,n){0!=(2&n)&&t.wt()&&this.vt(t._t)};function G(){var t=this._t;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function W(){this.Wt=new rt(this.Yt())}function V(t,n){if(w(t)){var r=this.Wt;if(void 0!==r&&n&&(r=r.En),void 0!==r)r.attachExtraTrace(t);else if(!t.In){var i=Y(t);d.notEnumerableProp(t,"stack",i.message+"\n"+i.stack.join("\n")),d.notEnumerableProp(t,"In",!0)}}}function X(){this.Wt=void 0}function q(t,r,i){if(et.warnings){var e,u=new _(t);if(r)i.Vt(u);else if(et.longStackTraces&&(e=n.Yt()))e.attachExtraTrace(u);else{var o=Y(u);u.stack=o.message+"\n"+o.stack.join("\n")}C("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],r=0;r<t.length;++r){var i=t[r],e=" (No stack trace)"===i||E.test(i),u=e&&J(i);e&&!u&&(b&&" "!==i.charAt(0)&&(i=" "+i),n.push(i))}return n}function Y(t){var n=t.stack,r=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),r=0;r<n.length;++r){var i=n[r];if(" (No stack trace)"===i||E.test(i))break}return r>0&&"SyntaxError"!=t.name&&(n=n.slice(r)),n}(t):[" (No stack trace)"],{message:r,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,r){if("undefined"!=typeof console){var i;if(d.isObject(t)){var e=t.stack;i=n+S(e,t)}else i=n+String(t);"function"==typeof s?s(i,r):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(i)}}function $(t,n,r,i){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(i):n(r,i))}catch(t){v.throwLater(t)}"unhandledRejection"===t?C(t,r,i)||e||K(r,"Unhandled rejection "):C(t,i)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():d.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var r=JSON.stringify(t);n=r}catch(t){}0===n.length&&(n="(empty array)")}return"(<"+function(t){return t.length<41?t:t.substr(0,38)+"..."}(n)+">, no stack trace)"}function Q(){return"function"==typeof it}var J=function(){return!1},tt=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function nt(t){var n=t.match(tt);if(n)return{fileName:n[1],line:l(n[2],10)}}function rt(t){this.En=t,this.Rn=0;var n=this.xt=1+(void 0===t?0:t.xt);it(this,rt),n>32&&this.uncycle()}d.inherits(rt,a),r.CapturedTrace=rt,rt.prototype.uncycle=function(){var t=this.xt;if(!(t<2)){for(var n=[],r={},i=0,e=this;void 0!==e;++i)n.push(e),e=e.En;for(var i=(t=this.xt=i)-1;i>=0;--i){var u=n[i].stack;void 0===r[u]&&(r[u]=i)}for(var i=0;i<t;++i){var o=n[i].stack,s=r[o];if(void 0!==s&&s!==i){s>0&&(n[s-1].En=void 0,n[s-1].xt=1),n[i].En=void 0,n[i].xt=1;var f=i>0?n[i-1]:this;s<t-1?(f.En=n[s+1],f.En.uncycle(),f.xt=f.En.xt+1):(f.En=void 0,f.xt=1);for(var a=f.xt+1,c=i-2;c>=0;--c)n[c].xt=a,a++;return}}}},rt.prototype.attachExtraTrace=function(t){if(!t.In){this.uncycle();for(var n=Y(t),r=n.message,i=[n.stack],e=this;void 0!==e;)i.push(z(e.stack.split("\n"))),e=e.En;!function(t){for(var n=t[0],r=1;r<t.length;++r){for(var i=t[r],e=n.length-1,u=n[e],o=-1,s=i.length-1;s>=0;--s)if(i[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=i[s];if(n[e]!==f)break;n.pop(),e--}n=i}}(i),function(t){for(var n=0;n<t.length;++n)(0===t[n].length||n+1<t.length&&t[n][0]===t[n+1][0])&&(t.splice(n,1),n--)}(i),d.notEnumerableProp(t,"stack",function(t,n){for(var r=0;r<n.length-1;++r)n[r].push("From previous event:"),n[r]=n[r].join("\n");return r<n.length&&(n[r]=n[r].join("\n")),t+"\n"+n.join("\n")}(r,i)),d.notEnumerableProp(t,"In",!0)}};var it=function(){var t=/^\s*at\s*/,n=function(t,n){return"string"==typeof t?t:void 0!==n.name&&void 0!==n.message?n.toString():Z(n)};if("number"==typeof a.stackTraceLimit&&"function"==typeof a.captureStackTrace){a.stackTraceLimit+=6,E=t,S=n;var r=a.captureStackTrace;return J=function(t){return m.test(t)},function(t,n){a.stackTraceLimit+=6,r(t,n),a.stackTraceLimit-=6}}var i,e=new a;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return E=/@/,S=n,b=!0,function(t){t.stack=(new a).stack};try{throw new a}catch(t){i="stack"in t}return"stack"in e||!i||"number"!=typeof a.stackTraceLimit?(S=function(t,n){return"string"==typeof t?t:"object"!=typeof n&&"function"!=typeof n||void 0===n.name||void 0===n.message?Z(n):n.toString()},null):(E=t,S=n,function(t){a.stackTraceLimit+=6;try{throw new a}catch(n){t.stack=n.stack}a.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},d.isNode&&process.stderr.isTTY?s=function(t,n){var r=n?"\x1b[33m":"\x1b[31m";console.warn(r+t+"\x1b[0m\n")}:d.isNode||"string"!=typeof(new a).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:T,longStackTraces:!1,cancellation:!1,monitoring:!1};return k&&n.longStackTraces(),{longStackTraces:function(){return et.longStackTraces},warnings:function(){return et.warnings},cancellation:function(){return et.cancellation},monitoring:function(){return et.monitoring},propagateFromFunction:function(){return H},boundValueFunction:function(){return G},checkForgottenReturns:function(t,n,r,i,e){if(void 0===t&&null!==n&&A){if(void 0!==e&&e.un())return;if(0==(65535&i.ut))return;r&&(r+=" ");var u="",o="";if(n.Wt){for(var s=n.Wt.stack.split("\n"),f=z(s),a=f.length-1;a>=0;--a){var c=f[a];if(!y.test(c)){var h=c.match(g);h&&(u="at "+h[1]+":"+h[2]+":"+h[3]+" ");break}}if(f.length>0)for(var v=f[0],a=0;a<s.length;++a)if(s[a]===v){a>0&&(o="\n"+s[a-1]);break}}var l="a promise was created in a "+r+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;i.kt(l,!0,n)}},setBounds:function(t,n){if(Q()){for(var r,i,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var a=nt(e[f]);if(a){r=a.fileName,o=a.line;break}}for(var f=0;f<u.length;++f){var a=nt(u[f]);if(a){i=a.fileName,s=a.line;break}}o<0||s<0||!r||!i||r!==i||o>=s||(J=function(t){if(m.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===r&&o<=n.line&&n.line<=s)})}},warn:q,deprecated:function(t,n){var r=t+" is deprecated and will be removed in a future version.";return n&&(r+=" Use "+n+" instead."),q(r)},CapturedTrace:rt,fireDomEvent:R,fireGlobalEvent:D}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,r){n.exports=function(t){function n(){return this.value}function r(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this.nt(n,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.nt(r,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.nt(void 0,r,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this.nt(void 0,n,void 0,{value:r},void 0);var i=arguments[1];return i instanceof t&&i.suppressUnhandledRejections(),this.caught(r,function(){return i})}}},{}],11:[function(t,n,r){n.exports=function(t,n){var r=t.reduce,i=t.all;function e(){return i(this)}t.prototype.each=function(t){return r(this,t,n,0).nt(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,i){return r(t,i,n,0).nt(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,i){return r(t,i,n,n)}}},{}],12:[function(t,n,r){var i,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,h=s.notEnumerableProp;function v(t,n){function r(i){if(!(this instanceof r))return new r(i);h(this,"message","string"==typeof i?i:n),h(this,"name",t),a.captureStackTrace?a.captureStackTrace(this,this.constructor):a.call(this)}return f(r,a),r}var l=v("Warning","warning"),_=v("CancellationError","cancellation error"),d=v("TimeoutError","timeout error"),p=v("AggregateError","aggregate error");try{i=c,e=RangeError}catch(t){i=v("TypeError","type error"),e=v("RangeError","range error")}for(var w="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<w.length;++m)"function"==typeof Array.prototype[w[m]]&&(p.prototype[w[m]]=Array.prototype[w[m]]);u.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var y=0;function g(t){if(!(this instanceof g))return new g(t);h(this,"name","OperationalError"),h(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof a?(h(this,"message",t.message),h(this,"stack",t.stack)):a.captureStackTrace&&a.captureStackTrace(this,this.constructor)}p.prototype.toString=function(){var t=Array(4*y+1).join(" "),n="\n"+t+"AggregateError of:\n";y++,t=Array(4*y+1).join(" ");for(var r=0;r<this.length;++r){for(var i=this[r]===this?"[Circular AggregateError]":this[r]+"",e=i.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];i=e.join("\n"),n+=i+"\n"}return y--,n},f(g,a);var E=a.Nn;E||(E=o({CancellationError:_,TimeoutError:d,OperationalError:g,RejectionError:g,AggregateError:p}),u.defineProperty(a,"Nn",{value:E,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:a,TypeError:i,RangeError:e,CancellationError:E.CancellationError,OperationalError:E.OperationalError,TimeoutError:E.TimeoutError,AggregateError:E.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,r){var i=function(){return void 0===this}();if(i)n.exports={freeze:h.freeze,defineProperty:h.defineProperty,getDescriptor:h.getOwnPropertyDescriptor,keys:h.keys,names:h.getOwnPropertyNames,getPrototypeOf:h.getPrototypeOf,isArray:Array.isArray,isES5:i,propertyIsWritable:function(t,n){var r=h.getOwnPropertyDescriptor(t,n);return!(r&&!r.writable&&!r.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var r in t)e.call(t,r)&&n.push(r);return n};n.exports={isArray:function(t){try{return"[object Array]"===u.call(t)}catch(t){return!1}},keys:s,names:s,defineProperty:function(t,n,r){return t[n]=r.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return h(t).constructor.prototype}catch(t){return o}},isES5:i,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,r){n.exports=function(t,n){var r=t.map;t.prototype.filter=function(t,i){return r(this,t,i,n)},t.filter=function(t,i,e){return r(t,i,e,n)}}},{}],15:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(i);function f(t,n,r){this.promise=t,this.type=n,this.handler=r,this.called=!1,this.cancelPromise=null}function a(t){this.finallyHandler=t}function h(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.J(n):t.cancelPromise.Ot(),t.cancelPromise=null,!0)}function v(){return _.call(this,this.promise.ft().cn())}function l(t){if(!h(this,t))return o.e=t,o}function _(t){var e=this.promise,s=this.handler;if(!this.called){this.called=!0;var f=this.isFinallyHandler()?s.call(e.ct()):s.call(e.ct(),t);if(f===i)return f;if(void 0!==f){e.in();var c=r(f,e);if(c instanceof n){if(null!=this.cancelPromise){if(c.Ut()){var _=new u("late cancellation observer");return e.Vt(_),o.e=_,o}c.isPending()&&c.pn(new a(this))}return c.nt(v,l,void 0,this,void 0)}}}return e.isRejected()?(h(this),o.e=t,o):(h(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},a.prototype._resultCancelled=function(){h(this.finallyHandler)},n.prototype.Dn=function(t,n,r,i){return"function"!=typeof t?this.then():this.nt(r,i,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Dn(t,0,_,_)},n.prototype.tap=function(t){return this.Dn(t,1,_)},n.prototype.tapCatch=function(t){var r=arguments.length;if(1===r)return this.Dn(t,1,void 0,_);var i,u=new Array(r-1),o=0;for(i=0;i<r-1;++i){var f=arguments[i];if(!e.isObject(f))return n.reject(new c("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var a=arguments[i];return this.Dn(s(u,a,this),1,void 0,_)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./errors"),f=s.TypeError,c=t("./util"),v=c.errorObj,l=c.tryCatch,_=[];function d(t,r,e,u){if(o.cancellation()){var s=new n(i),f=this.Cn=new n(i);this.Pn=s.lastly(function(){return f}),s.wn(),s.dt(this)}else{var a=this.Pn=new n(i);a.wn()}this.On=u,this.Bn=t,this.Ln=r,this.xn=void 0,this.Mn="function"==typeof e?[e].concat(_):_,this.Fn=null,this.Un=!1}c.inherits(d,u),d.prototype.Hn=function(){return null===this.Pn},d.prototype.Vn=function(){this.Pn=this.xn=null,o.cancellation()&&null!==this.Cn&&(this.Cn.Xn(),this.Cn=null)},d.prototype.zn=function(){if(!this.Hn()){var t,r=void 0!==this.xn.return;if(r)this.Pn.qt(),t=l(this.xn.return).call(this.xn,void 0),this.Pn.jt();else{var i=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=i,this.Pn.Vt(i),this.Pn.qt(),t=l(this.xn.throw).call(this.xn,i),this.Pn.jt()}this.Un=!0,this.Fn=null,this.Wn(t)}},d.prototype.Gn=function(t){this.Fn=null,this.Pn.qt();var n=l(this.xn.next).call(this.xn,t);this.Pn.jt(),this.Wn(n)},d.prototype.qn=function(t){this.Fn=null,this.Pn.Vt(t),this.Pn.qt();var n=l(this.xn.throw).call(this.xn,t);this.Pn.jt(),this.Wn(n)},d.prototype._resultCancelled=function(){if(this.Fn instanceof n){var t=this.Fn;this.Fn=null,t.cancel()}},d.prototype.promise=function(){return this.Pn},d.prototype.jn=function(){this.xn=this.Bn.call(this.Ln),this.Ln=this.Bn=void 0,this.Gn(void 0)},d.prototype.Wn=function(t){var r=this.Pn;if(t===v)return this.Vn(),this.Un?r.cancel():r.Yn(t.e,!1);var i=t.value;if(!0===t.done)return this.Vn(),this.Un?r.cancel():r.ot(i);var u=e(i,this.Pn);if(u instanceof n||null!==(u=function(t,r,i){for(var u=0;u<r.length;++u){i.qt();var o=l(r[u])(t);if(i.jt(),o===v){i.qt();var s=n.reject(v.e);return i.jt(),s}var f=e(o,i);if(f instanceof n)return f}return null}(u,this.Mn,this.Pn))){var o=(u=u.ft()).ut;0==(50397184&o)?(this.Fn=u,u.Qn(this,null)):0!=(33554432&o)?n.yt.invoke(this.Gn,this,u.Kn()):0!=(16777216&o)?n.yt.invoke(this.qn,this,u.Zn()):this.zn()}else this.qn(new f("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(i))+"From coroutine:\n"+this.On.split("\n").slice(1,-7).join("\n")))},n.coroutine=function(t,n){if("function"!=typeof t)throw new f("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=h(n).yieldHandler,i=d,e=(new a).stack;return function(){var n=t.apply(this,arguments),u=new i(void 0,void 0,r,e),o=u.promise();return u.xn=n,u.Gn(void 0),o}},n.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new f("expecting a function but got "+c.classString(t));_.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return r("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=new d(t,this),e=i.promise();return i.jn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./util");s.canEvaluate,s.tryCatch,s.errorObj,n.join=function(){var t,n=arguments.length-1;n>0&&"function"==typeof arguments[n]&&(t=arguments[n]);var i=[].slice.call(arguments);t&&i.pop();var e=new r(i).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Qt,f=t("./util"),a=f.tryCatch,h=f.errorObj,v=n.yt;function l(t,n,r,i){this.constructor$(t),this.Pn.wn();var e=s();this.Jn=null===e?n:f.domainBind(e,n),this.$n=i===u?new Array(this.length()):null,this.ni=r,this.ri=0,this.ei=[],v.invoke(this.oi,this,void 0)}function _(t,r,e,u){if("function"!=typeof r)return i("expecting a function but got "+f.classString(r));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new c("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new c("'concurrency' must be a number but it is "+f.classString(e.concurrency)));o=e.concurrency}return o="number"==typeof o&&isFinite(o)&&o>=1?o:0,new l(t,r,o,u).promise()}f.inherits(l,r),l.prototype.oi=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Gn=function(t,r){var i=this.ai,u=this.length(),s=this.$n,f=this.ni;if(r<0){if(i[r=-1*r-1]=t,f>=1&&(this.ri--,this.ci(),this.Hn()))return!0}else{if(f>=1&&this.ri>=f)return i[r]=t,this.ei.push(r),!1;null!==s&&(s[r]=t);var c=this.Pn,v=this.Jn,l=c.ct();c.qt();var _=a(v).call(l,t,r,u),d=c.jt();if(o.checkForgottenReturns(_,d,null!==s?"Promise.filter":"Promise.map",c),_===h)return this.J(_.e),!0;var p=e(_,this.Pn);if(p instanceof n){var w=(p=p.ft()).ut;if(0==(50397184&w))return f>=1&&this.ri++,i[r]=p,p.Qn(this,-1*(r+1)),!1;if(0==(33554432&w))return 0!=(16777216&w)?(this.J(p.Zn()),!0):(this.Ot(),!0);_=p.Kn()}i[r]=_}var m=++this.di;return m>=u&&(null!==s?this._i(i,s):this.gi(i),!0)},l.prototype.ci=function(){for(var t=this.ei,n=this.ni,r=this.ai;t.length>0&&this.ri<n;){if(this.Hn())return;var i=t.pop();this.Gn(r[i],i)}},l.prototype._i=function(t,n){for(var r=n.length,i=new Array(r),e=0,u=0;u<r;++u)t[u]&&(i[e++]=n[u]);i.length=e,this.gi(i)},l.prototype.preservedValues=function(){return this.$n},n.prototype.map=function(t,n){return _(this,t,n,null)},n.map=function(t,n,r,i){return _(t,n,r,i)}}},{"./util":36}],19:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util"),s=o.tryCatch;n.method=function(t){if("function"!=typeof t)throw new n.TypeError("expecting a function but got "+o.classString(t));return function(){var i=new n(r);i.wn(),i.qt();var e=s(t).apply(this,arguments),o=i.jt();return u.checkForgottenReturns(e,o,"Promise.method",i),i.wi(e),i}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var i,f=new n(r);if(f.wn(),f.qt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var a=arguments[1],c=arguments[2];i=o.isArray(a)?s(t).apply(c,a):s(t).call(c,a)}else i=s(t)();var h=f.jt();return u.checkForgottenReturns(i,h,"Promise.try",f),f.wi(i),f},n.prototype.wi=function(t){t===o.errorObj?this.Yn(t.e,!1):this.ot(t,!0)}}},{"./util":36}],20:[function(t,n,r){var i=t("./util"),e=i.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function c(t){var n;if(function(t){return t instanceof a&&s.getPrototypeOf(t)===a.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var r=s.keys(t),e=0;e<r.length;++e){var u=r[e];f.test(u)||(n[u]=t[u])}return n}return i.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(r,i){if(null!==t){if(r){var u=c(e(r));t.Vt(u),t.J(u)}else if(n){var o=[].slice.call(arguments,1);t.Xn(o)}else t.Xn(i);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=n.yt,e=r.tryCatch,u=r.errorObj;function o(t,n){if(!r.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.ct(),[null].concat(t));o===u&&i.throwLater(o.e)}function s(t,n){var r=this.ct(),o=void 0===t?e(n).call(r,null):e(n).call(r,null,t);o===u&&i.throwLater(o.e)}function f(t,n){if(!t){var r=new a(t+"");r.cause=t,t=r}var o=e(n).call(this.ct(),t);o===u&&i.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var r=s;void 0!==n&&h(n).spread&&(r=o),this.nt(r,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,r){n.exports=function(){var r=function(){return new _("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},i=function(){return new R.PromiseInspection(this.ft())},e=function(t){return R.reject(new _(t))};function u(){}var o,s={},f=t("./util");o=f.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},f.notEnumerableProp(R,"Qt",o);var a=t("./es5"),c=t("./async"),v=new c;a.defineProperty(R,"yt",{value:v});var l=t("./errors"),_=R.TypeError=l.TypeError;R.RangeError=l.RangeError;var d=R.CancellationError=l.CancellationError;R.TimeoutError=l.TimeoutError,R.OperationalError=l.OperationalError,R.RejectionError=l.OperationalError,R.AggregateError=l.AggregateError;var p=function(){},w={},m={},y=t("./thenables")(R,p),g=t("./promise_array")(R,p,y,e,u),E=t("./context")(R),S=E.create,b=t("./debuggability")(R,E),I=(b.CapturedTrace,t("./finally")(R,y,m)),T=t("./catch_filter")(m),k=t("./nodeback"),A=f.errorObj,N=f.tryCatch;function R(t){t!==p&&function(t,n){if(null==t||t.constructor!==R)throw new _("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new _("expecting a function but got "+f.classString(n))}(this,t),this.ut=0,this.Ai=void 0,this.Ti=void 0,this.Si=void 0,this.Ei=void 0,this.Ii(t),this.Gt(),this.Sn("promiseCreated",this)}function D(t){this.promise.ot(t)}function P(t){this.promise.Yn(t,!1)}function O(t){var n=new R(p);n.Ai=t,n.Ti=t,n.Si=t,n.Ei=t}return R.prototype.toString=function(){return"[object Promise]"},R.prototype.caught=R.prototype.catch=function(t){var n=arguments.length;if(n>1){var r,i=new Array(n-1),u=0;for(r=0;r<n-1;++r){var o=arguments[r];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));i[u++]=o}if(i.length=u,"function"!=typeof(t=arguments[r]))throw new _("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,T(i,t,this))}return this.then(void 0,t)},R.prototype.reflect=function(){return this.nt(i,i,void 0,this,void 0)},R.prototype.then=function(t,n){if(b.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var r=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(r+=", "+f.classString(n)),this.kt(r)}return this.nt(t,n,void 0,void 0,void 0)},R.prototype.done=function(t,n){var r=this.nt(t,n,void 0,void 0,void 0);r.Ri()},R.prototype.spread=function(t){return"function"!=typeof t?e("expecting a function but got "+f.classString(t)):this.all().nt(t,void 0,void 0,w,void 0)},R.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},R.prototype.all=function(){return arguments.length>0&&this.kt(".all() was passed arguments but it does not take any"),new g(this).promise()},R.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},R.getNewLibraryCopy=n.exports,R.is=function(t){return t instanceof R},R.fromNode=R.fromCallback=function(t){var n=new R(p);n.wn();var r=arguments.length>1&&!!h(arguments[1]).multiArgs,i=N(t)(k(n,r));return i===A&&n.Yn(i.e,!0),n.Ni()||n.Di(),n},R.all=function(t){return new g(t).promise()},R.cast=function(t){var n=y(t);return n instanceof R||((n=new R(p)).wn(),n.Ci(),n.Ti=t),n},R.resolve=R.fulfilled=R.cast,R.reject=R.rejected=function(t){var n=new R(p);return n.wn(),n.Yn(t,!0),n},R.setScheduler=function(t){if("function"!=typeof t)throw new _("expecting a function but got "+f.classString(t));return v.setScheduler(t)},R.prototype.nt=function(t,n,r,i,e){var u=void 0!==e,s=u?e:new R(p),a=this.ft(),c=a.ut;u||(s.at(this,3),s.wn(),void 0===i&&0!=(2097152&this.ut)&&(i=0!=(50397184&c)?this.ct():a===this?void 0:this._t),this.Sn("promiseChained",this,s));var h=o();if(0!=(50397184&c)){var l,_,w=a.Pi;0!=(33554432&c)?(_=a.Ti,l=t):0!=(16777216&c)?(_=a.Ai,l=n,a._n()):(w=a.Oi,_=new d("late cancellation observer"),a.Vt(_),l=n),v.invoke(w,a,{handler:null===h?l:"function"==typeof l&&f.domainBind(h,l),promise:s,receiver:i,value:_})}else a.Bi(t,n,s,i,h);return s},R.prototype.xt=function(){return 65535&this.ut},R.prototype.Ni=function(){return 0!=(117506048&this.ut)},R.prototype.Tt=function(){return 67108864==(67108864&this.ut)},R.prototype.Li=function(t){this.ut=-65536&this.ut|65535&t},R.prototype.Ci=function(){this.ut=33554432|this.ut,this.Sn("promiseFulfilled",this)},R.prototype.xi=function(){this.ut=16777216|this.ut,this.Sn("promiseRejected",this)},R.prototype.Mi=function(){this.ut=67108864|this.ut,this.Sn("promiseResolved",this)},R.prototype.Ri=function(){this.ut=4194304|this.ut},R.prototype.Fi=function(){return(4194304&this.ut)>0},R.prototype.Ui=function(){this.ut=-65537&this.ut},R.prototype.Bt=function(){this.ut=65536|this.ut,this.Sn("promiseCancelled",this)},R.prototype.Rt=function(){this.ut=8388608|this.ut},R.prototype.Di=function(){v.hasCustomScheduler()||(this.ut=134217728|this.ut)},R.prototype.Hi=function(t){var n=0===t?this.Ei:this[4*t-4+3];if(n!==s)return void 0===n&&this.wt()?this.ct():n},R.prototype.Vi=function(t){return this[4*t-4+2]},R.prototype.Xi=function(t){return this[4*t-4+0]},R.prototype.zi=function(t){return this[4*t-4+1]},R.prototype.ct=function(){},R.prototype.Wi=function(t){t.ut;var n=t.Ai,r=t.Ti,i=t.Si,e=t.Hi(0);void 0===e&&(e=s),this.Bi(n,r,i,e,null)},R.prototype.Gi=function(t,n){var r=t.Xi(n),i=t.zi(n),e=t.Vi(n),u=t.Hi(n);void 0===u&&(u=s),this.Bi(r,i,e,u,null)},R.prototype.Bi=function(t,n,r,i,e){var u=this.xt();if(u>=65531&&(u=0,this.Li(0)),0===u)this.Si=r,this.Ei=i,"function"==typeof t&&(this.Ai=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this.Ti=null===e?n:f.domainBind(e,n));else{var o=4*u-4;this[o+2]=r,this[o+3]=i,"function"==typeof t&&(this[o+0]=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this[o+1]=null===e?n:f.domainBind(e,n))}return this.Li(u+1),u},R.prototype.Qn=function(t,n){this.Bi(void 0,void 0,n,t,null)},R.prototype.ot=function(t,n){if(0==(117506048&this.ut)){if(t===this)return this.Yn(r(),!1);var i=y(t,this);if(!(i instanceof R))return this.Xn(t);n&&this.at(i,2);var e=i.ft();if(e!==this){var u=e.ut;if(0==(50397184&u)){var o=this.xt();o>0&&e.Wi(this);for(var s=1;s<o;++s)e.Gi(this,s);this.Mi(),this.Li(0),this.qi(e)}else if(0!=(33554432&u))this.Xn(e.Kn());else if(0!=(16777216&u))this.J(e.Zn());else{var f=new d("late cancellation observer");e.Vt(f),this.J(f)}}else this.J(r())}},R.prototype.Yn=function(t,n,r){var i=f.ensureErrorObject(t),e=i===t;if(!e&&!r&&b.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.kt(u,!0)}this.Vt(i,!!n&&e),this.J(t)},R.prototype.Ii=function(t){if(t!==p){var n=this;this.wn(),this.qt();var r=!0,i=this.Tn(t,function(t){n.ot(t)},function(t){n.Yn(t,r)});r=!1,this.jt(),void 0!==i&&n.Yn(i,!0)}},R.prototype.ji=function(t,n,r,i){var e=i.ut;if(0==(65536&e)){var u;i.qt(),n===w?r&&"number"==typeof r.length?u=N(t).apply(this.ct(),r):(u=A).e=new _("cannot .spread() a non-array: "+f.classString(r)):u=N(t).call(n,r);var o=i.jt();0==(65536&(e=i.ut))&&(u===m?i.J(r):u===A?i.Yn(u.e,!1):(b.checkForgottenReturns(u,o,"",i,this),i.ot(u)))}},R.prototype.ft=function(){for(var t=this;t.Tt();)t=t.St();return t},R.prototype.St=function(){return this.Ti},R.prototype.qi=function(t){this.Ti=t},R.prototype.Yi=function(t,n,r,e){var o=t instanceof R,s=this.ut,f=0!=(134217728&s);0!=(65536&s)?(o&&t.zt(),r instanceof I&&r.isFinallyHandler()?(r.cancelPromise=t,N(n).call(r,e)===A&&t.J(A.e)):n===i?t.Xn(i.call(r)):r instanceof u?r.zn(t):o||t instanceof g?t.Ot():r.cancel()):"function"==typeof n?o?(f&&t.Di(),this.ji(n,r,e,t)):n.call(r,e,t):r instanceof u?r.Hn()||(0!=(33554432&s)?r.Gn(e,t):r.qn(e,t)):o&&(f&&t.Di(),0!=(33554432&s)?t.Xn(e):t.J(e))},R.prototype.Oi=function(t){var n=t.handler,r=t.promise,i=t.receiver,e=t.value;"function"==typeof n?r instanceof R?this.ji(n,i,e,r):n.call(i,e,r):r instanceof R&&r.J(e)},R.prototype.Pi=function(t){this.Yi(t.promise,t.handler,t.receiver,t.value)},R.prototype.Qi=function(t,n,r){var i=this.Si,e=this.Hi(0);this.Si=void 0,this.Ei=void 0,this.Yi(i,t,e,n)},R.prototype.Ki=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},R.prototype.Xn=function(t){var n=this.ut;if(!((117506048&n)>>>16)){if(t===this){var i=r();return this.Vt(i),this.J(i)}this.Ci(),this.Ti=t,(65535&n)>0&&(0!=(134217728&n)?this.K():v.settlePromises(this),this.yn())}},R.prototype.J=function(t){var n=this.ut;if(!((117506048&n)>>>16)){if(this.xi(),this.Ai=t,this.Fi())return v.fatalError(t,f.isNode);(65535&n)>0?v.settlePromises(this):this.Kt()}},R.prototype.Zi=function(t,n){for(var r=1;r<t;r++){var i=this.Xi(r),e=this.Vi(r),u=this.Hi(r);this.Ki(r),this.Yi(e,i,u,n)}},R.prototype.Ji=function(t,n){for(var r=1;r<t;r++){var i=this.zi(r),e=this.Vi(r),u=this.Hi(r);this.Ki(r),this.Yi(e,i,u,n)}},R.prototype.K=function(){var t=this.ut,n=65535&t;if(n>0){if(0!=(16842752&t)){var r=this.Ai;this.Qi(this.Ti,r,t),this.Ji(n,r)}else{var i=this.Ti;this.Qi(this.Ai,i,t),this.Zi(n,i)}this.Li(0)}this.An()},R.prototype.cn=function(){var t=this.ut;return 0!=(33554432&t)?this.Ti:0!=(16777216&t)?this.Ai:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&a.defineProperty(R.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),R.defer=R.pending=function(){b.deprecated("Promise.defer","new Promise");var t=new R(p);return{promise:t,resolve:D,reject:P}},f.notEnumerableProp(R,"$i",r),t("./method")(R,p,y,e,b),t("./bind")(R,p,y,b),t("./cancel")(R,g,e,b),t("./direct_resolve")(R),t("./synchronous_inspection")(R),t("./join")(R,g,y,p,v,o),R.Promise=R,R.version="3.5.5",t("./call_get.js")(R),t("./generators.js")(R,e,p,y,u,b),t("./map.js")(R,g,e,y,p,b),t("./nodeify.js")(R),t("./promisify.js")(R,p),t("./props.js")(R,g,y,e),t("./race.js")(R,p,y,e),t("./reduce.js")(R,g,e,y,p,b),t("./settle.js")(R,g,b),t("./some.js")(R,g,e),t("./timers.js")(R,p,b),t("./using.js")(R,e,y,S,p,b),t("./any.js")(R),t("./each.js")(R,p),t("./filter.js")(R,p),f.toFastProperties(R),f.toFastProperties(R.prototype),O({a:1}),O({b:2}),O({c:3}),O(1),O(function(){}),O(void 0),O(!1),O(new R(p)),b.setBounds(c.firstLineError,f.lastLineError),R}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util");function s(t){var i=this.Pn=new n(r);t instanceof n&&i.at(t,3),i.dt(this),this.ai=t,this.xt=0,this.di=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,u),s.prototype.length=function(){return this.xt},s.prototype.promise=function(){return this.Pn},s.prototype._init=function t(r,u){var s=i(this.ai,this.Pn);if(s instanceof n){var f=(s=s.ft()).ut;if(this.ai=s,0==(50397184&f))return this.Pn.Di(),s.nt(t,this.J,void 0,this,u);if(0==(33554432&f))return 0!=(16777216&f)?this.J(s.Zn()):this.Ot();s=s.Kn()}if(null!==(s=o.asArray(s)))0!==s.length?this.ir(s):-5===u?this.rr():this.gi(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(u));else{var a=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.Pn.Yn(a,!1)}},s.prototype.ir=function(t){var r=this.getActualLength(t.length);this.xt=r,this.ai=this.shouldCopyValues()?new Array(r):this.ai;for(var e=this.Pn,u=!1,o=null,s=0;s<r;++s){var f=i(t[s],e);f instanceof n?(f=f.ft(),o=f.ut):o=null,u?null!==o&&f.suppressUnhandledRejections():null!==o?0==(50397184&o)?(f.Qn(this,s),this.ai[s]=f):u=0!=(33554432&o)?this.Gn(f.Kn(),s):0!=(16777216&o)?this.qn(f.Zn(),s):this.zn(s):u=this.Gn(f,s)}u||e.Di()},s.prototype.Hn=function(){return null===this.ai},s.prototype.gi=function(t){this.ai=null,this.Pn.Xn(t)},s.prototype.Ot=function(){!this.Hn()&&this.Pn.bt()&&(this.ai=null,this.Pn.Ot())},s.prototype.J=function(t){this.ai=null,this.Pn.Yn(t,!1)},s.prototype.Gn=function(t,n){this.ai[n]=t;var r=++this.di;return r>=this.xt&&(this.gi(this.ai),!0)},s.prototype.zn=function(){return this.Ot(),!0},s.prototype.qn=function(t){return this.di++,this.J(t),!0},s.prototype._resultCancelled=function(){if(!this.Hn()){var t=this.ai;if(this.Ot(),t instanceof n)t.cancel();else for(var r=0;r<t.length;++r)t[r]instanceof n&&t[r].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,r){n.exports=function(n,r){var i={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,a=t("./errors").TypeError,c={dr:!0},v=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","dr"].join("|")+")$"),l=function(t){return e.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function _(t){return!v.test(t)}function d(t){try{return!0===t.dr}catch(t){return!1}}function p(t,n,r){var i=e.getDataPropertyOrDefault(t,n+r,c);return!!i&&d(i)}function w(t,n,r,i){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],c=t[f],h=i===l||l(f);"function"!=typeof c||d(c)||p(t,f,n)||!i(f,c,t,h)||o.push(f,c)}return function(t,n,r){for(var i=0;i<t.length;i+=2){var e=t[i];if(r.test(e))for(var u=e.replace(r,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new a("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,r),o}var m=function(t){return t.replace(/([$])/,"\\$")},y=f?void 0:function(t,f,a,c,h,v){var l=function(){return this}(),_=t;function d(){var e=f;f===i&&(e=this);var a=new n(r);a.wn();var c="string"==typeof _&&this!==l?this[_]:t,h=u(a,v);try{c.apply(e,o(arguments,h))}catch(t){a.Yn(s(t),!0,!0)}return a.Ni()||a.Di(),a}return"string"==typeof _&&(t=c),e.notEnumerableProp(d,"dr",!0),d};function g(t,n,r,u,o){for(var s=new RegExp(m(n)+"$"),f=w(t,n,s,r),a=0,c=f.length;a<c;a+=2){var h=f[a],v=f[a+1],l=h+n;if(u===y)t[l]=y(h,i,h,v,n,o);else{var _=u(v,function(){return y(h,i,h,v,n,o)});e.notEnumerableProp(_,"dr",!0),t[l]=_}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new a("expecting a function but got "+e.classString(t));if(d(t))return t;var r=void 0===(n=h(n)).context?i:n.context,u=!!n.multiArgs,o=function(t,n,r){return y(t,n,void 0,t,null,r)}(t,r,u);return e.copyDescriptors(t,o,_),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new a("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var r=!!(n=h(n)).multiArgs,i=n.suffix;"string"!=typeof i&&(i="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=y),!e.isIdentifier(i))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=e.inheritedDataKeys(t),f=0;f<s.length;++f){var c=t[s[f]];"constructor"!==s[f]&&e.isClass(c)&&(g(c.prototype,i,u,o,r),g(c,i,u,o,r))}return g(t,i,u,o,r)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,r){n.exports=function(n,r,i,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var a=function(){var t=0,n=0;function r(r,i){this[t]=r,this[t+n]=i,t++}return function(i){n=i.size,t=0;var e=new Array(2*i.size);return i.forEach(r,e),e}}();function c(t){var n,r=!1;if(void 0!==u&&t instanceof u)n=a(t),r=!0;else{var i=f.keys(t),e=i.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=i[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this._r=r,this._init$(void 0,r?-6:-3)}function h(t){var r,u=i(t);return s(u)?(r=u instanceof n?u.nt(n.props,void 0,void 0,void 0,void 0):new c(u).promise(),u instanceof n&&r.at(u,2),r):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(c,r),c.prototype._init=function(){},c.prototype.Gn=function(t,n){this.ai[n]=t;var r=++this.di;if(r>=this.xt){var i;if(this._r)i=function(t){for(var n=new u,r=t.length/2|0,i=0;i<r;++i){var e=t[r+i],o=t[i];n.set(e,o)}return n}(this.ai);else{i={};for(var e=this.length(),o=0,s=this.length();o<s;++o)i[this.ai[o+e]]=this.ai[o]}return this.gi(i),!0}return!1},c.prototype.shouldCopyValues=function(){return!1},c.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return h(this)},n.props=function(t){return h(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,r){function i(t){this.gr=t,this.xt=0,this.wr=0}i.prototype.yr=function(t){return this.gr<t},i.prototype.Y=function(t){var n=this.length();this.pr(n+1);var r=this.wr+n&this.gr-1;this[r]=t,this.xt=n+1},i.prototype.push=function(t,n,r){var i=this.length()+3;if(this.yr(i))return this.Y(t),this.Y(n),void this.Y(r);var e=this.wr+i-3;this.pr(i);var u=this.gr-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=r,this.xt=i},i.prototype.shift=function(){var t=this.wr,n=this[t];return this[t]=void 0,this.wr=t+1&this.gr-1,this.xt--,n},i.prototype.length=function(){return this.xt},i.prototype.pr=function(t){this.gr<t&&this.Ar(this.gr<<1)},i.prototype.Ar=function(t){var n=this.gr;this.gr=t;var r=this.wr,i=this.xt,e=r+i&n-1;!function(t,n,r,i,e){for(var u=0;u<e;++u)r[u+i]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=i},{}],27:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=i(t);if(f instanceof n)return o(f);if(null===(t=u.asArray(t)))return e("expecting an array or an iterable object but got "+u.classString(t));var a=new n(r);void 0!==s&&a.at(s,3);for(var c=a.Xn,h=a.J,v=0,l=t.length;v<l;++v){var _=t[v];(void 0!==_||v in t)&&n.cast(_).nt(c,h,void 0,a,null)}return a}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Qt,f=t("./util"),a=f.tryCatch;function c(t,r,i,e){this.constructor$(t);var o=s();this._fn=null===o?r:f.domainBind(o,r),void 0!==i&&(i=n.resolve(i)).pn(this),this.Sr=i,this.Er=null,this.Ir=e===u?Array(this.xt):0===e?null:void 0,this.Pn.wn(),this._init$(void 0,-5)}function h(t,n){this.isFulfilled()?n.gi(t):n.J(t)}function v(t,n,r,e){if("function"!=typeof n)return i("expecting a function but got "+f.classString(n));var u=new c(t,n,r,e);return u.promise()}function l(t){this.accum=t,this.array.Rr(t);var r=e(this.value,this.array.Pn);return r instanceof n?(this.array.Er=r,r.nt(_,void 0,void 0,this,void 0)):_.call(this,r)}function _(t){var r,i=this.array,e=i.Pn,u=a(i._fn);e.qt(),(r=void 0!==i.Ir?u.call(e.ct(),t,this.index,this.length):u.call(e.ct(),this.accum,t,this.index,this.length))instanceof n&&(i.Er=r);var s=e.jt();return o.checkForgottenReturns(r,s,void 0!==i.Ir?"Promise.each":"Promise.reduce",e),r}f.inherits(c,r),c.prototype.Rr=function(t){void 0!==this.Ir&&null!==this.Ir&&t!==u&&this.Ir.push(t)},c.prototype.Nr=function(t){return null!==this.Ir&&this.Ir.push(t),this.Ir},c.prototype._init=function(){},c.prototype.rr=function(){this.gi(void 0!==this.Ir?this.Ir:this.Sr)},c.prototype.shouldCopyValues=function(){return!1},c.prototype.gi=function(t){this.Pn.ot(t),this.ai=null},c.prototype._resultCancelled=function(t){if(t===this.Sr)return this.Ot();this.Hn()||(this._resultCancelled$(),this.Er instanceof n&&this.Er.cancel(),this.Sr instanceof n&&this.Sr.cancel())},c.prototype.ir=function(t){var r,i;this.ai=t;var e=t.length;if(void 0!==this.Sr?(r=this.Sr,i=0):(r=n.resolve(t[0]),i=1),this.Er=r,!r.isRejected())for(;i<e;++i){var u={accum:null,value:t[i],index:i,length:e,array:this};r=r.nt(l,void 0,void 0,u,void 0)}void 0!==this.Ir&&(r=r.nt(this.Nr,void 0,void 0,this,void 0)),r.nt(h,h,void 0,r,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,r,i){return v(t,n,r,i)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,c,h,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var _=w.setImmediate,d=process.nextTick;o=v.isRecentNode?function(t){_.call(w,t)}:function(t){d.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var p=l.resolve();o=function(t){p.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===r||!r.navigator||!r.navigator.standalone&&!r.cordova)&&"classList"in i.documentElement?(s=i.createElement("div"),f={attributes:!0},c=!1,h=i.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),c=!1}).observe(h,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),c||(c=!0,h.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,r){n.exports=function(n,r,i){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,r),o.prototype.Dr=function(t,n){this.ai[t]=n;var r=++this.di;return r>=this.xt&&(this.gi(this.ai),!0)},o.prototype.Gn=function(t,n){var r=new e;return r.ut=33554432,r.Cr=t,this.Dr(n,r)},o.prototype.qn=function(t,n){var r=new e;return r.ut=16777216,r.Cr=t,this.Dr(n,r)},n.settle=function(t){return i.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function a(t){this.constructor$(t),this.Pr=0,this.Or=!1,this.Br=!1}function c(t,n){if((0|n)!==n||n<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var r=new a(t),e=r.promise();return r.setHowMany(n),r.init(),e}e.inherits(a,r),a.prototype._init=function(){if(this.Br)if(0!==this.Pr){this._init$(void 0,-5);var t=s(this.ai);!this.Hn()&&t&&this.Pr>this.Lr()&&this.J(this.xr(this.length()))}else this.gi([])},a.prototype.init=function(){this.Br=!0,this._init()},a.prototype.setUnwrap=function(){this.Or=!0},a.prototype.howMany=function(){return this.Pr},a.prototype.setHowMany=function(t){this.Pr=t},a.prototype.Gn=function(t){return this.Mr(t),this.Fr()===this.howMany()&&(this.ai.length=this.howMany(),1===this.howMany()&&this.Or?this.gi(this.ai[0]):this.gi(this.ai),!0)},a.prototype.qn=function(t){return this.Ur(t),this.Hr()},a.prototype.zn=function(){return this.ai instanceof n||null==this.ai?this.Ot():(this.Ur(f),this.Hr())},a.prototype.Hr=function(){if(this.howMany()>this.Lr()){for(var t=new o,n=this.length();n<this.ai.length;++n)this.ai[n]!==f&&t.push(this.ai[n]);return t.length>0?this.J(t):this.Ot(),!0}return!1},a.prototype.Fr=function(){return this.di},a.prototype.Vr=function(){return this.ai.length-this.length()},a.prototype.Ur=function(t){this.ai.push(t)},a.prototype.Mr=function(t){this.ai[this.di++]=t},a.prototype.Lr=function(){return this.length()-this.Vr()},a.prototype.xr=function(t){var n="Input array must contain at least "+this.Pr+" items but contains only "+t+" items";return new u(n)},a.prototype.rr=function(){this.J(this.xr(0))},n.some=function(t,n){return c(t,n)},n.prototype.some=function(t){return c(this,t)},n.l=a}},{"./errors":12,"./util":36}],32:[function(t,n,r){n.exports=function(t){function n(t){void 0!==t?(t=t.ft(),this.ut=t.ut,this.Cr=t.Ni()?t.cn():void 0):(this.ut=0,this.Cr=void 0)}n.prototype.cn=function(){return this.Cr};var r=n.prototype.value=function(){if(!this.isFulfilled())throw new c("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.cn()},i=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new c("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this.cn()},e=n.prototype.isFulfilled=function(){return 0!=(33554432&this.ut)},u=n.prototype.isRejected=function(){return 0!=(16777216&this.ut)},o=n.prototype.isPending=function(){return 0==(50397184&this.ut)},s=n.prototype.isResolved=function(){return 0!=(50331648&this.ut)};n.prototype.isCancelled=function(){return 0!=(8454144&this.ut)},t.prototype.Xr=function(){return 65536==(65536&this.ut)},t.prototype.Ut=function(){return this.ft().Xr()},t.prototype.isCancelled=function(){return 0!=(8454144&this.ft().ut)},t.prototype.isPending=function(){return o.call(this.ft())},t.prototype.isRejected=function(){return u.call(this.ft())},t.prototype.isFulfilled=function(){return e.call(this.ft())},t.prototype.isResolved=function(){return s.call(this.ft())},t.prototype.value=function(){return r.call(this.ft())},t.prototype.reason=function(){var t=this.ft();return t._n(),i.call(t)},t.prototype.Kn=function(){return this.cn()},t.prototype.Zn=function(){return this._n(),this.cn()},t.PromiseInspection=n}},{}],33:[function(t,n,r){n.exports=function(n,r){var i=t("./util"),e=i.errorObj,u=i.isObject,o={}.hasOwnProperty;return function(t,s){if(u(t)){if(t instanceof n)return t;var f=function(t){try{return function(t){return t.then}(t)}catch(t){return e.e=t,e}}(t);if(f===e){s&&s.qt();var a=n.reject(f.e);return s&&s.jt(),a}if("function"==typeof f){if(function(t){try{return o.call(t,"Si")}catch(t){return!1}}(t)){var a=new n(r);return t.nt(a.Xn,a.J,void 0,a,null),a}return function(t,u,o){var s=new n(r),f=s;o&&o.qt(),s.wn(),o&&o.jt();var a=!0,c=i.tryCatch(u).call(t,function(t){s&&(s.ot(t),s=null)},function(t){s&&(s.Yn(t,a,!0),s=null)});return a=!1,s&&c===e&&(s.Yn(c.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var c=function(t){return h(+this).thenReturn(t)},h=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).nt(c,null,null,t,void 0),i.cancellation()&&e instanceof n&&o.dt(e)):(o=new n(r),s=u(function(){o.Xn()},+t),i.cancellation()&&o.dt(new f(s)),o.wn()),o.Di(),o};function v(t){return o(this.handle),t}function l(t){throw o(this.handle),t}n.prototype.delay=function(t){return h(t,this)},n.prototype.timeout=function(t,n){var r,o,c=new f(u(function(){r.isPending()&&function(t,n,r){var i;i="string"!=typeof n?n instanceof a?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(i),t.Vt(i),t.J(i),null!=r&&r.cancel()}(r,n,o)},t=+t));return i.cancellation()?(o=this.then(),(r=o.nt(v,l,void 0,c,void 0)).dt(c)):r=this.nt(v,l,void 0,c,void 0),r}}},{"./util":36}],35:[function(t,n,r){n.exports=function(n,r,i,e,o,s){var f=t("./util"),a=t("./errors").TypeError,c=t("./util").inherits,h=f.errorObj,v=f.tryCatch,l={};function _(t){u(function(){throw t},0)}function d(t,r){var e=0,u=t.length,s=new n(o);return function o(){if(e>=u)return s.Xn();var f=function(t){var n=i(t);return n!==t&&"function"==typeof t.zr&&"function"==typeof t.Wr&&t.zr()&&n.Gr(t.Wr()),n}(t[e++]);if(f instanceof n&&f.zr()){try{f=i(f.Wr().tryDispose(r),t.promise)}catch(t){return _(t)}if(f instanceof n)return f.nt(o,_,null,null,null)}o()}(),s}function p(t,n,r){this.qr=t,this.Pn=n,this.jr=r}function w(t,n,r){this.constructor$(t,n,r)}function m(t){return p.isDisposer(t)?(this.resources[this.index].Gr(t),t.promise()):t}function y(t){this.length=t,this.promise=null,this[t-1]=null}p.prototype.data=function(){return this.qr},p.prototype.promise=function(){return this.Pn},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},p.prototype.tryDispose=function(t){var n=this.resource(),r=this.jr;void 0!==r&&r.qt();var i=n!==l?this.doDispose(n,t):null;return void 0!==r&&r.jt(),this.Pn.Yr(),this.qr=null,i},p.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},c(w,p),w.prototype.doDispose=function(t,n){var r=this.data();return r.call(t,t,n)},y.prototype._resultCancelled=function(){for(var t=this.length,r=0;r<t;++r){var i=this[r];i instanceof n&&i.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return r("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return r("expecting a function but got "+f.classString(u));var o=!0;2===t&&Array.isArray(arguments[0])?(e=arguments[0],t=e.length,o=!1):(e=arguments,t--);for(var a=new y(t),c=0;c<t;++c){var l=e[c];if(p.isDisposer(l)){var _=l;(l=l.promise()).Gr(_)}else{var w=i(l);w instanceof n&&(l=w.nt(m,null,null,{resources:a,index:c},void 0))}a[c]=l}for(var g=new Array(a.length),c=0;c<g.length;++c)g[c]=n.resolve(a[c]).reflect();var E=n.all(g).then(function(t){for(var n=0;n<t.length;++n){var r=t[n];if(r.isRejected())return h.e=r.error(),h;if(!r.isFulfilled())return void E.cancel();t[n]=r.value()}S.qt(),u=v(u);var i=o?u.apply(void 0,t):u(t),e=S.jt();return s.checkForgottenReturns(i,e,"Promise.using",S),i}),S=E.lastly(function(){var t=new n.PromiseInspection(E);return d(a,t)});return a.promise=S,S.dt(a),S},n.prototype.Gr=function(t){this.ut=131072|this.ut,this.Qr=t},n.prototype.zr=function(){return(131072&this.ut)>0},n.prototype.Wr=function(){return this.Qr},n.prototype.Yr=function(){this.ut=-131073&this.ut,this.Qr=void 0},n.prototype.disposer=function(t){if("function"==typeof t)return new w(t,this,e());throw new a}}},{"./errors":12,"./util":36}],36:[function(n,i,u){var o,s=n("./es5"),f=void 0===e,c={e:{}},v=void 0!==t?t:void 0!==r?r:void 0!==w?w:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return c.e=t,c}}function _(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function d(t,n,r){if(_(t))return t;var i={value:r,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,i),t}var p=function(){var t=[Array.prototype,h.prototype,Function.prototype],n=function(n){for(var r=0;r<t.length;++r)if(t[r]===n)return!0;return!1};if(s.isES5){var r=h.getOwnPropertyNames;return function(t){for(var i=[],e=h.create(null);null!=t&&!n(t);){var u;try{u=r(t)}catch(t){return i}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var a=h.getOwnPropertyDescriptor(t,f);null!=a&&null==a.get&&null==a.set&&i.push(f)}}t=s.getPrototypeOf(t)}return i}}var i={}.hasOwnProperty;return function(r){if(n(r))return[];var e=[];t:for(var u in r)if(i.call(r,u))e.push(u);else{for(var o=0;o<t.length;++o)if(i.call(t[o],u))continue t;e.push(u)}return e}}(),m=/this\s*\.\s*\S+\s*=/,y=/^[a-z$_][a-z$_0-9]*$/i;function g(t){try{return t+""}catch(t){return"[no string representation]"}}function E(t){return t instanceof a||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function S(t){return E(t)&&s.propertyIsWritable(t,"stack")}var b="stack"in new a?function(t){return S(t)?t:new a(g(t))}:function(t){if(S(t))return t;try{throw new a(g(t))}catch(t){return t}};function I(t){return{}.toString.call(t)}var T=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var k="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,r=[],i=t[Symbol.iterator]();!(n=i.next()).done;)r.push(n.value);return r};T=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?k(t):null}}var A,N="undefined"!=typeof process&&"[object process]"===I(process).toLowerCase(),R="undefined"!=typeof process&&void 0!==process.env,D={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),r=s.isES5&&n.length>1,i=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=m.test(t+"")&&s.names(t).length>0;if(r||i||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return y.test(t)},inheritedDataKeys:p,getDataPropertyOrDefault:function(t,n,r){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var i=h.getOwnPropertyDescriptor(t,n);return null!=i?null==i.get&&null==i.set?i.value:r:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:T,notEnumerableProp:d,isPrimitive:_,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:E,canEvaluate:f,errorObj:c,tryCatch:function(t){return o=t,l},inherits:function(t,n){var r={}.hasOwnProperty;function i(){for(var i in this.constructor=t,this.constructor$=n,n.prototype)r.call(n.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=n.prototype[i])}return i.prototype=n.prototype,t.prototype=new i,t.prototype},withAppended:function(t,n){var r,i=t.length,e=new Array(i+1);for(r=0;r<i;++r)e[r]=t[r];return e[r]=n,e},maybeWrapAsError:function(t){return _(t)?new a(g(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,r){for(var i=new Array(t),e=0;e<t;++e)i[e]=n+e+r;return i},toString:g,canAttachTrace:S,ensureErrorObject:b,originatesFromRejection:function(t){return null!=t&&(t instanceof a.Nn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{d(t,"isOperational",!0)}catch(t){}},classString:I,copyDescriptors:function(t,n,r){for(var i=s.names(t),e=0;e<i.length;++e){var u=i[e];if(r(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:R,env:function(t){return R?process.env[t]:void 0},global:v,getNativePromise:function(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}},domainBind:function(t,n){return t.bind(n)}};D.isRecentNode=D.isNode&&(process.versions&&process.versions.node?A=process.versions.node.split(".").map(Number):process.version&&(A=process.version.split(".").map(Number)),0===A[0]&&A[1]>10||A[0]>0),D.isNode&&D.toFastProperties(process);try{throw new a}catch(t){D.lastLineError=t}i.exports=D},{"./es5":13}]},{},[4])(4),null!=r?r.P=r.Promise:null!=t&&(t.P=t.Promise)});var g,E=function(){};(g=y)&&g.config({warnings:!1,longStackTraces:!1});var S,b,I,T,k,A;g&&(T=g.setScheduler(E),S=T,k={Jr:function(t){b=t,S(I)},$r:I=function(){var t=b;t&&(b=void 0,t())}},g.setScheduler(k.Jr));function N(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function R(t,n,r){return n&&N(t.prototype,n),r&&N(t,r),t}function D(t,n){return(D=h.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function P(t,n){t.prototype=h.create(n.prototype),t.prototype.constructor=t,D(t,n)}!function(t){t.re="web",t.ue="android",t.oe="android-tv",t.fe="ios",t._e="tvos",t.we="chromecast"}(A||(A={}));var O=e?e.userAgent:"",C=O.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),F=O.match(/Android ([0-9\.]+)/i),L=O.match(/Windows NT ([0-9\.]+)/i),M=O.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),x=O.match(/Firefox\/([0-9\.]+)/i),B=O.match(/OPR\/(\d+\.\d+)/i),j=O.match(/Tizen ([0-9\.]+)/i),U=function(){function n(){this.me=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.ye=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(O)||/(macintosh|mac(?=_powerpc)\s)/i.test(O),this.ke=/Windows NT/i.test(O),this.pe=L?_(L[1]):0,this.Ae=/Android/i.test(O),this.Te=F?_(F[1]):0,this.Se=/windows phone (8|8\.1)/i.test(O),this.Ee=/iPhone/i.test(O),this.Ie=/iPad/i.test(O),this.Re=this.ye&&this.me&&!this.Ie,this.Ne=/iPod/i.test(O),this.De=/Mobile Safari/i.test(O),this.Ce=/EOSSTB/i.test(O),this.Pe=(this.Ee||this.Ie||this.Re||this.Ne)&&!this.Se,this.Oe=this.Se||this.Pe||this.Ae||this.De,this.Be=/CriOS/i.test(O),this.Le=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Be,this.xe=this.Le&&/Edg\//i.test(e.userAgent),this.Me=Boolean(t.chrome||/Chrome/i.test(O)||/CriOS/i.test(O)),this.Fe=C?l(C[1],10):0,this.Ue=/SMART-TV.*Tizen/i.test(O),this.He=j?_(j[1]):0,this.Ve=/webos|web0s/i.test(O),this.Xe=/Edge\/\d+/i.test(O),this.ze=/Trident/i.test(O),this.We=this.ze&&!t.ActiveXObject&&"ActiveXObject"in t,this.Ge=/Vivaldi/i.test(O),this.qe=/Firefox/i.test(O)&&!/Seamonkey/i.test(O),this.je=x?_(x[1]):0,this.Ye=/Safari/i.test(O)&&!/Chrome/i.test(O)&&!this.Se&&!this.Ue,this.Qe=M?_(M[2]):0,this.Ke=Boolean(B),this.Ze=B?_(B[1]):0,this.Je=/CrKey/.test(O),this.$e=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(O),this.ns="web"===A.oe,this.rs="web"===A.ue,this.us=this.rs||this.ns,this.hs="web"===A.fe,this.fs="web"===A._e,this.vs="web"===A.we}return R(n,[{key:"ds",get:function(){return this.me}},{key:"ls",get:function(){return this.ye}},{key:"_s",get:function(){return this.ke}},{key:"gs",get:function(){return this.pe}},{key:"ys",get:function(){return this.Ae}},{key:"As",get:function(){return this.Te}},{key:"Ts",get:function(){return this.Se}},{key:"Ss",get:function(){return this.Ee}},{key:"Es",get:function(){return this.Ie}},{key:"Is",get:function(){return this.Re}},{key:"Rs",get:function(){return this.Ne}},{key:"Ns",get:function(){return this.Pe}},{key:"Ds",get:function(){return this.Ce}},{key:"Cs",get:function(){return this.De}},{key:"Ps",get:function(){return this.Oe}},{key:"Os",get:function(){return this.Be}},{key:"Bs",get:function(){return this.Le}},{key:"Ls",get:function(){return this.Fe}},{key:"xs",get:function(){return this.xe}},{key:"Ms",get:function(){return this.Ue}},{key:"Fs",get:function(){return this.He}},{key:"Us",get:function(){return this.Ve}},{key:"Hs",get:function(){return this.Xe}},{key:"Vs",get:function(){return this.ze}},{key:"Xs",get:function(){return this.We}},{key:"zs",get:function(){return this.Ge}},{key:"Ws",get:function(){return this.qe}},{key:"Gs",get:function(){return this.je}},{key:"qs",get:function(){return this.Ye}},{key:"js",get:function(){return this.Qe}},{key:"Ys",get:function(){return this.Ke}},{key:"Qs",get:function(){return this.Ze}},{key:"Ks",get:function(){return this.Je}},{key:"Zs",get:function(){return this.$e}},{key:"Js",get:function(){if(!(this.Us||this.Ms))return!1;var t=this.Ls;return void 0===t||Number(t)<56}},{key:"$s",get:function(){return this.ns}},{key:"tu",get:function(){return this.rs}},{key:"nu",get:function(){return this.us}},{key:"uu",get:function(){return this.hs}},{key:"ou",get:function(){return this.fs}},{key:"au",get:function(){return this.vs}},{key:"fu",get:function(){return this.Me}}]),n}();U.vu=new U;var H=U.vu;function G(t){return null!=t}var W=!(H.Vs&&!H.Xs),V=t.console;function X(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function q(t){return t.map(X).join(" ")}function z(t){var n=V&&V[t];return n?n.bind&&W?n.bind(V):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];V[t](q(r))}:void 0}var Y,K=z("log")||E,$=z("warn")||K.bind(void 0,"WARNING:"),Z=z("error")||K.bind(void 0,"ERROR:"),Q=(Y=V&&V.assert)?Y.bind&&W?Y.bind(V):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];V.assert(t,q(r))}:function(t){if(!t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Z.apply(void 0,["Assertion failed:"].concat(r))}},J=nt,tt=null;try{tt=new WebAssembly.Instance(new WebAssembly.Module(new p([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function nt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function rt(t){return!0===(t&&t.du)}nt.prototype.du,h.defineProperty(nt.prototype,"du",{value:!0}),nt.isLong=rt;var it={},et={};function ut(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=et[t])?i:(r=st(t,(0|t)<0?-1:0,!0),e&&(et[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=it[t])?i:(r=st(t,t<0?-1:0,!1),e&&(it[t]=r),r)}function ot(t,n){if(d(t))return n?pt:dt;if(n){if(t<0)return pt;if(t>=vt)return Et}else{if(t<=-lt)return St;if(t+1>=lt)return gt}return t<0?ot(-t,n).neg():st(t%ht|0,t/ht|0,n)}function st(t,n,r){return new nt(t,n,r)}nt.fromInt=ut,nt.fromNumber=ot,nt.fromBits=st;var ft=v.pow;function at(t,n,r){if(0===t.length)throw a("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return dt;if("number"==typeof n?(r=n,n=!1):n=!!n,(r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw a("interior hyphen");if(0===i)return at(t.substring(1),n,r).neg();for(var e=ot(ft(r,8)),u=dt,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),r);if(s<8){var c=ot(ft(r,s));u=u.mul(c).add(ot(f))}else u=(u=u.mul(e)).add(ot(f))}return u.unsigned=n,u}function ct(t,n){return"number"==typeof t?ot(t,n):"string"==typeof t?at(t,n):st(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}nt.fromString=at,nt.fromValue=ct;var ht=4294967296,vt=ht*ht,lt=vt/2,_t=ut(1<<24),dt=ut(0);nt.ZERO=dt;var pt=ut(0,!0);nt.UZERO=pt;var wt=ut(1);nt.ONE=wt;var mt=ut(1,!0);nt.UONE=mt;var yt=ut(-1);nt.NEG_ONE=yt;var gt=st(-1,2147483647,!1);nt.MAX_VALUE=gt;var Et=st(-1,-1,!0);nt.MAX_UNSIGNED_VALUE=Et;var St=st(0,-2147483648,!1);nt.MIN_VALUE=St;var bt=nt.prototype;bt.toInt=function(){return this.unsigned?this.low>>>0:this.low},bt.toNumber=function(){return this.unsigned?(this.high>>>0)*ht+(this.low>>>0):this.high*ht+(this.low>>>0)},bt.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(St)){var n=ot(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=ot(ft(t,6),this.unsigned),u=this,o="";;){var s=u.div(e),f=(u.sub(s.mul(e)).toInt()>>>0).toString(t);if((u=s).isZero())return f+o;for(;f.length<6;)f="0"+f;o=""+f+o}},bt.getHighBits=function(){return this.high},bt.getHighBitsUnsigned=function(){return this.high>>>0},bt.getLowBits=function(){return this.low},bt.getLowBitsUnsigned=function(){return this.low>>>0},bt.getNumBitsAbs=function(){if(this.isNegative())return this.eq(St)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1},bt.isZero=function(){return 0===this.high&&0===this.low},bt.eqz=bt.isZero,bt.isNegative=function(){return!this.unsigned&&this.high<0},bt.isPositive=function(){return this.unsigned||this.high>=0},bt.isOdd=function(){return 1==(1&this.low)},bt.isEven=function(){return 0==(1&this.low)},bt.equals=function(t){return rt(t)||(t=ct(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},bt.eq=bt.equals,bt.notEquals=function(t){return!this.eq(t)},bt.neq=bt.notEquals,bt.ne=bt.notEquals,bt.lessThan=function(t){return this.comp(t)<0},bt.lt=bt.lessThan,bt.lessThanOrEqual=function(t){return this.comp(t)<=0},bt.lte=bt.lessThanOrEqual,bt.le=bt.lessThanOrEqual,bt.greaterThan=function(t){return this.comp(t)>0},bt.gt=bt.greaterThan,bt.greaterThanOrEqual=function(t){return this.comp(t)>=0},bt.gte=bt.greaterThanOrEqual,bt.ge=bt.greaterThanOrEqual,bt.compare=function(t){if(rt(t)||(t=ct(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},bt.comp=bt.compare,bt.negate=function(){return!this.unsigned&&this.eq(St)?St:this.not().add(wt)},bt.neg=bt.negate,bt.add=function(t){rt(t)||(t=ct(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,a=0,c=0,h=0;return c+=(h+=e+(65535&t.low))>>>16,a+=(c+=i+s)>>>16,f+=(a+=r+o)>>>16,f+=n+u,st((c&=65535)<<16|(h&=65535),(f&=65535)<<16|(a&=65535),this.unsigned)},bt.subtract=function(t){return rt(t)||(t=ct(t)),this.add(t.neg())},bt.sub=bt.subtract,bt.multiply=function(t){if(this.isZero())return dt;if(rt(t)||(t=ct(t)),tt)return st(tt.mul(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned);if(t.isZero())return dt;if(this.eq(St))return t.isOdd()?St:dt;if(t.eq(St))return this.isOdd()?St:dt;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(_t)&&t.lt(_t))return ot(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,a=0,c=0,h=0,v=0;return h+=(v+=e*f)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=e*s)>>>16,a+=(c+=r*f)>>>16,c&=65535,a+=(c+=i*s)>>>16,c&=65535,a+=(c+=e*o)>>>16,a+=n*f+r*s+i*o+e*u,st((h&=65535)<<16|(v&=65535),(a&=65535)<<16|(c&=65535),this.unsigned)},bt.mul=bt.multiply,bt.divide=function(t){if(rt(t)||(t=ct(t)),t.isZero())throw a("division by zero");var n,r,i;if(tt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?st((this.unsigned?tt.div_u:tt.div_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?pt:dt;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return pt;if(t.gt(this.shru(1)))return mt;i=pt}else{if(this.eq(St))return t.eq(wt)||t.eq(yt)?St:t.eq(St)?wt:(n=this.shr(1).div(t).shl(1)).eq(dt)?t.isNegative()?wt:yt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(St))return this.unsigned?pt:dt;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=dt}for(r=this;r.gte(t);){n=v.max(1,v.floor(r.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:ft(2,e-48),o=ot(n),s=o.mul(t);s.isNegative()||s.gt(r);)s=(o=ot(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=wt),i=i.add(o),r=r.sub(s)}return i},bt.div=bt.divide,bt.modulo=function(t){return rt(t)||(t=ct(t)),tt?st((this.unsigned?tt.rem_u:tt.rem_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},bt.mod=bt.modulo,bt.rem=bt.modulo,bt.not=function(){return st(~this.low,~this.high,this.unsigned)},bt.and=function(t){return rt(t)||(t=ct(t)),st(this.low&t.low,this.high&t.high,this.unsigned)},bt.or=function(t){return rt(t)||(t=ct(t)),st(this.low|t.low,this.high|t.high,this.unsigned)},bt.xor=function(t){return rt(t)||(t=ct(t)),st(this.low^t.low,this.high^t.high,this.unsigned)},bt.shiftLeft=function(t){return rt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?st(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):st(0,this.low<<t-32,this.unsigned)},bt.shl=bt.shiftLeft,bt.shiftRight=function(t){return rt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?st(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):st(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},bt.shr=bt.shiftRight,bt.shiftRightUnsigned=function(t){if(rt(t)&&(t=t.toInt()),0===(t&=63))return this;var n=this.high;return t<32?st(this.low>>>t|n<<32-t,n>>>t,this.unsigned):st(32===t?n:n>>>t-32,0,this.unsigned)},bt.shru=bt.shiftRightUnsigned,bt.shr_u=bt.shiftRightUnsigned,bt.toSigned=function(){return this.unsigned?st(this.low,this.high,!1):this},bt.toUnsigned=function(){return this.unsigned?this:st(this.low,this.high,!0)},bt.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},bt.toBytesLE=function(){var t=this.high,n=this.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},bt.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},nt.fromBytes=function(t,n,r){return r?nt.fromBytesLE(t,n):nt.fromBytesBE(t,n)},nt.fromBytesLE=function(t,n){return new nt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},nt.fromBytesBE=function(t,n){return new nt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var It=J,Tt=v.pow(2,-52);function kt(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function At(){return Date.now()||(new Date).getTime()}var Nt;It.fromNumber(9007199254740991);!function(t){t[t.wu=1]="wu",t[t.yu=2]="yu",t[t.mu=3]="mu",t[t.pu=4]="pu",t[t.bu=9]="bu"}(Nt||(Nt={}));var Rt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.apply(this,n)};(Rt.prototype=h.create(a.prototype)).constructor=Rt;var Dt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,a.captureStackTrace&&a.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),i.constructor),i}return P(n,t),R(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Rt),Pt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return P(n,t),n}(Dt),Ot=function(){function t(){}return t.prototype.Au=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new Pt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Pt;return new jt(n)},t}(),Ct=function(){function t(t){this.Tu=void 0,this.Tu=t}var n=t.prototype;return n.Su=function(t){return this.Tu.isEqualNode(t.Tu)},n.Eu=function(n){return new t(this.Tu.cloneNode(n))},R(t,[{key:"_u",get:function(){return Nt.yu}},{key:"Iu",get:function(){var t;return null!=(t=this.Tu.localName)?t:Gt(this.Tu.nodeName)}},{key:"Ru",get:function(){return this.Tu.nodeName}},{key:"Nu",get:function(){var t;return null!=(t=this.Tu.namespaceURI)?t:void 0}},{key:"Du",get:function(){var t;return null!=(t=this.Tu.prefix)?t:void 0}},{key:"Cu",get:function(){return this.Tu.nodeValue}}]),t}(),Ft=function(){function t(t){this.Pu=void 0,this.Ou=void 0,this.Pu=t}var n=t.prototype;return n.Bu=function(t){return this.Lu.filter(function(n){return Ut(n)&&n.xu===t})},n.Mu=function(t,n){return this.Lu.filter(function(r){return Ut(r)&&r.Iu===n&&r.Nu===t})},n.Fu=function(t){this.Pu.appendChild(t.Uu),this.Ou&&this.Ou.push(t)},n.Su=function(t){return this.Pu.isEqualNode(t.Uu)},R(t,[{key:"Lu",get:function(){return void 0===this.Ou&&(this.Ou=function(t){for(var n=[],r=0;r<t.length;r++){var i=Ht(t.item(r));i&&n.push(i)}return n}(this.Pu.childNodes)),this.Ou}},{key:"Hu",get:function(){return this.Lu.filter(Ut)}},{key:"Uu",get:function(){return this.Pu}}]),t}(),Lt=function(t){function n(n){return t.call(this,n)||this}P(n,t);var r=n.prototype;return r.Vu=function(t){if(this.Pu.hasAttribute(t))return this.Pu.getAttribute(t)},r.Xu=function(t,n){if(this.Pu.hasAttributeNS(t,n))return this.Pu.getAttributeNS(t,n)},r.Wu=function(t){this.Pu.removeAttribute(t)},r.Gu=function(t,n){this.Pu.removeAttributeNS(t,n)},r.ju=function(t,n){this.Pu.setAttribute(t,n)},r.Yu=function(t,n,r){this.Pu.setAttributeNS(t,n,r)},r.Eu=function(t){return new n(this.Pu.cloneNode(t))},R(n,[{key:"_u",get:function(){return Nt.wu}},{key:"Iu",get:function(){var t;return null!=(t=this.Pu.localName)?t:Gt(this.Pu.nodeName)}},{key:"Nu",get:function(){var t;return null!=(t=this.Pu.namespaceURI)?t:void 0}},{key:"Du",get:function(){var t;return null!=(t=this.Pu.prefix)?t:void 0}},{key:"xu",get:function(){return this.Pu.nodeName}},{key:"Qu",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new Ct(t.item(r)));return n}(this.Pu.attributes)}},{key:"Ku",get:function(){return this.Pu.textContent}}]),n}(Ft),Mt=function(){function t(t){this.Pu=void 0,this.Pu=t}return t.prototype.Su=function(t){return this.Zu===t.Zu},R(t,[{key:"Zu",get:function(){return this.Pu.nodeValue}},{key:"Uu",get:function(){return this.Pu}}]),t}(),xt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Eu=function(t){return new n(this.Pu.cloneNode(t))},R(n,[{key:"_u",get:function(){return Nt.mu}}]),n}(Mt),Bt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Eu=function(t){return new n(this.Pu.cloneNode(t))},R(n,[{key:"_u",get:function(){return Nt.pu}}]),n}(Mt),jt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Eu=function(t){return new n(this.Pu.cloneNode(t))},R(n,[{key:"_u",get:function(){return Nt.bu}},{key:"Ju",get:function(){return new Lt(this.Pu.documentElement)}}]),n}(Ft);function Ut(t){return function(t){return t._u===Nt.wu}(t)}function Ht(t){switch(t.nodeType){case Nt.wu:return new Lt(t);case Nt.mu:return new xt(t);case Nt.pu:return new Bt(t)}}function Gt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Wt(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function Vt(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){Xt(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&Xt(r,null,t.length,t),t}function Xt(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(e=0;e<a;e+=h)for(o=(u=e+r)+r,u>a&&(u=a),o>a&&(o=a),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<u)i[c++]=t[s++];else{if(!(f<o))break;i[c++]=t[f++]}}var qt=/[a-zA-Z]/,zt=/[0-9]/,Yt=/[0-9a-fA-F]/,Kt=/^0x/i,$t=/^[0-9]+$/,Zt=/^[0-9a-fA-F]+$/,Qt=/^[0-7]+$/,Jt=h.prototype.toString,tn=Array.isArray||function(t){return"[object Array]"===Jt.call(t)},nn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function rn(t){return tn(t)?t:Array.from(t)}function en(t){return t>=65&&t<=90}function un(t){return en(t)||function(t){return t>=97&&t<=122}(t)}function on(t){return t>=48&&t<=57}function sn(t){return on(t)||un(t)}function fn(t){return on(t)||t>=65&&t<=70||t>=97&&t<=102}function an(t){return en(t)?t+32:t}function cn(t){return on(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function hn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var vn=v.min,ln=String.fromCharCode,_n=16384;function dn(t){for(var n=t.length,r=[],i=0;i<n;i+=_n){var e=vn(i+_n,n);r.push(ln.apply(null,t.slice(i,e)))}return r.join("")}var pn=/[^\0-\x7E]/,wn=/[\x2E\u3002\uFF0E\uFF61]/g,mn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},yn=v.floor,gn=String.fromCharCode;function En(t){throw new RangeError(mn[t])}function Sn(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var bn,In,Tn,kn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},An=function(t,n,r){var i=0;for(t=r?yn(t/700):t>>1,t+=yn(t/n);t>455;i+=36)t=yn(t/35);return yn(i+36*t/(t+38))},Nn=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(wn,".")).split("."),n).join(".");return i+e}(t,function(t){return pn.test(t)?"xn--"+function(t){for(var n=[],r=(t=Sn(t)).length,i=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(gn(f))}var a=n.length,c=a;for(a&&n.push("-");c<r;){for(var h=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=c+1;h-i>yn((2147483647-e)/d)&&En("overflow"),e+=(h-i)*d,i=h;for(var p=0,w=t;p<w.length;p++){var m=w[p];if(m<i&&++e>2147483647&&En("overflow"),m==i){for(var y=e,g=36;;g+=36){var E=g<=u?1:g>=u+26?26:g-u;if(y<E)break;var S=y-E,b=36-E;n.push(gn(kn(E+S%b,0))),y=yn(S/b)}n.push(gn(kn(y,0))),u=An(e,d,c==a),e=0,++c}}++e,++i}return n.join("")}(t):t})};function Rn(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return dn(n)}function Dn(t){if(t>=55296&&t<=57343)throw new a("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Pn(t,n){return t>>n&63|128}function On(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(Dn(t),n.push(t>>12&15|224),n.push(Pn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Pn(t,12)),n.push(Pn(t,6))),n.push(63&t|128)):n.push(t)}function Cn(t){for(var n=[],r=0;r<t.length;r++){On(t[r],n)}return n}function Fn(){if(Tn>=In)throw new a("Invalid byte index");var t=255&bn[Tn];if(Tn++,128==(192&t))return 63&t;throw new a("Invalid continuation byte")}function Ln(){var t,n;if(Tn>In)throw new a("Invalid byte index");if(Tn===In)return!1;if(t=255&bn[Tn],Tn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Fn())>=128)return n;throw new a("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Fn()<<6|Fn())>=2048)return Dn(n),n;throw new a("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Fn()<<12|Fn()<<6|Fn())>=65536&&n<=1114111)return n;throw new a("Invalid UTF-8 detected")}function Mn(t){return[37,hn(t>>4),hn(15&t)]}function xn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Bn(t){return xn(t)||32===t||34===t||60===t||62===t||96===t}function jn(t){return Bn(t)||35===t||63===t||123===t||125===t}function Un(t){return jn(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Hn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Gn(t){return Hn(t)||39===t}function Wn(t,n){if(!n(t))return[t];for(var r=Cn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Mn(u))}return i}function Vn(t,n){for(var r=[],i=0,e=Sn(t);i<e.length;i++){var u=e[i];r.push.apply(r,Wn(u,n))}return Rn(r)}function Xn(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&fn(t[i+1])&&fn(t[i+2])){var u=cn(t[i+1])<<4|cn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Cn(t))}function qn(t){return Rn(function(t){bn=t.slice(),In=bn.length,Tn=0;for(var n,r=[];!1!==(n=Ln());)r.push(n);return r}(Xn(Sn(t))))}function zn(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,a=0;if(a<u&&":"===t[a]){if(!(a+1<u&&":"===t[a+1]))throw new c;a+=2,f=s+=1}for(;a<u;){if(8===s)throw new c("Too many groups");if(":"!==t[a]){for(var h=0,v=0;v<4&&a<u&&Yt.test(t[a]);)h=h<<4|l(t[a],16),a+=1,v+=1;if("."===t[a]){if(0===v)throw new c;if(a-=v,s>6)throw new c;for(var _=0;a<u;){var d=null;if(_>0){if(!("."===t[a]&&_<4))throw new c;a+=1}if(!zt.test(t[a]))throw new c;for(;a<u&&zt.test(t[a]);){var p=l(t[a],10);if(null===d)d=p;else{if(0===d)throw new c;if((d=10*d+p)>255)throw new c}a+=1}o[s]=o[s]<<8|d,2!==(_+=1)&&4!==_||(s+=1)}if(4!==_)throw new c;break}if(":"===t[a]){if((a+=1)===u)throw new c}else if(a<u)throw new c;o[s]=h,s+=1}else{if(null!==f)throw new c("Too many :: groups");a+=1,f=s+=1}}if(null!==f){var w=s-f;for(s=7;0!==s&&w>0;)i=f+w-1,e=void 0,e=(n=o)[r=s],n[r]=n[i],n[i]=e,s-=1,w-=1}else if(8!==s)throw new c;return o}function Yn(t){var n=10,r=$t;return Kt.test(t)?(t=t.slice(2),n=16,r=Zt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=Qt),""===t?0:r.test(t)?l(t,n):void 0}var Kn={$u:4},$n=/[\0\t\n\r #%/:?@\[\\\]]/,Zn=/[\0\t\n\r #/:?@\[\\\]]/;function Qn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new c("Invalid IPv6 address");return{$u:2,uo:zn(t.slice(1,-1))}}if(!n)return function(t){if(Zn.test(t))throw new c("Invalid code point in opaque host");var n=Vn(t,xn);return""===n?Kn:{$u:3,qr:n}}(t);var r=function(t){return function(t){return Nn(t.toLowerCase())}(t)}(qn(t));if($n.test(r))throw new c("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=Yn(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new c;if(r[r.length-1]>=v.pow(256,5-r.length))throw new c;for(var s=r.pop(),f=0;f<r.length;f++)s+=r[f]*v.pow(256,3-f);return s}}(r);return void 0!==i?{$u:1,uo:i}:""===r?Kn:{$u:0,oo:r}}function Jn(t){switch(t.$u){case 0:return t.oo;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.uo);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.uo)+"]";case 3:return t.qr;case 4:return""}}var tr=/\+/g;function nr(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,s=void 0;-1!==u?(o=e.slice(0,u),s=e.slice(u+1)):(o=e,s=""),o=o.replace(tr," "),s=s.replace(tr," ");var f=qn(o),a=qn(s);r.push([f,a])}}return r}function rr(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=ir(Cn(Sn(i[0])))+"="+ir(Cn(Sn(i[1])))}return n}function ir(t){for(var n,r=[],i=0;i<t.length;i++){var e=t[i];32===e?r.push(43):42===(n=e)||45===n||46===n||95===n||sn(n)?r.push(e):r.push.apply(r,Mn(e))}return dn(r)}var er=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function ur(t){var n=""+t,r=er.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(sr(u))if(fr(u)||e===r-1)i.push(or);else{var o=t.charCodeAt(e+1);fr(o)?(i.push(u,o),e++):i.push(or)}else i.push(u)}return t.slice(0,n)+dn(i)}(n,r.index):n}var or=65533,sr=function(t){return 55296==(63488&t)},fr=function(t){return 0!=(1024&t)};function ar(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function cr(t){t.ao.length=0}function hr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.ao,nr(n))}function vr(t){if(t.do){var n=rr(t.ao);""===n&&(n=null),t.do.do._o=n}}function lr(t){return t instanceof _r&&(!!tn(t.ao)&&(!nn||t[Symbol.iterator]===dr))}var _r=function(){function t(t){if(void 0===t&&(t=void 0),this.do=null,null==t)this.ao=[];else if("object"==typeof t||"function"==typeof t)if(lr(t))this.ao=t.ao.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.ao=[];for(var n=0,r=rn(t);n<r.length;n++){var i=rn(r[n]);if(2!==i.length)throw new c("Invalid name-value pair");this.ao.push([ur(i[0]),ur(i[1])])}}else for(var e in this.ao=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.ao.push([ur(e),ur(t[e])]);else(t=ur(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.ao=nr(t);var u}var n=t.prototype;return n.append=function(t,n){t=ur(t),n=ur(n),this.ao.push([t,n]),vr(this)},n.delete=function(t){t=ur(t);for(var n=this.ao,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}vr(this)},n.get=function(t){t=ur(t);for(var n=this.ao,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=ur(t);for(var n=this.ao,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=ur(t);for(var n=this.ao,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=ur(t),n=ur(n);for(var r=this.ao,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),vr(this)},n.sort=function(){Vt(this.ao,ar),vr(this)},n.toString=function(){return rr(this.ao)},n.entries=function(){return new yr(this.ao,pr)},n.keys=function(){return new yr(this.ao,wr)},n.values=function(){return new yr(this.ao,mr)},n.forEach=function(t){var n=this;this.ao.forEach(function(r){return t(r[1],r[0],n)})},t}(),dr=_r.prototype.entries;nn&&(_r.prototype[Symbol.iterator]=dr);var pr=function(t){return[t[0],t[1]]},wr=function(t){return t[0]},mr=function(t){return t[1]},yr=function(){function t(t,n){this.mo=0,this.ao=t,this.po=n}return t.prototype.next=function(){return this.mo<this.ao.length?{done:!1,value:this.po(this.ao[this.mo++])}:{done:!0,value:void 0}},t}(),gr="null";var Er=h.create(null);Er.ftp=21,Er.file=0,Er.gopher=70,Er.http=80,Er.https=443,Er.ws=80,Er.wss=443;var Sr=/^(?:\.|%2e)$/i,br=/^(?:\.|%2e){2}$/i;function Ir(t){return Sr.test(t)}function Tr(t){return br.test(t)}function kr(t){return void 0!==Er[t]}function Ar(t){return kr(t.Ao)}function Nr(t){return""!==t.To||""!==t.So}function Rr(t){var n=t.length;if(!(n>=2))return!1;if(!Pr(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Dr(t){return 2===t.length&&qt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Pr(t){return 2===t.length&&Dr(dn(t))}function Or(t){return Dr(t)&&":"===t[1]}function Cr(t){var n=t.Eo;0!==n.length&&("file"===t.Ao&&1===n.length&&Or(n[0])||n.pop())}function Fr(t){return null===t.Io||Kn===t.Io||t.Ro||"file"===t.Ao}var Lr=-1,Mr=/\t|\n|\r/g,xr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Br(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Ur,t=t.replace(xr,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,a=Sn(t=t.replace(Mr,"")),h=a.length,v=0;v<=h;){var _=v<h?a[v]:Lr;switch(e){case 0:if(!un(_)){if(null===i){u.length=0,e=2;continue}throw new c("Invalid scheme")}u.push(an(_)),e=1;break;case 1:if(sn(_)||43===_||45===_||46===_)u.push(an(_));else{if(58!==_){if(null===i){u.length=0,e=2,v=0;continue}throw new c("Invalid scheme")}var d=Rn(u);if(null!==i){if(kr(r.Ao)&&!kr(d))return;if(!kr(r.Ao)&&kr(d))return;if((Nr(r)||null!==r.No)&&"file"===d)return;if("file"===r.Ao&&(r.Io===Kn||null===r.Io))return}if(r.Ao=d,null!==i)return void(Ar(r)&&r.No===Er[r.Ao]&&(r.No=null));u.length=0,"file"===r.Ao?e=13:Ar(r)&&n&&n.Ao===r.Ao?e=3:Ar(r)?e=7:47===a[v+1]?(e=4,v+=1):(r.Ro=!0,r.Eo.push(""),e=18)}break;case 2:if(!n||n.Ro&&35!==_)throw new c("Invalid scheme");n.Ro&&35===_?(r.Ao=n.Ao,r.Eo=n.Eo.slice(),r._o=n._o,r.Do="",r.Ro=!0,e=20):"file"!==n.Ao?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===a[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:r.Ao=n.Ao,Lr===_?(r.To=n.To,r.So=n.So,r.Io=n.Io,r.No=n.No,r.Eo=n.Eo.slice(),r._o=n._o):47===_?e=6:63===_?(r.To=n.To,r.So=n.So,r.Io=n.Io,r.No=n.No,r.Eo=n.Eo.slice(),r._o="",e=19):35===_?(r.To=n.To,r.So=n.So,r.Io=n.Io,r.No=n.No,r.Eo=n.Eo.slice(),r._o=n._o,r.Do="",e=20):92===_&&Ar(r)?e=6:(r.To=n.To,r.So=n.So,r.Io=n.Io,r.No=n.No,r.Eo=n.Eo.slice(),r.Eo.pop(),e=17,v-=1);break;case 6:!Ar(r)||47!==_&&92!==_?47===_?e=9:(r.To=n.To,r.So=n.So,r.Io=n.Io,r.No=n.No,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==a[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==_&&92!==_&&(e=9,v-=1);break;case 9:if(64===_){o&&u.unshift(37,52,48),o=!0;for(var p=0;p<u.length;p++){var w=u[p];if(58!==w||f){var m=Rn(Wn(w,Un));f?r.So+=m:r.To+=m}else f=!0}u.length=0}else if(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_){if(o&&0===u.length)throw new c("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.Ao)v-=1,e=15;else if(58!==_||s)if(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_){if(v-=1,Ar(r)&&0===u.length)throw new c("Invalid host");if(null!==i&&0===u.length&&(Nr(r)||null!==r.No))return;var y=Qn(Rn(u),Ar(r));if(r.Io=y,u.length=0,e=16,null!==i)return}else 91===_?s=!0:93===_&&(s=!1),u.push(_);else{if(0===u.length)throw new c("Invalid host");var g=Qn(Rn(u),Ar(r));if(r.Io=g,u.length=0,e=12,11===i)return}break;case 12:if(on(_))u.push(_);else{if(!(Lr===_||47===_||63===_||35===_||Ar(r)&&92===_||null!==i))throw new c("Invalid port");if(0!==u.length){var E=l(Rn(u),10);if(E>65535)throw new c("Invalid port");r.No=E===Er[r.Ao]?null:E,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.Ao="file",47===_||92===_?e=14:n&&"file"===n.Ao?Lr===_?(r.Io=n.Io,r.Eo=n.Eo.slice(),r._o=n._o):63===_?(r.Io=n.Io,r.Eo=n.Eo.slice(),r._o="",e=19):35===_?(r.Io=n.Io,r.Eo=n.Eo.slice(),r._o=n._o,r.Do="",e=20):(Rr(a.slice(v))||(r.Io=n.Io,r.Eo=n.Eo.slice(),Cr(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Ao&&!Rr(a.slice(v))&&(Or(n.Eo[0])?r.Eo.push(n.Eo[0]):r.Io=n.Io),e=17,v-=1);break;case 15:if(Lr===_||47===_||92===_||63===_||35===_)if(v-=1,null===i&&Pr(u))e=17;else if(0===u.length){if(r.Io=Kn,null!==i)return;e=16}else{var S=Qn(Rn(u),Ar(r));if(0===S.$u&&"localhost"===S.oo&&(S=Kn),r.Io=S,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:Ar(r)?(e=17,47!==_&&92!==_&&(v-=1)):null===i&&63===_?(r._o="",e=19):null===i&&35===_?(r.Do="",e=20):Lr!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Lr===_||47===_||Ar(r)&&92===_||null===i&&(63===_||35===_)){var b=Rn(u);if(Tr(b)?(Cr(r),47===_||Ar(r)&&92===_||r.Eo.push("")):!Ir(b)||47===_||Ar(r)&&92===_?Ir(b)||("file"===r.Ao&&0===r.Eo.length&&Pr(u)&&(Kn!==r.Io&&null!==r.Io&&(r.Io=Kn),u[1]=58,b=Rn(u)),r.Eo.push(b)):r.Eo.push(""),u.length=0,"file"===r.Ao&&(Lr===_||63===_||35===_))for(;r.Eo.length>1&&""===r.Eo[0];)r.Eo.shift();63===_?(r._o="",e=19):35===_&&(r.Do="",e=20)}else u.push.apply(u,Wn(_,jn));break;case 18:63===_?(r._o="",e=19):35===_?(r.Do="",e=20):Lr!==_&&(r.Eo[0]+=Rn(Wn(_,xn)));break;case 19:null===i&&35===_?(r.Do="",e=20):Lr!==_&&(r._o+=Rn(Wn(_,Ar(r)?Gn:Hn)));break;case 20:Lr===_||0===_||(r.Do+=Rn(Wn(_,Bn)))}v++}return r}function jr(t,n,r,i){try{Br(t,n,r,i)}catch(t){}}var Ur=function(){this.Ao="",this.To="",this.So="",this.Io=null,this.No=null,this.Eo=[],this._o=null,this.Do=null,this.Ro=!1};function Hr(t){switch(t.Ao){case"blob":var n;try{n=Br(t.Eo[0],null)}catch(t){return gr}return Hr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.Ao,i=t.Io,e=t.No,r+"://"+Jn(i)+(null===e?"":":"+e);case"file":default:return gr}var r,i,e}function Gr(t){return null!=t&&(t instanceof Vr&&"object"==typeof t.do)}var Wr,Vr=function(){function t(t,n){var r,i=null;if(null!=n)if(Gr(n))i=n.do;else try{i=Br(String(n),null)}catch(t){throw new c("Invalid base URL: "+t.message)}try{r=Br(String(t),i)}catch(t){throw new c("Invalid URL: "+t.message)}var e=r._o;this.do=r,this._o=function(t){var n=new _r;return null!==t&&hr(n,t),n}(e),this._o.do=this}var n,r,i,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(r=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Ao+":";if(null!==t.Io?(r+="//",Nr(t)&&(r+=t.To,""!==t.So&&(r+=":"+t.So),r+="@"),r+=Jn(t.Io),null!==t.No&&(r+=":"+t.No)):null===t.Io&&"file"===t.Ao&&(r+="//"),t.Ro)r+=t.Eo[0];else for(var i=0,e=t.Eo;i<e.length;i++)r+="/"+e[i];return null!==t._o&&(r+="?"+t._o),n||null===t.Do||(r+="#"+t.Do),r}(this.do)},set:function(t){var n;try{n=Br(String(t),null)}catch(t){throw new c("Invalid URL: "+t.message)}this.do=n,cr(this._o);var r=this.do._o;null!==r&&hr(this._o,r)}},{key:"origin",get:function(){return Hr(this.do)}},{key:"protocol",get:function(){return this.do.Ao+":"},set:function(t){jr(t+":",null,this.do,0)}},{key:"username",get:function(){return this.do.To},set:function(t){Fr(this.do)||(this.do.To=Vn(t,Un))}},{key:"password",get:function(){return this.do.So},set:function(t){Fr(this.do)||(this.do.So=Vn(t,Un))}},{key:"host",get:function(){var t=this.do,n=t.Io;if(null===n)return"";var r=t.No,i=Jn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.do.Ro||jr(t,null,this.do,10)}},{key:"hostname",get:function(){var t=this.do.Io;return null===t?"":Jn(t)},set:function(t){this.do.Ro||jr(t,null,this.do,11)}},{key:"port",get:function(){var t=this.do.No;return null===t?"":""+t},set:function(t){Fr(this.do)||(""===t?this.do.No=null:jr(t,null,this.do,12))}},{key:"pathname",get:function(){var t=this.do.Eo;return this.do.Ro?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.do.Ro||(this.do.Eo.length=0,jr(t,null,this.do,16))}},{key:"search",get:function(){var t=this.do._o;return null===t||""===t?"":"?"+t},set:function(t){t=ur(t);var n=this.do;if(""===t)return n._o=null,void cr(this._o);"?"===t[0]&&(t=t.slice(1)),n._o="",jr(t,null,n,19),hr(this._o,t)}},{key:"searchParams",get:function(){return this._o}},{key:"hash",get:function(){var t=this.do.Do;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.do.Do="",jr(t,null,this.do,20)):this.do.Do=null}}])&&Wt(n.prototype,r),i&&Wt(n,i),t}();function Xr(t){return t.document&&t.document.baseURI||t.location.href||""}function qr(){return void 0!==i?i.createElement("video"):void 0}var zr=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),Yr=(Wr||(Wr=qr()),Wr),Kr=!(!Yr||!Yr.webkitShowPlaybackTargetPicker),$r=function(){function t(){this.Co=void 0,this.Po=!1,this.ds=zr,this.Ps=!1,this.Oo=!0,this.Bo=!0}var n=t.prototype;return n.Lo=function(){return 0},n.xo=function(t,n){return!0},n.Mo=function(t){return t>=1/6*2},R(t,[{key:"Fo",get:function(){return void 0===this.Co&&(this.Co=this.Lo()),this.Co}},{key:"Uo",get:function(){return r.devicePixelRatio||1}},{key:"Ho",get:function(){return Kr}},{key:"Vo",get:function(){return!1}},{key:"Xo",get:function(){return!0}},{key:"zo",get:function(){return H.ls||H.Ns}},{key:"Wo",get:function(){return!0}},{key:"Go",get:function(){return!0}},{key:"qo",get:function(){}},{key:"jo",get:function(){return!0}}]),t}(),Zr=function(){var t=qr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(H.Is)return!1;var t=qr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Qr=function(t){function n(n){var r;return(r=t.call(this)||this).Yo=void 0,r.Yo=n,r.Yo&&(r.Po=r.Yo.Po,r.ds=r.Yo.ds,r.Oo=Zr&&r.Yo.Oo),r}P(n,t);var r=n.prototype;return r.Lo=function(){return this.Yo?this.Yo.Fo:t.prototype.Lo.call(this)},r.xo=function(n,r){return this.Yo?this.Yo.xo(n,r):t.prototype.xo.call(this,n,r)},r.Mo=function(n){return this.Yo?this.Yo.Mo(n):t.prototype.Mo.call(this,n)},R(n,[{key:"qo",get:function(){var t;return null==(t=this.Yo)?void 0:t.qo}},{key:"jo",get:function(){var t,n;return null==(t=null==(n=this.Yo)?void 0:n.jo)||t}}]),n}($r),Jr=function(t){function n(n){var r;return(r=t.call(this,n)||this).Po=!0,r.Ps=!0,r}return P(n,t),n}(Qr),ti=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Lo=function(){if(!(void 0).MediaSource)return 1},n}(Jr),ni=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.xo=function(n,r){return!(r.Qo>1920)&&t.prototype.xo.call(this,n,r)},R(n,[{key:"Vo",get:function(){return H.Fs<3}},{key:"Xo",get:function(){return H.Fs>=3}}]),n}(Qr),ri=function(t){function n(){return t.call(this)||this}return P(n,t),n}($r),ii=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.xo=function(t,n){if(t&&t.Ko&&n&&n.Ko){var r=ei(t.Ko,"mp4a.40.2")&&ei(n.Ko,"mp4a.40.5"),i=ei(t.Ko,"mp4a.40.5")&&ei(n.Ko,"mp4a.40.2"),e=ei(t.Ko,"mp4a.40.2")&&ei(n.Ko,"mp4a.40.34"),u=ei(t.Ko,"mp4a.40.34")&&ei(n.Ko,"mp4a.40.2"),o=ei(t.Ko,"mp4a.40.5")&&ei(n.Ko,"mp4a.40.34"),s=ei(t.Ko,"mp4a.40.34")&&ei(n.Ko,"mp4a.40.5");return!(r||i||e||u||o||s)}return!0},R(n,[{key:"qo",get:function(){if(H.ls)return 4096}}]),n}(ri);function ei(t,n){return t.indexOf(n)>-1}var ui=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Mo=function(t){return t>=2},n}(ri),oi=function(t){function n(){var n;return(n=t.call(this)||this).Po=H.js>=11,n.Oo=H.qs&&!(H.Ns&&H.js<10),n}return P(n,t),n}(ri),si=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),R(n,[{key:"Wo",get:function(){return!1}}]),n}(Qr),fi=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),R(n,[{key:"jo",get:function(){return!H._s||H.xs}}]),n}(ri),ai=function(){function n(){var n;this.Zo=void 0,this.Jo=new Ot,this.$o=new ci,this.nh=(n=function(){if(H.Ws)return new ii;if(H.Hs||H.Vs)return new ui;if(H.qs)return new oi;if(H.Bs)return new fi;return new ri}(),H.Ns?new ti(n):H.Ps?new Jr(n):H.Ms?new ni(n):H.Us?new si(n):new Qr(n)),this.ih=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.Zo=function(){return t.performance.now()}:this.Zo=At}var r=n.prototype;return r.rh=function(){K.apply(void 0,arguments)},r.eh=function(){$.apply(void 0,arguments)},r.sh=function(){Z.apply(void 0,arguments)},r.uh=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Q.apply(void 0,[t].concat(r))},r.Zr=function(t,n){return u(t,n)},r.oh=function(t,n){return s(t,n)},r.Kr=function(t){o(t)},r.ah=function(t){f(t)},r.Au=function(t){return this.Jo.Au(t)},r.fh=function(){return this.vh.fh()},r.dh=function(){return this.vh.dh()},r.lh=function(){return this.vh.lh()},r._h=function(){return this.vh._h()},r.gh=function(){return this.vh.gh()},r.wh=function(t,n){return this.vh.wh(t,n)},r.yh=function(t){return this.vh.yh(t)},r.kh=function(t,n){var r;return void 0===n&&(n=Xr(void 0)),r="object"!=typeof n||n instanceof Vr?n:n.href,new Vr(t,r)},r.ph=function(n,r){if(void 0===r&&(r=Xr(void 0)),this.ih){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.kh(n,r).href},R(n,[{key:"Ah",get:function(){return this.$o}},{key:"Th",get:function(){return this.nh}},{key:"Sh",get:function(){return{Eh:e&&e.userAgent.match(/Android /i)?"Android":"other",Ih:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Rh",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Nh",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),ci=function(){function t(){}return R(t,[{key:"Dh",get:function(){return e.oscpu}},{key:"Th",get:function(){return e.platform}},{key:"Ch",get:function(){return e.vendor}},{key:"Ph",get:function(){return e.vendorSub}}]),t}();var hi=m(function(t){!function(t){var n,r=h.prototype,i=r.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,r,i){var e=n&&n.prototype instanceof y?n:y,u=h.create(e.prototype),o=new P(i||[]);return u.Oh=function(t,n,r){var i=l;return function(e,u){if(i===p)throw new a("Generator is already running");if(i===w){if("throw"===e)throw u;return C()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var s=N(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r.Bh=r.arg;else if("throw"===r.method){if(i===l)throw i=w,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var f=v(t,n,r);if("normal"===f.type){if(i=r.done?w:_,f.arg===m)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(i=w,r.method="throw",r.arg=f.arg)}}}(t,r,o),u}function v(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",_="suspendedYield",p="executing",w="completed",m={};function y(){}function g(){}function E(){}var S={};S[u]=function(){return this};var b=h.getPrototypeOf,I=b&&b(b(O([])));I&&I!==r&&i.call(I,u)&&(S=I);var T=E.prototype=y.prototype=h.create(S);function k(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Oh(n,t)}})}function A(t){var n;this.Oh=function(r,e){function u(){return new Promise(function(n,u){!function n(r,e,u,o){var s=v(t[r],t,e);if("throw"!==s.type){var f=s.arg,a=f.value;return a&&"object"==typeof a&&i.call(a,"Lh")?Promise.resolve(a.Lh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(a).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(r,e,n,u)})}return n=n?n.then(u,u):u()}}function N(t,r){var i=t.iterator[r.method];if(i===n){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=n,N(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new c("The iterator does not provide a 'throw' method")}return m}var e=v(i,t.iterator,r.arg);if("throw"===e.type)return r.method="throw",r.arg=e.arg,r.delegate=null,m;var u=e.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,m):u:(r.method="throw",r.arg=new c("iterator result is not an object"),r.delegate=null,m)}function R(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function D(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=n,r.done=!0,r};return o.next=o}}return{next:C}}function C(){return{value:n,done:!0}}g.prototype=T.constructor=E,E.constructor=g,E[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return h.setPrototypeOf?h.setPrototypeOf(t,E):(t.__proto__=E,s in t||(t[s]="GeneratorFunction")),t.prototype=h.create(T),t},t.awrap=function(t){return{Lh:t}},k(A.prototype),A.prototype[o]=function(){return this},t.AsyncIterator=A,t.async=function(n,r,i,e){var u=new A(f(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},k(T),T[s]="Generator",T[u]=function(){return this},T.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var i=n.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Bh=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!d(+r.slice(1))&&(this[r]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(i,e){return s.type="throw",s.arg=t,r.next=i,e&&(r.method="next",r.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var f=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(f&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(f){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new a("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,m):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),m},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var e=i.arg;D(r)}return e}}throw new a("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:O(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}(t.exports)});function vi(){return(vi=h.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)h.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function li(){var t=h.create(null);return t.__=void 0,delete t.__,t}var _i,di=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(_i=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=h.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=li(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=li(),this.size=0},n.keys=function(){return new _i(this.data,function(t,n){return n})},n.values=function(){return new _i(this.data,function(t,n){return t[n]})},n.entries=function(){return new _i(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());var pi,wi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",mi="urn:uuid:"+wi;!function(t){t.Vh="playready",t.Xh="widevine",t.Wh="fairplay",t.Gh="clearkey",t.qh="aes128"}(pi||(pi={}));var yi={jh:pi.Vh,Yh:"com.microsoft.playready",Qh:"cenc",Kh:"9a04f079-9840-4286-ab92-e65be0885f95",Zh:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Jh:"PlayReady"},gi={jh:pi.Xh,Yh:"com.widevine.alpha",Qh:"cenc",Kh:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Zh:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Jh:"Widevine"},Ei={jh:pi.Wh,Yh:"com.apple.fps.1_0",Qh:"skd",Kh:wi,Zh:mi,Jh:"FairPlay"},Si=(pi.Wh,{jh:pi.Gh,Yh:"org.w3.clearkey",Qh:"cenc",Kh:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Zh:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Jh:"ClearKey"});var bi=16384;function Ii(t){var n=t.length;if(n<=bi)return String.fromCharCode.apply(String,t);for(var r=[],i=0;i<n;i+=bi)r.push(String.fromCharCode.apply(String,t.slice(i,i+bi)));return r.join("")}var Ti=H.Bs&&H.Ls>=42||H.Ws&&H.Gs>=38||H.Hs||H.Xs||H.Ys&&H.Qs>=29;function ki(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[vi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[vi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var Ai,Ni=function(){function t(t){this.$h=void 0,this.ra=new di,this.ea=void 0,this.$h=t}var n=t.prototype;return n.gh=function(){return this.yh(gi)},n.dh=function(){return this.yh(Si)},n._h=function(){return this.yh(yi)},n.lh=function(){return this.yh(Ei)},n.yh=function(t){var n=t.Zh,r=this.ra.get(n);if(r)return r;var i=this.wh(t,'video/mp4; codecs="avc1.42000a"');return this.ra.set(n,i),i},n.wh=function(){var t=y.coroutine(hi.mark(function t(n,r){return hi.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.$h.ua(n.Yh,[ki(r,!0)]);case 3:return t.abrupt("return",!0);case 6:return t.prev=6,t.t0=t.catch(0),t.prev=8,t.next=11,this.$h.ua(n.Yh,[ki(r,!1)]);case 11:return t.abrupt("return",!0);case 14:return t.prev=14,t.t1=t.catch(8),t.abrupt("return",!1);case 17:case"end":return t.stop()}},t,this,[[0,6],[8,14]])}));return function(n,r){return t.apply(this,arguments)}}(),n.fh=function(){return this.ea||(this.ea=this.oa()),this.ea},n.oa=function(){var t=y.coroutine(hi.mark(function t(){return hi.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Ti){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,this.dh();case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),t}(),Ri=function(){function t(){}var n=t.prototype;return n.Zf=function(){},n.lc=function(t){},n.fc=function(t){},n.Jf=function(t,n){},t}(),Di=function(){function t(){}return t.prototype.ua=function(t,n){return y.reject(new c("Unsupported key system configuration"))},t}();!function(t){t.qv="arraybuffer",t.Yv="json",t.Qv="stream",t.mu="text"}(Ai||(Ai={}));var Pi=function(){function t(n){var r=this;this.Hh=void 0,this.Hh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)}):Array.isArray(n)?n.forEach(function(t){r.append(t[0],t[1])}):n&&h.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=Oi(r),i=Ci(i);var e=r.toLowerCase();if(this.Hh.hasOwnProperty(e)){var u=this.Hh[e],o=u[1];u[1]=o?o+", "+i:i}else this.Hh[e]=[r,i]},n.delete=function(t){var n=Oi(t).toLowerCase();delete this.Hh[n]},n.get=function(t){var n=Oi(t).toLowerCase();return this.Hh.hasOwnProperty(n)?this.Hh[n][1]:null},n.has=function(t){var n=Oi(t).toLowerCase();return this.Hh.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=Oi(r)).toLowerCase();this.Hh[i]=[r,Ci(n)]},n.forEach=function(t,n){for(var r in this.Hh)this.Hh.hasOwnProperty(r)&&t.call(n,this.Hh[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Hh)if(this.Hh.hasOwnProperty(n)){var r=this.Hh[n],i=r[0],e=r[1];t.push([i,e])}return t},n.Kv=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Zv=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.Jv=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function Oi(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new c("Invalid character in header field name");return n}function Ci(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Fi(t,n){return function(t,n){var r=t,i=r.length;if(i<=1)return r;for(var e=new Array(i),u=1;u<i;u*=2){Li(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function Li(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(u=0;u<a;u+=h)for(e=(o=u+r)+r,o>a&&(o=a),e>a&&(e=a),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<o)i[c++]=t[s++];else{if(!(f<e))break;i[c++]=t[f++]}}function Mi(t,n,r){var i=xi(t,n,r);return-1===i?void 0:t[i]}function xi(t,n,r){for(var i=0;i<t.length;i+=1){var e=t[i];if(n.call(r,e,i,t))return i}return-1}function Bi(t,n){var r=t.indexOf(n);return-1!==r&&(ji(t,r),!0)}function ji(t,n){t.splice(n,1)}function Ui(t){t.length=0}var Hi,Gi,Wi,Vi,Xi=function(){function t(){this.va=!1,this._a=!1,this.ma=[],this.ya=[]}var n=t.prototype;return n.Aa=function(){if(!this.va&&!this._a){this.va=!0;for(var t=0,n=this.ma.slice();t<n.length;t++){(0,n[t])()}this.Ta()}},n.Ta=function(){if(!this._a){this._a=!0;for(var t=0,n=this.ya.slice();t<n.length;t++){(0,n[t])()}Ui(this.ma),Ui(this.ya)}},n.Sa=function(t){this._a||this.ma.push(t)},n.Ea=function(t){this._a||Bi(this.ma,t)},n.Ia=function(t){this._a||this.ya.push(t)},n.Ra=function(t){this._a||Bi(this.ya,t)},t}(),qi=function(){function t(){this.Na=new Xi}var n=t.prototype;return n.Da=function(){this.Na.Aa()},n.Ta=function(){this.Na.Ta()},n.Ca=function(t){var n=this.Na;if(!n.va)if(t.va)n.Aa();else if(!n._a&&!t._a){var r=function(){i(),n.Aa()},i=function i(){t.Ea(r),t.Ra(i),n.Ea(r),n.Ra(i)};t.Sa(r),t.Ia(i),n.Sa(r),n.Ia(i)}},n.Pa=function(){var n=new t,r=new t,i=n.Oa,e=r.Oa,u=this.Na,o=function(){i.va&&e._a||e.va&&i._a?u.Aa():i._a&&e._a&&u.Ta()};i.Sa(o),e.Sa(o),i.Ia(o),e.Ia(o),n.Ca(u),r.Ca(u);return u.Ia(function(){i.Ea(o),e.Ea(o),i.Ra(o),e.Ra(o)}),[n,r]},R(t,[{key:"Oa",get:function(){return this.Na}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(Hi||(Hi={})),function(t){t.Kl="",t.Zl="manifest",t.Jl="segment",t.$l="content-protection"}(Gi||(Gi={})),function(t){t.Kl="",t.t_="initialization-segment",t.n_="fairplay-license",t.i_="fairplay-certificate",t.r_="widevine-license",t.e_="widevine-certificate",t.s_="playready-license",t.u_="clearkey-license",t.o_="aes128-key"}(Wi||(Wi={})),function(t){t.Kl="",t.h_="audio",t.a_="video",t.mu="text",t.c_="image"}(Vi||(Vi={}));var zi,Yi=function(t,n){this.Dl=void 0,this.Xl=void 0,this.f_=void 0,this.zl=void 0,this.v_=void 0,this.Oa=void 0,this.jh=void 0,this.d_=void 0,this.l_=void 0,this.Yl=void 0,this.__=void 0,this.g_=void 0;var r,i,e,u,o,s,f,a,c,h,v,l=t.Yl;n?(r=n.Dl,i=n.Xl,e=n.f_,u=n.zl,o=n.v_,s=n.Oa,f=n.jh,a=n.d_,c=n.l_,h=n.__,v=n.g_):(r=null,i={},e=Hi.GET,u=Ai.mu,o=0,f=Gi.Kl,a=Wi.Kl,c=Vi.Kl,h=!1),this.Yl=l,this.Dl=t.Dl||r,this.Xl=new Pi(t.Xl||i),this.f_=t.f_||e,this.zl=t.zl||u,this.v_=void 0!==t.v_?Number(t.v_)||0:o,this.Oa=t.Oa||s||(new qi).Oa,this.jh=t.jh||f,this.d_=t.d_||a,this.l_=t.l_||c,this.__=void 0!==t.__?Boolean(t.__):h,this.g_=t.g_||v};!function(t){t.E_="HttpOpenError",t.I_="HttpResponseError",t.R_="HttpTimeoutError"}(zi||(zi={}));var Ki,$i=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.Yl+". Invalid URL.",r)||this}return P(n,t),R(n,[{key:"name",get:function(){return zi.E_}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).N_=void 0,e.N_=n,e}return P(n,t),R(n,[{key:"ql",get:function(){return this.N_}}]),n}(Dt)),Zi=function(){function t(){}var n=t.prototype;return n.ql=function(t){return y.reject(new $i(new Yi(t)))},n.w_=function(t){},n.m_=function(){},t}();function Qi(t){return"function"==typeof t.fc}function Ji(t,n,r){if(!(r&&n.byte>=r)){var i=Qi(t)?t.fc(n.byte):t[n.byte];return n.byte+=1,i}}function te(t,n){return function(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=256*i+Ji(t,n);return i}(t,n,2)}Ki=new(function(t){function n(){for(var n,r=arguments.length,i=new Array(r),e=0;e<r;e++)i[e]=arguments[e];return(n=t.call.apply(t,[this].concat(i))||this).Tg=new Ni(new Di),n.Jm=new Zi,n.be=new Ri,n}return P(n,t),R(n,[{key:"vh",get:function(){return this.Tg}},{key:"Rg",get:function(){return!1}},{key:"Ng",get:function(){return!1}},{key:"Dg",get:function(){return!1}},{key:"Cg",get:function(){return this.be}},{key:"Pg",get:function(){return{Og:E}}},{key:"Bg",get:function(){return"default"}},{key:"Lg",get:function(){return"unknown"}},{key:"xg",get:function(){return this.Jm}}]),n}(ai));var ne=function(){function t(){this.aot=0,this.cot=[],this.cI={}}var n=t.prototype;return n.fot=function(t){this.cot=this.cot.concat(t.cot),this.aot+=t.Aw},n.vot=function(t,n,r){var i=this.aot,e=r-n;e>0&&(this.cot.push({dot:n,lot:r,_ot:e,got:i,wot:t}),this.aot+=e)},n.fc=function(t){for(var n=0,r=this.cot;n<r.length;n++){var i=r[n];if(i.got<=t&&t<i.got+i._ot)return i.wot[t+i.dot-i.got]}},n.mot=function(t,n){for(var r=n,i=0,e=this.cot;i<e.length;i++)for(var u=e[i],o=u.lot,s=u.dot;s<o;s+=1,r+=1)t[r]=u.wot[s];return r},n.yot=function(){for(var t=new p(this.aot),n=0,r=0,i=this.cot;r<i.length;r++)for(var e=i[r],u=e.lot,o=e.dot;o<u;o+=1,n+=1)t[n]=e.wot[o];return t},n.kc=function(n){for(var r=new t,i=0,e=this.cot;i<e.length;i++){var u=e[i];r.vot(u.wot,u.dot,u.lot)}return r.cI=n||vi({},this.cI),r},R(t,[{key:"Aw",get:function(){return this.aot},set:function(t){var n=this.cot,r=this.aot-t;if(!(t>=this.aot))if(this.aot=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e._ot)return e.lot-=r,e._ot-=r,void(n.length!==i+1&&(n.length=i+1));r-=e._ot}else n.length=0}},{key:"Zu",get:function(){for(var t=new Array(this.aot),n=0,r=0,i=this.cot;r<i.length;r++)for(var e=i[r],u=e.lot,o=e.dot;o<u;o+=1,n+=1)t[n]=e.wot[o];return t}}]),t}();function re(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}var ie=[128,64,32,16,8,4,2,1];function ee(t,n){var r=v.floor(n.bit/8),i=0==(("function"==typeof t.fc?t.fc(r):t[r])&ie[n.bit%8])?0:1;return n.bit+=1,i}function ue(t,n,r){for(var i=0;r>0;)r-=1,i=2*i+ee(t,n);return i}function oe(t,n){return t.push(n),t}function se(t,n,r,i){var e=r||0,u=i||n.length,o=u-e,s=t.length,f=s+o;for(t.length=f;e<u;e+=1,s+=1)t[s]=n[e];return t}function fe(t,n){return se(t,re(n))}function ae(t,n){return se(t,function(t){return[t>>>8&255,255&t]}(n))}var ce,he=function(t){function n(n,r){var i,e=le[n];return(i=t.call(this,e?e.Ja:"")||this).code=void 0,i.info=void 0,i.helpLink=void 0,i.helpLinkText=void 0,i.code=n,i.info=r,i.helpLink=e&&e.XNt,i.helpLinkText=e&&e.zNt,i}return P(n,t),R(n,[{key:"name",get:function(){return"THEOplayerError"}}]),n}(Dt);!function(t){t.WNt="LICENSE_INVALID",t.GNt="MANIFEST_NOT_FOUND",t.qNt="MANIFEST_CORS_ERROR",t.jNt="INVALID_HLS_MANIFEST",t.YNt="PLAYBACK_ISSUE",t.QNt="AUDIO_ISSUE",t.KNt="BROWSER_SUPPORT_ISSUE",t.ZNt="INVALID_KEY",t.JNt="DECRYPTION_ERROR",t.$Nt="AD_BLOCK_DETECTED",t.tDt="THEOPLAYER_NOT_INITIALIZED",t.zw="ERROR",t.nDt="MANIFEST_SEQUENCE_RESET_ERROR",t.iDt="PLAYER_INCORRECTLY_CONFIGURED",t.rDt="UNSUPPORTED"}(ce||(ce={}));for(var ve=[{Ic:ce.WNt,Ja:"The license for this player is invalid. Please contact your service provider for additional information."},{Ic:ce.GNt,Ja:"Could not load the manifest file."},{Ic:ce.qNt,Ja:"Could not load the manifest file. Make sure the source is set correctly and that CORS support is enabled.",XNt:"https://www.theoplayer.com/documentation/cors.html",eDt:!1},{Ic:ce.jNt,Ja:"The source of the player is an invalid HLS manifest.",XNt:"https://developer.apple.com/library/ios/technotes/tn2288/_index.html"},{Ic:ce.YNt,Ja:"There appears to be a playback issue."},{Ic:ce.QNt,Ja:"There is an audio issue. Please contact your service provider with the code below for additional information."},{Ic:ce.KNt,Ja:"Your browser doesn't support a feature. Try upgrading your browser or please contact your service provider referring to the code below."},{Ic:ce.ZNt,Ja:"There is an invalid key being decrypted. Please contact your service provider with the code below for additional information."},{Ic:ce.JNt,Ja:"There is a decryption error. Please contact your service provider with the code below for additional information."},{Ic:ce.$Nt,Ja:"An ad blocker was detected. Please turn it off and refresh the page in order to watch this video."},{Ic:ce.tDt,Ja:"THEOplayer hasn't been initialized yet. Please check your configuration or wait."},{Ic:ce.zw,Ja:"THEOplayer encountered an error. If this issue holds, please contact your service provider."},{Ic:ce.nDt,Ja:"The video stream has been reset. THEOplayer will attempt to reload the source."},{Ic:ce.iDt,Ja:"The player is incorrectly configured.",XNt:"https://support.theoplayer.com/hc/en-us/articles/214343065-Player-API"},{Ic:ce.rDt,Ja:"This browser does not allow you to watch this video. Try to update your browser or use a different browser."}],le={},_e=0;_e<ve.length;_e++){var de=ve[_e];le[de.Ic]=de}var pe="SBR_DETECTED",we=[[[1,0,0,0,0,0],[5,16,1,0,0,0],[5,17,-1,0,0,0],[5,18,0,0,0,-1],[5,19,0,1,0,0],[5,20,0,0,0,1],[5,21,0,0,-1,0],[5,22,0,0,1,0],[5,23,0,-1,0,0],[7,96,1,-1,0,0],[7,97,-1,1,0,0],[7,98,0,0,-1,1],[7,99,0,1,-1,0],[7,100,0,-1,1,0],[7,101,0,0,1,-1],[7,102,1,1,0,0],[7,103,0,0,-1,-1],[7,104,-1,-1,0,0],[7,105,0,-1,-1,0],[7,106,1,0,-1,0],[7,107,0,1,0,-1],[7,108,-1,0,1,0],[7,109,0,0,1,1],[7,110,1,0,1,0],[7,111,0,-1,0,1],[7,112,0,1,1,0],[7,113,0,1,0,1],[7,114,-1,0,-1,0],[7,115,1,0,0,1],[7,116,-1,0,0,-1],[7,117,1,0,0,-1],[7,118,-1,0,0,1],[7,119,0,-1,0,-1],[9,480,1,1,-1,0],[9,481,-1,1,-1,0],[9,482,1,-1,1,0],[9,483,0,1,1,-1],[9,484,0,1,-1,1],[9,485,0,-1,1,1],[9,486,0,-1,1,-1],[9,487,1,-1,-1,0],[9,488,1,0,-1,1],[9,489,0,1,-1,-1],[9,490,-1,1,1,0],[9,491,-1,0,1,-1],[9,492,-1,-1,1,0],[9,493,0,-1,-1,1],[9,494,1,-1,0,1],[9,495,1,-1,0,-1],[9,496,-1,1,0,-1],[9,497,-1,-1,-1,0],[9,498,0,-1,-1,-1],[9,499,0,1,1,1],[9,500,1,0,1,-1],[9,501,1,1,0,1],[9,502,-1,1,0,1],[9,503,1,1,1,0],[10,1008,-1,-1,0,1],[10,1009,-1,0,-1,-1],[10,1010,1,1,0,-1],[10,1011,1,0,-1,-1],[10,1012,-1,0,-1,1],[10,1013,-1,-1,0,-1],[10,1014,-1,0,1,1],[10,1015,1,0,1,1],[11,2032,1,-1,1,-1],[11,2033,-1,1,-1,1],[11,2034,-1,1,1,-1],[11,2035,1,-1,-1,1],[11,2036,1,1,1,1],[11,2037,-1,-1,1,1],[11,2038,1,1,-1,-1],[11,2039,-1,-1,1,-1],[11,2040,-1,-1,-1,-1],[11,2041,1,1,-1,1],[11,2042,1,-1,1,1],[11,2043,-1,1,1,1],[11,2044,-1,1,-1,-1],[11,2045,-1,-1,-1,1],[11,2046,1,-1,-1,-1],[11,2047,1,1,1,-1]],[[3,0,0,0,0,0],[4,2,1,0,0,0],[5,6,-1,0,0,0],[5,7,0,0,0,1],[5,8,0,0,-1,0],[5,9,0,0,0,-1],[5,10,0,-1,0,0],[5,11,0,0,1,0],[5,12,0,1,0,0],[6,26,0,-1,1,0],[6,27,-1,1,0,0],[6,28,0,1,-1,0],[6,29,0,0,1,-1],[6,30,0,1,0,-1],[6,31,0,0,-1,1],[6,32,-1,0,0,-1],[6,33,1,-1,0,0],[6,34,1,0,-1,0],[6,35,-1,-1,0,0],[6,36,0,0,-1,-1],[6,37,1,0,1,0],[6,38,1,0,0,1],[6,39,0,-1,0,1],[6,40,-1,0,1,0],[6,41,0,1,0,1],[6,42,0,-1,-1,0],[6,43,-1,0,0,1],[6,44,0,-1,0,-1],[6,45,-1,0,-1,0],[6,46,1,1,0,0],[6,47,0,1,1,0],[6,48,0,0,1,1],[6,49,1,0,0,-1],[7,100,0,1,-1,1],[7,101,1,0,-1,1],[7,102,-1,1,-1,0],[7,103,0,-1,1,-1],[7,104,1,-1,1,0],[7,105,1,1,0,-1],[7,106,1,0,1,1],[7,107,-1,1,1,0],[7,108,0,-1,-1,1],[7,109,1,1,1,0],[7,110,-1,0,1,-1],[7,111,-1,-1,-1,0],[7,112,-1,0,-1,1],[7,113,1,-1,-1,0],[7,114,1,1,-1,0],[8,230,1,-1,0,1],[8,231,-1,1,0,-1],[8,232,-1,-1,1,0],[8,233,-1,0,1,1],[8,234,-1,-1,0,1],[8,235,-1,-1,0,-1],[8,236,0,-1,-1,-1],[8,237,1,0,1,-1],[8,238,1,0,-1,-1],[8,239,0,1,-1,-1],[8,240,0,1,1,1],[8,241,-1,1,0,1],[8,242,-1,0,-1,-1],[8,243,0,1,1,-1],[8,244,1,-1,0,-1],[8,245,0,-1,1,1],[8,246,1,1,0,1],[8,247,1,-1,1,-1],[8,248,-1,1,-1,1],[9,498,1,-1,-1,1],[9,499,-1,-1,-1,-1],[9,500,-1,1,1,-1],[9,501,-1,1,1,1],[9,502,1,1,1,1],[9,503,-1,-1,1,-1],[9,504,1,-1,1,1],[9,505,-1,1,-1,-1],[9,506,-1,-1,1,1],[9,507,1,1,-1,-1],[9,508,1,-1,-1,-1],[9,509,-1,-1,-1,1],[9,510,1,1,-1,1],[9,511,1,1,1,-1]],[[1,0,0,0,0,0],[4,8,1,0,0,0],[4,9,0,0,0,1],[4,10,0,1,0,0],[4,11,0,0,1,0],[5,24,1,1,0,0],[5,25,0,0,1,1],[6,52,0,1,1,0],[6,53,0,1,0,1],[6,54,1,0,1,0],[6,55,0,1,1,1],[6,56,1,0,0,1],[6,57,1,1,1,0],[7,116,1,1,1,1],[7,117,1,0,1,1],[7,118,1,1,0,1],[8,238,2,0,0,0],[8,239,0,0,0,2],[8,240,0,0,1,2],[8,241,2,1,0,0],[8,242,1,2,1,0],[9,486,0,0,2,1],[9,487,0,1,2,1],[9,488,1,2,0,0],[9,489,0,1,1,2],[9,490,2,1,1,0],[9,491,0,0,2,0],[9,492,0,2,1,0],[9,493,0,1,2,0],[9,494,0,2,0,0],[9,495,0,1,0,2],[9,496,2,0,1,0],[9,497,1,2,1,1],[9,498,0,2,1,1],[9,499,1,1,2,0],[9,500,1,1,2,1],[10,1002,1,2,0,1],[10,1003,1,0,2,0],[10,1004,1,0,2,1],[10,1005,0,2,0,1],[10,1006,2,1,1,1],[10,1007,1,1,1,2],[10,1008,2,1,0,1],[10,1009,1,0,1,2],[10,1010,0,0,2,2],[10,1011,0,1,2,2],[10,1012,2,2,1,0],[10,1013,1,2,2,0],[10,1014,1,0,0,2],[10,1015,2,0,0,1],[10,1016,0,2,2,1],[11,2034,2,2,0,0],[11,2035,1,2,2,1],[11,2036,1,1,0,2],[11,2037,2,0,1,1],[11,2038,1,1,2,2],[11,2039,2,2,1,1],[11,2040,0,2,2,0],[11,2041,0,2,1,2],[12,4084,1,0,2,2],[12,4085,2,2,0,1],[12,4086,2,1,2,0],[12,4087,2,2,2,0],[12,4088,0,2,2,2],[12,4089,2,2,2,1],[12,4090,2,1,2,1],[12,4091,1,2,1,2],[12,4092,1,2,2,2],[13,8186,0,2,0,2],[13,8187,2,0,2,0],[13,8188,1,2,0,2],[14,16378,2,0,2,1],[14,16379,2,1,1,2],[14,16380,2,1,0,2],[15,32762,2,2,2,2],[15,32763,2,2,1,2],[15,32764,2,1,2,2],[15,32765,2,0,1,2],[15,32766,2,0,0,2],[16,65534,2,2,0,2],[16,65535,2,0,2,2]],[[4,0,1,1,1,1],[4,1,0,1,1,1],[4,2,1,1,0,1],[4,3,1,1,1,0],[4,4,1,0,1,1],[4,5,1,0,0,0],[4,6,1,1,0,0],[4,7,0,0,0,0],[4,8,0,0,1,1],[4,9,1,0,1,0],[5,20,1,0,0,1],[5,21,0,1,1,0],[5,22,0,0,0,1],[5,23,0,1,0,1],[5,24,0,0,1,0],[5,25,0,1,0,0],[7,104,2,1,1,1],[7,105,1,1,2,1],[7,106,1,2,1,1],[7,107,1,1,1,2],[7,108,2,1,1,0],[7,109,2,1,0,1],[7,110,1,2,1,0],[7,111,2,0,1,1],[7,112,0,1,2,1],[8,226,0,1,1,2],[8,227,1,1,2,0],[8,228,0,2,1,1],[8,229,1,0,1,2],[8,230,1,2,0,1],[8,231,1,1,0,2],[8,232,1,0,2,1],[8,233,2,1,0,0],[8,234,2,0,1,0],[8,235,1,2,0,0],[8,236,2,0,0,1],[8,237,0,1,0,2],[8,238,0,2,1,0],[8,239,0,0,1,2],[8,240,0,1,2,0],[8,241,0,2,0,1],[8,242,1,0,0,2],[8,243,0,0,2,1],[8,244,1,0,2,0],[8,245,2,0,0,0],[8,246,0,0,0,2],[9,494,0,2,0,0],[9,495,0,0,2,0],[9,496,1,2,2,1],[9,497,2,2,1,1],[9,498,2,1,2,1],[9,499,1,1,2,2],[9,500,1,2,1,2],[9,501,2,1,1,2],[10,1004,1,2,2,0],[10,1005,2,2,1,0],[10,1006,2,1,2,0],[10,1007,0,2,2,1],[10,1008,0,1,2,2],[10,1009,2,2,0,1],[10,1010,0,2,1,2],[10,1011,2,0,2,1],[10,1012,1,0,2,2],[10,1013,2,2,2,1],[10,1014,1,2,0,2],[10,1015,2,0,1,2],[10,1016,2,1,0,2],[10,1017,1,2,2,2],[11,2036,2,1,2,2],[11,2037,2,2,1,2],[11,2038,0,2,2,0],[11,2039,2,2,0,0],[11,2040,0,0,2,2],[11,2041,2,0,2,0],[11,2042,0,2,0,2],[11,2043,2,0,0,2],[11,2044,2,2,2,2],[11,2045,0,2,2,2],[11,2046,2,2,2,0],[12,4094,2,2,0,2],[12,4095,2,0,2,2]],[[1,0,0,0],[4,8,-1,0],[4,9,1,0],[4,10,0,1],[4,11,0,-1],[5,24,1,-1],[5,25,-1,1],[5,26,-1,-1],[5,27,1,1],[7,112,-2,0],[7,113,0,2],[7,114,2,0],[7,115,0,-2],[8,232,-2,-1],[8,233,2,1],[8,234,-1,-2],[8,235,1,2],[8,236,-2,1],[8,237,2,-1],[8,238,-1,2],[8,239,1,-2],[8,240,-3,0],[8,241,3,0],[8,242,0,-3],[8,243,0,3],[9,488,-3,-1],[9,489,1,3],[9,490,3,1],[9,491,-1,-3],[9,492,-3,1],[9,493,3,-1],[9,494,1,-3],[9,495,-1,3],[9,496,-2,2],[9,497,2,2],[9,498,-2,-2],[9,499,2,-2],[10,1e3,-3,-2],[10,1001,3,-2],[10,1002,-2,3],[10,1003,2,-3],[10,1004,3,2],[10,1005,2,3],[10,1006,-3,2],[10,1007,-2,-3],[10,1008,0,-4],[10,1009,-4,0],[10,1010,4,1],[10,1011,4,0],[11,2024,-4,-1],[11,2025,0,4],[11,2026,4,-1],[11,2027,-1,-4],[11,2028,1,4],[11,2029,-1,4],[11,2030,-4,1],[11,2031,1,-4],[11,2032,3,-3],[11,2033,-3,-3],[11,2034,-3,3],[11,2035,-2,4],[11,2036,-4,-2],[11,2037,4,2],[11,2038,2,-4],[11,2039,2,4],[11,2040,3,3],[11,2041,-4,2],[12,4084,-2,-4],[12,4085,4,-2],[12,4086,3,-4],[12,4087,-4,-3],[12,4088,-4,3],[12,4089,3,4],[12,4090,-3,4],[12,4091,4,3],[12,4092,4,-3],[12,4093,-3,-4],[13,8188,4,-4],[13,8189,-4,4],[13,8190,4,4],[13,8191,-4,-4]],[[4,0,0,0],[4,1,1,0],[4,2,0,-1],[4,3,0,1],[4,4,-1,0],[4,5,1,1],[4,6,-1,1],[4,7,1,-1],[4,8,-1,-1],[6,36,2,-1],[6,37,2,1],[6,38,-2,1],[6,39,-2,-1],[6,40,-2,0],[6,41,-1,2],[6,42,2,0],[6,43,1,-2],[6,44,1,2],[6,45,0,-2],[6,46,-1,-2],[6,47,0,2],[6,48,2,-2],[6,49,-2,2],[6,50,-2,-2],[6,51,2,2],[7,104,-3,1],[7,105,3,1],[7,106,3,-1],[7,107,-1,3],[7,108,-3,-1],[7,109,1,3],[7,110,1,-3],[7,111,-1,-3],[7,112,3,0],[7,113,-3,0],[7,114,0,-3],[7,115,0,3],[7,116,3,2],[8,234,-3,-2],[8,235,-2,3],[8,236,2,3],[8,237,3,-2],[8,238,2,-3],[8,239,-2,-3],[8,240,-3,2],[8,241,3,3],[9,484,3,-3],[9,485,-3,-3],[9,486,-3,3],[9,487,1,-4],[9,488,-1,-4],[9,489,4,1],[9,490,-4,1],[9,491,-4,-1],[9,492,1,4],[9,493,4,-1],[9,494,-1,4],[9,495,0,-4],[9,496,-4,2],[9,497,-4,-2],[9,498,2,4],[9,499,-2,-4],[9,500,-4,0],[9,501,4,2],[9,502,4,-2],[9,503,-2,4],[9,504,4,0],[9,505,2,-4],[9,506,0,4],[10,1014,-3,-4],[10,1015,-3,4],[10,1016,3,-4],[10,1017,4,-3],[10,1018,3,4],[10,1019,4,3],[10,1020,-4,3],[10,1021,-4,-3],[11,2044,4,4],[11,2045,-4,4],[11,2046,-4,-4],[11,2047,4,-4]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,1,3],[7,114,2,2],[7,115,3,0],[7,116,0,3],[8,234,2,3],[8,235,3,2],[8,236,1,4],[8,237,4,1],[8,238,1,5],[8,239,5,1],[8,240,3,3],[8,241,2,4],[8,242,0,4],[8,243,4,0],[9,488,4,2],[9,489,2,5],[9,490,5,2],[9,491,0,5],[9,492,6,1],[9,493,5,0],[9,494,1,6],[9,495,4,3],[9,496,3,5],[9,497,3,4],[9,498,5,3],[9,499,2,6],[9,500,6,2],[9,501,1,7],[10,1004,3,6],[10,1005,0,6],[10,1006,6,0],[10,1007,4,4],[10,1008,7,1],[10,1009,4,5],[10,1010,7,2],[10,1011,5,4],[10,1012,6,3],[10,1013,2,7],[10,1014,7,3],[10,1015,6,4],[10,1016,5,5],[10,1017,4,6],[10,1018,3,7],[11,2038,7,0],[11,2039,0,7],[11,2040,6,5],[11,2041,5,6],[11,2042,7,4],[11,2043,4,7],[11,2044,5,7],[11,2045,7,5],[12,4092,7,6],[12,4093,6,6],[12,4094,6,7],[12,4095,7,7]],[[3,0,1,1],[4,2,2,1],[4,3,1,0],[4,4,1,2],[4,5,0,1],[4,6,2,2],[5,14,0,0],[5,15,2,0],[5,16,0,2],[5,17,3,1],[5,18,1,3],[5,19,3,2],[5,20,2,3],[6,42,3,3],[6,43,4,1],[6,44,1,4],[6,45,4,2],[6,46,2,4],[6,47,3,0],[6,48,0,3],[6,49,4,3],[6,50,3,4],[6,51,5,2],[7,104,5,1],[7,105,2,5],[7,106,1,5],[7,107,5,3],[7,108,3,5],[7,109,4,4],[7,110,5,4],[7,111,0,4],[7,112,4,5],[7,113,4,0],[7,114,2,6],[7,115,6,2],[7,116,6,1],[7,117,1,6],[8,236,3,6],[8,237,6,3],[8,238,5,5],[8,239,5,0],[8,240,6,4],[8,241,0,5],[8,242,4,6],[8,243,7,1],[8,244,7,2],[8,245,2,7],[8,246,6,5],[8,247,7,3],[8,248,1,7],[8,249,5,6],[8,250,3,7],[9,502,6,6],[9,503,7,4],[9,504,6,0],[9,505,4,7],[9,506,0,6],[9,507,7,5],[9,508,7,6],[9,509,6,7],[10,1020,5,7],[10,1021,7,0],[10,1022,0,7],[10,1023,7,7]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,2,2],[7,114,1,3],[8,230,3,0],[8,231,0,3],[8,232,2,3],[8,233,3,2],[8,234,1,4],[8,235,4,1],[8,236,2,4],[8,237,1,5],[9,476,4,2],[9,477,3,3],[9,478,0,4],[9,479,4,0],[9,480,5,1],[9,481,2,5],[9,482,1,6],[9,483,3,4],[9,484,5,2],[9,485,6,1],[9,486,4,3],[10,974,0,5],[10,975,2,6],[10,976,5,0],[10,977,1,7],[10,978,3,5],[10,979,1,8],[10,980,8,1],[10,981,4,4],[10,982,5,3],[10,983,6,2],[10,984,7,1],[10,985,0,6],[10,986,8,2],[10,987,2,8],[10,988,3,6],[10,989,2,7],[10,990,4,5],[10,991,9,1],[10,992,1,9],[10,993,7,2],[11,1988,6,0],[11,1989,5,4],[11,1990,6,3],[11,1991,8,3],[11,1992,0,7],[11,1993,9,2],[11,1994,3,8],[11,1995,4,6],[11,1996,3,7],[11,1997,0,8],[11,1998,10,1],[11,1999,6,4],[11,2e3,2,9],[11,2001,5,5],[11,2002,8,0],[11,2003,7,0],[11,2004,7,3],[11,2005,10,2],[11,2006,9,3],[11,2007,8,4],[11,2008,1,10],[11,2009,7,4],[11,2010,6,5],[11,2011,5,6],[11,2012,4,8],[11,2013,4,7],[11,2014,3,9],[11,2015,11,1],[11,2016,5,8],[11,2017,9,0],[11,2018,8,5],[12,4038,10,3],[12,4039,2,10],[12,4040,0,9],[12,4041,11,2],[12,4042,9,4],[12,4043,6,6],[12,4044,12,1],[12,4045,4,9],[12,4046,8,6],[12,4047,1,11],[12,4048,9,5],[12,4049,10,4],[12,4050,5,7],[12,4051,7,5],[12,4052,2,11],[12,4053,1,12],[12,4054,12,2],[12,4055,11,3],[12,4056,3,10],[12,4057,5,9],[12,4058,6,7],[12,4059,8,7],[12,4060,11,4],[12,4061,0,10],[12,4062,7,6],[12,4063,12,3],[12,4064,10,0],[12,4065,10,5],[12,4066,4,10],[12,4067,6,8],[12,4068,2,12],[12,4069,9,6],[12,4070,9,7],[12,4071,4,11],[12,4072,11,0],[12,4073,6,9],[12,4074,3,11],[12,4075,5,10],[13,8152,8,8],[13,8153,7,8],[13,8154,12,5],[13,8155,3,12],[13,8156,11,5],[13,8157,7,7],[13,8158,12,4],[13,8159,11,6],[13,8160,10,6],[13,8161,4,12],[13,8162,7,9],[13,8163,5,11],[13,8164,0,11],[13,8165,12,6],[13,8166,6,10],[13,8167,12,0],[13,8168,10,7],[13,8169,5,12],[13,8170,7,10],[13,8171,9,8],[13,8172,0,12],[13,8173,11,7],[13,8174,8,9],[13,8175,9,9],[13,8176,10,8],[13,8177,7,11],[13,8178,12,7],[13,8179,6,11],[13,8180,8,11],[13,8181,11,8],[13,8182,7,12],[13,8183,6,12],[14,16368,8,10],[14,16369,10,9],[14,16370,8,12],[14,16371,9,10],[14,16372,9,11],[14,16373,9,12],[14,16374,10,11],[14,16375,12,9],[14,16376,10,10],[14,16377,11,9],[14,16378,12,8],[14,16379,11,10],[14,16380,12,10],[14,16381,12,11],[15,32764,10,12],[15,32765,11,11],[15,32766,11,12],[15,32767,12,12]],[[4,0,1,1],[4,1,1,2],[4,2,2,1],[5,6,2,2],[5,7,1,0],[5,8,0,1],[5,9,1,3],[5,10,3,2],[5,11,3,1],[5,12,2,3],[5,13,3,3],[6,28,2,0],[6,29,0,2],[6,30,2,4],[6,31,4,2],[6,32,1,4],[6,33,4,1],[6,34,0,0],[6,35,4,3],[6,36,3,4],[6,37,3,0],[6,38,0,3],[6,39,4,4],[6,40,2,5],[6,41,5,2],[7,84,1,5],[7,85,5,1],[7,86,5,3],[7,87,3,5],[7,88,5,4],[7,89,4,5],[7,90,6,2],[7,91,2,6],[7,92,6,3],[7,93,4,0],[7,94,6,1],[7,95,0,4],[7,96,1,6],[7,97,3,6],[7,98,5,5],[7,99,6,4],[7,100,4,6],[8,202,6,5],[8,203,7,2],[8,204,3,7],[8,205,2,7],[8,206,5,6],[8,207,8,2],[8,208,7,3],[8,209,5,0],[8,210,7,1],[8,211,0,5],[8,212,8,1],[8,213,1,7],[8,214,8,3],[8,215,7,4],[8,216,4,7],[8,217,2,8],[8,218,6,6],[8,219,7,5],[8,220,1,8],[8,221,3,8],[8,222,8,4],[8,223,4,8],[8,224,5,7],[8,225,8,5],[8,226,5,8],[9,454,7,6],[9,455,6,7],[9,456,9,2],[9,457,6,0],[9,458,6,8],[9,459,9,3],[9,460,3,9],[9,461,9,1],[9,462,2,9],[9,463,0,6],[9,464,8,6],[9,465,9,4],[9,466,4,9],[9,467,10,2],[9,468,1,9],[9,469,7,7],[9,470,8,7],[9,471,9,5],[9,472,7,8],[9,473,10,3],[9,474,5,9],[9,475,10,4],[9,476,2,10],[9,477,10,1],[9,478,3,10],[9,479,9,6],[9,480,6,9],[9,481,8,0],[9,482,4,10],[9,483,7,0],[9,484,11,2],[10,970,7,9],[10,971,11,3],[10,972,10,6],[10,973,1,10],[10,974,11,1],[10,975,9,7],[10,976,0,7],[10,977,8,8],[10,978,10,5],[10,979,3,11],[10,980,5,10],[10,981,8,9],[10,982,11,5],[10,983,0,8],[10,984,11,4],[10,985,2,11],[10,986,7,10],[10,987,6,10],[10,988,10,7],[10,989,4,11],[10,990,1,11],[10,991,12,2],[10,992,9,8],[10,993,12,3],[10,994,11,6],[10,995,5,11],[10,996,12,4],[10,997,11,7],[10,998,12,5],[10,999,3,12],[10,1e3,6,11],[10,1001,9,0],[10,1002,10,8],[10,1003,10,0],[10,1004,12,1],[10,1005,0,9],[10,1006,4,12],[10,1007,9,9],[10,1008,12,6],[10,1009,2,12],[10,1010,8,10],[11,2022,9,10],[11,2023,1,12],[11,2024,11,8],[11,2025,12,7],[11,2026,7,11],[11,2027,5,12],[11,2028,6,12],[11,2029,10,9],[11,2030,8,11],[11,2031,12,8],[11,2032,0,10],[11,2033,7,12],[11,2034,11,0],[11,2035,10,10],[11,2036,11,9],[11,2037,11,10],[11,2038,0,11],[11,2039,11,11],[11,2040,9,11],[11,2041,10,11],[11,2042,12,0],[11,2043,8,12],[12,4088,12,9],[12,4089,10,12],[12,4090,9,12],[12,4091,11,12],[12,4092,12,11],[12,4093,0,12],[12,4094,12,10],[12,4095,12,12]],[[4,0,0,0],[4,1,1,1],[5,4,16,16],[5,5,1,0],[5,6,0,1],[5,7,2,1],[5,8,1,2],[5,9,2,2],[6,20,1,3],[6,21,3,1],[6,22,3,2],[6,23,2,0],[6,24,2,3],[6,25,0,2],[6,26,3,3],[7,54,4,1],[7,55,1,4],[7,56,4,2],[7,57,2,4],[7,58,4,3],[7,59,3,4],[7,60,3,0],[7,61,0,3],[7,62,5,1],[7,63,5,2],[7,64,2,5],[7,65,4,4],[7,66,1,5],[7,67,5,3],[7,68,3,5],[7,69,5,4],[8,140,4,5],[8,141,6,2],[8,142,2,6],[8,143,6,1],[8,144,6,3],[8,145,3,6],[8,146,1,6],[8,147,4,16],[8,148,3,16],[8,149,16,5],[8,150,16,3],[8,151,16,4],[8,152,6,4],[8,153,16,6],[8,154,4,0],[8,155,4,6],[8,156,0,4],[8,157,2,16],[8,158,5,5],[8,159,5,16],[8,160,16,7],[8,161,16,2],[8,162,16,8],[8,163,2,7],[8,164,7,2],[8,165,3,7],[8,166,6,5],[8,167,5,6],[8,168,6,16],[8,169,16,10],[8,170,7,3],[8,171,7,1],[8,172,16,9],[8,173,7,16],[8,174,1,16],[8,175,1,7],[8,176,4,7],[8,177,16,11],[8,178,7,4],[8,179,16,12],[8,180,8,16],[8,181,16,1],[8,182,6,6],[8,183,9,16],[8,184,2,8],[8,185,5,7],[8,186,10,16],[8,187,16,13],[8,188,8,3],[8,189,8,2],[8,190,3,8],[8,191,5,0],[8,192,16,14],[8,193,11,16],[8,194,7,5],[8,195,4,8],[8,196,6,7],[8,197,7,6],[8,198,0,5],[9,398,8,4],[9,399,16,15],[9,400,12,16],[9,401,1,8],[9,402,8,1],[9,403,14,16],[9,404,5,8],[9,405,13,16],[9,406,3,9],[9,407,8,5],[9,408,7,7],[9,409,2,9],[9,410,8,6],[9,411,9,2],[9,412,9,3],[9,413,15,16],[9,414,4,9],[9,415,6,8],[9,416,6,0],[9,417,9,4],[9,418,5,9],[9,419,8,7],[9,420,7,8],[9,421,1,9],[9,422,10,3],[9,423,0,6],[9,424,10,2],[9,425,9,1],[9,426,9,5],[9,427,4,10],[9,428,2,10],[9,429,9,6],[9,430,3,10],[9,431,6,9],[9,432,10,4],[9,433,8,8],[9,434,10,5],[9,435,9,7],[9,436,11,3],[9,437,1,10],[9,438,7,0],[9,439,10,6],[9,440,7,9],[9,441,3,11],[9,442,5,10],[9,443,10,1],[9,444,4,11],[9,445,11,2],[9,446,13,2],[9,447,6,10],[9,448,13,3],[9,449,2,11],[9,450,16,0],[9,451,5,11],[9,452,11,5],[10,906,11,4],[10,907,9,8],[10,908,7,10],[10,909,8,9],[10,910,0,16],[10,911,4,13],[10,912,0,7],[10,913,3,13],[10,914,11,6],[10,915,13,1],[10,916,13,4],[10,917,12,3],[10,918,2,13],[10,919,13,5],[10,920,8,10],[10,921,6,11],[10,922,10,8],[10,923,10,7],[10,924,14,2],[10,925,12,4],[10,926,1,11],[10,927,4,12],[10,928,11,1],[10,929,3,12],[10,930,1,13],[10,931,12,2],[10,932,7,11],[10,933,3,14],[10,934,5,12],[10,935,5,13],[10,936,14,4],[10,937,4,14],[10,938,11,7],[10,939,14,3],[10,940,12,5],[10,941,13,6],[10,942,12,6],[10,943,8,0],[10,944,11,8],[10,945,2,12],[10,946,9,9],[10,947,14,5],[10,948,6,13],[10,949,10,10],[10,950,15,2],[10,951,8,11],[10,952,9,10],[10,953,14,6],[10,954,10,9],[10,955,5,14],[10,956,11,9],[10,957,14,1],[10,958,2,14],[10,959,6,12],[10,960,1,12],[10,961,13,8],[10,962,0,8],[10,963,13,7],[10,964,7,12],[10,965,12,7],[10,966,7,13],[10,967,15,3],[10,968,12,1],[10,969,6,14],[10,970,2,15],[10,971,15,5],[10,972,15,4],[10,973,1,14],[10,974,9,11],[10,975,4,15],[10,976,14,7],[10,977,8,13],[10,978,13,9],[10,979,8,12],[10,980,5,15],[10,981,3,15],[10,982,10,11],[10,983,11,10],[10,984,12,8],[10,985,15,6],[10,986,15,7],[10,987,8,14],[10,988,15,1],[10,989,7,14],[10,990,9,0],[10,991,0,9],[10,992,9,13],[10,993,9,12],[10,994,12,9],[10,995,14,8],[10,996,10,13],[10,997,14,9],[10,998,12,10],[10,999,6,15],[10,1e3,7,15],[11,2002,9,14],[11,2003,15,8],[11,2004,11,11],[11,2005,11,14],[11,2006,1,15],[11,2007,10,12],[11,2008,10,14],[11,2009,13,11],[11,2010,13,10],[11,2011,11,13],[11,2012,11,12],[11,2013,8,15],[11,2014,14,11],[11,2015,13,12],[11,2016,12,13],[11,2017,15,9],[11,2018,14,10],[11,2019,10,0],[11,2020,12,11],[11,2021,9,15],[11,2022,0,10],[11,2023,12,12],[11,2024,11,0],[11,2025,12,14],[11,2026,10,15],[11,2027,13,13],[11,2028,0,13],[11,2029,14,12],[11,2030,15,10],[11,2031,15,11],[11,2032,11,15],[11,2033,14,13],[11,2034,13,0],[11,2035,0,11],[11,2036,13,14],[11,2037,15,12],[11,2038,15,13],[11,2039,12,15],[11,2040,14,0],[11,2041,14,14],[11,2042,13,15],[11,2043,12,0],[11,2044,14,15],[12,4090,0,14],[12,4091,0,12],[12,4092,15,14],[12,4093,15,0],[12,4094,0,15],[12,4095,15,15]]],me=[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,96,108,120,132,144,156,172,188,212,240,276,320,384,448,512,576,640,704,768,832,896,960,1024],ye=[0,4,8,12,16,20,24,32,40,48,64,92,128],ge=[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,1024],Ee=[0,4,8,12,16,20,28,36,44,56,68,80,96,112,128],Se=[0,4,8,12,16,20,24,28,32,36,40,44,52,60,68,76,84,92,100,108,116,124,136,148,160,172,188,204,220,240,260,284,308,336,364,396,432,468,508,552,600,652,704,768,832,896,960,1024],be=[0,4,8,12,16,20,24,28,36,44,52,64,76,92,108,128],Ie=[0,8,16,24,32,40,48,56,64,72,80,88,100,112,124,136,148,160,172,184,196,212,228,244,260,280,300,320,344,368,396,424,456,492,532,572,616,664,716,772,832,896,960,1024],Te=[0,4,8,12,16,20,24,28,32,40,48,60,72,88,108,128],ke=[me,me,[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,100,112,124,140,156,172,192,216,240,268,304,344,384,424,464,504,544,584,624,664,704,744,784,824,864,904,944,984,1024],ge,ge,[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024],Se,Se,Ie,Ie,Ie,[0,12,24,36,48,60,72,84,96,108,120,132,144,156,172,188,204,220,236,252,268,288,308,328,348,372,396,420,448,476,508,544,580,620,664,712,764,820,880,944,1024]],Ae=[ye,ye,[0,4,8,12,16,20,24,32,40,48,64,92,128],Ee,Ee,Ee,be,be,Te,Te,Te,[0,4,8,12,16,20,24,28,36,44,52,60,72,88,108,128]],Ne=2;function Re(t,n,r,i){var e;if(t.zu=[1,0,0,0,0,0,0,0],r.bit+=1,t.ts=ue(n,r,2),r.bit+=1,t.ts===Ne){for(t.es=0,t.os=ue(n,r,4),e=0;e<7;e+=1)ee(n,r)?t.zu[t.es]+=1:(t.es+=1,t.zu[t.es]=1);t.es+=1,t.ss=8,t.as=Ae[t.hyt]}else if(t.es=1,t.ss=1,t.as=ke[t.hyt],t.os=ue(n,r,6),ee(n,r))throw new he(ce.QNt,{info:"Prediction not implemented"})}var De,Pe,Oe=[[1,0],[3,4],[4,10],[4,11],[4,12],[5,26],[5,27],[6,56],[6,57],[6,58],[6,59],[7,120],[7,121],[7,122],[8,246],[8,247],[8,248],[8,249],[8,250],[9,502],[9,503],[9,504],[9,505],[10,1012],[10,1013],[10,1014],[10,1015],[10,1016],[10,1017],[11,2036],[11,2037],[11,2038],[11,2039],[11,2040],[11,2041],[12,4084],[12,4085],[12,4086],[12,4087],[12,4088],[12,4089],[13,8180],[13,8181],[13,8182],[13,8183],[13,8184],[14,16370],[14,16371],[14,16372],[14,16373],[14,16374],[14,16375],[14,16376],[14,16377],[15,32756],[15,32757],[15,32758],[15,32759],[16,65520],[16,65521],[16,65522],[16,65523],[16,65524],[16,65525],[16,65526],[17,131054],[17,131055],[17,131056],[18,262114],[18,262115],[18,262116],[18,262117],[18,262118],[18,262119],[18,262120],[19,524242],[19,524243],[19,524244],[19,524245],[19,524246],[19,524247],[19,524248],[19,524249],[19,524250],[19,524251],[19,524252],[19,524253],[19,524254],[19,524255],[19,524256],[19,524257],[19,524258],[19,524259],[19,524260],[19,524261],[19,524262],[19,524263],[19,524264],[19,524265],[19,524266],[19,524267],[19,524268],[19,524269],[19,524270],[19,524271],[19,524272],[19,524273],[19,524274],[19,524275],[19,524276],[19,524277],[19,524278],[19,524279],[19,524280],[19,524281],[19,524282],[19,524283],[19,524284],[19,524285],[19,524286],[19,524287]];function Ce(t,n){for(var r,i=0,e=1,u=e,o=ee(t,n);o!==Oe[i][1];)(u=(r=Oe[i+=1][0])-e)&&(e=r,o<<=u,o|=ue(t,n,u))}function Fe(t,n,r){function i(t,n){for(var r=0,i=n.length;r<i;r+=1)n[r]&&(t.bit+=1)}function e(t,n){for(var r=4;ee(t,n);)r+=1;n.bit+=r}var u=we[r-1],o=function(t,n,r){for(var i,e=0,u=r[0][0],o=u,s=ue(t,n,o);s!==r[e][1];)(o=(i=r[e+=1][0])-u)&&(u=i,s<<=o,s|=ue(t,n,o));return e}(t,n,u),s=[0,0,0,0];if(s[0]=u[o][2],s[1]=u[o][3],r<5&&(s[2]=u[o][4],s[3]=u[o][5]),r<11)(3===r||4===r||r>=7)&&i(n,s);else{if(!(11===r||r>15))throw new he(ce.QNt,{info:"Huffman: unknown spectral codebook: "+r});i(n,s),16===s[0]&&e(t,n),16===s[1]&&e(t,n)}}function Le(t,n,r,i,e){if(r.bit+=8,i||e||Re(t,n,r),function(t,n,r){var i,e,u,o,s,f=t.ts===Ne?3:5,a=t.ts===Ne?7:31,c=0,h=t.es,v=t.os,l=[],_=[];for(t.cs=l,t.ps=_,i=0;i<h;i+=1)for(e=0;e<v;){for(u=ue(n,r,4),s=e;(o=ue(n,r,f))===a;)s+=o;if((s+=o)>v)throw new he(ce.QNt,{info:"Number of bands is too high"});if(0===s)throw new he(ce.QNt,{info:"sectionLength is 0"});for(;e<s;e+=1)l[c]=u,_[c]=s,c+=1}}(t,n,r),function(t,n,r){var i,e,u,o=0,s=!0,f=t.es,a=t.os,c=t.cs;for(i=0;i<f;i+=1)for(e=0;e<a;e+=1,o+=1)(u=c[o])!==De.pMt&&(u===De.SMt||u===De.TMt?Ce(n,r):u===De.AMt&&s?(r.bit+=9,s=!1):Ce(n,r))}(t,n,r),!e){if(ee(n,r)){if(2===t.ts)throw new he(ce.QNt,{info:"Pulse not allowed in eight short sequence."});!function(t,n){var r=ue(t,n,2);n.bit+=6+9*r}(n,r)}if(ee(n,r)&&function(t,n,r){for(var i,e,u,o,s,f=0,a=t.ss,c=2===t.ts?[1,4,3]:[2,6,5];f<a;f+=1)if(e=ue(n,r,c[0]))for(u=ee(n,r),i=0;i<e;i+=1)r.bit+=c[1],(s=ue(n,r,c[2]))&&(r.bit+=1,o=u+3-ee(n,r),r.bit+=o*s)}(t,n,r),ee(n,r))throw new he(ce.QNt,{info:"Gain Control not implemented."})}!function(t,n,r){var i,e,u,o,s,f,a,c=t.es,h=0,v=t.as,l=t.zu,_=t.os,d=t.cs;for(i=0;i<c;i+=1)for(f=l[i],e=0;e<_;e+=1,h+=1)if(s=d[h],a=v[e+1]-v[e],s!==De.pMt&&s!==De.AMt&&s!==De.SMt&&s!==De.TMt)for(o=0;o<f;o+=1)if(s<De.bMt)for(u=0;u<a;u+=4)Fe(n,r,s);else for(u=0;u<a;u+=2)Fe(n,r,s)}(t,n,r)}function Me(t,n,r){r.bit+=4,Le(t,n,r,0,0)}function xe(t,n,r){r.bit+=4;var i=ee(n,r);i&&(Re(t,n,r),1===ue(n,r,2)&&(r.bit+=t.es*t.os));Le(t,n,r,i,0),Le(t,n,r,i,0)}function Be(t,n,r){var i,e,u,o,s,f,a,c,h,v,l=0;for(r.bit+=4,i=ee(n,r),e=ue(n,r,3),u=0;u<=e;u+=1)l+=1,o=ee(n,r),r.bit+=4,o&&3===ue(n,r,2)&&(l+=1);for(r.bit+=4,Le(t,n,r,0,0),c=t.es,h=t.os,v=t.cs,u=1;u<l;u+=1)if(a=0,i?1:ee(n,r))Ce(n,r);else for(s=0;s<c;s+=1)for(f=0;f<h;f+=1,a+=1)v[a]!==De.pMt&&Ce(n,r)}function je(t,n){var r,i;n.bit+=4,r=ee(t,n),255===(i=ue(t,n,8))&&(i+=ue(t,n,8)),r&&0!==n.bit&&(n.bit+=7-(n.bit-1)%8),n.bit+=8*i}function Ue(t,n){var r,i,e,u,o,s,f,a;n.bit+=10,r=ue(t,n,4),i=ue(t,n,4),e=ue(t,n,4),u=ue(t,n,2),o=ue(t,n,3),s=ue(t,n,4),ee(t,n)&&(n.bit+=4),ee(t,n)&&(n.bit+=4),ee(t,n)&&(n.bit+=3),n.bit+=5*r,n.bit+=5*i,n.bit+=5*e,n.bit+=4*u,n.bit+=4*o,n.bit+=5*s,0!==(a=n.bit%8)&&(n.bit+=8-a),f=ue(t,n,8),n.bit+=8*f}function He(t,n){var r=1,i=1;return ee(t,n)&&(n.bit+=8,r=2),ee(t,n)&&(r+=function(t,n){var r=1;for(n.bit+=7;ee(t,n);)n.bit+=7,r+=1;return r}(t,n)),ee(t,n)&&(r+=1+(i+=ue(t,n,4)),n.bit+=4+8*i),ee(t,n)&&(n.bit+=8,r+=1),n.bit+=8*i,r+=i}!function(t){t[t.pMt=0]="pMt",t[t.bMt=5]="bMt",t[t.AMt=13]="AMt",t[t.TMt=14]="TMt",t[t.SMt=15]="SMt"}(De||(De={})),function(t){t[t.EMt=0]="EMt",t[t.IMt=1]="IMt",t[t.RMt=2]="RMt",t[t.NMt=11]="NMt",t[t.DMt=13]="DMt",t[t.CMt=14]="CMt"}(Pe||(Pe={}));var Ge,We,Ve=0;function Xe(t,n,r){var i,e=0,u=0;switch(ue(t,n,4)){case Pe.NMt:return He(t,n);case Pe.DMt:case Pe.CMt:return pe;case Pe.IMt:return n.bit+=4+8*(r-1),r;case Pe.RMt:switch(ue(t,n,4)){case Ve:do{e+=i=ue(t,n,8),u+=1}while(255===i);return n.bit+=8*e,e+u+1;default:return n.bit+=8*(r-1),r}case Pe.EMt:default:return n.bit+=8*r-4,r}}function qe(t,n){var r=ue(t,n,4);for(15===r&&(r+=ue(t,n,8)-1);r>0;){var i=Xe(t,n,r);if(i===pe)return!0;r-=i}return!1}function ze(t,n){for(var r={bit:0},i={hyt:n},e=ue(t,r,3);e!==Ge.UMt;){if(t.length<r.bit/8)return!1;switch(e){case Ge.PMt:Me(i,t,r);break;case Ge.OMt:xe(i,t,r);break;case Ge.BMt:Be(i,t,r);break;case Ge.LMt:Me(i,t,r);break;case Ge.xMt:je(t,r);break;case Ge.MMt:Ue(t,r);break;case Ge.FMt:if(qe(t,r))return!0}e=ue(t,r,3)}return!1}!function(t){t[t.PMt=0]="PMt",t[t.OMt=1]="OMt",t[t.BMt=2]="BMt",t[t.LMt=3]="LMt",t[t.xMt=4]="xMt",t[t.MMt=5]="MMt",t[t.FMt=6]="FMt",t[t.UMt=7]="UMt"}(Ge||(Ge={})),function(t){t[t.Hp=0]="Hp",t[t.Vp=1]="Vp",t[t.Xp=-1]="Xp"}(We||(We={}));var Ye=function(t,n){return(0|t)-(0|n)},Ke=function(t,n){return function(t,n){if(t===n)return!0;var r=v.abs(t-n);return r<Tt||r<v.max(v.abs(t),v.abs(n))*Tt}(t,n)?We.Hp:function(t,n){return t===n?We.Hp:t<n?We.Xp:t>n?We.Vp:d(t)?d(n)?We.Hp:We.Vp:We.Xp}(t,n)},$e=function(){function t(){}var n=t.prototype;return n.zp=function(t){return this.Wp()*t},n.Gp=function(t){return this.qp(t)>0},n.jp=function(t){return this.qp(t)>=0},n.Yp=function(t,n){return this.Kp(t).Qp(n)},n.Dp=function(t){return 0===this.qp(t)},n.Zp=function(t){return this.qp(t)<0},n.Qp=function(t){return this.qp(t)<=0},n.Jp=function(){return this.$p()?this.ib():this},n.eb=function(t){return this.Gk(t.ib())},n.Kp=function(t){return this.eb(t).Jp()},t}();function Ze(t,n){return t.sb()?n.sb()?We.Hp:We.Vp:n.sb()?We.Xp:t.ub()?n.ub()&&t.$p()===n.$p()?We.Hp:t.$p()?We.Xp:We.Vp:n.$p()?We.Vp:We.Xp}var Qe=function(){function t(t,n){this.ob=void 0,this.hb=void 0,this.ob=t,this.hb=n}t.cb=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.fb=function(n){return n.unsigned?new t(n,It.UZERO):new t(n,n.isNegative()?It.NEG_ONE:It.ZERO)},t.vb=function(n,r){if(d(n))return r?t._b:t.gb;if(r){if(n<0)return t._b;if(n>=3.402823669209385e38)return t.wb}else{if(n<=-1.7014118346046923e38)return t.mb;if(n+1>=1.7014118346046923e38)return t.yb}return n<0?t.vb(-n,r).ib():t.cb(It.fromNumber(n%0x10000000000000000),It.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.kb=function(){return this.hb.unsigned},n.pb=function(){return this.ob.isZero()&&this.hb.isZero()},n.$p=function(){return this.hb.isNegative()},n.bb=function(){return this.kb()?t.cb(this.ob,this.hb,!1):this},n.Ab=function(){return this.kb()?this:t.cb(this.ob,this.hb,!0)},n.Tb=function(){return this.ob},n.Wp=function(){return this.$p()?-this.ib().Wp():0x10000000000000000*this.hb.toNumber()+this.ob.toUnsigned().toNumber()},n.Sb=function(){return this.ob.toInt()},n.Dp=function(t){return(this.kb()===t.kb()||this.hb.getHighBits()>>>31!=1||t.hb.getHighBits()>>>31!=1)&&(this.hb.toUnsigned().eq(t.hb.toUnsigned())&&this.ob.toUnsigned().eq(t.ob.toUnsigned()))},n.qp=function(t){if(this.Dp(t))return We.Hp;var n=this.$p(),r=t.$p();if(n&&!r)return We.Xp;if(!n&&r)return We.Vp;if(!this.kb())return this.eb(t).$p()?We.Xp:We.Vp;var i=this.Ab(),e=t.Ab(),u=e.hb.comp(i.hb);return u>0||0===u&&e.ob.gt(i.ob)?We.Xp:We.Vp},n.Zp=function(t){return this.qp(t)<0},n.Qp=function(t){return this.qp(t)<=0},n.Eb=function(t){return this.qp(t)>0},n.Ib=function(t){return this.qp(t)>=0},n.Rb=function(){return new t(this.ob.not(),this.hb.not())},n.Nb=function(n){return new t(this.ob.and(n.ob),this.hb.and(n.hb))},n.Db=function(n){return new t(this.ob.or(n.ob),this.hb.or(n.hb))},n.Cb=function(n){var r=127&n;return 0===r?this:r<64?t.cb(this.ob.shl(r),this.hb.shl(r).or(this.ob.shru(64-r)),this.kb()):t.cb(It.ZERO,this.ob.shl(r-64),this.kb())},n.Pb=function(n){var r=127&n;return 0===r?this:r<64?t.cb(this.ob.shru(r).or(this.hb.shl(64-r)),this.hb.shr(r),this.kb()):t.cb(this.hb.shr(r-64),this.hb.isNegative()?It.NEG_ONE:It.ZERO,this.kb())},n.Ob=function(n){var r=127&n;return 0===r?this:r<64?t.cb(this.ob.shru(r).or(this.hb.shl(64-r)),this.hb.shru(r),this.kb()):64===r?t.cb(this.hb,It.ZERO,this.kb()):t.cb(this.hb.shru(r-64),It.ZERO,this.kb())},n.Gk=function(n){var r=this.hb.high>>>16,i=65535&this.hb.high,e=this.hb.low>>>16,u=65535&this.hb.low,o=this.ob.high>>>16,s=65535&this.ob.high,f=this.ob.low>>>16,a=65535&this.ob.low,c=n.hb.high>>>16,h=65535&n.hb.high,v=n.hb.low>>>16,l=65535&n.hb.low,_=n.ob.high>>>16,d=65535&n.ob.high,p=n.ob.low>>>16,w=0,m=0,y=0,g=0,E=0,S=0,b=0,I=0;b+=(I+=a+(65535&n.ob.low))>>>16,I&=65535,S+=(b+=f+p)>>>16,b&=65535,E+=(S+=s+d)>>>16,S&=65535,g+=(E+=o+_)>>>16,E&=65535,y+=(g+=u+l)>>>16,g&=65535,m+=(y+=e+v)>>>16,y&=65535,w+=(m+=i+h)>>>16,m&=65535,w+=r+c,w&=65535;var T=this.kb(),k=It.fromBits(y<<16|g,w<<16|m,T),A=It.fromBits(b<<16|I,E<<16|S,T);return t.cb(A,k,T)},n.eb=function(t){return this.Gk(t.ib())},n.ib=function(){return this.Rb().Gk(t.Bb)},n.Lb=function(n){if(this.pb()||n.pb())return this.kb()?t._b:t.gb;if(this.$p())return n.$p()?this.ib().Lb(n.ib()):this.ib().Lb(n).ib();if(n.$p())return this.Lb(n.ib()).ib();if(this.hb.isZero()&&0===this.ob.high&&n.hb.isZero()&&0===n.ob.high)return t.fb(this.ob.multiply(n.ob));var r=It.fromBits(4294967295,0,!0),i=this.ob.and(r),e=this.ob.shru(32),u=this.hb.and(r),o=this.hb.shru(32),s=n.ob.and(r),f=n.ob.shru(32),a=n.hb.and(r),c=n.hb.shru(32),h=It.UZERO,v=It.UZERO,l=It.UZERO,_=It.UZERO;h=h.add(i.mul(s)),v=v.add(h.shru(32)),h=h.and(r),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(f)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(u.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(e.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(i.mul(a)),_=_.add(l.shru(32)),l=l.and(r),_=_.add(o.mul(s)).add(u.mul(f)).add(e.mul(a)).add(i.mul(c)).and(r);var d=It.fromBits(h.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),p=It.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.cb(d,p,this.kb())},n.xb=function(n){var r,i,e=n;if(e.pb())throw new RangeError("division by zero");if(this.pb())return this.kb()?[t._b,t._b]:[t.gb,t.gb];if(this.kb()){if(e.kb()||(e=e.Ab()),e.Eb(this))return[t._b,this];if(e.Eb(this.Ob(1)))return[i=t.Mb,r=this.eb(e)];i=t._b}else{if(this.Dp(t.mb)){if(e.Dp(t.Bb)||e.Dp(t.Fb))return[t.mb,t.gb];if(e.Dp(t.mb))return[t.Bb,t.gb];var u=this.Pb(1).Ub(e).Cb(1);return u.Dp(t.gb)?i=e.$p()?t.Bb:t.Fb:(r=this.eb(e.Lb(u)),i=u.Gk(r.Ub(e))),[i,r=this.eb(e.Lb(i))]}if(e.Dp(t.mb))return this.kb()?[t._b,this]:[t.gb,this];if(this.$p()){if(e.$p())return this.ib().xb(e.ib());var o=this.ib().xb(e);return i=o[0],r=o[1],[i.ib(),r.ib()]}if(e.$p()){var s=this.xb(e.ib());return i=s[0],r=s[1],[i.ib(),r.ib()]}i=t.gb}for(r=this;r.Ib(e);){for(var f=v.max(1,v.floor(r.Wp()/e.Wp())),a=v.ceil(v.log(f)/v.LN2),c=a<=48?1:v.pow(2,a-48),h=t.vb(f),l=h.Lb(e);l.$p()||l.Eb(r);)f-=c,l=(h=t.vb(f,this.kb())).Lb(e);h.pb()&&(h=t.Bb),i=i.Gk(h),r=r.eb(l)}return[i,r]},n.Ub=function(t){return this.xb(t)[0]},n.Hb=function(t){return this.xb(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.pb())return"0";if(this.$p()){if(this.Dp(t.mb)){var i=t.vb(r),e=this.Ub(i),u=e.Lb(i).eb(this);return e.toString(r)+u.Sb().toString(r)}return"-"+this.ib().toString(r)}for(var o=t.vb(v.pow(r,6),this.kb()),s=this,f="";;){var a=s.Ub(o),c=(s.eb(a.Lb(o)).Sb()>>>0).toString(r);if((s=a).pb())return c+f;for(;c.length<6;)c="0"+c;f=String(c)+f}},t}();Qe.gb=Qe.fb(It.ZERO),Qe._b=Qe.fb(It.UZERO),Qe.Bb=Qe.fb(It.ONE),Qe.Mb=Qe.fb(It.UONE),Qe.Fb=Qe.fb(It.NEG_ONE),Qe.yb=Qe.cb(It.NEG_ONE,It.MAX_VALUE,!1),Qe.wb=Qe.cb(It.MAX_UNSIGNED_VALUE,It.MAX_UNSIGNED_VALUE,!0),Qe.mb=Qe.cb(It.ZERO,It.MIN_VALUE,!1);var Je=function(){function t(t,n){void 0===n&&(n=1),this.Vb=void 0,this.Xb=void 0,this.Vb=t,this.Xb=n}t.zb=function(n){return new t(v.ceil(n.Vb),n.Xb)},t.Wb=function(n){return new t(v.floor(n.Vb),n.Xb)},t.Gb=function(t,n){return t.jp(n)?t:n},t.qb=function(t,n){return t.Qp(n)?t:n};var n=t.prototype;return n.Gk=function(n){return this.Xb>=n.Xb?new t(this.Vb+n.jb(this.Xb).Vb,this.Xb):new t(this.jb(n.Xb).Vb+n.Vb,n.Xb)},n.Gp=function(t){return t.Zp(this)},n.jp=function(t){return t.Qp(this)},n.Kp=function(n){return this.Xb>=n.Xb?new t(v.abs(this.Vb-n.jb(this.Xb).Vb),this.Xb):n.Kp(this)},n.Yp=function(t,n){return this.Kp(t).Qp(n)},n.qp=function(t){return r=t,(n=this).Xb>=r.Xb?Ke(n.Vb,r.jb(n.Xb).Vb):Ke(n.jb(r.Xb).Vb,r.Vb);var n,r},n.Dp=function(t){return 0===this.qp(t)},n.Zp=function(t){return this.qp(t)<0},n.Qp=function(t){return this.qp(t)<=0},n.jb=function(n){return new t(this.Vb*(n/this.Xb),n)},n.eb=function(n){return this.Xb>=n.Xb?new t(this.Vb-n.jb(this.Xb).Vb,this.Xb):new t(this.jb(n.Xb).Vb-n.Vb,n.Xb)},n.Yb=function(n){return new t(this.Vb*n,this.Xb)},R(t,[{key:"ub",get:function(){return!isFinite(this.Vb)}},{key:"Qb",get:function(){return this.Vb/this.Xb}}]),t}();Je.Kb=new Je(1/6,1),Je.gb=new Je(0),Je.Zb=new Je(1/0),Je.Jb=1e6;var tu=function(t){function n(n,r){var i;return(i=t.call(this)||this).Cu=void 0,i.Xb=void 0,i.Cu=n.toSigned(),i.Xb=r>>>0,i}P(n,t),n.$b=function(t,r){return void 0===r&&(r=1e6),n.vb(t*r,r)},n.vb=function(t,r){return d(t)?n.tA:t===1/0?n.nA:t===-1/0?n.iA:new n(It.fromNumber(t),r)},n.fb=function(t,r){return new n(t,r)},n.rA=function(t){return n.$b(t.Qb,1e6)},n.eA=function(t){return new n(It.fromNumber(t.getTime()),1e3)},n.Gb=function(t,n){return t.jp(n)?t:n},n.qb=function(t,n){return t.Qp(n)?t:n},n.sA=function(t,r,i){return n.Gb(r,n.qb(i,t))};var r=n.prototype;return r.$p=function(){return this.Cu.isNegative()},r.pb=function(){return 0!==this.Xb&&this.Cu.isZero()},r.ub=function(){return 0===this.Xb&&!this.Cu.isZero()},r.sb=function(){return 0===this.Xb&&this.Cu.isZero()},r.Wp=function(){if(0===this.Xb)return this.Cu.isZero()?NaN:this.Cu.isNegative()?-1/0:1/0;var t=this.Cu.divide(this.Xb),n=this.Cu.subtract(t.multiply(this.Xb));return t.toNumber()+n.toNumber()/this.Xb},r.Tb=function(){if(0===this.Xb)throw new a("Failed to convert timestamp");return this.Cu},r.uA=function(){return new Date(0===this.Xb?NaN:this.jb(1e3).Cu.toNumber())},r.oA=function(){return new Je(0===this.Xb?this.Wp():this.Cu.toNumber(),this.Xb)},r.jb=function(t,r){void 0===r&&(r=iu.hA);var i=this.Xb;if(i===t)return this;if(0===i)return this;var e=kt(i,t);return new n(function(t,n,r){var i=t.xb(n),e=i[0],u=i[1];if(u.pb())return e;if(r===iu.hA)return u.$p()?e.eb(Qe.Bb):e;if(r===iu.aA)return u.$p()?e:e.Gk(Qe.Bb);var o=u.Lb(Qe.vb(2));return o.$p()?o.ib().Zp(n)?e:e.eb(Qe.Bb):o.Zp(n)?e:e.Gk(Qe.Bb)}(Qe.fb(this.Cu).Lb(Qe.vb(t/e)),Qe.vb(i/e),r).Tb(),t)},r.qp=function(t){if(this===t)return We.Hp;if(0===this.Xb||0===t.Xb)return Ze(this,t);if(this.pb())return t.pb()?We.Hp:t.$p()?We.Vp:We.Xp;if(t.pb())return this.$p()?We.Xp:We.Vp;var n=v.min(this.Xb,t.Xb),r=this.jb(n,iu.cA).Cu,i=t.jb(n,iu.cA).Cu;return r.compare(i)},r.ib=function(){return 0===this.Xb?nu(this):new n(this.Cu.negate(),this.Xb)},r.Gk=function(t){if(0===this.Xb||0===t.Xb)return ru(this,t);if(this.pb())return t;if(t.pb())return this;var r=v.max(this.Xb,t.Xb),i=this.jb(r,iu.cA),e=t.jb(r,iu.cA);return new n(i.Cu.add(e.Cu),r)},r.Lb=function(t){if(this.sb()||d(t))return n.tA;if(this.ub()||!isFinite(t)){if(this.pb()||0===t)return n.tA;var r=this.$p()?n.iA:n.nA;return t<0?r.ib():r}return this.pb()?this:new n(0===t?It.ZERO:this.Cu.multiply(t),this.Xb)},r.Ub=function(t){if(this.sb()||d(t))return n.tA;if(this.ub())return isFinite(t)?0===t?1/t<0?this.ib():this:t<0?this.ib():this:n.tA;if(!isFinite(t))return new n(It.ZERO,this.Xb);if(this.pb())return 0===t?n.tA:new n(It.ZERO,this.Xb);if(0===t){var r=this.$p()?n.iA:n.nA;return 1/t<0?r.ib():r}return new n(this.Cu.divide(t),this.Xb)},r.fA=function(){return[this.Cu.low,this.Cu.high,this.Xb]},n}($e);function nu(t){return t.sb()?t:t.$p()?tu.nA:tu.iA}function ru(t,n){return t.sb()||n.sb()?tu.tA:t.ub()&&n.ub()?t.$p()===n.$p()?t:tu.tA:t.ub()?t:n}tu.gb=new tu(It.ZERO,1e6),tu.tA=new tu(It.ZERO,0),tu.nA=new tu(It.ONE,0),tu.iA=new tu(It.NEG_ONE,0);var iu,eu=function(t){function n(n,r){var i;return(i=t.call(this)||this).Cu=void 0,i.Xb=void 0,i.Cu=BigInt.asIntN(64,n),i.Xb=r>>>0,i}P(n,t),n.$b=function(t,r){return void 0===r&&(r=1e6),n.vb(t*r,r)},n.vb=function(t,r){return d(t)?n.tA:t===1/0?n.nA:t===-1/0?n.iA:new n(BigInt(v.floor(t)),r)},n.fb=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.rA=function(t){return n.$b(t.Qb,1e6)},n.eA=function(t){return n.vb(t.getTime(),1e3)},n.Gb=function(t,n){return t.jp(n)?t:n},n.qb=function(t,n){return t.Qp(n)?t:n},n.sA=function(t,r,i){return n.Gb(r,n.qb(i,t))};var r=n.prototype;return r.$p=function(){return this.Cu<BigInt(0)},r.pb=function(){return 0!==this.Xb&&this.Cu===BigInt(0)},r.ub=function(){return 0===this.Xb&&this.Cu!==BigInt(0)},r.sb=function(){return 0===this.Xb&&this.Cu===BigInt(0)},r.Wp=function(){if(0===this.Xb)return this.Cu===BigInt(0)?NaN:this.Cu<BigInt(0)?-1/0:1/0;var t=this.Cu/BigInt(this.Xb),n=this.Cu-t*BigInt(this.Xb);return Number(t)+Number(n)/this.Xb},r.Tb=function(){if(0===this.Xb)throw new a("Failed to convert timestamp");return this.vA()},r.vA=function(){var t=this.Cu&BigInt(4294967295),n=this.Cu>>BigInt(32)&BigInt(4294967295);return It.fromBits(Number(t),Number(n))},r.uA=function(){return new Date(0===this.Xb?NaN:Number(this.jb(1e3).Cu))},r.oA=function(){return new Je(0===this.Xb?this.Wp():Number(this.Cu),this.Xb)},r.jb=function(t,r){void 0===r&&(r=iu.hA);var i=this.Xb;if(i===t)return this;if(0===i)return this;var e=kt(i,t);return new n(function(t,n,r){var i=t/n,e=t-i*n;if(e===BigInt(0))return i;if(r===iu.hA)return e<BigInt(0)?i-BigInt(1):i;if(r===iu.aA)return e<BigInt(0)?i:i+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?i:i-BigInt(1):u<n?i:i+BigInt(1)}(this.Cu*BigInt(t/e),BigInt(i/e),r),t)},r.qp=function(t){if(this===t)return We.Hp;if(0===this.Xb||0===t.Xb)return Ze(this,t);if(this.pb())return t.pb()?We.Hp:t.$p()?We.Vp:We.Xp;if(t.pb())return this.$p()?We.Xp:We.Vp;var n=v.min(this.Xb,t.Xb),r=this.jb(n,iu.cA).Cu,i=t.jb(n,iu.cA).Cu;return r>i?We.Vp:r<i?We.Xp:We.Hp},r.ib=function(){return 0===this.Xb?uu(this):new n(-this.Cu,this.Xb)},r.Gk=function(t){if(0===this.Xb||0===t.Xb)return ou(this,t);if(this.pb())return t;if(t.pb())return this;var r=v.max(this.Xb,t.Xb),i=this.jb(r,iu.cA),e=t.jb(r,iu.cA);return new n(i.Cu+e.Cu,r)},r.Lb=function(t){if(this.sb()||d(t))return n.tA;if(this.ub()||!isFinite(t)){if(this.pb()||0===t)return n.tA;var r=this.$p()?n.iA:n.nA;return t<0?r.ib():r}return this.pb()?this:new n(0===t?BigInt(0):this.Cu*BigInt(t),this.Xb)},r.Ub=function(t){if(this.sb()||d(t))return n.tA;if(this.ub())return isFinite(t)?0===t?1/t<0?this.ib():this:t<0?this.ib():this:n.tA;if(!isFinite(t))return new n(BigInt(0),this.Xb);if(this.pb())return 0===t?n.tA:new n(BigInt(0),this.Xb);if(0===t){var r=this.$p()?n.iA:n.nA;return 1/t<0?r.ib():r}return new n(this.Cu/BigInt(t),this.Xb)},r.fA=function(){var t=this.vA();return[t.low,t.high,this.Xb]},R(n,null,[{key:"gb",get:function(){return n.dA||(n.dA=new n(BigInt(0),1e6)),n.dA}},{key:"tA",get:function(){return n.lA||(n.lA=new n(BigInt(0),0)),n.lA}},{key:"nA",get:function(){return n._A||(n._A=new n(BigInt(1),0)),n._A}},{key:"iA",get:function(){return n.gA||(n.gA=new n(BigInt(-1),0)),n.gA}}]),n}($e);function uu(t){return t.sb()?t:t.$p()?eu.nA:eu.iA}function ou(t,n){return t.sb()||n.sb()?eu.tA:t.ub()&&n.ub()?t.$p()===n.$p()?t:eu.tA:t.ub()?t:n}eu.dA=void 0,eu.lA=void 0,eu._A=void 0,eu.gA=void 0,function(t){t[t.hA=0]="hA",t[t.aA=1]="aA",t[t.cA=2]="cA"}(iu||(iu={}));var su=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?eu:tu;function fu(t,n){return t.qp(n)}var au=9e4,cu=v.pow(2,33),hu=su.vb(cu,au),vu=hu.Ub(2);function lu(t,n){var r=t.eb(n);return t.ub()||n.ub()?r:(r.jp(vu)?r=r.eb(hu):r.Zp(vu.ib())&&(r=r.Gk(hu)),r)}function _u(t){return su.vb(t,au)}var du=au,pu=2,wu=1024;function mu(t,n,r,i){var e,u,o=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3];e=u=n,i.Bq=i.Bq||[],i.hBt=i.hBt||new ne,i.ms=i.ms||0;for(var s=i.hBt;u<r;){var f=void 0;if(i.ms<9&&(f=t[u],u+=1),0===i.ms)255===f&&(i.ms=1);else if(1===i.ms)240==(240&f)?(i.ms=2,i.hBt=s=new ne,i.Bq.push(s),s.cI.nht=i.nht,s.cI.iht=i.nht,s.cI.rht=i.nht,i.bs=1&f):i.ms=0;else if(2===i.ms){i.ms=3,i.Aft=f>>6&3;var a=s.cI.JBt=f>>2&15,c=s.cI.$Bt=o[a];s.cI.tLt=(1&f)<<2,i.nht=i.nht.Gk(_u(du*wu/c))}else if(3===i.ms)i.ms=4,s.cI.tLt+=f>>6&3,i.ks=(3&f)<<11;else if(4===i.ms)i.ms=5,i.ks+=f<<3;else if(5===i.ms)i.ms=6,i.ks+=(224&f)>>5;else if(6===i.ms)i.ms=7,i.ff=3&f,e=u,i.af=i.ks-7,0===i.ff&&0===i.bs||(i.ms=9);else if(7===i.ms)e+=1,i.af-=1,i.ms=8;else if(8===i.ms)e+=1,i.af-=1,i.ms=9;else{var h=v.min(r-e,i.af);0!==h&&(u=e+h,i.af-=h,s.vot(t,e,e+h)),0===i.af&&(i.ms=0)}}return i.Bq}function yu(t){var n,r;if(!t)return!1;for(n=0,r=t.length;n<r;n+=1)try{if(ze(t[n].yot(),t[n].cI.JBt))return!0}catch(t){0}return!1}function gu(t,n,r){var i,e,u,o=t.Bq||[];o[0]&&o[0].cI.$Bt?(i=o[0].cI.$Bt/wu,e=_u(du/i),u=o[0].cI.$Bt):(i=0,e=_u(0),u=0),null===r&&(r=!n&&yu(o)),n=n||r;var s=o[0]?o[0].cI.tLt:0,f=function(t,n){if(t)switch(n){case 1:return new p([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);case 2:case 3:return new p([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}else switch(n){case 1:return new p([0,200,0,128,35,128]);case 2:return new p([33,0,73,144,2,25,0,35,128]);case 3:return new p([0,200,0,128,32,132,1,38,64,8,100,0,142]);case 4:return new p([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);case 5:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);case 6:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}return null}(n,s);!function(t,n,r){if(0!==r.af){var i=t.length-1,e=t[i],u=t[i]=new ne;u.vot(n,0,n.length),u.cI=e.cI,r.af=0}}(o,f,t),function(t,n){if(t.length)for(var r=1,i=1;i<t.length;i++){var e=t[i-1].cI.iht,u=t[i].cI.iht;if(u===e)r++;else{var o=u.eb(e),s=v.max(1,v.round(o.Wp()/n.Wp()));if(r>s){var f=r-s;t.splice(i-f,f),i-=f}r=1}}}(o,e),function(t,n){if(t.length)for(var r=t[0],i=1,e=t.length;i<e;i+=1){var u=t[i],o=_u(du*wu/r.cI.$Bt),s=r.cI.nht.Gk(o),f=u.cI.nht.eb(s),a=f.Tb().divide(o.jb(f.Xb).Tb()).toNumber();if(a>0){for(var c=[],h=0;h<a;h++){var v=new ne;v.vot(n,0,n.length),v.cI=vi({},r.cI,{nht:s,iht:s,rht:s}),c.push(v),s=s.Gk(o)}t.splice.apply(t,[i,0].concat(c)),i+=a}r=u}}(o,f);var a=function(t){var n=[],r=t[0]&&t[0].cI,i=r&&r.JBt||0,e=r&&r.tLt||0,u=[];return u[0]=(pu<<3)+(i>>1),u[1]=((1&i)<<7)+(e<<3),oe(n,3),oe(n,23+u.length),ae(n,2),oe(n,0),oe(n,4),oe(n,15+u.length),oe(n,64),oe(n,21),se(n,[0,0,0]),fe(n,0),fe(n,0),oe(n,5),oe(n,u.length),se(n,u),oe(n,6),oe(n,1),oe(n,2),n}(o);return{OBt:t.OBt,Bq:o,FBt:t.FBt,UBt:t.UBt,oLt:a,VBt:_u(t.VBt),eLt:u,sLt:wu,uLt:s,Zot:i,XBt:e,CCt:r,nLt:n,QBt:su.tA,KBt:su.tA,HBt:NaN,duration:NaN,zBt:t.zBt,WBt:t.WBt,GBt:t.GBt,qBt:t.qBt,jBt:t.jBt,YBt:t.YBt}}function Eu(t){var n=t.XBt.Lb(t.Bq.length);t.duration=n.Wp(),t.HBt||(t.HBt=n.Wp())}var Su=2,bu=3,Iu=1,Tu=[null,null,[22050,24e3,16e3,0],[44100,48e3,32e3,0]],ku=[null,null,[0,8e3,16e3,24e3,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,144e3,16e4,0],[0,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,16e4,192e3,224e3,256e3,32e4,0]],Au=[576,0,576,1152],Nu=[2,2,2,1];function Ru(t,n){if(255!==t||224!=(224&n))return!1;var r=(24&n)>>3;return(6&n)>>1===Iu&&(r===bu||r===Su)}function Du(t,n,r,i){var e,u,o,s,f=n;for(i.Bq=i.Bq||[],i.hBt=i.hBt||new ne,i.ms=i.ms||0,u=i.hBt;f<r;)switch(i.ms){case 0:e=t[f],f+=1,255===e?i.ms=1:u.vot(t,f-1,f);break;case 1:e=t[f],f+=1,Ru(255,e)?(i.hBt=u=new ne,i.ta=e,u.cI.XT=(24&e)>>3,u.cI.mS=(6&e)>>1,u.cI.nht=i.nht,u.cI.iht=i.nht,u.cI.rht=i.nht,i.Bq.push(u),i.ms=2):255!==e?(i.ms=0,u.vot([255,e],0,2)):255===e&&u.vot([255],0,1);break;case 2:if(e=t[f],f+=1,i.na=e,u.cI.iLt=ku[u.cI.XT][e>>4],u.cI.ayt=Tu[u.cI.XT][(12&e)>>2],i.vo=2==(2&e)?1:0,i.Aw=v.round(Au[u.cI.XT]/8*u.cI.iLt/u.cI.ayt+i.vo)-1,!i.Aw)return;i.ms=3;break;case 3:e=t[f],f+=1,i.ia=e,u.cI.rLt=Nu[e>>6],i.ms=4,u.vot([255,i.ta,i.na,e],0,4),i.af=v.max(i.Aw-4,0);break;default:if(i.Aw!==1/0)(s=i.af)>r-f?(s=r-f,u.vot(t,f,r),i.af-=s,f=r):(u.vot(t,f,f+s),i.af=0,i.ms=0,f+=s);else{i.sa=i.sa||0,o=f;t:for(;f<r;)switch(e=t[f],f+=1,i.sa){case 1:if(Ru(255,e)){i.ms=1,f-=1;break t}i.sa=0;break;default:255===e&&(i.sa=1)}f<r?u.vot(t,o,f-1):u.vot(t,o,r)}}}function Pu(t){var n,r,i,e,u=t.Bq||[];u[0]&&u[0].cI.ayt?(n=9e4/(r=u[0].cI.ayt/Au[u[0].cI.XT]),i=u[0].cI.ayt,e=Au[u[0].cI.XT]):(n=0,r=0,i=0,e=Au[bu]);var o=function(t){var n=[],r=t[0]&&t[0].cI,i=r?32*r.ayt:0,e=r?32*r.ayt:0;return oe(n,3),se(n,[128,128,128]),oe(n,27),ae(n,2),oe(n,0),oe(n,4),se(n,[128,128,128]),oe(n,13),oe(n,107),oe(n,21),se(n,[0,0,0]),fe(n,i),fe(n,e),oe(n,6),se(n,[128,128,128]),oe(n,1),oe(n,2),n}(u),s=u[0]?u[0].cI.rLt:0;return{OBt:t.OBt,Bq:u,FBt:t.FBt,UBt:t.UBt,oLt:o,VBt:_u(t.VBt),eLt:i,sLt:e,uLt:s,Zot:r,XBt:_u(n),QBt:su.tA,KBt:su.tA,HBt:NaN,duration:NaN,zBt:t.zBt,WBt:t.WBt,GBt:t.GBt,qBt:t.qBt,jBt:t.jBt,YBt:t.YBt}}function Ou(t){var n=t.XBt.Lb(t.Bq.length);t.duration=n.Wp(),t.HBt=n.Wp()}function Cu(t,n){var r=n.gc,i=t.getUint8(r>>3),e=1<<7-(7&r);return n.wc(1),(i&e)===e?1:0}function Fu(t,n,r){for(var i=0,e=0;e<r;e++)i=2*i+Cu(t,n);return i}var Lu=function(){function t(t){void 0===t&&(t=0),this.mc=t}var n=t.prototype;return n.wc=function(t){this.mc+=t},n.yc=function(t){this.mc=t},n.kc=function(){return new t(this.gc)},R(t,[{key:"gc",get:function(){return this.mc}}]),t}(),Mu=[128,64,32,16,8,4,2,1],xu=function(){function t(t){this.pc=t}return t.prototype.bc=function(t){return Bu(this.pc,t)},t}();function Bu(t,n){return(t&n)===n}function ju(t,n){return Bu(t,Mu[n])}function Uu(t,n){var r=t.getUint8(n.gc);return n.wc(1),r}function Hu(t,n,r){var i=ro(uo(t),n.gc,n.gc+r);return n.wc(i.byteLength),i}function Gu(t,n,r){return n.gc+r<=t.byteLength}function Wu(t,n,r,i){return void 0===i&&(i=!1),i?function(t,n,r){for(var i=0,e=1,u=0;u<r;u++)i+=Uu(t,n)*e,e*=256;return i}(t,n,r):function(t,n,r){for(var i=0,e=0;e<r;e++)i=256*i+Uu(t,n);return i}(t,n,r)}function Vu(t,n,r){void 0===r&&(r=!1);var i=t.getUint16(n.gc,r);return n.wc(2),i}function Xu(t,n,r){void 0===r&&(r=!1);var i=t.getUint32(n.gc,r);return n.wc(4),i}function qu(t,n,r){void 0===r&&(r=!1);var i=Xu(t,n,r),e=Xu(t,n,r),u=r?e:i,o=r?i:e;return It.fromBits(o,u,!0)}function zu(t,n){var r=Uu(t,n);if(r)return String.fromCharCode(r)}function Yu(t,n){return Zu(t,n)}function Ku(t,n,r){for(var i="",e=0;e<r;e++)i+=zu(t,n);return i}function $u(t,n){var r,i=Uu(t,n);return 0==(128&i)?r=i:192==(224&i)?r=64*(31&i)+(63&Uu(t,n)):224==(240&i)?r=4096*(15&i)+64*(63&Uu(t,n))+(63&Uu(t,n)):240==(248&i)&&(r=262144*(7&i)+4096*(63&Uu(t,n))+64*(63&Uu(t,n))+(63&Uu(t,n))),r}function Zu(t,n){return function(t,n,r){var i=[];for(;n.gc<t.byteLength;){var e=Uu(t,n);if(r&&!e)break;i.push(e)}return Ii(i)}(t,n,!0)}function Qu(t,n){if(n.gc+2<=t.byteLength){var r=t.getUint8(n.gc),i=t.getUint8(n.gc+1);return(254!==r||255!==i)&&(255===r&&254===i||void 0)}}function Ju(t,n){var r=Qu(t,n);return void 0!==r&&n.wc(2),to(t,n,!0===r)}function to(t,n,r){return void 0===r&&(r=!1),function(t,n,r,i){var e=[];for(;n.gc+2<=t.byteLength;){var u=Vu(t,n,r);if(i&&!u)break;e.push(u)}return Ii(e)}(t,n,r,!0)}function no(t,n){return function(t,n,r){var i=[];(function(t,n){return n.gc+3<=t.byteLength&&239===t.getUint8(n.gc)&&187===t.getUint8(n.gc+1)&&191===t.getUint8(n.gc+2)})(t,n)&&n.wc(3);for(;n.gc<t.byteLength;){var e=$u(t,n);if(void 0===e)break;if(r&&0===e)break;i.push(e)}return function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Ii(n)}(i)}(t,n,!0)}function ro(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new p(t.buffer,t.byteOffset+n,r-n)}function io(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new DataView(t.buffer,t.byteOffset+n,r-n)}function eo(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function uo(t){return new p(t.buffer,t.byteOffset,t.byteLength)}function oo(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),t.slice?t.slice(n,r):so(ro(t,n,r))}function so(t){if(t.slice)return t.slice(0);var n=new p(t.byteLength);return n.set(t,0),n}function fo(t){return[].slice.call(t)}var ao,co,ho=function(){function t(t){void 0===t&&(t=0),this.mc=t}var n=t.prototype;return n.wc=function(t){this.mc+=t},n.yc=function(t){this.mc=t},n.kc=function(){return new t(this.gc)},n.Ac=function(){return new Lu(this.gc<<3)},R(t,[{key:"gc",get:function(){return this.mc}}]),t}();function vo(t){switch(t){case ao.ISO_8859_1:case ao.UTF16_BOM:case ao.UTF16:case ao.UTF8:return!0}return!1}function lo(t){switch(t){case ao.ISO_8859_1:return Zu;case ao.UTF16_BOM:return Ju;case ao.UTF16:return to;case ao.UTF8:return no}}function _o(t,n){var r=n.gc,i=t.byteLength,e=uo(t);return n.wc(i-r),oo(e,r,i).buffer}function po(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i);return{id:r,language:Ku(t,n,3),description:e(t,n),text:e(t,n)}}}function wo(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i);return{id:r,mimeType:Zu(t,n),fileName:e(t,n),description:e(t,n),data:_o(t,n)}}}function mo(t,n,r){var i=Uu(t,n);if(vo(i)){for(var e=lo(i),u=[];n.gc<t.byteLength;)u.push({involvement:e(t,n),involvee:e(t,n)});return{id:r,entries:u}}}function yo(t,n,r){var i=Uu(t,n);if(vo(i)){for(var e=lo(i),u=Ku(t,n,3),o=Uu(t,n),s=Uu(t,n),f=e(t,n),a=!1,c=[];n.gc<t.byteLength;){var h=void 0;if(i===ao.UTF16_BOM){var v=Qu(t,n);void 0===v?v=a:a=v,h=to(t,n,v)}else h=e(t,n);if(!h||n.gc+4>t.byteLength)break;c.push({text:h,timestamp:Xu(t,n)})}return{id:r,language:u,format:o,contentType:s,description:f,entries:c}}}function go(t,n,r){return{id:r,ownerIdentifier:Zu(t,n),identifier:_o(t,n)}}function Eo(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i);return{id:r,language:Ku(t,n,3),description:e(t,n),text:e(t,n)}}}function So(t,n,r){var i=Uu(t,n);if(vo(i))return{id:r,text:lo(i)(t,n)}}function bo(t,n,r){return{id:r,url:Zu(t,n)}}function Io(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i);return{id:r,description:e(t,n),text:e(t,n)}}}function To(t,n,r){var i=Uu(t,n);if(vo(i))return{id:r,description:lo(i)(t,n),url:Zu(t,n)}}function ko(t,n,r){switch(r){case"COM":return po(t,n,r);case"GEO":return wo(t,n,r);case"IPL":return mo(t,n,r);case"PIC":return function(t,n,r){var i=Uu(t,n);if(vo(i)){var e,u,o=lo(i),s=Ku(t,n,3),f=Uu(t,n),a=o(t,n);return"--\x3e"===s?(e=s,u=Zu(t,n)):(e="image/"+s.toLowerCase(),u=_o(t,n)),{id:r,mimeType:e,pictureType:f,description:a,data:u}}}(t,n,r);case"SLT":return yo(t,n,r);case"TXX":return Io(t,n,r);case"UFI":return go(t,n,r);case"ULT":return Eo(t,n,r);case"WXX":return To(t,n,r);default:if("T"===r.charAt(0))return So(t,n,r);if("W"===r.charAt(0))return bo(t,n,r)}}function Ao(t,n,r){switch(r){case"APIC":return function(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i),u=Zu(t,n);return{id:r,mimeType:u,pictureType:Uu(t,n),description:e(t,n),data:"--\x3e"===u?Zu(t,n):_o(t,n)}}}(t,n,r);case"COMM":return po(t,n,r);case"COMR":return function(t,n,r){var i=Uu(t,n);if(vo(i)){var e,u,o=lo(i),s=Zu(t,n),f=Ku(t,n,8),a=Zu(t,n),c=Uu(t,n),h=o(t,n),v=o(t,n);return n.gc<t.byteLength&&(e=Zu(t,n)||"image/",u=_o(t,n)),{id:r,price:s,validUntil:f,contactURL:a,receivedAs:c,nameOfSeller:h,description:v,pictureMimeType:e,sellerLogo:u}}}(t,n,r);case"GEOB":return wo(t,n,r);case"IPLS":return mo(t,n,r);case"PRIV":return function(t,n,r){return{id:r,ownerIdentifier:Zu(t,n),data:_o(t,n)}}(t,n,r);case"POSS":return function(t,n,r){return{id:r,format:Uu(t,n),position:Xu(t,n)}}(t,n,r);case"SYLT":return yo(t,n,r);case"TXXX":return Io(t,n,r);case"UFID":return go(t,n,r);case"USER":return function(t,n,r){var i=Uu(t,n);if(vo(i)){var e=lo(i);return{id:r,language:Ku(t,n,3),text:e(t,n)}}}(t,n,r);case"USLT":return Eo(t,n,r);case"WXXX":return To(t,n,r);case"YMID":case"YTYP":case"YSEQ":case"YDUR":case"YCSP":return So(t,n,r);default:var i=r.charAt(0);if("T"===i)return So(t,n,r);if("W"===i)return bo(t,n,r)}}!function(t){t[t.ISO_8859_1=0]="ISO_8859_1",t[t.UTF16_BOM=1]="UTF16_BOM",t[t.UTF16=2]="UTF16",t[t.UTF8=3]="UTF8"}(ao||(ao={})),function(t){t[t.V22=2]="V22",t[t.V23=3]="V23",t[t.V24=4]="V24"}(co||(co={}));var No,Ro=10;function Do(t,n){return(127&Uu(t,n))<<21|(127&Uu(t,n))<<14|(127&Uu(t,n))<<7|127&Uu(t,n)}function Po(t,n){switch(t){case co.V24:return{Sq:ju(n,0),Eq:ju(n,1),Iq:ju(n,2),Rq:ju(n,3)};case co.V23:return{Sq:ju(n,0),Eq:ju(n,1),Iq:ju(n,2)};case co.V22:return{Sq:ju(n,0),Nq:ju(n,1)}}}function Oo(t,n,r){switch(r.XT){case co.V23:r.zT.Eq&&function(t,n){var r=n.gc,i=Xu(t,n)+4,e=32768&Vu(t,n);n.yc(r+i),e&&Xu(t,n)}(t,n);break;case co.V24:r.zT.Eq&&function(t,n){var r=n.gc,i=Do(t,n);n.yc(r+i)}(t,n)}}function Co(t,n){if(t.byteLength-n.gc<Ro)return null;if(73!==Uu(t,n)||68!==Uu(t,n)||51!==Uu(t,n))return null;var r=Uu(t,n),i=Uu(t,n);if(!function(t){switch(t){case co.V22:case co.V23:case co.V24:return!0}return!1}(r))return null;var e=Uu(t,n),u=Do(t,n);return{XT:r,Dq:i,zT:Po(r,e),Cq:u}}function Fo(t,n,r){switch(r.XT){case co.V22:return function(t,n,r){return{Ow:Ku(t,n,3),_c:Wu(t,n,3)}}(t,n);case co.V23:return function(t,n,r){var i=Ku(t,n,4),e=Xu(t,n);Uu(t,n);var u=Uu(t,n);return{Ow:i,_c:e,zT:{Nq:ju(u,0),Pq:ju(u,1),groupingIdentity:ju(u,2)}}}(t,n);case co.V24:return function(t,n,r){var i=Ku(t,n,4),e=Do(t,n);Uu(t,n);var u=Uu(t,n);return{Ow:i,_c:e,zT:{groupingIdentity:ju(u,1),Nq:ju(u,4),Pq:ju(u,5),Sq:ju(u,6),Oq:ju(u,7)}}}(t,n)}}function Lo(t){for(var n=new p(t.byteLength),r=0,i=0;i<t.byteLength;i++){var e=t.getUint8(i);255===e&&i++,n[r]=e,r++}return new DataView(n,0,r)}function Mo(t,n,r){var i=[],e=n.gc,u=io(t,e,e+r.Cq),o=new ho;switch(n.wc(r.Cq),r.XT){case co.V22:case co.V23:r.zT.Sq&&(u=Lo(u))}for(Oo(t,n,r);o.gc<u.byteLength;)i.push(xo(u,o,r));return i}function xo(t,n,r){var i,e,u=Fo(t,n,r),o=n.gc,s=io(t,o,o+u._c);switch(n.wc(u._c),r.XT){case co.V22:var f=u;i=ko(e=s,new ho,f.Ow);break;case co.V23:var a=u,c=new ho;!function(t,n,r){var i,e,u,o=r.zT;o.Nq&&(i=Xu(t,n)),o.Pq&&(e=Uu(t,n)),o.groupingIdentity&&(u=Uu(t,n))}(s,c,a),i=Ao(e=io(s,c.gc,s.byteLength),new ho,a.Ow);break;case co.V24:var h=u,v=new ho;h.zT.Sq&&(s=Lo(s)),function(t,n,r){var i,e,u,o,s=r.zT;s.groupingIdentity&&(i=Uu(t,n)),s.Nq&&(e=Xu(t,n)),s.Pq&&(u=Uu(t,n)),s.Oq&&(o=Do(t,n))}(s,v,h),i=Ao(e=io(s,v.gc,s.byteLength),new ho,h.Ow)}if(!i){var l=so(uo(e));i=function(t,n){return{id:t||"",data:n instanceof ArrayBuffer?n:void 0}}(u.Ow,l.buffer)}return i}function Bo(t,n){var r=new DataView(t.buffer,n),i=new ho,e=Co(r,i);return e?i.gc+e.Cq:0}function jo(t,n,r,i,e){var u=e.xBt=e.xBt||[],o=io(eo(t),n,r),s=new ho,f=Co(o,s);if(null!==f){var a=eo(new p(f.Cq)),c=new ho,h={cI:{w2:i.Wp(),nht:i},MT:f,Zu:{dI:a,_T:c}};u.push(h),Uo(h,io(o,s.gc))}}function Uo(t,n){var r=t.Zu,i=r.dI.byteLength-r._T.gc,e=io(n,0,v.min(i,n.byteLength));!function(t,n,r){uo(t).set(uo(r),n.gc),n.wc(r.byteLength)}(r.dI,r._T,e)}function Ho(t){for(var n=[],r=0,i=t.xBt;r<i.length;r++){var e=i[r],u=e.MT,o={MT:u,Bq:Mo(e.Zu.dI,new ho,u),cI:{w2:e.cI.w2,s$:e.cI.nht}};n.push(o)}return{OBt:t.OBt,Tmt:t.Tmt,BBt:t.BBt,LBt:t.LBt,xBt:n,sPt:"",Ww:"",jw:[]}}!function(t){t.wLt="h.264",t.vyt="mp3",t.fyt="aac-lc",t.ZBt="he-aac"}(No||(No={}));var Go,Wo,Vo=H.qs?function(t,n){return lu(t.iht,n.iht)}:function(t,n){return lu(t.rht,n.rht)};!function(t){t[t.lZ=0]="lZ",t[t._Z=1]="_Z",t[t.gZ=2]="gZ",t[t.wZ=3]="wZ",t[t.mZ=4]="mZ",t[t.yZ=5]="yZ"}(Go||(Go={})),function(t){t[t.kZ=0]="kZ",t[t.pZ=1]="pZ",t[t.bZ=2]="bZ",t[t.AZ=3]="AZ"}(Wo||(Wo={}));var Xo,qo,zo,Yo,Ko,$o;[[42,225],[92,233],[94,237],[95,243],[96,250],[123,231],[124,247],[125,209],[126,241],[127,9608],[128,174],[129,176],[130,189],[131,191],[132,8482],[133,162],[134,163],[135,9834],[136,224],[137,32],[138,232],[139,226],[140,234],[141,238],[142,244],[143,251],[144,193],[145,201],[146,211],[147,218],[148,220],[149,252],[150,8216],[151,161],[152,42],[153,8217],[154,9473],[155,169],[156,8480],[157,8226],[158,8220],[159,8221],[160,192],[161,194],[162,199],[163,200],[164,202],[165,203],[166,235],[167,206],[168,207],[169,239],[170,212],[171,217],[172,249],[173,219],[174,171],[175,187],[176,195],[177,227],[178,205],[179,204],[180,236],[181,210],[182,242],[183,213],[184,245],[185,123],[186,125],[187,92],[188,94],[189,95],[190,124],[191,8764],[192,196],[193,228],[194,214],[195,246],[196,223],[197,165],[198,164],[199,9475],[200,197],[201,229],[202,216],[203,248],[204,9487],[205,9491],[206,9495],[207,9499]].reduce(function(t,n){return t[n[0]]=n[1],t},{}),y.resolve();!function(t){t.sp="op",t.hp="ap",t.cw="zc"}(Xo||(Xo={})),function(t){t.sp="enter",t.hp="exit",t.cw="update"}(qo||(qo={})),function(t){t[t.AC=0]="AC",t[t.yJ=1]="yJ",t[t.kJ=2]="kJ",t[t.pJ=3]="pJ",t[t.mu=4]="mu"}(zo||(zo={})),function(t){t.UK='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.HK='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.VK='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.XK='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Yo||(Yo={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}(Ko||(Ko={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}($o||($o={}));var Zo;Ko.WHITE,Yo.VK,Ko.BLACK,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.GREEN,$o.FONT_REGULAR,Ko.GREEN,$o.FONT_UNDERLINE,Ko.BLUE,$o.FONT_REGULAR,Ko.BLUE,$o.FONT_UNDERLINE,Ko.CYAN,$o.FONT_REGULAR,Ko.CYAN,$o.FONT_UNDERLINE,Ko.RED,$o.FONT_REGULAR,Ko.RED,$o.FONT_UNDERLINE,Ko.YELLOW,$o.FONT_REGULAR,Ko.YELLOW,$o.FONT_UNDERLINE,Ko.MAGENTA,$o.FONT_REGULAR,Ko.MAGENTA,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_ITALICS,Ko.WHITE,$o.FONT_UNDERLINE_ITALICS,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE,Ko.WHITE,$o.FONT_REGULAR,Ko.WHITE,$o.FONT_UNDERLINE;function Qo(t,n){return fu(t.s$,n.s$)||Ye(t.IE,n.IE)}function Jo(t,n,r){return r===Go.lZ?r:n!==Wo.kZ&&n!==Wo.pZ||r!==Go._Z&&r!==Go.gZ?t?n===Wo.bZ?Go.mZ:n===Wo.AZ?Go.wZ:Go.lZ:Go.yZ:Go.gZ}function ts(t,n,r,i){var e={byte:r},u=Go._Z,o=[],s=31&Ji(n,e,i);e.byte+=1;for(var f=0;f<s;f+=1){var a=Ji(n,e,i),c=4&a,h=3&a;u=Jo(Boolean(c),h,u);var v=Ji(n,e,i),l=Ji(n,e,i);o.push({s$:t,IE:-1,ZJ:!f,KJ:Boolean(c),jh:h,kot:u,JJ:v,$J:l})}return o}function ns(t,n,r){var i=Ji(t,n,r);if(!d(i))return String.fromCharCode(i)}function rs(t){var n=t.pot,r={byte:t.bot},i=t.Aot,e=Ji(n,r,i);if(255===e&&(r.byte+=1),181===e){var u=te(n,r);if(u===Zo.Tot||u===Zo.Sot){if(u===Zo.Sot)if("GA94"!==function(t,n,r){for(var i="",e=r;e>0;)e-=1,i+=ns(t,n);return i}(n,r,4))return;if(3===Ji(n,r,i)){u===Zo.Tot&&(r.byte+=1);var o=t;return o.Eot=r.byte,o}}}}function is(t){return 4===t.Iot}function es(t){for(var n=t.filter(is).map(rs).filter(G),r=[],i=0;i<n.length;i++){var e=n[i];r.push.apply(r,ts(e.Rot,e.pot,e.Eot,e.Aot))}return r}function us(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i.cI.hht&&n.push.apply(n,i.cI.hht),delete i.cI.hht}for(var e=0;e<n.length;e+=1)n[e].IE=e;return n.sort(Qo)}!function(t){t[t.Tot=47]="Tot",t[t.Sot=49]="Sot"}(Zo||(Zo={}));var os,ss=[128,64,32,16,8,4,2,1];function fs(t,n){var r=v.floor(n.bit/8),i=0==((Qi(t)?t.fc(r):t[r])&ss[n.bit%8])?0:1;return n.bit+=1,i}function as(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+fs(t,n);return i}function cs(t,n){for(var r=0;0===fs(t,n)&&r<32;)r+=1;return as(t,n,r)+v.pow(2,r)-1}function hs(t,n){var r=cs(t,n);return 1&r?v.floor((r+1)/2):-v.floor(r/2)}function vs(t,n){var r,i=[],e={byte:1};do{i.push(_s(t,n,e)),r=n.fc(e.byte)}while(void 0!==r&&128!==r);return i}function ls(t,n){var r,i=0;do{i+=r=Ji(t,n)}while(255===r);return i}function _s(t,n,r){var i=ls(n,r),e=ls(n,r),u=r.byte,o=u+e;return r.byte=o,{Rot:t,Iot:i,xot:e,bot:u,Aot:o,pot:n}}!function(t){t[t.Mot=1]="Mot",t[t.Fot=2]="Fot",t[t.Uot=3]="Uot",t[t.Hot=4]="Hot",t[t.Vot=5]="Vot",t[t.Xot=6]="Xot",t[t.zot=7]="zot",t[t.Wot=8]="Wot",t[t.Got=9]="Got"}(os||(os={}));var ds=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function ps(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+hs(t,n)+256)%256;i=0===e?i:e}}var ws=function(){function t(t){this.qot=void 0,this.jot=[],this.Yot=0,this.qot=t}var n=t.prototype;return n.Qot=function(){for(var t=this.jot,n=v.max(0,this.Yot+t.length-2),r=this.qot,i=r.Aw,e=0;n<i;n+=1){var u=r.fc(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Yot=n-t.length},n.Kot=function(t){for(var n=this.jot,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.fc=function(t){if(!(t>this.qot.Aw))return t>this.Yot&&this.Qot(),this.qot.fc(this.Kot(t))},t}();function ms(t){var n,r,i,e,u,o,s=new ws(t),f=0,a=0,c=0,h=0,l=s.fc(1),_={bit:32};if(cs(s,_),100===l||110===l||122===l||144===l){var d=cs(s,_);if(3===d&&(n=fs(s,_)),cs(s,_),cs(s,_),fs(s,_),1===fs(s,_))for(var p=0;p<(3!==d?8:12);p+=1){1===fs(s,_)&&ps(s,_,p<6?16:64)}}var w=cs(s,_),m=cs(s,_);if(0===m)cs(s,_);else if(1===m){fs(s,_),hs(s,_),hs(s,_);for(var y=cs(s,_),g=0;g<y;g+=1)hs(s,_)}cs(s,_),fs(s,_);var E=cs(s,_),S=cs(s,_),b=fs(s,_);if(0===b&&fs(s,_),fs(s,_),1===fs(s,_)&&(f=cs(s,_),a=cs(s,_),c=cs(s,_),h=cs(s,_)),1===fs(s,_)){if(1===fs(s,_)){var I=as(s,_,8);if(255===I)r=as(s,_,16),i=as(s,_,16);else{var T=ds[I];T&&(r=T[0],i=T[1])}}if(1===fs(s,_)&&fs(s,_),1===fs(s,_))as(s,_,3),fs(s,_),1===fs(s,_)&&(as(s,_,8),as(s,_,8),as(s,_,8));1===fs(s,_)&&(cs(s,_),cs(s,_)),1===(e=fs(s,_))&&(u=as(s,_,32),o=as(s,_,32),fs(s,_))}return{width:v.floor(16*(E+1)-2*f-2*a),height:v.floor((2-b)*(S+1)*16-2*c-2*h),wE:r,mE:i,Zot:!!e&&o/(2*u),Jot:n,$ot:w}}var ys=9e4;function gs(t,n){var r=new ne,i=r.cI;return i.nht=t.nht,i.sht=t.sht,i.iht=t.iht,i.uht=t.uht,i.rht=t.rht,t.qot=r,n.push(r),r}function Es(t,n){var r,i,e,u,o=t.fa;if(!o)return{};for(var s=0;s<o.length&&(!r||!e);s+=1)o[s].cI.jh===os.zot?r=o[s]:o[s].cI.jh===os.Wot&&(e=o[s].Zu);i=r&&r.Zu||n.SCt,e=e||n.ECt,!r&&i&&(r=new ne).vot(i,0,i.length);var f,a,c,h,v=i&&e&&function(t,n){var r=t.length,i=n.length,e=[];return oe(e,1),oe(e,t[1]),oe(e,t[2]),oe(e,t[3]),oe(e,255),oe(e,225),oe(e,(65280&r)>>8),oe(e,255&r),se(e,t),oe(e,1),oe(e,(65280&i)>>8),oe(e,255&i),se(e,n),e}(i,e),l=(u=r&&ms(r))&&u.width,_=u&&u.height,d=r&&r.fc(1),p=r&&r.fc(2),w=r&&r.fc(3);return u&&u.Zot?(f=u.Zot,a=!1):(f=void 0,a=!0),u&&u.wE&&u.mE&&(c=u.wE,h=u.mE),{sE:v,Qo:l,kS:_,Aft:d,_Lt:p,Sft:w,SCt:i,ECt:e,Zot:f,lLt:a,wE:c,mE:h}}function Ss(t){for(var n=t.Aw-1;n>=0;n-=1)if(0!==t.fc(n))return t.Aw!==n+1&&(t.Aw=n+1),t;return t}function bs(t,n){n.cI.cht=!0}function Is(t,n){n.cI.oht=!0,bs(0,n)}function Ts(t){var n=new ne,r=n.cI,i=t.cI;return r.nht=i.nht,r.w2=i.w2,r.sht=i.sht,r.iht=i.iht,r.uht=i.uht,r.rht=i.rht,n}function ks(t,n){var r=t.length&&t[t.length-1],i=n.cI;i.cht&&(!i.aht&&r||t.push(n))}function As(t,n,r){return n.cI.cht?(ks(t,n),Ts(r)):null}function Ns(t){for(var n=function(t){return t.map(function(t){return t.cI.iht}).sort(fu)}(t),r=[],i=1;i<n.length;i+=1){var e=n[i],u=n[i-1];r.push(e.eb(u))}return r.sort(fu),r}function Rs(t){var n=Ns(t);return n.length?n[v.floor(n.length/2)]:_u(.4*ys)}function Ds(t,n){!function(t){var n=t.fa;if(n)for(var r,i=n.length,e=0;e<i;e+=1)switch((r=n[e]).cI.jh){case os.Got:case os.Xot:case os.zot:case os.Wot:Ss(r)}}(t);var r,i,e=Es(t,n),u=function(t){var n,r=[],i=new ne,e=t.fa;if(!e)return r;for(var u=0;u<e.length;u++){var o=e[u];switch(o.cI.jh){case os.Vot:Is(0,i);break;case os.Mot:case os.Fot:case os.Uot:case os.Hot:bs(0,i);break;case os.Xot:(n=As(r,i,o))&&(i=n);var s,f=es(vs(o.cI.iht,new ws(o)));i.cI.hht?(s=i.cI.hht).push.apply(s,f):i.cI.hht=f;break;case os.zot:case os.Wot:(n=As(r,i,o))&&(i=n);break;case os.Got:ks(r,i),(i=Ts(o)).cI.aht=!0}0!==o.cI.jh&&(i.vot(re(o.Aw),0,4),i.fot(o))}return ks(r,i),r}(t),o=u.length>1?t.jBt.eb(t.GBt).Ub(u.length-1):su.tA,s=!1;return o.sb()||e.Zot&&!(v.abs(e.Zot-1/o.Wp())>10)?e.Zot?(i=e.Zot,r=_u(ys/i)):r=_u(ys/(i=24)):(s=!0,i=1/(r=Rs(u)).Wp()),{OBt:t.OBt,Bq:u,FBt:t.FBt,UBt:t.UBt,VBt:_u(t.VBt),Zot:i,XBt:r,dLt:s,lLt:e.lLt,sE:e.sE,width:e.Qo,height:e.kS,Aft:e.Aft,_Lt:e._Lt,Sft:e.Sft,SCt:e.SCt,ECt:e.ECt,wE:e.wE,mE:e.mE,QBt:su.tA,KBt:su.tA,HBt:NaN,duration:NaN,zBt:t.zBt,WBt:t.WBt,GBt:t.GBt,qBt:t.qBt,jBt:t.jBt,YBt:t.YBt}}function Ps(t){t.duration=t.HBt,function(t){var n,r,i=t.Bq,e=i.length,u=su.gb;if(e){n=(i=Fi(i,function(t,n){return Vo(t.cI,n.cI).qp(su.gb)}))[0];for(var o=1;o<e;o+=1){var s=i[o];(r=Vo(s.cI,n.cI)).Qp(su.gb)&&(r=t.XBt),u=u.Gk(r),n.cI.eht=r,n.cI.Mm=r.Wp(),n=s}n&&(r=su.Gb(_u(v.round(t.duration*ys)).eb(u),t.XBt),n.cI.eht=r,n.cI.Mm=r.Wp())}}(t)}var Os,Cs=71,Fs=188,Ls=0;function Ms(t,n,r){if(t&&n&&n.length){for(var i=su.nA,e=su.nA,u=su.iA,o=su.iA,s=0;s<n.length;s++){var f=n[s].cI;i=su.qb(f.rht,i),e=su.qb(f.iht,e),u=su.Gb(f.rht,u),o=su.Gb(f.iht,o)}t.GBt=e,t.qBt=i,t.jBt=o,t.YBt=u,t.VBt=su.Gb(su.gb,t.WBt.eb(r)).Wp()}}function xs(t){t.QBt=t.jBt.Gk(t.XBt),t.KBt=t.YBt.Gk(t.XBt),t.HBt=t.QBt.eb(t.GBt).Wp()}function Bs(t,n,r){if(0!=(48&t[n+6]))throw new a("MTE1540");var i=t[n+7],e=0!=(128&i),u=0!=(64&i),o=t[n+8],s=e?_u((14&t[n+9])*v.pow(2,29)+(t[n+10]<<22)+((254&t[n+11])<<14)+(t[n+12]<<7)+((254&t[n+13])>>1)):void 0,f=u?_u((14&t[n+14])*v.pow(2,29)+(t[n+15]<<22)+((254&t[n+16])<<14)+(t[n+17]<<7)+((254&t[n+18])>>1)):void 0,c=r.rht||r.iht||f||s;if(e){var h=lu(s,c),l=c.Gk(h);r.iht=l,r.sht=l.Wp()}else 0;if(r.UBt=u,u){var _=lu(f,c),d=c.Gk(_);r.rht=d,r.nht=d,r.uht=d.Wp()}else r.uht=r.sht,r.rht=r.iht,r.nht=r.iht;return void 0===r.WBt&&(r.WBt=r.nht),r.aa=!0,n+8+o+1}function js(t,n,r,i,e){i.ca?jo(t,n=Bs(t,n,e),r,e.iht,e):e.aa&&function(t,n,r,i){var e=i.xBt=i.xBt||[];if(e.length){var u=e[e.length-1];u&&Uo(u,io(eo(t),n,r))}}(t,n,r,e)}function Us(t,n,r,i,e){i.ca&&(n=Bs(t,n,e)),e.aa&&function(t,n,r,i){var e,u,o,s,f;for(e=u=n,o=i.fa=i.fa||[],s=i.qot||gs(i,o),f=i.ms||0;u<r;){var a=t[u];if(u+=1,0===f)0===a&&(f=1);else if(1===f)f=0===a?2:0;else if(0===a)f=3;else if(1===a){var c=1+f;s.vot(t,e,u-c),s.cI.jh||(s.cI.jh=31&s.fc(0)),e=u,0!==s.Aw&&(s=gs(i,o)),f=0}else f=0}u-e>0&&(s.vot(t,e,u),s.cI.jh||(s.cI.jh=31&s.fc(0))),i.ms=f}(t,n,r,e)}function Hs(t,n,r,i,e){return e.video&&i.OBt===e.video.OBt?Us(t,n,r,i,e.video):e.audio&&i.OBt===e.audio.OBt?function(t,n,r,i,e){i.ca&&(n=Bs(t,n,e)),e.aa&&(e.FBt===No.fyt||e.FBt===No.ZBt?mu(t,n,r,e):e.FBt===No.vyt&&Du(t,n,r,e))}(t,n,r,i,e.audio):e.PBt&&i.OBt===e.PBt.OBt?js(t,n,r,i,e.PBt):e}function Gs(t,n,r,i,e){return i.OBt===Ls?i.ca?function(t,n,r){var i,e=((15&t[n+2])<<8)+t[n+3];if(e<13)return r;if(0!==(t[n+9]<<8)+t[n+10])i=n+11;else{if(!(e>=17))return r;i=n+15}return r.ha=((31&t[i])<<8)+t[i+1],r}(t,n,e):e:i.OBt===e.ha&&i.ca?function(t,n,r){var i,e,u=((15&t[n+2])<<8)+t[n+3],o=((15&t[n+11])<<8)+t[n+12];i=n+13+o,e=u-9-4-o;for(var s=!1,f=!1,a=!1;e>=5;){var c=null,h=t[i],v=((31&t[i+1])<<8)+t[i+2];s||h!==Os.wLt?f||h!==Os.la&&h!==Os.da?f||h!==Os.fyt?f||h!==Os.ZBt?a||h!==Os.pa||(r.PBt.OBt=v,c=r.PBt,a=!0):(r.audio.FBt=No.ZBt,r.audio.OBt=v,c=r.audio,f=!0):(r.audio.FBt=No.fyt,r.audio.OBt=v,c=r.audio,f=!0):(r.audio.FBt=No.vyt,r.audio.OBt=v,c=r.audio,f=!0):(r.video.FBt=No.wLt,r.video.OBt=v,c=r.video,s=!0);var l=((15&t[i+3])<<8)+t[i+4];c&&(c.Tmt=h,c.BBt=l,c.LBt=fo(ro(t,i+5,i+5+l))),e=e-5-l,i=i+5+l}}(t,n,e):e}function Ws(t,n){return t===Ls||t===n.ha}function Vs(t,n){return!(!n.video||t!==n.video.OBt)||(!(!n.audio||t!==n.audio.OBt)||!(!n.PBt||t!==n.PBt.OBt))}function Xs(t,n,r,i,e,u){if(t[n]===Cs){var o,s=128&(o=t[n+1]),f=64==(64&o),a=((31&o)<<8)+t[n+2],c=192&(o=t[n+3]),h=32==(32&o),v=16==(16&o);if(!e(a,i))return i;if(0!==s)return i;if(0!==c)return i;if(!v)return i;var l=n+4;return h&&(l+=t[l]+1),l>=r?i:u(t,l,r,{wa:s,ca:f,OBt:a,ga:c,ba:h,ka:v},i)}}function qs(t){for(var n=v.min(1e3,t.length-3*Fs),r=0;r<n;r++)if(t[r]===Cs&&t[r+Fs]===Cs&&t[r+2*Fs]===Cs)return r;return-1}function zs(t,n){return n.Gp(t)&&(t=t.Gk(hu)),t.Wp()}function Ys(t,n,r){if(t&&n){t.zBt=zs(t.WBt,r);for(var i=0;i<n.length;i++){var e=n[i];e.cI.w2=zs(e.cI.nht,r)}}}function Ks(t){return!!t&&void 0!==t.WBt}function $s(t,n){return fu(t.WBt,n.WBt)}function Zs(t,n){var r=function(t,n){for(var r={audio:{},video:{},PBt:{}},i=qs(t),e=t.length-(t.length-i)%Fs,u=i;u<e;u+=Fs)Xs(t,u,u+Fs,r,Ws,Gs);n.ICt&&!r.audio.OBt&&(r.audio.OBt=n.ICt),n.RCt&&!r.video.OBt&&(r.video.OBt=n.RCt),n.NCt&&!r.audio.FBt&&(r.audio.FBt=n.NCt),n.DCt&&!r.video.FBt&&(r.video.FBt=n.DCt),!r.audio||n.n3&&"mp4a.40.5"!==n.n3.Lmt||(r.audio.ja=!0);for(var o=i;o<e;o+=Fs)Xs(t,o,o+Fs,r,Vs,Hs);return r}(t,n);if(t=null,r.audio&&r.audio.Bq&&0!==r.audio.Bq.length||(r.audio=null),r.video&&r.video.fa&&0!==r.video.fa.length||(r.video=null),r.PBt&&r.PBt.xBt&&0!==r.PBt.xBt.length||(r.PBt=null),null===r.audio&&null===r.video&&null===r.PBt)return r;var i,e,u=(i=[r.audio,r.video,r.PBt],(e=i.filter(Ks)).length?(e.sort($s),e[0].WBt):su.gb);Ys(r.audio,r.audio&&r.audio.Bq,u),Ys(r.video,r.video&&r.video.fa,u),Ys(r.PBt,r.PBt&&r.PBt.xBt,u),Ms(r.audio,r.audio&&r.audio.Bq,u),Ms(r.video,r.video&&r.video.fa,u);var o=null,s=null;r.video&&(s=us((o=Ds(r.video,n)).Bq),xs(o),Ps(o));var f=null;if(r.audio)if(r.audio.FBt===No.fyt||r.audio.FBt===No.ZBt){var a=r.audio.FBt===No.ZBt||n.n3&&"mp4a.40.5"===n.n3.Lmt,c=!a&&n.CCt;xs(f=gu(r.audio,a,c)),Eu(f)}else r.audio.FBt===No.vyt&&(xs(f=Pu(r.audio)),Ou(f));var h=null;return r.PBt&&(h=Ho(r.PBt)),{audio:f,video:o,PBt:h,hht:s,MBt:u}}function Qs(t,n,r,i,e){!function(t,n,r){return Ru(t[n],t[n+1])}(t,n)?(i.n3&&"mp4a.40.5"===i.n3.Lmt?e.FBt=No.ZBt:e.FBt=No.fyt,mu(t,n,r,e)):(e.FBt=No.vyt,Du(t,n,r,e))}function Js(t,n){var r=0,i={};r+=function(t,n,r,i,e){for(var u=Bo(t,n);u>0&&n+u<r;)jo(t,n,n+u,i,e),u=Bo(t,n+=u);return n}(t,r,t.byteLength,su.gb,i);for(var e=Ho(i),u=function(t){for(var n=su.tA,r=0;r<t.xBt.length;r+=1)for(var i=t.xBt[r],e=0;e<i.Bq.length;e+=1){var u=i.Bq[e];if("PRIV"===u.id&&"com.apple.streaming.transportStreamTimestamp"===u.ownerIdentifier){var o=new DataView(u.data);return n=su.fb(qu(o,new ho),au),tf(t,r,e),n}}return n}(e),o=0,s=e.xBt;o<s.length;o++){s[o].cI={s$:u,w2:u.Wp()}}var f={};return f.GBt=f.qBt=f.nht=f.WBt=u,f.zBt=u.Wp(),f.VBt=0,Qs(t,r,t.byteLength,n,f),{audio:f,PBt:e}}function tf(t,n,r){var i=t.xBt,e=i[n].Bq;e.length>1?ji(e,r):i.length>1?ji(i,n):i.length=0}function nf(t){var n=t.XBt.Lb(t.Bq.length);t.KBt=t.GBt.Gk(n),t.QBt=t.GBt.Gk(n)}!function(t){t[t.wLt=27]="wLt",t[t.la=3]="la",t[t.da=4]="da",t[t.fyt=15]="fyt",t[t.ZBt=17]="ZBt",t[t.pa=21]="pa"}(Os||(Os={}));var rf,ef,uf,of,sf,ff,af,cf=t;function hf(t,n){return void 0===rf&&(rf=function(){var t=new p(1);try{return cf.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&rf?cf.postMessage(t,n):cf.postMessage(t)}function vf(t){return{MT:t.MT,cI:{w2:t.cI.w2,nht:t.cI.s$.fA()},Bq:t.Bq}}function lf(t){return{s$:t.s$.fA(),IE:t.IE,ZJ:t.ZJ,KJ:t.KJ,jh:t.jh,kot:t.kot,JJ:t.JJ,$J:t.$J}}function _f(t){return{OBt:t.OBt,Bq:[],FBt:t.FBt,UBt:t.UBt,duration:t.duration,HBt:t.HBt,VBt:t.VBt.fA(),Zot:t.Zot,XBt:t.XBt.fA(),zBt:t.zBt,WBt:t.WBt.fA(),GBt:t.GBt.fA(),qBt:t.qBt.fA(),jBt:t.jBt.fA(),YBt:t.YBt.fA(),QBt:t.QBt.fA(),KBt:t.KBt.fA()}}function df(t,n){switch(t.FBt){case No.fyt:case No.ZBt:return function(t,n){return vi({},pf(t),{FBt:t.FBt,Bq:t.Bq.map(function(t){return function(t,n){var r=(i=t.cI,vi({},gf(i),{JBt:i.JBt,$Bt:i.$Bt,tLt:i.tLt}));var i;return wf(t.kc(r),n)}(t,n)}),CCt:t.CCt,nLt:t.nLt})}(t,n);case No.vyt:return function(t,n){return vi({},pf(t),{FBt:t.FBt,Bq:t.Bq.map(function(t){return function(t,n){var r=(i=t.cI,vi({},gf(i),{XT:i.XT,mS:i.mS,iLt:i.iLt,ayt:i.ayt,rLt:i.rLt}));var i;return wf(t.kc(r),n)}(t,n)})})}(t,n)}}function pf(t){return vi({},_f(t),{Bq:[],FBt:t.FBt,eLt:t.eLt,sLt:t.sLt,uLt:t.uLt,oLt:t.oLt})}function wf(t,n){var r=t.yot();return n.push(r.buffer),{hLt:r,aLt:t.Aw,cLt:t.cI}}function mf(t,n){return vi({},_f(t),{FBt:t.FBt,Bq:t.Bq.map(function(t){return function(t,n){var r=(i=t.cI,vi({},yf(i),{Mm:i.Mm,eht:i.eht.fA(),sht:i.sht,uht:i.uht,fLt:i.fLt&&i.fLt.fA(),vLt:i.vLt&&i.vLt.fA(),oht:i.oht,cht:i.cht,hht:i.hht,aht:i.aht}));var i;return wf(t.kc(r),n)}(t,n)}),dLt:t.dLt,lLt:t.lLt,sE:t.sE,width:t.width,height:t.height,Aft:t.Aft,_Lt:t._Lt,Sft:t.Sft,SCt:t.SCt,ECt:t.ECt,wE:t.wE,mE:t.mE})}function yf(t){var n;return vi({},{w2:(n=t).w2,nht:n.nht.fA()},{iht:t.iht.fA(),rht:t.rht.fA()})}function gf(t){return vi({},yf(t))}!function(t){t.OLt="oft",t.NLt="UEt"}(ef||(ef={})),function(t){t.BLt="LLt",t.xLt="MLt"}(uf||(uf={})),function(t){t.SA="moov",t.EA="mvhd",t.IA="trak",t.RA="tkhd",t.NA="mdia",t.DA="mdhd",t.CA="hdlr",t.PA="minf",t.OA="stbl",t.BA="stsd",t.LA="stsc",t.xA="mvex",t.MA="trex",t.FA="avc1",t.UA="avcC",t.HA="hev1",t.VA="hvc1",t.XA="hvcC",t.zA="pasp",t.WA="mp4a",t.GA="esds",t.qA="wvtt",t.jA="vttC",t.YA="vlab",t.QA="enca",t.KA="encv",t.ZA="moof",t.JA="mfhd",t.$A="traf",t.tT="tfhd",t.nT="trun",t.iT="tfdt",t.rT="mdat",t.eT="pssh",t.sT="emsg",t.uT="sidx",t.oT="styp",t.hT="ftyp",t.aT="sinf",t.cT="frma"}(of||(of={})),function(t){t.a_="vide",t.h_="soun",t.fT="subt",t.vT="hint",t.dT="meta",t.lT="auxv"}(sf||(sf={})),function(t){t[t.BASE_DATA_OFFSET_PRESENT=1]="BASE_DATA_OFFSET_PRESENT",t[t.SAMPLE_DESCRIPTION_INDEX_PRESENT=2]="SAMPLE_DESCRIPTION_INDEX_PRESENT",t[t.DEFAULT_SAMPLE_DURATION_PRESENT=8]="DEFAULT_SAMPLE_DURATION_PRESENT",t[t.DEFAULT_SAMPLE_SIZE_PRESENT=16]="DEFAULT_SAMPLE_SIZE_PRESENT",t[t.DEFAULT_SAMPLE_FLAGS_PRESENT=32]="DEFAULT_SAMPLE_FLAGS_PRESENT",t[t.DURATION_IS_EMPTY=32]="DURATION_IS_EMPTY",t[t.DEFAULT_BASE_IS_MOOF=131072]="DEFAULT_BASE_IS_MOOF"}(ff||(ff={})),function(t){t[t.DATA_OFFSET_PRESENT=1]="DATA_OFFSET_PRESENT",t[t.FIRST_SAMPLE_FLAGS_PRESENT=4]="FIRST_SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_DURATION_PRESENT=256]="SAMPLE_DURATION_PRESENT",t[t.SAMPLE_SIZE_PRESENT=512]="SAMPLE_SIZE_PRESENT",t[t.SAMPLE_FLAGS_PRESENT=1024]="SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT=2048]="SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT"}(af||(af={}));var Ef=function(){function t(t,n){this.Zu=void 0,this._T=void 0,this.Zu=t,this._T=n}var n=t.prototype;return n.gT=function(){return Uu(this.Zu,this._T)},n.wT=function(){return Vu(this.Zu,this._T)},n.mT=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt16(n.gc,r);return n.wc(2),i}(this.Zu,this._T)},n.yT=function(){return Xu(this.Zu,this._T)},n.kT=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt32(n.gc,r);return n.wc(4),i}(this.Zu,this._T)},n.pT=function(){return qu(this.Zu,this._T)},n.bT=function(t){return Hu(this.Zu,this._T,t)},n.AT=function(t){return function(t,n,r){for(var i=[],e=0;e<r;e++)i.push(Xu(t,n));return i}(this.Zu,this._T,t)},n.TT=function(t){return Ku(this.Zu,this._T,t)},n.ST=function(){return no(this.Zu,this._T)},n.ET=function(t){this._T.wc(t)},n.kc=function(){return new t(this.Zu,this._T.kc())},t}();function Sf(t,n){return t.jh===n}var bf=function(t){function n(n,r){var i;return(i=t.call(this)||this).IT=n,i.RT=r,i}return P(n,t),R(n,[{key:"name",get:function(){return"DataIncompleteError"}}]),n}(Dt),If=function(){function t(){}return t.NT=function(n){var r=n.Zu,i=n._T,e=t.DT(r,i,!1);if(!e.CT)throw new bf(i.gc,e.Hu);return e.Hu},t.DT=function(n,r,i){for(var e=[];r.gc<n.byteLength;){var u=t.PT(n,r,i);if(!u.CT)return{CT:!1,Hu:e};e.push(u.OT)}return{CT:!0,Hu:e}},t.BT=function(n,r){var i=t.PT(n,r,!1);if(!i.CT)throw new bf(r.gc);return i.OT},t.LT=function(n,r){for(var i=n.Zu,e=n._T;e.gc<i.byteLength;){var u=t.PT(i,e,!1);if(!u.CT)return;if(u.OT.jh===r)return u.OT}},t.PT=function(n,r,i){var e=r.gc,u=t.xT(n,r);if(!u.CT)return u;var o=u.MT,s=o._c;if(0===s){if(i)return r.yc(e),{CT:!1,FT:1/0};s=n.byteLength-e}var f=e+s;if(f>n.byteLength){var a=f;return r.yc(e),{CT:!1,FT:a}}var c={jh:o.jh,gc:e,Zu:new Ef(io(n,e,f),new ho(o.UT))};return r.yc(f),{CT:!0,OT:c}},t.xT=function(t,n){var r=n.gc;if(!Gu(t,n,8))return{CT:!1,FT:n.gc+8};var i=Xu(t,n),e=Ku(t,n,4);if(1===i){if(!Gu(t,n,8)){var u=n.gc+8;return n.yc(r),{CT:!1,FT:u}}i=qu(t,n).toNumber()}if("uuid"===e){if(!Gu(t,n,16)){var o=n.gc+16;return n.yc(r),{CT:!1,FT:o}}e=Ku(t,n,16)}return{CT:!0,MT:{jh:e,_c:i,UT:n.gc-r}}},t.HT=function(t,n,r){var i=t.Zu,e=t._T,u=ro(uo(i),e.gc,i.byteLength);return r&&(u=so(u)),e.wc(u.byteLength),{jh:n,Zu:u}},t.VT=function(n,r,i){var e=Nf(n.yT());return{jh:r,XT:e.version,zT:e.flags,Zu:t.HT(n,r,i).Zu}},t}();function Tf(t,n){var r=kf(t,n);if(!r)throw new a("Missing "+n+" atom");return r}function kf(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.jh===n)return i.Zu}}function Af(t,n){for(var r=[],i=0;i<t.length;i++){var e=t[i];e.jh===n&&r.push(e.Zu)}return r}function Nf(t){return{version:t>>24,flags:new xu(16777215&t)}}var Rf,Df,Pf,Of=function(){function t(){}return t.WT=function(n){for(var r=[],i=If.NT(new Ef(n,new ho)),e=0;e<i.length;e++){var u=i[e],o=t.GT(u);o&&r.push(o)}return r},t.qT=function(t){return If.DT(t,new ho,!1).Hu.some(function(t){return t.jh===of.ZA||t.jh===of.oT})},t.jT=function(n){return Af(If.NT(new Ef(n,new ho)),of.eT).map(t.YT)},t.QT=function(n){return Af(If.NT(n.Zu),of.eT).map(t.YT)},t.GT=function(n){switch(n.jh){case of.SA:return t.KT(n.Zu);case of.ZA:return t.ZT(n.Zu,n.gc);case of.rT:return t.JT(n.Zu);case of.uT:return t.$T(n.Zu);case of.sT:return t.tS(n.Zu)}},t.KT=function(n){var r=If.NT(n),i=Tf(r,of.EA),e=Af(r,of.IA),u=kf(r,of.xA),o=t.nS(i),s=e.map(t.iS),f=u?t.rS(u):void 0;return{jh:of.SA,MT:o,eS:s,sS:f}},t.nS=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=1===r?t.pT():t.yT(),u=1===r?t.pT():t.yT(),o=t.yT(),s=1===r?t.pT():t.yT(),f=t.yT(),a=t.wT()>>8;t.ET(2),t.ET(8);var c=t.AT(9);t.ET(24);var h=t.yT();return{jh:of.EA,XT:r,zT:i,uS:e,oS:u,Xb:o,Mm:s,hS:f,qm:a,aS:c,cS:h}},t.iS=function(n){var r=If.NT(n),i=Tf(r,of.RA),e=Tf(r,of.NA),u=t.fS(i),o=t.vS(e);return{jh:of.IA,MT:u,dS:o}},t.fS=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=1===r?t.pT():t.yT(),u=1===r?t.pT():t.yT(),o=t.yT();t.ET(4);var s=1===r?t.pT():t.yT();t.ET(8);var f=t.mT(),a=t.mT(),c=t.mT()/v.pow(2,8);t.ET(2);var h=t.AT(9),l=t.yT()/v.pow(2,16),_=t.yT()/v.pow(2,16);return{jh:of.RA,lS:i.bc(1),_S:i.bc(2),gS:i.bc(4),uS:e,oS:u,wS:o,Mm:s,mS:f,yS:a,qm:c,aS:h,Qo:l,kS:_}},t.vS=function(n){var r=If.NT(n),i=Tf(r,of.DA),e=Tf(r,of.CA),u=Tf(r,of.PA),o=t.pS(i),s=t.bS(e),f=t.AS(u);return{jh:of.NA,MT:o,TS:s,SS:f}},t.pS=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=1===r?t.pT():t.yT(),u=1===r?t.pT():t.yT(),o=t.yT(),s=1===r?t.pT():t.yT();t.wT();return t.ET(2),{jh:of.DA,XT:r,zT:i,uS:e,oS:u,Xb:o,Mm:s}},t.bS=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags;t.ET(4);var e=t.TT(4);t.ET(12);var u=t.ST();return{jh:of.CA,XT:r,zT:i,ES:e,Ru:u}},t.AS=function(n){var r=Tf(If.NT(n),of.OA),i=t.IS(r);return{jh:of.PA,RS:i}},t.IS=function(n){var r=Tf(If.NT(n),of.BA),i=t.NS(r);return{jh:of.OA,DS:i}},t.NS=function(n){for(var r=Nf(n.yT()),i=r.version,e=r.flags,u=(n.yT(),[]),o=If.NT(n),s=0;s<o.length;s++){var f=o[s],a=t.CS(f.Zu,f.jh);a&&u.push(a)}return{jh:of.BA,XT:i,zT:e,PS:u}},t.CS=function(n,r){var i=t.OS(n,r);return i||((i=t.LS(n,r))||(r===of.qA?t.xS(n):void 0))},t.OS=function(n,r){return r===of.WA?t.MS(n):r===of.QA?t.FS(n):void 0},t.LS=function(n,r){return r===of.FA?t.US(n):r===of.HA||r===of.VA?t.HS(n,r):r===of.KA?t.VS(n):void 0},t.XS=function(t,n){return t.ET(6),{jh:n,zS:t.wT()}},t.WS=function(n,r){var i=t.XS(n,r);n.ET(8);var e=n.wT(),u=n.wT();return n.ET(2),n.ET(2),vi({},i,{GS:e,qS:u,jS:n.yT()>>>16})},t.YS=function(n,r){var i=t.XS(n,r);n.ET(2),n.ET(2),n.ET(12);var e=n.wT(),u=n.wT(),o=n.yT(),s=n.yT();n.ET(4);var f=n.wT();n.ET(32);var a=n.wT();return n.ET(2),vi({},i,{Qo:e,kS:u,QS:o,KS:s,ZS:f,JS:a})},t.MS=function(n){var r=t.WS(n,of.WA),i=Tf(If.NT(n),of.GA);return vi({},r,{$S:t.tE(i)})},t.xS=function(n){var r=t.XS(n,of.qA),i=If.NT(n),e=Tf(i,of.jA),u=t.nE(e),o=kf(i,of.YA);return vi({},r,{iE:u,rE:o?t.eE(o):o})},t.nE=function(t){return{jh:of.jA,Zc:t.ST()}},t.eE=function(t){return{jh:of.YA,xw:t.ST()}},t.tE=function(t){return If.VT(t,of.GA,!0)},t.US=function(n){var r=t.YS(n,of.FA),i=If.NT(n),e=Tf(i,of.UA),u=kf(i,of.zA);return vi({},r,{sE:t.uE(e),oE:u?t.hE(u):void 0})},t.HS=function(n,r){var i=t.YS(n,r),e=Tf(If.NT(n),of.XA);return vi({},i,{aE:t.cE(e)})},t.VS=function(n){var r=n.kc(),i=t.YS(n,of.KA),e=Tf(If.NT(n),of.aT),u=t.fE(e);return vi({},i,{vE:t.LS(r,u.lE.dE),_E:u})},t.FS=function(n){var r=n.kc(),i=t.WS(n,of.QA),e=Tf(If.NT(n),of.aT),u=t.fE(e);return vi({},i,{vE:t.OS(r,u.lE.dE),_E:u})},t.fE=function(n){var r=Tf(If.NT(n),of.cT),i=t.gE(r);return{jh:of.aT,lE:i}},t.gE=function(t){var n=t.TT(4);return{jh:of.cT,dE:n}},t.uE=function(t){return If.HT(t,of.UA,!0)},t.cE=function(t){return If.HT(t,of.XA,!0)},t.hE=function(t){var n=t.yT(),r=t.yT();return{jh:of.zA,wE:n,mE:r}},t.rS=function(n){var r=Af(If.NT(n),of.MA).map(t.yE);return{jh:of.xA,eS:r}},t.yE=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=t.yT(),u=t.yT(),o=t.yT(),s=t.yT(),f=t.yT();return{jh:of.MA,XT:r,zT:i,wS:e,kE:u,pE:o,bE:s,AE:f}},t.ZT=function(n,r){var i=If.NT(n),e=Tf(i,of.JA),u=Af(i,of.$A),o=t.TE(e),s=u.map(t.SE);return{jh:of.ZA,EE:r,MT:o,eS:s}},t.TE=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=t.yT();return{jh:of.JA,XT:r,zT:i,IE:e}},t.SE=function(n){var r=If.NT(n),i=Tf(r,of.tT),e=Af(r,of.nT),u=kf(r,of.iT),o=t.RE(i),s=e.map(function(n){return t.NE(n,o)}),f=u?t.DE(u):void 0;return{jh:of.$A,MT:o,CE:s,PE:f}},t.RE=function(t){var n=Nf(t.yT()),r=n.version,i=n.flags,e=t.yT(),u=i.bc(ff.BASE_DATA_OFFSET_PRESENT)?t.pT():void 0,o=i.bc(ff.SAMPLE_DESCRIPTION_INDEX_PRESENT)?t.yT():void 0,s=i.bc(ff.DEFAULT_SAMPLE_DURATION_PRESENT)?t.yT():void 0,f=i.bc(ff.DEFAULT_SAMPLE_SIZE_PRESENT)?t.yT():void 0,a=i.bc(ff.DEFAULT_SAMPLE_FLAGS_PRESENT)?t.yT():void 0;return{jh:of.tT,XT:r,zT:i,wS:e,OE:u,BE:o,pE:s,bE:f,AE:a}},t.NE=function(n,r){for(var i=Nf(n.yT()),e=i.version,u=i.flags,o=n.yT(),s=u.bc(af.DATA_OFFSET_PRESENT)?n.kT():void 0,f=u.bc(af.FIRST_SAMPLE_FLAGS_PRESENT)?n.yT():void 0,a=[],c=0;c<o;c++){var h=t.LE(n,u,e,r);0===c&&void 0!==f&&(h.zT=f),a.push(h)}return{jh:of.nT,XT:e,zT:u,xE:o,EE:s,ME:f,FE:a}},t.LE=function(t,n,r,i){return{Mm:n.bc(af.SAMPLE_DURATION_PRESENT)?t.yT():i.pE,_c:n.bc(af.SAMPLE_SIZE_PRESENT)?t.yT():i.bE,zT:n.bc(af.SAMPLE_FLAGS_PRESENT)?t.yT():i.AE,UE:n.bc(af.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT)?0===r?t.yT():t.kT():void 0}},t.tS=function(t){var n=t.Zu,r=t._T,i=Nf(Xu(n,r)),e=i.version,u=i.flags;if(1===e){var o=Xu(n,r),s=qu(n,r),f=Xu(n,r),a=Xu(n,r),c=Yu(n,r),h=Yu(n,r),v=oo(uo(n),r.gc,n.byteLength);return r.wc(v.byteLength),{jh:of.sT,XT:e,zT:u,HE:c,Cu:h,Xb:o,VE:s,XE:f,Ow:a,zE:v}}var l=Yu(n,r),_=Yu(n,r),d=Xu(n,r),p=Xu(n,r),w=Xu(n,r),m=Xu(n,r),y=oo(uo(n),r.gc,n.byteLength);return r.wc(y.byteLength),{jh:of.sT,zT:u,XT:e,HE:l,Cu:_,Xb:d,WE:p,XE:w,Ow:m,zE:y}},t.JT=function(t){return If.HT(t,of.rT,!1)},t.YT=function(n){var r=n.Zu,i=n._T,e=so(uo(r)).buffer,u=Nf(Xu(r,i)),o=u.version,s=u.flags,f=t.GE(r,i),a=[];if(o>0)for(var c=Xu(r,i),h=0;h<c;h++){var v=Hu(r,i,16);a.push(v)}var l=Xu(r,i),_=new p(e,i.gc,l);return i.wc(r.byteLength),{jh:of.eT,XT:o,zT:s,qE:f,jE:a,YE:l,Zu:_,QE:e}},t.GE=function(t,n){for(var r="",i=0;i<4;i++){var e=Uu(t,n).toString(16);r+=1===e.length?"0"+e:e}r+="-";for(var u=0;u<2;u++){var o=Uu(t,n).toString(16);r+=1===o.length?"0"+o:o}r+="-";for(var s=0;s<2;s++){var f=Uu(t,n).toString(16);r+=1===f.length?"0"+f:f}r+="-";for(var a=0;a<2;a++){var c=Uu(t,n).toString(16);r+=1===c.length?"0"+c:c}r+="-";for(var h=0;h<6;h++){var v=Uu(t,n).toString(16);r+=1===v.length?"0"+v:v}return r.toLowerCase()},t.$T=function(t){var n,r,i=t.Zu,e=t._T,u=Nf(Xu(i,e)),o=u.version,s=u.flags,f=Xu(i,e),a=Xu(i,e);0===o?(n=It.fromBits(Xu(i,e),0,!0),r=It.fromBits(Xu(i,e),0,!0)):(n=qu(i,e),r=qu(i,e)),e.wc(2);for(var c=Vu(i,e),h=[],v=0;v<c;v+=1){var l=Xu(i,e),_=l>>31&1,d=2147483647&l,p=Xu(i,e),w=Xu(i,e),m=w>>31&1,y=w>>28&7,g=268435455&w;h.push({KE:_,ZE:d,Mm:p,JE:m,$E:y,tI:g})}return{jh:of.uT,XT:o,zT:s,nI:f,Xb:a,iI:n,rI:r,eI:c,sI:h}},t.DE=function(t){var n,r=t.Zu,i=t._T,e=Nf(Xu(r,i)),u=e.version,o=e.flags;return n=0===u?It.fromBits(Xu(r,i),0,!0):qu(r,i),{jh:of.iT,XT:u,zT:o,PE:n}},t}();function Cf(t,n,r){var i=Uu(t,n);if(i!==r)throw new c("Expected descriptor with tag "+r+", but found "+i)}function Ff(t,n){Cf(t,n,Rf.mmt);var r,i,e,u=Lf(t,n),o=n.gc+u,s=Vu(t,n),f=Uu(t,n),a=0!=(64&f),c=0!=(32&f),h=31&f;(0!=(128&f)&&(r=Vu(t,n)),a)&&(i=Ku(t,n,Uu(t,n)));c&&(e=Ku(t,n,2));var v=function(t,n){Cf(t,n,Rf.ymt);var r,i=Lf(t,n),e=n.gc+i,u=Uu(t,n),o=Uu(t,n),s=o>>2,f=0!=(2&o),a=Wu(t,n,3),c=Xu(t,n),h=Xu(t,n);if(n.gc<e){var v=function(t,n){return t.getUint8(n.gc)}(t,n);v===Rf.kmt&&(r=function(t,n){Cf(t,n,Rf.kmt);var r=Lf(t,n),i=Hu(t,n,r);return{pmt:Rf.kmt,bmt:i}}(t,n))}return n.yc(e),{pmt:Rf.ymt,Amt:u,Tmt:s,Smt:f,Emt:a,Imt:c,Rmt:h,Nmt:r}}(t,n);return n.yc(o),{pmt:Rf.mmt,Ow:s,Dmt:r,Yl:i,Cmt:h,Pmt:e,Omt:v}}function Lf(t,n){for(var r=0,i=0;i<4;i++){var e=Uu(t,n);if(r=r<<7|127&e,!(128&e))break}return r}function Mf(t,n){for(var r=Uu(t,n),i=Uu(t,n),e=Uu(t,n),u=Uu(t,n),o=3&Uu(t,n),s=31&Uu(t,n),f=[],a=0;a<s;a++){var c=Vu(t,n);f.push(Hu(t,n,c))}for(var h=Uu(t,n),v=[],l=0;l<h;l++){var _=Vu(t,n);v.push(Hu(t,n,_))}return{Not:r,Dot:i,Cot:e,Pot:u,Oot:o,Bot:f,Lot:v}}!function(t){t[t.mmt=3]="mmt",t[t.ymt=4]="ymt",t[t.kmt=5]="kmt"}(Rf||(Rf={})),function(t){t[t.uyt=64]="uyt",t[t.fyt=103]="fyt",t[t.vyt=107]="vyt"}(Df||(Df={})),function(t){t[t.dyt=0]="dyt",t[t.lyt=1]="lyt",t[t.fyt=2]="fyt",t[t._yt=5]="_yt",t[t.gyt=34]="gyt"}(Pf||(Pf={}));var xf=24;function Bf(t){var n=t.Bot,r=new ne;return r.vot(uo(n),0,n.length),ms(r).Zot}function jf(t){var n=Bf(t)||xf;return t.tht/n}function Uf(t,n,r,i,e){for(var u=[],o=n.filter(Hf),s=i(r),f=0;f<o.length;f++){var a,c=o[f],h=Mi(c.eS,function(t){return t.MT.wS===r.wS});if(h)for(var v=h.MT.pE||0,l=h.MT.bE||0,_=h.PE?h.PE.PE:It.ZERO,d=c.EE+(null!=(a=h.MT.OE)?a:It.ZERO).toNumber(),p=0,w=h.CE;p<w.length;p++)for(var m=w[p],y=d+(m.EE||0),g=0,E=m.FE;g<E.length;g++){var S=E[g],b=S._c||l,I=new ne;I.vot(t,y,y+b);var T=su.fb(_,r.tht);I.cI=e(S,c,r,T,oo(t,y,y+b)),u.push(I),y+=b,_=_.add(S.Mm||v||s)}}return u}function Hf(t){return t.jh===of.ZA}var Gf,Wf=65536;function Vf(t,n,r,i){var e=r.tht,u=It.fromNumber(t.UE||0),o=i.Gk(su.fb(u,e));return{w2:i.Wp(),nht:i,iht:o,rht:i}}function Xf(t,n,r,i,e){for(var u,o=Vf(t,0,r,i),s=su.vb(t.Mm||0,r.tht),f=t.zT||0,a=!(f&Wf)&&(f>>24&3)!==Gf.SAMPLE_DEPENDS_ON_OTHERS,c=eo(e),h=new ho;h.gc<c.byteLength;){var v=Xu(c,h);if((31&Wu(c,h,1))===os.Xot){var l,_=new ne;_.vot(e,h.gc-1,h.gc+v-1);var d=vs(o.iht,_);(l=u=u||[]).push.apply(l,es(d))}h.wc(v-1)}return vi({},o,{Mm:s.Wp(),eht:s,sht:o.iht.Wp(),uht:o.w2,oht:a,hht:u,aht:!1,cht:!1})}function qf(t){return{wS:t.MT.wS,tht:t.dS.MT.Xb}}function zf(t){return t.jh===of.SA}!function(t){t[t.SAMPLE_DEPENDS_ON_UNKNOWN=0]="SAMPLE_DEPENDS_ON_UNKNOWN",t[t.SAMPLE_DEPENDS_ON_OTHERS=1]="SAMPLE_DEPENDS_ON_OTHERS",t[t.SAMPLE_DEPENDS_ON_NO_OTHER=2]="SAMPLE_DEPENDS_ON_NO_OTHER",t[t.SAMPLE_DEPENDS_ON_RESERVED=3]="SAMPLE_DEPENDS_ON_RESERVED"}(Gf||(Gf={}));var Yf=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3],Kf=.01;function $f(t,n){var r=Of.WT(eo(n.M4)),i=Of.WT(eo(t)),e=function(t){for(var n=0;n<t.eS.length;n++){var r=t.eS[n],i=qf(t.eS[n]),e=r.dS.SS.RS.DS.PS,u=Mi(e,function(t){return t.jh===of.WA});if(u){var o=Ff(eo(u.$S.Zu),new ho),s=Zf(o),f=u.GS,a=r.MT.wS;return vi({},i,{wS:a,za:f,FBt:s,$S:fo(u.$S.Zu)})}}return}(r.filter(zf)[0]),u=function(t){for(var n=0;n<t.eS.length;n++){var r=t.eS[n],i=qf(t.eS[n]),e=r.dS.SS.RS.DS.PS,u=Mi(e,function(t){return t.jh===of.FA});if(!u){var o=Mi(e.filter(function(t){return t.jh===of.KA}),function(t){var n;return(null==(n=t.vE)?void 0:n.jh)===of.FA});o&&(u=o.vE)}if(u){var s=Mf(eo(u.sE.Zu),new ho),f=u.oE;return vi({},i,{wS:r.MT.wS,sE:fo(u.sE.Zu),Qo:u.Qo,kS:u.kS,mE:f&&f.mE,wE:f&&f.wE,Aft:s.Dot,Tft:s.Cot,Sft:s.Pot,Bot:s.Bot[0],Lot:s.Lot[0]})}}}(r.filter(zf)[0]),o=e?Uf(t,i,e,Jf,Qf):[],s=u?Uf(t,i,u,jf,Xf):[],f=e&&o.length>0?function(t,n,r,i,e){switch(r.FBt){case No.fyt:return na(t,n,r,i,!1,e);case No.ZBt:return na(t,n,r,i,!0,e);case No.vyt:return}}(t,i,e,o,n.CCt):void 0,a=u&&s.length>0?function(t,n,r,i){var e,u=ta(t,n,r,Xf,i),o=!1,s=Bf(r),f=u.jBt.eb(u.GBt).Ub(u.Bq.length-1);f.sb()||s&&!(v.abs(s-1/f.Wp())>10)?e=s||xf:(o=!0,e=1/Rs(u.Bq).Wp());return vi({},u,{FBt:No.wLt,dLt:o,lLt:!1===s,Zot:e,XBt:su.$b(1/e,r.tht),sE:r.sE,width:r.Qo,height:r.kS,Aft:r.Aft,_Lt:r.Tft,Sft:r.Sft,SCt:fo(r.Bot),ECt:fo(r.Lot),wE:r.wE,mE:r.mE})}(t,i,u,s):void 0,c=f?f.GBt:su.nA,h=a?a.GBt:su.nA,l=su.qb(c,h);return{PBt:void 0,hht:us(s),MBt:l,audio:f,video:a}}function Zf(t){var n=t.Omt;switch(n.Amt){case Df.uyt:return function(t){var n=t.Nmt;if(n){var r=function(t,n){var r=Fu(t,n,5);31===r&&(r=32+Fu(t,n,6));var i,e=Fu(t,n,4);return 15===e&&(i=Fu(t,n,24)),{oyt:r,hyt:e,ayt:i,cyt:Fu(t,n,4)}}(eo(n.bmt),new Lu);switch(r.oyt){case Pf.fyt:return No.fyt;case Pf._yt:return No.ZBt;case Pf.gyt:return No.vyt}}}(n);case Df.fyt:return No.fyt;case Df.vyt:return No.vyt}}function Qf(t,n,r,i,e){return vi({},Vf(t,0,r,i),{JBt:xi(Yf,function(t){return t===r.tht}),$Bt:r.tht,tLt:r.za})}function Jf(t){return wu}function ta(t,n,r,i,e){var u=e[0],o=e[e.length-1],s=void 0!==o.cI.Mm?o.cI.Mm:function(t){return void 0!==t.$Bt}(o.cI)?wu/o.cI.$Bt:v.max((o.cI.w2-u.cI.w2)/e.length,Kf),f=o.cI.w2+s-u.cI.w2,a=e.some(function(t){return!t.cI.rht.Dp(t.cI.iht)}),c=su.$b(s,r.tht);return{OBt:0,Bq:e,FBt:"",UBt:a,duration:f,HBt:f,VBt:su.gb,Zot:NaN,XBt:su.tA,zBt:u.cI.w2,WBt:u.cI.nht,GBt:u.cI.iht,qBt:u.cI.rht,jBt:o.cI.iht,YBt:o.cI.rht,QBt:o.cI.iht.Gk(c),KBt:o.cI.rht.Gk(c)}}function na(t,n,r,i,e,u){var o=ta(0,0,r,0,i),s=Mi(function(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(Sf(i,n))return i}}(n,of.ZA).eS,function(t){return t.MT.wS===r.wS});if(s){var f,a,c,h,v=null!=(f=null!=(a=s.MT.pE)?a:null==(c=s.CE[0])?void 0:null==(h=c.FE[0])?void 0:h.Mm)?f:wu;return null===u&&(u=!e&&yu(i)),e=e||u,vi({},o,{FBt:No.fyt,oLt:r.$S,Zot:r.tht,XBt:_u(o.duration/o.Bq.length),eLt:r.tht,sLt:v,uLt:r.za,CCt:u,nLt:e})}}var ra=t;function ia(t,n,r){n={},r||(r="EMW0032"),ra.postMessage({KLt:uf.xLt,QLt:t,$Lt:n.message||r,gu:n.name,oc:n.stack,sc:JSON.stringify(n)})}var ea,ua=[];function oa(t){for(var n=0;n<ua.length;n++){if(ua[n].lxt===t)return void ji(ua,n)}}function sa(){ua.length?ea||(ea=u(fa,0)):(o(ea),ea=void 0)}function fa(){ea&&(o(ea),ea=void 0),ua.length&&function(t){var n,r=t.sxt,i=t._xt,e=t.lxt,u=t.gxt,o=[];if(r===ef.OLt){try{if(function(t){return Bo(t,0)>0}(i))n=function(t,n){var r=Js(t,n);if(t=null,r.audio&&r.audio.Bq&&0!==r.audio.Bq.length||(r.audio=null),r.PBt&&r.PBt.xBt&&0!==r.PBt.xBt.length?r.PBt.Tmt=Os.pa:r.PBt=null,null===r.audio&&null===r.PBt)return{MBt:su.gb};var i=null;if(r.audio)if(Ms(r.audio,r.audio.Bq,r.audio.WBt),r.audio.FBt===No.fyt||r.audio.FBt===No.ZBt){var e=r.audio.FBt===No.ZBt,u=!e&&n.CCt;nf(i=gu(r.audio,e,u)),Eu(i),i.nLt?i.FBt=No.ZBt:i.FBt=No.fyt}else r.audio.FBt===No.vyt&&(nf(i=Pu(r.audio)),Ou(i));return{audio:i,PBt:r.PBt,MBt:su.gb}}(i,u);else if(function(t){return qs(t)>=0}(i))n=Zs(i,u);else{if(!function(t){return Of.qT(eo(oo(t,0,v.min(t.length,16384))))}(i))throw new a("Unknown media format");n=$f(i,u)}}catch(t){return ia(e,t,"EMW0064")}try{var s=function(t,n){return{audio:t.audio?df(t.audio,n):void 0,video:t.video?mf(t.video,n):void 0,PBt:t.PBt?(r=t.PBt,{OBt:r.OBt,sPt:r.sPt,Ww:r.Ww,Tmt:r.Tmt,BBt:r.BBt,LBt:r.LBt,xBt:r.xBt.map(vf),jw:[]}):void 0,hht:t.hht?t.hht.map(lf):t.hht,MBt:t.MBt.fA()};var r}(n,o);return hf({KLt:uf.BLt,QLt:e,ZLt:s},o)}catch(t){return ia(e,t,"EMW0060")}}ia(e,{},"EMW0072")}(ua.shift()),sa()}ra.addEventListener("message",function(t){var n=t.data;switch(n.sxt){case ef.NLt:!function(t){for(var n=0;n<t.length;n++)oa(t[n])}(n.uxt);break;default:!function(t){ua.push(t)}(n)}sa()},!1),ra.postMessage({_Bt:"3.0.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);