theoplayer 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.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:21:23.223Z
|
|
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.g;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.N=!1,this.I=!1,this.j=new o(16),this.B=new o(16),this.U=!1,this.Y=!0;var t=this;this.drainQueues=function(){t.F()},this.H=e}function h(t,n,i){this.j.push(t,n,i),this.Z()}function a(t,n,i){this.B.push(t,n,i),this.Z()}function v(t){this.B.q(t),this.Z()}function l(t){for(;t.length()>0;)d(t)}function d(t){var n=t.shift();if("function"!=typeof n)n.J();else{var i=t.shift(),r=t.shift();n.call(i,r)}}f.prototype.setScheduler=function(t){var n=this.H;return this.H=t,this.N=!0,n},f.prototype.hasCustomScheduler=function(){return this.N},f.prototype.enableTrampoline=function(){this.Y=!0},f.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this.Y=!1)},f.prototype.haveItemsQueued=function(){return this.I||this.U},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.H(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.Y?h.call(this,t,n,i):this.H(function(){u(function(){t.call(n,i)},100)})},f.prototype.invoke=function(t,n,i){this.Y?a.call(this,t,n,i):this.H(function(){t.call(n,i)})},f.prototype.settlePromises=function(t){this.Y?v.call(this,t):this.H(function(){t.J()})}):(f.prototype.invokeLater=h,f.prototype.invoke=a,f.prototype.settlePromises=v),f.prototype.F=function(){l(this.B),this.K(),this.U=!0,l(this.j)},f.prototype.Z=function(){this.I||(this.I=!0,this.H(this.drainQueues))},f.prototype.K=function(){this.I=!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.nt(n)},o=function(t,n){n.promiseRejectionQueued=!0,n.bindingPromise.ut(u,u,null,this,t)},s=function(t,n){0==(50397184&this.ot)&&this.ct(n.target)},f=function(t,n){n.promiseRejectionQueued||this.nt(t)};t.prototype.bind=function(u){e||(e=!0,t.prototype.vt=r.propagateFromFunction(),t.prototype.dt=r.boundValueFunction());var c=i(u),h=new t(n);h.vt(this,1);var a=this.wt();if(h.yt(c),c instanceof t){var v={promiseRejectionQueued:!1,promise:h,target:a,bindingPromise:c};a.ut(n,o,void 0,h,v),c.ut(s,f,void 0,h,v),h.At(c)}else h.ct(a);return h},t.prototype.yt=function(t){void 0!==t?(this.ot=2097152|this.ot,this._t=t):this.ot=-2097153&this.ot},t.prototype.kt=function(){return 2097152==(2097152&this.ot)},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.ut(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.ut(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.Mt;n.prototype.break=n.prototype.cancel=function(){if(!e.cancellation())return this.bt("cancellation is disabled");for(var t=this,n=t;t.Nt();){if(!t.Tt(n)){n.Dt()?n.It().cancel():n.Et();break}var i=t.St;if(null==i||!i.Nt()){t.Dt()?t.It().cancel():t.Et();break}t.Dt()&&t.It().cancel(),t.Lt(),n=t,t=i}},n.prototype.jt=function(){this.Ct--},n.prototype.Ot=function(){return void 0===this.Ct||this.Ct<=0},n.prototype.Tt=function(t){return t===this?(this.Ct=0,this.xt(),!0):(this.jt(),!!this.Ot()&&(this.xt(),!0))},n.prototype.Et=function(){this.Ot()&&this.zt()},n.prototype.zt=function(){this.Nt()&&(this.Rt(),f.invoke(this.Bt,this,void 0))},n.prototype.Bt=function(){this.Ut()>0&&this.J()},n.prototype.Pt=function(){this.Qt=void 0},n.prototype.Nt=function(){return this.isPending()&&!this.Yt()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.prototype.Ft=function(t,n){if(u.isArray(t))for(var i=0;i<t.length;++i)this.Ft(t[i],n);else if(void 0!==t)if("function"==typeof t){if(!n){var r=o(t).call(this.dt());r===s&&(this.Gt(r.e),f.throwLater(r.e))}}else t._resultCancelled(this)},n.prototype.xt=function(){var t=this.Vt();this.Pt(),f.invoke(this.Ft,this,t)},n.prototype.Wt=function(){this.Nt()&&(this.Ft(this.Vt(),!0),this.Pt())},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.dt();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.Ht=new r.CapturedTrace(e())}function e(){var t=i.length-1;if(t>=0)return i[t]}return t.prototype.Xt=function(){},t.prototype.Zt=function(){},t.prototype.qt=function(){return null},t.Jt=t.prototype.Jt=function(){},r.prototype.Zt=function(){void 0!==this.Ht&&(this.Ht.Xt=null,i.push(this.Ht))},r.prototype.qt=function(){if(void 0!==this.Ht){var t=i.pop(),n=t.Xt;return t.Xt=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.Zt,u=t.prototype.qt,o=t.Jt,s=t.prototype.Jt,f=t.prototype.Xt;r.deactivateLongStackTraces=function(){t.prototype.Zt=i,t.prototype.qt=u,t.Jt=o,t.prototype.Jt=s,t.prototype.Xt=f,n=!1},n=!0,t.prototype.Zt=r.prototype.Zt,t.prototype.qt=r.prototype.qt,t.Jt=t.prototype.Jt=e,t.prototype.Xt=function(){var t=this.Jt();t&&null==t.Xt&&(t.Xt=this)}},r}},{}],9:[function(t,n,i){n.exports=function(n,i){var e,o,s,f=n.Kt,v=n.Mt,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.wt();t.ot=-1048577&t.ot|524288},n.prototype.$t=function(){if(0==(524288&this.ot)){this.in();var t=this;u(function(){t.un()},1)}},n.prototype.hn=function(){Y("rejectionHandled",e,void 0,this)},n.prototype.cn=function(){this.ot=268435456|this.ot},n.prototype.fn=function(){return 0!=(268435456&this.ot)},n.prototype.un=function(){if(this.vn()){var t=this.dn();this.wn(),Y("unhandledRejection",o,t,this)}},n.prototype.wn=function(){this.ot=262144|this.ot},n.prototype.yn=function(){this.ot=-262145&this.ot},n.prototype.An=function(){return(262144&this.ot)>0},n.prototype.in=function(){this.ot=1048576|this.ot},n.prototype._n=function(){this.ot=-1048577&this.ot,this.An()&&(this.yn(),this.hn())},n.prototype.vn=function(){return(1048576&this.ot)>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.pn,r=n.prototype.Gt,e=n.prototype.Mn;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.pn=t,n.prototype.Gt=r,n.prototype.Mn=e,i.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.pn=G,n.prototype.Gt=V,n.prototype.Mn=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.Nn(t)})}catch(t){return t}}function B(t){if(!this.Nt())return this;var n=this.Vt();void 0!==n?_.isArray(n)?n.push(t):this.At([n,t]):this.At(t)}function M(){return this.Qt}function x(t){this.Qt=t}function L(){this.St=void 0,this.Qt=void 0}function U(t,n){if(0!=(1&n)){this.St=t;var i=t.Ct;void 0===i&&(i=0),t.Ct=i+1}0!=(2&n)&&t.kt()&&this.yt(t._t)}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.vt=U,n.prototype.Vt=M,n.prototype.At=x,n.prototype.Nn=B,n.prototype.Dn=j,W=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.In=F):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.In=P)),n},n.prototype.In=P,n.prototype.Dn=function(t,n,i){try{t(n,i)}catch(t){return t}},n.prototype.Vt=function(){},n.prototype.At=function(t){},n.prototype.Nn=function(t){},n.prototype.pn=function(){},n.prototype.Gt=function(){},n.prototype.Mn=function(){},n.prototype.Tn=function(){},n.prototype.vt=function(t,n){};var W=function(t,n){0!=(2&n)&&t.kt()&&this.yt(t._t)};function q(){var t=this._t;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function G(){this.Ht=new it(this.Jt())}function V(t,n){if(p(t)){var i=this.Ht;if(void 0!==i&&n&&(i=i.En),void 0!==i)i.attachExtraTrace(t);else if(!t.Sn){var r=$(t);_.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),_.notEnumerableProp(t,"Sn",!0)}}}function H(){this.Ht=void 0}function X(t,i,r){if(et.warnings){var e,u=new d(t);if(i)r.Gt(u);else if(et.longStackTraces&&(e=n.Jt()))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.En=t,this.Ln=0;var n=this.Ut=1+(void 0===t?0:t.Ut);rt(this,it),n>32&&this.uncycle()}_.inherits(it,c),i.CapturedTrace=it,it.prototype.uncycle=function(){var t=this.Ut;if(!(t<2)){for(var n=[],i={},r=0,e=this;void 0!==e;++r)n.push(e),e=e.En;for(var r=(t=this.Ut=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].En=void 0,n[s-1].Ut=1),n[r].En=void 0,n[r].Ut=1;var f=r>0?n[r-1]:this;s<t-1?(f.En=n[s+1],f.En.uncycle(),f.Ut=f.En.Ut+1):(f.En=void 0,f.Ut=1);for(var c=f.Ut+1,h=r-2;h>=0;--h)n[h].Ut=c,c++;return}}}},it.prototype.attachExtraTrace=function(t){if(!t.Sn){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.En;!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,"Sn",!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.fn())return;if(0==(65535&r.ot))return;i&&(i+=" ");var u="",o="";if(n.Ht){for(var s=n.Ht.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.ut(n,void 0,void 0,{value:i},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.ut(i,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.ut(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.ut(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).ut(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).ut(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.jn;b||(b=o({CancellationError:d,TimeoutError:_,OperationalError:m,RejectionError:m,AggregateError:w}),u.defineProperty(c,"jn",{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.nt(n):t.cancelPromise.zt(),t.cancelPromise=null,!0)}function v(){return d.call(this,this.promise.wt().dn())}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.dt()):s.call(e.dt(),t);if(f===r)return f;if(void 0!==f){e.cn();var h=i(f,e);if(h instanceof n){if(null!=this.cancelPromise){if(h.Yt()){var d=new u("late cancellation observer");return e.Gt(d),o.e=d,o}h.isPending()&&h.Nn(new c(this))}return h.ut(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.ut(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.On=new n(r);this.xn=s.lastly(function(){return f}),s.pn(),s.At(this)}else{var c=this.xn=new n(r);c.pn()}this.zn=u,this.Rn=t,this.Bn=i,this.Un=void 0,this.Pn="function"==typeof e?[e].concat(d):d,this.Qn=null,this.Yn=!1}h.inherits(_,u),_.prototype.Fn=function(){return null===this.xn},_.prototype.Gn=function(){this.xn=this.Un=null,o.cancellation()&&null!==this.On&&(this.On.Vn(),this.On=null)},_.prototype.Wn=function(){if(!this.Fn()){var t,i=void 0!==this.Un.return;if(i)this.xn.Zt(),t=l(this.Un.return).call(this.Un,void 0),this.xn.qt();else{var r=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=r,this.xn.Gt(r),this.xn.Zt(),t=l(this.Un.throw).call(this.Un,r),this.xn.qt()}this.Yn=!0,this.Qn=null,this.Hn(t)}},_.prototype.Xn=function(t){this.Qn=null,this.xn.Zt();var n=l(this.Un.next).call(this.Un,t);this.xn.qt(),this.Hn(n)},_.prototype.Zn=function(t){this.Qn=null,this.xn.Gt(t),this.xn.Zt();var n=l(this.Un.throw).call(this.Un,t);this.xn.qt(),this.Hn(n)},_.prototype._resultCancelled=function(){if(this.Qn instanceof n){var t=this.Qn;this.Qn=null,t.cancel()}},_.prototype.promise=function(){return this.xn},_.prototype.qn=function(){this.Un=this.Rn.call(this.Bn),this.Bn=this.Rn=void 0,this.Xn(void 0)},_.prototype.Hn=function(t){var i=this.xn;if(t===v)return this.Gn(),this.Yn?i.cancel():i.Jn(t.e,!1);var r=t.value;if(!0===t.done)return this.Gn(),this.Yn?i.cancel():i.ct(r);var u=e(r,this.xn);if(u instanceof n||null!==(u=function(t,i,r){for(var u=0;u<i.length;++u){r.Zt();var o=l(i[u])(t);if(r.qt(),o===v){r.Zt();var s=n.reject(v.e);return r.qt(),s}var f=e(o,r);if(f instanceof n)return f}return null}(u,this.Pn,this.xn))){var o=(u=u.wt()).ot;0==(50397184&o)?(this.Qn=u,u.Kn(this,null)):0!=(33554432&o)?n.Mt.invoke(this.Xn,this,u.$n()):0!=(16777216&o)?n.Mt.invoke(this.Zn,this,u.ni()):this.Wn()}else this.Zn(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.zn.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.Un=n,u.Xn(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.qn(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.Mt;function l(t,n,i,r){this.constructor$(t),this.xn.pn();var e=s();this.ri=null===e?n:f.domainBind(e,n),this.ei=r===u?new Array(this.length()):null,this.oi=i,this.ai=0,this.ci=[],v.invoke(this.di,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.di=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Xn=function(t,i){var r=this.gi,u=this.length(),s=this.ei,f=this.oi;if(i<0){if(r[i=-1*i-1]=t,f>=1&&(this.ai--,this.wi(),this.Fn()))return!0}else{if(f>=1&&this.ai>=f)return r[i]=t,this.ci.push(i),!1;null!==s&&(s[i]=t);var h=this.xn,v=this.ri,l=h.dt();h.Zt();var d=c(v).call(l,t,i,u),_=h.qt();if(o.checkForgottenReturns(d,_,null!==s?"Promise.filter":"Promise.map",h),d===a)return this.nt(d.e),!0;var w=e(d,this.xn);if(w instanceof n){var p=(w=w.wt()).ot;if(0==(50397184&p))return f>=1&&this.ai++,r[i]=w,w.Kn(this,-1*(i+1)),!1;if(0==(33554432&p))return 0!=(16777216&p)?(this.nt(w.ni()),!0):(this.zt(),!0);d=w.$n()}r[i]=d}var y=++this.Ai;return y>=u&&(null!==s?this._i(r,s):this.Mi(r),!0)},l.prototype.wi=function(){for(var t=this.ci,n=this.oi,i=this.gi;t.length>0&&this.ai<n;){if(this.Fn())return;var r=t.pop();this.Xn(i[r],r)}},l.prototype._i=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.Mi(r)},l.prototype.preservedValues=function(){return this.ei},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.pn(),r.Zt();var e=s(t).apply(this,arguments),o=r.qt();return u.checkForgottenReturns(e,o,"Promise.method",r),r.Ni(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.pn(),f.Zt(),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.qt();return u.checkForgottenReturns(r,a,"Promise.try",f),f.Ni(r),f},n.prototype.Ni=function(t){t===o.errorObj?this.Jn(t.e,!1):this.ct(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.Gt(u),t.nt(u)}else if(n){var o=[].slice.call(arguments,1);t.Vn(o)}else t.Vn(r);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,i){n.exports=function(n){var i=t("./util"),r=n.Mt,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.dt(),[null].concat(t));o===u&&r.throwLater(o.e)}function s(t,n){var i=this.dt(),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.dt(),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.ut(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.wt())},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,"Mt",{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.ot=0,this.Ti=void 0,this.Di=void 0,this.Ii=void 0,this.Ei=void 0,this.Si(t),this.Xt(),this.In("promiseCreated",this)}function O(t){this.promise.ct(t)}function D(t){this.promise.Jn(t,!1)}function C(t){var n=new N(w);n.Ti=t,n.Di=t,n.Ii=t,n.Ei=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.ut(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.ut(t,n,void 0,void 0,void 0)},N.prototype.done=function(t,n){var i=this.ut(t,n,void 0,void 0,void 0);i.Li()},N.prototype.spread=function(t){return"function"!=typeof t?e("expecting a function but got "+f.classString(t)):this.all().ut(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.pn();var i=arguments.length>1&&!!a(arguments[1]).multiArgs,r=A(t)(T(n,i));return r===R&&n.Jn(r.e,!0),n.ji()||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)).pn(),n.Oi(),n.Di=t),n},N.resolve=N.fulfilled=N.cast,N.reject=N.rejected=function(t){var n=new N(w);return n.pn(),n.Jn(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.ut=function(t,n,i,r,e){var u=void 0!==e,s=u?e:new N(w),c=this.wt(),h=c.ot;u||(s.vt(this,3),s.pn(),void 0===r&&0!=(2097152&this.ot)&&(r=0!=(50397184&h)?this.dt():c===this?void 0:this._t),this.In("promiseChained",this,s));var a=o();if(0!=(50397184&h)){var l,d,p=c.xi;0!=(33554432&h)?(d=c.Di,l=t):0!=(16777216&h)?(d=c.Ti,l=n,c._n()):(p=c.zi,d=new _("late cancellation observer"),c.Gt(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.Ri(t,n,s,r,a);return s},N.prototype.Ut=function(){return 65535&this.ot},N.prototype.ji=function(){return 0!=(117506048&this.ot)},N.prototype.Dt=function(){return 67108864==(67108864&this.ot)},N.prototype.Bi=function(t){this.ot=-65536&this.ot|65535&t},N.prototype.Oi=function(){this.ot=33554432|this.ot,this.In("promiseFulfilled",this)},N.prototype.Ui=function(){this.ot=16777216|this.ot,this.In("promiseRejected",this)},N.prototype.Pi=function(){this.ot=67108864|this.ot,this.In("promiseResolved",this)},N.prototype.Li=function(){this.ot=4194304|this.ot},N.prototype.Qi=function(){return(4194304&this.ot)>0},N.prototype.Yi=function(){this.ot=-65537&this.ot},N.prototype.Rt=function(){this.ot=65536|this.ot,this.In("promiseCancelled",this)},N.prototype.Lt=function(){this.ot=8388608|this.ot},N.prototype.Ci=function(){v.hasCustomScheduler()||(this.ot=134217728|this.ot)},N.prototype.Fi=function(t){var n=0===t?this.Ei:this[4*t-4+3];if(n!==s)return void 0===n&&this.kt()?this.dt():n},N.prototype.Gi=function(t){return this[4*t-4+2]},N.prototype.Vi=function(t){return this[4*t-4+0]},N.prototype.Wi=function(t){return this[4*t-4+1]},N.prototype.dt=function(){},N.prototype.Hi=function(t){t.ot;var n=t.Ti,i=t.Di,r=t.Ii,e=t.Fi(0);void 0===e&&(e=s),this.Ri(n,i,r,e,null)},N.prototype.Xi=function(t,n){var i=t.Vi(n),r=t.Wi(n),e=t.Gi(n),u=t.Fi(n);void 0===u&&(u=s),this.Ri(i,r,e,u,null)},N.prototype.Ri=function(t,n,i,r,e){var u=this.Ut();if(u>=65531&&(u=0,this.Bi(0)),0===u)this.Ii=i,this.Ei=r,"function"==typeof t&&(this.Ti=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this.Di=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.Bi(u+1),u},N.prototype.Kn=function(t,n){this.Ri(void 0,void 0,n,t,null)},N.prototype.ct=function(t,n){if(0==(117506048&this.ot)){if(t===this)return this.Jn(i(),!1);var r=g(t,this);if(!(r instanceof N))return this.Vn(t);n&&this.vt(r,2);var e=r.wt();if(e!==this){var u=e.ot;if(0==(50397184&u)){var o=this.Ut();o>0&&e.Hi(this);for(var s=1;s<o;++s)e.Xi(this,s);this.Pi(),this.Bi(0),this.Zi(e)}else if(0!=(33554432&u))this.Vn(e.$n());else if(0!=(16777216&u))this.nt(e.ni());else{var f=new _("late cancellation observer");e.Gt(f),this.nt(f)}}else this.nt(i())}},N.prototype.Jn=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.Gt(r,!!n&&e),this.nt(t)},N.prototype.Si=function(t){if(t!==w){var n=this;this.pn(),this.Zt();var i=!0,r=this.Dn(t,function(t){n.ct(t)},function(t){n.Jn(t,i)});i=!1,this.qt(),void 0!==r&&n.Jn(r,!0)}},N.prototype.qi=function(t,n,i,r){var e=r.ot;if(0==(65536&e)){var u;r.Zt(),n===p?i&&"number"==typeof i.length?u=A(t).apply(this.dt(),i):(u=R).e=new d("cannot .spread() a non-array: "+f.classString(i)):u=A(t).call(n,i);var o=r.qt();0==(65536&(e=r.ot))&&(u===y?r.nt(i):u===R?r.Jn(u.e,!1):(I.checkForgottenReturns(u,o,"",r,this),r.ct(u)))}},N.prototype.wt=function(){for(var t=this;t.Dt();)t=t.It();return t},N.prototype.It=function(){return this.Di},N.prototype.Zi=function(t){this.Di=t},N.prototype.Ji=function(t,n,i,e){var o=t instanceof N,s=this.ot,f=0!=(134217728&s);0!=(65536&s)?(o&&t.Wt(),i instanceof S&&i.isFinallyHandler()?(i.cancelPromise=t,A(n).call(i,e)===R&&t.nt(R.e)):n===r?t.Vn(r.call(i)):i instanceof u?i.Wn(t):o||t instanceof m?t.zt():i.cancel()):"function"==typeof n?o?(f&&t.Ci(),this.qi(n,i,e,t)):n.call(i,e,t):i instanceof u?i.Fn()||(0!=(33554432&s)?i.Xn(e,t):i.Zn(e,t)):o&&(f&&t.Ci(),0!=(33554432&s)?t.Vn(e):t.nt(e))},N.prototype.zi=function(t){var n=t.handler,i=t.promise,r=t.receiver,e=t.value;"function"==typeof n?i instanceof N?this.qi(n,r,e,i):n.call(r,e,i):i instanceof N&&i.nt(e)},N.prototype.xi=function(t){this.Ji(t.promise,t.handler,t.receiver,t.value)},N.prototype.Ki=function(t,n,i){var r=this.Ii,e=this.Fi(0);this.Ii=void 0,this.Ei=void 0,this.Ji(r,t,e,n)},N.prototype.$i=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},N.prototype.Vn=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(t===this){var r=i();return this.Gt(r),this.nt(r)}this.Oi(),this.Di=t,(65535&n)>0&&(0!=(134217728&n)?this.J():v.settlePromises(this),this.Mn())}},N.prototype.nt=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(this.Ui(),this.Ti=t,this.Qi())return v.fatalError(t,f.isNode);(65535&n)>0?v.settlePromises(this):this.$t()}},N.prototype.ir=function(t,n){for(var i=1;i<t;i++){var r=this.Vi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.rr=function(t,n){for(var i=1;i<t;i++){var r=this.Wi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.J=function(){var t=this.ot,n=65535&t;if(n>0){if(0!=(16842752&t)){var i=this.Ti;this.Ki(this.Di,i,t),this.rr(n,i)}else{var r=this.Di;this.Ki(this.Ti,r,t),this.ir(n,r)}this.Bi(0)}this.Tn()},N.prototype.dn=function(){var t=this.ot;return 0!=(33554432&t)?this.Di: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,"dr",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.xn=new n(i);t instanceof n&&r.vt(t,3),r.At(this),this.gi=t,this.Ut=0,this.Ai=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,u),s.prototype.length=function(){return this.Ut},s.prototype.promise=function(){return this.xn},s.prototype._init=function t(i,u){var s=r(this.gi,this.xn);if(s instanceof n){var f=(s=s.wt()).ot;if(this.gi=s,0==(50397184&f))return this.xn.Ci(),s.ut(t,this.nt,void 0,this,u);if(0==(33554432&f))return 0!=(16777216&f)?this.nt(s.ni()):this.zt();s=s.$n()}if(null!==(s=o.asArray(s)))0!==s.length?this.gr(s):-5===u?this.wr():this.Mi(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.xn.Jn(c,!1)}},s.prototype.gr=function(t){var i=this.getActualLength(t.length);this.Ut=i,this.gi=this.shouldCopyValues()?new Array(i):this.gi;for(var e=this.xn,u=!1,o=null,s=0;s<i;++s){var f=r(t[s],e);f instanceof n?(f=f.wt(),o=f.ot):o=null,u?null!==o&&f.suppressUnhandledRejections():null!==o?0==(50397184&o)?(f.Kn(this,s),this.gi[s]=f):u=0!=(33554432&o)?this.Xn(f.$n(),s):0!=(16777216&o)?this.Zn(f.ni(),s):this.Wn(s):u=this.Xn(f,s)}u||e.Ci()},s.prototype.Fn=function(){return null===this.gi},s.prototype.Mi=function(t){this.gi=null,this.xn.Vn(t)},s.prototype.zt=function(){!this.Fn()&&this.xn.Nt()&&(this.gi=null,this.xn.zt())},s.prototype.nt=function(t){this.gi=null,this.xn.Jn(t,!1)},s.prototype.Xn=function(t,n){this.gi[n]=t;var i=++this.Ai;return i>=this.Ut&&(this.Mi(this.gi),!0)},s.prototype.Wn=function(){return this.zt(),!0},s.prototype.Zn=function(t){return this.Ai++,this.nt(t),!0},s.prototype._resultCancelled=function(){if(!this.Fn()){var t=this.gi;if(this.zt(),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={yr:!0},v=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","yr"].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.yr}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.pn();var h="string"==typeof d&&this!==l?this[d]:t,a=u(c,v);try{h.apply(e,o(arguments,a))}catch(t){c.Jn(s(t),!0,!0)}return c.ji()||c.Ci(),c}return"string"==typeof d&&(t=h),e.notEnumerableProp(_,"yr",!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,"yr",!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.Ar=i,this._init$(void 0,i?-6:-3)}function a(t){var i,u=r(t);return s(u)?(i=u instanceof n?u.ut(n.props,void 0,void 0,void 0,void 0):new h(u).promise(),u instanceof n&&i.vt(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.Xn=function(t,n){this.gi[n]=t;var i=++this.Ai;if(i>=this.Ut){var r;if(this.Ar)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.gi);else{r={};for(var e=this.length(),o=0,s=this.length();o<s;++o)r[this.gi[o+e]]=this.gi[o]}return this.Mi(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._r=t,this.Ut=0,this.Mr=0}r.prototype.Nr=function(t){return this._r<t},r.prototype.q=function(t){var n=this.length();this.Tr(n+1);var i=this.Mr+n&this._r-1;this[i]=t,this.Ut=n+1},r.prototype.push=function(t,n,i){var r=this.length()+3;if(this.Nr(r))return this.q(t),this.q(n),void this.q(i);var e=this.Mr+r-3;this.Tr(r);var u=this._r-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=i,this.Ut=r},r.prototype.shift=function(){var t=this.Mr,n=this[t];return this[t]=void 0,this.Mr=t+1&this._r-1,this.Ut--,n},r.prototype.length=function(){return this.Ut},r.prototype.Tr=function(t){this._r<t&&this.Dr(this._r<<1)},r.prototype.Dr=function(t){var n=this._r;this._r=t;var i=this.Mr,r=this.Ut,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.vt(s,3);for(var h=c.Vn,a=c.nt,v=0,l=t.length;v<l;++v){var d=t[v];(void 0!==d||v in t)&&n.cast(d).ut(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)).Nn(this),this.Er=r,this.Sr=null,this.Lr=e===u?Array(this.Ut):0===e?null:void 0,this.xn.pn(),this._init$(void 0,-5)}function a(t,n){this.isFulfilled()?n.Mi(t):n.nt(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.jr(t);var i=e(this.value,this.array.xn);return i instanceof n?(this.array.Sr=i,i.ut(d,void 0,void 0,this,void 0)):d.call(this,i)}function d(t){var i,r=this.array,e=r.xn,u=c(r._fn);e.Zt(),(i=void 0!==r.Lr?u.call(e.dt(),t,this.index,this.length):u.call(e.dt(),this.accum,t,this.index,this.length))instanceof n&&(r.Sr=i);var s=e.qt();return o.checkForgottenReturns(i,s,void 0!==r.Lr?"Promise.each":"Promise.reduce",e),i}f.inherits(h,i),h.prototype.jr=function(t){void 0!==this.Lr&&null!==this.Lr&&t!==u&&this.Lr.push(t)},h.prototype.Cr=function(t){return null!==this.Lr&&this.Lr.push(t),this.Lr},h.prototype._init=function(){},h.prototype.wr=function(){this.Mi(void 0!==this.Lr?this.Lr:this.Er)},h.prototype.shouldCopyValues=function(){return!1},h.prototype.Mi=function(t){this.xn.ct(t),this.gi=null},h.prototype._resultCancelled=function(t){if(t===this.Er)return this.zt();this.Fn()||(this._resultCancelled$(),this.Sr instanceof n&&this.Sr.cancel(),this.Er instanceof n&&this.Er.cancel())},h.prototype.gr=function(t){var i,r;this.gi=t;var e=t.length;if(void 0!==this.Er?(i=this.Er,r=0):(i=n.resolve(t[0]),r=1),this.Sr=i,!i.isRejected())for(;r<e;++r){var u={accum:null,value:t[r],index:r,length:e,array:this};i=i.ut(l,void 0,void 0,u,void 0)}void 0!==this.Lr&&(i=i.ut(this.Cr,void 0,void 0,this,void 0)),i.ut(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.Or=function(t,n){this.gi[t]=n;var i=++this.Ai;return i>=this.Ut&&(this.Mi(this.gi),!0)},o.prototype.Xn=function(t,n){var i=new e;return i.ot=33554432,i.xr=t,this.Or(n,i)},o.prototype.Zn=function(t,n){var i=new e;return i.ot=16777216,i.xr=t,this.Or(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.zr=0,this.Rr=!1,this.Br=!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.Br)if(0!==this.zr){this._init$(void 0,-5);var t=s(this.gi);!this.Fn()&&t&&this.zr>this.Ur()&&this.nt(this.Pr(this.length()))}else this.Mi([])},c.prototype.init=function(){this.Br=!0,this._init()},c.prototype.setUnwrap=function(){this.Rr=!0},c.prototype.howMany=function(){return this.zr},c.prototype.setHowMany=function(t){this.zr=t},c.prototype.Xn=function(t){return this.Qr(t),this.Yr()===this.howMany()&&(this.gi.length=this.howMany(),1===this.howMany()&&this.Rr?this.Mi(this.gi[0]):this.Mi(this.gi),!0)},c.prototype.Zn=function(t){return this.Fr(t),this.Gr()},c.prototype.Wn=function(){return this.gi instanceof n||null==this.gi?this.zt():(this.Fr(f),this.Gr())},c.prototype.Gr=function(){if(this.howMany()>this.Ur()){for(var t=new o,n=this.length();n<this.gi.length;++n)this.gi[n]!==f&&t.push(this.gi[n]);return t.length>0?this.nt(t):this.zt(),!0}return!1},c.prototype.Yr=function(){return this.Ai},c.prototype.Vr=function(){return this.gi.length-this.length()},c.prototype.Fr=function(t){this.gi.push(t)},c.prototype.Qr=function(t){this.gi[this.Ai++]=t},c.prototype.Ur=function(){return this.length()-this.Vr()},c.prototype.Pr=function(t){var n="Input array must contain at least "+this.zr+" items but contains only "+t+" items";return new u(n)},c.prototype.wr=function(){this.nt(this.Pr(0))},n.some=function(t,n){return h(t,n)},n.prototype.some=function(t){return h(this,t)},n.g=c}},{"./errors":12,"./util":36}],32:[function(t,n,i){n.exports=function(t){function n(t){void 0!==t?(t=t.wt(),this.ot=t.ot,this.xr=t.ji()?t.dn():void 0):(this.ot=0,this.xr=void 0)}n.prototype.dn=function(){return this.xr};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.dn()},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.dn()},e=n.prototype.isFulfilled=function(){return 0!=(33554432&this.ot)},u=n.prototype.isRejected=function(){return 0!=(16777216&this.ot)},o=n.prototype.isPending=function(){return 0==(50397184&this.ot)},s=n.prototype.isResolved=function(){return 0!=(50331648&this.ot)};n.prototype.isCancelled=function(){return 0!=(8454144&this.ot)},t.prototype.Wr=function(){return 65536==(65536&this.ot)},t.prototype.Yt=function(){return this.wt().Wr()},t.prototype.isCancelled=function(){return 0!=(8454144&this.wt().ot)},t.prototype.isPending=function(){return o.call(this.wt())},t.prototype.isRejected=function(){return u.call(this.wt())},t.prototype.isFulfilled=function(){return e.call(this.wt())},t.prototype.isResolved=function(){return s.call(this.wt())},t.prototype.value=function(){return i.call(this.wt())},t.prototype.reason=function(){var t=this.wt();return t._n(),r.call(t)},t.prototype.$n=function(){return this.dn()},t.prototype.ni=function(){return this._n(),this.dn()},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.Zt();var c=n.reject(f.e);return s&&s.qt(),c}if("function"==typeof f){if(function(t){try{return o.call(t,"Ii")}catch(t){return!1}}(t)){var c=new n(i);return t.ut(c.Vn,c.nt,void 0,c,null),c}return function(t,u,o){var s=new n(i),f=s;o&&o.Zt(),s.pn(),o&&o.qt();var c=!0,h=r.tryCatch(u).call(t,function(t){s&&(s.ct(t),s=null)},function(t){s&&(s.Jn(t,c,!0),s=null)});return c=!1,s&&h===e&&(s.Jn(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).ut(h,null,null,t,void 0),r.cancellation()&&e instanceof n&&o.At(e)):(o=new n(i),s=u(function(){o.Vn()},+t),r.cancellation()&&o.At(new f(s)),o.pn()),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.Gt(r),t.nt(r),null!=i&&i.cancel()}(i,n,o)},t=+t));return r.cancellation()?(o=this.then(),(i=o.ut(v,l,void 0,h,void 0)).At(h)):i=this.ut(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.Vn();var f=function(t){var n=r(t);return n!==t&&"function"==typeof t.Hr&&"function"==typeof t.Xr&&t.Hr()&&n.Zr(t.Xr()),n}(t[e++]);if(f instanceof n&&f.Hr()){try{f=r(f.Xr().tryDispose(i),t.promise)}catch(t){return d(t)}if(f instanceof n)return f.ut(o,d,null,null,null)}o()}(),s}function w(t,n,i){this.qr=t,this.xn=n,this.Jr=i}function p(t,n,i){this.constructor$(t,n,i)}function y(t){return w.isDisposer(t)?(this.resources[this.index].Zr(t),t.promise()):t}function g(t){this.length=t,this.promise=null,this[t-1]=null}w.prototype.data=function(){return this.qr},w.prototype.promise=function(){return this.xn},w.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},w.prototype.tryDispose=function(t){var n=this.resource(),i=this.Jr;void 0!==i&&i.Zt();var r=n!==l?this.doDispose(n,t):null;return void 0!==i&&i.qt(),this.xn.Kr(),this.qr=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()).Zr(d)}else{var p=r(l);p instanceof n&&(l=p.ut(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.Zt(),u=v(u);var r=o?u.apply(void 0,t):u(t),e=k.qt();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.At(c),k},n.prototype.Zr=function(t){this.ot=131072|this.ot,this.$r=t},n.prototype.Hr=function(){return(131072&this.ot)>0},n.prototype.Xr=function(){return this.$r},n.prototype.Kr=function(){this.ot=-131073&this.ot,this.$r=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.jn.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={fe:function(t){I=t,k(S)},we:S=function(){var t=I;t&&(I=void 0,t())}},m.setScheduler(T.fe));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.ye="web",t.Ae="android",t._e="android-tv",t.pe="ios",t.ke="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.Me=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.Ne=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(C)||/(macintosh|mac(?=_powerpc)\s)/i.test(C),this.Te=/Windows NT/i.test(C),this.De=B?d(B[1]):0,this.Ie=/Android/i.test(C),this.Ee=j?d(j[1]):0,this.Se=/windows phone (8|8\.1)/i.test(C),this.Le=/iPhone/i.test(C),this.je=/iPad/i.test(C),this.Ce=this.Ne&&this.Me&&!this.je,this.Oe=/iPod/i.test(C),this.xe=/Mobile Safari/i.test(C),this.ze=/EOSSTB/i.test(C),this.Re=(this.Le||this.je||this.Ce||this.Oe)&&!this.Se,this.Be=this.Se||this.Re||this.Ie||this.xe,this.Ue=/CriOS/i.test(C),this.Pe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Ue,this.Qe=this.Pe&&/Edg\//i.test(e.userAgent),this.Ye=P?l(P[1],10):0,this.Fe=Boolean(t.chrome||/Chrome/i.test(C)||/CriOS/i.test(C)),this.Ge=F?l(F[1],10):0,this.Ve=/SMART-TV.*Tizen/i.test(C),this.We=U?d(U[1]):0,this.He=/webos|web0s/i.test(C),this.Xe=/Edge\/\d+/i.test(C),this.Ze=/Trident/i.test(C),this.qe=this.Ze&&!t.ActiveXObject&&"ActiveXObject"in t,this.Je=/Vivaldi/i.test(C),this.Ke=/Firefox/i.test(C)&&!/Seamonkey/i.test(C),this.$e=x?d(x[1]):0,this.ns=/Safari/i.test(C)&&!/Chrome/i.test(C)&&!this.Se&&!this.Ve,this.rs=M?d(M[2]):0,this.us=Boolean(L),this.hs=L?d(L[1]):0,this.fs=/CrKey/.test(C),this.vs=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(C),this.ds="web"===R._e,this.ls="web"===R.Ae,this.gs=this.ls||this.ds,this.ys="web"===R.pe,this.As="web"===R.ke,this._s="web"===R.me}return N(n,[{key:"Ms",get:function(){return this.Me}},{key:"Ns",get:function(){return this.Ne}},{key:"Ts",get:function(){return this.Te}},{key:"Ds",get:function(){return this.De}},{key:"Is",get:function(){return this.Ie}},{key:"Es",get:function(){return this.Ee}},{key:"Ss",get:function(){return this.Se}},{key:"Ls",get:function(){return this.Le}},{key:"Cs",get:function(){return this.je}},{key:"Os",get:function(){return this.Ce}},{key:"xs",get:function(){return this.Oe}},{key:"zs",get:function(){return this.Re}},{key:"Rs",get:function(){return this.ze}},{key:"Bs",get:function(){return this.xe}},{key:"Us",get:function(){return this.Be}},{key:"Ps",get:function(){return this.Ue}},{key:"Qs",get:function(){return this.Pe}},{key:"Ys",get:function(){return this.Ge}},{key:"Fs",get:function(){return this.Qe}},{key:"Gs",get:function(){return this.Ye}},{key:"Vs",get:function(){return this.Ve}},{key:"Ws",get:function(){return this.We}},{key:"Hs",get:function(){return this.He}},{key:"Xs",get:function(){return this.Xe}},{key:"Zs",get:function(){return this.Ze}},{key:"qs",get:function(){return this.qe}},{key:"Js",get:function(){return this.Je}},{key:"Ks",get:function(){return this.Ke}},{key:"$s",get:function(){return this.$e}},{key:"tu",get:function(){return this.ns}},{key:"nu",get:function(){return this.rs}},{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(){if(!(this.Hs||this.Vs))return!1;var t=this.Ys;return void 0===t||Number(t)<56}},{key:"du",get:function(){return this.ds}},{key:"wu",get:function(){return this.ls}},{key:"yu",get:function(){return this.gs}},{key:"Au",get:function(){return this.ys}},{key:"_u",get:function(){return this.As}},{key:"pu",get:function(){return this._s}},{key:"mu",get:function(){return this.Fe}}]),n}();W.Mu=new W;var q=W.Mu;var G=!(q.Zs&&!q.qs),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.bu)}nt.prototype.bu,a.defineProperty(nt.prototype,"bu",{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.Tu=1]="Tu",t[t.Iu=2]="Iu",t[t.Du=3]="Du",t[t.Eu=4]="Eu",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.Lu=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.ju=void 0,this.ju=t}var n=t.prototype;return n.Cu=function(t){return this.ju.isEqualNode(t.ju)},n.Ou=function(n){return new t(this.ju.cloneNode(n))},N(t,[{key:"Nu",get:function(){return At.Iu}},{key:"xu",get:function(){var t;return null!=(t=this.ju.localName)?t:qt(this.ju.nodeName)}},{key:"Ru",get:function(){return this.ju.nodeName}},{key:"Bu",get:function(){var t;return null!=(t=this.ju.namespaceURI)?t:void 0}},{key:"Uu",get:function(){var t;return null!=(t=this.ju.prefix)?t:void 0}},{key:"Pu",get:function(){return this.ju.nodeValue}}]),t}(),Pt=function(){function t(t){this.Qu=void 0,this.Yu=void 0,this.Qu=t}var n=t.prototype;return n.Fu=function(t){return this.Gu.filter(function(n){return Ut(n)&&n.Vu===t})},n.Wu=function(t,n){return this.Gu.filter(function(i){return Ut(i)&&i.xu===n&&i.Bu===t})},n.Hu=function(t){this.Qu.appendChild(t.Xu),this.Yu&&this.Yu.push(t)},n.Cu=function(t){return this.Qu.isEqualNode(t.Xu)},N(t,[{key:"Gu",get:function(){return void 0===this.Yu&&(this.Yu=function(t){for(var n=[],i=0;i<t.length;i++){var r=Wt(t.item(i));r&&n.push(r)}return n}(this.Qu.childNodes)),this.Yu}},{key:"Zu",get:function(){return this.Gu.filter(Ut)}},{key:"Xu",get:function(){return this.Qu}}]),t}(),jt=function(t){function n(n){return t.call(this,n)||this}D(n,t);var i=n.prototype;return i.Ju=function(t){if(this.Qu.hasAttribute(t))return this.Qu.getAttribute(t)},i.Ku=function(t,n){if(this.Qu.hasAttributeNS(t,n))return this.Qu.getAttributeNS(t,n)},i.$u=function(t){this.Qu.removeAttribute(t)},i.uo=function(t,n){this.Qu.removeAttributeNS(t,n)},i.oo=function(t,n){this.Qu.setAttribute(t,n)},i.ao=function(t,n,i){this.Qu.setAttributeNS(t,n,i)},i.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Tu}},{key:"xu",get:function(){var t;return null!=(t=this.Qu.localName)?t:qt(this.Qu.nodeName)}},{key:"Bu",get:function(){var t;return null!=(t=this.Qu.namespaceURI)?t:void 0}},{key:"Uu",get:function(){var t;return null!=(t=this.Qu.prefix)?t:void 0}},{key:"Vu",get:function(){return this.Qu.nodeName}},{key:"do",get:function(){return function(t){for(var n=[],i=0;i<t.length;i++)n.push(new Ft(t.item(i)));return n}(this.Qu.attributes)}},{key:"Ao",get:function(){return this.Qu.textContent}}]),n}(Pt),Bt=function(){function t(t){this.Qu=void 0,this.Qu=t}return t.prototype.Cu=function(t){return this._o===t._o},N(t,[{key:"_o",get:function(){return this.Qu.nodeValue}},{key:"Xu",get:function(){return this.Qu}}]),t}(),Mt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Du}}]),n}(Bt),xt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Eu}}]),n}(Bt),Lt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Su}},{key:"po",get:function(){return new jt(this.Qu.documentElement)}}]),n}(Pt);function Ut(t){return function(t){return t.Nu===At.Tu}(t)}function Wt(t){switch(t.nodeType){case At.Tu:return new jt(t);case At.Du:return new Mt(t);case At.Eu: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={mo: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{mo:2,Mo: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:{mo:3,qr: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?{mo:1,Mo:r}:""===i?Kn:{mo:0,No:i}}function Qn(t){switch(t.mo){case 0:return t.No;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.Mo);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.Mo)+"]";case 3:return t.qr;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.To.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.To,ni(n))}function vi(t){if(t.Do){var n=ii(t.To);""===n&&(n=null),t.Do.Do.Io=n}}function li(t){return t instanceof di&&(!!tn(t.To)&&(!nn||t[Symbol.iterator]===_i))}var di=function(){function t(t){if(void 0===t&&(t=void 0),this.Do=null,null==t)this.To=[];else if("object"==typeof t||"function"==typeof t)if(li(t))this.To=t.To.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.To=[];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.To.push([ui(r[0]),ui(r[1])])}}else for(var e in this.To=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.To.push([ui(e),ui(t[e])]);else(t=ui(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.To=ni(t);var u}var n=t.prototype;return n.append=function(t,n){t=ui(t),n=ui(n),this.To.push([t,n]),vi(this)},n.delete=function(t){t=ui(t);for(var n=this.To,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.To,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.To,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.To,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.To,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.To,ci),vi(this)},n.toString=function(){return ii(this.To)},n.entries=function(){return new gi(this.To,wi)},n.keys=function(){return new gi(this.To,pi)},n.values=function(){return new gi(this.To,yi)},n.forEach=function(t){var n=this;this.To.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.Eo=0,this.To=t,this.So=n}return t.prototype.next=function(){return this.Eo<this.To.length?{done:!1,value:this.So(this.To[this.Eo++])}:{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.Lo)}function Ai(t){return""!==t.jo||""!==t.Co}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.Oo;0!==n.length&&("file"===t.Lo&&1===n.length&&Ci(n[0])||n.pop())}function Pi(t){return null===t.xo||Kn===t.xo||t.zo||"file"===t.Lo}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.Lo)&&!Ti(_))return;if(!Ti(i.Lo)&&Ti(_))return;if((Ai(i)||null!==i.Ro)&&"file"===_)return;if("file"===i.Lo&&(i.xo===Kn||null===i.xo))return}if(i.Lo=_,null!==r)return void(Ri(i)&&i.Ro===bi[i.Lo]&&(i.Ro=null));u.length=0,"file"===i.Lo?e=13:Ri(i)&&n&&n.Lo===i.Lo?e=3:Ri(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.zo=!0,i.Oo.push(""),e=18)}break;case 2:if(!n||n.zo&&35!==d)throw new h("Invalid scheme");n.zo&&35===d?(i.Lo=n.Lo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",i.zo=!0,e=20):"file"!==n.Lo?(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.Lo=n.Lo,ji===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io):47===d?e=6:63===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):92===d&&Ri(i)?e=6:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Oo.pop(),e=17,v-=1);break;case 6:!Ri(i)||47!==d&&92!==d?47===d?e=9:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,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.Co+=y:i.jo+=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.Lo)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.Ro))return;var g=Jn(Nn(u),Ri(i));if(i.xo=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.xo=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.Ro=b===bi[i.Lo]?null:b,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Lo="file",47===d||92===d?e=14:n&&"file"===n.Lo?ji===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io):63===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):(Ni(c.slice(v))||(i.xo=n.xo,i.Oo=n.Oo.slice(),Fi(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===d||92===d?e=15:(n&&"file"===n.Lo&&!Ni(c.slice(v))&&(Ci(n.Oo[0])?i.Oo.push(n.Oo[0]):i.xo=n.xo),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.xo=Kn,null!==r)return;e=16}else{var k=Jn(Nn(u),Ri(i));if(0===k.mo&&"localhost"===k.No&&(k=Kn),i.xo=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.Io="",e=19):null===r&&35===d?(i.Bo="",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.Oo.push("")):!Si(I)||47===d||Ri(i)&&92===d?Si(I)||("file"===i.Lo&&0===i.Oo.length&&Di(u)&&(Kn!==i.xo&&null!==i.xo&&(i.xo=Kn),u[1]=58,I=Nn(u)),i.Oo.push(I)):i.Oo.push(""),u.length=0,"file"===i.Lo&&(ji===d||63===d||35===d))for(;i.Oo.length>1&&""===i.Oo[0];)i.Oo.shift();63===d?(i.Io="",e=19):35===d&&(i.Bo="",e=20)}else u.push.apply(u,Gn(d,Ln));break;case 18:63===d?(i.Io="",e=19):35===d?(i.Bo="",e=20):ji!==d&&(i.Oo[0]+=Nn(Gn(d,Mn)));break;case 19:null===r&&35===d?(i.Bo="",e=20):ji!==d&&(i.Io+=Nn(Gn(d,Ri(i)?qn:Wn)));break;case 20:ji===d||0===d||(i.Bo+=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.Lo="",this.jo="",this.Co="",this.xo=null,this.Ro=null,this.Oo=[],this.Io=null,this.Bo=null,this.zo=!1};function Wi(t){switch(t.Lo){case"blob":var n;try{n=xi(t.Oo[0],null)}catch(t){return mi}return Wi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Lo,r=t.xo,e=t.Ro,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.Do)}var Gi,Vi=function(){function t(t,n){var i,r=null;if(null!=n)if(qi(n))r=n.Do;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.Io;this.Do=i,this.Io=function(t){var n=new di;return null!==t&&ai(n,t),n}(e),this.Io.Do=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.Lo+":";if(null!==t.xo?(i+="//",Ai(t)&&(i+=t.jo,""!==t.Co&&(i+=":"+t.Co),i+="@"),i+=Qn(t.xo),null!==t.Ro&&(i+=":"+t.Ro)):null===t.xo&&"file"===t.Lo&&(i+="//"),t.zo)i+=t.Oo[0];else for(var r=0,e=t.Oo;r<e.length;r++)i+="/"+e[r];return null!==t.Io&&(i+="?"+t.Io),n||null===t.Bo||(i+="#"+t.Bo),i}(this.Do)},set:function(t){var n;try{n=xi(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.Do=n,hi(this.Io);var i=this.Do.Io;null!==i&&ai(this.Io,i)}},{key:"origin",get:function(){return Wi(this.Do)}},{key:"protocol",get:function(){return this.Do.Lo+":"},set:function(t){Li(t+":",null,this.Do,0)}},{key:"username",get:function(){return this.Do.jo},set:function(t){Pi(this.Do)||(this.Do.jo=Vn(t,Un))}},{key:"password",get:function(){return this.Do.Co},set:function(t){Pi(this.Do)||(this.Do.Co=Vn(t,Un))}},{key:"host",get:function(){var t=this.Do,n=t.xo;if(null===n)return"";var i=t.Ro,r=Qn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Do.zo||Li(t,null,this.Do,10)}},{key:"hostname",get:function(){var t=this.Do.xo;return null===t?"":Qn(t)},set:function(t){this.Do.zo||Li(t,null,this.Do,11)}},{key:"port",get:function(){var t=this.Do.Ro;return null===t?"":""+t},set:function(t){Pi(this.Do)||(""===t?this.Do.Ro=null:Li(t,null,this.Do,12))}},{key:"pathname",get:function(){var t=this.Do.Oo;return this.Do.zo?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Do.zo||(this.Do.Oo.length=0,Li(t,null,this.Do,16))}},{key:"search",get:function(){var t=this.Do.Io;return null===t||""===t?"":"?"+t},set:function(t){t=ui(t);var n=this.Do;if(""===t)return n.Io=null,void hi(this.Io);"?"===t[0]&&(t=t.slice(1)),n.Io="",Li(t,null,n,19),ai(this.Io,t)}},{key:"searchParams",get:function(){return this.Io}},{key:"hash",get:function(){var t=this.Do.Bo;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Do.Bo="",Li(t,null,this.Do,20)):this.Do.Bo=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.Uo=void 0,this.Po=!1,this.Ms=zi,this.Us=!1,this.Qo=!0,this.Yo=!0}var n=t.prototype;return n.Fo=function(){return 0},n.Go=function(t,n){return!0},n.Vo=function(t){return t>=1/6*2},N(t,[{key:"Wo",get:function(){return void 0===this.Uo&&(this.Uo=this.Fo()),this.Uo}},{key:"Ho",get:function(){return i.devicePixelRatio||1}},{key:"Xo",get:function(){return Ki}},{key:"Zo",get:function(){return!1}},{key:"qo",get:function(){return!0}},{key:"Jo",get:function(){return q.Ns||q.zs}},{key:"Ko",get:function(){return!0}},{key:"$o",get:function(){return!0}},{key:"nh",get:function(){}},{key:"ih",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.Os)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).rh=void 0,i.rh=n,i.rh&&(i.Po=i.rh.Po,i.Ms=i.rh.Ms,i.Qo=Zi&&i.rh.Qo),i}D(n,t);var i=n.prototype;return i.Fo=function(){return this.rh?this.rh.Wo:t.prototype.Fo.call(this)},i.Go=function(n,i){return this.rh?this.rh.Go(n,i):t.prototype.Go.call(this,n,i)},i.Vo=function(n){return this.rh?this.rh.Vo(n):t.prototype.Vo.call(this,n)},N(n,[{key:"nh",get:function(){var t;return null==(t=this.rh)?void 0:t.nh}},{key:"ih",get:function(){var t,n;return null==(t=null==(n=this.rh)?void 0:n.ih)||t}}]),n}(Yi),Qi=function(t){function n(n){var i;return(i=t.call(this,n)||this).Po=!0,i.Us=!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.Go=function(n,i){return!(i.eh>1920)&&t.prototype.Go.call(this,n,i)},N(n,[{key:"Zo",get:function(){return q.Ws<3}},{key:"qo",get:function(){return q.Ws>=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.Go=function(t,n){if(t&&t.sh&&n&&n.sh){var i=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.5"),r=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.2"),e=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.34"),u=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.2"),o=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.34"),s=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.5");return!(i||r||e||u||o||s)}return!0},N(n,[{key:"nh",get:function(){if(q.Ns)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.Vo=function(t){return t>=2},n}(ir),or=function(t){function n(){var n;return(n=t.call(this)||this).Po=q.nu>=11,n.Qo=q.tu&&!(q.zs&&q.nu<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:"Ko",get:function(){return!1}}]),n}(Ji),fr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"ih",get:function(){return!q.Ts||!!q.Fs&&92!==q.Gs}}]),n}(ir),cr=function(){function n(){var n;this.re=void 0,this.uh=new Ct,this.oh=new hr,this.ah=(n=function(){if(q.Ks)return new rr;if(q.Xs||q.Zs)return new ur;if(q.tu)return new or;if(q.Qs)return new fr;return new ir}(),q.zs?new tr(n):q.Us?new Qi(n):q.Vs?new nr(n):q.Hs?new sr(n):new Ji(n)),this.fh=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.re=function(){return t.performance.now()}:this.re=Rt}var i=n.prototype;return i.vh=function(){K.apply(void 0,arguments)},i.dh=function(){Y.apply(void 0,arguments)},i.lh=function(){Z.apply(void 0,arguments)},i.gh=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.oe=function(t,n){return u(t,n)},i.wh=function(t,n){return s(t,n)},i.ue=function(t){o(t)},i.yh=function(t){f(t)},i.Lu=function(t){return this.uh.Lu(t)},i.Ah=function(){return this._h.Ah()},i.ph=function(){return this._h.ph()},i.kh=function(){return this._h.kh()},i.Mh=function(){return this._h.Mh()},i.Nh=function(){return this._h.Nh()},i.Th=function(t,n){return this._h.Th(t,n)},i.Dh=function(t){return this._h.Dh(t)},i.Ih=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.Eh=function(n,i){if(void 0===i&&(i=Hi(void 0)),this.fh){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.Ih(n,i).href},N(n,[{key:"Sh",get:function(){return this.oh}},{key:"Lh",get:function(){return this.ah}},{key:"jh",get:function(){return{Ch:e&&e.userAgent.match(/Android /i)?"Android":"other",Oh:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Rh",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Bh",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),hr=function(){function t(){}return N(t,[{key:"Uh",get:function(){return e.oscpu}},{key:"Lh",get:function(){return e.platform}},{key:"Ph",get:function(){return e.vendor}},{key:"Qh",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.Yh=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.Yh(n,t)}})}function R(t){var n;this.Yh=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,"Gh")?Promise.resolve(c.Gh).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{Gh: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.Zh="playready",t.qh="widevine",t.Jh="fairplay",t.Kh="clearkey",t.$h="aes128"}(wr||(wr={}));var gr={ra:wr.Zh,ea:"com.microsoft.playready",oa:"cenc",va:"9a04f079-9840-4286-ab92-e65be0885f95",ya:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Aa:"PlayReady"},mr={ra:wr.qh,ea:"com.widevine.alpha",oa:"cenc",va:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ya:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Aa:"Widevine"},br={ra:wr.Jh,ea:"com.apple.fps.1_0",oa:"skd",va:pr,ya:yr,Aa:"FairPlay"},kr=(wr.Jh,{ra:wr.Kh,ea:"org.w3.clearkey",oa:"cenc",va:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ya:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Aa:"ClearKey"});var Ir=q.Qs&&q.Ys>=42||q.Ks&&q.$s>=38||q.Xs||q.qs||q.uu&&q.ou>=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._a=void 0,this.ma=new _r,this.Ma=void 0,this._a=t}var n=t.prototype;return n.Nh=function(){return this.Dh(mr)},n.ph=function(){return this.Dh(kr)},n.Mh=function(){return this.Dh(gr)},n.kh=function(){return this.Dh(br)},n.Dh=function(t){var n=t.ya,i=this.ma.get(n);if(i)return i;var r=this.Th(t,'video/mp4; codecs="avc1.42000a"');return this.ma.set(n,r),r},n.Th=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._a.Na(n.ea,[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._a.Na(n.ea,[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.Ah=function(){return this.Ma||(this.Ma=this.Ta()),this.Ma},n.Ta=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.ph();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.mv=function(){},n.Dc=function(t){},n.bc=function(t){},n.Mv=function(t,n){},t}(),Ar=function(){function t(){}return t.prototype.Na=function(t,n){return g.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.ld="arraybuffer",t.wd="json",t.yd="stream",t.Du="text"}(Er||(Er={}));var Nr,Or=function(){function t(n){var i=this;this.Xh=void 0,this.Xh={},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.Xh.hasOwnProperty(e)){var u=this.Xh[e],o=u[1];u[1]=o?o+", "+r:r}else this.Xh[e]=[i,r]},n.delete=function(t){var n=Dr(t).toLowerCase();delete this.Xh[n]},n.get=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)?this.Xh[n][1]:null},n.has=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Dr(i)).toLowerCase();this.Xh[r]=[i,Cr(n)]},n.forEach=function(t,n){for(var i in this.Xh)this.Xh.hasOwnProperty(i)&&t.call(n,this.Xh[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Xh)if(this.Xh.hasOwnProperty(n)){var i=this.Xh[n],r=i[0],e=i[1];t.push([r,e])}return t},n._d=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.pd=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.kd=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.Da=0]="Da",t[t.Ia=1]="Ia",t[t.Ea=-1]="Ea"}(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.Da:function(t,n){return t===n?Nr.Da:t<n?Nr.Ea:t>n?Nr.Ia:_(t)?_(n)?Nr.Da:Nr.Ia:Nr.Ea}(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.La=!1,this.Ca=[],this.Oa=[]}var n=t.prototype;return n.xa=function(){if(!this.Sa&&!this.La){this.Sa=!0;for(var t=0,n=this.Ca.slice();t<n.length;t++){(0,n[t])()}this.Ra()}},n.Ra=function(){if(!this.La){this.La=!0;for(var t=0,n=this.Oa.slice();t<n.length;t++){(0,n[t])()}Mr(this.Ca),Mr(this.Oa)}},n.Ba=function(t){this.La||this.Ca.push(t)},n.Ua=function(t){this.La||Br(this.Ca,t)},n.Pa=function(t){this.La||this.Oa.push(t)},n.Qa=function(t){this.La||Br(this.Oa,t)},t}(),Gr=function(){function t(){this.Ya=new qr}var n=t.prototype;return n.Fa=function(){this.Ya.xa()},n.Ra=function(){this.Ya.Ra()},n.Ga=function(t){var n=this.Ya;if(!n.Sa)if(t.Sa)n.xa();else if(!n.La&&!t.La){var i=function(){r(),n.xa()},r=function r(){t.Ua(i),t.Qa(r),n.Ua(i),n.Qa(r)};t.Ba(i),t.Pa(r),n.Ba(i),n.Pa(r)}},n.Va=function(){var n=new t,i=new t,r=n.Wa,e=i.Wa,u=this.Ya,o=function(){r.Sa&&e.La||e.Sa&&r.La?u.xa():r.La&&e.La&&u.Ra()};r.Ba(o),e.Ba(o),r.Pa(o),e.Pa(o),n.Ga(u),i.Ga(u);return u.Pa(function(){r.Ua(o),e.Ua(o),r.Qa(o),e.Qa(o)}),[n,i]},N(t,[{key:"Wa",get:function(){return this.Ya}}]),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.Ag="",t._g="manifest",t.pg="segment",t.Mg="content-protection"}(Lr||(Lr={})),function(t){t.Ag="",t.Ng="initialization-segment",t.Tg="fairplay-license",t.Dg="fairplay-certificate",t.Ig="widevine-license",t.Eg="widevine-certificate",t.Sg="playready-license",t.Lg="clearkey-license",t.jg="aes128-key"}(Ur||(Ur={})),function(t){t.Ag="",t.Cg="audio",t.Og="video",t.Du="text",t.xg="image"}(Wr||(Wr={}));var Vr,Hr=function(t,n){this.Wl=void 0,this.ag=void 0,this.zg=void 0,this.cg=void 0,this.Rg=void 0,this.Wa=void 0,this.ra=void 0,this.Bg=void 0,this.Ug=void 0,this.wg=void 0,this.Pg=void 0,this.Qg=void 0;var i,r,e,u,o,s,f,c,h,a,v,l=t.wg;n?(i=n.Wl,r=n.ag,e=n.zg,u=n.cg,o=n.Rg,s=n.Wa,f=n.ra,c=n.Bg,h=n.Ug,a=n.Pg,v=n.Qg):(i=null,r={},e=xr.GET,u=Er.Du,o=0,f=Lr.Ag,c=Ur.Ag,h=Wr.Ag,a=!1),this.wg=l,this.Wl=t.Wl||i,this.ag=new Or(t.ag||r),this.zg=t.zg||e,this.cg=t.cg||u,this.Rg=void 0!==t.Rg?Number(t.Rg)||0:o,this.Wa=t.Wa||s||(new Gr).Wa,this.ra=t.ra||f,this.Bg=t.Bg||c,this.Ug=t.Ug||h,this.Pg=void 0!==t.Pg?Boolean(t.Pg):a,this.Qg=t.Qg||v};!function(t){t.Jg="HttpOpenError",t.Kg="HttpResponseError",t.$g="HttpTimeoutError"}(Vr||(Vr={}));var Xr,zr,$r=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.wg+". Invalid URL.",i)||this}return D(n,t),N(n,[{key:"name",get:function(){return Vr.Jg}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).nw=void 0,e.nw=n,e}return D(n,t),N(n,[{key:"dg",get:function(){return this.nw}}]),n}(Ot)),Kr=function(){function t(){}var n=t.prototype;return n.dg=function(t){return g.reject(new $r(new Hr(t)))},n.Yg=function(t){},n.Fg=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).Gw=new Tr(new Ar),n.lD=new Kr,n.i=new Rr,n}return D(n,t),N(n,[{key:"_h",get:function(){return this.Gw}},{key:"Xw",get:function(){return!1}},{key:"Zw",get:function(){return!1}},{key:"qw",get:function(){return!1}},{key:"Jw",get:function(){return this.i}},{key:"Kw",get:function(){return{$w:b}}},{key:"iy",get:function(){return"default"}},{key:"ey",get:function(){return"unknown"}},{key:"sy",get:function(){return this.lD}}]),n}(cr)),function(t){t.Bmt="h.264",t.kmt="mp3",t.gmt="aac-lc",t.wmt="he-aac"}(zr||(zr={}));var te=function(){function t(){this.Uht=0,this.Pht=[],this.JT={}}var n=t.prototype;return n.Qht=function(t){this.Pht=this.Pht.concat(t.Pht),this.Uht+=t.Zy},n.Yht=function(t,n,i){var r=this.Uht,e=i-n;e>0&&(this.Pht.push({Fht:n,Ght:i,Vht:e,Wht:r,Hht:t}),this.Uht+=e)},n.bc=function(t){for(var n=0,i=this.Pht;n<i.length;n++){var r=i[n];if(r.Wht<=t&&t<r.Wht+r.Vht)return r.Hht[t+r.Fht-r.Wht]}},n.Xht=function(t,n){for(var i=n,r=0,e=this.Pht;r<e.length;r++)for(var u=e[r],o=u.Ght,s=u.Fht;s<o;s+=1,i+=1)t[i]=u.Hht[s];return i},n.Zht=function(){for(var t=new w(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t},n.jc=function(n){for(var i=new t,r=0,e=this.Pht;r<e.length;r++){var u=e[r];i.Yht(u.Hht,u.Fht,u.Ght)}return i.JT=n||vr({},this.JT),i},N(t,[{key:"Zy",get:function(){return this.Uht},set:function(t){var n=this.Pht,i=this.Uht-t;if(!(t>=this.Uht))if(this.Uht=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.Vht)return e.Ght-=i,e.Vht-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.Vht}else n.length=0}},{key:"_o",get:function(){for(var t=new Array(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t}}]),t}(),ne=function(){function t(){}var n=t.prototype;return n.pk=function(t){return this.Mk()*t},n.bk=function(t){return this.Nk(t)>0},n.Tk=function(t){return this.Nk(t)>=0},n.Dk=function(t,n){return this.Ek(t).Ik(n)},n.ck=function(t){return 0===this.Nk(t)},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.Lk=function(){return this.jk()?this.Ck():this},n.Ok=function(t){return this.pp(t.Ck())},n.Ek=function(t){return this.Ok(t).Lk()},t}();function ie(t,n){return t.xk()?n.xk()?Nr.Da:Nr.Ia:n.xk()?Nr.Ea:t.zk()?n.zk()&&t.jk()===n.jk()?Nr.Da:t.jk()?Nr.Ea:Nr.Ia:n.jk()?Nr.Ia:Nr.Ea}var re=function(){function t(t,n){this.Rk=void 0,this.Bk=void 0,this.Rk=t,this.Bk=n}t.Uk=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.Pk=function(n){return n.unsigned?new t(n,St.UZERO):new t(n,n.isNegative()?St.NEG_ONE:St.ZERO)},t.Qk=function(n,i){if(_(n))return i?t.Yk:t.Fk;if(i){if(n<0)return t.Yk;if(n>=3.402823669209385e38)return t.Gk}else{if(n<=-1.7014118346046923e38)return t.Vk;if(n+1>=1.7014118346046923e38)return t.Wk}return n<0?t.Qk(-n,i).Ck():t.Uk(St.fromNumber(n%0x10000000000000000),St.fromNumber(n/0x10000000000000000),i)};var n=t.prototype;return n.Hk=function(){return this.Bk.unsigned},n.Xk=function(){return this.Rk.isZero()&&this.Bk.isZero()},n.jk=function(){return this.Bk.isNegative()},n.Zk=function(){return this.Hk()?t.Uk(this.Rk,this.Bk,!1):this},n.qk=function(){return this.Hk()?this:t.Uk(this.Rk,this.Bk,!0)},n.Jk=function(){return this.Rk},n.Mk=function(){return this.jk()?-this.Ck().Mk():0x10000000000000000*this.Bk.toNumber()+this.Rk.toUnsigned().toNumber()},n.Kk=function(){return this.Rk.toInt()},n.ck=function(t){return(this.Hk()===t.Hk()||this.Bk.getHighBits()>>>31!=1||t.Bk.getHighBits()>>>31!=1)&&(this.Bk.toUnsigned().eq(t.Bk.toUnsigned())&&this.Rk.toUnsigned().eq(t.Rk.toUnsigned()))},n.Nk=function(t){if(this.ck(t))return Nr.Da;var n=this.jk(),i=t.jk();if(n&&!i)return Nr.Ea;if(!n&&i)return Nr.Ia;if(!this.Hk())return this.Ok(t).jk()?Nr.Ea:Nr.Ia;var r=this.qk(),e=t.qk(),u=e.Bk.comp(r.Bk);return u>0||0===u&&e.Rk.gt(r.Rk)?Nr.Ea:Nr.Ia},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.$k=function(t){return this.Nk(t)>0},n.tm=function(t){return this.Nk(t)>=0},n.nm=function(){return new t(this.Rk.not(),this.Bk.not())},n.im=function(n){return new t(this.Rk.and(n.Rk),this.Bk.and(n.Bk))},n.um=function(n){return new t(this.Rk.or(n.Rk),this.Bk.or(n.Bk))},n.hm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shl(i),this.Bk.shl(i).or(this.Rk.shru(64-i)),this.Hk()):t.Uk(St.ZERO,this.Rk.shl(i-64),this.Hk())},n.cm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shr(i),this.Hk()):t.Uk(this.Bk.shr(i-64),this.Bk.isNegative()?St.NEG_ONE:St.ZERO,this.Hk())},n.fm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shru(i),this.Hk()):64===i?t.Uk(this.Bk,St.ZERO,this.Hk()):t.Uk(this.Bk.shru(i-64),St.ZERO,this.Hk())},n.pp=function(n){var i=this.Bk.high>>>16,r=65535&this.Bk.high,e=this.Bk.low>>>16,u=65535&this.Bk.low,o=this.Rk.high>>>16,s=65535&this.Rk.high,f=this.Rk.low>>>16,c=65535&this.Rk.low,h=n.Bk.high>>>16,a=65535&n.Bk.high,v=n.Bk.low>>>16,l=65535&n.Bk.low,d=n.Rk.high>>>16,_=65535&n.Rk.high,w=n.Rk.low>>>16,p=0,y=0,g=0,m=0,b=0,k=0,I=0,S=0;I+=(S+=c+(65535&n.Rk.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.Hk(),T=St.fromBits(g<<16|m,p<<16|y,E),R=St.fromBits(I<<16|S,b<<16|k,E);return t.Uk(R,T,E)},n.Ok=function(t){return this.pp(t.Ck())},n.Ck=function(){return this.nm().pp(t.vm)},n.dm=function(n){if(this.Xk()||n.Xk())return this.Hk()?t.Yk:t.Fk;if(this.jk())return n.jk()?this.Ck().dm(n.Ck()):this.Ck().dm(n).Ck();if(n.jk())return this.dm(n.Ck()).Ck();if(this.Bk.isZero()&&0===this.Rk.high&&n.Bk.isZero()&&0===n.Rk.high)return t.Pk(this.Rk.multiply(n.Rk));var i=St.fromBits(4294967295,0,!0),r=this.Rk.and(i),e=this.Rk.shru(32),u=this.Bk.and(i),o=this.Bk.shru(32),s=n.Rk.and(i),f=n.Rk.shru(32),c=n.Bk.and(i),h=n.Bk.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.Uk(_,w,this.Hk())},n.lm=function(n){var i,r,e=n;if(e.Xk())throw new RangeError("division by zero");if(this.Xk())return this.Hk()?[t.Yk,t.Yk]:[t.Fk,t.Fk];if(this.Hk()){if(e.Hk()||(e=e.qk()),e.$k(this))return[t.Yk,this];if(e.$k(this.fm(1)))return[r=t.gm,i=this.Ok(e)];r=t.Yk}else{if(this.ck(t.Vk)){if(e.ck(t.vm)||e.ck(t.wm))return[t.Vk,t.Fk];if(e.ck(t.Vk))return[t.vm,t.Fk];var u=this.cm(1).ym(e).hm(1);return u.ck(t.Fk)?r=e.jk()?t.vm:t.wm:(i=this.Ok(e.dm(u)),r=u.pp(i.ym(e))),[r,i=this.Ok(e.dm(r))]}if(e.ck(t.Vk))return this.Hk()?[t.Yk,this]:[t.Fk,this];if(this.jk()){if(e.jk())return this.Ck().lm(e.Ck());var o=this.Ck().lm(e);return r=o[0],i=o[1],[r.Ck(),i.Ck()]}if(e.jk()){var s=this.lm(e.Ck());return r=s[0],i=s[1],[r.Ck(),i.Ck()]}r=t.Fk}for(i=this;i.tm(e);){for(var f=v.max(1,v.floor(i.Mk()/e.Mk())),c=v.ceil(v.log(f)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.Qk(f),l=a.dm(e);l.jk()||l.$k(i);)f-=h,l=(a=t.Qk(f,this.Hk())).dm(e);a.Xk()&&(a=t.vm),r=r.pp(a),i=i.Ok(l)}return[r,i]},n.ym=function(t){return this.lm(t)[0]},n.Am=function(t){return this.lm(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.Xk())return"0";if(this.jk()){if(this.ck(t.Vk)){var r=t.Qk(i),e=this.ym(r),u=e.dm(r).Ok(this);return e.toString(i)+u.Kk().toString(i)}return"-"+this.Ck().toString(i)}for(var o=t.Qk(v.pow(i,6),this.Hk()),s=this,f="";;){var c=s.ym(o),h=(s.Ok(c.dm(o)).Kk()>>>0).toString(i);if((s=c).Xk())return h+f;for(;h.length<6;)h="0"+h;f=String(h)+f}},t}();re.Fk=re.Pk(St.ZERO),re.Yk=re.Pk(St.UZERO),re.vm=re.Pk(St.ONE),re.gm=re.Pk(St.UONE),re.wm=re.Pk(St.NEG_ONE),re.Wk=re.Uk(St.NEG_ONE,St.MAX_VALUE,!1),re.Gk=re.Uk(St.MAX_UNSIGNED_VALUE,St.MAX_UNSIGNED_VALUE,!0),re.Vk=re.Uk(St.ZERO,St.MIN_VALUE,!1);var ee=function(){function t(t,n){void 0===n&&(n=1),this._m=void 0,this.pm=void 0,this._m=t,this.pm=n}t.Mm=function(n){return new t(v.ceil(n._m),n.pm)},t.Nm=function(n){return new t(v.floor(n._m),n.pm)},t.Tm=function(t,n){return t.Tk(n)?t:n},t.Dm=function(t,n){return t.Ik(n)?t:n};var n=t.prototype;return n.pp=function(n){return this.pm>=n.pm?new t(this._m+n.Im(this.pm)._m,this.pm):new t(this.Im(n.pm)._m+n._m,n.pm)},n.bk=function(t){return t.Sk(this)},n.Tk=function(t){return t.Ik(this)},n.Ek=function(n){return this.pm>=n.pm?new t(v.abs(this._m-n.Im(this.pm)._m),this.pm):n.Ek(this)},n.Dk=function(t,n){return this.Ek(t).Ik(n)},n.Nk=function(t){return i=t,(n=this).pm>=i.pm?jr(n._m,i.Im(n.pm)._m):jr(n.Im(i.pm)._m,i._m);var n,i},n.ck=function(t){return 0===this.Nk(t)},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.Im=function(n){return new t(this._m*(n/this.pm),n)},n.Ok=function(n){return this.pm>=n.pm?new t(this._m-n.Im(this.pm)._m,this.pm):new t(this.Im(n.pm)._m-n._m,n.pm)},n.Em=function(n){return new t(this._m*n,this.pm)},N(t,[{key:"zk",get:function(){return!isFinite(this._m)}},{key:"Sm",get:function(){return this._m/this.pm}}]),t}();ee.Lm=new ee(1/6,1),ee.Fk=new ee(0),ee.jm=new ee(1/0),ee.Cm=1e6;var ue=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=n.toSigned(),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(St.fromNumber(t),i)},n.Pk=function(t,i){return new n(t,i)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return new n(St.fromNumber(t.getTime()),1e3)},n.Tm=function(t,n){return t.Tk(n)?t:n},n.Dm=function(t,n){return t.Ik(n)?t:n},n.Pm=function(t,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu.isNegative()},i.Xk=function(){return 0!==this.pm&&this.Pu.isZero()},i.zk=function(){return 0===this.pm&&!this.Pu.isZero()},i.xk=function(){return 0===this.pm&&this.Pu.isZero()},i.Mk=function(){if(0===this.pm)return this.Pu.isZero()?NaN:this.Pu.isNegative()?-1/0:1/0;var t=this.Pu.divide(this.pm),n=this.Pu.subtract(t.multiply(this.pm));return t.toNumber()+n.toNumber()/this.pm},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Pu},i.Qm=function(){return new Date(0===this.pm?NaN:this.Im(1e3).Pu.toNumber())},i.Ym=function(){return new ee(0===this.pm?this.Mk():this.Pu.toNumber(),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;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.lm(n),e=r[0],u=r[1];if(u.Xk())return e;if(i===fe.Fm)return u.jk()?e.Ok(re.vm):e;if(i===fe.Gm)return u.jk()?e:e.pp(re.vm);var o=u.dm(re.Qk(2));return o.jk()?o.Ck().Sk(n)?e:e.Ok(re.vm):o.Sk(n)?e:e.pp(re.vm)}(re.Pk(this.Pu).dm(re.Qk(t/e)),re.Qk(r/e),i).Jk(),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i.compare(r)},i.Ck=function(){return 0===this.pm?oe(this):new n(this.Pu.negate(),this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return se(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu.add(e.Pu),i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?St.ZERO:this.Pu.multiply(t),this.pm)},i.ym=function(t){if(this.xk()||_(t))return n.xm;if(this.zk())return isFinite(t)?0===t?1/t<0?this.Ck():this:t<0?this.Ck():this:n.xm;if(!isFinite(t))return new n(St.ZERO,this.pm);if(this.Xk())return 0===t?n.xm:new n(St.ZERO,this.pm);if(0===t){var i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu.divide(t),this.pm)},i.Wm=function(){return[this.Pu.low,this.Pu.high,this.pm]},n}(ne);function oe(t){return t.xk()?t:t.jk()?ue.zm:ue.Rm}function se(t,n){return t.xk()||n.xk()?ue.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ue.xm:t.zk()?t:n}ue.Fk=new ue(St.ZERO,1e6),ue.xm=new ue(St.ZERO,0),ue.zm=new ue(St.ONE,0),ue.Rm=new ue(St.NEG_ONE,0);var fe,ce=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=BigInt.asIntN(64,n),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(BigInt(v.floor(t)),i)},n.Pk=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return n.Qk(t.getTime(),1e3)},n.Tm=function(t,n){return t.Tk(n)?t:n},n.Dm=function(t,n){return t.Ik(n)?t:n},n.Pm=function(t,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu<BigInt(0)},i.Xk=function(){return 0!==this.pm&&this.Pu===BigInt(0)},i.zk=function(){return 0===this.pm&&this.Pu!==BigInt(0)},i.xk=function(){return 0===this.pm&&this.Pu===BigInt(0)},i.Mk=function(){if(0===this.pm)return this.Pu===BigInt(0)?NaN:this.Pu<BigInt(0)?-1/0:1/0;var t=this.Pu/BigInt(this.pm),n=this.Pu-t*BigInt(this.pm);return Number(t)+Number(n)/this.pm},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Hm()},i.Hm=function(){var t=this.Pu&BigInt(4294967295),n=this.Pu>>BigInt(32)&BigInt(4294967295);return St.fromBits(Number(t),Number(n))},i.Qm=function(){return new Date(0===this.pm?NaN:Number(this.Im(1e3).Pu))},i.Ym=function(){return new ee(0===this.pm?this.Mk():Number(this.Pu),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;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.Fm)return e<BigInt(0)?r-BigInt(1):r;if(i===fe.Gm)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.Pu*BigInt(t/e),BigInt(r/e),i),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i>r?Nr.Ia:i<r?Nr.Ea:Nr.Da},i.Ck=function(){return 0===this.pm?he(this):new n(-this.Pu,this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return ae(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu+e.Pu,i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?BigInt(0):this.Pu*BigInt(t),this.pm)},i.ym=function(t){if(this.xk()||_(t))return n.xm;if(this.zk())return isFinite(t)?0===t?1/t<0?this.Ck():this:t<0?this.Ck():this:n.xm;if(!isFinite(t))return new n(BigInt(0),this.pm);if(this.Xk())return 0===t?n.xm:new n(BigInt(0),this.pm);if(0===t){var i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu/BigInt(t),this.pm)},i.Wm=function(){var t=this.Hm();return[t.low,t.high,this.pm]},N(n,null,[{key:"Fk",get:function(){return n.Xm||(n.Xm=new n(BigInt(0),1e6)),n.Xm}},{key:"xm",get:function(){return n.Zm||(n.Zm=new n(BigInt(0),0)),n.Zm}},{key:"zm",get:function(){return n.qm||(n.qm=new n(BigInt(1),0)),n.qm}},{key:"Rm",get:function(){return n.Jm||(n.Jm=new n(BigInt(-1),0)),n.Jm}}]),n}(ne);function he(t){return t.xk()?t:t.jk()?ce.zm:ce.Rm}function ae(t,n){return t.xk()||n.xk()?ce.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ce.xm:t.zk()?t:n}ce.Xm=void 0,ce.Zm=void 0,ce.qm=void 0,ce.Jm=void 0,function(t){t[t.Fm=0]="Fm",t[t.Gm=1]="Gm",t[t.Vm=2]="Vm"}(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.Pk(St.fromBits(t[0],t[1],!1),t[2])}var de=v.pow(2,33),_e=ve.Qk(de,9e4),we=_e.ym(2);function pe(t,n){var i=t.Ok(n);return t.zk()||n.zk()?i:(i.Tk(we)?i.Ok(_e):i.Sk(we.Ck())&&i.pp(_e),i)}var ye,ge;q.tu;!function(t){t[t.SK=0]="SK",t[t.LK=1]="LK",t[t.jK=2]="jK",t[t.CK=3]="CK",t[t.xK=4]="xK",t[t.zK=5]="zK"}(ye||(ye={})),function(t){t[t.RK=0]="RK",t[t.BK=1]="BK",t[t.UK=2]="UK",t[t.PK=3]="PK"}(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.Op="xp",t.zp="Rp",t.Ry="if"}(me||(me={})),function(t){t.Op="enter",t.zp="exit",t.Ry="update"}(be||(be={})),function(t){t[t.aL=0]="aL",t[t.z$=1]="z$",t[t.R$=2]="R$",t[t.B$=3]="B$",t[t.Du=4]="Du"}(ke||(ke={})),function(t){t.nK='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.iK='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.rK='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.eK='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.rK,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.nat=47]="nat",t[t.iat=49]="iat"}(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.bc?t.bc(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.yat=1]="yat",t[t.Aat=2]="Aat",t[t._at=3]="_at",t[t.pat=4]="pat",t[t.mat=5]="mat",t[t.Mat=6]="Mat",t[t.bat=7]="bat",t[t.Nat=8]="Nat",t[t.Tat=9]="Tat"}(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.Dat=void 0,this.Iat=[],this.Eat=0,this.Dat=t}var n=t.prototype;return n.Sat=function(){for(var t=this.Iat,n=v.max(0,this.Eat+t.length-2),i=this.Dat,r=i.Zy,e=0;n<r;n+=1){var u=i.bc(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Eat=n-t.length},n.Lat=function(t){for(var n=this.Iat,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.bc=function(t){if(!(t>this.Dat.Zy))return t>this.Eat&&this.Sat(),this.Dat.bc(this.Lat(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.KH||[],audio:t.audio&&t.audio.KH||[]},u={JT:{P4: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.JT.P4<c.JT.P4?(Qr(i.video,r),r+=f.Zy,f=e.video[o+=1]||u):(Qr(i.audio,r),r+=c.Zy,c=e.audio[s+=1]||u);return i}(t,qe.length+i);return n.v(e),n.eu(qe),fo(n,t,i,u),function(t,n,i){var r,e={JT:{P4:Number.POSITIVE_INFINITY}},u=0,o=0,s=n.video&&n.video.KH||[],f=n.audio&&n.audio.KH||[],c=s.length,h=f.length,a=s[u]||e,v=f[o]||e;t.su(i),t.eu(Ve);for(;u<c||o<h;)a.JT.P4<v.JT.P4?(r=a,a=s[u+=1]||e):(r=v,v=f[o+=1]||e),t.cu(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.v(u),i.eu(Ge),fo(i,t,e,void 0,r||ve.Fk),i}function xe(t,n,i,r,e){var u=i.Mk(),o=r.Mk(),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.v(h),e.eu(co),function(t,n,i,r,e){var u=n.video&&n.video.smt.pp(ve.Om(n.video.duration,n.video.smt.pm))||ve.Fk,o=n.audio&&n.audio.smt.pp(ve.Om(n.audio.duration,n.audio.smt.pm))||ve.Fk,s=ve.Tm(u,o),f=v.round(e*Ru);t.su(i),t.eu(ho),1===Ao(n,e)?(t.su(16777216),t.su(1),t.su(Ru),t.hu(St.fromNumber(f)),t.hu(St.ZERO)):(t.su(0),t.su(1),t.su(Ru),t.su(f),t.su(0));t.lu(0),t.lu(1);var c=Ro(n.video?n.video:void 0),h=Ro(n.audio?n.audio:void 0);t.su(To(n,r)+c+h+8),Co(t,s),t.eu([144,0,0,0])}(e,t,s,u,o),function(t,n,i,r,e){t.su(i),t.eu(ao),function(t,n){t.su(lo),t.eu(vo),t.su(0),t.su(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.KH||[],e=n.audio&&n.audio.KH||[];t.su(i),t.eu(Ve);for(var u=0;u<r.length;u++){var o=r[u];t.cu(o)}for(var s=0;s<e.length;s++){var f=e[s];t.cu(f)}}(e,t,c),e}function Le(t){return t.nmt===zr.kmt||t.nmt===zr.gmt||t.nmt===zr.wmt}function Ue(t){return t.nmt===zr.Bmt}function We(t){var n=t.length;if(n)for(var i=t[0].JT.Bat,r=0;r<n;r+=1){var e=t[r].JT;e.jmt=e.Rat.Ok(i),i=i.pp(e.Uat)}}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.WN){var n=t.kAt,i=t.mAt;t.WN=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.Yht(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.bc(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),eT:i,sT:r,jat:!!e&&o/(2*u),Cat:n,Oat:p}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.eT&&e.sT&&(t.eT=e.eT,t.sT=e.sT)}}function Nu(t,n){var i=t.jat||0;if(Le(t))return t.Nmt;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].Zy;return i};return t.video&&(n+=i(t.video.KH)),t.audio&&(n+=i(t.audio.KH)),n}function Du(t,n,i,r){var e=ve.Om(0,t.pm);return n?(r||e).pp(t):i||e}function Cu(t,n,i){var r=t.video&&Du(ve.Om(t.video.duration,Ru),n,i,t.video.smt)||ve.Fk,e=t.audio&&Du(ve.Om(t.audio.duration,Ru),n,i,t.audio.smt)||ve.Fk;return 0!==ve.Tm(r,e).Im(Ru).Jk().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.Om(t.duration,Ru),n,i,t.smt).Im(Ru).Jk().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.Om(t.duration,r),n,i);return e.bk(ve.Om(v.pow(2,32)-1,e.pm))?1:0}function Mu(t,n,i){return 1===Bu(t,n,i)?44:32}function xu(t){if(t.hasOwnProperty("gu"))return t.gu;for(var n=0,i=0,r=t.KH;i<r.length;i++){r[i].JT.Yat&&(n+=1)}return t.gu=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.Imt?t.Imt.length+12:0}function Wu(t){return Ue(t)?110+t.WN.length+Uu(t)+(t.eT&&t.sT?16:0):52+Uu(t)}function qu(t,n){return Ue(t)&&n?16+4*xu(t):0}function Gu(t,n){return t.imt&&n&&Ue(t)?16+8*t.KH.length:0}function Vu(t,n){return 20+(n?4*t.KH.length:0)}function Hu(t,n){return 16+(n?4*t.KH.length:0)}function Xu(t,n){return Ue(t)?16+(n?8*t.KH.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.smt;return n>v.pow(2,31)-1||i.bk(ve.Qk(v.pow(2,31)-1,Ru))?1:0}function Ju(t,n){return n?1===Zu(t)?24+(t.smt.Xk()?20:40):24+(t.smt.Xk()?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.Bmt)return Iu;if(t===zr.kmt)return Su;if(t===zr.gmt||t===zr.wmt)return Su;throw new c("unknown codec "+t)}(n.nmt);t.su(r),t.eu(du),t.su(0),t.su(1),t.su(r-16),t.eu(e),t.su(0),t.lu(0),t.lu(1),e===Iu&&Ue(n)?(t.su(0),t.su(0),t.su(0),t.su(0),t.lu(n.width||0),t.lu(n.height||0),t.lu(72),t.lu(0),t.lu(72),t.lu(0),t.su(0),t.lu(1),t.eu([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.lu(24),t.eu([255,255]),t.su(8+n.WN.length),t.eu(_u),t.eu(n.WN)):e===Su&&Le(n)&&(t.su(0),t.su(0),t.lu(n.Dmt),t.lu(16),t.lu(0),t.lu(0),t.lu(n.Nmt),t.lu(0)),Ue(n)&&n.eT&&n.sT&&(t.su(16),t.eu(ku),t.su(n.eT),t.su(n.sT)),!Ue(n)&&n.Imt&&(t.su(Uu(n)),t.eu(wu),t.su(0),t.eu(n.Imt))}function no(t,n,i){var r=Nu(n,!0),e=i?n.KH.length:0;!function(t){var n=t.length;if(n){var i=(t=Fr(t,function(t,n){return function(t,n){return t.Nk(n)}(t.JT.Bat,n.JT.Bat)}))[0].JT;i.Cmt=ve.Fk;for(var r=1;r<n;r+=1){var e=t[r].JT,u=e.Bat.Ok(i.Bat);e.Cmt=ve.Tm(u,ve.Fk),i=e}}}(n.KH),t.su(e);for(var u=0;u<e;u+=1){var o=n.KH[u].JT.Cmt;t.su(1),t.su(o.Im(r,fe.Vm).Jk().toInt())}}function io(t,n,i,r){var e=$u(n,!!r);t.su(e),t.eu(lu),to(t,n),function(t,n,i){t.su(Xu(n,i)),t.eu(yu),t.su(0),Ue(n)?no(t,n,i):function(t,n,i){t.su(i?1:0),i&&(t.su(n.KH.length),t.su(n.Tmt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(Ue(n)&&i){var r=qu(n,i);t.su(r),t.eu(pu),t.su(0),t.su(xu(n));for(var e=0;e<n.KH.length;e+=1)n.KH[e].JT.Yat&&t.su(e+1)}}(t,n,!!r),function(t,n,i){var r=Nu(n,!1);if(n.imt&&i&&Ue(n)){We(n.KH);var e=Gu(n,i);t.su(e),t.eu(iu),t.su(0),t.su(n.KH.length);for(var u=0,o=n.KH;u<o.length;u++){var s=o[u].JT.jmt;t.su(1),t.su(s.Im(r,fe.Vm).Jk().toInt())}}}(t,n,!!r),function(t,n){t.su(zu(n)),t.eu(gu),t.su(0),t.su(n?1:0),n&&(t.su(1),t.su(1),t.su(1))}(t,!!r),function(t,n,i){var r=Vu(n,i);if(t.su(r),t.eu(mu),t.su(0),t.su(0),t.su(i?n.KH.length:0),i)for(var e=0,u=n.KH;e<u.length;e++){var o=u[e];t.su(o.Zy)}}(t,n,!!r),function(t,n,i){var r=Hu(n,!!i);t.su(r),t.eu(bu),t.su(0),t.su(i?n.KH.length:0),i&&t.eu(i)}(t,n,r)}function ro(t,n,i,r){var e=Ku(n,!!r);t.su(e),t.eu(ou),Ue(n)?function(t){t.eu(cu)}(t):function(t){t.eu(su)}(t),function(t){t.eu(au)}(t),io(t,n,0,r)}function eo(t,n,i,r,e){var u=Yu(n,!!r,e);t.su(u),t.eu(tu),function(t,n,i,r){var e=Mu(n,i,r),u=Nu(n,!1),o=Du(ve.Om(n.duration,u),i,r);u=v.round(u),t.su(e),t.eu(nu),1===Bu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(u),Do(t,o)):(t.su(0),t.su(0),t.su(0),t.su(u),Co(t,o)),t.eu([85,196]),t.eu([0,0])}(t,n,!!r,e),function(t,n){n?t.eu(ru):t.eu(eu)}(t,Ue(n)),ro(t,n,0,r)}function uo(t,n){t.su(Ze),t.eu(Ye),t.su(0),t.su(n),t.su(1),t.su(0),t.su(0),t.su(0)}function oo(t,n,i,r,e){var u=Qu(n,!!i,e);n&&0!==u&&(t.su(u),t.eu(ze),function(t,n,i,r,e){var u=Du(ve.Om(n.duration,Ru),r,e,n.smt),o=ju(n,r,e),s=Ue(n);t.su(o),t.eu($e),1===Pu(n,r,e)?(t.su(16777231),t.hu(St.ZERO),t.hu(St.ZERO),t.su(i),t.su(0),Do(t,u)):(t.su(15),t.su(0),t.su(0),t.su(i),t.su(0),Co(t,u)),t.su(0),t.su(0),t.lu(0),t.lu(s?0:1),t.eu(s?[0,0]:Eu),t.eu([0,0]),t.eu(Tu),Ue(n)?(t.lu(n.width||0),t.lu(0),t.lu(n.height||0),t.lu(0)):(t.su(0),t.su(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.su(i),t.eu(Je),t.su(i-8),t.eu(Qe),1===e?t.su(16777216):t.su(0),t.su(n.smt.Xk()?1:2),n.smt.Xk()||(1===e?(Do(t,n.smt),t.eu([255,255,255,255,255,255,255,255])):(Co(t,n.smt),t.eu([255,255,255,255])),t.lu(1),t.lu(0)),1===e?(t.hu(St.fromNumber(r)),t.hu(St.ZERO)):(t.su(r),t.su(0)),t.lu(1),t.lu(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.su(i),t.eu(He),function(t,n,i,r){var e=Fu(n,i,r),u=n.video&&Du(ve.Om(n.video.duration,Ru),i,r,n.video.smt)||ve.Fk,o=n.audio&&Du(ve.Om(n.audio.duration,Ru),i,r,n.audio.smt)||ve.Fk,s=ve.Tm(u,o);t.su(e),t.eu(Xe),1===Cu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(Ru),Do(t,s)):(t.su(0),t.su(0),t.su(0),t.su(Ru),Co(t,s)),t.eu([0,1,0,0]),t.eu(Eu),t.eu([0,0,0,0,0,0,0,0,0,0]),t.eu(Tu),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(3)}(t,n,!!r,e),r||function(t,n){t.su(Lu(n,!1)),t.eu(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.KH.length:20+4*t.KH.length}function ko(t){return Ue(t)?12+t.KH.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.KH?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.KH)return 0;for(var n=0,i=0,r=t.KH;i<r.length;i++){n+=r[i].Zy}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.KH),t.su(bo(i)),t.eu(go),t.eu([1,0,15,1]),t.su(i.KH.length),t.su(e);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(v.round(f.JT.r_*u));var c=f.JT.jmt;t.su(f.Zy),t.eu(f.JT.Yat?[2,0,0,0]:[0,1,0,0]),t.su(c.Im(u).Jk().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.su(bo(i)),t.eu(go),t.eu([0,0,2,1]),t.su(i.KH.length),t.su(u);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(f.Zy)}}(t,n,i,r)}function Oo(t,n,i,r,e){i&&(t.su(Eo(i,e)),t.eu(_o),function(t,n,i){var r=Nu(n,!0),e=Ue(n)?v.round(r/(n.umt.Mk()||0)):n.Tmt;t.su(po),t.eu(wo),t.su(40),t.su(i),t.su(e),t.eu(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.su(So(n,i)),t.eu(yo),1===Io(n,i)?(t.su(16777216),t.hu(St.fromNumber(e))):(t.su(0),t.su(e))}(t,i,e),No(t,n,i,e),function(t,n,i){if(Ue(i)){t.su(ko(i)),t.eu(mo),t.eu([0,0,0,0]);for(var r=0,e=i.KH;r<e.length;r++)e[r].JT.Yat?t.ku(32):t.ku(16)}}(t,0,i))}function Do(t,n){t.hu(n.Im(Ru).Jk())}function Co(t,n){t.su(n.Im(Ru).Jk().toNumber())}var Fo,Po={qu:function(t,n){n.v(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].Zy;return r}(t.audio.KH)),n}(t));for(var i=0,r=t.audio&&t.audio.KH||[],e=r.length;i<e;)n.cu(r[i]),i+=1}},jo=function(){function t(t){this._o=void 0,this.Vl=void 0,this.zu=0,this.Vl=t}var n=t.prototype;return n.to=function(t,n,i){var r=this.zu,e=this._o;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.zu=r},n.v=function(t){this._o=new w(t),this.zu=0},n.ku=function(t){this._o&&(this._o[this.zu]=t,this.zu+=1)},n.eu=function(t,n,i){this._o&&this.to(t,n,i)},n.cu=function(t){this.zu=t.Xht(this._o,this.zu)},n.Wm=function(t){return t(this._o,this.Vl)},n.lu=function(t){return this.eu([(n=t)>>>8&255,255&n]);var n},n.su=function(t){return this.eu(Yr(t))},n.hu=function(t){var n=t.toUnsigned();this.su(n.high),this.su(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{Nb:t.Nb,JT:{P4:t.JT.P4,b0:le(t.JT.zat)},KH:t.KH}}function Xo(t){return{b0:le(t.b0),lT:t.lT,w0:t.w0,g0:t.g0,ra:t.ra,qht:t.qht,y0:t.y0,A0:t.A0}}function zo(t){return{Zkt:t.Zkt,KH:[],nmt:t.nmt,imt:t.imt,duration:t.duration,emt:t.emt,smt:le(t.smt),jat:t.jat,umt:le(t.umt),omt:t.omt,hmt:le(t.hmt),amt:le(t.amt),cmt:le(t.cmt),fmt:le(t.fmt),vmt:le(t.vmt),dmt:le(t.dmt),lmt:le(t.lmt)}}function $o(t){switch(t.nmt){case zr.gmt:case zr.wmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{ymt:r.ymt,Amt:r.Amt,_mt:r._mt}));var r;return n.jc(i)}(t)}),DAt:t.DAt,pmt:t.pmt})}(t);case zr.kmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{Sb:r.Sb,uN:r.uN,mmt:r.mmt,Mmt:r.Mmt,bmt:r.bmt}));var r;return n.jc(i)}(t)})})}(t)}}function Ko(t){return vr({},zo(t),{KH:[],nmt:t.nmt,Nmt:t.Nmt,Tmt:t.Tmt,Dmt:t.Dmt,Imt:t.Imt})}function Yo(t){var n=new te;return n.Yht(t.Emt,0,t.Smt),n.JT=t.Lmt,n}function Zo(t){var n;return vr({},{P4:(n=t).P4,zat:le(n.zat)},{Rat:le(t.Rat),Bat:le(t.Bat)})}function Jo(t){return vr({},Zo(t))}!function(t){t.kmt="ZNt",t.zA="qNt",t.JNt="KNt",t.$Nt="tTt",t.nTt="iTt"}(xo||(xo={})),function(t){t.rTt="eTt",t.sTt="uTt"}(Lo||(Lo={})),function(t){t.oTt="audio/mp4",t.hTt="audio/mpeg",t.aTt="video/mp4"}(Uo||(Uo={}));var Qo=t;function ts(t,n,i){n={},i||(i="PIW0031"),Qo.postMessage({qTt:"iDt",JTt:t,$Tt:n.message||i,no:n.name,io:n.stack,ro:JSON.stringify(n)})}function ns(t,n){return{_o:Vo(t),Vl:n}}Qo.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.DTt,s=u.LTt,f=u.ETt,c=[],h=s===Lo.rTt?function(t,n,i){return t.push(n.buffer),{_o:n,Vl:i}}.bind(void 0,c):ns;if("ITt"===o){r=function(t){return{audio:t.audio?$o(t.audio):void 0,video:t.video?(i=t.video,r=zo(i),vr({},r,{nmt:i.nmt,KH:i.KH.map(function(t){return function(t){var n,i=Yo(t),r=vr({},Zo(n=i.JT),{r_:n.r_,Uat:le(n.Uat),Pat:n.Pat,Qat:n.Qat,jmt:n.jmt&&le(n.jmt),Cmt:n.Cmt&&le(n.Cmt),Yat:n.Yat,Vat:n.Vat,Fat:n.Fat,Gat:n.Gat});return i.jc(r)}(t)}),Omt:i.Omt,xmt:i.xmt,WN:i.WN,width:i.width,height:i.height,$vt:i.$vt,zmt:i.zmt,ndt:i.ndt,kAt:i.kAt,mAt:i.mAt,eT:i.eT,sT:i.sT})):void 0,Xkt:t.Xkt?(n=t.Xkt,{Zkt:n.Zkt,a_t:n.a_t,wA:n.wA,qkt:n.qkt,Jkt:n.Jkt,Kkt:n.Kkt,$kt:n.$kt.map(Ho),kA:[]}):void 0,Fat:t.Fat?t.Fat.map(Xo):t.Fat,tmt:le(t.tmt)};var n,i,r}(u.CTt),u.CTt=void 0;try{if((e=u.STt)===xo.nTt||e===xo.$Nt||e===xo.JNt)n=function(t,n){var i=t.jTt,r=t.OTt,e=le(t.zTt),u=le(t.RTt),o=t.xTt&&le(t.xTt);switch(t.STt){case xo.JNt:var s=new jo(i);return xe(n,r,e,u,s),s;case xo.$Nt:var f=new jo(i);return Me(n,o,f),f;case xo.nTt:var c={hDt:new jo(i),aDt:new jo(i),Wm:function(t){return{hDt:c.hDt.Wm(t),aDt:c.aDt.Wm(t)}}};return Me(n,o,c.hDt),xe(n,r,e,u,c.aDt),c}}(u,r);else{if(!function(t){var n=t.STt;return n===xo.zA||n===xo.kmt}(u))return ts(f,{},"PIW0072");n=function(t,n){var i=t.jTt;switch(t.STt){case xo.kmt:var r=new jo(i);return Po.qu(n,r),r;case xo.zA:var e=new jo(i);return Be(n,e),e}}(u,r)}}catch(t){return ts(f,t,"PIW0082")}try{i=n.Wm(h)}catch(t){return ts(f,t,"PIW0077")}try{return Mo({qTt:"tDt",JTt:f,KTt:i},c)}catch(t){return ts(f,t,"PIW0078")}}return ts(f,{},"PIW0090")},!1),Qo.postMessage({Skt:"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.g="web",t.N="android",t.I="android-tv",t.j="ios",t.B="tvos",t.U="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.Y=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.F=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.H=/Windows NT/i.test(I),this.Z=E?_(E[1]):0,this.q=/Android/i.test(I),this.J=b?_(b[1]):0,this.K=/windows phone (8|8\.1)/i.test(I),this.nt=/iPhone/i.test(I),this.ut=/iPad/i.test(I),this.ot=this.F&&this.Y&&!this.ut,this.ct=/iPod/i.test(I),this.vt=/Mobile Safari/i.test(I),this.dt=/EOSSTB/i.test(I),this.wt=(this.nt||this.ut||this.ot||this.ct)&&!this.K,this.At=this.K||this.wt||this.q||this.vt,this.yt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.yt,this.kt=this._t&&/Edg\//i.test(e.userAgent),this.Mt=S?l(S[1],10):0,this.bt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.Nt=k?l(k[1],10):0,this.Tt=/SMART-TV.*Tizen/i.test(I),this.Dt=O?_(O[1]):0,this.It=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.St=/Trident/i.test(I),this.Lt=this.St&&!t.ActiveXObject&&"ActiveXObject"in t,this.jt=/Vivaldi/i.test(I),this.Ct=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ot=N?_(N[1]):0,this.xt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.K&&!this.Tt,this.zt=T?_(T[2]):0,this.Bt=Boolean(R),this.Rt=R?_(R[1]):0,this.Ut=/CrKey/.test(I),this.Qt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Pt="web"===n.I,this.Yt="web"===n.N,this.Ft=this.Yt||this.Pt,this.Gt="web"===n.j,this.Vt="web"===n.B,this.Wt="web"===n.U}return p(r,[{key:"Ht",get:function(){return this.Y}},{key:"Xt",get:function(){return this.F}},{key:"Zt",get:function(){return this.H}},{key:"qt",get:function(){return this.Z}},{key:"Jt",get:function(){return this.q}},{key:"Kt",get:function(){return this.J}},{key:"$t",get:function(){return this.K}},{key:"in",get:function(){return this.nt}},{key:"un",get:function(){return this.ut}},{key:"hn",get:function(){return this.ot}},{key:"cn",get:function(){return this.ct}},{key:"fn",get:function(){return this.wt}},{key:"vn",get:function(){return this.dt}},{key:"dn",get:function(){return this.vt}},{key:"wn",get:function(){return this.At}},{key:"An",get:function(){return this.yt}},{key:"yn",get:function(){return this._t}},{key:"_n",get:function(){return this.Nt}},{key:"pn",get:function(){return this.kt}},{key:"Mn",get:function(){return this.Mt}},{key:"Nn",get:function(){return this.Tt}},{key:"Tn",get:function(){return this.Dt}},{key:"Dn",get:function(){return this.It}},{key:"In",get:function(){return this.Et}},{key:"En",get:function(){return this.St}},{key:"Sn",get:function(){return this.Lt}},{key:"Ln",get:function(){return this.jt}},{key:"jn",get:function(){return this.Ct}},{key:"Cn",get:function(){return this.Ot}},{key:"On",get:function(){return this.xt}},{key:"xn",get:function(){return this.zt}},{key:"zn",get:function(){return this.Bt}},{key:"Bn",get:function(){return this.Rt}},{key:"Rn",get:function(){return this.Ut}},{key:"Un",get:function(){return this.Qt}},{key:"Qn",get:function(){if(!(this.Dn||this.Nn))return!1;var t=this._n;return void 0===t||Number(t)<56}},{key:"Pn",get:function(){return this.Pt}},{key:"Yn",get:function(){return this.Yt}},{key:"Fn",get:function(){return this.Ft}},{key:"Gn",get:function(){return this.Gt}},{key:"Vn",get:function(){return this.Vt}},{key:"Wn",get:function(){return this.Wt}},{key:"Hn",get:function(){return this.bt}}]),r}();A.Xn=new A;var D=A.Xn;var C=function(){},P=!(D.En&&!D.Sn),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.Kn)}z.prototype.Kn,h.defineProperty(z.prototype,"Kn",{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.ni=1]="ni",t[t.ri=2]="ri",t[t.ei=3]="ei",t[t.oi=4]="oi",t[t.ai=9]="ai"}(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.ci=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.di=void 0,this.di=t}var n=t.prototype;return n.gi=function(t){return this.di.isEqualNode(t.di)},n.wi=function(n){return new t(this.di.cloneNode(n))},p(t,[{key:"$n",get:function(){return pt.ri}},{key:"Ai",get:function(){var t;return null!=(t=this.di.localName)?t:Ct(this.di.nodeName)}},{key:"_i",get:function(){return this.di.nodeName}},{key:"Mi",get:function(){var t;return null!=(t=this.di.namespaceURI)?t:void 0}},{key:"Ni",get:function(){var t;return null!=(t=this.di.prefix)?t:void 0}},{key:"Ti",get:function(){return this.di.nodeValue}}]),t}(),bt=function(){function t(t){this.Di=void 0,this.Ii=void 0,this.Di=t}var n=t.prototype;return n.Ei=function(t){return this.Si.filter(function(n){return At(n)&&n.Li===t})},n.ji=function(t,n){return this.Si.filter(function(r){return At(r)&&r.Ai===n&&r.Mi===t})},n.Ci=function(t){this.Di.appendChild(t.Oi),this.Ii&&this.Ii.push(t)},n.gi=function(t){return this.Di.isEqualNode(t.Oi)},p(t,[{key:"Si",get:function(){return void 0===this.Ii&&(this.Ii=function(t){for(var n=[],r=0;r<t.length;r++){var i=Dt(t.item(r));i&&n.push(i)}return n}(this.Di.childNodes)),this.Ii}},{key:"xi",get:function(){return this.Si.filter(At)}},{key:"Oi",get:function(){return this.Di}}]),t}(),Et=function(t){function n(n){return t.call(this,n)||this}m(n,t);var r=n.prototype;return r.zi=function(t){if(this.Di.hasAttribute(t))return this.Di.getAttribute(t)},r.Bi=function(t,n){if(this.Di.hasAttributeNS(t,n))return this.Di.getAttributeNS(t,n)},r.Ri=function(t){this.Di.removeAttribute(t)},r.Ui=function(t,n){this.Di.removeAttributeNS(t,n)},r.Qi=function(t,n){this.Di.setAttribute(t,n)},r.Pi=function(t,n,r){this.Di.setAttributeNS(t,n,r)},r.wi=function(t){return new n(this.Di.cloneNode(t))},p(n,[{key:"$n",get:function(){return pt.ni}},{key:"Ai",get:function(){var t;return null!=(t=this.Di.localName)?t:Ct(this.Di.nodeName)}},{key:"Mi",get:function(){var t;return null!=(t=this.Di.namespaceURI)?t:void 0}},{key:"Ni",get:function(){var t;return null!=(t=this.Di.prefix)?t:void 0}},{key:"Li",get:function(){return this.Di.nodeName}},{key:"Yi",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new St(t.item(r)));return n}(this.Di.attributes)}},{key:"Fi",get:function(){return this.Di.textContent}}]),n}(bt),Tt=function(){function t(t){this.Di=void 0,this.Di=t}return t.prototype.gi=function(t){return this.Gi===t.Gi},p(t,[{key:"Gi",get:function(){return this.Di.nodeValue}},{key:"Oi",get:function(){return this.Di}}]),t}(),Nt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},p(n,[{key:"$n",get:function(){return pt.ei}}]),n}(Tt),Rt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},p(n,[{key:"$n",get:function(){return pt.oi}}]),n}(Tt),Ot=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},p(n,[{key:"$n",get:function(){return pt.ai}},{key:"Vi",get:function(){return new Et(this.Di.documentElement)}}]),n}(bt);function At(t){return function(t){return t.$n===pt.ni}(t)}function Dt(t){switch(t.nodeType){case pt.ni:return new Et(t);case pt.ei:return new Nt(t);case pt.oi: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={Wi: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{Wi:2,Hi: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:{Wi:3,Xi: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?{Wi:1,Hi:i}:""===r?Wn:{Wi:0,Zi:r}}function jn(t){switch(t.Wi){case 0:return t.Zi;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.Hi);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.Hi)+"]";case 3:return t.Xi;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.qi.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.qi,zn(n))}function rr(t){if(t.Ji){var n=Kn(t.qi);""===n&&(n=null),t.Ji.Ji.Ki=n}}function ir(t){return t instanceof er&&(!!Gt(t.qi)&&(!zt||t[Symbol.iterator]===ur))}var er=function(){function t(t){if(void 0===t&&(t=void 0),this.Ji=null,null==t)this.qi=[];else if("object"==typeof t||"function"==typeof t)if(ir(t))this.qi=t.qi.slice();else if(null!=(u=t)&&(Gt(u)||zt&&"function"==typeof u[Symbol.iterator])){this.qi=[];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.qi.push([Yn(i[0]),Yn(i[1])])}}else for(var e in this.qi=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.qi.push([Yn(e),Yn(t[e])]);else(t=Yn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.qi=zn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Yn(t),n=Yn(n),this.qi.push([t,n]),rr(this)},n.delete=function(t){t=Yn(t);for(var n=this.qi,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.qi,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.qi,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.qi,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.qi,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.qi,Qn),rr(this)},n.toString=function(){return Kn(this.qi)},n.entries=function(){return new cr(this.qi,or)},n.keys=function(){return new cr(this.qi,fr)},n.values=function(){return new cr(this.qi,sr)},n.forEach=function(t){var n=this;this.qi.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.$i=0,this.qi=t,this.re=n}return t.prototype.next=function(){return this.$i<this.qi.length?{done:!1,value:this.re(this.qi[this.$i++])}:{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.ue)}function pr(t){return""!==t.oe||""!==t.fe}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.we;0!==n.length&&("file"===t.ue&&1===n.length&&kr(n[0])||n.pop())}function br(t){return null===t.Ae||Wn===t.Ae||t.ye||"file"===t.ue}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.ue)&&!wr(d))return;if(!wr(r.ue)&&wr(d))return;if((pr(r)||null!==r._e)&&"file"===d)return;if("file"===r.ue&&(r.Ae===Wn||null===r.Ae))return}if(r.ue=d,null!==i)return void(yr(r)&&r._e===hr[r.ue]&&(r._e=null));u.length=0,"file"===r.ue?e=13:yr(r)&&n&&n.ue===r.ue?e=3:yr(r)?e=7:47===c[v+1]?(e=4,v+=1):(r.ye=!0,r.we.push(""),e=18)}break;case 2:if(!n||n.ye&&35!==_)throw new a("Invalid scheme");n.ye&&35===_?(r.ue=n.ue,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",r.ye=!0,e=20):"file"!==n.ue?(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.ue=n.ue,Er===_?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki=n.Ki):47===_?e=6:63===_?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki="",e=19):35===_?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",e=20):92===_&&yr(r)?e=6:(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.we.pop(),e=17,v-=1);break;case 6:!yr(r)||47!==_&&92!==_?47===_?e=9:(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,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.fe+=p:r.oe+=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.ue)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.Ae=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.Ae=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.ue]?null:I,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.ue="file",47===_||92===_?e=14:n&&"file"===n.ue?Er===_?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki=n.Ki):63===_?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki="",e=19):35===_?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",e=20):(gr(c.slice(v))||(r.Ae=n.Ae,r.we=n.we.slice(),Sr(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.ue&&!gr(c.slice(v))&&(kr(n.we[0])?r.we.push(n.we[0]):r.Ae=n.Ae),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.Ae=Wn,null!==i)return;e=16}else{var k=Hn(gn(u),yr(r));if(0===k.Wi&&"localhost"===k.Zi&&(k=Wn),r.Ae=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.Ki="",e=19):null===i&&35===_?(r.ke="",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.we.push("")):!_r(S)||47===_||yr(r)&&92===_?_r(S)||("file"===r.ue&&0===r.we.length&&Ir(u)&&(Wn!==r.Ae&&null!==r.Ae&&(r.Ae=Wn),u[1]=58,S=gn(u)),r.we.push(S)):r.we.push(""),u.length=0,"file"===r.ue&&(Er===_||63===_||35===_))for(;r.we.length>1&&""===r.we[0];)r.we.shift();63===_?(r.Ki="",e=19):35===_&&(r.ke="",e=20)}else u.push.apply(u,Pn(_,On));break;case 18:63===_?(r.Ki="",e=19):35===_?(r.ke="",e=20):Er!==_&&(r.we[0]+=gn(Pn(_,Nn)));break;case 19:null===i&&35===_?(r.ke="",e=20):Er!==_&&(r.Ki+=gn(Pn(_,yr(r)?Cn:Dn)));break;case 20:Er===_||0===_||(r.ke+=gn(Pn(_,Rn)))}v++}return r}function Or(t,n,r,i){try{Rr(t,n,r,i)}catch(t){}}var Ar=function(){this.ue="",this.oe="",this.fe="",this.Ae=null,this._e=null,this.we=[],this.Ki=null,this.ke=null,this.ye=!1};function Dr(t){switch(t.ue){case"blob":var n;try{n=Rr(t.we[0],null)}catch(t){return ar}return Dr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.ue,i=t.Ae,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.Ji)}var Pr=function(){function t(t,n){var r,i=null;if(null!=n)if(Cr(n))i=n.Ji;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.Ki;this.Ji=r,this.Ki=function(t){var n=new er;return null!==t&&nr(n,t),n}(e),this.Ki.Ji=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.ue+":";if(null!==t.Ae?(r+="//",pr(t)&&(r+=t.oe,""!==t.fe&&(r+=":"+t.fe),r+="@"),r+=jn(t.Ae),null!==t._e&&(r+=":"+t._e)):null===t.Ae&&"file"===t.ue&&(r+="//"),t.ye)r+=t.we[0];else for(var i=0,e=t.we;i<e.length;i++)r+="/"+e[i];return null!==t.Ki&&(r+="?"+t.Ki),n||null===t.ke||(r+="#"+t.ke),r}(this.Ji)},set:function(t){var n;try{n=Rr(String(t),null)}catch(t){throw new a("Invalid URL: "+t.message)}this.Ji=n,tr(this.Ki);var r=this.Ji.Ki;null!==r&&nr(this.Ki,r)}},{key:"origin",get:function(){return Dr(this.Ji)}},{key:"protocol",get:function(){return this.Ji.ue+":"},set:function(t){Or(t+":",null,this.Ji,0)}},{key:"username",get:function(){return this.Ji.oe},set:function(t){br(this.Ji)||(this.Ji.oe=Fn(t,An))}},{key:"password",get:function(){return this.Ji.fe},set:function(t){br(this.Ji)||(this.Ji.fe=Fn(t,An))}},{key:"host",get:function(){var t=this.Ji,n=t.Ae;if(null===n)return"";var r=t._e,i=jn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Ji.ye||Or(t,null,this.Ji,10)}},{key:"hostname",get:function(){var t=this.Ji.Ae;return null===t?"":jn(t)},set:function(t){this.Ji.ye||Or(t,null,this.Ji,11)}},{key:"port",get:function(){var t=this.Ji._e;return null===t?"":""+t},set:function(t){br(this.Ji)||(""===t?this.Ji._e=null:Or(t,null,this.Ji,12))}},{key:"pathname",get:function(){var t=this.Ji.we;return this.Ji.ye?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ji.ye||(this.Ji.we.length=0,Or(t,null,this.Ji,16))}},{key:"search",get:function(){var t=this.Ji.Ki;return null===t||""===t?"":"?"+t},set:function(t){t=Yn(t);var n=this.Ji;if(""===t)return n.Ki=null,void tr(this.Ki);"?"===t[0]&&(t=t.slice(1)),n.Ki="",Or(t,null,n,19),nr(this.Ki,t)}},{key:"searchParams",get:function(){return this.Ki}},{key:"hash",get:function(){var t=this.Ji.ke;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ji.ke="",Or(t,null,this.Ji,20)):this.Ji.ke=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.pe=0,this.me=!1,this.Me=void 0,this.Ne=[],Gr(t,this)}function Wr(t,n){for(;3===t.pe;)t=t.Me;0!==t.pe?(t.me=!0,Lr.Te(function(){var r=1===t.pe?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.Me)}catch(t){return void Vr(n.promise,t)}Ur(n.promise,i)}else(1===t.pe?Ur:Vr)(n.promise,t.Me)})):t.Ne.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.pe=3,t.Me=n,void Hr(t);if("function"==typeof r)return void Gr((i=r,e=n,function(){i.apply(e,arguments)}),t)}t.pe=1,t.Me=n,Hr(t)}catch(n){Vr(t,n)}var i,e}function Vr(t,n){t.pe=2,t.Me=n,Hr(t)}function Hr(t){2===t.pe&&0===t.Ne.length&&Lr.Te(function(){t.me||Lr.De(t.Me)});for(var n=0,r=t.Ne.length;n<r;n++)Wr(t,t.Ne[n]);t.Ne=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.Te="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Br(t,0)},Lr.De=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.Ie=0,this.Ee=0,this.Xi=[],this.Se=t}return t.prototype.Le=function(t){var n=this.length();this.je(n+1);var r=this.Ee+n&this.Se-1;this.Xi[r]=t,this.Ie=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Se<n)this.Le(t);else{var r=this.Ee+n-1,i=this.Se-1;this.Xi[r&i]=t,this.Ie=n}},t.prototype.shift=function(){var t=this.Ee,n=this.Xi[t];return this.Xi[t]=void 0,this.Ee=t+1&this.Se-1,this.Ie--,n},t.prototype.length=function(){return this.Ie},t.prototype.je=function(t){this.Se<t&&this.Ce(this.Se<<1)},t.prototype.Ce=function(t){var n=this.Se;this.Se=t;var r=this.Ee+this.Ie&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.Xi,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.Te,di=(si=_i,ci=new Qr(16),ai=!1,{Oe:function(t){ci.push(t),ai||(ai=!0,si(hi))},xe:hi=function(){for(;ci.length()>0;)ci.shift()();ai=!1}});di.xe,Lr.Te=di.Oe,Lr.De=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.ze=void 0,this.Be=!1,this.Ht=yi,this.wn=!1,this.Re=!0,this.Ue=!0}var n=t.prototype;return n.Qe=function(){return 0},n.Pe=function(t,n){return!0},n.Ye=function(t){return t>=1/6*2},p(t,[{key:"Fe",get:function(){return void 0===this.ze&&(this.ze=this.Qe()),this.ze}},{key:"Ge",get:function(){return r.devicePixelRatio||1}},{key:"Ve",get:function(){return gi}},{key:"We",get:function(){return!1}},{key:"He",get:function(){return!0}},{key:"Xe",get:function(){return D.Xt||D.fn}},{key:"Ze",get:function(){return!0}},{key:"qe",get:function(){return!0}},{key:"Je",get:function(){}},{key:"Ke",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.hn)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).$e=void 0,r.$e=n,r.$e&&(r.Be=r.$e.Be,r.Ht=r.$e.Ht,r.Re=Ii&&r.$e.Re),r}m(n,t);var r=n.prototype;return r.Qe=function(){return this.$e?this.$e.Fe:t.prototype.Qe.call(this)},r.Pe=function(n,r){return this.$e?this.$e.Pe(n,r):t.prototype.Pe.call(this,n,r)},r.Ye=function(n){return this.$e?this.$e.Ye(n):t.prototype.Ye.call(this,n)},p(n,[{key:"Je",get:function(){var t;return null==(t=this.$e)?void 0:t.Je}},{key:"Ke",get:function(){var t,n;return null==(t=null==(n=this.$e)?void 0:n.Ke)||t}}]),n}(mi),Si=function(t){function n(n){var r;return(r=t.call(this,n)||this).Be=!0,r.wn=!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.Qe=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.Pe=function(n,r){return t.prototype.Pe.call(this,n,r)},p(n,[{key:"We",get:function(){return D.Tn<3}},{key:"He",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.Pe=function(t,n){if(t&&t.ir&&n&&n.ir){var r=Ri(t.ir,"mp4a.40.2")&&Ri(n.ir,"mp4a.40.5"),i=Ri(t.ir,"mp4a.40.5")&&Ri(n.ir,"mp4a.40.2"),e=Ri(t.ir,"mp4a.40.2")&&Ri(n.ir,"mp4a.40.34"),u=Ri(t.ir,"mp4a.40.34")&&Ri(n.ir,"mp4a.40.2"),o=Ri(t.ir,"mp4a.40.5")&&Ri(n.ir,"mp4a.40.34"),f=Ri(t.ir,"mp4a.40.34")&&Ri(n.ir,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},p(n,[{key:"Je",get:function(){if(D.Xt)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.Ye=function(t){return t>=2},n}(Ti),Ai=function(t){function n(){var n;return(n=t.call(this)||this).Be=D.xn>=11,n.Re=D.On&&!(D.fn&&D.xn<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:"Ze",get:function(){return!1}}]),n}(ki),Ci=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"Ke",get:function(){return!D.Zt||!!D.pn&&92!==D.Mn}}]),n}(Ti),Pi=function(){function n(){var n;this.Zn=void 0,this.rr=new kt,this.dr=new Fi,this.gr=(n=function(){if(D.jn)return new Ni;if(D.In||D.En)return new Oi;if(D.On)return new Ai;if(D.yn)return new Ci;return new Ti}(),D.fn?new bi(n):D.wn?new Si(n):D.Nn?new Ei(n):D.Dn?new Di(n):new ki(n)),this.wr=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.Zn=function(){return t.performance.now()}:this.Zn=yt}var r=n.prototype;return r.Ar=function(){W.apply(void 0,arguments)},r.yr=function(){U.apply(void 0,arguments)},r._r=function(){V.apply(void 0,arguments)},r.Mr=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.Jn=function(t,n){return u(t,n)},r.Nr=function(t,n){return f(t,n)},r.qn=function(t){o(t)},r.Tr=function(t){s(t)},r.ci=function(t){return this.rr.ci(t)},r.Dr=function(){return this.Ir.Dr()},r.Er=function(){return this.Ir.Er()},r.Sr=function(){return this.Ir.Sr()},r.Lr=function(){return this.Ir.Lr()},r.jr=function(){return this.Ir.jr()},r.Cr=function(t,n){return this.Ir.Cr(t,n)},r.Or=function(t){return this.Ir.Or(t)},r.xr=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.zr=function(n,r){if(void 0===r&&(r=Fr(void 0)),this.wr){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.xr(n,r).href},p(n,[{key:"Br",get:function(){return this.dr}},{key:"Rr",get:function(){return this.gr}},{key:"Ur",get:function(){return{Qr:e&&e.userAgent.match(/Android /i)?"Android":"other",Pr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Yr",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Fr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Fi=function(){function t(){}return p(t,[{key:"Gr",get:function(){return e.oscpu}},{key:"Rr",get:function(){return e.platform}},{key:"Vr",get:function(){return e.vendor}},{key:"Wr",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.Hr=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.Xr=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.Hr(n,t)}})}function N(t){var n;this.Hr=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,"Zr")?fi.resolve(c.Zr).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{Zr: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.Xr=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.ns="playready",t.rs="widevine",t.us="fairplay",t.hs="clearkey",t.fs="aes128"}(Ui||(Ui={}));var ji={vs:Ui.ns,ls:"com.microsoft.playready",ds:"cenc",gs:"9a04f079-9840-4286-ab92-e65be0885f95",As:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",ys:"PlayReady"},Gi={vs:Ui.rs,ls:"com.widevine.alpha",ds:"cenc",gs:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",As:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ys:"Widevine"},zi={vs:Ui.us,ls:"com.apple.fps.1_0",ds:"skd",gs:Vi,As:Hi,ys:"FairPlay"},Ki=(Ui.us,{vs:Ui.hs,ls:"org.w3.clearkey",ds:"cenc",gs:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",As:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ys:"ClearKey"});var qi=D.yn&&D._n>=42||D.jn&&D.Cn>=38||D.In||D.Sn||D.zn&&D.Bn>=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.Ms=new Wi,this.Ns=void 0,this._s=t}var n=t.prototype;return n.jr=function(){return this.Or(Gi)},n.Er=function(){return this.Or(Ki)},n.Lr=function(){return this.Or(ji)},n.Sr=function(){return this.Or(zi)},n.Or=function(t){var n=t.As,r=this.Ms.get(n);if(r)return r;var i=this.Cr(t,'video/mp4; codecs="avc1.42000a"');return this.Ms.set(n,i),i},n.Cr=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.Ts(t.ls,[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.Ts(t.ls,[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.Dr=function(){return this.Ns||(this.Ns=this.Ds()),this.Ns},n.Ds=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.cf=function(){},n.ju=function(t){},n.Eu=function(t){},n.vf=function(t,n){},t}(),Ji=function(){function t(){}return t.prototype.Ts=function(t,n){return fi.reject(new a("Unsupported key system configuration"))},t}();!function(t){t.Jf="arraybuffer",t.Kf="json",t.$f="stream",t.ei="text"}(Yi||(Yi={}));var Qi,te=function(){function t(n){var r=this;this.$r=void 0,this.$r={},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.$r.hasOwnProperty(e)){var u=this.$r[e],o=u[1];u[1]=o?o+", "+i:i}else this.$r[e]=[r,i]},n.delete=function(t){var n=ne(t).toLowerCase();delete this.$r[n]},n.get=function(t){var n=ne(t).toLowerCase();return this.$r.hasOwnProperty(n)?this.$r[n][1]:null},n.has=function(t){var n=ne(t).toLowerCase();return this.$r.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=ne(r)).toLowerCase();this.$r[i]=[r,re(n)]},n.forEach=function(t,n){for(var r in this.$r)this.$r.hasOwnProperty(r)&&t.call(n,this.$r[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.$r)if(this.$r.hasOwnProperty(n)){var r=this.$r[n],i=r[0],e=r[1];t.push([i,e])}return t},n.rv=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.uv=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.ov=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.Is=0]="Is",t[t.Es=1]="Es",t[t.Ss=-1]="Ss"}(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.Is:function(t,n){return t===n?Qi.Is:t<n?Qi.Ss:t>n?Qi.Es:d(t)?d(n)?Qi.Is:Qi.Es:Qi.Ss}(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.Ls=!1,this.Cs=!1,this.Os=[],this.xs=[]}var n=t.prototype;return n.zs=function(){if(!this.Ls&&!this.Cs){this.Ls=!0;for(var t=0,n=this.Os.slice();t<n.length;t++){(0,n[t])()}this.Bs()}},n.Bs=function(){if(!this.Cs){this.Cs=!0;for(var t=0,n=this.xs.slice();t<n.length;t++){(0,n[t])()}fe(this.Os),fe(this.xs)}},n.Rs=function(t){this.Cs||this.Os.push(t)},n.Us=function(t){this.Cs||oe(this.Os,t)},n.Qs=function(t){this.Cs||this.xs.push(t)},n.Ps=function(t){this.Cs||oe(this.xs,t)},t}(),le=function(){function t(){this.Ys=new ve}var n=t.prototype;return n.Fs=function(){this.Ys.zs()},n.Bs=function(){this.Ys.Bs()},n.Gs=function(t){var n=this.Ys;if(!n.Ls)if(t.Ls)n.zs();else if(!n.Cs&&!t.Cs){var r=function(){i(),n.zs()},i=function i(){t.Us(r),t.Ps(i),n.Us(r),n.Ps(i)};t.Rs(r),t.Qs(i),n.Rs(r),n.Qs(i)}},n.Vs=function(){var n=new t,r=new t,i=n.Ws,e=r.Ws,u=this.Ys,o=function(){i.Ls&&e.Cs||e.Ls&&i.Cs?u.zs():i.Cs&&e.Cs&&u.Bs()};i.Rs(o),e.Rs(o),i.Qs(o),e.Qs(o),n.Gs(u),r.Gs(u);return u.Qs(function(){i.Us(o),e.Us(o),i.Ps(o),e.Ps(o)}),[n,r]},p(t,[{key:"Ws",get:function(){return this.Ys}}]),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.vd="",t.ld="manifest",t.dd="segment",t.wd="content-protection"}(ce||(ce={})),function(t){t.vd="",t.yd="initialization-segment",t._d="fairplay-license",t.kd="fairplay-certificate",t.pd="widevine-license",t.md="widevine-certificate",t.Md="playready-license",t.bd="clearkey-license",t.Nd="aes128-key"}(ae||(ae={})),function(t){t.vd="",t.Td="audio",t.Dd="video",t.ei="text",t.Id="image"}(he||(he={}));var _e,de=function(t,n){this.Pl=void 0,this.$l=void 0,this.Ed=void 0,this.td=void 0,this.Sd=void 0,this.Ws=void 0,this.vs=void 0,this.Ld=void 0,this.jd=void 0,this.hd=void 0,this.Cd=void 0,this.Od=void 0;var r,i,e,u,o,f,s,c,a,h,v,l=t.hd;n?(r=n.Pl,i=n.$l,e=n.Ed,u=n.td,o=n.Sd,f=n.Ws,s=n.vs,c=n.Ld,a=n.jd,h=n.Cd,v=n.Od):(r=null,i={},e=se.GET,u=Yi.ei,o=0,s=ce.vd,c=ae.vd,a=he.vd,h=!1),this.hd=l,this.Pl=t.Pl||r,this.$l=new te(t.$l||i),this.Ed=t.Ed||e,this.td=t.td||u,this.Sd=void 0!==t.Sd?Number(t.Sd)||0:o,this.Ws=t.Ws||f||(new le).Ws,this.vs=t.vs||s,this.Ld=t.Ld||c,this.jd=t.jd||a,this.Cd=void 0!==t.Cd?Boolean(t.Cd):h,this.Od=t.Od||v};!function(t){t.Gd="HttpOpenError",t.Vd="HttpResponseError",t.Wd="HttpTimeoutError"}(_e||(_e={}));var we,ye,pe=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.hd+". Invalid URL.",r)||this}return m(n,t),p(n,[{key:"name",get:function(){return _e.Gd}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Hd=void 0,e.Hd=n,e}return m(n,t),p(n,[{key:"ud",get:function(){return this.Hd}}]),n}(mt)),ge=function(){function t(){}var n=t.prototype;return n.ud=function(t){return fi.reject(new pe(new de(t)))},n.xd=function(t){},n.zd=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).Fg=new $i(new Ji),n.yT=new ge,n.i=new Zi,n}return m(n,t),p(n,[{key:"Ir",get:function(){return this.Fg}},{key:"Hg",get:function(){return!1}},{key:"Xg",get:function(){return!1}},{key:"Zg",get:function(){return!1}},{key:"qg",get:function(){return this.i}},{key:"Jg",get:function(){return{Kg:C}}},{key:"$g",get:function(){return"default"}},{key:"nw",get:function(){return"unknown"}},{key:"iw",get:function(){return this.yT}}]),n}(Pi)),function(t){t.R_t="h.264",t.p_t="mp3",t.g_t="aac-lc",t.w_t="he-aac"}(ye||(ye={}));var be=function(){function t(){this.Wst=0,this.Hst=[],this.nT={}}var n=t.prototype;return n.Xst=function(t){this.Hst=this.Hst.concat(t.Hst),this.Wst+=t.Fw},n.Zst=function(t,n,r){var i=this.Wst,e=r-n;e>0&&(this.Hst.push({qst:n,Jst:r,Kst:e,$st:i,tut:t}),this.Wst+=e)},n.Eu=function(t){for(var n=0,r=this.Hst;n<r.length;n++){var i=r[n];if(i.$st<=t&&t<i.$st+i.Kst)return i.tut[t+i.qst-i.$st]}},n.nut=function(t,n){for(var r=n,i=0,e=this.Hst;i<e.length;i++)for(var u=e[i],o=u.Jst,f=u.qst;f<o;f+=1,r+=1)t[r]=u.tut[f];return r},n.iut=function(){for(var t=new w(this.Wst),n=0,r=0,i=this.Hst;r<i.length;r++)for(var e=i[r],u=e.Jst,o=e.qst;o<u;o+=1,n+=1)t[n]=e.tut[o];return t},n.Ru=function(n){for(var r=new t,i=0,e=this.Hst;i<e.length;i++){var u=e[i];r.Zst(u.tut,u.qst,u.Jst)}return r.nT=n||Mi({},this.nT),r},p(t,[{key:"Fw",get:function(){return this.Wst},set:function(t){var n=this.Hst,r=this.Wst-t;if(!(t>=this.Wst))if(this.Wst=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.Kst)return e.Jst-=r,e.Kst-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.Kst}else n.length=0}},{key:"Gi",get:function(){for(var t=new Array(this.Wst),n=0,r=0,i=this.Hst;r<i.length;r++)for(var e=i[r],u=e.Jst,o=e.qst;o<u;o+=1,n+=1)t[n]=e.tut[o];return t}}]),t}(),Ee=function(){function t(){}var n=t.prototype;return n.Nk=function(t){return this.Tk()*t},n.Dk=function(t){return this.Ik(t)>0},n.Ek=function(t){return this.Ik(t)>=0},n.Sk=function(t,n){return this.jk(t).Lk(n)},n.vk=function(t){return 0===this.Ik(t)},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.Ok=function(){return this.xk()?this.zk():this},n.Bk=function(t){return this.m_(t.zk())},n.jk=function(t){return this.Bk(t).Ok()},t}();function Te(t,n){return t.Rk()?n.Rk()?Qi.Is:Qi.Es:n.Rk()?Qi.Ss:t.Uk()?n.Uk()&&t.xk()===n.xk()?Qi.Is:t.xk()?Qi.Ss:Qi.Es:n.xk()?Qi.Es:Qi.Ss}var Ne=function(){function t(t,n){this.Qk=void 0,this.Pk=void 0,this.Qk=t,this.Pk=n}t.Yk=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.Fk=function(n){return n.unsigned?new t(n,_t.UZERO):new t(n,n.isNegative()?_t.NEG_ONE:_t.ZERO)},t.Gk=function(n,r){if(d(n))return r?t.Vk:t.Wk;if(r){if(n<0)return t.Vk;if(n>=3.402823669209385e38)return t.Hk}else{if(n<=-1.7014118346046923e38)return t.Xk;if(n+1>=1.7014118346046923e38)return t.Zk}return n<0?t.Gk(-n,r).zk():t.Yk(_t.fromNumber(n%0x10000000000000000),_t.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.qk=function(){return this.Pk.unsigned},n.Jk=function(){return this.Qk.isZero()&&this.Pk.isZero()},n.xk=function(){return this.Pk.isNegative()},n.Kk=function(){return this.qk()?t.Yk(this.Qk,this.Pk,!1):this},n.$k=function(){return this.qk()?this:t.Yk(this.Qk,this.Pk,!0)},n.tp=function(){return this.Qk},n.Tk=function(){return this.xk()?-this.zk().Tk():0x10000000000000000*this.Pk.toNumber()+this.Qk.toUnsigned().toNumber()},n.np=function(){return this.Qk.toInt()},n.vk=function(t){return(this.qk()===t.qk()||this.Pk.getHighBits()>>>31!=1||t.Pk.getHighBits()>>>31!=1)&&(this.Pk.toUnsigned().eq(t.Pk.toUnsigned())&&this.Qk.toUnsigned().eq(t.Qk.toUnsigned()))},n.Ik=function(t){if(this.vk(t))return Qi.Is;var n=this.xk(),r=t.xk();if(n&&!r)return Qi.Ss;if(!n&&r)return Qi.Es;if(!this.qk())return this.Bk(t).xk()?Qi.Ss:Qi.Es;var i=this.$k(),e=t.$k(),u=e.Pk.comp(i.Pk);return u>0||0===u&&e.Qk.gt(i.Qk)?Qi.Ss:Qi.Es},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.ip=function(t){return this.Ik(t)>0},n.ep=function(t){return this.Ik(t)>=0},n.rp=function(){return new t(this.Qk.not(),this.Pk.not())},n.sp=function(n){return new t(this.Qk.and(n.Qk),this.Pk.and(n.Pk))},n.op=function(n){return new t(this.Qk.or(n.Qk),this.Pk.or(n.Pk))},n.hp=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shl(r),this.Pk.shl(r).or(this.Qk.shru(64-r)),this.qk()):t.Yk(_t.ZERO,this.Qk.shl(r-64),this.qk())},n.ap=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shru(r).or(this.Pk.shl(64-r)),this.Pk.shr(r),this.qk()):t.Yk(this.Pk.shr(r-64),this.Pk.isNegative()?_t.NEG_ONE:_t.ZERO,this.qk())},n.cp=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shru(r).or(this.Pk.shl(64-r)),this.Pk.shru(r),this.qk()):64===r?t.Yk(this.Pk,_t.ZERO,this.qk()):t.Yk(this.Pk.shru(r-64),_t.ZERO,this.qk())},n.m_=function(n){var r=this.Pk.high>>>16,i=65535&this.Pk.high,e=this.Pk.low>>>16,u=65535&this.Pk.low,o=this.Qk.high>>>16,f=65535&this.Qk.high,s=this.Qk.low>>>16,c=65535&this.Qk.low,a=n.Pk.high>>>16,h=65535&n.Pk.high,v=n.Pk.low>>>16,l=65535&n.Pk.low,_=n.Qk.high>>>16,d=65535&n.Qk.high,w=n.Qk.low>>>16,y=0,p=0,g=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.Qk.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.qk(),T=_t.fromBits(g<<16|m,y<<16|p,E),N=_t.fromBits(S<<16|b,I<<16|k,E);return t.Yk(N,T,E)},n.Bk=function(t){return this.m_(t.zk())},n.zk=function(){return this.rp().m_(t.fp)},n.vp=function(n){if(this.Jk()||n.Jk())return this.qk()?t.Vk:t.Wk;if(this.xk())return n.xk()?this.zk().vp(n.zk()):this.zk().vp(n).zk();if(n.xk())return this.vp(n.zk()).zk();if(this.Pk.isZero()&&0===this.Qk.high&&n.Pk.isZero()&&0===n.Qk.high)return t.Fk(this.Qk.multiply(n.Qk));var r=_t.fromBits(4294967295,0,!0),i=this.Qk.and(r),e=this.Qk.shru(32),u=this.Pk.and(r),o=this.Pk.shru(32),f=n.Qk.and(r),s=n.Qk.shru(32),c=n.Pk.and(r),a=n.Pk.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.Yk(d,w,this.qk())},n.lp=function(n){var r,i,e=n;if(e.Jk())throw new RangeError("division by zero");if(this.Jk())return this.qk()?[t.Vk,t.Vk]:[t.Wk,t.Wk];if(this.qk()){if(e.qk()||(e=e.$k()),e.ip(this))return[t.Vk,this];if(e.ip(this.cp(1)))return[i=t.dp,r=this.Bk(e)];i=t.Vk}else{if(this.vk(t.Xk)){if(e.vk(t.fp)||e.vk(t.gp))return[t.Xk,t.Wk];if(e.vk(t.Xk))return[t.fp,t.Wk];var u=this.ap(1).wp(e).hp(1);return u.vk(t.Wk)?i=e.xk()?t.fp:t.gp:(r=this.Bk(e.vp(u)),i=u.m_(r.wp(e))),[i,r=this.Bk(e.vp(i))]}if(e.vk(t.Xk))return this.qk()?[t.Vk,this]:[t.Wk,this];if(this.xk()){if(e.xk())return this.zk().lp(e.zk());var o=this.zk().lp(e);return i=o[0],r=o[1],[i.zk(),r.zk()]}if(e.xk()){var f=this.lp(e.zk());return i=f[0],r=f[1],[i.zk(),r.zk()]}i=t.Wk}for(r=this;r.ep(e);){for(var s=v.max(1,v.floor(r.Tk()/e.Tk())),c=v.ceil(v.log(s)/v.LN2),a=c<=48?1:v.pow(2,c-48),h=t.Gk(s),l=h.vp(e);l.xk()||l.ip(r);)s-=a,l=(h=t.Gk(s,this.qk())).vp(e);h.Jk()&&(h=t.fp),i=i.m_(h),r=r.Bk(l)}return[i,r]},n.wp=function(t){return this.lp(t)[0]},n.Ap=function(t){return this.lp(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Jk())return"0";if(this.xk()){if(this.vk(t.Xk)){var i=t.Gk(r),e=this.wp(i),u=e.vp(i).Bk(this);return e.toString(r)+u.np().toString(r)}return"-"+this.zk().toString(r)}for(var o=t.Gk(v.pow(r,6),this.qk()),f=this,s="";;){var c=f.wp(o),a=(f.Bk(c.vp(o)).np()>>>0).toString(r);if((f=c).Jk())return a+s;for(;a.length<6;)a="0"+a;s=String(a)+s}},t}();Ne.Wk=Ne.Fk(_t.ZERO),Ne.Vk=Ne.Fk(_t.UZERO),Ne.fp=Ne.Fk(_t.ONE),Ne.dp=Ne.Fk(_t.UONE),Ne.gp=Ne.Fk(_t.NEG_ONE),Ne.Zk=Ne.Yk(_t.NEG_ONE,_t.MAX_VALUE,!1),Ne.Hk=Ne.Yk(_t.MAX_UNSIGNED_VALUE,_t.MAX_UNSIGNED_VALUE,!0),Ne.Xk=Ne.Yk(_t.ZERO,_t.MIN_VALUE,!1);var Re=function(){function t(t,n){void 0===n&&(n=1),this.yp=void 0,this._p=void 0,this.yp=t,this._p=n}t.kp=function(n){return new t(v.ceil(n.yp),n._p)},t.pp=function(n){return new t(v.floor(n.yp),n._p)},t.mp=function(t,n){return t.Ek(n)?t:n},t.Mp=function(t,n){return t.Lk(n)?t:n};var n=t.prototype;return n.m_=function(n){return this._p>=n._p?new t(this.yp+n.bp(this._p).yp,this._p):new t(this.bp(n._p).yp+n.yp,n._p)},n.Dk=function(t){return t.Ck(this)},n.Ek=function(t){return t.Lk(this)},n.jk=function(n){return this._p>=n._p?new t(v.abs(this.yp-n.bp(this._p).yp),this._p):n.jk(this)},n.Sk=function(t,n){return this.jk(t).Lk(n)},n.Ik=function(t){return r=t,(n=this)._p>=r._p?ue(n.yp,r.bp(n._p).yp):ue(n.bp(r._p).yp,r.yp);var n,r},n.vk=function(t){return 0===this.Ik(t)},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.bp=function(n){return new t(this.yp*(n/this._p),n)},n.Bk=function(n){return this._p>=n._p?new t(this.yp-n.bp(this._p).yp,this._p):new t(this.bp(n._p).yp-n.yp,n._p)},n.Np=function(n){return new t(this.yp*n,this._p)},p(t,[{key:"Uk",get:function(){return!isFinite(this.yp)}},{key:"Tp",get:function(){return this.yp/this._p}}]),t}();Re.Dp=new Re(1/6,1),Re.Wk=new Re(0),Re.Ip=new Re(1/0),Re.Ep=1e6;var Oe=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ti=void 0,i._p=void 0,i.Ti=n.toSigned(),i._p=r>>>0,i}m(n,t),n.Sp=function(t,r){return void 0===r&&(r=1e6),n.Gk(t*r,r)},n.Gk=function(t,r){return d(t)?n.Lp:t===1/0?n.jp:t===-1/0?n.Cp:new n(_t.fromNumber(t),r)},n.Fk=function(t,r){return new n(t,r)},n.Op=function(t){return n.Sp(t.Tp,1e6)},n.xp=function(t){return new n(_t.fromNumber(t.getTime()),1e3)},n.mp=function(t,n){return t.Ek(n)?t:n},n.Mp=function(t,n){return t.Lk(n)?t:n},n.zp=function(t,r,i){return n.mp(r,n.Mp(i,t))};var r=n.prototype;return r.xk=function(){return this.Ti.isNegative()},r.Jk=function(){return 0!==this._p&&this.Ti.isZero()},r.Uk=function(){return 0===this._p&&!this.Ti.isZero()},r.Rk=function(){return 0===this._p&&this.Ti.isZero()},r.Tk=function(){if(0===this._p)return this.Ti.isZero()?NaN:this.Ti.isNegative()?-1/0:1/0;var t=this.Ti.divide(this._p),n=this.Ti.subtract(t.multiply(this._p));return t.toNumber()+n.toNumber()/this._p},r.tp=function(){if(0===this._p)throw new c("Failed to convert timestamp");return this.Ti},r.Bp=function(){return new Date(0===this._p?NaN:this.bp(1e3).Ti.toNumber())},r.Rp=function(){return new Re(0===this._p?this.Tk():this.Ti.toNumber(),this._p)},r.bp=function(t,r){void 0===r&&(r=Ce.Up);var i=this._p;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.lp(n),e=i[0],u=i[1];if(u.Jk())return e;if(r===Ce.Up)return u.xk()?e.Bk(Ne.fp):e;if(r===Ce.Qp)return u.xk()?e:e.m_(Ne.fp);var o=u.vp(Ne.Gk(2));return o.xk()?o.zk().Ck(n)?e:e.Bk(Ne.fp):o.Ck(n)?e:e.m_(Ne.fp)}(Ne.Fk(this.Ti).vp(Ne.Gk(t/e)),Ne.Gk(i/e),r).tp(),t)},r.Ik=function(t){if(this===t)return Qi.Is;if(0===this._p||0===t._p)return Te(this,t);if(this.Jk())return t.Jk()?Qi.Is:t.xk()?Qi.Es:Qi.Ss;if(t.Jk())return this.xk()?Qi.Ss:Qi.Es;var n=v.min(this._p,t._p),r=this.bp(n,Ce.Pp).Ti,i=t.bp(n,Ce.Pp).Ti;return r.compare(i)},r.zk=function(){return 0===this._p?Ae(this):new n(this.Ti.negate(),this._p)},r.m_=function(t){if(0===this._p||0===t._p)return De(this,t);if(this.Jk())return t;if(t.Jk())return this;var r=v.max(this._p,t._p),i=this.bp(r,Ce.Pp),e=t.bp(r,Ce.Pp);return new n(i.Ti.add(e.Ti),r)},r.vp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk()||!isFinite(t)){if(this.Jk()||0===t)return n.Lp;var r=this.xk()?n.Cp:n.jp;return t<0?r.zk():r}return this.Jk()?this:new n(0===t?_t.ZERO:this.Ti.multiply(t),this._p)},r.wp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk())return isFinite(t)?0===t?1/t<0?this.zk():this:t<0?this.zk():this:n.Lp;if(!isFinite(t))return new n(_t.ZERO,this._p);if(this.Jk())return 0===t?n.Lp:new n(_t.ZERO,this._p);if(0===t){var r=this.xk()?n.Cp:n.jp;return 1/t<0?r.zk():r}return new n(this.Ti.divide(t),this._p)},r.Yp=function(){return[this.Ti.low,this.Ti.high,this._p]},n}(Ee);function Ae(t){return t.Rk()?t:t.xk()?Oe.jp:Oe.Cp}function De(t,n){return t.Rk()||n.Rk()?Oe.Lp:t.Uk()&&n.Uk()?t.xk()===n.xk()?t:Oe.Lp:t.Uk()?t:n}Oe.Wk=new Oe(_t.ZERO,1e6),Oe.Lp=new Oe(_t.ZERO,0),Oe.jp=new Oe(_t.ONE,0),Oe.Cp=new Oe(_t.NEG_ONE,0);var Ce,Pe=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ti=void 0,i._p=void 0,i.Ti=BigInt.asIntN(64,n),i._p=r>>>0,i}m(n,t),n.Sp=function(t,r){return void 0===r&&(r=1e6),n.Gk(t*r,r)},n.Gk=function(t,r){return d(t)?n.Lp:t===1/0?n.jp:t===-1/0?n.Cp:new n(BigInt(v.floor(t)),r)},n.Fk=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.Op=function(t){return n.Sp(t.Tp,1e6)},n.xp=function(t){return n.Gk(t.getTime(),1e3)},n.mp=function(t,n){return t.Ek(n)?t:n},n.Mp=function(t,n){return t.Lk(n)?t:n},n.zp=function(t,r,i){return n.mp(r,n.Mp(i,t))};var r=n.prototype;return r.xk=function(){return this.Ti<BigInt(0)},r.Jk=function(){return 0!==this._p&&this.Ti===BigInt(0)},r.Uk=function(){return 0===this._p&&this.Ti!==BigInt(0)},r.Rk=function(){return 0===this._p&&this.Ti===BigInt(0)},r.Tk=function(){if(0===this._p)return this.Ti===BigInt(0)?NaN:this.Ti<BigInt(0)?-1/0:1/0;var t=this.Ti/BigInt(this._p),n=this.Ti-t*BigInt(this._p);return Number(t)+Number(n)/this._p},r.tp=function(){if(0===this._p)throw new c("Failed to convert timestamp");return this.Fp()},r.Fp=function(){var t=this.Ti&BigInt(4294967295),n=this.Ti>>BigInt(32)&BigInt(4294967295);return _t.fromBits(Number(t),Number(n))},r.Bp=function(){return new Date(0===this._p?NaN:Number(this.bp(1e3).Ti))},r.Rp=function(){return new Re(0===this._p?this.Tk():Number(this.Ti),this._p)},r.bp=function(t,r){void 0===r&&(r=Ce.Up);var i=this._p;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.Up)return e<BigInt(0)?i-BigInt(1):i;if(r===Ce.Qp)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.Ti*BigInt(t/e),BigInt(i/e),r),t)},r.Ik=function(t){if(this===t)return Qi.Is;if(0===this._p||0===t._p)return Te(this,t);if(this.Jk())return t.Jk()?Qi.Is:t.xk()?Qi.Es:Qi.Ss;if(t.Jk())return this.xk()?Qi.Ss:Qi.Es;var n=v.min(this._p,t._p),r=this.bp(n,Ce.Pp).Ti,i=t.bp(n,Ce.Pp).Ti;return r>i?Qi.Es:r<i?Qi.Ss:Qi.Is},r.zk=function(){return 0===this._p?Fe(this):new n(-this.Ti,this._p)},r.m_=function(t){if(0===this._p||0===t._p)return Be(this,t);if(this.Jk())return t;if(t.Jk())return this;var r=v.max(this._p,t._p),i=this.bp(r,Ce.Pp),e=t.bp(r,Ce.Pp);return new n(i.Ti+e.Ti,r)},r.vp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk()||!isFinite(t)){if(this.Jk()||0===t)return n.Lp;var r=this.xk()?n.Cp:n.jp;return t<0?r.zk():r}return this.Jk()?this:new n(0===t?BigInt(0):this.Ti*BigInt(t),this._p)},r.wp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk())return isFinite(t)?0===t?1/t<0?this.zk():this:t<0?this.zk():this:n.Lp;if(!isFinite(t))return new n(BigInt(0),this._p);if(this.Jk())return 0===t?n.Lp:new n(BigInt(0),this._p);if(0===t){var r=this.xk()?n.Cp:n.jp;return 1/t<0?r.zk():r}return new n(this.Ti/BigInt(t),this._p)},r.Yp=function(){var t=this.Fp();return[t.low,t.high,this._p]},p(n,null,[{key:"Wk",get:function(){return n.Gp||(n.Gp=new n(BigInt(0),1e6)),n.Gp}},{key:"Lp",get:function(){return n.Vp||(n.Vp=new n(BigInt(0),0)),n.Vp}},{key:"jp",get:function(){return n.Wp||(n.Wp=new n(BigInt(1),0)),n.Wp}},{key:"Cp",get:function(){return n.Hp||(n.Hp=new n(BigInt(-1),0)),n.Hp}}]),n}(Ee);function Fe(t){return t.Rk()?t:t.xk()?Pe.jp:Pe.Cp}function Be(t,n){return t.Rk()||n.Rk()?Pe.Lp:t.Uk()&&n.Uk()?t.xk()===n.xk()?t:Pe.Lp:t.Uk()?t:n}Pe.Gp=void 0,Pe.Vp=void 0,Pe.Wp=void 0,Pe.Hp=void 0,function(t){t[t.Up=0]="Up",t[t.Qp=1]="Qp",t[t.Pp=2]="Pp"}(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.Fk(_t.fromBits(t[0],t[1],!1),t[2])}var Le=v.pow(2,33),We=Me.Gk(Le,9e4),Ue=We.wp(2);function Ve(t,n){var r=t.Bk(n);return t.Uk()||n.Uk()?r:(r.Ek(Ue)?r.Bk(We):r.Ck(Ue.zk())&&r.m_(We),r)}var He,je;D.On;!function(t){t[t.UZ=0]="UZ",t[t.QZ=1]="QZ",t[t.PZ=2]="PZ",t[t.YZ=3]="YZ",t[t.FZ=4]="FZ",t[t.GZ=5]="GZ"}(He||(He={})),function(t){t[t.VZ=0]="VZ",t[t.WZ=1]="WZ",t[t.HZ=2]="HZ",t[t.XZ=3]="XZ"}(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.x_="z_",t.B_="R_",t.Lw="tc"}(Ge||(Ge={})),function(t){t.x_="enter",t.B_="exit",t.Lw="update"}(ze||(ze={})),function(t){t[t.fS=0]="fS",t[t.Wq=1]="Wq",t[t.Hq=2]="Hq",t[t.Xq=3]="Xq",t[t.ei=4]="ei"}(Ke||(Ke={})),function(t){t.cZ='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.fZ='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.vZ='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.lZ='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.vZ,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.out=47]="out",t[t.hut=49]="hut"}($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.Eu?t.Eu(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.mut=1]="mut",t[t.Mut=2]="Mut",t[t.but=3]="but",t[t.Nut=4]="Nut",t[t.Tut=5]="Tut",t[t.Dut=6]="Dut",t[t.Iut=7]="Iut",t[t.Eut=8]="Eut",t[t.Sut=9]="Sut"}(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.Lut=void 0,this.jut=[],this.Cut=0,this.Lut=t}var n=t.prototype;return n.Out=function(){for(var t=this.jut,n=v.max(0,this.Cut+t.length-2),r=this.Lut,i=r.Fw,e=0;n<i;n+=1){var u=r.Eu(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Cut=n-t.length},n.xut=function(t){for(var n=this.jut,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.Eu=function(t){if(!(t>this.Lut.Fw))return t>this.Cut&&this.Out(),this.Lut.Eu(this.xut(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.oV||[],audio:t.audio&&t.audio.oV||[]},u={nT:{O0: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.nT.O0<c.nT.O0?(Se(r.video,i),i+=s.Fw,s=e.video[o+=1]||u):(Se(r.audio,i),i+=c.Fw,c=e.audio[f+=1]||u);return r}(t,vu.length+r);return n.v(e),n.eu(vu),Po(n,t,r,u),function(t,n,r){var i,e={nT:{O0:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.oV||[],s=n.audio&&n.audio.oV||[],c=f.length,a=s.length,h=f[u]||e,v=s[o]||e;t.su(r),t.eu(_u);for(;u<c||o<a;)h.nT.O0<v.nT.O0?(i=h,h=f[u+=1]||e):(i=v,v=s[o+=1]||e),t.cu(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.v(u),r.eu(lu),Po(r,t,e,void 0,i||Me.Wk),r}function su(t,n,r,i,e){var u=r.Tk(),o=i.Tk(),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.v(a),e.eu(Fo),function(t,n,r,i,e){var u=n.video&&n.video.s_t.m_(Me.Sp(n.video.duration,n.video.s_t._p))||Me.Wk,o=n.audio&&n.audio.s_t.m_(Me.Sp(n.audio.duration,n.audio.s_t._p))||Me.Wk,f=Me.mp(u,o),s=v.round(e*Zu);t.su(r),t.eu(Bo),1===Jo(n,e)?(t.su(16777216),t.su(1),t.su(Zu),t.hu(_t.fromNumber(s)),t.hu(_t.ZERO)):(t.su(0),t.su(1),t.su(Zu),t.su(s),t.su(0));t.lu(0),t.lu(1);var c=Zo(n.video?n.video:void 0),a=Zo(n.audio?n.audio:void 0);t.su($o(n,i)+c+a+8),rf(t,f),t.eu([144,0,0,0])}(e,t,f,u,o),function(t,n,r,i,e){t.su(r),t.eu(Mo),function(t,n){t.su(Lo),t.eu(xo),t.su(0),t.su(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.oV||[],e=n.audio&&n.audio.oV||[];t.su(r),t.eu(_u);for(var u=0;u<i.length;u++){var o=i[u];t.cu(o)}for(var f=0;f<e.length;f++){var s=e[f];t.cu(s)}}(e,t,c),e}function cu(t){return t.i_t===ye.p_t||t.i_t===ye.g_t||t.i_t===ye.w_t}function au(t){return t.i_t===ye.R_t}function hu(t){var n=t.length;if(n)for(var r=t[0].nT.Yut,i=0;i<n;i+=1){var e=t[i].nT;e.j_t=e.Put.Bk(r),r=r.m_(e.Fut)}}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.qb){var n=t.xgt,r=t.zgt;t.qb=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.Zst(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.Eu(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),hN:r,aN:i,zut:!!e&&o/(2*u),But:n,Rut:y}}(i);t.width=e&&e.width,t.height=e&&e.height,e&&e.hN&&e.aN&&(t.hN=e.hN,t.aN=e.aN)}}function Qu(t,n){var r=t.zut||0;if(cu(t))return t.N_t;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].Fw;return r};return t.video&&(n+=r(t.video.oV)),t.audio&&(n+=r(t.audio.oV)),n}function no(t,n,r,i){var e=Me.Sp(0,t._p);return n?(i||e).m_(t):r||e}function ro(t,n,r){var i=t.video&&no(Me.Sp(t.video.duration,Zu),n,r,t.video.s_t)||Me.Wk,e=t.audio&&no(Me.Sp(t.audio.duration,Zu),n,r,t.audio.s_t)||Me.Wk;return 0!==Me.mp(i,e).bp(Zu).tp().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.Sp(t.duration,Zu),n,r,t.s_t).bp(Zu).tp().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.Sp(t.duration,i),n,r);return e.Dk(Me.Sp(v.pow(2,32)-1,e._p))?1:0}function fo(t,n,r){return 1===oo(t,n,r)?44:32}function so(t){if(t.hasOwnProperty("gu"))return t.gu;for(var n=0,r=0,i=t.oV;r<i.length;r++){i[r].nT.Wut&&(n+=1)}return t.gu=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.I_t?t.I_t.length+12:0}function ho(t){return au(t)?110+t.qb.length+ao(t)+(t.hN&&t.aN?16:0):52+ao(t)}function vo(t,n){return au(t)&&n?16+4*so(t):0}function lo(t,n){return t.e_t&&n&&au(t)?16+8*t.oV.length:0}function _o(t,n){return 20+(n?4*t.oV.length:0)}function wo(t,n){return 16+(n?4*t.oV.length:0)}function yo(t,n){return au(t)?16+(n?8*t.oV.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.s_t;return n>v.pow(2,31)-1||r.Dk(Me.Gk(v.pow(2,31)-1,Zu))?1:0}function So(t,n){return n?1===ko(t)?24+(t.s_t.Jk()?20:40):24+(t.s_t.Jk()?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.R_t)return qu;if(t===ye.p_t)return Xu;if(t===ye.g_t||t===ye.w_t)return Xu;throw new c("unknown codec "+t)}(n.i_t);t.su(i),t.eu(Lu),t.su(0),t.su(1),t.su(i-16),t.eu(e),t.su(0),t.lu(0),t.lu(1),e===qu&&au(n)?(t.su(0),t.su(0),t.su(0),t.su(0),t.lu(n.width||0),t.lu(n.height||0),t.lu(72),t.lu(0),t.lu(72),t.lu(0),t.su(0),t.lu(1),t.eu([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.lu(24),t.eu([255,255]),t.su(8+n.qb.length),t.eu(Wu),t.eu(n.qb)):e===Xu&&cu(n)&&(t.su(0),t.su(0),t.lu(n.D_t),t.lu(16),t.lu(0),t.lu(0),t.lu(n.N_t),t.lu(0)),au(n)&&n.hN&&n.aN&&(t.su(16),t.eu(Ku),t.su(n.hN),t.su(n.aN)),!au(n)&&n.I_t&&(t.su(ao(n)),t.eu(Uu),t.su(0),t.eu(n.I_t))}function To(t,n,r){var i=Qu(n,!0),e=r?n.oV.length:0;!function(t){var n=t.length;if(n){var r=(t=ie(t,function(t,n){return function(t,n){return t.Ik(n)}(t.nT.Yut,n.nT.Yut)}))[0].nT;r.C_t=Me.Wk;for(var i=1;i<n;i+=1){var e=t[i].nT,u=e.Yut.Bk(r.Yut);e.C_t=Me.mp(u,Me.Wk),r=e}}}(n.oV),t.su(e);for(var u=0;u<e;u+=1){var o=n.oV[u].nT.C_t;t.su(1),t.su(o.bp(i,Ce.Pp).tp().toInt())}}function No(t,n,r,i){var e=go(n,!!i);t.su(e),t.eu(xu),Eo(t,n),function(t,n,r){t.su(yo(n,r)),t.eu(Hu),t.su(0),au(n)?To(t,n,r):function(t,n,r){t.su(r?1:0),r&&(t.su(n.oV.length),t.su(n.T_t))}(t,n,r)}(t,n,!!i),function(t,n,r){if(au(n)&&r){var i=vo(n,r);t.su(i),t.eu(Vu),t.su(0),t.su(so(n));for(var e=0;e<n.oV.length;e+=1)n.oV[e].nT.Wut&&t.su(e+1)}}(t,n,!!i),function(t,n,r){var i=Qu(n,!1);if(n.e_t&&r&&au(n)){hu(n.oV);var e=lo(n,r);t.su(e),t.eu(Tu),t.su(0),t.su(n.oV.length);for(var u=0,o=n.oV;u<o.length;u++){var f=o[u].nT.j_t;t.su(1),t.su(f.bp(i,Ce.Pp).tp().toInt())}}}(t,n,!!i),function(t,n){t.su(po(n)),t.eu(ju),t.su(0),t.su(n?1:0),n&&(t.su(1),t.su(1),t.su(1))}(t,!!i),function(t,n,r){var i=_o(n,r);if(t.su(i),t.eu(Gu),t.su(0),t.su(0),t.su(r?n.oV.length:0),r)for(var e=0,u=n.oV;e<u.length;e++){var o=u[e];t.su(o.Fw)}}(t,n,!!i),function(t,n,r){var i=wo(n,!!r);t.su(i),t.eu(zu),t.su(0),t.su(r?n.oV.length:0),r&&t.eu(r)}(t,n,i)}function Ro(t,n,r,i){var e=mo(n,!!i);t.su(e),t.eu(Au),au(n)?function(t){t.eu(Pu)}(t):function(t){t.eu(Du)}(t),function(t){t.eu(Bu)}(t),No(t,n,0,i)}function Oo(t,n,r,i,e){var u=Io(n,!!i,e);t.su(u),t.eu(bu),function(t,n,r,i){var e=fo(n,r,i),u=Qu(n,!1),o=no(Me.Sp(n.duration,u),r,i);u=v.round(u),t.su(e),t.eu(Eu),1===oo(n,r,i)?(t.su(16777216),t.hu(_t.ZERO),t.hu(_t.ZERO),t.su(u),nf(t,o)):(t.su(0),t.su(0),t.su(0),t.su(u),rf(t,o)),t.eu([85,196]),t.eu([0,0])}(t,n,!!i,e),function(t,n){n?t.eu(Nu):t.eu(Ru)}(t,au(n)),Ro(t,n,0,i)}function Ao(t,n){t.su(Iu),t.eu(mu),t.su(0),t.su(n),t.su(1),t.su(0),t.su(0),t.su(0)}function Do(t,n,r,i,e){var u=bo(n,!!r,e);n&&0!==u&&(t.su(u),t.eu(yu),function(t,n,r,i,e){var u=no(Me.Sp(n.duration,Zu),i,e,n.s_t),o=uo(n,i,e),f=au(n);t.su(o),t.eu(pu),1===eo(n,i,e)?(t.su(16777231),t.hu(_t.ZERO),t.hu(_t.ZERO),t.su(r),t.su(0),nf(t,u)):(t.su(15),t.su(0),t.su(0),t.su(r),t.su(0),rf(t,u)),t.su(0),t.su(0),t.lu(0),t.lu(f?0:1),t.eu(f?[0,0]:Yu),t.eu([0,0]),t.eu($u),au(n)?(t.lu(n.width||0),t.lu(0),t.lu(n.height||0),t.lu(0)):(t.su(0),t.su(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.su(r),t.eu(ku),t.su(r-8),t.eu(Su),1===e?t.su(16777216):t.su(0),t.su(n.s_t.Jk()?1:2),n.s_t.Jk()||(1===e?(nf(t,n.s_t),t.eu([255,255,255,255,255,255,255,255])):(rf(t,n.s_t),t.eu([255,255,255,255])),t.lu(1),t.lu(0)),1===e?(t.hu(_t.fromNumber(i)),t.hu(_t.ZERO)):(t.su(i),t.su(0)),t.lu(1),t.lu(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.su(r),t.eu(du),function(t,n,r,i){var e=io(n,r,i),u=n.video&&no(Me.Sp(n.video.duration,Zu),r,i,n.video.s_t)||Me.Wk,o=n.audio&&no(Me.Sp(n.audio.duration,Zu),r,i,n.audio.s_t)||Me.Wk,f=Me.mp(u,o);t.su(e),t.eu(wu),1===ro(n,r,i)?(t.su(16777216),t.hu(_t.ZERO),t.hu(_t.ZERO),t.su(Zu),nf(t,f)):(t.su(0),t.su(0),t.su(0),t.su(Zu),rf(t,f)),t.eu([0,1,0,0]),t.eu(Yu),t.eu([0,0,0,0,0,0,0,0,0,0]),t.eu($u),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(3)}(t,n,!!i,e),i||function(t,n){t.su(co(n,!1)),t.eu(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.oV.length:20+4*t.oV.length}function Ko(t){return au(t)?12+t.oV.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.oV?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.oV)return 0;for(var n=0,r=0,i=t.oV;r<i.length;r++){n+=i[r].Fw}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.oV),t.su(zo(r)),t.eu(jo),t.eu([1,0,15,1]),t.su(r.oV.length),t.su(e);for(var o=0,f=r.oV;o<f.length;o++){var s=f[o];t.su(v.round(s.nT.JA*u));var c=s.nT.j_t;t.su(s.Fw),t.eu(s.nT.Wut?[2,0,0,0]:[0,1,0,0]),t.su(c.bp(u).tp().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.su(zo(r)),t.eu(jo),t.eu([0,0,2,1]),t.su(r.oV.length),t.su(u);for(var o=0,f=r.oV;o<f.length;o++){var s=f[o];t.su(s.Fw)}}(t,n,r,i)}function tf(t,n,r,i,e){r&&(t.su(Yo(r,e)),t.eu(Wo),function(t,n,r){var i=Qu(n,!0),e=au(n)?v.round(i/(n.u_t.Tk()||0)):n.T_t;t.su(Vo),t.eu(Uo),t.su(40),t.su(r),t.su(e),t.eu(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.su(Xo(n,r)),t.eu(Ho),1===qo(n,r)?(t.su(16777216),t.hu(_t.fromNumber(e))):(t.su(0),t.su(e))}(t,r,e),Qo(t,n,r,e),function(t,n,r){if(au(r)){t.su(Ko(r)),t.eu(Go),t.eu([0,0,0,0]);for(var i=0,e=r.oV;i<e.length;i++)e[i].nT.Wut?t.ku(32):t.ku(16)}}(t,0,r))}function nf(t,n){t.hu(n.bp(Zu).tp())}function rf(t,n){t.su(n.bp(Zu).tp().toNumber())}var ef,uf={zu:function(t,n){n.v(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].Fw;return i}(t.audio.oV)),n}(t));for(var r=0,i=t.audio&&t.audio.oV||[],e=i.length;r<e;)n.cu(i[r]),r+=1}},of=function(){function t(t){this.Gi=void 0,this.Ql=void 0,this.qu=0,this.Ql=t}var n=t.prototype;return n.to=function(t,n,r){var i=this.qu,e=this.Gi;for(n=n||0,r=r||t.length;n<r;n+=1,i+=1)e[i]=t[n];this.qu=i},n.v=function(t){this.Gi=new w(t),this.qu=0},n.ku=function(t){this.Gi&&(this.Gi[this.qu]=t,this.qu+=1)},n.eu=function(t,n,r){this.Gi&&this.to(t,n,r)},n.cu=function(t){this.qu=t.nut(this.Gi,this.qu)},n.Yp=function(t){return t(this.Gi,this.Ql)},n.lu=function(t){return this.eu([(n=t)>>>8&255,255&n]);var n},n.su=function(t){return this.eu(me(t))},n.hu=function(t){var n=t.toUnsigned();this.su(n.high),this.su(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{mM:t.mM,nT:{O0:t.nT.O0,jJ:xe(t.nT.Qut)},oV:t.oV}}function yf(t){return{jJ:xe(t.jJ),yN:t.yN,bJ:t.bJ,MJ:t.MJ,vs:t.vs,eut:t.eut,NJ:t.NJ,TJ:t.TJ}}function pf(t){return{qyt:t.qyt,oV:[],i_t:t.i_t,e_t:t.e_t,duration:t.duration,r_t:t.r_t,s_t:xe(t.s_t),zut:t.zut,u_t:xe(t.u_t),o_t:t.o_t,h_t:xe(t.h_t),a_t:xe(t.a_t),c_t:xe(t.c_t),f_t:xe(t.f_t),v_t:xe(t.v_t),l_t:xe(t.l_t),d_t:xe(t.d_t)}}function gf(t){switch(t.i_t){case ye.g_t:case ye.w_t:return function(t){return Mi({},mf(t),{i_t:t.i_t,oV:t.oV.map(function(t){return function(t){var n=If(t),r=(i=n.nT,Mi({},Sf(i),{A_t:i.A_t,y_t:i.y_t,__t:i.__t}));var i;return n.Ru(r)}(t)}),Pgt:t.Pgt,k_t:t.k_t})}(t);case ye.p_t:return function(t){return Mi({},mf(t),{i_t:t.i_t,oV:t.oV.map(function(t){return function(t){var n=If(t),r=(i=n.nT,Mi({},Sf(i),{DM:i.DM,ub:i.ub,m_t:i.m_t,M_t:i.M_t,b_t:i.b_t}));var i;return n.Ru(r)}(t)})})}(t)}}function mf(t){return Mi({},pf(t),{oV:[],i_t:t.i_t,N_t:t.N_t,T_t:t.T_t,D_t:t.D_t,I_t:t.I_t})}function If(t){var n=new be;return n.Zst(t.E_t,0,t.S_t),n.nT=t.L_t,n}function kf(t){var n;return Mi({},{O0:(n=t).O0,Qut:xe(n.Qut)},{Put:xe(t.Put),Yut:xe(t.Yut)})}function Sf(t){return Mi({},kf(t))}!function(t){t.p_t="lMt",t.SA="dMt",t.gMt="wMt",t.AMt="yMt",t._Mt="kMt"}(cf||(cf={})),function(t){t.pMt="mMt",t.MMt="bMt"}(af||(af={})),function(t){t.NMt="audio/mp4",t.TMt="audio/mpeg",t.DMt="video/mp4"}(hf||(hf={}));var bf=t;function Ef(t,n,r){n={},r||(r="PIW0031"),bf.postMessage({dbt:"kbt",gbt:t,Abt:n.message||r,no:n.name,ro:n.stack,io:JSON.stringify(n)})}function Tf(t,n){return{Gi:df(t),Ql:n}}bf.addEventListener("message",function(t){var n,r,i,e,u=t.data,o=u.VMt,f=u.ZMt,s=u.HMt,c=[],a=f===af.pMt?function(t,n,r){return t.push(n.buffer),{Gi:n,Ql:r}}.bind(void 0,c):Tf;if("WMt"===o){i=function(t){return{audio:t.audio?gf(t.audio):void 0,video:t.video?(r=t.video,i=pf(r),Mi({},i,{i_t:r.i_t,oV:r.oV.map(function(t){return function(t){var n,r=If(t),i=Mi({},kf(n=r.nT),{JA:n.JA,Fut:xe(n.Fut),Gut:n.Gut,Vut:n.Vut,j_t:n.j_t&&xe(n.j_t),C_t:n.C_t&&xe(n.C_t),Wut:n.Wut,Zut:n.Zut,Hut:n.Hut,Xut:n.Xut});return r.Ru(i)}(t)}),O_t:r.O_t,x_t:r.x_t,qb:r.qb,width:r.width,height:r.height,fct:r.fct,z_t:r.z_t,lct:r.lct,xgt:r.xgt,zgt:r.zgt,hN:r.hN,aN:r.aN})):void 0,Zyt:t.Zyt?(n=t.Zyt,{qyt:n.qyt,mwt:n.mwt,cA:n.cA,Jyt:n.Jyt,Kyt:n.Kyt,$yt:n.$yt,t_t:n.t_t.map(wf),gA:[]}):void 0,Hut:t.Hut?t.Hut.map(yf):t.Hut,n_t:xe(t.n_t)};var n,r,i}(u.JMt),u.JMt=void 0;try{if((e=u.XMt)===cf._Mt||e===cf.AMt||e===cf.gMt)n=function(t,n){var r=t.qMt,i=t.KMt,e=xe(t.tbt),u=xe(t.nbt),o=t.$Mt&&xe(t.$Mt);switch(t.XMt){case cf.gMt:var f=new of(r);return su(n,i,e,u,f),f;case cf.AMt:var s=new of(r);return fu(n,o,s),s;case cf._Mt:var c={Tbt:new of(r),Dbt:new of(r),Yp:function(t){return{Tbt:c.Tbt.Yp(t),Dbt:c.Dbt.Yp(t)}}};return fu(n,o,c.Tbt),su(n,i,e,u,c.Dbt),c}}(u,i);else{if(!function(t){var n=t.XMt;return n===cf.SA||n===cf.p_t}(u))return Ef(s,{},"PIW0072");n=function(t,n){var r=t.qMt;switch(t.XMt){case cf.p_t:var i=new of(r);return uf.zu(n,i),i;case cf.SA:var e=new of(r);return ou(n,e),e}}(u,i)}}catch(t){return Ef(s,t,"PIW0082")}try{r=n.Yp(a)}catch(t){return Ef(s,t,"PIW0077")}try{return sf({dbt:"ybt",gbt:s,wbt:r},c)}catch(t){return Ef(s,t,"PIW0078")}}return Ef(s,{},"PIW0090")},!1),bf.postMessage({lkt:"3.3.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
|