@theoplayer/extended 3.2.1 → 3.3.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.chromeless.js +8 -6
- package/THEOplayer.d.ts +1 -1
- package/THEOplayer.js +8 -7
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.e.js +3 -3
- package/theoplayer.p.js +3 -3
- package/theoplayer.sw.js +3 -3
package/theoplayer.p.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
THEOplayer is based on patented technology developed by
|
|
26
26
|
THEO Technologies (https://www.theoplayer.com).
|
|
27
27
|
|
|
28
|
-
Version: 2022.
|
|
29
|
-
Created: 2022-
|
|
28
|
+
Version: 2022.2.0 (3.3.0)
|
|
29
|
+
Created: 2022-04-13T08:15:53.320Z
|
|
30
30
|
*/
|
|
31
|
-
!function(t){!function(){"use strict";var n,i=t.window,r=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,c=t.Error,h=t.TypeError,a=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,d=t.parseFloat,_=t.isNaN,w=t.Uint8Array,p=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof global?global:void 0!==t?t:{});function y(t,n,i){return t(i={path:n,exports:{},require:function(t,n){return function(){throw new c("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&i.path)}},i.exports),i.exports}var g=y(function(s,f){s.exports=function t(i,r,e){function u(s,f){if(!r[s]){if(!i[s]){var h="function"==typeof n&&n;if(!f&&h)return h(s,!0);if(o)return o(s,!0);var a=new c("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var v=r[s]={exports:{}};i[s][0].call(v.exports,function(t){var n=i[s][1][t];return u(n||t)},v,v.exports,t,i,r,e)}return r[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,i){n.exports=function(t){var n=t.l;function i(t){var i=new n(t),r=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),r}t.any=function(t){return i(t)},t.prototype.any=function(){return i(this)}}},{}],2:[function(t,n,i){var r;try{throw new c}catch(t){r=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.q()},this.G=e}function h(t,n,i){this.N.push(t,n,i),this.j()}function a(t,n,i){this.M.push(t,n,i),this.j()}function v(t){this.M.Y(t),this.j()}function l(t){for(;t.length()>0;)d(t)}function d(t){var n=t.shift();if("function"!=typeof n)n.K();else{var i=t.shift(),r=t.shift();n.call(i,r)}}f.prototype.setScheduler=function(t){var n=this.G;return this.G=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 c?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.G(function(){t(n)})}catch(t){throw new c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,i){this.U?h.call(this,t,n,i):this.G(function(){u(function(){t.call(n,i)},100)})},f.prototype.invoke=function(t,n,i){this.U?a.call(this,t,n,i):this.G(function(){t.call(n,i)})},f.prototype.settlePromises=function(t){this.U?v.call(this,t):this.G(function(){t.K()})}):(f.prototype.invokeLater=h,f.prototype.invoke=a,f.prototype.settlePromises=v),f.prototype.q=function(){l(this.M),this.Z(),this.F=!0,l(this.N)},f.prototype.j=function(){this.R||(this.R=!0,this.G(this.drainQueues))},f.prototype.Z=function(){this.R=!1},n.exports=f,n.exports.firstLineError=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,i){n.exports=function(t,n,i,r){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.ct=r.propagateFromFunction(),t.prototype.ft=r.boundValueFunction());var c=i(u),h=new t(n);h.ct(this,1);var a=this.vt();if(h.dt(c),c instanceof t){var v={promiseRejectionQueued:!1,promise:h,target:a,bindingPromise:c};a.nt(n,o,void 0,h,v),c.nt(s,f,void 0,h,v),h._t(c)}else h.ot(a);return h},t.prototype.dt=function(t){void 0!==t?(this.ut=2097152|this.ut,this.wt=t):this.ut=-2097153&this.ut},t.prototype.yt=function(){return 2097152==(2097152&this.ut)},t.bind=function(n,i){return t.resolve(i).bind(n)}}},{}],4:[function(t,n,i){var r;"undefined"!=typeof Promise&&(r=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=r)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,i){var r=a.create;if(r){var e=r(null),u=r(null);e[" size"]=u[" size"]=0}n.exports=function(n){var i=t("./util"),r=i.canEvaluate;function e(t){var r=this.pop(),e=function(t,r){var e;if(null!=t&&(e=t[r]),"function"!=typeof e){var u="Object "+i.classString(t)+" has no method '"+i.toString(r)+"'";throw new n.TypeError(u)}return e}(t,r);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]}i.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,i="number"==typeof t;if(i)n=o;else if(r){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,i){n.exports=function(n,i,r,e){var u=t("./util"),o=u.tryCatch,s=u.errorObj,f=n.kt;n.prototype.break=n.prototype.cancel=function(){if(!e.cancellation())return this.bt("cancellation is disabled");for(var t=this,n=t;t.At();){if(!t.Tt(n)){n.St()?n.Et().cancel():n.It();break}var i=t.Rt;if(null==i||!i.At()){t.St()?t.Et().cancel():t.It();break}t.St()&&t.Et().cancel(),t.Nt(),n=t,t=i}},n.prototype.Dt=function(){this.Ct--},n.prototype.Pt=function(){return void 0===this.Ct||this.Ct<=0},n.prototype.Tt=function(t){return t===this?(this.Ct=0,this.Ot(),!0):(this.Dt(),!!this.Pt()&&(this.Ot(),!0))},n.prototype.It=function(){this.Pt()&&this.Bt()},n.prototype.Bt=function(){this.At()&&(this.Lt(),f.invoke(this.xt,this,void 0))},n.prototype.xt=function(){this.Mt()>0&&this.K()},n.prototype.Ft=function(){this.Ut=void 0},n.prototype.At=function(){return this.isPending()&&!this.Ht()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.prototype.Vt=function(t,n){if(u.isArray(t))for(var i=0;i<t.length;++i)this.Vt(t[i],n);else if(void 0!==t)if("function"==typeof t){if(!n){var r=o(t).call(this.ft());r===s&&(this.Xt(r.e),f.throwLater(r.e))}}else t._resultCancelled(this)},n.prototype.Ot=function(){var t=this.zt();this.Ft(),f.invoke(this.Vt,this,t)},n.prototype.qt=function(){this.At()&&(this.Vt(this.zt(),!0),this.Ft())},n.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,n,i){n.exports=function(n){var i=t("./util"),r=t("./es5").keys,e=i.tryCatch,u=i.errorObj;return function(t,o,s){return function(f){var h=s.ft();t:for(var a=0;a<t.length;++a){var v=t[a];if(v===c||null!=v&&v.prototype instanceof c){if(f instanceof v)return e(o).call(h,f)}else if("function"==typeof v){var l=e(v).call(h,f);if(l===u)return l;if(l)return e(o).call(h,f)}else if(i.isObject(f)){for(var d=r(v),_=0;_<d.length;++_){var w=d[_];if(v[w]!=f[w])continue t}return e(o).call(h,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,i){n.exports=function(t){var n=!1,i=[];function r(){this.Gt=new r.CapturedTrace(e())}function e(){var t=i.length-1;if(t>=0)return i[t]}return t.prototype.Wt=function(){},t.prototype.jt=function(){},t.prototype.Yt=function(){return null},t.Qt=t.prototype.Qt=function(){},r.prototype.jt=function(){void 0!==this.Gt&&(this.Gt.Wt=null,i.push(this.Gt))},r.prototype.Yt=function(){if(void 0!==this.Gt){var t=i.pop(),n=t.Wt;return t.Wt=null,n}return null},r.CapturedTrace=null,r.create=function(){if(n)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var i=t.prototype.jt,u=t.prototype.Yt,o=t.Qt,s=t.prototype.Qt,f=t.prototype.Wt;r.deactivateLongStackTraces=function(){t.prototype.jt=i,t.prototype.Yt=u,t.Qt=o,t.prototype.Qt=s,t.prototype.Wt=f,n=!1},n=!0,t.prototype.jt=r.prototype.jt,t.prototype.Yt=r.prototype.Yt,t.Qt=t.prototype.Qt=e,t.prototype.Wt=function(){var t=this.Qt();t&&null==t.Wt&&(t.Wt=this)}},r}},{}],9:[function(t,n,i){n.exports=function(n,i){var e,o,s,f=n.Kt,v=n.kt,d=t("./errors").Warning,_=t("./util"),w=t("./es5"),p=_.canAttachTrace,y=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,g=/\((?:timers\.js):\d+:\d+\)/,m=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,b=null,k=null,I=!1,S=!(0==_.env("BLUEBIRD_DEBUG")),E=!(0==_.env("BLUEBIRD_WARNINGS")||!S&&!_.env("BLUEBIRD_WARNINGS")),T=!(0==_.env("BLUEBIRD_LONG_STACK_TRACES")||!S&&!_.env("BLUEBIRD_LONG_STACK_TRACES")),R=0!=_.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(E||!!_.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var t=this.vt();t.ut=-1048577&t.ut|524288},n.prototype.Zt=function(){if(0==(524288&this.ut)){this.Jt();var t=this;u(function(){t.$t()},1)}},n.prototype.in=function(){Y("rejectionHandled",e,void 0,this)},n.prototype.un=function(){this.ut=268435456|this.ut},n.prototype.hn=function(){return 0!=(268435456&this.ut)},n.prototype.$t=function(){if(this.cn()){var t=this.fn();this.vn(),Y("unhandledRejection",o,t,this)}},n.prototype.vn=function(){this.ut=262144|this.ut},n.prototype.dn=function(){this.ut=-262145&this.ut},n.prototype._n=function(){return(262144&this.ut)>0},n.prototype.Jt=function(){this.ut=1048576|this.ut},n.prototype.wn=function(){this.ut=-1048577&this.ut,this._n()&&(this.dn(),this.in())},n.prototype.cn=function(){return(1048576&this.ut)>0},n.prototype.bt=function(t,n,i){return X(t,n,i||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:_.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:_.domainBind(n,t):void 0};var A=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!et.longStackTraces&&J()){var t=n.prototype.yn,r=n.prototype.Xt,e=n.prototype.pn;et.longStackTraces=!0,A=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");n.prototype.yn=t,n.prototype.Xt=r,n.prototype.pn=e,i.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.yn=G,n.prototype.Xt=V,n.prototype.pn=H,i.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&J()};var N=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i={detail:n,cancelable:!0};w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason});var r=new CustomEvent(t.toLowerCase(),i);return!_.global.dispatchEvent(r)}}if("function"==typeof Event){var t=new Event("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i=new Event(t.toLowerCase(),{cancelable:!0});return i.detail=n,w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason}),!_.global.dispatchEvent(i)}}var t=r.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),_.global.dispatchEvent(t),function(t,n){var i=r.createEvent("CustomEvent");return i.initCustomEvent(t.toLowerCase(),!1,!0,n),!_.global.dispatchEvent(i)}}catch(t){}return function(){return!1}}(),O=_.isNode?function(){return process.emit.apply(process,arguments)}:_.global?function(t){var n="on"+t.toLowerCase(),i=_.global[n];return!!i&&(i.apply(_.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function D(t,n){return{promise:n}}var C={promiseCreated:D,promiseFulfilled:D,promiseRejected:D,promiseResolved:D,promiseCancelled:D,promiseChained:function(t,n,i){return{promise:n,child:i}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,i){return{reason:n,promise:i}},rejectionHandled:D},F=function(t){var n=!1;try{n=O.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var i=!1;try{i=N(t,C[t].apply(null,arguments))}catch(t){v.throwLater(t),i=!0}return i||n};function P(){return!1}function j(t,n,i){var r=this;try{t(n,i,function(t){if("function"!=typeof t)throw new h("onCancel must be a function, got: "+_.toString(t));r.An(t)})}catch(t){return t}}function B(t){if(!this.At())return this;var n=this.zt();void 0!==n?_.isArray(n)?n.push(t):this._t([n,t]):this._t(t)}function M(){return this.Ut}function x(t){this.Ut=t}function L(){this.Rt=void 0,this.Ut=void 0}function U(t,n){if(0!=(1&n)){this.Rt=t;var i=t.Ct;void 0===i&&(i=0),t.Ct=i+1}0!=(2&n)&&t.yt()&&this.dt(t.wt)}n.config=function(t){if("longStackTraces"in(t=a(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&A()),"warnings"in t){var i=t.warnings;et.warnings=!!i,R=et.warnings,_.isObject(i)&&"wForgottenReturn"in i&&(R=!!i.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new c("cannot enable cancellation after promises are in use");n.prototype.Tn=L,n.prototype.ct=U,n.prototype.zt=M,n.prototype._t=x,n.prototype.An=B,n.prototype.Sn=j,W=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.En=F):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.En=P)),n},n.prototype.En=P,n.prototype.Sn=function(t,n,i){try{t(n,i)}catch(t){return t}},n.prototype.zt=function(){},n.prototype._t=function(t){},n.prototype.An=function(t){},n.prototype.yn=function(){},n.prototype.Xt=function(){},n.prototype.pn=function(){},n.prototype.Tn=function(){},n.prototype.ct=function(t,n){};var W=function(t,n){0!=(2&n)&&t.yt()&&this.dt(t.wt)};function q(){var t=this.wt;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function G(){this.Gt=new it(this.Qt())}function V(t,n){if(p(t)){var i=this.Gt;if(void 0!==i&&n&&(i=i.In),void 0!==i)i.attachExtraTrace(t);else if(!t.Rn){var r=$(t);_.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),_.notEnumerableProp(t,"Rn",!0)}}}function H(){this.Gt=void 0}function X(t,i,r){if(et.warnings){var e,u=new d(t);if(i)r.Xt(u);else if(et.longStackTraces&&(e=n.Qt()))e.attachExtraTrace(u);else{var o=$(u);u.stack=o.message+"\n"+o.stack.join("\n")}F("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],i=0;i<t.length;++i){var r=t[i],e=" (No stack trace)"===r||b.test(r),u=e&&Q(r);e&&!u&&(I&&" "!==r.charAt(0)&&(r=" "+r),n.push(r))}return n}function $(t){var n=t.stack,i=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),i=0;i<n.length;++i){var r=n[i];if(" (No stack trace)"===r||b.test(r))break}return i>0&&"SyntaxError"!=t.name&&(n=n.slice(i)),n}(t):[" (No stack trace)"],{message:i,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,i){if("undefined"!=typeof console){var r;if(_.isObject(t)){var e=t.stack;r=n+k(e,t)}else r=n+String(t);"function"==typeof s?s(r,i):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function Y(t,n,i,r){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(r):n(i,r))}catch(t){v.throwLater(t)}"unhandledRejection"===t?F(t,i,r)||e||K(i,"Unhandled rejection "):F(t,r)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():_.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var i=JSON.stringify(t);n=i}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 J(){return"function"==typeof rt}var Q=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 it(t){this.In=t,this.Nn=0;var n=this.Mt=1+(void 0===t?0:t.Mt);rt(this,it),n>32&&this.uncycle()}_.inherits(it,c),i.CapturedTrace=it,it.prototype.uncycle=function(){var t=this.Mt;if(!(t<2)){for(var n=[],i={},r=0,e=this;void 0!==e;++r)n.push(e),e=e.In;for(var r=(t=this.Mt=r)-1;r>=0;--r){var u=n[r].stack;void 0===i[u]&&(i[u]=r)}for(var r=0;r<t;++r){var o=n[r].stack,s=i[o];if(void 0!==s&&s!==r){s>0&&(n[s-1].In=void 0,n[s-1].Mt=1),n[r].In=void 0,n[r].Mt=1;var f=r>0?n[r-1]:this;s<t-1?(f.In=n[s+1],f.In.uncycle(),f.Mt=f.In.Mt+1):(f.In=void 0,f.Mt=1);for(var c=f.Mt+1,h=r-2;h>=0;--h)n[h].Mt=c,c++;return}}}},it.prototype.attachExtraTrace=function(t){if(!t.Rn){this.uncycle();for(var n=$(t),i=n.message,r=[n.stack],e=this;void 0!==e;)r.push(z(e.stack.split("\n"))),e=e.In;!function(t){for(var n=t[0],i=1;i<t.length;++i){for(var r=t[i],e=n.length-1,u=n[e],o=-1,s=r.length-1;s>=0;--s)if(r[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=r[s];if(n[e]!==f)break;n.pop(),e--}n=r}}(r),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--)}(r),_.notEnumerableProp(t,"stack",function(t,n){for(var i=0;i<n.length-1;++i)n[i].push("From previous event:"),n[i]=n[i].join("\n");return i<n.length&&(n[i]=n[i].join("\n")),t+"\n"+n.join("\n")}(i,r)),_.notEnumerableProp(t,"Rn",!0)}};var rt=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 c.stackTraceLimit&&"function"==typeof c.captureStackTrace){c.stackTraceLimit+=6,b=t,k=n;var i=c.captureStackTrace;return Q=function(t){return y.test(t)},function(t,n){c.stackTraceLimit+=6,i(t,n),c.stackTraceLimit-=6}}var r,e=new c;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return b=/@/,k=n,I=!0,function(t){t.stack=(new c).stack};try{throw new c}catch(t){r="stack"in t}return"stack"in e||!r||"number"!=typeof c.stackTraceLimit?(k=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):(b=t,k=n,function(t){c.stackTraceLimit+=6;try{throw new c}catch(n){t.stack=n.stack}c.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},_.isNode&&process.stderr.isTTY?s=function(t,n){var i=n?"\x1b[33m":"\x1b[31m";console.warn(i+t+"\x1b[0m\n")}:_.isNode||"string"!=typeof(new c).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:E,longStackTraces:!1,cancellation:!1,monitoring:!1};return T&&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 W},boundValueFunction:function(){return q},checkForgottenReturns:function(t,n,i,r,e){if(void 0===t&&null!==n&&R){if(void 0!==e&&e.hn())return;if(0==(65535&r.ut))return;i&&(i+=" ");var u="",o="";if(n.Gt){for(var s=n.Gt.stack.split("\n"),f=z(s),c=f.length-1;c>=0;--c){var h=f[c];if(!g.test(h)){var a=h.match(m);a&&(u="at "+a[1]+":"+a[2]+":"+a[3]+" ");break}}if(f.length>0)for(var v=f[0],c=0;c<s.length;++c)if(s[c]===v){c>0&&(o="\n"+s[c-1]);break}}var l="a promise was created in a "+i+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;r.bt(l,!0,n)}},setBounds:function(t,n){if(J()){for(var i,r,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var c=nt(e[f]);if(c){i=c.fileName,o=c.line;break}}for(var f=0;f<u.length;++f){var c=nt(u[f]);if(c){r=c.fileName,s=c.line;break}}o<0||s<0||!i||!r||i!==r||o>=s||(Q=function(t){if(y.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===i&&o<=n.line&&n.line<=s)})}},warn:X,deprecated:function(t,n){var i=t+" is deprecated and will be removed in a future version.";return n&&(i+=" Use "+n+" instead."),X(i)},CapturedTrace:it,fireDomEvent:N,fireGlobalEvent:O}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,i){n.exports=function(t){function n(){return this.value}function i(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(i){return i instanceof t&&i.suppressUnhandledRejections(),this.nt(n,void 0,void 0,{value:i},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.nt(i,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.nt(void 0,i,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(i){if(arguments.length<=1)return i instanceof t&&i.suppressUnhandledRejections(),this.nt(void 0,n,void 0,{value:i},void 0);var r=arguments[1];return r instanceof t&&r.suppressUnhandledRejections(),this.caught(i,function(){return r})}}},{}],11:[function(t,n,i){n.exports=function(t,n){var i=t.reduce,r=t.all;function e(){return r(this)}t.prototype.each=function(t){return i(this,t,n,0).nt(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return i(this,t,n,n)},t.each=function(t,r){return i(t,r,n,0).nt(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,r){return i(t,r,n,n)}}},{}],12:[function(t,n,i){var r,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,a=s.notEnumerableProp;function v(t,n){function i(r){if(!(this instanceof i))return new i(r);a(this,"message","string"==typeof r?r:n),a(this,"name",t),c.captureStackTrace?c.captureStackTrace(this,this.constructor):c.call(this)}return f(i,c),i}var l=v("Warning","warning"),d=v("CancellationError","cancellation error"),_=v("TimeoutError","timeout error"),w=v("AggregateError","aggregate error");try{r=h,e=RangeError}catch(t){r=v("TypeError","type error"),e=v("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),y=0;y<p.length;++y)"function"==typeof Array.prototype[p[y]]&&(w.prototype[p[y]]=Array.prototype[p[y]]);u.defineProperty(w.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),w.prototype.isOperational=!0;var g=0;function m(t){if(!(this instanceof m))return new m(t);a(this,"name","OperationalError"),a(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof c?(a(this,"message",t.message),a(this,"stack",t.stack)):c.captureStackTrace&&c.captureStackTrace(this,this.constructor)}w.prototype.toString=function(){var t=Array(4*g+1).join(" "),n="\n"+t+"AggregateError of:\n";g++,t=Array(4*g+1).join(" ");for(var i=0;i<this.length;++i){for(var r=this[i]===this?"[Circular AggregateError]":this[i]+"",e=r.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];r=e.join("\n"),n+=r+"\n"}return g--,n},f(m,c);var b=c.Dn;b||(b=o({CancellationError:d,TimeoutError:_,OperationalError:m,RejectionError:m,AggregateError:w}),u.defineProperty(c,"Dn",{value:b,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:c,TypeError:r,RangeError:e,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,i){var r=function(){return void 0===this}();if(r)n.exports={freeze:a.freeze,defineProperty:a.defineProperty,getDescriptor:a.getOwnPropertyDescriptor,keys:a.keys,names:a.getOwnPropertyNames,getPrototypeOf:a.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,n){var i=a.getOwnPropertyDescriptor(t,n);return!(i&&!i.writable&&!i.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var i in t)e.call(t,i)&&n.push(i);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,i){return t[n]=i.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return a(t).constructor.prototype}catch(t){return o}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,i){n.exports=function(t,n){var i=t.map;t.prototype.filter=function(t,r){return i(this,t,r,n)},t.filter=function(t,r,e){return i(t,r,e,n)}}},{}],15:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(r);function f(t,n,i){this.promise=t,this.type=n,this.handler=i,this.called=!1,this.cancelPromise=null}function c(t){this.finallyHandler=t}function a(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.J(n):t.cancelPromise.Bt(),t.cancelPromise=null,!0)}function v(){return d.call(this,this.promise.vt().fn())}function l(t){if(!a(this,t))return o.e=t,o}function d(t){var e=this.promise,s=this.handler;if(!this.called){this.called=!0;var f=this.isFinallyHandler()?s.call(e.ft()):s.call(e.ft(),t);if(f===r)return f;if(void 0!==f){e.un();var h=i(f,e);if(h instanceof n){if(null!=this.cancelPromise){if(h.Ht()){var d=new u("late cancellation observer");return e.Xt(d),o.e=d,o}h.isPending()&&h.An(new c(this))}return h.nt(v,l,void 0,this,void 0)}}}return e.isRejected()?(a(this),o.e=t,o):(a(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){a(this.finallyHandler)},n.prototype.Cn=function(t,n,i,r){return"function"!=typeof t?this.then():this.nt(i,r,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Cn(t,0,d,d)},n.prototype.tap=function(t){return this.Cn(t,1,d)},n.prototype.tapCatch=function(t){var i=arguments.length;if(1===i)return this.Cn(t,1,void 0,d);var r,u=new Array(i-1),o=0;for(r=0;r<i-1;++r){var f=arguments[r];if(!e.isObject(f))return n.reject(new h("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var c=arguments[r];return this.Cn(s(u,c,this),1,void 0,d)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=t("./errors"),f=s.TypeError,h=t("./util"),v=h.errorObj,l=h.tryCatch,d=[];function _(t,i,e,u){if(o.cancellation()){var s=new n(r),f=this.Pn=new n(r);this.On=s.lastly(function(){return f}),s.yn(),s._t(this)}else{var c=this.On=new n(r);c.yn()}this.Bn=u,this.Ln=t,this.xn=i,this.Mn=void 0,this.Fn="function"==typeof e?[e].concat(d):d,this.Un=null,this.Hn=!1}h.inherits(_,u),_.prototype.Vn=function(){return null===this.On},_.prototype.Xn=function(){this.On=this.Mn=null,o.cancellation()&&null!==this.Pn&&(this.Pn.zn(),this.Pn=null)},_.prototype.qn=function(){if(!this.Vn()){var t,i=void 0!==this.Mn.return;if(i)this.On.jt(),t=l(this.Mn.return).call(this.Mn,void 0),this.On.Yt();else{var r=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=r,this.On.Xt(r),this.On.jt(),t=l(this.Mn.throw).call(this.Mn,r),this.On.Yt()}this.Hn=!0,this.Un=null,this.Gn(t)}},_.prototype.Wn=function(t){this.Un=null,this.On.jt();var n=l(this.Mn.next).call(this.Mn,t);this.On.Yt(),this.Gn(n)},_.prototype.jn=function(t){this.Un=null,this.On.Xt(t),this.On.jt();var n=l(this.Mn.throw).call(this.Mn,t);this.On.Yt(),this.Gn(n)},_.prototype._resultCancelled=function(){if(this.Un instanceof n){var t=this.Un;this.Un=null,t.cancel()}},_.prototype.promise=function(){return this.On},_.prototype.Yn=function(){this.Mn=this.Ln.call(this.xn),this.xn=this.Ln=void 0,this.Wn(void 0)},_.prototype.Gn=function(t){var i=this.On;if(t===v)return this.Xn(),this.Hn?i.cancel():i.Qn(t.e,!1);var r=t.value;if(!0===t.done)return this.Xn(),this.Hn?i.cancel():i.ot(r);var u=e(r,this.On);if(u instanceof n||null!==(u=function(t,i,r){for(var u=0;u<i.length;++u){r.jt();var o=l(i[u])(t);if(r.Yt(),o===v){r.jt();var s=n.reject(v.e);return r.Yt(),s}var f=e(o,r);if(f instanceof n)return f}return null}(u,this.Fn,this.On))){var o=(u=u.vt()).ut;0==(50397184&o)?(this.Un=u,u.Kn(this,null)):0!=(33554432&o)?n.kt.invoke(this.Wn,this,u.Zn()):0!=(16777216&o)?n.kt.invoke(this.jn,this,u.Jn()):this.qn()}else this.jn(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(r))+"From coroutine:\n"+this.Bn.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 i=a(n).yieldHandler,r=_,e=(new c).stack;return function(){var n=t.apply(this,arguments),u=new r(void 0,void 0,i,e),o=u.promise();return u.Mn=n,u.Wn(void 0),o}},n.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new f("expecting a function but got "+h.classString(t));d.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return i("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=new _(t,this),e=r.promise();return r.Yn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,i){n.exports=function(n,i,r,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 r=[].slice.call(arguments);t&&r.pop();var e=new i(r).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch,a=f.errorObj,v=n.kt;function l(t,n,i,r){this.constructor$(t),this.On.yn();var e=s();this.$n=null===e?n:f.domainBind(e,n),this.ni=r===u?new Array(this.length()):null,this.ri=i,this.ei=0,this.oi=[],v.invoke(this.ai,this,void 0)}function d(t,i,e,u){if("function"!=typeof i)return r("expecting a function but got "+f.classString(i));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new h("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new h("'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,i,o,u).promise()}f.inherits(l,i),l.prototype.ai=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Wn=function(t,i){var r=this.ci,u=this.length(),s=this.ni,f=this.ri;if(i<0){if(r[i=-1*i-1]=t,f>=1&&(this.ei--,this.di(),this.Vn()))return!0}else{if(f>=1&&this.ei>=f)return r[i]=t,this.oi.push(i),!1;null!==s&&(s[i]=t);var h=this.On,v=this.$n,l=h.ft();h.jt();var d=c(v).call(l,t,i,u),_=h.Yt();if(o.checkForgottenReturns(d,_,null!==s?"Promise.filter":"Promise.map",h),d===a)return this.J(d.e),!0;var w=e(d,this.On);if(w instanceof n){var p=(w=w.vt()).ut;if(0==(50397184&p))return f>=1&&this.ei++,r[i]=w,w.Kn(this,-1*(i+1)),!1;if(0==(33554432&p))return 0!=(16777216&p)?(this.J(w.Jn()),!0):(this.Bt(),!0);d=w.Zn()}r[i]=d}var y=++this._i;return y>=u&&(null!==s?this.gi(r,s):this.wi(r),!0)},l.prototype.di=function(){for(var t=this.oi,n=this.ri,i=this.ci;t.length>0&&this.ei<n;){if(this.Vn())return;var r=t.pop();this.Wn(i[r],r)}},l.prototype.gi=function(t,n){for(var i=n.length,r=new Array(i),e=0,u=0;u<i;++u)t[u]&&(r[e++]=n[u]);r.length=e,this.wi(r)},l.prototype.preservedValues=function(){return this.ni},n.prototype.map=function(t,n){return d(this,t,n,null)},n.map=function(t,n,i,r){return d(t,n,i,r)}}},{"./util":36}],19:[function(t,n,i){n.exports=function(n,i,r,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 r=new n(i);r.yn(),r.jt();var e=s(t).apply(this,arguments),o=r.Yt();return u.checkForgottenReturns(e,o,"Promise.method",r),r.Ai(e),r}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var r,f=new n(i);if(f.yn(),f.jt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],h=arguments[2];r=o.isArray(c)?s(t).apply(h,c):s(t).call(h,c)}else r=s(t)();var a=f.Yt();return u.checkForgottenReturns(r,a,"Promise.try",f),f.Ai(r),f},n.prototype.Ai=function(t){t===o.errorObj?this.Qn(t.e,!1):this.ot(t,!0)}}},{"./util":36}],20:[function(t,n,i){var r=t("./util"),e=r.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function h(t){var n;if(function(t){return t instanceof c&&s.getPrototypeOf(t)===c.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var i=s.keys(t),e=0;e<i.length;++e){var u=i[e];f.test(u)||(n[u]=t[u])}return n}return r.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(i,r){if(null!==t){if(i){var u=h(e(i));t.Xt(u),t.J(u)}else if(n){var o=[].slice.call(arguments,1);t.zn(o)}else t.zn(r);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,i){n.exports=function(n){var i=t("./util"),r=n.kt,e=i.tryCatch,u=i.errorObj;function o(t,n){if(!i.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.ft(),[null].concat(t));o===u&&r.throwLater(o.e)}function s(t,n){var i=this.ft(),o=void 0===t?e(n).call(i,null):e(n).call(i,null,t);o===u&&r.throwLater(o.e)}function f(t,n){if(!t){var i=new c(t+"");i.cause=t,t=i}var o=e(n).call(this.ft(),t);o===u&&r.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var i=s;void 0!==n&&a(n).spread&&(i=o),this.nt(i,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,i){n.exports=function(){var i=function(){return new d("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},r=function(){return new N.PromiseInspection(this.vt())},e=function(t){return N.reject(new d(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(N,"Kt",o);var c=t("./es5"),h=t("./async"),v=new h;c.defineProperty(N,"kt",{value:v});var l=t("./errors"),d=N.TypeError=l.TypeError;N.RangeError=l.RangeError;var _=N.CancellationError=l.CancellationError;N.TimeoutError=l.TimeoutError,N.OperationalError=l.OperationalError,N.RejectionError=l.OperationalError,N.AggregateError=l.AggregateError;var w=function(){},p={},y={},g=t("./thenables")(N,w),m=t("./promise_array")(N,w,g,e,u),b=t("./context")(N),k=b.create,I=t("./debuggability")(N,b),S=(I.CapturedTrace,t("./finally")(N,g,y)),E=t("./catch_filter")(y),T=t("./nodeback"),R=f.errorObj,A=f.tryCatch;function N(t){t!==w&&function(t,n){if(null==t||t.constructor!==N)throw new d("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new d("expecting a function but got "+f.classString(n))}(this,t),this.ut=0,this.Ti=void 0,this.Si=void 0,this.Ei=void 0,this.Ii=void 0,this.Ri(t),this.Wt(),this.En("promiseCreated",this)}function O(t){this.promise.ot(t)}function D(t){this.promise.Qn(t,!1)}function C(t){var n=new N(w);n.Ti=t,n.Si=t,n.Ei=t,n.Ii=t}return N.prototype.toString=function(){return"[object Promise]"},N.prototype.caught=N.prototype.catch=function(t){var n=arguments.length;if(n>1){var i,r=new Array(n-1),u=0;for(i=0;i<n-1;++i){var o=arguments[i];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));r[u++]=o}if(r.length=u,"function"!=typeof(t=arguments[i]))throw new d("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,E(r,t,this))}return this.then(void 0,t)},N.prototype.reflect=function(){return this.nt(r,r,void 0,this,void 0)},N.prototype.then=function(t,n){if(I.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var i=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(i+=", "+f.classString(n)),this.bt(i)}return this.nt(t,n,void 0,void 0,void 0)},N.prototype.done=function(t,n){var i=this.nt(t,n,void 0,void 0,void 0);i.Ni()},N.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,p,void 0)},N.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},N.prototype.all=function(){return arguments.length>0&&this.bt(".all() was passed arguments but it does not take any"),new m(this).promise()},N.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},N.getNewLibraryCopy=n.exports,N.is=function(t){return t instanceof N},N.fromNode=N.fromCallback=function(t){var n=new N(w);n.yn();var i=arguments.length>1&&!!a(arguments[1]).multiArgs,r=A(t)(T(n,i));return r===R&&n.Qn(r.e,!0),n.Di()||n.Ci(),n},N.all=function(t){return new m(t).promise()},N.cast=function(t){var n=g(t);return n instanceof N||((n=new N(w)).yn(),n.Pi(),n.Si=t),n},N.resolve=N.fulfilled=N.cast,N.reject=N.rejected=function(t){var n=new N(w);return n.yn(),n.Qn(t,!0),n},N.setScheduler=function(t){if("function"!=typeof t)throw new d("expecting a function but got "+f.classString(t));return v.setScheduler(t)},N.prototype.nt=function(t,n,i,r,e){var u=void 0!==e,s=u?e:new N(w),c=this.vt(),h=c.ut;u||(s.ct(this,3),s.yn(),void 0===r&&0!=(2097152&this.ut)&&(r=0!=(50397184&h)?this.ft():c===this?void 0:this.wt),this.En("promiseChained",this,s));var a=o();if(0!=(50397184&h)){var l,d,p=c.Oi;0!=(33554432&h)?(d=c.Si,l=t):0!=(16777216&h)?(d=c.Ti,l=n,c.wn()):(p=c.Bi,d=new _("late cancellation observer"),c.Xt(d),l=n),v.invoke(p,c,{handler:null===a?l:"function"==typeof l&&f.domainBind(a,l),promise:s,receiver:r,value:d})}else c.Li(t,n,s,r,a);return s},N.prototype.Mt=function(){return 65535&this.ut},N.prototype.Di=function(){return 0!=(117506048&this.ut)},N.prototype.St=function(){return 67108864==(67108864&this.ut)},N.prototype.xi=function(t){this.ut=-65536&this.ut|65535&t},N.prototype.Pi=function(){this.ut=33554432|this.ut,this.En("promiseFulfilled",this)},N.prototype.Mi=function(){this.ut=16777216|this.ut,this.En("promiseRejected",this)},N.prototype.Fi=function(){this.ut=67108864|this.ut,this.En("promiseResolved",this)},N.prototype.Ni=function(){this.ut=4194304|this.ut},N.prototype.Ui=function(){return(4194304&this.ut)>0},N.prototype.Hi=function(){this.ut=-65537&this.ut},N.prototype.Lt=function(){this.ut=65536|this.ut,this.En("promiseCancelled",this)},N.prototype.Nt=function(){this.ut=8388608|this.ut},N.prototype.Ci=function(){v.hasCustomScheduler()||(this.ut=134217728|this.ut)},N.prototype.Vi=function(t){var n=0===t?this.Ii:this[4*t-4+3];if(n!==s)return void 0===n&&this.yt()?this.ft():n},N.prototype.Xi=function(t){return this[4*t-4+2]},N.prototype.zi=function(t){return this[4*t-4+0]},N.prototype.qi=function(t){return this[4*t-4+1]},N.prototype.ft=function(){},N.prototype.Gi=function(t){t.ut;var n=t.Ti,i=t.Si,r=t.Ei,e=t.Vi(0);void 0===e&&(e=s),this.Li(n,i,r,e,null)},N.prototype.Wi=function(t,n){var i=t.zi(n),r=t.qi(n),e=t.Xi(n),u=t.Vi(n);void 0===u&&(u=s),this.Li(i,r,e,u,null)},N.prototype.Li=function(t,n,i,r,e){var u=this.Mt();if(u>=65531&&(u=0,this.xi(0)),0===u)this.Ei=i,this.Ii=r,"function"==typeof t&&(this.Ti=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this.Si=null===e?n:f.domainBind(e,n));else{var o=4*u-4;this[o+2]=i,this[o+3]=r,"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.xi(u+1),u},N.prototype.Kn=function(t,n){this.Li(void 0,void 0,n,t,null)},N.prototype.ot=function(t,n){if(0==(117506048&this.ut)){if(t===this)return this.Qn(i(),!1);var r=g(t,this);if(!(r instanceof N))return this.zn(t);n&&this.ct(r,2);var e=r.vt();if(e!==this){var u=e.ut;if(0==(50397184&u)){var o=this.Mt();o>0&&e.Gi(this);for(var s=1;s<o;++s)e.Wi(this,s);this.Fi(),this.xi(0),this.ji(e)}else if(0!=(33554432&u))this.zn(e.Zn());else if(0!=(16777216&u))this.J(e.Jn());else{var f=new _("late cancellation observer");e.Xt(f),this.J(f)}}else this.J(i())}},N.prototype.Qn=function(t,n,i){var r=f.ensureErrorObject(t),e=r===t;if(!e&&!i&&I.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.bt(u,!0)}this.Xt(r,!!n&&e),this.J(t)},N.prototype.Ri=function(t){if(t!==w){var n=this;this.yn(),this.jt();var i=!0,r=this.Sn(t,function(t){n.ot(t)},function(t){n.Qn(t,i)});i=!1,this.Yt(),void 0!==r&&n.Qn(r,!0)}},N.prototype.Yi=function(t,n,i,r){var e=r.ut;if(0==(65536&e)){var u;r.jt(),n===p?i&&"number"==typeof i.length?u=A(t).apply(this.ft(),i):(u=R).e=new d("cannot .spread() a non-array: "+f.classString(i)):u=A(t).call(n,i);var o=r.Yt();0==(65536&(e=r.ut))&&(u===y?r.J(i):u===R?r.Qn(u.e,!1):(I.checkForgottenReturns(u,o,"",r,this),r.ot(u)))}},N.prototype.vt=function(){for(var t=this;t.St();)t=t.Et();return t},N.prototype.Et=function(){return this.Si},N.prototype.ji=function(t){this.Si=t},N.prototype.Qi=function(t,n,i,e){var o=t instanceof N,s=this.ut,f=0!=(134217728&s);0!=(65536&s)?(o&&t.qt(),i instanceof S&&i.isFinallyHandler()?(i.cancelPromise=t,A(n).call(i,e)===R&&t.J(R.e)):n===r?t.zn(r.call(i)):i instanceof u?i.qn(t):o||t instanceof m?t.Bt():i.cancel()):"function"==typeof n?o?(f&&t.Ci(),this.Yi(n,i,e,t)):n.call(i,e,t):i instanceof u?i.Vn()||(0!=(33554432&s)?i.Wn(e,t):i.jn(e,t)):o&&(f&&t.Ci(),0!=(33554432&s)?t.zn(e):t.J(e))},N.prototype.Bi=function(t){var n=t.handler,i=t.promise,r=t.receiver,e=t.value;"function"==typeof n?i instanceof N?this.Yi(n,r,e,i):n.call(r,e,i):i instanceof N&&i.J(e)},N.prototype.Oi=function(t){this.Qi(t.promise,t.handler,t.receiver,t.value)},N.prototype.Ki=function(t,n,i){var r=this.Ei,e=this.Vi(0);this.Ei=void 0,this.Ii=void 0,this.Qi(r,t,e,n)},N.prototype.Zi=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},N.prototype.zn=function(t){var n=this.ut;if(!((117506048&n)>>>16)){if(t===this){var r=i();return this.Xt(r),this.J(r)}this.Pi(),this.Si=t,(65535&n)>0&&(0!=(134217728&n)?this.K():v.settlePromises(this),this.pn())}},N.prototype.J=function(t){var n=this.ut;if(!((117506048&n)>>>16)){if(this.Mi(),this.Ti=t,this.Ui())return v.fatalError(t,f.isNode);(65535&n)>0?v.settlePromises(this):this.Zt()}},N.prototype.Ji=function(t,n){for(var i=1;i<t;i++){var r=this.zi(i),e=this.Xi(i),u=this.Vi(i);this.Zi(i),this.Qi(e,r,u,n)}},N.prototype.$i=function(t,n){for(var i=1;i<t;i++){var r=this.qi(i),e=this.Xi(i),u=this.Vi(i);this.Zi(i),this.Qi(e,r,u,n)}},N.prototype.K=function(){var t=this.ut,n=65535&t;if(n>0){if(0!=(16842752&t)){var i=this.Ti;this.Ki(this.Si,i,t),this.$i(n,i)}else{var r=this.Si;this.Ki(this.Ti,r,t),this.Ji(n,r)}this.xi(0)}this.Tn()},N.prototype.fn=function(){var t=this.ut;return 0!=(33554432&t)?this.Si:0!=(16777216&t)?this.Ti:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&c.defineProperty(N.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),N.defer=N.pending=function(){I.deprecated("Promise.defer","new Promise");var t=new N(w);return{promise:t,resolve:O,reject:D}},f.notEnumerableProp(N,"ir",i),t("./method")(N,w,g,e,I),t("./bind")(N,w,g,I),t("./cancel")(N,m,e,I),t("./direct_resolve")(N),t("./synchronous_inspection")(N),t("./join")(N,m,g,w,v,o),N.Promise=N,N.version="3.5.5",t("./call_get.js")(N),t("./generators.js")(N,e,w,g,u,I),t("./map.js")(N,m,e,g,w,I),t("./nodeify.js")(N),t("./promisify.js")(N,w),t("./props.js")(N,m,g,e),t("./race.js")(N,w,g,e),t("./reduce.js")(N,m,e,g,w,I),t("./settle.js")(N,m,I),t("./some.js")(N,m,e),t("./timers.js")(N,w,I),t("./using.js")(N,e,g,k,w,I),t("./any.js")(N),t("./each.js")(N,w),t("./filter.js")(N,w),f.toFastProperties(N),f.toFastProperties(N.prototype),C({a:1}),C({b:2}),C({c:3}),C(1),C(function(){}),C(void 0),C(!1),C(new N(w)),I.setBounds(h.firstLineError,f.lastLineError),N}},{"./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,i){n.exports=function(n,i,r,e,u){var o=t("./util");function s(t){var r=this.On=new n(i);t instanceof n&&r.ct(t,3),r._t(this),this.ci=t,this.Mt=0,this._i=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,u),s.prototype.length=function(){return this.Mt},s.prototype.promise=function(){return this.On},s.prototype._init=function t(i,u){var s=r(this.ci,this.On);if(s instanceof n){var f=(s=s.vt()).ut;if(this.ci=s,0==(50397184&f))return this.On.Ci(),s.nt(t,this.J,void 0,this,u);if(0==(33554432&f))return 0!=(16777216&f)?this.J(s.Jn()):this.Bt();s=s.Zn()}if(null!==(s=o.asArray(s)))0!==s.length?this.rr(s):-5===u?this.dr():this.wi(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(u));else{var c=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.On.Qn(c,!1)}},s.prototype.rr=function(t){var i=this.getActualLength(t.length);this.Mt=i,this.ci=this.shouldCopyValues()?new Array(i):this.ci;for(var e=this.On,u=!1,o=null,s=0;s<i;++s){var f=r(t[s],e);f instanceof n?(f=f.vt(),o=f.ut):o=null,u?null!==o&&f.suppressUnhandledRejections():null!==o?0==(50397184&o)?(f.Kn(this,s),this.ci[s]=f):u=0!=(33554432&o)?this.Wn(f.Zn(),s):0!=(16777216&o)?this.jn(f.Jn(),s):this.qn(s):u=this.Wn(f,s)}u||e.Ci()},s.prototype.Vn=function(){return null===this.ci},s.prototype.wi=function(t){this.ci=null,this.On.zn(t)},s.prototype.Bt=function(){!this.Vn()&&this.On.At()&&(this.ci=null,this.On.Bt())},s.prototype.J=function(t){this.ci=null,this.On.Qn(t,!1)},s.prototype.Wn=function(t,n){this.ci[n]=t;var i=++this._i;return i>=this.Mt&&(this.wi(this.ci),!0)},s.prototype.qn=function(){return this.Bt(),!0},s.prototype.jn=function(t){return this._i++,this.J(t),!0},s.prototype._resultCancelled=function(){if(!this.Vn()){var t=this.ci;if(this.Bt(),t instanceof n)t.cancel();else for(var i=0;i<t.length;++i)t[i]instanceof n&&t[i].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,i){n.exports=function(n,i){var r={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,c=t("./errors").TypeError,h={_r:!0},v=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","_r"].join("|")+")$"),l=function(t){return e.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function d(t){return!v.test(t)}function _(t){try{return!0===t._r}catch(t){return!1}}function w(t,n,i){var r=e.getDataPropertyOrDefault(t,n+i,h);return!!r&&_(r)}function p(t,n,i,r){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],h=t[f],a=r===l||l(f);"function"!=typeof h||_(h)||w(t,f,n)||!r(f,h,t,a)||o.push(f,h)}return function(t,n,i){for(var r=0;r<t.length;r+=2){var e=t[r];if(i.test(e))for(var u=e.replace(i,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new c("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,i),o}var y=function(t){return t.replace(/([$])/,"\\$")},g=f?void 0:function(t,f,c,h,a,v){var l=function(){return this}(),d=t;function _(){var e=f;f===r&&(e=this);var c=new n(i);c.yn();var h="string"==typeof d&&this!==l?this[d]:t,a=u(c,v);try{h.apply(e,o(arguments,a))}catch(t){c.Qn(s(t),!0,!0)}return c.Di()||c.Ci(),c}return"string"==typeof d&&(t=h),e.notEnumerableProp(_,"_r",!0),_};function m(t,n,i,u,o){for(var s=new RegExp(y(n)+"$"),f=p(t,n,s,i),c=0,h=f.length;c<h;c+=2){var a=f[c],v=f[c+1],l=a+n;if(u===g)t[l]=g(a,r,a,v,n,o);else{var d=u(v,function(){return g(a,r,a,v,n,o)});e.notEnumerableProp(d,"_r",!0),t[l]=d}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new c("expecting a function but got "+e.classString(t));if(_(t))return t;var i=void 0===(n=a(n)).context?r:n.context,u=!!n.multiArgs,o=function(t,n,i){return g(t,n,void 0,t,null,i)}(t,i,u);return e.copyDescriptors(t,o,d),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new c("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var i=!!(n=a(n)).multiArgs,r=n.suffix;"string"!=typeof r&&(r="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=g),!e.isIdentifier(r))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 h=t[s[f]];"constructor"!==s[f]&&e.isClass(h)&&(m(h.prototype,r,u,o,i),m(h,r,u,o,i))}return m(t,r,u,o,i)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,i){n.exports=function(n,i,r,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var c=function(){var t=0,n=0;function i(i,r){this[t]=i,this[t+n]=r,t++}return function(r){n=r.size,t=0;var e=new Array(2*r.size);return r.forEach(i,e),e}}();function h(t){var n,i=!1;if(void 0!==u&&t instanceof u)n=c(t),i=!0;else{var r=f.keys(t),e=r.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=r[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this.gr=i,this._init$(void 0,i?-6:-3)}function a(t){var i,u=r(t);return s(u)?(i=u instanceof n?u.nt(n.props,void 0,void 0,void 0,void 0):new h(u).promise(),u instanceof n&&i.ct(u,2),i):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(h,i),h.prototype._init=function(){},h.prototype.Wn=function(t,n){this.ci[n]=t;var i=++this._i;if(i>=this.Mt){var r;if(this.gr)r=function(t){for(var n=new u,i=t.length/2|0,r=0;r<i;++r){var e=t[i+r],o=t[r];n.set(e,o)}return n}(this.ci);else{r={};for(var e=this.length(),o=0,s=this.length();o<s;++o)r[this.ci[o+e]]=this.ci[o]}return this.wi(r),!0}return!1},h.prototype.shouldCopyValues=function(){return!1},h.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return a(this)},n.props=function(t){return a(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,i){function r(t){this.wr=t,this.Mt=0,this.yr=0}r.prototype.pr=function(t){return this.wr<t},r.prototype.Y=function(t){var n=this.length();this.Ar(n+1);var i=this.yr+n&this.wr-1;this[i]=t,this.Mt=n+1},r.prototype.push=function(t,n,i){var r=this.length()+3;if(this.pr(r))return this.Y(t),this.Y(n),void this.Y(i);var e=this.yr+r-3;this.Ar(r);var u=this.wr-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=i,this.Mt=r},r.prototype.shift=function(){var t=this.yr,n=this[t];return this[t]=void 0,this.yr=t+1&this.wr-1,this.Mt--,n},r.prototype.length=function(){return this.Mt},r.prototype.Ar=function(t){this.wr<t&&this.Tr(this.wr<<1)},r.prototype.Tr=function(t){var n=this.wr;this.wr=t;var i=this.yr,r=this.Mt,e=i+r&n-1;!function(t,n,i,r,e){for(var u=0;u<e;++u)i[u+r]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=r},{}],27:[function(t,n,i){n.exports=function(n,i,r,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=r(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 c=new n(i);void 0!==s&&c.ct(s,3);for(var h=c.zn,a=c.J,v=0,l=t.length;v<l;++v){var d=t[v];(void 0!==d||v in t)&&n.cast(d).nt(h,a,void 0,c,null)}return c}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch;function h(t,i,r,e){this.constructor$(t);var o=s();this._fn=null===o?i:f.domainBind(o,i),void 0!==r&&(r=n.resolve(r)).An(this),this.Er=r,this.Ir=null,this.Rr=e===u?Array(this.Mt):0===e?null:void 0,this.On.yn(),this._init$(void 0,-5)}function a(t,n){this.isFulfilled()?n.wi(t):n.J(t)}function v(t,n,i,e){if("function"!=typeof n)return r("expecting a function but got "+f.classString(n));var u=new h(t,n,i,e);return u.promise()}function l(t){this.accum=t,this.array.Nr(t);var i=e(this.value,this.array.On);return i instanceof n?(this.array.Ir=i,i.nt(d,void 0,void 0,this,void 0)):d.call(this,i)}function d(t){var i,r=this.array,e=r.On,u=c(r._fn);e.jt(),(i=void 0!==r.Rr?u.call(e.ft(),t,this.index,this.length):u.call(e.ft(),this.accum,t,this.index,this.length))instanceof n&&(r.Ir=i);var s=e.Yt();return o.checkForgottenReturns(i,s,void 0!==r.Rr?"Promise.each":"Promise.reduce",e),i}f.inherits(h,i),h.prototype.Nr=function(t){void 0!==this.Rr&&null!==this.Rr&&t!==u&&this.Rr.push(t)},h.prototype.Dr=function(t){return null!==this.Rr&&this.Rr.push(t),this.Rr},h.prototype._init=function(){},h.prototype.dr=function(){this.wi(void 0!==this.Rr?this.Rr:this.Er)},h.prototype.shouldCopyValues=function(){return!1},h.prototype.wi=function(t){this.On.ot(t),this.ci=null},h.prototype._resultCancelled=function(t){if(t===this.Er)return this.Bt();this.Vn()||(this._resultCancelled$(),this.Ir instanceof n&&this.Ir.cancel(),this.Er instanceof n&&this.Er.cancel())},h.prototype.rr=function(t){var i,r;this.ci=t;var e=t.length;if(void 0!==this.Er?(i=this.Er,r=0):(i=n.resolve(t[0]),r=1),this.Ir=i,!i.isRejected())for(;r<e;++r){var u={accum:null,value:t[r],index:r,length:e,array:this};i=i.nt(l,void 0,void 0,u,void 0)}void 0!==this.Rr&&(i=i.nt(this.Dr,void 0,void 0,this,void 0)),i.nt(a,a,void 0,i,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,i,r){return v(t,n,i,r)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,h,a,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var d=p.setImmediate,_=process.nextTick;o=v.isRecentNode?function(t){d.call(p,t)}:function(t){_.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var w=l.resolve();o=function(t){w.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===i||!i.navigator||!i.navigator.standalone&&!i.cordova)&&"classList"in r.documentElement?(s=r.createElement("div"),f={attributes:!0},h=!1,a=r.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),h=!1}).observe(a,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),h||(h=!0,a.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,i){n.exports=function(n,i,r){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,i),o.prototype.Cr=function(t,n){this.ci[t]=n;var i=++this._i;return i>=this.Mt&&(this.wi(this.ci),!0)},o.prototype.Wn=function(t,n){var i=new e;return i.ut=33554432,i.Pr=t,this.Cr(n,i)},o.prototype.jn=function(t,n){var i=new e;return i.ut=16777216,i.Pr=t,this.Cr(n,i)},n.settle=function(t){return r.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function c(t){this.constructor$(t),this.Or=0,this.Br=!1,this.Lr=!1}function h(t,n){if((0|n)!==n||n<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var i=new c(t),e=i.promise();return i.setHowMany(n),i.init(),e}e.inherits(c,i),c.prototype._init=function(){if(this.Lr)if(0!==this.Or){this._init$(void 0,-5);var t=s(this.ci);!this.Vn()&&t&&this.Or>this.xr()&&this.J(this.Mr(this.length()))}else this.wi([])},c.prototype.init=function(){this.Lr=!0,this._init()},c.prototype.setUnwrap=function(){this.Br=!0},c.prototype.howMany=function(){return this.Or},c.prototype.setHowMany=function(t){this.Or=t},c.prototype.Wn=function(t){return this.Fr(t),this.Ur()===this.howMany()&&(this.ci.length=this.howMany(),1===this.howMany()&&this.Br?this.wi(this.ci[0]):this.wi(this.ci),!0)},c.prototype.jn=function(t){return this.Hr(t),this.Vr()},c.prototype.qn=function(){return this.ci instanceof n||null==this.ci?this.Bt():(this.Hr(f),this.Vr())},c.prototype.Vr=function(){if(this.howMany()>this.xr()){for(var t=new o,n=this.length();n<this.ci.length;++n)this.ci[n]!==f&&t.push(this.ci[n]);return t.length>0?this.J(t):this.Bt(),!0}return!1},c.prototype.Ur=function(){return this._i},c.prototype.Xr=function(){return this.ci.length-this.length()},c.prototype.Hr=function(t){this.ci.push(t)},c.prototype.Fr=function(t){this.ci[this._i++]=t},c.prototype.xr=function(){return this.length()-this.Xr()},c.prototype.Mr=function(t){var n="Input array must contain at least "+this.Or+" items but contains only "+t+" items";return new u(n)},c.prototype.dr=function(){this.J(this.Mr(0))},n.some=function(t,n){return h(t,n)},n.prototype.some=function(t){return h(this,t)},n.l=c}},{"./errors":12,"./util":36}],32:[function(t,n,i){n.exports=function(t){function n(t){void 0!==t?(t=t.vt(),this.ut=t.ut,this.Pr=t.Di()?t.fn():void 0):(this.ut=0,this.Pr=void 0)}n.prototype.fn=function(){return this.Pr};var i=n.prototype.value=function(){if(!this.isFulfilled())throw new h("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.fn()},r=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new h("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this.fn()},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.zr=function(){return 65536==(65536&this.ut)},t.prototype.Ht=function(){return this.vt().zr()},t.prototype.isCancelled=function(){return 0!=(8454144&this.vt().ut)},t.prototype.isPending=function(){return o.call(this.vt())},t.prototype.isRejected=function(){return u.call(this.vt())},t.prototype.isFulfilled=function(){return e.call(this.vt())},t.prototype.isResolved=function(){return s.call(this.vt())},t.prototype.value=function(){return i.call(this.vt())},t.prototype.reason=function(){var t=this.vt();return t.wn(),r.call(t)},t.prototype.Zn=function(){return this.fn()},t.prototype.Jn=function(){return this.wn(),this.fn()},t.PromiseInspection=n}},{}],33:[function(t,n,i){n.exports=function(n,i){var r=t("./util"),e=r.errorObj,u=r.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.jt();var c=n.reject(f.e);return s&&s.Yt(),c}if("function"==typeof f){if(function(t){try{return o.call(t,"Ei")}catch(t){return!1}}(t)){var c=new n(i);return t.nt(c.zn,c.J,void 0,c,null),c}return function(t,u,o){var s=new n(i),f=s;o&&o.jt(),s.yn(),o&&o.Yt();var c=!0,h=r.tryCatch(u).call(t,function(t){s&&(s.ot(t),s=null)},function(t){s&&(s.Qn(t,c,!0),s=null)});return c=!1,s&&h===e&&(s.Qn(h.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var h=function(t){return a(+this).thenReturn(t)},a=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).nt(h,null,null,t,void 0),r.cancellation()&&e instanceof n&&o._t(e)):(o=new n(i),s=u(function(){o.zn()},+t),r.cancellation()&&o._t(new f(s)),o.yn()),o.Ci(),o};function v(t){return o(this.handle),t}function l(t){throw o(this.handle),t}n.prototype.delay=function(t){return a(t,this)},n.prototype.timeout=function(t,n){var i,o,h=new f(u(function(){i.isPending()&&function(t,n,i){var r;r="string"!=typeof n?n instanceof c?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(r),t.Xt(r),t.J(r),null!=i&&i.cancel()}(i,n,o)},t=+t));return r.cancellation()?(o=this.then(),(i=o.nt(v,l,void 0,h,void 0))._t(h)):i=this.nt(v,l,void 0,h,void 0),i}}},{"./util":36}],35:[function(t,n,i){n.exports=function(n,i,r,e,o,s){var f=t("./util"),c=t("./errors").TypeError,h=t("./util").inherits,a=f.errorObj,v=f.tryCatch,l={};function d(t){u(function(){throw t},0)}function _(t,i){var e=0,u=t.length,s=new n(o);return function o(){if(e>=u)return s.zn();var f=function(t){var n=r(t);return n!==t&&"function"==typeof t.qr&&"function"==typeof t.Gr&&t.qr()&&n.Wr(t.Gr()),n}(t[e++]);if(f instanceof n&&f.qr()){try{f=r(f.Gr().tryDispose(i),t.promise)}catch(t){return d(t)}if(f instanceof n)return f.nt(o,d,null,null,null)}o()}(),s}function w(t,n,i){this.jr=t,this.On=n,this.Yr=i}function p(t,n,i){this.constructor$(t,n,i)}function y(t){return w.isDisposer(t)?(this.resources[this.index].Wr(t),t.promise()):t}function g(t){this.length=t,this.promise=null,this[t-1]=null}w.prototype.data=function(){return this.jr},w.prototype.promise=function(){return this.On},w.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},w.prototype.tryDispose=function(t){var n=this.resource(),i=this.Yr;void 0!==i&&i.jt();var r=n!==l?this.doDispose(n,t):null;return void 0!==i&&i.Yt(),this.On.Qr(),this.jr=null,r},w.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},h(p,w),p.prototype.doDispose=function(t,n){var i=this.data();return i.call(t,t,n)},g.prototype._resultCancelled=function(){for(var t=this.length,i=0;i<t;++i){var r=this[i];r instanceof n&&r.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return i("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return i("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 c=new g(t),h=0;h<t;++h){var l=e[h];if(w.isDisposer(l)){var d=l;(l=l.promise()).Wr(d)}else{var p=r(l);p instanceof n&&(l=p.nt(y,null,null,{resources:c,index:h},void 0))}c[h]=l}for(var m=new Array(c.length),h=0;h<m.length;++h)m[h]=n.resolve(c[h]).reflect();var b=n.all(m).then(function(t){for(var n=0;n<t.length;++n){var i=t[n];if(i.isRejected())return a.e=i.error(),a;if(!i.isFulfilled())return void b.cancel();t[n]=i.value()}k.jt(),u=v(u);var r=o?u.apply(void 0,t):u(t),e=k.Yt();return s.checkForgottenReturns(r,e,"Promise.using",k),r}),k=b.lastly(function(){var t=new n.PromiseInspection(b);return _(c,t)});return c.promise=k,k._t(c),k},n.prototype.Wr=function(t){this.ut=131072|this.ut,this.Kr=t},n.prototype.qr=function(){return(131072&this.ut)>0},n.prototype.Gr=function(){return this.Kr},n.prototype.Qr=function(){this.ut=-131073&this.ut,this.Kr=void 0},n.prototype.disposer=function(t){if("function"==typeof t)return new p(t,this,e());throw new c}}},{"./errors":12,"./util":36}],36:[function(n,r,u){var o,s=n("./es5"),f=void 0===e,h={e:{}},v=void 0!==t?t:void 0!==i?i:void 0!==p?p:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return h.e=t,h}}function d(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function _(t,n,i){if(d(t))return t;var r={value:i,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,r),t}var w=function(){var t=[Array.prototype,a.prototype,Function.prototype],n=function(n){for(var i=0;i<t.length;++i)if(t[i]===n)return!0;return!1};if(s.isES5){var i=a.getOwnPropertyNames;return function(t){for(var r=[],e=a.create(null);null!=t&&!n(t);){var u;try{u=i(t)}catch(t){return r}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var c=a.getOwnPropertyDescriptor(t,f);null!=c&&null==c.get&&null==c.set&&r.push(f)}}t=s.getPrototypeOf(t)}return r}}var r={}.hasOwnProperty;return function(i){if(n(i))return[];var e=[];t:for(var u in i)if(r.call(i,u))e.push(u);else{for(var o=0;o<t.length;++o)if(r.call(t[o],u))continue t;e.push(u)}return e}}(),y=/this\s*\.\s*\S+\s*=/,g=/^[a-z$_][a-z$_0-9]*$/i;function m(t){try{return t+""}catch(t){return"[no string representation]"}}function b(t){return t instanceof c||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function k(t){return b(t)&&s.propertyIsWritable(t,"stack")}var I="stack"in new c?function(t){return k(t)?t:new c(m(t))}:function(t){if(k(t))return t;try{throw new c(m(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}var E=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var T="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,i=[],r=t[Symbol.iterator]();!(n=r.next()).done;)i.push(n.value);return i};E=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?T(t):null}}var R,A="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),N="undefined"!=typeof process&&void 0!==process.env,O={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),i=s.isES5&&n.length>1,r=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=y.test(t+"")&&s.names(t).length>0;if(i||r||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return g.test(t)},inheritedDataKeys:w,getDataPropertyOrDefault:function(t,n,i){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var r=a.getOwnPropertyDescriptor(t,n);return null!=r?null==r.get&&null==r.set?r.value:i:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:E,notEnumerableProp:_,isPrimitive:d,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:b,canEvaluate:f,errorObj:h,tryCatch:function(t){return o=t,l},inherits:function(t,n){var i={}.hasOwnProperty;function r(){for(var r in this.constructor=t,this.constructor$=n,n.prototype)i.call(n.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=n.prototype[r])}return r.prototype=n.prototype,t.prototype=new r,t.prototype},withAppended:function(t,n){var i,r=t.length,e=new Array(r+1);for(i=0;i<r;++i)e[i]=t[i];return e[i]=n,e},maybeWrapAsError:function(t){return d(t)?new c(m(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,i){for(var r=new Array(t),e=0;e<t;++e)r[e]=n+e+i;return r},toString:m,canAttachTrace:k,ensureErrorObject:I,originatesFromRejection:function(t){return null!=t&&(t instanceof c.Dn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{_(t,"isOperational",!0)}catch(t){}},classString:S,copyDescriptors:function(t,n,i){for(var r=s.names(t),e=0;e<r.length;++e){var u=r[e];if(i(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:A,hasEnvVariables:N,env:function(t){return N?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)}};O.isRecentNode=O.isNode&&(process.versions&&process.versions.node?R=process.versions.node.split(".").map(Number):process.version&&(R=process.version.split(".").map(Number)),0===R[0]&&R[1]>10||R[0]>0),O.isNode&&O.toFastProperties(process);try{throw new c}catch(t){O.lastLineError=t}r.exports=O},{"./es5":13}]},{},[4])(4),null!=i?i.P=i.Promise:null!=t&&(t.P=t.Promise)});var m,b=function(){};(m=g)&&m.config({warnings:!1,longStackTraces:!1});var k,I,S,E,T,R;m&&(E=m.setScheduler(b),k=E,T={$r:function(t){I=t,k(S)},re:S=function(){var t=I;t&&(I=void 0,t())}},m.setScheduler(T.$r));function A(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function N(t,n,i){return n&&A(t.prototype,n),i&&A(t,i),t}function O(t,n){return(O=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function D(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,O(t,n)}!function(t){t.ue="web",t.oe="android",t.fe="android-tv",t._e="ios",t.we="tvos",t.me="chromecast"}(R||(R={}));var C=e?e.userAgent:"",F=C.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),P=C.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),j=C.match(/Android ([0-9\.]+)/i),B=C.match(/Windows NT ([0-9\.]+)/i),M=C.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),x=C.match(/Firefox\/([0-9\.]+)/i),L=C.match(/OPR\/(\d+\.\d+)/i),U=C.match(/Tizen ([0-9\.]+)/i),W=function(){function n(){this.ye=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.ke=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(C)||/(macintosh|mac(?=_powerpc)\s)/i.test(C),this.pe=/Windows NT/i.test(C),this.Ae=B?d(B[1]):0,this.Te=/Android/i.test(C),this.Se=j?d(j[1]):0,this.Ee=/windows phone (8|8\.1)/i.test(C),this.Ie=/iPhone/i.test(C),this.Re=/iPad/i.test(C),this.Ne=this.ke&&this.ye&&!this.Re,this.De=/iPod/i.test(C),this.Ce=/Mobile Safari/i.test(C),this.Pe=/EOSSTB/i.test(C),this.Oe=(this.Ie||this.Re||this.Ne||this.De)&&!this.Ee,this.Be=this.Ee||this.Oe||this.Te||this.Ce,this.Le=/CriOS/i.test(C),this.xe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Le,this.Me=this.xe&&/Edg\//i.test(e.userAgent),this.Fe=P?l(P[1],10):0,this.Ue=Boolean(t.chrome||/Chrome/i.test(C)||/CriOS/i.test(C)),this.He=F?l(F[1],10):0,this.Ve=/SMART-TV.*Tizen/i.test(C),this.Xe=U?d(U[1]):0,this.ze=/webos|web0s/i.test(C),this.qe=/Edge\/\d+/i.test(C),this.Ge=/Trident/i.test(C),this.We=this.Ge&&!t.ActiveXObject&&"ActiveXObject"in t,this.je=/Vivaldi/i.test(C),this.Ye=/Firefox/i.test(C)&&!/Seamonkey/i.test(C),this.Qe=x?d(x[1]):0,this.Ke=/Safari/i.test(C)&&!/Chrome/i.test(C)&&!this.Ee&&!this.Ve,this.Ze=M?d(M[2]):0,this.Je=Boolean(L),this.$e=L?d(L[1]):0,this.ns=/CrKey/.test(C),this.rs=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(C),this.us="web"===R.fe,this.hs="web"===R.oe,this.fs=this.hs||this.us,this.vs="web"===R._e,this.ds="web"===R.we,this.ls="web"===R.me}return N(n,[{key:"_s",get:function(){return this.ye}},{key:"gs",get:function(){return this.ke}},{key:"ys",get:function(){return this.pe}},{key:"As",get:function(){return this.Ae}},{key:"Ts",get:function(){return this.Te}},{key:"Ss",get:function(){return this.Se}},{key:"Es",get:function(){return this.Ee}},{key:"Is",get:function(){return this.Ie}},{key:"Rs",get:function(){return this.Re}},{key:"Ns",get:function(){return this.Ne}},{key:"Ds",get:function(){return this.De}},{key:"Cs",get:function(){return this.Oe}},{key:"Ps",get:function(){return this.Pe}},{key:"Os",get:function(){return this.Ce}},{key:"Bs",get:function(){return this.Be}},{key:"Ls",get:function(){return this.Le}},{key:"xs",get:function(){return this.xe}},{key:"Ms",get:function(){return this.He}},{key:"Fs",get:function(){return this.Me}},{key:"Us",get:function(){return this.Fe}},{key:"Hs",get:function(){return this.Ve}},{key:"Vs",get:function(){return this.Xe}},{key:"Xs",get:function(){return this.ze}},{key:"zs",get:function(){return this.qe}},{key:"qs",get:function(){return this.Ge}},{key:"Gs",get:function(){return this.We}},{key:"Ws",get:function(){return this.je}},{key:"js",get:function(){return this.Ye}},{key:"Ys",get:function(){return this.Qe}},{key:"Qs",get:function(){return this.Ke}},{key:"Ks",get:function(){return this.Ze}},{key:"Zs",get:function(){return this.Je}},{key:"Js",get:function(){return this.$e}},{key:"$s",get:function(){return this.ns}},{key:"tu",get:function(){return this.rs}},{key:"nu",get:function(){if(!(this.Xs||this.Hs))return!1;var t=this.Ms;return void 0===t||Number(t)<56}},{key:"uu",get:function(){return this.us}},{key:"ou",get:function(){return this.hs}},{key:"au",get:function(){return this.fs}},{key:"fu",get:function(){return this.vs}},{key:"vu",get:function(){return this.ds}},{key:"du",get:function(){return this.ls}},{key:"_u",get:function(){return this.Ue}}]),n}();W.wu=new W;var q=W.wu;var G=!(q.qs&&!q.Gs),V=t.console;function H(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function X(t){return t.map(H).join(" ")}function z(t){var n=V&&V[t];return n?n.bind&&G?n.bind(V):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];V[t](X(i))}:void 0}var $,K=z("log")||b,Y=z("warn")||K.bind(void 0,"WARNING:"),Z=z("error")||K.bind(void 0,"ERROR:"),J=($=V&&V.assert)?$.bind&&G?$.bind(V):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];V.assert(t,X(i))}:function(t){if(!t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Z.apply(void 0,["Assertion failed:"].concat(i))}},Q=nt,tt=null;try{tt=new WebAssembly.Instance(new WebAssembly.Module(new w([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,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function it(t){return!0===(t&&t.mu)}nt.prototype.mu,a.defineProperty(nt.prototype,"mu",{value:!0}),nt.isLong=it;var rt={},et={};function ut(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=et[t])?r:(i=st(t,(0|t)<0?-1:0,!0),e&&(et[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=rt[t])?r:(i=st(t,t<0?-1:0,!1),e&&(rt[t]=i),i)}function ot(t,n){if(_(t))return n?wt:_t;if(n){if(t<0)return wt;if(t>=vt)return bt}else{if(t<=-lt)return kt;if(t+1>=lt)return mt}return t<0?ot(-t,n).neg():st(t%at|0,t/at|0,n)}function st(t,n,i){return new nt(t,n,i)}nt.fromInt=ut,nt.fromNumber=ot,nt.fromBits=st;var ft=v.pow;function ct(t,n,i){if(0===t.length)throw c("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return _t;if("number"==typeof n?(i=n,n=!1):n=!!n,(i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return ct(t.substring(1),n,i).neg();for(var e=ot(ft(i,8)),u=_t,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),i);if(s<8){var h=ot(ft(i,s));u=u.mul(h).add(ot(f))}else u=(u=u.mul(e)).add(ot(f))}return u.unsigned=n,u}function ht(t,n){return"number"==typeof t?ot(t,n):"string"==typeof t?ct(t,n):st(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}nt.fromString=ct,nt.fromValue=ht;var at=4294967296,vt=at*at,lt=vt/2,dt=ut(1<<24),_t=ut(0);nt.ZERO=_t;var wt=ut(0,!0);nt.UZERO=wt;var pt=ut(1);nt.ONE=pt;var yt=ut(1,!0);nt.UONE=yt;var gt=ut(-1);nt.NEG_ONE=gt;var mt=st(-1,2147483647,!1);nt.MAX_VALUE=mt;var bt=st(-1,-1,!0);nt.MAX_UNSIGNED_VALUE=bt;var kt=st(0,-2147483648,!1);nt.MIN_VALUE=kt;var It=nt.prototype;It.toInt=function(){return this.unsigned?this.low>>>0:this.low},It.toNumber=function(){return this.unsigned?(this.high>>>0)*at+(this.low>>>0):this.high*at+(this.low>>>0)},It.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(kt)){var n=ot(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.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}},It.getHighBits=function(){return this.high},It.getHighBitsUnsigned=function(){return this.high>>>0},It.getLowBits=function(){return this.low},It.getLowBitsUnsigned=function(){return this.low>>>0},It.getNumBitsAbs=function(){if(this.isNegative())return this.eq(kt)?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},It.isZero=function(){return 0===this.high&&0===this.low},It.eqz=It.isZero,It.isNegative=function(){return!this.unsigned&&this.high<0},It.isPositive=function(){return this.unsigned||this.high>=0},It.isOdd=function(){return 1==(1&this.low)},It.isEven=function(){return 0==(1&this.low)},It.equals=function(t){return it(t)||(t=ht(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},It.eq=It.equals,It.notEquals=function(t){return!this.eq(t)},It.neq=It.notEquals,It.ne=It.notEquals,It.lessThan=function(t){return this.comp(t)<0},It.lt=It.lessThan,It.lessThanOrEqual=function(t){return this.comp(t)<=0},It.lte=It.lessThanOrEqual,It.le=It.lessThanOrEqual,It.greaterThan=function(t){return this.comp(t)>0},It.gt=It.greaterThan,It.greaterThanOrEqual=function(t){return this.comp(t)>=0},It.gte=It.greaterThanOrEqual,It.ge=It.greaterThanOrEqual,It.compare=function(t){if(it(t)||(t=ht(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?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},It.comp=It.compare,It.negate=function(){return!this.unsigned&&this.eq(kt)?kt:this.not().add(pt)},It.neg=It.negate,It.add=function(t){it(t)||(t=ht(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+s)>>>16,f+=(c+=i+o)>>>16,f+=n+u,st((h&=65535)<<16|(a&=65535),(f&=65535)<<16|(c&=65535),this.unsigned)},It.subtract=function(t){return it(t)||(t=ht(t)),this.add(t.neg())},It.sub=It.subtract,It.multiply=function(t){if(this.isZero())return _t;if(it(t)||(t=ht(t)),tt)return st(tt.mul(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned);if(t.isZero())return _t;if(this.eq(kt))return t.isOdd()?kt:_t;if(t.eq(kt))return this.isOdd()?kt:_t;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(dt)&&t.lt(dt))return ot(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,c=0,h=0,a=0,v=0;return a+=(v+=e*f)>>>16,h+=(a+=r*f)>>>16,a&=65535,h+=(a+=e*s)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=r*s)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*f+i*s+r*o+e*u,st((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},It.mul=It.multiply,It.divide=function(t){if(it(t)||(t=ht(t)),t.isZero())throw c("division by zero");var n,i,r;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?wt:_t;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wt;if(t.gt(this.shru(1)))return yt;r=wt}else{if(this.eq(kt))return t.eq(pt)||t.eq(gt)?kt:t.eq(kt)?pt:(n=this.shr(1).div(t).shl(1)).eq(_t)?t.isNegative()?pt:gt:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(kt))return this.unsigned?wt:_t;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();r=_t}for(i=this;i.gte(t);){n=v.max(1,v.floor(i.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(i);)s=(o=ot(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=pt),r=r.add(o),i=i.sub(s)}return r},It.div=It.divide,It.modulo=function(t){return it(t)||(t=ht(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))},It.mod=It.modulo,It.rem=It.modulo,It.not=function(){return st(~this.low,~this.high,this.unsigned)},It.and=function(t){return it(t)||(t=ht(t)),st(this.low&t.low,this.high&t.high,this.unsigned)},It.or=function(t){return it(t)||(t=ht(t)),st(this.low|t.low,this.high|t.high,this.unsigned)},It.xor=function(t){return it(t)||(t=ht(t)),st(this.low^t.low,this.high^t.high,this.unsigned)},It.shiftLeft=function(t){return it(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)},It.shl=It.shiftLeft,It.shiftRight=function(t){return it(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)},It.shr=It.shiftRight,It.shiftRightUnsigned=function(t){if(it(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)},It.shru=It.shiftRightUnsigned,It.shr_u=It.shiftRightUnsigned,It.toSigned=function(){return this.unsigned?st(this.low,this.high,!1):this},It.toUnsigned=function(){return this.unsigned?this:st(this.low,this.high,!0)},It.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},It.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]},It.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,i){return i?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 St=Q,Et=v.pow(2,-52);function Tt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function Rt(){return Date.now()||(new Date).getTime()}var At;St.fromNumber(9007199254740991);!function(t){t[t.pu=1]="pu",t[t.Au=2]="Au",t[t.bu=3]="bu",t[t.Tu=4]="Tu",t[t.Su=9]="Su"}(At||(At={}));var Nt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(Nt.prototype=a.create(c.prototype)).constructor=Nt;var Ot=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,c.captureStackTrace&&c.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),r.constructor),r}return D(n,t),N(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Nt),Dt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return D(n,t),n}(Ot),Ct=function(){function t(){}return t.prototype.Eu=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new Dt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Dt;return new Lt(n)},t}(),Ft=function(){function t(t){this.Iu=void 0,this.Iu=t}var n=t.prototype;return n.Ru=function(t){return this.Iu.isEqualNode(t.Iu)},n.Nu=function(n){return new t(this.Iu.cloneNode(n))},N(t,[{key:"yu",get:function(){return At.Au}},{key:"Du",get:function(){var t;return null!=(t=this.Iu.localName)?t:qt(this.Iu.nodeName)}},{key:"Cu",get:function(){return this.Iu.nodeName}},{key:"Pu",get:function(){var t;return null!=(t=this.Iu.namespaceURI)?t:void 0}},{key:"Ou",get:function(){var t;return null!=(t=this.Iu.prefix)?t:void 0}},{key:"Bu",get:function(){return this.Iu.nodeValue}}]),t}(),Pt=function(){function t(t){this.Lu=void 0,this.xu=void 0,this.Lu=t}var n=t.prototype;return n.Mu=function(t){return this.Fu.filter(function(n){return Ut(n)&&n.Uu===t})},n.Hu=function(t,n){return this.Fu.filter(function(i){return Ut(i)&&i.Du===n&&i.Pu===t})},n.Vu=function(t){this.Lu.appendChild(t.Xu),this.xu&&this.xu.push(t)},n.Ru=function(t){return this.Lu.isEqualNode(t.Xu)},N(t,[{key:"Fu",get:function(){return void 0===this.xu&&(this.xu=function(t){for(var n=[],i=0;i<t.length;i++){var r=Wt(t.item(i));r&&n.push(r)}return n}(this.Lu.childNodes)),this.xu}},{key:"Gu",get:function(){return this.Fu.filter(Ut)}},{key:"Xu",get:function(){return this.Lu}}]),t}(),jt=function(t){function n(n){return t.call(this,n)||this}D(n,t);var i=n.prototype;return i.Wu=function(t){if(this.Lu.hasAttribute(t))return this.Lu.getAttribute(t)},i.ju=function(t,n){if(this.Lu.hasAttributeNS(t,n))return this.Lu.getAttributeNS(t,n)},i.Yu=function(t){this.Lu.removeAttribute(t)},i.Qu=function(t,n){this.Lu.removeAttributeNS(t,n)},i.Ku=function(t,n){this.Lu.setAttribute(t,n)},i.Zu=function(t,n,i){this.Lu.setAttributeNS(t,n,i)},i.Nu=function(t){return new n(this.Lu.cloneNode(t))},N(n,[{key:"yu",get:function(){return At.pu}},{key:"Du",get:function(){var t;return null!=(t=this.Lu.localName)?t:qt(this.Lu.nodeName)}},{key:"Pu",get:function(){var t;return null!=(t=this.Lu.namespaceURI)?t:void 0}},{key:"Ou",get:function(){var t;return null!=(t=this.Lu.prefix)?t:void 0}},{key:"Uu",get:function(){return this.Lu.nodeName}},{key:"Ju",get:function(){return function(t){for(var n=[],i=0;i<t.length;i++)n.push(new Ft(t.item(i)));return n}(this.Lu.attributes)}},{key:"$u",get:function(){return this.Lu.textContent}}]),n}(Pt),Bt=function(){function t(t){this.Lu=void 0,this.Lu=t}return t.prototype.Ru=function(t){return this.uo===t.uo},N(t,[{key:"uo",get:function(){return this.Lu.nodeValue}},{key:"Xu",get:function(){return this.Lu}}]),t}(),Mt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Nu=function(t){return new n(this.Lu.cloneNode(t))},N(n,[{key:"yu",get:function(){return At.bu}}]),n}(Bt),xt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Nu=function(t){return new n(this.Lu.cloneNode(t))},N(n,[{key:"yu",get:function(){return At.Tu}}]),n}(Bt),Lt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Nu=function(t){return new n(this.Lu.cloneNode(t))},N(n,[{key:"yu",get:function(){return At.Su}},{key:"oo",get:function(){return new jt(this.Lu.documentElement)}}]),n}(Pt);function Ut(t){return function(t){return t.yu===At.pu}(t)}function Wt(t){switch(t.nodeType){case At.pu:return new jt(t);case At.bu:return new Mt(t);case At.Tu:return new xt(t)}}function qt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Gt(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function Vt(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Ht(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Ht(i,null,t.length,t),t}function Ht(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(e=0;e<c;e+=a)for(o=(u=e+i)+i,u>c&&(u=c),o>c&&(o=c),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<u)r[h++]=t[s++];else{if(!(f<o))break;r[h++]=t[f++]}}var Xt=/[a-zA-Z]/,zt=/[0-9]/,$t=/[0-9a-fA-F]/,Kt=/^0x/i,Yt=/^[0-9]+$/,Zt=/^[0-9a-fA-F]+$/,Jt=/^[0-7]+$/,Qt=a.prototype.toString,tn=Array.isArray||function(t){return"[object Array]"===Qt.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 cn(t){return en(t)?t+32:t}function hn(t){return on(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function an(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,dn=16384;function _n(t){for(var n=t.length,i=[],r=0;r<n;r+=dn){var e=vn(r+dn,n);i.push(ln.apply(null,t.slice(r,e)))}return i.join("")}var wn=/[^\0-\x7E]/,pn=/[\x2E\u3002\uFF0E\uFF61]/g,yn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gn=v.floor,mn=String.fromCharCode;function bn(t){throw new RangeError(yn[t])}function kn(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var In,Sn,En,Tn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Rn=function(t,n,i){var r=0;for(t=i?gn(t/700):t>>1,t+=gn(t/n);t>455;r+=36)t=gn(t/35);return gn(r+36*t/(t+38))},An=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(pn,".")).split("."),n).join(".");return r+e}(t,function(t){return wn.test(t)?"xn--"+function(t){for(var n=[],i=(t=kn(t)).length,r=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(mn(f))}var c=n.length,h=c;for(c&&n.push("-");h<i;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var d=l[v];d>=r&&d<a&&(a=d)}var _=h+1;a-r>gn((2147483647-e)/_)&&bn("overflow"),e+=(a-r)*_,r=a;for(var w=0,p=t;w<p.length;w++){var y=p[w];if(y<r&&++e>2147483647&&bn("overflow"),y==r){for(var g=e,m=36;;m+=36){var b=m<=u?1:m>=u+26?26:m-u;if(g<b)break;var k=g-b,I=36-b;n.push(mn(Tn(b+k%I,0))),g=gn(k/I)}n.push(mn(Tn(g,0))),u=Rn(e,_,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function Nn(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _n(n)}function On(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Dn(t,n){return t>>n&63|128}function Cn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(On(t),n.push(t>>12&15|224),n.push(Dn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Dn(t,12)),n.push(Dn(t,6))),n.push(63&t|128)):n.push(t)}function Fn(t){for(var n=[],i=0;i<t.length;i++){Cn(t[i],n)}return n}function Pn(){if(En>=Sn)throw new c("Invalid byte index");var t=255&In[En];if(En++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function jn(){var t,n;if(En>Sn)throw new c("Invalid byte index");if(En===Sn)return!1;if(t=255&In[En],En++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Pn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Pn()<<6|Pn())>=2048)return On(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Pn()<<12|Pn()<<6|Pn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Bn(t){return[37,an(t>>4),an(15&t)]}function Mn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function xn(t){return Mn(t)||32===t||34===t||60===t||62===t||96===t}function Ln(t){return xn(t)||35===t||63===t||123===t||125===t}function Un(t){return Ln(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Wn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function qn(t){return Wn(t)||39===t}function Gn(t,n){if(!n(t))return[t];for(var i=Fn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Bn(u))}return r}function Vn(t,n){for(var i=[],r=0,e=kn(t);r<e.length;r++){var u=e[r];i.push.apply(i,Gn(u,n))}return Nn(i)}function Hn(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&fn(t[r+1])&&fn(t[r+2])){var u=hn(t[r+1])<<4|hn(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Fn(t))}function Xn(t){return Nn(function(t){In=t.slice(),Sn=In.length,En=0;for(var n,i=[];!1!==(n=jn());)i.push(n);return i}(Hn(kn(t))))}function zn(t){var n,i,r,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new h;c+=2,f=s+=1}for(;c<u;){if(8===s)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&$t.test(t[c]);)a=a<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new h;if(c-=v,s>6)throw new h;for(var d=0;c<u;){var _=null;if(d>0){if(!("."===t[c]&&d<4))throw new h;c+=1}if(!zt.test(t[c]))throw new h;for(;c<u&&zt.test(t[c]);){var w=l(t[c],10);if(null===_)_=w;else{if(0===_)throw new h;if((_=10*_+w)>255)throw new h}c+=1}o[s]=o[s]<<8|_,2!==(d+=1)&&4!==d||(s+=1)}if(4!==d)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[s]=a,s+=1}else{if(null!==f)throw new h("Too many :: groups");c+=1,f=s+=1}}if(null!==f){var p=s-f;for(s=7;0!==s&&p>0;)r=f+p-1,e=void 0,e=(n=o)[i=s],n[i]=n[r],n[r]=e,s-=1,p-=1}else if(8!==s)throw new h;return o}function $n(t){var n=10,i=Yt;return Kt.test(t)?(t=t.slice(2),n=16,i=Zt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Jt),""===t?0:i.test(t)?l(t,n):void 0}var Kn={ao:4},Yn=/[\0\t\n\r #%/:?@\[\\\]]/,Zn=/[\0\t\n\r #/:?@\[\\\]]/;function Jn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{ao:2,do:zn(t.slice(1,-1))}}if(!n)return function(t){if(Zn.test(t))throw new h("Invalid code point in opaque host");var n=Vn(t,Mn);return""===n?Kn:{ao:3,jr:n}}(t);var i=function(t){return function(t){return An(t.toLowerCase())}(t)}(Xn(t));if(Yn.test(i))throw new h("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=$n(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new h;if(i[i.length-1]>=v.pow(256,5-i.length))throw new h;for(var s=i.pop(),f=0;f<i.length;f++)s+=i[f]*v.pow(256,3-f);return s}}(i);return void 0!==r?{ao:1,do:r}:""===i?Kn:{ao:0,_o:i}}function Qn(t){switch(t.ao){case 0:return t._o;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.do);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.do)+"]";case 3:return t.jr;case 4:return""}}var ti=/\+/g;function ni(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];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(ti," "),s=s.replace(ti," ");var f=Xn(o),c=Xn(s);i.push([f,c])}}return i}function ii(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=ri(Fn(kn(r[0])))+"="+ri(Fn(kn(r[1])))}return n}function ri(t){for(var n,i=[],r=0;r<t.length;r++){var e=t[r];32===e?i.push(43):42===(n=e)||45===n||46===n||95===n||sn(n)?i.push(e):i.push.apply(i,Bn(e))}return _n(i)}var ei=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function ui(t){var n=""+t,i=ei.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(si(u))if(fi(u)||e===i-1)r.push(oi);else{var o=t.charCodeAt(e+1);fi(o)?(r.push(u,o),e++):r.push(oi)}else r.push(u)}return t.slice(0,n)+_n(r)}(n,i.index):n}var oi=65533,si=function(t){return 55296==(63488&t)},fi=function(t){return 0!=(1024&t)};function ci(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function hi(t){t.mo.length=0}function ai(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.mo,ni(n))}function vi(t){if(t.po){var n=ii(t.mo);""===n&&(n=null),t.po.po.Ao=n}}function li(t){return t instanceof di&&(!!tn(t.mo)&&(!nn||t[Symbol.iterator]===_i))}var di=function(){function t(t){if(void 0===t&&(t=void 0),this.po=null,null==t)this.mo=[];else if("object"==typeof t||"function"==typeof t)if(li(t))this.mo=t.mo.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.mo=[];for(var n=0,i=rn(t);n<i.length;n++){var r=rn(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.mo.push([ui(r[0]),ui(r[1])])}}else for(var e in this.mo=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.mo.push([ui(e),ui(t[e])]);else(t=ui(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.mo=ni(t);var u}var n=t.prototype;return n.append=function(t,n){t=ui(t),n=ui(n),this.mo.push([t,n]),vi(this)},n.delete=function(t){t=ui(t);for(var n=this.mo,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}vi(this)},n.get=function(t){t=ui(t);for(var n=this.mo,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=ui(t);for(var n=this.mo,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=ui(t);for(var n=this.mo,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=ui(t),n=ui(n);for(var i=this.mo,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),vi(this)},n.sort=function(){Vt(this.mo,ci),vi(this)},n.toString=function(){return ii(this.mo)},n.entries=function(){return new gi(this.mo,wi)},n.keys=function(){return new gi(this.mo,pi)},n.values=function(){return new gi(this.mo,yi)},n.forEach=function(t){var n=this;this.mo.forEach(function(i){return t(i[1],i[0],n)})},t}(),_i=di.prototype.entries;nn&&(di.prototype[Symbol.iterator]=_i);var wi=function(t){return[t[0],t[1]]},pi=function(t){return t[0]},yi=function(t){return t[1]},gi=function(){function t(t,n){this.To=0,this.mo=t,this.So=n}return t.prototype.next=function(){return this.To<this.mo.length?{done:!1,value:this.So(this.mo[this.To++])}:{done:!0,value:void 0}},t}(),mi="null";var bi=a.create(null);bi.ftp=21,bi.file=0,bi.gopher=70,bi.http=80,bi.https=443,bi.ws=80,bi.wss=443;var ki=/^(?:\.|%2e)$/i,Ii=/^(?:\.|%2e){2}$/i;function Si(t){return ki.test(t)}function Ei(t){return Ii.test(t)}function Ti(t){return void 0!==bi[t]}function Ri(t){return Ti(t.Eo)}function Ai(t){return""!==t.Io||""!==t.Ro}function Ni(t){var n=t.length;if(!(n>=2))return!1;if(!Di(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Oi(t){return 2===t.length&&Xt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Di(t){return 2===t.length&&Oi(_n(t))}function Ci(t){return Oi(t)&&":"===t[1]}function Fi(t){var n=t.No;0!==n.length&&("file"===t.Eo&&1===n.length&&Ci(n[0])||n.pop())}function Pi(t){return null===t.Do||Kn===t.Do||t.Co||"file"===t.Eo}var ji=-1,Bi=/\t|\n|\r/g,Mi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function xi(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ui,t=t.replace(Mi,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,c=kn(t=t.replace(Bi,"")),a=c.length,v=0;v<=a;){var d=v<a?c[v]:ji;switch(e){case 0:if(!un(d)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(cn(d)),e=1;break;case 1:if(sn(d)||43===d||45===d||46===d)u.push(cn(d));else{if(58!==d){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var _=Nn(u);if(null!==r){if(Ti(i.Eo)&&!Ti(_))return;if(!Ti(i.Eo)&&Ti(_))return;if((Ai(i)||null!==i.Po)&&"file"===_)return;if("file"===i.Eo&&(i.Do===Kn||null===i.Do))return}if(i.Eo=_,null!==r)return void(Ri(i)&&i.Po===bi[i.Eo]&&(i.Po=null));u.length=0,"file"===i.Eo?e=13:Ri(i)&&n&&n.Eo===i.Eo?e=3:Ri(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.Co=!0,i.No.push(""),e=18)}break;case 2:if(!n||n.Co&&35!==d)throw new h("Invalid scheme");n.Co&&35===d?(i.Eo=n.Eo,i.No=n.No.slice(),i.Ao=n.Ao,i.Oo="",i.Co=!0,e=20):"file"!==n.Eo?(e=5,v-=1):(e=13,v-=1);break;case 3:47===d&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===d?e=9:(e=17,v-=1);break;case 5:i.Eo=n.Eo,ji===d?(i.Io=n.Io,i.Ro=n.Ro,i.Do=n.Do,i.Po=n.Po,i.No=n.No.slice(),i.Ao=n.Ao):47===d?e=6:63===d?(i.Io=n.Io,i.Ro=n.Ro,i.Do=n.Do,i.Po=n.Po,i.No=n.No.slice(),i.Ao="",e=19):35===d?(i.Io=n.Io,i.Ro=n.Ro,i.Do=n.Do,i.Po=n.Po,i.No=n.No.slice(),i.Ao=n.Ao,i.Oo="",e=20):92===d&&Ri(i)?e=6:(i.Io=n.Io,i.Ro=n.Ro,i.Do=n.Do,i.Po=n.Po,i.No=n.No.slice(),i.No.pop(),e=17,v-=1);break;case 6:!Ri(i)||47!==d&&92!==d?47===d?e=9:(i.Io=n.Io,i.Ro=n.Ro,i.Do=n.Do,i.Po=n.Po,e=17,v-=1):e=8;break;case 7:if(47!==d||47!==c[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==d&&92!==d&&(e=9,v-=1);break;case 9:if(64===d){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var p=u[w];if(58!==p||f){var y=Nn(Gn(p,Un));f?i.Ro+=y:i.Io+=y}else f=!0}u.length=0}else if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(d);break;case 10:case 11:if(null!==r&&"file"===i.Eo)v-=1,e=15;else if(58!==d||s)if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(v-=1,Ri(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(Ai(i)||null!==i.Po))return;var g=Jn(Nn(u),Ri(i));if(i.Do=g,u.length=0,e=16,null!==r)return}else 91===d?s=!0:93===d&&(s=!1),u.push(d);else{if(0===u.length)throw new h("Invalid host");var m=Jn(Nn(u),Ri(i));if(i.Do=m,u.length=0,e=12,11===r)return}break;case 12:if(on(d))u.push(d);else{if(!(ji===d||47===d||63===d||35===d||Ri(i)&&92===d||null!==r))throw new h("Invalid port");if(0!==u.length){var b=l(Nn(u),10);if(b>65535)throw new h("Invalid port");i.Po=b===bi[i.Eo]?null:b,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Eo="file",47===d||92===d?e=14:n&&"file"===n.Eo?ji===d?(i.Do=n.Do,i.No=n.No.slice(),i.Ao=n.Ao):63===d?(i.Do=n.Do,i.No=n.No.slice(),i.Ao="",e=19):35===d?(i.Do=n.Do,i.No=n.No.slice(),i.Ao=n.Ao,i.Oo="",e=20):(Ni(c.slice(v))||(i.Do=n.Do,i.No=n.No.slice(),Fi(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===d||92===d?e=15:(n&&"file"===n.Eo&&!Ni(c.slice(v))&&(Ci(n.No[0])?i.No.push(n.No[0]):i.Do=n.Do),e=17,v-=1);break;case 15:if(ji===d||47===d||92===d||63===d||35===d)if(v-=1,null===r&&Di(u))e=17;else if(0===u.length){if(i.Do=Kn,null!==r)return;e=16}else{var k=Jn(Nn(u),Ri(i));if(0===k.ao&&"localhost"===k._o&&(k=Kn),i.Do=k,null!==r)return;u.length=0,e=16}else u.push(d);break;case 16:Ri(i)?(e=17,47!==d&&92!==d&&(v-=1)):null===r&&63===d?(i.Ao="",e=19):null===r&&35===d?(i.Oo="",e=20):ji!==d&&(e=17,47!==d&&(v-=1));break;case 17:if(ji===d||47===d||Ri(i)&&92===d||null===r&&(63===d||35===d)){var I=Nn(u);if(Ei(I)?(Fi(i),47===d||Ri(i)&&92===d||i.No.push("")):!Si(I)||47===d||Ri(i)&&92===d?Si(I)||("file"===i.Eo&&0===i.No.length&&Di(u)&&(Kn!==i.Do&&null!==i.Do&&(i.Do=Kn),u[1]=58,I=Nn(u)),i.No.push(I)):i.No.push(""),u.length=0,"file"===i.Eo&&(ji===d||63===d||35===d))for(;i.No.length>1&&""===i.No[0];)i.No.shift();63===d?(i.Ao="",e=19):35===d&&(i.Oo="",e=20)}else u.push.apply(u,Gn(d,Ln));break;case 18:63===d?(i.Ao="",e=19):35===d?(i.Oo="",e=20):ji!==d&&(i.No[0]+=Nn(Gn(d,Mn)));break;case 19:null===r&&35===d?(i.Oo="",e=20):ji!==d&&(i.Ao+=Nn(Gn(d,Ri(i)?qn:Wn)));break;case 20:ji===d||0===d||(i.Oo+=Nn(Gn(d,xn)))}v++}return i}function Li(t,n,i,r){try{xi(t,n,i,r)}catch(t){}}var Ui=function(){this.Eo="",this.Io="",this.Ro="",this.Do=null,this.Po=null,this.No=[],this.Ao=null,this.Oo=null,this.Co=!1};function Wi(t){switch(t.Eo){case"blob":var n;try{n=xi(t.No[0],null)}catch(t){return mi}return Wi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Eo,r=t.Do,e=t.Po,i+"://"+Qn(r)+(null===e?"":":"+e);case"file":default:return mi}var i,r,e}function qi(t){return null!=t&&(t instanceof Vi&&"object"==typeof t.po)}var Gi,Vi=function(){function t(t,n){var i,r=null;if(null!=n)if(qi(n))r=n.po;else try{r=xi(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=xi(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Ao;this.po=i,this.Ao=function(t){var n=new di;return null!==t&&ai(n,t),n}(e),this.Ao.po=this}var n,i,r,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(i=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Eo+":";if(null!==t.Do?(i+="//",Ai(t)&&(i+=t.Io,""!==t.Ro&&(i+=":"+t.Ro),i+="@"),i+=Qn(t.Do),null!==t.Po&&(i+=":"+t.Po)):null===t.Do&&"file"===t.Eo&&(i+="//"),t.Co)i+=t.No[0];else for(var r=0,e=t.No;r<e.length;r++)i+="/"+e[r];return null!==t.Ao&&(i+="?"+t.Ao),n||null===t.Oo||(i+="#"+t.Oo),i}(this.po)},set:function(t){var n;try{n=xi(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.po=n,hi(this.Ao);var i=this.po.Ao;null!==i&&ai(this.Ao,i)}},{key:"origin",get:function(){return Wi(this.po)}},{key:"protocol",get:function(){return this.po.Eo+":"},set:function(t){Li(t+":",null,this.po,0)}},{key:"username",get:function(){return this.po.Io},set:function(t){Pi(this.po)||(this.po.Io=Vn(t,Un))}},{key:"password",get:function(){return this.po.Ro},set:function(t){Pi(this.po)||(this.po.Ro=Vn(t,Un))}},{key:"host",get:function(){var t=this.po,n=t.Do;if(null===n)return"";var i=t.Po,r=Qn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.po.Co||Li(t,null,this.po,10)}},{key:"hostname",get:function(){var t=this.po.Do;return null===t?"":Qn(t)},set:function(t){this.po.Co||Li(t,null,this.po,11)}},{key:"port",get:function(){var t=this.po.Po;return null===t?"":""+t},set:function(t){Pi(this.po)||(""===t?this.po.Po=null:Li(t,null,this.po,12))}},{key:"pathname",get:function(){var t=this.po.No;return this.po.Co?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.po.Co||(this.po.No.length=0,Li(t,null,this.po,16))}},{key:"search",get:function(){var t=this.po.Ao;return null===t||""===t?"":"?"+t},set:function(t){t=ui(t);var n=this.po;if(""===t)return n.Ao=null,void hi(this.Ao);"?"===t[0]&&(t=t.slice(1)),n.Ao="",Li(t,null,n,19),ai(this.Ao,t)}},{key:"searchParams",get:function(){return this.Ao}},{key:"hash",get:function(){var t=this.po.Oo;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.po.Oo="",Li(t,null,this.po,20)):this.po.Oo=null}}])&&Gt(n.prototype,i),r&&Gt(n,r),t}();function Hi(t){return t.document&&t.document.baseURI||t.location.href||""}function Xi(){return void 0!==r?r.createElement("video"):void 0}var zi=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),$i=(Gi||(Gi=Xi()),Gi),Ki=!(!$i||!$i.webkitShowPlaybackTargetPicker),Yi=function(){function t(){this.Bo=void 0,this.Lo=!1,this._s=zi,this.Bs=!1,this.xo=!0,this.Mo=!0}var n=t.prototype;return n.Fo=function(){return 0},n.Uo=function(t,n){return!0},n.Ho=function(t){return t>=1/6*2},N(t,[{key:"Vo",get:function(){return void 0===this.Bo&&(this.Bo=this.Fo()),this.Bo}},{key:"Xo",get:function(){return i.devicePixelRatio||1}},{key:"zo",get:function(){return Ki}},{key:"qo",get:function(){return!1}},{key:"Go",get:function(){return!0}},{key:"Wo",get:function(){return q.gs||q.Cs}},{key:"jo",get:function(){return!0}},{key:"Yo",get:function(){return!0}},{key:"Qo",get:function(){}},{key:"Ko",get:function(){return!0}}]),t}(),Zi=function(){var t=Xi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(q.Ns)return!1;var t=Xi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Ji=function(t){function n(n){var i;return(i=t.call(this)||this).Zo=void 0,i.Zo=n,i.Zo&&(i.Lo=i.Zo.Lo,i._s=i.Zo._s,i.xo=Zi&&i.Zo.xo),i}D(n,t);var i=n.prototype;return i.Fo=function(){return this.Zo?this.Zo.Vo:t.prototype.Fo.call(this)},i.Uo=function(n,i){return this.Zo?this.Zo.Uo(n,i):t.prototype.Uo.call(this,n,i)},i.Ho=function(n){return this.Zo?this.Zo.Ho(n):t.prototype.Ho.call(this,n)},N(n,[{key:"Qo",get:function(){var t;return null==(t=this.Zo)?void 0:t.Qo}},{key:"Ko",get:function(){var t,n;return null==(t=null==(n=this.Zo)?void 0:n.Ko)||t}}]),n}(Yi),Qi=function(t){function n(n){var i;return(i=t.call(this,n)||this).Lo=!0,i.Bs=!0,i}return D(n,t),n}(Ji),tr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Fo=function(){if(!(void 0).MediaSource)return 1},n}(Qi),nr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Uo=function(n,i){return!(i.Jo>1920)&&t.prototype.Uo.call(this,n,i)},N(n,[{key:"qo",get:function(){return q.Vs<3}},{key:"Go",get:function(){return q.Vs>=3}}]),n}(Ji),ir=function(t){function n(){return t.call(this)||this}return D(n,t),n}(Yi),rr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Uo=function(t,n){if(t&&t.$o&&n&&n.$o){var i=er(t.$o,"mp4a.40.2")&&er(n.$o,"mp4a.40.5"),r=er(t.$o,"mp4a.40.5")&&er(n.$o,"mp4a.40.2"),e=er(t.$o,"mp4a.40.2")&&er(n.$o,"mp4a.40.34"),u=er(t.$o,"mp4a.40.34")&&er(n.$o,"mp4a.40.2"),o=er(t.$o,"mp4a.40.5")&&er(n.$o,"mp4a.40.34"),s=er(t.$o,"mp4a.40.34")&&er(n.$o,"mp4a.40.5");return!(i||r||e||u||o||s)}return!0},N(n,[{key:"Qo",get:function(){if(q.gs)return 4096}}]),n}(ir);function er(t,n){return t.indexOf(n)>-1}var ur=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Ho=function(t){return t>=2},n}(ir),or=function(t){function n(){var n;return(n=t.call(this)||this).Lo=q.Ks>=11,n.xo=q.Qs&&!(q.Cs&&q.Ks<10),n}return D(n,t),n}(ir),sr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"jo",get:function(){return!1}}]),n}(Ji),fr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"Ko",get:function(){return!q.ys||!!q.Fs&&92!==q.Us}}]),n}(ir),cr=function(){function n(){var n;this.nh=void 0,this.ih=new Ct,this.rh=new hr,this.eh=(n=function(){if(q.js)return new rr;if(q.zs||q.qs)return new ur;if(q.Qs)return new or;if(q.xs)return new fr;return new ir}(),q.Cs?new tr(n):q.Bs?new Qi(n):q.Hs?new nr(n):q.Xs?new sr(n):new Ji(n)),this.sh=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.nh=function(){return t.performance.now()}:this.nh=Rt}var i=n.prototype;return i.uh=function(){K.apply(void 0,arguments)},i.oh=function(){Y.apply(void 0,arguments)},i.ah=function(){Z.apply(void 0,arguments)},i.fh=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];J.apply(void 0,[t].concat(i))},i.Jr=function(t,n){return u(t,n)},i.vh=function(t,n){return s(t,n)},i.Zr=function(t){o(t)},i.dh=function(t){f(t)},i.Eu=function(t){return this.ih.Eu(t)},i.lh=function(){return this._h.lh()},i.gh=function(){return this._h.gh()},i.wh=function(){return this._h.wh()},i.yh=function(){return this._h.yh()},i.kh=function(){return this._h.kh()},i.ph=function(t,n){return this._h.ph(t,n)},i.Ah=function(t){return this._h.Ah(t)},i.Th=function(t,n){var i;return void 0===n&&(n=Hi(void 0)),i="object"!=typeof n||n instanceof Vi?n:n.href,new Vi(t,i)},i.Sh=function(n,i){if(void 0===i&&(i=Hi(void 0)),this.sh){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.Th(n,i).href},N(n,[{key:"Eh",get:function(){return this.rh}},{key:"Ih",get:function(){return this.eh}},{key:"Rh",get:function(){return{Nh:e&&e.userAgent.match(/Android /i)?"Android":"other",Dh:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Ch",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Ph",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),hr=function(){function t(){}return N(t,[{key:"Oh",get:function(){return e.oscpu}},{key:"Ih",get:function(){return e.platform}},{key:"Bh",get:function(){return e.vendor}},{key:"Lh",get:function(){return e.vendorSub}}]),t}();var ar=y(function(t){!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,i,r){var e=n&&n.prototype instanceof g?n:g,u=a.create(e.prototype),o=new D(r||[]);return u.Mh=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===p){if("throw"===e)throw u;return F()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var s=A(o,i);if(s){if(s===y)continue;return s}}if("next"===i.method)i.sent=i.Fh=i.arg;else if("throw"===i.method){if(r===l)throw r=p,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var f=v(t,n,i);if("normal"===f.type){if(r=i.done?p:d,f.arg===y)continue;return{value:f.arg,done:i.done}}"throw"===f.type&&(r=p,i.method="throw",i.arg=f.arg)}}}(t,i,o),u}function v(t,n,i){try{return{type:"normal",arg:t.call(n,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",d="suspendedYield",w="executing",p="completed",y={};function g(){}function m(){}function b(){}var k={};k[u]=function(){return this};var I=a.getPrototypeOf,S=I&&I(I(C([])));S&&S!==i&&r.call(S,u)&&(k=S);var E=b.prototype=g.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Mh(n,t)}})}function R(t){var n;this.Mh=function(i,e){function u(){return new Promise(function(n,u){!function n(i,e,u,o){var s=v(t[i],t,e);if("throw"!==s.type){var f=s.arg,c=f.value;return c&&"object"==typeof c&&r.call(c,"Uh")?Promise.resolve(c.Uh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(c).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function A(t,i){var r=t.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=n,A(t,i),"throw"===i.method))return y;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return y}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,y;var u=e.arg;return u?u.done?(i[t.resultName]=u.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,y):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,y)}function N(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 O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function C(t){if(t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!_(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(r.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=n,i.done=!0,i};return o.next=o}}return{next:F}}function F(){return{value:n,done:!0}}m.prototype=E.constructor=b,b.constructor=m,b[s]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return a.setPrototypeOf?a.setPrototypeOf(t,b):(t.__proto__=b,s in t||(t[s]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Uh:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(f(n,i,r,e));return t.isGeneratorFunction(i)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[s]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var r=n.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Fh=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!_(+i.slice(1))&&(this[i]=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 i=this;function e(r,e){return s.type="throw",s.arg=t,i.next=r,e&&(i.method="next",i.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=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(f&&h){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(!h)throw new c("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc<=this.prev&&r.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,y):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),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),O(i),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var e=r.arg;O(i)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:C(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}(t.exports)});function vr(){return(vr=a.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)a.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function lr(){var t=a.create(null);return t.__=void 0,delete t.__,t}var dr,_r=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(dr=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=a.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=lr(),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=lr(),this.size=0},n.keys=function(){return new dr(this.data,function(t,n){return n})},n.values=function(){return new dr(this.data,function(t,n){return t[n]})},n.entries=function(){return new dr(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 wr,pr="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",yr="urn:uuid:"+pr;!function(t){t.Gh="playready",t.Wh="widevine",t.jh="fairplay",t.Yh="clearkey",t.Qh="aes128"}(wr||(wr={}));var gr={Kh:wr.Gh,Zh:"com.microsoft.playready",Jh:"cenc",$h:"9a04f079-9840-4286-ab92-e65be0885f95",ra:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",ea:"PlayReady"},mr={Kh:wr.Wh,Zh:"com.widevine.alpha",Jh:"cenc",$h:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ra:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ea:"Widevine"},br={Kh:wr.jh,Zh:"com.apple.fps.1_0",Jh:"skd",$h:pr,ra:yr,ea:"FairPlay"},kr=(wr.jh,{Kh:wr.Yh,Zh:"org.w3.clearkey",Jh:"cenc",$h:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ra:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ea:"ClearKey"});var Ir=q.xs&&q.Ms>=42||q.js&&q.Ys>=38||q.zs||q.Gs||q.Zs&&q.Js>=29;function Sr(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var Er,Tr=function(){function t(t){this.ua=void 0,this.oa=new _r,this.va=void 0,this.ua=t}var n=t.prototype;return n.kh=function(){return this.Ah(mr)},n.gh=function(){return this.Ah(kr)},n.yh=function(){return this.Ah(gr)},n.wh=function(){return this.Ah(br)},n.Ah=function(t){var n=t.ra,i=this.oa.get(n);if(i)return i;var r=this.ph(t,'video/mp4; codecs="avc1.42000a"');return this.oa.set(n,r),r},n.ph=function(){var t=g.coroutine(ar.mark(function t(n,i){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.ua._a(n.Zh,[Sr(i,!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.ua._a(n.Zh,[Sr(i,!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,i){return t.apply(this,arguments)}}(),n.lh=function(){return this.va||(this.va=this.ma()),this.va},n.ma=function(){var t=g.coroutine(ar.mark(function t(){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Ir){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,this.gh();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}(),Rr=function(){function t(){}var n=t.prototype;return n.uv=function(){},n.kc=function(t){},n.wc=function(t){},n.ov=function(t,n){},t}(),Ar=function(){function t(){}return t.prototype._a=function(t,n){return g.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.$v="arraybuffer",t.td="json",t.rd="stream",t.bu="text"}(Er||(Er={}));var Nr,Or=function(){function t(n){var i=this;this.qh=void 0,this.qh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){i.append(t[0],t[1])}):n&&a.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Dr(i),r=Cr(r);var e=i.toLowerCase();if(this.qh.hasOwnProperty(e)){var u=this.qh[e],o=u[1];u[1]=o?o+", "+r:r}else this.qh[e]=[i,r]},n.delete=function(t){var n=Dr(t).toLowerCase();delete this.qh[n]},n.get=function(t){var n=Dr(t).toLowerCase();return this.qh.hasOwnProperty(n)?this.qh[n][1]:null},n.has=function(t){var n=Dr(t).toLowerCase();return this.qh.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Dr(i)).toLowerCase();this.qh[r]=[i,Cr(n)]},n.forEach=function(t,n){for(var i in this.qh)this.qh.hasOwnProperty(i)&&t.call(n,this.qh[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.qh)if(this.qh.hasOwnProperty(n)){var i=this.qh[n],r=i[0],e=i[1];t.push([r,e])}return t},n.ed=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.ud=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.od=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Dr(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new h("Invalid character in header field name");return n}function Cr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Fr(t,n){return function(t,n){var i=t,r=i.length;if(r<=1)return i;for(var e=new Array(r),u=1;u<r;u*=2){Pr(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function Pr(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(u=0;u<c;u+=a)for(e=(o=u+i)+i,o>c&&(o=c),e>c&&(e=c),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<o)r[h++]=t[s++];else{if(!(f<e))break;r[h++]=t[f++]}}!function(t){t[t.ya=0]="ya",t[t.Aa=1]="Aa",t[t.Ta=-1]="Ta"}(Nr||(Nr={}));var jr=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<Et||i<v.max(v.abs(t),v.abs(n))*Et}(t,n)?Nr.ya:function(t,n){return t===n?Nr.ya:t<n?Nr.Ta:t>n?Nr.Aa:_(t)?_(n)?Nr.ya:Nr.Aa:Nr.Ta}(t,n)};function Br(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function Mr(t){t.length=0}var xr,Lr,Ur,Wr,qr=function(){function t(){this.Sa=!1,this.Ea=!1,this.Ia=[],this.Ra=[]}var n=t.prototype;return n.Na=function(){if(!this.Sa&&!this.Ea){this.Sa=!0;for(var t=0,n=this.Ia.slice();t<n.length;t++){(0,n[t])()}this.Da()}},n.Da=function(){if(!this.Ea){this.Ea=!0;for(var t=0,n=this.Ra.slice();t<n.length;t++){(0,n[t])()}Mr(this.Ia),Mr(this.Ra)}},n.Ca=function(t){this.Ea||this.Ia.push(t)},n.Pa=function(t){this.Ea||Br(this.Ia,t)},n.Oa=function(t){this.Ea||this.Ra.push(t)},n.Ba=function(t){this.Ea||Br(this.Ra,t)},t}(),Gr=function(){function t(){this.La=new qr}var n=t.prototype;return n.xa=function(){this.La.Na()},n.Da=function(){this.La.Da()},n.Ma=function(t){var n=this.La;if(!n.Sa)if(t.Sa)n.Na();else if(!n.Ea&&!t.Ea){var i=function(){r(),n.Na()},r=function r(){t.Pa(i),t.Ba(r),n.Pa(i),n.Ba(r)};t.Ca(i),t.Oa(r),n.Ca(i),n.Oa(r)}},n.Fa=function(){var n=new t,i=new t,r=n.Ua,e=i.Ua,u=this.La,o=function(){r.Sa&&e.Ea||e.Sa&&r.Ea?u.Na():r.Ea&&e.Ea&&u.Da()};r.Ca(o),e.Ca(o),r.Oa(o),e.Oa(o),n.Ma(u),i.Ma(u);return u.Oa(function(){r.Pa(o),e.Pa(o),r.Ba(o),e.Ba(o)}),[n,i]},N(t,[{key:"Ua",get:function(){return this.La}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(xr||(xr={})),function(t){t.i_="",t.r_="manifest",t.e_="segment",t.s_="content-protection"}(Lr||(Lr={})),function(t){t.i_="",t.u_="initialization-segment",t.o_="fairplay-license",t.h_="fairplay-certificate",t.a_="widevine-license",t.c_="widevine-certificate",t.f_="playready-license",t.v_="clearkey-license",t.d_="aes128-key"}(Ur||(Ur={})),function(t){t.i_="",t.l_="audio",t.__="video",t.bu="text",t.g_="image"}(Wr||(Wr={}));var Vr,Hr=function(t,n){this.xl=void 0,this.Yl=void 0,this.w_=void 0,this.Ql=void 0,this.m_=void 0,this.Ua=void 0,this.Kh=void 0,this.y_=void 0,this.k_=void 0,this.t_=void 0,this.p_=void 0,this.b_=void 0;var i,r,e,u,o,s,f,c,h,a,v,l=t.t_;n?(i=n.xl,r=n.Yl,e=n.w_,u=n.Ql,o=n.m_,s=n.Ua,f=n.Kh,c=n.y_,h=n.k_,a=n.p_,v=n.b_):(i=null,r={},e=xr.GET,u=Er.bu,o=0,f=Lr.i_,c=Ur.i_,h=Wr.i_,a=!1),this.t_=l,this.xl=t.xl||i,this.Yl=new Or(t.Yl||r),this.w_=t.w_||e,this.Ql=t.Ql||u,this.m_=void 0!==t.m_?Number(t.m_)||0:o,this.Ua=t.Ua||s||(new Gr).Ua,this.Kh=t.Kh||f,this.y_=t.y_||c,this.k_=t.k_||h,this.p_=void 0!==t.p_?Boolean(t.p_):a,this.b_=t.b_||v};!function(t){t.P_="HttpOpenError",t.O_="HttpResponseError",t.B_="HttpTimeoutError"}(Vr||(Vr={}));var Xr,zr,$r=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.t_+". Invalid URL.",i)||this}return D(n,t),N(n,[{key:"name",get:function(){return Vr.P_}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).L_=void 0,e.L_=n,e}return D(n,t),N(n,[{key:"Jl",get:function(){return this.L_}}]),n}(Ot)),Kr=function(){function t(){}var n=t.prototype;return n.Jl=function(t){return g.reject(new $r(new Hr(t)))},n.A_=function(t){},n.T_=function(){},t}();function Yr(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Zr(t,n){return t.push(n),t}function Jr(t,n,i,r){var e=i||0,u=r||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 Qr(t,n){return Jr(t,Yr(n))}Xr=new(function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).Dg=new Tr(new Ar),n.ly=new Kr,n.be=new Rr,n}return D(n,t),N(n,[{key:"_h",get:function(){return this.Dg}},{key:"Bg",get:function(){return!1}},{key:"Lg",get:function(){return!1}},{key:"xg",get:function(){return!1}},{key:"Mg",get:function(){return this.be}},{key:"Fg",get:function(){return{Ug:b}}},{key:"Hg",get:function(){return"default"}},{key:"Vg",get:function(){return"unknown"}},{key:"Xg",get:function(){return this.ly}}]),n}(cr)),function(t){t.Kxt="h.264",t.Cyt="mp3",t.Dyt="aac-lc",t.Dxt="he-aac"}(zr||(zr={}));var te=function(){function t(){this.Pot=0,this.Oot=[],this._I={}}var n=t.prototype;return n.Bot=function(t){this.Oot=this.Oot.concat(t.Oot),this.Pot+=t.Nw},n.Lot=function(t,n,i){var r=this.Pot,e=i-n;e>0&&(this.Oot.push({xot:n,Mot:i,Fot:e,Uot:r,Hot:t}),this.Pot+=e)},n.wc=function(t){for(var n=0,i=this.Oot;n<i.length;n++){var r=i[n];if(r.Uot<=t&&t<r.Uot+r.Fot)return r.Hot[t+r.xot-r.Uot]}},n.Vot=function(t,n){for(var i=n,r=0,e=this.Oot;r<e.length;r++)for(var u=e[r],o=u.Mot,s=u.xot;s<o;s+=1,i+=1)t[i]=u.Hot[s];return i},n.Xot=function(){for(var t=new w(this.Pot),n=0,i=0,r=this.Oot;i<r.length;i++)for(var e=r[i],u=e.Mot,o=e.xot;o<u;o+=1,n+=1)t[n]=e.Hot[o];return t},n.Ec=function(n){for(var i=new t,r=0,e=this.Oot;r<e.length;r++){var u=e[r];i.Lot(u.Hot,u.xot,u.Mot)}return i._I=n||vr({},this._I),i},N(t,[{key:"Nw",get:function(){return this.Pot},set:function(t){var n=this.Oot,i=this.Pot-t;if(!(t>=this.Pot))if(this.Pot=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.Fot)return e.Mot-=i,e.Fot-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.Fot}else n.length=0}},{key:"uo",get:function(){for(var t=new Array(this.Pot),n=0,i=0,r=this.Oot;i<r.length;i++)for(var e=r[i],u=e.Mot,o=e.xot;o<u;o+=1,n+=1)t[n]=e.Hot[o];return t}}]),t}(),ne=function(){function t(){}var n=t.prototype;return n.Yp=function(t){return this.Qp()*t},n.Kp=function(t){return this.Zp(t)>0},n.Jp=function(t){return this.Zp(t)>=0},n.$p=function(t,n){return this.eb(t).ib(n)},n.Fp=function(t){return 0===this.Zp(t)},n.sb=function(t){return this.Zp(t)<0},n.ib=function(t){return this.Zp(t)<=0},n.ub=function(){return this.ob()?this.hb():this},n.cb=function(t){return this.$k(t.hb())},n.eb=function(t){return this.cb(t).ub()},t}();function ie(t,n){return t.fb()?n.fb()?Nr.ya:Nr.Aa:n.fb()?Nr.Ta:t.vb()?n.vb()&&t.ob()===n.ob()?Nr.ya:t.ob()?Nr.Ta:Nr.Aa:n.ob()?Nr.Aa:Nr.Ta}var re=function(){function t(t,n){this._b=void 0,this.gb=void 0,this._b=t,this.gb=n}t.wb=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.mb=function(n){return n.unsigned?new t(n,St.UZERO):new t(n,n.isNegative()?St.NEG_ONE:St.ZERO)},t.yb=function(n,i){if(_(n))return i?t.kb:t.pb;if(i){if(n<0)return t.kb;if(n>=3.402823669209385e38)return t.bb}else{if(n<=-1.7014118346046923e38)return t.Ab;if(n+1>=1.7014118346046923e38)return t.Tb}return n<0?t.yb(-n,i).hb():t.wb(St.fromNumber(n%0x10000000000000000),St.fromNumber(n/0x10000000000000000),i)};var n=t.prototype;return n.Sb=function(){return this.gb.unsigned},n.Eb=function(){return this._b.isZero()&&this.gb.isZero()},n.ob=function(){return this.gb.isNegative()},n.Ib=function(){return this.Sb()?t.wb(this._b,this.gb,!1):this},n.Rb=function(){return this.Sb()?this:t.wb(this._b,this.gb,!0)},n.Nb=function(){return this._b},n.Qp=function(){return this.ob()?-this.hb().Qp():0x10000000000000000*this.gb.toNumber()+this._b.toUnsigned().toNumber()},n.Db=function(){return this._b.toInt()},n.Fp=function(t){return(this.Sb()===t.Sb()||this.gb.getHighBits()>>>31!=1||t.gb.getHighBits()>>>31!=1)&&(this.gb.toUnsigned().eq(t.gb.toUnsigned())&&this._b.toUnsigned().eq(t._b.toUnsigned()))},n.Zp=function(t){if(this.Fp(t))return Nr.ya;var n=this.ob(),i=t.ob();if(n&&!i)return Nr.Ta;if(!n&&i)return Nr.Aa;if(!this.Sb())return this.cb(t).ob()?Nr.Ta:Nr.Aa;var r=this.Rb(),e=t.Rb(),u=e.gb.comp(r.gb);return u>0||0===u&&e._b.gt(r._b)?Nr.Ta:Nr.Aa},n.sb=function(t){return this.Zp(t)<0},n.ib=function(t){return this.Zp(t)<=0},n.Cb=function(t){return this.Zp(t)>0},n.Pb=function(t){return this.Zp(t)>=0},n.Ob=function(){return new t(this._b.not(),this.gb.not())},n.Bb=function(n){return new t(this._b.and(n._b),this.gb.and(n.gb))},n.Lb=function(n){return new t(this._b.or(n._b),this.gb.or(n.gb))},n.xb=function(n){var i=127&n;return 0===i?this:i<64?t.wb(this._b.shl(i),this.gb.shl(i).or(this._b.shru(64-i)),this.Sb()):t.wb(St.ZERO,this._b.shl(i-64),this.Sb())},n.Mb=function(n){var i=127&n;return 0===i?this:i<64?t.wb(this._b.shru(i).or(this.gb.shl(64-i)),this.gb.shr(i),this.Sb()):t.wb(this.gb.shr(i-64),this.gb.isNegative()?St.NEG_ONE:St.ZERO,this.Sb())},n.Fb=function(n){var i=127&n;return 0===i?this:i<64?t.wb(this._b.shru(i).or(this.gb.shl(64-i)),this.gb.shru(i),this.Sb()):64===i?t.wb(this.gb,St.ZERO,this.Sb()):t.wb(this.gb.shru(i-64),St.ZERO,this.Sb())},n.$k=function(n){var i=this.gb.high>>>16,r=65535&this.gb.high,e=this.gb.low>>>16,u=65535&this.gb.low,o=this._b.high>>>16,s=65535&this._b.high,f=this._b.low>>>16,c=65535&this._b.low,h=n.gb.high>>>16,a=65535&n.gb.high,v=n.gb.low>>>16,l=65535&n.gb.low,d=n._b.high>>>16,_=65535&n._b.high,w=n._b.low>>>16,p=0,y=0,g=0,m=0,b=0,k=0,I=0,S=0;I+=(S+=c+(65535&n._b.low))>>>16,S&=65535,k+=(I+=f+w)>>>16,I&=65535,b+=(k+=s+_)>>>16,k&=65535,m+=(b+=o+d)>>>16,b&=65535,g+=(m+=u+l)>>>16,m&=65535,y+=(g+=e+v)>>>16,g&=65535,p+=(y+=r+a)>>>16,y&=65535,p+=i+h,p&=65535;var E=this.Sb(),T=St.fromBits(g<<16|m,p<<16|y,E),R=St.fromBits(I<<16|S,b<<16|k,E);return t.wb(R,T,E)},n.cb=function(t){return this.$k(t.hb())},n.hb=function(){return this.Ob().$k(t.Ub)},n.Hb=function(n){if(this.Eb()||n.Eb())return this.Sb()?t.kb:t.pb;if(this.ob())return n.ob()?this.hb().Hb(n.hb()):this.hb().Hb(n).hb();if(n.ob())return this.Hb(n.hb()).hb();if(this.gb.isZero()&&0===this._b.high&&n.gb.isZero()&&0===n._b.high)return t.mb(this._b.multiply(n._b));var i=St.fromBits(4294967295,0,!0),r=this._b.and(i),e=this._b.shru(32),u=this.gb.and(i),o=this.gb.shru(32),s=n._b.and(i),f=n._b.shru(32),c=n.gb.and(i),h=n.gb.shru(32),a=St.UZERO,v=St.UZERO,l=St.UZERO,d=St.UZERO;a=a.add(r.mul(s)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(f)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(s)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(f)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),d=d.add(l.shru(32)),l=l.and(i),d=d.add(o.mul(s)).add(u.mul(f)).add(e.mul(c)).add(r.mul(h)).and(i);var _=St.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=St.fromBits(l.getLowBitsUnsigned(),d.getLowBitsUnsigned(),!0);return t.wb(_,w,this.Sb())},n.Vb=function(n){var i,r,e=n;if(e.Eb())throw new RangeError("division by zero");if(this.Eb())return this.Sb()?[t.kb,t.kb]:[t.pb,t.pb];if(this.Sb()){if(e.Sb()||(e=e.Rb()),e.Cb(this))return[t.kb,this];if(e.Cb(this.Fb(1)))return[r=t.Xb,i=this.cb(e)];r=t.kb}else{if(this.Fp(t.Ab)){if(e.Fp(t.Ub)||e.Fp(t.zb))return[t.Ab,t.pb];if(e.Fp(t.Ab))return[t.Ub,t.pb];var u=this.Mb(1).qb(e).xb(1);return u.Fp(t.pb)?r=e.ob()?t.Ub:t.zb:(i=this.cb(e.Hb(u)),r=u.$k(i.qb(e))),[r,i=this.cb(e.Hb(r))]}if(e.Fp(t.Ab))return this.Sb()?[t.kb,this]:[t.pb,this];if(this.ob()){if(e.ob())return this.hb().Vb(e.hb());var o=this.hb().Vb(e);return r=o[0],i=o[1],[r.hb(),i.hb()]}if(e.ob()){var s=this.Vb(e.hb());return r=s[0],i=s[1],[r.hb(),i.hb()]}r=t.pb}for(i=this;i.Pb(e);){for(var f=v.max(1,v.floor(i.Qp()/e.Qp())),c=v.ceil(v.log(f)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.yb(f),l=a.Hb(e);l.ob()||l.Cb(i);)f-=h,l=(a=t.yb(f,this.Sb())).Hb(e);a.Eb()&&(a=t.Ub),r=r.$k(a),i=i.cb(l)}return[r,i]},n.qb=function(t){return this.Vb(t)[0]},n.Gb=function(t){return this.Vb(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.Eb())return"0";if(this.ob()){if(this.Fp(t.Ab)){var r=t.yb(i),e=this.qb(r),u=e.Hb(r).cb(this);return e.toString(i)+u.Db().toString(i)}return"-"+this.hb().toString(i)}for(var o=t.yb(v.pow(i,6),this.Sb()),s=this,f="";;){var c=s.qb(o),h=(s.cb(c.Hb(o)).Db()>>>0).toString(i);if((s=c).Eb())return h+f;for(;h.length<6;)h="0"+h;f=String(h)+f}},t}();re.pb=re.mb(St.ZERO),re.kb=re.mb(St.UZERO),re.Ub=re.mb(St.ONE),re.Xb=re.mb(St.UONE),re.zb=re.mb(St.NEG_ONE),re.Tb=re.wb(St.NEG_ONE,St.MAX_VALUE,!1),re.bb=re.wb(St.MAX_UNSIGNED_VALUE,St.MAX_UNSIGNED_VALUE,!0),re.Ab=re.wb(St.ZERO,St.MIN_VALUE,!1);var ee=function(){function t(t,n){void 0===n&&(n=1),this.Wb=void 0,this.jb=void 0,this.Wb=t,this.jb=n}t.Yb=function(n){return new t(v.ceil(n.Wb),n.jb)},t.Qb=function(n){return new t(v.floor(n.Wb),n.jb)},t.Kb=function(t,n){return t.Jp(n)?t:n},t.Zb=function(t,n){return t.ib(n)?t:n};var n=t.prototype;return n.$k=function(n){return this.jb>=n.jb?new t(this.Wb+n.Jb(this.jb).Wb,this.jb):new t(this.Jb(n.jb).Wb+n.Wb,n.jb)},n.Kp=function(t){return t.sb(this)},n.Jp=function(t){return t.ib(this)},n.eb=function(n){return this.jb>=n.jb?new t(v.abs(this.Wb-n.Jb(this.jb).Wb),this.jb):n.eb(this)},n.$p=function(t,n){return this.eb(t).ib(n)},n.Zp=function(t){return i=t,(n=this).jb>=i.jb?jr(n.Wb,i.Jb(n.jb).Wb):jr(n.Jb(i.jb).Wb,i.Wb);var n,i},n.Fp=function(t){return 0===this.Zp(t)},n.sb=function(t){return this.Zp(t)<0},n.ib=function(t){return this.Zp(t)<=0},n.Jb=function(n){return new t(this.Wb*(n/this.jb),n)},n.cb=function(n){return this.jb>=n.jb?new t(this.Wb-n.Jb(this.jb).Wb,this.jb):new t(this.Jb(n.jb).Wb-n.Wb,n.jb)},n.$b=function(n){return new t(this.Wb*n,this.jb)},N(t,[{key:"vb",get:function(){return!isFinite(this.Wb)}},{key:"tA",get:function(){return this.Wb/this.jb}}]),t}();ee.nA=new ee(1/6,1),ee.pb=new ee(0),ee.iA=new ee(1/0),ee.rA=1e6;var ue=function(t){function n(n,i){var r;return(r=t.call(this)||this).Bu=void 0,r.jb=void 0,r.Bu=n.toSigned(),r.jb=i>>>0,r}D(n,t),n.eA=function(t,i){return void 0===i&&(i=1e6),n.yb(t*i,i)},n.yb=function(t,i){return _(t)?n.sA:t===1/0?n.uA:t===-1/0?n.oA:new n(St.fromNumber(t),i)},n.mb=function(t,i){return new n(t,i)},n.hA=function(t){return n.eA(t.tA,1e6)},n.aA=function(t){return new n(St.fromNumber(t.getTime()),1e3)},n.Kb=function(t,n){return t.Jp(n)?t:n},n.Zb=function(t,n){return t.ib(n)?t:n},n.cA=function(t,i,r){return n.Kb(i,n.Zb(r,t))};var i=n.prototype;return i.ob=function(){return this.Bu.isNegative()},i.Eb=function(){return 0!==this.jb&&this.Bu.isZero()},i.vb=function(){return 0===this.jb&&!this.Bu.isZero()},i.fb=function(){return 0===this.jb&&this.Bu.isZero()},i.Qp=function(){if(0===this.jb)return this.Bu.isZero()?NaN:this.Bu.isNegative()?-1/0:1/0;var t=this.Bu.divide(this.jb),n=this.Bu.subtract(t.multiply(this.jb));return t.toNumber()+n.toNumber()/this.jb},i.Nb=function(){if(0===this.jb)throw new c("Failed to convert timestamp");return this.Bu},i.fA=function(){return new Date(0===this.jb?NaN:this.Jb(1e3).Bu.toNumber())},i.vA=function(){return new ee(0===this.jb?this.Qp():this.Bu.toNumber(),this.jb)},i.Jb=function(t,i){void 0===i&&(i=fe.dA);var r=this.jb;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t.Vb(n),e=r[0],u=r[1];if(u.Eb())return e;if(i===fe.dA)return u.ob()?e.cb(re.Ub):e;if(i===fe.lA)return u.ob()?e:e.$k(re.Ub);var o=u.Hb(re.yb(2));return o.ob()?o.hb().sb(n)?e:e.cb(re.Ub):o.sb(n)?e:e.$k(re.Ub)}(re.mb(this.Bu).Hb(re.yb(t/e)),re.yb(r/e),i).Nb(),t)},i.Zp=function(t){if(this===t)return Nr.ya;if(0===this.jb||0===t.jb)return ie(this,t);if(this.Eb())return t.Eb()?Nr.ya:t.ob()?Nr.Aa:Nr.Ta;if(t.Eb())return this.ob()?Nr.Ta:Nr.Aa;var n=v.min(this.jb,t.jb),i=this.Jb(n,fe._A).Bu,r=t.Jb(n,fe._A).Bu;return i.compare(r)},i.hb=function(){return 0===this.jb?oe(this):new n(this.Bu.negate(),this.jb)},i.$k=function(t){if(0===this.jb||0===t.jb)return se(this,t);if(this.Eb())return t;if(t.Eb())return this;var i=v.max(this.jb,t.jb),r=this.Jb(i,fe._A),e=t.Jb(i,fe._A);return new n(r.Bu.add(e.Bu),i)},i.Hb=function(t){if(this.fb()||_(t))return n.sA;if(this.vb()||!isFinite(t)){if(this.Eb()||0===t)return n.sA;var i=this.ob()?n.oA:n.uA;return t<0?i.hb():i}return this.Eb()?this:new n(0===t?St.ZERO:this.Bu.multiply(t),this.jb)},i.qb=function(t){if(this.fb()||_(t))return n.sA;if(this.vb())return isFinite(t)?0===t?1/t<0?this.hb():this:t<0?this.hb():this:n.sA;if(!isFinite(t))return new n(St.ZERO,this.jb);if(this.Eb())return 0===t?n.sA:new n(St.ZERO,this.jb);if(0===t){var i=this.ob()?n.oA:n.uA;return 1/t<0?i.hb():i}return new n(this.Bu.divide(t),this.jb)},i.gA=function(){return[this.Bu.low,this.Bu.high,this.jb]},n}(ne);function oe(t){return t.fb()?t:t.ob()?ue.uA:ue.oA}function se(t,n){return t.fb()||n.fb()?ue.sA:t.vb()&&n.vb()?t.ob()===n.ob()?t:ue.sA:t.vb()?t:n}ue.pb=new ue(St.ZERO,1e6),ue.sA=new ue(St.ZERO,0),ue.uA=new ue(St.ONE,0),ue.oA=new ue(St.NEG_ONE,0);var fe,ce=function(t){function n(n,i){var r;return(r=t.call(this)||this).Bu=void 0,r.jb=void 0,r.Bu=BigInt.asIntN(64,n),r.jb=i>>>0,r}D(n,t),n.eA=function(t,i){return void 0===i&&(i=1e6),n.yb(t*i,i)},n.yb=function(t,i){return _(t)?n.sA:t===1/0?n.uA:t===-1/0?n.oA:new n(BigInt(v.floor(t)),i)},n.mb=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},n.hA=function(t){return n.eA(t.tA,1e6)},n.aA=function(t){return n.yb(t.getTime(),1e3)},n.Kb=function(t,n){return t.Jp(n)?t:n},n.Zb=function(t,n){return t.ib(n)?t:n},n.cA=function(t,i,r){return n.Kb(i,n.Zb(r,t))};var i=n.prototype;return i.ob=function(){return this.Bu<BigInt(0)},i.Eb=function(){return 0!==this.jb&&this.Bu===BigInt(0)},i.vb=function(){return 0===this.jb&&this.Bu!==BigInt(0)},i.fb=function(){return 0===this.jb&&this.Bu===BigInt(0)},i.Qp=function(){if(0===this.jb)return this.Bu===BigInt(0)?NaN:this.Bu<BigInt(0)?-1/0:1/0;var t=this.Bu/BigInt(this.jb),n=this.Bu-t*BigInt(this.jb);return Number(t)+Number(n)/this.jb},i.Nb=function(){if(0===this.jb)throw new c("Failed to convert timestamp");return this.wA()},i.wA=function(){var t=this.Bu&BigInt(4294967295),n=this.Bu>>BigInt(32)&BigInt(4294967295);return St.fromBits(Number(t),Number(n))},i.fA=function(){return new Date(0===this.jb?NaN:Number(this.Jb(1e3).Bu))},i.vA=function(){return new ee(0===this.jb?this.Qp():Number(this.Bu),this.jb)},i.Jb=function(t,i){void 0===i&&(i=fe.dA);var r=this.jb;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t/n,e=t-r*n;if(e===BigInt(0))return r;if(i===fe.dA)return e<BigInt(0)?r-BigInt(1):r;if(i===fe.lA)return e<BigInt(0)?r:r+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?r:r-BigInt(1):u<n?r:r+BigInt(1)}(this.Bu*BigInt(t/e),BigInt(r/e),i),t)},i.Zp=function(t){if(this===t)return Nr.ya;if(0===this.jb||0===t.jb)return ie(this,t);if(this.Eb())return t.Eb()?Nr.ya:t.ob()?Nr.Aa:Nr.Ta;if(t.Eb())return this.ob()?Nr.Ta:Nr.Aa;var n=v.min(this.jb,t.jb),i=this.Jb(n,fe._A).Bu,r=t.Jb(n,fe._A).Bu;return i>r?Nr.Aa:i<r?Nr.Ta:Nr.ya},i.hb=function(){return 0===this.jb?he(this):new n(-this.Bu,this.jb)},i.$k=function(t){if(0===this.jb||0===t.jb)return ae(this,t);if(this.Eb())return t;if(t.Eb())return this;var i=v.max(this.jb,t.jb),r=this.Jb(i,fe._A),e=t.Jb(i,fe._A);return new n(r.Bu+e.Bu,i)},i.Hb=function(t){if(this.fb()||_(t))return n.sA;if(this.vb()||!isFinite(t)){if(this.Eb()||0===t)return n.sA;var i=this.ob()?n.oA:n.uA;return t<0?i.hb():i}return this.Eb()?this:new n(0===t?BigInt(0):this.Bu*BigInt(t),this.jb)},i.qb=function(t){if(this.fb()||_(t))return n.sA;if(this.vb())return isFinite(t)?0===t?1/t<0?this.hb():this:t<0?this.hb():this:n.sA;if(!isFinite(t))return new n(BigInt(0),this.jb);if(this.Eb())return 0===t?n.sA:new n(BigInt(0),this.jb);if(0===t){var i=this.ob()?n.oA:n.uA;return 1/t<0?i.hb():i}return new n(this.Bu/BigInt(t),this.jb)},i.gA=function(){var t=this.wA();return[t.low,t.high,this.jb]},N(n,null,[{key:"pb",get:function(){return n.mA||(n.mA=new n(BigInt(0),1e6)),n.mA}},{key:"sA",get:function(){return n.yA||(n.yA=new n(BigInt(0),0)),n.yA}},{key:"uA",get:function(){return n.kA||(n.kA=new n(BigInt(1),0)),n.kA}},{key:"oA",get:function(){return n.pA||(n.pA=new n(BigInt(-1),0)),n.pA}}]),n}(ne);function he(t){return t.fb()?t:t.ob()?ce.uA:ce.oA}function ae(t,n){return t.fb()||n.fb()?ce.sA:t.vb()&&n.vb()?t.ob()===n.ob()?t:ce.sA:t.vb()?t:n}ce.mA=void 0,ce.yA=void 0,ce.kA=void 0,ce.pA=void 0,function(t){t[t.dA=0]="dA",t[t.lA=1]="lA",t[t._A=2]="_A"}(fe||(fe={}));var ve=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?ce:ue;function le(t){return ve.mb(St.fromBits(t[0],t[1],!1),t[2])}var de=v.pow(2,33),_e=ve.yb(de,9e4),we=_e.qb(2);function pe(t,n){var i=t.cb(n);return t.vb()||n.vb()?i:(i.Jp(we)?i.cb(_e):i.sb(we.hb())&&i.$k(_e),i)}var ye,ge;q.Qs;!function(t){t[t.bZ=0]="bZ",t[t.AZ=1]="AZ",t[t.TZ=2]="TZ",t[t.SZ=3]="SZ",t[t.EZ=4]="EZ",t[t.IZ=5]="IZ"}(ye||(ye={})),function(t){t[t.RZ=0]="RZ",t[t.NZ=1]="NZ",t[t.DZ=2]="DZ",t[t.CZ=3]="CZ"}(ge||(ge={}));var me,be,ke,Ie,Se,Ee;[[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},{}),g.resolve();!function(t){t.lp="_p",t.gp="wp",t.gw="Qc"}(me||(me={})),function(t){t.lp="enter",t.gp="exit",t.gw="update"}(be||(be={})),function(t){t[t.RC=0]="RC",t[t.IJ=1]="IJ",t[t.RJ=2]="RJ",t[t.NJ=3]="NJ",t[t.bu=4]="bu"}(ke||(ke={})),function(t){t.jK='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.YK='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.QK='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.KK='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Ie||(Ie={})),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"}(Se||(Se={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ee||(Ee={}));var Te;Se.WHITE,Ie.QK,Se.BLACK,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.GREEN,Ee.FONT_REGULAR,Se.GREEN,Ee.FONT_UNDERLINE,Se.BLUE,Ee.FONT_REGULAR,Se.BLUE,Ee.FONT_UNDERLINE,Se.CYAN,Ee.FONT_REGULAR,Se.CYAN,Ee.FONT_UNDERLINE,Se.RED,Ee.FONT_REGULAR,Se.RED,Ee.FONT_UNDERLINE,Se.YELLOW,Ee.FONT_REGULAR,Se.YELLOW,Ee.FONT_UNDERLINE,Se.MAGENTA,Ee.FONT_REGULAR,Se.MAGENTA,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_ITALICS,Se.WHITE,Ee.FONT_UNDERLINE_ITALICS,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE;!function(t){t[t.jot=47]="jot",t[t.Yot=49]="Yot"}(Te||(Te={}));var Re,Ae=[128,64,32,16,8,4,2,1];function Ne(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.wc?t.wc(i):t[i])&Ae[n.bit%8])?0:1;return n.bit+=1,r}function Oe(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+Ne(t,n);return r}function De(t,n){for(var i=0;0===Ne(t,n)&&i<32;)i+=1;return Oe(t,n,i)+v.pow(2,i)-1}function Ce(t,n){var i=De(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!function(t){t[t.uht=1]="uht",t[t.oht=2]="oht",t[t.hht=3]="hht",t[t.aht=4]="aht",t[t.cht=5]="cht",t[t.fht=6]="fht",t[t.vht=7]="vht",t[t.dht=8]="dht",t[t._ht=9]="_ht"}(Re||(Re={}));var Fe=[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 Pe(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+Ce(t,n)+256)%256;r=0===e?r:e}}var je=function(){function t(t){this.ght=void 0,this.wht=[],this.mht=0,this.ght=t}var n=t.prototype;return n.yht=function(){for(var t=this.wht,n=v.max(0,this.mht+t.length-2),i=this.ght,r=i.Nw,e=0;n<r;n+=1){var u=i.wc(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.mht=n-t.length},n.kht=function(t){for(var n=this.wht,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.wc=function(t){if(!(t>this.ght.Nw))return t>this.mht&&this.yht(),this.ght.wc(this.kht(t))},t}();function Be(t,n){Au(t.video?t.video:void 0);var i=so(t,!0),r=Ou(t)+8,e=qe.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.XW||[],audio:t.audio&&t.audio.XW||[]},u={_I:{R2:Number.POSITIVE_INFINITY}},o=0,s=0,f=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||s<e.audio.length;)f._I.R2<c._I.R2?(Qr(i.video,r),r+=f.Nw,f=e.video[o+=1]||u):(Qr(i.audio,r),r+=c.Nw,c=e.audio[s+=1]||u);return i}(t,qe.length+i);return n.so(e),n.th(qe),fo(n,t,i,u),function(t,n,i){var r,e={_I:{R2:Number.POSITIVE_INFINITY}},u=0,o=0,s=n.video&&n.video.XW||[],f=n.audio&&n.audio.XW||[],c=s.length,h=f.length,a=s[u]||e,v=f[o]||e;t.hh(i),t.th(Ve);for(;u<c||o<h;)a._I.R2<v._I.R2?(r=a,a=s[u+=1]||e):(r=v,v=f[o+=1]||e),t.mh(r)}(n,t,r),n}function Me(t,n,i){var r=void 0!==n?n:void 0;Au(t.video?t.video:void 0);var e=so(t,!1,r),u=Ge.length+e;return i.so(u),i.th(Ge),fo(i,t,e,void 0,r||ve.pb),i}function xe(t,n,i,r,e){var u=i.Qp(),o=r.Qp(),s=function(t,n){return 1===Ao(t,n)?52:44}(t,o),f=To(t,u),c=Ou(t)+8,h=co.length+s+f+c;return e.so(h),e.th(co),function(t,n,i,r,e){var u=n.video&&n.video.kxt.$k(ve.eA(n.video.duration,n.video.kxt.jb))||ve.pb,o=n.audio&&n.audio.kxt.$k(ve.eA(n.audio.duration,n.audio.kxt.jb))||ve.pb,s=ve.Kb(u,o),f=v.round(e*Ru);t.hh(i),t.th(ho),1===Ao(n,e)?(t.hh(16777216),t.hh(1),t.hh(Ru),t.bh(St.fromNumber(f)),t.bh(St.ZERO)):(t.hh(0),t.hh(1),t.hh(Ru),t.hh(f),t.hh(0));t.xh(0),t.xh(1);var c=Ro(n.video?n.video:void 0),h=Ro(n.audio?n.audio:void 0);t.hh(To(n,r)+c+h+8),Co(t,s),t.th([144,0,0,0])}(e,t,s,u,o),function(t,n,i,r,e){t.hh(i),t.th(ao),function(t,n){t.hh(lo),t.th(vo),t.hh(0),t.hh(n)}(t,r),Oo(t,n,n.video?n.video:void 0,1,e),Oo(t,n,n.audio?n.audio:void 0,2,e)}(e,t,f,n,u),function(t,n,i){var r=n.video&&n.video.XW||[],e=n.audio&&n.audio.XW||[];t.hh(i),t.th(Ve);for(var u=0;u<r.length;u++){var o=r[u];t.mh(o)}for(var s=0;s<e.length;s++){var f=e[s];t.mh(f)}}(e,t,c),e}function Le(t){return t.wxt===zr.Cyt||t.wxt===zr.Dyt||t.wxt===zr.Dxt}function Ue(t){return t.wxt===zr.Kxt}function We(t){var n=t.length;if(n)for(var i=t[0]._I.Iht,r=0;r<n;r+=1){var e=t[r]._I;e.qxt=e.Eht.cb(i),i=i.$k(e.Rht)}}var qe=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],Ge=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],Ve=[109,100,97,116],He=[109,111,111,118],Xe=[109,118,104,100],ze=[116,114,97,107],$e=[116,107,104,100],Ke=[109,118,101,120],Ye=[116,114,101,120],Ze=32,Je=[101,100,116,115],Qe=[101,108,115,116],tu=[109,100,105,97],nu=[109,100,104,100],iu=[99,116,116,115],ru=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],eu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],uu=45,ou=[109,105,110,102],su=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],fu=16,cu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],hu=20,au=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],vu=36,lu=[115,116,98,108],du=[115,116,115,100],_u=[97,118,99,67],wu=[101,115,100,115],pu=[115,116,115,115],yu=[115,116,116,115],gu=[115,116,115,99],mu=[115,116,115,122],bu=[115,116,99,111],ku=[112,97,115,112],Iu=[97,118,99,49],Su=[109,112,52,97],Eu=[1,0],Tu=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],Ru=9e4;function Au(t){if(t&&!t.cE){var n=t.sOt,i=t.uOt;t.cE=function(t,n){var i=t.length,r=n.length,e=[];return Zr(e,1),Zr(e,t[1]),Zr(e,t[2]),Zr(e,t[3]),Zr(e,255),Zr(e,225),Zr(e,(65280&i)>>8),Zr(e,255&i),Jr(e,t),Zr(e,1),Zr(e,(65280&r)>>8),Zr(e,255&r),Jr(e,n),e}(n,i);var r=new te;r.Lot(n,0,n.length);var e=function(t){var n,i,r,e,u,o,s=new je(t),f=0,c=0,h=0,a=0,l=s.wc(1),d={bit:32};if(De(s,d),100===l||110===l||122===l||144===l){var _=De(s,d);if(3===_&&(n=Ne(s,d)),De(s,d),De(s,d),Ne(s,d),1===Ne(s,d))for(var w=0;w<(3!==_?8:12);w+=1)1===Ne(s,d)&&Pe(s,d,w<6?16:64)}var p=De(s,d),y=De(s,d);if(0===y)De(s,d);else if(1===y){Ne(s,d),Ce(s,d),Ce(s,d);for(var g=De(s,d),m=0;m<g;m+=1)Ce(s,d)}De(s,d),Ne(s,d);var b=De(s,d),k=De(s,d),I=Ne(s,d);if(0===I&&Ne(s,d),Ne(s,d),1===Ne(s,d)&&(f=De(s,d),c=De(s,d),h=De(s,d),a=De(s,d)),1===Ne(s,d)){if(1===Ne(s,d)){var S=Oe(s,d,8);if(255===S)i=Oe(s,d,16),r=Oe(s,d,16);else{var E=Fe[S];E&&(i=E[0],r=E[1])}}1===Ne(s,d)&&Ne(s,d),1===Ne(s,d)&&(Oe(s,d,3),Ne(s,d),1===Ne(s,d)&&(Oe(s,d,8),Oe(s,d,8),Oe(s,d,8))),1===Ne(s,d)&&(De(s,d),De(s,d)),1===(e=Ne(s,d))&&(u=Oe(s,d,32),o=Oe(s,d,32),Ne(s,d))}return{width:v.floor(16*(b+1)-2*f-2*c),height:v.floor((2-I)*(k+1)*16-2*h-2*a),bE:i,AE:r,pht:!!e&&o/(2*u),bht:n,Aht:p}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.bE&&e.AE&&(t.bE=e.bE,t.AE=e.AE)}}function Nu(t,n){var i=t.pht||0;if(Le(t))return t.Mxt;var r=v.max(Ru,i);return n?v.round(r):r}function Ou(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].Nw;return i};return t.video&&(n+=i(t.video.XW)),t.audio&&(n+=i(t.audio.XW)),n}function Du(t,n,i,r){var e=ve.eA(0,t.jb);return n?(r||e).$k(t):i||e}function Cu(t,n,i){var r=t.video&&Du(ve.eA(t.video.duration,Ru),n,i,t.video.kxt)||ve.pb,e=t.audio&&Du(ve.eA(t.audio.duration,Ru),n,i,t.audio.kxt)||ve.pb;return 0!==ve.Kb(r,e).Jb(Ru).Nb().high?1:0}function Fu(t,n,i){return 1===Cu(t,n,i)?120:108}function Pu(t,n,i){return 0!==Du(ve.eA(t.duration,Ru),n,i,t.kxt).Jb(Ru).Nb().high?1:0}function ju(t,n,i){return 1===Pu(t,n,i)?104:92}function Bu(t,n,i){var r=Nu(t,!1),e=Du(ve.eA(t.duration,r),n,i);return e.Kp(ve.eA(v.pow(2,32)-1,e.jb))?1:0}function Mu(t,n,i){return 1===Bu(t,n,i)?44:32}function xu(t){if(t.hasOwnProperty("zh"))return t.zh;for(var n=0,i=0,r=t.XW;i<r.length;i++){r[i]._I.Cht&&(n+=1)}return t.zh=n,n}function Lu(t,n){var i=t.video&&0!==a.keys(t.video).length,r=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(i?Ze:0)+(r?Ze:0)}function Uu(t){return!Ue(t)&&t.Hxt?t.Hxt.length+12:0}function Wu(t){return Ue(t)?110+t.cE.length+Uu(t)+(t.bE&&t.AE?16:0):52+Uu(t)}function qu(t,n){return Ue(t)&&n?16+4*xu(t):0}function Gu(t,n){return t.mxt&&n&&Ue(t)?16+8*t.XW.length:0}function Vu(t,n){return 20+(n?4*t.XW.length:0)}function Hu(t,n){return 16+(n?4*t.XW.length:0)}function Xu(t,n){return Ue(t)?16+(n?8*t.XW.length:0):16+(n?8:0)}function zu(t){return 16+(t?12:0)}function $u(t,n){return 8+Wu(t)+qu(t,n)+Gu(t,n)+Xu(t,n)+zu(n)+Vu(t,n)+Hu(t,n)}function Ku(t,n){return 8+(Ue(t)?hu:fu)+vu+$u(t,n)}function Yu(t,n,i){return 8+Mu(t,n,i)+uu+Ku(t,n)}function Zu(t){var n=v.floor(Ru*t.duration||0),i=t.kxt;return n>v.pow(2,31)-1||i.Kp(ve.yb(v.pow(2,31)-1,Ru))?1:0}function Ju(t,n){return n?1===Zu(t)?24+(t.kxt.Eb()?20:40):24+(t.kxt.Eb()?12:24):0}function Qu(t,n,i){return t&&0!==a.keys(t).length?8+ju(t,n,i)+Yu(t,n,i)+Ju(t,n):0}function to(t,n,i){var r=Wu(n),e=function(t){if(t===zr.Kxt)return Iu;if(t===zr.Cyt)return Su;if(t===zr.Dyt||t===zr.Dxt)return Su;throw new c("unknown codec "+t)}(n.wxt);t.hh(r),t.th(du),t.hh(0),t.hh(1),t.hh(r-16),t.th(e),t.hh(0),t.xh(0),t.xh(1),e===Iu&&Ue(n)?(t.hh(0),t.hh(0),t.hh(0),t.hh(0),t.xh(n.width||0),t.xh(n.height||0),t.xh(72),t.xh(0),t.xh(72),t.xh(0),t.hh(0),t.xh(1),t.th([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.xh(24),t.th([255,255]),t.hh(8+n.cE.length),t.th(_u),t.th(n.cE)):e===Su&&Le(n)&&(t.hh(0),t.hh(0),t.xh(n.Uxt),t.xh(16),t.xh(0),t.xh(0),t.xh(n.Mxt),t.xh(0)),Ue(n)&&n.bE&&n.AE&&(t.hh(16),t.th(ku),t.hh(n.bE),t.hh(n.AE)),!Ue(n)&&n.Hxt&&(t.hh(Uu(n)),t.th(wu),t.hh(0),t.th(n.Hxt))}function no(t,n,i){var r=Nu(n,!0),e=i?n.XW.length:0;!function(t){var n=t.length;if(n){var i=(t=Fr(t,function(t,n){return function(t,n){return t.Zp(n)}(t._I.Iht,n._I.Iht)}))[0]._I;i.Gxt=ve.pb;for(var r=1;r<n;r+=1){var e=t[r]._I,u=e.Iht.cb(i.Iht);e.Gxt=ve.Kb(u,ve.pb),i=e}}}(n.XW),t.hh(e);for(var u=0;u<e;u+=1){var o=n.XW[u]._I.Gxt;t.hh(1),t.hh(o.Jb(r,fe._A).Nb().toInt())}}function io(t,n,i,r){var e=$u(n,!!r);t.hh(e),t.th(lu),to(t,n),function(t,n,i){t.hh(Xu(n,i)),t.th(yu),t.hh(0),Ue(n)?no(t,n,i):function(t,n,i){t.hh(i?1:0),i&&(t.hh(n.XW.length),t.hh(n.Fxt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(Ue(n)&&i){var r=qu(n,i);t.hh(r),t.th(pu),t.hh(0),t.hh(xu(n));for(var e=0;e<n.XW.length;e+=1)n.XW[e]._I.Cht&&t.hh(e+1)}}(t,n,!!r),function(t,n,i){var r=Nu(n,!1);if(n.mxt&&i&&Ue(n)){We(n.XW);var e=Gu(n,i);t.hh(e),t.th(iu),t.hh(0),t.hh(n.XW.length);for(var u=0,o=n.XW;u<o.length;u++){var s=o[u]._I.qxt;t.hh(1),t.hh(s.Jb(r,fe._A).Nb().toInt())}}}(t,n,!!r),function(t,n){t.hh(zu(n)),t.th(gu),t.hh(0),t.hh(n?1:0),n&&(t.hh(1),t.hh(1),t.hh(1))}(t,!!r),function(t,n,i){var r=Vu(n,i);if(t.hh(r),t.th(mu),t.hh(0),t.hh(0),t.hh(i?n.XW.length:0),i)for(var e=0,u=n.XW;e<u.length;e++){var o=u[e];t.hh(o.Nw)}}(t,n,!!r),function(t,n,i){var r=Hu(n,!!i);t.hh(r),t.th(bu),t.hh(0),t.hh(i?n.XW.length:0),i&&t.th(i)}(t,n,r)}function ro(t,n,i,r){var e=Ku(n,!!r);t.hh(e),t.th(ou),Ue(n)?function(t){t.th(cu)}(t):function(t){t.th(su)}(t),function(t){t.th(au)}(t),io(t,n,0,r)}function eo(t,n,i,r,e){var u=Yu(n,!!r,e);t.hh(u),t.th(tu),function(t,n,i,r){var e=Mu(n,i,r),u=Nu(n,!1),o=Du(ve.eA(n.duration,u),i,r);u=v.round(u),t.hh(e),t.th(nu),1===Bu(n,i,r)?(t.hh(16777216),t.bh(St.ZERO),t.bh(St.ZERO),t.hh(u),Do(t,o)):(t.hh(0),t.hh(0),t.hh(0),t.hh(u),Co(t,o)),t.th([85,196]),t.th([0,0])}(t,n,!!r,e),function(t,n){n?t.th(ru):t.th(eu)}(t,Ue(n)),ro(t,n,0,r)}function uo(t,n){t.hh(Ze),t.th(Ye),t.hh(0),t.hh(n),t.hh(1),t.hh(0),t.hh(0),t.hh(0)}function oo(t,n,i,r,e){var u=Qu(n,!!i,e);n&&0!==u&&(t.hh(u),t.th(ze),function(t,n,i,r,e){var u=Du(ve.eA(n.duration,Ru),r,e,n.kxt),o=ju(n,r,e),s=Ue(n);t.hh(o),t.th($e),1===Pu(n,r,e)?(t.hh(16777231),t.bh(St.ZERO),t.bh(St.ZERO),t.hh(i),t.hh(0),Do(t,u)):(t.hh(15),t.hh(0),t.hh(0),t.hh(i),t.hh(0),Co(t,u)),t.hh(0),t.hh(0),t.xh(0),t.xh(s?0:1),t.th(s?[0,0]:Eu),t.th([0,0]),t.th(Tu),Ue(n)?(t.xh(n.width||0),t.xh(0),t.xh(n.height||0),t.xh(0)):(t.hh(0),t.hh(0))}(t,n,r,!!i,e),i&&function(t,n){var i=Ju(n,!0),r=v.floor(Ru*n.duration||0),e=Zu(n);t.hh(i),t.th(Je),t.hh(i-8),t.th(Qe),1===e?t.hh(16777216):t.hh(0),t.hh(n.kxt.Eb()?1:2),n.kxt.Eb()||(1===e?(Do(t,n.kxt),t.th([255,255,255,255,255,255,255,255])):(Co(t,n.kxt),t.th([255,255,255,255])),t.xh(1),t.xh(0)),1===e?(t.bh(St.fromNumber(r)),t.bh(St.ZERO)):(t.hh(r),t.hh(0)),t.xh(1),t.xh(0)}(t,n),eo(t,n,0,i,e))}function so(t,n,i){var r=Qu(t.video?t.video:void 0,n,i),e=Qu(t.audio?t.audio:void 0,n,i);return 8+Fu(t,n,i)+Lu(t,n)+r+e}function fo(t,n,i,r,e){t.hh(i),t.th(He),function(t,n,i,r){var e=Fu(n,i,r),u=n.video&&Du(ve.eA(n.video.duration,Ru),i,r,n.video.kxt)||ve.pb,o=n.audio&&Du(ve.eA(n.audio.duration,Ru),i,r,n.audio.kxt)||ve.pb,s=ve.Kb(u,o);t.hh(e),t.th(Xe),1===Cu(n,i,r)?(t.hh(16777216),t.bh(St.ZERO),t.bh(St.ZERO),t.hh(Ru),Do(t,s)):(t.hh(0),t.hh(0),t.hh(0),t.hh(Ru),Co(t,s)),t.th([0,1,0,0]),t.th(Eu),t.th([0,0,0,0,0,0,0,0,0,0]),t.th(Tu),t.hh(0),t.hh(0),t.hh(0),t.hh(0),t.hh(0),t.hh(0),t.hh(3)}(t,n,!!r,e),r||function(t,n){t.hh(Lu(n,!1)),t.th(Ke),n.video&&0!==a.keys(n.video).length&&uo(t,1),n.audio&&0!==a.keys(n.audio).length&&uo(t,2)}(t,n),oo(t,n.video?n.video:void 0,r&&r.video,1,e),oo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var co=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],ho=[115,105,100,120],ao=[109,111,111,102],vo=[109,102,104,100],lo=16,_o=[116,114,97,102],wo=[116,102,104,100],po=24,yo=[116,102,100,116],go=[116,114,117,110],mo=[115,100,116,112];function bo(t){return Ue(t)?20+16*t.XW.length:20+4*t.XW.length}function ko(t){return Ue(t)?12+t.XW.length:0}function Io(t,n){var i=Nu(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function So(t,n){return 1===Io(t,n)?20:16}function Eo(t,n){return t&&t.XW?8+po+So(t,n)+bo(t)+ko(t):0}function To(t,n){var i=Eo(t.audio?t.audio:void 0,n),r=Eo(t.video?t.video:void 0,n);return 8+lo+i+r}function Ro(t){if(!t||!t.XW)return 0;for(var n=0,i=0,r=t.XW;i<r.length;i++){n+=r[i].Nw}return n}function Ao(t,n){return v.round(n*Ru)>v.pow(2,32)-1?1:0}function No(t,n,i,r){Ue(i)?function(t,n,i,r){var e=To(n,r)+8,u=Nu(i,!1);We(i.XW),t.hh(bo(i)),t.th(go),t.th([1,0,15,1]),t.hh(i.XW.length),t.hh(e);for(var o=0,s=i.XW;o<s.length;o++){var f=s[o];t.hh(v.round(f._I.Gm*u));var c=f._I.qxt;t.hh(f.Nw),t.th(f._I.Cht?[2,0,0,0]:[0,1,0,0]),t.hh(c.Jb(u).Nb().toInt())}}(t,n,i,r):function(t,n,i,r){var e=Ro(n.video?n.video:void 0),u=To(n,r)+8+e;t.hh(bo(i)),t.th(go),t.th([0,0,2,1]),t.hh(i.XW.length),t.hh(u);for(var o=0,s=i.XW;o<s.length;o++){var f=s[o];t.hh(f.Nw)}}(t,n,i,r)}function Oo(t,n,i,r,e){i&&(t.hh(Eo(i,e)),t.th(_o),function(t,n,i){var r=Nu(n,!0),e=Ue(n)?v.round(r/(n.pxt.Qp()||0)):n.Fxt;t.hh(po),t.th(wo),t.hh(40),t.hh(i),t.hh(e),t.th(Ue(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=Nu(n,!0),e=v.round(i*r);t.hh(So(n,i)),t.th(yo),1===Io(n,i)?(t.hh(16777216),t.bh(St.fromNumber(e))):(t.hh(0),t.hh(e))}(t,i,e),No(t,n,i,e),function(t,n,i){if(Ue(i)){t.hh(ko(i)),t.th(mo),t.th([0,0,0,0]);for(var r=0,e=i.XW;r<e.length;r++)e[r]._I.Cht?t.nv(32):t.nv(16)}}(t,0,i))}function Do(t,n){t.bh(n.Jb(Ru).Nb())}function Co(t,n){t.hh(n.Jb(Ru).Nb().toNumber())}var Fo,Po={iv:function(t,n){n.so(function(t){var n=0;return t.audio&&(n+=function(t){var n,i=t.length,r=0;for(n=0;n<i;n+=1)r+=t[n].Nw;return r}(t.audio.XW)),n}(t));for(var i=0,r=t.audio&&t.audio.XW||[],e=r.length;i<e;)n.mh(r[i]),i+=1}},jo=function(){function t(t){this.uo=void 0,this.Ll=void 0,this.sv=0,this.Ll=t}var n=t.prototype;return n.cv=function(t,n,i){var r=this.sv,e=this.uo;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.sv=r},n.so=function(t){this.uo=new w(t),this.sv=0},n.nv=function(t){this.uo&&(this.uo[this.sv]=t,this.sv+=1)},n.th=function(t,n,i){this.uo&&this.cv(t,n,i)},n.mh=function(t){this.sv=t.Vot(this.uo,this.sv)},n.gA=function(t){return t(this.uo,this.Ll)},n.xh=function(t){return this.th([(n=t)>>>8&255,255&n]);var n},n.hh=function(t){return this.th(Yr(t))},n.bh=function(t){var n=t.toUnsigned();this.hh(n.high),this.hh(n.low)},t}(),Bo=t;function Mo(t,n){return void 0===Fo&&(Fo=function(){var t=new w(1);try{return Bo.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Fo?Bo.postMessage(t,n):Bo.postMessage(t)}var xo,Lo,Uo,Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),qo=16383;function Go(t,n,i){for(var r,e,u,o=[],s=n;s<i;s+=3)o.push((r=t[s],e=t[s+1],u=t[s+2],Wo[r>>2]+Wo[(3&r)<<4|e>>4]+Wo[(15&e)<<2|u>>6]+Wo[63&u]));return o.join("")}function Vo(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=qo)r.push(Go(t,u,v.min(e,u+qo)));if(1===i){var o=t[n-1];r.push(Wo[o>>2]+Wo[(3&o)<<4]+"==")}else if(2===i){var s=t[n-2],f=t[n-1];r.push(Wo[s>>2]+Wo[(3&s)<<4|f>>4]+Wo[(15&f)<<2]+"=")}return r.join("")}function Ho(t){return{XT:t.XT,_I:{R2:t._I.R2,d$:le(t._I.Sht)},XW:t.XW}}function Xo(t){return{d$:le(t.d$),PE:t.PE,s$:t.s$,e$:t.e$,Kh:t.Kh,zot:t.zot,u$:t.u$,o$:t.o$}}function zo(t){return{vxt:t.vxt,XW:[],wxt:t.wxt,mxt:t.mxt,duration:t.duration,yxt:t.yxt,kxt:le(t.kxt),pht:t.pht,pxt:le(t.pxt),bxt:t.bxt,Axt:le(t.Axt),Txt:le(t.Txt),Sxt:le(t.Sxt),Ext:le(t.Ext),Ixt:le(t.Ixt),Rxt:le(t.Rxt),Nxt:le(t.Nxt)}}function $o(t){switch(t.wxt){case zr.Dyt:case zr.Dxt:return function(t){return vr({},Ko(t),{wxt:t.wxt,XW:t.XW.map(function(t){return function(t){var n=Yo(t),i=(r=n._I,vr({},Jo(r),{Cxt:r.Cxt,Pxt:r.Pxt,Oxt:r.Oxt}));var r;return n.Ec(i)}(t)}),fOt:t.fOt,Bxt:t.Bxt})}(t);case zr.Cyt:return function(t){return vr({},Ko(t),{wxt:t.wxt,XW:t.XW.map(function(t){return function(t){var n=Yo(t),i=(r=n._I,vr({},Jo(r),{jT:r.jT,AS:r.AS,Lxt:r.Lxt,Ryt:r.Ryt,xxt:r.xxt}));var r;return n.Ec(i)}(t)})})}(t)}}function Ko(t){return vr({},zo(t),{XW:[],wxt:t.wxt,Mxt:t.Mxt,Fxt:t.Fxt,Uxt:t.Uxt,Hxt:t.Hxt})}function Yo(t){var n=new te;return n.Lot(t.Vxt,0,t.Xxt),n._I=t.zxt,n}function Zo(t){var n;return vr({},{R2:(n=t).R2,Sht:le(n.Sht)},{Eht:le(t.Eht),Iht:le(t.Iht)})}function Jo(t){return vr({},Zo(t))}!function(t){t.Cyt="rHt",t.Tm="eHt",t.sHt="uHt",t.oHt="hHt",t.aHt="cHt"}(xo||(xo={})),function(t){t.fHt="vHt",t.dHt="lHt"}(Lo||(Lo={})),function(t){t._Ht="audio/mp4",t.gHt="audio/mpeg",t.wHt="video/mp4"}(Uo||(Uo={}));var Qo=t;function ts(t,n,i){n={},i||(i="PIW0031"),Qo.postMessage({eVt:"cVt",sVt:t,oVt:n.message||i,av:n.name,lv:n.stack,dv:JSON.stringify(n)})}function ns(t,n){return{uo:Vo(t),Ll:n}}Qo.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.LHt,s=u.UHt,f=u.MHt,c=[],h=s===Lo.fHt?function(t,n,i){return t.push(n.buffer),{uo:n,Ll:i}}.bind(void 0,c):ns;if("xHt"===o){r=function(t){return{audio:t.audio?$o(t.audio):void 0,video:t.video?(i=t.video,r=zo(i),vr({},r,{wxt:i.wxt,XW:i.XW.map(function(t){return function(t){var n,i=Yo(t),r=vr({},Zo(n=i._I),{Gm:n.Gm,Rht:le(n.Rht),Nht:n.Nht,Dht:n.Dht,qxt:n.qxt&&le(n.qxt),Gxt:n.Gxt&&le(n.Gxt),Cht:n.Cht,Bht:n.Bht,Pht:n.Pht,Oht:n.Oht});return i.Ec(r)}(t)}),Wxt:i.Wxt,jxt:i.jxt,cE:i.cE,width:i.width,height:i.height,Wft:i.Wft,Yxt:i.Yxt,Yft:i.Yft,sOt:i.sOt,uOt:i.uOt,bE:i.bE,AE:i.AE})):void 0,fxt:t.fxt?(n=t.fxt,{vxt:n.vxt,FOt:n.FOt,Kw:n.Kw,Wmt:n.Wmt,dxt:n.dxt,lxt:n.lxt,_xt:n._xt.map(Ho),nm:[]}):void 0,Pht:t.Pht?t.Pht.map(Xo):t.Pht,gxt:le(t.gxt)};var n,i,r}(u.VHt),u.VHt=void 0;try{if((e=u.FHt)===xo.aHt||e===xo.oHt||e===xo.sHt)n=function(t,n){var i=t.HHt,r=t.XHt,e=le(t.qHt),u=le(t.GHt),o=t.zHt&&le(t.zHt);switch(t.FHt){case xo.sHt:var s=new jo(i);return xe(n,r,e,u,s),s;case xo.oHt:var f=new jo(i);return Me(n,o,f),f;case xo.aHt:var c={xRt:new jo(i),gVt:new jo(i),gA:function(t){return{xRt:c.xRt.gA(t),gVt:c.gVt.gA(t)}}};return Me(n,o,c.xRt),xe(n,r,e,u,c.gVt),c}}(u,r);else{if(!function(t){var n=t.FHt;return n===xo.Tm||n===xo.Cyt}(u))return ts(f,{},"PIW0072");n=function(t,n){var i=t.HHt;switch(t.FHt){case xo.Cyt:var r=new jo(i);return Po.iv(n,r),r;case xo.Tm:var e=new jo(i);return Be(n,e),e}}(u,r)}}catch(t){return ts(f,t,"PIW0082")}try{i=n.gA(h)}catch(t){return ts(f,t,"PIW0077")}try{return Mo({eVt:"hVt",sVt:f,uVt:i},c)}catch(t){return ts(f,t,"PIW0078")}}return ts(f,{},"PIW0090")},!1),Qo.postMessage({YLt:"3.2.1"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
|
|
31
|
+
!function(t){!function(){"use strict";var n,r=t.window,i=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,f=t.setInterval,s=t.clearInterval,c=t.Error,a=t.TypeError,h=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,w=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function y(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 p(t,n,r){return n&&y(t.prototype,n),r&&y(t,r),t}function g(t,n){return(g=h.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t,n){t.prototype=h.create(n.prototype),t.prototype.constructor=t,g(t,n)}!function(t){t.l="web",t.g="android",t.R="android-tv",t.N="ios",t.M="tvos",t.F="chromecast"}(n||(n={}));var I=e?e.userAgent:"",k=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),b=I.match(/Android ([0-9\.]+)/i),E=I.match(/Windows NT ([0-9\.]+)/i),T=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),N=I.match(/Firefox\/([0-9\.]+)/i),R=I.match(/OPR\/(\d+\.\d+)/i),O=I.match(/Tizen ([0-9\.]+)/i),A=function(){function r(){this.U=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.G=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.q=/Windows NT/i.test(I),this.Y=E?_(E[1]):0,this.j=/Android/i.test(I),this.K=b?_(b[1]):0,this.Z=/windows phone (8|8\.1)/i.test(I),this.J=/iPhone/i.test(I),this.nt=/iPad/i.test(I),this.ut=this.G&&this.U&&!this.nt,this.ot=/iPod/i.test(I),this.ct=/Mobile Safari/i.test(I),this.ft=/EOSSTB/i.test(I),this.vt=(this.J||this.nt||this.ut||this.ot)&&!this.Z,this.dt=this.Z||this.vt||this.j||this.ct,this._t=/CriOS/i.test(I),this.wt=Boolean(t.chrome&&/google/i.test(e.vendor))||this._t,this.yt=this.wt&&/Edg\//i.test(e.userAgent),this.kt=S?l(S[1],10):0,this.bt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.At=k?l(k[1],10):0,this.Tt=/SMART-TV.*Tizen/i.test(I),this.St=O?_(O[1]):0,this.Et=/webos|web0s/i.test(I),this.It=/Edge\/\d+/i.test(I),this.Rt=/Trident/i.test(I),this.Nt=this.Rt&&!t.ActiveXObject&&"ActiveXObject"in t,this.Dt=/Vivaldi/i.test(I),this.Ct=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Pt=N?_(N[1]):0,this.Ot=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.Z&&!this.Tt,this.Bt=T?_(T[2]):0,this.Lt=Boolean(R),this.xt=R?_(R[1]):0,this.Mt=/CrKey/.test(I),this.Ft=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Ut="web"===n.R,this.Ht="web"===n.g,this.Vt=this.Ht||this.Ut,this.Xt="web"===n.N,this.zt="web"===n.M,this.Gt="web"===n.F}return p(r,[{key:"qt",get:function(){return this.U}},{key:"Wt",get:function(){return this.G}},{key:"Yt",get:function(){return this.q}},{key:"Qt",get:function(){return this.Y}},{key:"jt",get:function(){return this.j}},{key:"Kt",get:function(){return this.K}},{key:"Zt",get:function(){return this.Z}},{key:"Jt",get:function(){return this.J}},{key:"$t",get:function(){return this.nt}},{key:"in",get:function(){return this.ut}},{key:"un",get:function(){return this.ot}},{key:"hn",get:function(){return this.vt}},{key:"cn",get:function(){return this.ft}},{key:"fn",get:function(){return this.ct}},{key:"vn",get:function(){return this.dt}},{key:"dn",get:function(){return this._t}},{key:"_n",get:function(){return this.wt}},{key:"wn",get:function(){return this.At}},{key:"yn",get:function(){return this.yt}},{key:"pn",get:function(){return this.kt}},{key:"An",get:function(){return this.Tt}},{key:"Tn",get:function(){return this.St}},{key:"Sn",get:function(){return this.Et}},{key:"En",get:function(){return this.It}},{key:"In",get:function(){return this.Rt}},{key:"Rn",get:function(){return this.Nt}},{key:"Nn",get:function(){return this.Dt}},{key:"Dn",get:function(){return this.Ct}},{key:"Cn",get:function(){return this.Pt}},{key:"Pn",get:function(){return this.Ot}},{key:"On",get:function(){return this.Bt}},{key:"Bn",get:function(){return this.Lt}},{key:"Ln",get:function(){return this.xt}},{key:"xn",get:function(){return this.Mt}},{key:"Mn",get:function(){return this.Ft}},{key:"Fn",get:function(){if(!(this.Sn||this.An))return!1;var t=this.wn;return void 0===t||Number(t)<56}},{key:"Un",get:function(){return this.Ut}},{key:"Hn",get:function(){return this.Ht}},{key:"Vn",get:function(){return this.Vt}},{key:"Xn",get:function(){return this.Xt}},{key:"zn",get:function(){return this.zt}},{key:"Gn",get:function(){return this.Gt}},{key:"qn",get:function(){return this.bt}}]),r}();A.Wn=new A;var D=A.Wn;var C=function(){},P=!(D.In&&!D.Rn),F=t.console;function B(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function M(t){return t.map(B).join(" ")}function x(t){var n=F&&F[t];return n?n.bind&&P?n.bind(F):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];F[t](M(r))}:void 0}var L,W=x("log")||C,U=x("warn")||W.bind(void 0,"WARNING:"),V=x("error")||W.bind(void 0,"ERROR:"),H=(L=F&&F.assert)?L.bind&&P?L.bind(F):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];F.assert(t,M(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];V.apply(void 0,["Assertion failed:"].concat(r))}},j=z,G=null;try{G=new WebAssembly.Instance(new WebAssembly.Module(new w([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 z(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function K(t){return!0===(t&&t.jn)}z.prototype.jn,h.defineProperty(z.prototype,"jn",{value:!0}),z.isLong=K;var q={},X={};function Y(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=X[t])?i:(r=Z(t,(0|t)<0?-1:0,!0),e&&(X[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=q[t])?i:(r=Z(t,t<0?-1:0,!1),e&&(q[t]=r),r)}function $(t,n){if(d(t))return n?ot:ut;if(n){if(t<0)return ot;if(t>=rt)return ht}else{if(t<=-it)return vt;if(t+1>=it)return at}return t<0?$(-t,n).neg():Z(t%nt|0,t/nt|0,n)}function Z(t,n,r){return new z(t,n,r)}z.fromInt=Y,z.fromNumber=$,z.fromBits=Z;var J=v.pow;function Q(t,n,r){if(0===t.length)throw c("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return ut;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 c("interior hyphen");if(0===i)return Q(t.substring(1),n,r).neg();for(var e=$(J(r,8)),u=ut,o=0;o<t.length;o+=8){var f=v.min(8,t.length-o),s=l(t.substring(o,o+f),r);if(f<8){var a=$(J(r,f));u=u.mul(a).add($(s))}else u=(u=u.mul(e)).add($(s))}return u.unsigned=n,u}function tt(t,n){return"number"==typeof t?$(t,n):"string"==typeof t?Q(t,n):Z(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}z.fromString=Q,z.fromValue=tt;var nt=4294967296,rt=nt*nt,it=rt/2,et=Y(1<<24),ut=Y(0);z.ZERO=ut;var ot=Y(0,!0);z.UZERO=ot;var ft=Y(1);z.ONE=ft;var st=Y(1,!0);z.UONE=st;var ct=Y(-1);z.NEG_ONE=ct;var at=Z(-1,2147483647,!1);z.MAX_VALUE=at;var ht=Z(-1,-1,!0);z.MAX_UNSIGNED_VALUE=ht;var vt=Z(0,-2147483648,!1);z.MIN_VALUE=vt;var lt=z.prototype;lt.toInt=function(){return this.unsigned?this.low>>>0:this.low},lt.toNumber=function(){return this.unsigned?(this.high>>>0)*nt+(this.low>>>0):this.high*nt+(this.low>>>0)},lt.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(vt)){var n=$(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=$(J(t,6),this.unsigned),u=this,o="";;){var f=u.div(e),s=(u.sub(f.mul(e)).toInt()>>>0).toString(t);if((u=f).isZero())return s+o;for(;s.length<6;)s="0"+s;o=""+s+o}},lt.getHighBits=function(){return this.high},lt.getHighBitsUnsigned=function(){return this.high>>>0},lt.getLowBits=function(){return this.low},lt.getLowBitsUnsigned=function(){return this.low>>>0},lt.getNumBitsAbs=function(){if(this.isNegative())return this.eq(vt)?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},lt.isZero=function(){return 0===this.high&&0===this.low},lt.eqz=lt.isZero,lt.isNegative=function(){return!this.unsigned&&this.high<0},lt.isPositive=function(){return this.unsigned||this.high>=0},lt.isOdd=function(){return 1==(1&this.low)},lt.isEven=function(){return 0==(1&this.low)},lt.equals=function(t){return K(t)||(t=tt(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},lt.eq=lt.equals,lt.notEquals=function(t){return!this.eq(t)},lt.neq=lt.notEquals,lt.ne=lt.notEquals,lt.lessThan=function(t){return this.comp(t)<0},lt.lt=lt.lessThan,lt.lessThanOrEqual=function(t){return this.comp(t)<=0},lt.lte=lt.lessThanOrEqual,lt.le=lt.lessThanOrEqual,lt.greaterThan=function(t){return this.comp(t)>0},lt.gt=lt.greaterThan,lt.greaterThanOrEqual=function(t){return this.comp(t)>=0},lt.gte=lt.greaterThanOrEqual,lt.ge=lt.greaterThanOrEqual,lt.compare=function(t){if(K(t)||(t=tt(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},lt.comp=lt.compare,lt.negate=function(){return!this.unsigned&&this.eq(vt)?vt:this.not().add(ft)},lt.neg=lt.negate,lt.add=function(t){K(t)||(t=tt(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,f=t.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&t.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,Z((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},lt.subtract=function(t){return K(t)||(t=tt(t)),this.add(t.neg())},lt.sub=lt.subtract,lt.multiply=function(t){if(this.isZero())return ut;if(K(t)||(t=tt(t)),G)return Z(G.mul(this.low,this.high,t.low,t.high),G.get_high(),this.unsigned);if(t.isZero())return ut;if(this.eq(vt))return t.isOdd()?vt:ut;if(t.eq(vt))return this.isOdd()?vt:ut;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(et)&&t.lt(et))return $(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,f=t.low>>>16,s=65535&t.low,c=0,a=0,h=0,v=0;return h+=(v+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,Z((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},lt.mul=lt.multiply,lt.divide=function(t){if(K(t)||(t=tt(t)),t.isZero())throw c("division by zero");var n,r,i;if(G)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Z((this.unsigned?G.div_u:G.div_s)(this.low,this.high,t.low,t.high),G.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?ot:ut;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return ot;if(t.gt(this.shru(1)))return st;i=ot}else{if(this.eq(vt))return t.eq(ft)||t.eq(ct)?vt:t.eq(vt)?ft:(n=this.shr(1).div(t).shl(1)).eq(ut)?t.isNegative()?ft:ct:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(vt))return this.unsigned?ot:ut;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=ut}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:J(2,e-48),o=$(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=$(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=ft),i=i.add(o),r=r.sub(f)}return i},lt.div=lt.divide,lt.modulo=function(t){return K(t)||(t=tt(t)),G?Z((this.unsigned?G.rem_u:G.rem_s)(this.low,this.high,t.low,t.high),G.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},lt.mod=lt.modulo,lt.rem=lt.modulo,lt.not=function(){return Z(~this.low,~this.high,this.unsigned)},lt.and=function(t){return K(t)||(t=tt(t)),Z(this.low&t.low,this.high&t.high,this.unsigned)},lt.or=function(t){return K(t)||(t=tt(t)),Z(this.low|t.low,this.high|t.high,this.unsigned)},lt.xor=function(t){return K(t)||(t=tt(t)),Z(this.low^t.low,this.high^t.high,this.unsigned)},lt.shiftLeft=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Z(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Z(0,this.low<<t-32,this.unsigned)},lt.shl=lt.shiftLeft,lt.shiftRight=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Z(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Z(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},lt.shr=lt.shiftRight,lt.shiftRightUnsigned=function(t){if(K(t)&&(t=t.toInt()),0===(t&=63))return this;var n=this.high;return t<32?Z(this.low>>>t|n<<32-t,n>>>t,this.unsigned):Z(32===t?n:n>>>t-32,0,this.unsigned)},lt.shru=lt.shiftRightUnsigned,lt.shr_u=lt.shiftRightUnsigned,lt.toSigned=function(){return this.unsigned?Z(this.low,this.high,!1):this},lt.toUnsigned=function(){return this.unsigned?this:Z(this.low,this.high,!0)},lt.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},lt.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]},lt.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]},z.fromBytes=function(t,n,r){return r?z.fromBytesLE(t,n):z.fromBytesBE(t,n)},z.fromBytesLE=function(t,n){return new z(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},z.fromBytesBE=function(t,n){return new z(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var _t=j,dt=v.pow(2,-52);function wt(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function yt(){return Date.now()||(new Date).getTime()}var pt;_t.fromNumber(9007199254740991);!function(t){t[t.Zn=1]="Zn",t[t.$n=2]="$n",t[t.Jn=3]="Jn",t[t.ni=4]="ni",t[t.ei=9]="ei"}(pt||(pt={}));var gt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];c.apply(this,n)};(gt.prototype=h.create(c.prototype)).constructor=gt;var mt=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,c.captureStackTrace&&c.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 m(n,t),p(n,[{key:"name",get:function(){return"BaseError"}}]),n}(gt),It=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return m(n,t),n}(mt),kt=function(){function t(){}return t.prototype.ri=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new It(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new It;return new Ot(n)},t}(),St=function(){function t(t){this.oi=void 0,this.oi=t}var n=t.prototype;return n.ai=function(t){return this.oi.isEqualNode(t.oi)},n.ci=function(n){return new t(this.oi.cloneNode(n))},p(t,[{key:"Kn",get:function(){return pt.$n}},{key:"di",get:function(){var t;return null!=(t=this.oi.localName)?t:Ct(this.oi.nodeName)}},{key:"_i",get:function(){return this.oi.nodeName}},{key:"wi",get:function(){var t;return null!=(t=this.oi.namespaceURI)?t:void 0}},{key:"gi",get:function(){var t;return null!=(t=this.oi.prefix)?t:void 0}},{key:"Ai",get:function(){return this.oi.nodeValue}}]),t}(),bt=function(){function t(t){this.Ti=void 0,this.Si=void 0,this.Ti=t}var n=t.prototype;return n.Ei=function(t){return this.Ii.filter(function(n){return At(n)&&n.Ri===t})},n.Ni=function(t,n){return this.Ii.filter(function(r){return At(r)&&r.di===n&&r.wi===t})},n.Di=function(t){this.Ti.appendChild(t.Ci),this.Si&&this.Si.push(t)},n.ai=function(t){return this.Ti.isEqualNode(t.Ci)},p(t,[{key:"Ii",get:function(){return void 0===this.Si&&(this.Si=function(t){for(var n=[],r=0;r<t.length;r++){var i=Dt(t.item(r));i&&n.push(i)}return n}(this.Ti.childNodes)),this.Si}},{key:"Pi",get:function(){return this.Ii.filter(At)}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Et=function(t){function n(n){return t.call(this,n)||this}m(n,t);var r=n.prototype;return r.Oi=function(t){if(this.Ti.hasAttribute(t))return this.Ti.getAttribute(t)},r.Bi=function(t,n){if(this.Ti.hasAttributeNS(t,n))return this.Ti.getAttributeNS(t,n)},r.Li=function(t){this.Ti.removeAttribute(t)},r.xi=function(t,n){this.Ti.removeAttributeNS(t,n)},r.Mi=function(t,n){this.Ti.setAttribute(t,n)},r.Fi=function(t,n,r){this.Ti.setAttributeNS(t,n,r)},r.ci=function(t){return new n(this.Ti.cloneNode(t))},p(n,[{key:"Kn",get:function(){return pt.Zn}},{key:"di",get:function(){var t;return null!=(t=this.Ti.localName)?t:Ct(this.Ti.nodeName)}},{key:"wi",get:function(){var t;return null!=(t=this.Ti.namespaceURI)?t:void 0}},{key:"gi",get:function(){var t;return null!=(t=this.Ti.prefix)?t:void 0}},{key:"Ri",get:function(){return this.Ti.nodeName}},{key:"Ui",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new St(t.item(r)));return n}(this.Ti.attributes)}},{key:"Hi",get:function(){return this.Ti.textContent}}]),n}(bt),Tt=function(){function t(t){this.Ti=void 0,this.Ti=t}return t.prototype.ai=function(t){return this.Vi===t.Vi},p(t,[{key:"Vi",get:function(){return this.Ti.nodeValue}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Nt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},p(n,[{key:"Kn",get:function(){return pt.Jn}}]),n}(Tt),Rt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},p(n,[{key:"Kn",get:function(){return pt.ni}}]),n}(Tt),Ot=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},p(n,[{key:"Kn",get:function(){return pt.ei}},{key:"Xi",get:function(){return new Et(this.Ti.documentElement)}}]),n}(bt);function At(t){return function(t){return t.Kn===pt.Zn}(t)}function Dt(t){switch(t.nodeType){case pt.Zn:return new Et(t);case pt.Jn:return new Nt(t);case pt.ni:return new Rt(t)}}function Ct(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Pt(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 Ft(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){Bt(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&Bt(r,null,t.length,t),t}function Bt(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<u)i[a++]=t[f++];else{if(!(s<o))break;i[a++]=t[s++]}}var Mt=/[a-zA-Z]/,xt=/[0-9]/,Lt=/[0-9a-fA-F]/,Wt=/^0x/i,Ut=/^[0-9]+$/,Vt=/^[0-9a-fA-F]+$/,Ht=/^[0-7]+$/,jt=h.prototype.toString,Gt=Array.isArray||function(t){return"[object Array]"===jt.call(t)},zt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function Kt(t){return Gt(t)?t:Array.from(t)}function qt(t){return t>=65&&t<=90}function Xt(t){return qt(t)||function(t){return t>=97&&t<=122}(t)}function Yt(t){return t>=48&&t<=57}function $t(t){return Yt(t)||Xt(t)}function Zt(t){return Yt(t)||t>=65&&t<=70||t>=97&&t<=102}function Jt(t){return qt(t)?t+32:t}function Qt(t){return Yt(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function tn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var nn=v.min,rn=String.fromCharCode,en=16384;function un(t){for(var n=t.length,r=[],i=0;i<n;i+=en){var e=nn(i+en,n);r.push(rn.apply(null,t.slice(i,e)))}return r.join("")}var on=/[^\0-\x7E]/,fn=/[\x2E\u3002\uFF0E\uFF61]/g,sn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cn=v.floor,an=String.fromCharCode;function hn(t){throw new RangeError(sn[t])}function vn(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 ln,_n,dn,wn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},yn=function(t,n,r){var i=0;for(t=r?cn(t/700):t>>1,t+=cn(t/n);t>455;i+=36)t=cn(t/35);return cn(i+36*t/(t+38))},pn=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(fn,".")).split("."),n).join(".");return i+e}(t,function(t){return on.test(t)?"xn--"+function(t){for(var n=[],r=(t=vn(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(an(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>cn((2147483647-e)/d)&&hn("overflow"),e+=(h-i)*d,i=h;for(var w=0,y=t;w<y.length;w++){var p=y[w];if(p<i&&++e>2147483647&&hn("overflow"),p==i){for(var g=e,m=36;;m+=36){var I=m<=u?1:m>=u+26?26:m-u;if(g<I)break;var k=g-I,S=36-I;n.push(an(wn(I+k%S,0))),g=cn(k/S)}n.push(an(wn(g,0))),u=yn(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function gn(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 un(n)}function mn(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function In(t,n){return t>>n&63|128}function kn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(mn(t),n.push(t>>12&15|224),n.push(In(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(In(t,12)),n.push(In(t,6))),n.push(63&t|128)):n.push(t)}function Sn(t){for(var n=[],r=0;r<t.length;r++){kn(t[r],n)}return n}function bn(){if(dn>=_n)throw new c("Invalid byte index");var t=255&ln[dn];if(dn++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function En(){var t,n;if(dn>_n)throw new c("Invalid byte index");if(dn===_n)return!1;if(t=255&ln[dn],dn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|bn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|bn()<<6|bn())>=2048)return mn(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|bn()<<12|bn()<<6|bn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Tn(t){return[37,tn(t>>4),tn(15&t)]}function Nn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Rn(t){return Nn(t)||32===t||34===t||60===t||62===t||96===t}function On(t){return Rn(t)||35===t||63===t||123===t||125===t}function An(t){return On(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Dn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Cn(t){return Dn(t)||39===t}function Pn(t,n){if(!n(t))return[t];for(var r=Sn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Tn(u))}return i}function Fn(t,n){for(var r=[],i=0,e=vn(t);i<e.length;i++){var u=e[i];r.push.apply(r,Pn(u,n))}return gn(r)}function Bn(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&&Zt(t[i+1])&&Zt(t[i+2])){var u=Qt(t[i+1])<<4|Qt(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Sn(t))}function Mn(t){return gn(function(t){ln=t.slice(),_n=ln.length,dn=0;for(var n,r=[];!1!==(n=En());)r.push(n);return r}(Bn(vn(t))))}function xn(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],f=0,s=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new a;c+=2,s=f+=1}for(;c<u;){if(8===f)throw new a("Too many groups");if(":"!==t[c]){for(var h=0,v=0;v<4&&c<u&&Lt.test(t[c]);)h=h<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new a;if(c-=v,f>6)throw new a;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new a;c+=1}if(!xt.test(t[c]))throw new a;for(;c<u&&xt.test(t[c]);){var w=l(t[c],10);if(null===d)d=w;else{if(0===d)throw new a;if((d=10*d+w)>255)throw new a}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new a;break}if(":"===t[c]){if((c+=1)===u)throw new a}else if(c<u)throw new a;o[f]=h,f+=1}else{if(null!==s)throw new a("Too many :: groups");c+=1,s=f+=1}}if(null!==s){var y=f-s;for(f=7;0!==f&&y>0;)i=s+y-1,e=void 0,e=(n=o)[r=f],n[r]=n[i],n[i]=e,f-=1,y-=1}else if(8!==f)throw new a;return o}function Ln(t){var n=10,r=Ut;return Wt.test(t)?(t=t.slice(2),n=16,r=Vt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=Ht),""===t?0:r.test(t)?l(t,n):void 0}var Wn={zi:4},Un=/[\0\t\n\r #%/:?@\[\\\]]/,Vn=/[\0\t\n\r #/:?@\[\\\]]/;function Hn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new a("Invalid IPv6 address");return{zi:2,Gi:xn(t.slice(1,-1))}}if(!n)return function(t){if(Vn.test(t))throw new a("Invalid code point in opaque host");var n=Fn(t,Nn);return""===n?Wn:{zi:3,qi:n}}(t);var r=function(t){return function(t){return pn(t.toLowerCase())}(t)}(Mn(t));if(Un.test(r))throw new a("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=Ln(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new a;if(r[r.length-1]>=v.pow(256,5-r.length))throw new a;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*v.pow(256,3-s);return f}}(r);return void 0!==i?{zi:1,Gi:i}:""===r?Wn:{zi:0,Wi:r}}function jn(t){switch(t.zi){case 0:return t.Wi;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.Gi);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.Gi)+"]";case 3:return t.qi;case 4:return""}}var Gn=/\+/g;function zn(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,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(Gn," "),f=f.replace(Gn," ");var s=Mn(o),c=Mn(f);r.push([s,c])}}return r}function Kn(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=qn(Sn(vn(i[0])))+"="+qn(Sn(vn(i[1])))}return n}function qn(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||$t(n)?r.push(e):r.push.apply(r,Tn(e))}return un(r)}var Xn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Yn(t){var n=""+t,r=Xn.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Zn(u))if(Jn(u)||e===r-1)i.push($n);else{var o=t.charCodeAt(e+1);Jn(o)?(i.push(u,o),e++):i.push($n)}else i.push(u)}return t.slice(0,n)+un(i)}(n,r.index):n}var $n=65533,Zn=function(t){return 55296==(63488&t)},Jn=function(t){return 0!=(1024&t)};function Qn(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function tr(t){t.Yi.length=0}function nr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Yi,zn(n))}function rr(t){if(t.Qi){var n=Kn(t.Yi);""===n&&(n=null),t.Qi.Qi.ji=n}}function ir(t){return t instanceof er&&(!!Gt(t.Yi)&&(!zt||t[Symbol.iterator]===ur))}var er=function(){function t(t){if(void 0===t&&(t=void 0),this.Qi=null,null==t)this.Yi=[];else if("object"==typeof t||"function"==typeof t)if(ir(t))this.Yi=t.Yi.slice();else if(null!=(u=t)&&(Gt(u)||zt&&"function"==typeof u[Symbol.iterator])){this.Yi=[];for(var n=0,r=Kt(t);n<r.length;n++){var i=Kt(r[n]);if(2!==i.length)throw new a("Invalid name-value pair");this.Yi.push([Yn(i[0]),Yn(i[1])])}}else for(var e in this.Yi=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.Yi.push([Yn(e),Yn(t[e])]);else(t=Yn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Yi=zn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Yn(t),n=Yn(n),this.Yi.push([t,n]),rr(this)},n.delete=function(t){t=Yn(t);for(var n=this.Yi,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}rr(this)},n.get=function(t){t=Yn(t);for(var n=this.Yi,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=Yn(t);for(var n=this.Yi,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=Yn(t);for(var n=this.Yi,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=Yn(t),n=Yn(n);for(var r=this.Yi,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]),rr(this)},n.sort=function(){Ft(this.Yi,Qn),rr(this)},n.toString=function(){return Kn(this.Yi)},n.entries=function(){return new cr(this.Yi,or)},n.keys=function(){return new cr(this.Yi,fr)},n.values=function(){return new cr(this.Yi,sr)},n.forEach=function(t){var n=this;this.Yi.forEach(function(r){return t(r[1],r[0],n)})},t}(),ur=er.prototype.entries;zt&&(er.prototype[Symbol.iterator]=ur);var or=function(t){return[t[0],t[1]]},fr=function(t){return t[0]},sr=function(t){return t[1]},cr=function(){function t(t,n){this.Ki=0,this.Yi=t,this.Zi=n}return t.prototype.next=function(){return this.Ki<this.Yi.length?{done:!1,value:this.Zi(this.Yi[this.Ki++])}:{done:!0,value:void 0}},t}(),ar="null";var hr=h.create(null);hr.ftp=21,hr.file=0,hr.gopher=70,hr.http=80,hr.https=443,hr.ws=80,hr.wss=443;var vr=/^(?:\.|%2e)$/i,lr=/^(?:\.|%2e){2}$/i;function _r(t){return vr.test(t)}function dr(t){return lr.test(t)}function wr(t){return void 0!==hr[t]}function yr(t){return wr(t.Ji)}function pr(t){return""!==t.$i||""!==t.re}function gr(t){var n=t.length;if(!(n>=2))return!1;if(!Ir(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 mr(t){return 2===t.length&&Mt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Ir(t){return 2===t.length&&mr(un(t))}function kr(t){return mr(t)&&":"===t[1]}function Sr(t){var n=t.ue;0!==n.length&&("file"===t.Ji&&1===n.length&&kr(n[0])||n.pop())}function br(t){return null===t.oe||Wn===t.oe||t.fe||"file"===t.Ji}var Er=-1,Tr=/\t|\n|\r/g,Nr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Rr(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Ar,t=t.replace(Nr,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=vn(t=t.replace(Tr,"")),h=c.length,v=0;v<=h;){var _=v<h?c[v]:Er;switch(e){case 0:if(!Xt(_)){if(null===i){u.length=0,e=2;continue}throw new a("Invalid scheme")}u.push(Jt(_)),e=1;break;case 1:if($t(_)||43===_||45===_||46===_)u.push(Jt(_));else{if(58!==_){if(null===i){u.length=0,e=2,v=0;continue}throw new a("Invalid scheme")}var d=gn(u);if(null!==i){if(wr(r.Ji)&&!wr(d))return;if(!wr(r.Ji)&&wr(d))return;if((pr(r)||null!==r._e)&&"file"===d)return;if("file"===r.Ji&&(r.oe===Wn||null===r.oe))return}if(r.Ji=d,null!==i)return void(yr(r)&&r._e===hr[r.Ji]&&(r._e=null));u.length=0,"file"===r.Ji?e=13:yr(r)&&n&&n.Ji===r.Ji?e=3:yr(r)?e=7:47===c[v+1]?(e=4,v+=1):(r.fe=!0,r.ue.push(""),e=18)}break;case 2:if(!n||n.fe&&35!==_)throw new a("Invalid scheme");n.fe&&35===_?(r.Ji=n.Ji,r.ue=n.ue.slice(),r.ji=n.ji,r.we="",r.fe=!0,e=20):"file"!==n.Ji?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:r.Ji=n.Ji,Er===_?(r.$i=n.$i,r.re=n.re,r.oe=n.oe,r._e=n._e,r.ue=n.ue.slice(),r.ji=n.ji):47===_?e=6:63===_?(r.$i=n.$i,r.re=n.re,r.oe=n.oe,r._e=n._e,r.ue=n.ue.slice(),r.ji="",e=19):35===_?(r.$i=n.$i,r.re=n.re,r.oe=n.oe,r._e=n._e,r.ue=n.ue.slice(),r.ji=n.ji,r.we="",e=20):92===_&&yr(r)?e=6:(r.$i=n.$i,r.re=n.re,r.oe=n.oe,r._e=n._e,r.ue=n.ue.slice(),r.ue.pop(),e=17,v-=1);break;case 6:!yr(r)||47!==_&&92!==_?47===_?e=9:(r.$i=n.$i,r.re=n.re,r.oe=n.oe,r._e=n._e,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==c[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 w=0;w<u.length;w++){var y=u[w];if(58!==y||s){var p=gn(Pn(y,An));s?r.re+=p:r.$i+=p}else s=!0}u.length=0}else if(Er===_||47===_||63===_||35===_||yr(r)&&92===_){if(o&&0===u.length)throw new a("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.Ji)v-=1,e=15;else if(58!==_||f)if(Er===_||47===_||63===_||35===_||yr(r)&&92===_){if(v-=1,yr(r)&&0===u.length)throw new a("Invalid host");if(null!==i&&0===u.length&&(pr(r)||null!==r._e))return;var g=Hn(gn(u),yr(r));if(r.oe=g,u.length=0,e=16,null!==i)return}else 91===_?f=!0:93===_&&(f=!1),u.push(_);else{if(0===u.length)throw new a("Invalid host");var m=Hn(gn(u),yr(r));if(r.oe=m,u.length=0,e=12,11===i)return}break;case 12:if(Yt(_))u.push(_);else{if(!(Er===_||47===_||63===_||35===_||yr(r)&&92===_||null!==i))throw new a("Invalid port");if(0!==u.length){var I=l(gn(u),10);if(I>65535)throw new a("Invalid port");r._e=I===hr[r.Ji]?null:I,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.Ji="file",47===_||92===_?e=14:n&&"file"===n.Ji?Er===_?(r.oe=n.oe,r.ue=n.ue.slice(),r.ji=n.ji):63===_?(r.oe=n.oe,r.ue=n.ue.slice(),r.ji="",e=19):35===_?(r.oe=n.oe,r.ue=n.ue.slice(),r.ji=n.ji,r.we="",e=20):(gr(c.slice(v))||(r.oe=n.oe,r.ue=n.ue.slice(),Sr(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Ji&&!gr(c.slice(v))&&(kr(n.ue[0])?r.ue.push(n.ue[0]):r.oe=n.oe),e=17,v-=1);break;case 15:if(Er===_||47===_||92===_||63===_||35===_)if(v-=1,null===i&&Ir(u))e=17;else if(0===u.length){if(r.oe=Wn,null!==i)return;e=16}else{var k=Hn(gn(u),yr(r));if(0===k.zi&&"localhost"===k.Wi&&(k=Wn),r.oe=k,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:yr(r)?(e=17,47!==_&&92!==_&&(v-=1)):null===i&&63===_?(r.ji="",e=19):null===i&&35===_?(r.we="",e=20):Er!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Er===_||47===_||yr(r)&&92===_||null===i&&(63===_||35===_)){var S=gn(u);if(dr(S)?(Sr(r),47===_||yr(r)&&92===_||r.ue.push("")):!_r(S)||47===_||yr(r)&&92===_?_r(S)||("file"===r.Ji&&0===r.ue.length&&Ir(u)&&(Wn!==r.oe&&null!==r.oe&&(r.oe=Wn),u[1]=58,S=gn(u)),r.ue.push(S)):r.ue.push(""),u.length=0,"file"===r.Ji&&(Er===_||63===_||35===_))for(;r.ue.length>1&&""===r.ue[0];)r.ue.shift();63===_?(r.ji="",e=19):35===_&&(r.we="",e=20)}else u.push.apply(u,Pn(_,On));break;case 18:63===_?(r.ji="",e=19):35===_?(r.we="",e=20):Er!==_&&(r.ue[0]+=gn(Pn(_,Nn)));break;case 19:null===i&&35===_?(r.we="",e=20):Er!==_&&(r.ji+=gn(Pn(_,yr(r)?Cn:Dn)));break;case 20:Er===_||0===_||(r.we+=gn(Pn(_,Rn)))}v++}return r}function Or(t,n,r,i){try{Rr(t,n,r,i)}catch(t){}}var Ar=function(){this.Ji="",this.$i="",this.re="",this.oe=null,this._e=null,this.ue=[],this.ji=null,this.we=null,this.fe=!1};function Dr(t){switch(t.Ji){case"blob":var n;try{n=Rr(t.ue[0],null)}catch(t){return ar}return Dr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.Ji,i=t.oe,e=t._e,r+"://"+jn(i)+(null===e?"":":"+e);case"file":default:return ar}var r,i,e}function Cr(t){return null!=t&&(t instanceof Pr&&"object"==typeof t.Qi)}var Pr=function(){function t(t,n){var r,i=null;if(null!=n)if(Cr(n))i=n.Qi;else try{i=Rr(String(n),null)}catch(t){throw new a("Invalid base URL: "+t.message)}try{r=Rr(String(t),i)}catch(t){throw new a("Invalid URL: "+t.message)}var e=r.ji;this.Qi=r,this.ji=function(t){var n=new er;return null!==t&&nr(n,t),n}(e),this.ji.Qi=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.Ji+":";if(null!==t.oe?(r+="//",pr(t)&&(r+=t.$i,""!==t.re&&(r+=":"+t.re),r+="@"),r+=jn(t.oe),null!==t._e&&(r+=":"+t._e)):null===t.oe&&"file"===t.Ji&&(r+="//"),t.fe)r+=t.ue[0];else for(var i=0,e=t.ue;i<e.length;i++)r+="/"+e[i];return null!==t.ji&&(r+="?"+t.ji),n||null===t.we||(r+="#"+t.we),r}(this.Qi)},set:function(t){var n;try{n=Rr(String(t),null)}catch(t){throw new a("Invalid URL: "+t.message)}this.Qi=n,tr(this.ji);var r=this.Qi.ji;null!==r&&nr(this.ji,r)}},{key:"origin",get:function(){return Dr(this.Qi)}},{key:"protocol",get:function(){return this.Qi.Ji+":"},set:function(t){Or(t+":",null,this.Qi,0)}},{key:"username",get:function(){return this.Qi.$i},set:function(t){br(this.Qi)||(this.Qi.$i=Fn(t,An))}},{key:"password",get:function(){return this.Qi.re},set:function(t){br(this.Qi)||(this.Qi.re=Fn(t,An))}},{key:"host",get:function(){var t=this.Qi,n=t.oe;if(null===n)return"";var r=t._e,i=jn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Qi.fe||Or(t,null,this.Qi,10)}},{key:"hostname",get:function(){var t=this.Qi.oe;return null===t?"":jn(t)},set:function(t){this.Qi.fe||Or(t,null,this.Qi,11)}},{key:"port",get:function(){var t=this.Qi._e;return null===t?"":""+t},set:function(t){br(this.Qi)||(""===t?this.Qi._e=null:Or(t,null,this.Qi,12))}},{key:"pathname",get:function(){var t=this.Qi.ue;return this.Qi.fe?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Qi.fe||(this.Qi.ue.length=0,Or(t,null,this.Qi,16))}},{key:"search",get:function(){var t=this.Qi.ji;return null===t||""===t?"":"?"+t},set:function(t){t=Yn(t);var n=this.Qi;if(""===t)return n.ji=null,void tr(this.ji);"?"===t[0]&&(t=t.slice(1)),n.ji="",Or(t,null,n,19),nr(this.ji,t)}},{key:"searchParams",get:function(){return this.ji}},{key:"hash",get:function(){var t=this.Qi.we;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Qi.we="",Or(t,null,this.Qi,20)):this.Qi.we=null}}])&&Pt(n.prototype,r),i&&Pt(n,i),t}();function Fr(t){return t.document&&t.document.baseURI||t.location.href||""}var Br=u;function Mr(t){return Boolean(t&&void 0!==t.length)}function xr(){}function Lr(t){if(!(this instanceof Lr))throw new a("Promises must be constructed via new");if("function"!=typeof t)throw new a("not a function");this.me=0,this.ye=!1,this.ke=void 0,this.pe=[],Gr(t,this)}function Wr(t,n){for(;3===t.me;)t=t.ke;0!==t.me?(t.ye=!0,Lr.Ae(function(){var r=1===t.me?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.ke)}catch(t){return void Vr(n.promise,t)}Ur(n.promise,i)}else(1===t.me?Ur:Vr)(n.promise,t.ke)})):t.pe.push(n)}function Ur(t,n){try{if(n===t)throw new a("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if(n instanceof Lr)return t.me=3,t.ke=n,void Hr(t);if("function"==typeof r)return void Gr((i=r,e=n,function(){i.apply(e,arguments)}),t)}t.me=1,t.ke=n,Hr(t)}catch(n){Vr(t,n)}var i,e}function Vr(t,n){t.me=2,t.ke=n,Hr(t)}function Hr(t){2===t.me&&0===t.pe.length&&Lr.Ae(function(){t.ye||Lr.Te(t.ke)});for(var n=0,r=t.pe.length;n<r;n++)Wr(t,t.pe[n]);t.pe=null}function jr(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function Gr(t,n){var r=!1;try{t(function(t){r||(r=!0,Ur(n,t))},function(t){r||(r=!0,Vr(n,t))})}catch(t){if(r)return;r=!0,Vr(n,t)}}Lr.prototype.catch=function(t){return this.then(null,t)},Lr.prototype.then=function(t,n){var r=new this.constructor(xr);return Wr(this,new jr(t,n,r)),r},Lr.prototype.finally=function(t){var n=this.constructor;return this.then(function(r){return n.resolve(t()).then(function(){return r})},function(r){return n.resolve(t()).then(function(){return n.reject(r)})})},Lr.all=function(t){return new Lr(function(n,r){if(!Mr(t))return r(new a("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},r)}i[t]=o,0==--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])})},Lr.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new a(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,r){if(r&&("object"==typeof r||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,function(n){u(t,n)},function(r){i[t]={status:"rejected",reason:r},0==--e&&n(i)})}i[t]={status:"fulfilled",value:r},0==--e&&n(i)}for(var o=0;o<i.length;o++)u(o,i[o])})},Lr.resolve=function(t){return t&&"object"==typeof t&&t.constructor===Lr?t:new Lr(function(n){n(t)})},Lr.reject=function(t){return new Lr(function(n,r){r(t)})},Lr.race=function(t){return new Lr(function(n,r){if(!Mr(t))return r(new a("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)Lr.resolve(t[i]).then(n,r)})},Lr.Ae="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Br(t,0)},Lr.Te=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var zr=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),Kr=e?e.userAgent:"",qr=Kr.match(/Firefox\/([0-9]+)/i),Xr=null!=qr,Yr=qr?Number(qr[1]):0,$r=Kr.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Zr=null!=$r,Jr=$r?Number($r[3]):0,Qr=function(){function t(t){this.Se=0,this.Ee=0,this.qi=[],this.Ie=t}return t.prototype.Re=function(t){var n=this.length();this.Ne(n+1);var r=this.Ee+n&this.Ie-1;this.qi[r]=t,this.Se=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Ie<n)this.Re(t);else{var r=this.Ee+n-1,i=this.Ie-1;this.qi[r&i]=t,this.Se=n}},t.prototype.shift=function(){var t=this.Ee,n=this.qi[t];return this.qi[t]=void 0,this.Ee=t+1&this.Ie-1,this.Se--,n},t.prototype.length=function(){return this.Se},t.prototype.Ne=function(t){this.Ie<t&&this.De(this.Ie<<1)},t.prototype.De=function(t){var n=this.Ie;this.Ie=t;var r=this.Ee+this.Se&n-1;!function(t,n,r,i){for(var e=0;e<i;++e)t[e+r]=t[e+n],t[e+n]=void 0}(this.qi,0,n,r)},t}();var ti="unhandledrejection",ni=t.PromiseRejectionEvent,ri=t.CustomEvent;function ii(t){return new ni(ti,{reason:t,promise:zr.reject(t).catch(function(){}),cancelable:!0})}function ei(t){var n=new ri(ti,{detail:{reason:t},cancelable:!0});return h.defineProperty(n,"reason",{value:t}),n}function ui(t){var n=i.createEvent("CustomEvent");return n.initCustomEvent(ti,!1,!0,{reason:t}),n}var oi,fi,si,ci,ai,hi,vi,li=function(t){return(li=function(){try{var t=zr.resolve(),n=new ni(ti,{reason:"error",promise:t});return ti===n.type&&"error"===n.reason}catch(t){}return!1}()?ii:function(){try{var t=new ri(ti,{detail:{reason:"error"}});return ti===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?ei:ui)(t)};if(zr&&!(Xr&&Yr<60||Zr&&Jr<15))fi=zr,function(){};else{fi=Lr;var _i=null!==(oi=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var r=zr;if(r&&"function"==typeof r.resolve){var i=r.resolve();return function(t){return i.then(t)}}}())&&void 0!==oi?oi:Lr.Ae,di=(si=_i,ci=new Qr(16),ai=!1,{Ce:function(t){ci.push(t),ai||(ai=!0,si(hi))},Pe:hi=function(){for(;ci.length()>0;)ci.shift()();ai=!1}});di.Pe,Lr.Ae=di.Ce,Lr.Te=function(n){try{var r=li(n);if(!t.dispatchEvent(r)||r.defaultPrevented)return}catch(t){}u(function(){throw new c("Unhandled promise rejection: ".concat(n))},0)}}function wi(){return void 0!==i?i.createElement("video"):void 0}var yi=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),pi=(vi||(vi=wi()),vi),gi=!(!pi||!pi.webkitShowPlaybackTargetPicker),mi=function(){function t(){this.Oe=void 0,this.Be=!1,this.qt=yi,this.vn=!1,this.Le=!0,this.xe=!0}var n=t.prototype;return n.Me=function(){return 0},n.Fe=function(t,n){return!0},n.Ue=function(t){return t>=1/6*2},p(t,[{key:"He",get:function(){return void 0===this.Oe&&(this.Oe=this.Me()),this.Oe}},{key:"Ve",get:function(){return r.devicePixelRatio||1}},{key:"Xe",get:function(){return gi}},{key:"ze",get:function(){return!1}},{key:"Ge",get:function(){return!0}},{key:"qe",get:function(){return D.Wt||D.hn}},{key:"We",get:function(){return!0}},{key:"Ye",get:function(){return!0}},{key:"Qe",get:function(){}},{key:"je",get:function(){return!0}}]),t}(),Ii=function(){var t=wi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(D.in)return!1;var t=wi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var ki=function(t){function n(n){var r;return(r=t.call(this)||this).Ke=void 0,r.Ke=n,r.Ke&&(r.Be=r.Ke.Be,r.qt=r.Ke.qt,r.Le=Ii&&r.Ke.Le),r}m(n,t);var r=n.prototype;return r.Me=function(){return this.Ke?this.Ke.He:t.prototype.Me.call(this)},r.Fe=function(n,r){return this.Ke?this.Ke.Fe(n,r):t.prototype.Fe.call(this,n,r)},r.Ue=function(n){return this.Ke?this.Ke.Ue(n):t.prototype.Ue.call(this,n)},p(n,[{key:"Qe",get:function(){var t;return null==(t=this.Ke)?void 0:t.Qe}},{key:"je",get:function(){var t,n;return null==(t=null==(n=this.Ke)?void 0:n.je)||t}}]),n}(mi),Si=function(t){function n(n){var r;return(r=t.call(this,n)||this).Be=!0,r.vn=!0,r}return m(n,t),n}(ki),bi=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Me=function(){if(!(void 0).MediaSource)return 1},n}(Si),Ei=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Fe=function(n,r){return t.prototype.Fe.call(this,n,r)},p(n,[{key:"ze",get:function(){return D.Tn<3}},{key:"Ge",get:function(){return D.Tn>=3}}]),n}(ki),Ti=function(t){function n(){return t.call(this)||this}return m(n,t),n}(mi),Ni=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Fe=function(t,n){if(t&&t.Ze&&n&&n.Ze){var r=Ri(t.Ze,"mp4a.40.2")&&Ri(n.Ze,"mp4a.40.5"),i=Ri(t.Ze,"mp4a.40.5")&&Ri(n.Ze,"mp4a.40.2"),e=Ri(t.Ze,"mp4a.40.2")&&Ri(n.Ze,"mp4a.40.34"),u=Ri(t.Ze,"mp4a.40.34")&&Ri(n.Ze,"mp4a.40.2"),o=Ri(t.Ze,"mp4a.40.5")&&Ri(n.Ze,"mp4a.40.34"),f=Ri(t.Ze,"mp4a.40.34")&&Ri(n.Ze,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},p(n,[{key:"Qe",get:function(){if(D.Wt)return 4096}}]),n}(Ti);function Ri(t,n){return t.indexOf(n)>-1}var Oi=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Ue=function(t){return t>=2},n}(Ti),Ai=function(t){function n(){var n;return(n=t.call(this)||this).Be=D.On>=11,n.Le=D.Pn&&!(D.hn&&D.On<10),n}return m(n,t),n}(Ti),Di=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"We",get:function(){return!1}}]),n}(ki),Ci=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"je",get:function(){return!D.Yt||!!D.yn&&92!==D.pn}}]),n}(Ti),Pi=function(){function n(){var n;this.Je=void 0,this.$e=new kt,this.ir=new Fi,this.rr=(n=function(){if(D.Dn)return new Ni;if(D.En||D.In)return new Oi;if(D.Pn)return new Ai;if(D._n)return new Ci;return new Ti}(),D.hn?new bi(n):D.vn?new Si(n):D.An?new Ei(n):D.Sn?new Di(n):new ki(n)),this.dr=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.Je=function(){return t.performance.now()}:this.Je=yt}var r=n.prototype;return r._r=function(){W.apply(void 0,arguments)},r.wr=function(){U.apply(void 0,arguments)},r.gr=function(){V.apply(void 0,arguments)},r.yr=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];H.apply(void 0,[t].concat(r))},r.Qn=function(t,n){return u(t,n)},r.pr=function(t,n){return f(t,n)},r.Yn=function(t){o(t)},r.Ar=function(t){s(t)},r.ri=function(t){return this.$e.ri(t)},r.Tr=function(){return this.Sr.Tr()},r.Er=function(){return this.Sr.Er()},r.Ir=function(){return this.Sr.Ir()},r.Rr=function(){return this.Sr.Rr()},r.Nr=function(){return this.Sr.Nr()},r.Dr=function(t,n){return this.Sr.Dr(t,n)},r.Cr=function(t){return this.Sr.Cr(t)},r.Pr=function(t,n){var r;return void 0===n&&(n=Fr(void 0)),r="object"!=typeof n||n instanceof Pr?n:n.href,new Pr(t,r)},r.Or=function(n,r){if(void 0===r&&(r=Fr(void 0)),this.dr){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.Pr(n,r).href},p(n,[{key:"Br",get:function(){return this.ir}},{key:"Lr",get:function(){return this.rr}},{key:"xr",get:function(){return{Mr:e&&e.userAgent.match(/Android /i)?"Android":"other",Fr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Ur",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Hr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Fi=function(){function t(){}return p(t,[{key:"Vr",get:function(){return e.oscpu}},{key:"Lr",get:function(){return e.platform}},{key:"Xr",get:function(){return e.vendor}},{key:"zr",get:function(){return e.vendorSub}}]),t}();var Bi=function(t,n,r){return t(r={path:n,exports:{},require:function(t,n){return function(){throw new c("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&r.path)}},r.exports),r.exports}(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",f=e.toStringTag||"@@toStringTag";function s(t,n,r,i){var e=n&&n.prototype instanceof g?n:g,u=h.create(e.prototype),o=new D(i||[]);return u.Gr=function(t,n,r){var i=l;return function(e,u){if(i===w)throw new c("Generator is already running");if(i===y){if("throw"===e)throw u;return P()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var f=R(o,r);if(f){if(f===p)continue;return f}}if("next"===r.method)r.sent=r.qr=r.arg;else if("throw"===r.method){if(i===l)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=w;var s=v(t,n,r);if("normal"===s.type){if(i=r.done?y:_,s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=y,r.method="throw",r.arg=s.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=s;var l="suspendedStart",_="suspendedYield",w="executing",y="completed",p={};function g(){}function m(){}function I(){}var k={};k[u]=function(){return this};var S=h.getPrototypeOf,b=S&&S(S(C([])));b&&b!==r&&i.call(b,u)&&(k=b);var E=I.prototype=g.prototype=h.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Gr(n,t)}})}function N(t){var n;this.Gr=function(r,e){function u(){return new fi(function(n,u){!function n(r,e,u,o){var f=v(t[r],t,e);if("throw"!==f.type){var s=f.arg,c=s.value;return c&&"object"==typeof c&&i.call(c,"Wr")?fi.resolve(c.Wr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):fi.resolve(c).then(function(t){s.value=t,u(s)},function(t){return n("throw",t,u,o)})}o(f.arg)}(r,e,n,u)})}return n=n?n.then(u,u):u()}}function R(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,R(t,r),"throw"===r.method))return p;r.method="throw",r.arg=new a("The iterator does not provide a 'throw' method")}return p}var e=v(i,t.iterator,r.arg);if("throw"===e.type)return r.method="throw",r.arg=e.arg,r.delegate=null,p;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,p):u:(r.method="throw",r.arg=new a("iterator result is not an object"),r.delegate=null,p)}function O(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 A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(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:P}}function P(){return{value:n,done:!0}}m.prototype=E.constructor=I,I.constructor=m,I[f]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return h.setPrototypeOf?h.setPrototypeOf(t,I):(t.__proto__=I,f in t||(t[f]="GeneratorFunction")),t.prototype=h.create(E),t},t.awrap=function(t){return{Wr:t}},T(N.prototype),N.prototype[o]=function(){return this},t.AsyncIterator=N,t.async=function(n,r,i,e){var u=new N(s(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[f]="Generator",E[u]=function(){return this},E.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=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.qr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!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 f.type="throw",f.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],f=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),a=i.call(o,"finallyLoc");if(s&&a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!a)throw new c("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,p):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),p},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),A(r),p}},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;A(r)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:C(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=n),p}}}(t.exports)});function Mi(){return(Mi=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 xi(){var t=h.create(null);return t.__=void 0,delete t.__,t}var Li,Wi=("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=xi(),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=xi(),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 Ui,Vi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",Hi="urn:uuid:"+Vi;!function(t){t.Zr="playready",t.Jr="widevine",t.$r="fairplay",t.ns="clearkey",t.rs="aes128"}(Ui||(Ui={}));var ji={us:Ui.Zr,hs:"com.microsoft.playready",fs:"cenc",vs:"9a04f079-9840-4286-ab92-e65be0885f95",ds:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",ls:"PlayReady"},Gi={us:Ui.Jr,hs:"com.widevine.alpha",fs:"cenc",vs:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ds:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ls:"Widevine"},zi={us:Ui.$r,hs:"com.apple.fps.1_0",fs:"skd",vs:Vi,ds:Hi,ls:"FairPlay"},Ki=(Ui.$r,{us:Ui.ns,hs:"org.w3.clearkey",fs:"cenc",vs:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ds:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ls:"ClearKey"});var qi=D._n&&D.wn>=42||D.Dn&&D.Cn>=38||D.En||D.Rn||D.Bn&&D.Ln>=29;function Xi(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[Mi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[Mi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var Yi,$i=function(){function t(t){this._s=void 0,this.gs=new Wi,this.ys=void 0,this._s=t}var n=t.prototype;return n.Nr=function(){return this.Cr(Gi)},n.Er=function(){return this.Cr(Ki)},n.Rr=function(){return this.Cr(ji)},n.Ir=function(){return this.Cr(zi)},n.Cr=function(t){var n=t.ds,r=this.gs.get(n);if(r)return r;var i=this.Dr(t,'video/mp4; codecs="avc1.42000a"');return this.gs.set(n,i),i},n.Dr=function(t,n){return Bi.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Bi.awrap(this._s.As(t.hs,[Xi(n,!0)]));case 3:return r.abrupt("return",!0);case 6:return r.prev=6,r.t0=r.catch(0),r.prev=8,r.next=11,Bi.awrap(this._s.As(t.hs,[Xi(n,!1)]));case 11:return r.abrupt("return",!0);case 14:return r.prev=14,r.t1=r.catch(8),r.abrupt("return",!1);case 17:case"end":return r.stop()}},null,this,[[0,6],[8,14]],fi)},n.Tr=function(){return this.ys||(this.ys=this.Ts()),this.ys},n.Ts=function(){return Bi.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(qi){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,Bi.awrap(this.Er());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()}},null,this,null,fi)},t}(),Zi=function(){function t(){}var n=t.prototype;return n.nf=function(){},n.Ru=function(t){},n.Su=function(t){},n.if=function(t,n){},t}(),Ji=function(){function t(){}return t.prototype.As=function(t,n){return fi.reject(new a("Unsupported key system configuration"))},t}();!function(t){t.Gf="arraybuffer",t.qf="json",t.Wf="stream",t.Jn="text"}(Yi||(Yi={}));var Qi,te=function(){function t(n){var r=this;this.Kr=void 0,this.Kr={},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=ne(r),i=re(i);var e=r.toLowerCase();if(this.Kr.hasOwnProperty(e)){var u=this.Kr[e],o=u[1];u[1]=o?o+", "+i:i}else this.Kr[e]=[r,i]},n.delete=function(t){var n=ne(t).toLowerCase();delete this.Kr[n]},n.get=function(t){var n=ne(t).toLowerCase();return this.Kr.hasOwnProperty(n)?this.Kr[n][1]:null},n.has=function(t){var n=ne(t).toLowerCase();return this.Kr.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=ne(r)).toLowerCase();this.Kr[i]=[r,re(n)]},n.forEach=function(t,n){for(var r in this.Kr)this.Kr.hasOwnProperty(r)&&t.call(n,this.Kr[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Kr)if(this.Kr.hasOwnProperty(n)){var r=this.Kr[n],i=r[0],e=r[1];t.push([i,e])}return t},n.Yf=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Qf=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.jf=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function ne(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new a("Invalid character in header field name");return n}function re(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function ie(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){ee(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function ee(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(u=0;u<c;u+=h)for(e=(o=u+r)+r,o>c&&(o=c),e>c&&(e=c),f=u,s=o;;)if(f<o&&s<e)n&&n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<o)i[a++]=t[f++];else{if(!(s<e))break;i[a++]=t[s++]}}!function(t){t[t.Ss=0]="Ss",t[t.Es=1]="Es",t[t.Is=-1]="Is"}(Qi||(Qi={}));var ue=function(t,n){return function(t,n){if(t===n)return!0;var r=v.abs(t-n);return r<dt||r<v.max(v.abs(t),v.abs(n))*dt}(t,n)?Qi.Ss:function(t,n){return t===n?Qi.Ss:t<n?Qi.Is:t>n?Qi.Es:d(t)?d(n)?Qi.Ss:Qi.Es:Qi.Is}(t,n)};function oe(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){t.splice(n,1)}(t,r),!0)}function fe(t){t.length=0}var se,ce,ae,he,ve=function(){function t(){this.Rs=!1,this.Ns=!1,this.Ds=[],this.Cs=[]}var n=t.prototype;return n.Ps=function(){if(!this.Rs&&!this.Ns){this.Rs=!0;for(var t=0,n=this.Ds.slice();t<n.length;t++){(0,n[t])()}this.Os()}},n.Os=function(){if(!this.Ns){this.Ns=!0;for(var t=0,n=this.Cs.slice();t<n.length;t++){(0,n[t])()}fe(this.Ds),fe(this.Cs)}},n.Bs=function(t){this.Ns||this.Ds.push(t)},n.Ls=function(t){this.Ns||oe(this.Ds,t)},n.xs=function(t){this.Ns||this.Cs.push(t)},n.Ms=function(t){this.Ns||oe(this.Cs,t)},t}(),le=function(){function t(){this.Fs=new ve}var n=t.prototype;return n.Us=function(){this.Fs.Ps()},n.Os=function(){this.Fs.Os()},n.Hs=function(t){var n=this.Fs;if(!n.Rs)if(t.Rs)n.Ps();else if(!n.Ns&&!t.Ns){var r=function(){i(),n.Ps()},i=function i(){t.Ls(r),t.Ms(i),n.Ls(r),n.Ms(i)};t.Bs(r),t.xs(i),n.Bs(r),n.xs(i)}},n.Vs=function(){var n=new t,r=new t,i=n.Xs,e=r.Xs,u=this.Fs,o=function(){i.Rs&&e.Ns||e.Rs&&i.Ns?u.Ps():i.Ns&&e.Ns&&u.Os()};i.Bs(o),e.Bs(o),i.xs(o),e.xs(o),n.Hs(u),r.Hs(u);return u.xs(function(){i.Ls(o),e.Ls(o),i.Ms(o),e.Ms(o)}),[n,r]},p(t,[{key:"Xs",get:function(){return this.Fs}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(se||(se={})),function(t){t.jd="",t.Kd="manifest",t.Zd="segment",t.Jd="content-protection"}(ce||(ce={})),function(t){t.jd="",t.$d="initialization-segment",t.il="fairplay-license",t.ul="fairplay-certificate",t.ol="widevine-license",t.hl="widevine-certificate",t.al="playready-license",t.cl="clearkey-license",t.fl="aes128-key"}(ae||(ae={})),function(t){t.jd="",t.vl="audio",t.dl="video",t.Jn="text",t.ll="image"}(he||(he={}));var _e,de=function(t,n){this.Nd=void 0,this.Vd=void 0,this._l=void 0,this.Xd=void 0,this.wl=void 0,this.Xs=void 0,this.us=void 0,this.yl=void 0,this.bl=void 0,this.Yd=void 0,this.Al=void 0,this.Tl=void 0;var r,i,e,u,o,f,s,c,a,h,v,l=t.Yd;n?(r=n.Nd,i=n.Vd,e=n._l,u=n.Xd,o=n.wl,f=n.Xs,s=n.us,c=n.yl,a=n.bl,h=n.Al,v=n.Tl):(r=null,i={},e=se.GET,u=Yi.Jn,o=0,s=ce.jd,c=ae.jd,a=he.jd,h=!1),this.Yd=l,this.Nd=t.Nd||r,this.Vd=new te(t.Vd||i),this._l=t._l||e,this.Xd=t.Xd||u,this.wl=void 0!==t.wl?Number(t.wl)||0:o,this.Xs=t.Xs||f||(new le).Xs,this.us=t.us||s,this.yl=t.yl||c,this.bl=t.bl||a,this.Al=void 0!==t.Al?Boolean(t.Al):h,this.Tl=t.Tl||v};!function(t){t.Bl="HttpOpenError",t.Ll="HttpResponseError",t.xl="HttpTimeoutError"}(_e||(_e={}));var we,ye,pe=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.Yd+". Invalid URL.",r)||this}return m(n,t),p(n,[{key:"name",get:function(){return _e.Bl}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Ml=void 0,e.Ml=n,e}return m(n,t),p(n,[{key:"qd",get:function(){return this.Ml}}]),n}(mt)),ge=function(){function t(){}var n=t.prototype;return n.qd=function(t){return fi.reject(new pe(new de(t)))},n.Sl=function(t){},n.El=function(){},t}();function me(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Ie(t,n){return t.push(n),t}function ke(t,n,r,i){var e=r||0,u=i||n.length,o=u-e,f=t.length,s=f+o;for(t.length=s;e<u;e+=1,f+=1)t[f]=n[e];return t}function Se(t,n){return ke(t,me(n))}we=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).T_=new $i(new Ji),n.im=new ge,n.u=new Zi,n}return m(n,t),p(n,[{key:"Sr",get:function(){return this.T_}},{key:"R_",get:function(){return!1}},{key:"N_",get:function(){return!1}},{key:"D_",get:function(){return!1}},{key:"C_",get:function(){return this.u}},{key:"P_",get:function(){return{O_:C}}},{key:"B_",get:function(){return"default"}},{key:"L_",get:function(){return"unknown"}},{key:"x_",get:function(){return this.im}}]),n}(Pi)),function(t){t.$Ot="h.264",t.qwt="mp3",t.Gwt="aac-lc",t.OOt="he-aac"}(ye||(ye={}));var be=function(){function t(){this.Urt=0,this.Hrt=[],this.yE={}}var n=t.prototype;return n.Vrt=function(t){this.Hrt=this.Hrt.concat(t.Hrt),this.Urt+=t.Tw},n.Xrt=function(t,n,r){var i=this.Urt,e=r-n;e>0&&(this.Hrt.push({zrt:n,Grt:r,qrt:e,Wrt:i,Yrt:t}),this.Urt+=e)},n.Su=function(t){for(var n=0,r=this.Hrt;n<r.length;n++){var i=r[n];if(i.Wrt<=t&&t<i.Wrt+i.qrt)return i.Yrt[t+i.zrt-i.Wrt]}},n.Qrt=function(t,n){for(var r=n,i=0,e=this.Hrt;i<e.length;i++)for(var u=e[i],o=u.Grt,f=u.zrt;f<o;f+=1,r+=1)t[r]=u.Yrt[f];return r},n.jrt=function(){for(var t=new w(this.Urt),n=0,r=0,i=this.Hrt;r<i.length;r++)for(var e=i[r],u=e.Grt,o=e.zrt;o<u;o+=1,n+=1)t[n]=e.Yrt[o];return t},n.Bu=function(n){for(var r=new t,i=0,e=this.Hrt;i<e.length;i++){var u=e[i];r.Xrt(u.Yrt,u.zrt,u.Grt)}return r.yE=n||Mi({},this.yE),r},p(t,[{key:"Tw",get:function(){return this.Urt},set:function(t){var n=this.Hrt,r=this.Urt-t;if(!(t>=this.Urt))if(this.Urt=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.qrt)return e.Grt-=r,e.qrt-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.qrt}else n.length=0}},{key:"Vi",get:function(){for(var t=new Array(this.Urt),n=0,r=0,i=this.Hrt;r<i.length;r++)for(var e=i[r],u=e.Grt,o=e.zrt;o<u;o+=1,n+=1)t[n]=e.Yrt[o];return t}}]),t}(),Ee=function(){function t(){}var n=t.prototype;return n.Zk=function(t){return this.Jk()*t},n.$k=function(t){return this.tp(t)>0},n.np=function(t){return this.tp(t)>=0},n.ip=function(t,n){return this.rp(t).ep(n)},n.Hk=function(t){return 0===this.tp(t)},n.sp=function(t){return this.tp(t)<0},n.ep=function(t){return this.tp(t)<=0},n.op=function(){return this.hp()?this.ap():this},n.cp=function(t){return this.jy(t.ap())},n.rp=function(t){return this.cp(t).op()},t}();function Te(t,n){return t.fp()?n.fp()?Qi.Ss:Qi.Es:n.fp()?Qi.Is:t.vp()?n.vp()&&t.hp()===n.hp()?Qi.Ss:t.hp()?Qi.Is:Qi.Es:n.hp()?Qi.Es:Qi.Is}var Ne=function(){function t(t,n){this.dp=void 0,this.lp=void 0,this.dp=t,this.lp=n}t._p=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.wp=function(n){return n.unsigned?new t(n,_t.UZERO):new t(n,n.isNegative()?_t.NEG_ONE:_t.ZERO)},t.gp=function(n,r){if(d(n))return r?t.mp:t.yp;if(r){if(n<0)return t.mp;if(n>=3.402823669209385e38)return t.kp}else{if(n<=-1.7014118346046923e38)return t.pp;if(n+1>=1.7014118346046923e38)return t.bp}return n<0?t.gp(-n,r).ap():t._p(_t.fromNumber(n%0x10000000000000000),_t.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.Ap=function(){return this.lp.unsigned},n.Tp=function(){return this.dp.isZero()&&this.lp.isZero()},n.hp=function(){return this.lp.isNegative()},n.Sp=function(){return this.Ap()?t._p(this.dp,this.lp,!1):this},n.Ep=function(){return this.Ap()?this:t._p(this.dp,this.lp,!0)},n.Ip=function(){return this.dp},n.Jk=function(){return this.hp()?-this.ap().Jk():0x10000000000000000*this.lp.toNumber()+this.dp.toUnsigned().toNumber()},n.Rp=function(){return this.dp.toInt()},n.Hk=function(t){return(this.Ap()===t.Ap()||this.lp.getHighBits()>>>31!=1||t.lp.getHighBits()>>>31!=1)&&(this.lp.toUnsigned().eq(t.lp.toUnsigned())&&this.dp.toUnsigned().eq(t.dp.toUnsigned()))},n.tp=function(t){if(this.Hk(t))return Qi.Ss;var n=this.hp(),r=t.hp();if(n&&!r)return Qi.Is;if(!n&&r)return Qi.Es;if(!this.Ap())return this.cp(t).hp()?Qi.Is:Qi.Es;var i=this.Ep(),e=t.Ep(),u=e.lp.comp(i.lp);return u>0||0===u&&e.dp.gt(i.dp)?Qi.Is:Qi.Es},n.sp=function(t){return this.tp(t)<0},n.ep=function(t){return this.tp(t)<=0},n.Np=function(t){return this.tp(t)>0},n.Dp=function(t){return this.tp(t)>=0},n.Cp=function(){return new t(this.dp.not(),this.lp.not())},n.Pp=function(n){return new t(this.dp.and(n.dp),this.lp.and(n.lp))},n.Op=function(n){return new t(this.dp.or(n.dp),this.lp.or(n.lp))},n.Bp=function(n){var r=127&n;return 0===r?this:r<64?t._p(this.dp.shl(r),this.lp.shl(r).or(this.dp.shru(64-r)),this.Ap()):t._p(_t.ZERO,this.dp.shl(r-64),this.Ap())},n.Lp=function(n){var r=127&n;return 0===r?this:r<64?t._p(this.dp.shru(r).or(this.lp.shl(64-r)),this.lp.shr(r),this.Ap()):t._p(this.lp.shr(r-64),this.lp.isNegative()?_t.NEG_ONE:_t.ZERO,this.Ap())},n.xp=function(n){var r=127&n;return 0===r?this:r<64?t._p(this.dp.shru(r).or(this.lp.shl(64-r)),this.lp.shru(r),this.Ap()):64===r?t._p(this.lp,_t.ZERO,this.Ap()):t._p(this.lp.shru(r-64),_t.ZERO,this.Ap())},n.jy=function(n){var r=this.lp.high>>>16,i=65535&this.lp.high,e=this.lp.low>>>16,u=65535&this.lp.low,o=this.dp.high>>>16,f=65535&this.dp.high,s=this.dp.low>>>16,c=65535&this.dp.low,a=n.lp.high>>>16,h=65535&n.lp.high,v=n.lp.low>>>16,l=65535&n.lp.low,_=n.dp.high>>>16,d=65535&n.dp.high,w=n.dp.low>>>16,y=0,p=0,g=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.dp.low))>>>16,b&=65535,k+=(S+=s+w)>>>16,S&=65535,I+=(k+=f+d)>>>16,k&=65535,m+=(I+=o+_)>>>16,I&=65535,g+=(m+=u+l)>>>16,m&=65535,p+=(g+=e+v)>>>16,g&=65535,y+=(p+=i+h)>>>16,p&=65535,y+=r+a,y&=65535;var E=this.Ap(),T=_t.fromBits(g<<16|m,y<<16|p,E),N=_t.fromBits(S<<16|b,I<<16|k,E);return t._p(N,T,E)},n.cp=function(t){return this.jy(t.ap())},n.ap=function(){return this.Cp().jy(t.Mp)},n.Fp=function(n){if(this.Tp()||n.Tp())return this.Ap()?t.mp:t.yp;if(this.hp())return n.hp()?this.ap().Fp(n.ap()):this.ap().Fp(n).ap();if(n.hp())return this.Fp(n.ap()).ap();if(this.lp.isZero()&&0===this.dp.high&&n.lp.isZero()&&0===n.dp.high)return t.wp(this.dp.multiply(n.dp));var r=_t.fromBits(4294967295,0,!0),i=this.dp.and(r),e=this.dp.shru(32),u=this.lp.and(r),o=this.lp.shru(32),f=n.dp.and(r),s=n.dp.shru(32),c=n.lp.and(r),a=n.lp.shru(32),h=_t.UZERO,v=_t.UZERO,l=_t.UZERO,_=_t.UZERO;h=h.add(i.mul(f)),v=v.add(h.shru(32)),h=h.and(r),v=v.add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(s)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(u.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(e.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(i.mul(c)),_=_.add(l.shru(32)),l=l.and(r),_=_.add(o.mul(f)).add(u.mul(s)).add(e.mul(c)).add(i.mul(a)).and(r);var d=_t.fromBits(h.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=_t.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t._p(d,w,this.Ap())},n.Up=function(n){var r,i,e=n;if(e.Tp())throw new RangeError("division by zero");if(this.Tp())return this.Ap()?[t.mp,t.mp]:[t.yp,t.yp];if(this.Ap()){if(e.Ap()||(e=e.Ep()),e.Np(this))return[t.mp,this];if(e.Np(this.xp(1)))return[i=t.Hp,r=this.cp(e)];i=t.mp}else{if(this.Hk(t.pp)){if(e.Hk(t.Mp)||e.Hk(t.Vp))return[t.pp,t.yp];if(e.Hk(t.pp))return[t.Mp,t.yp];var u=this.Lp(1).Xp(e).Bp(1);return u.Hk(t.yp)?i=e.hp()?t.Mp:t.Vp:(r=this.cp(e.Fp(u)),i=u.jy(r.Xp(e))),[i,r=this.cp(e.Fp(i))]}if(e.Hk(t.pp))return this.Ap()?[t.mp,this]:[t.yp,this];if(this.hp()){if(e.hp())return this.ap().Up(e.ap());var o=this.ap().Up(e);return i=o[0],r=o[1],[i.ap(),r.ap()]}if(e.hp()){var f=this.Up(e.ap());return i=f[0],r=f[1],[i.ap(),r.ap()]}i=t.yp}for(r=this;r.Dp(e);){for(var s=v.max(1,v.floor(r.Jk()/e.Jk())),c=v.ceil(v.log(s)/v.LN2),a=c<=48?1:v.pow(2,c-48),h=t.gp(s),l=h.Fp(e);l.hp()||l.Np(r);)s-=a,l=(h=t.gp(s,this.Ap())).Fp(e);h.Tp()&&(h=t.Mp),i=i.jy(h),r=r.cp(l)}return[i,r]},n.Xp=function(t){return this.Up(t)[0]},n.zp=function(t){return this.Up(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Tp())return"0";if(this.hp()){if(this.Hk(t.pp)){var i=t.gp(r),e=this.Xp(i),u=e.Fp(i).cp(this);return e.toString(r)+u.Rp().toString(r)}return"-"+this.ap().toString(r)}for(var o=t.gp(v.pow(r,6),this.Ap()),f=this,s="";;){var c=f.Xp(o),a=(f.cp(c.Fp(o)).Rp()>>>0).toString(r);if((f=c).Tp())return a+s;for(;a.length<6;)a="0"+a;s=String(a)+s}},t}();Ne.yp=Ne.wp(_t.ZERO),Ne.mp=Ne.wp(_t.UZERO),Ne.Mp=Ne.wp(_t.ONE),Ne.Hp=Ne.wp(_t.UONE),Ne.Vp=Ne.wp(_t.NEG_ONE),Ne.bp=Ne._p(_t.NEG_ONE,_t.MAX_VALUE,!1),Ne.kp=Ne._p(_t.MAX_UNSIGNED_VALUE,_t.MAX_UNSIGNED_VALUE,!0),Ne.pp=Ne._p(_t.ZERO,_t.MIN_VALUE,!1);var Re=function(){function t(t,n){void 0===n&&(n=1),this.Gp=void 0,this.qp=void 0,this.Gp=t,this.qp=n}t.Wp=function(n){return new t(v.ceil(n.Gp),n.qp)},t.Yp=function(n){return new t(v.floor(n.Gp),n.qp)},t.Qp=function(t,n){return t.np(n)?t:n},t.jp=function(t,n){return t.ep(n)?t:n};var n=t.prototype;return n.jy=function(n){return this.qp>=n.qp?new t(this.Gp+n.Kp(this.qp).Gp,this.qp):new t(this.Kp(n.qp).Gp+n.Gp,n.qp)},n.$k=function(t){return t.sp(this)},n.np=function(t){return t.ep(this)},n.rp=function(n){return this.qp>=n.qp?new t(v.abs(this.Gp-n.Kp(this.qp).Gp),this.qp):n.rp(this)},n.ip=function(t,n){return this.rp(t).ep(n)},n.tp=function(t){return r=t,(n=this).qp>=r.qp?ue(n.Gp,r.Kp(n.qp).Gp):ue(n.Kp(r.qp).Gp,r.Gp);var n,r},n.Hk=function(t){return 0===this.tp(t)},n.sp=function(t){return this.tp(t)<0},n.ep=function(t){return this.tp(t)<=0},n.Kp=function(n){return new t(this.Gp*(n/this.qp),n)},n.cp=function(n){return this.qp>=n.qp?new t(this.Gp-n.Kp(this.qp).Gp,this.qp):new t(this.Kp(n.qp).Gp-n.Gp,n.qp)},n.Zp=function(n){return new t(this.Gp*n,this.qp)},p(t,[{key:"vp",get:function(){return!isFinite(this.Gp)}},{key:"Jp",get:function(){return this.Gp/this.qp}}]),t}();Re.$p=new Re(1/6,1),Re.yp=new Re(0),Re.ib=new Re(1/0),Re.eb=1e6;var Oe=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ai=void 0,i.qp=void 0,i.Ai=n.toSigned(),i.qp=r>>>0,i}m(n,t),n.sb=function(t,r){return void 0===r&&(r=1e6),n.gp(t*r,r)},n.gp=function(t,r){return d(t)?n.ub:t===1/0?n.ob:t===-1/0?n.hb:new n(_t.fromNumber(t),r)},n.wp=function(t,r){return new n(t,r)},n.cb=function(t){return n.sb(t.Jp,1e6)},n.fb=function(t){return new n(_t.fromNumber(t.getTime()),1e3)},n.Qp=function(t,n){return t.np(n)?t:n},n.jp=function(t,n){return t.ep(n)?t:n},n.vb=function(t,r,i){return n.Qp(r,n.jp(i,t))};var r=n.prototype;return r.hp=function(){return this.Ai.isNegative()},r.Tp=function(){return 0!==this.qp&&this.Ai.isZero()},r.vp=function(){return 0===this.qp&&!this.Ai.isZero()},r.fp=function(){return 0===this.qp&&this.Ai.isZero()},r.Jk=function(){if(0===this.qp)return this.Ai.isZero()?NaN:this.Ai.isNegative()?-1/0:1/0;var t=this.Ai.divide(this.qp),n=this.Ai.subtract(t.multiply(this.qp));return t.toNumber()+n.toNumber()/this.qp},r.Ip=function(){if(0===this.qp)throw new c("Failed to convert timestamp");return this.Ai},r._b=function(){return new Date(0===this.qp?NaN:this.Kp(1e3).Ai.toNumber())},r.wb=function(){return new Re(0===this.qp?this.Jk():this.Ai.toNumber(),this.qp)},r.Kp=function(t,r){void 0===r&&(r=Ce.gb);var i=this.qp;if(i===t)return this;if(0===i)return this;var e=wt(i,t);return new n(function(t,n,r){var i=t.Up(n),e=i[0],u=i[1];if(u.Tp())return e;if(r===Ce.gb)return u.hp()?e.cp(Ne.Mp):e;if(r===Ce.mb)return u.hp()?e:e.jy(Ne.Mp);var o=u.Fp(Ne.gp(2));return o.hp()?o.ap().sp(n)?e:e.cp(Ne.Mp):o.sp(n)?e:e.jy(Ne.Mp)}(Ne.wp(this.Ai).Fp(Ne.gp(t/e)),Ne.gp(i/e),r).Ip(),t)},r.tp=function(t){if(this===t)return Qi.Ss;if(0===this.qp||0===t.qp)return Te(this,t);if(this.Tp())return t.Tp()?Qi.Ss:t.hp()?Qi.Es:Qi.Is;if(t.Tp())return this.hp()?Qi.Is:Qi.Es;var n=v.min(this.qp,t.qp),r=this.Kp(n,Ce.yb).Ai,i=t.Kp(n,Ce.yb).Ai;return r.compare(i)},r.ap=function(){return 0===this.qp?Ae(this):new n(this.Ai.negate(),this.qp)},r.jy=function(t){if(0===this.qp||0===t.qp)return De(this,t);if(this.Tp())return t;if(t.Tp())return this;var r=v.max(this.qp,t.qp),i=this.Kp(r,Ce.yb),e=t.Kp(r,Ce.yb);return new n(i.Ai.add(e.Ai),r)},r.Fp=function(t){if(this.fp()||d(t))return n.ub;if(this.vp()||!isFinite(t)){if(this.Tp()||0===t)return n.ub;var r=this.hp()?n.hb:n.ob;return t<0?r.ap():r}return this.Tp()?this:new n(0===t?_t.ZERO:this.Ai.multiply(t),this.qp)},r.Xp=function(t){if(this.fp()||d(t))return n.ub;if(this.vp())return isFinite(t)?0===t?1/t<0?this.ap():this:t<0?this.ap():this:n.ub;if(!isFinite(t))return new n(_t.ZERO,this.qp);if(this.Tp())return 0===t?n.ub:new n(_t.ZERO,this.qp);if(0===t){var r=this.hp()?n.hb:n.ob;return 1/t<0?r.ap():r}return new n(this.Ai.divide(t),this.qp)},r.kb=function(){return[this.Ai.low,this.Ai.high,this.qp]},n}(Ee);function Ae(t){return t.fp()?t:t.hp()?Oe.ob:Oe.hb}function De(t,n){return t.fp()||n.fp()?Oe.ub:t.vp()&&n.vp()?t.hp()===n.hp()?t:Oe.ub:t.vp()?t:n}Oe.yp=new Oe(_t.ZERO,1e6),Oe.ub=new Oe(_t.ZERO,0),Oe.ob=new Oe(_t.ONE,0),Oe.hb=new Oe(_t.NEG_ONE,0);var Ce,Pe=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ai=void 0,i.qp=void 0,i.Ai=BigInt.asIntN(64,n),i.qp=r>>>0,i}m(n,t),n.sb=function(t,r){return void 0===r&&(r=1e6),n.gp(t*r,r)},n.gp=function(t,r){return d(t)?n.ub:t===1/0?n.ob:t===-1/0?n.hb:new n(BigInt(v.floor(t)),r)},n.wp=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.cb=function(t){return n.sb(t.Jp,1e6)},n.fb=function(t){return n.gp(t.getTime(),1e3)},n.Qp=function(t,n){return t.np(n)?t:n},n.jp=function(t,n){return t.ep(n)?t:n},n.vb=function(t,r,i){return n.Qp(r,n.jp(i,t))};var r=n.prototype;return r.hp=function(){return this.Ai<BigInt(0)},r.Tp=function(){return 0!==this.qp&&this.Ai===BigInt(0)},r.vp=function(){return 0===this.qp&&this.Ai!==BigInt(0)},r.fp=function(){return 0===this.qp&&this.Ai===BigInt(0)},r.Jk=function(){if(0===this.qp)return this.Ai===BigInt(0)?NaN:this.Ai<BigInt(0)?-1/0:1/0;var t=this.Ai/BigInt(this.qp),n=this.Ai-t*BigInt(this.qp);return Number(t)+Number(n)/this.qp},r.Ip=function(){if(0===this.qp)throw new c("Failed to convert timestamp");return this.pb()},r.pb=function(){var t=this.Ai&BigInt(4294967295),n=this.Ai>>BigInt(32)&BigInt(4294967295);return _t.fromBits(Number(t),Number(n))},r._b=function(){return new Date(0===this.qp?NaN:Number(this.Kp(1e3).Ai))},r.wb=function(){return new Re(0===this.qp?this.Jk():Number(this.Ai),this.qp)},r.Kp=function(t,r){void 0===r&&(r=Ce.gb);var i=this.qp;if(i===t)return this;if(0===i)return this;var e=wt(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===Ce.gb)return e<BigInt(0)?i-BigInt(1):i;if(r===Ce.mb)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.Ai*BigInt(t/e),BigInt(i/e),r),t)},r.tp=function(t){if(this===t)return Qi.Ss;if(0===this.qp||0===t.qp)return Te(this,t);if(this.Tp())return t.Tp()?Qi.Ss:t.hp()?Qi.Es:Qi.Is;if(t.Tp())return this.hp()?Qi.Is:Qi.Es;var n=v.min(this.qp,t.qp),r=this.Kp(n,Ce.yb).Ai,i=t.Kp(n,Ce.yb).Ai;return r>i?Qi.Es:r<i?Qi.Is:Qi.Ss},r.ap=function(){return 0===this.qp?Fe(this):new n(-this.Ai,this.qp)},r.jy=function(t){if(0===this.qp||0===t.qp)return Be(this,t);if(this.Tp())return t;if(t.Tp())return this;var r=v.max(this.qp,t.qp),i=this.Kp(r,Ce.yb),e=t.Kp(r,Ce.yb);return new n(i.Ai+e.Ai,r)},r.Fp=function(t){if(this.fp()||d(t))return n.ub;if(this.vp()||!isFinite(t)){if(this.Tp()||0===t)return n.ub;var r=this.hp()?n.hb:n.ob;return t<0?r.ap():r}return this.Tp()?this:new n(0===t?BigInt(0):this.Ai*BigInt(t),this.qp)},r.Xp=function(t){if(this.fp()||d(t))return n.ub;if(this.vp())return isFinite(t)?0===t?1/t<0?this.ap():this:t<0?this.ap():this:n.ub;if(!isFinite(t))return new n(BigInt(0),this.qp);if(this.Tp())return 0===t?n.ub:new n(BigInt(0),this.qp);if(0===t){var r=this.hp()?n.hb:n.ob;return 1/t<0?r.ap():r}return new n(this.Ai/BigInt(t),this.qp)},r.kb=function(){var t=this.pb();return[t.low,t.high,this.qp]},p(n,null,[{key:"yp",get:function(){return n.bb||(n.bb=new n(BigInt(0),1e6)),n.bb}},{key:"ub",get:function(){return n.Ab||(n.Ab=new n(BigInt(0),0)),n.Ab}},{key:"ob",get:function(){return n.Tb||(n.Tb=new n(BigInt(1),0)),n.Tb}},{key:"hb",get:function(){return n.Sb||(n.Sb=new n(BigInt(-1),0)),n.Sb}}]),n}(Ee);function Fe(t){return t.fp()?t:t.hp()?Pe.ob:Pe.hb}function Be(t,n){return t.fp()||n.fp()?Pe.ub:t.vp()&&n.vp()?t.hp()===n.hp()?t:Pe.ub:t.vp()?t:n}Pe.bb=void 0,Pe.Ab=void 0,Pe.Tb=void 0,Pe.Sb=void 0,function(t){t[t.gb=0]="gb",t[t.mb=1]="mb",t[t.yb=2]="yb"}(Ce||(Ce={}));var Me=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?Pe:Oe;function xe(t){return Me.wp(_t.fromBits(t[0],t[1],!1),t[2])}var Le=v.pow(2,33),We=Me.gp(Le,9e4),Ue=We.Xp(2);function Ve(t,n){var r=t.cp(n);return t.vp()||n.vp()?r:(r.np(Ue)?r.cp(We):r.sp(Ue.ap())&&r.jy(We),r)}var He,je;D.Pn;!function(t){t[t.RQ=0]="RQ",t[t.NQ=1]="NQ",t[t.DQ=2]="DQ",t[t.CQ=3]="CQ",t[t.OQ=4]="OQ",t[t.BQ=5]="BQ"}(He||(He={})),function(t){t[t.LQ=0]="LQ",t[t.xQ=1]="xQ",t[t.MQ=2]="MQ",t[t.FQ=3]="FQ"}(je||(je={}));var Ge,ze,Ke,qe,Xe,Ye;[[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},{}),fi.resolve();!function(t){t.lk="_k",t.wk="gk",t.fw="Qa"}(Ge||(Ge={})),function(t){t.lk="enter",t.wk="exit",t.fw="update"}(ze||(ze={})),function(t){t[t.CD=0]="CD",t[t.Mj=1]="Mj",t[t.Fj=2]="Fj",t[t.Uj=3]="Uj",t[t.Jn=4]="Jn"}(Ke||(Ke={})),function(t){t.$Y='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.tQ='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.nQ='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.iQ='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(qe||(qe={})),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"}(Xe||(Xe={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ye||(Ye={}));var $e;Xe.WHITE,qe.nQ,Xe.BLACK,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.GREEN,Ye.FONT_REGULAR,Xe.GREEN,Ye.FONT_UNDERLINE,Xe.BLUE,Ye.FONT_REGULAR,Xe.BLUE,Ye.FONT_UNDERLINE,Xe.CYAN,Ye.FONT_REGULAR,Xe.CYAN,Ye.FONT_UNDERLINE,Xe.RED,Ye.FONT_REGULAR,Xe.RED,Ye.FONT_UNDERLINE,Xe.YELLOW,Ye.FONT_REGULAR,Xe.YELLOW,Ye.FONT_UNDERLINE,Xe.MAGENTA,Ye.FONT_REGULAR,Xe.MAGENTA,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_ITALICS,Xe.WHITE,Ye.FONT_UNDERLINE_ITALICS,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE,Xe.WHITE,Ye.FONT_REGULAR,Xe.WHITE,Ye.FONT_UNDERLINE;!function(t){t[t.tst=47]="tst",t[t.nst=49]="nst"}($e||($e={}));var Ze,Je=[128,64,32,16,8,4,2,1];function Qe(t,n){var r=v.floor(n.bit/8),i=0==(("function"==typeof t.Su?t.Su(r):t[r])&Je[n.bit%8])?0:1;return n.bit+=1,i}function tu(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+Qe(t,n);return i}function nu(t,n){for(var r=0;0===Qe(t,n)&&r<32;)r+=1;return tu(t,n,r)+v.pow(2,r)-1}function ru(t,n){var r=nu(t,n);return 1&r?v.floor((r+1)/2):-v.floor(r/2)}!function(t){t[t.lst=1]="lst",t[t._st=2]="_st",t[t.wst=3]="wst",t[t.gst=4]="gst",t[t.mst=5]="mst",t[t.yst=6]="yst",t[t.kst=7]="kst",t[t.pst=8]="pst",t[t.bst=9]="bst"}(Ze||(Ze={}));var iu=[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 eu(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+ru(t,n)+256)%256;i=0===e?i:e}}var uu=function(){function t(t){this.Ast=void 0,this.Tst=[],this.Sst=0,this.Ast=t}var n=t.prototype;return n.Est=function(){for(var t=this.Tst,n=v.max(0,this.Sst+t.length-2),r=this.Ast,i=r.Tw,e=0;n<i;n+=1){var u=r.Su(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Sst=n-t.length},n.Ist=function(t){for(var n=this.Tst,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.Su=function(t){if(!(t>this.Ast.Tw))return t>this.Sst&&this.Est(),this.Ast.Su(this.Ist(t))},t}();function ou(t,n){Ju(t.video?t.video:void 0);var r=Co(t,!0),i=to(t)+8,e=vu.length+r+i,u=function(t,n){var r={video:[],audio:[]},i=8+n,e={video:t.video&&t.video.jz||[],audio:t.audio&&t.audio.jz||[]},u={yE:{A$:Number.POSITIVE_INFINITY}},o=0,f=0,s=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||f<e.audio.length;)s.yE.A$<c.yE.A$?(Se(r.video,i),i+=s.Tw,s=e.video[o+=1]||u):(Se(r.audio,i),i+=c.Tw,c=e.audio[f+=1]||u);return r}(t,vu.length+r);return n.su(e),n.sc(vu),Po(n,t,r,u),function(t,n,r){var i,e={yE:{A$:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.jz||[],s=n.audio&&n.audio.jz||[],c=f.length,a=s.length,h=f[u]||e,v=s[o]||e;t.th(r),t.sc(_u);for(;u<c||o<a;)h.yE.A$<v.yE.A$?(i=h,h=f[u+=1]||e):(i=v,v=s[o+=1]||e),t.hh(i)}(n,t,i),n}function fu(t,n,r){var i=void 0!==n?n:void 0;Ju(t.video?t.video:void 0);var e=Co(t,!1,i),u=lu.length+e;return r.su(u),r.sc(lu),Po(r,t,e,void 0,i||Me.yp),r}function su(t,n,r,i,e){var u=r.Jk(),o=i.Jk(),f=function(t,n){return 1===Jo(t,n)?52:44}(t,o),s=$o(t,u),c=to(t)+8,a=Fo.length+f+s+c;return e.su(a),e.sc(Fo),function(t,n,r,i,e){var u=n.video&&n.video.AOt.jy(Me.sb(n.video.duration,n.video.AOt.qp))||Me.yp,o=n.audio&&n.audio.AOt.jy(Me.sb(n.audio.duration,n.audio.AOt.qp))||Me.yp,f=Me.Qp(u,o),s=v.round(e*Zu);t.th(r),t.sc(Bo),1===Jo(n,e)?(t.th(16777216),t.th(1),t.th(Zu),t.mh(_t.fromNumber(s)),t.mh(_t.ZERO)):(t.th(0),t.th(1),t.th(Zu),t.th(s),t.th(0));t.bh(0),t.bh(1);var c=Zo(n.video?n.video:void 0),a=Zo(n.audio?n.audio:void 0);t.th($o(n,i)+c+a+8),rf(t,f),t.sc([144,0,0,0])}(e,t,f,u,o),function(t,n,r,i,e){t.th(r),t.sc(Mo),function(t,n){t.th(Lo),t.sc(xo),t.th(0),t.th(n)}(t,i),tf(t,n,n.video?n.video:void 0,1,e),tf(t,n,n.audio?n.audio:void 0,2,e)}(e,t,s,n,u),function(t,n,r){var i=n.video&&n.video.jz||[],e=n.audio&&n.audio.jz||[];t.th(r),t.sc(_u);for(var u=0;u<i.length;u++){var o=i[u];t.hh(o)}for(var f=0;f<e.length;f++){var s=e[f];t.hh(s)}}(e,t,c),e}function cu(t){return t.kOt===ye.qwt||t.kOt===ye.Gwt||t.kOt===ye.OOt}function au(t){return t.kOt===ye.$Ot}function hu(t){var n=t.length;if(n)for(var r=t[0].yE.Bst,i=0;i<n;i+=1){var e=t[i].yE;e.YOt=e.Ost.cp(r),r=r.jy(e.Lst)}}var vu=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],lu=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],_u=[109,100,97,116],du=[109,111,111,118],wu=[109,118,104,100],yu=[116,114,97,107],pu=[116,107,104,100],gu=[109,118,101,120],mu=[116,114,101,120],Iu=32,ku=[101,100,116,115],Su=[101,108,115,116],bu=[109,100,105,97],Eu=[109,100,104,100],Tu=[99,116,116,115],Nu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],Ru=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],Ou=45,Au=[109,105,110,102],Du=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],Cu=16,Pu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],Fu=20,Bu=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],Mu=36,xu=[115,116,98,108],Lu=[115,116,115,100],Wu=[97,118,99,67],Uu=[101,115,100,115],Vu=[115,116,115,115],Hu=[115,116,116,115],ju=[115,116,115,99],Gu=[115,116,115,122],zu=[115,116,99,111],Ku=[112,97,115,112],qu=[97,118,99,49],Xu=[109,112,52,97],Yu=[1,0],$u=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],Zu=9e4;function Ju(t){if(t&&!t.dS){var n=t.kDt,r=t.pDt;t.dS=function(t,n){var r=t.length,i=n.length,e=[];return Ie(e,1),Ie(e,t[1]),Ie(e,t[2]),Ie(e,t[3]),Ie(e,255),Ie(e,225),Ie(e,(65280&r)>>8),Ie(e,255&r),ke(e,t),Ie(e,1),Ie(e,(65280&i)>>8),Ie(e,255&i),ke(e,n),e}(n,r);var i=new be;i.Xrt(n,0,n.length);var e=function(t){var n,r,i,e,u,o,f=new uu(t),s=0,c=0,a=0,h=0,l=f.Su(1),_={bit:32};if(nu(f,_),100===l||110===l||122===l||144===l){var d=nu(f,_);if(3===d&&(n=Qe(f,_)),nu(f,_),nu(f,_),Qe(f,_),1===Qe(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===Qe(f,_)&&eu(f,_,w<6?16:64)}var y=nu(f,_),p=nu(f,_);if(0===p)nu(f,_);else if(1===p){Qe(f,_),ru(f,_),ru(f,_);for(var g=nu(f,_),m=0;m<g;m+=1)ru(f,_)}nu(f,_),Qe(f,_);var I=nu(f,_),k=nu(f,_),S=Qe(f,_);if(0===S&&Qe(f,_),Qe(f,_),1===Qe(f,_)&&(s=nu(f,_),c=nu(f,_),a=nu(f,_),h=nu(f,_)),1===Qe(f,_)){if(1===Qe(f,_)){var b=tu(f,_,8);if(255===b)r=tu(f,_,16),i=tu(f,_,16);else{var E=iu[b];E&&(r=E[0],i=E[1])}}1===Qe(f,_)&&Qe(f,_),1===Qe(f,_)&&(tu(f,_,3),Qe(f,_),1===Qe(f,_)&&(tu(f,_,8),tu(f,_,8),tu(f,_,8))),1===Qe(f,_)&&(nu(f,_),nu(f,_)),1===(e=Qe(f,_))&&(u=tu(f,_,32),o=tu(f,_,32),Qe(f,_))}return{width:v.floor(16*(I+1)-2*s-2*c),height:v.floor((2-S)*(k+1)*16-2*a-2*h),SS:r,ES:i,Rst:!!e&&o/(2*u),Nst:n,Dst:y}}(i);t.width=e&&e.width,t.height=e&&e.height,e&&e.SS&&e.ES&&(t.SS=e.SS,t.ES=e.ES)}}function Qu(t,n){var r=t.Rst||0;if(cu(t))return t.HOt;var i=v.max(Zu,r);return n?v.round(i):i}function to(t){var n=0,r=function(t){for(var n=t.length,r=0,i=0;i<n;i+=1)r+=t[i].Tw;return r};return t.video&&(n+=r(t.video.jz)),t.audio&&(n+=r(t.audio.jz)),n}function no(t,n,r,i){var e=Me.sb(0,t.qp);return n?(i||e).jy(t):r||e}function ro(t,n,r){var i=t.video&&no(Me.sb(t.video.duration,Zu),n,r,t.video.AOt)||Me.yp,e=t.audio&&no(Me.sb(t.audio.duration,Zu),n,r,t.audio.AOt)||Me.yp;return 0!==Me.Qp(i,e).Kp(Zu).Ip().high?1:0}function io(t,n,r){return 1===ro(t,n,r)?120:108}function eo(t,n,r){return 0!==no(Me.sb(t.duration,Zu),n,r,t.AOt).Kp(Zu).Ip().high?1:0}function uo(t,n,r){return 1===eo(t,n,r)?104:92}function oo(t,n,r){var i=Qu(t,!1),e=no(Me.sb(t.duration,i),n,r);return e.$k(Me.sb(v.pow(2,32)-1,e.qp))?1:0}function fo(t,n,r){return 1===oo(t,n,r)?44:32}function so(t){if(t.hasOwnProperty("xh"))return t.xh;for(var n=0,r=0,i=t.jz;r<i.length;r++){i[r].yE.Fst&&(n+=1)}return t.xh=n,n}function co(t,n){var r=t.video&&0!==h.keys(t.video).length,i=t.audio&&0!==h.keys(t.audio).length;return n?0:8+(r?Iu:0)+(i?Iu:0)}function ao(t){return!au(t)&&t.zOt?t.zOt.length+12:0}function ho(t){return au(t)?110+t.dS.length+ao(t)+(t.SS&&t.ES?16:0):52+ao(t)}function vo(t,n){return au(t)&&n?16+4*so(t):0}function lo(t,n){return t.pOt&&n&&au(t)?16+8*t.jz.length:0}function _o(t,n){return 20+(n?4*t.jz.length:0)}function wo(t,n){return 16+(n?4*t.jz.length:0)}function yo(t,n){return au(t)?16+(n?8*t.jz.length:0):16+(n?8:0)}function po(t){return 16+(t?12:0)}function go(t,n){return 8+ho(t)+vo(t,n)+lo(t,n)+yo(t,n)+po(n)+_o(t,n)+wo(t,n)}function mo(t,n){return 8+(au(t)?Fu:Cu)+Mu+go(t,n)}function Io(t,n,r){return 8+fo(t,n,r)+Ou+mo(t,n)}function ko(t){var n=v.floor(Zu*t.duration||0),r=t.AOt;return n>v.pow(2,31)-1||r.$k(Me.gp(v.pow(2,31)-1,Zu))?1:0}function So(t,n){return n?1===ko(t)?24+(t.AOt.Tp()?20:40):24+(t.AOt.Tp()?12:24):0}function bo(t,n,r){return t&&0!==h.keys(t).length?8+uo(t,n,r)+Io(t,n,r)+So(t,n):0}function Eo(t,n,r){var i=ho(n),e=function(t){if(t===ye.$Ot)return qu;if(t===ye.qwt)return Xu;if(t===ye.Gwt||t===ye.OOt)return Xu;throw new c("unknown codec "+t)}(n.kOt);t.th(i),t.sc(Lu),t.th(0),t.th(1),t.th(i-16),t.sc(e),t.th(0),t.bh(0),t.bh(1),e===qu&&au(n)?(t.th(0),t.th(0),t.th(0),t.th(0),t.bh(n.width||0),t.bh(n.height||0),t.bh(72),t.bh(0),t.bh(72),t.bh(0),t.th(0),t.bh(1),t.sc([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.bh(24),t.sc([255,255]),t.th(8+n.dS.length),t.sc(Wu),t.sc(n.dS)):e===Xu&&cu(n)&&(t.th(0),t.th(0),t.bh(n.XOt),t.bh(16),t.bh(0),t.bh(0),t.bh(n.HOt),t.bh(0)),au(n)&&n.SS&&n.ES&&(t.th(16),t.sc(Ku),t.th(n.SS),t.th(n.ES)),!au(n)&&n.zOt&&(t.th(ao(n)),t.sc(Uu),t.th(0),t.sc(n.zOt))}function To(t,n,r){var i=Qu(n,!0),e=r?n.jz.length:0;!function(t){var n=t.length;if(n){var r=(t=ie(t,function(t,n){return function(t,n){return t.tp(n)}(t.yE.Bst,n.yE.Bst)}))[0].yE;r.QOt=Me.yp;for(var i=1;i<n;i+=1){var e=t[i].yE,u=e.Bst.cp(r.Bst);e.QOt=Me.Qp(u,Me.yp),r=e}}}(n.jz),t.th(e);for(var u=0;u<e;u+=1){var o=n.jz[u].yE.QOt;t.th(1),t.th(o.Kp(i,Ce.yb).Ip().toInt())}}function No(t,n,r,i){var e=go(n,!!i);t.th(e),t.sc(xu),Eo(t,n),function(t,n,r){t.th(yo(n,r)),t.sc(Hu),t.th(0),au(n)?To(t,n,r):function(t,n,r){t.th(r?1:0),r&&(t.th(n.jz.length),t.th(n.VOt))}(t,n,r)}(t,n,!!i),function(t,n,r){if(au(n)&&r){var i=vo(n,r);t.th(i),t.sc(Vu),t.th(0),t.th(so(n));for(var e=0;e<n.jz.length;e+=1)n.jz[e].yE.Fst&&t.th(e+1)}}(t,n,!!i),function(t,n,r){var i=Qu(n,!1);if(n.pOt&&r&&au(n)){hu(n.jz);var e=lo(n,r);t.th(e),t.sc(Tu),t.th(0),t.th(n.jz.length);for(var u=0,o=n.jz;u<o.length;u++){var f=o[u].yE.YOt;t.th(1),t.th(f.Kp(i,Ce.yb).Ip().toInt())}}}(t,n,!!i),function(t,n){t.th(po(n)),t.sc(ju),t.th(0),t.th(n?1:0),n&&(t.th(1),t.th(1),t.th(1))}(t,!!i),function(t,n,r){var i=_o(n,r);if(t.th(i),t.sc(Gu),t.th(0),t.th(0),t.th(r?n.jz.length:0),r)for(var e=0,u=n.jz;e<u.length;e++){var o=u[e];t.th(o.Tw)}}(t,n,!!i),function(t,n,r){var i=wo(n,!!r);t.th(i),t.sc(zu),t.th(0),t.th(r?n.jz.length:0),r&&t.sc(r)}(t,n,i)}function Ro(t,n,r,i){var e=mo(n,!!i);t.th(e),t.sc(Au),au(n)?function(t){t.sc(Pu)}(t):function(t){t.sc(Du)}(t),function(t){t.sc(Bu)}(t),No(t,n,0,i)}function Oo(t,n,r,i,e){var u=Io(n,!!i,e);t.th(u),t.sc(bu),function(t,n,r,i){var e=fo(n,r,i),u=Qu(n,!1),o=no(Me.sb(n.duration,u),r,i);u=v.round(u),t.th(e),t.sc(Eu),1===oo(n,r,i)?(t.th(16777216),t.mh(_t.ZERO),t.mh(_t.ZERO),t.th(u),nf(t,o)):(t.th(0),t.th(0),t.th(0),t.th(u),rf(t,o)),t.sc([85,196]),t.sc([0,0])}(t,n,!!i,e),function(t,n){n?t.sc(Nu):t.sc(Ru)}(t,au(n)),Ro(t,n,0,i)}function Ao(t,n){t.th(Iu),t.sc(mu),t.th(0),t.th(n),t.th(1),t.th(0),t.th(0),t.th(0)}function Do(t,n,r,i,e){var u=bo(n,!!r,e);n&&0!==u&&(t.th(u),t.sc(yu),function(t,n,r,i,e){var u=no(Me.sb(n.duration,Zu),i,e,n.AOt),o=uo(n,i,e),f=au(n);t.th(o),t.sc(pu),1===eo(n,i,e)?(t.th(16777231),t.mh(_t.ZERO),t.mh(_t.ZERO),t.th(r),t.th(0),nf(t,u)):(t.th(15),t.th(0),t.th(0),t.th(r),t.th(0),rf(t,u)),t.th(0),t.th(0),t.bh(0),t.bh(f?0:1),t.sc(f?[0,0]:Yu),t.sc([0,0]),t.sc($u),au(n)?(t.bh(n.width||0),t.bh(0),t.bh(n.height||0),t.bh(0)):(t.th(0),t.th(0))}(t,n,i,!!r,e),r&&function(t,n){var r=So(n,!0),i=v.floor(Zu*n.duration||0),e=ko(n);t.th(r),t.sc(ku),t.th(r-8),t.sc(Su),1===e?t.th(16777216):t.th(0),t.th(n.AOt.Tp()?1:2),n.AOt.Tp()||(1===e?(nf(t,n.AOt),t.sc([255,255,255,255,255,255,255,255])):(rf(t,n.AOt),t.sc([255,255,255,255])),t.bh(1),t.bh(0)),1===e?(t.mh(_t.fromNumber(i)),t.mh(_t.ZERO)):(t.th(i),t.th(0)),t.bh(1),t.bh(0)}(t,n),Oo(t,n,0,r,e))}function Co(t,n,r){var i=bo(t.video?t.video:void 0,n,r),e=bo(t.audio?t.audio:void 0,n,r);return 8+io(t,n,r)+co(t,n)+i+e}function Po(t,n,r,i,e){t.th(r),t.sc(du),function(t,n,r,i){var e=io(n,r,i),u=n.video&&no(Me.sb(n.video.duration,Zu),r,i,n.video.AOt)||Me.yp,o=n.audio&&no(Me.sb(n.audio.duration,Zu),r,i,n.audio.AOt)||Me.yp,f=Me.Qp(u,o);t.th(e),t.sc(wu),1===ro(n,r,i)?(t.th(16777216),t.mh(_t.ZERO),t.mh(_t.ZERO),t.th(Zu),nf(t,f)):(t.th(0),t.th(0),t.th(0),t.th(Zu),rf(t,f)),t.sc([0,1,0,0]),t.sc(Yu),t.sc([0,0,0,0,0,0,0,0,0,0]),t.sc($u),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(3)}(t,n,!!i,e),i||function(t,n){t.th(co(n,!1)),t.sc(gu),n.video&&0!==h.keys(n.video).length&&Ao(t,1),n.audio&&0!==h.keys(n.audio).length&&Ao(t,2)}(t,n),Do(t,n.video?n.video:void 0,i&&i.video,1,e),Do(t,n.audio?n.audio:void 0,i&&i.audio,2,e)}var Fo=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],Bo=[115,105,100,120],Mo=[109,111,111,102],xo=[109,102,104,100],Lo=16,Wo=[116,114,97,102],Uo=[116,102,104,100],Vo=24,Ho=[116,102,100,116],jo=[116,114,117,110],Go=[115,100,116,112];function zo(t){return au(t)?20+16*t.jz.length:20+4*t.jz.length}function Ko(t){return au(t)?12+t.jz.length:0}function qo(t,n){var r=Qu(t,!0);return v.round(n*r)>v.pow(2,32)-1?1:0}function Xo(t,n){return 1===qo(t,n)?20:16}function Yo(t,n){return t&&t.jz?8+Vo+Xo(t,n)+zo(t)+Ko(t):0}function $o(t,n){var r=Yo(t.audio?t.audio:void 0,n),i=Yo(t.video?t.video:void 0,n);return 8+Lo+r+i}function Zo(t){if(!t||!t.jz)return 0;for(var n=0,r=0,i=t.jz;r<i.length;r++){n+=i[r].Tw}return n}function Jo(t,n){return v.round(n*Zu)>v.pow(2,32)-1?1:0}function Qo(t,n,r,i){au(r)?function(t,n,r,i){var e=$o(n,i)+8,u=Qu(r,!1);hu(r.jz),t.th(zo(r)),t.sc(jo),t.sc([1,0,15,1]),t.th(r.jz.length),t.th(e);for(var o=0,f=r.jz;o<f.length;o++){var s=f[o];t.th(v.round(s.yE.Vg*u));var c=s.yE.YOt;t.th(s.Tw),t.sc(s.yE.Fst?[2,0,0,0]:[0,1,0,0]),t.th(c.Kp(u).Ip().toInt())}}(t,n,r,i):function(t,n,r,i){var e=Zo(n.video?n.video:void 0),u=$o(n,i)+8+e;t.th(zo(r)),t.sc(jo),t.sc([0,0,2,1]),t.th(r.jz.length),t.th(u);for(var o=0,f=r.jz;o<f.length;o++){var s=f[o];t.th(s.Tw)}}(t,n,r,i)}function tf(t,n,r,i,e){r&&(t.th(Yo(r,e)),t.sc(Wo),function(t,n,r){var i=Qu(n,!0),e=au(n)?v.round(i/(n.TOt.Jk()||0)):n.VOt;t.th(Vo),t.sc(Uo),t.th(40),t.th(r),t.th(e),t.sc(au(n)?[0,1,0,0]:[2,0,0,0])}(t,r,i),function(t,n,r){var i=Qu(n,!0),e=v.round(r*i);t.th(Xo(n,r)),t.sc(Ho),1===qo(n,r)?(t.th(16777216),t.mh(_t.fromNumber(e))):(t.th(0),t.th(e))}(t,r,e),Qo(t,n,r,e),function(t,n,r){if(au(r)){t.th(Ko(r)),t.sc(Go),t.sc([0,0,0,0]);for(var i=0,e=r.jz;i<e.length;i++)e[i].yE.Fst?t.zh(32):t.zh(16)}}(t,0,r))}function nf(t,n){t.mh(n.Kp(Zu).Ip())}function rf(t,n){t.th(n.Kp(Zu).Ip().toNumber())}var ef,uf={nv:function(t,n){n.su(function(t){var n=0;return t.audio&&(n+=function(t){var n,r=t.length,i=0;for(n=0;n<r;n+=1)i+=t[n].Tw;return i}(t.audio.jz)),n}(t));for(var r=0,i=t.audio&&t.audio.jz||[],e=i.length;r<e;)n.hh(i[r]),r+=1}},of=function(){function t(t){this.Vi=void 0,this.Rd=void 0,this.iv=0,this.Rd=t}var n=t.prototype;return n.sv=function(t,n,r){var i=this.iv,e=this.Vi;for(n=n||0,r=r||t.length;n<r;n+=1,i+=1)e[i]=t[n];this.iv=i},n.su=function(t){this.Vi=new w(t),this.iv=0},n.zh=function(t){this.Vi&&(this.Vi[this.iv]=t,this.iv+=1)},n.sc=function(t,n,r){this.Vi&&this.sv(t,n,r)},n.hh=function(t){this.iv=t.Qrt(this.Vi,this.iv)},n.kb=function(t){return t(this.Vi,this.Rd)},n.bh=function(t){return this.sc([(n=t)>>>8&255,255&n]);var n},n.th=function(t){return this.sc(me(t))},n.mh=function(t){var n=t.toUnsigned();this.th(n.high),this.th(n.low)},t}(),ff=t;function sf(t,n){return void 0===ef&&(ef=function(){var t=new w(1);try{return ff.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&ef?ff.postMessage(t,n):ff.postMessage(t)}var cf,af,hf,vf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lf=16383;function _f(t,n,r){for(var i,e,u,o=[],f=n;f<r;f+=3)o.push((i=t[f],e=t[f+1],u=t[f+2],vf[i>>2]+vf[(3&i)<<4|e>>4]+vf[(15&e)<<2|u>>6]+vf[63&u]));return o.join("")}function df(t){for(var n=t.length,r=n%3,i=[],e=n-r,u=0;u<e;u+=lf)i.push(_f(t,u,v.min(e,u+lf)));if(1===r){var o=t[n-1];i.push(vf[o>>2]+vf[(3&o)<<4]+"==")}else if(2===r){var f=t[n-2],s=t[n-1];i.push(vf[f>>2]+vf[(3&f)<<4|s>>4]+vf[(15&s)<<2]+"=")}return i.join("")}function wf(t){return{WA:t.WA,yE:{A$:t.yE.A$,AK:xe(t.yE.Pst)},jz:t.jz}}function yf(t){return{AK:xe(t.AK),xS:t.xS,_K:t._K,lK:t.lK,us:t.us,Krt:t.Krt,wK:t.wK,gK:t.gK}}function pf(t){return{_Ot:t._Ot,jz:[],kOt:t.kOt,pOt:t.pOt,duration:t.duration,bOt:t.bOt,AOt:xe(t.AOt),Rst:t.Rst,TOt:xe(t.TOt),SOt:t.SOt,EOt:xe(t.EOt),IOt:xe(t.IOt),ROt:xe(t.ROt),NOt:xe(t.NOt),DOt:xe(t.DOt),COt:xe(t.COt),POt:xe(t.POt)}}function gf(t){switch(t.kOt){case ye.Gwt:case ye.OOt:return function(t){return Mi({},mf(t),{kOt:t.kOt,jz:t.jz.map(function(t){return function(t){var n=If(t),r=(i=n.yE,Mi({},Sf(i),{BOt:i.BOt,LOt:i.LOt,xOt:i.xOt}));var i;return n.Bu(r)}(t)}),EDt:t.EDt,MOt:t.MOt})}(t);case ye.qwt:return function(t){return Mi({},mf(t),{kOt:t.kOt,jz:t.jz.map(function(t){return function(t){var n=If(t),r=(i=n.yE,Mi({},Sf(i),{ZA:i.ZA,IT:i.IT,FOt:i.FOt,Xwt:i.Xwt,UOt:i.UOt}));var i;return n.Bu(r)}(t)})})}(t)}}function mf(t){return Mi({},pf(t),{jz:[],kOt:t.kOt,HOt:t.HOt,VOt:t.VOt,XOt:t.XOt,zOt:t.zOt})}function If(t){var n=new be;return n.Xrt(t.GOt,0,t.qOt),n.yE=t.WOt,n}function kf(t){var n;return Mi({},{A$:(n=t).A$,Pst:xe(n.Pst)},{Ost:xe(t.Ost),Bst:xe(t.Bst)})}function Sf(t){return Mi({},kf(t))}!function(t){t.qwt="AMt",t.gg="TMt",t.SMt="EMt",t.IMt="RMt",t.NMt="DMt"}(cf||(cf={})),function(t){t.CMt="PMt",t.OMt="BMt"}(af||(af={})),function(t){t.LMt="audio/mp4",t.xMt="audio/mpeg",t.MMt="video/mp4"}(hf||(hf={}));var bf=t;function Ef(t,n,r){n={},r||(r="PIW0031"),bf.postMessage({TFt:"DFt",SFt:t,IFt:n.message||r,cv:n.name,av:n.stack,lv:JSON.stringify(n)})}function Tf(t,n){return{Vi:df(t),Rd:n}}bf.addEventListener("message",function(t){var n,r,i,e,u=t.data,o=u.nFt,f=u.sFt,s=u.eFt,c=[],a=f===af.CMt?function(t,n,r){return t.push(n.buffer),{Vi:n,Rd:r}}.bind(void 0,c):Tf;if("iFt"===o){i=function(t){return{audio:t.audio?gf(t.audio):void 0,video:t.video?(r=t.video,i=pf(r),Mi({},i,{kOt:r.kOt,jz:r.jz.map(function(t){return function(t){var n,r=If(t),i=Mi({},kf(n=r.yE),{Vg:n.Vg,Lst:xe(n.Lst),xst:n.xst,Mst:n.Mst,YOt:n.YOt&&xe(n.YOt),QOt:n.QOt&&xe(n.QOt),Fst:n.Fst,Vst:n.Vst,Ust:n.Ust,Hst:n.Hst});return r.Bu(i)}(t)}),jOt:r.jOt,KOt:r.KOt,dS:r.dS,width:r.width,height:r.height,Jht:r.Jht,ZOt:r.ZOt,nat:r.nat,kDt:r.kDt,pDt:r.pDt,SS:r.SS,ES:r.ES})):void 0,lOt:t.lOt?(n=t.lOt,{_Ot:n._Ot,$Dt:n.$Dt,qw:n.qw,swt:n.swt,wOt:n.wOt,gOt:n.gOt,mOt:n.mOt.map(wf),Kw:[]}):void 0,Ust:t.Ust?t.Ust.map(yf):t.Ust,yOt:xe(t.yOt)};var n,r,i}(u.oFt),u.oFt=void 0;try{if((e=u.rFt)===cf.NMt||e===cf.IMt||e===cf.SMt)n=function(t,n){var r=t.uFt,i=t.hFt,e=xe(t.cFt),u=xe(t.fFt),o=t.aFt&&xe(t.aFt);switch(t.rFt){case cf.SMt:var f=new of(r);return su(n,i,e,u,f),f;case cf.IMt:var s=new of(r);return fu(n,o,s),s;case cf.NMt:var c={jSt:new of(r),xFt:new of(r),kb:function(t){return{jSt:c.jSt.kb(t),xFt:c.xFt.kb(t)}}};return fu(n,o,c.jSt),su(n,i,e,u,c.xFt),c}}(u,i);else{if(!function(t){var n=t.rFt;return n===cf.gg||n===cf.qwt}(u))return Ef(s,{},"PIW0072");n=function(t,n){var r=t.uFt;switch(t.rFt){case cf.qwt:var i=new of(r);return uf.nv(n,i),i;case cf.gg:var e=new of(r);return ou(n,e),e}}(u,i)}}catch(t){return Ef(s,t,"PIW0082")}try{r=n.kb(a)}catch(t){return Ef(s,t,"PIW0077")}try{return sf({TFt:"RFt",SFt:s,EFt:r},c)}catch(t){return Ef(s,t,"PIW0078")}}return Ef(s,{},"PIW0090")},!1),bf.postMessage({EBt:"3.3.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
|