/*!
 THEOplayer

 Usage of this software is limited by the THEOplayer License.

 It is prohibited to reverse engineer, decompile, translate,
 disassemble, decipher, decrypt, or otherwise attempt to
 discover the source code of this software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

 For more information, visit https://www.theoplayer.com or contact
 contact @ theoplayer . com




 THEOplayer is based on patented technology developed by
 THEO Technologies (https://www.theoplayer.com).

 Version: 10.6.0
 Created: 2025-12-02T15:44:47.502Z
 */
!function(t){"use strict";var n,i,r,e,u,o,f,s,h,c=t.window,a=t.document,l=(t.location,t.navigator),v=t.setTimeout,d=t.clearTimeout,y=t.setInterval,_=t.clearInterval,w=t.Error,g=t.TypeError,k=(t.SyntaxError,t.Object),p=t.Math,S=t.parseInt,I=t.parseFloat,b=t.isNaN,m=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function A(t,i){return null!=i&&void 0!==n&&i[n.hasInstance]?!!i[n.hasInstance](t):t instanceof i}function E(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,i=null!=(o=Symbol.for)?o:Symbol,r=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:i("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:i("Symbol.asyncDispose")):(h=0,n=function(t){return"ui"+t+"_"+ ++h},r=(i=function(t){return"ui"+t})("Symbol.iterator"),e=i("Symbol.dispose"),u=i("Symbol.asyncDispose"),n.for=i,n.iterator=r,n.dispose=e,n.asyncDispose=u);var O=v;function R(t){return Boolean(t&&void 0!==t.length)}function T(){}function D(t){if(!A(this,D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Xu=0,this.nft=!1,this.rft=void 0,this.uft=[],V(t,this)}function N(t,n){for(;3===t.Xu;)t=t.rft;0!==t.Xu?(t.nft=!0,D.oft(function(){var i=1===t.Xu?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.rft)}catch(t){return void P(n.promise,t)}F(n.promise,r)}else(1===t.Xu?F:P)(n.promise,t.rft)})):t.uft.push(n)}function F(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":E(n))||"function"==typeof n)){var i=n.then;if(A(n,D))return t.Xu=3,t.rft=n,void B(t);if("function"==typeof i)return void V(function(t,n){return function(){t.apply(n,arguments)}}(i,n),t)}t.Xu=1,t.rft=n,B(t)}catch(n){P(t,n)}}function P(t,n){t.Xu=2,t.rft=n,B(t)}function B(t){2===t.Xu&&0===t.uft.length&&D.oft(function(){t.nft||D.hft(t.rft)});for(var n=0,i=t.uft.length;n<i;n++)N(t,t.uft[n]);t.uft=null}function M(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function V(t,n){var i=!1;try{t(function(t){i||(i=!0,F(n,t))},function(t){i||(i=!0,P(n,t))})}catch(t){if(i)return;i=!0,P(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var i=new this.constructor(T);return N(this,new M(t,n,i)),i},D.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},D.all=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":E(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},i)}r[t]=o,0===--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},D.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new g((void 0===t?"undefined":E(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"===(void 0===i?"undefined":E(i))||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0===--e&&n(r)})}r[t]={status:"fulfilled",value:i},0===--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":E(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,i){i(t)})},D.race=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)D.resolve(t[r]).then(n,i)})},D.oft="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){O(t,0)},D.hft=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var C=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),L=null!=W,x=W?Number(W[1]):0,j=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),U=null!=j,G=j?Number(j[3]):0,z=function(){function t(t){this.ew=0,this.Ou=0,this.Fv=[],this.cft=t}return t.prototype.aft=function(t){var n=this.length();this.fft(n+1);var i=this.Ou+n&this.cft-1;this.Fv[i]=t,this.ew=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.cft<n)this.aft(t);else{var i=this.Ou+n-1,r=this.cft-1;this.Fv[i&r]=t,this.ew=n}},t.prototype.shift=function(){var t=this.Ou,n=this.Fv[t];return this.Fv[t]=void 0,this.Ou=t+1&this.cft-1,this.ew--,n},t.prototype.length=function(){return this.ew},t.prototype.fft=function(t){this.cft<t&&this.vft(this.cft<<1)},t.prototype.vft=function(t){var n=this.cft;this.cft=t;var i=this.Ou+this.ew&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.Fv,0,n,i)},t}();var K="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function q(t){return new X(K,{reason:t,promise:C.reject(t).catch(function(){}),cancelable:!0})}function Z(t){var n=new $(K,{detail:{reason:t},cancelable:!0});return k.defineProperty(n,"reason",{value:t}),n}function Y(t){var n=a.createEvent("CustomEvent");return n.initCustomEvent(K,!1,!0,{reason:t}),n}var J,Q,tt,nt,it,rt,et,ut,ot=function(t){return ot=function(){try{var t=C.resolve(),n="error",i=new X(K,{reason:n,promise:t});return K===i.type&&n===i.reason}catch(t){}return!1}()?q:function(){try{var t="error",n=new $(K,{detail:{reason:t}});return K===n.type&&t===n.detail.reason}catch(t){}return!1}()?Z:Y,ot(t)};function ft(t,n){return ft=k.setPrototypeOf||function(t,n){return t.__proto__=n,t},ft(t,n)}function st(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=k.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ft(t,n)}function ht(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function ct(t,n,i){return n&&ht(t.prototype,n),i&&ht(t,i),t}function at(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function lt(t,i){var e=void 0!==n&&t[r]||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 at(t,n);var i=k.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?at(t,n):void 0}}(t))||i&&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.")}C&&!(L&&x<60||U&&G<15)?Q=C:(Q=D,et=null!==(J=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=C;if(n&&"function"==typeof n.resolve){var i=n.resolve();return function(t){return i.then(t)}}}())&&void 0!==J?J:D.oft,tt=et,nt=new z(16),it=!1,(ut={g1:function(t){nt.push(t),it||(it=!0,tt(rt))},fV:rt=function(){for(;nt.length()>0;)nt.shift()();it=!1}}).fV,D.oft=ut.g1,D.hft=function(t){try{var n=ot(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}v(function(){throw new w("Unhandled promise rejection: ".concat(t))},0)});var vt=function(t){return t.hl="web",t.al="android",t.ul="android-tv",t.cl="ios",t.ll="tvos",t.As="chromecast",t.dl="theoliveweb",t}({});var dt=l?l.userAgent:"",yt=dt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),_t=dt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),wt=dt.match(/Android ([0-9\.]+)/i),gt=dt.match(/Windows NT ([0-9\.]+)/i),kt=dt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),pt=dt.match(/Firefox\/([0-9\.]+)/i),St=dt.match(/OPR\/(\d+\.\d+)/i),It=dt.match(/Tizen ([0-9\.]+)/i),bt=dt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),mt=dt.match(/HbbTV\/([0-9.]+)/i),At=dt.match(/(AFT.*) Build/i),Et=function(){function t(){this.fl=Boolean("ontouchstart"in self||self.DocumentTouch&&A(a,self.DocumentTouch)||l&&l.msMaxTouchPoints),this._l=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(dt)||/(macintosh|mac(?=_powerpc)\s)/i.test(dt),this.Al=/Windows NT/i.test(dt),this.Tl=gt?I(gt[1]):0,this.El=/Android/i.test(dt),this.Cl=wt?I(wt[1]):0,this.Pl=/windows phone (8|8\.1)/i.test(dt),this.Bl=/iPhone/i.test(dt),this.Nl=/iPad/i.test(dt),this.Ml=this._l&&this.fl&&!this.Nl,this.Fl=/iPod/i.test(dt),this.Ql=/Mobile Safari/i.test(dt),this.zl=/EOS\d*STB/i.test(dt),this.Gl=/APP\d*STB/i.test(dt),this.Wl=(this.Bl||this.Nl||this.Ml||this.Fl)&&!this.Pl,this.Ul=bt?I(bt[2]):0,this.jl=this.Pl||this.Wl||this.El||this.Ql,this.Zl=/CriOS/i.test(dt),this.Jl=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Zl,this.od=this.Jl&&/Edg\//i.test(l.userAgent),this.ud=_t?S(_t[1],10):0,this.yf=Boolean(/CriOS/i.test(dt)),this.Af=Boolean(self.chrome||/Chrome/i.test(dt)||this.yf),this.ed=yt?S(yt[1],10):0,this.fd=/SMART-TV.*Tizen/i.test(dt),this._d=It?I(It[1]):0,this.td=this._d>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._d):void 0,this.wd=/webos|web0s/i.test(dt),this.Ad=/HbbTV/i.test(dt),this.bd=!!mt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(mt[1]),this.Sd=/AFT.* Build/i.test(dt),this.kd=At?At[1]:void 0,this.xd=/VIZIO/i.test(dt),this.Id=/Edge\/\d+/i.test(dt),this.Rd=/Trident/i.test(dt),this.Dd=this.Rd&&!self.ActiveXObject&&"ActiveXObject"in self,this.Od=/Vivaldi/i.test(dt),this.Ld=/Firefox/i.test(dt)&&!/Seamonkey/i.test(dt),this.qd=pt?I(pt[1]):0,this.Hd=/Safari/i.test(dt)&&!/Chrome/i.test(dt)&&!this.Pl&&!this.fd,this.Vd=kt?I(kt[2]):0,this.Gd=Boolean(St),this.Qd=St?I(St[1]):0,this.Kd=/CrKey/.test(dt),this.Yd=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(dt),this.tf=/PlayStation 4/i.test(dt),this.if=/PlayStation 5/i.test(dt),this.rf="web"===vt.ul,this.uf="web"===vt.al,this.lf=this.uf||this.rf,this.vf="web"===vt.cl,this.gf="web"===vt.ll,this.wf="web"===vt.As}return ct(t,[{key:"cn",get:function(){return this.fl}},{key:"vl",get:function(){return this._l}},{key:"wl",get:function(){return this.Al}},{key:"yl",get:function(){return this.Tl}},{key:"Sl",get:function(){return this.El}},{key:"xl",get:function(){return this.Cl}},{key:"Il",get:function(){return this.Pl}},{key:"Rl",get:function(){return this.Bl}},{key:"Dl",get:function(){return this.Nl}},{key:"Ol",get:function(){return this.Ml}},{key:"Ll",get:function(){return this.Fl}},{key:"ql",get:function(){return this.Wl}},{key:"Hl",get:function(){return this.Ul}},{key:"Vl",get:function(){return this.zl||this.Gl}},{key:"Xl",get:function(){return this.Ql}},{key:"he",get:function(){return this.jl}},{key:"Kl",get:function(){return this.Zl}},{key:"Yl",get:function(){return this.Jl}},{key:"$l",get:function(){var t;return null!=(t=this.td)?t:this.ed}},{key:"rd",get:function(){return this.od}},{key:"hd",get:function(){var t;return(null==(t=c.chrome)?void 0:t.webview)&&this.ud>0}},{key:"ld",get:function(){return this.ud}},{key:"dd",get:function(){return this.fd}},{key:"vd",get:function(){return this._d}},{key:"md",get:function(){return this.wd}},{key:"pd",get:function(){return this.Ad}},{key:"yd",get:function(){return this.bd}},{key:"Td",get:function(){return this.Sd}},{key:"IS_FIRETV_AFTMM",get:function(){return"AFTMM"===this.kd}},{key:"Ed",get:function(){return this.xd}},{key:"Cd",get:function(){return this.Id}},{key:"Pd",get:function(){return this.Rd}},{key:"Bd",get:function(){return this.Dd}},{key:"Nd",get:function(){return this.Od}},{key:"Md",get:function(){return this.Ld}},{key:"Fd",get:function(){return this.qd}},{key:"Wd",get:function(){return this.Hd}},{key:"Ud",get:function(){return 0===this.Vd&&Ot.ql?this.Ul:this.Vd}},{key:"zd",get:function(){return this.Gd}},{key:"Xd",get:function(){return this.Qd}},{key:"jd",get:function(){return this.Kd}},{key:"Zd",get:function(){return this.Yd}},{key:"Jd",get:function(){return!(!this.md&&!this.dd)&&this.$l<=56}},{key:"$d",get:function(){return this.tf}},{key:"ef",get:function(){return this.if}},{key:"nf",get:function(){return this.rf}},{key:"hf",get:function(){return this.uf}},{key:"cf",get:function(){return this.lf}},{key:"df",get:function(){return this.vf}},{key:"_f",get:function(){return this.gf}},{key:"mf",get:function(){return this.wf}},{key:"pf",get:function(){return this.Af}},{key:"IS_IOS_CHROME",get:function(){return this.yf}}]),t}();Et.bf=new Et;var Ot=Et.bf,Rt={}.toString;Array.isArray;function Tt(t){return"object"===(void 0===t?"undefined":E(t))&&null!==t}function Dt(t){return function(t){return"function"==typeof t}(t)||Tt(t)}var Nt=function(){};function Ft(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}p.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Pt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var i=0;i<t.length;i+=1){if(n(t[i],i,t))return i}return-1},Bt="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var i=t.length-1;i>=0;i-=1){if(n(t[i],i,t))return i}return-1};Array.prototype.at;function Mt(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,i),!0)}function Vt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Ct=function(){function t(){this.If=!1,this.Pf=!1,this.Rf=[],this.Df=[]}var n=t.prototype;return n.Cf=function(){if(!this.If&&!this.Pf){this.If=!0;for(var t,n=lt(this.Rf.slice());!(t=n()).done;){(0,t.value)()}this.Bf()}},n.Bf=function(){if(!this.Pf){this.Pf=!0;for(var t,n=lt(this.Df.slice());!(t=n()).done;){(0,t.value)()}Vt(this.Rf),Vt(this.Df)}},n.Nf=function(t){this.Pf||this.Rf.push(t)},n.Of=function(t){this.Pf||Mt(this.Rf,t)},n.Mf=function(t){this.Pf||this.Df.push(t)},n.Lf=function(t){this.Pf||Mt(this.Df,t)},t}(),Ht=function(){function t(){this.qf=new Ct}var n=t.prototype;return n.Wf=function(){this.qf.Cf()},n.Bf=function(){this.qf.Bf()},n.Hf=function(t){var n=this.qf;if(!n.If)if(t.If)n.Cf();else if(!n.Pf&&!t.Pf){var i=function(){r(),n.Cf()},r=function(){t.Of(i),t.Lf(r),n.Of(i),n.Lf(r)};t.Nf(i),t.Mf(r),n.Nf(i),n.Mf(r)}},n.Uf=function(){var n=new t,i=new t,r=n.Ff,e=i.Ff,u=this.qf,o=function(){r.If&&e.Pf||e.If&&r.Pf?u.Cf():r.Pf&&e.Pf&&u.Bf()};r.Nf(o),e.Nf(o),r.Mf(o),e.Mf(o),n.Hf(u),i.Hf(u);return u.Mf(function(){r.Of(o),e.Of(o),r.Lf(o),e.Lf(o)}),[n,i]},n[e]=function(){this.Wf()},t.Vf=function(n){for(var i,r=new t,e=lt(n);!(i=e()).done;){var u=i.value;void 0!==u&&r.Hf(u)}return r},ct(t,[{key:"Ff",get:function(){return this.qf}}]),t}(),Wt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];w.apply(this,n)};(Wt.prototype=k.create(w.prototype)).constructor=Wt;var Lt=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,w.captureStackTrace&&w.captureStackTrace(r,r.constructor),r}return st(n,t),ct(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Wt);Q.resolve();function xt(){return void 0!==a?a.createElement("video"):void 0}var jt=Ft(xt),Ut=(Ft(function(){return"undefined"!=typeof HTMLVideoElement&&A(jt(),HTMLVideoElement)}),null);try{Ut=new WebAssembly.Instance(new WebAssembly.Module(new m([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(tt){}function Gt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function zt(t){return!0===(t&&t.Gf)}function Kt(t){var n=p.clz32(t&-t);return t?31-n:n}Gt.prototype.Gf,k.defineProperty(Gt.prototype,"Gf",{value:!0}),Gt.isLong=zt;var Xt={},$t={};function qt(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=$t[t])?r:(i=Yt(t,0,!0),e&&($t[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=Xt[t])?r:(i=Yt(t,t<0?-1:0,!1),e&&(Xt[t]=i),i)}function Zt(t,n){if(b(t))return n?fn:on;if(n){if(t<0)return fn;if(t>=rn)return ln}else{if(t<=-en)return vn;if(t+1>=en)return an}return t<0?Zt(-t,n).neg():Yt(t%nn|0,t/nn|0,n)}function Yt(t,n,i){return new Gt(t,n,i)}Gt.fromInt=qt,Gt.fromNumber=Zt,Gt.fromBits=Yt;var Jt=p.pow;function Qt(t,n,i){if(0===t.length)throw w("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?fn:on;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw w("interior hyphen");if(0===r)return Qt(t.substring(1),n,i).neg();for(var e=Zt(Jt(i,8)),u=on,o=0;o<t.length;o+=8){var f=p.min(8,t.length-o),s=S(t.substring(o,o+f),i);if(f<8){var h=Zt(Jt(i,f));u=u.mul(h).add(Zt(s))}else u=(u=u.mul(e)).add(Zt(s))}return u.unsigned=n,u}function tn(t,n){return"number"==typeof t?Zt(t,n):"string"==typeof t?Qt(t,n):Yt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Gt.fromString=Qt,Gt.fromValue=tn;var nn=4294967296,rn=nn*nn,en=rn/2,un=qt(1<<24),on=qt(0);Gt.ZERO=on;var fn=qt(0,!0);Gt.UZERO=fn;var sn=qt(1);Gt.ONE=sn;var hn=qt(1,!0);Gt.UONE=hn;var cn=qt(-1);Gt.NEG_ONE=cn;var an=Yt(-1,2147483647,!1);Gt.MAX_VALUE=an;var ln=Yt(-1,-1,!0);Gt.MAX_UNSIGNED_VALUE=ln;var vn=Yt(0,-2147483648,!1);Gt.MIN_VALUE=vn;var dn=Gt.prototype;function yn(){return Date.now()||(new Date).getTime()}dn.toInt=function(){return this.unsigned?this.low>>>0:this.low},dn.toNumber=function(){return this.unsigned?(this.high>>>0)*nn+(this.low>>>0):this.high*nn+(this.low>>>0)},dn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(vn)){var n=Zt(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Zt(Jt(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}},dn.getHighBits=function(){return this.high},dn.getHighBitsUnsigned=function(){return this.high>>>0},dn.getLowBits=function(){return this.low},dn.getLowBitsUnsigned=function(){return this.low>>>0},dn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(vn)?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},dn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},dn.isZero=function(){return 0===this.high&&0===this.low},dn.eqz=dn.isZero,dn.isNegative=function(){return!this.unsigned&&this.high<0},dn.isPositive=function(){return this.unsigned||this.high>=0},dn.isOdd=function(){return!(1&~this.low)},dn.isEven=function(){return!(1&this.low)},dn.equals=function(t){return zt(t)||(t=tn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},dn.eq=dn.equals,dn.notEquals=function(t){return!this.eq(t)},dn.neq=dn.notEquals,dn.ne=dn.notEquals,dn.lessThan=function(t){return this.comp(t)<0},dn.lt=dn.lessThan,dn.lessThanOrEqual=function(t){return this.comp(t)<=0},dn.lte=dn.lessThanOrEqual,dn.le=dn.lessThanOrEqual,dn.greaterThan=function(t){return this.comp(t)>0},dn.gt=dn.greaterThan,dn.greaterThanOrEqual=function(t){return this.comp(t)>=0},dn.gte=dn.greaterThanOrEqual,dn.ge=dn.greaterThanOrEqual,dn.compare=function(t){if(zt(t)||(t=tn(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},dn.comp=dn.compare,dn.negate=function(){return!this.unsigned&&this.eq(vn)?vn:this.not().add(sn)},dn.neg=dn.negate,dn.add=function(t){zt(t)||(t=tn(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,h=0,c=0,a=0;return c+=(a+=e+(65535&t.low))>>>16,h+=(c+=r+f)>>>16,s+=(h+=i+o)>>>16,s+=n+u,Yt((c&=65535)<<16|(a&=65535),(s&=65535)<<16|(h&=65535),this.unsigned)},dn.subtract=function(t){return zt(t)||(t=tn(t)),this.add(t.neg())},dn.sub=dn.subtract,dn.multiply=function(t){if(this.isZero())return this;if(zt(t)||(t=tn(t)),Ut)return Yt(Ut.mul(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned);if(t.isZero())return this.unsigned?fn:on;if(this.eq(vn))return t.isOdd()?vn:on;if(t.eq(vn))return this.isOdd()?vn:on;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(un)&&t.lt(un))return Zt(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,h=0,c=0,a=0,l=0;return a+=(l+=e*s)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=e*f)>>>16,h+=(c+=i*s)>>>16,c&=65535,h+=(c+=r*f)>>>16,c&=65535,h+=(c+=e*o)>>>16,h+=n*s+i*f+r*o+e*u,Yt((a&=65535)<<16|(l&=65535),(h&=65535)<<16|(c&=65535),this.unsigned)},dn.mul=dn.multiply,dn.divide=function(t){if(zt(t)||(t=tn(t)),t.isZero())throw w("division by zero");var n,i,r;if(Ut)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Yt((this.unsigned?Ut.div_u:Ut.div_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?fn:on;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return fn;if(t.gt(this.shru(1)))return hn;r=fn}else{if(this.eq(vn))return t.eq(sn)||t.eq(cn)?vn:t.eq(vn)?sn:(n=this.shr(1).div(t).shl(1)).eq(on)?t.isNegative()?sn:cn:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(vn))return this.unsigned?fn:on;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();r=on}for(i=this;i.gte(t);){n=p.max(1,p.floor(i.toNumber()/t.toNumber()));for(var e=p.ceil(p.log(n)/p.LN2),u=e<=48?1:Jt(2,e-48),o=Zt(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Zt(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=sn),r=r.add(o),i=i.sub(f)}return r},dn.div=dn.divide,dn.modulo=function(t){return zt(t)||(t=tn(t)),Ut?Yt((this.unsigned?Ut.rem_u:Ut.rem_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},dn.mod=dn.modulo,dn.rem=dn.modulo,dn.not=function(){return Yt(~this.low,~this.high,this.unsigned)},dn.countLeadingZeros=function(){return this.high?p.clz32(this.high):p.clz32(this.low)+32},dn.clz=dn.countLeadingZeros,dn.countTrailingZeros=function(){return this.low?Kt(this.low):Kt(this.high)+32},dn.ctz=dn.countTrailingZeros,dn.and=function(t){return zt(t)||(t=tn(t)),Yt(this.low&t.low,this.high&t.high,this.unsigned)},dn.or=function(t){return zt(t)||(t=tn(t)),Yt(this.low|t.low,this.high|t.high,this.unsigned)},dn.xor=function(t){return zt(t)||(t=tn(t)),Yt(this.low^t.low,this.high^t.high,this.unsigned)},dn.shiftLeft=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Yt(0,this.low<<t-32,this.unsigned)},dn.shl=dn.shiftLeft,dn.shiftRight=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Yt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Yt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},dn.shru=dn.shiftRightUnsigned,dn.shr_u=dn.shiftRightUnsigned,dn.rotateLeft=function(t){var n;return zt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Yt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},dn.rotl=dn.rotateLeft,dn.rotateRight=function(t){var n;return zt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Yt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Yt(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Yt(this.low,this.high,!0)},dn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},dn.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]},dn.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]},Gt.fromBytes=function(t,n,i){return i?Gt.fromBytesLE(t,n):Gt.fromBytesBE(t,n)},Gt.fromBytesLE=function(t,n){return new Gt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Gt.fromBytesBE=function(t,n){return new Gt(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&&(Gt.fromBigInt=function(t,n){return Yt(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},Gt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":E(t))?Gt.fromBigInt(t,n):tn(t,n)},dn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var _n=1/6,wn=(Gt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&A(a,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),gn=jt(),kn=Boolean(gn&&gn.webkitShowPlaybackTargetPicker),pn=function(){function t(){this.Qf=void 0,this.Iv=!1,this.cn=wn,this.he=!1,this.zf=!0}var n=t.prototype;return n.jf=function(){return 0},n.Tv=function(t,n){return!0},n.Sv=function(t){return t>=2*_n},ct(t,[{key:"Xf",get:function(){return void 0===this.Qf&&(this.Qf=this.jf()),this.Qf}},{key:"Kf",get:function(){return Ot.Sl?"android":Ot.vl?"macos":Ot.ql?"ios":Ot.wl?"windows":"other"}},{key:"Zf",get:function(){return Ot.Zd?"tv":Ot.he?"mobile":"desktop"}},{key:"Yf",get:function(){return!Ot.Zd}},{key:"Jf",get:function(){if(c.screen)return{width:c.screen.width*this.$f,height:c.screen.height*this.$f}}},{key:"$f",get:function(){return c.devicePixelRatio||1}},{key:"ev",get:function(){return kn}},{key:"rv",get:function(){return!1}},{key:"ov",get:function(){return!0}},{key:"hv",get:function(){return!!(Ot.Wd||Ot.ql||Ot.hd)||!!Ot.Ed}},{key:"uv",get:function(){return Ot.Ed}},{key:"fv",get:function(){return!Ot.ql}},{key:"vv",get:function(){return!0}},{key:"_v",get:function(){return!0}},{key:"mv",get:function(){return!1}},{key:"wv",get:function(){}},{key:"pv",get:function(){return!0}},{key:"Av",get:function(){return!1}},{key:"yv",get:function(){return Ot.Ed}},{key:"bv",get:function(){return!1}},{key:"Ev",get:function(){return!1}},{key:"xv",get:function(){return!1}},{key:"Cv",get:function(){return!0}}]),t}(),Sn=function(t){function n(){return t.call(this)||this}return st(n,t),n}(pn),In=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.Tv=function(t,n){if(t&&t.Pv&&n&&n.Pv){var i=bn(t.Pv,"mp4a.40.2")&&bn(n.Pv,"mp4a.40.5"),r=bn(t.Pv,"mp4a.40.5")&&bn(n.Pv,"mp4a.40.2"),e=bn(t.Pv,"mp4a.40.2")&&bn(n.Pv,"mp4a.40.34"),u=bn(t.Pv,"mp4a.40.34")&&bn(n.Pv,"mp4a.40.2"),o=bn(t.Pv,"mp4a.40.5")&&bn(n.Pv,"mp4a.40.34"),f=bn(t.Pv,"mp4a.40.34")&&bn(n.Pv,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},ct(n,[{key:"wv",get:function(){if(Ot.vl)return 4096}}]),n}(Sn);function bn(t,n){return t.indexOf(n)>-1}var mn,An=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.Sv=function(t){return t>=2},n}(Sn),En=function(t){function n(){var n;return(n=t.call(this)||this).Iv=Ot.Ud>=11,n.zf=Ot.Wd&&!(Ot.ql&&Ot.Ud<10),n}return st(n,t),ct(n,[{key:"bv",get:function(){return Ot.Ud<17}},{key:"Ev",get:function(){return!0}}]),n}(Sn),On=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"pv",get:function(){return!(Ot.$l>=133)}}]),n}(Sn);var Rn=function(){var t=xt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Ot.Ol)return!1;var t=xt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Tn=function(t){function n(n){var i;return(i=t.call(this)||this).Rv=void 0,i.Rv=n,i.Iv=i.Rv.Iv,i.cn=i.Rv.cn,i.zf=Rn&&i.Rv.zf,i}st(n,t);var i=n.prototype;return i.jf=function(){return this.Rv.Xf},i.Tv=function(t,n){return this.Rv.Tv(t,n)},i.Sv=function(t){return this.Rv.Sv(t)},ct(n,[{key:"wv",get:function(){return this.Rv.wv}},{key:"pv",get:function(){return this.Rv.pv}},{key:"bv",get:function(){return this.Rv.bv}}]),n}(pn),Dn=function(t){function n(n){var i;return(i=t.call(this,n)||this).Iv=!0,i.he=!0,i}return st(n,t),ct(n,[{key:"mv",get:function(){return Ot.ql}}]),n}(Tn);var Nn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.jf=function(){return function(t){return t&&Dt(c.ManagedMediaSource)?c.ManagedMediaSource:Dt(c.MediaSource)?c.MediaSource:void 0}(!0)?t.prototype.jf.call(this):1},ct(n,[{key:"mv",get:function(){return!0}}]),n}(Dn),Fn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).Ov=void 0,n}return st(n,t),n.prototype.Tv=function(n,i){return t.prototype.Tv.call(this,n,i)},ct(n,[{key:"rv",get:function(){return Ot.vd<3}},{key:"ov",get:function(){return Ot.vd>=3}},{key:"Jf",get:function(){var t=this;return c.tizen&&!this.Ov&&c.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.Ov={width:i,height:r})}),this.Ov}},{key:"Av",get:function(){return Ot.vd<3}}]),n}(Tn),Pn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).Ov=void 0,n}return st(n,t),ct(n,[{key:"Jf",get:function(){var t=this;return c.webOS&&!this.Ov&&c.webOS.deviceInfo(function(n){t.Ov={width:n.screenWidth,height:n.screenHeight}}),this.Ov}},{key:"vv",get:function(){return!1}}]),n}(Tn),Bn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"mv",get:function(){return!0}},{key:"Ev",get:function(){return this.Rv.Ev}}]),n}(Tn),Mn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"xv",get:function(){return Ot.IS_FIRETV_AFTMM}}]),n}(Tn);!function(t){mn=t}(function(){var t=function(){if(Ot.Md)return new In;if(Ot.Cd||Ot.Pd)return new An;if(Ot.Wd)return new En;if(Ot.pf)return new On;return new Sn}();return Ot.ql?new Nn(t):Ot.Td?new Mn(t):Ot.he?new Dn(t):Ot.dd?new Fn(t):Ot.md?new Pn(t):Ot.vl?new Bn(t):new Tn(t)}());var Vn=!(Ot.Pd&&!Ot.Bd),Cn=self.console;function Hn(t){if(Tt(t))try{return JSON.stringify(t)}catch(t){}return t}function Wn(t){return t.map(Hn).join(" ")}function Ln(t){var n=Cn&&Cn[t];return n?n.bind&&Vn?n.bind(Cn):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];Cn[t](Wn(i))}:void 0}var xn=Ln("log")||Nt,jn=Ln("warn")||xn.bind(void 0,"WARNING:"),Un=Ln("error")||xn.bind(void 0,"ERROR:"),Gn=function(){var t=Cn&&Cn.assert;return t?t.bind&&Vn?t.bind(Cn):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Cn.assert(t,Wn(i))}:function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t||Un.apply(void 0,[].concat(["Assertion failed:"],i))}}();function zn(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function Kn(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Xn(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Xn(i,null,t.length,t),t}function Xn(t,n,i,r){var e,u,o,f,s,h=t.length,c=0,a=2*i;for(e=0;e<h;e+=a)for(o=(u=e+i)+i,u>h&&(u=h),o>h&&(o=h),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[c++]=t[f++]:r[c++]=t[s++];else if(f<u)r[c++]=t[f++];else{if(!(s<o))break;r[c++]=t[s++]}}var $n=/[a-zA-Z]/,qn=/[0-9]/,Zn=/[0-9a-fA-F]/,Yn=/^0x/i,Jn=/^[0-9]+$/,Qn=/^[0-9a-fA-F]+$/,ti=/^[0-7]+$/,ni=k.prototype.toString,ii=Array.isArray||function(t){return"[object Array]"===ni.call(t)},ri=void 0!==n&&"symbol"==typeof r;function ei(t){return ii(t)?t:Array.from(t)}function ui(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function oi(t){return t>=65&&t<=90}function fi(t){return oi(t)||function(t){return t>=97&&t<=122}(t)}function si(t){return t>=48&&t<=57}function hi(t){return si(t)||fi(t)}function ci(t){return si(t)||t>=65&&t<=70||t>=97&&t<=102}function ai(t){return oi(t)?t+32:t}function li(t){return si(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function vi(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var di=p.min,yi=String.fromCharCode;function _i(t){for(var n=t.length,i=[],r=0;r<n;r+=16384){var e=di(r+16384,n);i.push(yi.apply(null,t.slice(r,e)))}return i.join("")}var wi=2147483647,gi=/[^\0-\x7E]/,ki=/[\x2E\u3002\uFF0E\uFF61]/g,pi={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Si=p.floor,Ii=String.fromCharCode;function bi(t){throw new RangeError(pi[t])}function mi(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var Ai,Ei,Oi,Ri=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Ti=function(t,n,i){var r=0;for(t=i?Si(t/700):t>>1,t+=Si(t/n);t>455;r+=36)t=Si(t/35);return Si(r+36*t/(t+38))},Di=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(ki,".")).split("."),n).join(".");return r+e}(t,function(t){return gi.test(t)?"xn--"+function(t){for(var n=[],i=(t=mi(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Ii(s))}var h=n.length,c=h;for(h&&n.push("-");c<i;){for(var a=wi,l=0,v=t;l<v.length;l++){var d=v[l];d>=r&&d<a&&(a=d)}var y=c+1;a-r>Si((wi-e)/y)&&bi("overflow"),e+=(a-r)*y,r=a;for(var _=0,w=t;_<w.length;_++){var g=w[_];if(g<r&&++e>wi&&bi("overflow"),g==r){for(var k=e,p=36;;p+=36){var S=p<=u?1:p>=u+26?26:p-u;if(k<S)break;var I=k-S,b=36-S;n.push(Ii(Ri(S+I%b,0))),k=Si(I/b)}n.push(Ii(Ri(k,0))),u=Ti(e,y,c==h),e=0,++c}}++e,++r}return n.join("")}(t):t})};function Ni(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _i(n)}function Fi(t){if(t>=55296&&t<=57343)throw new w("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Pi(t,n){return t>>n&63|128}function Bi(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Pi(t,12)),n.push(Pi(t,6))):(Fi(t),n.push(t>>12&15|224),n.push(Pi(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Mi(t){for(var n=[],i=0;i<t.length;i++){Bi(t[i],n)}return n}function Vi(){if(Oi>=Ei)throw new w("Invalid byte index");var t=255&Ai[Oi];if(Oi++,128==(192&t))return 63&t;throw new w("Invalid continuation byte")}function Ci(){var t,n;if(Oi>Ei)throw new w("Invalid byte index");if(Oi===Ei)return!1;if(t=255&Ai[Oi],Oi++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Vi())>=128)return n;throw new w("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Vi()<<6|Vi())>=2048)return Fi(n),n;throw new w("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Vi()<<12|Vi()<<6|Vi())>=65536&&n<=1114111)return n;throw new w("Invalid UTF-8 detected")}function Hi(t){return[37,vi(t>>4),vi(15&t)]}function Wi(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Li(t){return Wi(t)||32===t||34===t||60===t||62===t||96===t}function xi(t){return Li(t)||35===t||63===t||123===t||125===t}function ji(t){return xi(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Ui(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Gi(t){return Ui(t)||39===t}function zi(t,n){if(!n(t))return[t];for(var i=Mi([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Hi(u))}return r}function Ki(t,n){for(var i=[],r=0,e=mi(t);r<e.length;r++){var u=e[r];i.push.apply(i,zi(u,n))}return Ni(i)}function Xi(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&ci(t[r+1])&&ci(t[r+2])){var u=li(t[r+1])<<4|li(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Mi(t))}function $i(t){return Ni(function(t){Ai=t.slice(),Ei=Ai.length,Oi=0;for(var n,i=[];!1!==(n=Ci());)i.push(n);return i}(Xi(mi(t))))}function qi(t){var n=t.length,i=[0,0,0,0,0,0,0,0],r=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=r+=1}for(;u<n;){if(8===r)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&Zn.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,r>6)throw new g;for(var s=0;u<n;){var h=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!qn.test(t[u]))throw new g;for(;u<n&&qn.test(t[u]);){var c=S(t[u],10);if(null===h)h=c;else{if(0===h)throw new g;if((h=10*h+c)>255)throw new g}u+=1}i[r]=i[r]<<8|h,2!==(s+=1)&&4!==s||(r+=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;i[r]=o,r+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=r+=1}}if(null!==e){var a=r-e;for(r=7;0!==r&&a>0;)ui(i,r,e+a-1),r-=1,a-=1}else if(8!==r)throw new g;return i}function Zi(t){var n=10,i=Jn;return Yn.test(t)?(t=t.slice(2),n=16,i=Qn):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=ti),""===t?0:i.test(t)?S(t,n):void 0}var Yi={Mv:4},Ji=/[\0\t\n\r #%/:?@\[\\\]]/,Qi=/[\0\t\n\r #/:?@\[\\\]]/;function tr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{Mv:2,Lv:qi(t.slice(1,-1))}}if(!n)return function(t){if(Qi.test(t))throw new g("Invalid code point in opaque host");var n=Ki(t,Wi);return""===n?Yi:{Mv:3,Fv:n}}(t);var i=function(t){var n=function(t){return Di(t.toLowerCase())}(t);return n}($i(t));if(Ji.test(i))throw new g("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=Zi(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new g;if(i[i.length-1]>=p.pow(256,5-i.length))throw new g;for(var f=i.pop(),s=0;s<i.length;s++)f+=i[s]*p.pow(256,3-s);return f}}(i);return void 0!==r?{Mv:1,Lv:r}:""===i?Yi:{Mv:0,qv:i}}function nr(t){switch(t.Mv){case 0:return t.qv;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.Lv);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.Lv)+"]";case 3:return t.Fv;case 4:return""}}var ir=/\+/g;function rr(t){return 42===t||45===t||46===t||95===t||hi(t)}function er(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(ir," "),f=f.replace(ir," ");var s=$i(o),h=$i(f);i.push([s,h])}}return i}function ur(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=or(Mi(mi(r[0])))+"="+or(Mi(mi(r[1])))}return n}function or(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];32===r?n.push(43):rr(r)?n.push(r):n.push.apply(n,Hi(r))}return _i(n)}var fr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function sr(t){var n=""+t,i=fr.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(cr(u))if(ar(u)||e===i-1)r.push(hr);else{var o=t.charCodeAt(e+1);ar(o)?(r.push(u,o),e++):r.push(hr)}else r.push(u)}return t.slice(0,n)+_i(r)}(n,i.index):n}var hr=65533,cr=function(t){return 55296==(63488&t)},ar=function(t){return!!(1024&t)};function lr(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function vr(t){t.Wv.length=0}function dr(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Wv,er(n))}function yr(t){if(t.Hv){var n=ur(t.Wv);""===n&&(n=null),t.Hv.Hv.Uv=n}}var _r=function(){function t(t){if(void 0===t&&(t=void 0),this.Hv=null,null==t)this.Wv=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof _r&&!!ii(t.Wv)&&(!ri||t[r]===wr)}(t))this.Wv=t.Wv.slice();else if(function(t){return null!=t&&(!!ii(t)||!!ri&&"function"==typeof t[r])}(t)){this.Wv=[];for(var n=0,i=ei(t);n<i.length;n++){var e=ei(i[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Wv.push([sr(e[0]),sr(e[1])])}}else for(var u in this.Wv=[],t)k.prototype.hasOwnProperty.call(t,u)&&this.Wv.push([sr(u),sr(t[u])]);else(t=sr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Wv=er(t)}var n=t.prototype;return n.append=function(t,n){t=sr(t),n=sr(n),this.Wv.push([t,n]),yr(this)},n.delete=function(t){t=sr(t);for(var n=this.Wv,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}yr(this)},n.get=function(t){t=sr(t);for(var n=this.Wv,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=sr(t);for(var n=this.Wv,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=sr(t);for(var n=this.Wv,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=sr(t),n=sr(n);for(var i=this.Wv,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),yr(this)},n.sort=function(){Kn(this.Wv,lr),yr(this)},n.toString=function(){return ur(this.Wv)},n.entries=function(){return new Sr(this.Wv,gr)},n.keys=function(){return new Sr(this.Wv,kr)},n.values=function(){return new Sr(this.Wv,pr)},n.forEach=function(t){var n=this;this.Wv.forEach(function(i){return t(i[1],i[0],n)})},t}(),wr=_r.prototype.entries;ri&&(_r.prototype[r]=wr);var gr=function(t){return[t[0],t[1]]},kr=function(t){return t[0]},pr=function(t){return t[1]},Sr=function(){function t(t,n){this.Vv=0,this.Wv=t,this.zv=n}return t.prototype.next=function(){return this.Vv<this.Wv.length?{done:!1,value:this.zv(this.Wv[this.Vv++])}:{done:!0,value:void 0}},t}(),Ir="null";var br=k.create(null);br.ftp=21,br.file=0,br.gopher=70,br.http=80,br.https=443,br.ws=80,br.wss=443;var mr=/^(?:\.|%2e)$/i,Ar=/^(?:\.|%2e){2}$/i;function Er(t){return mr.test(t)}function Or(t){return Ar.test(t)}function Rr(t){return void 0!==br[t]}function Tr(t){return Rr(t.Gv)}function Dr(t){return""!==t.Xv||""!==t.Qv}function Nr(t){var n=t.length;if(!(n>=2))return!1;if(!Pr(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Fr(t){return 2===t.length&&$n.test(t[0])&&(":"===t[1]||"|"===t[1])}function Pr(t){return 2===t.length&&Fr(_i(t))}function Br(t){return Fr(t)&&":"===t[1]}function Mr(t){var n=t.Kv;0!==n.length&&("file"===t.Gv&&1===n.length&&Br(n[0])||n.pop())}function Vr(t){return null===t.Zv||Yi===t.Zv||t.Yv||"file"===t.Gv}var Cr=-1,Hr=/\t|\n|\r/g,Wr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Lr(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new jr,t=t.replace(Wr,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,h=mi(t=t.replace(Hr,"")),c=h.length,a=0;a<=c;){var l=a<c?h[a]:Cr;switch(e){case 0:if(!fi(l)){if(null===r){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(ai(l)),e=1;break;case 1:if(hi(l)||43===l||45===l||46===l)u.push(ai(l));else{if(58!==l){if(null===r){u.length=0,e=2,a=0;continue}throw new g("Invalid scheme")}var v=Ni(u);if(null!==r){if(Rr(i.Gv)&&!Rr(v))return;if(!Rr(i.Gv)&&Rr(v))return;if((Dr(i)||null!==i.Jv)&&"file"===v)return;if("file"===i.Gv&&(i.Zv===Yi||null===i.Zv))return}if(i.Gv=v,null!==r)return void(Tr(i)&&i.Jv===br[i.Gv]&&(i.Jv=null));u.length=0,"file"===i.Gv?e=13:Tr(i)&&n&&n.Gv===i.Gv?e=3:Tr(i)?e=7:47===h[a+1]?(e=4,a+=1):(i.Yv=!0,i.Kv.push(""),e=18)}break;case 2:if(!n||n.Yv&&35!==l)throw new g("Invalid scheme");n.Yv&&35===l?(i.Gv=n.Gv,i.Kv=n.Kv.slice(),i.Uv=n.Uv,i.$v="",i.Yv=!0,e=20):"file"!==n.Gv?(e=5,a-=1):(e=13,a-=1);break;case 3:47===l&&47===h[a+1]?e=8:(e=5,a-=1);break;case 4:47===l?e=9:(e=17,a-=1);break;case 5:i.Gv=n.Gv,Cr===l?(i.Xv=n.Xv,i.Qv=n.Qv,i.Zv=n.Zv,i.Jv=n.Jv,i.Kv=n.Kv.slice(),i.Uv=n.Uv):47===l?e=6:63===l?(i.Xv=n.Xv,i.Qv=n.Qv,i.Zv=n.Zv,i.Jv=n.Jv,i.Kv=n.Kv.slice(),i.Uv="",e=19):35===l?(i.Xv=n.Xv,i.Qv=n.Qv,i.Zv=n.Zv,i.Jv=n.Jv,i.Kv=n.Kv.slice(),i.Uv=n.Uv,i.$v="",e=20):92===l&&Tr(i)?e=6:(i.Xv=n.Xv,i.Qv=n.Qv,i.Zv=n.Zv,i.Jv=n.Jv,i.Kv=n.Kv.slice(),i.Kv.pop(),e=17,a-=1);break;case 6:!Tr(i)||47!==l&&92!==l?47===l?e=9:(i.Xv=n.Xv,i.Qv=n.Qv,i.Zv=n.Zv,i.Jv=n.Jv,e=17,a-=1):e=8;break;case 7:if(47!==l||47!==h[a+1]){e=8;continue}e=8,a+=1;break;case 8:47!==l&&92!==l&&(e=9,a-=1);break;case 9:if(64===l){o&&u.unshift(37,52,48),o=!0;for(var d=0;d<u.length;d++){var y=u[d];if(58!==y||s){var _=Ni(zi(y,ji));s?i.Qv+=_:i.Xv+=_}else s=!0}u.length=0}else if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(o&&0===u.length)throw new g("Invalid host");a-=u.length+1,u.length=0,e=10}else u.push(l);break;case 10:case 11:if(null!==r&&"file"===i.Gv)a-=1,e=15;else if(58!==l||f)if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(a-=1,Tr(i)&&0===u.length)throw new g("Invalid host");if(null!==r&&0===u.length&&(Dr(i)||null!==i.Jv))return;var w=tr(Ni(u),Tr(i));if(i.Zv=w,u.length=0,e=16,null!==r)return}else 91===l?f=!0:93===l&&(f=!1),u.push(l);else{if(0===u.length)throw new g("Invalid host");var k=tr(Ni(u),Tr(i));if(i.Zv=k,u.length=0,e=12,11===r)return}break;case 12:if(si(l))u.push(l);else{if(!(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l||null!==r))throw new g("Invalid port");if(0!==u.length){var p=S(Ni(u),10);if(p>65535)throw new g("Invalid port");i.Jv=p===br[i.Gv]?null:p,u.length=0}if(null!==r)return;e=16,a-=1}break;case 13:i.Gv="file",47===l||92===l?e=14:n&&"file"===n.Gv?Cr===l?(i.Zv=n.Zv,i.Kv=n.Kv.slice(),i.Uv=n.Uv):63===l?(i.Zv=n.Zv,i.Kv=n.Kv.slice(),i.Uv="",e=19):35===l?(i.Zv=n.Zv,i.Kv=n.Kv.slice(),i.Uv=n.Uv,i.$v="",e=20):(Nr(h.slice(a))||(i.Zv=n.Zv,i.Kv=n.Kv.slice(),Mr(i)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.Gv&&!Nr(h.slice(a))&&(Br(n.Kv[0])?i.Kv.push(n.Kv[0]):i.Zv=n.Zv),e=17,a-=1);break;case 15:if(Cr===l||47===l||92===l||63===l||35===l)if(a-=1,null===r&&Pr(u))e=17;else if(0===u.length){if(i.Zv=Yi,null!==r)return;e=16}else{var I=tr(Ni(u),Tr(i));if(0===I.Mv&&"localhost"===I.qv&&(I=Yi),i.Zv=I,null!==r)return;u.length=0,e=16}else u.push(l);break;case 16:Tr(i)?(e=17,47!==l&&92!==l&&(a-=1)):null===r&&63===l?(i.Uv="",e=19):null===r&&35===l?(i.$v="",e=20):Cr!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Cr===l||47===l||Tr(i)&&92===l||null===r&&(63===l||35===l)){var b=Ni(u);if(Or(b)?(Mr(i),47===l||Tr(i)&&92===l||i.Kv.push("")):!Er(b)||47===l||Tr(i)&&92===l?Er(b)||("file"===i.Gv&&0===i.Kv.length&&Pr(u)&&(Yi!==i.Zv&&null!==i.Zv&&(i.Zv=Yi),u[1]=58,b=Ni(u)),i.Kv.push(b)):i.Kv.push(""),u.length=0,"file"===i.Gv&&(Cr===l||63===l||35===l))for(;i.Kv.length>1&&""===i.Kv[0];)i.Kv.shift();63===l?(i.Uv="",e=19):35===l&&(i.$v="",e=20)}else u.push.apply(u,zi(l,xi));break;case 18:63===l?(i.Uv="",e=19):35===l?(i.$v="",e=20):Cr!==l&&(i.Kv[0]+=Ni(zi(l,Wi)));break;case 19:null===r&&35===l?(i.$v="",e=20):Cr!==l&&(i.Uv+=Ni(zi(l,Tr(i)?Gi:Ui)));break;case 20:Cr===l||0===l||(i.$v+=Ni(zi(l,Li)))}a++}return i}function xr(t,n,i,r){try{Lr(t,n,i,r)}catch(t){}}var jr=function(){this.Gv="",this.Xv="",this.Qv="",this.Zv=null,this.Jv=null,this.Kv=[],this.Uv=null,this.$v=null,this.Yv=!1};function Ur(t){switch(t.Gv){case"blob":var n;try{n=Lr(t.Kv[0],null)}catch(t){return Ir}return Ur(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,i){return t+"://"+nr(n)+(null===i?"":":"+i)}(t.Gv,t.Zv,t.Jv);default:return Ir}}var Gr=function(){function t(t,n){var i,r=null;if(null!=n)if(function(t){return null!=t&&t instanceof Gr&&"object"==typeof t.Hv}(n))r=n.Hv;else try{r=Lr(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{i=Lr(String(t),r)}catch(t){throw new g("Invalid URL: "+t.message)}var e=i.Uv;this.Hv=i,this.Uv=function(t){var n=new _r;return null!==t&&dr(n,t),n}(e),this.Uv.Hv=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,i){n&&zn(t.prototype,n),i&&zn(t,i)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Gv+":";if(null!==t.Zv?(i+="//",Dr(t)&&(i+=t.Xv,""!==t.Qv&&(i+=":"+t.Qv),i+="@"),i+=nr(t.Zv),null!==t.Jv&&(i+=":"+t.Jv)):null===t.Zv&&"file"===t.Gv&&(i+="//"),t.Yv)i+=t.Kv[0];else for(var r=0,e=t.Kv;r<e.length;r++)i+="/"+e[r];return null!==t.Uv&&(i+="?"+t.Uv),n||null===t.$v||(i+="#"+t.$v),i}(this.Hv)},set:function(t){var n;try{n=Lr(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.Hv=n,vr(this.Uv);var i=this.Hv.Uv;null!==i&&dr(this.Uv,i)}},{key:"origin",get:function(){return Ur(this.Hv)}},{key:"protocol",get:function(){return this.Hv.Gv+":"},set:function(t){xr(t+":",null,this.Hv,0)}},{key:"username",get:function(){return this.Hv.Xv},set:function(t){Vr(this.Hv)||(this.Hv.Xv=Ki(t,ji))}},{key:"password",get:function(){return this.Hv.Qv},set:function(t){Vr(this.Hv)||(this.Hv.Qv=Ki(t,ji))}},{key:"host",get:function(){var t=this.Hv,n=t.Zv;if(null===n)return"";var i=t.Jv,r=nr(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Hv.Yv||xr(t,null,this.Hv,10)}},{key:"hostname",get:function(){var t=this.Hv.Zv;return null===t?"":nr(t)},set:function(t){this.Hv.Yv||xr(t,null,this.Hv,11)}},{key:"port",get:function(){var t=this.Hv.Jv;return null===t?"":""+t},set:function(t){Vr(this.Hv)||(""===t?this.Hv.Jv=null:xr(t,null,this.Hv,12))}},{key:"pathname",get:function(){var t=this.Hv.Kv;return this.Hv.Yv?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Hv.Yv||(this.Hv.Kv.length=0,xr(t,null,this.Hv,16))}},{key:"search",get:function(){var t=this.Hv.Uv;return null===t||""===t?"":"?"+t},set:function(t){t=sr(t);var n=this.Hv;if(""===t)return n.Uv=null,void vr(this.Uv);"?"===t[0]&&(t=t.slice(1)),n.Uv="",xr(t,null,n,19),dr(this.Uv,t)}},{key:"searchParams",get:function(){return this.Uv}},{key:"hash",get:function(){var t=this.Hv.$v;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Hv.$v="",xr(t,null,this.Hv,20)):this.Hv.$v=null}}]),t}();function zr(t){return t.document&&t.document.baseURI||t.location.href||""}var Kr=function(){function t(){this.Tf=void 0,this.__=new Xr,this.w_=mn,this.m_=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.Tf=function(){return self.performance.now()}:this.Tf=yn}var n=t.prototype;return n.t_=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];xn.apply(void 0,[].concat(n))},n.e_=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];jn.apply(void 0,[].concat(n))},n.i_=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Un.apply(void 0,[].concat(n))},n.s_=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Gn.apply(void 0,[].concat([t],i))},n.kf=function(t,n){return v(t,n)},n.n_=function(t,n){return y(t,n)},n.Sf=function(t){d(t)},n.r_=function(t){_(t)},n.o_=function(){return this.h_.o_()},n.a_=function(){return this.h_.a_()},n.u_=function(){return this.h_.u_()},n.c_=function(){return this.h_.c_()},n.l_=function(){return this.h_.l_()},n.d_=function(t,n){return this.h_.d_(t,n)},n.f_=function(t){return this.h_.f_(t)},n.qo=function(t,n){var i;return void 0===n&&(n=zr(c)),i="object"!==(void 0===n?"undefined":E(n))||A(n,Gr)?n:n.href,new Gr(t,i)},n.g_=function(t,n){if(void 0===n&&(n=zr(c)),this.m_){var i=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,i).href}return this.qo(t,n).href},ct(t,[{key:"v_",get:function(){return this.__}},{key:"ae",get:function(){return this.w_}},{key:"p_",get:function(){return{A_:l&&l.userAgent.match(/Android /i)?"Android":"other",y_:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"b_",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"T_",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),Xr=function(){function t(){}return ct(t,[{key:"S_",get:function(){return l.oscpu}},{key:"ae",get:function(){return l.platform}},{key:"k_",get:function(){return l.vendor}},{key:"E_",get:function(){return l.vendorSub}}]),t}();var $r=function(){function t(){}var n=t.prototype;return n.l_=function(){return Q.resolve(!1)},n.a_=function(){return Q.resolve(!1)},n.c_=function(){return Q.resolve(!1)},n.u_=function(){return Q.resolve(!1)},n.f_=function(t){return Q.resolve(!1)},n.d_=function(t,n){return Q.resolve(!1)},n.o_=function(){return Q.resolve(!1)},t}(),qr=function(){function t(){}var n=t.prototype;return n.Py=function(){},n.Hm=function(t){},n.Fm=function(t){},n.qm=function(t,n){},t}(),Zr=function(t){return t.By="arraybuffer",t.Dy="json",t.Ny="stream",t.Oy="text",t}({});var Yr=function(){function t(n){var i=this;if(this.P_=void 0,this.P_={},n)if(A(n,t))n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)});else if(function(t){return Tt(t)&&"function"==typeof t.forEach}(n))n.forEach(function(t,n){Array.isArray(t)&&2===t.length?i.append(t[0],t[1]):i.append(n,t)});else if(function(t){return void 0!==r&&Tt(t)&&r in t}(n))for(var e,u=lt(n);!(e=u()).done;){var o=e.value,f=o[0],s=o[1];this.append(f,s)}else k.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])});else;}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Jr(i),r=Qr(r);var e=i.toLowerCase();if(this.P_.hasOwnProperty(e)){var u=this.P_[e],o=u[1];u[1]=o?o+", "+r:r}else this.P_[e]=[i,r]},n.delete=function(t){var n=Jr(t).toLowerCase();delete this.P_[n]},n.get=function(t){var n=Jr(t).toLowerCase();return this.P_.hasOwnProperty(n)?this.P_[n][1]:null},n.has=function(t){var n=Jr(t).toLowerCase();return this.P_.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Jr(i)).toLowerCase();this.P_[r]=[i,Qr(n)]},n.forEach=function(t,n){for(var i in this.P_)this.P_.hasOwnProperty(i)&&t.call(n,this.P_[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.P_)if(this.P_.hasOwnProperty(n)){var i=this.P_[n],r=i[0],e=i[1];t.push([r,e])}return t},n.My=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.Ly=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.Fy=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Jr(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 Qr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var te=function(t,n){this.Gy=void 0,this._b=void 0,this.Wb=void 0,this.cb=void 0,this.Hb=void 0,this.Ub=void 0,this.Ff=void 0,this.L_=void 0,this.Vb=void 0,this.zb=void 0,this.pb=void 0,this.Gb=void 0,this.Xb=void 0,this.Qb=void 0,this.jb=void 0,this.Kb=void 0;var i,r,e,u,o,f,s,h,c,a,l,v,d,y,_,w,g,k,p=t.pb;n?(i=n.Gy,r=n._b,e=n.Wb,u=n.cb,o=n.Hb,f=n.Ub,s=n.Ff,h=n.L_,c=n.Vb,a=n.zb,l=n.Gb,v=n.Xb,d=n.Qb,y=n.jb,_=n.Kb):(i=null,r={},e="GET",u=Zr.Oy,o=0,f=0,h="",c="",a="",l=!1,d=void 0,y=!1,_=void 0),this.pb=p,this.Gy=t.Gy||i,this._b=new Yr(t._b||r),this.Wb=t.Wb||e,this.cb=t.cb||u,this.Hb=void 0!==t.Hb?Number(t.Hb)||0:o,this.Ub=void 0!==t.Ub?Number(t.Ub)||0:f,this.Ff=t.Ff||s||(new Ht).Ff,this.L_=t.L_||h,this.Vb=t.Vb||c,this.zb=t.zb||a,this.Gb=void 0!==t.Gb?Boolean(t.Gb):l,this.Xb=t.Xb||v,this.Qb=null!=(w=t.Qb)?w:d,this.jb=null!=(g=t.jb)?g:y,this.Kb=null!=(k=t.Kb)?k:_},ne=function(t){return t.nT="HttpOpenError",t.rT="HttpResponseError",t.oT="HttpTimeoutError",t}({}),ie=function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).hT=void 0,e.hT=n,e}return st(n,t),ct(n,[{key:"fb",get:function(){return this.hT}}]),n}(Lt),re=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.pb+".",i)||this}return st(n,t),ct(n,[{key:"name",get:function(){return ne.nT}}]),n}(ie),ee=function(){function t(){}var n=t.prototype;return n.fb=function(t){return Q.reject(new re(new te(t)))},n.Zb=function(t){},n.Mn=function(){},t}(),ue=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return st(n,t),n}(Lt),oe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).uS=new $r,n.gL=new ee,n.i=new qr,n}return st(n,t),n.prototype.FT=function(t){throw new ue},ct(n,[{key:"h_",get:function(){return this.uS}},{key:"cS",get:function(){return!1}},{key:"dS",get:function(){return!1}},{key:"gS",get:function(){return!1}},{key:"vS",get:function(){return!1}},{key:"mS",get:function(){return this.i}},{key:"wS",get:function(){return{pS:Nt}}},{key:"AS",get:function(){return"default"}},{key:"yS",get:function(){return"unknown"}},{key:"bS",get:function(){return this.gL}},{key:"SS",get:function(){return!1}}]),n}(Kr);!function(t){0}(new oe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
//# sourceMappingURL=theoplayer.d.js.map