/*!
 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.12.1
 Created: 2026-03-17T15:06:53.865Z
 */
!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.Ua=0,this.tRt=!1,this.Jft=void 0,this.nRt=[],V(t,this)}function N(t,n){for(;3===t.Ua;)t=t.Jft;0!==t.Ua?(t.tRt=!0,D.iRt(function(){var i=1===t.Ua?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.Jft)}catch(t){return void B(n.promise,t)}F(n.promise,r)}else(1===t.Ua?F:B)(n.promise,t.Jft)})):t.nRt.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.Ua=3,t.Jft=n,void P(t);if("function"==typeof i)return void V(function(t,n){return function(){t.apply(n,arguments)}}(i,n),t)}t.Ua=1,t.Jft=n,P(t)}catch(n){B(t,n)}}function B(t,n){t.Ua=2,t.Jft=n,P(t)}function P(t){2===t.Ua&&0===t.nRt.length&&D.iRt(function(){t.tRt||D.rRt(t.Jft)});for(var n=0,i=t.nRt.length;n<i;n++)N(t,t.nRt[n]);t.nRt=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,B(n,t))})}catch(t){if(i)return;i=!0,B(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.iRt="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){O(t,0)},D.rRt=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:"",L=H.match(/Firefox\/([0-9]+)/i),W=null!=L,x=L?Number(L[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.dw=0,this.Vu=0,this.N_=[],this.eRt=t}return t.prototype.uRt=function(t){var n=this.length();this.sRt(n+1);var i=this.Vu+n&this.eRt-1;this.N_[i]=t,this.dw=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.eRt<n)this.uRt(t);else{var i=this.Vu+n-1,r=this.eRt-1;this.N_[i&r]=t,this.dw=n}},t.prototype.shift=function(){var t=this.Vu,n=this.N_[t];return this.N_[t]=void 0,this.Vu=t+1&this.eRt-1,this.dw--,n},t.prototype.length=function(){return this.dw},t.prototype.sRt=function(t){this.eRt<t&&this.oRt(this.eRt<<1)},t.prototype.oRt=function(t){var n=this.eRt;this.eRt=t;var i=this.Vu+this.dw&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.N_,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&&!(W&&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.iRt,tt=et,nt=new z(16),it=!1,(ut={W1:function(t){nt.push(t),it||(it=!0,tt(rt))},qz:rt=function(){for(;nt.length()>0;)nt.shift()();it=!1}}).qz,D.iRt=ut.W1,D.rRt=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.ld="web",t.fd="android",t._d="android-tv",t.vd="ios",t.md="tvos",t.wd="chromecast",t.pd="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.yd=Boolean("ontouchstart"in self||self.DocumentTouch&&A(a,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.bd=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(dt)||/(macintosh|mac(?=_powerpc)\s)/i.test(dt),this.Sd=/Windows NT/i.test(dt),this.Ed=gt?I(gt[1]):0,this.Pd=/Android/i.test(dt),this.xd=wt?I(wt[1]):0,this.Bd=/windows phone (8|8\.1)/i.test(dt),this.Nd=/iPhone/i.test(dt),this.Ld=/iPad/i.test(dt),this.Fd=this.bd&&this.yd&&!this.Ld,this.qd=/iPod/i.test(dt),this.Kd=/Mobile Safari/i.test(dt),this.Gd=/EOS\d*STB/i.test(dt),this.jd=/APP\d*STB/i.test(dt),this.Vd=(this.Nd||this.Ld||this.Fd||this.qd)&&!this.Bd,this.Xd=bt?I(bt[2]):0,this.Yd=this.Bd||this.Vd||this.Pd||this.Kd,this.Zd=/CriOS/i.test(dt),this.il=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Zd,this.cl=this.il&&/Edg\//i.test(l.userAgent),this.ll=_t?S(_t[1],10):0,this.Cf=Boolean(/CriOS/i.test(dt)),this.Ef=Boolean(self.chrome||/Chrome/i.test(dt)||this.Cf),this.al=yt?S(yt[1],10):0,this.vl=/SMART-TV.*Tizen/i.test(dt),this.yl=It?I(It[1]):0,this.hl=this.yl>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.yl):void 0,this.Tl=/webos|web0s/i.test(dt),this.El=/HbbTV/i.test(dt),this.Pl=!!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.xl=/AFT.* Build/i.test(dt),this.Rl=At?At[1]:void 0,this.Dl=/VIZIO/i.test(dt),this.Ol=/Edge\/\d+/i.test(dt),this.Ml=/Trident/i.test(dt),this.Hl=this.Ml&&!self.ActiveXObject&&"ActiveXObject"in self,this.Ul=/Vivaldi/i.test(dt),this.Wl=/Firefox/i.test(dt)&&!/Seamonkey/i.test(dt),this.zl=pt?I(pt[1]):0,this.jl=/Safari/i.test(dt)&&!/Chrome/i.test(dt)&&!this.Bd&&!this.vl,this.Kl=kt?I(kt[2]):0,this.Jl=Boolean(St),this.$l=St?I(St[1]):0,this.if=/CrKey/.test(dt),this.nf=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(dt),this.uf=/PlayStation 4/i.test(dt),this.df=/PlayStation 5/i.test(dt),this._f="web"===vt._d,this.gf="web"===vt.fd,this.wf=this.gf||this._f,this.yf="web"===vt.vd,this.bf="web"===vt.md,this.Sf="web"===vt.wd}return ct(t,[{key:"tn",get:function(){return this.yd}},{key:"Ad",get:function(){return this.bd}},{key:"Td",get:function(){return this.Sd}},{key:"kd",get:function(){return this.Ed}},{key:"Cd",get:function(){return this.Pd}},{key:"Id",get:function(){return this.xd}},{key:"Rd",get:function(){return this.Bd}},{key:"Dd",get:function(){return this.Nd}},{key:"Od",get:function(){return this.Ld}},{key:"Md",get:function(){return this.Fd}},{key:"Hd",get:function(){return this.qd}},{key:"Ud",get:function(){return this.Vd}},{key:"Wd",get:function(){return this.Xd}},{key:"zd",get:function(){return this.Gd||this.jd}},{key:"Qd",get:function(){return this.Kd}},{key:"te",get:function(){return this.Yd}},{key:"Jd",get:function(){return this.Zd}},{key:"$d",get:function(){return this.il}},{key:"ol",get:function(){var t;return null!=(t=this.hl)?t:this.al}},{key:"ul",get:function(){return this.cl}},{key:"dl",get:function(){var t;return(null==(t=c.chrome)?void 0:t.webview)&&this.ll>0}},{key:"fl",get:function(){return this.ll}},{key:"_l",get:function(){return this.vl}},{key:"wl",get:function(){return this.yl}},{key:"Al",get:function(){return this.Tl}},{key:"Sl",get:function(){return this.El}},{key:"Cl",get:function(){return this.Pl}},{key:"Il",get:function(){return this.xl}},{key:"IS_FIRETV_AFTMM",get:function(){return"AFTMM"===this.Rl}},{key:"Bl",get:function(){return this.Dl}},{key:"Nl",get:function(){return this.Ol}},{key:"Ll",get:function(){return this.Ml}},{key:"Fl",get:function(){return this.Hl}},{key:"ql",get:function(){return this.Ul}},{key:"Vl",get:function(){return this.Wl}},{key:"Xl",get:function(){return this.zl}},{key:"Gl",get:function(){return this.jl}},{key:"Ql",get:function(){return 0===this.Kl&&Ot.Ud?this.Xd:this.Kl}},{key:"Yl",get:function(){return this.Jl}},{key:"Zl",get:function(){return this.$l}},{key:"tf",get:function(){return this.if}},{key:"ef",get:function(){return this.nf}},{key:"rf",get:function(){return!(!this.Al&&!this._l)&&this.ol<=56}},{key:"hf",get:function(){return this.uf}},{key:"cf",get:function(){return this.df}},{key:"lf",get:function(){return this._f}},{key:"vf",get:function(){return this.gf}},{key:"mf",get:function(){return this.wf}},{key:"pf",get:function(){return this.yf}},{key:"Af",get:function(){return this.bf}},{key:"Tf",get:function(){return this.Sf}},{key:"kf",get:function(){return this.Ef}},{key:"IS_IOS_CHROME",get:function(){return this.Cf}}]),t}();Et.Pf=new Et;var Ot=Et.Pf,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 Bt="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},Pt="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.Of=!1,this.Lf=!1,this.Mf=[],this.Hf=[]}var n=t.prototype;return n.Nf=function(){if(!this.Of&&!this.Lf){this.Of=!0;for(var t,n=lt(this.Mf.slice());!(t=n()).done;){(0,t.value)()}this.Ff()}},n.Ff=function(){if(!this.Lf){this.Lf=!0;for(var t,n=lt(this.Hf.slice());!(t=n()).done;){(0,t.value)()}Vt(this.Mf),Vt(this.Hf)}},n.qf=function(t){this.Lf||this.Mf.push(t)},n.Uf=function(t){this.Lf||Mt(this.Mf,t)},n.Vf=function(t){this.Lf||this.Hf.push(t)},n.Wf=function(t){this.Lf||Mt(this.Hf,t)},t}(),Ht=function(){function t(){this.zf=new Ct}var n=t.prototype;return n.Gf=function(){this.zf.Nf()},n.Ff=function(){this.zf.Ff()},n.jf=function(t){var n=this.zf;if(!n.Of)if(t.Of)n.Nf();else if(!n.Lf&&!t.Lf){var i=function(){r(),n.Nf()},r=function(){t.Uf(i),t.Wf(r),n.Uf(i),n.Wf(r)};t.qf(i),t.Vf(r),n.qf(i),n.Vf(r)}},n.Qf=function(){var n=new t,i=new t,r=n.Xf,e=i.Xf,u=this.zf,o=function(){r.Of&&e.Lf||e.Of&&r.Lf?u.Nf():r.Lf&&e.Lf&&u.Ff()};r.qf(o),e.qf(o),r.Vf(o),e.Vf(o),n.jf(u),i.jf(u);return u.Vf(function(){r.Uf(o),e.Uf(o),r.Wf(o),e.Wf(o)}),[n,i]},n[e]=function(){this.Gf()},t.Kf=function(n){for(var i,r=new t,e=lt(n);!(i=e()).done;){var u=i.value;void 0!==u&&r.jf(u)}return r},ct(t,[{key:"Xf",get:function(){return this.zf}}]),t}(),Lt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];w.apply(this,n)};(Lt.prototype=k.create(w.prototype)).constructor=Lt;var Wt=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}(Lt);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.Jf)}function Kt(t){var n=p.clz32(t&-t);return t?31-n:n}Gt.prototype.Jf,k.defineProperty(Gt.prototype,"Jf",{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.$f=void 0,this.k_=!1,this.tn=wn,this.te=!1,this.Yf=!0}var n=t.prototype;return n.t_=function(){return 0},n.y_=function(t,n){return!0},n.A_=function(t){return t>=2*_n},ct(t,[{key:"Zf",get:function(){return void 0===this.$f&&(this.$f=this.t_()),this.$f}},{key:"i_",get:function(){return Ot.Cd?"android":Ot.Ad?"macos":Ot.Ud?"ios":Ot.Td?"windows":"other"}},{key:"e_",get:function(){return Ot.ef?"tv":Ot.te?"mobile":"desktop"}},{key:"s_",get:function(){return!Ot.ef}},{key:"n_",get:function(){if(c.screen)return{width:c.screen.width*this.r_,height:c.screen.height*this.r_}}},{key:"r_",get:function(){return c.devicePixelRatio||1}},{key:"o_",get:function(){return kn}},{key:"h_",get:function(){return!1}},{key:"a_",get:function(){return!0}},{key:"u_",get:function(){return!!(Ot.Gl||Ot.Ud||Ot.dl)||!!Ot.Bl}},{key:"c_",get:function(){return Ot.Bl}},{key:"d_",get:function(){return!Ot.Ud}},{key:"l_",get:function(){return!0}},{key:"f_",get:function(){return!0}},{key:"__",get:function(){return!1}},{key:"v_",get:function(){}},{key:"g_",get:function(){return!0}},{key:"m_",get:function(){return!1}},{key:"w_",get:function(){return Ot.Bl}},{key:"p_",get:function(){return!1}},{key:"b_",get:function(){return!1}},{key:"T_",get:function(){return!1}},{key:"S_",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.y_=function(t,n){if(t&&t.E_&&n&&n.E_){var i=bn(t.E_,"mp4a.40.2")&&bn(n.E_,"mp4a.40.5"),r=bn(t.E_,"mp4a.40.5")&&bn(n.E_,"mp4a.40.2"),e=bn(t.E_,"mp4a.40.2")&&bn(n.E_,"mp4a.40.34"),u=bn(t.E_,"mp4a.40.34")&&bn(n.E_,"mp4a.40.2"),o=bn(t.E_,"mp4a.40.5")&&bn(n.E_,"mp4a.40.34"),f=bn(t.E_,"mp4a.40.34")&&bn(n.E_,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},ct(n,[{key:"v_",get:function(){if(Ot.Ad)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.A_=function(t){return t>=2},n}(Sn),En=function(t){function n(){var n;return(n=t.call(this)||this).k_=Ot.Ql>=11,n.Yf=Ot.Gl&&!(Ot.Ud&&Ot.Ql<10),n}return st(n,t),ct(n,[{key:"p_",get:function(){return Ot.Ql<17}},{key:"b_",get:function(){return!0}}]),n}(Sn),On=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"g_",get:function(){return!(Ot.ol>=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.Md)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).C_=void 0,i.C_=n,i.k_=i.C_.k_,i.tn=i.C_.tn,i.Yf=Rn&&i.C_.Yf,i}st(n,t);var i=n.prototype;return i.t_=function(){return this.C_.Zf},i.y_=function(t,n){return this.C_.y_(t,n)},i.A_=function(t){return this.C_.A_(t)},ct(n,[{key:"v_",get:function(){return this.C_.v_}},{key:"g_",get:function(){return this.C_.g_}},{key:"p_",get:function(){return this.C_.p_}}]),n}(pn),Dn=function(t){function n(n){var i;return(i=t.call(this,n)||this).k_=!0,i.te=!0,i}return st(n,t),ct(n,[{key:"__",get:function(){return Ot.Ud}}]),n}(Tn);var Nn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.t_=function(){return function(t){return t&&Dt(c.ManagedMediaSource)?c.ManagedMediaSource:Dt(c.MediaSource)?c.MediaSource:void 0}(!0)?t.prototype.t_.call(this):1},ct(n,[{key:"__",get:function(){return!0}}]),n}(Dn),Fn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).R_=void 0,n}return st(n,t),n.prototype.y_=function(n,i){return t.prototype.y_.call(this,n,i)},ct(n,[{key:"h_",get:function(){return Ot.wl<3}},{key:"a_",get:function(){return Ot.wl>=3}},{key:"n_",get:function(){var t=this;return c.tizen&&!this.R_&&c.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.R_={width:i,height:r})}),this.R_}},{key:"m_",get:function(){return Ot.wl<3}}]),n}(Tn),Bn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).R_=void 0,n}return st(n,t),ct(n,[{key:"n_",get:function(){var t=this;return c.webOS&&!this.R_&&c.webOS.deviceInfo(function(n){t.R_={width:n.screenWidth,height:n.screenHeight}}),this.R_}},{key:"l_",get:function(){return!1}}]),n}(Tn),Pn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"__",get:function(){return!0}},{key:"b_",get:function(){return this.C_.b_}}]),n}(Tn),Mn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"T_",get:function(){return Ot.IS_FIRETV_AFTMM}}]),n}(Tn);!function(t){mn=t}(function(){var t=function(){if(Ot.Vl)return new In;if(Ot.Nl||Ot.Ll)return new An;if(Ot.Gl)return new En;if(Ot.kf)return new On;return new Sn}();return Ot.Ud?new Nn(t):Ot.Il?new Mn(t):Ot.te?new Dn(t):Ot._l?new Fn(t):Ot.Al?new Bn(t):Ot.Ad?new Pn(t):new Tn(t)}());var Vn=!(Ot.Ll&&!Ot.Fl),Cn=self.console;function Hn(t){if(Tt(t))try{return JSON.stringify(t)}catch(t){}return t}function Ln(t){return t.map(Hn).join(" ")}function Wn(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](Ln(i))}:void 0}var xn=Wn("log")||Nt,jn=Wn("debug")||xn.bind(void 0,"DEBUG:"),Un=Wn("warn")||xn.bind(void 0,"WARNING:"),Gn=Wn("error")||xn.bind(void 0,"ERROR:"),zn=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,Ln(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||Gn.apply(void 0,[].concat(["Assertion failed:"],i))}}();function Kn(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 Xn(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){$n(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&$n(i,null,t.length,t),t}function $n(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 qn=/[a-zA-Z]/,Zn=/[0-9]/,Yn=/[0-9a-fA-F]/,Jn=/^0x/i,Qn=/^[0-9]+$/,ti=/^[0-9a-fA-F]+$/,ni=/^[0-7]+$/,ii=k.prototype.toString,ri=Array.isArray||function(t){return"[object Array]"===ii.call(t)},ei=void 0!==n&&"symbol"==typeof r;function ui(t){return ri(t)?t:Array.from(t)}function oi(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function fi(t){return t>=65&&t<=90}function si(t){return fi(t)||function(t){return t>=97&&t<=122}(t)}function hi(t){return t>=48&&t<=57}function ci(t){return hi(t)||si(t)}function ai(t){return hi(t)||t>=65&&t<=70||t>=97&&t<=102}function li(t){return fi(t)?t+32:t}function vi(t){return hi(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function di(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var yi=p.min,_i=String.fromCharCode;function wi(t){for(var n=t.length,i=[],r=0;r<n;r+=16384){var e=yi(r+16384,n);i.push(_i.apply(null,t.slice(r,e)))}return i.join("")}var gi=2147483647,ki=/[^\0-\x7E]/,pi=/[\x2E\u3002\uFF0E\uFF61]/g,Si={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ii=p.floor,bi=String.fromCharCode;function mi(t){throw new RangeError(Si[t])}function Ai(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 Ei,Oi,Ri,Ti=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Di=function(t,n,i){var r=0;for(t=i?Ii(t/700):t>>1,t+=Ii(t/n);t>455;r+=36)t=Ii(t/35);return Ii(r+36*t/(t+38))},Ni=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(pi,".")).split("."),n).join(".");return r+e}(t,function(t){return ki.test(t)?"xn--"+function(t){for(var n=[],i=(t=Ai(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(bi(s))}var h=n.length,c=h;for(h&&n.push("-");c<i;){for(var a=gi,l=0,v=t;l<v.length;l++){var d=v[l];d>=r&&d<a&&(a=d)}var y=c+1;a-r>Ii((gi-e)/y)&&mi("overflow"),e+=(a-r)*y,r=a;for(var _=0,w=t;_<w.length;_++){var g=w[_];if(g<r&&++e>gi&&mi("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(bi(Ti(S+I%b,0))),k=Ii(I/b)}n.push(bi(Ti(k,0))),u=Di(e,y,c==h),e=0,++c}}++e,++r}return n.join("")}(t):t})};function Fi(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 wi(n)}function Bi(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 Mi(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))):(Bi(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 Vi(t){for(var n=[],i=0;i<t.length;i++){Mi(t[i],n)}return n}function Ci(){if(Ri>=Oi)throw new w("Invalid byte index");var t=255&Ei[Ri];if(Ri++,128==(192&t))return 63&t;throw new w("Invalid continuation byte")}function Hi(){var t,n;if(Ri>Oi)throw new w("Invalid byte index");if(Ri===Oi)return!1;if(t=255&Ei[Ri],Ri++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Ci())>=128)return n;throw new w("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Ci()<<6|Ci())>=2048)return Bi(n),n;throw new w("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Ci()<<12|Ci()<<6|Ci())>=65536&&n<=1114111)return n;throw new w("Invalid UTF-8 detected")}function Li(t){return[37,di(t>>4),di(15&t)]}function Wi(t){return function(t){return t>=0&&t<=31}(t)||t>126}function xi(t){return Wi(t)||32===t||34===t||60===t||62===t||96===t}function ji(t){return xi(t)||35===t||63===t||123===t||125===t}function Ui(t){return ji(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Gi(t){return t<33||t>126||34===t||35===t||60===t||62===t}function zi(t){return Gi(t)||39===t}function Ki(t,n){if(!n(t))return[t];for(var i=Vi([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Li(u))}return r}function Xi(t,n){for(var i=[],r=0,e=Ai(t);r<e.length;r++){var u=e[r];i.push.apply(i,Ki(u,n))}return Fi(i)}function $i(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&&ai(t[r+1])&&ai(t[r+2])){var u=vi(t[r+1])<<4|vi(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Vi(t))}function qi(t){return Fi(function(t){Ei=t.slice(),Oi=Ei.length,Ri=0;for(var n,i=[];!1!==(n=Hi());)i.push(n);return i}($i(Ai(t))))}function Zi(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&&Yn.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(!Zn.test(t[u]))throw new g;for(;u<n&&Zn.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;)oi(i,r,e+a-1),r-=1,a-=1}else if(8!==r)throw new g;return i}function Yi(t){var n=10,i=Qn;return Jn.test(t)?(t=t.slice(2),n=16,i=ti):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=ni),""===t?0:i.test(t)?S(t,n):void 0}var Ji={B_:4},Qi=/[\0\t\n\r #%/:?@\[\\\]]/,tr=/[\0\t\n\r #/:?@\[\\\]]/;function nr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{B_:2,D_:Zi(t.slice(1,-1))}}if(!n)return function(t){if(tr.test(t))throw new g("Invalid code point in opaque host");var n=Xi(t,Wi);return""===n?Ji:{B_:3,N_:n}}(t);var i=function(t){var n=function(t){return Ni(t.toLowerCase())}(t);return n}(qi(t));if(Qi.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=Yi(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?{B_:1,D_:r}:""===i?Ji:{B_:0,O_:i}}function ir(t){switch(t.B_){case 0:return t.O_;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.D_);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.D_)+"]";case 3:return t.N_;case 4:return""}}var rr=/\+/g;function er(t){return 42===t||45===t||46===t||95===t||ci(t)}function ur(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(rr," "),f=f.replace(rr," ");var s=qi(o),h=qi(f);i.push([s,h])}}return i}function or(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=fr(Vi(Ai(r[0])))+"="+fr(Vi(Ai(r[1])))}return n}function fr(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];32===r?n.push(43):er(r)?n.push(r):n.push.apply(n,Li(r))}return wi(n)}var sr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function hr(t){var n=""+t,i=sr.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(ar(u))if(lr(u)||e===i-1)r.push(cr);else{var o=t.charCodeAt(e+1);lr(o)?(r.push(u,o),e++):r.push(cr)}else r.push(u)}return t.slice(0,n)+wi(r)}(n,i.index):n}var cr=65533,ar=function(t){return 55296==(63488&t)},lr=function(t){return!!(1024&t)};function vr(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function dr(t){t.L_.length=0}function yr(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.L_,ur(n))}function _r(t){if(t.M_){var n=or(t.L_);""===n&&(n=null),t.M_.M_.F_=n}}var wr=function(){function t(t){if(void 0===t&&(t=void 0),this.M_=null,null==t)this.L_=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof wr&&!!ri(t.L_)&&(!ei||t[r]===gr)}(t))this.L_=t.L_.slice();else if(function(t){return null!=t&&(!!ri(t)||!!ei&&"function"==typeof t[r])}(t)){this.L_=[];for(var n=0,i=ui(t);n<i.length;n++){var e=ui(i[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.L_.push([hr(e[0]),hr(e[1])])}}else for(var u in this.L_=[],t)k.prototype.hasOwnProperty.call(t,u)&&this.L_.push([hr(u),hr(t[u])]);else(t=hr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.L_=ur(t)}var n=t.prototype;return n.append=function(t,n){t=hr(t),n=hr(n),this.L_.push([t,n]),_r(this)},n.delete=function(t){t=hr(t);for(var n=this.L_,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}_r(this)},n.get=function(t){t=hr(t);for(var n=this.L_,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=hr(t);for(var n=this.L_,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=hr(t);for(var n=this.L_,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=hr(t),n=hr(n);for(var i=this.L_,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]),_r(this)},n.sort=function(){Xn(this.L_,vr),_r(this)},n.toString=function(){return or(this.L_)},n.entries=function(){return new Ir(this.L_,kr)},n.keys=function(){return new Ir(this.L_,pr)},n.values=function(){return new Ir(this.L_,Sr)},n.forEach=function(t){var n=this;this.L_.forEach(function(i){return t(i[1],i[0],n)})},t}(),gr=wr.prototype.entries;ei&&(wr.prototype[r]=gr);var kr=function(t){return[t[0],t[1]]},pr=function(t){return t[0]},Sr=function(t){return t[1]},Ir=function(){function t(t,n){this.H_=0,this.L_=t,this.q_=n}return t.prototype.next=function(){return this.H_<this.L_.length?{done:!1,value:this.q_(this.L_[this.H_++])}:{done:!0,value:void 0}},t}(),br="null";var mr=k.create(null);mr.ftp=21,mr.file=0,mr.gopher=70,mr.http=80,mr.https=443,mr.ws=80,mr.wss=443;var Ar=/^(?:\.|%2e)$/i,Er=/^(?:\.|%2e){2}$/i;function Or(t){return Ar.test(t)}function Rr(t){return Er.test(t)}function Tr(t){return void 0!==mr[t]}function Dr(t){return Tr(t.U_)}function Nr(t){return""!==t.V_||""!==t.W_}function Fr(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 Br(t){return 2===t.length&&qn.test(t[0])&&(":"===t[1]||"|"===t[1])}function Pr(t){return 2===t.length&&Br(wi(t))}function Mr(t){return Br(t)&&":"===t[1]}function Vr(t){var n=t.X_;0!==n.length&&("file"===t.U_&&1===n.length&&Mr(n[0])||n.pop())}function Cr(t){return null===t.z_||Ji===t.z_||t.G_||"file"===t.U_}var Hr=-1,Lr=/\t|\n|\r/g,Wr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function xr(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ur,t=t.replace(Wr,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,h=Ai(t=t.replace(Lr,"")),c=h.length,a=0;a<=c;){var l=a<c?h[a]:Hr;switch(e){case 0:if(!si(l)){if(null===r){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(li(l)),e=1;break;case 1:if(ci(l)||43===l||45===l||46===l)u.push(li(l));else{if(58!==l){if(null===r){u.length=0,e=2,a=0;continue}throw new g("Invalid scheme")}var v=Fi(u);if(null!==r){if(Tr(i.U_)&&!Tr(v))return;if(!Tr(i.U_)&&Tr(v))return;if((Nr(i)||null!==i.j_)&&"file"===v)return;if("file"===i.U_&&(i.z_===Ji||null===i.z_))return}if(i.U_=v,null!==r)return void(Dr(i)&&i.j_===mr[i.U_]&&(i.j_=null));u.length=0,"file"===i.U_?e=13:Dr(i)&&n&&n.U_===i.U_?e=3:Dr(i)?e=7:47===h[a+1]?(e=4,a+=1):(i.G_=!0,i.X_.push(""),e=18)}break;case 2:if(!n||n.G_&&35!==l)throw new g("Invalid scheme");n.G_&&35===l?(i.U_=n.U_,i.X_=n.X_.slice(),i.F_=n.F_,i.Q_="",i.G_=!0,e=20):"file"!==n.U_?(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.U_=n.U_,Hr===l?(i.V_=n.V_,i.W_=n.W_,i.z_=n.z_,i.j_=n.j_,i.X_=n.X_.slice(),i.F_=n.F_):47===l?e=6:63===l?(i.V_=n.V_,i.W_=n.W_,i.z_=n.z_,i.j_=n.j_,i.X_=n.X_.slice(),i.F_="",e=19):35===l?(i.V_=n.V_,i.W_=n.W_,i.z_=n.z_,i.j_=n.j_,i.X_=n.X_.slice(),i.F_=n.F_,i.Q_="",e=20):92===l&&Dr(i)?e=6:(i.V_=n.V_,i.W_=n.W_,i.z_=n.z_,i.j_=n.j_,i.X_=n.X_.slice(),i.X_.pop(),e=17,a-=1);break;case 6:!Dr(i)||47!==l&&92!==l?47===l?e=9:(i.V_=n.V_,i.W_=n.W_,i.z_=n.z_,i.j_=n.j_,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 _=Fi(Ki(y,Ui));s?i.W_+=_:i.V_+=_}else s=!0}u.length=0}else if(Hr===l||47===l||63===l||35===l||Dr(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.U_)a-=1,e=15;else if(58!==l||f)if(Hr===l||47===l||63===l||35===l||Dr(i)&&92===l){if(a-=1,Dr(i)&&0===u.length)throw new g("Invalid host");if(null!==r&&0===u.length&&(Nr(i)||null!==i.j_))return;var w=nr(Fi(u),Dr(i));if(i.z_=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=nr(Fi(u),Dr(i));if(i.z_=k,u.length=0,e=12,11===r)return}break;case 12:if(hi(l))u.push(l);else{if(!(Hr===l||47===l||63===l||35===l||Dr(i)&&92===l||null!==r))throw new g("Invalid port");if(0!==u.length){var p=S(Fi(u),10);if(p>65535)throw new g("Invalid port");i.j_=p===mr[i.U_]?null:p,u.length=0}if(null!==r)return;e=16,a-=1}break;case 13:i.U_="file",47===l||92===l?e=14:n&&"file"===n.U_?Hr===l?(i.z_=n.z_,i.X_=n.X_.slice(),i.F_=n.F_):63===l?(i.z_=n.z_,i.X_=n.X_.slice(),i.F_="",e=19):35===l?(i.z_=n.z_,i.X_=n.X_.slice(),i.F_=n.F_,i.Q_="",e=20):(Fr(h.slice(a))||(i.z_=n.z_,i.X_=n.X_.slice(),Vr(i)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.U_&&!Fr(h.slice(a))&&(Mr(n.X_[0])?i.X_.push(n.X_[0]):i.z_=n.z_),e=17,a-=1);break;case 15:if(Hr===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.z_=Ji,null!==r)return;e=16}else{var I=nr(Fi(u),Dr(i));if(0===I.B_&&"localhost"===I.O_&&(I=Ji),i.z_=I,null!==r)return;u.length=0,e=16}else u.push(l);break;case 16:Dr(i)?(e=17,47!==l&&92!==l&&(a-=1)):null===r&&63===l?(i.F_="",e=19):null===r&&35===l?(i.Q_="",e=20):Hr!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Hr===l||47===l||Dr(i)&&92===l||null===r&&(63===l||35===l)){var b=Fi(u);if(Rr(b)?(Vr(i),47===l||Dr(i)&&92===l||i.X_.push("")):!Or(b)||47===l||Dr(i)&&92===l?Or(b)||("file"===i.U_&&0===i.X_.length&&Pr(u)&&(Ji!==i.z_&&null!==i.z_&&(i.z_=Ji),u[1]=58,b=Fi(u)),i.X_.push(b)):i.X_.push(""),u.length=0,"file"===i.U_&&(Hr===l||63===l||35===l))for(;i.X_.length>1&&""===i.X_[0];)i.X_.shift();63===l?(i.F_="",e=19):35===l&&(i.Q_="",e=20)}else u.push.apply(u,Ki(l,ji));break;case 18:63===l?(i.F_="",e=19):35===l?(i.Q_="",e=20):Hr!==l&&(i.X_[0]+=Fi(Ki(l,Wi)));break;case 19:null===r&&35===l?(i.Q_="",e=20):Hr!==l&&(i.F_+=Fi(Ki(l,Dr(i)?zi:Gi)));break;case 20:Hr===l||0===l||(i.Q_+=Fi(Ki(l,xi)))}a++}return i}function jr(t,n,i,r){try{xr(t,n,i,r)}catch(t){}}var Ur=function(){this.U_="",this.V_="",this.W_="",this.z_=null,this.j_=null,this.X_=[],this.F_=null,this.Q_=null,this.G_=!1};function Gr(t){switch(t.U_){case"blob":var n;try{n=xr(t.X_[0],null)}catch(t){return br}return Gr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,i){return t+"://"+ir(n)+(null===i?"":":"+i)}(t.U_,t.z_,t.j_);default:return br}}var zr=function(){function t(t,n){var i,r=null;if(null!=n)if(function(t){return null!=t&&t instanceof zr&&"object"==typeof t.M_}(n))r=n.M_;else try{r=xr(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{i=xr(String(t),r)}catch(t){throw new g("Invalid URL: "+t.message)}var e=i.F_;this.M_=i,this.F_=function(t){var n=new wr;return null!==t&&yr(n,t),n}(e),this.F_.M_=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,i){n&&Kn(t.prototype,n),i&&Kn(t,i)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.U_+":";if(null!==t.z_?(i+="//",Nr(t)&&(i+=t.V_,""!==t.W_&&(i+=":"+t.W_),i+="@"),i+=ir(t.z_),null!==t.j_&&(i+=":"+t.j_)):null===t.z_&&"file"===t.U_&&(i+="//"),t.G_)i+=t.X_[0];else for(var r=0,e=t.X_;r<e.length;r++)i+="/"+e[r];return null!==t.F_&&(i+="?"+t.F_),n||null===t.Q_||(i+="#"+t.Q_),i}(this.M_)},set:function(t){var n;try{n=xr(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.M_=n,dr(this.F_);var i=this.M_.F_;null!==i&&yr(this.F_,i)}},{key:"origin",get:function(){return Gr(this.M_)}},{key:"protocol",get:function(){return this.M_.U_+":"},set:function(t){jr(t+":",null,this.M_,0)}},{key:"username",get:function(){return this.M_.V_},set:function(t){Cr(this.M_)||(this.M_.V_=Xi(t,Ui))}},{key:"password",get:function(){return this.M_.W_},set:function(t){Cr(this.M_)||(this.M_.W_=Xi(t,Ui))}},{key:"host",get:function(){var t=this.M_,n=t.z_;if(null===n)return"";var i=t.j_,r=ir(n);return null!==i&&(r+=":"+i),r},set:function(t){this.M_.G_||jr(t,null,this.M_,10)}},{key:"hostname",get:function(){var t=this.M_.z_;return null===t?"":ir(t)},set:function(t){this.M_.G_||jr(t,null,this.M_,11)}},{key:"port",get:function(){var t=this.M_.j_;return null===t?"":""+t},set:function(t){Cr(this.M_)||(""===t?this.M_.j_=null:jr(t,null,this.M_,12))}},{key:"pathname",get:function(){var t=this.M_.X_;return this.M_.G_?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.M_.G_||(this.M_.X_.length=0,jr(t,null,this.M_,16))}},{key:"search",get:function(){var t=this.M_.F_;return null===t||""===t?"":"?"+t},set:function(t){t=hr(t);var n=this.M_;if(""===t)return n.F_=null,void dr(this.F_);"?"===t[0]&&(t=t.slice(1)),n.F_="",jr(t,null,n,19),yr(this.F_,t)}},{key:"searchParams",get:function(){return this.F_}},{key:"hash",get:function(){var t=this.M_.Q_;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.M_.Q_="",jr(t,null,this.M_,20)):this.M_.Q_=null}}]),t}();function Kr(t){return t.document&&t.document.baseURI||t.location.href||""}var Xr=function(){function t(){this.If=void 0,this.Av=new $r,this.Sv=mn,this.Tv=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.If=function(){return self.performance.now()}:this.If=yn}var n=t.prototype;return n.K_=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.Y_=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.J_=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.Z_=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Gn.apply(void 0,[].concat(n))},n.ev=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];zn.apply(void 0,[].concat([t],i))},n.Rf=function(t,n){return v(t,n)},n.rv=function(t,n){return y(t,n)},n.xf=function(t){d(t)},n.ov=function(t){_(t)},n.hv=function(){return this.uv.hv()},n.fv=function(){return this.uv.fv()},n._v=function(){return this.uv._v()},n.vv=function(){return this.uv.vv()},n.mv=function(){return this.uv.mv()},n.wv=function(t,n){return this.uv.wv(t,n)},n.pv=function(t){return this.uv.pv(t)},n.Oh=function(t,n){var i;return void 0===n&&(n=Kr(c)),i="object"!==(void 0===n?"undefined":E(n))||A(n,zr)?n:n.href,new zr(t,i)},n.bv=function(t,n){if(void 0===n&&(n=Kr(c)),this.Tv){var i=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,i).href}return this.Oh(t,n).href},ct(t,[{key:"yv",get:function(){return this.Av}},{key:"ie",get:function(){return this.Sv}},{key:"Ev",get:function(){return{Cv:l&&l.userAgent.match(/Android /i)?"Android":"other",Pv:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"Iv",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"xv",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),$r=function(){function t(){}return ct(t,[{key:"Rv",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"Bv",get:function(){return l.vendor}},{key:"Dv",get:function(){return l.vendorSub}}]),t}();var qr=function(){function t(){}var n=t.prototype;return n.mv=function(){return Q.resolve(!1)},n.fv=function(){return Q.resolve(!1)},n.vv=function(){return Q.resolve(!1)},n._v=function(){return Q.resolve(!1)},n.pv=function(t){return Q.resolve(!1)},n.wv=function(t,n){return Q.resolve(!1)},n.hv=function(){return Q.resolve(!1)},t}(),Zr=function(){function t(){}var n=t.prototype;return n.FA=function(){},n.Km=function(t){},n.Gm=function(t){},n.jm=function(t,n){},t}(),Yr=function(t){return t.qA="arraybuffer",t.UA="json",t.VA="stream",t.WA="text",t}({});var Jr=function(){function t(n){var i=this;if(this.Mv=void 0,this.Mv={},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=Qr(i),r=te(r);var e=i.toLowerCase();if(this.Mv.hasOwnProperty(e)){var u=this.Mv[e],o=u[1];u[1]=o?o+", "+r:r}else this.Mv[e]=[i,r]},n.delete=function(t){var n=Qr(t).toLowerCase();delete this.Mv[n]},n.get=function(t){var n=Qr(t).toLowerCase();return this.Mv.hasOwnProperty(n)?this.Mv[n][1]:null},n.has=function(t){var n=Qr(t).toLowerCase();return this.Mv.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Qr(i)).toLowerCase();this.Mv[r]=[i,te(n)]},n.forEach=function(t,n){for(var i in this.Mv)this.Mv.hasOwnProperty(i)&&t.call(n,this.Mv[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Mv)if(this.Mv.hasOwnProperty(n)){var i=this.Mv[n],r=i[0],e=i[1];t.push([r,e])}return t},n.XA=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.zA=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.GA=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Qr(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 te(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var ne=function(t,n){this.$A=void 0,this.Tb=void 0,this.Kb=void 0,this.Ab=void 0,this.Yb=void 0,this.Jb=void 0,this.Xf=void 0,this.Xv=void 0,this.Zb=void 0,this.$b=void 0,this.Cb=void 0,this.tT=void 0,this.iT=void 0,this.eT=void 0,this.sT=void 0,this.nT=void 0;var i,r,e,u,o,f,s,h,c,a,l,v,d,y,_,w,g,k,p=t.Cb;n?(i=n.$A,r=n.Tb,e=n.Kb,u=n.Ab,o=n.Yb,f=n.Jb,s=n.Xf,h=n.Xv,c=n.Zb,a=n.$b,l=n.tT,v=n.iT,d=n.eT,y=n.sT,_=n.nT):(i=null,r={},e="GET",u=Yr.WA,o=0,f=0,h="",c="",a="",l=!1,d=void 0,y=!1,_=void 0),this.Cb=p,this.$A=t.$A||i,this.Tb=new Jr(t.Tb||r),this.Kb=t.Kb||e,this.Ab=t.Ab||u,this.Yb=void 0!==t.Yb?Number(t.Yb)||0:o,this.Jb=void 0!==t.Jb?Number(t.Jb)||0:f,this.Xf=t.Xf||s||(new Ht).Xf,this.Xv=t.Xv||h,this.Zb=t.Zb||c,this.$b=t.$b||a,this.tT=void 0!==t.tT?Boolean(t.tT):l,this.iT=t.iT||v,this.eT=null!=(w=t.eT)?w:d,this.sT=null!=(g=t.sT)?g:y,this.nT=null!=(k=t.nT)?k:_},ie=function(t){return t.fT="HttpOpenError",t._T="HttpResponseError",t.vT="HttpTimeoutError",t}({}),re=function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).gT=void 0,e.gT=n,e}return st(n,t),ct(n,[{key:"bb",get:function(){return this.gT}}]),n}(Wt),ee=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.Cb+".",i)||this}return st(n,t),ct(n,[{key:"name",get:function(){return ie.fT}}]),n}(re),ue=function(){function t(){}var n=t.prototype;return n.bb=function(t){return Q.reject(new ee(new ne(t)))},n.rT=function(t){},n.jn=function(){},t}(),oe=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return st(n,t),n}(Wt),fe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).wS=new qr,n.OH=new ue,n.i=new Zr,n}return st(n,t),n.prototype.jT=function(t){throw new oe},ct(n,[{key:"uv",get:function(){return this.wS}},{key:"pS",get:function(){return!1}},{key:"AS",get:function(){return!1}},{key:"kS",get:function(){return!1}},{key:"TS",get:function(){return!1}},{key:"ES",get:function(){return this.i}},{key:"CS",get:function(){return{PS:Nt}}},{key:"IS",get:function(){return"default"}},{key:"xS",get:function(){return"unknown"}},{key:"RS",get:function(){return!0}},{key:"DS",get:function(){return this.OH}},{key:"OS",get:function(){return!1}}]),n}(Xr);!function(t){0}(new fe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
//# sourceMappingURL=theoplayer.sw.js.map