@theoplayer/extended 5.11.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/theoplayer.p.js DELETED
@@ -1,31 +0,0 @@
1
- /*!
2
- THEOplayer
3
-
4
- Usage of this software is limited by the THEOplayer License.
5
-
6
- It is prohibited to reverse engineer, decompile, translate,
7
- disassemble, decipher, decrypt, or otherwise attempt to
8
- discover the source code of this software.
9
-
10
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
11
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
12
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
14
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
15
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
17
- OTHER DEALINGS IN THE SOFTWARE.
18
-
19
- For more information, visit https://www.theoplayer.com or contact
20
- contact @ theoplayer . com
21
-
22
-
23
-
24
-
25
- THEOplayer is based on patented technology developed by
26
- THEO Technologies (https://www.theoplayer.com).
27
-
28
- Version: 5.11.0 (5.11.0)
29
- Created: 2023-09-11T13:54:10.050Z
30
- */
31
- !function(t){"use strict";var n=t.window,r=t.document,i=(t.location,t.navigator),e=t.setTimeout,u=t.clearTimeout,o=t.setInterval,f=t.clearInterval,s=t.Error,a=t.TypeError,c=(t.SyntaxError,t.Object),h=t.Math,v=t.parseInt,l=t.parseFloat,_=t.isNaN,d=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function w(t){return t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var y=e;function g(t){return Boolean(t&&void 0!==t.length)}function p(){}function I(t){if(!(this instanceof I))throw new a("Promises must be constructed via new");if("function"!=typeof t)throw new a("not a function");this.l=0,this.g=!1,this.I=void 0,this.R=[],A(t,this)}function m(t,n){for(;3===t.l;)t=t.I;0!==t.l?(t.g=!0,I.N((function(){var r=1===t.l?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.I)}catch(t){return void S(n.promise,t)}k(n.promise,i)}else(1===t.l?k:S)(n.promise,t.I)}))):t.R.push(n)}function k(t,n){try{if(n===t)throw new a("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if(n instanceof I)return t.l=3,t.I=n,void b(t);if("function"==typeof r)return void A((i=r,e=n,function(){i.apply(e,arguments)}),t)}t.l=1,t.I=n,b(t)}catch(n){S(t,n)}var i,e}function S(t,n){t.l=2,t.I=n,b(t)}function b(t){2===t.l&&0===t.R.length&&I.N((function(){t.g||I.U(t.I)}));for(var n=0,r=t.R.length;n<r;n++)m(t,t.R[n]);t.R=null}function E(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function A(t,n){var r=!1;try{t((function(t){r||(r=!0,k(n,t))}),(function(t){r||(r=!0,S(n,t))}))}catch(t){if(r)return;r=!0,S(n,t)}}I.prototype.catch=function(t){return this.then(null,t)},I.prototype.then=function(t,n){var r=new this.constructor(p);return m(this,new E(t,n,r)),r},I.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)}))}))},I.all=function(t){return new I((function(n,r){if(!g(t))return r(new a("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,(function(n){u(t,n)}),r)}i[t]=o,0==--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])}))},I.allSettled=function(t){return new this((function(n,r){if(!t||void 0===t.length)return r(new a((void 0===t?"undefined":w(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])}))},I.resolve=function(t){return t&&"object"==typeof t&&t.constructor===I?t:new I((function(n){n(t)}))},I.reject=function(t){return new I((function(n,r){r(t)}))},I.race=function(t){return new I((function(n,r){if(!g(t))return r(new a("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)I.resolve(t[i]).then(n,r)}))},I.N="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){y(t,0)},I.U=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var T,R=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),O=i?i.userAgent:"",N=O.match(/Firefox\/([0-9]+)/i),D=null!=N,P=N?Number(N[1]):0,F=O.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),B=null!=F,C=F?Number(F[3]):0,M=((T=function(t){this.V=0,this.q=0,this.G=[],this.Y=t}).prototype.F=function(t){var n=this.length();this.j(n+1);var r=this.q+n&this.Y-1;this.G[r]=t,this.V=n+1},T.prototype.push=function(t){var n=this.length()+1;if(this.Y<n)this.F(t);else{var r=this.q+n-1,i=this.Y-1;this.G[r&i]=t,this.V=n}},T.prototype.shift=function(){var t=this.q,n=this.G[t];return this.G[t]=void 0,this.q=t+1&this.Y-1,this.V--,n},T.prototype.length=function(){return this.V},T.prototype.j=function(t){this.Y<t&&this.K(this.Y<<1)},T.prototype.K=function(t){var n=this.Y;this.Y=t;var r=this.q+this.V&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.G,0,n,r)},T);var W="unhandledrejection",L=t.PromiseRejectionEvent,U=t.CustomEvent;function j(t){return new L(W,{reason:t,promise:R.reject(t).catch((function(){})),cancelable:!0})}function V(t){var n=new U(W,{detail:{reason:t},cancelable:!0});return c.defineProperty(n,"reason",{value:t}),n}function x(t){var n=r.createEvent("CustomEvent");return n.initCustomEvent(W,!1,!0,{reason:t}),n}var H,z,G,K,q,X,Z,$,Y,J,Q=function(t){return(Q=function(){try{var t=R.resolve(),n="error",r=new L(W,{reason:n,promise:t});return W===r.type&&n===r.reason}catch(t){}return!1}()?j:function(){try{var t="error",n=new U(W,{detail:{reason:t}});return W===n.type&&t===n.detail.reason}catch(t){}return!1}()?V:x)(t)};function tt(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),c.defineProperty(t,i.key,i)}}function nt(t,n,r){return n&&tt(t.prototype,n),r&&tt(t,r),t}function rt(t,n){return(rt=c.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function it(t,n){if("function"!=typeof n&&null!==n)throw new a("Super expression must either be null or a function");t.prototype=c.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&rt(t,n)}function et(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,i=new Array(n);r<n;r++)i[r]=t[r];return i}function ut(t,n){if(t){if("string"==typeof t)return et(t,n);var r=c.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?et(t,n):void 0}}function ot(t){return function(t){if(Array.isArray(t))return et(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ut(t)||function(){throw new a("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}R&&!(D&&P<60||B&&C<15)?z=R:(z=I,Z=null!==(H=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var r=R;if(r&&"function"==typeof r.resolve){var i=r.resolve();return function(t){return i.then(t)}}}())&&void 0!==H?H:I.N,G=Z,K=new M(16),q=!1,($={J:function(t){K.push(t),q||(q=!0,G(X))},Z:X=function(){for(;K.length()>0;)K.shift()();q=!1}}).Z,I.N=$.J,I.U=function(n){try{var r=Q(n);if(!t.dispatchEvent(r)||r.defaultPrevented)return}catch(t){}e((function(){throw new s("Unhandled promise rejection: ".concat(n))}),0)}),(J=Y||(Y={})).Mn="web",J.xn="android",J.Un="android-tv",J.Fn="ios",J.Hn="tvos",J.Vn="chromecast";var ft=i?i.userAgent:"",st=ft.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),at=ft.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),ct=ft.match(/Android ([0-9\.]+)/i),ht=ft.match(/Windows NT ([0-9\.]+)/i),vt=ft.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),lt=ft.match(/Firefox\/([0-9\.]+)/i),_t=ft.match(/OPR\/(\d+\.\d+)/i),dt=ft.match(/Tizen ([0-9\.]+)/i),wt=ft.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),yt=function(){function n(){this.Xn=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||i&&i.msMaxTouchPoints),this.zn=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(ft)||/(macintosh|mac(?=_powerpc)\s)/i.test(ft),this.Wn=/Windows NT/i.test(ft),this.qn=ht?l(ht[1]):0,this.Gn=/Android/i.test(ft),this.Yn=ct?l(ct[1]):0,this.jn=/windows phone (8|8\.1)/i.test(ft),this.Qn=/iPhone/i.test(ft),this.Kn=/iPad/i.test(ft),this.Zn=this.zn&&this.Xn&&!this.Kn,this.Jn=/iPod/i.test(ft),this.$n=/Mobile Safari/i.test(ft),this.ni=/EOS\d*STB/i.test(ft),this.ri=/APP\d*STB/i.test(ft),this.ei=(this.Qn||this.Kn||this.Zn||this.Jn)&&!this.jn,this.oi=wt?l(wt[2]):0,this.ai=this.jn||this.ei||this.Gn||this.$n,this.ci=/CriOS/i.test(ft),this.di=Boolean(t.chrome&&/google/i.test(i.vendor))||this.ci,this._i=this.di&&/Edg\//i.test(i.userAgent),this.gi=at?v(at[1],10):0,this.wi=Boolean(t.chrome||/Chrome/i.test(ft)||/CriOS/i.test(ft)),this.Ai=st?v(st[1],10):0,this.Ti=/SMART-TV.*Tizen/i.test(ft),this.Si=dt?l(dt[1]):0,this.Ei=/webos|web0s/i.test(ft),this.Ii=/VIZIO/i.test(ft),this.Ri=/Edge\/\d+/i.test(ft),this.Ni=/Trident/i.test(ft),this.Di=this.Ni&&!t.ActiveXObject&&"ActiveXObject"in t,this.Ci=/Vivaldi/i.test(ft),this.Pi=/Firefox/i.test(ft)&&!/Seamonkey/i.test(ft),this.Oi=lt?l(lt[1]):0,this.Bi=/Safari/i.test(ft)&&!/Chrome/i.test(ft)&&!this.jn&&!this.Ti,this.Li=vt?l(vt[2]):0,this.Mi=Boolean(_t),this.xi=_t?l(_t[1]):0,this.Ui=/CrKey/.test(ft),this.Fi=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(ft),this.Hi="web"===Y.Un,this.Vi="web"===Y.xn,this.Xi=this.Vi||this.Hi,this.zi="web"===Y.Fn,this.Wi="web"===Y.Hn,this.qi="web"===Y.Vn}return nt(n,[{key:"Gi",get:function(){return this.Xn}},{key:"Yi",get:function(){return this.zn}},{key:"ji",get:function(){return this.Wn}},{key:"Qi",get:function(){return this.qn}},{key:"Ki",get:function(){return this.Gn}},{key:"Zi",get:function(){return this.Yn}},{key:"Ji",get:function(){return this.jn}},{key:"$i",get:function(){return this.Qn}},{key:"ir",get:function(){return this.Kn}},{key:"rr",get:function(){return this.Zn}},{key:"dr",get:function(){return this.Jn}},{key:"_r",get:function(){return this.ei}},{key:"gr",get:function(){return this.oi}},{key:"wr",get:function(){return this.ni||this.ri}},{key:"yr",get:function(){return this.$n}},{key:"pr",get:function(){return this.ai}},{key:"Ar",get:function(){return this.ci}},{key:"Tr",get:function(){return this.di}},{key:"Sr",get:function(){return this.Ai}},{key:"Er",get:function(){return this._i}},{key:"Ir",get:function(){return this.gi}},{key:"Rr",get:function(){return this.Ti}},{key:"Nr",get:function(){return this.Si}},{key:"Dr",get:function(){return this.Ei}},{key:"Cr",get:function(){return this.Ii}},{key:"Pr",get:function(){return this.Ri}},{key:"Or",get:function(){return this.Ni}},{key:"Br",get:function(){return this.Di}},{key:"Lr",get:function(){return this.Ci}},{key:"Mr",get:function(){return this.Pi}},{key:"Ur",get:function(){return this.Oi}},{key:"Fr",get:function(){return this.Bi}},{key:"Hr",get:function(){return this.Li}},{key:"Vr",get:function(){return this.Mi}},{key:"Xr",get:function(){return this.xi}},{key:"zr",get:function(){return this.Ui}},{key:"Wr",get:function(){return this.Fi}},{key:"qr",get:function(){return!(!this.Dr&&!this.Rr)&&this.Sr<=56}},{key:"Gr",get:function(){return this.Hi}},{key:"Yr",get:function(){return this.Vi}},{key:"jr",get:function(){return this.Xi}},{key:"Qr",get:function(){return this.zi}},{key:"Kr",get:function(){return this.Wi}},{key:"Zr",get:function(){return this.qi}},{key:"Jr",get:function(){return this.wi}}]),n}();yt.$r=new yt;var gt=yt.$r,pt={}.toString;Array.isArray;var It=function(){};function mt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}var kt=!(gt.Or&&!gt.Br),St=t.console;function bt(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function Et(t){return t.map(bt).join(" ")}function At(t){var n=St&&St[t];return n?n.bind&&kt?n.bind(St):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];St[t](Et(r))}:void 0}var Tt,Rt=At("log")||It,Ot=At("warn")||Rt.bind(void 0,"WARNING:"),Nt=At("error")||Rt.bind(void 0,"ERROR:"),Dt=(Tt=St&&St.assert)?Tt.bind&&kt?Tt.bind(St):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];St.assert(t,Et(r))}: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];t||Nt.apply(void 0,["Assertion failed:"].concat(ot(r)))},Pt=null;try{Pt=new WebAssembly.Instance(new WebAssembly.Module(new d([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 Ft(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Bt(t){return!0===(t&&t.fe)}function Ct(t){var n=h.clz32(t&-t);return t?31-n:n}Ft.prototype.fe,c.defineProperty(Ft.prototype,"fe",{value:!0}),Ft.isLong=Bt;var Mt={},Wt={};function Lt(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=Wt[t])?i:(r=jt(t,0,!0),e&&(Wt[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=Mt[t])?i:(r=jt(t,t<0?-1:0,!1),e&&(Mt[t]=r),r)}function Ut(t,n){if(_(t))return n?Zt:Xt;if(n){if(t<0)return Zt;if(t>=Gt)return tn}else{if(t<=-Kt)return nn;if(t+1>=Kt)return Qt}return t<0?Ut(-t,n).neg():jt(t%zt|0,t/zt|0,n)}function jt(t,n,r){return new Ft(t,n,r)}Ft.fromInt=Lt,Ft.fromNumber=Ut,Ft.fromBits=jt;var Vt=h.pow;function xt(t,n,r){if(0===t.length)throw s("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?Zt:Xt;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw s("interior hyphen");if(0===i)return xt(t.substring(1),n,r).neg();for(var e=Ut(Vt(r,8)),u=Xt,o=0;o<t.length;o+=8){var f=h.min(8,t.length-o),a=v(t.substring(o,o+f),r);if(f<8){var c=Ut(Vt(r,f));u=u.mul(c).add(Ut(a))}else u=(u=u.mul(e)).add(Ut(a))}return u.unsigned=n,u}function Ht(t,n){return"number"==typeof t?Ut(t,n):"string"==typeof t?xt(t,n):jt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Ft.fromString=xt,Ft.fromValue=Ht;var zt=4294967296,Gt=zt*zt,Kt=Gt/2,qt=Lt(1<<24),Xt=Lt(0);Ft.ZERO=Xt;var Zt=Lt(0,!0);Ft.UZERO=Zt;var $t=Lt(1);Ft.ONE=$t;var Yt=Lt(1,!0);Ft.UONE=Yt;var Jt=Lt(-1);Ft.NEG_ONE=Jt;var Qt=jt(-1,2147483647,!1);Ft.MAX_VALUE=Qt;var tn=jt(-1,-1,!0);Ft.MAX_UNSIGNED_VALUE=tn;var nn=jt(0,-2147483648,!1);Ft.MIN_VALUE=nn;var rn=Ft.prototype;rn.toInt=function(){return this.unsigned?this.low>>>0:this.low},rn.toNumber=function(){return this.unsigned?(this.high>>>0)*zt+(this.low>>>0):this.high*zt+(this.low>>>0)},rn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(nn)){var n=Ut(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=Ut(Vt(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}},rn.getHighBits=function(){return this.high},rn.getHighBitsUnsigned=function(){return this.high>>>0},rn.getLowBits=function(){return this.low},rn.getLowBitsUnsigned=function(){return this.low>>>0},rn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(nn)?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},rn.isZero=function(){return 0===this.high&&0===this.low},rn.eqz=rn.isZero,rn.isNegative=function(){return!this.unsigned&&this.high<0},rn.isPositive=function(){return this.unsigned||this.high>=0},rn.isOdd=function(){return 1==(1&this.low)},rn.isEven=function(){return 0==(1&this.low)},rn.equals=function(t){return Bt(t)||(t=Ht(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},rn.eq=rn.equals,rn.notEquals=function(t){return!this.eq(t)},rn.neq=rn.notEquals,rn.ne=rn.notEquals,rn.lessThan=function(t){return this.comp(t)<0},rn.lt=rn.lessThan,rn.lessThanOrEqual=function(t){return this.comp(t)<=0},rn.lte=rn.lessThanOrEqual,rn.le=rn.lessThanOrEqual,rn.greaterThan=function(t){return this.comp(t)>0},rn.gt=rn.greaterThan,rn.greaterThanOrEqual=function(t){return this.comp(t)>=0},rn.gte=rn.greaterThanOrEqual,rn.ge=rn.greaterThanOrEqual,rn.compare=function(t){if(Bt(t)||(t=Ht(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},rn.comp=rn.compare,rn.negate=function(){return!this.unsigned&&this.eq(nn)?nn:this.not().add($t)},rn.neg=rn.negate,rn.add=function(t){Bt(t)||(t=Ht(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,a=0,c=0,h=0;return c+=(h+=e+(65535&t.low))>>>16,a+=(c+=i+f)>>>16,s+=(a+=r+o)>>>16,s+=n+u,jt((c&=65535)<<16|(h&=65535),(s&=65535)<<16|(a&=65535),this.unsigned)},rn.subtract=function(t){return Bt(t)||(t=Ht(t)),this.add(t.neg())},rn.sub=rn.subtract,rn.multiply=function(t){if(this.isZero())return this;if(Bt(t)||(t=Ht(t)),Pt)return jt(Pt.mul(this.low,this.high,t.low,t.high),Pt.get_high(),this.unsigned);if(t.isZero())return this.unsigned?Zt:Xt;if(this.eq(nn))return t.isOdd()?nn:Xt;if(t.eq(nn))return this.isOdd()?nn:Xt;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(qt)&&t.lt(qt))return Ut(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,a=0,c=0,h=0,v=0;return h+=(v+=e*s)>>>16,c+=(h+=i*s)>>>16,h&=65535,c+=(h+=e*f)>>>16,a+=(c+=r*s)>>>16,c&=65535,a+=(c+=i*f)>>>16,c&=65535,a+=(c+=e*o)>>>16,a+=n*s+r*f+i*o+e*u,jt((h&=65535)<<16|(v&=65535),(a&=65535)<<16|(c&=65535),this.unsigned)},rn.mul=rn.multiply,rn.divide=function(t){if(Bt(t)||(t=Ht(t)),t.isZero())throw s("division by zero");var n,r,i;if(Pt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?jt((this.unsigned?Pt.div_u:Pt.div_s)(this.low,this.high,t.low,t.high),Pt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?Zt:Xt;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return Zt;if(t.gt(this.shru(1)))return Yt;i=Zt}else{if(this.eq(nn))return t.eq($t)||t.eq(Jt)?nn:t.eq(nn)?$t:(n=this.shr(1).div(t).shl(1)).eq(Xt)?t.isNegative()?$t:Jt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(nn))return this.unsigned?Zt:Xt;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=Xt}for(r=this;r.gte(t);){n=h.max(1,h.floor(r.toNumber()/t.toNumber()));for(var e=h.ceil(h.log(n)/h.LN2),u=e<=48?1:Vt(2,e-48),o=Ut(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=Ut(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=$t),i=i.add(o),r=r.sub(f)}return i},rn.div=rn.divide,rn.modulo=function(t){return Bt(t)||(t=Ht(t)),Pt?jt((this.unsigned?Pt.rem_u:Pt.rem_s)(this.low,this.high,t.low,t.high),Pt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},rn.mod=rn.modulo,rn.rem=rn.modulo,rn.not=function(){return jt(~this.low,~this.high,this.unsigned)},rn.countLeadingZeros=function(){return this.high?h.clz32(this.high):h.clz32(this.low)+32},rn.clz=rn.countLeadingZeros,rn.countTrailingZeros=function(){return this.low?Ct(this.low):Ct(this.high)+32},rn.ctz=rn.countTrailingZeros,rn.and=function(t){return Bt(t)||(t=Ht(t)),jt(this.low&t.low,this.high&t.high,this.unsigned)},rn.or=function(t){return Bt(t)||(t=Ht(t)),jt(this.low|t.low,this.high|t.high,this.unsigned)},rn.xor=function(t){return Bt(t)||(t=Ht(t)),jt(this.low^t.low,this.high^t.high,this.unsigned)},rn.shiftLeft=function(t){return Bt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?jt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):jt(0,this.low<<t-32,this.unsigned)},rn.shl=rn.shiftLeft,rn.shiftRight=function(t){return Bt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?jt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):jt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},rn.shr=rn.shiftRight,rn.shiftRightUnsigned=function(t){return Bt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?jt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):jt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},rn.shru=rn.shiftRightUnsigned,rn.shr_u=rn.shiftRightUnsigned,rn.rotateLeft=function(t){var n;return Bt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?jt(this.high,this.low,this.unsigned):t<32?(n=32-t,jt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),jt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},rn.rotl=rn.rotateLeft,rn.rotateRight=function(t){var n;return Bt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?jt(this.high,this.low,this.unsigned):t<32?(n=32-t,jt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),jt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},rn.rotr=rn.rotateRight,rn.toSigned=function(){return this.unsigned?jt(this.low,this.high,!1):this},rn.toUnsigned=function(){return this.unsigned?this:jt(this.low,this.high,!0)},rn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},rn.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]},rn.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]},Ft.fromBytes=function(t,n,r){return r?Ft.fromBytesLE(t,n):Ft.fromBytesBE(t,n)},Ft.fromBytesLE=function(t,n){return new Ft(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Ft.fromBytesBE=function(t,n){return new Ft(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var en=Ft,un=h.pow(2,-52);function on(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function fn(){return Date.now()||(new Date).getTime()}en.fromNumber(9007199254740991);function sn(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),c.defineProperty(t,i.key,i)}}function an(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){cn(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&cn(r,null,t.length,t),t}function cn(t,n,r,i){var e,u,o,f,s,a=t.length,c=0,h=2*r;for(e=0;e<a;e+=h)for(o=(u=e+r)+r,u>a&&(u=a),o>a&&(o=a),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[c++]=t[f++]:i[c++]=t[s++];else if(f<u)i[c++]=t[f++];else{if(!(s<o))break;i[c++]=t[s++]}}var hn=/[a-zA-Z]/,vn=/[0-9]/,ln=/[0-9a-fA-F]/,_n=/^0x/i,dn=/^[0-9]+$/,wn=/^[0-9a-fA-F]+$/,yn=/^[0-7]+$/,gn=c.prototype.toString,pn=Array.isArray||function(t){return"[object Array]"===gn.call(t)},In="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function mn(t){return pn(t)?t:Array.from(t)}function kn(t){return t>=65&&t<=90}function Sn(t){return kn(t)||function(t){return t>=97&&t<=122}(t)}function bn(t){return t>=48&&t<=57}function En(t){return bn(t)||Sn(t)}function An(t){return bn(t)||t>=65&&t<=70||t>=97&&t<=102}function Tn(t){return kn(t)?t+32:t}function Rn(t){return bn(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function On(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Nn=h.min,Dn=String.fromCharCode;function Pn(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=Nn(i+16384,n);r.push(Dn.apply(null,t.slice(i,e)))}return r.join("")}var Fn=2147483647,Bn=/[^\0-\x7E]/,Cn=/[\x2E\u3002\uFF0E\uFF61]/g,Mn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Wn=h.floor,Ln=String.fromCharCode;function Un(t){throw new RangeError(Mn[t])}function jn(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 Vn,xn,Hn,zn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Gn=function(t,n,r){var i=0;for(t=r?Wn(t/700):t>>1,t+=Wn(t/n);t>455;i+=36)t=Wn(t/35);return Wn(i+36*t/(t+38))},Kn=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(Cn,".")).split("."),n).join(".");return i+e}(t,(function(t){return Bn.test(t)?"xn--"+function(t){for(var n=[],r=(t=jn(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Ln(s))}var a=n.length,c=a;for(a&&n.push("-");c<r;){for(var h=Fn,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=c+1;h-i>Wn((Fn-e)/d)&&Un("overflow"),e+=(h-i)*d,i=h;for(var w=0,y=t;w<y.length;w++){var g=y[w];if(g<i&&++e>Fn&&Un("overflow"),g==i){for(var p=e,I=36;;I+=36){var m=I<=u?1:I>=u+26?26:I-u;if(p<m)break;var k=p-m,S=36-m;n.push(Ln(zn(m+k%S,0))),p=Wn(k/S)}n.push(Ln(zn(p,0))),u=Gn(e,d,c==a),e=0,++c}}++e,++i}return n.join("")}(t):t}))};function qn(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 Pn(n)}function Xn(t){if(t>=55296&&t<=57343)throw new s("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Zn(t,n){return t>>n&63|128}function $n(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(Xn(t),n.push(t>>12&15|224),n.push(Zn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Zn(t,12)),n.push(Zn(t,6))),n.push(63&t|128)):n.push(t)}function Yn(t){for(var n=[],r=0;r<t.length;r++){$n(t[r],n)}return n}function Jn(){if(Hn>=xn)throw new s("Invalid byte index");var t=255&Vn[Hn];if(Hn++,128==(192&t))return 63&t;throw new s("Invalid continuation byte")}function Qn(){var t,n;if(Hn>xn)throw new s("Invalid byte index");if(Hn===xn)return!1;if(t=255&Vn[Hn],Hn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Jn())>=128)return n;throw new s("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Jn()<<6|Jn())>=2048)return Xn(n),n;throw new s("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Jn()<<12|Jn()<<6|Jn())>=65536&&n<=1114111)return n;throw new s("Invalid UTF-8 detected")}function tr(t){return[37,On(t>>4),On(15&t)]}function nr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function rr(t){return nr(t)||32===t||34===t||60===t||62===t||96===t}function ir(t){return rr(t)||35===t||63===t||123===t||125===t}function er(t){return ir(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function ur(t){return t<33||t>126||34===t||35===t||60===t||62===t}function or(t){return ur(t)||39===t}function fr(t,n){if(!n(t))return[t];for(var r=Yn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,tr(u))}return i}function sr(t,n){for(var r=[],i=0,e=jn(t);i<e.length;i++){var u=e[i];r.push.apply(r,fr(u,n))}return qn(r)}function ar(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&&An(t[i+1])&&An(t[i+2])){var u=Rn(t[i+1])<<4|Rn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Yn(t))}function cr(t){return qn(function(t){Vn=t.slice(),xn=Vn.length,Hn=0;for(var n,r=[];!1!==(n=Qn());)r.push(n);return r}(ar(jn(t))))}function hr(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],f=0,s=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new a;c+=2,s=f+=1}for(;c<u;){if(8===f)throw new a("Too many groups");if(":"!==t[c]){for(var h=0,l=0;l<4&&c<u&&ln.test(t[c]);)h=h<<4|v(t[c],16),c+=1,l+=1;if("."===t[c]){if(0===l)throw new a;if(c-=l,f>6)throw new a;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new a;c+=1}if(!vn.test(t[c]))throw new a;for(;c<u&&vn.test(t[c]);){var w=v(t[c],10);if(null===d)d=w;else{if(0===d)throw new a;if((d=10*d+w)>255)throw new a}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new a;break}if(":"===t[c]){if((c+=1)===u)throw new a}else if(c<u)throw new a;o[f]=h,f+=1}else{if(null!==s)throw new a("Too many :: groups");c+=1,s=f+=1}}if(null!==s){var y=f-s;for(f=7;0!==f&&y>0;)i=s+y-1,e=void 0,e=(n=o)[r=f],n[r]=n[i],n[i]=e,f-=1,y-=1}else if(8!==f)throw new a;return o}function vr(t){var n=10,r=dn;return _n.test(t)?(t=t.slice(2),n=16,r=wn):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=yn),""===t?0:r.test(t)?v(t,n):void 0}var lr={_e:4},_r=/[\0\t\n\r #%/:?@\[\\\]]/,dr=/[\0\t\n\r #/:?@\[\\\]]/;function wr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new a("Invalid IPv6 address");return{_e:2,we:hr(t.slice(1,-1))}}if(!n)return function(t){if(dr.test(t))throw new a("Invalid code point in opaque host");var n=sr(t,nr);return""===n?lr:{_e:3,G:n}}(t);var r=function(t){return function(t){return Kn(t.toLowerCase())}(t)}(cr(t));if(_r.test(r))throw new a("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=vr(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new a;if(r[r.length-1]>=h.pow(256,5-r.length))throw new a;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*h.pow(256,3-s);return f}}(r);return void 0!==i?{_e:1,we:i}:""===r?lr:{_e:0,ye:r}}function yr(t){switch(t._e){case 0:return t.ye;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.we);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.we)+"]";case 3:return t.G;case 4:return""}}var gr=/\+/g;function pr(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(gr," "),f=f.replace(gr," ");var s=cr(o),a=cr(f);r.push([s,a])}}return r}function Ir(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=mr(Yn(jn(i[0])))+"="+mr(Yn(jn(i[1])))}return n}function mr(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||En(n)?r.push(e):r.push.apply(r,tr(e))}return Pn(r)}var kr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Sr(t){var n=""+t,r=kr.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Er(u))if(Ar(u)||e===r-1)i.push(br);else{var o=t.charCodeAt(e+1);Ar(o)?(i.push(u,o),e++):i.push(br)}else i.push(u)}return t.slice(0,n)+Pn(i)}(n,r.index):n}var br=65533,Er=function(t){return 55296==(63488&t)},Ar=function(t){return 0!=(1024&t)};function Tr(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function Rr(t){t.me.length=0}function Or(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.me,pr(n))}function Nr(t){if(t.pe){var n=Ir(t.me);""===n&&(n=null),t.pe.pe.ke=n}}var Dr=function(){function t(t){if(void 0===t&&(t=void 0),this.pe=null,null==t)this.me=[];else if("object"==typeof t||"function"==typeof t)if((u=t)instanceof Dr&&pn(u.me)&&(!In||u[Symbol.iterator]===Pr))this.me=t.me.slice();else if(function(t){return null!=t&&(!!pn(t)||!!In&&"function"==typeof t[Symbol.iterator])}(t)){this.me=[];for(var n=0,r=mn(t);n<r.length;n++){var i=mn(r[n]);if(2!==i.length)throw new a("Invalid name-value pair");this.me.push([Sr(i[0]),Sr(i[1])])}}else for(var e in this.me=[],t)c.prototype.hasOwnProperty.call(t,e)&&this.me.push([Sr(e),Sr(t[e])]);else(t=Sr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.me=pr(t);var u}var n=t.prototype;return n.append=function(t,n){t=Sr(t),n=Sr(n),this.me.push([t,n]),Nr(this)},n.delete=function(t){t=Sr(t);for(var n=this.me,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Nr(this)},n.get=function(t){t=Sr(t);for(var n=this.me,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=Sr(t);for(var n=this.me,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=Sr(t);for(var n=this.me,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=Sr(t),n=Sr(n);for(var r=this.me,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]),Nr(this)},n.sort=function(){an(this.me,Tr),Nr(this)},n.toString=function(){return Ir(this.me)},n.entries=function(){return new Mr(this.me,Fr)},n.keys=function(){return new Mr(this.me,Br)},n.values=function(){return new Mr(this.me,Cr)},n.forEach=function(t){var n=this;this.me.forEach((function(r){return t(r[1],r[0],n)}))},t}(),Pr=Dr.prototype.entries;In&&(Dr.prototype[Symbol.iterator]=Pr);var Fr=function(t){return[t[0],t[1]]},Br=function(t){return t[0]},Cr=function(t){return t[1]},Mr=function(){function t(t,n){this.Ae=0,this.me=t,this.Te=n}return t.prototype.next=function(){return this.Ae<this.me.length?{done:!1,value:this.Te(this.me[this.Ae++])}:{done:!0,value:void 0}},t}(),Wr="null";var Lr=c.create(null);Lr.ftp=21,Lr.file=0,Lr.gopher=70,Lr.http=80,Lr.https=443,Lr.ws=80,Lr.wss=443;var Ur=/^(?:\.|%2e)$/i,jr=/^(?:\.|%2e){2}$/i;function Vr(t){return Ur.test(t)}function xr(t){return jr.test(t)}function Hr(t){return void 0!==Lr[t]}function zr(t){return Hr(t.Se)}function Gr(t){return""!==t.Ee||""!==t.Ie}function Kr(t){var n=t.length;if(!(n>=2))return!1;if(!Xr(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 qr(t){return 2===t.length&&hn.test(t[0])&&(":"===t[1]||"|"===t[1])}function Xr(t){return 2===t.length&&qr(Pn(t))}function Zr(t){return qr(t)&&":"===t[1]}function $r(t){var n=t.Re;0!==n.length&&("file"===t.Se&&1===n.length&&Zr(n[0])||n.pop())}function Yr(t){return null===t.Ne||lr===t.Ne||t.De||"file"===t.Se}var Jr=-1,Qr=/\t|\n|\r/g,ti=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function ni(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new ii,t=t.replace(ti,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=jn(t=t.replace(Qr,"")),h=c.length,l=0;l<=h;){var _=l<h?c[l]:Jr;switch(e){case 0:if(!Sn(_)){if(null===i){u.length=0,e=2;continue}throw new a("Invalid scheme")}u.push(Tn(_)),e=1;break;case 1:if(En(_)||43===_||45===_||46===_)u.push(Tn(_));else{if(58!==_){if(null===i){u.length=0,e=2,l=0;continue}throw new a("Invalid scheme")}var d=qn(u);if(null!==i){if(Hr(r.Se)&&!Hr(d))return;if(!Hr(r.Se)&&Hr(d))return;if((Gr(r)||null!==r.Ce)&&"file"===d)return;if("file"===r.Se&&(r.Ne===lr||null===r.Ne))return}if(r.Se=d,null!==i)return void(zr(r)&&r.Ce===Lr[r.Se]&&(r.Ce=null));u.length=0,"file"===r.Se?e=13:zr(r)&&n&&n.Se===r.Se?e=3:zr(r)?e=7:47===c[l+1]?(e=4,l+=1):(r.De=!0,r.Re.push(""),e=18)}break;case 2:if(!n||n.De&&35!==_)throw new a("Invalid scheme");n.De&&35===_?(r.Se=n.Se,r.Re=n.Re.slice(),r.ke=n.ke,r.Pe="",r.De=!0,e=20):"file"!==n.Se?(e=5,l-=1):(e=13,l-=1);break;case 3:47===_&&47===c[l+1]?e=8:(e=5,l-=1);break;case 4:47===_?e=9:(e=17,l-=1);break;case 5:r.Se=n.Se,Jr===_?(r.Ee=n.Ee,r.Ie=n.Ie,r.Ne=n.Ne,r.Ce=n.Ce,r.Re=n.Re.slice(),r.ke=n.ke):47===_?e=6:63===_?(r.Ee=n.Ee,r.Ie=n.Ie,r.Ne=n.Ne,r.Ce=n.Ce,r.Re=n.Re.slice(),r.ke="",e=19):35===_?(r.Ee=n.Ee,r.Ie=n.Ie,r.Ne=n.Ne,r.Ce=n.Ce,r.Re=n.Re.slice(),r.ke=n.ke,r.Pe="",e=20):92===_&&zr(r)?e=6:(r.Ee=n.Ee,r.Ie=n.Ie,r.Ne=n.Ne,r.Ce=n.Ce,r.Re=n.Re.slice(),r.Re.pop(),e=17,l-=1);break;case 6:!zr(r)||47!==_&&92!==_?47===_?e=9:(r.Ee=n.Ee,r.Ie=n.Ie,r.Ne=n.Ne,r.Ce=n.Ce,e=17,l-=1):e=8;break;case 7:if(47!==_||47!==c[l+1]){e=8;continue}e=8,l+=1;break;case 8:47!==_&&92!==_&&(e=9,l-=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 g=qn(fr(y,er));s?r.Ie+=g:r.Ee+=g}else s=!0}u.length=0}else if(Jr===_||47===_||63===_||35===_||zr(r)&&92===_){if(o&&0===u.length)throw new a("Invalid host");l-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.Se)l-=1,e=15;else if(58!==_||f)if(Jr===_||47===_||63===_||35===_||zr(r)&&92===_){if(l-=1,zr(r)&&0===u.length)throw new a("Invalid host");if(null!==i&&0===u.length&&(Gr(r)||null!==r.Ce))return;var p=wr(qn(u),zr(r));if(r.Ne=p,u.length=0,e=16,null!==i)return}else 91===_?f=!0:93===_&&(f=!1),u.push(_);else{if(0===u.length)throw new a("Invalid host");var I=wr(qn(u),zr(r));if(r.Ne=I,u.length=0,e=12,11===i)return}break;case 12:if(bn(_))u.push(_);else{if(!(Jr===_||47===_||63===_||35===_||zr(r)&&92===_||null!==i))throw new a("Invalid port");if(0!==u.length){var m=v(qn(u),10);if(m>65535)throw new a("Invalid port");r.Ce=m===Lr[r.Se]?null:m,u.length=0}if(null!==i)return;e=16,l-=1}break;case 13:r.Se="file",47===_||92===_?e=14:n&&"file"===n.Se?Jr===_?(r.Ne=n.Ne,r.Re=n.Re.slice(),r.ke=n.ke):63===_?(r.Ne=n.Ne,r.Re=n.Re.slice(),r.ke="",e=19):35===_?(r.Ne=n.Ne,r.Re=n.Re.slice(),r.ke=n.ke,r.Pe="",e=20):(Kr(c.slice(l))||(r.Ne=n.Ne,r.Re=n.Re.slice(),$r(r)),e=17,l-=1):(e=17,l-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Se&&!Kr(c.slice(l))&&(Zr(n.Re[0])?r.Re.push(n.Re[0]):r.Ne=n.Ne),e=17,l-=1);break;case 15:if(Jr===_||47===_||92===_||63===_||35===_)if(l-=1,null===i&&Xr(u))e=17;else if(0===u.length){if(r.Ne=lr,null!==i)return;e=16}else{var k=wr(qn(u),zr(r));if(0===k._e&&"localhost"===k.ye&&(k=lr),r.Ne=k,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:zr(r)?(e=17,47!==_&&92!==_&&(l-=1)):null===i&&63===_?(r.ke="",e=19):null===i&&35===_?(r.Pe="",e=20):Jr!==_&&(e=17,47!==_&&(l-=1));break;case 17:if(Jr===_||47===_||zr(r)&&92===_||null===i&&(63===_||35===_)){var S=qn(u);if(xr(S)?($r(r),47===_||zr(r)&&92===_||r.Re.push("")):!Vr(S)||47===_||zr(r)&&92===_?Vr(S)||("file"===r.Se&&0===r.Re.length&&Xr(u)&&(lr!==r.Ne&&null!==r.Ne&&(r.Ne=lr),u[1]=58,S=qn(u)),r.Re.push(S)):r.Re.push(""),u.length=0,"file"===r.Se&&(Jr===_||63===_||35===_))for(;r.Re.length>1&&""===r.Re[0];)r.Re.shift();63===_?(r.ke="",e=19):35===_&&(r.Pe="",e=20)}else u.push.apply(u,fr(_,ir));break;case 18:63===_?(r.ke="",e=19):35===_?(r.Pe="",e=20):Jr!==_&&(r.Re[0]+=qn(fr(_,nr)));break;case 19:null===i&&35===_?(r.Pe="",e=20):Jr!==_&&(r.ke+=qn(fr(_,zr(r)?or:ur)));break;case 20:Jr===_||0===_||(r.Pe+=qn(fr(_,rr)))}l++}return r}function ri(t,n,r,i){try{ni(t,n,r,i)}catch(t){}}var ii=function(){this.Se="",this.Ee="",this.Ie="",this.Ne=null,this.Ce=null,this.Re=[],this.ke=null,this.Pe=null,this.De=!1};function ei(t){switch(t.Se){case"blob":var n;try{n=ni(t.Re[0],null)}catch(t){return Wr}return ei(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.Se,i=t.Ne,e=t.Ce,r+"://"+yr(i)+(null===e?"":":"+e);case"file":default:return Wr}var r,i,e}var ui,oi,fi=function(){function t(t,n){var r,i,e=null;if(null!=n)if(null!=(r=n)&&r instanceof fi&&"object"==typeof r.pe)e=n.pe;else try{e=ni(String(n),null)}catch(t){throw new a("Invalid base URL: "+t.message)}try{i=ni(String(t),e)}catch(t){throw new a("Invalid URL: "+t.message)}var u=i.ke;this.pe=i,this.ke=function(t){var n=new Dr;return null!==t&&Or(n,t),n}(u),this.ke.pe=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.Se+":";if(null!==t.Ne?(r+="//",Gr(t)&&(r+=t.Ee,""!==t.Ie&&(r+=":"+t.Ie),r+="@"),r+=yr(t.Ne),null!==t.Ce&&(r+=":"+t.Ce)):null===t.Ne&&"file"===t.Se&&(r+="//"),t.De)r+=t.Re[0];else for(var i=0,e=t.Re;i<e.length;i++)r+="/"+e[i];return null!==t.ke&&(r+="?"+t.ke),n||null===t.Pe||(r+="#"+t.Pe),r}(this.pe)},set:function(t){var n;try{n=ni(String(t),null)}catch(t){throw new a("Invalid URL: "+t.message)}this.pe=n,Rr(this.ke);var r=this.pe.ke;null!==r&&Or(this.ke,r)}},{key:"origin",get:function(){return ei(this.pe)}},{key:"protocol",get:function(){return this.pe.Se+":"},set:function(t){ri(t+":",null,this.pe,0)}},{key:"username",get:function(){return this.pe.Ee},set:function(t){Yr(this.pe)||(this.pe.Ee=sr(t,er))}},{key:"password",get:function(){return this.pe.Ie},set:function(t){Yr(this.pe)||(this.pe.Ie=sr(t,er))}},{key:"host",get:function(){var t=this.pe,n=t.Ne;if(null===n)return"";var r=t.Ce,i=yr(n);return null!==r&&(i+=":"+r),i},set:function(t){this.pe.De||ri(t,null,this.pe,10)}},{key:"hostname",get:function(){var t=this.pe.Ne;return null===t?"":yr(t)},set:function(t){this.pe.De||ri(t,null,this.pe,11)}},{key:"port",get:function(){var t=this.pe.Ce;return null===t?"":""+t},set:function(t){Yr(this.pe)||(""===t?this.pe.Ce=null:ri(t,null,this.pe,12))}},{key:"pathname",get:function(){var t=this.pe.Re;return this.pe.De?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.pe.De||(this.pe.Re.length=0,ri(t,null,this.pe,16))}},{key:"search",get:function(){var t=this.pe.ke;return null===t||""===t?"":"?"+t},set:function(t){t=Sr(t);var n=this.pe;if(""===t)return n.ke=null,void Rr(this.ke);"?"===t[0]&&(t=t.slice(1)),n.ke="",ri(t,null,n,19),Or(this.ke,t)}},{key:"searchParams",get:function(){return this.ke}},{key:"hash",get:function(){var t=this.pe.Pe;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.pe.Pe="",ri(t,null,this.pe,20)):this.pe.Pe=null}}])&&sn(n.prototype,r),i&&sn(n,i),t}();function si(t){return t.document&&t.document.baseURI||t.location.href||""}function ai(){return void 0!==r?r.createElement("video"):void 0}var ci=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!i||!i.msMaxTouchPoints),hi=(oi||(oi=ai()),oi),vi=!(!hi||!hi.webkitShowPlaybackTargetPicker),li=function(){function t(){this.Oe=void 0,this.Be=!1,this.Gi=ci,this.pr=!1,this.Le=!0}var r=t.prototype;return r.Me=function(){return 0},r.xe=function(t,n){return!0},r.Ue=function(t){return t>=.3333333333333333},nt(t,[{key:"Fe",get:function(){return void 0===this.Oe&&(this.Oe=this.Me()),this.Oe}},{key:"He",get:function(){return!gt.Wr}},{key:"Ve",get:function(){if(n.screen)return{width:n.screen.width,height:n.screen.height}}},{key:"Xe",get:function(){return n.devicePixelRatio||1}},{key:"ze",get:function(){return vi}},{key:"We",get:function(){return!1}},{key:"qe",get:function(){return!0}},{key:"Ge",get:function(){return gt.Fr||gt._r}},{key:"Ye",get:function(){return!0}},{key:"je",get:function(){return!0}},{key:"Qe",get:function(){return!1}},{key:"Ke",get:function(){}},{key:"Ze",get:function(){return!0}},{key:"Je",get:function(){return!1}},{key:"$e",get:function(){return!1}},{key:"tu",get:function(){return gt.Cr}}]),t}(),_i=function(){var t=ai();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(gt.rr)return!1;var t=ai();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var di=function(t){function n(n){var r;return(r=t.call(this)||this).nu=n,r.nu&&(r.Be=r.nu.Be,r.Gi=r.nu.Gi,r.Le=_i&&r.nu.Le),r}it(n,t);var r=n.prototype;return r.Me=function(){return this.nu?this.nu.Fe:t.prototype.Me.call(this)},r.xe=function(n,r){return this.nu?this.nu.xe(n,r):t.prototype.xe.call(this,n,r)},r.Ue=function(n){return this.nu?this.nu.Ue(n):t.prototype.Ue.call(this,n)},nt(n,[{key:"Ke",get:function(){var t;return null==(t=this.nu)?void 0:t.Ke}},{key:"Ze",get:function(){var t,n;return null==(n=null==(t=this.nu)?void 0:t.Ze)||n}}]),n}(li),wi=function(t){function n(n){var r;return(r=t.call(this,n)||this).Be=!0,r.pr=!0,r}return it(n,t),nt(n,[{key:"Qe",get:function(){return gt._r}}]),n}(di),yi=function(t){function n(){return t.apply(this,arguments)}return it(n,t),n.prototype.Me=function(){return ui.MediaSource?t.prototype.Me.call(this):1},nt(n,[{key:"Qe",get:function(){return!0}}]),n}(wi),gi=function(t){function r(){return t.apply(this,arguments)}return it(r,t),r.prototype.xe=function(n,r){return t.prototype.xe.call(this,n,r)},nt(r,[{key:"We",get:function(){return gt.Nr<3}},{key:"qe",get:function(){return gt.Nr>=3}},{key:"Ve",get:function(){var t=this;return n.tizen&&!this.uu&&n.tizen.systeminfo.getPropertyValue("DISPLAY",(function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.uu={width:r,height:i})})),this.uu}},{key:"Je",get:function(){return gt.Nr<3}},{key:"$e",get:function(){return!0}}]),r}(di),pi=function(t){function n(){return t.call(this)}return it(n,t),n}(li),Ii=function(t){function n(){return t.apply(this,arguments)}return it(n,t),n.prototype.xe=function(t,n){if(t&&t.ou&&n&&n.ou){var r=mi(t.ou,"mp4a.40.2")&&mi(n.ou,"mp4a.40.5"),i=mi(t.ou,"mp4a.40.5")&&mi(n.ou,"mp4a.40.2"),e=mi(t.ou,"mp4a.40.2")&&mi(n.ou,"mp4a.40.34"),u=mi(t.ou,"mp4a.40.34")&&mi(n.ou,"mp4a.40.2"),o=mi(t.ou,"mp4a.40.5")&&mi(n.ou,"mp4a.40.34"),f=mi(t.ou,"mp4a.40.34")&&mi(n.ou,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},nt(n,[{key:"Ke",get:function(){if(gt.Yi)return 4096}}]),n}(pi);function mi(t,n){return t.indexOf(n)>-1}var ki=function(t){function n(){return t.apply(this,arguments)}return it(n,t),n.prototype.Ue=function(t){return t>=2},n}(pi),Si=function(t){function n(){var n;return(n=t.call(this)||this).Be=gt.Hr>=11,n.Le=gt.Fr&&!(gt._r&&gt.Hr<10),n}return it(n,t),n}(pi),bi=function(t){function r(){return t.apply(this,arguments)}return it(r,t),nt(r,[{key:"Ve",get:function(){var t=this;return n.webOS&&!this.uu&&n.webOS.deviceInfo((function(n){t.uu={width:n.screenWidth,height:n.screenHeight}})),this.uu}},{key:"Ye",get:function(){return!1}},{key:"$e",get:function(){return!0}}]),r}(di),Ei=function(t){function n(){return t.apply(this,arguments)}return it(n,t),nt(n,[{key:"Ze",get:function(){return!gt.ji||(gt.Er?92!==gt.Ir:gt.Sr>=100)}}]),n}(pi),Ai=function(t){function n(){return t.apply(this,arguments)}return it(n,t),nt(n,[{key:"Qe",get:function(){return!0}}]),n}(di),Ti=function(){function n(){var n;this.au=new Ri,this.fu=(n=gt.Mr?new Ii:gt.Pr||gt.Or?new ki:gt.Fr?new Si:gt.Tr?new Ei:new pi,gt._r?new yi(n):gt.pr?new wi(n):gt.Rr?new gi(n):gt.Dr?new bi(n):gt.Yi?new Ai(n):new di(n)),this.vu=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.re=function(){return t.performance.now()}:this.re=fn}var r=n.prototype;return r.du=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Rt.apply(void 0,ot(n))},r._u=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Ot.apply(void 0,ot(n))},r.wu=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Nt.apply(void 0,ot(n))},r.yu=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];Dt.apply(void 0,[t].concat(ot(r)))},r.oe=function(t,n){return e(t,n)},r.mu=function(t,n){return o(t,n)},r.ue=function(t){u(t)},r.pu=function(t){f(t)},r.Au=function(){return this.bu.Au()},r.Tu=function(){return this.bu.Tu()},r.Su=function(){return this.bu.Su()},r.Eu=function(){return this.bu.Eu()},r.Iu=function(){return this.bu.Iu()},r.Ru=function(t,n){return this.bu.Ru(t,n)},r.Nu=function(t){return this.bu.Nu(t)},r.Du=function(t,n){var r;return void 0===n&&(n=si(ui)),r="object"!=typeof n||n instanceof fi?n:n.href,new fi(t,r)},r.Cu=function(n,r){if(void 0===r&&(r=si(ui)),this.vu){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.Du(n,r).href},nt(n,[{key:"Pu",get:function(){return this.au}},{key:"Ou",get:function(){return this.fu}},{key:"Bu",get:function(){return{Lu:i&&i.userAgent.match(/Android /i)?"Android":"other",Mu:Boolean(i&&i.userAgent.match(/Android 8.0.0/i))}}},{key:"xu",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Uu",get:function(){return"languages"in i?i.languages.slice():[i.language]}}]),n}(),Ri=function(){function t(){}return nt(t,[{key:"Fu",get:function(){return i.oscpu}},{key:"Ou",get:function(){return i.platform}},{key:"Hu",get:function(){return i.vendor}},{key:"Vu",get:function(){return i.vendorSub}}]),t}();var Oi,Ni,Di=function(){function t(){}var n=t.prototype;return n.Iu=function(){return z.resolve(!1)},n.Tu=function(){return z.resolve(!1)},n.Eu=function(){return z.resolve(!1)},n.Su=function(){return z.resolve(!1)},n.Nu=function(t){return z.resolve(!1)},n.Ru=function(t,n){return z.resolve(!1)},n.Au=function(){return z.resolve(!1)},t}(),Pi=function(){function t(){}var n=t.prototype;return n.Jf=function(){},n.Po=function(t){},n.No=function(t){},n.$f=function(t,n){},t}();function Fi(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,e,u=[],o=!0,f=!1;try{for(r=r.call(t);!(o=(i=r.next()).done)&&(u.push(i.value),!n||u.length!==n);o=!0);}catch(t){f=!0,e=t}finally{try{o||null==r.return||r.return()}finally{if(f)throw e}}return u}}(t,n)||ut(t,n)||function(){throw new a("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ni=Oi||(Oi={})).Jv="arraybuffer",Ni.$v="json",Ni.td="stream",Ni.rd="text";var Bi,Ci,Mi=function(){function t(n){var r=this;this.Yu={},n instanceof t?n.asList().forEach((function(t){var n=Fi(t,2),i=n[0],e=n[1];r.append(i,e)})):Array.isArray(n)?n.forEach((function(t){r.append(t[0],t[1])})):n&&c.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=Wi(r),i=Li(i);var e=r.toLowerCase();if(this.Yu.hasOwnProperty(e)){var u=this.Yu[e],o=u[1];u[1]=o?o+", "+i:i}else this.Yu[e]=[r,i]},n.delete=function(t){var n=Wi(t).toLowerCase();delete this.Yu[n]},n.get=function(t){var n=Wi(t).toLowerCase();return this.Yu.hasOwnProperty(n)?this.Yu[n][1]:null},n.has=function(t){var n=Wi(t).toLowerCase();return this.Yu.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=Wi(r)).toLowerCase();this.Yu[i]=[r,Li(n)]},n.forEach=function(t,n){for(var r in this.Yu)this.Yu.hasOwnProperty(r)&&t.call(n,this.Yu[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Yu)if(this.Yu.hasOwnProperty(n)){var r=Fi(this.Yu[n],2),i=r[0],e=r[1];t.push([i,e])}return t},n.ed=function(){var t={};return this.forEach((function(n,r){t[r]=n})),t},n.ud=function(t){var n=this;t.forEach((function(t,r){n.append(r,t)}))},n.od=function(t){var n=this;t.forEach((function(t,r){n.set(r,t)}))},t}();function Wi(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new a("Invalid character in header field name");return n}function Li(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Ui(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){ji(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function ji(t,n,r,i){var e,u,o,f,s,a=t.length,c=0,h=2*r;for(u=0;u<a;u+=h)for(e=(o=u+r)+r,o>a&&(o=a),e>a&&(e=a),f=u,s=o;;)if(f<o&&s<e)n&&n(t[f],t[s])<=0?i[c++]=t[f++]:i[c++]=t[s++];else if(f<o)i[c++]=t[f++];else{if(!(s<e))break;i[c++]=t[s++]}}(Ci=Bi||(Bi={}))[Ci.ys=0]="ys",Ci[Ci.As=1]="As",Ci[Ci.Ts=-1]="Ts";var Vi=function(t,n){return function(t,n){if(t===n)return!0;var r=h.abs(t-n);return r<un||r<h.max(h.abs(t),h.abs(n))*un}(t,n)?0:function(t,n){return t===n?0:t<n?-1:t>n?1:_(t)?_(n)?0:1:-1}(t,n)};function xi(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){t.splice(n,1)}(t,r),!0)}function Hi(t){t.length=0}var zi,Gi,Ki,qi,Xi,Zi,$i,Yi,Ji=function(){function t(){this.Ss=!1,this.Es=!1,this.Is=[],this.Rs=[]}var n=t.prototype;return n.Ns=function(){if(!this.Ss&&!this.Es){this.Ss=!0;for(var t=0,n=this.Is.slice();t<n.length;t++){(0,n[t])()}this.Ds()}},n.Ds=function(){if(!this.Es){this.Es=!0;for(var t=0,n=this.Rs.slice();t<n.length;t++){(0,n[t])()}Hi(this.Is),Hi(this.Rs)}},n.Cs=function(t){this.Es||this.Is.push(t)},n.Ps=function(t){this.Es||xi(this.Is,t)},n.Os=function(t){this.Es||this.Rs.push(t)},n.Bs=function(t){this.Es||xi(this.Rs,t)},t}(),Qi=function(){function t(){this.Ls=new Ji}var n=t.prototype;return n.Ms=function(){this.Ls.Ns()},n.Ds=function(){this.Ls.Ds()},n.xs=function(t){var n=this.Ls;if(!n.Ss)if(t.Ss)n.Ns();else if(!n.Es&&!t.Es){var r=function(){i(),n.Ns()},i=function(){t.Ps(r),t.Bs(i),n.Ps(r),n.Bs(i)};t.Cs(r),t.Os(i),n.Cs(r),n.Os(i)}},n.Us=function(){var n=new t,r=new t,i=n.Fs,e=r.Fs,u=this.Ls,o=function(){i.Ss&&e.Es||e.Ss&&i.Es?u.Ns():i.Es&&e.Es&&u.Ds()};i.Cs(o),e.Cs(o),i.Os(o),e.Os(o),n.xs(u),r.xs(u);return u.Os((function(){i.Ps(o),e.Ps(o),i.Bs(o),e.Bs(o)})),[n,r]},nt(t,[{key:"Fs",get:function(){return this.Ls}}]),t}();(Gi=zi||(zi={})).DELETE="DELETE",Gi.GET="GET",Gi.HEAD="HEAD",Gi.OPTIONS="OPTIONS",Gi.POST="POST",Gi.PUT="PUT",(qi=Ki||(Ki={})).Hd="",qi.Vd="manifest",qi.Xd="segment",qi.zd="preload-hint",qi.Wd="content-protection",(Zi=Xi||(Xi={})).Hd="",Zi.qd="initialization-segment",Zi.Gd="fairplay-license",Zi.Yd="fairplay-certificate",Zi.jd="widevine-license",Zi.Qd="widevine-certificate",Zi.Kd="playready-license",Zi.Zd="clearkey-license",Zi.Jd="aes128-key",(Yi=$i||($i={})).Hd="",Yi.$d="audio",Yi.il="video",Yi.rd="text",Yi.ul="image";var te=function(t,n){var r,i,e,u,o,f,s,a,c,h,v,l,_=t.xd;n?(r=n.yd,i=n.Cd,e=n.ol,u=n.Pd,o=n.al,f=n.cl,s=n.Fs,a=n.$u,c=n.hl,h=n.fl,v=n.vl,l=n.dl):(r=null,i={},e="GET",u=Oi.rd,o=0,f=0,a="",c="",h="",v=!1),this.xd=_,this.yd=t.yd||r,this.Cd=new Mi(t.Cd||i),this.ol=t.ol||e,this.Pd=t.Pd||u,this.al=void 0!==t.al?Number(t.al)||0:o,this.cl=void 0!==t.cl?Number(t.cl)||0:f,this.Fs=t.Fs||s||(new Qi).Fs,this.$u=t.$u||a,this.hl=t.hl||c,this.fl=t.fl||h,this.vl=void 0!==t.vl?Boolean(t.vl):v,this.dl=t.dl||l};var ne=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];s.apply(this,n)};(ne.prototype=c.create(s.prototype)).constructor=ne;var re,ie,ee=function(t){function n(n,r){var i;return(i=t.call(this)||this).message=n||"Unknown error",i.cause=r,s.captureStackTrace&&s.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 it(n,t),nt(n,[{key:"name",get:function(){return"BaseError"}}]),n}(ne);(ie=re||(re={})).El="HttpOpenError",ie.Il="HttpResponseError",ie.Rl="HttpTimeoutError";var ue,oe,fe,se=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.xd+". Invalid URL.",r)}return it(n,t),nt(n,[{key:"name",get:function(){return re.El}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Nl=n,e}return it(n,t),nt(n,[{key:"Ld",get:function(){return this.Nl}}]),n}(ee)),ae=function(){function t(){}var n=t.prototype;return n.Ld=function(t){return z.reject(new se(new te(t)))},n.ll=function(t){},n.Bf=function(){},t}(),ce=function(t){function n(n){return t.call(this,"Invalid XML",n)}return it(n,t),n}(ee);function he(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function ve(t,n){return t.push(n),t}function le(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 _e(t,n){return le(t,he(n))}function de(){return(de=c.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)c.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}ue=new(function(t){function n(){var n;return(n=t.apply(this,arguments)||this).Y_=new Di,n.wI=new ae,n.t=new Pi,n}return it(n,t),n.prototype.p_=function(t){throw new ce},nt(n,[{key:"bu",get:function(){return this.Y_}},{key:"rg",get:function(){return!1}},{key:"eg",get:function(){return!1}},{key:"ag",get:function(){return!1}},{key:"og",get:function(){return!1}},{key:"cg",get:function(){return this.t}},{key:"hg",get:function(){return{fg:It}}},{key:"vg",get:function(){return"default"}},{key:"dg",get:function(){return"unknown"}},{key:"_g",get:function(){return this.wI}}]),n}(Ti)),(fe=oe||(oe={})).QPt="h.264",fe.HV="mp3",fe.FV="aac-lc",fe.BPt="he-aac";var we=function(){function t(){this.qV=0,this.GV=[],this.ZE={}}var n=t.prototype;return n.YV=function(t){this.GV=this.GV.concat(t.GV),this.qV+=t.nw},n.jV=function(t,n,r){var i=this.qV,e=r-n;e>0&&(this.GV.push({QV:n,KV:r,ZV:e,JV:i,$V:t}),this.qV+=e)},n.No=function(t){for(var n=0,r=this.GV;n<r.length;n++){var i=r[n];if(i.JV<=t&&t<i.JV+i.ZV)return i.$V[t+i.QV-i.JV]}},n.tX=function(t,n){for(var r=n,i=0,e=this.GV;i<e.length;i++)for(var u=e[i],o=u.KV,f=u.QV;f<o;f+=1,r+=1)t[r]=u.$V[f];return r},n.nX=function(){for(var t=new d(this.qV),n=0,r=0,i=this.GV;r<i.length;r++)for(var e=i[r],u=e.KV,o=e.QV;o<u;o+=1,n+=1)t[n]=e.$V[o];return t},n.Uo=function(n){for(var r=new t,i=0,e=this.GV;i<e.length;i++){var u=e[i];r.jV(u.$V,u.QV,u.KV)}return r.ZE=n||de({},this.ZE),r},nt(t,[{key:"nw",get:function(){return this.qV},set:function(t){var n=this.GV,r=this.qV-t;if(!(t>=this.qV))if(this.qV=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.ZV)return e.KV-=r,e.ZV-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.ZV}else n.length=0}},{key:"Fd",get:function(){for(var t=new Array(this.qV),n=0,r=0,i=this.GV;r<i.length;r++)for(var e=i[r],u=e.KV,o=e.QV;o<u;o+=1,n+=1)t[n]=e.$V[o];return t}}]),t}(),ye=1e6,ge=function(){function t(){}var n=t.prototype;return n.ek=function(t){return this.ck()*t},n.hk=function(t){return this.fk(t)>0},n.vk=function(t){return this.fk(t)>=0},n.dk=function(t,n){return this._k(t).lk(n)},n.Gp=function(t){return 0===this.fk(t)},n.gk=function(t){return this.fk(t)<0},n.lk=function(t){return this.fk(t)<=0},n.wk=function(){return this.yk()?this.pk():this},n.Ak=function(t){return this.hp(t.pk())},n._k=function(t){return this.Ak(t).wk()},t}();function pe(t,n){return t.bk()?n.bk()?Bi.ys:Bi.As:n.bk()?Bi.Ts:t.Tk()?n.Tk()&&t.yk()===n.yk()?Bi.ys:t.yk()?Bi.Ts:Bi.As:n.yk()?Bi.As:Bi.Ts}var Ie=0x10000000000000000,me=Ie*Ie,ke=me/2,Se=function(){function t(t,n){this.Sk=t,this.Ek=n}var n=t.prototype;return n.Ik=function(){return this.Ek.unsigned},n.Rk=function(){return this.Sk.isZero()&&this.Ek.isZero()},n.yk=function(){return this.Ek.isNegative()},n.Nk=function(){return this.Ik()?t.Dk(this.Sk,this.Ek,!1):this},n.Ck=function(){return this.Ik()?this:t.Dk(this.Sk,this.Ek,!0)},n.Pk=function(){return this.Sk},n.ck=function(){return this.yk()?-this.pk().ck():this.Ek.toNumber()*Ie+this.Sk.toUnsigned().toNumber()},n.Ok=function(){return this.Sk.toInt()},n.Gp=function(t){return(this.Ik()===t.Ik()||this.Ek.getHighBits()>>>31!=1||t.Ek.getHighBits()>>>31!=1)&&(this.Ek.toUnsigned().eq(t.Ek.toUnsigned())&&this.Sk.toUnsigned().eq(t.Sk.toUnsigned()))},n.fk=function(t){if(this.Gp(t))return Bi.ys;var n=this.yk(),r=t.yk();if(n&&!r)return Bi.Ts;if(!n&&r)return Bi.As;if(!this.Ik())return this.Ak(t).yk()?Bi.Ts:Bi.As;var i=this.Ck(),e=t.Ck(),u=e.Ek.comp(i.Ek);return u>0||0===u&&e.Sk.gt(i.Sk)?Bi.Ts:Bi.As},n.gk=function(t){return this.fk(t)<0},n.lk=function(t){return this.fk(t)<=0},n.Bk=function(t){return this.fk(t)>0},n.Lk=function(t){return this.fk(t)>=0},n.Mk=function(){return new t(this.Sk.not(),this.Ek.not())},n.xk=function(n){return new t(this.Sk.and(n.Sk),this.Ek.and(n.Ek))},n.Uk=function(n){return new t(this.Sk.or(n.Sk),this.Ek.or(n.Ek))},n.Fk=function(n){var r=127&n;return 0===r?this:r<64?t.Dk(this.Sk.shl(r),this.Ek.shl(r).or(this.Sk.shru(64-r)),this.Ik()):t.Dk(en.ZERO,this.Sk.shl(r-64),this.Ik())},n.Hk=function(n){var r=127&n;return 0===r?this:r<64?t.Dk(this.Sk.shru(r).or(this.Ek.shl(64-r)),this.Ek.shr(r),this.Ik()):t.Dk(this.Ek.shr(r-64),this.Ek.isNegative()?en.NEG_ONE:en.ZERO,this.Ik())},n.Vk=function(n){var r=127&n;return 0===r?this:r<64?t.Dk(this.Sk.shru(r).or(this.Ek.shl(64-r)),this.Ek.shru(r),this.Ik()):64===r?t.Dk(this.Ek,en.ZERO,this.Ik()):t.Dk(this.Ek.shru(r-64),en.ZERO,this.Ik())},n.hp=function(n){var r=this.Ek.high>>>16,i=65535&this.Ek.high,e=this.Ek.low>>>16,u=65535&this.Ek.low,o=this.Sk.high>>>16,f=65535&this.Sk.high,s=this.Sk.low>>>16,a=65535&this.Sk.low,c=n.Ek.high>>>16,h=65535&n.Ek.high,v=n.Ek.low>>>16,l=65535&n.Ek.low,_=n.Sk.high>>>16,d=65535&n.Sk.high,w=n.Sk.low>>>16,y=0,g=0,p=0,I=0,m=0,k=0,S=0,b=0;S+=(b+=a+(65535&n.Sk.low))>>>16,b&=65535,k+=(S+=s+w)>>>16,S&=65535,m+=(k+=f+d)>>>16,k&=65535,I+=(m+=o+_)>>>16,m&=65535,p+=(I+=u+l)>>>16,I&=65535,g+=(p+=e+v)>>>16,p&=65535,y+=(g+=i+h)>>>16,g&=65535,y+=r+c,y&=65535;var E=this.Ik(),A=en.fromBits(p<<16|I,y<<16|g,E),T=en.fromBits(S<<16|b,m<<16|k,E);return t.Dk(T,A,E)},n.Ak=function(t){return this.hp(t.pk())},n.pk=function(){return this.Mk().hp(t.Xk)},n.zk=function(n){if(this.Rk()||n.Rk())return this.Ik()?t.Wk:t.qk;if(this.yk())return n.yk()?this.pk().zk(n.pk()):this.pk().zk(n).pk();if(n.yk())return this.zk(n.pk()).pk();if(this.Ek.isZero()&&0===this.Sk.high&&n.Ek.isZero()&&0===n.Sk.high)return t.Gk(this.Sk.multiply(n.Sk));var r=en.fromBits(4294967295,0,!0),i=this.Sk.and(r),e=this.Sk.shru(32),u=this.Ek.and(r),o=this.Ek.shru(32),f=n.Sk.and(r),s=n.Sk.shru(32),a=n.Ek.and(r),c=n.Ek.shru(32),h=en.UZERO,v=en.UZERO,l=en.UZERO,_=en.UZERO;h=h.add(i.mul(f)),v=v.add(h.shru(32)),h=h.and(r),v=v.add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(s)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(u.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(e.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(i.mul(a)),_=_.add(l.shru(32)),l=l.and(r),_=_.add(o.mul(f)).add(u.mul(s)).add(e.mul(a)).add(i.mul(c)).and(r);var d=en.fromBits(h.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=en.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.Dk(d,w,this.Ik())},n.Yk=function(n){var r,i,e=n;if(e.Rk())throw new RangeError("division by zero");if(this.Rk())return this.Ik()?[t.Wk,t.Wk]:[t.qk,t.qk];if(this.Ik()){if(e.Ik()||(e=e.Ck()),e.Bk(this))return[t.Wk,this];if(e.Bk(this.Vk(1)))return[i=t.jk,r=this.Ak(e)];i=t.Wk}else{if(this.Gp(t.Qk)){if(e.Gp(t.Xk)||e.Gp(t.Kk))return[t.Qk,t.qk];if(e.Gp(t.Qk))return[t.Xk,t.qk];var u=this.Hk(1).Zk(e).Fk(1);return u.Gp(t.qk)?i=e.yk()?t.Xk:t.Kk:(r=this.Ak(e.zk(u)),i=u.hp(r.Zk(e))),[i,r=this.Ak(e.zk(i))]}if(e.Gp(t.Qk))return this.Ik()?[t.Wk,this]:[t.qk,this];var o,f;if(this.yk())return e.yk()?this.pk().Yk(e.pk()):(i=(o=Fi(this.pk().Yk(e),2))[0],r=o[1],[i.pk(),r.pk()]);if(e.yk())return i=(f=Fi(this.Yk(e.pk()),2))[0],r=f[1],[i.pk(),r.pk()];i=t.qk}for(r=this;r.Lk(e);){for(var s=h.max(1,h.floor(r.ck()/e.ck())),a=h.ceil(h.log(s)/h.LN2),c=a<=48?1:h.pow(2,a-48),v=t.Jk(s),l=v.zk(e);l.yk()||l.Bk(r);)s-=c,l=(v=t.Jk(s,this.Ik())).zk(e);v.Rk()&&(v=t.Xk),i=i.hp(v),r=r.Ak(l)}return[i,r]},n.Zk=function(t){return this.Yk(t)[0]},n.$k=function(t){return this.Yk(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Rk())return"0";if(this.yk()){if(this.Gp(t.Qk)){var i=t.Jk(r),e=this.Zk(i),u=e.zk(i).Ak(this);return e.toString(r)+u.Ok().toString(r)}return"-"+this.pk().toString(r)}for(var o=t.Jk(h.pow(r,6),this.Ik()),f=this,s="";;){var a=f.Zk(o),c=(f.Ak(a.zk(o)).Ok()>>>0).toString(r);if((f=a).Rk())return c+s;for(;c.length<6;)c="0"+c;s=String(c)+s}},t.Dk=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.Gk=function(n){return n.unsigned?new t(n,en.UZERO):new t(n,n.isNegative()?en.NEG_ONE:en.ZERO)},t.Jk=function(n,r){if(_(n))return r?t.Wk:t.qk;if(r){if(n<0)return t.Wk;if(n>=me)return t.tA}else{if(n<=-ke)return t.Qk;if(n+1>=ke)return t.nA}return n<0?t.Jk(-n,r).pk():t.Dk(en.fromNumber(n%Ie),en.fromNumber(n/Ie),r)},t}();Se.qk=Se.Gk(en.ZERO),Se.Wk=Se.Gk(en.UZERO),Se.Xk=Se.Gk(en.ONE),Se.jk=Se.Gk(en.UONE),Se.Kk=Se.Gk(en.NEG_ONE),Se.nA=Se.Dk(en.NEG_ONE,en.MAX_VALUE,!1),Se.tA=Se.Dk(en.MAX_UNSIGNED_VALUE,en.MAX_UNSIGNED_VALUE,!0),Se.Qk=Se.Dk(en.ZERO,en.MIN_VALUE,!1);var be=function(){function t(t,n){void 0===n&&(n=1),this.iA=t,this.rA=n}var n=t.prototype;return n.hp=function(n){return this.rA>=n.rA?new t(this.iA+n.eA(this.rA).iA,this.rA):new t(this.eA(n.rA).iA+n.iA,n.rA)},n.hk=function(t){return t.gk(this)},n.vk=function(t){return t.lk(this)},n._k=function(n){return this.rA>=n.rA?new t(h.abs(this.iA-n.eA(this.rA).iA),this.rA):n._k(this)},n.dk=function(t,n){return this._k(t).lk(n)},n.fk=function(t){return r=t,(n=this).rA>=r.rA?Vi(n.iA,r.eA(n.rA).iA):Vi(n.eA(r.rA).iA,r.iA);var n,r},n.Gp=function(t){return 0===this.fk(t)},n.gk=function(t){return this.fk(t)<0},n.lk=function(t){return this.fk(t)<=0},n.eA=function(n){return new t(this.iA*(n/this.rA),n)},n.Ak=function(n){return this.rA>=n.rA?new t(this.iA-n.eA(this.rA).iA,this.rA):new t(this.eA(n.rA).iA-n.iA,n.rA)},n.uA=function(n){return new t(this.iA*n,this.rA)},t.sA=function(n){return new t(h.ceil(n.iA),n.rA)},t.oA=function(n){return new t(h.floor(n.iA),n.rA)},t.aA=function(t,n){return t.vk(n)?t:n},t.cA=function(t,n){return t.lk(n)?t:n},nt(t,[{key:"Tk",get:function(){return!isFinite(this.iA)}},{key:"hA",get:function(){return this.iA/this.rA}}]),t}();be.fA=new be(1/6,1),be.qk=new be(0),be.vA=new be(1/0),be.dA=1e6;var Ee=function(t){function n(n,r){var i;return(i=t.call(this)||this).R_=n.toSigned(),i.rA=r>>>0,i}it(n,t);var r=n.prototype;return r.yk=function(){return this.R_.isNegative()},r.Rk=function(){return 0!==this.rA&&this.R_.isZero()},r.Tk=function(){return 0===this.rA&&!this.R_.isZero()},r.bk=function(){return 0===this.rA&&this.R_.isZero()},r.ck=function(){if(0===this.rA)return this.R_.isZero()?NaN:this.R_.isNegative()?-1/0:1/0;var t=this.R_.divide(this.rA),n=this.R_.subtract(t.multiply(this.rA));return t.toNumber()+n.toNumber()/this.rA},r.Pk=function(){if(0===this.rA)throw new s("Failed to convert timestamp");return this.R_},r.lA=function(){return new Date(0===this.rA?NaN:this.eA(1e3).R_.toNumber())},r._A=function(){return new be(0===this.rA?this.ck():this.R_.toNumber(),this.rA)},r.eA=function(t,r){void 0===r&&(r=Ae.gA);var i=this.rA;if(i===t)return this;if(0===i)return this;var e=on(i,t);return new n(function(t,n,r){var i=Fi(t.Yk(n),2),e=i[0],u=i[1];if(u.Rk())return e;if(r===Ae.gA)return u.yk()?e.Ak(Se.Xk):e;if(r===Ae.wA)return u.yk()?e:e.hp(Se.Xk);var o=u.zk(Se.Jk(2));return o.yk()?o.pk().gk(n)?e:e.Ak(Se.Xk):o.gk(n)?e:e.hp(Se.Xk)}(Se.Gk(this.R_).zk(Se.Jk(t/e)),Se.Jk(i/e),r).Pk(),t)},r.fk=function(t){if(this===t)return Bi.ys;if(0===this.rA||0===t.rA)return pe(this,t);if(this.Rk())return t.Rk()?Bi.ys:t.yk()?Bi.As:Bi.Ts;if(t.Rk())return this.yk()?Bi.Ts:Bi.As;var n=h.min(this.rA,t.rA),r=this.eA(n,Ae.yA).R_,i=t.eA(n,Ae.yA).R_;return r.compare(i)},r.pk=function(){return 0===this.rA?function(t){0;return t.bk()?t:t.yk()?Ee.mA:Ee.pA}(this):new n(this.R_.negate(),this.rA)},r.hp=function(t){if(0===this.rA||0===t.rA)return function(t,n){0;if(t.bk()||n.bk())return Ee.kA;if(t.Tk()&&n.Tk())return t.yk()===n.yk()?t:Ee.kA;return t.Tk()?t:n}(this,t);if(this.Rk())return t;if(t.Rk())return this;var r=h.max(this.rA,t.rA),i=this.eA(r,Ae.yA),e=t.eA(r,Ae.yA);return new n(i.R_.add(e.R_),r)},r.zk=function(t){if(this.bk()||_(t))return n.kA;if(this.Tk()||!isFinite(t)){if(this.Rk()||0===t)return n.kA;var r=this.yk()?n.pA:n.mA;return t<0?r.pk():r}return this.Rk()?this:new n(0===t?en.ZERO:this.R_.multiply(t),this.rA)},r.Zk=function(t){if(this.bk()||_(t))return n.kA;if(this.Tk())return isFinite(t)?0===t?1/t<0?this.pk():this:t<0?this.pk():this:n.kA;if(!isFinite(t))return new n(en.ZERO,this.rA);if(this.Rk())return 0===t?n.kA:new n(en.ZERO,this.rA);if(0===t){var r=this.yk()?n.pA:n.mA;return 1/t<0?r.pk():r}return new n(this.R_.divide(t),this.rA)},r.AA=function(){return[this.R_.low,this.R_.high,this.rA]},n.bA=function(t,r){return void 0===r&&(r=ye),n.Jk(t*r,r)},n.Jk=function(t,r){return _(t)?n.kA:t===1/0?n.mA:t===-1/0?n.pA:new n(en.fromNumber(t),r)},n.Gk=function(t,r){return new n(t,r)},n.TA=function(t){return n.bA(t.hA,ye)},n.SA=function(t){return new n(en.fromNumber(t.getTime()),1e3)},n.aA=function(t,n){return t.vk(n)?t:n},n.cA=function(t,n){return t.lk(n)?t:n},n.EA=function(t,r,i){return n.aA(r,n.cA(i,t))},n}(ge);Ee.qk=new Ee(en.ZERO,ye),Ee.kA=new Ee(en.ZERO,0),Ee.mA=new Ee(en.ONE,0),Ee.pA=new Ee(en.NEG_ONE,0);var Ae,Te,Re=function(t){function n(n,r){var i;return(i=t.call(this)||this).R_=BigInt.asIntN(64,n),i.rA=r>>>0,i}it(n,t);var r=n.prototype;return r.yk=function(){return this.R_<BigInt(0)},r.Rk=function(){return 0!==this.rA&&this.R_===BigInt(0)},r.Tk=function(){return 0===this.rA&&this.R_!==BigInt(0)},r.bk=function(){return 0===this.rA&&this.R_===BigInt(0)},r.ck=function(){if(0===this.rA)return this.R_===BigInt(0)?NaN:this.R_<BigInt(0)?-1/0:1/0;var t=this.R_/BigInt(this.rA),n=this.R_-t*BigInt(this.rA);return Number(t)+Number(n)/this.rA},r.Pk=function(){if(0===this.rA)throw new s("Failed to convert timestamp");return this.IA()},r.IA=function(){var t=this.R_&BigInt(4294967295),n=this.R_>>BigInt(32)&BigInt(4294967295);return en.fromBits(Number(t),Number(n))},r.lA=function(){return new Date(0===this.rA?NaN:Number(this.eA(1e3).R_))},r._A=function(){return new be(0===this.rA?this.ck():Number(this.R_),this.rA)},r.eA=function(t,r){void 0===r&&(r=Ae.gA);var i=this.rA;if(i===t)return this;if(0===i)return this;var e=on(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===Ae.gA)return e<BigInt(0)?i-BigInt(1):i;if(r===Ae.wA)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.R_*BigInt(t/e),BigInt(i/e),r),t)},r.fk=function(t){if(this===t)return Bi.ys;if(0===this.rA||0===t.rA)return pe(this,t);if(this.Rk())return t.Rk()?Bi.ys:t.yk()?Bi.As:Bi.Ts;if(t.Rk())return this.yk()?Bi.Ts:Bi.As;var n=h.min(this.rA,t.rA),r=this.eA(n,Ae.yA).R_,i=t.eA(n,Ae.yA).R_;return r>i?Bi.As:r<i?Bi.Ts:Bi.ys},r.pk=function(){return 0===this.rA?function(t){0;return t.bk()?t:t.yk()?Re.mA:Re.pA}(this):new n(-this.R_,this.rA)},r.hp=function(t){if(0===this.rA||0===t.rA)return function(t,n){0;if(t.bk()||n.bk())return Re.kA;if(t.Tk()&&n.Tk())return t.yk()===n.yk()?t:Re.kA;return t.Tk()?t:n}(this,t);if(this.Rk())return t;if(t.Rk())return this;var r=h.max(this.rA,t.rA),i=this.eA(r,Ae.yA),e=t.eA(r,Ae.yA);return new n(i.R_+e.R_,r)},r.zk=function(t){if(this.bk()||_(t))return n.kA;if(this.Tk()||!isFinite(t)){if(this.Rk()||0===t)return n.kA;var r=this.yk()?n.pA:n.mA;return t<0?r.pk():r}return this.Rk()?this:new n(0===t?BigInt(0):this.R_*BigInt(t),this.rA)},r.Zk=function(t){if(this.bk()||_(t))return n.kA;if(this.Tk())return isFinite(t)?0===t?1/t<0?this.pk():this:t<0?this.pk():this:n.kA;if(!isFinite(t))return new n(BigInt(0),this.rA);if(this.Rk())return 0===t?n.kA:new n(BigInt(0),this.rA);if(0===t){var r=this.yk()?n.pA:n.mA;return 1/t<0?r.pk():r}return new n(this.R_/BigInt(t),this.rA)},r.AA=function(){var t=this.IA();return[t.low,t.high,this.rA]},n.bA=function(t,r){return void 0===r&&(r=ye),n.Jk(t*r,r)},n.Jk=function(t,r){return _(t)?n.kA:t===1/0?n.mA:t===-1/0?n.pA:new n(BigInt(h.floor(t)),r)},n.Gk=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.TA=function(t){return n.bA(t.hA,ye)},n.SA=function(t){return n.Jk(t.getTime(),1e3)},n.aA=function(t,n){return t.vk(n)?t:n},n.cA=function(t,n){return t.lk(n)?t:n},n.EA=function(t,r,i){return n.aA(r,n.cA(i,t))},nt(n,null,[{key:"qk",get:function(){return n.RA||(n.RA=new n(BigInt(0),ye)),n.RA}},{key:"kA",get:function(){return n.NA||(n.NA=new n(BigInt(0),0)),n.NA}},{key:"mA",get:function(){return n.DA||(n.DA=new n(BigInt(1),0)),n.DA}},{key:"pA",get:function(){return n.CA||(n.CA=new n(BigInt(-1),0)),n.CA}}]),n}(ge);Re.RA=void 0,Re.NA=void 0,Re.DA=void 0,Re.CA=void 0,(Te=Ae||(Ae={}))[Te.gA=0]="gA",Te[Te.wA=1]="wA",Te[Te.yA=2]="yA";var Oe=function(){try{return"function"==typeof BigInt&&"bigint"===w(BigInt(0))}catch(t){return!1}}()?Re:Ee;function Ne(t){return Oe.Gk(en.fromBits(t[0],t[1],!1),t[2])}var De=h.pow(2,33),Pe=mt((function(){return Oe.Jk(De,9e4)})),Fe=mt((function(){return Pe().Zk(2)}));function Be(t,n){var r=t.Ak(n);return t.Tk()||n.Tk()||(r.vk(Fe())?r=r.Ak(Pe()):r.gk(Fe().pk())&&(r=r.hp(Pe()))),r}var Ce,Me,We,Le,Ue,je;gt.Fr;(Me=Ce||(Ce={}))[Me.dot=0]="dot",Me[Me.got=1]="got",Me[Me.wot=2]="wot",Me[Me.kot=3]="kot",Me[Me.mot=4]="mot",Me[Me.Aot=5]="Aot",(Le=We||(We={}))[Le.lot=0]="lot",Le[Le._ot=1]="_ot",Le[Le.yot=2]="yot",Le[Le.pot=3]="pot",(je=Ue||(Ue={}))[je.Not=47]="Not",je[je.Dot=49]="Dot";var Ve,xe,He=[128,64,32,16,8,4,2,1];function ze(t,n){var r=h.floor(n.bit/8),i=0==(t.No(r)&He[n.bit%8])?0:1;return n.bit+=1,i}function Ge(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+ze(t,n);return i}function Ke(t,n){for(var r=0;0===ze(t,n)&&r<32;)r+=1;return Ge(t,n,r)+h.pow(2,r)-1}function qe(t,n){var r=Ke(t,n);return 1&r?h.floor((r+1)/2):-h.floor(r/2)}(xe=Ve||(Ve={}))[xe.aX=1]="aX",xe[xe.cX=2]="cX",xe[xe.hX=3]="hX",xe[xe.fX=4]="fX",xe[xe.vX=5]="vX",xe[xe.dX=6]="dX",xe[xe.lX=7]="lX",xe[xe._X=8]="_X",xe[xe.gX=9]="gX";var Xe=[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 Ze(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+qe(t,n)+256)%256;i=0===e?i:e}}var $e=function(){function t(t){this.wX=[],this.yX=0,this.mX=t}var n=t.prototype;return n.pX=function(){for(var t=this.wX,n=h.max(0,this.yX+t.length-2),r=this.mX,i=r.nw,e=0;n<i;n+=1){var u=r.No(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.yX=n-t.length},n.kX=function(t){for(var n=this.wX,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.No=function(t){if(!(t>this.mX.nw))return t>this.yX&&this.pX(),this.mX.No(this.kX(t))},t}();function Ye(t,n){Lu(t.video?t.video:void 0);var r=go(t,!0),i=ju(t)+8,e=iu.length+r+i,u=function(t,n){var r={video:[],audio:[]},i=8+n,e={video:t.video&&t.video.mG||[],audio:t.audio&&t.audio.mG||[]},u={ZE:{N1:Number.POSITIVE_INFINITY}},o=0,f=0,s=e.video[0]||u,a=e.audio[0]||u;for(;o<e.video.length||f<e.audio.length;)s.ZE.N1<a.ZE.N1?(_e(r.video,i),i+=s.nw,o+=1,s=e.video[o]||u):(_e(r.audio,i),i+=a.nw,f+=1,a=e.audio[f]||u);return r}(t,iu.length+r);return n.p(e),n.li(iu),po(n,t,r,u),function(t,n,r){var i,e={ZE:{N1:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.mG||[],s=n.audio&&n.audio.mG||[],a=f.length,c=s.length,h=f[u]||e,v=s[o]||e;t.yi(r),t.li(uu);for(;u<a||o<c;)h.ZE.N1<v.ZE.N1?(i=h,h=f[u+=1]||e):(i=v,v=s[o+=1]||e),t.pi(i)}(n,t,i),n}function Je(t,n,r){var i=void 0!==n?n:void 0;Lu(t.video?t.video:void 0);var e=go(t,!1,i),u=eu.length+e;return r.p(u),r.li(eu),po(r,t,e,void 0,i||Oe.qk),r}function Qe(t,n,r,i,e){var u=r.ck(),o=i.ck(),f=function(t,n){return 1===Mo(t,n)?52:44}(t,o),s=Bo(t,u),a=ju(t)+8,c=Io.length+f+s+a;return e.p(c),e.li(Io),function(t,n,r,i,e){var u=n.video&&n.video.TPt.hp(Oe.bA(n.video.duration,n.video.TPt.rA))||Oe.qk,o=n.audio&&n.audio.TPt.hp(Oe.bA(n.audio.duration,n.audio.TPt.rA))||Oe.qk,f=Oe.aA(u,o),s=h.round(e*Wu);t.yi(r),t.li(mo),1===Mo(n,e)?(t.yi(16777216),t.yi(1),t.yi(Wu),t.mi(en.fromNumber(s)),t.mi(en.ZERO)):(t.yi(0),t.yi(1),t.yi(Wu),t.yi(s),t.yi(0));t.ki(0),t.ki(1);var a=Co(n.video?n.video:void 0),c=Co(n.audio?n.audio:void 0);t.yi(Bo(n,i)+a+c+8),jo(t,f),t.li([144,0,0,0])}(e,t,f,u,o),function(t,n,r,i,e){t.yi(r),t.li(ko),function(t,n){t.yi(16),t.li(So),t.yi(0),t.yi(n)}(t,i),Lo(t,n,n.video?n.video:void 0,1,e),Lo(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.mG||[],e=n.audio&&n.audio.mG||[];t.yi(r),t.li(uu);for(var u=0;u<i.length;u++){var o=i[u];t.pi(o)}for(var f=0;f<e.length;f++){var s=e[f];t.pi(s)}}(e,t,a),e}function tu(t){return t.gPt===oe.HV||t.gPt===oe.FV||t.gPt===oe.BPt}function nu(t){return t.gPt===oe.QPt}function ru(t){var n=t.length;if(n)for(var r=t[0].ZE.Bot,i=0;i<n;i+=1){var e=t[i].ZE;e.wPt=e.Oot.Ak(r),r=r.hp(e.Lot)}}var iu=[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],eu=[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],uu=[109,100,97,116],ou=[109,111,111,118],fu=[109,118,104,100],su=[116,114,97,107],au=[116,107,104,100],cu=[109,118,101,120],hu=[116,114,101,120],vu=[101,100,116,115],lu=[101,108,115,116],_u=[109,100,105,97],du=[109,100,104,100],wu=[99,116,116,115],yu=[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],gu=[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],pu=[109,105,110,102],Iu=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],mu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],ku=[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],Su=[115,116,98,108],bu=[115,116,115,100],Eu=[97,118,99,67],Au=[101,115,100,115],Tu=[115,116,115,115],Ru=[115,116,116,115],Ou=[115,116,115,99],Nu=[115,116,115,122],Du=[115,116,99,111],Pu=[112,97,115,112],Fu=[97,118,99,49],Bu=[109,112,52,97],Cu=[1,0],Mu=[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],Wu=9e4;function Lu(t){if(t&&!t.LS){var n=t.fNt,r=t.vNt;t.LS=function(t,n){var r=t.length,i=n.length,e=[];return ve(e,1),ve(e,t[1]),ve(e,t[2]),ve(e,t[3]),ve(e,255),ve(e,225),ve(e,(65280&r)>>8),ve(e,255&r),le(e,t),ve(e,1),ve(e,(65280&i)>>8),ve(e,255&i),le(e,n),e}(n,r);var i=new we;i.jV(n,0,n.length);var e=function(t){var n,r,i,e,u,o,f=new $e(t),s=0,a=0,c=0,v=0,l=f.No(1),_={bit:32};if(Ke(f,_),100===l||110===l||122===l||144===l){var d=Ke(f,_);if(3===d&&(n=ze(f,_)),Ke(f,_),Ke(f,_),ze(f,_),1===ze(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===ze(f,_)&&Ze(f,_,w<6?16:64)}var y=Ke(f,_),g=Ke(f,_);if(0===g)Ke(f,_);else if(1===g){ze(f,_),qe(f,_),qe(f,_);for(var p=Ke(f,_),I=0;I<p;I+=1)qe(f,_)}Ke(f,_),ze(f,_);var m=Ke(f,_),k=Ke(f,_),S=ze(f,_);if(0===S&&ze(f,_),ze(f,_),1===ze(f,_)&&(s=Ke(f,_),a=Ke(f,_),c=Ke(f,_),v=Ke(f,_)),1===ze(f,_)){if(1===ze(f,_)){var b=Ge(f,_,8);if(255===b)r=Ge(f,_,16),i=Ge(f,_,16);else{var E=Xe[b];E&&(r=E[0],i=E[1])}}1===ze(f,_)&&ze(f,_),1===ze(f,_)&&(Ge(f,_,3),ze(f,_),1===ze(f,_)&&(Ge(f,_,8),Ge(f,_,8),Ge(f,_,8))),1===ze(f,_)&&(Ke(f,_),Ke(f,_)),1===(e=ze(f,_))&&(u=Ge(f,_,32),o=Ge(f,_,32),ze(f,_))}return{width:h.floor(16*(m+1)-2*s-2*a),height:h.floor((2-S)*(k+1)*16-2*c-2*v),eE:r,uE:i,AX:e?o/(2*u):void 0,bX:n,TX:y}}(i);t.width=e&&e.width,t.height=e&&e.height,e&&e.eE&&e.uE&&(t.eE=e.eE,t.uE=e.uE)}}function Uu(t,n){var r=t.AX||0;if(tu(t))return t.VPt;var i=h.max(Wu,r);return n?h.round(i):i}function ju(t){var n=0,r=function(t){for(var n=t.length,r=0,i=0;i<n;i+=1)r+=t[i].nw;return r};return t.video&&(n+=r(t.video.mG)),t.audio&&(n+=r(t.audio.mG)),n}function Vu(t,n,r,i){var e=Oe.bA(0,t.rA);return n?(i||e).hp(t):r||e}function xu(t,n,r){var i=t.video&&Vu(Oe.bA(t.video.duration,Wu),n,r,t.video.TPt)||Oe.qk,e=t.audio&&Vu(Oe.bA(t.audio.duration,Wu),n,r,t.audio.TPt)||Oe.qk;return 0!==Oe.aA(i,e).eA(Wu).Pk().high?1:0}function Hu(t,n,r){return 1===xu(t,n,r)?120:108}function zu(t,n,r){return 0!==Vu(Oe.bA(t.duration,Wu),n,r,t.TPt).eA(Wu).Pk().high?1:0}function Gu(t,n,r){return 1===zu(t,n,r)?104:92}function Ku(t,n,r){var i=Uu(t,!1),e=Vu(Oe.bA(t.duration,i),n,r);return e.hk(Oe.bA(h.pow(2,32)-1,e.rA))?1:0}function qu(t,n,r){return 1===Ku(t,n,r)?44:32}function Xu(t){if(t.hasOwnProperty("bi"))return t.bi;for(var n=0,r=0,i=t.mG;r<i.length;r++){i[r].ZE.Uot&&(n+=1)}return t.bi=n,n}function Zu(t,n){var r=t.video&&0!==c.keys(t.video).length,i=t.audio&&0!==c.keys(t.audio).length;return n?0:8+(r?32:0)+(i?32:0)}function $u(t){return!nu(t)&&t.WPt?t.WPt.length+12:0}function Yu(t){return nu(t)?110+t.LS.length+$u(t)+(t.eE&&t.uE?16:0):52+$u(t)}function Ju(t,n){return nu(t)&&n?16+4*Xu(t):0}function Qu(t,n){return t.APt&&n&&nu(t)?16+8*t.mG.length:0}function to(t,n){return 20+(n?4*t.mG.length:0)}function no(t,n){return 16+(n?4*t.mG.length:0)}function ro(t,n){return nu(t)?16+(n?8*t.mG.length:0):16+(n?8:0)}function io(t){return 16+(t?12:0)}function eo(t,n){return 8+Yu(t)+Ju(t,n)+Qu(t,n)+ro(t,n)+io(n)+to(t,n)+no(t,n)}function uo(t,n){return 8+(nu(t)?20:16)+36+eo(t,n)}function oo(t,n,r){return 8+qu(t,n,r)+45+uo(t,n)}function fo(t){var n=h.floor(Wu*t.duration||0),r=t.TPt;return n>h.pow(2,31)-1||r.hk(Oe.Jk(h.pow(2,31)-1,Wu))?1:0}function so(t,n){return n?1===fo(t)?24+(t.TPt.Rk()?20:40):24+(t.TPt.Rk()?12:24):0}function ao(t,n,r){return t&&0!==c.keys(t).length?8+Gu(t,n,r)+oo(t,n,r)+so(t,n):0}function co(t,n,r){var i=Yu(n),e=function(t){if(t===oe.QPt)return Fu;if(t===oe.HV)return Bu;if(t===oe.FV||t===oe.BPt)return Bu;throw new s("unknown codec "+t)}(n.gPt);t.yi(i),t.li(bu),t.yi(0),t.yi(1),t.yi(i-16),t.li(e),t.yi(0),t.ki(0),t.ki(1),e===Fu&&nu(n)?(t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.ki(n.width||0),t.ki(n.height||0),t.ki(72),t.ki(0),t.ki(72),t.ki(0),t.yi(0),t.ki(1),t.li([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.ki(24),t.li([255,255]),t.yi(8+n.LS.length),t.li(Eu),t.li(n.LS)):e===Bu&&tu(n)&&(t.yi(0),t.yi(0),t.ki(n.zPt),t.ki(16),t.ki(0),t.ki(0),t.ki(n.VPt),t.ki(0)),nu(n)&&n.eE&&n.uE&&(t.yi(16),t.li(Pu),t.yi(n.eE),t.yi(n.uE)),!nu(n)&&n.WPt&&(t.yi($u(n)),t.li(Au),t.yi(0),t.li(n.WPt))}function ho(t,n,r){var i=Uu(n,!0),e=r?n.mG.length:0;!function(t){var n=t.length;if(n){var r=(t=Ui(t,(function(t,n){return function(t,n){return t.fk(n)}(t.ZE.Bot,n.ZE.Bot)})))[0].ZE;r.yPt=Oe.qk;for(var i=1;i<n;i+=1){var e=t[i].ZE,u=e.Bot.Ak(r.Bot);e.yPt=Oe.aA(u,Oe.qk),r=e}}}(n.mG),t.yi(e);for(var u=0;u<e;u+=1){var o=n.mG[u].ZE.yPt;t.yi(1),t.yi(o.eA(i,Ae.yA).Pk().toInt())}}function vo(t,n,r,i){var e=eo(n,!!i);t.yi(e),t.li(Su),co(t,n),function(t,n,r){t.yi(ro(n,r)),t.li(Ru),t.yi(0),nu(n)?ho(t,n,r):function(t,n,r){t.yi(r?1:0),r&&(t.yi(n.mG.length),t.yi(n.XPt))}(t,n,r)}(t,n,!!i),function(t,n,r){if(nu(n)&&r){var i=Ju(n,r);t.yi(i),t.li(Tu),t.yi(0),t.yi(Xu(n));for(var e=0;e<n.mG.length;e+=1)n.mG[e].ZE.Uot&&t.yi(e+1)}}(t,n,!!i),function(t,n,r){var i=Uu(n,!1);if(n.APt&&r&&nu(n)){ru(n.mG);var e=Qu(n,r);t.yi(e),t.li(wu),t.yi(0),t.yi(n.mG.length);for(var u=0,o=n.mG;u<o.length;u++){var f=o[u].ZE.wPt;t.yi(1),t.yi(f.eA(i,Ae.yA).Pk().toInt())}}}(t,n,!!i),function(t,n){t.yi(io(n)),t.li(Ou),t.yi(0),t.yi(n?1:0),n&&(t.yi(1),t.yi(1),t.yi(1))}(t,!!i),function(t,n,r){var i=to(n,r);if(t.yi(i),t.li(Nu),t.yi(0),t.yi(0),t.yi(r?n.mG.length:0),r)for(var e=0,u=n.mG;e<u.length;e++){var o=u[e];t.yi(o.nw)}}(t,n,!!i),function(t,n,r){var i=no(n,!!r);t.yi(i),t.li(Du),t.yi(0),t.yi(r?n.mG.length:0),r&&t.li(r)}(t,n,i)}function lo(t,n,r,i){var e=uo(n,!!i);t.yi(e),t.li(pu),nu(n)?function(t){t.li(mu)}(t):function(t){t.li(Iu)}(t),function(t){t.li(ku)}(t),vo(t,n,0,i)}function _o(t,n,r,i,e){var u=oo(n,!!i,e);t.yi(u),t.li(_u),function(t,n,r,i){var e=qu(n,r,i),u=Uu(n,!1),o=Vu(Oe.bA(n.duration,u),r,i);u=h.round(u),t.yi(e),t.li(du),1===Ku(n,r,i)?(t.yi(16777216),t.mi(en.ZERO),t.mi(en.ZERO),t.yi(u),Uo(t,o)):(t.yi(0),t.yi(0),t.yi(0),t.yi(u),jo(t,o)),t.li([85,196]),t.li([0,0])}(t,n,!!i,e),function(t,n){n?t.li(yu):t.li(gu)}(t,nu(n)),lo(t,n,0,i)}function wo(t,n){t.yi(32),t.li(hu),t.yi(0),t.yi(n),t.yi(1),t.yi(0),t.yi(0),t.yi(0)}function yo(t,n,r,i,e){var u=ao(n,!!r,e);n&&0!==u&&(t.yi(u),t.li(su),function(t,n,r,i,e){var u=Vu(Oe.bA(n.duration,Wu),i,e,n.TPt),o=Gu(n,i,e),f=nu(n);t.yi(o),t.li(au),1===zu(n,i,e)?(t.yi(16777231),t.mi(en.ZERO),t.mi(en.ZERO),t.yi(r),t.yi(0),Uo(t,u)):(t.yi(15),t.yi(0),t.yi(0),t.yi(r),t.yi(0),jo(t,u)),t.yi(0),t.yi(0),t.ki(0),t.ki(f?0:1),t.li(f?[0,0]:Cu),t.li([0,0]),t.li(Mu),nu(n)?(t.ki(n.width||0),t.ki(0),t.ki(n.height||0),t.ki(0)):(t.yi(0),t.yi(0))}(t,n,i,!!r,e),r&&function(t,n){var r=so(n,!0),i=h.floor(Wu*n.duration||0),e=fo(n);t.yi(r),t.li(vu),t.yi(r-8),t.li(lu),1===e?t.yi(16777216):t.yi(0),t.yi(n.TPt.Rk()?1:2),n.TPt.Rk()||(1===e?(Uo(t,n.TPt),t.li([255,255,255,255,255,255,255,255])):(jo(t,n.TPt),t.li([255,255,255,255])),t.ki(1),t.ki(0)),1===e?(t.mi(en.fromNumber(i)),t.mi(en.ZERO)):(t.yi(i),t.yi(0)),t.ki(1),t.ki(0)}(t,n),_o(t,n,0,r,e))}function go(t,n,r){var i=ao(t.video?t.video:void 0,n,r),e=ao(t.audio?t.audio:void 0,n,r);return 8+Hu(t,n,r)+Zu(t,n)+i+e}function po(t,n,r,i,e){t.yi(r),t.li(ou),function(t,n,r,i){var e=Hu(n,r,i),u=n.video&&Vu(Oe.bA(n.video.duration,Wu),r,i,n.video.TPt)||Oe.qk,o=n.audio&&Vu(Oe.bA(n.audio.duration,Wu),r,i,n.audio.TPt)||Oe.qk,f=Oe.aA(u,o);t.yi(e),t.li(fu),1===xu(n,r,i)?(t.yi(16777216),t.mi(en.ZERO),t.mi(en.ZERO),t.yi(Wu),Uo(t,f)):(t.yi(0),t.yi(0),t.yi(0),t.yi(Wu),jo(t,f)),t.li([0,1,0,0]),t.li(Cu),t.li([0,0,0,0,0,0,0,0,0,0]),t.li(Mu),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(3)}(t,n,!!i,e),i||function(t,n){t.yi(Zu(n,!1)),t.li(cu),n.video&&0!==c.keys(n.video).length&&wo(t,1),n.audio&&0!==c.keys(n.audio).length&&wo(t,2)}(t,n),yo(t,n.video?n.video:void 0,i&&i.video,1,e),yo(t,n.audio?n.audio:void 0,i&&i.audio,2,e)}var Io=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],mo=[115,105,100,120],ko=[109,111,111,102],So=[109,102,104,100],bo=[116,114,97,102],Eo=[116,102,104,100],Ao=[116,102,100,116],To=[116,114,117,110],Ro=[115,100,116,112];function Oo(t){return nu(t)?20+16*t.mG.length:20+4*t.mG.length}function No(t){return nu(t)?12+t.mG.length:0}function Do(t,n){var r=Uu(t,!0);return h.round(n*r)>h.pow(2,32)-1?1:0}function Po(t,n){return 1===Do(t,n)?20:16}function Fo(t,n){return t&&t.mG?32+Po(t,n)+Oo(t)+No(t):0}function Bo(t,n){return 24+Fo(t.audio?t.audio:void 0,n)+Fo(t.video?t.video:void 0,n)}function Co(t){if(!t||!t.mG)return 0;for(var n=0,r=0,i=t.mG;r<i.length;r++){n+=i[r].nw}return n}function Mo(t,n){return h.round(n*Wu)>h.pow(2,32)-1?1:0}function Wo(t,n,r,i){nu(r)?function(t,n,r,i){var e=Bo(n,i)+8,u=Uu(r,!1);ru(r.mG),t.yi(Oo(r)),t.li(To),t.li([1,0,15,1]),t.yi(r.mG.length),t.yi(e);for(var o=0,f=r.mG;o<f.length;o++){var s=f[o];t.yi(h.round(s.ZE.Dy*u));var a=s.ZE.wPt;t.yi(s.nw),t.li(s.ZE.Uot?[2,0,0,0]:[0,1,0,0]),t.yi(a.eA(u).Pk().toInt())}}(t,n,r,i):function(t,n,r,i){var e=Co(n.video?n.video:void 0),u=Bo(n,i)+8+e;t.yi(Oo(r)),t.li(To),t.li([0,0,2,1]),t.yi(r.mG.length),t.yi(u);for(var o=0,f=r.mG;o<f.length;o++){var s=f[o];t.yi(s.nw)}}(t,n,r,i)}function Lo(t,n,r,i,e){r&&(t.yi(Fo(r,e)),t.li(bo),function(t,n,r){var i=Uu(n,!0),e=nu(n)?h.round(i/(n.SPt.ck()||0)):n.XPt;t.yi(24),t.li(Eo),t.yi(40),t.yi(r),t.yi(e),t.li(nu(n)?[0,1,0,0]:[2,0,0,0])}(t,r,i),function(t,n,r){var i=Uu(n,!0),e=h.round(r*i);t.yi(Po(n,r)),t.li(Ao),1===Do(n,r)?(t.yi(16777216),t.mi(en.fromNumber(e))):(t.yi(0),t.yi(e))}(t,r,e),Wo(t,n,r,e),function(t,n,r){if(nu(r)){t.yi(No(r)),t.li(Ro),t.li([0,0,0,0]);for(var i=0,e=r.mG;i<e.length;i++)e[i].ZE.Uot?t.te(32):t.te(16)}}(t,0,r))}function Uo(t,n){t.mi(n.eA(Wu).Pk())}function jo(t,n){t.yi(n.eA(Wu).Pk().toNumber())}var Vo,xo={ie:function(t,n){n.p(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].nw;return i}(t.audio.mG)),n}(t));for(var r=0,i=t.audio&&t.audio.mG||[],e=i.length;r<e;)n.pi(i[r]),r+=1}},Ho=function(){function t(t){this.Fd=void 0,this.ee=0,this.wd=t}var n=t.prototype;return n.se=function(t,n,r){var i=this.ee,e=this.Fd;for(n=n||0,r=r||t.length;n<r;n+=1,i+=1)e[i]=t[n];this.ee=i},n.p=function(t){this.Fd=new d(t),this.ee=0},n.te=function(t){this.Fd&&(this.Fd[this.ee]=t,this.ee+=1)},n.li=function(t,n,r){this.Fd&&this.se(t,n,r)},n.pi=function(t){this.ee=t.tX(this.Fd,this.ee)},n.AA=function(t){return t(this.Fd,this.wd)},n.ki=function(t){return this.li([(n=t)>>>8&255,255&n]);var n},n.yi=function(t){return this.li(he(t))},n.mi=function(t){var n=t.toUnsigned();this.yi(n.high),this.yi(n.low)},t}(),zo=t;function Go(t,n){return void 0===Vo&&(Vo=function(){var t=new d(1);try{return zo.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Vo?zo.postMessage(t,n):zo.postMessage(t)}var Ko="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");function qo(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],Ko[i>>2]+Ko[(3&i)<<4|e>>4]+Ko[(15&e)<<2|u>>6]+Ko[63&u]));return o.join("")}function Xo(t){for(var n=t.length,r=n%3,i=[],e=n-r,u=0;u<e;u+=16383)i.push(qo(t,u,h.min(e,u+16383)));if(1===r){var o=t[n-1];i.push(Ko[o>>2]+Ko[(3&o)<<4]+"==")}else if(2===r){var f=t[n-2],s=t[n-1];i.push(Ko[f>>2]+Ko[(3&f)<<4|s>>4]+Ko[(15&s)<<2]+"=")}return i.join("")}var Zo,$o,Yo,Jo,Qo,tf,nf=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];ArrayBuffer.isView;function rf(t){return{audio:t.audio?ff(t.audio):void 0,video:t.video?(r=t.video,i=of(r),de({},i,{gPt:r.gPt,mG:r.mG.map((function(t){return function(t){var n=af(t),r=(i=n.ZE,de({},cf(i),{Dy:i.Dy,Lot:Ne(i.Lot),Mot:i.Mot,xot:i.xot,wPt:i.wPt&&Ne(i.wPt),yPt:i.yPt&&Ne(i.yPt),Uot:i.Uot,Vot:i.Vot,Fot:i.Fot,Hot:i.Hot}));var i;return n.Uo(r)}(t)})),mPt:r.mPt,pPt:r.pPt,LS:r.LS,width:r.width,height:r.height,ZX:r.ZX,kPt:r.kPt,JX:r.JX,fNt:r.fNt,vNt:r.vNt,eE:r.eE,uE:r.uE})):void 0,hPt:t.hPt?(n=t.hPt,{fPt:n.fPt,GNt:n.GNt,Dw:n.Dw,wV:n.wV,vPt:n.vPt,dPt:n.dPt,lPt:n.lPt.map(ef),Uw:[]}):void 0,Fot:t.Fot?t.Fot.map(uf):t.Fot,_Pt:Ne(t._Pt)};var n,r,i}function ef(t){return{hT:t.hT,ZE:{N1:t.ZE.N1,bot:Ne(t.ZE.Pot)},mG:t.mG}}function uf(t){return{bot:Ne(t.bot),lE:t.lE,Tot:t.Tot,Sot:t.Sot,$u:t.$u,EK:t.EK,Eot:t.Eot,Iot:t.Iot}}function of(t){return{fPt:t.fPt,mG:[],gPt:t.gPt,APt:t.APt,duration:t.duration,bPt:t.bPt,TPt:Ne(t.TPt),AX:t.AX,SPt:Ne(t.SPt),EPt:t.EPt,IPt:Ne(t.IPt),RPt:Ne(t.RPt),NPt:Ne(t.NPt),DPt:Ne(t.DPt),CPt:Ne(t.CPt),PPt:Ne(t.PPt),OPt:Ne(t.OPt)}}function ff(t){switch(t.gPt){case oe.FV:case oe.BPt:return function(t){return de({},sf(t),{gPt:t.gPt,mG:t.mG.map((function(t){return function(t){var n=af(t),r=(i=n.ZE,de({},hf(i),{LPt:i.LPt,MPt:i.MPt,xPt:i.xPt}));var i;return n.Uo(r)}(t)})),wNt:t.wNt,UPt:t.UPt})}(t);case oe.HV:return function(t){return de({},sf(t),{gPt:t.gPt,mG:t.mG.map((function(t){return function(t){var n=af(t),r=(i=n.ZE,de({},hf(i),{_T:i._T,GT:i.GT,FPt:i.FPt,kz:i.kz,HPt:i.HPt}));var i;return n.Uo(r)}(t)}))})}(t)}}function sf(t){return de({},of(t),{mG:[],gPt:t.gPt,VPt:t.VPt,XPt:t.XPt,zPt:t.zPt,WPt:t.WPt})}function af(t){var n=new we;return n.jV(t.qPt,0,t.GPt),n.ZE=t.YPt,n}function cf(t){var n;return de({},{N1:(n=t).N1,Pot:Ne(n.Pot)},{Oot:Ne(t.Oot),Bot:Ne(t.Bot)})}function hf(t){return de({},cf(t))}($o=Zo||(Zo={})).HV="WLt",$o.$w="qLt",$o.GLt="YLt",$o.jLt="QLt",$o.KLt="ZLt",(Jo=Yo||(Yo={})).JLt="$Lt",Jo.tMt="nMt",(tf=Qo||(Qo={})).iMt="audio/mp4",tf.rMt="audio/mpeg",tf.eMt="video/mp4";var vf=t;function lf(t,n,r){n={},r||(r="PIW0031"),vf.postMessage({zMt:"QMt",WMt:t,GMt:n.message||r,ae:n.name,ce:n.stack,he:JSON.stringify(n)})}function _f(t,n,r){return t.push(n.buffer),{Fd:n,wd:r}}function df(t,n){return{Fd:Xo(t),wd:n}}vf.addEventListener("message",(function(t){var n,r,i,e,u=t.data,o=u.AMt,f=u.EMt,s=u.TMt,a=[],c=f===Yo.JLt?_f.bind(void 0,a):df;if("bMt"===o){i=rf(u.RMt),u.RMt=void 0;try{if("ZLt"===(e=u.SMt)||"QLt"===e||"YLt"===e)n=function(t,n){var r=t.IMt,i=t.NMt,e=Ne(t.CMt),u=Ne(t.PMt),o=t.DMt&&Ne(t.DMt);switch(t.SMt){case Zo.GLt:var f=new Ho(r);return Qe(n,i,e,u,f),f;case Zo.jLt:var s=new Ho(r);return Je(n,o,s),s;case Zo.KLt:var a={kbt:new Ho(r),rxt:new Ho(r),AA:function(t){return{kbt:a.kbt.AA(t),rxt:a.rxt.AA(t)}}};return Je(n,o,a.kbt),Qe(n,i,e,u,a.rxt),a}}(u,i);else{if(!function(t){var n=t.SMt;return"qLt"===n||"WLt"===n}(u))return lf(s,{},"PIW0072");n=function(t,n){var r=t.IMt;switch(t.SMt){case Zo.HV:var i=new Ho(r);return xo.ie(n,i),i;case Zo.$w:var e=new Ho(r);return Ye(n,e),e}}(u,i)}}catch(t){return lf(s,t,"PIW0082")}try{r=n.AA(c)}catch(t){return lf(s,t,"PIW0077")}try{return Go({zMt:"YMt",WMt:s,qMt:r},a)}catch(t){return lf(s,t,"PIW0078")}}return lf(s,{},"PIW0090")}),!1),vf.postMessage({REt:"5.11.0"})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);