@theoplayer/theoads 11.10.2 → 11.12.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.
@@ -24,7 +24,7 @@
24
24
  THEOplayer is based on patented technology developed by
25
25
  THEO Technologies (https://www.theoplayer.com).
26
26
 
27
- Version: 11.10.2
28
- Created: 2026-09-04T12:19:09.525Z
27
+ Version: 11.12.0
28
+ Created: 2026-09-23T10:10:05.074Z
29
29
  */
30
- !function(t){"use strict";var n,r,i,e,u,o,f,s,c,a=t.window,h=t.document,v=t.location,l=t.navigator,_=t.setTimeout,d=t.clearTimeout,y=t.setInterval,w=t.clearInterval,I=t.Error,E=t.TypeError,g=(t.SyntaxError,t.Object),R=t.Math,S=t.parseInt,O=t.parseFloat,p=t.isNaN,T=t.Uint8Array,k=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest);function b(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function m(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!=(o=Symbol.for)?o:Symbol,i=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:r("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:r("Symbol.asyncDispose")):(c=0,n=function(t){return"hd"+t+"_"+ ++c},i=(r=function(t){return"hd"+t})("Symbol.iterator"),e=r("Symbol.dispose"),u=r("Symbol.asyncDispose"),n.for=r,n.iterator=i,n.dispose=e,n.asyncDispose=u);var N=_;function A(t){return Boolean(t&&void 0!==t.length)}function C(){}function D(t){if(!b(this,D))throw new E("Promises must be constructed via new");if("function"!=typeof t)throw new E("not a function");this.Ua=0,this.kNi=!1,this.FCt=void 0,this.bNi=[],V(t,this)}function P(t,n){for(;3===t.Ua;)t=t.FCt;0!==t.Ua?(t.kNi=!0,D.ANi(function(){var r=1===t.Ua?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.FCt)}catch(t){return void L(n.promise,t)}F(n.promise,i)}else(1===t.Ua?F:L)(n.promise,t.FCt)})):t.bNi.push(n)}function F(t,n){try{if(n===t)throw new E("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":m(n))||"function"==typeof n)){var r=n.then;if(b(n,D))return t.Ua=3,t.FCt=n,void M(t);if("function"==typeof r)return void V(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Ua=1,t.FCt=n,M(t)}catch(n){L(t,n)}}function L(t,n){t.Ua=2,t.FCt=n,M(t)}function M(t){2===t.Ua&&0===t.bNi.length&&D.ANi(function(){t.kNi||D.TNi(t.FCt)});for(var n=0,r=t.bNi.length;n<r;n++)P(t,t.bNi[n]);t.bNi=null}function B(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function V(t,n){var r=!1;try{t(function(t){r||(r=!0,F(n,t))},function(t){r||(r=!0,L(n,t))})}catch(t){if(r)return;r=!0,L(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var r=new this.constructor(C);return P(this,new B(t,n,r)),r},D.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)})})},D.all=function(t){return new D(function(n,r){if(!A(t))return r(new E("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"===(void 0===o?"undefined":m(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])})},D.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new E((void 0===t?"undefined":m(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"===(void 0===r?"undefined":m(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])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":m(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,r){r(t)})},D.race=function(t){return new D(function(n,r){if(!A(t))return r(new E("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)D.resolve(t[i]).then(n,r)})},D.ANi="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){N(t,0)},D.TNi=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var U=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),H=l?l.userAgent:"",W=H.match(/Firefox\/([0-9]+)/i),x=null!=W,G=W?Number(W[1]):0,K=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),j=null!=K,z=K?Number(K[3]):0,Y=function(){function t(t){this.Gb=0,this.Wd=0,this.ym=[],this.SNi=t}return t.prototype.ENi=function(t){var n=this.length();this.INi(n+1);var r=this.Wd+n&this.SNi-1;this.ym[r]=t,this.Gb=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.SNi<n)this.ENi(t);else{var r=this.Wd+n-1,i=this.SNi-1;this.ym[r&i]=t,this.Gb=n}},t.prototype.shift=function(){var t=this.Wd,n=this.ym[t];return this.ym[t]=void 0,this.Wd=t+1&this.SNi-1,this.Gb--,n},t.prototype.length=function(){return this.Gb},t.prototype.INi=function(t){this.SNi<t&&this.RNi(this.SNi<<1)},t.prototype.RNi=function(t){var n=this.SNi;this.SNi=t;var r=this.Wd+this.Gb&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.ym,0,n,r)},t}();var q="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function Z(t){return new X(q,{reason:t,promise:U.reject(t).catch(function(){}),cancelable:!0})}function Q(t){var n=new $(q,{detail:{reason:t},cancelable:!0});return g.defineProperty(n,"reason",{value:t}),n}function J(t){var n=h.createEvent("CustomEvent");return n.initCustomEvent(q,!1,!0,{reason:t}),n}var tt,nt,rt,it,et,ut,ot,ft,st=function(t){return st=function(){try{var t=U.resolve(),n="error",r=new X(q,{reason:n,promise:t});return q===r.type&&n===r.reason}catch(t){}return!1}()?Z:function(){try{var t="error",n=new $(q,{detail:{reason:t}});return q===n.type&&t===n.detail.reason}catch(t){}return!1}()?Q:J,st(t)};function ct(t,n){return ct=g.setPrototypeOf||function(t,n){return t.__proto__=n,t},ct(t,n)}function at(t,n){if("function"!=typeof n&&null!==n)throw new E("Super expression must either be null or a function");t.prototype=g.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ct(t,n)}function ht(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),g.defineProperty(t,i.key,i)}}function vt(t,n,r){return n&&ht(t.prototype,n),r&&ht(t,r),t}function lt(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 _t(t,r){var e=void 0!==n&&t[i]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return lt(t,n);var r=g.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)?lt(t,n):void 0}}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new E("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}U&&!(x&&G<60||j&&z<15)?nt=U:(nt=D,ot=null!==(tt=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=U;if(n&&"function"==typeof n.resolve){var r=n.resolve();return function(t){return r.then(t)}}}())&&void 0!==tt?tt:D.ANi,rt=ot,it=new Y(16),et=!1,(ft={g9:function(t){it.push(t),et||(et=!0,rt(ut))},WJ:ut=function(){for(;it.length()>0;)it.shift()();et=!1}}).WJ,D.ANi=ft.g9,D.TNi=function(t){try{var n=st(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}_(function(){throw new I("Unhandled promise rejection: ".concat(t))},0)});var dt=function(t){return t.Rv="web",t.Dv="android",t.Nv="android-tv",t.Bv="ios",t.Mv="tvos",t.Lv="chromecast",t.Ov="theoliveweb",t}({});var yt=l?l.userAgent:"",wt=yt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),It=yt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),Et=yt.match(/Android ([0-9\.]+)/i),gt=yt.match(/Windows NT ([0-9\.]+)/i),Rt=yt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),St=yt.match(/Firefox\/([0-9\.]+)/i),Ot=yt.match(/OPR\/(\d+\.\d+)/i),pt=yt.match(/Tizen ([0-9\.]+)/i),Tt=yt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),kt=yt.match(/HbbTV\/([0-9.]+)/i),bt=yt.match(/(AFT.*) Build/i),mt=function(){function t(){this.Fv=Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.Vv=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(yt)||/(macintosh|mac(?=_powerpc)\s)/i.test(yt),this.Wv=/Windows NT/i.test(yt),this.zv=gt?O(gt[1]):0,this.Xv=/Android/i.test(yt),this.Kv=Et?O(Et[1]):0,this.Jv=/windows phone (8|8\.1)/i.test(yt),this.$v=/iPhone/i.test(yt),this.i_=/iPad/i.test(yt),this.e_=this.Vv&&this.Fv&&!this.i_,this.r_=/iPod/i.test(yt),this.l_=/Mobile Safari/i.test(yt),this.c_=/EOS\d*STB/i.test(yt),this.d_=/APP\d*STB/i.test(yt),this.o_=(this.$v||this.i_||this.e_||this.r_)&&!this.Jv,this.a_=Tt?O(Tt[2]):0,this.f_=this.Jv||this.o_||this.Xv||this.l_,this.__=/CriOS/i.test(yt),this.p_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.__,this.A_=this.p_&&/Edg\//i.test(l.userAgent),this.T_=It?S(It[1],10):0,this.$g=Boolean(/CriOS/i.test(yt)),this.Zg=Boolean(self.chrome||/Chrome/i.test(yt)||this.$g),this.y_=wt?S(wt[1],10):0,this.x_=/SMART-TV.*Tizen/i.test(yt),this.C_=pt?O(pt[1]):0,this.w_=this.C_>0?function(t){return t>=8?108:t>=7?94:t>=6.5?85:t>=6?76:t>=5.5?69:t>=5?63:t>=4?56:t>=3?47:0}(this.C_):void 0,this.R_=/webos|web0s/i.test(yt),this.N_=/HbbTV/i.test(yt),this.M_=!!kt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(kt[1]),this.O_=/AFT.* Build/i.test(yt),this.U_=bt?bt[1]:void 0,this.W_=/VIZIO/i.test(yt),this.J_=/Edge\/\d+/i.test(yt),this.eg=/Trident/i.test(yt),this.og=this.eg&&!self.ActiveXObject&&"ActiveXObject"in self,this.ag=/Vivaldi/i.test(yt),this.dg=/Firefox/i.test(yt)&&!/Seamonkey/i.test(yt),this.vg=St?O(St[1]):0,this.gg=/Safari/i.test(yt)&&!/Chrome/i.test(yt)&&!this.Jv&&!this.x_,this.wg=Rt?O(Rt[2]):0,this.Ag=Boolean(Ot),this.Tg=Ot?O(Ot[1]):0,this.z_=/Sky_STB/i.test(yt),this.X_=/Sky_TV/i.test(yt),this.Q_=/Sky_OTT/i.test(yt),this.xg=/CrKey/.test(yt),this.Cg=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(yt)||this.z_,this.Dg=/OculusBrowser|Meta Quest/i.test(yt),this.Bg=/PlayStation 4/i.test(yt),this.Lg=/PlayStation 5/i.test(yt),this.Fg=/VirginMedia_STB/i.test(yt),this.Vg="web"===dt.Nv,this.Wg="web"===dt.Dv,this.zg=this.Wg||this.Vg,this.Xg="web"===dt.Bv,this.Qg="web"===dt.Mv,this.Yg="web"===dt.Lv}return vt(t,[{key:"Ke",get:function(){return this.Fv}},{key:"Uv",get:function(){return this.Vv}},{key:"Hv",get:function(){return this.Wv}},{key:"qv",get:function(){return this.zv}},{key:"Gv",get:function(){return this.Xv}},{key:"Qv",get:function(){return this.Kv}},{key:"Yv",get:function(){return this.Jv}},{key:"Zv",get:function(){return this.$v}},{key:"t_",get:function(){return this.i_}},{key:"s_",get:function(){return this.e_}},{key:"n_",get:function(){return this.r_}},{key:"ru",get:function(){return this.o_}},{key:"h_",get:function(){return this.a_}},{key:"u_",get:function(){return this.c_||this.d_}},{key:"$d",get:function(){return this.l_}},{key:"Ks",get:function(){return this.f_}},{key:"v_",get:function(){return this.__}},{key:"g_",get:function(){return this.p_}},{key:"m_",get:function(){var t;return null!=(t=this.w_)?t:this.y_}},{key:"b_",get:function(){return this.A_}},{key:"S_",get:function(){var t;return(null==(t=a.chrome)?void 0:t.webview)&&this.T_>0}},{key:"k_",get:function(){return this.T_}},{key:"E_",get:function(){return this.x_}},{key:"P_",get:function(){return this.C_}},{key:"I_",get:function(){return this.R_}},{key:"D_",get:function(){return this.N_}},{key:"B_",get:function(){return this.M_}},{key:"L_",get:function(){return this.O_}},{key:"F_",get:function(){return"AFTMM"===this.U_}},{key:"V_",get:function(){return"AFTM"===this.U_}},{key:"H_",get:function(){return this.W_}},{key:"q_",get:function(){return this.z_}},{key:"G_",get:function(){return this.X_}},{key:"j_",get:function(){return this.Q_}},{key:"K_",get:function(){return this.q_||this.j_||this.G_}},{key:"Y_",get:function(){return this.J_}},{key:"Z_",get:function(){return this.eg}},{key:"rg",get:function(){return this.og}},{key:"hg",get:function(){return this.ag}},{key:"cg",get:function(){return this.dg}},{key:"fg",get:function(){return this.vg}},{key:"_g",get:function(){return this.gg}},{key:"pg",get:function(){return 0===this.wg&&Nt.ru?this.a_:this.wg}},{key:"yg",get:function(){return this.Ag}},{key:"Sg",get:function(){return this.Tg}},{key:"Eg",get:function(){return this.xg}},{key:"Pg",get:function(){return this.Cg}},{key:"Ig",get:function(){return!(!this.I_&&!this.E_)&&this.m_<=56}},{key:"Rg",get:function(){return this.Dg}},{key:"Ng",get:function(){return this.Bg}},{key:"Mg",get:function(){return this.Lg}},{key:"Og",get:function(){return this.Fg}},{key:"Ug",get:function(){return this.Vg}},{key:"Hg",get:function(){return this.Wg}},{key:"qg",get:function(){return this.zg}},{key:"Gg",get:function(){return this.Xg}},{key:"jg",get:function(){return this.Qg}},{key:"Kg",get:function(){return this.Yg}},{key:"Jg",get:function(){return this.Zg}},{key:"IS_IOS_CHROME",get:function(){return this.$g}}]),t}();mt.tp=new mt;var Nt=mt.tp,At={}.toString;function Ct(t){return null!=t}Array.isArray;function Dt(t){return"object"===(void 0===t?"undefined":m(t))&&null!==t}function Pt(t){return function(t){return"function"==typeof t}(t)||Dt(t)}var Ft=function(){};function Lt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}function Mt(t,n,r,i,e,u,o){try{var f=t[u](o),s=f.value}catch(t){return void r(t)}f.done?n(s):nt.resolve(s).then(i,e)}function Bt(t){return function(){var n=this,r=arguments;return new nt(function(i,e){var u=t.apply(n,r);function o(t){Mt(u,i,e,o,f,"next",t)}function f(t){Mt(u,i,e,o,f,"throw",t)}o(void 0)})}}function Vt(t,r){var e,u,o,f={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=g.create(("function"==typeof Iterator?Iterator:g).prototype);return s.next=c(0),s.throw=c(1),s.return=c(2),"function"==typeof n&&(s[i]=function(){return this}),s;function c(n){return function(i){return function(n){if(e)throw new E("Generator is already executing.");for(;s&&(s=0,n[0]&&(f=0)),f;)try{if(e=1,u&&(o=2&n[0]?u.return:n[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,n[1])).done)return o;switch(u=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return f.label++,{value:n[1],done:!1};case 5:f.label++,u=n[1],n=[0];continue;case 7:n=f.ops.pop(),f.trys.pop();continue;default:if(!(o=f.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){f=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){f.label=n[1];break}if(6===n[0]&&f.label<o[1]){f.label=o[1],o=n;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(n);break}o[2]&&f.ops.pop(),f.trys.pop();continue}n=r.call(t,f)}catch(t){n=[6,t],u=0}finally{e=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,i])}}}R.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Ut="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var r=0;r<t.length;r+=1){if(n(t[r],r,t))return r}return-1},Ht="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var r=t.length-1;r>=0;r-=1){if(n(t[r],r,t))return r}return-1};Array.prototype.at;function Wt(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,r),!0)}function xt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Gt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];I.apply(this,n)};(Gt.prototype=g.create(I.prototype)).constructor=Gt;var Kt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,I.captureStackTrace&&I.captureStackTrace(i,i.constructor),i}return at(n,t),vt(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Gt),jt=function(t){function n(n,r){return t.call(this,n||"Aborted",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return"AbortError"}}]),n}(Kt),zt=function(){function t(){this.ap=!1,this._p=!1,this.cp=void 0,this.gp=[],this.mp=[]}var n=t.prototype;return n.vp=function(t){if(!this.ap&&!this._p){this.ap=!0,this.cp=null!=t?t:new jt;for(var n,r=_t(this.gp.slice());!(n=r()).done;){(0,n.value)()}this.pp()}},n.pp=function(){if(!this._p){this._p=!0;for(var t,n=_t(this.mp.slice());!(t=n()).done;){(0,t.value)()}xt(this.gp),xt(this.mp)}},n.hp=function(){if(this.ap)throw this.cp},n.lp=function(t){this._p||this.gp.push(t)},n.dp=function(t){this._p||Wt(this.gp,t)},n.wp=function(t){this._p||this.mp.push(t)},n.yp=function(t){this._p||Wt(this.mp,t)},t}(),Yt=function(){function t(){this.bp=new zt}var n=t.prototype;return n.Ap=function(t){this.bp.vp(t)},n.pp=function(){this.bp.pp()},n.Sp=function(t){var n=this.bp;if(!n.ap)if(t.ap)n.vp(t.cp);else if(!n._p&&!t._p){var r=function(){i(),n.vp(t.cp)},i=function(){t.dp(r),t.yp(i),n.dp(r),n.yp(i)};t.lp(r),t.wp(i),n.lp(r),n.wp(i)}},n.Tp=function(){var n=new t,r=new t,i=n.fp,e=r.fp,u=this.bp,o=function(){i.ap&&e._p?u.vp(i.cp):e.ap&&i._p?u.vp(e.cp):i._p&&e._p&&u.pp()};i.lp(o),e.lp(o),i.wp(o),e.wp(o),n.Sp(u),r.Sp(u);return u.wp(function(){i.dp(o),e.dp(o),i.yp(o),e.yp(o)}),[n,r]},n[e]=function(){this.Ap()},t.kp=function(n){for(var r,i=new t,e=_t(n);!(r=e()).done;){var u=r.value;void 0!==u&&i.Sp(u)}return i},vt(t,[{key:"fp",get:function(){return this.bp}}]),t}();nt.resolve();function qt(){return void 0!==h?h.createElement("video"):void 0}var Xt=Lt(qt),$t=(Lt(function(){return"undefined"!=typeof HTMLVideoElement&&b(Xt(),HTMLVideoElement)}),null);try{$t=new WebAssembly.Instance(new WebAssembly.Module(new T([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(rt){}function Zt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Qt(t){return!0===(t&&t.xp)}function Jt(t){var n=R.clz32(t&-t);return t?31-n:n}Zt.prototype.xp,g.defineProperty(Zt.prototype,"xp",{value:!0}),Zt.isLong=Qt;var tn={},nn={};function rn(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=nn[t])?i:(r=un(t,0,!0),e&&(nn[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=tn[t])?i:(r=un(t,t<0?-1:0,!1),e&&(tn[t]=r),r)}function en(t,n){if(p(t))return n?_n:ln;if(n){if(t<0)return _n;if(t>=an)return En}else{if(t<=-hn)return gn;if(t+1>=hn)return In}return t<0?en(-t,n).neg():un(t%cn|0,t/cn|0,n)}function un(t,n,r){return new Zt(t,n,r)}Zt.fromInt=rn,Zt.fromNumber=en,Zt.fromBits=un;var on=R.pow;function fn(t,n,r){if(0===t.length)throw I("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?_n:ln;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw I("interior hyphen");if(0===i)return fn(t.substring(1),n,r).neg();for(var e=en(on(r,8)),u=ln,o=0;o<t.length;o+=8){var f=R.min(8,t.length-o),s=S(t.substring(o,o+f),r);if(f<8){var c=en(on(r,f));u=u.mul(c).add(en(s))}else u=(u=u.mul(e)).add(en(s))}return u.unsigned=n,u}function sn(t,n){return"number"==typeof t?en(t,n):"string"==typeof t?fn(t,n):un(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Zt.fromString=fn,Zt.fromValue=sn;var cn=4294967296,an=cn*cn,hn=an/2,vn=rn(1<<24),ln=rn(0);Zt.ZERO=ln;var _n=rn(0,!0);Zt.UZERO=_n;var dn=rn(1);Zt.ONE=dn;var yn=rn(1,!0);Zt.UONE=yn;var wn=rn(-1);Zt.NEG_ONE=wn;var In=un(-1,2147483647,!1);Zt.MAX_VALUE=In;var En=un(-1,-1,!0);Zt.MAX_UNSIGNED_VALUE=En;var gn=un(0,-2147483648,!1);Zt.MIN_VALUE=gn;var Rn=Zt.prototype;function Sn(){return Date.now()||(new Date).getTime()}Rn.toInt=function(){return this.unsigned?this.low>>>0:this.low},Rn.toNumber=function(){return this.unsigned?(this.high>>>0)*cn+(this.low>>>0):this.high*cn+(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(gn)){var n=en(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=en(on(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(gn)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&!(t&1<<n);n--);return 0!=this.high?n+33:n+1},Rn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},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&~this.low)},Rn.isEven=function(){return!(1&this.low)},Rn.equals=function(t){return Qt(t)||(t=sn(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(Qt(t)||(t=sn(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(gn)?gn:this.not().add(dn)},Rn.neg=Rn.negate,Rn.add=function(t){Qt(t)||(t=sn(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&t.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,un((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},Rn.subtract=function(t){return Qt(t)||(t=sn(t)),this.add(t.neg())},Rn.sub=Rn.subtract,Rn.multiply=function(t){if(this.isZero())return this;if(Qt(t)||(t=sn(t)),$t)return un($t.mul(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned);if(t.isZero())return this.unsigned?_n:ln;if(this.eq(gn))return t.isOdd()?gn:ln;if(t.eq(gn))return this.isOdd()?gn:ln;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(vn)&&t.lt(vn))return en(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,a=0,h=0,v=0;return h+=(v+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,un((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},Rn.mul=Rn.multiply,Rn.divide=function(t){if(Qt(t)||(t=sn(t)),t.isZero())throw I("division by zero");var n,r,i;if($t)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?un((this.unsigned?$t.div_u:$t.div_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?_n:ln;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return _n;if(t.gt(this.shru(1)))return yn;i=_n}else{if(this.eq(gn))return t.eq(dn)||t.eq(wn)?gn:t.eq(gn)?dn:(n=this.shr(1).div(t).shl(1)).eq(ln)?t.isNegative()?dn:wn:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(gn))return this.unsigned?_n:ln;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=ln}for(r=this;r.gte(t);){n=R.max(1,R.floor(r.toNumber()/t.toNumber()));for(var e=R.ceil(R.log(n)/R.LN2),u=e<=48?1:on(2,e-48),o=en(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=en(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=dn),i=i.add(o),r=r.sub(f)}return i},Rn.div=Rn.divide,Rn.modulo=function(t){return Qt(t)||(t=sn(t)),$t?un((this.unsigned?$t.rem_u:$t.rem_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},Rn.mod=Rn.modulo,Rn.rem=Rn.modulo,Rn.not=function(){return un(~this.low,~this.high,this.unsigned)},Rn.countLeadingZeros=function(){return this.high?R.clz32(this.high):R.clz32(this.low)+32},Rn.clz=Rn.countLeadingZeros,Rn.countTrailingZeros=function(){return this.low?Jt(this.low):Jt(this.high)+32},Rn.ctz=Rn.countTrailingZeros,Rn.and=function(t){return Qt(t)||(t=sn(t)),un(this.low&t.low,this.high&t.high,this.unsigned)},Rn.or=function(t){return Qt(t)||(t=sn(t)),un(this.low|t.low,this.high|t.high,this.unsigned)},Rn.xor=function(t){return Qt(t)||(t=sn(t)),un(this.low^t.low,this.high^t.high,this.unsigned)},Rn.shiftLeft=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):un(0,this.low<<t-32,this.unsigned)},Rn.shl=Rn.shiftLeft,Rn.shiftRight=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):un(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},Rn.shr=Rn.shiftRight,Rn.shiftRightUnsigned=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):un(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 Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),un(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 Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),un(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},Rn.rotr=Rn.rotateRight,Rn.toSigned=function(){return this.unsigned?un(this.low,this.high,!1):this},Rn.toUnsigned=function(){return this.unsigned?this:un(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]},Zt.fromBytes=function(t,n,r){return r?Zt.fromBytesLE(t,n):Zt.fromBytesBE(t,n)},Zt.fromBytesLE=function(t,n){return new Zt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Zt.fromBytesBE=function(t,n){return new Zt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(Zt.fromBigInt=function(t,n){return un(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},Zt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":m(t))?Zt.fromBigInt(t,n):sn(t,n)},Rn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var On=1/6,pn=(Zt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),Tn=Xt(),kn=Boolean(Tn&&Tn.webkitShowPlaybackTargetPicker),bn=function(){function t(){this.Cp=void 0,this.um=!1,this.Ke=pn,this.Ks=!1,this.Ep=!0}var n=t.prototype;return n.Ip=function(){return 0},n.Yp=function(t,n){return!0},n.Jp=function(t){return t>=2*On},vt(t,[{key:"Pp",get:function(){return void 0===this.Cp&&(this.Cp=this.Ip()),this.Cp}},{key:"Rp",get:function(){return Nt.Gv?"android":Nt.Uv?"macos":Nt.ru?"ios":Nt.Hv?"windows":"other"}},{key:"Dp",get:function(){return Nt.Pg?"tv":Nt.Ks?"mobile":"desktop"}},{key:"Np",get:function(){return!Nt.Pg}},{key:"Bp",get:function(){if(a.screen)return{width:a.screen.width*this.Mp,height:a.screen.height*this.Mp}}},{key:"Mp",get:function(){return a.devicePixelRatio||1}},{key:"Lp",get:function(){return kn}},{key:"Op",get:function(){return!1}},{key:"Fp",get:function(){return!0}},{key:"Up",get:function(){return!!(Nt._g||Nt.ru||Nt.S_)||!!Nt.H_}},{key:"Vp",get:function(){return Nt.H_}},{key:"Hp",get:function(){return!Nt.ru}},{key:"Wp",get:function(){return!0}},{key:"qp",get:function(){return!0}},{key:"zp",get:function(){return!1}},{key:"Gp",get:function(){}},{key:"Xp",get:function(){return!0}},{key:"jp",get:function(){return!1}},{key:"Qp",get:function(){return Nt.H_}},{key:"Kp",get:function(){return!1}},{key:"Zp",get:function(){return!1}},{key:"$p",get:function(){return!1}},{key:"im",get:function(){return!0}},{key:"nm",get:function(){return!Nt.m_||Nt.m_>=68}},{key:"hm",get:function(){return!1}}]),t}(),mn=function(t){function n(){return t.call(this)||this}return at(n,t),n}(bn),Nn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Yp=function(t,n){if(t&&t.dm&&n&&n.dm){var r=An(t.dm,"mp4a.40.2")&&An(n.dm,"mp4a.40.5"),i=An(t.dm,"mp4a.40.5")&&An(n.dm,"mp4a.40.2"),e=An(t.dm,"mp4a.40.2")&&An(n.dm,"mp4a.40.34"),u=An(t.dm,"mp4a.40.34")&&An(n.dm,"mp4a.40.2"),o=An(t.dm,"mp4a.40.5")&&An(n.dm,"mp4a.40.34"),f=An(t.dm,"mp4a.40.34")&&An(n.dm,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},vt(n,[{key:"Gp",get:function(){if(Nt.Uv)return 4096}}]),n}(mn);function An(t,n){return t.indexOf(n)>-1}var Cn,Dn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Jp=function(t){return t>=2},n}(mn),Pn=function(t){function n(){var n;return(n=t.call(this)||this).um=Nt.pg>=11,n.Ep=Nt._g&&!(Nt.ru&&Nt.pg<10),n}return at(n,t),vt(n,[{key:"Kp",get:function(){return Nt.pg<17}},{key:"Zp",get:function(){return!0}}]),n}(mn),Fn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Xp",get:function(){return!(Nt.m_>=133)}}]),n}(mn);var Ln=function(){var t=qt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Nt.s_)return!1;var t=qt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Mn=function(t){function n(n){var r;return(r=t.call(this)||this).lm=void 0,r.lm=n,r.um=r.lm.um,r.Ke=r.lm.Ke,r.Ep=Ln&&r.lm.Ep,r}at(n,t);var r=n.prototype;return r.Ip=function(){return this.lm.Pp},r.Yp=function(t,n){return this.lm.Yp(t,n)},r.Jp=function(t){return this.lm.Jp(t)},vt(n,[{key:"Gp",get:function(){return this.lm.Gp}},{key:"Xp",get:function(){return this.lm.Xp}},{key:"Kp",get:function(){return this.lm.Kp}},{key:"nm",get:function(){return this.lm.nm}}]),n}(bn),Bn=function(t){function n(n){var r;return(r=t.call(this,n)||this).um=!0,r.Ks=!0,r}return at(n,t),vt(n,[{key:"zp",get:function(){return Nt.ru}}]),n}(Mn);var Vn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Ip=function(){return function(t){return t&&Pt(a.ManagedMediaSource)?a.ManagedMediaSource:Pt(a.MediaSource)?a.MediaSource:void 0}(!0)?t.prototype.Ip.call(this):1},vt(n,[{key:"zp",get:function(){return!0}},{key:"hm",get:function(){return!0}}]),n}(Bn),Un=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).gm=void 0,n}return at(n,t),n.prototype.Yp=function(n,r){return t.prototype.Yp.call(this,n,r)},vt(n,[{key:"Op",get:function(){return Nt.P_<3}},{key:"Fp",get:function(){return Nt.P_>=3}},{key:"Bp",get:function(){var t=this;return a.tizen&&!this.gm&&a.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.gm={width:r,height:i})}),this.gm}},{key:"jp",get:function(){return Nt.P_<3}}]),n}(Mn),Hn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).gm=void 0,n}return at(n,t),vt(n,[{key:"Bp",get:function(){var t=this;return a.webOS&&!this.gm&&a.webOS.deviceInfo(function(n){t.gm={width:n.screenWidth,height:n.screenHeight}}),this.gm}},{key:"Wp",get:function(){return!1}}]),n}(Mn),Wn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"zp",get:function(){return!0}},{key:"Zp",get:function(){return this.lm.Zp}}]),n}(Mn),xn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"$p",get:function(){return Nt.F_}}]),n}(Mn);!function(t){Cn=t}(function(){var t=function(){if(Nt.cg)return new Nn;if(Nt.Y_||Nt.Z_)return new Dn;if(Nt._g)return new Pn;if(Nt.Jg)return new Fn;return new mn}();return Nt.ru?new Vn(t):Nt.L_?new xn(t):Nt.Ks?new Bn(t):Nt.E_?new Un(t):Nt.I_?new Hn(t):Nt.Uv?new Wn(t):new Mn(t)}());var Gn=!(Nt.Z_&&!Nt.rg),Kn=self.console;function jn(t){if(Dt(t))try{return JSON.stringify(t)}catch(t){}return t}function zn(t){return t.map(jn).join(" ")}function Yn(t){var n=Kn&&Kn[t];return n?n.bind&&Gn?n.bind(Kn):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];Kn[t](zn(r))}:void 0}var qn=Yn("log")||Ft,Xn=Yn("debug")||qn.bind(void 0,"DEBUG:"),$n=Yn("warn")||qn.bind(void 0,"WARNING:"),Zn=Yn("error")||qn.bind(void 0,"ERROR:"),Qn=function(){var t=Kn&&Kn.assert;return t?t.bind&&Gn?t.bind(Kn):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];Kn.assert(t,zn(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||Zn.apply(void 0,[].concat(["Assertion failed:"],r))}}();function Jn(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),g.defineProperty(t,i.key,i)}}function tr(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){nr(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&nr(r,null,t.length,t),t}function nr(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<u)i[a++]=t[f++];else{if(!(s<o))break;i[a++]=t[s++]}}var rr=/[a-zA-Z]/,ir=/[0-9]/,er=/[0-9a-fA-F]/,ur=/^0x/i,or=/^[0-9]+$/,fr=/^[0-9a-fA-F]+$/,sr=/^[0-7]+$/,cr=g.prototype.toString,ar=Array.isArray||function(t){return"[object Array]"===cr.call(t)},hr=void 0!==n&&"symbol"==typeof i;function vr(t){return ar(t)?t:Array.from(t)}function lr(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function _r(t){return t>=65&&t<=90}function dr(t){return _r(t)||function(t){return t>=97&&t<=122}(t)}function yr(t){return t>=48&&t<=57}function wr(t){return yr(t)||dr(t)}function Ir(t){return yr(t)||t>=65&&t<=70||t>=97&&t<=102}function Er(t){return _r(t)?t+32:t}function gr(t){return yr(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function Rr(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Sr=R.min,Or=String.fromCharCode;function pr(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=Sr(i+16384,n);r.push(Or.apply(null,t.slice(i,e)))}return r.join("")}var Tr=2147483647,kr=/[^\0-\x7E]/,br=/[\x2E\u3002\uFF0E\uFF61]/g,mr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Nr=R.floor,Ar=String.fromCharCode;function Cr(t){throw new RangeError(mr[t])}function Dr(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 Pr,Fr,Lr,Mr=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Br=function(t,n,r){var i=0;for(t=r?Nr(t/700):t>>1,t+=Nr(t/n);t>455;i+=36)t=Nr(t/35);return Nr(i+36*t/(t+38))},Vr=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(br,".")).split("."),n).join(".");return i+e}(t,function(t){return kr.test(t)?"xn--"+function(t){for(var n=[],r=(t=Dr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Ar(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=Tr,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Nr((Tr-e)/d)&&Cr("overflow"),e+=(h-i)*d,i=h;for(var y=0,w=t;y<w.length;y++){var I=w[y];if(I<i&&++e>Tr&&Cr("overflow"),I==i){for(var E=e,g=36;;g+=36){var R=g<=u?1:g>=u+26?26:g-u;if(E<R)break;var S=E-R,O=36-R;n.push(Ar(Mr(R+S%O,0))),E=Nr(S/O)}n.push(Ar(Mr(E,0))),u=Br(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function Ur(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 pr(n)}function Hr(t){if(t>=55296&&t<=57343)throw new I("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Wr(t,n){return t>>n&63|128}function xr(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Wr(t,12)),n.push(Wr(t,6))):(Hr(t),n.push(t>>12&15|224),n.push(Wr(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Gr(t){for(var n=[],r=0;r<t.length;r++){xr(t[r],n)}return n}function Kr(){if(Lr>=Fr)throw new I("Invalid byte index");var t=255&Pr[Lr];if(Lr++,128==(192&t))return 63&t;throw new I("Invalid continuation byte")}function jr(){var t,n;if(Lr>Fr)throw new I("Invalid byte index");if(Lr===Fr)return!1;if(t=255&Pr[Lr],Lr++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Kr())>=128)return n;throw new I("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Kr()<<6|Kr())>=2048)return Hr(n),n;throw new I("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Kr()<<12|Kr()<<6|Kr())>=65536&&n<=1114111)return n;throw new I("Invalid UTF-8 detected")}function zr(t){return[37,Rr(t>>4),Rr(15&t)]}function Yr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function qr(t){return Yr(t)||32===t||34===t||60===t||62===t||96===t}function Xr(t){return qr(t)||35===t||63===t||123===t||125===t}function $r(t){return Xr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Zr(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Qr(t){return Zr(t)||39===t}function Jr(t,n){if(!n(t))return[t];for(var r=Gr([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,zr(u))}return i}function ti(t,n){for(var r=[],i=0,e=Dr(t);i<e.length;i++){var u=e[i];r.push.apply(r,Jr(u,n))}return Ur(r)}function ni(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&&Ir(t[i+1])&&Ir(t[i+2])){var u=gr(t[i+1])<<4|gr(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Gr(t))}function ri(t){return Ur(function(t){Pr=t.slice(),Fr=Pr.length,Lr=0;for(var n,r=[];!1!==(n=jr());)r.push(n);return r}(ni(Dr(t))))}function ii(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new E;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new E("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&er.test(t[u]);)o=o<<4|S(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new E;if(u-=f,i>6)throw new E;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new E;u+=1}if(!ir.test(t[u]))throw new E;for(;u<n&&ir.test(t[u]);){var a=S(t[u],10);if(null===c)c=a;else{if(0===c)throw new E;if((c=10*c+a)>255)throw new E}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new E;break}if(":"===t[u]){if((u+=1)===n)throw new E}else if(u<n)throw new E;r[i]=o,i+=1}else{if(null!==e)throw new E("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var h=i-e;for(i=7;0!==i&&h>0;)lr(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new E;return r}function ei(t){var n=10,r=or;return ur.test(t)?(t=t.slice(2),n=16,r=fr):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=sr),""===t?0:r.test(t)?S(t,n):void 0}var ui={pm:4},oi=/[\0\t\n\r #%/:?@\[\\\]]/,fi=/[\0\t\n\r #/:?@\[\\\]]/;function si(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new E("Invalid IPv6 address");return{pm:2,wm:ii(t.slice(1,-1))}}if(!n)return function(t){if(fi.test(t))throw new E("Invalid code point in opaque host");var n=ti(t,Yr);return""===n?ui:{pm:3,ym:n}}(t);var r=function(t){var n=function(t){return Vr(t.toLowerCase())}(t);return n}(ri(t));if(oi.test(r))throw new E("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=ei(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new E;if(r[r.length-1]>=R.pow(256,5-r.length))throw new E;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*R.pow(256,3-s);return f}}(r);return void 0!==i?{pm:1,wm:i}:""===r?ui:{pm:0,Am:r}}function ci(t){switch(t.pm){case 0:return t.Am;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.wm);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.wm)+"]";case 3:return t.ym;case 4:return""}}var ai=/\+/g;function hi(t){return 42===t||45===t||46===t||95===t||wr(t)}function vi(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(ai," "),f=f.replace(ai," ");var s=ri(o),c=ri(f);r.push([s,c])}}return r}function li(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=_i(Gr(Dr(i[0])))+"="+_i(Gr(Dr(i[1])))}return n}function _i(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):hi(i)?n.push(i):n.push.apply(n,zr(i))}return pr(n)}var di=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function yi(t){var n=""+t,r=di.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Ii(u))if(Ei(u)||e===r-1)i.push(wi);else{var o=t.charCodeAt(e+1);Ei(o)?(i.push(u,o),e++):i.push(wi)}else i.push(u)}return t.slice(0,n)+pr(i)}(n,r.index):n}var wi=65533,Ii=function(t){return 55296==(63488&t)},Ei=function(t){return!!(1024&t)};function gi(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function Ri(t){t.Sm.length=0}function Si(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Sm,vi(n))}function Oi(t){if(t.rc){var n=li(t.Sm);""===n&&(n=null),t.rc.rc.Tm=n}}var pi=function(){function t(t){if(void 0===t&&(t=void 0),this.rc=null,null==t)this.Sm=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof pi&&!!ar(t.Sm)&&(!hr||t[i]===Ti)}(t))this.Sm=t.Sm.slice();else if(function(t){return null!=t&&(!!ar(t)||!!hr&&"function"==typeof t[i])}(t)){this.Sm=[];for(var n=0,r=vr(t);n<r.length;n++){var e=vr(r[n]);if(2!==e.length)throw new E("Invalid name-value pair");this.Sm.push([yi(e[0]),yi(e[1])])}}else for(var u in this.Sm=[],t)g.prototype.hasOwnProperty.call(t,u)&&this.Sm.push([yi(u),yi(t[u])]);else(t=yi(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Sm=vi(t)}var n=t.prototype;return n.append=function(t,n){t=yi(t),n=yi(n),this.Sm.push([t,n]),Oi(this)},n.delete=function(t){t=yi(t);for(var n=this.Sm,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Oi(this)},n.get=function(t){t=yi(t);for(var n=this.Sm,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=yi(t);for(var n=this.Sm,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=yi(t);for(var n=this.Sm,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=yi(t),n=yi(n);for(var r=this.Sm,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]),Oi(this)},n.sort=function(){tr(this.Sm,gi),Oi(this)},n.toString=function(){return li(this.Sm)},n.entries=function(){return new Ni(this.Sm,ki)},n.keys=function(){return new Ni(this.Sm,bi)},n.values=function(){return new Ni(this.Sm,mi)},n.forEach=function(t){var n=this;this.Sm.forEach(function(r){return t(r[1],r[0],n)})},t}(),Ti=pi.prototype.entries;hr&&(pi.prototype[i]=Ti);var ki=function(t){return[t[0],t[1]]},bi=function(t){return t[0]},mi=function(t){return t[1]},Ni=function(){function t(t,n){this.Em=0,this.Sm=t,this.xm=n}return t.prototype.next=function(){return this.Em<this.Sm.length?{done:!1,value:this.xm(this.Sm[this.Em++])}:{done:!0,value:void 0}},t}(),Ai="null";var Ci=g.create(null);Ci.ftp=21,Ci.file=0,Ci.gopher=70,Ci.http=80,Ci.https=443,Ci.ws=80,Ci.wss=443;var Di=/^(?:\.|%2e)$/i,Pi=/^(?:\.|%2e){2}$/i;function Fi(t){return Di.test(t)}function Li(t){return Pi.test(t)}function Mi(t){return void 0!==Ci[t]}function Bi(t){return Mi(t.Pm)}function Vi(t){return""!==t.Cm||""!==t.Im}function Ui(t){var n=t.length;if(!(n>=2))return!1;if(!Wi(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 Hi(t){return 2===t.length&&rr.test(t[0])&&(":"===t[1]||"|"===t[1])}function Wi(t){return 2===t.length&&Hi(pr(t))}function xi(t){return Hi(t)&&":"===t[1]}function Gi(t){var n=t.Rm;0!==n.length&&("file"===t.Pm&&1===n.length&&xi(n[0])||n.pop())}function Ki(t){return null===t.Dm||ui===t.Dm||t.Nm||"file"===t.Pm}var ji=-1,zi=/\t|\n|\r/g,Yi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function qi(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new $i,t=t.replace(Yi,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Dr(t=t.replace(zi,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:ji;switch(e){case 0:if(!dr(v)){if(null===i){u.length=0,e=2;continue}throw new E("Invalid scheme")}u.push(Er(v)),e=1;break;case 1:if(wr(v)||43===v||45===v||46===v)u.push(Er(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new E("Invalid scheme")}var l=Ur(u);if(null!==i){if(Mi(r.Pm)&&!Mi(l))return;if(!Mi(r.Pm)&&Mi(l))return;if((Vi(r)||null!==r.Bm)&&"file"===l)return;if("file"===r.Pm&&(r.Dm===ui||null===r.Dm))return}if(r.Pm=l,null!==i)return void(Bi(r)&&r.Bm===Ci[r.Pm]&&(r.Bm=null));u.length=0,"file"===r.Pm?e=13:Bi(r)&&n&&n.Pm===r.Pm?e=3:Bi(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.Nm=!0,r.Rm.push(""),e=18)}break;case 2:if(!n||n.Nm&&35!==v)throw new E("Invalid scheme");n.Nm&&35===v?(r.Pm=n.Pm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",r.Nm=!0,e=20):"file"!==n.Pm?(e=5,h-=1):(e=13,h-=1);break;case 3:47===v&&47===c[h+1]?e=8:(e=5,h-=1);break;case 4:47===v?e=9:(e=17,h-=1);break;case 5:r.Pm=n.Pm,ji===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm=n.Tm):47===v?e=6:63===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm="",e=19):35===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",e=20):92===v&&Bi(r)?e=6:(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Rm.pop(),e=17,h-=1);break;case 6:!Bi(r)||47!==v&&92!==v?47===v?e=9:(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,e=17,h-=1):e=8;break;case 7:if(47!==v||47!==c[h+1]){e=8;continue}e=8,h+=1;break;case 8:47!==v&&92!==v&&(e=9,h-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var _=0;_<u.length;_++){var d=u[_];if(58!==d||s){var y=Ur(Jr(d,$r));s?r.Im+=y:r.Cm+=y}else s=!0}u.length=0}else if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(o&&0===u.length)throw new E("Invalid host");h-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.Pm)h-=1,e=15;else if(58!==v||f)if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(h-=1,Bi(r)&&0===u.length)throw new E("Invalid host");if(null!==i&&0===u.length&&(Vi(r)||null!==r.Bm))return;var w=si(Ur(u),Bi(r));if(r.Dm=w,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new E("Invalid host");var I=si(Ur(u),Bi(r));if(r.Dm=I,u.length=0,e=12,11===i)return}break;case 12:if(yr(v))u.push(v);else{if(!(ji===v||47===v||63===v||35===v||Bi(r)&&92===v||null!==i))throw new E("Invalid port");if(0!==u.length){var g=S(Ur(u),10);if(g>65535)throw new E("Invalid port");r.Bm=g===Ci[r.Pm]?null:g,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.Pm="file",47===v||92===v?e=14:n&&"file"===n.Pm?ji===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm=n.Tm):63===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm="",e=19):35===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",e=20):(Ui(c.slice(h))||(r.Dm=n.Dm,r.Rm=n.Rm.slice(),Gi(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.Pm&&!Ui(c.slice(h))&&(xi(n.Rm[0])?r.Rm.push(n.Rm[0]):r.Dm=n.Dm),e=17,h-=1);break;case 15:if(ji===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Wi(u))e=17;else if(0===u.length){if(r.Dm=ui,null!==i)return;e=16}else{var R=si(Ur(u),Bi(r));if(0===R.pm&&"localhost"===R.Am&&(R=ui),r.Dm=R,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:Bi(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.Tm="",e=19):null===i&&35===v?(r.Mm="",e=20):ji!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(ji===v||47===v||Bi(r)&&92===v||null===i&&(63===v||35===v)){var O=Ur(u);if(Li(O)?(Gi(r),47===v||Bi(r)&&92===v||r.Rm.push("")):!Fi(O)||47===v||Bi(r)&&92===v?Fi(O)||("file"===r.Pm&&0===r.Rm.length&&Wi(u)&&(ui!==r.Dm&&null!==r.Dm&&(r.Dm=ui),u[1]=58,O=Ur(u)),r.Rm.push(O)):r.Rm.push(""),u.length=0,"file"===r.Pm&&(ji===v||63===v||35===v))for(;r.Rm.length>1&&""===r.Rm[0];)r.Rm.shift();63===v?(r.Tm="",e=19):35===v&&(r.Mm="",e=20)}else u.push.apply(u,Jr(v,Xr));break;case 18:63===v?(r.Tm="",e=19):35===v?(r.Mm="",e=20):ji!==v&&(r.Rm[0]+=Ur(Jr(v,Yr)));break;case 19:null===i&&35===v?(r.Mm="",e=20):ji!==v&&(r.Tm+=Ur(Jr(v,Bi(r)?Qr:Zr)));break;case 20:ji===v||0===v||(r.Mm+=Ur(Jr(v,qr)))}h++}return r}function Xi(t,n,r,i){try{qi(t,n,r,i)}catch(t){}}var $i=function(){this.Pm="",this.Cm="",this.Im="",this.Dm=null,this.Bm=null,this.Rm=[],this.Tm=null,this.Mm=null,this.Nm=!1};function Zi(t){switch(t.Pm){case"blob":var n;try{n=qi(t.Rm[0],null)}catch(t){return Ai}return Zi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+ci(n)+(null===r?"":":"+r)}(t.Pm,t.Dm,t.Bm);default:return Ai}}var Qi=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof Qi&&"object"==typeof t.rc}(n))i=n.rc;else try{i=qi(String(n),null)}catch(t){throw new E("Invalid base URL: "+t.message)}try{r=qi(String(t),i)}catch(t){throw new E("Invalid URL: "+t.message)}var e=r.Tm;this.rc=r,this.Tm=function(t){var n=new pi;return null!==t&&Si(n,t),n}(e),this.Tm.rc=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&Jn(t.prototype,n),r&&Jn(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Pm+":";if(null!==t.Dm?(r+="//",Vi(t)&&(r+=t.Cm,""!==t.Im&&(r+=":"+t.Im),r+="@"),r+=ci(t.Dm),null!==t.Bm&&(r+=":"+t.Bm)):null===t.Dm&&"file"===t.Pm&&(r+="//"),t.Nm)r+=t.Rm[0];else for(var i=0,e=t.Rm;i<e.length;i++)r+="/"+e[i];return null!==t.Tm&&(r+="?"+t.Tm),n||null===t.Mm||(r+="#"+t.Mm),r}(this.rc)},set:function(t){var n;try{n=qi(String(t),null)}catch(t){throw new E("Invalid URL: "+t.message)}this.rc=n,Ri(this.Tm);var r=this.rc.Tm;null!==r&&Si(this.Tm,r)}},{key:"origin",get:function(){return Zi(this.rc)}},{key:"protocol",get:function(){return this.rc.Pm+":"},set:function(t){Xi(t+":",null,this.rc,0)}},{key:"username",get:function(){return this.rc.Cm},set:function(t){Ki(this.rc)||(this.rc.Cm=ti(t,$r))}},{key:"password",get:function(){return this.rc.Im},set:function(t){Ki(this.rc)||(this.rc.Im=ti(t,$r))}},{key:"host",get:function(){var t=this.rc,n=t.Dm;if(null===n)return"";var r=t.Bm,i=ci(n);return null!==r&&(i+=":"+r),i},set:function(t){this.rc.Nm||Xi(t,null,this.rc,10)}},{key:"hostname",get:function(){var t=this.rc.Dm;return null===t?"":ci(t)},set:function(t){this.rc.Nm||Xi(t,null,this.rc,11)}},{key:"port",get:function(){var t=this.rc.Bm;return null===t?"":""+t},set:function(t){Ki(this.rc)||(""===t?this.rc.Bm=null:Xi(t,null,this.rc,12))}},{key:"pathname",get:function(){var t=this.rc.Rm;return this.rc.Nm?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.rc.Nm||(this.rc.Rm.length=0,Xi(t,null,this.rc,16))}},{key:"search",get:function(){var t=this.rc.Tm;return null===t||""===t?"":"?"+t},set:function(t){t=yi(t);var n=this.rc;if(""===t)return n.Tm=null,void Ri(this.Tm);"?"===t[0]&&(t=t.slice(1)),n.Tm="",Xi(t,null,n,19),Si(this.Tm,t)}},{key:"searchParams",get:function(){return this.Tm}},{key:"hash",get:function(){var t=this.rc.Mm;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.rc.Mm="",Xi(t,null,this.rc,20)):this.rc.Mm=null}}]),t}();function Ji(t){return t.document&&t.document.baseURI||t.location.href||""}var te=function(){function t(){this.sp=void 0,this.Zm=new ne,this.ew=Cn,this.iw=function(){if(self.URL)try{var t=new self.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href}catch(t){}return!1}(),self.performance&&self.performance.now?this.sp=function(){return self.performance.now()}:this.sp=Sn}var n=t.prototype;return n.Lm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Xn.apply(void 0,[].concat(n))},n.Om=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];qn.apply(void 0,[].concat(n))},n.Fm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];$n.apply(void 0,[].concat(n))},n.Um=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Zn.apply(void 0,[].concat(n))},n.Vm=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];Qn.apply(void 0,[].concat([t],r))},n.np=function(t,n){return _(t,n)},n.Hm=function(t,n){return y(t,n)},n.ep=function(t){d(t)},n.Wm=function(t){w(t)},n.qm=function(){return this.zm.qm()},n.Gm=function(){return this.zm.Gm()},n.Xm=function(){return this.zm.Xm()},n.jm=function(){return this.zm.jm()},n.Qm=function(){return this.zm.Qm()},n.Km=function(t,n){return this.zm.Km(t,n)},n.Ym=function(t){return this.zm.Ym(t)},n.Dh=function(t,n){var r;return void 0===n&&(n=Ji(a)),r="object"!==(void 0===n?"undefined":m(n))||b(n,Qi)?n:n.href,new Qi(t,r)},n.$m=function(t,n){if(void 0===n&&(n=Ji(a)),this.iw){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Dh(t,n).href},vt(t,[{key:"Jm",get:function(){return this.Zm}},{key:"Zs",get:function(){return this.ew}},{key:"nw",get:function(){return{ow:l&&l.userAgent.match(/Android /i)?"Android":"other",hw:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"aw",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"uw",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),ne=function(){function t(){}return vt(t,[{key:"cw",get:function(){return l.oscpu}},{key:"Zs",get:function(){return l.platform}},{key:"dw",get:function(){return l.vendor}},{key:"lw",get:function(){return l.vendorSub}}]),t}();var re=function(){function t(){}var n=t.prototype;return n.Qm=function(){return nt.resolve(!1)},n.Gm=function(){return nt.resolve(!1)},n.jm=function(){return nt.resolve(!1)},n.Xm=function(){return nt.resolve(!1)},n.Ym=function(t){return nt.resolve(!1)},n.Km=function(t,n){return nt.resolve(!1)},n.qm=function(){return nt.resolve(!1)},t}(),ie=function(){function t(){}var n=t.prototype;return n.fk=function(){},n.Db=function(t){},n.Cb=function(t){},n.Ib=function(t,n){},t}(),ee=function(t){return t._k="arraybuffer",t.gk="json",t.pk="stream",t.wk="text",t}({});var ue=function(){function t(r){var e=this;if(this.pw=void 0,this.pw={},r)if(b(r,t))r.asList().forEach(function(t){var n=t[0],r=t[1];e.append(n,r)});else if(function(t){return Dt(t)&&"function"==typeof t.forEach}(r))r.forEach(function(t,n){Array.isArray(t)&&2===t.length?e.append(t[0],t[1]):e.append(n,t)});else if(Array.isArray(r)||function(t){return void 0!==n&&void 0!==i&&Dt(t)&&"function"==typeof t[i]}(r))for(var u,o=_t(r);!(u=o()).done;){var f=u.value,s=f[0],c=f[1];this.append(s,c)}else g.getOwnPropertyNames(r).forEach(function(t){e.append(t,r[t])});else;}var r=t.prototype;return r.append=function(t,n){var r=t,i=n;r=oe(r),i=fe(i);var e=r.toLowerCase();if(this.pw.hasOwnProperty(e)){var u=this.pw[e],o=u[1];u[1]=o?o+", "+i:i}else this.pw[e]=[r,i]},r.delete=function(t){var n=oe(t).toLowerCase();delete this.pw[n]},r.get=function(t){var n=oe(t).toLowerCase();return this.pw.hasOwnProperty(n)?this.pw[n][1]:null},r.has=function(t){var n=oe(t).toLowerCase();return this.pw.hasOwnProperty(n)},r.set=function(t,n){var r=t,i=(r=oe(r)).toLowerCase();this.pw[i]=[r,fe(n)]},r.forEach=function(t,n){for(var r in this.pw)this.pw.hasOwnProperty(r)&&t.call(n,this.pw[r][1],r,this)},r.asList=function(){var t=[];for(var n in this.pw)if(this.pw.hasOwnProperty(n)){var r=this.pw[n],i=r[0],e=r[1];t.push([i,e])}return t},r.yk=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},r.bk=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},r.Ak=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function oe(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new E("Invalid character in header field name");return n}function fe(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var se=function(t,n){this.Ik=void 0,this.jk=void 0,this.bE=void 0,this.Gk=void 0,this.AE=void 0,this.SE=void 0,this.fp=void 0,this.Ew=void 0,this.TE=void 0,this.kE=void 0,this.Yu=void 0,this.EE=void 0,this.xE=void 0,this.PE=void 0,this.CE=void 0,this.RE=void 0;var r,i,e,u,o,f,s,c,a,h,v,l,_,d,y,w,I,E,g=t.Yu;n?(r=n.Ik,i=n.jk,e=n.bE,u=n.Gk,o=n.AE,f=n.SE,s=n.fp,c=n.Ew,a=n.TE,h=n.kE,v=n.EE,l=n.xE,_=n.PE,d=n.CE,y=n.RE):(r=null,i={},e="GET",u=ee.wk,o=0,f=0,c="",a="",h="",v=!1,_=void 0,d="allowed",y=void 0),this.Yu=g,this.Ik=t.Ik||r,this.jk=new ue(t.jk||i),this.bE=t.bE||e,this.Gk=t.Gk||u,this.AE=void 0!==t.AE?Number(t.AE)||0:o,this.SE=void 0!==t.SE?Number(t.SE)||0:f,this.fp=t.fp||s||(new Yt).fp,this.Ew=t.Ew||c,this.TE=t.TE||a,this.kE=t.kE||h,this.EE=void 0!==t.EE?Boolean(t.EE):v,this.xE=t.xE||l,this.PE=null!=(w=t.PE)?w:_,this.CE=null!=(I=t.CE)?I:d,this.RE=null!=(E=t.RE)?E:y},ce=function(t){return t.qE="HttpOpenError",t.zE="HttpResponseError",t.GE="HttpTimeoutError",t}({}),ae=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).XE=void 0,e.XE=n,e}return at(n,t),vt(n,[{key:"Xk",get:function(){return this.XE}}]),n}(Kt),he=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.Yu+".",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return ce.qE}}]),n}(ae),ve=function(){function t(){}var n=t.prototype;return n.Xk=function(t){return nt.reject(new he(new se(t)))},n.DE=function(t){},n.kn=function(){},t}(),le=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return at(n,t),n}(Kt),_e=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).eP=new re,n.mq=new ve,n.i=new ie,n}return at(n,t),n.prototype.Dx=function(t){throw new le},vt(n,[{key:"zm",get:function(){return this.eP}},{key:"ox",get:function(){return!1}},{key:"rP",get:function(){return!1}},{key:"uP",get:function(){return!1}},{key:"hP",get:function(){return!1}},{key:"cP",get:function(){return this.i}},{key:"dP",get:function(){return{lP:Ft}}},{key:"fP",get:function(){return"default"}},{key:"vP",get:function(){return"unknown"}},{key:"_P",get:function(){return!0}},{key:"gP",get:function(){return this.mq}},{key:"mP",get:function(){return!1}}]),n}(te);!function(t){0}(new _e);var de=function(t){return t[t.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",t[t.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4",t}({}),ye=function(t){return t[t.CONFIGURATION_ERROR=1e3]="CONFIGURATION_ERROR",t[t.LICENSE_ERROR=2e3]="LICENSE_ERROR",t[t.LICENSE_INVALID_DOMAIN=2001]="LICENSE_INVALID_DOMAIN",t[t.LICENSE_INVALID_SOURCE=2002]="LICENSE_INVALID_SOURCE",t[t.LICENSE_EXPIRED=2003]="LICENSE_EXPIRED",t[t.LICENSE_INVALID_FEATURE=2004]="LICENSE_INVALID_FEATURE",t[t.SOURCE_INVALID=3e3]="SOURCE_INVALID",t[t.SOURCE_NOT_SUPPORTED=3001]="SOURCE_NOT_SUPPORTED",t[t.MANIFEST_LOAD_ERROR=4e3]="MANIFEST_LOAD_ERROR",t[t.MANIFEST_CORS_ERROR=4001]="MANIFEST_CORS_ERROR",t[t.MANIFEST_PARSE_ERROR=4002]="MANIFEST_PARSE_ERROR",t[t.MEDIA_NOT_SUPPORTED=5e3]="MEDIA_NOT_SUPPORTED",t[t.MEDIA_LOAD_ERROR=5001]="MEDIA_LOAD_ERROR",t[t.MEDIA_DECODE_ERROR=5002]="MEDIA_DECODE_ERROR",t[t.MEDIA_AVPLAYER_ERROR=5003]="MEDIA_AVPLAYER_ERROR",t[t.MEDIA_ABORTED=5004]="MEDIA_ABORTED",t[t.MEDIA_INTERNAL_ERROR=5005]="MEDIA_INTERNAL_ERROR",t[t.NETWORK_ERROR=6e3]="NETWORK_ERROR",t[t.NETWORK_TIMEOUT=6001]="NETWORK_TIMEOUT",t[t.CONTENT_PROTECTION_ERROR=7e3]="CONTENT_PROTECTION_ERROR",t[t.CONTENT_PROTECTION_NOT_SUPPORTED=7001]="CONTENT_PROTECTION_NOT_SUPPORTED",t[t.CONTENT_PROTECTION_CONFIGURATION_MISSING=7002]="CONTENT_PROTECTION_CONFIGURATION_MISSING",t[t.CONTENT_PROTECTION_CONFIGURATION_INVALID=7003]="CONTENT_PROTECTION_CONFIGURATION_INVALID",t[t.CONTENT_PROTECTION_INITIALIZATION_INVALID=7004]="CONTENT_PROTECTION_INITIALIZATION_INVALID",t[t.CONTENT_PROTECTION_CERTIFICATE_ERROR=7005]="CONTENT_PROTECTION_CERTIFICATE_ERROR",t[t.CONTENT_PROTECTION_CERTIFICATE_INVALID=7006]="CONTENT_PROTECTION_CERTIFICATE_INVALID",t[t.CONTENT_PROTECTION_LICENSE_ERROR=7007]="CONTENT_PROTECTION_LICENSE_ERROR",t[t.CONTENT_PROTECTION_LICENSE_INVALID=7008]="CONTENT_PROTECTION_LICENSE_INVALID",t[t.CONTENT_PROTECTION_KEY_EXPIRED=7009]="CONTENT_PROTECTION_KEY_EXPIRED",t[t.CONTENT_PROTECTION_KEY_MISSING=7010]="CONTENT_PROTECTION_KEY_MISSING",t[t.CONTENT_PROTECTION_OUTPUT_RESTRICTED=7011]="CONTENT_PROTECTION_OUTPUT_RESTRICTED",t[t.CONTENT_PROTECTION_INTERNAL_ERROR=7012]="CONTENT_PROTECTION_INTERNAL_ERROR",t[t.CONTENT_PROTECTION_DEVICE_REVOKED=7013]="CONTENT_PROTECTION_DEVICE_REVOKED",t[t.CONTENT_PROTECTION_PROVISIONING_ERROR=7014]="CONTENT_PROTECTION_PROVISIONING_ERROR",t[t.SUBTITLE_LOAD_ERROR=8e3]="SUBTITLE_LOAD_ERROR",t[t.SUBTITLE_CORS_ERROR=8001]="SUBTITLE_CORS_ERROR",t[t.SUBTITLE_PARSE_ERROR=8002]="SUBTITLE_PARSE_ERROR",t[t.VR_PLATFORM_UNSUPPORTED=9e3]="VR_PLATFORM_UNSUPPORTED",t[t.VR_PRESENTATION_ERROR=9001]="VR_PRESENTATION_ERROR",t[t.AD_ERROR=1e4]="AD_ERROR",t[t.AD_BLOCKER_DETECTED=10001]="AD_BLOCKER_DETECTED",t[t.FULLSCREEN_ERROR=11e3]="FULLSCREEN_ERROR",t[t.PICTURE_IN_PICTURE_ERROR=11001]="PICTURE_IN_PICTURE_ERROR",t[t.CACHE_SOURCE_ERROR=12e3]="CACHE_SOURCE_ERROR",t[t.CACHE_CONTENT_PROTECTION_ERROR=12001]="CACHE_CONTENT_PROTECTION_ERROR",t[t.THEO_LIVE_UNKNOWN_ERROR=13e3]="THEO_LIVE_UNKNOWN_ERROR",t[t.THEO_LIVE_CHANNEL_NOT_FOUND=13001]="THEO_LIVE_CHANNEL_NOT_FOUND",t[t.THEO_LIVE_END_OF_DEMO=13002]="THEO_LIVE_END_OF_DEMO",t[t.THEO_LIVE_ANALYTICS_ERROR=13003]="THEO_LIVE_ANALYTICS_ERROR",t}({}),we=function(t){return t[t.CONFIGURATION=1]="CONFIGURATION",t[t.LICENSE=2]="LICENSE",t[t.SOURCE=3]="SOURCE",t[t.MANIFEST=4]="MANIFEST",t[t.MEDIA=5]="MEDIA",t[t.NETWORK=6]="NETWORK",t[t.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",t[t.SUBTITLE=8]="SUBTITLE",t[t.VR=9]="VR",t[t.AD=10]="AD",t[t.FULLSCREEN=11]="FULLSCREEN",t[t.CACHE=12]="CACHE",t[t.THEOLIVE=13]="THEOLIVE",t}({});!function(t){t.fromCode=function(n){var r=R.floor(n/1e3);if(r in t)return r;throw new E("Invalid error code: "+n)}}(we||(we={}));var Ie=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).code=void 0,e.code=n,e}return at(n,t),vt(n,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return we.fromCode(this.code)}}]),n}(Kt);var Ee,ge=function(){function t(t){this.encoding=t}var n=t.prototype;return n.encode=function(t){if(!t)return new T(0);for(var n=new T(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},n.encodeInto=function(t,n){for(var r=R.min(t.length,n.byteLength),i=0;i<r;i++)n[i]=t.charCodeAt(i);return{read:r,written:r}},t}(),Re=function(){function t(t,n){this.encoding=t,this.fatal=(null==n?void 0:n.fatal)||!1,this.ignoreBOM=(null==n?void 0:n.ignoreBOM)||!1}return t.prototype.decode=function(t,n){return t?(r=b(t,ArrayBuffer)?new T(t):new T(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},t}();var Se=new Array(128).fill(void 0);function Oe(t){return Se[t]}function pe(t){return null==t}Se.push(void 0,null,!0,!1);var Te=Se.length;function ke(t){var n=Oe(t);return function(t){t<132||(Se[t]=Te,Te=t)}(t),n}function be(t){Te===Se.length&&Se.push(Se.length+1);var n=Te;return Te=Se[n],Se[n]=t,n}var me=null;function Ne(){return(null===me||me.buffer.detached||me.buffer!==Ee.memory.buffer)&&(me=new T(Ee.memory.buffer)),me}function Ae(t,n){return t>>>=0,Ne().subarray(t/1,t/1+n)}var Ce=void 0!==Re?new Re("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:function(){throw I("TextDecoder not available")}};function De(t,n){return t>>>=0,Ce.decode(Ne().subarray(t,t+n))}void 0!==Re&&Ce.decode();var Pe=0;function Fe(t,n){var r=n(1*t.length,1)>>>0;return Ne().set(t,r/1),Pe=t.length,r}var Le=null;function Me(){return(null===Le||Le.buffer.detached||Le.buffer!==Ee.memory.buffer)&&(Le=new DataView(Ee.memory.buffer)),Le}var Be=void 0!==ge?new ge("utf-8"):{encode:function(){throw I("TextEncoder not available")}},Ve="function"==typeof Be.encodeInto?function(t,n){return Be.encodeInto(t,n)}:function(t,n){var r=Be.encode(t);return n.set(r),{read:t.length,written:r.length}};function Ue(t){try{var n=Ee.__wbindgen_add_to_stack_pointer(-16);Ee.mpegts_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw ke(i);return ke(r)}finally{Ee.__wbindgen_add_to_stack_pointer(16)}}function He(t){try{var n=Ee.__wbindgen_add_to_stack_pointer(-16);Ee.raw_audio_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw ke(i);return ke(r)}finally{Ee.__wbindgen_add_to_stack_pointer(16)}}function We(t,n){return Bt(function(){var r,i,e;return Vt(this,function(u){switch(u.label){case 0:if("function"!=typeof Response||!b(t,Response))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(t,n)];case 2:return[2,u.sent()];case 3:if(r=u.sent(),"application/wasm"==t.headers.get("Content-Type"))throw r;return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r),[3,4];case 4:return[4,t.arrayBuffer()];case 5:return i=u.sent(),[4,WebAssembly.instantiate(i,n)];case 6:return[2,u.sent()];case 7:return[4,WebAssembly.instantiate(t,n)];case 8:return b(e=u.sent(),WebAssembly.Instance)?[2,{instance:e,module:t}]:[2,e];case 9:return[2]}})})()}function xe(){var t={wbg:{}};return t.wbg.__wbg_audiopid_cf63a2881fb603de=function(t){var n=Oe(t).audio_pid;return pe(n)?16777215:n},t.wbg.__wbg_createoutput_f81a086f372d422e=function(t,n){var r=function(t,n){return{data:t,metadata:n}}(ke(t),ke(n));return be(r)},t.wbg.__wbg_createoutputdata_f9352c5065ea01aa=function(t,n,r,i,e,u,o,f){var s,c,a,h;0!==t&&(s=Ae(t,n).slice(),Ee.__wbindgen_export_0(t,1*n,1)),0!==r&&(c=Ae(r,i).slice(),Ee.__wbindgen_export_0(r,1*i,1)),0!==e&&(a=Ae(e,u).slice(),Ee.__wbindgen_export_0(e,1*u,1)),0!==o&&(h=Ae(o,f).slice(),Ee.__wbindgen_export_0(o,1*f,1));var v=function(t,n,r,i){return{video_init:t,audio_init:n,video_media:r,audio_media:i}}(s,c,a,h);return be(v)},t.wbg.__wbg_createoutputmetadata_79a74f7d3aafd2c5=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d){var y,w,I,E;0!==r&&(y=De(r,i).slice(),Ee.__wbindgen_export_0(r,1*i,1)),0!==e&&(w=De(e,u).slice(),Ee.__wbindgen_export_0(e,1*u,1)),0!==o&&(I=Ae(o,f).slice(),Ee.__wbindgen_export_0(o,1*f,1)),0!==s&&(E=Ae(s,c).slice(),Ee.__wbindgen_export_0(s,1*c,1));var g=function(t,n,r,i,e,u,o,f,s,c,a){return{video_pid:t,audio_pid:n,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:o,first_presentation_timestamp:f,first_video_presentation_timestamp:s,program_map_table_pid:c,video_frame_rate:a}}(16777215===t?void 0:t,16777215===n?void 0:n,y,w,I,E,ke(a),ke(h),ke(v),16777215===l?void 0:l,0===_?void 0:d);return be(g)},t.wbg.__wbg_createtimestampwithbase_9f3b56a7f281a060=function(t,n,r){var i=function(t,n,r){return{low:t,high:n,base:r}}(t>>>0,n>>>0,r>>>0);return be(i)},t.wbg.__wbg_data_0dfa593a0aa2e64c=function(t,n){var r=Fe(Oe(n).data,Ee.__wbindgen_export_1),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,n){var r,i;try{r=t,i=n,console.error(De(t,n))}finally{Ee.__wbindgen_export_0(r,i,1)}},t.wbg.__wbg_metadata_262906c02690f219=function(t){var n=Oe(t).metadata;return pe(n)?0:be(n)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){return be(new I)},t.wbg.__wbg_ppsnal_24d7d831a1284b13=function(t,n){var r=Oe(n).pps_nal,i=pe(r)?0:Fe(r,Ee.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_programmaptablepid_2bf8112d9d4d8cb1=function(t){var n=Oe(t).program_map_table_pid;return pe(n)?16777215:n},t.wbg.__wbg_spsnal_b5454d39031feeca=function(t,n){var r=Oe(n).sps_nal,i=pe(r)?0:Fe(r,Ee.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,n){var r=function(t,n,r){if(void 0===r){var i=Be.encode(t),e=n(i.length,1)>>>0;return Ne().subarray(e,e+i.length).set(i),Pe=i.length,e}for(var u=t.length,o=n(u,1)>>>0,f=Ne(),s=0;s<u;s++){var c=t.charCodeAt(s);if(c>127)break;f[o+s]=c}if(s!==u){0!==s&&(t=t.slice(s)),o=r(o,u,u=s+3*t.length,1)>>>0;var a=Ne().subarray(o+s,o+u);o=r(o,u,s+=Ve(t,a).written,1)>>>0}return Pe=s,o}(Oe(n).stack,Ee.__wbindgen_export_1,Ee.__wbindgen_export_2),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_videopid_60d3be6c566fc051=function(t){var n=Oe(t).video_pid;return pe(n)?16777215:n},t.wbg.__wbindgen_object_drop_ref=function(t){ke(t)},t.wbg.__wbindgen_string_new=function(t,n){return be(De(t,n))},t}function Ge(t,n){return Ee=t.exports,Ke.__wbindgen_wasm_module=n,Le=null,me=null,Ee.__wbindgen_start(),Ee}function Ke(t){return Bt(function(){var n,r,i,e;return Vt(this,function(u){switch(u.label){case 0:return void 0!==Ee?[2,Ee]:(void 0!==t&&(g.getPrototypeOf(t)===g.prototype?t=t.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL("theomux_bg.wasm",void 0)),n=xe(),("string"==typeof t||"function"==typeof Request&&b(t,Request)||"function"==typeof URL&&b(t,URL))&&(t=fetch(t)),[4,t]);case 1:return[4,We.apply(void 0,[u.sent(),n])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ge(i,e)]}})})()}function je(t){return Bt(function(){var n,r;return Vt(this,function(i){switch(i.label){case 0:return b(t,WebAssembly.Module)?n=t:(r="string"==typeof t?new URL(t):t,n="http:"===r.protocol||"https:"===r.protocol?fetch(r.href):function(t){return new nt(function(n,r){var i=new k;i.onload=function(){n(i.response||new ArrayBuffer(0))},i.onerror=function(){r(new E('Failed to fetch "'+t+'", status '+i.status))},i.open("GET",t,!0),i.responseType="arraybuffer",i.send()})}(r.href)),[4,Ke({module_or_path:n})];case 1:return i.sent(),[2,{mpegts_to_fmp4:Ue,raw_audio_to_fmp4:He}]}})})()}var ze=new URL("./THEOplayer.transmux.wasm",v.href);!function(t){var n,r=nt.resolve(t()).then(function(t){n=t,r=void 0,self.postMessage({s2t:"11.10.2"})},function(t){var n=t,r={success:!1,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)});self.addEventListener("message",function(t){var i=t.data.id;(function(t){return Bt(function(){var i,e,u,o,f,s;return Vt(this,function(c){switch(c.label){case 0:return void 0===r?[3,2]:[4,r];case 1:c.sent(),c.label=2;case 2:if(u=t.id,t.type===de.MPEGTS_TO_FMP4)o=n.mpegts_to_fmp4(t.input);else{if(t.type!==de.RAW_AUDIO_TO_FMP4)throw new I("Unknown request type: "+t.type);o=n.raw_audio_to_fmp4(t.input)}return f={success:!0,requestId:u,output:o},s=[null==(i=t.input.metadata)?void 0:i.sps_nal,null==(e=t.input.metadata)?void 0:e.pps_nal,t.input.data,o.data.video_init,o.data.audio_init,o.data.video_media,o.data.audio_media].filter(Ct).map(function(t){return t.buffer}),self.postMessage(f,s),[2]}})})()})(t.data).catch(function(t){var n=t,r={success:!1,requestId:i,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)})})}(function(){return je(ze)})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
30
+ !function(t){"use strict";var n,r,i,e,u,o,f,s,c,a=t.window,h=t.document,v=t.location,l=t.navigator,_=t.setTimeout,d=t.clearTimeout,y=t.setInterval,w=t.clearInterval,I=t.Error,g=t.TypeError,E=(t.SyntaxError,t.Object),R=t.Math,S=t.parseInt,O=t.parseFloat,p=t.isNaN,T=t.Uint8Array,k=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest);function m(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function b(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}function N(t,n){this.name="AggregateError",this.errors=t,this.message=n||""}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!==(o=Symbol.for)&&void 0!==o?o:Symbol,i=Symbol.iterator,e=null!==(f=Symbol.dispose)&&void 0!==f?f:r("Symbol.dispose"),u=null!==(s=Symbol.asyncDispose)&&void 0!==s?s:r("Symbol.asyncDispose")):(c=0,n=function(t){return"hd"+t+"_"+ ++c},i=(r=function(t){return"hd"+t})("Symbol.iterator"),e=r("Symbol.dispose"),u=r("Symbol.asyncDispose"),n.for=r,n.iterator=i,n.dispose=e,n.asyncDispose=u),N.prototype=I.prototype;var A=_;function C(t){return Boolean(t&&void 0!==t.length)}function D(){}function P(t){if(!m(this,P))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Va=0,this.tOi=!1,this.BIt=void 0,this.iOi=[],U(t,this)}function F(t,n){for(;3===t.Va;)t=t.BIt;0!==t.Va?(t.tOi=!0,P.nOi(function(){var r=1===t.Va?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.BIt)}catch(t){return void M(n.promise,t)}L(n.promise,i)}else(1===t.Va?L:M)(n.promise,t.BIt)})):t.iOi.push(n)}function L(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":b(n))||"function"==typeof n)){var r=n.then;if(m(n,P))return t.Va=3,t.BIt=n,void B(t);if("function"==typeof r)return void U(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Va=1,t.BIt=n,B(t)}catch(n){M(t,n)}}function M(t,n){t.Va=2,t.BIt=n,B(t)}function B(t){2===t.Va&&0===t.iOi.length&&P.nOi(function(){t.tOi||P.rOi(t.BIt)});for(var n=0,r=t.iOi.length;n<r;n++)F(t,t.iOi[n]);t.iOi=null}function V(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function U(t,n){var r=!1;try{t(function(t){r||(r=!0,L(n,t))},function(t){r||(r=!0,M(n,t))})}catch(t){if(r)return;r=!0,M(n,t)}}P.prototype.catch=function(t){return this.then(null,t)},P.prototype.then=function(t,n){var r=new this.constructor(D);return F(this,new V(t,n,r)),r},P.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)})})},P.all=function(t){return new P(function(n,r){if(!C(t))return r(new g("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"===(void 0===o?"undefined":b(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])})},P.any=function(t){var n=this;return new n(function(r,i){if(!t||void 0===t.length)return i(new g("Promise.any accepts an array"));var e=Array.prototype.slice.call(t);if(0===e.length)return i();for(var u=[],o=0;o<e.length;o++)try{n.resolve(e[o]).then(r).catch(function(t){u.push(t),u.length===e.length&&i(new N(u,"All promises were rejected"))})}catch(t){i(t)}})},P.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new g((void 0===t?"undefined":b(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"===(void 0===r?"undefined":b(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])})},P.resolve=function(t){return t&&"object"===(void 0===t?"undefined":b(t))&&t.constructor===P?t:new P(function(n){n(t)})},P.reject=function(t){return new P(function(n,r){r(t)})},P.race=function(t){return new P(function(n,r){if(!C(t))return r(new g("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)P.resolve(t[i]).then(n,r)})},P.nOi="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){A(t,0)},P.rOi=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var H=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),W=l?l.userAgent:"",x=W.match(/Firefox\/([0-9]+)/i),G=null!=x,K=x?Number(x[1]):0,j=W.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Y=null!=j,z=j?Number(j[3]):0,q=function(){function t(t){this.Gb=0,this.Wd=0,this.ym=[],this.eOi=t}var n=t.prototype;return n.sOi=function(t){var n=this.length();this.uOi(n+1);var r=this.Wd+n&this.eOi-1;this.ym[r]=t,this.Gb=n+1},n.push=function(t){var n=this.length()+1;if(this.eOi<n)this.sOi(t);else{var r=this.Wd+n-1,i=this.eOi-1;this.ym[r&i]=t,this.Gb=n}},n.shift=function(){var t=this.Wd,n=this.ym[t];return this.ym[t]=void 0,this.Wd=t+1&this.eOi-1,this.Gb--,n},n.length=function(){return this.Gb},n.uOi=function(t){this.eOi<t&&this.oOi(this.eOi<<1)},n.oOi=function(t){var n=this.eOi;this.eOi=t;var r=this.Wd+this.Gb&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.ym,0,n,r)},t}();function X(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n,r=H;return r?(n="function"==typeof r.resolve?r.resolve():new r(function(t){return t()}),function(t){return n.then(t)}):void 0}var $="unhandledrejection",Z=self.PromiseRejectionEvent,Q=self.CustomEvent;function J(t){return new Z($,{reason:t,promise:H.reject(t).catch(function(){}),cancelable:!0})}function tt(t){var n=new Q($,{detail:{reason:t},cancelable:!0});return E.defineProperty(n,"reason",{value:t}),n}function nt(t){var n=h.createEvent("CustomEvent");return n.initCustomEvent($,!1,!0,{reason:t}),n}var rt,it,et,ut,ot,ft,st,ct,at=function(t){return at=function(){try{var t=H.resolve(),n="error",r=new Z($,{reason:n,promise:t});return $===r.type&&n===r.reason}catch(t){}return!1}()?J:function(){try{var t="error",n=new Q($,{detail:{reason:t}});return $===n.type&&t===n.detail.reason}catch(t){}return!1}()?tt:nt,at(t)};function ht(t,n){return ht=E.setPrototypeOf||function(t,n){return t.__proto__=n,t},ht(t,n)}function vt(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=E.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ht(t,n)}function lt(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),E.defineProperty(t,i.key,i)}}function _t(t,n,r){return n&&lt(t.prototype,n),r&&lt(t,r),t}function dt(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function yt(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 wt(t,r){var e=void 0!==n&&t[i]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return yt(t,n);var r=E.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)?yt(t,n):void 0}}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new g("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}H&&!(G&&K<60||Y&&z<15)?(rt=H,X()):(rt=P,st=null!=(ft=X())?ft:P.nOi,it=st,et=new q(16),ut=!1,(ct={K9:function(t){et.push(t),ut||(ut=!0,it(ot))},gZ:ot=function(){for(;et.length()>0;)et.shift()();ut=!1}}).K9,P.nOi=ct.K9,P.rOi=function(t){try{var n=at(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}_(function(){throw new I("Unhandled promise rejection: "+t)},0)});var It=function(t){return t.Rv="web",t.Dv="android",t.Nv="android-tv",t.Bv="ios",t.Mv="tvos",t.Lv="chromecast",t.Ov="theoliveweb",t}({});var gt=l?l.userAgent:"",Et=gt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),Rt=gt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),St=gt.match(/Android ([0-9\.]+)/i),Ot=gt.match(/Windows NT ([0-9\.]+)/i),pt=gt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Tt=gt.match(/Firefox\/([0-9\.]+)/i),kt=gt.match(/OPR\/(\d+\.\d+)/i),mt=gt.match(/Tizen ([0-9\.]+)/i),bt=gt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),Nt=gt.match(/HbbTV\/([0-9.]+)/i),At=gt.match(/(AFT.*) Build/i),Ct=function(){function t(){this.Fv=Boolean("ontouchstart"in self||self.DocumentTouch&&dt(h,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.Vv=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(gt)||/(macintosh|mac(?=_powerpc)\s)/i.test(gt),this.Wv=/Windows NT/i.test(gt),this.zv=Ot?O(Ot[1]):0,this.Xv=/Android/i.test(gt),this.Qv=St?O(St[1]):0,this.Jv=/windows phone (8|8\.1)/i.test(gt),this.$v=/iPhone/i.test(gt),this.i_=/iPad/i.test(gt),this.e_=this.Vv&&this.Fv&&!this.i_,this.r_=/iPod/i.test(gt),this.l_=/Mobile Safari/i.test(gt),this.c_=/EOS\d*STB/i.test(gt),this.d_=/APP\d*STB/i.test(gt),this.o_=(this.$v||this.i_||this.e_||this.r_)&&!this.Jv,this.a_=bt?O(bt[2]):0,this.f_=this.Jv||this.o_||this.Xv||this.l_,this.__=/CriOS/i.test(gt),this.p_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.__,this.A_=this.p_&&/Edg\//i.test(l.userAgent),this.T_=Rt?S(Rt[1],10):0,this.$g=Boolean(/CriOS/i.test(gt)),this.Zg=Boolean(self.chrome||/Chrome/i.test(gt)||this.$g),this.y_=Et?S(Et[1],10):0,this.x_=/SMART-TV.*Tizen/i.test(gt),this.C_=mt?O(mt[1]):0,this.w_=this.C_>0?function(t){return t>=8?108:t>=7?94:t>=6.5?85:t>=6?76:t>=5.5?69:t>=5?63:t>=4?56:t>=3?47:0}(this.C_):void 0,this.R_=/webos|web0s/i.test(gt),this.N_=/HbbTV/i.test(gt),this.M_=!!Nt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(Nt[1]),this.O_=/AFT.* Build/i.test(gt),this.U_=At?At[1]:void 0,this.W_=/VIZIO/i.test(gt),this.J_=/Edge\/\d+/i.test(gt),this.eg=/Trident/i.test(gt),this.og=this.eg&&!self.ActiveXObject&&"ActiveXObject"in self,this.ag=/Vivaldi/i.test(gt),this.dg=/Firefox/i.test(gt)&&!/Seamonkey/i.test(gt),this.vg=Tt?O(Tt[1]):0,this.gg=/Safari/i.test(gt)&&!/Chrome/i.test(gt)&&!this.Jv&&!this.x_,this.wg=pt?O(pt[2]):0,this.Ag=Boolean(kt),this.Tg=kt?O(kt[1]):0,this.z_=/Sky_STB/i.test(gt),this.X_=/Sky_TV/i.test(gt),this.K_=/Sky_OTT/i.test(gt),this.xg=/CrKey/.test(gt),this.Cg=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(gt)||this.z_,this.Dg=/OculusBrowser|Meta Quest/i.test(gt),this.Bg=/PlayStation 4/i.test(gt),this.Lg=/PlayStation 5/i.test(gt),this.Fg=/VirginMedia_STB/i.test(gt),this.Vg="web"===It.Nv,this.Wg="web"===It.Dv,this.zg=this.Wg||this.Vg,this.Xg="web"===It.Bv,this.Kg="web"===It.Mv,this.Yg="web"===It.Lv}return _t(t,[{key:"Ke",get:function(){return this.Fv}},{key:"Uv",get:function(){return this.Vv}},{key:"Hv",get:function(){return this.Wv}},{key:"qv",get:function(){return this.zv}},{key:"Gv",get:function(){return this.Xv}},{key:"Kv",get:function(){return this.Qv}},{key:"Yv",get:function(){return this.Jv}},{key:"Zv",get:function(){return this.$v}},{key:"t_",get:function(){return this.i_}},{key:"s_",get:function(){return this.e_}},{key:"n_",get:function(){return this.r_}},{key:"au",get:function(){return this.o_}},{key:"h_",get:function(){return this.a_}},{key:"u_",get:function(){return this.c_||this.d_}},{key:"$d",get:function(){return this.l_}},{key:"Ks",get:function(){return this.f_}},{key:"v_",get:function(){return this.__}},{key:"g_",get:function(){return this.p_}},{key:"m_",get:function(){var t;return null!==(t=this.w_)&&void 0!==t?t:this.y_}},{key:"b_",get:function(){return this.A_}},{key:"S_",get:function(){var t;return(null==(t=a.chrome)?void 0:t.webview)&&this.T_>0}},{key:"k_",get:function(){return this.T_}},{key:"E_",get:function(){return this.x_}},{key:"P_",get:function(){return this.C_}},{key:"I_",get:function(){return this.R_}},{key:"D_",get:function(){return this.N_}},{key:"B_",get:function(){return this.M_}},{key:"L_",get:function(){return this.O_}},{key:"F_",get:function(){return"AFTMM"===this.U_}},{key:"V_",get:function(){return"AFTM"===this.U_}},{key:"H_",get:function(){return this.W_}},{key:"q_",get:function(){return this.z_}},{key:"G_",get:function(){return this.X_}},{key:"j_",get:function(){return this.K_}},{key:"Q_",get:function(){return this.q_||this.j_||this.G_}},{key:"Y_",get:function(){return this.J_}},{key:"Z_",get:function(){return this.eg}},{key:"rg",get:function(){return this.og}},{key:"hg",get:function(){return this.ag}},{key:"cg",get:function(){return this.dg}},{key:"fg",get:function(){return this.vg}},{key:"_g",get:function(){return this.gg}},{key:"pg",get:function(){return 0===this.wg&&Dt.au?this.a_:this.wg}},{key:"yg",get:function(){return this.Ag}},{key:"Sg",get:function(){return this.Tg}},{key:"Eg",get:function(){return this.xg}},{key:"Pg",get:function(){return this.Cg}},{key:"Ig",get:function(){return!(!this.I_&&!this.E_)&&this.m_<=56}},{key:"Rg",get:function(){return this.Dg}},{key:"Ng",get:function(){return this.Bg}},{key:"Mg",get:function(){return this.Lg}},{key:"Og",get:function(){return this.Fg}},{key:"Ug",get:function(){return this.Vg}},{key:"Hg",get:function(){return this.Wg}},{key:"qg",get:function(){return this.zg}},{key:"Gg",get:function(){return this.Xg}},{key:"jg",get:function(){return this.Kg}},{key:"Qg",get:function(){return this.Yg}},{key:"Jg",get:function(){return this.Zg}},{key:"IS_IOS_CHROME",get:function(){return this.$g}}]),t}();Ct.tp=new Ct;var Dt=Ct.tp;function Pt(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}function Ft(t){return null!=t}function Lt(t){return"object"===(void 0===t?"undefined":Pt(t))&&null!==t}function Mt(t){return function(t){return"function"==typeof t}(t)||Lt(t)}var Bt=function(){};function Vt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}function Ut(t,n,r,i,e,u,o){try{var f=t[u](o),s=f.value}catch(t){return void r(t)}f.done?n(s):rt.resolve(s).then(i,e)}function Ht(t){return function(){var n=this,r=arguments;return new rt(function(i,e){var u=t.apply(n,r);function o(t){Ut(u,i,e,o,f,"next",t)}function f(t){Ut(u,i,e,o,f,"throw",t)}o(void 0)})}}function Wt(t,r){var e,u,o,f={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=E.create(("function"==typeof Iterator?Iterator:E).prototype),c=E.defineProperty;return c(s,"next",{value:a(0)}),c(s,"throw",{value:a(1)}),c(s,"return",{value:a(2)}),"function"==typeof n&&c(s,i,{value:function(){return this}}),s;function a(n){return function(i){return function(n){if(e)throw new g("Generator is already executing.");for(;s&&(s=0,n[0]&&(f=0)),f;)try{if(e=1,u&&(o=2&n[0]?u.return:n[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,n[1])).done)return o;switch(u=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return f.label++,{value:n[1],done:!1};case 5:f.label++,u=n[1],n=[0];continue;case 7:n=f.ops.pop(),f.trys.pop();continue;default:if(!(o=f.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){f=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){f.label=n[1];break}if(6===n[0]&&f.label<o[1]){f.label=o[1],o=n;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(n);break}o[2]&&f.ops.pop(),f.trys.pop();continue}n=r.call(t,f)}catch(t){n=[6,t],u=0}finally{e=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,i])}}}R.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var xt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var r=0;r<t.length;r+=1){if(n(t[r],r,t))return r}return-1},Gt="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var r=t.length-1;r>=0;r-=1){if(n(t[r],r,t))return r}return-1};Array.prototype.at;function Kt(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,r),!0)}function jt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Yt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];I.apply(this,n)};(Yt.prototype=E.create(I.prototype)).constructor=Yt;var zt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,I.captureStackTrace&&I.captureStackTrace(i,i.constructor),i}return vt(n,t),_t(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Yt),qt=function(t){function n(n,r){return t.call(this,n||"Aborted",r)||this}return vt(n,t),_t(n,[{key:"name",get:function(){return"AbortError"}}]),n}(zt),Xt=function(){function t(){this.ap=!1,this._p=!1,this.cp=void 0,this.gp=[],this.mp=[]}var n=t.prototype;return n.vp=function(t){if(!this.ap&&!this._p){this.ap=!0,this.cp=null!=t?t:new qt;for(var n,r=wt(this.gp.slice());!(n=r()).done;){(0,n.value)()}this.pp()}},n.pp=function(){if(!this._p){this._p=!0;for(var t,n=wt(this.mp.slice());!(t=n()).done;){(0,t.value)()}jt(this.gp),jt(this.mp)}},n.hp=function(){if(this.ap)throw this.cp},n.lp=function(t){this._p||this.gp.push(t)},n.dp=function(t){this._p||Kt(this.gp,t)},n.wp=function(t){this._p||this.mp.push(t)},n.yp=function(t){this._p||Kt(this.mp,t)},t}(),$t=function(){function t(){this.bp=new Xt}var n=t.prototype;return n.Ap=function(t){this.bp.vp(t)},n.pp=function(){this.bp.pp()},n.Sp=function(t){var n=this.bp;if(!n.ap)if(t.ap)n.vp(t.cp);else if(!n._p&&!t._p){var r=function(){i(),n.vp(t.cp)},i=function(){t.dp(r),t.yp(i),n.dp(r),n.yp(i)};t.lp(r),t.wp(i),n.lp(r),n.wp(i)}},n.Tp=function(){var n=new t,r=new t,i=n.fp,e=r.fp,u=this.bp,o=function(){i.ap&&e._p?u.vp(i.cp):e.ap&&i._p?u.vp(e.cp):i._p&&e._p&&u.pp()};i.lp(o),e.lp(o),i.wp(o),e.wp(o),n.Sp(u),r.Sp(u);return u.wp(function(){i.dp(o),e.dp(o),i.yp(o),e.yp(o)}),[n,r]},n[e]=function(){this.Ap()},t.kp=function(n){for(var r,i=new t,e=wt(n);!(r=e()).done;){var u=r.value;void 0!==u&&i.Sp(u)}return i},_t(t,[{key:"fp",get:function(){return this.bp}}]),t}();rt.resolve();function Zt(){return void 0!==h?h.createElement("video"):void 0}var Qt=Vt(Zt),Jt=(Vt(function(){return"undefined"!=typeof HTMLVideoElement&&dt(Qt(),HTMLVideoElement)}),null);try{Jt=new WebAssembly.Instance(new WebAssembly.Module(new T([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(it){}function tn(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function nn(t){return!0===(t&&t.xp)}function rn(t){var n=R.clz32(t&-t);return t?31-n:n}tn.prototype.xp,E.defineProperty(tn.prototype,"xp",{value:!0}),tn.isLong=nn;var en={},un={};function on(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=un[t])?i:(r=sn(t,0,!0),e&&(un[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=en[t])?i:(r=sn(t,t<0?-1:0,!1),e&&(en[t]=r),r)}function fn(t,n){if(p(t))return n?wn:yn;if(n){if(t<0)return wn;if(t>=ln)return Sn}else{if(t<=-_n)return On;if(t+1>=_n)return Rn}return t<0?fn(-t,n).neg():sn(t%vn|0,t/vn|0,n)}function sn(t,n,r){return new tn(t,n,r)}tn.fromInt=on,tn.fromNumber=fn,tn.fromBits=sn;var cn=R.pow;function an(t,n,r){if(0===t.length)throw I("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?wn:yn;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw I("interior hyphen");if(0===i)return an(t.substring(1),n,r).neg();for(var e=fn(cn(r,8)),u=yn,o=0;o<t.length;o+=8){var f=R.min(8,t.length-o),s=S(t.substring(o,o+f),r);if(f<8){var c=fn(cn(r,f));u=u.mul(c).add(fn(s))}else u=(u=u.mul(e)).add(fn(s))}return u.unsigned=n,u}function hn(t,n){return"number"==typeof t?fn(t,n):"string"==typeof t?an(t,n):sn(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}tn.fromString=an,tn.fromValue=hn;var vn=4294967296,ln=vn*vn,_n=ln/2,dn=on(1<<24),yn=on(0);tn.ZERO=yn;var wn=on(0,!0);tn.UZERO=wn;var In=on(1);tn.ONE=In;var gn=on(1,!0);tn.UONE=gn;var En=on(-1);tn.NEG_ONE=En;var Rn=sn(-1,2147483647,!1);tn.MAX_VALUE=Rn;var Sn=sn(-1,-1,!0);tn.MAX_UNSIGNED_VALUE=Sn;var On=sn(0,-2147483648,!1);tn.MIN_VALUE=On;var pn=tn.prototype;function Tn(){return Date.now()||(new Date).getTime()}pn.toInt=function(){return this.unsigned?this.low>>>0:this.low},pn.toNumber=function(){return this.unsigned?(this.high>>>0)*vn+(this.low>>>0):this.high*vn+(this.low>>>0)},pn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(On)){var n=fn(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=fn(cn(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}},pn.getHighBits=function(){return this.high},pn.getHighBitsUnsigned=function(){return this.high>>>0},pn.getLowBits=function(){return this.low},pn.getLowBitsUnsigned=function(){return this.low>>>0},pn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(On)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&!(t&1<<n);n--);return 0!=this.high?n+33:n+1},pn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},pn.isZero=function(){return 0===this.high&&0===this.low},pn.eqz=pn.isZero,pn.isNegative=function(){return!this.unsigned&&this.high<0},pn.isPositive=function(){return this.unsigned||this.high>=0},pn.isOdd=function(){return!(1&~this.low)},pn.isEven=function(){return!(1&this.low)},pn.equals=function(t){return nn(t)||(t=hn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},pn.eq=pn.equals,pn.notEquals=function(t){return!this.eq(t)},pn.neq=pn.notEquals,pn.ne=pn.notEquals,pn.lessThan=function(t){return this.comp(t)<0},pn.lt=pn.lessThan,pn.lessThanOrEqual=function(t){return this.comp(t)<=0},pn.lte=pn.lessThanOrEqual,pn.le=pn.lessThanOrEqual,pn.greaterThan=function(t){return this.comp(t)>0},pn.gt=pn.greaterThan,pn.greaterThanOrEqual=function(t){return this.comp(t)>=0},pn.gte=pn.greaterThanOrEqual,pn.ge=pn.greaterThanOrEqual,pn.compare=function(t){if(nn(t)||(t=hn(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},pn.comp=pn.compare,pn.negate=function(){return!this.unsigned&&this.eq(On)?On:this.not().add(In)},pn.neg=pn.negate,pn.add=function(t){nn(t)||(t=hn(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&t.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,sn((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},pn.subtract=function(t){return nn(t)||(t=hn(t)),this.add(t.neg())},pn.sub=pn.subtract,pn.multiply=function(t){if(this.isZero())return this;if(nn(t)||(t=hn(t)),Jt)return sn(Jt.mul(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned);if(t.isZero())return this.unsigned?wn:yn;if(this.eq(On))return t.isOdd()?On:yn;if(t.eq(On))return this.isOdd()?On:yn;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(dn)&&t.lt(dn))return fn(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,a=0,h=0,v=0;return h+=(v+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,sn((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},pn.mul=pn.multiply,pn.divide=function(t){if(nn(t)||(t=hn(t)),t.isZero())throw I("division by zero");var n,r,i;if(Jt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?sn((this.unsigned?Jt.div_u:Jt.div_s)(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?wn:yn;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wn;if(t.gt(this.shru(1)))return gn;i=wn}else{if(this.eq(On))return t.eq(In)||t.eq(En)?On:t.eq(On)?In:(n=this.shr(1).div(t).shl(1)).eq(yn)?t.isNegative()?In:En:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(On))return this.unsigned?wn:yn;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=yn}for(r=this;r.gte(t);){n=R.max(1,R.floor(r.toNumber()/t.toNumber()));for(var e=R.ceil(R.log(n)/R.LN2),u=e<=48?1:cn(2,e-48),o=fn(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=fn(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=In),i=i.add(o),r=r.sub(f)}return i},pn.div=pn.divide,pn.modulo=function(t){return nn(t)||(t=hn(t)),Jt?sn((this.unsigned?Jt.rem_u:Jt.rem_s)(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},pn.mod=pn.modulo,pn.rem=pn.modulo,pn.not=function(){return sn(~this.low,~this.high,this.unsigned)},pn.countLeadingZeros=function(){return this.high?R.clz32(this.high):R.clz32(this.low)+32},pn.clz=pn.countLeadingZeros,pn.countTrailingZeros=function(){return this.low?rn(this.low):rn(this.high)+32},pn.ctz=pn.countTrailingZeros,pn.and=function(t){return nn(t)||(t=hn(t)),sn(this.low&t.low,this.high&t.high,this.unsigned)},pn.or=function(t){return nn(t)||(t=hn(t)),sn(this.low|t.low,this.high|t.high,this.unsigned)},pn.xor=function(t){return nn(t)||(t=hn(t)),sn(this.low^t.low,this.high^t.high,this.unsigned)},pn.shiftLeft=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):sn(0,this.low<<t-32,this.unsigned)},pn.shl=pn.shiftLeft,pn.shiftRight=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):sn(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},pn.shr=pn.shiftRight,pn.shiftRightUnsigned=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):sn(32===t?this.high:this.high>>>t-32,0,this.unsigned)},pn.shru=pn.shiftRightUnsigned,pn.shr_u=pn.shiftRightUnsigned,pn.rotateLeft=function(t){var n;return nn(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?sn(this.high,this.low,this.unsigned):t<32?(n=32-t,sn(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),sn(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},pn.rotl=pn.rotateLeft,pn.rotateRight=function(t){var n;return nn(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?sn(this.high,this.low,this.unsigned):t<32?(n=32-t,sn(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),sn(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},pn.rotr=pn.rotateRight,pn.toSigned=function(){return this.unsigned?sn(this.low,this.high,!1):this},pn.toUnsigned=function(){return this.unsigned?this:sn(this.low,this.high,!0)},pn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},pn.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]},pn.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]},tn.fromBytes=function(t,n,r){return r?tn.fromBytesLE(t,n):tn.fromBytesBE(t,n)},tn.fromBytesLE=function(t,n){return new tn(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},tn.fromBytesBE=function(t,n){return new tn(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(tn.fromBigInt=function(t,n){return sn(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},tn.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":Pt(t))?tn.fromBigInt(t,n):hn(t,n)},pn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var kn=1/6,mn=(tn.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&dt(h,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),bn=Qt(),Nn=Boolean(bn&&bn.webkitShowPlaybackTargetPicker),An=function(){function t(){this.Cp=void 0,this.um=!1,this.Ke=mn,this.Ks=!1,this.Ep=!0}var n=t.prototype;return n.Ip=function(){return 0},n.Yp=function(t,n){return!0},n.Jp=function(t){return t>=2*kn},_t(t,[{key:"Pp",get:function(){return void 0===this.Cp&&(this.Cp=this.Ip()),this.Cp}},{key:"Rp",get:function(){return Dt.Gv?"android":Dt.Uv?"macos":Dt.au?"ios":Dt.Hv?"windows":"other"}},{key:"Dp",get:function(){return Dt.Pg?"tv":Dt.Ks?"mobile":"desktop"}},{key:"Np",get:function(){return!Dt.Pg}},{key:"Bp",get:function(){if(a.screen)return{width:a.screen.width*this.Mp,height:a.screen.height*this.Mp}}},{key:"Mp",get:function(){return a.devicePixelRatio||1}},{key:"Lp",get:function(){return Nn}},{key:"Op",get:function(){return!1}},{key:"Fp",get:function(){return!0}},{key:"Up",get:function(){return!!(Dt._g||Dt.au||Dt.S_)||!!Dt.H_}},{key:"Vp",get:function(){return Dt.H_}},{key:"Hp",get:function(){return!Dt.au}},{key:"Wp",get:function(){return!0}},{key:"qp",get:function(){return!0}},{key:"zp",get:function(){return!1}},{key:"Gp",get:function(){}},{key:"Xp",get:function(){return!0}},{key:"jp",get:function(){return!1}},{key:"Kp",get:function(){return Dt.H_}},{key:"Qp",get:function(){return!1}},{key:"Zp",get:function(){return!1}},{key:"$p",get:function(){return!1}},{key:"im",get:function(){return!0}},{key:"nm",get:function(){return!Dt.m_||Dt.m_>=68}},{key:"hm",get:function(){return!1}}]),t}(),Cn=function(t){function n(){return t.call(this)||this}return vt(n,t),n}(An),Dn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Yp=function(t,n){if(t&&t.dm&&n&&n.dm){var r=Pn(t.dm,"mp4a.40.2")&&Pn(n.dm,"mp4a.40.5"),i=Pn(t.dm,"mp4a.40.5")&&Pn(n.dm,"mp4a.40.2"),e=Pn(t.dm,"mp4a.40.2")&&Pn(n.dm,"mp4a.40.34"),u=Pn(t.dm,"mp4a.40.34")&&Pn(n.dm,"mp4a.40.2"),o=Pn(t.dm,"mp4a.40.5")&&Pn(n.dm,"mp4a.40.34"),f=Pn(t.dm,"mp4a.40.34")&&Pn(n.dm,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},_t(n,[{key:"Gp",get:function(){if(Dt.Uv)return 4096}}]),n}(Cn);function Pn(t,n){return t.indexOf(n)>-1}var Fn,Ln=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Jp=function(t){return t>=2},n}(Cn),Mn=function(t){function n(){var n;return(n=t.call(this)||this).um=Dt.pg>=11,n.Ep=Dt._g&&!(Dt.au&&Dt.pg<10),n}return vt(n,t),_t(n,[{key:"Qp",get:function(){return Dt.pg<17}},{key:"Zp",get:function(){return!0}}]),n}(Cn),Bn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"Xp",get:function(){return!(Dt.m_>=133)}}]),n}(Cn);var Vn=function(){var t=Zt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Dt.s_)return!1;var t=Zt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Un=function(t){function n(n){var r;return(r=t.call(this)||this).lm=void 0,r.lm=n,r.um=r.lm.um,r.Ke=r.lm.Ke,r.Ep=Vn&&r.lm.Ep,r}vt(n,t);var r=n.prototype;return r.Ip=function(){return this.lm.Pp},r.Yp=function(t,n){return this.lm.Yp(t,n)},r.Jp=function(t){return this.lm.Jp(t)},_t(n,[{key:"Gp",get:function(){return this.lm.Gp}},{key:"Xp",get:function(){return this.lm.Xp}},{key:"Qp",get:function(){return this.lm.Qp}},{key:"nm",get:function(){return this.lm.nm}}]),n}(An),Hn=function(t){function n(n){var r;return(r=t.call(this,n)||this).um=!0,r.Ks=!0,r}return vt(n,t),_t(n,[{key:"zp",get:function(){return Dt.au}}]),n}(Un);var Wn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Ip=function(){return function(t){return t&&Mt(a.ManagedMediaSource)?a.ManagedMediaSource:Mt(a.MediaSource)?a.MediaSource:void 0}(!0)?t.prototype.Ip.call(this):1},_t(n,[{key:"zp",get:function(){return!0}},{key:"hm",get:function(){return!0}}]),n}(Hn),xn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).gm=void 0,n}return vt(n,t),n.prototype.Yp=function(n,r){return t.prototype.Yp.call(this,n,r)},_t(n,[{key:"Op",get:function(){return Dt.P_<3}},{key:"Fp",get:function(){return Dt.P_>=3}},{key:"Bp",get:function(){var t=this;return a.tizen&&!this.gm&&a.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.gm={width:r,height:i})}),this.gm}},{key:"jp",get:function(){return Dt.P_<3}}]),n}(Un),Gn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).gm=void 0,n}return vt(n,t),_t(n,[{key:"Bp",get:function(){var t=this;return a.webOS&&!this.gm&&a.webOS.deviceInfo(function(n){t.gm={width:n.screenWidth,height:n.screenHeight}}),this.gm}},{key:"Wp",get:function(){return!1}}]),n}(Un),Kn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"zp",get:function(){return!0}},{key:"Zp",get:function(){return this.lm.Zp}}]),n}(Un),jn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"$p",get:function(){return Dt.F_}}]),n}(Un);!function(t){Fn=t}(function(){var t=function(){if(Dt.cg)return new Dn;if(Dt.Y_||Dt.Z_)return new Ln;if(Dt._g)return new Mn;if(Dt.Jg)return new Bn;return new Cn}();return Dt.au?new Wn(t):Dt.L_?new jn(t):Dt.Ks?new Hn(t):Dt.E_?new xn(t):Dt.I_?new Gn(t):Dt.Uv?new Kn(t):new Un(t)}());var Yn=!(Dt.Z_&&!Dt.rg),zn=self.console;function qn(t){if(Lt(t))try{return JSON.stringify(t)}catch(t){}return t}function Xn(t){return t.map(qn).join(" ")}function $n(t){var n=zn&&zn[t];return n?n.bind&&Yn?n.bind(zn):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];zn[t](Xn(r))}:void 0}var Zn=$n("log")||Bt,Qn=$n("debug")||Zn.bind(void 0,"DEBUG:"),Jn=$n("warn")||Zn.bind(void 0,"WARNING:"),tr=$n("error")||Zn.bind(void 0,"ERROR:"),nr=function(){var t=zn&&zn.assert;return t?t.bind&&Yn?t.bind(zn):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];zn.assert(t,Xn(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||tr.apply(void 0,[].concat(["Assertion failed:"],r))}}();function rr(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),E.defineProperty(t,i.key,i)}}function ir(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){er(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&er(r,null,t.length,t),t}function er(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<u)i[a++]=t[f++];else{if(!(s<o))break;i[a++]=t[s++]}}var ur=/[a-zA-Z]/,or=/[0-9]/,fr=/[0-9a-fA-F]/,sr=/^0x/i,cr=/^[0-9]+$/,ar=/^[0-9a-fA-F]+$/,hr=/^[0-7]+$/,vr=E.prototype.toString,lr=Array.isArray||function(t){return"[object Array]"===vr.call(t)},_r=void 0!==n&&"symbol"==typeof i;function dr(t){return lr(t)?t:Array.from(t)}function yr(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function wr(t){return t>=65&&t<=90}function Ir(t){return wr(t)||function(t){return t>=97&&t<=122}(t)}function gr(t){return t>=48&&t<=57}function Er(t){return gr(t)||Ir(t)}function Rr(t){return gr(t)||t>=65&&t<=70||t>=97&&t<=102}function Sr(t){return wr(t)?t+32:t}function Or(t){return gr(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function pr(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Tr=R.min,kr=String.fromCharCode;function mr(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=Tr(i+16384,n);r.push(kr.apply(null,t.slice(i,e)))}return r.join("")}var br=2147483647,Nr=/[^\0-\x7E]/,Ar=/[\x2E\u3002\uFF0E\uFF61]/g,Cr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Dr=R.floor,Pr=String.fromCharCode;function Fr(t){throw new RangeError(Cr[t])}function Lr(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 Mr,Br,Vr,Ur=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Hr=function(t,n,r){var i=0;for(t=r?Dr(t/700):t>>1,t+=Dr(t/n);t>455;i+=36)t=Dr(t/35);return Dr(i+36*t/(t+38))},Wr=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(Ar,".")).split("."),n).join(".");return i+e}(t,function(t){return Nr.test(t)?"xn--"+function(t){for(var n=[],r=(t=Lr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Pr(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=br,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Dr((br-e)/d)&&Fr("overflow"),e+=(h-i)*d,i=h;for(var y=0,w=t;y<w.length;y++){var I=w[y];if(I<i&&++e>br&&Fr("overflow"),I==i){for(var g=e,E=36;;E+=36){var R=E<=u?1:E>=u+26?26:E-u;if(g<R)break;var S=g-R,O=36-R;n.push(Pr(Ur(R+S%O,0))),g=Dr(S/O)}n.push(Pr(Ur(g,0))),u=Hr(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function xr(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 mr(n)}function Gr(t){if(t>=55296&&t<=57343)throw new I("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Kr(t,n){return t>>n&63|128}function jr(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Kr(t,12)),n.push(Kr(t,6))):(Gr(t),n.push(t>>12&15|224),n.push(Kr(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Yr(t){for(var n=[],r=0;r<t.length;r++){jr(t[r],n)}return n}function zr(){if(Vr>=Br)throw new I("Invalid byte index");var t=255&Mr[Vr];if(Vr++,128==(192&t))return 63&t;throw new I("Invalid continuation byte")}function qr(){var t,n;if(Vr>Br)throw new I("Invalid byte index");if(Vr===Br)return!1;if(t=255&Mr[Vr],Vr++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|zr())>=128)return n;throw new I("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|zr()<<6|zr())>=2048)return Gr(n),n;throw new I("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|zr()<<12|zr()<<6|zr())>=65536&&n<=1114111)return n;throw new I("Invalid UTF-8 detected")}function Xr(t){return[37,pr(t>>4),pr(15&t)]}function $r(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Zr(t){return $r(t)||32===t||34===t||60===t||62===t||96===t}function Qr(t){return Zr(t)||35===t||63===t||123===t||125===t}function Jr(t){return Qr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function ti(t){return t<33||t>126||34===t||35===t||60===t||62===t}function ni(t){return ti(t)||39===t}function ri(t,n){if(!n(t))return[t];for(var r=Yr([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Xr(u))}return i}function ii(t,n){for(var r=[],i=0,e=Lr(t);i<e.length;i++){var u=e[i];r.push.apply(r,ri(u,n))}return xr(r)}function ei(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&&Rr(t[i+1])&&Rr(t[i+2])){var u=Or(t[i+1])<<4|Or(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Yr(t))}function ui(t){return xr(function(t){Mr=t.slice(),Br=Mr.length,Vr=0;for(var n,r=[];!1!==(n=qr());)r.push(n);return r}(ei(Lr(t))))}function oi(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&fr.test(t[u]);)o=o<<4|S(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,i>6)throw new g;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!or.test(t[u]))throw new g;for(;u<n&&or.test(t[u]);){var a=S(t[u],10);if(null===c)c=a;else{if(0===c)throw new g;if((c=10*c+a)>255)throw new g}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new g;break}if(":"===t[u]){if((u+=1)===n)throw new g}else if(u<n)throw new g;r[i]=o,i+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var h=i-e;for(i=7;0!==i&&h>0;)yr(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new g;return r}function fi(t){var n=10,r=cr;return sr.test(t)?(t=t.slice(2),n=16,r=ar):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=hr),""===t?0:r.test(t)?S(t,n):void 0}var si={pm:4},ci=/[\0\t\n\r #%/:?@\[\\\]]/,ai=/[\0\t\n\r #/:?@\[\\\]]/;function hi(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{pm:2,wm:oi(t.slice(1,-1))}}if(!n)return function(t){if(ai.test(t))throw new g("Invalid code point in opaque host");var n=ii(t,$r);return""===n?si:{pm:3,ym:n}}(t);var r=function(t){var n=function(t){return Wr(t.toLowerCase())}(t);return n}(ui(t));if(ci.test(r))throw new g("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=fi(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new g;if(r[r.length-1]>=R.pow(256,5-r.length))throw new g;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*R.pow(256,3-s);return f}}(r);return void 0!==i?{pm:1,wm:i}:""===r?si:{pm:0,Am:r}}function vi(t){switch(t.pm){case 0:return t.Am;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.wm);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.wm)+"]";case 3:return t.ym;case 4:return""}}var li=/\+/g;function _i(t){return 42===t||45===t||46===t||95===t||Er(t)}function di(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(li," "),f=f.replace(li," ");var s=ui(o),c=ui(f);r.push([s,c])}}return r}function yi(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=wi(Yr(Lr(i[0])))+"="+wi(Yr(Lr(i[1])))}return n}function wi(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):_i(i)?n.push(i):n.push.apply(n,Xr(i))}return mr(n)}var Ii=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function gi(t){var n=""+t,r=Ii.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Ri(u))if(Si(u)||e===r-1)i.push(Ei);else{var o=t.charCodeAt(e+1);Si(o)?(i.push(u,o),e++):i.push(Ei)}else i.push(u)}return t.slice(0,n)+mr(i)}(n,r.index):n}var Ei=65533,Ri=function(t){return 55296==(63488&t)},Si=function(t){return!!(1024&t)};function Oi(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function pi(t){t.Sm.length=0}function Ti(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Sm,di(n))}function ki(t){if(t.hc){var n=yi(t.Sm);""===n&&(n=null),t.hc.hc.Tm=n}}var mi=function(){function t(t){if(void 0===t&&(t=void 0),this.hc=null,null==t)this.Sm=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof mi&&!!lr(t.Sm)&&(!_r||t[i]===bi)}(t))this.Sm=t.Sm.slice();else if(function(t){return null!=t&&(!!lr(t)||!!_r&&"function"==typeof t[i])}(t)){this.Sm=[];for(var n=0,r=dr(t);n<r.length;n++){var e=dr(r[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Sm.push([gi(e[0]),gi(e[1])])}}else for(var u in this.Sm=[],t)E.prototype.hasOwnProperty.call(t,u)&&this.Sm.push([gi(u),gi(t[u])]);else(t=gi(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Sm=di(t)}var n=t.prototype;return n.append=function(t,n){t=gi(t),n=gi(n),this.Sm.push([t,n]),ki(this)},n.delete=function(t){t=gi(t);for(var n=this.Sm,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}ki(this)},n.get=function(t){t=gi(t);for(var n=this.Sm,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=gi(t);for(var n=this.Sm,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=gi(t);for(var n=this.Sm,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=gi(t),n=gi(n);for(var r=this.Sm,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]),ki(this)},n.sort=function(){ir(this.Sm,Oi),ki(this)},n.toString=function(){return yi(this.Sm)},n.entries=function(){return new Di(this.Sm,Ni)},n.keys=function(){return new Di(this.Sm,Ai)},n.values=function(){return new Di(this.Sm,Ci)},n.forEach=function(t){var n=this;this.Sm.forEach(function(r){return t(r[1],r[0],n)})},t}(),bi=mi.prototype.entries;_r&&(mi.prototype[i]=bi);var Ni=function(t){return[t[0],t[1]]},Ai=function(t){return t[0]},Ci=function(t){return t[1]},Di=function(){function t(t,n){this.Em=0,this.Sm=t,this.xm=n}return t.prototype.next=function(){return this.Em<this.Sm.length?{done:!1,value:this.xm(this.Sm[this.Em++])}:{done:!0,value:void 0}},t}(),Pi="null";var Fi=E.create(null);Fi.ftp=21,Fi.file=0,Fi.gopher=70,Fi.http=80,Fi.https=443,Fi.ws=80,Fi.wss=443;var Li=/^(?:\.|%2e)$/i,Mi=/^(?:\.|%2e){2}$/i;function Bi(t){return Li.test(t)}function Vi(t){return Mi.test(t)}function Ui(t){return void 0!==Fi[t]}function Hi(t){return Ui(t.Pm)}function Wi(t){return""!==t.Cm||""!==t.Im}function xi(t){var n=t.length;if(!(n>=2))return!1;if(!Ki(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 Gi(t){return 2===t.length&&ur.test(t[0])&&(":"===t[1]||"|"===t[1])}function Ki(t){return 2===t.length&&Gi(mr(t))}function ji(t){return Gi(t)&&":"===t[1]}function Yi(t){var n=t.Rm;0!==n.length&&("file"===t.Pm&&1===n.length&&ji(n[0])||n.pop())}function zi(t){return null===t.Dm||si===t.Dm||t.Nm||"file"===t.Pm}var qi=-1,Xi=/\t|\n|\r/g,$i=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Zi(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Ji,t=t.replace($i,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Lr(t=t.replace(Xi,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:qi;switch(e){case 0:if(!Ir(v)){if(null===i){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(Sr(v)),e=1;break;case 1:if(Er(v)||43===v||45===v||46===v)u.push(Sr(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new g("Invalid scheme")}var l=xr(u);if(null!==i){if(Ui(r.Pm)&&!Ui(l))return;if(!Ui(r.Pm)&&Ui(l))return;if((Wi(r)||null!==r.Bm)&&"file"===l)return;if("file"===r.Pm&&(r.Dm===si||null===r.Dm))return}if(r.Pm=l,null!==i)return void(Hi(r)&&r.Bm===Fi[r.Pm]&&(r.Bm=null));u.length=0,"file"===r.Pm?e=13:Hi(r)&&n&&n.Pm===r.Pm?e=3:Hi(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.Nm=!0,r.Rm.push(""),e=18)}break;case 2:if(!n||n.Nm&&35!==v)throw new g("Invalid scheme");n.Nm&&35===v?(r.Pm=n.Pm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",r.Nm=!0,e=20):"file"!==n.Pm?(e=5,h-=1):(e=13,h-=1);break;case 3:47===v&&47===c[h+1]?e=8:(e=5,h-=1);break;case 4:47===v?e=9:(e=17,h-=1);break;case 5:r.Pm=n.Pm,qi===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm=n.Tm):47===v?e=6:63===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm="",e=19):35===v?(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",e=20):92===v&&Hi(r)?e=6:(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,r.Rm=n.Rm.slice(),r.Rm.pop(),e=17,h-=1);break;case 6:!Hi(r)||47!==v&&92!==v?47===v?e=9:(r.Cm=n.Cm,r.Im=n.Im,r.Dm=n.Dm,r.Bm=n.Bm,e=17,h-=1):e=8;break;case 7:if(47!==v||47!==c[h+1]){e=8;continue}e=8,h+=1;break;case 8:47!==v&&92!==v&&(e=9,h-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var _=0;_<u.length;_++){var d=u[_];if(58!==d||s){var y=xr(ri(d,Jr));s?r.Im+=y:r.Cm+=y}else s=!0}u.length=0}else if(qi===v||47===v||63===v||35===v||Hi(r)&&92===v){if(o&&0===u.length)throw new g("Invalid host");h-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.Pm)h-=1,e=15;else if(58!==v||f)if(qi===v||47===v||63===v||35===v||Hi(r)&&92===v){if(h-=1,Hi(r)&&0===u.length)throw new g("Invalid host");if(null!==i&&0===u.length&&(Wi(r)||null!==r.Bm))return;var w=hi(xr(u),Hi(r));if(r.Dm=w,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new g("Invalid host");var I=hi(xr(u),Hi(r));if(r.Dm=I,u.length=0,e=12,11===i)return}break;case 12:if(gr(v))u.push(v);else{if(!(qi===v||47===v||63===v||35===v||Hi(r)&&92===v||null!==i))throw new g("Invalid port");if(0!==u.length){var E=S(xr(u),10);if(E>65535)throw new g("Invalid port");r.Bm=E===Fi[r.Pm]?null:E,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.Pm="file",47===v||92===v?e=14:n&&"file"===n.Pm?qi===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm=n.Tm):63===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm="",e=19):35===v?(r.Dm=n.Dm,r.Rm=n.Rm.slice(),r.Tm=n.Tm,r.Mm="",e=20):(xi(c.slice(h))||(r.Dm=n.Dm,r.Rm=n.Rm.slice(),Yi(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.Pm&&!xi(c.slice(h))&&(ji(n.Rm[0])?r.Rm.push(n.Rm[0]):r.Dm=n.Dm),e=17,h-=1);break;case 15:if(qi===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Ki(u))e=17;else if(0===u.length){if(r.Dm=si,null!==i)return;e=16}else{var R=hi(xr(u),Hi(r));if(0===R.pm&&"localhost"===R.Am&&(R=si),r.Dm=R,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:Hi(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.Tm="",e=19):null===i&&35===v?(r.Mm="",e=20):qi!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(qi===v||47===v||Hi(r)&&92===v||null===i&&(63===v||35===v)){var O=xr(u);if(Vi(O)?(Yi(r),47===v||Hi(r)&&92===v||r.Rm.push("")):!Bi(O)||47===v||Hi(r)&&92===v?Bi(O)||("file"===r.Pm&&0===r.Rm.length&&Ki(u)&&(si!==r.Dm&&null!==r.Dm&&(r.Dm=si),u[1]=58,O=xr(u)),r.Rm.push(O)):r.Rm.push(""),u.length=0,"file"===r.Pm&&(qi===v||63===v||35===v))for(;r.Rm.length>1&&""===r.Rm[0];)r.Rm.shift();63===v?(r.Tm="",e=19):35===v&&(r.Mm="",e=20)}else u.push.apply(u,ri(v,Qr));break;case 18:63===v?(r.Tm="",e=19):35===v?(r.Mm="",e=20):qi!==v&&(r.Rm[0]+=xr(ri(v,$r)));break;case 19:null===i&&35===v?(r.Mm="",e=20):qi!==v&&(r.Tm+=xr(ri(v,Hi(r)?ni:ti)));break;case 20:qi===v||0===v||(r.Mm+=xr(ri(v,Zr)))}h++}return r}function Qi(t,n,r,i){try{Zi(t,n,r,i)}catch(t){}}var Ji=function(){this.Pm="",this.Cm="",this.Im="",this.Dm=null,this.Bm=null,this.Rm=[],this.Tm=null,this.Mm=null,this.Nm=!1};function te(t){switch(t.Pm){case"blob":var n;try{n=Zi(t.Rm[0],null)}catch(t){return Pi}return te(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+vi(n)+(null===r?"":":"+r)}(t.Pm,t.Dm,t.Bm);default:return Pi}}var ne=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof ne&&"object"==typeof t.hc}(n))i=n.hc;else try{i=Zi(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{r=Zi(String(t),i)}catch(t){throw new g("Invalid URL: "+t.message)}var e=r.Tm;this.hc=r,this.Tm=function(t){var n=new mi;return null!==t&&Ti(n,t),n}(e),this.Tm.hc=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&rr(t.prototype,n),r&&rr(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Pm+":";if(null!==t.Dm?(r+="//",Wi(t)&&(r+=t.Cm,""!==t.Im&&(r+=":"+t.Im),r+="@"),r+=vi(t.Dm),null!==t.Bm&&(r+=":"+t.Bm)):null===t.Dm&&"file"===t.Pm&&(r+="//"),t.Nm)r+=t.Rm[0];else for(var i=0,e=t.Rm;i<e.length;i++)r+="/"+e[i];return null!==t.Tm&&(r+="?"+t.Tm),n||null===t.Mm||(r+="#"+t.Mm),r}(this.hc)},set:function(t){var n;try{n=Zi(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.hc=n,pi(this.Tm);var r=this.hc.Tm;null!==r&&Ti(this.Tm,r)}},{key:"origin",get:function(){return te(this.hc)}},{key:"protocol",get:function(){return this.hc.Pm+":"},set:function(t){Qi(t+":",null,this.hc,0)}},{key:"username",get:function(){return this.hc.Cm},set:function(t){zi(this.hc)||(this.hc.Cm=ii(t,Jr))}},{key:"password",get:function(){return this.hc.Im},set:function(t){zi(this.hc)||(this.hc.Im=ii(t,Jr))}},{key:"host",get:function(){var t=this.hc,n=t.Dm;if(null===n)return"";var r=t.Bm,i=vi(n);return null!==r&&(i+=":"+r),i},set:function(t){this.hc.Nm||Qi(t,null,this.hc,10)}},{key:"hostname",get:function(){var t=this.hc.Dm;return null===t?"":vi(t)},set:function(t){this.hc.Nm||Qi(t,null,this.hc,11)}},{key:"port",get:function(){var t=this.hc.Bm;return null===t?"":""+t},set:function(t){zi(this.hc)||(""===t?this.hc.Bm=null:Qi(t,null,this.hc,12))}},{key:"pathname",get:function(){var t=this.hc.Rm;return this.hc.Nm?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.hc.Nm||(this.hc.Rm.length=0,Qi(t,null,this.hc,16))}},{key:"search",get:function(){var t=this.hc.Tm;return null===t||""===t?"":"?"+t},set:function(t){t=gi(t);var n=this.hc;if(""===t)return n.Tm=null,void pi(this.Tm);"?"===t[0]&&(t=t.slice(1)),n.Tm="",Qi(t,null,n,19),Ti(this.Tm,t)}},{key:"searchParams",get:function(){return this.Tm}},{key:"hash",get:function(){var t=this.hc.Mm;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.hc.Mm="",Qi(t,null,this.hc,20)):this.hc.Mm=null}}]),t}();function re(t){return t.document&&t.document.baseURI||t.location.href||""}var ie=function(){function t(){this.sp=void 0,this.Zm=new ee,this.ew=Fn,this.iw=function(){if(self.URL)try{var t=new self.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href}catch(t){}return!1}(),self.performance&&self.performance.now?this.sp=function(){return self.performance.now()}:this.sp=Tn}var n=t.prototype;return n.Lm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Qn.apply(void 0,[].concat(n))},n.Om=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Zn.apply(void 0,[].concat(n))},n.Fm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Jn.apply(void 0,[].concat(n))},n.Um=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];tr.apply(void 0,[].concat(n))},n.Vm=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];nr.apply(void 0,[].concat([t],r))},n.np=function(t,n){return _(t,n)},n.Hm=function(t,n){return y(t,n)},n.ep=function(t){d(t)},n.Wm=function(t){w(t)},n.qm=function(){return this.zm.qm()},n.Gm=function(){return this.zm.Gm()},n.Xm=function(){return this.zm.Xm()},n.jm=function(){return this.zm.jm()},n.Km=function(){return this.zm.Km()},n.Qm=function(t,n){return this.zm.Qm(t,n)},n.Ym=function(t){return this.zm.Ym(t)},n.Dh=function(t,n){var r;return void 0===n&&(n=re(a)),r="object"!==(void 0===n?"undefined":Pt(n))||dt(n,ne)?n:n.href,new ne(t,r)},n.$m=function(t,n){if(void 0===n&&(n=re(a)),this.iw){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Dh(t,n).href},_t(t,[{key:"Jm",get:function(){return this.Zm}},{key:"Zs",get:function(){return this.ew}},{key:"nw",get:function(){return{ow:l&&l.userAgent.match(/Android /i)?"Android":"other",hw:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"aw",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"uw",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),ee=function(){function t(){}return _t(t,[{key:"cw",get:function(){return l.oscpu}},{key:"Zs",get:function(){return l.platform}},{key:"dw",get:function(){return l.vendor}},{key:"lw",get:function(){return l.vendorSub}}]),t}();var ue=function(){function t(){}var n=t.prototype;return n.Km=function(){return rt.resolve(!1)},n.Gm=function(){return rt.resolve(!1)},n.jm=function(){return rt.resolve(!1)},n.Xm=function(){return rt.resolve(!1)},n.Ym=function(t){return rt.resolve(!1)},n.Qm=function(t,n){return rt.resolve(!1)},n.qm=function(){return rt.resolve(!1)},t}(),oe=function(){function t(){}var n=t.prototype;return n.fk=function(){},n.Db=function(t){},n.Cb=function(t){},n.Ib=function(t,n){},t}(),fe=function(t){return t._k="arraybuffer",t.gk="json",t.pk="stream",t.wk="text",t}({});var se=function(){function t(r){var e=this;if(this.pw=void 0,this.pw={},r)if(dt(r,t))r.asList().forEach(function(t){var n=t[0],r=t[1];e.append(n,r)});else if(function(t){return Lt(t)&&"function"==typeof t.forEach}(r))r.forEach(function(t,n){Array.isArray(t)&&2===t.length?e.append(t[0],t[1]):e.append(n,t)});else if(Array.isArray(r)||function(t){return void 0!==n&&void 0!==i&&Lt(t)&&"function"==typeof t[i]}(r))for(var u,o=wt(r);!(u=o()).done;){var f=u.value,s=f[0],c=f[1];this.append(s,c)}else E.getOwnPropertyNames(r).forEach(function(t){e.append(t,r[t])});else;}var r=t.prototype;return r.append=function(t,n){var r=t,i=n;r=ce(r),i=ae(i);var e=r.toLowerCase();if(this.pw.hasOwnProperty(e)){var u=this.pw[e],o=u[1];u[1]=o?o+", "+i:i}else this.pw[e]=[r,i]},r.delete=function(t){var n=ce(t).toLowerCase();delete this.pw[n]},r.get=function(t){var n=ce(t).toLowerCase();return this.pw.hasOwnProperty(n)?this.pw[n][1]:null},r.has=function(t){var n=ce(t).toLowerCase();return this.pw.hasOwnProperty(n)},r.set=function(t,n){var r=t,i=(r=ce(r)).toLowerCase();this.pw[i]=[r,ae(n)]},r.forEach=function(t,n){for(var r in this.pw)this.pw.hasOwnProperty(r)&&t.call(n,this.pw[r][1],r,this)},r.asList=function(){var t=[];for(var n in this.pw)if(this.pw.hasOwnProperty(n)){var r=this.pw[n],i=r[0],e=r[1];t.push([i,e])}return t},r.yk=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},r.bk=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},r.Ak=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function ce(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new g("Invalid character in header field name");return n}function ae(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var he=function(t,n){var r,i,e;this.Ik=void 0,this.jk=void 0,this.bE=void 0,this.Gk=void 0,this.AE=void 0,this.SE=void 0,this.fp=void 0,this.Ew=void 0,this.TE=void 0,this.kE=void 0,this.Ku=void 0,this.EE=void 0,this.xE=void 0,this.PE=void 0,this.CE=void 0,this.RE=void 0;var u,o,f,s,c,a,h,v,l,_,d,y,w,I,g,E=t.Ku;n?(u=n.Ik,o=n.jk,f=n.bE,s=n.Gk,c=n.AE,a=n.SE,h=n.fp,v=n.Ew,l=n.TE,_=n.kE,d=n.EE,y=n.xE,w=n.PE,I=n.CE,g=n.RE):(u=null,o={},f="GET",s=fe.wk,c=0,a=0,v="",l="",_="",d=!1,w=void 0,I="allowed",g=void 0),this.Ku=E,this.Ik=t.Ik||u,this.jk=new se(t.jk||o),this.bE=t.bE||f,this.Gk=t.Gk||s,this.AE=void 0!==t.AE?Number(t.AE)||0:c,this.SE=void 0!==t.SE?Number(t.SE)||0:a,this.fp=t.fp||h||(new $t).fp,this.Ew=t.Ew||v,this.TE=t.TE||l,this.kE=t.kE||_,this.EE=void 0!==t.EE?Boolean(t.EE):d,this.xE=t.xE||y,this.PE=null!==(r=t.PE)&&void 0!==r?r:w,this.CE=null!==(i=t.CE)&&void 0!==i?i:I,this.RE=null!==(e=t.RE)&&void 0!==e?e:g},ve=function(t){return t.WE="HttpOpenError",t.qE="HttpResponseError",t.zE="HttpTimeoutError",t}({}),le=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).GE=void 0,e.GE=n,e}return vt(n,t),_t(n,[{key:"Xk",get:function(){return this.GE}}]),n}(zt),_e=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.Ku+".",r)||this}return vt(n,t),_t(n,[{key:"name",get:function(){return ve.WE}}]),n}(le),de=function(){function t(){}var n=t.prototype;return n.Xk=function(t){return rt.reject(new _e(new he(t)))},n.DE=function(t){},n.kn=function(){},t}(),ye=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return vt(n,t),n}(zt),we=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).sP=new ue,n.wq=new de,n.i=new oe,n}return vt(n,t),n.prototype.Rx=function(t){throw new ye},_t(n,[{key:"zm",get:function(){return this.sP}},{key:"nx",get:function(){return!1}},{key:"nP",get:function(){return!1}},{key:"aP",get:function(){return!1}},{key:"uP",get:function(){return!1}},{key:"oP",get:function(){return!1}},{key:"dP",get:function(){return this.i}},{key:"lP",get:function(){return{fP:Bt}}},{key:"vP",get:function(){return"default"}},{key:"_P",get:function(){return"unknown"}},{key:"gP",get:function(){return!0}},{key:"pP",get:function(){return this.wq}},{key:"wP",get:function(){return!1}}]),n}(ie);!function(t){0}(new we);var Ie=function(t){return t[t.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",t[t.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4",t}({}),ge=function(t){return t[t.CONFIGURATION_ERROR=1e3]="CONFIGURATION_ERROR",t[t.LICENSE_ERROR=2e3]="LICENSE_ERROR",t[t.LICENSE_INVALID_DOMAIN=2001]="LICENSE_INVALID_DOMAIN",t[t.LICENSE_INVALID_SOURCE=2002]="LICENSE_INVALID_SOURCE",t[t.LICENSE_EXPIRED=2003]="LICENSE_EXPIRED",t[t.LICENSE_INVALID_FEATURE=2004]="LICENSE_INVALID_FEATURE",t[t.SOURCE_INVALID=3e3]="SOURCE_INVALID",t[t.SOURCE_NOT_SUPPORTED=3001]="SOURCE_NOT_SUPPORTED",t[t.MANIFEST_LOAD_ERROR=4e3]="MANIFEST_LOAD_ERROR",t[t.MANIFEST_CORS_ERROR=4001]="MANIFEST_CORS_ERROR",t[t.MANIFEST_PARSE_ERROR=4002]="MANIFEST_PARSE_ERROR",t[t.MEDIA_NOT_SUPPORTED=5e3]="MEDIA_NOT_SUPPORTED",t[t.MEDIA_LOAD_ERROR=5001]="MEDIA_LOAD_ERROR",t[t.MEDIA_DECODE_ERROR=5002]="MEDIA_DECODE_ERROR",t[t.MEDIA_AVPLAYER_ERROR=5003]="MEDIA_AVPLAYER_ERROR",t[t.MEDIA_ABORTED=5004]="MEDIA_ABORTED",t[t.MEDIA_INTERNAL_ERROR=5005]="MEDIA_INTERNAL_ERROR",t[t.NETWORK_ERROR=6e3]="NETWORK_ERROR",t[t.NETWORK_TIMEOUT=6001]="NETWORK_TIMEOUT",t[t.CONTENT_PROTECTION_ERROR=7e3]="CONTENT_PROTECTION_ERROR",t[t.CONTENT_PROTECTION_NOT_SUPPORTED=7001]="CONTENT_PROTECTION_NOT_SUPPORTED",t[t.CONTENT_PROTECTION_CONFIGURATION_MISSING=7002]="CONTENT_PROTECTION_CONFIGURATION_MISSING",t[t.CONTENT_PROTECTION_CONFIGURATION_INVALID=7003]="CONTENT_PROTECTION_CONFIGURATION_INVALID",t[t.CONTENT_PROTECTION_INITIALIZATION_INVALID=7004]="CONTENT_PROTECTION_INITIALIZATION_INVALID",t[t.CONTENT_PROTECTION_CERTIFICATE_ERROR=7005]="CONTENT_PROTECTION_CERTIFICATE_ERROR",t[t.CONTENT_PROTECTION_CERTIFICATE_INVALID=7006]="CONTENT_PROTECTION_CERTIFICATE_INVALID",t[t.CONTENT_PROTECTION_LICENSE_ERROR=7007]="CONTENT_PROTECTION_LICENSE_ERROR",t[t.CONTENT_PROTECTION_LICENSE_INVALID=7008]="CONTENT_PROTECTION_LICENSE_INVALID",t[t.CONTENT_PROTECTION_KEY_EXPIRED=7009]="CONTENT_PROTECTION_KEY_EXPIRED",t[t.CONTENT_PROTECTION_KEY_MISSING=7010]="CONTENT_PROTECTION_KEY_MISSING",t[t.CONTENT_PROTECTION_OUTPUT_RESTRICTED=7011]="CONTENT_PROTECTION_OUTPUT_RESTRICTED",t[t.CONTENT_PROTECTION_INTERNAL_ERROR=7012]="CONTENT_PROTECTION_INTERNAL_ERROR",t[t.CONTENT_PROTECTION_DEVICE_REVOKED=7013]="CONTENT_PROTECTION_DEVICE_REVOKED",t[t.CONTENT_PROTECTION_PROVISIONING_ERROR=7014]="CONTENT_PROTECTION_PROVISIONING_ERROR",t[t.SUBTITLE_LOAD_ERROR=8e3]="SUBTITLE_LOAD_ERROR",t[t.SUBTITLE_CORS_ERROR=8001]="SUBTITLE_CORS_ERROR",t[t.SUBTITLE_PARSE_ERROR=8002]="SUBTITLE_PARSE_ERROR",t[t.VR_PLATFORM_UNSUPPORTED=9e3]="VR_PLATFORM_UNSUPPORTED",t[t.VR_PRESENTATION_ERROR=9001]="VR_PRESENTATION_ERROR",t[t.AD_ERROR=1e4]="AD_ERROR",t[t.AD_BLOCKER_DETECTED=10001]="AD_BLOCKER_DETECTED",t[t.FULLSCREEN_ERROR=11e3]="FULLSCREEN_ERROR",t[t.PICTURE_IN_PICTURE_ERROR=11001]="PICTURE_IN_PICTURE_ERROR",t[t.CACHE_SOURCE_ERROR=12e3]="CACHE_SOURCE_ERROR",t[t.CACHE_CONTENT_PROTECTION_ERROR=12001]="CACHE_CONTENT_PROTECTION_ERROR",t[t.THEO_LIVE_UNKNOWN_ERROR=13e3]="THEO_LIVE_UNKNOWN_ERROR",t[t.THEO_LIVE_CHANNEL_NOT_FOUND=13001]="THEO_LIVE_CHANNEL_NOT_FOUND",t[t.THEO_LIVE_END_OF_DEMO=13002]="THEO_LIVE_END_OF_DEMO",t[t.THEO_LIVE_ANALYTICS_ERROR=13003]="THEO_LIVE_ANALYTICS_ERROR",t[t.THEO_LIVE_DISCOVERY_ERROR=13004]="THEO_LIVE_DISCOVERY_ERROR",t}({}),Ee=function(t){return t[t.CONFIGURATION=1]="CONFIGURATION",t[t.LICENSE=2]="LICENSE",t[t.SOURCE=3]="SOURCE",t[t.MANIFEST=4]="MANIFEST",t[t.MEDIA=5]="MEDIA",t[t.NETWORK=6]="NETWORK",t[t.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",t[t.SUBTITLE=8]="SUBTITLE",t[t.VR=9]="VR",t[t.AD=10]="AD",t[t.FULLSCREEN=11]="FULLSCREEN",t[t.CACHE=12]="CACHE",t[t.THEOLIVE=13]="THEOLIVE",t}({});!function(t){t.fromCode=function(n){var r=R.floor(n/1e3);if(r in t)return r;throw new g("Invalid error code: "+n)}}(Ee||(Ee={}));var Re=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).code=void 0,e.code=n,e}return vt(n,t),_t(n,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return Ee.fromCode(this.code)}}]),n}(zt);var Se,Oe=function(){function t(t,n){this.encoding=t,this.fatal=(null==n?void 0:n.fatal)||!1,this.ignoreBOM=(null==n?void 0:n.ignoreBOM)||!1}return t.prototype.decode=function(t,n){return t?(r=dt(t,ArrayBuffer)?new T(t):new T(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},t}();var pe=null;function Te(){return(null===pe||pe.buffer.detached||pe.buffer!==Se.memory.buffer)&&(pe=new T(Se.memory.buffer)),pe}var ke=new Oe("utf-8",{ignoreBOM:!0,fatal:!0});ke.decode();var me=0;function be(t,n){return function(t,n){return(me+=n)>=2146435072&&((ke=new Oe("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),me=n),ke.decode(Te().subarray(t,t+n))}(t>>>=0,n)}var Ne=new Array(128).fill(void 0);Ne.push(void 0,null,!0,!1);var Ae=Ne.length;function Ce(t){Ae===Ne.length&&Ne.push(Ne.length+1);var n=Ae;return Ae=Ne[n],Ne[n]=t,n}function De(t){return Ne[t]}function Pe(t){return null==t}function Fe(t){var n=De(t);return function(t){t<132||(Ne[t]=Ae,Ae=t)}(t),n}function Le(t,n){return t>>>=0,Te().subarray(t/1,t/1+n)}var Me=0;function Be(t,n){var r=n(1*t.length,1)>>>0;return Te().set(t,r/1),Me=t.length,r}var Ve=null;function Ue(){return(null===Ve||Ve.buffer.detached||Ve.buffer!==Se.memory.buffer)&&(Ve=new DataView(Se.memory.buffer)),Ve}function He(t){try{var n=Se.__wbindgen_add_to_stack_pointer(-16);Se.raw_audio_to_fmp4(n,Ce(t));var r=Ue().getInt32(n+0,!0),i=Ue().getInt32(n+4,!0);if(Ue().getInt32(n+8,!0))throw Fe(i);return Fe(r)}finally{Se.__wbindgen_add_to_stack_pointer(16)}}function We(t){try{var n=Se.__wbindgen_add_to_stack_pointer(-16);Se.mpegts_to_fmp4(n,Ce(t));var r=Ue().getInt32(n+0,!0),i=Ue().getInt32(n+4,!0);if(Ue().getInt32(n+8,!0))throw Fe(i);return Fe(r)}finally{Se.__wbindgen_add_to_stack_pointer(16)}}var xe=new Set(["basic","cors","default"]);function Ge(t,n){return Ht(function(){var r,i,e;return Wt(this,function(u){switch(u.label){case 0:if("function"!=typeof Response||!dt(t,Response))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(t,n)];case 2:return[2,u.sent()];case 3:if(r=u.sent(),!(t.ok&&xe.has(t.type))||"application/wasm"===t.headers.get("Content-Type"))throw r;return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r),[3,4];case 4:return[4,t.arrayBuffer()];case 5:return i=u.sent(),[4,WebAssembly.instantiate(i,n)];case 6:return[2,u.sent()];case 7:return[4,WebAssembly.instantiate(t,n)];case 8:return dt(e=u.sent(),WebAssembly.Instance)?[2,{instance:e,module:t}]:[2,e];case 9:return[2]}})})()}function Ke(t,n){return Se=t.exports,je.__wbindgen_wasm_module=n,Ve=null,pe=null,Se.__wbindgen_start(),Se}function je(t){return Ht(function(){var n,r,i,e;return Wt(this,function(u){switch(u.label){case 0:return void 0!==Se?[2,Se]:(void 0!==t&&(E.getPrototypeOf(t)===E.prototype?t=t.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL("theomux_bg.wasm",void 0)),n=function(){var t={wbg:{}};return t.wbg.__wbg_Error_e83987f665cf5504=function(t,n){return Ce(I(be(t,n)))},t.wbg.__wbg___wbindgen_throw_b855445ff6a94295=function(t,n){throw new I(be(t,n))},t.wbg.__wbg_audio_pid_257606c2704b07b6=function(t){var n=De(t).audio_pid;return Pe(n)?16777215:n},t.wbg.__wbg_create_output_5bf78dfc0e4c9433=function(t,n){var r=function(t,n){return{data:t,metadata:n}}(Fe(t),Fe(n));return Ce(r)},t.wbg.__wbg_create_output_data_4ff83158a0ff903d=function(t,n,r,i,e,u,o,f){var s,c,a,h;0!==t&&(s=Le(t,n).slice(),Se.__wbindgen_export(t,1*n,1)),0!==r&&(c=Le(r,i).slice(),Se.__wbindgen_export(r,1*i,1)),0!==e&&(a=Le(e,u).slice(),Se.__wbindgen_export(e,1*u,1)),0!==o&&(h=Le(o,f).slice(),Se.__wbindgen_export(o,1*f,1));var v=function(t,n,r,i){return{video_init:t,audio_init:n,video_media:r,audio_media:i}}(s,c,a,h);return Ce(v)},t.wbg.__wbg_create_output_metadata_4382110012bed0d2=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d){var y,w,I,g;0!==r&&(y=be(r,i).slice(),Se.__wbindgen_export(r,1*i,1)),0!==e&&(w=be(e,u).slice(),Se.__wbindgen_export(e,1*u,1)),0!==o&&(I=Le(o,f).slice(),Se.__wbindgen_export(o,1*f,1)),0!==s&&(g=Le(s,c).slice(),Se.__wbindgen_export(s,1*c,1));var E=function(t,n,r,i,e,u,o,f,s,c,a){return{video_pid:t,audio_pid:n,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:o,first_presentation_timestamp:f,first_video_presentation_timestamp:s,program_map_table_pid:c,video_frame_rate:a}}(16777215===t?void 0:t,16777215===n?void 0:n,y,w,I,g,Fe(a),Fe(h),Fe(v),16777215===l?void 0:l,0===_?void 0:d);return Ce(E)},t.wbg.__wbg_create_timestamp_with_base_da711576059607ee=function(t,n,r){var i=function(t,n,r){return{low:t,high:n,base:r}}(t>>>0,n>>>0,r>>>0);return Ce(i)},t.wbg.__wbg_data_2dd6d773217aa8c2=function(t,n){var r=Be(De(n).data,Se.__wbindgen_export2),i=Me;Ue().setInt32(t+4,i,!0),Ue().setInt32(t+0,r,!0)},t.wbg.__wbg_metadata_e9989c5e34490bf6=function(t){var n=De(t).metadata;return Pe(n)?0:Ce(n)},t.wbg.__wbg_pps_nal_a55cc7eba80b7904=function(t,n){var r=De(n).pps_nal,i=Pe(r)?0:Be(r,Se.__wbindgen_export2),e=Me;Ue().setInt32(t+4,e,!0),Ue().setInt32(t+0,i,!0)},t.wbg.__wbg_program_map_table_pid_7dc9608fc895fe42=function(t){var n=De(t).program_map_table_pid;return Pe(n)?16777215:n},t.wbg.__wbg_sps_nal_ae3710ba374fd47a=function(t,n){var r=De(n).sps_nal,i=Pe(r)?0:Be(r,Se.__wbindgen_export2),e=Me;Ue().setInt32(t+4,e,!0),Ue().setInt32(t+0,i,!0)},t.wbg.__wbg_video_pid_72a5757ab4a8debd=function(t){var n=De(t).video_pid;return Pe(n)?16777215:n},t.wbg.__wbindgen_object_drop_ref=function(t){Fe(t)},t}(),("string"==typeof t||"function"==typeof Request&&dt(t,Request)||"function"==typeof URL&&dt(t,URL))&&(t=fetch(t)),[4,t]);case 1:return[4,Ge.apply(void 0,[u.sent(),n])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ke(i,e)]}})})()}function Ye(t){return Ht(function(){var n,r;return Wt(this,function(i){switch(i.label){case 0:return dt(t,WebAssembly.Module)?n=t:(r="string"==typeof t?new URL(t):t,n="http:"===r.protocol||"https:"===r.protocol?fetch(r.href):function(t){return new rt(function(n,r){var i=new k;i.onload=function(){n(i.response||new ArrayBuffer(0))},i.onerror=function(){r(new g('Failed to fetch "'+t+'", status '+i.status))},i.open("GET",t,!0),i.responseType="arraybuffer",i.send()})}(r.href)),[4,je({module_or_path:n})];case 1:return i.sent(),[2,{mpegts_to_fmp4:We,raw_audio_to_fmp4:He}]}})})()}var ze=new URL("./THEOplayer.transmux.wasm",v.href);!function(t){var n,r=rt.resolve(t()).then(function(t){n=t,r=void 0,self.postMessage({s3t:"11.12.0"})},function(t){var n=t,r={success:!1,error:n.message,errorCode:dt(n,Re)?n.code:ge.MEDIA_DECODE_ERROR};self.postMessage(r)});self.addEventListener("message",function(t){var i=t.data.id;(function(t){return Ht(function(){var i,e,u,o,f,s;return Wt(this,function(c){switch(c.label){case 0:return void 0===r?[3,2]:[4,r];case 1:c.sent(),c.label=2;case 2:if(u=t.id,t.type===Ie.MPEGTS_TO_FMP4)o=n.mpegts_to_fmp4(t.input);else{if(t.type!==Ie.RAW_AUDIO_TO_FMP4)throw new I("Unknown request type: "+t.type);o=n.raw_audio_to_fmp4(t.input)}return f={success:!0,requestId:u,output:o},s=[null==(i=t.input.metadata)?void 0:i.sps_nal,null==(e=t.input.metadata)?void 0:e.pps_nal,t.input.data,o.data.video_init,o.data.audio_init,o.data.video_media,o.data.audio_media].filter(Ft).map(function(t){return t.buffer}),self.postMessage(f,s),[2]}})})()})(t.data).catch(function(t){var n=t,r={success:!1,requestId:i,error:n.message,errorCode:dt(n,Re)?n.code:ge.MEDIA_DECODE_ERROR};self.postMessage(r)})})}(function(){return Ye(ze)})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@theoplayer/theoads",
3
3
  "main": "THEOplayer.js",
4
4
  "types": "THEOplayer.d.ts",
5
- "version": "11.10.2",
5
+ "version": "11.12.0",
6
6
  "description": "THEOplayer is the universal video player solution, enabling you to quickly deliver cross-platform content playback.",
7
7
  "author": "THEO Technologies",
8
8
  "homepage": "https://www.theoplayer.com/",