@volcengine/veplayer 1.6.4 → 2.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -45
- package/esm/index.d.ts +1405 -0
- package/esm/veplayer.biz.live.development.css +41 -0
- package/esm/veplayer.biz.live.development.js +3157 -0
- package/esm/veplayer.biz.live.production.css +1 -0
- package/esm/veplayer.biz.live.production.js +2 -0
- package/esm/veplayer.biz.vod.development.js +13 -0
- package/esm/veplayer.biz.vod.production.js +2 -0
- package/esm/veplayer.d.ts +3071 -0
- package/esm/veplayer.development.css +743 -0
- package/esm/veplayer.development.js +21023 -0
- package/esm/veplayer.live.d.ts +3074 -0
- package/esm/veplayer.live.development.css +743 -0
- package/esm/veplayer.live.development.js +21022 -0
- package/esm/veplayer.live.production.css +1 -0
- package/esm/veplayer.live.production.js +11 -0
- package/esm/veplayer.production.css +1 -0
- package/esm/veplayer.production.js +11 -0
- package/esm/veplayer.vod.d.ts +1405 -0
- package/esm/veplayer.vod.development.css +702 -0
- package/esm/veplayer.vod.development.js +13104 -0
- package/esm/veplayer.vod.production.css +1 -0
- package/esm/veplayer.vod.production.js +11 -0
- package/package.json +78 -6
- package/umd/index.d.ts +1405 -0
- package/umd/veplayer.biz.live.development.css +41 -0
- package/umd/veplayer.biz.live.development.js +3169 -0
- package/umd/veplayer.biz.live.production.css +1 -0
- package/umd/veplayer.biz.live.production.js +1 -0
- package/umd/veplayer.biz.vod.development.js +29 -0
- package/umd/veplayer.biz.vod.production.js +1 -0
- package/umd/veplayer.d.ts +3071 -0
- package/umd/veplayer.development.css +743 -0
- package/umd/veplayer.development.js +21026 -0
- package/umd/veplayer.live.d.ts +3074 -0
- package/umd/veplayer.live.development.css +743 -0
- package/umd/veplayer.live.development.js +21034 -0
- package/umd/veplayer.live.production.css +1 -0
- package/umd/veplayer.live.production.js +1 -0
- package/umd/veplayer.production.css +1 -0
- package/umd/veplayer.production.js +1 -0
- package/umd/veplayer.vod.d.ts +1405 -0
- package/umd/veplayer.vod.development.css +702 -0
- package/umd/veplayer.vod.development.js +13119 -0
- package/umd/veplayer.vod.production.css +1 -0
- package/umd/veplayer.vod.production.js +1 -0
- package/index.d.ts +0 -3256
- package/index.min.css +0 -1
- package/index.min.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.xgplayer .veplayer-refresh{margin-left:12px}.veplayer-live-panel{position:absolute;z-index:8;display:none;box-sizing:border-box;width:165px;height:100%;padding:10px;overflow-y:scroll;color:#fff;font-weight:400;font-size:12px;background:rgba(0,0,0,.5);scrollbar-width:none;-ms-overflow-style:none}.veplayer-live-panel::-webkit-scrollbar{display:none}.veplayer-live-panel-row{display:block;overflow:hidden;line-height:20px;white-space:nowrap;text-overflow:ellipsis}.veplayer-live-panel-row-label{display:inline-block;width:70px;color:#c9cdd4}.veplayer-live-panel-row-title{display:inline-block;padding-top:30px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).__VEPLAYER_BIZ_LIVE__={})}(this,(function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n=function(e){return e&&e.Math==Math&&e},i=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||t||Function("return this")(),o=function(e){try{return!!e()}catch(t){return!0}},a=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),s=a,l=Function.prototype,c=l.apply,u=l.call,f="object"==typeof Reflect&&Reflect.apply||(s?u.bind(c):function(){return u.apply(c,arguments)}),h=a,p=Function.prototype,d=p.call,g=h&&p.bind.bind(d,d),v=h?g:function(e){return function(){return d.apply(e,arguments)}},y=v,m=y({}.toString),_=y("".slice),w=function(e){return _(m(e),8,-1)},b=w,S=v,k=function(e){if("Function"===b(e))return S(e)},P="object"==typeof document&&document.all,T={all:P,IS_HTMLDDA:void 0===P&&void 0!==P},E=T.all,O=T.IS_HTMLDDA?function(e){return"function"==typeof e||e===E}:function(e){return"function"==typeof e},x={},I=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),R=a,C=Function.prototype.call,j=R?C.bind(C):function(){return C.apply(C,arguments)},A={},L={}.propertyIsEnumerable,M=Object.getOwnPropertyDescriptor,D=M&&!L.call({1:2},1);A.f=D?function(e){var t=M(this,e);return!!t&&t.enumerable}:L;var F,N,z=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},V=o,U=w,B=Object,W=v("".split),K=V((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==U(e)?W(e,""):B(e)}:B,q=function(e){return null==e},G=q,H=TypeError,Q=function(e){if(G(e))throw H("Can't call method on "+e);return e},X=K,J=Q,Y=function(e){return X(J(e))},$=O,Z=T.all,ee=T.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:$(e)||e===Z}:function(e){return"object"==typeof e?null!==e:$(e)},te={},re=te,ne=i,ie=O,oe=function(e){return ie(e)?e:void 0},ae=function(e,t){return arguments.length<2?oe(re[e])||oe(ne[e]):re[e]&&re[e][t]||ne[e]&&ne[e][t]},se=v({}.isPrototypeOf),le="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=i,ue=le,fe=ce.process,he=ce.Deno,pe=fe&&fe.versions||he&&he.version,de=pe&&pe.v8;de&&(N=(F=de.split("."))[0]>0&&F[0]<4?1:+(F[0]+F[1])),!N&&ue&&(!(F=ue.match(/Edge\/(\d+)/))||F[1]>=74)&&(F=ue.match(/Chrome\/(\d+)/))&&(N=+F[1]);var ge=N,ve=ge,ye=o,me=i.String,_e=!!Object.getOwnPropertySymbols&&!ye((function(){var e=Symbol();return!me(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),we=_e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=ae,Se=O,ke=se,Pe=Object,Te=we?function(e){return"symbol"==typeof e}:function(e){var t=be("Symbol");return Se(t)&&ke(t.prototype,Pe(e))},Ee=String,Oe=function(e){try{return Ee(e)}catch(t){return"Object"}},xe=O,Ie=Oe,Re=TypeError,Ce=function(e){if(xe(e))return e;throw Re(Ie(e)+" is not a function")},je=Ce,Ae=q,Le=function(e,t){var r=e[t];return Ae(r)?void 0:je(r)},Me=j,De=O,Fe=ee,Ne=TypeError,ze={exports:{}},Ve=i,Ue=Object.defineProperty,Be=function(e,t){try{Ue(Ve,e,{value:t,configurable:!0,writable:!0})}catch(r){Ve[e]=t}return t},We="__core-js_shared__",Ke=i[We]||Be(We,{}),qe=Ke;(ze.exports=function(e,t){return qe[e]||(qe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ge=ze.exports,He=Q,Qe=Object,Xe=function(e){return Qe(He(e))},Je=Xe,Ye=v({}.hasOwnProperty),$e=Object.hasOwn||function(e,t){return Ye(Je(e),t)},Ze=v,et=0,tt=Math.random(),rt=Ze(1..toString),nt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rt(++et+tt,36)},it=Ge,ot=$e,at=nt,st=_e,lt=we,ct=i.Symbol,ut=it("wks"),ft=lt?ct.for||ct:ct&&ct.withoutSetter||at,ht=function(e){return ot(ut,e)||(ut[e]=st&&ot(ct,e)?ct[e]:ft("Symbol."+e)),ut[e]},pt=j,dt=ee,gt=Te,vt=Le,yt=function(e,t){var r,n;if("string"===t&&De(r=e.toString)&&!Fe(n=Me(r,e)))return n;if(De(r=e.valueOf)&&!Fe(n=Me(r,e)))return n;if("string"!==t&&De(r=e.toString)&&!Fe(n=Me(r,e)))return n;throw Ne("Can't convert object to primitive value")},mt=TypeError,_t=ht("toPrimitive"),wt=function(e,t){if(!dt(e)||gt(e))return e;var r,n=vt(e,_t);if(n){if(void 0===t&&(t="default"),r=pt(n,e,t),!dt(r)||gt(r))return r;throw mt("Can't convert object to primitive value")}return void 0===t&&(t="number"),yt(e,t)},bt=Te,St=function(e){var t=wt(e,"string");return bt(t)?t:t+""},kt=ee,Pt=i.document,Tt=kt(Pt)&&kt(Pt.createElement),Et=function(e){return Tt?Pt.createElement(e):{}},Ot=Et,xt=!I&&!o((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),It=I,Rt=j,Ct=A,jt=z,At=Y,Lt=St,Mt=$e,Dt=xt,Ft=Object.getOwnPropertyDescriptor;x.f=It?Ft:function(e,t){if(e=At(e),t=Lt(t),Dt)try{return Ft(e,t)}catch(r){}if(Mt(e,t))return jt(!Rt(Ct.f,e,t),e[t])};var Nt=o,zt=O,Vt=/#|\.prototype\./,Ut=function(e,t){var r=Wt[Bt(e)];return r==qt||r!=Kt&&(zt(t)?Nt(t):!!t)},Bt=Ut.normalize=function(e){return String(e).replace(Vt,".").toLowerCase()},Wt=Ut.data={},Kt=Ut.NATIVE="N",qt=Ut.POLYFILL="P",Gt=Ut,Ht=Ce,Qt=a,Xt=k(k.bind),Jt=function(e,t){return Ht(e),void 0===t?e:Qt?Xt(e,t):function(){return e.apply(t,arguments)}},Yt={},$t=I&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Zt=ee,er=String,tr=TypeError,rr=function(e){if(Zt(e))return e;throw tr(er(e)+" is not an object")},nr=I,ir=xt,or=$t,ar=rr,sr=St,lr=TypeError,cr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,fr="enumerable",hr="configurable",pr="writable";Yt.f=nr?or?function(e,t,r){if(ar(e),t=sr(t),ar(r),"function"==typeof e&&"prototype"===t&&"value"in r&&pr in r&&!r[pr]){var n=ur(e,t);n&&n[pr]&&(e[t]=r.value,r={configurable:hr in r?r[hr]:n[hr],enumerable:fr in r?r[fr]:n[fr],writable:!1})}return cr(e,t,r)}:cr:function(e,t,r){if(ar(e),t=sr(t),ar(r),ir)try{return cr(e,t,r)}catch(n){}if("get"in r||"set"in r)throw lr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var dr=Yt,gr=z,vr=I?function(e,t,r){return dr.f(e,t,gr(1,r))}:function(e,t,r){return e[t]=r,e},yr=i,mr=f,_r=k,wr=O,br=x.f,Sr=Gt,kr=te,Pr=Jt,Tr=vr,Er=$e,Or=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return mr(e,this,arguments)};return t.prototype=e.prototype,t},xr=function(e,t){var r,n,i,o,a,s,l,c,u,f=e.target,h=e.global,p=e.stat,d=e.proto,g=h?yr:p?yr[f]:(yr[f]||{}).prototype,v=h?kr:kr[f]||Tr(kr,f,{})[f],y=v.prototype;for(o in t)n=!(r=Sr(h?o:f+(p?".":"#")+o,e.forced))&&g&&Er(g,o),s=v[o],n&&(l=e.dontCallGetSet?(u=br(g,o))&&u.value:g[o]),a=n&&l?l:t[o],n&&typeof s==typeof a||(c=e.bind&&n?Pr(a,yr):e.wrap&&n?Or(a):d&&wr(a)?_r(a):a,(e.sham||a&&a.sham||s&&s.sham)&&Tr(c,"sham",!0),Tr(v,o,c),d&&(Er(kr,i=f+"Prototype")||Tr(kr,i,{}),Tr(kr[i],o,a),e.real&&y&&(r||!y[o])&&Tr(y,o,a)))},Ir=w,Rr=Array.isArray||function(e){return"Array"==Ir(e)},Cr=Math.ceil,jr=Math.floor,Ar=Math.trunc||function(e){var t=+e;return(t>0?jr:Cr)(t)},Lr=function(e){var t=+e;return t!=t||0===t?0:Ar(t)},Mr=Lr,Dr=Math.min,Fr=function(e){return e>0?Dr(Mr(e),9007199254740991):0},Nr=Fr,zr=function(e){return Nr(e.length)},Vr=TypeError,Ur=function(e){if(e>9007199254740991)throw Vr("Maximum allowed index exceeded");return e},Br=St,Wr=Yt,Kr=z,qr=function(e,t,r){var n=Br(t);n in e?Wr.f(e,n,Kr(0,r)):e[n]=r},Gr={};Gr[ht("toStringTag")]="z";var Hr="[object z]"===String(Gr),Qr=Hr,Xr=O,Jr=w,Yr=ht("toStringTag"),$r=Object,Zr="Arguments"==Jr(function(){return arguments}()),en=Qr?Jr:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=$r(e),Yr))?r:Zr?Jr(t):"Object"==(n=Jr(t))&&Xr(t.callee)?"Arguments":n},tn=O,rn=Ke,nn=v(Function.toString);tn(rn.inspectSource)||(rn.inspectSource=function(e){return nn(e)});var on=rn.inspectSource,an=v,sn=o,ln=O,cn=en,un=on,fn=function(){},hn=[],pn=ae("Reflect","construct"),dn=/^\s*(?:class|function)\b/,gn=an(dn.exec),vn=!dn.exec(fn),yn=function(e){if(!ln(e))return!1;try{return pn(fn,hn,e),!0}catch(t){return!1}},mn=function(e){if(!ln(e))return!1;switch(cn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return vn||!!gn(dn,un(e))}catch(t){return!0}};mn.sham=!0;var _n=!pn||sn((function(){var e;return yn(yn.call)||!yn(Object)||!yn((function(){e=!0}))||e}))?mn:yn,wn=Rr,bn=_n,Sn=ee,kn=ht("species"),Pn=Array,Tn=function(e){var t;return wn(e)&&(t=e.constructor,(bn(t)&&(t===Pn||wn(t.prototype))||Sn(t)&&null===(t=t[kn]))&&(t=void 0)),void 0===t?Pn:t},En=function(e,t){return new(Tn(e))(0===t?0:t)},On=o,xn=ge,In=ht("species"),Rn=function(e){return xn>=51||!On((function(){var t=[];return(t.constructor={})[In]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Cn=xr,jn=o,An=Rr,Ln=ee,Mn=Xe,Dn=zr,Fn=Ur,Nn=qr,zn=En,Vn=Rn,Un=ge,Bn=ht("isConcatSpreadable"),Wn=Un>=51||!jn((function(){var e=[];return e[Bn]=!1,e.concat()[0]!==e})),Kn=function(e){if(!Ln(e))return!1;var t=e[Bn];return void 0!==t?!!t:An(e)};Cn({target:"Array",proto:!0,arity:1,forced:!Wn||!Vn("concat")},{concat:function(e){var t,r,n,i,o,a=Mn(this),s=zn(a,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(Kn(o=-1===t?a:arguments[t]))for(i=Dn(o),Fn(l+i),r=0;r<i;r++,l++)r in o&&Nn(s,l,o[r]);else Fn(l+1),Nn(s,l++,o);return s.length=l,s}});var qn=en,Gn=String,Hn=function(e){if("Symbol"===qn(e))throw TypeError("Cannot convert a Symbol value to a string");return Gn(e)},Qn={},Xn=Lr,Jn=Math.max,Yn=Math.min,$n=function(e,t){var r=Xn(e);return r<0?Jn(r+t,0):Yn(r,t)},Zn=Y,ei=$n,ti=zr,ri=function(e){return function(t,r,n){var i,o=Zn(t),a=ti(o),s=ei(n,a);if(e&&r!=r){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},ni={includes:ri(!0),indexOf:ri(!1)},ii={},oi=$e,ai=Y,si=ni.indexOf,li=ii,ci=v([].push),ui=function(e,t){var r,n=ai(e),i=0,o=[];for(r in n)!oi(li,r)&&oi(n,r)&&ci(o,r);for(;t.length>i;)oi(n,r=t[i++])&&(~si(o,r)||ci(o,r));return o},fi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hi=ui,pi=fi,di=Object.keys||function(e){return hi(e,pi)},gi=I,vi=$t,yi=Yt,mi=rr,_i=Y,wi=di;Qn.f=gi&&!vi?Object.defineProperties:function(e,t){mi(e);for(var r,n=_i(t),i=wi(t),o=i.length,a=0;o>a;)yi.f(e,r=i[a++],n[r]);return e};var bi,Si=ae("document","documentElement"),ki=nt,Pi=Ge("keys"),Ti=function(e){return Pi[e]||(Pi[e]=ki(e))},Ei=rr,Oi=Qn,xi=fi,Ii=ii,Ri=Si,Ci=Et,ji="prototype",Ai="script",Li=Ti("IE_PROTO"),Mi=function(){},Di=function(e){return"<"+Ai+">"+e+"</"+Ai+">"},Fi=function(e){e.write(Di("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ni=function(){try{bi=new ActiveXObject("htmlfile")}catch(i){}var e,t,r;Ni="undefined"!=typeof document?document.domain&&bi?Fi(bi):(t=Ci("iframe"),r="java"+Ai+":",t.style.display="none",Ri.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Di("document.F=Object")),e.close(),e.F):Fi(bi);for(var n=xi.length;n--;)delete Ni[ji][xi[n]];return Ni()};Ii[Li]=!0;var zi=Object.create||function(e,t){var r;return null!==e?(Mi[ji]=Ei(e),r=new Mi,Mi[ji]=null,r[Li]=e):r=Ni(),void 0===t?r:Oi.f(r,t)},Vi={},Ui=ui,Bi=fi.concat("length","prototype");Vi.f=Object.getOwnPropertyNames||function(e){return Ui(e,Bi)};var Wi={},Ki=$n,qi=zr,Gi=qr,Hi=Array,Qi=Math.max,Xi=function(e,t,r){for(var n=qi(e),i=Ki(t,n),o=Ki(void 0===r?n:r,n),a=Hi(Qi(o-i,0)),s=0;i<o;i++,s++)Gi(a,s,e[i]);return a.length=s,a},Ji=w,Yi=Y,$i=Vi.f,Zi=Xi,eo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Wi.f=function(e){return eo&&"Window"==Ji(e)?function(e){try{return $i(e)}catch(t){return Zi(eo)}}(e):$i(Yi(e))};var to={};to.f=Object.getOwnPropertySymbols;var ro=vr,no=function(e,t,r,n){return n&&n.enumerable?e[t]=r:ro(e,t,r),e},io=Yt,oo=function(e,t,r){return io.f(e,t,r)},ao={},so=ht;ao.f=so;var lo,co,uo,fo=te,ho=$e,po=ao,go=Yt.f,vo=function(e){var t=fo.Symbol||(fo.Symbol={});ho(t,e)||go(t,e,{value:po.f(e)})},yo=j,mo=ae,_o=ht,wo=no,bo=function(){var e=mo("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=_o("toPrimitive");t&&!t[n]&&wo(t,n,(function(e){return yo(r,this)}),{arity:1})},So=en,ko=Hr?{}.toString:function(){return"[object "+So(this)+"]"},Po=Hr,To=Yt.f,Eo=vr,Oo=$e,xo=ko,Io=ht("toStringTag"),Ro=function(e,t,r,n){if(e){var i=r?e:e.prototype;Oo(i,Io)||To(i,Io,{configurable:!0,value:t}),n&&!Po&&Eo(i,"toString",xo)}},Co=O,jo=i.WeakMap,Ao=Co(jo)&&/native code/.test(String(jo)),Lo=i,Mo=ee,Do=vr,Fo=$e,No=Ke,zo=Ti,Vo=ii,Uo="Object already initialized",Bo=Lo.TypeError,Wo=Lo.WeakMap;if(Ao||No.state){var Ko=No.state||(No.state=new Wo);Ko.get=Ko.get,Ko.has=Ko.has,Ko.set=Ko.set,lo=function(e,t){if(Ko.has(e))throw Bo(Uo);return t.facade=e,Ko.set(e,t),t},co=function(e){return Ko.get(e)||{}},uo=function(e){return Ko.has(e)}}else{var qo=zo("state");Vo[qo]=!0,lo=function(e,t){if(Fo(e,qo))throw Bo(Uo);return t.facade=e,Do(e,qo,t),t},co=function(e){return Fo(e,qo)?e[qo]:{}},uo=function(e){return Fo(e,qo)}}var Go={set:lo,get:co,has:uo,enforce:function(e){return uo(e)?co(e):lo(e,{})},getterFor:function(e){return function(t){var r;if(!Mo(t)||(r=co(t)).type!==e)throw Bo("Incompatible receiver, "+e+" required");return r}}},Ho=Jt,Qo=K,Xo=Xe,Jo=zr,Yo=En,$o=v([].push),Zo=function(e){var t=1==e,r=2==e,n=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,f){for(var h,p,d=Xo(l),g=Qo(d),v=Ho(c,u),y=Jo(g),m=0,_=f||Yo,w=t?_(l,y):r||a?_(l,0):void 0;y>m;m++)if((s||m in g)&&(p=v(h=g[m],m,d),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return m;case 2:$o(w,h)}else switch(e){case 4:return!1;case 7:$o(w,h)}return o?-1:n||i?i:w}},ea={forEach:Zo(0),map:Zo(1),filter:Zo(2),some:Zo(3),every:Zo(4),find:Zo(5),findIndex:Zo(6),filterReject:Zo(7)},ta=xr,ra=i,na=j,ia=v,oa=I,aa=_e,sa=o,la=$e,ca=se,ua=rr,fa=Y,ha=St,pa=Hn,da=z,ga=zi,va=di,ya=Vi,ma=Wi,_a=to,wa=x,ba=Yt,Sa=Qn,ka=A,Pa=no,Ta=oo,Ea=Ge,Oa=ii,xa=nt,Ia=ht,Ra=ao,Ca=vo,ja=bo,Aa=Ro,La=Go,Ma=ea.forEach,Da=Ti("hidden"),Fa="Symbol",Na="prototype",za=La.set,Va=La.getterFor(Fa),Ua=Object[Na],Ba=ra.Symbol,Wa=Ba&&Ba[Na],Ka=ra.TypeError,qa=ra.QObject,Ga=wa.f,Ha=ba.f,Qa=ma.f,Xa=ka.f,Ja=ia([].push),Ya=Ea("symbols"),$a=Ea("op-symbols"),Za=Ea("wks"),es=!qa||!qa[Na]||!qa[Na].findChild,ts=oa&&sa((function(){return 7!=ga(Ha({},"a",{get:function(){return Ha(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Ga(Ua,t);n&&delete Ua[t],Ha(e,t,r),n&&e!==Ua&&Ha(Ua,t,n)}:Ha,rs=function(e,t){var r=Ya[e]=ga(Wa);return za(r,{type:Fa,tag:e,description:t}),oa||(r.description=t),r},ns=function(e,t,r){e===Ua&&ns($a,t,r),ua(e);var n=ha(t);return ua(r),la(Ya,n)?(r.enumerable?(la(e,Da)&&e[Da][n]&&(e[Da][n]=!1),r=ga(r,{enumerable:da(0,!1)})):(la(e,Da)||Ha(e,Da,da(1,{})),e[Da][n]=!0),ts(e,n,r)):Ha(e,n,r)},is=function(e,t){ua(e);var r=fa(t),n=va(r).concat(ls(r));return Ma(n,(function(t){oa&&!na(os,r,t)||ns(e,t,r[t])})),e},os=function(e){var t=ha(e),r=na(Xa,this,t);return!(this===Ua&&la(Ya,t)&&!la($a,t))&&(!(r||!la(this,t)||!la(Ya,t)||la(this,Da)&&this[Da][t])||r)},as=function(e,t){var r=fa(e),n=ha(t);if(r!==Ua||!la(Ya,n)||la($a,n)){var i=Ga(r,n);return!i||!la(Ya,n)||la(r,Da)&&r[Da][n]||(i.enumerable=!0),i}},ss=function(e){var t=Qa(fa(e)),r=[];return Ma(t,(function(e){la(Ya,e)||la(Oa,e)||Ja(r,e)})),r},ls=function(e){var t=e===Ua,r=Qa(t?$a:fa(e)),n=[];return Ma(r,(function(e){!la(Ya,e)||t&&!la(Ua,e)||Ja(n,Ya[e])})),n};aa||(Ba=function(){if(ca(Wa,this))throw Ka("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?pa(arguments[0]):void 0,t=xa(e),r=function(e){this===Ua&&na(r,$a,e),la(this,Da)&&la(this[Da],t)&&(this[Da][t]=!1),ts(this,t,da(1,e))};return oa&&es&&ts(Ua,t,{configurable:!0,set:r}),rs(t,e)},Pa(Wa=Ba[Na],"toString",(function(){return Va(this).tag})),Pa(Ba,"withoutSetter",(function(e){return rs(xa(e),e)})),ka.f=os,ba.f=ns,Sa.f=is,wa.f=as,ya.f=ma.f=ss,_a.f=ls,Ra.f=function(e){return rs(Ia(e),e)},oa&&Ta(Wa,"description",{configurable:!0,get:function(){return Va(this).description}})),ta({global:!0,constructor:!0,wrap:!0,forced:!aa,sham:!aa},{Symbol:Ba}),Ma(va(Za),(function(e){Ca(e)})),ta({target:Fa,stat:!0,forced:!aa},{useSetter:function(){es=!0},useSimple:function(){es=!1}}),ta({target:"Object",stat:!0,forced:!aa,sham:!oa},{create:function(e,t){return void 0===t?ga(e):is(ga(e),t)},defineProperty:ns,defineProperties:is,getOwnPropertyDescriptor:as}),ta({target:"Object",stat:!0,forced:!aa},{getOwnPropertyNames:ss}),ja(),Aa(Ba,Fa),Oa[Da]=!0;var cs=_e&&!!Symbol.for&&!!Symbol.keyFor,us=xr,fs=ae,hs=$e,ps=Hn,ds=Ge,gs=cs,vs=ds("string-to-symbol-registry"),ys=ds("symbol-to-string-registry");us({target:"Symbol",stat:!0,forced:!gs},{for:function(e){var t=ps(e);if(hs(vs,t))return vs[t];var r=fs("Symbol")(t);return vs[t]=r,ys[r]=t,r}});var ms=xr,_s=$e,ws=Te,bs=Oe,Ss=cs,ks=Ge("symbol-to-string-registry");ms({target:"Symbol",stat:!0,forced:!Ss},{keyFor:function(e){if(!ws(e))throw TypeError(bs(e)+" is not a symbol");if(_s(ks,e))return ks[e]}});var Ps=v([].slice),Ts=Rr,Es=O,Os=w,xs=Hn,Is=v([].push),Rs=xr,Cs=ae,js=f,As=j,Ls=v,Ms=o,Ds=O,Fs=Te,Ns=Ps,zs=function(e){if(Es(e))return e;if(Ts(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?Is(r,i):"number"!=typeof i&&"Number"!=Os(i)&&"String"!=Os(i)||Is(r,xs(i))}var o=r.length,a=!0;return function(e,t){if(a)return a=!1,t;if(Ts(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}},Vs=_e,Us=String,Bs=Cs("JSON","stringify"),Ws=Ls(/./.exec),Ks=Ls("".charAt),qs=Ls("".charCodeAt),Gs=Ls("".replace),Hs=Ls(1..toString),Qs=/[\uD800-\uDFFF]/g,Xs=/^[\uD800-\uDBFF]$/,Js=/^[\uDC00-\uDFFF]$/,Ys=!Vs||Ms((function(){var e=Cs("Symbol")();return"[null]"!=Bs([e])||"{}"!=Bs({a:e})||"{}"!=Bs(Object(e))})),$s=Ms((function(){return'"\\udf06\\ud834"'!==Bs("\udf06\ud834")||'"\\udead"'!==Bs("\udead")})),Zs=function(e,t){var r=Ns(arguments),n=zs(t);if(Ds(n)||void 0!==e&&!Fs(e))return r[1]=function(e,t){if(Ds(n)&&(t=As(n,this,Us(e),t)),!Fs(t))return t},js(Bs,null,r)},el=function(e,t,r){var n=Ks(r,t-1),i=Ks(r,t+1);return Ws(Xs,e)&&!Ws(Js,i)||Ws(Js,e)&&!Ws(Xs,n)?"\\u"+Hs(qs(e,0),16):e};Bs&&Rs({target:"JSON",stat:!0,arity:3,forced:Ys||$s},{stringify:function(e,t,r){var n=Ns(arguments),i=js(Ys?Zs:Bs,null,n);return $s&&"string"==typeof i?Gs(i,Qs,el):i}});var tl=to,rl=Xe;xr({target:"Object",stat:!0,forced:!_e||o((function(){tl.f(1)}))},{getOwnPropertySymbols:function(e){var t=tl.f;return t?t(rl(e)):[]}}),vo("asyncIterator"),vo("hasInstance"),vo("isConcatSpreadable"),vo("iterator"),vo("match"),vo("matchAll"),vo("replace"),vo("search"),vo("species"),vo("split");var nl=bo;vo("toPrimitive"),nl();var il=ae,ol=Ro;vo("toStringTag"),ol(il("Symbol"),"Symbol"),vo("unscopables"),Ro(i.JSON,"JSON",!0);var al,sl,ll,cl=te.Symbol,ul={},fl=I,hl=$e,pl=Function.prototype,dl=fl&&Object.getOwnPropertyDescriptor,gl=hl(pl,"name"),vl={EXISTS:gl,PROPER:gl&&"something"===function(){}.name,CONFIGURABLE:gl&&(!fl||fl&&dl(pl,"name").configurable)},yl=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ml=$e,_l=O,wl=Xe,bl=yl,Sl=Ti("IE_PROTO"),kl=Object,Pl=kl.prototype,Tl=bl?kl.getPrototypeOf:function(e){var t=wl(e);if(ml(t,Sl))return t[Sl];var r=t.constructor;return _l(r)&&t instanceof r?r.prototype:t instanceof kl?Pl:null},El=o,Ol=O,xl=ee,Il=zi,Rl=Tl,Cl=no,jl=ht("iterator"),Al=!1;[].keys&&("next"in(ll=[].keys())?(sl=Rl(Rl(ll)))!==Object.prototype&&(al=sl):Al=!0);var Ll=!xl(al)||El((function(){var e={};return al[jl].call(e)!==e}));Ol((al=Ll?{}:Il(al))[jl])||Cl(al,jl,(function(){return this}));var Ml={IteratorPrototype:al,BUGGY_SAFARI_ITERATORS:Al},Dl=Ml.IteratorPrototype,Fl=zi,Nl=z,zl=Ro,Vl=ul,Ul=function(){return this},Bl=function(e,t,r,n){var i=t+" Iterator";return e.prototype=Fl(Dl,{next:Nl(+!n,r)}),zl(e,i,!1,!0),Vl[i]=Ul,e},Wl=v,Kl=Ce,ql=O,Gl=String,Hl=TypeError,Ql=function(e,t,r){try{return Wl(Kl(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}},Xl=rr,Jl=function(e){if("object"==typeof e||ql(e))return e;throw Hl("Can't set "+Gl(e)+" as a prototype")},Yl=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ql(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(n){}return function(r,n){return Xl(r),Jl(n),t?e(r,n):r.__proto__=n,r}}():void 0),$l=xr,Zl=j,ec=vl,tc=Bl,rc=Tl,nc=Ro,ic=no,oc=ul,ac=Ml,sc=ec.PROPER,lc=ac.BUGGY_SAFARI_ITERATORS,cc=ht("iterator"),uc="keys",fc="values",hc="entries",pc=function(){return this},dc=function(e,t,r,n,i,o,a){tc(r,t,n);var s,l,c,u=function(e){if(e===i&&g)return g;if(!lc&&e in p)return p[e];switch(e){case uc:case fc:case hc:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,p=e.prototype,d=p[cc]||p["@@iterator"]||i&&p[i],g=!lc&&d||u(i),v="Array"==t&&p.entries||d;if(v&&(s=rc(v.call(new e)))!==Object.prototype&&s.next&&(nc(s,f,!0,!0),oc[f]=pc),sc&&i==fc&&d&&d.name!==fc&&(h=!0,g=function(){return Zl(d,this)}),i)if(l={values:u(fc),keys:o?g:u(uc),entries:u(hc)},a)for(c in l)(lc||h||!(c in p))&&ic(p,c,l[c]);else $l({target:t,proto:!0,forced:lc||h},l);return a&&p[cc]!==g&&ic(p,cc,g,{name:i}),oc[t]=g,l},gc=function(e,t){return{value:e,done:t}},vc=Y,yc=ul,mc=Go;Yt.f;var _c=dc,wc=gc,bc="Array Iterator",Sc=mc.set,kc=mc.getterFor(bc);_c(Array,"Array",(function(e,t){Sc(this,{type:bc,target:vc(e),index:0,kind:t})}),(function(){var e=kc(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,wc(void 0,!0)):wc("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),yc.Arguments=yc.Array;var Pc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Tc=i,Ec=en,Oc=vr,xc=ul,Ic=ht("toStringTag");for(var Rc in Pc){var Cc=Tc[Rc],jc=Cc&&Cc.prototype;jc&&Ec(jc)!==Ic&&Oc(jc,Ic,Rc),xc[Rc]=xc.Array}var Ac=cl;vo("dispose");var Lc=Ac;vo("asyncDispose");var Mc=xr,Dc=v,Fc=ae("Symbol"),Nc=Fc.keyFor,zc=Dc(Fc.prototype.valueOf);Mc({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==Nc(zc(e))}catch(t){return!1}}});for(var Vc=xr,Uc=Ge,Bc=ae,Wc=v,Kc=Te,qc=ht,Gc=Bc("Symbol"),Hc=Gc.isWellKnown,Qc=Bc("Object","getOwnPropertyNames"),Xc=Wc(Gc.prototype.valueOf),Jc=Uc("wks"),Yc=0,$c=Qc(Gc),Zc=$c.length;Yc<Zc;Yc++)try{var eu=$c[Yc];Kc(Gc[eu])&&qc(eu)}catch(_O){}Vc({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(Hc&&Hc(e))return!0;try{for(var t=Xc(e),r=0,n=Qc(Jc),i=n.length;r<i;r++)if(Jc[n[r]]==t)return!0}catch(_O){}return!1}}),vo("matcher"),vo("metadataKey"),vo("observable"),vo("metadata"),vo("patternMatch"),vo("replaceAll");var tu=Lc,ru=r(tu),nu=v,iu=Lr,ou=Hn,au=Q,su=nu("".charAt),lu=nu("".charCodeAt),cu=nu("".slice),uu=function(e){return function(t,r){var n,i,o=ou(au(t)),a=iu(r),s=o.length;return a<0||a>=s?e?"":void 0:(n=lu(o,a))<55296||n>56319||a+1===s||(i=lu(o,a+1))<56320||i>57343?e?su(o,a):n:e?cu(o,a,a+2):i-56320+(n-55296<<10)+65536}},fu={codeAt:uu(!1),charAt:uu(!0)}.charAt,hu=Hn,pu=Go,du=dc,gu=gc,vu="String Iterator",yu=pu.set,mu=pu.getterFor(vu);du(String,"String",(function(e){yu(this,{type:vu,string:hu(e),index:0})}),(function(){var e,t=mu(this),r=t.string,n=t.index;return n>=r.length?gu(void 0,!0):(e=fu(r,n),t.index+=e.length,gu(e,!1))}));var _u=r(ao.f("iterator"));function wu(e){return(wu="function"==typeof ru&&"symbol"==typeof _u?function(e){return typeof e}:function(e){return e&&"function"==typeof ru&&e.constructor===ru&&e!==ru.prototype?"symbol":typeof e})(e)}var bu={exports:{}},Su=xr,ku=I,Pu=Yt.f;Su({target:"Object",stat:!0,forced:Object.defineProperty!==Pu,sham:!ku},{defineProperty:Pu});var Tu=te.Object,Eu=bu.exports=function(e,t,r){return Tu.defineProperty(e,t,r)};Tu.defineProperty.sham&&(Eu.sham=!0);var Ou=bu.exports,xu=r(Ou);xr({target:"Object",stat:!0,sham:!I},{create:zi});var Iu=te.Object,Ru=function(e,t){return Iu.create(e,t)},Cu=r(Ru),ju=Xe,Au=Tl,Lu=yl;xr({target:"Object",stat:!0,forced:o((function(){Au(1)})),sham:!Lu},{getPrototypeOf:function(e){return Au(ju(e))}});var Mu=r(te.Object.getPrototypeOf),Du=o,Fu=function(e,t){var r=[][e];return!!r&&Du((function(){r.call(null,t||function(){return 1},1)}))},Nu=ea.forEach,zu=Fu("forEach")?[].forEach:function(e){return Nu(this,e,arguments.length>1?arguments[1]:void 0)};xr({target:"Array",proto:!0,forced:[].forEach!=zu},{forEach:zu});var Vu=te,Uu=function(e){return Vu[e+"Prototype"]},Bu=Uu("Array").forEach,Wu=en,Ku=$e,qu=se,Gu=Bu,Hu=Array.prototype,Qu={DOMTokenList:!0,NodeList:!0},Xu=function(e){var t=e.forEach;return e===Hu||qu(Hu,e)&&t===Hu.forEach||Ku(Qu,Wu(e))?Gu:t},Ju=r(Xu),Yu=I,$u=Rr,Zu=TypeError,ef=Object.getOwnPropertyDescriptor,tf=Yu&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(_O){return _O instanceof TypeError}}()?function(e,t){if($u(e)&&!ef(e,"length").writable)throw Zu("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},rf=Xe,nf=zr,of=tf,af=Ur;xr({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(_O){return _O instanceof TypeError}}()},{push:function(e){var t=rf(this),r=nf(t),n=arguments.length;af(r+n);for(var i=0;i<n;i++)t[r]=arguments[i],r++;return of(t,r),r}});var sf=Uu("Array").push,lf=se,cf=sf,uf=Array.prototype,ff=r((function(e){var t=e.push;return e===uf||lf(uf,e)&&t===uf.push?cf:t}));xr({target:"Object",stat:!0},{setPrototypeOf:Yl});var hf=r(te.Object.setPrototypeOf),pf=ae,df=Vi,gf=to,vf=rr,yf=v([].concat),mf=pf("Reflect","ownKeys")||function(e){var t=df.f(vf(e)),r=gf.f;return r?yf(t,r(e)):t},_f=$e,wf=mf,bf=x,Sf=Yt,kf=ee,Pf=vr,Tf=Error,Ef=v("".replace),Of=String(Tf("zxcasd").stack),xf=/\n\s*at [^:]*:[^\n]*/,If=xf.test(Of),Rf=z,Cf=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",Rf(1,7)),7!==e.stack)})),jf=vr,Af=function(e,t){if(If&&"string"==typeof e&&!Tf.prepareStackTrace)for(;t--;)e=Ef(e,xf,"");return e},Lf=Cf,Mf=Error.captureStackTrace,Df=ul,Ff=ht("iterator"),Nf=Array.prototype,zf=function(e){return void 0!==e&&(Df.Array===e||Nf[Ff]===e)},Vf=en,Uf=Le,Bf=q,Wf=ul,Kf=ht("iterator"),qf=function(e){if(!Bf(e))return Uf(e,Kf)||Uf(e,"@@iterator")||Wf[Vf(e)]},Gf=j,Hf=Ce,Qf=rr,Xf=Oe,Jf=qf,Yf=TypeError,$f=function(e,t){var r=arguments.length<2?Jf(e):t;if(Hf(r))return Qf(Gf(r,e));throw Yf(Xf(e)+" is not iterable")},Zf=j,eh=rr,th=Le,rh=function(e,t,r){var n,i;eh(e);try{if(!(n=th(e,"return"))){if("throw"===t)throw r;return r}n=Zf(n,e)}catch(_O){i=!0,n=_O}if("throw"===t)throw r;if(i)throw n;return eh(n),r},nh=Jt,ih=j,oh=rr,ah=Oe,sh=zf,lh=zr,ch=se,uh=$f,fh=qf,hh=rh,ph=TypeError,dh=function(e,t){this.stopped=e,this.result=t},gh=dh.prototype,vh=function(e,t,r){var n,i,o,a,s,l,c,u=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),g=nh(t,u),v=function(e){return n&&hh(n,"normal",e),new dh(!0,e)},y=function(e){return f?(oh(e),d?g(e[0],e[1],v):g(e[0],e[1])):d?g(e,v):g(e)};if(h)n=e.iterator;else if(p)n=e;else{if(!(i=fh(e)))throw ph(ah(e)+" is not iterable");if(sh(i)){for(o=0,a=lh(e);a>o;o++)if((s=y(e[o]))&&ch(gh,s))return s;return new dh(!1)}n=uh(e,i)}for(l=h?e.next:n.next;!(c=ih(l,n)).done;){try{s=y(c.value)}catch(_O){hh(n,"throw",_O)}if("object"==typeof s&&s&&ch(gh,s))return s}return new dh(!1)},yh=Hn,mh=xr,_h=se,wh=Tl,bh=Yl,Sh=function(e,t,r){for(var n=wf(t),i=Sf.f,o=bf.f,a=0;a<n.length;a++){var s=n[a];_f(e,s)||r&&_f(r,s)||i(e,s,o(t,s))}},kh=zi,Ph=vr,Th=z,Eh=function(e,t){kf(t)&&"cause"in t&&Pf(e,"cause",t.cause)},Oh=function(e,t,r,n){Lf&&(Mf?Mf(e,t):jf(e,"stack",Af(r,n)))},xh=vh,Ih=function(e,t){return void 0===e?arguments.length<2?"":t:yh(e)},Rh=ht("toStringTag"),Ch=Error,jh=[].push,Ah=function(e,t){var r,n=_h(Lh,this);bh?r=bh(Ch(),n?wh(this):Lh):(r=n?this:kh(Lh),Ph(r,Rh,"Error")),void 0!==t&&Ph(r,"message",Ih(t)),Oh(r,Ah,r.stack,1),arguments.length>2&&Eh(r,arguments[2]);var i=[];return xh(e,jh,{that:i}),Ph(r,"errors",i),r};bh?bh(Ah,Ch):Sh(Ah,Ch,{name:!0});var Lh=Ah.prototype=kh(Ch.prototype,{constructor:Th(1,Ah),message:Th(1,""),name:Th(1,"AggregateError")});mh({global:!0,constructor:!0,arity:2},{AggregateError:Ah});var Mh,Dh,Fh,Nh,zh="undefined"!=typeof process&&"process"==w(process),Vh=ae,Uh=oo,Bh=I,Wh=ht("species"),Kh=se,qh=TypeError,Gh=function(e,t){if(Kh(t,e))return e;throw qh("Incorrect invocation")},Hh=_n,Qh=Oe,Xh=TypeError,Jh=function(e){if(Hh(e))return e;throw Xh(Qh(e)+" is not a constructor")},Yh=rr,$h=Jh,Zh=q,ep=ht("species"),tp=function(e,t){var r,n=Yh(e).constructor;return void 0===n||Zh(r=Yh(n)[ep])?t:$h(r)},rp=TypeError,np=function(e,t){if(e<t)throw rp("Not enough arguments");return e},ip=/(?:ipad|iphone|ipod).*applewebkit/i.test(le),op=i,ap=f,sp=Jt,lp=O,cp=$e,up=o,fp=Si,hp=Ps,pp=Et,dp=np,gp=ip,vp=zh,yp=op.setImmediate,mp=op.clearImmediate,_p=op.process,wp=op.Dispatch,bp=op.Function,Sp=op.MessageChannel,kp=op.String,Pp=0,Tp={},Ep="onreadystatechange";up((function(){Mh=op.location}));var Op=function(e){if(cp(Tp,e)){var t=Tp[e];delete Tp[e],t()}},xp=function(e){return function(){Op(e)}},Ip=function(e){Op(e.data)},Rp=function(e){op.postMessage(kp(e),Mh.protocol+"//"+Mh.host)};yp&&mp||(yp=function(e){dp(arguments.length,1);var t=lp(e)?e:bp(e),r=hp(arguments,1);return Tp[++Pp]=function(){ap(t,void 0,r)},Dh(Pp),Pp},mp=function(e){delete Tp[e]},vp?Dh=function(e){_p.nextTick(xp(e))}:wp&&wp.now?Dh=function(e){wp.now(xp(e))}:Sp&&!gp?(Nh=(Fh=new Sp).port2,Fh.port1.onmessage=Ip,Dh=sp(Nh.postMessage,Nh)):op.addEventListener&&lp(op.postMessage)&&!op.importScripts&&Mh&&"file:"!==Mh.protocol&&!up(Rp)?(Dh=Rp,op.addEventListener("message",Ip,!1)):Dh=Ep in pp("script")?function(e){fp.appendChild(pp("script"))[Ep]=function(){fp.removeChild(this),Op(e)}}:function(e){setTimeout(xp(e),0)});var Cp={set:yp,clear:mp},jp=function(){this.head=null,this.tail=null};jp.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ap,Lp,Mp,Dp,Fp,Np=jp,zp=/ipad|iphone|ipod/i.test(le)&&"undefined"!=typeof Pebble,Vp=/web0s(?!.*chrome)/i.test(le),Up=i,Bp=Jt,Wp=x.f,Kp=Cp.set,qp=Np,Gp=ip,Hp=zp,Qp=Vp,Xp=zh,Jp=Up.MutationObserver||Up.WebKitMutationObserver,Yp=Up.document,$p=Up.process,Zp=Up.Promise,ed=Wp(Up,"queueMicrotask"),td=ed&&ed.value;if(!td){var rd=new qp,nd=function(){var e,t;for(Xp&&(e=$p.domain)&&e.exit();t=rd.get();)try{t()}catch(_O){throw rd.head&&Ap(),_O}e&&e.enter()};Gp||Xp||Qp||!Jp||!Yp?!Hp&&Zp&&Zp.resolve?((Dp=Zp.resolve(void 0)).constructor=Zp,Fp=Bp(Dp.then,Dp),Ap=function(){Fp(nd)}):Xp?Ap=function(){$p.nextTick(nd)}:(Kp=Bp(Kp,Up),Ap=function(){Kp(nd)}):(Lp=!0,Mp=Yp.createTextNode(""),new Jp(nd).observe(Mp,{characterData:!0}),Ap=function(){Mp.data=Lp=!Lp}),td=function(e){rd.head||Ap(),rd.add(e)}}var id=td,od=function(e){try{return{error:!1,value:e()}}catch(_O){return{error:!0,value:_O}}},ad=i.Promise,sd="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ld=!sd&&!zh&&"object"==typeof window&&"object"==typeof document,cd=i,ud=ad,fd=O,hd=Gt,pd=on,dd=ht,gd=ld,vd=sd,yd=ge,md=ud&&ud.prototype,_d=dd("species"),wd=!1,bd=fd(cd.PromiseRejectionEvent),Sd={CONSTRUCTOR:hd("Promise",(function(){var e=pd(ud),t=e!==String(ud);if(!t&&66===yd)return!0;if(!md.catch||!md.finally)return!0;if(!yd||yd<51||!/native code/.test(e)){var r=new ud((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[_d]=n,!(wd=r.then((function(){}))instanceof n))return!0}return!t&&(gd||vd)&&!bd})),REJECTION_EVENT:bd,SUBCLASSING:wd},kd={},Pd=Ce,Td=TypeError,Ed=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw Td("Bad Promise constructor");t=e,r=n})),this.resolve=Pd(t),this.reject=Pd(r)};kd.f=function(e){return new Ed(e)};var Od,xd,Id=xr,Rd=zh,Cd=i,jd=j,Ad=no,Ld=Ro,Md=function(e){var t=Vh(e);Bh&&t&&!t[Wh]&&Uh(t,Wh,{configurable:!0,get:function(){return this}})},Dd=Ce,Fd=O,Nd=ee,zd=Gh,Vd=tp,Ud=Cp.set,Bd=id,Wd=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(_O){}},Kd=od,qd=Np,Gd=Go,Hd=ad,Qd=Sd,Xd=kd,Jd="Promise",Yd=Qd.CONSTRUCTOR,$d=Qd.REJECTION_EVENT,Zd=Gd.getterFor(Jd),eg=Gd.set,tg=Hd&&Hd.prototype,rg=Hd,ng=tg,ig=Cd.TypeError,og=Cd.document,ag=Cd.process,sg=Xd.f,lg=sg,cg=!!(og&&og.createEvent&&Cd.dispatchEvent),ug="unhandledrejection",fg=function(e){var t;return!(!Nd(e)||!Fd(t=e.then))&&t},hg=function(e,t){var r,n,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&yg(t),t.rejection=1),!0===s?r=o:(u&&u.enter(),r=s(o),u&&(u.exit(),i=!0)),r===e.promise?c(ig("Promise-chain cycle")):(n=fg(r))?jd(n,r,l,c):l(r)):c(o)}catch(_O){u&&!i&&u.exit(),c(_O)}},pg=function(e,t){e.notified||(e.notified=!0,Bd((function(){for(var r,n=e.reactions;r=n.get();)hg(r,e);e.notified=!1,t&&!e.rejection&&gg(e)})))},dg=function(e,t,r){var n,i;cg?((n=og.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),Cd.dispatchEvent(n)):n={promise:t,reason:r},!$d&&(i=Cd["on"+e])?i(n):e===ug&&Wd("Unhandled promise rejection",r)},gg=function(e){jd(Ud,Cd,(function(){var t,r=e.facade,n=e.value;if(vg(e)&&(t=Kd((function(){Rd?ag.emit("unhandledRejection",n,r):dg(ug,r,n)})),e.rejection=Rd||vg(e)?2:1,t.error))throw t.value}))},vg=function(e){return 1!==e.rejection&&!e.parent},yg=function(e){jd(Ud,Cd,(function(){var t=e.facade;Rd?ag.emit("rejectionHandled",t):dg("rejectionhandled",t,e.value)}))},mg=function(e,t,r){return function(n){e(t,n,r)}},_g=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,pg(e,!0))},wg=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw ig("Promise can't be resolved itself");var n=fg(t);n?Bd((function(){var r={done:!1};try{jd(n,t,mg(wg,r,e),mg(_g,r,e))}catch(_O){_g(r,_O,e)}})):(e.value=t,e.state=1,pg(e,!1))}catch(_O){_g({done:!1},_O,e)}}};Yd&&(ng=(rg=function(e){zd(this,ng),Dd(e),jd(Od,this);var t=Zd(this);try{e(mg(wg,t),mg(_g,t))}catch(_O){_g(t,_O)}}).prototype,(Od=function(e){eg(this,{type:Jd,done:!1,notified:!1,parent:!1,reactions:new qd,rejection:!1,state:0,value:void 0})}).prototype=Ad(ng,"then",(function(e,t){var r=Zd(this),n=sg(Vd(this,rg));return r.parent=!0,n.ok=!Fd(e)||e,n.fail=Fd(t)&&t,n.domain=Rd?ag.domain:void 0,0==r.state?r.reactions.add(n):Bd((function(){hg(n,r)})),n.promise})),xd=function(){var e=new Od,t=Zd(e);this.promise=e,this.resolve=mg(wg,t),this.reject=mg(_g,t)},Xd.f=sg=function(e){return e===rg||undefined===e?new xd(e):lg(e)}),Id({global:!0,constructor:!0,wrap:!0,forced:Yd},{Promise:rg}),Ld(rg,Jd,!1,!0),Md(Jd);var bg=ht("iterator"),Sg=!1;try{var kg=0,Pg={next:function(){return{done:!!kg++}},return:function(){Sg=!0}};Pg[bg]=function(){return this},Array.from(Pg,(function(){throw 2}))}catch(_O){}var Tg=function(e,t){if(!t&&!Sg)return!1;var r=!1;try{var n={};n[bg]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(_O){}return r},Eg=ad,Og=Sd.CONSTRUCTOR||!Tg((function(e){Eg.all(e).then(void 0,(function(){}))})),xg=j,Ig=Ce,Rg=kd,Cg=od,jg=vh;xr({target:"Promise",stat:!0,forced:Og},{all:function(e){var t=this,r=Rg.f(t),n=r.resolve,i=r.reject,o=Cg((function(){var r=Ig(t.resolve),o=[],a=0,s=1;jg(e,(function(e){var l=a++,c=!1;s++,xg(r,t,e).then((function(e){c||(c=!0,o[l]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise}});var Ag=xr,Lg=Sd.CONSTRUCTOR;ad&&ad.prototype,Ag({target:"Promise",proto:!0,forced:Lg,real:!0},{catch:function(e){return this.then(void 0,e)}});var Mg=j,Dg=Ce,Fg=kd,Ng=od,zg=vh;xr({target:"Promise",stat:!0,forced:Og},{race:function(e){var t=this,r=Fg.f(t),n=r.reject,i=Ng((function(){var i=Dg(t.resolve);zg(e,(function(e){Mg(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}});var Vg=j,Ug=kd;xr({target:"Promise",stat:!0,forced:Sd.CONSTRUCTOR},{reject:function(e){var t=Ug.f(this);return Vg(t.reject,void 0,e),t.promise}});var Bg=rr,Wg=ee,Kg=kd,qg=function(e,t){if(Bg(e),Wg(t)&&t.constructor===e)return t;var r=Kg.f(e);return(0,r.resolve)(t),r.promise},Gg=xr,Hg=ad,Qg=Sd.CONSTRUCTOR,Xg=qg,Jg=ae("Promise"),Yg=!Qg;Gg({target:"Promise",stat:!0,forced:true},{resolve:function(e){return Xg(Yg&&this===Jg?Hg:this,e)}});var $g=j,Zg=Ce,ev=kd,tv=od,rv=vh;xr({target:"Promise",stat:!0,forced:Og},{allSettled:function(e){var t=this,r=ev.f(t),n=r.resolve,i=r.reject,o=tv((function(){var r=Zg(t.resolve),i=[],o=0,a=1;rv(e,(function(e){var s=o++,l=!1;a++,$g(r,t,e).then((function(e){l||(l=!0,i[s]={status:"fulfilled",value:e},--a||n(i))}),(function(e){l||(l=!0,i[s]={status:"rejected",reason:e},--a||n(i))}))})),--a||n(i)}));return o.error&&i(o.value),r.promise}});var nv=j,iv=Ce,ov=ae,av=kd,sv=od,lv=vh,cv="No one promise resolved";xr({target:"Promise",stat:!0,forced:Og},{any:function(e){var t=this,r=ov("AggregateError"),n=av.f(t),i=n.resolve,o=n.reject,a=sv((function(){var n=iv(t.resolve),a=[],s=0,l=1,c=!1;lv(e,(function(e){var u=s++,f=!1;l++,nv(n,t,e).then((function(e){f||c||(c=!0,i(e))}),(function(e){f||c||(f=!0,a[u]=e,--l||o(new r(a,cv)))}))})),--l||o(new r(a,cv))}));return a.error&&o(a.value),n.promise}});var uv=xr,fv=ad,hv=o,pv=ae,dv=O,gv=tp,vv=qg,yv=fv&&fv.prototype;uv({target:"Promise",proto:!0,real:!0,forced:!!fv&&hv((function(){yv.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=gv(this,pv("Promise")),r=dv(e);return this.then(r?function(r){return vv(t,e()).then((function(){return r}))}:e,r?function(r){return vv(t,e()).then((function(){throw r}))}:e)}});var mv=te.Promise,_v=kd,wv=od;xr({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=_v.f(this),r=wv(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}});var bv=mv,Sv=r(bv),kv=xr,Pv=Rr,Tv=v([].reverse),Ev=[1,2];kv({target:"Array",proto:!0,forced:String(Ev)===String(Ev.reverse())},{reverse:function(){return Pv(this)&&(this.length=this.length),Tv(this)}});var Ov=Uu("Array").reverse,xv=se,Iv=Ov,Rv=Array.prototype,Cv=r((function(e){var t=e.reverse;return e===Rv||xv(Rv,e)&&t===Rv.reverse?Iv:t})),jv=xr,Av=Rr,Lv=_n,Mv=ee,Dv=$n,Fv=zr,Nv=Y,zv=qr,Vv=ht,Uv=Ps,Bv=Rn("slice"),Wv=Vv("species"),Kv=Array,qv=Math.max;jv({target:"Array",proto:!0,forced:!Bv},{slice:function(e,t){var r,n,i,o=Nv(this),a=Fv(o),s=Dv(e,a),l=Dv(void 0===t?a:t,a);if(Av(o)&&(r=o.constructor,(Lv(r)&&(r===Kv||Av(r.prototype))||Mv(r)&&null===(r=r[Wv]))&&(r=void 0),r===Kv||void 0===r))return Uv(o,s,l);for(n=new(void 0===r?Kv:r)(qv(l-s,0)),i=0;s<l;s++,i++)s in o&&zv(n,i,o[s]);return n.length=i,n}});var Gv=Uu("Array").slice,Hv=se,Qv=Gv,Xv=Array.prototype,Jv=function(e){var t=e.slice;return e===Xv||Hv(Xv,e)&&t===Xv.slice?Qv:t},Yv=r(Jv);function $v(){$v=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=xu||function(e,t,r){e[t]=r.value},i="function"==typeof ru?ru:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r){return xu(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,r){return e[t]=r}}function c(e,t,r,i){var o=t&&t.prototype instanceof h?t:h,a=Cu(o.prototype),s=new P(i||[]);return n(a,"_invoke",{value:w(e,r,s)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var f={};function h(){}function p(){}function d(){}var g={};l(g,o,(function(){return this}));var v=Mu&&Mu(Mu(T([])));v&&v!==t&&r.call(v,o)&&(g=v);var y=d.prototype=h.prototype=Cu(g);function m(e){var t;Ju(t=["next","throw","return"]).call(t,(function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function i(n,o,a,s){var l=u(e[n],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==wu(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var o;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){i(e,r,t,n)}))}return o=o?o.then(n,n):n()}})}function w(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=b(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function b(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=u(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t,r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),ff(t=this.tryEntries).call(t,r)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],Ju(e).call(e,S,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(y,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=l(d,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return hf?hf(e,d):(e.__proto__=d,l(e,s,"GeneratorFunction")),e.prototype=Cu(y),e},e.awrap=function(e){return{__await:e}},m(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,i,o){void 0===o&&(o=Sv);var a=new _(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(y),l(y,s,"Generator"),l(y,o,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)ff(r).call(r,n);return Cv(r).call(r),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=T,P.prototype={constructor:P,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Ju(t=this.tryEntries).call(t,k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+Yv(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;k(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}var Zv=Xe,ey=di;xr({target:"Object",stat:!0,forced:o((function(){ey(1)}))},{keys:function(e){return ey(Zv(e))}});var ty=te.Object.keys,ry=r(ty),ny=te.Object.getOwnPropertySymbols,iy=r(ny),oy=ea.filter;xr({target:"Array",proto:!0,forced:!Rn("filter")},{filter:function(e){return oy(this,e,arguments.length>1?arguments[1]:void 0)}});var ay=Uu("Array").filter,sy=se,ly=ay,cy=Array.prototype,uy=function(e){var t=e.filter;return e===cy||sy(cy,e)&&t===cy.filter?ly:t},fy=r(uy),hy={exports:{}},py=xr,dy=o,gy=Y,vy=x.f,yy=I;py({target:"Object",stat:!0,forced:!yy||dy((function(){vy(1)})),sham:!yy},{getOwnPropertyDescriptor:function(e,t){return vy(gy(e),t)}});var my=te.Object,_y=hy.exports=function(e,t){return my.getOwnPropertyDescriptor(e,t)};my.getOwnPropertyDescriptor.sham&&(_y.sham=!0);var wy=hy.exports,by=r(wy),Sy=mf,ky=Y,Py=x,Ty=qr;xr({target:"Object",stat:!0,sham:!I},{getOwnPropertyDescriptors:function(e){for(var t,r,n=ky(e),i=Py.f,o=Sy(n),a={},s=0;o.length>s;)void 0!==(r=i(n,t=o[s++]))&&Ty(a,t,r);return a}});var Ey=te.Object.getOwnPropertyDescriptors,Oy=r(Ey),xy={exports:{}},Iy=xr,Ry=I,Cy=Qn.f;Iy({target:"Object",stat:!0,forced:Object.defineProperties!==Cy,sham:!Ry},{defineProperties:Cy});var jy=te.Object,Ay=xy.exports=function(e,t){return jy.defineProperties(e,t)};jy.defineProperties.sham&&(Ay.sham=!0);var Ly=xy.exports,My=r(Ly),Dy=r(ao.f("toPrimitive"));function Fy(e){var t=function(e,t){if("object"!==wu(e)||null===e)return e;var r=e[Dy];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==wu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===wu(t)?t:String(t)}function Ny(e,t,r){return(t=Fy(t))in e?xu(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zy(e,t){var r=ry(e);if(iy){var n=iy(e);t&&(n=fy(n).call(n,(function(t){return by(e,t).enumerable}))),ff(r).apply(r,n)}return r}function Vy(e){for(var t=1;t<arguments.length;t++){var r,n,i=null!=arguments[t]?arguments[t]:{};t%2?Ju(r=zy(Object(i),!0)).call(r,(function(t){Ny(e,t,i[t])})):Oy?My(e,Oy(i)):Ju(n=zy(Object(i))).call(n,(function(t){xu(e,t,by(i,t))}))}return e}function Uy(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(_O){return void r(_O)}s.done?t(l):Sv.resolve(l).then(n,i)}function By(e){return function(){var t=this,r=arguments;return new Sv((function(n,i){var o=e.apply(t,r);function a(e){Uy(o,n,i,a,s,"next",e)}function s(e){Uy(o,n,i,a,s,"throw",e)}a(void 0)}))}}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ky(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),xu(e,Fy(n.key),n)}}function qy(e,t,r){return t&&Ky(e.prototype,t),r&&Ky(e,r),xu(e,"prototype",{writable:!1}),e}var Gy=v,Hy=Ce,Qy=ee,Xy=$e,Jy=Ps,Yy=a,$y=Function,Zy=Gy([].concat),em=Gy([].join),tm={},rm=Yy?$y.bind:function(e){var t=Hy(this),r=t.prototype,n=Jy(arguments,1),i=function(){var r=Zy(n,Jy(arguments));return this instanceof i?function(e,t,r){if(!Xy(tm,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";tm[t]=$y("C,a","return new C("+em(n,",")+")")}return tm[t](e,r)}(t,r.length,r):t.apply(e,r)};return Qy(r)&&(i.prototype=r),i},nm=rm;xr({target:"Function",proto:!0,forced:Function.bind!==nm},{bind:nm});var im=Uu("Function").bind,om=se,am=im,sm=Function.prototype,lm=function(e){var t=e.bind;return e===sm||om(sm,e)&&t===sm.bind?am:t},cm=r(lm);function um(e,t){var r;return(um=hf?cm(r=hf).call(r):function(e,t){return e.__proto__=t,e})(e,t)}function fm(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Cu(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),xu(e,"prototype",{writable:!1}),t&&um(e,t)}var hm=xr,pm=f,dm=rm,gm=Jh,vm=rr,ym=ee,mm=zi,_m=o,wm=ae("Reflect","construct"),bm=Object.prototype,Sm=[].push,km=_m((function(){function e(){}return!(wm((function(){}),[],e)instanceof e)})),Pm=!_m((function(){wm((function(){}))})),Tm=km||Pm;hm({target:"Reflect",stat:!0,forced:Tm,sham:Tm},{construct:function(e,t){gm(e),vm(t);var r=arguments.length<3?e:gm(arguments[2]);if(Pm&&!km)return wm(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return pm(Sm,n,t),new(pm(dm,e,n))}var i=r.prototype,o=mm(ym(i)?i:bm),a=pm(e,o,t);return ym(a)?a:o}});var Em=r(te.Reflect.construct);function Om(e){var t;return(Om=hf?cm(t=Mu).call(t):function(e){return e.__proto__||Mu(e)})(e)}function xm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Im(e){var t=function(){if("undefined"==typeof Reflect||!Em)return!1;if(Em.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Em(Boolean,[],(function(){}))),!0}catch(lE){return!1}}();return function(){var r,n=Om(e);if(t){var i=Om(this).constructor;r=Em(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===wu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xm(e)}(this,r)}}xr({target:"Array",stat:!0},{isArray:Rr});var Rm=te.Array.isArray,Cm=r(Rm);function jm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Am=qf,Lm=r(Am),Mm=rr,Dm=rh,Fm=Jt,Nm=j,zm=Xe,Vm=function(e,t,r,n){try{return n?t(Mm(r)[0],r[1]):t(r)}catch(_O){Dm(e,"throw",_O)}},Um=zf,Bm=_n,Wm=zr,Km=qr,qm=$f,Gm=qf,Hm=Array,Qm=function(e){var t=zm(e),r=Bm(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=void 0!==i;o&&(i=Fm(i,n>2?arguments[2]:void 0));var a,s,l,c,u,f,h=Gm(t),p=0;if(!h||this===Hm&&Um(h))for(a=Wm(t),s=r?new this(a):Hm(a);a>p;p++)f=o?i(t[p],p):t[p],Km(s,p,f);else for(u=(c=qm(t,h)).next,s=r?new this:[];!(l=Nm(u,c)).done;p++)f=o?Vm(c,i,[l.value,p],!0):l.value,Km(s,p,f);return s.length=p,s};xr({target:"Array",stat:!0,forced:!Tg((function(e){Array.from(e)}))},{from:Qm});var Xm=r(te.Array.from);function Jm(e,t){var r;if(e){if("string"==typeof e)return jm(e,t);var n=Yv(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Xm(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jm(e,t):void 0}}function Ym(e){return function(e){if(Cm(e))return jm(e)}(e)||function(e){if(void 0!==ru&&null!=Lm(e)||null!=e["@@iterator"])return Xm(e)}(e)||Jm(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var $m=Uu("Array").concat,Zm=se,e_=$m,t_=Array.prototype,r_=r((function(e){var t=e.concat;return e===t_||Zm(t_,e)&&t===t_.concat?e_:t})),n_=window.VePlayer.error,i_=n_.VeError,o_=function(e){return e[e.INVALID_PARAMETER=200]="INVALID_PARAMETER",e}(o_||{});n_.Level;var a_=Vy(Vy({},o_),n_.ErrorCode),s_=Vy(Vy({},n_.ERROR_INFO),{},Ny({},200,{messageTextKey:"INVALID_PARAMETER",level:n_.Level.Fatal}));function l_(e,t){return new i_(s_[e],t)}function c_(e,t){return function(e){if(Cm(e))return e}(e)||function(e,t){var r=null==e?null:void 0!==ru&&Lm(e)||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(ff(s).call(s,n.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Jm(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u_=xr,f_=ni.indexOf,h_=Fu,p_=k([].indexOf),d_=!!p_&&1/p_([1],1,-0)<0;u_({target:"Array",proto:!0,forced:d_||!h_("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return d_?p_(this,e,t)||0:f_(this,e,t)}});var g_=Uu("Array").indexOf,v_=se,y_=g_,m_=Array.prototype,__=function(e){var t=e.indexOf;return e===m_||v_(m_,e)&&t===m_.indexOf?y_:t},w_=r(__);function b_(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=ry(e);for(n=0;n<o.length;n++)r=o[n],w_(t).call(t,r)>=0||(i[r]=e[r]);return i}(e,t);if(iy){var o=iy(e);for(n=0;n<o.length;n++)r=o[n],w_(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var S_=r(bv),k_=["fallbackUrl"],P_=window.VePlayer.strategy,T_=window.VePlayer.util,E_=window.VePlayer.DynamicModule,O_=window.VePlayer.load,x_=window.VePlayer.Codec,I_=window.VePlayer.Sniffer,R_={options:{},module:E_.PluginRtm},C_=function(){var e=By($v().mark((function e(t){var r,n,i,o,a,s,l,c,u,f,h;return $v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.rtm||{},a=o.fallbackUrl,s=b_(o,k_),"flv"===(l=a&&T_.getStreamType(a))&&T_.isMseSupported(x_.H264)?i=P_.createFlvMseStrategy(t):"hls"===l&&("mobile"!==I_.device||null!=t&&null!==(r=t.hls)&&void 0!==r&&r.enableMSE)&&T_.isMseSupported(x_.H264)&&(i=P_.createHlsMseStrategy(t)),e.next=5,S_.all([O_(R_.module).catch((function(){})),i&&O_(i.module).catch((function(){}))]);case 5:return c=e.sent,u=c_(c,2),f=u[0],h=u[1],e.abrupt("return",{options:Vy(Vy({},(null===(n=i)||void 0===n?void 0:n.options)||{}),{},{rts:Vy(Vy({retryCount:0},s),{},{backupURL:a,backupConstruct:h})}),plugins:f?[f]:[]});case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j_=function(e){return e.H264="h264",e}(j_||{}),A_=function(){var e=By($v().mark((function e(){var t;return $v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O_(E_.PluginRtm);case 2:return t=e.sent,e.abrupt("return",t.isSupported());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L_=function(){var e=By($v().mark((function e(){var t,r,n,i=arguments;return $v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:"h264",r=i.length>1?i[1]:void 0,e.next=4,O_(E_.PluginRtm);case 4:if(n=e.sent,"h264"!==t){e.next=7;break}return e.abrupt("return",n.isSupportedH264(null==r?void 0:r.targetProfileLevel));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M_=window.VePlayer.util,D_=window.VePlayer.strategy,F_=function(){var e=By($v().mark((function e(t){var r;return $v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=t.url?M_.getStreamType(t.url):"")&&"unknown"!==r){e.next=3;break}return e.abrupt("return",{options:{},plugins:[]});case 3:if("rtm"!==r){e.next=7;break}return e.next=6,C_(t);case 6:case 10:case 14:return e.abrupt("return",e.sent);case 7:if("flv"!==r){e.next=11;break}return e.next=10,D_.getFlvStrategy(t);case 11:if("hls"!==r){e.next=15;break}return e.next=14,D_.getHlsStrategy(t);case 15:return e.abrupt("return",{options:{},plugins:[]});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),N_=r(lm),z_="\t\n\v\f\r \u2028\u2029\ufeff",V_=Q,U_=Hn,B_=z_,W_=v("".replace),K_=RegExp("^["+B_+"]+"),q_=RegExp("(^|[^"+B_+"])["+B_+"]+$"),G_=function(e){return function(t){var r=U_(V_(t));return 1&e&&(r=W_(r,K_,"")),2&e&&(r=W_(r,q_,"$1")),r}},H_={start:G_(1),end:G_(2),trim:G_(3)},Q_=i,X_=o,J_=v,Y_=Hn,$_=H_.trim,Z_=z_,ew=Q_.parseInt,tw=Q_.Symbol,rw=tw&&tw.iterator,nw=/^[+-]?0x/i,iw=J_(nw.exec),ow=8!==ew(Z_+"08")||22!==ew(Z_+"0x16")||rw&&!X_((function(){ew(Object(rw))}))?function(e,t){var r=$_(Y_(e));return ew(r,t>>>0||(iw(nw,r)?16:10))}:ew;xr({global:!0,forced:parseInt!=ow},{parseInt:ow});var aw,sw=r(te.parseInt),lw="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,cw=i,uw=f,fw=O,hw=lw,pw=le,dw=Ps,gw=np,vw=cw.Function,yw=/MSIE .\./.test(pw)||hw&&((aw=cw.Bun.version.split(".")).length<3||0==aw[0]&&(aw[1]<3||3==aw[1]&&0==aw[2])),mw=function(e,t){var r=t?2:1;return yw?function(n,i){var o=gw(arguments.length,1)>r,a=fw(n)?n:vw(n),s=o?dw(arguments,r):[],l=o?function(){uw(a,this,s)}:a;return t?e(l,i):e(l)}:e},_w=xr,ww=i,bw=mw(ww.setInterval,!0);_w({global:!0,bind:!0,forced:ww.setInterval!==bw},{setInterval:bw});var Sw=xr,kw=i,Pw=mw(kw.setTimeout,!0);Sw({global:!0,bind:!0,forced:kw.setTimeout!==Pw},{setTimeout:Pw});var Tw=r(te.setTimeout),Ew=r(Jv),Ow=NaN,xw="[object Symbol]",Iw=/^\s+|\s+$/g,Rw=/^[-+]0x[0-9a-f]+$/i,Cw=/^0b[01]+$/i,jw=/^0o[0-7]+$/i,Aw=sw,Lw="object"==wu(t)&&t&&t.Object===Object&&t,Mw="object"==("undefined"==typeof self?"undefined":wu(self))&&self&&self.Object===Object&&self,Dw=Lw||Mw||Function("return this")(),Fw=Object.prototype.toString,Nw=Math.max,zw=Math.min,Vw=function(){return Dw.Date.now()};function Uw(e){var t=wu(e);return!!e&&("object"==t||"function"==t)}function Bw(e){return"symbol"==wu(e)||function(e){return!!e&&"object"==wu(e)}(e)&&Fw.call(e)==xw}function Ww(e){if("number"==typeof e)return e;if(Bw(e))return Ow;if(Uw(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Uw(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Iw,"");var r=Cw.test(e);return r||jw.test(e)?Aw(Ew(e).call(e,2),r?2:8):Rw.test(e)?Ow:+e}var Kw=function(e,t,r){var n,i,o,a,s,l,c=0,u=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var r=n,o=i;return n=i=void 0,c=t,a=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||f&&e-c>=o}function g(){var e=Vw();if(d(e))return v(e);s=Tw(g,function(e){var r=t-(e-l);return f?zw(r,o-(e-c)):r}(e))}function v(e){return s=void 0,h&&n?p(e):(n=i=void 0,a)}function y(){var e=Vw(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===s)return function(e){return c=e,s=Tw(g,t),u?p(e):a}(l);if(f)return s=Tw(g,t),p(l)}return void 0===s&&(s=Tw(g,t)),a}return t=Ww(t)||0,Uw(r)&&(u=!!r.leading,o=(f="maxWait"in r)?Nw(Ww(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=i=s=void 0},y.flush=function(){return void 0===s?a:v(Vw())},y},qw=r(Kw),Gw=Vy(Vy({},window.VePlayer.event.Events),{},{TIME_SHIFT_CHANGE:"time_shift_change",REFRESH_CLICK:"refresh_click"});function Hw(){return(new DOMParser).parseFromString('<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 2.488a7.48 7.48 0 00-4.154 1.253.908.908 0 101.005 1.512 5.695 5.695 0 018.844 4.746h-.908a.33.33 0 00-.264.528l1.816 2.422a.33.33 0 00.529 0l1.815-2.422A.33.33 0 0018.42 10h-.908A7.511 7.511 0 0010 2.49zM2.489 10a7.511 7.511 0 0011.665 6.26.908.908 0 00-1.005-1.513A5.695 5.695 0 014.305 10h.908a.33.33 0 00.264-.528L3.66 7.05a.33.33 0 00-.528 0L1.317 9.47a.33.33 0 00.264.53h.908z" fill="#fff"/></svg>',"image/svg+xml").firstChild}var Qw=window.VePlayer.Plugin,Xw=window.VePlayer.Sniffer,Jw=window.VePlayer.XGEvents,Yw=Qw.POSITIONS,$w=function(e){fm(r,e);var t=Im(r);function r(){return Wy(this,r),t.apply(this,arguments)}return qy(r,[{key:"afterCreate",value:function(){this.config.disable||(this.appendChild(".xgplayer-icon",this.icons.refresh),this._initEvents())}},{key:"registerIcons",value:function(){return{refresh:{icon:Hw,class:"xgplayer-refresh-svg"}}}},{key:"destroy",value:function(){this.unbind(["touchend","click"],this._handleRefresh)}},{key:"render",value:function(){var e=this.player.config.i18nManager;return'\n <xg-icon class="veplayer-refresh">\n <div class="xgplayer-icon">\n </div>\n <div class="xg-tips" lang-key="refresh">'.concat(e.getText("REFRESH"),"</div>\n </xg-icon>\n ")}},{key:"_handleRefresh",value:function(e){var t=this.player;if(t){var r;if(e.preventDefault(),e.stopPropagation(),t.addClass("xgplayer-is-enter"),t.pause(),t)t.emit(Gw.REFRESH_CLICK),null===(r=this.player)||void 0===r||null===(r=r.config)||void 0===r||null===(r=r.veplayer)||void 0===r||r.retry();t.once(Jw.CANPLAY,(function(){t.removeClass("xgplayer-is-enter")}))}}},{key:"_initEvents",value:function(){var e;this._handleRefresh=qw(N_(e=this._handleRefresh).call(e,this),200);var t="mobile"===Xw.device?"touchend":"click";N_(this).call(this,t,this._handleRefresh),this.show()}}],[{key:"pluginName",get:function(){return"refresh"}},{key:"defaultConfig",get:function(){return{position:Yw.CONTROLS_LEFT,index:1,disable:!1}}}]),r}(Qw),Zw=r(Ou),eb=r(ty),tb=r(ny),rb=r(uy),nb=r(wy),ib=r(Xu),ob=r(Ey),ab=r(Ly),sb=r(__),lb=xr,cb=Date,ub=v(cb.prototype.getTime);lb({target:"Date",stat:!0},{now:function(){return ub(new cb)}});var fb=r(te.Date.now),hb=o,pb=ht("iterator"),db=!hb((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!e.toJSON||!t.size&&true||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[pb]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),gb=no,vb=Xi,yb=Math.floor,mb=function(e,t){var r=e.length,n=yb(r/2);return r<8?_b(e,t):wb(e,mb(vb(e,0,n),t),mb(vb(e,n),t),t)},_b=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},wb=function(e,t,r,n){for(var i=t.length,o=r.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?n(t[a],r[s])<=0?t[a++]:r[s++]:a<i?t[a++]:r[s++];return e},bb=xr,Sb=i,kb=j,Pb=v,Tb=I,Eb=db,Ob=no,xb=oo,Ib=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:gb(e,n,t[n],r);return e},Rb=Ro,Cb=Bl,jb=Go,Ab=Gh,Lb=O,Mb=$e,Db=Jt,Fb=en,Nb=rr,zb=ee,Vb=Hn,Ub=zi,Bb=z,Wb=$f,Kb=qf,qb=np,Gb=mb,Hb=ht("iterator"),Qb="URLSearchParams",Xb=Qb+"Iterator",Jb=jb.set,Yb=jb.getterFor(Qb),$b=jb.getterFor(Xb),Zb=Object.getOwnPropertyDescriptor,eS=function(e){if(!Tb)return Sb[e];var t=Zb(Sb,e);return t&&t.value},tS=eS("fetch"),rS=eS("Request"),nS=eS("Headers"),iS=rS&&rS.prototype,oS=nS&&nS.prototype,aS=Sb.RegExp,sS=Sb.TypeError,lS=Sb.decodeURIComponent,cS=Sb.encodeURIComponent,uS=Pb("".charAt),fS=Pb([].join),hS=Pb([].push),pS=Pb("".replace),dS=Pb([].shift),gS=Pb([].splice),vS=Pb("".split),yS=Pb("".slice),mS=/\+/g,_S=Array(4),wS=function(e){return _S[e-1]||(_S[e-1]=aS("((?:%[\\da-f]{2}){"+e+"})","gi"))},bS=function(e){try{return lS(e)}catch(_O){return e}},SS=function(e){var t=pS(e,mS," "),r=4;try{return lS(t)}catch(_O){for(;r;)t=pS(t,wS(r--),bS);return t}},kS=/[!'()~]|%20/g,PS={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},TS=function(e){return PS[e]},ES=function(e){return pS(cS(e),kS,TS)},OS=Cb((function(e,t){Jb(this,{type:Xb,iterator:Wb(Yb(e).entries),kind:t})}),"Iterator",(function(){var e=$b(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),xS=function(e){this.entries=[],this.url=null,void 0!==e&&(zb(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===uS(e,0)?yS(e,1):e:Vb(e)))};xS.prototype={type:Qb,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,a,s,l=Kb(e);if(l)for(r=(t=Wb(e,l)).next;!(n=kb(r,t)).done;){if(o=(i=Wb(Nb(n.value))).next,(a=kb(o,i)).done||(s=kb(o,i)).done||!kb(o,i).done)throw sS("Expected sequence with length 2");hS(this.entries,{key:Vb(a.value),value:Vb(s.value)})}else for(var c in e)Mb(e,c)&&hS(this.entries,{key:c,value:Vb(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=vS(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=vS(t,"="),hS(this.entries,{key:SS(dS(r)),value:SS(fS(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],hS(r,ES(e.key)+"="+ES(e.value));return fS(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var IS=function(){Ab(this,RS);var e=Jb(this,new xS(arguments.length>0?arguments[0]:void 0));Tb||(this.length=e.entries.length)},RS=IS.prototype;if(Ib(RS,{append:function(e,t){qb(arguments.length,2);var r=Yb(this);hS(r.entries,{key:Vb(e),value:Vb(t)}),Tb||this.length++,r.updateURL()},delete:function(e){qb(arguments.length,1);for(var t=Yb(this),r=t.entries,n=Vb(e),i=0;i<r.length;)r[i].key===n?gS(r,i,1):i++;Tb||(this.length=r.length),t.updateURL()},get:function(e){qb(arguments.length,1);for(var t=Yb(this).entries,r=Vb(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){qb(arguments.length,1);for(var t=Yb(this).entries,r=Vb(e),n=[],i=0;i<t.length;i++)t[i].key===r&&hS(n,t[i].value);return n},has:function(e){qb(arguments.length,1);for(var t=Yb(this).entries,r=Vb(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){qb(arguments.length,1);for(var r,n=Yb(this),i=n.entries,o=!1,a=Vb(e),s=Vb(t),l=0;l<i.length;l++)(r=i[l]).key===a&&(o?gS(i,l--,1):(o=!0,r.value=s));o||hS(i,{key:a,value:s}),Tb||(this.length=i.length),n.updateURL()},sort:function(){var e=Yb(this);Gb(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Yb(this).entries,n=Db(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new OS(this,"keys")},values:function(){return new OS(this,"values")},entries:function(){return new OS(this,"entries")}},{enumerable:!0}),Ob(RS,Hb,RS.entries,{name:"entries"}),Ob(RS,"toString",(function(){return Yb(this).serialize()}),{enumerable:!0}),Tb&&xb(RS,"size",{get:function(){return Yb(this).entries.length},configurable:!0,enumerable:!0}),Rb(IS,Qb),bb({global:!0,constructor:!0,forced:!Eb},{URLSearchParams:IS}),!Eb&&Lb(nS)){var CS=Pb(oS.has),jS=Pb(oS.set),AS=function(e){if(zb(e)){var t,r=e.body;if(Fb(r)===Qb)return t=e.headers?new nS(e.headers):new nS,CS(t,"content-type")||jS(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Ub(e,{body:Bb(0,Vb(r)),headers:Bb(0,t)})}return e};if(Lb(tS)&&bb({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return tS(e,arguments.length>1?AS(arguments[1]):{})}}),Lb(rS)){var LS=function(e){return Ab(this,iS),new rS(e,arguments.length>1?AS(arguments[1]):{})};iS.constructor=LS,LS.prototype=iS,bb({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:LS})}}var MS=r(te.URLSearchParams),DS=ee,FS=w,NS=ht("match"),zS=function(e){var t;return DS(e)&&(void 0!==(t=e[NS])?!!t:"RegExp"==FS(e))},VS=TypeError,US=function(e){if(zS(e))throw VS("The method doesn't accept regular expressions");return e},BS=ht("match"),WS=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[BS]=!1,"/./"[e](t)}catch(_O){}}return!1},KS=xr,qS=k,GS=Fr,HS=Hn,QS=US,XS=Q,JS=WS,YS=qS("".startsWith),$S=qS("".slice),ZS=Math.min;KS({target:"String",proto:!0,forced:!JS("startsWith")},{startsWith:function(e){var t=HS(XS(this));QS(e);var r=GS(ZS(arguments.length>1?arguments[1]:void 0,t.length)),n=HS(e);return YS?YS(t,n,r):$S(t,r,r+n.length)===n}});var ek=Uu("String").startsWith,tk=se,rk=ek,nk=String.prototype,ik=r((function(e){var t=e.startsWith;return"string"==typeof e||e===nk||tk(nk,e)&&t===nk.startsWith?rk:t})),ok=ow;xr({target:"Number",stat:!0,forced:Number.parseInt!=ok},{parseInt:ok});var ak=r(te.Number.parseInt),sk=I,lk=v,ck=j,uk=o,fk=di,hk=to,pk=A,dk=Xe,gk=K,vk=Object.assign,yk=Object.defineProperty,mk=lk([].concat),_k=!vk||uk((function(){if(sk&&1!==vk({b:1},vk(yk({},"a",{enumerable:!0,get:function(){yk(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=vk({},e)[r]||fk(vk({},t)).join("")!=n}))?function(e,t){for(var r=dk(e),n=arguments.length,i=1,o=hk.f,a=pk.f;n>i;)for(var s,l=gk(arguments[i++]),c=o?mk(fk(l),o(l)):fk(l),u=c.length,f=0;u>f;)s=c[f++],sk&&!ck(a,l,s)||(r[s]=l[s]);return r}:vk,wk=_k;xr({target:"Object",stat:!0,arity:2,forced:Object.assign!==wk},{assign:wk});var bk=r(te.Object.assign),Sk=ni.includes;xr({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return Sk(this,e,arguments.length>1?arguments[1]:void 0)}});var kk=Uu("Array").includes,Pk=xr,Tk=US,Ek=Q,Ok=Hn,xk=WS,Ik=v("".indexOf);Pk({target:"String",proto:!0,forced:!xk("includes")},{includes:function(e){return!!~Ik(Ok(Ek(this)),Ok(Tk(e)),arguments.length>1?arguments[1]:void 0)}});var Rk=Uu("String").includes,Ck=se,jk=kk,Ak=Rk,Lk=Array.prototype,Mk=String.prototype,Dk=r((function(e){var t=e.includes;return e===Lk||Ck(Lk,e)&&t===Lk.includes?jk:"string"==typeof e||e===Mk||Ck(Mk,e)&&t===Mk.includes?Ak:t})),Fk=te,Nk=f;Fk.JSON||(Fk.JSON={stringify:JSON.stringify});var zk=function(e,t,r){return Nk(Fk.JSON.stringify,null,arguments)},Vk=r(zk),Uk=f,Bk=Y,Wk=Lr,Kk=zr,qk=Fu,Gk=Math.min,Hk=[].lastIndexOf,Qk=!!Hk&&1/[1].lastIndexOf(1,-0)<0,Xk=qk("lastIndexOf"),Jk=Qk||!Xk?function(e){if(Qk)return Uk(Hk,this,arguments)||0;var t=Bk(this),r=Kk(t),n=r-1;for(arguments.length>1&&(n=Gk(n,Wk(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in t&&t[n]===e)return n||0;return-1}:Hk;xr({target:"Array",proto:!0,forced:Jk!==[].lastIndexOf},{lastIndexOf:Jk});var Yk=Uu("Array").lastIndexOf,$k=se,Zk=Yk,eP=Array.prototype,tP=r((function(e){var t=e.lastIndexOf;return e===eP||$k(eP,e)&&t===eP.lastIndexOf?Zk:t})),rP=i,nP=o,iP=Hn,oP=H_.trim,aP=z_,sP=v("".charAt),lP=rP.parseFloat,cP=rP.Symbol,uP=cP&&cP.iterator,fP=1/lP(aP+"-0")!=-1/0||uP&&!nP((function(){lP(Object(uP))}))?function(e){var t=oP(iP(e)),r=lP(t);return 0===r&&"-"==sP(t,0)?-0:r}:lP,hP=fP;xr({target:"Number",stat:!0,forced:Number.parseFloat!=hP},{parseFloat:hP});var pP=r(te.Number.parseFloat),dP=r(te.setInterval);function gP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Zw(e,n.key,n)}}function vP(e,t,r){return t&&gP(e.prototype,t),r&&gP(e,r),e}function yP(e,t,r){return t in e?Zw(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mP(e,t){var r=eb(e);if(tb){var n=tb(e);t&&(n=rb(n).call(n,(function(t){return nb(e,t).enumerable}))),r.push.apply(r,n)}return r}function _P(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)ib(r=mP(Object(n),!0)).call(r,(function(t){yP(e,t,n[t])}));else if(ob)ab(e,ob(n));else{var i;ib(i=mP(Object(n))).call(i,(function(t){Zw(e,t,nb(n,t))}))}}return e}var wP="xgplayer_device_id",bP="xgplayer_user_id",SP=function(e){if(!document.cookie)return null;for(var t=document.cookie.split(";"),r=0,n=t.length;r<n;r++){var i,o=t[r];if(sb(i=t[r]).call(i,e)>=0)return o.split("=")[1]||null}},kP=function(e){return String(Math.floor(Math.random()*Math.pow(10,e)))},PP=function(){var e=SP(wP);if(e)return e;var t=kP(11);return document.cookie=wP+"="+t+";max-age=31536000;path=/",t},TP=function(){var e=SP(bP);if(e)return e;var t=kP(12);return document.cookie=bP+"="+t+";max-age=31536000;path=/",t};var EP={get device(){return EP.os.isPc?"pc":"mobile"},get browser(){var e=function(){var e=navigator.userAgent.toLowerCase(),t={},r={IE:window.ActiveXObject||"ActiveXObject"in window,Chrome:sb(e).call(e,"chrome")>-1&&sb(e).call(e,"safari")>-1,Firefox:sb(e).call(e,"firefox")>-1,Opera:sb(e).call(e,"opera")>-1,Safari:sb(e).call(e,"safari")>-1&&-1==sb(e).call(e,"chrome"),Edge:sb(e).call(e,"edge")>-1,QQBrowser:/qqbrowser/.test(e),WeixinBrowser:/MicroMessenger/i.test(e)};for(var n in r)if(r[n]){var i="";if("IE"===n)i=e.match(/(msie\s|trident.*rv:)([\w.]+)/)[2];else if("Chrome"===n){for(var o in navigator.mimeTypes)"application/360softmgrplugin"===navigator.mimeTypes[o].type&&(n="360");var a=e.match(/chrome\/([\d.]+)/);i=a?a[1]:"-1"}else if("Firefox"===n){var s=e.match(/firefox\/([\d.]+)/);i=s?s[1]:"-1"}else if("Opera"===n){var l=e.match(/opera\/([\d.]+)/);i=l?l[1]:"-1"}else if("Safari"===n){var c=e.match(/version\/([\d.]+)/);i=c?c[1]:"-1"}else if("Edge"===n){var u=e.match(/edge\/([\d.]+)/);i=u?u[1]:"-1"}else if("QQBrowser"===n){var f=e.match(/qqbrowser\/([\d.]+)/);i=f?f[1]:"-1"}t.type=n,t.versions=sw(i)}return t}();return e.type+"_"+e.versions},get os(){var e=navigator.userAgent;navigator.platform.toLowerCase();var t=/(?:Windows Phone)/.test(e),r=/(?:SymbianOS)/.test(e)||t,n=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!o;return{isTablet:o,isPhone:a,isAndroid:n,isPc:!(a||n||r||o),isSymbian:r,isWindowsPhone:t,isFireFox:i}},get operation_os(){for(var e=navigator.userAgent,t=[{s:"windows",r:/(Windows 10.0|Windows NT 10.0|Windows NT 10.1|Windows 8.1|Windows NT 6.3|Windows 8|Windows NT 6.2|Windows 7|Windows NT 6.1)/},{s:"android",r:/Android/},{s:"linux",r:/(Linux|X11)/},{s:"ios",r:/(iPhone|iPad|iPod)/},{s:"mac",r:/Mac OS X/},{s:"mac",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/}],r=0;r<t.length;r++){var n=t[r];if(n.r.test(e))return n.s}return"unknown"}};function OP(){return fb()}function xP(e){var t="unknown";return"string"!=typeof e?t:sb(e).call(e,".flv")>-1?"flv":sb(e).call(e,".m3u8")>-1?"m3u8":sb(e).call(e,".mp4")>-1?"mp4":sb(e).call(e,".sdp")>-1?"rts":t}function IP(e){if(e.plugins){if(e.plugins.flv)return e.plugins.flv;if(e.plugins.hls)return e.plugins.hls;if(e.plugins.rts)return e.plugins.rts;if(e.plugins.flvlive)return e.plugins.flvlive;if(e.plugins.hlslive)return e.plugins.hlslive;if(e.plugins.hlsvod)return e.plugins.hlsvod;if(e.plugins.hlslivemobile)return e.plugins.hlslivemobile;if(e.plugins.flvlivemobile)return e.plugins.flvlivemobile}return e.newHls||e.newFlv||e.__core__||e.flv}var RP={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},CP=function(){function e(e){var t,r=e.Tea;if(!r)throw new Error("lack Tea option");r.event?this.Tea=N_(t=r.event).call(t,r):this.Tea=r;this.logOptions=e,this._player=e.player}vP(e,[{key:"videoSize",get:function(){return this._player&&this._player.video?{width:this._player.video.videoWidth,height:this._player.video.videoHeight}:{width:0,height:0}}}]);var t=e.prototype;return t.push=function(e){var t=this._player.config.url;this._player.video&&(e.play_current_time=this._player.currentTime),e.cdn_play_url=t&&ik(t).call(t,"//")?window.location.protocol+t:t,e.live_stream_session_id=function(e,t){return new MS(e.split("?")[1]).get(t)}(t,"session_id"),e.play_format=xP(t),e.timestamp=OP();var r=function(){var e={cpu_core_number:-1,memory_usage:-1,network_downlink:-1};try{e.cpu_core_number=navigator.hardwareConcurrency||-1,e.memory_usage=navigator.deviceMemory||-1,e.network_downlink=navigator.connection&&navigator.connection.downlink,null==e.network_downlink&&(e.network_downlink=-1)}catch(_O){}return e}(),n=r.cpu_core_number,i=r.memory_usage,o=r.network_downlink;e.cpu_core_number=n,e.memory_usage=i,e.network_downlink=o,bk(e,_P({},this.videoSize)),this.send(e)},t.send=function(e){e.event_key&&(this.logOptions.onReport&&this.logOptions.onReport(e.event_key,e),this.Tea(e.event_key,_P({},e)))},e}(),jP=function(){return void 0!==navigator.onLine?navigator.onLine?(e=navigator.connection)&&(e.effectiveType||e.type)||EP.device:"none":"unknown";var e},AP=["play","playing","pause","ended","error","seeking","seeked","timeupdate","waiting","canplay","canplaythrough","durationchange","ratechange","volumechange","loadeddata"],LP=function(){function e(e){var t,r;this.options=e,this.logger=new MP(e),this.restart=N_(t=this.restart).call(t,this),this.bindUrlChange(),Dk(r=EP.browser).call(r,"Chrome")}var t=e.prototype;return t.restart=function(e){this.destroy("string"!=typeof e&&Boolean(e)),this.logger=new MP(this.options),this.bindUrlChange(),this.logger.reportStartPlay(),this.logger.handlePlayerComlete()},t.bindUrlChange=function(){this.options&&this.options.player&&!this.options.manual_restart&&this.options.player.on("urlchange",this.restart)},t.setNTP=function(e){this.logger.setNTP(e)},t.updateExt=function(e){this.options.ext=bk(this.options.ext||{},e),this.logger&&this.logger.updateExt(e)},t.destroy=function(e){this.logger.destroy(e),this.logger=null,this.options&&this.options.player&&!this.options.manual_restart&&this.options.player.off("urlchange",this.restart)},e}(),MP=function(){function e(e){if(!e.player)throw new Error("option player is necessary");this.options=bk({},e,function(e){return{device_id:e.device_id||PP(),user_id:e.user_id||TP(),error_report_stop:!!e.error_report_stop,project_key:e.project_key||"live",product_line:e.product_line||"live",onReport:e.onReport||function(){}}}(e)),this._player=this.options.player,this._url=this._player.config.url,this.project_key=e.project_key||"live",this.product_line=e.product_line||"live",this.ntpDelta=this.options.ntp?fb()-this.options.ntp:0,this.inWaitingStart=0,this.errorNumber=0,this.tempDroppedFrameCount=0,this.tempTotalFrameCount=0,this._logmanager=new CP(this.options),this.init(),this.started=!1,this.destroyed=!1,this.completed=!1,this.firstFrameViewed=!1,this.cacheRtcStats={}}vP(e,[{key:"videoSize",get:function(){return this.player?{width:this.player.video.videoWidth,height:this.player.video.videoHeight}:{width:0,height:0}}},{key:"player",get:function(){return this._player}},{key:"logmanager",get:function(){return this._logmanager}},{key:"ntpTime",get:function(){return fb()-this.ntpDelta}}]);var t=e.prototype;return t.setNTP=function(e){this.options&&(this.options.ntp=e,this.ntpDelta=fb()-this.options.ntp)},t.init=function(){this.bindCtx(),this.initLog(),this.initEvt()},t.bindCtx=function(){var e,t,r,n,i,o,a,s,l,c,u,f,h,p,d,g;this.handlePlayerComlete=N_(e=this.handlePlayerComlete).call(e,this),this.handlePlayerPlaying=N_(t=this.handlePlayerPlaying).call(t,this),this.destroyFunc=N_(r=this.destroyFunc).call(r,this),this.handleUserLeave=N_(n=this.handleUserLeave).call(n,this),this.handlePlayerError=N_(i=this.handlePlayerError).call(i,this),this.handlePlayerReady=N_(o=this.handlePlayerReady).call(o,this),this.handlePlayerWaiting=N_(a=this.handlePlayerWaiting).call(a,this),this.handleAVUnsync=N_(s=this.handleAVUnsync).call(s,this),this.handlePlayerPause=N_(l=this.handlePlayerPause).call(l,this),this.handleTTFB=N_(c=this.handleTTFB).call(c,this),this.handleUrlChange=N_(u=this.handleUrlChange).call(u,this),this.handleKeyframe=N_(f=this.handleKeyframe).call(f,this),this.handleSourceOpen=N_(h=this.handleSourceOpen).call(h,this),this.handleBufferAppend=N_(p=this.handleBufferAppend).call(p,this),this.handleCoreEvent=N_(d=this.handleCoreEvent).call(d,this),this.handleDegrade=N_(g=this.handleDegrade).call(g,this)},t.initLog=function(){var e=this,t=this.options,r=t.player,n=void 0!==r.hlsOps;this.commonParams=_P({os:EP.operation_os},function(e){var t,r=e.player,n=r.config.mediaType;return _P({project_key:e.project_key,live_sdk_version:IP(r)||r.hlsOps?"2":"-1",player_sdk_version:r.version,logger_version:"1.1.0-alpha.5",report_version:"5",product_line:e.product_line,user_id:e.user_id,device_id:e.device_id,logger_id:kP(12),app_name:e.app_name,cdn_ip:e.cdn_ip,is_wasm:+(!!n&&"video"!==n),review_is_live:r.config.isLive?2:1,aid:e.aid,live_id:e.live_id||e.aid+"-"+e.user_id+"-"+fb(),is_preview:e.is_preview?1:0,codec_type:e.codec_type||"h264",width:Math.floor(r.config.width),height:Math.floor(r.config.height),browser:EP.browser,ua:navigator.userAgent,href:window.location.href,timestamp:0,fps:-1,logger_init_time:fb(),play_current_time:0,cdn_play_url:r.config.url&&ik(t=r.config.url).call(t,"//")?window.location.protocol+r.config.url:r.config.url,play_format:xP(r.config.url),codec_support:-1},e.ext)}(t)),this.log=bk({},{start_play:{start_play_time:0,event_key:"start_play"},first_frame:{start:0,first_frame_view:0,event_key:"first_frame",first_sei_delay:0,ntp_sync:0,ntp_delta:0,ttfb:-1,ttdb:-1,ttfb_end:0},first_frame_failed:{code:void 0,msg:"",event_key:"first_frame_failed"},stall_start:{ready_state:-1,stall_start_time:0,event_key:"stall_start"},stalling:{event_key:"stalling"},stall:{reason:0,stall_start:0,stall_end:0,ready_state:0,event_key:"stall"},play_stop:{code:0,stop_time:0,drop_percent:0,is_stream_received:0,stall_count:0,stall_time:0,retry_count:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0,event_key:"play_stop",dns_parse_time:-1,redirect:-1,ttfb:-1,buffered:[],is_firstframe_received:0,meta:null},playing:{index:0,stall_count:0,stall_time:0,play_time:1e4,retry_count:0,is_last:0,video_buffer_time:0,audio_buffer_time:0,speed_switch_count:0,speed_switch_info:"none",download_speed:0,decode_fps:0,render_fps:0,drop_count:0,drop_percent:0,sei_source:"",sei_delay:0,ntp_sync:0,ntp_delta:0,event_key:"playing",stop_time:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0},play_error:{code:void 0,info:"",event_key:"play_error"},play_low_decode:{fps:-1,decode_fps:-1,bitrate:-1,url:-1,msg:"",event_key:"play_low_decode"},play_av_unsync:{aDts:-1,vDts:-1,frameLength:-1,currentTime:-1,duration:0,event_key:"play_av_unsync"},play_loadstream:{loadstream_url:"",event_key:"play_loadstream"},play_stream_loaded:{event_key:"play_stream_loaded"},play_metadata_loaded:{metadata_type:"",event_key:"play_metadata_loaded"},stream_exception:{event_key:"stream_exception"},pause:{event_key:"pause"},play_url_change:{event_key:"play_url_change"},source_opened:{event_key:"source_opened"},source_updateend:{event_key:"source_updateend"},play_result:{event_key:"play_result",result:0,threshold:15e3,is_threshold:0},degrade:{event_key:"degrade",payload:{}},rtcstatechange:{event_key:"rtcstatechange"}});var i=this;for(var o in this.log){var a=function(t){Zw(e.log[o],t,{get:function(){return null==this["_"+t]?i.commonParams[t]:this["_"+t]},set:function(e){this["_"+t]=e},enumerable:!0})};for(var s in this.commonParams)a(s);n&&Zw(this.log[o],"m3u8",{get:function(){if(r.__core__){var e=r.__core__.m3u8Text;return e?Ew(e).call(e,0,25e4):""}return""},enumerable:!0}),Zw(this.log[o],"volume",{get:function(){if(r&&r.video)return r.volume||0},enumerable:!0}),Zw(this.log[o],"access",{get:function(){return jP()},enumerable:!0})}},t.updateExt=function(e){for(var t in this.log)for(var r in e)this.log[t][r]=e[r]},t.reportStartPlay=function(){this.started||(this.started=!0,this.log.start_play.start_play_time=this.log.start_play.timestamp=OP(),this.logmanager.push(this.log.start_play,!0))},t.initWindowListener=function(){"pc"===EP.device?window.addEventListener("beforeunload",this.handleUserLeave):"mobile"===EP.device&&(window.addEventListener("beforeunload",this.handleUserLeave),window.addEventListener("pagehide",this.handleUserLeave))},t.removeWindowListener=function(){"pc"===EP.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===EP.device&&(window.removeEventListener("beforeunload",this.handleUserLeave),window.removeEventListener("pagehide",this.handleUserLeave))},t.initEvt=function(){var e=this,t=this.player;ib(AP).call(AP,(function(t){e["handleVideo"+t+"Evt"]=function(){e["handleVideo"+t]&&e["handleVideo"+t]()},e.initWindowListener(),e.bindVideoEvt(t,e["handleVideo"+t+"Evt"])})),t.once("error",this.handlePlayerError),t.once("complete",this.handlePlayerComlete),t.once("playing",this.handlePlayerPlaying),t.once("timeupdate",this.handlePlayerPlaying),t.once("destroy",this.destroyFunc),t.on("ready",this.handlePlayerReady),t.on("waiting",this.handlePlayerWaiting),t.on("pause",this.handlePlayerPause),t.on("urlchange",this.handleUrlChange),t.once("sourceopen",this.handleSourceOpen),t.once("bufferappend",this.handleBufferAppend),t.on("core_event",this.handleCoreEvent),t.on("degrade",this.handleDegrade),this.hiJackPlayerStart()},t.handleCoreEvent=function(e){var t=e.eventName,r=e.headers,n=e.pts,i=e.type,o=e.meta,a=e.sei,s=e.decodeFps,l=e.url,c=e.state;switch(t){case"core.ttfb":this.handleTTFB(e);break;case"core.loadresponseheaders":var u=r.get("X-Server-Ip");void 0!==this.player.hlsOps&&(this.log.play_stop.review_ts_count+=1),u&&(this.commonParams.cdn_ip=u);break;case"core.loadretry":this.log.play_stop.retry_count++;break;case"core.keyframe":this.handleKeyframe(n);break;case"core.metadataparsed":this.handleMetaDataLoaded(i,o);break;case"core.sei":this.handleSEIParsed(a);break;case"core.lowdecode":this.commonParams.is_wasm&&(bk(this.log.play_low_decode,e||{}),this.log.play_low_decode.decode_fps=s,this.log.play_low_decode.timestamp=OP(),this.logmanager.push(this.log.play_low_decode,!0),this.commonParams.is_wasm=0);break;case"core.largeavgap":this.handleAVUnsync(e);break;case"core.loadstart":this.handlePlayerLoadStream(e),this.reportStartPlay();break;case"core.loadcomplete":this.handlePlayerLoadedStream(e);break;case"core.streamexception":this.handleStreamException(e);break;case"core.rtcstatechange":this.logmanager.push(bk({url:l,state:c},this.log.rtcstatechange))}},t.handleDegrade=function(e){this.log.degrade.payload=e,this.logmanager.push(this.log.degrade,!0)},t.hiJackPlayerStart=function(){var e=arguments,t=this;this.player._start=this.player.start;var r=this.player;r.start=function(){try{if(r._start)return r._start.apply(r,Ew(Array.prototype).call(e,0))}catch(lE){}t.destroyed||t.handlePlayerComlete()}},t.handleTTFB=function(e){var t=e||{},r=t.end,n=t.elapsed;this.log.first_frame.ttfb=n||-1,this.log.first_frame.ttfb_end=r||0},t.handleUrlChange=function(e){this.logmanager.push(bk(this.log.play_url_change,{url:e,timestamp:OP()}))},t.handleKeyframe=function(e){this.log.play_stop.is_firstframe_received=1,this.log.play_stop.firstframe_pts=e},t.handleSourceOpen=function(){this.log.source_opened.timestamp=OP(),this.logmanager.push(this.log.source_opened)},t.handleBufferAppend=function(){this.log.source_updateend.timestamp=OP(),this.logmanager.push(this.log.source_updateend)},t.handlePlayerPause=function(){this.log.pause.timestamp=OP(),this.logmanager.push(this.log.pause,!0),this.stallEnd()},t.handlePlayerError=function(e){this.errorNumber=1;var t=e.errorType,r=e.errorCode;bk(this.log.play_error,_P({timestamp:OP(),code:e.httpCode||r||("parse"===t?31:21),info:e.message,detail:Vk(e)},this.videoSize)),this.logmanager.push(this.log.play_error,!0),this.destroyed||(0===this.log.first_frame.first_frame_view&&(bk(this.log.first_frame_failed,{code:r||("parse"===t?31:21),msg:e.message}),void 0!==this.log.first_frame_failed.timestamp&&(this.log.first_frame_failed.timestamp=OP()),this.logmanager.push(this.log.first_frame_failed,!0),this.log.play_result.is_threshold||(this.clearPlayResultTimer(),this.log.play_result.reason=e.message||"first frame failed",this.log.play_result.code=this.log.play_error.code,this.logmanager.push(this.log.play_result,!0))),this.options.error_report_stop?this.handleUserLeave():this.updatePlayStopParams())},t.handlePlayerLoadStream=function(e){var t=e.url,r=e.offersdp,n=e.sessionId;if("string"==typeof t){var i=this.log.play_loadstream;i.timestamp=OP(),i.loadstream_url=t,i.offersdp=r,i.sessionId=n,this.logmanager.push(i)}},t.handlePlayerLoadedStream=function(e){var t=this.log.play_stream_loaded;t.timestamp=OP(),bk(t,e),this.logmanager.push(t)},t.handleSEIParsed=function(e){var t=this.log,r=t.playing,n=t.first_frame;if(100===e.code){var i=function(e){var t,r,n,i,o,a;for(t="",n=e.length,r=0;r<n;)switch((i=e[r++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(i);break;case 12:case 13:o=e[r++],t+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=e[r++],a=e[r++],t+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&a)<<0)}return t}(e.content);i=Ew(i).call(i,sb(i).call(i,"{"),tP(i).call(i,"}")+1);try{var o=JSON.parse(i),a=this.getPlayerBuffer()+this.ntpTime-o.ts;r.sei_delay=a,r.sei_source=o.source,r.ntp_sync=this.options.ntp?1:0,r.ntp_delta=this.ntp_delta,n.first_sei_delay=a,n.ntp_sync=this.options.ntp?1:0,n.ntp_delta=this.ntp_delta}catch(lE){}}},t.handleMetaDataLoaded=function(e,t){var r;this.log.play_stop.meta=this.log.play_stop.meta||{},e&&(this.log.play_stop.meta[e]=t),this.log.play_metadata_loaded.timestamp=OP(),this.log.play_metadata_loaded.metadata_type=e,t&&(this.log.play_metadata_loaded.meta=t,this.log.play_metadata_loaded.codec=t.codec,"video"===e&&(this.commonParams.codec_type=t.codec,this.commonParams.codec_support=(r=t.codec,"undefined"!=typeof MediaSource?+MediaSource.isTypeSupported("video/mp4; codecs="+r):0))),t||(this.log.play_metadata_loaded.meta=void 0,this.log.play_metadata_loaded.codec=void 0,"video"===e&&(this.commonParams.codec_type="unknown")),this.logmanager.push(this.log.play_metadata_loaded)},t.handleAVUnsync=function(e){bk(this.log.play_av_unsync,e||{}),this.log.play_av_unsync.timestamp=OP(),this.logmanager.push(this.log.play_av_unsync,!1)},t.handleStreamException=function(e){this.logmanager.push(bk({},this.log.stream_exception,e))},t.handlePlayerComlete=function(){this.completed||(this.completed=!0,this.core=IP(this.player),this.core&&(this.commonParams.live_sdk_version="2"),(this.player.config.autoplay||this.player.config.videoInit)&&this.reportStartPlay())},t.getPlayerBuffer=function(){var e=this.player.video.buffered;if(e){var t=Math.max(0,e.length-1);try{var r=ak(1e3*(e.end(t)-this.player.video.currentTime));return this.log.playing.audio_buffer_time=this.log.playing.video_buffer_time=r,r}catch(lE){return 0}}},t.getPlayerDownloadSpeed=function(){if(this.core&&this.core.core&&"function"==typeof this.core.core.speedInfo)return this.core.core.speedInfo().speed},t.getPlayerQuality=function(){var e=this.player.video;if(e.getVideoPlaybackQuality){var t=e.getVideoPlaybackQuality();this.log.playing.drop_count=t.droppedVideoFrames-this.tempDroppedFrameCount,this.log.playing.drop_percent=pP(this.tempTotalFrameCount/t.totalVideoFrames).toFixed(1),this.log.play_stop.drop_percent=pP(t.droppedVideoFrames/t.totalVideoFrames).toFixed(1),this.tempDroppedFrameCount=t.droppedVideoFrames,this.tempTotalFrameCount=t.totalVideoFrames}},t.getRtcStats=function(e,t){try{var r=this,n=r.player.plugins.rts||r.player.plugins.rtm,i=n&&n.pc,o={};return i?S_.resolve(i.getStats()).then((function(t){return ib(t).call(t,(function(t){var n=t.type,i=t.mediaType,a=t.bytesReceived,s=t.packetsReceived,l=t.audioLevel,c=t.concealmentEvents,u=t.remoteTimestamp,f=t.timestamp,h=t.framesDropped,p=t.keyFramesDecoded,d=t.totalDecodeTime,g=t.framesDecoded,v=t.frameHeight,y=t.frameWidth,m=t.framesReceived,_=t.jitterBufferDelay,w=t.jitterBufferEmittedCount,b=t.jitter,S=t.nackCount,k=t.packetsLost,P=t.pliCount,T=t.totalSamplesReceived,E=t.concealedSamples,O=t.currentRoundTripTime,x=t.decoderImplementation,I=t.mimeType,R=t.freezeCount,C=t.totalFreezesDuration,j=t.totalPausesDuration;switch(n){case"inbound-rtp":"audio"===i?(o.audio_bytes_received=a-(r.cacheRtcStats.audioBytesReceived||0),r.cacheRtcStats.audioBytesReceived=a,o.audio_packets_lost=k-(r.cacheRtcStats.audioPacketsLost||0),o.audio_packets_received=s-(r.cacheRtcStats.audioPacketsReceived||0),r.cacheRtcStats.audioPacketsLost=k,r.cacheRtcStats.audioPacketsReceived=s,o.audio_level=l,o.concealment_event=c,o.audio_fraction_lost=o.audio_packets_lost/o.audio_packets_received,void 0!==r.cacheRtcStats.totalSamplesReceived&&(o.audio_rec_sample_rate=(T-r.cacheRtcStats.totalSamplesReceived)/e),r.cacheRtcStats.totalSamplesReceived=T,o.concealed_samples=E,o.total_samples_received=T):(o.frames_dropped=h,o.iframes_decoded=p,o.video_bytes_received=a-(r.cacheRtcStats.videoBytesReceived||0),r.cacheRtcStats.videoBytesReceived=a,o.video_dec_time=d,o.video_decoded_delay_ms=o.video_dec_elapse/g,o.video_frame_height=v,o.video_frame_width=y,void 0!==r.cacheRtcStats.framesDecoded&&(o.video_decode_framerate=(g-r.cacheRtcStats.framesDecoded)/e),r.cacheRtcStats.framesDecoded=g,void 0!==r.cacheRtcStats.framesReceived&&(o.video_recv_framerate=(m-r.cacheRtcStats.framesReceived)/e),void 0!==r.cacheRtcStats.freezeCount&&(o.freeze_count=R-r.cacheRtcStats.freezeCount,o.freeze_duration=C-r.cacheRtcStats.totalFreezesDuration),r.cacheRtcStats.freezeCount=R,r.cacheRtcStats.totalFreezesDuration=C,r.cacheRtcStats.framesReceived=m,o.total_pauses_duration=j,o.video_jb_delay=_/w*1e3,o.video_jitter=1e3*b,o.video_nack_count=S,o.video_packets_lost=k-(r.cacheRtcStats.videoPacketsLost||0),o.video_packets_received=s-(r.cacheRtcStats.videoPacketsReceived||0),o.video_fraction_lost=o.video_packets_lost/o.video_packets_received,r.cacheRtcStats.videoPacketsLost=k,r.cacheRtcStats.videoPacketsReceived=s,o.video_pli_count=P,o.decoder_name=x);break;case"remote-outbound-rtp":o.e2e_delay_ms=f-u;break;case"track":void 0!==y&&(o.video_frame_width=y,o.video_frame_height=v);break;case"candidate-pair":o.rtt=1e3*O;break;case"codec":Dk(I).call(I,"video")?o.video_codec=I:o.audio_codec=i}o.total_delay=o.e2e_delay_ms+(o.video_decoded_delay_ms||0)+(o.video_jb_delay||0)})),bk(r.log.playing,{video_download_size:o.video_bytes_received,decode_fps:o.video_decode_framerate,sei_delay:o.total_delay,sei_network_delay:o.e2e_delay_ms,width:o.video_frame_width,height:o.video_frame_height,current_speed:(o.audio_bytes_received+o.video_bytes_received)/e}),o})):S_.resolve(o)}catch(lE){return S_.reject(lE)}},t.reportPlaying=function(e){try{var t=this;t.commonParams.is_wasm&&(t.commonParams.fps=t.player.video.fps,t.log.playing.render_fps=t.player.video.fps,t.log.playing.decode_fps=t.player.video.decodeFps),t.log.playing.index++;var r,n=t.log.playing.timestamp;t.inWaitingStart&&t.inWaitingStart<OP()&&(r=Math.min(t.options.playingInterval||t.log.playing.play_time,OP()-Math.max(t.inWaitingStart,n))),t.getPlayerQuality(),t.getPlayerBuffer(),t.options.downloadSpeedInterval||(t.log.playing.current_speed=t.getPlayerDownloadSpeed());var i=OP(),o=i-n,a=(r>200?r:0)+t.log.playing.stall_time,s=(r>200?1:0)+t.log.playing.stall_count;return t.options.aggregationDowngradeStallTime&&(t.log.playing.aggregation_downgrade_stall=(r>t.options.aggregationDowngradeStallTime?r:0)+(t.log.playing.aggregation_downgrade_stall||0)),bk(t.log.playing,_P({timestamp:i,stop_time:i,duration:e?0:o/1e3,stall_time_per_100sec:a/o*100,stall_count_per_100sec:1e3*s/o*100,stall_count:s,stall_time:a,play_current_time:t.player.currentTime},t.videoSize)),S_.resolve(t.getRtcStats(o,e)).then((function(r){t.logmanager.push(bk({},t.log.playing,_P({play_time:e?0:o},r)),!0),t.log.playing.download_speed_array=[],t.log.playing.stall_time=0,t.log.playing.stall_count=0,t.options.aggregationDowngradeStallTime&&(t.log.playing.aggregation_downgrade_stall=0)}))}catch(lE){return S_.reject(lE)}},t.handlePlayerPlaying=function(){try{var e=this;if(e.player&&e.player.video.readyState<3)return S_.resolve();if(e.player.off("playing",e.handlePlayerPlaying),e.player.off("timeupdate",e.handlePlayerPlaying),e.core){var t=(e.core.getStats()||{}).fps;e.commonParams.fps=t}return S_.resolve(e.reportPlaying(!0)).then((function(){e.clearPlayingInterval();var t=e.options.playingInterval||e.log.playing.play_time;e.intervalId=dP((function(){try{var r=function(){if(Math.abs(fb()-e.log.playing.timestamp-t)<100||fb()-e.log.playing.timestamp>=t){var r=function(){if(e.player.video){var t=function(){if(!e.player.paused)return S_.resolve(e.reportPlaying()).then((function(){}));e.handleVideopause()}();if(t&&t.then)return t.then((function(){}))}else e.destroyFunc()}();if(r&&r.then)return r.then((function(){}))}}();return S_.resolve(r&&r.then?r.then((function(){})):void 0)}catch(lE){return S_.reject(lE)}}),1e3),e.clearStallTimer(),e.handleVideoplaying(),e.started||e.reportStartPlay(),e.saveBuffered()}))}catch(lE){return S_.reject(lE)}},t.handlePlayerReady=function(){var e=this;this.log.start_play.start_play_time=OP(),this.player.config.autoplay&&this.reportStartPlay(),this.options.playResultThreshold&&(this.log.play_result.threshold=this.options.playResultThreshold),this.clearPlayResultTimer(),this.log.play_result.start=OP(),this.playResultTimer=Tw((function(){e.log.play_result.timestamp>=e.log.play_result.start||(e.log.play_result.is_threshold=1,e.logmanager.push(e.log.play_result,!0))}),this.log.play_result.threshold)},t.handlePlayerWaiting=function(){var e=this;!this.inWaitingStart&&this.log.first_frame.timestamp&&(this.log.stall.timestamp=this.inWaitingStart=this.log.stall.stall_start=OP(),this.log.stall_start.ready_state=this.log.stall.ready_state=this.player.video.readyState,this.log.stall_start.timestamp=OP(),this.log.stall_start.stall_start_time=OP(),this.log.stall_start.video_buffer_time=this.player.video.readyState,this.log.stall_start.play_current_time=this.player.currentTime,this.log.stall.play_current_time=this.player.currentTime,this.log.stall_start.buffered=this.getBuffered(),this.log.stall.buffered=this.log.stall_start.buffered,this.log.stall.current_speed=this.getPlayerDownloadSpeed(),bk(this.log.stall_start,this.videoSize),this.clearStallTimer(),this.stallStartTimer=Tw((function(){e.logmanager.push(e.log.stall_start,!0)}),205))},t.handleVideoseeking=function(){this.player&&this.player.video&&this.inWaitingStart&&this.player.video.duration<1/0&&(this.inWaitingStart=0,this.clearStallTimer())},t.handleVideoseeked=function(){this.player&&this.player.video&&this.inWaitingStart&&this.player.video.duration<1/0&&(this.inWaitingStart=0,this.log.play_stop.stall_count>0&&this.log.play_stop.stall_count--)},t.handleVideoplay=function(){this.reportStartPlay(),this.removeVideoEvt("play",this.handleVideoplay)},t.handleVideotimeupdate=function(){Math.abs(this.player.currentTime-this.log.stall_start.play_current_time)>.2&&this.stallEnd(),this.saveBuffered()},t.handleVideocanplay=function(){this.stallEnd(),this.reportFirstframe()},t.handleVideoplaying=function(){this.stallEnd(),this.log.play_stop.is_stream_received=1;var e=OP();this.reportStartPlay(),this.log.first_frame.start=e},t.stallEnd=function(){this.clearStallTimer();var e=OP();if(this.inWaitingStart){var t=e-this.inWaitingStart;t>200&&(this.log.play_stop.stall_count++,this.log.play_stop.stall_time+=e-this.inWaitingStart,this.log.playing.stall_time+=e-Math.max(this.inWaitingStart,this.log.playing.timestamp),this.log.stall.stall_end=e,this.log.stall.timestamp=OP(),this.log.playing.stall_count++,bk(this.log.stall,_P({},this.videoSize)),this.logmanager.push(this.log.stall,!0)),this.options.aggregationDowngradeStallTime&&t>this.options.aggregationDowngradeStallTime&&(this.log.playing.aggregation_downgrade_stall=(this.log.playing.aggregation_downgrade_stall||0)+(e-Math.max(this.inWaitingStart,this.log.playing.timestamp)))}this.inWaitingStart=0},t.handleVideoloadeddata=function(){this.reportFirstframe()},t.handleVideoratechange=function(){this.log.playing.speed_switch_count++,this.log.playing.speed_switch_info=this.player.video.playbackRate},t.handleVideoended=function(){this.clearPlayingInterval(),this.clearStallTimer(),bk(this.log.playing,_P({timestamp:OP(),is_last:1},this.videoSize)),this.logmanager.push(this.log.playing)},t.handleVideoerror=function(){var e=this;this.errorNumber=1;var t=this.player.video.error;bk(this.log.play_error,_P(_P({timestamp:OP()},this.videoSize),t&&{code:t.code,info:t.message})),this.logmanager.push(this.log.play_error,!0),0!==e.log.first_frame.first_frame_view||e.log.first_frame_failed.code||t&&(e.log.first_frame_failed.code=t.code,e.log.first_frame_failed.msg=RP[t.code],void 0!==e.log.first_frame_failed.timestamp&&(e.log.first_frame_failed.timestamp=OP()),e.logmanager.push(e.log.first_frame_failed,!0),e.log.play_result.is_threshold||(e.log.play_result.reason=RP[t.code]||"first frame failed",e.log.play_result.code=t.code,e.clearPlayResultTimer(),e.logmanager.push(e.log.play_result,!0))),e.options.error_report_stop?e.handleUserLeave():e.updatePlayStopParams()},t.handleVideopause=function(){this.stallEnd(),this.clearPlayingInterval(),this.clearStallTimer(),clearTimeout(this.collectDownloadSpeedTimer),this.player.once("playing",this.handlePlayerPlaying),this.player.once("timeupdate",this.handlePlayerPlaying)},t.destroyFunc=function(e){var t=this;this.destroyed||(e||this.handleUserLeave(),this.destroyed=!0,"pc"===EP.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===EP.device&&window.removeEventListener("pagehide",this.handleUserLeave),ib(AP).call(AP,(function(e){t.removeVideoEvt(e,t["handleVideo"+e+"Evt"])})),this.player&&(this.player._start&&(this.player.start=this.player._start,delete this.player._start),this.player.off("destroy",this.destroyFunc),this.player.off("complete",this.handlePlayerComlete),this.player.off("playing",this.handlePlayerPlaying),this.player.off("timeupdate",this.handlePlayerPlaying),this.player.off("ready",this.handlePlayerReady),this.player.off("waiting",this.handlePlayerWaiting),this.player.off("largeavgap",this.handleAVUnsync),this.player.off("error",this.handlePlayerError),this.player.off("SEI_PARSED",this.handleSEIParsed),this.player.off("pause",this.handlePlayerPause),this.player.off("ttfb",this.handleTTFB),this.player.off("urlchange",this.handleUrlChange),this.player.off("isKeyframe",this.handleKeyframe),this.player.off("sourceopen",this.handleSourceOpen),this.player.off("bufferappend",this.handleBufferAppend),this.player.off("core_event",this.handleCoreEvent),this.player.off("degrade",this.handleDegrade),this.clearPlayingInterval(),this.clearStallTimer(),this.clearPlayResultTimer(),clearTimeout(this.collectDownloadSpeedTimer),this._player=null))},t.handleUserLeave=function(){!this.destroyed&&this.started&&(this.destroyed=!0,this.updatePlayStopParams(),this.reportPlayStop(),this.clearPlayingInterval(),this.clearStallTimer(),clearTimeout(this.collectDownloadSpeedTimer),this.removeWindowListener())},t.saveBuffered=function(){try{var e=this.getBuffered();e&&e.length&&(this.log.play_stop.buffered=e)}catch(_O){}},t.getBuffered=function(){try{for(var e=[],t=this.player.video,r=0;r<t.buffered.length;r++)e.push([t.buffered.start(r),t.buffered.end(r)]);return e}catch(_O){}},t.reportPlayStop=function(){this.log.play_stop.play_current_time=this.player.currentTime||this.log.playing.play_current_time,this.saveBuffered(),this.logmanager.push(this.log.play_stop,!0)},t.reportFirstframe=function(){if(!this.firstFrameViewed){if(this.core){var e=(this.core.getStats()||{}).fps;this.commonParams.fps=e}this.firstFrameViewed=!0;var t=OP();bk(this.log.first_frame,_P({first_frame_view:t-this.log.start_play.start_play_time||t,timestamp:t},this.videoSize)),this.log.first_frame.ttfb_end&&(this.log.first_frame.ttdb=t-this.log.first_frame.ttfb_end),this.logmanager.push(this.log.first_frame,!0),this.clearPlayResultTimer(),this.log.play_result.result=1,this.logmanager.push(this.log.play_result,!0),this.log.play_stop.is_stream_received=1}},t.updatePlayStopParams=function(){var e=function(e){var t,r=rb(t=performance.getEntriesByType("resource")).call(t,(function(t){return t.name===e}));if(r.length){var n=r[0],i=r[r.length-1];return{dns_parse_time:ak(n.domainLookupEnd-n.domainLookupStart),redirect:ak(n.redirectEnd-n.redirectStart),ttfb:ak(i.responseStart-i.requestStart)}}return{dns_parse_time:-1,redirect:-1,ttfb:-1}}(this._url),t=OP();this.playedTime=t-this.log.start_play.start_play_time;var r=this.log.play_stop;bk(r,_P({},0===r.stall_count&&{stall_time:0})),this.inWaitingStart&&t-this.inWaitingStart>200&&(r.stall_time+=t-this.inWaitingStart),this.inWaitingStart=0,bk(r,_P({stall_time_per_100sec:r.stall_time/this.playedTime*100,stall_count_per_100sec:1e3*r.stall_count/this.playedTime*100},e)),0===this.log.play_stop.stall_count_per_100sec&&(this.log.play_stop.stall_time_per_100sec=0),this.log.play_stop.stall_time_per_100sec>100||this.log.play_stop.stall_time_per_100sec<0||(this.log.playing.index?(bk(this.log.playing,_P({timestamp:OP(),is_last:1},this.videoSize)),this.logmanager.push(this.log.playing,!0)):(this.log.play_stop.error_code=this.log.play_error.code,this.log.play_stop.error_info=this.log.play_error.info),t=OP(),bk(r,_P({timestamp:t,stop_time:t,duration:this.playedTime/1e3,play_time:this.playedTime/1e3},this.videoSize)),0===this.errorNumber&&(r.play_time_on_no_frame=r.stop_time-this.log.start_play.start_play_time))},t.clearPlayingInterval=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},t.clearStallTimer=function(){clearTimeout(this.stallStartTimer)},t.clearPlayResultTimer=function(){clearTimeout(this.playResultTimer)},t.destroy=function(e){this.destroyFunc(!e)},t.bindVideoEvt=function(e,t){this.player&&this.player.video.addEventListener(e,t,!1)},t.removeVideoEvt=function(e,t){this.player&&this.player.video&&this.player.video.removeEventListener(e,t,!1)},t.send=function(e,t){this.logmanager.send(e,t)},e}(),DP=r(tu),FP=r(Am),NP=Oe,zP=TypeError,VP=xr,UP=Xe,BP=$n,WP=Lr,KP=zr,qP=tf,GP=Ur,HP=En,QP=qr,XP=function(e,t){if(!delete e[t])throw zP("Cannot delete property "+NP(t)+" of "+NP(e))},JP=Rn("splice"),YP=Math.max,$P=Math.min;VP({target:"Array",proto:!0,forced:!JP},{splice:function(e,t){var r,n,i,o,a,s,l=UP(this),c=KP(l),u=BP(e,c),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=c-u):(r=f-2,n=$P(YP(WP(t),0),c-u)),GP(c+r-n),i=HP(l,n),o=0;o<n;o++)(a=u+o)in l&&QP(i,o,l[a]);if(i.length=n,r<n){for(o=u;o<c-n;o++)s=o+r,(a=o+n)in l?l[s]=l[a]:XP(l,s);for(o=c;o>c-n+r;o--)XP(l,o-1)}else if(r>n)for(o=c-n;o>u;o--)s=o+r-1,(a=o+n-1)in l?l[s]=l[a]:XP(l,s);for(o=0;o<r;o++)l[o+u]=arguments[o+2];return qP(l,c-n+r),i}});var ZP=Uu("Array").splice,eT=se,tT=ZP,rT=Array.prototype,nT=r((function(e){var t=e.splice;return e===rT||eT(rT,e)&&t===rT.splice?tT:t}));xr({global:!0,forced:parseFloat!=fP},{parseFloat:fP});var iT=r(te.parseFloat),oT=vl.PROPER,aT=o,sT=z_,lT=H_.trim;xr({target:"String",proto:!0,forced:function(e){return aT((function(){return!!sT[e]()||"
"!=="
"[e]()||oT&&sT[e].name!==e}))}("trim")},{trim:function(){return lT(this)}});var cT=Uu("String").trim,uT=se,fT=cT,hT=String.prototype,pT=r((function(e){var t=e.trim;return"string"==typeof e||e===hT||uT(hT,e)&&t===hT.trim?fT:t})),dT=r(Ru),gT=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),vT={exports:{}},yT=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),mT=o,_T=ee,wT=w,bT=yT,ST=Object.isExtensible,kT=mT((function(){ST(1)}))||bT?function(e){return!!_T(e)&&((!bT||"ArrayBuffer"!=wT(e))&&(!ST||ST(e)))}:ST,PT=xr,TT=v,ET=ii,OT=ee,xT=$e,IT=Yt.f,RT=Vi,CT=Wi,jT=kT,AT=gT,LT=!1,MT=nt("meta"),DT=0,FT=function(e){IT(e,MT,{value:{objectID:"O"+DT++,weakData:{}}})},NT=vT.exports={enable:function(){NT.enable=function(){},LT=!0;var e=RT.f,t=TT([].splice),r={};r[MT]=1,e(r).length&&(RT.f=function(r){for(var n=e(r),i=0,o=n.length;i<o;i++)if(n[i]===MT){t(n,i,1);break}return n},PT({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:CT.f}))},fastKey:function(e,t){if(!OT(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!xT(e,MT)){if(!jT(e))return"F";if(!t)return"E";FT(e)}return e[MT].objectID},getWeakData:function(e,t){if(!xT(e,MT)){if(!jT(e))return!0;if(!t)return!1;FT(e)}return e[MT].weakData},onFreeze:function(e){return AT&<&&jT(e)&&!xT(e,MT)&&FT(e),e}};ET[MT]=!0;var zT=vT.exports,VT=xr,UT=gT,BT=o,WT=ee,KT=zT.onFreeze,qT=Object.freeze;VT({target:"Object",stat:!0,forced:BT((function(){qT(1)})),sham:!UT},{freeze:function(e){return qT&&WT(e)?qT(KT(e)):e}});var GT=r(te.Object.freeze),HT=ea.map;xr({target:"Array",proto:!0,forced:!Rn("map")},{map:function(e){return HT(this,e,arguments.length>1?arguments[1]:void 0)}});var QT,XT=Uu("Array").map,JT=se,YT=XT,$T=Array.prototype,ZT=r((function(e){var t=e.map;return e===$T||JT($T,e)&&t===$T.map?YT:t})),eE=r(Rm),tE=function(){return tE=bk||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},tE.apply(this,arguments)};function rE(e,t){var r="function"==typeof DP&&FP(e);if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function nE(){for(var e=[],t=0;t<arguments.length;t++)e=r_(e).call(e,rE(arguments[t]));return e}var iE,oE,aE,sE,lE,cE=function(){function e(){this._hooks={},this._cache=[],this._hooksCache={}}return e.prototype.on=function(e,t){e&&t&&"function"==typeof t&&(this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t))},e.prototype.once=function(e,t){var r=this;e&&t&&"function"==typeof t&&this.on(e,(function n(i){t(i),r.off(e,n)}))},e.prototype.off=function(e,t){if(e&&this._hooks[e]&&this._hooks[e].length)if(t){var r,n,i=sb(r=this._hooks[e]).call(r,t);-1!==i&&nT(n=this._hooks[e]).call(n,i,1)}else this._hooks[e]=[]},e.prototype.emit=function(e,t,r){if(r){var n;if(!e)return;-1!==sb(n=this._cache).call(n,r)?this._emit(e,t):(this._hooksCache.hasOwnProperty(r)||(this._hooksCache[r]={}),this._hooksCache[r].hasOwnProperty(e)||(this._hooksCache[r][e]=[]),this._hooksCache[r][e].push(t))}else this._emit(e,t)},e.prototype._emit=function(e,t){var r;e&&this._hooks[e]&&this._hooks[e].length&&ib(r=nE(this._hooks[e])).call(r,(function(e){try{e(t)}catch(r){}}))},e.prototype.set=function(e){var t;e&&-1===sb(t=this._cache).call(t,e)&&this._cache.push(e)},e}(),uE=function(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)},fE=(iE=+fb()+Number(Ew(QT=""+Math.random()).call(QT,2,8)),function(){return iE+=1}),hE=function(e){var t=document.createElement("a");return t.href=e,t},pE=function(){function e(e){this.appid=e,this.userAgent=window.navigator.userAgent,this.appVersion=window.navigator.appVersion}return e.prototype.init=function(){var e=window.navigator.userAgent,t=window.navigator.language,r=document.referrer,n=r?hE(r).hostname:"";!function(e){var t={};try{var r,n=hE(e).search;ib(r=(n=Ew(n).call(n,1)).split("&")).call(r,(function(e){var r,n,i=e.split("=");i.length&&(r=i[0],n=i[1]);try{t[r]=decodeURIComponent(void 0===n?"":n)}catch(o){t[r]=n}}))}catch(i){}}(window.location.href);var i=/Mobile|htc|mini|Android|iP(ad|od|hone)/.test(this.appVersion)?"wap":"web",o=this.browser(),a=this.os();return{browser:o.browser,browser_version:o.browser_version,platform:i,os_name:a.os_name,os_version:a.os_version,userAgent:e,screen_width:window.screen&&window.screen.width,screen_height:window.screen&&window.screen.height,device_model:this.getDeviceModel(a.os_name),language:t,referrer:r,referrer_host:n}},e.prototype.browser=function(){var e,t,r="",n=""+iT(this.appVersion),i=this.userAgent;return-1!==sb(i).call(i,"Edge")||-1!==sb(i).call(i,"Edg")?(r="Microsoft Edge",-1!==sb(i).call(i,"Edge")?(e=sb(i).call(i,"Edge"),n=i.substring(e+5)):(e=sb(i).call(i,"Edg"),n=i.substring(e+4))):-1!==(e=sb(i).call(i,"MSIE"))?(r="Microsoft Internet Explorer",n=i.substring(e+5)):-1!==(e=sb(i).call(i,"Lark"))?(r="Lark",n=i.substring(e+5,e+11)):-1!==(e=sb(i).call(i,"MetaSr"))?(r="sougoubrowser",n=i.substring(e+7,e+10)):-1!==sb(i).call(i,"MQQBrowser")||-1!==sb(i).call(i,"QQBrowser")?(r="qqbrowser",-1!==sb(i).call(i,"MQQBrowser")?(e=sb(i).call(i,"MQQBrowser"),n=i.substring(e+11,e+15)):-1!==sb(i).call(i,"QQBrowser")&&(e=sb(i).call(i,"QQBrowser"),n=i.substring(e+10,e+17))):-1!==sb(i).call(i,"Chrome")?-1!==(e=sb(i).call(i,"MicroMessenger"))?(r="weixin",n=i.substring(e+15,e+20)):-1!==(e=sb(i).call(i,"360"))?(r="360browser",n=i.substring(sb(i).call(i,"Chrome")+7)):-1!==sb(i).call(i,"baidubrowser")||-1!==sb(i).call(i,"BIDUBrowser")?(-1!==sb(i).call(i,"baidubrowser")?(e=sb(i).call(i,"baidubrowser"),n=i.substring(e+13,e+16)):-1!==sb(i).call(i,"BIDUBrowser")&&(e=sb(i).call(i,"BIDUBrowser"),n=i.substring(e+12,e+15)),r="baidubrowser"):-1!==(e=sb(i).call(i,"xiaomi"))?-1!==sb(i).call(i,"openlanguagexiaomi")?(r="openlanguage xiaomi",n=i.substring(e+7,e+13)):(r="xiaomi",n=i.substring(e-7,e-1)):-1!==(e=sb(i).call(i,"TTWebView"))?(r="TTWebView",n=i.substring(e+10,e+23)):(-1!==(e=sb(i).call(i,"Chrome"))||-1!==(e=sb(i).call(i,"Chrome")))&&(r="Chrome",n=i.substring(e+7)):-1!==sb(i).call(i,"Safari")?-1!==(e=sb(i).call(i,"QQ"))?(r="qqbrowser",n=i.substring(e+10,e+16)):-1!==(e=sb(i).call(i,"Safari"))&&(r="Safari",n=i.substring(e+7),-1!==(e=sb(i).call(i,"Version"))&&(n=i.substring(e+8))):-1!==(e=sb(i).call(i,"Firefox"))?(r="Firefox",n=i.substring(e+8)):-1!==(e=sb(i).call(i,"MicroMessenger"))?(r="weixin",n=i.substring(e+15,e+20)):-1!==(e=sb(i).call(i,"QQ"))?(r="qqbrowser",n=i.substring(e+3,e+8)):-1!==(e=sb(i).call(i,"Opera"))&&(r="Opera",n=i.substring(e+6),-1!==(e=sb(i).call(i,"Version"))&&(n=i.substring(e+8))),-1!==(t=sb(n).call(n,";"))&&(n=n.substring(0,t)),-1!==(t=sb(n).call(n," "))&&(n=n.substring(0,t)),-1!==(t=sb(n).call(n,")"))&&(n=n.substring(0,t)),{browser:r,browser_version:n}},e.prototype.os=function(){for(var e="",t="",r=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0|Windows NT 10.1)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Android",r:/Android/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/}],n=0;n<r.length;n++){var i=r[n];if(i.r.test(this.userAgent)){"Mac OS X"===(e=i.s)&&this.isNewIpad()&&(e="iOS");break}}var o,a,s=function(e,t){var r=e.exec(t);return r&&r[1]?r[1]:""},l=function(e,t){var r=RegExp("(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:"+e+")","i").exec(t);return r?Ew(r).call(r,1)[0]:""};switch(/Windows/.test(e)&&(t=s(/Windows (.*)/,e),e="windows"),e){case"Mac OS X":t=l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent),e="mac";break;case"Android":(a=s(/Android ([\.\_\d]+)/,o=this.userAgent))||(a=s(/Android\/([\.\_\d]+)/,o)),t=a,e="android";break;case"iOS":t=this.isNewIpad()?l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent):(t=/OS (\d+)_(\d+)_?(\d+)?/.exec(this.appVersion))?t[1]+"."+t[2]+"."+(0|t[3]):"",e="ios"}return{os_name:e,os_version:t}},e.prototype.getDeviceModel=function(e){var t="";try{var r;if("android"===e)ib(r=navigator.userAgent.split(";")).call(r,(function(e){sb(e).call(e,"Build/")>-1&&(t=Ew(e).call(e,0,sb(e).call(e,"Build/")))}));else if("ios"===e||"mac"===e||"windows"===e)if(this.isNewIpad())t="iPad";else{var n=navigator.userAgent.replace("Mozilla/5.0 (",""),i=sb(n).call(n,";");t=Ew(n).call(n,0,i)}}catch(o){return pT(t).call(t)}return pT(t).call(t)},e.prototype.isNewIpad=function(){return void 0!==this.userAgent&&"MacIntel"===navigator.platform&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1},e}(),dE=(oE=function(e,t){e.exports=function(){function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(fb()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=t+"="+r.write(i,t)+a}}return dT({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),a=Ew(o).call(o,1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=r.read(a,s),e===s)break}catch(l){}}return e?n[e]:n}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:GT(n)},converter:{value:GT(r)}})}({read:function(e){return'"'===e[0]&&(e=Ew(e).call(e,1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},oE(aE={exports:{}}),aE.exports),gE=dE,vE=function(){function e(){this.cache={}}return e.prototype.setItem=function(e,t){this.cache[e]=t},e.prototype.getItem=function(e){return this.cache[e]},e.prototype.removeItem=function(e){this.cache[e]=void 0},e.prototype.getCookie=function(e){this.getItem(e)},e.prototype.setCookie=function(e,t){this.setItem(e,t)},e}(),yE={getItem:function(e){try{var t=localStorage.getItem(e),r=t;try{t&&"string"==typeof t&&(r=JSON.parse(t))}catch(n){}return r||{}}catch(n){}return{}},setItem:function(e,t){try{var r="string"==typeof t?t:Vk(t);localStorage.setItem(e,r)}catch(n){}},removeItem:function(e){try{localStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){try{return gE.get(e,{domain:t||document.domain})}catch(r){return""}},setCookie:function(e,t,r,n){try{var i=n||document.domain,o=+new Date+r;gE.set(e,t,{expires:new Date(o),path:"/",domain:i})}catch(a){}},isSupportLS:function(){try{return localStorage.setItem("_ranger-test-key","hi"),localStorage.getItem("_ranger-test-key"),localStorage.removeItem("_ranger-test-key"),!0}catch(lE){return!1}}()},mE={getItem:function(e){try{var t=sessionStorage.getItem(e),r=t;try{t&&"string"==typeof t&&(r=JSON.parse(t))}catch(n){}return r||{}}catch(n){}return{}},setItem:function(e,t){try{var r="string"==typeof t?t:Vk(t);sessionStorage.setItem(e,r)}catch(n){}},removeItem:function(e){try{sessionStorage.removeItem(e)}catch(t){}},getCookie:function(e){this.getItem(e)},setCookie:function(e,t){this.setItem(e,t)},isSupportSession:function(){try{return sessionStorage.setItem("_ranger-test-key","hi"),sessionStorage.getItem("_ranger-test-key"),sessionStorage.removeItem("_ranger-test-key"),!0}catch(lE){return!1}}()},_E=function(){function e(e,t){this._storage=t&&"session"===t?mE:!e&&yE.isSupportLS?yE:new vE}return e.prototype.getItem=function(e){return this._storage.getItem(e)},e.prototype.setItem=function(e,t){this._storage.setItem(e,t)},e.prototype.getCookie=function(e,t){return this._storage.getCookie(e,t)},e.prototype.setCookie=function(e,t,r,n){this._storage.setCookie(e,t,r,n)},e.prototype.removeItem=function(e){this._storage.removeItem(e)},e}(),wE={cn:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az24z1mz1jz1az1cz18z1nz1nz1jz1mz1ez4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az1gz22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k"},bE=void 0,SE=(new Date).getTimezoneOffset(),kE=sw(""+-SE/60,10),PE=60*SE,TE=function(){function e(e,t){this.is_first_time=!0,this.initConfig=t,this.collect=e;var r=new pE(t.app_id).init(),n="__tea_cache_first_"+t.app_id;this.configKey="__tea_cache_config_"+t.app_id,this.sessionStorage=new _E(!1,"session"),this.localStorage=new _E(!1,"local");var i=this.localStorage.getItem(n);i&&1==i?this.is_first_time=!1:(this.is_first_time=!0,this.localStorage.setItem(n,"1")),this.envInfo={user:{user_unique_id:bE,user_type:bE,user_id:bE,user_is_auth:bE,user_is_login:bE,device_id:bE,web_id:bE,user_unique_id_type:bE},header:{app_id:bE,app_name:bE,app_install_id:bE,install_id:bE,app_package:bE,app_channel:bE,app_version:bE,ab_version:bE,os_name:r.os_name,os_version:r.os_version,device_model:r.device_model,ab_client:bE,traffic_type:bE,client_ip:bE,device_brand:bE,os_api:bE,access:bE,language:r.language,region:bE,app_language:bE,app_region:bE,creative_id:bE,ad_id:bE,campaign_id:bE,log_type:bE,rnd:bE,platform:r.platform,sdk_version:"0.0.3-lite",sdk_lib:"js",province:bE,city:bE,timezone:kE,tz_offset:PE,tz_name:bE,sim_region:bE,carrier:bE,resolution:r.screen_width+"x"+r.screen_height,browser:r.browser,browser_version:r.browser_version,referrer:r.referrer,referrer_host:r.referrer_host,width:r.screen_width,height:r.screen_height,screen_width:r.screen_width,screen_height:r.screen_height,utm_term:bE,utm_content:bE,utm_source:bE,utm_medium:bE,utm_campaign:bE,custom:{},wechat_unionid:bE,wechat_openid:bE}},this.evtParams={},this.reportErrorCallback=function(){},this.initDomain()}return e.prototype.initDomain=function(){var e=this.initConfig.channel_domain;if(e)this.domain=e;else{var t=this.initConfig.channel;this.domain=function(e){return function(e,t,r){if("string"==typeof e&&"number"==typeof r){var n,i=[];r=r<=25?r:r%25;var o=String.fromCharCode(r+97);n=e.split(o);for(var a=0;a<n.length;a++){var s=sw(n[a],r);s=1*s^64;var l=String.fromCharCode(s);i.push(l)}return i.join("")}}(e,0,25)}(wE[t])}},e.prototype.setDomain=function(e){this.domain=e},e.prototype.getDomain=function(){return this.domain},e.prototype.getUrl=function(e){var t="";switch(e){case"event":t=this.initConfig.report_url||"/list";break;case"webid":t="/webid"}return""+this.getDomain()+t},e.prototype.set=function(e){var t,r=this;ib(t=eb(e)).call(t,(function(t){var n;"evtParams"===t?r.evtParams=tE({},r.evtParams||{},e.evtParams||{}):"_staging_flag"===t?r.evtParams=tE({},r.evtParams||{},{_staging_flag:e._staging_flag}):"reportErrorCallback"===t&&"function"==typeof e[t]?r.reportErrorCallback=e[t]:Object.hasOwnProperty.call(r.envInfo.user,t)?sb(n=["user_id","web_id","user_unique_id"]).call(n,t)>-1&&(r.envInfo.user[t]=e[t]?String(e[t]):e[t]):Object.hasOwnProperty.call(r.envInfo.header,t)?r.envInfo.header[t]=e[t]:r.envInfo.header.custom[t]=e[t]}))},e.prototype.get=function(e){try{return e?"evtParams"===e?this.evtParams:"reportErrorCallback"===e?this[e]:Object.hasOwnProperty.call(this.envInfo.user,e)?this.envInfo.user[e]:Object.hasOwnProperty.call(this.envInfo.header,e)?this.envInfo.header[e]:JSON.parse(Vk(this.envInfo[e])):JSON.parse(Vk(this.envInfo))}catch(t){console.log("get config stringify error ")}},e}();(lE=sE||(sE={})).Init="init",lE.Config="config",lE.Start="start",lE.Ready="ready",lE.TokenComplete="token-complete",lE.TokenStorage="token-storage",lE.TokenFetch="token-fetch",lE.TokenError="token-error",lE.ConfigUuid="config-uuid",lE.TokenChange="token-change",lE.TokenReset="token-reset",lE.SessionReset="session-reset",lE.SessionResetTime="session-reset-time",lE.Event="event",lE.Events="events",lE.EventNow="event-now",lE.CleanEvents="clean-events",lE.BeconEvent="becon-event";var EE=sE;function OE(e,t,r,n,i,o,a,s,l){try{var c=new XMLHttpRequest,u=s||"POST";c.open(u,""+e,!0),c.setRequestHeader("Content-Type","application/json; charset=utf-8"),r&&(c.timeout=r,c.ontimeout=function(){o&&o(t,5005)}),c.onload=function(){if(i){var e=null;if(c.responseText){try{e=JSON.parse(c.responseText)}catch(r){e={}}i(e,t)}}},c.onerror=function(){c.abort(),o&&o(t,500)},l?c.send(t):c.send(Vk(t))}catch(f){}}var xE=function(){function e(){this.eventLimit=50,this.eventCache=[],this.beconEventCache=[]}return e.prototype.apply=function(e,t){var r=this;this.collect=e,this.config=t,this.configManager=e.configManager,this.cacheStorgae=new _E(!0),this.localStorage=new _E(!1),this.maxReport=t.max_report||20,this.reportTime=t.reportTime||30,this.timeout=t.timeout||1e5,this.reportUrl=this.configManager.getUrl("event"),this.eventKey="__tea_cache_events_"+this.configManager.get("app_id"),this.beconKey="__tea_cache_events_becon_"+this.configManager.get("app_id"),this.collect.on(EE.Ready,(function(){r.reportAll(!1)})),this.collect.on(EE.Event,(function(e){r.event(e)})),this.collect.on(EE.BeconEvent,(function(e){r.beconEvent(e)})),this.linster()},e.prototype.linster=function(){var e,t=this;window.addEventListener("unload",(function(){t.reportAll(!0)}),!1),e=function(){t.reportAll(!0)},navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?window.addEventListener("pagehide",e,!1):window.addEventListener("beforeunload",e,!1),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&t.reportAll(!0)}),!1)},e.prototype.reportAll=function(e){this.report(e),this.reportBecon()},e.prototype.event=function(e){var t=this;try{var r=nE(e,this.cacheStorgae.getItem(this.eventKey)||[]);if(this.cacheStorgae.setItem(this.eventKey,r),this.reportTimeout&&clearTimeout(this.reportTimeout),r.length>=this.maxReport)this.report(!1);else{var n=this.reportTime;this.reportTimeout=Tw((function(){t.report(!1),t.reportTimeout=null}),n)}}catch(i){}},e.prototype.beconEvent=function(e){var t=nE(e,this.cacheStorgae.getItem(this.beconKey)||[]);this.cacheStorgae.setItem(this.beconKey,t),this.collect.destroyInstance||this.collect.tokenManager.getReady()&&this.collect.sdkReady&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(t)),!0))},e.prototype.reportBecon=function(){var e=this.cacheStorgae.getItem(this.beconKey)||[];e&&e.length&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(e)),!0))},e.prototype.report=function(e){if(!this.collect.destroyInstance&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){var t=this.cacheStorgae.getItem(this.eventKey)||[];t.length&&(this.cacheStorgae.removeItem(this.eventKey),this.sliceEvent(t,e))}},e.prototype.sliceEvent=function(e,t){if(e.length>this.eventLimit)for(var r=0;r<e.length;r+=this.eventLimit){var n;n=Ew(e).call(e,r,r+this.eventLimit);var i=this.split(this.merge(n));this.send(i,t)}else i=this.split(this.merge(e)),this.send(i,t)},e.prototype.merge=function(e){var t=this,r=this.configManager.get(),n=r.header,i=r.user;n.custom=Vk(n.custom);var o=this.configManager.get("evtParams"),a=ZT(e).call(e,(function(e){try{return eb(o).length&&(e.params=tE({},o,e.params)),e.session_id=t.collect.sessionManager.getSessionId(),e.params=Vk(e.params),e}catch(lE){return e}})),s=[];if(!eb(i).length)return console.warn("user info error,cant report"),s;var l=JSON.parse(Vk({events:a,user:i,header:n}));return l.local_time=Math.floor(fb()/1e3),l.verbose=1,s.push(l),s},e.prototype.split=function(e){return ZT(e).call(e,(function(e){var t=[];return t.push(e),t}))},e.prototype.send=function(e,t){var r=this;e.length&&ib(e).call(e,(function(e){try{if(!e.length)return;n=r.reportUrl,i=e,o=r.timeout,a=function(e,t){},s=function(e,t){r.configManager.get("reportErrorCallback")(e,t)},!1,t&&window.navigator&&window.navigator.sendBeacon?window.navigator.sendBeacon(n,Vk(i))||s(n,i):OE(n,i,o,0,a,s,0,"",false)}catch(l){console.warn("something error, "+Vk(l.stack))}var n,i,o,a,s}))},e}(),IE=function e(t){return t?(t^16*Math.random()>>t/4).toString(10):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},RE=function(){var e;return Ew(e=IE().replace(/-/g,"")).call(e,0,19)},CE=function(){function e(){this.cacheToken={}}return e.prototype.apply=function(e,t){var r=this;this.collect=e,this.config=t,this.configManager=this.collect.configManager,this.storage=new _E(!1),this.tokenKey="__tea_cache_tokens_"+t.app_id,this.collect.on(EE.ConfigUuid,(function(e){r.setUuid(e)})),this.checkStorage()},e.prototype.checkStorage=function(){this.cacheToken=this.storage.getItem(this.tokenKey)||{},this.check()},e.prototype.check=function(){this.cacheToken&&this.cacheToken.web_id?this.complete(this.cacheToken):this.remoteWebid()},e.prototype.remoteWebid=function(){var e=this,t=this.configManager.getUrl("webid"),r={app_key:this.config.app_key,app_id:this.config.app_id,url:location.href,user_agent:window.navigator.userAgent,referer:document.referrer,user_unique_id:""},n=RE();OE(t,r,3e5,0,(function(t){var r;t&&0===t.e?r=t.web_id:(r=n,e.collect.configManager.set({localWebId:n}),e.collect.logger.warn("appid: "+e.config.app_id+" get webid error, use local webid~")),e.complete({web_id:e.configManager.get("web_id")||r,user_unique_id:e.configManager.get("user_unique_id")||r})}),(function(){e.complete({web_id:e.configManager.get("web_id")||n,user_unique_id:e.configManager.get("user_unique_id")||n}),e.collect.configManager.set({localWebId:n}),e.collect.logger.warn("appid: "+e.config.app_id+", get webid error, use local webid~")}))},e.prototype.complete=function(e){var t=e.web_id,r=e.user_unique_id;t||r?(e.timestamp=fb(),this.collect.configManager.set({web_id:t,user_unique_id:r}),this.setStorage(e),this.tokenReady=!0,this.collect.emit(EE.TokenComplete)):console.warn("token error")},e.prototype.setUuid=function(e){var t;if(e&&-1===sb(t=["null","undefined","Null","None"]).call(t,e)){var r=String(e),n=this.configManager.get("user_unique_id"),i=this.cacheToken&&this.cacheToken.user_unique_id;if(r===n&&r===i)return;this.configManager.set({user_unique_id:r}),this.cacheToken||(this.cacheToken={}),this.cacheToken.user_unique_id=r,this.cacheToken.timestamp=fb(),this.setStorage(this.cacheToken)}else this.clearUuid()},e.prototype.clearUuid=function(){this.config.enable_ttwebid||this.configManager.get("web_id")&&(this.configManager.set({user_unique_id:this.configManager.get("web_id")}),this.cacheToken&&this.cacheToken.web_id&&(this.cacheToken.user_unique_id=this.cacheToken.web_id,this.cacheToken.timestamp=fb(),this.setStorage(this.cacheToken)),this.collect.emit(EE.TokenReset))},e.prototype.setStorage=function(e){e._type_="default",this.storage.setItem(this.tokenKey,e),this.cacheToken=e},e.prototype.getReady=function(){return this.tokenReady},e}(),jE=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},AE=function(){function e(){}return e.prototype.apply=function(e,t){var r=this;this.collect=e,this.storage=new _E(!1,"session"),this.sessionKey="__tea_session_id_"+t.app_id,this.expireTime=t.expireTime||18e5,this.disableSession=t.disable_session,this.disableSession||(this.setSessionId(),this.collect.on(EE.SessionReset,(function(){r.resetSessionId()})),this.collect.on(EE.SessionResetTime,(function(){r.updateSessionIdTime()})))},e.prototype.updateSessionIdTime=function(){var e=this.storage.getItem(this.sessionKey);if(e&&e.sessionId){var t=e.timestamp;fb()-t>this.expireTime?e={sessionId:jE(),timestamp:fb()}:e.timestamp=fb(),this.storage.setItem(this.sessionKey,e),this.resetExpTime()}},e.prototype.setSessionId=function(){var e=this,t=this.storage.getItem(this.sessionKey);t&&t.sessionId?t.timestamp=fb():t={sessionId:jE(),timestamp:fb()},this.storage.setItem(this.sessionKey,t),this.sessionExp=dP((function(){e.checkEXp()}),this.expireTime)},e.prototype.getSessionId=function(){var e=this.storage.getItem(this.sessionKey);return this.disableSession?"":e&&e.sessionId?e.sessionId:""},e.prototype.resetExpTime=function(){var e=this;this.sessionExp&&(clearInterval(this.sessionExp),this.sessionExp=dP((function(){e.checkEXp()}),this.expireTime))},e.prototype.resetSessionId=function(){var e={sessionId:jE(),timestamp:fb()};this.storage.setItem(this.sessionKey,e)},e.prototype.checkEXp=function(){var e=this.storage.getItem(this.sessionKey);e&&e.sessionId&&fb()-e.timestamp+30>=this.expireTime&&(e={sessionId:jE(),timestamp:fb()},this.storage.setItem(this.sessionKey,e))},e}(),LE=function(){function e(e){this.disableAutoPageView=!1,this.staging=!1,this.sended=!1,this.started=!1,this.adapters={},this.sdkReady=!1,this.name=e,this.hook=new cE,this.Types=EE,this.adapters.fetch=OE,this.adapters.storage=_E}return e.prototype.init=function(e){var t,r,n=this;this.inited?console.log("init can be call only one time"):e&&uE(e)?e.app_id&&"number"==typeof(r=e.app_id)&&!isNaN(r)?e.app_key&&"string"!=typeof e.app_key?console.warn("app_key param is error, must be string, please check!"):(e.channel_domain||-1!==sb(t=["cn","sg","va"]).call(t,e.channel)||(console.warn("channel must be `cn`, `sg`,`va` !!!"),e.channel="cn"),this.inited=!0,this.configManager=new TE(this,e),this.initConfig=e,e.disable_auto_pv&&(this.disableAutoPageView=!0),this.configManager.set({app_id:e.app_id}),this.eventManager=new xE,this.tokenManager=new CE,this.sessionManager=new AE,S_.all([new S_((function(e){n.once(EE.TokenComplete,(function(){e(!0)}))})),new S_((function(e){n.once(EE.Start,(function(){e(!0)}))}))]).then((function(){n.sdkReady=!0,n.emit(EE.Ready),console.info("appid: "+e.app_id+", userInfo:"+Vk(n.configManager.get("user"))),console.info("appid: "+e.app_id+", sdk is ready, version is 0.0.3-lite, you can report now !!!"),n.pageView()})),this.tokenManager.apply(this,e),this.eventManager.apply(this,e),this.sessionManager.apply(this,e),this.emit(EE.Init)):console.warn("app_id param is error, must be number, please check!"):console.warn("init params error,please check")},e.prototype.config=function(e){if(this.inited)if(e&&uE(e)){e._staging_flag&&1===e._staging_flag&&(this.staging=!0),e.disable_auto_pv&&(this.disableAutoPageView=!0,delete e.disable_auto_pv);var t=tE({},e);t.user_unique_id;var r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&sb(t).call(t,n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof tb){var i=0;for(n=tb(e);i<n.length;i++)sb(t).call(t,n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(t,["user_unique_id"]);t.hasOwnProperty("user_unique_id")&&this.emit(EE.ConfigUuid,t.user_unique_id),this.configManager.set(r)}else console.warn("config params is error, please check");else console.warn("config must be use after function init")},e.prototype.getConfig=function(e){return this.configManager.get(e)},e.prototype.start=function(){this.inited&&!this.sended&&(this.sended=!0,this.emit(EE.Start))},e.prototype.event=function(e,t){var r=this;try{var n=[];eE(e)?ib(e).call(e,(function(e){n.push(r.processEvent(e[0],e[1]||{}))})):n.push(this.processEvent(e,t)),n.length&&(this.emit(EE.Event,n),this.emit(EE.SessionResetTime))}catch(i){console.warn("something error, please check")}},e.prototype.beconEvent=function(e,t){if(eE(e))console.warn("beconEvent not support batch report, please check");else{var r=[];r.push(this.processEvent(e,t||{})),r.length&&(this.emit(EE.BeconEvent,r),this.emit(EE.SessionResetTime))}},e.prototype.processEvent=function(e,t){void 0===t&&(t={});try{var r=e;/^event\./.test(e)&&(r=Ew(e).call(e,6));var n=t;"object"!=wu(n)&&(n={}),n.event_index=fE();var i=void 0;return n.local_ms?(i=n.local_ms,delete n.local_ms):i=+new Date,{event:r,params:n,local_time_ms:i}}catch(o){return{event:e,params:t}}},e.prototype.on=function(e,t){this.hook.on(e,t)},e.prototype.once=function(e,t){this.hook.once(e,t)},e.prototype.off=function(e,t){this.hook.off(e,t)},e.prototype.emit=function(e,t,r){this.hook.emit(e,t,r)},e.prototype.set=function(e){this.hook.set(e)},e.prototype.pageView=function(){this.disableAutoPageView||this.predefinePageView()},e.prototype.predefinePageView=function(e){void 0===e&&(e={});var t={title:document.title||location.pathname,url:location.href,url_path:location.pathname,time:fb(),referrer:window.document.referrer,$is_first_time:""+(this.configManager&&this.configManager.is_first_time)},r=tE({},t,e);this.event("predefine_pageview",r)},e}(),ME=new LE("default"),DE="veplayer_live_device_id",FE="veplayer_live_user_id",NE=function(e){return Math.floor((9*Math.random()+1)*Math.pow(10,e-1)).toString()},zE=window.VePlayer.Plugin,VE=function(e){fm(r,e);var t=Im(r);function r(){var e,n;Wy(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ny(xm(n=t.call.apply(t,r_(e=[this]).call(e,o))),"_userId",void 0),Ny(xm(n),"_deviceId",void 0),Ny(xm(n),"_liveLogger",void 0),n}return qy(r,[{key:"afterCreate",value:function(){var e,t,r,n;this.config.enable&&(this.config.appId?(this._userId=(null===(e=this.config)||void 0===e?void 0:e.userId)||((r=localStorage.getItem(FE))||(r=NE(12),localStorage.setItem(FE,r),r)),this._deviceId=(null===(t=this.config)||void 0===t?void 0:t.deviceId)||((n=localStorage.getItem(DE))||(n=NE(11),localStorage.setItem(DE,n),n)),this.open()):console.info("not found appId, please generate an appId"))}},{key:"destroy",value:function(){this.close()}},{key:"close",value:function(){var e;null===(e=this._liveLogger)||void 0===e||e.destroy(!1),this._liveLogger=void 0}},{key:"open",value:function(){this._liveLogger||(this._start(),this.config.showUserIdInErrorPanel&&this.player.plugins.error&&(this.player.plugins.error.config.extraTips=[{label:"userId",value:null==ME?void 0:ME.getConfig("user_unique_id")}]))}},{key:"_createTea",value:function(){ME.init({app_id:468759,channel:"cn",channel_domain:"//mcs.volceapplog.com"}),ME.start(),ME.config({user_unique_id:this._userId,device_id:this._deviceId})}},{key:"_start",value:function(){this._createTea(),this._liveLogger=new LP({Tea:ME,player:this.player,aid:this.config.appId,project_key:this.config.appId,app_name:this.config.appName||this.config.appId,user_id:this._userId,device_id:this._deviceId,ext:{veplayer_version:"2.0.0-rc.0",flv_version:"3.0.0-next.23",hls_version:"3.0.0-next.36-1",rts_version:"0.2.0-alpha.3"}})}}],[{key:"pluginName",get:function(){return"logger"}},{key:"defaultConfig",get:function(){return{appId:"",enable:!0,showUserIdInErrorPanel:!0}}}]),r}(zE);function UE(e,t){return"number"!=typeof e?"-":t?t(e):e.toString()}var BE,WE=window.VePlayer.util,KE=window.VePlayer.Plugin,qE=window.VePlayer.XGUtil,GE=function(e){fm(r,e);var t=Im(r);function r(){var e,n;Wy(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ny(xm(n=t.call.apply(t,r_(e=[this]).call(e,o))),"_pollTimer",void 0),Ny(xm(n),"_visible",void 0),Ny(xm(n),"_playPlugin",void 0),n}return qy(r,[{key:"_streamType",get:function(){return WE.getStreamType(this.player.config.url)}},{key:"afterCreate",value:function(){var e=this;this._playPlugin=this.player.plugins[this._streamType],this.player.on(Gw.ERROR,(function(){return e.close()})),this.config.visible&&this.player.once(Gw.LOADED_DATA,(function(){return e.open()}))}},{key:"open",value:function(){var e;this._visible||(Dk(e=["flv","hls"]).call(e,this._streamType)?this.player.plugins[this._streamType]?(this.root.style.display="block",this._tick(),this._visible=!0):console.warn("不支持或未加载".concat(this._streamType,"插件")):console.warn("仅支持flv和hls格式的信息展示"))}},{key:"close",value:function(){this._visible&&(clearTimeout(this._pollTimer),this.root.innerHTML="",this.root.style.display="none",this._visible=!1)}},{key:"destroy",value:function(){var e=this;this.close(),this.player.off(Gw.LOADED_DATA,(function(){return e.open()})),this.player.off(Gw.ERROR,(function(){return e.close()}))}},{key:"render",value:function(){return'\n <xg-live-panel class="veplayer-live-panel">\n </xg-live-panel>\n '}},{key:"_tick",value:function(){var e=this;clearTimeout(this._pollTimer),this._renderPanel(),this._pollTimer=Tw((function(){e._tick()}),this.config.interval)}},{key:"_getStats",value:function(){var e;return null===(e=this._playPlugin)||void 0===e?void 0:e.getStats()}},{key:"_getPanelData",value:function(){var e,t,r,n,i=this._getStats()||{},o="".concat(this._streamType,"_live"),a=this._playPlugin.softDecode,s=[(e=Vy(Vy({},i),{},{format:o}),{rows:[{key:"format",labelTextKey:"FORMAT",value:null!==(t=null==e?void 0:e.format)&&void 0!==t?t:"-"},{key:"fps",labelTextKey:"FPS",value:UE(e.fps,(function(e){return"".concat(e," fps")}))},{key:"bitrate",labelTextKey:"BITRATE",value:UE(e.bitrate,(function(e){return"".concat(e/1e3," kbps")}))},{key:"gop",labelTextKey:"GOP",value:UE(e.gop,(function(e){return"".concat(e," frames")}))},{key:"resolution",labelTextKey:"RESOLUTION",value:r_(r="".concat(UE(e.height)," * ")).call(r,UE(e.height))},{key:"encodeType",labelTextKey:"ENCODE_TYPE",value:null!==(n=e.encodeType)&&void 0!==n?n:"-"},{key:"bufferEnd",labelTextKey:"BUFFER_END",value:UE(e.bufferEnd)},{key:"currentTime",labelTextKey:"CURRENT_TIME",value:UE(e.currentTime,(function(e){return e.toFixed(6)+"s"}))}]})];return a&&s.push(function(e){return{titleTextKey:"DECODE_INFO",rows:[{key:"decodeEfficiency",labelTextKey:"DECODE_EFFICIENCY",value:UE(e.decodeFps,(function(e){return e+"frames/s"}))},{key:"decodeCost",labelTextKey:"DECODE_COST",value:UE(e.decodeFps,(function(e){return(e?(1e3/e).toFixed():0)+"ms"}))}]}}(i)),s}},{key:"_renderPanel",value:function(){var e=this,t=this._getPanelData(),r=this.root;r&&(r.innerHTML="",ib(t).call(t,(function(t){e._renderGroup(r,t)})))}},{key:"_renderGroup",value:function(e,t){var r=this,n=t.title,i=t.titleTextKey,o=t.rows,a=this.player.config.i18nManager;if(n||i){var s,l=this._genTitleDom(null!==(s=a.getText(i))&&void 0!==s?s:n);e.appendChild(l)}ib(o).call(o,(function(t){var n=r._genRowDom(t);e.appendChild(n)}))}},{key:"_genTitleDom",value:function(e){var t=qE.createDom("xg-live-panel","",void 0,"veplayer-live-panel-row"),r=qE.createDom("xg-live-panel",e,void 0,"veplayer-live-panel-row-title");return t.appendChild(r),t}},{key:"_genRowDom",value:function(e){var t=this.player.config.i18nManager,r=qE.createDom("veplayer-live-panel-row","",void 0,"veplayer-live-panel-row"),n=qE.createDom("xg-live-panel",t.getText(e.labelTextKey),void 0,"veplayer-live-panel-row-label");r.appendChild(n);var i=qE.createDom("xg-live-panel",e.value);return r.appendChild(i),r}}],[{key:"pluginName",get:function(){return"infoPanel"}},{key:"defaultConfig",get:function(){return{visible:!1,interval:500}}}]),r}(KE),HE=Vy(Vy({},window.VePlayer.EN),{},{INVALID_PARAMETER:"The imported parameter is empty, please pass in necessary parameters such as the stream address",FORMAT:"format",FPS:"fps",BITRATE:"bitrate",GOP:"gop",RESOLUTION:"resolution",ENCODE_TYPE:"encodeType",BUFFER_END:"bufferEnd",CURRENT_TIME:"currentTime",DECODE_EFFICIENCY:"efficiency",DECODE_COST:"cost",DECODE_INFO:"decodeInfo",REFRESH:"refresh"}),QE=Vy(Vy({},window.VePlayer.ZH_CN),{},{INVALID_PARAMETER:"入参为空,请传入流地址等必要参数",FORMAT:"格式",FPS:"帧率",BITRATE:"码率",GOP:"GOP",RESOLUTION:"视频分辨率",ENCODE_TYPE:"编码方式",BUFFER_END:"Buffer 水位",CURRENT_TIME:"播放进度",DECODE_EFFICIENCY:"解码效率",DECODE_COST:"解码消耗",DECODE_INFO:"软解信息",REFRESH:"刷新"}),XE=window.VePlayer.DEFAULT_PLUGINS,JE=window.VePlayer.VePlayerBase,YE=window.VePlayer.VeI18n;YE.extend([{LANG:"zh-cn",TEXT:QE},{LANG:"en",TEXT:HE}]);var $E={autoplay:{muted:!0}},ZE=r_(BE=[]).call(BE,Ym(XE),[$w,VE,GE]),eO=function(e){fm(r,e);var t=Im(r);function r(){return Wy(this,r),t.apply(this,arguments)}return qy(r,[{key:"openLog",value:function(){var e;null===(e=this._player.plugins)||void 0===e||e.logger.open()}},{key:"closeLog",value:function(){var e;null===(e=this._player.plugins)||void 0===e||e.logger.close()}},{key:"openInfoPanel",value:function(){var e;null===(e=this._player.plugins)||void 0===e||e.infopanel.open()}},{key:"closeInfoPanel",value:function(){var e;null===(e=this._player.plugins)||void 0===e||e.infopanel.close()}}]),r}(JE);function tO(e){return rO.apply(this,arguments)}function rO(){return(rO=By($v().mark((function e(t){var r,n,i,o,a;return $v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&(t.url||t.playlist)){e.next=2;break}throw l_(a_.INVALID_PARAMETER,new YE);case 2:return i=new YE({lang:null==t?void 0:t.lang,i18n:null==t?void 0:t.i18n}),o=Vy(Vy({},t),{},{plugins:r_(r=[]).call(r,Ym(ZE),Ym(null!==(n=t.plugins)&&void 0!==n?n:[]))}),e.next=6,JE.create(Vy(Vy(Vy({},$E),o),{},{isLive:!0,i18nManager:i,preparePlugins:function(e){return By($v().mark((function t(){return $v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",F_(Vy(Vy({},o),{},{url:e})));case 1:case"end":return t.stop()}}),t)})))()}}),eO);case 6:return a=e.sent,e.abrupt("return",a);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var nO=Object.freeze({__proto__:null,ErrorCode:a_,Events:Gw}),iO=window.VePlayer.setModuleSystem,oO=window.VePlayer.Codec,aO=window.VePlayer.DecodeType,sO=window.VePlayer.Degradation,lO=window.VePlayer.POSITIONS,cO=window.VePlayer.register,uO=window.VePlayer.EN,fO=window.VePlayer.ZH_CN,hO=window.VePlayer.Plugin,pO=window.VePlayer.Sniffer,dO=window.VePlayer.DynamicModule,gO=window.VePlayer.util,vO=window.VePlayer.load;iO("umd");var yO=gO.isMseSupported,mO=gO.isSoftDecodeSupported;void 0!==VePlayer.register?VePlayer.register(dO.BizLive,{createLivePlayer:tO}):cO(dO.BizLive,{createLivePlayer:tO}),e.Codec=oO,e.DecodeType=aO,e.Degradation=sO,e.DynamicModule=dO,e.EN=uO,e.POSITIONS=lO,e.Plugin=hO,e.RTMCodec=j_,e.Sniffer=pO,e.ZH_CN=fO,e.createLivePlayer=tO,e.isMseSupported=yO,e.isRTMSupportCodec=L_,e.isRTMSupported=A_,e.isSoftDecodeSupported=mO,e.live=nO,e.load=vO,e.register=cO,e.util=gO}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
(function(global, factory) {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.__VEPLAYER_BIZ_VOD__ = {}));
|
|
3
|
+
})(this, function(exports2) {
|
|
4
|
+
"use strict";
|
|
5
|
+
const load = window["VePlayer"].load;
|
|
6
|
+
const register = window["VePlayer"].register;
|
|
7
|
+
const DynamicModule = window["VePlayer"].DynamicModule;
|
|
8
|
+
const VePlayerBase = window["VePlayer"].VePlayerBase;
|
|
9
|
+
const setModuleSystem = window["VePlayer"].setModuleSystem;
|
|
10
|
+
setModuleSystem("umd");
|
|
11
|
+
async function createVodPlayer(options) {
|
|
12
|
+
return await VePlayerBase.create({
|
|
13
|
+
url: "//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-360p.mp4",
|
|
14
|
+
...options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
if (typeof VePlayer.register !== "undefined") {
|
|
18
|
+
VePlayer.register(DynamicModule.BizVod, {
|
|
19
|
+
createVodPlayer
|
|
20
|
+
});
|
|
21
|
+
} else {
|
|
22
|
+
register(DynamicModule.BizVod, {
|
|
23
|
+
createVodPlayer
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
exports2.createVodPlayer = createVodPlayer;
|
|
27
|
+
exports2.load = load;
|
|
28
|
+
exports2.register = register;
|
|
29
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).__VEPLAYER_BIZ_VOD__={})}(this,(function(t){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||r||Function("return this")(),i=function(t){try{return!!t()}catch(r){return!0}},a=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),c=a,u=Function.prototype,f=u.apply,s=u.call,l="object"==typeof Reflect&&Reflect.apply||(c?s.bind(f):function(){return s.apply(f,arguments)}),p=a,h=Function.prototype,v=h.call,y=p&&h.bind.bind(v,v),d=p?y:function(t){return function(){return v.apply(t,arguments)}},g=d,m=g({}.toString),b=g("".slice),w=function(t){return b(m(t),8,-1)},O=w,S=d,j=function(t){if("Function"===O(t))return S(t)},P="object"==typeof document&&document.all,E={all:P,IS_HTMLDDA:void 0===P&&void 0!==P},T=E.all,x=E.IS_HTMLDDA?function(t){return"function"==typeof t||t===T}:function(t){return"function"==typeof t},A={},L=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=a,k=Function.prototype.call,R=_?k.bind(k):function(){return k.apply(k,arguments)},N={},C={}.propertyIsEnumerable,I=Object.getOwnPropertyDescriptor,D=I&&!C.call({1:2},1);N.f=D?function(t){var r=I(this,t);return!!r&&r.enumerable}:C;var F,M,V=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},G=i,U=w,B=Object,z=d("".split),H=G((function(){return!B("z").propertyIsEnumerable(0)}))?function(t){return"String"==U(t)?z(t,""):B(t)}:B,W=function(t){return null==t},J=W,Y=TypeError,K=function(t){if(J(t))throw Y("Can't call method on "+t);return t},q=H,X=K,$=function(t){return q(X(t))},Q=x,Z=E.all,tt=E.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===Z}:function(t){return"object"==typeof t?null!==t:Q(t)},rt={},et=rt,nt=o,ot=x,it=function(t){return ot(t)?t:void 0},at=function(t,r){return arguments.length<2?it(et[t])||it(nt[t]):et[t]&&et[t][r]||nt[t]&&nt[t][r]},ct=d({}.isPrototypeOf),ut="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,st=ut,lt=ft.process,pt=ft.Deno,ht=lt&<.versions||pt&&pt.version,vt=ht&&ht.v8;vt&&(M=(F=vt.split("."))[0]>0&&F[0]<4?1:+(F[0]+F[1])),!M&&st&&(!(F=st.match(/Edge\/(\d+)/))||F[1]>=74)&&(F=st.match(/Chrome\/(\d+)/))&&(M=+F[1]);var yt=M,dt=yt,gt=i,mt=o.String,bt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!mt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),wt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ot=at,St=x,jt=ct,Pt=Object,Et=wt?function(t){return"symbol"==typeof t}:function(t){var r=Ot("Symbol");return St(r)&&jt(r.prototype,Pt(t))},Tt=String,xt=function(t){try{return Tt(t)}catch(r){return"Object"}},At=x,Lt=xt,_t=TypeError,kt=function(t){if(At(t))return t;throw _t(Lt(t)+" is not a function")},Rt=kt,Nt=W,Ct=function(t,r){var e=t[r];return Nt(e)?void 0:Rt(e)},It=R,Dt=x,Ft=tt,Mt=TypeError,Vt={exports:{}},Gt=o,Ut=Object.defineProperty,Bt=function(t,r){try{Ut(Gt,t,{value:r,configurable:!0,writable:!0})}catch(e){Gt[t]=r}return r},zt="__core-js_shared__",Ht=o[zt]||Bt(zt,{}),Wt=Ht;(Vt.exports=function(t,r){return Wt[t]||(Wt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Jt=Vt.exports,Yt=K,Kt=Object,qt=function(t){return Kt(Yt(t))},Xt=qt,$t=d({}.hasOwnProperty),Qt=Object.hasOwn||function(t,r){return $t(Xt(t),r)},Zt=d,tr=0,rr=Math.random(),er=Zt(1..toString),nr=function(t){return"Symbol("+(void 0===t?"":t)+")_"+er(++tr+rr,36)},or=Jt,ir=Qt,ar=nr,cr=bt,ur=wt,fr=o.Symbol,sr=or("wks"),lr=ur?fr.for||fr:fr&&fr.withoutSetter||ar,pr=function(t){return ir(sr,t)||(sr[t]=cr&&ir(fr,t)?fr[t]:lr("Symbol."+t)),sr[t]},hr=R,vr=tt,yr=Et,dr=Ct,gr=function(t,r){var e,n;if("string"===r&&Dt(e=t.toString)&&!Ft(n=It(e,t)))return n;if(Dt(e=t.valueOf)&&!Ft(n=It(e,t)))return n;if("string"!==r&&Dt(e=t.toString)&&!Ft(n=It(e,t)))return n;throw Mt("Can't convert object to primitive value")},mr=TypeError,br=pr("toPrimitive"),wr=function(t,r){if(!vr(t)||yr(t))return t;var e,n=dr(t,br);if(n){if(void 0===r&&(r="default"),e=hr(n,t,r),!vr(e)||yr(e))return e;throw mr("Can't convert object to primitive value")}return void 0===r&&(r="number"),gr(t,r)},Or=Et,Sr=function(t){var r=wr(t,"string");return Or(r)?r:r+""},jr=tt,Pr=o.document,Er=jr(Pr)&&jr(Pr.createElement),Tr=function(t){return Er?Pr.createElement(t):{}},xr=Tr,Ar=!L&&!i((function(){return 7!=Object.defineProperty(xr("div"),"a",{get:function(){return 7}}).a})),Lr=L,_r=R,kr=N,Rr=V,Nr=$,Cr=Sr,Ir=Qt,Dr=Ar,Fr=Object.getOwnPropertyDescriptor;A.f=Lr?Fr:function(t,r){if(t=Nr(t),r=Cr(r),Dr)try{return Fr(t,r)}catch(e){}if(Ir(t,r))return Rr(!_r(kr.f,t,r),t[r])};var Mr=i,Vr=x,Gr=/#|\.prototype\./,Ur=function(t,r){var e=zr[Br(t)];return e==Wr||e!=Hr&&(Vr(r)?Mr(r):!!r)},Br=Ur.normalize=function(t){return String(t).replace(Gr,".").toLowerCase()},zr=Ur.data={},Hr=Ur.NATIVE="N",Wr=Ur.POLYFILL="P",Jr=Ur,Yr=kt,Kr=a,qr=j(j.bind),Xr=function(t,r){return Yr(t),void 0===r?t:Kr?qr(t,r):function(){return t.apply(r,arguments)}},$r={},Qr=L&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Zr=tt,te=String,re=TypeError,ee=function(t){if(Zr(t))return t;throw re(te(t)+" is not an object")},ne=L,oe=Ar,ie=Qr,ae=ee,ce=Sr,ue=TypeError,fe=Object.defineProperty,se=Object.getOwnPropertyDescriptor,le="enumerable",pe="configurable",he="writable";$r.f=ne?ie?function(t,r,e){if(ae(t),r=ce(r),ae(e),"function"==typeof t&&"prototype"===r&&"value"in e&&he in e&&!e[he]){var n=se(t,r);n&&n[he]&&(t[r]=e.value,e={configurable:pe in e?e[pe]:n[pe],enumerable:le in e?e[le]:n[le],writable:!1})}return fe(t,r,e)}:fe:function(t,r,e){if(ae(t),r=ce(r),ae(e),oe)try{return fe(t,r,e)}catch(n){}if("get"in e||"set"in e)throw ue("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var ve=$r,ye=V,de=L?function(t,r,e){return ve.f(t,r,ye(1,e))}:function(t,r,e){return t[r]=e,t},ge=o,me=l,be=j,we=x,Oe=A.f,Se=Jr,je=rt,Pe=Xr,Ee=de,Te=Qt,xe=function(t){var r=function(e,n,o){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,o)}return me(t,this,arguments)};return r.prototype=t.prototype,r},Ae=function(t,r){var e,n,o,i,a,c,u,f,s,l=t.target,p=t.global,h=t.stat,v=t.proto,y=p?ge:h?ge[l]:(ge[l]||{}).prototype,d=p?je:je[l]||Ee(je,l,{})[l],g=d.prototype;for(i in r)n=!(e=Se(p?i:l+(h?".":"#")+i,t.forced))&&y&&Te(y,i),c=d[i],n&&(u=t.dontCallGetSet?(s=Oe(y,i))&&s.value:y[i]),a=n&&u?u:r[i],n&&typeof c==typeof a||(f=t.bind&&n?Pe(a,ge):t.wrap&&n?xe(a):v&&we(a)?be(a):a,(t.sham||a&&a.sham||c&&c.sham)&&Ee(f,"sham",!0),Ee(d,i,f),v&&(Te(je,o=l+"Prototype")||Ee(je,o,{}),Ee(je[o],i,a),t.real&&g&&(e||!g[i])&&Ee(g,i,a)))},Le=w,_e=Array.isArray||function(t){return"Array"==Le(t)},ke=Math.ceil,Re=Math.floor,Ne=Math.trunc||function(t){var r=+t;return(r>0?Re:ke)(r)},Ce=function(t){var r=+t;return r!=r||0===r?0:Ne(r)},Ie=Ce,De=Math.min,Fe=function(t){return t>0?De(Ie(t),9007199254740991):0},Me=function(t){return Fe(t.length)},Ve=TypeError,Ge=function(t){if(t>9007199254740991)throw Ve("Maximum allowed index exceeded");return t},Ue=Sr,Be=$r,ze=V,He=function(t,r,e){var n=Ue(r);n in t?Be.f(t,n,ze(0,e)):t[n]=e},We={};We[pr("toStringTag")]="z";var Je="[object z]"===String(We),Ye=Je,Ke=x,qe=w,Xe=pr("toStringTag"),$e=Object,Qe="Arguments"==qe(function(){return arguments}()),Ze=Ye?qe:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=$e(t),Xe))?e:Qe?qe(r):"Object"==(n=qe(r))&&Ke(r.callee)?"Arguments":n},tn=x,rn=Ht,en=d(Function.toString);tn(rn.inspectSource)||(rn.inspectSource=function(t){return en(t)});var nn=rn.inspectSource,on=d,an=i,cn=x,un=Ze,fn=nn,sn=function(){},ln=[],pn=at("Reflect","construct"),hn=/^\s*(?:class|function)\b/,vn=on(hn.exec),yn=!hn.exec(sn),dn=function(t){if(!cn(t))return!1;try{return pn(sn,ln,t),!0}catch(r){return!1}},gn=function(t){if(!cn(t))return!1;switch(un(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yn||!!vn(hn,fn(t))}catch(r){return!0}};gn.sham=!0;var mn=!pn||an((function(){var t;return dn(dn.call)||!dn(Object)||!dn((function(){t=!0}))||t}))?gn:dn,bn=_e,wn=mn,On=tt,Sn=pr("species"),jn=Array,Pn=function(t){var r;return bn(t)&&(r=t.constructor,(wn(r)&&(r===jn||bn(r.prototype))||On(r)&&null===(r=r[Sn]))&&(r=void 0)),void 0===r?jn:r},En=function(t,r){return new(Pn(t))(0===r?0:r)},Tn=i,xn=yt,An=pr("species"),Ln=function(t){return xn>=51||!Tn((function(){var r=[];return(r.constructor={})[An]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},_n=Ae,kn=i,Rn=_e,Nn=tt,Cn=qt,In=Me,Dn=Ge,Fn=He,Mn=En,Vn=Ln,Gn=yt,Un=pr("isConcatSpreadable"),Bn=Gn>=51||!kn((function(){var t=[];return t[Un]=!1,t.concat()[0]!==t})),zn=function(t){if(!Nn(t))return!1;var r=t[Un];return void 0!==r?!!r:Rn(t)};_n({target:"Array",proto:!0,arity:1,forced:!Bn||!Vn("concat")},{concat:function(t){var r,e,n,o,i,a=Cn(this),c=Mn(a,0),u=0;for(r=-1,n=arguments.length;r<n;r++)if(zn(i=-1===r?a:arguments[r]))for(o=In(i),Dn(u+o),e=0;e<o;e++,u++)e in i&&Fn(c,u,i[e]);else Dn(u+1),Fn(c,u++,i);return c.length=u,c}});var Hn=Ze,Wn=String,Jn=function(t){if("Symbol"===Hn(t))throw TypeError("Cannot convert a Symbol value to a string");return Wn(t)},Yn={},Kn=Ce,qn=Math.max,Xn=Math.min,$n=function(t,r){var e=Kn(t);return e<0?qn(e+r,0):Xn(e,r)},Qn=$,Zn=$n,to=Me,ro=function(t){return function(r,e,n){var o,i=Qn(r),a=to(i),c=Zn(n,a);if(t&&e!=e){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},eo={includes:ro(!0),indexOf:ro(!1)},no={},oo=Qt,io=$,ao=eo.indexOf,co=no,uo=d([].push),fo=function(t,r){var e,n=io(t),o=0,i=[];for(e in n)!oo(co,e)&&oo(n,e)&&uo(i,e);for(;r.length>o;)oo(n,e=r[o++])&&(~ao(i,e)||uo(i,e));return i},so=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lo=fo,po=so,ho=Object.keys||function(t){return lo(t,po)},vo=L,yo=Qr,go=$r,mo=ee,bo=$,wo=ho;Yn.f=vo&&!yo?Object.defineProperties:function(t,r){mo(t);for(var e,n=bo(r),o=wo(r),i=o.length,a=0;i>a;)go.f(t,e=o[a++],n[e]);return t};var Oo,So=at("document","documentElement"),jo=nr,Po=Jt("keys"),Eo=function(t){return Po[t]||(Po[t]=jo(t))},To=ee,xo=Yn,Ao=so,Lo=no,_o=So,ko=Tr,Ro="prototype",No="script",Co=Eo("IE_PROTO"),Io=function(){},Do=function(t){return"<"+No+">"+t+"</"+No+">"},Fo=function(t){t.write(Do("")),t.close();var r=t.parentWindow.Object;return t=null,r},Mo=function(){try{Oo=new ActiveXObject("htmlfile")}catch(o){}var t,r,e;Mo="undefined"!=typeof document?document.domain&&Oo?Fo(Oo):(r=ko("iframe"),e="java"+No+":",r.style.display="none",_o.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Do("document.F=Object")),t.close(),t.F):Fo(Oo);for(var n=Ao.length;n--;)delete Mo[Ro][Ao[n]];return Mo()};Lo[Co]=!0;var Vo=Object.create||function(t,r){var e;return null!==t?(Io[Ro]=To(t),e=new Io,Io[Ro]=null,e[Co]=t):e=Mo(),void 0===r?e:xo.f(e,r)},Go={},Uo=fo,Bo=so.concat("length","prototype");Go.f=Object.getOwnPropertyNames||function(t){return Uo(t,Bo)};var zo={},Ho=$n,Wo=Me,Jo=He,Yo=Array,Ko=Math.max,qo=w,Xo=$,$o=Go.f,Qo=function(t,r,e){for(var n=Wo(t),o=Ho(r,n),i=Ho(void 0===e?n:e,n),a=Yo(Ko(i-o,0)),c=0;o<i;o++,c++)Jo(a,c,t[o]);return a.length=c,a},Zo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];zo.f=function(t){return Zo&&"Window"==qo(t)?function(t){try{return $o(t)}catch(r){return Qo(Zo)}}(t):$o(Xo(t))};var ti={};ti.f=Object.getOwnPropertySymbols;var ri=de,ei=function(t,r,e,n){return n&&n.enumerable?t[r]=e:ri(t,r,e),t},ni=$r,oi=function(t,r,e){return ni.f(t,r,e)},ii={},ai=pr;ii.f=ai;var ci,ui,fi,si=rt,li=Qt,pi=ii,hi=$r.f,vi=function(t){var r=si.Symbol||(si.Symbol={});li(r,t)||hi(r,t,{value:pi.f(t)})},yi=R,di=at,gi=pr,mi=ei,bi=function(){var t=di("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=gi("toPrimitive");r&&!r[n]&&mi(r,n,(function(t){return yi(e,this)}),{arity:1})},wi=Ze,Oi=Je?{}.toString:function(){return"[object "+wi(this)+"]"},Si=Je,ji=$r.f,Pi=de,Ei=Qt,Ti=Oi,xi=pr("toStringTag"),Ai=function(t,r,e,n){if(t){var o=e?t:t.prototype;Ei(o,xi)||ji(o,xi,{configurable:!0,value:r}),n&&!Si&&Pi(o,"toString",Ti)}},Li=x,_i=o.WeakMap,ki=Li(_i)&&/native code/.test(String(_i)),Ri=o,Ni=tt,Ci=de,Ii=Qt,Di=Ht,Fi=Eo,Mi=no,Vi="Object already initialized",Gi=Ri.TypeError,Ui=Ri.WeakMap;if(ki||Di.state){var Bi=Di.state||(Di.state=new Ui);Bi.get=Bi.get,Bi.has=Bi.has,Bi.set=Bi.set,ci=function(t,r){if(Bi.has(t))throw Gi(Vi);return r.facade=t,Bi.set(t,r),r},ui=function(t){return Bi.get(t)||{}},fi=function(t){return Bi.has(t)}}else{var zi=Fi("state");Mi[zi]=!0,ci=function(t,r){if(Ii(t,zi))throw Gi(Vi);return r.facade=t,Ci(t,zi,r),r},ui=function(t){return Ii(t,zi)?t[zi]:{}},fi=function(t){return Ii(t,zi)}}var Hi={set:ci,get:ui,has:fi,enforce:function(t){return fi(t)?ui(t):ci(t,{})},getterFor:function(t){return function(r){var e;if(!Ni(r)||(e=ui(r)).type!==t)throw Gi("Incompatible receiver, "+t+" required");return e}}},Wi=Xr,Ji=H,Yi=qt,Ki=Me,qi=En,Xi=d([].push),$i=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,s,l){for(var p,h,v=Yi(u),y=Ji(v),d=Wi(f,s),g=Ki(y),m=0,b=l||qi,w=r?b(u,g):e||a?b(u,0):void 0;g>m;m++)if((c||m in y)&&(h=d(p=y[m],m,v),t))if(r)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Xi(w,p)}else switch(t){case 4:return!1;case 7:Xi(w,p)}return i?-1:n||o?o:w}},Qi={forEach:$i(0),map:$i(1),filter:$i(2),some:$i(3),every:$i(4),find:$i(5),findIndex:$i(6),filterReject:$i(7)},Zi=Ae,ta=o,ra=R,ea=d,na=L,oa=bt,ia=i,aa=Qt,ca=ct,ua=ee,fa=$,sa=Sr,la=Jn,pa=V,ha=Vo,va=ho,ya=Go,da=zo,ga=ti,ma=A,ba=$r,wa=Yn,Oa=N,Sa=ei,ja=oi,Pa=Jt,Ea=no,Ta=nr,xa=pr,Aa=ii,La=vi,_a=bi,ka=Ai,Ra=Hi,Na=Qi.forEach,Ca=Eo("hidden"),Ia="Symbol",Da="prototype",Fa=Ra.set,Ma=Ra.getterFor(Ia),Va=Object[Da],Ga=ta.Symbol,Ua=Ga&&Ga[Da],Ba=ta.TypeError,za=ta.QObject,Ha=ma.f,Wa=ba.f,Ja=da.f,Ya=Oa.f,Ka=ea([].push),qa=Pa("symbols"),Xa=Pa("op-symbols"),$a=Pa("wks"),Qa=!za||!za[Da]||!za[Da].findChild,Za=na&&ia((function(){return 7!=ha(Wa({},"a",{get:function(){return Wa(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=Ha(Va,r);n&&delete Va[r],Wa(t,r,e),n&&t!==Va&&Wa(Va,r,n)}:Wa,tc=function(t,r){var e=qa[t]=ha(Ua);return Fa(e,{type:Ia,tag:t,description:r}),na||(e.description=r),e},rc=function(t,r,e){t===Va&&rc(Xa,r,e),ua(t);var n=sa(r);return ua(e),aa(qa,n)?(e.enumerable?(aa(t,Ca)&&t[Ca][n]&&(t[Ca][n]=!1),e=ha(e,{enumerable:pa(0,!1)})):(aa(t,Ca)||Wa(t,Ca,pa(1,{})),t[Ca][n]=!0),Za(t,n,e)):Wa(t,n,e)},ec=function(t,r){ua(t);var e=fa(r),n=va(e).concat(ac(e));return Na(n,(function(r){na&&!ra(nc,e,r)||rc(t,r,e[r])})),t},nc=function(t){var r=sa(t),e=ra(Ya,this,r);return!(this===Va&&aa(qa,r)&&!aa(Xa,r))&&(!(e||!aa(this,r)||!aa(qa,r)||aa(this,Ca)&&this[Ca][r])||e)},oc=function(t,r){var e=fa(t),n=sa(r);if(e!==Va||!aa(qa,n)||aa(Xa,n)){var o=Ha(e,n);return!o||!aa(qa,n)||aa(e,Ca)&&e[Ca][n]||(o.enumerable=!0),o}},ic=function(t){var r=Ja(fa(t)),e=[];return Na(r,(function(t){aa(qa,t)||aa(Ea,t)||Ka(e,t)})),e},ac=function(t){var r=t===Va,e=Ja(r?Xa:fa(t)),n=[];return Na(e,(function(t){!aa(qa,t)||r&&!aa(Va,t)||Ka(n,qa[t])})),n};oa||(Ga=function(){if(ca(Ua,this))throw Ba("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?la(arguments[0]):void 0,r=Ta(t),e=function(t){this===Va&&ra(e,Xa,t),aa(this,Ca)&&aa(this[Ca],r)&&(this[Ca][r]=!1),Za(this,r,pa(1,t))};return na&&Qa&&Za(Va,r,{configurable:!0,set:e}),tc(r,t)},Sa(Ua=Ga[Da],"toString",(function(){return Ma(this).tag})),Sa(Ga,"withoutSetter",(function(t){return tc(Ta(t),t)})),Oa.f=nc,ba.f=rc,wa.f=ec,ma.f=oc,ya.f=da.f=ic,ga.f=ac,Aa.f=function(t){return tc(xa(t),t)},na&&ja(Ua,"description",{configurable:!0,get:function(){return Ma(this).description}})),Zi({global:!0,constructor:!0,wrap:!0,forced:!oa,sham:!oa},{Symbol:Ga}),Na(va($a),(function(t){La(t)})),Zi({target:Ia,stat:!0,forced:!oa},{useSetter:function(){Qa=!0},useSimple:function(){Qa=!1}}),Zi({target:"Object",stat:!0,forced:!oa,sham:!na},{create:function(t,r){return void 0===r?ha(t):ec(ha(t),r)},defineProperty:rc,defineProperties:ec,getOwnPropertyDescriptor:oc}),Zi({target:"Object",stat:!0,forced:!oa},{getOwnPropertyNames:ic}),_a(),ka(Ga,Ia),Ea[Ca]=!0;var cc=bt&&!!Symbol.for&&!!Symbol.keyFor,uc=Ae,fc=at,sc=Qt,lc=Jn,pc=Jt,hc=cc,vc=pc("string-to-symbol-registry"),yc=pc("symbol-to-string-registry");uc({target:"Symbol",stat:!0,forced:!hc},{for:function(t){var r=lc(t);if(sc(vc,r))return vc[r];var e=fc("Symbol")(r);return vc[r]=e,yc[e]=r,e}});var dc=Ae,gc=Qt,mc=Et,bc=xt,wc=cc,Oc=Jt("symbol-to-string-registry");dc({target:"Symbol",stat:!0,forced:!wc},{keyFor:function(t){if(!mc(t))throw TypeError(bc(t)+" is not a symbol");if(gc(Oc,t))return Oc[t]}});var Sc=d([].slice),jc=_e,Pc=x,Ec=w,Tc=Jn,xc=d([].push),Ac=Ae,Lc=at,_c=l,kc=R,Rc=d,Nc=i,Cc=x,Ic=Et,Dc=Sc,Fc=function(t){if(Pc(t))return t;if(jc(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?xc(e,o):"number"!=typeof o&&"Number"!=Ec(o)&&"String"!=Ec(o)||xc(e,Tc(o))}var i=e.length,a=!0;return function(t,r){if(a)return a=!1,r;if(jc(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}},Mc=bt,Vc=String,Gc=Lc("JSON","stringify"),Uc=Rc(/./.exec),Bc=Rc("".charAt),zc=Rc("".charCodeAt),Hc=Rc("".replace),Wc=Rc(1..toString),Jc=/[\uD800-\uDFFF]/g,Yc=/^[\uD800-\uDBFF]$/,Kc=/^[\uDC00-\uDFFF]$/,qc=!Mc||Nc((function(){var t=Lc("Symbol")();return"[null]"!=Gc([t])||"{}"!=Gc({a:t})||"{}"!=Gc(Object(t))})),Xc=Nc((function(){return'"\\udf06\\ud834"'!==Gc("\udf06\ud834")||'"\\udead"'!==Gc("\udead")})),$c=function(t,r){var e=Dc(arguments),n=Fc(r);if(Cc(n)||void 0!==t&&!Ic(t))return e[1]=function(t,r){if(Cc(n)&&(r=kc(n,this,Vc(t),r)),!Ic(r))return r},_c(Gc,null,e)},Qc=function(t,r,e){var n=Bc(e,r-1),o=Bc(e,r+1);return Uc(Yc,t)&&!Uc(Kc,o)||Uc(Kc,t)&&!Uc(Yc,n)?"\\u"+Wc(zc(t,0),16):t};Gc&&Ac({target:"JSON",stat:!0,arity:3,forced:qc||Xc},{stringify:function(t,r,e){var n=Dc(arguments),o=_c(qc?$c:Gc,null,n);return Xc&&"string"==typeof o?Hc(o,Jc,Qc):o}});var Zc=ti,tu=qt;Ae({target:"Object",stat:!0,forced:!bt||i((function(){Zc.f(1)}))},{getOwnPropertySymbols:function(t){var r=Zc.f;return r?r(tu(t)):[]}}),vi("asyncIterator"),vi("hasInstance"),vi("isConcatSpreadable"),vi("iterator"),vi("match"),vi("matchAll"),vi("replace"),vi("search"),vi("species"),vi("split");var ru=bi;vi("toPrimitive"),ru();var eu=at,nu=Ai;vi("toStringTag"),nu(eu("Symbol"),"Symbol"),vi("unscopables"),Ai(o.JSON,"JSON",!0);var ou,iu,au,cu=rt.Symbol,uu={},fu=L,su=Qt,lu=Function.prototype,pu=fu&&Object.getOwnPropertyDescriptor,hu=su(lu,"name"),vu={EXISTS:hu,PROPER:hu&&"something"===function(){}.name,CONFIGURABLE:hu&&(!fu||fu&&pu(lu,"name").configurable)},yu=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),du=Qt,gu=x,mu=qt,bu=yu,wu=Eo("IE_PROTO"),Ou=Object,Su=Ou.prototype,ju=bu?Ou.getPrototypeOf:function(t){var r=mu(t);if(du(r,wu))return r[wu];var e=r.constructor;return gu(e)&&r instanceof e?e.prototype:r instanceof Ou?Su:null},Pu=i,Eu=x,Tu=tt,xu=Vo,Au=ju,Lu=ei,_u=pr("iterator"),ku=!1;[].keys&&("next"in(au=[].keys())?(iu=Au(Au(au)))!==Object.prototype&&(ou=iu):ku=!0);var Ru=!Tu(ou)||Pu((function(){var t={};return ou[_u].call(t)!==t}));Eu((ou=Ru?{}:xu(ou))[_u])||Lu(ou,_u,(function(){return this}));var Nu={IteratorPrototype:ou,BUGGY_SAFARI_ITERATORS:ku},Cu=Nu.IteratorPrototype,Iu=Vo,Du=V,Fu=Ai,Mu=uu,Vu=function(){return this},Gu=d,Uu=kt,Bu=x,zu=String,Hu=TypeError,Wu=function(t,r,e){try{return Gu(Uu(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(n){}},Ju=ee,Yu=function(t){if("object"==typeof t||Bu(t))return t;throw Hu("Can't set "+zu(t)+" as a prototype")},Ku=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Wu(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return Ju(e),Yu(n),r?t(e,n):e.__proto__=n,e}}():void 0),qu=Ae,Xu=R,$u=vu,Qu=function(t,r,e,n){var o=r+" Iterator";return t.prototype=Iu(Cu,{next:Du(+!n,e)}),Fu(t,o,!1,!0),Mu[o]=Vu,t},Zu=ju,tf=Ai,rf=ei,ef=uu,nf=Nu,of=$u.PROPER,af=nf.BUGGY_SAFARI_ITERATORS,cf=pr("iterator"),uf="keys",ff="values",sf="entries",lf=function(){return this},pf=function(t,r,e,n,o,i,a){Qu(e,r,n);var c,u,f,s=function(t){if(t===o&&y)return y;if(!af&&t in h)return h[t];switch(t){case uf:case ff:case sf:return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,h=t.prototype,v=h[cf]||h["@@iterator"]||o&&h[o],y=!af&&v||s(o),d="Array"==r&&h.entries||v;if(d&&(c=Zu(d.call(new t)))!==Object.prototype&&c.next&&(tf(c,l,!0,!0),ef[l]=lf),of&&o==ff&&v&&v.name!==ff&&(p=!0,y=function(){return Xu(v,this)}),o)if(u={values:s(ff),keys:i?y:s(uf),entries:s(sf)},a)for(f in u)(af||p||!(f in h))&&rf(h,f,u[f]);else qu({target:r,proto:!0,forced:af||p},u);return a&&h[cf]!==y&&rf(h,cf,y,{name:o}),ef[r]=y,u},hf=function(t,r){return{value:t,done:r}},vf=$,yf=uu,df=Hi;$r.f;var gf=pf,mf=hf,bf="Array Iterator",wf=df.set,Of=df.getterFor(bf);gf(Array,"Array",(function(t,r){wf(this,{type:bf,target:vf(t),index:0,kind:r})}),(function(){var t=Of(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,mf(void 0,!0)):mf("keys"==e?n:"values"==e?r[n]:[n,r[n]],!1)}),"values"),yf.Arguments=yf.Array;var Sf={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},jf=o,Pf=Ze,Ef=de,Tf=uu,xf=pr("toStringTag");for(var Af in Sf){var Lf=jf[Af],_f=Lf&&Lf.prototype;_f&&Pf(_f)!==xf&&Ef(_f,xf,Af),Tf[Af]=Tf.Array}var kf=cu;vi("dispose");var Rf=kf;vi("asyncDispose");var Nf=Ae,Cf=d,If=at("Symbol"),Df=If.keyFor,Ff=Cf(If.prototype.valueOf);Nf({target:"Symbol",stat:!0},{isRegistered:function(t){try{return void 0!==Df(Ff(t))}catch(r){return!1}}});for(var Mf=Ae,Vf=Jt,Gf=at,Uf=d,Bf=Et,zf=pr,Hf=Gf("Symbol"),Wf=Hf.isWellKnown,Jf=Gf("Object","getOwnPropertyNames"),Yf=Uf(Hf.prototype.valueOf),Kf=Vf("wks"),qf=0,Xf=Jf(Hf),$f=Xf.length;qf<$f;qf++)try{var Qf=Xf[qf];Bf(Hf[Qf])&&zf(Qf)}catch(Eg){}Mf({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(t){if(Wf&&Wf(t))return!0;try{for(var r=Yf(t),e=0,n=Jf(Kf),o=n.length;e<o;e++)if(Kf[n[e]]==r)return!0}catch(Eg){}return!1}}),vi("matcher"),vi("metadataKey"),vi("observable"),vi("metadata"),vi("patternMatch"),vi("replaceAll");var Zf=e(Rf),ts=d,rs=Ce,es=Jn,ns=K,os=ts("".charAt),is=ts("".charCodeAt),as=ts("".slice),cs=function(t){return function(r,e){var n,o,i=es(ns(r)),a=rs(e),c=i.length;return a<0||a>=c?t?"":void 0:(n=is(i,a))<55296||n>56319||a+1===c||(o=is(i,a+1))<56320||o>57343?t?os(i,a):n:t?as(i,a,a+2):o-56320+(n-55296<<10)+65536}},us={codeAt:cs(!1),charAt:cs(!0)}.charAt,fs=Jn,ss=Hi,ls=pf,ps=hf,hs="String Iterator",vs=ss.set,ys=ss.getterFor(hs);ls(String,"String",(function(t){vs(this,{type:hs,string:fs(t),index:0})}),(function(){var t,r=ys(this),e=r.string,n=r.index;return n>=e.length?ps(void 0,!0):(t=us(e,n),r.index+=t.length,ps(t,!1))}));var ds=e(ii.f("iterator"));function gs(t){return(gs="function"==typeof Zf&&"symbol"==typeof ds?function(t){return typeof t}:function(t){return t&&"function"==typeof Zf&&t.constructor===Zf&&t!==Zf.prototype?"symbol":typeof t})(t)}var ms={exports:{}},bs=Ae,ws=L,Os=$r.f;bs({target:"Object",stat:!0,forced:Object.defineProperty!==Os,sham:!ws},{defineProperty:Os});var Ss=rt.Object,js=ms.exports=function(t,r,e){return Ss.defineProperty(t,r,e)};Ss.defineProperty.sham&&(js.sham=!0);var Ps=e(ms.exports);Ae({target:"Object",stat:!0,sham:!L},{create:Vo});var Es=rt.Object,Ts=e((function(t,r){return Es.create(t,r)})),xs=qt,As=ju,Ls=yu;Ae({target:"Object",stat:!0,forced:i((function(){As(1)})),sham:!Ls},{getPrototypeOf:function(t){return As(xs(t))}});var _s=e(rt.Object.getPrototypeOf),ks=i,Rs=Qi.forEach,Ns=function(t,r){var e=[][t];return!!e&&ks((function(){e.call(null,r||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Rs(this,t,arguments.length>1?arguments[1]:void 0)};Ae({target:"Array",proto:!0,forced:[].forEach!=Ns},{forEach:Ns});var Cs=rt,Is=function(t){return Cs[t+"Prototype"]},Ds=Is("Array").forEach,Fs=Ze,Ms=Qt,Vs=ct,Gs=Ds,Us=Array.prototype,Bs={DOMTokenList:!0,NodeList:!0},zs=e((function(t){var r=t.forEach;return t===Us||Vs(Us,t)&&r===Us.forEach||Ms(Bs,Fs(t))?Gs:r})),Hs=L,Ws=_e,Js=TypeError,Ys=Object.getOwnPropertyDescriptor,Ks=Hs&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(Eg){return Eg instanceof TypeError}}(),qs=qt,Xs=Me,$s=Ks?function(t,r){if(Ws(t)&&!Ys(t,"length").writable)throw Js("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},Qs=Ge;Ae({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(Eg){return Eg instanceof TypeError}}()},{push:function(t){var r=qs(this),e=Xs(r),n=arguments.length;Qs(e+n);for(var o=0;o<n;o++)r[e]=arguments[o],e++;return $s(r,e),e}});var Zs=Is("Array").push,tl=ct,rl=Zs,el=Array.prototype,nl=e((function(t){var r=t.push;return t===el||tl(el,t)&&r===el.push?rl:r}));Ae({target:"Object",stat:!0},{setPrototypeOf:Ku});var ol=e(rt.Object.setPrototypeOf),il=at,al=Go,cl=ti,ul=ee,fl=d([].concat),sl=il("Reflect","ownKeys")||function(t){var r=al.f(ul(t)),e=cl.f;return e?fl(r,e(t)):r},ll=Qt,pl=sl,hl=A,vl=$r,yl=tt,dl=de,gl=Error,ml=d("".replace),bl=String(gl("zxcasd").stack),wl=/\n\s*at [^:]*:[^\n]*/,Ol=wl.test(bl),Sl=V,jl=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Sl(1,7)),7!==t.stack)})),Pl=de,El=function(t,r){if(Ol&&"string"==typeof t&&!gl.prepareStackTrace)for(;r--;)t=ml(t,wl,"");return t},Tl=jl,xl=Error.captureStackTrace,Al=uu,Ll=pr("iterator"),_l=Array.prototype,kl=Ze,Rl=Ct,Nl=W,Cl=uu,Il=pr("iterator"),Dl=function(t){if(!Nl(t))return Rl(t,Il)||Rl(t,"@@iterator")||Cl[kl(t)]},Fl=R,Ml=kt,Vl=ee,Gl=xt,Ul=Dl,Bl=TypeError,zl=R,Hl=ee,Wl=Ct,Jl=Xr,Yl=R,Kl=ee,ql=xt,Xl=function(t){return void 0!==t&&(Al.Array===t||_l[Ll]===t)},$l=Me,Ql=ct,Zl=function(t,r){var e=arguments.length<2?Ul(t):r;if(Ml(e))return Vl(Fl(e,t));throw Bl(Gl(t)+" is not iterable")},tp=Dl,rp=function(t,r,e){var n,o;Hl(t);try{if(!(n=Wl(t,"return"))){if("throw"===r)throw e;return e}n=zl(n,t)}catch(Eg){o=!0,n=Eg}if("throw"===r)throw e;if(o)throw n;return Hl(n),e},ep=TypeError,np=function(t,r){this.stopped=t,this.result=r},op=np.prototype,ip=function(t,r,e){var n,o,i,a,c,u,f,s=e&&e.that,l=!(!e||!e.AS_ENTRIES),p=!(!e||!e.IS_RECORD),h=!(!e||!e.IS_ITERATOR),v=!(!e||!e.INTERRUPTED),y=Jl(r,s),d=function(t){return n&&rp(n,"normal",t),new np(!0,t)},g=function(t){return l?(Kl(t),v?y(t[0],t[1],d):y(t[0],t[1])):v?y(t,d):y(t)};if(p)n=t.iterator;else if(h)n=t;else{if(!(o=tp(t)))throw ep(ql(t)+" is not iterable");if(Xl(o)){for(i=0,a=$l(t);a>i;i++)if((c=g(t[i]))&&Ql(op,c))return c;return new np(!1)}n=Zl(t,o)}for(u=p?t.next:n.next;!(f=Yl(u,n)).done;){try{c=g(f.value)}catch(Eg){rp(n,"throw",Eg)}if("object"==typeof c&&c&&Ql(op,c))return c}return new np(!1)},ap=Jn,cp=Ae,up=ct,fp=ju,sp=Ku,lp=function(t,r,e){for(var n=pl(r),o=vl.f,i=hl.f,a=0;a<n.length;a++){var c=n[a];ll(t,c)||e&&ll(e,c)||o(t,c,i(r,c))}},pp=Vo,hp=de,vp=V,yp=function(t,r){yl(r)&&"cause"in r&&dl(t,"cause",r.cause)},dp=function(t,r,e,n){Tl&&(xl?xl(t,r):Pl(t,"stack",El(e,n)))},gp=ip,mp=function(t,r){return void 0===t?arguments.length<2?"":r:ap(t)},bp=pr("toStringTag"),wp=Error,Op=[].push,Sp=function(t,r){var e,n=up(jp,this);sp?e=sp(wp(),n?fp(this):jp):(e=n?this:pp(jp),hp(e,bp,"Error")),void 0!==r&&hp(e,"message",mp(r)),dp(e,Sp,e.stack,1),arguments.length>2&&yp(e,arguments[2]);var o=[];return gp(t,Op,{that:o}),hp(e,"errors",o),e};sp?sp(Sp,wp):lp(Sp,wp,{name:!0});var jp=Sp.prototype=pp(wp.prototype,{constructor:vp(1,Sp),message:vp(1,""),name:vp(1,"AggregateError")});cp({global:!0,constructor:!0,arity:2},{AggregateError:Sp});var Pp,Ep,Tp,xp,Ap="undefined"!=typeof process&&"process"==w(process),Lp=at,_p=oi,kp=L,Rp=pr("species"),Np=ct,Cp=TypeError,Ip=mn,Dp=xt,Fp=TypeError,Mp=ee,Vp=function(t){if(Ip(t))return t;throw Fp(Dp(t)+" is not a constructor")},Gp=W,Up=pr("species"),Bp=function(t,r){var e,n=Mp(t).constructor;return void 0===n||Gp(e=Mp(n)[Up])?r:Vp(e)},zp=TypeError,Hp=/(?:ipad|iphone|ipod).*applewebkit/i.test(ut),Wp=o,Jp=l,Yp=Xr,Kp=x,qp=Qt,Xp=i,$p=So,Qp=Sc,Zp=Tr,th=function(t,r){if(t<r)throw zp("Not enough arguments");return t},rh=Hp,eh=Ap,nh=Wp.setImmediate,oh=Wp.clearImmediate,ih=Wp.process,ah=Wp.Dispatch,ch=Wp.Function,uh=Wp.MessageChannel,fh=Wp.String,sh=0,lh={},ph="onreadystatechange";Xp((function(){Pp=Wp.location}));var hh=function(t){if(qp(lh,t)){var r=lh[t];delete lh[t],r()}},vh=function(t){return function(){hh(t)}},yh=function(t){hh(t.data)},dh=function(t){Wp.postMessage(fh(t),Pp.protocol+"//"+Pp.host)};nh&&oh||(nh=function(t){th(arguments.length,1);var r=Kp(t)?t:ch(t),e=Qp(arguments,1);return lh[++sh]=function(){Jp(r,void 0,e)},Ep(sh),sh},oh=function(t){delete lh[t]},eh?Ep=function(t){ih.nextTick(vh(t))}:ah&&ah.now?Ep=function(t){ah.now(vh(t))}:uh&&!rh?(xp=(Tp=new uh).port2,Tp.port1.onmessage=yh,Ep=Yp(xp.postMessage,xp)):Wp.addEventListener&&Kp(Wp.postMessage)&&!Wp.importScripts&&Pp&&"file:"!==Pp.protocol&&!Xp(dh)?(Ep=dh,Wp.addEventListener("message",yh,!1)):Ep=ph in Zp("script")?function(t){$p.appendChild(Zp("script"))[ph]=function(){$p.removeChild(this),hh(t)}}:function(t){setTimeout(vh(t),0)});var gh={set:nh,clear:oh},mh=function(){this.head=null,this.tail=null};mh.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var bh,wh,Oh,Sh,jh,Ph=mh,Eh=/ipad|iphone|ipod/i.test(ut)&&"undefined"!=typeof Pebble,Th=/web0s(?!.*chrome)/i.test(ut),xh=o,Ah=Xr,Lh=A.f,_h=gh.set,kh=Ph,Rh=Hp,Nh=Eh,Ch=Th,Ih=Ap,Dh=xh.MutationObserver||xh.WebKitMutationObserver,Fh=xh.document,Mh=xh.process,Vh=xh.Promise,Gh=Lh(xh,"queueMicrotask"),Uh=Gh&&Gh.value;if(!Uh){var Bh=new kh,zh=function(){var t,r;for(Ih&&(t=Mh.domain)&&t.exit();r=Bh.get();)try{r()}catch(Eg){throw Bh.head&&bh(),Eg}t&&t.enter()};Rh||Ih||Ch||!Dh||!Fh?!Nh&&Vh&&Vh.resolve?((Sh=Vh.resolve(void 0)).constructor=Vh,jh=Ah(Sh.then,Sh),bh=function(){jh(zh)}):Ih?bh=function(){Mh.nextTick(zh)}:(_h=Ah(_h,xh),bh=function(){_h(zh)}):(wh=!0,Oh=Fh.createTextNode(""),new Dh(zh).observe(Oh,{characterData:!0}),bh=function(){Oh.data=wh=!wh}),Uh=function(t){Bh.head||bh(),Bh.add(t)}}var Hh=Uh,Wh=function(t){try{return{error:!1,value:t()}}catch(Eg){return{error:!0,value:Eg}}},Jh=o.Promise,Yh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Kh=!Yh&&!Ap&&"object"==typeof window&&"object"==typeof document,qh=o,Xh=Jh,$h=x,Qh=Jr,Zh=nn,tv=pr,rv=Kh,ev=Yh,nv=yt,ov=Xh&&Xh.prototype,iv=tv("species"),av=!1,cv=$h(qh.PromiseRejectionEvent),uv={CONSTRUCTOR:Qh("Promise",(function(){var t=Zh(Xh),r=t!==String(Xh);if(!r&&66===nv)return!0;if(!ov.catch||!ov.finally)return!0;if(!nv||nv<51||!/native code/.test(t)){var e=new Xh((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((e.constructor={})[iv]=n,!(av=e.then((function(){}))instanceof n))return!0}return!r&&(rv||ev)&&!cv})),REJECTION_EVENT:cv,SUBCLASSING:av},fv={},sv=kt,lv=TypeError,pv=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw lv("Bad Promise constructor");r=t,e=n})),this.resolve=sv(r),this.reject=sv(e)};fv.f=function(t){return new pv(t)};var hv,vv,yv=Ae,dv=Ap,gv=o,mv=R,bv=ei,wv=Ai,Ov=function(t){var r=Lp(t);kp&&r&&!r[Rp]&&_p(r,Rp,{configurable:!0,get:function(){return this}})},Sv=kt,jv=x,Pv=tt,Ev=function(t,r){if(Np(r,t))return t;throw Cp("Incorrect invocation")},Tv=Bp,xv=gh.set,Av=Hh,Lv=function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(Eg){}},_v=Wh,kv=Ph,Rv=Hi,Nv=Jh,Cv=uv,Iv=fv,Dv="Promise",Fv=Cv.CONSTRUCTOR,Mv=Cv.REJECTION_EVENT,Vv=Rv.getterFor(Dv),Gv=Rv.set,Uv=Nv&&Nv.prototype,Bv=Nv,zv=Uv,Hv=gv.TypeError,Wv=gv.document,Jv=gv.process,Yv=Iv.f,Kv=Yv,qv=!!(Wv&&Wv.createEvent&&gv.dispatchEvent),Xv="unhandledrejection",$v=function(t){var r;return!(!Pv(t)||!jv(r=t.then))&&r},Qv=function(t,r){var e,n,o,i=r.value,a=1==r.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===r.rejection&&ny(r),r.rejection=1),!0===c?e=i:(s&&s.enter(),e=c(i),s&&(s.exit(),o=!0)),e===t.promise?f(Hv("Promise-chain cycle")):(n=$v(e))?mv(n,e,u,f):u(e)):f(i)}catch(Eg){s&&!o&&s.exit(),f(Eg)}},Zv=function(t,r){t.notified||(t.notified=!0,Av((function(){for(var e,n=t.reactions;e=n.get();)Qv(e,t);t.notified=!1,r&&!t.rejection&&ry(t)})))},ty=function(t,r,e){var n,o;qv?((n=Wv.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),gv.dispatchEvent(n)):n={promise:r,reason:e},!Mv&&(o=gv["on"+t])?o(n):t===Xv&&Lv("Unhandled promise rejection",e)},ry=function(t){mv(xv,gv,(function(){var r,e=t.facade,n=t.value;if(ey(t)&&(r=_v((function(){dv?Jv.emit("unhandledRejection",n,e):ty(Xv,e,n)})),t.rejection=dv||ey(t)?2:1,r.error))throw r.value}))},ey=function(t){return 1!==t.rejection&&!t.parent},ny=function(t){mv(xv,gv,(function(){var r=t.facade;dv?Jv.emit("rejectionHandled",r):ty("rejectionhandled",r,t.value)}))},oy=function(t,r,e){return function(n){t(r,n,e)}},iy=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,Zv(t,!0))},ay=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw Hv("Promise can't be resolved itself");var n=$v(r);n?Av((function(){var e={done:!1};try{mv(n,r,oy(ay,e,t),oy(iy,e,t))}catch(Eg){iy(e,Eg,t)}})):(t.value=r,t.state=1,Zv(t,!1))}catch(Eg){iy({done:!1},Eg,t)}}};Fv&&(zv=(Bv=function(t){Ev(this,zv),Sv(t),mv(hv,this);var r=Vv(this);try{t(oy(ay,r),oy(iy,r))}catch(Eg){iy(r,Eg)}}).prototype,(hv=function(t){Gv(this,{type:Dv,done:!1,notified:!1,parent:!1,reactions:new kv,rejection:!1,state:0,value:void 0})}).prototype=bv(zv,"then",(function(t,r){var e=Vv(this),n=Yv(Tv(this,Bv));return e.parent=!0,n.ok=!jv(t)||t,n.fail=jv(r)&&r,n.domain=dv?Jv.domain:void 0,0==e.state?e.reactions.add(n):Av((function(){Qv(n,e)})),n.promise})),vv=function(){var t=new hv,r=Vv(t);this.promise=t,this.resolve=oy(ay,r),this.reject=oy(iy,r)},Iv.f=Yv=function(t){return t===Bv||undefined===t?new vv(t):Kv(t)}),yv({global:!0,constructor:!0,wrap:!0,forced:Fv},{Promise:Bv}),wv(Bv,Dv,!1,!0),Ov(Dv);var cy=pr("iterator"),uy=!1;try{var fy=0,sy={next:function(){return{done:!!fy++}},return:function(){uy=!0}};sy[cy]=function(){return this},Array.from(sy,(function(){throw 2}))}catch(Eg){}var ly=Jh,py=uv.CONSTRUCTOR||!function(t,r){if(!r&&!uy)return!1;var e=!1;try{var n={};n[cy]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(Eg){}return e}((function(t){ly.all(t).then(void 0,(function(){}))})),hy=R,vy=kt,yy=fv,dy=Wh,gy=ip;Ae({target:"Promise",stat:!0,forced:py},{all:function(t){var r=this,e=yy.f(r),n=e.resolve,o=e.reject,i=dy((function(){var e=vy(r.resolve),i=[],a=0,c=1;gy(t,(function(t){var u=a++,f=!1;c++,hy(e,r,t).then((function(t){f||(f=!0,i[u]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),e.promise}});var my=Ae,by=uv.CONSTRUCTOR;Jh&&Jh.prototype,my({target:"Promise",proto:!0,forced:by,real:!0},{catch:function(t){return this.then(void 0,t)}});var wy=R,Oy=kt,Sy=fv,jy=Wh,Py=ip;Ae({target:"Promise",stat:!0,forced:py},{race:function(t){var r=this,e=Sy.f(r),n=e.reject,o=jy((function(){var o=Oy(r.resolve);Py(t,(function(t){wy(o,r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}});var Ey=R,Ty=fv;Ae({target:"Promise",stat:!0,forced:uv.CONSTRUCTOR},{reject:function(t){var r=Ty.f(this);return Ey(r.reject,void 0,t),r.promise}});var xy=ee,Ay=tt,Ly=fv,_y=function(t,r){if(xy(t),Ay(r)&&r.constructor===t)return r;var e=Ly.f(t);return(0,e.resolve)(r),e.promise},ky=Ae,Ry=Jh,Ny=uv.CONSTRUCTOR,Cy=_y,Iy=at("Promise"),Dy=!Ny;ky({target:"Promise",stat:!0,forced:true},{resolve:function(t){return Cy(Dy&&this===Iy?Ry:this,t)}});var Fy=R,My=kt,Vy=fv,Gy=Wh,Uy=ip;Ae({target:"Promise",stat:!0,forced:py},{allSettled:function(t){var r=this,e=Vy.f(r),n=e.resolve,o=e.reject,i=Gy((function(){var e=My(r.resolve),o=[],i=0,a=1;Uy(t,(function(t){var c=i++,u=!1;a++,Fy(e,r,t).then((function(t){u||(u=!0,o[c]={status:"fulfilled",value:t},--a||n(o))}),(function(t){u||(u=!0,o[c]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),e.promise}});var By=R,zy=kt,Hy=at,Wy=fv,Jy=Wh,Yy=ip,Ky="No one promise resolved";Ae({target:"Promise",stat:!0,forced:py},{any:function(t){var r=this,e=Hy("AggregateError"),n=Wy.f(r),o=n.resolve,i=n.reject,a=Jy((function(){var n=zy(r.resolve),a=[],c=0,u=1,f=!1;Yy(t,(function(t){var s=c++,l=!1;u++,By(n,r,t).then((function(t){l||f||(f=!0,o(t))}),(function(t){l||f||(l=!0,a[s]=t,--u||i(new e(a,Ky)))}))})),--u||i(new e(a,Ky))}));return a.error&&i(a.value),n.promise}});var qy=Ae,Xy=Jh,$y=i,Qy=at,Zy=x,td=Bp,rd=_y,ed=Xy&&Xy.prototype;qy({target:"Promise",proto:!0,real:!0,forced:!!Xy&&$y((function(){ed.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var r=td(this,Qy("Promise")),e=Zy(t);return this.then(e?function(e){return rd(r,t()).then((function(){return e}))}:t,e?function(e){return rd(r,t()).then((function(){throw e}))}:t)}});var nd=rt.Promise,od=fv,id=Wh;Ae({target:"Promise",stat:!0,forced:!0},{try:function(t){var r=od.f(this),e=id(t);return(e.error?r.reject:r.resolve)(e.value),r.promise}});var ad=e(nd),cd=Ae,ud=_e,fd=d([].reverse),sd=[1,2];cd({target:"Array",proto:!0,forced:String(sd)===String(sd.reverse())},{reverse:function(){return ud(this)&&(this.length=this.length),fd(this)}});var ld=Is("Array").reverse,pd=ct,hd=ld,vd=Array.prototype,yd=e((function(t){var r=t.reverse;return t===vd||pd(vd,t)&&r===vd.reverse?hd:r})),dd=Ae,gd=_e,md=mn,bd=tt,wd=$n,Od=Me,Sd=$,jd=He,Pd=pr,Ed=Sc,Td=Ln("slice"),xd=Pd("species"),Ad=Array,Ld=Math.max;dd({target:"Array",proto:!0,forced:!Td},{slice:function(t,r){var e,n,o,i=Sd(this),a=Od(i),c=wd(t,a),u=wd(void 0===r?a:r,a);if(gd(i)&&(e=i.constructor,(md(e)&&(e===Ad||gd(e.prototype))||bd(e)&&null===(e=e[xd]))&&(e=void 0),e===Ad||void 0===e))return Ed(i,c,u);for(n=new(void 0===e?Ad:e)(Ld(u-c,0)),o=0;c<u;c++,o++)c in i&&jd(n,o,i[c]);return n.length=o,n}});var _d=Is("Array").slice,kd=ct,Rd=_d,Nd=Array.prototype,Cd=e((function(t){var r=t.slice;return t===Nd||kd(Nd,t)&&r===Nd.slice?Rd:r}));function Id(){Id=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n=Ps||function(t,r,e){t[r]=e.value},o="function"==typeof Zf?Zf:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Ps(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(x){u=function(t,r,e){return t[r]=e}}function f(t,r,e,o){var i=r&&r.prototype instanceof p?r:p,a=Ts(i.prototype),c=new P(o||[]);return n(a,"_invoke",{value:w(t,e,c)}),a}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(x){return{type:"throw",arg:x}}}t.wrap=f;var l={};function p(){}function h(){}function v(){}var y={};u(y,i,(function(){return this}));var d=_s&&_s(_s(E([])));d&&d!==r&&e.call(d,i)&&(y=d);var g=v.prototype=p.prototype=Ts(y);function m(t){var r;zs(r=["next","throw","return"]).call(r,(function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function b(t,r){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==gs(l)&&e.call(l,"__await")?r.resolve(l.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):r.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,e){function n(){return new r((function(r,n){o(t,e,r,n)}))}return i=i?i.then(n,n):n()}})}function w(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=O(a,e);if(c){if(c===l)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=s(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function O(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,O(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),l;var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,l;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,l):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,l)}function S(t){var r,e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),nl(r=this.tryEntries).call(r,e)}function j(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],zs(t).call(t,S,this),this.reset(!0)}function E(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return h.prototype=v,n(g,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:h,configurable:!0}),h.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===h||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return ol?ol(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Ts(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),u(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(r,e,n,o,i){void 0===i&&(i=ad);var a=new b(f(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=Object(t),e=[];for(var n in r)nl(e).call(e,n);return yd(e).call(e),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=E,P.prototype={constructor:P,reset:function(t){var r;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,zs(r=this.tryEntries).call(r,j),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+Cd(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),l},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),l}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:E(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),l}},t}var Dd=qt,Fd=ho;Ae({target:"Object",stat:!0,forced:i((function(){Fd(1)}))},{keys:function(t){return Fd(Dd(t))}});var Md=e(rt.Object.keys),Vd=e(rt.Object.getOwnPropertySymbols),Gd=Qi.filter;Ae({target:"Array",proto:!0,forced:!Ln("filter")},{filter:function(t){return Gd(this,t,arguments.length>1?arguments[1]:void 0)}});var Ud=Is("Array").filter,Bd=ct,zd=Ud,Hd=Array.prototype,Wd=e((function(t){var r=t.filter;return t===Hd||Bd(Hd,t)&&r===Hd.filter?zd:r})),Jd={exports:{}},Yd=Ae,Kd=i,qd=$,Xd=A.f,$d=L;Yd({target:"Object",stat:!0,forced:!$d||Kd((function(){Xd(1)})),sham:!$d},{getOwnPropertyDescriptor:function(t,r){return Xd(qd(t),r)}});var Qd=rt.Object,Zd=Jd.exports=function(t,r){return Qd.getOwnPropertyDescriptor(t,r)};Qd.getOwnPropertyDescriptor.sham&&(Zd.sham=!0);var tg=e(Jd.exports),rg=sl,eg=$,ng=A,og=He;Ae({target:"Object",stat:!0,sham:!L},{getOwnPropertyDescriptors:function(t){for(var r,e,n=eg(t),o=ng.f,i=rg(n),a={},c=0;i.length>c;)void 0!==(e=o(n,r=i[c++]))&&og(a,r,e);return a}});var ig=e(rt.Object.getOwnPropertyDescriptors),ag={exports:{}},cg=Ae,ug=L,fg=Yn.f;cg({target:"Object",stat:!0,forced:Object.defineProperties!==fg,sham:!ug},{defineProperties:fg});var sg=rt.Object,lg=ag.exports=function(t,r){return sg.defineProperties(t,r)};sg.defineProperties.sham&&(lg.sham=!0);var pg=e(ag.exports),hg=e(ii.f("toPrimitive"));function vg(t){var r=function(t,r){if("object"!==gs(t)||null===t)return t;var e=t[hg];if(void 0!==e){var n=e.call(t,r||"default");if("object"!==gs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===gs(r)?r:String(r)}function yg(t,r,e){return(r=vg(r))in t?Ps(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function dg(t,r){var e=Md(t);if(Vd){var n=Vd(t);r&&(n=Wd(n).call(n,(function(r){return tg(t,r).enumerable}))),nl(e).apply(e,n)}return e}function gg(t){for(var r=1;r<arguments.length;r++){var e,n,o=null!=arguments[r]?arguments[r]:{};r%2?zs(e=dg(Object(o),!0)).call(e,(function(r){yg(t,r,o[r])})):ig?pg(t,ig(o)):zs(n=dg(Object(o))).call(n,(function(r){Ps(t,r,tg(o,r))}))}return t}function mg(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(Eg){return void e(Eg)}c.done?r(u):ad.resolve(u).then(n,o)}var bg=window.VePlayer.load,wg=window.VePlayer.register,Og=window.VePlayer.DynamicModule,Sg=window.VePlayer.VePlayerBase;function jg(t){return Pg.apply(this,arguments)}function Pg(){var t;return t=Id().mark((function t(r){return Id().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Sg.create(gg({url:"//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-360p.mp4"},r));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})),Pg=function(){var r=this,e=arguments;return new ad((function(n,o){var i=t.apply(r,e);function a(t){mg(i,n,o,a,c,"next",t)}function c(t){mg(i,n,o,a,c,"throw",t)}a(void 0)}))},Pg.apply(this,arguments)}(0,window.VePlayer.setModuleSystem)("umd"),void 0!==VePlayer.register?VePlayer.register(Og.BizVod,{createVodPlayer:jg}):wg(Og.BizVod,{createVodPlayer:jg}),t.createVodPlayer=jg,t.load=bg,t.register=wg}));
|