@theoplayer/extended 3.4.0 → 3.6.1

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.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.2.1 (3.4.0)
29
- Created: 2022-05-05T15:08:19.282Z
28
+ Version: 2022.3.0 (3.6.1)
29
+ Created: 2022-07-13T12:03:29.950Z
30
30
  */
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,h=t.TypeError,a=(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),a.defineProperty(t,i.key,i)}}function p(t,n,r){return n&&y(t.prototype,n),r&&y(t,r),a.defineProperty(t,"prototype",{writable:!1}),t}function g(t,n){return(g=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,g(t,n)}!function(t){t.l="web",t.g="android",t.R="android-tv",t.N="ios",t.M="tvos",t.F="chromecast"}(n||(n={}));var I=e?e.userAgent:"",k=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),b=I.match(/Android ([0-9\.]+)/i),E=I.match(/Windows NT ([0-9\.]+)/i),T=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),N=I.match(/Firefox\/([0-9\.]+)/i),R=I.match(/OPR\/(\d+\.\d+)/i),O=I.match(/Tizen ([0-9\.]+)/i),A=function(){function r(){this.U=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.V=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.q=/Windows NT/i.test(I),this.G=E?_(E[1]):0,this.Y=/Android/i.test(I),this.j=b?_(b[1]):0,this.K=/windows phone (8|8\.1)/i.test(I),this.Z=/iPhone/i.test(I),this.J=/iPad/i.test(I),this.nt=this.V&&this.U&&!this.J,this.ut=/iPod/i.test(I),this.ot=/Mobile Safari/i.test(I),this.ct=/EOSSTB/i.test(I),this.ft=(this.Z||this.J||this.nt||this.ut)&&!this.K,this.vt=this.K||this.ft||this.Y||this.ot,this.dt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.dt,this.wt=this._t&&/Edg\//i.test(e.userAgent),this.yt=S?l(S[1],10):0,this.kt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.bt=k?l(k[1],10):0,this.At=/SMART-TV.*Tizen/i.test(I),this.Tt=O?_(O[1]):0,this.St=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.It=/Trident/i.test(I),this.Rt=this.It&&!t.ActiveXObject&&"ActiveXObject"in t,this.Nt=/Vivaldi/i.test(I),this.Dt=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ct=N?_(N[1]):0,this.Pt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.K&&!this.At,this.Ot=T?_(T[2]):0,this.Bt=Boolean(R),this.Lt=R?_(R[1]):0,this.Mt=/CrKey/.test(I),this.xt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Ft="web"===n.R,this.Ut="web"===n.g,this.Ht=this.Ut||this.Ft,this.Vt="web"===n.N,this.Xt="web"===n.M,this.zt="web"===n.F}return p(r,[{key:"Wt",get:function(){return this.U}},{key:"qt",get:function(){return this.V}},{key:"Gt",get:function(){return this.q}},{key:"Qt",get:function(){return this.G}},{key:"Yt",get:function(){return this.Y}},{key:"jt",get:function(){return this.j}},{key:"Kt",get:function(){return this.K}},{key:"Zt",get:function(){return this.Z}},{key:"Jt",get:function(){return this.J}},{key:"$t",get:function(){return this.nt}},{key:"in",get:function(){return this.ut}},{key:"un",get:function(){return this.ft}},{key:"hn",get:function(){return this.ct}},{key:"cn",get:function(){return this.ot}},{key:"fn",get:function(){return this.vt}},{key:"vn",get:function(){return this.dt}},{key:"dn",get:function(){return this._t}},{key:"_n",get:function(){return this.bt}},{key:"wn",get:function(){return this.wt}},{key:"yn",get:function(){return this.yt}},{key:"pn",get:function(){return this.At}},{key:"An",get:function(){return this.Tt}},{key:"Tn",get:function(){return this.St}},{key:"Sn",get:function(){return this.Et}},{key:"En",get:function(){return this.It}},{key:"In",get:function(){return this.Rt}},{key:"Rn",get:function(){return this.Nt}},{key:"Nn",get:function(){return this.Dt}},{key:"Dn",get:function(){return this.Ct}},{key:"Cn",get:function(){return this.Pt}},{key:"Pn",get:function(){return this.Ot}},{key:"On",get:function(){return this.Bt}},{key:"Bn",get:function(){return this.Lt}},{key:"Ln",get:function(){return this.Mt}},{key:"Mn",get:function(){return this.xt}},{key:"xn",get:function(){if(!(this.Tn||this.pn))return!1;var t=this._n;return void 0===t||Number(t)<56}},{key:"Fn",get:function(){return this.Ft}},{key:"Un",get:function(){return this.Ut}},{key:"Hn",get:function(){return this.Ht}},{key:"Vn",get:function(){return this.Vt}},{key:"Xn",get:function(){return this.Xt}},{key:"zn",get:function(){return this.zt}},{key:"Wn",get:function(){return this.kt}}]),r}();A.qn=new A;var D=A.qn;var C=function(){},P=!(D.En&&!D.In),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))}};function j(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}var G=j(function(t,n){var r=function(t){a.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=null;try{n=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 r(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function i(t){return!0===(t&&t.Yn)}function e(t){var n=v.clz32(t&-t);return t?31-n:n}r.prototype.Yn,a.defineProperty(r.prototype,"Yn",{value:!0}),r.isLong=i;var u={},o={};function f(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=o[t])?i:(r=h(t,0,!0),e&&(o[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=u[t])?i:(r=h(t,t<0?-1:0,!1),e&&(u[t]=r),r)}function s(t,n){if(d(t))return n?b:S;if(n){if(t<0)return b;if(t>=m)return O}else{if(t<=-I)return A;if(t+1>=I)return R}return t<0?s(-t,n).neg():h(t%g|0,t/g|0,n)}function h(t,n,i){return new r(t,n,i)}r.fromInt=f,r.fromNumber=s,r.fromBits=h;var _=v.pow;function y(t,n,r){if(0===t.length)throw c("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?b:S;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw c("interior hyphen");if(0===i)return y(t.substring(1),n,r).neg();for(var e=s(_(r,8)),u=S,o=0;o<t.length;o+=8){var f=v.min(8,t.length-o),h=l(t.substring(o,o+f),r);if(f<8){var a=s(_(r,f));u=u.mul(a).add(s(h))}else u=(u=u.mul(e)).add(s(h))}return u.unsigned=n,u}function p(t,n){return"number"==typeof t?s(t,n):"string"==typeof t?y(t,n):h(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}r.fromString=y,r.fromValue=p;var g=4294967296,m=g*g,I=m/2,k=f(1<<24),S=f(0);r.ZERO=S;var b=f(0,!0);r.UZERO=b;var E=f(1);r.ONE=E;var T=f(1,!0);r.UONE=T;var N=f(-1);r.NEG_ONE=N;var R=h(-1,2147483647,!1);r.MAX_VALUE=R;var O=h(-1,-1,!0);r.MAX_UNSIGNED_VALUE=O;var A=h(0,-2147483648,!1);r.MIN_VALUE=A;var D=r.prototype;D.toInt=function(){return this.unsigned?this.low>>>0:this.low},D.toNumber=function(){return this.unsigned?(this.high>>>0)*g+(this.low>>>0):this.high*g+(this.low>>>0)},D.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(A)){var n=s(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=s(_(t,6),this.unsigned),u=this,o="";;){var f=u.div(e),c=(u.sub(f.mul(e)).toInt()>>>0).toString(t);if((u=f).isZero())return c+o;for(;c.length<6;)c="0"+c;o=""+c+o}},D.getHighBits=function(){return this.high},D.getHighBitsUnsigned=function(){return this.high>>>0},D.getLowBits=function(){return this.low},D.getLowBitsUnsigned=function(){return this.low>>>0},D.getNumBitsAbs=function(){if(this.isNegative())return this.eq(A)?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},D.isZero=function(){return 0===this.high&&0===this.low},D.eqz=D.isZero,D.isNegative=function(){return!this.unsigned&&this.high<0},D.isPositive=function(){return this.unsigned||this.high>=0},D.isOdd=function(){return 1==(1&this.low)},D.isEven=function(){return 0==(1&this.low)},D.equals=function(t){return i(t)||(t=p(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},D.eq=D.equals,D.notEquals=function(t){return!this.eq(t)},D.neq=D.notEquals,D.ne=D.notEquals,D.lessThan=function(t){return this.comp(t)<0},D.lt=D.lessThan,D.lessThanOrEqual=function(t){return this.comp(t)<=0},D.lte=D.lessThanOrEqual,D.le=D.lessThanOrEqual,D.greaterThan=function(t){return this.comp(t)>0},D.gt=D.greaterThan,D.greaterThanOrEqual=function(t){return this.comp(t)>=0},D.gte=D.greaterThanOrEqual,D.ge=D.greaterThanOrEqual,D.compare=function(t){if(i(t)||(t=p(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},D.comp=D.compare,D.negate=function(){return!this.unsigned&&this.eq(A)?A:this.not().add(E)},D.neg=D.negate,D.add=function(t){i(t)||(t=p(t));var n=this.high>>>16,r=65535&this.high,e=this.low>>>16,u=65535&this.low,o=t.high>>>16,f=65535&t.high,s=t.low>>>16,c=0,a=0,v=0,l=0;return v+=(l+=u+(65535&t.low))>>>16,a+=(v+=e+s)>>>16,c+=(a+=r+f)>>>16,c+=n+o,h((v&=65535)<<16|(l&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},D.subtract=function(t){return i(t)||(t=p(t)),this.add(t.neg())},D.sub=D.subtract,D.multiply=function(t){if(this.isZero())return this;if(i(t)||(t=p(t)),n)return h(n.mul(this.low,this.high,t.low,t.high),n.get_high(),this.unsigned);if(t.isZero())return this.unsigned?b:S;if(this.eq(A))return t.isOdd()?A:S;if(t.eq(A))return this.isOdd()?A:S;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(k)&&t.lt(k))return s(this.toNumber()*t.toNumber(),this.unsigned);var r=this.high>>>16,e=65535&this.high,u=this.low>>>16,o=65535&this.low,f=t.high>>>16,c=65535&t.high,a=t.low>>>16,v=65535&t.low,l=0,_=0,d=0,w=0;return d+=(w+=o*v)>>>16,_+=(d+=u*v)>>>16,d&=65535,_+=(d+=o*a)>>>16,l+=(_+=e*v)>>>16,_&=65535,l+=(_+=u*a)>>>16,_&=65535,l+=(_+=o*c)>>>16,l+=r*v+e*a+u*c+o*f,h((d&=65535)<<16|(w&=65535),(l&=65535)<<16|(_&=65535),this.unsigned)},D.mul=D.multiply,D.divide=function(t){if(i(t)||(t=p(t)),t.isZero())throw c("division by zero");var r,e,u;if(n)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?h((this.unsigned?n.div_u:n.div_s)(this.low,this.high,t.low,t.high),n.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?b:S;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return b;if(t.gt(this.shru(1)))return T;u=b}else{if(this.eq(A))return t.eq(E)||t.eq(N)?A:t.eq(A)?E:(r=this.shr(1).div(t).shl(1)).eq(S)?t.isNegative()?E:N:(e=this.sub(t.mul(r)),u=r.add(e.div(t)));if(t.eq(A))return this.unsigned?b:S;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();u=S}for(e=this;e.gte(t);){r=v.max(1,v.floor(e.toNumber()/t.toNumber()));for(var o=v.ceil(v.log(r)/v.LN2),f=o<=48?1:_(2,o-48),a=s(r),l=a.mul(t);l.isNegative()||l.gt(e);)l=(a=s(r-=f,this.unsigned)).mul(t);a.isZero()&&(a=E),u=u.add(a),e=e.sub(l)}return u},D.div=D.divide,D.modulo=function(t){return i(t)||(t=p(t)),n?h((this.unsigned?n.rem_u:n.rem_s)(this.low,this.high,t.low,t.high),n.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},D.mod=D.modulo,D.rem=D.modulo,D.not=function(){return h(~this.low,~this.high,this.unsigned)},D.countLeadingZeros=function(){return this.high?v.clz32(this.high):v.clz32(this.low)+32},D.clz=D.countLeadingZeros,D.countTrailingZeros=function(){return this.low?e(this.low):e(this.high)+32},D.ctz=D.countTrailingZeros,D.and=function(t){return i(t)||(t=p(t)),h(this.low&t.low,this.high&t.high,this.unsigned)},D.or=function(t){return i(t)||(t=p(t)),h(this.low|t.low,this.high|t.high,this.unsigned)},D.xor=function(t){return i(t)||(t=p(t)),h(this.low^t.low,this.high^t.high,this.unsigned)},D.shiftLeft=function(t){return i(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?h(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):h(0,this.low<<t-32,this.unsigned)},D.shl=D.shiftLeft,D.shiftRight=function(t){return i(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?h(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):h(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},D.shr=D.shiftRight,D.shiftRightUnsigned=function(t){return i(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?h(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):h(32===t?this.high:this.high>>>t-32,0,this.unsigned)},D.shru=D.shiftRightUnsigned,D.shr_u=D.shiftRightUnsigned,D.rotateLeft=function(t){var n;return i(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?h(this.high,this.low,this.unsigned):t<32?(n=32-t,h(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),h(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},D.rotl=D.rotateLeft,D.rotateRight=function(t){var n;return i(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?h(this.high,this.low,this.unsigned):t<32?(n=32-t,h(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),h(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},D.rotr=D.rotateRight,D.toSigned=function(){return this.unsigned?h(this.low,this.high,!1):this},D.toUnsigned=function(){return this.unsigned?this:h(this.low,this.high,!0)},D.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},D.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]},D.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]},r.fromBytes=function(t,n,i){return i?r.fromBytesLE(t,n):r.fromBytesBE(t,n)},r.fromBytesLE=function(t,n){return new r(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},r.fromBytesBE=function(t,n){return new r(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var C=r;return t.default=C,"default"in t?t.default:t}({});t.exports=r}),z=v.pow(2,-52);function K(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function q(){return Date.now()||(new Date).getTime()}var X;G.fromNumber(9007199254740991);!function(t){t[t.Kn=1]="Kn",t[t.Jn=2]="Jn",t[t.Zn=3]="Zn",t[t.$n=4]="$n",t[t.ni=9]="ni"}(X||(X={}));var Y=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];c.apply(this,n)};(Y.prototype=a.create(c.prototype)).constructor=Y;var $=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}(Y),Z=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return m(n,t),n}($),J=function(){function t(){}return t.prototype.ei=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new Z(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Z;return new ut(n)},t}(),Q=function(){function t(t){this.ri=void 0,this.ri=t}var n=t.prototype;return n.oi=function(t){return this.ri.isEqualNode(t.ri)},n.ai=function(n){return new t(this.ri.cloneNode(n))},p(t,[{key:"jn",get:function(){return X.Jn}},{key:"ci",get:function(){var t;return null!=(t=this.ri.localName)?t:st(this.ri.nodeName)}},{key:"di",get:function(){return this.ri.nodeName}},{key:"_i",get:function(){var t;return null!=(t=this.ri.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.ri.prefix)?t:void 0}},{key:"gi",get:function(){return this.ri.nodeValue}}]),t}(),tt=function(){function t(t){this.Ai=void 0,this.Ti=void 0,this.Ai=t}var n=t.prototype;return n.Si=function(t){return this.Ei.filter(function(n){return ot(n)&&n.Ii===t})},n.Ri=function(t,n){return this.Ei.filter(function(r){return ot(r)&&r.ci===n&&r._i===t})},n.Ni=function(t){this.Ai.appendChild(t.Di),this.Ti&&this.Ti.push(t)},n.oi=function(t){return this.Ai.isEqualNode(t.Di)},p(t,[{key:"Ei",get:function(){return void 0===this.Ti&&(this.Ti=function(t){for(var n=[],r=0;r<t.length;r++){var i=ft(t.item(r));i&&n.push(i)}return n}(this.Ai.childNodes)),this.Ti}},{key:"Ci",get:function(){return this.Ei.filter(ot)}},{key:"Di",get:function(){return this.Ai}}]),t}(),nt=function(t){function n(n){return t.call(this,n)||this}m(n,t);var r=n.prototype;return r.Pi=function(t){if(this.Ai.hasAttribute(t))return this.Ai.getAttribute(t)},r.Oi=function(t,n){if(this.Ai.hasAttributeNS(t,n))return this.Ai.getAttributeNS(t,n)},r.Bi=function(t){this.Ai.removeAttribute(t)},r.Li=function(t,n){this.Ai.removeAttributeNS(t,n)},r.Mi=function(t,n){this.Ai.setAttribute(t,n)},r.xi=function(t,n,r){this.Ai.setAttributeNS(t,n,r)},r.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return X.Kn}},{key:"ci",get:function(){var t;return null!=(t=this.Ai.localName)?t:st(this.Ai.nodeName)}},{key:"_i",get:function(){var t;return null!=(t=this.Ai.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.Ai.prefix)?t:void 0}},{key:"Ii",get:function(){return this.Ai.nodeName}},{key:"Fi",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new Q(t.item(r)));return n}(this.Ai.attributes)}},{key:"Ui",get:function(){return this.Ai.textContent}}]),n}(tt),rt=function(){function t(t){this.Ai=void 0,this.Ai=t}return t.prototype.oi=function(t){return this.Hi===t.Hi},p(t,[{key:"Hi",get:function(){return this.Ai.nodeValue}},{key:"Di",get:function(){return this.Ai}}]),t}(),it=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return X.Zn}}]),n}(rt),et=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return X.$n}}]),n}(rt),ut=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return X.ni}},{key:"Vi",get:function(){return new nt(this.Ai.documentElement)}}]),n}(tt);function ot(t){return function(t){return t.jn===X.Kn}(t)}function ft(t){switch(t.nodeType){case X.Kn:return new nt(t);case X.Zn:return new it(t);case X.$n:return new et(t)}}function st(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function ct(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),a.defineProperty(t,i.key,i)}}function ht(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){at(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&at(r,null,t.length,t),t}function at(t,n,r,i){var e,u,o,f,s,c=t.length,h=0,a=2*r;for(e=0;e<c;e+=a)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[h++]=t[f++]:i[h++]=t[s++];else if(f<u)i[h++]=t[f++];else{if(!(s<o))break;i[h++]=t[s++]}}var vt=/[a-zA-Z]/,lt=/[0-9]/,_t=/[0-9a-fA-F]/,dt=/^0x/i,wt=/^[0-9]+$/,yt=/^[0-9a-fA-F]+$/,pt=/^[0-7]+$/,gt=a.prototype.toString,mt=Array.isArray||function(t){return"[object Array]"===gt.call(t)},It="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function kt(t){return mt(t)?t:Array.from(t)}function St(t){return t>=65&&t<=90}function bt(t){return St(t)||function(t){return t>=97&&t<=122}(t)}function Et(t){return t>=48&&t<=57}function Tt(t){return Et(t)||bt(t)}function Nt(t){return Et(t)||t>=65&&t<=70||t>=97&&t<=102}function Rt(t){return St(t)?t+32:t}function Ot(t){return Et(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function At(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Dt=v.min,Ct=String.fromCharCode,Pt=16384;function Ft(t){for(var n=t.length,r=[],i=0;i<n;i+=Pt){var e=Dt(i+Pt,n);r.push(Ct.apply(null,t.slice(i,e)))}return r.join("")}var Bt=/[^\0-\x7E]/,Mt=/[\x2E\u3002\uFF0E\uFF61]/g,xt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lt=v.floor,Wt=String.fromCharCode;function Ut(t){throw new RangeError(xt[t])}function Vt(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 Ht,jt,Gt,zt=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Kt=function(t,n,r){var i=0;for(t=r?Lt(t/700):t>>1,t+=Lt(t/n);t>455;i+=36)t=Lt(t/35);return Lt(i+36*t/(t+38))},qt=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(Mt,".")).split("."),n).join(".");return i+e}(t,function(t){return Bt.test(t)?"xn--"+function(t){for(var n=[],r=(t=Vt(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Wt(s))}var c=n.length,h=c;for(c&&n.push("-");h<r;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<a&&(a=_)}var d=h+1;a-i>Lt((2147483647-e)/d)&&Ut("overflow"),e+=(a-i)*d,i=a;for(var w=0,y=t;w<y.length;w++){var p=y[w];if(p<i&&++e>2147483647&&Ut("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(Wt(zt(I+k%S,0))),g=Lt(k/S)}n.push(Wt(zt(g,0))),u=Kt(e,d,h==c),e=0,++h}}++e,++i}return n.join("")}(t):t})};function Xt(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 Ft(n)}function Yt(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function $t(t,n){return t>>n&63|128}function Zt(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(Yt(t),n.push(t>>12&15|224),n.push($t(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push($t(t,12)),n.push($t(t,6))),n.push(63&t|128)):n.push(t)}function Jt(t){for(var n=[],r=0;r<t.length;r++){Zt(t[r],n)}return n}function Qt(){if(Gt>=jt)throw new c("Invalid byte index");var t=255&Ht[Gt];if(Gt++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function tn(){var t,n;if(Gt>jt)throw new c("Invalid byte index");if(Gt===jt)return!1;if(t=255&Ht[Gt],Gt++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Qt())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Qt()<<6|Qt())>=2048)return Yt(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Qt()<<12|Qt()<<6|Qt())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function nn(t){return[37,At(t>>4),At(15&t)]}function rn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function en(t){return rn(t)||32===t||34===t||60===t||62===t||96===t}function un(t){return en(t)||35===t||63===t||123===t||125===t}function on(t){return un(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function fn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function sn(t){return fn(t)||39===t}function cn(t,n){if(!n(t))return[t];for(var r=Jt([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,nn(u))}return i}function hn(t,n){for(var r=[],i=0,e=Vt(t);i<e.length;i++){var u=e[i];r.push.apply(r,cn(u,n))}return Xt(r)}function an(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&&Nt(t[i+1])&&Nt(t[i+2])){var u=Ot(t[i+1])<<4|Ot(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Jt(t))}function vn(t){return Xt(function(t){Ht=t.slice(),jt=Ht.length,Gt=0;for(var n,r=[];!1!==(n=tn());)r.push(n);return r}(an(Vt(t))))}function ln(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 h;c+=2,s=f+=1}for(;c<u;){if(8===f)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,f>6)throw new h;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new h;c+=1}if(!lt.test(t[c]))throw new h;for(;c<u&&lt.test(t[c]);){var w=l(t[c],10);if(null===d)d=w;else{if(0===d)throw new h;if((d=10*d+w)>255)throw new h}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[f]=a,f+=1}else{if(null!==s)throw new h("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 h;return o}function _n(t){var n=10,r=wt;return dt.test(t)?(t=t.slice(2),n=16,r=yt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=pt),""===t?0:r.test(t)?l(t,n):void 0}var dn={Xi:4},wn=/[\0\t\n\r #%/:?@\[\\\]]/,yn=/[\0\t\n\r #/:?@\[\\\]]/;function pn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{Xi:2,zi:ln(t.slice(1,-1))}}if(!n)return function(t){if(yn.test(t))throw new h("Invalid code point in opaque host");var n=hn(t,rn);return""===n?dn:{Xi:3,Wi:n}}(t);var r=function(t){return function(t){return qt(t.toLowerCase())}(t)}(vn(t));if(wn.test(r))throw new h("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=_n(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new h;if(r[r.length-1]>=v.pow(256,5-r.length))throw new h;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?{Xi:1,zi:i}:""===r?dn:{Xi:0,qi:r}}function gn(t){switch(t.Xi){case 0:return t.qi;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.zi);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.zi)+"]";case 3:return t.Wi;case 4:return""}}var mn=/\+/g;function In(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(mn," "),f=f.replace(mn," ");var s=vn(o),c=vn(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+=Sn(Jt(Vt(i[0])))+"="+Sn(Jt(Vt(i[1])))}return n}function Sn(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||Tt(n)?r.push(e):r.push.apply(r,nn(e))}return Ft(r)}var bn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function En(t){var n=""+t,r=bn.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Nn(u))if(Rn(u)||e===r-1)i.push(Tn);else{var o=t.charCodeAt(e+1);Rn(o)?(i.push(u,o),e++):i.push(Tn)}else i.push(u)}return t.slice(0,n)+Ft(i)}(n,r.index):n}var Tn=65533,Nn=function(t){return 55296==(63488&t)},Rn=function(t){return 0!=(1024&t)};function On(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function An(t){t.Gi.length=0}function Dn(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Gi,In(n))}function Cn(t){if(t.Qi){var n=kn(t.Gi);""===n&&(n=null),t.Qi.Qi.Yi=n}}function Pn(t){return t instanceof Fn&&(!!mt(t.Gi)&&(!It||t[Symbol.iterator]===Bn))}var Fn=function(){function t(t){if(void 0===t&&(t=void 0),this.Qi=null,null==t)this.Gi=[];else if("object"==typeof t||"function"==typeof t)if(Pn(t))this.Gi=t.Gi.slice();else if(null!=(u=t)&&(mt(u)||It&&"function"==typeof u[Symbol.iterator])){this.Gi=[];for(var n=0,r=kt(t);n<r.length;n++){var i=kt(r[n]);if(2!==i.length)throw new h("Invalid name-value pair");this.Gi.push([En(i[0]),En(i[1])])}}else for(var e in this.Gi=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.Gi.push([En(e),En(t[e])]);else(t=En(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Gi=In(t);var u}var n=t.prototype;return n.append=function(t,n){t=En(t),n=En(n),this.Gi.push([t,n]),Cn(this)},n.delete=function(t){t=En(t);for(var n=this.Gi,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Cn(this)},n.get=function(t){t=En(t);for(var n=this.Gi,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=En(t);for(var n=this.Gi,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=En(t);for(var n=this.Gi,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=En(t),n=En(n);for(var r=this.Gi,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]),Cn(this)},n.sort=function(){ht(this.Gi,On),Cn(this)},n.toString=function(){return kn(this.Gi)},n.entries=function(){return new Wn(this.Gi,Mn)},n.keys=function(){return new Wn(this.Gi,xn)},n.values=function(){return new Wn(this.Gi,Ln)},n.forEach=function(t){var n=this;this.Gi.forEach(function(r){return t(r[1],r[0],n)})},t}(),Bn=Fn.prototype.entries;It&&(Fn.prototype[Symbol.iterator]=Bn);var Mn=function(t){return[t[0],t[1]]},xn=function(t){return t[0]},Ln=function(t){return t[1]},Wn=function(){function t(t,n){this.ji=0,this.Gi=t,this.Ki=n}return t.prototype.next=function(){return this.ji<this.Gi.length?{done:!1,value:this.Ki(this.Gi[this.ji++])}:{done:!0,value:void 0}},t}(),Un="null";var Vn=a.create(null);Vn.ftp=21,Vn.file=0,Vn.gopher=70,Vn.http=80,Vn.https=443,Vn.ws=80,Vn.wss=443;var Hn=/^(?:\.|%2e)$/i,jn=/^(?:\.|%2e){2}$/i;function Gn(t){return Hn.test(t)}function zn(t){return jn.test(t)}function Kn(t){return void 0!==Vn[t]}function qn(t){return Kn(t.Zi)}function Xn(t){return""!==t.Ji||""!==t.$i}function Yn(t){var n=t.length;if(!(n>=2))return!1;if(!Zn(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 $n(t){return 2===t.length&&vt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Zn(t){return 2===t.length&&$n(Ft(t))}function Jn(t){return $n(t)&&":"===t[1]}function Qn(t){var n=t.re;0!==n.length&&("file"===t.Zi&&1===n.length&&Jn(n[0])||n.pop())}function tr(t){return null===t.ue||dn===t.ue||t.oe||"file"===t.Zi}var nr=-1,rr=/\t|\n|\r/g,ir=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function er(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new or,t=t.replace(ir,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Vt(t=t.replace(rr,"")),a=c.length,v=0;v<=a;){var _=v<a?c[v]:nr;switch(e){case 0:if(!bt(_)){if(null===i){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(Rt(_)),e=1;break;case 1:if(Tt(_)||43===_||45===_||46===_)u.push(Rt(_));else{if(58!==_){if(null===i){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var d=Xt(u);if(null!==i){if(Kn(r.Zi)&&!Kn(d))return;if(!Kn(r.Zi)&&Kn(d))return;if((Xn(r)||null!==r.fe)&&"file"===d)return;if("file"===r.Zi&&(r.ue===dn||null===r.ue))return}if(r.Zi=d,null!==i)return void(qn(r)&&r.fe===Vn[r.Zi]&&(r.fe=null));u.length=0,"file"===r.Zi?e=13:qn(r)&&n&&n.Zi===r.Zi?e=3:qn(r)?e=7:47===c[v+1]?(e=4,v+=1):(r.oe=!0,r.re.push(""),e=18)}break;case 2:if(!n||n.oe&&35!==_)throw new h("Invalid scheme");n.oe&&35===_?(r.Zi=n.Zi,r.re=n.re.slice(),r.Yi=n.Yi,r._e="",r.oe=!0,e=20):"file"!==n.Zi?(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.Zi=n.Zi,nr===_?(r.Ji=n.Ji,r.$i=n.$i,r.ue=n.ue,r.fe=n.fe,r.re=n.re.slice(),r.Yi=n.Yi):47===_?e=6:63===_?(r.Ji=n.Ji,r.$i=n.$i,r.ue=n.ue,r.fe=n.fe,r.re=n.re.slice(),r.Yi="",e=19):35===_?(r.Ji=n.Ji,r.$i=n.$i,r.ue=n.ue,r.fe=n.fe,r.re=n.re.slice(),r.Yi=n.Yi,r._e="",e=20):92===_&&qn(r)?e=6:(r.Ji=n.Ji,r.$i=n.$i,r.ue=n.ue,r.fe=n.fe,r.re=n.re.slice(),r.re.pop(),e=17,v-=1);break;case 6:!qn(r)||47!==_&&92!==_?47===_?e=9:(r.Ji=n.Ji,r.$i=n.$i,r.ue=n.ue,r.fe=n.fe,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=Xt(cn(y,on));s?r.$i+=p:r.Ji+=p}else s=!0}u.length=0}else if(nr===_||47===_||63===_||35===_||qn(r)&&92===_){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.Zi)v-=1,e=15;else if(58!==_||f)if(nr===_||47===_||63===_||35===_||qn(r)&&92===_){if(v-=1,qn(r)&&0===u.length)throw new h("Invalid host");if(null!==i&&0===u.length&&(Xn(r)||null!==r.fe))return;var g=pn(Xt(u),qn(r));if(r.ue=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 h("Invalid host");var m=pn(Xt(u),qn(r));if(r.ue=m,u.length=0,e=12,11===i)return}break;case 12:if(Et(_))u.push(_);else{if(!(nr===_||47===_||63===_||35===_||qn(r)&&92===_||null!==i))throw new h("Invalid port");if(0!==u.length){var I=l(Xt(u),10);if(I>65535)throw new h("Invalid port");r.fe=I===Vn[r.Zi]?null:I,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.Zi="file",47===_||92===_?e=14:n&&"file"===n.Zi?nr===_?(r.ue=n.ue,r.re=n.re.slice(),r.Yi=n.Yi):63===_?(r.ue=n.ue,r.re=n.re.slice(),r.Yi="",e=19):35===_?(r.ue=n.ue,r.re=n.re.slice(),r.Yi=n.Yi,r._e="",e=20):(Yn(c.slice(v))||(r.ue=n.ue,r.re=n.re.slice(),Qn(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Zi&&!Yn(c.slice(v))&&(Jn(n.re[0])?r.re.push(n.re[0]):r.ue=n.ue),e=17,v-=1);break;case 15:if(nr===_||47===_||92===_||63===_||35===_)if(v-=1,null===i&&Zn(u))e=17;else if(0===u.length){if(r.ue=dn,null!==i)return;e=16}else{var k=pn(Xt(u),qn(r));if(0===k.Xi&&"localhost"===k.qi&&(k=dn),r.ue=k,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:qn(r)?(e=17,47!==_&&92!==_&&(v-=1)):null===i&&63===_?(r.Yi="",e=19):null===i&&35===_?(r._e="",e=20):nr!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(nr===_||47===_||qn(r)&&92===_||null===i&&(63===_||35===_)){var S=Xt(u);if(zn(S)?(Qn(r),47===_||qn(r)&&92===_||r.re.push("")):!Gn(S)||47===_||qn(r)&&92===_?Gn(S)||("file"===r.Zi&&0===r.re.length&&Zn(u)&&(dn!==r.ue&&null!==r.ue&&(r.ue=dn),u[1]=58,S=Xt(u)),r.re.push(S)):r.re.push(""),u.length=0,"file"===r.Zi&&(nr===_||63===_||35===_))for(;r.re.length>1&&""===r.re[0];)r.re.shift();63===_?(r.Yi="",e=19):35===_&&(r._e="",e=20)}else u.push.apply(u,cn(_,un));break;case 18:63===_?(r.Yi="",e=19):35===_?(r._e="",e=20):nr!==_&&(r.re[0]+=Xt(cn(_,rn)));break;case 19:null===i&&35===_?(r._e="",e=20):nr!==_&&(r.Yi+=Xt(cn(_,qn(r)?sn:fn)));break;case 20:nr===_||0===_||(r._e+=Xt(cn(_,en)))}v++}return r}function ur(t,n,r,i){try{er(t,n,r,i)}catch(t){}}var or=function(){this.Zi="",this.Ji="",this.$i="",this.ue=null,this.fe=null,this.re=[],this.Yi=null,this._e=null,this.oe=!1};function fr(t){switch(t.Zi){case"blob":var n;try{n=er(t.re[0],null)}catch(t){return Un}return fr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.Zi,i=t.ue,e=t.fe,r+"://"+gn(i)+(null===e?"":":"+e);case"file":default:return Un}var r,i,e}function sr(t){return null!=t&&(t instanceof cr&&"object"==typeof t.Qi)}var cr=function(){function t(t,n){var r,i=null;if(null!=n)if(sr(n))i=n.Qi;else try{i=er(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{r=er(String(t),i)}catch(t){throw new h("Invalid URL: "+t.message)}var e=r.Yi;this.Qi=r,this.Yi=function(t){var n=new Fn;return null!==t&&Dn(n,t),n}(e),this.Yi.Qi=this}var n,r,i,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(r=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Zi+":";if(null!==t.ue?(r+="//",Xn(t)&&(r+=t.Ji,""!==t.$i&&(r+=":"+t.$i),r+="@"),r+=gn(t.ue),null!==t.fe&&(r+=":"+t.fe)):null===t.ue&&"file"===t.Zi&&(r+="//"),t.oe)r+=t.re[0];else for(var i=0,e=t.re;i<e.length;i++)r+="/"+e[i];return null!==t.Yi&&(r+="?"+t.Yi),n||null===t._e||(r+="#"+t._e),r}(this.Qi)},set:function(t){var n;try{n=er(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.Qi=n,An(this.Yi);var r=this.Qi.Yi;null!==r&&Dn(this.Yi,r)}},{key:"origin",get:function(){return fr(this.Qi)}},{key:"protocol",get:function(){return this.Qi.Zi+":"},set:function(t){ur(t+":",null,this.Qi,0)}},{key:"username",get:function(){return this.Qi.Ji},set:function(t){tr(this.Qi)||(this.Qi.Ji=hn(t,on))}},{key:"password",get:function(){return this.Qi.$i},set:function(t){tr(this.Qi)||(this.Qi.$i=hn(t,on))}},{key:"host",get:function(){var t=this.Qi,n=t.ue;if(null===n)return"";var r=t.fe,i=gn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Qi.oe||ur(t,null,this.Qi,10)}},{key:"hostname",get:function(){var t=this.Qi.ue;return null===t?"":gn(t)},set:function(t){this.Qi.oe||ur(t,null,this.Qi,11)}},{key:"port",get:function(){var t=this.Qi.fe;return null===t?"":""+t},set:function(t){tr(this.Qi)||(""===t?this.Qi.fe=null:ur(t,null,this.Qi,12))}},{key:"pathname",get:function(){var t=this.Qi.re;return this.Qi.oe?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Qi.oe||(this.Qi.re.length=0,ur(t,null,this.Qi,16))}},{key:"search",get:function(){var t=this.Qi.Yi;return null===t||""===t?"":"?"+t},set:function(t){t=En(t);var n=this.Qi;if(""===t)return n.Yi=null,void An(this.Yi);"?"===t[0]&&(t=t.slice(1)),n.Yi="",ur(t,null,n,19),Dn(this.Yi,t)}},{key:"searchParams",get:function(){return this.Yi}},{key:"hash",get:function(){var t=this.Qi._e;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Qi._e="",ur(t,null,this.Qi,20)):this.Qi._e=null}}])&&ct(n.prototype,r),i&&ct(n,i),t}();function hr(t){return t.document&&t.document.baseURI||t.location.href||""}var ar=u;function vr(t){return Boolean(t&&void 0!==t.length)}function lr(){}function _r(t){if(!(this instanceof _r))throw new h("Promises must be constructed via new");if("function"!=typeof t)throw new h("not a function");this.we=0,this.me=!1,this.ye=void 0,this.ke=[],mr(t,this)}function dr(t,n){for(;3===t.we;)t=t.ye;0!==t.we?(t.me=!0,_r.pe(function(){var r=1===t.we?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.ye)}catch(t){return void yr(n.promise,t)}wr(n.promise,i)}else(1===t.we?wr:yr)(n.promise,t.ye)})):t.ke.push(n)}function wr(t,n){try{if(n===t)throw new h("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if(n instanceof _r)return t.we=3,t.ye=n,void pr(t);if("function"==typeof r)return void mr((i=r,e=n,function(){i.apply(e,arguments)}),t)}t.we=1,t.ye=n,pr(t)}catch(n){yr(t,n)}var i,e}function yr(t,n){t.we=2,t.ye=n,pr(t)}function pr(t){2===t.we&&0===t.ke.length&&_r.pe(function(){t.me||_r.Ae(t.ye)});for(var n=0,r=t.ke.length;n<r;n++)dr(t,t.ke[n]);t.ke=null}function gr(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function mr(t,n){var r=!1;try{t(function(t){r||(r=!0,wr(n,t))},function(t){r||(r=!0,yr(n,t))})}catch(t){if(r)return;r=!0,yr(n,t)}}_r.prototype.catch=function(t){return this.then(null,t)},_r.prototype.then=function(t,n){var r=new this.constructor(lr);return dr(this,new gr(t,n,r)),r},_r.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)})})},_r.all=function(t){return new _r(function(n,r){if(!vr(t))return r(new h("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])})},_r.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new h(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])})},_r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===_r?t:new _r(function(n){n(t)})},_r.reject=function(t){return new _r(function(n,r){r(t)})},_r.race=function(t){return new _r(function(n,r){if(!vr(t))return r(new h("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)_r.resolve(t[i]).then(n,r)})},_r.pe="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){ar(t,0)},_r.Ae=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var Ir=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:"",Sr=kr.match(/Firefox\/([0-9]+)/i),br=null!=Sr,Er=Sr?Number(Sr[1]):0,Tr=kr.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Nr=null!=Tr,Rr=Tr?Number(Tr[3]):0,Or=function(){function t(t){this.Te=0,this.Se=0,this.Wi=[],this.Ee=t}return t.prototype.Ie=function(t){var n=this.length();this.Re(n+1);var r=this.Se+n&this.Ee-1;this.Wi[r]=t,this.Te=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Ee<n)this.Ie(t);else{var r=this.Se+n-1,i=this.Ee-1;this.Wi[r&i]=t,this.Te=n}},t.prototype.shift=function(){var t=this.Se,n=this.Wi[t];return this.Wi[t]=void 0,this.Se=t+1&this.Ee-1,this.Te--,n},t.prototype.length=function(){return this.Te},t.prototype.Re=function(t){this.Ee<t&&this.Ne(this.Ee<<1)},t.prototype.Ne=function(t){var n=this.Ee;this.Ee=t;var r=this.Se+this.Te&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.Wi,0,n,r)},t}();var Ar="unhandledrejection",Dr=t.PromiseRejectionEvent,Cr=t.CustomEvent;function Pr(t){return new Dr(Ar,{reason:t,promise:Ir.reject(t).catch(function(){}),cancelable:!0})}function Fr(t){var n=new Cr(Ar,{detail:{reason:t},cancelable:!0});return a.defineProperty(n,"reason",{value:t}),n}function Br(t){var n=i.createEvent("CustomEvent");return n.initCustomEvent(Ar,!1,!0,{reason:t}),n}var Mr,xr,Lr,Wr,Ur,Vr,Hr,jr=function(t){return(jr=function(){try{var t=Ir.resolve(),n=new Dr(Ar,{reason:"error",promise:t});return Ar===n.type&&"error"===n.reason}catch(t){}return!1}()?Pr:function(){try{var t=new Cr(Ar,{detail:{reason:"error"}});return Ar===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?Fr:Br)(t)};if(Ir&&!(br&&Er<60||Nr&&Rr<15))xr=Ir,function(){};else{xr=_r;var Gr=null!==(Mr=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var r=Ir;if(r&&"function"==typeof r.resolve){var i=r.resolve();return function(t){return i.then(t)}}}())&&void 0!==Mr?Mr:_r.pe,zr=(Lr=Gr,Wr=new Or(16),Ur=!1,{De:function(t){Wr.push(t),Ur||(Ur=!0,Lr(Vr))},Ce:Vr=function(){for(;Wr.length()>0;)Wr.shift()();Ur=!1}});zr.Ce,_r.pe=zr.De,_r.Ae=function(n){try{var r=jr(n);if(!t.dispatchEvent(r)||r.defaultPrevented)return}catch(t){}u(function(){throw new c("Unhandled promise rejection: ".concat(n))},0)}}function Kr(){return void 0!==i?i.createElement("video"):void 0}var qr=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),Xr=(Hr||(Hr=Kr()),Hr),Yr=!(!Xr||!Xr.webkitShowPlaybackTargetPicker),$r=function(){function t(){this.Pe=void 0,this.Oe=!1,this.Wt=qr,this.fn=!1,this.Be=!0,this.Le=!0}var n=t.prototype;return n.Me=function(){return 0},n.xe=function(t,n){return!0},n.Fe=function(t){return t>=1/6*2},p(t,[{key:"Ue",get:function(){return void 0===this.Pe&&(this.Pe=this.Me()),this.Pe}},{key:"He",get:function(){return r.devicePixelRatio||1}},{key:"Ve",get:function(){return Yr}},{key:"Xe",get:function(){return!1}},{key:"ze",get:function(){return!0}},{key:"We",get:function(){return D.qt||D.un}},{key:"qe",get:function(){return!0}},{key:"Ge",get:function(){return!0}},{key:"Qe",get:function(){}},{key:"Ye",get:function(){return!0}},{key:"je",get:function(){return!1}}]),t}(),Zr=function(){var t=Kr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(D.$t)return!1;var t=Kr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Jr=function(t){function n(n){var r;return(r=t.call(this)||this).Ke=void 0,r.Ke=n,r.Ke&&(r.Oe=r.Ke.Oe,r.Wt=r.Ke.Wt,r.Be=Zr&&r.Ke.Be),r}m(n,t);var r=n.prototype;return r.Me=function(){return this.Ke?this.Ke.Ue:t.prototype.Me.call(this)},r.xe=function(n,r){return this.Ke?this.Ke.xe(n,r):t.prototype.xe.call(this,n,r)},r.Fe=function(n){return this.Ke?this.Ke.Fe(n):t.prototype.Fe.call(this,n)},p(n,[{key:"Qe",get:function(){var t;return null==(t=this.Ke)?void 0:t.Qe}},{key:"Ye",get:function(){var t,n;return null==(t=null==(n=this.Ke)?void 0:n.Ye)||t}}]),n}($r),Qr=function(t){function n(n){var r;return(r=t.call(this,n)||this).Oe=!0,r.fn=!0,r}return m(n,t),n}(Jr),ti=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Me=function(){if(!(void 0).MediaSource)return 1},n}(Qr),ni=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(n,r){return t.prototype.xe.call(this,n,r)},p(n,[{key:"Xe",get:function(){return D.An<3}},{key:"ze",get:function(){return D.An>=3}},{key:"je",get:function(){return D.An<3}}]),n}(Jr),ri=function(t){function n(){return t.call(this)||this}return m(n,t),n}($r),ii=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(t,n){if(t&&t.Ze&&n&&n.Ze){var r=ei(t.Ze,"mp4a.40.2")&&ei(n.Ze,"mp4a.40.5"),i=ei(t.Ze,"mp4a.40.5")&&ei(n.Ze,"mp4a.40.2"),e=ei(t.Ze,"mp4a.40.2")&&ei(n.Ze,"mp4a.40.34"),u=ei(t.Ze,"mp4a.40.34")&&ei(n.Ze,"mp4a.40.2"),o=ei(t.Ze,"mp4a.40.5")&&ei(n.Ze,"mp4a.40.34"),f=ei(t.Ze,"mp4a.40.34")&&ei(n.Ze,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},p(n,[{key:"Qe",get:function(){if(D.qt)return 4096}}]),n}(ri);function ei(t,n){return t.indexOf(n)>-1}var ui=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Fe=function(t){return t>=2},n}(ri),oi=function(t){function n(){var n;return(n=t.call(this)||this).Oe=D.Pn>=11,n.Be=D.Cn&&!(D.un&&D.Pn<10),n}return m(n,t),n}(ri),fi=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"qe",get:function(){return!1}}]),n}(Jr),si=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"Ye",get:function(){return!D.Gt||!!D.wn&&92!==D.yn}}]),n}(ri),ci=function(){function n(){var n;this.Je=void 0,this.$e=new J,this.ir=new hi,this.rr=(n=function(){if(D.Nn)return new ii;if(D.Sn||D.En)return new ui;if(D.Cn)return new oi;if(D.dn)return new si;return new ri}(),D.un?new ti(n):D.fn?new Qr(n):D.pn?new ni(n):D.Tn?new fi(n):new Jr(n)),this.dr=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.Je=function(){return t.performance.now()}:this.Je=q}var r=n.prototype;return r._r=function(){W.apply(void 0,arguments)},r.wr=function(){U.apply(void 0,arguments)},r.gr=function(){V.apply(void 0,arguments)},r.yr=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];H.apply(void 0,[t].concat(r))},r.Qn=function(t,n){return u(t,n)},r.pr=function(t,n){return f(t,n)},r.Gn=function(t){o(t)},r.Ar=function(t){s(t)},r.ei=function(t){return this.$e.ei(t)},r.Tr=function(){return this.Sr.Tr()},r.Er=function(){return this.Sr.Er()},r.Ir=function(){return this.Sr.Ir()},r.Rr=function(){return this.Sr.Rr()},r.Nr=function(){return this.Sr.Nr()},r.Dr=function(t,n){return this.Sr.Dr(t,n)},r.Cr=function(t){return this.Sr.Cr(t)},r.Pr=function(t,n){var r;return void 0===n&&(n=hr(void 0)),r="object"!=typeof n||n instanceof cr?n:n.href,new cr(t,r)},r.Or=function(n,r){if(void 0===r&&(r=hr(void 0)),this.dr){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.Pr(n,r).href},p(n,[{key:"Br",get:function(){return this.ir}},{key:"Lr",get:function(){return this.rr}},{key:"Mr",get:function(){return{xr:e&&e.userAgent.match(/Android /i)?"Android":"other",Fr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Ur",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Hr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),hi=function(){function t(){}return p(t,[{key:"Vr",get:function(){return e.oscpu}},{key:"Lr",get:function(){return e.platform}},{key:"Xr",get:function(){return e.vendor}},{key:"zr",get:function(){return e.vendorSub}}]),t}();var ai=j(function(t){!function(t){var n,r=a.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=a.create(e.prototype),o=new D(i||[]);return u.Wr=function(t,n,r){var i=l;return function(e,u){if(i===w)throw new c("Generator is already running");if(i===y){if("throw"===e)throw u;return P()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var f=R(o,r);if(f){if(f===p)continue;return f}}if("next"===r.method)r.sent=r.qr=r.arg;else if("throw"===r.method){if(i===l)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=w;var s=v(t,n,r);if("normal"===s.type){if(i=r.done?y:_,s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=y,r.method="throw",r.arg=s.arg)}}}(t,r,o),u}function v(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",_="suspendedYield",w="executing",y="completed",p={};function g(){}function m(){}function I(){}var k={};k[u]=function(){return this};var S=a.getPrototypeOf,b=S&&S(S(C([])));b&&b!==r&&i.call(b,u)&&(k=b);var E=I.prototype=g.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Wr(n,t)}})}function N(t){var n;this.Wr=function(r,e){function u(){return new xr(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,"Gr")?xr.resolve(c.Gr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):xr.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 h("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 h("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 a.setPrototypeOf?a.setPrototypeOf(t,I):(t.__proto__=I,f in t||(t[f]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Gr:t}},T(N.prototype),N.prototype[o]=function(){return this},t.AsyncIterator=N,t.async=function(n,r,i,e){var u=new N(s(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[f]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var i=n.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.qr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!d(+r.slice(1))&&(this[r]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(i,e){return f.type="throw",f.arg=t,r.next=i,e&&(r.method="next",r.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],f=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),h=i.call(o,"finallyLoc");if(s&&h){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(!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 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 vi(){return(vi=a.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)a.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function li(){var t=a.create(null);return t.__=void 0,delete t.__,t}var _i,di=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(_i=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=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=li(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=li(),this.size=0},n.keys=function(){return new _i(this.data,function(t,n){return n})},n.values=function(){return new _i(this.data,function(t,n){return t[n]})},n.entries=function(){return new _i(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());var wi,yi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",pi="urn:uuid:"+yi;!function(t){t.Zr="playready",t.Jr="widevine",t.$r="fairplay",t.ns="clearkey",t.rs="aes128"}(wi||(wi={}));var gi={us:wi.Zr,hs:"com.microsoft.playready",fs:"cenc",vs:"9a04f079-9840-4286-ab92-e65be0885f95",ds:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",ls:"PlayReady"},mi={us:wi.Jr,hs:"com.widevine.alpha",fs:"cenc",vs:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ds:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ls:"Widevine"},Ii={us:wi.$r,hs:"com.apple.fps.1_0",fs:"skd",vs:yi,ds:pi,ls:"FairPlay"},ki=(wi.$r,{us:wi.ns,hs:"org.w3.clearkey",fs:"cenc",vs:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ds:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ls:"ClearKey"});var Si=D.dn&&D._n>=42||D.Nn&&D.Dn>=38||D.Sn||D.In||D.On&&D.Bn>=29;function bi(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[vi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[vi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var Ei,Ti=function(){function t(t){this._s=void 0,this.gs=new di,this.ys=void 0,this._s=t}var n=t.prototype;return n.Nr=function(){return this.Cr(mi)},n.Er=function(){return this.Cr(ki)},n.Rr=function(){return this.Cr(gi)},n.Ir=function(){return this.Cr(Ii)},n.Cr=function(t){var n=t.ds,r=this.gs.get(n);if(r)return r;var i=this.Dr(t,'video/mp4; codecs="avc1.42000a"');return this.gs.set(n,i),i},n.Dr=function(t,n){return ai.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,ai.awrap(this._s.As(t.hs,[bi(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,ai.awrap(this._s.As(t.hs,[bi(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]],xr)},n.Tr=function(){return this.ys||(this.ys=this.Ts()),this.ys},n.Ts=function(){return ai.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Si){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,ai.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,xr)},t}(),Ni=function(){function t(){}var n=t.prototype;return n.tf=function(){},n.Ru=function(t){},n.Su=function(t){},n.nf=function(t,n){},t}(),Ri=function(){function t(){}return t.prototype.As=function(t,n){return xr.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.zf="arraybuffer",t.Wf="json",t.qf="stream",t.Zn="text"}(Ei||(Ei={}));var Oi,Ai=function(){function t(n){var r=this;this.Kr=void 0,this.Kr={},n instanceof t?n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)}):Array.isArray(n)?n.forEach(function(t){r.append(t[0],t[1])}):n&&a.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=Di(r),i=Ci(i);var e=r.toLowerCase();if(this.Kr.hasOwnProperty(e)){var u=this.Kr[e],o=u[1];u[1]=o?o+", "+i:i}else this.Kr[e]=[r,i]},n.delete=function(t){var n=Di(t).toLowerCase();delete this.Kr[n]},n.get=function(t){var n=Di(t).toLowerCase();return this.Kr.hasOwnProperty(n)?this.Kr[n][1]:null},n.has=function(t){var n=Di(t).toLowerCase();return this.Kr.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=Di(r)).toLowerCase();this.Kr[i]=[r,Ci(n)]},n.forEach=function(t,n){for(var r in this.Kr)this.Kr.hasOwnProperty(r)&&t.call(n,this.Kr[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Kr)if(this.Kr.hasOwnProperty(n)){var r=this.Kr[n],i=r[0],e=r[1];t.push([i,e])}return t},n.Gf=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Qf=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.Yf=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function Di(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 Ci(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Pi(t,n){return function(t,n){var r=t,i=r.length;if(i<=1)return r;for(var e=new Array(i),u=1;u<i;u*=2){Fi(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function Fi(t,n,r,i){var e,u,o,f,s,c=t.length,h=0,a=2*r;for(u=0;u<c;u+=a)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[h++]=t[f++]:i[h++]=t[s++];else if(f<o)i[h++]=t[f++];else{if(!(s<e))break;i[h++]=t[s++]}}!function(t){t[t.Ss=0]="Ss",t[t.Es=1]="Es",t[t.Is=-1]="Is"}(Oi||(Oi={}));var Bi=function(t,n){return function(t,n){if(t===n)return!0;var r=v.abs(t-n);return r<z||r<v.max(v.abs(t),v.abs(n))*z}(t,n)?Oi.Ss:function(t,n){return t===n?Oi.Ss:t<n?Oi.Is:t>n?Oi.Es:d(t)?d(n)?Oi.Ss:Oi.Es:Oi.Is}(t,n)};function Mi(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){t.splice(n,1)}(t,r),!0)}function xi(t){t.length=0}var Li,Wi,Ui,Vi,Hi=function(){function t(){this.Rs=!1,this.Ns=!1,this.Ds=[],this.Cs=[]}var n=t.prototype;return n.Ps=function(){if(!this.Rs&&!this.Ns){this.Rs=!0;for(var t=0,n=this.Ds.slice();t<n.length;t++){(0,n[t])()}this.Os()}},n.Os=function(){if(!this.Ns){this.Ns=!0;for(var t=0,n=this.Cs.slice();t<n.length;t++){(0,n[t])()}xi(this.Ds),xi(this.Cs)}},n.Bs=function(t){this.Ns||this.Ds.push(t)},n.Ls=function(t){this.Ns||Mi(this.Ds,t)},n.Ms=function(t){this.Ns||this.Cs.push(t)},n.xs=function(t){this.Ns||Mi(this.Cs,t)},t}(),ji=function(){function t(){this.Fs=new Hi}var n=t.prototype;return n.Us=function(){this.Fs.Ps()},n.Os=function(){this.Fs.Os()},n.Hs=function(t){var n=this.Fs;if(!n.Rs)if(t.Rs)n.Ps();else if(!n.Ns&&!t.Ns){var r=function(){i(),n.Ps()},i=function i(){t.Ls(r),t.xs(i),n.Ls(r),n.xs(i)};t.Bs(r),t.Ms(i),n.Bs(r),n.Ms(i)}},n.Vs=function(){var n=new t,r=new t,i=n.Xs,e=r.Xs,u=this.Fs,o=function(){i.Rs&&e.Ns||e.Rs&&i.Ns?u.Ps():i.Ns&&e.Ns&&u.Os()};i.Bs(o),e.Bs(o),i.Ms(o),e.Ms(o),n.Hs(u),r.Hs(u);return u.Ms(function(){i.Ls(o),e.Ls(o),i.xs(o),e.xs(o)}),[n,r]},p(t,[{key:"Xs",get:function(){return this.Fs}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(Li||(Li={})),function(t){t.al="",t.cl="manifest",t.fl="segment",t.vl="content-protection"}(Wi||(Wi={})),function(t){t.al="",t.dl="initialization-segment",t.ll="fairplay-license",t._l="fairplay-certificate",t.wl="widevine-license",t.yl="widevine-certificate",t.bl="playready-license",t.Al="clearkey-license",t.Tl="aes128-key"}(Ui||(Ui={})),function(t){t.al="",t.Sl="audio",t.El="video",t.Zn="text",t.Il="image"}(Vi||(Vi={}));var Gi,zi=function(t,n){this.Fd=void 0,this.Kd=void 0,this.Rl=void 0,this.Zd=void 0,this.Nl=void 0,this.Xs=void 0,this.us=void 0,this.Dl=void 0,this.Cl=void 0,this.ol=void 0,this.Pl=void 0,this.Ol=void 0;var r,i,e,u,o,f,s,c,h,a,v,l=t.ol;n?(r=n.Fd,i=n.Kd,e=n.Rl,u=n.Zd,o=n.Nl,f=n.Xs,s=n.us,c=n.Dl,h=n.Cl,a=n.Pl,v=n.Ol):(r=null,i={},e=Li.GET,u=Ei.Zn,o=0,s=Wi.al,c=Ui.al,h=Vi.al,a=!1),this.ol=l,this.Fd=t.Fd||r,this.Kd=new Ai(t.Kd||i),this.Rl=t.Rl||e,this.Zd=t.Zd||u,this.Nl=void 0!==t.Nl?Number(t.Nl)||0:o,this.Xs=t.Xs||f||(new ji).Xs,this.us=t.us||s,this.Dl=t.Dl||c,this.Cl=t.Cl||h,this.Pl=void 0!==t.Pl?Boolean(t.Pl):a,this.Ol=t.Ol||v};!function(t){t.zl="HttpOpenError",t.Wl="HttpResponseError",t.ql="HttpTimeoutError"}(Gi||(Gi={}));var Ki,qi,Xi=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.ol+". Invalid URL.",r)||this}return m(n,t),p(n,[{key:"name",get:function(){return Gi.zl}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Gl=void 0,e.Gl=n,e}return m(n,t),p(n,[{key:"il",get:function(){return this.Gl}}]),n}($)),Yi=function(){function t(){}var n=t.prototype;return n.il=function(t){return xr.reject(new Xi(new zi(t)))},n.Bl=function(t){},n.Ll=function(){},t}();function $i(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Zi(t,n){return t.push(n),t}function Ji(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 Qi(t,n){return Ji(t,$i(n))}Ki=new(function(t){function n(){for(var n,r=arguments.length,i=new Array(r),e=0;e<r;e++)i[e]=arguments[e];return(n=t.call.apply(t,[this].concat(i))||this).P_=new Ti(new Ri),n._m=new Yi,n.u=new Ni,n}return m(n,t),p(n,[{key:"Sr",get:function(){return this.P_}},{key:"M_",get:function(){return!1}},{key:"x_",get:function(){return!1}},{key:"F_",get:function(){return!1}},{key:"U_",get:function(){return this.u}},{key:"H_",get:function(){return{V_:C}}},{key:"X_",get:function(){return"default"}},{key:"z_",get:function(){return"unknown"}},{key:"W_",get:function(){return this._m}}]),n}(ci)),function(t){t.ZBt="h.264",t.ogt="mp3",t.ugt="aac-lc",t.CBt="he-aac"}(qi||(qi={}));var te=function(){function t(){this.ist=0,this.rst=[],this.TE={}}var n=t.prototype;return n.sst=function(t){this.rst=this.rst.concat(t.rst),this.ist+=t.Pw},n.ust=function(t,n,r){var i=this.ist,e=r-n;e>0&&(this.rst.push({ost:n,hst:r,ast:e,cst:i,fst:t}),this.ist+=e)},n.Su=function(t){for(var n=0,r=this.rst;n<r.length;n++){var i=r[n];if(i.cst<=t&&t<i.cst+i.ast)return i.fst[t+i.ost-i.cst]}},n.vst=function(t,n){for(var r=n,i=0,e=this.rst;i<e.length;i++)for(var u=e[i],o=u.hst,f=u.ost;f<o;f+=1,r+=1)t[r]=u.fst[f];return r},n.dst=function(){for(var t=new w(this.ist),n=0,r=0,i=this.rst;r<i.length;r++)for(var e=i[r],u=e.hst,o=e.ost;o<u;o+=1,n+=1)t[n]=e.fst[o];return t},n.Bu=function(n){for(var r=new t,i=0,e=this.rst;i<e.length;i++){var u=e[i];r.ust(u.fst,u.ost,u.hst)}return r.TE=n||vi({},this.TE),r},p(t,[{key:"Pw",get:function(){return this.ist},set:function(t){var n=this.rst,r=this.ist-t;if(!(t>=this.ist))if(this.ist=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.ast)return e.hst-=r,e.ast-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.ast}else n.length=0}},{key:"Hi",get:function(){for(var t=new Array(this.ist),n=0,r=0,i=this.rst;r<i.length;r++)for(var e=i[r],u=e.hst,o=e.ost;o<u;o+=1,n+=1)t[n]=e.fst[o];return t}}]),t}(),ne=function(){function t(){}var n=t.prototype;return n.ip=function(t){return this.ep()*t},n.rp=function(t){return this.sp(t)>0},n.op=function(t){return this.sp(t)>=0},n.hp=function(t,n){return this.cp(t).ap(n)},n.Gk=function(t){return 0===this.sp(t)},n.fp=function(t){return this.sp(t)<0},n.ap=function(t){return this.sp(t)<=0},n.vp=function(){return this.dp()?this.lp():this},n._p=function(t){return this.rk(t.lp())},n.cp=function(t){return this._p(t).vp()},t}();function re(t,n){return t.wp()?n.wp()?Oi.Ss:Oi.Es:n.wp()?Oi.Is:t.gp()?n.gp()&&t.dp()===n.dp()?Oi.Ss:t.dp()?Oi.Is:Oi.Es:n.dp()?Oi.Es:Oi.Is}var ie=function(){function t(t,n){this.mp=void 0,this.yp=void 0,this.mp=t,this.yp=n}t.kp=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.pp=function(n){return n.unsigned?new t(n,G.UZERO):new t(n,n.isNegative()?G.NEG_ONE:G.ZERO)},t.bp=function(n,r){if(d(n))return r?t.Ap:t.Tp;if(r){if(n<0)return t.Ap;if(n>=3.402823669209385e38)return t.Sp}else{if(n<=-1.7014118346046923e38)return t.Ep;if(n+1>=1.7014118346046923e38)return t.Ip}return n<0?t.bp(-n,r).lp():t.kp(G.fromNumber(n%0x10000000000000000),G.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.Rp=function(){return this.yp.unsigned},n.Np=function(){return this.mp.isZero()&&this.yp.isZero()},n.dp=function(){return this.yp.isNegative()},n.Dp=function(){return this.Rp()?t.kp(this.mp,this.yp,!1):this},n.Cp=function(){return this.Rp()?this:t.kp(this.mp,this.yp,!0)},n.Pp=function(){return this.mp},n.ep=function(){return this.dp()?-this.lp().ep():0x10000000000000000*this.yp.toNumber()+this.mp.toUnsigned().toNumber()},n.Op=function(){return this.mp.toInt()},n.Gk=function(t){return(this.Rp()===t.Rp()||this.yp.getHighBits()>>>31!=1||t.yp.getHighBits()>>>31!=1)&&(this.yp.toUnsigned().eq(t.yp.toUnsigned())&&this.mp.toUnsigned().eq(t.mp.toUnsigned()))},n.sp=function(t){if(this.Gk(t))return Oi.Ss;var n=this.dp(),r=t.dp();if(n&&!r)return Oi.Is;if(!n&&r)return Oi.Es;if(!this.Rp())return this._p(t).dp()?Oi.Is:Oi.Es;var i=this.Cp(),e=t.Cp(),u=e.yp.comp(i.yp);return u>0||0===u&&e.mp.gt(i.mp)?Oi.Is:Oi.Es},n.fp=function(t){return this.sp(t)<0},n.ap=function(t){return this.sp(t)<=0},n.Bp=function(t){return this.sp(t)>0},n.Lp=function(t){return this.sp(t)>=0},n.Mp=function(){return new t(this.mp.not(),this.yp.not())},n.xp=function(n){return new t(this.mp.and(n.mp),this.yp.and(n.yp))},n.Fp=function(n){return new t(this.mp.or(n.mp),this.yp.or(n.yp))},n.Up=function(n){var r=127&n;return 0===r?this:r<64?t.kp(this.mp.shl(r),this.yp.shl(r).or(this.mp.shru(64-r)),this.Rp()):t.kp(G.ZERO,this.mp.shl(r-64),this.Rp())},n.Hp=function(n){var r=127&n;return 0===r?this:r<64?t.kp(this.mp.shru(r).or(this.yp.shl(64-r)),this.yp.shr(r),this.Rp()):t.kp(this.yp.shr(r-64),this.yp.isNegative()?G.NEG_ONE:G.ZERO,this.Rp())},n.Vp=function(n){var r=127&n;return 0===r?this:r<64?t.kp(this.mp.shru(r).or(this.yp.shl(64-r)),this.yp.shru(r),this.Rp()):64===r?t.kp(this.yp,G.ZERO,this.Rp()):t.kp(this.yp.shru(r-64),G.ZERO,this.Rp())},n.rk=function(n){var r=this.yp.high>>>16,i=65535&this.yp.high,e=this.yp.low>>>16,u=65535&this.yp.low,o=this.mp.high>>>16,f=65535&this.mp.high,s=this.mp.low>>>16,c=65535&this.mp.low,h=n.yp.high>>>16,a=65535&n.yp.high,v=n.yp.low>>>16,l=65535&n.yp.low,_=n.mp.high>>>16,d=65535&n.mp.high,w=n.mp.low>>>16,y=0,p=0,g=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.mp.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+a)>>>16,p&=65535,y+=r+h,y&=65535;var E=this.Rp(),T=G.fromBits(g<<16|m,y<<16|p,E),N=G.fromBits(S<<16|b,I<<16|k,E);return t.kp(N,T,E)},n._p=function(t){return this.rk(t.lp())},n.lp=function(){return this.Mp().rk(t.Xp)},n.zp=function(n){if(this.Np()||n.Np())return this.Rp()?t.Ap:t.Tp;if(this.dp())return n.dp()?this.lp().zp(n.lp()):this.lp().zp(n).lp();if(n.dp())return this.zp(n.lp()).lp();if(this.yp.isZero()&&0===this.mp.high&&n.yp.isZero()&&0===n.mp.high)return t.pp(this.mp.multiply(n.mp));var r=G.fromBits(4294967295,0,!0),i=this.mp.and(r),e=this.mp.shru(32),u=this.yp.and(r),o=this.yp.shru(32),f=n.mp.and(r),s=n.mp.shru(32),c=n.yp.and(r),h=n.yp.shru(32),a=G.UZERO,v=G.UZERO,l=G.UZERO,_=G.UZERO;a=a.add(i.mul(f)),v=v.add(a.shru(32)),a=a.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(h)).and(r);var d=G.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=G.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.kp(d,w,this.Rp())},n.Wp=function(n){var r,i,e=n;if(e.Np())throw new RangeError("division by zero");if(this.Np())return this.Rp()?[t.Ap,t.Ap]:[t.Tp,t.Tp];if(this.Rp()){if(e.Rp()||(e=e.Cp()),e.Bp(this))return[t.Ap,this];if(e.Bp(this.Vp(1)))return[i=t.qp,r=this._p(e)];i=t.Ap}else{if(this.Gk(t.Ep)){if(e.Gk(t.Xp)||e.Gk(t.Gp))return[t.Ep,t.Tp];if(e.Gk(t.Ep))return[t.Xp,t.Tp];var u=this.Hp(1).Qp(e).Up(1);return u.Gk(t.Tp)?i=e.dp()?t.Xp:t.Gp:(r=this._p(e.zp(u)),i=u.rk(r.Qp(e))),[i,r=this._p(e.zp(i))]}if(e.Gk(t.Ep))return this.Rp()?[t.Ap,this]:[t.Tp,this];if(this.dp()){if(e.dp())return this.lp().Wp(e.lp());var o=this.lp().Wp(e);return i=o[0],r=o[1],[i.lp(),r.lp()]}if(e.dp()){var f=this.Wp(e.lp());return i=f[0],r=f[1],[i.lp(),r.lp()]}i=t.Tp}for(r=this;r.Lp(e);){for(var s=v.max(1,v.floor(r.ep()/e.ep())),c=v.ceil(v.log(s)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.bp(s),l=a.zp(e);l.dp()||l.Bp(r);)s-=h,l=(a=t.bp(s,this.Rp())).zp(e);a.Np()&&(a=t.Xp),i=i.rk(a),r=r._p(l)}return[i,r]},n.Qp=function(t){return this.Wp(t)[0]},n.Yp=function(t){return this.Wp(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Np())return"0";if(this.dp()){if(this.Gk(t.Ep)){var i=t.bp(r),e=this.Qp(i),u=e.zp(i)._p(this);return e.toString(r)+u.Op().toString(r)}return"-"+this.lp().toString(r)}for(var o=t.bp(v.pow(r,6),this.Rp()),f=this,s="";;){var c=f.Qp(o),h=(f._p(c.zp(o)).Op()>>>0).toString(r);if((f=c).Np())return h+s;for(;h.length<6;)h="0"+h;s=String(h)+s}},t}();ie.Tp=ie.pp(G.ZERO),ie.Ap=ie.pp(G.UZERO),ie.Xp=ie.pp(G.ONE),ie.qp=ie.pp(G.UONE),ie.Gp=ie.pp(G.NEG_ONE),ie.Ip=ie.kp(G.NEG_ONE,G.MAX_VALUE,!1),ie.Sp=ie.kp(G.MAX_UNSIGNED_VALUE,G.MAX_UNSIGNED_VALUE,!0),ie.Ep=ie.kp(G.ZERO,G.MIN_VALUE,!1);var ee=function(){function t(t,n){void 0===n&&(n=1),this.jp=void 0,this.Kp=void 0,this.jp=t,this.Kp=n}t.Zp=function(n){return new t(v.ceil(n.jp),n.Kp)},t.Jp=function(n){return new t(v.floor(n.jp),n.Kp)},t.$p=function(t,n){return t.op(n)?t:n},t.ib=function(t,n){return t.ap(n)?t:n};var n=t.prototype;return n.rk=function(n){return this.Kp>=n.Kp?new t(this.jp+n.eb(this.Kp).jp,this.Kp):new t(this.eb(n.Kp).jp+n.jp,n.Kp)},n.rp=function(t){return t.fp(this)},n.op=function(t){return t.ap(this)},n.cp=function(n){return this.Kp>=n.Kp?new t(v.abs(this.jp-n.eb(this.Kp).jp),this.Kp):n.cp(this)},n.hp=function(t,n){return this.cp(t).ap(n)},n.sp=function(t){return r=t,(n=this).Kp>=r.Kp?Bi(n.jp,r.eb(n.Kp).jp):Bi(n.eb(r.Kp).jp,r.jp);var n,r},n.Gk=function(t){return 0===this.sp(t)},n.fp=function(t){return this.sp(t)<0},n.ap=function(t){return this.sp(t)<=0},n.eb=function(n){return new t(this.jp*(n/this.Kp),n)},n._p=function(n){return this.Kp>=n.Kp?new t(this.jp-n.eb(this.Kp).jp,this.Kp):new t(this.eb(n.Kp).jp-n.jp,n.Kp)},n.sb=function(n){return new t(this.jp*n,this.Kp)},p(t,[{key:"gp",get:function(){return!isFinite(this.jp)}},{key:"ub",get:function(){return this.jp/this.Kp}}]),t}();ee.ob=new ee(1/6,1),ee.Tp=new ee(0),ee.hb=new ee(1/0),ee.cb=1e6;var ue=function(t){function n(n,r){var i;return(i=t.call(this)||this).gi=void 0,i.Kp=void 0,i.gi=n.toSigned(),i.Kp=r>>>0,i}m(n,t),n.fb=function(t,r){return void 0===r&&(r=1e6),n.bp(t*r,r)},n.bp=function(t,r){return d(t)?n.vb:t===1/0?n._b:t===-1/0?n.wb:new n(G.fromNumber(t),r)},n.pp=function(t,r){return new n(t,r)},n.gb=function(t){return n.fb(t.ub,1e6)},n.mb=function(t){return new n(G.fromNumber(t.getTime()),1e3)},n.$p=function(t,n){return t.op(n)?t:n},n.ib=function(t,n){return t.ap(n)?t:n},n.yb=function(t,r,i){return n.$p(r,n.ib(i,t))};var r=n.prototype;return r.dp=function(){return this.gi.isNegative()},r.Np=function(){return 0!==this.Kp&&this.gi.isZero()},r.gp=function(){return 0===this.Kp&&!this.gi.isZero()},r.wp=function(){return 0===this.Kp&&this.gi.isZero()},r.ep=function(){if(0===this.Kp)return this.gi.isZero()?NaN:this.gi.isNegative()?-1/0:1/0;var t=this.gi.divide(this.Kp),n=this.gi.subtract(t.multiply(this.Kp));return t.toNumber()+n.toNumber()/this.Kp},r.Pp=function(){if(0===this.Kp)throw new c("Failed to convert timestamp");return this.gi},r.kb=function(){return new Date(0===this.Kp?NaN:this.eb(1e3).gi.toNumber())},r.pb=function(){return new ee(0===this.Kp?this.ep():this.gi.toNumber(),this.Kp)},r.eb=function(t,r){void 0===r&&(r=se.bb);var i=this.Kp;if(i===t)return this;if(0===i)return this;var e=K(i,t);return new n(function(t,n,r){var i=t.Wp(n),e=i[0],u=i[1];if(u.Np())return e;if(r===se.bb)return u.dp()?e._p(ie.Xp):e;if(r===se.Ab)return u.dp()?e:e.rk(ie.Xp);var o=u.zp(ie.bp(2));return o.dp()?o.lp().fp(n)?e:e._p(ie.Xp):o.fp(n)?e:e.rk(ie.Xp)}(ie.pp(this.gi).zp(ie.bp(t/e)),ie.bp(i/e),r).Pp(),t)},r.sp=function(t){if(this===t)return Oi.Ss;if(0===this.Kp||0===t.Kp)return re(this,t);if(this.Np())return t.Np()?Oi.Ss:t.dp()?Oi.Es:Oi.Is;if(t.Np())return this.dp()?Oi.Is:Oi.Es;var n=v.min(this.Kp,t.Kp),r=this.eb(n,se.Tb).gi,i=t.eb(n,se.Tb).gi;return r.compare(i)},r.lp=function(){return 0===this.Kp?oe(this):new n(this.gi.negate(),this.Kp)},r.rk=function(t){if(0===this.Kp||0===t.Kp)return fe(this,t);if(this.Np())return t;if(t.Np())return this;var r=v.max(this.Kp,t.Kp),i=this.eb(r,se.Tb),e=t.eb(r,se.Tb);return new n(i.gi.add(e.gi),r)},r.zp=function(t){if(this.wp()||d(t))return n.vb;if(this.gp()||!isFinite(t)){if(this.Np()||0===t)return n.vb;var r=this.dp()?n.wb:n._b;return t<0?r.lp():r}return this.Np()?this:new n(0===t?G.ZERO:this.gi.multiply(t),this.Kp)},r.Qp=function(t){if(this.wp()||d(t))return n.vb;if(this.gp())return isFinite(t)?0===t?1/t<0?this.lp():this:t<0?this.lp():this:n.vb;if(!isFinite(t))return new n(G.ZERO,this.Kp);if(this.Np())return 0===t?n.vb:new n(G.ZERO,this.Kp);if(0===t){var r=this.dp()?n.wb:n._b;return 1/t<0?r.lp():r}return new n(this.gi.divide(t),this.Kp)},r.Sb=function(){return[this.gi.low,this.gi.high,this.Kp]},n}(ne);function oe(t){return t.wp()?t:t.dp()?ue._b:ue.wb}function fe(t,n){return t.wp()||n.wp()?ue.vb:t.gp()&&n.gp()?t.dp()===n.dp()?t:ue.vb:t.gp()?t:n}ue.Tp=new ue(G.ZERO,1e6),ue.vb=new ue(G.ZERO,0),ue._b=new ue(G.ONE,0),ue.wb=new ue(G.NEG_ONE,0);var se,ce=function(t){function n(n,r){var i;return(i=t.call(this)||this).gi=void 0,i.Kp=void 0,i.gi=BigInt.asIntN(64,n),i.Kp=r>>>0,i}m(n,t),n.fb=function(t,r){return void 0===r&&(r=1e6),n.bp(t*r,r)},n.bp=function(t,r){return d(t)?n.vb:t===1/0?n._b:t===-1/0?n.wb:new n(BigInt(v.floor(t)),r)},n.pp=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.gb=function(t){return n.fb(t.ub,1e6)},n.mb=function(t){return n.bp(t.getTime(),1e3)},n.$p=function(t,n){return t.op(n)?t:n},n.ib=function(t,n){return t.ap(n)?t:n},n.yb=function(t,r,i){return n.$p(r,n.ib(i,t))};var r=n.prototype;return r.dp=function(){return this.gi<BigInt(0)},r.Np=function(){return 0!==this.Kp&&this.gi===BigInt(0)},r.gp=function(){return 0===this.Kp&&this.gi!==BigInt(0)},r.wp=function(){return 0===this.Kp&&this.gi===BigInt(0)},r.ep=function(){if(0===this.Kp)return this.gi===BigInt(0)?NaN:this.gi<BigInt(0)?-1/0:1/0;var t=this.gi/BigInt(this.Kp),n=this.gi-t*BigInt(this.Kp);return Number(t)+Number(n)/this.Kp},r.Pp=function(){if(0===this.Kp)throw new c("Failed to convert timestamp");return this.Eb()},r.Eb=function(){var t=this.gi&BigInt(4294967295),n=this.gi>>BigInt(32)&BigInt(4294967295);return G.fromBits(Number(t),Number(n))},r.kb=function(){return new Date(0===this.Kp?NaN:Number(this.eb(1e3).gi))},r.pb=function(){return new ee(0===this.Kp?this.ep():Number(this.gi),this.Kp)},r.eb=function(t,r){void 0===r&&(r=se.bb);var i=this.Kp;if(i===t)return this;if(0===i)return this;var e=K(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===se.bb)return e<BigInt(0)?i-BigInt(1):i;if(r===se.Ab)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.gi*BigInt(t/e),BigInt(i/e),r),t)},r.sp=function(t){if(this===t)return Oi.Ss;if(0===this.Kp||0===t.Kp)return re(this,t);if(this.Np())return t.Np()?Oi.Ss:t.dp()?Oi.Es:Oi.Is;if(t.Np())return this.dp()?Oi.Is:Oi.Es;var n=v.min(this.Kp,t.Kp),r=this.eb(n,se.Tb).gi,i=t.eb(n,se.Tb).gi;return r>i?Oi.Es:r<i?Oi.Is:Oi.Ss},r.lp=function(){return 0===this.Kp?he(this):new n(-this.gi,this.Kp)},r.rk=function(t){if(0===this.Kp||0===t.Kp)return ae(this,t);if(this.Np())return t;if(t.Np())return this;var r=v.max(this.Kp,t.Kp),i=this.eb(r,se.Tb),e=t.eb(r,se.Tb);return new n(i.gi+e.gi,r)},r.zp=function(t){if(this.wp()||d(t))return n.vb;if(this.gp()||!isFinite(t)){if(this.Np()||0===t)return n.vb;var r=this.dp()?n.wb:n._b;return t<0?r.lp():r}return this.Np()?this:new n(0===t?BigInt(0):this.gi*BigInt(t),this.Kp)},r.Qp=function(t){if(this.wp()||d(t))return n.vb;if(this.gp())return isFinite(t)?0===t?1/t<0?this.lp():this:t<0?this.lp():this:n.vb;if(!isFinite(t))return new n(BigInt(0),this.Kp);if(this.Np())return 0===t?n.vb:new n(BigInt(0),this.Kp);if(0===t){var r=this.dp()?n.wb:n._b;return 1/t<0?r.lp():r}return new n(this.gi/BigInt(t),this.Kp)},r.Sb=function(){var t=this.Eb();return[t.low,t.high,this.Kp]},p(n,null,[{key:"Tp",get:function(){return n.Ib||(n.Ib=new n(BigInt(0),1e6)),n.Ib}},{key:"vb",get:function(){return n.Rb||(n.Rb=new n(BigInt(0),0)),n.Rb}},{key:"_b",get:function(){return n.Nb||(n.Nb=new n(BigInt(1),0)),n.Nb}},{key:"wb",get:function(){return n.Db||(n.Db=new n(BigInt(-1),0)),n.Db}}]),n}(ne);function he(t){return t.wp()?t:t.dp()?ce._b:ce.wb}function ae(t,n){return t.wp()||n.wp()?ce.vb:t.gp()&&n.gp()?t.dp()===n.dp()?t:ce.vb:t.gp()?t:n}ce.Ib=void 0,ce.Rb=void 0,ce.Nb=void 0,ce.Db=void 0,function(t){t[t.bb=0]="bb",t[t.Ab=1]="Ab",t[t.Tb=2]="Tb"}(se||(se={}));var ve=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?ce:ue;function le(t){return ve.pp(G.fromBits(t[0],t[1],!1),t[2])}var _e=v.pow(2,33),de=ve.bp(_e,9e4),we=de.Qp(2);function ye(t,n){var r=t._p(n);return t.gp()||n.gp()?r:(r.op(we)?r._p(de):r.fp(we.lp())&&r.rk(de),r)}var pe,ge;D.Cn;!function(t){t[t.qY=0]="qY",t[t.GY=1]="GY",t[t.QY=2]="QY",t[t.YY=3]="YY",t[t.jY=4]="jY",t[t.KY=5]="KY"}(pe||(pe={})),function(t){t[t.ZY=0]="ZY",t[t.JY=1]="JY",t[t.$Y=2]="$Y",t[t.tj=3]="tj"}(ge||(ge={}));var me,Ie,ke,Se,be,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},{}),xr.resolve();!function(t){t.Ak="Tk",t.Sk="Ek",t.yw="Qa"}(me||(me={})),function(t){t.Ak="enter",t.Sk="exit",t.yw="update"}(Ie||(Ie={})),function(t){t[t.MD=0]="MD",t[t.$j=1]="$j",t[t.tK=2]="tK",t[t.nK=3]="nK",t[t.Zn=4]="Zn"}(ke||(ke={})),function(t){t.cY='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.fY='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.vY='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.dY='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Se||(Se={})),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"}(be||(be={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ee||(Ee={}));var Te;be.WHITE,Se.vY,be.BLACK,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.GREEN,Ee.FONT_REGULAR,be.GREEN,Ee.FONT_UNDERLINE,be.BLUE,Ee.FONT_REGULAR,be.BLUE,Ee.FONT_UNDERLINE,be.CYAN,Ee.FONT_REGULAR,be.CYAN,Ee.FONT_UNDERLINE,be.RED,Ee.FONT_REGULAR,be.RED,Ee.FONT_UNDERLINE,be.YELLOW,Ee.FONT_REGULAR,be.YELLOW,Ee.FONT_UNDERLINE,be.MAGENTA,Ee.FONT_REGULAR,be.MAGENTA,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_ITALICS,be.WHITE,Ee.FONT_UNDERLINE_ITALICS,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE,be.WHITE,Ee.FONT_REGULAR,be.WHITE,Ee.FONT_UNDERLINE;!function(t){t[t.gst=47]="gst",t[t.mst=49]="mst"}(Te||(Te={}));var Ne,Re=[128,64,32,16,8,4,2,1];function Oe(t,n){var r=v.floor(n.bit/8),i=0==(("function"==typeof t.Su?t.Su(r):t[r])&Re[n.bit%8])?0:1;return n.bit+=1,i}function Ae(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+Oe(t,n);return i}function De(t,n){for(var r=0;0===Oe(t,n)&&r<32;)r+=1;return Ae(t,n,r)+v.pow(2,r)-1}function Ce(t,n){var r=De(t,n);return 1&r?v.floor((r+1)/2):-v.floor(r/2)}!function(t){t[t.Dst=1]="Dst",t[t.Cst=2]="Cst",t[t.Pst=3]="Pst",t[t.Ost=4]="Ost",t[t.Bst=5]="Bst",t[t.Lst=6]="Lst",t[t.Mst=7]="Mst",t[t.xst=8]="xst",t[t.Fst=9]="Fst"}(Ne||(Ne={}));var Pe=[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 Fe(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+Ce(t,n)+256)%256;i=0===e?i:e}}var Be=function(){function t(t){this.Ust=void 0,this.Hst=[],this.Vst=0,this.Ust=t}var n=t.prototype;return n.Xst=function(){for(var t=this.Hst,n=v.max(0,this.Vst+t.length-2),r=this.Ust,i=r.Pw,e=0;n<i;n+=1){var u=r.Su(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Vst=n-t.length},n.zst=function(t){for(var n=this.Hst,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.Su=function(t){if(!(t>this.Ust.Pw))return t>this.Vst&&this.Xst(),this.Ust.Su(this.zst(t))},t}();function Me(t,n){Ru(t.video?t.video:void 0);var r=fo(t,!0),i=Au(t)+8,e=He.length+r+i,u=function(t,n){var r={video:[],audio:[]},i=8+n,e={video:t.video&&t.video.tW||[],audio:t.audio&&t.audio.tW||[]},u={TE:{U$: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.TE.U$<c.TE.U$?(Qi(r.video,i),i+=s.Pw,s=e.video[o+=1]||u):(Qi(r.audio,i),i+=c.Pw,c=e.audio[f+=1]||u);return r}(t,He.length+r);return n.su(e),n.sc(He),so(n,t,r,u),function(t,n,r){var i,e={TE:{U$:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.tW||[],s=n.audio&&n.audio.tW||[],c=f.length,h=s.length,a=f[u]||e,v=s[o]||e;t.th(r),t.sc(Ge);for(;u<c||o<h;)a.TE.U$<v.TE.U$?(i=a,a=f[u+=1]||e):(i=v,v=s[o+=1]||e),t.mh(i)}(n,t,i),n}function xe(t,n,r){var i=void 0!==n?n:void 0;Ru(t.video?t.video:void 0);var e=fo(t,!1,i),u=je.length+e;return r.su(u),r.sc(je),so(r,t,e,void 0,i||ve.Tp),r}function Le(t,n,r,i,e){var u=r.ep(),o=i.ep(),f=function(t,n){return 1===Ro(t,n)?52:44}(t,o),s=To(t,u),c=Au(t)+8,h=co.length+f+s+c;return e.su(h),e.sc(co),function(t,n,r,i,e){var u=n.video&&n.video.pBt.rk(ve.fb(n.video.duration,n.video.pBt.Kp))||ve.Tp,o=n.audio&&n.audio.pBt.rk(ve.fb(n.audio.duration,n.audio.pBt.Kp))||ve.Tp,f=ve.$p(u,o),s=v.round(e*Nu);t.th(r),t.sc(ho),1===Ro(n,e)?(t.th(16777216),t.th(1),t.th(Nu),t.bh(G.fromNumber(s)),t.bh(G.ZERO)):(t.th(0),t.th(1),t.th(Nu),t.th(s),t.th(0));t.xh(0),t.xh(1);var c=No(n.video?n.video:void 0),h=No(n.audio?n.audio:void 0);t.th(To(n,i)+c+h+8),Co(t,f),t.sc([144,0,0,0])}(e,t,f,u,o),function(t,n,r,i,e){t.th(r),t.sc(ao),function(t,n){t.th(lo),t.sc(vo),t.th(0),t.th(n)}(t,i),Ao(t,n,n.video?n.video:void 0,1,e),Ao(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.tW||[],e=n.audio&&n.audio.tW||[];t.th(r),t.sc(Ge);for(var u=0;u<i.length;u++){var o=i[u];t.mh(o)}for(var f=0;f<e.length;f++){var s=e[f];t.mh(s)}}(e,t,c),e}function We(t){return t.mBt===qi.ogt||t.mBt===qi.ugt||t.mBt===qi.CBt}function Ue(t){return t.mBt===qi.ZBt}function Ve(t){var n=t.length;if(n)for(var r=t[0].TE.Kst,i=0;i<n;i+=1){var e=t[i].TE;e.qBt=e.jst._p(r),r=r.rk(e.Zst)}}var He=[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],je=[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],Ge=[109,100,97,116],ze=[109,111,111,118],Ke=[109,118,104,100],qe=[116,114,97,107],Xe=[116,107,104,100],Ye=[109,118,101,120],$e=[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],ru=[99,116,116,115],iu=[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],fu=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],su=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],_u=[115,116,115,100],du=[97,118,99,67],wu=[101,115,100,115],yu=[115,116,115,115],pu=[115,116,116,115],gu=[115,116,115,99],mu=[115,116,115,122],Iu=[115,116,99,111],ku=[112,97,115,112],Su=[97,118,99,49],bu=[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],Nu=9e4;function Ru(t){if(t&&!t.mS){var n=t.mCt,r=t.yCt;t.mS=function(t,n){var r=t.length,i=n.length,e=[];return Zi(e,1),Zi(e,t[1]),Zi(e,t[2]),Zi(e,t[3]),Zi(e,255),Zi(e,225),Zi(e,(65280&r)>>8),Zi(e,255&r),Ji(e,t),Zi(e,1),Zi(e,(65280&i)>>8),Zi(e,255&i),Ji(e,n),e}(n,r);var i=new te;i.ust(n,0,n.length);var e=function(t){var n,r,i,e,u,o,f=new Be(t),s=0,c=0,h=0,a=0,l=f.Su(1),_={bit:32};if(De(f,_),100===l||110===l||122===l||144===l){var d=De(f,_);if(3===d&&(n=Oe(f,_)),De(f,_),De(f,_),Oe(f,_),1===Oe(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===Oe(f,_)&&Fe(f,_,w<6?16:64)}var y=De(f,_),p=De(f,_);if(0===p)De(f,_);else if(1===p){Oe(f,_),Ce(f,_),Ce(f,_);for(var g=De(f,_),m=0;m<g;m+=1)Ce(f,_)}De(f,_),Oe(f,_);var I=De(f,_),k=De(f,_),S=Oe(f,_);if(0===S&&Oe(f,_),Oe(f,_),1===Oe(f,_)&&(s=De(f,_),c=De(f,_),h=De(f,_),a=De(f,_)),1===Oe(f,_)){if(1===Oe(f,_)){var b=Ae(f,_,8);if(255===b)r=Ae(f,_,16),i=Ae(f,_,16);else{var E=Pe[b];E&&(r=E[0],i=E[1])}}1===Oe(f,_)&&Oe(f,_),1===Oe(f,_)&&(Ae(f,_,3),Oe(f,_),1===Oe(f,_)&&(Ae(f,_,8),Ae(f,_,8),Ae(f,_,8))),1===Oe(f,_)&&(De(f,_),De(f,_)),1===(e=Oe(f,_))&&(u=Ae(f,_,32),o=Ae(f,_,32),Oe(f,_))}return{width:v.floor(16*(I+1)-2*s-2*c),height:v.floor((2-S)*(k+1)*16-2*h-2*a),DS:r,CS:i,Wst:!!e&&o/(2*u),qst:n,Gst:y}}(i);t.width=e&&e.width,t.height=e&&e.height,e&&e.DS&&e.CS&&(t.DS=e.DS,t.CS=e.CS)}}function Ou(t,n){var r=t.Wst||0;if(We(t))return t.FBt;var i=v.max(Nu,r);return n?v.round(i):i}function Au(t){var n=0,r=function(t){for(var n=t.length,r=0,i=0;i<n;i+=1)r+=t[i].Pw;return r};return t.video&&(n+=r(t.video.tW)),t.audio&&(n+=r(t.audio.tW)),n}function Du(t,n,r,i){var e=ve.fb(0,t.Kp);return n?(i||e).rk(t):r||e}function Cu(t,n,r){var i=t.video&&Du(ve.fb(t.video.duration,Nu),n,r,t.video.pBt)||ve.Tp,e=t.audio&&Du(ve.fb(t.audio.duration,Nu),n,r,t.audio.pBt)||ve.Tp;return 0!==ve.$p(i,e).eb(Nu).Pp().high?1:0}function Pu(t,n,r){return 1===Cu(t,n,r)?120:108}function Fu(t,n,r){return 0!==Du(ve.fb(t.duration,Nu),n,r,t.pBt).eb(Nu).Pp().high?1:0}function Bu(t,n,r){return 1===Fu(t,n,r)?104:92}function Mu(t,n,r){var i=Ou(t,!1),e=Du(ve.fb(t.duration,i),n,r);return e.rp(ve.fb(v.pow(2,32)-1,e.Kp))?1:0}function xu(t,n,r){return 1===Mu(t,n,r)?44:32}function Lu(t){if(t.hasOwnProperty("zh"))return t.zh;for(var n=0,r=0,i=t.tW;r<i.length;r++){i[r].TE.tut&&(n+=1)}return t.zh=n,n}function Wu(t,n){var r=t.video&&0!==a.keys(t.video).length,i=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(r?Ze:0)+(i?Ze:0)}function Uu(t){return!Ue(t)&&t.VBt?t.VBt.length+12:0}function Vu(t){return Ue(t)?110+t.mS.length+Uu(t)+(t.DS&&t.CS?16:0):52+Uu(t)}function Hu(t,n){return Ue(t)&&n?16+4*Lu(t):0}function ju(t,n){return t.yBt&&n&&Ue(t)?16+8*t.tW.length:0}function Gu(t,n){return 20+(n?4*t.tW.length:0)}function zu(t,n){return 16+(n?4*t.tW.length:0)}function Ku(t,n){return Ue(t)?16+(n?8*t.tW.length:0):16+(n?8:0)}function qu(t){return 16+(t?12:0)}function Xu(t,n){return 8+Vu(t)+Hu(t,n)+ju(t,n)+Ku(t,n)+qu(n)+Gu(t,n)+zu(t,n)}function Yu(t,n){return 8+(Ue(t)?hu:su)+vu+Xu(t,n)}function $u(t,n,r){return 8+xu(t,n,r)+uu+Yu(t,n)}function Zu(t){var n=v.floor(Nu*t.duration||0),r=t.pBt;return n>v.pow(2,31)-1||r.rp(ve.bp(v.pow(2,31)-1,Nu))?1:0}function Ju(t,n){return n?1===Zu(t)?24+(t.pBt.Np()?20:40):24+(t.pBt.Np()?12:24):0}function Qu(t,n,r){return t&&0!==a.keys(t).length?8+Bu(t,n,r)+$u(t,n,r)+Ju(t,n):0}function to(t,n,r){var i=Vu(n),e=function(t){if(t===qi.ZBt)return Su;if(t===qi.ogt)return bu;if(t===qi.ugt||t===qi.CBt)return bu;throw new c("unknown codec "+t)}(n.mBt);t.th(i),t.sc(_u),t.th(0),t.th(1),t.th(i-16),t.sc(e),t.th(0),t.xh(0),t.xh(1),e===Su&&Ue(n)?(t.th(0),t.th(0),t.th(0),t.th(0),t.xh(n.width||0),t.xh(n.height||0),t.xh(72),t.xh(0),t.xh(72),t.xh(0),t.th(0),t.xh(1),t.sc([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.xh(24),t.sc([255,255]),t.th(8+n.mS.length),t.sc(du),t.sc(n.mS)):e===bu&&We(n)&&(t.th(0),t.th(0),t.xh(n.HBt),t.xh(16),t.xh(0),t.xh(0),t.xh(n.FBt),t.xh(0)),Ue(n)&&n.DS&&n.CS&&(t.th(16),t.sc(ku),t.th(n.DS),t.th(n.CS)),!Ue(n)&&n.VBt&&(t.th(Uu(n)),t.sc(wu),t.th(0),t.sc(n.VBt))}function no(t,n,r){var i=Ou(n,!0),e=r?n.tW.length:0;!function(t){var n=t.length;if(n){var r=(t=Pi(t,function(t,n){return function(t,n){return t.sp(n)}(t.TE.Kst,n.TE.Kst)}))[0].TE;r.GBt=ve.Tp;for(var i=1;i<n;i+=1){var e=t[i].TE,u=e.Kst._p(r.Kst);e.GBt=ve.$p(u,ve.Tp),r=e}}}(n.tW),t.th(e);for(var u=0;u<e;u+=1){var o=n.tW[u].TE.GBt;t.th(1),t.th(o.eb(i,se.Tb).Pp().toInt())}}function ro(t,n,r,i){var e=Xu(n,!!i);t.th(e),t.sc(lu),to(t,n),function(t,n,r){t.th(Ku(n,r)),t.sc(pu),t.th(0),Ue(n)?no(t,n,r):function(t,n,r){t.th(r?1:0),r&&(t.th(n.tW.length),t.th(n.UBt))}(t,n,r)}(t,n,!!i),function(t,n,r){if(Ue(n)&&r){var i=Hu(n,r);t.th(i),t.sc(yu),t.th(0),t.th(Lu(n));for(var e=0;e<n.tW.length;e+=1)n.tW[e].TE.tut&&t.th(e+1)}}(t,n,!!i),function(t,n,r){var i=Ou(n,!1);if(n.yBt&&r&&Ue(n)){Ve(n.tW);var e=ju(n,r);t.th(e),t.sc(ru),t.th(0),t.th(n.tW.length);for(var u=0,o=n.tW;u<o.length;u++){var f=o[u].TE.qBt;t.th(1),t.th(f.eb(i,se.Tb).Pp().toInt())}}}(t,n,!!i),function(t,n){t.th(qu(n)),t.sc(gu),t.th(0),t.th(n?1:0),n&&(t.th(1),t.th(1),t.th(1))}(t,!!i),function(t,n,r){var i=Gu(n,r);if(t.th(i),t.sc(mu),t.th(0),t.th(0),t.th(r?n.tW.length:0),r)for(var e=0,u=n.tW;e<u.length;e++){var o=u[e];t.th(o.Pw)}}(t,n,!!i),function(t,n,r){var i=zu(n,!!r);t.th(i),t.sc(Iu),t.th(0),t.th(r?n.tW.length:0),r&&t.sc(r)}(t,n,i)}function io(t,n,r,i){var e=Yu(n,!!i);t.th(e),t.sc(ou),Ue(n)?function(t){t.sc(cu)}(t):function(t){t.sc(fu)}(t),function(t){t.sc(au)}(t),ro(t,n,0,i)}function eo(t,n,r,i,e){var u=$u(n,!!i,e);t.th(u),t.sc(tu),function(t,n,r,i){var e=xu(n,r,i),u=Ou(n,!1),o=Du(ve.fb(n.duration,u),r,i);u=v.round(u),t.th(e),t.sc(nu),1===Mu(n,r,i)?(t.th(16777216),t.bh(G.ZERO),t.bh(G.ZERO),t.th(u),Do(t,o)):(t.th(0),t.th(0),t.th(0),t.th(u),Co(t,o)),t.sc([85,196]),t.sc([0,0])}(t,n,!!i,e),function(t,n){n?t.sc(iu):t.sc(eu)}(t,Ue(n)),io(t,n,0,i)}function uo(t,n){t.th(Ze),t.sc($e),t.th(0),t.th(n),t.th(1),t.th(0),t.th(0),t.th(0)}function oo(t,n,r,i,e){var u=Qu(n,!!r,e);n&&0!==u&&(t.th(u),t.sc(qe),function(t,n,r,i,e){var u=Du(ve.fb(n.duration,Nu),i,e,n.pBt),o=Bu(n,i,e),f=Ue(n);t.th(o),t.sc(Xe),1===Fu(n,i,e)?(t.th(16777231),t.bh(G.ZERO),t.bh(G.ZERO),t.th(r),t.th(0),Do(t,u)):(t.th(15),t.th(0),t.th(0),t.th(r),t.th(0),Co(t,u)),t.th(0),t.th(0),t.xh(0),t.xh(f?0:1),t.sc(f?[0,0]:Eu),t.sc([0,0]),t.sc(Tu),Ue(n)?(t.xh(n.width||0),t.xh(0),t.xh(n.height||0),t.xh(0)):(t.th(0),t.th(0))}(t,n,i,!!r,e),r&&function(t,n){var r=Ju(n,!0),i=v.floor(Nu*n.duration||0),e=Zu(n);t.th(r),t.sc(Je),t.th(r-8),t.sc(Qe),1===e?t.th(16777216):t.th(0),t.th(n.pBt.Np()?1:2),n.pBt.Np()||(1===e?(Do(t,n.pBt),t.sc([255,255,255,255,255,255,255,255])):(Co(t,n.pBt),t.sc([255,255,255,255])),t.xh(1),t.xh(0)),1===e?(t.bh(G.fromNumber(i)),t.bh(G.ZERO)):(t.th(i),t.th(0)),t.xh(1),t.xh(0)}(t,n),eo(t,n,0,r,e))}function fo(t,n,r){var i=Qu(t.video?t.video:void 0,n,r),e=Qu(t.audio?t.audio:void 0,n,r);return 8+Pu(t,n,r)+Wu(t,n)+i+e}function so(t,n,r,i,e){t.th(r),t.sc(ze),function(t,n,r,i){var e=Pu(n,r,i),u=n.video&&Du(ve.fb(n.video.duration,Nu),r,i,n.video.pBt)||ve.Tp,o=n.audio&&Du(ve.fb(n.audio.duration,Nu),r,i,n.audio.pBt)||ve.Tp,f=ve.$p(u,o);t.th(e),t.sc(Ke),1===Cu(n,r,i)?(t.th(16777216),t.bh(G.ZERO),t.bh(G.ZERO),t.th(Nu),Do(t,f)):(t.th(0),t.th(0),t.th(0),t.th(Nu),Co(t,f)),t.sc([0,1,0,0]),t.sc(Eu),t.sc([0,0,0,0,0,0,0,0,0,0]),t.sc(Tu),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(3)}(t,n,!!i,e),i||function(t,n){t.th(Wu(n,!1)),t.sc(Ye),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,i&&i.video,1,e),oo(t,n.audio?n.audio:void 0,i&&i.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],yo=24,po=[116,102,100,116],go=[116,114,117,110],mo=[115,100,116,112];function Io(t){return Ue(t)?20+16*t.tW.length:20+4*t.tW.length}function ko(t){return Ue(t)?12+t.tW.length:0}function So(t,n){var r=Ou(t,!0);return v.round(n*r)>v.pow(2,32)-1?1:0}function bo(t,n){return 1===So(t,n)?20:16}function Eo(t,n){return t&&t.tW?8+yo+bo(t,n)+Io(t)+ko(t):0}function To(t,n){var r=Eo(t.audio?t.audio:void 0,n),i=Eo(t.video?t.video:void 0,n);return 8+lo+r+i}function No(t){if(!t||!t.tW)return 0;for(var n=0,r=0,i=t.tW;r<i.length;r++){n+=i[r].Pw}return n}function Ro(t,n){return v.round(n*Nu)>v.pow(2,32)-1?1:0}function Oo(t,n,r,i){Ue(r)?function(t,n,r,i){var e=To(n,i)+8,u=Ou(r,!1);Ve(r.tW),t.th(Io(r)),t.sc(go),t.sc([1,0,15,1]),t.th(r.tW.length),t.th(e);for(var o=0,f=r.tW;o<f.length;o++){var s=f[o];t.th(v.round(s.TE.jg*u));var c=s.TE.qBt;t.th(s.Pw),t.sc(s.TE.tut?[2,0,0,0]:[0,1,0,0]),t.th(c.eb(u).Pp().toInt())}}(t,n,r,i):function(t,n,r,i){var e=No(n.video?n.video:void 0),u=To(n,i)+8+e;t.th(Io(r)),t.sc(go),t.sc([0,0,2,1]),t.th(r.tW.length),t.th(u);for(var o=0,f=r.tW;o<f.length;o++){var s=f[o];t.th(s.Pw)}}(t,n,r,i)}function Ao(t,n,r,i,e){r&&(t.th(Eo(r,e)),t.sc(_o),function(t,n,r){var i=Ou(n,!0),e=Ue(n)?v.round(i/(n.bBt.ep()||0)):n.UBt;t.th(yo),t.sc(wo),t.th(40),t.th(r),t.th(e),t.sc(Ue(n)?[0,1,0,0]:[2,0,0,0])}(t,r,i),function(t,n,r){var i=Ou(n,!0),e=v.round(r*i);t.th(bo(n,r)),t.sc(po),1===So(n,r)?(t.th(16777216),t.bh(G.fromNumber(e))):(t.th(0),t.th(e))}(t,r,e),Oo(t,n,r,e),function(t,n,r){if(Ue(r)){t.th(ko(r)),t.sc(mo),t.sc([0,0,0,0]);for(var i=0,e=r.tW;i<e.length;i++)e[i].TE.tut?t.nv(32):t.nv(16)}}(t,0,r))}function Do(t,n){t.bh(n.eb(Nu).Pp())}function Co(t,n){t.th(n.eb(Nu).Pp().toNumber())}var Po,Fo={iv:function(t,n){n.su(function(t){var n=0;return t.audio&&(n+=function(t){var n,r=t.length,i=0;for(n=0;n<r;n+=1)i+=t[n].Pw;return i}(t.audio.tW)),n}(t));for(var r=0,i=t.audio&&t.audio.tW||[],e=i.length;r<e;)n.mh(i[r]),r+=1}},Bo=function(){function t(t){this.Hi=void 0,this.xd=void 0,this.sv=0,this.xd=t}var n=t.prototype;return n.cv=function(t,n,r){var i=this.sv,e=this.Hi;for(n=n||0,r=r||t.length;n<r;n+=1,i+=1)e[i]=t[n];this.sv=i},n.su=function(t){this.Hi=new w(t),this.sv=0},n.nv=function(t){this.Hi&&(this.Hi[this.sv]=t,this.sv+=1)},n.sc=function(t,n,r){this.Hi&&this.cv(t,n,r)},n.mh=function(t){this.sv=t.vst(this.Hi,this.sv)},n.Sb=function(t){return t(this.Hi,this.xd)},n.xh=function(t){return this.sc([(n=t)>>>8&255,255&n]);var n},n.th=function(t){return this.sc($i(t))},n.bh=function(t){var n=t.toUnsigned();this.th(n.high),this.th(n.low)},t}(),Mo=t;function xo(t,n){return void 0===Po&&(Po=function(){var t=new w(1);try{return Mo.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Po?Mo.postMessage(t,n):Mo.postMessage(t)}var Lo,Wo,Uo,Vo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ho=16383;function jo(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],Vo[i>>2]+Vo[(3&i)<<4|e>>4]+Vo[(15&e)<<2|u>>6]+Vo[63&u]));return o.join("")}function Go(t){for(var n=t.length,r=n%3,i=[],e=n-r,u=0;u<e;u+=Ho)i.push(jo(t,u,v.min(e,u+Ho)));if(1===r){var o=t[n-1];i.push(Vo[o>>2]+Vo[(3&o)<<4]+"==")}else if(2===r){var f=t[n-2],s=t[n-1];i.push(Vo[f>>2]+Vo[(3&f)<<4|s>>4]+Vo[(15&s)<<2]+"=")}return i.join("")}function zo(t){return{ZA:t.ZA,TE:{U$:t.TE.U$,HK:le(t.TE.Yst)},tW:t.tW}}function Ko(t){return{HK:le(t.HK),VS:t.VS,CK:t.CK,DK:t.DK,us:t.us,sY:t.sY,PK:t.PK,BK:t.BK}}function qo(t){return{dBt:t.dBt,tW:[],mBt:t.mBt,yBt:t.yBt,duration:t.duration,kBt:t.kBt,pBt:le(t.pBt),Wst:t.Wst,bBt:le(t.bBt),ABt:t.ABt,TBt:le(t.TBt),SBt:le(t.SBt),EBt:le(t.EBt),IBt:le(t.IBt),RBt:le(t.RBt),NBt:le(t.NBt),DBt:le(t.DBt)}}function Xo(t){switch(t.mBt){case qi.ugt:case qi.CBt:return function(t){return vi({},Yo(t),{mBt:t.mBt,tW:t.tW.map(function(t){return function(t){var n=$o(t),r=(i=n.TE,vi({},Jo(i),{PBt:i.PBt,OBt:i.OBt,BBt:i.BBt}));var i;return n.Bu(r)}(t)}),TCt:t.TCt,LBt:t.LBt})}(t);case qi.ogt:return function(t){return vi({},Yo(t),{mBt:t.mBt,tW:t.tW.map(function(t){return function(t){var n=$o(t),r=(i=n.TE,vi({},Jo(i),{iT:i.iT,PT:i.PT,MBt:i.MBt,rgt:i.rgt,xBt:i.xBt}));var i;return n.Bu(r)}(t)})})}(t)}}function Yo(t){return vi({},qo(t),{tW:[],mBt:t.mBt,FBt:t.FBt,UBt:t.UBt,HBt:t.HBt,VBt:t.VBt})}function $o(t){var n=new te;return n.ust(t.XBt,0,t.zBt),n.TE=t.WBt,n}function Zo(t){var n;return vi({},{U$:(n=t).U$,Yst:le(n.Yst)},{jst:le(t.jst),Kst:le(t.Kst)})}function Jo(t){return vi({},Zo(t))}!function(t){t.ogt="rFt",t.Rg="sFt",t.uFt="oFt",t.hFt="aFt",t.cFt="fFt"}(Lo||(Lo={})),function(t){t.vFt="dFt",t.lFt="_Ft"}(Wo||(Wo={})),function(t){t.wFt="audio/mp4",t.gFt="audio/mpeg",t.mFt="video/mp4"}(Uo||(Uo={}));var Qo=t;function tf(t,n,r){n={},r||(r="PIW0031"),Qo.postMessage({sUt:"fUt",uUt:t,hUt:n.message||r,av:n.name,lv:n.stack,dv:JSON.stringify(n)})}function nf(t,n){return{Hi:Go(t),xd:n}}Qo.addEventListener("message",function(t){var n,r,i,e,u=t.data,o=u.MFt,f=u.HFt,s=u.FFt,c=[],h=f===Wo.vFt?function(t,n,r){return t.push(n.buffer),{Hi:n,xd:r}}.bind(void 0,c):nf;if("xFt"===o){i=function(t){return{audio:t.audio?Xo(t.audio):void 0,video:t.video?(r=t.video,i=qo(r),vi({},i,{mBt:r.mBt,tW:r.tW.map(function(t){return function(t){var n,r=$o(t),i=vi({},Zo(n=r.TE),{jg:n.jg,Zst:le(n.Zst),Jst:n.Jst,$st:n.$st,qBt:n.qBt&&le(n.qBt),GBt:n.GBt&&le(n.GBt),tut:n.tut,eut:n.eut,nut:n.nut,iut:n.iut});return r.Bu(i)}(t)}),QBt:r.QBt,YBt:r.YBt,mS:r.mS,width:r.width,height:r.height,mat:r.mat,jBt:r.jBt,pat:r.pat,mCt:r.mCt,yCt:r.yCt,DS:r.DS,CS:r.CS})):void 0,vBt:t.vBt?(n=t.vBt,{dBt:n.dBt,ZCt:n.ZCt,$w:n.$w,bwt:n.bwt,lBt:n.lBt,_Bt:n._Bt,wBt:n.wBt.map(zo),ag:[]}):void 0,nut:t.nut?t.nut.map(Ko):t.nut,gBt:le(t.gBt)};var n,r,i}(u.XFt),u.XFt=void 0;try{if((e=u.UFt)===Lo.cFt||e===Lo.hFt||e===Lo.uFt)n=function(t,n){var r=t.VFt,i=t.zFt,e=le(t.qFt),u=le(t.GFt),o=t.WFt&&le(t.WFt);switch(t.UFt){case Lo.uFt:var f=new Bo(r);return Le(n,i,e,u,f),f;case Lo.hFt:var s=new Bo(r);return xe(n,o,s),s;case Lo.cFt:var c={_Et:new Bo(r),gUt:new Bo(r),Sb:function(t){return{_Et:c._Et.Sb(t),gUt:c.gUt.Sb(t)}}};return xe(n,o,c._Et),Le(n,i,e,u,c.gUt),c}}(u,i);else{if(!function(t){var n=t.UFt;return n===Lo.Rg||n===Lo.ogt}(u))return tf(s,{},"PIW0072");n=function(t,n){var r=t.VFt;switch(t.UFt){case Lo.ogt:var i=new Bo(r);return Fo.iv(n,i),i;case Lo.Rg:var e=new Bo(r);return Me(n,e),e}}(u,i)}}catch(t){return tf(s,t,"PIW0082")}try{r=n.Sb(h)}catch(t){return tf(s,t,"PIW0077")}try{return xo({sUt:"aUt",uUt:s,oUt:r},c)}catch(t){return tf(s,t,"PIW0078")}}return tf(s,{},"PIW0090")},!1),Qo.postMessage({vNt:"3.4.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
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,f=t.setInterval,s=t.clearInterval,c=t.Error,h=t.TypeError,a=(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 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 p(t,n,i){return n&&y(t.prototype,n),i&&y(t,i),a.defineProperty(t,"prototype",{writable:!1}),t}function g(t,n){return(g=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,g(t,n)}!function(t){t.l="web",t.g="android",t.R="android-tv",t.N="ios",t.M="tvos",t.F="chromecast"}(n||(n={}));var I=e?e.userAgent:"",k=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),b=I.match(/Android ([0-9\.]+)/i),E=I.match(/Windows NT ([0-9\.]+)/i),T=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),R=I.match(/Firefox\/([0-9\.]+)/i),N=I.match(/OPR\/(\d+\.\d+)/i),A=I.match(/Tizen ([0-9\.]+)/i),D=function(){function i(){this.U=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.V=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.q=/Windows NT/i.test(I),this.G=E?_(E[1]):0,this.Y=/Android/i.test(I),this.j=b?_(b[1]):0,this.K=/windows phone (8|8\.1)/i.test(I),this.Z=/iPhone/i.test(I),this.J=/iPad/i.test(I),this.nt=this.V&&this.U&&!this.J,this.ut=/iPod/i.test(I),this.ot=/Mobile Safari/i.test(I),this.ct=/EOSSTB/i.test(I),this.ft=(this.Z||this.J||this.nt||this.ut)&&!this.K,this.vt=this.K||this.ft||this.Y||this.ot,this.dt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.dt,this.wt=this._t&&/Edg\//i.test(e.userAgent),this.yt=S?l(S[1],10):0,this.kt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.bt=k?l(k[1],10):0,this.At=/SMART-TV.*Tizen/i.test(I),this.Tt=A?_(A[1]):0,this.St=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.It=/Trident/i.test(I),this.Rt=this.It&&!t.ActiveXObject&&"ActiveXObject"in t,this.Nt=/Vivaldi/i.test(I),this.Dt=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ct=R?_(R[1]):0,this.Pt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.K&&!this.At,this.Ot=T?_(T[2]):0,this.Bt=Boolean(N),this.Lt=N?_(N[1]):0,this.Mt=/CrKey/.test(I),this.xt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Ft="web"===n.R,this.Ut="web"===n.g,this.Ht=this.Ut||this.Ft,this.Vt="web"===n.N,this.Xt="web"===n.M,this.zt="web"===n.F}return p(i,[{key:"Wt",get:function(){return this.U}},{key:"qt",get:function(){return this.V}},{key:"Gt",get:function(){return this.q}},{key:"Qt",get:function(){return this.G}},{key:"Yt",get:function(){return this.Y}},{key:"jt",get:function(){return this.j}},{key:"Kt",get:function(){return this.K}},{key:"Zt",get:function(){return this.Z}},{key:"Jt",get:function(){return this.J}},{key:"$t",get:function(){return this.nt}},{key:"in",get:function(){return this.ut}},{key:"un",get:function(){return this.ft}},{key:"hn",get:function(){return this.ct}},{key:"cn",get:function(){return this.ot}},{key:"fn",get:function(){return this.vt}},{key:"vn",get:function(){return this.dt}},{key:"dn",get:function(){return this._t}},{key:"_n",get:function(){return this.bt}},{key:"wn",get:function(){return this.wt}},{key:"yn",get:function(){return this.yt}},{key:"pn",get:function(){return this.At}},{key:"An",get:function(){return this.Tt}},{key:"Tn",get:function(){return this.St}},{key:"Sn",get:function(){return this.Et}},{key:"En",get:function(){return this.It}},{key:"In",get:function(){return this.Rt}},{key:"Rn",get:function(){return this.Nt}},{key:"Nn",get:function(){return this.Dt}},{key:"Dn",get:function(){return this.Ct}},{key:"Cn",get:function(){return this.Pt}},{key:"Pn",get:function(){return this.Ot}},{key:"On",get:function(){return this.Bt}},{key:"Bn",get:function(){return this.Lt}},{key:"Ln",get:function(){return this.Mt}},{key:"Mn",get:function(){return this.xt}},{key:"xn",get:function(){if(!(this.Tn||this.pn))return!1;var t=this._n;return void 0===t||Number(t)<56}},{key:"Fn",get:function(){return this.Ft}},{key:"Un",get:function(){return this.Ut}},{key:"Hn",get:function(){return this.Ht}},{key:"Vn",get:function(){return this.Vt}},{key:"Xn",get:function(){return this.Xt}},{key:"zn",get:function(){return this.zt}},{key:"Wn",get:function(){return this.kt}}]),i}();D.qn=new D;var O=D.qn;var C=function(){},P=!(O.En&&!O.In),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,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];F[t](M(i))}: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,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];F.assert(t,M(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];V.apply(void 0,["Assertion failed:"].concat(i))}},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 j(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function z(t){return!0===(t&&t.Yn)}function K(t){var n=v.clz32(t&-t);return t?31-n:n}j.prototype.Yn,a.defineProperty(j.prototype,"Yn",{value:!0}),j.isLong=z;var q={},X={};function Y(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=X[t])?r:(i=Z(t,0,!0),e&&(X[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=q[t])?r:(i=Z(t,t<0?-1:0,!1),e&&(q[t]=i),i)}function $(t,n){if(d(t))return n?ot:ut;if(n){if(t<0)return ot;if(t>=it)return at}else{if(t<=-rt)return vt;if(t+1>=rt)return ht}return t<0?$(-t,n).neg():Z(t%nt|0,t/nt|0,n)}function Z(t,n,i){return new j(t,n,i)}j.fromInt=Y,j.fromNumber=$,j.fromBits=Z;var J=v.pow;function Q(t,n,i){if(0===t.length)throw c("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?ot:ut;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return Q(t.substring(1),n,i).neg();for(var e=$(J(i,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),i);if(f<8){var h=$(J(i,f));u=u.mul(h).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)}j.fromString=Q,j.fromValue=tt;var nt=4294967296,it=nt*nt,rt=it/2,et=Y(1<<24),ut=Y(0);j.ZERO=ut;var ot=Y(0,!0);j.UZERO=ot;var ft=Y(1);j.ONE=ft;var st=Y(1,!0);j.UONE=st;var ct=Y(-1);j.NEG_ONE=ct;var ht=Z(-1,2147483647,!1);j.MAX_VALUE=ht;var at=Z(-1,-1,!0);j.MAX_UNSIGNED_VALUE=at;var vt=Z(0,-2147483648,!1);j.MIN_VALUE=vt;var lt=j.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),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=$(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 z(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(z(t)||(t=tt(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},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){z(t)||(t=tt(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,f=t.low>>>16,s=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+f)>>>16,s+=(c+=i+o)>>>16,s+=n+u,Z((h&=65535)<<16|(a&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},lt.subtract=function(t){return z(t)||(t=tt(t)),this.add(t.neg())},lt.sub=lt.subtract,lt.multiply=function(t){if(this.isZero())return this;if(z(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 this.unsigned?ot: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,i=65535&this.high,r=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,h=0,a=0,v=0;return a+=(v+=e*s)>>>16,h+=(a+=r*s)>>>16,a&=65535,h+=(a+=e*f)>>>16,c+=(h+=i*s)>>>16,h&=65535,c+=(h+=r*f)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*s+i*f+r*o+e*u,Z((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},lt.mul=lt.multiply,lt.divide=function(t){if(z(t)||(t=tt(t)),t.isZero())throw c("division by zero");var n,i,r;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;r=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:(i=this.sub(t.mul(n)),r=n.add(i.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();r=ut}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:J(2,e-48),o=$(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=$(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=ft),r=r.add(o),i=i.sub(f)}return r},lt.div=lt.divide,lt.modulo=function(t){return z(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.countLeadingZeros=function(){return this.high?v.clz32(this.high):v.clz32(this.low)+32},lt.clz=lt.countLeadingZeros,lt.countTrailingZeros=function(){return this.low?K(this.low):K(this.high)+32},lt.ctz=lt.countTrailingZeros,lt.and=function(t){return z(t)||(t=tt(t)),Z(this.low&t.low,this.high&t.high,this.unsigned)},lt.or=function(t){return z(t)||(t=tt(t)),Z(this.low|t.low,this.high|t.high,this.unsigned)},lt.xor=function(t){return z(t)||(t=tt(t)),Z(this.low^t.low,this.high^t.high,this.unsigned)},lt.shiftLeft=function(t){return z(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 z(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){return z(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Z(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Z(32===t?this.high:this.high>>>t-32,0,this.unsigned)},lt.shru=lt.shiftRightUnsigned,lt.shr_u=lt.shiftRightUnsigned,lt.rotateLeft=function(t){var n;return z(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Z(this.high,this.low,this.unsigned):t<32?(n=32-t,Z(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Z(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},lt.rotl=lt.rotateLeft,lt.rotateRight=function(t){var n;return z(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Z(this.high,this.low,this.unsigned):t<32?(n=32-t,Z(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Z(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},lt.rotr=lt.rotateRight,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]},j.fromBytes=function(t,n,i){return i?j.fromBytesLE(t,n):j.fromBytesBE(t,n)},j.fromBytesLE=function(t,n){return new j(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},j.fromBytesBE=function(t,n){return new j(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=v.pow(2,-52);function dt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function wt(){return Date.now()||(new Date).getTime()}var yt;j.fromNumber(9007199254740991),function(t){t[t.Kn=1]="Kn",t[t.Jn=2]="Jn",t[t.Zn=3]="Zn",t[t.$n=4]="$n",t[t.ni=9]="ni"}(yt||(yt={}));var pt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(pt.prototype=a.create(c.prototype)).constructor=pt;var gt=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 m(n,t),p(n,[{key:"name",get:function(){return"BaseError"}}]),n}(pt),mt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return m(n,t),n}(gt),It=function(){function t(){}return t.prototype.ei=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new mt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new mt;return new Nt(n)},t}(),kt=function(){function t(t){this.ri=void 0,this.ri=t}var n=t.prototype;return n.oi=function(t){return this.ri.isEqualNode(t.ri)},n.ai=function(n){return new t(this.ri.cloneNode(n))},p(t,[{key:"jn",get:function(){return yt.Jn}},{key:"ci",get:function(){var t;return null!=(t=this.ri.localName)?t:Ot(this.ri.nodeName)}},{key:"di",get:function(){return this.ri.nodeName}},{key:"_i",get:function(){var t;return null!=(t=this.ri.namespaceURI)?t:void 0}},{key:"gi",get:function(){var t;return null!=(t=this.ri.prefix)?t:void 0}},{key:"wi",get:function(){return this.ri.nodeValue}}]),t}(),St=function(){function t(t){this.Ai=void 0,this.Ti=void 0,this.Ai=t}var n=t.prototype;return n.Si=function(t){return this.Ei.filter(function(n){return At(n)&&n.Ii===t})},n.Ri=function(t,n){return this.Ei.filter(function(i){return At(i)&&i.ci===n&&i._i===t})},n.Ni=function(t){this.Ai.appendChild(t.Di),this.Ti&&this.Ti.push(t)},n.oi=function(t){return this.Ai.isEqualNode(t.Di)},p(t,[{key:"Ei",get:function(){return void 0===this.Ti&&(this.Ti=function(t){for(var n=[],i=0;i<t.length;i++){var r=Dt(t.item(i));r&&n.push(r)}return n}(this.Ai.childNodes)),this.Ti}},{key:"Ci",get:function(){return this.Ei.filter(At)}},{key:"Di",get:function(){return this.Ai}}]),t}(),bt=function(t){function n(n){return t.call(this,n)||this}m(n,t);var i=n.prototype;return i.Pi=function(t){if(this.Ai.hasAttribute(t))return this.Ai.getAttribute(t)},i.Oi=function(t,n){if(this.Ai.hasAttributeNS(t,n))return this.Ai.getAttributeNS(t,n)},i.Bi=function(t){this.Ai.removeAttribute(t)},i.Li=function(t,n){this.Ai.removeAttributeNS(t,n)},i.Mi=function(t,n){this.Ai.setAttribute(t,n)},i.xi=function(t,n,i){this.Ai.setAttributeNS(t,n,i)},i.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return yt.Kn}},{key:"ci",get:function(){var t;return null!=(t=this.Ai.localName)?t:Ot(this.Ai.nodeName)}},{key:"_i",get:function(){var t;return null!=(t=this.Ai.namespaceURI)?t:void 0}},{key:"gi",get:function(){var t;return null!=(t=this.Ai.prefix)?t:void 0}},{key:"Ii",get:function(){return this.Ai.nodeName}},{key:"Fi",get:function(){return function(t){for(var n=[],i=0;i<t.length;i++)n.push(new kt(t.item(i)));return n}(this.Ai.attributes)}},{key:"Ui",get:function(){return this.Ai.textContent}}]),n}(St),Et=function(){function t(t){this.Ai=void 0,this.Ai=t}return t.prototype.oi=function(t){return this.Hi===t.Hi},p(t,[{key:"Hi",get:function(){return this.Ai.nodeValue}},{key:"Di",get:function(){return this.Ai}}]),t}(),Tt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return yt.Zn}}]),n}(Et),Rt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return yt.$n}}]),n}(Et),Nt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ai=function(t){return new n(this.Ai.cloneNode(t))},p(n,[{key:"jn",get:function(){return yt.ni}},{key:"Vi",get:function(){return new bt(this.Ai.documentElement)}}]),n}(St);function At(t){return function(t){return t.jn===yt.Kn}(t)}function Dt(t){switch(t.nodeType){case yt.Kn:return new bt(t);case yt.Zn:return new Tt(t);case yt.$n:return new Rt(t)}}function Ot(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Ct(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 Pt(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){Ft(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Ft(i,null,t.length,t),t}function Ft(t,n,i,r){var e,u,o,f,s,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),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<u)r[h++]=t[f++];else{if(!(s<o))break;r[h++]=t[s++]}}var Bt=/[a-zA-Z]/,Mt=/[0-9]/,xt=/[0-9a-fA-F]/,Lt=/^0x/i,Wt=/^[0-9]+$/,Ut=/^[0-9a-fA-F]+$/,Vt=/^[0-7]+$/,Ht=a.prototype.toString,Gt=Array.isArray||function(t){return"[object Array]"===Ht.call(t)},jt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function zt(t){return Gt(t)?t:Array.from(t)}function Kt(t){return t>=65&&t<=90}function qt(t){return Kt(t)||function(t){return t>=97&&t<=122}(t)}function Xt(t){return t>=48&&t<=57}function Yt(t){return Xt(t)||qt(t)}function $t(t){return Xt(t)||t>=65&&t<=70||t>=97&&t<=102}function Zt(t){return Kt(t)?t+32:t}function Jt(t){return Xt(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function Qt(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var tn=v.min,nn=String.fromCharCode,rn=16384;function en(t){for(var n=t.length,i=[],r=0;r<n;r+=rn){var e=tn(r+rn,n);i.push(nn.apply(null,t.slice(r,e)))}return i.join("")}var un=/[^\0-\x7E]/,on=/[\x2E\u3002\uFF0E\uFF61]/g,fn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},sn=v.floor,cn=String.fromCharCode;function hn(t){throw new RangeError(fn[t])}function an(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 vn,ln,_n,dn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},wn=function(t,n,i){var r=0;for(t=i?sn(t/700):t>>1,t+=sn(t/n);t>455;r+=36)t=sn(t/35);return sn(r+36*t/(t+38))},yn=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(on,".")).split("."),n).join(".");return r+e}(t,function(t){return un.test(t)?"xn--"+function(t){for(var n=[],i=(t=an(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(cn(s))}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 _=l[v];_>=r&&_<a&&(a=_)}var d=h+1;a-r>sn((2147483647-e)/d)&&hn("overflow"),e+=(a-r)*d,r=a;for(var w=0,y=t;w<y.length;w++){var p=y[w];if(p<r&&++e>2147483647&&hn("overflow"),p==r){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(cn(dn(I+k%S,0))),g=sn(k/S)}n.push(cn(dn(g,0))),u=wn(e,d,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function pn(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 en(n)}function gn(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function mn(t,n){return t>>n&63|128}function In(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(gn(t),n.push(t>>12&15|224),n.push(mn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(mn(t,12)),n.push(mn(t,6))),n.push(63&t|128)):n.push(t)}function kn(t){for(var n=[],i=0;i<t.length;i++){In(t[i],n)}return n}function Sn(){if(_n>=ln)throw new c("Invalid byte index");var t=255&vn[_n];if(_n++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function bn(){var t,n;if(_n>ln)throw new c("Invalid byte index");if(_n===ln)return!1;if(t=255&vn[_n],_n++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Sn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Sn()<<6|Sn())>=2048)return gn(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Sn()<<12|Sn()<<6|Sn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function En(t){return[37,Qt(t>>4),Qt(15&t)]}function Tn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Rn(t){return Tn(t)||32===t||34===t||60===t||62===t||96===t}function Nn(t){return Rn(t)||35===t||63===t||123===t||125===t}function An(t){return Nn(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 On(t){return Dn(t)||39===t}function Cn(t,n){if(!n(t))return[t];for(var i=kn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,En(u))}return r}function Pn(t,n){for(var i=[],r=0,e=an(t);r<e.length;r++){var u=e[r];i.push.apply(i,Cn(u,n))}return pn(i)}function Fn(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&&$t(t[r+1])&&$t(t[r+2])){var u=Jt(t[r+1])<<4|Jt(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(kn(t))}function Bn(t){return pn(function(t){vn=t.slice(),ln=vn.length,_n=0;for(var n,i=[];!1!==(n=bn());)i.push(n);return i}(Fn(an(t))))}function Mn(t){var n,i,r,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 h;c+=2,s=f+=1}for(;c<u;){if(8===f)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&xt.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,f>6)throw new h;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new h;c+=1}if(!Mt.test(t[c]))throw new h;for(;c<u&&Mt.test(t[c]);){var w=l(t[c],10);if(null===d)d=w;else{if(0===d)throw new h;if((d=10*d+w)>255)throw new h}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[f]=a,f+=1}else{if(null!==s)throw new h("Too many :: groups");c+=1,s=f+=1}}if(null!==s){var y=f-s;for(f=7;0!==f&&y>0;)r=s+y-1,e=void 0,e=(n=o)[i=f],n[i]=n[r],n[r]=e,f-=1,y-=1}else if(8!==f)throw new h;return o}function xn(t){var n=10,i=Wt;return Lt.test(t)?(t=t.slice(2),n=16,i=Ut):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Vt),""===t?0:i.test(t)?l(t,n):void 0}var Ln={Xi:4},Wn=/[\0\t\n\r #%/:?@\[\\\]]/,Un=/[\0\t\n\r #/:?@\[\\\]]/;function Vn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{Xi:2,zi:Mn(t.slice(1,-1))}}if(!n)return function(t){if(Un.test(t))throw new h("Invalid code point in opaque host");var n=Pn(t,Tn);return""===n?Ln:{Xi:3,Wi:n}}(t);var i=function(t){return function(t){return yn(t.toLowerCase())}(t)}(Bn(t));if(Wn.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=xn(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 f=i.pop(),s=0;s<i.length;s++)f+=i[s]*v.pow(256,3-s);return f}}(i);return void 0!==r?{Xi:1,zi:r}:""===i?Ln:{Xi:0,qi:i}}function Hn(t){switch(t.Xi){case 0:return t.qi;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.zi);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.zi)+"]";case 3:return t.Wi;case 4:return""}}var Gn=/\+/g;function jn(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,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=Bn(o),c=Bn(f);i.push([s,c])}}return i}function zn(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=Kn(kn(an(r[0])))+"="+Kn(kn(an(r[1])))}return n}function Kn(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||Yt(n)?i.push(e):i.push.apply(i,En(e))}return en(i)}var qn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Xn(t){var n=""+t,i=qn.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if($n(u))if(Zn(u)||e===i-1)r.push(Yn);else{var o=t.charCodeAt(e+1);Zn(o)?(r.push(u,o),e++):r.push(Yn)}else r.push(u)}return t.slice(0,n)+en(r)}(n,i.index):n}var Yn=65533,$n=function(t){return 55296==(63488&t)},Zn=function(t){return 0!=(1024&t)};function Jn(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function Qn(t){t.Gi.length=0}function ti(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Gi,jn(n))}function ni(t){if(t.Qi){var n=zn(t.Gi);""===n&&(n=null),t.Qi.Qi.Yi=n}}function ii(t){return t instanceof ri&&(!!Gt(t.Gi)&&(!jt||t[Symbol.iterator]===ei))}var ri=function(){function t(t){if(void 0===t&&(t=void 0),this.Qi=null,null==t)this.Gi=[];else if("object"==typeof t||"function"==typeof t)if(ii(t))this.Gi=t.Gi.slice();else if(null!=(u=t)&&(Gt(u)||jt&&"function"==typeof u[Symbol.iterator])){this.Gi=[];for(var n=0,i=zt(t);n<i.length;n++){var r=zt(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.Gi.push([Xn(r[0]),Xn(r[1])])}}else for(var e in this.Gi=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.Gi.push([Xn(e),Xn(t[e])]);else(t=Xn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Gi=jn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Xn(t),n=Xn(n),this.Gi.push([t,n]),ni(this)},n.delete=function(t){t=Xn(t);for(var n=this.Gi,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}ni(this)},n.get=function(t){t=Xn(t);for(var n=this.Gi,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=Xn(t);for(var n=this.Gi,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=Xn(t);for(var n=this.Gi,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=Xn(t),n=Xn(n);for(var i=this.Gi,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]),ni(this)},n.sort=function(){Pt(this.Gi,Jn),ni(this)},n.toString=function(){return zn(this.Gi)},n.entries=function(){return new si(this.Gi,ui)},n.keys=function(){return new si(this.Gi,oi)},n.values=function(){return new si(this.Gi,fi)},n.forEach=function(t){var n=this;this.Gi.forEach(function(i){return t(i[1],i[0],n)})},t}(),ei=ri.prototype.entries;jt&&(ri.prototype[Symbol.iterator]=ei);var ui=function(t){return[t[0],t[1]]},oi=function(t){return t[0]},fi=function(t){return t[1]},si=function(){function t(t,n){this.ji=0,this.Gi=t,this.Ki=n}return t.prototype.next=function(){return this.ji<this.Gi.length?{done:!1,value:this.Ki(this.Gi[this.ji++])}:{done:!0,value:void 0}},t}(),ci="null";var hi=a.create(null);hi.ftp=21,hi.file=0,hi.gopher=70,hi.http=80,hi.https=443,hi.ws=80,hi.wss=443;var ai=/^(?:\.|%2e)$/i,vi=/^(?:\.|%2e){2}$/i;function li(t){return ai.test(t)}function _i(t){return vi.test(t)}function di(t){return void 0!==hi[t]}function wi(t){return di(t.Zi)}function yi(t){return""!==t.Ji||""!==t.$i}function pi(t){var n=t.length;if(!(n>=2))return!1;if(!mi(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 gi(t){return 2===t.length&&Bt.test(t[0])&&(":"===t[1]||"|"===t[1])}function mi(t){return 2===t.length&&gi(en(t))}function Ii(t){return gi(t)&&":"===t[1]}function ki(t){var n=t.re;0!==n.length&&("file"===t.Zi&&1===n.length&&Ii(n[0])||n.pop())}function Si(t){return null===t.ue||Ln===t.ue||t.oe||"file"===t.Zi}var bi=-1,Ei=/\t|\n|\r/g,Ti=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Ri(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ai,t=t.replace(Ti,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=an(t=t.replace(Ei,"")),a=c.length,v=0;v<=a;){var _=v<a?c[v]:bi;switch(e){case 0:if(!qt(_)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(Zt(_)),e=1;break;case 1:if(Yt(_)||43===_||45===_||46===_)u.push(Zt(_));else{if(58!==_){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var d=pn(u);if(null!==r){if(di(i.Zi)&&!di(d))return;if(!di(i.Zi)&&di(d))return;if((yi(i)||null!==i.fe)&&"file"===d)return;if("file"===i.Zi&&(i.ue===Ln||null===i.ue))return}if(i.Zi=d,null!==r)return void(wi(i)&&i.fe===hi[i.Zi]&&(i.fe=null));u.length=0,"file"===i.Zi?e=13:wi(i)&&n&&n.Zi===i.Zi?e=3:wi(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.oe=!0,i.re.push(""),e=18)}break;case 2:if(!n||n.oe&&35!==_)throw new h("Invalid scheme");n.oe&&35===_?(i.Zi=n.Zi,i.re=n.re.slice(),i.Yi=n.Yi,i._e="",i.oe=!0,e=20):"file"!==n.Zi?(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:i.Zi=n.Zi,bi===_?(i.Ji=n.Ji,i.$i=n.$i,i.ue=n.ue,i.fe=n.fe,i.re=n.re.slice(),i.Yi=n.Yi):47===_?e=6:63===_?(i.Ji=n.Ji,i.$i=n.$i,i.ue=n.ue,i.fe=n.fe,i.re=n.re.slice(),i.Yi="",e=19):35===_?(i.Ji=n.Ji,i.$i=n.$i,i.ue=n.ue,i.fe=n.fe,i.re=n.re.slice(),i.Yi=n.Yi,i._e="",e=20):92===_&&wi(i)?e=6:(i.Ji=n.Ji,i.$i=n.$i,i.ue=n.ue,i.fe=n.fe,i.re=n.re.slice(),i.re.pop(),e=17,v-=1);break;case 6:!wi(i)||47!==_&&92!==_?47===_?e=9:(i.Ji=n.Ji,i.$i=n.$i,i.ue=n.ue,i.fe=n.fe,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=pn(Cn(y,An));s?i.$i+=p:i.Ji+=p}else s=!0}u.length=0}else if(bi===_||47===_||63===_||35===_||wi(i)&&92===_){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==r&&"file"===i.Zi)v-=1,e=15;else if(58!==_||f)if(bi===_||47===_||63===_||35===_||wi(i)&&92===_){if(v-=1,wi(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(yi(i)||null!==i.fe))return;var g=Vn(pn(u),wi(i));if(i.ue=g,u.length=0,e=16,null!==r)return}else 91===_?f=!0:93===_&&(f=!1),u.push(_);else{if(0===u.length)throw new h("Invalid host");var m=Vn(pn(u),wi(i));if(i.ue=m,u.length=0,e=12,11===r)return}break;case 12:if(Xt(_))u.push(_);else{if(!(bi===_||47===_||63===_||35===_||wi(i)&&92===_||null!==r))throw new h("Invalid port");if(0!==u.length){var I=l(pn(u),10);if(I>65535)throw new h("Invalid port");i.fe=I===hi[i.Zi]?null:I,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Zi="file",47===_||92===_?e=14:n&&"file"===n.Zi?bi===_?(i.ue=n.ue,i.re=n.re.slice(),i.Yi=n.Yi):63===_?(i.ue=n.ue,i.re=n.re.slice(),i.Yi="",e=19):35===_?(i.ue=n.ue,i.re=n.re.slice(),i.Yi=n.Yi,i._e="",e=20):(pi(c.slice(v))||(i.ue=n.ue,i.re=n.re.slice(),ki(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Zi&&!pi(c.slice(v))&&(Ii(n.re[0])?i.re.push(n.re[0]):i.ue=n.ue),e=17,v-=1);break;case 15:if(bi===_||47===_||92===_||63===_||35===_)if(v-=1,null===r&&mi(u))e=17;else if(0===u.length){if(i.ue=Ln,null!==r)return;e=16}else{var k=Vn(pn(u),wi(i));if(0===k.Xi&&"localhost"===k.qi&&(k=Ln),i.ue=k,null!==r)return;u.length=0,e=16}else u.push(_);break;case 16:wi(i)?(e=17,47!==_&&92!==_&&(v-=1)):null===r&&63===_?(i.Yi="",e=19):null===r&&35===_?(i._e="",e=20):bi!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(bi===_||47===_||wi(i)&&92===_||null===r&&(63===_||35===_)){var S=pn(u);if(_i(S)?(ki(i),47===_||wi(i)&&92===_||i.re.push("")):!li(S)||47===_||wi(i)&&92===_?li(S)||("file"===i.Zi&&0===i.re.length&&mi(u)&&(Ln!==i.ue&&null!==i.ue&&(i.ue=Ln),u[1]=58,S=pn(u)),i.re.push(S)):i.re.push(""),u.length=0,"file"===i.Zi&&(bi===_||63===_||35===_))for(;i.re.length>1&&""===i.re[0];)i.re.shift();63===_?(i.Yi="",e=19):35===_&&(i._e="",e=20)}else u.push.apply(u,Cn(_,Nn));break;case 18:63===_?(i.Yi="",e=19):35===_?(i._e="",e=20):bi!==_&&(i.re[0]+=pn(Cn(_,Tn)));break;case 19:null===r&&35===_?(i._e="",e=20):bi!==_&&(i.Yi+=pn(Cn(_,wi(i)?On:Dn)));break;case 20:bi===_||0===_||(i._e+=pn(Cn(_,Rn)))}v++}return i}function Ni(t,n,i,r){try{Ri(t,n,i,r)}catch(t){}}var Ai=function(){this.Zi="",this.Ji="",this.$i="",this.ue=null,this.fe=null,this.re=[],this.Yi=null,this._e=null,this.oe=!1};function Di(t){switch(t.Zi){case"blob":var n;try{n=Ri(t.re[0],null)}catch(t){return ci}return Di(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Zi,r=t.ue,e=t.fe,i+"://"+Hn(r)+(null===e?"":":"+e);case"file":default:return ci}var i,r,e}function Oi(t){return null!=t&&(t instanceof Ci&&"object"==typeof t.Qi)}var Ci=function(){function t(t,n){var i,r=null;if(null!=n)if(Oi(n))r=n.Qi;else try{r=Ri(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=Ri(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Yi;this.Qi=i,this.Yi=function(t){var n=new ri;return null!==t&&ti(n,t),n}(e),this.Yi.Qi=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.Zi+":";if(null!==t.ue?(i+="//",yi(t)&&(i+=t.Ji,""!==t.$i&&(i+=":"+t.$i),i+="@"),i+=Hn(t.ue),null!==t.fe&&(i+=":"+t.fe)):null===t.ue&&"file"===t.Zi&&(i+="//"),t.oe)i+=t.re[0];else for(var r=0,e=t.re;r<e.length;r++)i+="/"+e[r];return null!==t.Yi&&(i+="?"+t.Yi),n||null===t._e||(i+="#"+t._e),i}(this.Qi)},set:function(t){var n;try{n=Ri(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.Qi=n,Qn(this.Yi);var i=this.Qi.Yi;null!==i&&ti(this.Yi,i)}},{key:"origin",get:function(){return Di(this.Qi)}},{key:"protocol",get:function(){return this.Qi.Zi+":"},set:function(t){Ni(t+":",null,this.Qi,0)}},{key:"username",get:function(){return this.Qi.Ji},set:function(t){Si(this.Qi)||(this.Qi.Ji=Pn(t,An))}},{key:"password",get:function(){return this.Qi.$i},set:function(t){Si(this.Qi)||(this.Qi.$i=Pn(t,An))}},{key:"host",get:function(){var t=this.Qi,n=t.ue;if(null===n)return"";var i=t.fe,r=Hn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Qi.oe||Ni(t,null,this.Qi,10)}},{key:"hostname",get:function(){var t=this.Qi.ue;return null===t?"":Hn(t)},set:function(t){this.Qi.oe||Ni(t,null,this.Qi,11)}},{key:"port",get:function(){var t=this.Qi.fe;return null===t?"":""+t},set:function(t){Si(this.Qi)||(""===t?this.Qi.fe=null:Ni(t,null,this.Qi,12))}},{key:"pathname",get:function(){var t=this.Qi.re;return this.Qi.oe?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Qi.oe||(this.Qi.re.length=0,Ni(t,null,this.Qi,16))}},{key:"search",get:function(){var t=this.Qi.Yi;return null===t||""===t?"":"?"+t},set:function(t){t=Xn(t);var n=this.Qi;if(""===t)return n.Yi=null,void Qn(this.Yi);"?"===t[0]&&(t=t.slice(1)),n.Yi="",Ni(t,null,n,19),ti(this.Yi,t)}},{key:"searchParams",get:function(){return this.Yi}},{key:"hash",get:function(){var t=this.Qi._e;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Qi._e="",Ni(t,null,this.Qi,20)):this.Qi._e=null}}])&&Ct(n.prototype,i),r&&Ct(n,r),t}();function Pi(t){return t.document&&t.document.baseURI||t.location.href||""}var Fi=u;function Bi(t){return Boolean(t&&void 0!==t.length)}function Mi(){}function xi(t){if(!(this instanceof xi))throw new h("Promises must be constructed via new");if("function"!=typeof t)throw new h("not a function");this.we=0,this.me=!1,this.ye=void 0,this.ke=[],Gi(t,this)}function Li(t,n){for(;3===t.we;)t=t.ye;0!==t.we?(t.me=!0,xi.pe(function(){var i=1===t.we?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.ye)}catch(t){return void Ui(n.promise,t)}Wi(n.promise,r)}else(1===t.we?Wi:Ui)(n.promise,t.ye)})):t.ke.push(n)}function Wi(t,n){try{if(n===t)throw new h("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if(n instanceof xi)return t.we=3,t.ye=n,void Vi(t);if("function"==typeof i)return void Gi((r=i,e=n,function(){r.apply(e,arguments)}),t)}t.we=1,t.ye=n,Vi(t)}catch(n){Ui(t,n)}var r,e}function Ui(t,n){t.we=2,t.ye=n,Vi(t)}function Vi(t){2===t.we&&0===t.ke.length&&xi.pe(function(){t.me||xi.Ae(t.ye)});for(var n=0,i=t.ke.length;n<i;n++)Li(t,t.ke[n]);t.ke=null}function Hi(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function Gi(t,n){var i=!1;try{t(function(t){i||(i=!0,Wi(n,t))},function(t){i||(i=!0,Ui(n,t))})}catch(t){if(i)return;i=!0,Ui(n,t)}}xi.prototype.catch=function(t){return this.then(null,t)},xi.prototype.then=function(t,n){var i=new this.constructor(Mi);return Li(this,new Hi(t,n,i)),i},xi.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},xi.all=function(t){return new xi(function(n,i){if(!Bi(t))return i(new h("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.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)},i)}r[t]=o,0==--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},xi.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new h(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"==typeof i||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0==--e&&n(r)})}r[t]={status:"fulfilled",value:i},0==--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},xi.resolve=function(t){return t&&"object"==typeof t&&t.constructor===xi?t:new xi(function(n){n(t)})},xi.reject=function(t){return new xi(function(n,i){i(t)})},xi.race=function(t){return new xi(function(n,i){if(!Bi(t))return i(new h("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)xi.resolve(t[r]).then(n,i)})},xi.pe="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Fi(t,0)},xi.Ae=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var ji=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),zi=e?e.userAgent:"",Ki=zi.match(/Firefox\/([0-9]+)/i),qi=null!=Ki,Xi=Ki?Number(Ki[1]):0,Yi=zi.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),$i=null!=Yi,Zi=Yi?Number(Yi[3]):0,Ji=function(){function t(t){this.Te=0,this.Se=0,this.Wi=[],this.Ee=t}return t.prototype.Ie=function(t){var n=this.length();this.Re(n+1);var i=this.Se+n&this.Ee-1;this.Wi[i]=t,this.Te=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Ee<n)this.Ie(t);else{var i=this.Se+n-1,r=this.Ee-1;this.Wi[i&r]=t,this.Te=n}},t.prototype.shift=function(){var t=this.Se,n=this.Wi[t];return this.Wi[t]=void 0,this.Se=t+1&this.Ee-1,this.Te--,n},t.prototype.length=function(){return this.Te},t.prototype.Re=function(t){this.Ee<t&&this.Ne(this.Ee<<1)},t.prototype.Ne=function(t){var n=this.Ee;this.Ee=t;var i=this.Se+this.Te&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.Wi,0,n,i)},t}();var Qi="unhandledrejection",tr=t.PromiseRejectionEvent,nr=t.CustomEvent;function ir(t){return new tr(Qi,{reason:t,promise:ji.reject(t).catch(function(){}),cancelable:!0})}function rr(t){var n=new nr(Qi,{detail:{reason:t},cancelable:!0});return a.defineProperty(n,"reason",{value:t}),n}function er(t){var n=r.createEvent("CustomEvent");return n.initCustomEvent(Qi,!1,!0,{reason:t}),n}var ur,or,fr,sr,cr,hr,ar,vr=function(t){return(vr=function(){try{var t=ji.resolve(),n=new tr(Qi,{reason:"error",promise:t});return Qi===n.type&&"error"===n.reason}catch(t){}return!1}()?ir:function(){try{var t=new nr(Qi,{detail:{reason:"error"}});return Qi===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?rr:er)(t)};if(ji&&!(qi&&Xi<60||$i&&Zi<15))or=ji;else{or=xi;var lr=null!==(ur=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var i=ji;if(i&&"function"==typeof i.resolve){var r=i.resolve();return function(t){return r.then(t)}}}())&&void 0!==ur?ur:xi.pe,_r=(fr=lr,sr=new Ji(16),cr=!1,{De:function(t){sr.push(t),cr||(cr=!0,fr(hr))},Ce:hr=function(){for(;sr.length()>0;)sr.shift()();cr=!1}});xi.pe=_r.De,xi.Ae=function(n){try{var i=vr(n);if(!t.dispatchEvent(i)||i.defaultPrevented)return}catch(t){}u(function(){throw new c("Unhandled promise rejection: ".concat(n))},0)}}function dr(){return void 0!==r?r.createElement("video"):void 0}var wr=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),yr=(ar||(ar=dr()),ar),pr=!(!yr||!yr.webkitShowPlaybackTargetPicker),gr=function(){function t(){this.Pe=void 0,this.Oe=!1,this.Wt=wr,this.fn=!1,this.Be=!0,this.Le=!0}var n=t.prototype;return n.Me=function(){return 0},n.xe=function(t,n){return!0},n.Fe=function(t){return t>=1/6*2},p(t,[{key:"Ue",get:function(){return void 0===this.Pe&&(this.Pe=this.Me()),this.Pe}},{key:"He",get:function(){return i.devicePixelRatio||1}},{key:"Ve",get:function(){return pr}},{key:"Xe",get:function(){return!1}},{key:"ze",get:function(){return!0}},{key:"We",get:function(){return O.Cn||O.un}},{key:"qe",get:function(){return!0}},{key:"Ge",get:function(){return!0}},{key:"Qe",get:function(){return!1}},{key:"Ye",get:function(){}},{key:"je",get:function(){return!0}},{key:"Ke",get:function(){return!1}}]),t}(),mr=function(){var t=dr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(O.$t)return!1;var t=dr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Ir=function(t){function n(n){var i;return(i=t.call(this)||this).Ze=void 0,i.Ze=n,i.Ze&&(i.Oe=i.Ze.Oe,i.Wt=i.Ze.Wt,i.Be=mr&&i.Ze.Be),i}m(n,t);var i=n.prototype;return i.Me=function(){return this.Ze?this.Ze.Ue:t.prototype.Me.call(this)},i.xe=function(n,i){return this.Ze?this.Ze.xe(n,i):t.prototype.xe.call(this,n,i)},i.Fe=function(n){return this.Ze?this.Ze.Fe(n):t.prototype.Fe.call(this,n)},p(n,[{key:"Ye",get:function(){var t;return null==(t=this.Ze)?void 0:t.Ye}},{key:"je",get:function(){var t,n;return null==(t=null==(n=this.Ze)?void 0:n.je)||t}}]),n}(gr),kr=function(t){function n(n){var i;return(i=t.call(this,n)||this).Oe=!0,i.fn=!0,i}return m(n,t),p(n,[{key:"Qe",get:function(){return O.un}}]),n}(Ir),Sr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Me=function(){if(!(void 0).MediaSource)return 1},p(n,[{key:"Qe",get:function(){return!0}}]),n}(kr),br=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(n,i){return t.prototype.xe.call(this,n,i)},p(n,[{key:"Xe",get:function(){return O.An<3}},{key:"ze",get:function(){return O.An>=3}},{key:"Ke",get:function(){return O.An<3}}]),n}(Ir),Er=function(t){function n(){return t.call(this)||this}return m(n,t),n}(gr),Tr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(t,n){if(t&&t.Je&&n&&n.Je){var i=Rr(t.Je,"mp4a.40.2")&&Rr(n.Je,"mp4a.40.5"),r=Rr(t.Je,"mp4a.40.5")&&Rr(n.Je,"mp4a.40.2"),e=Rr(t.Je,"mp4a.40.2")&&Rr(n.Je,"mp4a.40.34"),u=Rr(t.Je,"mp4a.40.34")&&Rr(n.Je,"mp4a.40.2"),o=Rr(t.Je,"mp4a.40.5")&&Rr(n.Je,"mp4a.40.34"),f=Rr(t.Je,"mp4a.40.34")&&Rr(n.Je,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},p(n,[{key:"Ye",get:function(){if(O.qt)return 4096}}]),n}(Er);function Rr(t,n){return t.indexOf(n)>-1}var Nr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Fe=function(t){return t>=2},n}(Er),Ar=function(t){function n(){var n;return(n=t.call(this)||this).Oe=O.Pn>=11,n.Be=O.Cn&&!(O.un&&O.Pn<10),n}return m(n,t),n}(Er),Dr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"qe",get:function(){return!1}}]),n}(Ir),Or=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"je",get:function(){return!O.Gt||(O.wn?92!==O.yn:O._n>=100)}}]),n}(Er),Cr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),p(n,[{key:"Qe",get:function(){return!0}}]),n}(Ir),Pr=function(){function n(){var n;this.$e=void 0,this.ir=new It,this.rr=new Fr,this.dr=(n=function(){if(O.Nn)return new Tr;if(O.Sn||O.En)return new Nr;if(O.Cn)return new Ar;if(O.dn)return new Or;return new Er}(),O.un?new Sr(n):O.fn?new kr(n):O.pn?new br(n):O.Tn?new Dr(n):O.qt?new Cr(n):new Ir(n)),this._r=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.$e=function(){return t.performance.now()}:this.$e=wt}var i=n.prototype;return i.gr=function(){W.apply(void 0,arguments)},i.wr=function(){U.apply(void 0,arguments)},i.yr=function(){V.apply(void 0,arguments)},i.pr=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];H.apply(void 0,[t].concat(i))},i.Qn=function(t,n){return u(t,n)},i.Ar=function(t,n){return f(t,n)},i.Gn=function(t){o(t)},i.Tr=function(t){s(t)},i.ei=function(t){return this.ir.ei(t)},i.Sr=function(){return this.Er.Sr()},i.Ir=function(){return this.Er.Ir()},i.Rr=function(){return this.Er.Rr()},i.Nr=function(){return this.Er.Nr()},i.Dr=function(){return this.Er.Dr()},i.Cr=function(t,n){return this.Er.Cr(t,n)},i.Pr=function(t){return this.Er.Pr(t)},i.Or=function(t,n){var i;return void 0===n&&(n=Pi(void 0)),i="object"!=typeof n||n instanceof Ci?n:n.href,new Ci(t,i)},i.Br=function(n,i){if(void 0===i&&(i=Pi(void 0)),this._r){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.Or(n,i).href},p(n,[{key:"Lr",get:function(){return this.rr}},{key:"Mr",get:function(){return this.dr}},{key:"xr",get:function(){return{Fr:e&&e.userAgent.match(/Android /i)?"Android":"other",Ur:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Hr",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Vr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Fr=function(){function t(){}return p(t,[{key:"Xr",get:function(){return e.oscpu}},{key:"Mr",get:function(){return e.platform}},{key:"zr",get:function(){return e.vendor}},{key:"Wr",get:function(){return e.vendorSub}}]),t}();var Br={exports:{}};!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",f=e.toStringTag||"@@toStringTag";function s(t,n,i,r){var e=n&&n.prototype instanceof g?n:g,u=a.create(e.prototype),o=new O(r||[]);return u.qr=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===y){if("throw"===e)throw u;return P()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var f=N(o,i);if(f){if(f===p)continue;return f}}if("next"===i.method)i.sent=i.Gr=i.arg;else if("throw"===i.method){if(r===l)throw r=y,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var s=v(t,n,i);if("normal"===s.type){if(r=i.done?y:_,s.arg===p)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(r=y,i.method="throw",i.arg=s.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=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=a.getPrototypeOf,b=S&&S(S(C([])));b&&b!==i&&r.call(b,u)&&(k=b);var E=I.prototype=g.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.qr(n,t)}})}function R(t){var n;this.qr=function(i,e){function u(){return new or(function(n,u){!function n(i,e,u,o){var f=v(t[i],t,e);if("throw"!==f.type){var s=f.arg,c=s.value;return c&&"object"==typeof c&&r.call(c,"Qr")?or.resolve(c.Qr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):or.resolve(c).then(function(t){s.value=t,u(s)},function(t){return n("throw",t,u,o)})}o(f.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function N(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,N(t,i),"throw"===i.method))return p;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return p}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,p;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,p):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,p)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function D(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,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(!d(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: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 a.setPrototypeOf?a.setPrototypeOf(t,I):(t.__proto__=I,f in t||(t[f]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Qr:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(s(n,i,r,e));return t.isGeneratorFunction(i)?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 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,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Gr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!d(+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 f.type="throw",f.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],f=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(s&&h){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(!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,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 i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),D(i),p}},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;D(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),p}}}(Br.exports);var Mr=Br.exports;function xr(){return(xr=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 Wr,Ur,Vr=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(Wr=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 Wr(this.data,function(t,n){return n})},n.values=function(){return new Wr(this.data,function(t,n){return t[n]})},n.entries=function(){return new Wr(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}());!function(t){t.Jr="9a04f079-9840-4286-ab92-e65be0885f95",t.$r="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",t.ns="1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",t.rs="94ce86fb-07ff-4f43-adb8-93d2fa968ca2"}(Ur||(Ur={}));var Hr,Gr=Ur.Jr,jr="urn:uuid:"+Gr,zr=Ur.$r,Kr="urn:uuid:"+zr,qr=Ur.ns,Xr="urn:uuid:"+qr,Yr=Ur.rs,$r="urn:uuid:"+Yr;!function(t){t.Jr="playready",t.$r="widevine",t.rs="fairplay",t.ns="clearkey",t.us="aes128"}(Hr||(Hr={}));var Zr={hs:Hr.Jr,fs:"com.microsoft.playready",vs:"cenc",ds:Gr,ls:jr,_s:"PlayReady"},Jr={hs:Hr.$r,fs:"com.widevine.alpha",vs:"cenc",ds:zr,ls:Kr,_s:"Widevine"},Qr={hs:Hr.rs,fs:"com.apple.fps.1_0",vs:"skd",ds:Yr,ls:$r,_s:"FairPlay"};Hr.rs;var te={hs:Hr.ns,fs:"org.w3.clearkey",vs:"cenc",ds:qr,ls:Xr,_s:"ClearKey"};var ne=O.dn&&O._n>=42||O.Nn&&O.Dn>=38||O.Sn||O.In||O.On&&O.Bn>=29;function ie(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[xr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[xr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var re,ee=function(){function t(t){this.gs=void 0,this.ys=new Vr,this.As=void 0,this.gs=t}var n=t.prototype;return n.Dr=function(){return this.Pr(Jr)},n.Ir=function(){return this.Pr(te)},n.Nr=function(){return this.Pr(Zr)},n.Rr=function(){return this.Pr(Qr)},n.Pr=function(t){var n=t.ls,i=this.ys.get(n);if(i)return i;var r=this.Cr(t,'video/mp4; codecs="avc1.42000a"');return this.ys.set(n,r),r},n.Cr=function(t,n){return Mr.async(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,Mr.awrap(this.gs.Ts(t.fs,[ie(n,!0)]));case 3:return i.abrupt("return",!0);case 6:return i.prev=6,i.t0=i.catch(0),i.prev=8,i.next=11,Mr.awrap(this.gs.Ts(t.fs,[ie(n,!1)]));case 11:return i.abrupt("return",!0);case 14:return i.prev=14,i.t1=i.catch(8),i.abrupt("return",!1);case 17:case"end":return i.stop()}},null,this,[[0,6],[8,14]],or)},n.Sr=function(){return this.As||(this.As=this.Ss()),this.As},n.Ss=function(){return Mr.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(ne){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,Mr.awrap(this.Ir());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,or)},t}(),ue=function(){function t(){}var n=t.prototype;return n.nf=function(){},n.Nu=function(t){},n.Eu=function(t){},n.if=function(t,n){},t}(),oe=function(){function t(){}return t.prototype.Ts=function(t,n){return or.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.Wf="arraybuffer",t.qf="json",t.Gf="stream",t.Zn="text"}(re||(re={}));var fe,se=function(){function t(n){var i=this;this.Zr=void 0,this.Zr={},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=ce(i),r=he(r);var e=i.toLowerCase();if(this.Zr.hasOwnProperty(e)){var u=this.Zr[e],o=u[1];u[1]=o?o+", "+r:r}else this.Zr[e]=[i,r]},n.delete=function(t){var n=ce(t).toLowerCase();delete this.Zr[n]},n.get=function(t){var n=ce(t).toLowerCase();return this.Zr.hasOwnProperty(n)?this.Zr[n][1]:null},n.has=function(t){var n=ce(t).toLowerCase();return this.Zr.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=ce(i)).toLowerCase();this.Zr[r]=[i,he(n)]},n.forEach=function(t,n){for(var i in this.Zr)this.Zr.hasOwnProperty(i)&&t.call(n,this.Zr[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Zr)if(this.Zr.hasOwnProperty(n)){var i=this.Zr[n],r=i[0],e=i[1];t.push([r,e])}return t},n.Qf=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.Yf=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.jf=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function ce(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 he(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function ae(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){ve(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function ve(t,n,i,r){var e,u,o,f,s,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),f=u,s=o;;)if(f<o&&s<e)n&&n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<o)r[h++]=t[f++];else{if(!(s<e))break;r[h++]=t[s++]}}!function(t){t[t.Es=0]="Es",t[t.Is=1]="Is",t[t.Rs=-1]="Rs"}(fe||(fe={}));var le=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<_t||i<v.max(v.abs(t),v.abs(n))*_t}(t,n)?fe.Es:function(t,n){return t===n?fe.Es:t<n?fe.Rs:t>n?fe.Is:d(t)?d(n)?fe.Es:fe.Is:fe.Rs}(t,n)};function _e(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function de(t){t.length=0}var we,ye,pe,ge,me=function(){function t(){this.Ns=!1,this.Ds=!1,this.Cs=[],this.Ps=[]}var n=t.prototype;return n.Os=function(){if(!this.Ns&&!this.Ds){this.Ns=!0;for(var t=0,n=this.Cs.slice();t<n.length;t++){(0,n[t])()}this.Bs()}},n.Bs=function(){if(!this.Ds){this.Ds=!0;for(var t=0,n=this.Ps.slice();t<n.length;t++){(0,n[t])()}de(this.Cs),de(this.Ps)}},n.Ls=function(t){this.Ds||this.Cs.push(t)},n.Ms=function(t){this.Ds||_e(this.Cs,t)},n.xs=function(t){this.Ds||this.Ps.push(t)},n.Fs=function(t){this.Ds||_e(this.Ps,t)},t}(),Ie=function(){function t(){this.Us=new me}var n=t.prototype;return n.Hs=function(){this.Us.Os()},n.Bs=function(){this.Us.Bs()},n.Vs=function(t){var n=this.Us;if(!n.Ns)if(t.Ns)n.Os();else if(!n.Ds&&!t.Ds){var i=function(){r(),n.Os()},r=function r(){t.Ms(i),t.Fs(r),n.Ms(i),n.Fs(r)};t.Ls(i),t.xs(r),n.Ls(i),n.xs(r)}},n.Xs=function(){var n=new t,i=new t,r=n.zs,e=i.zs,u=this.Us,o=function(){r.Ns&&e.Ds||e.Ns&&r.Ds?u.Os():r.Ds&&e.Ds&&u.Bs()};r.Ls(o),e.Ls(o),r.xs(o),e.xs(o),n.Vs(u),i.Vs(u);return u.xs(function(){r.Ms(o),e.Ms(o),r.Fs(o),e.Fs(o)}),[n,i]},p(t,[{key:"zs",get:function(){return this.Us}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(we||(we={})),function(t){t.cl="",t.fl="manifest",t.vl="segment",t.dl="content-protection"}(ye||(ye={})),function(t){t.cl="",t.ll="initialization-segment",t._l="fairplay-license",t.wl="fairplay-certificate",t.yl="widevine-license",t.bl="widevine-certificate",t.Al="playready-license",t.Tl="clearkey-license",t.Sl="aes128-key"}(pe||(pe={})),function(t){t.cl="",t.El="audio",t.Il="video",t.Zn="text",t.Rl="image"}(ge||(ge={}));var ke,Se=function(t,n){this.Ud=void 0,this.Zd=void 0,this.Nl=void 0,this.Jd=void 0,this.Dl=void 0,this.zs=void 0,this.hs=void 0,this.Cl=void 0,this.Pl=void 0,this.hl=void 0,this.Ol=void 0,this.Bl=void 0;var i,r,e,u,o,f,s,c,h,a,v,l=t.hl;n?(i=n.Ud,r=n.Zd,e=n.Nl,u=n.Jd,o=n.Dl,f=n.zs,s=n.hs,c=n.Cl,h=n.Pl,a=n.Ol,v=n.Bl):(i=null,r={},e=we.GET,u=re.Zn,o=0,s=ye.cl,c=pe.cl,h=ge.cl,a=!1),this.hl=l,this.Ud=t.Ud||i,this.Zd=new se(t.Zd||r),this.Nl=t.Nl||e,this.Jd=t.Jd||u,this.Dl=void 0!==t.Dl?Number(t.Dl)||0:o,this.zs=t.zs||f||(new Ie).zs,this.hs=t.hs||s,this.Cl=t.Cl||c,this.Pl=t.Pl||h,this.Ol=void 0!==t.Ol?Boolean(t.Ol):a,this.Bl=t.Bl||v};!function(t){t.Wl="HttpOpenError",t.ql="HttpResponseError",t.Gl="HttpTimeoutError"}(ke||(ke={}));var be,Ee,Te=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.hl+". Invalid URL.",i)||this}return m(n,t),p(n,[{key:"name",get:function(){return ke.Wl}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).Ql=void 0,e.Ql=n,e}return m(n,t),p(n,[{key:"ul",get:function(){return this.Ql}}]),n}(gt)),Re=function(){function t(){}var n=t.prototype;return n.ul=function(t){return or.reject(new Te(new Se(t)))},n.Ll=function(t){},n.Ml=function(){},t}();function Ne(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Ae(t,n){return t.push(n),t}function De(t,n,i,r){var e=i||0,u=r||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 Oe(t,n){return De(t,Ne(n))}be=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).O_=new ee(new oe),n.gm=new Re,n.u=new ue,n}return m(n,t),p(n,[{key:"Er",get:function(){return this.O_}},{key:"x_",get:function(){return!1}},{key:"F_",get:function(){return!1}},{key:"U_",get:function(){return!1}},{key:"H_",get:function(){return this.u}},{key:"V_",get:function(){return{X_:C}}},{key:"z_",get:function(){return"default"}},{key:"W_",get:function(){return"unknown"}},{key:"q_",get:function(){return this.gm}}]),n}(Pr)),function(t){t.ALt="h.264",t.Ggt="mp3",t.qgt="aac-lc",t.eLt="he-aac"}(Ee||(Ee={}));var Ce=function(){function t(){this.ort=0,this.hrt=[],this.XE={}}var n=t.prototype;return n.art=function(t){this.hrt=this.hrt.concat(t.hrt),this.ort+=t.Fg},n.crt=function(t,n,i){var r=this.ort,e=i-n;e>0&&(this.hrt.push({frt:n,vrt:i,drt:e,lrt:r,_rt:t}),this.ort+=e)},n.Eu=function(t){for(var n=0,i=this.hrt;n<i.length;n++){var r=i[n];if(r.lrt<=t&&t<r.lrt+r.drt)return r._rt[t+r.frt-r.lrt]}},n.grt=function(t,n){for(var i=n,r=0,e=this.hrt;r<e.length;r++)for(var u=e[r],o=u.vrt,f=u.frt;f<o;f+=1,i+=1)t[i]=u._rt[f];return i},n.wrt=function(){for(var t=new w(this.ort),n=0,i=0,r=this.hrt;i<r.length;i++)for(var e=r[i],u=e.vrt,o=e.frt;o<u;o+=1,n+=1)t[n]=e._rt[o];return t},n.Lu=function(n){for(var i=new t,r=0,e=this.hrt;r<e.length;r++){var u=e[r];i.crt(u._rt,u.frt,u.vrt)}return i.XE=n||xr({},this.XE),i},p(t,[{key:"Fg",get:function(){return this.ort},set:function(t){var n=this.hrt,i=this.ort-t;if(!(t>=this.ort))if(this.ort=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.drt)return e.vrt-=i,e.drt-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.drt}else n.length=0}},{key:"Hi",get:function(){for(var t=new Array(this.ort),n=0,i=0,r=this.hrt;i<r.length;i++)for(var e=r[i],u=e.vrt,o=e.frt;o<u;o+=1,n+=1)t[n]=e._rt[o];return t}}]),t}(),Pe=function(){function t(){}var n=t.prototype;return n.yp=function(t){return this.kp()*t},n.pp=function(t){return this.bp(t)>0},n.Ap=function(t){return this.bp(t)>=0},n.Tp=function(t,n){return this.Ep(t).Sp(n)},n.ap=function(t){return 0===this.bp(t)},n.Ip=function(t){return this.bp(t)<0},n.Sp=function(t){return this.bp(t)<=0},n.Rp=function(){return this.Np()?this.Dp():this},n.Cp=function(t){return this.Ek(t.Dp())},n.Ep=function(t){return this.Cp(t).Rp()},t}();function Fe(t,n){return t.Pp()?n.Pp()?fe.Es:fe.Is:n.Pp()?fe.Rs:t.Op()?n.Op()&&t.Np()===n.Np()?fe.Es:t.Np()?fe.Rs:fe.Is:n.Np()?fe.Is:fe.Rs}var Be=function(){function t(t,n){this.Bp=void 0,this.Lp=void 0,this.Bp=t,this.Lp=n}t.Mp=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.xp=function(n){return n.unsigned?new t(n,j.UZERO):new t(n,n.isNegative()?j.NEG_ONE:j.ZERO)},t.Fp=function(n,i){if(d(n))return i?t.Up:t.Hp;if(i){if(n<0)return t.Up;if(n>=3.402823669209385e38)return t.Vp}else{if(n<=-1.7014118346046923e38)return t.Xp;if(n+1>=1.7014118346046923e38)return t.zp}return n<0?t.Fp(-n,i).Dp():t.Mp(j.fromNumber(n%0x10000000000000000),j.fromNumber(n/0x10000000000000000),i)};var n=t.prototype;return n.Wp=function(){return this.Lp.unsigned},n.qp=function(){return this.Bp.isZero()&&this.Lp.isZero()},n.Np=function(){return this.Lp.isNegative()},n.Gp=function(){return this.Wp()?t.Mp(this.Bp,this.Lp,!1):this},n.Qp=function(){return this.Wp()?this:t.Mp(this.Bp,this.Lp,!0)},n.Yp=function(){return this.Bp},n.kp=function(){return this.Np()?-this.Dp().kp():0x10000000000000000*this.Lp.toNumber()+this.Bp.toUnsigned().toNumber()},n.jp=function(){return this.Bp.toInt()},n.ap=function(t){return(this.Wp()===t.Wp()||this.Lp.getHighBits()>>>31!=1||t.Lp.getHighBits()>>>31!=1)&&(this.Lp.toUnsigned().eq(t.Lp.toUnsigned())&&this.Bp.toUnsigned().eq(t.Bp.toUnsigned()))},n.bp=function(t){if(this.ap(t))return fe.Es;var n=this.Np(),i=t.Np();if(n&&!i)return fe.Rs;if(!n&&i)return fe.Is;if(!this.Wp())return this.Cp(t).Np()?fe.Rs:fe.Is;var r=this.Qp(),e=t.Qp(),u=e.Lp.comp(r.Lp);return u>0||0===u&&e.Bp.gt(r.Bp)?fe.Rs:fe.Is},n.Ip=function(t){return this.bp(t)<0},n.Sp=function(t){return this.bp(t)<=0},n.Kp=function(t){return this.bp(t)>0},n.Zp=function(t){return this.bp(t)>=0},n.Jp=function(){return new t(this.Bp.not(),this.Lp.not())},n.$p=function(n){return new t(this.Bp.and(n.Bp),this.Lp.and(n.Lp))},n.ib=function(n){return new t(this.Bp.or(n.Bp),this.Lp.or(n.Lp))},n.eb=function(n){var i=127&n;return 0===i?this:i<64?t.Mp(this.Bp.shl(i),this.Lp.shl(i).or(this.Bp.shru(64-i)),this.Wp()):t.Mp(j.ZERO,this.Bp.shl(i-64),this.Wp())},n.sb=function(n){var i=127&n;return 0===i?this:i<64?t.Mp(this.Bp.shru(i).or(this.Lp.shl(64-i)),this.Lp.shr(i),this.Wp()):t.Mp(this.Lp.shr(i-64),this.Lp.isNegative()?j.NEG_ONE:j.ZERO,this.Wp())},n.ub=function(n){var i=127&n;return 0===i?this:i<64?t.Mp(this.Bp.shru(i).or(this.Lp.shl(64-i)),this.Lp.shru(i),this.Wp()):64===i?t.Mp(this.Lp,j.ZERO,this.Wp()):t.Mp(this.Lp.shru(i-64),j.ZERO,this.Wp())},n.Ek=function(n){var i=this.Lp.high>>>16,r=65535&this.Lp.high,e=this.Lp.low>>>16,u=65535&this.Lp.low,o=this.Bp.high>>>16,f=65535&this.Bp.high,s=this.Bp.low>>>16,c=65535&this.Bp.low,h=n.Lp.high>>>16,a=65535&n.Lp.high,v=n.Lp.low>>>16,l=65535&n.Lp.low,_=n.Bp.high>>>16,d=65535&n.Bp.high,w=n.Bp.low>>>16,y=0,p=0,g=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.Bp.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+=r+a)>>>16,p&=65535,y+=i+h,y&=65535;var E=this.Wp(),T=j.fromBits(g<<16|m,y<<16|p,E),R=j.fromBits(S<<16|b,I<<16|k,E);return t.Mp(R,T,E)},n.Cp=function(t){return this.Ek(t.Dp())},n.Dp=function(){return this.Jp().Ek(t.ob)},n.hb=function(n){if(this.qp()||n.qp())return this.Wp()?t.Up:t.Hp;if(this.Np())return n.Np()?this.Dp().hb(n.Dp()):this.Dp().hb(n).Dp();if(n.Np())return this.hb(n.Dp()).Dp();if(this.Lp.isZero()&&0===this.Bp.high&&n.Lp.isZero()&&0===n.Bp.high)return t.xp(this.Bp.multiply(n.Bp));var i=j.fromBits(4294967295,0,!0),r=this.Bp.and(i),e=this.Bp.shru(32),u=this.Lp.and(i),o=this.Lp.shru(32),f=n.Bp.and(i),s=n.Bp.shru(32),c=n.Lp.and(i),h=n.Lp.shru(32),a=j.UZERO,v=j.UZERO,l=j.UZERO,_=j.UZERO;a=a.add(r.mul(f)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(s)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),_=_.add(l.shru(32)),l=l.and(i),_=_.add(o.mul(f)).add(u.mul(s)).add(e.mul(c)).add(r.mul(h)).and(i);var d=j.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=j.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.Mp(d,w,this.Wp())},n.cb=function(n){var i,r,e=n;if(e.qp())throw new RangeError("division by zero");if(this.qp())return this.Wp()?[t.Up,t.Up]:[t.Hp,t.Hp];if(this.Wp()){if(e.Wp()||(e=e.Qp()),e.Kp(this))return[t.Up,this];if(e.Kp(this.ub(1)))return[r=t.fb,i=this.Cp(e)];r=t.Up}else{if(this.ap(t.Xp)){if(e.ap(t.ob)||e.ap(t.vb))return[t.Xp,t.Hp];if(e.ap(t.Xp))return[t.ob,t.Hp];var u=this.sb(1)._b(e).eb(1);return u.ap(t.Hp)?r=e.Np()?t.ob:t.vb:(i=this.Cp(e.hb(u)),r=u.Ek(i._b(e))),[r,i=this.Cp(e.hb(r))]}if(e.ap(t.Xp))return this.Wp()?[t.Up,this]:[t.Hp,this];if(this.Np()){if(e.Np())return this.Dp().cb(e.Dp());var o=this.Dp().cb(e);return r=o[0],i=o[1],[r.Dp(),i.Dp()]}if(e.Np()){var f=this.cb(e.Dp());return r=f[0],i=f[1],[r.Dp(),i.Dp()]}r=t.Hp}for(i=this;i.Zp(e);){for(var s=v.max(1,v.floor(i.kp()/e.kp())),c=v.ceil(v.log(s)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.Fp(s),l=a.hb(e);l.Np()||l.Kp(i);)s-=h,l=(a=t.Fp(s,this.Wp())).hb(e);a.qp()&&(a=t.ob),r=r.Ek(a),i=i.Cp(l)}return[r,i]},n._b=function(t){return this.cb(t)[0]},n.gb=function(t){return this.cb(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.qp())return"0";if(this.Np()){if(this.ap(t.Xp)){var r=t.Fp(i),e=this._b(r),u=e.hb(r).Cp(this);return e.toString(i)+u.jp().toString(i)}return"-"+this.Dp().toString(i)}for(var o=t.Fp(v.pow(i,6),this.Wp()),f=this,s="";;){var c=f._b(o),h=(f.Cp(c.hb(o)).jp()>>>0).toString(i);if((f=c).qp())return h+s;for(;h.length<6;)h="0"+h;s=String(h)+s}},t}();Be.Hp=Be.xp(j.ZERO),Be.Up=Be.xp(j.UZERO),Be.ob=Be.xp(j.ONE),Be.fb=Be.xp(j.UONE),Be.vb=Be.xp(j.NEG_ONE),Be.zp=Be.Mp(j.NEG_ONE,j.MAX_VALUE,!1),Be.Vp=Be.Mp(j.MAX_UNSIGNED_VALUE,j.MAX_UNSIGNED_VALUE,!0),Be.Xp=Be.Mp(j.ZERO,j.MIN_VALUE,!1);var Me=function(){function t(t,n){void 0===n&&(n=1),this.wb=void 0,this.mb=void 0,this.wb=t,this.mb=n}t.yb=function(n){return new t(v.ceil(n.wb),n.mb)},t.kb=function(n){return new t(v.floor(n.wb),n.mb)},t.pb=function(t,n){return t.Ap(n)?t:n},t.bb=function(t,n){return t.Sp(n)?t:n};var n=t.prototype;return n.Ek=function(n){return this.mb>=n.mb?new t(this.wb+n.Ab(this.mb).wb,this.mb):new t(this.Ab(n.mb).wb+n.wb,n.mb)},n.pp=function(t){return t.Ip(this)},n.Ap=function(t){return t.Sp(this)},n.Ep=function(n){return this.mb>=n.mb?new t(v.abs(this.wb-n.Ab(this.mb).wb),this.mb):n.Ep(this)},n.Tp=function(t,n){return this.Ep(t).Sp(n)},n.bp=function(t){return i=t,(n=this).mb>=i.mb?le(n.wb,i.Ab(n.mb).wb):le(n.Ab(i.mb).wb,i.wb);var n,i},n.ap=function(t){return 0===this.bp(t)},n.Ip=function(t){return this.bp(t)<0},n.Sp=function(t){return this.bp(t)<=0},n.Ab=function(n){return new t(this.wb*(n/this.mb),n)},n.Cp=function(n){return this.mb>=n.mb?new t(this.wb-n.Ab(this.mb).wb,this.mb):new t(this.Ab(n.mb).wb-n.wb,n.mb)},n.Tb=function(n){return new t(this.wb*n,this.mb)},p(t,[{key:"Op",get:function(){return!isFinite(this.wb)}},{key:"Sb",get:function(){return this.wb/this.mb}}]),t}();Me.Eb=new Me(1/6,1),Me.Hp=new Me(0),Me.Ib=new Me(1/0),Me.Rb=1e6;var xe=function(t){function n(n,i){var r;return(r=t.call(this)||this).wi=void 0,r.mb=void 0,r.wi=n.toSigned(),r.mb=i>>>0,r}m(n,t),n.Nb=function(t,i){return void 0===i&&(i=1e6),n.Fp(t*i,i)},n.Fp=function(t,i){return d(t)?n.Db:t===1/0?n.Cb:t===-1/0?n.Pb:new n(j.fromNumber(t),i)},n.xp=function(t,i){return new n(t,i)},n.Ob=function(t){return n.Nb(t.Sb,1e6)},n.Bb=function(t){return new n(j.fromNumber(t.getTime()),1e3)},n.pb=function(t,n){return t.Ap(n)?t:n},n.bb=function(t,n){return t.Sp(n)?t:n},n.Lb=function(t,i,r){return n.pb(i,n.bb(r,t))};var i=n.prototype;return i.Np=function(){return this.wi.isNegative()},i.qp=function(){return 0!==this.mb&&this.wi.isZero()},i.Op=function(){return 0===this.mb&&!this.wi.isZero()},i.Pp=function(){return 0===this.mb&&this.wi.isZero()},i.kp=function(){if(0===this.mb)return this.wi.isZero()?NaN:this.wi.isNegative()?-1/0:1/0;var t=this.wi.divide(this.mb),n=this.wi.subtract(t.multiply(this.mb));return t.toNumber()+n.toNumber()/this.mb},i.Yp=function(){if(0===this.mb)throw new c("Failed to convert timestamp");return this.wi},i.Mb=function(){return new Date(0===this.mb?NaN:this.Ab(1e3).wi.toNumber())},i.xb=function(){return new Me(0===this.mb?this.kp():this.wi.toNumber(),this.mb)},i.Ab=function(t,i){void 0===i&&(i=Ue.Fb);var r=this.mb;if(r===t)return this;if(0===r)return this;var e=dt(r,t);return new n(function(t,n,i){var r=t.cb(n),e=r[0],u=r[1];if(u.qp())return e;if(i===Ue.Fb)return u.Np()?e.Cp(Be.ob):e;if(i===Ue.Ub)return u.Np()?e:e.Ek(Be.ob);var o=u.hb(Be.Fp(2));return o.Np()?o.Dp().Ip(n)?e:e.Cp(Be.ob):o.Ip(n)?e:e.Ek(Be.ob)}(Be.xp(this.wi).hb(Be.Fp(t/e)),Be.Fp(r/e),i).Yp(),t)},i.bp=function(t){if(this===t)return fe.Es;if(0===this.mb||0===t.mb)return Fe(this,t);if(this.qp())return t.qp()?fe.Es:t.Np()?fe.Is:fe.Rs;if(t.qp())return this.Np()?fe.Rs:fe.Is;var n=v.min(this.mb,t.mb),i=this.Ab(n,Ue.Hb).wi,r=t.Ab(n,Ue.Hb).wi;return i.compare(r)},i.Dp=function(){return 0===this.mb?Le(this):new n(this.wi.negate(),this.mb)},i.Ek=function(t){if(0===this.mb||0===t.mb)return We(this,t);if(this.qp())return t;if(t.qp())return this;var i=v.max(this.mb,t.mb),r=this.Ab(i,Ue.Hb),e=t.Ab(i,Ue.Hb);return new n(r.wi.add(e.wi),i)},i.hb=function(t){if(this.Pp()||d(t))return n.Db;if(this.Op()||!isFinite(t)){if(this.qp()||0===t)return n.Db;var i=this.Np()?n.Pb:n.Cb;return t<0?i.Dp():i}return this.qp()?this:new n(0===t?j.ZERO:this.wi.multiply(t),this.mb)},i._b=function(t){if(this.Pp()||d(t))return n.Db;if(this.Op())return isFinite(t)?0===t?1/t<0?this.Dp():this:t<0?this.Dp():this:n.Db;if(!isFinite(t))return new n(j.ZERO,this.mb);if(this.qp())return 0===t?n.Db:new n(j.ZERO,this.mb);if(0===t){var i=this.Np()?n.Pb:n.Cb;return 1/t<0?i.Dp():i}return new n(this.wi.divide(t),this.mb)},i.Vb=function(){return[this.wi.low,this.wi.high,this.mb]},n}(Pe);function Le(t){return t.Pp()?t:t.Np()?xe.Cb:xe.Pb}function We(t,n){return t.Pp()||n.Pp()?xe.Db:t.Op()&&n.Op()?t.Np()===n.Np()?t:xe.Db:t.Op()?t:n}xe.Hp=new xe(j.ZERO,1e6),xe.Db=new xe(j.ZERO,0),xe.Cb=new xe(j.ONE,0),xe.Pb=new xe(j.NEG_ONE,0);var Ue,Ve=function(t){function n(n,i){var r;return(r=t.call(this)||this).wi=void 0,r.mb=void 0,r.wi=BigInt.asIntN(64,n),r.mb=i>>>0,r}m(n,t),n.Nb=function(t,i){return void 0===i&&(i=1e6),n.Fp(t*i,i)},n.Fp=function(t,i){return d(t)?n.Db:t===1/0?n.Cb:t===-1/0?n.Pb:new n(BigInt(v.floor(t)),i)},n.xp=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},n.Ob=function(t){return n.Nb(t.Sb,1e6)},n.Bb=function(t){return n.Fp(t.getTime(),1e3)},n.pb=function(t,n){return t.Ap(n)?t:n},n.bb=function(t,n){return t.Sp(n)?t:n},n.Lb=function(t,i,r){return n.pb(i,n.bb(r,t))};var i=n.prototype;return i.Np=function(){return this.wi<BigInt(0)},i.qp=function(){return 0!==this.mb&&this.wi===BigInt(0)},i.Op=function(){return 0===this.mb&&this.wi!==BigInt(0)},i.Pp=function(){return 0===this.mb&&this.wi===BigInt(0)},i.kp=function(){if(0===this.mb)return this.wi===BigInt(0)?NaN:this.wi<BigInt(0)?-1/0:1/0;var t=this.wi/BigInt(this.mb),n=this.wi-t*BigInt(this.mb);return Number(t)+Number(n)/this.mb},i.Yp=function(){if(0===this.mb)throw new c("Failed to convert timestamp");return this.Xb()},i.Xb=function(){var t=this.wi&BigInt(4294967295),n=this.wi>>BigInt(32)&BigInt(4294967295);return j.fromBits(Number(t),Number(n))},i.Mb=function(){return new Date(0===this.mb?NaN:Number(this.Ab(1e3).wi))},i.xb=function(){return new Me(0===this.mb?this.kp():Number(this.wi),this.mb)},i.Ab=function(t,i){void 0===i&&(i=Ue.Fb);var r=this.mb;if(r===t)return this;if(0===r)return this;var e=dt(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===Ue.Fb)return e<BigInt(0)?r-BigInt(1):r;if(i===Ue.Ub)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.wi*BigInt(t/e),BigInt(r/e),i),t)},i.bp=function(t){if(this===t)return fe.Es;if(0===this.mb||0===t.mb)return Fe(this,t);if(this.qp())return t.qp()?fe.Es:t.Np()?fe.Is:fe.Rs;if(t.qp())return this.Np()?fe.Rs:fe.Is;var n=v.min(this.mb,t.mb),i=this.Ab(n,Ue.Hb).wi,r=t.Ab(n,Ue.Hb).wi;return i>r?fe.Is:i<r?fe.Rs:fe.Es},i.Dp=function(){return 0===this.mb?He(this):new n(-this.wi,this.mb)},i.Ek=function(t){if(0===this.mb||0===t.mb)return Ge(this,t);if(this.qp())return t;if(t.qp())return this;var i=v.max(this.mb,t.mb),r=this.Ab(i,Ue.Hb),e=t.Ab(i,Ue.Hb);return new n(r.wi+e.wi,i)},i.hb=function(t){if(this.Pp()||d(t))return n.Db;if(this.Op()||!isFinite(t)){if(this.qp()||0===t)return n.Db;var i=this.Np()?n.Pb:n.Cb;return t<0?i.Dp():i}return this.qp()?this:new n(0===t?BigInt(0):this.wi*BigInt(t),this.mb)},i._b=function(t){if(this.Pp()||d(t))return n.Db;if(this.Op())return isFinite(t)?0===t?1/t<0?this.Dp():this:t<0?this.Dp():this:n.Db;if(!isFinite(t))return new n(BigInt(0),this.mb);if(this.qp())return 0===t?n.Db:new n(BigInt(0),this.mb);if(0===t){var i=this.Np()?n.Pb:n.Cb;return 1/t<0?i.Dp():i}return new n(this.wi/BigInt(t),this.mb)},i.Vb=function(){var t=this.Xb();return[t.low,t.high,this.mb]},p(n,null,[{key:"Hp",get:function(){return n.zb||(n.zb=new n(BigInt(0),1e6)),n.zb}},{key:"Db",get:function(){return n.Wb||(n.Wb=new n(BigInt(0),0)),n.Wb}},{key:"Cb",get:function(){return n.qb||(n.qb=new n(BigInt(1),0)),n.qb}},{key:"Pb",get:function(){return n.Gb||(n.Gb=new n(BigInt(-1),0)),n.Gb}}]),n}(Pe);function He(t){return t.Pp()?t:t.Np()?Ve.Cb:Ve.Pb}function Ge(t,n){return t.Pp()||n.Pp()?Ve.Db:t.Op()&&n.Op()?t.Np()===n.Np()?t:Ve.Db:t.Op()?t:n}Ve.zb=void 0,Ve.Wb=void 0,Ve.qb=void 0,Ve.Gb=void 0,function(t){t[t.Fb=0]="Fb",t[t.Ub=1]="Ub",t[t.Hb=2]="Hb"}(Ue||(Ue={}));var je=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?Ve:xe;function ze(t){return je.xp(j.fromBits(t[0],t[1],!1),t[2])}var Ke,qe,Xe,Ye,$e,Ze,Je=v.pow(2,33),Qe=je.Fp(Je,9e4);Qe._b(2);O.Cn,function(t){t[t.Ket=0]="Ket",t[t.Zet=1]="Zet",t[t.Jet=2]="Jet",t[t.$et=3]="$et",t[t.trt=4]="trt",t[t.nrt=5]="nrt"}(Ke||(Ke={})),function(t){t[t.irt=0]="irt",t[t.ert=1]="ert",t[t.rrt=2]="rrt",t[t.urt=3]="urt"}(qe||(qe={})),function(t){t.LY='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.MY='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.xY='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.FY='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Xe||(Xe={})),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"}(Ye||(Ye={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}($e||($e={})),Ye.WHITE,Xe.xY,Ye.BLACK,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.GREEN,$e.FONT_REGULAR,Ye.GREEN,$e.FONT_UNDERLINE,Ye.BLUE,$e.FONT_REGULAR,Ye.BLUE,$e.FONT_UNDERLINE,Ye.CYAN,$e.FONT_REGULAR,Ye.CYAN,$e.FONT_UNDERLINE,Ye.RED,$e.FONT_REGULAR,Ye.RED,$e.FONT_UNDERLINE,Ye.YELLOW,$e.FONT_REGULAR,Ye.YELLOW,$e.FONT_UNDERLINE,Ye.MAGENTA,$e.FONT_REGULAR,Ye.MAGENTA,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_ITALICS,Ye.WHITE,$e.FONT_UNDERLINE_ITALICS,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,Ye.WHITE,$e.FONT_REGULAR,Ye.WHITE,$e.FONT_UNDERLINE,function(t){t[t.Srt=47]="Srt",t[t.Ert=49]="Ert"}(Ze||(Ze={}));var tu,nu=[128,64,32,16,8,4,2,1];function iu(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.Eu?t.Eu(i):t[i])&nu[n.bit%8])?0:1;return n.bit+=1,r}function ru(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+iu(t,n);return r}function eu(t,n){for(var i=0;0===iu(t,n)&&i<32;)i+=1;return ru(t,n,i)+v.pow(2,i)-1}function uu(t,n){var i=eu(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!function(t){t[t.Frt=1]="Frt",t[t.Urt=2]="Urt",t[t.Hrt=3]="Hrt",t[t.Vrt=4]="Vrt",t[t.Xrt=5]="Xrt",t[t.zrt=6]="zrt",t[t.Wrt=7]="Wrt",t[t.qrt=8]="qrt",t[t.Grt=9]="Grt"}(tu||(tu={}));var ou=[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 fu(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+uu(t,n)+256)%256;r=0===e?r:e}}var su=function(){function t(t){this.Qrt=void 0,this.Yrt=[],this.jrt=0,this.Qrt=t}var n=t.prototype;return n.Krt=function(){for(var t=this.Yrt,n=v.max(0,this.jrt+t.length-2),i=this.Qrt,r=i.Fg,e=0;n<r;n+=1){var u=i.Eu(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.jrt=n-t.length},n.Zrt=function(t){for(var n=this.Yrt,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.Eu=function(t){if(!(t>this.Qrt.Fg))return t>this.jrt&&this.Krt(),this.Qrt.Eu(this.Zrt(t))},t}();function cu(t,n){no(t.video?t.video:void 0);var i=Bo(t,!0),r=ro(t)+8,e=du.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.TW||[],audio:t.audio&&t.audio.TW||[]},u={XE:{DJ: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.XE.DJ<c.XE.DJ?(Oe(i.video,r),r+=s.Fg,s=e.video[o+=1]||u):(Oe(i.audio,r),r+=c.Fg,c=e.audio[f+=1]||u);return i}(t,du.length+i);return n.su(e),n.sc(du),Mo(n,t,i,u),function(t,n,i){var r,e={XE:{DJ:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.TW||[],s=n.audio&&n.audio.TW||[],c=f.length,h=s.length,a=f[u]||e,v=s[o]||e;t.th(i),t.sc(yu);for(;u<c||o<h;)a.XE.DJ<v.XE.DJ?(r=a,a=f[u+=1]||e):(r=v,v=s[o+=1]||e),t.mh(r)}(n,t,r),n}function hu(t,n,i){var r=void 0!==n?n:void 0;no(t.video?t.video:void 0);var e=Bo(t,!1,r),u=wu.length+e;return i.su(u),i.sc(wu),Mo(i,t,e,void 0,r||je.Hp),i}function au(t,n,i,r,e){var u=i.kp(),o=r.kp(),f=function(t,n){return 1===nf(t,n)?52:44}(t,o),s=Qo(t,u),c=ro(t)+8,h=xo.length+f+s+c;return e.su(h),e.sc(xo),function(t,n,i,r,e){var u=n.video&&n.video.QBt.Ek(je.Nb(n.video.duration,n.video.QBt.mb))||je.Hp,o=n.audio&&n.audio.QBt.Ek(je.Nb(n.audio.duration,n.audio.QBt.mb))||je.Hp,f=je.pb(u,o),s=v.round(e*to);t.th(i),t.sc(Lo),1===nf(n,e)?(t.th(16777216),t.th(1),t.th(to),t.bh(j.fromNumber(s)),t.bh(j.ZERO)):(t.th(0),t.th(1),t.th(to),t.th(s),t.th(0));t.xh(0),t.xh(1);var c=tf(n.video?n.video:void 0),h=tf(n.audio?n.audio:void 0);t.th(Qo(n,r)+c+h+8),of(t,f),t.sc([144,0,0,0])}(e,t,f,u,o),function(t,n,i,r,e){t.th(i),t.sc(Wo),function(t,n){t.th(Vo),t.sc(Uo),t.th(0),t.th(n)}(t,r),ef(t,n,n.video?n.video:void 0,1,e),ef(t,n,n.audio?n.audio:void 0,2,e)}(e,t,s,n,u),function(t,n,i){var r=n.video&&n.video.TW||[],e=n.audio&&n.audio.TW||[];t.th(i),t.sc(yu);for(var u=0;u<r.length;u++){var o=r[u];t.mh(o)}for(var f=0;f<e.length;f++){var s=e[f];t.mh(s)}}(e,t,c),e}function vu(t){return t.WBt===Ee.Ggt||t.WBt===Ee.qgt||t.WBt===Ee.eLt}function lu(t){return t.WBt===Ee.ALt}function _u(t){var n=t.length;if(n)for(var i=t[0].XE.sst,r=0;r<n;r+=1){var e=t[r].XE;e.wLt=e.rst.Cp(i),i=i.Ek(e.ust)}}var du=[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],wu=[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],yu=[109,100,97,116],pu=[109,111,111,118],gu=[109,118,104,100],mu=[116,114,97,107],Iu=[116,107,104,100],ku=[109,118,101,120],Su=[116,114,101,120],bu=32,Eu=[101,100,116,115],Tu=[101,108,115,116],Ru=[109,100,105,97],Nu=[109,100,104,100],Au=[99,116,116,115],Du=[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],Ou=[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],Cu=45,Pu=[109,105,110,102],Fu=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],Bu=16,Mu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],xu=20,Lu=[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],Wu=36,Uu=[115,116,98,108],Vu=[115,116,115,100],Hu=[97,118,99,67],Gu=[101,115,100,115],ju=[115,116,115,115],zu=[115,116,116,115],Ku=[115,116,115,99],qu=[115,116,115,122],Xu=[115,116,99,111],Yu=[112,97,115,112],$u=[97,118,99,49],Zu=[109,112,52,97],Ju=[1,0],Qu=[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],to=9e4;function no(t){if(t&&!t.xS){var n=t.zCt,i=t.WCt;t.xS=function(t,n){var i=t.length,r=n.length,e=[];return Ae(e,1),Ae(e,t[1]),Ae(e,t[2]),Ae(e,t[3]),Ae(e,255),Ae(e,225),Ae(e,(65280&i)>>8),Ae(e,255&i),De(e,t),Ae(e,1),Ae(e,(65280&r)>>8),Ae(e,255&r),De(e,n),e}(n,i);var r=new Ce;r.crt(n,0,n.length);var e=function(t){var n,i,r,e,u,o,f=new su(t),s=0,c=0,h=0,a=0,l=f.Eu(1),_={bit:32};if(eu(f,_),100===l||110===l||122===l||144===l){var d=eu(f,_);if(3===d&&(n=iu(f,_)),eu(f,_),eu(f,_),iu(f,_),1===iu(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===iu(f,_)&&fu(f,_,w<6?16:64)}var y=eu(f,_),p=eu(f,_);if(0===p)eu(f,_);else if(1===p){iu(f,_),uu(f,_),uu(f,_);for(var g=eu(f,_),m=0;m<g;m+=1)uu(f,_)}eu(f,_),iu(f,_);var I=eu(f,_),k=eu(f,_),S=iu(f,_);if(0===S&&iu(f,_),iu(f,_),1===iu(f,_)&&(s=eu(f,_),c=eu(f,_),h=eu(f,_),a=eu(f,_)),1===iu(f,_)){if(1===iu(f,_)){var b=ru(f,_,8);if(255===b)i=ru(f,_,16),r=ru(f,_,16);else{var E=ou[b];E&&(i=E[0],r=E[1])}}1===iu(f,_)&&iu(f,_),1===iu(f,_)&&(ru(f,_,3),iu(f,_),1===iu(f,_)&&(ru(f,_,8),ru(f,_,8),ru(f,_,8))),1===iu(f,_)&&(eu(f,_),eu(f,_)),1===(e=iu(f,_))&&(u=ru(f,_,32),o=ru(f,_,32),iu(f,_))}return{width:v.floor(16*(I+1)-2*s-2*c),height:v.floor((2-S)*(k+1)*16-2*h-2*a),jS:i,KS:r,Jrt:!!e&&o/(2*u),$rt:n,tst:y}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.jS&&e.KS&&(t.jS=e.jS,t.KS=e.KS)}}function io(t,n){var i=t.Jrt||0;if(vu(t))return t.cLt;var r=v.max(to,i);return n?v.round(r):r}function ro(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].Fg;return i};return t.video&&(n+=i(t.video.TW)),t.audio&&(n+=i(t.audio.TW)),n}function eo(t,n,i,r){var e=je.Nb(0,t.mb);return n?(r||e).Ek(t):i||e}function uo(t,n,i){var r=t.video&&eo(je.Nb(t.video.duration,to),n,i,t.video.QBt)||je.Hp,e=t.audio&&eo(je.Nb(t.audio.duration,to),n,i,t.audio.QBt)||je.Hp;return 0!==je.pb(r,e).Ab(to).Yp().high?1:0}function oo(t,n,i){return 1===uo(t,n,i)?120:108}function fo(t,n,i){return 0!==eo(je.Nb(t.duration,to),n,i,t.QBt).Ab(to).Yp().high?1:0}function so(t,n,i){return 1===fo(t,n,i)?104:92}function co(t,n,i){var r=io(t,!1),e=eo(je.Nb(t.duration,r),n,i);return e.pp(je.Nb(v.pow(2,32)-1,e.mb))?1:0}function ho(t,n,i){return 1===co(t,n,i)?44:32}function ao(t){if(t.hasOwnProperty("zh"))return t.zh;for(var n=0,i=0,r=t.TW;i<r.length;i++){r[i].XE.ast&&(n+=1)}return t.zh=n,n}function vo(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?bu:0)+(r?bu:0)}function lo(t){return!lu(t)&&t.dLt?t.dLt.length+12:0}function _o(t){return lu(t)?110+t.xS.length+lo(t)+(t.jS&&t.KS?16:0):52+lo(t)}function wo(t,n){return lu(t)&&n?16+4*ao(t):0}function yo(t,n){return t.qBt&&n&&lu(t)?16+8*t.TW.length:0}function po(t,n){return 20+(n?4*t.TW.length:0)}function go(t,n){return 16+(n?4*t.TW.length:0)}function mo(t,n){return lu(t)?16+(n?8*t.TW.length:0):16+(n?8:0)}function Io(t){return 16+(t?12:0)}function ko(t,n){return 8+_o(t)+wo(t,n)+yo(t,n)+mo(t,n)+Io(n)+po(t,n)+go(t,n)}function So(t,n){return 8+(lu(t)?xu:Bu)+Wu+ko(t,n)}function bo(t,n,i){return 8+ho(t,n,i)+Cu+So(t,n)}function Eo(t){var n=v.floor(to*t.duration||0),i=t.QBt;return n>v.pow(2,31)-1||i.pp(je.Fp(v.pow(2,31)-1,to))?1:0}function To(t,n){return n?1===Eo(t)?24+(t.QBt.qp()?20:40):24+(t.QBt.qp()?12:24):0}function Ro(t,n,i){return t&&0!==a.keys(t).length?8+so(t,n,i)+bo(t,n,i)+To(t,n):0}function No(t,n,i){var r=_o(n),e=function(t){if(t===Ee.ALt)return $u;if(t===Ee.Ggt)return Zu;if(t===Ee.qgt||t===Ee.eLt)return Zu;throw new c("unknown codec "+t)}(n.WBt);t.th(r),t.sc(Vu),t.th(0),t.th(1),t.th(r-16),t.sc(e),t.th(0),t.xh(0),t.xh(1),e===$u&&lu(n)?(t.th(0),t.th(0),t.th(0),t.th(0),t.xh(n.width||0),t.xh(n.height||0),t.xh(72),t.xh(0),t.xh(72),t.xh(0),t.th(0),t.xh(1),t.sc([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.xh(24),t.sc([255,255]),t.th(8+n.xS.length),t.sc(Hu),t.sc(n.xS)):e===Zu&&vu(n)&&(t.th(0),t.th(0),t.xh(n.vLt),t.xh(16),t.xh(0),t.xh(0),t.xh(n.cLt),t.xh(0)),lu(n)&&n.jS&&n.KS&&(t.th(16),t.sc(Yu),t.th(n.jS),t.th(n.KS)),!lu(n)&&n.dLt&&(t.th(lo(n)),t.sc(Gu),t.th(0),t.sc(n.dLt))}function Ao(t,n,i){var r=io(n,!0),e=i?n.TW.length:0;!function(t){var n=t.length;if(n){var i=(t=ae(t,function(t,n){return function(t,n){return t.bp(n)}(t.XE.sst,n.XE.sst)}))[0].XE;i.mLt=je.Hp;for(var r=1;r<n;r+=1){var e=t[r].XE,u=e.sst.Cp(i.sst);e.mLt=je.pb(u,je.Hp),i=e}}}(n.TW),t.th(e);for(var u=0;u<e;u+=1){var o=n.TW[u].XE.mLt;t.th(1),t.th(o.Ab(r,Ue.Hb).Yp().toInt())}}function Do(t,n,i,r){var e=ko(n,!!r);t.th(e),t.sc(Uu),No(t,n),function(t,n,i){t.th(mo(n,i)),t.sc(zu),t.th(0),lu(n)?Ao(t,n,i):function(t,n,i){t.th(i?1:0),i&&(t.th(n.TW.length),t.th(n.fLt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(lu(n)&&i){var r=wo(n,i);t.th(r),t.sc(ju),t.th(0),t.th(ao(n));for(var e=0;e<n.TW.length;e+=1)n.TW[e].XE.ast&&t.th(e+1)}}(t,n,!!r),function(t,n,i){var r=io(n,!1);if(n.qBt&&i&&lu(n)){_u(n.TW);var e=yo(n,i);t.th(e),t.sc(Au),t.th(0),t.th(n.TW.length);for(var u=0,o=n.TW;u<o.length;u++){var f=o[u].XE.wLt;t.th(1),t.th(f.Ab(r,Ue.Hb).Yp().toInt())}}}(t,n,!!r),function(t,n){t.th(Io(n)),t.sc(Ku),t.th(0),t.th(n?1:0),n&&(t.th(1),t.th(1),t.th(1))}(t,!!r),function(t,n,i){var r=po(n,i);if(t.th(r),t.sc(qu),t.th(0),t.th(0),t.th(i?n.TW.length:0),i)for(var e=0,u=n.TW;e<u.length;e++){var o=u[e];t.th(o.Fg)}}(t,n,!!r),function(t,n,i){var r=go(n,!!i);t.th(r),t.sc(Xu),t.th(0),t.th(i?n.TW.length:0),i&&t.sc(i)}(t,n,r)}function Oo(t,n,i,r){var e=So(n,!!r);t.th(e),t.sc(Pu),lu(n)?function(t){t.sc(Mu)}(t):function(t){t.sc(Fu)}(t),function(t){t.sc(Lu)}(t),Do(t,n,0,r)}function Co(t,n,i,r,e){var u=bo(n,!!r,e);t.th(u),t.sc(Ru),function(t,n,i,r){var e=ho(n,i,r),u=io(n,!1),o=eo(je.Nb(n.duration,u),i,r);u=v.round(u),t.th(e),t.sc(Nu),1===co(n,i,r)?(t.th(16777216),t.bh(j.ZERO),t.bh(j.ZERO),t.th(u),uf(t,o)):(t.th(0),t.th(0),t.th(0),t.th(u),of(t,o)),t.sc([85,196]),t.sc([0,0])}(t,n,!!r,e),function(t,n){n?t.sc(Du):t.sc(Ou)}(t,lu(n)),Oo(t,n,0,r)}function Po(t,n){t.th(bu),t.sc(Su),t.th(0),t.th(n),t.th(1),t.th(0),t.th(0),t.th(0)}function Fo(t,n,i,r,e){var u=Ro(n,!!i,e);n&&0!==u&&(t.th(u),t.sc(mu),function(t,n,i,r,e){var u=eo(je.Nb(n.duration,to),r,e,n.QBt),o=so(n,r,e),f=lu(n);t.th(o),t.sc(Iu),1===fo(n,r,e)?(t.th(16777231),t.bh(j.ZERO),t.bh(j.ZERO),t.th(i),t.th(0),uf(t,u)):(t.th(15),t.th(0),t.th(0),t.th(i),t.th(0),of(t,u)),t.th(0),t.th(0),t.xh(0),t.xh(f?0:1),t.sc(f?[0,0]:Ju),t.sc([0,0]),t.sc(Qu),lu(n)?(t.xh(n.width||0),t.xh(0),t.xh(n.height||0),t.xh(0)):(t.th(0),t.th(0))}(t,n,r,!!i,e),i&&function(t,n){var i=To(n,!0),r=v.floor(to*n.duration||0),e=Eo(n);t.th(i),t.sc(Eu),t.th(i-8),t.sc(Tu),1===e?t.th(16777216):t.th(0),t.th(n.QBt.qp()?1:2),n.QBt.qp()||(1===e?(uf(t,n.QBt),t.sc([255,255,255,255,255,255,255,255])):(of(t,n.QBt),t.sc([255,255,255,255])),t.xh(1),t.xh(0)),1===e?(t.bh(j.fromNumber(r)),t.bh(j.ZERO)):(t.th(r),t.th(0)),t.xh(1),t.xh(0)}(t,n),Co(t,n,0,i,e))}function Bo(t,n,i){var r=Ro(t.video?t.video:void 0,n,i),e=Ro(t.audio?t.audio:void 0,n,i);return 8+oo(t,n,i)+vo(t,n)+r+e}function Mo(t,n,i,r,e){t.th(i),t.sc(pu),function(t,n,i,r){var e=oo(n,i,r),u=n.video&&eo(je.Nb(n.video.duration,to),i,r,n.video.QBt)||je.Hp,o=n.audio&&eo(je.Nb(n.audio.duration,to),i,r,n.audio.QBt)||je.Hp,f=je.pb(u,o);t.th(e),t.sc(gu),1===uo(n,i,r)?(t.th(16777216),t.bh(j.ZERO),t.bh(j.ZERO),t.th(to),uf(t,f)):(t.th(0),t.th(0),t.th(0),t.th(to),of(t,f)),t.sc([0,1,0,0]),t.sc(Ju),t.sc([0,0,0,0,0,0,0,0,0,0]),t.sc(Qu),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(0),t.th(3)}(t,n,!!r,e),r||function(t,n){t.th(vo(n,!1)),t.sc(ku),n.video&&0!==a.keys(n.video).length&&Po(t,1),n.audio&&0!==a.keys(n.audio).length&&Po(t,2)}(t,n),Fo(t,n.video?n.video:void 0,r&&r.video,1,e),Fo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var xo=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],Lo=[115,105,100,120],Wo=[109,111,111,102],Uo=[109,102,104,100],Vo=16,Ho=[116,114,97,102],Go=[116,102,104,100],jo=24,zo=[116,102,100,116],Ko=[116,114,117,110],qo=[115,100,116,112];function Xo(t){return lu(t)?20+16*t.TW.length:20+4*t.TW.length}function Yo(t){return lu(t)?12+t.TW.length:0}function $o(t,n){var i=io(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function Zo(t,n){return 1===$o(t,n)?20:16}function Jo(t,n){return t&&t.TW?8+jo+Zo(t,n)+Xo(t)+Yo(t):0}function Qo(t,n){var i=Jo(t.audio?t.audio:void 0,n),r=Jo(t.video?t.video:void 0,n);return 8+Vo+i+r}function tf(t){if(!t||!t.TW)return 0;for(var n=0,i=0,r=t.TW;i<r.length;i++){n+=r[i].Fg}return n}function nf(t,n){return v.round(n*to)>v.pow(2,32)-1?1:0}function rf(t,n,i,r){lu(i)?function(t,n,i,r){var e=Qo(n,r)+8,u=io(i,!1);_u(i.TW),t.th(Xo(i)),t.sc(Ko),t.sc([1,0,15,1]),t.th(i.TW.length),t.th(e);for(var o=0,f=i.TW;o<f.length;o++){var s=f[o];t.th(v.round(s.XE.Kw*u));var c=s.XE.wLt;t.th(s.Fg),t.sc(s.XE.ast?[2,0,0,0]:[0,1,0,0]),t.th(c.Ab(u).Yp().toInt())}}(t,n,i,r):function(t,n,i,r){var e=tf(n.video?n.video:void 0),u=Qo(n,r)+8+e;t.th(Xo(i)),t.sc(Ko),t.sc([0,0,2,1]),t.th(i.TW.length),t.th(u);for(var o=0,f=i.TW;o<f.length;o++){var s=f[o];t.th(s.Fg)}}(t,n,i,r)}function ef(t,n,i,r,e){i&&(t.th(Jo(i,e)),t.sc(Ho),function(t,n,i){var r=io(n,!0),e=lu(n)?v.round(r/(n.YBt.kp()||0)):n.fLt;t.th(jo),t.sc(Go),t.th(40),t.th(i),t.th(e),t.sc(lu(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=io(n,!0),e=v.round(i*r);t.th(Zo(n,i)),t.sc(zo),1===$o(n,i)?(t.th(16777216),t.bh(j.fromNumber(e))):(t.th(0),t.th(e))}(t,i,e),rf(t,n,i,e),function(t,n,i){if(lu(i)){t.th(Yo(i)),t.sc(qo),t.sc([0,0,0,0]);for(var r=0,e=i.TW;r<e.length;r++)e[r].XE.ast?t.nv(32):t.nv(16)}}(t,0,i))}function uf(t,n){t.bh(n.Ab(to).Yp())}function of(t,n){t.th(n.Ab(to).Yp().toNumber())}var ff,sf={iv:function(t,n){n.su(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].Fg;return r}(t.audio.TW)),n}(t));for(var i=0,r=t.audio&&t.audio.TW||[],e=r.length;i<e;)n.mh(r[i]),i+=1}},cf=function(){function t(t){this.Hi=void 0,this.Fd=void 0,this.sv=0,this.Fd=t}var n=t.prototype;return n.cv=function(t,n,i){var r=this.sv,e=this.Hi;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.sv=r},n.su=function(t){this.Hi=new w(t),this.sv=0},n.nv=function(t){this.Hi&&(this.Hi[this.sv]=t,this.sv+=1)},n.sc=function(t,n,i){this.Hi&&this.cv(t,n,i)},n.mh=function(t){this.sv=t.grt(this.Hi,this.sv)},n.Vb=function(t){return t(this.Hi,this.Fd)},n.xh=function(t){return this.sc([(n=t)>>>8&255,255&n]);var n},n.th=function(t){return this.sc(Ne(t))},n.bh=function(t){var n=t.toUnsigned();this.th(n.high),this.th(n.low)},t}(),hf=t;function af(t,n){return void 0===ff&&(ff=function(){var t=new w(1);try{return hf.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&ff?hf.postMessage(t,n):hf.postMessage(t)}var vf,lf,_f,df="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),wf=16383;function yf(t,n,i){for(var r,e,u,o=[],f=n;f<i;f+=3)o.push((r=t[f],e=t[f+1],u=t[f+2],df[r>>2]+df[(3&r)<<4|e>>4]+df[(15&e)<<2|u>>6]+df[63&u]));return o.join("")}function pf(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=wf)r.push(yf(t,u,v.min(e,u+wf)));if(1===i){var o=t[n-1];r.push(df[o>>2]+df[(3&o)<<4]+"==")}else if(2===i){var f=t[n-2],s=t[n-1];r.push(df[f>>2]+df[(3&f)<<4|s>>4]+df[(15&s)<<2]+"=")}return r.join("")}function gf(t){return{lT:t.lT,XE:{DJ:t.XE.DJ,bj:ze(t.XE.ist)},TW:t.TW}}function mf(t){return{bj:ze(t.bj),sE:t.sE,mrt:t.mrt,yrt:t.yrt,hs:t.hs,DY:t.DY,krt:t.krt,prt:t.prt}}function If(t){return{UBt:t.UBt,TW:[],WBt:t.WBt,qBt:t.qBt,duration:t.duration,GBt:t.GBt,QBt:ze(t.QBt),Jrt:t.Jrt,YBt:ze(t.YBt),jBt:t.jBt,KBt:ze(t.KBt),ZBt:ze(t.ZBt),JBt:ze(t.JBt),$Bt:ze(t.$Bt),tLt:ze(t.tLt),nLt:ze(t.nLt),iLt:ze(t.iLt)}}function kf(t){switch(t.WBt){case Ee.qgt:case Ee.eLt:return function(t){return xr({},Sf(t),{WBt:t.WBt,TW:t.TW.map(function(t){return function(t){var n=bf(t),i=(r=n.XE,xr({},Tf(r),{rLt:r.rLt,sLt:r.sLt,uLt:r.uLt}));var r;return n.Lu(i)}(t)}),jCt:t.jCt,oLt:t.oLt})}(t);case Ee.Ggt:return function(t){return xr({},Sf(t),{WBt:t.WBt,TW:t.TW.map(function(t){return function(t){var n=bf(t),i=(r=n.XE,xr({},Tf(r),{yT:r.yT,KT:r.KT,hLt:r.hLt,zgt:r.zgt,aLt:r.aLt}));var r;return n.Lu(i)}(t)})})}(t)}}function Sf(t){return xr({},If(t),{TW:[],WBt:t.WBt,cLt:t.cLt,fLt:t.fLt,vLt:t.vLt,dLt:t.dLt})}function bf(t){var n=new Ce;return n.crt(t.lLt,0,t._Lt),n.XE=t.gLt,n}function Ef(t){var n;return xr({},{DJ:(n=t).DJ,ist:ze(n.ist)},{rst:ze(t.rst),sst:ze(t.sst)})}function Tf(t){return xr({},Ef(t))}!function(t){t.Ggt="DFt",t.Nw="CFt",t.PFt="OFt",t.BFt="LFt",t.MFt="xFt"}(vf||(vf={})),function(t){t.FFt="UFt",t.HFt="VFt"}(lf||(lf={})),function(t){t.XFt="audio/mp4",t.zFt="audio/mpeg",t.WFt="video/mp4"}(_f||(_f={}));var Rf=t;function Nf(t,n,i){n={},i||(i="PIW0031"),Rf.postMessage({CUt:"xUt",PUt:t,BUt:n.message||i,av:n.name,lv:n.stack,dv:JSON.stringify(n)})}function Af(t,n){return{Hi:pf(t),Fd:n}}Rf.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.hUt,f=u.vUt,s=u.cUt,c=[],h=f===lf.FFt?function(t,n,i){return t.push(n.buffer),{Hi:n,Fd:i}}.bind(void 0,c):Af;if("aUt"===o){r=function(t){return{audio:t.audio?kf(t.audio):void 0,video:t.video?(i=t.video,r=If(i),xr({},r,{WBt:i.WBt,TW:i.TW.map(function(t){return function(t){var n,i=bf(t),r=xr({},Ef(n=i.XE),{Kw:n.Kw,ust:ze(n.ust),ost:n.ost,hst:n.hst,wLt:n.wLt&&ze(n.wLt),mLt:n.mLt&&ze(n.mLt),ast:n.ast,vst:n.vst,cst:n.cst,fst:n.fst});return i.Lu(r)}(t)}),yLt:i.yLt,kLt:i.kLt,xS:i.xS,width:i.width,height:i.height,iat:i.iat,pLt:i.pLt,rat:i.rat,zCt:i.zCt,WCt:i.WCt,jS:i.jS,KS:i.KS})):void 0,FBt:t.FBt?(n=t.FBt,{UBt:n.UBt,bPt:n.bPt,hw:n.hw,ogt:n.ogt,HBt:n.HBt,VBt:n.VBt,XBt:n.XBt.map(gf),dw:[]}):void 0,cst:t.cst?t.cst.map(mf):t.cst,zBt:ze(t.zBt)};var n,i,r}(u.lUt),u.lUt=void 0;try{if((e=u.fUt)===vf.MFt||e===vf.BFt||e===vf.PFt)n=function(t,n){var i=t.dUt,r=t._Ut,e=ze(t.wUt),u=ze(t.mUt),o=t.gUt&&ze(t.gUt);switch(t.fUt){case vf.PFt:var f=new cf(i);return au(n,r,e,u,f),f;case vf.BFt:var s=new cf(i);return hu(n,o,s),s;case vf.MFt:var c={AEt:new cf(i),zUt:new cf(i),Vb:function(t){return{AEt:c.AEt.Vb(t),zUt:c.zUt.Vb(t)}}};return hu(n,o,c.AEt),au(n,r,e,u,c.zUt),c}}(u,r);else{if(!function(t){var n=t.fUt;return n===vf.Nw||n===vf.Ggt}(u))return Nf(s,{},"PIW0072");n=function(t,n){var i=t.dUt;switch(t.fUt){case vf.Ggt:var r=new cf(i);return sf.iv(n,r),r;case vf.Nw:var e=new cf(i);return cu(n,e),e}}(u,r)}}catch(t){return Nf(s,t,"PIW0082")}try{i=n.Vb(h)}catch(t){return Nf(s,t,"PIW0077")}try{return af({CUt:"LUt",PUt:s,OUt:i},c)}catch(t){return Nf(s,t,"PIW0078")}}return Nf(s,{},"PIW0090")},!1),Rf.postMessage({MNt:"3.6.1"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);