@volcengine/veplayer 2.8.0-rc.2 → 2.8.1-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.
@@ -1 +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 n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r=function(e){return e&&e.Math==Math&&e},i=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("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,c=Function.prototype,l=c.apply,u=c.call,d="object"==typeof Reflect&&Reflect.apply||(s?u.bind(l):function(){return u.apply(l,arguments)}),h=a,p=Function.prototype,f=p.call,g=h&&p.bind.bind(f,f),v=h?g:function(e){return function(){return f.apply(e,arguments)}},m=v,y=m({}.toString),_=m("".slice),G=function(e){return _(y(e),8,-1)},R=G,b=v,T=function(e){if("Function"===R(e))return b(e)},w="object"==typeof document&&document.all,S={all:w,IS_HTMLDDA:void 0===w&&void 0!==w},M=S.all,E=S.IS_HTMLDDA?function(e){return"function"==typeof e||e===M}:function(e){return"function"==typeof e},z={},D=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),k=a,A=Function.prototype.call,F=k?A.bind(A):function(){return A.apply(A,arguments)},P={},I={}.propertyIsEnumerable,X=Object.getOwnPropertyDescriptor,x=X&&!I.call({1:2},1);P.f=x?function(e){var t=X(this,e);return!!t&&t.enumerable}:I;var H,C,O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=o,U=G,B=Object,N=v("".split),V=L((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==U(e)?N(e,""):B(e)}:B,j=function(e){return null==e},K=j,Q=TypeError,W=function(e){if(K(e))throw Q("Can't call method on "+e);return e},q=V,Z=W,$=function(e){return q(Z(e))},Y=E,J=S.all,ee=S.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===J}:function(e){return"object"==typeof e?null!==e:Y(e)},te={},ne=te,re=i,ie=E,oe=function(e){return ie(e)?e:void 0},ae=function(e,t){return arguments.length<2?oe(ne[e])||oe(re[e]):ne[e]&&ne[e][t]||re[e]&&re[e][t]},se=v({}.isPrototypeOf),ce="undefined"!=typeof navigator&&String(navigator.userAgent)||"",le=i,ue=ce,de=le.process,he=le.Deno,pe=de&&de.versions||he&&he.version,fe=pe&&pe.v8;fe&&(C=(H=fe.split("."))[0]>0&&H[0]<4?1:+(H[0]+H[1])),!C&&ue&&(!(H=ue.match(/Edge\/(\d+)/))||H[1]>=74)&&(H=ue.match(/Chrome\/(\d+)/))&&(C=+H[1]);var ge=C,ve=ge,me=o,ye=i.String,_e=!!Object.getOwnPropertySymbols&&!me((function(){var e=Symbol();return!ye(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),Ge=_e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Re=ae,be=E,Te=se,we=Object,Se=Ge?function(e){return"symbol"==typeof e}:function(e){var t=Re("Symbol");return be(t)&&Te(t.prototype,we(e))},Me=String,Ee=function(e){try{return Me(e)}catch(t){return"Object"}},ze=E,De=Ee,ke=TypeError,Ae=function(e){if(ze(e))return e;throw ke(De(e)+" is not a function")},Fe=Ae,Pe=j,Ie=function(e,t){var n=e[t];return Pe(n)?void 0:Fe(n)},Xe=F,xe=E,He=ee,Ce=TypeError,Oe={exports:{}},Le=i,Ue=Object.defineProperty,Be=function(e,t){try{Ue(Le,e,{value:t,configurable:!0,writable:!0})}catch(n){Le[e]=t}return t},Ne="__core-js_shared__",Ve=i[Ne]||Be(Ne,{}),je=Ve;(Oe.exports=function(e,t){return je[e]||(je[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 Ke=Oe.exports,Qe=W,We=Object,qe=function(e){return We(Qe(e))},Ze=qe,$e=v({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return $e(Ze(e),t)},Je=v,et=0,tt=Math.random(),nt=Je(1..toString),rt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+nt(++et+tt,36)},it=Ke,ot=Ye,at=rt,st=_e,ct=Ge,lt=i.Symbol,ut=it("wks"),dt=ct?lt.for||lt:lt&&lt.withoutSetter||at,ht=function(e){return ot(ut,e)||(ut[e]=st&&ot(lt,e)?lt[e]:dt("Symbol."+e)),ut[e]},pt=F,ft=ee,gt=Se,vt=Ie,mt=function(e,t){var n,r;if("string"===t&&xe(n=e.toString)&&!He(r=Xe(n,e)))return r;if(xe(n=e.valueOf)&&!He(r=Xe(n,e)))return r;if("string"!==t&&xe(n=e.toString)&&!He(r=Xe(n,e)))return r;throw Ce("Can't convert object to primitive value")},yt=TypeError,_t=ht("toPrimitive"),Gt=function(e,t){if(!ft(e)||gt(e))return e;var n,r=vt(e,_t);if(r){if(void 0===t&&(t="default"),n=pt(r,e,t),!ft(n)||gt(n))return n;throw yt("Can't convert object to primitive value")}return void 0===t&&(t="number"),mt(e,t)},Rt=Se,bt=function(e){var t=Gt(e,"string");return Rt(t)?t:t+""},Tt=ee,wt=i.document,St=Tt(wt)&&Tt(wt.createElement),Mt=function(e){return St?wt.createElement(e):{}},Et=Mt,zt=!D&&!o((function(){return 7!=Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),Dt=D,kt=F,At=P,Ft=O,Pt=$,It=bt,Xt=Ye,xt=zt,Ht=Object.getOwnPropertyDescriptor;z.f=Dt?Ht:function(e,t){if(e=Pt(e),t=It(t),xt)try{return Ht(e,t)}catch(n){}if(Xt(e,t))return Ft(!kt(At.f,e,t),e[t])};var Ct=o,Ot=E,Lt=/#|\.prototype\./,Ut=function(e,t){var n=Nt[Bt(e)];return n==jt||n!=Vt&&(Ot(t)?Ct(t):!!t)},Bt=Ut.normalize=function(e){return String(e).replace(Lt,".").toLowerCase()},Nt=Ut.data={},Vt=Ut.NATIVE="N",jt=Ut.POLYFILL="P",Kt=Ut,Qt=Ae,Wt=a,qt=T(T.bind),Zt=function(e,t){return Qt(e),void 0===t?e:Wt?qt(e,t):function(){return e.apply(t,arguments)}},$t={},Yt=D&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Jt=ee,en=String,tn=TypeError,nn=function(e){if(Jt(e))return e;throw tn(en(e)+" is not an object")},rn=D,on=zt,an=Yt,sn=nn,cn=bt,ln=TypeError,un=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,hn="enumerable",pn="configurable",fn="writable";$t.f=rn?an?function(e,t,n){if(sn(e),t=cn(t),sn(n),"function"==typeof e&&"prototype"===t&&"value"in n&&fn in n&&!n[fn]){var r=dn(e,t);r&&r[fn]&&(e[t]=n.value,n={configurable:pn in n?n[pn]:r[pn],enumerable:hn in n?n[hn]:r[hn],writable:!1})}return un(e,t,n)}:un:function(e,t,n){if(sn(e),t=cn(t),sn(n),on)try{return un(e,t,n)}catch(r){}if("get"in n||"set"in n)throw ln("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var gn=$t,vn=O,mn=D?function(e,t,n){return gn.f(e,t,vn(1,n))}:function(e,t,n){return e[t]=n,e},yn=i,_n=d,Gn=T,Rn=E,bn=z.f,Tn=Kt,wn=te,Sn=Zt,Mn=mn,En=Ye,zn=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return _n(e,this,arguments)};return t.prototype=e.prototype,t},Dn=function(e,t){var n,r,i,o,a,s,c,l,u,d=e.target,h=e.global,p=e.stat,f=e.proto,g=h?yn:p?yn[d]:(yn[d]||{}).prototype,v=h?wn:wn[d]||Mn(wn,d,{})[d],m=v.prototype;for(o in t)r=!(n=Tn(h?o:d+(p?".":"#")+o,e.forced))&&g&&En(g,o),s=v[o],r&&(c=e.dontCallGetSet?(u=bn(g,o))&&u.value:g[o]),a=r&&c?c:t[o],r&&typeof s==typeof a||(l=e.bind&&r?Sn(a,yn):e.wrap&&r?zn(a):f&&Rn(a)?Gn(a):a,(e.sham||a&&a.sham||s&&s.sham)&&Mn(l,"sham",!0),Mn(v,o,l),f&&(En(wn,i=d+"Prototype")||Mn(wn,i,{}),Mn(wn[i],o,a),e.real&&m&&(n||!m[o])&&Mn(m,o,a)))},kn=Math.ceil,An=Math.floor,Fn=Math.trunc||function(e){var t=+e;return(t>0?An:kn)(t)},Pn=Fn,In=function(e){var t=+e;return t!=t||0===t?0:Pn(t)},Xn=In,xn=Math.max,Hn=Math.min,Cn=function(e,t){var n=Xn(e);return n<0?xn(n+t,0):Hn(n,t)},On=In,Ln=Math.min,Un=function(e){return e>0?Ln(On(e),9007199254740991):0},Bn=Un,Nn=function(e){return Bn(e.length)},Vn=$,jn=Cn,Kn=Nn,Qn=function(e){return function(t,n,r){var i,o=Vn(t),a=Kn(o),s=jn(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Wn={includes:Qn(!0),indexOf:Qn(!1)},qn={},Zn=Ye,$n=$,Yn=Wn.indexOf,Jn=qn,er=v([].push),tr=function(e,t){var n,r=$n(e),i=0,o=[];for(n in r)!Zn(Jn,n)&&Zn(r,n)&&er(o,n);for(;t.length>i;)Zn(r,n=t[i++])&&(~Yn(o,n)||er(o,n));return o},nr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rr=tr,ir=nr,or=Object.keys||function(e){return rr(e,ir)},ar=qe,sr=or;Dn({target:"Object",stat:!0,forced:o((function(){sr(1)}))},{keys:function(e){return sr(ar(e))}});var cr=te.Object.keys,lr=n(cr),ur={};ur[ht("toStringTag")]="z";var dr="[object z]"===String(ur),hr=dr,pr=E,fr=G,gr=ht("toStringTag"),vr=Object,mr="Arguments"==fr(function(){return arguments}()),yr=hr?fr:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=vr(e),gr))?n:mr?fr(t):"Object"==(r=fr(t))&&pr(t.callee)?"Arguments":r},_r=yr,Gr=String,Rr=function(e){if("Symbol"===_r(e))throw TypeError("Cannot convert a Symbol value to a string");return Gr(e)},br={},Tr=D,wr=Yt,Sr=$t,Mr=nn,Er=$,zr=or;br.f=Tr&&!wr?Object.defineProperties:function(e,t){Mr(e);for(var n,r=Er(t),i=zr(t),o=i.length,a=0;o>a;)Sr.f(e,n=i[a++],r[n]);return e};var Dr,kr=ae("document","documentElement"),Ar=rt,Fr=Ke("keys"),Pr=function(e){return Fr[e]||(Fr[e]=Ar(e))},Ir=nn,Xr=br,xr=nr,Hr=qn,Cr=kr,Or=Mt,Lr="prototype",Ur="script",Br=Pr("IE_PROTO"),Nr=function(){},Vr=function(e){return"<"+Ur+">"+e+"</"+Ur+">"},jr=function(e){e.write(Vr("")),e.close();var t=e.parentWindow.Object;return e=null,t},Kr=function(){try{Dr=new ActiveXObject("htmlfile")}catch(i){}var e,t,n;Kr="undefined"!=typeof document?document.domain&&Dr?jr(Dr):(t=Or("iframe"),n="java"+Ur+":",t.style.display="none",Cr.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Vr("document.F=Object")),e.close(),e.F):jr(Dr);for(var r=xr.length;r--;)delete Kr[Lr][xr[r]];return Kr()};Hr[Br]=!0;var Qr=Object.create||function(e,t){var n;return null!==e?(Nr[Lr]=Ir(e),n=new Nr,Nr[Lr]=null,n[Br]=e):n=Kr(),void 0===t?n:Xr.f(n,t)},Wr={},qr=tr,Zr=nr.concat("length","prototype");Wr.f=Object.getOwnPropertyNames||function(e){return qr(e,Zr)};var $r={},Yr=bt,Jr=$t,ei=O,ti=function(e,t,n){var r=Yr(t);r in e?Jr.f(e,r,ei(0,n)):e[r]=n},ni=Cn,ri=Nn,ii=ti,oi=Array,ai=Math.max,si=function(e,t,n){for(var r=ri(e),i=ni(t,r),o=ni(void 0===n?r:n,r),a=oi(ai(o-i,0)),s=0;i<o;i++,s++)ii(a,s,e[i]);return a.length=s,a},ci=G,li=$,ui=Wr.f,di=si,hi="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];$r.f=function(e){return hi&&"Window"==ci(e)?function(e){try{return ui(e)}catch(t){return di(hi)}}(e):ui(li(e))};var pi={};pi.f=Object.getOwnPropertySymbols;var fi=mn,gi=function(e,t,n,r){return r&&r.enumerable?e[t]=n:fi(e,t,n),e},vi=$t,mi=function(e,t,n){return vi.f(e,t,n)},yi={},_i=ht;yi.f=_i;var Gi,Ri,bi,Ti=te,wi=Ye,Si=yi,Mi=$t.f,Ei=function(e){var t=Ti.Symbol||(Ti.Symbol={});wi(t,e)||Mi(t,e,{value:Si.f(e)})},zi=F,Di=ae,ki=ht,Ai=gi,Fi=function(){var e=Di("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=ki("toPrimitive");t&&!t[r]&&Ai(t,r,(function(e){return zi(n,this)}),{arity:1})},Pi=yr,Ii=dr?{}.toString:function(){return"[object "+Pi(this)+"]"},Xi=dr,xi=$t.f,Hi=mn,Ci=Ye,Oi=Ii,Li=ht("toStringTag"),Ui=function(e,t,n,r){if(e){var i=n?e:e.prototype;Ci(i,Li)||xi(i,Li,{configurable:!0,value:t}),r&&!Xi&&Hi(i,"toString",Oi)}},Bi=E,Ni=i.WeakMap,Vi=Bi(Ni)&&/native code/.test(String(Ni)),ji=i,Ki=ee,Qi=mn,Wi=Ye,qi=Ve,Zi=Pr,$i=qn,Yi="Object already initialized",Ji=ji.TypeError,eo=ji.WeakMap;if(Vi||qi.state){var to=qi.state||(qi.state=new eo);to.get=to.get,to.has=to.has,to.set=to.set,Gi=function(e,t){if(to.has(e))throw Ji(Yi);return t.facade=e,to.set(e,t),t},Ri=function(e){return to.get(e)||{}},bi=function(e){return to.has(e)}}else{var no=Zi("state");$i[no]=!0,Gi=function(e,t){if(Wi(e,no))throw Ji(Yi);return t.facade=e,Qi(e,no,t),t},Ri=function(e){return Wi(e,no)?e[no]:{}},bi=function(e){return Wi(e,no)}}var ro={set:Gi,get:Ri,has:bi,enforce:function(e){return bi(e)?Ri(e):Gi(e,{})},getterFor:function(e){return function(t){var n;if(!Ki(t)||(n=Ri(t)).type!==e)throw Ji("Incompatible receiver, "+e+" required");return n}}},io=G,oo=Array.isArray||function(e){return"Array"==io(e)},ao=E,so=Ve,co=v(Function.toString);ao(so.inspectSource)||(so.inspectSource=function(e){return co(e)});var lo=so.inspectSource,uo=v,ho=o,po=E,fo=yr,go=lo,vo=function(){},mo=[],yo=ae("Reflect","construct"),_o=/^\s*(?:class|function)\b/,Go=uo(_o.exec),Ro=!_o.exec(vo),bo=function(e){if(!po(e))return!1;try{return yo(vo,mo,e),!0}catch(t){return!1}},To=function(e){if(!po(e))return!1;switch(fo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ro||!!Go(_o,go(e))}catch(t){return!0}};To.sham=!0;var wo=!yo||ho((function(){var e;return bo(bo.call)||!bo(Object)||!bo((function(){e=!0}))||e}))?To:bo,So=oo,Mo=wo,Eo=ee,zo=ht("species"),Do=Array,ko=function(e){var t;return So(e)&&(t=e.constructor,(Mo(t)&&(t===Do||So(t.prototype))||Eo(t)&&null===(t=t[zo]))&&(t=void 0)),void 0===t?Do:t},Ao=function(e,t){return new(ko(e))(0===t?0:t)},Fo=Zt,Po=V,Io=qe,Xo=Nn,xo=Ao,Ho=v([].push),Co=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(c,l,u,d){for(var h,p,f=Io(c),g=Po(f),v=Fo(l,u),m=Xo(g),y=0,_=d||xo,G=t?_(c,m):n||a?_(c,0):void 0;m>y;y++)if((s||y in g)&&(p=v(h=g[y],y,f),e))if(t)G[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Ho(G,h)}else switch(e){case 4:return!1;case 7:Ho(G,h)}return o?-1:r||i?i:G}},Oo={forEach:Co(0),map:Co(1),filter:Co(2),some:Co(3),every:Co(4),find:Co(5),findIndex:Co(6),filterReject:Co(7)},Lo=Dn,Uo=i,Bo=F,No=v,Vo=D,jo=_e,Ko=o,Qo=Ye,Wo=se,qo=nn,Zo=$,$o=bt,Yo=Rr,Jo=O,ea=Qr,ta=or,na=Wr,ra=$r,ia=pi,oa=z,aa=$t,sa=br,ca=P,la=gi,ua=mi,da=Ke,ha=qn,pa=rt,fa=ht,ga=yi,va=Ei,ma=Fi,ya=Ui,_a=ro,Ga=Oo.forEach,Ra=Pr("hidden"),ba="Symbol",Ta="prototype",wa=_a.set,Sa=_a.getterFor(ba),Ma=Object[Ta],Ea=Uo.Symbol,za=Ea&&Ea[Ta],Da=Uo.TypeError,ka=Uo.QObject,Aa=oa.f,Fa=aa.f,Pa=ra.f,Ia=ca.f,Xa=No([].push),xa=da("symbols"),Ha=da("op-symbols"),Ca=da("wks"),Oa=!ka||!ka[Ta]||!ka[Ta].findChild,La=Vo&&Ko((function(){return 7!=ea(Fa({},"a",{get:function(){return Fa(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Aa(Ma,t);r&&delete Ma[t],Fa(e,t,n),r&&e!==Ma&&Fa(Ma,t,r)}:Fa,Ua=function(e,t){var n=xa[e]=ea(za);return wa(n,{type:ba,tag:e,description:t}),Vo||(n.description=t),n},Ba=function(e,t,n){e===Ma&&Ba(Ha,t,n),qo(e);var r=$o(t);return qo(n),Qo(xa,r)?(n.enumerable?(Qo(e,Ra)&&e[Ra][r]&&(e[Ra][r]=!1),n=ea(n,{enumerable:Jo(0,!1)})):(Qo(e,Ra)||Fa(e,Ra,Jo(1,{})),e[Ra][r]=!0),La(e,r,n)):Fa(e,r,n)},Na=function(e,t){qo(e);var n=Zo(t),r=ta(n).concat(Qa(n));return Ga(r,(function(t){Vo&&!Bo(Va,n,t)||Ba(e,t,n[t])})),e},Va=function(e){var t=$o(e),n=Bo(Ia,this,t);return!(this===Ma&&Qo(xa,t)&&!Qo(Ha,t))&&(!(n||!Qo(this,t)||!Qo(xa,t)||Qo(this,Ra)&&this[Ra][t])||n)},ja=function(e,t){var n=Zo(e),r=$o(t);if(n!==Ma||!Qo(xa,r)||Qo(Ha,r)){var i=Aa(n,r);return!i||!Qo(xa,r)||Qo(n,Ra)&&n[Ra][r]||(i.enumerable=!0),i}},Ka=function(e){var t=Pa(Zo(e)),n=[];return Ga(t,(function(e){Qo(xa,e)||Qo(ha,e)||Xa(n,e)})),n},Qa=function(e){var t=e===Ma,n=Pa(t?Ha:Zo(e)),r=[];return Ga(n,(function(e){!Qo(xa,e)||t&&!Qo(Ma,e)||Xa(r,xa[e])})),r};jo||(Ea=function(){if(Wo(za,this))throw Da("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Yo(arguments[0]):void 0,t=pa(e),n=function(e){this===Ma&&Bo(n,Ha,e),Qo(this,Ra)&&Qo(this[Ra],t)&&(this[Ra][t]=!1),La(this,t,Jo(1,e))};return Vo&&Oa&&La(Ma,t,{configurable:!0,set:n}),Ua(t,e)},la(za=Ea[Ta],"toString",(function(){return Sa(this).tag})),la(Ea,"withoutSetter",(function(e){return Ua(pa(e),e)})),ca.f=Va,aa.f=Ba,sa.f=Na,oa.f=ja,na.f=ra.f=Ka,ia.f=Qa,ga.f=function(e){return Ua(fa(e),e)},Vo&&ua(za,"description",{configurable:!0,get:function(){return Sa(this).description}})),Lo({global:!0,constructor:!0,wrap:!0,forced:!jo,sham:!jo},{Symbol:Ea}),Ga(ta(Ca),(function(e){va(e)})),Lo({target:ba,stat:!0,forced:!jo},{useSetter:function(){Oa=!0},useSimple:function(){Oa=!1}}),Lo({target:"Object",stat:!0,forced:!jo,sham:!Vo},{create:function(e,t){return void 0===t?ea(e):Na(ea(e),t)},defineProperty:Ba,defineProperties:Na,getOwnPropertyDescriptor:ja}),Lo({target:"Object",stat:!0,forced:!jo},{getOwnPropertyNames:Ka}),ma(),ya(Ea,ba),ha[Ra]=!0;var Wa=_e&&!!Symbol.for&&!!Symbol.keyFor,qa=Dn,Za=ae,$a=Ye,Ya=Rr,Ja=Ke,es=Wa,ts=Ja("string-to-symbol-registry"),ns=Ja("symbol-to-string-registry");qa({target:"Symbol",stat:!0,forced:!es},{for:function(e){var t=Ya(e);if($a(ts,t))return ts[t];var n=Za("Symbol")(t);return ts[t]=n,ns[n]=t,n}});var rs=Dn,is=Ye,os=Se,as=Ee,ss=Wa,cs=Ke("symbol-to-string-registry");rs({target:"Symbol",stat:!0,forced:!ss},{keyFor:function(e){if(!os(e))throw TypeError(as(e)+" is not a symbol");if(is(cs,e))return cs[e]}});var ls=v([].slice),us=oo,ds=E,hs=G,ps=Rr,fs=v([].push),gs=Dn,vs=ae,ms=d,ys=F,_s=v,Gs=o,Rs=E,bs=Se,Ts=ls,ws=function(e){if(ds(e))return e;if(us(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?fs(n,i):"number"!=typeof i&&"Number"!=hs(i)&&"String"!=hs(i)||fs(n,ps(i))}var o=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(us(this))return t;for(var r=0;r<o;r++)if(n[r]===e)return t}}},Ss=_e,Ms=String,Es=vs("JSON","stringify"),zs=_s(/./.exec),Ds=_s("".charAt),ks=_s("".charCodeAt),As=_s("".replace),Fs=_s(1..toString),Ps=/[\uD800-\uDFFF]/g,Is=/^[\uD800-\uDBFF]$/,Xs=/^[\uDC00-\uDFFF]$/,xs=!Ss||Gs((function(){var e=vs("Symbol")();return"[null]"!=Es([e])||"{}"!=Es({a:e})||"{}"!=Es(Object(e))})),Hs=Gs((function(){return'"\\udf06\\ud834"'!==Es("\udf06\ud834")||'"\\udead"'!==Es("\udead")})),Cs=function(e,t){var n=Ts(arguments),r=ws(t);if(Rs(r)||void 0!==e&&!bs(e))return n[1]=function(e,t){if(Rs(r)&&(t=ys(r,this,Ms(e),t)),!bs(t))return t},ms(Es,null,n)},Os=function(e,t,n){var r=Ds(n,t-1),i=Ds(n,t+1);return zs(Is,e)&&!zs(Xs,i)||zs(Xs,e)&&!zs(Is,r)?"\\u"+Fs(ks(e,0),16):e};Es&&gs({target:"JSON",stat:!0,arity:3,forced:xs||Hs},{stringify:function(e,t,n){var r=Ts(arguments),i=ms(xs?Cs:Es,null,r);return Hs&&"string"==typeof i?As(i,Ps,Os):i}});var Ls=pi,Us=qe;Dn({target:"Object",stat:!0,forced:!_e||o((function(){Ls.f(1)}))},{getOwnPropertySymbols:function(e){var t=Ls.f;return t?t(Us(e)):[]}});var Bs=te.Object.getOwnPropertySymbols,Ns=n(Bs),Vs=o,js=ge,Ks=ht("species"),Qs=function(e){return js>=51||!Vs((function(){var t=[];return(t.constructor={})[Ks]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ws=Oo.filter;Dn({target:"Array",proto:!0,forced:!Qs("filter")},{filter:function(e){return Ws(this,e,arguments.length>1?arguments[1]:void 0)}});var qs=te,Zs=function(e){return qs[e+"Prototype"]},$s=Zs("Array").filter,Ys=se,Js=$s,ec=Array.prototype,tc=function(e){var t=e.filter;return e===ec||Ys(ec,e)&&t===ec.filter?Js:t},nc=n(tc),rc={exports:{}},ic=Dn,oc=o,ac=$,sc=z.f,cc=D;ic({target:"Object",stat:!0,forced:!cc||oc((function(){sc(1)})),sham:!cc},{getOwnPropertyDescriptor:function(e,t){return sc(ac(e),t)}});var lc=te.Object,uc=rc.exports=function(e,t){return lc.getOwnPropertyDescriptor(e,t)};lc.getOwnPropertyDescriptor.sham&&(uc.sham=!0);var dc=rc.exports,hc=n(dc),pc=D,fc=oo,gc=TypeError,vc=Object.getOwnPropertyDescriptor,mc=pc&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(fc(e)&&!vc(e,"length").writable)throw gc("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},yc=TypeError,_c=function(e){if(e>9007199254740991)throw yc("Maximum allowed index exceeded");return e},Gc=qe,Rc=Nn,bc=mc,Tc=_c;Dn({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(e){return e instanceof TypeError}}()},{push:function(e){var t=Gc(this),n=Rc(t),r=arguments.length;Tc(n+r);for(var i=0;i<r;i++)t[n]=arguments[i],n++;return bc(t,n),n}});var wc,Sc,Mc,Ec=Zs("Array").push,zc=se,Dc=Ec,kc=Array.prototype,Ac=n((function(e){var t=e.push;return e===kc||zc(kc,e)&&t===kc.push?Dc:t})),Fc={},Pc=D,Ic=Ye,Xc=Function.prototype,xc=Pc&&Object.getOwnPropertyDescriptor,Hc=Ic(Xc,"name"),Cc={EXISTS:Hc,PROPER:Hc&&"something"===function(){}.name,CONFIGURABLE:Hc&&(!Pc||Pc&&xc(Xc,"name").configurable)},Oc=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lc=Ye,Uc=E,Bc=qe,Nc=Oc,Vc=Pr("IE_PROTO"),jc=Object,Kc=jc.prototype,Qc=Nc?jc.getPrototypeOf:function(e){var t=Bc(e);if(Lc(t,Vc))return t[Vc];var n=t.constructor;return Uc(n)&&t instanceof n?n.prototype:t instanceof jc?Kc:null},Wc=o,qc=E,Zc=ee,$c=Qr,Yc=Qc,Jc=gi,el=ht("iterator"),tl=!1;[].keys&&("next"in(Mc=[].keys())?(Sc=Yc(Yc(Mc)))!==Object.prototype&&(wc=Sc):tl=!0);var nl=!Zc(wc)||Wc((function(){var e={};return wc[el].call(e)!==e}));qc((wc=nl?{}:$c(wc))[el])||Jc(wc,el,(function(){return this}));var rl={IteratorPrototype:wc,BUGGY_SAFARI_ITERATORS:tl},il=rl.IteratorPrototype,ol=Qr,al=O,sl=Ui,cl=Fc,ll=function(){return this},ul=function(e,t,n,r){var i=t+" Iterator";return e.prototype=ol(il,{next:al(+!r,n)}),sl(e,i,!1,!0),cl[i]=ll,e},dl=v,hl=Ae,pl=E,fl=String,gl=TypeError,vl=function(e,t,n){try{return dl(hl(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(r){}},ml=nn,yl=function(e){if("object"==typeof e||pl(e))return e;throw gl("Can't set "+fl(e)+" as a prototype")},_l=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=vl(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return ml(n),yl(r),t?e(n,r):n.__proto__=r,n}}():void 0),Gl=Dn,Rl=F,bl=Cc,Tl=ul,wl=Qc,Sl=Ui,Ml=gi,El=Fc,zl=rl,Dl=bl.PROPER,kl=zl.BUGGY_SAFARI_ITERATORS,Al=ht("iterator"),Fl="keys",Pl="values",Il="entries",Xl=function(){return this},xl=function(e,t,n,r,i,o,a){Tl(n,t,r);var s,c,l,u=function(e){if(e===i&&g)return g;if(!kl&&e in p)return p[e];switch(e){case Fl:case Pl:case Il:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Al]||p["@@iterator"]||i&&p[i],g=!kl&&f||u(i),v="Array"==t&&p.entries||f;if(v&&(s=wl(v.call(new e)))!==Object.prototype&&s.next&&(Sl(s,d,!0,!0),El[d]=Xl),Dl&&i==Pl&&f&&f.name!==Pl&&(h=!0,g=function(){return Rl(f,this)}),i)if(c={values:u(Pl),keys:o?g:u(Fl),entries:u(Il)},a)for(l in c)(kl||h||!(l in p))&&Ml(p,l,c[l]);else Gl({target:t,proto:!0,forced:kl||h},c);return a&&p[Al]!==g&&Ml(p,Al,g,{name:i}),El[t]=g,c},Hl=function(e,t){return{value:e,done:t}},Cl=$,Ol=Fc,Ll=ro;$t.f;var Ul=xl,Bl=Hl,Nl="Array Iterator",Vl=Ll.set,jl=Ll.getterFor(Nl);Ul(Array,"Array",(function(e,t){Vl(this,{type:Nl,target:Cl(e),index:0,kind:t})}),(function(){var e=jl(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Bl(void 0,!0)):Bl("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Ol.Arguments=Ol.Array;var Kl={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},Ql=i,Wl=yr,ql=mn,Zl=Fc,$l=ht("toStringTag");for(var Yl in Kl){var Jl=Ql[Yl],eu=Jl&&Jl.prototype;eu&&Wl(eu)!==$l&&ql(eu,$l,Yl),Zl[Yl]=Zl.Array}var tu=o,nu=function(e,t){var n=[][e];return!!n&&tu((function(){n.call(null,t||function(){return 1},1)}))},ru=Oo.forEach,iu=nu("forEach")?[].forEach:function(e){return ru(this,e,arguments.length>1?arguments[1]:void 0)};Dn({target:"Array",proto:!0,forced:[].forEach!=iu},{forEach:iu});var ou=Zs("Array").forEach,au=yr,su=Ye,cu=se,lu=ou,uu=Array.prototype,du={DOMTokenList:!0,NodeList:!0},hu=function(e){var t=e.forEach;return e===uu||cu(uu,e)&&t===uu.forEach||su(du,au(e))?lu:t},pu=n(hu),fu=ae,gu=Wr,vu=pi,mu=nn,yu=v([].concat),_u=fu("Reflect","ownKeys")||function(e){var t=gu.f(mu(e)),n=vu.f;return n?yu(t,n(e)):t},Gu=_u,Ru=$,bu=z,Tu=ti;Dn({target:"Object",stat:!0,sham:!D},{getOwnPropertyDescriptors:function(e){for(var t,n,r=Ru(e),i=bu.f,o=Gu(r),a={},s=0;o.length>s;)void 0!==(n=i(r,t=o[s++]))&&Tu(a,t,n);return a}});var wu=te.Object.getOwnPropertyDescriptors,Su=n(wu),Mu={exports:{}},Eu=Dn,zu=D,Du=br.f;Eu({target:"Object",stat:!0,forced:Object.defineProperties!==Du,sham:!zu},{defineProperties:Du});var ku=te.Object,Au=Mu.exports=function(e,t){return ku.defineProperties(e,t)};ku.defineProperties.sham&&(Au.sham=!0);var Fu=Mu.exports,Pu=n(Fu),Iu={exports:{}},Xu=Dn,xu=D,Hu=$t.f;Xu({target:"Object",stat:!0,forced:Object.defineProperty!==Hu,sham:!xu},{defineProperty:Hu});var Cu=te.Object,Ou=Iu.exports=function(e,t,n){return Cu.defineProperty(e,t,n)};Cu.defineProperty.sham&&(Ou.sham=!0);var Lu=Iu.exports,Uu=n(Lu),Bu=Dn,Nu=o,Vu=oo,ju=ee,Ku=qe,Qu=Nn,Wu=_c,qu=ti,Zu=Ao,$u=Qs,Yu=ge,Ju=ht("isConcatSpreadable"),ed=Yu>=51||!Nu((function(){var e=[];return e[Ju]=!1,e.concat()[0]!==e})),td=function(e){if(!ju(e))return!1;var t=e[Ju];return void 0!==t?!!t:Vu(e)};Bu({target:"Array",proto:!0,arity:1,forced:!ed||!$u("concat")},{concat:function(e){var t,n,r,i,o,a=Ku(this),s=Zu(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(td(o=-1===t?a:arguments[t]))for(i=Qu(o),Wu(c+i),n=0;n<i;n++,c++)n in o&&qu(s,c,o[n]);else Wu(c+1),qu(s,c++,o);return s.length=c,s}}),Ei("asyncIterator"),Ei("hasInstance"),Ei("isConcatSpreadable"),Ei("iterator"),Ei("match"),Ei("matchAll"),Ei("replace"),Ei("search"),Ei("species"),Ei("split");var nd=Fi;Ei("toPrimitive"),nd();var rd=ae,id=Ui;Ei("toStringTag"),id(rd("Symbol"),"Symbol"),Ei("unscopables"),Ui(i.JSON,"JSON",!0);var od=te.Symbol;Ei("dispose");var ad=od;Ei("asyncDispose");var sd=Dn,cd=v,ld=ae("Symbol"),ud=ld.keyFor,dd=cd(ld.prototype.valueOf);sd({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==ud(dd(e))}catch(t){return!1}}});for(var hd=Dn,pd=Ke,fd=ae,gd=v,vd=Se,md=ht,yd=fd("Symbol"),_d=yd.isWellKnown,Gd=fd("Object","getOwnPropertyNames"),Rd=gd(yd.prototype.valueOf),bd=pd("wks"),Td=0,wd=Gd(yd),Sd=wd.length;Td<Sd;Td++)try{var Md=wd[Td];vd(yd[Md])&&md(Md)}catch(s_e){}hd({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(_d&&_d(e))return!0;try{for(var t=Rd(e),n=0,r=Gd(bd),i=r.length;n<i;n++)if(bd[r[n]]==t)return!0}catch(s_e){}return!1}}),Ei("matcher"),Ei("metadataKey"),Ei("observable"),Ei("metadata"),Ei("patternMatch"),Ei("replaceAll");var Ed=ad,zd=n(Ed),Dd=v,kd=In,Ad=Rr,Fd=W,Pd=Dd("".charAt),Id=Dd("".charCodeAt),Xd=Dd("".slice),xd=function(e){return function(t,n){var r,i,o=Ad(Fd(t)),a=kd(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=Id(o,a))<55296||r>56319||a+1===s||(i=Id(o,a+1))<56320||i>57343?e?Pd(o,a):r:e?Xd(o,a,a+2):i-56320+(r-55296<<10)+65536}},Hd={codeAt:xd(!1),charAt:xd(!0)},Cd=Hd.charAt,Od=Rr,Ld=ro,Ud=xl,Bd=Hl,Nd="String Iterator",Vd=Ld.set,jd=Ld.getterFor(Nd);Ud(String,"String",(function(e){Vd(this,{type:Nd,string:Od(e),index:0})}),(function(){var e,t=jd(this),n=t.string,r=t.index;return r>=n.length?Bd(void 0,!0):(e=Cd(n,r),t.index+=e.length,Bd(e,!1))}));var Kd=yi.f("iterator"),Qd=n(Kd);function Wd(e){return(Wd="function"==typeof zd&&"symbol"==typeof Qd?function(e){return typeof e}:function(e){return e&&"function"==typeof zd&&e.constructor===zd&&e!==zd.prototype?"symbol":typeof e})(e)}var qd=yi.f("toPrimitive"),Zd=n(qd);function $d(e){var t=function(e,t){if("object"!==Wd(e)||null===e)return e;var n=e[Zd];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Wd(t)?t:String(t)}function Yd(e,t,n){return(t=$d(t))in e?Uu(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jd(e,t){var n=lr(e);if(Ns){var r=Ns(e);t&&(r=nc(r).call(r,(function(t){return hc(e,t).enumerable}))),Ac(n).apply(n,r)}return n}function eh(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?pu(n=Jd(Object(i),!0)).call(n,(function(t){Yd(e,t,i[t])})):Su?Pu(e,Su(i)):pu(r=Jd(Object(i))).call(r,(function(t){Uu(e,t,hc(i,t))}))}return e}Dn({target:"Object",stat:!0,sham:!D},{create:Qr});var th=te.Object,nh=function(e,t){return th.create(e,t)},rh=n(nh),ih=qe,oh=Qc,ah=Oc;Dn({target:"Object",stat:!0,forced:o((function(){oh(1)})),sham:!ah},{getPrototypeOf:function(e){return oh(ih(e))}});var sh=te.Object.getPrototypeOf,ch=n(sh);Dn({target:"Object",stat:!0},{setPrototypeOf:_l});var lh=te.Object.setPrototypeOf,uh=n(lh),dh=Ye,hh=_u,ph=z,fh=$t,gh=ee,vh=mn,mh=Error,yh=v("".replace),_h=String(mh("zxcasd").stack),Gh=/\n\s*at [^:]*:[^\n]*/,Rh=Gh.test(_h),bh=O,Th=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",bh(1,7)),7!==e.stack)})),wh=mn,Sh=function(e,t){if(Rh&&"string"==typeof e&&!mh.prepareStackTrace)for(;t--;)e=yh(e,Gh,"");return e},Mh=Th,Eh=Error.captureStackTrace,zh=Fc,Dh=ht("iterator"),kh=Array.prototype,Ah=function(e){return void 0!==e&&(zh.Array===e||kh[Dh]===e)},Fh=yr,Ph=Ie,Ih=j,Xh=Fc,xh=ht("iterator"),Hh=function(e){if(!Ih(e))return Ph(e,xh)||Ph(e,"@@iterator")||Xh[Fh(e)]},Ch=F,Oh=Ae,Lh=nn,Uh=Ee,Bh=Hh,Nh=TypeError,Vh=function(e,t){var n=arguments.length<2?Bh(e):t;if(Oh(n))return Lh(Ch(n,e));throw Nh(Uh(e)+" is not iterable")},jh=F,Kh=nn,Qh=Ie,Wh=function(e,t,n){var r,i;Kh(e);try{if(!(r=Qh(e,"return"))){if("throw"===t)throw n;return n}r=jh(r,e)}catch(s_e){i=!0,r=s_e}if("throw"===t)throw n;if(i)throw r;return Kh(r),n},qh=Zt,Zh=F,$h=nn,Yh=Ee,Jh=Ah,ep=Nn,tp=se,np=Vh,rp=Hh,ip=Wh,op=TypeError,ap=function(e,t){this.stopped=e,this.result=t},sp=ap.prototype,cp=function(e,t,n){var r,i,o,a,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),g=qh(t,u),v=function(e){return r&&ip(r,"normal",e),new ap(!0,e)},m=function(e){return d?($h(e),f?g(e[0],e[1],v):g(e[0],e[1])):f?g(e,v):g(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(i=rp(e)))throw op(Yh(e)+" is not iterable");if(Jh(i)){for(o=0,a=ep(e);a>o;o++)if((s=m(e[o]))&&tp(sp,s))return s;return new ap(!1)}r=np(e,i)}for(c=h?e.next:r.next;!(l=Zh(c,r)).done;){try{s=m(l.value)}catch(s_e){ip(r,"throw",s_e)}if("object"==typeof s&&s&&tp(sp,s))return s}return new ap(!1)},lp=Rr,up=Dn,dp=se,hp=Qc,pp=_l,fp=function(e,t,n){for(var r=hh(t),i=fh.f,o=ph.f,a=0;a<r.length;a++){var s=r[a];dh(e,s)||n&&dh(n,s)||i(e,s,o(t,s))}},gp=Qr,vp=mn,mp=O,yp=function(e,t){gh(t)&&"cause"in t&&vh(e,"cause",t.cause)},_p=function(e,t,n,r){Mh&&(Eh?Eh(e,t):wh(e,"stack",Sh(n,r)))},Gp=cp,Rp=function(e,t){return void 0===e?arguments.length<2?"":t:lp(e)},bp=ht("toStringTag"),Tp=Error,wp=[].push,Sp=function(e,t){var n,r=dp(Mp,this);pp?n=pp(Tp(),r?hp(this):Mp):(n=r?this:gp(Mp),vp(n,bp,"Error")),void 0!==t&&vp(n,"message",Rp(t)),_p(n,Sp,n.stack,1),arguments.length>2&&yp(n,arguments[2]);var i=[];return Gp(e,wp,{that:i}),vp(n,"errors",i),n};pp?pp(Sp,Tp):fp(Sp,Tp,{name:!0});var Mp=Sp.prototype=gp(Tp.prototype,{constructor:mp(1,Sp),message:mp(1,""),name:mp(1,"AggregateError")});up({global:!0,constructor:!0,arity:2},{AggregateError:Sp});var Ep,zp,Dp,kp,Ap="undefined"!=typeof process&&"process"==G(process),Fp=ae,Pp=mi,Ip=D,Xp=ht("species"),xp=function(e){var t=Fp(e);Ip&&t&&!t[Xp]&&Pp(t,Xp,{configurable:!0,get:function(){return this}})},Hp=se,Cp=TypeError,Op=function(e,t){if(Hp(t,e))return e;throw Cp("Incorrect invocation")},Lp=wo,Up=Ee,Bp=TypeError,Np=function(e){if(Lp(e))return e;throw Bp(Up(e)+" is not a constructor")},Vp=nn,jp=Np,Kp=j,Qp=ht("species"),Wp=function(e,t){var n,r=Vp(e).constructor;return void 0===r||Kp(n=Vp(r)[Qp])?t:jp(n)},qp=TypeError,Zp=function(e,t){if(e<t)throw qp("Not enough arguments");return e},$p=/(?:ipad|iphone|ipod).*applewebkit/i.test(ce),Yp=i,Jp=d,ef=Zt,tf=E,nf=Ye,rf=o,of=kr,af=ls,sf=Mt,cf=Zp,lf=$p,uf=Ap,df=Yp.setImmediate,hf=Yp.clearImmediate,pf=Yp.process,ff=Yp.Dispatch,gf=Yp.Function,vf=Yp.MessageChannel,mf=Yp.String,yf=0,_f={},Gf="onreadystatechange";rf((function(){Ep=Yp.location}));var Rf=function(e){if(nf(_f,e)){var t=_f[e];delete _f[e],t()}},bf=function(e){return function(){Rf(e)}},Tf=function(e){Rf(e.data)},wf=function(e){Yp.postMessage(mf(e),Ep.protocol+"//"+Ep.host)};df&&hf||(df=function(e){cf(arguments.length,1);var t=tf(e)?e:gf(e),n=af(arguments,1);return _f[++yf]=function(){Jp(t,void 0,n)},zp(yf),yf},hf=function(e){delete _f[e]},uf?zp=function(e){pf.nextTick(bf(e))}:ff&&ff.now?zp=function(e){ff.now(bf(e))}:vf&&!lf?(kp=(Dp=new vf).port2,Dp.port1.onmessage=Tf,zp=ef(kp.postMessage,kp)):Yp.addEventListener&&tf(Yp.postMessage)&&!Yp.importScripts&&Ep&&"file:"!==Ep.protocol&&!rf(wf)?(zp=wf,Yp.addEventListener("message",Tf,!1)):zp=Gf in sf("script")?function(e){of.appendChild(sf("script"))[Gf]=function(){of.removeChild(this),Rf(e)}}:function(e){setTimeout(bf(e),0)});var Sf={set:df,clear:hf},Mf=function(){this.head=null,this.tail=null};Mf.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.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 Ef,zf,Df,kf,Af,Ff=Mf,Pf=/ipad|iphone|ipod/i.test(ce)&&"undefined"!=typeof Pebble,If=/web0s(?!.*chrome)/i.test(ce),Xf=i,xf=Zt,Hf=z.f,Cf=Sf.set,Of=Ff,Lf=$p,Uf=Pf,Bf=If,Nf=Ap,Vf=Xf.MutationObserver||Xf.WebKitMutationObserver,jf=Xf.document,Kf=Xf.process,Qf=Xf.Promise,Wf=Hf(Xf,"queueMicrotask"),qf=Wf&&Wf.value;if(!qf){var Zf=new Of,$f=function(){var e,t;for(Nf&&(e=Kf.domain)&&e.exit();t=Zf.get();)try{t()}catch(s_e){throw Zf.head&&Ef(),s_e}e&&e.enter()};Lf||Nf||Bf||!Vf||!jf?!Uf&&Qf&&Qf.resolve?((kf=Qf.resolve(void 0)).constructor=Qf,Af=xf(kf.then,kf),Ef=function(){Af($f)}):Nf?Ef=function(){Kf.nextTick($f)}:(Cf=xf(Cf,Xf),Ef=function(){Cf($f)}):(zf=!0,Df=jf.createTextNode(""),new Vf($f).observe(Df,{characterData:!0}),Ef=function(){Df.data=zf=!zf}),qf=function(e){Zf.head||Ef(),Zf.add(e)}}var Yf=qf,Jf=function(e){try{return{error:!1,value:e()}}catch(s_e){return{error:!0,value:s_e}}},eg=i.Promise,tg="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ng=!tg&&!Ap&&"object"==typeof window&&"object"==typeof document,rg=i,ig=eg,og=E,ag=Kt,sg=lo,cg=ht,lg=ng,ug=tg,dg=ge,hg=ig&&ig.prototype,pg=cg("species"),fg=!1,gg=og(rg.PromiseRejectionEvent),vg={CONSTRUCTOR:ag("Promise",(function(){var e=sg(ig),t=e!==String(ig);if(!t&&66===dg)return!0;if(!hg.catch||!hg.finally)return!0;if(!dg||dg<51||!/native code/.test(e)){var n=new ig((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[pg]=r,!(fg=n.then((function(){}))instanceof r))return!0}return!t&&(lg||ug)&&!gg})),REJECTION_EVENT:gg,SUBCLASSING:fg},mg={},yg=Ae,_g=TypeError,Gg=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw _g("Bad Promise constructor");t=e,n=r})),this.resolve=yg(t),this.reject=yg(n)};mg.f=function(e){return new Gg(e)};var Rg,bg,Tg=Dn,wg=Ap,Sg=i,Mg=F,Eg=gi,zg=Ui,Dg=xp,kg=Ae,Ag=E,Fg=ee,Pg=Op,Ig=Wp,Xg=Sf.set,xg=Yf,Hg=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(s_e){}},Cg=Jf,Og=Ff,Lg=ro,Ug=eg,Bg=vg,Ng=mg,Vg="Promise",jg=Bg.CONSTRUCTOR,Kg=Bg.REJECTION_EVENT,Qg=Lg.getterFor(Vg),Wg=Lg.set,qg=Ug&&Ug.prototype,Zg=Ug,$g=qg,Yg=Sg.TypeError,Jg=Sg.document,ev=Sg.process,tv=Ng.f,nv=tv,rv=!!(Jg&&Jg.createEvent&&Sg.dispatchEvent),iv="unhandledrejection",ov=function(e){var t;return!(!Fg(e)||!Ag(t=e.then))&&t},av=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&dv(t),t.rejection=1),!0===s?n=o:(u&&u.enter(),n=s(o),u&&(u.exit(),i=!0)),n===e.promise?l(Yg("Promise-chain cycle")):(r=ov(n))?Mg(r,n,c,l):c(n)):l(o)}catch(s_e){u&&!i&&u.exit(),l(s_e)}},sv=function(e,t){e.notified||(e.notified=!0,xg((function(){for(var n,r=e.reactions;n=r.get();)av(n,e);e.notified=!1,t&&!e.rejection&&lv(e)})))},cv=function(e,t,n){var r,i;rv?((r=Jg.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Sg.dispatchEvent(r)):r={promise:t,reason:n},!Kg&&(i=Sg["on"+e])?i(r):e===iv&&Hg("Unhandled promise rejection",n)},lv=function(e){Mg(Xg,Sg,(function(){var t,n=e.facade,r=e.value;if(uv(e)&&(t=Cg((function(){wg?ev.emit("unhandledRejection",r,n):cv(iv,n,r)})),e.rejection=wg||uv(e)?2:1,t.error))throw t.value}))},uv=function(e){return 1!==e.rejection&&!e.parent},dv=function(e){Mg(Xg,Sg,(function(){var t=e.facade;wg?ev.emit("rejectionHandled",t):cv("rejectionhandled",t,e.value)}))},hv=function(e,t,n){return function(r){e(t,r,n)}},pv=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,sv(e,!0))},fv=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Yg("Promise can't be resolved itself");var r=ov(t);r?xg((function(){var n={done:!1};try{Mg(r,t,hv(fv,n,e),hv(pv,n,e))}catch(s_e){pv(n,s_e,e)}})):(e.value=t,e.state=1,sv(e,!1))}catch(s_e){pv({done:!1},s_e,e)}}};jg&&($g=(Zg=function(e){Pg(this,$g),kg(e),Mg(Rg,this);var t=Qg(this);try{e(hv(fv,t),hv(pv,t))}catch(s_e){pv(t,s_e)}}).prototype,(Rg=function(e){Wg(this,{type:Vg,done:!1,notified:!1,parent:!1,reactions:new Og,rejection:!1,state:0,value:void 0})}).prototype=Eg($g,"then",(function(e,t){var n=Qg(this),r=tv(Ig(this,Zg));return n.parent=!0,r.ok=!Ag(e)||e,r.fail=Ag(t)&&t,r.domain=wg?ev.domain:void 0,0==n.state?n.reactions.add(r):xg((function(){av(r,n)})),r.promise})),bg=function(){var e=new Rg,t=Qg(e);this.promise=e,this.resolve=hv(fv,t),this.reject=hv(pv,t)},Ng.f=tv=function(e){return e===Zg||undefined===e?new bg(e):nv(e)}),Tg({global:!0,constructor:!0,wrap:!0,forced:jg},{Promise:Zg}),zg(Zg,Vg,!1,!0),Dg(Vg);var gv=ht("iterator"),vv=!1;try{var mv=0,yv={next:function(){return{done:!!mv++}},return:function(){vv=!0}};yv[gv]=function(){return this},Array.from(yv,(function(){throw 2}))}catch(s_e){}var _v=function(e,t){if(!t&&!vv)return!1;var n=!1;try{var r={};r[gv]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(s_e){}return n},Gv=eg,Rv=vg.CONSTRUCTOR||!_v((function(e){Gv.all(e).then(void 0,(function(){}))})),bv=F,Tv=Ae,wv=mg,Sv=Jf,Mv=cp;Dn({target:"Promise",stat:!0,forced:Rv},{all:function(e){var t=this,n=wv.f(t),r=n.resolve,i=n.reject,o=Sv((function(){var n=Tv(t.resolve),o=[],a=0,s=1;Mv(e,(function(e){var c=a++,l=!1;s++,bv(n,t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise}});var Ev=Dn,zv=vg.CONSTRUCTOR;eg&&eg.prototype,Ev({target:"Promise",proto:!0,forced:zv,real:!0},{catch:function(e){return this.then(void 0,e)}});var Dv=F,kv=Ae,Av=mg,Fv=Jf,Pv=cp;Dn({target:"Promise",stat:!0,forced:Rv},{race:function(e){var t=this,n=Av.f(t),r=n.reject,i=Fv((function(){var i=kv(t.resolve);Pv(e,(function(e){Dv(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Iv=F,Xv=mg;Dn({target:"Promise",stat:!0,forced:vg.CONSTRUCTOR},{reject:function(e){var t=Xv.f(this);return Iv(t.reject,void 0,e),t.promise}});var xv=nn,Hv=ee,Cv=mg,Ov=function(e,t){if(xv(e),Hv(t)&&t.constructor===e)return t;var n=Cv.f(e);return(0,n.resolve)(t),n.promise},Lv=Dn,Uv=eg,Bv=vg.CONSTRUCTOR,Nv=Ov,Vv=ae("Promise"),jv=!Bv;Lv({target:"Promise",stat:!0,forced:true},{resolve:function(e){return Nv(jv&&this===Vv?Uv:this,e)}});var Kv=F,Qv=Ae,Wv=mg,qv=Jf,Zv=cp;Dn({target:"Promise",stat:!0,forced:Rv},{allSettled:function(e){var t=this,n=Wv.f(t),r=n.resolve,i=n.reject,o=qv((function(){var n=Qv(t.resolve),i=[],o=0,a=1;Zv(e,(function(e){var s=o++,c=!1;a++,Kv(n,t,e).then((function(e){c||(c=!0,i[s]={status:"fulfilled",value:e},--a||r(i))}),(function(e){c||(c=!0,i[s]={status:"rejected",reason:e},--a||r(i))}))})),--a||r(i)}));return o.error&&i(o.value),n.promise}});var $v=F,Yv=Ae,Jv=ae,em=mg,tm=Jf,nm=cp,rm="No one promise resolved";Dn({target:"Promise",stat:!0,forced:Rv},{any:function(e){var t=this,n=Jv("AggregateError"),r=em.f(t),i=r.resolve,o=r.reject,a=tm((function(){var r=Yv(t.resolve),a=[],s=0,c=1,l=!1;nm(e,(function(e){var u=s++,d=!1;c++,$v(r,t,e).then((function(e){d||l||(l=!0,i(e))}),(function(e){d||l||(d=!0,a[u]=e,--c||o(new n(a,rm)))}))})),--c||o(new n(a,rm))}));return a.error&&o(a.value),r.promise}});var im=Dn,om=eg,am=o,sm=ae,cm=E,lm=Wp,um=Ov,dm=om&&om.prototype;im({target:"Promise",proto:!0,real:!0,forced:!!om&&am((function(){dm.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=lm(this,sm("Promise")),n=cm(e);return this.then(n?function(n){return um(t,e()).then((function(){return n}))}:e,n?function(n){return um(t,e()).then((function(){throw n}))}:e)}});var hm=te.Promise,pm=mg,fm=Jf;Dn({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=pm.f(this),n=fm(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}});var gm=hm,vm=n(gm),mm=Dn,ym=oo,_m=v([].reverse),Gm=[1,2];mm({target:"Array",proto:!0,forced:String(Gm)===String(Gm.reverse())},{reverse:function(){return ym(this)&&(this.length=this.length),_m(this)}});var Rm=Zs("Array").reverse,bm=se,Tm=Rm,wm=Array.prototype,Sm=function(e){var t=e.reverse;return e===wm||bm(wm,e)&&t===wm.reverse?Tm:t},Mm=n(Sm),Em=Dn,zm=oo,Dm=wo,km=ee,Am=Cn,Fm=Nn,Pm=$,Im=ti,Xm=ht,xm=ls,Hm=Qs("slice"),Cm=Xm("species"),Om=Array,Lm=Math.max;Em({target:"Array",proto:!0,forced:!Hm},{slice:function(e,t){var n,r,i,o=Pm(this),a=Fm(o),s=Am(e,a),c=Am(void 0===t?a:t,a);if(zm(o)&&(n=o.constructor,(Dm(n)&&(n===Om||zm(n.prototype))||km(n)&&null===(n=n[Cm]))&&(n=void 0),n===Om||void 0===n))return xm(o,s,c);for(r=new(void 0===n?Om:n)(Lm(c-s,0)),i=0;s<c;s++,i++)s in o&&Im(r,i,o[s]);return r.length=i,r}});var Um=Zs("Array").slice,Bm=se,Nm=Um,Vm=Array.prototype,jm=function(e){var t=e.slice;return e===Vm||Bm(Vm,e)&&t===Vm.slice?Nm:t},Km=n(jm);function Qm(){Qm=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Uu||function(e,t,n){e[t]=n.value},i="function"==typeof zd?zd:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Uu(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=rh(o.prototype),s=new w(i||[]);return r(a,"_invoke",{value:G(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=l;var d={};function h(){}function p(){}function f(){}var g={};c(g,o,(function(){return this}));var v=ch&&ch(ch(S([])));v&&v!==t&&n.call(v,o)&&(g=v);var m=f.prototype=h.prototype=rh(g);function y(e){var t;pu(t=["next","throw","return"]).call(t,(function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function i(r,o,a,s){var c=u(e[r],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Wd(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return i("throw",e,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function G(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=R(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function R(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,R(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;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,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t,n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),Ac(t=this.tryEntries).call(t,n)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],pu(e).call(e,b,this),this.reset(!0)}function S(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=f,r(m,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:p,configurable:!0}),p.displayName=c(f,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 uh?uh(e,f):(e.__proto__=f,c(e,s,"GeneratorFunction")),e.prototype=rh(m),e},e.awrap=function(e){return{__await:e}},y(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=vm);var a=new _(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(m),c(m,s,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)Ac(n).call(n,r);return Mm(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,w.prototype={constructor:w,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,pu(t=this.tryEntries).call(t,T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+Km(r).call(r,1))&&(this[r]=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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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,d):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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Wm(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(s_e){return void n(s_e)}s.done?t(c):vm.resolve(c).then(r,i)}function qm(e){return function(){var t=this,n=arguments;return new vm((function(r,i){var o=e.apply(t,n);function a(e){Wm(o,r,i,a,s,"next",e)}function s(e){Wm(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Uu(e,$d(r.key),r)}}function Ym(e,t,n){return t&&$m(e.prototype,t),n&&$m(e,n),Uu(e,"prototype",{writable:!1}),e}function Jm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ey=Ye,ty=F,ny=ee,ry=nn,iy=function(e){return void 0!==e&&(ey(e,"value")||ey(e,"writable"))},oy=z,ay=Qc;Dn({target:"Reflect",stat:!0},{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return ry(t)===o?t[n]:(r=oy.f(t,n))?iy(r)?r.value:void 0===r.get?void 0:ty(r.get,o):ny(i=ay(t))?e(i,n,o):void 0}});var sy=n(te.Reflect.get),cy=v,ly=Ae,uy=ee,dy=Ye,hy=ls,py=a,fy=Function,gy=cy([].concat),vy=cy([].join),my={},yy=py?fy.bind:function(e){var t=ly(this),n=t.prototype,r=hy(arguments,1),i=function(){var n=gy(r,hy(arguments));return this instanceof i?function(e,t,n){if(!dy(my,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";my[t]=fy("C,a","return new C("+vy(r,",")+")")}return my[t](e,n)}(t,n.length,n):t.apply(e,n)};return uy(n)&&(i.prototype=n),i},_y=yy;Dn({target:"Function",proto:!0,forced:Function.bind!==_y},{bind:_y});var Gy=Zs("Function").bind,Ry=se,by=Gy,Ty=Function.prototype,wy=function(e){var t=e.bind;return e===Ty||Ry(Ty,e)&&t===Ty.bind?by:t},Sy=n(wy);function My(e){var t;return(My=uh?Sy(t=ch).call(t):function(e){return e.__proto__||ch(e)})(e)}function Ey(){var e;"undefined"!=typeof Reflect&&sy?Ey=Sy(e=sy).call(e):Ey=function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=My(e)););return e}(e,t);if(r){var i=hc(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}};return Ey.apply(this,arguments)}function zy(e,t){var n;return(zy=uh?Sy(n=uh).call(n):function(e,t){return e.__proto__=t,e})(e,t)}function Dy(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=rh(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Uu(e,"prototype",{writable:!1}),t&&zy(e,t)}var ky=Dn,Ay=d,Fy=yy,Py=Np,Iy=nn,Xy=ee,xy=Qr,Hy=o,Cy=ae("Reflect","construct"),Oy=Object.prototype,Ly=[].push,Uy=Hy((function(){function e(){}return!(Cy((function(){}),[],e)instanceof e)})),By=!Hy((function(){Cy((function(){}))})),Ny=Uy||By;ky({target:"Reflect",stat:!0,forced:Ny,sham:Ny},{construct:function(e,t){Py(e),Iy(t);var n=arguments.length<3?e:Py(arguments[2]);if(By&&!Uy)return Cy(e,t,n);if(e==n){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 r=[null];return Ay(Ly,r,t),new(Ay(Fy,e,r))}var i=n.prototype,o=xy(Xy(i)?i:Oy),a=Ay(e,o,t);return Xy(a)?a:o}});var Vy=n(te.Reflect.construct);function jy(){if("undefined"==typeof Reflect||!Vy)return!1;if(Vy.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Vy(Boolean,[],(function(){}))),!0}catch(VO){return!1}}function Ky(e){var t=jy();return function(){var n,r=My(e);if(t){var i=My(this).constructor;n=Vy(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Wd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Jm(e)}(this,n)}}Dn({target:"Array",stat:!0},{isArray:oo});var Qy=te.Array.isArray,Wy=n(Qy);function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Zy=Hh,$y=n(Zy),Yy=nn,Jy=Wh,e_=Zt,t_=F,n_=qe,r_=function(e,t,n,r){try{return r?t(Yy(n)[0],n[1]):t(n)}catch(s_e){Jy(e,"throw",s_e)}},i_=Ah,o_=wo,a_=Nn,s_=ti,c_=Vh,l_=Hh,u_=Array,d_=function(e){var t=n_(e),n=o_(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=e_(i,r>2?arguments[2]:void 0));var a,s,c,l,u,d,h=l_(t),p=0;if(!h||this===u_&&i_(h))for(a=a_(t),s=n?new this(a):u_(a);a>p;p++)d=o?i(t[p],p):t[p],s_(s,p,d);else for(u=(l=c_(t,h)).next,s=n?new this:[];!(c=t_(u,l)).done;p++)d=o?r_(l,i,[c.value,p],!0):c.value,s_(s,p,d);return s.length=p,s},h_=d_;Dn({target:"Array",stat:!0,forced:!_v((function(e){Array.from(e)}))},{from:h_});var p_=te.Array.from,f_=n(p_);function g_(e,t){var n;if(e){if("string"==typeof e)return qy(e,t);var r=Km(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?f_(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qy(e,t):void 0}}function v_(e){return function(e){if(Wy(e))return qy(e)}(e)||function(e){if(void 0!==zd&&null!=$y(e)||null!=e["@@iterator"])return f_(e)}(e)||g_(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_,y_=Zs("Array").concat,__=se,G_=y_,R_=Array.prototype,b_=n((function(e){var t=e.concat;return e===R_||__(R_,e)&&t===R_.concat?G_:t})),T_=window.VePlayer.error,w_=T_.VeError,S_=function(e){return e[e.INVALID_PARAMETER=210]="INVALID_PARAMETER",e[e.EMPTY_RTM_FALLBACK_PARAMETER=211]="EMPTY_RTM_FALLBACK_PARAMETER",e[e.INVALID_LOGGER=220]="INVALID_LOGGER",e}(S_||{});T_.Level;var M_=eh(eh({},S_),T_.ErrorCode),E_=eh(eh({},T_.ERROR_INFO),{},(Yd(m_={},210,{messageTextKey:"INVALID_PARAMETER",level:T_.Level.Fatal}),Yd(m_,211,{messageTextKey:"EMPTY_RTM_FALLBACK_PARAMETER",level:T_.Level.Warn}),Yd(m_,220,{messageTextKey:"INVALID_LOGGER",level:T_.Level.Warn}),m_));function z_(e,t){return new w_(eh({errorCode:e},E_[e]),t)}var D_=n(wy),k_="\t\n\v\f\r                 \u2028\u2029\ufeff",A_=W,F_=Rr,P_=k_,I_=v("".replace),X_=RegExp("^["+P_+"]+"),x_=RegExp("(^|[^"+P_+"])["+P_+"]+$"),H_=function(e){return function(t){var n=F_(A_(t));return 1&e&&(n=I_(n,X_,"")),2&e&&(n=I_(n,x_,"$1")),n}},C_={start:H_(1),end:H_(2),trim:H_(3)},O_=i,L_=o,U_=v,B_=Rr,N_=C_.trim,V_=k_,j_=O_.parseInt,K_=O_.Symbol,Q_=K_&&K_.iterator,W_=/^[+-]?0x/i,q_=U_(W_.exec),Z_=8!==j_(V_+"08")||22!==j_(V_+"0x16")||Q_&&!L_((function(){j_(Object(Q_))}))?function(e,t){var n=N_(B_(e));return j_(n,t>>>0||(q_(W_,n)?16:10))}:j_;Dn({global:!0,forced:parseInt!=Z_},{parseInt:Z_});var $_,Y_=n(te.parseInt),J_="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,eG=i,tG=d,nG=E,rG=J_,iG=ce,oG=ls,aG=Zp,sG=eG.Function,cG=/MSIE .\./.test(iG)||rG&&(($_=eG.Bun.version.split(".")).length<3||0==$_[0]&&($_[1]<3||3==$_[1]&&0==$_[2])),lG=function(e,t){var n=t?2:1;return cG?function(r,i){var o=aG(arguments.length,1)>n,a=nG(r)?r:sG(r),s=o?oG(arguments,n):[],c=o?function(){tG(a,this,s)}:a;return t?e(c,i):e(c)}:e},uG=Dn,dG=i,hG=lG(dG.setInterval,!0);uG({global:!0,bind:!0,forced:dG.setInterval!==hG},{setInterval:hG});var pG=Dn,fG=i,gG=lG(fG.setTimeout,!0);pG({global:!0,bind:!0,forced:fG.setTimeout!==gG},{setTimeout:gG});var vG=n(te.setTimeout),mG=n(jm),yG=NaN,_G="[object Symbol]",GG=/^\s+|\s+$/g,RG=/^[-+]0x[0-9a-f]+$/i,bG=/^0b[01]+$/i,TG=/^0o[0-7]+$/i,wG=Y_,SG="object"==Wd(t)&&t&&t.Object===Object&&t,MG="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,EG=SG||MG||Function("return this")(),zG=Object.prototype.toString,DG=Math.max,kG=Math.min,AG=function(){return EG.Date.now()};function FG(e){var t=Wd(e);return!!e&&("object"==t||"function"==t)}function PG(e){return"symbol"==Wd(e)||function(e){return!!e&&"object"==Wd(e)}(e)&&zG.call(e)==_G}function IG(e){if("number"==typeof e)return e;if(PG(e))return yG;if(FG(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=FG(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(GG,"");var n=bG.test(e);return n||TG.test(e)?wG(mG(e).call(e,2),n?2:8):RG.test(e)?yG:+e}var XG=function(e,t,n){var r,i,o,a,s,c,l=0,u=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,l=t,a=e.apply(o,n)}function f(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=o}function g(){var e=AG();if(f(e))return v(e);s=vG(g,function(e){var n=t-(e-c);return d?kG(n,o-(e-l)):n}(e))}function v(e){return s=void 0,h&&r?p(e):(r=i=void 0,a)}function m(){var e=AG(),n=f(e);if(r=arguments,i=this,c=e,n){if(void 0===s)return function(e){return l=e,s=vG(g,t),u?p(e):a}(c);if(d)return s=vG(g,t),p(c)}return void 0===s&&(s=vG(g,t)),a}return t=IG(t)||0,FG(n)&&(u=!!n.leading,o=(d="maxWait"in n)?DG(IG(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0},m.flush=function(){return void 0===s?a:v(AG())},m},xG=n(XG),HG=eh(eh({},window.VePlayer.event.Events),{},{TIME_SHIFT_CHANGE:"timeShiftChange",REFRESH_CLICK:"refreshClick"});function CG(){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 OG=window.VePlayer.Plugin,LG=window.VePlayer.Sniffer,UG=window.VePlayer.XGEvents,BG=OG.POSITIONS,NG=function(e){Dy(n,e);var t=Ky(n);function n(){return Zm(this,n),t.apply(this,arguments)}return Ym(n,[{key:"afterCreate",value:function(){this.config.disable||(this.appendChild(".xgplayer-icon",this.icons.refresh),this._initEvents())}},{key:"registerIcons",value:function(){return{refresh:{icon:CG,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 n,r;if(e.preventDefault(),e.stopPropagation(),t.addClass("xgplayer-is-enter"),t.pause(),t)t.emit(HG.REFRESH_CLICK),null===(n=this.player)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.veplayer)||void 0===n||n.retry(),null===(r=this.player)||void 0===r||null===(r=r.plugins)||void 0===r||null===(r=r.error)||void 0===r||r.hideError();t.once(UG.CANPLAY,(function(){t.removeClass("xgplayer-is-enter")}))}}},{key:"_initEvents",value:function(){var e;this._handleRefresh=xG(D_(e=this._handleRefresh).call(e,this),200);var t="mobile"===LG.device?"touchend":"click";D_(this).call(this,t,this._handleRefresh),this.show()}}],[{key:"pluginName",get:function(){return"refresh"}},{key:"defaultConfig",get:function(){return{position:BG.CONTROLS_LEFT,index:1,disable:!1}}}]),n}(OG),VG=n(Lu),jG=n(cr),KG=n(Bs),QG=n(tc),WG=n(dc),qG=n(hu),ZG=n(wu),$G=n(Fu),YG=n(Ed),JG=n(Kd),eR=n(yi.f("asyncIterator")),tR=Dn,nR=Wn.indexOf,rR=nu,iR=T([].indexOf),oR=!!iR&&1/iR([1],1,-0)<0;tR({target:"Array",proto:!0,forced:oR||!rR("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return oR?iR(this,e,t)||0:nR(this,e,t)}});var aR=Zs("Array").indexOf,sR=se,cR=aR,lR=Array.prototype,uR=function(e){var t=e.indexOf;return e===lR||sR(lR,e)&&t===lR.indexOf?cR:t},dR=n(uR),hR=n(uR),pR=Dn,fR=Date,gR=v(fR.prototype.getTime);pR({target:"Date",stat:!0},{now:function(){return gR(new fR)}});var vR=n(te.Date.now),mR=o,yR=ht("iterator"),_R=!mR((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+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[yR]||"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"!==n||"x"!==new URL("http://x",void 0).host})),GR=gi,RR=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:GR(e,r,t[r],n);return e},bR=si,TR=Math.floor,wR=function(e,t){var n=e.length,r=TR(n/2);return n<8?SR(e,t):MR(e,wR(bR(e,0,r),t),wR(bR(e,r),t),t)},SR=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},MR=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e},ER=wR,zR=Dn,DR=i,kR=F,AR=v,FR=D,PR=_R,IR=gi,XR=mi,xR=RR,HR=Ui,CR=ul,OR=ro,LR=Op,UR=E,BR=Ye,NR=Zt,VR=yr,jR=nn,KR=ee,QR=Rr,WR=Qr,qR=O,ZR=Vh,$R=Hh,YR=Zp,JR=ER,eb=ht("iterator"),tb="URLSearchParams",nb=tb+"Iterator",rb=OR.set,ib=OR.getterFor(tb),ob=OR.getterFor(nb),ab=Object.getOwnPropertyDescriptor,sb=function(e){if(!FR)return DR[e];var t=ab(DR,e);return t&&t.value},cb=sb("fetch"),lb=sb("Request"),ub=sb("Headers"),db=lb&&lb.prototype,hb=ub&&ub.prototype,pb=DR.RegExp,fb=DR.TypeError,gb=DR.decodeURIComponent,vb=DR.encodeURIComponent,mb=AR("".charAt),yb=AR([].join),_b=AR([].push),Gb=AR("".replace),Rb=AR([].shift),bb=AR([].splice),Tb=AR("".split),wb=AR("".slice),Sb=/\+/g,Mb=Array(4),Eb=function(e){return Mb[e-1]||(Mb[e-1]=pb("((?:%[\\da-f]{2}){"+e+"})","gi"))},zb=function(e){try{return gb(e)}catch(s_e){return e}},Db=function(e){var t=Gb(e,Sb," "),n=4;try{return gb(t)}catch(s_e){for(;n;)t=Gb(t,Eb(n--),zb);return t}},kb=/[!'()~]|%20/g,Ab={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Fb=function(e){return Ab[e]},Pb=function(e){return Gb(vb(e),kb,Fb)},Ib=CR((function(e,t){rb(this,{type:nb,iterator:ZR(ib(e).entries),kind:t})}),"Iterator",(function(){var e=ob(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),Xb=function(e){this.entries=[],this.url=null,void 0!==e&&(KR(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===mb(e,0)?wb(e,1):e:QR(e)))};Xb.prototype={type:tb,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,s,c=$R(e);if(c)for(n=(t=ZR(e,c)).next;!(r=kR(n,t)).done;){if(o=(i=ZR(jR(r.value))).next,(a=kR(o,i)).done||(s=kR(o,i)).done||!kR(o,i).done)throw fb("Expected sequence with length 2");_b(this.entries,{key:QR(a.value),value:QR(s.value)})}else for(var l in e)BR(e,l)&&_b(this.entries,{key:l,value:QR(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Tb(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Tb(t,"="),_b(this.entries,{key:Db(Rb(n)),value:Db(yb(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],_b(n,Pb(e.key)+"="+Pb(e.value));return yb(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var xb=function(){LR(this,Hb);var e=rb(this,new Xb(arguments.length>0?arguments[0]:void 0));FR||(this.length=e.entries.length)},Hb=xb.prototype;if(xR(Hb,{append:function(e,t){YR(arguments.length,2);var n=ib(this);_b(n.entries,{key:QR(e),value:QR(t)}),FR||this.length++,n.updateURL()},delete:function(e){YR(arguments.length,1);for(var t=ib(this),n=t.entries,r=QR(e),i=0;i<n.length;)n[i].key===r?bb(n,i,1):i++;FR||(this.length=n.length),t.updateURL()},get:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=[],i=0;i<t.length;i++)t[i].key===n&&_b(r,t[i].value);return r},has:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){YR(arguments.length,1);for(var n,r=ib(this),i=r.entries,o=!1,a=QR(e),s=QR(t),c=0;c<i.length;c++)(n=i[c]).key===a&&(o?bb(i,c--,1):(o=!0,n.value=s));o||_b(i,{key:a,value:s}),FR||(this.length=i.length),r.updateURL()},sort:function(){var e=ib(this);JR(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=ib(this).entries,r=NR(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new Ib(this,"keys")},values:function(){return new Ib(this,"values")},entries:function(){return new Ib(this,"entries")}},{enumerable:!0}),IR(Hb,eb,Hb.entries,{name:"entries"}),IR(Hb,"toString",(function(){return ib(this).serialize()}),{enumerable:!0}),FR&&XR(Hb,"size",{get:function(){return ib(this).entries.length},configurable:!0,enumerable:!0}),HR(xb,tb),zR({global:!0,constructor:!0,forced:!PR},{URLSearchParams:xb}),!PR&&UR(ub)){var Cb=AR(hb.has),Ob=AR(hb.set),Lb=function(e){if(KR(e)){var t,n=e.body;if(VR(n)===tb)return t=e.headers?new ub(e.headers):new ub,Cb(t,"content-type")||Ob(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),WR(e,{body:qR(0,QR(n)),headers:qR(0,t)})}return e};if(UR(cb)&&zR({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return cb(e,arguments.length>1?Lb(arguments[1]):{})}}),UR(lb)){var Ub=function(e){return LR(this,db),new lb(e,arguments.length>1?Lb(arguments[1]):{})};db.constructor=Ub,Ub.prototype=db,zR({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ub})}}var Bb={URLSearchParams:xb,getState:ib},Nb=n(te.URLSearchParams),Vb=ee,jb=G,Kb=ht("match"),Qb=function(e){var t;return Vb(e)&&(void 0!==(t=e[Kb])?!!t:"RegExp"==jb(e))},Wb=TypeError,qb=function(e){if(Qb(e))throw Wb("The method doesn't accept regular expressions");return e},Zb=ht("match"),$b=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Zb]=!1,"/./"[e](t)}catch(s_e){}}return!1},Yb=Dn,Jb=T;z.f;var eT=Un,tT=Rr,nT=qb,rT=W,iT=$b,oT=Jb("".startsWith),aT=Jb("".slice),sT=Math.min;Yb({target:"String",proto:!0,forced:!iT("startsWith")},{startsWith:function(e){var t=tT(rT(this));nT(e);var n=eT(sT(arguments.length>1?arguments[1]:void 0,t.length)),r=tT(e);return oT?oT(t,r,n):aT(t,n,n+r.length)===r}});var cT=Zs("String").startsWith,lT=se,uT=cT,dT=String.prototype,hT=n((function(e){var t=e.startsWith;return"string"==typeof e||e===dT||lT(dT,e)&&t===dT.startsWith?uT:t})),pT=Z_;Dn({target:"Number",stat:!0,forced:Number.parseInt!=pT},{parseInt:pT});var fT=n(te.Number.parseInt),gT=D,vT=v,mT=F,yT=o,_T=or,GT=pi,RT=P,bT=qe,TT=V,wT=Object.assign,ST=Object.defineProperty,MT=vT([].concat),ET=!wT||yT((function(){if(gT&&1!==wT({b:1},wT(ST({},"a",{enumerable:!0,get:function(){ST(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=wT({},e)[n]||_T(wT({},t)).join("")!=r}))?function(e,t){for(var n=bT(e),r=arguments.length,i=1,o=GT.f,a=RT.f;r>i;)for(var s,c=TT(arguments[i++]),l=o?MT(_T(c),o(c)):_T(c),u=l.length,d=0;u>d;)s=l[d++],gT&&!mT(a,c,s)||(n[s]=c[s]);return n}:wT,zT=ET;Dn({target:"Object",stat:!0,arity:2,forced:Object.assign!==zT},{assign:zT});var DT=n(te.Object.assign),kT=te,AT=d;kT.JSON||(kT.JSON={stringify:JSON.stringify});var FT=function(e,t,n){return AT(kT.JSON.stringify,null,arguments)},PT=n(FT),IT=d,XT=$,xT=In,HT=Nn,CT=nu,OT=Math.min,LT=[].lastIndexOf,UT=!!LT&&1/[1].lastIndexOf(1,-0)<0,BT=CT("lastIndexOf"),NT=UT||!BT?function(e){if(UT)return IT(LT,this,arguments)||0;var t=XT(this),n=HT(t),r=n-1;for(arguments.length>1&&(r=OT(r,xT(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:LT;Dn({target:"Array",proto:!0,forced:NT!==[].lastIndexOf},{lastIndexOf:NT});var VT=Zs("Array").lastIndexOf,jT=se,KT=VT,QT=Array.prototype,WT=n((function(e){var t=e.lastIndexOf;return e===QT||jT(QT,e)&&t===QT.lastIndexOf?KT:t})),qT=n(gm),ZT=i,$T=o,YT=Rr,JT=C_.trim,ew=k_,tw=v("".charAt),nw=ZT.parseFloat,rw=ZT.Symbol,iw=rw&&rw.iterator,ow=1/nw(ew+"-0")!=-1/0||iw&&!$T((function(){nw(Object(iw))}))?function(e){var t=JT(YT(e)),n=nw(t);return 0===n&&"-"==tw(t,0)?-0:n}:nw,aw=ow;Dn({target:"Number",stat:!0,forced:Number.parseFloat!=aw},{parseFloat:aw});var sw=n(te.Number.parseFloat),cw=Wn.includes;Dn({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return cw(this,e,arguments.length>1?arguments[1]:void 0)}});var lw=Zs("Array").includes,uw=Dn,dw=qb,hw=W,pw=Rr,fw=$b,gw=v("".indexOf);uw({target:"String",proto:!0,forced:!fw("includes")},{includes:function(e){return!!~gw(pw(hw(this)),pw(dw(e)),arguments.length>1?arguments[1]:void 0)}});var vw=Zs("String").includes,mw=se,yw=lw,_w=vw,Gw=Array.prototype,Rw=String.prototype,bw=n((function(e){var t=e.includes;return e===Gw||mw(Gw,e)&&t===Gw.includes?yw:"string"==typeof e||e===Rw||mw(Rw,e)&&t===Rw.includes?_w:t})),Tw=n(te.setInterval);function ww(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),VG(e,r.key,r)}}function Sw(e,t,n){return t&&ww(e.prototype,t),n&&ww(e,n),e}function Mw(e,t,n){return t in e?VG(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ew(e,t){var n=jG(e);if(KG){var r=KG(e);t&&(r=QG(r).call(r,(function(t){return WG(e,t).enumerable}))),n.push.apply(n,r)}return n}function zw(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{};if(t%2)qG(n=Ew(Object(r),!0)).call(n,(function(t){Mw(e,t,r[t])}));else if(ZG)$G(e,ZG(r));else{var i;qG(i=Ew(Object(r))).call(i,(function(t){VG(e,t,WG(r,t))}))}}return e}void 0===YG||(JG||(YG.iterator=YG("Symbol.iterator"))),void 0===YG||(eR||(YG.asyncIterator=YG("Symbol.asyncIterator")));var Dw="xgplayer_device_id",kw="xgplayer_user_id",Aw=function(e){if(!document.cookie)return null;for(var t=document.cookie.split(";"),n=0,r=t.length;n<r;n++){var i,o=t[n];if(hR(i=t[n]).call(i,e)>=0)return o.split("=")[1]||null}},Fw=function(e){return String(Math.floor(Math.random()*Math.pow(10,e)))},Pw=function(){var e=Aw(Dw);if(e)return e;var t=Fw(11);return document.cookie=Dw+"="+t+";max-age=31536000;path=/",t},Iw=function(){var e=Aw(kw);if(e)return e;var t=Fw(12);return document.cookie=kw+"="+t+";max-age=31536000;path=/",t};var Xw={get device(){return Xw.os.isPc?"pc":"mobile"},get browser(){var e=function(){var e=navigator.userAgent.toLowerCase(),t={},n={IE:window.ActiveXObject||"ActiveXObject"in window,Chrome:hR(e).call(e,"chrome")>-1&&hR(e).call(e,"safari")>-1,Firefox:hR(e).call(e,"firefox")>-1,Opera:hR(e).call(e,"opera")>-1,Safari:hR(e).call(e,"safari")>-1&&-1==hR(e).call(e,"chrome"),Edge:hR(e).call(e,"edge")>-1,QQBrowser:/qqbrowser/.test(e),WeixinBrowser:/MicroMessenger/i.test(e)};for(var r in n)if(n[r]){var i="";if("IE"===r)i=e.match(/(msie\s|trident.*rv:)([\w.]+)/)[2];else if("Chrome"===r){for(var o in navigator.mimeTypes)"application/360softmgrplugin"===navigator.mimeTypes[o].type&&(r="360");var a=e.match(/chrome\/([\d.]+)/);i=a?a[1]:"-1"}else if("Firefox"===r){var s=e.match(/firefox\/([\d.]+)/);i=s?s[1]:"-1"}else if("Opera"===r){var c=e.match(/opera\/([\d.]+)/);i=c?c[1]:"-1"}else if("Safari"===r){var l=e.match(/version\/([\d.]+)/);i=l?l[1]:"-1"}else if("Edge"===r){var u=e.match(/edge\/([\d.]+)/);i=u?u[1]:"-1"}else if("QQBrowser"===r){var d=e.match(/qqbrowser\/([\d.]+)/);i=d?d[1]:"-1"}t.type=r,t.versions=Y_(i)}return t}();return e.type+"_"+e.versions},get os(){var e=navigator.userAgent;navigator.platform.toLowerCase();var t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!o;return{isTablet:o,isPhone:a,isAndroid:r,isPc:!(a||r||n||o),isSymbian:n,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)/}],n=0;n<t.length;n++){var r=t[n];if(r.r.test(e))return r.s}return"unknown"}};function xw(){return vR()}function Hw(e){var t="unknown";return"string"!=typeof e?t:hR(e).call(e,".flv")>-1?"flv":hR(e).call(e,".m3u8")>-1?"m3u8":hR(e).call(e,".mp4")>-1?"mp4":hR(e).call(e,".sdp")>-1?"rts":t}function Cw(e){return"undefined"!=typeof MediaSource?+MediaSource.isTypeSupported("video/mp4; codecs="+e):0}function Ow(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 Lw={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},Uw=function(){function e(e){var t,n=e.Tea;if(!n)throw new Error("lack Tea option");n.event?this.Tea=D_(t=n.event).call(t,n):this.Tea=n;this.logOptions=e,this._player=e.player}Sw(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),this.core&&this.core.loader&&this.core.loader.finnalUrl?e.cdn_play_url=this.core.loader.finnalUrl:e.cdn_play_url=t&&hT(t).call(t,"//")?window.location.protocol+t:t,e.live_stream_session_id=function(e,t,n){var r=new Nb(e.split("?")[1]);return r.get(t)||r.get(n)}(e.cdn_play_url,"_session_id","session_id"),e.play_format=Hw(e.cdn_play_url),e.timestamp=xw();var n=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(s_e){}return e}(),r=n.cpu_core_number,i=n.memory_usage,o=n.network_downlink;e.cpu_core_number=r,e.memory_usage=i,e.network_downlink=o,e.muted=+this._player.muted,DT(e,zw({},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,zw({},e)))},e}(),Bw=function(){return void 0!==navigator.onLine?navigator.onLine?(e=navigator.connection)&&(e.effectiveType||e.type)||Xw.device:"none":"unknown";var e},Nw=["play","playing","pause","ended","seeking","seeked","timeupdate","waiting","canplay","canplaythrough","durationchange","ratechange","volumechange","loadeddata"],Vw=function(){function e(e){var t;this.options=e,this.logger=new jw(e),this.restart=D_(t=this.restart).call(t,this),this.bindUrlChange()}var t=e.prototype;return t.restart=function(e){this.destroy("string"!=typeof e&&Boolean(e)),this.logger=new jw(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=DT(this.options.ext||{},e),this.logger&&this.logger.updateExt(e)},t.sendLog=function(e){this.logger.sendLog(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}(),jw=function(){function e(e){if(!e.player)throw new Error("option player is necessary");this.options=DT({},e,function(e){return{device_id:e.device_id||Pw(),user_id:e.user_id||Iw(),error_report_stop:"boolean"!=typeof e.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?vR()-this.options.ntp:0,this.inWaitingStart=0,this.errorNumber=0,this.tempDroppedFrameCount=0,this.tempTotalFrameCount=0,this._logmanager=new Uw(this.options),this.init(),this.started=!1,this.destroyed=!1,this.completed=!1,this.firstFrameViewed=!1,this.cacheRtcStats={},this.cachePlaying={}}Sw(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 vR()-this.ntpDelta}}]);var t=e.prototype;return t.setNTP=function(e){this.options&&(this.options.ntp=e,this.ntpDelta=vR()-this.options.ntp)},t.init=function(){this.bindCtx(),this.initLog(),this.initEvt()},t.bindCtx=function(){var e,t,n,r,i,o,a,s,c,l,u,d,h,p,f,g;this.handlePlayerComlete=D_(e=this.handlePlayerComlete).call(e,this),this.handlePlayerPlaying=D_(t=this.handlePlayerPlaying).call(t,this),this.destroyFunc=D_(n=this.destroyFunc).call(n,this),this.handleUserLeave=D_(r=this.handleUserLeave).call(r,this),this.handlePlayerError=D_(i=this.handlePlayerError).call(i,this),this.handlePlayerReady=D_(o=this.handlePlayerReady).call(o,this),this.handlePlayerWaiting=D_(a=this.handlePlayerWaiting).call(a,this),this.handleAVUnsync=D_(s=this.handleAVUnsync).call(s,this),this.handlePlayerPause=D_(c=this.handlePlayerPause).call(c,this),this.handleTTFB=D_(l=this.handleTTFB).call(l,this),this.handleUrlChange=D_(u=this.handleUrlChange).call(u,this),this.handleKeyframe=D_(d=this.handleKeyframe).call(d,this),this.handleSourceOpen=D_(h=this.handleSourceOpen).call(h,this),this.handleBufferAppend=D_(p=this.handleBufferAppend).call(p,this),this.handleCoreEvent=D_(f=this.handleCoreEvent).call(f,this),this.handleDegrade=D_(g=this.handleDegrade).call(g,this)},t.initLog=function(){var e=this,t=this.options,n=t.player,r=void 0!==n.hlsOps;this.commonParams=zw({os:Xw.operation_os},function(e){var t,n=e.player,r=n.config.mediaType;return zw({project_key:e.project_key,live_sdk_version:Ow(n)||n.hlsOps?"2":"-1",player_sdk_version:n.version,logger_version:"1.1.0-alpha.18",product_line:e.product_line,user_id:e.user_id,device_id:e.device_id,logger_id:Fw(12),app_name:e.app_name,cdn_ip:e.cdn_ip,is_wasm:+(!!r&&"video"!==r),review_is_live:n.config.isLive?2:1,isSupportedH265:Cw("hev1.1.6.L93.B0,mp4a.40.2"),aid:e.aid,live_id:e.live_id||e.aid+"-"+e.user_id+"-"+vR(),is_preview:e.is_preview?1:0,codec_type:e.codec_type||"h264",width:Math.floor(n.config.width),height:Math.floor(n.config.height),browser:Xw.browser,ua:navigator.userAgent,href:window.location.href,timestamp:0,fps:-1,logger_init_time:vR(),play_current_time:0,cdn_play_url:n.config.url&&hT(t=n.config.url).call(t,"//")?window.location.protocol+n.config.url:n.config.url,play_format:Hw(n.config.url),codec_support:-1},e.ext)}(t)),this.log=DT({},{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:-1,drop_percent:-1,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"},rtc_network:{event_key:"rtc_network"}});var i=this;for(var o in this.log){var a=function(t){VG(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);r&&VG(this.log[o],"m3u8",{get:function(){if(n.__core__){var e=n.__core__.m3u8Text;return e?mG(e).call(e,0,25e4):""}return""},enumerable:!0}),VG(this.log[o],"volume",{get:function(){if(n&&n.video)return n.volume||0},enumerable:!0}),VG(this.log[o],"access",{get:function(){return Bw()},enumerable:!0})}},t.sendLog=function(e){for(var t in this.commonParams)void 0===e[t]&&(e[t]=this["_"+t]||this.commonParams[t]);this.logmanager.push(e)},t.updateExt=function(e){for(var t in this.log)for(var n in e)this.log[t][n]=e[n]},t.reportStartPlay=function(){this.started||(this.core=Ow(this.player),this.core&&(this.commonParams.live_sdk_version="2",this.logmanager.core=this.core),this.started=!0,this.log.start_play.start_play_time=this.log.start_play.timestamp=xw(),this.logmanager.push(this.log.start_play,!0))},t.initWindowListener=function(){"pc"===Xw.device?window.addEventListener("beforeunload",this.handleUserLeave):"mobile"===Xw.device&&(window.addEventListener("beforeunload",this.handleUserLeave),window.addEventListener("pagehide",this.handleUserLeave))},t.removeWindowListener=function(){"pc"===Xw.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===Xw.device&&(window.removeEventListener("beforeunload",this.handleUserLeave),window.removeEventListener("pagehide",this.handleUserLeave))},t.initEvt=function(){var e=this,t=this.player;qG(Nw).call(Nw,(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,n=e.headers,r=e.pts,i=e.type,o=e.meta,a=e.sei,s=e.decodeFps,c=e.url,l=e.state;switch(t){case"core.ttfb":this.handleTTFB(e);break;case"core.loadresponseheaders":var u=n.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(r);break;case"core.metadataparsed":this.handleMetaDataLoaded(i,o);break;case"core.sei":this.handleSEIParsed(a);break;case"core.lowdecode":this.commonParams.is_wasm&&(DT(this.log.play_low_decode,e||{}),this.log.play_low_decode.decode_fps=s,this.log.play_low_decode.timestamp=xw(),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(DT({url:c,state:l},this.log.rtcstatechange));break;case"core.rtcnetwork":this.logmanager.push(DT(e,this.log.rtc_network))}},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 n=this.player;n.start=function(){try{if(n._start)return n._start.apply(n,mG(Array.prototype).call(e,0))}catch(VO){}t.destroyed||t.handlePlayerComlete()}},t.handleTTFB=function(e){var t=e||{},n=t.end,r=t.elapsed,i=t.responseUrl,o=t.url;this.log.first_frame.ttfb=r||-1,this.log.first_frame.ttfb_end=n||0,this.log.first_frame.is_redirect=+(o!==i),this.log.play_result.is_redirect=this.log.first_frame.is_redirect},t.handleUrlChange=function(e){this.logmanager.push(DT(this.log.play_url_change,{url:e,timestamp:xw()}))},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=xw(),this.logmanager.push(this.log.source_opened)},t.handleBufferAppend=function(){this.log.source_updateend.timestamp=xw(),this.logmanager.push(this.log.source_updateend)},t.handlePlayerPause=function(){this.log.pause.timestamp=xw(),this.logmanager.push(this.log.pause,!0),this.stallEnd()},t.handlePlayerError=function(e){this.errorNumber=1;var t=e.errorType,n=e.errorCode;DT(this.log.play_error,zw({timestamp:xw(),code:e.httpCode||n||("parse"===t?31:21),info:e.message,detail:PT(e)},this.videoSize)),this.logmanager.push(this.log.play_error,!0),this.destroyed||(0===this.log.first_frame.first_frame_view&&(DT(this.log.first_frame_failed,{code:n||("parse"===t?31:21),msg:e.message}),void 0!==this.log.first_frame_failed.timestamp&&(this.log.first_frame_failed.timestamp=xw()),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))),this.options.error_report_stop?this.destroy(!0):this.updatePlayStopParams())},t.handlePlayerLoadStream=function(e){var t=e.url,n=e.offersdp,r=e.sessionId;if("string"==typeof t){var i=this.log.play_loadstream;i.timestamp=xw(),i.loadstream_url=t,i.offersdp=n,i.sessionId=r,this.logmanager.push(i)}},t.handlePlayerLoadedStream=function(e){var t=this.log.play_stream_loaded;t.timestamp=xw(),DT(t,e),this.logmanager.push(t)},t.handleSEIParsed=function(e){try{var t=this,n=t.log,r=n.playing,i=n.first_frame,o=function(){if(100===e.code){var n=function(e){var t,n,r,i,o,a;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>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[n++],t+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=e[n++],a=e[n++],t+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&a)<<0)}return t}(e.content);n=mG(n).call(n,hR(n).call(n,"{"),WT(n).call(n,"}")+1);var o=function(e,t){try{var n=e()}catch(VO){return t(VO)}return n&&n.then?n.then(void 0,t):n}((function(){var e=JSON.parse(n);return qT.resolve(t.getPlayerBuffer()).then((function(n){var o=n+t.ntpTime-e.ts;r.sei_delay=o,r.sei_source=e.source,r.ntp_sync=t.options.ntp?1:0,r.ntp_delta=t.ntp_delta,i.first_sei_delay=o,i.ntp_sync=t.options.ntp?1:0,i.ntp_delta=t.ntp_delta}))}),(function(){}));if(o&&o.then)return o.then((function(){}))}}();return qT.resolve(o&&o.then?o.then((function(){})):void 0)}catch(VO){return qT.reject(VO)}},t.handleMetaDataLoaded=function(e,t){this.log.play_stop.meta=this.log.play_stop.meta||{},e&&(this.log.play_stop.meta[e]=t),this.log.play_metadata_loaded.timestamp=xw(),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=Cw(t.codec))),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){DT(this.log.play_av_unsync,e||{}),this.log.play_av_unsync.timestamp=xw(),this.logmanager.push(this.log.play_av_unsync)},t.handleStreamException=function(e){this.logmanager.push(DT({},this.log.stream_exception,e))},t.handlePlayerComlete=function(){this.completed||(this.completed=!0,this.core=Ow(this.player),this.core&&(this.commonParams.live_sdk_version="2",this.logmanager.core=this.core),(this.player.config.autoplay||this.player.config.videoInit)&&this.reportStartPlay())},t.getPlayerBuffer=function(){try{var e=this;return qT.resolve(e.getRtcStats({onlyJb:!0})).then((function(t){if(void 0!==t.video_jb_delay)return t.video_jb_delay;var n=e.player.video.buffered;if(n){var r=Math.max(0,n.length-1);try{var i=fT(1e3*(n.end(r)-e.player.video.currentTime));return e.log.playing.audio_buffer_time=e.log.playing.video_buffer_time=i,i}catch(VO){return 0}}}))}catch(VO){return qT.reject(VO)}},t.getTransferCost=function(e){var t;if(!(null===(t=this.core)||void 0===t?void 0:t.transferCost))return{};if(e)return this.core.transferCost;var n=this.core.transferCost,r=n.demuxCost,i=n.remuxCost,o=n.appendCost,a={demuxCost:r-this.cachePlaying.demuxCost,remuxCost:i-this.cachePlaying.remuxCost,appendCost:o-this.cachePlaying.appendCost};return DT(this.cachePlaying,this.core.transferCost),a},t.getPlayerDownloadSpeed=function(){return this.core&&this.core.core&&"function"==typeof this.core.core.speedInfo&&this.core.core.speedInfo().speed||{}},t.getPlayerQuality=function(){var e=this.player.video;if(e)if(e.getVideoPlaybackQuality){var t=e.getVideoPlaybackQuality();this.log.playing.drop_count=t.droppedVideoFrames-this.tempDroppedFrameCount,this.log.playing.drop_percent=sw((t.droppedVideoFrames-this.tempDroppedFrameCount)/(t.totalVideoFrames-this.tempTotalFrameCount)).toFixed(1),this.log.play_stop.drop_percent=sw(t.droppedVideoFrames/t.totalVideoFrames).toFixed(1),this.tempDroppedFrameCount=t.droppedVideoFrames,this.tempTotalFrameCount=t.totalVideoFrames}else if(null!=e.webkitDroppedFrameCount){var n=e.webkitDroppedFrameCount;this.log.playing.drop_count=n-this.tempDroppedFrameCount,this.tempDroppedFrameCount=n}},t.getRtcStats=function(e){var t=e.duration,n=void 0===t?1e3:t,r=e.onlyJb,i=void 0!==r&&r;try{var o=this,a=o.player.plugins.rts||o.player.plugins.rtm,s=a&&a.pc,c={};return s?qT.resolve(s.getStats()).then((function(e){return qG(e).call(e,(function(e){var t=e.type,r=e.mediaType,a=e.bytesReceived,s=e.packetsReceived,l=e.audioLevel,u=e.concealmentEvents,d=e.remoteTimestamp,h=e.timestamp,p=e.framesDropped,f=e.keyFramesDecoded,g=e.totalDecodeTime,v=e.framesDecoded,m=e.frameHeight,y=e.frameWidth,_=e.framesReceived,G=e.jitterBufferDelay,R=e.jitterBufferEmittedCount,b=e.jitter,T=e.nackCount,w=e.packetsLost,S=e.pliCount,M=e.totalSamplesReceived,E=e.concealedSamples,z=e.currentRoundTripTime,D=e.decoderImplementation,k=e.mimeType,A=e.freezeCount,F=e.totalFreezesDuration,P=e.totalPausesDuration;switch(t){case"inbound-rtp":if("audio"===r)c.audio_bytes_received=a-(o.cacheRtcStats.audioBytesReceived||0),o.cacheRtcStats.audioBytesReceived=a,c.audio_packets_lost=w-(o.cacheRtcStats.audioPacketsLost||0),c.audio_packets_received=s-(o.cacheRtcStats.audioPacketsReceived||0),o.cacheRtcStats.audioPacketsLost=w,o.cacheRtcStats.audioPacketsReceived=s,c.audio_level=l,c.concealment_event=u,c.audio_fraction_lost=c.audio_packets_lost/c.audio_packets_received,void 0!==o.cacheRtcStats.totalSamplesReceived&&(c.audio_rec_sample_rate=(M-o.cacheRtcStats.totalSamplesReceived)/n),o.cacheRtcStats.totalSamplesReceived=M,c.concealed_samples=E,c.total_samples_received=M;else{if(c.video_jb_delay=G/R*1e3,i)return c;c.frames_dropped=p,c.iframes_decoded=f,c.video_bytes_received=a-(o.cacheRtcStats.videoBytesReceived||0),o.cacheRtcStats.videoBytesReceived=a,c.video_dec_time=g,c.video_decoded_delay_ms=c.video_dec_elapse/v,c.video_frame_height=m,c.video_frame_width=y,void 0!==o.cacheRtcStats.framesDecoded&&(c.video_decode_framerate=(v-o.cacheRtcStats.framesDecoded)/n),o.cacheRtcStats.framesDecoded=v,void 0!==o.cacheRtcStats.framesReceived&&(c.video_recv_framerate=(_-o.cacheRtcStats.framesReceived)/n),void 0!==o.cacheRtcStats.freezeCount&&(c.freeze_count=A-o.cacheRtcStats.freezeCount,c.freeze_duration=F-o.cacheRtcStats.totalFreezesDuration),o.cacheRtcStats.freezeCount=A,o.cacheRtcStats.totalFreezesDuration=F,o.cacheRtcStats.framesReceived=_,c.total_pauses_duration=P,c.video_jitter=1e3*b,c.video_nack_count=T,c.video_packets_lost=w-(o.cacheRtcStats.videoPacketsLost||0),c.video_packets_received=s-(o.cacheRtcStats.videoPacketsReceived||0),c.video_fraction_lost=c.video_packets_lost/c.video_packets_received,o.cacheRtcStats.videoPacketsLost=w,o.cacheRtcStats.videoPacketsReceived=s,c.video_pli_count=S,c.decoder_name=D}break;case"remote-outbound-rtp":c.e2e_delay_ms=h-d;break;case"track":void 0!==y&&(c.video_frame_width=y,c.video_frame_height=m);break;case"candidate-pair":c.rtt=1e3*z;break;case"codec":bw(k).call(k,"video")?c.video_codec=k:c.audio_codec=r}})),DT(o.log.playing,{video_download_size:c.video_bytes_received,decode_fps:c.video_decode_framerate,width:c.video_frame_width,height:c.video_frame_height,current_speed:(c.audio_bytes_received+c.video_bytes_received)/n}),c})):qT.resolve(c)}catch(VO){return qT.reject(VO)}},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 n,r=t.log.playing.timestamp;t.inWaitingStart&&t.inWaitingStart<xw()&&(n=Math.min(t.options.playingInterval||t.log.playing.play_time,xw()-Math.max(t.inWaitingStart,r))),t.getPlayerQuality(),t.getPlayerBuffer();var i=t.getTransferCost(!1);if(!t.options.downloadSpeedInterval){var o=t.getPlayerDownloadSpeed(),a=o.speed,s=o.avgSpeed;t.log.playing.current_speed=a,t.log.playing.avg_speed=s}var c=xw(),l=c-r,u=(n>200?n:0)+t.log.playing.stall_time,d=(n>200?1:0)+t.log.playing.stall_count;return t.options.aggregationDowngradeStallTime&&(t.log.playing.aggregation_downgrade_stall=(n>t.options.aggregationDowngradeStallTime?n:0)+(t.log.playing.aggregation_downgrade_stall||0)),DT(t.log.playing,zw(zw({timestamp:c,stop_time:c,duration:e?0:l/1e3,stall_time_per_100sec:u/l*100,stall_count_per_100sec:1e3*d/l*100,stall_count:d,stall_time:u,play_current_time:t.player.currentTime},i),t.videoSize)),qT.resolve(t.getRtcStats({duration:l,first:e,onlyJb:!1})).then((function(n){var r={};if(t.core){if(t.core.getStats){var i=t.core.getStats()||{},o=i.bitrate,a=i.avgSpeed;DT(r,{bitrate:o,avg_speed:a,rate:a/o})}if(t.core.getNetWorkInfo){var s,c=(t.core.getNetWorkInfo()||{}).lostRate,u=((null===(s=t.core.core)||void 0===s?void 0:s._opts)||{}).networkEvaluateInterval;DT(r,{lostRate:c,networkEvaluateInterval:u})}}t.logmanager.push(DT({},t.log.playing,zw(zw({play_time:e?0:l},n),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(VO){return qT.reject(VO)}},t.handlePlayerPlaying=function(){try{var e=this;if(e.player&&e.player.video.readyState<3)return qT.resolve();if(e.player.off("playing",e.handlePlayerPlaying),e.player.off("timeupdate",e.handlePlayerPlaying),!e.player.video)return e.destroyFunc(),qT.resolve();if(e.player.paused)return e.handleVideopause(),qT.resolve();if(e.core&&e.core.getStats){var t=(e.core.getStats()||{}).fps;e.commonParams.fps=t}return qT.resolve(e.reportPlaying(!0)).then((function(){e.clearPlayingInterval();var t=e.options.playingInterval||e.log.playing.play_time;e.intervalId=Tw((function(){try{var n=function(){if(Math.abs(vR()-e.log.playing.timestamp-t)<100||vR()-e.log.playing.timestamp>=t){var n=function(){if(e.player&&e.player.video){var t=function(){if(!e.player.paused)return qT.resolve(e.reportPlaying()).then((function(){}));e.handleVideopause()}();if(t&&t.then)return t.then((function(){}))}else e.destroyFunc()}();if(n&&n.then)return n.then((function(){}))}}();return qT.resolve(n&&n.then?n.then((function(){})):void 0)}catch(VO){return qT.reject(VO)}}),1e3),e.clearStallTimer(),e.handleVideoplaying(),e.started||e.reportStartPlay(),e.saveBuffered()}))}catch(VO){return qT.reject(VO)}},t.handlePlayerReady=function(){var e=this;this.log.start_play.start_play_time=xw(),this.player.config.autoplay&&this.reportStartPlay(),this.options.playResultThreshold&&(this.log.play_result.threshold=this.options.playResultThreshold),this.clearPlayResultTimer(),this.log.play_result.start=xw(),this.playResultTimer=vG((function(){e.log.play_result.timestamp>=e.log.play_result.start||e.player&&!e.player.paused&&e.player.video&&(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;if(!this.inWaitingStart&&this.log.first_frame.timestamp){this.log.stall.timestamp=this.inWaitingStart=this.log.stall.stall_start=xw(),this.log.stall_start.ready_state=this.log.stall.ready_state=this.player.video.readyState,this.log.stall_start.timestamp=xw(),this.log.stall_start.stall_start_time=xw(),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;var t=this.getPlayerDownloadSpeed(),n=t.speed,r=t.avgSpeed;this.log.stall.current_speed=n,this.log.stall.avg_speed=r,DT(this.log.stall_start,this.videoSize),this.clearStallTimer(),this.stallStartTimer=vG((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=xw();this.reportStartPlay(),this.log.first_frame.start=e},t.stallEnd=function(){this.clearStallTimer();var e=xw();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=xw(),this.log.playing.stall_count++,DT(this.log.stall,zw({},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(),DT(this.log.playing,{is_last:1}),this.reportPlaying()},t.handleVideoerror=function(){var e=this;this.errorNumber=1;var t=this.player.video.error;DT(this.log.play_error,zw(zw({timestamp:xw()},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=Lw[t.code],void 0!==e.log.first_frame_failed.timestamp&&(e.log.first_frame_failed.timestamp=xw()),e.logmanager.push(e.log.first_frame_failed,!0),e.log.play_result.is_threshold||(e.log.play_result.reason=Lw[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"===Xw.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===Xw.device&&window.removeEventListener("pagehide",this.handleUserLeave),qG(Nw).call(Nw,(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(){try{var e=this;return e.destroyed||!e.started?qT.resolve():(e.destroyed=!0,qT.resolve(e.updatePlayStopParams()).then((function(){e.reportPlayStop(),e.clearPlayingInterval(),e.clearStallTimer(),clearTimeout(e.collectDownloadSpeedTimer),e.removeWindowListener()})))}catch(VO){return qT.reject(VO)}},t.saveBuffered=function(){try{var e=this.getBuffered();e&&e.length&&(this.log.play_stop.buffered=e)}catch(s_e){}},t.getBuffered=function(){try{for(var e=[],t=this.player.video,n=0;n<t.buffered.length;n++)e.push([t.buffered.start(n),t.buffered.end(n)]);return e}catch(s_e){}},t.reportPlayStop=function(){this.player&&(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)},t.reportFirstframe=function(){if(!this.firstFrameViewed){if(this.core&&this.core.getStats){var e=(this.core.getStats()||{}).fps;this.commonParams.fps=e}var t=this.getTransferCost(!0);this.firstFrameViewed=!0;var n=xw();DT(this.log.first_frame,zw(zw({first_frame_view:n-this.log.start_play.start_play_time||n,timestamp:n},t),this.videoSize)),this.log.first_frame.ttfb_end&&(this.log.first_frame.ttdb=n-this.log.first_frame.ttfb_end),this.logmanager.push(this.log.first_frame),this.clearPlayResultTimer(),this.log.play_result.result=1,this.logmanager.push(this.log.play_result),this.log.play_stop.is_stream_received=1}},t.updatePlayStopParams=function(){try{var e,t=function(){DT(o,zw({timestamp:i,stop_time:i,duration:n.playedTime/1e3,play_time:n.playedTime/1e3},n.videoSize)),0===n.errorNumber&&(o.play_time_on_no_frame=o.stop_time-n.log.start_play.start_play_time)},n=this,r=function(e){var t,n=QG(t=performance.getEntriesByType("resource")).call(t,(function(t){return t.name===e}));if(n.length){var r=n[0],i=n[n.length-1];return{dns_parse_time:fT(r.domainLookupEnd-r.domainLookupStart),redirect:fT(r.redirectEnd-r.redirectStart),ttfb:fT(i.responseStart-i.requestStart)}}return{dns_parse_time:-1,redirect:-1,ttfb:-1}}(n._url),i=xw();n.playedTime=i-n.log.start_play.start_play_time;var o=n.log.play_stop;if(DT(o,zw({},0===o.stall_count&&{stall_time:0})),n.inWaitingStart&&i-n.inWaitingStart>200&&(o.stall_time+=i-n.inWaitingStart),n.inWaitingStart=0,DT(o,zw({stall_time_per_100sec:o.stall_time/n.playedTime*100,stall_count_per_100sec:1e3*o.stall_count/n.playedTime*100},r)),0===n.log.play_stop.stall_count_per_100sec&&(n.log.play_stop.stall_time_per_100sec=0),n.log.play_stop.stall_time_per_100sec>100||n.log.play_stop.stall_time_per_100sec<0)return qT.resolve();if(n.log.playing.index?(DT(n.log.playing,{is_last:1}),n.reportPlaying()):(n.log.play_stop.error_code=n.log.play_error.code,n.log.play_stop.error_info=n.log.play_error.info),i=xw(),null===(e=n.core)||void 0===e?void 0:e.getStats){var a=n.core.getStats()||{},s=a.totalReceivedByte,c=a.totalReceivedCost;DT(n.log.play_stop,{totalReceivedByte:s,totalReceivedCost:c,totalAverageSpeed:8*s/(c/1e3)})}var l=function(){var e;if(null===(e=n.core)||void 0===e?void 0:e.getStatsSnapshoot)return qT.resolve(n.core.getStatsSnapshoot()).then((function(e){var t=e.video||{},n=t.packetsLost,r=t.packetsReceived;DT(o,{packetsLost:n,packetsReceived:r,totalLostRate:n/(n+r)})}))}();return qT.resolve(l&&l.then?l.then(t):t())}catch(VO){return qT.reject(VO)}},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}(),Kw=function(e){Dy(n,e);var t=Ky(n);function n(){var e,r;Zm(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Yd(Jm(r=t.call.apply(t,b_(e=[this]).call(e,o))),"_liveLogger",void 0),r}return Ym(n,[{key:"afterCreate",value:function(){this.player.config.teaTracker&&this.open()}},{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(){var e;this._liveLogger||(this._start(),this.config.showUserIdInErrorPanel&&this.player.plugins.error&&(this.player.plugins.error.config.extraTips=[{label:"userId",value:null===(e=this.player.config.teaTracker)||void 0===e||null===(e=e.tea)||void 0===e?void 0:e.getConfig("user_unique_id")}]))}},{key:"_start",value:function(){var e,t,n;this._liveLogger=new Vw({Tea:null===(e=this.player.config)||void 0===e||null===(e=e.teaTracker)||void 0===e?void 0:e.tea,player:this.player,aid:this.config.appId||654925,project_key:this.config.appId,app_name:this.config.appName||this.config.appId,user_id:null===(t=this.player.config)||void 0===t||null===(t=t.teaTracker)||void 0===t?void 0:t.userId,device_id:null===(n=this.player.config)||void 0===n||null===(n=n.teaTracker)||void 0===n?void 0:n.deviceId,error_report_stop:!0,ext:{veplayer_version:"2.3.1-rc.1",flv_version:"3.0.21-rc.21",hls_version:"3.0.21-rc.21",rts_version:"0.2.1-alpha.30"}})}}],[{key:"pluginName",get:function(){return"logger"}},{key:"defaultConfig",get:function(){return{appId:654925,enable:!0,showUserIdInErrorPanel:!0}}}]),n}(window.VePlayer.Plugin);function Qw(e,t){return"number"!=typeof e?"-":t?t(e):e.toString()}var Ww,qw=window.VePlayer.util,Zw=window.VePlayer.Plugin,$w=window.VePlayer.XGUtil,Yw=function(e){Dy(n,e);var t=Ky(n);function n(){var e,r;Zm(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Yd(Jm(r=t.call.apply(t,b_(e=[this]).call(e,o))),"_pollTimer",void 0),Yd(Jm(r),"_visible",void 0),Yd(Jm(r),"_playPlugin",void 0),r}return Ym(n,[{key:"_streamType",get:function(){return qw.getStreamType(this.player.config.url)}},{key:"afterCreate",value:function(){var e=this;this._playPlugin=this.player.plugins[this._streamType],this.player.on(HG.ERROR,(function(){return e.close()})),this.config.visible&&this.player.once(HG.LOADED_DATA,(function(){return e.open()}))}},{key:"open",value:function(){var e;this._visible||(bw(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(HG.LOADED_DATA,(function(){return e.open()})),this.player.off(HG.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=vG((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,n,r,i,o=this._getStats()||{},a="".concat(this._streamType,"_live"),s=this._playPlugin.softDecode,c=[(e=eh(eh({},o),{},{format:a}),{rows:[{key:"format",labelTextKey:"FORMAT",value:null!==(t=null==e?void 0:e.format)&&void 0!==t?t:"-"},{key:"fps",labelTextKey:"FPS",value:Qw(e.fps,(function(e){return"".concat(e," fps")}))},{key:"bitrate",labelTextKey:"BITRATE",value:Qw(e.bitrate,(function(e){return"".concat((e/1e3).toFixed(2)," kbps")}))},{key:"gop",labelTextKey:"GOP",value:Qw(e.gop,(function(e){return"".concat(e," frames")}))},{key:"resolution",labelTextKey:"RESOLUTION",value:b_(n="".concat(Qw(e.width)," * ")).call(n,Qw(e.height))},{key:"encodeType",labelTextKey:"ENCODE_TYPE",value:null!==(r=e.encodeType)&&void 0!==r?r:"-"},{key:"bufferEnd",labelTextKey:"BUFFER_END",value:Qw(Number(null===(i=e.bufferEnd)||void 0===i?void 0:i.toFixed(2)))},{key:"currentTime",labelTextKey:"CURRENT_TIME",value:Qw(e.currentTime,(function(e){return e.toFixed(4)+"s"}))}]})];return s&&c.push(function(e){return{titleTextKey:"DECODE_INFO",rows:[{key:"decodeEfficiency",labelTextKey:"DECODE_EFFICIENCY",value:Qw(e.decodeFps,(function(e){return e+" frames/s"}))},{key:"decodeCost",labelTextKey:"DECODE_COST",value:Qw(e.decodeFps,(function(e){return(e?(1e3/e).toFixed():0)+"ms"}))}]}}(o)),c}},{key:"_renderPanel",value:function(){var e=this,t=this._getPanelData(),n=this.root;n&&(n.innerHTML="",qG(t).call(t,(function(t){e._renderGroup(n,t)})))}},{key:"_renderGroup",value:function(e,t){var n=this,r=t.title,i=t.titleTextKey,o=t.rows,a=this.player.config.i18nManager;if(r||i){var s,c=this._genTitleDom(null!==(s=a.getText(i))&&void 0!==s?s:r);e.appendChild(c)}qG(o).call(o,(function(t){var r=n._genRowDom(t);e.appendChild(r)}))}},{key:"_genTitleDom",value:function(e){var t=$w.createDom("xg-live-panel","",void 0,"veplayer-live-panel-row"),n=$w.createDom("xg-live-panel",e,void 0,"veplayer-live-panel-row-title");return t.appendChild(n),t}},{key:"_genRowDom",value:function(e){var t=this.player.config.i18nManager,n=$w.createDom("veplayer-live-panel-row","",void 0,"veplayer-live-panel-row"),r=$w.createDom("xg-live-panel",t.getText(e.labelTextKey),void 0,"veplayer-live-panel-row-label");n.appendChild(r);var i=$w.createDom("xg-live-panel",e.value);return n.appendChild(i),n}}],[{key:"pluginName",get:function(){return"infoPanel"}},{key:"defaultConfig",get:function(){return{visible:!1,interval:500}}}]),n}(Zw),Jw="https://www.volcengine.com/docs/6469/138655#日志上报",eS=eh(eh({},window.VePlayer.EN),{},{INVALID_PARAMETER:"The imported parameter is empty, please pass in necessary parameters such as the stream address",INVALID_LOGGER:"Log options not configured correctly. Please refer to this document ".concat(Jw," to configure the logs."),EMPTY_RTM_FALLBACK_PARAMETER:"Fallback URL for RTM is not configured. Please set enableFallback: false to disable fallback, or configure fallbackUrl for FLV and HLS formats based on the browser environment.",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"}),tS=eh(eh({},window.VePlayer.ZH_CN),{},{INVALID_PARAMETER:"入参为空,请传入流地址等必要参数",INVALID_LOGGER:"未正确配置质量日志参数, 请参考 ".concat(Jw," 配置"),EMPTY_RTM_FALLBACK_PARAMETER:"未配置 RTM 降级地址 fallbackUrl,请设置 enableFallback: false 取消降级或根据浏览器环境配置 FLV、HLS 格式降级地址",FORMAT:"格式",FPS:"帧率",BITRATE:"码率",GOP:"GOP",RESOLUTION:"视频分辨率",ENCODE_TYPE:"编码方式",BUFFER_END:"Buffer 水位",CURRENT_TIME:"播放进度",DECODE_EFFICIENCY:"解码效率",DECODE_COST:"解码消耗",DECODE_INFO:"软解信息",REFRESH:"刷新"}),nS=new Uint8Array(16);function rS(){var e;if(!Ww&&!(Ww="undefined"!=typeof crypto&&crypto.getRandomValues&&D_(e=crypto.getRandomValues).call(e,crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ww(nS)}for(var iS,oS=[],aS=0;aS<256;++aS){var sS;oS.push(mG(sS=(aS+256).toString(16)).call(sS,1))}var cS={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&D_(iS=crypto.randomUUID).call(iS,crypto)};function lS(e,t,n){if(cS.randomUUID&&!t&&!e)return cS.randomUUID();var r=(e=e||{}).random||(e.rng||rS)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return oS[e[t+0]]+oS[e[t+1]]+oS[e[t+2]]+oS[e[t+3]]+"-"+oS[e[t+4]]+oS[e[t+5]]+"-"+oS[e[t+6]]+oS[e[t+7]]+"-"+oS[e[t+8]]+oS[e[t+9]]+"-"+oS[e[t+10]]+oS[e[t+11]]+oS[e[t+12]]+oS[e[t+13]]+oS[e[t+14]]+oS[e[t+15]]}(r)}var uS=n(Qy),dS=window.VePlayer.util,hS="veplayer_live_device_id",pS="veplayer_live_user_id",fS=function(e){return Math.floor((9*Math.random()+1)*Math.pow(10,e-1)).toString()},gS=function(e){var t=dS.getUrlObject(e);return t?null!=t&&t.searchParams.get("_session_id")?e:dS.appendSearchParams(e,{_session_id:vS()}):null!=e?e:""},vS=function(){return lS().replace(/-/g,"")+"."+vR()+"."+function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t}(lS().replace(/-/g,""))},mS=Oo.some;Dn({target:"Array",proto:!0,forced:!nu("some")},{some:function(e){return mS(this,e,arguments.length>1?arguments[1]:void 0)}});var yS=Zs("Array").some,_S=se,GS=yS,RS=Array.prototype,bS=n((function(e){var t=e.some;return e===RS||_S(RS,e)&&t===RS.some?GS:t})),TS=Oo.map;Dn({target:"Array",proto:!0,forced:!Qs("map")},{map:function(e){return TS(this,e,arguments.length>1?arguments[1]:void 0)}});var wS=Zs("Array").map,SS=se,MS=wS,ES=Array.prototype,zS=n((function(e){var t=e.map;return e===ES||SS(ES,e)&&t===ES.map?MS:t})),DS={"biz:vod":"veplayer.biz.vod.[env].[ext]","biz:live":"veplayer.biz.live.[env].[ext]","plugin:flv":"veplayer.plugin.flv.[env].[ext]","plugin:mp4":"veplayer.plugin.mp4.[env].[ext]","plugin:hls":"veplayer.plugin.hls.[env].[ext]","plugin:hlsjs":"veplayer.plugin.hlsjs.[env].[ext]","plugin:shaka":"veplayer.plugin.shaka.[env].[ext]","plugin:rtm":"veplayer.plugin.rtm.[env].[ext]","plugin:xgvideo":"veplayer.plugin.xgvideo.[env].[ext]","plugin:drm":"veplayer.plugin.drm.[env].[ext]","plugin:abr":"veplayer.plugin.abr.[env].[ext]","strategy:base":"veplayer.strategy.base.[env].[ext]","strategy:rtmAdaptiveBuffer":"veplayer.strategy.rtm.adaptive.buffer.[env].[ext]"},kS=function(e){return e.BizVod="biz:vod",e.BizLive="biz:live",e.PluginFlv="plugin:flv",e.PluginMp4="plugin:mp4",e.PluginHls="plugin:hls",e.PluginHlsJs="plugin:hlsjs",e.PluginShaka="plugin:shaka",e.PluginRtm="plugin:rtm",e.PluginXgvideo="plugin:xgvideo",e.PluginDrm="plugin:drm",e.PluginAbr="plugin:abr",e.StrategyBase="strategy:base",e.StrategyRtmAdaptiveBuffer="strategy:rtmAdaptiveBuffer",e}(kS||{}),AS=function(){function e(t){var n=this;Zm(this,e),Yd(this,"modules",{}),Yd(this,"mountPromiseMap",{}),Yd(this,"_baseUrl",void 0),Yd(this,"_moduleSystem",void 0),Yd(this,"load",function(){var e=qm(Qm().mark((function e(t,r){var i,o,a,s,c;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n._moduleSystem){e.next=2;break}throw new Error('You have to specify moduleSystem first, call "setModuleSystem(moduleSystem)" to set module system');case 2:if(DS[t]){e.next=4;break}throw new Error('Invalid module name: "'.concat(t,'"'));case 4:if("esm"!==n._moduleSystem){e.next=11;break}if(n.modules[t]){e.next=9;break}throw new Error('Dynamic module "'.concat(t,'" not found, you have to register it first under ESM'));case 9:return o=n.modules[t].exports,e.abrupt("return",null!==(i=o.default)&&void 0!==i?i:o);case 11:if(!n.modules[t]){e.next=21;break}if(1!==n.modules[t].state){e.next=16;break}return e.abrupt("return",n.modules[t].exports);case 16:if(0!==n.modules[t].state){e.next=20;break}return e.abrupt("return",n.mountPromiseMap[t].then((function(e){var t;return null!==(t=e.default)&&void 0!==t?t:e})));case 20:throw null!==(a=n.modules[t].error)&&void 0!==a?a:new Error('Dynamic module "'.concat(t,'" load failed.'));case 21:return s=[n._baseUrl,DS[t]].join("/").replace("[env]","production").replace("[ext]","js"),c={src:null!=r?r:s,name:t,state:0,exports:{__PLUGIN_NAME__:t}},n.modules[t]=c,n.mountPromiseMap[t]=n._mount(c),e.abrupt("return",n.mountPromiseMap[t]);case 26:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),Yd(this,"registerPlugin",(function(e,t){if(!n._moduleSystem)throw new Error("You have to specify moduleSystem first, call setModuleSystem(moduleSystem) to set module system");return"esm"===n._moduleSystem?(n.modules[e]={src:"esm:".concat(e),name:e,state:1,exports:t},n.modules[e].exports):(n.modules[e]?n.modules[e].exports=t:n.modules[e]={src:"umd:".concat(e),name:e,state:1,exports:t},n.modules[e].exports)})),Yd(this,"register",(function(e){return zS(e).call(e,(function(e){return n.registerPlugin(e.__PLUGIN_NAME__,e)}))})),this._baseUrl=t.baseUrl}return Ym(e,[{key:"baseUrl",get:function(){return this._baseUrl}},{key:"moduleSystem",get:function(){return this._moduleSystem}},{key:"setModuleSystem",value:function(e){this._moduleSystem=e}},{key:"setBaseUrl",value:function(e){this._baseUrl=e}},{key:"_mount",value:function(e){var t=this.modules;return new qT((function(n,r){var i=document.createElement("script");i.src=e.src,i.onload=function(){e.state=1,n(t[e.name].exports),i.onload=null},i.onerror=function(t){e.state=2,e.error=t,r(t),i.onerror=null},document.body.appendChild(i)}))}}]),e}(),FS=Dn,PS=Oo.find,IS="find",XS=!0;IS in[]&&Array(1)[IS]((function(){XS=!1})),FS({target:"Array",proto:!0,forced:XS},{find:function(e){return PS(this,e,arguments.length>1?arguments[1]:void 0)}});var xS=Zs("Array").find,HS=se,CS=xS,OS=Array.prototype,LS=n((function(e){var t=e.find;return e===OS||HS(OS,e)&&t===OS.find?CS:t})),US=Ee,BS=TypeError,NS=function(e,t){if(!delete e[t])throw BS("Cannot delete property "+US(t)+" of "+US(e))},VS=Dn,jS=qe,KS=Cn,QS=In,WS=Nn,qS=mc,ZS=_c,$S=Ao,YS=ti,JS=NS,eM=Qs("splice"),tM=Math.max,nM=Math.min;VS({target:"Array",proto:!0,forced:!eM},{splice:function(e,t){var n,r,i,o,a,s,c=jS(this),l=WS(c),u=KS(e,l),d=arguments.length;for(0===d?n=r=0:1===d?(n=0,r=l-u):(n=d-2,r=nM(tM(QS(t),0),l-u)),ZS(l+n-r),i=$S(c,r),o=0;o<r;o++)(a=u+o)in c&&YS(i,o,c[a]);if(i.length=r,n<r){for(o=u;o<l-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:JS(c,s);for(o=l;o>l-r+n;o--)JS(c,o-1)}else if(n>r)for(o=l-r;o>u;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:JS(c,s);for(o=0;o<n;o++)c[o+u]=arguments[o+2];return qS(c,l-r+n),i}});var rM=Zs("Array").splice,iM=se,oM=rM,aM=Array.prototype,sM=n((function(e){var t=e.splice;return e===aM||iM(aM,e)&&t===aM.splice?oM:t})),cM=Zs("Array").keys,lM=yr,uM=Ye,dM=se,hM=cM,pM=Array.prototype,fM={DOMTokenList:!0,NodeList:!0},gM=n((function(e){var t=e.keys;return e===pM||dM(pM,e)&&t===pM.keys||uM(fM,lM(e))?hM:t})),vM=n(nh),mM=n(lh),yM=n(sh),_M=n(Zy),GM=n(p_),RM=n(qd);function bM(e,t){var n=jG(e);if(KG){var r=KG(e);t&&(r=QG(r).call(r,(function(t){return WG(e,t).enumerable}))),n.push.apply(n,r)}return n}function TM(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?qG(n=bM(Object(i),!0)).call(n,(function(t){zM(e,t,i[t])})):ZG?$G(e,ZG(i)):qG(r=bM(Object(i))).call(r,(function(t){VG(e,t,WG(i,t))}))}return e}function wM(e){return(wM="function"==typeof YG&&"symbol"==typeof JG?function(e){return typeof e}:function(e){return e&&"function"==typeof YG&&e.constructor===YG&&e!==YG.prototype?"symbol":typeof e})(e)}function SM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),VG(e,AM(r.key),r)}}function EM(e,t,n){return t&&MM(e.prototype,t),n&&MM(e,n),VG(e,"prototype",{writable:!1}),e}function zM(e,t,n){return(t=AM(t))in e?VG(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DM(e){return function(e){if(uS(e))return kM(e)}(e)||function(e){if(void 0!==YG&&null!=_M(e)||null!=e["@@iterator"])return GM(e)}(e)||function(e,t){var n;if(!e)return;if("string"==typeof e)return kM(e,t);var r=mG(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return GM(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kM(e,t)}(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.")}()}function kM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AM(e){var t=function(e,t){if("object"!==Wd(e)||null===e)return e;var n=e[RM];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Wd(t)?t:String(t)}var FM=In,PM=Rr,IM=W,XM=RangeError,xM=v,HM=Un,CM=Rr,OM=W,LM=xM((function(e){var t=PM(IM(this)),n="",r=FM(e);if(r<0||r==1/0)throw XM("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),UM=xM("".slice),BM=Math.ceil,NM=function(e){return function(t,n,r){var i,o,a=CM(OM(t)),s=HM(n),c=a.length,l=void 0===r?" ":CM(r);return s<=c||""==l?a:((o=LM(l,BM((i=s-c)/l.length))).length>i&&(o=UM(o,0,i)),e?a+o:o+a)}},VM={start:NM(!1),end:NM(!0)},jM=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(ce),KM=VM.start;Dn({target:"String",proto:!0,forced:jM},{padStart:function(e){return KM(this,e,arguments.length>1?arguments[1]:void 0)}});var QM=Zs("String").padStart,WM=se,qM=QM,ZM=String.prototype,$M=n((function(e){var t=e.padStart;return"string"==typeof e||e===ZM||WM(ZM,e)&&t===ZM.padStart?qM:t})),YM=Oo.every;Dn({target:"Array",proto:!0,forced:!nu("every")},{every:function(e){return YM(this,e,arguments.length>1?arguments[1]:void 0)}});var JM=Zs("Array").every,eE=se,tE=JM,nE=Array.prototype,rE=n((function(e){var t=e.every;return e===nE||eE(nE,e)&&t===nE.every?tE:t}));Dn({global:!0,forced:parseFloat!=ow},{parseFloat:ow});var iE=n(te.parseFloat),oE=Cc.PROPER,aE=o,sE=k_,cE=C_.trim;Dn({target:"String",proto:!0,forced:function(e){return aE((function(){return!!sE[e]()||"​…᠎"!=="​…᠎"[e]()||oE&&sE[e].name!==e}))}("trim")},{trim:function(){return cE(this)}});var lE=Zs("String").trim,uE=se,dE=lE,hE=String.prototype,pE=n((function(e){var t=e.trim;return"string"==typeof e||e===hE||uE(hE,e)&&t===hE.trim?dE:t})),fE=ce.match(/firefox\/(\d+)/i),gE=!!fE&&+fE[1],vE=/MSIE|Trident/.test(ce),mE=ce.match(/AppleWebKit\/(\d+)\./),yE=!!mE&&+mE[1],_E=Dn,GE=v,RE=Ae,bE=qe,TE=Nn,wE=NS,SE=Rr,ME=o,EE=ER,zE=nu,DE=gE,kE=vE,AE=ge,FE=yE,PE=[],IE=GE(PE.sort),XE=GE(PE.push),xE=ME((function(){PE.sort(void 0)})),HE=ME((function(){PE.sort(null)})),CE=zE("sort"),OE=!ME((function(){if(AE)return AE<70;if(!(DE&&DE>3)){if(kE)return!0;if(FE)return FE<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)PE.push({k:t+r,v:n})}for(PE.sort((function(e,t){return t.v-e.v})),r=0;r<PE.length;r++)t=PE[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));_E({target:"Array",proto:!0,forced:xE||!HE||!CE||!OE},{sort:function(e){void 0!==e&&RE(e);var t=bE(this);if(OE)return void 0===e?IE(t):IE(t,e);var n,r,i=[],o=TE(t);for(r=0;r<o;r++)r in t&&XE(i,t[r]);for(EE(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:SE(t)>SE(n)?1:-1}}(e)),n=TE(i),r=0;r<n;)t[r]=i[r++];for(;r<o;)wE(t,r++);return t}});var LE,UE=Zs("Array").sort,BE=se,NE=UE,VE=Array.prototype,jE=n((function(e){var t=e.sort;return e===VE||BE(VE,e)&&t===VE.sort?NE:t})),KE="undefined"!=typeof window&&window.location&&hR(LE=window.location.href).call(LE,"xgplayerdebugger=1")>-1,QE="color: #525252; background-color: #90ee90;",WE="color: #525252; background-color: red;",qE="color: #525252; background-color: yellow; ",ZE="%c[xgplayer]",$E={config:{debug:KE?3:0},logInfo:function(e){for(var t,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];this.config.debug>=3&&(n=console).log.apply(n,b_(t=[ZE,QE,e]).call(t,i))},logWarn:function(e){for(var t,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];this.config.debug>=1&&(n=console).warn.apply(n,b_(t=[ZE,qE,e]).call(t,i))},logError:function(e){var t,n;if(!(this.config.debug<1)){for(var r=this.config.debug>=2?"trace":"error",i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];(n=console)[r].apply(n,b_(t=[ZE,WE,e]).call(t,o))}}},YE=function(){function e(t){SM(this,e),this.bufferedList=t}return EM(e,[{key:"start",value:function(e){return this.bufferedList[e].start}},{key:"end",value:function(e){return this.bufferedList[e].end}},{key:"length",get:function(){return this.bufferedList.length}}]),e}(),JE={};JE.createDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=document.createElement(t);return o.className=i,o.innerHTML=n,qG(e=jG(r)).call(e,(function(e){var n=e,i=r[e];"video"===t||"audio"===t||"live-video"===t?i&&o.setAttribute(n,i):o.setAttribute(n,i)})),o},JE.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var r=document.createElement("div");r.innerHTML=e;var i=r.children;if(r=null,i.length>0){var o;if(i=i[0],n&&JE.addClass(i,n),t)qG(o=jG(t)).call(o,(function(e){i.setAttribute(e,t[e])}));return i}return null}catch(a){return $E.logError("util.createDomFromHtml",a),null}},JE.hasClass=function(e,t){if(!e||!t)return!1;try{return bS(Array.prototype).call(e.classList,(function(e){return e===t}))}catch(VO){var n=e.className&&"object"===wM(e.className)?e.getAttribute("class"):e.className;return n&&!!n.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}},JE.addClass=function(e,t){if(e&&t)try{var n;qG(n=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(n,(function(t){t&&e.classList.add(t)}))}catch(VO){JE.hasClass(e,t)||(e.className&&"object"===wM(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},JE.removeClass=function(e,t){if(e&&t)try{var n;qG(n=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(n,(function(t){t&&e.classList.remove(t)}))}catch(VO){var r;if(JE.hasClass(e,t))qG(r=t.split(/\s+/g)).call(r,(function(t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===wM(e.className)?e.setAttribute("class",e.getAttribute("class").replace(n," ")):e.className=e.className.replace(n," ")}))}},JE.toggleClass=function(e,t){var n;e&&qG(n=t.split(/\s+/g)).call(n,(function(t){JE.hasClass(e,t)?JE.removeClass(e,t):JE.addClass(e,t)}))},JE.classNames=function(){for(var e=arguments,t=[],n=function(n){if("String"===JE.typeOf(e[n]))t.push(e[n]);else if("Object"===JE.typeOf(e[n])){var r;zS(r=jG(e[n])).call(r,(function(r){e[n][r]&&t.push(r)}))}},r=0;r<arguments.length;r++)n(r);return t.join(" ")},JE.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,n=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(n)}catch(VO){$E.logError("util.findDom",VO),0===hR(n).call(n,"#")&&(e=t.getElementById(mG(n).call(n,1)))}return e},JE.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},JE.padStart=function(e,t,n){for(var r=String(n),i=t>>0,o=Math.ceil(i/r.length),a=[],s=String(e);o--;)a.push(r);return a.join("").substring(0,i-s.length)+s},JE.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=$M(JE).call(JE,Math.floor(e/3600),2,0),n=$M(JE).call(JE,Math.floor((e-3600*t)/60),2,0),r=$M(JE).call(JE,Math.floor(e-3600*t-60*n),2,0);return("00"===t?[n,r]:[t,n,r]).join(":")},JE.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},JE.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},JE.deepCopy=function(e,t){var n;if("Object"===JE.typeOf(t)&&"Object"===JE.typeOf(e))return qG(n=jG(t)).call(n,(function(n){if("Object"!==JE.typeOf(t[n])||t[n]instanceof Node)if("Array"===JE.typeOf(t[n])){var r;e[n]="Array"===JE.typeOf(e[n])?b_(r=e[n]).call(r,t[n]):t[n]}else e[n]=t[n];else void 0===e[n]||void 0===e[n]?e[n]=t[n]:JE.deepCopy(e[n],t[n])})),e},JE.deepMerge=function(e,t){var n;return zS(n=jG(t)).call(n,(function(n){var r;"Array"===JE.typeOf(t[n])&&"Array"===JE.typeOf(e[n])?"Array"===JE.typeOf(e[n])&&(r=e[n]).push.apply(r,DM(t[n])):JE.typeOf(e[n])!==JE.typeOf(t[n])||null===e[n]||"Object"!==JE.typeOf(e[n])||t[n]instanceof window.Node?null!==t[n]&&(e[n]=t[n]):JE.deepMerge(e[n],t[n])})),e},JE.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var n=document.createElement("a");return n.href=t.replace(/url\("|"\)/g,""),n.href},JE.copyDom=function(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return qG(Array.prototype).call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""},JE.setInterval=function(e,t,n,r){e._interval[t]||(e._interval[t]=Tw(D_(n).call(n,e),r))},JE.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},JE.setTimeout=function(e,t,n){e._timers||(e._timers=[]);var r=vG((function(){t(),JE.clearTimeout(e,r)}),n);return e._timers.push(r),r},JE.clearTimeout=function(e,t){var n=e._timers;if("Array"===JE.typeOf(n)){for(var r=0;r<n.length;r++)if(n[r]===t){sM(n).call(n,r,1),clearTimeout(t);break}}else clearTimeout(t)},JE.clearAllTimers=function(e){var t=e._timers;"Array"===JE.typeOf(t)&&(zS(t).call(t,(function(e){clearTimeout(e)})),e._timerIds=[])},JE.createImgBtn=function(e,t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v=JE.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));(v.style.backgroundImage='url("'.concat(t,'")'),n&&r)&&(rE(i=["px","rem","em","pt","dp","vw","vh","vm","%"]).call(i,(function(e){var t,i;return!(hR(n).call(n,e)>-1&&hR(r).call(r,e)>-1)||(u=iE(pE(t=mG(n).call(n,0,hR(n).call(n,e))).call(t)),d=iE(pE(i=mG(r).call(r,0,hR(r).call(r,e))).call(i)),h=e,!1)})),v.style.width=b_(o="".concat(u)).call(o,h),v.style.height=b_(a="".concat(d)).call(a,h),v.style.backgroundSize=b_(s=b_(c=b_(l="".concat(u)).call(l,h," ")).call(c,d)).call(s,h),v.style.margin="start"===e?b_(p=b_(f=b_(g="-".concat(d/2)).call(g,h," auto auto -")).call(f,u/2)).call(p,h):"auto 5px auto 5px");return v},JE.Hex2RGBA=function(e,t){var n,r=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var i="#";e.replace(/[0-9A-F]/gi,(function(e){i+=e+e})),e=i}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/gi,(function(e){r.push(Y_(e,16))})),b_(n="rgba(".concat(r.join(","),", ")).call(n,t,")")):"rgba(255, 255, 255, 0.1)"},JE.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},JE.checkIsFunction=function(e){return e&&"function"==typeof e},JE.checkIsObject=function(e){return null!==e&&"object"===wM(e)},JE.hide=function(e){e.style.display="none"},JE.show=function(e,t){e.style.display=t||"block"},JE.isUndefined=function(e){if(null==e)return!0},JE.isNotNull=function(e){return!(null==e)},JE.setStyleFromCsstext=function(e,t){if(t)if("String"===JE.typeOf(t)){var n=t.replace(/\s+/g,"").split(";");zS(n).call(n,(function(t){if(t){var n=t.split(":");n.length>1&&(e.style[n[0]]=n[1])}}))}else{var r;zS(r=jG(t)).call(r,(function(n){e.style[n]=t[n]}))}},JE.filterStyleFromText=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],r=e.style.cssText;if(!r)return{};var i=r.replace(/\s+/g,"").split(";"),o={},a={};return zS(i).call(i,(function(e){if(e){var t=e.split(":");t.length>1&&(!function(e,t){for(var n=0,r=t.length;n<r;n++)if(hR(e).call(e,t[n])>-1)return!0;return!1}(t[0],n)?a[t[0]]=t[1]:o[t[0]]=t[1])}})),e.setAttribute("style",""),zS(t=jG(a)).call(t,(function(t){e.style[t]=a[t]})),o},JE.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var n=t.replace(/\s+/g,"").split(";"),r={};return zS(n).call(n,(function(e){if(e){var t=e.split(":");t.length>1&&(r[t[0]]=t[1])}})),r},JE.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(e){var r=new window.Image;r.onload=function(e){r=null,t&&t(e)},r.onerror=function(e){r=null,n&&n(e)},r.src=e}},JE.stopPropagation=function(e){e&&e.stopPropagation()},JE.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},JE.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},JE.checkTouchSupport=function(){return"ontouchstart"in window},JE.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=[],r=0;r<e.length;r++)n.push({start:e.start(r)<.5?0:e.start(r),end:e.end(r)});jE(n).call(n,(function(e,t){var n=e.start-t.start;return n||t.end-e.end}));var i=[];if(t)for(var o=0;o<n.length;o++){var a=i.length;if(a){var s=i[a-1].end;n[o].start-s<t?n[o].end>s&&(i[a-1].end=n[o].end):i.push(n[o])}else i.push(n[o])}else i=n;return new YE(i)},JE.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},JE.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},JE.getHostFromUrl=function(e){if("String"!==JE.typeOf(e))return"";var t=e.split("/"),n="";return t.length>3&&t[2]&&(n=t[2]),n},JE.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},JE.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},JE.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},JE.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(new Date).getTime();try{e=Y_(e)}catch(VO){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=Y_(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)}))},JE.createEvent=function(e){var t;return"function"==typeof window.Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t},JE.adjustTimeByDuration=function(e,t,n){return t&&e&&(e>t||n&&e<t)?t:e},JE.createPositionBar=function(e,t){var n=JE.createDom("xg-bar","",{"data-index":-1},e);return t.appendChild(n),n},JE.getTransformStyle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r={scale:"".concat(t.scale||1),translate:b_(e="".concat(t.x||0,"%, ")).call(e,t.y||0,"%"),rotate:"".concat(t.rotate||0,"deg")},i=jG(r);return qG(i).call(i,(function(e){var t,i=new RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),o=b_(t="".concat(e,"(")).call(t,r[e],")");i.test(n)?(i.lastIndex=-1,n=n.replace(i,o)):n+="".concat(o," ")})),n},JE.convertDeg=function(e){return Math.abs(e)<=1?360*e:e%360},JE.getIndexByTime=function(e,t){var n=t.length,r=-1;if(n<1)return r;if(e<=t[0].end||n<2)r=0;else if(e>t[n-1].end)r=n-1;else for(var i=1;i<n;i++)if(e>t[i-1].end&&e<=t[i].end){r=i;break}return r},JE.getOffsetCurrentTime=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=-1;if((r=n>=0&&n<t.length?n:JE.getIndexByTime(e,t))<0)return-1;var i=t.length,o=t[r],a=o.start,s=o.end,c=o.cTime,l=o.offset;return e<a?c:e>=a&&e<=s?e-l:e>s&&r>=i-1?s:-1},JE.getCurrentTimeByOffset=function(e,t){var n=-1;if(!t||t.length<0)return e;for(var r=0;r<t.length;r++)if(e<=t[r].duration){n=r;break}if(-1!==n){var i=t[n].start;return n-1<0?i+e:i+(e-t[n-1].duration)}return e};var ez=/(Android)\s([\d.]+)/,tz=/(Version)\/([\d.]+)/,nz=["avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","avc1.42E01E","mp4v.20.8","mp4v.20.8, mp4a.40.2","mp4v.20.240, mp4a.40.2"],rz={get device(){return rz.os.isPc?"pc":"mobile"},get browser(){var e,t;if("undefined"==typeof navigator)return"";var n=navigator.userAgent.toLowerCase(),r={ie:/rv:([\d.]+)\) like gecko/,firefox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\d.]+).*safari/};return b_(e=[]).call(e,QG(t=jG(r)).call(t,(function(e){return r[e].test(n)})))[0]},get os(){if("undefined"==typeof navigator)return{};var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,a=o||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),s=/(?:iPhone)/.test(e)&&!a;return{isTablet:a,isPhone:s,isIpad:o,isIos:s||o,isAndroid:r,isPc:!(s||r||n||a),isSymbian:n,isWindowsPhone:t,isFireFox:i}},get osVersion(){if("undefined"==typeof navigator)return 0;var e=navigator.userAgent,t="",n=(t=/(?:iPhone)|(?:iPad|PlayBook)/.test(e)?tz:ez)?t.exec(e):[];if(n&&n.length>=3){var r=n[2].split(".");return r.length>0?Y_(r[0]):0}return 0},get isWeixin(){if("undefined"==typeof navigator)return!1;return!!/(micromessenger)\/([\d.]+)/.exec(navigator.userAgent.toLocaleLowerCase())},isSupportMP4:function(){var e={isSupport:!1,mime:""};if("undefined"==typeof document)return e;if(this.supportResult)return this.supportResult;var t=document.createElement("video");return"function"==typeof t.canPlayType&&zS(nz).call(nz,(function(n){"probably"===t.canPlayType('video/mp4; codecs="'.concat(n,'"'))&&(e.isSupport=!0,e.mime+="||".concat(n))})),this.supportResult=e,t=null,e},isMSESupport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'video/mp4; codecs="avc1.42E01E,mp4a.40.2"';if("undefined"==typeof MediaSource||!MediaSource)return!1;try{return MediaSource.isTypeSupported(e)}catch(s_e){return this._logger.error(e,s_e),!1}},isHevcSupported:function(){return!("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)&&(MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"'))},probeConfigSupported:function(e){var t={supported:!1,smooth:!1,powerEfficient:!1};if(!e||"undefined"==typeof navigator)return qT.resolve(t);if(navigator.mediaCapabilities&&navigator.mediaCapabilities.decodingInfo)return navigator.mediaCapabilities.decodingInfo(e);var n=e.video||{},r=e.audio||{};try{var i=MediaSource.isTypeSupported(n.contentType),o=MediaSource.isTypeSupported(r.contentType);return qT.resolve({supported:i&&o,smooth:!1,powerEfficient:!1})}catch(VO){return qT.resolve(t)}}},iz="play";function oz(e,t,n){for(var r,i=arguments.length,o=new Array(i>3?i-3:0),a=3;a<i;a++)o[a-3]=arguments[a];var s,c=t.call.apply(t,b_(r=[e]).call(r,o));n&&"function"==typeof n&&(c&&c.then?c.then((function(){for(var t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n.call.apply(n,b_(t=[e]).call(t,i))})):n.call.apply(n,b_(s=[e]).call(s,o)))}function az(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{pre:null,next:null};return this.__hooks||(this.__hooks={}),!this.__hooks[e]&&(this.__hooks[e]=null),D_(n=function(){var n,i=arguments,o=this;if(r.pre)try{var a,s;(s=r.pre).call.apply(s,b_(a=[this]).call(a,mG(Array.prototype).call(arguments)))}catch(VO){var c,l;throw VO.message=b_(c=b_(l="[pluginName: ".concat(this.pluginName,":")).call(l,e,":pre error] >> ")).call(c,VO.message),VO}if(this.__hooks&&this.__hooks[e])try{var u,d=function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];if(e.__hooks&&uS(e.__hooks[t])){var a,s=e.__hooks[t],c=-1,l=function e(t,n,r){for(var i,o,a=arguments.length,l=new Array(a>3?a-3:0),u=3;u<a;u++)l[u-3]=arguments[u];if(c++,0===s.length||c===s.length)return r.call.apply(r,b_(o=[t,t]).call(o,l));var d,h=s[c],p=h.call.apply(h,b_(i=[t,t]).call(i,l));return p&&p.then?p.then((function(i){var o;return!1===i?null:e.apply(void 0,b_(o=[t,n,r]).call(o,l))})).catch((function(e){console.warn("[runHooks]".concat(n," reject"),e.message)})):!1!==p?e.apply(void 0,b_(d=[t,n,r]).call(d,l)):void 0};return l.apply(void 0,b_(a=[e,t,n]).call(a,i))}var u;return n.call.apply(n,b_(u=[e,e]).call(u,i))}(this,e,t);if(d)if(d.then)d.then((function(e){var n;!1!==e&&oz.apply(void 0,b_(n=[o,t,r.next]).call(n,DM(i)))})).catch((function(e){throw e}));else oz.apply(void 0,b_(u=[this,t,r.next]).call(u,mG(Array.prototype).call(arguments)));else if(void 0===d){var h;oz.apply(void 0,b_(h=[this,t,r.next]).call(h,mG(Array.prototype).call(arguments)))}}catch(VO){var p,f;throw VO.message=b_(p=b_(f="[pluginName: ".concat(this.pluginName,":")).call(f,e,"] >> ")).call(p,VO.message),VO}else oz.apply(void 0,b_(n=[this,t,r.next]).call(n,mG(Array.prototype).call(arguments)))}).call(n,this)}function sz(e,t){var n=this.__hooks;if(!n||!uS(n[e]))return-1;for(var r=n[e],i=0;i<r.length;i++)if(r[i]===t)return i;return-1}function cz(e,t){var n=this.__hooks;if(n)return n.hasOwnProperty(e)?(uS(n[e])||(n[e]=[]),-1===sz.call(this,e,t)&&n[e].push(t),!0):(console.warn("has no supported hook which name [".concat(e,"]")),!1)}function lz(e,t){var n=this.__hooks;if(n)if(uS(n[e])){var r=n[e],i=sz.call(this,e,t);-1!==i&&sM(r).call(r,i,1)}else n[e]&&(n[e]=null)}function uz(e,t){var n;$E.logError(b_(n="[".concat(e,"] event or callback cant be undefined or null when call ")).call(n,t))}var dz,hz=function(){function e(t){SM(this,e),JE.checkIsFunction(this.beforeCreate)&&this.beforeCreate(t),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.__hooks={},t&&zS(t).call(t,(function(t){e.__hooks[t]=null})),VG(e,"hooks",{get:function(){var t;return e.__hooks&&zS(t=jG(e.__hooks)).call(t,(function(t){if(e.__hooks[t])return t}))}})}(this),this.__args=t,this.__events={},this.__onceEvents={},this.config=t.config||{},this.player=null,this.playerConfig={},this.pluginName="",this.__init(t)}return EM(e,[{key:"beforeCreate",value:function(e){}},{key:"afterCreate",value:function(){}},{key:"beforePlayerInit",value:function(){}},{key:"onPluginsReady",value:function(){}},{key:"afterPlayerInit",value:function(){}},{key:"destroy",value:function(){}},{key:"__init",value:function(e){this.player=e.player,this.playerConfig=e.player&&e.player.config,this.pluginName=e.pluginName?e.pluginName.toLowerCase():this.constructor.pluginName.toLowerCase(),this.logger=e.player&&e.player.logger}},{key:"updateLang",value:function(e){e||(e=this.lang)}},{key:"lang",get:function(){return this.player.lang}},{key:"i18n",get:function(){return this.player.i18n}},{key:"i18nKeys",get:function(){return this.player.i18nKeys}},{key:"domEventType",get:function(){var e=JE.checkTouchSupport()?"touch":"mouse";return!this.playerConfig||"touch"!==this.playerConfig.domEventType&&"mouse"!==this.playerConfig.domEventType||(e=this.playerConfig.domEventType),e}},{key:"on",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(this.__events[e]=t,this.player.on(e,t)):uS(e)&&qG(e).call(e,(function(e){n.__events[e]=t,n.player.on(e,t)})):uz(this.pluginName,"plugin.on(event, callback)")}},{key:"once",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(this.__onceEvents[e]=t,this.player.once(e,t)):uS(e)&&qG(e).call(e,(function(r){n.__onceEvents[r]=t,n.player.once(e,t)})):uz(this.pluginName,"plugin.once(event, callback)")}},{key:"off",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(delete this.__events[e],this.player.off(e,t)):uS(e)&&qG(e).call(e,(function(r){delete n.__events[e],n.player.off(r,t)})):uz(this.pluginName,"plugin.off(event, callback)")}},{key:"offAll",value:function(){var e,t=this;qG(e=["__events","__onceEvents"]).call(e,(function(e){var n;qG(n=jG(t[e])).call(n,(function(n){t[e][n]&&t.off(n,t[e][n]),n&&delete t[e][n]}))})),this.__events={},this.__onceEvents={}}},{key:"emit",value:function(e){var t,n;if(this.player){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(n=this.player).emit.apply(n,b_(t=[e]).call(t,i))}}},{key:"emitUserAction",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.player){var r=TM(TM({},n),{},{pluginName:this.pluginName});this.player.emitUserAction(e,t,r)}}},{key:"hook",value:function(e,t){var n;return az.call.apply(az,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"useHooks",value:function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return cz.call.apply(cz,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"removeHooks",value:function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return lz.call.apply(lz,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"registerPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.player)return n&&(t.pluginName=n),this.player.registerPlugin({plugin:e,options:t})}},{key:"getPlugin",value:function(e){return this.player?this.player.getPlugin(e):null}},{key:"__destroy",value:function(){var e,t=this,n=this.player,r=this.pluginName;this.offAll(),JE.clearAllTimers(this),JE.checkIsFunction(this.destroy)&&this.destroy(),zS(e=["player","playerConfig","pluginName","logger","__args","__hooks"]).call(e,(function(e){t[e]=null})),n.unRegisterPlugin(r),this.__hooks=null}}],[{key:"defineGetterOrSetter",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&VG(e,n,t[n])}},{key:"defineMethod",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"function"==typeof t[n]&&VG(e,n,{configurable:!0,value:t[n]})}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),e}(),pz=v,fz=2147483647,gz=/[^\0-\u007E]/,vz=/[.\u3002\uFF0E\uFF61]/g,mz="Overflow: input needs wider integers to process",yz=RangeError,_z=pz(vz.exec),Gz=Math.floor,Rz=String.fromCharCode,bz=pz("".charCodeAt),Tz=pz([].join),wz=pz([].push),Sz=pz("".replace),Mz=pz("".split),Ez=pz("".toLowerCase),zz=function(e){return e+22+75*(e<26)},Dz=function(e,t,n){var r=0;for(e=n?Gz(e/700):e>>1,e+=Gz(e/t);e>455;)e=Gz(e/35),r+=36;return Gz(r+36*e/(e+38))},kz=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=bz(e,n++);if(i>=55296&&i<=56319&&n<r){var o=bz(e,n++);56320==(64512&o)?wz(t,((1023&i)<<10)+(1023&o)+65536):(wz(t,i),n--)}else wz(t,i)}return t}(e);var n,r,i=e.length,o=128,a=0,s=72;for(n=0;n<e.length;n++)(r=e[n])<128&&wz(t,Rz(r));var c=t.length,l=c;for(c&&wz(t,"-");l<i;){var u=fz;for(n=0;n<e.length;n++)(r=e[n])>=o&&r<u&&(u=r);var d=l+1;if(u-o>Gz((fz-a)/d))throw yz(mz);for(a+=(u-o)*d,o=u,n=0;n<e.length;n++){if((r=e[n])<o&&++a>fz)throw yz(mz);if(r==o){for(var h=a,p=36;;){var f=p<=s?1:p>=s+26?26:p-s;if(h<f)break;var g=h-f,v=36-f;wz(t,Rz(zz(f+g%v))),h=Gz(g/v),p+=36}wz(t,Rz(zz(h))),s=Dz(a,d,l==c),a=0,l++}}a++,o++}return Tz(t,"")},Az=Dn,Fz=D,Pz=_R,Iz=i,Xz=Zt,xz=v,Hz=gi,Cz=mi,Oz=Op,Lz=Ye,Uz=ET,Bz=d_,Nz=si,Vz=Hd.codeAt,jz=function(e){var t,n,r=[],i=Mz(Sz(Ez(e),vz,"."),".");for(t=0;t<i.length;t++)n=i[t],wz(r,_z(gz,n)?"xn--"+kz(n):n);return Tz(r,".")},Kz=Rr,Qz=Ui,Wz=Zp,qz=Bb,Zz=ro,$z=Zz.set,Yz=Zz.getterFor("URL"),Jz=qz.URLSearchParams,eD=qz.getState,tD=Iz.URL,nD=Iz.TypeError,rD=Iz.parseInt,iD=Math.floor,oD=Math.pow,aD=xz("".charAt),sD=xz(/./.exec),cD=xz([].join),lD=xz(1..toString),uD=xz([].pop),dD=xz([].push),hD=xz("".replace),pD=xz([].shift),fD=xz("".split),gD=xz("".slice),vD=xz("".toLowerCase),mD=xz([].unshift),yD="Invalid scheme",_D="Invalid host",GD="Invalid port",RD=/[a-z]/i,bD=/[\d+-.a-z]/i,TD=/\d/,wD=/^0x/i,SD=/^[0-7]+$/,MD=/^\d+$/,ED=/^[\da-f]+$/i,zD=/[\0\t\n\r #%/:<>?@[\\\]^|]/,DD=/[\0\t\n\r #/:<>?@[\\\]^|]/,kD=/^[\u0000-\u0020]+/,AD=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,FD=/[\t\n\r]/g,PD=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)mD(t,e%256),e=iD(e/256);return cD(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=lD(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ID={},XD=Uz({},ID,{" ":1,'"':1,"<":1,">":1,"`":1}),xD=Uz({},XD,{"#":1,"?":1,"{":1,"}":1}),HD=Uz({},xD,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),CD=function(e,t){var n=Vz(e,0);return n>32&&n<127&&!Lz(t,e)?e:encodeURIComponent(e)},OD={ftp:21,file:null,http:80,https:443,ws:80,wss:443},LD=function(e,t){var n;return 2==e.length&&sD(RD,aD(e,0))&&(":"==(n=aD(e,1))||!t&&"|"==n)},UD=function(e){var t;return e.length>1&&LD(gD(e,0,2))&&(2==e.length||"/"===(t=aD(e,2))||"\\"===t||"?"===t||"#"===t)},BD=function(e){return"."===e||"%2e"===vD(e)},ND={},VD={},jD={},KD={},QD={},WD={},qD={},ZD={},$D={},YD={},JD={},ek={},tk={},nk={},rk={},ik={},ok={},ak={},sk={},ck={},lk={},uk=function(e,t,n){var r,i,o,a=Kz(e);if(t){if(i=this.parse(a))throw nD(i);this.searchParams=null}else{if(void 0!==n&&(r=new uk(n,!0)),i=this.parse(a,null,r))throw nD(i);(o=eD(new Jz)).bindURL(this),this.searchParams=o}};uk.prototype={type:"URL",parse:function(e,t,n){var r,i,o,a,s,c=this,l=t||ND,u=0,d="",h=!1,p=!1,f=!1;for(e=Kz(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=hD(e,kD,""),e=hD(e,AD,"$1")),e=hD(e,FD,""),r=Bz(e);u<=r.length;){switch(i=r[u],l){case ND:if(!i||!sD(RD,i)){if(t)return yD;l=jD;continue}d+=vD(i),l=VD;break;case VD:if(i&&(sD(bD,i)||"+"==i||"-"==i||"."==i))d+=vD(i);else{if(":"!=i){if(t)return yD;d="",l=jD,u=0;continue}if(t&&(c.isSpecial()!=Lz(OD,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&OD[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=nk:c.isSpecial()&&n&&n.scheme==c.scheme?l=KD:c.isSpecial()?l=ZD:"/"==r[u+1]?(l=QD,u++):(c.cannotBeABaseURL=!0,dD(c.path,""),l=sk)}break;case jD:if(!n||n.cannotBeABaseURL&&"#"!=i)return yD;if(n.cannotBeABaseURL&&"#"==i){c.scheme=n.scheme,c.path=Nz(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=lk;break}l="file"==n.scheme?nk:WD;continue;case KD:if("/"!=i||"/"!=r[u+1]){l=WD;continue}l=$D,u++;break;case QD:if("/"==i){l=YD;break}l=ak;continue;case WD:if(c.scheme=n.scheme,i==dz)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=Nz(n.path),c.query=n.query;else if("/"==i||"\\"==i&&c.isSpecial())l=qD;else if("?"==i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=Nz(n.path),c.query="",l=ck;else{if("#"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=Nz(n.path),c.path.length--,l=ak;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=Nz(n.path),c.query=n.query,c.fragment="",l=lk}break;case qD:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=ak;continue}l=YD}else l=$D;break;case ZD:if(l=$D,"/"!=i||"/"!=aD(d,u+1))continue;u++;break;case $D:if("/"!=i&&"\\"!=i){l=YD;continue}break;case YD:if("@"==i){h&&(d="%40"+d),h=!0,o=Bz(d);for(var g=0;g<o.length;g++){var v=o[g];if(":"!=v||f){var m=CD(v,HD);f?c.password+=m:c.username+=m}else f=!0}d=""}else if(i==dz||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==d)return"Invalid authority";u-=Bz(d).length+1,d="",l=JD}else d+=i;break;case JD:case ek:if(t&&"file"==c.scheme){l=ik;continue}if(":"!=i||p){if(i==dz||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==d)return _D;if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(d))return a;if(d="",l=ok,t)return;continue}"["==i?p=!0:"]"==i&&(p=!1),d+=i}else{if(""==d)return _D;if(a=c.parseHost(d))return a;if(d="",l=tk,t==ek)return}break;case tk:if(!sD(TD,i)){if(i==dz||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=d){var y=rD(d,10);if(y>65535)return GD;c.port=c.isSpecial()&&y===OD[c.scheme]?null:y,d=""}if(t)return;l=ok;continue}return GD}d+=i;break;case nk:if(c.scheme="file","/"==i||"\\"==i)l=rk;else{if(!n||"file"!=n.scheme){l=ak;continue}if(i==dz)c.host=n.host,c.path=Nz(n.path),c.query=n.query;else if("?"==i)c.host=n.host,c.path=Nz(n.path),c.query="",l=ck;else{if("#"!=i){UD(cD(Nz(r,u),""))||(c.host=n.host,c.path=Nz(n.path),c.shortenPath()),l=ak;continue}c.host=n.host,c.path=Nz(n.path),c.query=n.query,c.fragment="",l=lk}}break;case rk:if("/"==i||"\\"==i){l=ik;break}n&&"file"==n.scheme&&!UD(cD(Nz(r,u),""))&&(LD(n.path[0],!0)?dD(c.path,n.path[0]):c.host=n.host),l=ak;continue;case ik:if(i==dz||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&LD(d))l=ak;else if(""==d){if(c.host="",t)return;l=ok}else{if(a=c.parseHost(d))return a;if("localhost"==c.host&&(c.host=""),t)return;d="",l=ok}continue}d+=i;break;case ok:if(c.isSpecial()){if(l=ak,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=dz&&(l=ak,"/"!=i))continue}else c.fragment="",l=lk;else c.query="",l=ck;break;case ak:if(i==dz||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=vD(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||dD(c.path,"")):BD(d)?"/"==i||"\\"==i&&c.isSpecial()||dD(c.path,""):("file"==c.scheme&&!c.path.length&&LD(d)&&(c.host&&(c.host=""),d=aD(d,0)+":"),dD(c.path,d)),d="","file"==c.scheme&&(i==dz||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)pD(c.path);"?"==i?(c.query="",l=ck):"#"==i&&(c.fragment="",l=lk)}else d+=CD(i,xD);break;case sk:"?"==i?(c.query="",l=ck):"#"==i?(c.fragment="",l=lk):i!=dz&&(c.path[0]+=CD(i,ID));break;case ck:t||"#"!=i?i!=dz&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":CD(i,ID)):(c.fragment="",l=lk);break;case lk:i!=dz&&(c.fragment+=CD(i,XD))}u++}},parseHost:function(e){var t,n,r;if("["==aD(e,0)){if("]"!=aD(e,e.length-1))return _D;if(t=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,h=function(){return aD(e,d)};if(":"==h()){if(":"!=aD(e,1))return;d+=2,u=++l}for(;h();){if(8==l)return;if(":"!=h()){for(t=n=0;n<4&&sD(ED,h());)t=16*t+rD(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,l>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!sD(TD,h()))return;for(;sD(TD,h());){if(o=rD(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(a=l-u,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!=l)return;return c}(gD(e,1,-1)),!t)return _D;this.host=t}else if(this.isSpecial()){if(e=jz(e),sD(zD,e))return _D;if(t=function(e){var t,n,r,i,o,a,s,c=fD(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==aD(i,0)&&(o=sD(wD,i)?16:8,i=gD(i,8==o?1:2)),""===i)a=0;else{if(!sD(10==o?MD:8==o?SD:ED,i))return e;a=rD(i,o)}dD(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=oD(256,5-t))return null}else if(a>255)return null;for(s=uD(n),r=0;r<n.length;r++)s+=n[r]*oD(256,3-r);return s}(e),null===t)return _D;this.host=t}else{if(sD(DD,e))return _D;for(t="",n=Bz(e),r=0;r<n.length;r++)t+=CD(n[r],ID);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Lz(OD,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&LD(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=PD(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+cD(a,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw nD(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new dk(e.path[0]).origin}catch(s_e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+PD(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Kz(e)+":",ND)},getUsername:function(){return this.username},setUsername:function(e){var t=Bz(Kz(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=CD(t[n],HD)}},getPassword:function(){return this.password},setPassword:function(e){var t=Bz(Kz(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=CD(t[n],HD)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?PD(e):PD(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,JD)},getHostname:function(){var e=this.host;return null===e?"":PD(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ek)},getPort:function(){var e=this.port;return null===e?"":Kz(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Kz(e))?this.port=null:this.parse(e,tk))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+cD(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ok))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Kz(e))?this.query=null:("?"==aD(e,0)&&(e=gD(e,1)),this.query="",this.parse(e,ck)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Kz(e))?("#"==aD(e,0)&&(e=gD(e,1)),this.fragment="",this.parse(e,lk)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var dk=function(e){var t=Oz(this,hk),n=Wz(arguments.length,1)>1?arguments[1]:void 0,r=$z(t,new uk(e,!1,n));Fz||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},hk=dk.prototype,pk=function(e,t){return{get:function(){return Yz(this)[e]()},set:t&&function(e){return Yz(this)[t](e)},configurable:!0,enumerable:!0}};if(Fz&&(Cz(hk,"href",pk("serialize","setHref")),Cz(hk,"origin",pk("getOrigin")),Cz(hk,"protocol",pk("getProtocol","setProtocol")),Cz(hk,"username",pk("getUsername","setUsername")),Cz(hk,"password",pk("getPassword","setPassword")),Cz(hk,"host",pk("getHost","setHost")),Cz(hk,"hostname",pk("getHostname","setHostname")),Cz(hk,"port",pk("getPort","setPort")),Cz(hk,"pathname",pk("getPathname","setPathname")),Cz(hk,"search",pk("getSearch","setSearch")),Cz(hk,"searchParams",pk("getSearchParams")),Cz(hk,"hash",pk("getHash","setHash"))),Hz(hk,"toJSON",(function(){return Yz(this).serialize()}),{enumerable:!0}),Hz(hk,"toString",(function(){return Yz(this).serialize()}),{enumerable:!0}),tD){var fk=tD.createObjectURL,gk=tD.revokeObjectURL;fk&&Hz(dk,"createObjectURL",Xz(fk,tD)),gk&&Hz(dk,"revokeObjectURL",Xz(gk,tD))}Qz(dk,"URL"),Az({global:!0,constructor:!0,forced:!Pz,sham:!Fz},{URL:dk});var vk=Dn,mk=o,yk=Zp,_k=Rr,Gk=_R,Rk=ae("URL");vk({target:"URL",stat:!0,forced:!(Gk&&mk((function(){Rk.canParse()})))},{canParse:function(e){var t=yk(arguments.length,1),n=_k(e),r=t<2||void 0===arguments[1]?void 0:_k(arguments[1]);try{return!!new Rk(n,r)}catch(s_e){return!1}}});var bk=n(te.URL),Tk=qe,wk=Cn,Sk=Nn,Mk=function(e){for(var t=Tk(this),n=Sk(t),r=arguments.length,i=wk(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:wk(o,n);a>i;)t[i++]=e;return t};Dn({target:"Array",proto:!0},{fill:Mk});var Ek=Zs("Array").fill,zk=se,Dk=Ek,kk=Array.prototype,Ak=n((function(e){var t=e.fill;return e===kk||zk(kk,e)&&t===kk.fill?Dk:t})),Fk=n(Sm),Pk="Expected a function",Ik="__lodash_placeholder__",Xk=1,xk=2,Hk=4,Ck=8,Ok=16,Lk=32,Uk=64,Bk=128,Nk=512,Vk=1/0,jk=9007199254740991,Kk=17976931348623157e292,Qk=NaN,Wk=[["ary",Bk],["bind",Xk],["bindKey",xk],["curry",Ck],["curryRight",Ok],["flip",Nk],["partial",Lk],["partialRight",Uk],["rearg",256]],qk="[object Function]",Zk="[object GeneratorFunction]",$k="[object Symbol]",Yk=/^\s+|\s+$/g,Jk=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,eA=/\{\n\/\* \[wrapped with (.+)\] \*/,tA=/,? & /,nA=/^[-+]0x[0-9a-f]+$/i,rA=/^0b[01]+$/i,iA=/^\[object .+?Constructor\]$/,oA=/^0o[0-7]+$/i,aA=/^(?:0|[1-9]\d*)$/,sA=Y_,cA="object"==Wd(t)&&t&&t.Object===Object&&t,lA="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,uA=cA||lA||Function("return this")();function dA(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function hA(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){var i=e.length,o=n+(r?1:-1);for(;r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,pA,n);var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function pA(e){return e!=e}function fA(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==Ik||(e[n]=Ik,o[i++]=n)}return o}var gA,vA,mA,yA=Function.prototype,_A=Object.prototype,GA=uA["__core-js_shared__"],RA=(gA=/[^.]+$/.exec(GA&&gM(GA)&&gM(GA).IE_PROTO||""))?"Symbol(src)_1."+gA:"",bA=yA.toString,TA=_A.hasOwnProperty,wA=_A.toString,SA=RegExp("^"+bA.call(TA).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),MA=vM,EA=Math.max,zA=Math.min,DA=(vA=xA(Object,"defineProperty"),(mA=xA.name)&&mA.length>2?vA:void 0);function kA(e){if(!NA(e)||function(e){return!!RA&&RA in e}(e))return!1;var t=function(e){var t=NA(e)?wA.call(e):"";return t==qk||t==Zk}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(VO){}return t}(e)?SA:iA;return t.test(function(e){if(null!=e){try{return bA.call(e)}catch(VO){}try{return e+""}catch(VO){}}return""}(e))}function AA(e){return function(){var t=arguments;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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n,r=NA(n=e.prototype)?MA(n):{},i=e.apply(r,t);return NA(i)?i:r}}function FA(e,t,n,r,i,o,a,s,c,l){var u=t&Bk,d=t&Xk,h=t&xk,p=t&(Ck|Ok),f=t&Nk,g=h?void 0:AA(e);return function v(){for(var m=arguments.length,y=Array(m),_=m;_--;)y[_]=arguments[_];if(p)var G=XA(v),R=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}(y,G);if(r&&(y=function(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,l=EA(o-a,0),u=Array(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<a;)(d||i<o)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}(y,r,i,p)),o&&(y=function(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,l=t.length,u=EA(o-s,0),d=Array(u+l),h=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<s;)(h||i<o)&&(d[p+n[a]]=e[i++]);return d}(y,o,a,p)),m-=R,p&&m<l){var b=fA(y,G);return PA(e,t,FA,v.placeholder,n,y,b,s,c,l-m)}var T=d?n:this,w=h?T[e]:e;return m=y.length,s?y=function(e,t){var n=e.length,r=zA(t.length,n),i=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);for(;r--;){var o=t[r];e[r]=OA(o,n)?i[o]:void 0}return e}(y,s):f&&m>1&&Fk(y).call(y),u&&c<m&&(y.length=c),this&&this!==uA&&this instanceof v&&(w=g||AA(w)),w.apply(T,y)}}function PA(e,t,n,r,i,o,a,s,c,l){var u=t&Ck;t|=u?Lk:Uk,(t&=~(u?Uk:Lk))&Hk||(t&=~(Xk|xk));var d=n(e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,c,l);return d.placeholder=r,LA(d,e,t)}function IA(e,t,n,r,i,o,a,s){var c=t&xk;if(!c&&"function"!=typeof e)throw new TypeError(Pk);var l=r?r.length:0;if(l||(t&=~(Lk|Uk),r=i=void 0),a=void 0===a?a:EA(KA(a),0),s=void 0===s?s:KA(s),l-=i?i.length:0,t&Uk){var u=r,d=i;r=i=void 0}var h=[e,t,n,r,i,u,d,o,a,s];if(e=h[0],t=h[1],n=h[2],r=h[3],i=h[4],!(s=h[9]=null==h[9]?c?0:e.length:EA(h[9]-l,0))&&t&(Ck|Ok)&&(t&=~(Ck|Ok)),t&&t!=Xk)p=t==Ck||t==Ok?function(e,t,n){var r=AA(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,c=XA(i);s--;)a[s]=arguments[s];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:fA(a,c);return(o-=l.length)<n?PA(e,t,FA,i.placeholder,void 0,a,l,void 0,void 0,n-o):dA(this&&this!==uA&&this instanceof i?r:e,this,a)}}(e,t,s):t!=Lk&&t!=(Xk|Lk)||i.length?FA.apply(void 0,h):function(e,t,n,r){var i=t&Xk,o=AA(e);return function t(){for(var a=-1,s=arguments.length,c=-1,l=r.length,u=Array(l+s),d=this&&this!==uA&&this instanceof t?o:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++a];return dA(d,i?n:this,u)}}(e,t,n,r);else var p=function(e,t,n){var r=t&Xk,i=AA(e);return function t(){return(this&&this!==uA&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return LA(p,e,t)}function XA(e){return e.placeholder}function xA(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return kA(n)?n:void 0}function HA(e){var t=e.match(eA);return t?t[1].split(tA):[]}function CA(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Jk,"{\n/* [wrapped with "+t+"] */\n")}function OA(e,t){return!!(t=null==t?jk:t)&&("number"==typeof e||aA.test(e))&&e>-1&&e%1==0&&e<t}var LA=DA?function(e,t,n){var r,i=t+"";return DA(e,"toString",{configurable:!0,enumerable:!1,value:(r=CA(i,UA(HA(i),n)),function(){return r})})}:function(e){return e};function UA(e,t){return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(Wk,(function(n){var r="_."+n[0];t&n[1]&&!hA(e,r)&&e.push(r)})),jE(e).call(e)}function BA(e,t,n){var r=IA(e,Ck,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=BA.placeholder,r}function NA(e){var t=Wd(e);return!!e&&("object"==t||"function"==t)}function VA(e){return"symbol"==Wd(e)||function(e){return!!e&&"object"==Wd(e)}(e)&&wA.call(e)==$k}function jA(e){return e?(e=function(e){if("number"==typeof e)return e;if(VA(e))return Qk;if(NA(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=NA(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Yk,"");var n=rA.test(e);return n||oA.test(e)?sA(mG(e).call(e,2),n?2:8):nA.test(e)?Qk:+e}(e))===Vk||e===-Vk?(e<0?-1:1)*Kk:e==e?e:0:0===e?e:0}function KA(e){var t=jA(e),n=t%1;return t==t?n?t-n:t:0}BA.placeholder={};var QA=n(BA),WA={exports:{}},qA=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),ZA=o,$A=ee,YA=G,JA=qA,eF=Object.isExtensible,tF=ZA((function(){eF(1)}))||JA?function(e){return!!$A(e)&&((!JA||"ArrayBuffer"!=YA(e))&&(!eF||eF(e)))}:eF,nF=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),rF=Dn,iF=v,oF=qn,aF=ee,sF=Ye,cF=$t.f,lF=Wr,uF=$r,dF=tF,hF=nF,pF=!1,fF=rt("meta"),gF=0,vF=function(e){cF(e,fF,{value:{objectID:"O"+gF++,weakData:{}}})},mF=WA.exports={enable:function(){mF.enable=function(){},pF=!0;var e=lF.f,t=iF([].splice),n={};n[fF]=1,e(n).length&&(lF.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===fF){t(r,i,1);break}return r},rF({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:uF.f}))},fastKey:function(e,t){if(!aF(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!sF(e,fF)){if(!dF(e))return"F";if(!t)return"E";vF(e)}return e[fF].objectID},getWeakData:function(e,t){if(!sF(e,fF)){if(!dF(e))return!0;if(!t)return!1;vF(e)}return e[fF].weakData},onFreeze:function(e){return hF&&pF&&dF(e)&&!sF(e,fF)&&vF(e),e}};oF[fF]=!0;var yF=WA.exports,_F=Dn,GF=i,RF=yF,bF=o,TF=mn,wF=cp,SF=Op,MF=E,EF=ee,zF=Ui,DF=$t.f,kF=Oo.forEach,AF=D,FF=ro.set,PF=ro.getterFor,IF=function(e,t,n){var r,i=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),a=i?"set":"add",s=GF[e],c=s&&s.prototype,l={};if(AF&&MF(s)&&(o||c.forEach&&!bF((function(){(new s).entries().next()})))){var u=(r=t((function(t,n){FF(SF(t,u),{type:e,collection:new s}),null!=n&&wF(n,t[a],{that:t,AS_ENTRIES:i})}))).prototype,d=PF(e);kF(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in c)||o&&"clear"==e||TF(u,e,(function(n,r){var i=d(this).collection;if(!t&&o&&!EF(n))return"get"==e&&void 0;var a=i[e](0===n?0:n,r);return t?this:a}))})),o||DF(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else r=n.getConstructor(t,e,i,a),RF.enable();return zF(r,e,!1,!0),l[e]=r,_F({global:!0,forced:!0},l),o||n.setStrong(r,e,i),r},XF=Qr,xF=mi,HF=RR,CF=Zt,OF=Op,LF=j,UF=cp,BF=xl,NF=Hl,VF=xp,jF=D,KF=yF.fastKey,QF=ro.set,WF=ro.getterFor,qF={getConstructor:function(e,t,n,r){var i=e((function(e,i){OF(e,o),QF(e,{type:t,index:XF(null),first:void 0,last:void 0,size:0}),jF||(e.size=0),LF(i)||UF(i,e[r],{that:e,AS_ENTRIES:n})})),o=i.prototype,a=WF(t),s=function(e,t,n){var r,i,o=a(e),s=c(e,t);return s?s.value=n:(o.last=s={index:i=KF(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),jF?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},c=function(e,t){var n,r=a(e),i=KF(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return HF(o,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,jF?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),jF?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=CF(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),HF(o,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),jF&&xF(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=WF(t),o=WF(r);BF(e,t,(function(e,t){QF(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?NF("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,NF(void 0,!0))}),n?"entries":"values",!n,!0),VF(t)}};IF("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),qF);var ZF=te.Map,$F=Zt,YF=F,JF=Ae,eP=Np,tP=j,nP=cp,rP=[].push,iP=function(e){var t,n,r,i,o=arguments.length,a=o>1?arguments[1]:void 0;return eP(this),(t=void 0!==a)&&JF(a),tP(e)?new this:(n=[],t?(r=0,i=$F(a,o>2?arguments[2]:void 0),nP(e,(function(e){YF(rP,n,i(e,r++))}))):nP(e,rP,{that:n}),new this(n))};Dn({target:"Map",stat:!0,forced:!0},{from:iP});var oP=ls,aP=function(){return new this(oP(arguments))};Dn({target:"Map",stat:!0,forced:!0},{of:aP});var sP=Ee,cP=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(sP(e)+" is not a map")},lP=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}},uP=lP,dP=ae("Map"),hP={Map:dP,set:uP("set",2),get:uP("get",1),has:uP("has",1),remove:uP("delete",1),proto:dP.prototype},pP=cP,fP=hP.remove;Dn({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=pP(this),n=!0,r=0,i=arguments.length;r<i;r++)e=fP(t,arguments[r]),n=n&&e;return!!n}});var gP=cP,vP=hP.get,mP=hP.has,yP=hP.set;Dn({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,i=gP(this);return mP(i,e)?(n=vP(i,e),"update"in t&&(n=t.update(n,e,i),yP(i,e,n)),n):(r=t.insert(e,i),yP(i,e,r),r)}});var _P=F,GP=function(e,t,n){for(var r,i,o=n||e.next;!(r=_P(o,e)).done;)if(void 0!==(i=t(r.value)))return i},RP=GP,bP=function(e,t,n){return n?RP(e.entries(),(function(e){return t(e[1],e[0])})):e.forEach(t)},TP=Zt,wP=cP,SP=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=wP(this),n=TP(e,arguments.length>1?arguments[1]:void 0);return!1!==SP(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}});var MP=Zt,EP=cP,zP=bP,DP=hP.Map,kP=hP.set;Dn({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=EP(this),n=MP(e,arguments.length>1?arguments[1]:void 0),r=new DP;return zP(t,(function(e,i){n(e,i,t)&&kP(r,i,e)})),r}});var AP=Zt,FP=cP,PP=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=FP(this),n=AP(e,arguments.length>1?arguments[1]:void 0),r=PP(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}});var IP=Zt,XP=cP,xP=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=XP(this),n=IP(e,arguments.length>1?arguments[1]:void 0),r=xP(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}});var HP=Dn,CP=F,OP=E,LP=Ae,UP=cp,BP=hP.Map,NP=v([].push);HP({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){var n=new(OP(this)?this:BP);LP(t);var r=LP(n.has),i=LP(n.get),o=LP(n.set);return UP(e,(function(e){var a=t(e);CP(r,n,a)?NP(CP(i,n,a),e):CP(o,n,a,[e])})),n}});var VP=function(e,t){return e===t||e!=e&&t!=t},jP=cP,KP=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===KP(jP(this),(function(t){if(VP(t,e))return!0}),!0)}});var QP=F,WP=cp,qP=E,ZP=Ae,$P=hP.Map;Dn({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(qP(this)?this:$P);ZP(t);var r=ZP(n.set);return WP(e,(function(e){QP(r,n,t(e),e)})),n}});var YP=cP,JP=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=JP(YP(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}});var eI=Zt,tI=cP,nI=bP,rI=hP.Map,iI=hP.set;Dn({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=tI(this),n=eI(e,arguments.length>1?arguments[1]:void 0),r=new rI;return nI(t,(function(e,i){iI(r,n(e,i,t),e)})),r}});var oI=Zt,aI=cP,sI=bP,cI=hP.Map,lI=hP.set;Dn({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=aI(this),n=oI(e,arguments.length>1?arguments[1]:void 0),r=new cI;return sI(t,(function(e,i){lI(r,i,n(e,i,t))})),r}});var uI=cP,dI=cp,hI=hP.set;Dn({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=uI(this),n=arguments.length,r=0;r<n;)dI(arguments[r++],(function(e,n){hI(t,e,n)}),{AS_ENTRIES:!0});return t}});var pI=Ae,fI=cP,gI=bP,vI=TypeError;Dn({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=fI(this),n=arguments.length<2,r=n?void 0:arguments[1];if(pI(e),gI(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw vI("Reduce of empty map with no initial value");return r}});var mI=Zt,yI=cP,_I=bP;Dn({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=yI(this),n=mI(e,arguments.length>1?arguments[1]:void 0);return!0===_I(t,(function(e,r){if(n(e,r,t))return!0}),!0)}});var GI=Ae,RI=cP,bI=TypeError,TI=hP.get,wI=hP.has,SI=hP.set;Dn({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=RI(this),r=arguments.length;GI(t);var i=wI(n,e);if(!i&&r<3)throw bI("Updating absent value");var o=i?TI(n,e):GI(r>2?arguments[2]:void 0)(e,n);return SI(n,e,t(o,e,n)),n}});var MI=F,EI=Ae,zI=E,DI=nn,kI=TypeError,AI=function(e,t){var n,r=DI(this),i=EI(r.get),o=EI(r.has),a=EI(r.set),s=arguments.length>2?arguments[2]:void 0;if(!zI(t)&&!zI(s))throw kI("At least one callback required");return MI(o,r,e)?(n=MI(i,r,e),zI(t)&&(n=t(n),MI(a,r,e,n))):zI(s)&&(n=s(),MI(a,r,e,n)),n};Dn({target:"Map",proto:!0,real:!0,forced:!0},{upsert:AI}),Dn({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:AI});var FI,PI,II=ZF,XI=n(II);function xI(e,t,n){var r;jy()?xI=Sy(r=Vy).call(r):xI=function(e,t,n){var r=[null];Ac(r).apply(r,t);var i=new(Sy(Function).apply(e,r));return n&&zy(i,n.prototype),i};return xI.apply(null,arguments)}function HI(e){var t="function"==typeof XI?new XI:void 0;return HI=function(e){if(null===e||(n=e,-1===dR(r=Function.toString.call(n)).call(r,"[native code]")))return e;var n,r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return xI(e,arguments,My(this).constructor)}return i.prototype=rh(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),zy(i,e)},HI(e)}var CI=function(e){return e[e.MANIFEST_HLS_ERROR=1100]="MANIFEST_HLS_ERROR",e[e.MANIFEST_DASH_ERROR=1200]="MANIFEST_DASH_ERROR",e[e.NETWORK=2100]="NETWORK",e[e.NETWORK_TIMEOUT=2101]="NETWORK_TIMEOUT",e[e.NETWORK_FORBIDDEN=2103]="NETWORK_FORBIDDEN",e[e.NETWORK_NOTFOUND=2104]="NETWORK_NOTFOUND",e[e.NETWORK_RANGE_NOT_SATISFIABLE=2116]="NETWORK_RANGE_NOT_SATISFIABLE",e[e.DEMUX_FLV_ERROR=3100]="DEMUX_FLV_ERROR",e[e.DEMUX_HLS_ERROR=3200]="DEMUX_HLS_ERROR",e[e.DEMUX_MP4_ERROR=3300]="DEMUX_MP4_ERROR",e[e.DEMUX_FMP4_ERROR=3400]="DEMUX_FMP4_ERROR",e[e.DEMUX_SIDX_ERROR=3410]="DEMUX_SIDX_ERROR",e[e.REMUX_FMP4_ERROR=4100]="REMUX_FMP4_ERROR",e[e.REMUX_MP4_ERROR=4200]="REMUX_MP4_ERROR",e[e.MEDIA_ERR_ABORTED=5101]="MEDIA_ERR_ABORTED",e[e.MEDIA_ERR_NETWORK=5102]="MEDIA_ERR_NETWORK",e[e.MEDIA_ERR_DECODE=5103]="MEDIA_ERR_DECODE",e[e.MEDIA_ERR_SRC_NOT_SUPPORTED=5104]="MEDIA_ERR_SRC_NOT_SUPPORTED",e[e.MEDIA_ERR_CODEC_NOT_SUPPORTED=5105]="MEDIA_ERR_CODEC_NOT_SUPPORTED",e[e.MEDIA_ERR_URL_EMPTY=5106]="MEDIA_ERR_URL_EMPTY",e[e.MEDIA_MSE_ADD_SB=5200]="MEDIA_MSE_ADD_SB",e[e.MEDIA_MSE_APPEND_BUFFER=5201]="MEDIA_MSE_APPEND_BUFFER",e[e.MEDIA_MSE_OTHER=5202]="MEDIA_MSE_OTHER",e[e.MEDIA_MSE_FULL=5203]="MEDIA_MSE_FULL",e[e.MEDIA_MSE_HIJACK=5204]="MEDIA_MSE_HIJACK",e[e.MEDIA_EME_HIJACK=5301]="MEDIA_EME_HIJACK",e[e.DRM_LICENSE=7100]="DRM_LICENSE",e[e.DRM_CUSTOM_LICENSE=7200]="DRM_CUSTOM_LICENSE",e[e.OTHER=8e3]="OTHER",e[e.RUNTIME_NO_CANPLAY_ERROR=9001]="RUNTIME_NO_CANPLAY_ERROR",e[e.RUNTIME_BUFFERBREAK_ERROR=9002]="RUNTIME_BUFFERBREAK_ERROR",e[e.RUNTIME_BWAITING_TIMEOUT_ERROR=9002]="RUNTIME_BWAITING_TIMEOUT_ERROR",e[e.MODULE_LOAD_ERROR=110]="MODULE_LOAD_ERROR",e.UNKNOWN="UNKNOWN",e}(CI||{}),OI=(Yd(FI={},2100,{messageTextKey:"NETWORK",level:"Error"}),Yd(FI,2101,{messageTextKey:"NETWORK_TIMEOUT",level:"Error"}),Yd(FI,2103,{messageTextKey:"NETWORK_FORBIDDEN",level:"Error"}),Yd(FI,2104,{messageTextKey:"NETWORK_NOTFOUND",level:"Error"}),Yd(FI,5101,{messageTextKey:"MEDIA_ERR_ABORTED",level:"Error"}),Yd(FI,5102,{messageTextKey:"MEDIA_ERR_NETWORK",level:"Error"}),Yd(FI,5103,{messageTextKey:"MEDIA_ERR_DECODE",level:"Error"}),Yd(FI,5104,{messageTextKey:"MEDIA_ERR_SRC_NOT_SUPPORTED",level:"Error"}),Yd(FI,5105,{messageTextKey:"MEDIA_ERR_CODEC_NOT_SUPPORTED",level:"Error"}),Yd(FI,5106,{messageTextKey:"MEDIA_ERR_URL_EMPTY",level:"Error"}),Yd(FI,110,{messageTextKey:"MODULE_LOAD_ERROR",level:"Fatal"}),Yd(FI,7100,{messageTextKey:"DRM_LICENSE",level:"Fatal"}),FI);Yd(PI={},"manifest",{messageTextKey:"MANIFEST",level:"Error"}),Yd(PI,"network",{messageTextKey:"NETWORK",level:"Error"}),Yd(PI,"demux",{messageTextKey:"DEMUX",level:"Error"}),Yd(PI,"remux",{messageTextKey:"REMUX",level:"Error"}),Yd(PI,"media",{messageTextKey:"MEDIA",level:"Error"}),Yd(PI,"drm",{messageTextKey:"DRM",level:"Error"}),Yd(PI,"other",{messageTextKey:"OTHER",level:"Error"}),Yd(PI,"runtime",{messageTextKey:"RUNTIME",level:"Error"});var LI,UI,BI=function(e){Dy(n,e);var t=Ky(n);function n(e,r){var i,o,a,s,c,l,u;Zm(this,n);var d="string"==typeof e?{message:e}:e,h=null!==(i=null!==(o=null!==(a=null==r?void 0:r.getText(null==d?void 0:d.messageTextKey))&&void 0!==a?a:null==d?void 0:d.message)&&void 0!==o?o:null==d||null===(s=d.error)||void 0===s?void 0:s.message)&&void 0!==i?i:null==r?void 0:r.getText("UNKNOWN");return Yd(Jm(u=t.call(this,h)),"errorCode",void 0),Yd(Jm(u),"level",void 0),Yd(Jm(u),"ext",void 0),u.errorCode=null!==(c=null==d?void 0:d.errorCode)&&void 0!==c?c:"UNKNOWN",u.level=null!==(l=null==d?void 0:d.level)&&void 0!==l?l:"Error",u.ext=null==d?void 0:d.ext,u}return Ym(n)}(HI(Error));function NI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new BI(eh(eh({errorCode:e},OI[e]),t),n)}var VI=null!==(LI=null===(UI=document.currentScript)||void 0===UI?void 0:UI.src)&&void 0!==LI?LI:"https://tosv.byted.org/obj/lux/sdk/@byted/veplayer/".concat("2.3.1-rc.1","/object/umd/"),jI=new AS({baseUrl:mG(VI).call(VI,0,WT(VI).call(VI,"/"))});function KI(e,t){return QI.apply(this,arguments)}function QI(){return QI=qm(Qm().mark((function e(t,n){var r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,jI.load(t,n);case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),NI(CI.MODULE_LOAD_ERROR,{ext:{name:t,cdn:null===e.t0||void 0===e.t0||null===(r=e.t0.target)||void 0===r?void 0:r.src},error:e.t0});case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),QI.apply(this,arguments)}jI.registerPlugin,jI.register;var WI=function(e){return e.H265="h265",e.H264="h264",e}(WI||{}),qI=function(e){if(e){hT(e).call(e,"//")&&(e=location.protocol+e);try{return new bk(e)}catch(s_e){return}}};function ZI(e){var t,n={},r=function(e,t){var n=void 0!==zd&&$y(e)||e["@@iterator"];if(!n){if(Wy(e)||(n=g_(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.attributes);try{for(r.s();!(t=r.n()).done;){var i=t.value;n[i.name]=i.value}}catch(o){r.e(o)}finally{r.f()}return n}var $I=Object.freeze({__proto__:null,getAttributes:ZI,replaceAttributes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=ZI(e);return qG(t=jG(r)).call(t,(function(t){n[t]?null==e||e.setAttribute(t,n[t]):null==e||e.removeAttribute(t)})),e},setAttributes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qG(t=jG(n)).call(t,(function(t){var r=t,i=n[t];i&&(null==e||e.setAttribute(r,i))})),e}}),YI=['video/mp4;codecs="hev1.1.6.L120.90"','video/mp4;codecs="hev1.2.4.L120.90"','video/mp4;codecs="hev1.3.E.L120.90"','video/mp4;codecs="hev1.4.10.L120.90"'],JI=QA((function(e,t){var n;return null==t?void 0:bw(n=t.split("?")[0].toLowerCase()).call(n,e)})),eX=JI(".m3u8"),tX=JI(".mp4"),nX=JI(".flv"),rX=JI(".sdp"),iX=JI(".mpd");function oX(e){return eX(e)?"hls":nX(e)?"flv":rX(e)?"rtm":tX(e)?"mp4":iX(e)?"dash":"unknown"}function aX(){return(aX=qm(Qm().mark((function e(){var t,n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,KI(kS.PluginXgvideo);case 2:return t=e.sent,n=t.XGVideoPlugin,e.abrupt("return",null==n?void 0:n.isSupported());case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function sX(e,t){return function(e){if(Wy(e))return e}(e)||function(e,t){var n=null==e?null:void 0!==zd&&$y(e)||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(Ac(s).call(s,r.value),s.length!==t);c=!0);}catch(u){l=!0,i=u}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||g_(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.")}()}eh(eh(eh({},JE),$I),{},{getStreamType:oX,isMseSupported:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:WI.H264;return e===WI.H265?rz.isHevcSupported():e===WI.H264?rz.isMSESupport():rz.isMSESupport(e)},isSoftDecodeSupported:function(){return aX.apply(this,arguments)},isMMSSupported:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:WI.H264;return void 0!==window.ManagedMediaSource&&(e===WI.H264?window.ManagedMediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'):e===WI.H265?bS(YI).call(YI,(function(e){return window.ManagedMediaSource.isTypeSupported(e)})):window.ManagedMediaSource.isTypeSupported(e))},appendSearchParams:function(e,t){var n,r=qI(e);if(!e||!r)return null!==(n=e)&&void 0!==n?n:"";var i,o=hT(e).call(e,"//");for(var a in t){var s,c,l=t[a];if(null!=r&&r.searchParams.has(a))null==r||null===(s=r.searchParams)||void 0===s||s.set(a,l);else null==r||null===(c=r.searchParams)||void 0===c||c.append(a,l)}return e=r.toString(),o?null===(i=e)||void 0===i?void 0:i.replace(location.protocol,""):e},getUrlObject:qI});var cX="hls",lX="ll-hls",uX="flv",dX="rtm",hX="ll-flv",pX=window.VePlayer.Sniffer,fX=window.VePlayer.Codec,gX=window.VePlayer.util,vX=gX.isMMSSupported,mX=gX.isMseSupported;function yX(){return pX.os.isIos}function _X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fX.H264;return(yX()?vX:mX)(e)}var GX=function(e){return e.Error="Error",e.Stall="Stall",e}(GX||{}),RX=function(){function e(t){Zm(this,e),Yd(this,"nextProtocol",void 0),Yd(this,"preProtocol",void 0),Yd(this,"protocolStrategy",void 0),Yd(this,"_fallback",void 0),this._fallback=t.fallback}return Ym(e,[{key:"_getKindFallbackStrategy",value:function(e){var t,n,r,i,o;return null!==(t=null!==(n=null===(r=this._fallback)||void 0===r||null===(r=r.fallbackStrategy)||void 0===r||null===(r=r[this.protocolType])||void 0===r?void 0:r[e])&&void 0!==n?n:null===(i=this._fallback)||void 0===i||null===(i=i.fallbackStrategy)||void 0===i||null===(i=i.all)||void 0===i?void 0:i[e])&&void 0!==t?t:null===(o=this.defaultFallbackStrategy)||void 0===o?void 0:o[e]}},{key:"errorFallbackStrategy",get:function(){return this._getKindFallbackStrategy("Error")}},{key:"stallFallbackStrategy",get:function(){return this._getKindFallbackStrategy("Stall")}},{key:"shouldFallbackWhenError",value:function(e){var t,n,r,i;return null!==(t=this.errorFallbackStrategy)&&void 0!==t&&t.shouldFallback?null===(r=this.errorFallbackStrategy)||void 0===r?void 0:r.shouldFallback(this.protocolType,e):!(null===(n=this.errorFallbackStrategy)||void 0===n||!n.excludeList)&&!bw(i=this.errorFallbackStrategy.excludeList).call(i,e.error.errorCode)}}]),e}(),bX=window.VePlayer.strategy,TX=window.VePlayer.load,wX=window.VePlayer.Codec,SX=window.VePlayer.util.appendSearchParams,MX=function(){var e=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=null==t||null===(n=t.flv)||void 0===n?void 0:n.enableLowLatency,f=null===(r=null==t||null===(i=t.flv)||void 0===i||null===(i=i.lowLatency)||void 0===i?void 0:i.enableFrameChasing)||void 0===r||r,g=null!==(o=null==t||null===(a=t.flv)||void 0===a||null===(a=a.lowLatency)||void 0===a?void 0:a.abrPts)&&void 0!==o?o:"-800",e.next=5,bX.getCodec(t);case 5:return v=e.sent,e.next=8,bX.isSoftDecode(t,v);case 8:if(e.sent&&(h=v===wX.H265?bX.createSoftDecodeH265Strategy():bX.createSoftDecodeH264Strategy(),d=bX.createFlvMseStrategy(t)),_X("unknown"===v?wX.H264:v)&&(d=yX()?bX.createFlvMssStrategy(t):bX.createFlvMseStrategy(t)),d||h){e.next=13;break}return e.abrupt("return",{});case 13:return e.next=15,qT.all([(null===(s=d)||void 0===s?void 0:s.module)&&TX(d.module).catch((function(){})),(null===(c=h)||void 0===c?void 0:c.module)&&TX(h.module).catch((function(){}))]);case 15:return m=e.sent,y=sX(m,2),_=y[0],(null==(G=y[1])?void 0:G.XGVideoPlugin)&&(null===(l=h)||void 0===l||null===(u=l.afterLoad)||void 0===u||u.call(l,null==G?void 0:G.XGVideoPlugin)),R=bX.combineOptions([d,h]),b=[],p&&(R.url=SX(t.url,{abr_pts:g})),_&&(b.push(_.FlvPlugin),p&&f&&b.push(_.Adaptive)),e.abrupt("return",{options:R,plugins:b});case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),EX=window.VePlayer.DynamicModule,zX=window.VePlayer.load,DX=function(e){Dy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return uX}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:_X()});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t,n){var r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.enableSelector,e.abrupt("return",MX(r?eh(eh({},t),{},{flv:eh(eh({},t.flv),{},{enableLowLatency:!1})}):t));case 2:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:(t=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==t||null===(n=t.flv)||void 0===n?void 0:n.abr){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,zX(EX.PluginAbr).catch((function(){}));case 5:return o=e.sent,e.abrupt("return",{options:{abr:eh(eh({},i),{},{open:null===(r=i.enable)||void 0===r||r})},plugins:[null==o?void 0:o.AbrPlugin]});case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"getDrmStrategy",value:function(){}},{key:"getVeStrategy",value:function(){}}],[{key:"suffix",get:function(){return".flv"}},{key:"generateUrl",value:function(e,t){var n,r=t.generateUrlFromOtherProtocol;return null!==(n=e[uX])&&void 0!==n?n:r()}},{key:"canGenerateOtherProtocol",value:function(){return!0}}]),o}(RX),kX=function(e){Dy(r,e);var t,n=Ky(r);function r(){return Zm(this,r),n.apply(this,arguments)}return Ym(r,[{key:"protocolType",get:function(){return hX}},{key:"getProtocolStrategy",value:(t=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",MX(eh(eh({},t),{},{flv:eh(eh({},t.flv),{},{enableLowLatency:!0})})));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),r}(DX),AX=window.VePlayer.Sniffer,FX=function(e){return e.Fairplay="fairplay",e}(FX||{});function PX(e){if(null!=e&&e.fairplay&&("safari"===AX.browser||AX.os.isIos))return"fairplay"}function IX(e){var t=e.drm,n=e.streamType,r=PX(t);return!r||("fairplay"!==r||"hls"!==n)}var XX=window.VePlayer.Codec,xX=window.VePlayer.strategy,HX=window.VePlayer.load,CX=window.VePlayer.Sniffer,OX=window.VePlayer.util.isMseSupported;function LX(e){var t,n;return!(null==e||null===(t=e.hls)||void 0===t||!t.enableHlsJs)||"ssai"===(null==e||null===(n=e.ad)||void 0===n?void 0:n.adType)}var UX=function(){var e=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(IX({drm:t.drm,streamType:"hls"})){e.next=2;break}return e.abrupt("return",{options:{},plugins:[]});case 2:return e.next=4,xX.getCodec(t);case 4:return l=e.sent,e.next=7,xX.isSoftDecode(t,l);case 7:if(u=e.sent,d=LX(t),u&&(c=l===XX.H265?xX.createSoftDecodeH265Strategy():xX.createSoftDecodeH264Strategy(),s=xX.createHlsMseStrategy(t,d)),("mobile"!==CX.device||null!=t&&null!==(n=t.hls)&&void 0!==n&&n.enableMSE)&&OX("unknown"===l?XX.H264:l)&&(s=xX.createHlsMseStrategy(t,d)),s||c){e.next=13;break}return e.abrupt("return",{});case 13:return e.next=15,qT.all([(null===(r=s)||void 0===r?void 0:r.module)&&HX(s.module).catch((function(){})),(null===(i=c)||void 0===i?void 0:i.module)&&HX(c.module).catch((function(){}))]);case 15:return h=e.sent,p=sX(h,2),f=p[0],(null==(g=p[1])?void 0:g.XGVideoPlugin)&&(null===(o=c)||void 0===o||null===(a=o.afterLoad)||void 0===a||a.call(o,null==g?void 0:g.XGVideoPlugin)),v=xX.combineOptions([s,c]),e.abrupt("return",{options:v,plugins:null!=f&&f.HlsPlugin?[f.HlsPlugin]:[]});case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),BX=Ae,NX=qe,VX=V,jX=Nn,KX=TypeError,QX=function(e){return function(t,n,r,i){BX(n);var o=NX(t),a=VX(o),s=jX(o),c=e?s-1:0,l=e?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=l;break}if(c+=l,e?c<0:s<=c)throw KX("Reduce of empty array with no initial value")}for(;e?c>=0:s>c;c+=l)c in a&&(i=n(i,a[c],c,o));return i}},WX={left:QX(!1),right:QX(!0)}.left;Dn({target:"Array",proto:!0,forced:!Ap&&ge>79&&ge<83||!nu("reduce")},{reduce:function(e){var t=arguments.length;return WX(this,e,t,t>1?arguments[1]:void 0)}});var qX=Zs("Array").reduce,ZX=se,$X=qX,YX=Array.prototype,JX=n((function(e){var t=e.reduce;return e===YX||ZX(YX,e)&&t===YX.reduce?$X:t}));function ex(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function tx(e){return JX(e).call(e,(function(e,t){var n,r,i=JX(n=t.definitions).call(n,(function(e,t){var n=function(e){return"string"==typeof e?oX(e):e.type?e.type:oX(e.url)}(t);return ex(e,n,t),e}),{});return zS(r=jG(i)).call(r,(function(n){ex(e,n,eh(eh({},t),{},{definitions:i[n]}))})),e}),{})}function nx(e,t){var n=[];return null==e||qG(e).call(e,(function(e){var r,i=[];qG(r=e.definitions).call(r,(function(e){var n;"string"==typeof e?i.push(t(e)):i.push(eh(eh({},e),{},{url:t(e.url),fallbackUrls:null===(n=e.fallbackUrls)||void 0===n?void 0:zS(n).call(n,(function(e){return t(e)}))}))})),n.push(eh(eh({},e),{},{definitions:i}))})),n}function rx(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=lr(e);for(r=0;r<o.length;r++)n=o[r],dR(t).call(t,n)>=0||(i[n]=e[n]);return i}(e,t);if(Ns){var o=Ns(e);for(r=0;r<o.length;r++)n=o[r],dR(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ix=["getDrmConfig"],ox=window.VePlayer.DynamicModule,ax=window.VePlayer.load,sx=function(){var e=qm(Qm().mark((function e(t,n){var r,i,o,a,s,c,l,u,d,h,p;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=PX(t.drm),!t.url||r!==FX.Fairplay){e.next=18;break}return e.prev=2,a=null!==(i=null==t||null===(o=t.drm)||void 0===o?void 0:o.fairplay)&&void 0!==i?i:{},s=a.getDrmConfig,c=rx(a,ix),e.next=6,qT.all([ax(ox.PluginDrm).then((function(e){return e.DrmPlugin})).catch((function(){})),null==s?void 0:s({url:t.url})]);case 6:return l=e.sent,u=sX(l,2),d=u[0],h=u[1],p=DT({},c,null==t?void 0:t.drm,h),h&&(null==n||n.updateDrmConfig(h)),e.abrupt("return",{options:{drm:p},plugins:d?[d]:[]});case 15:e.prev=15,e.t0=e.catch(2),console.log(e.t0);case 18:return e.abrupt("return",{});case 19:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t,n){return e.apply(this,arguments)}}(),cx=window.VePlayer.DynamicModule,lx=window.VePlayer.load,ux=window.VePlayer.util,dx=function(e){Dy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return cX}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",UX(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:(t=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==t||null===(n=t.hls)||void 0===n?void 0:n.abr){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,lx(cx.PluginAbr).catch((function(){}));case 5:return o=e.sent,e.abrupt("return",{options:{hlsabr:eh(eh({},i),{},{open:null===(r=i.enable)||void 0===r||r})},plugins:[null==o?void 0:o.HlsAbrPlugin]});case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"getDrmStrategy",value:function(e,t){var n=t.player;return sx(e,n)}},{key:"getVeStrategy",value:function(){}}],[{key:"suffix",get:function(){return".m3u8"}},{key:"canGenerateOtherProtocol",value:function(){return!0}},{key:"generateUrl",value:function(e,t){var n=t.generateUrlFromOtherProtocol;return e[cX]?e[cX]:e[lX]?nx(e[lX],(function(e){return ux.appendSearchParams(e,{fpkey_normal_hls:"1"})})):n()}}]),o}(RX),hx=function(e){Dy(i,e);var t,n,r=Ky(i);function i(){return Zm(this,i),r.apply(this,arguments)}return Ym(i,[{key:"protocolType",get:function(){return lX}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(n=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(t=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",UX(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"getAbrStrategy",value:function(){}},{key:"getDrmStrategy",value:function(){}},{key:"getVeStrategy",value:function(){}}],[{key:"suffix",get:function(){return".m3u8"}},{key:"generateUrl",value:function(e){return e[lX]}},{key:"canGenerateOtherProtocol",value:function(){return!0}}]),i}(RX),px=window.VePlayer.DynamicModule,fx=window.VePlayer.load;function gx(){return vx.apply(this,arguments)}function vx(){return(vx=qm(Qm().mark((function e(){var t,n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fx(px.PluginRtm);case 2:return t=e.sent,n=t.RtmPlugin,e.abrupt("return",n.isSupported());case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mx(){return yx.apply(this,arguments)}function yx(){return yx=qm(Qm().mark((function e(){var t,n,r,i=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:Hye.H264,e.next=3,fx(px.PluginRtm);case 3:if(n=e.sent,r=n.RtmPlugin,t!==Hye.H264){e.next=7;break}return e.abrupt("return",r.isSupportedH264());case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)}))),yx.apply(this,arguments)}var _x=["fallbackUrl","enableRTMAutoTranscode"],Gx=window.VePlayer.strategy,Rx=window.VePlayer.util,bx=window.VePlayer.DynamicModule,Tx=window.VePlayer.load,wx=window.VePlayer.Codec,Sx=window.VePlayer.Sniffer,Mx={options:{},module:bx.PluginRtm},Ex=function(e){return"pc"===Sx.device?e.replace(".sdp",".flv"):e.replace(".sdp",".m3u8")},zx=function(){var e=qm(Qm().mark((function e(t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M,E,z;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c="",l=t.url,u=t.playlist,d=t.rtm||{},h=d.fallbackUrl,p=d.enableRTMAutoTranscode,f=rx(d,_x),g=t.rtm||{},v=g.enableFallback,m=void 0===v||v,null!=u&&u.length&&(m=!1),y=p||"true"===(null===(i=qI(l))||void 0===i?void 0:i.searchParams.get("enableRTMAutoTranscode")),m&&(h?c=h:y&&l?c=Ex(l):console.warn(z_(M_.EMPTY_RTM_FALLBACK_PARAMETER,r).message)),"flv"===(_=c&&Rx.getStreamType(c))&&Rx.isMseSupported(wx.H264)?s=Gx.createFlvMseStrategy(t):"hls"===_&&("mobile"!==Sx.device||null!=t&&null!==(o=t.hls)&&void 0!==o&&o.enableMSE)&&Rx.isMseSupported(wx.H264)&&(s=Gx.createHlsMseStrategy(t)),e.next=11,qT.all([Tx(Mx.module).then((function(e){return e.RtmPlugin})).catch((function(){})),s&&Tx(s.module).then((function(e){var t,n;return(null===(t=s)||void 0===t?void 0:t.module)===bx.PluginFlv?e.FlvPlugin:(null===(n=s)||void 0===n?void 0:n.module)===bx.PluginHls?e.HlsPlugin:void 0})).catch((function(){}))]);case 11:if(G=e.sent,R=sX(G,2),b=R[0],T=R[1],!c){e.next=25;break}return e.next=18,qT.all([gx(),mx()]);case 18:if(w=e.sent,S=sX(w,2),M=S[0],E=S[1],M&&E){e.next=25;break}return n&&n.emit("degrade",{url:c,originRtmUrl:l,code:"NOT_SUPPORT",message:"not support rtm or h264",isRTMSupported:M,isRTMSupportCodec:E}),e.abrupt("return",{options:eh(eh({},(null===(z=s)||void 0===z?void 0:z.options)||{}),{},{url:c,_RTMdegrade:{_originRtmUrl:l,_isRTMSupported:M,_isRTMSupportCodec:E}}),plugins:T?[T]:[]});case 25:return e.abrupt("return",{options:eh(eh({},(null===(a=s)||void 0===a?void 0:a.options)||{}),{},{url:p?Rx.appendSearchParams(l,{enableRTMAutoTranscode:"true"}):void 0,_RTMdegrade:void 0,rts:eh(eh({retryCount:0},f),{},{backupURL:c,backupConstruct:T})}),plugins:b?[b]:[]});case 26:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Dx=function(e){Dy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return dX}},{key:"defaultFallbackStrategy",get:function(){return Yd({},GX.Error,{shouldFallback:function(){return!0}})}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){var t,n,r,i;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qT.all([gx(),mx()]);case 2:return t=e.sent,n=sX(t,2),r=n[0],i=n[1],e.abrupt("return",{canPlay:r&&i});case 7:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t,n){var r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.player,i=n.i18n,o=n.enableSelector,e.next=3,zx(o?{options:t,rtm:eh(eh({},t.rtm),{},{enableFallback:!1})}:t,r,i);case 3:return this.protocolStrategy=e.sent,e.abrupt("return",this.protocolStrategy);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:function(){}},{key:"getDrmStrategy",value:function(){}},{key:"getVeStrategy",value:(t=qm(Qm().mark((function e(t,n){var r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.veStrategyManager,o=null==i||null===(r=i.rtmAdaptiveBuffer)||void 0===r?void 0:r.getResult()){e.next=4;break}return e.abrupt("return",{options:t,plugins:[]});case 4:return e.abrupt("return",{options:{rts:eh({},o)},plugins:[]});case 5:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}],[{key:"suffix",get:function(){return".sdp"}},{key:"canGenerateOtherProtocol",value:function(e){var t;return null===(t=e.rtm)||void 0===t?void 0:t.enableRTMAutoTranscode}},{key:"generateUrl",value:function(e,t){var n,r=t.generateUrlFromOtherProtocol,i=t.options;return e[dX]?e[dX]:null!==(n=i.rtm)&&void 0!==n&&n.enableRTMAutoTranscode?r():void console.warn("生成 rtm 地址失败。请传入 rtm 播放地址,或开启自动转码")}}]),o}(RX),kx=function(){function e(t){var n=t.queue,r=t.streams,i=t.options;Zm(this,e),Yd(this,"current",void 0),Yd(this,"_queue",void 0),Yd(this,"_streams",void 0),Yd(this,"_options",void 0),this._queue=n,this._streams=r,this._options=i,this.current=this._getStartProtocol()}var t;return Ym(e,[{key:"getProtocol",value:(t=qm(Qm().mark((function e(){var t;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.current){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.current.canPlay();case 4:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=8;break}e.t0=void 0!==t;case 8:if(!e.t0){e.next=12;break}e.t2=t,e.next=13;break;case 12:e.t2={};case 13:if(!e.t2.canPlay){e.next=17;break}return e.abrupt("return",this.current);case 17:return this.next(),e.abrupt("return",this.getProtocol());case 19:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"next",value:function(){var e;this.current=null===(e=this.current)||void 0===e?void 0:e.nextProtocol}},{key:"_getStartProtocol",value:function(){for(var e,t=this._queue.length-1;t>=0;t--){var n=this._queue[t],r=this._streams[n];r&&(e&&(e.preProtocol=r,r.nextProtocol=e),e=r)}return e}}]),e}(),Ax=function(e){Dy(n,e);var t=Ky(n);function n(e){var r=e.streams,i=e.options;return Zm(this,n),t.call(this,{queue:n.queue,streams:r,options:i})}return Ym(n)}(kx);Yd(Ax,"queue",[dX,hX,uX,lX,cX]);var Fx=function(e){Dy(n,e);var t=Ky(n);function n(e){var r,i=e.streams,o=e.options;return Zm(this,n),t.call(this,{queue:null===(r=o.fallback)||void 0===r?void 0:r.fallbackOrder,streams:i,options:o})}return Ym(n)}(kx);Yd(Fx,"queue",void 0);var Px={exports:{}};!function(e,n){var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object AsyncFunction]",s="[object Function]",c="[object GeneratorFunction]",l="[object Null]",u="[object Object]",d="[object Proxy]",h="[object Undefined]",p=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[o]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g[s]=g["[object Map]"]=g["[object Number]"]=g[u]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var v="object"==Wd(t)&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,y=v||m||Function("return this")(),_=n&&!n.nodeType&&n,G=_&&e&&!e.nodeType&&e,R=G&&G.exports===_,b=R&&v.process,T=function(){try{var e=G&&G.require&&G.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(VO){}}(),w=T&&T.isTypedArray;var S=Array.prototype,M=Function.prototype,E=Object.prototype,z=y["__core-js_shared__"],D=M.toString,k=E.hasOwnProperty,A=function(){var e=/[^.]+$/.exec(z&&gM(z)&&gM(z).IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),F=E.toString,P=D.call(Object),I=RegExp("^"+D.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),X=R?y.Buffer:void 0,x=y.Symbol,H=y.Uint8Array,C=X?X.allocUnsafe:void 0,O=function(e,t){return function(n){return e(t(n))}}(yM,Object),L=vM,U=E.propertyIsEnumerable,B=sM(S),N=x?x.toStringTag:void 0,V=function(){try{var e=ve(Object,"defineProperty");return e({},"",{}),e}catch(VO){}}(),j=X?X.isBuffer:void 0,K=Math.max,Q=vR,W=ve(y,"Map"),q=ve(Object,"create"),Z=function(){function e(){}return function(t){if(!ze(t))return{};if(L)return L(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=this.__data__=new Y(e);this.size=t.size}function te(e,t){var n=Te(e),r=!n&&be(e),i=!n&&!r&&Se(e),o=!n&&!r&&!i&&ke(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!k.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||me(l,c))||s.push(l);return s}function ne(e,t,n){(void 0!==n&&!Re(e[t],n)||void 0===n&&!(t in e))&&oe(e,t,n)}function re(e,t,n){var r=e[t];k.call(e,t)&&Re(r,n)&&(void 0!==n||t in e)||oe(e,t,n)}function ie(e,t){for(var n=e.length;n--;)if(Re(e[n][0],t))return n;return-1}function oe(e,t,n){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return k.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:k.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ie(t,e);return!(n<0)&&(n==t.length-1?t.pop():B.call(t,n,1),--this.size,!0)},Y.prototype.get=function(e){var t=this.__data__,n=ie(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ie(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},J.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(W||Y),string:new $}},J.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},J.prototype.get=function(e){return ge(this,e).get(e)},J.prototype.has=function(e){return ge(this,e).has(e)},J.prototype.set=function(e,t){var n=ge(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ee.prototype.clear=function(){this.__data__=new Y,this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ee.prototype.get=function(e){return this.__data__.get(e)},ee.prototype.has=function(e){return this.__data__.has(e)},ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new J(r)}return n.set(e,t),this.size=n.size,this};var ae,se=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[ae?a:++r];if(!1===t(i[s],s,i))break}return e};function ce(e){return null==e?void 0===e?h:l:N&&N in Object(e)?function(e){var t=k.call(e,N),n=e[N];try{e[N]=void 0;var r=!0}catch(VO){}var i=F.call(e);r&&(t?e[N]=n:delete e[N]);return i}(e):function(e){return F.call(e)}(e)}function le(e){return De(e)&&ce(e)==o}function ue(e){return!(!ze(e)||function(e){return!!A&&A in e}(e))&&(Me(e)?I:p).test(function(e){if(null!=e){try{return D.call(e)}catch(VO){}try{return e+""}catch(VO){}}return""}(e))}function de(e){if(!ze(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&k.call(e,r))&&n.push(r);return n}function he(e,t,n,r,i){e!==t&&se(t,(function(o,a){if(i||(i=new ee),ze(o))!function(e,t,n,r,i,o,a){var s=_e(e,n),c=_e(t,n),l=a.get(c);if(l)return void ne(e,n,l);var d=o?o(s,c,n+"",e,t,a):void 0,h=void 0===d;if(h){var p=Te(c),f=!p&&Se(c),g=!p&&!f&&ke(c);d=c,p||f||g?Te(s)?d=s:De(G=s)&&we(G)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):f?(h=!1,d=function(e,t){if(t)return mG(e).call(e);var n=e.length,r=C?C(n):new e.constructor(n);return e.copy(r),r}(c,!0)):g?(h=!1,v=c,m=!0?(y=v.buffer,_=new y.constructor(y.byteLength),new H(_).set(new H(y)),_):v.buffer,d=new v.constructor(m,v.byteOffset,v.length)):d=[]:function(e){if(!De(e)||ce(e)!=u)return!1;var t=O(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&D.call(n)==P}(c)||be(c)?(d=s,be(s)?d=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?oe(n,s,c):re(n,s,c)}return n}(e,Ae(e))}(s):ze(s)&&!Me(s)||(d=function(e){return"function"!=typeof e.constructor||ye(e)?{}:Z(O(e))}(c))):h=!1}var v,m,y,_;var G;h&&(a.set(c,d),i(d,c,r,o,a),a.delete(c));ne(e,n,d)}(e,t,a,n,he,r,i);else{var s=r?r(_e(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ne(e,a,s)}}),Ae)}function pe(e,t){return Ge(function(e,t,n){return t=K(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=K(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ie),e+"")}var fe=V?function(e,t){return V(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ie;function ge(e,t){var n,r,i=e.__data__;return("string"==(r=Wd(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:zS(i)}function ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function me(e,t){var n=Wd(e);return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&f.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function _e(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ge=function(e){var t=0,n=0;return function(){var r=Q(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(fe);function Re(e,t){return e===t||e!=e&&t!=t}var be=le(function(){return arguments}())?le:function(e){return De(e)&&k.call(e,"callee")&&!U.call(e,"callee")},Te=uS;function we(e){return null!=e&&Ee(e.length)&&!Me(e)}var Se=j||function(){return!1};function Me(e){if(!ze(e))return!1;var t=ce(e);return t==s||t==c||t==a||t==d}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function ze(e){var t=Wd(e);return null!=e&&("object"==t||"function"==t)}function De(e){return null!=e&&"object"==Wd(e)}var ke=w?function(e){return function(t){return e(t)}}(w):function(e){return De(e)&&Ee(e.length)&&!!g[ce(e)]};function Ae(e){return we(e)?te(e,!0):de(e)}var Fe,Pe=(Fe=function(e,t,n){he(e,t,n)},pe((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Fe.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!ze(n))return!1;var r=Wd(t);return!!("number"==r?we(n)&&me(t,n.length):"string"==r&&t in n)&&Re(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Fe(e,a,n,i)}return e})));function Ie(e){return e}e.exports=Pe}(Px,Px.exports);var Ix,Xx=n(Px.exports),xx=function(){function e(t){Zm(this,e),Yd(this,"_options",void 0),Yd(this,"_selector",void 0),Yd(this,"_protocol",void 0),Yd(this,"_playlistMap",{}),this._options=t,this._init({url:t.url,playlist:t.playlist})}var t,n,r,i,o;return Ym(e,[{key:"enableSelector",get:function(){return!!this._selector}},{key:"protocol",get:function(){return this._protocol}},{key:"playlist",get:function(){var e;return null!==(e=this._protocol)&&void 0!==e&&e.protocolType&&this._playlistMap?this._playlistMap[this._protocol.protocolType]:void 0}},{key:"getProtocol",value:(o=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._selector){e.next=4;break}return e.next=3,this._selector.getProtocol();case 3:this._protocol=e.sent;case 4:return e.abrupt("return",this._protocol);case 5:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"update",value:(i=qm(Qm().mark((function e(t){var n,r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.url,r=t.playlist,this._options=eh(eh({},this._options),{},{url:n,playlist:r}),this._init({url:n,playlist:r}),e.next=5,this.getProtocol();case 5:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"next",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._selector){e.next=2;break}return e.abrupt("return");case 2:return this._selector.next(),e.next=5,this.getProtocol();case 5:return e.abrupt("return",this._protocol);case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getStrategy",value:(n=qm(Qm().mark((function e(t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M,E;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=this._protocol,e.next=3,qT.all([null==l?void 0:l.getProtocolStrategy(this._options,{player:t,i18n:n,enableSelector:!!this._selector}),null==l||null===(i=l.getDrmStrategy)||void 0===i?void 0:i.call(l,this._options,{player:t}),null==l||null===(o=l.getAbrStrategy)||void 0===o?void 0:o.call(l,this._options),null==l||null===(a=l.getVeStrategy)||void 0===a?void 0:a.call(l,this._options,{veStrategyManager:r})]);case 3:return u=e.sent,d=sX(u,4),h=d[0],p=d[1],f=d[2],g=d[3],m=(v=null!=h?h:{}).options,y=v.plugins,G=(_=null!=p?p:{}).options,R=_.plugins,T=(b=null!=f?f:{}).options,w=b.plugins,M=(S=null!=g?g:{}).options,E=S.plugins,e.abrupt("return",{options:Xx(m,G,T,M),plugins:b_(s=[]).call(s,v_(null!=y?y:[]),v_(null!=R?R:[]),v_(null!=w?w:[]),v_(null!=E?E:[])),useSrc:!(null!=h&&null!==(c=h.plugins)&&void 0!==c&&c.length),protocol:null==l?void 0:l.protocolType});case 14:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_init",value:function(t){var n=t.url,r=t.playlist;if(r){var i,o,a=tx(r),s="low"===this._options.latencyMode?Ax:Fx,c=null!==(i=null==s?void 0:s.queue)&&void 0!==i?i:null===(o=this._options.fallback)||void 0===o?void 0:o.fallbackOrder;if(null!=c&&c.length){var l=e._generateProtocolMap(c,a,this._options),u=l.protocolMap,d=l.playlistMap;return this._playlistMap=d,void(this._selector=new s({streams:u,options:this._options}))}this._playlistMap=a,this._initSingleProtocol(jG(a)[0])}else n&&this._initSingleProtocol(oX(n))}},{key:"_initSingleProtocol",value:function(t){t&&(this._protocol=new e._protocolMap[t](this._options))}}],[{key:"create",value:(t=qm(Qm().mark((function t(n){var r;return Qm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new e(n),t.next=3,r.getProtocol();case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})},{key:"_generateProtocolMap",value:function(t,n,r){var i={},o={},a=LS(t).call(t,(function(t){return e._protocolMap[t].canGenerateOtherProtocol(r)&&n[t]}));return qG(t).call(t,(function(t){var s,c,l=null!==(s=null===(c=e._protocolMap[t])||void 0===c?void 0:c.generateUrl(n,{generateUrlFromOtherProtocol:function(){if(a)return function(e,t,n){return nx(e,(function(e){return e.replace(t,n)}))}(n[a],e._protocolMap[a].suffix,e._protocolMap[t].suffix)},options:r}))&&void 0!==s?s:n[t];l&&(o[t]=l,i[t]=new e._protocolMap[t](r))})),{protocolMap:i,playlistMap:o}}}]),e}();Yd(xx,"_protocolMap",(Yd(Ix={},uX,DX),Yd(Ix,hX,kX),Yd(Ix,cX,dx),Yd(Ix,lX,hx),Yd(Ix,dX,Dx),Ix));var Hx=function(){function e(){var t=this;Zm(this,e),Yd(this,"player",void 0),Yd(this,"protocolManager",void 0),Yd(this,"beforeFallbackError",function(){var e=qm(Qm().mark((function e(n){var r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(r=t.protocolManager)&&void 0!==r&&null!==(r=r.protocol)&&void 0!==r&&r.shouldFallbackWhenError({error:n})&&null!==(i=t.protocolManager)&&void 0!==i&&null!==(i=i.protocol)&&void 0!==i&&i.nextProtocol){e.next=2;break}return e.abrupt("return",{canEmitError:!0});case 2:return e.next=4,null===(o=t.protocolManager)||void 0===o?void 0:o.next();case 4:if(e.sent&&null!==(a=t.protocolManager)&&void 0!==a&&a.playlist){e.next=7;break}return e.abrupt("return",{canEmitError:!0});case 7:return t.fallback(),e.abrupt("return",{canEmitError:!1});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}var t;return Ym(e,[{key:"initErrorFallback",value:function(e,t){this.player=e,this.protocolManager=t}},{key:"fallback",value:(t=qm(Qm().mark((function e(){var t,n,r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(t=this.protocolManager)&&void 0!==t&&t.playlist){e.next=2;break}return e.abrupt("return");case 2:o=null===(n=this.player)||void 0===n?void 0:n.definition,a=null===(r=this.player)||void 0===r?void 0:r.source,null===(i=this.player)||void 0===i||i.updatePlaylist(this.protocolManager.playlist,{definition:o,source:a},!1);case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Cx=new Hx;IF("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),qF);var Ox=te.Set,Lx=Ee,Ux=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw TypeError(Lx(e)+" is not a set")},Bx=lP,Nx=ae("Set"),Vx=Nx.prototype,jx={Set:Nx,add:Bx("add",1),has:Bx("has",1),remove:Bx("delete",1),proto:Vx},Kx=GP,Qx=function(e,t,n){return n?Kx(e.keys(),t):e.forEach(t)},Wx=Qx,qx=jx.Set,Zx=jx.add,$x=function(e){var t=new qx;return Wx(e,(function(e){Zx(t,e)})),t},Yx=function(e){return e.size},Jx=Ae,eH=nn,tH=F,nH=In,rH=TypeError,iH=Math.max,oH=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r};oH.prototype={getIterator:function(){return eH(tH(this.keys,this.set))},includes:function(e){return tH(this.has,this.set,e)}};var aH=function(e){eH(e);var t=+e.size;if(t!=t)throw rH("Invalid size");return new oH(e,iH(nH(t),0),Jx(e.has),Jx(e.keys))},sH=Ux,cH=$x,lH=Yx,uH=aH,dH=Qx,hH=GP,pH=jx.has,fH=jx.remove,gH=function(e){var t=sH(this),n=uH(e),r=cH(t);return lH(t)<=n.size?dH(t,(function(e){n.includes(e)&&fH(r,e)})):hH(n.getIterator(),(function(e){pH(t,e)&&fH(r,e)})),r},vH=function(){return!1},mH=gH;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{difference:mH});var yH=Ux,_H=Yx,GH=aH,RH=Qx,bH=GP,TH=jx.Set,wH=jx.add,SH=jx.has,MH=function(e){var t=yH(this),n=GH(e),r=new TH;return _H(t)>n.size?bH(n.getIterator(),(function(e){SH(t,e)&&wH(r,e)})):RH(t,(function(e){n.includes(e)&&wH(r,e)})),r},EH=MH;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{intersection:EH});var zH=Ux,DH=jx.has,kH=Yx,AH=aH,FH=Qx,PH=GP,IH=Wh,XH=function(e){var t=zH(this),n=AH(e);if(kH(t)<=n.size)return!1!==FH(t,(function(e){if(n.includes(e))return!1}),!0);var r=n.getIterator();return!1!==PH(r,(function(e){if(DH(t,e))return IH(r,"normal",!1)}))},xH=XH;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{isDisjointFrom:xH});var HH=Ux,CH=Yx,OH=Qx,LH=aH,UH=function(e){var t=HH(this),n=LH(e);return!(CH(t)>n.size)&&!1!==OH(t,(function(e){if(!n.includes(e))return!1}),!0)},BH=UH;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{isSubsetOf:BH});var NH=Ux,VH=jx.has,jH=Yx,KH=aH,QH=GP,WH=Wh,qH=function(e){var t=NH(this),n=KH(e);if(jH(t)<n.size)return!1;var r=n.getIterator();return!1!==QH(r,(function(e){if(!VH(t,e))return WH(r,"normal",!1)}))},ZH=qH;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{isSupersetOf:ZH});var $H=Ux,YH=$x,JH=aH,eC=GP,tC=jx.add,nC=jx.has,rC=jx.remove,iC=function(e){var t=$H(this),n=JH(e).getIterator(),r=YH(t);return eC(n,(function(e){nC(t,e)?rC(r,e):tC(r,e)})),r},oC=iC;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{symmetricDifference:oC});var aC=Ux,sC=jx.add,cC=$x,lC=aH,uC=GP,dC=function(e){var t=aC(this),n=lC(e).getIterator(),r=cC(t);return uC(n,(function(e){sC(r,e)})),r},hC=dC;Dn({target:"Set",proto:!0,real:!0,forced:!vH()},{union:hC});var pC=Ox;Dn({target:"Set",stat:!0,forced:!0},{from:iP}),Dn({target:"Set",stat:!0,forced:!0},{of:aP});var fC=Ux,gC=jx.add;Dn({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=fC(this),t=0,n=arguments.length;t<n;t++)gC(e,arguments[t]);return e}});var vC=Ux,mC=jx.remove;Dn({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=vC(this),n=!0,r=0,i=arguments.length;r<i;r++)e=mC(t,arguments[r]),n=n&&e;return!!n}});var yC=Zt,_C=Ux,GC=Qx;Dn({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=_C(this),n=yC(e,arguments.length>1?arguments[1]:void 0);return!1!==GC(t,(function(e){if(!n(e,e,t))return!1}),!0)}});var RC=yr,bC=Ye,TC=j,wC=Fc,SC=ht("iterator"),MC=Object,EC=E,zC=function(e){if(TC(e))return!1;var t=MC(e);return void 0!==t[SC]||"@@iterator"in t||bC(wC,RC(t))},DC=ee,kC=ae("Set"),AC=function(e){return function(e){return DC(e)&&"number"==typeof e.size&&EC(e.has)&&EC(e.keys)}(e)?e:zC(e)?new kC(e):e},FC=F,PC=AC,IC=gH;Dn({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return FC(IC,this,PC(e))}});var XC=Zt,xC=Ux,HC=Qx,CC=jx.Set,OC=jx.add;Dn({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=xC(this),n=XC(e,arguments.length>1?arguments[1]:void 0),r=new CC;return HC(t,(function(e){n(e,e,t)&&OC(r,e)})),r}});var LC=Zt,UC=Ux,BC=Qx;Dn({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=UC(this),n=LC(e,arguments.length>1?arguments[1]:void 0),r=BC(t,(function(e){if(n(e,e,t))return{value:e}}),!0);return r&&r.value}});var NC=F,VC=AC,jC=MH;Dn({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return NC(jC,this,VC(e))}});var KC=F,QC=AC,WC=XH;Dn({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return KC(WC,this,QC(e))}});var qC=F,ZC=AC,$C=UH;Dn({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return qC($C,this,ZC(e))}});var YC=F,JC=AC,eO=qH;Dn({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return YC(eO,this,JC(e))}});var tO=Dn,nO=v,rO=Ux,iO=Qx,oO=Rr,aO=nO([].join),sO=nO([].push);tO({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=rO(this),n=void 0===e?",":oO(e),r=[];return iO(t,(function(e){sO(r,e)})),aO(r,n)}});var cO=Zt,lO=Ux,uO=Qx,dO=jx.Set,hO=jx.add;Dn({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=lO(this),n=cO(e,arguments.length>1?arguments[1]:void 0),r=new dO;return uO(t,(function(e){hO(r,n(e,e,t))})),r}});var pO=Ae,fO=Ux,gO=Qx,vO=TypeError;Dn({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=fO(this),n=arguments.length<2,r=n?void 0:arguments[1];if(pO(e),gO(t,(function(i){n?(n=!1,r=i):r=e(r,i,i,t)})),n)throw vO("Reduce of empty set with no initial value");return r}});var mO=Zt,yO=Ux,_O=Qx;Dn({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=yO(this),n=mO(e,arguments.length>1?arguments[1]:void 0);return!0===_O(t,(function(e){if(n(e,e,t))return!0}),!0)}});var GO=F,RO=AC,bO=iC;Dn({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return GO(bO,this,RO(e))}});var TO=F,wO=AC,SO=dC;Dn({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return TO(SO,this,wO(e))}});var MO,EO=n(pC),zO=nn,DO=F,kO=Ye,AO=se,FO=function(){var e=zO(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},PO=RegExp.prototype,IO=se,XO=function(e){var t=e.flags;return void 0!==t||"flags"in PO||kO(e,"flags")||!AO(PO,e)?t:DO(FO,e)},xO=RegExp.prototype,HO=n((function(e){return e===xO||IO(xO,e)?XO(e):e.flags})),CO=n(II),OO=function(){return(OO=DT||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function LO(e,t){var n="function"==typeof YG&&_M(e);if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function UO(){for(var e=[],t=0;t<arguments.length;t++)e=b_(e).call(e,LO(arguments[t]));return e}var BO,NO,VO,jO,KO,QO,WO=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 n=this;e&&t&&"function"==typeof t&&this.on(e,(function r(i){t(i),n.off(e,r)}))},e.prototype.off=function(e,t){if(e&&this._hooks[e]&&this._hooks[e].length)if(t){var n,r,i=hR(n=this._hooks[e]).call(n,t);-1!==i&&sM(r=this._hooks[e]).call(r,i,1)}else this._hooks[e]=[]},e.prototype.emit=function(e,t,n){if(n){var r;if(!e)return;-1!==hR(r=this._cache).call(r,n)?this._emit(e,t):(this._hooksCache.hasOwnProperty(n)||(this._hooksCache[n]={}),this._hooksCache[n].hasOwnProperty(e)||(this._hooksCache[n][e]=[]),this._hooksCache[n][e].push(t))}else this._emit(e,t)},e.prototype._emit=function(e,t){var n;e&&this._hooks[e]&&this._hooks[e].length&&qG(n=UO(this._hooks[e])).call(n,(function(e){try{e(t)}catch(n){}}))},e.prototype.set=function(e){var t;e&&-1===hR(t=this._cache).call(t,e)&&this._cache.push(e)},e}(),qO=function(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)},ZO=(BO=+vR()+Number(mG(MO=""+Math.random()).call(MO,2,8)),function(){return BO+=1}),$O=function(e){return function(e,t,n){if("string"==typeof e&&"number"==typeof n){var r,i=[];n=n<=25?n:n%25;var o=String.fromCharCode(n+97);r=e.split(o);for(var a=0;a<r.length;a++){var s=Y_(r[a],n);s=1*s^64;var c=String.fromCharCode(s);i.push(c)}return i.join("")}}(e,0,25)},YO=function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},JO=function(e){var t=document.createElement("a");return t.href=e,t},eL=function(e){var t={};try{var n,r=JO(e).search;if(!r)return t;qG(n=(r=mG(r).call(r,1)).split("&")).call(n,(function(e){var n,r,i=e.split("=");i.length&&(n=i[0],r=i[1]);try{t[n]=decodeURIComponent(void 0===r?"":r)}catch(o){t[n]=r}}))}catch(i){}return t},tL=function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t},nL=(VO=NO={exports:{}},jO=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=PT(n);/^[\{\[]/.test(a)&&(n=a)}catch(l){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in o)o[c]&&(s+="; "+c,!0!==o[c]&&(s+="="+o[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),c=mG(s).call(s,1).join("=");n||'"'!==c.charAt(0)||(c=mG(c).call(c,1,-1));try{var l=t(s[0]);if(c=(r.read||r)(c,l)||t(c),n)try{c=JSON.parse(c)}catch(u){}if(i[l]=c,e===l)break}catch(u){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))},VO.exports=jO(),NO.exports),rL=function(e,t){try{return e?nL.get(e):nL.get()}catch(n){return""}},iL=function(e,t,n,r){try{var i=r||document.domain,o=+new Date+(n||6048e5);nL.set(e,t,{expires:new Date(o),path:"/",domain:i})}catch(a){}},oL=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,t){return rL(e)},e.prototype.setCookie=function(e,t,n,r){iL(e,t,n,r)},e}(),aL={getItem:function(e){try{var t=localStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);localStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{localStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return rL(e)},setCookie:function(e,t,n,r){iL(e,t,n,r)},isSupportLS:function(){try{return localStorage.setItem("_ranger-test-key","hi"),localStorage.getItem("_ranger-test-key"),localStorage.removeItem("_ranger-test-key"),!0}catch(VO){return!1}}()},sL={getItem:function(e){try{var t=sessionStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);sessionStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{sessionStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return rL(e)},setCookie:function(e,t,n,r){iL(e,t,n,r)},isSupportSession:function(){try{return sessionStorage.setItem("_ranger-test-key","hi"),sessionStorage.getItem("_ranger-test-key"),sessionStorage.removeItem("_ranger-test-key"),!0}catch(VO){return!1}}()},cL=function(){function e(e,t){this._storage=t&&"session"===t?sL:!e&&aL.isSupportLS?aL:new oL}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,n,r){this._storage.setCookie(e,t,n,r)},e.prototype.removeItem=function(e){this._storage.removeItem(e)},e}(),lL=function(){function e(e,t,n){this.appid=e,this.domain=t,this.userAgent=window.navigator.userAgent,this.appVersion=window.navigator.appVersion,this.cookie_expire=n}return e.prototype.init=function(){var e,t=window.navigator.userAgent,n=window.navigator.language,r=document.referrer,i=r?JO(r).hostname:"",o=eL(window.location.href),a=/Mobile|htc|mini|Android|iP(ad|od|hone)/.test(this.appVersion)?"wap":"web",s=(null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType)||"";this.utm=function(e,t,n,r){var i=new cL(!1),o=new cL(!1,"session"),a=e?"_tea_utm_cache_"+e:"_tea_utm_cache",s=e?"_$utm_from_url_"+e:"_$utm_from_url",c={},l=["tr_shareuser","tr_admaster","tr_param1","tr_param2","tr_param3","tr_param4","$utm_from_url"],u={ad_id:Number(t.ad_id)||void 0,campaign_id:Number(t.campaign_id)||void 0,creative_id:Number(t.creative_id)||void 0,utm_source:t.utm_source,utm_medium:t.utm_medium,utm_campaign:t.utm_campaign,utm_term:t.utm_term,utm_content:t.utm_content,tr_shareuser:t.tr_shareuser,tr_admaster:t.tr_admaster,tr_param1:t.tr_param1,tr_param2:t.tr_param2,tr_param3:t.tr_param3,tr_param4:t.tr_param4};try{var d=!1;for(var h in u)u[h]&&(-1!==hR(l).call(l,h)?(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data[h]=u[h]):c[h]=u[h],d=!0);if(d)o.setItem(s,"1"),i.setCookie(a,PT(c),r,n);else{var p=i.getCookie(a,n);p&&(c=JSON.parse(p))}o.getItem(s)&&(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data.$utm_from_url=1)}catch(f){return u}return c}(this.appid,o,this.domain,this.cookie_expire);var c=this.browser(),l=this.os();return{browser:c.browser,browser_version:c.browser_version,platform:a,os_name:l.os_name,os_version:l.os_version,userAgent:t,screen_width:window.screen&&window.screen.width,screen_height:window.screen&&window.screen.height,device_model:this.getDeviceModel(l.os_name),language:n,referrer:r,referrer_host:i,network_type:s,utm:this.utm,latest_data:this.last(r,i)}},e.prototype.last=function(e,t){var n="",r="",i="",o=location.hostname,a=!1;if(e&&t&&o!==t){n=e,r=t,a=!0;var s=eL(e);s.keyword&&(i=s.keyword)}return{$latest_referrer:n,$latest_referrer_host:r,$latest_search_keyword:i,isLast:a}},e.prototype.browser=function(){var e,t,n="",r=""+iE(this.appVersion),i=this.userAgent;return-1!==hR(i).call(i,"Edge")||-1!==hR(i).call(i,"Edg")?(n="Microsoft Edge",-1!==hR(i).call(i,"Edge")?(e=hR(i).call(i,"Edge"),r=i.substring(e+5)):(e=hR(i).call(i,"Edg"),r=i.substring(e+4))):-1!==(e=hR(i).call(i,"MSIE"))?(n="Microsoft Internet Explorer",r=i.substring(e+5)):-1!==(e=hR(i).call(i,"MetaSr"))?(n="sougoubrowser",r=i.substring(e+7,e+10)):-1!==hR(i).call(i,"MQQBrowser")||-1!==hR(i).call(i,"QQBrowser")?(n="qqbrowser",-1!==hR(i).call(i,"MQQBrowser")?(e=hR(i).call(i,"MQQBrowser"),r=i.substring(e+11,e+15)):-1!==hR(i).call(i,"QQBrowser")&&(e=hR(i).call(i,"QQBrowser"),r=i.substring(e+10,e+25))):-1!==hR(i).call(i,"Chrome")?-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"360"))?(n="360browser",r=i.substring(hR(i).call(i,"Chrome")+7)):-1!==hR(i).call(i,"baidubrowser")||-1!==hR(i).call(i,"BIDUBrowser")?(-1!==hR(i).call(i,"baidubrowser")?(e=hR(i).call(i,"baidubrowser"),r=i.substring(e+13,e+16)):-1!==hR(i).call(i,"BIDUBrowser")&&(e=hR(i).call(i,"BIDUBrowser"),r=i.substring(e+12,e+15)),n="baidubrowser"):-1!==(e=hR(i).call(i,"xiaomi"))?-1!==hR(i).call(i,"openlanguagexiaomi")?(n="openlanguage xiaomi",r=i.substring(e+7,e+13)):(n="xiaomi",r=i.substring(e-7,e-1)):-1!==(e=hR(i).call(i,"TTWebView"))?(n="TTWebView",r=i.substring(e+10,e+23)):(-1!==(e=hR(i).call(i,"Chrome"))||-1!==(e=hR(i).call(i,"Chrome")))&&(n="Chrome",r=i.substring(e+7)):-1!==hR(i).call(i,"Safari")?-1!==(e=hR(i).call(i,"QQ"))?(n="qqbrowser",r=i.substring(e+10,e+16)):-1!==(e=hR(i).call(i,"Safari"))&&(n="Safari",r=i.substring(e+7),-1!==(e=hR(i).call(i,"Version"))&&(r=i.substring(e+8))):-1!==(e=hR(i).call(i,"Firefox"))?(n="Firefox",r=i.substring(e+8)):-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"QQ"))&&(n="qqbrowser",r=i.substring(e+3,e+8)),-1!==(t=hR(r).call(r,";"))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r," "))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r,")"))&&(r=r.substring(0,t)),{browser:n,browser_version:r}},e.prototype.os=function(){for(var e,t="",n="",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:"Windows",r:/(Windows|Windows NT)/},{s:"Android",r:/Android/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"chromeOS",r:/CrOS/},{s:"Linux",r:/(Linux|X11)/},{s:"Sun OS",r:/SunOS/}],i=0;i<r.length;i++){var o=r[i];if(o.r.test(this.userAgent)){"Mac OS X"===(t=o.s)&&this.isNewIpad()&&(t="iOS");break}}var a,s,c=function(e,t){var n=e.exec(t);return n&&n[1]?n[1]:""},l=function(e,t){var n=RegExp("(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:"+e+")","i").exec(t);return n?mG(n).call(n,1)[0]:""};switch(/Windows/.test(t)&&(n=c(/Windows (.*)/,t),t="windows"),t){case"Mac OS X":n=l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent),t="mac";break;case"Android":(s=c(/Android ([\.\_\d]+)/,a=this.userAgent))||(s=c(/Android\/([\.\_\d]+)/,a)),n=s,t="android";break;case"iOS":n=this.isNewIpad()?l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent):(n=/OS (\d+)_(\d+)_?(\d+)?/.exec(this.appVersion))?n[1]+"."+n[2]+"."+(0|n[3]):"",t="ios";break;case"chromeOS":var u=hR(e=this.userAgent).call(e,"x86_64");n=this.userAgent.substring(u+7,u+16)}return{os_name:t,os_version:n}},e.prototype.getDeviceModel=function(e){var t="";try{var n;if("android"===e)qG(n=navigator.userAgent.split(";")).call(n,(function(e){hR(e).call(e,"Build/")>-1&&(t=mG(e).call(e,0,hR(e).call(e,"Build/")))}));else if("ios"===e||"mac"===e||"windows"===e)if(this.isNewIpad())t="iPad";else{var r=navigator.userAgent.replace("Mozilla/5.0 (",""),i=hR(r).call(r,";");t=-1===i?"":mG(r).call(r,0,i)}}catch(o){return pE(t).call(t)}return pE(t).call(t)},e.prototype.isNewIpad=function(){return void 0!==this.userAgent&&"MacIntel"===navigator.platform&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1},e}(),uL={cn:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1gz22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k"},dL={cn:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az28z1gz1hz1gz1cz18z1nz1gz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz21z1ez18z1jz1gz49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz1kz18z1jz1gz24z18z49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",my:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z49z19z1bz49z1kz27z4az1jz18z20z1iz1mz1dz1dz1gz1az1cz4az1az1mz1k"},hL="5.3.1",pL=($O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z1cz1bz1gz22z1mz20z49z20z18z1lz1ez1cz20z21z4az1hz21"),$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1az1mz20z1cz4az1hz21"),$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1jz1mz18z1bz1cz20z4az1hz21"),$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1fz1cz18z22z1kz18z1nz49z1az1mz20z1c"),$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz4fz49z1bz18z22z18z4az24z1mz1jz1az1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz1bz18z22z18z49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz22z1cz21z22z1cz20z49z1cz24z1cz1lz22z49z1gz1lz21z1nz1cz1az22z1mz20"),function(){function e(e,t){this.collector=e,this.config=t,this.eventNameWhiteList=["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","__bav_slide"],this.paramsNameWhiteList=["$inactive","$inline","$target_uuid_list","$source_uuid","$is_spider","$source_id","$is_first_time","_staging_flag"],this.regStr=new RegExp("^[a-zA-Z0-9][a-z0-9A-Z_.-]{1,255}$")}return e.prototype.checkVerify=function(e){var t=this;if(!e||!e.length)return!1;var n=e[0];if(!n)return!1;var r=n.events,i=n.header;if(!r||!r.length)return!1;var o=!0;return qG(r).call(r,(function(e){if(!e)return o=!1,void(e.checkEvent="事件异常");t.checkEventName(e.event)||(o=!1,e.checkEvent="事件名不能以 $ or __开头"),t.checkEventParams(e.params)||(o=!1,e.checkParams="属性名不能以 $ or __开头")})),this.checkEventParams(i)||(o=!1),o},e.prototype.checkEventName=function(e){return!!e&&this.calculate(e,"event")},e.prototype.checkEventParams=function(e){var t=e;if("string"==typeof e&&(t=JSON.parse(t)),!jG(t).length)return!0;for(var n in t)return!(!this.calculate(n,"params")||"string"==typeof t[n]&&t[n].length>1024&&(console.warn("params: "+n+" can not over 1024 byte, please check;"),1));return!0},e.prototype.calculate=function(e,t){var n;return-1!==hR(n="event"===t?this.eventNameWhiteList:this.paramsNameWhiteList).call(n,e)||!new RegExp("^\\$").test(e)&&!new RegExp("^__").test(e)||(console.warn(("event"===t?"event":"params")+" name: "+e+" can not start with $ or __, pleace check;"),!1)},e}());!function(e){e.Init="init",e.Config="config",e.Start="start",e.Ready="ready",e.UnReady="un-ready",e.TokenComplete="token-complete",e.TokenStorage="token-storage",e.TokenFetch="token-fetch",e.TokenError="token-error",e.ConfigUuid="config-uuid",e.ConfigWebId="config-webid",e.ConfigDiD="config-device-id",e.ConfigDomain="config-domain",e.CustomWebId="custom-webid",e.TokenChange="token-change",e.TokenReset="token-reset",e.ConfigTransform="config-transform",e.EnvTransform="env-transform",e.SessionReset="session-reset",e.SessionResetTime="session-reset-time",e.SetSessionId="set-session-id",e.Event="event",e.Events="events",e.EventNow="event-now",e.CleanEvents="clean-events",e.BeconEvent="becon-event",e.SubmitBefore="submit-before",e.SubmitScuess="submit-scuess",e.SubmitAfter="submit-after",e.SubmitError="submit-error",e.SubmitVerify="submit-verify",e.CustomHeader="custom-request-header",e.SDKInnerError="sdk-inner-error",e.SDKRunTimeError="sdk-run-time-error",e.LogSetting="log-setting",e.LogSettingReady="log-setting-ready",e.Stay="stay",e.ResetStay="reset-stay",e.StayReady="stay-ready",e.SetStay="set-stay",e.RouteChange="route-change",e.RouteReady="route-ready",e.Ab="ab",e.AbVar="ab-var",e.AbAllVars="ab-all-vars",e.AbConfig="ab-config",e.AbExternalVersion="ab-external-version",e.AbVersionChangeOn="ab-version-change-on",e.AbVersionChangeOff="ab-version-change-off",e.AbOpenLayer="ab-open-layer",e.AbCloseLayer="ab-close-layer",e.AbReady="ab-ready",e.AbComplete="ab-complete",e.AbTimeout="ab-timeout",e.Profile="profile",e.ProfileSet="profile-set",e.ProfileSetOnce="profile-set-once",e.ProfileUnset="profile-unset",e.ProfileIncrement="profile-increment",e.ProfileAppend="profile-append",e.ProfileClear="profile-clear",e.Autotrack="autotrack",e.AutotrackReady="autotrack-ready",e.CepReady="cep-ready",e.TracerReady="tracer-ready",e.sessionRecord="session-record",e.SessionRecordStart="session-record-start",e.SessionRecordPause="session-record-pause",e.SessionRecordEnd="session-record-end",e.SessionRecordReport="session-record-report",e.DestoryInstance="destory-instance",e.VisualCollectReady="visual-collect-ready",e.VisualApiReady="visual-api-ready",e.VisualApiUpdate="visual-api-update"}(KO||(KO={})),function(e){e.DEBUGGER_MESSAGE="debugger-message",e.DEBUGGER_MESSAGE_SDK="debugger-message-sdk",e.DEBUGGER_MESSAGE_FETCH="debugger-message-fetch",e.DEBUGGER_MESSAGE_FETCH_RESULT="debugger-message-fetch-result",e.DEBUGGER_MESSAGE_EVENT="debugger-message-event",e.DEVTOOL_WEB_READY="devtool-web-ready"}(QO||(QO={}));var fL=KO,gL=void 0,vL=(new Date).getTimezoneOffset(),mL=Y_(""+-vL/60,10),yL=60*vL,_L=function(){function e(e,t){var n=this;this.is_first_time=!0,this.configPersist=!1,this.initConfig=t,this.collect=e;var r=new lL(t.app_id,t.cookie_domain||"",t.cookie_expire||7776e6).init();this.eventCheck=new pL(e,t);var i="__tea_cache_first_"+t.app_id;this.configKey="__tea_cache_config_"+t.app_id,this.sessionStorage=new cL(!1,"session"),this.localStorage=new cL(!1,"local"),t.configPersist&&(this.configPersist=!0,this.storage=1===t.configPersist?this.sessionStorage:this.localStorage);var o=this.localStorage.getItem(i);o&&1==o?this.is_first_time=!1:(this.is_first_time=!0,this.localStorage.setItem(i,"1")),this.envInfo={user:{user_unique_id:gL,user_type:gL,user_id:gL,user_is_auth:gL,user_is_login:gL,device_id:gL,web_id:gL,ip_addr_id:gL,user_unique_id_type:gL},header:{app_id:gL,app_name:gL,app_install_id:gL,install_id:gL,app_package:gL,app_channel:gL,app_version:gL,ab_version:gL,os_name:r.os_name,os_version:r.os_version,device_model:r.device_model,ab_client:gL,traffic_type:gL,client_ip:gL,device_brand:gL,os_api:gL,access:gL,language:r.language,region:gL,app_language:gL,app_region:gL,creative_id:r.utm.creative_id,ad_id:r.utm.ad_id,campaign_id:r.utm.campaign_id,log_type:gL,rnd:gL,platform:r.platform,sdk_version:hL,sdk_lib:"js",province:gL,city:gL,timezone:mL,tz_offset:yL,tz_name:gL,sim_region:gL,carrier:gL,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:r.utm.utm_term,utm_content:r.utm.utm_content,utm_source:r.utm.utm_source,utm_medium:r.utm.utm_medium,utm_campaign:r.utm.utm_campaign,tracer_data:PT(r.utm.tracer_data),custom:r.network_type?{network_type:r.network_type}:{},wechat_unionid:gL,wechat_openid:gL}},this.ab_version="",this.evtParams={},this.reportErrorCallback=function(){},this.isLast=!1,this.setCustom(r),this.initDomain(),this.initABData(),this.collect.on("route-change",(function(e){n.changeReferInfo(e.config)}))}return e.prototype.initDomain=function(){var e=this.initConfig.channel_domain;if(e)this.domain=e;else{var t=this.initConfig.channel;this.domain=$O(dL[t])}},e.prototype.setDomain=function(e){this.domain=e},e.prototype.getDomain=function(){return this.domain},e.prototype.initABData=function(){var e="__tea_sdk_ab_version_"+this.initConfig.app_id,t=null;if(this.initConfig.ab_cross){var n=this.localStorage.getCookie(e,this.initConfig.ab_cookie_domain);t=n?JSON.parse(n):null}else t=this.localStorage.getItem(e);this.setAbCache(t)},e.prototype.setAbCache=function(e){this.ab_cache=e},e.prototype.getAbCache=function(){return this.ab_cache},e.prototype.setAbVersion=function(e){this.ab_version=e},e.prototype.getAbVersion=function(){return this.ab_version},e.prototype.clearAbCache=function(){this.ab_version="",this.ab_cache={}},e.prototype.getUrl=function(e){var t="";switch(e){case"event":t="/list";break;case"webid":t="/webid";break;case"tobid":t="/tobid"}var n="";return this.initConfig.caller&&(n="?sdk_version=5.3.1&sdk_name=web&app_id="+this.initConfig.app_id+"&caller="+this.initConfig.caller),""+this.getDomain()+t+n},e.prototype.setCustom=function(e){if(e&&e.latest_data&&e.latest_data.isLast)for(var t in delete e.latest_data.isLast,this.isLast=!0,e.latest_data)this.envInfo.header.custom[t]=e.latest_data[t]},e.prototype.changeReferInfo=function(e){var t=e;this.envInfo.header.referrer=t.referrer;var n="";try{n=new bk(t.referrer).host}catch(r){}this.envInfo.header.referrer_host=n||this.envInfo.header.referrer_host},e.prototype.set=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){void 0!==e[t]&&null!==e[t]||n.delete(t);try{n.eventCheck.calculate(t,"config")}catch(VO){}if("traffic_type"===t&&n.isLast&&(n.envInfo.header.custom.$latest_traffic_source_type=e[t]),"evtParams"===t)n.evtParams=OO(OO({},n.evtParams||{}),e.evtParams||{});else if("_staging_flag"===t)n.evtParams=OO(OO({},n.evtParams||{}),{_staging_flag:e._staging_flag});else if("reportErrorCallback"===t&&"function"==typeof e[t])n.reportErrorCallback=e[t];else{var r,i,o,a="",s="";if(hR(t).call(t,".")>-1){var c=t.split(".");a=c[0],s=c[1]}a?"user"===a||"header"===a?n.envInfo[a][s]=e[t]:(n.envInfo.header.custom[s]=e[t],n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"})):Object.hasOwnProperty.call(n.envInfo.user,t)?(hR(r=["user_type","ip_addr_id"]).call(r,t)>-1?n.envInfo.user[t]=e[t]?Number(e[t]):e[t]:hR(i=["user_id","web_id","user_unique_id","user_unique_id_type"]).call(i,t)>-1?n.envInfo.user[t]=e[t]?String(e[t]):e[t]:hR(o=["user_is_auth","user_is_login"]).call(o,t)>-1?n.envInfo.user[t]=Boolean(e[t]):"device_id"===t&&(n.envInfo.user[t]=e[t]),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"USER",common:t})):Object.hasOwnProperty.call(n.envInfo.header,t)?(n.envInfo.header[t]=e[t],n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:t})):(n.envInfo.header.custom[t]=e[t],n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"}))}}))},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(PT(this.envInfo[e])):JSON.parse(PT(this.envInfo))}catch(t){console.log("get config stringify error "),this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message})}},e.prototype.setStore=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};if(t&&jG(e).length){var n=DT(e,t);this.storage.setItem(this.configKey,n)}}catch(r){console.log("setStore error"),this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message})}},e.prototype.getStore=function(){try{if(!this.configPersist)return null;var e=this.storage.getItem(this.configKey)||{};return e&&jG(e).length?e:null}catch(t){return this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),null}},e.prototype.delete=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};t&&Object.hasOwnProperty.call(t,e)&&(delete t[e],this.storage.setItem(this.configKey,t))}catch(n){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("delete error")}},e}(),GL=function(){function e(e,t){this.isLog=t||!1,this.name=e||""}return e.prototype.info=function(e){this.isLog&&console.log("%c %s","color: yellow; background-color: black;","[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.warn=function(e){this.isLog&&console.warn("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.error=function(e){this.isLog&&console.error("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.throw=function(e){throw this.error(this.name),new Error(e)},e}(),RL=function(){function e(){this.spiderBot=["Baiduspider","googlebot","360Spider","haosouspider","YoudaoBot","Sogou News Spider","Yisouspider","Googlebot","Headless","Applebot","Bingbot","PetalBot"]}return e.prototype.checkSpider=function(e){var t;if(!e.enable_spider)return!1;var n=window.navigator.userAgent;if(!n)return!0;var r=!1;return qG(t=this.spiderBot).call(t,(function(e){-1!==hR(n).call(n,e)&&(r=!0)})),r},e}(),bL=function(){function e(e,t){this.collect=e,this.native=t}var t=e.prototype;return t.bridgeInject=function(){try{return!!this.native&&(AppLogBridge?(console.log("AppLogBridge is injected"),!0):(console.log("AppLogBridge is not inject"),!1))}catch(e){return console.log("AppLogBridge is not inject"),!1}},t.bridgeReady=function(){var e=this;return new qT((function(t,n){try{e.bridgeInject()?AppLogBridge.hasStarted((function(e){console.log("AppLogBridge is started? : "+e),e?t(!0):n(!1)})):n(!1)}catch(r){console.log("AppLogBridge, error:"+PT(r.stack)),n(!1)}}))},t.setNativeAppId=function(e){try{AppLogBridge.setNativeAppId(PT(e)),console.log("change bridge appid, event report with appid: "+e)}catch(t){console.error("setNativeAppId error")}},t.setConfig=function(e){var t=this;try{var n;qG(n=jG(e)).call(n,(function(n){"user_unique_id"===n?t.setUserUniqueId(e[n]):e[n]?t.addHeaderInfo(n,e[n]):t.removeHeaderInfo(n)}))}catch(r){console.error("setConfig error")}},t.setUserUniqueId=function(e){try{AppLogBridge.setUserUniqueId(e)}catch(t){console.error("setUserUniqueId error")}},t.addHeaderInfo=function(e,t){try{AppLogBridge.addHeaderInfo(e,t)}catch(n){console.error("addHeaderInfo error")}},t.setHeaderInfo=function(e){try{AppLogBridge.setHeaderInfo(PT(e))}catch(t){console.error("setHeaderInfo error")}},t.removeHeaderInfo=function(e){try{AppLogBridge.removeHeaderInfo(e)}catch(t){console.error("removeHeaderInfo error")}},t.reportPv=function(e){this.onEventV3("predefine_pageview",e)},t.onEventV3=function(e,t){try{AppLogBridge.onEventV3(e,t),this.collect.emit(DebuggerMesssge.DEBUGGER_MESSAGE,{type:DebuggerMesssge.DEBUGGER_MESSAGE_EVENT,info:"bridge埋点上报",time:vR(),data:[{events:[{event:e,params:t}]}],code:200,status:"success"})}catch(n){console.error("onEventV3 error")}},t.profileSet=function(e){try{AppLogBridge.profileSet(e)}catch(t){console.error("profileSet error")}},t.profileSetOnce=function(e){try{AppLogBridge.profileSetOnce(e)}catch(t){console.error("profileSetOnce error")}},t.profileIncrement=function(e){try{AppLogBridge.profileIncrement(e)}catch(t){console.error("profileIncrement error")}},t.profileUnset=function(e){try{AppLogBridge.profileUnset(e)}catch(t){console.error("profileUnset error")}},t.profileAppend=function(e){try{AppLogBridge.profileAppend(e)}catch(t){console.error("profileAppend error")}},e}(),TL=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)}))},wL=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.storage=new cL(!1,"session"),this.sessionKey="__tea_session_id_"+t.app_id,this.expireTime=t.expireTime||18e5,this.disableSession=t.disable_session,this.disableSessionTimeCheck=t.disable_session_check,this.disableSession||(this.setSessionId(),this.collect.on(fL.SessionReset,(function(e){n.resetSessionId(e)})),this.collect.on(fL.SessionResetTime,(function(){n.updateSessionIdTime()})))},e.prototype.updateSessionIdTime=function(){var e=this.storage.getItem(this.sessionKey);if(e&&e.sessionId){var t=e.timestamp;vR()-t>this.expireTime?e={sessionId:TL(),timestamp:vR()}:e.timestamp=vR(),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=vR():t={sessionId:TL(),timestamp:vR()},this.storage.setItem(this.sessionKey,t),this.disableSessionTimeCheck||(this.sessionExp=Tw((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=Tw((function(){e.checkEXp()}),this.expireTime))},e.prototype.resetSessionId=function(e){var t={sessionId:e||TL(),timestamp:vR()};this.storage.setItem(this.sessionKey,t)},e.prototype.checkEXp=function(){var e=this.storage.getItem(this.sessionKey);e&&e.sessionId&&vR()-e.timestamp+30>=this.expireTime&&(e={sessionId:TL(),timestamp:vR()},this.storage.setItem(this.sessionKey,e))},e}(),SL=function(){function e(){this.eventLimit=50,this.enable_ttwebid=!1,this.eventCache=[],this.beconEventCache=[]}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=e.configManager,this.eventCheck=new pL(e,t),this.cacheStorgae=new cL(!0),this.localStorage=new cL(!1),this.maxReport=t.max_report||10,this.reportTime=t.reportTime||t.report_time||30,this.timeout=t.timeout||1e5,this.enable_ttwebid=t.enable_ttwebid,this.reportUrl=t.report_url||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.abKey="__tea_sdk_ab_version_"+this.configManager.get("app_id"),this.refer_key="__tea_cache_refer_"+this.configManager.get("app_id"),this.pageId=TL(),this.collect.on(fL.Ready,(function(){n.reportAll(!1)})),this.collect.on(fL.ConfigDomain,(function(){n.reportUrl=n.configManager.getUrl("event")})),this.collect.on(fL.Event,(function(e){n.event(e)})),this.collect.on(fL.BeconEvent,(function(e){n.beconEvent(e)})),this.collect.on(fL.CleanEvents,(function(){n.reportAll(!1)}));var r=this.linster();this.collect.on(fL.DestoryInstance,(function(){r&&r()}))},e.prototype.linster=function(){var e,t=this,n=function(){t.reportAll(!0)};window.addEventListener("unload",n,!1),e=n,YO()?window.addEventListener("pagehide",e,!1):window.addEventListener("beforeunload",e,!1);var r=function(){"hidden"===document.visibilityState&&t.reportAll(!0)};return document.addEventListener("visibilitychange",r,!1),function(){window.removeEventListener("unload",n),window.removeEventListener("pagehide",n,!1),window.removeEventListener("beforeunload",n,!1),document.removeEventListener("visibilitychange",r,!1)}},e.prototype.reportAll=function(e){this.report(e),this.reportBecon()},e.prototype.event=function(e){var t=this;try{if(this.collect.destroy)return;if(this.collect.sdkStop)return;if(this.config.enable_ios_sendbeacon&&YO())return void this.beconEvent(e);var n=this.cacheStorgae.getItem(this.eventKey)||[],r=e;this.config.batch_event&&(r=this.batchEvent(e));var i=UO(r,n);if(this.cacheStorgae.setItem(this.eventKey,i),this.reportTimeout&&clearTimeout(this.reportTimeout),i.length>=this.maxReport)this.report(!1);else{var o=this.reportTime;this.reportTimeout=vG((function(){t.report(!1),t.reportTimeout=null}),o)}}catch(a){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e){if(!this.collect.destroy&&!this.collect.sdkStop){var t=UO(e,this.cacheStorgae.getItem(this.beconKey)||[]);this.cacheStorgae.setItem(this.beconKey,t),this.collect.tokenManager.getReady()&&this.collect.sdkReady&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(t)),!0))}},e.prototype.reportBecon=function(){if(!this.collect.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){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.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){var t=this.cacheStorgae.getItem(this.eventKey)||[];t.length&&(this.cacheStorgae.removeItem(this.eventKey),this.config.batch_event?this.send([t],e):this.sliceEvent(t,e))}},e.prototype.batchEvent=function(e){var t=[];if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.merge(r);t.push(i)}else t=i=this.merge(e);return t},e.prototype.sliceEvent=function(e,t){if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.split(this.merge(r));this.send(i,t)}else i=this.split(this.merge(e)),this.send(i,t)},e.prototype.handleRefer=function(){var e="";try{if(this.config.spa||this.config.autotrack){var t=this.localStorage.getItem(this.refer_key)||{};e=t.routeChange?t.refer_key:this.configManager.get("referrer")}else e=this.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.merge=function(e,t){var n=this,r=this.configManager.get(),i=r.header,o=r.user;this.config.enable_pageid&&(i.custom.page_id=this.pageId),i.custom=PT(i.custom);var a=this.configManager.get("evtParams"),s=this.configManager.get("user_unique_id_type"),c=[];try{var l=QG(e).call(e,(function(e){try{jG(a).length&&!t&&(e.params=OO(OO({},a),e.params)),s&&(e.params.$user_unique_id_type=s);var r=n.configManager.getAbCache(),i=o[n.config.ab_user_mode]||o.user_unique_id;return r&&r.uuid&&r.uuid===i&&n.configManager.getAbVersion()&&(e.ab_sdk_version=n.configManager.getAbVersion()),e.session_id=n.collect.sessionManager.getSessionId(),e.params=PT(e.params),e}catch(VO){return console.warn("filter merge event: "+(e&&e.event)+" error, pls check",VO&&VO.message),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 处理Event数据异常",level:"error",time:vR(),data:VO.message,infoType:"sdk"}),!1}})),u=JSON.parse(PT({events:l,user:o,header:i}));u.local_time=Math.floor(vR()/1e3),u.user_unique_type=this.config.enable_ttwebid?this.config.user_unique_type:void 0,u.verbose=1,c.push(u)}catch(VO){console.warn("event merge error, pls check",VO&&VO.message)}return c},e.prototype.split=function(e){return zS(e).call(e,(function(e){var t=[];return t.push(e),t}))},e.prototype.blockEvent=function(e){try{var t=this.blockList;if(this.config.enable_logsetting){var n=this.blockList,r=this.logSetting.getSettingData("blocklist_events").block_event;t=b_(n).call(n,QG(r).call(r,(function(e){return-1===hR(n).call(n,e)})))}return!(t&&t.length&&bw(t).call(t,e))}catch(i){return!0}},e.prototype.whiteEvent=function(e){var t;try{var n;return null===(t=this.whiteList)||void 0===t||!t.length||!!bw(n=this.whiteList).call(n,e)}catch(r){return!0}},e.prototype.customAllowFilter=function(e,t){try{if(t)return PT(e);if(!this.config.enable_logsetting||!this.config.enable_logsetting_header_custom)return PT(e);var n=this.logSetting.getSettingData().header_custom_allow,r={};if(n&&n.length&&jG(e).length){var i=new EO(n);for(var o in e)i.has(o)&&(r[o]=e[o])}return PT(r)}catch(a){return this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行customAllowFilter发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"}),PT(e)}},e.prototype.paramsAllowFilter=function(e,t){try{if(t)return PT(e.params);if(!this.config.enable_logsetting||!this.config.enable_logsetting_params)return PT(e.params);var n=this.logSetting.getSettingData().params_block,r=e.event,i=e.params,o={};if(n&&n[r]&&n[r].length){var a=new EO(n[r]);for(var s in i)!this.logSetting.getPredefineParamsList().has(s)&&a.has(s)||(o[s]=i[s]);return PT(o)}return PT(e.params)}catch(c){return this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行paramsAllowFilter发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"}),PT(e.params)}},e.prototype.send=function(e,t){var n=this;e.length&&(this.config.disable_track_event||qG(e).call(e,(function(e){try{var r,i=JSON.parse(PT(e));QG(n.config)&&((i=QG(r=n.config).call(r,i))||console.warn("filter must return data !!")),n.collect.eventFilter&&i&&((i=n.collect.eventFilter(i))||console.warn("filterEvent api must return data !!"));var o=i||e,a=JSON.parse(PT(o));if(n.eventCheck.checkVerify(a),!o.length)return;var s=!0;if(qG(o).call(o,(function(e){e.events.length||(s=!1)})),!s)return;n.collect.emit(fL.SubmitBefore,o),n.collect.requestManager.useRequest({url:n.reportUrl,data:o,success:function(e,t){e&&0!==e.e?(n.collect.emit(fL.SubmitError,{type:"f_data",eventData:t,errorCode:e.e,response:e}),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报失败",time:vR(),data:a,code:e.e,msg:e.m||"",failType:"数据异常失败",status:"fail"})):(n.collect.emit(fL.SubmitScuess,{eventData:t,res:e}),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:a,code:200,status:"success"}))},fail:function(e,t){n.configManager.get("reportErrorCallback")(e,t),n.collect.emit(fL.SubmitError,{type:"f_net",eventData:e,errorCode:t}),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报网络异常",time:vR(),data:a,code:t,failType:"网络异常失败",status:"fail"})},timeout:n.timeout,useBeacon:t,withCredentials:n.enable_ttwebid,zip:!0}),n.collect.emit(fL.SubmitAfter,o)}catch(c){console.warn("something error, "+PT(c.stack)),n.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK发送埋点发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"})}})))},e}(),ML=function(){var e;return mG(e=function e(t){return t?(t^16*Math.random()>>t/4).toString(10):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}().replace(/-/g,"")).call(e,0,19)},EL=function(){function e(){this.cacheToken={},this.enableCookie=!1,this.enable_ttwebid=!1,this.enableCustomWebid=!1}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=this.collect.configManager,this.storage=new cL(!1),this.tokenKey="__tea_cache_tokens_"+t.app_id,this.enable_ttwebid=t.enable_ttwebid,this.enableCustomWebid=t.enable_custom_webid,this.collect.on(fL.ConfigUuid,(function(e){n.setUuid(e)})),this.collect.on(fL.ConfigWebId,(function(e){n.setWebId(e)})),this.collect.on(fL.ConfigDiD,(function(e){n.setDeviceId(e)})),this.enableCookie=t.cross_subdomain,this.expiresTime=t.cookie_expire||6048e5,this.cookieDomain=t.cookie_domain||"",this.checkStorage()},e.prototype.checkStorage=function(){var e=this;if(this.enableCookie){var t=this.storage.getCookie(this.tokenKey,this.cookieDomain);this.cacheToken=t&&"string"==typeof t?JSON.parse(t):{}}else this.cacheToken=this.storage.getItem(this.tokenKey)||{};this.tokenType=this.cacheToken&&this.cacheToken._type_?this.cacheToken._type_:"default","custom"!==this.tokenType||this.enableCustomWebid?this.enableCustomWebid?this.collect.on(fL.CustomWebId,(function(){e.tokenReady=!0,e.collect.emit(fL.TokenComplete)})):this.checkEnv()||(this.enable_ttwebid?this.completeTtWid(this.cacheToken):this.check()):this.remoteWebid()},e.prototype.check=function(){this.cacheToken&&this.cacheToken.web_id?this.complete(this.cacheToken):this.config.disable_webid?this.complete({web_id:ML(),user_unique_id:this.configManager.get("user_unique_id")||ML()}):this.remoteWebid()},e.prototype.checkEnv=function(){var e=window.navigator.userAgent;if(-1!==hR(e).call(e,"miniProgram")||-1!==hR(e).call(e,"MiniProgram")){var t=eL(window.location.href);return!(!t||!t.Web_ID||(this.complete({web_id:""+t.Web_ID,user_unique_id:this.configManager.get("user_unique_id")||""+t.Web_ID}),0))}return!1},e.prototype.remoteWebid=function(){var e=this,t=this.configManager.getUrl("webid"),n={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:""};this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 发起WebID请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),this.collect.requestManager.useRequest({url:t,data:n,success:function(t){var n;if(t&&0===t.e)n=t.web_id,e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"WebID请求成功",logType:"fetch",level:"info",time:vR(),data:t,infoType:"sdk"});else{var r=ML();n=r,e.collect.configManager.set({localWebId:r}),e.collect.emit(fL.TokenError),e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"WebID请求返回值异常,采用本地生成",logType:"fetch",level:"warn",time:vR(),data:t,infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+" get webid error, use local webid~")}e.complete({web_id:e.configManager.get("web_id")||n,user_unique_id:e.configManager.get("user_unique_id")||n})},fail:function(){var t=ML();e.complete({web_id:e.configManager.get("web_id")||t,user_unique_id:e.configManager.get("user_unique_id")||t}),e.collect.configManager.set({localWebId:t}),e.collect.emit(fL.TokenError),e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"WebID请求网络异常,采用本地生成",logType:"fetch",level:"error",time:vR(),data:{localWebId:t},infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+", get webid error, use local webid~")},timeout:3e5})},e.prototype.complete=function(e){var t=e.web_id,n=e.user_unique_id,r=e.device_id;if(e.timestamp=vR(),this.collect.configManager.set({web_id:t,user_unique_id:n}),this.config.enable_device_id){var i=this.configManager.get("device_id")||r||t;this.collect.configManager.set({device_id:i}),e=OO(OO({},e),{device_id:i})}else(null==e?void 0:e.device_id)&&delete e.device_id;this.setStorage(e),this.tokenReady=!0,this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 完成用户信息设置",logType:"info",level:"info",time:vR(),data:{web_id:t,user_unique_id:n},infoType:"sdk"}),this.collect.emit(fL.TokenComplete)},e.prototype.completeTtWid=function(e){var t=e.user_unique_id||"",n=this.configManager.get("user_unique_id");(n||t)&&this.configManager.set({user_unique_id:n||t}),this.setStorage(e),this.tokenReady=!0,this.collect.emit(fL.TokenComplete)},e.prototype.setUuid=function(e){var t;if(e&&-1===hR(t=["null","undefined","Null","None"]).call(t,e)){var n=String(e),r=this.configManager.get("user_unique_id"),i=this.cacheToken&&this.cacheToken.user_unique_id;if(n===r&&n===i)return;this.configManager.set({user_unique_id:n}),this.cacheToken||(this.cacheToken={}),this.cacheToken.user_unique_id=n,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken),this.collect.emit(fL.TokenChange,"uuid"),this.collect.emit(fL.SessionReset)}else this.clearUuid()},e.prototype.clearUuid=function(){this.config.enable_ttwebid||this.configManager.get("web_id")&&this.configManager.get("user_unique_id")!==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=vR(),this.setStorage(this.cacheToken)),this.collect.emit(fL.TokenReset,"uuid"))},e.prototype.setWebId=function(e){if(e&&!this.config.enable_ttwebid){this.cacheToken&&this.cacheToken.web_id?this.cacheToken.web_id!==e&&(this.cacheToken.user_unique_id=this.cacheToken.web_id===this.cacheToken.user_unique_id?e:this.cacheToken.user_unique_id,this.cacheToken.web_id=e):(this.cacheToken={},this.cacheToken.web_id=e,this.cacheToken.user_unique_id=e),this.cacheToken.timestamp=vR();var t=this.configManager.get("web_id"),n=this.configManager.get("user_unique_id");n&&n!==t||(this.configManager.set({user_unique_id:e}),this.collect.emit(fL.TokenChange,"uuid")),t!==e&&(this.configManager.set({web_id:e}),this.collect.emit(fL.TokenChange,"webid")),this.setStorage(this.cacheToken)}},e.prototype.setDeviceId=function(e){this.configManager.set({device_id:e}),this.config.enable_device_id&&this.cacheToken&&(this.cacheToken.device_id=e,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken))},e.prototype.setStorage=function(e){var t;e._type_=this.enableCustomWebid?"custom":"default",delete e[Fk(t="diss".split("")).call(t).join("")],this.enableCookie||this.enable_ttwebid?(this.storage.setCookie(this.tokenKey,e,this.expiresTime,this.cookieDomain),this.enable_ttwebid&&(delete e.web_id,this.storage.setItem(this.tokenKey,e))):this.storage.setItem(this.tokenKey,e),this.cacheToken=e},e.prototype.getReady=function(){return this.tokenReady},e.prototype.getTobId=function(){var e=this;return new qT((function(t){var n={app_id:e.config.app_id,user_unique_id:e.configManager.get("user_unique_id"),web_id:e.configManager.get("web_id"),user_unique_id_type:e.configManager.get("user_unique_id_type")};e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 发起GetToken请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),e.collect.requestManager.useRequest({url:e.configManager.getUrl("tobid"),data:n,success:function(n){n&&0===n.e?(t(n.tobid),e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求成功",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"})):(t(""),e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),data:n,infoType:"sdk"}))},fail:function(){t(""),e.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),infoType:"sdk"})},time:3e4,withCredentials:e.enable_ttwebid})}))},e}();function zL(e){for(var t=e.length;--t>=0;)e[t]=0}var DL=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),kL=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),AL=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),FL=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),PL=new Array(576);zL(PL);var IL=new Array(60);zL(IL);var XL=new Array(512);zL(XL);var xL=new Array(256);zL(xL);var HL=new Array(29);zL(HL);var CL,OL,LL,UL=new Array(30);function BL(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function NL(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}zL(UL);var VL=function(e){return e<256?XL[e]:XL[256+(e>>>7)]},jL=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},KL=function(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,jL(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},QL=function(e,t,n){KL(e,n[2*t],n[2*t+1])},WL=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},qL=function(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)a=a+n[r-1]<<1,o[r]=a;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=WL(o[s]++,s))}},ZL=function(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},$L=function(e){e.bi_valid>8?jL(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},YL=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},JL=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&YL(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!YL(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},eU=function(e,t,n){var r,i,o,a,s=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+s++],r+=(255&e.pending_buf[e.sym_buf+s++])<<8,i=e.pending_buf[e.sym_buf+s++],0===r?QL(e,i,t):(o=xL[i],QL(e,o+256+1,t),0!==(a=DL[o])&&(i-=HL[o],KL(e,i,a)),o=VL(--r),QL(e,o,n),0!==(a=kL[o])&&(r-=UL[o],KL(e,r,a)))}while(s<e.sym_next);QL(e,256,t)},tU=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)JL(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],JL(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,JL(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,g++),c[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=h[r-p]),s=c[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==g){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,g-=2}while(g>0);for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),qL(o,l,e.bl_count)},nU=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<c&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4))},rU=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<l)do{QL(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(QL(e,i,e.bl_tree),s--),QL(e,16,e.bl_tree),KL(e,s-3,2)):s<=10?(QL(e,17,e.bl_tree),KL(e,s-3,3)):(QL(e,18,e.bl_tree),KL(e,s-11,7));s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4)}},iU=!1,oU=function(e,t,n,r){KL(e,0+(r?1:0),3),$L(e),jL(e,n),jL(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},aU=function(e){iU||(function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(HL[r]=n,e=0;e<1<<DL[r];e++)xL[n++]=r;for(xL[n-1]=r,i=0,r=0;r<16;r++)for(UL[r]=i,e=0;e<1<<kL[r];e++)XL[i++]=r;for(i>>=7;r<30;r++)for(UL[r]=i<<7,e=0;e<1<<kL[r]-7;e++)XL[256+i++]=r;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)PL[2*e+1]=8,e++,o[8]++;for(;e<=255;)PL[2*e+1]=9,e++,o[9]++;for(;e<=279;)PL[2*e+1]=7,e++,o[7]++;for(;e<=287;)PL[2*e+1]=8,e++,o[8]++;for(qL(PL,287,o),e=0;e<30;e++)IL[2*e+1]=5,IL[2*e]=WL(e,5);CL=new BL(PL,DL,257,286,15),OL=new BL(IL,kL,0,30,15),LL=new BL(new Array(0),AL,0,19,7)}(),iU=!0),e.l_desc=new NL(e.dyn_ltree,CL),e.d_desc=new NL(e.dyn_dtree,OL),e.bl_desc=new NL(e.bl_tree,LL),e.bi_buf=0,e.bi_valid=0,ZL(e)},sU=oU,cU=function(e,t,n,r){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),tU(e,e.l_desc),tU(e,e.d_desc),a=function(e){var t;for(nU(e,e.dyn_ltree,e.l_desc.max_code),nU(e,e.dyn_dtree,e.d_desc.max_code),tU(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*FL[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?oU(e,t,n,r):4===e.strategy||o===i?(KL(e,2+(r?1:0),3),eU(e,PL,IL)):(KL(e,4+(r?1:0),3),function(e,t,n,r){var i;for(KL(e,t-257,5),KL(e,n-1,5),KL(e,r-4,4),i=0;i<r;i++)KL(e,e.bl_tree[2*FL[i]+1],3);rU(e,e.dyn_ltree,t-1),rU(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),eU(e,e.dyn_ltree,e.dyn_dtree)),ZL(e),r&&$L(e)},lU=function(e,t,n){return e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(xL[n]+256+1)]++,e.dyn_dtree[2*VL(t)]++),e.sym_next===e.sym_end},uU=function(e){var t;KL(e,2,3),QL(e,256,PL),16===(t=e).bi_valid?(jL(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)},dU=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},hU=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),pU=function(e,t,n,r){var i=hU,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},fU={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},gU={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},vU=aU,mU=sU,yU=cU,_U=lU,GU=uU,RU=gU.Z_NO_FLUSH,bU=gU.Z_PARTIAL_FLUSH,TU=gU.Z_FULL_FLUSH,wU=gU.Z_FINISH,SU=gU.Z_BLOCK,MU=gU.Z_OK,EU=gU.Z_STREAM_END,zU=gU.Z_STREAM_ERROR,DU=gU.Z_DATA_ERROR,kU=gU.Z_BUF_ERROR,AU=gU.Z_DEFAULT_COMPRESSION,FU=gU.Z_FILTERED,PU=gU.Z_HUFFMAN_ONLY,IU=gU.Z_RLE,XU=gU.Z_FIXED,xU=gU.Z_DEFAULT_STRATEGY,HU=gU.Z_UNKNOWN,CU=gU.Z_DEFLATED,OU=function(e,t){return e.msg=fU[t],t},LU=function(e){return 2*e-(e>4?9:0)},UU=function(e){for(var t=e.length;--t>=0;)e[t]=0},BU=function(e){var t,n,r,i=e.w_size;r=t=e.hash_size;do{n=e.head[--r],e.head[r]=n>=i?n-i:0}while(--t);r=t=i;do{n=e.prev[--r],e.prev[r]=n>=i?n-i:0}while(--t)},NU=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},VU=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},jU=function(e,t){yU(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,VU(e.strm)},KU=function(e,t){e.pending_buf[e.pending++]=t},QU=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},WU=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=dU(e.adler,t,i,n):2===e.state.wrap&&(e.adler=pU(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},qU=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+258,p=l[o+a-1],f=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===f&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=258-(h-o),o=h-258,r>a){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],f=l[o+a]}}}while((t=d[t&u])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead},ZU=function(e){var t,n,r,i=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-262)&&(e.window.set(e.window.subarray(i,i+i-n),0),e.match_start-=i,e.strstart-=i,e.block_start-=i,e.insert>e.strstart&&(e.insert=e.strstart),BU(e),n+=i),0===e.strm.avail_in)break;if(t=WU(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=NU(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=NU(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},$U=function(e,t){var n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,s=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i)break;if(i=e.strm.avail_out-i,n>(r=e.strstart-e.block_start)+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n<o&&(0===n&&t!==wU||t===RU||n!==r+e.strm.avail_in))break;a=t===wU&&n===r+e.strm.avail_in?1:0,mU(e,0,0,a),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,VU(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(WU(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return(s-=e.strm.avail_in)&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),a?4:t!==RU&&t!==wU&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(WU(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,o=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>e.w_size?e.w_size:i,((r=e.strstart-e.block_start)>=o||(r||t===wU)&&t!==RU&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,a=t===wU&&0===e.strm.avail_in&&n===r?1:0,mU(e,e.block_start,n,a),e.block_start+=n,VU(e.strm)),a?3:1)},YU=function(e,t){for(var n,r;;){if(e.lookahead<262){if(ZU(e),e.lookahead<262&&t===RU)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=NU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=qU(e,n)),e.match_length>=3)if(r=_U(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=NU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=NU(e,e.ins_h,e.window[e.strstart+1]);else r=_U(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(jU(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===wU?(jU(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(jU(e,!1),0===e.strm.avail_out)?1:2},JU=function(e,t){for(var n,r,i;;){if(e.lookahead<262){if(ZU(e),e.lookahead<262&&t===RU)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=NU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=qU(e,n),e.match_length<=5&&(e.strategy===FU||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=_U(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=NU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(jU(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=_U(e,0,e.window[e.strstart-1]))&&jU(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=_U(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===wU?(jU(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(jU(e,!1),0===e.strm.avail_out)?1:2};function eB(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var tB=[new eB(0,0,0,0,$U),new eB(4,4,8,4,YU),new eB(4,5,16,8,YU),new eB(4,6,32,32,YU),new eB(4,4,16,16,JU),new eB(8,16,32,32,JU),new eB(8,16,128,128,JU),new eB(8,32,128,256,JU),new eB(32,128,258,1024,JU),new eB(32,258,258,4096,JU)];function nB(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=CU,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),UU(this.dyn_ltree),UU(this.dyn_dtree),UU(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),UU(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),UU(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var rB=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||42!==t.status&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&113!==t.status&&666!==t.status?1:0},iB=function(e){if(rB(e))return OU(e,zU);e.total_in=e.total_out=0,e.data_type=HU;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=-2,vU(t),MU},oB=function(e){var t,n=iB(e);return n===MU&&((t=e.state).window_size=2*t.w_size,UU(t.head),t.max_lazy_match=tB[t.level].max_lazy,t.good_match=tB[t.level].good_length,t.nice_match=tB[t.level].nice_length,t.max_chain_length=tB[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n},aB=function(e,t,n,r,i,o){if(!e)return zU;var a=1;if(t===AU&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==CU||r<8||r>15||t<0||t>9||o<0||o>XU||8===r&&1!==a)return OU(e,zU);8===r&&(r=9);var s=new nB;return e.state=s,s.strm=e,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=t,s.strategy=o,s.method=n,oB(e)},sB={deflateInit:function(e,t){return aB(e,t,CU,15,8,xU)},deflateInit2:aB,deflateReset:oB,deflateResetKeep:iB,deflateSetHeader:function(e,t){return rB(e)||2!==e.state.wrap?zU:(e.state.gzhead=t,MU)},deflate:function(e,t){if(rB(e)||t>SU||t<0)return e?OU(e,zU):zU;var n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==wU)return OU(e,0===e.avail_out?kU:zU);var r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(VU(e),0===e.avail_out)return n.last_flush=-1,MU}else if(0===e.avail_in&&LU(t)<=LU(r)&&t!==wU)return OU(e,kU);if(666===n.status&&0!==e.avail_in)return OU(e,kU);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){var i=CU+(n.w_bits-8<<4)<<8;if(i|=(n.strategy>=PU||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),QU(n,i+=31-i%31),0!==n.strstart&&(QU(n,e.adler>>>16),QU(n,65535&e.adler)),e.adler=1,n.status=113,VU(e),0!==n.pending)return n.last_flush=-1,MU}if(57===n.status)if(e.adler=0,KU(n,31),KU(n,139),KU(n,8),n.gzhead)KU(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),KU(n,255&n.gzhead.time),KU(n,n.gzhead.time>>8&255),KU(n,n.gzhead.time>>16&255),KU(n,n.gzhead.time>>24&255),KU(n,9===n.level?2:n.strategy>=PU||n.level<2?4:0),KU(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(KU(n,255&n.gzhead.extra.length),KU(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=pU(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(KU(n,0),KU(n,0),KU(n,0),KU(n,0),KU(n,0),KU(n,9===n.level?2:n.strategy>=PU||n.level<2?4:0),KU(n,3),n.status=113,VU(e),0!==n.pending)return n.last_flush=-1,MU;if(69===n.status){if(n.gzhead.extra){for(var o=n.pending,a=(65535&n.gzhead.extra.length)-n.gzindex;n.pending+a>n.pending_buf_size;){var s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>o&&(e.adler=pU(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex+=s,VU(e),0!==n.pending)return n.last_flush=-1,MU;o=0,a-=s}var c=new Uint8Array(n.gzhead.extra);n.pending_buf.set(c.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>o&&(e.adler=pU(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){var l,u=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>u&&(e.adler=pU(e.adler,n.pending_buf,n.pending-u,u)),VU(e),0!==n.pending)return n.last_flush=-1,MU;u=0}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,KU(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>u&&(e.adler=pU(e.adler,n.pending_buf,n.pending-u,u)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){var d,h=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>h&&(e.adler=pU(e.adler,n.pending_buf,n.pending-h,h)),VU(e),0!==n.pending)return n.last_flush=-1,MU;h=0}d=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,KU(n,d)}while(0!==d);n.gzhead.hcrc&&n.pending>h&&(e.adler=pU(e.adler,n.pending_buf,n.pending-h,h))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(VU(e),0!==n.pending))return n.last_flush=-1,MU;KU(n,255&e.adler),KU(n,e.adler>>8&255),e.adler=0}if(n.status=113,VU(e),0!==n.pending)return n.last_flush=-1,MU}if(0!==e.avail_in||0!==n.lookahead||t!==RU&&666!==n.status){var p=0===n.level?$U(n,t):n.strategy===PU?function(e,t){for(var n;;){if(0===e.lookahead&&(ZU(e),0===e.lookahead)){if(t===RU)return 1;break}if(e.match_length=0,n=_U(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(jU(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===wU?(jU(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(jU(e,!1),0===e.strm.avail_out)?1:2}(n,t):n.strategy===IU?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(ZU(e),e.lookahead<=258&&t===RU)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=_U(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=_U(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(jU(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===wU?(jU(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(jU(e,!1),0===e.strm.avail_out)?1:2}(n,t):tB[n.level].func(n,t);if(3!==p&&4!==p||(n.status=666),1===p||3===p)return 0===e.avail_out&&(n.last_flush=-1),MU;if(2===p&&(t===bU?GU(n):t!==SU&&(mU(n,0,0,!1),t===TU&&(UU(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),VU(e),0===e.avail_out))return n.last_flush=-1,MU}return t!==wU?MU:n.wrap<=0?EU:(2===n.wrap?(KU(n,255&e.adler),KU(n,e.adler>>8&255),KU(n,e.adler>>16&255),KU(n,e.adler>>24&255),KU(n,255&e.total_in),KU(n,e.total_in>>8&255),KU(n,e.total_in>>16&255),KU(n,e.total_in>>24&255)):(QU(n,e.adler>>>16),QU(n,65535&e.adler)),VU(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?MU:EU)},deflateEnd:function(e){if(rB(e))return zU;var t=e.state.status;return e.state=null,113===t?OU(e,DU):MU},deflateSetDictionary:function(e,t){var n=t.length;if(rB(e))return zU;var r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return zU;if(1===i&&(e.adler=dU(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(UU(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,ZU(r);r.lookahead>=3;){var l=r.strstart,u=r.lookahead-2;do{r.ins_h=NU(r,r.ins_h,r.window[l+3-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++}while(--u);r.strstart=l,r.lookahead=2,ZU(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=c,e.avail_in=a,r.wrap=i,MU},deflateInfo:"pako deflate (from Nodeca project)"},cB=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},lB={assign:function(e){for(var t=mG(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=Wd(n))throw new TypeError(n+"must be non-object");for(var r in n)cB(n,r)&&(e[r]=n[r])}}return e},flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var c=e[o];i.set(c,a),a+=c.length}return i}},uB=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(VO){uB=!1}for(var dB=new Uint8Array(256),hB=0;hB<256;hB++)dB[hB]=hB>=252?6:hB>=248?5:hB>=240?4:hB>=224?3:hB>=192?2:1;dB[254]=dB[254]=1;var pB={string2buf:function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},buf2string:function(e,t){var n,r,i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));var o=new Array(2*i);for(r=0,n=0;n<i;){var a=e[n++];if(a<128)o[r++]=a;else{var s=dB[a];if(s>4)o[r++]=65533,n+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&n<i;)a=a<<6|63&e[n++],s--;s>1?o[r++]=65533:a<65536?o[r++]=a:(a-=65536,o[r++]=55296|a>>10&1023,o[r++]=56320|1023&a)}}}return function(e,t){if(t<65534&&e.subarray&&uB)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}(o,r)},utf8border:function(e,t){(t=t||e.length)>e.length&&(t=e.length);for(var n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+dB[e[n]]>t?n:t}},fB=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},gB=Object.prototype.toString,vB=gU.Z_NO_FLUSH,mB=gU.Z_SYNC_FLUSH,yB=gU.Z_FULL_FLUSH,_B=gU.Z_FINISH,GB=gU.Z_OK,RB=gU.Z_STREAM_END,bB=gU.Z_DEFAULT_COMPRESSION,TB=gU.Z_DEFAULT_STRATEGY,wB=gU.Z_DEFLATED;function SB(e){this.options=lB.assign({level:bB,method:wB,chunkSize:16384,windowBits:15,memLevel:8,strategy:TB},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fB,this.strm.avail_out=0;var n=sB.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==GB)throw new Error(fU[n]);if(t.header&&sB.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?pB.string2buf(t.dictionary):"[object ArrayBuffer]"===gB.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=sB.deflateSetDictionary(this.strm,r))!==GB)throw new Error(fU[n]);this._dict_set=!0}}function MB(e,t){var n=new SB(t);if(n.push(e,!0),n.err)throw n.msg||fU[n.err];return n.result}SB.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?_B:vB,"string"==typeof e?i.input=pB.string2buf(e):"[object ArrayBuffer]"===gB.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===mB||r===yB)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=sB.deflate(i,r))===RB)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=sB.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===GB;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},SB.prototype.onData=function(e){this.chunks.push(e)},SB.prototype.onEnd=function(e){e===GB&&(this.result=lB.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var EB={Deflate:SB,deflate:MB,deflateRaw:function(e,t){return(t=t||{}).raw=!0,MB(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,MB(e,t)},constants:gU},zB=function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,S=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),s=M.dmax,c=M.wsize,l=M.whave,u=M.wnext,d=M.window,h=M.hold,p=M.bits,f=M.lencode,g=M.distcode,v=(1<<M.lenbits)-1,m=(1<<M.distbits)-1;e:do{p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=f[h&v];t:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))S[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=f[(65535&y)+(h&(1<<_)-1)];continue t}if(32&_){M.mode=16191;break e}e.msg="invalid literal/length code",M.mode=16209;break e}G=65535&y,(_&=15)&&(p<_&&(h+=w[n++]<<p,p+=8),G+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=g[h&m];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue n}e.msg="invalid distance code",M.mode=16209;break e}if(R=65535&y,p<(_&=15)&&(h+=w[n++]<<p,(p+=8)<_&&(h+=w[n++]<<p,p+=8)),(R+=h&(1<<_)-1)>s){e.msg="invalid distance too far back",M.mode=16209;break e}if(h>>>=_,p-=_,R>(_=i-o)){if((_=R-_)>l&&M.sane){e.msg="invalid distance too far back",M.mode=16209;break e}if(b=0,T=d,0===u){if(b+=c-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}else if(u<_){if(b+=c+u-_,(_-=u)<G){G-=_;do{S[i++]=d[b++]}while(--_);if(b=0,u<G){G-=_=u;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}}else if(b+=u-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}for(;G>2;)S[i++]=T[b++],S[i++]=T[b++],S[i++]=T[b++],G-=3;G&&(S[i++]=T[b++],G>1&&(S[i++]=T[b++]))}else{b=i-R;do{S[i++]=S[b++],S[i++]=S[b++],S[i++]=S[b++],G-=3}while(G>2);G&&(S[i++]=S[b++],G>1&&(S[i++]=S[b++]))}break}}break}}while(n<r&&i<a);n-=G=p>>3,h&=(1<<(p-=G<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<a?a-i+257:257-(i-a),M.hold=h,M.bits=p},DB=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),kB=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),AB=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),FB=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),PB=function(e,t,n,r,i,o,a,s){var c,l,u,d,h,p,f,g,v,m=s.bits,y=0,_=0,G=0,R=0,b=0,T=0,w=0,S=0,M=0,E=0,z=null,D=new Uint16Array(16),k=new Uint16Array(16),A=null;for(y=0;y<=15;y++)D[y]=0;for(_=0;_<r;_++)D[t[n+_]]++;for(b=m,R=15;R>=1&&0===D[R];R--);if(b>R&&(b=R),0===R)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(G=1;G<R&&0===D[G];G++);for(b<G&&(b=G),S=1,y=1;y<=15;y++)if(S<<=1,(S-=D[y])<0)return-1;if(S>0&&(0===e||1!==R))return-1;for(k[1]=0,y=1;y<15;y++)k[y+1]=k[y]+D[y];for(_=0;_<r;_++)0!==t[n+_]&&(a[k[t[n+_]]++]=_);if(0===e?(z=A=a,p=20):1===e?(z=DB,A=kB,p=257):(z=AB,A=FB,p=0),E=0,_=0,y=G,h=o,T=b,w=0,u=-1,d=(M=1<<b)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){f=y-w,a[_]+1<p?(g=0,v=a[_]):a[_]>=p?(g=A[a[_]-p],v=z[a[_]-p]):(g=96,v=0),c=1<<y-w,G=l=1<<T;do{i[h+(E>>w)+(l-=c)]=f<<24|g<<16|v|0}while(0!==l);for(c=1<<y-1;E&c;)c>>=1;if(0!==c?(E&=c-1,E+=c):E=0,_++,0==--D[y]){if(y===R)break;y=t[n+a[_]]}if(y>b&&(E&d)!==u){for(0===w&&(w=b),h+=G,S=1<<(T=y-w);T+w<R&&!((S-=D[T+w])<=0);)T++,S<<=1;if(M+=1<<T,1===e&&M>852||2===e&&M>592)return 1;i[u=E&d]=b<<24|T<<16|h-o|0}}return 0!==E&&(i[h+E]=y-w<<24|64<<16|0),s.bits=b,0},IB=gU.Z_FINISH,XB=gU.Z_BLOCK,xB=gU.Z_TREES,HB=gU.Z_OK,CB=gU.Z_STREAM_END,OB=gU.Z_NEED_DICT,LB=gU.Z_STREAM_ERROR,UB=gU.Z_DATA_ERROR,BB=gU.Z_MEM_ERROR,NB=gU.Z_BUF_ERROR,VB=gU.Z_DEFLATED,jB=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function KB(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var QB,WB,qB=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||t.mode<16180||t.mode>16211?1:0},ZB=function(e){if(qB(e))return LB;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,HB},$B=function(e){if(qB(e))return LB;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,ZB(e)},YB=function(e,t){var n;if(qB(e))return LB;var r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?LB:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,$B(e))},JB=function(e,t){if(!e)return LB;var n=new KB;e.state=n,n.strm=e,n.window=null,n.mode=16180;var r=YB(e,t);return r!==HB&&(e.state=null),r},eN=!0,tN=function(e){if(eN){QB=new Int32Array(512),WB=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(PB(1,e.lens,0,288,QB,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;PB(2,e.lens,0,32,WB,0,e.work,{bits:5}),eN=!1}e.lencode=QB,e.lenbits=9,e.distcode=WB,e.distbits=5},nN=function(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},rN={inflateReset:$B,inflateReset2:YB,inflateResetKeep:ZB,inflateInit:function(e){return JB(e,15)},inflateInit2:JB,inflate:function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=0,E=new Uint8Array(4),z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(qB(e)||!e.output||!e.input&&0!==e.avail_in)return LB;16191===(n=e.state).mode&&(n.mode=16192),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,h=c,T=HB;e:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===l){0===n.wbits&&(n.wbits=15),n.check=0,E[0]=255&l,E[1]=l>>>8&255,n.check=pU(n.check,E,2,0),l=0,u=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&l)!==VB){e.msg="unknown compression method",n.mode=16209;break}if(u-=4,b=8+(15&(l>>>=4)),0===n.wbits&&(n.wbits=b),b>15||b>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&l?16189:16191,l=0,u=0;break;case 16181:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.flags=l,(255&HO(n))!==VB){e.msg="unknown compression method",n.mode=16209;break}if(57344&HO(n)){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=l>>8&1),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=pU(n.check,E,2,0)),l=0,u=0,n.mode=16182;case 16182:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.time=l),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,n.check=pU(n.check,E,4,0)),l=0,u=0,n.mode=16183;case 16183:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=pU(n.check,E,2,0)),l=0,u=0,n.mode=16184;case 16184:if(1024&HO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=pU(n.check,E,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&HO(n)&&((p=n.length)>s&&(p=s),p&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+p),b)),512&HO(n)&&4&n.wrap&&(n.check=pU(n.check,r,p,o)),s-=p,o+=p,n.length-=p),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&HO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b))}while(b&&p<s);if(512&HO(n)&&4&n.wrap&&(n.check=pU(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&HO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.comment+=String.fromCharCode(b))}while(b&&p<s);if(512&HO(n)&&4&n.wrap&&(n.check=pU(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&HO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}l=0,u=0}n.head&&(n.head.hcrc=HO(n)>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}e.adler=n.check=jB(l),l=0,u=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,OB;e.adler=n.check=1,n.mode=16191;case 16191:if(t===XB||t===xB)break e;case 16192:if(n.last){l>>>=7&u,u-=7&u,n.mode=16206;break}for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=16193;break;case 1:if(tN(n),n.mode=16199,t===xB){l>>>=2,u-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}l>>>=2,u-=2;break;case 16193:for(l>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&l,l=0,u=0,n.mode=16194,t===xB)break e;case 16194:n.mode=16195;case 16195:if(p=n.length){if(p>s&&(p=s),p>c&&(p=c),0===p)break e;i.set(r.subarray(o,o+p),a),s-=p,o+=p,c-=p,a+=p,n.length-=p;break}n.mode=16191;break;case 16196:for(;u<14;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.lens[z[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},T=PB(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(y<16)l>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(S=v+2;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(l>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}b=n.lens[n.have-1],p=3+(3&l),l>>>=2,u-=2}else if(17===y){for(S=v+3;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=3+(7&(l>>>=v)),l>>>=3,u-=3}else{for(S=v+7;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=11+(127&(l>>>=v)),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;p--;)n.lens[n.have++]=b}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,w={bits:n.lenbits},T=PB(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},T=PB(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,T){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===xB)break e;case 16199:n.mode=16200;case 16200:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,zB(e,h),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(m&&0==(240&m)){for(_=v,G=m,R=y;m=(M=n.lencode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,n.length=y,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=16191;break}if(64&m){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;m=(M=n.distcode[l&(1<<n.distbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(0==(240&m)){for(_=v,G=m,R=y;m=(M=n.distcode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,64&m){e.msg="invalid distance code",n.mode=16209;break}n.offset=y,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===c)break e;if(p=h-c,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),g=n.window}else g=i,f=a-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do{i[a++]=g[f++]}while(--p);0===n.length&&(n.mode=16200);break;case 16205:if(0===c)break e;i[a++]=n.length,c--,n.mode=16200;break;case 16206:if(n.wrap){for(;u<32;){if(0===s)break e;s--,l|=r[o++]<<u,u+=8}if(h-=c,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=HO(n)?pU(n.check,i,h,a-h):dU(n.check,i,h,a-h)),h=c,4&n.wrap&&(HO(n)?l:jB(l))!==n.check){e.msg="incorrect data check",n.mode=16209;break}l=0,u=0}n.mode=16207;case 16207:if(n.wrap&&HO(n)){for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=16209;break}l=0,u=0}n.mode=16208;case 16208:T=CB;break e;case 16209:T=UB;break e;case 16210:return BB;default:return LB}return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==IB))&&nN(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=HO(n)?pU(n.check,i,h,e.next_out-h):dU(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(16191===n.mode?128:0)+(16199===n.mode||16194===n.mode?256:0),(0===d&&0===h||t===IB)&&T===HB&&(T=NB),T},inflateEnd:function(e){if(qB(e))return LB;var t=e.state;return t.window&&(t.window=null),e.state=null,HB},inflateGetHeader:function(e,t){if(qB(e))return LB;var n=e.state;return 0==(2&n.wrap)?LB:(n.head=t,t.done=!1,HB)},inflateSetDictionary:function(e,t){var n,r=t.length;return qB(e)||0!==(n=e.state).wrap&&16190!==n.mode?LB:16190===n.mode&&dU(1,t,r,0)!==n.check?UB:nN(e,t,r,r)?(n.mode=16210,BB):(n.havedict=1,HB)},inflateInfo:"pako inflate (from Nodeca project)"},iN=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},oN=Object.prototype.toString,aN=gU.Z_NO_FLUSH,sN=gU.Z_FINISH,cN=gU.Z_OK,lN=gU.Z_STREAM_END,uN=gU.Z_NEED_DICT,dN=gU.Z_STREAM_ERROR,hN=gU.Z_DATA_ERROR,pN=gU.Z_MEM_ERROR;function fN(e){this.options=lB.assign({chunkSize:65536,windowBits:15,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fB,this.strm.avail_out=0;var n=rN.inflateInit2(this.strm,t.windowBits);if(n!==cN)throw new Error(fU[n]);if(this.header=new iN,rN.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=pB.string2buf(t.dictionary):"[object ArrayBuffer]"===oN.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=rN.inflateSetDictionary(this.strm,t.dictionary))!==cN))throw new Error(fU[n])}function gN(e,t){var n=new fN(t);if(n.push(e),n.err)throw n.msg||fU[n.err];return n.result}fN.prototype.push=function(e,t){var n,r,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?sN:aN,"[object ArrayBuffer]"===oN.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(n=rN.inflate(o,r))===uN&&s&&((n=rN.inflateSetDictionary(o,s))===cN?n=rN.inflate(o,r):n===hN&&(n=uN));o.avail_in>0&&n===lN&&o.state.wrap>0&&0!==e[o.next_in];)rN.inflateReset(o),n=rN.inflate(o,r);switch(n){case dN:case hN:case uN:case pN:return this.onEnd(n),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||n===lN))if("string"===this.options.to){var c=pB.utf8border(o.output,o.next_out),l=o.next_out-c,u=pB.buf2string(o.output,c);o.next_out=l,o.avail_out=a-l,l&&o.output.set(o.output.subarray(c,c+l),0),this.onData(u)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(n!==cN||0!==i){if(n===lN)return n=rN.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},fN.prototype.onData=function(e){this.chunks.push(e)},fN.prototype.onEnd=function(e){e===cN&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=lB.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var vN={Inflate:fN,inflate:gN,inflateRaw:function(e,t){return(t=t||{}).raw=!0,gN(e,t)},ungzip:gN,constants:gU},mN={Deflate:EB.Deflate,deflate:EB.deflate,deflateRaw:EB.deflateRaw,gzip:EB.gzip,Inflate:vN.Inflate,inflate:vN.inflate,inflateRaw:vN.inflateRaw,ungzip:vN.ungzip,constants:gU},yN=function(){function e(e,t){var n=this;this.collector=e,this.config=t,this.requestType=t.request_type||"xhr",this.supportBeacon=!(!window.navigator||!window.navigator.sendBeacon),this.errorCode={NO_URL:4001,IMG_ON:4e3,IMG_CATCH:4002,BEACON_FALSE:4003,XHR_ON:500,RESPONSE:5001,TIMEOUT:5005},this.customHeader=t.custom_request_header||{},this.collector.on("custom-request-header",(function(e){n.setRequestHeader(e)}))}return e.prototype.setRequestHeader=function(e){this.customHeader=DT(this.customHeader,e)},e.prototype.useFetch=function(e){var t=e.url,n=e.data,r=e.method,i=e.success,o=e.fail,a={"Content-Type":"application/json; charset=utf-8"};if(jG(this.customHeader).length)for(var s in this.customHeader)a[s]=this.customHeader[s];window.fetch?fetch(t,{method:r||"POST",headers:a,body:PT(n)}).then((function(e){return e.json()})).then((function(e){i&&i(e)})).catch((function(e){o&&o(n,e)})):(this.requestType="xhr",console.log("your brwoser not support fetch, use xhr"),this.useRequest({url:t,data:n,method:r,success:i,fail:o}))},e.prototype.useBeacon=function(e){var t=e.url,n=e.data,r=e.success,i=e.fail;window.navigator.sendBeacon(t,PT(n))?r&&r():i&&i(n,this.errorCode.BEACON_FALSE)},e.prototype.useRequest=function(e){var t=this,n=e.url,r=e.data,i=e.method,o=e.success,a=e.fail,s=e.timeout,c=e.useBeacon,l=e.withCredentials,u=e.app_key,d=e.forceXhr,h=e.zip;if(c&&this.supportBeacon)this.useBeacon({url:n,data:r,method:i,success:o,fail:a});else if("fetch"!==this.requestType||d)try{var p=new XMLHttpRequest,f=i||"POST";if(p.open(f,""+n,!0),p.setRequestHeader("Content-Type","application/json; charset=utf-8"),u&&p.setRequestHeader("X-MCS-AppKey",""+u),jG(this.customHeader).length)for(var g in this.customHeader)p.setRequestHeader(g,this.customHeader[g]);l&&(p.withCredentials=!0),s&&(p.timeout=s,p.ontimeout=function(){a&&a(r,t.errorCode.TIMEOUT)}),p.onload=function(){if(o){var e=null;if(p.responseText){try{e=JSON.parse(p.responseText)}catch(t){e={}}o(e,r)}}},p.onerror=function(){p.abort(),a&&a(r,t.errorCode.XHR_ON)};try{var v=PT(r);if(this.config.need_zip&&h){var m=(new TextEncoder).encode(v),y=mN.gzip(m);p.setRequestHeader("Content-Encoding","gzip"),p.send(y)}else p.send(v)}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_send",eventData:r,errorCode:1e3,msg:_.message||_.stack||"sdk_error_send"})}}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_request",eventData:r,errorCode:1001,msg:_.message||_.stack||"sdk_error_request"})}else this.useFetch({url:n,data:r,method:i,success:o,fail:a})},e}(),_N=function(){function e(e,t){if(this.devToolReady=!1,this.devToolOrigin="*",this.sendAlready=!1,!t.disable_debug&&"Microsoft Internet Explorer"!==e.configManager.get("browser")){this.collect=e,this.config=t,this.app_id=t.app_id;var n=e.adapters.storage;this.cacheStorgae=new n(!1),this.loadUrl=t.devtool_url||"https://lf-static.applogcdn.com/obj/applog-sdk-static/log-sdk/collect/devtool/debug-web.v2.0.0.js",this.filterEvent=new EO(["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","bav2b_page","bav2b_beat","bav2b_page_statistics","bav2b_click","bav2b_page_exposure","_be_active","predefine_pageview","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append","predefine_page_alive","predefine_page_close","abtest_exposure"]),this.load()}}return e.prototype.loadScript=function(e){try{var t=document.createElement("script");t.src=e,t.onerror=function(){console.log("load DevTool render fail")},t.onload=function(){console.log("load DevTool render success")},document.getElementsByTagName("body")[0].appendChild(t)}catch(n){console.log("devTool load fail, "+n.message)}},e.prototype.parseUrl=function(){var e={};try{var t=window.location.href.split("?")[1].split("&");t.length&&qG(t).call(t,(function(t){var n=t.split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}))}catch(n){}return e},e.prototype.load=function(){try{var e=this.parseUrl();if(e.open_devtool_web&&e.app_id){if(Y_(e.app_id)!==this.app_id)return}else if(!this.getStorage())return;this.loadBaseInfo(),this.loadHook(),this.setStorage(),this.addLintener(),this.loadDebuggerModule(),this.loadDevTool()}catch(t){console.log("debug fail, "+t.message)}},e.prototype.getStorage=function(){var e=this.cacheStorgae.getItem("__applog_open_devtool_web");return e&&Y_(e)===this.app_id},e.prototype.setStorage=function(){this.cacheStorgae.setItem("__applog_open_devtool_web",this.app_id)},e.prototype.loadDevTool=function(){this.loadScript(this.loadUrl)},e.prototype.loadBaseInfo=function(){if(this.log=[],this.event=[],this.info=[{title:"基本信息",key:"base",type:1,content:[{name:"app_id",desc:"APP_ID",value:this.config.app_id},{name:"channel",desc:"CHANNEL",value:this.config.channel},{name:"domain",desc:"上报域名",value:this.collect.configManager.getDomain()},{name:"sdk_version",desc:"SDK版本",value:hL},{name:"sdk_type",desc:"SDK引入方式",value:"npm"}]},{title:"用户信息",key:"user",type:2,content:[{name:"uuid",desc:"UUID",value:this.collect.configManager.get("user").user_unique_id||""},{name:"web_id",desc:"WEB_ID",value:this.collect.configManager.get("user").web_id||""}]},{title:"公共参数信息",type:2,key:"common",content:[{name:"browser",desc:"浏览器",value:this.collect.configManager.get("browser")},{name:"browser_version",desc:"浏览器版本",value:this.collect.configManager.get("browser_version")},{name:"platform",desc:"平台",value:this.collect.configManager.get("platform")},{name:"device_model",desc:"设备型号",value:this.collect.configManager.get("device_model")},{name:"os_name",desc:"操作系统",value:this.collect.configManager.get("os_name")},{name:"os_version",desc:"操作系统版本",value:this.collect.configManager.get("os_version")},{name:"resolution",desc:"屏幕分辨率",value:this.collect.configManager.get("resolution")},{name:"referrer",desc:"来源",value:this.collect.configManager.get("referrer")},{name:"custom",desc:"自定义信息",value:PT(this.collect.configManager.get("custom"))}]},{title:"配置信息",key:"config",type:3,content:[{name:"autotrack",desc:"全埋点",value:!!this.config.autotrack},{name:"stay",desc:"停留时长",value:!!this.config.enable_stay_duration}]},{title:"A/B配置信息",key:"ab",type:4,content:[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test}]}],this.config.enable_ab_test){var e=this.getInfo("ab"),t=[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test},{name:"vid",desc:"已曝光VID",value:this.collect.configManager.getAbVersion()},{name:"ab_domain",desc:"A/B域名",value:this.config.ab_channel_domain||$O(uL[this.config.channel])},{name:"all_values",desc:"全部配置",value:this.collect.configManager.getAbCache()}];e.content=t,this.setInfo("ab",e)}if(this.config.enable_native||this.config.Native){var n={title:"客户端信息",type:3,content:[{name:"native",desc:"是否打通",value:!!this.collect.bridgeReport}]};this.setInfo("native",n)}if(bw(hL).call(hL,"tob")){var r,i=this.getInfo("user");i.content.push({name:"sid",desc:Fk(r="DISS".split("")).call(r).join(""),value:"点击获取"}),this.setInfo("user",i)}},e.prototype.getInfo=function(e){var t,n=null;return qG(t=this.info).call(t,(function(t){t.key===e&&(n=t)})),n},e.prototype.setInfo=function(e,t){var n,r=!1;qG(n=this.info).call(n,(function(n){n.key===e&&(r=!0,n=t)})),r||this.info.push(t)},e.prototype.getSecondInfo=function(e,t){var n,r=this.getInfo(e),i=null;return qG(n=r.content).call(n,(function(e){e.name===t&&(i=e)})),i},e.prototype.setSecondInfo=function(e,t,n){var r,i=this.getInfo(e),o=!1;if(qG(r=i.content).call(r,(function(e){e.name===t&&(e.value=n,o=!0)})),!o){var a={name:t,value:n,desc:t.toLocaleUpperCase()};i.content.push(a)}this.setInfo(e,i)},e.prototype.loadHook=function(){var e=this;this.collect.on(QO.DEBUGGER_MESSAGE,(function(t){switch(t.type){case QO.DEBUGGER_MESSAGE_SDK:var n={time:t.time,type:t.logType||"sdk",infoType:t.infoType||"sdk",level:t.level,name:t.info,show:!0,levelShow:!0,needDesc:!!t.data};if(t.data&&(n.desc={content:PT(t.data)}),e.updateLog(n),t.secType&&"AB"===t.secType)e.setSecondInfo("ab","vid",e.collect.configManager.getAbVersion()),e.setSecondInfo("ab","all_values",e.collect.configManager.getAbCache());else if("USER"===t.secType)e.setSecondInfo("user","user_unique_id"===t.common?"uuid":t.common,e.collect.configManager.get(t.common));else if("HEADER"===t.secType){var r=e.collect.configManager.get(t.common);e.setSecondInfo("common",t.common,"custom"===t.common?PT(r):r)}return void e.updateInfo();case QO.DEBUGGER_MESSAGE_EVENT:if(t.data&&t.data.length){var i=t.data[0],o=i.events;if(!o.length)return;qG(o).call(o,(function(n){n.checkShow=!0,n.searchShow=!0,n.focusShow=!0,n.status=t.status,n.type=e.filterEvent.has(n.event)?"sdk":"cus",n.verifyType=t.verifyType?"verify":"no",n.info="","fail"===t.status&&(n.info={message:"code: "+t.code+", msg: "+(t.msg||t.failType)})})),e.updateEvent(i)}return}}))},e.prototype.addLintener=function(){var e=this;window.addEventListener("message",(function(t){if(t&&t.data&&"devtool:web:ready"===t.data.type){if(e.devToolOrigin=t.origin,e.devToolReady=!0,e.sendAlready)return;e.sendData("devtool:web:init",{info:e.info,log:e.log,event:e.event,sdk_type:bw(hL).call(hL,"tob")?"tob":"inner",appId:e.app_id}),e.sendAlready=!0}t&&t.data&&"devtool:web:ssid"===t.data.type&&e.collect.getToken((function(t){e.setSecondInfo("user","sid",t.tobid),e.updateInfo()}))}))},e.prototype.sendData=function(e,t){try{var n={type:e,payload:t};window&&window.postMessage(n,this.devToolOrigin)}catch(r){}},e.prototype.updateInfo=function(){this.devToolReady&&this.sendData("devtool:web:info",this.info)},e.prototype.updateLog=function(e){this.devToolReady?this.sendData("devtool:web:log",e):this.log.push(e)},e.prototype.updateEvent=function(e){this.devToolReady?this.sendData("devtool:web:event",e):this.event.push(e)},e.prototype.loadDebuggerModule=function(){var e="#debugger-applog-web {\n position: fixed;\n width: 45px;\n height: 45px;\n background-image: url("+$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1bz1cz24z22z1mz1mz1jz4bz18z1nz1nz1jz1mz1ez4az1nz1lz1e")+");\n bottom: 5%;\n right: 10%;\n cursor: pointer;\n z-index:100;\n background-size: 45px;\n }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.appendChild(n);var r=document.createElement("div");r.innerHTML='<div id="debugger-applog-web" class="debugger-applog-web"></div>';var i=document.createElement("div");i.innerHTML='<div id="debugger-container" class="debugger-container"></div>',document.getElementsByTagName("body")[0].appendChild(r),document.getElementsByTagName("body")[0].appendChild(i);var o=document.getElementById("debugger-applog-web");o&&o.addEventListener("click",(function(){window&&window.postMessage({type:"devtool:web:open-draw"},location.origin)}))},e}(),GN={autotrack:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z23z22z1mz22z20z18z1az1iz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/autotrack.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/autotrack.js"},object:"LogAutoTrack"},ab:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z19z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/ab.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/ab.js"},object:"LogAb"},stay:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz21z22z18z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/stay.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/stay.js"},object:"LogStay"},route:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1mz23z22z1cz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/route.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/route.js"},object:"LogRoute"},tracer:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz22z20z18z1az1cz20z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/tracer.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/tracer.js"},object:"LogTracer"},retry:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1cz22z20z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/retry.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/retry.js"},object:"LogRetry"},visual:{src:{cn:$O("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz24z1gz21z23z18z1jz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/visual.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/visual.js"},object:"LogVisual"}},RN=["et","profile","heartbeat","monitor"],bN=function(){function e(e){this.disableAutoPageView=!1,this.bridgeReport=!1,this.staging=!1,this.pluginInstances=[],this.sended=!1,this.started=!1,this.destroy=!1,this.sdkReady=!1,this.adapters={},this.loadType="base",this.sdkStop=!1,this.name=e,this.hook=new WO,this.remotePlugin=new CO,this.Types=fL,this.adapters.storage=cL}return e.usePlugin=function(t,n,r){if(n){for(var i=!1,o=0,a=e.plugins.length;o<a;o++)if(e.plugins[o].name===n){e.plugins[o].plugin=t,e.plugins[o].options=r||{},i=!0;break}i||e.plugins.push({name:n,plugin:t,options:r})}else e.plugins.push({plugin:t})},e.prototype.usePlugin=function(e,t,n){e&&("full"===this.loadType&&bw(RN).call(RN,e)?console.info("your sdk version has "+e+" plugin already ~"):t?"string"==typeof t?this.remotePlugin.get(e)||this.remotePlugin.set(e,{src:t,call:n}):this.remotePlugin.get(e)||this.remotePlugin.set(e,{instance:t}):this.remotePlugin.get(e)||this.remotePlugin.set(e,"sdk"))},e.prototype.init=function(t){var n,r,i=this;this.logger=new GL(this.name,t.log),this.inited?this.logger.warn("[instance: "+this.name+"], every instance's api: init, can be call only one time!"):t&&qO(t)?t.app_id&&"number"==typeof(r=t.app_id)&&!isNaN(r)?t.app_key&&"string"!=typeof t.app_key?this.logger.warn("app_key param is error, must be string, please check!"):(t.channel_domain||-1!==hR(n=["cn","sg","va","my"]).call(n,t.channel)||(this.logger.warn("channel must be `cn`, `sg`,`va`, `my` !"),t.channel="cn"),this.spider=new RL,this.spider.checkSpider(t)?this.logger.warn("your env may be a spider, can not report!"):(this.appBridge=new bL(this,t.enable_native),this.requestManager=new yN(this,t),this.bridgeReport=this.appBridge.bridgeInject(),this.configManager=new _L(this,t),this.debugger=new _N(this,t),this.initConfig=t,this.emit(fL.Init),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Init",data:t,level:"info",time:vR(),infoType:"cus"}),this.destroy=!1,t.disable_auto_pv&&(this.disableAutoPageView=!0),this.bridgeReport||(this.configManager.set({app_id:t.app_id}),this.eventManager=new SL,this.tokenManager=new EL,this.sessionManager=new wL,qT.all([new qT((function(e){i.once(fL.TokenComplete,(function(){e(!0)}))})),new qT((function(e){i.once(fL.Start,(function(){e(!0)}))}))]).then((function(){try{var n;JX(n=e.plugins).call(n,(function(e,t){var n=t.plugin,r=t.options,o=DT(i.initConfig,r),a=new n;return a.apply(i,o),e.push(a),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK加载"+t.name+"插件",level:"info",time:vR(),infoType:"sdk"}),e}),i.pluginInstances)}catch(r){console.warn("load plugin error, "+r.message),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK加载插件发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.sdkReady=!0,i.emit(fL.Ready),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 用户信息初始化完成",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 初始化完成",time:vR(),level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.logger.info("appid: "+t.app_id+", userInfo:"+PT(i.configManager.get("user"))),i.logger.info("appid: "+t.app_id+", sdk is ready, version type is "+i.loadType+", version is "+hL+", you can report now !!!"),t.disable_auto_pv&&(i.disableAutoPageView=!0);try{"full"===i.loadType&&(t.enable_ab_test||t.autotrack)&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(r){i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.pageView(),i.on(fL.TokenChange,(function(e){"webid"===e&&i.pageView(),i.logger.info("appid: "+t.app_id+" token change, new userInfo:"+PT(i.configManager.get("user"))),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 设置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(fL.TokenReset,(function(){i.logger.info("appid: "+t.app_id+" token reset, new userInfo:"+PT(i.configManager.get("user"))),i.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 重置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(fL.RouteChange,(function(e){e.init||t.disable_route_report||i.pageView()}))})),this.tokenManager.apply(this,t),this.eventManager.apply(this,t),this.sessionManager.apply(this,t)),this.inited=!0)):this.logger.warn("app_id param is error, must be number, please check!"):this.logger.warn("init params error,please check!")},e.prototype.config=function(e){if(!this.inited)return console.warn("config must be use after function init"),void this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config must be use after function init",infoType:"sdk"});if(!e||!qO(e))return console.warn("config params is error, please check"),void this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config params is error, please check",infoType:"sdk"});if(this.bridgeReport)this.appBridge.setConfig(e);else{e._staging_flag&&1===e._staging_flag&&(this.staging=!0),e.disable_auto_pv&&(this.disableAutoPageView=!0,delete e.disable_auto_pv);var t=OO({},e),n=this.initConfig.configPersist||this.initConfig.config_persist||!1;if(this.initConfig&&n){var r=this.configManager.getStore();r&&(t=DT(r,e)),this.configManager.setStore(e)}t.web_id,t.user_unique_id;var i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&hR(t).call(t,r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof KG){var i=0;for(r=KG(e);i<r.length;i++)hR(t).call(t,r[i])<0&&(n[r[i]]=e[r[i]])}return n}(t,["web_id","user_unique_id"]);this.configManager.set(i),t.hasOwnProperty("web_id")&&this.emit(fL.ConfigWebId,t.web_id),t.hasOwnProperty("user_unique_id")&&this.emit(fL.ConfigUuid,t.user_unique_id),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Config",level:"info",time:vR(),data:t,infoType:"cus"})}},e.prototype.setUserUniqueID=function(e){this.config({user_unique_id:e})},e.prototype.setHeaderInfo=function(e,t){var n={};n[e]=t,this.config(n)},e.prototype.removeHeaderInfo=function(e){var t={};t[e]=void 0,this.config(t)},e.prototype.setDomain=function(e){this.configManager&&this.configManager.setDomain(e),this.emit(fL.ConfigDomain)},e.prototype.getConfig=function(e){var t;return null===(t=this.configManager)||void 0===t?void 0:t.get(e)},e.prototype.send=function(){this.start()},e.prototype.start=function(){this.inited&&!this.sended&&(this.sended=!0,this.started=!0,this.emit(fL.Start),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Start",level:"info",time:vR(),infoType:"cus"}),this.bridgeReport&&(this.pageView(),this.emit(fL.Ready)))},e.prototype.event=function(e,t){var n=this;try{var r=[];if(uS(e))qG(e).call(e,(function(e){var t=n.processEvent(e[0],e[1]||{});t&&r.push(t)}));else{var i=this.processEvent(e,t);if(!i)return;r.push(i)}this.bridgeReport?qG(r).call(r,(function(e){var t=e.event,r=e.params;n.appBridge.onEventV3(t,PT(r))})):r.length&&(this.emit(fL.Event,r),this.emit(fL.SessionResetTime)),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event",level:"info",time:vR(),data:e,infoType:"cus"})}catch(o){this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e,t){if(uS(e))console.warn("beconEvent not support batch report, please check");else{var n=[],r=this.processEvent(e,t||{});r&&(n.push(r),n.length&&(this.emit(fL.BeconEvent,n),this.emit(fL.SessionResetTime)),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Beacon Event",level:"info",time:vR(),data:e,infoType:"sdk"}))}},e.prototype.beaconEvent=function(e,t){this.beconEvent(e,t)},e.prototype.processEvent=function(e,t){void 0===t&&(t={});try{if(!e)return console.warn("eventName is null, please check"),null;var n=e;/^event\./.test(e)&&(n=mG(e).call(e,6));var r=t;"object"!=Wd(r)&&(r={}),r.profile?delete r.profile:r.event_index=ZO();var i=void 0;return r.local_ms?(i=r.local_ms,delete r.local_ms):i=+new Date,{event:n,params:r,local_time_ms:i,is_bav:this.initConfig&&this.initConfig.autotrack?1:0}}catch(o){return this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"}),{event:e,params:t}}},e.prototype.filterEvent=function(e){this.eventFilter=e},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,n){this.hook.emit(e,t,n)},e.prototype.set=function(e){this.hook.set(e)},e.prototype.stop=function(){this.sdkStop=!0},e.prototype.reStart=function(){this.sdkStop=!1},e.prototype.pageView=function(){this.disableAutoPageView||this.predefinePageView()},e.prototype.predefinePageView=function(e){if(void 0===e&&(e={}),this.inited){var t={title:document.title||location.pathname,url:location.href,url_path:this.handlePath(),time:vR(),referrer:window.document.referrer,$is_first_time:""+(this.configManager&&this.configManager.is_first_time||!1)},n=OO(OO({},t),e);this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 上报PV",level:"info",time:vR(),infoType:"sdk"}),this.event("predefine_pageview",n)}else console.warn("predefinePageView must be use after function init")},e.prototype.handlePath=function(){var e=location.pathname;try{if(this.initConfig.allow_hash){var t=new bk(location.href).hash.match(/#\/([^?#]+)/i);return t&&t.length?t[1]:location.pathname}}catch(n){e=location.pathname}return e},e.prototype.clearEventCache=function(){this.emit(fL.CleanEvents)},e.prototype.setWebIDviaUnionID=function(e){if(e){var t=tL(e);this.config({web_id:""+t,wechat_unionid:e}),this.emit(fL.CustomWebId)}},e.prototype.setWebId=function(e){this.config({web_id:""+e})},e.prototype.setWebIDviaOpenID=function(e){if(e){var t=tL(e);this.config({web_id:""+t,wechat_openid:e}),this.emit(fL.CustomWebId)}},e.prototype.setNativeAppId=function(e){this.bridgeReport&&this.appBridge.setNativeAppId(e)},e.prototype.setRequestHeaders=function(e){this.emit(fL.CustomHeader,e)},e.prototype.getSessionId=function(){return TL()},e.prototype.setSessionId=function(e){this.emit(fL.SessionReset,e)},e.prototype.resetStayDuration=function(e,t,n){this.emit(fL.ResetStay,{url_path:e,title:t,url:n},fL.Stay)},e.prototype.resetStayParams=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.emit(fL.SetStay,{url_path:e,title:t,url:n},fL.Stay)},e.prototype.getToken=function(e,t){var n=this;if(this.inited){var r=!1,i=function(t){if(!r){var i;r=!0;var o=n.configManager.get().user;return t&&(o.tobid=t,o[Fk(i="diss".split("")).call(i).join("")]=t),e(OO({},o))}},o=function(){n.tokenManager.getTobId().then((function(e){i(e)}))};this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行GetToken",level:"info",time:vR(),infoType:"cus"}),this.sdkReady?o():(t&&vG((function(){i()}),t),this.on(fL.Ready,(function(){o()})))}else console.warn("getToken must be use after function init")},e.prototype.profileSet=function(e){this.bridgeReport?this.appBridge.profileSet(PT(e)):this.emit(fL.ProfileSet,e,fL.Profile),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSet",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileSetOnce=function(e){this.bridgeReport?this.appBridge.profileSetOnce(PT(e)):this.emit(fL.ProfileSetOnce,e,fL.Profile),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSetOnce",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileIncrement=function(e){this.bridgeReport?this.appBridge.profileIncrement(PT(e)):this.emit(fL.ProfileIncrement,e,fL.Profile),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileIncrement",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileUnset=function(e){this.bridgeReport?this.appBridge.profileUnset(e):this.emit(fL.ProfileUnset,e,fL.Profile),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileUnset",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileAppend=function(e){this.bridgeReport?this.appBridge.profileAppend(PT(e)):this.emit(fL.ProfileAppend,e,fL.Profile),this.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileAppend",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.setExternalAbVersion=function(e){var t;this.emit(fL.AbExternalVersion,"string"==typeof e&&e?pE(t=""+e).call(t):null,fL.Ab)},e.prototype.getVar=function(e,t,n){this.emit(fL.AbVar,{name:e,defaultValue:t,callback:n},fL.Ab)},e.prototype.getABconfig=function(e,t){this.emit(fL.AbConfig,{params:e,callback:t},fL.Ab)},e.prototype.getAbSdkVersion=function(){return this.configManager.getAbVersion()},e.prototype.onAbSdkVersionChange=function(e){var t=this;return this.emit(fL.AbVersionChangeOn,e,fL.Ab),function(){t.emit(fL.AbVersionChangeOff,e,fL.Ab)}},e.prototype.offAbSdkVersionChange=function(e){this.emit(fL.AbVersionChangeOff,e,fL.Ab)},e.prototype.openOverlayer=function(){this.emit(fL.AbOpenLayer,"",fL.Ab)},e.prototype.closeOverlayer=function(){this.emit(fL.AbCloseLayer,"",fL.Ab)},e.prototype.getAllVars=function(e){this.emit(fL.AbAllVars,e,fL.Ab)},e.prototype.destoryInstace=function(){this.destroy||(this.destroy=!0,this.off(fL.TokenComplete),this.emit(fL.DestoryInstance))},e.prototype.destroyInstance=function(){this.destroy||(this.destroy=!0,this.off(fL.TokenComplete),this.emit(fL.DestoryInstance))},e.plugins=[],e}(),TN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.event_verify_url&&("string"==typeof t.event_verify_url?(this.url=t.event_verify_url+"/v1/list_test",e.on(e.Types.SubmitBefore,(function(t){e.requestManager.useBeacon({url:n.url,data:t}),e.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_EVENT,info:"SDK Report ByteIo Verify Request",time:vR(),data:t,code:200,status:"success",verifyType:!0})}))):console.log("please use correct et_test url"))},e}(),wN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.duration=6e4,this.reportUrl=e.configManager.getDomain()+"/profile/list";var r=e.Types;this.eventCheck=new pL(e,t),this.cache={},this.collect.on(r.ProfileSet,(function(e){n.setProfile(e)})),this.collect.on(r.ProfileSetOnce,(function(e){n.setOnceProfile(e)})),this.collect.on(r.ProfileUnset,(function(e){n.unsetProfile(e)})),this.collect.on(r.ProfileIncrement,(function(e){n.incrementProfile(e)})),this.collect.on(r.ProfileAppend,(function(e){n.appendProfile(e)})),this.collect.on(r.ProfileClear,(function(){n.cache={}})),this.ready(r.Profile)},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.report=function(e,t){void 0===t&&(t={});try{if(this.config.disable_track_event)return;var n=[];n.push(this.collect.processEvent(e,t));var r=this.collect.eventManager.merge(n);this.collect.requestManager.useRequest({url:this.reportUrl,data:r}),this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:r,code:200,status:"success"})}catch(i){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message})}},e.prototype.setProfile=function(e){var t=this.formatParams(e);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set",OO(OO({},t),{profile:!0})))},e.prototype.setOnceProfile=function(e){var t=this.formatParams(e,!0);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set_once",OO(OO({},t),{profile:!0})))},e.prototype.incrementProfile=function(e){e?this.report("__profile_increment",OO(OO({},e),{profile:!0})):console.warn("please check the params, must be object!!!")},e.prototype.unsetProfile=function(e){if(e){var t={};t[e]="1",this.report("__profile_unset",OO(OO({},t),{profile:!0}))}else console.warn("please check the key, must be string!!!")},e.prototype.appendProfile=function(e){if(e){var t={};for(var n in e){var r;"string"==typeof e[n]||"Array"===mG(r=Object.prototype.toString.call(e[n])).call(r,8,-1)?t[n]=e[n]:console.warn("please check the value of param: "+n+", must be string or array !!!")}jG(t).length&&this.report("__profile_append",OO(OO({},t),{profile:!0}))}else console.warn("please check the params, must be object!!!")},e.prototype.pushCache=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){n.cache[t]={val:n.clone(e[t]),timestamp:vR()}}))},e.prototype.formatParams=function(e,t){var n=this;void 0===t&&(t=!1);try{var r;if(!e||"[object Object]"!==Object.prototype.toString.call(e))return void console.warn("please check the params type, must be object !!!");var i={};for(var o in e){var a;"string"==typeof e[o]||"number"==typeof e[o]||"Array"===mG(a=Object.prototype.toString.call(e[o])).call(a,8,-1)?i[o]=e[o]:console.warn("please check the value of params:"+o+", must be string,number,Array !!!")}var s=jG(i);if(!s.length)return;if(!this.eventCheck.checkEventParams(i))return;var c=vR();return JX(r=QG(s).call(s,(function(r){var i=n.cache[r];return t?!i:!(i&&n.compare(i.val,e[r])&&c-i.timestamp<n.duration)}))).call(r,(function(e,t){return e[t]=i[t],e}),{})}catch(l){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:l.message}),console.log("error")}},e.prototype.compare=function(e,t){try{return PT(e)===PT(t)}catch(n){return this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),!1}},e.prototype.clone=function(e){try{return JSON.parse(PT(e))}catch(t){return this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),e}},e.prototype.unReady=function(){console.warn("sdk is not ready, please use this api after start")},e}(),SN=function(){function e(){var e=this;this.setInterval=function(){e.clearIntervalFunc=function(e,t){void 0===e&&(e=function(){}),void 0===t&&(t=1e3);var n,r=vR()+t;return n=vG((function i(){var o=vR()-r;e(),r+=t,n=vG(i,Math.max(0,t-o))}),t),function(){window.clearTimeout(n)}}((function(){e.isSessionhasEvent&&e.endCurrentSession()}),e.sessionInterval)},this.clearInterval=function(){e.clearIntervalFunc&&e.clearIntervalFunc()}}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,!t.disable_heartbeat){this.sessionInterval=6e4,this.startTime=0,this.lastTime=0,this.setInterval();var r=this.collect.Types;this.collect.on(r.SessionResetTime,(function(){n.process()}))}},e.prototype.endCurrentSession=function(){this.collect.event("_be_active",{start_time:this.startTime,end_time:this.lastTime,url:window.location.href,referrer:window.document.referrer,title:document.title||location.pathname}),this.isSessionhasEvent=!1,this.startTime=0},e.prototype.process=function(){this.isSessionhasEvent||(this.isSessionhasEvent=!0,this.startTime=+new Date);var e=this.lastTime||+new Date;this.lastTime=+new Date,this.lastTime-e>this.sessionInterval&&(this.clearInterval(),this.endCurrentSession(),this.setInterval())},e}(),MN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.channel_domain||t.disable_track_event||t.disable_sdk_monitor||(this.collect=e,this.config=t,this.url=e.configManager.getUrl("event"),this.collect.on(e.Types.Ready,(function(){n.sdkOnload()})),this.collect.on(e.Types.SubmitError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.response;"f_data"===t&&n.sdkError(r,i,o)})),this.collect.on(e.Types.SDKInnerError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.msg;n.sdkInnerError(t,r,i,o)})))},e.prototype.sdkOnload=function(){var e=this;try{var t=this.collect.configManager.get(),n=t.header,r=t.user,i=n.app_id,o=n.app_name,a=n.sdk_version,s=r.web_id,c={events:[{event:"onload",params:PT({app_id:i,app_name:o||"",sdk_version:a,sdk_type:"npm",sdk_config:this.config,sdk_desc:"TOC",url:location.href}),local_time_ms:vR()}],user:{user_unique_id:s},header:{}};vG((function(){e.collect.requestManager.useRequest({url:e.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkError=function(e,t,n){var r=this;try{var i=e[0],o=i.user,a=i.header,s=[];qG(e).call(e,(function(e){var t;qG(t=e.events).call(t,(function(e){s.push(e)}))}));var c={events:zS(s).call(s,(function(e){return{event:"on_error",params:PT({type:"sdk_event_error",error_code:t,app_id:a.app_id,app_name:a.app_name||"",error_event:e.event,sdk_version:a.sdk_version,local_time_ms:e.local_time_ms,tea_event_index:vR(),params:e.params,header:a,user:o,err_msg:n.m||""}),local_time_ms:vR()}})),user:{user_unique_id:o.user_unique_id},header:{}};vG((function(){r.collect.requestManager.useRequest({url:r.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkInnerError=function(e,t,n,r){var i=this;try{var o=t[0],a=o.user,s=o.header,c=[];qG(t).call(t,(function(e){var t;qG(t=e.events).call(t,(function(e){c.push(e)}))}));var l={events:zS(c).call(c,(function(t){return{event:"on_error",params:PT({type:e,error_code:n,app_id:s.app_id,app_name:s.app_name||"",error_event:t.event,sdk_version:s.sdk_version,local_time_ms:t.local_time_ms,tea_event_index:vR(),params:t.params,header:s,user:a,ua:window.navigator.userAgent,err_msg:r}),local_time_ms:vR()}})),user:a,header:{}};vG((function(){i.collect.requestManager.useRequest({url:i.url,data:[l],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(u){}},e}(),EN="undefined"!=typeof window?(window.LogPluginObject||(window.LogPluginObject={}),window.LogPluginObject):null,zN=function(){function e(){}return e.prototype.apply=function(e,t){this._plugin={},this.config=t,this.collect=e,this.channel=t.channel||"cn",this.loadExtend()},e.prototype.loadExtend=function(){var e=this;try{var t;qG(t=this.collect.remotePlugin).call(t,(function(t,n){if("sdk"===t)if(GN.hasOwnProperty(n)){var r=GN[n].object,i=GN[n].src[e.channel]+"?query="+vR();e.exist(n,r,i)}else console.warn("your "+n+" is not exist,please check plugin name");else"object"==Wd(t)&&(t.src?e.exist(n,t.call,t.src):e.process(n,t.instance,"INSTANCE"))}))}catch(n){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("load extend error")}},e.prototype.exist=function(e,t,n){var r=this;EN[t]?(this.process(e,EN[t]),console.log("已有"+e+"插件,避免重复加载~")):this.loadPlugin(e,n,(function(){r.process(e,EN[t]),console.log(" %c %s %s %s","color: yellow; background-color: black;","–","load plugin:"+e+" success","-")}),(function(){console.log(" %c %s %s %s","color: red; background-color: yellow;","–","load plugin:"+e+" error","-")}))},e.prototype.process=function(e,t,n){try{if(n){var r=new t;r.apply&&r.apply(this.collect,this.config),console.log("excude "+e+" success")}else t&&t(this.collect,this.config)}catch(i){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message}),console.log("excude "+e+" error, message:"+i.message)}},e.prototype.loadPlugin=function(e,t,n,r){var i=this;try{var o=document.createElement("script");o.src=t,this._plugin[e]||(this._plugin[e]=[]),this._plugin[e].push(n),o.onerror=function(){r(t)},o.onload=function(){var t;qG(t=i._plugin[e]).call(t,(function(e){e()}))},document.getElementsByTagName("head")[0].appendChild(o)}catch(a){this.collect.emit(QO.DEBUGGER_MESSAGE,{type:QO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:a.message})}},e}();bN.usePlugin(zN,"extend"),bN.usePlugin(TN,"et"),bN.usePlugin(wN,"profile"),bN.usePlugin(SN,"heartbeat"),bN.usePlugin(MN,"monitor"),new bN("default");var DN=bN,kN=new(function(){function e(){Zm(this,e),Yd(this,"tea",void 0),Yd(this,"_userId",void 0),Yd(this,"_deviceId",void 0)}return Ym(e,[{key:"userId",get:function(){return this._userId}},{key:"deviceId",get:function(){return this._deviceId}},{key:"channel",get:function(){return"cn"}},{key:"init",value:function(e){var t,n;this._userId=(null==e?void 0:e.userId)||((t=localStorage.getItem(pS))||(t=fS(12),localStorage.setItem(pS,t),t)),this._deviceId=(null==e?void 0:e.deviceId)||((n=localStorage.getItem(hS))||(n=fS(11),localStorage.setItem(hS,n),n)),!1!==(null==e?void 0:e.enable)&&(this.tea=this._createTea())}},{key:"_createTea",value:function(){var e=new DN("player_track");return e.init({app_id:468759,channel:"cn"}),e.start(),e.config({user_unique_id:this._userId,device_id:this._deviceId}),e}}]),e}()),AN=i;Dn({global:!0,forced:AN.globalThis!==AN},{globalThis:AN});var FN=n(i),PN=d,IN=Ae,XN=nn;Dn({target:"Reflect",stat:!0,forced:!o((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return PN(IN(e),t,XN(n))}});var xN=n(te.Reflect.apply);Dn({target:"Math",stat:!0},{trunc:Fn});var HN=n(te.Math.trunc),CN=Dn,ON=o,LN=$r.f;CN({target:"Object",stat:!0,forced:ON((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:LN});var UN=te.Object,BN=n((function(e){return UN.getOwnPropertyNames(e)})),NN=n(te.Symbol.for),VN=n(te.Symbol.keyFor),jN=Zs("Array").entries,KN=yr,QN=Ye,WN=se,qN=jN,ZN=Array.prototype,$N={DOMTokenList:!0,NodeList:!0},YN=n((function(e){var t=e.entries;return e===ZN||WN(ZN,e)&&t===ZN.entries||QN($N,KN(e))?qN:t})),JN=Dn,eV=nF,tV=o,nV=ee,rV=yF.onFreeze,iV=Object.freeze;JN({target:"Object",stat:!0,forced:tV((function(){iV(1)})),sham:!eV},{freeze:function(e){return iV&&nV(e)?iV(rV(e)):e}});var oV=n(te.Object.freeze),aV=Math.log,sV=Math.LOG10E;Dn({target:"Math",stat:!0},{log10:Math.log10||function(e){return aV(e)*sV}});var cV=n(te.Math.log10),lV=tF;Dn({target:"Object",stat:!0,forced:Object.isExtensible!==lV},{isExtensible:lV});var uV=n(te.Object.isExtensible),dV=Dn,hV=ee,pV=yF.onFreeze,fV=nF,gV=o,vV=Object.preventExtensions;dV({target:"Object",stat:!0,forced:gV((function(){vV(1)})),sham:!fV},{preventExtensions:function(e){return vV&&hV(e)?vV(pV(e)):e}});var mV=n(te.Object.preventExtensions),yV=Zs("Array").values,_V=yr,GV=Ye,RV=se,bV=yV,TV=Array.prototype,wV={DOMTokenList:!0,NodeList:!0},SV=n((function(e){var t=e.values;return e===TV||RV(TV,e)&&t===TV.values||GV(wV,_V(e))?bV:t})),MV=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,EV=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,zV=/ANGLE\s+\((?:[^,]+,\s+)?(?:[^:]+:\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)?/,DV="OpenGL Engine",kV="Unknow",AV=4318,FV=32902,PV=4098,IV=function(e){return e.CpuDeriver="CpuDeriver",e.Intel="Intel",e.Nvidia="NVIDIA",e.Amd="AMD",e.Apple="Apple",e.Adreno="Adreno",e[e.Unknow=kV]="Unknow",e}(IV||{});function XV(e){return"NVIDIA"===e?AV:"AMD"===e?PV:"Intel"===e?FV:0}function xV(e){var t,n,r,i,o=function(e){var t=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple|Adreno)/.exec(e);return t?"Radeon"===t[0]?"AMD":"SwiftShader"===t[0]?"CpuDeriver":t[0]:IV.Unknow}(e);return o===IV.Unknow||"CpuDeriver"===o?{vendor:o,vendorId:0,model:e,backupModel:e,api:kV}:/^ANGLE/.test(e)?function(e,t){var n,r,i,o,a,s,c=kV,l=kV,u=kV;return"Intel"!==e&&"NVIDIA"!==e||(r=MV.exec(t)),"AMD"!==e&&"Adreno"!==e||(r=EV.exec(t)),"Apple"===e&&(r=zV.exec(t)),(null==r?void 0:r[1])&&(c=pE(i=r[1].replace(/(AMD|NVIDIA)/,"")).call(i)),(null==r?void 0:r[2])&&(u=pE(o=r[2]).call(o)),c=pE(n=c.split("(0x00")[0]).call(n),l="Intel"===e?c=pE(a=c.split(DV)[0]).call(a):pE(s=c.split(DV)[0]).call(s),{vendor:e,vendorId:XV(e),model:c,backupModel:l,api:u}}(o,e):"Intel"===o?{vendor:o,vendorId:XV(o),model:pE(r=e.split(DV)[0]).call(r),backupModel:pE(i=e.split(DV)[0]).call(i),api:kV}:{vendor:o,vendorId:XV(o),model:pE(t=e.replace(/(AMD|NVIDIA)/,"")).call(t),backupModel:pE(n=e.split(DV)[0].replace(/(AMD|NVIDIA)/,"")).call(n),api:kV}}var HV=Dn,CV=Math.log,OV=Math.LN2;HV({target:"Math",stat:!0},{log2:function(e){return CV(e)/OV}});var LV=n(te.Math.log2),UV="g_ven";var BV="Arc(TM) A770M Graphics|995\nArc(TM) A770 Graphics|983\nArc(TM) A770 Graphics|969\nArc(TM) A580 Graphics|944\nArc(TM) A730M Graphics|822\nArc(TM) A750 Graphics|768\nArc(TM) A750 Graphics|768\nArc(TM) A550M Graphics|660\nArc(TM) A550M Graphics|634\nXe Graphics ReleaseInternal|561\nArc(TM) A770M Graphics|498\nArc(TM) A380 Graphics|473\nArc(TM) A380 Graphics|468\nArc(TM) A370M Graphics|342\nArc(TM) A370M Graphics|341\nXe Graphics|319\nHD Graphics 630 GT2|309\nArc(TM) A350M Graphics|284\nIris(R) Xe MAX Graphics|214\nIris(R) Xe Graphics RI|205\nIris(R) Xe Graphics ReleaseInternal|181\nIris(R) Xe Graphics|180\nGen12 Desktop Graphics Controller|179\nIris(R) Xe Graphics|178\nIris(R) Xe MAX Graphics|168\nCorporation Iris Xe Graphics|167\nCorporation TigerLake-LP GT2 [Iris Xe Graphics]|162\nXe Graphics|158\nArc(TM) A350M Graphics|156\nCorporation TigerLake GT2 [Iris Xe Graphics]|149\nUHD Graphics 770|138\nUHD Graphics ReleaseInternal|137\nIris(R) Pro Graphics P580|137\nIris(R) Plus Graphics|132\nIris Plus Graphics|127\nIris(R) Pro Graphics 580|126\nUHD Graphics 770|125\nUHD Graphics 750|125\nRadeong 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.9.0)|123\nCorporation Iris Plus Graphics G7|123\nIris(R) Plus Graphics|122\nIris(R) Plus Graphics 940|121\nIris(R) Plus Graphics 650|121\nIris(R) Plus Graphics 655|121\nIris(R) Plus Graphics 655|121\nHD Graphics P4600|120\nIris(TM) Pro Graphics 6200|120\nIris(R) Plus Graphics|118\nIris(R) Plus Graphics 650|116\nIris(R) Plus Graphics 655|115\nIris(R) Pro Graphics 580|114\nCorporation Iris Pro Graphics 580|114\nIris(R) Plus Graphics 645|113\nIris(TM) Pro Graphics 6200|113\nIris(TM) Pro Graphics P580|113\nCorporation Iris Plus Graphics 655|112\nArc(TM) Graphics RI|111\nIris(R) Plus Graphics 655|111\nIris(R) Plus Graphics 655|110\nIris(R) Plus Graphics|110\nUHD Graphics|110\nIris Plus Graphics 655|108\nIris(R) Plus Graphics 650|108\nIris(R) Plus Graphics 650|108\nIris(TM) Pro Graphics 580|108\nIris(TM) Pro Graphics 6200|107\nIris Graphics 6100|107\nIris(TM) Pro Graphics 6200|107\nIris(R) Plus Graphics 645|106\nUHD Graphics 730|106\nIris(TM) Pro Graphics 6200|103\nIris Pro Graphics 580|102\nCorporation Iris Pro Graphics 6200|102\nIris(R) Plus Graphics gfx-driver-user-comp_media-21486 DC ReleaseInternal|101\nIris(R) Pro Graphics 580|101\nIris Plus Graphics 645|101\nUHD Graphics 750|100\nIris(TM) Pro Graphics 580|99\nIris(TM) Graphics 550|99\nIris(TM) Pro Graphics P6300|99\nIris(R) Plus Graphics 650|99\nIris(TM) Pro Graphics 5200|98\nIris(R) Graphics 550|97\nIris(R) Plus Graphics|97\nIris(R) Plus Graphics 650|96\nIris(R) Plus Graphics 655|96\nIris(R) Graphics 550|96\nIris(R) Plus Graphics 645|95\nIris Plus Graphics 650|95\nIris(R) Graphics 550|95\nIris Graphics 550|93\nIris(R) Plus Graphics 650|93\nIris(R) Pro Graphics 580|93\nIris(TM) Plus Graphics 650|91\nIris(TM) Graphics 550|91\nIris(R) Plus Graphics 640|89\nIris(TM) Plus Graphics 650|88\nIris(TM) Pro Graphics P6300|88\nIris(TM) Plus Graphics 650|88\nIris(TM) Graphics 550|87\nUHD Graphics 730|87\nCorporation Iris Plus Graphics 650|87\nIris(TM) Pro Graphics 5200|86\nCorporation CometLake-H GT2 [UHD Graphics]|86\nIris(R) Graphics 540|86\nUHD Graphics P630|86\nUHD Graphics 630|85\nIris(TM) Graphics 540|85\nIris(TM) Plus Graphics 640|84\nIris(TM) Graphics 540|84\nUHD Graphics 630|84\nUHD Graphics 630|83\nUHD Graphics P630|83\nIris(TM) Plus Graphics 640|83\nUHD Graphics 630|83\nUHD Graphics 630|83\nIris Plus Graphics 640|83\nIris(TM) Graphics 540|82\nUHD Graphics 630|82\nUHD Graphics 630|82\nIris(TM) Pro Graphics 5200|81\nUHD Graphics 630|81\nHD Graphics 630|81\nUHD Graphics 630|81\nUHD Graphics 630|81\nUHD Graphics 630|80\nUHD Graphics 630|80\nUHD Graphics 630|80\nIris Pro Graphics 6200|80\nUHD Graphics 630|80\nIris Graphics 540|80\nHD Graphics 630|80\nIris(TM) Graphics 540|80\nIris(TM) Pro Graphics 5200|79\nUHD Graphics 630|79\nUHD Graphics 630|79\nUHD Graphics 630|79\nIris Graphics 540|79\nUHD Graphics 630|79\nUHD Graphics|78\nCorporation Sky Lake Integrated Graphics|78\nIris(TM) Pro Graphics 6200|78\nCorporation WhiskeyLake-U GT2 [UHD Graphics 620]|78\nRadeong 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.8.0)|78\nUHD Graphics 710|78\nUHD Graphics 630|78\nUHD Graphics P630|77\nUHD Graphics 630|77\nUHD Graphics 630 (Desktop 9 Series)|77\nUHD Graphics 630|77\nCoffee Lake UHD Graphics|77\nIris(TM) Pro Graphics 5200|77\nUHD Graphics 630|76\nIris(R) Plus Graphics 640|76\nIris(TM) Pro Graphics 5200|76\nUHD Graphics 630|76\nUHD Graphics|76\nUHD Graphics 630|76\nIris(TM) Pro Graphics 5200|75\nUHD Graphics 630|75\nUHD Graphics P630|75\nHD Graphics P530|75\nHD Graphics 630|75\nIris(TM) Pro Graphics 5200|75\nUHD Graphics 630|75\nIris(TM) Pro Graphics 5200|75\nHD Graphics 620|74\nUHD Graphics 630|74\nHD Graphics 630|74\nHD Graphics 630|74\nCoffee Lake HD Graphics|74\nUHD Graphics 630|74\nIris(TM) Graphics 540|74\nUHD 630|74\nIris(R) Graphics 540|73\nUHD Graphics 620|73\nIris Graphics 6200|73\nCorporation CoffeeLake-H GT2 [UHD Graphics 630]|73\nUHD Graphics 630 (Desktop)|73\nHD Graphics ICL RVP|73\nUHD Graphics 630|73\nHD Graphics 630|72\nIris Pro|72\nKBL Unknown|72\nUHD Graphics 630|72\nIris(TM) Pro Graphics 5200|72\nHD Graphics 530|72\nCorporation UHD Graphics 630 (Desktop 9 Series)|72\nRadeon Pro Vega 16|72\nIris(TM) Graphics 540|72\nIris(R) Graphics 540|72\nUHD Graphics 630|71\nHD Graphics 630|71\nIris(TM) Pro Graphics 5200|71\nUHD Graphics 630|71\nIris Pro|71\nCometLake UHD Graphics 630|71\nHD Graphics 630|71\nUHD Graphics|71\nIris(TM) Plus Graphics 640|71\nUHD Graphics|71\nCorporation UHD Graphics|70\nIris Pro Graphics 6200|70\nIris(R) Graphics 540|70\nGraphics|70\nUHD Graphics 630|70\nHD Graphics ICL RVP BigSur|70\nUHD Graphics ReleaseInternal|70\nHD Graphics 530|70\nUHD Graphics 630|70\nUHD Graphics|70\nUHD Graphics gfx-driver-user-comp_core-23599|70\nUHD Graphics 630|69\nUHD Graphics|69\nIris(TM) Pro Graphics 5200|69\nCorporation Iris Plus Graphics G1 (Ice Lake)|69\nHD Graphics 630|69\nHD Graphics 630|69\nIris(R) Plus Graphics|69\nIris(TM) Pro Graphics 5200|69\nUHD Graphics 620|69\nUHD Graphics|69\nIris(R) Plus Graphics 640|69\nIris Pro Graphics 6200|69\nHD Graphics 630|69\nUHD Graphics 630 (Mobile)|68\nIris(TM) Pro Graphics 5200|68\nCorporation UHD Graphics 630 (Desktop)|68\nHD Graphics 630|68\nUHD Graphics 630|68\nUHD Graphics 620|68\nUHD Graphics 630|68\nIris(TM) Plus Graphics 640|68\nUHD Graphics|67\nIris Pro Graphics 580|67\nIris(TM) Graphics 540|67\nUHD Graphics 620|67\nIris(TM) Pro Graphics 5200|67\nUHD Graphics|66\nHD Graphics P530|66\nCorporation UHD Graphics 630 (Mobile)|66\nIris(R) Plus Graphics 640|66\nUHD Graphics 630|66\nIris(R) Plus Graphics 640|65\nHD Graphics 630|65\nHD 530|65\nUHD Graphics 620|65\nSKL Unknown|65\nHD Graphics 630|64\nIris(TM) Graphics 540|64\nMesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)|64\nUHD Graphics 630|64\nHD Graphics 530|63\nHD Graphics 530|63\nHD Graphics 530|63\nMesa Intel(R) HD Graphics 530 (SKL GT2)|63\nUHD Graphics|63\nHD Graphics 530|63\nIris Graphics 550|63\nHD Graphics 530|63\nIris Plus Graphics 655|63\nHD Graphics 630|63\nUHD Graphics, Gen11 LP|63\nCorporation 8th Gen Core Processor Gaussian Mixture Model|63\nUHD Graphics 630|63\nIris(TM) Graphics 650|63\nIris(R) Plus Graphics 640|62\nHD Graphics 530|62\nMesa DRI Intel(R) Iris Graphics 540 (Skylake GT3e)|62\nIris(R) Plus Graphics|61\nIris(TM) Pro Graphics 5200|61\nIris Pro|61\nHD Graphics 620|61\nUHD Graphics 620|61\nUHD Graphics 630|61\nUHD Graphics|61\nHD Graphics 530|60\nIris Plus Graphics G1|60\nIris(TM) Pro Graphics 5200|60\nIris Plus Graphics 650|60\nUHD Graphics|60\nHD Graphics 620|60\nUHD Graphics 620|60\nUHD Graphics 630|60\nMesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)|60\nUHD Graphics 620|60\nHD Graphics 630|60\nHD Graphics 630|59\nIris Graphics 540|59\nIris Plus Graphics 640|59\nCoffeeLake-H GT2 [UHD Graphics 630]|59\nHD Graphics 630|59\nUHD Graphics|59\nHD Graphics 620|59\nUHD Graphics 620|59\nHD Graphics 630|59\nCorporation UHD Graphics 620 (Whiskey Lake)|59\nIris(R) Plus Graphics 650|59\nUHD Graphics 620|59\nMesa Intel(R) HD Graphics 520 (SKL GT2)|58\nHD Graphics 630|58\nHD Graphics P530|58\nIris(TM) Plus Graphics 640|58\nCorporation HD Graphics 630|58\nUHD Graphics 620|58\nUHD Graphics 630|58\nHD Graphics P630|58\nMesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)|58\nCorporation CometLake-S GT2 [UHD Graphics 630]|58\nHD Graphics 530|58\nIris Graphics 540|58\nHD Graphics 530|58\nCorporation Device|58\nHD Graphics CFL CRB|57\nHD Graphics 620 macOS Edition|57\nHD Graphics 530|57\nMesa DRI Intel(R) HD Graphics 520 (SKL GT2)|57\nIris Pro Graphics|56\nIris(TM) Pro Graphics 5200|56\nIris(R) Plus Graphics 655|56\nCoffee Lake UHD Graphics|56\nIris(TM) Graphics 640|55\nIris Pro|55\nUHD Graphics 630|55\nUHD Graphics 620|55\nHD Graphics 530|55\nHD Graphics 520|54\nHD Graphics 530|54\nUHD Graphics 620|54\nHD Graphics 530|54\nCorporation UHD Graphics 620|54\nUHD Graphics|54\nIris Plus Graphics G7|54\nCorporation Skylake GT2 [HD Graphics 520]|53\nUHD Graphics 630|53\nHD Graphics 630|53\nCorporation HD Graphics 530|53\nUHD Graphics 617|53\nHD Graphics 520|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 630|52\nHD Graphics 630|52\nHD Graphics 5600|51\nHD Graphics 530|51\nHD Graphics 630|51\nUHD Graphics 615|51\nMesa DRI Intel(R) HD Graphics 520 (Skylake GT2)|51\nHD Graphics 630|50\nHD Graphics 620|50\nUHD Graphics|50\nHD Graphics P4600/P4700|50\nHD Graphics 520|50\nHD Graphics 530|50\nHD Graphics 620|50\nHD Graphics 530|50\nCorporation HD Graphics 620|50\nHD Graphics 530|50\nUHD Graphics 620|49\nUHD Graphics 620|49\nHD Graphics 530|49\nIris(TM) Graphics 6100|49\nHD Graphics 4600|49\nHD Graphics 630|49\nUHD Graphics 617|49\nUHD Graphics RI|48\nHD Graphics 520|48\nUHD Graphics 617|48\nHD Graphics 5600|48\nHD Graphics 620|48\nUHD Graphics, Gen11 LP|47\nUHD Graphics 617|47\nMesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)|47\nHD Graphics 615|47\nUHD Graphics RI|47\nHD Graphics 630|47\nHD Graphics 4600|46\nHD Graphics 520|46\nCorporation Skylake GT2 [HD Graphics 520]|46\nHD Graphics 520|46\nCorporation Device|46\nHD Graphics 4600|46\nHD Graphics 615|45\nHD Graphics 4600|45\nIris(TM) Graphics 6100|45\nHD Graphics 615|45\nUHD Graphics 615|45\nHD Graphics 630 GT2|45\nHD Graphics 4600|45\nHD Graphics 630|45\nIris(TM) Graphics 6100|45\nHD Graphics 4600|45\nHD Graphics 620|45\nIris(TM) Graphics 6100|45\nHD Graphics 520|45\nHD Graphics 4600|45\nIris(TM) Graphics 540|44\nHD Graphics 530|44\nHD Graphics 4600|44\nIris(TM) Graphics 5100|44\nKabylake HD Graphics ULT GT2|44\nIris Graphics 6100|44\nUHD Graphics 630|44\nHD Graphics 520|44\nHD Graphics KBL CRB|44\nHD Graphics 530 (Skylake GT2)|44\nCorporation HD Graphics 620|44\nHD Graphics 515|44\nUHD Graphics|44\nUHD Graphics 620|44\nIris(TM) Pro Graphics P580|43\nUHD Graphics 615|43\nHD Graphics 4600|43\nHD Graphics 4600|43\nCorporation Skylake Integrated Graphics|43\nHD Graphics 530|43\nUHD Graphics 615|43\nUHD Graphics 630|43\nHD Graphics 615|42\nHD Graphics 620|42\nHD Graphics 4600|42\nHD Graphics 615|42\nHD Graphics 4600|42\nHD Graphics 4600|42\nMesa DRI Intel(R) Kabylake GT2|42\nHD Graphics 620|42\nCorporation HD Graphics 6000|42\nUHD Graphics 615|42\nHD Graphics 4600|41\nCorporation HD Graphics 520|41\nHD Graphics P4600/P4700|41\nCorporation, Series Chipset Iris Plus Graphics 655|41\nHD Graphics 4600|41\nMesa DRI Intel(R) HD Graphics 530 (Skylake GT2)|41\nHD Graphics 4600|41\nIris(TM) Graphics 640|41\nHD Graphics 4600|41\nHD Graphics 630|40\nIris(TM) Graphics 5100|40\nIris(TM) Graphics 6100|40\nUHD Graphics 610|40\nHD Graphics 4600|40\nHD Graphics 4600|40\nUHD Graphics 615|40\nUHD Graphics 610|40\nHD Graphics 530|40\nUHD Graphics 605|40\nHD Graphics 615|40\nHD Graphics 4600|40\nUHD Graphics 615|40\nHD Graphics 505|39\nPHDGD Ivy 4|39\nUnknown|39\nIris(TM) Graphics 5100|39\nIris|39\nCorporation Iris Graphics 6100|39\nHD Graphics 6000|39\nIris(TM) Graphics 5100|39\nHD Graphics 615|39\nHD Graphics 5500|39\nSkylake GT2 [HD Graphics 520]|39\nCorporation Broadwell-U Integrated Graphics|38\nHD Graphics 615|38\nHD Graphics 5500|38\nHD Graphics 4600|38\nMesa DRI Intel(R) HD Graphics P4000 (IVB GT2)|38\nHD Graphics 4600|38\nHD Graphics 615|38\nCorporation HD Graphics 610|38\nHD Graphics 4600|38\nHD Graphics 4600|38\nIris(TM) Graphics 5100|38\nIris Graphics 6100|38\nHD Graphics 515|38\nHD Graphics 6000|38\nUHD Graphics, Gen11 LP|38\nIris(TM) Graphics 5100|38\nHD Graphics 4600|37\nHD Graphics 610|37\nHD Graphics 4600|37\nHD Graphics 515|37\nHD Graphics 4600|37\nHD Graphics 4600|37\nIris Graphics P580|37\nIris(TM) Pro Graphics P6300|37\nHD Graphics 5500|37\nHD Graphics 4600|37\nIris Graphics 6100|37\nUHD Graphics 610|37\nHD Graphics 4600|37\nHD Graphics 4600|37\nUHD Graphics 610|37\nHD Graphics 530|37\nHD Graphics 5500|37\nHD Graphics 515|36\nHD Graphics P4600/P4700|36\nHD Graphics 515|36\nHD Graphics 4600|36\nUHD Graphics 615|36\nIris Graphics 6100|36\nHD Graphics 4600|36\nHD Graphics 4600|36\nHD Graphics 4600|36\nHD Graphics 520|36\nHD Graphics 520|36\nHD Graphics 5500|36\nCorporation HD Graphics 5500|35\nIris|35\nHD5500 Graphics PG7|35\nHD Graphics 515|35\nIris|35\nGraphics gfx-driver-user-feature_dg1_poweron-27723 DCH ReleaseInternal|35\nHD Graphics 615|35\nHD Graphics P630|35\nHD Graphics 510|35\nHD Graphics 6000|35\nHD Graphics 5000|35\nCorporation HD Graphics 5300|35\nHD Graphics 6000|35\nHD Graphics 4600|35\nHD5500 Broadwell PG7|35\nGraphics HD 4600|35\nHD Graphics 6000|35\nHD Graphics 510|34\nHD Graphics 610|34\nHD Graphics 4600|34\nHD Graphics Family (PHDGD Skylake v2.9)|34\nCorporation Device|34\nHD Graphics 610|34\nUHD Graphics 610|34\nHD Graphics 5300|34\nHD Graphics 5000|34\nHD Graphics 4600|34\nUHD Graphics 610|33\nHD Graphics 4600|33\nUHD Graphics 620|33\nCorporation UHD Graphics 615|33\nHD Graphics 5000|33\nKabylake HD Graphics ULX GT2|33\nHD Graphics 620|33\nUHD Graphics 615|33\nHD Graphics 4600|33\nHD Graphics 5500|33\nHD Graphics 515|33\nUHD Graphics|33\nHD Graphics 4600|33\nHD Graphics 520|33\nHD Graphics 6000|33\nHD Graphics 615|33\nHD Graphics KBL CRB|33\nHD Graphics 4600|33\nUHD Graphics 610|33\nIris Graphics 6100|33\nHD Graphics 515|33\nIris|32\nIris|32\nHD Graphics 5000|32\nIris|32\nHD Graphics 5000|32\nIris(TM) Graphics 5100|32\nHD Graphics 4600|32\nHD Graphics 4600|32\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|32\nHD Graphics 5500 (PHDGD Skylake v2.9)|32\nHD Graphics 610|32\nHD Graphics 6000|31\nHD Graphics 5500|31\nIris|31\nHD Graphics 6000|31\nUHD Graphics 610|31\nHD Graphics 510|31\nHD Graphics|31\nHD Graphics 6000|31\nHD Graphics 4400|31\nHD Graphics 5000|31\nHD Graphics 4600|30\nHD Graphics 515|30\nHD Graphics 5600|30\nHD Graphics 4600|30\nHD Graphics 4400|30\nHD Graphics 530|30\nGeForce GTX 960|30\nUHD Graphics 610|30\nGeForce GTX 960|30\nHD Graphics 510|30\nHD Graphics 6000|30\nCorporation HD Graphics 515|30\nHD Graphics 610|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 4600|29\nIris(TM) Pro Graphics 6200|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 6000|29\nIris|29\nHD Graphics 4400|29\nHD Graphics 4400|29\nHD Graphics 4000|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 4400|28\nHD Graphics 610|28\nHD Graphics 5300|28\nHD Graphics 510|28\nHD Graphics|28\nHD Graphics 610|28\nHD Graphics 4400|28\nHD Graphics 610|28\nHD Graphics 4600|28\nHD Graphics 4600|28\nHD Graphics 5000|28\nHD Graphics 4400|28\nHD Graphics 4400|28\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|28\nHD Graphics 4400|28\nHD Graphics 5300|28\nHD Graphics 5000|28\nUHD Graphics 605|28\nHD Graphics 4400|28\nHD Graphics 5500|28\nHD Graphics 4000|28\nHD Graphics 4400|27\nHD Graphics 615|27\nHD Graphics Family(PHDGD Skylake v2.0)|27\nHD Graphics 4400|27\nHD Graphics 4400|27\nHD Graphics 610|27\nCorporation HD Graphics 510|27\nIris|27\nHD Graphics 520|27\nHD Graphics 5000|27\nHD Graphics 5300|27\nHD Graphics 6000|27\nHD Graphics 4000|27\nHD Graphics 610|27\nHD Graphics 5000|27\nHD Graphics 4600|27\nMesa DRI Intel(R) HD Graphics 505 (Broxton)|27\nHD Graphics 5500|27\nHD Graphics|27\nHD Graphics 5000|26\nUHD Graphics 600|26\nHD Graphics 4600|26\nMesa DRI Intel(R) Haswell Mobile|26\nHD Graphics 4000|26\nHD Graphics 5300|26\nIris(TM) Graphics 540|26\nHD Graphics 4000|26\nHD Graphics 4600|26\nHD Graphics|26\nHD Graphics 4400|26\nHD Graphics 4600|26\nHD Graphics 6000|26\nCorporation Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller|26\nHD Graphics 530|26\nHD Graphics 5500|25\nBroxton-P HD Graphics|25\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|25\nHD 4000|25\nHD Graphics 4400|25\nHD Graphics 4600|25\nHD Graphics 5500|25\nHD 4000|25\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|25\nCorporation HD Graphics|25\nHD Graphics 4400|25\nMesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)|25\nHD Graphics 4400|25\nHD Graphics|25\nUHD Graphics 600|24\nArc(TM) Graphics|24\nHD Graphics 4600|24\nHD Graphics 5300|24\nHD Graphics 4400|24\nHD Graphics 4400|24\nHD Graphics 4400|24\nHD Graphics 4000|24\nUHD Graphics 605|24\nHD Graphics 5000|23\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|23\nUHD Graphics, LKF|23\nUHD Graphics 605|23\nHD Graphics 4400|23\nHD Graphics 4400|23\nHD Graphics 4000|23\nHD Graphics 4400|23\nMesa DRI Intel(R) Ivybridge Desktop|23\n0x496e74656c2048442047726170686963000732034343|23\nHD Graphics 5300|22\nHD Graphics 615|22\nKabylake HD Graphics ULX GT2|22\nHD Graphics 5300|22\nHD Graphics|22\nHD Graphics|22\nHD Graphics 4000|22\nHD Graphics|22\nHD Graphics 515|22\nHD Graphics|22\nHD Graphics 5300|22\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|22\nHD Graphics 5300|22\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|22\nHD Graphics 4000|21\nUHD Graphics 605|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nHD Graphics 4400|21\nHD Graphics|21\nHD Graphics 4400|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nHD Graphics|21\nHD Graphics 5300|21\nHD Graphics 4400|21\nHD Graphics 5300|21\nHD Graphics P4600/P4700|21\nHD Graphics|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nCorporation UHD Graphics 605|20\nUHD Graphics 600|20\nHD Graphics 4000|20\nHD Graphics|20\nUHD Graphics 600 Universal|20\nHD Graphics 4600|20\nHD Graphics 500|20\nUHD Graphics 600|20\nHD Graphics|20\nHD Graphics 5000|20\nHD Graphics 4400|20\nHD Graphics 5300|19\nHD Graphics 4000|19\nMesa DRI Intel(R) Sandybridge Mobile|19\nHD Graphics 505|19\nHD Graphics 4000|19\nHD Graphics 4400|19\nUHD Graphics 600|19\nHD Graphics 3000|19\nHD Graphics 615|19\nHD Graphics|19\nCorporation Atom/Celeron/Pentium Processor N4200/N3350/E3900 Series Integrated Graphics Controller|19\nHD Graphics 4000|19\nHD Graphics|19\nUHD Graphics 600|19\nHD Graphics|19\nCorporation Haswell-ULT Integrated Graphics Controller|19\nHD Graphics 4400|19\nCorporation GeminiLake [UHD Graphics 600]|19\nHD Graphics 4000|18\nHD Graphics|18\nHD Graphics|18\nHD Graphics 500|18\nHD Graphics 4000|18\nCherryView HD Graphics|17\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|17\nXeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|17\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|17\nUHD Graphics 600|17\nUHD Graphics 600|17\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|16\nHD Graphics|16\nUHD Graphics 600|16\nHD Graphics|16\nHD Graphics 5000 (Android)|16\nHD Graphics|16\nUHD Graphics 600|16\nHD Graphics|16\nHD Graphics, Gen10|16\nHD Graphics (PHDGD IvyDrive 3.0)|16\nHD Graphics|15\nUHD Graphics 600|15\nCorporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller|15\nHD Graphics 500|15\nHD Graphics 505|15\nHD Graphics|15\nCorporation 3rd Gen Core processor Graphics Controller|15\nHD Graphics 4400|15\nHD Graphics|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics 505|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics|13\nHD Graphics 530|13\nHD Graphics 500|13\nCorporation 3rd Gen Core processor Graphics Controller|13\nHD Graphics 4400|12\nHD Graphics 5500|12\nHD Graphics|12\nHD Graphics|12\nCorporation HD Graphics 500|12\nHD Graphics 500|12\n3rd Gen Core processor Graphics Controller|12\nHD Graphics|11\nCorporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers|11\nCorporation 2nd Gen Core Processor Family Integrated Graphics Controller|11\nHD Graphics 510|11\nHD Graphics 4600 (PHDGD Skylake v2.9)|9\nCorporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display|8\nCorporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display|8\nMesa DRI Intel(R) Bay Trail|8\nUHD Graphics, Gen12 LP ReleaseInternal|5\nCorporation D3D12 (Intel(R) UHD Graphics 630)|3\nHD Graphics 3000|2\n(PE64) Intel(R) 4th Generation Haswell HD Graphics Family|-1\n4 Series Internal Chipset|-1\n7 Series/C216 Chipset Family MEI Controller #1|-1\nB43 Express Chipset|-1\nCometLake-S GT2 [UHD Graphics 630]|-1\nHD Graphics 5500|-1\nHD Graphics 620|-1\nG35 Express Chipset Family|-1\nG41 Express Chipset|-1\nG45/G43 Express Chipset|-1\nGraphics Media Accelerator HD|-1\nHD Graphics (PHDGD Omega 5.0)|-1\nHD Graphics 4400|-1\nHD Graphics P3000|-1\nHD Graphics P3000 (PHDGD Omega 5.0)|-1\nIncrediblE HD Graphics 3000|-1\nIris Pro Graphics 5200|-1\nMesa DRI Intel(R) HD Graphics (CHV)|-1\nMesa DRI Intel(R) Ivybridge Mobile|-1\nMobile Intel(R) 4 Series Express Chipset Family|-1\nMobile Intel(R) 965 Express Chipset Family|-1\nMobile Intel(R) HD Graphics|-1\nPHDGD Quantic C3|-1\nQ45/Q43 Express Chipset|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 2.43.0, LLVM 3.7.0)|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 3.9.0 / 4.9.0-rc1+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD FIJI (DRM 3.2.0 / 4.7.0-rc5+, LLVM 4.0.0)|-1\nUHD Graphics, Gen12 LP ReleaseInternal|-1";var NV="\nGeForce RTX 4090|1950\nGeForce RTX 4090 Laptop GPU|1791\nGeForce RTX 4070 Ti|1517\nGeForce RTX 3090 Ti|1465\nGeForce RTX 4080|1426\nGeForce RTX 4060 Laptop GPU|1408\nGeForce RTX 3080 Ti Laptop GPU|1394\nGeForce RTX 3080|1325\nGeForce RTX 3080 Ti|1298\nRTX A5500 Laptop GPU|1242\nGeForce RTX 3090|1235\nGeForce RTX 3070 Ti|1229\nGeForce RTX 3070|1228\nGeForce RTX 3060 Ti|1166\nGeForce RTX 3080 Laptop GPU|1139\nRTX A4000 Laptop GPU|1126\nGeForce RTX 2080 Ti|1120\nGeForce RTX 3070 Laptop GPU|1077\nTITAN V|1070\nGeForce RTX 2080 SUPER|1063\nQuadro RTX 8000|1054\nRTX A6000|1046\nTITAN RTX|1046\nGeForce RTX 3070 Ti Laptop GPU|1033\nRTX A5000 Laptop GPU|1027\nGeForce RTX 4090 Laptop GPU|1024\nGeForce RTX 3060|1015\nTITAN X (Pascal)|1008\nTITAN Xp|995\nGeForce GTX 1080 Ti|992\nGeForce RTX 4070 Laptop GPU|989\nGeForce RTX 4090|982\nGeForce RTX 2070 SUPER|981\nGeForce RTX 4080|975\nGeForce RTX 3060|970\nGeForce RTX 2080|970\nGeForce RTX 4080 Laptop GPU|968\nGeForce RTX 3060 Laptop GPU|913\nGeForce RTX 2060 SUPER|890\nGeForce RTX 4060 Laptop GPU|882\nGeForce RTX 2070|879\nGeForce RTX 2080 Super with Max-Q Design|868\nGeForce RTX 2080 with Max-Q Design|868\nQuadro RTX 5000|867\nGeForce RTX 3080 Ti Laptop GPU|861\nQuadro RTX 5000 with Max-Q Design|843\nAsus GeForce GTX 1080|841\nGeForce GTX 1080|841\nGeForce RTX 2070 Super with Max-Q Design|837\nRTX A3000 Laptop GPU|835\nQuadro RTX 4000 with Max-Q Design|833\nGeForce RTX 3070 Ti Laptop GPU|827\nQuadro RTX 4000|817\nRTX A6000|814\nGeForce GTX 1070 Ti|785\nGeForce RTX 4070 Ti|784\nGeForce RTX 4050 Laptop GPU|784\nRTX A5500 Laptop GPU|783\nTITAN Xp COLLECTORS EDITION|771\nGeForce RTX 2070 with Max-Q Design|765\nGeForce RTX 3050|760\nGeForce RTX 2060|757\nGeForce GTX 980 Ti|755\nQuadro P6000|753\nGeForce GTX 1080|747\nQuadro RTX 6000|744\nGeForce GTX 1070|742\nRTX A4000|739\nGeForce RTX 3090|737\nGeForce RTX 3080 Ti|733\nGeForce GTX 1080 Ti|729\nQuadro P4200|711\nGeForce GTX 1080 with Max-Q Design|707\nGeForce RTX 3060 Lite Hash Rate|705\nEIZO MED-XN83|704\nGeForce RTX 3080 Ti|701\nGeForce GTX 1660 SUPER|701\nTITAN Xp|700\nEVGA GeForce GTX 1070|698\nGeForce RTX 3090 Ti|696\nQuadro GV100|695\nQuadro P4000|695\nGeForce GTX 1660 Ti|694\nGeForce RTX 3070 Ti|690\nRTX 6000 Ada Generation|687\nGeForce RTX 3070|687\nQuadro RTX 8000|685\nRTX A2000 12GB|683\nGeForce RTX 2080|679\nGeForce GTX TITAN X|679\nQuadro M6000 24GB|676\nGeForce GTX 1660 SUPER|674\nTITAN V|673\nQuadro RTX 3000|672\nGraphics Device|672\nRTX A5000|669\nGeForce RTX 3090|669\nTITAN Xp COLLECTORS EDITION|669\nGeForce GTX 1070 A17|668\nGeForce RTX 3080 Laptop GPU|667\nRTX A4500 Embedded GPU|663\nRTX A5000 Laptop GPU|663\nGeForce RTX 3080|658\nGeForce RTX 3050 Ti Laptop GPU|657\nGeForce GTX 1070 with Max-Q Design|656\nGeForce RTX 3060 Ti|656\nQuadro P4200 with Max-Q Design|651\nGeForce RTX 3080|651\nGeForce RTX 2080 SUPER|650\nGeForce GTX 1070 Ti|648\nGeForce GTX 1070 with MaxQ Design|642\nRTX A3000 Laptop GPU|641\nGeForce RTX 3070 Laptop GPU|641\nGeForce GTX 1070|640\nGA104GL [RTX A4000]|639\nGeForce GTX 980 Ti|637\nGeForce RTX 2070 Mobile / Max-Q Refresh|637\nRTX A4000 Laptop GPU|634\nGeForce RTX 3060|633\nMicrosoft Virtual Render Driver|633\nGeForce RTX 3050 Laptop GPU|631\nRTX A2000|629\nGeForce RTX 2070 Mobile / Max-Q|626\nGeForce RTX 3070|625\nQuadro P5000|625\nQuadro P4000|621\nGeForce RTX 3060 Laptop GPU|621\nGeForce RTX 2060 with Max-Q Design|618\nGV102|614\nGeForce RTX 2070 SUPER|612\nGeForce GTX 1660|606\nGeForce RTX 2070|604\nGeForce GTX 1660 Ti with Max-Q Design|601\nGeForce GTX TITAN X|598\nRTX A2000 8GB Laptop GPU|598\nGeForce GTX TITAN Xp|595\nGeForce GTX 980|593\nGeForce RTX 2080 SUPER|591\nGTX 1060 HL|589\nTesla T4|589\nGRID P4-1Q|585\nRTX A4000|581\nGeForce RTX 2080 Ti|577\nGeForce RTX 2080 Super with Max-Q Design|576\nQuadro RTX 4000 Mobile / Max-Q|576\nTU102 [TITAN RTX]|574\nGeForce GTX 1060 with Max-Q Design|571\nGeForce RTX 2070 SUPER|570\nGeForce GTX 1060 6GB|570\nGeForce RTX 2080 Mobile|568\nGeForce RTX 2060|568\nQuadro P3200|565\nP106-100|564\nGRID V100DX-1Q|564\nRTX A2000|562\nGeForce RTX 2080 Ti Rev. A|561\nGeForce RTX 2080 Rev. A|559\nGV100 [TITAN V]|557\nGeForce RTX 2080|556\nGeForce GTX 1650 SUPER|554\nP106-100 Custom|553\nGeForce RTX 2070 Super with Max-Q Design|553\nGV100|553\nGeForce RTX 2070 Mobile|550\nGP102 [TITAN X]|548\nRTX A2000 12GB|546\nGeForce GTX 1060 5GB|542\nMSI GeForce GTX 1060|542\nGeForce RTX 2060 SUPER|542\nGRID T4-1Q|539\nQuadro RTX 5000 Mobile / Max-Q|538\nGeForce RTX 3050|538\nGeForce GTX 1060 3GB|538\nQuadro RTX 5000 with Max-Q Design|537\nQuadro M6000|536\nRTX A2000 Laptop GPU|536\nGeForce GTX 1660 SUPER|533\nA10-2B|530\nTITAN X (Pascal)|530\nQuadro P5000|527\nGeForce RTX 2070|526\nGeForce GTX 1080|525\nGeForce RTX 2060 Mobile|524\nPNY GeForce GTX 980|524\nGeForce GTX 1080 Mobile|523\nGeForce RTX 2060 SUPER|520\nGeForce GTX 780 Ti|518\nRTX A4500|516\nGeForce RTX 2060 Rev. A|515\nMSI GeForce GTX 980|515\nQuadro P3200 with Max-Q Design|513\nGeForce RTX 2070 with Max-Q Design|513\nGeForce RTX 3050 Ti Laptop GPU|510\nQuadro RTX 3000 Mobile / Max-Q|509\nGeForce GTX 1660 SUPER|508\nQuadro RTX 4000|508\nGeForce GTX 1060|506\nGeForce RTX 2080 with Max-Q Design|505\nGeForce GTX 1080 Ti|505\nGeForce GTX 1660 Ti Rev. A|504\nGeForce GTX 1660 Ti Mobile|504\nGeForce RTX 3050 Laptop GPU|503\nGeForce RTX 2060|503\nQuadro RTX 4000 with Max-Q Design|500\nEIZO MED-XN83|499\nGeForce GTX 970|499\nGeForce GTX 1080|495\nGeForce GTX 1070 Ti|492\nGeForce GTX 980|491\nA100-PCIE-40GB|489\nGeForce GTX 1070|487\nGeForce GTX 1660 Ti|487\nQuadro P2200|485\nGeForce GTX TITAN Black|484\nTITAN Xp COLLECTORS EDITION|483\nTITAN RTX|482\nQuadro P5200|482\nGeForce GTX 1060 with Max-Q Design|480\nRTX A1000 Laptop GPU|479\nGeForce GTX 1060 6GB|479\nQuadro RTX 5000|475\nTITAN V|475\nGRID P100-4Q|474\nEVGA GeForce GTX 970|472\nGeForce GTX 1650 SUPER|471\nGeForce GTX 1650 Ti|470\nQuadro RTX 3000|470\nQuadro M5000|469\nQuadro RTX 3000 with Max-Q Design|468\nGeForce GTX 980 Ti|467\nGeForce GTX TITAN|467\nQuadro P4200|466\nGeForce GTX 1070 with Max-Q Design|466\nQuadro M5000|466\nGeForce GTX 1080 Ti|466\nTesla M60|462\nGeForce GTX 1660|457\nGeForce GTX 1660|455\nGeForce RTX 2050|453\nGeForce GTX 1060|453\nGeForce RTX 2060 with Max-Q Design|453\nQuadro P3200 with Max-Q Design|452\nQuadro P4000|450\nGeForce GTX 1060 3GB|449\nGeForce GTX 1070|448\nGeForce GTX 1060 6GB Rev. 2|447\nGigabyte GeForce GTX 780 Ti|447\nTITAN Xp|444\nGeForce GTX 980M|440\nA10-4Q|439\nGeForce GTX 1080 with Max-Q Design|437\nGeForce GTX 1650 SUPER|435\nQuadro P5000|435\nQuadro P3000|434\nRTX A6000|434\nGeForce GTX 1060 3GB|433\nGeForce GTX 1070 Ti|432\nGeForce GTX 780|432\nGeForce GTX 1060 Mobile|432\nGigabyte GeForce GTX 970|431\nGeForce GTX TITAN Z|431\nQuadro K6000|429\nGeForce GTX 1650|425\nGeForce GTX 970|421\nTesla K20m|420\nQuadro GV100|419\nQuadro P4000|419\nQuadro P3200|417\nGTX 1060 HL|415\nRTX A2000 Laptop GPU|415\nGeForce GTX 780 by St3Phl3|414\nP102-100|412\nT1200 Laptop GPU|412\nGeForce GTX 780 Ti|411\nGeForce GTX 1060 6GB|408\nGeForce GTX 1650 Ti with Max-Q Design|407\nQuadro T2000 with Max-Q Design|407\nQuadro P2000|406\nQuadro P2200|406\nGeForce RTX 2060 Max-Q|405\nGeForce GTX 1650 Ti Mobile|403\nGeForce GTX 1060 Mobile 6GB|403\nGeForce GTX 1060 with Max-Q Design|401\nGeForce GTX 980|398\nGeForce RTX 2070 Rev. A|397\nGeForce GTX TITAN X|397\nTesla T4|395\nQuadro P6000|394\nGeForce GTX 1060 3GB|394\nQuadro M5000|393\nGeForce GTX 1060 with Max-Q Design|392\nPNY GeForce GTX 970|392\nQuadro T2000|391\nQuadro T1000 with Max-Q Design|391\nGRID P40-8Q|390\nGeForce GTX 780 Rev. 2|389\nQuadro GP100|387\nGeForce GTX 980|387\nP104-100|387\nGeForce GTX 1650 Ti|386\nGRID P40-4Q|384\nGeForce GTX 780 Ti|383\nDevice|383\nTU117M|381\nQuadro P2000|380\nQuadro RTX 6000|379\nGeForce GTX 1070 Mobile|378\nQuadro T1000|377\nGeForce RTX 3070 Mobile / Max-Q|376\nGeForce GTX 1060|376\nGRID V100-1Q|375\nGeForce GTX 780 Rev. 2|372\nGeForce RTX 2050|370\nGeForce GTX 770|370\nGeForce GTX 970|368\nGeForce GTX 1650 Ti|368\nGRID T4-2B4|368\nAsus GeForce GTX 780|366\nP106-100|365\nQuadro RTX 8000|365\nGeForce GTX TITAN Black|365\nGRID RTX6000-2Q|365\nGeForce GTX TITAN Black|363\nQuadro M4000|363\nGeForce GTX 1060 6GB|362\nQuadro P5000|361\nGeForce GTX 1650|361\nQuadro M5500|361\nGeForce GTX 780|360\nGeForce GTX 780|360\nGeForce GTX 980M|358\nGeForce GTX 1650|358\nGeForce GTX 1050 Ti|357\nQuadro P3200 Mobile|357\nGeForce GTX 1650 with Max-Q Design|356\nTesla T4|356\nQuadro P2000|356\nGeForce GTX TITAN|355\nGeForce GTX 970|355\nGeForce GTX 980 Ti|354\nGeForce GTX 1660 Ti with Max-Q Design|354\nGeForce GTX 780 Rev. 2|352\nGRID P4-4Q|351\nGeForce GTX TITAN X|351\nT1200 Laptop GPU|350\nGRID T4-8Q|350\nGeForce GTX 1060|349\nGeForce GTX 1050 Ti with Max-Q Design|348\nGeForce GTX 970M|346\nT1000 8GB|346\nGeForce RTX 3080 Mobile / Max-Q 8GB/16GB|346\nGeForce GTX 780 Ti|346\nGeForce GTX 680|346\nGeForce GTX 1660 Ti|345\nGeForce GTX 780|345\nQuadro M6000|344\nGRID T4-16Q|344\nGeForce RTX 2080 Ti|344\nGRID T4-1B|343\nQuadro K5200|342\nQuadro P2200|341\nT1000 8GB|341\nTesla K80|341\nQuadro T2000 Mobile / Max-Q|338\nTU107|337\nGeForce GTX 780 Mac|336\nGeForce GTX TITAN|336\nGeForce GTX 980M|335\nGRID P40-2Q|335\nEVGA GeForce GTX 780|334\nGeForce GTX TITAN Z|334\nTITAN X (Pascal)|332\nGeForce GTX 960|331\nTesla P40|331\nGeForce GTX 1650 Ti with Max-Q Design|330\nTesla P40|330\nGeForce GTX 1060se 3GB|329\nGeForce GTX 1650 Mobile / Max-Q|329\nQuadro T2000 with Max-Q Design|328\nT1000|327\nRTX A5500|326\nA40-8Q|326\nGeForce RTX 3060 Mobile / Max-Q|326\nGeForce GTX 690|326\nTesla V100-SXM2-16GB|326\nQuadro M5000|325\nA16-2B|323\nGeForce GTX 1050 Ti with Max-Q Design|321\nGeForce GTX 1050 Ti Mobile|321\nGeForce GTX 980M|319\nQuadro M3000M|318\nGeForce GTX 1650 with Max-Q Design|318\nGeForce GTX 670|316\nQuadro P3000|316\nT600 Laptop GPU|315\nQuadro T1000 with Max-Q Design|313\nTesla K80|312\nTesla K20m|311\nGeForce GTX 770|311\nTesla P100-PCIE-16GB|311\nQuadro M5000M|311\nTesla K80|309\nEVGA GeForce GTX 1070|309\nQuadro T1000|309\nGeForce GTX 1050 Ti|309\nGeForce GTX TITAN Z|308\nQuadro T2000|308\nQuadro M6000 24GB|308\nGeForce GTX 760 Ti|308\nGeForce RTX 2080 SUPER Mobile / Max-Q|308\nGeForce GTX 1050 Ti|307\nQuadro P2000|304\nQuadro P6000|304\nGeForce GTX 770 Mac Edition|303\nMSi GeForce GTX 1050 Ti|303\nA40|303\nT600|303\nP106-090|302\nP106-090|301\nQuadro K5200|300\nGeForce GTX 770|299\nGeForce GTX 680|299\nGeForce GTX TITAN|299\nGeForce GTX 680|297\nGRID M60-4Q|296\nQuadro M4000|296\nGRID M60-2Q|295\nGeForce GTX 760|294\nGRID V100DX-16Q|293\nQuadro RTX 6000/8000|293\nGeForce GTX 770|293\nGP104|292\nGeForce GTX 780 Rev. 2|290\nGeForce GTX 1050 Ti|288\nGeForce GTX 950|288\nEVGA GeForce GTX 1050 Ti|288\nGeForce GTX 1650 with Max-Q Design|286\nGeForce GTX 880M|285\n%NVIDIA_DEV.13D7.0580.1028%|283\nGP104GL|283\nGigabyte GeForce GTX 960|282\nQuadro K5200|281\nGeForce GTX 660 Ti|281\nGeForce GTX 670|281\nQuadro M4000|280\nGeForce GTX 580|280\nMSi GeForce GTX 960|280\nTesla M6|278\nPNY GeForce GTX 680|278\nT500|277\nGeForce GTX 1050|276\nGeForce GTX 1050 Ti with Max-Q Design|276\nGeForce GTX 690|276\nGeForce GTX 680|276\nGeForce GTX 670|275\nGeForce GTX 760 Ti|274\nGeForce GTX 1050 3GB|272\nGeForce GTX 880M|272\nTesla M60|272\nAsus GeForce GTX 960|271\nQuadro M4000|269\nT600|268\nTesla K20m|268\nGeForce GTX 760|268\nGP102 [TITAN Xp]|267\nGeForce GTX 960|267\nGeForce GTX 670|265\nQuadro T1000 Mobile|265\nGeForce GTX 1050|264\nTesla M60|264\nEVGA GeForce GTX 1080 Ti|263\nGeForce GTX 970M|263\nGeForce GTX 780M|262\nGeForce GTX 690|262\nAsus GeForce GTX 770|261\nGeForce GTX 1070 with MaxQ Design|261\nEVGA GeForce GTX 960|261\nGeForce GTX 960|260\nGRID T4-2Q|259\nGeForce GTX 970M|259\nGeForce GTX 960|259\nQuadro M3000M|258\nGeForce GTX 1060se 3GB|257\nTesla K10|257\nQuadro M3000M|257\nQuadro M2200|256\nGeForce GTX 690|255\nGeForce GTX 760|254\nGeForce GTX 880M|254\nQuadro K4200|253\nQuadro P2000 with Max-Q Design|253\nT550 Laptop GPU|253\nQuadro K5200|252\nMSI GeForce GTX 760|250\nGeForce GTX 580|249\nGeForce GTX 780M Mac Edition|249\nGeForce GTX 570|249\nTesla V100-PCIE-16GB|248\nGeForce GTX880M|248\nGeForce GTX 760|247\nGeForce GTX 570 Rev. 2|247\nAsus GeForce GTX 670|246\nGeForce GTX 580|246\nGeForce GTX 1050|245\nTesla P4|244\nGeForce GTX 680MX|244\nGeForce GTX 480|242\nGeForce GTX 1050|242\nQuadro 7000|241\nQuadro M4000M|241\nGeForce GTX 1050 Mobile|240\nGeForce GTX 660|240\nGeForce GTX 760 (192-bit)|239\nQuadro K5000|239\nGeForce GTX 760 OEM|238\nGeForce GTX 660 Ti|238\nGeForce GTX 775M Mac Edition|238\nGeForce GTX 965M|237\nGeForce GTX 870M|236\nGeForce GTX 950|236\nGeForce GTX 560 Ti 448 Cores|236\nGeForce GTX 780M|236\nQuadro P2000 with Max-Q Design|234\nMSI GeForce GTX 980 TI|234\nGRID K2|233\nGeForce GTX 1060 6GB OpenGL Engine|233\nPNY GeForce GTX 1060|233\nEVGA GeForce GTX 980|232\nGRID RTX6000P-6Q|232\nGeForce GTX 950|232\nGeForce GTX 950|232\nGeForce GTX 590|231\nGeForce GTX 1070 OpenGL Engine|231\nTITAN X (Pascal)|229\nGeForce GTX 1050 with Max-Q Design|229\nGeForce GTX TITAN Black|228\nQuadro K4200|227\nGeForce GTX 660 OEM|227\nGeForce MX450|225\nGeForce GTX 1050 with Max-Q Design|225\nQuadro P1000|225\nGraphics Device|225\nQuadro M2000|222\nGeForce GTX 1630|222\nQuadro M4000M|221\nQuadro K5100M|221\nEVGA GeForce GTX 760|221\nGeForce GTX 1070 Ti|221\nGeForce GTX 660 Ti|220\nGeForce GTX 570|220\nGeForce GTX 660 Ti|219\nQuadro K6000|219\nGeForce GTX 570 Rev. 2|219\nGeForce GTX 1050 with Max-Q Design|219\nTesla M40|218\nGeForce GTX 680M|217\nGeForce GTX 780M by Nick[D]vB|217\nAsus GeForce GTX 980 TI|217\nGeForce GTX 1060 3GB|217\nGraphics Device|217\nGeForce GTX 570 Rev. 2|216\nGeForce GTX 1060 3GB OpenGL Engine|216\nGeForce GTX 660|215\nPoint of View GeForce GTX 660 Ti|214\nGigabyte GeForce GTX 980|214\nQuadro K5000|213\nQuadro P1000|213\nGeForce GTX 480|213\nGeForce MX450|212\nQuadro K4200|211\nGRID K280Q|211\nAsus GeForce GTX 760|210\nQuadro P1000|210\nGeForce GTX 680MX|209\nGeForce GTX 1060 6GB|209\nGeForce GTX 660|209\nGeForce GTX 750 Ti|208\nGeForce GTX 780M Mac Edition|208\nGeForce GTX 775M Mac Edition|208\nGRID K520|208\nQuadro M2200|207\nGRID M60-8Q|207\nGRID K2|207\nGeForce GTX 775M Mac Edition|206\nGeForce GTX 560 Ti 448 Cores|205\nGeForce GTX 760 (192-bit)|205\nQuadro K5000|205\nGigabyte GeForce GTX 980 TI|204\nGeForce GTX 780M Mac Edition|204\nAsus GeForce GTX 660|204\nGRID M60-1B|202\nGeForce GTX 650 Ti BOOST|202\nGeForce GTX 480|202\nGeForce GTX 960M|201\nGeForce GTX 660 OEM|201\nGeForce GTX 780 Ti|201\nQuadro K5000|201\nGeForce GTX 780M Mac Edition|201\nGeForce GTX 870M|200\nGeForce GTX 680MX|200\nGeForce GTX 680MX|199\nQuadro P1000|198\nTesla P100 PCIe 16GB|198\nQuadro K5100M|198\nGeForce GTX 470|198\nQuadro P620|197\nAsus GeForce GTX 780|197\nQuadro 6000|196\nQuadro M1200|195\nQuadro K2200|195\nGeForce GTX 590|195\nQuadro M2000M|194\nQuadro M4000 OpenGL Engine|194\nGeForce GTX 870M|194\nGeForce GTX 1070|194\nEVGA GeForce GTX 750 Ti|194\nZotac GeForce GTX 680|193\nQuadro RTX 3000 with Max-Q Design|193\nT400|193\nQuadro M2200|193\nQuadro K4100M by nikey22|192\nGRID K2|192\nGTX 865M by iMacGFX|191\nQuadro M2000|191\nGeForce GTX 980M|190\nGeForce GTX 560 Ti|190\nPalit GeForce GTX 660|190\nGRID K260Q|189\nGRID M10-2Q|189\nGeForce GTX 660|189\nGeForce GTX 965M|189\nGeForce GTX 650 Ti BOOST|188\nGeForce GTX 675MX Mac Edition|188\nQuadro K5100M by nikey22|187\nGeForce GTX 680M|187\nZotac GeForce GTX 660|186\nGeForce GTX 650 Ti BOOST|186\nGeForce GTX 760 (192-bit)|185\nGRID M60-1Q|184\nGigabyte GeForce GTX 960|184\nQuadro M2000M Special Edition|184\nGeForce GTX 560 Ti|184\nInno3D GeForce GTX660|183\nGeForce GTX 1060|183\nGeForce GTX 675MX Mac Edition|182\nQuadro P600|181\nGeForce GTX 1080|181\nGeForce GTX 675MX Mac Edition|181\nQuadro P620|180\nGK104 Board - 20530501|180\nAshley|180\nQuadro M2000|179\nGeForce GTX 860M|179\nMSi GeForce GTX 1050 Ti|179\nAsus GeForce GTX 750 Ti|178\nGeForce GTX 750 Ti|178\nGeForce GTX 750 Ti|177\nEVGA GeForce GTX 980 TI|177\nAsus GeForce GTX 770|177\nGeForce GTX 760 OEM|176\nGeForce GTX 750|176\nQuadro P2000 Mobile|176\nQuadro K4100M|175\nT400 4GB|174\nGeForce GTX 1080 Ti OpenGL Engine|174\nQuadro K5000M|173\nGeForce GTX 960A|173\nGeForce GTX 560 Ti|172\nTesla M10|172\nGeForce GTX 1080 Ti|172\nGRID RTX6000P-6|172\nGK104 Board - 2051b502|172\nGeForce GTX 770M|172\nGeForce GTX 960M|172\nGeForce GTX 970|172\nGRID M10-2Q|171\nGeForce GTX 560 Ti OEM|171\nMSi GeForce GTX 970|171\nGK104GL [GRID K2]|171\nGeForce GTX 470|170\nGeForce GTX 560 Ti|170\nTITAN Xp|170\nGeForce GTX 870M|170\nGeForce MX350|169\nMSi GeForce GTX 580|169\nGeForce GTX 960M|169\nEVGA GeForce GTX 760|169\nQuadro K4000M|169\nT400|169\nGeForce MX350|168\nGeForce GTX 470|168\nGeForce GTX 560|167\nQuadro 6000|167\nGeForce GTX 1050 Ti OpenGL Engine|167\nQuadro M1200|167\nGigabyte GeForce GTX 970|166\nGeForce GT 1030|166\nGeForce GTX780M by nikey22|166\nGeForce GTX870M by nikey22|166\nTesla V100-PCIE-32GB|165\nQuadro K2200|165\nQuadro M1000M|165\nQuadro K2200|165\nAsus GeForce GTX 970|164\nGeForce GTX 750 Ti|164\nQuadro M2000M|164\nGeForce GTX 1050|164\nGeForce GTX 1050 Ti|163\nQuadro K5000|163\nGraphics Device|162\nGeForce MX250|162\nT500|161\nEVGA GeForce GTX 570|161\nQuadro M2000M|161\nQuadro K1200|159\nGeForce GTX 860M|159\nGeForce GTX 770M|159\nQuadro M1200|158\nGeForce GTX 675MX|158\nGeForce MX330|158\nQuadro K2200M|157\nQuadro K4000|157\nGeForce GTX 690|157\nGeForce GTX 860M|157\nMSi GeForce GTX 670|156\nQuadro K2200|156\nQuadro K4100M|156\nGeForce GTX 770M by Nick[D]vB|155\nTesla V100-SXM2-32GB|155\nGeForce GTX 1080 OpenGL Engine|155\nGigabyte GeForce GTX 670|155\nEVGA GeForce GTX 960|155\nGeForce GTX 750|155\nGeForce Pre-Release TITAN X (Pascal) OpenGL Engine|154\nGeForce GTX TITAN Xp|154\nAsus GeForce GTX 950|154\nQuadro K4100M|153\nGeForce GTX 960|153\nGeForce GTX 770M|153\nGeForce MX330|153\nQuadro M2200 Mobile|153\nGeForce MX250|153\nGeForce Pre-Release TITAN Xp OpenGL Engine|153\nQuadro P600|153\nQuadro M620|152\nGeForce GTX 1070 Ti OpenGL Engine|152\nGeForce GTX 770|152\nGeForce GT 1030|152\nTesla C2070|152\nGeForce GTX 650 Ti|152\nGRID K240Q|151\nGeForce GTX 480 OpenGL Engine|151\nGeForce GTX 750|151\nGeForce GTX TITAN|151\nGeForce GTX 760 (192-bit)|151\nGeForce GTX 560|151\nGeForce GT 1030|151\nQuadro K5000M|151\nQuadro P1000 Mobile|151\nZotac GeForce GTX 660|151\nGeForce GTX 460 v2|150\nGRID GTX P40-6|150\nMSi GeForce GTX 660|149\nGeForce GTX 780M|149\nMSI GeForce GTX 760|149\nP106-090|149\nGeForce GTX 950A|149\nGeForce MX150|149\nAsus GeForce GTX 1060|149\nUnknown|149\nGeForce GTX 980 Ti|148\nGRID T4-4Q|148\nGeForce GTX 465|147\nColorful GeForce GTX 960|147\nGigabyte GeForce GTX 750|147\nQuadro M1000M|147\nGeForce GTX 780 Mac|147\nGeForce GTX 460|146\nMSi GeForce GTX 960|146\nGeForce GTX 560|146\nQuadro K4000|145\nGeForce GTX 970M|145\nQuadro M1000M|145\nUnknown|145\nGeForce GTX 980|144\nGeForce GTX 950|144\nGeForce GTX 675M|144\nZotac GeForce GTX 960|144\nGeForce Pre-Release Graphics Device|144\nGeForce GTX 670 OpenGL Engine|143\nQuadro K4000|143\nEVGA GeForce GTX 580|143\nGeForce GTX 950M|143\nGeForce GTX TITAN Black OpenGL Engine|142\nGeForce GTX 760|142\nQuadro 5000|142\nMSI GeForce GTX 570 HD|142\nGeForce Pre-Release TITAN Xp COLLECTORS EDITION OpenGL E|142\nGeForce GTX 1050 OpenGL Engine|142\nGeForce GTX TITAN X|142\nGeForce GTX 880M|141\nGV-N660OC-2GD|141\nGeForce GTX 750|141\nQuadro M5000M|140\nGeForce GTX 970 OpenGL Engine|140\nGeForce GTX 675MX|140\nAsus GeForce GTX 760|140\nQuadro P5000 OpenGL Engine|139\nGeForce GTX 580|139\nGeForce GTX 675MX|139\nZotac GeForce GTX 750|139\nQuadro K1200|139\nGeForce MX150|139\nGeForce GTX 650 Ti|139\nQuadro K1200|139\nGeForce GTX 980 Ti OpenGL Engine|139\nGeForce GTX 580M|138\nAsus GeForce GTX 580|138\nGeForce GTX 770 OpenGL Engine|138\nGeForce GT 1010|138\nGeForce GTX 780 Rev. 2|138\nQuadro P2000 OpenGL Engine|138\nGeForce MX250|138\nQuadro K4000|137\nGeForce GTX 460 v2|137\nGeForce GTX 770M|137\nGigabyte GeForce GTX 570 HD|136\nGeForce GTX 465|136\nGeForce GTX 460 v2|136\nGeForce GTX 670|136\nGeForce GTX 590 OpenGL Engine|136\nGeForce GTX 780|135\nGeForce GTX TITAN Black|135\nGeForce GTX 660 Ti|135\nZotac GeForce GTX 560 Ti|134\nGeForce GTX 880M OpenGL Engine|134\nGeForce GTX 650 Ti|134\nGeForce GTX 760 OpenGL Engine|134\nnull Graphics Device|134\nQuadro M620|133\nGeForce GTX 780M Mac Edition|133\nGeForce MX150|132\nAsus GeForce GTX 570 HD|132\nGeForce GTX 775M OpenGL Engine|132\nGeForce GTX 850M|132\nAsus GeForce GTX 570|132\nQuadro K6000 OpenGL Engine|131\nGeForce GTX 850M|131\nGeForce GTX 460|131\nGeForce GTX 950A|130\nGeForce GTX 780M OpenGL Engine|130\nPoint of View GeForce GTX 660 Ti|130\nGeForce GTX 775M Mac Edition|130\nEVGA GeForce GTX 650 Ti|130\nEVGA GeForce GTX 750 Ti|129\nGeForce GTX 460|129\nQuadro P520|129\nGainward GeForce GTX 570|129\nAsus GeForce GTX 750 Ti|129\nQuadro K3100M|128\nQuadro K2200|128\nAsus GeForce GTX 560 Ti|127\nGeForce GTX 680|127\nGeForce GTX 680 OpenGL Engine|127\nGeForce GTX 950M|127\nGRID V100-2B|127\nGigabyte GeForce GTX 660 Ti|127\nN15E-GT|126\nQuadro K1200|126\nGeForce GTX 650 Ti|126\nGigabyte GeForce GTX 770|126\nGeForce GTX 660|126\nQuadro 5000|125\nGeForce GT 1030|125\nGeForce GTX 950M|125\nGeForce GTX 765M|125\nQuadro M5000|125\nGigabyte GeForce GTX 560 Ti|125\nGeForce GTX 580M|125\nQuadro M2000|124\nGeForce GTX 850M|124\nGeForce GTX 570 OpenGL Engine|123\nGainward GeForce GTX 750 Ti|123\nQuadro K2200M|123\nGeForce GTX 780M Mac Edition|123\nGeForce GTX 680MX OpenGL Engine|123\nQuadro K4200|123\nGeForce GTX 460 OEM|122\nGeForce GTX 670MX|122\nMSi GeForce GTX 560 Ti|122\nGeForce GTX 460 SE|122\nQuadro M4000|122\nGeForce GTX880M OpenGL Engine|122\nQuadro P620|121\nGeForce GTX 560 SE|121\nGeForce GTX880M by nikey22|121\nGeForce GTX 555|121\nGeForce GTX 965M OpenGL Engine|121\nGeForce GTX 850A|121\nQuadro K5000 OpenGL Engine|120\nGeForce GTX 580 OpenGL Engine|120\nQuadro K3100M|120\nGeForce GTX 650 Ti BOOST|119\nGeForce GTX 570M|119\nGeForce GTX 675MX OpenGL Engine|119\nGeForce GTX 775M Mac Edition|119\nZotac GeForce GTX 1050 Ti|118\nGeForce GTX 965M|117\nQuadro M600M|117\nGeForce GTX 780M by Nick[D]vB|117\nGeForce GTX 460 SE|117\nGeForce GTX 555|116\nGeForce GTX 670M|116\nQuadro K3000M|116\nGeForce GTX 780 Ti OpenGL Engine|116\nQuadro K4000M|115\nGeForce GTX 860M|115\nAsus GeForce GTX 660|115\nTesla C2075|114\nGeForce GTX 675MX Mac Edition|114\nZotac GeForce GTX 770|114\nGigabyte GeForce GTX 750 Ti|114\nGeForce MX330|114\nGeForce GT 1030|113\nGeForce GTX TITAN OpenGL Engine|113\nGeForce GTX 590|113\nQuadro K620|113\nGeForce GTX 780M|112\nGeForce GTX 560 Ti|112\nQuadro 6000|112\nEVGA GeForce GTX 560 Ti|112\nAsus GeForce GTX 960|112\nQuadro K5000|112\nPoint of View GeForce GTX 470|111\nPNY GeForce GTX 580|111\nGeForce GTX 770M|111\nGeForce GT 120|111\nMSi GeForce GTX 660|111\nGigabyte GeForce GTX 560|111\nGeForce GTX 680MX|110\nGeForce 945M|110\nGeForce GTX 765M|110\nGeForce GTX 950 OpenGL Engine|110\nGeForce Pre-Release Tesla C2075 OpenGL Engine|109\nGeForce GTX 550 Ti|109\nGeForce GTX 765M|108\nPNY GeForce GTX 750|108\nGeForce GTX 560 Ti 448 Cores|108\nQuadro P500|108\nGeForce GTX 670MX|108\nGeForce GTX 680MX|107\nGeForce GTX 460 SE|107\nGeForce GTX 675MX Mac Edition|107\nGeForce GTX 770M OpenGL Engine|107\nGeForce 945M|107\nGeForce GTX 675MX|107\nPNY GeForce GTX 570 HD|106\nGeForce GTX 745|106\nGeForce MX230|106\nGeForce GTX 670MX|106\nGeForce 845M|106\nQuadro K3100M OpenGL Engine|105\nQuadro P2000|105\nGeForce MX570 A|105\nGeForce GTX 750 Ti|104\nGeForce GTX 660 OEM|104\nQuadro M600M|104\nGeForce GTX 750|104\nGeForce GTX 645|104\nGP108|104\nQuadro P520|104\nZotac GeForce GTX 460|103\nChip Model|103\nGeForce GTX 670M|103\nQuadro T1000|103\nGeForce GTX 670M|103\nGeForce GTX 650|103\nZotac GeForce GTX 750|102\nGeForce GTX 460 OpenGL Engine|102\nGeForce GTX 860M OpenGL Engine|102\nQuadro 4000|102\nAsus GeForce GTX 480|102\nZotac GeForce GTX 650 Ti|102\nGeForce GT 755M|101\nGF100 Board - 10220000|101\nGeForce GTX 470M|101\nGeForce GTX 570 Rev. 2|101\nGeForce GTX 775M by iDopt Mac|101\nGeForce GTX 765M by Nick[D]vB|101\nGeForce GTX 570|101\nGeForce GTX 645|101\nGeForce GTX 550 Ti|100\nGeForce GTX 760M|100\nGeForce GT 1030 OpenGL Engine|100\nGeForce GTX 650|100\nQuadro P400|100\nGeForce GTX 480|99\nEVGA GeForce GTX 650|99\nEVGA GeForce GTX 560|99\nGeForce MX130|99\nGeForce MX130|98\nAsus GeForce GTX 460|98\nElitegroup GeForce GTX 460|98\nTesla V100-SXM2-32GB|98\nGeForce GT 755M|98\nGeForce GTX 760 Ti OpenGL Engine|98\nQuadro P520|97\nGeForce GT 755M Mac Edition|97\nGeForce GTX 1060 5GB|97\nPalit GeForce GTX 650 Ti|97\nMSi GeForce GTX 460|96\nGeForce GTX 650|96\nGigabyte GeForce GTX 580|96\nGigabyte GeForce GTX 460|96\nGeForce GTX 745|96\nEVGA GeForce GTX 550 Ti|96\nGeForce GTX 465|96\nGeForce GTX 460 SE|96\nGeForce GTX 765M|96\nGeForce GT 755M Mac Edition|96\nQuadro M520|95\nQuadro K620|95\nT1000|95\nGeForce GTX 745|95\nQuadro K620|95\nGeForce GT 755M|94\nGeForce GTX 660 Ti OpenGL Engine|94\nQuadro K3000M|94\nQuadro K4000|94\nQuadro K4000 OpenGL Engine|94\nGeForce GTX 560|94\nGeForce GTX 650 Ti OpenGL Engine|94\nZotac GeForce GTX 560|94\nAsus GeForce GTX 560|93\nGeForce GTX 650 Ti|93\nGeForce GPU|92\nGeForce GTX 460|92\nMSi GeForce GTX 650 Ti|92\nGeForce GTX 645|92\nGigabyte GeForce GTX 760|92\nGeForce GTX 660M|92\nGeForce GTS 450|92\nGeForce GTX 765M|92\nQuadro K2000D|92\nQuadro K2000|91\nGeForce GT 740|91\nGeForce GTX 650|91\nGRID M6-0B|91\nHP Quadro K620|91\nGeForce MX130|91\nQuadro K3000M by ST3PHL3|91\nQuadro 4000|90\nGeForce MX230|90\nQuadro K620|90\nQuadro K2100M by Nick[D]vB|90\nQuadro K3000M by nikey22|89\nGeForce GT 650M OpenGL Engine|89\nQuadro 4000|89\nQuadro K3000M|88\nGeForce GTX 660M|88\nQuadro K6000|87\nGeForce GT 755M Mac Edition|87\nPalit GeForce GTX 650|87\nQuadro P500|87\nGeForce GTX 570M|86\nGainward GeForce GTX 460|86\nGeForce GTX 950M|86\nQuadro K2000D|86\nGeForce GTX 650 Ti BOOST|86\nQuadro K2100M|86\nGeForce GTX 470|85\nQuadro K2000|85\nQuadro K2000|85\nGeForce GT 750M Mac Edition|85\nGeForce GTX 745|85\nGRID K220Q|85\nGeForce GTX 750 OpenGL Engine|85\nQuadro 5000M|84\nQuadro P400|84\nGeForce GTS 450|84\nGeForce GT 640 Rev. 2|84\nGeForce GTX 660M Mac Edition|84\nQuadro P400|84\nAsus GeForce GTX 560 SE|84\nPNY GeForce GTX 460|83\nGeForce GT 640 Rev. 2|83\nGeForce GTS 450 Rev. 2|83\nGeForce GTS 450|83\nGeForce GTS 450 Rev. 2|83\nGeForce GTX 645|82\nGeForce GPU|82\nGeForce GTX 560M|82\nQuadro K3000M|82\nQuadro K2100M by nikey22|82\nGigabyte GeForce GTX 750|82\nGeForce GT 740|82\nGeForce GT 750M Mac Edition|82\nGeForce GTX 765M OpenGL Engine|82\nGeForce GTX 645 OpenGL Engine|82\nQuadro K620|81\nGeForce GTX 550 Ti OpenGL Engine|81\nQuadro 4000M|81\nPNY GeForce GTX 550 Ti|81\nGeForce MX110|80\nGeForce GTX 760M|80\nMSi GeForce GTX 745|80\nQuadro K2100M OpenGL Engine|80\nQuadro K2000|80\nQuadro 5000|80\nQuadro K620 OpenGL Engine|80\nMSi GeForce GTX 745|80\nGeForce GT 755M OpenGL Engine|80\nGeForce GTX 660M|79\nGigabyte GeForce GTX 550 Ti|79\nMSi GeForce GTX 650|79\nGeForce GTX 560M|79\nQuadro P400|78\nQuadro K2100M|78\nQuadro K2100M|78\nZotac GeForce GTX 1050 Ti|78\nQuadro 3000M|77\nGeForce 940A|77\nGeForce GTX 460M|77\nGeForce GTX 550 Ti|77\nGeForce GT 545|77\nGeForce GT 650M Mac Edition|77\nGeForce 940MX|76\nGeForce GTX 650 OEM|76\nGeForce GTX 550 Ti|76\nGeForce GT 755M Mac Edition|76\nGeForce GT 740 OpenGL Engine|75\nGainward GeForce GTX 550 Ti|75\nQuadro K1200|75\nGeForce GT 650M Mac Edition|75\nEVGA GeForce GTX 650|75\nGeForce GT 750M Mac Edition|74\nGeForce GTX 745|73\nGeForce GTX 555|73\nGeForce GTX 650|73\nGainward GeForce GTS 450|73\nGeForce GT 650M|73\nGeForce GT 755M Mac Edition|73\nGeForce GTX 460M|72\nGeForce 930A|72\nGeForce 930MX|72\nGeForce 940MX|72\nGeForce MX110|72\nGeForce GT 750M Mac Edition|72\nQuadro 2000|72\nGeForce 845M|71\nQuadro 2000D|71\nGeForce GT 640 Rev. 2|71\nGeForce MX110|71\nGeForce GT 1010|71\nGeForce GT 545|71\nQuadro K1200 OpenGL Engine|71\nGeForce 940MX|71\nGeForce GTX 650 OpenGL Engine|71\nEVGA GeForce GTX 650 Ti BOOST|71\nQuadro K2100M|70\nGeForce GT 1010|70\nQuadro M500M|70\nGeForce GT 650M Mac Edition|70\nGeForce GT 640 OEM|70\nQuadro K2000D|70\nQuadro K2000 OpenGL Engine|70\nGeForce GT 750M Mac Edition|70\nGeForce GT 650M|69\nQuadro K1100M by Nick[D]vB|69\nGeForce GT 650M|69\nGeForce 940M|69\nGeForce GT 650M|69\nQuadro 4000|69\nGeForce GT 650M Mac Edition|69\nGeForce GT 745M|69\nGainward GeForce GTX 560 Ti|68\nGeForce 920MX|68\nQuadro M520|68\nGeForce GT 640|68\nGeForce 840M|68\nGeForce 9800 GTX / 9800 GTX+|68\nGeForce GTX 770M by Nick[D]vB|67\nZotac GeForce GTX 650|67\nAsus GeForce GTX 550 Ti|67\nGeForce GT 750M|67\nQuadro K3100M by nikey22|67\nGeForce GT 750M|67\nGeForce GTX 760 (192-bit) OpenGL Engine|67\nHP Quadro 4000|67\nQuadro K2000|67\nGeForce GTS 450 Rev. 2|67\nGeForce 930MX|67\nGeForce GTX 660M Mac Edition|66\nGeForce GTX 570|66\nGeForce GT 750M|66\nGeForce GT 650M Mac Edition|66\nGeForce GT 650M OpenGL Engine|65\nGeForce GTX 660M OpenGL Engine|65\nGeForce 930M|65\nPalit GeForce GTX 650|65\nGeForce GTX 760M|65\nGeForce GT 650M Mac Edition|65\nGeForce 940M|65\nGeForce GT 750M Mac Edition|64\nGeForce 940M|64\nGeForce GT 740|63\nGeForce 930MX|63\nQuadro 3000M|63\nGeForce GT 730|63\nQuadro K1100M|63\nGeForce GT 750M|63\nGeForce 840M|63\nGeForce GT 640 OEM|63\nGeForce 840M|63\nGeForce GT 640 Rev. 2|62\nGeForce GTS 450|62\nQuadro 2000|62\nGeForce GT 745M|62\nGeForce GT 740|62\nGeForce GT 640|62\nQuadro 2000|62\nGeForce GTX 660M Mac Edition|62\nQuadro K1100M OpenGL Engine|62\nQuadro K2000M|62\nGeForce GTX 680MX OpenGL Engine|61\nEVGA GeForce GT 730|61\nQuadro 2000D|61\nGeForce 840A|61\nMSi GeForce GTX 660 Ti|61\nQuadro K1100M|61\nGeForce GT 645M|61\nGeForce GTX 780M OpenGL Engine|61\nHP GeForce GT 730|61\nQuadro K5000M OpenGL Engine|61\nEVGA GeForce GT 640|61\nGeForce 920MX|60\nQuadro M500M|60\nQuadro K620M|60\nGeForce 930M|60\nGeForce 930A|60\nGeForce GT 640 OEM|60\nGeForce GT 640|60\nQuadro 2000M|60\nGeForce GT 640|60\nGeForce GT 640M Mac Edition|60\nGeForce GT 640M Mac Edition|60\nGeForce GT 640M Mac Edition|59\nGeForce GT 645M|59\nGeForce 930M|59\nGigabyte GeForce GTX 650 Ti|59\nGeForce GT 640 OEM|59\nGeForce 830M|59\nAsus GeForce GT 640|58\nMSI GeForce GTX 1070|58\nGeForce GT 555M|58\nQuadro K2000M|58\nQuadro K1100M|57\nGeForce GT 650M Mac Edition|57\nQuadro K2000M by Nick[D]vB|57\nEVGA GeForce GTX 650 Ti|57\nGeForce GT 640M|56\nGeForce GT 650M Mac Edition|56\nGeForce GT 445M|56\nGeForce 830A|56\nGeForce 9800 GT|56\nAsus GeForce GTS 450|55\nGeForce 830M|55\nGeForce 920MX|55\nQuadro 2000|55\nEVGA GeForce GT 545|54\nQuadro K2000M|54\nGeForce GT 650M Mac Edition|54\nGeForce GTX 280|54\nGeForce GT 640|53\nQuadro FX 2800M|53\nQuadro 3000M OpenGL Engine|53\nGeForce GT 740|53\nnull GeForce 920A|53\nGeForce GT 640M Mac Edition|52\nGeForce GT 635|52\nGraphics Device|52\nGeForce GT 640M|52\nGeForce GTX 660M Mac Edition|52\nQuadro 2000M|52\nQuadro 5010M|52\nGeForce GTS 250|52\nGeForce GT 445M|51\nGeForce GT 640M OpenGL Engine|51\nGeForce GT 640M|50\nEVGA GeForce GT 740|50\nGeForce GT 640M Mac Edition|50\nGeForce 730A|50\nGeForce 920M|49\nHP Quadro 2000|49\nGeForce GT 730M|49\nnull GeForce 920A|49\nGeForce GT 555M|49\nGeForce GT 640M LE|49\nGeForce GT 730M|49\nGeForce GT 730M|48\nGeForce GT 640M Mac Edition|48\nQuadro K2000M OpenGL Engine|48\nGeForce GT 640M LE|48\nGeForce GT 740M|47\nGeForce GTX 460M|47\nGeForce GT 440|47\nGeForce GT 440|46\nGeForce GT 640M Mac Edition|46\nQuadro P400|46\nGeForce GT 730|46\nDell Quadro 2000M|45\nGeForce GT 740M|45\nGeForce GT 740M|45\nGeForce GTS 450 Rev. 2|45\nGeForce 920M|45\nGeForce 920M|45\nGeForce 910M|44\nGeForce GTX 680M|44\nGeForce GT 730|44\nQuadro 2000M|44\nGeForce GT 635|43\nGeForce GT 720 OpenGL Engine|43\nGeForce GT 635|43\nQuadro K5200 OpenGL Engine|43\nZotac GeForce GTX 650|43\nGeForce GT 440|43\nGeForce GT 435M|42\nGeForce GT 735M|42\nGainward GeForce GT 630|42\nQuadro 1000M|42\nGeForce 820M|41\nGeForce GTX 680M OpenGL Engine|41\nMSI GeForce GT 635|41\nGeForce 820A|41\nTesla M10|41\nAsus GeForce GT 440|40\nAsus GeForce GT 630|40\nGeForce GT 820M|40\nGeForce 910M|40\nGeForce GT 820M|40\nGeForce GT 730|40\nGeForce GT 550M|40\nGeForce GT 430|40\nGeForce GT 540M|39\nAsus GeForce GT 720|39\nGeForce GT 630|39\nGeForce GT 530|39\nGeForce GT 635M|39\nGeForce GT 620M/630M/635M/640M LE|39\nNVS 5400M|39\nQuadro K600|39\nQuadro K610M|39\nAsus GeForce GT 730|39\nGeForce GT 630|39\nGeForce GT 440|39\nGeForce GT 630M|38\nGeForce 820M|38\nQuadro K420|38\nQuadro K610M|38\nGeForce GT 625M|38\nQuadro K1000M|38\nNVS 5200M|38\nGRID K1|38\nQuadro K600|38\nQuadro K420|38\nGeForce GT 630|38\nQuadro K600|37\nQuadro 600|37\nHP Quadro 600|37\nQuadro K1000M|37\nQuadro K610M|37\nGRID K180Q|37\nGRID K160Q|37\nGeForce GT 635M|37\nGigabyte GeForce GT 440|37\nGeForce 820M|37\nGeForce GT 530|37\nGeForce GT 540M|37\nGeForce GT 630 OEM|37\nQuadro K610M by Nick[D]vB|37\nNVS 510|37\nGeForce GT 630M|37\nQuadro 1000M|37\nGeForce GT 540M|37\nGeForce GT 530|37\nQuadro K1100M|37\nQuadro K620M|37\nQuadro 1000M|36\nGeForce GT 730|36\nGeForce 820M|36\nGeForce GT 430|36\nGRID K1|36\nGeForce GT 525M|36\nNVS 5200M|36\nNVS 510|36\nZotac GeForce GT 430|36\nQuadro K600|36\nAsus GeForce GT 730|36\nHP Quadro K4000|35\nGeForce GT 755M Mac Edition|35\nGeForce GT 630|35\nNVS 5400M|35\nNVS 5400M|35\nGeForce GT 640 OpenGL Engine|35\nGeForce GT 625M|35\nGeForce GT 630|35\nGeForce GT 430|35\nQuadro K600 OpenGL Engine|35\nQuadro K1000M|35\nZotac GeForce GT 630|35\nGigabyte GeForce GT 630|35\nGRID K140Q vGPU|35\nGeForce GT 710M|35\nGeForce GT 620M|35\nGeForce GT 720M|34\nGeForce 710M|34\nQuadro 1000M,|34\nQuadro K510M|34\nGeForce 9400 GT|34\nQuadro K1000M|34\nGeForce GT 635M|34\nQuadro K420|34\nGRID K180Q|34\nAsus GeForce GT 430|34\nQuadro K4100M|34\nGigabyte GeForce GT 730|34\nGeForce GT 620M|34\nGeForce GT 525M|34\nQuadro K420|34\nDell NVS 5200M|34\nGeForce 710A|34\nGeForce GT 425M|33\nGeForce GT 710B|33\nGeForce GT 525M|33\nQuadro 600|33\nGeForce GT 620M|33\nQuadro K600|33\nQuadro 600|33\nGeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M|33\nMSI GeForce GT 730|33\nGeForce GT 710|33\nGeForce GT 435M|33\nNVS 510|33\nAsus GeForce GT 710|33\nNVS 510|32\nGeForce 710M|32\nGeForce GT 720M|32\nGeForce GT 730A|32\nGeForce GT 710M|32\nGIGABYTE GeForce GTX 660|31\nEVGA GeForce GT 710|31\nGeForce GT 710|31\nGeForce GT 710|31\nGeForce GT 425M|31\nGeForce GT 720|31\nEVGA GeForce GT 710|31\nQuadro K1000M by Nick[D]vB|31\nAsus GeForce GT 710|31\nGeForce GT 720|31\nGeForce GT 420M|30\nGeForce GT 710|30\nnull Graphics Device|30\nGeForce GT 240|30\nGeForce 810M|29\nGeForce GT 720M|29\nGeForce GT 710|29\nQuadro 600|29\nGeForce 810M|29\nGeForce GT 420M|28\nQuadro 410|28\nGeForce GTX 660M|28\nMSI GeForce GT 710|28\nGeForce GT 720|28\nGeForce GT 735M|27\nGeForce GT 720|27\nGeForce GT 720|27\nGeForce GT 630 OpenGL Engine|27\nQuadro 410|27\nGeForce GT 330M|26\nGeForce GT 420M|26\nGeForce GT 430|26\nGeForce 615|25\nGeForce GTX 760A|25\nToshiba GeForce GT 525M|25\nGeForce GT 520MX|25\nGeForce GT 620|25\nGeForce GT 625|25\nGeForce GT 710|24\nQuadro NVS 4200M|24\nGeForce 840A|24\nGeForce 610M|24\nGeForce 800M|24\nGeForce GT 420|24\nGeForce 705M|23\nGeForce GT 705|23\nGeForce 800M|23\nGeForce 610M|23\nGeForce GT 620 OEM|23\nGeForce GT 625|23\nGeForce GT 420|23\nQuadro NVS 4200M|23\nGeForce GT 520M|22\nNVS 4200M|22\nGeForce GT 620 OEM|22\nNVS 5200M|22\nGeForce GT 620 OEM|22\nGeForce GT 620|22\nGeForce GT 705|21\nGeForce GT 620|21\nGeForce GT 630 Rev. 2|21\nQuadro NVS 4200M|21\nGeForce GT 520M|20\nGTX 980M SLI|20\nGeForce GT 620|20\nGeForce GT 520M|20\nGeForce GT 520|19\nGeForce 410M|19\nGeForce 730A|19\nGeForce GT 520|19\nGeForce GT 610|19\nAsus GeForce GT 610|19\nNVS 310|18\nGeForce 410M|18\nNVS 315|18\nGeForce 605|18\nGeForce GT 610|18\nGeForce GT 520|17\nGeForce MX550|17\nNVS 4200M|17\nNVS 315|17\nNVS 310|17\nGeForce 410M|17\nPalit GeForce GTX 660|17\nGeForce 605|17\nNVS 310|17\nGeForce GT 415M|17\nZotac GeForce GT 610|17\nGeForce GTX 675M|17\nGeForce GT 610|16\nQuadro 4000M|16\nPNY GeForce GT 610|16\nGeForce GT 610|16\nGeForce 510|15\nMSi GeForce GT 610|15\nGeForce GT 735M|15\nGeForce GT 520|15\nGeForce 510|15\nGeForce GT 320M|14\nGeForce 9600M GT|14\nGeForce GTX 570M|14\nCorporation D3D12 (NVIDIA GeForce RTX 3080 Ti)|13\nGeForce 510|13\nQuadro FX 1800M|12\nAsus GeForce GT 520|12\nGeForce GT 705|12\nMSi GeForce GT 630|11\nQuadro 3000M|10\nGigabyte GeForce GT 610|10\nPegatron GeForce GT 420|9\nGeForce 210|8\nGeForce 9300 / nForce 730i|7\nNVS 3100M|7\nGeForce 8600 GT|5\nGeForce 8400 GS Rev. 3|4\nGeForce 8400 GS|3\nGeForce 9600 GT|2\nGeForce GT 550M|-1\nGeForce 8600 GTS|-1\nGeForce GT 520MX|-1\nEVGA GeForce GTX 460|-1\nEVGA GeForce GTX 970|-1\nGP106|-1\nGRID P4-2B|-1\nGainward GeForce GTX 650|-1\nGeForce 210|-1\nGeForce 310|-1\nGeForce 310M|-1\nGeForce 315|-1\nGeForce 315M|-1\nGeForce 320M|-1\nGeForce 405|-1\nGeForce 610M|-1\nGeForce 820A|-1\nGeForce 8300 GS|-1\nGeForce 8400 GS|-1\nGeForce 8400 GS Rev. 2|-1\nGeForce 8400 GS Rev. 3|-1\nGeForce 8400M GS|-1\nGeForce 8400M GT|-1\nGeForce 8500 GT|-1\nGeForce 8600 GT|-1\nGeForce 8600M GS|-1\nGeForce 8600M GT|-1\nGeForce 8700M GT|-1\nGeForce 8800 GT|-1\nGeForce 8800 GTS|-1\nGeForce 8800 GTS 512|-1\nGeForce 8800 GTX|-1\nGeForce 8800M GTX|-1\nGeForce 9200M GE|-1\nGeForce 9200M GS|-1\nGeForce 9300 / nForce 730i|-1\nGeForce 9300 GE|-1\nGeForce 9300 GS|-1\nGeForce 9300M GS|-1\nGeForce 9400|-1\nGeForce 9400M|-1\nGeForce 9500 GT|-1\nGeForce 9500M GS|-1\nGeForce 9600 GS|-1\nGeForce 9600 GSO|-1\nGeForce 9600 GSO 512|-1\nGeForce 9600 GT|-1\nGeForce 9600M GS|-1\nGeForce 9600M GT|-1\nGeForce 9600M GT / GeForce GT 220M|-1\nGeForce 9800 GT|-1\nGeForce 9800 GTX+|-1\nGeForce 9800 GTX/9800 GTX+|-1\nGeForce 9800M GTS|-1\nGeForce G 103M|-1\nGeForce G 105M|-1\nGeForce G105M|-1\nGeForce G205M|-1\nGeForce G210|-1\nGeForce G210M|-1\nGeForce GT 120|-1\nGeForce GT 120M|-1\nGeForce GT 130|-1\nGeForce GT 130M|-1\nGeForce GT 220|-1\nGeForce GT 220M|-1\nGeForce GT 230|-1\nGeForce GT 230M|-1\nGeForce GT 240|-1\nGeForce GT 240M|-1\nGeForce GT 240M|-1\nGeForce GT 320|-1\nGeForce GT 320M|-1\nGeForce GT 325M|-1\nGeForce GT 330|-1\nGeForce GT 330M|-1\nGeForce GT 335M|-1\nGeForce GT 435M|-1\nGeForce GT 520M|-1\nGeForce GT 525M|-1\nGeForce GT 555M/635M|-1\nGeForce GTS 240|-1\nGeForce GTS 250|-1\nGeForce GTS 360M|-1\nGeForce GTX 1180|-1\nGeForce GTX 260|-1\nGeForce GTX 260M|-1\nGeForce GTX 275|-1\nGeForce GTX 280|-1\nGeForce GTX 285|-1\nGeForce GTX 295|-1\nGeForce GTX 560 SE|-1\nGeForce GTX 750 v2|-1\nGeForce RTX T10-16|-1\nGeForce RTX T10-8|-1\nGigabyte GeForce GTX 1050 Ti|-1\nION|-1\nMSI GeForce GT 710|-1\nNVS 300|-1\nNVS 3100M|-1\nNVS 4200M|-1\nNVS 5100M|-1\nPalit GTX 680 JetStream|-1\nQuadro FX 1700|-1\nQuadro FX 1700M|-1\nQuadro FX 1800|-1\nQuadro FX 1800M|-1\nQuadro FX 2700M|-1\nQuadro FX 2800M|-1\nQuadro FX 3600M|-1\nQuadro FX 360M|-1\nQuadro FX 370|-1\nQuadro FX 3700|-1\nQuadro FX 3700M|-1\nQuadro FX 380 LP|-1\nQuadro FX 3800|-1\nQuadro FX 3800M|-1\nQuadro FX 4600|-1\nQuadro FX 4800|-1\nQuadro FX 4800|-1\nQuadro FX 5600|-1\nQuadro FX 570M|-1\nQuadro FX 580|-1\nQuadro FX 770M|-1\nQuadro FX 880M|-1\nQuadro K1100M by Nick[D]vB|-1\nQuadro K2000D|-1\nQuadro K2000M|-1\nQuadro K2100M by Nick[D]vB|-1\nQuadro NVS 135M|-1\nQuadro NVS 140M|-1\nQuadro NVS 160M|-1\nQuadro NVS 290|-1\nQuadro NVS 295|-1\nQuadro NVS 4200M|-1\nQuadro P4000 OpenGL Engine|-1\nSony GeForce 410M|-1\nZotac GeForce GTX 780|-1\n";var VV="\nRadeon RX 7900 XT|2202\nRadeon RX 7900 XT|1968\nRX 6800 XT|1957\nRadeon RX 6900 XT (XTXH)|1930\nRadeon RX 6900XT|1925\nRadeon PRO W6900X|1889\nRX 6900 XT|1852\nRadeon RX 6900|1814\nRadeon RX 7900 XTX|1773\nRX6800|1695\nFreddyVGA|1603\nRadeon PRO W6800|1564\nRadeon RX 7900 XTX|1437\nRadeon RX 6950 XT|1376\nRadeon RX 6800 XT|1358\nRadeon RX 6750 XT|1310\nRadeon(TM) RX 6850M XT|1294\nRadeon RX 6700|1285\nRadeon RX 6900 XT|1269\nSapphire Nitro+ RX 6800|1262\nRadeon PRO W6800X|1255\nRadeon PRO W6800X Duo|1218\nRadeon RX 6700|1214\nRadeon RX 6800 XT|1183\nSapphire Nitro Radeon RX6650XT|1180\nRadeon(TM) RX 6750 XT|1166\nRadeon RX 6800|1163\nRadeon RX 6900 XT|1162\nASRock RX 6650 XT Phantom Gaming|1161\nRadeon Navi23|1139\nRadeon RX 6650 XT|1132\nRadeon RX 6950 XT|1130\nRadeon 6800|1121\nRadeon RX 6700 XT|1110\nRadeon Pro W6600X|1101\nRadeon RX 6700M|1081\nRadeon RX 6800M|1078\nRadeon RX 5700 XT PJM|1060\nRadeon RX 6800|1054\nRadeon RX 6600 XT|1037\nRadeon RX 6600 XT|1031\nASUS RX 6600XT macOS Edition|1021\nRadeon RX 6800M|1016\nRadeon Pro Vega II Duo|1015\nRadeon RX 5700 Series|961\nRadeon RX 6800/6800 XT / 6900 XT|961\nRadeon RX 6600 XT|958\nRadeon Pro Vega II|956\nRadeon RX 6650 XT|951\nNavi 10 5700 XT|947\nRadeon Pro Vega II|947\nRadeon RX 5700 Series|946\nRadeon Pro W5700X|934\nRadeon RX 6600|929\nASUS Radeon RX 5700 XT|926\nRadeon Pro W5700X|917\nRadeon Pro 5700 XT|917\nRadeon RX 6900 XT|915\nRadeon RX 5700 XT|911\nRadeon Pro W5700|895\nRadeon RX 6600/6600 XT/6600M|889\nRadeon RX 6750 XT|883\nRadeon RX 6600|874\nRadeon RX 5700|855\nRadeon RX 5700 XT 50th Anniversary|854\nRadeon VII|851\nRadeon RX 5700 XT 50th Anniversary|845\nRadeon PRO W6800|837\nRadeon Pro Vega 64|824\nRadeon Navi10|822\nRadeon RX 5600 XT|816\nRadeon RX 6600M|803\nRadeon RX 6800S|791\nRadeon Pro 5700 XT|781\nRadeon RX Vega 64 8GB|775\nRadeon Pro 5700|768\nRadeon Vega Frontier Edition|767\nRadeon RX Vega|766\nRadeon RX Vega 56/64|765\nRadeon(TM) RX Vega|756\nRadeon Pro Vega 64X|745\nRadeon RX 5600 XT|744\nRadeon PRO W6600|744\nRadeon Vega 64 LC|735\nRadeon RX Vega 64.1|732\nRadeon RX 6600M|728\nRadeon Pro 5700|714\nRadeon Vega Frontier Edition|707\nRadeon Vega Frontier|704\nRadeon Vega FE|701\nRadeon RX 5700 XT|691\nRadeon Pro Vega 64|673\nRadeon Vega 64|667\nRadeon VII|663\nRadeon Pro WX9100|656\nSapphire Radeon RX Vega 64 8GB|654\nRadeon(TM) PRO W6600M|654\nRadeon RX 5700 XT 50th Anniversary|652\nRadeon RX 5700|640\nRadeon Pro W5700|640\nRadeon(TM) Pro WX 9100|635\nRadeon RX Vega 56|628\nRadeon RX Vega 56|623\nRadeon Pro 5500 XT|622\nRadeon RX 5600 OEM/5600 XT / 5700/5700 XT|621\nRadeon RX 5500|618\nRadeon RX 5500 XT|617\nRadeon Vega Frontier Edition|617\nRadeon RX 5500M Series|613\nRX xxx|613\nRadeon Pro Vega 64X|611\nRadeon RX Vega 64|610\nRadeon RX 5600 XT|610\nRadeon Pro Vega 64|605\nRadeon RX 6500 XT|603\nRadeon Vega|602\nRadeon Pro W5500|601\nRadeon RX 5600M|600\nRadeon Pro Vega 56|598\nRadeon Pro Vega 64|594\nRadeon Pro 5600M|593\nRadeon Pro Vega 48|592\nRadeon Pro Vega II Duo|590\nRadeon RX 590 Series|589\nRadeon RX Vega 56 8GB|589\nRadeon Pro 5600M|589\nRadeon Pro WX 9100|588\nRadeon Pro 5300|584\nRadeon(TM) R9 Fury Series|579\nRadeon RX 6800 XT 16GB|567\nRadeon Pro 5600M|567\nRadeon Pro W5500X|564\nRadeon(TM) RX 5500M|559\nRadeon HD 7870|556\nRadeon Pro W5500|554\nRadeon RX 5500M|550\nRadeon R9 290X Series|549\n66AF:F0|548\nRadeon Pro 5500 XT|547\nRadeon RX 580 Series|547\nRadeon RX 5500XT|547\nRadeon(TM) RX 580X|546\nRadeon Pro 5500 XT|545\nRadeon(TM) Pro W5500M|544\nRadeon Pro W5500X|544\nRadeon Pro W5500|541\nRadeonT RX 5300|537\nRadeon(TM) RX 570 Graphics|524\nRadeon Pro 5300|522\nRadeon(TM) RX 6500M|521\nRadeon RX Vega M GL|520\nASUS Radeon RX 570 Series|519\nASUS Radeon RX 580 Series|518\nRadeon(TM) RX 580|518\nRadeon(TM) Pro V7350x2|518\nRadeon(TM) RX 480 Graphics|516\nRadeon(TM) RX 570 Graphics|515\nRadeon RX 6400|513\nRadeon Pro 580X|513\nRadeon(TM) R9 390 Series|503\nRadeon Pro 5300|500\nRadeon RX 580 2048SP|500\nRadeon PRO W6400|500\nRadeon RX 570 Series|499\nRadeon PRO W6800X Duo|497\nRadeon Pro 580|494\nRadeon RX 5500 XT|493\nRadeon RX 6400|487\nRadeon Pro 580|485\nRadeon(TM) Pro WX 7100 Graphics|485\nRadeon(TM) R9 290X|478\nSapphire Radeon RX 580 Pulse|477\nRadeon RX 6700/6700 XT / 6800M|476\nRadeon(TM) RX 580|475\nRadeon RX 6700S|475\nRadeon R9 290X|470\nRadeon(TM) RX 470 Graphics|469\nRadeon R9 FURY / NANO Series|468\nRadeon Embedded E9560|467\nKamen Rider Black RX|466\nRadeon(TM) E9550|464\nRadeon(TM) RX 580 Graphics|463\nRadeon RX Vega 56/64|463\nRadeon(TM) RX 480|462\nRadeon RX 6800 XT|462\nRadeon RX 470 Series|461\nRadeon RX480|456\n66AF:F1|455\nRadeon Pro 480/575|455\nRadeon Embedded E9560|450\nRadeon FURY|450\nRadeon RX 5600 OEM/5600 XT / 5700/5700 XT|447\nRadeon RX 6600 XT|446\nRadeon HD 6800 Series|445\nRadeon Pro 570X|444\nRadeon(TM) RX 470 Graphics|443\nRadeon Pro 575X|443\nRadeon RX 470/480/570/570X/580/580X/590|443\nRadeon RX 6600|443\nRadeon RX Vega M GH Graphics|441\nRX 580|440\nRadeon RX 570|440\nRadeon Pro 570|440\nRadeon RX 590|437\nRadeon(TM) RX 470 Series|435\nRadeon RX 6900 XT|435\nRadeon FURY X|434\nRX 590|431\nRadeon Pro 5500M|430\n???|430\nRadeon(TM) RX 570|430\nRadeon RX 580|429\nRadeon HD 8xxx|426\nRadeon R9 290|425\nRadeon Pro 5500M|420\nRadeon Pro 580X|420\nRadeon RX 6700 XT|420\nRadeon RX 480|419\nRadeon R9 290/390|418\nRadeon Pro 580X|416\nRadeon(TM) Pro Duo|414\nEllesmere Radeon RX 570|411\nRadeon R9-290X|411\nRadeon Pro 580|411\nRadeon R9 200 Series|406\nRadeon RX 570|406\nRadeon Pro 470/570|404\nRadeon RX 6800M|404\nRadeon RX 5300M|400\nRadeon RX 580 Series (POLARIS10, DRM 3.40.0, 5.11.9-141-tkg-pds, LLVM 11.1.0)|399\nRadeon Pro 5300M|399\nRadeon R9 285|398\nRadeon RX 470|393\nRadeon Pro 575|392\nRadeon Pro 575X|391\nRadeon Pro WX 7100|387\nRadeon RX 6700M|386\nRadeon RX 470/480/570/570X/580/580X/590|382\nRadeon PRO W6600|376\nRadeon Polaris|374\nRadeon RX 6500 XT|374\nRadeon Pro Vega 20|371\nRadeon HD 7970|370\nRadeon Pro Vega 16|370\nRadeon RX 6800|369\nRadeon Pro Vega 64 OpenGL Engine|369\nRadeon(TM) R9 380 Series|367\nRadeon RX 5700XT|366\nFirePro W8100|366\nRadeon Pro Vega 64|365\nRadeon Pro 570|365\nRadeon Pro 570X|363\nRadeon Pro Vega 64 OpenGL Engine|362\nRadeon R9 280x|362\nRadeon R9 380|362\nRadeon R9 280x|361\nRadeon R9 280x|360\nRadeon Pro Vega 56|360\nR9 280X Dual-X|359\nRadeon Pro Vega 56 OpenGL Engine|356\nRadeon HD 7970|355\nRadeon HD 7970X/8970/R9 280X|354\nRadeon R9 285|353\nRadeon R9 380X|352\nRadeon RX 480|352\nRadeon RX 5700 XT Series|350\nASUS Radeon RX 470 Series|350\nRadeon Pro Vega 64|349\nRadeon R9 200 / HD 7900 Series|346\nASUS Radeon RX 470 Series|346\nRadeon Vega 56|346\nRadeon RX 580 Series (AMD POLARIS10 / DRM 3.15.0 / 4.12.0-1-amd64, LLVM 4.0.1)|343\nRadeon Pro Vega 20|343\nR9 380|341\nRadeon HD 7970|338\nRadeon RX 5700 XT|336\nRadeon D700|336\nAsus Radeon R9 280|334\nRadeon R9 285|334\nRadeon R9 M395X|332\nRadeon RX 5600 XT|332\nPowerColor Radeon R9 280|330\nRadeon R9 280|329\nFirePro W7100 Graphics Adapter|328\nRadeon R9 M295X Mac Edition|327\nASUS Radeon RX 5700|327\nRadeon R9 380|326\nRadeon Pro Vega 16|325\nRadeon R9 290X|325\nRadeon RX5600|324\nASUS Radeon RX 5500 XT|323\nRadeon R9 280|323\nRadeon HD 7950/8950 / R9 280|321\nRadeon R9 M395|319\nRadeon RX 6800/6800 XT / 6900 XT|318\nFirePro D700 (FireGL V)|318\nRadeon RX 5500/5500M / Pro 5500M|318\nMSI Radeon RX 6600 XT Gaming X|318\nFirePro W8000|315\nRadeon HD 7950|315\nRadeon Pro W5700|315\nFirePro W7170M|314\nRadeon PRO W6800|314\nRadeon RX 5500|313\nRadeon RX 580 Special Edition|312\nRadeonT RX 5500M|311\nRadeon R9 M395 (Bootcamp XG edition by bootcampdrivers.com)|311\nRadeon R9 360|309\nRadeon Pro WX 7100|307\nRadeon Pro WX 7100 Mobile|307\nRadeon RX 5700 XT 50th Anniversary|307\nR9 xxx|303\nRadeon RX 5700XT|302\nRadeon PRO W6400|301\nRadeon(TM) R9 370 Series|301\nRadeon RX 470/480/570/570X/580/580X/590|300\nRadeon(TM) PRO W6600M|298\nRadeon HD 8950|298\nRadeon R9 M395X|297\nRadeon R9 M395X|296\nRX Vega 64|296\nRadeon RX Vega 11 Graphics|295\nRadeon Pro 270X|294\nRadeon RX 580 2048SP|290\nRadeon HD 7950|290\nVideo Controller (VGA Compatible)|290\nRadeon(TM) R7 370 Series Graphics|290\nRadeon HD 7950|290\nAsus Radeon R9 270X|289\nRadeon RX 580X Series|288\nRadeon(TM) RX 5500M|285\nRadeon R9 270X|285\nRX xxx|285\nASUS R7 265 Series|281\nRadeon(TM) R9 270|280\n731F:C1|280\nRadeon R9 M395X|279\nRadeon(TM) R7 370 Series|279\nRadeon Pro V520 MxGPU|278\nRadeon R9 M395|277\nFirePro D700|277\nRadeon R9 270X|277\nRadeon(TM) R9 200 Series|276\nRadeon RX 5700|275\nRadeong 0.4 on AMD POLARIS10 (DRM 3.8.0 / 4.9.11-1-ARCH, LLVM 3.9.1)|274\nRadeon HD 7870 XT|274\nRadeon R9 390X|272\nRadeon(TM) RX 570 Graphics|272\nRadeon HD 7870 GHz Edition|271\nRadeon R9 390|270\nFirePro D700|269\nRadeon R9 M395|268\nRadeon R9 270|268\nRadeon RX 5700 / 5700 XT|267\nASUS R7 370 Series|267\nFirePro W7000|266\nRadeon(TM) Pro V7350x2|266\nRadeon(TM) RX 470 Series|266\nRadeon RX Vega 64 OpenGL Engine|266\nRadeon RX 5500M|265\nRadeon HD 7950/8950 OEM / R9 280|265\nRadeon Vega Frontier Edition OpenGL Engine|265\nRadeon 7950 x2|263\nRadeon R9 270|263\nRadeon VII|263\nRadeon HD 7xxx|262\nVideo Controller (VGA Compatible)|262\nRadeon(TM) RX 570|261\nRadeon RX 5500 XT|261\nRadeon R9 M295X|261\nFirePro W7000 (FireGL V) Graphics Adapter|260\nRadeon R9 M390|260\nRadeon HD 7870 GHz Edition|260\nRadeon R9 M390 (Bootcamp edition by bootcampdrivers.com)|260\nRadeon R9 370|259\nMetal|259\nRadeon HD 7870|259\nRadeon RX 470/570|258\nRadeon(TM) R9 370|257\nRadeon(TM) RX 460|257\nRadeon RX 560 Series|256\nRadeon R9 290|255\nRadeon(TM) RX 560 Series|255\nRadeon RX 5300M|254\nFirePro W7000|254\nRadeon R9 290X|253\n67EF:E7|253\nRadeon HD 7850|253\nRadeon(TM) RX 460 Graphics|253\nMSI Radeon RX 580|251\nRadeon R9 290/390|250\nFirePro W8100 (FireGL V)|249\nRadeon Pro WX 9100 OpenGL Engine|248\nRadeon(TM) RX 560|247\nRadeon(TM) RX 560 Series|247\nRadeon Pro Vega II Duo|247\nRadeon HD 7970M|246\nRadeon R9 290|245\nRadeon RX 5600M|245\nFirePro D300|245\nRadeon(TM) RX 5600M Series|244\nRadeon RX 590 Series|244\nRadeon R7 370 Series|244\nRadeon(TM) RX 560|243\nFirePro D300|243\nRadeon R9 390|243\nRadeon RX 470/480/570/570X/580/580X|243\nFirePro D300|243\nRadeon(TM) R7 370 Series|242\nRadeon R9 M390|241\nRadeon RX 560X Series|241\nFirePro D300|241\nRadeon RX 560|240\nRadeon R9 M290X|240\nGigabyte Vega 64 macOS Edition|239\nRadeon Pro 580|238\nRadeon Pro WX 4100|236\nRadeon Pro WX 7100 OpenGL Engine|236\nRadeon HD - FirePro D300|235\nFirePro D500|234\nRadeon Pro 580 OpenGL Engine|234\nRadeon(TM) E9260|234\nRadeon Pro WX 2100|233\nFirePro D500|232\nFirePro D500|232\nRadeon(TM) RX 6500 XT|232\nRadeon Pro 580X|231\nRadeon HD 7850|231\nRadeon Pro 575|231\nRadeon Pro Vega 64X|231\nASUS R9 270 Series|230\nRadeon Pro 450|230\nRadeon(TM) RX 560 Graphics|230\nRadeon R9 M290|229\nRadeon Pro 560X|228\nRadeon Pro 480/575|228\nPitcairn PRO Radeon HD 7850|228\nASUS Radeon RX 5700 XT|227\nRadeon HD 7870|227\nRadeon(TM) Pro WX 5100 Graphics|226\nRadeon R9 370X|225\nRadeon(TM) RX 480|224\nRadeon HD7970M|224\nFirePro S9000 (FireGL V)|223\nRadeon RX 550 640SP / RX 560/560X|222\nMSI / AMD RX 560 4G|222\nRadeon RX 570 OpenGL Engine|222\nMSI RX650|222\nRX 480|221\nMSI / AMD RX 560|221\nBaffin AMD Radeon RX 560|221\nMSI Baffin RX650|220\nRadeon Pro 5700 XT|220\nRadeon Pro 570|220\nRadeon Pro 575 OpenGL Engine|219\nAsus Radeon R9 270X|219\nRadeon RX RX 560|218\nRadeon RX 560 [Baffin]|218\nRX 460|218\nRadeon R9 370X|218\nRadeon(TM) Pro WX 4100|217\nASUS R9 390 Series|217\nRadeon Pro 5600M|217\nR9 xxx|217\nRadeon HD 7870 Series|217\nRadeon Pro RX 560|216\nR9 280X Dual-X|215\nRadeon Pro 570 OpenGL Engine|214\nRX 560|213\nRadeon Pro WX 5100|213\nFirePro D700|213\nRadeon(TM) R9 390 Series|213\nRadeon RX 480|212\nRadeon RX 560|212\nRadeon RX 5500/5500M / Pro 5500M|212\nRadeon RX 550 640SP / RX 560/560X|211\nRadeon R9 FURY / NANO Series|211\nSapphire Radeon RX 560|211\nRadeon RX 460|210\nRadeon RX550/550 Series|210\ninc. Radeon RX 480|209\nRadeon(TM) RX 550|208\nRadeon R9 M290X|206\nRadeon Pro 560 (Bootcamp XG edition by bootcampdrivers.com)|206\nRadeon RX460|206\nRadeon RX 550 Series|205\nCustom GPU 0405|204\nRadeon(TM) RX 460|204\nASUS AMD Radeon R9-990X|204\nRadeon Pro 555X|203\nRadeon RX 460/560|203\nRadeon HD 7970X/8970/R9 280X|202\nASUS Radeon RX 550 Series|201\nRadeon HD 8950|201\nFirePro D500 (FireGL V)|201\nRX 5700XT|200\nRadeon 550 Series|200\nRadeon HD 8470 + 7660D Dual Graphics|200\nRadeon HD 7990|200\nRadeon RX 560X|199\nRadeon RX Vega|199\nRadeon HD 7950 Series|198\nRadeon(TM) RX 540|197\nRadeon HD 6970|197\nRadeon HD 7970/8970 / R9 280X|197\nRadeon Navi14|197\nRadeon Pro 560|197\nRadeon RX 550|197\nRadeon R9 285|196\nRadeon Pro W5500|195\nRadeon Pro Vega 56|195\nRadeon Pro 460|195\nRadeon RX 470/480|194\nRadeon PRO Graphics|194\nRadeon(TM) RX550|194\nRadeon Pro 560X|193\nRadeon Pro 570X|192\n66AF:F1|192\nRadeon RX Vega M GH|190\nRadeon R9 M280X|190\nRadeon RX 460/560D / Pro 450/455/460/555/555X/560/560X|189\nRadeon R9 280,|188\nCustom GPU 0405|188\nRadeon HD 7790|187\nRadeon(TM) RX 480 Graphics|187\nRadeon Pro 455|186\nRadeon R9 260|186\nRadeon RX 580 Series|186\nRadeon HD 7950/8950 OEM / R9 280|186\nRadeon R9 290X|185\nRadeon R9 M290X|184\nRadeon(TM) R9 370 Series|184\nRadeon Pro 555|184\nRadeon R7 260X|184\nRadeon HD 6950|183\nFirePro W5000|183\nRadeon(TM) R9 390X|182\nR9 270X Devil|182\nRadeon(TM) RX 470 Graphics (AMD POLARIS10 / DRM 3.23.0 / 4.15.0-1-MANJARO, LLVM 5.0.0)|182\nRadeon R9 380|182\nRadeon(TM) Pro WX 9100|182\nRadeon(TM) R7 360 Series|181\nRadeon RX 570 Series|181\nRadeon(TM) R9 M470X|181\nRadeon(TM) R7 360 Series|181\nRadeon RX480|180\nRadeon R7 200 Series|180\nRadeon Pro WX 4150|180\nRadeon Pro WX 4100|179\nRadeon HD 8xxx|179\nASUS R9 295X2 Series|179\nRadeon R9 390X|178\nRadeon HD 5870|176\nRadeon Pro 560|176\nRadeon RX 580 OpenGL Engine|175\nRadeon HD 8950|175\nFirePro V(FireGL V) Graphics Adapter|175\nASUS Radeon RX 580 Series|174\nRadeon Pro WX 4100|174\nRadeon Pro 460|173\nRadeon HD 2600 XT|173\nRadeon Pro WX 4100|172\nRadeon HD 8280|172\nRadeon Pro 575|171\nRadeon Pro 555X|171\nRadeon Pro WX 4130/4150|170\nRadeon RX Vega M GH Graphics|170\nFirePro W5100|170\nRadeon(TM) PRO WX 8200|169\nRadeon Vega Frontier Edition|169\nRadeon Pro 555X|168\nFirePro D700|168\nRadeon HD 6990|167\nRadeon RX 470 OpenGL Engine|167\nRadeon HD 7870 XT|167\nRadeon RX 580|167\nRadeon Polaris|167\nFirePro V8800 (FireGL V)|166\nRadeon RX 550|165\nRadeon HD 6900 Series|165\nFirePro W9100 (FireGL V)|164\nRX 580|163\nRadeon(TM) RX 580X|163\nRadeon RX 550|163\nRadeon HD 6870|163\nRadeon R9 M395X OpenGL Engine|163\nRadeon(TM) R9 360|163\nRadeon(TM) HD 8490|162\nRadeon R9 M295X|162\nRadeon HD 7970M|162\nRadeon R9 M380|161\nFirePro W5100 (FireGL V) Graphics Adapter|161\nASUS HD7850 Series|161\nFirePro M6100 FireGL V|161\nRadeon Pro 455|160\nRadeon RX 460/560D / Pro 450/455/460/555/555X/560/560X|160\nRadeon R9 M395X|159\nRadeon RX 560X|159\nRadeon Pro 555|158\nRadeonT RX 560X|158\nRadeon Pro Vega 48|158\nASUS Radeon RX Vega|158\nRadeon Pro WX 9100|158\nRadeon Pro Vega 64|157\nPowered By QiongB A9999999999|157\nRadeon(TM) Pro Duo|157\nFirePro D700|157\nRadeon Pro WX 7100|156\nRadeon RX 460|156\nRadeon HD - FirePro D700 OpenGL Engine|156\nRadeon R9 M290X|156\nRadeon R9 M395 OpenGL Engine|155\nRadeon Pro SSG|155\nFirePro D300|155\nASUS R9 380 Series|155\nRadeon(TM) R9 Series|153\nRadeon RX 470/480/570/580|153\nFirePro W8000|153\nCezanne|153\nRadeon(TM) Graphics|153\nFirePro D300|153\nRadeon(TM) R9 Fury Series|153\nRadeon R9 M395|152\nRadeon RX 570|152\nRadeon R9 270X Series|152\nRadeon Pro 5300M|152\nR9 xxx|152\nRadeon Pro 555|152\nFirePro D500|151\nRadeon HD 5850|151\nFirePro D300|150\nRadeon(TM) R9 290X|150\n66AF:F0|149\nRadeon(TM) RX 560|149\nRadeon R9 M290|148\nRadeon Instinct MI25 MxGPU|148\nFirePro V7800 (FireGL) Graphics Adapter|148\nRadeon(TM) R9 M470|147\nAdvanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series]|147\nRadeon HD 5870 Series|147\nRadeon(TM) E9550|147\nRadeon HD 7850|147\nRadeon HD 7770|147\nRadeon Pro Vega 20|146\nRadeon R9 290/390|146\nRadeon Pro 450|146\nRadeon RX 560X Series|146\nRadeon HD 6850|146\nRadeon R9 270 1024SP|145\nASUS R9 280X Series|145\nRadeon Pro 450|145\nRadeon(TM) R9 390 Series|145\nFirePro V7900 (FireGL V)|145\nRadeon R9 370X|145\nRadeon(TM) RX 560 Series|144\nASUS R7 250X|144\nRadeon RX 480 OpenGL Engine|144\nRadeon R9 290X|144\nRadeon RX 550X|144\nRadeon(TM) RX 580|144\nASUS Radeon(TM) RX 470 Series|143\nBaffin Radeon RX 560|143\nRadeon R9 M295X (Bootcamp edition by bootcampdrivers.com)|143\nRadeon R9 M295X Mac Edition|143\nRadeon R7 Series / HD 9000 Series|142\nAdvanced Micro Devices [AMD] nee ATI Device|142\nRadeon(TM) Pro WX 7100 Graphics|142\nRadeon RX 640|142\nFirePro D500|141\nRadeon HD 7900 Series|141\nRadeon R9 290|141\nRadeon R7 250X|141\nRadeon(TM) RX Vega|140\nRadeon 630 Series|140\nFirePro W8100 Graphic Adapter|140\nRadeon R9 FURY / NANO Series|140\nRadeon R9 M390|140\nRadeon Pro WX 3100|140\nRadeon R9 290|140\nRadeon(TM) R9 370|140\nFirePro V7900|139\nRadeon HD 7970|139\nRadeon HD - FirePro D500 OpenGL Engine|139\nRadeon HD - FirePro D300 OpenGL Engine|139\nRadeon Pro 580|139\nRadeon HD 7770|139\nRadeon HD - FirePro D500 OpenGL Engine|139\nRadeon 540/540X/550/550X / RX 540X/550/550X|138\nFirePro S9050|138\nRadeon(TM) RX 480 Graphics|138\nRadeon(TM) R9 M390X|137\nRadeon Vega 64|137\nRadeon(TM) Graphics|137\nTonga PRO GL [FirePro W7100]|136\nHD7950 Martin Ver.|136\nRadeon HD 7990|135\nRadeon R9 280x|135\nRadeon RX550/550 Series|135\nHD7950 MARTIN REV.|134\nRadeon RX560|134\nRadeon R7 250X Series|134\nRadeon R9 M390 OpenGL Engine|134\nASUS R7 250X|134\nRadeon HD6870|134\nRadeon R9 270X|134\nRadeon Pro 5500 XT|134\nRadeon(TM) RX 480|133\nRadeon R9 270|133\nASUS HD7970 Series|133\nRadeon RX 540|133\nRadeon 500 Series|132\nRadeon HD 5970|132\nRadeon HD 7770 GHz Edition|132\nRadeon HD 5870|132\nRadeon 540X Series|132\nRadeon HD 6870 Series|132\nRadeon(TM) RX 470 Graphics|132\nRadeon HD - FirePro D300 OpenGL Engine|132\nRadeon HD 7xxx|131\nRadeon HD 5970|131\nRadeonT 540X|131\nRadeon R7 Graphics + R7 350 Dual Graphics|131\nRadeon R9 M295X Mac Edition / R9 380X|131\nFirepro M5100|131\nRadeon(TM) R9 M375X|131\nRadeon R9 280x|130\nRadeon(TM) RX 560X|130\nRadeon HD 6990|130\nRadeon Pro 5500M|130\nRadeon Pro WX 5100 OpenGL Engine|129\nRadeon R9 M395X (Bootcamp edition by bootcampdrivers.com)|129\nRadeon R9 M380|128\nFirePro W5170M|128\nRadeon R9 280|128\nFirePro W5000 (FireGL V)|128\nRadeon(TM) RX 5600M Series|128\nRadeon RX 560D|128\nFirePro D500 (FireGL V)|128\nRadeon(TM) Pro WX 5100 Graphics|128\nRadeon(TM) RX Vega 11 Graphics|128\nRadeon HD 7970|127\nRadeon R9 370|127\nRadeon HD 7770|127\nRadeon R9 M395X|126\nRadeon HD 7660D|126\nRadeon HD 8970|126\nRadeon R9 200 Series|126\nRadeon Pro WX 3200 Series|126\nRadeon HD 7800 Series|125\nRadeon R9 285/380|125\nRadeon R9 270X|124\nFirePro W2100|124\nFirePro W7170M|124\nRadeon HD 7870 GHz Edition|123\nRadeong 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.9.0)|123\nRadeon RX 460|123\nRadeon HD 5970 Series|123\nRadeon R9 M380|122\nRadeon R9 M395|122\nAsus Radeon R9 280|122\nRadeon HD 6850 Series|122\nRadeon(TM) RX 540|122\nRadeon HD 6900 Series|122\nDevice|122\n67DF:C4|121\nRadeon HD 6950|121\nFirePro D300 (FireGL V)|121\nRadeon RX 570|121\nRadeon HD 5850 Series|121\nRadeon HD 7870 XT|121\nRadeon HD 7950|121\nFirePro V7800 (FireGL) Graphics Adapter|121\nRadeon HD 6850|121\nRadeon HD 7950|120\nRadeon HD 7870 GHz Edition|120\nRadeon R7 370 / R9 270X/370X|120\nRadeon HD 6870|120\nRadeon Pro V340|120\nASUS Radeon RX 570 Series|119\nRadeon(TM) R7 370 Series Graphics|119\nRadeon(TM) RX 580 Graphics|119\nRadeon(TM) RX 470 Graphics|119\nRadeon HD 5870|119\nRadeon HD 7950/8950 / R9 280|119\nRadeon HD 6790|119\nRadeon(TM) RX580|119\nASUS ARES2|119\nRadeon(TM) R9 380 Series|118\nRadeon HD 7750|118\nRadeon Pro 560X|118\nRadeon R7 250E|118\nRadeon 550 Series|118\nRadeon RX 560|118\nRadeon Pro WX 5100|117\nRadeon R7 370 / R9 270X/370|117\nRadeon HD 7800 Series|117\nFirePro W5000 (FireGL V) Graphics Adapter|117\nRadeon HD 7750 Series|116\nRadeon HD 5870|116\nRadeon R7 450|115\nFirePro R5000|115\nRadeon R7 370 Series|115\nFirePro W9100|114\nRadeon R7 370 / R9 270/370|114\nRadeon(TM) 540 Graphics|114\nRadeon HD 6510 Series|114\nRadeon(TM) R7 370 Series|113\nSapphire Radeon HD6870|113\nFirepro M5100|113\nRadeon(TM) RX 550|113\nRadeon(TM) Pro Duo|113\nRadeon 540/540X/550/550X / RX 540X/550/550X|113\nRadeon Pro 570|112\nRadeon R9 280|112\nFirePro D700 (FireGL V)|112\n(ATI) FirePro M6000 (FireGL V) Mobility Pro Graphics|112\nRenoir|112\nRadeon 540X Series (POLARIS12, DRM 3.40.0, 5.10.56-1-MANJARO, LLVM 12.0.1)|112\nRadeon HD 6970|112\nRadeon HD 8770|112\nRadeon Pro WX3200 Graphics|112\nRadeon(TM) R9 270|111\nRadeon R9 270X|111\nRadeon R9 285|111\nRadeon HD 7800M Series|111\nRadeon(TM) R7 370 Series|111\nRadeon HD 7870M Series|111\nRadeon Pro 450/550|110\nRadeon HD 7000 series|110\nRadeon HD 7870|110\nRadeon Pro 555X|110\nRadeon RX590 GME|109\nFirePro S10000|109\nRadeon HD 7870M|109\nRadeon HD 5800 Series|109\nRadeon HD 6970M|108\nASUS HD7770 Series|108\nRadeon(TM) R9 M360|108\nRadeon(TM) RX 550X|107\nRadeon R9 285|107\nRadeon HD 6900M Series|107\nRadeon HD 7870 GHz Edition|107\nFirePro S7000|107\nRadeon R9 M370X|106\nRadeon Pro WX 4100|106\nRadeon HD 6800 Series|106\nRadeon HD 7750|106\nRadeon Pro 455 OpenGL Engine|106\nASUS R7 370 Series|106\nRadeon Pro 560|105\nRadeon HD 6870|105\nFirePro D300 (FireGL V)|105\nRadeon HD 6970M|105\nRadeon HD 7850|105\nRadeon(TM) R9 200 Series|104\nASUS HD7750 Series|104\nRadeon HD 6970M OpenGL Engine|104\nAsus Radeon R7 250|104\nRadeon R7 370 / R9 270X/370|104\nRadeon R9 M395X (Bootcamp XG edition by bootcampdrivers.com)|103\nRadeon(TM) RX 560|103\nRadeon RX Vega|103\nRadeon(TM) Pro W5500M|103\nRadeon R9 270|103\nRadeon Pro 560X|103\nRadeon HD 5850|103\nFirePro S7150|103\nRadeon(TM) RX 580|103\nRadeon(TM) R9 370 Series|103\nASUS Radeon(TM) RX 480 Series|102\nRadeon Graphics Processor|102\nRadeon R9 M370X|102\nFirePro W7100|102\nRadeon R9 M370X|101\nRadeon Pro 460 OpenGL Engine|101\nRadeon RX 580 Series|101\nRadeon 500 Series|100\nRadeon Pro 555|100\nRadeon(TM) Pro WX 4100|100\nAsus Radeon R7 260X|100\nRadeon(TM) RX Vega 10 Graphics|100\nRadeon HD 7790|99\nRadeon Pro 450 OpenGL Engine|99\nRadeon HD 7790/8770 / R7 360 / R9 260/360|99\nFirePro M4000 Mobility Pro Graphics|99\nRadeon HD 7970M|99\nRadeon R9 M270X|99\nRadeon RX 550|98\nRadeon HD 6850|98\nRadeon(TM) RX 460|98\nRadeon(TM) RX Vega11 Graphics|98\nRadeon(TM) RX 460 Graphics|98\nRadeon Pro 460|97\nRadeon HD 7800 Series|97\nMatrox C680 PCIe x16|97\nRadeon(TM) RX 550|97\nRadeon HD 5770|96\nRadeon HD 8670D + 7700 Dual Graphics|96\nRadeon HD 7790|96\nRadeon 630 Series|96\nRadeon RX 560 Series|96\nFirepro M6100|95\nRadeon HD 6700 Series|95\n67EF:E7|95\nRadeon(TM) Vega 10 Graphics|95\nRadeon HD 6900M Series|94\nRadeon Pro 455|94\nFirePro M4000|94\nRadeon R9 260|94\nFirePro W7000|94\nRadeon Instinct MI25|93\nRadeon HD 8870M|93\nRadeon(TM) Vega 11 Graphics|93\nRadeon Pro 450|93\nFirePro W5000|92\nRadeon HD 6770|92\nRadeon(TM) RX560|92\nRadeon(TM) Graphics|91\nASUS Radeon(TM) RX 460 Series|91\nRadeon(TM) Vega 8 Graphics|91\nRadeon(TM) Graphics|91\nFirePro W5100 Graphics Adapter|90\nRadeon(TM) Pro WX Series|90\nRenoir|90\nSTRATO XT (6646)|89\nRadeon(TM) Pro WX 4150 Graphics|89\nRadeon E8870MXM|89\nRadeon HD 8970M|89\nFirePro M6100 FireGL V|89\nRadeon HD 7770|89\nFirePro W5100 (FireGL V) Graphics Adapter|89\nRadeon HD 6970M|89\nRadeon Pro 460|88\nRadeon RX Vega 8 Graphics|88\nRadeon HD 7700 Series|88\nRadeon(TM) R9 M360|88\nASUS R7 265 Series|88\nRadeon RX Vega M GL Graphics|88\nASUS Radeon RX 550 Series|88\nRadeon R7 360 / R9 360|88\nRadeon HD 6950|86\nRadeon HD 6790|86\nRadeon Pro WX 2100|86\nASUS Radeon RX 560 Series|86\nRadeon HD 5750|86\nRadeon(TM) RX 640|86\nRadeon HD 8870M|85\nRadeon R7 260X|85\nRadeon Pro WX 7100|85\nRadeon(TM) R7 360 Series|85\nRadeon Infoshock™ RX 460 Graphics|85\nFirePro W5170M|85\nRadeon R9 M295X|85\nFirePro W8100|85\nRadeon HD 6750|85\nFirePro W5170M|85\nFirePro V5800 (FireGL) Graphics Adapter|84\nASUS R7 250X|84\n67E8:00|84\nRadeon(TM) RX 550X|84\nRadeon(TM) R7 350|84\nRadeon(TM) E9260|84\nRadeon Sky 500|84\nRadeon R9 M270X|83\nRadeon(TM) R9 350|83\nRadeon(TM) RX Vega 11 Graphics|83\nFirepro M6100|83\nRadeon R9 360|82\nFirePro V7900|82\nFirePro V5800 (FireGL V)|82\nRadeon HD 8830M|82\nRadeon Pro 450|82\nRadeon HD 8950|82\n6980:00|82\nFirePro W5100 (FireGL V)|81\nRadeon E8870|81\nRadeon HD 7750 Series|81\nRadeon HD 7850 / R7 265 / R9 270 1024SP|81\nFirePro™ W4190M|80\nRadeon HD 5770|80\nRadeon(TM) R7 360 Series|80\nFirePro M5100 FireGL V|80\nRadeon RX 470/480/580|80\nRadeon(TM) RX 460 Graphics|79\nRadeon HD 6700 Series|79\nMobility Radeon HD 5870|79\nRadeon R9 255|79\nRadeon 535 Series|79\nRadeon R9 M380 OpenGL Engine|78\nRadeon(TM) RX 550|78\nRadeon R9 M380|78\nRadeon R7 250X|78\nSaphire Radeon RX 580|78\nRadeong 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.8.0)|78\nRadeon HD 5000|78\nRadeon HD 5770|77\nRadeon RX 460|77\nFirePro W4300|77\nRadeon 530 Series|77\nRadeon(TM) 540X|77\nRadeon R9 M370X OpenGL Engine|77\nFirePro V5900 (FireGL V)|77\nRadeon Pro WX 4100|77\nSAPPHIRE HD 5770|77\nRadeon Pro WX 3100|76\nFirePro W5100|76\nRadeon(TM) Pro Graphics|76\nRadeon Pro WX 3100|76\n67FF:C8|76\nRadeon(TM) HD8970M|76\nFirepro M5100|76\nRadeon(TM) R9 M375X|75\nRadeon 550X Series|75\nRadeon R9 M390|75\nRadeon(TM) Vega 9 Graphics|75\nFirePro V5900 (FireGL V) Graphics Adapter|74\nRadeon HD 8570|74\nRadeon(TM) RX 475M|74\nRadeon HD 6770|74\nRadeon RX 550 Series|74\nRadeon RX 550|74\nFirePro M4000|74\nRadeon RX 460/560D / Pro 450/455/460/560|74\nRadeon Pro 560|74\nRadeon Vega Series / Radeon Vega Mobile Series|74\nRadeon Pro 455|74\nRadeon HD 7870M Series|74\nRadeon(TM) R7 430|74\nRadeon 620 Series|73\nRadeon HD 7770 GHz Edition|73\nRadeon HD 7770|73\nRadeon(TM) R9 360 Series|73\nRadeon HD 7770/8760 / R7 250X|73\nRadeon(TM) 530|73\n15DD Graphics|73\nRadeon RX Vega M GL Graphics|73\nRadeon(TM) R9 380|72\nRadeon(TM) 530 series|72\nRadeon R7 200 Series|72\nEmbedded Radeon E9171|72\nRadeon Pro WX3200 Graphics|71\nRadeon HD 8800M Series|71\nRadeon R9 M375|70\nRadeon HD 5770|70\nRadeon Pro 555|70\nRadeon R7 250E|70\nRadeon HD 7750|70\nRadeon Pro 555X|70\nRadeon(TM) Vega 8 Mobile Graphics|70\nRadeon(TM) R9 M380|69\nRadeon R7 260X/360|69\nBarco MXRT 7600 (WDDM)|69\nRadeon(TM) Vega 10 Graphics|69\nRadeon HD 7750|69\nRadeon R9 M370X|69\nRadeon(TM) R2E Graphics|69\nRadeon R9™ M370X|68\nFirePro V4900 (FireGL V)|68\nRadeon(TM) RX Vega11 Graphics|68\nRadeon HD 5770|68\nRadeon(TM) Renoir Graphics D1|68\nRadeon HD 7600 Series|67\nRadeon R5 340|67\nRadeon(TM) Vega 9 Graphics|67\nFirePro W4100 (FireGL V) Graphics Adapter|67\n694E:C0|67\n694C:C0|67\nRadeon R7 250|66\nRadeon HD 6750|66\nRAVEN (DRM 3.36.0, 5.6.5-AMD, LLVM 9.0.1)|66\nFirePro W600|66\nRadeon R9 255|66\nRadeon RX 470|66\nRadeon(TM) R7 250|66\nFirePro V5900|65\nRadeon(TM) 530|65\nRadeon Pro WX Vega M GL Graphics|65\nRadeon RX 470/480|65\nRadeon HD 5750|65\nRadeon R7 260X|65\nFirePro V5900 (FireGL V) Graphics Adapter|65\nFirePro W4100 Graphics Adapter|65\nRadeon HD 6700 Green Edition|65\nRadeon R9 M370X|65\nRadeon(TM) R7 350X|64\nRadeon(TM) R7 350X|64\nRadeon HD 7670|64\nRadeon R9 M200X Series|64\nRadeon R9 M370X|64\nRadeon HD 6670|63\nRadeon(TM) HD 8350|63\nRadeon 530X Series|63\nRadeon(TM) R9 360|63\nRadeon(TM) Pro WX 4150 Graphics|63\n67EF:C5|63\nRadeon R7 Graphics + R5 340 Dual Graphics|62\nRadeon HD 5670|62\nRadeon RX 470/570|62\nRadeon 530 Series|62\nRadeon R7 250 Series|62\nRadeon R7 430|62\nRadeon HD 6750 Graphics|62\nRadeon(TM) R9 M385X|62\nRadeon(TM) Vega 10 Mobile Graphics|62\nFirePro V5900 (FireGL V)|61\nFirePro V5800 (FireGL V)|61\nRadeon(TM) Vega 8 Graphics|61\nFirePro V4800 (FireGL V)|61\nRadeon HD 7600 Series|61\nRadeon(TM) Vega 6 Graphics|61\nRadeon(TM) R9 200 Series|61\nRadeon HD 8850M|61\nRadeon RX460|61\nRadeon R7 M460|61\nRadeon RX 640 Series|60\nRadeon 530|60\nRadeon HD 5600/5700|60\nRadeon HD 5750 Series|60\nRadeon R7 Graphics + R7 200 Dual Graphics|60\nRadeon R7 450|60\nFirePro V4900|60\nFirepro W6150M|60\nASUS R7 250 Series|60\nRadeon(TM) RX 560 Graphics|60\nRadeon(TM) R7 M370|59\nFirePro M4000 Mobility Pro Graphics|59\nRadeon R5 430|59\nRadeon R9 M275X|59\nFirePro V5800 (FireGL) Graphics Adapter|59\nMobility Radeon HD 5870|59\nRadeon(TM) R9 M385X|58\nRadeon HD 7750M|58\nRadeon HD 5670|58\nRadeon HD 8850M|58\nRadeon HD 7700M Series|58\nRadeon HD 8670D + R7 200 Dual Graphics|58\nRadeon R7 Series / HD 9000 Series|57\nRadeon HD 6730M/6770M|57\nRadeon(TM) 625|57\nRadeon(TM) R9 M385|57\nRadeon HD 5870M|56\nRadeon 610 Series|56\nFirePro W4100|56\nFirePro M6000 Mobility Pro Graphics|56\nRadeon RX 540 Series|56\nRadeon R7 240|56\nRadeon HD 7560D + HD 7700 Dual Graphics|56\nRadeon R9 M370X (Bootcamp XG edition by bootcampdrivers.com)|56\nFirePro V4900 (ATI FireGL)|55\nRadeon(TM) R7 M350|55\nFirePro M6000 Mobility Pro Graphics|55\n67FF:08|55\nRadeon HD 5750|55\nRadeon HD 7570|55\nRadeon(TM) Vega 11 Graphics|55\nRadeon R7 M460|55\nRadeon HD 5750 OpenGL Engine|55\nRadeon(TM) R7 M370|55\nRadeon HD 6730M/6770M/7690M XT|55\nRadeon E8860|55\nRadeon HD 8790M|54\nRadeon HD 6770M|54\nRadeon R7 M440|54\nRadeon(TM) R7 350|54\nRadeon(TM) R7 350X|54\nRadeon HD 7870 XT|54\nRadeon HD 7800M Series|54\nRadeon 520|54\nRadeon R7 M370|53\nFirePro W4150M FireGL V|53\n(ATI) FirePro M4000 (FireGL V) Mobility Pro Graphics|53\nRadeon R9 M200X Series|53\nRadeon HD 6700M/7700M/7900M Series|53\nRadeon(TM) 620|53\nPicasso|53\nRadeon(TM) RX Vega 10 Graphics|53\n67EF:CF|53\nRadeon(TM) Vega 3 Graphics|53\nRadeon R7 250|53\nFirePro W4190M|53\nRadeon(TM) Vega 8 Graphics|53\n694C:C0|52\nRadeon HD 5670 Series|52\nRadeon(TM) RX Vega 11 Graphics|52\nRadeon HD 6770M OpenGL Engine|52\nRadeon(TM) M535DX|52\nFirePro V4800 (FireGL V)|52\nRadeon R7 350 Series|52\nBarco MXRT 5600 (WDDM)|51\nRadeon 630|51\nFirePro V4900 (FireGL V)|51\nFirePro V4900 (FireGL V) Graphics Adapter|51\nRadeon(TM) Vega 3 Mobile Graphics|51\nRadeon 535 Series|51\nRadeon R7 Graphics|51\nRadeon HD 5670|51\nFirePro W4170M|50\nRadeon HD 8700M Series|50\nRadeon HD 8670 / R7 250/350|50\nPicasso|50\nFirePro V4800 (FireGL) Graphics Adapter|50\nMobility Radeon HD 5850|49\nOPAL XT/GL (6604)|49\nRadeon R5 M335|49\nMatrox C900 PCIe x16|49\nRadeon HD 7670|49\nRadeon HD 6750M|49\nRadeon(TM) 535|49\nRadeon 540X Series|49\nRadeon R9 M275|49\nRadeon(TM) RX 640|49\nRadeon HD 5700 Series|48\nRadeon R5 M230 Series|48\nFirepro M6100|48\nRadeon(TM) R9 M375|48\nRadeon R5 430|48\nRadeon(TM) R7 250|47\nRadeon R9 M265X|47\nRadeon HD 6730M/6770M|47\nRadeon HD 8670D|47\nRadeon R5 340|47\nRadeon 520|47\nRadeon(TM) 520|47\nFirePro V (FireGL V) Graphics Adapter|47\nFirePro M5100 FireGL V|46\nRadeon HD 6670|46\nRadeon R7 M260X|46\nRadeon HD 8550|46\nFirePro M4150|46\nRadeon HD 6670|46\nRadeon HD 7700 Series|46\nFirePro M4170|46\nRadeon HD 7570|46\nRadeon HD 8670D + HD 6670 Dual Graphics|45\n699F:C1|45\nRadeon R7 Graphics|45\nRadeon(TM) R7 M340|45\nFirePro W4170M (FireGL V)|45\nRadeon(TM) HD 8500M/8700M|45\nRadeon R7 M340|44\nFirePro M5950|44\nRadeon HD 8570D + R7 240 Dual Graphics|44\nRadeon HD 6770M|44\nRadeon HD 7730M|44\nRadeon HD 8790M|44\nRadeon HD 7750|44\nRadeon HD 8690A|44\nMobility Radeon HD 5730 / 6570M|44\nRadeon R9 A375|44\nRadeon(TM) R8 M445DX|43\nFirePro V (FireGL V) Graphics Adapter|43\nRadeon HD 7750/8740 / R7 250E|43\nFirePro V3900|43\nRadeon HD 7600A Series|43\nRadeon(TM) R7 200 Series Graphics|43\nRadeon R7 Graphics|43\nRadeon HD 6770M|43\nRadeon R7 M260 Series|43\nRadeon R7 M360|43\nRadeon HD 8970M|43\nRadeon(TM) Vega 6 Graphics|43\nRadeon HD 8570|42\nRadeon R7 M440|42\nRadeon HD 8670A/8670M/8750M|42\nMobility Radeon HD 5850|42\nRadeon HD 8750M|42\nEmbedded Radeon E9173|42\nRadeon(TM) R7 M440|42\nRadeon HD 8730M|42\nRadeon R7 240 + HD 8570D Dual Graphics|42\nFirePro V3900|42\nRadeon(TM) 535DX|42\nRadeon(TM) 520|42\nRadeon(TM) Vega 8 Mobile Graphics|42\nRadeon(TM) Vega 8 Graphics|42\nRadeon(TM) Vega 2 Graphics|42\nRadeon(TM) R9 M375|42\nRadeon(TM) R8 M445DX|41\nRadeon HD 6750M|41\nRadeonT 540X|41\nRadeon(TM) 530|41\nRadeon HD 7560D + HD 6670 Dual Graphics|41\nRadeon R7 240|41\nRadeon(TM) R7 M360|41\nRadeon R9 M280X|41\nRadeon HD 7520G + HD 7600M Dual Graphics|41\nRadeon(TM) R7 M445|41\nRadeon Vega 8 Mobile|40\nRadeon(TM) R9 255|40\nRadeon R7 M260X|40\nRadeon R8 M535DX|40\nRadeon R7 240/340|40\nRadeon(TM) R9 M375|40\nRadeon(TM) R7 Graphics|40\nRadeon(TM) R5 M420|40\nRadeon HD 6750M|40\nRadeon R9 M265X|40\nRadeon R7 M340|40\nRadeon HD 6570|40\nRadeon HD 7500/7600 Series|39\nRadeon R7 430|39\nFirePro W2100|39\nRadeon HD 7730M|39\nRadeon HD 8670D|39\nRadeon R5 M255|39\nRadeon HD 7560D + HD 6570 Dual Graphics|39\nRadeon RX Vega|39\nRadeon R7 240 Series|39\nRadeon(TM) R7 M445|39\nRadeon HD 6800M Series|39\nRadeon HD 8690M|39\nRadeon HD 7660D + HD 6570 Dual Graphics|39\nRadeon R7 M370|39\nRadeon(TM) HD 6650M|38\nRadeon R5 M435|38\nRadeon HD 6500 Series|38\nRadeon R7 Graphics|38\nFirePro M7820|38\nRadeon(TM) R8 M445DX Graphics|38\nRadeon HD 5570|38\nRadeon HD 8650G + 8750M Dual Graphics|38\nRadeon HD 8670A/8670M/8750M|38\nRadeon HD 6650M|38\nRadeon R7 M260 Series|38\nRadeon HD 7660G + 7600M Dual Graphics|38\nRadeon HD 7600M Series|38\nRadeon HD 7670M|37\nRadeon. HD 7670M|37\nRadeon(TM) R7 M265|37\nMobility Radeon HD 5000|37\nRadeon HD 7500M/7600M Series|37\nRadeon R5/R6/R7 Graphics|37\nRadeon R7 M270|37\nRadeon HD 8650G + HD 7600M Dual Graphics|37\nFirepro M5100|37\nRadeon HD 7730M|37\nRadeon HD 8570D|37\nRadeon(TM) HD 7650A Graphics|37\nRadeon R7 Graphics|37\nRadeon(TM) RX Vega 10 Graphics|37\nRadeon HD 7600A Series|36\nRadeon R7 M270|36\nRadeon HD 7660D + HD 6670 Dual Graphics|36\nRadeon HD 7570M/HD 7670M Graphics|36\nRadeon 6600M and 6700M Series|36\nRadeon R7 Graphics + R7 200 Dual Graphics|36\nRadeon HD 7570 Series|36\nRadeon HD 8750M|36\nRadeon HD 6550D|36\nFirePro M5950|36\nRadeon HD 7660G + 7600M Dual Graphics|36\nRadeon HD 6550D|36\nRadeon HD 7600M/7700M Series|36\nRadeon(TM) Vega 3 Graphics|36\nRadeon(TM) 625|36\nMobility Radeon HD 5570|36\nRadeon HD8730|36\nRadeon(TM) R9 M380|36\nRadeon(TM) R5 240|36\nRadeon HD 7650M|35\nRadeon HD 7560D|35\nRadeon HD 8690M|35\nRadeon HD 8650G + 8750M Dual Graphics|35\nRadeon HD 8650G + HD 8750M Dual Graphics|35\nRadeon HD 8650G + HD 8570M Dual Graphics|35\nRadeon HD 6570|35\nRadeon HD 7650M|35\nRadeon HD 6630M/6650M/6750M/7670M/7690M|35\nRadeon HD 6500 Series|35\nRadeon(TM) 520|35\nRadeon HD 8570D|35\nRadeon HD 7600M Series|35\nRadeon R7 Graphics|35\nRadeon HD 7660G + 8670M Dual Graphics|35\nRadeon R7 200 Series|35\nRadeon HD 6630M/6650M/6750M/7670M/7690M|35\nRadeon R7 M265|35\nRadeon HD 8650G + HD 8750M Dual Graphics|35\nRadeon HD 8650G + 8670M Dual Graphics|35\nRadeon R7 Graphics|34\nRadeon HD 6630M Series|34\nRadeon(TM) 520|34\nRadeon HD 7660D|34\nASUS R7 240 Series|34\nRadeon R9 M280X|34\nRadeon(TM) R5 340|34\nRadeon HD 8550G + 8600/8700M Dual Graphics|34\nRadeon R7 Graphics|34\nRadeon(TM) HD 8500M/8700M|34\nRadeon HD 7660G + HD 7600M Dual Graphics|34\nRadeon HD 7670M|34\nRadeon(TM) R5 M430|34\nRadeon HD 8650G + 8500M Dual Graphics|34\nRadeon(TM) R5 340X|34\nRadeon(TM) R5 230 series|34\nRadeon HD 8550|34\nFirePro W2100 (FireGL V)|34\nFirepro M4100 FireGL V|34\nRadeon HD 6550D|34\nRadeon HD 6630M|34\nRadeon(TM) R9 M375|34\nRadeon HD 5670 OpenGL Engine|33\nRadeon HD 5670|33\nRadeon R7 Graphics|33\nRadeon HD 7660G|33\nRadeon HD 5570|33\nRadeon HD 7550M/7650M Graphics|33\nRadeon HD 7660D|33\nRadeon HD 7560D|33\nRadeon HD 7560D|33\nRadeon R5 M445 Series|33\nRadeon R5 M315|33\nRadeon HD 8570D|33\nRadeon R7 M265|33\nRadeon HD 7640G + HD 7500/7600 Dual Graphics|33\nRadeon R7 Graphics|33\nRadeon HD 8500M Series|33\nMobility Radeon HD 5000|33\nRadeon(TM) R7 M360|33\nFirepro M4100|33\nRadeon(TM) Vega 10 Graphics|32\nRadeon HD 7500M/7600M Series|32\nRadeon HD 8550G + HD 8600/8700M Dual Graphics|32\nRadeon HD 7660G|32\nRadeon HD 7350|32\nRadeon HD 8470D + HD 6450 Dual Graphics|32\nRadeon R7 Graphics|32\nRadeon HD 8730M|32\nRadeon HD 7640G + HD 7400M Dual Graphics|32\nRadeon HD 8690A|32\nRadeon HD 8650G + 8600/8700M Dual Graphics|32\nRadeon R7|32\nRadeon(TM) Vega 11 Graphics|32\nRadeon(TM) Vega 8 Graphics|32\nRadeon R5 M200 Series|32\nRadeon(TM) R5 M335|32\nRadeon(TM) R5 M430|32\nRadeon HD 8550G + HD 8570M Dual Graphics|32\nRadeon HD 7650M Series|32\nRadeon R7 250 Series|32\nRadeon(TM) R7 M460|32\nRadeon HD 6550D|32\nRadeon HD 7660G + HD 7600M Dual Graphics|32\nRadeon(TM) Vega 3 Graphics|32\nRadeon HD 8470D|32\nRadeon R8 M365DX|31\nMadison [Mobility Radeon HD 5650/5750 / 6530M/6550M]|31\nRadeon HD 6630M/6650M/6750M/7670M/7690M|31\nRadeon R7 Graphics|31\nRadeon E6760|31\nRadeon R7 Graphics|31\nRadeon(TM) Vega 8 Graphics|31\nRadeon(TM) R5 M330|31\nRadeon HD 8670A/8670M/8690M|31\nRadeon R7 A360|31\nRadeon HD 8650G + HD 8600M Dual Graphics|31\nRadeon R5 M200 / HD 8500M Series|31\nRadeon(TM) R8 M435DX|30\nRadeon HD 7640G + HD 7670M Dual Graphics|30\nRadeon(TM) Vega 10 Mobile Graphics|30\nRadeon R7 Graphics|30\nRadeon Pro 450/550|30\nRadeon HD 8800M Series|30\nRadeon HD 8470D|30\nRadeon HD 7660D|30\nRadeon HD 8610G + HD 8600M Dual Graphics|30\nRadeon HD 7660G + 7670M Dual Graphics|30\nRadeon(TM) Vega 8 Mobile Graphics|30\nRadeon 610 Series|30\nRadeon(TM) R5 M330|30\nRadeon HD 7660G|30\nRadeon HD 7640G|30\nRadeon R8 M365DX|30\nRadeon HD 8550G|29\nRadeon HD 7540D|29\nRadeon HD 7640G|29\nRadeon HD 8650G|29\nRadeon(TM) R7 Graphics|29\nRadeon(TM) RX Vega 11 Graphics|29\nRadeon HD 6650M|29\nRadeon HD 7660G|29\nRadeon 6600M and 6700M Series|29\nRadeon HD 7640G + HD 7400M Dual Graphics|29\nRadeon(TM) R5 340X|29\nRadeon R5 435|29\nRadeon HD 6500M/5600/5700 Series|29\nFirepro M4100 FireGL V|29\nRadeon R7 Graphics|29\nRadeon(TM) 535|29\nRadeon R7 240 Series|29\nRadeon(TM) R7|29\nRadeon HD 8550G + 8500M Dual Graphics|28\nRadeon(TM) 530|28\nRadeon HD 5650 Series|28\nRadeon HD 7570M|28\nRadeon HD 7570M|28\nASUS R7 240 Series|28\nRadeon HD 6570|28\nRadeon(TM) Vega 8 Graphics|28\nRadeon E8860|28\nRadeon(TM) 530 series|28\nRadeon(TM) R5 M315|28\nRadeon HD 5500 Series|28\nRadeon HD 8610G + HD 8670M Dual Graphics|28\nRadeon(TM) R6|28\nRadeon R9 M275X|28\nRadeon HD 8550G + R5 M230 Dual Graphics|28\nRadeon HD 8470D|28\nRadeon HD 8670D|28\nRadeon HD 7620G|28\nRadeon(TM) R8 M350DX|28\nRadeon HD 8470D|27\nRadeon(TM) R8 M445DX|27\nRadeon(TM) R7 Graphics|27\nRadeon(TM) R5 Graphics|27\nRadeon(TM) R7 M340|27\nRadeon(TM) R6 Graphics|27\nRadeon R6 Graphics|27\nRadeon R5 M230 Series|27\nRadeon HD 8650G|27\nRadeon HD 7480D|27\nRadeon(TM) R8 M445DX Graphics|27\nRadeon(TM) R6 Graphics|27\nRadeon R7 Graphics|27\nRadeon R6|27\nRadeon R5 M255|27\nRadeon(TM) Vega 3 Graphics|27\nRadeon 550X|27\nRadeon(TM) Vega 3 Graphics|27\nRadeon HD 7500/7600 Series|27\nRadeon HD 8650G|27\nRadeon HD 5500 Series|27\nRadeon HD 7610M|27\nRadeon Instinct MI25 MxGPU|27\nRadeon(TM) HD8530M|27\nRadeon R7 M260|27\nRadeon(TM) R8 M445DX|27\nRadeon R7 Graphics|26\nRadeon HD 8500M|26\nRadeon(TM) R7 M260DX|26\nRadeon HD 8410G|26\nRadeon HD 8670A/8670M/8690M|26\nRadeon(TM) R7 M360|26\nRadeon(TM) R7 M360|26\nRadeon HD 8670D|26\nRadeon R9 M275|26\nRadeon HD 7640G|26\nRadeon(TM) R7 Graphics|26\nMxGPU|26\nRadeon HD 8370D|26\nRadeon HD 6620G|25\nRadeon HD 7560D|25\nRadeon HD 8570 / R5 430 / R7 240/340 / Radeon 520|25\nRadeon R4 Graphics|25\nRadeon R6 Graphics|25\nRadeon R7 Graphics|25\nRadeon(TM) 535DX|25\nRadeon(TM) 540 Graphics|25\nRadeon(TM) R5 M330|25\nRadeon HD 6530D|25\nRadeon R6 Graphics|25\nRadeon HD 8510G|25\nRadeon HD 6620G|25\nRadeon R7 M360|24\nRadeon(TM) R6 Graphics|24\nRadeon R7 M260|24\nRadeon HD 8610G + HD 8600M Dual Graphics|24\nRadeon(TM) R6 Graphics|24\nRadeon R5 M200 / HD 8500M Series|24\nRadeon R7 Graphics|24\nRadeon HD 7600G|24\nRadeon R7 Graphics|24\nRadeon HD 6620G|24\nRadeon R5 M330|24\nRadeon(TM) R5 240|24\nRadeon(TM) HD 6620G|24\nFirePro V3800 (FireGL V)|24\nRadeon HD 6520G|24\nRadeon R7 Graphics|24\nRadeon HD 7520G|24\nRadeon(TM) R6 Graphics|24\nRadeon(TM) R7 M260|24\nRadeon RX 540 Series|24\nRadeon(TM) R5 M320|24\nRadeon HD 8500M|23\nRadeon R5 M230|23\nRadeon HD 8670M|23\nRadeon HD 8550G + HD 8750M Dual Graphics|23\nRadeon HD 8600M Series (HAINAN, DRM 3.40.0, 5.11.13-arch1-1, LLVM 11.1.0)|23\nRadeon HD 8550G|23\nRadeon R5 M240|23\nRadeon R5 M240 Series|23\nRadeon HD 7540D|23\nRadeon(TM) R5 M430|23\nRadeon R5 Graphics|23\nRadeon(TM) R5 M430|23\nRadeon R6 Graphics|23\nRadeon HD 7520G|23\nRadeon R7 Graphics|23\nRadeon HD 8610G|22\nFirePro 3800 (FireGL) Graphics Adapter|22\nRadeon HD 7570M/HD 7670M Graphics|22\nRadeon HD 7480D|22\nRadeon(TM) R7 Graphics|22\nRadeon HD 8650G + HD 8600M Dual Graphics|22\nRadeon(TM) Vega 6 Graphics|22\nRadeon R7 Graphics|22\nRadeon R5 Graphics|22\nRadeon HD 7660G + HD 8600M Dual Graphics|22\nFirePro M2000|22\nRadeon R7 Graphics|22\nRadeon HD 7870M|22\nRadeon R5 M335|22\nRadeon R5|22\nRadeon HD 8500M Series|22\nRadeon(TM) HD 8490|22\nRadeon HD 8670M|22\nRadeon HD 7660G + HD 7670M Dual Graphics|22\nRadeon 7500M/7600M Series|22\nRadeon R5 Graphics|21\nRadeon(TM) R4 Graphics|21\nRadeon HD 8490|21\nRadeon HD 8490|21\nRadeon R7 Graphics|21\nRadeon HD 8570M|21\nRadeon(TM) R5 M320|21\nRadeon R2|21\nRadeon HD 6530D|21\nRadeon(TM) HD 6470M|21\nMxGPU|21\nRadeon HD 7000 series|21\nRadeon HD 7470|21\nRadeon(TM) R8 M350DX|21\nRadeon R7 Graphics|21\nRadeon HD 7520G + HD 7400M Dual Graphics|21\nRadeon(TM) R5 M335|21\nRadeon HD 7400G|21\nRadeon HD 7640G + HD 8500M Dual Graphics|21\nRadeon HD 7000 series|21\nRadeon(TM) R5 Graphics|20\nRadeon(TM) R7 M520 (R17M-M1-30)|20\nRadeon HD 8470|20\nRadeon HD 7480D|20\nRadeon HD 6400M/7400M Series|20\nRadeon(TM) R3 Graphics|20\nRadeon R6 M255DX|20\nRadeon HD 8370D|20\nRadeon R5 Graphics|20\nRadeon R7 Graphics|20\nRadeon HD 6410D|20\nRadeon(TM) R5 Graphics|20\nRadeon R5 M330|20\nRadeon R7 M260DX|20\nRadeon(TM) R5 Graphics|20\nRadeon HD 7480D|20\nRadeon HD 6470M|20\nRadeon Hybrid (Blocked)|20\nRadeon(TM) R7 Graphics|20\nRadeon(TM) R6 M340DX|20\nRadeon R5 235|20\nRadeon HD 7520G|19\nRadeon(TM) R6 M255DX|19\nRadeon R5 M240|19\nRadeon(TM) R3 Graphics|19\nRadeon R7E Graphics|19\nRadeon R5 M200 Series|19\nRadeon HD 7470|19\nRadeon HD 7640G + 8500M Dual Graphics|19\nRadeon(TM) R5 M330|19\nRadeon HD 6470M|19\nRadeon R3 Graphics|19\nRadeon HD 8400E|19\nRadeon HD 7640G + HD 8570M Dual Graphics|19\nRadeon HD 8400|19\nRadeon HD 8400 / R3 Series|19\nRadeon R5 Graphics|19\nRadeon(TM) R7 M265|19\nRadeon R5 M230|19\nRadeon R5 Graphics|19\nRadeon HD 7620G|19\nRadeon R5 Graphics|19\nRadeon(TM) HD 6470M|19\nRadeon HD 7480D|18\nRadeon R7 Graphics|18\nRadeon(TM) R5 Graphics|18\nRadeon HD 8550G|18\nRadeon HD 8370D|18\nRadeon R5 Graphics|18\nRadeon(TM) HD 7450|18\nRadeon HD 6530D|18\nRadeon HD 8570M|18\nRadeon R6 Graphics|18\nRadeon HD 7650A|18\nRadeon HD 8450G|18\nRadeon HD 8550G + R5 M230 Dual Graphics|18\nRadeon HD 7640G + 7470M Dual Graphics|18\nRadeon HD 8370D|18\nRadeon HD 7400M Series|18\nRadeon HD 8670D + R5 200 Dual Graphics|17\nRadeon HD 7500G|17\nRadeon HD 7790|17\nRadeon HD 7450M|17\nRadeon(TM) HD 7450A Graphics|17\nRadeon(TM) R5 Graphics|17\nRadeon(TM) R6 Graphics|17\nRadeon(TM) R4 Graphics|17\nRadeon HD 8650G + HD 8500M Dual Graphics|17\nRadeon HD 7400M Series|17\nRadeon HD 8450G|17\nRadeon HD 6520G|17\nRadeon HD 8470D|17\nRadeon(TM) R5 Graphics|17\nRadeon(TM) R4E Graphics|17\nRadeon HD 8330|17\nRadeon HD 8400|17\nRadeon(TM) HD 8510G|17\nRadeon(TM) R5 Graphics|17\nRadeon HD 8650G|17\nRadeon HD 6490M|17\nRadeon R7 Graphics|16\nRadeon HD 6400 Series|16\nRadeon HD 8510G|16\nRadeon HD 7400 Series|16\nRadeon HD 7400 Series|16\nRadeon(TM) HD 8510G|16\nRadeon HD 6370D|16\nRadeon HD 7420G|16\nRadeon HD 7520G + HD 7600M Dual Graphics|16\nRadeon R9 260|16\nRadeon HD 7640G + 7600M Dual Graphics|16\nRadeon HD 7470M|16\nRadeon(TM) R2 Graphics|16\nRADEON HD 6450|16\nRadeon(TM) R1E Graphics|16\nRadeon R5 Graphics|16\nRadeon HD 7420G|16\nRadeon(TM) R4 Graphics|16\nRadeon(TM) R4 Graphics|16\nRadeon(TM) R4 Graphics|16\nRadeon HD 7480D|16\nRadeon HD 6490M|15\nRADEON HD 6450|15\nRadeon(TM) HD 8610G|15\nRadeon(TM) HD 8610G|15\nRadeon HD 8610G + 8600M Dual Graphics|15\nRadeon HD 7350|15\nRadeon(TM) HD 6480G|15\nRadeon HD 8650G + 8600M Dual Graphics|15\nRadeon HD 8570D|15\nRadeon HD 6370M|15\nMobility Radeon HD 5000 Series|15\nRadeon R2 Graphics|15\nRadeon HD 8240 / R3 Series|15\nRadeon HD 8650G + R5 M200 Dual Graphics|15\nRadeon HD 8400E|15\nRadeon(TM) R4 Graphics|15\nRadeon R5 Graphics|15\nRadeon HD 8610G|15\nRadeon HD 8650G + HD 8500M Dual Graphics|15\nRadeon(TM) R7 M260|15\nASUS EAH6450 Series|15\nRadeon R3 Graphics|15\nRadeon(TM) R6 M340DX|15\nRadeon R6E Graphics|15\nRadeon R5 Graphics|15\nRadeon R2 Series|14\nRadeon HD 6450/7450/8450/R5 230|14\nRadeon HD 8200 / R3 Series|14\nRadeon(TM) R3 Graphics|14\nRadeon R5 230|14\nRadeon(TM) HD 8510G|14\nRadeon(TM) R4 Graphics|14\nRadeon R5 M435|14\nRadeon HD 8240|14\nASUS R5 230 Series|14\nFirePro M2000|14\nRadeon HD 7500G|14\nRadeon HD 7450|14\nRADEON HD 6450|14\nRadeon HD 8400E|14\nRADEON HD 6350|14\nRadeon HD 6480G|14\nRadeon(TM) R5E Graphics|14\nCARRIZO 9874|14\nMobility Radeon HD 5000 Series|14\nRadeon HD 6630M|14\nRadeon HD 6370M|14\nRadeon HD 8400 / R3 Series|14\nRadeon(TM) R2 Graphics|14\nASUS EAH6450 Series|14\nRadeon HD 7470M|13\nMobility Radeon HD 5470|13\nMobility Radeon HD 5400 Series|13\nRadeon(TM) R5E Graphics|13\nRadeon(TM) R2 Graphics|13\nRadeon HD 6540|13\nRadeon HD 7450|13\nRadeon HD 5450|13\nRadeon HD 8600M Series|13\nRadeon HD 8400 / R3 Series|13\nKaveri|13\nRadeon(TM) HD 6480G|13\nRadeon HD 5400 Series|13\nRadeon HD 8330|13\nRADEON HD 6350|13\nRadeon R4/R5 Graphics|13\nRadeon HD 7600G +™ HD Dual Graphics|13\nRadeon R3 Graphics|13\nASUS R5 230 Series|13\nRadeon(TM) R7 Graphics|13\nRadeon HD 7620G|13\nRadeon HD 8250|13\nRadeon(TM) R7 Graphics|12\nRadeon HD 6450/7450/8450 / R5 230|12\nRadeon HD 6480G|12\nRadeon(TM) R7 Graphics|12\nRadeon HD 5450 Series|12\nRadeon HD 8400 / R3 Series|12\nRadeon(TM) HD 6400 Series|12\nRadeon(TM) R4 Graphics|12\nRADEON HD5450|12\nRadeon R5 Graphics|12\nRadeon R5 Graphics|12\nRadeon(TM) R6 Graphics|12\nRadeon(TM) R4 Graphics|12\nRadeon(TM) R2 Graphics|12\nRadeon HD 8210|12\nRadeon R5 230|12\nRadeon R3 Graphics|12\nFirePro 2270|12\nRadeon(TM) R2E Graphics|12\nRadeon HD 8400 / R3 Series|12\nRadeon HD 8350G|12\nRadeon HD 8400|12\nRadeon R2 Graphics|12\nRadeon HD 8210 Graphics|12\nRadeon E6460|12\nRadeon(TM) HD 8280E|12\nRadeon R2 Graphics|11\nRadeon HD 8450G + HD 8750M Dual Graphics|11\nRadeon HD 8330|11\nRadeon HD 5470|11\nRadeon HD 7600G + 7500M/7600M Dual Graphics|11\nRadeon R5 220|11\nRadeon HD 8200 / R3 Series|11\nRadeon HD 8240|11\nRadeon HD 8400 / R3 Series|11\nRadeon HD 8200 / R3 Series|11\nRadeon HD 5450|11\nRadeon(TM) 620|11\nRadeon(TM) Vega 8 Mobile Graphics|11\nRadeon HD 6530D|11\nRadeon(TM) HD 6520G|11\nRadeon HD 6300M Series|11\nASUS EAH5450|11\nRadeon R5 220|11\nRadeon HD 8250|11\nRadeon HD 7340|11\nRadeon HD 7340M|11\nRadeon HD 8210|11\nRadeon HD 7700 Series|10\nRadeon HD 6380G|10\nRadeon HD 5400 Series|10\nRadeon HD 8240|10\nRadeon HD 7640G + 7670M Dual Graphics|10\nRadeon(TM) R6 Graphics|10\nASUS EAH5450 Series|10\nRadeon HD 6320|10\nRadeon HD 7340G|10\nRadeon HD 6410D|10\nRadeon HD 7340|10\nRadeon HD 6320|10\nRadeon(TM) R2 Graphics|10\nRadeon HD 8180|9\nMobility Radeon HD 5430|9\nRadeon R2 Graphics|9\nRadeon R2 Series|9\nRadeon HD 8210|9\nFirePro 2270|9\nRadeon R2E Graphics|9\nRadeon HD 7340|9\nRadeon HD 6320|9\nRadeon HD 7310|9\nRadeon HD 6310|9\nRadeon R7 Graphics|9\nRadeon HD 7310|8\nRadeon HD 8250|8\nRadeon HD 8180|8\nRadeon HD 6630M|8\nRadeon HD 6230|8\nRadeon HD 6320|8\nRadeon HD 6400M Series|8\nRadeon HD 7290 Graphics|7\nRadeon HD 6290|7\nRadeon HD 6310|7\nRadeon HD 8180|7\nASUS EAH5450 Series|7\nRadeon(TM) R2 Graphics|6\nRadeon HD 6310|6\nRadeon HD 7500G|6\nRadeon HD 8240 / R3 Series|6\nRadeon HD 6250|6\nRadeon HD 6380G|6\nRadeon HD 6300M Series|5\nRadeon HD 7310|5\nRadeon R3 Graphics|5\nRadeon(TM) R6 Graphics|5\nRadeon HD 6250|5\nRadeon HD 6290|5\nRadeon HD 6250|5\nRadeon HD 7290 Graphics|4\nRadeon HD 5000/6000/7350/8350 Series|3\nRadeon RX Vega 56 OpenGL Engine|-1\nFirePro V4800 (FireGL) Graphics Adapter|-1\nRadeon HD 7670M|-1\nRadeon HD 8570D|-1\n7340:C5|-1\nRadeon HD 8550G|-1\nRadeon R5 Graphics|-1\nASUS R7 360 Series|-1\nBonaire [FirePro W5100]|-1\nRadeon HD 6380G|-1\nRadeon R7 Graphics|-1\nFireGL V8650|-1\nFirePro S7150|-1\nFirePro V3900 (FireGL V)|-1\nFirePro V7800 (FireGL V)|-1\nFirePro W4100 Graphics Adapter|-1\nFirePro W4170M (FireGL V)|-1\nGigabyte Radeon RX 580|-1\nMobility FireGL V5700|-1\nMobility Radeon 4100|-1\nMobility Radeon HD 2400|-1\nMobility Radeon HD 2400 XT|-1\nMobility Radeon HD 2600|-1\nMobility Radeon HD 2600 XT|-1\nMobility Radeon HD 3200|-1\nMobility Radeon HD 3400 Series|-1\nMobility Radeon HD 3430|-1\nMobility Radeon HD 3470|-1\nMobility Radeon HD 3650|-1\nMobility Radeon HD 4200 Series|-1\nMobility Radeon HD 4250|-1\nMobility Radeon HD 4300 Series|-1\nMobility Radeon HD 4500 Series|-1\nMobility Radeon HD 4500/5100 Series|-1\nMobility Radeon HD 4650|-1\nMobility Radeon HD 4670|-1\nMobility Radeon HD 4850|-1\nR9 270X Devil|-1\nRX 560X|-1\nRadeon|-1\nRadeon(TM) HD8530M|-1\nRadeon 3000|-1\nRadeon 3100 Graphics|-1\nRadeon HD 2400 PRO|-1\nRadeon HD 2400 XT|-1\nRadeon HD 2600 Pro|-1\nRadeon HD 2600 XT|-1\nRadeon HD 2900 GT|-1\nRadeon HD 3200 Graphics|-1\nRadeon HD 3300|-1\nRadeon HD 3450|-1\nRadeon HD 3470|-1\nRadeon HD 3600 Series|-1\nRadeon HD 3650|-1\nRadeon HD 3850|-1\nRadeon HD 3870|-1\nRadeon HD 3870 X2|-1\nRadeon HD 4200|-1\nRadeon HD 4250|-1\nRadeon HD 4290|-1\nRadeon HD 4300/4500 Series|-1\nRadeon HD 4550|-1\nRadeon HD 4600 Series|-1\nRadeon HD 4650|-1\nRadeon HD 4670|-1\nRadeon HD 4830|-1\nRadeon HD 4850|-1\nRadeon HD 4870|-1\nRadeon HD 4890|-1\nRadeon HD 5670 640SP Edition|-1\nRadeon HD 5800 Series|-1\nRadeon HD 5850|-1\nRadeon HD 6490M|-1\nRadeon HD 6730M/6770M|-1\nRadeon HD 6750|-1\nRadeon HD 6800M Series|-1\nRadeon HD 7540D + HD 6670 Dual Graphics|-1\nRadeon HD 7700M Series|-1\nRadeon HD 7800 Series|-1\nRadeon HD 8350|-1\nRadeon HD 8370D|-1\nRadeon HD 8600/8700M|-1\nRadeon Pro WX Vega M GL Graphics|-1\nRadeon R5 200 Series|-1\nRadeon R7 A370|-1\nRadeon R9 200 Series|-1\nRadeon R9 290X/390X|-1\nRadeon R9 380X|-1\nRadeon RX 480|-1\nRadeon RX 550X|-1\nRadeon RX 6650M|-1\nRadeon RX6600XT|-1\nRadeon(TM) R8 M435DX|-1\nRadeon(TM) R9 290X|-1\nRadeon(TM) RX540|-1\ninc. Radeon HD 7970|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 2.43.0, LLVM 3.7.0)|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 3.9.0 / 4.9.0-rc1+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD FIJI (DRM 3.2.0 / 4.7.0-rc5+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.9.0)|-1\n";function jV(e){return e===IV.Intel?BV:e===IV.Nvidia?NV:e===IV.Amd?VV:""}var KV=[],QV=[],WV=[];function qV(e){if(e===IV.Intel&&KV.length)return KV;if(e===IV.Nvidia&&QV.length)return QV;if(e===IV.Amd&&WV.length)return WV;try{var t=function(e,t){var n,r;return n=t===IV.Intel?zS(r=e.split("\n")).call(r,(function(e){return"Intel(R) ".concat(e)})):e.split("\n"),zS(n).call(n,(function(e){return e.split("|")}))}(jV(e),e);return e===IV.Intel&&(KV=t),e===IV.Nvidia&&(QV=t),e===IV.Amd&&(WV=t),t}catch(VO){}return[]}function ZV(e){if(!e)return 0;var t,n=qV(e.vendor);return t=function(e,t){var n=QG(e).call(e,(function(e){return e[0]===t.model}));n.length||(n=QG(e).call(e,(function(e){return e[0]===t.backupModel}))),n.length||t.vendor!==IV.Intel||/^Intel(R)/.test(t.model)||(n=QG(e).call(e,(function(e){return e[0]==="Intel(R) "+t.model})));var r="-1";if(n.length){var i=n[0][1];r="-1"===i?"0":i}return Y_(r)}(n,e),0===t?0:-1===t?-1:iE(LV(t).toFixed(2))}var $V,YV,JV,ej="",tj=function(){function e(){Zm(this,e)}return Ym(e,null,[{key:"getGPUVendor",value:function(){return ej||(ej=function(){try{var e=localStorage.getItem(UV)||"";if(e)return e;var t,n=document.createElement("canvas").getContext("webgl");if(n)return(e=(t=n.getExtension("WEBGL_debug_renderer_info"))?n.getParameter(t.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(UV,e),e}catch(VO){}return""}())}},{key:"parseVendor",value:function(t){try{var n=xV(t||e.getGPUVendor());return eh(eh({},n),{},{score:ZV(n)})}catch(VO){}return null}}]),e}(),nj=void 0!==FN?FN:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function rj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ij=function(e){return e&&e.Math==Math&&e},oj=ij("object"==(void 0===FN?"undefined":Wd(FN))&&FN)||ij("object"==("undefined"==typeof window?"undefined":Wd(window))&&window)||ij("object"==("undefined"==typeof self?"undefined":Wd(self))&&self)||ij("object"==Wd(nj)&&nj)||function(){return this}()||nj||Function("return this")(),aj=function(e){try{return!!e()}catch(t){return!0}},sj=!aj((function(){var e,t=D_(e=function(){}).call(e);return"function"!=typeof t||t.hasOwnProperty("prototype")})),cj=sj,lj=Function.prototype,uj=lj.apply,dj=lj.call,hj="object"==("undefined"==typeof Reflect?"undefined":Wd(Reflect))&&xN||(cj?D_(dj).call(dj,uj):function(){return dj.apply(uj,arguments)}),pj=sj,fj=Function.prototype,gj=fj.call,vj=pj&&D_($V=D_(fj)).call($V,gj,gj),mj=pj?vj:function(e){return function(){return gj.apply(e,arguments)}},yj=mj,_j=yj({}.toString),Gj=yj(mG("")),Rj=function(e){return Gj(_j(e),8,-1)},bj=Rj,Tj=mj,wj=function(e){if("Function"===bj(e))return Tj(e)},Sj="object"==("undefined"==typeof document?"undefined":Wd(document))&&document.all,Mj={all:Sj,IS_HTMLDDA:void 0===Sj&&void 0!==Sj},Ej=Mj.all,zj=Mj.IS_HTMLDDA?function(e){return"function"==typeof e||e===Ej}:function(e){return"function"==typeof e},Dj={},kj=!aj((function(){return 7!=VG({},1,{get:function(){return 7}})[1]})),Aj=sj,Fj=Function.prototype.call,Pj=Aj?D_(Fj).call(Fj,Fj):function(){return Fj.apply(Fj,arguments)},Ij={},Xj={}.propertyIsEnumerable,xj=WG,Hj=xj&&!Xj.call({1:2},1);Ij.f=Hj?function(e){var t=xj(this,e);return!!t&&t.enumerable}:Xj;var Cj,Oj,Lj=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Uj=aj,Bj=Rj,Nj=Object,Vj=mj("".split),jj=Uj((function(){return!Nj("z").propertyIsEnumerable(0)}))?function(e){return"String"==Bj(e)?Vj(e,""):Nj(e)}:Nj,Kj=function(e){return null==e},Qj=Kj,Wj=TypeError,qj=function(e){if(Qj(e))throw Wj("Can't call method on "+e);return e},Zj=jj,$j=qj,Yj=function(e){return Zj($j(e))},Jj=zj,eK=Mj.all,tK=Mj.IS_HTMLDDA?function(e){return"object"==Wd(e)?null!==e:Jj(e)||e===eK}:function(e){return"object"==Wd(e)?null!==e:Jj(e)},nK={},rK=nK,iK=oj,oK=zj,aK=function(e){return oK(e)?e:void 0},sK=function(e,t){return arguments.length<2?aK(rK[e])||aK(iK[e]):rK[e]&&rK[e][t]||iK[e]&&iK[e][t]},cK=mj({}.isPrototypeOf),lK="undefined"!=typeof navigator&&String(navigator.userAgent)||"",uK=oj,dK=lK,hK=uK.process,pK=uK.Deno,fK=hK&&hK.versions||pK&&pK.version,gK=fK&&fK.v8;gK&&(Oj=(Cj=gK.split("."))[0]>0&&Cj[0]<4?1:+(Cj[0]+Cj[1])),!Oj&&dK&&(!(Cj=dK.match(/Edge\/(\d+)/))||Cj[1]>=74)&&(Cj=dK.match(/Chrome\/(\d+)/))&&(Oj=+Cj[1]);var vK=Oj,mK=vK,yK=aj,_K=oj.String,GK=!!KG&&!yK((function(){var e=YG();return!_K(e)||!(Object(e)instanceof YG)||!YG.sham&&mK&&mK<41})),RK=GK&&!YG.sham&&"symbol"==Wd(JG),bK=sK,TK=zj,wK=cK,SK=Object,MK=RK?function(e){return"symbol"==Wd(e)}:function(e){var t=bK("Symbol");return TK(t)&&wK(t.prototype,SK(e))},EK=String,zK=function(e){try{return EK(e)}catch(t){return"Object"}},DK=zj,kK=zK,AK=TypeError,FK=function(e){if(DK(e))return e;throw AK(kK(e)+" is not a function")},PK=FK,IK=Kj,XK=function(e,t){var n=e[t];return IK(n)?void 0:PK(n)},xK=Pj,HK=zj,CK=tK,OK=TypeError,LK={exports:{}},UK=oj,BK=VG,NK=function(e,t){try{BK(UK,e,{value:t,configurable:!0,writable:!0})}catch(n){UK[e]=t}return t},VK="__core-js_shared__",jK=oj[VK]||NK(VK,{}),KK=jK;(LK.exports=function(e,t){return KK[e]||(KK[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var QK=LK.exports,WK=qj,qK=Object,ZK=function(e){return qK(WK(e))},$K=ZK,YK=mj({}.hasOwnProperty),JK=Object.hasOwn||function(e,t){return YK($K(e),t)},eQ=mj,tQ=0,nQ=Math.random(),rQ=eQ(1..toString),iQ=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rQ(++tQ+nQ,36)},oQ=QK,aQ=JK,sQ=iQ,cQ=GK,lQ=RK,uQ=oj.Symbol,dQ=oQ("wks"),hQ=lQ?uQ.for||uQ:uQ&&uQ.withoutSetter||sQ,pQ=function(e){return aQ(dQ,e)||(dQ[e]=cQ&&aQ(uQ,e)?uQ[e]:hQ("Symbol."+e)),dQ[e]},fQ=Pj,gQ=tK,vQ=MK,mQ=XK,yQ=function(e,t){var n,r;if("string"===t&&HK(n=e.toString)&&!CK(r=xK(n,e)))return r;if(HK(n=e.valueOf)&&!CK(r=xK(n,e)))return r;if("string"!==t&&HK(n=e.toString)&&!CK(r=xK(n,e)))return r;throw OK("Can't convert object to primitive value")},_Q=TypeError,GQ=pQ("toPrimitive"),RQ=function(e,t){if(!gQ(e)||vQ(e))return e;var n,r=mQ(e,GQ);if(r){if(void 0===t&&(t="default"),n=fQ(r,e,t),!gQ(n)||vQ(n))return n;throw _Q("Can't convert object to primitive value")}return void 0===t&&(t="number"),yQ(e,t)},bQ=MK,TQ=function(e){var t=RQ(e,"string");return bQ(t)?t:t+""},wQ=tK,SQ=oj.document,MQ=wQ(SQ)&&wQ(SQ.createElement),EQ=function(e){return MQ?SQ.createElement(e):{}},zQ=EQ,DQ=!kj&&!aj((function(){return 7!=VG(zQ("div"),"a",{get:function(){return 7}}).a})),kQ=kj,AQ=Pj,FQ=Ij,PQ=Lj,IQ=Yj,XQ=TQ,xQ=JK,HQ=DQ,CQ=WG;Dj.f=kQ?CQ:function(e,t){if(e=IQ(e),t=XQ(t),HQ)try{return CQ(e,t)}catch(n){}if(xQ(e,t))return PQ(!AQ(FQ.f,e,t),e[t])};var OQ=aj,LQ=zj,UQ=/#|\.prototype\./,BQ=function(e,t){var n=VQ[NQ(e)];return n==KQ||n!=jQ&&(LQ(t)?OQ(t):!!t)},NQ=BQ.normalize=function(e){return String(e).replace(UQ,".").toLowerCase()},VQ=BQ.data={},jQ=BQ.NATIVE="N",KQ=BQ.POLYFILL="P",QQ=BQ,WQ=FK,qQ=sj,ZQ=wj(D_(wj)),$Q=function(e,t){return WQ(e),void 0===t?e:qQ?ZQ(e,t):function(){return e.apply(t,arguments)}},YQ={},JQ=kj&&aj((function(){return 42!=VG((function(){}),"prototype",{value:42,writable:!1}).prototype})),eW=tK,tW=String,nW=TypeError,rW=function(e){if(eW(e))return e;throw nW(tW(e)+" is not an object")},iW=kj,oW=DQ,aW=JQ,sW=rW,cW=TQ,lW=TypeError,uW=VG,dW=WG,hW="enumerable",pW="configurable",fW="writable";YQ.f=iW?aW?function(e,t,n){if(sW(e),t=cW(t),sW(n),"function"==typeof e&&"prototype"===t&&"value"in n&&fW in n&&!n[fW]){var r=dW(e,t);r&&r[fW]&&(e[t]=n.value,n={configurable:pW in n?n[pW]:r[pW],enumerable:hW in n?n[hW]:r[hW],writable:!1})}return uW(e,t,n)}:uW:function(e,t,n){if(sW(e),t=cW(t),sW(n),oW)try{return uW(e,t,n)}catch(r){}if("get"in n||"set"in n)throw lW("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var gW=YQ,vW=Lj,mW=kj?function(e,t,n){return gW.f(e,t,vW(1,n))}:function(e,t,n){return e[t]=n,e},yW=oj,_W=hj,GW=wj,RW=zj,bW=Dj.f,TW=QQ,wW=nK,SW=$Q,MW=mW,EW=JK,zW=function(e){var t=function t(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return _W(e,this,arguments)};return t.prototype=e.prototype,t},DW=function(e,t){var n,r,i,o,a,s,c,l,u,d=e.target,h=e.global,p=e.stat,f=e.proto,g=h?yW:p?yW[d]:(yW[d]||{}).prototype,v=h?wW:wW[d]||MW(wW,d,{})[d],m=v.prototype;for(o in t)r=!(n=TW(h?o:d+(p?".":"#")+o,e.forced))&&g&&EW(g,o),s=v[o],r&&(c=e.dontCallGetSet?(u=bW(g,o))&&u.value:g[o]),a=r&&c?c:t[o],r&&Wd(s)==Wd(a)||(l=D_(e)&&r?SW(a,yW):e.wrap&&r?zW(a):f&&RW(a)?GW(a):a,(e.sham||a&&a.sham||s&&s.sham)&&MW(l,"sham",!0),MW(v,o,l),f&&(EW(wW,i=d+"Prototype")||MW(wW,i,{}),MW(wW[i],o,a),e.real&&m&&(n||!m[o])&&MW(m,o,a)))},kW=Rj,AW=uS||function(e){return"Array"==kW(e)},FW=Math.ceil,PW=Math.floor,IW=HN||function(e){var t=+e;return(t>0?PW:FW)(t)},XW=IW,xW=function(e){var t=+e;return t!=t||0===t?0:XW(t)},HW=xW,CW=Math.min,OW=function(e){return e>0?CW(HW(e),9007199254740991):0},LW=function(e){return OW(e.length)},UW=TypeError,BW=function(e){if(e>9007199254740991)throw UW("Maximum allowed index exceeded");return e},NW=TQ,VW=YQ,jW=Lj,KW=function(e,t,n){var r=NW(t);r in e?VW.f(e,r,jW(0,n)):e[r]=n},QW={};QW[pQ("toStringTag")]="z";var WW="[object z]"===String(QW),qW=WW,ZW=zj,$W=Rj,YW=pQ("toStringTag"),JW=Object,eq="Arguments"==$W(function(){return arguments}()),tq=qW?$W:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=JW(e),YW))?n:eq?$W(t):"Object"==(r=$W(t))&&ZW(t.callee)?"Arguments":r},nq=zj,rq=jK,iq=mj(Function.toString);nq(rq.inspectSource)||(rq.inspectSource=function(e){return iq(e)});var oq=rq.inspectSource,aq=mj,sq=aj,cq=zj,lq=tq,uq=oq,dq=function(){},hq=[],pq=sK("Reflect","construct"),fq=/^\s*(?:class|function)\b/,gq=aq(fq.exec),vq=!fq.exec(dq),mq=function(e){if(!cq(e))return!1;try{return pq(dq,hq,e),!0}catch(t){return!1}},yq=function(e){if(!cq(e))return!1;switch(lq(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return vq||!!gq(fq,uq(e))}catch(t){return!0}};yq.sham=!0;var _q=!pq||sq((function(){var e;return mq(mq.call)||!mq(Object)||!mq((function(){e=!0}))||e}))?yq:mq,Gq=AW,Rq=_q,bq=tK,Tq=pQ("species"),wq=Array,Sq=function(e){var t;return Gq(e)&&(t=e.constructor,(Rq(t)&&(t===wq||Gq(t.prototype))||bq(t)&&null===(t=t[Tq]))&&(t=void 0)),void 0===t?wq:t},Mq=function(e,t){return new(Sq(e))(0===t?0:t)},Eq=aj,zq=vK,Dq=pQ("species"),kq=function(e){return zq>=51||!Eq((function(){var t=[];return(t.constructor={})[Dq]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Aq=DW,Fq=aj,Pq=AW,Iq=tK,Xq=ZK,xq=LW,Hq=BW,Cq=KW,Oq=Mq,Lq=kq,Uq=vK,Bq=pQ("isConcatSpreadable"),Nq=Uq>=51||!Fq((function(){var e=[];return e[Bq]=!1,b_(e).call(e)[0]!==e})),Vq=function(e){if(!Iq(e))return!1;var t=e[Bq];return void 0!==t?!!t:Pq(e)};Aq({target:"Array",proto:!0,arity:1,forced:!Nq||!Lq("concat")},{concat:function(e){var t,n,r,i,o,a=Xq(this),s=Oq(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Vq(o=-1===t?a:arguments[t]))for(i=xq(o),Hq(c+i),n=0;n<i;n++,c++)n in o&&Cq(s,c,o[n]);else Hq(c+1),Cq(s,c++,o);return s.length=c,s}});var jq=tq,Kq=String,Qq=function(e){if("Symbol"===jq(e))throw TypeError("Cannot convert a Symbol value to a string");return Kq(e)},Wq={},qq=xW,Zq=Math.max,$q=Math.min,Yq=function(e,t){var n=qq(e);return n<0?Zq(n+t,0):$q(n,t)},Jq=Yj,eZ=Yq,tZ=LW,nZ=function(e){return function(t,n,r){var i,o=Jq(t),a=tZ(o),s=eZ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},rZ={includes:nZ(!0),indexOf:nZ(!1)},iZ={},oZ=mj,aZ=JK,sZ=Yj,cZ=hR(rZ),lZ=iZ,uZ=oZ([].push),dZ=function(e,t){var n,r=sZ(e),i=0,o=[];for(n in r)!aZ(lZ,n)&&aZ(r,n)&&uZ(o,n);for(;t.length>i;)aZ(r,n=t[i++])&&(~cZ(o,n)||uZ(o,n));return o},hZ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],pZ=dZ,fZ=hZ,gZ=jG||function(e){return pZ(e,fZ)},vZ=kj,mZ=JQ,yZ=YQ,_Z=rW,GZ=Yj,RZ=gZ;Wq.f=vZ&&!mZ?$G:function(e,t){_Z(e);for(var n,r=GZ(t),i=RZ(t),o=i.length,a=0;o>a;)yZ.f(e,n=i[a++],r[n]);return e};var bZ,TZ=sK("document","documentElement"),wZ=iQ,SZ=QK("keys"),MZ=function(e){return SZ[e]||(SZ[e]=wZ(e))},EZ=rW,zZ=Wq,DZ=hZ,kZ=iZ,AZ=TZ,FZ=EQ,PZ="prototype",IZ="script",XZ=MZ("IE_PROTO"),xZ=function(){},HZ=function(e){return"<"+IZ+">"+e+"</"+IZ+">"},CZ=function(e){e.write(HZ("")),e.close();var t=e.parentWindow.Object;return e=null,t},OZ=function(){try{bZ=new ActiveXObject("htmlfile")}catch(t){}OZ="undefined"!=typeof document?document.domain&&bZ?CZ(bZ):function(){var e,t=FZ("iframe"),n="java"+IZ+":";return t.style.display="none",AZ.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(HZ("document.F=Object")),e.close(),e.F}():CZ(bZ);for(var e=DZ.length;e--;)delete OZ[PZ][DZ[e]];return OZ()};kZ[XZ]=!0;var LZ=vM||function(e,t){var n;return null!==e?(xZ[PZ]=EZ(e),n=new xZ,xZ[PZ]=null,n[XZ]=e):n=OZ(),void 0===t?n:zZ.f(n,t)},UZ={},BZ=dZ,NZ=hZ,VZ=b_(NZ).call(NZ,"length","prototype");UZ.f=BN||function(e){return BZ(e,VZ)};var jZ={},KZ=Yq,QZ=LW,WZ=KW,qZ=Array,ZZ=Math.max,$Z=function(e,t,n){for(var r=QZ(e),i=KZ(t,r),o=KZ(void 0===n?r:n,r),a=qZ(ZZ(o-i,0)),s=0;i<o;i++,s++)WZ(a,s,e[i]);return a.length=s,a},YZ=Rj,JZ=Yj,e$=UZ.f,t$=$Z,n$="object"==("undefined"==typeof window?"undefined":Wd(window))&&window&&BN?BN(window):[];jZ.f=function(e){return n$&&"Window"==YZ(e)?function(e){try{return e$(e)}catch(t){return t$(n$)}}(e):e$(JZ(e))};var r$={};r$.f=KG;var i$=mW,o$=function(e,t,n,r){return r&&r.enumerable?e[t]=n:i$(e,t,n),e},a$=YQ,s$=function(e,t,n){return a$.f(e,t,n)},c$={},l$=pQ;c$.f=l$;var u$,d$,h$,p$=nK,f$=JK,g$=c$,v$=YQ.f,m$=function(e){var t=p$.Symbol||(p$.Symbol={});f$(t,e)||v$(t,e,{value:g$.f(e)})},y$=Pj,_$=sK,G$=pQ,R$=o$,b$=function(){var e=_$("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=G$("toPrimitive");t&&!t[r]&&R$(t,r,(function(e){return y$(n,this)}),{arity:1})},T$=tq,w$=WW?{}.toString:function(){return"[object "+T$(this)+"]"},S$=WW,M$=YQ.f,E$=mW,z$=JK,D$=w$,k$=pQ("toStringTag"),A$=function(e,t,n,r){if(e){var i=n?e:e.prototype;z$(i,k$)||M$(i,k$,{configurable:!0,value:t}),r&&!S$&&E$(i,"toString",D$)}},F$=zj,P$=oj.WeakMap,I$=F$(P$)&&/native code/.test(String(P$)),X$=oj,x$=tK,H$=mW,C$=JK,O$=jK,L$=MZ,U$=iZ,B$="Object already initialized",N$=X$.TypeError,V$=X$.WeakMap;if(I$||O$.state){var j$=O$.state||(O$.state=new V$);j$.get=j$.get,j$.has=j$.has,j$.set=j$.set,u$=function(e,t){if(j$.has(e))throw N$(B$);return t.facade=e,j$.set(e,t),t},d$=function(e){return j$.get(e)||{}},h$=function(e){return j$.has(e)}}else{var K$=L$("state");U$[K$]=!0,u$=function(e,t){if(C$(e,K$))throw N$(B$);return t.facade=e,H$(e,K$,t),t},d$=function(e){return C$(e,K$)?e[K$]:{}},h$=function(e){return C$(e,K$)}}var Q$={set:u$,get:d$,has:h$,enforce:function(e){return h$(e)?d$(e):u$(e,{})},getterFor:function(e){return function(t){var n;if(!x$(t)||(n=d$(t)).type!==e)throw N$("Incompatible receiver, "+e+" required");return n}}},W$=$Q,q$=jj,Z$=ZK,$$=LW,Y$=Mq,J$=mj([].push),eY=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(c,l,u,d){for(var h,p,f=Z$(c),g=q$(f),v=W$(l,u),m=$$(g),y=0,_=d||Y$,G=t?_(c,m):n||a?_(c,0):void 0;m>y;y++)if((s||y in g)&&(p=v(h=g[y],y,f),e))if(t)G[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:J$(G,h)}else switch(e){case 4:return!1;case 7:J$(G,h)}return o?-1:r||i?i:G}},tY={forEach:eY(0),map:eY(1),filter:eY(2),some:eY(3),every:eY(4),find:eY(5),findIndex:eY(6),filterReject:eY(7)},nY=DW,rY=oj,iY=Pj,oY=mj,aY=kj,sY=GK,cY=aj,lY=JK,uY=cK,dY=rW,hY=Yj,pY=TQ,fY=Qq,gY=Lj,vY=LZ,mY=gZ,yY=UZ,_Y=jZ,GY=r$,RY=Dj,bY=YQ,TY=Wq,wY=Ij,SY=o$,MY=s$,EY=QK,zY=MZ,DY=iZ,kY=iQ,AY=pQ,FY=c$,PY=m$,IY=b$,XY=A$,xY=Q$,HY=qG(tY),CY=zY("hidden"),OY="Symbol",LY="prototype",UY=xY.set,BY=xY.getterFor(OY),NY=Object[LY],VY=rY.Symbol,jY=VY&&VY[LY],KY=rY.TypeError,QY=rY.QObject,WY=RY.f,qY=bY.f,ZY=_Y.f,$Y=wY.f,YY=oY([].push),JY=EY("symbols"),eJ=EY("op-symbols"),tJ=EY("wks"),nJ=!QY||!QY[LY]||!QY[LY].findChild,rJ=aY&&cY((function(){return 7!=vY(qY({},"a",{get:function(){return qY(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=WY(NY,t);r&&delete NY[t],qY(e,t,n),r&&e!==NY&&qY(NY,t,r)}:qY,iJ=function(e,t){var n=JY[e]=vY(jY);return UY(n,{type:OY,tag:e,description:t}),aY||(n.description=t),n},oJ=function e(t,n,r){t===NY&&e(eJ,n,r),dY(t);var i=pY(n);return dY(r),lY(JY,i)?(r.enumerable?(lY(t,CY)&&t[CY][i]&&(t[CY][i]=!1),r=vY(r,{enumerable:gY(0,!1)})):(lY(t,CY)||qY(t,CY,gY(1,{})),t[CY][i]=!0),rJ(t,i,r)):qY(t,i,r)},aJ=function(e,t){var n;dY(e);var r=hY(t),i=b_(n=mY(r)).call(n,uJ(r));return HY(i,(function(t){aY&&!iY(sJ,r,t)||oJ(e,t,r[t])})),e},sJ=function(e){var t=pY(e),n=iY($Y,this,t);return!(this===NY&&lY(JY,t)&&!lY(eJ,t))&&(!(n||!lY(this,t)||!lY(JY,t)||lY(this,CY)&&this[CY][t])||n)},cJ=function(e,t){var n=hY(e),r=pY(t);if(n!==NY||!lY(JY,r)||lY(eJ,r)){var i=WY(n,r);return!i||!lY(JY,r)||lY(n,CY)&&n[CY][r]||(i.enumerable=!0),i}},lJ=function(e){var t=ZY(hY(e)),n=[];return HY(t,(function(e){lY(JY,e)||lY(DY,e)||YY(n,e)})),n},uJ=function(e){var t=e===NY,n=ZY(t?eJ:hY(e)),r=[];return HY(n,(function(e){!lY(JY,e)||t&&!lY(NY,e)||YY(r,JY[e])})),r};sY||(SY(jY=(VY=function(){if(uY(jY,this))throw KY("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?fY(arguments[0]):void 0,t=kY(e);return aY&&nJ&&rJ(NY,t,{configurable:!0,set:function e(n){this===NY&&iY(e,eJ,n),lY(this,CY)&&lY(this[CY],t)&&(this[CY][t]=!1),rJ(this,t,gY(1,n))}}),iJ(t,e)})[LY],"toString",(function(){return BY(this).tag})),SY(VY,"withoutSetter",(function(e){return iJ(kY(e),e)})),wY.f=sJ,bY.f=oJ,TY.f=aJ,RY.f=cJ,yY.f=_Y.f=lJ,GY.f=uJ,FY.f=function(e){return iJ(AY(e),e)},aY&&MY(jY,"description",{configurable:!0,get:function(){return BY(this).description}})),nY({global:!0,constructor:!0,wrap:!0,forced:!sY,sham:!sY},{Symbol:VY}),HY(mY(tJ),(function(e){PY(e)})),nY({target:OY,stat:!0,forced:!sY},{useSetter:function(){nJ=!0},useSimple:function(){nJ=!1}}),nY({target:"Object",stat:!0,forced:!sY,sham:!aY},{create:function(e,t){return void 0===t?vY(e):aJ(vY(e),t)},defineProperty:oJ,defineProperties:aJ,getOwnPropertyDescriptor:cJ}),nY({target:"Object",stat:!0,forced:!sY},{getOwnPropertyNames:lJ}),IY(),XY(VY,OY),DY[CY]=!0;var dJ=GK&&!!NN&&!!VN,hJ=DW,pJ=sK,fJ=JK,gJ=Qq,vJ=QK,mJ=dJ,yJ=vJ("string-to-symbol-registry"),_J=vJ("symbol-to-string-registry");hJ({target:"Symbol",stat:!0,forced:!mJ},{for:function(e){var t=gJ(e);if(fJ(yJ,t))return yJ[t];var n=pJ("Symbol")(t);return yJ[t]=n,_J[n]=t,n}});var GJ=DW,RJ=JK,bJ=MK,TJ=zK,wJ=dJ,SJ=QK("symbol-to-string-registry");GJ({target:"Symbol",stat:!0,forced:!wJ},{keyFor:function(e){if(!bJ(e))throw TypeError(TJ(e)+" is not a symbol");if(RJ(SJ,e))return SJ[e]}});var MJ=mj(mG([])),EJ=AW,zJ=zj,DJ=Rj,kJ=Qq,AJ=mj([].push),FJ=DW,PJ=sK,IJ=hj,XJ=Pj,xJ=mj,HJ=aj,CJ=zj,OJ=MK,LJ=MJ,UJ=function(e){if(zJ(e))return e;if(EJ(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?AJ(n,i):"number"!=typeof i&&"Number"!=DJ(i)&&"String"!=DJ(i)||AJ(n,kJ(i))}var o=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(EJ(this))return t;for(var r=0;r<o;r++)if(n[r]===e)return t}}},BJ=GK,NJ=String,VJ=PJ("JSON","stringify"),jJ=xJ(/./.exec),KJ=xJ("".charAt),QJ=xJ("".charCodeAt),WJ=xJ("".replace),qJ=xJ(1..toString),ZJ=/[\uD800-\uDFFF]/g,$J=/^[\uD800-\uDBFF]$/,YJ=/^[\uDC00-\uDFFF]$/,JJ=!BJ||HJ((function(){var e=PJ("Symbol")();return"[null]"!=VJ([e])||"{}"!=VJ({a:e})||"{}"!=VJ(Object(e))})),e0=HJ((function(){return'"\\udf06\\ud834"'!==VJ("\udf06\ud834")||'"\\udead"'!==VJ("\udead")})),t0=function(e,t){var n=LJ(arguments),r=UJ(t);if(CJ(r)||void 0!==e&&!OJ(e))return n[1]=function(e,t){if(CJ(r)&&(t=XJ(r,this,NJ(e),t)),!OJ(t))return t},IJ(VJ,null,n)},n0=function(e,t,n){var r=KJ(n,t-1),i=KJ(n,t+1);return jJ($J,e)&&!jJ(YJ,i)||jJ(YJ,e)&&!jJ($J,r)?"\\u"+qJ(QJ(e,0),16):e};VJ&&FJ({target:"JSON",stat:!0,arity:3,forced:JJ||e0},{stringify:function(e,t,n){var r=LJ(arguments),i=IJ(JJ?t0:VJ,null,r);return e0&&"string"==typeof i?WJ(i,ZJ,n0):i}});var r0=r$,i0=ZK;DW({target:"Object",stat:!0,forced:!GK||aj((function(){r0.f(1)}))},{getOwnPropertySymbols:function(e){var t=r0.f;return t?t(i0(e)):[]}}),m$("asyncIterator"),m$("hasInstance"),m$("isConcatSpreadable"),m$("iterator"),m$("match"),m$("matchAll"),m$("replace"),m$("search"),m$("species"),m$("split");var o0=b$;m$("toPrimitive"),o0();var a0=sK,s0=A$;m$("toStringTag"),s0(a0("Symbol"),"Symbol"),m$("unscopables"),A$(oj.JSON,"JSON",!0);var c0,l0,u0,d0=nK.Symbol,h0={},p0=kj,f0=JK,g0=Function.prototype,v0=p0&&WG,m0=f0(g0,"name"),y0={EXISTS:m0,PROPER:m0&&"something"===function(){}.name,CONFIGURABLE:m0&&(!p0||p0&&v0(g0,"name").configurable)},_0=!aj((function(){function e(){}return e.prototype.constructor=null,yM(new e)!==e.prototype})),G0=JK,R0=zj,b0=ZK,T0=_0,w0=MZ("IE_PROTO"),S0=Object,M0=S0.prototype,E0=T0?yM:function(e){var t=b0(e);if(G0(t,w0))return t[w0];var n=t.constructor;return R0(n)&&t instanceof n?n.prototype:t instanceof S0?M0:null},z0=aj,D0=zj,k0=tK,A0=LZ,F0=E0,P0=o$,I0=pQ("iterator"),X0=!1;gM([])&&("next"in(u0=gM(YV=[]).call(YV))?(l0=F0(F0(u0)))!==Object.prototype&&(c0=l0):X0=!0);var x0=!k0(c0)||z0((function(){var e={};return c0[I0].call(e)!==e}));D0((c0=x0?{}:A0(c0))[I0])||P0(c0,I0,(function(){return this}));var H0={IteratorPrototype:c0,BUGGY_SAFARI_ITERATORS:X0},C0=H0.IteratorPrototype,O0=LZ,L0=Lj,U0=A$,B0=h0,N0=function(){return this},V0=function(e,t,n,r){var i=t+" Iterator";return e.prototype=O0(C0,{next:L0(+!r,n)}),U0(e,i,!1,!0),B0[i]=N0,e},j0=mj,K0=FK,Q0=zj,W0=String,q0=TypeError,Z0=function(e,t,n){try{return j0(K0(WG(e,t)[n]))}catch(r){}},$0=rW,Y0=function(e){if("object"==Wd(e)||Q0(e))return e;throw q0("Can't set "+W0(e)+" as a prototype")},J0=mM||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Z0(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return $0(n),Y0(r),t?e(n,r):n.__proto__=r,n}}():void 0),e1=DW,t1=Pj,n1=V0,r1=E0,i1=A$,o1=o$,a1=h0,s1=y0.PROPER,c1=H0.BUGGY_SAFARI_ITERATORS,l1=pQ("iterator"),u1="keys",d1="values",h1="entries",p1=function(){return this},f1=function(e,t,n,r,i,o,a){n1(n,t,r);var s,c,l,u=function(e){if(e===i&&g)return g;if(!c1&&e in p)return p[e];switch(e){case u1:case d1:case h1:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[l1]||p["@@iterator"]||i&&p[i],g=!c1&&f||u(i),v="Array"==t&&YN(p)||f;if(v&&(s=r1(v.call(new e)))!==Object.prototype&&s.next&&(i1(s,d,!0,!0),a1[d]=p1),s1&&i==d1&&f&&f.name!==d1&&(h=!0,g=function(){return t1(f,this)}),i)if(c={values:u(d1),keys:o?g:u(u1),entries:u(h1)},a)for(l in c)(c1||h||!(l in p))&&o1(p,l,c[l]);else e1({target:t,proto:!0,forced:c1||h},c);return a&&p[l1]!==g&&o1(p,l1,g,{name:i}),a1[t]=g,c},g1=function(e,t){return{value:e,done:t}},v1=Yj,m1=h0,y1=Q$;YQ.f;var _1=f1,G1=g1,R1="Array Iterator",b1=y1.set,T1=y1.getterFor(R1);_1(Array,"Array",(function(e,t){b1(this,{type:R1,target:v1(e),index:0,kind:t})}),(function(){var e=T1(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,G1(void 0,!0)):G1("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),m1.Arguments=m1.Array;var w1={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},S1=oj,M1=tq,E1=mW,z1=h0,D1=pQ("toStringTag");for(var k1 in w1){var A1=S1[k1],F1=A1&&A1.prototype;F1&&M1(F1)!==D1&&E1(F1,D1,k1),z1[k1]=z1.Array}var P1=d0,I1=pQ,X1=YQ.f,x1=I1("metadata"),H1=Function.prototype;void 0===H1[x1]&&X1(H1,x1,{value:null}),m$("dispose"),m$("metadata");var C1=P1;m$("asyncDispose");var O1=mj,L1=sK("Symbol"),U1=L1.keyFor,B1=O1(L1.prototype.valueOf),N1=L1.isRegisteredSymbol||function(e){try{return void 0!==U1(B1(e))}catch(t){return!1}};DW({target:"Symbol",stat:!0},{isRegisteredSymbol:N1});for(var V1=QK,j1=sK,K1=mj,Q1=MK,W1=pQ,q1=j1("Symbol"),Z1=q1.isWellKnownSymbol,$1=j1("Object","getOwnPropertyNames"),Y1=K1(q1.prototype.valueOf),J1=V1("wks"),e2=0,t2=$1(q1),n2=t2.length;e2<n2;e2++)try{var r2=t2[e2];Q1(q1[r2])&&W1(r2)}catch(VO){}var i2=function(e){if(Z1&&Z1(e))return!0;try{for(var t=Y1(e),n=0,r=$1(J1),i=r.length;n<i;n++)if(J1[r[n]]==t)return!0}catch(o){}return!1};DW({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i2}),m$("matcher"),m$("observable"),DW({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:N1}),DW({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i2}),m$("metadataKey"),m$("patternMatch"),m$("replaceAll");var o2=rj(C1),a2=mj,s2=xW,c2=Qq,l2=qj,u2=a2("".charAt),d2=a2("".charCodeAt),h2=a2(mG("")),p2=function(e){return function(t,n){var r,i,o=c2(l2(t)),a=s2(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=d2(o,a))<55296||r>56319||a+1===s||(i=d2(o,a+1))<56320||i>57343?e?u2(o,a):r:e?h2(o,a,a+2):i-56320+(r-55296<<10)+65536}},f2={codeAt:p2(!1),charAt:p2(!0)},g2=f2.charAt,v2=Qq,m2=Q$,y2=f1,_2=g1,G2="String Iterator",R2=m2.set,b2=m2.getterFor(G2);y2(String,"String",(function(e){R2(this,{type:G2,string:v2(e),index:0})}),(function(){var e,t=b2(this),n=t.string,r=t.index;return r>=n.length?_2(void 0,!0):(e=g2(n,r),t.index+=e.length,_2(e,!1))}));var T2=rj(c$.f("iterator"));function w2(e){return(w2="function"==typeof o2&&"symbol"==Wd(T2)?function(e){return Wd(e)}:function(e){return e&&"function"==typeof o2&&e.constructor===o2&&e!==o2.prototype?"symbol":Wd(e)})(e)}var S2=ZK,M2=gZ;DW({target:"Object",stat:!0,forced:aj((function(){M2(1)}))},{keys:function(e){return M2(S2(e))}});var E2=gM(nK.Object),z2=rj(E2),D2=rj(nK.Object.getOwnPropertySymbols),k2=DW,A2=QG(tY);k2({target:"Array",proto:!0,forced:!kq("filter")},{filter:function(e){return A2(this,e,arguments.length>1?arguments[1]:void 0)}});var F2=nK,P2=function(e){return F2[e+"Prototype"]},I2=QG(P2("Array")),X2=cK,x2=I2,H2=Array.prototype,C2=function(e){var t=QG(e);return e===H2||X2(H2,e)&&t===QG(H2)?x2:t},O2=C2,L2=rj(O2),U2={exports:{}},B2=DW,N2=aj,V2=Yj,j2=Dj.f,K2=kj;B2({target:"Object",stat:!0,forced:!K2||N2((function(){j2(1)})),sham:!K2},{getOwnPropertyDescriptor:function(e,t){return j2(V2(e),t)}});var Q2=nK.Object,W2=U2.exports=function(e,t){return Q2.getOwnPropertyDescriptor(e,t)};Q2.getOwnPropertyDescriptor.sham&&(W2.sham=!0);var q2=rj(U2.exports),Z2=AW,$2=TypeError,Y2=WG,J2=kj&&!function(){if(void 0!==this)return!0;try{VG([],"length",{writable:!1}).length=1}catch(VO){return VO instanceof TypeError}}(),e5=J2?function(e,t){if(Z2(e)&&!Y2(e,"length").writable)throw $2("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},t5=DW,n5=ZK,r5=LW,i5=e5,o5=BW,a5=aj((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{VG([],"length",{writable:!1}).push()}catch(VO){return VO instanceof TypeError}}();t5({target:"Array",proto:!0,arity:1,forced:a5},{push:function(e){var t=n5(this),n=r5(t),r=arguments.length;o5(n+r);for(var i=0;i<r;i++)t[n]=arguments[i],n++;return i5(t,n),n}});var s5=P2("Array").push,c5=cK,l5=s5,u5=Array.prototype,d5=function(e){var t=e.push;return e===u5||c5(u5,e)&&t===u5.push?l5:t},h5=rj(d5),p5=aj,f5=function(e,t){var n=[][e];return!!n&&p5((function(){n.call(null,t||function(){return 1},1)}))},g5=qG(tY),v5=f5("forEach")?qG([]):function(e){return g5(this,e,arguments.length>1?arguments[1]:void 0)};DW({target:"Array",proto:!0,forced:qG([])!=v5},{forEach:v5});var m5=qG(P2("Array")),y5=tq,_5=JK,G5=cK,R5=m5,b5=Array.prototype,T5={DOMTokenList:!0,NodeList:!0},w5=function(e){var t=qG(e);return e===b5||G5(b5,e)&&t===qG(b5)||_5(T5,y5(e))?R5:t},S5=w5,M5=rj(S5),E5=sK,z5=UZ,D5=r$,k5=rW,A5=mj(b_([])),F5=E5("Reflect","ownKeys")||function(e){var t=z5.f(k5(e)),n=D5.f;return n?A5(t,n(e)):t},P5=F5,I5=Yj,X5=Dj,x5=KW;DW({target:"Object",stat:!0,sham:!kj},{getOwnPropertyDescriptors:function(e){for(var t,n,r=I5(e),i=X5.f,o=P5(r),a={},s=0;o.length>s;)void 0!==(n=i(r,t=o[s++]))&&x5(a,t,n);return a}});var H5=rj(nK.Object.getOwnPropertyDescriptors),C5={exports:{}},O5=DW,L5=kj,U5=Wq.f;O5({target:"Object",stat:!0,forced:$G!==U5,sham:!L5},{defineProperties:U5});var B5=nK.Object,N5=C5.exports=function(e,t){return B5.defineProperties(e,t)};B5.defineProperties.sham&&(N5.sham=!0);var V5=rj(C5.exports),j5={exports:{}},K5=DW,Q5=kj,W5=YQ.f;K5({target:"Object",stat:!0,forced:VG!==W5,sham:!Q5},{defineProperty:W5});var q5=nK.Object,Z5=j5.exports=function(e,t,n){return q5.defineProperty(e,t,n)};q5.defineProperty.sham&&(Z5.sham=!0);var $5=j5.exports,Y5=rj($5),J5=rj(c$.f("toPrimitive"));function e6(e){var t=function(e,t){if("object"!==w2(e)||null===e)return e;var n=e[J5];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==w2(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===w2(t)?t:String(t)}function t6(e,t,n){return(t=e6(t))in e?Y5(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n6(e,t){var n=z2(e);if(D2){var r=D2(e);t&&(r=L2(r).call(r,(function(t){return q2(e,t).enumerable}))),h5(n).apply(n,r)}return n}function r6(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?M5(n=n6(Object(i),!0)).call(n,(function(t){t6(e,t,i[t])})):H5?V5(e,H5(i)):M5(r=n6(Object(i))).call(r,(function(t){Y5(e,t,q2(i,t))}))}return e}DW({target:"Object",stat:!0,sham:!kj},{create:LZ});var i6=nK.Object,o6=function(e,t){return i6.create(e,t)},a6=rj(o6),s6=ZK,c6=E0,l6=_0;DW({target:"Object",stat:!0,forced:aj((function(){c6(1)})),sham:!l6},{getPrototypeOf:function(e){return c6(s6(e))}});var u6=rj(nK.Object.getPrototypeOf);DW({target:"Object",stat:!0},{setPrototypeOf:J0});var d6=rj(nK.Object.setPrototypeOf),h6=JK,p6=F5,f6=Dj,g6=YQ,v6=tK,m6=mW,y6=Error,_6=mj("".replace),G6=String(y6("zxcasd").stack),R6=/\n\s*at [^:]*:[^\n]*/,b6=R6.test(G6),T6=Lj,w6=!aj((function(){var e=Error("a");return!("stack"in e)||(VG(e,"stack",T6(1,7)),7!==e.stack)})),S6=mW,M6=function(e,t){if(b6&&"string"==typeof e&&!y6.prepareStackTrace)for(;t--;)e=_6(e,R6,"");return e},E6=w6,z6=Error.captureStackTrace,D6=h0,k6=pQ("iterator"),A6=Array.prototype,F6=function(e){return void 0!==e&&(D6.Array===e||A6[k6]===e)},P6=tq,I6=XK,X6=Kj,x6=h0,H6=pQ("iterator"),C6=function(e){if(!X6(e))return I6(e,H6)||I6(e,"@@iterator")||x6[P6(e)]},O6=Pj,L6=FK,U6=rW,B6=zK,N6=C6,V6=TypeError,j6=function(e,t){var n=arguments.length<2?N6(e):t;if(L6(n))return U6(O6(n,e));throw V6(B6(e)+" is not iterable")},K6=Pj,Q6=rW,W6=XK,q6=function(e,t,n){var r,i;Q6(e);try{if(!(r=W6(e,"return"))){if("throw"===t)throw n;return n}r=K6(r,e)}catch(o){i=!0,r=o}if("throw"===t)throw n;if(i)throw r;return Q6(r),n},Z6=$Q,$6=Pj,Y6=rW,J6=zK,e4=F6,t4=LW,n4=cK,r4=j6,i4=C6,o4=q6,a4=TypeError,s4=function(e,t){this.stopped=e,this.result=t},c4=s4.prototype,l4=function(e,t,n){var r,i,o,a,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),g=Z6(t,u),v=function(e){return r&&o4(r,"normal",e),new s4(!0,e)},m=function(e){return d?(Y6(e),f?g(e[0],e[1],v):g(e[0],e[1])):f?g(e,v):g(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(i=i4(e)))throw a4(J6(e)+" is not iterable");if(e4(i)){for(o=0,a=t4(e);a>o;o++)if((s=m(e[o]))&&n4(c4,s))return s;return new s4(!1)}r=r4(e,i)}for(c=h?e.next:r.next;!(l=$6(c,r)).done;){try{s=m(l.value)}catch(y){o4(r,"throw",y)}if("object"==Wd(s)&&s&&n4(c4,s))return s}return new s4(!1)},u4=Qq,d4=DW,h4=cK,p4=E0,f4=J0,g4=function(e,t,n){for(var r=p6(t),i=g6.f,o=f6.f,a=0;a<r.length;a++){var s=r[a];h6(e,s)||n&&h6(n,s)||i(e,s,o(t,s))}},v4=LZ,m4=mW,y4=Lj,_4=function(e,t){v6(t)&&"cause"in t&&m6(e,"cause",t.cause)},G4=function(e,t,n,r){E6&&(z6?z6(e,t):S6(e,"stack",M6(n,r)))},R4=l4,b4=function(e,t){return void 0===e?arguments.length<2?"":t:u4(e)},T4=pQ("toStringTag"),w4=Error,S4=[].push,M4=function e(t,n){var r,i=h4(E4,this);f4?r=f4(w4(),i?p4(this):E4):(r=i?this:v4(E4),m4(r,T4,"Error")),void 0!==n&&m4(r,"message",b4(n)),G4(r,e,r.stack,1),arguments.length>2&&_4(r,arguments[2]);var o=[];return R4(t,S4,{that:o}),m4(r,"errors",o),r};f4?f4(M4,w4):g4(M4,w4,{name:!0});var E4=M4.prototype=v4(w4.prototype,{constructor:y4(1,M4),message:y4(1,""),name:y4(1,"AggregateError")});d4({global:!0,constructor:!0,arity:2},{AggregateError:M4});var z4,D4,k4,A4,F4="undefined"!=typeof process&&"process"==Rj(process),P4=sK,I4=s$,X4=kj,x4=pQ("species"),H4=function(e){var t=P4(e);X4&&t&&!t[x4]&&I4(t,x4,{configurable:!0,get:function(){return this}})},C4=cK,O4=TypeError,L4=function(e,t){if(C4(t,e))return e;throw O4("Incorrect invocation")},U4=_q,B4=zK,N4=TypeError,V4=function(e){if(U4(e))return e;throw N4(B4(e)+" is not a constructor")},j4=rW,K4=V4,Q4=Kj,W4=pQ("species"),q4=function(e,t){var n,r=j4(e).constructor;return void 0===r||Q4(n=j4(r)[W4])?t:K4(n)},Z4=TypeError,$4=function(e,t){if(e<t)throw Z4("Not enough arguments");return e},Y4=/(?:ipad|iphone|ipod).*applewebkit/i.test(lK),J4=oj,e3=hj,t3=$Q,n3=zj,r3=JK,i3=aj,o3=TZ,a3=MJ,s3=EQ,c3=$4,l3=Y4,u3=F4,d3=J4.setImmediate,h3=J4.clearImmediate,p3=J4.process,f3=J4.Dispatch,g3=J4.Function,v3=J4.MessageChannel,m3=J4.String,y3=0,_3={},G3="onreadystatechange";i3((function(){z4=J4.location}));var R3=function(e){if(r3(_3,e)){var t=_3[e];delete _3[e],t()}},b3=function(e){return function(){R3(e)}},T3=function(e){R3(e.data)},w3=function(e){J4.postMessage(m3(e),z4.protocol+"//"+z4.host)};d3&&h3||(d3=function(e){c3(arguments.length,1);var t=n3(e)?e:g3(e),n=a3(arguments,1);return _3[++y3]=function(){e3(t,void 0,n)},D4(y3),y3},h3=function(e){delete _3[e]},u3?D4=function(e){p3.nextTick(b3(e))}:f3&&f3.now?D4=function(e){f3.now(b3(e))}:v3&&!l3?(A4=(k4=new v3).port2,k4.port1.onmessage=T3,D4=t3(A4.postMessage,A4)):J4.addEventListener&&n3(J4.postMessage)&&!J4.importScripts&&z4&&"file:"!==z4.protocol&&!i3(w3)?(D4=w3,J4.addEventListener("message",T3,!1)):D4=G3 in s3("script")?function(e){o3.appendChild(s3("script"))[G3]=function(){o3.removeChild(this),R3(e)}}:function(e){vG(b3(e),0)});var S3={set:d3,clear:h3},M3=function(){this.head=null,this.tail=null};M3.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.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 E3,z3,D3,k3,A3,F3=M3,P3=/ipad|iphone|ipod/i.test(lK)&&"undefined"!=typeof Pebble,I3=/web0s(?!.*chrome)/i.test(lK),X3=oj,x3=$Q,H3=Dj.f,C3=S3.set,O3=F3,L3=Y4,U3=P3,B3=I3,N3=F4,V3=X3.MutationObserver||X3.WebKitMutationObserver,j3=X3.document,K3=X3.process,Q3=X3.Promise,W3=H3(X3,"queueMicrotask"),q3=W3&&W3.value;if(!q3){var Z3=new O3,$3=function(){var e,t;for(N3&&(e=K3.domain)&&e.exit();t=Z3.get();)try{t()}catch(n){throw Z3.head&&E3(),n}e&&e.enter()};L3||N3||B3||!V3||!j3?!U3&&Q3&&Q3.resolve?((k3=Q3.resolve(void 0)).constructor=Q3,A3=x3(k3.then,k3),E3=function(){A3($3)}):N3?E3=function(){K3.nextTick($3)}:(C3=x3(C3,X3),E3=function(){C3($3)}):(z3=!0,D3=j3.createTextNode(""),new V3($3).observe(D3,{characterData:!0}),E3=function(){D3.data=z3=!z3}),q3=function(e){Z3.head||E3(),Z3.add(e)}}var Y3=q3,J3=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},e7=oj.Promise,t7="object"==("undefined"==typeof Deno?"undefined":Wd(Deno))&&Deno&&"object"==Wd(Deno.version),n7=!t7&&!F4&&"object"==("undefined"==typeof window?"undefined":Wd(window))&&"object"==("undefined"==typeof document?"undefined":Wd(document)),r7=oj,i7=e7,o7=zj,a7=QQ,s7=oq,c7=pQ,l7=n7,u7=t7,d7=vK,h7=i7&&i7.prototype,p7=c7("species"),f7=!1,g7=o7(r7.PromiseRejectionEvent),v7=a7("Promise",(function(){var e=s7(i7),t=e!==String(i7);if(!t&&66===d7)return!0;if(!h7.catch||!h7.finally)return!0;if(!d7||d7<51||!/native code/.test(e)){var n=new i7((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p7]=r,!(f7=n.then((function(){}))instanceof r))return!0}return!t&&(l7||u7)&&!g7})),m7={CONSTRUCTOR:v7,REJECTION_EVENT:g7,SUBCLASSING:f7},y7={},_7=FK,G7=TypeError,R7=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw G7("Bad Promise constructor");t=e,n=r})),this.resolve=_7(t),this.reject=_7(n)};y7.f=function(e){return new R7(e)};var b7,T7,w7=DW,S7=F4,M7=oj,E7=Pj,z7=o$,D7=A$,k7=H4,A7=FK,F7=zj,P7=tK,I7=L4,X7=q4,x7=S3.set,H7=Y3,C7=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(n){}},O7=J3,L7=F3,U7=Q$,B7=e7,N7=y7,V7="Promise",j7=m7.CONSTRUCTOR,K7=m7.REJECTION_EVENT,Q7=U7.getterFor(V7),W7=U7.set,q7=B7&&B7.prototype,Z7=B7,$7=q7,Y7=M7.TypeError,J7=M7.document,e8=M7.process,t8=N7.f,n8=t8,r8=!!(J7&&J7.createEvent&&M7.dispatchEvent),i8="unhandledrejection",o8=function(e){var t;return!(!P7(e)||!F7(t=e.then))&&t},a8=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&d8(t),t.rejection=1),!0===s?n=o:(u&&u.enter(),n=s(o),u&&(u.exit(),i=!0)),n===e.promise?l(Y7("Promise-chain cycle")):(r=o8(n))?E7(r,n,c,l):c(n)):l(o)}catch(d){u&&!i&&u.exit(),l(d)}},s8=function(e,t){e.notified||(e.notified=!0,H7((function(){for(var n,r=e.reactions;n=r.get();)a8(n,e);e.notified=!1,t&&!e.rejection&&l8(e)})))},c8=function(e,t,n){var r,i;r8?((r=J7.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),M7.dispatchEvent(r)):r={promise:t,reason:n},!K7&&(i=M7["on"+e])?i(r):e===i8&&C7("Unhandled promise rejection",n)},l8=function(e){E7(x7,M7,(function(){var t,n=e.facade,r=e.value;if(u8(e)&&(t=O7((function(){S7?e8.emit("unhandledRejection",r,n):c8(i8,n,r)})),e.rejection=S7||u8(e)?2:1,t.error))throw t.value}))},u8=function(e){return 1!==e.rejection&&!e.parent},d8=function(e){E7(x7,M7,(function(){var t=e.facade;S7?e8.emit("rejectionHandled",t):c8("rejectionhandled",t,e.value)}))},h8=function(e,t,n){return function(r){e(t,r,n)}},p8=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,s8(e,!0))},f8=function e(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw Y7("Promise can't be resolved itself");var i=o8(n);i?H7((function(){var r={done:!1};try{E7(i,n,h8(e,r,t),h8(p8,r,t))}catch(o){p8(r,o,t)}})):(t.value=n,t.state=1,s8(t,!1))}catch(o){p8({done:!1},o,t)}}};j7&&($7=(Z7=function(e){I7(this,$7),A7(e),E7(b7,this);var t=Q7(this);try{e(h8(f8,t),h8(p8,t))}catch(n){p8(t,n)}}).prototype,(b7=function(e){W7(this,{type:V7,done:!1,notified:!1,parent:!1,reactions:new L7,rejection:!1,state:0,value:void 0})}).prototype=z7($7,"then",(function(e,t){var n=Q7(this),r=t8(X7(this,Z7));return n.parent=!0,r.ok=!F7(e)||e,r.fail=F7(t)&&t,r.domain=S7?e8.domain:void 0,0==n.state?n.reactions.add(r):H7((function(){a8(r,n)})),r.promise})),T7=function(){var e=new b7,t=Q7(e);this.promise=e,this.resolve=h8(f8,t),this.reject=h8(p8,t)},N7.f=t8=function(e){return e===Z7||undefined===e?new T7(e):n8(e)}),w7({global:!0,constructor:!0,wrap:!0,forced:j7},{Promise:Z7}),D7(Z7,V7,!1,!0),k7(V7);var g8=pQ("iterator"),v8=!1;try{var m8=0,y8={next:function(){return{done:!!m8++}},return:function(){v8=!0}};y8[g8]=function(){return this},GM(y8,(function(){throw 2}))}catch(VO){}var _8=function(e,t){if(!t&&!v8)return!1;var n=!1;try{var r={};r[g8]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},G8=e7,R8=m7.CONSTRUCTOR||!_8((function(e){G8.all(e).then(void 0,(function(){}))})),b8=Pj,T8=FK,w8=y7,S8=J3,M8=l4;DW({target:"Promise",stat:!0,forced:R8},{all:function(e){var t=this,n=w8.f(t),r=n.resolve,i=n.reject,o=S8((function(){var n=T8(t.resolve),o=[],a=0,s=1;M8(e,(function(e){var c=a++,l=!1;s++,b8(n,t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise}});var E8=DW,z8=m7.CONSTRUCTOR;e7&&e7.prototype,E8({target:"Promise",proto:!0,forced:z8,real:!0},{catch:function(e){return this.then(void 0,e)}});var D8=Pj,k8=FK,A8=y7,F8=J3,P8=l4;DW({target:"Promise",stat:!0,forced:R8},{race:function(e){var t=this,n=A8.f(t),r=n.reject,i=F8((function(){var i=k8(t.resolve);P8(e,(function(e){D8(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var I8=Pj,X8=y7;DW({target:"Promise",stat:!0,forced:m7.CONSTRUCTOR},{reject:function(e){var t=X8.f(this);return I8(t.reject,void 0,e),t.promise}});var x8=rW,H8=tK,C8=y7,O8=function(e,t){if(x8(e),H8(t)&&t.constructor===e)return t;var n=C8.f(e);return(0,n.resolve)(t),n.promise},L8=DW,U8=e7,B8=m7.CONSTRUCTOR,N8=O8,V8=sK("Promise"),j8=!B8;L8({target:"Promise",stat:!0,forced:true},{resolve:function(e){return N8(j8&&this===V8?U8:this,e)}});var K8=Pj,Q8=FK,W8=y7,q8=J3,Z8=l4;DW({target:"Promise",stat:!0,forced:R8},{allSettled:function(e){var t=this,n=W8.f(t),r=n.resolve,i=n.reject,o=q8((function(){var n=Q8(t.resolve),i=[],o=0,a=1;Z8(e,(function(e){var s=o++,c=!1;a++,K8(n,t,e).then((function(e){c||(c=!0,i[s]={status:"fulfilled",value:e},--a||r(i))}),(function(e){c||(c=!0,i[s]={status:"rejected",reason:e},--a||r(i))}))})),--a||r(i)}));return o.error&&i(o.value),n.promise}});var $8=Pj,Y8=FK,J8=sK,e9=y7,t9=J3,n9=l4,r9="No one promise resolved";DW({target:"Promise",stat:!0,forced:R8},{any:function(e){var t=this,n=J8("AggregateError"),r=e9.f(t),i=r.resolve,o=r.reject,a=t9((function(){var r=Y8(t.resolve),a=[],s=0,c=1,l=!1;n9(e,(function(e){var u=s++,d=!1;c++,$8(r,t,e).then((function(e){d||l||(l=!0,i(e))}),(function(e){d||l||(d=!0,a[u]=e,--c||o(new n(a,r9)))}))})),--c||o(new n(a,r9))}));return a.error&&o(a.value),r.promise}});var i9=DW,o9=e7,a9=aj,s9=sK,c9=zj,l9=q4,u9=O8,d9=o9&&o9.prototype;i9({target:"Promise",proto:!0,real:!0,forced:!!o9&&a9((function(){d9.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l9(this,s9("Promise")),n=c9(e);return this.then(n?function(n){return u9(t,e()).then((function(){return n}))}:e,n?function(n){return u9(t,e()).then((function(){throw n}))}:e)}});var h9=nK.Promise,p9=y7;DW({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var e=p9.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var f9=y7,g9=J3;DW({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=f9.f(this),n=g9(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}});var v9=h9,m9=rj(v9),y9=DW,_9=AW,G9=mj(Fk([])),R9=[1,2];y9({target:"Array",proto:!0,forced:String(R9)===String(Fk(R9).call(R9))},{reverse:function(){return _9(this)&&(this.length=this.length),G9(this)}});var b9=Fk(P2("Array")),T9=cK,w9=b9,S9=Array.prototype,M9=function(e){var t=Fk(e);return e===S9||T9(S9,e)&&t===Fk(S9)?w9:t},E9=M9,z9=rj(E9),D9=DW,k9=AW,A9=_q,F9=tK,P9=Yq,I9=LW,X9=Yj,x9=KW,H9=pQ,C9=MJ,O9=kq("slice"),L9=H9("species"),U9=Array,B9=Math.max;D9({target:"Array",proto:!0,forced:!O9},{slice:function(e,t){var n,r,i,o=X9(this),a=I9(o),s=P9(e,a),c=P9(void 0===t?a:t,a);if(k9(o)&&(n=o.constructor,(A9(n)&&(n===U9||k9(n.prototype))||F9(n)&&null===(n=n[L9]))&&(n=void 0),n===U9||void 0===n))return C9(o,s,c);for(r=new(void 0===n?U9:n)(B9(c-s,0)),i=0;s<c;s++,i++)s in o&&x9(r,i,o[s]);return r.length=i,r}});var N9=mG(P2("Array")),V9=cK,j9=N9,K9=Array.prototype,Q9=function(e){var t=mG(e);return e===K9||V9(K9,e)&&t===mG(K9)?j9:t},W9=Q9,q9=rj(W9);function Z9(){Z9=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Y5||function(e,t,n){e[t]=n.value},i="function"==typeof o2?o2:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Y5(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=a6(o.prototype),s=new w(i||[]);return r(a,"_invoke",{value:G(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var d={};function h(){}function p(){}function f(){}var g={};c(g,o,(function(){return this}));var v=u6&&u6(u6(S([])));v&&v!==t&&n.call(v,o)&&(g=v);var m=f.prototype=h.prototype=a6(g);function y(e){var t;M5(t=["next","throw","return"]).call(t,(function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function i(r,o,a,s){var c=u(e[r],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==w2(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return i("throw",e,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function G(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=R(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function R(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,R(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;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,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t,n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),h5(t=this.tryEntries).call(t,n)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],M5(e).call(e,b,this),this.reset(!0)}function S(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=f,r(m,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:p,configurable:!0}),p.displayName=c(f,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 d6?d6(e,f):(e.__proto__=f,c(e,s,"GeneratorFunction")),e.prototype=a6(m),e},e.awrap=function(e){return{__await:e}},y(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=m9);var a=new _(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(m),c(m,s,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)h5(n).call(n,r);return z9(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,w.prototype={constructor:w,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,M5(t=this.tryEntries).call(t,T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+q9(r).call(r,1))&&(this[r]=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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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,d):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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function $9(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):m9.resolve(c).then(r,i)}function Y9(e){return function(){var t=this,n=arguments;return new m9((function(r,i){var o=e.apply(t,n);function a(e){$9(o,r,i,a,s,"next",e)}function s(e){$9(o,r,i,a,s,"throw",e)}a(void 0)}))}}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Y5(e,e6(r.key),r)}}function tee(e,t,n){return t&&eee(e.prototype,t),n&&eee(e,n),Y5(e,"prototype",{writable:!1}),e}var nee=rj(v9),ree=rj(S5),iee=rj(E2),oee=nK,aee=hj;oee.JSON||(oee.JSON={stringify:PT});var see=function(e,t,n){return aee(oee.JSON.stringify,null,arguments)},cee=rj(see),lee=kj,uee=Pj,dee=aj,hee=gZ,pee=r$,fee=Ij,gee=ZK,vee=jj,mee=DT,yee=VG,_ee=mj(b_([])),Gee=!mee||dee((function(){var e;if(lee&&1!==mee({b:1},mee(yee({},"a",{enumerable:!0,get:function(){yee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},r=YG(),i="abcdefghijklmnopqrst";return t[r]=7,qG(e=i.split("")).call(e,(function(e){n[e]=e})),7!=mee({},t)[r]||hee(mee({},n)).join("")!=i}))?function(e,t){for(var n=gee(e),r=arguments.length,i=1,o=pee.f,a=fee.f;r>i;)for(var s,c=vee(arguments[i++]),l=o?_ee(hee(c),o(c)):hee(c),u=l.length,d=0;u>d;)s=l[d++],lee&&!uee(a,c,s)||(n[s]=c[s]);return n}:mee;DW({target:"Object",stat:!0,arity:2,forced:DT!==Gee},{assign:Gee});var Ree=rj(nK.Object.assign),bee=b_(P2("Array")),Tee=cK,wee=bee,See=Array.prototype,Mee=function(e){var t=b_(e);return e===See||Tee(See,e)&&t===b_(See)?wee:t},Eee=rj(Mee),zee=rj(O2),Dee=DW,kee=zS(tY);Dee({target:"Array",proto:!0,forced:!kq("map")},{map:function(e){return kee(this,e,arguments.length>1?arguments[1]:void 0)}});var Aee=zS(P2("Array")),Fee=cK,Pee=Aee,Iee=Array.prototype,Xee=function(e){var t=zS(e);return e===Iee||Fee(Iee,e)&&t===zS(Iee)?Pee:t},xee=rj(Xee),Hee=DW,Cee=bw(rZ);Hee({target:"Array",proto:!0,forced:aj((function(){var e;return!bw(e=Array(1)).call(e)}))},{includes:function(e){return Cee(this,e,arguments.length>1?arguments[1]:void 0)}});var Oee=bw(P2("Array")),Lee=tK,Uee=Rj,Bee=pQ("match"),Nee=function(e){var t;return Lee(e)&&(void 0!==(t=e[Bee])?!!t:"RegExp"==Uee(e))},Vee=TypeError,jee=pQ("match"),Kee=DW,Qee=function(e){if(Nee(e))throw Vee("The method doesn't accept regular expressions");return e},Wee=qj,qee=Qq,Zee=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[jee]=!1,"/./"[e](t)}catch(r){}}return!1},$ee=mj(hR(""));Kee({target:"String",proto:!0,forced:!Zee("includes")},{includes:function(e){return!!~$ee(qee(Wee(this)),qee(Qee(e)),arguments.length>1?arguments[1]:void 0)}});var Yee=bw(P2("String")),Jee=cK,ete=Oee,tte=Yee,nte=Array.prototype,rte=String.prototype,ite=function(e){var t=bw(e);return e===nte||Jee(nte,e)&&t===bw(nte)?ete:"string"==typeof e||e===rte||Jee(rte,e)&&t===bw(rte)?tte:t},ote=rj(ite);function ate(e){return function(t){var n;return null==t?void 0:ote(n=t.split("?")[0].toLowerCase()).call(n,e)}}var ste=ate(".m3u8"),cte=ate(".mp4"),lte=ate(".flv"),ute=ate(".sdp"),dte=ate(".mpd");function hte(e,t){try{"object"===("undefined"==typeof window?"undefined":w2(window))&&window.localStorage&&window.localStorage.setItem(e,t)}catch(n){}}function pte(e){try{return"object"===("undefined"==typeof window?"undefined":w2(window))&&window.localStorage?window.localStorage.getItem(e):null}catch(t){return null}}function fte(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}function gte(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[fte(n)]=e[n]);return t}oV({__proto__:null,camelToSnake:fte,convertToSnakeCase:gte,getLocalStorage:pte,getStreamType:function(e){return ste(e)?"hls":lte(e)?"flv":ute(e)?"rtm":cte(e)?"mp4":dte(e)?"dash":"unknown"},isDash:dte,isFlv:lte,isHls:ste,isMp4:cte,isRtm:ute,removeLocalStorage:function(e){try{return"object"===("undefined"==typeof window?"undefined":w2(window))&&window.localStorage?window.localStorage.removeItem(e):null}catch(t){return null}},setLocalStorage:hte});var vte=DW,mte=Date,yte=mj(mte.prototype.getTime);vte({target:"Date",stat:!0},{now:function(){return yte(new mte)}});var _te=rj(nK.Date.now),Gte=function(e){return e.VOD="VOD",e.LIVE="LIVE",e}(Gte||{}),Rte=function(e){return e.CN="cn",e.SG="sg",e.US="us",e}(Rte||{}),bte=function(e){return e.MP4="mp4",e.DASH="dash",e}(bte||{}),Tte=function(e){return e.h265="h265",e.adaptRange="adaptRange",e.preload="preload",e}(Tte||{}),wte={info:3,warn:2,error:1},Ste=function(){function e(t,n){var r=this;J9(this,e),t6(this,"logger",void 0),t6(this,"level",void 0),t6(this,"customLogger",void 0),this.level=null==n?void 0:n.level,this.customLogger=null==n?void 0:n.logger,this.logger=function(e,n){var i,o,a,s;try{s="1.1.0-rc.0"}catch(T){s="--"}for(var c,l,u,d,h,p,f,g,v,m,y,_=Eee(i=Eee(o="[".concat(t,"][")).call(o,s,"][")).call(i,n,"]"),G=arguments.length,R=new Array(G>2?G-2:0),b=2;b<G;b++)R[b-2]=arguments[b];if(r.customLogger)return"info"===e?r.customLogger.info?(d=r.customLogger).info.apply(d,Eee(h=[_]).call(h,R)):null===(p=(f=r.customLogger).log)||void 0===p?void 0:p.call.apply(p,Eee(g=[f,_]).call(g,R)):null===(c=(l=r.customLogger)[e])||void 0===c?void 0:c.call.apply(c,Eee(u=[l,_]).call(u,R));((null!==(a=r.level)&&void 0!==a?a:1)>=wte[e]||"undefined"!=typeof window&&r._checkOpenLog())&&(null===(v=window.console)||void 0===v||null===(m=v[e])||void 0===m||m.call.apply(m,Eee(y=[v,_]).call(y,R)))}}return tee(e,[{key:"update",value:function(e){var t=e||{},n=t.logger,r=t.level;this.updateLevel(r),this.updateLogger(n)}},{key:"info",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Eee(t=["info",e]).call(t,r))}},{key:"warn",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Eee(t=["warn",e]).call(t,r))}},{key:"error",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Eee(t=["error",e]).call(t,r))}},{key:"updateLevel",value:function(e){void 0!==w2(e)&&(this.level=e)}},{key:"updateLogger",value:function(e){e&&(this.customLogger=e)}},{key:"_checkOpenLog",value:function(){try{return!!window.localStorage.getItem("VESTRATEGY_LOG")}catch(e){return!1}}}]),e}(),Mte="VESTRATEGY_DEVICE_INFO",Ete="VESTRATEGY_DEVICE_INFO_LIVE",zte="STRATEGY_SERVICE_CONFIG",Dte="STRATEGY_SERVICE_CONFIG_LIVE",kte=new Ste("VeStrategy"),Ate=function(){function e(t,n){J9(this,e),t6(this,"initStrategyConfig",void 0),t6(this,"serviceStrategyConfigLoader",void 0),t6(this,"serviceStrategyConfig",void 0),t6(this,"appConfig",void 0),t6(this,"videoType",void 0),this.videoType=t.type||Gte.VOD,this.initStrategyConfig=t.strategies,this.appConfig=t,this.serviceStrategyConfigLoader=n,kte.update(t.log)}var t;return tee(e,[{key:"getInitStrategyConfig",value:function(){return this.initStrategyConfig}},{key:"getServiceStrategyConfig",value:function(){if(this.serviceStrategyConfig)return this.serviceStrategyConfig;try{var e=pte(Gte.LIVE===this.videoType?Dte:zte);e&&(this.serviceStrategyConfig=JSON.parse(e))}catch(t){}return this.serviceStrategyConfig}},{key:"fetchStrategyConfig",value:(t=Y9(Z9().mark((function e(){var t;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.needFetchStrategyConfig()){e.next=3;break}return kte.info("UseLocalStrategyConfig"),e.abrupt("return");case 3:if(e.prev=3,!this.serviceStrategyConfigLoader){e.next=8;break}return e.next=7,this.serviceStrategyConfigLoader.fetch();case 7:t=e.sent;case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),kte.warn("FetchStrategyConfigError",cee({message:null===e.t0||void 0===e.t0?void 0:e.t0.message,name:null===e.t0||void 0===e.t0?void 0:e.t0.name}));case 13:hte(Gte.LIVE===this.videoType?Dte:zte,cee(t)),kte.info("ServiceStrategyConfig",t),this.serviceStrategyConfig=t||void 0;case 16:case"end":return e.stop()}}),e,this,[[3,10]])}))),function(){return t.apply(this,arguments)})},{key:"updateStrategyConfig",value:function(){}},{key:"getStrategyConfig",value:function(){}},{key:"getStrategyConfigByName",value:function(){}},{key:"getAppConfig",value:function(){return this.appConfig}},{key:"needFetchStrategyConfig",value:function(){var e;return this.getServiceStrategyConfig(),!this.serviceStrategyConfig||!this.serviceStrategyConfig.use_local_cache||!!(this.serviceStrategyConfig.local_cache_expired_at&&_te()>this.serviceStrategyConfig.local_cache_expired_at)||this.serviceStrategyConfig.cache_key!==(null===(e=this.serviceStrategyConfigLoader)||void 0===e?void 0:e.getCacheKey())}}]),e}(),Fte=mj,Pte=FK,Ite=tK,Xte=JK,xte=MJ,Hte=sj,Cte=Function,Ote=Fte(b_([])),Lte=Fte([].join),Ute={},Bte=Hte?D_(Cte):function(e){var t=Pte(this),n=t.prototype,r=xte(arguments,1),i=function n(){var i=Ote(r,xte(arguments));return this instanceof n?function(e,t,n){if(!Xte(Ute,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";Ute[t]=Cte("C,a","return new C("+Lte(r,",")+")")}return Ute[t](e,n)}(t,i.length,i):t.apply(e,i)};return Ite(n)&&(i.prototype=n),i},Nte=Bte;DW({target:"Function",proto:!0,forced:D_(Function)!==Nte},{bind:Nte});var Vte=D_(P2("Function")),jte=cK,Kte=Vte,Qte=Function.prototype,Wte=function(e){var t=D_(e);return e===Qte||jte(Qte,e)&&t===D_(Qte)?Kte:t},qte=rj(Wte);function Zte(e,t){var n;return(Zte=d6?qte(n=d6).call(n):function(e,t){return e.__proto__=t,e})(e,t)}function $te(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=a6(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Y5(e,"prototype",{writable:!1}),t&&Zte(e,t)}var Yte=DW,Jte=hj,ene=Bte,tne=V4,nne=rW,rne=tK,ine=LZ,one=aj,ane=sK("Reflect","construct"),sne=Object.prototype,cne=[].push,lne=one((function(){function e(){}return!(ane((function(){}),[],e)instanceof e)})),une=!one((function(){ane((function(){}))})),dne=lne||une;Yte({target:"Reflect",stat:!0,forced:dne,sham:dne},{construct:function(e,t){tne(e),nne(t);var n=arguments.length<3?e:tne(arguments[2]);if(une&&!lne)return ane(e,t,n);if(e==n){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 r=[null];return Jte(cne,r,t),new(Jte(ene,e,r))}var i=n.prototype,o=ine(rne(i)?i:sne),a=Jte(e,o,t);return rne(a)?a:o}});var hne=rj(nK.Reflect.construct);function pne(e){var t;return(pne=d6?qte(t=u6).call(t):function(e){return e.__proto__||u6(e)})(e)}function fne(){if("undefined"==typeof Reflect||!hne)return!1;if(hne.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(hne(Boolean,[],(function(){}))),!0}catch(VO){return!1}}function gne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(e){var t=fne();return function(){var n,r=pne(e);if(t){var i=pne(this).constructor;n=hne(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===w2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gne(e)}(this,n)}}var mne=rj($5),yne=mne,_ne=function(e,t,n){return function(e,t,n){t in e?yne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==w2(t)?t+"":t,n),n},Gne=function(){function e(t){J9(this,e),_ne(this,"options"),_ne(this,"scores"),this.options=t,this.scores=[],this._init()}return tee(e,[{key:"_init",value:function(){var e,t=this;ree(e=iee(this.options.plugins)).call(e,(function(e){var n=t.options.plugins[e];n.ignore||(n.cls&&(n.instance=new n.cls(n)),n.instance&&t.scores.push(new nee((function(t){n.instance.getScore().then((function(r){t({key:e,factor:n.factor,val:r})}))}))))}))}},{key:"getScore",value:function(){var e=this;return new nee((function(t){nee.all(e.scores).then((function(e){var n={},r=0,i=0;ree(e).call(e,(function(e){var t=e.factor;e.val.score>0&&(i+=t)})),i=0===i?1:i;for(var o=0;o<e.length;o++){var a=e[o];r+=a.factor/i*a.val.score,n[a.key]=a.val}n.score=r,t(n)})).catch(console.log)}))}}]),e}(),Rne=function(e){$te(n,Gne);var t=vne(n);function n(e){return J9(this,n),t.call(this,e)}return tee(n)}(),bne=function(e){$te(n,Gne);var t=vne(n);function n(e){return J9(this,n),t.call(this,e)}return tee(n)}(),Tne=function(e){$te(n,Gne);var t=vne(n);function n(e){return J9(this,n),t.call(this,e)}return tee(n)}(),wne=mne,Sne=function(e,t,n){return function(e,t,n){t in e?wne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==w2(t)?t+"":t,n),n},Mne=function(e){$te(n,Gne);var t=vne(n);function n(){var e;return J9(this,n),e=t.apply(this,arguments),Sne(gne(e),"_player"),e}return tee(n,[{key:"setPlayer",value:function(e,t){var n,r,i=this;e&&(this._player=e,e.on("timeupdate",(function o(){if(e.video&&e.video.getVideoPlaybackQuality){if(r){if(_te()-n>1e3)try{e.off("timeupdate",o);var a=e.video.getVideoPlaybackQuality();localStorage.setItem("player_".concat(t,"_fps"),a.totalVideoFrames-r+"")}catch(c){}}else if(i.bufferLength>1){var s=e.video.getVideoPlaybackQuality();r=s.totalVideoFrames,n=_te()}}else e.off("timeupdate",o)})))}},{key:"bufferLength",get:function(){var e=this._player.getBufferedRange();if(!this._player.video)return 0;var t=this._player.video.currentTime,n=e[1]-Math.max(e[0],t);return Math.max(0,n)}}]),n}(),Ene=DW,zne=Math.log,Dne=Math.LN2;Ene({target:"Math",stat:!0},{log2:function(e){return zne(e)/Dne}});var kne=rj(nK.Math.log2),Ane=function(){function e(){J9(this,e)}return tee(e,[{key:"getScore",value:function(){return new nee((function(e){var t=navigator.hardwareConcurrency,n=0;if(t>0){var r=kne(t);n=r<=2?3*r:r<=3?1.6*(r-2)+6:.523*(r-3)+7.6}e({score:n,origin:t})}))}}]),e}(),Fne=new Ane,Pne=Math.log,Ine=Math.LOG10E,Xne=cV||function(e){return Pne(e)*Ine};DW({target:"Math",stat:!0},{log10:Xne});var xne=rj(nK.Math.log10),Hne=mne,Cne=function(e,t,n){return function(e,t,n){t in e?Hne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==w2(t)?t+"":t,n),n},One=function(){function e(){J9(this,e),Cne(this,"_worker"),Cne(this,"_getScoreCallback",(function(){}))}return tee(e,[{key:"getScore",value:function(){return new nee((function(e){try{var t=new Image;t.src="//lf6-cdn-tos.douyinstatic.com/obj/venus/pc-theme/spring/20230411-162827.jpeg",t.onload=function(){var n=_te();"function"==typeof t.decode?t.decode().then((function(){var t=1e3/(_te()-n),r=0;if(t>0){var i=xne(t);r=i<=1?6*i:i<=2?1.6*(i-1)+6:2.4*(i-2)+7.6}e({score:r,origin:t})})):e({score:0,origin:-1})}}catch(n){e({score:0,origin:-1})}}))}}]),e}(),Lne=new One,Une=ZK,Bne=Yq,Nne=LW,Vne=function(e){for(var t=Une(this),n=Nne(t),r=arguments.length,i=Bne(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:Bne(o,n);a>i;)t[i++]=e;return t};DW({target:"Array",proto:!0},{fill:Vne});var jne=Ak(P2("Array")),Kne=cK,Qne=jne,Wne=Array.prototype,qne=function(e){var t=Ak(e);return e===Wne||Kne(Wne,e)&&t===Ak(Wne)?Qne:t},Zne=rj(qne),$ne=function(){function e(){J9(this,e)}return tee(e,[{key:"_getOrigin",value:function(){var e=new Uint8Array(3686400);Zne(e).call(e,8);var t=performance.now();return 1e3/(performance.now()-t)}},{key:"getScore",value:function(){var e=this;return new nee((function(t){t({score:0,origin:e._getOrigin()})}))}}]),e}(),Yne=new $ne,Jne=function(){function e(){J9(this,e)}return tee(e,[{key:"getScore",value:function(){return new nee((function(e){e({score:0,origin:navigator.deviceMemory})}))}}]),e}(),ere=new Jne,tre=function(){function e(){J9(this,e)}return tee(e,[{key:"getScore",value:function(){return new nee((function(e){var t,n=null==(t=null==navigator?void 0:navigator.connection)?void 0:t.downlink,r=0;n>0&&n<1e6&&(r=n<1?60*n:n<5?.4*(n-1)+6.01:.02*(n-5)+7.61),e({score:r,origin:n})}))}}]),e}(),nre=new tre,rre=FK,ire=ZK,ore=jj,are=LW,sre=TypeError,cre=function(e){return function(t,n,r,i){rre(n);var o=ire(t),a=ore(o),s=are(o),c=e?s-1:0,l=e?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=l;break}if(c+=l,e?c<0:s<=c)throw sre("Reduce of empty array with no initial value")}for(;e?c>=0:s>c;c+=l)c in a&&(i=n(i,a[c],c,o));return i}},lre={left:cre(!1),right:cre(!0)}.left;DW({target:"Array",proto:!0,forced:!F4&&vK>79&&vK<83||!f5("reduce")},{reduce:function(e){var t=arguments.length;return lre(this,e,t,t>1?arguments[1]:void 0)}});var ure=JX(P2("Array")),dre=cK,hre=ure,pre=Array.prototype,fre=function(e){var t=JX(e);return e===pre||dre(pre,e)&&t===JX(pre)?hre:t},gre=rj(fre),vre=function(){function e(){J9(this,e)}return tee(e,[{key:"_getBandwidth",value:function(){var e;if(!performance.getEntries)return-1;var t=zee(e=performance.getEntries()).call(e,(function(e){var t=e.initiatorType,n=e.decodedBodySize;return"img"===t&&n>0})),n=gre(t).call(t,(function(e,t){return e+1e3*t.decodedBodySize/(t.responseEnd-t.responseStart)}),0);return t.length?n/t.length/1024:0}},{key:"getScore",value:function(){var e=this;return new nee((function(t,n){try{var r=e._getBandwidth(),i=0;r>0&&r<1e6&&(i=r<1?60*performance_speed:r<5?.4*(performance_speed-1)+6.01:.02*(performance_speed-5)+7.61),t({score:i,origin:r})}catch(o){t({score:0,origin:-1})}}))}}]),e}(),mre=new vre,yre=function(e){return e.H264="h264",e.H265="h265",e}(yre||{}),_re=mne,Gre=function(e,t,n){return function(e,t,n){t in e?_re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==w2(t)?t+"":t,n),n},Rre=function(){function e(t){J9(this,e),Gre(this,"_origin"),Gre(this,"_codec"),this._codec=t}return tee(e,[{key:"_getOrigin",value:function(){try{var e=localStorage.getItem("player_".concat(this._codec,"_fps"))||-1;return Number(e)}catch(t){return-1}}},{key:"getScore",value:function(){var e=this;return new nee((function(t){var n=e._origin||e._getOrigin(),r=0;n>0&&n<=120&&(r=n<=30?.2*n:n<=60?.0533*(n-30)+6:.04*(n-60)+7.6),t({score:r,origin:n})}))}}]),e}(),bre={plugins:{cpu:{cls:Rne,factor:8,plugins:{cpu_core_number:{factor:4,instance:Fne},decodeImg:{factor:3,instance:Lne}}},memory:{cls:bne,factor:0,plugins:{copy:{factor:5,instance:Yne},usage:{factor:5,instance:ere}}},net:{cls:Tne,factor:9,plugins:{downlink:{factor:5,instance:nre},performance:{factor:4,instance:mre}}},render:{cls:Mne,factor:0,plugins:{avc:{factor:5,instance:new(function(e){$te(n,Rre);var t=vne(n);function n(e){return J9(this,n),t.call(this,e)}return tee(n)}())(yre.H264)},hevc:{factor:5,instance:new(function(e){$te(n,Rre);var t=vne(n);function n(e){return J9(this,n),t.call(this,e)}return tee(n)}())(yre.H265)}}}}},Tre=function(e){$te(n,Gne);var t=vne(n);function n(e){return J9(this,n),t.call(this,Ree({},bre,e))}return tee(n,[{key:"setPlayer",value:function(e,t){var n,r;(null==(n=this.options.plugins.render)?void 0:n.instance)&&(null==(r=this.options.plugins.render)||r.instance.setPlayer(e,t))}}]),n}(),wre="\t\n\v\f\r                 \u2028\u2029\ufeff",Sre=qj,Mre=Qq,Ere=wre,zre=mj("".replace),Dre=RegExp("^["+Ere+"]+"),kre=RegExp("(^|[^"+Ere+"])["+Ere+"]+$"),Are=function(e){return function(t){var n=Mre(Sre(t));return 1&e&&(n=zre(n,Dre,"")),2&e&&(n=zre(n,kre,"$1")),n}},Fre={start:Are(1),end:Are(2),trim:Are(3)},Pre=y0.PROPER,Ire=aj,Xre=wre,xre=DW,Hre=pE(Fre),Cre=function(e){return Ire((function(){return!!Xre[e]()||"​…᠎"!=="​…᠎"[e]()||Pre&&Xre[e].name!==e}))};xre({target:"String",proto:!0,forced:Cre("trim")},{trim:function(){return Hre(this)}});var Ore=pE(P2("String")),Lre=cK,Ure=Ore,Bre=String.prototype,Nre=function(e){var t=pE(e);return"string"==typeof e||e===Bre||Lre(Bre,e)&&t===pE(Bre)?Ure:t},Vre=rj(Nre),jre=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,Kre=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,Qre="OpenGL Engine",Wre="Unknow",qre=4318,Zre=32902,$re=4098,Yre=function(e){return e.CpuDeriver="CpuDeriver",e.Intel="Intel",e.Nvidia="NVIDIA",e.Amd="AMD",e.Apple="Apple",e[e.Unknow=Wre]="Unknow",e}(Yre||{});function Jre(e){return"NVIDIA"===e?qre:"AMD"===e?$re:"Intel"===e?Zre:0}function eie(e){var t,n,r,i,o=function(e){var t=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple)/.exec(e);return t?"Radeon"===t[0]?"AMD":"SwiftShader"===t[0]?"CpuDeriver":t[0]:Yre.Unknow}(e);return o===Yre.Unknow||"CpuDeriver"===o?{vendor:o,vendorId:0,model:Wre,backupModel:Wre,api:Wre}:/^ANGLE/.test(e)?function(e,t){var n,r,i,o,a,s=Wre,c=Wre,l=Wre;return"Intel"!==e&&"NVIDIA"!==e||(n=jre.exec(t)),"AMD"!==e&&"Apple"!==e||(n=Kre.exec(t)),(null==n?void 0:n[1])&&(null==n?void 0:n[2])&&(s=Vre(r=n[1].replace(/(AMD|NVIDIA)/,"")).call(r),l=Vre(i=n[2]).call(i)),c="Intel"===e?s=Vre(o=s.split(Qre)[0]).call(o):Vre(a=s.split(Qre)[0]).call(a),{vendor:e,vendorId:Jre(e),model:s,backupModel:c,api:l}}(o,e):"Intel"===o?{vendor:o,vendorId:Jre(o),model:Vre(r=e.split(Qre)[0]).call(r),backupModel:Vre(i=e.split(Qre)[0]).call(i),api:Wre}:{vendor:o,vendorId:Jre(o),model:Vre(t=e.replace(/(AMD|NVIDIA)/,"")).call(t),backupModel:Vre(n=e.split(Qre)[0].replace(/(AMD|NVIDIA)/,"")).call(n),api:Wre}}var tie=oj,nie=aj,rie=mj,iie=Qq,oie=pE(Fre),aie=wre,sie=tie.parseInt,cie=tie.Symbol,lie=cie&&cie.iterator,uie=/^[+-]?0x/i,die=rie(uie.exec),hie=8!==sie(aie+"08")||22!==sie(aie+"0x16")||lie&&!nie((function(){sie(Object(lie))}))?function(e,t){var n=oie(iie(e));return sie(n,t>>>0||(die(uie,n)?16:10))}:sie;DW({global:!0,forced:Y_!=hie},{parseInt:hie});var pie=rj(nK.parseInt),fie=oj,gie=aj,vie=mj,mie=Qq,yie=pE(Fre),_ie=wre,Gie=vie("".charAt),Rie=fie.parseFloat,bie=fie.Symbol,Tie=bie&&bie.iterator,wie=1/Rie(_ie+"-0")!=-1/0||Tie&&!gie((function(){Rie(Object(Tie))}))?function(e){var t=yie(mie(e)),n=Rie(t);return 0===n&&"-"==Gie(t,0)?-0:n}:Rie;DW({global:!0,forced:iE!=wie},{parseFloat:wie});var Sie=rj(nK.parseFloat),Mie="g_ven";function Eie(e,t){var n,r;return n=t===Yre.Intel?xee(r=e.split("\n")).call(r,(function(e){return"Intel(R) ".concat(e)})):e.split("\n"),xee(n).call(n,(function(e){return e.split("|")}))}function zie(e){return 0===e?0:-1===e?-1:Sie(kne(e).toFixed(2))}var Die={AMD_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_am.txt",INTEL_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_int.txt",NVIDIA_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_nvi.txt"},kie=[],Aie=[],Fie=[];function Pie(){return(Pie=Y9(Z9().mark((function e(t){var n,r,i;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==Yre.Intel){e.next=4;break}if(!kie.length){e.next=3;break}return e.abrupt("return",kie);case 3:n=Die.INTEL_PATH;case 4:if(t!==Yre.Nvidia){e.next=8;break}if(!Aie.length){e.next=7;break}return e.abrupt("return",Aie);case 7:n=Die.NVIDIA_PATH;case 8:if(t!==Yre.Amd){e.next=12;break}if(!Fie.length){e.next=11;break}return e.abrupt("return",Fie);case 11:n=Die.AMD_PATH;case 12:if(n){e.next=14;break}return e.abrupt("return",nee.resolve([]));case 14:return e.prev=14,e.next=17,fetch(n).then((function(e){return e.text()}));case 17:return r=e.sent,i=Eie(r,t),t===Yre.Intel&&(kie=i),t===Yre.Nvidia&&(Aie=i),t===Yre.Amd&&(Fie=i),e.abrupt("return",i);case 25:e.prev=25,e.t0=e.catch(14);case 27:return e.abrupt("return",[]);case 28:case"end":return e.stop()}}),e,null,[[14,25]])})))).apply(this,arguments)}function Iie(e){return e?function(e){return Pie.apply(this,arguments)}(e.vendor).then((function(t){return function(e,t){var n=zee(e).call(e,(function(e){return e[0]===t.model}));n.length||(n=zee(e).call(e,(function(e){return e[0]===t.backupModel}))),n.length||t.vendor!==Yre.Intel||/^Intel(R)/.test(t.model)||(n=zee(e).call(e,(function(e){return e[0]==="Intel(R) "+t.model})));var r="-1";if(n.length){var i=n[0][1];r="-1"===i?"0":i}return pie(r)}(t,e)})).then(zie):nee.resolve(0)}var Xie="";function xie(){return Xie||(Xie=function(){try{var e=localStorage.getItem(Mie)||"";if(e)return e;var t,n=document.createElement("canvas").getContext("webgl");if(n)return(e=(t=n.getExtension("WEBGL_debug_renderer_info"))?n.getParameter(t.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(Mie,e),e}catch(r){}return""}())}function Hie(e){var t;try{t=eie(e||Cie.getGPUVendor())}catch(n){return null}return t}var Cie=function(){function e(){J9(this,e)}return tee(e,null,[{key:"getGPUVendor",value:function(){return xie()}},{key:"parseVendorAsync",value:function(e){var t=Hie(e);return t?Iie(t).then((function(e){return r6(r6({},t||{}),{},{score:e})})).catch((function(){return null})):nee.resolve(null)}}]),e}();function Oie(){var e=!1;if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return e;if(e=MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')){var t=Hie();e=!!t&&t.vendor!==Yre.CpuDeriver}return e}var Lie=rj(E9),Uie=rj(W9),Bie=DW,Nie=LS(tY),Vie=!0;"find"in[]&&LS(JV=Array(1)).call(JV,(function(){Vie=!1})),Bie({target:"Array",proto:!0,forced:Vie},{find:function(e){return Nie(this,e,arguments.length>1?arguments[1]:void 0)}});var jie=LS(P2("Array")),Kie=cK,Qie=jie,Wie=Array.prototype,qie=function(e){var t=LS(e);return e===Wie||Kie(Wie,e)&&t===LS(Wie)?Qie:t},Zie=rj(qie),$ie=DW,Yie=bS(tY);$ie({target:"Array",proto:!0,forced:!f5("some")},{some:function(e){return Yie(this,e,arguments.length>1?arguments[1]:void 0)}});var Jie=bS(P2("Array")),eoe=cK,toe=Jie,noe=Array.prototype,roe=function(e){var t=bS(e);return e===noe||eoe(noe,e)&&t===bS(noe)?toe:t},ioe=rj(roe),ooe=DW,aoe=wj,soe=hR(rZ),coe=f5,loe=aoe(hR([])),uoe=!!loe&&1/loe([1],1,-0)<0;ooe({target:"Array",proto:!0,forced:uoe||!coe("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return uoe?loe(this,e,t)||0:soe(this,e,t)}});var doe=hR(P2("Array")),hoe=cK,poe=doe,foe=Array.prototype,goe=function(e){var t=hR(e);return e===foe||hoe(foe,e)&&t===hR(foe)?poe:t},voe=rj(goe),moe=zK,yoe=TypeError,_oe=DW,Goe=ZK,Roe=Yq,boe=xW,Toe=LW,woe=e5,Soe=BW,Moe=Mq,Eoe=KW,zoe=function(e,t){if(!delete e[t])throw yoe("Cannot delete property "+moe(t)+" of "+moe(e))},Doe=kq("splice"),koe=Math.max,Aoe=Math.min;_oe({target:"Array",proto:!0,forced:!Doe},{splice:function(e,t){var n,r,i,o,a,s,c=Goe(this),l=Toe(c),u=Roe(e,l),d=arguments.length;for(0===d?n=r=0:1===d?(n=0,r=l-u):(n=d-2,r=Aoe(koe(boe(t),0),l-u)),Soe(l+n-r),i=Moe(c,r),o=0;o<r;o++)(a=u+o)in c&&Eoe(i,o,c[a]);if(i.length=r,n<r){for(o=u;o<l-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:zoe(c,s);for(o=l;o>l-r+n;o--)zoe(c,o-1)}else if(n>r)for(o=l-r;o>u;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:zoe(c,s);for(o=0;o<n;o++)c[o+u]=arguments[o+2];return woe(c,l-r+n),i}});var Foe=sM(P2("Array")),Poe=cK,Ioe=Foe,Xoe=Array.prototype,xoe=function(e){var t=sM(e);return e===Xoe||Poe(Xoe,e)&&t===sM(Xoe)?Ioe:t},Hoe=rj(xoe),Coe={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},Ooe={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},Loe={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},Uoe={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Boe={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"},Noe=function(){function e(){J9(this,e)}return tee(e,null,[{key:"getFirstMatch",value:function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""}},{key:"getSecondMatch",value:function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""}},{key:"matchAndReturnConst",value:function(e,t,n){if(e.test(t))return n}},{key:"getWindowsVersionName",value:function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}},{key:"getMacOSVersionName",value:function(e){var t,n,r=xee(t=Hoe(n=e.split(".")).call(n,0,2)).call(t,(function(e){return pie(e,10)||0}));if(r.push(0),10===r[0])switch(r[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}},{key:"getAndroidVersionName",value:function(e){var t,n,r=xee(t=Hoe(n=e.split(".")).call(n,0,2)).call(t,(function(e){return pie(e,10)||0}));if(r.push(0),!(1===r[0]&&r[1]<5))return 1===r[0]&&r[1]<6?"Cupcake":1===r[0]&&r[1]>=6?"Donut":2===r[0]&&r[1]<2?"Eclair":2===r[0]&&2===r[1]?"Froyo":2===r[0]&&r[1]>2?"Gingerbread":3===r[0]?"Honeycomb":4===r[0]&&r[1]<1?"Ice Cream Sandwich":4===r[0]&&r[1]<4?"Jelly Bean":4===r[0]&&r[1]>=4?"KitKat":5===r[0]?"Lollipop":6===r[0]?"Marshmallow":7===r[0]?"Nougat":8===r[0]?"Oreo":9===r[0]?"Pie":void 0}},{key:"getVersionPrecision",value:function(e){return e.split(".").length}},{key:"compareVersions",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,c=xee(e).call(e,[t,n],(function(t){var n,r=a-e.getVersionPrecision(t),i=t+new Array(r+1).join(".0");return Lie(n=xee(e).call(e,i.split("."),(function(e){return new Array(20-e.length).join("0")+e}))).call(n)}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(c[0][a]>c[1][a])return 1;if(c[0][a]===c[1][a]){if(a===s)return 0;a-=1}else if(c[0][a]<c[1][a])return-1}}},{key:"map",value:function(e,t){var n,r=[];if(xee(Array.prototype))return xee(Array.prototype).call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r}},{key:"find",value:function(e,t){var n,r;if(Zie(Array.prototype))return Zie(Array.prototype).call(e,t);for(n=0,r=e.length;n<r;n+=1){var i=e[n];if(t(i,n))return i}}},{key:"assign",value:function(e){for(var t,n,r,i=e,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(Ree)return Ree.apply(Object,Eee(r=[e]).call(r,a));var c=function(){var e=a[t];if("object"===w2(e)&&null!==e){var n=iee(e);ree(n).call(n,(function(t){i[t]=e[t]}))}};for(t=0,n=a.length;t<n;t+=1)c();return e}},{key:"getBrowserAlias",value:function(e){return Coe[e]}},{key:"getBrowserTypeByAlias",value:function(e){return Ooe[e]||""}}]),e}(),Voe=/version\/(\d+(\.?_?\d+)+)/i,joe=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=Noe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=Noe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=Noe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=Noe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=Noe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=Noe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=Noe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=Noe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=Noe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=Noe.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=Noe.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=Noe.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=Noe.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=Noe.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=Noe.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=Noe.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=Noe.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=Noe.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=Noe.getFirstMatch(Voe,e)||Noe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=Noe.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=Noe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=Noe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=Noe.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=Noe.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=Noe.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=Noe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=Noe.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=Noe.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=Noe.getFirstMatch(Voe,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:Noe.getFirstMatch(t,e),version:Noe.getSecondMatch(t,e)}}}],Koe=[{test:[/Roku\/DVP/],describe:function(e){var t=Noe.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:Uoe.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=Noe.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:Uoe.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=Noe.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=Noe.getWindowsVersionName(t);return{name:Uoe.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:Uoe.iOS},n=Noe.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=Noe.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=Noe.getMacOSVersionName(t),r={name:Uoe.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=Noe.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:Uoe.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=Noe.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=Noe.getAndroidVersionName(t),r={name:Uoe.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=Noe.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:Uoe.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=Noe.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||Noe.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||Noe.getFirstMatch(/\bbb(\d+)/i,e);return{name:Uoe.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=Noe.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:Uoe.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=Noe.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:Uoe.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:Uoe.Linux}}},{test:[/CrOS/],describe:function(){return{name:Uoe.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=Noe.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:Uoe.PlayStation4,version:t}}}],Qoe=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=Noe.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:Loe.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:Loe.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:Loe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:Loe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:Loe.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:Loe.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:Loe.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=Noe.getFirstMatch(/(ipod|iphone)/i,e);return{type:Loe.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:Loe.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:Loe.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:Loe.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:Loe.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:Loe.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:Loe.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:Loe.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:Loe.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:Loe.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:Loe.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:Loe.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:Loe.tv}}}],Woe=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:Boe.Blink};var t=Noe.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Boe.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:Boe.Trident},n=Noe.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:Boe.Presto},n=Noe.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:Boe.Gecko},n=Noe.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:Boe.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:Boe.WebKit},n=Noe.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}],qoe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(J9(this,e),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==n&&this.parse()}return tee(e,[{key:"getUA",value:function(){return this._ua}},{key:"test",value:function(e){return e.test(this._ua)}},{key:"parseBrowser",value:function(){var e=this;this.parsedResult.browser={};var t=Zie(Noe).call(Noe,joe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return ioe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}},{key:"getBrowser",value:function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}},{key:"getBrowserName",value:function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}},{key:"getBrowserVersion",value:function(){return this.getBrowser().version}},{key:"getOS",value:function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}},{key:"parseOS",value:function(){var e=this;this.parsedResult.os={};var t=Zie(Noe).call(Noe,Koe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return ioe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}},{key:"getOSName",value:function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""}},{key:"getOSVersion",value:function(){return this.getOS().version}},{key:"getPlatform",value:function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}},{key:"getPlatformType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""}},{key:"parsePlatform",value:function(){var e=this;this.parsedResult.platform={};var t=Zie(Noe).call(Noe,Qoe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return ioe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}},{key:"getEngine",value:function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}},{key:"getEngineName",value:function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}},{key:"parseEngine",value:function(){var e=this;this.parsedResult.engine={};var t=Zie(Noe).call(Noe,Woe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return ioe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}},{key:"parse",value:function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}},{key:"getResult",value:function(){return Noe.assign({},this.parsedResult)}},{key:"satisfies",value:function(e){var t=this,n={},r=0,i={},o=0,a=iee(e);if(ree(a).call(a,(function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"===w2(a)&&(n[t]=a,r+=1)})),r>0){var s=iee(n),c=Zie(Noe).call(Noe,s,(function(e){return t.isOS(e)}));if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}var u=Zie(Noe).call(Noe,s,(function(e){return t.isPlatform(e)}));if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(o>0){var h=iee(i),p=Zie(Noe).call(Noe,h,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(i[p])}}},{key:"isBrowser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=Noe.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n}},{key:"compareVersion",value:function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),voe(t).call(t,Noe.compareVersions(i,n,r))>-1}},{key:"isOS",value:function(e){return this.getOSName(!0)===String(e).toLowerCase()}},{key:"isPlatform",value:function(e){return this.getPlatformType(!0)===String(e).toLowerCase()}},{key:"isEngine",value:function(e){return this.getEngineName(!0)===String(e).toLowerCase()}},{key:"is",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)}},{key:"some",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ioe(t).call(t,(function(t){return e.is(t)}))}}]),e}(),Zoe=function(){function e(){J9(this,e)}return tee(e,null,[{key:"getParser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof e)throw new Error("UserAgent should be a string");return new qoe(e,t)}},{key:"parse",value:function(e){return new qoe(e).getResult()}},{key:"BROWSER_MAP",get:function(){return Ooe}},{key:"ENGINE_MAP",get:function(){return Boe}},{key:"OS_MAP",get:function(){return Uoe}},{key:"PLATFORMS_MAP",get:function(){return Loe}}]),e}(),$oe=function(){function e(t){J9(this,e),t6(this,"featureList",void 0),t6(this,"videoType",void 0),this.videoType=t.type||Gte.VOD,this.featureList=r6(r6(r6(r6({deviceId:null==t?void 0:t.deviceId},this.initSync()),this.getGPUInfo()),this.getLocalDeviceMarkInfo()),this.getH265FeatureList())}var t;return tee(e,[{key:"initSync",value:function(){return r6({},this.getBrowserInfo())}},{key:"updateFeatureList",value:function(e){return this.featureList=r6(r6({},this.featureList),e)}},{key:"getFeatureList",value:function(){return this.featureList}},{key:"getH265FeatureList",value:function(){return{isHevcSupported:Oie()}}},{key:"getLocalDeviceMarkInfo",value:function(){var e=pte(this.videoType===Gte.LIVE?Ete:Mte),t={cpuScore:-1,netScore:-1,renderScore:-1};if(!e)return t;try{var n=JSON.parse(e);return{cpuScore:n.cpuScore,netScore:n.netScore,renderScore:n.renderScore}}catch(r){}return t}},{key:"getDeviceMarkInfoAsync",value:(t=Y9(Z9().mark((function e(){var t,n,r,i,o,a;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Tre({}),e.next=3,t.getScore();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0={};case 6:return n=e.t0,r=n.cpu,i=n.net,o=n.render,a={cpuScore:(null==r?void 0:r.score)||-1,netScore:(null==i?void 0:i.score)||-1,renderScore:(null==o?void 0:o.score)||-1},hte(this.videoType===Gte.LIVE?Ete:Mte,cee(a)),this.updateFeatureList(a),e.abrupt("return",a);case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getBrowserInfo",value:function(){var e=Zoe.getParser(navigator.userAgent);return{browserVersion:e.getBrowserVersion(),browserName:e.getBrowserName(),cpuCore:navigator.hardwareConcurrency,osName:e.getOSName(),osVersion:e.getOSVersion(),platformType:e.getPlatformType(),engineName:e.getEngineName()}}},{key:"getGPUInfo",value:function(){try{var e=tj.parseVendor(),t=tj.getGPUVendor(),n=ote(t).call(t,"SwiftShader");return{gpuScore:(null==e?void 0:e.score)||-1,isCloseGPU:n}}catch(r){return{gpuScore:-1,isCloseGPU:!1}}}}]),e}(),Yoe={exports:{}},Joe=aj((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);uV(e)&&VG(e,"a",{value:8})}})),eae=tK,tae=Rj,nae=Joe,rae=uV,iae=aj((function(){rae(1)}))||nae?function(e){return!!eae(e)&&(!nae||"ArrayBuffer"!=tae(e))&&(!rae||rae(e))}:rae,oae=!aj((function(){return uV(mV({}))})),aae=DW,sae=mj,cae=iZ,lae=tK,uae=JK,dae=YQ.f,hae=UZ,pae=jZ,fae=iae,gae=oae,vae=!1,mae=iQ("meta"),yae=0,_ae=function(e){dae(e,mae,{value:{objectID:"O"+yae++,weakData:{}}})},Gae=Yoe.exports={enable:function(){Gae.enable=function(){},vae=!0;var e=hae.f,t=sae(sM([])),n={};n[mae]=1,e(n).length&&(hae.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===mae){t(r,i,1);break}return r},aae({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:pae.f}))},fastKey:function(e,t){if(!lae(e))return"symbol"==Wd(e)?e:("string"==typeof e?"S":"P")+e;if(!uae(e,mae)){if(!fae(e))return"F";if(!t)return"E";_ae(e)}return e[mae].objectID},getWeakData:function(e,t){if(!uae(e,mae)){if(!fae(e))return!0;if(!t)return!1;_ae(e)}return e[mae].weakData},onFreeze:function(e){return gae&&vae&&fae(e)&&!uae(e,mae)&&_ae(e),e}};cae[mae]=!0;var Rae=Yoe.exports,bae=DW,Tae=oj,wae=Rae,Sae=aj,Mae=mW,Eae=l4,zae=L4,Dae=zj,kae=tK,Aae=A$,Fae=YQ.f,Pae=qG(tY),Iae=kj,Xae=Q$.set,xae=Q$.getterFor,Hae=o$,Cae=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:Hae(e,r,t[r],n);return e},Oae=LZ,Lae=s$,Uae=Cae,Bae=$Q,Nae=L4,Vae=Kj,jae=l4,Kae=f1,Qae=g1,Wae=H4,qae=kj,Zae=Rae.fastKey,$ae=Q$.set,Yae=Q$.getterFor,Jae={getConstructor:function(e,t,n,r){var i=e((function(e,i){Nae(e,o),$ae(e,{type:t,index:Oae(null),first:void 0,last:void 0,size:0}),qae||(e.size=0),Vae(i)||jae(i,e[r],{that:e,AS_ENTRIES:n})})),o=i.prototype,a=Yae(t),s=function(e,t,n){var r,i,o=a(e),s=c(e,t);return s?s.value=n:(o.last=s={index:i=Zae(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),qae?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},c=function(e,t){var n,r=a(e),i=Zae(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Uae(o,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,qae?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),qae?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=Bae(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Uae(o,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),qae&&Lae(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=Yae(t),o=Yae(r);Kae(e,t,(function(e,t){$ae(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Qae("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Qae(void 0,!0))}),n?"entries":"values",!n,!0),Wae(t)}},ese=function(e,t,n){var r,i=-1!==hR(e).call(e,"Map"),o=-1!==hR(e).call(e,"Weak"),a=i?"set":"add",s=Tae[e],c=s&&s.prototype,l={};if(Iae&&Dae(s)&&(o||qG(c)&&!Sae((function(){var e;YN(e=new s).call(e).next()})))){var u=(r=t((function(t,n){Xae(zae(t,u),{type:e,collection:new s}),null!=n&&Eae(n,t[a],{that:t,AS_ENTRIES:i})}))).prototype,d=xae(e);Pae(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in c)||o&&"clear"==e||Mae(u,e,(function(n,r){var i=d(this).collection;if(!t&&o&&!kae(n))return"get"==e&&void 0;var a=i[e](0===n?0:n,r);return t?this:a}))})),o||Fae(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else r=n.getConstructor(t,e,i,a),wae.enable();return Aae(r,e,!1,!0),l[e]=r,bae({global:!0,forced:!0},l),o||n.setStrong(r,e,i),r};ese("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Jae);var tse=nK.Map,nse=$Q,rse=Pj,ise=FK,ose=V4,ase=Kj,sse=l4,cse=[].push,lse=function(e){var t,n,r,i,o=arguments.length,a=o>1?arguments[1]:void 0;return ose(this),(t=void 0!==a)&&ise(a),ase(e)?new this:(n=[],t?(r=0,i=nse(a,o>2?arguments[2]:void 0),sse(e,(function(e){rse(cse,n,i(e,r++))}))):sse(e,cse,{that:n}),new this(n))};DW({target:"Map",stat:!0,forced:!0},{from:lse});var use=MJ,dse=function(){return new this(use(arguments))};DW({target:"Map",stat:!0,forced:!0},{of:dse});var hse=zK,pse=function(e){if("object"==Wd(e)&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(hse(e)+" is not a map")},fse=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}},gse=sK("Map"),vse={Map:gse,set:fse("set",2),get:fse("get",1),has:fse("has",1),remove:fse("delete",1),proto:gse.prototype},mse=pse,yse=vse.remove;DW({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=mse(this),n=!0,r=0,i=arguments.length;r<i;r++)e=yse(t,arguments[r]),n=n&&e;return!!n}});var _se=pse,Gse=vse.get,Rse=vse.has,bse=vse.set;DW({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,i=_se(this);return Rse(i,e)?(n=Gse(i,e),"update"in t&&(n=t.update(n,e,i),bse(i,e,n)),n):(r=t.insert(e,i),bse(i,e,r),r)}});var Tse=Pj,wse=function(e,t,n){for(var r,i,o=n||e.next;!(r=Tse(o,e)).done;)if(void 0!==(i=t(r.value)))return i},Sse=function(e,t,n){return n?wse(YN(e).call(e),(function(e){return t(e[1],e[0])})):qG(e).call(e,t)},Mse=$Q,Ese=pse,zse=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=Ese(this),n=Mse(e,arguments.length>1?arguments[1]:void 0);return!1!==zse(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}});var Dse=$Q,kse=pse,Ase=Sse,Fse=vse.Map,Pse=vse.set;DW({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=kse(this),n=Dse(e,arguments.length>1?arguments[1]:void 0),r=new Fse;return Ase(t,(function(e,i){n(e,i,t)&&Pse(r,i,e)})),r}});var Ise=$Q,Xse=pse,xse=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=Xse(this),n=Ise(e,arguments.length>1?arguments[1]:void 0),r=xse(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}});var Hse=$Q,Cse=pse,Ose=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=Cse(this),n=Hse(e,arguments.length>1?arguments[1]:void 0),r=Ose(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}});var Lse=DW,Use=FK,Bse=qj,Nse=l4,Vse=vse.Map,jse=vse.has,Kse=vse.get,Qse=vse.set,Wse=mj([].push);Lse({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){Bse(e),Use(t);var n=new Vse,r=0;return Nse(e,(function(e){var i=t(e,r++);jse(n,i)?Wse(Kse(n,i),e):Qse(n,i,[e])})),n}});var qse=function(e,t){return e===t||e!=e&&t!=t},Zse=pse,$se=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===$se(Zse(this),(function(t){if(qse(t,e))return!0}),!0)}});var Yse=Pj,Jse=l4,ece=zj,tce=FK,nce=vse.Map;DW({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(ece(this)?this:nce);tce(t);var r=tce(n.set);return Jse(e,(function(e){Yse(r,n,t(e),e)})),n}});var rce=pse,ice=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=ice(rce(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}});var oce=$Q,ace=pse,sce=Sse,cce=vse.Map,lce=vse.set;DW({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=ace(this),n=oce(e,arguments.length>1?arguments[1]:void 0),r=new cce;return sce(t,(function(e,i){lce(r,n(e,i,t),e)})),r}});var uce=$Q,dce=pse,hce=Sse,pce=vse.Map,fce=vse.set;DW({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=dce(this),n=uce(e,arguments.length>1?arguments[1]:void 0),r=new pce;return hce(t,(function(e,i){fce(r,i,n(e,i,t))})),r}});var gce=pse,vce=l4,mce=vse.set;DW({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=gce(this),n=arguments.length,r=0;r<n;)vce(arguments[r++],(function(e,n){mce(t,e,n)}),{AS_ENTRIES:!0});return t}});var yce=FK,_ce=pse,Gce=Sse,Rce=TypeError;DW({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=_ce(this),n=arguments.length<2,r=n?void 0:arguments[1];if(yce(e),Gce(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw Rce("Reduce of empty map with no initial value");return r}});var bce=$Q,Tce=pse,wce=Sse;DW({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=Tce(this),n=bce(e,arguments.length>1?arguments[1]:void 0);return!0===wce(t,(function(e,r){if(n(e,r,t))return!0}),!0)}});var Sce=FK,Mce=pse,Ece=TypeError,zce=vse.get,Dce=vse.has,kce=vse.set;DW({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=Mce(this),r=arguments.length;Sce(t);var i=Dce(n,e);if(!i&&r<3)throw Ece("Updating absent value");var o=i?zce(n,e):Sce(r>2?arguments[2]:void 0)(e,n);return kce(n,e,t(o,e,n)),n}});var Ace=Pj,Fce=FK,Pce=zj,Ice=rW,Xce=TypeError,xce=function(e,t){var n,r=Ice(this),i=Fce(r.get),o=Fce(r.has),a=Fce(r.set),s=arguments.length>2?arguments[2]:void 0;if(!Pce(t)&&!Pce(s))throw Xce("At least one callback required");return Ace(o,r,e)?(n=Ace(i,r,e),Pce(t)&&(n=t(n),Ace(a,r,e,n))):Pce(s)&&(n=s(),Ace(a,r,e,n)),n};DW({target:"Map",proto:!0,real:!0,forced:!0},{upsert:xce}),DW({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:xce});var Hce=rj(tse),Cce=rW,Oce=q6,Lce=$Q,Uce=Pj,Bce=ZK,Nce=function(e,t,n,r){try{return r?t(Cce(n)[0],n[1]):t(n)}catch(i){Oce(e,"throw",i)}},Vce=F6,jce=_q,Kce=LW,Qce=KW,Wce=j6,qce=C6,Zce=Array,$ce=function(e){var t=Bce(e),n=jce(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=Lce(i,r>2?arguments[2]:void 0));var a,s,c,l,u,d,h=qce(t),p=0;if(!h||this===Zce&&Vce(h))for(a=Kce(t),s=n?new this(a):Zce(a);a>p;p++)d=o?i(t[p],p):t[p],Qce(s,p,d);else for(u=(l=Wce(t,h)).next,s=n?new this:[];!(c=Uce(u,l)).done;p++)d=o?Nce(l,i,[c.value,p],!0):c.value,Qce(s,p,d);return s.length=p,s},Yce=DW,Jce=$ce,ele=!_8((function(e){GM(e)}));Yce({target:"Array",stat:!0,forced:ele},{from:Jce});var tle=rj(nK.Array.from),nle=SV(P2("Array")),rle=tq,ile=JK,ole=cK,ale=nle,sle=Array.prototype,cle={DOMTokenList:!0,NodeList:!0},lle=function(e){var t=SV(e);return e===sle||ole(sle,e)&&t===SV(sle)||ile(cle,rle(e))?ale:t},ule=rj(lle),dle=function(){function e(t){J9(this,e),t6(this,"ctx",void 0),t6(this,"strategyMap",new Hce),this.ctx=t}return tee(e,[{key:"registerStrategy",value:function(e){var t;return!(null==e||null===(t=e.Strategy)||void 0===t||!t.strategyName||(this.strategyMap.get(e.Strategy.strategyName)||this.strategyMap.set(e.Strategy.strategyName,{inst:new e.Strategy({ctx:this.ctx,config:e.config,strategyName:e.Strategy.strategyName,strategyCenter:this})}),0))}},{key:"getStrategyInstByName",value:function(e){var t;return e&&null!==(t=this.strategyMap.get(e))&&void 0!==t&&t.inst?this.strategyMap.get(e).inst:null}},{key:"getStrategyList",value:function(){var e,t;return xee(e=tle(ule(t=this.strategyMap).call(t))).call(e,(function(e){return e.inst}))}},{key:"getStrategyByName",value:function(e){return e&&this.strategyMap.get(e)?this.strategyMap.get(e):null}},{key:"registerAlgorithm",value:function(){}},{key:"getStrategyInstByNameAsync",value:function(){}},{key:"loadStrategySrcAsync",value:function(){}}]),e}(),hle=function(){function e(t){J9(this,e),t6(this,"inst",void 0),this.inst=t.inst}return tee(e,[{key:"getInst",value:function(){return this.inst}},{key:"getPlayerConfig",value:function(){var e;return null===(e=this.inst)||void 0===e?void 0:e.playerConfig}},{key:"getStrategyConfig",value:function(){var e;return null===(e=this.inst)||void 0===e?void 0:e.strategyConfig}}]),e}(),ple=function(){function e(){J9(this,e),t6(this,"players",void 0),this.players=new Hce}return tee(e,[{key:"get",value:function(e){return this.players.get(e)}},{key:"addPlayer",value:function(e,t){return!(!e||this.players.get(e)||(this.players.set(e,new hle(t)),0))}},{key:"getPlayerList",value:function(){var e;return tle(ule(e=this.players).call(e))}},{key:"removePlayer",value:function(e){return!(!e||!this.players.get(e)||(this.players.delete(e),0))}}]),e}();!function(){function e(t){J9(this,e),t6(this,"strategyCenter",void 0),t6(this,"ctx",void 0),t6(this,"config",void 0),t6(this,"player",void 0),t6(this,"strategyName",void 0),this.ctx=t.ctx,this.config=t.config,this.strategyName=t.strategyName,this.strategyCenter=t.strategyCenter,this.player=null}tee(e,[{key:"getStrategyConfig",value:function(){return this.config}},{key:"setPlayerInst",value:function(e){this.player=e.getInst()}},{key:"beforePlayerCreate",value:function(e){}},{key:"onPlayerEvent",value:function(e,t){}},{key:"onGlobalEvent",value:function(e,t){}}])}();var fle=function(){function e(t){J9(this,e),t6(this,"tracker",void 0),t6(this,"_tea",void 0),t6(this,"ctx",void 0),t6(this,"options",void 0),this.ctx=t.cxt,this.options=t,this.initTracker(t),this.bindABVersion()}return tee(e,[{key:"bindTrackerABVersion",value:function(e){var t,n,r,i=this;!this._tea&&e&&null!==(t=this.options)&&void 0!==t&&null!==(t=t.trackInfo)&&void 0!==t&&t.enableABVersion&&(this._tea=e,null===(n=this._tea)||void 0===n||null===(r=n.filterEvent)||void 0===r||r.call(n,(function(e){var t,n;return null==e||null===(t=e[0])||void 0===t||null===(t=t.events)||void 0===t||null===(n=ree(t))||void 0===n||n.call(t,(function(e){var t,n,r,o=((null===(t=i.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}).libra_ab_version;!o||!e||null!==(n=e.ab_sdk_version)&&void 0!==n&&ote(n).call(n,o)||(e.ab_sdk_version=e.ab_sdk_version?Eee(r="".concat(e.ab_sdk_version,",")).call(r,o):"".concat(o))})),e})))}},{key:"track",value:function(e,t){var n,r;"function"==typeof this.tracker?this.tracker(e,t):null===(n=this.tracker)||void 0===n||null===(r=n.event)||void 0===r||r.call(n,e,t)}},{key:"initTracker",value:function(e){var t,n;if(ote(t=[Gte.LIVE,Gte.VOD]).call(t,e.type)&&null!==(n=e.trackInfo)&&void 0!==n&&n.Collector&&"undefined"!=typeof window){var r="__vestrategy_".concat(e.type,"_tracker__");if(!window[r]){this.tracker=window[r]=new e.trackInfo.Collector("".concat(e.type,"_tracker")),this.tracker.init({app_id:e.appId,channel:e.channel||Rte.CN,log:!1,disable_sdk_monitor:!0});var i=r6({play_type:e.type===Gte.VOD?0:1,line_app_id:e.lineAppId,line_user_id:e.lineUserId},gte(this.ctx.featureCenter.getFeatureList()));return this.tracker.config(r6(r6({},i),{},{user_unique_id:e.lineUserId,disable_auto_pv:!0})),void this.tracker.start()}this.tracker=window[r]}}},{key:"bindABVersion",value:function(){var e,t,n=this;this.tracker&&(null===(e=this.tracker)||void 0===e||null===(t=e.filterEvent)||void 0===t||t.call(e,(function(e){var t,r;return null==e||null===(t=e[0])||void 0===t||null===(t=t.events)||void 0===t||null===(r=ree(t))||void 0===r||r.call(t,(function(e){var t,r=((null===(t=n.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}).libra_ab_version;r&&e&&(e.ab_sdk_version="".concat(r))})),e})))}}]),e}();DW({target:"Array",stat:!0},{isArray:AW});var gle,vle=rj(nK.Array.isArray),mle=function(e){return e.Equal="=",e.NotEqual="≠",e.Greater=">",e.GreaterOrEqual="≥",e.Less="<",e.LessOrEqual="≤",e}(mle||{}),yle=(t6(gle={},"=",{validate:function(e,t){var n;return vle(ule(e))?ote(n=ule(e)).call(n,t):ule(e)===t}}),t6(gle,"≠",{validate:function(e,t){var n;return vle(ule(e))?!ote(n=ule(e)).call(n,t):ule(e)!==t}}),t6(gle,">",{validate:function(e,t){return!vle(ule(e))&&"boolean"!=typeof ule(e)&&t>ule(e)}}),t6(gle,"≥",{validate:function(e,t){return!vle(ule(e))&&"boolean"!=typeof ule(e)&&t>=ule(e)}}),t6(gle,"<",{validate:function(e,t){return!vle(ule(e))&&"boolean"!=typeof ule(e)&&t<ule(e)}}),t6(gle,"≤",{validate:function(e,t){return!vle(ule(e))&&"boolean"!=typeof ule(e)&&t<=ule(e)}}),gle);function _le(e,t,n){var r;return null==e||ree(e).call(e,(function(e){var i;if("conditions"in e&&e.conditions)i=_le(e.conditions,t,e.logic);else if("key"in e){var o,a=t[null==e?void 0:e.key];i=null===(o=yle[null==e?void 0:e.op])||void 0===o?void 0:o.validate(e,a)}r=void 0===r?i:"||"===n?r||i:r&&i})),r}oV({__proto__:null,Operator:mle,getConfigWithRule:function(e,t){var n={};if(e)return ree(e).call(e,(function(e){_le(e.conditions,t,e.logic)&&(n=r6(r6({},n),e.config))})),n},operators:yle,validate:_le});var Gle=new Ste("VeStrategy-BasePlugin"),Rle=function(e){$te(n,hz);var t=vne(n);function n(e){var r,i,o,a,s;J9(this,n),t6(gne(s=t.call(this,e)),"ctx",void 0),t6(gne(s),"strategyCenter",void 0),t6(gne(s),"videoType",void 0),t6(gne(s),"playerLogEventHandler",(function(e,t){var n,r;return"string"==typeof e?null===(n=s.ctx)||void 0===n||null===(n=n.tracker)||void 0===n||null===(r=n.track)||void 0===r?void 0:r.call(n,e,t):vle(e)?ree(e).call(e,(function(e){var t,n,r=e.eventName,i=e.params;null===(t=s.ctx)||void 0===t||null===(t=t.tracker)||void 0===t||null===(n=t.track)||void 0===n||n.call(t,r,i)})):void 0})),s.ctx=e.config.ctx,s.videoType=e.config.videoType,s.strategyCenter=e.config.strategyCenter,Gle.update(null===(r=s.ctx)||void 0===r||null===(r=r.dataCenter)||void 0===r||null===(r=r.getAppConfig())||void 0===r?void 0:r.log);var c={playerId:s.player.playerId,playerConfig:null,strategyConfig:null,strategyCenter:s.strategyCenter};return mne(c,"playerConfig",{get:function(){return s.playerConfig}}),mne(c,"strategyConfig",{get:function(){return e.config.strategyConfig}}),s.player.playerId&&s.ctx.playerManager.addPlayer(s.player.playerId,{inst:c}),null===(i=s.strategyCenter)||void 0===i||null===(o=i.getStrategyList)||void 0===o||ree(a=o.call(i)).call(a,(function(e){var t,n;null==e||null===(t=e.setPlayerInst)||void 0===t||t.call(e,s.ctx.playerManager.get(s.player.playerId)),null==e||null===(n=e.onBasePluginCreated)||void 0===n||n.call(e,s.ctx.playerManager.get(s.player.playerId))})),Gle.info("BasePluginInit",e.config),s}return tee(n,[{key:"afterPlayerInit",value:function(){var e,t,n;this.player.on("abLog",this.playerLogEventHandler),this.videoType===Gte.VOD&&(null===(e=this.ctx)||void 0===e||null===(e=e.tracker)||void 0===e||null===(t=e.bindTrackerABVersion)||void 0===t||t.call(e,null===(n=this.player)||void 0===n||null===(n=n.vodLogger)||void 0===n?void 0:n.tracker)),this.videoType,Gte.LIVE}},{key:"patchEvent",value:function(e,t){var n,r,i,o,a=this;null===(n=this.strategyCenter)||void 0===n||null===(r=n.getStrategyList)||void 0===r||ree(i=r.call(n)).call(i,(function(n){var r;null==n||null===(r=n.onPlayerEvent)||void 0===r||r.call(n,e,{playerInst:n,options:t})})),null===(o=this.ctx.playerManager.getPlayerList())||void 0===o||ree(o).call(o,(function(n){var r,i,o;(null==n||null===(r=n.getInst)||void 0===r||null===(r=r.call(n))||void 0===r?void 0:r.playerId)!==a.player.playerId&&(null==n||null===(i=n.getInst)||void 0===i||null===(i=i.call(n))||void 0===i||null===(i=i.strategyCenter)||void 0===i||null===(o=i.getStrategyList)||void 0===o||null===(o=o.call(i))||void 0===o||ree(o).call(o,(function(r){var i;null==r||null===(i=r.onGlobalEvent)||void 0===i||i.call(r,e,{playerInst:n,options:t})})))}))}},{key:"afterCreate",value:function(){var e=this;this.on(iz,(function(t){e.patchEvent(iz,t),Gle.info("Event",iz)}))}},{key:"destroy",value:function(){this.ctx.playerManager.removePlayer(this.player.playerId),this.player.off("abLog",this.playerLogEventHandler)}}],[{key:"pluginName",get:function(){return"veStrategyBasePlugin"}},{key:"defaultConfig",get:function(){return{text:"策略基础插件"}}}]),n}(),ble=function(){function e(){J9(this,e)}return tee(e,[{key:"apply",value:function(e,t){var n,r,i=this,o=t||{},a=o.plugins,s=o.pluginConfiguration,c=o.result;return e?(null!=a&&a.length&&vle(e.presets)?e.presets.unshift(tee((function e(){J9(this,e),t6(this,"plugins",a)}))):null!=a&&a.length&&vle(e.plugins)&&(e.plugins=Eee(a).call(a,e.plugins)),null!=a&&a.length&&s&&ree(r=iee(s)).call(r,(function(t){e[t]=s[t]})),c&&ree(n=iee(c)).call(n,(function(t){t===Tte.adaptRange&&i.adaptRange(e,c[t])})),e):e}},{key:"_findConfig",value:function(e,t){var n;return Zie(n=iee(e)).call(n,(function(e){return(null==e?void 0:e.toLowerCase())===t}))}},{key:"adaptRange",value:function(e,t){var n,r;if(null==t||!t.enable||!e||null==t||!t._vtype)return e;if(!ote(n=[bte.MP4,bte.DASH]).call(n,t._vtype))return e;var i=this._findConfig(e,t._vtype===bte.MP4?"mp4encryptplayer":"dashplugin");return i&&e[i]&&t.options?(e[i].adaptRange=r6(r6({},null!==(r=e[i].adaptRange)&&void 0!==r?r:{}),t.options),e):e}}]),e}(),Tle=aj,wle=pQ("iterator"),Sle=!Tle((function(){var e=new bk("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new Nb("a=1&a=2"),r="";return e.pathname="c%20d",qG(t).call(t,(function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),!e.toJSON||!n.has("a",1)||n.has("a",2)||!t.size&&true||!jE(t)||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new Nb("?a=1"))||!t[wle]||"a"!==new bk("https://a@b").username||"b"!==new Nb(new Nb("a=b")).get("a")||"xn--e1aybc"!==new bk("http://тест").host||"#%D0%B1"!==new bk("http://a#б").hash||"a1c3"!==r||"x"!==new bk("http://x",void 0).host})),Mle=$Z,Ele=Math.floor,zle=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},Dle=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e},kle=function e(t,n){var r=t.length,i=Ele(r/2);return r<8?zle(t,n):Dle(t,e(Mle(t,0,i),n),e(Mle(t,i),n),n)},Ale=DW,Fle=oj,Ple=Pj,Ile=mj,Xle=kj,xle=Sle,Hle=o$,Cle=s$,Ole=Cae,Lle=A$,Ule=V0,Ble=Q$,Nle=L4,Vle=zj,jle=JK,Kle=$Q,Qle=tq,Wle=rW,qle=tK,Zle=Qq,$le=LZ,Yle=Lj,Jle=j6,eue=C6,tue=$4,nue=kle,rue=pQ("iterator"),iue="URLSearchParams",oue=iue+"Iterator",aue=Ble.set,sue=Ble.getterFor(iue),cue=Ble.getterFor(oue),lue=WG,uue=function(e){if(!Xle)return Fle[e];var t=lue(Fle,e);return t&&t.value},due=uue("fetch"),hue=uue("Request"),pue=uue("Headers"),fue=hue&&hue.prototype,gue=pue&&pue.prototype,vue=Fle.RegExp,mue=Fle.TypeError,yue=Fle.decodeURIComponent,_ue=Fle.encodeURIComponent,Gue=Ile("".charAt),Rue=Ile([].join),bue=Ile([].push),Tue=Ile("".replace),wue=Ile([].shift),Sue=Ile(sM([])),Mue=Ile("".split),Eue=Ile(mG("")),zue=/\+/g,Due=Array(4),kue=function(e){return Due[e-1]||(Due[e-1]=vue("((?:%[\\da-f]{2}){"+e+"})","gi"))},Aue=function(e){try{return yue(e)}catch(t){return e}},Fue=function(e){var t=Tue(e,zue," "),n=4;try{return yue(t)}catch(r){for(;n;)t=Tue(t,kue(n--),Aue);return t}},Pue=/[!'()~]|%20/g,Iue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Xue=function(e){return Iue[e]},xue=function(e){return Tue(_ue(e),Pue,Xue)},Hue=Ule((function(e,t){aue(this,{type:oue,iterator:Jle(YN(sue(e))),kind:t})}),"Iterator",(function(){var e=cue(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),Cue=function(e){this.entries=[],this.url=null,void 0!==e&&(qle(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Gue(e,0)?Eue(e,1):e:Zle(e)))};Cue.prototype={type:iue,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,s,c=eue(e);if(c)for(n=(t=Jle(e,c)).next;!(r=Ple(n,t)).done;){if(o=(i=Jle(Wle(r.value))).next,(a=Ple(o,i)).done||(s=Ple(o,i)).done||!Ple(o,i).done)throw mue("Expected sequence with length 2");bue(YN(this),{key:Zle(a.value),value:Zle(s.value)})}else for(var l in e)jle(e,l)&&bue(YN(this),{key:l,value:Zle(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Mue(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Mue(t,"="),bue(YN(this),{key:Fue(wue(n)),value:Fue(Rue(n,"="))}))},serialize:function(){for(var e,t=YN(this),n=[],r=0;r<t.length;)e=t[r++],bue(n,xue(e.key)+"="+xue(e.value));return Rue(n,"&")},update:function(){YN(this).length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Oue=function(){Nle(this,Lue);var e=aue(this,new Cue(arguments.length>0?arguments[0]:void 0));Xle||(this.size=YN(e).length)},Lue=Oue.prototype;if(Ole(Lue,{append:function(e,t){var n=sue(this);tue(arguments.length,2),bue(YN(n),{key:Zle(e),value:Zle(t)}),Xle||this.length++,n.updateURL()},delete:function(e){for(var t=sue(this),n=tue(arguments.length,1),r=YN(t),i=Zle(e),o=n<2?void 0:arguments[1],a=void 0===o?o:Zle(o),s=0;s<r.length;){var c=r[s];if(c.key!==i||void 0!==a&&c.value!==a)s++;else if(Sue(r,s,1),void 0!==a)break}Xle||(this.size=r.length),t.updateURL()},get:function(e){var t=YN(sue(this));tue(arguments.length,1);for(var n=Zle(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=YN(sue(this));tue(arguments.length,1);for(var n=Zle(e),r=[],i=0;i<t.length;i++)t[i].key===n&&bue(r,t[i].value);return r},has:function(e){for(var t=YN(sue(this)),n=tue(arguments.length,1),r=Zle(e),i=n<2?void 0:arguments[1],o=void 0===i?i:Zle(i),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var n=sue(this);tue(arguments.length,1);for(var r,i=YN(n),o=!1,a=Zle(e),s=Zle(t),c=0;c<i.length;c++)(r=i[c]).key===a&&(o?Sue(i,c--,1):(o=!0,r.value=s));o||bue(i,{key:a,value:s}),Xle||(this.size=i.length),n.updateURL()},sort:function(){var e=sue(this);nue(YN(e),(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=YN(sue(this)),r=Kle(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new Hue(this,"keys")},values:function(){return new Hue(this,"values")},entries:function(){return new Hue(this,"entries")}},{enumerable:!0}),Hle(Lue,rue,YN(Lue),{name:"entries"}),Hle(Lue,"toString",(function(){return sue(this).serialize()}),{enumerable:!0}),Xle&&Cle(Lue,"size",{get:function(){return YN(sue(this)).length},configurable:!0,enumerable:!0}),Lle(Oue,iue),Ale({global:!0,constructor:!0,forced:!xle},{URLSearchParams:Oue}),!xle&&Vle(pue)){var Uue=Ile(gue.has),Bue=Ile(gue.set),Nue=function(e){if(qle(e)){var t,n=e.body;if(Qle(n)===iue)return t=e.headers?new pue(e.headers):new pue,Uue(t,"content-type")||Bue(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),$le(e,{body:Yle(0,Zle(n)),headers:Yle(0,t)})}return e};if(Vle(due)&&Ale({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return due(e,arguments.length>1?Nue(arguments[1]):{})}}),Vle(hue)){var Vue=function(e){return Nle(this,fue),new hue(e,arguments.length>1?Nue(arguments[1]):{})};fue.constructor=Vue,Vue.prototype=fue,Ale({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Vue})}}var jue,Kue={URLSearchParams:Oue,getState:sue},Que=mj,Wue=2147483647,que=/[^\0-\u007E]/,Zue=/[.\u3002\uFF0E\uFF61]/g,$ue="Overflow: input needs wider integers to process",Yue=RangeError,Jue=Que(Zue.exec),ede=Math.floor,tde=String.fromCharCode,nde=Que("".charCodeAt),rde=Que([].join),ide=Que([].push),ode=Que("".replace),ade=Que("".split),sde=Que("".toLowerCase),cde=function(e){return e+22+75*(e<26)},lde=function(e,t,n){var r=0;for(e=n?ede(e/700):e>>1,e+=ede(e/t);e>455;)e=ede(e/35),r+=36;return ede(r+36*e/(e+38))},ude=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=nde(e,n++);if(i>=55296&&i<=56319&&n<r){var o=nde(e,n++);56320==(64512&o)?ide(t,((1023&i)<<10)+(1023&o)+65536):(ide(t,i),n--)}else ide(t,i)}return t}(e)).length,o=128,a=0,s=72;for(t=0;t<e.length;t++)(n=e[t])<128&&ide(r,tde(n));var c=r.length,l=c;for(c&&ide(r,"-");l<i;){var u=Wue;for(t=0;t<e.length;t++)(n=e[t])>=o&&n<u&&(u=n);var d=l+1;if(u-o>ede((Wue-a)/d))throw Yue($ue);for(a+=(u-o)*d,o=u,t=0;t<e.length;t++){if((n=e[t])<o&&++a>Wue)throw Yue($ue);if(n==o){for(var h=a,p=36;;){var f=p<=s?1:p>=s+26?26:p-s;if(h<f)break;var g=h-f,v=36-f;ide(r,tde(cde(f+g%v))),h=ede(g/v),p+=36}ide(r,tde(cde(h))),s=lde(a,d,l==c),a=0,l++}}a++,o++}return rde(r,"")},dde=DW,hde=kj,pde=Sle,fde=oj,gde=$Q,vde=mj,mde=o$,yde=s$,_de=L4,Gde=JK,Rde=Gee,bde=$ce,Tde=$Z,wde=f2.codeAt,Sde=function(e){var t,n,r=[],i=ade(ode(sde(e),Zue,"."),".");for(t=0;t<i.length;t++)n=i[t],ide(r,Jue(que,n)?"xn--"+ude(n):n);return rde(r,".")},Mde=Qq,Ede=A$,zde=$4,Dde=Kue,kde=Q$,Ade=kde.set,Fde=kde.getterFor("URL"),Pde=Dde.URLSearchParams,Ide=Dde.getState,Xde=fde.URL,xde=fde.TypeError,Hde=fde.parseInt,Cde=Math.floor,Ode=Math.pow,Lde=vde("".charAt),Ude=vde(/./.exec),Bde=vde([].join),Nde=vde(1..toString),Vde=vde([].pop),jde=vde([].push),Kde=vde("".replace),Qde=vde([].shift),Wde=vde("".split),qde=vde(mG("")),Zde=vde("".toLowerCase),$de=vde([].unshift),Yde="Invalid scheme",Jde="Invalid host",ehe="Invalid port",the=/[a-z]/i,nhe=/[\d+-.a-z]/i,rhe=/\d/,ihe=/^0x/i,ohe=/^[0-7]+$/,ahe=/^\d+$/,she=/^[\da-f]+$/i,che=/[\0\t\n\r #%/:<>?@[\\\]^|]/,lhe=/[\0\t\n\r #/:<>?@[\\\]^|]/,uhe=/^[\u0000-\u0020]+/,dhe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,hhe=/[\t\n\r]/g,phe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)$de(t,e%256),e=Cde(e/256);return Bde(t,".")}if("object"==Wd(e)){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=Nde(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},fhe={},ghe=Rde({},fhe,{" ":1,'"':1,"<":1,">":1,"`":1}),vhe=Rde({},ghe,{"#":1,"?":1,"{":1,"}":1}),mhe=Rde({},vhe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),yhe=function(e,t){var n=wde(e,0);return n>32&&n<127&&!Gde(t,e)?e:encodeURIComponent(e)},_he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ghe=function(e,t){var n;return 2==e.length&&Ude(the,Lde(e,0))&&(":"==(n=Lde(e,1))||!t&&"|"==n)},Rhe=function(e){var t;return e.length>1&&Ghe(qde(e,0,2))&&(2==e.length||"/"===(t=Lde(e,2))||"\\"===t||"?"===t||"#"===t)},bhe=function(e){return"."===e||"%2e"===Zde(e)},The=function(e){return".."===(e=Zde(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},whe={},She={},Mhe={},Ehe={},zhe={},Dhe={},khe={},Ahe={},Fhe={},Phe={},Ihe={},Xhe={},xhe={},Hhe={},Che={},Ohe={},Lhe={},Uhe={},Bhe={},Nhe={},Vhe={},jhe=function e(t,n,r){var i,o,a,s=Mde(t);if(n){if(o=this.parse(s))throw xde(o);this.searchParams=null}else{if(void 0!==r&&(i=new e(r,!0)),o=this.parse(s,null,i))throw xde(o);(a=Ide(new Pde)).bindURL(this),this.searchParams=a}};jhe.prototype={type:"URL",parse:function(e,t,n){var r,i,o,a,s=this,c=t||whe,l=0,u="",d=!1,h=!1,p=!1;for(e=Mde(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=Kde(e,uhe,""),e=Kde(e,dhe,"$1")),e=Kde(e,hhe,""),r=bde(e);l<=r.length;){switch(i=r[l],c){case whe:if(!i||!Ude(the,i)){if(t)return Yde;c=Mhe;continue}u+=Zde(i),c=She;break;case She:if(i&&(Ude(nhe,i)||"+"==i||"-"==i||"."==i))u+=Zde(i);else{if(":"!=i){if(t)return Yde;u="",c=Mhe,l=0;continue}if(t&&(s.isSpecial()!=Gde(_he,u)||"file"==u&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=u,t)return void(s.isSpecial()&&_he[s.scheme]==s.port&&(s.port=null));u="","file"==s.scheme?c=Hhe:s.isSpecial()&&n&&n.scheme==s.scheme?c=Ehe:s.isSpecial()?c=Ahe:"/"==r[l+1]?(c=zhe,l++):(s.cannotBeABaseURL=!0,jde(s.path,""),c=Bhe)}break;case Mhe:if(!n||n.cannotBeABaseURL&&"#"!=i)return Yde;if(n.cannotBeABaseURL&&"#"==i){s.scheme=n.scheme,s.path=Tde(n.path),s.query=n.query,s.fragment="",s.cannotBeABaseURL=!0,c=Vhe;break}c="file"==n.scheme?Hhe:Dhe;continue;case Ehe:if("/"!=i||"/"!=r[l+1]){c=Dhe;continue}c=Fhe,l++;break;case zhe:if("/"==i){c=Phe;break}c=Uhe;continue;case Dhe:if(s.scheme=n.scheme,i==jue)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=Tde(n.path),s.query=n.query;else if("/"==i||"\\"==i&&s.isSpecial())c=khe;else if("?"==i)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=Tde(n.path),s.query="",c=Nhe;else{if("#"!=i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=Tde(n.path),s.path.length--,c=Uhe;continue}s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=Tde(n.path),s.query=n.query,s.fragment="",c=Vhe}break;case khe:if(!s.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,c=Uhe;continue}c=Phe}else c=Fhe;break;case Ahe:if(c=Fhe,"/"!=i||"/"!=Lde(u,l+1))continue;l++;break;case Fhe:if("/"!=i&&"\\"!=i){c=Phe;continue}break;case Phe:if("@"==i){d&&(u="%40"+u),d=!0,o=bde(u);for(var f=0;f<o.length;f++){var g=o[f];if(":"!=g||p){var v=yhe(g,mhe);p?s.password+=v:s.username+=v}else p=!0}u=""}else if(i==jue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(d&&""==u)return"Invalid authority";l-=bde(u).length+1,u="",c=Ihe}else u+=i;break;case Ihe:case Xhe:if(t&&"file"==s.scheme){c=Ohe;continue}if(":"!=i||h){if(i==jue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(s.isSpecial()&&""==u)return Jde;if(t&&""==u&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(u))return a;if(u="",c=Lhe,t)return;continue}"["==i?h=!0:"]"==i&&(h=!1),u+=i}else{if(""==u)return Jde;if(a=s.parseHost(u))return a;if(u="",c=xhe,t==Xhe)return}break;case xhe:if(!Ude(rhe,i)){if(i==jue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()||t){if(""!=u){var m=Hde(u,10);if(m>65535)return ehe;s.port=s.isSpecial()&&m===_he[s.scheme]?null:m,u=""}if(t)return;c=Lhe;continue}return ehe}u+=i;break;case Hhe:if(s.scheme="file","/"==i||"\\"==i)c=Che;else{if(!n||"file"!=n.scheme){c=Uhe;continue}if(i==jue)s.host=n.host,s.path=Tde(n.path),s.query=n.query;else if("?"==i)s.host=n.host,s.path=Tde(n.path),s.query="",c=Nhe;else{if("#"!=i){Rhe(Bde(Tde(r,l),""))||(s.host=n.host,s.path=Tde(n.path),s.shortenPath()),c=Uhe;continue}s.host=n.host,s.path=Tde(n.path),s.query=n.query,s.fragment="",c=Vhe}}break;case Che:if("/"==i||"\\"==i){c=Ohe;break}n&&"file"==n.scheme&&!Rhe(Bde(Tde(r,l),""))&&(Ghe(n.path[0],!0)?jde(s.path,n.path[0]):s.host=n.host),c=Uhe;continue;case Ohe:if(i==jue||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&Ghe(u))c=Uhe;else if(""==u){if(s.host="",t)return;c=Lhe}else{if(a=s.parseHost(u))return a;if("localhost"==s.host&&(s.host=""),t)return;u="",c=Lhe}continue}u+=i;break;case Lhe:if(s.isSpecial()){if(c=Uhe,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=jue&&(c=Uhe,"/"!=i))continue}else s.fragment="",c=Vhe;else s.query="",c=Nhe;break;case Uhe:if(i==jue||"/"==i||"\\"==i&&s.isSpecial()||!t&&("?"==i||"#"==i)){if(The(u)?(s.shortenPath(),"/"==i||"\\"==i&&s.isSpecial()||jde(s.path,"")):bhe(u)?"/"==i||"\\"==i&&s.isSpecial()||jde(s.path,""):("file"==s.scheme&&!s.path.length&&Ghe(u)&&(s.host&&(s.host=""),u=Lde(u,0)+":"),jde(s.path,u)),u="","file"==s.scheme&&(i==jue||"?"==i||"#"==i))for(;s.path.length>1&&""===s.path[0];)Qde(s.path);"?"==i?(s.query="",c=Nhe):"#"==i&&(s.fragment="",c=Vhe)}else u+=yhe(i,vhe);break;case Bhe:"?"==i?(s.query="",c=Nhe):"#"==i?(s.fragment="",c=Vhe):i!=jue&&(s.path[0]+=yhe(i,fhe));break;case Nhe:t||"#"!=i?i!=jue&&("'"==i&&s.isSpecial()?s.query+="%27":s.query+="#"==i?"%23":yhe(i,fhe)):(s.fragment="",c=Vhe);break;case Vhe:i!=jue&&(s.fragment+=yhe(i,ghe))}l++}},parseHost:function(e){var t,n,r;if("["==Lde(e,0)){if("]"!=Lde(e,e.length-1))return Jde;if(!(t=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,h=function(){return Lde(e,d)};if(":"==h()){if(":"!=Lde(e,1))return;d+=2,u=++l}for(;h();){if(8==l)return;if(":"!=h()){for(t=n=0;n<4&&Ude(she,h());)t=16*t+Hde(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,l>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!Ude(rhe,h()))return;for(;Ude(rhe,h());){if(o=Hde(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(a=l-u,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!=l)return;return c}(qde(e,1,-1))))return Jde;this.host=t}else if(this.isSpecial()){if(e=Sde(e),Ude(che,e))return Jde;if(null===(t=function(e){var t,n,r,i,o,a,s,c=Wde(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==Lde(i,0)&&(o=Ude(ihe,i)?16:8,i=qde(i,8==o?1:2)),""===i)a=0;else{if(!Ude(10==o?ahe:8==o?ohe:she,i))return e;a=Hde(i,o)}jde(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=Ode(256,5-t))return null}else if(a>255)return null;for(s=Vde(n),r=0;r<n.length;r++)s+=n[r]*Ode(256,3-r);return s}(e)))return Jde;this.host=t}else{if(Ude(lhe,e))return Jde;for(t="",n=bde(e),r=0;r<n.length;r++)t+=yhe(n[r],fhe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Gde(_he,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Ghe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=phe(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+Bde(a,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw xde(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Khe(e.path[0]).origin}catch(n){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+phe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Mde(e)+":",whe)},getUsername:function(){return this.username},setUsername:function(e){var t=bde(Mde(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=yhe(t[n],mhe)}},getPassword:function(){return this.password},setPassword:function(e){var t=bde(Mde(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=yhe(t[n],mhe)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?phe(e):phe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ihe)},getHostname:function(){var e=this.host;return null===e?"":phe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Xhe)},getPort:function(){var e=this.port;return null===e?"":Mde(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Mde(e))?this.port=null:this.parse(e,xhe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Bde(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Lhe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Mde(e))?this.query=null:("?"==Lde(e,0)&&(e=qde(e,1)),this.query="",this.parse(e,Nhe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Mde(e))?("#"==Lde(e,0)&&(e=qde(e,1)),this.fragment="",this.parse(e,Vhe)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Khe=function(e){var t=_de(this,Qhe),n=zde(arguments.length,1)>1?arguments[1]:void 0,r=Ade(t,new jhe(e,!1,n));hde||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Qhe=Khe.prototype,Whe=function(e,t){return{get:function(){return Fde(this)[e]()},set:t&&function(e){return Fde(this)[t](e)},configurable:!0,enumerable:!0}};if(hde&&(yde(Qhe,"href",Whe("serialize","setHref")),yde(Qhe,"origin",Whe("getOrigin")),yde(Qhe,"protocol",Whe("getProtocol","setProtocol")),yde(Qhe,"username",Whe("getUsername","setUsername")),yde(Qhe,"password",Whe("getPassword","setPassword")),yde(Qhe,"host",Whe("getHost","setHost")),yde(Qhe,"hostname",Whe("getHostname","setHostname")),yde(Qhe,"port",Whe("getPort","setPort")),yde(Qhe,"pathname",Whe("getPathname","setPathname")),yde(Qhe,"search",Whe("getSearch","setSearch")),yde(Qhe,"searchParams",Whe("getSearchParams")),yde(Qhe,"hash",Whe("getHash","setHash"))),mde(Qhe,"toJSON",(function(){return Fde(this).serialize()}),{enumerable:!0}),mde(Qhe,"toString",(function(){return Fde(this).serialize()}),{enumerable:!0}),Xde){var qhe=Xde.createObjectURL,Zhe=Xde.revokeObjectURL;qhe&&mde(Khe,"createObjectURL",gde(qhe,Xde)),Zhe&&mde(Khe,"revokeObjectURL",gde(Zhe,Xde))}Ede(Khe,"URL"),dde({global:!0,constructor:!0,forced:!pde,sham:!hde},{URL:Khe});var $he=DW,Yhe=aj,Jhe=$4,epe=Qq,tpe=Sle,npe=sK("URL");$he({target:"URL",stat:!0,forced:!(tpe&&Yhe((function(){npe.canParse()})))},{canParse:function(e){var t=Jhe(arguments.length,1),n=epe(e),r=t<2||void 0===arguments[1]?void 0:epe(arguments[1]);try{return!!new npe(n,r)}catch(i){return!1}}});var rpe=rj(nK.URL),ipe=JK,ope=Pj,ape=tK,spe=rW,cpe=function(e){return void 0!==e&&(ipe(e,"value")||ipe(e,"writable"))},lpe=Dj,upe=E0;DW({target:"Reflect",stat:!0},{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return spe(t)===o?t[n]:(r=lpe.f(t,n))?cpe(r)?r.value:void 0===r.get?void 0:ope(r.get,o):ape(i=upe(t))?e(i,n,o):void 0}});var dpe=rj(nK.Reflect.get);function hpe(){var e;return hpe="undefined"!=typeof Reflect&&dpe?qte(e=dpe).call(e):function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pne(e)););return e}(e,t);if(r){var i=q2(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},hpe.apply(this,arguments)}function ppe(e,t,n){var r;return(ppe=fne()?qte(r=hne).call(r):function(e,t,n){var r=[null];h5(r).apply(r,t);var i=new(qte(Function).apply(e,r));return n&&Zte(i,n.prototype),i}).apply(null,arguments)}var fpe=oj;DW({global:!0,forced:fpe.globalThis!==fpe},{globalThis:fpe});var gpe,vpe,mpe,ype,_pe,Gpe,Rpe=rj(oj),bpe=(null===(gpe=void 0!==Rpe?Rpe:void 0)||void 0===gpe?void 0:gpe.crypto)||(null===(vpe="undefined"!=typeof global?global:void 0)||void 0===vpe?void 0:vpe.crypto)||(null===(mpe="undefined"!=typeof window?window:void 0)||void 0===mpe?void 0:mpe.crypto)||(null===(ype="undefined"!=typeof self?self:void 0)||void 0===ype?void 0:ype.crypto)||(null===(_pe="undefined"!=typeof frames?frames:void 0)||void 0===_pe||null===(_pe=_pe[0])||void 0===_pe?void 0:_pe.crypto);Gpe=bpe?function(e){for(var t=[],n=0;n<e;n+=4)t.push(bpe.getRandomValues(new Uint32Array(1))[0]);return new wpe(t,e)}:function(e){for(var t,n=[],r=function(e){var t=e,n=987654321,r=4294967295;return function(){var e=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return e/=4294967296,(e+=.5)*(Math.random()>.5?1:-1)}},i=0;i<e;i+=4){var o=r(4294967296*(t||Math.random()));t=987654071*o(),n.push(4294967296*o()|0)}return new wpe(n,e)};var Tpe=function(){function e(){J9(this,e)}return tee(e,[{key:"mixIn",value:function(e){return Ree(this,e)}},{key:"clone",value:function(){var e=new this.constructor;return Ree(e,this),e}}],[{key:"create",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ppe(this,t)}}]),e}(),wpe=function(e){$te(n,Tpe);var t=vne(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4*r.length;J9(this,n),e=t.call(this);var o=r;if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var a=o.byteLength,s=[],c=0;c<a;c+=1)s[c>>>2]|=o[c]<<24-c%4*8;e.words=s,e.sigBytes=a}else e.words=r,e.sigBytes=i;return e}return tee(n,[{key:"toString",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Spe).stringify(this)}},{key:"concat",value:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o+=1){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this}},{key:"clamp",value:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=Math.ceil(t/4)}},{key:"clone",value:function(){var e,t=hpe(pne(n.prototype),"clone",this).call(this);return t.words=Uie(e=this.words).call(e,0),t}}]),n}();t6(wpe,"random",Gpe);var Spe={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=1){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=pie(e.substr(r,2),16)<<24-r%8*4;return new wpe(n,t/2)}},Mpe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=1)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new wpe(n,t)},Epe=function(e){return Mpe(unescape(encodeURIComponent(e)))},zpe=function(e){$te(n,Tpe);var t=vne(n);function n(){var e;return J9(this,n),(e=t.call(this))._minBufferSize=0,e}return tee(n,[{key:"reset",value:function(){this._data=new wpe,this._nDataBytes=0}},{key:"_append",value:function(e){var t,n=e;"string"==typeof n&&(n=Epe(n)),Eee(t=this._data).call(t,n),this._nDataBytes+=n.sigBytes}},{key:"_process",value:function(e){var t,n=this._data,r=this.blockSize,i=n.words,o=n.sigBytes,a=o/(4*r),s=(a=e?Math.ceil(a):Math.max((0|a)-this._minBufferSize,0))*r,c=Math.min(4*s,o);if(s){for(var l=0;l<s;l+=r)this._doProcessBlock(i,l);t=Hoe(i).call(i,0,s),n.sigBytes-=c}return new wpe(t,c)}},{key:"clone",value:function(){var e=hpe(pne(n.prototype),"clone",this).call(this);return e._data=this._data.clone(),e}}]),n}(),Dpe=function(e){$te(n,zpe);var t=vne(n);function n(e){var r;return J9(this,n),(r=t.call(this)).blockSize=16,r.cfg=Ree(new Tpe,e),r.reset(),r}return tee(n,[{key:"reset",value:function(){hpe(pne(n.prototype),"reset",this).call(this),this._doReset()}},{key:"update",value:function(e){return this._append(e),this._process(),this}},{key:"finalize",value:function(e){return e&&this._append(e),this._doFinalize()}}],[{key:"_createHelper",value:function(e){return function(t,n){return new e(n).finalize(t)}}},{key:"_createHmacHelper",value:function(e){return function(t,n){return new kpe(e,n).finalize(t)}}}]),n}(),kpe=function(e){$te(n,Tpe);var t=vne(n);function n(e,r){var i;J9(this,n),i=t.call(this);var o=new e;i._hasher=o;var a=r;"string"==typeof a&&(a=Epe(a));var s=o.blockSize,c=4*s;a.sigBytes>c&&(a=o.finalize(r)),a.clamp();var l=a.clone();i._oKey=l;var u=a.clone();i._iKey=u;for(var d=l.words,h=u.words,p=0;p<s;p+=1)d[p]^=1549556828,h[p]^=909522486;return l.sigBytes=c,u.sigBytes=c,i.reset(),i}return tee(n,[{key:"reset",value:function(){var e=this._hasher;e.reset(),e.update(this._iKey)}},{key:"update",value:function(e){return this._hasher.update(e),this}},{key:"finalize",value:function(e){var t,n=this._hasher,r=n.finalize(e);return n.reset(),n.finalize(Eee(t=this._oKey.clone()).call(t,r))}}]),n}(),Ape=[],Fpe=function(e){$te(n,Dpe);var t=vne(n);function n(){return J9(this,n),t.apply(this,arguments)}return tee(n,[{key:"_doReset",value:function(){this._hash=new wpe([1732584193,4023233417,2562383102,271733878,3285377520])}},{key:"_doProcessBlock",value:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=0;c<80;c+=1){if(c<16)Ape[c]=0|e[t+c];else{var l=Ape[c-3]^Ape[c-8]^Ape[c-14]^Ape[c-16];Ape[c]=l<<1|l>>>31}var u=(r<<5|r>>>27)+s+Ape[c];u+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0}},{key:"_doFinalize",value:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash}},{key:"clone",value:function(){var e=hpe(pne(n.prototype),"clone",this).call(this);return e._hash=this._hash.clone(),e}}]),n}();Dpe._createHelper(Fpe);var Ppe,Ipe=Dpe._createHmacHelper(Fpe);!function(e,t,n){function r(e,t){var n=Y_(mG(e).call(e,t,t+2),16);return n>>>7==0?[1,n]:n>>>6==2?(n=(63&n)<<8,[2,n+=Y_(mG(e).call(e,t+2,t+4),16)]):(n=(63&n)<<16,[3,n+=Y_(mG(e).call(e,t+2,t+6),16)])}var i,o=0,a=[],s=[];for(i=0;i<4;++i)o+=(3&Y_(mG(e).call(e,8+2*i,10+2*i),16))<<2*i;var c=Y_(mG(e).call(e,16,24),16),l=2*Y_(mG(e).call(e,32,40),16);for(i=40;i<l+40;i+=2)a.push(Y_(mG(e).call(e,i,i+2),16));var u=l+40,d=Y_(mG(e).call(e,u,u+4),16);for(u+=4,i=0;i<d;++i){var h=r(e,u);u+=2*h[0];for(var p="",f=0;f<h[1];++f){var g=r(e,u);p+=String.fromCharCode(o^g[1]),u+=2*g[0]}s.push(p)}t.p=null,function e(t,n,r,i,o,c){var l,u,d,h,p,f=-1,g=[],v=null,m=[n];for(u=Math.min(n.length,r),d=0;d<u;++d)m.push(n[d]);m.p=i;for(var y=[];;)try{switch(a[t++]){case 59:g[++f]=null;break;case 36:l=((l=((l=a[t++])<<8)+a[t++])<<8)+a[t++],g[++f]=(l<<8)+a[t++];break;case 43:l=(a[t]<<8)+a[t+1],t+=2,g[++f]=s[l];break;case 3:g[++f]=void 0;break;case 52:l=(a[t]<<8)+a[t+1],t+=2,f=f-l+1,u=mG(g).call(g,f,f+l),g[f]=u;break;case 47:for(u=a[t++],d=a[t++],h=m;u>0;--u)h=h.p;g[++f]=h[d];break;case 17:l=(a[t]<<8)+a[t+1],t+=2,u=s[l],g[f]=g[f][u];break;case 44:for(u=a[t++],d=a[t++],h=m;u>0;--u)h=h.p;h[d]=g[f--];break;case 28:l=a[t++],u=g[f--],(d=function e(){var t=e._v;return(0,e._u)(t[0],arguments,t[1],t[2],this)})._v=[u,l,m],d._u=e,g[++f]=d;break;case 64:for(u=g[f--],d=null;h=y.pop();)if(2===h[0]||3===h[0]){d=h;break}if(d)t=d[2],d[0]=0,y.push(d);else{if(!v)return u;t=v[1],o=v[2],m=v[3],y=v[4],g[++f]=u,v=v[0]}break;case 67:f-=l=a[t++],d=mG(g).call(g,f+1,f+l+1),u=g[f--],h=g[f--],u._u===e?(u=u._v,v=[v,t,o,m,y],t=u[0],null==h&&(h=function(){return this}()),o=h,(m=b_(c=[d]).call(c,d)).length=Math.min(u[1],l)+1,m.p=u[2],y=[]):(p=u.apply(h,d),g[++f]=p);break;case 70:u=g[f],g[++f]=u;break;default:throw new Error("ioe")}}catch(_){for(;(l=y.pop())&&!l[0];);if(!l){e:for(;v;){for(u=v[4];l=u.pop();)if(l[0])break e;v=v[0]}if(!v)throw _;t=v[1],o=v[2],m=v[3],y=v[4],v=v[0]}1===(u=l[0])?(t=l[2],l[0]=0,y.push(l),g[++f]=_):2===u?(t=l[2],l[0]=0,y.push(l)):(t=l[3],l[0]=2,y.push(l),g[++f]=_)}}(c,[],0,t,n)}("504B0101011a4e7f000000287f4f1a01000000343b2f02002f00012f00022f00032f0004340004461100002b000143012b000243024611000343004024000000001c042c0101034000040480838086808080870180cf2080d880de808380858099808b809c80848081809a80d0808880808081809380d8809b809880d8809f80d980d88083809e80de808780d1808780d080838099808d08809d808680ba809d809b80808087808e",{get 0(){return Ipe},get 1(){return Ppe},set 1(e){Ppe=e}},void 0);var Xpe=function(){function e(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rte.CN;J9(this,e),t6(this,"appId",void 0),t6(this,"ctx",void 0),t6(this,"host",void 0),t6(this,"needSignature",!0),t6(this,"region",void 0),t6(this,"scene",void 0),t6(this,"ext",void 0),this.scene=(r={},t6(r,Gte.LIVE,1),t6(r,Gte.VOD,0),r)[n.videoType],this.ext=r6({},this.getConfigType(n.strategies)),this.appId=t,this.ctx=n,this.region=i,this.host=this.getHostByRegion()}return tee(e,[{key:"getConfigType",value:function(e){var t;if(!e)return{};var n={};return ree(t=iee(e)).call(t,(function(t){var r=e[t];r&&(n["".concat(t,"_id")]="object"===w2(r)&&r.configId?r.configId:"default")})),n}},{key:"getCacheKey",value:function(){return cee([this.appId,this.ctx.cacheKey,this.ctx.featureCenter.getH265FeatureList().isHevcSupported,this.ctx.featureCenter.getBrowserInfo(),this.ctx.featureCenter.getFeatureList().deviceId])}},{key:"fetch",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(Y9(Z9().mark((function e(){var t,n,r,i,o,a,s;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(this.generateUrl(),{mode:"cors"});case 3:if((t=e.sent).ok){e.next=6;break}throw new Error("Network response was not OK");case 6:return e.next=8,t.json();case 8:return n=e.sent,r=n.data,i=r.custom_settings.web,o=r.general_settings,a=o.use_local_cache,s=o.local_cache_expire,e.abrupt("return",r6(r6({},i),{},{use_local_cache:a,local_cache_expired_at:s>0?_te()+1e3*s:void 0,cache_key:this.getCacheKey()}));case 17:throw e.prev=17,e.t0=e.catch(0),e.t0;case 20:case"end":return e.stop()}}),e,this,[[0,17]])}))))},{key:"getHostByRegion",value:function(){var e;return(null===(e={cn:{settingsHost:"vod-settings.volcvod.com"}}[this.region])||void 0===e?void 0:e.settingsHost)||"vod-settings.volcvod.com"}},{key:"generateSearchParams",value:function(e){if(e.searchParams.set("module","web"),e.searchParams.set("aid",String(this.appId)),e.searchParams.set("region",this.region),e.searchParams.set("web_support_hardware_decode_bytevc1",String(this.ctx.featureCenter.getH265FeatureList().isHevcSupported)),e.searchParams.set("web_os",this.ctx.featureCenter.getBrowserInfo().osName),e.searchParams.set("web_os_version",this.ctx.featureCenter.getBrowserInfo().osVersion),e.searchParams.set("web_platform",this.ctx.featureCenter.getBrowserInfo().platformType),e.searchParams.set("web_browser",this.ctx.featureCenter.getBrowserInfo().browserName),e.searchParams.set("web_browser_version",this.ctx.featureCenter.getBrowserInfo().browserVersion),e.searchParams.set("web_cpu_core",String(this.ctx.featureCenter.getBrowserInfo().cpuCore)),e.searchParams.set("web_scene",String(this.scene)),e.searchParams.set("web_ext",cee(this.ext)),e.searchParams.set("device_id",this.ctx.featureCenter.getFeatureList().deviceId),this.needSignature){var t=_te();e.searchParams.set("timestamp",String(t));var n=Ppe(this.appId,this.ctx.featureCenter.getFeatureList().deviceId,this.ctx.featureCenter.getBrowserInfo().browserName,t);e.searchParams.set("signature",n)}return e}},{key:"generateUrl",value:function(){return this.generateSearchParams(new rpe("https://".concat(this.host,"/vod/settings/v1")))}}]),e}(),xpe=new Ste("VeStrategy"),Hpe=t6({},Gte.VOD,ble),Cpe=function(){function e(t){J9(this,e),t6(this,"ctx",void 0),t6(this,"configPreparePromise",void 0),t6(this,"isStrategyStarted",!1);var n=new $oe(t),r=new Ate(t,new Xpe(t.appId,{featureCenter:n,cacheKey:t.cacheKey,strategies:t.strategies,videoType:t.type||Gte.VOD}));xpe.update(t.log),this.ctx={dataCenter:r,featureCenter:n,playerManager:new ple,tracker:new fle({trackInfo:t.tracker,type:t.type||Gte.VOD,lineAppId:t.appId,lineUserId:t.deviceId,appId:t.type===Gte.VOD?577780:579013,channel:t.region,cxt:{dataCenter:r,featureCenter:n}})},this.prepare(!0)}var t,n,r,i,o;return tee(e,[{key:"start",value:(o=Y9(Z9().mark((function e(){var t,n=this;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStrategyStarted){e.next=2;break}return e.abrupt("return");case 2:if(this.isStrategyStarted=!0,xpe.info("Start"),this.ctx.tracker.track("strategy_start",{}),this.ctx.featureCenter.getFeatureList().deviceId){e.next=13;break}return e.next=8,this.getTeaToken();case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0={};case 11:t=e.t0,this.ctx.featureCenter.updateFeatureList({deviceId:t.user_unique_id||t.web_id||""});case 13:return this.configPreparePromise=this.ctx.dataCenter.fetchStrategyConfig(),this.configPreparePromise.then((function(){return n.prepare(!1)})),e.abrupt("return",this.configPreparePromise);case 16:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"updateFeatures",value:(i=Y9(Z9().mark((function e(t){var n,r,i;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&null!==(n=this.ctx)&&void 0!==n&&null!==(n=n.featureCenter)&&void 0!==n&&n.updateFeatureList){e.next=2;break}return e.abrupt("return");case 2:if(i=null===(r=this.ctx.featureCenter.getFeatureList())||void 0===r?void 0:r.deviceId,this.ctx.featureCenter.updateFeatureList(r6({},t)),!t.deviceId||t.deviceId===i){e.next=6;break}return e.abrupt("return",this.reloadConfig());case 6:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"reloadConfig",value:(r=Y9(Z9().mark((function e(){return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.configPreparePromise=this.ctx.dataCenter.fetchStrategyConfig(),e.abrupt("return",this.configPreparePromise);case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getTeaToken",value:(n=Y9(Z9().mark((function e(){var t=this;return Z9().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new nee((function(e){var n,r,i;if("function"==typeof(null===(n=t.ctx.tracker)||void 0===n||null===(n=n.tracker)||void 0===n?void 0:n.getToken))return t.ctx.tracker.tracker.getToken((function(t){return e(t)}));var o=((null===(r=t.ctx.tracker)||void 0===r||null===(r=r.tracker)||void 0===r||null===(i=r.getConfig)||void 0===i?void 0:i.call(r))||{}).user;return e(void 0===o?{}:o)})));case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"prepare",value:function(e){var t,n=this,r=this.ctx.dataCenter.getInitStrategyConfig()||{},i=this.ctx.dataCenter.getServiceStrategyConfig()||{};ree(t=iee(r)).call(t,(function(t){var o,a,s,c,l,u,d;(null===(o=r[t])||void 0===o?void 0:o.disabled)||(null==i||null===(a=i[t])||void 0===a?void 0:a.disabled)||null===(s=r[t])||void 0===s||null===(s=s.Strategy)||void 0===s||null===(c=s[e?"prepareBeforeStarted":"prepareAfterStarted"])||void 0===c||c.call(s,{ctx:n.ctx,Strategy:null===(l=r[t])||void 0===l?void 0:l.Strategy,config:r6(r6({},null===(u=r[t])||void 0===u?void 0:u.config),null==i||null===(d=i[t])||void 0===d?void 0:d.config)})}))}}],[{key:"init",value:function(t){var n;if(xpe.update(null==t?void 0:t.log),null!=t&&t.appId&&t.strategies){var r={};ree(n=iee(t.strategies)).call(n,(function(e){var n,i;null!==(n=t.strategies)&&void 0!==n&&n[e]&&"object"===w2(null===(i=t.strategies)||void 0===i?void 0:i[e])&&(r[e]=t.strategies[e])}));var i=r6(r6({},t),{},{strategies:r,type:t.type||Gte.VOD});if(xpe.info("Init",i),i.type===Gte.VOD||i.type===Gte.LIVE)return i.type===Gte.VOD?(e._vodInst=e._vodInst||new e(i),e._vodInst.ctx.tracker.track("strategy_init",{}),e._vodInst):(e._liveInst=e._liveInst||new e(i),e._liveInst.ctx.tracker.track("strategy_init",{}),e._liveInst);xpe.error("Init Invalid Strategy Type=".concat(t.type))}else xpe.error("Init without appId or strategies",t)}},{key:"bootstrap",value:function(t){var n;return null===(n=e.init(t))||void 0===n?void 0:n.start()}},{key:"inst",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gte.VOD;return t===Gte.VOD?e._vodInst:t===Gte.LIVE?e._liveInst:null}},{key:"recLive",value:function(t,n){return e.rec(t,n,Gte.LIVE)}},{key:"recAsync",value:(t=Y9(Z9().mark((function t(n,r){var i,o,a=arguments;return Z9().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.length>2&&void 0!==a[2]?a[2]:Gte.VOD,o=e.inst(i||Gte.VOD),xpe.info("recAsync",o,r,i),null!=o&&o.configPreparePromise){t.next=6;break}return xpe.error("VeStrategyNotInitOrStart"),t.abrupt("return",{plugins:[],pluginConfiguration:{},result:{}});case 6:return t.next=8,o.configPreparePromise;case 8:return t.abrupt("return",e.rec(n,r,i));case 9:case"end":return t.stop()}}),t)}))),function(e,n){return t.apply(this,arguments)})},{key:"rec",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Gte.VOD;try{return e._rec(t,n,r)}catch(jO){var i;xpe.error("VeStrategyRecError");var o=e.inst(r);return null==o||null===(i=o.ctx)||void 0===i||null===(i=i.tracker)||void 0===i||i.track("strategy_js_error",{type:r,option:cee(null!=t?t:{}),common_config:cee(null!=n?n:{})}),{plugins:[],pluginConfiguration:{},result:{}}}}},{key:"reportABInfo",value:function(t){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gte.VOD;Gte.VOD!==i?Gte.LIVE!==i||null===(n=e._liveInst)||void 0===n||null===(n=n.ctx)||void 0===n||null===(n=n.tracker)||void 0===n||n.bindTrackerABVersion(t):null===(r=e._vodInst)||void 0===r||null===(r=r.ctx)||void 0===r||null===(r=r.tracker)||void 0===r||r.bindTrackerABVersion(t)}},{key:"getServiceConfig",value:function(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gte.VOD;return Gte.VOD===r?(null===(t=e._vodInst)||void 0===t||null===(t=t.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}:Gte.LIVE===r&&(null===(n=e._liveInst)||void 0===n||null===(n=n.ctx)||void 0===n||null===(n=n.dataCenter)||void 0===n?void 0:n.getServiceStrategyConfig())||{}}},{key:"apply",value:function(t,n,r){var i;if(!t||!n)return t;if(((null==r?void 0:r.type)||Gte.VOD)===Gte.VOD&&null!==(i=e._vodInst)&&void 0!==i&&i.ctx){var o,a=(null==r?void 0:r.Adapter)||(null===(o=e._vodInst.ctx.dataCenter.getAppConfig())||void 0===o||null===(o=o.adapter)||void 0===o?void 0:o.Adapter)||Hpe[Gte.VOD];return a&&(t=(new a).apply(t,n)),t}return t}},{key:"_rec",value:function(t,n){var r,i,o,a,s,c,l,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Gte.VOD,d=e.inst(u||Gte.VOD);if(xpe.info("rec",d,n,u),!d)return xpe.error("VeStrategyNotInit"),{plugins:[],pluginConfiguration:{},result:{}};var h={plugins:[Rle],pluginConfiguration:t6({},Rle.pluginName,{}),result:{},strategyPluginKeys:Rle.pluginName},p=new dle(d.ctx),f=d.ctx.dataCenter.getServiceStrategyConfig()||{},g=d.ctx.dataCenter.getInitStrategyConfig()||{};ree(r=iee(g)).call(r,(function(e){var n,r=g[e],i=f[e],o=null==t?void 0:t[e];if(null!=r&&r.disabled||null!=i&&i.disabled||null!=o&&o.disabled)xpe.warn("StrategyDisabled",r,i,o);else{var a,s,c=r6(r6(r6({},r),o),{},{config:Ree({},null==r?void 0:r.config,null==i?void 0:i.config,null==o?void 0:o.config)});(null===(n=c.Strategy)||void 0===n?void 0:n.strategyName)===e?p.registerStrategy(c):xpe.warn("StrategyNameIllegal",Eee(a="".concat(null===(s=c.Strategy)||void 0===s?void 0:s.strategyName,"!==")).call(a,e))}})),ree(i=p.getStrategyList()).call(i,(function(e){var t,r,i;try{var o;i=(null==e||null===(o=e.getRecommendation)||void 0===o?void 0:o.call(e,n))||{plugins:[],pluginConfiguration:{},result:{}}}catch(a){return xpe.error("StrategyRecommendError",a),void d.ctx.tracker.track("strategy_exe_error",{strategy_name:null==e?void 0:e.strategyName})}h.plugins=Eee(t=h.plugins).call(t,i.plugins||[]),h.pluginConfiguration=r6(r6({},h.pluginConfiguration),i.pluginConfiguration),h.result=r6(r6({},h.result),{},t6({},e.strategyName,r6({_strategyConfig:null===(r=e.getStrategyConfig)||void 0===r?void 0:r.call(e)},i.result)))}));var v=d.ctx.dataCenter.getAppConfig();ree(o=iee(h.pluginConfiguration)).call(o,(function(e){h.pluginConfiguration[e]=r6(r6({},h.pluginConfiguration[e]),{},{ctx:d.ctx,strategyCenter:p,videoType:null==v?void 0:v.type})})),xpe.info("StrategyRecommendResult",h);var m=null!==(a=h.result)&&void 0!==a?a:{};return h.strategyKeys=zee(s=iee(m)).call(s,(function(e){var t;return"object"===w2(m[e])&&(null===(t=m[e])||void 0===t?void 0:t.enable)})).join("|"),h.strategyPluginKeys=null===(c=h.plugins)||void 0===c||null===(l=xee(c))||void 0===l||null===(l=l.call(c,(function(e){return null==e?void 0:e.pluginName})))||void 0===l?void 0:l.join("|"),d.ctx.tracker.track("strategy_rec_info",{strategy_keys:h.strategyKeys,strategy_plugin_keys:h.strategyPluginKeys,strategy_info:cee(h.result)}),h}}]),e}();t6(Cpe,"_vodInst",void 0),t6(Cpe,"_liveInst",void 0);var Ope=["Strategy","disabled","config"];function Lpe(e){if(!e||"boolean"==typeof e)return{config:{}};e.Strategy,e.disabled;var t=e.config,n=rx(e,Ope);return eh(eh({},e),{},{config:eh(eh({},n),null!=t?t:{})})}var Upe,Bpe=function(){function e(t){var n,r=this;Zm(this,e),Yd(this,"config",void 0),Yd(this,"tea",void 0),Yd(this,"Collector",void 0),Yd(this,"_loadPlugin",void 0),Yd(this,"webId",void 0),Yd(this,"status",0),Yd(this,"initPromise",void 0),Yd(this,"_strategyWrappers",{}),this.tea=t.tea,this.Collector=t.Collector,this._loadPlugin=t.loadPlugin,qG(n=t.strategies).call(n,(function(e){r._strategyWrappers[e.strategyKey]=new e(r)}))}var t,n,r,i,o,a;return Ym(e,[{key:"preload",get:function(){return this._strategyWrappers.preload}},{key:"h265",get:function(){return this._strategyWrappers.h265}},{key:"rtmAdaptiveBuffer",get:function(){return this._strategyWrappers.rtmAdaptiveBuffer}},{key:"init",value:(a=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.initPromise||(this.initPromise=this.initOnce(t)),e.abrupt("return",this.initPromise);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"prepare",value:function(){return this.initPromise||qT.resolve(this.isReady())}},{key:"getDeviceId",value:function(){var e;return null===(e=this.config)||void 0===e?void 0:e.deviceId}},{key:"isReady",value:function(){return 2===this.status}},{key:"getStrategyRecommendations",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.isReady()?(null===(e=this.config)||void 0===e||null===(e=e.Module)||void 0===e?void 0:e.rec(t,n,Gte.LIVE))||{}:{plugins:[],pluginConfiguration:{}}}},{key:"getStrategyRecommendationsAsync",value:(o=qm(Qm().mark((function e(){var t,n,r,i,o=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>0&&void 0!==o[0]?o[0]:void 0,r=o.length>1&&void 0!==o[1]?o[1]:void 0,this.isReady()){e.next=4;break}return e.abrupt("return",{plugins:[],pluginConfiguration:{}});case 4:return e.next=6,null===(t=this.config)||void 0===t||null===(t=t.Module)||void 0===t?void 0:t.recAsync(n,r);case 6:return i=e.sent,e.abrupt("return",i);case 8:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"fetchWebId",value:(i=qm(Qm().mark((function e(){var t,n,r=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=this.config)||void 0===t||!t.deviceId){e.next=2;break}return e.abrupt("return",qT.resolve(null===(n=this.config)||void 0===n?void 0:n.deviceId));case 2:return e.abrupt("return",new qT((function(e){var t;return null!==(t=r.tea)&&void 0!==t&&t.getToken?r.tea.getToken((function(t){e(null==t?void 0:t.web_id)})):e("default_web_id")})).then((function(e){return r.config&&(r.config.deviceId=e),r.webId})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fetchVeStrategy",value:(r=qm(Qm().mark((function e(){var t,n=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=this.config)||void 0===t||!t.Module){e.next=2;break}return e.abrupt("return");case 2:return e.abrupt("return",this._loadPlugin("vestrategy").then((function(e){n.config&&e&&(n.config.Module=e)})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"fetchStrategies",value:(n=qm(Qm().mark((function e(){var t,n,r,i=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},null!==(t=this.config)&&void 0!==t&&t.strategies){e.next=3;break}return e.abrupt("return",r);case 3:return e.next=5,qT.all(zS(n=jG(this.config.strategies)).call(n,function(){var e=qm(Qm().mark((function e(t){var n,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=null===(n=i.config)||void 0===n?void 0:n.strategies[t]){e.next=3;break}return e.abrupt("return");case 3:if(!0===o&&(o={}),a=o.Strategy){e.next=9;break}return e.next=8,i._loadPlugin(t);case 8:a=e.sent;case 9:r[t]=eh(eh({},o),{},{Strategy:a}),r[t]=Lpe(r[t]);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 5:return this.config.strategies=r,e.abrupt("return",r);case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"initOnce",value:(t=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.appId){e.next=2;break}return e.abrupt("return");case 2:return this.status=1,this.config=t,e.prev=4,e.next=7,qT.all([this.fetchWebId(),this.fetchVeStrategy()]);case 7:return e.next=9,this.fetchStrategies();case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(4);case 13:return n=this.config,r=n.appId,i=n.deviceId,o=n.Module,r&&i&&o?(o.bootstrap(eh(eh({},this.config),{},{tracker:{Collector:this.Collector,enableABVersion:!1}})),this.status=2):this.status=3,e.abrupt("return",this.isReady());case 16:case"end":return e.stop()}}),e,this,[[4,11]])}))),function(e){return t.apply(this,arguments)})}]),e}(),Npe=function(){return(Npe=DT||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Vpe(e,t){var n="function"==typeof YG&&_M(e);if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function jpe(){for(var e=[],t=0;t<arguments.length;t++)e=b_(e).call(e,Vpe(arguments[t]));return e}var Kpe,Qpe,Wpe,qpe,Zpe=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 n=this;e&&t&&"function"==typeof t&&this.on(e,(function r(i){t(i),n.off(e,r)}))},e.prototype.off=function(e,t){if(e&&this._hooks[e]&&this._hooks[e].length)if(t){var n,r,i=hR(n=this._hooks[e]).call(n,t);-1!==i&&sM(r=this._hooks[e]).call(r,i,1)}else this._hooks[e]=[]},e.prototype.emit=function(e,t,n){if(n){var r;if(!e)return;-1!==hR(r=this._cache).call(r,n)?this._emit(e,t):(this._hooksCache.hasOwnProperty(n)||(this._hooksCache[n]={}),this._hooksCache[n].hasOwnProperty(e)||(this._hooksCache[n][e]=[]),this._hooksCache[n][e].push(t))}else this._emit(e,t)},e.prototype._emit=function(e,t){var n;e&&this._hooks[e]&&this._hooks[e].length&&qG(n=jpe(this._hooks[e])).call(n,(function(e){try{e(t)}catch(n){}}))},e.prototype.set=function(e){var t;e&&-1===hR(t=this._cache).call(t,e)&&this._cache.push(e)},e}(),$pe=function(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)},Ype=function(e){return uS(e)},Jpe=(Kpe=+vR()+Number(mG(Upe=""+Math.random()).call(Upe,2,8)),function(){return Kpe+=1}),efe=function(e){return function(e,t,n){if("string"==typeof e&&"number"==typeof n){var r,i=[];n=n<=25?n:n%25;var o=String.fromCharCode(n+97);r=e.split(o);for(var a=0;a<r.length;a++){var s=Y_(r[a],n);s=1*s^64;var c=String.fromCharCode(s);i.push(c)}return i.join("")}}(e,0,25)},tfe=function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},nfe=function(e){tfe()?window.addEventListener("pagehide",e,!1):window.addEventListener("beforeunload",e,!1)},rfe=function(){var e,t=0;return qG(e=["hidden","msHidden","webkitHidden"]).call(e,(function(e){void 0!==document[e]&&(t=1)})),t},ife=function(e){var t=document.createElement("a");return t.href=e,t},ofe=function(e){var t={};try{var n,r=ife(e).search;if(!r)return t;qG(n=(r=mG(r).call(r,1)).split("&")).call(n,(function(e){var n,r,i=e.split("=");i.length&&(n=i[0],r=i[1]);try{t[n]=decodeURIComponent(void 0===r?"":r)}catch(o){t[n]=r}}))}catch(i){}return t},afe=function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t},sfe=(function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=PT(n);/^[\{\[]/.test(a)&&(n=a)}catch(l){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in o)o[c]&&(s+="; "+c,!0!==o[c]&&(s+="="+o[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),c=mG(s).call(s,1).join("=");n||'"'!==c.charAt(0)||(c=mG(c).call(c,1,-1));try{var l=t(s[0]);if(c=(r.read||r)(c,l)||t(c),n)try{c=JSON.parse(c)}catch(u){}if(i[l]=c,e===l)break}catch(u){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))},e.exports=n()}(Qpe={exports:{}}),Qpe.exports),cfe=function(e,t){try{return e?sfe.get(e):sfe.get()}catch(n){return""}},lfe=function(e,t,n,r){try{var i=r||document.domain,o=+new Date+(n||6048e5);sfe.set(e,t,{expires:new Date(o),path:"/",domain:i})}catch(a){}},ufe=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,t){return cfe(e)},e.prototype.setCookie=function(e,t,n,r){lfe(e,t,n,r)},e}(),dfe={getItem:function(e){try{var t=localStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);localStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{localStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return cfe(e)},setCookie:function(e,t,n,r){lfe(e,t,n,r)},isSupportLS:function(){try{return localStorage.setItem("_ranger-test-key","hi"),localStorage.getItem("_ranger-test-key"),localStorage.removeItem("_ranger-test-key"),!0}catch(VO){return!1}}()},hfe={getItem:function(e){try{var t=sessionStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);sessionStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{sessionStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return cfe(e)},setCookie:function(e,t,n,r){lfe(e,t,n,r)},isSupportSession:function(){try{return sessionStorage.setItem("_ranger-test-key","hi"),sessionStorage.getItem("_ranger-test-key"),sessionStorage.removeItem("_ranger-test-key"),!0}catch(VO){return!1}}()},pfe=function(){function e(e,t){this._storage=t&&"session"===t?hfe:!e&&dfe.isSupportLS?dfe:new ufe}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,n,r){this._storage.setCookie(e,t,n,r)},e.prototype.removeItem=function(e){this._storage.removeItem(e)},e}(),ffe=function(){function e(e,t,n){this.appid=e,this.domain=t,this.userAgent=window.navigator.userAgent,this.appVersion=window.navigator.appVersion,this.cookie_expire=n}return e.prototype.init=function(){var e,t=window.navigator.userAgent,n=window.navigator.language,r=document.referrer,i=r?ife(r).hostname:"",o=ofe(window.location.href),a=/Mobile|htc|mini|Android|iP(ad|od|hone)/.test(this.appVersion)?"wap":"web",s=(null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType)||"";this.utm=function(e,t,n,r){var i=new pfe(!1),o=new pfe(!1,"session"),a=e?"_tea_utm_cache_"+e:"_tea_utm_cache",s=e?"_$utm_from_url_"+e:"_$utm_from_url",c={},l=["tr_shareuser","tr_admaster","tr_param1","tr_param2","tr_param3","tr_param4","$utm_from_url"],u={ad_id:Number(t.ad_id)||void 0,campaign_id:Number(t.campaign_id)||void 0,creative_id:Number(t.creative_id)||void 0,utm_source:t.utm_source,utm_medium:t.utm_medium,utm_campaign:t.utm_campaign,utm_term:t.utm_term,utm_content:t.utm_content,tr_shareuser:t.tr_shareuser,tr_admaster:t.tr_admaster,tr_param1:t.tr_param1,tr_param2:t.tr_param2,tr_param3:t.tr_param3,tr_param4:t.tr_param4};try{var d=!1;for(var h in u)u[h]&&(-1!==hR(l).call(l,h)?(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data[h]=u[h]):c[h]=u[h],d=!0);if(d)o.setItem(s,"1"),i.setCookie(a,PT(c),r,n);else{var p=i.getCookie(a,n);p&&(c=JSON.parse(p))}o.getItem(s)&&(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data.$utm_from_url=1)}catch(f){return u}return c}(this.appid,o,this.domain,this.cookie_expire);var c=this.browser(),l=this.os();return{browser:c.browser,browser_version:c.browser_version,platform:a,os_name:l.os_name,os_version:l.os_version,userAgent:t,screen_width:window.screen&&window.screen.width,screen_height:window.screen&&window.screen.height,device_model:this.getDeviceModel(l.os_name),language:n,referrer:r,referrer_host:i,network_type:s,utm:this.utm,latest_data:this.last(r,i)}},e.prototype.last=function(e,t){var n="",r="",i="",o=location.hostname,a=!1;if(e&&t&&o!==t){n=e,r=t,a=!0;var s=ofe(e);s.keyword&&(i=s.keyword)}return{$latest_referrer:n,$latest_referrer_host:r,$latest_search_keyword:i,isLast:a}},e.prototype.browser=function(){var e,t,n="",r=""+iE(this.appVersion),i=this.userAgent;return-1!==hR(i).call(i,"Edge")||-1!==hR(i).call(i,"Edg")?(n="Microsoft Edge",-1!==hR(i).call(i,"Edge")?(e=hR(i).call(i,"Edge"),r=i.substring(e+5)):(e=hR(i).call(i,"Edg"),r=i.substring(e+4))):-1!==(e=hR(i).call(i,"MSIE"))?(n="Microsoft Internet Explorer",r=i.substring(e+5)):-1!==(e=hR(i).call(i,"MetaSr"))?(n="sougoubrowser",r=i.substring(e+7,e+10)):-1!==hR(i).call(i,"MQQBrowser")||-1!==hR(i).call(i,"QQBrowser")?(n="qqbrowser",-1!==hR(i).call(i,"MQQBrowser")?(e=hR(i).call(i,"MQQBrowser"),r=i.substring(e+11,e+15)):-1!==hR(i).call(i,"QQBrowser")&&(e=hR(i).call(i,"QQBrowser"),r=i.substring(e+10,e+25))):-1!==hR(i).call(i,"Chrome")?-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"360"))?(n="360browser",r=i.substring(hR(i).call(i,"Chrome")+7)):-1!==hR(i).call(i,"baidubrowser")||-1!==hR(i).call(i,"BIDUBrowser")?(-1!==hR(i).call(i,"baidubrowser")?(e=hR(i).call(i,"baidubrowser"),r=i.substring(e+13,e+16)):-1!==hR(i).call(i,"BIDUBrowser")&&(e=hR(i).call(i,"BIDUBrowser"),r=i.substring(e+12,e+15)),n="baidubrowser"):-1!==(e=hR(i).call(i,"xiaomi"))?-1!==hR(i).call(i,"openlanguagexiaomi")?(n="openlanguage xiaomi",r=i.substring(e+7,e+13)):(n="xiaomi",r=i.substring(e-7,e-1)):-1!==(e=hR(i).call(i,"TTWebView"))?(n="TTWebView",r=i.substring(e+10,e+23)):(-1!==(e=hR(i).call(i,"Chrome"))||-1!==(e=hR(i).call(i,"Chrome")))&&(n="Chrome",r=i.substring(e+7)):-1!==hR(i).call(i,"Safari")?-1!==(e=hR(i).call(i,"QQ"))?(n="qqbrowser",r=i.substring(e+10,e+16)):-1!==(e=hR(i).call(i,"Safari"))&&(n="Safari",r=i.substring(e+7),-1!==(e=hR(i).call(i,"Version"))&&(r=i.substring(e+8))):-1!==(e=hR(i).call(i,"Firefox"))?(n="Firefox",r=i.substring(e+8)):-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"QQ"))&&(n="qqbrowser",r=i.substring(e+3,e+8)),-1!==(t=hR(r).call(r,";"))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r," "))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r,")"))&&(r=r.substring(0,t)),{browser:n,browser_version:r}},e.prototype.os=function(){for(var e,t="",n="",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:"Windows",r:/(Windows|Windows NT)/},{s:"Android",r:/Android/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"chromeOS",r:/CrOS/},{s:"Linux",r:/(Linux|X11)/},{s:"Sun OS",r:/SunOS/}],i=0;i<r.length;i++){var o=r[i];if(o.r.test(this.userAgent)){"Mac OS X"===(t=o.s)&&this.isNewIpad()&&(t="iOS");break}}var a,s,c=function(e,t){var n=e.exec(t);return n&&n[1]?n[1]:""},l=function(e,t){var n=RegExp("(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:"+e+")","i").exec(t);return n?mG(n).call(n,1)[0]:""};switch(/Windows/.test(t)&&(n=c(/Windows (.*)/,t),t="windows"),t){case"Mac OS X":n=l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent),t="mac";break;case"Android":(s=c(/Android ([\.\_\d]+)/,a=this.userAgent))||(s=c(/Android\/([\.\_\d]+)/,a)),n=s,t="android";break;case"iOS":n=this.isNewIpad()?l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent):(n=/OS (\d+)_(\d+)_?(\d+)?/.exec(this.appVersion))?n[1]+"."+n[2]+"."+(0|n[3]):"",t="ios";break;case"chromeOS":var u=hR(e=this.userAgent).call(e,"x86_64");n=this.userAgent.substring(u+7,u+16)}return{os_name:t,os_version:n}},e.prototype.getDeviceModel=function(e){var t="";try{var n;if("android"===e)qG(n=navigator.userAgent.split(";")).call(n,(function(e){hR(e).call(e,"Build/")>-1&&(t=mG(e).call(e,0,hR(e).call(e,"Build/")))}));else if("ios"===e||"mac"===e||"windows"===e)if(this.isNewIpad())t="iPad";else{var r=navigator.userAgent.replace("Mozilla/5.0 (",""),i=hR(r).call(r,";");t=-1===i?"":mG(r).call(r,0,i)}}catch(o){return pE(t).call(t)}return pE(t).call(t)},e.prototype.isNewIpad=function(){return void 0!==this.userAgent&&"MacIntel"===navigator.platform&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1},e}(),gfe={cn:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1gz22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k"},vfe={cn:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az28z1gz1hz1gz1cz18z1nz1gz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz21z1ez18z1jz1gz49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz1kz18z1jz1gz24z18z49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",my:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z49z19z1bz49z1kz27z4az1jz18z20z1iz1mz1dz1dz1gz1az1cz4az1az1mz1k"},mfe="5.3.1",yfe=(efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z1cz1bz1gz22z1mz20z49z20z18z1lz1ez1cz20z21z4az1hz21"),efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1az1mz20z1cz4az1hz21"),efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1jz1mz18z1bz1cz20z4az1hz21"),efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1fz1cz18z22z1kz18z1nz49z1az1mz20z1c")),_fe=(efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz4fz49z1bz18z22z18z4az24z1mz1jz1az1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz1bz18z22z18z49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz22z1cz21z22z1cz20z49z1cz24z1cz1lz22z49z1gz1lz21z1nz1cz1az22z1mz20"),function(){function e(e,t){this.collector=e,this.config=t,this.eventNameWhiteList=["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","__bav_slide"],this.paramsNameWhiteList=["$inactive","$inline","$target_uuid_list","$source_uuid","$is_spider","$source_id","$is_first_time","_staging_flag"],this.regStr=new RegExp("^[a-zA-Z0-9][a-z0-9A-Z_.-]{1,255}$")}return e.prototype.checkVerify=function(e){var t=this;if(!e||!e.length)return!1;var n=e[0];if(!n)return!1;var r=n.events,i=n.header;if(!r||!r.length)return!1;var o=!0;return qG(r).call(r,(function(e){if(!e)return o=!1,void(e.checkEvent="事件异常");t.checkEventName(e.event)||(o=!1,e.checkEvent="事件名不能以 $ or __开头"),t.checkEventParams(e.params)||(o=!1,e.checkParams="属性名不能以 $ or __开头")})),this.checkEventParams(i)||(o=!1),o},e.prototype.checkEventName=function(e){return!!e&&this.calculate(e,"event")},e.prototype.checkEventParams=function(e){var t=e;if("string"==typeof e&&(t=JSON.parse(t)),!jG(t).length)return!0;for(var n in t)return!(!this.calculate(n,"params")||"string"==typeof t[n]&&t[n].length>1024&&(console.warn("params: "+n+" can not over 1024 byte, please check;"),1));return!0},e.prototype.calculate=function(e,t){var n;return-1!==hR(n="event"===t?this.eventNameWhiteList:this.paramsNameWhiteList).call(n,e)||!new RegExp("^\\$").test(e)&&!new RegExp("^__").test(e)||(console.warn(("event"===t?"event":"params")+" name: "+e+" can not start with $ or __, pleace check;"),!1)},e}());!function(e){e.Init="init",e.Config="config",e.Start="start",e.Ready="ready",e.UnReady="un-ready",e.TokenComplete="token-complete",e.TokenStorage="token-storage",e.TokenFetch="token-fetch",e.TokenError="token-error",e.ConfigUuid="config-uuid",e.ConfigWebId="config-webid",e.ConfigDiD="config-device-id",e.ConfigDomain="config-domain",e.CustomWebId="custom-webid",e.TokenChange="token-change",e.TokenReset="token-reset",e.ConfigTransform="config-transform",e.EnvTransform="env-transform",e.SessionReset="session-reset",e.SessionResetTime="session-reset-time",e.SetSessionId="set-session-id",e.Event="event",e.Events="events",e.EventNow="event-now",e.CleanEvents="clean-events",e.BeconEvent="becon-event",e.SubmitBefore="submit-before",e.SubmitScuess="submit-scuess",e.SubmitAfter="submit-after",e.SubmitError="submit-error",e.SubmitVerify="submit-verify",e.CustomHeader="custom-request-header",e.SDKInnerError="sdk-inner-error",e.SDKRunTimeError="sdk-run-time-error",e.LogSetting="log-setting",e.LogSettingReady="log-setting-ready",e.Stay="stay",e.ResetStay="reset-stay",e.StayReady="stay-ready",e.SetStay="set-stay",e.RouteChange="route-change",e.RouteReady="route-ready",e.Ab="ab",e.AbVar="ab-var",e.AbAllVars="ab-all-vars",e.AbConfig="ab-config",e.AbExternalVersion="ab-external-version",e.AbVersionChangeOn="ab-version-change-on",e.AbVersionChangeOff="ab-version-change-off",e.AbOpenLayer="ab-open-layer",e.AbCloseLayer="ab-close-layer",e.AbReady="ab-ready",e.AbComplete="ab-complete",e.AbTimeout="ab-timeout",e.Profile="profile",e.ProfileSet="profile-set",e.ProfileSetOnce="profile-set-once",e.ProfileUnset="profile-unset",e.ProfileIncrement="profile-increment",e.ProfileAppend="profile-append",e.ProfileClear="profile-clear",e.Autotrack="autotrack",e.AutotrackReady="autotrack-ready",e.CepReady="cep-ready",e.TracerReady="tracer-ready",e.sessionRecord="session-record",e.SessionRecordStart="session-record-start",e.SessionRecordPause="session-record-pause",e.SessionRecordEnd="session-record-end",e.SessionRecordReport="session-record-report",e.DestoryInstance="destory-instance",e.VisualCollectReady="visual-collect-ready",e.VisualApiReady="visual-api-ready",e.VisualApiUpdate="visual-api-update"}(Wpe||(Wpe={})),function(e){e.DEBUGGER_MESSAGE="debugger-message",e.DEBUGGER_MESSAGE_SDK="debugger-message-sdk",e.DEBUGGER_MESSAGE_FETCH="debugger-message-fetch",e.DEBUGGER_MESSAGE_FETCH_RESULT="debugger-message-fetch-result",e.DEBUGGER_MESSAGE_EVENT="debugger-message-event",e.DEVTOOL_WEB_READY="devtool-web-ready"}(qpe||(qpe={}));var Gfe=Wpe,Rfe=void 0,bfe=(new Date).getTimezoneOffset(),Tfe=Y_(""+-bfe/60,10),wfe=60*bfe,Sfe=function(){function e(e,t){var n=this;this.is_first_time=!0,this.configPersist=!1,this.initConfig=t,this.collect=e;var r=new ffe(t.app_id,t.cookie_domain||"",t.cookie_expire||7776e6).init();this.eventCheck=new _fe(e,t);var i="__tea_cache_first_"+t.app_id;this.configKey="__tea_cache_config_"+t.app_id,this.sessionStorage=new pfe(!1,"session"),this.localStorage=new pfe(!1,"local"),t.configPersist&&(this.configPersist=!0,this.storage=1===t.configPersist?this.sessionStorage:this.localStorage);var o=this.localStorage.getItem(i);o&&1==o?this.is_first_time=!1:(this.is_first_time=!0,this.localStorage.setItem(i,"1")),this.envInfo={user:{user_unique_id:Rfe,user_type:Rfe,user_id:Rfe,user_is_auth:Rfe,user_is_login:Rfe,device_id:Rfe,web_id:Rfe,ip_addr_id:Rfe,user_unique_id_type:Rfe},header:{app_id:Rfe,app_name:Rfe,app_install_id:Rfe,install_id:Rfe,app_package:Rfe,app_channel:Rfe,app_version:Rfe,ab_version:Rfe,os_name:r.os_name,os_version:r.os_version,device_model:r.device_model,ab_client:Rfe,traffic_type:Rfe,client_ip:Rfe,device_brand:Rfe,os_api:Rfe,access:Rfe,language:r.language,region:Rfe,app_language:Rfe,app_region:Rfe,creative_id:r.utm.creative_id,ad_id:r.utm.ad_id,campaign_id:r.utm.campaign_id,log_type:Rfe,rnd:Rfe,platform:r.platform,sdk_version:mfe,sdk_lib:"js",province:Rfe,city:Rfe,timezone:Tfe,tz_offset:wfe,tz_name:Rfe,sim_region:Rfe,carrier:Rfe,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:r.utm.utm_term,utm_content:r.utm.utm_content,utm_source:r.utm.utm_source,utm_medium:r.utm.utm_medium,utm_campaign:r.utm.utm_campaign,tracer_data:PT(r.utm.tracer_data),custom:r.network_type?{network_type:r.network_type}:{},wechat_unionid:Rfe,wechat_openid:Rfe}},this.ab_version="",this.evtParams={},this.reportErrorCallback=function(){},this.isLast=!1,this.setCustom(r),this.initDomain(),this.initABData(),this.collect.on("route-change",(function(e){n.changeReferInfo(e.config)}))}return e.prototype.initDomain=function(){var e=this.initConfig.channel_domain;if(e)this.domain=e;else{var t=this.initConfig.channel;this.domain=efe(vfe[t])}},e.prototype.setDomain=function(e){this.domain=e},e.prototype.getDomain=function(){return this.domain},e.prototype.initABData=function(){var e="__tea_sdk_ab_version_"+this.initConfig.app_id,t=null;if(this.initConfig.ab_cross){var n=this.localStorage.getCookie(e,this.initConfig.ab_cookie_domain);t=n?JSON.parse(n):null}else t=this.localStorage.getItem(e);this.setAbCache(t)},e.prototype.setAbCache=function(e){this.ab_cache=e},e.prototype.getAbCache=function(){return this.ab_cache},e.prototype.setAbVersion=function(e){this.ab_version=e},e.prototype.getAbVersion=function(){return this.ab_version},e.prototype.clearAbCache=function(){this.ab_version="",this.ab_cache={}},e.prototype.getUrl=function(e){var t="";switch(e){case"event":t="/list";break;case"webid":t="/webid";break;case"tobid":t="/tobid"}var n="";return this.initConfig.caller&&(n="?sdk_version=5.3.1&sdk_name=web&app_id="+this.initConfig.app_id+"&caller="+this.initConfig.caller),""+this.getDomain()+t+n},e.prototype.setCustom=function(e){if(e&&e.latest_data&&e.latest_data.isLast)for(var t in delete e.latest_data.isLast,this.isLast=!0,e.latest_data)this.envInfo.header.custom[t]=e.latest_data[t]},e.prototype.changeReferInfo=function(e){var t=e;this.envInfo.header.referrer=t.referrer;var n="";try{n=new bk(t.referrer).host}catch(r){}this.envInfo.header.referrer_host=n||this.envInfo.header.referrer_host},e.prototype.set=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){void 0!==e[t]&&null!==e[t]||n.delete(t);try{n.eventCheck.calculate(t,"config")}catch(VO){}if("traffic_type"===t&&n.isLast&&(n.envInfo.header.custom.$latest_traffic_source_type=e[t]),"evtParams"===t)n.evtParams=Npe(Npe({},n.evtParams||{}),e.evtParams||{});else if("_staging_flag"===t)n.evtParams=Npe(Npe({},n.evtParams||{}),{_staging_flag:e._staging_flag});else if("reportErrorCallback"===t&&"function"==typeof e[t])n.reportErrorCallback=e[t];else{var r,i,o,a="",s="";if(hR(t).call(t,".")>-1){var c=t.split(".");a=c[0],s=c[1]}a?"user"===a||"header"===a?n.envInfo[a][s]=e[t]:(n.envInfo.header.custom[s]=e[t],n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"})):Object.hasOwnProperty.call(n.envInfo.user,t)?(hR(r=["user_type","ip_addr_id"]).call(r,t)>-1?n.envInfo.user[t]=e[t]?Number(e[t]):e[t]:hR(i=["user_id","web_id","user_unique_id","user_unique_id_type"]).call(i,t)>-1?n.envInfo.user[t]=e[t]?String(e[t]):e[t]:hR(o=["user_is_auth","user_is_login"]).call(o,t)>-1?n.envInfo.user[t]=Boolean(e[t]):"device_id"===t&&(n.envInfo.user[t]=e[t]),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"USER",common:t})):Object.hasOwnProperty.call(n.envInfo.header,t)?(n.envInfo.header[t]=e[t],n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:t})):(n.envInfo.header.custom[t]=e[t],n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"}))}}))},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(PT(this.envInfo[e])):JSON.parse(PT(this.envInfo))}catch(t){console.log("get config stringify error "),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message})}},e.prototype.setStore=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};if(t&&jG(e).length){var n=DT(e,t);this.storage.setItem(this.configKey,n)}}catch(r){console.log("setStore error"),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message})}},e.prototype.getStore=function(){try{if(!this.configPersist)return null;var e=this.storage.getItem(this.configKey)||{};return e&&jG(e).length?e:null}catch(t){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),null}},e.prototype.delete=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};t&&Object.hasOwnProperty.call(t,e)&&(delete t[e],this.storage.setItem(this.configKey,t))}catch(n){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("delete error")}},e}(),Mfe=function(){function e(e,t){this.isLog=t||!1,this.name=e||""}return e.prototype.info=function(e){this.isLog&&console.log("%c %s","color: yellow; background-color: black;","[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.warn=function(e){this.isLog&&console.warn("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.error=function(e){this.isLog&&console.error("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.throw=function(e){throw this.error(this.name),new Error(e)},e}(),Efe=function(){function e(){this.spiderBot=["Baiduspider","googlebot","360Spider","haosouspider","YoudaoBot","Sogou News Spider","Yisouspider","Googlebot","Headless","Applebot","Bingbot","PetalBot"]}return e.prototype.checkSpider=function(e){var t;if(!e.enable_spider)return!1;var n=window.navigator.userAgent;if(!n)return!0;var r=!1;return qG(t=this.spiderBot).call(t,(function(e){-1!==hR(n).call(n,e)&&(r=!0)})),r},e}(),zfe=function(){function e(e,t){this.collect=e,this.native=t}var t=e.prototype;return t.bridgeInject=function(){try{return!!this.native&&(AppLogBridge?(console.log("AppLogBridge is injected"),!0):(console.log("AppLogBridge is not inject"),!1))}catch(e){return console.log("AppLogBridge is not inject"),!1}},t.bridgeReady=function(){var e=this;return new qT((function(t,n){try{e.bridgeInject()?AppLogBridge.hasStarted((function(e){console.log("AppLogBridge is started? : "+e),e?t(!0):n(!1)})):n(!1)}catch(r){console.log("AppLogBridge, error:"+PT(r.stack)),n(!1)}}))},t.setNativeAppId=function(e){try{AppLogBridge.setNativeAppId(PT(e)),console.log("change bridge appid, event report with appid: "+e)}catch(t){console.error("setNativeAppId error")}},t.setConfig=function(e){var t=this;try{var n;qG(n=jG(e)).call(n,(function(n){"user_unique_id"===n?t.setUserUniqueId(e[n]):e[n]?t.addHeaderInfo(n,e[n]):t.removeHeaderInfo(n)}))}catch(r){console.error("setConfig error")}},t.setUserUniqueId=function(e){try{AppLogBridge.setUserUniqueId(e)}catch(t){console.error("setUserUniqueId error")}},t.addHeaderInfo=function(e,t){try{AppLogBridge.addHeaderInfo(e,t)}catch(n){console.error("addHeaderInfo error")}},t.setHeaderInfo=function(e){try{AppLogBridge.setHeaderInfo(PT(e))}catch(t){console.error("setHeaderInfo error")}},t.removeHeaderInfo=function(e){try{AppLogBridge.removeHeaderInfo(e)}catch(t){console.error("removeHeaderInfo error")}},t.reportPv=function(e){this.onEventV3("predefine_pageview",e)},t.onEventV3=function(e,t){try{AppLogBridge.onEventV3(e,t),this.collect.emit(DebuggerMesssge.DEBUGGER_MESSAGE,{type:DebuggerMesssge.DEBUGGER_MESSAGE_EVENT,info:"bridge埋点上报",time:vR(),data:[{events:[{event:e,params:t}]}],code:200,status:"success"})}catch(n){console.error("onEventV3 error")}},t.profileSet=function(e){try{AppLogBridge.profileSet(e)}catch(t){console.error("profileSet error")}},t.profileSetOnce=function(e){try{AppLogBridge.profileSetOnce(e)}catch(t){console.error("profileSetOnce error")}},t.profileIncrement=function(e){try{AppLogBridge.profileIncrement(e)}catch(t){console.error("profileIncrement error")}},t.profileUnset=function(e){try{AppLogBridge.profileUnset(e)}catch(t){console.error("profileUnset error")}},t.profileAppend=function(e){try{AppLogBridge.profileAppend(e)}catch(t){console.error("profileAppend error")}},e}(),Dfe=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)}))},kfe=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.storage=new pfe(!1,"session"),this.sessionKey="__tea_session_id_"+t.app_id,this.expireTime=t.expireTime||18e5,this.disableSession=t.disable_session,this.disableSessionTimeCheck=t.disable_session_check,this.disableSession||(this.setSessionId(),this.collect.on(Gfe.SessionReset,(function(e){n.resetSessionId(e)})),this.collect.on(Gfe.SessionResetTime,(function(){n.updateSessionIdTime()})))},e.prototype.updateSessionIdTime=function(){var e=this.storage.getItem(this.sessionKey);if(e&&e.sessionId){var t=e.timestamp;vR()-t>this.expireTime?e={sessionId:Dfe(),timestamp:vR()}:e.timestamp=vR(),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=vR():t={sessionId:Dfe(),timestamp:vR()},this.storage.setItem(this.sessionKey,t),this.disableSessionTimeCheck||(this.sessionExp=Tw((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=Tw((function(){e.checkEXp()}),this.expireTime))},e.prototype.resetSessionId=function(e){var t={sessionId:e||Dfe(),timestamp:vR()};this.storage.setItem(this.sessionKey,t)},e.prototype.checkEXp=function(){var e=this.storage.getItem(this.sessionKey);e&&e.sessionId&&vR()-e.timestamp+30>=this.expireTime&&(e={sessionId:Dfe(),timestamp:vR()},this.storage.setItem(this.sessionKey,e))},e}(),Afe=function(){function e(){this.eventLimit=50,this.enable_ttwebid=!1,this.eventCache=[],this.beconEventCache=[]}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=e.configManager,this.eventCheck=new _fe(e,t),this.cacheStorgae=new pfe(!0),this.localStorage=new pfe(!1),this.maxReport=t.max_report||10,this.reportTime=t.reportTime||t.report_time||30,this.timeout=t.timeout||1e5,this.enable_ttwebid=t.enable_ttwebid,this.reportUrl=t.report_url||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.abKey="__tea_sdk_ab_version_"+this.configManager.get("app_id"),this.refer_key="__tea_cache_refer_"+this.configManager.get("app_id"),this.pageId=Dfe(),this.collect.on(Gfe.Ready,(function(){n.reportAll(!1)})),this.collect.on(Gfe.ConfigDomain,(function(){n.reportUrl=n.configManager.getUrl("event")})),this.collect.on(Gfe.Event,(function(e){n.event(e)})),this.collect.on(Gfe.BeconEvent,(function(e){n.beconEvent(e)})),this.collect.on(Gfe.CleanEvents,(function(){n.reportAll(!1)}));var r=this.linster();this.collect.on(Gfe.DestoryInstance,(function(){r&&r()}))},e.prototype.linster=function(){var e=this,t=function(){e.reportAll(!0)};window.addEventListener("unload",t,!1),nfe(t);var n=function(){"hidden"===document.visibilityState&&e.reportAll(!0)};return document.addEventListener("visibilitychange",n,!1),function(){window.removeEventListener("unload",t),window.removeEventListener("pagehide",t,!1),window.removeEventListener("beforeunload",t,!1),document.removeEventListener("visibilitychange",n,!1)}},e.prototype.reportAll=function(e){this.report(e),this.reportBecon()},e.prototype.event=function(e){var t=this;try{if(this.collect.destroy)return;if(this.collect.sdkStop)return;if(this.config.enable_ios_sendbeacon&&tfe())return void this.beconEvent(e);var n=this.cacheStorgae.getItem(this.eventKey)||[],r=e;this.config.batch_event&&(r=this.batchEvent(e));var i=jpe(r,n);if(this.cacheStorgae.setItem(this.eventKey,i),this.reportTimeout&&clearTimeout(this.reportTimeout),i.length>=this.maxReport)this.report(!1);else{var o=this.reportTime;this.reportTimeout=vG((function(){t.report(!1),t.reportTimeout=null}),o)}}catch(a){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e){if(!this.collect.destroy&&!this.collect.sdkStop){var t=jpe(e,this.cacheStorgae.getItem(this.beconKey)||[]);this.cacheStorgae.setItem(this.beconKey,t),this.collect.tokenManager.getReady()&&this.collect.sdkReady&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(t)),!0))}},e.prototype.reportBecon=function(){if(!this.collect.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){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.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){var t=this.cacheStorgae.getItem(this.eventKey)||[];t.length&&(this.cacheStorgae.removeItem(this.eventKey),this.config.batch_event?this.send([t],e):this.sliceEvent(t,e))}},e.prototype.batchEvent=function(e){var t=[];if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.merge(r);t.push(i)}else t=i=this.merge(e);return t},e.prototype.sliceEvent=function(e,t){if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.split(this.merge(r));this.send(i,t)}else i=this.split(this.merge(e)),this.send(i,t)},e.prototype.handleRefer=function(){var e="";try{if(this.config.spa||this.config.autotrack){var t=this.localStorage.getItem(this.refer_key)||{};e=t.routeChange?t.refer_key:this.configManager.get("referrer")}else e=this.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.merge=function(e,t){var n=this,r=this.configManager.get(),i=r.header,o=r.user;this.config.enable_pageid&&(i.custom.page_id=this.pageId),i.custom=PT(i.custom);var a=this.configManager.get("evtParams"),s=this.configManager.get("user_unique_id_type"),c=[];try{var l=QG(e).call(e,(function(e){try{jG(a).length&&!t&&(e.params=Npe(Npe({},a),e.params)),s&&(e.params.$user_unique_id_type=s);var r=n.configManager.getAbCache(),i=o[n.config.ab_user_mode]||o.user_unique_id;return r&&r.uuid&&r.uuid===i&&n.configManager.getAbVersion()&&(e.ab_sdk_version=n.configManager.getAbVersion()),e.session_id=n.collect.sessionManager.getSessionId(),e.params=PT(e.params),e}catch(VO){return console.warn("filter merge event: "+(e&&e.event)+" error, pls check",VO&&VO.message),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 处理Event数据异常",level:"error",time:vR(),data:VO.message,infoType:"sdk"}),!1}})),u=JSON.parse(PT({events:l,user:o,header:i}));u.local_time=Math.floor(vR()/1e3),u.user_unique_type=this.config.enable_ttwebid?this.config.user_unique_type:void 0,u.verbose=1,c.push(u)}catch(VO){console.warn("event merge error, pls check",VO&&VO.message)}return c},e.prototype.split=function(e){return zS(e).call(e,(function(e){var t=[];return t.push(e),t}))},e.prototype.blockEvent=function(e){try{var t=this.blockList;if(this.config.enable_logsetting){var n=this.blockList,r=this.logSetting.getSettingData("blocklist_events").block_event;t=b_(n).call(n,QG(r).call(r,(function(e){return-1===hR(n).call(n,e)})))}return!(t&&t.length&&bw(t).call(t,e))}catch(i){return!0}},e.prototype.whiteEvent=function(e){var t;try{var n;return null===(t=this.whiteList)||void 0===t||!t.length||!!bw(n=this.whiteList).call(n,e)}catch(r){return!0}},e.prototype.customAllowFilter=function(e,t){try{if(t)return PT(e);if(!this.config.enable_logsetting||!this.config.enable_logsetting_header_custom)return PT(e);var n=this.logSetting.getSettingData().header_custom_allow,r={};if(n&&n.length&&jG(e).length){var i=new EO(n);for(var o in e)i.has(o)&&(r[o]=e[o])}return PT(r)}catch(a){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行customAllowFilter发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"}),PT(e)}},e.prototype.paramsAllowFilter=function(e,t){try{if(t)return PT(e.params);if(!this.config.enable_logsetting||!this.config.enable_logsetting_params)return PT(e.params);var n=this.logSetting.getSettingData().params_block,r=e.event,i=e.params,o={};if(n&&n[r]&&n[r].length){var a=new EO(n[r]);for(var s in i)!this.logSetting.getPredefineParamsList().has(s)&&a.has(s)||(o[s]=i[s]);return PT(o)}return PT(e.params)}catch(c){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行paramsAllowFilter发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"}),PT(e.params)}},e.prototype.send=function(e,t){var n=this;e.length&&(this.config.disable_track_event||qG(e).call(e,(function(e){try{var r,i=JSON.parse(PT(e));QG(n.config)&&((i=QG(r=n.config).call(r,i))||console.warn("filter must return data !!")),n.collect.eventFilter&&i&&((i=n.collect.eventFilter(i))||console.warn("filterEvent api must return data !!"));var o=i||e,a=JSON.parse(PT(o));if(n.eventCheck.checkVerify(a),!o.length)return;var s=!0;if(qG(o).call(o,(function(e){e.events.length||(s=!1)})),!s)return;n.collect.emit(Gfe.SubmitBefore,o),n.collect.requestManager.useRequest({url:n.reportUrl,data:o,success:function(e,t){e&&0!==e.e?(n.collect.emit(Gfe.SubmitError,{type:"f_data",eventData:t,errorCode:e.e,response:e}),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报失败",time:vR(),data:a,code:e.e,msg:e.m||"",failType:"数据异常失败",status:"fail"})):(n.collect.emit(Gfe.SubmitScuess,{eventData:t,res:e}),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:a,code:200,status:"success"}))},fail:function(e,t){n.configManager.get("reportErrorCallback")(e,t),n.collect.emit(Gfe.SubmitError,{type:"f_net",eventData:e,errorCode:t}),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报网络异常",time:vR(),data:a,code:t,failType:"网络异常失败",status:"fail"})},timeout:n.timeout,useBeacon:t,withCredentials:n.enable_ttwebid,zip:!0}),n.collect.emit(Gfe.SubmitAfter,o)}catch(c){console.warn("something error, "+PT(c.stack)),n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK发送埋点发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"})}})))},e}(),Ffe=function(){var e;return mG(e=function e(t){return t?(t^16*Math.random()>>t/4).toString(10):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}().replace(/-/g,"")).call(e,0,19)},Pfe=function(){function e(){this.cacheToken={},this.enableCookie=!1,this.enable_ttwebid=!1,this.enableCustomWebid=!1}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=this.collect.configManager,this.storage=new pfe(!1),this.tokenKey="__tea_cache_tokens_"+t.app_id,this.enable_ttwebid=t.enable_ttwebid,this.enableCustomWebid=t.enable_custom_webid,this.collect.on(Gfe.ConfigUuid,(function(e){n.setUuid(e)})),this.collect.on(Gfe.ConfigWebId,(function(e){n.setWebId(e)})),this.collect.on(Gfe.ConfigDiD,(function(e){n.setDeviceId(e)})),this.enableCookie=t.cross_subdomain,this.expiresTime=t.cookie_expire||6048e5,this.cookieDomain=t.cookie_domain||"",this.checkStorage()},e.prototype.checkStorage=function(){var e=this;if(this.enableCookie){var t=this.storage.getCookie(this.tokenKey,this.cookieDomain);this.cacheToken=t&&"string"==typeof t?JSON.parse(t):{}}else this.cacheToken=this.storage.getItem(this.tokenKey)||{};this.tokenType=this.cacheToken&&this.cacheToken._type_?this.cacheToken._type_:"default","custom"!==this.tokenType||this.enableCustomWebid?this.enableCustomWebid?this.collect.on(Gfe.CustomWebId,(function(){e.tokenReady=!0,e.collect.emit(Gfe.TokenComplete)})):this.checkEnv()||(this.enable_ttwebid?this.completeTtWid(this.cacheToken):this.check()):this.remoteWebid()},e.prototype.check=function(){this.cacheToken&&this.cacheToken.web_id?this.complete(this.cacheToken):this.config.disable_webid?this.complete({web_id:Ffe(),user_unique_id:this.configManager.get("user_unique_id")||Ffe()}):this.remoteWebid()},e.prototype.checkEnv=function(){var e=window.navigator.userAgent;if(-1!==hR(e).call(e,"miniProgram")||-1!==hR(e).call(e,"MiniProgram")){var t=ofe(window.location.href);return!(!t||!t.Web_ID||(this.complete({web_id:""+t.Web_ID,user_unique_id:this.configManager.get("user_unique_id")||""+t.Web_ID}),0))}return!1},e.prototype.remoteWebid=function(){var e=this,t=this.configManager.getUrl("webid"),n={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:""};this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起WebID请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),this.collect.requestManager.useRequest({url:t,data:n,success:function(t){var n;if(t&&0===t.e)n=t.web_id,e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"WebID请求成功",logType:"fetch",level:"info",time:vR(),data:t,infoType:"sdk"});else{var r=Ffe();n=r,e.collect.configManager.set({localWebId:r}),e.collect.emit(Gfe.TokenError),e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"WebID请求返回值异常,采用本地生成",logType:"fetch",level:"warn",time:vR(),data:t,infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+" get webid error, use local webid~")}e.complete({web_id:e.configManager.get("web_id")||n,user_unique_id:e.configManager.get("user_unique_id")||n})},fail:function(){var t=Ffe();e.complete({web_id:e.configManager.get("web_id")||t,user_unique_id:e.configManager.get("user_unique_id")||t}),e.collect.configManager.set({localWebId:t}),e.collect.emit(Gfe.TokenError),e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"WebID请求网络异常,采用本地生成",logType:"fetch",level:"error",time:vR(),data:{localWebId:t},infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+", get webid error, use local webid~")},timeout:3e5})},e.prototype.complete=function(e){var t=e.web_id,n=e.user_unique_id,r=e.device_id;if(e.timestamp=vR(),this.collect.configManager.set({web_id:t,user_unique_id:n}),this.config.enable_device_id){var i=this.configManager.get("device_id")||r||t;this.collect.configManager.set({device_id:i}),e=Npe(Npe({},e),{device_id:i})}else(null==e?void 0:e.device_id)&&delete e.device_id;this.setStorage(e),this.tokenReady=!0,this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 完成用户信息设置",logType:"info",level:"info",time:vR(),data:{web_id:t,user_unique_id:n},infoType:"sdk"}),this.collect.emit(Gfe.TokenComplete)},e.prototype.completeTtWid=function(e){var t=e.user_unique_id||"",n=this.configManager.get("user_unique_id");(n||t)&&this.configManager.set({user_unique_id:n||t}),this.setStorage(e),this.tokenReady=!0,this.collect.emit(Gfe.TokenComplete)},e.prototype.setUuid=function(e){var t;if(e&&-1===hR(t=["null","undefined","Null","None"]).call(t,e)){var n=String(e),r=this.configManager.get("user_unique_id"),i=this.cacheToken&&this.cacheToken.user_unique_id;if(n===r&&n===i)return;this.configManager.set({user_unique_id:n}),this.cacheToken||(this.cacheToken={}),this.cacheToken.user_unique_id=n,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken),this.collect.emit(Gfe.TokenChange,"uuid"),this.collect.emit(Gfe.SessionReset)}else this.clearUuid()},e.prototype.clearUuid=function(){this.config.enable_ttwebid||this.configManager.get("web_id")&&this.configManager.get("user_unique_id")!==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=vR(),this.setStorage(this.cacheToken)),this.collect.emit(Gfe.TokenReset,"uuid"))},e.prototype.setWebId=function(e){if(e&&!this.config.enable_ttwebid){this.cacheToken&&this.cacheToken.web_id?this.cacheToken.web_id!==e&&(this.cacheToken.user_unique_id=this.cacheToken.web_id===this.cacheToken.user_unique_id?e:this.cacheToken.user_unique_id,this.cacheToken.web_id=e):(this.cacheToken={},this.cacheToken.web_id=e,this.cacheToken.user_unique_id=e),this.cacheToken.timestamp=vR();var t=this.configManager.get("web_id"),n=this.configManager.get("user_unique_id");n&&n!==t||(this.configManager.set({user_unique_id:e}),this.collect.emit(Gfe.TokenChange,"uuid")),t!==e&&(this.configManager.set({web_id:e}),this.collect.emit(Gfe.TokenChange,"webid")),this.setStorage(this.cacheToken)}},e.prototype.setDeviceId=function(e){this.configManager.set({device_id:e}),this.config.enable_device_id&&this.cacheToken&&(this.cacheToken.device_id=e,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken))},e.prototype.setStorage=function(e){var t;e._type_=this.enableCustomWebid?"custom":"default",delete e[Fk(t="diss".split("")).call(t).join("")],this.enableCookie||this.enable_ttwebid?(this.storage.setCookie(this.tokenKey,e,this.expiresTime,this.cookieDomain),this.enable_ttwebid&&(delete e.web_id,this.storage.setItem(this.tokenKey,e))):this.storage.setItem(this.tokenKey,e),this.cacheToken=e},e.prototype.getReady=function(){return this.tokenReady},e.prototype.getTobId=function(){var e=this;return new qT((function(t){var n={app_id:e.config.app_id,user_unique_id:e.configManager.get("user_unique_id"),web_id:e.configManager.get("web_id"),user_unique_id_type:e.configManager.get("user_unique_id_type")};e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起GetToken请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),e.collect.requestManager.useRequest({url:e.configManager.getUrl("tobid"),data:n,success:function(n){n&&0===n.e?(t(n.tobid),e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求成功",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"})):(t(""),e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),data:n,infoType:"sdk"}))},fail:function(){t(""),e.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),infoType:"sdk"})},time:3e4,withCredentials:e.enable_ttwebid})}))},e}();function Ife(e){for(var t=e.length;--t>=0;)e[t]=0}var Xfe=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),xfe=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),Hfe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Cfe=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ofe=new Array(576);Ife(Ofe);var Lfe=new Array(60);Ife(Lfe);var Ufe=new Array(512);Ife(Ufe);var Bfe=new Array(256);Ife(Bfe);var Nfe=new Array(29);Ife(Nfe);var Vfe,jfe,Kfe,Qfe=new Array(30);function Wfe(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function qfe(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}Ife(Qfe);var Zfe=function(e){return e<256?Ufe[e]:Ufe[256+(e>>>7)]},$fe=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},Yfe=function(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,$fe(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},Jfe=function(e,t,n){Yfe(e,n[2*t],n[2*t+1])},ege=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},tge=function(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)a=a+n[r-1]<<1,o[r]=a;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=ege(o[s]++,s))}},nge=function(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},rge=function(e){e.bi_valid>8?$fe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},ige=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},oge=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&ige(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!ige(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},age=function(e,t,n){var r,i,o,a,s=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+s++],r+=(255&e.pending_buf[e.sym_buf+s++])<<8,i=e.pending_buf[e.sym_buf+s++],0===r?Jfe(e,i,t):(o=Bfe[i],Jfe(e,o+256+1,t),0!==(a=Xfe[o])&&(i-=Nfe[o],Yfe(e,i,a)),o=Zfe(--r),Jfe(e,o,n),0!==(a=xfe[o])&&(r-=Qfe[o],Yfe(e,r,a)))}while(s<e.sym_next);Jfe(e,256,t)},sge=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)oge(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],oge(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,oge(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,g++),c[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=h[r-p]),s=c[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==g){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,g-=2}while(g>0);for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),tge(o,l,e.bl_count)},cge=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<c&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4))},lge=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<l)do{Jfe(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(Jfe(e,i,e.bl_tree),s--),Jfe(e,16,e.bl_tree),Yfe(e,s-3,2)):s<=10?(Jfe(e,17,e.bl_tree),Yfe(e,s-3,3)):(Jfe(e,18,e.bl_tree),Yfe(e,s-11,7));s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4)}},uge=!1,dge=function(e,t,n,r){Yfe(e,0+(r?1:0),3),rge(e),$fe(e,n),$fe(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},hge=function(e){uge||(function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(Nfe[r]=n,e=0;e<1<<Xfe[r];e++)Bfe[n++]=r;for(Bfe[n-1]=r,i=0,r=0;r<16;r++)for(Qfe[r]=i,e=0;e<1<<xfe[r];e++)Ufe[i++]=r;for(i>>=7;r<30;r++)for(Qfe[r]=i<<7,e=0;e<1<<xfe[r]-7;e++)Ufe[256+i++]=r;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)Ofe[2*e+1]=8,e++,o[8]++;for(;e<=255;)Ofe[2*e+1]=9,e++,o[9]++;for(;e<=279;)Ofe[2*e+1]=7,e++,o[7]++;for(;e<=287;)Ofe[2*e+1]=8,e++,o[8]++;for(tge(Ofe,287,o),e=0;e<30;e++)Lfe[2*e+1]=5,Lfe[2*e]=ege(e,5);Vfe=new Wfe(Ofe,Xfe,257,286,15),jfe=new Wfe(Lfe,xfe,0,30,15),Kfe=new Wfe(new Array(0),Hfe,0,19,7)}(),uge=!0),e.l_desc=new qfe(e.dyn_ltree,Vfe),e.d_desc=new qfe(e.dyn_dtree,jfe),e.bl_desc=new qfe(e.bl_tree,Kfe),e.bi_buf=0,e.bi_valid=0,nge(e)},pge=dge,fge=function(e,t,n,r){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),sge(e,e.l_desc),sge(e,e.d_desc),a=function(e){var t;for(cge(e,e.dyn_ltree,e.l_desc.max_code),cge(e,e.dyn_dtree,e.d_desc.max_code),sge(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Cfe[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?dge(e,t,n,r):4===e.strategy||o===i?(Yfe(e,2+(r?1:0),3),age(e,Ofe,Lfe)):(Yfe(e,4+(r?1:0),3),function(e,t,n,r){var i;for(Yfe(e,t-257,5),Yfe(e,n-1,5),Yfe(e,r-4,4),i=0;i<r;i++)Yfe(e,e.bl_tree[2*Cfe[i]+1],3);lge(e,e.dyn_ltree,t-1),lge(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),age(e,e.dyn_ltree,e.dyn_dtree)),nge(e),r&&rge(e)},gge=function(e,t,n){return e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Bfe[n]+256+1)]++,e.dyn_dtree[2*Zfe(t)]++),e.sym_next===e.sym_end},vge=function(e){var t;Yfe(e,2,3),Jfe(e,256,Ofe),16===(t=e).bi_valid?($fe(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)},mge=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},yge=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),_ge=function(e,t,n,r){var i=yge,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},Gge={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Rge={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},bge=hge,Tge=pge,wge=fge,Sge=gge,Mge=vge,Ege=Rge.Z_NO_FLUSH,zge=Rge.Z_PARTIAL_FLUSH,Dge=Rge.Z_FULL_FLUSH,kge=Rge.Z_FINISH,Age=Rge.Z_BLOCK,Fge=Rge.Z_OK,Pge=Rge.Z_STREAM_END,Ige=Rge.Z_STREAM_ERROR,Xge=Rge.Z_DATA_ERROR,xge=Rge.Z_BUF_ERROR,Hge=Rge.Z_DEFAULT_COMPRESSION,Cge=Rge.Z_FILTERED,Oge=Rge.Z_HUFFMAN_ONLY,Lge=Rge.Z_RLE,Uge=Rge.Z_FIXED,Bge=Rge.Z_DEFAULT_STRATEGY,Nge=Rge.Z_UNKNOWN,Vge=Rge.Z_DEFLATED,jge=function(e,t){return e.msg=Gge[t],t},Kge=function(e){return 2*e-(e>4?9:0)},Qge=function(e){for(var t=e.length;--t>=0;)e[t]=0},Wge=function(e){var t,n,r,i=e.w_size;r=t=e.hash_size;do{n=e.head[--r],e.head[r]=n>=i?n-i:0}while(--t);r=t=i;do{n=e.prev[--r],e.prev[r]=n>=i?n-i:0}while(--t)},qge=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},Zge=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},$ge=function(e,t){wge(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Zge(e.strm)},Yge=function(e,t){e.pending_buf[e.pending++]=t},Jge=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},eve=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=mge(e.adler,t,i,n):2===e.state.wrap&&(e.adler=_ge(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},tve=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+258,p=l[o+a-1],f=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===f&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=258-(h-o),o=h-258,r>a){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],f=l[o+a]}}}while((t=d[t&u])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead},nve=function(e){var t,n,r,i=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-262)&&(e.window.set(e.window.subarray(i,i+i-n),0),e.match_start-=i,e.strstart-=i,e.block_start-=i,e.insert>e.strstart&&(e.insert=e.strstart),Wge(e),n+=i),0===e.strm.avail_in)break;if(t=eve(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=qge(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=qge(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},rve=function(e,t){var n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,s=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i)break;if(i=e.strm.avail_out-i,n>(r=e.strstart-e.block_start)+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n<o&&(0===n&&t!==kge||t===Ege||n!==r+e.strm.avail_in))break;a=t===kge&&n===r+e.strm.avail_in?1:0,Tge(e,0,0,a),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,Zge(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(eve(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return(s-=e.strm.avail_in)&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),a?4:t!==Ege&&t!==kge&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(eve(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,o=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>e.w_size?e.w_size:i,((r=e.strstart-e.block_start)>=o||(r||t===kge)&&t!==Ege&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,a=t===kge&&0===e.strm.avail_in&&n===r?1:0,Tge(e,e.block_start,n,a),e.block_start+=n,Zge(e.strm)),a?3:1)},ive=function(e,t){for(var n,r;;){if(e.lookahead<262){if(nve(e),e.lookahead<262&&t===Ege)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=qge(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=tve(e,n)),e.match_length>=3)if(r=Sge(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=qge(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=qge(e,e.ins_h,e.window[e.strstart+1]);else r=Sge(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&($ge(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===kge?($ge(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($ge(e,!1),0===e.strm.avail_out)?1:2},ove=function(e,t){for(var n,r,i;;){if(e.lookahead<262){if(nve(e),e.lookahead<262&&t===Ege)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=qge(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=tve(e,n),e.match_length<=5&&(e.strategy===Cge||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=Sge(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=qge(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&($ge(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Sge(e,0,e.window[e.strstart-1]))&&$ge(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Sge(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===kge?($ge(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($ge(e,!1),0===e.strm.avail_out)?1:2};function ave(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var sve=[new ave(0,0,0,0,rve),new ave(4,4,8,4,ive),new ave(4,5,16,8,ive),new ave(4,6,32,32,ive),new ave(4,4,16,16,ove),new ave(8,16,32,32,ove),new ave(8,16,128,128,ove),new ave(8,32,128,256,ove),new ave(32,128,258,1024,ove),new ave(32,258,258,4096,ove)];function cve(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Vge,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Qge(this.dyn_ltree),Qge(this.dyn_dtree),Qge(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Qge(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Qge(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var lve=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||42!==t.status&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&113!==t.status&&666!==t.status?1:0},uve=function(e){if(lve(e))return jge(e,Ige);e.total_in=e.total_out=0,e.data_type=Nge;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=-2,bge(t),Fge},dve=function(e){var t,n=uve(e);return n===Fge&&((t=e.state).window_size=2*t.w_size,Qge(t.head),t.max_lazy_match=sve[t.level].max_lazy,t.good_match=sve[t.level].good_length,t.nice_match=sve[t.level].nice_length,t.max_chain_length=sve[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n},hve=function(e,t,n,r,i,o){if(!e)return Ige;var a=1;if(t===Hge&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==Vge||r<8||r>15||t<0||t>9||o<0||o>Uge||8===r&&1!==a)return jge(e,Ige);8===r&&(r=9);var s=new cve;return e.state=s,s.strm=e,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=t,s.strategy=o,s.method=n,dve(e)},pve={deflateInit:function(e,t){return hve(e,t,Vge,15,8,Bge)},deflateInit2:hve,deflateReset:dve,deflateResetKeep:uve,deflateSetHeader:function(e,t){return lve(e)||2!==e.state.wrap?Ige:(e.state.gzhead=t,Fge)},deflate:function(e,t){if(lve(e)||t>Age||t<0)return e?jge(e,Ige):Ige;var n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==kge)return jge(e,0===e.avail_out?xge:Ige);var r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(Zge(e),0===e.avail_out)return n.last_flush=-1,Fge}else if(0===e.avail_in&&Kge(t)<=Kge(r)&&t!==kge)return jge(e,xge);if(666===n.status&&0!==e.avail_in)return jge(e,xge);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){var i=Vge+(n.w_bits-8<<4)<<8;if(i|=(n.strategy>=Oge||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),Jge(n,i+=31-i%31),0!==n.strstart&&(Jge(n,e.adler>>>16),Jge(n,65535&e.adler)),e.adler=1,n.status=113,Zge(e),0!==n.pending)return n.last_flush=-1,Fge}if(57===n.status)if(e.adler=0,Yge(n,31),Yge(n,139),Yge(n,8),n.gzhead)Yge(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Yge(n,255&n.gzhead.time),Yge(n,n.gzhead.time>>8&255),Yge(n,n.gzhead.time>>16&255),Yge(n,n.gzhead.time>>24&255),Yge(n,9===n.level?2:n.strategy>=Oge||n.level<2?4:0),Yge(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Yge(n,255&n.gzhead.extra.length),Yge(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=_ge(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(Yge(n,0),Yge(n,0),Yge(n,0),Yge(n,0),Yge(n,0),Yge(n,9===n.level?2:n.strategy>=Oge||n.level<2?4:0),Yge(n,3),n.status=113,Zge(e),0!==n.pending)return n.last_flush=-1,Fge;if(69===n.status){if(n.gzhead.extra){for(var o=n.pending,a=(65535&n.gzhead.extra.length)-n.gzindex;n.pending+a>n.pending_buf_size;){var s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>o&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex+=s,Zge(e),0!==n.pending)return n.last_flush=-1,Fge;o=0,a-=s}var c=new Uint8Array(n.gzhead.extra);n.pending_buf.set(c.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>o&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){var l,u=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>u&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-u,u)),Zge(e),0!==n.pending)return n.last_flush=-1,Fge;u=0}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Yge(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>u&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-u,u)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){var d,h=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>h&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-h,h)),Zge(e),0!==n.pending)return n.last_flush=-1,Fge;h=0}d=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Yge(n,d)}while(0!==d);n.gzhead.hcrc&&n.pending>h&&(e.adler=_ge(e.adler,n.pending_buf,n.pending-h,h))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Zge(e),0!==n.pending))return n.last_flush=-1,Fge;Yge(n,255&e.adler),Yge(n,e.adler>>8&255),e.adler=0}if(n.status=113,Zge(e),0!==n.pending)return n.last_flush=-1,Fge}if(0!==e.avail_in||0!==n.lookahead||t!==Ege&&666!==n.status){var p=0===n.level?rve(n,t):n.strategy===Oge?function(e,t){for(var n;;){if(0===e.lookahead&&(nve(e),0===e.lookahead)){if(t===Ege)return 1;break}if(e.match_length=0,n=Sge(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&($ge(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===kge?($ge(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($ge(e,!1),0===e.strm.avail_out)?1:2}(n,t):n.strategy===Lge?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(nve(e),e.lookahead<=258&&t===Ege)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Sge(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Sge(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&($ge(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===kge?($ge(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($ge(e,!1),0===e.strm.avail_out)?1:2}(n,t):sve[n.level].func(n,t);if(3!==p&&4!==p||(n.status=666),1===p||3===p)return 0===e.avail_out&&(n.last_flush=-1),Fge;if(2===p&&(t===zge?Mge(n):t!==Age&&(Tge(n,0,0,!1),t===Dge&&(Qge(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Zge(e),0===e.avail_out))return n.last_flush=-1,Fge}return t!==kge?Fge:n.wrap<=0?Pge:(2===n.wrap?(Yge(n,255&e.adler),Yge(n,e.adler>>8&255),Yge(n,e.adler>>16&255),Yge(n,e.adler>>24&255),Yge(n,255&e.total_in),Yge(n,e.total_in>>8&255),Yge(n,e.total_in>>16&255),Yge(n,e.total_in>>24&255)):(Jge(n,e.adler>>>16),Jge(n,65535&e.adler)),Zge(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?Fge:Pge)},deflateEnd:function(e){if(lve(e))return Ige;var t=e.state.status;return e.state=null,113===t?jge(e,Xge):Fge},deflateSetDictionary:function(e,t){var n=t.length;if(lve(e))return Ige;var r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return Ige;if(1===i&&(e.adler=mge(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(Qge(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,nve(r);r.lookahead>=3;){var l=r.strstart,u=r.lookahead-2;do{r.ins_h=qge(r,r.ins_h,r.window[l+3-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++}while(--u);r.strstart=l,r.lookahead=2,nve(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=c,e.avail_in=a,r.wrap=i,Fge},deflateInfo:"pako deflate (from Nodeca project)"},fve=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},gve={assign:function(e){for(var t=mG(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=Wd(n))throw new TypeError(n+"must be non-object");for(var r in n)fve(n,r)&&(e[r]=n[r])}}return e},flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var c=e[o];i.set(c,a),a+=c.length}return i}},vve=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(VO){vve=!1}for(var mve=new Uint8Array(256),yve=0;yve<256;yve++)mve[yve]=yve>=252?6:yve>=248?5:yve>=240?4:yve>=224?3:yve>=192?2:1;mve[254]=mve[254]=1;var _ve={string2buf:function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},buf2string:function(e,t){var n,r,i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));var o=new Array(2*i);for(r=0,n=0;n<i;){var a=e[n++];if(a<128)o[r++]=a;else{var s=mve[a];if(s>4)o[r++]=65533,n+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&n<i;)a=a<<6|63&e[n++],s--;s>1?o[r++]=65533:a<65536?o[r++]=a:(a-=65536,o[r++]=55296|a>>10&1023,o[r++]=56320|1023&a)}}}return function(e,t){if(t<65534&&e.subarray&&vve)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}(o,r)},utf8border:function(e,t){(t=t||e.length)>e.length&&(t=e.length);for(var n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+mve[e[n]]>t?n:t}},Gve=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Rve=Object.prototype.toString,bve=Rge.Z_NO_FLUSH,Tve=Rge.Z_SYNC_FLUSH,wve=Rge.Z_FULL_FLUSH,Sve=Rge.Z_FINISH,Mve=Rge.Z_OK,Eve=Rge.Z_STREAM_END,zve=Rge.Z_DEFAULT_COMPRESSION,Dve=Rge.Z_DEFAULT_STRATEGY,kve=Rge.Z_DEFLATED;function Ave(e){this.options=gve.assign({level:zve,method:kve,chunkSize:16384,windowBits:15,memLevel:8,strategy:Dve},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gve,this.strm.avail_out=0;var n=pve.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Mve)throw new Error(Gge[n]);if(t.header&&pve.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?_ve.string2buf(t.dictionary):"[object ArrayBuffer]"===Rve.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=pve.deflateSetDictionary(this.strm,r))!==Mve)throw new Error(Gge[n]);this._dict_set=!0}}function Fve(e,t){var n=new Ave(t);if(n.push(e,!0),n.err)throw n.msg||Gge[n.err];return n.result}Ave.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?Sve:bve,"string"==typeof e?i.input=_ve.string2buf(e):"[object ArrayBuffer]"===Rve.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Tve||r===wve)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=pve.deflate(i,r))===Eve)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=pve.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Mve;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Ave.prototype.onData=function(e){this.chunks.push(e)},Ave.prototype.onEnd=function(e){e===Mve&&(this.result=gve.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Pve={Deflate:Ave,deflate:Fve,deflateRaw:function(e,t){return(t=t||{}).raw=!0,Fve(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,Fve(e,t)},constants:Rge},Ive=function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,S=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),s=M.dmax,c=M.wsize,l=M.whave,u=M.wnext,d=M.window,h=M.hold,p=M.bits,f=M.lencode,g=M.distcode,v=(1<<M.lenbits)-1,m=(1<<M.distbits)-1;e:do{p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=f[h&v];t:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))S[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=f[(65535&y)+(h&(1<<_)-1)];continue t}if(32&_){M.mode=16191;break e}e.msg="invalid literal/length code",M.mode=16209;break e}G=65535&y,(_&=15)&&(p<_&&(h+=w[n++]<<p,p+=8),G+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=g[h&m];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue n}e.msg="invalid distance code",M.mode=16209;break e}if(R=65535&y,p<(_&=15)&&(h+=w[n++]<<p,(p+=8)<_&&(h+=w[n++]<<p,p+=8)),(R+=h&(1<<_)-1)>s){e.msg="invalid distance too far back",M.mode=16209;break e}if(h>>>=_,p-=_,R>(_=i-o)){if((_=R-_)>l&&M.sane){e.msg="invalid distance too far back",M.mode=16209;break e}if(b=0,T=d,0===u){if(b+=c-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}else if(u<_){if(b+=c+u-_,(_-=u)<G){G-=_;do{S[i++]=d[b++]}while(--_);if(b=0,u<G){G-=_=u;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}}else if(b+=u-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}for(;G>2;)S[i++]=T[b++],S[i++]=T[b++],S[i++]=T[b++],G-=3;G&&(S[i++]=T[b++],G>1&&(S[i++]=T[b++]))}else{b=i-R;do{S[i++]=S[b++],S[i++]=S[b++],S[i++]=S[b++],G-=3}while(G>2);G&&(S[i++]=S[b++],G>1&&(S[i++]=S[b++]))}break}}break}}while(n<r&&i<a);n-=G=p>>3,h&=(1<<(p-=G<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<a?a-i+257:257-(i-a),M.hold=h,M.bits=p},Xve=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),xve=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Hve=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Cve=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Ove=function(e,t,n,r,i,o,a,s){var c,l,u,d,h,p,f,g,v,m=s.bits,y=0,_=0,G=0,R=0,b=0,T=0,w=0,S=0,M=0,E=0,z=null,D=new Uint16Array(16),k=new Uint16Array(16),A=null;for(y=0;y<=15;y++)D[y]=0;for(_=0;_<r;_++)D[t[n+_]]++;for(b=m,R=15;R>=1&&0===D[R];R--);if(b>R&&(b=R),0===R)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(G=1;G<R&&0===D[G];G++);for(b<G&&(b=G),S=1,y=1;y<=15;y++)if(S<<=1,(S-=D[y])<0)return-1;if(S>0&&(0===e||1!==R))return-1;for(k[1]=0,y=1;y<15;y++)k[y+1]=k[y]+D[y];for(_=0;_<r;_++)0!==t[n+_]&&(a[k[t[n+_]]++]=_);if(0===e?(z=A=a,p=20):1===e?(z=Xve,A=xve,p=257):(z=Hve,A=Cve,p=0),E=0,_=0,y=G,h=o,T=b,w=0,u=-1,d=(M=1<<b)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){f=y-w,a[_]+1<p?(g=0,v=a[_]):a[_]>=p?(g=A[a[_]-p],v=z[a[_]-p]):(g=96,v=0),c=1<<y-w,G=l=1<<T;do{i[h+(E>>w)+(l-=c)]=f<<24|g<<16|v|0}while(0!==l);for(c=1<<y-1;E&c;)c>>=1;if(0!==c?(E&=c-1,E+=c):E=0,_++,0==--D[y]){if(y===R)break;y=t[n+a[_]]}if(y>b&&(E&d)!==u){for(0===w&&(w=b),h+=G,S=1<<(T=y-w);T+w<R&&!((S-=D[T+w])<=0);)T++,S<<=1;if(M+=1<<T,1===e&&M>852||2===e&&M>592)return 1;i[u=E&d]=b<<24|T<<16|h-o|0}}return 0!==E&&(i[h+E]=y-w<<24|64<<16|0),s.bits=b,0},Lve=Rge.Z_FINISH,Uve=Rge.Z_BLOCK,Bve=Rge.Z_TREES,Nve=Rge.Z_OK,Vve=Rge.Z_STREAM_END,jve=Rge.Z_NEED_DICT,Kve=Rge.Z_STREAM_ERROR,Qve=Rge.Z_DATA_ERROR,Wve=Rge.Z_MEM_ERROR,qve=Rge.Z_BUF_ERROR,Zve=Rge.Z_DEFLATED,$ve=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function Yve(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Jve,eme,tme=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||t.mode<16180||t.mode>16211?1:0},nme=function(e){if(tme(e))return Kve;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,Nve},rme=function(e){if(tme(e))return Kve;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,nme(e)},ime=function(e,t){var n;if(tme(e))return Kve;var r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Kve:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,rme(e))},ome=function(e,t){if(!e)return Kve;var n=new Yve;e.state=n,n.strm=e,n.window=null,n.mode=16180;var r=ime(e,t);return r!==Nve&&(e.state=null),r},ame=!0,sme=function(e){if(ame){Jve=new Int32Array(512),eme=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ove(1,e.lens,0,288,Jve,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ove(2,e.lens,0,32,eme,0,e.work,{bits:5}),ame=!1}e.lencode=Jve,e.lenbits=9,e.distcode=eme,e.distbits=5},cme=function(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},lme={inflateReset:rme,inflateReset2:ime,inflateResetKeep:nme,inflateInit:function(e){return ome(e,15)},inflateInit2:ome,inflate:function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=0,E=new Uint8Array(4),z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(tme(e)||!e.output||!e.input&&0!==e.avail_in)return Kve;16191===(n=e.state).mode&&(n.mode=16192),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,h=c,T=Nve;e:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===l){0===n.wbits&&(n.wbits=15),n.check=0,E[0]=255&l,E[1]=l>>>8&255,n.check=_ge(n.check,E,2,0),l=0,u=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&l)!==Zve){e.msg="unknown compression method",n.mode=16209;break}if(u-=4,b=8+(15&(l>>>=4)),0===n.wbits&&(n.wbits=b),b>15||b>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&l?16189:16191,l=0,u=0;break;case 16181:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.flags=l,(255&HO(n))!==Zve){e.msg="unknown compression method",n.mode=16209;break}if(57344&HO(n)){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=l>>8&1),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_ge(n.check,E,2,0)),l=0,u=0,n.mode=16182;case 16182:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.time=l),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,n.check=_ge(n.check,E,4,0)),l=0,u=0,n.mode=16183;case 16183:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_ge(n.check,E,2,0)),l=0,u=0,n.mode=16184;case 16184:if(1024&HO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&HO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_ge(n.check,E,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&HO(n)&&((p=n.length)>s&&(p=s),p&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+p),b)),512&HO(n)&&4&n.wrap&&(n.check=_ge(n.check,r,p,o)),s-=p,o+=p,n.length-=p),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&HO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b))}while(b&&p<s);if(512&HO(n)&&4&n.wrap&&(n.check=_ge(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&HO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.comment+=String.fromCharCode(b))}while(b&&p<s);if(512&HO(n)&&4&n.wrap&&(n.check=_ge(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&HO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}l=0,u=0}n.head&&(n.head.hcrc=HO(n)>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}e.adler=n.check=$ve(l),l=0,u=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,jve;e.adler=n.check=1,n.mode=16191;case 16191:if(t===Uve||t===Bve)break e;case 16192:if(n.last){l>>>=7&u,u-=7&u,n.mode=16206;break}for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=16193;break;case 1:if(sme(n),n.mode=16199,t===Bve){l>>>=2,u-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}l>>>=2,u-=2;break;case 16193:for(l>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&l,l=0,u=0,n.mode=16194,t===Bve)break e;case 16194:n.mode=16195;case 16195:if(p=n.length){if(p>s&&(p=s),p>c&&(p=c),0===p)break e;i.set(r.subarray(o,o+p),a),s-=p,o+=p,c-=p,a+=p,n.length-=p;break}n.mode=16191;break;case 16196:for(;u<14;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.lens[z[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},T=Ove(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(y<16)l>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(S=v+2;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(l>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}b=n.lens[n.have-1],p=3+(3&l),l>>>=2,u-=2}else if(17===y){for(S=v+3;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=3+(7&(l>>>=v)),l>>>=3,u-=3}else{for(S=v+7;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=11+(127&(l>>>=v)),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;p--;)n.lens[n.have++]=b}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,w={bits:n.lenbits},T=Ove(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},T=Ove(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,T){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===Bve)break e;case 16199:n.mode=16200;case 16200:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,Ive(e,h),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(m&&0==(240&m)){for(_=v,G=m,R=y;m=(M=n.lencode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,n.length=y,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=16191;break}if(64&m){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;m=(M=n.distcode[l&(1<<n.distbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(0==(240&m)){for(_=v,G=m,R=y;m=(M=n.distcode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,64&m){e.msg="invalid distance code",n.mode=16209;break}n.offset=y,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===c)break e;if(p=h-c,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),g=n.window}else g=i,f=a-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do{i[a++]=g[f++]}while(--p);0===n.length&&(n.mode=16200);break;case 16205:if(0===c)break e;i[a++]=n.length,c--,n.mode=16200;break;case 16206:if(n.wrap){for(;u<32;){if(0===s)break e;s--,l|=r[o++]<<u,u+=8}if(h-=c,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=HO(n)?_ge(n.check,i,h,a-h):mge(n.check,i,h,a-h)),h=c,4&n.wrap&&(HO(n)?l:$ve(l))!==n.check){e.msg="incorrect data check",n.mode=16209;break}l=0,u=0}n.mode=16207;case 16207:if(n.wrap&&HO(n)){for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=16209;break}l=0,u=0}n.mode=16208;case 16208:T=Vve;break e;case 16209:T=Qve;break e;case 16210:return Wve;default:return Kve}return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==Lve))&&cme(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=HO(n)?_ge(n.check,i,h,e.next_out-h):mge(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(16191===n.mode?128:0)+(16199===n.mode||16194===n.mode?256:0),(0===d&&0===h||t===Lve)&&T===Nve&&(T=qve),T},inflateEnd:function(e){if(tme(e))return Kve;var t=e.state;return t.window&&(t.window=null),e.state=null,Nve},inflateGetHeader:function(e,t){if(tme(e))return Kve;var n=e.state;return 0==(2&n.wrap)?Kve:(n.head=t,t.done=!1,Nve)},inflateSetDictionary:function(e,t){var n,r=t.length;return tme(e)||0!==(n=e.state).wrap&&16190!==n.mode?Kve:16190===n.mode&&mge(1,t,r,0)!==n.check?Qve:cme(e,t,r,r)?(n.mode=16210,Wve):(n.havedict=1,Nve)},inflateInfo:"pako inflate (from Nodeca project)"},ume=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},dme=Object.prototype.toString,hme=Rge.Z_NO_FLUSH,pme=Rge.Z_FINISH,fme=Rge.Z_OK,gme=Rge.Z_STREAM_END,vme=Rge.Z_NEED_DICT,mme=Rge.Z_STREAM_ERROR,yme=Rge.Z_DATA_ERROR,_me=Rge.Z_MEM_ERROR;function Gme(e){this.options=gve.assign({chunkSize:65536,windowBits:15,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gve,this.strm.avail_out=0;var n=lme.inflateInit2(this.strm,t.windowBits);if(n!==fme)throw new Error(Gge[n]);if(this.header=new ume,lme.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=_ve.string2buf(t.dictionary):"[object ArrayBuffer]"===dme.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=lme.inflateSetDictionary(this.strm,t.dictionary))!==fme))throw new Error(Gge[n])}function Rme(e,t){var n=new Gme(t);if(n.push(e),n.err)throw n.msg||Gge[n.err];return n.result}Gme.prototype.push=function(e,t){var n,r,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?pme:hme,"[object ArrayBuffer]"===dme.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(n=lme.inflate(o,r))===vme&&s&&((n=lme.inflateSetDictionary(o,s))===fme?n=lme.inflate(o,r):n===yme&&(n=vme));o.avail_in>0&&n===gme&&o.state.wrap>0&&0!==e[o.next_in];)lme.inflateReset(o),n=lme.inflate(o,r);switch(n){case mme:case yme:case vme:case _me:return this.onEnd(n),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||n===gme))if("string"===this.options.to){var c=_ve.utf8border(o.output,o.next_out),l=o.next_out-c,u=_ve.buf2string(o.output,c);o.next_out=l,o.avail_out=a-l,l&&o.output.set(o.output.subarray(c,c+l),0),this.onData(u)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(n!==fme||0!==i){if(n===gme)return n=lme.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},Gme.prototype.onData=function(e){this.chunks.push(e)},Gme.prototype.onEnd=function(e){e===fme&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=gve.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var bme,Tme={Inflate:Gme,inflate:Rme,inflateRaw:function(e,t){return(t=t||{}).raw=!0,Rme(e,t)},ungzip:Rme,constants:Rge},wme={Deflate:Pve.Deflate,deflate:Pve.deflate,deflateRaw:Pve.deflateRaw,gzip:Pve.gzip,Inflate:Tme.Inflate,inflate:Tme.inflate,inflateRaw:Tme.inflateRaw,ungzip:Tme.ungzip,constants:Rge},Sme=function(){function e(e,t){var n=this;this.collector=e,this.config=t,this.requestType=t.request_type||"xhr",this.supportBeacon=!(!window.navigator||!window.navigator.sendBeacon),this.errorCode={NO_URL:4001,IMG_ON:4e3,IMG_CATCH:4002,BEACON_FALSE:4003,XHR_ON:500,RESPONSE:5001,TIMEOUT:5005},this.customHeader=t.custom_request_header||{},this.collector.on("custom-request-header",(function(e){n.setRequestHeader(e)}))}return e.prototype.setRequestHeader=function(e){this.customHeader=DT(this.customHeader,e)},e.prototype.useFetch=function(e){var t=e.url,n=e.data,r=e.method,i=e.success,o=e.fail,a={"Content-Type":"application/json; charset=utf-8"};if(jG(this.customHeader).length)for(var s in this.customHeader)a[s]=this.customHeader[s];window.fetch?fetch(t,{method:r||"POST",headers:a,body:PT(n)}).then((function(e){return e.json()})).then((function(e){i&&i(e)})).catch((function(e){o&&o(n,e)})):(this.requestType="xhr",console.log("your brwoser not support fetch, use xhr"),this.useRequest({url:t,data:n,method:r,success:i,fail:o}))},e.prototype.useBeacon=function(e){var t=e.url,n=e.data,r=e.success,i=e.fail;window.navigator.sendBeacon(t,PT(n))?r&&r():i&&i(n,this.errorCode.BEACON_FALSE)},e.prototype.useRequest=function(e){var t=this,n=e.url,r=e.data,i=e.method,o=e.success,a=e.fail,s=e.timeout,c=e.useBeacon,l=e.withCredentials,u=e.app_key,d=e.forceXhr,h=e.zip;if(c&&this.supportBeacon)this.useBeacon({url:n,data:r,method:i,success:o,fail:a});else if("fetch"!==this.requestType||d)try{var p=new XMLHttpRequest,f=i||"POST";if(p.open(f,""+n,!0),p.setRequestHeader("Content-Type","application/json; charset=utf-8"),u&&p.setRequestHeader("X-MCS-AppKey",""+u),jG(this.customHeader).length)for(var g in this.customHeader)p.setRequestHeader(g,this.customHeader[g]);l&&(p.withCredentials=!0),s&&(p.timeout=s,p.ontimeout=function(){a&&a(r,t.errorCode.TIMEOUT)}),p.onload=function(){if(o){var e=null;if(p.responseText){try{e=JSON.parse(p.responseText)}catch(t){e={}}o(e,r)}}},p.onerror=function(){p.abort(),a&&a(r,t.errorCode.XHR_ON)};try{var v=PT(r);if(this.config.need_zip&&h){var m=(new TextEncoder).encode(v),y=wme.gzip(m);p.setRequestHeader("Content-Encoding","gzip"),p.send(y)}else p.send(v)}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_send",eventData:r,errorCode:1e3,msg:_.message||_.stack||"sdk_error_send"})}}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_request",eventData:r,errorCode:1001,msg:_.message||_.stack||"sdk_error_request"})}else this.useFetch({url:n,data:r,method:i,success:o,fail:a})},e}(),Mme=function(){function e(e,t){if(this.devToolReady=!1,this.devToolOrigin="*",this.sendAlready=!1,!t.disable_debug&&"Microsoft Internet Explorer"!==e.configManager.get("browser")){this.collect=e,this.config=t,this.app_id=t.app_id;var n=e.adapters.storage;this.cacheStorgae=new n(!1),this.loadUrl=t.devtool_url||"https://lf-static.applogcdn.com/obj/applog-sdk-static/log-sdk/collect/devtool/debug-web.v2.0.0.js",this.filterEvent=new EO(["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","bav2b_page","bav2b_beat","bav2b_page_statistics","bav2b_click","bav2b_page_exposure","_be_active","predefine_pageview","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append","predefine_page_alive","predefine_page_close","abtest_exposure"]),this.load()}}return e.prototype.loadScript=function(e){try{var t=document.createElement("script");t.src=e,t.onerror=function(){console.log("load DevTool render fail")},t.onload=function(){console.log("load DevTool render success")},document.getElementsByTagName("body")[0].appendChild(t)}catch(n){console.log("devTool load fail, "+n.message)}},e.prototype.parseUrl=function(){var e={};try{var t=window.location.href.split("?")[1].split("&");t.length&&qG(t).call(t,(function(t){var n=t.split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}))}catch(n){}return e},e.prototype.load=function(){try{var e=this.parseUrl();if(e.open_devtool_web&&e.app_id){if(Y_(e.app_id)!==this.app_id)return}else if(!this.getStorage())return;this.loadBaseInfo(),this.loadHook(),this.setStorage(),this.addLintener(),this.loadDebuggerModule(),this.loadDevTool()}catch(t){console.log("debug fail, "+t.message)}},e.prototype.getStorage=function(){var e=this.cacheStorgae.getItem("__applog_open_devtool_web");return e&&Y_(e)===this.app_id},e.prototype.setStorage=function(){this.cacheStorgae.setItem("__applog_open_devtool_web",this.app_id)},e.prototype.loadDevTool=function(){this.loadScript(this.loadUrl)},e.prototype.loadBaseInfo=function(){if(this.log=[],this.event=[],this.info=[{title:"基本信息",key:"base",type:1,content:[{name:"app_id",desc:"APP_ID",value:this.config.app_id},{name:"channel",desc:"CHANNEL",value:this.config.channel},{name:"domain",desc:"上报域名",value:this.collect.configManager.getDomain()},{name:"sdk_version",desc:"SDK版本",value:mfe},{name:"sdk_type",desc:"SDK引入方式",value:"npm"}]},{title:"用户信息",key:"user",type:2,content:[{name:"uuid",desc:"UUID",value:this.collect.configManager.get("user").user_unique_id||""},{name:"web_id",desc:"WEB_ID",value:this.collect.configManager.get("user").web_id||""}]},{title:"公共参数信息",type:2,key:"common",content:[{name:"browser",desc:"浏览器",value:this.collect.configManager.get("browser")},{name:"browser_version",desc:"浏览器版本",value:this.collect.configManager.get("browser_version")},{name:"platform",desc:"平台",value:this.collect.configManager.get("platform")},{name:"device_model",desc:"设备型号",value:this.collect.configManager.get("device_model")},{name:"os_name",desc:"操作系统",value:this.collect.configManager.get("os_name")},{name:"os_version",desc:"操作系统版本",value:this.collect.configManager.get("os_version")},{name:"resolution",desc:"屏幕分辨率",value:this.collect.configManager.get("resolution")},{name:"referrer",desc:"来源",value:this.collect.configManager.get("referrer")},{name:"custom",desc:"自定义信息",value:PT(this.collect.configManager.get("custom"))}]},{title:"配置信息",key:"config",type:3,content:[{name:"autotrack",desc:"全埋点",value:!!this.config.autotrack},{name:"stay",desc:"停留时长",value:!!this.config.enable_stay_duration}]},{title:"A/B配置信息",key:"ab",type:4,content:[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test}]}],this.config.enable_ab_test){var e=this.getInfo("ab"),t=[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test},{name:"vid",desc:"已曝光VID",value:this.collect.configManager.getAbVersion()},{name:"ab_domain",desc:"A/B域名",value:this.config.ab_channel_domain||efe(gfe[this.config.channel])},{name:"all_values",desc:"全部配置",value:this.collect.configManager.getAbCache()}];e.content=t,this.setInfo("ab",e)}if(this.config.enable_native||this.config.Native){var n={title:"客户端信息",type:3,content:[{name:"native",desc:"是否打通",value:!!this.collect.bridgeReport}]};this.setInfo("native",n)}if(bw(mfe).call(mfe,"tob")){var r,i=this.getInfo("user");i.content.push({name:"sid",desc:Fk(r="DISS".split("")).call(r).join(""),value:"点击获取"}),this.setInfo("user",i)}},e.prototype.getInfo=function(e){var t,n=null;return qG(t=this.info).call(t,(function(t){t.key===e&&(n=t)})),n},e.prototype.setInfo=function(e,t){var n,r=!1;qG(n=this.info).call(n,(function(n){n.key===e&&(r=!0,n=t)})),r||this.info.push(t)},e.prototype.getSecondInfo=function(e,t){var n,r=this.getInfo(e),i=null;return qG(n=r.content).call(n,(function(e){e.name===t&&(i=e)})),i},e.prototype.setSecondInfo=function(e,t,n){var r,i=this.getInfo(e),o=!1;if(qG(r=i.content).call(r,(function(e){e.name===t&&(e.value=n,o=!0)})),!o){var a={name:t,value:n,desc:t.toLocaleUpperCase()};i.content.push(a)}this.setInfo(e,i)},e.prototype.loadHook=function(){var e=this;this.collect.on(qpe.DEBUGGER_MESSAGE,(function(t){switch(t.type){case qpe.DEBUGGER_MESSAGE_SDK:var n={time:t.time,type:t.logType||"sdk",infoType:t.infoType||"sdk",level:t.level,name:t.info,show:!0,levelShow:!0,needDesc:!!t.data};if(t.data&&(n.desc={content:PT(t.data)}),e.updateLog(n),t.secType&&"AB"===t.secType)e.setSecondInfo("ab","vid",e.collect.configManager.getAbVersion()),e.setSecondInfo("ab","all_values",e.collect.configManager.getAbCache());else if("USER"===t.secType)e.setSecondInfo("user","user_unique_id"===t.common?"uuid":t.common,e.collect.configManager.get(t.common));else if("HEADER"===t.secType){var r=e.collect.configManager.get(t.common);e.setSecondInfo("common",t.common,"custom"===t.common?PT(r):r)}return void e.updateInfo();case qpe.DEBUGGER_MESSAGE_EVENT:if(t.data&&t.data.length){var i=t.data[0],o=i.events;if(!o.length)return;qG(o).call(o,(function(n){n.checkShow=!0,n.searchShow=!0,n.focusShow=!0,n.status=t.status,n.type=e.filterEvent.has(n.event)?"sdk":"cus",n.verifyType=t.verifyType?"verify":"no",n.info="","fail"===t.status&&(n.info={message:"code: "+t.code+", msg: "+(t.msg||t.failType)})})),e.updateEvent(i)}return}}))},e.prototype.addLintener=function(){var e=this;window.addEventListener("message",(function(t){if(t&&t.data&&"devtool:web:ready"===t.data.type){if(e.devToolOrigin=t.origin,e.devToolReady=!0,e.sendAlready)return;e.sendData("devtool:web:init",{info:e.info,log:e.log,event:e.event,sdk_type:bw(mfe).call(mfe,"tob")?"tob":"inner",appId:e.app_id}),e.sendAlready=!0}t&&t.data&&"devtool:web:ssid"===t.data.type&&e.collect.getToken((function(t){e.setSecondInfo("user","sid",t.tobid),e.updateInfo()}))}))},e.prototype.sendData=function(e,t){try{var n={type:e,payload:t};window&&window.postMessage(n,this.devToolOrigin)}catch(r){}},e.prototype.updateInfo=function(){this.devToolReady&&this.sendData("devtool:web:info",this.info)},e.prototype.updateLog=function(e){this.devToolReady?this.sendData("devtool:web:log",e):this.log.push(e)},e.prototype.updateEvent=function(e){this.devToolReady?this.sendData("devtool:web:event",e):this.event.push(e)},e.prototype.loadDebuggerModule=function(){var e="#debugger-applog-web {\n position: fixed;\n width: 45px;\n height: 45px;\n background-image: url("+efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1bz1cz24z22z1mz1mz1jz4bz18z1nz1nz1jz1mz1ez4az1nz1lz1e")+");\n bottom: 5%;\n right: 10%;\n cursor: pointer;\n z-index:100;\n background-size: 45px;\n }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.appendChild(n);var r=document.createElement("div");r.innerHTML='<div id="debugger-applog-web" class="debugger-applog-web"></div>';var i=document.createElement("div");i.innerHTML='<div id="debugger-container" class="debugger-container"></div>',document.getElementsByTagName("body")[0].appendChild(r),document.getElementsByTagName("body")[0].appendChild(i);var o=document.getElementById("debugger-applog-web");o&&o.addEventListener("click",(function(){window&&window.postMessage({type:"devtool:web:open-draw"},location.origin)}))},e}(),Eme={autotrack:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z23z22z1mz22z20z18z1az1iz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/autotrack.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/autotrack.js"},object:"LogAutoTrack"},ab:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z19z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/ab.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/ab.js"},object:"LogAb"},stay:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz21z22z18z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/stay.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/stay.js"},object:"LogStay"},route:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1mz23z22z1cz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/route.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/route.js"},object:"LogRoute"},tracer:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz22z20z18z1az1cz20z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/tracer.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/tracer.js"},object:"LogTracer"},retry:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1cz22z20z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/retry.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/retry.js"},object:"LogRetry"},visual:{src:{cn:efe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz24z1gz21z23z18z1jz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/visual.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/visual.js"},object:"LogVisual"}},zme=["ab","autotrack","Stay","store","et","profile","cep","heartbeat","monitor","route","tracer"],Dme=function(){function e(e){this.disableAutoPageView=!1,this.bridgeReport=!1,this.staging=!1,this.pluginInstances=[],this.sended=!1,this.started=!1,this.destroy=!1,this.sdkReady=!1,this.adapters={},this.loadType="base",this.sdkStop=!1,this.name=e,this.hook=new Zpe,this.remotePlugin=new CO,this.Types=Gfe,this.adapters.storage=pfe,this.loadType="full"}return e.usePlugin=function(t,n,r){if(n){for(var i=!1,o=0,a=e.plugins.length;o<a;o++)if(e.plugins[o].name===n){e.plugins[o].plugin=t,e.plugins[o].options=r||{},i=!0;break}i||e.plugins.push({name:n,plugin:t,options:r})}else e.plugins.push({plugin:t})},e.prototype.usePlugin=function(e,t,n){e&&("full"===this.loadType&&bw(zme).call(zme,e)?console.info("your sdk version has "+e+" plugin already ~"):t?"string"==typeof t?this.remotePlugin.get(e)||this.remotePlugin.set(e,{src:t,call:n}):this.remotePlugin.get(e)||this.remotePlugin.set(e,{instance:t}):this.remotePlugin.get(e)||this.remotePlugin.set(e,"sdk"))},e.prototype.init=function(t){var n,r,i=this;this.logger=new Mfe(this.name,t.log),this.inited?this.logger.warn("[instance: "+this.name+"], every instance's api: init, can be call only one time!"):t&&$pe(t)?t.app_id&&"number"==typeof(r=t.app_id)&&!isNaN(r)?t.app_key&&"string"!=typeof t.app_key?this.logger.warn("app_key param is error, must be string, please check!"):(t.channel_domain||-1!==hR(n=["cn","sg","va","my"]).call(n,t.channel)||(this.logger.warn("channel must be `cn`, `sg`,`va`, `my` !"),t.channel="cn"),this.spider=new Efe,this.spider.checkSpider(t)?this.logger.warn("your env may be a spider, can not report!"):(this.appBridge=new zfe(this,t.enable_native),this.requestManager=new Sme(this,t),this.bridgeReport=this.appBridge.bridgeInject(),this.configManager=new Sfe(this,t),this.debugger=new Mme(this,t),this.initConfig=t,this.emit(Gfe.Init),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Init",data:t,level:"info",time:vR(),infoType:"cus"}),this.destroy=!1,t.disable_auto_pv&&(this.disableAutoPageView=!0),this.bridgeReport||(this.configManager.set({app_id:t.app_id}),this.eventManager=new Afe,this.tokenManager=new Pfe,this.sessionManager=new kfe,qT.all([new qT((function(e){i.once(Gfe.TokenComplete,(function(){e(!0)}))})),new qT((function(e){i.once(Gfe.Start,(function(){e(!0)}))}))]).then((function(){try{var n;JX(n=e.plugins).call(n,(function(e,t){var n=t.plugin,r=t.options,o=DT(i.initConfig,r),a=new n;return a.apply(i,o),e.push(a),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK加载"+t.name+"插件",level:"info",time:vR(),infoType:"sdk"}),e}),i.pluginInstances)}catch(r){console.warn("load plugin error, "+r.message),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK加载插件发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.sdkReady=!0,i.emit(Gfe.Ready),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 用户信息初始化完成",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 初始化完成",time:vR(),level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.logger.info("appid: "+t.app_id+", userInfo:"+PT(i.configManager.get("user"))),i.logger.info("appid: "+t.app_id+", sdk is ready, version type is "+i.loadType+", version is "+mfe+", you can report now !!!"),t.disable_auto_pv&&(i.disableAutoPageView=!0);try{"full"===i.loadType&&(t.enable_ab_test||t.autotrack)&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(r){i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.pageView(),i.on(Gfe.TokenChange,(function(e){"webid"===e&&i.pageView(),i.logger.info("appid: "+t.app_id+" token change, new userInfo:"+PT(i.configManager.get("user"))),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 设置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(Gfe.TokenReset,(function(){i.logger.info("appid: "+t.app_id+" token reset, new userInfo:"+PT(i.configManager.get("user"))),i.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 重置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(Gfe.RouteChange,(function(e){e.init||t.disable_route_report||i.pageView()}))})),this.tokenManager.apply(this,t),this.eventManager.apply(this,t),this.sessionManager.apply(this,t)),this.inited=!0)):this.logger.warn("app_id param is error, must be number, please check!"):this.logger.warn("init params error,please check!")},e.prototype.config=function(e){if(!this.inited)return console.warn("config must be use after function init"),void this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config must be use after function init",infoType:"sdk"});if(!e||!$pe(e))return console.warn("config params is error, please check"),void this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config params is error, please check",infoType:"sdk"});if(this.bridgeReport)this.appBridge.setConfig(e);else{e._staging_flag&&1===e._staging_flag&&(this.staging=!0),e.disable_auto_pv&&(this.disableAutoPageView=!0,delete e.disable_auto_pv);var t=Npe({},e),n=this.initConfig.configPersist||this.initConfig.config_persist||!1;if(this.initConfig&&n){var r=this.configManager.getStore();r&&(t=DT(r,e)),this.configManager.setStore(e)}t.web_id,t.user_unique_id;var i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&hR(t).call(t,r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof KG){var i=0;for(r=KG(e);i<r.length;i++)hR(t).call(t,r[i])<0&&(n[r[i]]=e[r[i]])}return n}(t,["web_id","user_unique_id"]);this.configManager.set(i),t.hasOwnProperty("web_id")&&this.emit(Gfe.ConfigWebId,t.web_id),t.hasOwnProperty("user_unique_id")&&this.emit(Gfe.ConfigUuid,t.user_unique_id),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Config",level:"info",time:vR(),data:t,infoType:"cus"})}},e.prototype.setUserUniqueID=function(e){this.config({user_unique_id:e})},e.prototype.setHeaderInfo=function(e,t){var n={};n[e]=t,this.config(n)},e.prototype.removeHeaderInfo=function(e){var t={};t[e]=void 0,this.config(t)},e.prototype.setDomain=function(e){this.configManager&&this.configManager.setDomain(e),this.emit(Gfe.ConfigDomain)},e.prototype.getConfig=function(e){var t;return null===(t=this.configManager)||void 0===t?void 0:t.get(e)},e.prototype.send=function(){this.start()},e.prototype.start=function(){this.inited&&!this.sended&&(this.sended=!0,this.started=!0,this.emit(Gfe.Start),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Start",level:"info",time:vR(),infoType:"cus"}),this.bridgeReport&&(this.pageView(),this.emit(Gfe.Ready)))},e.prototype.event=function(e,t){var n=this;try{var r=[];if(uS(e))qG(e).call(e,(function(e){var t=n.processEvent(e[0],e[1]||{});t&&r.push(t)}));else{var i=this.processEvent(e,t);if(!i)return;r.push(i)}this.bridgeReport?qG(r).call(r,(function(e){var t=e.event,r=e.params;n.appBridge.onEventV3(t,PT(r))})):r.length&&(this.emit(Gfe.Event,r),this.emit(Gfe.SessionResetTime)),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event",level:"info",time:vR(),data:e,infoType:"cus"})}catch(o){this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e,t){if(uS(e))console.warn("beconEvent not support batch report, please check");else{var n=[],r=this.processEvent(e,t||{});r&&(n.push(r),n.length&&(this.emit(Gfe.BeconEvent,n),this.emit(Gfe.SessionResetTime)),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Beacon Event",level:"info",time:vR(),data:e,infoType:"sdk"}))}},e.prototype.beaconEvent=function(e,t){this.beconEvent(e,t)},e.prototype.processEvent=function(e,t){void 0===t&&(t={});try{if(!e)return console.warn("eventName is null, please check"),null;var n=e;/^event\./.test(e)&&(n=mG(e).call(e,6));var r=t;"object"!=Wd(r)&&(r={}),r.profile?delete r.profile:r.event_index=Jpe();var i=void 0;return r.local_ms?(i=r.local_ms,delete r.local_ms):i=+new Date,{event:n,params:r,local_time_ms:i,is_bav:this.initConfig&&this.initConfig.autotrack?1:0}}catch(o){return this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"}),{event:e,params:t}}},e.prototype.filterEvent=function(e){this.eventFilter=e},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,n){this.hook.emit(e,t,n)},e.prototype.set=function(e){this.hook.set(e)},e.prototype.stop=function(){this.sdkStop=!0},e.prototype.reStart=function(){this.sdkStop=!1},e.prototype.pageView=function(){this.disableAutoPageView||this.predefinePageView()},e.prototype.predefinePageView=function(e){if(void 0===e&&(e={}),this.inited){var t={title:document.title||location.pathname,url:location.href,url_path:this.handlePath(),time:vR(),referrer:window.document.referrer,$is_first_time:""+(this.configManager&&this.configManager.is_first_time||!1)},n=Npe(Npe({},t),e);this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 上报PV",level:"info",time:vR(),infoType:"sdk"}),this.event("predefine_pageview",n)}else console.warn("predefinePageView must be use after function init")},e.prototype.handlePath=function(){var e=location.pathname;try{if(this.initConfig.allow_hash){var t=new bk(location.href).hash.match(/#\/([^?#]+)/i);return t&&t.length?t[1]:location.pathname}}catch(n){e=location.pathname}return e},e.prototype.clearEventCache=function(){this.emit(Gfe.CleanEvents)},e.prototype.setWebIDviaUnionID=function(e){if(e){var t=afe(e);this.config({web_id:""+t,wechat_unionid:e}),this.emit(Gfe.CustomWebId)}},e.prototype.setWebId=function(e){this.config({web_id:""+e})},e.prototype.setWebIDviaOpenID=function(e){if(e){var t=afe(e);this.config({web_id:""+t,wechat_openid:e}),this.emit(Gfe.CustomWebId)}},e.prototype.setNativeAppId=function(e){this.bridgeReport&&this.appBridge.setNativeAppId(e)},e.prototype.setRequestHeaders=function(e){this.emit(Gfe.CustomHeader,e)},e.prototype.getSessionId=function(){return Dfe()},e.prototype.setSessionId=function(e){this.emit(Gfe.SessionReset,e)},e.prototype.resetStayDuration=function(e,t,n){this.emit(Gfe.ResetStay,{url_path:e,title:t,url:n},Gfe.Stay)},e.prototype.resetStayParams=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.emit(Gfe.SetStay,{url_path:e,title:t,url:n},Gfe.Stay)},e.prototype.getToken=function(e,t){var n=this;if(this.inited){var r=!1,i=function(t){if(!r){var i;r=!0;var o=n.configManager.get().user;return t&&(o.tobid=t,o[Fk(i="diss".split("")).call(i).join("")]=t),e(Npe({},o))}},o=function(){n.tokenManager.getTobId().then((function(e){i(e)}))};this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行GetToken",level:"info",time:vR(),infoType:"cus"}),this.sdkReady?o():(t&&vG((function(){i()}),t),this.on(Gfe.Ready,(function(){o()})))}else console.warn("getToken must be use after function init")},e.prototype.profileSet=function(e){this.bridgeReport?this.appBridge.profileSet(PT(e)):this.emit(Gfe.ProfileSet,e,Gfe.Profile),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSet",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileSetOnce=function(e){this.bridgeReport?this.appBridge.profileSetOnce(PT(e)):this.emit(Gfe.ProfileSetOnce,e,Gfe.Profile),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSetOnce",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileIncrement=function(e){this.bridgeReport?this.appBridge.profileIncrement(PT(e)):this.emit(Gfe.ProfileIncrement,e,Gfe.Profile),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileIncrement",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileUnset=function(e){this.bridgeReport?this.appBridge.profileUnset(e):this.emit(Gfe.ProfileUnset,e,Gfe.Profile),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileUnset",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileAppend=function(e){this.bridgeReport?this.appBridge.profileAppend(PT(e)):this.emit(Gfe.ProfileAppend,e,Gfe.Profile),this.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileAppend",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.setExternalAbVersion=function(e){var t;this.emit(Gfe.AbExternalVersion,"string"==typeof e&&e?pE(t=""+e).call(t):null,Gfe.Ab)},e.prototype.getVar=function(e,t,n){this.emit(Gfe.AbVar,{name:e,defaultValue:t,callback:n},Gfe.Ab)},e.prototype.getABconfig=function(e,t){this.emit(Gfe.AbConfig,{params:e,callback:t},Gfe.Ab)},e.prototype.getAbSdkVersion=function(){return this.configManager.getAbVersion()},e.prototype.onAbSdkVersionChange=function(e){var t=this;return this.emit(Gfe.AbVersionChangeOn,e,Gfe.Ab),function(){t.emit(Gfe.AbVersionChangeOff,e,Gfe.Ab)}},e.prototype.offAbSdkVersionChange=function(e){this.emit(Gfe.AbVersionChangeOff,e,Gfe.Ab)},e.prototype.openOverlayer=function(){this.emit(Gfe.AbOpenLayer,"",Gfe.Ab)},e.prototype.closeOverlayer=function(){this.emit(Gfe.AbCloseLayer,"",Gfe.Ab)},e.prototype.getAllVars=function(e){this.emit(Gfe.AbAllVars,e,Gfe.Ab)},e.prototype.destoryInstace=function(){this.destroy||(this.destroy=!0,this.off(Gfe.TokenComplete),this.emit(Gfe.DestoryInstance))},e.prototype.destroyInstance=function(){this.destroy||(this.destroy=!0,this.off(Gfe.TokenComplete),this.emit(Gfe.DestoryInstance))},e.plugins=[],e}(),kme="__rangers_ab_style__";!function(e){e[e.Var=0]="Var",e[e.All=1]="All"}(bme||(bme={}));var Ame=function(){function e(){this.fetchStatus="no",this.refreshFetchStatus="complete",this.versions=[],this.extVersions=[],this.mulilinkVersions=[],this.enable_multilink=!1,this.enable_ab_visual=!1,this.editMode=!1,this.callbacks=[],this.data=null,this.changeListener=new CO,this.readyStatus=!1,this.exposureCache=[]}return e.prototype.apply=function(e,t){var n=this;if(t.enable_ab_test){this.collect=e,this.config=t;var r=t.enable_multilink,i=t.ab_channel_domain,o=t.enable_ab_visual,a=t.ab_cross,s=t.ab_cookie_domain,c=t.ab_timeout,l=i||efe(gfe[t.channel||"cn"]),u=e.adapters.storage,d=this.collect.Types;this.types=d,this.cacheStorgae=new u(!1),this.timeout=c||3e3,this.enable_multilink=r,this.enable_ab_visual=o,this.abKey="__tea_sdk_ab_version_"+t.app_id,this.ab_cross=a,this.ab_cookie_domain=s||"",this.fetchUrl=l+"/service/2/abtest_config/",this.reportUrl=""+e.configManager.getUrl("event"),this.exposureLimit=t.exposure_limit||20,this.ab_batch_time=t.ab_batch_time||500,this.ab_user_mode=t.ab_user_mode||"user_unique_id",this.callbackMap=new CO,this.collect.on(d.TokenChange,(function(e){"uuid"===e&&n.readyStatus&&(n.clearCache(),n.fetchAB())})),this.collect.on(d.TokenReset,(function(e){"uuid"===e&&n.readyStatus&&(n.clearCache(),n.fetchAB())})),this.collect.on(d.AbVar,(function(e){var t=e.name,r=e.defaultValue,i=e.callback;n.getVar(t,r,i)})),this.collect.on(d.AbAllVars,(function(e){n.getAllVars(e)})),this.collect.on(d.AbConfig,(function(e){var t=e.params,r=e.callback;n.getABconfig(t,r)})),this.collect.on(d.AbExternalVersion,(function(e){n.setExternalAbVersion(e)})),this.collect.on(d.AbOpenLayer,(function(){n.openOverlayer()})),this.collect.on(d.AbCloseLayer,(function(){n.closeOverlayer()})),this.collect.on(d.AbVersionChangeOn,(function(e){n.changeListener.set(e,e)})),this.collect.on(d.AbVersionChangeOff,(function(e){n.changeListener.get(e)&&n.changeListener.delete(e)})),this.loadMode(),(this.enable_ab_visual||this.enable_multilink)&&this.openOverlayer(this.config.multilink_timeout_ms||500),this.checkLocal(),this.ready("ab"),this.readyStatus||(this.fetchAB(),this.readyStatus=!0),this.collect.emit(d.AbReady)}},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.loadMode=function(){var e=function(){try{return JSON.parse(atob(window.name))||void 0}catch(e){return}}(),t="";if(e){var n=e.scenario,r=e.href;n?(this.editMode=!0,t=n):!r||-1===hR(r).call(r,"datatester")&&-1===hR(r).call(r,"visual-editor")||(this.editMode=!0,t="visual-editor")}this.enable_ab_visual&&"visual-editor"===t&&this.collect.destoryInstace()},e.prototype.checkLocal=function(){var e,t=this.getABCache(),n=t.ab_version,r=t.ab_ext_version,i=t.ab_version_multilink,o=t.data,a=this.checkFromUrl();a?this.mulilinkVersions.push(a):this.mulilinkVersions=i||[],this.extVersions=r||[],this.versions=n||[],this.data=o;var s=b_(e=this.versions).call(e,this.extVersions);this.enable_multilink&&(s=b_(s).call(s,this.mulilinkVersions)),this.configVersions(s.join(","))},e.prototype.checkFromUrl=function(){var e=ofe(window.location.href);return e&&e.vid?e.vid:""},e.prototype.updateVersions=function(){var e,t,n=this.extVersions.length?b_(e=this.versions).call(e,this.extVersions):this.versions;this.enable_multilink&&(n=b_(n).call(n,this.mulilinkVersions)),this.configVersions(n.join(",")),this.updateABCache(),this.changeListener.size>0&&qG(t=this.changeListener).call(t,(function(e){"function"==typeof e&&e(n)}))},e.prototype.configVersions=function(e){this.collect.configManager.setAbVersion(e)},e.prototype.getVar=function(e,t,n){if(!e)throw new Error("variable must not be empty");if(void 0===t)throw new Error("variable no default value");if("function"!=typeof n)throw new Error("callback must be a function");var r={name:e,defaultValue:t,callback:n,type:bme.Var};this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 调用GetVar",level:"info",time:vR(),data:e,infoType:"cus"}),"complete"===this.fetchStatus&&"complete"===this.refreshFetchStatus?this.getRealVar(r,e):(this.callbackMap.get(e),this.callbackMap.set(e,r))},e.prototype.getRealVar=function(e,t){var n=e.name,r=e.defaultValue,i=e.callback,o=this.data;if(o){var a=o[n];if(a&&$pe(a)){var s,c,l=o[n].vid;return"$ab_url"===t?bw(s=this.mulilinkVersions).call(s,l)||this.mulilinkVersions.push(l):bw(c=this.versions).call(c,l)||this.versions.push(l),this.updateVersions(),this.fechEvent(l,t||n,r,i,a.val),void this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK执行GetVar,并曝光了实验"+n,level:"info",time:vR(),data:o[n],infoType:"sdk"})}this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK执行GerVar默认回调",level:"info",time:vR(),data:this.data,infoType:"sdk"}),i(r)}else i(r)},e.prototype.getAllVars=function(e){if("function"!=typeof e)throw new Error("callback must be a function");var t={callback:e,type:bme.All};this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 调用GetAllVars",level:"info",time:vR(),infoType:"cus"}),"complete"===this.fetchStatus&&"complete"===this.refreshFetchStatus?this.getRealAllVars(t):this.callbackMap.set("allVars",t)},e.prototype.getRealAllVars=function(e){(0,e.callback)(this.data?JSON.parse(PT(this.data)):{}),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 执行GetAllVars",level:"info",time:vR(),data:this.data,infoType:"sdk"})},e.prototype.fechEvent=function(e,t,n,r,i){try{if(this.config.disable_track_event)return;if(!e)return;var o=this.collect.configManager.get(),a=o.header,s=o.user,c=this.getABCache(),l=s[this.ab_user_mode]||s.user_unique_id;if(c&&c.uuid&&c.uuid!==l)return;var u={event:"abtest_exposure",ab_sdk_version:""+e,params:PT({app_id:this.config.appId,ab_url:"$ab_url"===t?n:window.location.href}),local_time_ms:vR()};a.custom=PT(a.custom);var d={events:[u],user:s,header:a};this.reportExposure(d,t),r&&r(i)}catch(h){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:h.message,infoType:"sdk"})}},e.prototype.reportExposure=function(e,t){var n=this;this.exposureCache.push(e),this.reportTimeout&&clearTimeout(this.reportTimeout),this.exposureCache.length>=this.exposureLimit?this.report(t):this.reportTimeout=vG((function(){n.report(t),clearTimeout(n.reportTimeout)}),this.ab_batch_time)},e.prototype.report=function(e){var t,n=this;this.collect.requestManager.useRequest({url:this.reportUrl,data:this.exposureCache,timeout:2e4,useBeacon:"$ab_url"===e,zip:!0}),qG(t=this.exposureCache).call(t,(function(e){n.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"曝光埋点上报成功",time:vR(),data:[e],code:200,status:"success",infoType:"sdk"})})),this.exposureCache=[]},e.prototype.setExternalAbVersion=function(e){this.extVersions=[e],this.updateVersions()},e.prototype.getABconfig=function(e,t){var n=jG(e);n&&n.length&&this.collect.configManager.set(e),this.fetchAB(t)},e.prototype.get=function(e){if(this.ab_cross){var t=this.cacheStorgae.getCookie(e,this.ab_cookie_domain);return t?JSON.parse(t):{}}return this.cacheStorgae.getItem(e)},e.prototype.set=function(e,t){this.ab_cross?this.cacheStorgae.setCookie(e,t,2592e6,this.ab_cookie_domain):this.cacheStorgae.setItem(e,t),this.collect.configManager.setAbCache(t)},e.prototype.getABCache=function(e){var t={ab_version:[],ab_ext_version:[],ab_version_multilink:[],data:null,timestamp:+new Date,uuid:""};return t=this.get(this.abKey)||t,e?t[e]:t},e.prototype.updateABCache=function(){var e=this.getABCache();e.ab_version_multilink=this.mulilinkVersions,e.ab_ext_version=this.extVersions,e.ab_version=this.versions,e.timestamp=vR(),this.set(this.abKey,e)},e.prototype.setAbCache=function(e){var t=this.getABCache();t.data=this.data,t.uuid=e,t.timestamp=vR(),this.set(this.abKey,t)},e.prototype.clearCache=function(){this.refreshFetchStatus="ing",this.data={},this.extVersions=[],this.mulilinkVersions=[],this.versions=[],this.collect.configManager.clearAbCache()},e.prototype.openOverlayer=function(e){var t=this;if(function(){if(!document.getElementById(kme)){var e="body { opacity: 0 !important; }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id=kme,n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}}(),e)var n=vG((function(){t.closeOverlayer(),clearTimeout(n)}),e)},e.prototype.closeOverlayer=function(){var e;(e=document.getElementById(kme))&&e.parentElement.removeChild(e)},e.prototype.fetchComplete=function(e,t){var n=this;try{var r;if(e&&"[object Object]"==Object.prototype.toString.call(e)){var i,o,a=this.collect.configManager.get().user;if(t&&t!==a.user_unique_id)return;this.data=e,this.setAbCache(t);var s=[];qG(i=jG(e)).call(i,(function(t){var n=e[t].vid;n&&s.push(n)})),this.versions=QG(o=this.versions).call(o,(function(e){return bw(s).call(s,e)}));var c=e.$ab_url,l=e.$ab_modification;if(l&&l.val&&this.enable_ab_visual){if(this.collect.destroy)return;this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行可视化实验",level:"info",logType:"fetch",time:vR(),infoType:"sdk",data:{$ab_modification:l}})}else if(c&&this.enable_multilink){var u;this.mulilinkVersions=QG(u=this.mulilinkVersions).call(u,(function(e){return bw(s).call(s,e)})),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行多链接实验",level:"info",logType:"fetch",time:vR(),infoType:"sdk",data:{$ab_url:c}});var d=c.val,h=c.vid;d&&h&&this.getVar("$ab_url",d,(function(){n.editMode||(d!==window.location.href?vG((function(){if(!n.collect.destroy){var e=""+d;e=-1===hR(e).call(e,"http")?"https://"+e:e,ife(e).host!==location.host?e=e+"&vid="+h:window.history.replaceState("","",e),window.location.href=e}}),100):n.closeOverlayer())}))}this.updateVersions()}else this.closeOverlayer();qG(r=this.callbackMap).call(r,(function(e){return n[e.type===bme.Var?"getRealVar":"getRealAllVars"](e,"")}))}catch(p){}},e.prototype.fetchAB=function(e){var t=this,n=this.collect.configManager.get(),r={header:Npe(Npe(Npe({aid:this.config.app_id},n.user||{}),n.header||{}),{ab_sdk_version:this.collect.configManager.getAbVersion(),ab_url:window.location.href})};this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起AB实验请求",level:"info",logType:"fetch",time:vR(),data:r,infoType:"sdk"});var i=n.user[this.ab_user_mode]||n.user.user_unique_id;this.collect.requestManager.useRequest({url:this.fetchUrl,data:r,success:function(n){t.fetchStatus="complete",t.refreshFetchStatus="complete";var r=n.data;"success"===n.message?(t.fetchComplete(r,i),e&&e(r)):(t.fetchComplete(null,i),e&&e(null)),t.collect.emit(t.types.AbComplete,r),t.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"AB实验请求成功",level:"info",logType:"fetch",time:vR(),data:r,infoType:"sdk"})},fail:function(){t.fetchStatus="complete",t.refreshFetchStatus="complete",t.fetchComplete(null,i),t.collect.emit(t.types.AbTimeout),e&&e(null),t.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"AB实验请求网络异常",level:"error",logType:"fetch",time:vR(),infoType:"sdk"})},timeout:this.timeout})},e}(),Fme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.event_verify_url&&("string"==typeof t.event_verify_url?(this.url=t.event_verify_url+"/v1/list_test",e.on(e.Types.SubmitBefore,(function(t){e.requestManager.useBeacon({url:n.url,data:t}),e.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"SDK Report ByteIo Verify Request",time:vR(),data:t,code:200,status:"success",verifyType:!0})}))):console.log("please use correct et_test url"))},e}();function Pme(e,t,n){if(void 0===t&&(t="list"),!e)return!1;if(t&&"list"===t){var r;if(bw(r=["LI","TR","DL"]).call(r,e.nodeName))return!0;if(e.dataset&&e.dataset.hasOwnProperty("teaIdx"))return!0;if(e.hasAttribute&&e.hasAttribute("data-tea-idx"))return!0}else{var i;if(bw(i=["A","BUTTON"]).call(i,e.nodeName))return!0;if(e.dataset&&e.dataset.hasOwnProperty("teaContainer"))return!0;if(e.hasAttribute&&e.hasAttribute("data-tea-container"))return!0;if(n&&e.hasAttribute&&e.hasAttribute(n))return!0}return!1}var Ime=function(e,t){return!!Cme(e,t)};function Xme(e,t){for(var n=e;n&&!Pme(n,"container",t.container_attr||"");){if("HTML"===n.nodeName||"BODY"===n.nodeName)return e;n=n.parentElement}return n||e}function xme(e){for(var t=e;t&&t.parentNode;){var n;if(t.hasAttribute("data-tea-ignore"))return!0;if(t.className&&bw(n=t.className).call(n,"applog-web-devtools-con"))return!0;if("HTML"===t.nodeName||"body"===t.nodeName)return!1;t=t.parentNode}return!1}var Hme=function(e,t){return e.hasAttribute?e.hasAttribute(t):e.attributes?!(!e.attributes[t]||!e.attributes[t].specified):void 0},Cme=function(e,t){if("string"==typeof t)return Hme(e,t);if(Ype(t)){for(var n=!1,r=0;r<t.length;r++)if(Hme(e,t[r])){n=!0;break}return n}},Ome=function(e,t){var n={};if("string"==typeof t)Hme(e,t)&&(n[t]=e.getAttribute(t));else if(Ype(t))for(var r=0;r<t.length;r++)Hme(e,t[r])&&(n[t[r]]=e.getAttribute(t[r]));return n};function Lme(e){var t=[];if(!e)return{element_path:"",positions:[]};for(;null!==e.parentElement;)t.push(e),e=e.parentElement;var n=[],r=[];return qG(t).call(t,(function(e){var t=function(e){if(null===e)return{str:"",index:0};var t=0,n=e.parentElement;if(n)for(var r=n.children,i=0;i<r.length&&r[i]!==e;i++)r[i].nodeName===e.nodeName&&t++;return{str:[e.nodeName.toLowerCase(),Pme(e,"list")?"[]":""].join(""),index:t}}(e),i=t.str,o=t.index;n.unshift(i),r.unshift(o)})),{element_path:"/"+n.join("/"),positions:r}}var Ume=function(){function e(e,t){this.maxDuration=432e5,this.aliveDTime=6e4,this.options={aliveName:"predefine_page_alive",params:{},container:null},this.focusState=!0,this.collect=e,this.config=t,this.pageStartTime=vR(),this.sessionStartTime=this.pageStartTime,this.timerHandler=null,$pe(t.enable_stay_duration)&&(this.options=DT(this.options,t.enable_stay_duration)),this.hard=this.options.mode&&"hard"===this.options.mode,this.focusState=document.hasFocus(),this.aliveDTime=this.options.aliveTime||6e4}return e.prototype.setParams=function(e,t,n){this.set_path=e,this.set_url=n,this.set_title=t},e.prototype.enable=function(e,t,n){this.url_path=e,this.url=n,this.title=t,this.disableCallback=this.enablePageAlive(),this.hard&&(this.removeMode=this.hardMode())},e.prototype.disable=function(){this.disableCallback(),this.pageStartTime=vR(),this.hard&&this.removeMode&&this.removeMode()},e.prototype.sendEvent=function(e,t){void 0===t&&(t=!1);var n=t?this.aliveDTime:vR()-this.sessionStartTime;if(!(n<0||n>this.aliveDTime||vR()-this.pageStartTime>this.maxDuration)&&(!t||"hidden"!==document.visibilityState)&&(!this.hard||this.focusState)){var r=Npe({url_path:this.getParams("url_path"),title:this.getParams("title"),url:this.getParams("url"),duration:n,is_support_visibility_change:rfe(),startTime:this.sessionStartTime,hidden:document.visibilityState,leave:e,mode:this.hard?"hard":"normal",focusState:this.focusState,aliveType:this.options.container?"dom":"page"},this.options.params);if(this.options.container){var i=Lme(this.options.container).element_path;r=DT(r,{element_path:i,aliveType:this.options.container?"dom":"page"})}this.collect.beconEvent(this.options.aliveName,r),this.sessionStartTime=vR()}},e.prototype.getParams=function(e){switch(e){case"url_path":return this.set_path||this.url_path||location.pathname;case"title":return this.set_title||this.title||document.title||location.pathname;case"url":return this.set_url||this.url||location.href}},e.prototype.setUpTimer=function(){var e=this;return this.timerHandler&&clearInterval(this.timerHandler),Tw((function(){vR()-e.sessionStartTime>e.aliveDTime&&e.sendEvent(!1,!0)}),1e3)},e.prototype.visibilitychange=function(){"hidden"===this.getDisplayStatus()?this.timerHandler&&(clearInterval(this.timerHandler),this.sendEvent(!1)):"visible"===this.getDisplayStatus()&&(this.sessionStartTime=vR(),this.timerHandler=this.setUpTimer())},e.prototype.getDisplayStatus=function(){if(!this.options.container)return document.visibilityState;try{var e=window.getComputedStyle(this.options.container);return"none"!==e.display&&"hidden"!==e.visibility&&"0"!==e.opacity?"visible":"hidden"}catch(t){return"visible"}},e.prototype.beforeunload=function(){document.hidden||this.sendEvent(!0)},e.prototype.muition=function(){var e=this;new MutationObserver((function(t){qG(t).call(t,(function(t){e.visibilitychange()}))})).observe(this.options.container,{attributes:!0,attributeFilter:["style"]})},e.prototype.enablePageAlive=function(){var e,t,n=this;this.timerHandler=this.setUpTimer();var r=D_(e=this.visibilitychange).call(e,this),i=D_(t=this.beforeunload).call(t,this);return this.options.container?this.muition():document.addEventListener("visibilitychange",r),window.addEventListener("pagehide",i),function(){n.beforeunload(),document.removeEventListener("visibilitychange",r),window.removeEventListener("pagehide",i)}},e.prototype.hardMode=function(){var e=this,t=function(){e.timerHandler&&(clearInterval(e.timerHandler),e.sendEvent(!1)),e.focusState=!1},n=function(){e.focusState=!0,e.sessionStartTime=vR(),e.timerHandler=e.setUpTimer()};return window.addEventListener("blur",t),window.addEventListener("focus",n),function(){window.removeEventListener("blur",t),window.removeEventListener("focus",n)}},e}(),Bme=function(){function e(e,t){var n=this;this.maxDuration=432e5,this.aliveDTime=6e4,this.options={closeName:"predefine_page_close",params:{}},this.focusState=!0,this.visibilitychange=function(){"hidden"===document.visibilityState?n.activeEndTime=vR():"visible"===document.visibilityState&&(n.activeEndTime&&(n.totalTime+=n.activeEndTime-n.activeStartTime,n.activeTimes+=1),n.activeEndTime=void 0,n.activeStartTime=vR())},this.beforeunload=function(){if(n.totalTime+=(n.activeEndTime||vR())-n.activeStartTime,n.config.autotrack)try{window.sessionStorage.setItem("_tea_cache_duration",PT({duration:n.totalTime,page_title:document.title||location.pathname}))}catch(e){}n.sendEventPageClose()},this.collect=e,this.config=t,this.maxDuration=t.maxDuration||t.max_duration||864e5,this.pageStartTime=vR(),$pe(t.enable_stay_duration)&&(this.options=DT(this.options,t.enable_stay_duration)),this.hard=this.options.mode&&"hard"===this.options.mode,this.focusState=document.hasFocus(),this.resetData()}return e.prototype.setParams=function(e,t,n){this.set_path=e,this.set_url=n,this.set_title=t},e.prototype.resetParams=function(e,t,n){this.url_path=e,this.url=n,this.title=t},e.prototype.enable=function(e,t,n){this.url_path=e,this.url=n,this.title=t,this.disableCallback=this.enablePageClose(),this.hard&&(this.removeMode=this.hardMode())},e.prototype.disable=function(){this.disableCallback(),this.hard&&this.removeMode&&this.removeMode(),this.resetData()},e.prototype.resetData=function(){this.activeStartTime=void 0===this.activeStartTime?this.pageStartTime:vR(),this.activeEndTime=void 0,this.activeTimes=1,this.totalTime=0,this.resetParams(location.pathname,document.title,location.href)},e.prototype.sendEventPageClose=function(){var e=vR()-this.pageStartTime;this.totalTime<0||e<0||this.totalTime>=this.maxDuration||this.hard&&!this.focusState||(this.collect.beconEvent(this.options.closeName,Npe({url_path:this.getParams("url_path"),title:this.getParams("title"),url:this.getParams("url"),active_times:this.activeTimes,duration:this.totalTime,total_duration:e,is_support_visibility_change:rfe(),mode:this.hard?"hard":"normal",focusState:this.focusState},this.options.params)),this.pageStartTime=vR(),this.resetData())},e.prototype.getParams=function(e){switch(e){case"url_path":return this.set_path||this.url_path||location.pathname;case"title":return this.set_title||this.title||document.title||location.pathname;case"url":return this.set_url||this.url||location.href}},e.prototype.enablePageClose=function(){var e,t,n=this,r=D_(e=this.visibilitychange).call(e,this),i=D_(t=this.beforeunload).call(t,this);return document.addEventListener("visibilitychange",r),window.addEventListener("pagehide",i),function(){n.beforeunload(),document.removeEventListener("visibilitychange",r),window.removeEventListener("pagehide",i)}},e.prototype.hardMode=function(){var e=this,t=function(){e.focusState=!1},n=function(){e.focusState=!0};return window.addEventListener("blur",t),window.addEventListener("focus",n),function(){window.removeEventListener("blur",t),window.removeEventListener("focus",n)}},e}(),Nme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,this.config=t,this.config.enable_stay_duration){this.title=document.title||location.pathname,this.url=location.href,this.url_path=location.pathname,this.pageAlive=new Ume(e,t),this.pageClose=new Bme(e,t);var r=this.collect.Types;this.collect.on(r.DestoryInstance,(function(){n.disable()})),this.collect.on(r.ResetStay,(function(e){var t=e.url_path,r=e.title,i=e.url;n.resetStayDuration(t,r,i)})),this.collect.on(r.RouteChange,(function(e){e.init||t.disable_route_report||n.resetStayDuration()})),this.collect.on(r.SetStay,(function(e){var t=e.url_path,r=e.title,i=e.url;n.setStayParmas(t,r,i)})),this.enable(this.url_path,this.title,this.url),this.ready(r.Stay),this.collect.emit(r.StayReady)}},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.enable=function(e,t,n){this.pageAlive.enable(e,t,n),this.pageClose.enable(e,t,n)},e.prototype.disable=function(){this.pageAlive.disable(),this.pageClose.disable()},e.prototype.setStayParmas=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.pageAlive.setParams(e,t,n),this.pageClose.setParams(e,t,n),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行 resetStayParams",level:"info",time:vR(),data:{url_path:e,title:t,url:n}})},e.prototype.reset=function(e,t,n){this.disable(),this.enable(e,t,n)},e.prototype.resetStayDuration=function(e,t,n){this.reset(e,t,n),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行 resetStayDuration",level:"info",time:vR(),data:{url_path:e,title:t,url:n}})},e}(),Vme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.duration=6e4,this.reportUrl=e.configManager.getDomain()+"/profile/list";var r=e.Types;this.eventCheck=new _fe(e,t),this.cache={},this.collect.on(r.ProfileSet,(function(e){n.setProfile(e)})),this.collect.on(r.ProfileSetOnce,(function(e){n.setOnceProfile(e)})),this.collect.on(r.ProfileUnset,(function(e){n.unsetProfile(e)})),this.collect.on(r.ProfileIncrement,(function(e){n.incrementProfile(e)})),this.collect.on(r.ProfileAppend,(function(e){n.appendProfile(e)})),this.collect.on(r.ProfileClear,(function(){n.cache={}})),this.ready(r.Profile)},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.report=function(e,t){void 0===t&&(t={});try{if(this.config.disable_track_event)return;var n=[];n.push(this.collect.processEvent(e,t));var r=this.collect.eventManager.merge(n);this.collect.requestManager.useRequest({url:this.reportUrl,data:r}),this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:r,code:200,status:"success"})}catch(i){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message})}},e.prototype.setProfile=function(e){var t=this.formatParams(e);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set",Npe(Npe({},t),{profile:!0})))},e.prototype.setOnceProfile=function(e){var t=this.formatParams(e,!0);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set_once",Npe(Npe({},t),{profile:!0})))},e.prototype.incrementProfile=function(e){e?this.report("__profile_increment",Npe(Npe({},e),{profile:!0})):console.warn("please check the params, must be object!!!")},e.prototype.unsetProfile=function(e){if(e){var t={};t[e]="1",this.report("__profile_unset",Npe(Npe({},t),{profile:!0}))}else console.warn("please check the key, must be string!!!")},e.prototype.appendProfile=function(e){if(e){var t={};for(var n in e){var r;"string"==typeof e[n]||"Array"===mG(r=Object.prototype.toString.call(e[n])).call(r,8,-1)?t[n]=e[n]:console.warn("please check the value of param: "+n+", must be string or array !!!")}jG(t).length&&this.report("__profile_append",Npe(Npe({},t),{profile:!0}))}else console.warn("please check the params, must be object!!!")},e.prototype.pushCache=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){n.cache[t]={val:n.clone(e[t]),timestamp:vR()}}))},e.prototype.formatParams=function(e,t){var n=this;void 0===t&&(t=!1);try{var r;if(!e||"[object Object]"!==Object.prototype.toString.call(e))return void console.warn("please check the params type, must be object !!!");var i={};for(var o in e){var a;"string"==typeof e[o]||"number"==typeof e[o]||"Array"===mG(a=Object.prototype.toString.call(e[o])).call(a,8,-1)?i[o]=e[o]:console.warn("please check the value of params:"+o+", must be string,number,Array !!!")}var s=jG(i);if(!s.length)return;if(!this.eventCheck.checkEventParams(i))return;var c=vR();return JX(r=QG(s).call(s,(function(r){var i=n.cache[r];return t?!i:!(i&&n.compare(i.val,e[r])&&c-i.timestamp<n.duration)}))).call(r,(function(e,t){return e[t]=i[t],e}),{})}catch(l){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:l.message}),console.log("error")}},e.prototype.compare=function(e,t){try{return PT(e)===PT(t)}catch(n){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),!1}},e.prototype.clone=function(e){try{return JSON.parse(PT(e))}catch(t){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),e}},e.prototype.unReady=function(){console.warn("sdk is not ready, please use this api after start")},e}(),jme=function(){function e(){var e=this;this.setInterval=function(){e.clearIntervalFunc=function(e,t){void 0===e&&(e=function(){}),void 0===t&&(t=1e3);var n,r=vR()+t;return n=vG((function i(){var o=vR()-r;e(),r+=t,n=vG(i,Math.max(0,t-o))}),t),function(){window.clearTimeout(n)}}((function(){e.isSessionhasEvent&&e.endCurrentSession()}),e.sessionInterval)},this.clearInterval=function(){e.clearIntervalFunc&&e.clearIntervalFunc()}}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,!t.disable_heartbeat){this.sessionInterval=6e4,this.startTime=0,this.lastTime=0,this.setInterval();var r=this.collect.Types;this.collect.on(r.SessionResetTime,(function(){n.process()}))}},e.prototype.endCurrentSession=function(){this.collect.event("_be_active",{start_time:this.startTime,end_time:this.lastTime,url:window.location.href,referrer:window.document.referrer,title:document.title||location.pathname}),this.isSessionhasEvent=!1,this.startTime=0},e.prototype.process=function(){this.isSessionhasEvent||(this.isSessionhasEvent=!0,this.startTime=+new Date);var e=this.lastTime||+new Date;this.lastTime=+new Date,this.lastTime-e>this.sessionInterval&&(this.clearInterval(),this.endCurrentSession(),this.setInterval())},e}(),Kme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.channel_domain||t.disable_track_event||t.disable_sdk_monitor||(this.collect=e,this.config=t,this.url=e.configManager.getUrl("event"),this.collect.on(e.Types.Ready,(function(){n.sdkOnload()})),this.collect.on(e.Types.SubmitError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.response;"f_data"===t&&n.sdkError(r,i,o)})),this.collect.on(e.Types.SDKInnerError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.msg;n.sdkInnerError(t,r,i,o)})))},e.prototype.sdkOnload=function(){var e=this;try{var t=this.collect.configManager.get(),n=t.header,r=t.user,i=n.app_id,o=n.app_name,a=n.sdk_version,s=r.web_id,c={events:[{event:"onload",params:PT({app_id:i,app_name:o||"",sdk_version:a,sdk_type:"npm",sdk_config:this.config,sdk_desc:"TOC",url:location.href}),local_time_ms:vR()}],user:{user_unique_id:s},header:{}};vG((function(){e.collect.requestManager.useRequest({url:e.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkError=function(e,t,n){var r=this;try{var i=e[0],o=i.user,a=i.header,s=[];qG(e).call(e,(function(e){var t;qG(t=e.events).call(t,(function(e){s.push(e)}))}));var c={events:zS(s).call(s,(function(e){return{event:"on_error",params:PT({type:"sdk_event_error",error_code:t,app_id:a.app_id,app_name:a.app_name||"",error_event:e.event,sdk_version:a.sdk_version,local_time_ms:e.local_time_ms,tea_event_index:vR(),params:e.params,header:a,user:o,err_msg:n.m||""}),local_time_ms:vR()}})),user:{user_unique_id:o.user_unique_id},header:{}};vG((function(){r.collect.requestManager.useRequest({url:r.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkInnerError=function(e,t,n,r){var i=this;try{var o=t[0],a=o.user,s=o.header,c=[];qG(t).call(t,(function(e){var t;qG(t=e.events).call(t,(function(e){c.push(e)}))}));var l={events:zS(c).call(c,(function(t){return{event:"on_error",params:PT({type:e,error_code:n,app_id:s.app_id,app_name:s.app_name||"",error_event:t.event,sdk_version:s.sdk_version,local_time_ms:t.local_time_ms,tea_event_index:vR(),params:t.params,header:s,user:a,ua:window.navigator.userAgent,err_msg:r}),local_time_ms:vR()}})),user:a,header:{}};vG((function(){i.collect.requestManager.useRequest({url:i.url,data:[l],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(u){}},e}();function Qme(e,t){var n;if(1!==e.nodeType)return!1;if(!t.svg&&function(e){if("svg"===e.tagName.toLowerCase())return!0;for(var t=e.parentElement,n=!1;t;)"svg"===t.tagName.toLowerCase()?(t=null,n=!0):t=t.parentElement;return n}(e))return!1;if(bw(n=["HTML","BODY"]).call(n,e.tagName.toUpperCase()))return!1;var r=e;return!("none"===r.style.display||!Pme(r,"container",t.container_attr||"")&&!(function(e,t){for(var n=e,r=!1;n&&!Pme(n,"container",t.container_attr||"");){if("HTML"===n.nodeName||"BODY"===n.nodeName)return r;n=n.parentElement}return!0}(r,t)||function(e){if(e.children.length){var t,n=e.children;return!bS(t=mG([]).call(n)).call(t,(function(e){return e.children.length>0}))}return!0}(r)||t.svg))}var Wme=function(){function e(e,t,n){var r=this;this.statistics=!1,this.pageView=!1,this.clickEvent=function(e){Qme(e.target,r.options)&&r.eventHandel({eventType:"dom",eventName:"click"},e)},this.changeEvent=function(e){r.eventHandel({eventType:"dom",eventName:"change"},e)},this.submitEvent=function(e){r.eventHandel({eventType:"dom",eventName:"submit"},e)},this.getPageViewEvent=function(e,t){t&&"pushState"===t&&r.eventHandel({eventType:"dom",eventName:"beat"},Npe({beat_type:0},e)),r.eventHandel({eventType:"dom",eventName:"page_view"},e)},this.getPageLoadEvent=function(e){r.eventHandel({eventType:"dom",eventName:"page_statistics"},{lcp:e})},this.config=n.getConfig().eventConfig,this.collect=t,this.options=e,this.beatTime=e.beat,this.domContainer=e.container||document}return e.prototype.init=function(e){this.eventHandel=e;var t=this.config.mode;this.addListener(t)},e.prototype.addListener=function(e){var t=this;if("proxy-capturing"===e){var n;if(this.config.click&&(Ype(this.domContainer)?qG(n=this.domContainer).call(n,(function(e){e.addEventListener("click",t.clickEvent,!0)})):this.domContainer.addEventListener("click",this.clickEvent,!0)),this.config.pv){this.collect.on("route-change",(function(e){var n=e.config,r=e.name;t.getPageViewEvent(n,r),t.pageView=!0}));var r=vG((function(){t.pageView||(t.getPageViewEvent(t.getDefaultConfig()),t.pageView=!0,clearTimeout(r))}),2e3)}if(this.config.beat){try{"complete"===document.readyState?this.beatEvent(this.beatTime):window.addEventListener("load",(function(){t.beatEvent(t.beatTime)}));var i=0,o=null;window.addEventListener("scroll",(function(){clearTimeout(o),o=vG(a,500),i=document.documentElement.scrollTop||document.body.scrollTop}));var a=function(){(document.documentElement.scrollTop||document.body.scrollTop)==i&&t.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:1})}}catch(l){}try{var s=window.performance&&window.performance.getEntriesByType("paint");if(s&&s.length){new PerformanceObserver((function(e){var n=e.getEntries(),r=n[n.length-1],i=r.renderTime||r.loadTime;t.statistics||(t.getPageLoadEvent(i),t.statistics=!0)})).observe({entryTypes:["largest-contentful-paint"]});var c=vG((function(){t.statistics||(t.getPageLoadEvent(s[0].startTime||0),t.statistics=!0,clearTimeout(c))}),2e3)}else this.getPageLoadEvent(0)}catch(l){this.getPageLoadEvent(0)}}}},e.prototype.removeListener=function(){var e,t=this;Ype(this.domContainer)?qG(e=this.domContainer).call(e,(function(e){e.removeEventListener("click",t.clickEvent,!0)})):this.domContainer.removeEventListener("click",this.clickEvent,!0)},e.prototype.beatEvent=function(e){var t=this;try{var n;this.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:3}),this.beatTime&&(n=Tw((function(){t.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:2})}),e)),nfe((function(){t.eventHandel({eventType:"dom",eventName:"beat",eventSend:"becon"},{beat_type:0}),t.beatTime&&clearInterval(n)}))}catch(r){}},e.prototype.getDefaultConfig=function(){return{is_html:1,url:location.href,referrer:document.referrer,page_key:location.href,refer_page_key:document.referrer,page_title:document.title||location.pathname,page_manual_key:"",refer_page_manual_key:"",refer_page_title:"",page_path:location.pathname,page_host:location.host}},e}(),qme={eventConfig:{mode:"proxy-capturing",submit:!1,click:!0,change:!1,pv:!0,beat:!0,hashTag:!1,impr:!1},scoutConfig:{mode:"xpath"}},Zme=function(){function e(e,t){this.config=e,this.config.eventConfig=DT(this.config.eventConfig,t)}return e.prototype.getConfig=function(){return this.config},e.prototype.setConfig=function(e){return this.config=e},e}();function $me(e,t,n,r){var i,o,a={},s=function(e){if(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return{left:t.left,top:t.top,element_width:n,element_height:r}}}(t=Xme(t,n)),c=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=e.clientX,r=e.clientY,i=t.left,o=t.top,a=n-i>=0?n-i:0,s=r-o>=0?r-o:0;return{touch_x:Math.floor(a),touch_y:Math.floor(s)}}(e,s),l=s.element_width,u=s.element_height,d=c.touch_x,h=c.touch_y,p=Lme(t),f=p.element_path,g=p.positions,v=(i=Xme(t,n),o=[],function e(t){var n,r,i,a,s=(a="",3===(n=t).nodeType?a=pE(r=n.textContent).call(r):n.dataset&&n.dataset.hasOwnProperty("teaTitle")||n.hasAttribute("ata-tea-title")?a=n.getAttribute("data-tea-title"):"INPUT"===n.nodeName&&bw(i=["button","submit"]).call(i,n.getAttribute("type"))?a=n.getAttribute("value"):"IMG"===n.nodeName&&n.getAttribute("alt")&&(a=n.getAttribute("alt")),mG(a).call(a,0,200));if(s&&-1===hR(o).call(o,s)&&o.push(s),t.childNodes.length>0)for(var c=t.childNodes,l=0;l<c.length;l++)8!==c[l].nodeType&&e(c[l])}(i),o),m=window.performance.timing.navigationStart,y=vR()-m,_=zS(g).call(g,(function(e){return""+e})),G=null;if(window.TEAVisualEditor&&window.TEAVisualEditor.getOriginXpath&&(G=window.TEAVisualEditor.getOriginXpath({xpath:f,positions:_})),a.element_path=G&&G.xpath||f,a.positions=G&&G.positions||_,r&&!r.text&&(a.texts=v,a.element_title=t.getAttribute("data-tea-title")||t.getAttribute("title")||function(e){if(!e)return"";var t="";try{var n,r;e.textContent?t=pE(n=e.textContent).call(n).replace(/\s+/g,","):e.innerText&&(t=pE(r=e.innerText).call(r).replace(/\s+/g,",")),"input"!==e.tagName&&"INPUT"!==e.tagName||(t=e.value||"")}finally{return t}}(t)),a.element_id=t.getAttribute("id")||"",a.element_class_name=t.getAttribute("class")||"",a.element_type=t.nodeType,a.element_width=Math.floor(l),a.element_height=Math.floor(u),a.touch_x=d,a.touch_y=h,a.page_manual_key="",a.elememt_manual_key="",a.since_page_start_ms=y,a.page_start_ms=m,a.page_path=location.pathname,a.page_host=location.host,n.track_attr&&Ime(t,n.track_attr)){var R=Ome(t,n.track_attr);for(var b in R)a[b]=R[b]}if(n.custom_attr)try{if(Ime(t,n.custom_attr)){R=Ome(t,n.custom_attr),b=decodeURIComponent(R[n.custom_attr]);var T=JSON.parse(b);if(jG(T))for(var w in T)a[w]=T[w]}}catch(M){console.log("custom attr error")}var S=Xme(t,n);return"A"===S.tagName&&(a.href=S.getAttribute("href")),"IMG"===t.tagName&&(a.src=t.getAttribute("src")),a}var Yme=function(e,t,n,r,i){return Npe(Npe({event:e},$me(t,n,r,i)),{is_html:1,page_key:window.location.href,page_title:document.title})},Jme=function(){function e(e,t){this.ignore={text:!1},this.initConfig=e,this.options=t,this.eventName=t&&"tea"===t.custom?{click:"__bav_click",page:"__bav_page",beat:"__bav_beat",static:"__bav_page_statistics",exposure:"__bav_page_exposure",scroll:"__bav_slide"}:{click:"bav2b_click",page:"bav2b_page",beat:"bav2b_beat",static:"bav2b_page_statistics",exposure:"bav2b_exposure",scroll:"$bav2b_slide"},t&&!1===t.text&&(this.ignore.text=!0),t&&t.exposure&&t.exposure.eventName&&(this.eventName.exposure=t.exposure.eventName)}return e.prototype.handleEvent=function(e,t){try{if(xme(e.target))return null;var n="bav2b_click";switch(t){case"click":return n=e.target.getAttribute("data-applog-click-event")||this.eventName.click||"",Yme(n,e,e.target,this.options,this.ignore);case"exposure":return n=e.target.getAttribute("data-applog-exposure-event")||this.eventName.exposure||"",Yme(n,e,e.target||e,this.options,this.ignore);case"change":return Npe(Npe({},Yme(n="bav2b_change",e,e.target,this.options)),function(e,t){try{if("bav2b_change"===e)return t.hasAttribute("data-tea-track")?{value:t.value}:{}}catch(n){return{}}}(n,e.target));case"submit":return Yme(n="bav2b_submit",e,e.target,this.options)}}catch(VO){return console.error(VO),null}},e.prototype.handleViewEvent=function(e){e.event=this.eventName.page,e.page_title=document.title,e.page_total_width=window.innerWidth,e.page_total_height=window.innerHeight;try{var t=window.sessionStorage.getItem("_tea_cache_duration");if(t){var n=JSON.parse(t);e.refer_page_duration_ms=n?n.duration:""}e.scroll_width=document.documentElement.scrollLeft?document.documentElement.scrollLeft+window.innerWidth:window.innerWidth,e.scroll_height=document.documentElement.scrollTop?document.documentElement.scrollTop+window.innerHeight:window.innerHeight,e.page_start_ms=window.performance.timing.navigationStart}catch(r){console.log("page event error "+PT(r))}return e},e.prototype.handleStatisticsEvent=function(e){var t={};t.event=this.eventName.static,t.is_html=1,t.page_key=location.href,t.refer_page_key=document.referrer||"",t.page_title=document.title,t.page_manual_key=this.initConfig.autotrack.page_manual_key||"",t.refer_page_manual_key="";try{var n=e.lcp,r=window.performance.timing,i=r.loadEventEnd-r.navigationStart;t.page_init_cost_ms=Y_(n||(i>0?i:0)),t.page_start_ms=r.navigationStart}catch(o){console.log("page_statistics event error "+PT(o))}return t},e.prototype.handleBeadtEvent=function(e){e.event=this.eventName.beat,e.page_key=window.location.href,e.is_html=1,e.page_title=document.title,e.page_manual_key=this.initConfig.autotrack.page_manual_key||"";try{e.page_viewport_width=window.innerWidth,e.page_viewport_height=window.innerHeight,e.page_total_width=document.documentElement.scrollWidth,e.page_total_height=document.documentElement.scrollHeight,e.scroll_width=document.documentElement.scrollLeft+window.innerWidth,e.scroll_height=document.documentElement.scrollTop+window.innerHeight,e.since_page_start_ms=vR()-window.performance.timing.navigationStart,e.page_start_ms=window.performance.timing.navigationStart}catch(t){console.log("beat event error "+PT(t))}return e},e.prototype.handleExposureEvent=function(e,t){if(xme(t.target))return null;var n=Yme(e.event||this.eventName.exposure,t,t.target||t,this.options,this.ignore);if(n.$exposure_type=e.exposureType,this.options.exposure.callback){var r=this.options.exposure.callback(n);return r||jG(r).length?r:(console.warn("exposure callback must return data!"),n)}return n},e.prototype.handleScrollEvent=function(e,t){var n=Yme(e.event||this.eventName.scroll,t,t.target||t,this.options,this.ignore);if(n=DT(n,e.params),!this.options.scroll.callback||(n=this.options.scroll.callback(n))||jG(n).length)return n;console.warn("scroll callback must return data!")},e}(),eye=function(){function e(e){this.collect=e,this.eventNameList=["report_click_event","report_change_event","report_submit_event","report_exposure_event","report_page_view_event","report_page_statistics_event","report_beat_event"]}return e.prototype.send=function(e,t){var n=t.event;delete t.event,e&&"becon"===e.eventSend?this.collect.beconEvent(n,t):this.collect.event(n,t)},e.prototype.get=function(e,t){var n=DT({headers:{"content-type":"application/json"},method:"GET"},t);fetch(e,n)},e.prototype.post=function(e,t){var n=DT({headers:{"content-type":"application/json"},method:"POST"},t);fetch(e,n)},e}(),tye={},nye=[];function rye(e,t,n,r){var i=e&&e.source||window.opener||window.parent,o=e&&e.origin||r||"*",a={type:t,payload:n};i.postMessage(PT(a),o)}function iye(e){if(bS(nye).call(nye,(function(e){return"*"===e}))||bS(nye).call(nye,(function(t){var n;return hR(n=e.origin).call(n,t)>-1}))){var t,n=e.data;if("string"==typeof e.data)try{n=JSON.parse(e.data)}catch(o){n=void 0}if(!n)return;var r=n.type,i=n.payload;tye[r]&&qG(t=tye[r]).call(t,(function(t){"function"==typeof t&&t(e,i)}))}}var oye=!1;function aye(e,t){window.TEAVisualEditor=window.TEAVisualEditor||{},window.TEAVisualEditor.appId=t.app_id;var n,r=t.channel_domain,i="";if(function(e){e.length&&qG(e).call(e,(function(e){nye.push(e)}))}(["*"]),r){var o,a="";try{var s=window.performance.getEntriesByType("resource");if(s&&s.length&&(qG(s).call(s,(function(e){var t;"script"===e.initiatorType&&e.name&&-1!==hR(t=e.name).call(t,"collect")&&(a=e.name)})),a&&(o=a.split("/"))&&o.length)){i="https:/";for(var c=2;c<o.length&&c!==o.length-1;c++)i=i+"/"+o[c];if(i&&hR(i).call(i,"/5.0")){var l=i.split("/5.0");i=l[0]||i}}}catch(n){}}!function(e,t){var n={};if(jG(e).length)for(var r in e){if("filter"===r||"autotrack"===r||"enable_stay_duration"===r)break;n[r]=e[r]}var i=e.domain;(window.opener||window.parent).postMessage({type:"tea:sdk:info",config:n,version:t},i),window.addEventListener("message",iye,!1)}(t,mfe);try{tye[n="tea:openHeatMapCore"]=tye[n]||[],tye[n].push((function(n){var r=yfe,i=n.data.app_id;i&&i!==t.app_id||function(e){var t=e.event,n=e.editorUrl,r=e.autoTrackInstance;oye||(oye=!0,function(e,t,n){var r=document.createElement("script");r.src=e,r.onerror=function(){n(e)},r.onload=function(){t()},document.getElementsByTagName("head")[0].appendChild(r)}(n,(function(){rye(t,"editorScriptloadSuccess"),r.destroy()}),(function(){t&&rye(t,"editorScriptloadError"),oye=!1})))}({event:n,editorUrl:r+".js?query="+vR(),autoTrackInstance:e})}))}catch(n){console.log("openHeatMapCore error")}}var sye,cye=function(){function e(e,t){this._instance=null,this._intersection=e,this.config=t,this._intersection&&this.init()}return e.prototype.init=function(){var e=this;if(window.MutationObserver)try{if(this._instance=new MutationObserver((function(t){qG(t).call(t,(function(t){"attributes"===t.type&&e.attributeChangeObserve(t),"childList"===t.type&&e.modifyNodeObserve(t)}))})),!document||!document.body)return void console.warn("please use sdk api init after body element");var t=!1!==this.config.autotrack.exposure.attributes;this._instance.observe(document.body,{childList:!0,attributes:t,subtree:!0,attributeOldValue:!1})}catch(n){console.log("your browser cannot support MutationObserver,so cannot report exposure event, please update")}else console.log("your browser cannot support MutationObserver,so cannot report exposure event, please update")},e.prototype.attributeChangeObserve=function(e){e.target.hasAttribute("data-exposure")?this.exposureAdd(e,"mutation"):this.exposureRemove(e)},e.prototype.modifyNodeObserve=function(e){var t=this;qG(Array.prototype).call(e.addedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-exposure")&&t.exposureAdd(e,"intersect"),t.mapChild(e,D_(n=t.exposureAdd).call(n,t))})),qG(Array.prototype).call(e.removedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-exposure")&&t.exposureRemove(e),t.mapChild(e,D_(n=t.exposureRemove).call(n,t))}))},e.prototype.mapChild=function(e,t){var n=this;1===e.nodeType&&e.children.length&&qG(Array.prototype).call(e.children,(function(e){1===e.nodeType&&e.hasAttribute("data-exposure")&&t(e),n.mapChild(e,t)}))},e.prototype.exposureAdd=function(e,t){try{this._intersection&&this._intersection.exposureAdd(e,t)}catch(n){console.log("intersection error",PT(n.message))}},e.prototype.exposureRemove=function(e){try{this._intersection&&this._intersection.exposureRemove(e)}catch(t){console.log("intersection error",PT(t.message))}},e._exposure_observer=null,e}();!function(e){e[e.EXPOSURE_ONCE=0]="EXPOSURE_ONCE",e[e.LIFECYCLE_SHOW_NEW=3]="LIFECYCLE_SHOW_NEW",e[e.RESUME_FORM_PAGE=6]="RESUME_FORM_PAGE",e[e.RESUME_FORM_BACK=7]="RESUME_FORM_BACK",e[e.NOT_EXPOSURE=-1]="NOT_EXPOSURE"}(sye||(sye={}));var lye,uye=function(){function e(t,n,r){var i=this;this.backStatus=!1,this.instance=this.buildObserver(),this.collect=t,this.observeMap=e._observer_map,n.autotrack.exposure.ratio?this.ratio=n.autotrack.exposure.ratio:0===n.autotrack.exposure.ratio?this.ratio=0:this.ratio=.5,this.timeLimit=n.autotrack.exposure.stay||0,this.exposureType=sye.NOT_EXPOSURE,this.eventHandle=r,this.hashMap=new CO,this.backStatus=!1,this.lastState=null,this.collect.on("re-start-sdk",(function(){i.visibilitychange()})),this.addListen()}return e.prototype.buildObserver=function(){var t=this;if(e._observer_instance)return console.log("your browser cannot support IntersectionObserver, so cannot report exposure event, please update"),null;if(window.IntersectionObserver){for(var n=[],r=0;r<=1;r+=.01)n.push(r);n.push(1);try{e._observer_instance=new IntersectionObserver((function(e){qG(e).call(e,(function(e){var n=e.target.observeId,r=t.observeMap.get(n),i=(e.target,e.isIntersecting,e.intersectionRatio);if(r.intersectionRatio=i,i<=.1&&(e.target.backStatus=!1),t.observeMap.set(n,r),i<t.ratio)return r.isIntersecting=!1,r.added=!1,r.exposured=!1,r.startTime=vR(),void t.observeMap.set(n,r);if(!r.added){if(r.startTime=vR(),r.added=!0,r.isIntersecting=!0,t.timeLimit){var o=vG((function(){try{if(r.isIntersecting&&!r.exposured&&t.observeMap.get(n)){var i=t.observeMap.get(n).intersectionRatio;t.exposureEvent(e,i,n,r)}}catch(o){console.log("IntersectionObserver setTimeout error,msg: "+PT(o))}}),t.timeLimit);r.wait=o}t.observeMap.set(n,r)}vR()-r.startTime>=t.timeLimit&&!r.exposured&&t.exposureEvent(e,i,n,r)}))}),{threshold:n})}catch(i){console.log("IntersectionObserver error,msg: "+PT(i))}return e._observer_instance}return console.log("your browser cannot support IntersectionObserver, so cannot report exposure event, please update"),null},e.prototype.exposureAdd=function(e,t){var n="mutation"===t?e.target:e,r=n.observeId,i=Ffe();if(r||this.observeMap.has(r)){var o=this.observeMap.get(r);if(o&&n!==o.instance)this.unobserve(n),this.observeMap.delete(r),n.observeId=i,n.visible=!1,this.observeMap.set(i,{instance:n.cloneNode(!0),isIntersecting:!1}),this.observe(n);else{if(!0===n.visible)return;this.handleBoundingExposure(n)}}else n.observeId=i,n.visible=!1,this.observeMap.set(i,{instance:n.cloneNode(!0),isIntersecting:!1}),this.observe(n)},e.prototype.exposureRemove=function(e){this.observeMap.has(e.observeId)&&(this.observeMap.delete(e.observeId),this.unobserve(e),e.observeId="",e.visible=!1)},e.prototype.exposureEvent=function(e,t,n,r){if(t>=this.ratio){if("0"===e.target.style.opacity||"hidden"===e.target.style.visibility)return;if(!0===r.exposured)return;r.startWait&&clearTimeout(r.startWait);var i=e.target.getAttribute("data-exposure-event");this.eventHandle({eventType:"dom",eventName:"exposure",event:i,exposureType:this.getExposureType(e.target)},e),e.target.visible=!0,e.target.hasExposure=!0,r.startTime=vR(),r.exposured=!0}else r.startTime=vR(),r.exposured=!1;this.observeMap.set(n,r)},e.prototype.observe=function(e){this.instance&&this.instance.observe(e)},e.prototype.unobserve=function(e){this.instance&&this.instance.unobserve(e)},e.prototype.getExposureDomToExposure=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-exposure]"),(function(t){e.handleBoundingExposure(t)}))},e.prototype.visibilitychange=function(){var e=this,t=null;"visible"===document.visibilityState?this.timeLimit?t=vG((function(){e.getExposureDomToExposure()}),this.timeLimit):this.getExposureDomToExposure():(clearTimeout(t),this.customType=void 0)},e.prototype.handleBoundingExposure=function(e){if(this.getBoundingRatio(e)>=this.ratio){e.visible=!0;var t=e.getAttribute&&e.getAttribute("data-exposure-event");this.eventHandle({eventType:"dom",eventName:"exposure",event:t,exposureType:this.customType||sye.RESUME_FORM_BACK},e)}},e.prototype.getBoundingRatio=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,i=t.width,o=t.height,a=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight;return n>=0&&r>=0&&n<=s&&r<=a?(i>a?a:i)*(s-n)/(i*o):0},e.prototype.getExposureType=function(e){return e.visible?!1!==e.backStatus&&(this.backStatus||this.customType||2===window.performance.navigation.type)?this.exposureType=sye.RESUME_FORM_PAGE:this.exposureType=sye.LIFECYCLE_SHOW_NEW:(e.hasExposure,!1!==e.backStatus&&(this.backStatus||this.customType||2===window.performance.navigation.type)?this.exposureType=sye.RESUME_FORM_PAGE:this.exposureType=sye.EXPOSURE_ONCE),this.exposureType},e.prototype.addListen=function(){var e,t=this;this.collect.on("set-exposure-type",(function(e){t.customType=e}));var n,r,i,o=D_(e=this.visibilitychange).call(e,this);if(n=document,r="visibilitychange",i=o,!1,n.addEventListener?n.addEventListener(r,i,false):n.attachEven?n.attachEven("on"+r,i):n["on"+r]=i,window.addEventListener("hashchange",(function(e){var n=t.hashMap.get(e.oldURL);n&&location.href===n.prev?(t.backStatus=!0,t.exposureType=sye.RESUME_FORM_PAGE):(t.backStatus=!1,t.hashMap.set(location.href,{current:e.newURL,prev:e.oldURL}))})),this.collect.bridgeReport){var a=window.history.pushState;history.pushState=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];"function"==typeof history.onpushstate&&history.onpushstate({state:e});var i=a.call.apply(a,jpe([history,e],n));return t.lastState=e,i};var s=history.replaceState;history.replaceState=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];"function"==typeof history.onreplacestate&&history.onreplacestate({state:e});var i=s.call.apply(s,jpe([history,e],n));return t.lastState=e,i}}else this.collect.on("STATE_CHANGE",(function(e){t.lastState=e}));return window.addEventListener("popstate",(function(e){var n=e.state;n&&n.current&&t.lastState&&t.lastState.back&&n.current===t.lastState.back?(t.backStatus=!0,t.exposureType=sye.RESUME_FORM_PAGE):t.backStatus=!1})),function(){!function(e,t,n,r){e.addEventListener?e.removeEventListener(t,n,!1):e.attachEven&&e.detachEven("on"+t,n)}(document,"visibilitychange",o)}},e._observer_instance=null,e._observer_map=new CO,e}(),dye=function(){function e(e,t,n){t.autotrack&&t.autotrack.exposure&&(this._intersection=new uye(e,t,n),this._observer=new cye(this._intersection,t),this._intersection&&this._observer?this.initObserver():console.log("your browser version cannot support exposure event, please update~"))}return e.prototype.initObserver=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-exposure]"),(function(t){e._intersection.exposureAdd(t,"intersect")}))},e}();!function(e){e[e.SCROLL_UP=1]="SCROLL_UP",e[e.SCROLL_DOWN=2]="SCROLL_DOWN",e[e.SCROLL_LEFT=3]="SCROLL_LEFT",e[e.SCROLL_RIGHT=4]="SCROLL_RIGHT",e[e.NOT_SCROLL=-1]="NOT_SCROLL"}(lye||(lye={}));var hye,pye=function(){function e(e,t){this.distance=30,e.autotrack&&e.autotrack.scroll&&(e.autotrack.scroll.distance&&(this.distance=e.autotrack.scroll.distance),this.eventHandle=t,this.addLinstenr(),this.mutation())}return e.prototype.addLinstenr=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-scroll]"),(function(t){e.scrollHandle(t)}))},e.prototype.mutation=function(){var e=this;if(window.MutationObserver)try{var t=new MutationObserver((function(t){qG(t).call(t,(function(t){"childList"===t.type&&e.modifyNodeObserve(t)}))}));if(!document||!document.body)return void console.warn("please use sdk api init after body element");t.observe(document.body,{childList:!0,attributes:!0,subtree:!0,attributeOldValue:!1})}catch(n){console.log("your browser cannot support MutationObserver")}else console.log("your browser cannot support MutationObserver")},e.prototype.modifyNodeObserve=function(e){var t=this;qG(Array.prototype).call(e.addedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-scroll")&&t.scrollHandle(e),t.mapChild(e,D_(n=t.scrollHandle).call(n,t))})),qG(Array.prototype).call(e.removedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-scroll")&&t.scrollHandle(e,"remove"),t.mapChild(e,D_(n=t.scrollHandle).call(n,t))}))},e.prototype.mapChild=function(e,t){var n=this;1===e.nodeType&&e.children.length&&qG(Array.prototype).call(e.children,(function(e){1===e.nodeType&&e.hasAttribute("data-scroll")&&t(e),n.mapChild(e,t)}))},e.prototype.scrollHandle=function(e,t){var n=this;try{var r=e.scrollTop,i=e.scrollLeft,o=null,a=0,s=0,c=function(t){clearTimeout(o),o=vG((function(){var o=e.scrollTop,d=e.scrollLeft,h=t.target&&t.target.getAttribute("data-scroll-event")||"";1===u||2===u?o===c&&(s=c-r,Math.abs(s)>=n.distance&&n.distance&&n.eventHandle({eventType:"dom",eventName:"scroll",event:h,params:{$direction:u,$offsetY:s,$offsetX:a}},t)):3!==u&&4!==u||d===l&&(a=l-i,Math.abs(a)>=n.distance&&n.distance&&n.eventHandle({eventType:"dom",eventName:"scroll",event:h,params:{$direction:u,$offsetY:s,$offsetX:a}},t)),r=c,i=l}),100);var c=e.scrollTop,l=e.scrollLeft,u=lye.NOT_SCROLL;c>r?u=lye.SCROLL_DOWN:c<r?u=lye.SCROLL_UP:l>i?u=lye.SCROLL_LEFT:l<i&&(u=lye.SCROLL_RIGHT)};return"remove"===t?e.removeEventListener("scroll",c,!1):e.addEventListener("scroll",c,!1),function(){e.removeEventListener("scroll",c,!1)}}catch(l){console.warn("scroll event error",PT(l))}},e}(),fye={hashTag:!1,impr:!1},gye=function(){function e(){}return e.prototype.apply=function(e,t){if(this.autoTrackStart=!1,this.collect=e,this.config=t,t.autotrack){var n=e.Types;this.ready(n.Autotrack),this.collect.emit(n.AutotrackReady)}},e.prototype.ready=function(e){var t,n;this.collect.set(e);var r=this.config.autotrack;r="object"==Wd(r)?r:{},r=DT(fye,r),this.destroyed=!1,this.options=r,this.Config=new Zme(qme,this.options),this.Exposure=new dye(this.collect,this.config,D_(t=this.handle).call(t,this)),this.Scroll=new pye(this.config,D_(n=this.handle).call(n,this)),this.Listener=new Wme(r,this.collect,this.Config),this.EventHandle=new Jme(this.config,r),this.Request=new eye(this.collect),this.autoTrackStart=!0,this.init(),aye(this,this.config)},e.prototype.init=function(){var e;this.Listener.init(D_(e=this.handle).call(e,this));try{"base"===this.collect.loadType&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(t){}},e.prototype.handle=function(e,t){try{if(this.config.autotrack.collect_url&&!this.config.autotrack.collect_url())return}catch(n){}"dom"===e.eventType&&this.handleDom(e,t)},e.prototype.handleDom=function(e,t){try{var n=e.eventName;if("click"===n||"change"===n||"submit"===n)(a=this.EventHandle.handleEvent(t,n))&&this.Request.send({eventType:"custom"},a);else if("page_view"===n||"page_statistics"===n){var r;(r="page_view"===n?this.EventHandle.handleViewEvent(t):this.EventHandle.handleStatisticsEvent(t))&&this.Request.send({eventType:"custom"},r)}else if("beat"===n){var i=this.EventHandle.handleBeadtEvent(t),o=e.eventSend;i&&this.Request.send({eventType:"custom",eventSend:o},i)}else if("exposure"===n)(a=this.EventHandle.handleExposureEvent(e,t))&&this.Request.send({eventType:"custom"},a);else if("scroll"===n){var a;(a=this.EventHandle.handleScrollEvent(e,t))&&this.Request.send({eventType:"custom"},a)}}catch(s){console.log("handel dom event error "+PT(s))}},e.prototype.destroy=function(){if(!this.autoTrackStart)return console.warn("engine is undefined, make sure you have called autoTrack.start()");this.autoTrackStart=!1,this.Listener.removeListener()},e}();!function(e){e.Net="net",e.FailNet="f_net",e.FailData="f_data"}(hye||(hye={}));var vye={pv:["predefine_pageview"],sdk:["_be_active","predefine_page_alive","predefine_page_close","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append"],autotrack:["bav2b_click","bav2b_page","bav2b_beat","bav2b_page_statistics","__bav_click","__bav_page","__bav_beat","__bav_page_statistics"]},mye=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;if(t.app_id&&t.enable_tracer&&!t.disable_track_event){this.limit={pv:1,sdk:3,autotrack:3,log:3},this.errorCode={f_net:0,f_data:0},this.tracerCache=new CO,this.collect=e,this.appid=t.app_id,this.reportUrl=e.configManager.getUrl("event");var r=this.collect.Types;this.collect.on(r.Event,(function(){n.addCount("log")})),this.collect.on(r.SubmitError,(function(e){var t=e.type,r=e.eventDate,i=e.errorCode,o=e.response;n.addErrorCount(r,t,i,o)})),this.listener(),this.collect.emit(r.TracerReady)}},e.prototype.addCount=function(e,t,n){void 0===t&&(t="net"),void 0===n&&(n=1);try{this.tracerCache||(this.tracerCache=new CO);var r=void 0;if(this.tracerCache.has(e))(i=this.tracerCache.get(e)).has(t)?(r=i.get(t).params.count,r++,i.set(t,this.processTracer(r,e,t))):(r=n,i.set(t,this.processTracer(n,e,t)));else{var i=new CO;r=n,i.set(t,this.processTracer(n,e,t)),this.tracerCache.set(e,i)}"net"===t&&r>=this.limit[e]&&this.report(!1)}catch(o){console.log(o)}},e.prototype.addErrorCount=function(e,t,n,r){var i=this;try{if(e&&e.length){var o=e[0].events;o&&o.length&&("f_data"===t?(r&&r.hasOwnProperty("sc")?this.addCount("log",t,o.length-r.sc):this.addCount("log",t,o.length),this.errorCode[t]=n):qG(o).call(o,(function(e){var r="log";for(var o in vye){var a;if(-1!==hR(a=vye[o]).call(a,e.event)){r=o;break}}i.addCount(r,t,1),i.errorCode[t]=n})))}}catch(a){}},e.prototype.report=function(e){if(this.tracerCache){var t,n=[];qG(t=this.tracerCache).call(t,(function(e){console.log(e),qG(e).call(e,(function(e){n.push(e)}))})),n&&n.length&&this.sendTracer(n,e)}},e.prototype.sendTracer=function(e,t){try{var n=this.collect.eventManager.merge(e);this.collect.requestManager.useRequest({url:this.reportUrl,data:n,useBeacon:t}),this.tracerCache=null}catch(r){}},e.prototype.processTracer=function(e,t,n){var r={count:e,state:n,key:t,params_for_special:"applog_trace",aid:this.appid,platform:"web",_staging_flag:1,sdk_version:mfe};"f_net"!==n&&"f_data"!==n||(r.errorCode=this.errorCode[n]);var i=this.collect.processEvent("applog_trace",r);if(i&&i.event)return delete i.is_bav,i},e.prototype.listener=function(){var e=this;document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e.leavePage()})),nfe((function(){e.leavePage()}))},e.prototype.leavePage=function(){this.report(!0)},e}(),yye=function(){function e(){this.retryWaitTime=3e3,this.retryStatus=!1,this.retryCacheStatus=!1}return e.prototype.apply=function(e,t){var n=this;if(t.enable_storage&&!t.disable_storage&&(this.collect=e,this.config=t,!this.collect.destroy)){var r=e.Types,i=e.adapters.storage;this.storage=new i(!1),this.eventUrl=this.collect.configManager.getUrl("event"),this.eventKey="__tea_cache_events_"+t.app_id,this.storageNum=t.storage_num||50,this.retryNum=t.retry_num||3,this.retryInterval=1e3,e.on(r.SubmitError,(function(e){"f_data"!==e.type&&n.storeData(e)})),e.on(r.Ready,(function(){n.checkStorage()}))}},e.prototype.retryRightNow=function(e){var t=this;if(this.retryStatus)this.errorCache.push(e);else{var n=0;this.retryStatus=!0;var r=Tw((function(){if(3===n)return t.storeData(t.errorCache),t.retryStatus=!1,void clearInterval(r);var i=e.eventData;t.fetchData(i,(function(){var e;t.retryStatus=!1,clearInterval(r),t.retryCacheStatus&&sM(e=t.errorCache).call(e,0,1),t.errorCache.length&&(t.retryCacheStatus=!0,t.retryRightNow(t.errorCache[0]))}),(function(){n++}))}),this.retryInterval)}},e.prototype.storeData=function(e){var t=this.storage.getItem(this.eventKey),n=e.eventData;jG(t).length!==this.storageNum&&(t[vR()]=n,this.storage.setItem(this.eventKey,t))},e.prototype.checkStorage=function(){var e=this;try{if(!window.navigator.onLine)return;var t=this.storage.getItem(this.eventKey);if(!t||!jG(t).length)return;var n={events:[{event:"ontest",params:{app_id:this.config.app_id},local_time_ms:vR()}],user:{user_unique_id:this.collect.configManager.get("web_id")},header:{}};this.fetchData([n],(function(){var n=JSON.parse(PT(t)),r=function(r){e.fetchData(t[r],(function(){delete n[r],e.storage.setItem(e.eventKey,n)}),(function(){}),!1)};for(var i in t)r(i)}),(function(){console.log("network error,compensate report fail")}),!0)}catch(r){console.warn("error check storage")}},e.prototype.fetchData=function(e,t,n,r){this.collect.requestManager.useRequest({url:this.eventUrl,data:e,timeout:3e4,success:t,fail:n,app_key:r?"566f58151b0ed37e":""})},e}(),_ye="undefined"!=typeof window?(window.LogPluginObject||(window.LogPluginObject={}),window.LogPluginObject):null,Gye=function(){function e(){}return e.prototype.apply=function(e,t){this._plugin={},this.config=t,this.collect=e,this.channel=t.channel||"cn",this.loadExtend()},e.prototype.loadExtend=function(){var e=this;try{var t;qG(t=this.collect.remotePlugin).call(t,(function(t,n){if("sdk"===t)if(Eme.hasOwnProperty(n)){var r=Eme[n].object,i=Eme[n].src[e.channel]+"?query="+vR();e.exist(n,r,i)}else console.warn("your "+n+" is not exist,please check plugin name");else"object"==Wd(t)&&(t.src?e.exist(n,t.call,t.src):e.process(n,t.instance,"INSTANCE"))}))}catch(n){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("load extend error")}},e.prototype.exist=function(e,t,n){var r=this;_ye[t]?(this.process(e,_ye[t]),console.log("已有"+e+"插件,避免重复加载~")):this.loadPlugin(e,n,(function(){r.process(e,_ye[t]),console.log(" %c %s %s %s","color: yellow; background-color: black;","–","load plugin:"+e+" success","-")}),(function(){console.log(" %c %s %s %s","color: red; background-color: yellow;","–","load plugin:"+e+" error","-")}))},e.prototype.process=function(e,t,n){try{if(n){var r=new t;r.apply&&r.apply(this.collect,this.config),console.log("excude "+e+" success")}else t&&t(this.collect,this.config)}catch(i){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message}),console.log("excude "+e+" error, message:"+i.message)}},e.prototype.loadPlugin=function(e,t,n,r){var i=this;try{var o=document.createElement("script");o.src=t,this._plugin[e]||(this._plugin[e]=[]),this._plugin[e].push(n),o.onerror=function(){r(t)},o.onload=function(){var t;qG(t=i._plugin[e]).call(t,(function(e){e()}))},document.getElementsByTagName("head")[0].appendChild(o)}catch(a){this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:a.message})}},e}(),Rye=function(){function e(){this.autotrack=!1,this.spa=!1,this.cache={},this.allowHash=!1}return e.prototype.apply=function(e,t){if(t.spa||t.autotrack){var n=e.Types;this.collect=e,this.config=t,this.appid=t.app_id,this.allowHash=t.allow_hash,this.fncArray=new CO,this.setKey(),this.setLocation(),this.hack(),this.init(),this.listener(),e.emit(n.RouteReady)}},e.prototype.setKey=function(){var e=this.collect.adapters.storage;this.storage=new e(!1),this.cache_key="__tea_cache_refer_"+this.appid,this.cache={refer_key:"",refer_title:document.title||location.pathname,refer_manual_key:"",routeChange:!1},this.config.autotrack&&"object"==Wd(this.config.autotrack)&&this.config.autotrack.page_manual_key&&(this.cache.refer_manual_key=this.config.autotrack.page_manual_key),this.storage.setItem(this.cache_key,this.cache)},e.prototype.hack=function(){var e=this,t=window.history.pushState;history.pushState=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];"function"==typeof history.onpushstate&&history.onpushstate({state:n});var o=t.call.apply(t,jpe([history,n],r));if(e.collect.sdkStop||e.collect.destroy)return o;if(!(e.lastLocation===location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation);var a=e.getPopStateChangeEventData();return e.lastLocation=location.href,e.sendPv(a,"pushState"),o}};var n=history.replaceState;history.replaceState=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];"function"==typeof history.onreplacestate&&history.onreplacestate({state:t});var o=n.call.apply(n,jpe([history,t],r));if(e.collect.sdkStop||e.collect.destroy)return o;if(!(e.lastLocation===location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation);var a=e.getPopStateChangeEventData();return e.lastLocation=location.href,e.sendPv(a),o}}},e.prototype.setLocation=function(){"undefined"!=typeof window&&(this.lastLocation=window.location.href)},e.prototype.getLocation=function(){return this.lastLocation},e.prototype.pathEquel=function(){try{return new bk(this.lastLocation).origin+new bk(this.lastLocation).pathname===new bk(location.href).origin+new bk(location.href).pathname}catch(e){return!1}},e.prototype.init=function(){var e=this.getPopStateChangeEventData();this.collect.emit("route-change",{config:e,init:!0})},e.prototype.listener=function(){var e=this;window.addEventListener("hashchange",(function(t){if(!e.collect.sdkStop&&!e.collect.destroy&&e.lastLocation!==window.location.href&&(!e.config.disable_spa_query||!e.pathEquel())&&e.allowHash){e.setReferCache(e.lastLocation),e.lastLocation=window.location.href;var n=e.getPopStateChangeEventData();e.sendPv(n)}})),window.addEventListener("popstate",(function(t){if(!e.collect.sdkStop&&!e.collect.destroy&&!(e.lastLocation===window.location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation),e.lastLocation=window.location.href;var n=e.getPopStateChangeEventData();e.sendPv(n)}}))},e.prototype.getPopStateChangeEventData=function(){var e=this.pageConfig();return e.is_back=0,e},e.prototype.pageConfig=function(){try{var e,t=this.storage.getItem(this.cache_key)||{},n=this.storage.getItem("__tea_cache_first_"+this.appid);return e=!n||1!=n,{is_html:1,url:location.href,referrer:this.handleRefer(),page_key:location.href,refer_page_key:this.handleRefer(),page_title:document.title||location.pathname,page_manual_key:this.config.autotrack&&this.config.autotrack.page_manual_key||"",refer_page_manual_key:t&&t.refer_manual_key||"",refer_page_title:t&&t.refer_title||"",page_path:location.pathname,page_host:location.host,is_first_time:""+e}}catch(r){return this.collect.emit(qpe.DEBUGGER_MESSAGE,{type:qpe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message}),{}}},e.prototype.sendPv=function(e,t){this.collect.emit("route-change",{config:e,init:!1})},e.prototype.handleRefer=function(){var e="";try{var t=this.storage.getItem(this.cache_key)||{};e=t.routeChange?t.refer_key:this.collect.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.setReferCache=function(e){var t=this.storage.getItem(this.cache_key)||{};t.refer_key=e,t.routeChange=!0,this.storage.setItem(this.cache_key,t)},e}();Dme.usePlugin(Gye,"extend"),Dme.usePlugin(Ame,"ab"),Dme.usePlugin(Nme,"stay"),Dme.usePlugin(gye,"autotrack"),Dme.usePlugin(Fme,"et"),Dme.usePlugin(Vme,"profile"),Dme.usePlugin(yye,"retry"),Dme.usePlugin(jme,"heartbeat"),Dme.usePlugin(Kme,"monitor"),Dme.usePlugin(Rye,"route"),Dme.usePlugin(mye,"tracer"),new Dme("default");var bye,Tye=Dme,wye=function(e){return e.H265="h265",e.PRELOAD="preload",e.ADAPT_RANGE="adaptRange",e.RTM_ADAPTIVE_BUFFER="rtmAdaptiveBuffer",e}(wye||{}),Sye=function(){function e(t){Zm(this,e),Yd(this,"_strategyManager",void 0),this._strategyManager=t}return Ym(e,[{key:"getResult",value:function(){var e,t,n=null===(e=this._strategyManager.getStrategyRecommendations().result)||void 0===e?void 0:e[wye.RTM_ADAPTIVE_BUFFER];return this._strategyManager.tea.config({evtParams:eh({},n)}),null===(t=this._strategyManager.getStrategyRecommendations().result)||void 0===t?void 0:t[wye.RTM_ADAPTIVE_BUFFER]}}]),e}();Yd(Sye,"strategyKey",wye.RTM_ADAPTIVE_BUFFER);var Mye,Eye=window.VePlayer.DynamicModule,zye=window.VePlayer.load,Dye=(Yd(bye={},wye.RTM_ADAPTIVE_BUFFER,{moduleName:Eye.StrategyRtmAdaptiveBuffer,getModule:function(e){return null==e?void 0:e.VeStrategyRtmAdaptiveBuffer}}),Yd(bye,"vestrategy",{moduleName:Eye.StrategyBase,getModule:function(e){return null==e?void 0:e.VeStrategy}}),bye),kye=function(){function e(){Zm(this,e),Yd(this,"veStrategyManager",void 0)}return Ym(e,[{key:"create",value:function(e){var t;return this.veStrategyManager=new Bpe({loadPlugin:(t=qm(Qm().mark((function e(t){var n,r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null!==(n=Dye[t])&&void 0!==n?n:{},i=r.moduleName,o=r.getModule,!i){e.next=6;break}return e.next=4,zye(i).then((function(e){return null==o?void 0:o(e)})).catch((function(){}));case 4:return a=e.sent,e.abrupt("return",a);case 6:return e.abrupt("return");case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)}),tea:e,Collector:Tye,strategies:[Sye]}),this.veStrategyManager}}]),e}(),Aye=new kye,Fye=window.VePlayer.DEFAULT_PLUGINS,Pye=window.VePlayer.VePlayerBase,Iye=window.VePlayer.VeI18n;Iye.extend([{LANG:"zh-cn",TEXT:tS},{LANG:"en",TEXT:eS}]);var Xye={autoplay:{muted:!0}},xye=b_(Mye=[]).call(Mye,v_(Fye),[NG,Kw,Yw]),Hye=function(e){return e.H264="h264",e}(Hye||{}),Cye=function(e){Dy(i,e);var t,n,r=Ky(i);function i(e){var t;return Zm(this,i),Yd(Jm(t=r.call(this,e)),"_protocolManager",void 0),t}return Ym(i,[{key:"playTime",get:function(){var e;if(null===(e=this._player)||void 0===e||null===(e=e.played)||void 0===e||!e.length)return 0;for(var t=this._player.played.length,n=0,r=0;r<t;r++){var i,o,a=null===(i=this._player)||void 0===i?void 0:i.played.start(r);n+=(null===(o=this._player)||void 0===o?void 0:o.played.end(r))-a}return n}},{key:"ad",get:function(){var e;return null===(e=this._player.plugins)||void 0===e||null===(e=e.ad)||void 0===e?void 0:e.adManager}},{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()}},{key:"openAbr",value:function(){var e,t,n=this.url&&oX(this.url);"flv"!==n?"hls"===n&&(null===(e=this._player.plugins)||void 0===e||null===(e=e.hlsabr)||void 0===e||e.switchAbr(!0)):null===(t=this._player.plugins)||void 0===t||null===(t=t.abr)||void 0===t||t.switchAbr(!0)}},{key:"closeAbr",value:function(){var e,t,n=this.url&&oX(this.url);"flv"!==n?"hls"===n&&(null===(e=this._player.plugins)||void 0===e||null===(e=e.hlsabr)||void 0===e||e.switchAbr(!1)):null===(t=this._player.plugins)||void 0===t||null===(t=t.abr)||void 0===t||t.switchAbr(!1)}},{key:"updateDrmConfig",value:function(e){var t;null===(t=this._player)||void 0===t||null===(t=t.plugins)||void 0===t||null===(t=t.drm)||void 0===t||t.updateDrmConfig(e)}},{key:"switchAbr",value:function(e){var t;if(null!==(t=this._player.plugins)&&void 0!==t&&t.abr){if(void 0!==(null==e?void 0:e.bitrate)){var n=this._player.plugins.abr.config.urls[e.bitrate];if(!n)return;this.switch(n,{seamless:!0}),this._player.plugins.abr.bitrate=e.bitrate}var r;if(void 0!==(null==e?void 0:e.enable))null===(r=this._player.plugins)||void 0===r||r.abr.switchAbr(e.enable)}}},{key:"getRTMNetWorkInfo",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.rts)||void 0===e?void 0:e.getNetWorkInfo()}},{key:"getRTMStats",value:(n=qm(Qm().mark((function e(){var t;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(t=this._player)||void 0===t||null===(t=t.plugins)||void 0===t||null===(t=t.rts)||void 0===t?void 0:t.getStatsSnapshoot());case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getFLVStats",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.flv)||void 0===e?void 0:e.getStats()}},{key:"getHLSStats",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.hls)||void 0===e?void 0:e.getStats()}},{key:"updatePlaylist",value:(t=qm(Qm().mark((function e(t,n){var r,o=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o.length>2&&void 0!==o[2]&&!o[2]){e.next=4;break}return e.next=4,null===(r=this._protocolManager)||void 0===r?void 0:r.update({playlist:t});case 4:return e.abrupt("return",Ey(My(i.prototype),"updatePlaylist",this).call(this,t,n));case 5:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})}]),i}(Pye);function Oye(e){return Lye.apply(this,arguments)}function Lye(){return(Lye=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=void 0,s=new Iye({lang:null==t?void 0:t.lang,i18n:null==t?void 0:t.i18n}),t&&(t.url||t.playlist)){e.next=4;break}throw z_(M_.INVALID_PARAMETER,s);case 4:return null!==(n=t.logger)&&void 0!==n&&n.appId||!1===(null==t||null===(r=t.logger)||void 0===r?void 0:r.enable)||console.warn(z_(M_.INVALID_LOGGER,s).message),kN.tea||kN.init(t.logger),c=eh(eh({},t),{},{plugins:b_(i=[]).call(i,v_(xye),v_(null!==(o=t.plugins)&&void 0!==o?o:[]))}),e.next=9,xx.create(c);case 9:if(l=e.sent,t.url||null!=l&&l.playlist){e.next=12;break}throw z_(M_.INVALID_PARAMETER,s);case 12:return e.next=14,Pye.create(eh(eh(eh({},Xye),c),{},{playlist:null==l?void 0:l.playlist,beforeFallbackError:Cx.beforeFallbackError,isLive:!0,i18nManager:s,teaTracker:kN,preProcessUrl:function(e){return JI(".ts",e)?{url:e}:{url:gS(e)}},preparePlugins:function(e){return qm(Qm().mark((function t(){return Qm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l.enableSelector){t.next=3;break}return t.next=3,l.update({url:e});case 3:return t.abrupt("return",l.getStrategy(a,s,Aye.veStrategyManager));case 4:case"end":return t.stop()}}),t)})))()}}),Cye);case 14:return(a=e.sent)._protocolManager=l,Cx.initErrorFallback(a,l),a&&(d=null===(u=a)||void 0===u||null===(u=u._player)||void 0===u||null===(u=u.config)||void 0===u?void 0:u._RTMdegrade)&&a.emit("degrade",{originRtmUrl:d._originRtmUrl,code:"NOT_SUPPORT",message:"not support rtm or h264",isRTMSupported:d._isRTMSupported,isRTMSupportCodec:d._isRTMSupportCodec}),e.abrupt("return",a);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Uye(){return(Uye=qm(Qm().mark((function e(t){var n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.appId){e.next=2;break}return e.abrupt("return");case 2:return kN.init({userId:t.userId,deviceId:t.deviceId}),n=Aye.create(kN.tea),e.next=6,n.init(eh(eh({},t),{},{type:"LIVE"}));case 6:return e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Bye=Object.freeze({__proto__:null,ErrorCode:M_,Events:HG,prepare:function(e){return Uye.apply(this,arguments)}}),Nye=window.VePlayer.setModuleSystem,Vye=window.VePlayer.Codec,jye=window.VePlayer.DecodeType,Kye=window.VePlayer.Degradation,Qye=window.VePlayer.POSITIONS,Wye=window.VePlayer.register,qye=window.VePlayer.registerPlugin,Zye=window.VePlayer.EN,$ye=window.VePlayer.ZH_CN,Yye=window.VePlayer.Plugin,Jye=window.VePlayer.Sniffer,e_e=window.VePlayer.DynamicModule,t_e=window.VePlayer.util,n_e=window.VePlayer.load,r_e=window.VePlayer.ListType;Nye("umd");var i_e=t_e.isMseSupported,o_e=t_e.isSoftDecodeSupported,a_e=t_e.isMMSSupported;void 0!==VePlayer.registerPlugin?VePlayer.registerPlugin(e_e.BizLive,{createLivePlayer:Oye}):qye(e_e.BizLive,{createLivePlayer:Oye}),e.Codec=Vye,e.DecodeType=jye,e.Degradation=Kye,e.DynamicModule=e_e,e.EN=Zye,e.ListType=r_e,e.POSITIONS=Qye,e.Plugin=Yye,e.RTMCodec=Hye,e.Sniffer=Jye,e.ZH_CN=$ye,e.createLivePlayer=Oye,e.isFLVSupported=_X,e.isMMSSupported=a_e,e.isMseSupported=i_e,e.isRTMSupportCodec=mx,e.isRTMSupported=gx,e.isSoftDecodeSupported=o_e,e.live=Bye,e.load=n_e,e.register=Wye,e.registerPlugin=qye,e.util=t_e}));
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 n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r=function(e){return e&&e.Math==Math&&e},i=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("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,c=Function.prototype,l=c.apply,u=c.call,d="object"==typeof Reflect&&Reflect.apply||(s?u.bind(l):function(){return u.apply(l,arguments)}),h=a,p=Function.prototype,f=p.call,g=h&&p.bind.bind(f,f),v=h?g:function(e){return function(){return f.apply(e,arguments)}},m=v,y=m({}.toString),_=m("".slice),G=function(e){return _(y(e),8,-1)},R=G,b=v,T=function(e){if("Function"===R(e))return b(e)},w="object"==typeof document&&document.all,S={all:w,IS_HTMLDDA:void 0===w&&void 0!==w},M=S.all,E=S.IS_HTMLDDA?function(e){return"function"==typeof e||e===M}:function(e){return"function"==typeof e},D={},z=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),k=a,A=Function.prototype.call,F=k?A.bind(A):function(){return A.apply(A,arguments)},P={},I={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,X=x&&!I.call({1:2},1);P.f=X?function(e){var t=x(this,e);return!!t&&t.enumerable}:I;var H,C,O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=o,U=G,B=Object,N=v("".split),V=L((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==U(e)?N(e,""):B(e)}:B,j=function(e){return null==e},K=j,Q=TypeError,W=function(e){if(K(e))throw Q("Can't call method on "+e);return e},q=V,Z=W,$=function(e){return q(Z(e))},Y=E,J=S.all,ee=S.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===J}:function(e){return"object"==typeof e?null!==e:Y(e)},te={},ne=te,re=i,ie=E,oe=function(e){return ie(e)?e:void 0},ae=function(e,t){return arguments.length<2?oe(ne[e])||oe(re[e]):ne[e]&&ne[e][t]||re[e]&&re[e][t]},se=v({}.isPrototypeOf),ce="undefined"!=typeof navigator&&String(navigator.userAgent)||"",le=i,ue=ce,de=le.process,he=le.Deno,pe=de&&de.versions||he&&he.version,fe=pe&&pe.v8;fe&&(C=(H=fe.split("."))[0]>0&&H[0]<4?1:+(H[0]+H[1])),!C&&ue&&(!(H=ue.match(/Edge\/(\d+)/))||H[1]>=74)&&(H=ue.match(/Chrome\/(\d+)/))&&(C=+H[1]);var ge=C,ve=ge,me=o,ye=i.String,_e=!!Object.getOwnPropertySymbols&&!me((function(){var e=Symbol();return!ye(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),Ge=_e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Re=ae,be=E,Te=se,we=Object,Se=Ge?function(e){return"symbol"==typeof e}:function(e){var t=Re("Symbol");return be(t)&&Te(t.prototype,we(e))},Me=String,Ee=function(e){try{return Me(e)}catch(t){return"Object"}},De=E,ze=Ee,ke=TypeError,Ae=function(e){if(De(e))return e;throw ke(ze(e)+" is not a function")},Fe=Ae,Pe=j,Ie=function(e,t){var n=e[t];return Pe(n)?void 0:Fe(n)},xe=F,Xe=E,He=ee,Ce=TypeError,Oe={exports:{}},Le=i,Ue=Object.defineProperty,Be=function(e,t){try{Ue(Le,e,{value:t,configurable:!0,writable:!0})}catch(n){Le[e]=t}return t},Ne="__core-js_shared__",Ve=i[Ne]||Be(Ne,{}),je=Ve;(Oe.exports=function(e,t){return je[e]||(je[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 Ke=Oe.exports,Qe=W,We=Object,qe=function(e){return We(Qe(e))},Ze=qe,$e=v({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return $e(Ze(e),t)},Je=v,et=0,tt=Math.random(),nt=Je(1..toString),rt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+nt(++et+tt,36)},it=Ke,ot=Ye,at=rt,st=_e,ct=Ge,lt=i.Symbol,ut=it("wks"),dt=ct?lt.for||lt:lt&&lt.withoutSetter||at,ht=function(e){return ot(ut,e)||(ut[e]=st&&ot(lt,e)?lt[e]:dt("Symbol."+e)),ut[e]},pt=F,ft=ee,gt=Se,vt=Ie,mt=function(e,t){var n,r;if("string"===t&&Xe(n=e.toString)&&!He(r=xe(n,e)))return r;if(Xe(n=e.valueOf)&&!He(r=xe(n,e)))return r;if("string"!==t&&Xe(n=e.toString)&&!He(r=xe(n,e)))return r;throw Ce("Can't convert object to primitive value")},yt=TypeError,_t=ht("toPrimitive"),Gt=function(e,t){if(!ft(e)||gt(e))return e;var n,r=vt(e,_t);if(r){if(void 0===t&&(t="default"),n=pt(r,e,t),!ft(n)||gt(n))return n;throw yt("Can't convert object to primitive value")}return void 0===t&&(t="number"),mt(e,t)},Rt=Se,bt=function(e){var t=Gt(e,"string");return Rt(t)?t:t+""},Tt=ee,wt=i.document,St=Tt(wt)&&Tt(wt.createElement),Mt=function(e){return St?wt.createElement(e):{}},Et=Mt,Dt=!z&&!o((function(){return 7!=Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),zt=z,kt=F,At=P,Ft=O,Pt=$,It=bt,xt=Ye,Xt=Dt,Ht=Object.getOwnPropertyDescriptor;D.f=zt?Ht:function(e,t){if(e=Pt(e),t=It(t),Xt)try{return Ht(e,t)}catch(n){}if(xt(e,t))return Ft(!kt(At.f,e,t),e[t])};var Ct=o,Ot=E,Lt=/#|\.prototype\./,Ut=function(e,t){var n=Nt[Bt(e)];return n==jt||n!=Vt&&(Ot(t)?Ct(t):!!t)},Bt=Ut.normalize=function(e){return String(e).replace(Lt,".").toLowerCase()},Nt=Ut.data={},Vt=Ut.NATIVE="N",jt=Ut.POLYFILL="P",Kt=Ut,Qt=Ae,Wt=a,qt=T(T.bind),Zt=function(e,t){return Qt(e),void 0===t?e:Wt?qt(e,t):function(){return e.apply(t,arguments)}},$t={},Yt=z&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Jt=ee,en=String,tn=TypeError,nn=function(e){if(Jt(e))return e;throw tn(en(e)+" is not an object")},rn=z,on=Dt,an=Yt,sn=nn,cn=bt,ln=TypeError,un=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,hn="enumerable",pn="configurable",fn="writable";$t.f=rn?an?function(e,t,n){if(sn(e),t=cn(t),sn(n),"function"==typeof e&&"prototype"===t&&"value"in n&&fn in n&&!n[fn]){var r=dn(e,t);r&&r[fn]&&(e[t]=n.value,n={configurable:pn in n?n[pn]:r[pn],enumerable:hn in n?n[hn]:r[hn],writable:!1})}return un(e,t,n)}:un:function(e,t,n){if(sn(e),t=cn(t),sn(n),on)try{return un(e,t,n)}catch(r){}if("get"in n||"set"in n)throw ln("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var gn=$t,vn=O,mn=z?function(e,t,n){return gn.f(e,t,vn(1,n))}:function(e,t,n){return e[t]=n,e},yn=i,_n=d,Gn=T,Rn=E,bn=D.f,Tn=Kt,wn=te,Sn=Zt,Mn=mn,En=Ye,Dn=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return _n(e,this,arguments)};return t.prototype=e.prototype,t},zn=function(e,t){var n,r,i,o,a,s,c,l,u,d=e.target,h=e.global,p=e.stat,f=e.proto,g=h?yn:p?yn[d]:(yn[d]||{}).prototype,v=h?wn:wn[d]||Mn(wn,d,{})[d],m=v.prototype;for(o in t)r=!(n=Tn(h?o:d+(p?".":"#")+o,e.forced))&&g&&En(g,o),s=v[o],r&&(c=e.dontCallGetSet?(u=bn(g,o))&&u.value:g[o]),a=r&&c?c:t[o],r&&typeof s==typeof a||(l=e.bind&&r?Sn(a,yn):e.wrap&&r?Dn(a):f&&Rn(a)?Gn(a):a,(e.sham||a&&a.sham||s&&s.sham)&&Mn(l,"sham",!0),Mn(v,o,l),f&&(En(wn,i=d+"Prototype")||Mn(wn,i,{}),Mn(wn[i],o,a),e.real&&m&&(n||!m[o])&&Mn(m,o,a)))},kn=Math.ceil,An=Math.floor,Fn=Math.trunc||function(e){var t=+e;return(t>0?An:kn)(t)},Pn=Fn,In=function(e){var t=+e;return t!=t||0===t?0:Pn(t)},xn=In,Xn=Math.max,Hn=Math.min,Cn=function(e,t){var n=xn(e);return n<0?Xn(n+t,0):Hn(n,t)},On=In,Ln=Math.min,Un=function(e){return e>0?Ln(On(e),9007199254740991):0},Bn=Un,Nn=function(e){return Bn(e.length)},Vn=$,jn=Cn,Kn=Nn,Qn=function(e){return function(t,n,r){var i,o=Vn(t),a=Kn(o),s=jn(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Wn={includes:Qn(!0),indexOf:Qn(!1)},qn={},Zn=Ye,$n=$,Yn=Wn.indexOf,Jn=qn,er=v([].push),tr=function(e,t){var n,r=$n(e),i=0,o=[];for(n in r)!Zn(Jn,n)&&Zn(r,n)&&er(o,n);for(;t.length>i;)Zn(r,n=t[i++])&&(~Yn(o,n)||er(o,n));return o},nr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rr=tr,ir=nr,or=Object.keys||function(e){return rr(e,ir)},ar=qe,sr=or;zn({target:"Object",stat:!0,forced:o((function(){sr(1)}))},{keys:function(e){return sr(ar(e))}});var cr=te.Object.keys,lr=n(cr),ur={};ur[ht("toStringTag")]="z";var dr="[object z]"===String(ur),hr=dr,pr=E,fr=G,gr=ht("toStringTag"),vr=Object,mr="Arguments"==fr(function(){return arguments}()),yr=hr?fr:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=vr(e),gr))?n:mr?fr(t):"Object"==(r=fr(t))&&pr(t.callee)?"Arguments":r},_r=yr,Gr=String,Rr=function(e){if("Symbol"===_r(e))throw TypeError("Cannot convert a Symbol value to a string");return Gr(e)},br={},Tr=z,wr=Yt,Sr=$t,Mr=nn,Er=$,Dr=or;br.f=Tr&&!wr?Object.defineProperties:function(e,t){Mr(e);for(var n,r=Er(t),i=Dr(t),o=i.length,a=0;o>a;)Sr.f(e,n=i[a++],r[n]);return e};var zr,kr=ae("document","documentElement"),Ar=rt,Fr=Ke("keys"),Pr=function(e){return Fr[e]||(Fr[e]=Ar(e))},Ir=nn,xr=br,Xr=nr,Hr=qn,Cr=kr,Or=Mt,Lr="prototype",Ur="script",Br=Pr("IE_PROTO"),Nr=function(){},Vr=function(e){return"<"+Ur+">"+e+"</"+Ur+">"},jr=function(e){e.write(Vr("")),e.close();var t=e.parentWindow.Object;return e=null,t},Kr=function(){try{zr=new ActiveXObject("htmlfile")}catch(i){}var e,t,n;Kr="undefined"!=typeof document?document.domain&&zr?jr(zr):(t=Or("iframe"),n="java"+Ur+":",t.style.display="none",Cr.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Vr("document.F=Object")),e.close(),e.F):jr(zr);for(var r=Xr.length;r--;)delete Kr[Lr][Xr[r]];return Kr()};Hr[Br]=!0;var Qr=Object.create||function(e,t){var n;return null!==e?(Nr[Lr]=Ir(e),n=new Nr,Nr[Lr]=null,n[Br]=e):n=Kr(),void 0===t?n:xr.f(n,t)},Wr={},qr=tr,Zr=nr.concat("length","prototype");Wr.f=Object.getOwnPropertyNames||function(e){return qr(e,Zr)};var $r={},Yr=bt,Jr=$t,ei=O,ti=function(e,t,n){var r=Yr(t);r in e?Jr.f(e,r,ei(0,n)):e[r]=n},ni=Cn,ri=Nn,ii=ti,oi=Array,ai=Math.max,si=function(e,t,n){for(var r=ri(e),i=ni(t,r),o=ni(void 0===n?r:n,r),a=oi(ai(o-i,0)),s=0;i<o;i++,s++)ii(a,s,e[i]);return a.length=s,a},ci=G,li=$,ui=Wr.f,di=si,hi="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];$r.f=function(e){return hi&&"Window"==ci(e)?function(e){try{return ui(e)}catch(t){return di(hi)}}(e):ui(li(e))};var pi={};pi.f=Object.getOwnPropertySymbols;var fi=mn,gi=function(e,t,n,r){return r&&r.enumerable?e[t]=n:fi(e,t,n),e},vi=$t,mi=function(e,t,n){return vi.f(e,t,n)},yi={},_i=ht;yi.f=_i;var Gi,Ri,bi,Ti=te,wi=Ye,Si=yi,Mi=$t.f,Ei=function(e){var t=Ti.Symbol||(Ti.Symbol={});wi(t,e)||Mi(t,e,{value:Si.f(e)})},Di=F,zi=ae,ki=ht,Ai=gi,Fi=function(){var e=zi("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=ki("toPrimitive");t&&!t[r]&&Ai(t,r,(function(e){return Di(n,this)}),{arity:1})},Pi=yr,Ii=dr?{}.toString:function(){return"[object "+Pi(this)+"]"},xi=dr,Xi=$t.f,Hi=mn,Ci=Ye,Oi=Ii,Li=ht("toStringTag"),Ui=function(e,t,n,r){if(e){var i=n?e:e.prototype;Ci(i,Li)||Xi(i,Li,{configurable:!0,value:t}),r&&!xi&&Hi(i,"toString",Oi)}},Bi=E,Ni=i.WeakMap,Vi=Bi(Ni)&&/native code/.test(String(Ni)),ji=i,Ki=ee,Qi=mn,Wi=Ye,qi=Ve,Zi=Pr,$i=qn,Yi="Object already initialized",Ji=ji.TypeError,eo=ji.WeakMap;if(Vi||qi.state){var to=qi.state||(qi.state=new eo);to.get=to.get,to.has=to.has,to.set=to.set,Gi=function(e,t){if(to.has(e))throw Ji(Yi);return t.facade=e,to.set(e,t),t},Ri=function(e){return to.get(e)||{}},bi=function(e){return to.has(e)}}else{var no=Zi("state");$i[no]=!0,Gi=function(e,t){if(Wi(e,no))throw Ji(Yi);return t.facade=e,Qi(e,no,t),t},Ri=function(e){return Wi(e,no)?e[no]:{}},bi=function(e){return Wi(e,no)}}var ro={set:Gi,get:Ri,has:bi,enforce:function(e){return bi(e)?Ri(e):Gi(e,{})},getterFor:function(e){return function(t){var n;if(!Ki(t)||(n=Ri(t)).type!==e)throw Ji("Incompatible receiver, "+e+" required");return n}}},io=G,oo=Array.isArray||function(e){return"Array"==io(e)},ao=E,so=Ve,co=v(Function.toString);ao(so.inspectSource)||(so.inspectSource=function(e){return co(e)});var lo=so.inspectSource,uo=v,ho=o,po=E,fo=yr,go=lo,vo=function(){},mo=[],yo=ae("Reflect","construct"),_o=/^\s*(?:class|function)\b/,Go=uo(_o.exec),Ro=!_o.exec(vo),bo=function(e){if(!po(e))return!1;try{return yo(vo,mo,e),!0}catch(t){return!1}},To=function(e){if(!po(e))return!1;switch(fo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ro||!!Go(_o,go(e))}catch(t){return!0}};To.sham=!0;var wo=!yo||ho((function(){var e;return bo(bo.call)||!bo(Object)||!bo((function(){e=!0}))||e}))?To:bo,So=oo,Mo=wo,Eo=ee,Do=ht("species"),zo=Array,ko=function(e){var t;return So(e)&&(t=e.constructor,(Mo(t)&&(t===zo||So(t.prototype))||Eo(t)&&null===(t=t[Do]))&&(t=void 0)),void 0===t?zo:t},Ao=function(e,t){return new(ko(e))(0===t?0:t)},Fo=Zt,Po=V,Io=qe,xo=Nn,Xo=Ao,Ho=v([].push),Co=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(c,l,u,d){for(var h,p,f=Io(c),g=Po(f),v=Fo(l,u),m=xo(g),y=0,_=d||Xo,G=t?_(c,m):n||a?_(c,0):void 0;m>y;y++)if((s||y in g)&&(p=v(h=g[y],y,f),e))if(t)G[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Ho(G,h)}else switch(e){case 4:return!1;case 7:Ho(G,h)}return o?-1:r||i?i:G}},Oo={forEach:Co(0),map:Co(1),filter:Co(2),some:Co(3),every:Co(4),find:Co(5),findIndex:Co(6),filterReject:Co(7)},Lo=zn,Uo=i,Bo=F,No=v,Vo=z,jo=_e,Ko=o,Qo=Ye,Wo=se,qo=nn,Zo=$,$o=bt,Yo=Rr,Jo=O,ea=Qr,ta=or,na=Wr,ra=$r,ia=pi,oa=D,aa=$t,sa=br,ca=P,la=gi,ua=mi,da=Ke,ha=qn,pa=rt,fa=ht,ga=yi,va=Ei,ma=Fi,ya=Ui,_a=ro,Ga=Oo.forEach,Ra=Pr("hidden"),ba="Symbol",Ta="prototype",wa=_a.set,Sa=_a.getterFor(ba),Ma=Object[Ta],Ea=Uo.Symbol,Da=Ea&&Ea[Ta],za=Uo.TypeError,ka=Uo.QObject,Aa=oa.f,Fa=aa.f,Pa=ra.f,Ia=ca.f,xa=No([].push),Xa=da("symbols"),Ha=da("op-symbols"),Ca=da("wks"),Oa=!ka||!ka[Ta]||!ka[Ta].findChild,La=Vo&&Ko((function(){return 7!=ea(Fa({},"a",{get:function(){return Fa(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Aa(Ma,t);r&&delete Ma[t],Fa(e,t,n),r&&e!==Ma&&Fa(Ma,t,r)}:Fa,Ua=function(e,t){var n=Xa[e]=ea(Da);return wa(n,{type:ba,tag:e,description:t}),Vo||(n.description=t),n},Ba=function(e,t,n){e===Ma&&Ba(Ha,t,n),qo(e);var r=$o(t);return qo(n),Qo(Xa,r)?(n.enumerable?(Qo(e,Ra)&&e[Ra][r]&&(e[Ra][r]=!1),n=ea(n,{enumerable:Jo(0,!1)})):(Qo(e,Ra)||Fa(e,Ra,Jo(1,{})),e[Ra][r]=!0),La(e,r,n)):Fa(e,r,n)},Na=function(e,t){qo(e);var n=Zo(t),r=ta(n).concat(Qa(n));return Ga(r,(function(t){Vo&&!Bo(Va,n,t)||Ba(e,t,n[t])})),e},Va=function(e){var t=$o(e),n=Bo(Ia,this,t);return!(this===Ma&&Qo(Xa,t)&&!Qo(Ha,t))&&(!(n||!Qo(this,t)||!Qo(Xa,t)||Qo(this,Ra)&&this[Ra][t])||n)},ja=function(e,t){var n=Zo(e),r=$o(t);if(n!==Ma||!Qo(Xa,r)||Qo(Ha,r)){var i=Aa(n,r);return!i||!Qo(Xa,r)||Qo(n,Ra)&&n[Ra][r]||(i.enumerable=!0),i}},Ka=function(e){var t=Pa(Zo(e)),n=[];return Ga(t,(function(e){Qo(Xa,e)||Qo(ha,e)||xa(n,e)})),n},Qa=function(e){var t=e===Ma,n=Pa(t?Ha:Zo(e)),r=[];return Ga(n,(function(e){!Qo(Xa,e)||t&&!Qo(Ma,e)||xa(r,Xa[e])})),r};jo||(Ea=function(){if(Wo(Da,this))throw za("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Yo(arguments[0]):void 0,t=pa(e),n=function(e){this===Ma&&Bo(n,Ha,e),Qo(this,Ra)&&Qo(this[Ra],t)&&(this[Ra][t]=!1),La(this,t,Jo(1,e))};return Vo&&Oa&&La(Ma,t,{configurable:!0,set:n}),Ua(t,e)},la(Da=Ea[Ta],"toString",(function(){return Sa(this).tag})),la(Ea,"withoutSetter",(function(e){return Ua(pa(e),e)})),ca.f=Va,aa.f=Ba,sa.f=Na,oa.f=ja,na.f=ra.f=Ka,ia.f=Qa,ga.f=function(e){return Ua(fa(e),e)},Vo&&ua(Da,"description",{configurable:!0,get:function(){return Sa(this).description}})),Lo({global:!0,constructor:!0,wrap:!0,forced:!jo,sham:!jo},{Symbol:Ea}),Ga(ta(Ca),(function(e){va(e)})),Lo({target:ba,stat:!0,forced:!jo},{useSetter:function(){Oa=!0},useSimple:function(){Oa=!1}}),Lo({target:"Object",stat:!0,forced:!jo,sham:!Vo},{create:function(e,t){return void 0===t?ea(e):Na(ea(e),t)},defineProperty:Ba,defineProperties:Na,getOwnPropertyDescriptor:ja}),Lo({target:"Object",stat:!0,forced:!jo},{getOwnPropertyNames:Ka}),ma(),ya(Ea,ba),ha[Ra]=!0;var Wa=_e&&!!Symbol.for&&!!Symbol.keyFor,qa=zn,Za=ae,$a=Ye,Ya=Rr,Ja=Ke,es=Wa,ts=Ja("string-to-symbol-registry"),ns=Ja("symbol-to-string-registry");qa({target:"Symbol",stat:!0,forced:!es},{for:function(e){var t=Ya(e);if($a(ts,t))return ts[t];var n=Za("Symbol")(t);return ts[t]=n,ns[n]=t,n}});var rs=zn,is=Ye,os=Se,as=Ee,ss=Wa,cs=Ke("symbol-to-string-registry");rs({target:"Symbol",stat:!0,forced:!ss},{keyFor:function(e){if(!os(e))throw TypeError(as(e)+" is not a symbol");if(is(cs,e))return cs[e]}});var ls=v([].slice),us=oo,ds=E,hs=G,ps=Rr,fs=v([].push),gs=zn,vs=ae,ms=d,ys=F,_s=v,Gs=o,Rs=E,bs=Se,Ts=ls,ws=function(e){if(ds(e))return e;if(us(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?fs(n,i):"number"!=typeof i&&"Number"!=hs(i)&&"String"!=hs(i)||fs(n,ps(i))}var o=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(us(this))return t;for(var r=0;r<o;r++)if(n[r]===e)return t}}},Ss=_e,Ms=String,Es=vs("JSON","stringify"),Ds=_s(/./.exec),zs=_s("".charAt),ks=_s("".charCodeAt),As=_s("".replace),Fs=_s(1..toString),Ps=/[\uD800-\uDFFF]/g,Is=/^[\uD800-\uDBFF]$/,xs=/^[\uDC00-\uDFFF]$/,Xs=!Ss||Gs((function(){var e=vs("Symbol")();return"[null]"!=Es([e])||"{}"!=Es({a:e})||"{}"!=Es(Object(e))})),Hs=Gs((function(){return'"\\udf06\\ud834"'!==Es("\udf06\ud834")||'"\\udead"'!==Es("\udead")})),Cs=function(e,t){var n=Ts(arguments),r=ws(t);if(Rs(r)||void 0!==e&&!bs(e))return n[1]=function(e,t){if(Rs(r)&&(t=ys(r,this,Ms(e),t)),!bs(t))return t},ms(Es,null,n)},Os=function(e,t,n){var r=zs(n,t-1),i=zs(n,t+1);return Ds(Is,e)&&!Ds(xs,i)||Ds(xs,e)&&!Ds(Is,r)?"\\u"+Fs(ks(e,0),16):e};Es&&gs({target:"JSON",stat:!0,arity:3,forced:Xs||Hs},{stringify:function(e,t,n){var r=Ts(arguments),i=ms(Xs?Cs:Es,null,r);return Hs&&"string"==typeof i?As(i,Ps,Os):i}});var Ls=pi,Us=qe;zn({target:"Object",stat:!0,forced:!_e||o((function(){Ls.f(1)}))},{getOwnPropertySymbols:function(e){var t=Ls.f;return t?t(Us(e)):[]}});var Bs=te.Object.getOwnPropertySymbols,Ns=n(Bs),Vs=o,js=ge,Ks=ht("species"),Qs=function(e){return js>=51||!Vs((function(){var t=[];return(t.constructor={})[Ks]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ws=Oo.filter;zn({target:"Array",proto:!0,forced:!Qs("filter")},{filter:function(e){return Ws(this,e,arguments.length>1?arguments[1]:void 0)}});var qs=te,Zs=function(e){return qs[e+"Prototype"]},$s=Zs("Array").filter,Ys=se,Js=$s,ec=Array.prototype,tc=function(e){var t=e.filter;return e===ec||Ys(ec,e)&&t===ec.filter?Js:t},nc=n(tc),rc={exports:{}},ic=zn,oc=o,ac=$,sc=D.f,cc=z;ic({target:"Object",stat:!0,forced:!cc||oc((function(){sc(1)})),sham:!cc},{getOwnPropertyDescriptor:function(e,t){return sc(ac(e),t)}});var lc=te.Object,uc=rc.exports=function(e,t){return lc.getOwnPropertyDescriptor(e,t)};lc.getOwnPropertyDescriptor.sham&&(uc.sham=!0);var dc=rc.exports,hc=n(dc),pc=z,fc=oo,gc=TypeError,vc=Object.getOwnPropertyDescriptor,mc=pc&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(fc(e)&&!vc(e,"length").writable)throw gc("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},yc=TypeError,_c=function(e){if(e>9007199254740991)throw yc("Maximum allowed index exceeded");return e},Gc=qe,Rc=Nn,bc=mc,Tc=_c;zn({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(e){return e instanceof TypeError}}()},{push:function(e){var t=Gc(this),n=Rc(t),r=arguments.length;Tc(n+r);for(var i=0;i<r;i++)t[n]=arguments[i],n++;return bc(t,n),n}});var wc,Sc,Mc,Ec=Zs("Array").push,Dc=se,zc=Ec,kc=Array.prototype,Ac=n((function(e){var t=e.push;return e===kc||Dc(kc,e)&&t===kc.push?zc:t})),Fc={},Pc=z,Ic=Ye,xc=Function.prototype,Xc=Pc&&Object.getOwnPropertyDescriptor,Hc=Ic(xc,"name"),Cc={EXISTS:Hc,PROPER:Hc&&"something"===function(){}.name,CONFIGURABLE:Hc&&(!Pc||Pc&&Xc(xc,"name").configurable)},Oc=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lc=Ye,Uc=E,Bc=qe,Nc=Oc,Vc=Pr("IE_PROTO"),jc=Object,Kc=jc.prototype,Qc=Nc?jc.getPrototypeOf:function(e){var t=Bc(e);if(Lc(t,Vc))return t[Vc];var n=t.constructor;return Uc(n)&&t instanceof n?n.prototype:t instanceof jc?Kc:null},Wc=o,qc=E,Zc=ee,$c=Qr,Yc=Qc,Jc=gi,el=ht("iterator"),tl=!1;[].keys&&("next"in(Mc=[].keys())?(Sc=Yc(Yc(Mc)))!==Object.prototype&&(wc=Sc):tl=!0);var nl=!Zc(wc)||Wc((function(){var e={};return wc[el].call(e)!==e}));qc((wc=nl?{}:$c(wc))[el])||Jc(wc,el,(function(){return this}));var rl={IteratorPrototype:wc,BUGGY_SAFARI_ITERATORS:tl},il=rl.IteratorPrototype,ol=Qr,al=O,sl=Ui,cl=Fc,ll=function(){return this},ul=function(e,t,n,r){var i=t+" Iterator";return e.prototype=ol(il,{next:al(+!r,n)}),sl(e,i,!1,!0),cl[i]=ll,e},dl=v,hl=Ae,pl=E,fl=String,gl=TypeError,vl=function(e,t,n){try{return dl(hl(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(r){}},ml=nn,yl=function(e){if("object"==typeof e||pl(e))return e;throw gl("Can't set "+fl(e)+" as a prototype")},_l=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=vl(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return ml(n),yl(r),t?e(n,r):n.__proto__=r,n}}():void 0),Gl=zn,Rl=F,bl=Cc,Tl=ul,wl=Qc,Sl=Ui,Ml=gi,El=Fc,Dl=rl,zl=bl.PROPER,kl=Dl.BUGGY_SAFARI_ITERATORS,Al=ht("iterator"),Fl="keys",Pl="values",Il="entries",xl=function(){return this},Xl=function(e,t,n,r,i,o,a){Tl(n,t,r);var s,c,l,u=function(e){if(e===i&&g)return g;if(!kl&&e in p)return p[e];switch(e){case Fl:case Pl:case Il:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Al]||p["@@iterator"]||i&&p[i],g=!kl&&f||u(i),v="Array"==t&&p.entries||f;if(v&&(s=wl(v.call(new e)))!==Object.prototype&&s.next&&(Sl(s,d,!0,!0),El[d]=xl),zl&&i==Pl&&f&&f.name!==Pl&&(h=!0,g=function(){return Rl(f,this)}),i)if(c={values:u(Pl),keys:o?g:u(Fl),entries:u(Il)},a)for(l in c)(kl||h||!(l in p))&&Ml(p,l,c[l]);else Gl({target:t,proto:!0,forced:kl||h},c);return a&&p[Al]!==g&&Ml(p,Al,g,{name:i}),El[t]=g,c},Hl=function(e,t){return{value:e,done:t}},Cl=$,Ol=Fc,Ll=ro;$t.f;var Ul=Xl,Bl=Hl,Nl="Array Iterator",Vl=Ll.set,jl=Ll.getterFor(Nl);Ul(Array,"Array",(function(e,t){Vl(this,{type:Nl,target:Cl(e),index:0,kind:t})}),(function(){var e=jl(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Bl(void 0,!0)):Bl("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Ol.Arguments=Ol.Array;var Kl={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},Ql=i,Wl=yr,ql=mn,Zl=Fc,$l=ht("toStringTag");for(var Yl in Kl){var Jl=Ql[Yl],eu=Jl&&Jl.prototype;eu&&Wl(eu)!==$l&&ql(eu,$l,Yl),Zl[Yl]=Zl.Array}var tu=o,nu=function(e,t){var n=[][e];return!!n&&tu((function(){n.call(null,t||function(){return 1},1)}))},ru=Oo.forEach,iu=nu("forEach")?[].forEach:function(e){return ru(this,e,arguments.length>1?arguments[1]:void 0)};zn({target:"Array",proto:!0,forced:[].forEach!=iu},{forEach:iu});var ou=Zs("Array").forEach,au=yr,su=Ye,cu=se,lu=ou,uu=Array.prototype,du={DOMTokenList:!0,NodeList:!0},hu=function(e){var t=e.forEach;return e===uu||cu(uu,e)&&t===uu.forEach||su(du,au(e))?lu:t},pu=n(hu),fu=ae,gu=Wr,vu=pi,mu=nn,yu=v([].concat),_u=fu("Reflect","ownKeys")||function(e){var t=gu.f(mu(e)),n=vu.f;return n?yu(t,n(e)):t},Gu=_u,Ru=$,bu=D,Tu=ti;zn({target:"Object",stat:!0,sham:!z},{getOwnPropertyDescriptors:function(e){for(var t,n,r=Ru(e),i=bu.f,o=Gu(r),a={},s=0;o.length>s;)void 0!==(n=i(r,t=o[s++]))&&Tu(a,t,n);return a}});var wu=te.Object.getOwnPropertyDescriptors,Su=n(wu),Mu={exports:{}},Eu=zn,Du=z,zu=br.f;Eu({target:"Object",stat:!0,forced:Object.defineProperties!==zu,sham:!Du},{defineProperties:zu});var ku=te.Object,Au=Mu.exports=function(e,t){return ku.defineProperties(e,t)};ku.defineProperties.sham&&(Au.sham=!0);var Fu=Mu.exports,Pu=n(Fu),Iu={exports:{}},xu=zn,Xu=z,Hu=$t.f;xu({target:"Object",stat:!0,forced:Object.defineProperty!==Hu,sham:!Xu},{defineProperty:Hu});var Cu=te.Object,Ou=Iu.exports=function(e,t,n){return Cu.defineProperty(e,t,n)};Cu.defineProperty.sham&&(Ou.sham=!0);var Lu=Iu.exports,Uu=n(Lu),Bu=zn,Nu=o,Vu=oo,ju=ee,Ku=qe,Qu=Nn,Wu=_c,qu=ti,Zu=Ao,$u=Qs,Yu=ge,Ju=ht("isConcatSpreadable"),ed=Yu>=51||!Nu((function(){var e=[];return e[Ju]=!1,e.concat()[0]!==e})),td=function(e){if(!ju(e))return!1;var t=e[Ju];return void 0!==t?!!t:Vu(e)};Bu({target:"Array",proto:!0,arity:1,forced:!ed||!$u("concat")},{concat:function(e){var t,n,r,i,o,a=Ku(this),s=Zu(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(td(o=-1===t?a:arguments[t]))for(i=Qu(o),Wu(c+i),n=0;n<i;n++,c++)n in o&&qu(s,c,o[n]);else Wu(c+1),qu(s,c++,o);return s.length=c,s}}),Ei("asyncIterator"),Ei("hasInstance"),Ei("isConcatSpreadable"),Ei("iterator"),Ei("match"),Ei("matchAll"),Ei("replace"),Ei("search"),Ei("species"),Ei("split");var nd=Fi;Ei("toPrimitive"),nd();var rd=ae,id=Ui;Ei("toStringTag"),id(rd("Symbol"),"Symbol"),Ei("unscopables"),Ui(i.JSON,"JSON",!0);var od=te.Symbol;Ei("dispose");var ad=od;Ei("asyncDispose");var sd=zn,cd=v,ld=ae("Symbol"),ud=ld.keyFor,dd=cd(ld.prototype.valueOf);sd({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==ud(dd(e))}catch(t){return!1}}});for(var hd=zn,pd=Ke,fd=ae,gd=v,vd=Se,md=ht,yd=fd("Symbol"),_d=yd.isWellKnown,Gd=fd("Object","getOwnPropertyNames"),Rd=gd(yd.prototype.valueOf),bd=pd("wks"),Td=0,wd=Gd(yd),Sd=wd.length;Td<Sd;Td++)try{var Md=wd[Td];vd(yd[Md])&&md(Md)}catch(p_e){}hd({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(_d&&_d(e))return!0;try{for(var t=Rd(e),n=0,r=Gd(bd),i=r.length;n<i;n++)if(bd[r[n]]==t)return!0}catch(p_e){}return!1}}),Ei("matcher"),Ei("metadataKey"),Ei("observable"),Ei("metadata"),Ei("patternMatch"),Ei("replaceAll");var Ed=ad,Dd=n(Ed),zd=v,kd=In,Ad=Rr,Fd=W,Pd=zd("".charAt),Id=zd("".charCodeAt),xd=zd("".slice),Xd=function(e){return function(t,n){var r,i,o=Ad(Fd(t)),a=kd(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=Id(o,a))<55296||r>56319||a+1===s||(i=Id(o,a+1))<56320||i>57343?e?Pd(o,a):r:e?xd(o,a,a+2):i-56320+(r-55296<<10)+65536}},Hd={codeAt:Xd(!1),charAt:Xd(!0)},Cd=Hd.charAt,Od=Rr,Ld=ro,Ud=Xl,Bd=Hl,Nd="String Iterator",Vd=Ld.set,jd=Ld.getterFor(Nd);Ud(String,"String",(function(e){Vd(this,{type:Nd,string:Od(e),index:0})}),(function(){var e,t=jd(this),n=t.string,r=t.index;return r>=n.length?Bd(void 0,!0):(e=Cd(n,r),t.index+=e.length,Bd(e,!1))}));var Kd=yi.f("iterator"),Qd=n(Kd);function Wd(e){return(Wd="function"==typeof Dd&&"symbol"==typeof Qd?function(e){return typeof e}:function(e){return e&&"function"==typeof Dd&&e.constructor===Dd&&e!==Dd.prototype?"symbol":typeof e})(e)}var qd=yi.f("toPrimitive"),Zd=n(qd);function $d(e){var t=function(e,t){if("object"!==Wd(e)||null===e)return e;var n=e[Zd];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Wd(t)?t:String(t)}function Yd(e,t,n){return(t=$d(t))in e?Uu(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jd(e,t){var n=lr(e);if(Ns){var r=Ns(e);t&&(r=nc(r).call(r,(function(t){return hc(e,t).enumerable}))),Ac(n).apply(n,r)}return n}function eh(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?pu(n=Jd(Object(i),!0)).call(n,(function(t){Yd(e,t,i[t])})):Su?Pu(e,Su(i)):pu(r=Jd(Object(i))).call(r,(function(t){Uu(e,t,hc(i,t))}))}return e}zn({target:"Object",stat:!0,sham:!z},{create:Qr});var th=te.Object,nh=function(e,t){return th.create(e,t)},rh=n(nh),ih=qe,oh=Qc,ah=Oc;zn({target:"Object",stat:!0,forced:o((function(){oh(1)})),sham:!ah},{getPrototypeOf:function(e){return oh(ih(e))}});var sh=te.Object.getPrototypeOf,ch=n(sh);zn({target:"Object",stat:!0},{setPrototypeOf:_l});var lh=te.Object.setPrototypeOf,uh=n(lh),dh=Ye,hh=_u,ph=D,fh=$t,gh=ee,vh=mn,mh=Error,yh=v("".replace),_h=String(mh("zxcasd").stack),Gh=/\n\s*at [^:]*:[^\n]*/,Rh=Gh.test(_h),bh=O,Th=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",bh(1,7)),7!==e.stack)})),wh=mn,Sh=function(e,t){if(Rh&&"string"==typeof e&&!mh.prepareStackTrace)for(;t--;)e=yh(e,Gh,"");return e},Mh=Th,Eh=Error.captureStackTrace,Dh=Fc,zh=ht("iterator"),kh=Array.prototype,Ah=function(e){return void 0!==e&&(Dh.Array===e||kh[zh]===e)},Fh=yr,Ph=Ie,Ih=j,xh=Fc,Xh=ht("iterator"),Hh=function(e){if(!Ih(e))return Ph(e,Xh)||Ph(e,"@@iterator")||xh[Fh(e)]},Ch=F,Oh=Ae,Lh=nn,Uh=Ee,Bh=Hh,Nh=TypeError,Vh=function(e,t){var n=arguments.length<2?Bh(e):t;if(Oh(n))return Lh(Ch(n,e));throw Nh(Uh(e)+" is not iterable")},jh=F,Kh=nn,Qh=Ie,Wh=function(e,t,n){var r,i;Kh(e);try{if(!(r=Qh(e,"return"))){if("throw"===t)throw n;return n}r=jh(r,e)}catch(p_e){i=!0,r=p_e}if("throw"===t)throw n;if(i)throw r;return Kh(r),n},qh=Zt,Zh=F,$h=nn,Yh=Ee,Jh=Ah,ep=Nn,tp=se,np=Vh,rp=Hh,ip=Wh,op=TypeError,ap=function(e,t){this.stopped=e,this.result=t},sp=ap.prototype,cp=function(e,t,n){var r,i,o,a,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),g=qh(t,u),v=function(e){return r&&ip(r,"normal",e),new ap(!0,e)},m=function(e){return d?($h(e),f?g(e[0],e[1],v):g(e[0],e[1])):f?g(e,v):g(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(i=rp(e)))throw op(Yh(e)+" is not iterable");if(Jh(i)){for(o=0,a=ep(e);a>o;o++)if((s=m(e[o]))&&tp(sp,s))return s;return new ap(!1)}r=np(e,i)}for(c=h?e.next:r.next;!(l=Zh(c,r)).done;){try{s=m(l.value)}catch(p_e){ip(r,"throw",p_e)}if("object"==typeof s&&s&&tp(sp,s))return s}return new ap(!1)},lp=Rr,up=zn,dp=se,hp=Qc,pp=_l,fp=function(e,t,n){for(var r=hh(t),i=fh.f,o=ph.f,a=0;a<r.length;a++){var s=r[a];dh(e,s)||n&&dh(n,s)||i(e,s,o(t,s))}},gp=Qr,vp=mn,mp=O,yp=function(e,t){gh(t)&&"cause"in t&&vh(e,"cause",t.cause)},_p=function(e,t,n,r){Mh&&(Eh?Eh(e,t):wh(e,"stack",Sh(n,r)))},Gp=cp,Rp=function(e,t){return void 0===e?arguments.length<2?"":t:lp(e)},bp=ht("toStringTag"),Tp=Error,wp=[].push,Sp=function(e,t){var n,r=dp(Mp,this);pp?n=pp(Tp(),r?hp(this):Mp):(n=r?this:gp(Mp),vp(n,bp,"Error")),void 0!==t&&vp(n,"message",Rp(t)),_p(n,Sp,n.stack,1),arguments.length>2&&yp(n,arguments[2]);var i=[];return Gp(e,wp,{that:i}),vp(n,"errors",i),n};pp?pp(Sp,Tp):fp(Sp,Tp,{name:!0});var Mp=Sp.prototype=gp(Tp.prototype,{constructor:mp(1,Sp),message:mp(1,""),name:mp(1,"AggregateError")});up({global:!0,constructor:!0,arity:2},{AggregateError:Sp});var Ep,Dp,zp,kp,Ap="undefined"!=typeof process&&"process"==G(process),Fp=ae,Pp=mi,Ip=z,xp=ht("species"),Xp=function(e){var t=Fp(e);Ip&&t&&!t[xp]&&Pp(t,xp,{configurable:!0,get:function(){return this}})},Hp=se,Cp=TypeError,Op=function(e,t){if(Hp(t,e))return e;throw Cp("Incorrect invocation")},Lp=wo,Up=Ee,Bp=TypeError,Np=function(e){if(Lp(e))return e;throw Bp(Up(e)+" is not a constructor")},Vp=nn,jp=Np,Kp=j,Qp=ht("species"),Wp=function(e,t){var n,r=Vp(e).constructor;return void 0===r||Kp(n=Vp(r)[Qp])?t:jp(n)},qp=TypeError,Zp=function(e,t){if(e<t)throw qp("Not enough arguments");return e},$p=/(?:ipad|iphone|ipod).*applewebkit/i.test(ce),Yp=i,Jp=d,ef=Zt,tf=E,nf=Ye,rf=o,of=kr,af=ls,sf=Mt,cf=Zp,lf=$p,uf=Ap,df=Yp.setImmediate,hf=Yp.clearImmediate,pf=Yp.process,ff=Yp.Dispatch,gf=Yp.Function,vf=Yp.MessageChannel,mf=Yp.String,yf=0,_f={},Gf="onreadystatechange";rf((function(){Ep=Yp.location}));var Rf=function(e){if(nf(_f,e)){var t=_f[e];delete _f[e],t()}},bf=function(e){return function(){Rf(e)}},Tf=function(e){Rf(e.data)},wf=function(e){Yp.postMessage(mf(e),Ep.protocol+"//"+Ep.host)};df&&hf||(df=function(e){cf(arguments.length,1);var t=tf(e)?e:gf(e),n=af(arguments,1);return _f[++yf]=function(){Jp(t,void 0,n)},Dp(yf),yf},hf=function(e){delete _f[e]},uf?Dp=function(e){pf.nextTick(bf(e))}:ff&&ff.now?Dp=function(e){ff.now(bf(e))}:vf&&!lf?(kp=(zp=new vf).port2,zp.port1.onmessage=Tf,Dp=ef(kp.postMessage,kp)):Yp.addEventListener&&tf(Yp.postMessage)&&!Yp.importScripts&&Ep&&"file:"!==Ep.protocol&&!rf(wf)?(Dp=wf,Yp.addEventListener("message",Tf,!1)):Dp=Gf in sf("script")?function(e){of.appendChild(sf("script"))[Gf]=function(){of.removeChild(this),Rf(e)}}:function(e){setTimeout(bf(e),0)});var Sf={set:df,clear:hf},Mf=function(){this.head=null,this.tail=null};Mf.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.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 Ef,Df,zf,kf,Af,Ff=Mf,Pf=/ipad|iphone|ipod/i.test(ce)&&"undefined"!=typeof Pebble,If=/web0s(?!.*chrome)/i.test(ce),xf=i,Xf=Zt,Hf=D.f,Cf=Sf.set,Of=Ff,Lf=$p,Uf=Pf,Bf=If,Nf=Ap,Vf=xf.MutationObserver||xf.WebKitMutationObserver,jf=xf.document,Kf=xf.process,Qf=xf.Promise,Wf=Hf(xf,"queueMicrotask"),qf=Wf&&Wf.value;if(!qf){var Zf=new Of,$f=function(){var e,t;for(Nf&&(e=Kf.domain)&&e.exit();t=Zf.get();)try{t()}catch(p_e){throw Zf.head&&Ef(),p_e}e&&e.enter()};Lf||Nf||Bf||!Vf||!jf?!Uf&&Qf&&Qf.resolve?((kf=Qf.resolve(void 0)).constructor=Qf,Af=Xf(kf.then,kf),Ef=function(){Af($f)}):Nf?Ef=function(){Kf.nextTick($f)}:(Cf=Xf(Cf,xf),Ef=function(){Cf($f)}):(Df=!0,zf=jf.createTextNode(""),new Vf($f).observe(zf,{characterData:!0}),Ef=function(){zf.data=Df=!Df}),qf=function(e){Zf.head||Ef(),Zf.add(e)}}var Yf=qf,Jf=function(e){try{return{error:!1,value:e()}}catch(p_e){return{error:!0,value:p_e}}},eg=i.Promise,tg="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ng=!tg&&!Ap&&"object"==typeof window&&"object"==typeof document,rg=i,ig=eg,og=E,ag=Kt,sg=lo,cg=ht,lg=ng,ug=tg,dg=ge,hg=ig&&ig.prototype,pg=cg("species"),fg=!1,gg=og(rg.PromiseRejectionEvent),vg={CONSTRUCTOR:ag("Promise",(function(){var e=sg(ig),t=e!==String(ig);if(!t&&66===dg)return!0;if(!hg.catch||!hg.finally)return!0;if(!dg||dg<51||!/native code/.test(e)){var n=new ig((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[pg]=r,!(fg=n.then((function(){}))instanceof r))return!0}return!t&&(lg||ug)&&!gg})),REJECTION_EVENT:gg,SUBCLASSING:fg},mg={},yg=Ae,_g=TypeError,Gg=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw _g("Bad Promise constructor");t=e,n=r})),this.resolve=yg(t),this.reject=yg(n)};mg.f=function(e){return new Gg(e)};var Rg,bg,Tg=zn,wg=Ap,Sg=i,Mg=F,Eg=gi,Dg=Ui,zg=Xp,kg=Ae,Ag=E,Fg=ee,Pg=Op,Ig=Wp,xg=Sf.set,Xg=Yf,Hg=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(p_e){}},Cg=Jf,Og=Ff,Lg=ro,Ug=eg,Bg=vg,Ng=mg,Vg="Promise",jg=Bg.CONSTRUCTOR,Kg=Bg.REJECTION_EVENT,Qg=Lg.getterFor(Vg),Wg=Lg.set,qg=Ug&&Ug.prototype,Zg=Ug,$g=qg,Yg=Sg.TypeError,Jg=Sg.document,ev=Sg.process,tv=Ng.f,nv=tv,rv=!!(Jg&&Jg.createEvent&&Sg.dispatchEvent),iv="unhandledrejection",ov=function(e){var t;return!(!Fg(e)||!Ag(t=e.then))&&t},av=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&dv(t),t.rejection=1),!0===s?n=o:(u&&u.enter(),n=s(o),u&&(u.exit(),i=!0)),n===e.promise?l(Yg("Promise-chain cycle")):(r=ov(n))?Mg(r,n,c,l):c(n)):l(o)}catch(p_e){u&&!i&&u.exit(),l(p_e)}},sv=function(e,t){e.notified||(e.notified=!0,Xg((function(){for(var n,r=e.reactions;n=r.get();)av(n,e);e.notified=!1,t&&!e.rejection&&lv(e)})))},cv=function(e,t,n){var r,i;rv?((r=Jg.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Sg.dispatchEvent(r)):r={promise:t,reason:n},!Kg&&(i=Sg["on"+e])?i(r):e===iv&&Hg("Unhandled promise rejection",n)},lv=function(e){Mg(xg,Sg,(function(){var t,n=e.facade,r=e.value;if(uv(e)&&(t=Cg((function(){wg?ev.emit("unhandledRejection",r,n):cv(iv,n,r)})),e.rejection=wg||uv(e)?2:1,t.error))throw t.value}))},uv=function(e){return 1!==e.rejection&&!e.parent},dv=function(e){Mg(xg,Sg,(function(){var t=e.facade;wg?ev.emit("rejectionHandled",t):cv("rejectionhandled",t,e.value)}))},hv=function(e,t,n){return function(r){e(t,r,n)}},pv=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,sv(e,!0))},fv=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Yg("Promise can't be resolved itself");var r=ov(t);r?Xg((function(){var n={done:!1};try{Mg(r,t,hv(fv,n,e),hv(pv,n,e))}catch(p_e){pv(n,p_e,e)}})):(e.value=t,e.state=1,sv(e,!1))}catch(p_e){pv({done:!1},p_e,e)}}};jg&&($g=(Zg=function(e){Pg(this,$g),kg(e),Mg(Rg,this);var t=Qg(this);try{e(hv(fv,t),hv(pv,t))}catch(p_e){pv(t,p_e)}}).prototype,(Rg=function(e){Wg(this,{type:Vg,done:!1,notified:!1,parent:!1,reactions:new Og,rejection:!1,state:0,value:void 0})}).prototype=Eg($g,"then",(function(e,t){var n=Qg(this),r=tv(Ig(this,Zg));return n.parent=!0,r.ok=!Ag(e)||e,r.fail=Ag(t)&&t,r.domain=wg?ev.domain:void 0,0==n.state?n.reactions.add(r):Xg((function(){av(r,n)})),r.promise})),bg=function(){var e=new Rg,t=Qg(e);this.promise=e,this.resolve=hv(fv,t),this.reject=hv(pv,t)},Ng.f=tv=function(e){return e===Zg||undefined===e?new bg(e):nv(e)}),Tg({global:!0,constructor:!0,wrap:!0,forced:jg},{Promise:Zg}),Dg(Zg,Vg,!1,!0),zg(Vg);var gv=ht("iterator"),vv=!1;try{var mv=0,yv={next:function(){return{done:!!mv++}},return:function(){vv=!0}};yv[gv]=function(){return this},Array.from(yv,(function(){throw 2}))}catch(p_e){}var _v=function(e,t){if(!t&&!vv)return!1;var n=!1;try{var r={};r[gv]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(p_e){}return n},Gv=eg,Rv=vg.CONSTRUCTOR||!_v((function(e){Gv.all(e).then(void 0,(function(){}))})),bv=F,Tv=Ae,wv=mg,Sv=Jf,Mv=cp;zn({target:"Promise",stat:!0,forced:Rv},{all:function(e){var t=this,n=wv.f(t),r=n.resolve,i=n.reject,o=Sv((function(){var n=Tv(t.resolve),o=[],a=0,s=1;Mv(e,(function(e){var c=a++,l=!1;s++,bv(n,t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise}});var Ev=zn,Dv=vg.CONSTRUCTOR;eg&&eg.prototype,Ev({target:"Promise",proto:!0,forced:Dv,real:!0},{catch:function(e){return this.then(void 0,e)}});var zv=F,kv=Ae,Av=mg,Fv=Jf,Pv=cp;zn({target:"Promise",stat:!0,forced:Rv},{race:function(e){var t=this,n=Av.f(t),r=n.reject,i=Fv((function(){var i=kv(t.resolve);Pv(e,(function(e){zv(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Iv=F,xv=mg;zn({target:"Promise",stat:!0,forced:vg.CONSTRUCTOR},{reject:function(e){var t=xv.f(this);return Iv(t.reject,void 0,e),t.promise}});var Xv=nn,Hv=ee,Cv=mg,Ov=function(e,t){if(Xv(e),Hv(t)&&t.constructor===e)return t;var n=Cv.f(e);return(0,n.resolve)(t),n.promise},Lv=zn,Uv=eg,Bv=vg.CONSTRUCTOR,Nv=Ov,Vv=ae("Promise"),jv=!Bv;Lv({target:"Promise",stat:!0,forced:true},{resolve:function(e){return Nv(jv&&this===Vv?Uv:this,e)}});var Kv=F,Qv=Ae,Wv=mg,qv=Jf,Zv=cp;zn({target:"Promise",stat:!0,forced:Rv},{allSettled:function(e){var t=this,n=Wv.f(t),r=n.resolve,i=n.reject,o=qv((function(){var n=Qv(t.resolve),i=[],o=0,a=1;Zv(e,(function(e){var s=o++,c=!1;a++,Kv(n,t,e).then((function(e){c||(c=!0,i[s]={status:"fulfilled",value:e},--a||r(i))}),(function(e){c||(c=!0,i[s]={status:"rejected",reason:e},--a||r(i))}))})),--a||r(i)}));return o.error&&i(o.value),n.promise}});var $v=F,Yv=Ae,Jv=ae,em=mg,tm=Jf,nm=cp,rm="No one promise resolved";zn({target:"Promise",stat:!0,forced:Rv},{any:function(e){var t=this,n=Jv("AggregateError"),r=em.f(t),i=r.resolve,o=r.reject,a=tm((function(){var r=Yv(t.resolve),a=[],s=0,c=1,l=!1;nm(e,(function(e){var u=s++,d=!1;c++,$v(r,t,e).then((function(e){d||l||(l=!0,i(e))}),(function(e){d||l||(d=!0,a[u]=e,--c||o(new n(a,rm)))}))})),--c||o(new n(a,rm))}));return a.error&&o(a.value),r.promise}});var im=zn,om=eg,am=o,sm=ae,cm=E,lm=Wp,um=Ov,dm=om&&om.prototype;im({target:"Promise",proto:!0,real:!0,forced:!!om&&am((function(){dm.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=lm(this,sm("Promise")),n=cm(e);return this.then(n?function(n){return um(t,e()).then((function(){return n}))}:e,n?function(n){return um(t,e()).then((function(){throw n}))}:e)}});var hm=te.Promise,pm=mg,fm=Jf;zn({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=pm.f(this),n=fm(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}});var gm=hm,vm=n(gm),mm=zn,ym=oo,_m=v([].reverse),Gm=[1,2];mm({target:"Array",proto:!0,forced:String(Gm)===String(Gm.reverse())},{reverse:function(){return ym(this)&&(this.length=this.length),_m(this)}});var Rm=Zs("Array").reverse,bm=se,Tm=Rm,wm=Array.prototype,Sm=function(e){var t=e.reverse;return e===wm||bm(wm,e)&&t===wm.reverse?Tm:t},Mm=n(Sm),Em=zn,Dm=oo,zm=wo,km=ee,Am=Cn,Fm=Nn,Pm=$,Im=ti,xm=ht,Xm=ls,Hm=Qs("slice"),Cm=xm("species"),Om=Array,Lm=Math.max;Em({target:"Array",proto:!0,forced:!Hm},{slice:function(e,t){var n,r,i,o=Pm(this),a=Fm(o),s=Am(e,a),c=Am(void 0===t?a:t,a);if(Dm(o)&&(n=o.constructor,(zm(n)&&(n===Om||Dm(n.prototype))||km(n)&&null===(n=n[Cm]))&&(n=void 0),n===Om||void 0===n))return Xm(o,s,c);for(r=new(void 0===n?Om:n)(Lm(c-s,0)),i=0;s<c;s++,i++)s in o&&Im(r,i,o[s]);return r.length=i,r}});var Um=Zs("Array").slice,Bm=se,Nm=Um,Vm=Array.prototype,jm=function(e){var t=e.slice;return e===Vm||Bm(Vm,e)&&t===Vm.slice?Nm:t},Km=n(jm);function Qm(){Qm=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Uu||function(e,t,n){e[t]=n.value},i="function"==typeof Dd?Dd:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Uu(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=rh(o.prototype),s=new w(i||[]);return r(a,"_invoke",{value:G(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=l;var d={};function h(){}function p(){}function f(){}var g={};c(g,o,(function(){return this}));var v=ch&&ch(ch(S([])));v&&v!==t&&n.call(v,o)&&(g=v);var m=f.prototype=h.prototype=rh(g);function y(e){var t;pu(t=["next","throw","return"]).call(t,(function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function i(r,o,a,s){var c=u(e[r],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Wd(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return i("throw",e,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function G(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=R(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function R(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,R(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;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,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t,n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),Ac(t=this.tryEntries).call(t,n)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],pu(e).call(e,b,this),this.reset(!0)}function S(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=f,r(m,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:p,configurable:!0}),p.displayName=c(f,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 uh?uh(e,f):(e.__proto__=f,c(e,s,"GeneratorFunction")),e.prototype=rh(m),e},e.awrap=function(e){return{__await:e}},y(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=vm);var a=new _(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(m),c(m,s,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)Ac(n).call(n,r);return Mm(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,w.prototype={constructor:w,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,pu(t=this.tryEntries).call(t,T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+Km(r).call(r,1))&&(this[r]=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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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,d):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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Wm(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(p_e){return void n(p_e)}s.done?t(c):vm.resolve(c).then(r,i)}function qm(e){return function(){var t=this,n=arguments;return new vm((function(r,i){var o=e.apply(t,n);function a(e){Wm(o,r,i,a,s,"next",e)}function s(e){Wm(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Uu(e,$d(r.key),r)}}function Ym(e,t,n){return t&&$m(e.prototype,t),n&&$m(e,n),Uu(e,"prototype",{writable:!1}),e}function Jm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ey=Ye,ty=F,ny=ee,ry=nn,iy=function(e){return void 0!==e&&(ey(e,"value")||ey(e,"writable"))},oy=D,ay=Qc;zn({target:"Reflect",stat:!0},{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return ry(t)===o?t[n]:(r=oy.f(t,n))?iy(r)?r.value:void 0===r.get?void 0:ty(r.get,o):ny(i=ay(t))?e(i,n,o):void 0}});var sy=n(te.Reflect.get),cy=v,ly=Ae,uy=ee,dy=Ye,hy=ls,py=a,fy=Function,gy=cy([].concat),vy=cy([].join),my={},yy=py?fy.bind:function(e){var t=ly(this),n=t.prototype,r=hy(arguments,1),i=function(){var n=gy(r,hy(arguments));return this instanceof i?function(e,t,n){if(!dy(my,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";my[t]=fy("C,a","return new C("+vy(r,",")+")")}return my[t](e,n)}(t,n.length,n):t.apply(e,n)};return uy(n)&&(i.prototype=n),i},_y=yy;zn({target:"Function",proto:!0,forced:Function.bind!==_y},{bind:_y});var Gy=Zs("Function").bind,Ry=se,by=Gy,Ty=Function.prototype,wy=function(e){var t=e.bind;return e===Ty||Ry(Ty,e)&&t===Ty.bind?by:t},Sy=n(wy);function My(e){var t;return(My=uh?Sy(t=ch).call(t):function(e){return e.__proto__||ch(e)})(e)}function Ey(){var e;"undefined"!=typeof Reflect&&sy?Ey=Sy(e=sy).call(e):Ey=function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=My(e)););return e}(e,t);if(r){var i=hc(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}};return Ey.apply(this,arguments)}function Dy(e,t){var n;return(Dy=uh?Sy(n=uh).call(n):function(e,t){return e.__proto__=t,e})(e,t)}function zy(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=rh(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Uu(e,"prototype",{writable:!1}),t&&Dy(e,t)}var ky=zn,Ay=d,Fy=yy,Py=Np,Iy=nn,xy=ee,Xy=Qr,Hy=o,Cy=ae("Reflect","construct"),Oy=Object.prototype,Ly=[].push,Uy=Hy((function(){function e(){}return!(Cy((function(){}),[],e)instanceof e)})),By=!Hy((function(){Cy((function(){}))})),Ny=Uy||By;ky({target:"Reflect",stat:!0,forced:Ny,sham:Ny},{construct:function(e,t){Py(e),Iy(t);var n=arguments.length<3?e:Py(arguments[2]);if(By&&!Uy)return Cy(e,t,n);if(e==n){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 r=[null];return Ay(Ly,r,t),new(Ay(Fy,e,r))}var i=n.prototype,o=Xy(xy(i)?i:Oy),a=Ay(e,o,t);return xy(a)?a:o}});var Vy=n(te.Reflect.construct);function jy(){if("undefined"==typeof Reflect||!Vy)return!1;if(Vy.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Vy(Boolean,[],(function(){}))),!0}catch(ZO){return!1}}function Ky(e){var t=jy();return function(){var n,r=My(e);if(t){var i=My(this).constructor;n=Vy(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Wd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Jm(e)}(this,n)}}zn({target:"Array",stat:!0},{isArray:oo});var Qy=te.Array.isArray,Wy=n(Qy);function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Zy=Hh,$y=n(Zy),Yy=nn,Jy=Wh,e_=Zt,t_=F,n_=qe,r_=function(e,t,n,r){try{return r?t(Yy(n)[0],n[1]):t(n)}catch(p_e){Jy(e,"throw",p_e)}},i_=Ah,o_=wo,a_=Nn,s_=ti,c_=Vh,l_=Hh,u_=Array,d_=function(e){var t=n_(e),n=o_(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=e_(i,r>2?arguments[2]:void 0));var a,s,c,l,u,d,h=l_(t),p=0;if(!h||this===u_&&i_(h))for(a=a_(t),s=n?new this(a):u_(a);a>p;p++)d=o?i(t[p],p):t[p],s_(s,p,d);else for(u=(l=c_(t,h)).next,s=n?new this:[];!(c=t_(u,l)).done;p++)d=o?r_(l,i,[c.value,p],!0):c.value,s_(s,p,d);return s.length=p,s},h_=d_;zn({target:"Array",stat:!0,forced:!_v((function(e){Array.from(e)}))},{from:h_});var p_=te.Array.from,f_=n(p_);function g_(e,t){var n;if(e){if("string"==typeof e)return qy(e,t);var r=Km(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?f_(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qy(e,t):void 0}}function v_(e){return function(e){if(Wy(e))return qy(e)}(e)||function(e){if(void 0!==Dd&&null!=$y(e)||null!=e["@@iterator"])return f_(e)}(e)||g_(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_,y_=Zs("Array").concat,__=se,G_=y_,R_=Array.prototype,b_=n((function(e){var t=e.concat;return e===R_||__(R_,e)&&t===R_.concat?G_:t})),T_=window.VePlayer.error,w_=T_.VeError,S_=function(e){return e[e.INVALID_PARAMETER=210]="INVALID_PARAMETER",e[e.EMPTY_RTM_FALLBACK_PARAMETER=211]="EMPTY_RTM_FALLBACK_PARAMETER",e[e.INVALID_LOGGER=220]="INVALID_LOGGER",e}(S_||{});T_.Level;var M_=eh(eh({},S_),T_.ErrorCode),E_=eh(eh({},T_.ERROR_INFO),{},(Yd(m_={},210,{messageTextKey:"INVALID_PARAMETER",level:T_.Level.Fatal}),Yd(m_,211,{messageTextKey:"EMPTY_RTM_FALLBACK_PARAMETER",level:T_.Level.Warn}),Yd(m_,220,{messageTextKey:"INVALID_LOGGER",level:T_.Level.Warn}),m_));function D_(e,t){return new w_(eh({errorCode:e},E_[e]),t)}var z_=n(wy),k_="\t\n\v\f\r                 \u2028\u2029\ufeff",A_=W,F_=Rr,P_=k_,I_=v("".replace),x_=RegExp("^["+P_+"]+"),X_=RegExp("(^|[^"+P_+"])["+P_+"]+$"),H_=function(e){return function(t){var n=F_(A_(t));return 1&e&&(n=I_(n,x_,"")),2&e&&(n=I_(n,X_,"$1")),n}},C_={start:H_(1),end:H_(2),trim:H_(3)},O_=i,L_=o,U_=v,B_=Rr,N_=C_.trim,V_=k_,j_=O_.parseInt,K_=O_.Symbol,Q_=K_&&K_.iterator,W_=/^[+-]?0x/i,q_=U_(W_.exec),Z_=8!==j_(V_+"08")||22!==j_(V_+"0x16")||Q_&&!L_((function(){j_(Object(Q_))}))?function(e,t){var n=N_(B_(e));return j_(n,t>>>0||(q_(W_,n)?16:10))}:j_;zn({global:!0,forced:parseInt!=Z_},{parseInt:Z_});var $_,Y_=n(te.parseInt),J_="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,eG=i,tG=d,nG=E,rG=J_,iG=ce,oG=ls,aG=Zp,sG=eG.Function,cG=/MSIE .\./.test(iG)||rG&&(($_=eG.Bun.version.split(".")).length<3||0==$_[0]&&($_[1]<3||3==$_[1]&&0==$_[2])),lG=function(e,t){var n=t?2:1;return cG?function(r,i){var o=aG(arguments.length,1)>n,a=nG(r)?r:sG(r),s=o?oG(arguments,n):[],c=o?function(){tG(a,this,s)}:a;return t?e(c,i):e(c)}:e},uG=zn,dG=i,hG=lG(dG.setInterval,!0);uG({global:!0,bind:!0,forced:dG.setInterval!==hG},{setInterval:hG});var pG=zn,fG=i,gG=lG(fG.setTimeout,!0);pG({global:!0,bind:!0,forced:fG.setTimeout!==gG},{setTimeout:gG});var vG=n(te.setTimeout),mG=n(jm),yG=NaN,_G="[object Symbol]",GG=/^\s+|\s+$/g,RG=/^[-+]0x[0-9a-f]+$/i,bG=/^0b[01]+$/i,TG=/^0o[0-7]+$/i,wG=Y_,SG="object"==Wd(t)&&t&&t.Object===Object&&t,MG="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,EG=SG||MG||Function("return this")(),DG=Object.prototype.toString,zG=Math.max,kG=Math.min,AG=function(){return EG.Date.now()};function FG(e){var t=Wd(e);return!!e&&("object"==t||"function"==t)}function PG(e){return"symbol"==Wd(e)||function(e){return!!e&&"object"==Wd(e)}(e)&&DG.call(e)==_G}function IG(e){if("number"==typeof e)return e;if(PG(e))return yG;if(FG(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=FG(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(GG,"");var n=bG.test(e);return n||TG.test(e)?wG(mG(e).call(e,2),n?2:8):RG.test(e)?yG:+e}var xG=function(e,t,n){var r,i,o,a,s,c,l=0,u=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,l=t,a=e.apply(o,n)}function f(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=o}function g(){var e=AG();if(f(e))return v(e);s=vG(g,function(e){var n=t-(e-c);return d?kG(n,o-(e-l)):n}(e))}function v(e){return s=void 0,h&&r?p(e):(r=i=void 0,a)}function m(){var e=AG(),n=f(e);if(r=arguments,i=this,c=e,n){if(void 0===s)return function(e){return l=e,s=vG(g,t),u?p(e):a}(c);if(d)return s=vG(g,t),p(c)}return void 0===s&&(s=vG(g,t)),a}return t=IG(t)||0,FG(n)&&(u=!!n.leading,o=(d="maxWait"in n)?zG(IG(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0},m.flush=function(){return void 0===s?a:v(AG())},m},XG=n(xG),HG=eh(eh({},window.VePlayer.event.Events),{},{TIME_SHIFT_CHANGE:"timeShiftChange",REFRESH_CLICK:"refreshClick"});function CG(){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 OG=window.VePlayer.Plugin,LG=window.VePlayer.Sniffer,UG=window.VePlayer.XGEvents,BG=OG.POSITIONS,NG=function(e){zy(n,e);var t=Ky(n);function n(){return Zm(this,n),t.apply(this,arguments)}return Ym(n,[{key:"afterCreate",value:function(){this.config.disable||(this.appendChild(".xgplayer-icon",this.icons.refresh),this._initEvents())}},{key:"registerIcons",value:function(){return{refresh:{icon:CG,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 n,r;if(e.preventDefault(),e.stopPropagation(),t.addClass("xgplayer-is-enter"),t.pause(),t)t.emit(HG.REFRESH_CLICK),null===(n=this.player)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.veplayer)||void 0===n||n.retry(),null===(r=this.player)||void 0===r||null===(r=r.plugins)||void 0===r||null===(r=r.error)||void 0===r||r.hideError();t.once(UG.CANPLAY,(function(){t.removeClass("xgplayer-is-enter")}))}}},{key:"_initEvents",value:function(){var e;this._handleRefresh=XG(z_(e=this._handleRefresh).call(e,this),200);var t="mobile"===LG.device?"touchend":"click";z_(this).call(this,t,this._handleRefresh),this.show()}}],[{key:"pluginName",get:function(){return"refresh"}},{key:"defaultConfig",get:function(){return{position:BG.CONTROLS_LEFT,index:1,disable:!1}}}]),n}(OG),VG=n(Lu),jG=n(cr),KG=n(Bs),QG=n(tc),WG=n(dc),qG=n(hu),ZG=n(wu),$G=n(Fu),YG=n(Ed),JG=n(Kd),eR=n(yi.f("asyncIterator")),tR=zn,nR=Wn.indexOf,rR=nu,iR=T([].indexOf),oR=!!iR&&1/iR([1],1,-0)<0;tR({target:"Array",proto:!0,forced:oR||!rR("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return oR?iR(this,e,t)||0:nR(this,e,t)}});var aR=Zs("Array").indexOf,sR=se,cR=aR,lR=Array.prototype,uR=function(e){var t=e.indexOf;return e===lR||sR(lR,e)&&t===lR.indexOf?cR:t},dR=n(uR),hR=n(uR),pR=zn,fR=Date,gR=v(fR.prototype.getTime);pR({target:"Date",stat:!0},{now:function(){return gR(new fR)}});var vR=n(te.Date.now),mR=o,yR=ht("iterator"),_R=!mR((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+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[yR]||"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"!==n||"x"!==new URL("http://x",void 0).host})),GR=gi,RR=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:GR(e,r,t[r],n);return e},bR=si,TR=Math.floor,wR=function(e,t){var n=e.length,r=TR(n/2);return n<8?SR(e,t):MR(e,wR(bR(e,0,r),t),wR(bR(e,r),t),t)},SR=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},MR=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e},ER=wR,DR=zn,zR=i,kR=F,AR=v,FR=z,PR=_R,IR=gi,xR=mi,XR=RR,HR=Ui,CR=ul,OR=ro,LR=Op,UR=E,BR=Ye,NR=Zt,VR=yr,jR=nn,KR=ee,QR=Rr,WR=Qr,qR=O,ZR=Vh,$R=Hh,YR=Zp,JR=ER,eb=ht("iterator"),tb="URLSearchParams",nb=tb+"Iterator",rb=OR.set,ib=OR.getterFor(tb),ob=OR.getterFor(nb),ab=Object.getOwnPropertyDescriptor,sb=function(e){if(!FR)return zR[e];var t=ab(zR,e);return t&&t.value},cb=sb("fetch"),lb=sb("Request"),ub=sb("Headers"),db=lb&&lb.prototype,hb=ub&&ub.prototype,pb=zR.RegExp,fb=zR.TypeError,gb=zR.decodeURIComponent,vb=zR.encodeURIComponent,mb=AR("".charAt),yb=AR([].join),_b=AR([].push),Gb=AR("".replace),Rb=AR([].shift),bb=AR([].splice),Tb=AR("".split),wb=AR("".slice),Sb=/\+/g,Mb=Array(4),Eb=function(e){return Mb[e-1]||(Mb[e-1]=pb("((?:%[\\da-f]{2}){"+e+"})","gi"))},Db=function(e){try{return gb(e)}catch(p_e){return e}},zb=function(e){var t=Gb(e,Sb," "),n=4;try{return gb(t)}catch(p_e){for(;n;)t=Gb(t,Eb(n--),Db);return t}},kb=/[!'()~]|%20/g,Ab={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Fb=function(e){return Ab[e]},Pb=function(e){return Gb(vb(e),kb,Fb)},Ib=CR((function(e,t){rb(this,{type:nb,iterator:ZR(ib(e).entries),kind:t})}),"Iterator",(function(){var e=ob(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),xb=function(e){this.entries=[],this.url=null,void 0!==e&&(KR(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===mb(e,0)?wb(e,1):e:QR(e)))};xb.prototype={type:tb,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,s,c=$R(e);if(c)for(n=(t=ZR(e,c)).next;!(r=kR(n,t)).done;){if(o=(i=ZR(jR(r.value))).next,(a=kR(o,i)).done||(s=kR(o,i)).done||!kR(o,i).done)throw fb("Expected sequence with length 2");_b(this.entries,{key:QR(a.value),value:QR(s.value)})}else for(var l in e)BR(e,l)&&_b(this.entries,{key:l,value:QR(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Tb(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Tb(t,"="),_b(this.entries,{key:zb(Rb(n)),value:zb(yb(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],_b(n,Pb(e.key)+"="+Pb(e.value));return yb(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Xb=function(){LR(this,Hb);var e=rb(this,new xb(arguments.length>0?arguments[0]:void 0));FR||(this.length=e.entries.length)},Hb=Xb.prototype;if(XR(Hb,{append:function(e,t){YR(arguments.length,2);var n=ib(this);_b(n.entries,{key:QR(e),value:QR(t)}),FR||this.length++,n.updateURL()},delete:function(e){YR(arguments.length,1);for(var t=ib(this),n=t.entries,r=QR(e),i=0;i<n.length;)n[i].key===r?bb(n,i,1):i++;FR||(this.length=n.length),t.updateURL()},get:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=[],i=0;i<t.length;i++)t[i].key===n&&_b(r,t[i].value);return r},has:function(e){YR(arguments.length,1);for(var t=ib(this).entries,n=QR(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){YR(arguments.length,1);for(var n,r=ib(this),i=r.entries,o=!1,a=QR(e),s=QR(t),c=0;c<i.length;c++)(n=i[c]).key===a&&(o?bb(i,c--,1):(o=!0,n.value=s));o||_b(i,{key:a,value:s}),FR||(this.length=i.length),r.updateURL()},sort:function(){var e=ib(this);JR(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=ib(this).entries,r=NR(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new Ib(this,"keys")},values:function(){return new Ib(this,"values")},entries:function(){return new Ib(this,"entries")}},{enumerable:!0}),IR(Hb,eb,Hb.entries,{name:"entries"}),IR(Hb,"toString",(function(){return ib(this).serialize()}),{enumerable:!0}),FR&&xR(Hb,"size",{get:function(){return ib(this).entries.length},configurable:!0,enumerable:!0}),HR(Xb,tb),DR({global:!0,constructor:!0,forced:!PR},{URLSearchParams:Xb}),!PR&&UR(ub)){var Cb=AR(hb.has),Ob=AR(hb.set),Lb=function(e){if(KR(e)){var t,n=e.body;if(VR(n)===tb)return t=e.headers?new ub(e.headers):new ub,Cb(t,"content-type")||Ob(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),WR(e,{body:qR(0,QR(n)),headers:qR(0,t)})}return e};if(UR(cb)&&DR({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return cb(e,arguments.length>1?Lb(arguments[1]):{})}}),UR(lb)){var Ub=function(e){return LR(this,db),new lb(e,arguments.length>1?Lb(arguments[1]):{})};db.constructor=Ub,Ub.prototype=db,DR({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ub})}}var Bb={URLSearchParams:Xb,getState:ib},Nb=n(te.URLSearchParams),Vb=ee,jb=G,Kb=ht("match"),Qb=function(e){var t;return Vb(e)&&(void 0!==(t=e[Kb])?!!t:"RegExp"==jb(e))},Wb=TypeError,qb=function(e){if(Qb(e))throw Wb("The method doesn't accept regular expressions");return e},Zb=ht("match"),$b=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Zb]=!1,"/./"[e](t)}catch(p_e){}}return!1},Yb=zn,Jb=T;D.f;var eT=Un,tT=Rr,nT=qb,rT=W,iT=$b,oT=Jb("".startsWith),aT=Jb("".slice),sT=Math.min;Yb({target:"String",proto:!0,forced:!iT("startsWith")},{startsWith:function(e){var t=tT(rT(this));nT(e);var n=eT(sT(arguments.length>1?arguments[1]:void 0,t.length)),r=tT(e);return oT?oT(t,r,n):aT(t,n,n+r.length)===r}});var cT=Zs("String").startsWith,lT=se,uT=cT,dT=String.prototype,hT=n((function(e){var t=e.startsWith;return"string"==typeof e||e===dT||lT(dT,e)&&t===dT.startsWith?uT:t})),pT=Z_;zn({target:"Number",stat:!0,forced:Number.parseInt!=pT},{parseInt:pT});var fT=n(te.Number.parseInt),gT=z,vT=v,mT=F,yT=o,_T=or,GT=pi,RT=P,bT=qe,TT=V,wT=Object.assign,ST=Object.defineProperty,MT=vT([].concat),ET=!wT||yT((function(){if(gT&&1!==wT({b:1},wT(ST({},"a",{enumerable:!0,get:function(){ST(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=wT({},e)[n]||_T(wT({},t)).join("")!=r}))?function(e,t){for(var n=bT(e),r=arguments.length,i=1,o=GT.f,a=RT.f;r>i;)for(var s,c=TT(arguments[i++]),l=o?MT(_T(c),o(c)):_T(c),u=l.length,d=0;u>d;)s=l[d++],gT&&!mT(a,c,s)||(n[s]=c[s]);return n}:wT,DT=ET;zn({target:"Object",stat:!0,arity:2,forced:Object.assign!==DT},{assign:DT});var zT=n(te.Object.assign),kT=te,AT=d;kT.JSON||(kT.JSON={stringify:JSON.stringify});var FT=function(e,t,n){return AT(kT.JSON.stringify,null,arguments)},PT=n(FT),IT=d,xT=$,XT=In,HT=Nn,CT=nu,OT=Math.min,LT=[].lastIndexOf,UT=!!LT&&1/[1].lastIndexOf(1,-0)<0,BT=CT("lastIndexOf"),NT=UT||!BT?function(e){if(UT)return IT(LT,this,arguments)||0;var t=xT(this),n=HT(t),r=n-1;for(arguments.length>1&&(r=OT(r,XT(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:LT;zn({target:"Array",proto:!0,forced:NT!==[].lastIndexOf},{lastIndexOf:NT});var VT=Zs("Array").lastIndexOf,jT=se,KT=VT,QT=Array.prototype,WT=n((function(e){var t=e.lastIndexOf;return e===QT||jT(QT,e)&&t===QT.lastIndexOf?KT:t})),qT=n(gm),ZT=i,$T=o,YT=Rr,JT=C_.trim,ew=k_,tw=v("".charAt),nw=ZT.parseFloat,rw=ZT.Symbol,iw=rw&&rw.iterator,ow=1/nw(ew+"-0")!=-1/0||iw&&!$T((function(){nw(Object(iw))}))?function(e){var t=JT(YT(e)),n=nw(t);return 0===n&&"-"==tw(t,0)?-0:n}:nw,aw=ow;zn({target:"Number",stat:!0,forced:Number.parseFloat!=aw},{parseFloat:aw});var sw=n(te.Number.parseFloat),cw=Wn.includes;zn({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return cw(this,e,arguments.length>1?arguments[1]:void 0)}});var lw=Zs("Array").includes,uw=zn,dw=qb,hw=W,pw=Rr,fw=$b,gw=v("".indexOf);uw({target:"String",proto:!0,forced:!fw("includes")},{includes:function(e){return!!~gw(pw(hw(this)),pw(dw(e)),arguments.length>1?arguments[1]:void 0)}});var vw=Zs("String").includes,mw=se,yw=lw,_w=vw,Gw=Array.prototype,Rw=String.prototype,bw=n((function(e){var t=e.includes;return e===Gw||mw(Gw,e)&&t===Gw.includes?yw:"string"==typeof e||e===Rw||mw(Rw,e)&&t===Rw.includes?_w:t})),Tw=n(te.setInterval);function ww(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),VG(e,r.key,r)}}function Sw(e,t,n){return t&&ww(e.prototype,t),n&&ww(e,n),e}function Mw(e,t,n){return t in e?VG(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ew(e,t){var n=jG(e);if(KG){var r=KG(e);t&&(r=QG(r).call(r,(function(t){return WG(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dw(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{};if(t%2)qG(n=Ew(Object(r),!0)).call(n,(function(t){Mw(e,t,r[t])}));else if(ZG)$G(e,ZG(r));else{var i;qG(i=Ew(Object(r))).call(i,(function(t){VG(e,t,WG(r,t))}))}}return e}void 0===YG||(JG||(YG.iterator=YG("Symbol.iterator"))),void 0===YG||(eR||(YG.asyncIterator=YG("Symbol.asyncIterator")));var zw="xgplayer_device_id",kw="xgplayer_user_id",Aw=function(e){if(!document.cookie)return null;for(var t=document.cookie.split(";"),n=0,r=t.length;n<r;n++){var i,o=t[n];if(hR(i=t[n]).call(i,e)>=0)return o.split("=")[1]||null}},Fw=function(e){return String(Math.floor(Math.random()*Math.pow(10,e)))},Pw=function(){var e=Aw(zw);if(e)return e;var t=Fw(11);return document.cookie=zw+"="+t+";max-age=31536000;path=/",t},Iw=function(){var e=Aw(kw);if(e)return e;var t=Fw(12);return document.cookie=kw+"="+t+";max-age=31536000;path=/",t};var xw={get device(){return xw.os.isPc?"pc":"mobile"},get browser(){var e=function(){var e=navigator.userAgent.toLowerCase(),t={},n={IE:window.ActiveXObject||"ActiveXObject"in window,Chrome:hR(e).call(e,"chrome")>-1&&hR(e).call(e,"safari")>-1,Firefox:hR(e).call(e,"firefox")>-1,Opera:hR(e).call(e,"opera")>-1,Safari:hR(e).call(e,"safari")>-1&&-1==hR(e).call(e,"chrome"),Edge:hR(e).call(e,"edge")>-1,QQBrowser:/qqbrowser/.test(e),WeixinBrowser:/MicroMessenger/i.test(e)};for(var r in n)if(n[r]){var i="";if("IE"===r)i=e.match(/(msie\s|trident.*rv:)([\w.]+)/)[2];else if("Chrome"===r){for(var o in navigator.mimeTypes)"application/360softmgrplugin"===navigator.mimeTypes[o].type&&(r="360");var a=e.match(/chrome\/([\d.]+)/);i=a?a[1]:"-1"}else if("Firefox"===r){var s=e.match(/firefox\/([\d.]+)/);i=s?s[1]:"-1"}else if("Opera"===r){var c=e.match(/opera\/([\d.]+)/);i=c?c[1]:"-1"}else if("Safari"===r){var l=e.match(/version\/([\d.]+)/);i=l?l[1]:"-1"}else if("Edge"===r){var u=e.match(/edge\/([\d.]+)/);i=u?u[1]:"-1"}else if("QQBrowser"===r){var d=e.match(/qqbrowser\/([\d.]+)/);i=d?d[1]:"-1"}t.type=r,t.versions=Y_(i)}return t}();return e.type+"_"+e.versions},get os(){var e=navigator.userAgent;navigator.platform.toLowerCase();var t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!o;return{isTablet:o,isPhone:a,isAndroid:r,isPc:!(a||r||n||o),isSymbian:n,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)/}],n=0;n<t.length;n++){var r=t[n];if(r.r.test(e))return r.s}return"unknown"}};function Xw(){return vR()}function Hw(e){var t="unknown";return"string"!=typeof e?t:hR(e).call(e,".flv")>-1?"flv":hR(e).call(e,".m3u8")>-1?"m3u8":hR(e).call(e,".mp4")>-1?"mp4":hR(e).call(e,".sdp")>-1?"rts":t}function Cw(e){return"undefined"!=typeof MediaSource?+MediaSource.isTypeSupported("video/mp4; codecs="+e):0}function Ow(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 Lw={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},Uw=function(){function e(e){var t,n=e.Tea;if(!n)throw new Error("lack Tea option");n.event?this.Tea=z_(t=n.event).call(t,n):this.Tea=n;this.logOptions=e,this._player=e.player}Sw(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),this.core&&this.core.loader&&this.core.loader.finnalUrl?e.cdn_play_url=this.core.loader.finnalUrl:e.cdn_play_url=t&&hT(t).call(t,"//")?window.location.protocol+t:t,e.live_stream_session_id=function(e,t,n){var r=new Nb(e.split("?")[1]);return r.get(t)||r.get(n)}(e.cdn_play_url,"_session_id","session_id"),e.play_format=Hw(e.cdn_play_url),e.timestamp=Xw();var n=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(p_e){}return e}(),r=n.cpu_core_number,i=n.memory_usage,o=n.network_downlink;e.cpu_core_number=r,e.memory_usage=i,e.network_downlink=o,e.muted=+this._player.muted,zT(e,Dw({},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,Dw({},e)))},e}(),Bw=function(){return void 0!==navigator.onLine?navigator.onLine?(e=navigator.connection)&&(e.effectiveType||e.type)||xw.device:"none":"unknown";var e},Nw=["play","playing","pause","ended","seeking","seeked","timeupdate","waiting","canplay","canplaythrough","durationchange","ratechange","volumechange","loadeddata"],Vw=function(){function e(e){var t;this.options=e,this.logger=new jw(e),this.restart=z_(t=this.restart).call(t,this),this.bindUrlChange()}var t=e.prototype;return t.restart=function(e){this.destroy("string"!=typeof e&&Boolean(e)),this.logger=new jw(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=zT(this.options.ext||{},e),this.logger&&this.logger.updateExt(e)},t.sendLog=function(e){this.logger.sendLog(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}(),jw=function(){function e(e){if(!e.player)throw new Error("option player is necessary");this.options=zT({},e,function(e){return{device_id:e.device_id||Pw(),user_id:e.user_id||Iw(),error_report_stop:"boolean"!=typeof e.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?vR()-this.options.ntp:0,this.inWaitingStart=0,this.errorNumber=0,this.tempDroppedFrameCount=0,this.tempTotalFrameCount=0,this._logmanager=new Uw(this.options),this.init(),this.started=!1,this.destroyed=!1,this.completed=!1,this.firstFrameViewed=!1,this.cacheRtcStats={},this.cachePlaying={}}Sw(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 vR()-this.ntpDelta}}]);var t=e.prototype;return t.setNTP=function(e){this.options&&(this.options.ntp=e,this.ntpDelta=vR()-this.options.ntp)},t.init=function(){this.bindCtx(),this.initLog(),this.initEvt()},t.bindCtx=function(){var e,t,n,r,i,o,a,s,c,l,u,d,h,p,f,g;this.handlePlayerComlete=z_(e=this.handlePlayerComlete).call(e,this),this.handlePlayerPlaying=z_(t=this.handlePlayerPlaying).call(t,this),this.destroyFunc=z_(n=this.destroyFunc).call(n,this),this.handleUserLeave=z_(r=this.handleUserLeave).call(r,this),this.handlePlayerError=z_(i=this.handlePlayerError).call(i,this),this.handlePlayerReady=z_(o=this.handlePlayerReady).call(o,this),this.handlePlayerWaiting=z_(a=this.handlePlayerWaiting).call(a,this),this.handleAVUnsync=z_(s=this.handleAVUnsync).call(s,this),this.handlePlayerPause=z_(c=this.handlePlayerPause).call(c,this),this.handleTTFB=z_(l=this.handleTTFB).call(l,this),this.handleUrlChange=z_(u=this.handleUrlChange).call(u,this),this.handleKeyframe=z_(d=this.handleKeyframe).call(d,this),this.handleSourceOpen=z_(h=this.handleSourceOpen).call(h,this),this.handleBufferAppend=z_(p=this.handleBufferAppend).call(p,this),this.handleCoreEvent=z_(f=this.handleCoreEvent).call(f,this),this.handleDegrade=z_(g=this.handleDegrade).call(g,this)},t.initLog=function(){var e=this,t=this.options,n=t.player,r=void 0!==n.hlsOps;this.commonParams=Dw({os:xw.operation_os},function(e){var t,n=e.player,r=n.config.mediaType;return Dw({project_key:e.project_key,live_sdk_version:Ow(n)||n.hlsOps?"2":"-1",player_sdk_version:n.version,logger_version:"1.1.0-alpha.18",product_line:e.product_line,user_id:e.user_id,device_id:e.device_id,logger_id:Fw(12),app_name:e.app_name,cdn_ip:e.cdn_ip,is_wasm:+(!!r&&"video"!==r),review_is_live:n.config.isLive?2:1,isSupportedH265:Cw("hev1.1.6.L93.B0,mp4a.40.2"),aid:e.aid,live_id:e.live_id||e.aid+"-"+e.user_id+"-"+vR(),is_preview:e.is_preview?1:0,codec_type:e.codec_type||"h264",width:Math.floor(n.config.width),height:Math.floor(n.config.height),browser:xw.browser,ua:navigator.userAgent,href:window.location.href,timestamp:0,fps:-1,logger_init_time:vR(),play_current_time:0,cdn_play_url:n.config.url&&hT(t=n.config.url).call(t,"//")?window.location.protocol+n.config.url:n.config.url,play_format:Hw(n.config.url),codec_support:-1},e.ext)}(t)),this.log=zT({},{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:-1,drop_percent:-1,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"},rtc_network:{event_key:"rtc_network"}});var i=this;for(var o in this.log){var a=function(t){VG(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);r&&VG(this.log[o],"m3u8",{get:function(){if(n.__core__){var e=n.__core__.m3u8Text;return e?mG(e).call(e,0,25e4):""}return""},enumerable:!0}),VG(this.log[o],"volume",{get:function(){if(n&&n.video)return n.volume||0},enumerable:!0}),VG(this.log[o],"access",{get:function(){return Bw()},enumerable:!0})}},t.sendLog=function(e){for(var t in this.commonParams)void 0===e[t]&&(e[t]=this["_"+t]||this.commonParams[t]);this.logmanager.push(e)},t.updateExt=function(e){for(var t in this.log)for(var n in e)this.log[t][n]=e[n]},t.reportStartPlay=function(){this.started||(this.core=Ow(this.player),this.core&&(this.commonParams.live_sdk_version="2",this.logmanager.core=this.core),this.started=!0,this.log.start_play.start_play_time=this.log.start_play.timestamp=Xw(),this.logmanager.push(this.log.start_play,!0))},t.initWindowListener=function(){"pc"===xw.device?window.addEventListener("beforeunload",this.handleUserLeave):"mobile"===xw.device&&(window.addEventListener("beforeunload",this.handleUserLeave),window.addEventListener("pagehide",this.handleUserLeave))},t.removeWindowListener=function(){"pc"===xw.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===xw.device&&(window.removeEventListener("beforeunload",this.handleUserLeave),window.removeEventListener("pagehide",this.handleUserLeave))},t.initEvt=function(){var e=this,t=this.player;qG(Nw).call(Nw,(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,n=e.headers,r=e.pts,i=e.type,o=e.meta,a=e.sei,s=e.decodeFps,c=e.url,l=e.state;switch(t){case"core.ttfb":this.handleTTFB(e);break;case"core.loadresponseheaders":var u=n.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(r);break;case"core.metadataparsed":this.handleMetaDataLoaded(i,o);break;case"core.sei":this.handleSEIParsed(a);break;case"core.lowdecode":this.commonParams.is_wasm&&(zT(this.log.play_low_decode,e||{}),this.log.play_low_decode.decode_fps=s,this.log.play_low_decode.timestamp=Xw(),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(zT({url:c,state:l},this.log.rtcstatechange));break;case"core.rtcnetwork":this.logmanager.push(zT(e,this.log.rtc_network))}},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 n=this.player;n.start=function(){try{if(n._start)return n._start.apply(n,mG(Array.prototype).call(e,0))}catch(ZO){}t.destroyed||t.handlePlayerComlete()}},t.handleTTFB=function(e){var t=e||{},n=t.end,r=t.elapsed,i=t.responseUrl,o=t.url;this.log.first_frame.ttfb=r||-1,this.log.first_frame.ttfb_end=n||0,this.log.first_frame.is_redirect=+(o!==i),this.log.play_result.is_redirect=this.log.first_frame.is_redirect},t.handleUrlChange=function(e){this.logmanager.push(zT(this.log.play_url_change,{url:e,timestamp:Xw()}))},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=Xw(),this.logmanager.push(this.log.source_opened)},t.handleBufferAppend=function(){this.log.source_updateend.timestamp=Xw(),this.logmanager.push(this.log.source_updateend)},t.handlePlayerPause=function(){this.log.pause.timestamp=Xw(),this.logmanager.push(this.log.pause,!0),this.stallEnd()},t.handlePlayerError=function(e){this.errorNumber=1;var t=e.errorType,n=e.errorCode;zT(this.log.play_error,Dw({timestamp:Xw(),code:e.httpCode||n||("parse"===t?31:21),info:e.message,detail:PT(e)},this.videoSize)),this.logmanager.push(this.log.play_error,!0),this.destroyed||(0===this.log.first_frame.first_frame_view&&(zT(this.log.first_frame_failed,{code:n||("parse"===t?31:21),msg:e.message}),void 0!==this.log.first_frame_failed.timestamp&&(this.log.first_frame_failed.timestamp=Xw()),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))),this.options.error_report_stop?this.destroy(!0):this.updatePlayStopParams())},t.handlePlayerLoadStream=function(e){var t=e.url,n=e.offersdp,r=e.sessionId;if("string"==typeof t){var i=this.log.play_loadstream;i.timestamp=Xw(),i.loadstream_url=t,i.offersdp=n,i.sessionId=r,this.logmanager.push(i)}},t.handlePlayerLoadedStream=function(e){var t=this.log.play_stream_loaded;t.timestamp=Xw(),zT(t,e),this.logmanager.push(t)},t.handleSEIParsed=function(e){try{var t=this,n=t.log,r=n.playing,i=n.first_frame,o=function(){if(100===e.code){var n=function(e){var t,n,r,i,o,a;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>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[n++],t+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=e[n++],a=e[n++],t+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&a)<<0)}return t}(e.content);n=mG(n).call(n,hR(n).call(n,"{"),WT(n).call(n,"}")+1);var o=function(e,t){try{var n=e()}catch(ZO){return t(ZO)}return n&&n.then?n.then(void 0,t):n}((function(){var e=JSON.parse(n);return qT.resolve(t.getPlayerBuffer()).then((function(n){var o=n+t.ntpTime-e.ts;r.sei_delay=o,r.sei_source=e.source,r.ntp_sync=t.options.ntp?1:0,r.ntp_delta=t.ntp_delta,i.first_sei_delay=o,i.ntp_sync=t.options.ntp?1:0,i.ntp_delta=t.ntp_delta}))}),(function(){}));if(o&&o.then)return o.then((function(){}))}}();return qT.resolve(o&&o.then?o.then((function(){})):void 0)}catch(ZO){return qT.reject(ZO)}},t.handleMetaDataLoaded=function(e,t){this.log.play_stop.meta=this.log.play_stop.meta||{},e&&(this.log.play_stop.meta[e]=t),this.log.play_metadata_loaded.timestamp=Xw(),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=Cw(t.codec))),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){zT(this.log.play_av_unsync,e||{}),this.log.play_av_unsync.timestamp=Xw(),this.logmanager.push(this.log.play_av_unsync)},t.handleStreamException=function(e){this.logmanager.push(zT({},this.log.stream_exception,e))},t.handlePlayerComlete=function(){this.completed||(this.completed=!0,this.core=Ow(this.player),this.core&&(this.commonParams.live_sdk_version="2",this.logmanager.core=this.core),(this.player.config.autoplay||this.player.config.videoInit)&&this.reportStartPlay())},t.getPlayerBuffer=function(){try{var e=this;return qT.resolve(e.getRtcStats({onlyJb:!0})).then((function(t){if(void 0!==t.video_jb_delay)return t.video_jb_delay;var n=e.player.video.buffered;if(n){var r=Math.max(0,n.length-1);try{var i=fT(1e3*(n.end(r)-e.player.video.currentTime));return e.log.playing.audio_buffer_time=e.log.playing.video_buffer_time=i,i}catch(ZO){return 0}}}))}catch(ZO){return qT.reject(ZO)}},t.getTransferCost=function(e){var t;if(!(null===(t=this.core)||void 0===t?void 0:t.transferCost))return{};if(e)return this.core.transferCost;var n=this.core.transferCost,r=n.demuxCost,i=n.remuxCost,o=n.appendCost,a={demuxCost:r-this.cachePlaying.demuxCost,remuxCost:i-this.cachePlaying.remuxCost,appendCost:o-this.cachePlaying.appendCost};return zT(this.cachePlaying,this.core.transferCost),a},t.getPlayerDownloadSpeed=function(){return this.core&&this.core.core&&"function"==typeof this.core.core.speedInfo&&this.core.core.speedInfo().speed||{}},t.getPlayerQuality=function(){var e=this.player.video;if(e)if(e.getVideoPlaybackQuality){var t=e.getVideoPlaybackQuality();this.log.playing.drop_count=t.droppedVideoFrames-this.tempDroppedFrameCount,this.log.playing.drop_percent=sw((t.droppedVideoFrames-this.tempDroppedFrameCount)/(t.totalVideoFrames-this.tempTotalFrameCount)).toFixed(1),this.log.play_stop.drop_percent=sw(t.droppedVideoFrames/t.totalVideoFrames).toFixed(1),this.tempDroppedFrameCount=t.droppedVideoFrames,this.tempTotalFrameCount=t.totalVideoFrames}else if(null!=e.webkitDroppedFrameCount){var n=e.webkitDroppedFrameCount;this.log.playing.drop_count=n-this.tempDroppedFrameCount,this.tempDroppedFrameCount=n}},t.getRtcStats=function(e){var t=e.duration,n=void 0===t?1e3:t,r=e.onlyJb,i=void 0!==r&&r;try{var o=this,a=o.player.plugins.rts||o.player.plugins.rtm,s=a&&a.pc,c={};return s?qT.resolve(s.getStats()).then((function(e){return qG(e).call(e,(function(e){var t=e.type,r=e.mediaType,a=e.bytesReceived,s=e.packetsReceived,l=e.audioLevel,u=e.concealmentEvents,d=e.remoteTimestamp,h=e.timestamp,p=e.framesDropped,f=e.keyFramesDecoded,g=e.totalDecodeTime,v=e.framesDecoded,m=e.frameHeight,y=e.frameWidth,_=e.framesReceived,G=e.jitterBufferDelay,R=e.jitterBufferEmittedCount,b=e.jitter,T=e.nackCount,w=e.packetsLost,S=e.pliCount,M=e.totalSamplesReceived,E=e.concealedSamples,D=e.currentRoundTripTime,z=e.decoderImplementation,k=e.mimeType,A=e.freezeCount,F=e.totalFreezesDuration,P=e.totalPausesDuration;switch(t){case"inbound-rtp":if("audio"===r)c.audio_bytes_received=a-(o.cacheRtcStats.audioBytesReceived||0),o.cacheRtcStats.audioBytesReceived=a,c.audio_packets_lost=w-(o.cacheRtcStats.audioPacketsLost||0),c.audio_packets_received=s-(o.cacheRtcStats.audioPacketsReceived||0),o.cacheRtcStats.audioPacketsLost=w,o.cacheRtcStats.audioPacketsReceived=s,c.audio_level=l,c.concealment_event=u,c.audio_fraction_lost=c.audio_packets_lost/c.audio_packets_received,void 0!==o.cacheRtcStats.totalSamplesReceived&&(c.audio_rec_sample_rate=(M-o.cacheRtcStats.totalSamplesReceived)/n),o.cacheRtcStats.totalSamplesReceived=M,c.concealed_samples=E,c.total_samples_received=M;else{if(c.video_jb_delay=G/R*1e3,i)return c;c.frames_dropped=p,c.iframes_decoded=f,c.video_bytes_received=a-(o.cacheRtcStats.videoBytesReceived||0),o.cacheRtcStats.videoBytesReceived=a,c.video_dec_time=g,c.video_decoded_delay_ms=c.video_dec_elapse/v,c.video_frame_height=m,c.video_frame_width=y,void 0!==o.cacheRtcStats.framesDecoded&&(c.video_decode_framerate=(v-o.cacheRtcStats.framesDecoded)/n),o.cacheRtcStats.framesDecoded=v,void 0!==o.cacheRtcStats.framesReceived&&(c.video_recv_framerate=(_-o.cacheRtcStats.framesReceived)/n),void 0!==o.cacheRtcStats.freezeCount&&(c.freeze_count=A-o.cacheRtcStats.freezeCount,c.freeze_duration=F-o.cacheRtcStats.totalFreezesDuration),o.cacheRtcStats.freezeCount=A,o.cacheRtcStats.totalFreezesDuration=F,o.cacheRtcStats.framesReceived=_,c.total_pauses_duration=P,c.video_jitter=1e3*b,c.video_nack_count=T,c.video_packets_lost=w-(o.cacheRtcStats.videoPacketsLost||0),c.video_packets_received=s-(o.cacheRtcStats.videoPacketsReceived||0),c.video_fraction_lost=c.video_packets_lost/c.video_packets_received,o.cacheRtcStats.videoPacketsLost=w,o.cacheRtcStats.videoPacketsReceived=s,c.video_pli_count=S,c.decoder_name=z}break;case"remote-outbound-rtp":c.e2e_delay_ms=h-d;break;case"track":void 0!==y&&(c.video_frame_width=y,c.video_frame_height=m);break;case"candidate-pair":c.rtt=1e3*D;break;case"codec":bw(k).call(k,"video")?c.video_codec=k:c.audio_codec=r}})),zT(o.log.playing,{video_download_size:c.video_bytes_received,decode_fps:c.video_decode_framerate,width:c.video_frame_width,height:c.video_frame_height,current_speed:(c.audio_bytes_received+c.video_bytes_received)/n}),c})):qT.resolve(c)}catch(ZO){return qT.reject(ZO)}},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 n,r=t.log.playing.timestamp;t.inWaitingStart&&t.inWaitingStart<Xw()&&(n=Math.min(t.options.playingInterval||t.log.playing.play_time,Xw()-Math.max(t.inWaitingStart,r))),t.getPlayerQuality(),t.getPlayerBuffer();var i=t.getTransferCost(!1);if(!t.options.downloadSpeedInterval){var o=t.getPlayerDownloadSpeed(),a=o.speed,s=o.avgSpeed;t.log.playing.current_speed=a,t.log.playing.avg_speed=s}var c=Xw(),l=c-r,u=(n>200?n:0)+t.log.playing.stall_time,d=(n>200?1:0)+t.log.playing.stall_count;return t.options.aggregationDowngradeStallTime&&(t.log.playing.aggregation_downgrade_stall=(n>t.options.aggregationDowngradeStallTime?n:0)+(t.log.playing.aggregation_downgrade_stall||0)),zT(t.log.playing,Dw(Dw({timestamp:c,stop_time:c,duration:e?0:l/1e3,stall_time_per_100sec:u/l*100,stall_count_per_100sec:1e3*d/l*100,stall_count:d,stall_time:u,play_current_time:t.player.currentTime},i),t.videoSize)),qT.resolve(t.getRtcStats({duration:l,first:e,onlyJb:!1})).then((function(n){var r={};if(t.core){if(t.core.getStats){var i=t.core.getStats()||{},o=i.bitrate,a=i.avgSpeed;zT(r,{bitrate:o,avg_speed:a,rate:a/o})}if(t.core.getNetWorkInfo){var s,c=(t.core.getNetWorkInfo()||{}).lostRate,u=((null===(s=t.core.core)||void 0===s?void 0:s._opts)||{}).networkEvaluateInterval;zT(r,{lostRate:c,networkEvaluateInterval:u})}}t.logmanager.push(zT({},t.log.playing,Dw(Dw({play_time:e?0:l},n),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(ZO){return qT.reject(ZO)}},t.handlePlayerPlaying=function(){try{var e=this;if(e.player&&e.player.video.readyState<3)return qT.resolve();if(e.player.off("playing",e.handlePlayerPlaying),e.player.off("timeupdate",e.handlePlayerPlaying),!e.player.video)return e.destroyFunc(),qT.resolve();if(e.player.paused)return e.handleVideopause(),qT.resolve();if(e.core&&e.core.getStats){var t=(e.core.getStats()||{}).fps;e.commonParams.fps=t}return qT.resolve(e.reportPlaying(!0)).then((function(){e.clearPlayingInterval();var t=e.options.playingInterval||e.log.playing.play_time;e.intervalId=Tw((function(){try{var n=function(){if(Math.abs(vR()-e.log.playing.timestamp-t)<100||vR()-e.log.playing.timestamp>=t){var n=function(){if(e.player&&e.player.video){var t=function(){if(!e.player.paused)return qT.resolve(e.reportPlaying()).then((function(){}));e.handleVideopause()}();if(t&&t.then)return t.then((function(){}))}else e.destroyFunc()}();if(n&&n.then)return n.then((function(){}))}}();return qT.resolve(n&&n.then?n.then((function(){})):void 0)}catch(ZO){return qT.reject(ZO)}}),1e3),e.clearStallTimer(),e.handleVideoplaying(),e.started||e.reportStartPlay(),e.saveBuffered()}))}catch(ZO){return qT.reject(ZO)}},t.handlePlayerReady=function(){var e=this;this.log.start_play.start_play_time=Xw(),this.player.config.autoplay&&this.reportStartPlay(),this.options.playResultThreshold&&(this.log.play_result.threshold=this.options.playResultThreshold),this.clearPlayResultTimer(),this.log.play_result.start=Xw(),this.playResultTimer=vG((function(){e.log.play_result.timestamp>=e.log.play_result.start||e.player&&!e.player.paused&&e.player.video&&(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;if(!this.inWaitingStart&&this.log.first_frame.timestamp){this.log.stall.timestamp=this.inWaitingStart=this.log.stall.stall_start=Xw(),this.log.stall_start.ready_state=this.log.stall.ready_state=this.player.video.readyState,this.log.stall_start.timestamp=Xw(),this.log.stall_start.stall_start_time=Xw(),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;var t=this.getPlayerDownloadSpeed(),n=t.speed,r=t.avgSpeed;this.log.stall.current_speed=n,this.log.stall.avg_speed=r,zT(this.log.stall_start,this.videoSize),this.clearStallTimer(),this.stallStartTimer=vG((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=Xw();this.reportStartPlay(),this.log.first_frame.start=e},t.stallEnd=function(){this.clearStallTimer();var e=Xw();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=Xw(),this.log.playing.stall_count++,zT(this.log.stall,Dw({},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(),zT(this.log.playing,{is_last:1}),this.reportPlaying()},t.handleVideoerror=function(){var e=this;this.errorNumber=1;var t=this.player.video.error;zT(this.log.play_error,Dw(Dw({timestamp:Xw()},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=Lw[t.code],void 0!==e.log.first_frame_failed.timestamp&&(e.log.first_frame_failed.timestamp=Xw()),e.logmanager.push(e.log.first_frame_failed,!0),e.log.play_result.is_threshold||(e.log.play_result.reason=Lw[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"===xw.device?window.removeEventListener("beforeunload",this.handleUserLeave):"mobile"===xw.device&&window.removeEventListener("pagehide",this.handleUserLeave),qG(Nw).call(Nw,(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(){try{var e=this;return e.destroyed||!e.started?qT.resolve():(e.destroyed=!0,qT.resolve(e.updatePlayStopParams()).then((function(){e.reportPlayStop(),e.clearPlayingInterval(),e.clearStallTimer(),clearTimeout(e.collectDownloadSpeedTimer),e.removeWindowListener()})))}catch(ZO){return qT.reject(ZO)}},t.saveBuffered=function(){try{var e=this.getBuffered();e&&e.length&&(this.log.play_stop.buffered=e)}catch(p_e){}},t.getBuffered=function(){try{for(var e=[],t=this.player.video,n=0;n<t.buffered.length;n++)e.push([t.buffered.start(n),t.buffered.end(n)]);return e}catch(p_e){}},t.reportPlayStop=function(){this.player&&(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)},t.reportFirstframe=function(){if(!this.firstFrameViewed){if(this.core&&this.core.getStats){var e=(this.core.getStats()||{}).fps;this.commonParams.fps=e}var t=this.getTransferCost(!0);this.firstFrameViewed=!0;var n=Xw();zT(this.log.first_frame,Dw(Dw({first_frame_view:n-this.log.start_play.start_play_time||n,timestamp:n},t),this.videoSize)),this.log.first_frame.ttfb_end&&(this.log.first_frame.ttdb=n-this.log.first_frame.ttfb_end),this.logmanager.push(this.log.first_frame),this.clearPlayResultTimer(),this.log.play_result.result=1,this.logmanager.push(this.log.play_result),this.log.play_stop.is_stream_received=1}},t.updatePlayStopParams=function(){try{var e,t=function(){zT(o,Dw({timestamp:i,stop_time:i,duration:n.playedTime/1e3,play_time:n.playedTime/1e3},n.videoSize)),0===n.errorNumber&&(o.play_time_on_no_frame=o.stop_time-n.log.start_play.start_play_time)},n=this,r=function(e){var t,n=QG(t=performance.getEntriesByType("resource")).call(t,(function(t){return t.name===e}));if(n.length){var r=n[0],i=n[n.length-1];return{dns_parse_time:fT(r.domainLookupEnd-r.domainLookupStart),redirect:fT(r.redirectEnd-r.redirectStart),ttfb:fT(i.responseStart-i.requestStart)}}return{dns_parse_time:-1,redirect:-1,ttfb:-1}}(n._url),i=Xw();n.playedTime=i-n.log.start_play.start_play_time;var o=n.log.play_stop;if(zT(o,Dw({},0===o.stall_count&&{stall_time:0})),n.inWaitingStart&&i-n.inWaitingStart>200&&(o.stall_time+=i-n.inWaitingStart),n.inWaitingStart=0,zT(o,Dw({stall_time_per_100sec:o.stall_time/n.playedTime*100,stall_count_per_100sec:1e3*o.stall_count/n.playedTime*100},r)),0===n.log.play_stop.stall_count_per_100sec&&(n.log.play_stop.stall_time_per_100sec=0),n.log.play_stop.stall_time_per_100sec>100||n.log.play_stop.stall_time_per_100sec<0)return qT.resolve();if(n.log.playing.index?(zT(n.log.playing,{is_last:1}),n.reportPlaying()):(n.log.play_stop.error_code=n.log.play_error.code,n.log.play_stop.error_info=n.log.play_error.info),i=Xw(),null===(e=n.core)||void 0===e?void 0:e.getStats){var a=n.core.getStats()||{},s=a.totalReceivedByte,c=a.totalReceivedCost;zT(n.log.play_stop,{totalReceivedByte:s,totalReceivedCost:c,totalAverageSpeed:8*s/(c/1e3)})}var l=function(){var e;if(null===(e=n.core)||void 0===e?void 0:e.getStatsSnapshoot)return qT.resolve(n.core.getStatsSnapshoot()).then((function(e){var t=e.video||{},n=t.packetsLost,r=t.packetsReceived;zT(o,{packetsLost:n,packetsReceived:r,totalLostRate:n/(n+r)})}))}();return qT.resolve(l&&l.then?l.then(t):t())}catch(ZO){return qT.reject(ZO)}},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}(),Kw=function(e){zy(n,e);var t=Ky(n);function n(){var e,r;Zm(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Yd(Jm(r=t.call.apply(t,b_(e=[this]).call(e,o))),"_liveLogger",void 0),r}return Ym(n,[{key:"afterCreate",value:function(){this.player.config.teaTracker&&this.open()}},{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(){var e;this._liveLogger||(this._start(),this.config.showUserIdInErrorPanel&&this.player.plugins.error&&(this.player.plugins.error.config.extraTips=[{label:"userId",value:null===(e=this.player.config.teaTracker)||void 0===e||null===(e=e.tea)||void 0===e?void 0:e.getConfig("user_unique_id")}]))}},{key:"_start",value:function(){var e,t,n;this._liveLogger=new Vw({Tea:null===(e=this.player.config)||void 0===e||null===(e=e.teaTracker)||void 0===e?void 0:e.tea,player:this.player,aid:this.config.appId||654925,project_key:this.config.appId,app_name:this.config.appName||this.config.appId,user_id:null===(t=this.player.config)||void 0===t||null===(t=t.teaTracker)||void 0===t?void 0:t.userId,device_id:null===(n=this.player.config)||void 0===n||null===(n=n.teaTracker)||void 0===n?void 0:n.deviceId,error_report_stop:!0,ext:{veplayer_version:"2.3.1-rc.1",flv_version:"3.0.21-rc.21",hls_version:"3.0.21-rc.21",rts_version:"0.2.1-alpha.42"}})}}],[{key:"pluginName",get:function(){return"logger"}},{key:"defaultConfig",get:function(){return{appId:654925,enable:!0,showUserIdInErrorPanel:!0}}}]),n}(window.VePlayer.Plugin);function Qw(e,t){return"number"!=typeof e?"-":t?t(e):e.toString()}var Ww,qw=window.VePlayer.util,Zw=window.VePlayer.Plugin,$w=window.VePlayer.XGUtil,Yw=function(e){zy(n,e);var t=Ky(n);function n(){var e,r;Zm(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Yd(Jm(r=t.call.apply(t,b_(e=[this]).call(e,o))),"_pollTimer",void 0),Yd(Jm(r),"_visible",void 0),Yd(Jm(r),"_playPlugin",void 0),r}return Ym(n,[{key:"_streamType",get:function(){return qw.getStreamType(this.player.config.url)}},{key:"afterCreate",value:function(){var e=this;this._playPlugin=this.player.plugins[this._streamType],this.player.on(HG.ERROR,(function(){return e.close()})),this.config.visible&&this.player.once(HG.LOADED_DATA,(function(){return e.open()}))}},{key:"open",value:function(){var e;this._visible||(bw(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(HG.LOADED_DATA,(function(){return e.open()})),this.player.off(HG.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=vG((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,n,r,i,o=this._getStats()||{},a="".concat(this._streamType,"_live"),s=this._playPlugin.softDecode,c=[(e=eh(eh({},o),{},{format:a}),{rows:[{key:"format",labelTextKey:"FORMAT",value:null!==(t=null==e?void 0:e.format)&&void 0!==t?t:"-"},{key:"fps",labelTextKey:"FPS",value:Qw(e.fps,(function(e){return"".concat(e," fps")}))},{key:"bitrate",labelTextKey:"BITRATE",value:Qw(e.bitrate,(function(e){return"".concat((e/1e3).toFixed(2)," kbps")}))},{key:"gop",labelTextKey:"GOP",value:Qw(e.gop,(function(e){return"".concat(e," frames")}))},{key:"resolution",labelTextKey:"RESOLUTION",value:b_(n="".concat(Qw(e.width)," * ")).call(n,Qw(e.height))},{key:"encodeType",labelTextKey:"ENCODE_TYPE",value:null!==(r=e.encodeType)&&void 0!==r?r:"-"},{key:"bufferEnd",labelTextKey:"BUFFER_END",value:Qw(Number(null===(i=e.bufferEnd)||void 0===i?void 0:i.toFixed(2)))},{key:"currentTime",labelTextKey:"CURRENT_TIME",value:Qw(e.currentTime,(function(e){return e.toFixed(4)+"s"}))}]})];return s&&c.push(function(e){return{titleTextKey:"DECODE_INFO",rows:[{key:"decodeEfficiency",labelTextKey:"DECODE_EFFICIENCY",value:Qw(e.decodeFps,(function(e){return e+" frames/s"}))},{key:"decodeCost",labelTextKey:"DECODE_COST",value:Qw(e.decodeFps,(function(e){return(e?(1e3/e).toFixed():0)+"ms"}))}]}}(o)),c}},{key:"_renderPanel",value:function(){var e=this,t=this._getPanelData(),n=this.root;n&&(n.innerHTML="",qG(t).call(t,(function(t){e._renderGroup(n,t)})))}},{key:"_renderGroup",value:function(e,t){var n=this,r=t.title,i=t.titleTextKey,o=t.rows,a=this.player.config.i18nManager;if(r||i){var s,c=this._genTitleDom(null!==(s=a.getText(i))&&void 0!==s?s:r);e.appendChild(c)}qG(o).call(o,(function(t){var r=n._genRowDom(t);e.appendChild(r)}))}},{key:"_genTitleDom",value:function(e){var t=$w.createDom("xg-live-panel","",void 0,"veplayer-live-panel-row"),n=$w.createDom("xg-live-panel",e,void 0,"veplayer-live-panel-row-title");return t.appendChild(n),t}},{key:"_genRowDom",value:function(e){var t=this.player.config.i18nManager,n=$w.createDom("veplayer-live-panel-row","",void 0,"veplayer-live-panel-row"),r=$w.createDom("xg-live-panel",t.getText(e.labelTextKey),void 0,"veplayer-live-panel-row-label");n.appendChild(r);var i=$w.createDom("xg-live-panel",e.value);return n.appendChild(i),n}}],[{key:"pluginName",get:function(){return"infoPanel"}},{key:"defaultConfig",get:function(){return{visible:!1,interval:500}}}]),n}(Zw),Jw="https://www.volcengine.com/docs/6469/138655#日志上报",eS=eh(eh({},window.VePlayer.EN),{},{INVALID_PARAMETER:"The imported parameter is empty, please pass in necessary parameters such as the stream address",INVALID_LOGGER:"Log options not configured correctly. Please refer to this document ".concat(Jw," to configure the logs."),EMPTY_RTM_FALLBACK_PARAMETER:"Fallback URL for RTM is not configured. Please set enableFallback: false to disable fallback, or configure fallbackUrl for FLV and HLS formats based on the browser environment.",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"}),tS=eh(eh({},window.VePlayer.ZH_CN),{},{INVALID_PARAMETER:"入参为空,请传入流地址等必要参数",INVALID_LOGGER:"未正确配置质量日志参数, 请参考 ".concat(Jw," 配置"),EMPTY_RTM_FALLBACK_PARAMETER:"未配置 RTM 降级地址 fallbackUrl,请设置 enableFallback: false 取消降级或根据浏览器环境配置 FLV、HLS 格式降级地址",FORMAT:"格式",FPS:"帧率",BITRATE:"码率",GOP:"GOP",RESOLUTION:"视频分辨率",ENCODE_TYPE:"编码方式",BUFFER_END:"Buffer 水位",CURRENT_TIME:"播放进度",DECODE_EFFICIENCY:"解码效率",DECODE_COST:"解码消耗",DECODE_INFO:"软解信息",REFRESH:"刷新"}),nS=new Uint8Array(16);function rS(){var e;if(!Ww&&!(Ww="undefined"!=typeof crypto&&crypto.getRandomValues&&z_(e=crypto.getRandomValues).call(e,crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ww(nS)}for(var iS,oS=[],aS=0;aS<256;++aS){var sS;oS.push(mG(sS=(aS+256).toString(16)).call(sS,1))}var cS={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&z_(iS=crypto.randomUUID).call(iS,crypto)};function lS(e,t,n){if(cS.randomUUID&&!t&&!e)return cS.randomUUID();var r=(e=e||{}).random||(e.rng||rS)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return oS[e[t+0]]+oS[e[t+1]]+oS[e[t+2]]+oS[e[t+3]]+"-"+oS[e[t+4]]+oS[e[t+5]]+"-"+oS[e[t+6]]+oS[e[t+7]]+"-"+oS[e[t+8]]+oS[e[t+9]]+"-"+oS[e[t+10]]+oS[e[t+11]]+oS[e[t+12]]+oS[e[t+13]]+oS[e[t+14]]+oS[e[t+15]]}(r)}var uS=n(Qy),dS=window.VePlayer.util,hS="veplayer_live_device_id",pS="veplayer_live_user_id",fS=function(e){return Math.floor((9*Math.random()+1)*Math.pow(10,e-1)).toString()},gS=function(e){var t=dS.getUrlObject(e);return t?null!=t&&t.searchParams.get("_session_id")?e:dS.appendSearchParams(e,{_session_id:vS()}):null!=e?e:""},vS=function(){return lS().replace(/-/g,"")+"."+vR()+"."+function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t}(lS().replace(/-/g,""))},mS=Oo.some;zn({target:"Array",proto:!0,forced:!nu("some")},{some:function(e){return mS(this,e,arguments.length>1?arguments[1]:void 0)}});var yS=Zs("Array").some,_S=se,GS=yS,RS=Array.prototype,bS=n((function(e){var t=e.some;return e===RS||_S(RS,e)&&t===RS.some?GS:t})),TS=Oo.map;zn({target:"Array",proto:!0,forced:!Qs("map")},{map:function(e){return TS(this,e,arguments.length>1?arguments[1]:void 0)}});var wS=Zs("Array").map,SS=se,MS=wS,ES=Array.prototype,DS=n((function(e){var t=e.map;return e===ES||SS(ES,e)&&t===ES.map?MS:t})),zS={"biz:vod":"veplayer.biz.vod.[env].[ext]","biz:live":"veplayer.biz.live.[env].[ext]","plugin:flv":"veplayer.plugin.flv.[env].[ext]","plugin:mp4":"veplayer.plugin.mp4.[env].[ext]","plugin:hls":"veplayer.plugin.hls.[env].[ext]","plugin:hlsjs":"veplayer.plugin.hlsjs.[env].[ext]","plugin:dashjs":"veplayer.plugin.dashjs.[env].[ext]","plugin:shaka":"veplayer.plugin.shaka.[env].[ext]","plugin:rtm":"veplayer.plugin.rtm.[env].[ext]","plugin:xgvideo":"veplayer.plugin.xgvideo.[env].[ext]","plugin:drm":"veplayer.plugin.drm.[env].[ext]","plugin:abr":"veplayer.plugin.abr.[env].[ext]","strategy:base":"veplayer.strategy.base.[env].[ext]","strategy:rtmAdaptiveBuffer":"veplayer.strategy.rtm.adaptive.buffer.[env].[ext]"},kS=function(e){return e.BizVod="biz:vod",e.BizLive="biz:live",e.PluginFlv="plugin:flv",e.PluginMp4="plugin:mp4",e.PluginHls="plugin:hls",e.PluginHlsJs="plugin:hlsjs",e.PluginDashJs="plugin:dashjs",e.PluginShaka="plugin:shaka",e.PluginRtm="plugin:rtm",e.PluginXgvideo="plugin:xgvideo",e.PluginDrm="plugin:drm",e.PluginAbr="plugin:abr",e.StrategyBase="strategy:base",e.StrategyRtmAdaptiveBuffer="strategy:rtmAdaptiveBuffer",e}(kS||{}),AS=function(){function e(t){var n=this;Zm(this,e),Yd(this,"modules",{}),Yd(this,"mountPromiseMap",{}),Yd(this,"_baseUrl",void 0),Yd(this,"_moduleSystem",void 0),Yd(this,"load",function(){var e=qm(Qm().mark((function e(t,r){var i,o,a,s,c;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n._moduleSystem){e.next=2;break}throw new Error('You have to specify moduleSystem first, call "setModuleSystem(moduleSystem)" to set module system');case 2:if(zS[t]){e.next=4;break}throw new Error('Invalid module name: "'.concat(t,'"'));case 4:if("esm"!==n._moduleSystem){e.next=11;break}if(n.modules[t]){e.next=9;break}throw new Error('Dynamic module "'.concat(t,'" not found, you have to register it first under ESM'));case 9:return o=n.modules[t].exports,e.abrupt("return",null!==(i=o.default)&&void 0!==i?i:o);case 11:if(!n.modules[t]){e.next=21;break}if(1!==n.modules[t].state){e.next=16;break}return e.abrupt("return",n.modules[t].exports);case 16:if(0!==n.modules[t].state){e.next=20;break}return e.abrupt("return",n.mountPromiseMap[t].then((function(e){var t;return null!==(t=e.default)&&void 0!==t?t:e})));case 20:throw null!==(a=n.modules[t].error)&&void 0!==a?a:new Error('Dynamic module "'.concat(t,'" load failed.'));case 21:return s=[n._baseUrl,zS[t]].join("/").replace("[env]","production").replace("[ext]","js"),c={src:null!=r?r:s,name:t,state:0,exports:{__PLUGIN_NAME__:t}},n.modules[t]=c,n.mountPromiseMap[t]=n._mount(c),e.abrupt("return",n.mountPromiseMap[t]);case 26:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),Yd(this,"registerPlugin",(function(e,t){if(!n._moduleSystem)throw new Error("You have to specify moduleSystem first, call setModuleSystem(moduleSystem) to set module system");return"esm"===n._moduleSystem?(n.modules[e]={src:"esm:".concat(e),name:e,state:1,exports:t},n.modules[e].exports):(n.modules[e]?n.modules[e].exports=t:n.modules[e]={src:"umd:".concat(e),name:e,state:1,exports:t},n.modules[e].exports)})),Yd(this,"register",(function(e){return DS(e).call(e,(function(e){return n.registerPlugin(e.__PLUGIN_NAME__,e)}))})),this._baseUrl=t.baseUrl}return Ym(e,[{key:"baseUrl",get:function(){return this._baseUrl}},{key:"moduleSystem",get:function(){return this._moduleSystem}},{key:"setModuleSystem",value:function(e){this._moduleSystem=e}},{key:"setBaseUrl",value:function(e){this._baseUrl=e}},{key:"_mount",value:function(e){var t=this.modules;return new qT((function(n,r){var i=document.createElement("script");i.src=e.src,i.onload=function(){e.state=1,n(t[e.name].exports),i.onload=null},i.onerror=function(t){e.state=2,e.error=t,r(t),i.onerror=null},document.body.appendChild(i)}))}}]),e}(),FS=zn,PS=Oo.find,IS="find",xS=!0;IS in[]&&Array(1)[IS]((function(){xS=!1})),FS({target:"Array",proto:!0,forced:xS},{find:function(e){return PS(this,e,arguments.length>1?arguments[1]:void 0)}});var XS=Zs("Array").find,HS=se,CS=XS,OS=Array.prototype,LS=n((function(e){var t=e.find;return e===OS||HS(OS,e)&&t===OS.find?CS:t})),US=Ee,BS=TypeError,NS=function(e,t){if(!delete e[t])throw BS("Cannot delete property "+US(t)+" of "+US(e))},VS=zn,jS=qe,KS=Cn,QS=In,WS=Nn,qS=mc,ZS=_c,$S=Ao,YS=ti,JS=NS,eM=Qs("splice"),tM=Math.max,nM=Math.min;VS({target:"Array",proto:!0,forced:!eM},{splice:function(e,t){var n,r,i,o,a,s,c=jS(this),l=WS(c),u=KS(e,l),d=arguments.length;for(0===d?n=r=0:1===d?(n=0,r=l-u):(n=d-2,r=nM(tM(QS(t),0),l-u)),ZS(l+n-r),i=$S(c,r),o=0;o<r;o++)(a=u+o)in c&&YS(i,o,c[a]);if(i.length=r,n<r){for(o=u;o<l-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:JS(c,s);for(o=l;o>l-r+n;o--)JS(c,o-1)}else if(n>r)for(o=l-r;o>u;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:JS(c,s);for(o=0;o<n;o++)c[o+u]=arguments[o+2];return qS(c,l-r+n),i}});var rM=Zs("Array").splice,iM=se,oM=rM,aM=Array.prototype,sM=n((function(e){var t=e.splice;return e===aM||iM(aM,e)&&t===aM.splice?oM:t})),cM=Zs("Array").keys,lM=yr,uM=Ye,dM=se,hM=cM,pM=Array.prototype,fM={DOMTokenList:!0,NodeList:!0},gM=n((function(e){var t=e.keys;return e===pM||dM(pM,e)&&t===pM.keys||uM(fM,lM(e))?hM:t})),vM=n(nh),mM=n(lh),yM=n(sh),_M=n(Zy),GM=n(p_),RM=n(qd);function bM(e,t){var n=jG(e);if(KG){var r=KG(e);t&&(r=QG(r).call(r,(function(t){return WG(e,t).enumerable}))),n.push.apply(n,r)}return n}function TM(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?qG(n=bM(Object(i),!0)).call(n,(function(t){DM(e,t,i[t])})):ZG?$G(e,ZG(i)):qG(r=bM(Object(i))).call(r,(function(t){VG(e,t,WG(i,t))}))}return e}function wM(e){return(wM="function"==typeof YG&&"symbol"==typeof JG?function(e){return typeof e}:function(e){return e&&"function"==typeof YG&&e.constructor===YG&&e!==YG.prototype?"symbol":typeof e})(e)}function SM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),VG(e,AM(r.key),r)}}function EM(e,t,n){return t&&MM(e.prototype,t),n&&MM(e,n),VG(e,"prototype",{writable:!1}),e}function DM(e,t,n){return(t=AM(t))in e?VG(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zM(e){return function(e){if(uS(e))return kM(e)}(e)||function(e){if(void 0!==YG&&null!=_M(e)||null!=e["@@iterator"])return GM(e)}(e)||function(e,t){var n;if(!e)return;if("string"==typeof e)return kM(e,t);var r=mG(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return GM(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kM(e,t)}(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.")}()}function kM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AM(e){var t=function(e,t){if("object"!==Wd(e)||null===e)return e;var n=e[RM];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Wd(t)?t:String(t)}var FM=In,PM=Rr,IM=W,xM=RangeError,XM=v,HM=Un,CM=Rr,OM=W,LM=XM((function(e){var t=PM(IM(this)),n="",r=FM(e);if(r<0||r==1/0)throw xM("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),UM=XM("".slice),BM=Math.ceil,NM=function(e){return function(t,n,r){var i,o,a=CM(OM(t)),s=HM(n),c=a.length,l=void 0===r?" ":CM(r);return s<=c||""==l?a:((o=LM(l,BM((i=s-c)/l.length))).length>i&&(o=UM(o,0,i)),e?a+o:o+a)}},VM={start:NM(!1),end:NM(!0)},jM=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(ce),KM=VM.start;zn({target:"String",proto:!0,forced:jM},{padStart:function(e){return KM(this,e,arguments.length>1?arguments[1]:void 0)}});var QM=Zs("String").padStart,WM=se,qM=QM,ZM=String.prototype,$M=n((function(e){var t=e.padStart;return"string"==typeof e||e===ZM||WM(ZM,e)&&t===ZM.padStart?qM:t})),YM=Oo.every;zn({target:"Array",proto:!0,forced:!nu("every")},{every:function(e){return YM(this,e,arguments.length>1?arguments[1]:void 0)}});var JM=Zs("Array").every,eE=se,tE=JM,nE=Array.prototype,rE=n((function(e){var t=e.every;return e===nE||eE(nE,e)&&t===nE.every?tE:t}));zn({global:!0,forced:parseFloat!=ow},{parseFloat:ow});var iE=n(te.parseFloat),oE=Cc.PROPER,aE=o,sE=k_,cE=C_.trim;zn({target:"String",proto:!0,forced:function(e){return aE((function(){return!!sE[e]()||"​…᠎"!=="​…᠎"[e]()||oE&&sE[e].name!==e}))}("trim")},{trim:function(){return cE(this)}});var lE=Zs("String").trim,uE=se,dE=lE,hE=String.prototype,pE=n((function(e){var t=e.trim;return"string"==typeof e||e===hE||uE(hE,e)&&t===hE.trim?dE:t})),fE=ce.match(/firefox\/(\d+)/i),gE=!!fE&&+fE[1],vE=/MSIE|Trident/.test(ce),mE=ce.match(/AppleWebKit\/(\d+)\./),yE=!!mE&&+mE[1],_E=zn,GE=v,RE=Ae,bE=qe,TE=Nn,wE=NS,SE=Rr,ME=o,EE=ER,DE=nu,zE=gE,kE=vE,AE=ge,FE=yE,PE=[],IE=GE(PE.sort),xE=GE(PE.push),XE=ME((function(){PE.sort(void 0)})),HE=ME((function(){PE.sort(null)})),CE=DE("sort"),OE=!ME((function(){if(AE)return AE<70;if(!(zE&&zE>3)){if(kE)return!0;if(FE)return FE<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)PE.push({k:t+r,v:n})}for(PE.sort((function(e,t){return t.v-e.v})),r=0;r<PE.length;r++)t=PE[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));_E({target:"Array",proto:!0,forced:XE||!HE||!CE||!OE},{sort:function(e){void 0!==e&&RE(e);var t=bE(this);if(OE)return void 0===e?IE(t):IE(t,e);var n,r,i=[],o=TE(t);for(r=0;r<o;r++)r in t&&xE(i,t[r]);for(EE(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:SE(t)>SE(n)?1:-1}}(e)),n=TE(i),r=0;r<n;)t[r]=i[r++];for(;r<o;)wE(t,r++);return t}});var LE,UE=Zs("Array").sort,BE=se,NE=UE,VE=Array.prototype,jE=n((function(e){var t=e.sort;return e===VE||BE(VE,e)&&t===VE.sort?NE:t})),KE="undefined"!=typeof window&&window.location&&hR(LE=window.location.href).call(LE,"xgplayerdebugger=1")>-1,QE="color: #525252; background-color: #90ee90;",WE="color: #525252; background-color: red;",qE="color: #525252; background-color: yellow; ",ZE="%c[xgplayer]",$E={config:{debug:KE?3:0},logInfo:function(e){for(var t,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];this.config.debug>=3&&(n=console).log.apply(n,b_(t=[ZE,QE,e]).call(t,i))},logWarn:function(e){for(var t,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];this.config.debug>=1&&(n=console).warn.apply(n,b_(t=[ZE,qE,e]).call(t,i))},logError:function(e){var t,n;if(!(this.config.debug<1)){for(var r=this.config.debug>=2?"trace":"error",i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];(n=console)[r].apply(n,b_(t=[ZE,WE,e]).call(t,o))}}},YE=function(){function e(t){SM(this,e),this.bufferedList=t}return EM(e,[{key:"start",value:function(e){return this.bufferedList[e].start}},{key:"end",value:function(e){return this.bufferedList[e].end}},{key:"length",get:function(){return this.bufferedList.length}}]),e}(),JE={};JE.createDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=document.createElement(t);return o.className=i,o.innerHTML=n,qG(e=jG(r)).call(e,(function(e){var n=e,i=r[e];"video"===t||"audio"===t||"live-video"===t?i&&o.setAttribute(n,i):o.setAttribute(n,i)})),o},JE.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var r=document.createElement("div");r.innerHTML=e;var i=r.children;if(r=null,i.length>0){var o;if(i=i[0],n&&JE.addClass(i,n),t)qG(o=jG(t)).call(o,(function(e){i.setAttribute(e,t[e])}));return i}return null}catch(a){return $E.logError("util.createDomFromHtml",a),null}},JE.hasClass=function(e,t){if(!e||!t)return!1;try{return bS(Array.prototype).call(e.classList,(function(e){return e===t}))}catch(ZO){var n=e.className&&"object"===wM(e.className)?e.getAttribute("class"):e.className;return n&&!!n.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}},JE.addClass=function(e,t){if(e&&t)try{var n;qG(n=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(n,(function(t){t&&e.classList.add(t)}))}catch(ZO){JE.hasClass(e,t)||(e.className&&"object"===wM(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},JE.removeClass=function(e,t){if(e&&t)try{var n;qG(n=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(n,(function(t){t&&e.classList.remove(t)}))}catch(ZO){var r;if(JE.hasClass(e,t))qG(r=t.split(/\s+/g)).call(r,(function(t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===wM(e.className)?e.setAttribute("class",e.getAttribute("class").replace(n," ")):e.className=e.className.replace(n," ")}))}},JE.toggleClass=function(e,t){var n;e&&qG(n=t.split(/\s+/g)).call(n,(function(t){JE.hasClass(e,t)?JE.removeClass(e,t):JE.addClass(e,t)}))},JE.classNames=function(){for(var e=arguments,t=[],n=function(n){if("String"===JE.typeOf(e[n]))t.push(e[n]);else if("Object"===JE.typeOf(e[n])){var r;DS(r=jG(e[n])).call(r,(function(r){e[n][r]&&t.push(r)}))}},r=0;r<arguments.length;r++)n(r);return t.join(" ")},JE.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,n=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(n)}catch(ZO){$E.logError("util.findDom",ZO),0===hR(n).call(n,"#")&&(e=t.getElementById(mG(n).call(n,1)))}return e},JE.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},JE.padStart=function(e,t,n){for(var r=String(n),i=t>>0,o=Math.ceil(i/r.length),a=[],s=String(e);o--;)a.push(r);return a.join("").substring(0,i-s.length)+s},JE.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=$M(JE).call(JE,Math.floor(e/3600),2,0),n=$M(JE).call(JE,Math.floor((e-3600*t)/60),2,0),r=$M(JE).call(JE,Math.floor(e-3600*t-60*n),2,0);return("00"===t?[n,r]:[t,n,r]).join(":")},JE.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},JE.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},JE.deepCopy=function(e,t){var n;if("Object"===JE.typeOf(t)&&"Object"===JE.typeOf(e))return qG(n=jG(t)).call(n,(function(n){if("Object"!==JE.typeOf(t[n])||t[n]instanceof Node)if("Array"===JE.typeOf(t[n])){var r;e[n]="Array"===JE.typeOf(e[n])?b_(r=e[n]).call(r,t[n]):t[n]}else e[n]=t[n];else void 0===e[n]||void 0===e[n]?e[n]=t[n]:JE.deepCopy(e[n],t[n])})),e},JE.deepMerge=function(e,t){var n;return DS(n=jG(t)).call(n,(function(n){var r;"Array"===JE.typeOf(t[n])&&"Array"===JE.typeOf(e[n])?"Array"===JE.typeOf(e[n])&&(r=e[n]).push.apply(r,zM(t[n])):JE.typeOf(e[n])!==JE.typeOf(t[n])||null===e[n]||"Object"!==JE.typeOf(e[n])||t[n]instanceof window.Node?null!==t[n]&&(e[n]=t[n]):JE.deepMerge(e[n],t[n])})),e},JE.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var n=document.createElement("a");return n.href=t.replace(/url\("|"\)/g,""),n.href},JE.copyDom=function(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return qG(Array.prototype).call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""},JE.setInterval=function(e,t,n,r){e._interval[t]||(e._interval[t]=Tw(z_(n).call(n,e),r))},JE.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},JE.setTimeout=function(e,t,n){e._timers||(e._timers=[]);var r=vG((function(){t(),JE.clearTimeout(e,r)}),n);return e._timers.push(r),r},JE.clearTimeout=function(e,t){var n=e._timers;if("Array"===JE.typeOf(n)){for(var r=0;r<n.length;r++)if(n[r]===t){sM(n).call(n,r,1),clearTimeout(t);break}}else clearTimeout(t)},JE.clearAllTimers=function(e){var t=e._timers;"Array"===JE.typeOf(t)&&(DS(t).call(t,(function(e){clearTimeout(e)})),e._timerIds=[])},JE.createImgBtn=function(e,t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v=JE.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));(v.style.backgroundImage='url("'.concat(t,'")'),n&&r)&&(rE(i=["px","rem","em","pt","dp","vw","vh","vm","%"]).call(i,(function(e){var t,i;return!(hR(n).call(n,e)>-1&&hR(r).call(r,e)>-1)||(u=iE(pE(t=mG(n).call(n,0,hR(n).call(n,e))).call(t)),d=iE(pE(i=mG(r).call(r,0,hR(r).call(r,e))).call(i)),h=e,!1)})),v.style.width=b_(o="".concat(u)).call(o,h),v.style.height=b_(a="".concat(d)).call(a,h),v.style.backgroundSize=b_(s=b_(c=b_(l="".concat(u)).call(l,h," ")).call(c,d)).call(s,h),v.style.margin="start"===e?b_(p=b_(f=b_(g="-".concat(d/2)).call(g,h," auto auto -")).call(f,u/2)).call(p,h):"auto 5px auto 5px");return v},JE.Hex2RGBA=function(e,t){var n,r=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var i="#";e.replace(/[0-9A-F]/gi,(function(e){i+=e+e})),e=i}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/gi,(function(e){r.push(Y_(e,16))})),b_(n="rgba(".concat(r.join(","),", ")).call(n,t,")")):"rgba(255, 255, 255, 0.1)"},JE.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},JE.checkIsFunction=function(e){return e&&"function"==typeof e},JE.checkIsObject=function(e){return null!==e&&"object"===wM(e)},JE.hide=function(e){e.style.display="none"},JE.show=function(e,t){e.style.display=t||"block"},JE.isUndefined=function(e){if(null==e)return!0},JE.isNotNull=function(e){return!(null==e)},JE.setStyleFromCsstext=function(e,t){if(t)if("String"===JE.typeOf(t)){var n=t.replace(/\s+/g,"").split(";");DS(n).call(n,(function(t){if(t){var n=t.split(":");n.length>1&&(e.style[n[0]]=n[1])}}))}else{var r;DS(r=jG(t)).call(r,(function(n){e.style[n]=t[n]}))}},JE.filterStyleFromText=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],r=e.style.cssText;if(!r)return{};var i=r.replace(/\s+/g,"").split(";"),o={},a={};return DS(i).call(i,(function(e){if(e){var t=e.split(":");t.length>1&&(!function(e,t){for(var n=0,r=t.length;n<r;n++)if(hR(e).call(e,t[n])>-1)return!0;return!1}(t[0],n)?a[t[0]]=t[1]:o[t[0]]=t[1])}})),e.setAttribute("style",""),DS(t=jG(a)).call(t,(function(t){e.style[t]=a[t]})),o},JE.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var n=t.replace(/\s+/g,"").split(";"),r={};return DS(n).call(n,(function(e){if(e){var t=e.split(":");t.length>1&&(r[t[0]]=t[1])}})),r},JE.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(e){var r=new window.Image;r.onload=function(e){r=null,t&&t(e)},r.onerror=function(e){r=null,n&&n(e)},r.src=e}},JE.stopPropagation=function(e){e&&e.stopPropagation()},JE.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},JE.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},JE.checkTouchSupport=function(){return"ontouchstart"in window},JE.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=[],r=0;r<e.length;r++)n.push({start:e.start(r)<.5?0:e.start(r),end:e.end(r)});jE(n).call(n,(function(e,t){var n=e.start-t.start;return n||t.end-e.end}));var i=[];if(t)for(var o=0;o<n.length;o++){var a=i.length;if(a){var s=i[a-1].end;n[o].start-s<t?n[o].end>s&&(i[a-1].end=n[o].end):i.push(n[o])}else i.push(n[o])}else i=n;return new YE(i)},JE.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},JE.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},JE.getHostFromUrl=function(e){if("String"!==JE.typeOf(e))return"";var t=e.split("/"),n="";return t.length>3&&t[2]&&(n=t[2]),n},JE.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},JE.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},JE.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},JE.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(new Date).getTime();try{e=Y_(e)}catch(ZO){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=Y_(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)}))},JE.createEvent=function(e){var t;return"function"==typeof window.Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t},JE.adjustTimeByDuration=function(e,t,n){return t&&e&&(e>t||n&&e<t)?t:e},JE.createPositionBar=function(e,t){var n=JE.createDom("xg-bar","",{"data-index":-1},e);return t.appendChild(n),n},JE.getTransformStyle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r={scale:"".concat(t.scale||1),translate:b_(e="".concat(t.x||0,"%, ")).call(e,t.y||0,"%"),rotate:"".concat(t.rotate||0,"deg")},i=jG(r);return qG(i).call(i,(function(e){var t,i=new RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),o=b_(t="".concat(e,"(")).call(t,r[e],")");i.test(n)?(i.lastIndex=-1,n=n.replace(i,o)):n+="".concat(o," ")})),n},JE.convertDeg=function(e){return Math.abs(e)<=1?360*e:e%360},JE.getIndexByTime=function(e,t){var n=t.length,r=-1;if(n<1)return r;if(e<=t[0].end||n<2)r=0;else if(e>t[n-1].end)r=n-1;else for(var i=1;i<n;i++)if(e>t[i-1].end&&e<=t[i].end){r=i;break}return r},JE.getOffsetCurrentTime=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=-1;if((r=n>=0&&n<t.length?n:JE.getIndexByTime(e,t))<0)return-1;var i=t.length,o=t[r],a=o.start,s=o.end,c=o.cTime,l=o.offset;return e<a?c:e>=a&&e<=s?e-l:e>s&&r>=i-1?s:-1},JE.getCurrentTimeByOffset=function(e,t){var n=-1;if(!t||t.length<0)return e;for(var r=0;r<t.length;r++)if(e<=t[r].duration){n=r;break}if(-1!==n){var i=t[n].start;return n-1<0?i+e:i+(e-t[n-1].duration)}return e};var eD=/(Android)\s([\d.]+)/,tD=/(Version)\/([\d.]+)/,nD=["avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","avc1.42E01E","mp4v.20.8","mp4v.20.8, mp4a.40.2","mp4v.20.240, mp4a.40.2"],rD={get device(){return rD.os.isPc?"pc":"mobile"},get browser(){var e,t;if("undefined"==typeof navigator)return"";var n=navigator.userAgent.toLowerCase(),r={ie:/rv:([\d.]+)\) like gecko/,firefox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\d.]+).*safari/};return b_(e=[]).call(e,QG(t=jG(r)).call(t,(function(e){return r[e].test(n)})))[0]},get os(){if("undefined"==typeof navigator)return{};var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),i=/(?:Firefox)/.test(e),o=/(?:iPad|PlayBook)/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,a=o||r&&!/(?:Mobile)/.test(e)||i&&/(?:Tablet)/.test(e),s=/(?:iPhone)/.test(e)&&!a;return{isTablet:a,isPhone:s,isIpad:o,isIos:s||o,isAndroid:r,isPc:!(s||r||n||a),isSymbian:n,isWindowsPhone:t,isFireFox:i}},get osVersion(){if("undefined"==typeof navigator)return 0;var e=navigator.userAgent,t="",n=(t=/(?:iPhone)|(?:iPad|PlayBook)/.test(e)?tD:eD)?t.exec(e):[];if(n&&n.length>=3){var r=n[2].split(".");return r.length>0?Y_(r[0]):0}return 0},get isWeixin(){if("undefined"==typeof navigator)return!1;return!!/(micromessenger)\/([\d.]+)/.exec(navigator.userAgent.toLocaleLowerCase())},isSupportMP4:function(){var e={isSupport:!1,mime:""};if("undefined"==typeof document)return e;if(this.supportResult)return this.supportResult;var t=document.createElement("video");return"function"==typeof t.canPlayType&&DS(nD).call(nD,(function(n){"probably"===t.canPlayType('video/mp4; codecs="'.concat(n,'"'))&&(e.isSupport=!0,e.mime+="||".concat(n))})),this.supportResult=e,t=null,e},isMSESupport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'video/mp4; codecs="avc1.42E01E,mp4a.40.2"';if("undefined"==typeof MediaSource||!MediaSource)return!1;try{return MediaSource.isTypeSupported(e)}catch(p_e){return this._logger.error(e,p_e),!1}},isHevcSupported:function(){return!("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)&&(MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"'))},probeConfigSupported:function(e){var t={supported:!1,smooth:!1,powerEfficient:!1};if(!e||"undefined"==typeof navigator)return qT.resolve(t);if(navigator.mediaCapabilities&&navigator.mediaCapabilities.decodingInfo)return navigator.mediaCapabilities.decodingInfo(e);var n=e.video||{},r=e.audio||{};try{var i=MediaSource.isTypeSupported(n.contentType),o=MediaSource.isTypeSupported(r.contentType);return qT.resolve({supported:i&&o,smooth:!1,powerEfficient:!1})}catch(ZO){return qT.resolve(t)}}},iD="play";function oD(e,t,n){for(var r,i=arguments.length,o=new Array(i>3?i-3:0),a=3;a<i;a++)o[a-3]=arguments[a];var s,c=t.call.apply(t,b_(r=[e]).call(r,o));n&&"function"==typeof n&&(c&&c.then?c.then((function(){for(var t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n.call.apply(n,b_(t=[e]).call(t,i))})):n.call.apply(n,b_(s=[e]).call(s,o)))}function aD(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{pre:null,next:null};return this.__hooks||(this.__hooks={}),!this.__hooks[e]&&(this.__hooks[e]=null),z_(n=function(){var n,i=arguments,o=this;if(r.pre)try{var a,s;(s=r.pre).call.apply(s,b_(a=[this]).call(a,mG(Array.prototype).call(arguments)))}catch(ZO){var c,l;throw ZO.message=b_(c=b_(l="[pluginName: ".concat(this.pluginName,":")).call(l,e,":pre error] >> ")).call(c,ZO.message),ZO}if(this.__hooks&&this.__hooks[e])try{var u,d=function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];if(e.__hooks&&uS(e.__hooks[t])){var a,s=e.__hooks[t],c=-1,l=function e(t,n,r){for(var i,o,a=arguments.length,l=new Array(a>3?a-3:0),u=3;u<a;u++)l[u-3]=arguments[u];if(c++,0===s.length||c===s.length)return r.call.apply(r,b_(o=[t,t]).call(o,l));var d,h=s[c],p=h.call.apply(h,b_(i=[t,t]).call(i,l));return p&&p.then?p.then((function(i){var o;return!1===i?null:e.apply(void 0,b_(o=[t,n,r]).call(o,l))})).catch((function(e){console.warn("[runHooks]".concat(n," reject"),e.message)})):!1!==p?e.apply(void 0,b_(d=[t,n,r]).call(d,l)):void 0};return l.apply(void 0,b_(a=[e,t,n]).call(a,i))}var u;return n.call.apply(n,b_(u=[e,e]).call(u,i))}(this,e,t);if(d)if(d.then)d.then((function(e){var n;!1!==e&&oD.apply(void 0,b_(n=[o,t,r.next]).call(n,zM(i)))})).catch((function(e){throw e}));else oD.apply(void 0,b_(u=[this,t,r.next]).call(u,mG(Array.prototype).call(arguments)));else if(void 0===d){var h;oD.apply(void 0,b_(h=[this,t,r.next]).call(h,mG(Array.prototype).call(arguments)))}}catch(ZO){var p,f;throw ZO.message=b_(p=b_(f="[pluginName: ".concat(this.pluginName,":")).call(f,e,"] >> ")).call(p,ZO.message),ZO}else oD.apply(void 0,b_(n=[this,t,r.next]).call(n,mG(Array.prototype).call(arguments)))}).call(n,this)}function sD(e,t){var n=this.__hooks;if(!n||!uS(n[e]))return-1;for(var r=n[e],i=0;i<r.length;i++)if(r[i]===t)return i;return-1}function cD(e,t){var n=this.__hooks;if(n)return n.hasOwnProperty(e)?(uS(n[e])||(n[e]=[]),-1===sD.call(this,e,t)&&n[e].push(t),!0):(console.warn("has no supported hook which name [".concat(e,"]")),!1)}function lD(e,t){var n=this.__hooks;if(n)if(uS(n[e])){var r=n[e],i=sD.call(this,e,t);-1!==i&&sM(r).call(r,i,1)}else n[e]&&(n[e]=null)}function uD(e,t){var n;$E.logError(b_(n="[".concat(e,"] event or callback cant be undefined or null when call ")).call(n,t))}var dD,hD=function(){function e(t){SM(this,e),JE.checkIsFunction(this.beforeCreate)&&this.beforeCreate(t),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.__hooks={},t&&DS(t).call(t,(function(t){e.__hooks[t]=null})),VG(e,"hooks",{get:function(){var t;return e.__hooks&&DS(t=jG(e.__hooks)).call(t,(function(t){if(e.__hooks[t])return t}))}})}(this),this.__args=t,this.__events={},this.__onceEvents={},this.config=t.config||{},this.player=null,this.playerConfig={},this.pluginName="",this.__init(t)}return EM(e,[{key:"beforeCreate",value:function(e){}},{key:"afterCreate",value:function(){}},{key:"beforePlayerInit",value:function(){}},{key:"onPluginsReady",value:function(){}},{key:"afterPlayerInit",value:function(){}},{key:"destroy",value:function(){}},{key:"__init",value:function(e){this.player=e.player,this.playerConfig=e.player&&e.player.config,this.pluginName=e.pluginName?e.pluginName.toLowerCase():this.constructor.pluginName.toLowerCase(),this.logger=e.player&&e.player.logger}},{key:"updateLang",value:function(e){e||(e=this.lang)}},{key:"lang",get:function(){return this.player.lang}},{key:"i18n",get:function(){return this.player.i18n}},{key:"i18nKeys",get:function(){return this.player.i18nKeys}},{key:"domEventType",get:function(){var e=JE.checkTouchSupport()?"touch":"mouse";return!this.playerConfig||"touch"!==this.playerConfig.domEventType&&"mouse"!==this.playerConfig.domEventType||(e=this.playerConfig.domEventType),e}},{key:"on",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(this.__events[e]=t,this.player.on(e,t)):uS(e)&&qG(e).call(e,(function(e){n.__events[e]=t,n.player.on(e,t)})):uD(this.pluginName,"plugin.on(event, callback)")}},{key:"once",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(this.__onceEvents[e]=t,this.player.once(e,t)):uS(e)&&qG(e).call(e,(function(r){n.__onceEvents[r]=t,n.player.once(e,t)})):uD(this.pluginName,"plugin.once(event, callback)")}},{key:"off",value:function(e,t){var n=this;e&&t&&this.player?"string"==typeof e?(delete this.__events[e],this.player.off(e,t)):uS(e)&&qG(e).call(e,(function(r){delete n.__events[e],n.player.off(r,t)})):uD(this.pluginName,"plugin.off(event, callback)")}},{key:"offAll",value:function(){var e,t=this;qG(e=["__events","__onceEvents"]).call(e,(function(e){var n;qG(n=jG(t[e])).call(n,(function(n){t[e][n]&&t.off(n,t[e][n]),n&&delete t[e][n]}))})),this.__events={},this.__onceEvents={}}},{key:"emit",value:function(e){var t,n;if(this.player){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(n=this.player).emit.apply(n,b_(t=[e]).call(t,i))}}},{key:"emitUserAction",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.player){var r=TM(TM({},n),{},{pluginName:this.pluginName});this.player.emitUserAction(e,t,r)}}},{key:"hook",value:function(e,t){var n;return aD.call.apply(aD,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"useHooks",value:function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return cD.call.apply(cD,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"removeHooks",value:function(e,t){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return lD.call.apply(lD,b_(n=[this]).call(n,mG(Array.prototype).call(arguments)))}},{key:"registerPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.player)return n&&(t.pluginName=n),this.player.registerPlugin({plugin:e,options:t})}},{key:"getPlugin",value:function(e){return this.player?this.player.getPlugin(e):null}},{key:"__destroy",value:function(){var e,t=this,n=this.player,r=this.pluginName;this.offAll(),JE.clearAllTimers(this),JE.checkIsFunction(this.destroy)&&this.destroy(),DS(e=["player","playerConfig","pluginName","logger","__args","__hooks"]).call(e,(function(e){t[e]=null})),n.unRegisterPlugin(r),this.__hooks=null}}],[{key:"defineGetterOrSetter",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&VG(e,n,t[n])}},{key:"defineMethod",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"function"==typeof t[n]&&VG(e,n,{configurable:!0,value:t[n]})}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),e}(),pD=v,fD=2147483647,gD=/[^\0-\u007E]/,vD=/[.\u3002\uFF0E\uFF61]/g,mD="Overflow: input needs wider integers to process",yD=RangeError,_D=pD(vD.exec),GD=Math.floor,RD=String.fromCharCode,bD=pD("".charCodeAt),TD=pD([].join),wD=pD([].push),SD=pD("".replace),MD=pD("".split),ED=pD("".toLowerCase),DD=function(e){return e+22+75*(e<26)},zD=function(e,t,n){var r=0;for(e=n?GD(e/700):e>>1,e+=GD(e/t);e>455;)e=GD(e/35),r+=36;return GD(r+36*e/(e+38))},kD=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=bD(e,n++);if(i>=55296&&i<=56319&&n<r){var o=bD(e,n++);56320==(64512&o)?wD(t,((1023&i)<<10)+(1023&o)+65536):(wD(t,i),n--)}else wD(t,i)}return t}(e);var n,r,i=e.length,o=128,a=0,s=72;for(n=0;n<e.length;n++)(r=e[n])<128&&wD(t,RD(r));var c=t.length,l=c;for(c&&wD(t,"-");l<i;){var u=fD;for(n=0;n<e.length;n++)(r=e[n])>=o&&r<u&&(u=r);var d=l+1;if(u-o>GD((fD-a)/d))throw yD(mD);for(a+=(u-o)*d,o=u,n=0;n<e.length;n++){if((r=e[n])<o&&++a>fD)throw yD(mD);if(r==o){for(var h=a,p=36;;){var f=p<=s?1:p>=s+26?26:p-s;if(h<f)break;var g=h-f,v=36-f;wD(t,RD(DD(f+g%v))),h=GD(g/v),p+=36}wD(t,RD(DD(h))),s=zD(a,d,l==c),a=0,l++}}a++,o++}return TD(t,"")},AD=zn,FD=z,PD=_R,ID=i,xD=Zt,XD=v,HD=gi,CD=mi,OD=Op,LD=Ye,UD=ET,BD=d_,ND=si,VD=Hd.codeAt,jD=function(e){var t,n,r=[],i=MD(SD(ED(e),vD,"."),".");for(t=0;t<i.length;t++)n=i[t],wD(r,_D(gD,n)?"xn--"+kD(n):n);return TD(r,".")},KD=Rr,QD=Ui,WD=Zp,qD=Bb,ZD=ro,$D=ZD.set,YD=ZD.getterFor("URL"),JD=qD.URLSearchParams,ez=qD.getState,tz=ID.URL,nz=ID.TypeError,rz=ID.parseInt,iz=Math.floor,oz=Math.pow,az=XD("".charAt),sz=XD(/./.exec),cz=XD([].join),lz=XD(1..toString),uz=XD([].pop),dz=XD([].push),hz=XD("".replace),pz=XD([].shift),fz=XD("".split),gz=XD("".slice),vz=XD("".toLowerCase),mz=XD([].unshift),yz="Invalid scheme",_z="Invalid host",Gz="Invalid port",Rz=/[a-z]/i,bz=/[\d+-.a-z]/i,Tz=/\d/,wz=/^0x/i,Sz=/^[0-7]+$/,Mz=/^\d+$/,Ez=/^[\da-f]+$/i,Dz=/[\0\t\n\r #%/:<>?@[\\\]^|]/,zz=/[\0\t\n\r #/:<>?@[\\\]^|]/,kz=/^[\u0000-\u0020]+/,Az=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Fz=/[\t\n\r]/g,Pz=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)mz(t,e%256),e=iz(e/256);return cz(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=lz(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},Iz={},xz=UD({},Iz,{" ":1,'"':1,"<":1,">":1,"`":1}),Xz=UD({},xz,{"#":1,"?":1,"{":1,"}":1}),Hz=UD({},Xz,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Cz=function(e,t){var n=VD(e,0);return n>32&&n<127&&!LD(t,e)?e:encodeURIComponent(e)},Oz={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Lz=function(e,t){var n;return 2==e.length&&sz(Rz,az(e,0))&&(":"==(n=az(e,1))||!t&&"|"==n)},Uz=function(e){var t;return e.length>1&&Lz(gz(e,0,2))&&(2==e.length||"/"===(t=az(e,2))||"\\"===t||"?"===t||"#"===t)},Bz=function(e){return"."===e||"%2e"===vz(e)},Nz={},Vz={},jz={},Kz={},Qz={},Wz={},qz={},Zz={},$z={},Yz={},Jz={},ek={},tk={},nk={},rk={},ik={},ok={},ak={},sk={},ck={},lk={},uk=function(e,t,n){var r,i,o,a=KD(e);if(t){if(i=this.parse(a))throw nz(i);this.searchParams=null}else{if(void 0!==n&&(r=new uk(n,!0)),i=this.parse(a,null,r))throw nz(i);(o=ez(new JD)).bindURL(this),this.searchParams=o}};uk.prototype={type:"URL",parse:function(e,t,n){var r,i,o,a,s,c=this,l=t||Nz,u=0,d="",h=!1,p=!1,f=!1;for(e=KD(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=hz(e,kz,""),e=hz(e,Az,"$1")),e=hz(e,Fz,""),r=BD(e);u<=r.length;){switch(i=r[u],l){case Nz:if(!i||!sz(Rz,i)){if(t)return yz;l=jz;continue}d+=vz(i),l=Vz;break;case Vz:if(i&&(sz(bz,i)||"+"==i||"-"==i||"."==i))d+=vz(i);else{if(":"!=i){if(t)return yz;d="",l=jz,u=0;continue}if(t&&(c.isSpecial()!=LD(Oz,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&Oz[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=nk:c.isSpecial()&&n&&n.scheme==c.scheme?l=Kz:c.isSpecial()?l=Zz:"/"==r[u+1]?(l=Qz,u++):(c.cannotBeABaseURL=!0,dz(c.path,""),l=sk)}break;case jz:if(!n||n.cannotBeABaseURL&&"#"!=i)return yz;if(n.cannotBeABaseURL&&"#"==i){c.scheme=n.scheme,c.path=ND(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=lk;break}l="file"==n.scheme?nk:Wz;continue;case Kz:if("/"!=i||"/"!=r[u+1]){l=Wz;continue}l=$z,u++;break;case Qz:if("/"==i){l=Yz;break}l=ak;continue;case Wz:if(c.scheme=n.scheme,i==dD)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=ND(n.path),c.query=n.query;else if("/"==i||"\\"==i&&c.isSpecial())l=qz;else if("?"==i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=ND(n.path),c.query="",l=ck;else{if("#"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=ND(n.path),c.path.length--,l=ak;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=ND(n.path),c.query=n.query,c.fragment="",l=lk}break;case qz:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=ak;continue}l=Yz}else l=$z;break;case Zz:if(l=$z,"/"!=i||"/"!=az(d,u+1))continue;u++;break;case $z:if("/"!=i&&"\\"!=i){l=Yz;continue}break;case Yz:if("@"==i){h&&(d="%40"+d),h=!0,o=BD(d);for(var g=0;g<o.length;g++){var v=o[g];if(":"!=v||f){var m=Cz(v,Hz);f?c.password+=m:c.username+=m}else f=!0}d=""}else if(i==dD||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==d)return"Invalid authority";u-=BD(d).length+1,d="",l=Jz}else d+=i;break;case Jz:case ek:if(t&&"file"==c.scheme){l=ik;continue}if(":"!=i||p){if(i==dD||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==d)return _z;if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(d))return a;if(d="",l=ok,t)return;continue}"["==i?p=!0:"]"==i&&(p=!1),d+=i}else{if(""==d)return _z;if(a=c.parseHost(d))return a;if(d="",l=tk,t==ek)return}break;case tk:if(!sz(Tz,i)){if(i==dD||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=d){var y=rz(d,10);if(y>65535)return Gz;c.port=c.isSpecial()&&y===Oz[c.scheme]?null:y,d=""}if(t)return;l=ok;continue}return Gz}d+=i;break;case nk:if(c.scheme="file","/"==i||"\\"==i)l=rk;else{if(!n||"file"!=n.scheme){l=ak;continue}if(i==dD)c.host=n.host,c.path=ND(n.path),c.query=n.query;else if("?"==i)c.host=n.host,c.path=ND(n.path),c.query="",l=ck;else{if("#"!=i){Uz(cz(ND(r,u),""))||(c.host=n.host,c.path=ND(n.path),c.shortenPath()),l=ak;continue}c.host=n.host,c.path=ND(n.path),c.query=n.query,c.fragment="",l=lk}}break;case rk:if("/"==i||"\\"==i){l=ik;break}n&&"file"==n.scheme&&!Uz(cz(ND(r,u),""))&&(Lz(n.path[0],!0)?dz(c.path,n.path[0]):c.host=n.host),l=ak;continue;case ik:if(i==dD||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&Lz(d))l=ak;else if(""==d){if(c.host="",t)return;l=ok}else{if(a=c.parseHost(d))return a;if("localhost"==c.host&&(c.host=""),t)return;d="",l=ok}continue}d+=i;break;case ok:if(c.isSpecial()){if(l=ak,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=dD&&(l=ak,"/"!=i))continue}else c.fragment="",l=lk;else c.query="",l=ck;break;case ak:if(i==dD||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=vz(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||dz(c.path,"")):Bz(d)?"/"==i||"\\"==i&&c.isSpecial()||dz(c.path,""):("file"==c.scheme&&!c.path.length&&Lz(d)&&(c.host&&(c.host=""),d=az(d,0)+":"),dz(c.path,d)),d="","file"==c.scheme&&(i==dD||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)pz(c.path);"?"==i?(c.query="",l=ck):"#"==i&&(c.fragment="",l=lk)}else d+=Cz(i,Xz);break;case sk:"?"==i?(c.query="",l=ck):"#"==i?(c.fragment="",l=lk):i!=dD&&(c.path[0]+=Cz(i,Iz));break;case ck:t||"#"!=i?i!=dD&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":Cz(i,Iz)):(c.fragment="",l=lk);break;case lk:i!=dD&&(c.fragment+=Cz(i,xz))}u++}},parseHost:function(e){var t,n,r;if("["==az(e,0)){if("]"!=az(e,e.length-1))return _z;if(t=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,h=function(){return az(e,d)};if(":"==h()){if(":"!=az(e,1))return;d+=2,u=++l}for(;h();){if(8==l)return;if(":"!=h()){for(t=n=0;n<4&&sz(Ez,h());)t=16*t+rz(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,l>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!sz(Tz,h()))return;for(;sz(Tz,h());){if(o=rz(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(a=l-u,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!=l)return;return c}(gz(e,1,-1)),!t)return _z;this.host=t}else if(this.isSpecial()){if(e=jD(e),sz(Dz,e))return _z;if(t=function(e){var t,n,r,i,o,a,s,c=fz(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==az(i,0)&&(o=sz(wz,i)?16:8,i=gz(i,8==o?1:2)),""===i)a=0;else{if(!sz(10==o?Mz:8==o?Sz:Ez,i))return e;a=rz(i,o)}dz(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=oz(256,5-t))return null}else if(a>255)return null;for(s=uz(n),r=0;r<n.length;r++)s+=n[r]*oz(256,3-r);return s}(e),null===t)return _z;this.host=t}else{if(sz(zz,e))return _z;for(t="",n=BD(e),r=0;r<n.length;r++)t+=Cz(n[r],Iz);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return LD(Oz,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Lz(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=Pz(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+cz(a,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw nz(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new dk(e.path[0]).origin}catch(p_e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Pz(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(KD(e)+":",Nz)},getUsername:function(){return this.username},setUsername:function(e){var t=BD(KD(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=Cz(t[n],Hz)}},getPassword:function(){return this.password},setPassword:function(e){var t=BD(KD(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=Cz(t[n],Hz)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Pz(e):Pz(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Jz)},getHostname:function(){var e=this.host;return null===e?"":Pz(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ek)},getPort:function(){var e=this.port;return null===e?"":KD(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=KD(e))?this.port=null:this.parse(e,tk))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+cz(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ok))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=KD(e))?this.query=null:("?"==az(e,0)&&(e=gz(e,1)),this.query="",this.parse(e,ck)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=KD(e))?("#"==az(e,0)&&(e=gz(e,1)),this.fragment="",this.parse(e,lk)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var dk=function(e){var t=OD(this,hk),n=WD(arguments.length,1)>1?arguments[1]:void 0,r=$D(t,new uk(e,!1,n));FD||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},hk=dk.prototype,pk=function(e,t){return{get:function(){return YD(this)[e]()},set:t&&function(e){return YD(this)[t](e)},configurable:!0,enumerable:!0}};if(FD&&(CD(hk,"href",pk("serialize","setHref")),CD(hk,"origin",pk("getOrigin")),CD(hk,"protocol",pk("getProtocol","setProtocol")),CD(hk,"username",pk("getUsername","setUsername")),CD(hk,"password",pk("getPassword","setPassword")),CD(hk,"host",pk("getHost","setHost")),CD(hk,"hostname",pk("getHostname","setHostname")),CD(hk,"port",pk("getPort","setPort")),CD(hk,"pathname",pk("getPathname","setPathname")),CD(hk,"search",pk("getSearch","setSearch")),CD(hk,"searchParams",pk("getSearchParams")),CD(hk,"hash",pk("getHash","setHash"))),HD(hk,"toJSON",(function(){return YD(this).serialize()}),{enumerable:!0}),HD(hk,"toString",(function(){return YD(this).serialize()}),{enumerable:!0}),tz){var fk=tz.createObjectURL,gk=tz.revokeObjectURL;fk&&HD(dk,"createObjectURL",xD(fk,tz)),gk&&HD(dk,"revokeObjectURL",xD(gk,tz))}QD(dk,"URL"),AD({global:!0,constructor:!0,forced:!PD,sham:!FD},{URL:dk});var vk=zn,mk=o,yk=Zp,_k=Rr,Gk=_R,Rk=ae("URL");vk({target:"URL",stat:!0,forced:!(Gk&&mk((function(){Rk.canParse()})))},{canParse:function(e){var t=yk(arguments.length,1),n=_k(e),r=t<2||void 0===arguments[1]?void 0:_k(arguments[1]);try{return!!new Rk(n,r)}catch(p_e){return!1}}});var bk=n(te.URL),Tk=qe,wk=Cn,Sk=Nn,Mk=function(e){for(var t=Tk(this),n=Sk(t),r=arguments.length,i=wk(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:wk(o,n);a>i;)t[i++]=e;return t};zn({target:"Array",proto:!0},{fill:Mk});var Ek=Zs("Array").fill,Dk=se,zk=Ek,kk=Array.prototype,Ak=n((function(e){var t=e.fill;return e===kk||Dk(kk,e)&&t===kk.fill?zk:t})),Fk=n(Sm),Pk="Expected a function",Ik="__lodash_placeholder__",xk=1,Xk=2,Hk=4,Ck=8,Ok=16,Lk=32,Uk=64,Bk=128,Nk=512,Vk=1/0,jk=9007199254740991,Kk=17976931348623157e292,Qk=NaN,Wk=[["ary",Bk],["bind",xk],["bindKey",Xk],["curry",Ck],["curryRight",Ok],["flip",Nk],["partial",Lk],["partialRight",Uk],["rearg",256]],qk="[object Function]",Zk="[object GeneratorFunction]",$k="[object Symbol]",Yk=/^\s+|\s+$/g,Jk=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,eA=/\{\n\/\* \[wrapped with (.+)\] \*/,tA=/,? & /,nA=/^[-+]0x[0-9a-f]+$/i,rA=/^0b[01]+$/i,iA=/^\[object .+?Constructor\]$/,oA=/^0o[0-7]+$/i,aA=/^(?:0|[1-9]\d*)$/,sA=Y_,cA="object"==Wd(t)&&t&&t.Object===Object&&t,lA="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,uA=cA||lA||Function("return this")();function dA(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function hA(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){var i=e.length,o=n+(r?1:-1);for(;r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,pA,n);var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function pA(e){return e!=e}function fA(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==Ik||(e[n]=Ik,o[i++]=n)}return o}var gA,vA,mA,yA=Function.prototype,_A=Object.prototype,GA=uA["__core-js_shared__"],RA=(gA=/[^.]+$/.exec(GA&&gM(GA)&&gM(GA).IE_PROTO||""))?"Symbol(src)_1."+gA:"",bA=yA.toString,TA=_A.hasOwnProperty,wA=_A.toString,SA=RegExp("^"+bA.call(TA).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),MA=vM,EA=Math.max,DA=Math.min,zA=(vA=XA(Object,"defineProperty"),(mA=XA.name)&&mA.length>2?vA:void 0);function kA(e){if(!NA(e)||function(e){return!!RA&&RA in e}(e))return!1;var t=function(e){var t=NA(e)?wA.call(e):"";return t==qk||t==Zk}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(ZO){}return t}(e)?SA:iA;return t.test(function(e){if(null!=e){try{return bA.call(e)}catch(ZO){}try{return e+""}catch(ZO){}}return""}(e))}function AA(e){return function(){var t=arguments;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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n,r=NA(n=e.prototype)?MA(n):{},i=e.apply(r,t);return NA(i)?i:r}}function FA(e,t,n,r,i,o,a,s,c,l){var u=t&Bk,d=t&xk,h=t&Xk,p=t&(Ck|Ok),f=t&Nk,g=h?void 0:AA(e);return function v(){for(var m=arguments.length,y=Array(m),_=m;_--;)y[_]=arguments[_];if(p)var G=xA(v),R=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}(y,G);if(r&&(y=function(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,l=EA(o-a,0),u=Array(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<a;)(d||i<o)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}(y,r,i,p)),o&&(y=function(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,l=t.length,u=EA(o-s,0),d=Array(u+l),h=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<s;)(h||i<o)&&(d[p+n[a]]=e[i++]);return d}(y,o,a,p)),m-=R,p&&m<l){var b=fA(y,G);return PA(e,t,FA,v.placeholder,n,y,b,s,c,l-m)}var T=d?n:this,w=h?T[e]:e;return m=y.length,s?y=function(e,t){var n=e.length,r=DA(t.length,n),i=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);for(;r--;){var o=t[r];e[r]=OA(o,n)?i[o]:void 0}return e}(y,s):f&&m>1&&Fk(y).call(y),u&&c<m&&(y.length=c),this&&this!==uA&&this instanceof v&&(w=g||AA(w)),w.apply(T,y)}}function PA(e,t,n,r,i,o,a,s,c,l){var u=t&Ck;t|=u?Lk:Uk,(t&=~(u?Uk:Lk))&Hk||(t&=~(xk|Xk));var d=n(e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,c,l);return d.placeholder=r,LA(d,e,t)}function IA(e,t,n,r,i,o,a,s){var c=t&Xk;if(!c&&"function"!=typeof e)throw new TypeError(Pk);var l=r?r.length:0;if(l||(t&=~(Lk|Uk),r=i=void 0),a=void 0===a?a:EA(KA(a),0),s=void 0===s?s:KA(s),l-=i?i.length:0,t&Uk){var u=r,d=i;r=i=void 0}var h=[e,t,n,r,i,u,d,o,a,s];if(e=h[0],t=h[1],n=h[2],r=h[3],i=h[4],!(s=h[9]=null==h[9]?c?0:e.length:EA(h[9]-l,0))&&t&(Ck|Ok)&&(t&=~(Ck|Ok)),t&&t!=xk)p=t==Ck||t==Ok?function(e,t,n){var r=AA(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,c=xA(i);s--;)a[s]=arguments[s];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:fA(a,c);return(o-=l.length)<n?PA(e,t,FA,i.placeholder,void 0,a,l,void 0,void 0,n-o):dA(this&&this!==uA&&this instanceof i?r:e,this,a)}}(e,t,s):t!=Lk&&t!=(xk|Lk)||i.length?FA.apply(void 0,h):function(e,t,n,r){var i=t&xk,o=AA(e);return function t(){for(var a=-1,s=arguments.length,c=-1,l=r.length,u=Array(l+s),d=this&&this!==uA&&this instanceof t?o:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++a];return dA(d,i?n:this,u)}}(e,t,n,r);else var p=function(e,t,n){var r=t&xk,i=AA(e);return function t(){return(this&&this!==uA&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return LA(p,e,t)}function xA(e){return e.placeholder}function XA(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return kA(n)?n:void 0}function HA(e){var t=e.match(eA);return t?t[1].split(tA):[]}function CA(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Jk,"{\n/* [wrapped with "+t+"] */\n")}function OA(e,t){return!!(t=null==t?jk:t)&&("number"==typeof e||aA.test(e))&&e>-1&&e%1==0&&e<t}var LA=zA?function(e,t,n){var r,i=t+"";return zA(e,"toString",{configurable:!0,enumerable:!1,value:(r=CA(i,UA(HA(i),n)),function(){return r})})}:function(e){return e};function UA(e,t){return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(Wk,(function(n){var r="_."+n[0];t&n[1]&&!hA(e,r)&&e.push(r)})),jE(e).call(e)}function BA(e,t,n){var r=IA(e,Ck,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=BA.placeholder,r}function NA(e){var t=Wd(e);return!!e&&("object"==t||"function"==t)}function VA(e){return"symbol"==Wd(e)||function(e){return!!e&&"object"==Wd(e)}(e)&&wA.call(e)==$k}function jA(e){return e?(e=function(e){if("number"==typeof e)return e;if(VA(e))return Qk;if(NA(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=NA(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Yk,"");var n=rA.test(e);return n||oA.test(e)?sA(mG(e).call(e,2),n?2:8):nA.test(e)?Qk:+e}(e))===Vk||e===-Vk?(e<0?-1:1)*Kk:e==e?e:0:0===e?e:0}function KA(e){var t=jA(e),n=t%1;return t==t?n?t-n:t:0}BA.placeholder={};var QA=n(BA),WA={exports:{}},qA=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),ZA=o,$A=ee,YA=G,JA=qA,eF=Object.isExtensible,tF=ZA((function(){eF(1)}))||JA?function(e){return!!$A(e)&&((!JA||"ArrayBuffer"!=YA(e))&&(!eF||eF(e)))}:eF,nF=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),rF=zn,iF=v,oF=qn,aF=ee,sF=Ye,cF=$t.f,lF=Wr,uF=$r,dF=tF,hF=nF,pF=!1,fF=rt("meta"),gF=0,vF=function(e){cF(e,fF,{value:{objectID:"O"+gF++,weakData:{}}})},mF=WA.exports={enable:function(){mF.enable=function(){},pF=!0;var e=lF.f,t=iF([].splice),n={};n[fF]=1,e(n).length&&(lF.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===fF){t(r,i,1);break}return r},rF({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:uF.f}))},fastKey:function(e,t){if(!aF(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!sF(e,fF)){if(!dF(e))return"F";if(!t)return"E";vF(e)}return e[fF].objectID},getWeakData:function(e,t){if(!sF(e,fF)){if(!dF(e))return!0;if(!t)return!1;vF(e)}return e[fF].weakData},onFreeze:function(e){return hF&&pF&&dF(e)&&!sF(e,fF)&&vF(e),e}};oF[fF]=!0;var yF=WA.exports,_F=zn,GF=i,RF=yF,bF=o,TF=mn,wF=cp,SF=Op,MF=E,EF=ee,DF=Ui,zF=$t.f,kF=Oo.forEach,AF=z,FF=ro.set,PF=ro.getterFor,IF=function(e,t,n){var r,i=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),a=i?"set":"add",s=GF[e],c=s&&s.prototype,l={};if(AF&&MF(s)&&(o||c.forEach&&!bF((function(){(new s).entries().next()})))){var u=(r=t((function(t,n){FF(SF(t,u),{type:e,collection:new s}),null!=n&&wF(n,t[a],{that:t,AS_ENTRIES:i})}))).prototype,d=PF(e);kF(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in c)||o&&"clear"==e||TF(u,e,(function(n,r){var i=d(this).collection;if(!t&&o&&!EF(n))return"get"==e&&void 0;var a=i[e](0===n?0:n,r);return t?this:a}))})),o||zF(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else r=n.getConstructor(t,e,i,a),RF.enable();return DF(r,e,!1,!0),l[e]=r,_F({global:!0,forced:!0},l),o||n.setStrong(r,e,i),r},xF=Qr,XF=mi,HF=RR,CF=Zt,OF=Op,LF=j,UF=cp,BF=Xl,NF=Hl,VF=Xp,jF=z,KF=yF.fastKey,QF=ro.set,WF=ro.getterFor,qF={getConstructor:function(e,t,n,r){var i=e((function(e,i){OF(e,o),QF(e,{type:t,index:xF(null),first:void 0,last:void 0,size:0}),jF||(e.size=0),LF(i)||UF(i,e[r],{that:e,AS_ENTRIES:n})})),o=i.prototype,a=WF(t),s=function(e,t,n){var r,i,o=a(e),s=c(e,t);return s?s.value=n:(o.last=s={index:i=KF(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),jF?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},c=function(e,t){var n,r=a(e),i=KF(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return HF(o,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,jF?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),jF?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=CF(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),HF(o,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),jF&&XF(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=WF(t),o=WF(r);BF(e,t,(function(e,t){QF(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?NF("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,NF(void 0,!0))}),n?"entries":"values",!n,!0),VF(t)}};IF("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),qF);var ZF=te.Map,$F=Zt,YF=F,JF=Ae,eP=Np,tP=j,nP=cp,rP=[].push,iP=function(e){var t,n,r,i,o=arguments.length,a=o>1?arguments[1]:void 0;return eP(this),(t=void 0!==a)&&JF(a),tP(e)?new this:(n=[],t?(r=0,i=$F(a,o>2?arguments[2]:void 0),nP(e,(function(e){YF(rP,n,i(e,r++))}))):nP(e,rP,{that:n}),new this(n))};zn({target:"Map",stat:!0,forced:!0},{from:iP});var oP=ls,aP=function(){return new this(oP(arguments))};zn({target:"Map",stat:!0,forced:!0},{of:aP});var sP=Ee,cP=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(sP(e)+" is not a map")},lP=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}},uP=lP,dP=ae("Map"),hP={Map:dP,set:uP("set",2),get:uP("get",1),has:uP("has",1),remove:uP("delete",1),proto:dP.prototype},pP=cP,fP=hP.remove;zn({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=pP(this),n=!0,r=0,i=arguments.length;r<i;r++)e=fP(t,arguments[r]),n=n&&e;return!!n}});var gP=cP,vP=hP.get,mP=hP.has,yP=hP.set;zn({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,i=gP(this);return mP(i,e)?(n=vP(i,e),"update"in t&&(n=t.update(n,e,i),yP(i,e,n)),n):(r=t.insert(e,i),yP(i,e,r),r)}});var _P=F,GP=function(e,t,n){for(var r,i,o=n||e.next;!(r=_P(o,e)).done;)if(void 0!==(i=t(r.value)))return i},RP=GP,bP=function(e,t,n){return n?RP(e.entries(),(function(e){return t(e[1],e[0])})):e.forEach(t)},TP=Zt,wP=cP,SP=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=wP(this),n=TP(e,arguments.length>1?arguments[1]:void 0);return!1!==SP(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}});var MP=Zt,EP=cP,DP=bP,zP=hP.Map,kP=hP.set;zn({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=EP(this),n=MP(e,arguments.length>1?arguments[1]:void 0),r=new zP;return DP(t,(function(e,i){n(e,i,t)&&kP(r,i,e)})),r}});var AP=Zt,FP=cP,PP=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=FP(this),n=AP(e,arguments.length>1?arguments[1]:void 0),r=PP(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}});var IP=Zt,xP=cP,XP=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=xP(this),n=IP(e,arguments.length>1?arguments[1]:void 0),r=XP(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}});var HP=zn,CP=F,OP=E,LP=Ae,UP=cp,BP=hP.Map,NP=v([].push);HP({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){var n=new(OP(this)?this:BP);LP(t);var r=LP(n.has),i=LP(n.get),o=LP(n.set);return UP(e,(function(e){var a=t(e);CP(r,n,a)?NP(CP(i,n,a),e):CP(o,n,a,[e])})),n}});var VP=function(e,t){return e===t||e!=e&&t!=t},jP=cP,KP=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===KP(jP(this),(function(t){if(VP(t,e))return!0}),!0)}});var QP=F,WP=cp,qP=E,ZP=Ae,$P=hP.Map;zn({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(qP(this)?this:$P);ZP(t);var r=ZP(n.set);return WP(e,(function(e){QP(r,n,t(e),e)})),n}});var YP=cP,JP=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=JP(YP(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}});var eI=Zt,tI=cP,nI=bP,rI=hP.Map,iI=hP.set;zn({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=tI(this),n=eI(e,arguments.length>1?arguments[1]:void 0),r=new rI;return nI(t,(function(e,i){iI(r,n(e,i,t),e)})),r}});var oI=Zt,aI=cP,sI=bP,cI=hP.Map,lI=hP.set;zn({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=aI(this),n=oI(e,arguments.length>1?arguments[1]:void 0),r=new cI;return sI(t,(function(e,i){lI(r,i,n(e,i,t))})),r}});var uI=cP,dI=cp,hI=hP.set;zn({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=uI(this),n=arguments.length,r=0;r<n;)dI(arguments[r++],(function(e,n){hI(t,e,n)}),{AS_ENTRIES:!0});return t}});var pI=Ae,fI=cP,gI=bP,vI=TypeError;zn({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=fI(this),n=arguments.length<2,r=n?void 0:arguments[1];if(pI(e),gI(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw vI("Reduce of empty map with no initial value");return r}});var mI=Zt,yI=cP,_I=bP;zn({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=yI(this),n=mI(e,arguments.length>1?arguments[1]:void 0);return!0===_I(t,(function(e,r){if(n(e,r,t))return!0}),!0)}});var GI=Ae,RI=cP,bI=TypeError,TI=hP.get,wI=hP.has,SI=hP.set;zn({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=RI(this),r=arguments.length;GI(t);var i=wI(n,e);if(!i&&r<3)throw bI("Updating absent value");var o=i?TI(n,e):GI(r>2?arguments[2]:void 0)(e,n);return SI(n,e,t(o,e,n)),n}});var MI=F,EI=Ae,DI=E,zI=nn,kI=TypeError,AI=function(e,t){var n,r=zI(this),i=EI(r.get),o=EI(r.has),a=EI(r.set),s=arguments.length>2?arguments[2]:void 0;if(!DI(t)&&!DI(s))throw kI("At least one callback required");return MI(o,r,e)?(n=MI(i,r,e),DI(t)&&(n=t(n),MI(a,r,e,n))):DI(s)&&(n=s(),MI(a,r,e,n)),n};zn({target:"Map",proto:!0,real:!0,forced:!0},{upsert:AI}),zn({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:AI});var FI,PI,II=ZF,xI=n(II);function XI(e,t,n){var r;jy()?XI=Sy(r=Vy).call(r):XI=function(e,t,n){var r=[null];Ac(r).apply(r,t);var i=new(Sy(Function).apply(e,r));return n&&Dy(i,n.prototype),i};return XI.apply(null,arguments)}function HI(e){var t="function"==typeof xI?new xI:void 0;return HI=function(e){if(null===e||(n=e,-1===dR(r=Function.toString.call(n)).call(r,"[native code]")))return e;var n,r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return XI(e,arguments,My(this).constructor)}return i.prototype=rh(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Dy(i,e)},HI(e)}var CI=function(e){return e[e.MANIFEST_HLS_ERROR=1100]="MANIFEST_HLS_ERROR",e[e.MANIFEST_DASH_ERROR=1200]="MANIFEST_DASH_ERROR",e[e.NETWORK=2100]="NETWORK",e[e.NETWORK_TIMEOUT=2101]="NETWORK_TIMEOUT",e[e.NETWORK_FORBIDDEN=2103]="NETWORK_FORBIDDEN",e[e.NETWORK_NOTFOUND=2104]="NETWORK_NOTFOUND",e[e.NETWORK_RANGE_NOT_SATISFIABLE=2116]="NETWORK_RANGE_NOT_SATISFIABLE",e[e.DEMUX_FLV_ERROR=3100]="DEMUX_FLV_ERROR",e[e.DEMUX_HLS_ERROR=3200]="DEMUX_HLS_ERROR",e[e.DEMUX_MP4_ERROR=3300]="DEMUX_MP4_ERROR",e[e.DEMUX_FMP4_ERROR=3400]="DEMUX_FMP4_ERROR",e[e.DEMUX_SIDX_ERROR=3410]="DEMUX_SIDX_ERROR",e[e.REMUX_FMP4_ERROR=4100]="REMUX_FMP4_ERROR",e[e.REMUX_MP4_ERROR=4200]="REMUX_MP4_ERROR",e[e.MEDIA_ERR_ABORTED=5101]="MEDIA_ERR_ABORTED",e[e.MEDIA_ERR_NETWORK=5102]="MEDIA_ERR_NETWORK",e[e.MEDIA_ERR_DECODE=5103]="MEDIA_ERR_DECODE",e[e.MEDIA_ERR_SRC_NOT_SUPPORTED=5104]="MEDIA_ERR_SRC_NOT_SUPPORTED",e[e.MEDIA_ERR_CODEC_NOT_SUPPORTED=5105]="MEDIA_ERR_CODEC_NOT_SUPPORTED",e[e.MEDIA_ERR_URL_EMPTY=5106]="MEDIA_ERR_URL_EMPTY",e[e.MEDIA_MSE_ADD_SB=5200]="MEDIA_MSE_ADD_SB",e[e.MEDIA_MSE_APPEND_BUFFER=5201]="MEDIA_MSE_APPEND_BUFFER",e[e.MEDIA_MSE_OTHER=5202]="MEDIA_MSE_OTHER",e[e.MEDIA_MSE_FULL=5203]="MEDIA_MSE_FULL",e[e.MEDIA_MSE_HIJACK=5204]="MEDIA_MSE_HIJACK",e[e.MEDIA_EME_HIJACK=5301]="MEDIA_EME_HIJACK",e[e.DRM_LICENSE=7100]="DRM_LICENSE",e[e.DRM_UNSUPPORTED=7101]="DRM_UNSUPPORTED",e[e.DRM_NO_MEDIA_KEY=7103]="DRM_NO_MEDIA_KEY",e[e.DRM_NO_KEY_SESSION=7104]="DRM_NO_KEY_SESSION",e[e.DRM_GENERATE_QUEST_FAIL=7105]="DRM_GENERATE_QUEST_FAIL",e[e.DRM_LACK_SERVER_CERTIFICATE_PATH=7106]="DRM_LACK_SERVER_CERTIFICATE_PATH",e[e.DRM_LACK_SERVER_PROCESS_SPC_PATH=7107]="DRM_LACK_SERVER_PROCESS_SPC_PATH",e[e.DRM_LICENSE_FAIL=7108]="DRM_LICENSE_FAIL",e[e.DRM_KEY_ERROR=7109]="DRM_KEY_ERROR",e[e.DRM_CERT_FAIL=7110]="DRM_CERT_FAIL",e[e.DRM_CUSTOM_LICENSE=7200]="DRM_CUSTOM_LICENSE",e[e.OTHER=8e3]="OTHER",e[e.RUNTIME_NO_CANPLAY_ERROR=9001]="RUNTIME_NO_CANPLAY_ERROR",e[e.RUNTIME_BUFFERBREAK_ERROR=9002]="RUNTIME_BUFFERBREAK_ERROR",e[e.RUNTIME_WAITING_TIMEOUT_ERROR=9003]="RUNTIME_WAITING_TIMEOUT_ERROR",e[e.MODULE_LOAD_ERROR=110]="MODULE_LOAD_ERROR",e.UNKNOWN="UNKNOWN",e}(CI||{}),OI=(Yd(FI={},2100,{messageTextKey:"NETWORK",level:"Error"}),Yd(FI,2101,{messageTextKey:"NETWORK_TIMEOUT",level:"Error"}),Yd(FI,2103,{messageTextKey:"NETWORK_FORBIDDEN",level:"Error"}),Yd(FI,2104,{messageTextKey:"NETWORK_NOTFOUND",level:"Error"}),Yd(FI,5101,{messageTextKey:"MEDIA_ERR_ABORTED",level:"Error"}),Yd(FI,5102,{messageTextKey:"MEDIA_ERR_NETWORK",level:"Error"}),Yd(FI,5103,{messageTextKey:"MEDIA_ERR_DECODE",level:"Error"}),Yd(FI,5104,{messageTextKey:"MEDIA_ERR_SRC_NOT_SUPPORTED",level:"Error"}),Yd(FI,5105,{messageTextKey:"MEDIA_ERR_CODEC_NOT_SUPPORTED",level:"Error"}),Yd(FI,5106,{messageTextKey:"MEDIA_ERR_URL_EMPTY",level:"Error"}),Yd(FI,110,{messageTextKey:"MODULE_LOAD_ERROR",level:"Fatal"}),Yd(FI,7100,{messageTextKey:"DRM_LICENSE",level:"Fatal"}),Yd(FI,7101,{messageTextKey:"DRM_UNSUPPORTED",level:"Fatal"}),Yd(FI,7103,{messageTextKey:"DRM_NO_MEDIA_KEY",level:"Fatal"}),Yd(FI,7104,{messageTextKey:"DRM_NO_KEY_SESSION",level:"Fatal"}),Yd(FI,7105,{messageTextKey:"DRM_GENERATE_QUEST_FAIL",level:"Fatal"}),Yd(FI,7106,{messageTextKey:"DRM_LACK_SERVER_CERTIFICATE_PATH",level:"Fatal"}),Yd(FI,7107,{messageTextKey:"DRM_LACK_SERVER_PROCESS_SPC_PATH",level:"Fatal"}),Yd(FI,7108,{messageTextKey:"DRM_LICENSE_FAIL",level:"Fatal"}),Yd(FI,7109,{messageTextKey:"DRM_KEY_ERROR",level:"Fatal"}),Yd(FI,7110,{messageTextKey:"DRM_CERT_FAIL",level:"Fatal"}),FI);Yd(PI={},"manifest",{messageTextKey:"MANIFEST",level:"Error"}),Yd(PI,"network",{messageTextKey:"NETWORK",level:"Error"}),Yd(PI,"demux",{messageTextKey:"DEMUX",level:"Error"}),Yd(PI,"remux",{messageTextKey:"REMUX",level:"Error"}),Yd(PI,"media",{messageTextKey:"MEDIA",level:"Error"}),Yd(PI,"drm",{messageTextKey:"DRM",level:"Error"}),Yd(PI,"other",{messageTextKey:"OTHER",level:"Error"}),Yd(PI,"runtime",{messageTextKey:"RUNTIME",level:"Error"});var LI,UI,BI=function(e){zy(n,e);var t=Ky(n);function n(e,r){var i,o,a,s,c,l,u;Zm(this,n);var d="string"==typeof e?{message:e}:e,h=null!==(i=null!==(o=null!==(a=null==r?void 0:r.getText(null==d?void 0:d.messageTextKey))&&void 0!==a?a:null==d?void 0:d.message)&&void 0!==o?o:null==d||null===(s=d.error)||void 0===s?void 0:s.message)&&void 0!==i?i:null==r?void 0:r.getText("UNKNOWN");return Yd(Jm(u=t.call(this,h)),"errorCode",void 0),Yd(Jm(u),"level",void 0),Yd(Jm(u),"ext",void 0),u.errorCode=null!==(c=null==d?void 0:d.errorCode)&&void 0!==c?c:"UNKNOWN",u.level=null!==(l=null==d?void 0:d.level)&&void 0!==l?l:"Error",u.ext=null==d?void 0:d.ext,u}return Ym(n)}(HI(Error));function NI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new BI(eh(eh({errorCode:e},OI[e]),t),n)}var VI=null!==(LI=null===(UI=document.currentScript)||void 0===UI?void 0:UI.src)&&void 0!==LI?LI:"https://tosv.byted.org/obj/lux/sdk/@byted/veplayer/".concat("2.3.1-rc.1","/object/umd/"),jI=new AS({baseUrl:mG(VI).call(VI,0,WT(VI).call(VI,"/"))});function KI(e,t){return QI.apply(this,arguments)}function QI(){return QI=qm(Qm().mark((function e(t,n){var r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,jI.load(t,n);case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),NI(CI.MODULE_LOAD_ERROR,{ext:{name:t,cdn:null===e.t0||void 0===e.t0||null===(r=e.t0.target)||void 0===r?void 0:r.src},error:e.t0});case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),QI.apply(this,arguments)}jI.registerPlugin,jI.register;var WI=function(e){return e.H265="h265",e.H264="h264",e}(WI||{}),qI=function(e){if(e){hT(e).call(e,"//")&&(e=location.protocol+e);try{return new bk(e)}catch(p_e){return}}};function ZI(e){var t,n={},r=function(e,t){var n=void 0!==Dd&&$y(e)||e["@@iterator"];if(!n){if(Wy(e)||(n=g_(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.attributes);try{for(r.s();!(t=r.n()).done;){var i=t.value;n[i.name]=i.value}}catch(o){r.e(o)}finally{r.f()}return n}var $I,YI=Object.freeze({__proto__:null,getAttributes:ZI,replaceAttributes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=ZI(e);return qG(t=jG(r)).call(t,(function(t){n[t]?null==e||e.setAttribute(t,n[t]):null==e||e.removeAttribute(t)})),e},setAttributes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qG(t=jG(n)).call(t,(function(t){var r=t,i=n[t];i&&(null==e||e.setAttribute(r,i))})),e}}),JI='video/mp4; codecs="avc1.42E01E,mp4a.40.2"',ex=['video/mp4;codecs="hev1.1.6.L120.90"','video/mp4;codecs="hev1.2.4.L120.90"','video/mp4;codecs="hev1.3.E.L120.90"','video/mp4;codecs="hev1.4.10.L120.90"'],tx=QA((function(e,t){var n;return null==t?void 0:bw(n=t.split("?")[0].toLowerCase()).call(n,e)})),nx=tx(".m3u8"),rx=tx(".mp4"),ix=tx(".flv"),ox=tx(".sdp"),ax=tx(".mpd");function sx(e){return nx(e)?"hls":ix(e)?"flv":ox(e)?"rtm":rx(e)?"mp4":ax(e)?"dash":"unknown"}function cx(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:WI.H264;return e===WI.H265?rD.isHevcSupported():e===WI.H264?rD.isMSESupport():rD.isMSESupport(e)}function lx(){return(lx=qm(Qm().mark((function e(){var t,n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,KI(kS.PluginXgvideo);case 2:return t=e.sent,n=t.XGVideoPlugin,e.abrupt("return",null==n?void 0:n.isSupported());case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ux(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:WI.H264;return void 0!==window.ManagedMediaSource&&(e===WI.H264?window.ManagedMediaSource.isTypeSupported(JI):e===WI.H265?bS(ex).call(ex,(function(e){return window.ManagedMediaSource.isTypeSupported(e)})):window.ManagedMediaSource.isTypeSupported(e))}function dx(e,t){return function(e){if(Wy(e))return e}(e)||function(e,t){var n=null==e?null:void 0!==Dd&&$y(e)||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(Ac(s).call(s,r.value),s.length!==t);c=!0);}catch(u){l=!0,i=u}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||g_(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.")}()}eh(eh(eh({},JE),YI),{},{getStreamType:sx,isMseSupported:cx,isSoftDecodeSupported:function(){return lx.apply(this,arguments)},isMMSSupported:ux,appendSearchParams:function(e,t){var n,r=qI(e);if(!e||!r)return null!==(n=e)&&void 0!==n?n:"";var i,o=hT(e).call(e,"//");for(var a in t){var s,c,l=t[a];if(null!=r&&r.searchParams.has(a))null==r||null===(s=r.searchParams)||void 0===s||s.set(a,l);else null==r||null===(c=r.searchParams)||void 0===c||c.append(a,l)}return e=r.toString(),o?null===(i=e)||void 0===i?void 0:i.replace(location.protocol,""):e},getUrlObject:qI});var hx="hls",px="ll-hls",fx="flv",gx="rtm",vx="ll-flv",mx="dash",yx=(Yd($I={},"widevine","com.widevine.alpha"),Yd($I,"playready","com.microsoft.playready"),Yd($I,"fairplay","com.apple.fps"),$I),_x=window.VePlayer.Sniffer,Gx=window.VePlayer.Codec,Rx=window.VePlayer.util,bx=Rx.isMMSSupported,Tx=Rx.isMseSupported;function wx(){return _x.os.isIos}function Sx(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gx.H264;return(wx()?bx:Tx)(e)}var Mx=function(e){return e.Error="Error",e.Stall="Stall",e}(Mx||{}),Ex=function(){function e(t){Zm(this,e),Yd(this,"nextProtocol",void 0),Yd(this,"preProtocol",void 0),Yd(this,"protocolStrategy",void 0),Yd(this,"_fallback",void 0),this._fallback=t.fallback}return Ym(e,[{key:"_getKindFallbackStrategy",value:function(e){var t,n,r,i,o;return null!==(t=null!==(n=null===(r=this._fallback)||void 0===r||null===(r=r.fallbackStrategy)||void 0===r||null===(r=r[this.protocolType])||void 0===r?void 0:r[e])&&void 0!==n?n:null===(i=this._fallback)||void 0===i||null===(i=i.fallbackStrategy)||void 0===i||null===(i=i.all)||void 0===i?void 0:i[e])&&void 0!==t?t:null===(o=this.defaultFallbackStrategy)||void 0===o?void 0:o[e]}},{key:"errorFallbackStrategy",get:function(){return this._getKindFallbackStrategy("Error")}},{key:"stallFallbackStrategy",get:function(){return this._getKindFallbackStrategy("Stall")}},{key:"shouldFallbackWhenError",value:function(e){var t,n,r,i;return null!==(t=this.errorFallbackStrategy)&&void 0!==t&&t.shouldFallback?null===(r=this.errorFallbackStrategy)||void 0===r?void 0:r.shouldFallback(this.protocolType,e):!(null===(n=this.errorFallbackStrategy)||void 0===n||!n.excludeList)&&!bw(i=this.errorFallbackStrategy.excludeList).call(i,e.error.errorCode)}}]),e}(),Dx=window.VePlayer.strategy,zx=window.VePlayer.load,kx=window.VePlayer.Codec,Ax=window.VePlayer.util.appendSearchParams,Fx=function(){var e=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=null==t||null===(n=t.flv)||void 0===n?void 0:n.enableLowLatency,f=null===(r=null==t||null===(i=t.flv)||void 0===i||null===(i=i.lowLatency)||void 0===i?void 0:i.enableFrameChasing)||void 0===r||r,g=null!==(o=null==t||null===(a=t.flv)||void 0===a||null===(a=a.lowLatency)||void 0===a?void 0:a.abrPts)&&void 0!==o?o:"-800",e.next=5,Dx.getCodec(t);case 5:return v=e.sent,e.next=8,Dx.isSoftDecode(t,v);case 8:if(e.sent&&(h=v===kx.H265?Dx.createSoftDecodeH265Strategy():Dx.createSoftDecodeH264Strategy(),d=Dx.createFlvMseStrategy(t)),Sx("unknown"===v?kx.H264:v)&&(d=wx()?Dx.createFlvMssStrategy(t):Dx.createFlvMseStrategy(t)),d||h){e.next=13;break}return e.abrupt("return",{});case 13:return e.next=15,qT.all([(null===(s=d)||void 0===s?void 0:s.module)&&zx(d.module).catch((function(){})),(null===(c=h)||void 0===c?void 0:c.module)&&zx(h.module).catch((function(){}))]);case 15:return m=e.sent,y=dx(m,2),_=y[0],(null==(G=y[1])?void 0:G.XGVideoPlugin)&&(null===(l=h)||void 0===l||null===(u=l.afterLoad)||void 0===u||u.call(l,null==G?void 0:G.XGVideoPlugin)),R=Dx.combineOptions([d,h]),b=[],p&&(R.url=Ax(t.url,{abr_pts:g})),_&&(b.push(_.FlvPlugin),p&&f&&b.push(_.Adaptive)),e.abrupt("return",{options:R,plugins:b});case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Px=window.VePlayer.DynamicModule,Ix=window.VePlayer.load,xx=function(e){zy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return fx}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:Sx()});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t,n){var r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.enableSelector,e.abrupt("return",Fx(r?eh(eh({},t),{},{flv:eh(eh({},t.flv),{},{enableLowLatency:!1})}):t));case 2:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:(t=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==t||null===(n=t.flv)||void 0===n?void 0:n.abr){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,Ix(Px.PluginAbr).catch((function(){}));case 5:return o=e.sent,e.abrupt("return",{options:{abr:eh(eh({},i),{},{open:null===(r=i.enable)||void 0===r||r})},plugins:[null==o?void 0:o.AbrPlugin]});case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"getDrmStrategy",value:function(){}},{key:"getVeStrategy",value:function(){}},{key:"updateDrmConfig",value:function(){}}],[{key:"suffix",get:function(){return".flv"}},{key:"generateUrl",value:function(e,t){var n,r=t.generateUrlFromOtherProtocol;return null!==(n=e[fx])&&void 0!==n?n:r()}},{key:"canGenerateOtherProtocol",value:function(){return!0}}]),o}(Ex),Xx=function(e){zy(r,e);var t,n=Ky(r);function r(){return Zm(this,r),n.apply(this,arguments)}return Ym(r,[{key:"protocolType",get:function(){return vx}},{key:"getProtocolStrategy",value:(t=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Fx(eh(eh({},t),{},{flv:eh(eh({},t.flv),{},{enableLowLatency:!0})})));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),r}(xx),Hx=window.VePlayer.Sniffer;function Cx(e){var t;return(null==e||null===(t=e.drm)||void 0===t?void 0:t.fairplay)&&("safari"===Hx.browser||Hx.os.isIos)}function Ox(e){var t;return!Cx(e)&&("mobile"!==Hx.device||(null==e||null===(t=e.hls)||void 0===t?void 0:t.enableMSE))}function Lx(e){var t,n,r;return void 0!==(null==e||null===(t=e.hls)||void 0===t?void 0:t.enableHlsJs)?null===(r=e.hls)||void 0===r?void 0:r.enableHlsJs:"ssai"===(null==e||null===(n=e.ad)||void 0===n?void 0:n.adType)||!!e.drm}function Ux(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=yx[n],i=e[n];r&&i&&(t[r]={licenseUrl:null==i?void 0:i.serverProcessSPCPath,serverCertificateUrl:null==i?void 0:i.serverCertificatePath})}return{emeEnabled:!0,drmSystems:t}}var Bx=window.VePlayer.Codec,Nx=window.VePlayer.strategy,Vx=window.VePlayer.load,jx=window.VePlayer.util.isMseSupported,Kx=function(){var e=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Nx.getCodec(t);case 2:return c=e.sent,e.next=5,Nx.isSoftDecode(t,c);case 5:if(l=e.sent,u=Lx(t),l&&(s=c===Bx.H265?Nx.createSoftDecodeH265Strategy():Nx.createSoftDecodeH264Strategy(),a=Nx.createHlsMseStrategy(t,u)),Ox(t)&&jx("unknown"===c?Bx.H264:c)&&(a=Nx.createHlsMseStrategy(t,u)),a||s){e.next=11;break}return e.abrupt("return",{});case 11:return e.next=13,qT.all([(null===(n=a)||void 0===n?void 0:n.module)&&Vx(a.module).catch((function(){})),(null===(r=s)||void 0===r?void 0:r.module)&&Vx(s.module).catch((function(){}))]);case 13:return d=e.sent,h=dx(d,2),p=h[0],(null==(f=h[1])?void 0:f.XGVideoPlugin)&&(null===(i=s)||void 0===i||null===(o=i.afterLoad)||void 0===o||o.call(i,null==f?void 0:f.XGVideoPlugin)),g=Nx.combineOptions([a,s]),e.abrupt("return",{options:g,plugins:null!=p&&p.HlsPlugin?[p.HlsPlugin]:[]});case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qx=Ae,Wx=qe,qx=V,Zx=Nn,$x=TypeError,Yx=function(e){return function(t,n,r,i){Qx(n);var o=Wx(t),a=qx(o),s=Zx(o),c=e?s-1:0,l=e?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=l;break}if(c+=l,e?c<0:s<=c)throw $x("Reduce of empty array with no initial value")}for(;e?c>=0:s>c;c+=l)c in a&&(i=n(i,a[c],c,o));return i}},Jx={left:Yx(!1),right:Yx(!0)}.left;zn({target:"Array",proto:!0,forced:!Ap&&ge>79&&ge<83||!nu("reduce")},{reduce:function(e){var t=arguments.length;return Jx(this,e,t,t>1?arguments[1]:void 0)}});var eX=Zs("Array").reduce,tX=se,nX=eX,rX=Array.prototype,iX=n((function(e){var t=e.reduce;return e===rX||tX(rX,e)&&t===rX.reduce?nX:t}));function oX(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function aX(e){return iX(e).call(e,(function(e,t){var n,r,i=iX(n=t.definitions).call(n,(function(e,t){var n=function(e){return"string"==typeof e?sx(e):e.type?e.type:sx(e.url)}(t);return oX(e,n,t),e}),{});return DS(r=jG(i)).call(r,(function(n){oX(e,n,eh(eh({},t),{},{definitions:i[n]}))})),e}),{})}function sX(e,t){var n=[];return null==e||qG(e).call(e,(function(e){var r,i=[];qG(r=e.definitions).call(r,(function(e){var n;"string"==typeof e?i.push(t(e)):i.push(eh(eh({},e),{},{url:t(e.url),fallbackUrls:null===(n=e.fallbackUrls)||void 0===n?void 0:DS(n).call(n,(function(e){return t(e)}))}))})),n.push(eh(eh({},e),{},{definitions:i}))})),n}var cX=window.VePlayer.DynamicModule,lX=window.VePlayer.load,uX=window.VePlayer.util,dX=function(e){zy(s,e);var t,n,r,i,o,a=Ky(s);function s(){return Zm(this,s),a.apply(this,arguments)}return Ym(s,[{key:"protocolType",get:function(){return hx}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(o=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(i=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Kx(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)})},{key:"getAbrStrategy",value:(r=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==t||null===(n=t.hls)||void 0===n?void 0:n.abr){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,lX(cX.PluginAbr).catch((function(){}));case 5:return o=e.sent,e.abrupt("return",{options:{hlsabr:eh(eh({},i),{},{open:null===(r=i.enable)||void 0===r||r})},plugins:[null==o?void 0:o.HlsAbrPlugin]});case 7:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})},{key:"updateDrmConfig",value:(n=qm(Qm().mark((function e(t,n){var r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(o=null==n||null===(r=n._player)||void 0===r||null===(r=r.plugins)||void 0===r?void 0:r.drm,a=null==n||null===(i=n._player)||void 0===i||null===(i=i.plugins)||void 0===i?void 0:i.hls,!o){e.next=9;break}return o.restart(),e.abrupt("return",o.updateConfig(t));case 9:a&&(a.config=eh(eh({},a.config),Ux(t)));case 10:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getDrmStrategy",value:(t=qm(Qm().mark((function e(t,n){var r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.player,e.prev=1,null!=t&&t.drm){e.next=4;break}return e.abrupt("return",{options:{},plugins:[]});case 4:if(o=null!==(i=null==t?void 0:t.drm)&&void 0!==i?i:{},Cx(t)||!Lx(t)){e.next=7;break}return e.abrupt("return",{options:{hls:eh(eh({},t.hls),Ux(o))},plugins:[]});case 7:return e.next=9,lX(cX.PluginDrm).then((function(e){return e.DrmPlugin})).catch((function(){}));case 9:if(a=e.sent,e.t0=o,!e.t0){e.next=14;break}return e.next=14,null==r?void 0:r.updateDrmConfig(o);case 14:return e.abrupt("return",{options:{drm:o},plugins:a?[a]:[]});case 17:e.prev=17,e.t1=e.catch(1),console.log(e.t1);case 20:return e.abrupt("return",{});case 21:case"end":return e.stop()}}),e,null,[[1,17]])}))),function(e,n){return t.apply(this,arguments)})},{key:"getVeStrategy",value:function(){}}],[{key:"suffix",get:function(){return".m3u8"}},{key:"canGenerateOtherProtocol",value:function(){return!0}},{key:"generateUrl",value:function(e,t){var n=t.generateUrlFromOtherProtocol;return e[hx]?e[hx]:e[px]?sX(e[px],(function(e){return uX.appendSearchParams(e,{fpkey_normal_hls:"1"})})):n()}}]),s}(Ex),hX=function(e){zy(i,e);var t,n,r=Ky(i);function i(){return Zm(this,i),r.apply(this,arguments)}return Ym(i,[{key:"protocolType",get:function(){return px}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(n=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(t=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Kx(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"getVeStrategy",value:function(){}}],[{key:"suffix",get:function(){return".m3u8"}},{key:"generateUrl",value:function(e){return e[px]}},{key:"canGenerateOtherProtocol",value:function(){return!0}}]),i}(dX),pX=window.VePlayer.DynamicModule,fX=window.VePlayer.load;function gX(){return vX.apply(this,arguments)}function vX(){return(vX=qm(Qm().mark((function e(){var t,n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fX(pX.PluginRtm);case 2:return t=e.sent,n=t.RtmPlugin,e.abrupt("return",n.isSupported());case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mX(){return yX.apply(this,arguments)}function yX(){return yX=qm(Qm().mark((function e(){var t,n,r,i=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:Nye.H264,e.next=3,fX(pX.PluginRtm);case 3:if(n=e.sent,r=n.RtmPlugin,t!==Nye.H264){e.next=7;break}return e.abrupt("return",r.isSupportedH264());case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)}))),yX.apply(this,arguments)}function _X(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=lr(e);for(r=0;r<o.length;r++)n=o[r],dR(t).call(t,n)>=0||(i[n]=e[n]);return i}(e,t);if(Ns){var o=Ns(e);for(r=0;r<o.length;r++)n=o[r],dR(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var GX=["fallbackUrl","enableRTMAutoTranscode"],RX=window.VePlayer.strategy,bX=window.VePlayer.util,TX=window.VePlayer.DynamicModule,wX=window.VePlayer.load,SX=window.VePlayer.Codec,MX=window.VePlayer.Sniffer,EX={options:{},module:TX.PluginRtm},DX=function(e){return"pc"===MX.device?e.replace(".sdp",".flv"):e.replace(".sdp",".m3u8")},zX=function(){var e=qm(Qm().mark((function e(t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M,E,D;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c="",l=t.url,u=t.playlist,d=t.rtm||{},h=d.fallbackUrl,p=d.enableRTMAutoTranscode,f=_X(d,GX),g=t.rtm||{},v=g.enableFallback,m=void 0===v||v,null!=u&&u.length&&(m=!1),y=p||"true"===(null===(i=qI(l))||void 0===i?void 0:i.searchParams.get("enableRTMAutoTranscode")),m&&(h?c=h:y&&l?c=DX(l):console.warn(D_(M_.EMPTY_RTM_FALLBACK_PARAMETER,r).message)),"flv"===(_=c&&bX.getStreamType(c))&&bX.isMseSupported(SX.H264)?s=RX.createFlvMseStrategy(t):"hls"===_&&("mobile"!==MX.device||null!=t&&null!==(o=t.hls)&&void 0!==o&&o.enableMSE)&&bX.isMseSupported(SX.H264)&&(s=RX.createHlsMseStrategy(t)),e.next=11,qT.all([wX(EX.module).then((function(e){return e.RtmPlugin})).catch((function(){})),s&&wX(s.module).then((function(e){var t,n;return(null===(t=s)||void 0===t?void 0:t.module)===TX.PluginFlv?e.FlvPlugin:(null===(n=s)||void 0===n?void 0:n.module)===TX.PluginHls?e.HlsPlugin:void 0})).catch((function(){}))]);case 11:if(G=e.sent,R=dx(G,2),b=R[0],T=R[1],!c){e.next=25;break}return e.next=18,qT.all([gX(),mX()]);case 18:if(w=e.sent,S=dx(w,2),M=S[0],E=S[1],M&&E){e.next=25;break}return n&&n.emit("degrade",{url:c,originRtmUrl:l,code:"NOT_SUPPORT",message:"not support rtm or h264",isRTMSupported:M,isRTMSupportCodec:E}),e.abrupt("return",{options:eh(eh({},(null===(D=s)||void 0===D?void 0:D.options)||{}),{},{url:c,_RTMdegrade:{_originRtmUrl:l,_isRTMSupported:M,_isRTMSupportCodec:E}}),plugins:T?[T]:[]});case 25:return e.abrupt("return",{options:eh(eh({},(null===(a=s)||void 0===a?void 0:a.options)||{}),{},{url:p?bX.appendSearchParams(l,{enableRTMAutoTranscode:"true"}):void 0,_RTMdegrade:void 0,rts:eh(eh({retryCount:0},f),{},{backupURL:c,backupConstruct:T})}),plugins:b?[b]:[]});case 26:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),kX=function(e){zy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return gx}},{key:"defaultFallbackStrategy",get:function(){return Yd({},Mx.Error,{shouldFallback:function(){return!0}})}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){var t,n,r,i;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qT.all([gX(),mX()]);case 2:return t=e.sent,n=dx(t,2),r=n[0],i=n[1],e.abrupt("return",{canPlay:r&&i});case 7:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t,n){var r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.player,i=n.i18n,o=n.enableSelector,e.next=3,zX(o?{options:t,rtm:eh(eh({},t.rtm),{},{enableFallback:!1})}:t,r,i);case 3:return this.protocolStrategy=e.sent,e.abrupt("return",this.protocolStrategy);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:function(){}},{key:"getDrmStrategy",value:function(){}},{key:"getVeStrategy",value:(t=qm(Qm().mark((function e(t,n){var r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.veStrategyManager,o=null==i||null===(r=i.rtmAdaptiveBuffer)||void 0===r?void 0:r.getResult()){e.next=4;break}return e.abrupt("return",{options:t,plugins:[]});case 4:return e.abrupt("return",{options:{rts:eh({},o)},plugins:[]});case 5:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})},{key:"updateDrmConfig",value:function(){}}],[{key:"suffix",get:function(){return".sdp"}},{key:"canGenerateOtherProtocol",value:function(e){var t;return null===(t=e.rtm)||void 0===t?void 0:t.enableRTMAutoTranscode}},{key:"generateUrl",value:function(e,t){var n,r=t.generateUrlFromOtherProtocol,i=t.options;return e[gx]?e[gx]:null!==(n=i.rtm)&&void 0!==n&&n.enableRTMAutoTranscode?r():void console.warn("生成 rtm 地址失败。请传入 rtm 播放地址,或开启自动转码")}}]),o}(Ex),AX=function(){function e(t){var n=t.queue,r=t.streams,i=t.options;Zm(this,e),Yd(this,"current",void 0),Yd(this,"_queue",void 0),Yd(this,"_streams",void 0),Yd(this,"_options",void 0),this._queue=n,this._streams=r,this._options=i,this.current=this._getStartProtocol()}var t;return Ym(e,[{key:"getProtocol",value:(t=qm(Qm().mark((function e(){var t;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.current){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.current.canPlay();case 4:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=8;break}e.t0=void 0!==t;case 8:if(!e.t0){e.next=12;break}e.t2=t,e.next=13;break;case 12:e.t2={};case 13:if(!e.t2.canPlay){e.next=17;break}return e.abrupt("return",this.current);case 17:return this.next(),e.abrupt("return",this.getProtocol());case 19:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"next",value:function(){var e;this.current=null===(e=this.current)||void 0===e?void 0:e.nextProtocol}},{key:"_getStartProtocol",value:function(){for(var e,t=this._queue.length-1;t>=0;t--){var n=this._queue[t],r=this._streams[n];r&&(e&&(e.preProtocol=r,r.nextProtocol=e),e=r)}return e}}]),e}(),FX=function(e){zy(n,e);var t=Ky(n);function n(e){var r=e.streams,i=e.options;return Zm(this,n),t.call(this,{queue:n.queue,streams:r,options:i})}return Ym(n)}(AX);Yd(FX,"queue",[gx,vx,fx,px,hx]);var PX=function(e){zy(n,e);var t=Ky(n);function n(e){var r,i=e.streams,o=e.options;return Zm(this,n),t.call(this,{queue:null===(r=o.fallback)||void 0===r?void 0:r.fallbackOrder,streams:i,options:o})}return Ym(n)}(AX);Yd(PX,"queue",void 0);var IX={exports:{}};!function(e,n){var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object AsyncFunction]",s="[object Function]",c="[object GeneratorFunction]",l="[object Null]",u="[object Object]",d="[object Proxy]",h="[object Undefined]",p=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[o]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g[s]=g["[object Map]"]=g["[object Number]"]=g[u]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var v="object"==Wd(t)&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":Wd(self))&&self&&self.Object===Object&&self,y=v||m||Function("return this")(),_=n&&!n.nodeType&&n,G=_&&e&&!e.nodeType&&e,R=G&&G.exports===_,b=R&&v.process,T=function(){try{var e=G&&G.require&&G.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(ZO){}}(),w=T&&T.isTypedArray;var S=Array.prototype,M=Function.prototype,E=Object.prototype,D=y["__core-js_shared__"],z=M.toString,k=E.hasOwnProperty,A=function(){var e=/[^.]+$/.exec(D&&gM(D)&&gM(D).IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),F=E.toString,P=z.call(Object),I=RegExp("^"+z.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=R?y.Buffer:void 0,X=y.Symbol,H=y.Uint8Array,C=x?x.allocUnsafe:void 0,O=function(e,t){return function(n){return e(t(n))}}(yM,Object),L=vM,U=E.propertyIsEnumerable,B=sM(S),N=X?X.toStringTag:void 0,V=function(){try{var e=ve(Object,"defineProperty");return e({},"",{}),e}catch(ZO){}}(),j=x?x.isBuffer:void 0,K=Math.max,Q=vR,W=ve(y,"Map"),q=ve(Object,"create"),Z=function(){function e(){}return function(t){if(!De(t))return{};if(L)return L(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=this.__data__=new Y(e);this.size=t.size}function te(e,t){var n=Te(e),r=!n&&be(e),i=!n&&!r&&Se(e),o=!n&&!r&&!i&&ke(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!k.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||me(l,c))||s.push(l);return s}function ne(e,t,n){(void 0!==n&&!Re(e[t],n)||void 0===n&&!(t in e))&&oe(e,t,n)}function re(e,t,n){var r=e[t];k.call(e,t)&&Re(r,n)&&(void 0!==n||t in e)||oe(e,t,n)}function ie(e,t){for(var n=e.length;n--;)if(Re(e[n][0],t))return n;return-1}function oe(e,t,n){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return k.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:k.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ie(t,e);return!(n<0)&&(n==t.length-1?t.pop():B.call(t,n,1),--this.size,!0)},Y.prototype.get=function(e){var t=this.__data__,n=ie(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ie(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},J.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(W||Y),string:new $}},J.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},J.prototype.get=function(e){return ge(this,e).get(e)},J.prototype.has=function(e){return ge(this,e).has(e)},J.prototype.set=function(e,t){var n=ge(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ee.prototype.clear=function(){this.__data__=new Y,this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ee.prototype.get=function(e){return this.__data__.get(e)},ee.prototype.has=function(e){return this.__data__.has(e)},ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new J(r)}return n.set(e,t),this.size=n.size,this};var ae,se=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[ae?a:++r];if(!1===t(i[s],s,i))break}return e};function ce(e){return null==e?void 0===e?h:l:N&&N in Object(e)?function(e){var t=k.call(e,N),n=e[N];try{e[N]=void 0;var r=!0}catch(ZO){}var i=F.call(e);r&&(t?e[N]=n:delete e[N]);return i}(e):function(e){return F.call(e)}(e)}function le(e){return ze(e)&&ce(e)==o}function ue(e){return!(!De(e)||function(e){return!!A&&A in e}(e))&&(Me(e)?I:p).test(function(e){if(null!=e){try{return z.call(e)}catch(ZO){}try{return e+""}catch(ZO){}}return""}(e))}function de(e){if(!De(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&k.call(e,r))&&n.push(r);return n}function he(e,t,n,r,i){e!==t&&se(t,(function(o,a){if(i||(i=new ee),De(o))!function(e,t,n,r,i,o,a){var s=_e(e,n),c=_e(t,n),l=a.get(c);if(l)return void ne(e,n,l);var d=o?o(s,c,n+"",e,t,a):void 0,h=void 0===d;if(h){var p=Te(c),f=!p&&Se(c),g=!p&&!f&&ke(c);d=c,p||f||g?Te(s)?d=s:ze(G=s)&&we(G)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):f?(h=!1,d=function(e,t){if(t)return mG(e).call(e);var n=e.length,r=C?C(n):new e.constructor(n);return e.copy(r),r}(c,!0)):g?(h=!1,v=c,m=!0?(y=v.buffer,_=new y.constructor(y.byteLength),new H(_).set(new H(y)),_):v.buffer,d=new v.constructor(m,v.byteOffset,v.length)):d=[]:function(e){if(!ze(e)||ce(e)!=u)return!1;var t=O(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&z.call(n)==P}(c)||be(c)?(d=s,be(s)?d=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?oe(n,s,c):re(n,s,c)}return n}(e,Ae(e))}(s):De(s)&&!Me(s)||(d=function(e){return"function"!=typeof e.constructor||ye(e)?{}:Z(O(e))}(c))):h=!1}var v,m,y,_;var G;h&&(a.set(c,d),i(d,c,r,o,a),a.delete(c));ne(e,n,d)}(e,t,a,n,he,r,i);else{var s=r?r(_e(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ne(e,a,s)}}),Ae)}function pe(e,t){return Ge(function(e,t,n){return t=K(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=K(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ie),e+"")}var fe=V?function(e,t){return V(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ie;function ge(e,t){var n,r,i=e.__data__;return("string"==(r=Wd(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:DS(i)}function ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function me(e,t){var n=Wd(e);return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&f.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function _e(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ge=function(e){var t=0,n=0;return function(){var r=Q(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(fe);function Re(e,t){return e===t||e!=e&&t!=t}var be=le(function(){return arguments}())?le:function(e){return ze(e)&&k.call(e,"callee")&&!U.call(e,"callee")},Te=uS;function we(e){return null!=e&&Ee(e.length)&&!Me(e)}var Se=j||function(){return!1};function Me(e){if(!De(e))return!1;var t=ce(e);return t==s||t==c||t==a||t==d}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function De(e){var t=Wd(e);return null!=e&&("object"==t||"function"==t)}function ze(e){return null!=e&&"object"==Wd(e)}var ke=w?function(e){return function(t){return e(t)}}(w):function(e){return ze(e)&&Ee(e.length)&&!!g[ce(e)]};function Ae(e){return we(e)?te(e,!0):de(e)}var Fe,Pe=(Fe=function(e,t,n){he(e,t,n)},pe((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Fe.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!De(n))return!1;var r=Wd(t);return!!("number"==r?we(n)&&me(t,n.length):"string"==r&&t in n)&&Re(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Fe(e,a,n,i)}return e})));function Ie(e){return e}e.exports=Pe}(IX,IX.exports);var xX=n(IX.exports),XX=window.VePlayer.DynamicModule,HX=window.VePlayer.Codec;function CX(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:HX.H264;return ux(e)||cx(e)}var OX,LX=window.VePlayer.load,UX=function(e){zy(o,e);var t,n,r,i=Ky(o);function o(){return Zm(this,o),i.apply(this,arguments)}return Ym(o,[{key:"protocolType",get:function(){return mx}},{key:"defaultFallbackStrategy",get:function(){return{}}},{key:"canPlay",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{canPlay:CX()});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"shouldFallbackWhenStall",value:function(){return!1}},{key:"getProtocolStrategy",value:(n=qm(Qm().mark((function e(t){var n,r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={options:{},module:XX.PluginDashJs}){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,(null==n?void 0:n.module)&&LX(n.module).catch((function(){}));case 5:return r=e.sent,e.abrupt("return",{options:n.options,plugins:null!=r&&r.DashPlugin?[r.DashPlugin]:[]});case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"getAbrStrategy",value:function(){}},{key:"getVeStrategy",value:function(){}},{key:"getDrmStrategy",value:(t=qm(Qm().mark((function e(t){var n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t&&t.drm){e.next=2;break}return e.abrupt("return",{});case 2:return n=this._generateDashDrmConfig(t.drm),e.abrupt("return",{options:{dash:eh(eh({},t.dash),{},{protData:n})},plugins:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"updateDrmConfig",value:function(e,t){var n;if(e){var r=this._generateDashDrmConfig(e),i=null==t||null===(n=t._player)||void 0===n||null===(n=n.plugins)||void 0===n?void 0:n.dash;i&&(i.protData=r)}}},{key:"_generateDashDrmConfig",value:function(e){var t;return iX(t=jG(e)).call(t,(function(t,n){var r,i=yx[n];i&&(t[i]={serverURL:null==e||null===(r=e[n])||void 0===r?void 0:r.serverProcessSPCPath});return t}),{})}}],[{key:"suffix",get:function(){return".mpd"}},{key:"canGenerateOtherProtocol",value:function(){return!0}},{key:"generateUrl",value:function(e,t){var n,r=t.generateUrlFromOtherProtocol;return null!==(n=e[mx])&&void 0!==n?n:r()}}]),o}(Ex),BX=function(){function e(t){Zm(this,e),Yd(this,"_options",void 0),Yd(this,"_selector",void 0),Yd(this,"_protocol",void 0),Yd(this,"_playlistMap",{}),this._options=t,this._init({url:t.url,playlist:t.playlist})}var t,n,r,i,o;return Ym(e,[{key:"enableSelector",get:function(){return!!this._selector}},{key:"protocol",get:function(){return this._protocol}},{key:"playlist",get:function(){var e;return null!==(e=this._protocol)&&void 0!==e&&e.protocolType&&this._playlistMap?this._playlistMap[this._protocol.protocolType]:void 0}},{key:"getProtocol",value:(o=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._selector){e.next=4;break}return e.next=3,this._selector.getProtocol();case 3:this._protocol=e.sent;case 4:return e.abrupt("return",this._protocol);case 5:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"update",value:(i=qm(Qm().mark((function e(t){var n,r;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.url,r=t.playlist,this._options=eh(eh({},this._options),{},{url:n,playlist:r}),this._init({url:n,playlist:r}),e.next=5,this.getProtocol();case 5:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"next",value:(r=qm(Qm().mark((function e(){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._selector){e.next=2;break}return e.abrupt("return");case 2:return this._selector.next(),e.next=5,this.getProtocol();case 5:return e.abrupt("return",this._protocol);case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getStrategy",value:(n=qm(Qm().mark((function e(t,n,r){var i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M,E;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=this._protocol,e.next=3,qT.all([null==l?void 0:l.getProtocolStrategy(this._options,{player:t,i18n:n,enableSelector:!!this._selector}),null==l||null===(i=l.getDrmStrategy)||void 0===i?void 0:i.call(l,this._options,{player:t}),null==l||null===(o=l.getAbrStrategy)||void 0===o?void 0:o.call(l,this._options),null==l||null===(a=l.getVeStrategy)||void 0===a?void 0:a.call(l,this._options,{veStrategyManager:r})]);case 3:return u=e.sent,d=dx(u,4),h=d[0],p=d[1],f=d[2],g=d[3],m=(v=null!=h?h:{}).options,y=v.plugins,G=(_=null!=p?p:{}).options,R=_.plugins,T=(b=null!=f?f:{}).options,w=b.plugins,M=(S=null!=g?g:{}).options,E=S.plugins,e.abrupt("return",{options:xX(m,G,T,M),plugins:b_(s=[]).call(s,v_(null!=y?y:[]),v_(null!=R?R:[]),v_(null!=w?w:[]),v_(null!=E?E:[])),useSrc:!(null!=h&&null!==(c=h.plugins)&&void 0!==c&&c.length),protocol:null==l?void 0:l.protocolType});case 14:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_init",value:function(t){var n=t.url,r=t.playlist;if(r){var i,o,a=aX(r),s="low"===this._options.latencyMode?FX:PX,c=null!==(i=null==s?void 0:s.queue)&&void 0!==i?i:null===(o=this._options.fallback)||void 0===o?void 0:o.fallbackOrder;if(null!=c&&c.length){var l=e._generateProtocolMap(c,a,this._options),u=l.protocolMap,d=l.playlistMap;return this._playlistMap=d,void(this._selector=new s({streams:u,options:this._options}))}this._playlistMap=a,this._initSingleProtocol(jG(a)[0])}else n&&this._initSingleProtocol(sx(n))}},{key:"_initSingleProtocol",value:function(t){t&&(this._protocol=new e._protocolMap[t](this._options))}}],[{key:"create",value:(t=qm(Qm().mark((function t(n){var r;return Qm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new e(n),t.next=3,r.getProtocol();case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})},{key:"_generateProtocolMap",value:function(t,n,r){var i={},o={},a=LS(t).call(t,(function(t){return e._protocolMap[t].canGenerateOtherProtocol(r)&&n[t]}));return qG(t).call(t,(function(t){var s,c,l=null!==(s=null===(c=e._protocolMap[t])||void 0===c?void 0:c.generateUrl(n,{generateUrlFromOtherProtocol:function(){if(a)return function(e,t,n){return sX(e,(function(e){return e.replace(t,n)}))}(n[a],e._protocolMap[a].suffix,e._protocolMap[t].suffix)},options:r}))&&void 0!==s?s:n[t];l&&(o[t]=l,i[t]=new e._protocolMap[t](r))})),{protocolMap:i,playlistMap:o}}}]),e}();Yd(BX,"_protocolMap",(Yd(OX={},fx,xx),Yd(OX,vx,Xx),Yd(OX,hx,dX),Yd(OX,px,hX),Yd(OX,gx,kX),Yd(OX,mx,UX),OX));var NX=function(){function e(){var t=this;Zm(this,e),Yd(this,"player",void 0),Yd(this,"protocolManager",void 0),Yd(this,"beforeFallbackError",function(){var e=qm(Qm().mark((function e(n){var r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(r=t.protocolManager)&&void 0!==r&&null!==(r=r.protocol)&&void 0!==r&&r.shouldFallbackWhenError({error:n})&&null!==(i=t.protocolManager)&&void 0!==i&&null!==(i=i.protocol)&&void 0!==i&&i.nextProtocol){e.next=2;break}return e.abrupt("return",{canEmitError:!0});case 2:return e.next=4,null===(o=t.protocolManager)||void 0===o?void 0:o.next();case 4:if(e.sent&&null!==(a=t.protocolManager)&&void 0!==a&&a.playlist){e.next=7;break}return e.abrupt("return",{canEmitError:!0});case 7:return t.fallback(),e.abrupt("return",{canEmitError:!1});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}var t;return Ym(e,[{key:"initErrorFallback",value:function(e,t){this.player=e,this.protocolManager=t}},{key:"fallback",value:(t=qm(Qm().mark((function e(){var t,n,r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(t=this.protocolManager)&&void 0!==t&&t.playlist){e.next=2;break}return e.abrupt("return");case 2:o=null===(n=this.player)||void 0===n?void 0:n.definition,a=null===(r=this.player)||void 0===r?void 0:r.source,null===(i=this.player)||void 0===i||i.updatePlaylist(this.protocolManager.playlist,{definition:o,source:a},!1);case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),VX=new NX;IF("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),qF);var jX=te.Set,KX=Ee,QX=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw TypeError(KX(e)+" is not a set")},WX=lP,qX=ae("Set"),ZX=qX.prototype,$X={Set:qX,add:WX("add",1),has:WX("has",1),remove:WX("delete",1),proto:ZX},YX=GP,JX=function(e,t,n){return n?YX(e.keys(),t):e.forEach(t)},eH=JX,tH=$X.Set,nH=$X.add,rH=function(e){var t=new tH;return eH(e,(function(e){nH(t,e)})),t},iH=function(e){return e.size},oH=Ae,aH=nn,sH=F,cH=In,lH=TypeError,uH=Math.max,dH=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r};dH.prototype={getIterator:function(){return aH(sH(this.keys,this.set))},includes:function(e){return sH(this.has,this.set,e)}};var hH=function(e){aH(e);var t=+e.size;if(t!=t)throw lH("Invalid size");return new dH(e,uH(cH(t),0),oH(e.has),oH(e.keys))},pH=QX,fH=rH,gH=iH,vH=hH,mH=JX,yH=GP,_H=$X.has,GH=$X.remove,RH=function(e){var t=pH(this),n=vH(e),r=fH(t);return gH(t)<=n.size?mH(t,(function(e){n.includes(e)&&GH(r,e)})):yH(n.getIterator(),(function(e){_H(t,e)&&GH(r,e)})),r},bH=function(){return!1},TH=RH;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{difference:TH});var wH=QX,SH=iH,MH=hH,EH=JX,DH=GP,zH=$X.Set,kH=$X.add,AH=$X.has,FH=function(e){var t=wH(this),n=MH(e),r=new zH;return SH(t)>n.size?DH(n.getIterator(),(function(e){AH(t,e)&&kH(r,e)})):EH(t,(function(e){n.includes(e)&&kH(r,e)})),r},PH=FH;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{intersection:PH});var IH=QX,xH=$X.has,XH=iH,HH=hH,CH=JX,OH=GP,LH=Wh,UH=function(e){var t=IH(this),n=HH(e);if(XH(t)<=n.size)return!1!==CH(t,(function(e){if(n.includes(e))return!1}),!0);var r=n.getIterator();return!1!==OH(r,(function(e){if(xH(t,e))return LH(r,"normal",!1)}))},BH=UH;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{isDisjointFrom:BH});var NH=QX,VH=iH,jH=JX,KH=hH,QH=function(e){var t=NH(this),n=KH(e);return!(VH(t)>n.size)&&!1!==jH(t,(function(e){if(!n.includes(e))return!1}),!0)},WH=QH;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{isSubsetOf:WH});var qH=QX,ZH=$X.has,$H=iH,YH=hH,JH=GP,eC=Wh,tC=function(e){var t=qH(this),n=YH(e);if($H(t)<n.size)return!1;var r=n.getIterator();return!1!==JH(r,(function(e){if(!ZH(t,e))return eC(r,"normal",!1)}))},nC=tC;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{isSupersetOf:nC});var rC=QX,iC=rH,oC=hH,aC=GP,sC=$X.add,cC=$X.has,lC=$X.remove,uC=function(e){var t=rC(this),n=oC(e).getIterator(),r=iC(t);return aC(n,(function(e){cC(t,e)?lC(r,e):sC(r,e)})),r},dC=uC;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{symmetricDifference:dC});var hC=QX,pC=$X.add,fC=rH,gC=hH,vC=GP,mC=function(e){var t=hC(this),n=gC(e).getIterator(),r=fC(t);return vC(n,(function(e){pC(r,e)})),r},yC=mC;zn({target:"Set",proto:!0,real:!0,forced:!bH()},{union:yC});var _C=jX;zn({target:"Set",stat:!0,forced:!0},{from:iP}),zn({target:"Set",stat:!0,forced:!0},{of:aP});var GC=QX,RC=$X.add;zn({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=GC(this),t=0,n=arguments.length;t<n;t++)RC(e,arguments[t]);return e}});var bC=QX,TC=$X.remove;zn({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=bC(this),n=!0,r=0,i=arguments.length;r<i;r++)e=TC(t,arguments[r]),n=n&&e;return!!n}});var wC=Zt,SC=QX,MC=JX;zn({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=SC(this),n=wC(e,arguments.length>1?arguments[1]:void 0);return!1!==MC(t,(function(e){if(!n(e,e,t))return!1}),!0)}});var EC=yr,DC=Ye,zC=j,kC=Fc,AC=ht("iterator"),FC=Object,PC=E,IC=function(e){if(zC(e))return!1;var t=FC(e);return void 0!==t[AC]||"@@iterator"in t||DC(kC,EC(t))},xC=ee,XC=ae("Set"),HC=function(e){return function(e){return xC(e)&&"number"==typeof e.size&&PC(e.has)&&PC(e.keys)}(e)?e:IC(e)?new XC(e):e},CC=F,OC=HC,LC=RH;zn({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return CC(LC,this,OC(e))}});var UC=Zt,BC=QX,NC=JX,VC=$X.Set,jC=$X.add;zn({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=BC(this),n=UC(e,arguments.length>1?arguments[1]:void 0),r=new VC;return NC(t,(function(e){n(e,e,t)&&jC(r,e)})),r}});var KC=Zt,QC=QX,WC=JX;zn({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=QC(this),n=KC(e,arguments.length>1?arguments[1]:void 0),r=WC(t,(function(e){if(n(e,e,t))return{value:e}}),!0);return r&&r.value}});var qC=F,ZC=HC,$C=FH;zn({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return qC($C,this,ZC(e))}});var YC=F,JC=HC,eO=UH;zn({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return YC(eO,this,JC(e))}});var tO=F,nO=HC,rO=QH;zn({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return tO(rO,this,nO(e))}});var iO=F,oO=HC,aO=tC;zn({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return iO(aO,this,oO(e))}});var sO=zn,cO=v,lO=QX,uO=JX,dO=Rr,hO=cO([].join),pO=cO([].push);sO({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=lO(this),n=void 0===e?",":dO(e),r=[];return uO(t,(function(e){pO(r,e)})),hO(r,n)}});var fO=Zt,gO=QX,vO=JX,mO=$X.Set,yO=$X.add;zn({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=gO(this),n=fO(e,arguments.length>1?arguments[1]:void 0),r=new mO;return vO(t,(function(e){yO(r,n(e,e,t))})),r}});var _O=Ae,GO=QX,RO=JX,bO=TypeError;zn({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=GO(this),n=arguments.length<2,r=n?void 0:arguments[1];if(_O(e),RO(t,(function(i){n?(n=!1,r=i):r=e(r,i,i,t)})),n)throw bO("Reduce of empty set with no initial value");return r}});var TO=Zt,wO=QX,SO=JX;zn({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=wO(this),n=TO(e,arguments.length>1?arguments[1]:void 0);return!0===SO(t,(function(e){if(n(e,e,t))return!0}),!0)}});var MO=F,EO=HC,DO=uC;zn({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return MO(DO,this,EO(e))}});var zO=F,kO=HC,AO=mC;zn({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return zO(AO,this,kO(e))}});var FO,PO=n(_C),IO=nn,xO=F,XO=Ye,HO=se,CO=function(){var e=IO(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},OO=RegExp.prototype,LO=se,UO=function(e){var t=e.flags;return void 0!==t||"flags"in OO||XO(e,"flags")||!HO(OO,e)?t:xO(CO,e)},BO=RegExp.prototype,NO=n((function(e){return e===BO||LO(BO,e)?UO(e):e.flags})),VO=n(II),jO=function(){return(jO=zT||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function KO(e,t){var n="function"==typeof YG&&_M(e);if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function QO(){for(var e=[],t=0;t<arguments.length;t++)e=b_(e).call(e,KO(arguments[t]));return e}var WO,qO,ZO,$O,YO,JO,eL=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 n=this;e&&t&&"function"==typeof t&&this.on(e,(function r(i){t(i),n.off(e,r)}))},e.prototype.off=function(e,t){if(e&&this._hooks[e]&&this._hooks[e].length)if(t){var n,r,i=hR(n=this._hooks[e]).call(n,t);-1!==i&&sM(r=this._hooks[e]).call(r,i,1)}else this._hooks[e]=[]},e.prototype.emit=function(e,t,n){if(n){var r;if(!e)return;-1!==hR(r=this._cache).call(r,n)?this._emit(e,t):(this._hooksCache.hasOwnProperty(n)||(this._hooksCache[n]={}),this._hooksCache[n].hasOwnProperty(e)||(this._hooksCache[n][e]=[]),this._hooksCache[n][e].push(t))}else this._emit(e,t)},e.prototype._emit=function(e,t){var n;e&&this._hooks[e]&&this._hooks[e].length&&qG(n=QO(this._hooks[e])).call(n,(function(e){try{e(t)}catch(n){}}))},e.prototype.set=function(e){var t;e&&-1===hR(t=this._cache).call(t,e)&&this._cache.push(e)},e}(),tL=function(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)},nL=(WO=+vR()+Number(mG(FO=""+Math.random()).call(FO,2,8)),function(){return WO+=1}),rL=function(e){return function(e,t,n){if("string"==typeof e&&"number"==typeof n){var r,i=[];n=n<=25?n:n%25;var o=String.fromCharCode(n+97);r=e.split(o);for(var a=0;a<r.length;a++){var s=Y_(r[a],n);s=1*s^64;var c=String.fromCharCode(s);i.push(c)}return i.join("")}}(e,0,25)},iL=function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},oL=function(e){var t=document.createElement("a");return t.href=e,t},aL=function(e){var t={};try{var n,r=oL(e).search;if(!r)return t;qG(n=(r=mG(r).call(r,1)).split("&")).call(n,(function(e){var n,r,i=e.split("=");i.length&&(n=i[0],r=i[1]);try{t[n]=decodeURIComponent(void 0===r?"":r)}catch(o){t[n]=r}}))}catch(i){}return t},sL=function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t},cL=(ZO=qO={exports:{}},$O=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=PT(n);/^[\{\[]/.test(a)&&(n=a)}catch(l){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in o)o[c]&&(s+="; "+c,!0!==o[c]&&(s+="="+o[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),c=mG(s).call(s,1).join("=");n||'"'!==c.charAt(0)||(c=mG(c).call(c,1,-1));try{var l=t(s[0]);if(c=(r.read||r)(c,l)||t(c),n)try{c=JSON.parse(c)}catch(u){}if(i[l]=c,e===l)break}catch(u){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))},ZO.exports=$O(),qO.exports),lL=function(e,t){try{return e?cL.get(e):cL.get()}catch(n){return""}},uL=function(e,t,n,r){try{var i=r||document.domain,o=+new Date+(n||6048e5);cL.set(e,t,{expires:new Date(o),path:"/",domain:i})}catch(a){}},dL=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,t){return lL(e)},e.prototype.setCookie=function(e,t,n,r){uL(e,t,n,r)},e}(),hL={getItem:function(e){try{var t=localStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);localStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{localStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return lL(e)},setCookie:function(e,t,n,r){uL(e,t,n,r)},isSupportLS:function(){try{return localStorage.setItem("_ranger-test-key","hi"),localStorage.getItem("_ranger-test-key"),localStorage.removeItem("_ranger-test-key"),!0}catch(ZO){return!1}}()},pL={getItem:function(e){try{var t=sessionStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);sessionStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{sessionStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return lL(e)},setCookie:function(e,t,n,r){uL(e,t,n,r)},isSupportSession:function(){try{return sessionStorage.setItem("_ranger-test-key","hi"),sessionStorage.getItem("_ranger-test-key"),sessionStorage.removeItem("_ranger-test-key"),!0}catch(ZO){return!1}}()},fL=function(){function e(e,t){this._storage=t&&"session"===t?pL:!e&&hL.isSupportLS?hL:new dL}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,n,r){this._storage.setCookie(e,t,n,r)},e.prototype.removeItem=function(e){this._storage.removeItem(e)},e}(),gL=function(){function e(e,t,n){this.appid=e,this.domain=t,this.userAgent=window.navigator.userAgent,this.appVersion=window.navigator.appVersion,this.cookie_expire=n}return e.prototype.init=function(){var e,t=window.navigator.userAgent,n=window.navigator.language,r=document.referrer,i=r?oL(r).hostname:"",o=aL(window.location.href),a=/Mobile|htc|mini|Android|iP(ad|od|hone)/.test(this.appVersion)?"wap":"web",s=(null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType)||"";this.utm=function(e,t,n,r){var i=new fL(!1),o=new fL(!1,"session"),a=e?"_tea_utm_cache_"+e:"_tea_utm_cache",s=e?"_$utm_from_url_"+e:"_$utm_from_url",c={},l=["tr_shareuser","tr_admaster","tr_param1","tr_param2","tr_param3","tr_param4","$utm_from_url"],u={ad_id:Number(t.ad_id)||void 0,campaign_id:Number(t.campaign_id)||void 0,creative_id:Number(t.creative_id)||void 0,utm_source:t.utm_source,utm_medium:t.utm_medium,utm_campaign:t.utm_campaign,utm_term:t.utm_term,utm_content:t.utm_content,tr_shareuser:t.tr_shareuser,tr_admaster:t.tr_admaster,tr_param1:t.tr_param1,tr_param2:t.tr_param2,tr_param3:t.tr_param3,tr_param4:t.tr_param4};try{var d=!1;for(var h in u)u[h]&&(-1!==hR(l).call(l,h)?(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data[h]=u[h]):c[h]=u[h],d=!0);if(d)o.setItem(s,"1"),i.setCookie(a,PT(c),r,n);else{var p=i.getCookie(a,n);p&&(c=JSON.parse(p))}o.getItem(s)&&(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data.$utm_from_url=1)}catch(f){return u}return c}(this.appid,o,this.domain,this.cookie_expire);var c=this.browser(),l=this.os();return{browser:c.browser,browser_version:c.browser_version,platform:a,os_name:l.os_name,os_version:l.os_version,userAgent:t,screen_width:window.screen&&window.screen.width,screen_height:window.screen&&window.screen.height,device_model:this.getDeviceModel(l.os_name),language:n,referrer:r,referrer_host:i,network_type:s,utm:this.utm,latest_data:this.last(r,i)}},e.prototype.last=function(e,t){var n="",r="",i="",o=location.hostname,a=!1;if(e&&t&&o!==t){n=e,r=t,a=!0;var s=aL(e);s.keyword&&(i=s.keyword)}return{$latest_referrer:n,$latest_referrer_host:r,$latest_search_keyword:i,isLast:a}},e.prototype.browser=function(){var e,t,n="",r=""+iE(this.appVersion),i=this.userAgent;return-1!==hR(i).call(i,"Edge")||-1!==hR(i).call(i,"Edg")?(n="Microsoft Edge",-1!==hR(i).call(i,"Edge")?(e=hR(i).call(i,"Edge"),r=i.substring(e+5)):(e=hR(i).call(i,"Edg"),r=i.substring(e+4))):-1!==(e=hR(i).call(i,"MSIE"))?(n="Microsoft Internet Explorer",r=i.substring(e+5)):-1!==(e=hR(i).call(i,"MetaSr"))?(n="sougoubrowser",r=i.substring(e+7,e+10)):-1!==hR(i).call(i,"MQQBrowser")||-1!==hR(i).call(i,"QQBrowser")?(n="qqbrowser",-1!==hR(i).call(i,"MQQBrowser")?(e=hR(i).call(i,"MQQBrowser"),r=i.substring(e+11,e+15)):-1!==hR(i).call(i,"QQBrowser")&&(e=hR(i).call(i,"QQBrowser"),r=i.substring(e+10,e+25))):-1!==hR(i).call(i,"Chrome")?-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"360"))?(n="360browser",r=i.substring(hR(i).call(i,"Chrome")+7)):-1!==hR(i).call(i,"baidubrowser")||-1!==hR(i).call(i,"BIDUBrowser")?(-1!==hR(i).call(i,"baidubrowser")?(e=hR(i).call(i,"baidubrowser"),r=i.substring(e+13,e+16)):-1!==hR(i).call(i,"BIDUBrowser")&&(e=hR(i).call(i,"BIDUBrowser"),r=i.substring(e+12,e+15)),n="baidubrowser"):-1!==(e=hR(i).call(i,"xiaomi"))?-1!==hR(i).call(i,"openlanguagexiaomi")?(n="openlanguage xiaomi",r=i.substring(e+7,e+13)):(n="xiaomi",r=i.substring(e-7,e-1)):-1!==(e=hR(i).call(i,"TTWebView"))?(n="TTWebView",r=i.substring(e+10,e+23)):(-1!==(e=hR(i).call(i,"Chrome"))||-1!==(e=hR(i).call(i,"Chrome")))&&(n="Chrome",r=i.substring(e+7)):-1!==hR(i).call(i,"Safari")?-1!==(e=hR(i).call(i,"QQ"))?(n="qqbrowser",r=i.substring(e+10,e+16)):-1!==(e=hR(i).call(i,"Safari"))&&(n="Safari",r=i.substring(e+7),-1!==(e=hR(i).call(i,"Version"))&&(r=i.substring(e+8))):-1!==(e=hR(i).call(i,"Firefox"))?(n="Firefox",r=i.substring(e+8)):-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"QQ"))&&(n="qqbrowser",r=i.substring(e+3,e+8)),-1!==(t=hR(r).call(r,";"))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r," "))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r,")"))&&(r=r.substring(0,t)),{browser:n,browser_version:r}},e.prototype.os=function(){for(var e,t="",n="",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:"Windows",r:/(Windows|Windows NT)/},{s:"Android",r:/Android/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"chromeOS",r:/CrOS/},{s:"Linux",r:/(Linux|X11)/},{s:"Sun OS",r:/SunOS/}],i=0;i<r.length;i++){var o=r[i];if(o.r.test(this.userAgent)){"Mac OS X"===(t=o.s)&&this.isNewIpad()&&(t="iOS");break}}var a,s,c=function(e,t){var n=e.exec(t);return n&&n[1]?n[1]:""},l=function(e,t){var n=RegExp("(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:"+e+")","i").exec(t);return n?mG(n).call(n,1)[0]:""};switch(/Windows/.test(t)&&(n=c(/Windows (.*)/,t),t="windows"),t){case"Mac OS X":n=l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent),t="mac";break;case"Android":(s=c(/Android ([\.\_\d]+)/,a=this.userAgent))||(s=c(/Android\/([\.\_\d]+)/,a)),n=s,t="android";break;case"iOS":n=this.isNewIpad()?l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent):(n=/OS (\d+)_(\d+)_?(\d+)?/.exec(this.appVersion))?n[1]+"."+n[2]+"."+(0|n[3]):"",t="ios";break;case"chromeOS":var u=hR(e=this.userAgent).call(e,"x86_64");n=this.userAgent.substring(u+7,u+16)}return{os_name:t,os_version:n}},e.prototype.getDeviceModel=function(e){var t="";try{var n;if("android"===e)qG(n=navigator.userAgent.split(";")).call(n,(function(e){hR(e).call(e,"Build/")>-1&&(t=mG(e).call(e,0,hR(e).call(e,"Build/")))}));else if("ios"===e||"mac"===e||"windows"===e)if(this.isNewIpad())t="iPad";else{var r=navigator.userAgent.replace("Mozilla/5.0 (",""),i=hR(r).call(r,";");t=-1===i?"":mG(r).call(r,0,i)}}catch(o){return pE(t).call(t)}return pE(t).call(t)},e.prototype.isNewIpad=function(){return void 0!==this.userAgent&&"MacIntel"===navigator.platform&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1},e}(),vL={cn:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1gz22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k"},mL={cn:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az28z1gz1hz1gz1cz18z1nz1gz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz21z1ez18z1jz1gz49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz1kz18z1jz1gz24z18z49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",my:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z49z19z1bz49z1kz27z4az1jz18z20z1iz1mz1dz1dz1gz1az1cz4az1az1mz1k"},yL="5.3.1",_L=(rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z1cz1bz1gz22z1mz20z49z20z18z1lz1ez1cz20z21z4az1hz21"),rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1az1mz20z1cz4az1hz21"),rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1jz1mz18z1bz1cz20z4az1hz21"),rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1fz1cz18z22z1kz18z1nz49z1az1mz20z1c"),rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz4fz49z1bz18z22z18z4az24z1mz1jz1az1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz1bz18z22z18z49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz22z1cz21z22z1cz20z49z1cz24z1cz1lz22z49z1gz1lz21z1nz1cz1az22z1mz20"),function(){function e(e,t){this.collector=e,this.config=t,this.eventNameWhiteList=["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","__bav_slide"],this.paramsNameWhiteList=["$inactive","$inline","$target_uuid_list","$source_uuid","$is_spider","$source_id","$is_first_time","_staging_flag"],this.regStr=new RegExp("^[a-zA-Z0-9][a-z0-9A-Z_.-]{1,255}$")}return e.prototype.checkVerify=function(e){var t=this;if(!e||!e.length)return!1;var n=e[0];if(!n)return!1;var r=n.events,i=n.header;if(!r||!r.length)return!1;var o=!0;return qG(r).call(r,(function(e){if(!e)return o=!1,void(e.checkEvent="事件异常");t.checkEventName(e.event)||(o=!1,e.checkEvent="事件名不能以 $ or __开头"),t.checkEventParams(e.params)||(o=!1,e.checkParams="属性名不能以 $ or __开头")})),this.checkEventParams(i)||(o=!1),o},e.prototype.checkEventName=function(e){return!!e&&this.calculate(e,"event")},e.prototype.checkEventParams=function(e){var t=e;if("string"==typeof e&&(t=JSON.parse(t)),!jG(t).length)return!0;for(var n in t)return!(!this.calculate(n,"params")||"string"==typeof t[n]&&t[n].length>1024&&(console.warn("params: "+n+" can not over 1024 byte, please check;"),1));return!0},e.prototype.calculate=function(e,t){var n;return-1!==hR(n="event"===t?this.eventNameWhiteList:this.paramsNameWhiteList).call(n,e)||!new RegExp("^\\$").test(e)&&!new RegExp("^__").test(e)||(console.warn(("event"===t?"event":"params")+" name: "+e+" can not start with $ or __, pleace check;"),!1)},e}());!function(e){e.Init="init",e.Config="config",e.Start="start",e.Ready="ready",e.UnReady="un-ready",e.TokenComplete="token-complete",e.TokenStorage="token-storage",e.TokenFetch="token-fetch",e.TokenError="token-error",e.ConfigUuid="config-uuid",e.ConfigWebId="config-webid",e.ConfigDiD="config-device-id",e.ConfigDomain="config-domain",e.CustomWebId="custom-webid",e.TokenChange="token-change",e.TokenReset="token-reset",e.ConfigTransform="config-transform",e.EnvTransform="env-transform",e.SessionReset="session-reset",e.SessionResetTime="session-reset-time",e.SetSessionId="set-session-id",e.Event="event",e.Events="events",e.EventNow="event-now",e.CleanEvents="clean-events",e.BeconEvent="becon-event",e.SubmitBefore="submit-before",e.SubmitScuess="submit-scuess",e.SubmitAfter="submit-after",e.SubmitError="submit-error",e.SubmitVerify="submit-verify",e.CustomHeader="custom-request-header",e.SDKInnerError="sdk-inner-error",e.SDKRunTimeError="sdk-run-time-error",e.LogSetting="log-setting",e.LogSettingReady="log-setting-ready",e.Stay="stay",e.ResetStay="reset-stay",e.StayReady="stay-ready",e.SetStay="set-stay",e.RouteChange="route-change",e.RouteReady="route-ready",e.Ab="ab",e.AbVar="ab-var",e.AbAllVars="ab-all-vars",e.AbConfig="ab-config",e.AbExternalVersion="ab-external-version",e.AbVersionChangeOn="ab-version-change-on",e.AbVersionChangeOff="ab-version-change-off",e.AbOpenLayer="ab-open-layer",e.AbCloseLayer="ab-close-layer",e.AbReady="ab-ready",e.AbComplete="ab-complete",e.AbTimeout="ab-timeout",e.Profile="profile",e.ProfileSet="profile-set",e.ProfileSetOnce="profile-set-once",e.ProfileUnset="profile-unset",e.ProfileIncrement="profile-increment",e.ProfileAppend="profile-append",e.ProfileClear="profile-clear",e.Autotrack="autotrack",e.AutotrackReady="autotrack-ready",e.CepReady="cep-ready",e.TracerReady="tracer-ready",e.sessionRecord="session-record",e.SessionRecordStart="session-record-start",e.SessionRecordPause="session-record-pause",e.SessionRecordEnd="session-record-end",e.SessionRecordReport="session-record-report",e.DestoryInstance="destory-instance",e.VisualCollectReady="visual-collect-ready",e.VisualApiReady="visual-api-ready",e.VisualApiUpdate="visual-api-update"}(YO||(YO={})),function(e){e.DEBUGGER_MESSAGE="debugger-message",e.DEBUGGER_MESSAGE_SDK="debugger-message-sdk",e.DEBUGGER_MESSAGE_FETCH="debugger-message-fetch",e.DEBUGGER_MESSAGE_FETCH_RESULT="debugger-message-fetch-result",e.DEBUGGER_MESSAGE_EVENT="debugger-message-event",e.DEVTOOL_WEB_READY="devtool-web-ready"}(JO||(JO={}));var GL=YO,RL=void 0,bL=(new Date).getTimezoneOffset(),TL=Y_(""+-bL/60,10),wL=60*bL,SL=function(){function e(e,t){var n=this;this.is_first_time=!0,this.configPersist=!1,this.initConfig=t,this.collect=e;var r=new gL(t.app_id,t.cookie_domain||"",t.cookie_expire||7776e6).init();this.eventCheck=new _L(e,t);var i="__tea_cache_first_"+t.app_id;this.configKey="__tea_cache_config_"+t.app_id,this.sessionStorage=new fL(!1,"session"),this.localStorage=new fL(!1,"local"),t.configPersist&&(this.configPersist=!0,this.storage=1===t.configPersist?this.sessionStorage:this.localStorage);var o=this.localStorage.getItem(i);o&&1==o?this.is_first_time=!1:(this.is_first_time=!0,this.localStorage.setItem(i,"1")),this.envInfo={user:{user_unique_id:RL,user_type:RL,user_id:RL,user_is_auth:RL,user_is_login:RL,device_id:RL,web_id:RL,ip_addr_id:RL,user_unique_id_type:RL},header:{app_id:RL,app_name:RL,app_install_id:RL,install_id:RL,app_package:RL,app_channel:RL,app_version:RL,ab_version:RL,os_name:r.os_name,os_version:r.os_version,device_model:r.device_model,ab_client:RL,traffic_type:RL,client_ip:RL,device_brand:RL,os_api:RL,access:RL,language:r.language,region:RL,app_language:RL,app_region:RL,creative_id:r.utm.creative_id,ad_id:r.utm.ad_id,campaign_id:r.utm.campaign_id,log_type:RL,rnd:RL,platform:r.platform,sdk_version:yL,sdk_lib:"js",province:RL,city:RL,timezone:TL,tz_offset:wL,tz_name:RL,sim_region:RL,carrier:RL,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:r.utm.utm_term,utm_content:r.utm.utm_content,utm_source:r.utm.utm_source,utm_medium:r.utm.utm_medium,utm_campaign:r.utm.utm_campaign,tracer_data:PT(r.utm.tracer_data),custom:r.network_type?{network_type:r.network_type}:{},wechat_unionid:RL,wechat_openid:RL}},this.ab_version="",this.evtParams={},this.reportErrorCallback=function(){},this.isLast=!1,this.setCustom(r),this.initDomain(),this.initABData(),this.collect.on("route-change",(function(e){n.changeReferInfo(e.config)}))}return e.prototype.initDomain=function(){var e=this.initConfig.channel_domain;if(e)this.domain=e;else{var t=this.initConfig.channel;this.domain=rL(mL[t])}},e.prototype.setDomain=function(e){this.domain=e},e.prototype.getDomain=function(){return this.domain},e.prototype.initABData=function(){var e="__tea_sdk_ab_version_"+this.initConfig.app_id,t=null;if(this.initConfig.ab_cross){var n=this.localStorage.getCookie(e,this.initConfig.ab_cookie_domain);t=n?JSON.parse(n):null}else t=this.localStorage.getItem(e);this.setAbCache(t)},e.prototype.setAbCache=function(e){this.ab_cache=e},e.prototype.getAbCache=function(){return this.ab_cache},e.prototype.setAbVersion=function(e){this.ab_version=e},e.prototype.getAbVersion=function(){return this.ab_version},e.prototype.clearAbCache=function(){this.ab_version="",this.ab_cache={}},e.prototype.getUrl=function(e){var t="";switch(e){case"event":t="/list";break;case"webid":t="/webid";break;case"tobid":t="/tobid"}var n="";return this.initConfig.caller&&(n="?sdk_version=5.3.1&sdk_name=web&app_id="+this.initConfig.app_id+"&caller="+this.initConfig.caller),""+this.getDomain()+t+n},e.prototype.setCustom=function(e){if(e&&e.latest_data&&e.latest_data.isLast)for(var t in delete e.latest_data.isLast,this.isLast=!0,e.latest_data)this.envInfo.header.custom[t]=e.latest_data[t]},e.prototype.changeReferInfo=function(e){var t=e;this.envInfo.header.referrer=t.referrer;var n="";try{n=new bk(t.referrer).host}catch(r){}this.envInfo.header.referrer_host=n||this.envInfo.header.referrer_host},e.prototype.set=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){void 0!==e[t]&&null!==e[t]||n.delete(t);try{n.eventCheck.calculate(t,"config")}catch(ZO){}if("traffic_type"===t&&n.isLast&&(n.envInfo.header.custom.$latest_traffic_source_type=e[t]),"evtParams"===t)n.evtParams=jO(jO({},n.evtParams||{}),e.evtParams||{});else if("_staging_flag"===t)n.evtParams=jO(jO({},n.evtParams||{}),{_staging_flag:e._staging_flag});else if("reportErrorCallback"===t&&"function"==typeof e[t])n.reportErrorCallback=e[t];else{var r,i,o,a="",s="";if(hR(t).call(t,".")>-1){var c=t.split(".");a=c[0],s=c[1]}a?"user"===a||"header"===a?n.envInfo[a][s]=e[t]:(n.envInfo.header.custom[s]=e[t],n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"})):Object.hasOwnProperty.call(n.envInfo.user,t)?(hR(r=["user_type","ip_addr_id"]).call(r,t)>-1?n.envInfo.user[t]=e[t]?Number(e[t]):e[t]:hR(i=["user_id","web_id","user_unique_id","user_unique_id_type"]).call(i,t)>-1?n.envInfo.user[t]=e[t]?String(e[t]):e[t]:hR(o=["user_is_auth","user_is_login"]).call(o,t)>-1?n.envInfo.user[t]=Boolean(e[t]):"device_id"===t&&(n.envInfo.user[t]=e[t]),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"USER",common:t})):Object.hasOwnProperty.call(n.envInfo.header,t)?(n.envInfo.header[t]=e[t],n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:t})):(n.envInfo.header.custom[t]=e[t],n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"}))}}))},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(PT(this.envInfo[e])):JSON.parse(PT(this.envInfo))}catch(t){console.log("get config stringify error "),this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message})}},e.prototype.setStore=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};if(t&&jG(e).length){var n=zT(e,t);this.storage.setItem(this.configKey,n)}}catch(r){console.log("setStore error"),this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message})}},e.prototype.getStore=function(){try{if(!this.configPersist)return null;var e=this.storage.getItem(this.configKey)||{};return e&&jG(e).length?e:null}catch(t){return this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),null}},e.prototype.delete=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};t&&Object.hasOwnProperty.call(t,e)&&(delete t[e],this.storage.setItem(this.configKey,t))}catch(n){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("delete error")}},e}(),ML=function(){function e(e,t){this.isLog=t||!1,this.name=e||""}return e.prototype.info=function(e){this.isLog&&console.log("%c %s","color: yellow; background-color: black;","[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.warn=function(e){this.isLog&&console.warn("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.error=function(e){this.isLog&&console.error("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.throw=function(e){throw this.error(this.name),new Error(e)},e}(),EL=function(){function e(){this.spiderBot=["Baiduspider","googlebot","360Spider","haosouspider","YoudaoBot","Sogou News Spider","Yisouspider","Googlebot","Headless","Applebot","Bingbot","PetalBot"]}return e.prototype.checkSpider=function(e){var t;if(!e.enable_spider)return!1;var n=window.navigator.userAgent;if(!n)return!0;var r=!1;return qG(t=this.spiderBot).call(t,(function(e){-1!==hR(n).call(n,e)&&(r=!0)})),r},e}(),DL=function(){function e(e,t){this.collect=e,this.native=t}var t=e.prototype;return t.bridgeInject=function(){try{return!!this.native&&(AppLogBridge?(console.log("AppLogBridge is injected"),!0):(console.log("AppLogBridge is not inject"),!1))}catch(e){return console.log("AppLogBridge is not inject"),!1}},t.bridgeReady=function(){var e=this;return new qT((function(t,n){try{e.bridgeInject()?AppLogBridge.hasStarted((function(e){console.log("AppLogBridge is started? : "+e),e?t(!0):n(!1)})):n(!1)}catch(r){console.log("AppLogBridge, error:"+PT(r.stack)),n(!1)}}))},t.setNativeAppId=function(e){try{AppLogBridge.setNativeAppId(PT(e)),console.log("change bridge appid, event report with appid: "+e)}catch(t){console.error("setNativeAppId error")}},t.setConfig=function(e){var t=this;try{var n;qG(n=jG(e)).call(n,(function(n){"user_unique_id"===n?t.setUserUniqueId(e[n]):e[n]?t.addHeaderInfo(n,e[n]):t.removeHeaderInfo(n)}))}catch(r){console.error("setConfig error")}},t.setUserUniqueId=function(e){try{AppLogBridge.setUserUniqueId(e)}catch(t){console.error("setUserUniqueId error")}},t.addHeaderInfo=function(e,t){try{AppLogBridge.addHeaderInfo(e,t)}catch(n){console.error("addHeaderInfo error")}},t.setHeaderInfo=function(e){try{AppLogBridge.setHeaderInfo(PT(e))}catch(t){console.error("setHeaderInfo error")}},t.removeHeaderInfo=function(e){try{AppLogBridge.removeHeaderInfo(e)}catch(t){console.error("removeHeaderInfo error")}},t.reportPv=function(e){this.onEventV3("predefine_pageview",e)},t.onEventV3=function(e,t){try{AppLogBridge.onEventV3(e,t),this.collect.emit(DebuggerMesssge.DEBUGGER_MESSAGE,{type:DebuggerMesssge.DEBUGGER_MESSAGE_EVENT,info:"bridge埋点上报",time:vR(),data:[{events:[{event:e,params:t}]}],code:200,status:"success"})}catch(n){console.error("onEventV3 error")}},t.profileSet=function(e){try{AppLogBridge.profileSet(e)}catch(t){console.error("profileSet error")}},t.profileSetOnce=function(e){try{AppLogBridge.profileSetOnce(e)}catch(t){console.error("profileSetOnce error")}},t.profileIncrement=function(e){try{AppLogBridge.profileIncrement(e)}catch(t){console.error("profileIncrement error")}},t.profileUnset=function(e){try{AppLogBridge.profileUnset(e)}catch(t){console.error("profileUnset error")}},t.profileAppend=function(e){try{AppLogBridge.profileAppend(e)}catch(t){console.error("profileAppend error")}},e}(),zL=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)}))},kL=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.storage=new fL(!1,"session"),this.sessionKey="__tea_session_id_"+t.app_id,this.expireTime=t.expireTime||18e5,this.disableSession=t.disable_session,this.disableSessionTimeCheck=t.disable_session_check,this.disableSession||(this.setSessionId(),this.collect.on(GL.SessionReset,(function(e){n.resetSessionId(e)})),this.collect.on(GL.SessionResetTime,(function(){n.updateSessionIdTime()})))},e.prototype.updateSessionIdTime=function(){var e=this.storage.getItem(this.sessionKey);if(e&&e.sessionId){var t=e.timestamp;vR()-t>this.expireTime?e={sessionId:zL(),timestamp:vR()}:e.timestamp=vR(),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=vR():t={sessionId:zL(),timestamp:vR()},this.storage.setItem(this.sessionKey,t),this.disableSessionTimeCheck||(this.sessionExp=Tw((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=Tw((function(){e.checkEXp()}),this.expireTime))},e.prototype.resetSessionId=function(e){var t={sessionId:e||zL(),timestamp:vR()};this.storage.setItem(this.sessionKey,t)},e.prototype.checkEXp=function(){var e=this.storage.getItem(this.sessionKey);e&&e.sessionId&&vR()-e.timestamp+30>=this.expireTime&&(e={sessionId:zL(),timestamp:vR()},this.storage.setItem(this.sessionKey,e))},e}(),AL=function(){function e(){this.eventLimit=50,this.enable_ttwebid=!1,this.eventCache=[],this.beconEventCache=[]}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=e.configManager,this.eventCheck=new _L(e,t),this.cacheStorgae=new fL(!0),this.localStorage=new fL(!1),this.maxReport=t.max_report||10,this.reportTime=t.reportTime||t.report_time||30,this.timeout=t.timeout||1e5,this.enable_ttwebid=t.enable_ttwebid,this.reportUrl=t.report_url||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.abKey="__tea_sdk_ab_version_"+this.configManager.get("app_id"),this.refer_key="__tea_cache_refer_"+this.configManager.get("app_id"),this.pageId=zL(),this.collect.on(GL.Ready,(function(){n.reportAll(!1)})),this.collect.on(GL.ConfigDomain,(function(){n.reportUrl=n.configManager.getUrl("event")})),this.collect.on(GL.Event,(function(e){n.event(e)})),this.collect.on(GL.BeconEvent,(function(e){n.beconEvent(e)})),this.collect.on(GL.CleanEvents,(function(){n.reportAll(!1)}));var r=this.linster();this.collect.on(GL.DestoryInstance,(function(){r&&r()}))},e.prototype.linster=function(){var e,t=this,n=function(){t.reportAll(!0)};window.addEventListener("unload",n,!1),e=n,iL()?window.addEventListener("pagehide",e,!1):window.addEventListener("beforeunload",e,!1);var r=function(){"hidden"===document.visibilityState&&t.reportAll(!0)};return document.addEventListener("visibilitychange",r,!1),function(){window.removeEventListener("unload",n),window.removeEventListener("pagehide",n,!1),window.removeEventListener("beforeunload",n,!1),document.removeEventListener("visibilitychange",r,!1)}},e.prototype.reportAll=function(e){this.report(e),this.reportBecon()},e.prototype.event=function(e){var t=this;try{if(this.collect.destroy)return;if(this.collect.sdkStop)return;if(this.config.enable_ios_sendbeacon&&iL())return void this.beconEvent(e);var n=this.cacheStorgae.getItem(this.eventKey)||[],r=e;this.config.batch_event&&(r=this.batchEvent(e));var i=QO(r,n);if(this.cacheStorgae.setItem(this.eventKey,i),this.reportTimeout&&clearTimeout(this.reportTimeout),i.length>=this.maxReport)this.report(!1);else{var o=this.reportTime;this.reportTimeout=vG((function(){t.report(!1),t.reportTimeout=null}),o)}}catch(a){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e){if(!this.collect.destroy&&!this.collect.sdkStop){var t=QO(e,this.cacheStorgae.getItem(this.beconKey)||[]);this.cacheStorgae.setItem(this.beconKey,t),this.collect.tokenManager.getReady()&&this.collect.sdkReady&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(t)),!0))}},e.prototype.reportBecon=function(){if(!this.collect.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){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.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){var t=this.cacheStorgae.getItem(this.eventKey)||[];t.length&&(this.cacheStorgae.removeItem(this.eventKey),this.config.batch_event?this.send([t],e):this.sliceEvent(t,e))}},e.prototype.batchEvent=function(e){var t=[];if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.merge(r);t.push(i)}else t=i=this.merge(e);return t},e.prototype.sliceEvent=function(e,t){if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.split(this.merge(r));this.send(i,t)}else i=this.split(this.merge(e)),this.send(i,t)},e.prototype.handleRefer=function(){var e="";try{if(this.config.spa||this.config.autotrack){var t=this.localStorage.getItem(this.refer_key)||{};e=t.routeChange?t.refer_key:this.configManager.get("referrer")}else e=this.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.merge=function(e,t){var n=this,r=this.configManager.get(),i=r.header,o=r.user;this.config.enable_pageid&&(i.custom.page_id=this.pageId),i.custom=PT(i.custom);var a=this.configManager.get("evtParams"),s=this.configManager.get("user_unique_id_type"),c=[];try{var l=QG(e).call(e,(function(e){try{jG(a).length&&!t&&(e.params=jO(jO({},a),e.params)),s&&(e.params.$user_unique_id_type=s);var r=n.configManager.getAbCache(),i=o[n.config.ab_user_mode]||o.user_unique_id;return r&&r.uuid&&r.uuid===i&&n.configManager.getAbVersion()&&(e.ab_sdk_version=n.configManager.getAbVersion()),e.session_id=n.collect.sessionManager.getSessionId(),e.params=PT(e.params),e}catch(ZO){return console.warn("filter merge event: "+(e&&e.event)+" error, pls check",ZO&&ZO.message),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 处理Event数据异常",level:"error",time:vR(),data:ZO.message,infoType:"sdk"}),!1}})),u=JSON.parse(PT({events:l,user:o,header:i}));u.local_time=Math.floor(vR()/1e3),u.user_unique_type=this.config.enable_ttwebid?this.config.user_unique_type:void 0,u.verbose=1,c.push(u)}catch(ZO){console.warn("event merge error, pls check",ZO&&ZO.message)}return c},e.prototype.split=function(e){return DS(e).call(e,(function(e){var t=[];return t.push(e),t}))},e.prototype.blockEvent=function(e){try{var t=this.blockList;if(this.config.enable_logsetting){var n=this.blockList,r=this.logSetting.getSettingData("blocklist_events").block_event;t=b_(n).call(n,QG(r).call(r,(function(e){return-1===hR(n).call(n,e)})))}return!(t&&t.length&&bw(t).call(t,e))}catch(i){return!0}},e.prototype.whiteEvent=function(e){var t;try{var n;return null===(t=this.whiteList)||void 0===t||!t.length||!!bw(n=this.whiteList).call(n,e)}catch(r){return!0}},e.prototype.customAllowFilter=function(e,t){try{if(t)return PT(e);if(!this.config.enable_logsetting||!this.config.enable_logsetting_header_custom)return PT(e);var n=this.logSetting.getSettingData().header_custom_allow,r={};if(n&&n.length&&jG(e).length){var i=new PO(n);for(var o in e)i.has(o)&&(r[o]=e[o])}return PT(r)}catch(a){return this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行customAllowFilter发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"}),PT(e)}},e.prototype.paramsAllowFilter=function(e,t){try{if(t)return PT(e.params);if(!this.config.enable_logsetting||!this.config.enable_logsetting_params)return PT(e.params);var n=this.logSetting.getSettingData().params_block,r=e.event,i=e.params,o={};if(n&&n[r]&&n[r].length){var a=new PO(n[r]);for(var s in i)!this.logSetting.getPredefineParamsList().has(s)&&a.has(s)||(o[s]=i[s]);return PT(o)}return PT(e.params)}catch(c){return this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行paramsAllowFilter发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"}),PT(e.params)}},e.prototype.send=function(e,t){var n=this;e.length&&(this.config.disable_track_event||qG(e).call(e,(function(e){try{var r,i=JSON.parse(PT(e));QG(n.config)&&((i=QG(r=n.config).call(r,i))||console.warn("filter must return data !!")),n.collect.eventFilter&&i&&((i=n.collect.eventFilter(i))||console.warn("filterEvent api must return data !!"));var o=i||e,a=JSON.parse(PT(o));if(n.eventCheck.checkVerify(a),!o.length)return;var s=!0;if(qG(o).call(o,(function(e){e.events.length||(s=!1)})),!s)return;n.collect.emit(GL.SubmitBefore,o),n.collect.requestManager.useRequest({url:n.reportUrl,data:o,success:function(e,t){e&&0!==e.e?(n.collect.emit(GL.SubmitError,{type:"f_data",eventData:t,errorCode:e.e,response:e}),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报失败",time:vR(),data:a,code:e.e,msg:e.m||"",failType:"数据异常失败",status:"fail"})):(n.collect.emit(GL.SubmitScuess,{eventData:t,res:e}),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:a,code:200,status:"success"}))},fail:function(e,t){n.configManager.get("reportErrorCallback")(e,t),n.collect.emit(GL.SubmitError,{type:"f_net",eventData:e,errorCode:t}),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报网络异常",time:vR(),data:a,code:t,failType:"网络异常失败",status:"fail"})},timeout:n.timeout,useBeacon:t,withCredentials:n.enable_ttwebid,zip:!0}),n.collect.emit(GL.SubmitAfter,o)}catch(c){console.warn("something error, "+PT(c.stack)),n.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK发送埋点发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"})}})))},e}(),FL=function(){var e;return mG(e=function e(t){return t?(t^16*Math.random()>>t/4).toString(10):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}().replace(/-/g,"")).call(e,0,19)},PL=function(){function e(){this.cacheToken={},this.enableCookie=!1,this.enable_ttwebid=!1,this.enableCustomWebid=!1}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=this.collect.configManager,this.storage=new fL(!1),this.tokenKey="__tea_cache_tokens_"+t.app_id,this.enable_ttwebid=t.enable_ttwebid,this.enableCustomWebid=t.enable_custom_webid,this.collect.on(GL.ConfigUuid,(function(e){n.setUuid(e)})),this.collect.on(GL.ConfigWebId,(function(e){n.setWebId(e)})),this.collect.on(GL.ConfigDiD,(function(e){n.setDeviceId(e)})),this.enableCookie=t.cross_subdomain,this.expiresTime=t.cookie_expire||6048e5,this.cookieDomain=t.cookie_domain||"",this.checkStorage()},e.prototype.checkStorage=function(){var e=this;if(this.enableCookie){var t=this.storage.getCookie(this.tokenKey,this.cookieDomain);this.cacheToken=t&&"string"==typeof t?JSON.parse(t):{}}else this.cacheToken=this.storage.getItem(this.tokenKey)||{};this.tokenType=this.cacheToken&&this.cacheToken._type_?this.cacheToken._type_:"default","custom"!==this.tokenType||this.enableCustomWebid?this.enableCustomWebid?this.collect.on(GL.CustomWebId,(function(){e.tokenReady=!0,e.collect.emit(GL.TokenComplete)})):this.checkEnv()||(this.enable_ttwebid?this.completeTtWid(this.cacheToken):this.check()):this.remoteWebid()},e.prototype.check=function(){this.cacheToken&&this.cacheToken.web_id?this.complete(this.cacheToken):this.config.disable_webid?this.complete({web_id:FL(),user_unique_id:this.configManager.get("user_unique_id")||FL()}):this.remoteWebid()},e.prototype.checkEnv=function(){var e=window.navigator.userAgent;if(-1!==hR(e).call(e,"miniProgram")||-1!==hR(e).call(e,"MiniProgram")){var t=aL(window.location.href);return!(!t||!t.Web_ID||(this.complete({web_id:""+t.Web_ID,user_unique_id:this.configManager.get("user_unique_id")||""+t.Web_ID}),0))}return!1},e.prototype.remoteWebid=function(){var e=this,t=this.configManager.getUrl("webid"),n={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:""};this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 发起WebID请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),this.collect.requestManager.useRequest({url:t,data:n,success:function(t){var n;if(t&&0===t.e)n=t.web_id,e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"WebID请求成功",logType:"fetch",level:"info",time:vR(),data:t,infoType:"sdk"});else{var r=FL();n=r,e.collect.configManager.set({localWebId:r}),e.collect.emit(GL.TokenError),e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"WebID请求返回值异常,采用本地生成",logType:"fetch",level:"warn",time:vR(),data:t,infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+" get webid error, use local webid~")}e.complete({web_id:e.configManager.get("web_id")||n,user_unique_id:e.configManager.get("user_unique_id")||n})},fail:function(){var t=FL();e.complete({web_id:e.configManager.get("web_id")||t,user_unique_id:e.configManager.get("user_unique_id")||t}),e.collect.configManager.set({localWebId:t}),e.collect.emit(GL.TokenError),e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"WebID请求网络异常,采用本地生成",logType:"fetch",level:"error",time:vR(),data:{localWebId:t},infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+", get webid error, use local webid~")},timeout:3e5})},e.prototype.complete=function(e){var t=e.web_id,n=e.user_unique_id,r=e.device_id;if(e.timestamp=vR(),this.collect.configManager.set({web_id:t,user_unique_id:n}),this.config.enable_device_id){var i=this.configManager.get("device_id")||r||t;this.collect.configManager.set({device_id:i}),e=jO(jO({},e),{device_id:i})}else(null==e?void 0:e.device_id)&&delete e.device_id;this.setStorage(e),this.tokenReady=!0,this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 完成用户信息设置",logType:"info",level:"info",time:vR(),data:{web_id:t,user_unique_id:n},infoType:"sdk"}),this.collect.emit(GL.TokenComplete)},e.prototype.completeTtWid=function(e){var t=e.user_unique_id||"",n=this.configManager.get("user_unique_id");(n||t)&&this.configManager.set({user_unique_id:n||t}),this.setStorage(e),this.tokenReady=!0,this.collect.emit(GL.TokenComplete)},e.prototype.setUuid=function(e){var t;if(e&&-1===hR(t=["null","undefined","Null","None"]).call(t,e)){var n=String(e),r=this.configManager.get("user_unique_id"),i=this.cacheToken&&this.cacheToken.user_unique_id;if(n===r&&n===i)return;this.configManager.set({user_unique_id:n}),this.cacheToken||(this.cacheToken={}),this.cacheToken.user_unique_id=n,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken),this.collect.emit(GL.TokenChange,"uuid"),this.collect.emit(GL.SessionReset)}else this.clearUuid()},e.prototype.clearUuid=function(){this.config.enable_ttwebid||this.configManager.get("web_id")&&this.configManager.get("user_unique_id")!==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=vR(),this.setStorage(this.cacheToken)),this.collect.emit(GL.TokenReset,"uuid"))},e.prototype.setWebId=function(e){if(e&&!this.config.enable_ttwebid){this.cacheToken&&this.cacheToken.web_id?this.cacheToken.web_id!==e&&(this.cacheToken.user_unique_id=this.cacheToken.web_id===this.cacheToken.user_unique_id?e:this.cacheToken.user_unique_id,this.cacheToken.web_id=e):(this.cacheToken={},this.cacheToken.web_id=e,this.cacheToken.user_unique_id=e),this.cacheToken.timestamp=vR();var t=this.configManager.get("web_id"),n=this.configManager.get("user_unique_id");n&&n!==t||(this.configManager.set({user_unique_id:e}),this.collect.emit(GL.TokenChange,"uuid")),t!==e&&(this.configManager.set({web_id:e}),this.collect.emit(GL.TokenChange,"webid")),this.setStorage(this.cacheToken)}},e.prototype.setDeviceId=function(e){this.configManager.set({device_id:e}),this.config.enable_device_id&&this.cacheToken&&(this.cacheToken.device_id=e,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken))},e.prototype.setStorage=function(e){var t;e._type_=this.enableCustomWebid?"custom":"default",delete e[Fk(t="diss".split("")).call(t).join("")],this.enableCookie||this.enable_ttwebid?(this.storage.setCookie(this.tokenKey,e,this.expiresTime,this.cookieDomain),this.enable_ttwebid&&(delete e.web_id,this.storage.setItem(this.tokenKey,e))):this.storage.setItem(this.tokenKey,e),this.cacheToken=e},e.prototype.getReady=function(){return this.tokenReady},e.prototype.getTobId=function(){var e=this;return new qT((function(t){var n={app_id:e.config.app_id,user_unique_id:e.configManager.get("user_unique_id"),web_id:e.configManager.get("web_id"),user_unique_id_type:e.configManager.get("user_unique_id_type")};e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 发起GetToken请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),e.collect.requestManager.useRequest({url:e.configManager.getUrl("tobid"),data:n,success:function(n){n&&0===n.e?(t(n.tobid),e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求成功",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"})):(t(""),e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),data:n,infoType:"sdk"}))},fail:function(){t(""),e.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),infoType:"sdk"})},time:3e4,withCredentials:e.enable_ttwebid})}))},e}();function IL(e){for(var t=e.length;--t>=0;)e[t]=0}var xL=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),XL=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),HL=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),CL=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OL=new Array(576);IL(OL);var LL=new Array(60);IL(LL);var UL=new Array(512);IL(UL);var BL=new Array(256);IL(BL);var NL=new Array(29);IL(NL);var VL,jL,KL,QL=new Array(30);function WL(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function qL(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}IL(QL);var ZL=function(e){return e<256?UL[e]:UL[256+(e>>>7)]},$L=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},YL=function(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,$L(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},JL=function(e,t,n){YL(e,n[2*t],n[2*t+1])},eU=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},tU=function(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)a=a+n[r-1]<<1,o[r]=a;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=eU(o[s]++,s))}},nU=function(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},rU=function(e){e.bi_valid>8?$L(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},iU=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},oU=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&iU(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!iU(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},aU=function(e,t,n){var r,i,o,a,s=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+s++],r+=(255&e.pending_buf[e.sym_buf+s++])<<8,i=e.pending_buf[e.sym_buf+s++],0===r?JL(e,i,t):(o=BL[i],JL(e,o+256+1,t),0!==(a=xL[o])&&(i-=NL[o],YL(e,i,a)),o=ZL(--r),JL(e,o,n),0!==(a=XL[o])&&(r-=QL[o],YL(e,r,a)))}while(s<e.sym_next);JL(e,256,t)},sU=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)oU(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],oU(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,oU(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,g++),c[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=h[r-p]),s=c[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==g){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,g-=2}while(g>0);for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),tU(o,l,e.bl_count)},cU=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<c&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4))},lU=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<l)do{JL(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(JL(e,i,e.bl_tree),s--),JL(e,16,e.bl_tree),YL(e,s-3,2)):s<=10?(JL(e,17,e.bl_tree),YL(e,s-3,3)):(JL(e,18,e.bl_tree),YL(e,s-11,7));s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4)}},uU=!1,dU=function(e,t,n,r){YL(e,0+(r?1:0),3),rU(e),$L(e,n),$L(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},hU=function(e){uU||(function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(NL[r]=n,e=0;e<1<<xL[r];e++)BL[n++]=r;for(BL[n-1]=r,i=0,r=0;r<16;r++)for(QL[r]=i,e=0;e<1<<XL[r];e++)UL[i++]=r;for(i>>=7;r<30;r++)for(QL[r]=i<<7,e=0;e<1<<XL[r]-7;e++)UL[256+i++]=r;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)OL[2*e+1]=8,e++,o[8]++;for(;e<=255;)OL[2*e+1]=9,e++,o[9]++;for(;e<=279;)OL[2*e+1]=7,e++,o[7]++;for(;e<=287;)OL[2*e+1]=8,e++,o[8]++;for(tU(OL,287,o),e=0;e<30;e++)LL[2*e+1]=5,LL[2*e]=eU(e,5);VL=new WL(OL,xL,257,286,15),jL=new WL(LL,XL,0,30,15),KL=new WL(new Array(0),HL,0,19,7)}(),uU=!0),e.l_desc=new qL(e.dyn_ltree,VL),e.d_desc=new qL(e.dyn_dtree,jL),e.bl_desc=new qL(e.bl_tree,KL),e.bi_buf=0,e.bi_valid=0,nU(e)},pU=dU,fU=function(e,t,n,r){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),sU(e,e.l_desc),sU(e,e.d_desc),a=function(e){var t;for(cU(e,e.dyn_ltree,e.l_desc.max_code),cU(e,e.dyn_dtree,e.d_desc.max_code),sU(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*CL[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?dU(e,t,n,r):4===e.strategy||o===i?(YL(e,2+(r?1:0),3),aU(e,OL,LL)):(YL(e,4+(r?1:0),3),function(e,t,n,r){var i;for(YL(e,t-257,5),YL(e,n-1,5),YL(e,r-4,4),i=0;i<r;i++)YL(e,e.bl_tree[2*CL[i]+1],3);lU(e,e.dyn_ltree,t-1),lU(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),aU(e,e.dyn_ltree,e.dyn_dtree)),nU(e),r&&rU(e)},gU=function(e,t,n){return e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(BL[n]+256+1)]++,e.dyn_dtree[2*ZL(t)]++),e.sym_next===e.sym_end},vU=function(e){var t;YL(e,2,3),JL(e,256,OL),16===(t=e).bi_valid?($L(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)},mU=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},yU=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),_U=function(e,t,n,r){var i=yU,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},GU={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},RU={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},bU=hU,TU=pU,wU=fU,SU=gU,MU=vU,EU=RU.Z_NO_FLUSH,DU=RU.Z_PARTIAL_FLUSH,zU=RU.Z_FULL_FLUSH,kU=RU.Z_FINISH,AU=RU.Z_BLOCK,FU=RU.Z_OK,PU=RU.Z_STREAM_END,IU=RU.Z_STREAM_ERROR,xU=RU.Z_DATA_ERROR,XU=RU.Z_BUF_ERROR,HU=RU.Z_DEFAULT_COMPRESSION,CU=RU.Z_FILTERED,OU=RU.Z_HUFFMAN_ONLY,LU=RU.Z_RLE,UU=RU.Z_FIXED,BU=RU.Z_DEFAULT_STRATEGY,NU=RU.Z_UNKNOWN,VU=RU.Z_DEFLATED,jU=function(e,t){return e.msg=GU[t],t},KU=function(e){return 2*e-(e>4?9:0)},QU=function(e){for(var t=e.length;--t>=0;)e[t]=0},WU=function(e){var t,n,r,i=e.w_size;r=t=e.hash_size;do{n=e.head[--r],e.head[r]=n>=i?n-i:0}while(--t);r=t=i;do{n=e.prev[--r],e.prev[r]=n>=i?n-i:0}while(--t)},qU=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},ZU=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},$U=function(e,t){wU(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ZU(e.strm)},YU=function(e,t){e.pending_buf[e.pending++]=t},JU=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},eB=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=mU(e.adler,t,i,n):2===e.state.wrap&&(e.adler=_U(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},tB=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+258,p=l[o+a-1],f=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===f&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=258-(h-o),o=h-258,r>a){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],f=l[o+a]}}}while((t=d[t&u])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead},nB=function(e){var t,n,r,i=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-262)&&(e.window.set(e.window.subarray(i,i+i-n),0),e.match_start-=i,e.strstart-=i,e.block_start-=i,e.insert>e.strstart&&(e.insert=e.strstart),WU(e),n+=i),0===e.strm.avail_in)break;if(t=eB(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=qU(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=qU(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},rB=function(e,t){var n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,s=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i)break;if(i=e.strm.avail_out-i,n>(r=e.strstart-e.block_start)+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n<o&&(0===n&&t!==kU||t===EU||n!==r+e.strm.avail_in))break;a=t===kU&&n===r+e.strm.avail_in?1:0,TU(e,0,0,a),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,ZU(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(eB(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return(s-=e.strm.avail_in)&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),a?4:t!==EU&&t!==kU&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(eB(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,o=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>e.w_size?e.w_size:i,((r=e.strstart-e.block_start)>=o||(r||t===kU)&&t!==EU&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,a=t===kU&&0===e.strm.avail_in&&n===r?1:0,TU(e,e.block_start,n,a),e.block_start+=n,ZU(e.strm)),a?3:1)},iB=function(e,t){for(var n,r;;){if(e.lookahead<262){if(nB(e),e.lookahead<262&&t===EU)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=qU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=tB(e,n)),e.match_length>=3)if(r=SU(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=qU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=qU(e,e.ins_h,e.window[e.strstart+1]);else r=SU(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&($U(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===kU?($U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($U(e,!1),0===e.strm.avail_out)?1:2},oB=function(e,t){for(var n,r,i;;){if(e.lookahead<262){if(nB(e),e.lookahead<262&&t===EU)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=qU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=tB(e,n),e.match_length<=5&&(e.strategy===CU||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=SU(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=qU(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&($U(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=SU(e,0,e.window[e.strstart-1]))&&$U(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=SU(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===kU?($U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($U(e,!1),0===e.strm.avail_out)?1:2};function aB(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var sB=[new aB(0,0,0,0,rB),new aB(4,4,8,4,iB),new aB(4,5,16,8,iB),new aB(4,6,32,32,iB),new aB(4,4,16,16,oB),new aB(8,16,32,32,oB),new aB(8,16,128,128,oB),new aB(8,32,128,256,oB),new aB(32,128,258,1024,oB),new aB(32,258,258,4096,oB)];function cB(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=VU,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),QU(this.dyn_ltree),QU(this.dyn_dtree),QU(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),QU(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),QU(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var lB=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||42!==t.status&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&113!==t.status&&666!==t.status?1:0},uB=function(e){if(lB(e))return jU(e,IU);e.total_in=e.total_out=0,e.data_type=NU;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=-2,bU(t),FU},dB=function(e){var t,n=uB(e);return n===FU&&((t=e.state).window_size=2*t.w_size,QU(t.head),t.max_lazy_match=sB[t.level].max_lazy,t.good_match=sB[t.level].good_length,t.nice_match=sB[t.level].nice_length,t.max_chain_length=sB[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n},hB=function(e,t,n,r,i,o){if(!e)return IU;var a=1;if(t===HU&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==VU||r<8||r>15||t<0||t>9||o<0||o>UU||8===r&&1!==a)return jU(e,IU);8===r&&(r=9);var s=new cB;return e.state=s,s.strm=e,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=t,s.strategy=o,s.method=n,dB(e)},pB={deflateInit:function(e,t){return hB(e,t,VU,15,8,BU)},deflateInit2:hB,deflateReset:dB,deflateResetKeep:uB,deflateSetHeader:function(e,t){return lB(e)||2!==e.state.wrap?IU:(e.state.gzhead=t,FU)},deflate:function(e,t){if(lB(e)||t>AU||t<0)return e?jU(e,IU):IU;var n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==kU)return jU(e,0===e.avail_out?XU:IU);var r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(ZU(e),0===e.avail_out)return n.last_flush=-1,FU}else if(0===e.avail_in&&KU(t)<=KU(r)&&t!==kU)return jU(e,XU);if(666===n.status&&0!==e.avail_in)return jU(e,XU);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){var i=VU+(n.w_bits-8<<4)<<8;if(i|=(n.strategy>=OU||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),JU(n,i+=31-i%31),0!==n.strstart&&(JU(n,e.adler>>>16),JU(n,65535&e.adler)),e.adler=1,n.status=113,ZU(e),0!==n.pending)return n.last_flush=-1,FU}if(57===n.status)if(e.adler=0,YU(n,31),YU(n,139),YU(n,8),n.gzhead)YU(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),YU(n,255&n.gzhead.time),YU(n,n.gzhead.time>>8&255),YU(n,n.gzhead.time>>16&255),YU(n,n.gzhead.time>>24&255),YU(n,9===n.level?2:n.strategy>=OU||n.level<2?4:0),YU(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(YU(n,255&n.gzhead.extra.length),YU(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=_U(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(YU(n,0),YU(n,0),YU(n,0),YU(n,0),YU(n,0),YU(n,9===n.level?2:n.strategy>=OU||n.level<2?4:0),YU(n,3),n.status=113,ZU(e),0!==n.pending)return n.last_flush=-1,FU;if(69===n.status){if(n.gzhead.extra){for(var o=n.pending,a=(65535&n.gzhead.extra.length)-n.gzindex;n.pending+a>n.pending_buf_size;){var s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>o&&(e.adler=_U(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex+=s,ZU(e),0!==n.pending)return n.last_flush=-1,FU;o=0,a-=s}var c=new Uint8Array(n.gzhead.extra);n.pending_buf.set(c.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>o&&(e.adler=_U(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){var l,u=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>u&&(e.adler=_U(e.adler,n.pending_buf,n.pending-u,u)),ZU(e),0!==n.pending)return n.last_flush=-1,FU;u=0}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,YU(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>u&&(e.adler=_U(e.adler,n.pending_buf,n.pending-u,u)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){var d,h=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>h&&(e.adler=_U(e.adler,n.pending_buf,n.pending-h,h)),ZU(e),0!==n.pending)return n.last_flush=-1,FU;h=0}d=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,YU(n,d)}while(0!==d);n.gzhead.hcrc&&n.pending>h&&(e.adler=_U(e.adler,n.pending_buf,n.pending-h,h))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ZU(e),0!==n.pending))return n.last_flush=-1,FU;YU(n,255&e.adler),YU(n,e.adler>>8&255),e.adler=0}if(n.status=113,ZU(e),0!==n.pending)return n.last_flush=-1,FU}if(0!==e.avail_in||0!==n.lookahead||t!==EU&&666!==n.status){var p=0===n.level?rB(n,t):n.strategy===OU?function(e,t){for(var n;;){if(0===e.lookahead&&(nB(e),0===e.lookahead)){if(t===EU)return 1;break}if(e.match_length=0,n=SU(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&($U(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===kU?($U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($U(e,!1),0===e.strm.avail_out)?1:2}(n,t):n.strategy===LU?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(nB(e),e.lookahead<=258&&t===EU)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=SU(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=SU(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&($U(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===kU?($U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&($U(e,!1),0===e.strm.avail_out)?1:2}(n,t):sB[n.level].func(n,t);if(3!==p&&4!==p||(n.status=666),1===p||3===p)return 0===e.avail_out&&(n.last_flush=-1),FU;if(2===p&&(t===DU?MU(n):t!==AU&&(TU(n,0,0,!1),t===zU&&(QU(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),ZU(e),0===e.avail_out))return n.last_flush=-1,FU}return t!==kU?FU:n.wrap<=0?PU:(2===n.wrap?(YU(n,255&e.adler),YU(n,e.adler>>8&255),YU(n,e.adler>>16&255),YU(n,e.adler>>24&255),YU(n,255&e.total_in),YU(n,e.total_in>>8&255),YU(n,e.total_in>>16&255),YU(n,e.total_in>>24&255)):(JU(n,e.adler>>>16),JU(n,65535&e.adler)),ZU(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?FU:PU)},deflateEnd:function(e){if(lB(e))return IU;var t=e.state.status;return e.state=null,113===t?jU(e,xU):FU},deflateSetDictionary:function(e,t){var n=t.length;if(lB(e))return IU;var r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return IU;if(1===i&&(e.adler=mU(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(QU(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,nB(r);r.lookahead>=3;){var l=r.strstart,u=r.lookahead-2;do{r.ins_h=qU(r,r.ins_h,r.window[l+3-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++}while(--u);r.strstart=l,r.lookahead=2,nB(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=c,e.avail_in=a,r.wrap=i,FU},deflateInfo:"pako deflate (from Nodeca project)"},fB=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},gB={assign:function(e){for(var t=mG(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=Wd(n))throw new TypeError(n+"must be non-object");for(var r in n)fB(n,r)&&(e[r]=n[r])}}return e},flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var c=e[o];i.set(c,a),a+=c.length}return i}},vB=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(ZO){vB=!1}for(var mB=new Uint8Array(256),yB=0;yB<256;yB++)mB[yB]=yB>=252?6:yB>=248?5:yB>=240?4:yB>=224?3:yB>=192?2:1;mB[254]=mB[254]=1;var _B={string2buf:function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},buf2string:function(e,t){var n,r,i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));var o=new Array(2*i);for(r=0,n=0;n<i;){var a=e[n++];if(a<128)o[r++]=a;else{var s=mB[a];if(s>4)o[r++]=65533,n+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&n<i;)a=a<<6|63&e[n++],s--;s>1?o[r++]=65533:a<65536?o[r++]=a:(a-=65536,o[r++]=55296|a>>10&1023,o[r++]=56320|1023&a)}}}return function(e,t){if(t<65534&&e.subarray&&vB)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}(o,r)},utf8border:function(e,t){(t=t||e.length)>e.length&&(t=e.length);for(var n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+mB[e[n]]>t?n:t}},GB=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},RB=Object.prototype.toString,bB=RU.Z_NO_FLUSH,TB=RU.Z_SYNC_FLUSH,wB=RU.Z_FULL_FLUSH,SB=RU.Z_FINISH,MB=RU.Z_OK,EB=RU.Z_STREAM_END,DB=RU.Z_DEFAULT_COMPRESSION,zB=RU.Z_DEFAULT_STRATEGY,kB=RU.Z_DEFLATED;function AB(e){this.options=gB.assign({level:DB,method:kB,chunkSize:16384,windowBits:15,memLevel:8,strategy:zB},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new GB,this.strm.avail_out=0;var n=pB.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==MB)throw new Error(GU[n]);if(t.header&&pB.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?_B.string2buf(t.dictionary):"[object ArrayBuffer]"===RB.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=pB.deflateSetDictionary(this.strm,r))!==MB)throw new Error(GU[n]);this._dict_set=!0}}function FB(e,t){var n=new AB(t);if(n.push(e,!0),n.err)throw n.msg||GU[n.err];return n.result}AB.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?SB:bB,"string"==typeof e?i.input=_B.string2buf(e):"[object ArrayBuffer]"===RB.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===TB||r===wB)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=pB.deflate(i,r))===EB)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=pB.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===MB;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},AB.prototype.onData=function(e){this.chunks.push(e)},AB.prototype.onEnd=function(e){e===MB&&(this.result=gB.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var PB={Deflate:AB,deflate:FB,deflateRaw:function(e,t){return(t=t||{}).raw=!0,FB(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,FB(e,t)},constants:RU},IB=function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,S=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),s=M.dmax,c=M.wsize,l=M.whave,u=M.wnext,d=M.window,h=M.hold,p=M.bits,f=M.lencode,g=M.distcode,v=(1<<M.lenbits)-1,m=(1<<M.distbits)-1;e:do{p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=f[h&v];t:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))S[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=f[(65535&y)+(h&(1<<_)-1)];continue t}if(32&_){M.mode=16191;break e}e.msg="invalid literal/length code",M.mode=16209;break e}G=65535&y,(_&=15)&&(p<_&&(h+=w[n++]<<p,p+=8),G+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=g[h&m];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue n}e.msg="invalid distance code",M.mode=16209;break e}if(R=65535&y,p<(_&=15)&&(h+=w[n++]<<p,(p+=8)<_&&(h+=w[n++]<<p,p+=8)),(R+=h&(1<<_)-1)>s){e.msg="invalid distance too far back",M.mode=16209;break e}if(h>>>=_,p-=_,R>(_=i-o)){if((_=R-_)>l&&M.sane){e.msg="invalid distance too far back",M.mode=16209;break e}if(b=0,T=d,0===u){if(b+=c-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}else if(u<_){if(b+=c+u-_,(_-=u)<G){G-=_;do{S[i++]=d[b++]}while(--_);if(b=0,u<G){G-=_=u;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}}else if(b+=u-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}for(;G>2;)S[i++]=T[b++],S[i++]=T[b++],S[i++]=T[b++],G-=3;G&&(S[i++]=T[b++],G>1&&(S[i++]=T[b++]))}else{b=i-R;do{S[i++]=S[b++],S[i++]=S[b++],S[i++]=S[b++],G-=3}while(G>2);G&&(S[i++]=S[b++],G>1&&(S[i++]=S[b++]))}break}}break}}while(n<r&&i<a);n-=G=p>>3,h&=(1<<(p-=G<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<a?a-i+257:257-(i-a),M.hold=h,M.bits=p},xB=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),XB=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),HB=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),CB=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),OB=function(e,t,n,r,i,o,a,s){var c,l,u,d,h,p,f,g,v,m=s.bits,y=0,_=0,G=0,R=0,b=0,T=0,w=0,S=0,M=0,E=0,D=null,z=new Uint16Array(16),k=new Uint16Array(16),A=null;for(y=0;y<=15;y++)z[y]=0;for(_=0;_<r;_++)z[t[n+_]]++;for(b=m,R=15;R>=1&&0===z[R];R--);if(b>R&&(b=R),0===R)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(G=1;G<R&&0===z[G];G++);for(b<G&&(b=G),S=1,y=1;y<=15;y++)if(S<<=1,(S-=z[y])<0)return-1;if(S>0&&(0===e||1!==R))return-1;for(k[1]=0,y=1;y<15;y++)k[y+1]=k[y]+z[y];for(_=0;_<r;_++)0!==t[n+_]&&(a[k[t[n+_]]++]=_);if(0===e?(D=A=a,p=20):1===e?(D=xB,A=XB,p=257):(D=HB,A=CB,p=0),E=0,_=0,y=G,h=o,T=b,w=0,u=-1,d=(M=1<<b)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){f=y-w,a[_]+1<p?(g=0,v=a[_]):a[_]>=p?(g=A[a[_]-p],v=D[a[_]-p]):(g=96,v=0),c=1<<y-w,G=l=1<<T;do{i[h+(E>>w)+(l-=c)]=f<<24|g<<16|v|0}while(0!==l);for(c=1<<y-1;E&c;)c>>=1;if(0!==c?(E&=c-1,E+=c):E=0,_++,0==--z[y]){if(y===R)break;y=t[n+a[_]]}if(y>b&&(E&d)!==u){for(0===w&&(w=b),h+=G,S=1<<(T=y-w);T+w<R&&!((S-=z[T+w])<=0);)T++,S<<=1;if(M+=1<<T,1===e&&M>852||2===e&&M>592)return 1;i[u=E&d]=b<<24|T<<16|h-o|0}}return 0!==E&&(i[h+E]=y-w<<24|64<<16|0),s.bits=b,0},LB=RU.Z_FINISH,UB=RU.Z_BLOCK,BB=RU.Z_TREES,NB=RU.Z_OK,VB=RU.Z_STREAM_END,jB=RU.Z_NEED_DICT,KB=RU.Z_STREAM_ERROR,QB=RU.Z_DATA_ERROR,WB=RU.Z_MEM_ERROR,qB=RU.Z_BUF_ERROR,ZB=RU.Z_DEFLATED,$B=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function YB(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var JB,eN,tN=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||t.mode<16180||t.mode>16211?1:0},nN=function(e){if(tN(e))return KB;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,NB},rN=function(e){if(tN(e))return KB;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,nN(e)},iN=function(e,t){var n;if(tN(e))return KB;var r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?KB:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,rN(e))},oN=function(e,t){if(!e)return KB;var n=new YB;e.state=n,n.strm=e,n.window=null,n.mode=16180;var r=iN(e,t);return r!==NB&&(e.state=null),r},aN=!0,sN=function(e){if(aN){JB=new Int32Array(512),eN=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(OB(1,e.lens,0,288,JB,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;OB(2,e.lens,0,32,eN,0,e.work,{bits:5}),aN=!1}e.lencode=JB,e.lenbits=9,e.distcode=eN,e.distbits=5},cN=function(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},lN={inflateReset:rN,inflateReset2:iN,inflateResetKeep:nN,inflateInit:function(e){return oN(e,15)},inflateInit2:oN,inflate:function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=0,E=new Uint8Array(4),D=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(tN(e)||!e.output||!e.input&&0!==e.avail_in)return KB;16191===(n=e.state).mode&&(n.mode=16192),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,h=c,T=NB;e:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===l){0===n.wbits&&(n.wbits=15),n.check=0,E[0]=255&l,E[1]=l>>>8&255,n.check=_U(n.check,E,2,0),l=0,u=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&l)!==ZB){e.msg="unknown compression method",n.mode=16209;break}if(u-=4,b=8+(15&(l>>>=4)),0===n.wbits&&(n.wbits=b),b>15||b>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&l?16189:16191,l=0,u=0;break;case 16181:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.flags=l,(255&NO(n))!==ZB){e.msg="unknown compression method",n.mode=16209;break}if(57344&NO(n)){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=l>>8&1),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_U(n.check,E,2,0)),l=0,u=0,n.mode=16182;case 16182:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.time=l),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,n.check=_U(n.check,E,4,0)),l=0,u=0,n.mode=16183;case 16183:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_U(n.check,E,2,0)),l=0,u=0,n.mode=16184;case 16184:if(1024&NO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=_U(n.check,E,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&NO(n)&&((p=n.length)>s&&(p=s),p&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+p),b)),512&NO(n)&&4&n.wrap&&(n.check=_U(n.check,r,p,o)),s-=p,o+=p,n.length-=p),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&NO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b))}while(b&&p<s);if(512&NO(n)&&4&n.wrap&&(n.check=_U(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&NO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.comment+=String.fromCharCode(b))}while(b&&p<s);if(512&NO(n)&&4&n.wrap&&(n.check=_U(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&NO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}l=0,u=0}n.head&&(n.head.hcrc=NO(n)>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}e.adler=n.check=$B(l),l=0,u=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,jB;e.adler=n.check=1,n.mode=16191;case 16191:if(t===UB||t===BB)break e;case 16192:if(n.last){l>>>=7&u,u-=7&u,n.mode=16206;break}for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=16193;break;case 1:if(sN(n),n.mode=16199,t===BB){l>>>=2,u-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}l>>>=2,u-=2;break;case 16193:for(l>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&l,l=0,u=0,n.mode=16194,t===BB)break e;case 16194:n.mode=16195;case 16195:if(p=n.length){if(p>s&&(p=s),p>c&&(p=c),0===p)break e;i.set(r.subarray(o,o+p),a),s-=p,o+=p,c-=p,a+=p,n.length-=p;break}n.mode=16191;break;case 16196:for(;u<14;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.lens[D[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},T=OB(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(y<16)l>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(S=v+2;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(l>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}b=n.lens[n.have-1],p=3+(3&l),l>>>=2,u-=2}else if(17===y){for(S=v+3;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=3+(7&(l>>>=v)),l>>>=3,u-=3}else{for(S=v+7;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=11+(127&(l>>>=v)),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;p--;)n.lens[n.have++]=b}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,w={bits:n.lenbits},T=OB(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},T=OB(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,T){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===BB)break e;case 16199:n.mode=16200;case 16200:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,IB(e,h),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(m&&0==(240&m)){for(_=v,G=m,R=y;m=(M=n.lencode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,n.length=y,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=16191;break}if(64&m){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;m=(M=n.distcode[l&(1<<n.distbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(0==(240&m)){for(_=v,G=m,R=y;m=(M=n.distcode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,64&m){e.msg="invalid distance code",n.mode=16209;break}n.offset=y,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===c)break e;if(p=h-c,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),g=n.window}else g=i,f=a-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do{i[a++]=g[f++]}while(--p);0===n.length&&(n.mode=16200);break;case 16205:if(0===c)break e;i[a++]=n.length,c--,n.mode=16200;break;case 16206:if(n.wrap){for(;u<32;){if(0===s)break e;s--,l|=r[o++]<<u,u+=8}if(h-=c,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=NO(n)?_U(n.check,i,h,a-h):mU(n.check,i,h,a-h)),h=c,4&n.wrap&&(NO(n)?l:$B(l))!==n.check){e.msg="incorrect data check",n.mode=16209;break}l=0,u=0}n.mode=16207;case 16207:if(n.wrap&&NO(n)){for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=16209;break}l=0,u=0}n.mode=16208;case 16208:T=VB;break e;case 16209:T=QB;break e;case 16210:return WB;default:return KB}return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==LB))&&cN(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=NO(n)?_U(n.check,i,h,e.next_out-h):mU(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(16191===n.mode?128:0)+(16199===n.mode||16194===n.mode?256:0),(0===d&&0===h||t===LB)&&T===NB&&(T=qB),T},inflateEnd:function(e){if(tN(e))return KB;var t=e.state;return t.window&&(t.window=null),e.state=null,NB},inflateGetHeader:function(e,t){if(tN(e))return KB;var n=e.state;return 0==(2&n.wrap)?KB:(n.head=t,t.done=!1,NB)},inflateSetDictionary:function(e,t){var n,r=t.length;return tN(e)||0!==(n=e.state).wrap&&16190!==n.mode?KB:16190===n.mode&&mU(1,t,r,0)!==n.check?QB:cN(e,t,r,r)?(n.mode=16210,WB):(n.havedict=1,NB)},inflateInfo:"pako inflate (from Nodeca project)"},uN=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},dN=Object.prototype.toString,hN=RU.Z_NO_FLUSH,pN=RU.Z_FINISH,fN=RU.Z_OK,gN=RU.Z_STREAM_END,vN=RU.Z_NEED_DICT,mN=RU.Z_STREAM_ERROR,yN=RU.Z_DATA_ERROR,_N=RU.Z_MEM_ERROR;function GN(e){this.options=gB.assign({chunkSize:65536,windowBits:15,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new GB,this.strm.avail_out=0;var n=lN.inflateInit2(this.strm,t.windowBits);if(n!==fN)throw new Error(GU[n]);if(this.header=new uN,lN.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=_B.string2buf(t.dictionary):"[object ArrayBuffer]"===dN.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=lN.inflateSetDictionary(this.strm,t.dictionary))!==fN))throw new Error(GU[n])}function RN(e,t){var n=new GN(t);if(n.push(e),n.err)throw n.msg||GU[n.err];return n.result}GN.prototype.push=function(e,t){var n,r,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?pN:hN,"[object ArrayBuffer]"===dN.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(n=lN.inflate(o,r))===vN&&s&&((n=lN.inflateSetDictionary(o,s))===fN?n=lN.inflate(o,r):n===yN&&(n=vN));o.avail_in>0&&n===gN&&o.state.wrap>0&&0!==e[o.next_in];)lN.inflateReset(o),n=lN.inflate(o,r);switch(n){case mN:case yN:case vN:case _N:return this.onEnd(n),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||n===gN))if("string"===this.options.to){var c=_B.utf8border(o.output,o.next_out),l=o.next_out-c,u=_B.buf2string(o.output,c);o.next_out=l,o.avail_out=a-l,l&&o.output.set(o.output.subarray(c,c+l),0),this.onData(u)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(n!==fN||0!==i){if(n===gN)return n=lN.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},GN.prototype.onData=function(e){this.chunks.push(e)},GN.prototype.onEnd=function(e){e===fN&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=gB.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var bN={Inflate:GN,inflate:RN,inflateRaw:function(e,t){return(t=t||{}).raw=!0,RN(e,t)},ungzip:RN,constants:RU},TN={Deflate:PB.Deflate,deflate:PB.deflate,deflateRaw:PB.deflateRaw,gzip:PB.gzip,Inflate:bN.Inflate,inflate:bN.inflate,inflateRaw:bN.inflateRaw,ungzip:bN.ungzip,constants:RU},wN=function(){function e(e,t){var n=this;this.collector=e,this.config=t,this.requestType=t.request_type||"xhr",this.supportBeacon=!(!window.navigator||!window.navigator.sendBeacon),this.errorCode={NO_URL:4001,IMG_ON:4e3,IMG_CATCH:4002,BEACON_FALSE:4003,XHR_ON:500,RESPONSE:5001,TIMEOUT:5005},this.customHeader=t.custom_request_header||{},this.collector.on("custom-request-header",(function(e){n.setRequestHeader(e)}))}return e.prototype.setRequestHeader=function(e){this.customHeader=zT(this.customHeader,e)},e.prototype.useFetch=function(e){var t=e.url,n=e.data,r=e.method,i=e.success,o=e.fail,a={"Content-Type":"application/json; charset=utf-8"};if(jG(this.customHeader).length)for(var s in this.customHeader)a[s]=this.customHeader[s];window.fetch?fetch(t,{method:r||"POST",headers:a,body:PT(n)}).then((function(e){return e.json()})).then((function(e){i&&i(e)})).catch((function(e){o&&o(n,e)})):(this.requestType="xhr",console.log("your brwoser not support fetch, use xhr"),this.useRequest({url:t,data:n,method:r,success:i,fail:o}))},e.prototype.useBeacon=function(e){var t=e.url,n=e.data,r=e.success,i=e.fail;window.navigator.sendBeacon(t,PT(n))?r&&r():i&&i(n,this.errorCode.BEACON_FALSE)},e.prototype.useRequest=function(e){var t=this,n=e.url,r=e.data,i=e.method,o=e.success,a=e.fail,s=e.timeout,c=e.useBeacon,l=e.withCredentials,u=e.app_key,d=e.forceXhr,h=e.zip;if(c&&this.supportBeacon)this.useBeacon({url:n,data:r,method:i,success:o,fail:a});else if("fetch"!==this.requestType||d)try{var p=new XMLHttpRequest,f=i||"POST";if(p.open(f,""+n,!0),p.setRequestHeader("Content-Type","application/json; charset=utf-8"),u&&p.setRequestHeader("X-MCS-AppKey",""+u),jG(this.customHeader).length)for(var g in this.customHeader)p.setRequestHeader(g,this.customHeader[g]);l&&(p.withCredentials=!0),s&&(p.timeout=s,p.ontimeout=function(){a&&a(r,t.errorCode.TIMEOUT)}),p.onload=function(){if(o){var e=null;if(p.responseText){try{e=JSON.parse(p.responseText)}catch(t){e={}}o(e,r)}}},p.onerror=function(){p.abort(),a&&a(r,t.errorCode.XHR_ON)};try{var v=PT(r);if(this.config.need_zip&&h){var m=(new TextEncoder).encode(v),y=TN.gzip(m);p.setRequestHeader("Content-Encoding","gzip"),p.send(y)}else p.send(v)}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_send",eventData:r,errorCode:1e3,msg:_.message||_.stack||"sdk_error_send"})}}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_request",eventData:r,errorCode:1001,msg:_.message||_.stack||"sdk_error_request"})}else this.useFetch({url:n,data:r,method:i,success:o,fail:a})},e}(),SN=function(){function e(e,t){if(this.devToolReady=!1,this.devToolOrigin="*",this.sendAlready=!1,!t.disable_debug&&"Microsoft Internet Explorer"!==e.configManager.get("browser")){this.collect=e,this.config=t,this.app_id=t.app_id;var n=e.adapters.storage;this.cacheStorgae=new n(!1),this.loadUrl=t.devtool_url||"https://lf-static.applogcdn.com/obj/applog-sdk-static/log-sdk/collect/devtool/debug-web.v2.0.0.js",this.filterEvent=new PO(["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","bav2b_page","bav2b_beat","bav2b_page_statistics","bav2b_click","bav2b_page_exposure","_be_active","predefine_pageview","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append","predefine_page_alive","predefine_page_close","abtest_exposure"]),this.load()}}return e.prototype.loadScript=function(e){try{var t=document.createElement("script");t.src=e,t.onerror=function(){console.log("load DevTool render fail")},t.onload=function(){console.log("load DevTool render success")},document.getElementsByTagName("body")[0].appendChild(t)}catch(n){console.log("devTool load fail, "+n.message)}},e.prototype.parseUrl=function(){var e={};try{var t=window.location.href.split("?")[1].split("&");t.length&&qG(t).call(t,(function(t){var n=t.split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}))}catch(n){}return e},e.prototype.load=function(){try{var e=this.parseUrl();if(e.open_devtool_web&&e.app_id){if(Y_(e.app_id)!==this.app_id)return}else if(!this.getStorage())return;this.loadBaseInfo(),this.loadHook(),this.setStorage(),this.addLintener(),this.loadDebuggerModule(),this.loadDevTool()}catch(t){console.log("debug fail, "+t.message)}},e.prototype.getStorage=function(){var e=this.cacheStorgae.getItem("__applog_open_devtool_web");return e&&Y_(e)===this.app_id},e.prototype.setStorage=function(){this.cacheStorgae.setItem("__applog_open_devtool_web",this.app_id)},e.prototype.loadDevTool=function(){this.loadScript(this.loadUrl)},e.prototype.loadBaseInfo=function(){if(this.log=[],this.event=[],this.info=[{title:"基本信息",key:"base",type:1,content:[{name:"app_id",desc:"APP_ID",value:this.config.app_id},{name:"channel",desc:"CHANNEL",value:this.config.channel},{name:"domain",desc:"上报域名",value:this.collect.configManager.getDomain()},{name:"sdk_version",desc:"SDK版本",value:yL},{name:"sdk_type",desc:"SDK引入方式",value:"npm"}]},{title:"用户信息",key:"user",type:2,content:[{name:"uuid",desc:"UUID",value:this.collect.configManager.get("user").user_unique_id||""},{name:"web_id",desc:"WEB_ID",value:this.collect.configManager.get("user").web_id||""}]},{title:"公共参数信息",type:2,key:"common",content:[{name:"browser",desc:"浏览器",value:this.collect.configManager.get("browser")},{name:"browser_version",desc:"浏览器版本",value:this.collect.configManager.get("browser_version")},{name:"platform",desc:"平台",value:this.collect.configManager.get("platform")},{name:"device_model",desc:"设备型号",value:this.collect.configManager.get("device_model")},{name:"os_name",desc:"操作系统",value:this.collect.configManager.get("os_name")},{name:"os_version",desc:"操作系统版本",value:this.collect.configManager.get("os_version")},{name:"resolution",desc:"屏幕分辨率",value:this.collect.configManager.get("resolution")},{name:"referrer",desc:"来源",value:this.collect.configManager.get("referrer")},{name:"custom",desc:"自定义信息",value:PT(this.collect.configManager.get("custom"))}]},{title:"配置信息",key:"config",type:3,content:[{name:"autotrack",desc:"全埋点",value:!!this.config.autotrack},{name:"stay",desc:"停留时长",value:!!this.config.enable_stay_duration}]},{title:"A/B配置信息",key:"ab",type:4,content:[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test}]}],this.config.enable_ab_test){var e=this.getInfo("ab"),t=[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test},{name:"vid",desc:"已曝光VID",value:this.collect.configManager.getAbVersion()},{name:"ab_domain",desc:"A/B域名",value:this.config.ab_channel_domain||rL(vL[this.config.channel])},{name:"all_values",desc:"全部配置",value:this.collect.configManager.getAbCache()}];e.content=t,this.setInfo("ab",e)}if(this.config.enable_native||this.config.Native){var n={title:"客户端信息",type:3,content:[{name:"native",desc:"是否打通",value:!!this.collect.bridgeReport}]};this.setInfo("native",n)}if(bw(yL).call(yL,"tob")){var r,i=this.getInfo("user");i.content.push({name:"sid",desc:Fk(r="DISS".split("")).call(r).join(""),value:"点击获取"}),this.setInfo("user",i)}},e.prototype.getInfo=function(e){var t,n=null;return qG(t=this.info).call(t,(function(t){t.key===e&&(n=t)})),n},e.prototype.setInfo=function(e,t){var n,r=!1;qG(n=this.info).call(n,(function(n){n.key===e&&(r=!0,n=t)})),r||this.info.push(t)},e.prototype.getSecondInfo=function(e,t){var n,r=this.getInfo(e),i=null;return qG(n=r.content).call(n,(function(e){e.name===t&&(i=e)})),i},e.prototype.setSecondInfo=function(e,t,n){var r,i=this.getInfo(e),o=!1;if(qG(r=i.content).call(r,(function(e){e.name===t&&(e.value=n,o=!0)})),!o){var a={name:t,value:n,desc:t.toLocaleUpperCase()};i.content.push(a)}this.setInfo(e,i)},e.prototype.loadHook=function(){var e=this;this.collect.on(JO.DEBUGGER_MESSAGE,(function(t){switch(t.type){case JO.DEBUGGER_MESSAGE_SDK:var n={time:t.time,type:t.logType||"sdk",infoType:t.infoType||"sdk",level:t.level,name:t.info,show:!0,levelShow:!0,needDesc:!!t.data};if(t.data&&(n.desc={content:PT(t.data)}),e.updateLog(n),t.secType&&"AB"===t.secType)e.setSecondInfo("ab","vid",e.collect.configManager.getAbVersion()),e.setSecondInfo("ab","all_values",e.collect.configManager.getAbCache());else if("USER"===t.secType)e.setSecondInfo("user","user_unique_id"===t.common?"uuid":t.common,e.collect.configManager.get(t.common));else if("HEADER"===t.secType){var r=e.collect.configManager.get(t.common);e.setSecondInfo("common",t.common,"custom"===t.common?PT(r):r)}return void e.updateInfo();case JO.DEBUGGER_MESSAGE_EVENT:if(t.data&&t.data.length){var i=t.data[0],o=i.events;if(!o.length)return;qG(o).call(o,(function(n){n.checkShow=!0,n.searchShow=!0,n.focusShow=!0,n.status=t.status,n.type=e.filterEvent.has(n.event)?"sdk":"cus",n.verifyType=t.verifyType?"verify":"no",n.info="","fail"===t.status&&(n.info={message:"code: "+t.code+", msg: "+(t.msg||t.failType)})})),e.updateEvent(i)}return}}))},e.prototype.addLintener=function(){var e=this;window.addEventListener("message",(function(t){if(t&&t.data&&"devtool:web:ready"===t.data.type){if(e.devToolOrigin=t.origin,e.devToolReady=!0,e.sendAlready)return;e.sendData("devtool:web:init",{info:e.info,log:e.log,event:e.event,sdk_type:bw(yL).call(yL,"tob")?"tob":"inner",appId:e.app_id}),e.sendAlready=!0}t&&t.data&&"devtool:web:ssid"===t.data.type&&e.collect.getToken((function(t){e.setSecondInfo("user","sid",t.tobid),e.updateInfo()}))}))},e.prototype.sendData=function(e,t){try{var n={type:e,payload:t};window&&window.postMessage(n,this.devToolOrigin)}catch(r){}},e.prototype.updateInfo=function(){this.devToolReady&&this.sendData("devtool:web:info",this.info)},e.prototype.updateLog=function(e){this.devToolReady?this.sendData("devtool:web:log",e):this.log.push(e)},e.prototype.updateEvent=function(e){this.devToolReady?this.sendData("devtool:web:event",e):this.event.push(e)},e.prototype.loadDebuggerModule=function(){var e="#debugger-applog-web {\n position: fixed;\n width: 45px;\n height: 45px;\n background-image: url("+rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1bz1cz24z22z1mz1mz1jz4bz18z1nz1nz1jz1mz1ez4az1nz1lz1e")+");\n bottom: 5%;\n right: 10%;\n cursor: pointer;\n z-index:100;\n background-size: 45px;\n }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.appendChild(n);var r=document.createElement("div");r.innerHTML='<div id="debugger-applog-web" class="debugger-applog-web"></div>';var i=document.createElement("div");i.innerHTML='<div id="debugger-container" class="debugger-container"></div>',document.getElementsByTagName("body")[0].appendChild(r),document.getElementsByTagName("body")[0].appendChild(i);var o=document.getElementById("debugger-applog-web");o&&o.addEventListener("click",(function(){window&&window.postMessage({type:"devtool:web:open-draw"},location.origin)}))},e}(),MN={autotrack:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z23z22z1mz22z20z18z1az1iz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/autotrack.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/autotrack.js"},object:"LogAutoTrack"},ab:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z19z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/ab.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/ab.js"},object:"LogAb"},stay:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz21z22z18z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/stay.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/stay.js"},object:"LogStay"},route:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1mz23z22z1cz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/route.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/route.js"},object:"LogRoute"},tracer:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz22z20z18z1az1cz20z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/tracer.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/tracer.js"},object:"LogTracer"},retry:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1cz22z20z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/retry.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/retry.js"},object:"LogRetry"},visual:{src:{cn:rL("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz24z1gz21z23z18z1jz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/visual.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/visual.js"},object:"LogVisual"}},EN=["et","profile","heartbeat","monitor"],DN=function(){function e(e){this.disableAutoPageView=!1,this.bridgeReport=!1,this.staging=!1,this.pluginInstances=[],this.sended=!1,this.started=!1,this.destroy=!1,this.sdkReady=!1,this.adapters={},this.loadType="base",this.sdkStop=!1,this.name=e,this.hook=new eL,this.remotePlugin=new VO,this.Types=GL,this.adapters.storage=fL}return e.usePlugin=function(t,n,r){if(n){for(var i=!1,o=0,a=e.plugins.length;o<a;o++)if(e.plugins[o].name===n){e.plugins[o].plugin=t,e.plugins[o].options=r||{},i=!0;break}i||e.plugins.push({name:n,plugin:t,options:r})}else e.plugins.push({plugin:t})},e.prototype.usePlugin=function(e,t,n){e&&("full"===this.loadType&&bw(EN).call(EN,e)?console.info("your sdk version has "+e+" plugin already ~"):t?"string"==typeof t?this.remotePlugin.get(e)||this.remotePlugin.set(e,{src:t,call:n}):this.remotePlugin.get(e)||this.remotePlugin.set(e,{instance:t}):this.remotePlugin.get(e)||this.remotePlugin.set(e,"sdk"))},e.prototype.init=function(t){var n,r,i=this;this.logger=new ML(this.name,t.log),this.inited?this.logger.warn("[instance: "+this.name+"], every instance's api: init, can be call only one time!"):t&&tL(t)?t.app_id&&"number"==typeof(r=t.app_id)&&!isNaN(r)?t.app_key&&"string"!=typeof t.app_key?this.logger.warn("app_key param is error, must be string, please check!"):(t.channel_domain||-1!==hR(n=["cn","sg","va","my"]).call(n,t.channel)||(this.logger.warn("channel must be `cn`, `sg`,`va`, `my` !"),t.channel="cn"),this.spider=new EL,this.spider.checkSpider(t)?this.logger.warn("your env may be a spider, can not report!"):(this.appBridge=new DL(this,t.enable_native),this.requestManager=new wN(this,t),this.bridgeReport=this.appBridge.bridgeInject(),this.configManager=new SL(this,t),this.debugger=new SN(this,t),this.initConfig=t,this.emit(GL.Init),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Init",data:t,level:"info",time:vR(),infoType:"cus"}),this.destroy=!1,t.disable_auto_pv&&(this.disableAutoPageView=!0),this.bridgeReport||(this.configManager.set({app_id:t.app_id}),this.eventManager=new AL,this.tokenManager=new PL,this.sessionManager=new kL,qT.all([new qT((function(e){i.once(GL.TokenComplete,(function(){e(!0)}))})),new qT((function(e){i.once(GL.Start,(function(){e(!0)}))}))]).then((function(){try{var n;iX(n=e.plugins).call(n,(function(e,t){var n=t.plugin,r=t.options,o=zT(i.initConfig,r),a=new n;return a.apply(i,o),e.push(a),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK加载"+t.name+"插件",level:"info",time:vR(),infoType:"sdk"}),e}),i.pluginInstances)}catch(r){console.warn("load plugin error, "+r.message),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK加载插件发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.sdkReady=!0,i.emit(GL.Ready),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 用户信息初始化完成",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 初始化完成",time:vR(),level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.logger.info("appid: "+t.app_id+", userInfo:"+PT(i.configManager.get("user"))),i.logger.info("appid: "+t.app_id+", sdk is ready, version type is "+i.loadType+", version is "+yL+", you can report now !!!"),t.disable_auto_pv&&(i.disableAutoPageView=!0);try{"full"===i.loadType&&(t.enable_ab_test||t.autotrack)&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(r){i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.pageView(),i.on(GL.TokenChange,(function(e){"webid"===e&&i.pageView(),i.logger.info("appid: "+t.app_id+" token change, new userInfo:"+PT(i.configManager.get("user"))),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 设置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(GL.TokenReset,(function(){i.logger.info("appid: "+t.app_id+" token reset, new userInfo:"+PT(i.configManager.get("user"))),i.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 重置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(GL.RouteChange,(function(e){e.init||t.disable_route_report||i.pageView()}))})),this.tokenManager.apply(this,t),this.eventManager.apply(this,t),this.sessionManager.apply(this,t)),this.inited=!0)):this.logger.warn("app_id param is error, must be number, please check!"):this.logger.warn("init params error,please check!")},e.prototype.config=function(e){if(!this.inited)return console.warn("config must be use after function init"),void this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config must be use after function init",infoType:"sdk"});if(!e||!tL(e))return console.warn("config params is error, please check"),void this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config params is error, please check",infoType:"sdk"});if(this.bridgeReport)this.appBridge.setConfig(e);else{e._staging_flag&&1===e._staging_flag&&(this.staging=!0),e.disable_auto_pv&&(this.disableAutoPageView=!0,delete e.disable_auto_pv);var t=jO({},e),n=this.initConfig.configPersist||this.initConfig.config_persist||!1;if(this.initConfig&&n){var r=this.configManager.getStore();r&&(t=zT(r,e)),this.configManager.setStore(e)}t.web_id,t.user_unique_id;var i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&hR(t).call(t,r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof KG){var i=0;for(r=KG(e);i<r.length;i++)hR(t).call(t,r[i])<0&&(n[r[i]]=e[r[i]])}return n}(t,["web_id","user_unique_id"]);this.configManager.set(i),t.hasOwnProperty("web_id")&&this.emit(GL.ConfigWebId,t.web_id),t.hasOwnProperty("user_unique_id")&&this.emit(GL.ConfigUuid,t.user_unique_id),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Config",level:"info",time:vR(),data:t,infoType:"cus"})}},e.prototype.setUserUniqueID=function(e){this.config({user_unique_id:e})},e.prototype.setHeaderInfo=function(e,t){var n={};n[e]=t,this.config(n)},e.prototype.removeHeaderInfo=function(e){var t={};t[e]=void 0,this.config(t)},e.prototype.setDomain=function(e){this.configManager&&this.configManager.setDomain(e),this.emit(GL.ConfigDomain)},e.prototype.getConfig=function(e){var t;return null===(t=this.configManager)||void 0===t?void 0:t.get(e)},e.prototype.send=function(){this.start()},e.prototype.start=function(){this.inited&&!this.sended&&(this.sended=!0,this.started=!0,this.emit(GL.Start),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Start",level:"info",time:vR(),infoType:"cus"}),this.bridgeReport&&(this.pageView(),this.emit(GL.Ready)))},e.prototype.event=function(e,t){var n=this;try{var r=[];if(uS(e))qG(e).call(e,(function(e){var t=n.processEvent(e[0],e[1]||{});t&&r.push(t)}));else{var i=this.processEvent(e,t);if(!i)return;r.push(i)}this.bridgeReport?qG(r).call(r,(function(e){var t=e.event,r=e.params;n.appBridge.onEventV3(t,PT(r))})):r.length&&(this.emit(GL.Event,r),this.emit(GL.SessionResetTime)),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event",level:"info",time:vR(),data:e,infoType:"cus"})}catch(o){this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e,t){if(uS(e))console.warn("beconEvent not support batch report, please check");else{var n=[],r=this.processEvent(e,t||{});r&&(n.push(r),n.length&&(this.emit(GL.BeconEvent,n),this.emit(GL.SessionResetTime)),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Beacon Event",level:"info",time:vR(),data:e,infoType:"sdk"}))}},e.prototype.beaconEvent=function(e,t){this.beconEvent(e,t)},e.prototype.processEvent=function(e,t){void 0===t&&(t={});try{if(!e)return console.warn("eventName is null, please check"),null;var n=e;/^event\./.test(e)&&(n=mG(e).call(e,6));var r=t;"object"!=Wd(r)&&(r={}),r.profile?delete r.profile:r.event_index=nL();var i=void 0;return r.local_ms?(i=r.local_ms,delete r.local_ms):i=+new Date,{event:n,params:r,local_time_ms:i,is_bav:this.initConfig&&this.initConfig.autotrack?1:0}}catch(o){return this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"}),{event:e,params:t}}},e.prototype.filterEvent=function(e){this.eventFilter=e},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,n){this.hook.emit(e,t,n)},e.prototype.set=function(e){this.hook.set(e)},e.prototype.stop=function(){this.sdkStop=!0},e.prototype.reStart=function(){this.sdkStop=!1},e.prototype.pageView=function(){this.disableAutoPageView||this.predefinePageView()},e.prototype.predefinePageView=function(e){if(void 0===e&&(e={}),this.inited){var t={title:document.title||location.pathname,url:location.href,url_path:this.handlePath(),time:vR(),referrer:window.document.referrer,$is_first_time:""+(this.configManager&&this.configManager.is_first_time||!1)},n=jO(jO({},t),e);this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 上报PV",level:"info",time:vR(),infoType:"sdk"}),this.event("predefine_pageview",n)}else console.warn("predefinePageView must be use after function init")},e.prototype.handlePath=function(){var e=location.pathname;try{if(this.initConfig.allow_hash){var t=new bk(location.href).hash.match(/#\/([^?#]+)/i);return t&&t.length?t[1]:location.pathname}}catch(n){e=location.pathname}return e},e.prototype.clearEventCache=function(){this.emit(GL.CleanEvents)},e.prototype.setWebIDviaUnionID=function(e){if(e){var t=sL(e);this.config({web_id:""+t,wechat_unionid:e}),this.emit(GL.CustomWebId)}},e.prototype.setWebId=function(e){this.config({web_id:""+e})},e.prototype.setWebIDviaOpenID=function(e){if(e){var t=sL(e);this.config({web_id:""+t,wechat_openid:e}),this.emit(GL.CustomWebId)}},e.prototype.setNativeAppId=function(e){this.bridgeReport&&this.appBridge.setNativeAppId(e)},e.prototype.setRequestHeaders=function(e){this.emit(GL.CustomHeader,e)},e.prototype.getSessionId=function(){return zL()},e.prototype.setSessionId=function(e){this.emit(GL.SessionReset,e)},e.prototype.resetStayDuration=function(e,t,n){this.emit(GL.ResetStay,{url_path:e,title:t,url:n},GL.Stay)},e.prototype.resetStayParams=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.emit(GL.SetStay,{url_path:e,title:t,url:n},GL.Stay)},e.prototype.getToken=function(e,t){var n=this;if(this.inited){var r=!1,i=function(t){if(!r){var i;r=!0;var o=n.configManager.get().user;return t&&(o.tobid=t,o[Fk(i="diss".split("")).call(i).join("")]=t),e(jO({},o))}},o=function(){n.tokenManager.getTobId().then((function(e){i(e)}))};this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行GetToken",level:"info",time:vR(),infoType:"cus"}),this.sdkReady?o():(t&&vG((function(){i()}),t),this.on(GL.Ready,(function(){o()})))}else console.warn("getToken must be use after function init")},e.prototype.profileSet=function(e){this.bridgeReport?this.appBridge.profileSet(PT(e)):this.emit(GL.ProfileSet,e,GL.Profile),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSet",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileSetOnce=function(e){this.bridgeReport?this.appBridge.profileSetOnce(PT(e)):this.emit(GL.ProfileSetOnce,e,GL.Profile),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSetOnce",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileIncrement=function(e){this.bridgeReport?this.appBridge.profileIncrement(PT(e)):this.emit(GL.ProfileIncrement,e,GL.Profile),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileIncrement",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileUnset=function(e){this.bridgeReport?this.appBridge.profileUnset(e):this.emit(GL.ProfileUnset,e,GL.Profile),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileUnset",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileAppend=function(e){this.bridgeReport?this.appBridge.profileAppend(PT(e)):this.emit(GL.ProfileAppend,e,GL.Profile),this.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileAppend",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.setExternalAbVersion=function(e){var t;this.emit(GL.AbExternalVersion,"string"==typeof e&&e?pE(t=""+e).call(t):null,GL.Ab)},e.prototype.getVar=function(e,t,n){this.emit(GL.AbVar,{name:e,defaultValue:t,callback:n},GL.Ab)},e.prototype.getABconfig=function(e,t){this.emit(GL.AbConfig,{params:e,callback:t},GL.Ab)},e.prototype.getAbSdkVersion=function(){return this.configManager.getAbVersion()},e.prototype.onAbSdkVersionChange=function(e){var t=this;return this.emit(GL.AbVersionChangeOn,e,GL.Ab),function(){t.emit(GL.AbVersionChangeOff,e,GL.Ab)}},e.prototype.offAbSdkVersionChange=function(e){this.emit(GL.AbVersionChangeOff,e,GL.Ab)},e.prototype.openOverlayer=function(){this.emit(GL.AbOpenLayer,"",GL.Ab)},e.prototype.closeOverlayer=function(){this.emit(GL.AbCloseLayer,"",GL.Ab)},e.prototype.getAllVars=function(e){this.emit(GL.AbAllVars,e,GL.Ab)},e.prototype.destoryInstace=function(){this.destroy||(this.destroy=!0,this.off(GL.TokenComplete),this.emit(GL.DestoryInstance))},e.prototype.destroyInstance=function(){this.destroy||(this.destroy=!0,this.off(GL.TokenComplete),this.emit(GL.DestoryInstance))},e.plugins=[],e}(),zN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.event_verify_url&&("string"==typeof t.event_verify_url?(this.url=t.event_verify_url+"/v1/list_test",e.on(e.Types.SubmitBefore,(function(t){e.requestManager.useBeacon({url:n.url,data:t}),e.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_EVENT,info:"SDK Report ByteIo Verify Request",time:vR(),data:t,code:200,status:"success",verifyType:!0})}))):console.log("please use correct et_test url"))},e}(),kN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.duration=6e4,this.reportUrl=e.configManager.getDomain()+"/profile/list";var r=e.Types;this.eventCheck=new _L(e,t),this.cache={},this.collect.on(r.ProfileSet,(function(e){n.setProfile(e)})),this.collect.on(r.ProfileSetOnce,(function(e){n.setOnceProfile(e)})),this.collect.on(r.ProfileUnset,(function(e){n.unsetProfile(e)})),this.collect.on(r.ProfileIncrement,(function(e){n.incrementProfile(e)})),this.collect.on(r.ProfileAppend,(function(e){n.appendProfile(e)})),this.collect.on(r.ProfileClear,(function(){n.cache={}})),this.ready(r.Profile)},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.report=function(e,t){void 0===t&&(t={});try{if(this.config.disable_track_event)return;var n=[];n.push(this.collect.processEvent(e,t));var r=this.collect.eventManager.merge(n);this.collect.requestManager.useRequest({url:this.reportUrl,data:r}),this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:r,code:200,status:"success"})}catch(i){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message})}},e.prototype.setProfile=function(e){var t=this.formatParams(e);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set",jO(jO({},t),{profile:!0})))},e.prototype.setOnceProfile=function(e){var t=this.formatParams(e,!0);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set_once",jO(jO({},t),{profile:!0})))},e.prototype.incrementProfile=function(e){e?this.report("__profile_increment",jO(jO({},e),{profile:!0})):console.warn("please check the params, must be object!!!")},e.prototype.unsetProfile=function(e){if(e){var t={};t[e]="1",this.report("__profile_unset",jO(jO({},t),{profile:!0}))}else console.warn("please check the key, must be string!!!")},e.prototype.appendProfile=function(e){if(e){var t={};for(var n in e){var r;"string"==typeof e[n]||"Array"===mG(r=Object.prototype.toString.call(e[n])).call(r,8,-1)?t[n]=e[n]:console.warn("please check the value of param: "+n+", must be string or array !!!")}jG(t).length&&this.report("__profile_append",jO(jO({},t),{profile:!0}))}else console.warn("please check the params, must be object!!!")},e.prototype.pushCache=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){n.cache[t]={val:n.clone(e[t]),timestamp:vR()}}))},e.prototype.formatParams=function(e,t){var n=this;void 0===t&&(t=!1);try{var r;if(!e||"[object Object]"!==Object.prototype.toString.call(e))return void console.warn("please check the params type, must be object !!!");var i={};for(var o in e){var a;"string"==typeof e[o]||"number"==typeof e[o]||"Array"===mG(a=Object.prototype.toString.call(e[o])).call(a,8,-1)?i[o]=e[o]:console.warn("please check the value of params:"+o+", must be string,number,Array !!!")}var s=jG(i);if(!s.length)return;if(!this.eventCheck.checkEventParams(i))return;var c=vR();return iX(r=QG(s).call(s,(function(r){var i=n.cache[r];return t?!i:!(i&&n.compare(i.val,e[r])&&c-i.timestamp<n.duration)}))).call(r,(function(e,t){return e[t]=i[t],e}),{})}catch(l){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:l.message}),console.log("error")}},e.prototype.compare=function(e,t){try{return PT(e)===PT(t)}catch(n){return this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),!1}},e.prototype.clone=function(e){try{return JSON.parse(PT(e))}catch(t){return this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),e}},e.prototype.unReady=function(){console.warn("sdk is not ready, please use this api after start")},e}(),AN=function(){function e(){var e=this;this.setInterval=function(){e.clearIntervalFunc=function(e,t){void 0===e&&(e=function(){}),void 0===t&&(t=1e3);var n,r=vR()+t;return n=vG((function i(){var o=vR()-r;e(),r+=t,n=vG(i,Math.max(0,t-o))}),t),function(){window.clearTimeout(n)}}((function(){e.isSessionhasEvent&&e.endCurrentSession()}),e.sessionInterval)},this.clearInterval=function(){e.clearIntervalFunc&&e.clearIntervalFunc()}}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,!t.disable_heartbeat){this.sessionInterval=6e4,this.startTime=0,this.lastTime=0,this.setInterval();var r=this.collect.Types;this.collect.on(r.SessionResetTime,(function(){n.process()}))}},e.prototype.endCurrentSession=function(){this.collect.event("_be_active",{start_time:this.startTime,end_time:this.lastTime,url:window.location.href,referrer:window.document.referrer,title:document.title||location.pathname}),this.isSessionhasEvent=!1,this.startTime=0},e.prototype.process=function(){this.isSessionhasEvent||(this.isSessionhasEvent=!0,this.startTime=+new Date);var e=this.lastTime||+new Date;this.lastTime=+new Date,this.lastTime-e>this.sessionInterval&&(this.clearInterval(),this.endCurrentSession(),this.setInterval())},e}(),FN=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.channel_domain||t.disable_track_event||t.disable_sdk_monitor||(this.collect=e,this.config=t,this.url=e.configManager.getUrl("event"),this.collect.on(e.Types.Ready,(function(){n.sdkOnload()})),this.collect.on(e.Types.SubmitError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.response;"f_data"===t&&n.sdkError(r,i,o)})),this.collect.on(e.Types.SDKInnerError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.msg;n.sdkInnerError(t,r,i,o)})))},e.prototype.sdkOnload=function(){var e=this;try{var t=this.collect.configManager.get(),n=t.header,r=t.user,i=n.app_id,o=n.app_name,a=n.sdk_version,s=r.web_id,c={events:[{event:"onload",params:PT({app_id:i,app_name:o||"",sdk_version:a,sdk_type:"npm",sdk_config:this.config,sdk_desc:"TOC",url:location.href}),local_time_ms:vR()}],user:{user_unique_id:s},header:{}};vG((function(){e.collect.requestManager.useRequest({url:e.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkError=function(e,t,n){var r=this;try{var i=e[0],o=i.user,a=i.header,s=[];qG(e).call(e,(function(e){var t;qG(t=e.events).call(t,(function(e){s.push(e)}))}));var c={events:DS(s).call(s,(function(e){return{event:"on_error",params:PT({type:"sdk_event_error",error_code:t,app_id:a.app_id,app_name:a.app_name||"",error_event:e.event,sdk_version:a.sdk_version,local_time_ms:e.local_time_ms,tea_event_index:vR(),params:e.params,header:a,user:o,err_msg:n.m||""}),local_time_ms:vR()}})),user:{user_unique_id:o.user_unique_id},header:{}};vG((function(){r.collect.requestManager.useRequest({url:r.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkInnerError=function(e,t,n,r){var i=this;try{var o=t[0],a=o.user,s=o.header,c=[];qG(t).call(t,(function(e){var t;qG(t=e.events).call(t,(function(e){c.push(e)}))}));var l={events:DS(c).call(c,(function(t){return{event:"on_error",params:PT({type:e,error_code:n,app_id:s.app_id,app_name:s.app_name||"",error_event:t.event,sdk_version:s.sdk_version,local_time_ms:t.local_time_ms,tea_event_index:vR(),params:t.params,header:s,user:a,ua:window.navigator.userAgent,err_msg:r}),local_time_ms:vR()}})),user:a,header:{}};vG((function(){i.collect.requestManager.useRequest({url:i.url,data:[l],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(u){}},e}(),PN="undefined"!=typeof window?(window.LogPluginObject||(window.LogPluginObject={}),window.LogPluginObject):null,IN=function(){function e(){}return e.prototype.apply=function(e,t){this._plugin={},this.config=t,this.collect=e,this.channel=t.channel||"cn",this.loadExtend()},e.prototype.loadExtend=function(){var e=this;try{var t;qG(t=this.collect.remotePlugin).call(t,(function(t,n){if("sdk"===t)if(MN.hasOwnProperty(n)){var r=MN[n].object,i=MN[n].src[e.channel]+"?query="+vR();e.exist(n,r,i)}else console.warn("your "+n+" is not exist,please check plugin name");else"object"==Wd(t)&&(t.src?e.exist(n,t.call,t.src):e.process(n,t.instance,"INSTANCE"))}))}catch(n){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("load extend error")}},e.prototype.exist=function(e,t,n){var r=this;PN[t]?(this.process(e,PN[t]),console.log("已有"+e+"插件,避免重复加载~")):this.loadPlugin(e,n,(function(){r.process(e,PN[t]),console.log(" %c %s %s %s","color: yellow; background-color: black;","–","load plugin:"+e+" success","-")}),(function(){console.log(" %c %s %s %s","color: red; background-color: yellow;","–","load plugin:"+e+" error","-")}))},e.prototype.process=function(e,t,n){try{if(n){var r=new t;r.apply&&r.apply(this.collect,this.config),console.log("excude "+e+" success")}else t&&t(this.collect,this.config)}catch(i){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message}),console.log("excude "+e+" error, message:"+i.message)}},e.prototype.loadPlugin=function(e,t,n,r){var i=this;try{var o=document.createElement("script");o.src=t,this._plugin[e]||(this._plugin[e]=[]),this._plugin[e].push(n),o.onerror=function(){r(t)},o.onload=function(){var t;qG(t=i._plugin[e]).call(t,(function(e){e()}))},document.getElementsByTagName("head")[0].appendChild(o)}catch(a){this.collect.emit(JO.DEBUGGER_MESSAGE,{type:JO.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:a.message})}},e}();DN.usePlugin(IN,"extend"),DN.usePlugin(zN,"et"),DN.usePlugin(kN,"profile"),DN.usePlugin(AN,"heartbeat"),DN.usePlugin(FN,"monitor"),new DN("default");var xN=DN,XN=new(function(){function e(){Zm(this,e),Yd(this,"tea",void 0),Yd(this,"_userId",void 0),Yd(this,"_deviceId",void 0)}return Ym(e,[{key:"userId",get:function(){return this._userId}},{key:"deviceId",get:function(){return this._deviceId}},{key:"channel",get:function(){return"cn"}},{key:"init",value:function(e){var t,n;this._userId=(null==e?void 0:e.userId)||((t=localStorage.getItem(pS))||(t=fS(12),localStorage.setItem(pS,t),t)),this._deviceId=(null==e?void 0:e.deviceId)||((n=localStorage.getItem(hS))||(n=fS(11),localStorage.setItem(hS,n),n)),!1!==(null==e?void 0:e.enable)&&(this.tea=this._createTea())}},{key:"_createTea",value:function(){var e=new xN("player_track");return e.init({app_id:468759,channel:"cn"}),e.start(),e.config({user_unique_id:this._userId,device_id:this._deviceId}),e}}]),e}()),HN=i;zn({global:!0,forced:HN.globalThis!==HN},{globalThis:HN});var CN=n(i),ON=d,LN=Ae,UN=nn;zn({target:"Reflect",stat:!0,forced:!o((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return ON(LN(e),t,UN(n))}});var BN=n(te.Reflect.apply);zn({target:"Math",stat:!0},{trunc:Fn});var NN=n(te.Math.trunc),VN=zn,jN=o,KN=$r.f;VN({target:"Object",stat:!0,forced:jN((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:KN});var QN=te.Object,WN=n((function(e){return QN.getOwnPropertyNames(e)})),qN=n(te.Symbol.for),ZN=n(te.Symbol.keyFor),$N=Zs("Array").entries,YN=yr,JN=Ye,eV=se,tV=$N,nV=Array.prototype,rV={DOMTokenList:!0,NodeList:!0},iV=n((function(e){var t=e.entries;return e===nV||eV(nV,e)&&t===nV.entries||JN(rV,YN(e))?tV:t})),oV=zn,aV=nF,sV=o,cV=ee,lV=yF.onFreeze,uV=Object.freeze;oV({target:"Object",stat:!0,forced:sV((function(){uV(1)})),sham:!aV},{freeze:function(e){return uV&&cV(e)?uV(lV(e)):e}});var dV=n(te.Object.freeze),hV=Math.log,pV=Math.LOG10E;zn({target:"Math",stat:!0},{log10:Math.log10||function(e){return hV(e)*pV}});var fV=n(te.Math.log10),gV=tF;zn({target:"Object",stat:!0,forced:Object.isExtensible!==gV},{isExtensible:gV});var vV=n(te.Object.isExtensible),mV=zn,yV=ee,_V=yF.onFreeze,GV=nF,RV=o,bV=Object.preventExtensions;mV({target:"Object",stat:!0,forced:RV((function(){bV(1)})),sham:!GV},{preventExtensions:function(e){return bV&&yV(e)?bV(_V(e)):e}});var TV=n(te.Object.preventExtensions),wV=Zs("Array").values,SV=yr,MV=Ye,EV=se,DV=wV,zV=Array.prototype,kV={DOMTokenList:!0,NodeList:!0},AV=n((function(e){var t=e.values;return e===zV||EV(zV,e)&&t===zV.values||MV(kV,SV(e))?DV:t})),FV=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,PV=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,IV=/ANGLE\s+\((?:[^,]+,\s+)?(?:[^:]+:\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)?/,xV="OpenGL Engine",XV="Unknow",HV=4318,CV=32902,OV=4098,LV=function(e){return e.CpuDeriver="CpuDeriver",e.Intel="Intel",e.Nvidia="NVIDIA",e.Amd="AMD",e.Apple="Apple",e.Adreno="Adreno",e[e.Unknow=XV]="Unknow",e}(LV||{});function UV(e){return"NVIDIA"===e?HV:"AMD"===e?OV:"Intel"===e?CV:0}function BV(e){var t,n,r,i,o=function(e){var t=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple|Adreno)/.exec(e);return t?"Radeon"===t[0]?"AMD":"SwiftShader"===t[0]?"CpuDeriver":t[0]:LV.Unknow}(e);return o===LV.Unknow||"CpuDeriver"===o?{vendor:o,vendorId:0,model:e,backupModel:e,api:XV}:/^ANGLE/.test(e)?function(e,t){var n,r,i,o,a,s,c=XV,l=XV,u=XV;return"Intel"!==e&&"NVIDIA"!==e||(r=FV.exec(t)),"AMD"!==e&&"Adreno"!==e||(r=PV.exec(t)),"Apple"===e&&(r=IV.exec(t)),(null==r?void 0:r[1])&&(c=pE(i=r[1].replace(/(AMD|NVIDIA)/,"")).call(i)),(null==r?void 0:r[2])&&(u=pE(o=r[2]).call(o)),c=pE(n=c.split("(0x00")[0]).call(n),l="Intel"===e?c=pE(a=c.split(xV)[0]).call(a):pE(s=c.split(xV)[0]).call(s),{vendor:e,vendorId:UV(e),model:c,backupModel:l,api:u}}(o,e):"Intel"===o?{vendor:o,vendorId:UV(o),model:pE(r=e.split(xV)[0]).call(r),backupModel:pE(i=e.split(xV)[0]).call(i),api:XV}:{vendor:o,vendorId:UV(o),model:pE(t=e.replace(/(AMD|NVIDIA)/,"")).call(t),backupModel:pE(n=e.split(xV)[0].replace(/(AMD|NVIDIA)/,"")).call(n),api:XV}}var NV=zn,VV=Math.log,jV=Math.LN2;NV({target:"Math",stat:!0},{log2:function(e){return VV(e)/jV}});var KV=n(te.Math.log2),QV="g_ven";var WV="Arc(TM) A770M Graphics|995\nArc(TM) A770 Graphics|983\nArc(TM) A770 Graphics|969\nArc(TM) A580 Graphics|944\nArc(TM) A730M Graphics|822\nArc(TM) A750 Graphics|768\nArc(TM) A750 Graphics|768\nArc(TM) A550M Graphics|660\nArc(TM) A550M Graphics|634\nXe Graphics ReleaseInternal|561\nArc(TM) A770M Graphics|498\nArc(TM) A380 Graphics|473\nArc(TM) A380 Graphics|468\nArc(TM) A370M Graphics|342\nArc(TM) A370M Graphics|341\nXe Graphics|319\nHD Graphics 630 GT2|309\nArc(TM) A350M Graphics|284\nIris(R) Xe MAX Graphics|214\nIris(R) Xe Graphics RI|205\nIris(R) Xe Graphics ReleaseInternal|181\nIris(R) Xe Graphics|180\nGen12 Desktop Graphics Controller|179\nIris(R) Xe Graphics|178\nIris(R) Xe MAX Graphics|168\nCorporation Iris Xe Graphics|167\nCorporation TigerLake-LP GT2 [Iris Xe Graphics]|162\nXe Graphics|158\nArc(TM) A350M Graphics|156\nCorporation TigerLake GT2 [Iris Xe Graphics]|149\nUHD Graphics 770|138\nUHD Graphics ReleaseInternal|137\nIris(R) Pro Graphics P580|137\nIris(R) Plus Graphics|132\nIris Plus Graphics|127\nIris(R) Pro Graphics 580|126\nUHD Graphics 770|125\nUHD Graphics 750|125\nRadeong 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.9.0)|123\nCorporation Iris Plus Graphics G7|123\nIris(R) Plus Graphics|122\nIris(R) Plus Graphics 940|121\nIris(R) Plus Graphics 650|121\nIris(R) Plus Graphics 655|121\nIris(R) Plus Graphics 655|121\nHD Graphics P4600|120\nIris(TM) Pro Graphics 6200|120\nIris(R) Plus Graphics|118\nIris(R) Plus Graphics 650|116\nIris(R) Plus Graphics 655|115\nIris(R) Pro Graphics 580|114\nCorporation Iris Pro Graphics 580|114\nIris(R) Plus Graphics 645|113\nIris(TM) Pro Graphics 6200|113\nIris(TM) Pro Graphics P580|113\nCorporation Iris Plus Graphics 655|112\nArc(TM) Graphics RI|111\nIris(R) Plus Graphics 655|111\nIris(R) Plus Graphics 655|110\nIris(R) Plus Graphics|110\nUHD Graphics|110\nIris Plus Graphics 655|108\nIris(R) Plus Graphics 650|108\nIris(R) Plus Graphics 650|108\nIris(TM) Pro Graphics 580|108\nIris(TM) Pro Graphics 6200|107\nIris Graphics 6100|107\nIris(TM) Pro Graphics 6200|107\nIris(R) Plus Graphics 645|106\nUHD Graphics 730|106\nIris(TM) Pro Graphics 6200|103\nIris Pro Graphics 580|102\nCorporation Iris Pro Graphics 6200|102\nIris(R) Plus Graphics gfx-driver-user-comp_media-21486 DC ReleaseInternal|101\nIris(R) Pro Graphics 580|101\nIris Plus Graphics 645|101\nUHD Graphics 750|100\nIris(TM) Pro Graphics 580|99\nIris(TM) Graphics 550|99\nIris(TM) Pro Graphics P6300|99\nIris(R) Plus Graphics 650|99\nIris(TM) Pro Graphics 5200|98\nIris(R) Graphics 550|97\nIris(R) Plus Graphics|97\nIris(R) Plus Graphics 650|96\nIris(R) Plus Graphics 655|96\nIris(R) Graphics 550|96\nIris(R) Plus Graphics 645|95\nIris Plus Graphics 650|95\nIris(R) Graphics 550|95\nIris Graphics 550|93\nIris(R) Plus Graphics 650|93\nIris(R) Pro Graphics 580|93\nIris(TM) Plus Graphics 650|91\nIris(TM) Graphics 550|91\nIris(R) Plus Graphics 640|89\nIris(TM) Plus Graphics 650|88\nIris(TM) Pro Graphics P6300|88\nIris(TM) Plus Graphics 650|88\nIris(TM) Graphics 550|87\nUHD Graphics 730|87\nCorporation Iris Plus Graphics 650|87\nIris(TM) Pro Graphics 5200|86\nCorporation CometLake-H GT2 [UHD Graphics]|86\nIris(R) Graphics 540|86\nUHD Graphics P630|86\nUHD Graphics 630|85\nIris(TM) Graphics 540|85\nIris(TM) Plus Graphics 640|84\nIris(TM) Graphics 540|84\nUHD Graphics 630|84\nUHD Graphics 630|83\nUHD Graphics P630|83\nIris(TM) Plus Graphics 640|83\nUHD Graphics 630|83\nUHD Graphics 630|83\nIris Plus Graphics 640|83\nIris(TM) Graphics 540|82\nUHD Graphics 630|82\nUHD Graphics 630|82\nIris(TM) Pro Graphics 5200|81\nUHD Graphics 630|81\nHD Graphics 630|81\nUHD Graphics 630|81\nUHD Graphics 630|81\nUHD Graphics 630|80\nUHD Graphics 630|80\nUHD Graphics 630|80\nIris Pro Graphics 6200|80\nUHD Graphics 630|80\nIris Graphics 540|80\nHD Graphics 630|80\nIris(TM) Graphics 540|80\nIris(TM) Pro Graphics 5200|79\nUHD Graphics 630|79\nUHD Graphics 630|79\nUHD Graphics 630|79\nIris Graphics 540|79\nUHD Graphics 630|79\nUHD Graphics|78\nCorporation Sky Lake Integrated Graphics|78\nIris(TM) Pro Graphics 6200|78\nCorporation WhiskeyLake-U GT2 [UHD Graphics 620]|78\nRadeong 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.8.0)|78\nUHD Graphics 710|78\nUHD Graphics 630|78\nUHD Graphics P630|77\nUHD Graphics 630|77\nUHD Graphics 630 (Desktop 9 Series)|77\nUHD Graphics 630|77\nCoffee Lake UHD Graphics|77\nIris(TM) Pro Graphics 5200|77\nUHD Graphics 630|76\nIris(R) Plus Graphics 640|76\nIris(TM) Pro Graphics 5200|76\nUHD Graphics 630|76\nUHD Graphics|76\nUHD Graphics 630|76\nIris(TM) Pro Graphics 5200|75\nUHD Graphics 630|75\nUHD Graphics P630|75\nHD Graphics P530|75\nHD Graphics 630|75\nIris(TM) Pro Graphics 5200|75\nUHD Graphics 630|75\nIris(TM) Pro Graphics 5200|75\nHD Graphics 620|74\nUHD Graphics 630|74\nHD Graphics 630|74\nHD Graphics 630|74\nCoffee Lake HD Graphics|74\nUHD Graphics 630|74\nIris(TM) Graphics 540|74\nUHD 630|74\nIris(R) Graphics 540|73\nUHD Graphics 620|73\nIris Graphics 6200|73\nCorporation CoffeeLake-H GT2 [UHD Graphics 630]|73\nUHD Graphics 630 (Desktop)|73\nHD Graphics ICL RVP|73\nUHD Graphics 630|73\nHD Graphics 630|72\nIris Pro|72\nKBL Unknown|72\nUHD Graphics 630|72\nIris(TM) Pro Graphics 5200|72\nHD Graphics 530|72\nCorporation UHD Graphics 630 (Desktop 9 Series)|72\nRadeon Pro Vega 16|72\nIris(TM) Graphics 540|72\nIris(R) Graphics 540|72\nUHD Graphics 630|71\nHD Graphics 630|71\nIris(TM) Pro Graphics 5200|71\nUHD Graphics 630|71\nIris Pro|71\nCometLake UHD Graphics 630|71\nHD Graphics 630|71\nUHD Graphics|71\nIris(TM) Plus Graphics 640|71\nUHD Graphics|71\nCorporation UHD Graphics|70\nIris Pro Graphics 6200|70\nIris(R) Graphics 540|70\nGraphics|70\nUHD Graphics 630|70\nHD Graphics ICL RVP BigSur|70\nUHD Graphics ReleaseInternal|70\nHD Graphics 530|70\nUHD Graphics 630|70\nUHD Graphics|70\nUHD Graphics gfx-driver-user-comp_core-23599|70\nUHD Graphics 630|69\nUHD Graphics|69\nIris(TM) Pro Graphics 5200|69\nCorporation Iris Plus Graphics G1 (Ice Lake)|69\nHD Graphics 630|69\nHD Graphics 630|69\nIris(R) Plus Graphics|69\nIris(TM) Pro Graphics 5200|69\nUHD Graphics 620|69\nUHD Graphics|69\nIris(R) Plus Graphics 640|69\nIris Pro Graphics 6200|69\nHD Graphics 630|69\nUHD Graphics 630 (Mobile)|68\nIris(TM) Pro Graphics 5200|68\nCorporation UHD Graphics 630 (Desktop)|68\nHD Graphics 630|68\nUHD Graphics 630|68\nUHD Graphics 620|68\nUHD Graphics 630|68\nIris(TM) Plus Graphics 640|68\nUHD Graphics|67\nIris Pro Graphics 580|67\nIris(TM) Graphics 540|67\nUHD Graphics 620|67\nIris(TM) Pro Graphics 5200|67\nUHD Graphics|66\nHD Graphics P530|66\nCorporation UHD Graphics 630 (Mobile)|66\nIris(R) Plus Graphics 640|66\nUHD Graphics 630|66\nIris(R) Plus Graphics 640|65\nHD Graphics 630|65\nHD 530|65\nUHD Graphics 620|65\nSKL Unknown|65\nHD Graphics 630|64\nIris(TM) Graphics 540|64\nMesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)|64\nUHD Graphics 630|64\nHD Graphics 530|63\nHD Graphics 530|63\nHD Graphics 530|63\nMesa Intel(R) HD Graphics 530 (SKL GT2)|63\nUHD Graphics|63\nHD Graphics 530|63\nIris Graphics 550|63\nHD Graphics 530|63\nIris Plus Graphics 655|63\nHD Graphics 630|63\nUHD Graphics, Gen11 LP|63\nCorporation 8th Gen Core Processor Gaussian Mixture Model|63\nUHD Graphics 630|63\nIris(TM) Graphics 650|63\nIris(R) Plus Graphics 640|62\nHD Graphics 530|62\nMesa DRI Intel(R) Iris Graphics 540 (Skylake GT3e)|62\nIris(R) Plus Graphics|61\nIris(TM) Pro Graphics 5200|61\nIris Pro|61\nHD Graphics 620|61\nUHD Graphics 620|61\nUHD Graphics 630|61\nUHD Graphics|61\nHD Graphics 530|60\nIris Plus Graphics G1|60\nIris(TM) Pro Graphics 5200|60\nIris Plus Graphics 650|60\nUHD Graphics|60\nHD Graphics 620|60\nUHD Graphics 620|60\nUHD Graphics 630|60\nMesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)|60\nUHD Graphics 620|60\nHD Graphics 630|60\nHD Graphics 630|59\nIris Graphics 540|59\nIris Plus Graphics 640|59\nCoffeeLake-H GT2 [UHD Graphics 630]|59\nHD Graphics 630|59\nUHD Graphics|59\nHD Graphics 620|59\nUHD Graphics 620|59\nHD Graphics 630|59\nCorporation UHD Graphics 620 (Whiskey Lake)|59\nIris(R) Plus Graphics 650|59\nUHD Graphics 620|59\nMesa Intel(R) HD Graphics 520 (SKL GT2)|58\nHD Graphics 630|58\nHD Graphics P530|58\nIris(TM) Plus Graphics 640|58\nCorporation HD Graphics 630|58\nUHD Graphics 620|58\nUHD Graphics 630|58\nHD Graphics P630|58\nMesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)|58\nCorporation CometLake-S GT2 [UHD Graphics 630]|58\nHD Graphics 530|58\nIris Graphics 540|58\nHD Graphics 530|58\nCorporation Device|58\nHD Graphics CFL CRB|57\nHD Graphics 620 macOS Edition|57\nHD Graphics 530|57\nMesa DRI Intel(R) HD Graphics 520 (SKL GT2)|57\nIris Pro Graphics|56\nIris(TM) Pro Graphics 5200|56\nIris(R) Plus Graphics 655|56\nCoffee Lake UHD Graphics|56\nIris(TM) Graphics 640|55\nIris Pro|55\nUHD Graphics 630|55\nUHD Graphics 620|55\nHD Graphics 530|55\nHD Graphics 520|54\nHD Graphics 530|54\nUHD Graphics 620|54\nHD Graphics 530|54\nCorporation UHD Graphics 620|54\nUHD Graphics|54\nIris Plus Graphics G7|54\nCorporation Skylake GT2 [HD Graphics 520]|53\nUHD Graphics 630|53\nHD Graphics 630|53\nCorporation HD Graphics 530|53\nUHD Graphics 617|53\nHD Graphics 520|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 620|52\nHD Graphics 630|52\nHD Graphics 630|52\nHD Graphics 5600|51\nHD Graphics 530|51\nHD Graphics 630|51\nUHD Graphics 615|51\nMesa DRI Intel(R) HD Graphics 520 (Skylake GT2)|51\nHD Graphics 630|50\nHD Graphics 620|50\nUHD Graphics|50\nHD Graphics P4600/P4700|50\nHD Graphics 520|50\nHD Graphics 530|50\nHD Graphics 620|50\nHD Graphics 530|50\nCorporation HD Graphics 620|50\nHD Graphics 530|50\nUHD Graphics 620|49\nUHD Graphics 620|49\nHD Graphics 530|49\nIris(TM) Graphics 6100|49\nHD Graphics 4600|49\nHD Graphics 630|49\nUHD Graphics 617|49\nUHD Graphics RI|48\nHD Graphics 520|48\nUHD Graphics 617|48\nHD Graphics 5600|48\nHD Graphics 620|48\nUHD Graphics, Gen11 LP|47\nUHD Graphics 617|47\nMesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)|47\nHD Graphics 615|47\nUHD Graphics RI|47\nHD Graphics 630|47\nHD Graphics 4600|46\nHD Graphics 520|46\nCorporation Skylake GT2 [HD Graphics 520]|46\nHD Graphics 520|46\nCorporation Device|46\nHD Graphics 4600|46\nHD Graphics 615|45\nHD Graphics 4600|45\nIris(TM) Graphics 6100|45\nHD Graphics 615|45\nUHD Graphics 615|45\nHD Graphics 630 GT2|45\nHD Graphics 4600|45\nHD Graphics 630|45\nIris(TM) Graphics 6100|45\nHD Graphics 4600|45\nHD Graphics 620|45\nIris(TM) Graphics 6100|45\nHD Graphics 520|45\nHD Graphics 4600|45\nIris(TM) Graphics 540|44\nHD Graphics 530|44\nHD Graphics 4600|44\nIris(TM) Graphics 5100|44\nKabylake HD Graphics ULT GT2|44\nIris Graphics 6100|44\nUHD Graphics 630|44\nHD Graphics 520|44\nHD Graphics KBL CRB|44\nHD Graphics 530 (Skylake GT2)|44\nCorporation HD Graphics 620|44\nHD Graphics 515|44\nUHD Graphics|44\nUHD Graphics 620|44\nIris(TM) Pro Graphics P580|43\nUHD Graphics 615|43\nHD Graphics 4600|43\nHD Graphics 4600|43\nCorporation Skylake Integrated Graphics|43\nHD Graphics 530|43\nUHD Graphics 615|43\nUHD Graphics 630|43\nHD Graphics 615|42\nHD Graphics 620|42\nHD Graphics 4600|42\nHD Graphics 615|42\nHD Graphics 4600|42\nHD Graphics 4600|42\nMesa DRI Intel(R) Kabylake GT2|42\nHD Graphics 620|42\nCorporation HD Graphics 6000|42\nUHD Graphics 615|42\nHD Graphics 4600|41\nCorporation HD Graphics 520|41\nHD Graphics P4600/P4700|41\nCorporation, Series Chipset Iris Plus Graphics 655|41\nHD Graphics 4600|41\nMesa DRI Intel(R) HD Graphics 530 (Skylake GT2)|41\nHD Graphics 4600|41\nIris(TM) Graphics 640|41\nHD Graphics 4600|41\nHD Graphics 630|40\nIris(TM) Graphics 5100|40\nIris(TM) Graphics 6100|40\nUHD Graphics 610|40\nHD Graphics 4600|40\nHD Graphics 4600|40\nUHD Graphics 615|40\nUHD Graphics 610|40\nHD Graphics 530|40\nUHD Graphics 605|40\nHD Graphics 615|40\nHD Graphics 4600|40\nUHD Graphics 615|40\nHD Graphics 505|39\nPHDGD Ivy 4|39\nUnknown|39\nIris(TM) Graphics 5100|39\nIris|39\nCorporation Iris Graphics 6100|39\nHD Graphics 6000|39\nIris(TM) Graphics 5100|39\nHD Graphics 615|39\nHD Graphics 5500|39\nSkylake GT2 [HD Graphics 520]|39\nCorporation Broadwell-U Integrated Graphics|38\nHD Graphics 615|38\nHD Graphics 5500|38\nHD Graphics 4600|38\nMesa DRI Intel(R) HD Graphics P4000 (IVB GT2)|38\nHD Graphics 4600|38\nHD Graphics 615|38\nCorporation HD Graphics 610|38\nHD Graphics 4600|38\nHD Graphics 4600|38\nIris(TM) Graphics 5100|38\nIris Graphics 6100|38\nHD Graphics 515|38\nHD Graphics 6000|38\nUHD Graphics, Gen11 LP|38\nIris(TM) Graphics 5100|38\nHD Graphics 4600|37\nHD Graphics 610|37\nHD Graphics 4600|37\nHD Graphics 515|37\nHD Graphics 4600|37\nHD Graphics 4600|37\nIris Graphics P580|37\nIris(TM) Pro Graphics P6300|37\nHD Graphics 5500|37\nHD Graphics 4600|37\nIris Graphics 6100|37\nUHD Graphics 610|37\nHD Graphics 4600|37\nHD Graphics 4600|37\nUHD Graphics 610|37\nHD Graphics 530|37\nHD Graphics 5500|37\nHD Graphics 515|36\nHD Graphics P4600/P4700|36\nHD Graphics 515|36\nHD Graphics 4600|36\nUHD Graphics 615|36\nIris Graphics 6100|36\nHD Graphics 4600|36\nHD Graphics 4600|36\nHD Graphics 4600|36\nHD Graphics 520|36\nHD Graphics 520|36\nHD Graphics 5500|36\nCorporation HD Graphics 5500|35\nIris|35\nHD5500 Graphics PG7|35\nHD Graphics 515|35\nIris|35\nGraphics gfx-driver-user-feature_dg1_poweron-27723 DCH ReleaseInternal|35\nHD Graphics 615|35\nHD Graphics P630|35\nHD Graphics 510|35\nHD Graphics 6000|35\nHD Graphics 5000|35\nCorporation HD Graphics 5300|35\nHD Graphics 6000|35\nHD Graphics 4600|35\nHD5500 Broadwell PG7|35\nGraphics HD 4600|35\nHD Graphics 6000|35\nHD Graphics 510|34\nHD Graphics 610|34\nHD Graphics 4600|34\nHD Graphics Family (PHDGD Skylake v2.9)|34\nCorporation Device|34\nHD Graphics 610|34\nUHD Graphics 610|34\nHD Graphics 5300|34\nHD Graphics 5000|34\nHD Graphics 4600|34\nUHD Graphics 610|33\nHD Graphics 4600|33\nUHD Graphics 620|33\nCorporation UHD Graphics 615|33\nHD Graphics 5000|33\nKabylake HD Graphics ULX GT2|33\nHD Graphics 620|33\nUHD Graphics 615|33\nHD Graphics 4600|33\nHD Graphics 5500|33\nHD Graphics 515|33\nUHD Graphics|33\nHD Graphics 4600|33\nHD Graphics 520|33\nHD Graphics 6000|33\nHD Graphics 615|33\nHD Graphics KBL CRB|33\nHD Graphics 4600|33\nUHD Graphics 610|33\nIris Graphics 6100|33\nHD Graphics 515|33\nIris|32\nIris|32\nHD Graphics 5000|32\nIris|32\nHD Graphics 5000|32\nIris(TM) Graphics 5100|32\nHD Graphics 4600|32\nHD Graphics 4600|32\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|32\nHD Graphics 5500 (PHDGD Skylake v2.9)|32\nHD Graphics 610|32\nHD Graphics 6000|31\nHD Graphics 5500|31\nIris|31\nHD Graphics 6000|31\nUHD Graphics 610|31\nHD Graphics 510|31\nHD Graphics|31\nHD Graphics 6000|31\nHD Graphics 4400|31\nHD Graphics 5000|31\nHD Graphics 4600|30\nHD Graphics 515|30\nHD Graphics 5600|30\nHD Graphics 4600|30\nHD Graphics 4400|30\nHD Graphics 530|30\nGeForce GTX 960|30\nUHD Graphics 610|30\nGeForce GTX 960|30\nHD Graphics 510|30\nHD Graphics 6000|30\nCorporation HD Graphics 515|30\nHD Graphics 610|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 4600|29\nIris(TM) Pro Graphics 6200|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 6000|29\nIris|29\nHD Graphics 4400|29\nHD Graphics 4400|29\nHD Graphics 4000|29\nHD Graphics 510|29\nHD Graphics 5000|29\nHD Graphics 4400|28\nHD Graphics 610|28\nHD Graphics 5300|28\nHD Graphics 510|28\nHD Graphics|28\nHD Graphics 610|28\nHD Graphics 4400|28\nHD Graphics 610|28\nHD Graphics 4600|28\nHD Graphics 4600|28\nHD Graphics 5000|28\nHD Graphics 4400|28\nHD Graphics 4400|28\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|28\nHD Graphics 4400|28\nHD Graphics 5300|28\nHD Graphics 5000|28\nUHD Graphics 605|28\nHD Graphics 4400|28\nHD Graphics 5500|28\nHD Graphics 4000|28\nHD Graphics 4400|27\nHD Graphics 615|27\nHD Graphics Family(PHDGD Skylake v2.0)|27\nHD Graphics 4400|27\nHD Graphics 4400|27\nHD Graphics 610|27\nCorporation HD Graphics 510|27\nIris|27\nHD Graphics 520|27\nHD Graphics 5000|27\nHD Graphics 5300|27\nHD Graphics 6000|27\nHD Graphics 4000|27\nHD Graphics 610|27\nHD Graphics 5000|27\nHD Graphics 4600|27\nMesa DRI Intel(R) HD Graphics 505 (Broxton)|27\nHD Graphics 5500|27\nHD Graphics|27\nHD Graphics 5000|26\nUHD Graphics 600|26\nHD Graphics 4600|26\nMesa DRI Intel(R) Haswell Mobile|26\nHD Graphics 4000|26\nHD Graphics 5300|26\nIris(TM) Graphics 540|26\nHD Graphics 4000|26\nHD Graphics 4600|26\nHD Graphics|26\nHD Graphics 4400|26\nHD Graphics 4600|26\nHD Graphics 6000|26\nCorporation Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller|26\nHD Graphics 530|26\nHD Graphics 5500|25\nBroxton-P HD Graphics|25\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|25\nHD 4000|25\nHD Graphics 4400|25\nHD Graphics 4600|25\nHD Graphics 5500|25\nHD 4000|25\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|25\nCorporation HD Graphics|25\nHD Graphics 4400|25\nMesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)|25\nHD Graphics 4400|25\nHD Graphics|25\nUHD Graphics 600|24\nArc(TM) Graphics|24\nHD Graphics 4600|24\nHD Graphics 5300|24\nHD Graphics 4400|24\nHD Graphics 4400|24\nHD Graphics 4400|24\nHD Graphics 4000|24\nUHD Graphics 605|24\nHD Graphics 5000|23\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|23\nUHD Graphics, LKF|23\nUHD Graphics 605|23\nHD Graphics 4400|23\nHD Graphics 4400|23\nHD Graphics 4000|23\nHD Graphics 4400|23\nMesa DRI Intel(R) Ivybridge Desktop|23\n0x496e74656c2048442047726170686963000732034343|23\nHD Graphics 5300|22\nHD Graphics 615|22\nKabylake HD Graphics ULX GT2|22\nHD Graphics 5300|22\nHD Graphics|22\nHD Graphics|22\nHD Graphics 4000|22\nHD Graphics|22\nHD Graphics 515|22\nHD Graphics|22\nHD Graphics 5300|22\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|22\nHD Graphics 5300|22\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|22\nHD Graphics 4000|21\nUHD Graphics 605|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nHD Graphics 4400|21\nHD Graphics|21\nHD Graphics 4400|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nHD Graphics|21\nHD Graphics 5300|21\nHD Graphics 4400|21\nHD Graphics 5300|21\nHD Graphics P4600/P4700|21\nHD Graphics|21\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|21\nCorporation UHD Graphics 605|20\nUHD Graphics 600|20\nHD Graphics 4000|20\nHD Graphics|20\nUHD Graphics 600 Universal|20\nHD Graphics 4600|20\nHD Graphics 500|20\nUHD Graphics 600|20\nHD Graphics|20\nHD Graphics 5000|20\nHD Graphics 4400|20\nHD Graphics 5300|19\nHD Graphics 4000|19\nMesa DRI Intel(R) Sandybridge Mobile|19\nHD Graphics 505|19\nHD Graphics 4000|19\nHD Graphics 4400|19\nUHD Graphics 600|19\nHD Graphics 3000|19\nHD Graphics 615|19\nHD Graphics|19\nCorporation Atom/Celeron/Pentium Processor N4200/N3350/E3900 Series Integrated Graphics Controller|19\nHD Graphics 4000|19\nHD Graphics|19\nUHD Graphics 600|19\nHD Graphics|19\nCorporation Haswell-ULT Integrated Graphics Controller|19\nHD Graphics 4400|19\nCorporation GeminiLake [UHD Graphics 600]|19\nHD Graphics 4000|18\nHD Graphics|18\nHD Graphics|18\nHD Graphics 500|18\nHD Graphics 4000|18\nCherryView HD Graphics|17\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|17\nXeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|17\nCorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller|17\nUHD Graphics 600|17\nUHD Graphics 600|17\nCorporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller|16\nHD Graphics|16\nUHD Graphics 600|16\nHD Graphics|16\nHD Graphics 5000 (Android)|16\nHD Graphics|16\nUHD Graphics 600|16\nHD Graphics|16\nHD Graphics, Gen10|16\nHD Graphics (PHDGD IvyDrive 3.0)|16\nHD Graphics|15\nUHD Graphics 600|15\nCorporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller|15\nHD Graphics 500|15\nHD Graphics 505|15\nHD Graphics|15\nCorporation 3rd Gen Core processor Graphics Controller|15\nHD Graphics 4400|15\nHD Graphics|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics 505|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics|14\nHD Graphics|13\nHD Graphics 530|13\nHD Graphics 500|13\nCorporation 3rd Gen Core processor Graphics Controller|13\nHD Graphics 4400|12\nHD Graphics 5500|12\nHD Graphics|12\nHD Graphics|12\nCorporation HD Graphics 500|12\nHD Graphics 500|12\n3rd Gen Core processor Graphics Controller|12\nHD Graphics|11\nCorporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers|11\nCorporation 2nd Gen Core Processor Family Integrated Graphics Controller|11\nHD Graphics 510|11\nHD Graphics 4600 (PHDGD Skylake v2.9)|9\nCorporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display|8\nCorporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display|8\nMesa DRI Intel(R) Bay Trail|8\nUHD Graphics, Gen12 LP ReleaseInternal|5\nCorporation D3D12 (Intel(R) UHD Graphics 630)|3\nHD Graphics 3000|2\n(PE64) Intel(R) 4th Generation Haswell HD Graphics Family|-1\n4 Series Internal Chipset|-1\n7 Series/C216 Chipset Family MEI Controller #1|-1\nB43 Express Chipset|-1\nCometLake-S GT2 [UHD Graphics 630]|-1\nHD Graphics 5500|-1\nHD Graphics 620|-1\nG35 Express Chipset Family|-1\nG41 Express Chipset|-1\nG45/G43 Express Chipset|-1\nGraphics Media Accelerator HD|-1\nHD Graphics (PHDGD Omega 5.0)|-1\nHD Graphics 4400|-1\nHD Graphics P3000|-1\nHD Graphics P3000 (PHDGD Omega 5.0)|-1\nIncrediblE HD Graphics 3000|-1\nIris Pro Graphics 5200|-1\nMesa DRI Intel(R) HD Graphics (CHV)|-1\nMesa DRI Intel(R) Ivybridge Mobile|-1\nMobile Intel(R) 4 Series Express Chipset Family|-1\nMobile Intel(R) 965 Express Chipset Family|-1\nMobile Intel(R) HD Graphics|-1\nPHDGD Quantic C3|-1\nQ45/Q43 Express Chipset|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 2.43.0, LLVM 3.7.0)|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 3.9.0 / 4.9.0-rc1+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD FIJI (DRM 3.2.0 / 4.7.0-rc5+, LLVM 4.0.0)|-1\nUHD Graphics, Gen12 LP ReleaseInternal|-1";var qV="\nGeForce RTX 4090|1950\nGeForce RTX 4090 Laptop GPU|1791\nGeForce RTX 4070 Ti|1517\nGeForce RTX 3090 Ti|1465\nGeForce RTX 4080|1426\nGeForce RTX 4060 Laptop GPU|1408\nGeForce RTX 3080 Ti Laptop GPU|1394\nGeForce RTX 3080|1325\nGeForce RTX 3080 Ti|1298\nRTX A5500 Laptop GPU|1242\nGeForce RTX 3090|1235\nGeForce RTX 3070 Ti|1229\nGeForce RTX 3070|1228\nGeForce RTX 3060 Ti|1166\nGeForce RTX 3080 Laptop GPU|1139\nRTX A4000 Laptop GPU|1126\nGeForce RTX 2080 Ti|1120\nGeForce RTX 3070 Laptop GPU|1077\nTITAN V|1070\nGeForce RTX 2080 SUPER|1063\nQuadro RTX 8000|1054\nRTX A6000|1046\nTITAN RTX|1046\nGeForce RTX 3070 Ti Laptop GPU|1033\nRTX A5000 Laptop GPU|1027\nGeForce RTX 4090 Laptop GPU|1024\nGeForce RTX 3060|1015\nTITAN X (Pascal)|1008\nTITAN Xp|995\nGeForce GTX 1080 Ti|992\nGeForce RTX 4070 Laptop GPU|989\nGeForce RTX 4090|982\nGeForce RTX 2070 SUPER|981\nGeForce RTX 4080|975\nGeForce RTX 3060|970\nGeForce RTX 2080|970\nGeForce RTX 4080 Laptop GPU|968\nGeForce RTX 3060 Laptop GPU|913\nGeForce RTX 2060 SUPER|890\nGeForce RTX 4060 Laptop GPU|882\nGeForce RTX 2070|879\nGeForce RTX 2080 Super with Max-Q Design|868\nGeForce RTX 2080 with Max-Q Design|868\nQuadro RTX 5000|867\nGeForce RTX 3080 Ti Laptop GPU|861\nQuadro RTX 5000 with Max-Q Design|843\nAsus GeForce GTX 1080|841\nGeForce GTX 1080|841\nGeForce RTX 2070 Super with Max-Q Design|837\nRTX A3000 Laptop GPU|835\nQuadro RTX 4000 with Max-Q Design|833\nGeForce RTX 3070 Ti Laptop GPU|827\nQuadro RTX 4000|817\nRTX A6000|814\nGeForce GTX 1070 Ti|785\nGeForce RTX 4070 Ti|784\nGeForce RTX 4050 Laptop GPU|784\nRTX A5500 Laptop GPU|783\nTITAN Xp COLLECTORS EDITION|771\nGeForce RTX 2070 with Max-Q Design|765\nGeForce RTX 3050|760\nGeForce RTX 2060|757\nGeForce GTX 980 Ti|755\nQuadro P6000|753\nGeForce GTX 1080|747\nQuadro RTX 6000|744\nGeForce GTX 1070|742\nRTX A4000|739\nGeForce RTX 3090|737\nGeForce RTX 3080 Ti|733\nGeForce GTX 1080 Ti|729\nQuadro P4200|711\nGeForce GTX 1080 with Max-Q Design|707\nGeForce RTX 3060 Lite Hash Rate|705\nEIZO MED-XN83|704\nGeForce RTX 3080 Ti|701\nGeForce GTX 1660 SUPER|701\nTITAN Xp|700\nEVGA GeForce GTX 1070|698\nGeForce RTX 3090 Ti|696\nQuadro GV100|695\nQuadro P4000|695\nGeForce GTX 1660 Ti|694\nGeForce RTX 3070 Ti|690\nRTX 6000 Ada Generation|687\nGeForce RTX 3070|687\nQuadro RTX 8000|685\nRTX A2000 12GB|683\nGeForce RTX 2080|679\nGeForce GTX TITAN X|679\nQuadro M6000 24GB|676\nGeForce GTX 1660 SUPER|674\nTITAN V|673\nQuadro RTX 3000|672\nGraphics Device|672\nRTX A5000|669\nGeForce RTX 3090|669\nTITAN Xp COLLECTORS EDITION|669\nGeForce GTX 1070 A17|668\nGeForce RTX 3080 Laptop GPU|667\nRTX A4500 Embedded GPU|663\nRTX A5000 Laptop GPU|663\nGeForce RTX 3080|658\nGeForce RTX 3050 Ti Laptop GPU|657\nGeForce GTX 1070 with Max-Q Design|656\nGeForce RTX 3060 Ti|656\nQuadro P4200 with Max-Q Design|651\nGeForce RTX 3080|651\nGeForce RTX 2080 SUPER|650\nGeForce GTX 1070 Ti|648\nGeForce GTX 1070 with MaxQ Design|642\nRTX A3000 Laptop GPU|641\nGeForce RTX 3070 Laptop GPU|641\nGeForce GTX 1070|640\nGA104GL [RTX A4000]|639\nGeForce GTX 980 Ti|637\nGeForce RTX 2070 Mobile / Max-Q Refresh|637\nRTX A4000 Laptop GPU|634\nGeForce RTX 3060|633\nMicrosoft Virtual Render Driver|633\nGeForce RTX 3050 Laptop GPU|631\nRTX A2000|629\nGeForce RTX 2070 Mobile / Max-Q|626\nGeForce RTX 3070|625\nQuadro P5000|625\nQuadro P4000|621\nGeForce RTX 3060 Laptop GPU|621\nGeForce RTX 2060 with Max-Q Design|618\nGV102|614\nGeForce RTX 2070 SUPER|612\nGeForce GTX 1660|606\nGeForce RTX 2070|604\nGeForce GTX 1660 Ti with Max-Q Design|601\nGeForce GTX TITAN X|598\nRTX A2000 8GB Laptop GPU|598\nGeForce GTX TITAN Xp|595\nGeForce GTX 980|593\nGeForce RTX 2080 SUPER|591\nGTX 1060 HL|589\nTesla T4|589\nGRID P4-1Q|585\nRTX A4000|581\nGeForce RTX 2080 Ti|577\nGeForce RTX 2080 Super with Max-Q Design|576\nQuadro RTX 4000 Mobile / Max-Q|576\nTU102 [TITAN RTX]|574\nGeForce GTX 1060 with Max-Q Design|571\nGeForce RTX 2070 SUPER|570\nGeForce GTX 1060 6GB|570\nGeForce RTX 2080 Mobile|568\nGeForce RTX 2060|568\nQuadro P3200|565\nP106-100|564\nGRID V100DX-1Q|564\nRTX A2000|562\nGeForce RTX 2080 Ti Rev. A|561\nGeForce RTX 2080 Rev. A|559\nGV100 [TITAN V]|557\nGeForce RTX 2080|556\nGeForce GTX 1650 SUPER|554\nP106-100 Custom|553\nGeForce RTX 2070 Super with Max-Q Design|553\nGV100|553\nGeForce RTX 2070 Mobile|550\nGP102 [TITAN X]|548\nRTX A2000 12GB|546\nGeForce GTX 1060 5GB|542\nMSI GeForce GTX 1060|542\nGeForce RTX 2060 SUPER|542\nGRID T4-1Q|539\nQuadro RTX 5000 Mobile / Max-Q|538\nGeForce RTX 3050|538\nGeForce GTX 1060 3GB|538\nQuadro RTX 5000 with Max-Q Design|537\nQuadro M6000|536\nRTX A2000 Laptop GPU|536\nGeForce GTX 1660 SUPER|533\nA10-2B|530\nTITAN X (Pascal)|530\nQuadro P5000|527\nGeForce RTX 2070|526\nGeForce GTX 1080|525\nGeForce RTX 2060 Mobile|524\nPNY GeForce GTX 980|524\nGeForce GTX 1080 Mobile|523\nGeForce RTX 2060 SUPER|520\nGeForce GTX 780 Ti|518\nRTX A4500|516\nGeForce RTX 2060 Rev. A|515\nMSI GeForce GTX 980|515\nQuadro P3200 with Max-Q Design|513\nGeForce RTX 2070 with Max-Q Design|513\nGeForce RTX 3050 Ti Laptop GPU|510\nQuadro RTX 3000 Mobile / Max-Q|509\nGeForce GTX 1660 SUPER|508\nQuadro RTX 4000|508\nGeForce GTX 1060|506\nGeForce RTX 2080 with Max-Q Design|505\nGeForce GTX 1080 Ti|505\nGeForce GTX 1660 Ti Rev. A|504\nGeForce GTX 1660 Ti Mobile|504\nGeForce RTX 3050 Laptop GPU|503\nGeForce RTX 2060|503\nQuadro RTX 4000 with Max-Q Design|500\nEIZO MED-XN83|499\nGeForce GTX 970|499\nGeForce GTX 1080|495\nGeForce GTX 1070 Ti|492\nGeForce GTX 980|491\nA100-PCIE-40GB|489\nGeForce GTX 1070|487\nGeForce GTX 1660 Ti|487\nQuadro P2200|485\nGeForce GTX TITAN Black|484\nTITAN Xp COLLECTORS EDITION|483\nTITAN RTX|482\nQuadro P5200|482\nGeForce GTX 1060 with Max-Q Design|480\nRTX A1000 Laptop GPU|479\nGeForce GTX 1060 6GB|479\nQuadro RTX 5000|475\nTITAN V|475\nGRID P100-4Q|474\nEVGA GeForce GTX 970|472\nGeForce GTX 1650 SUPER|471\nGeForce GTX 1650 Ti|470\nQuadro RTX 3000|470\nQuadro M5000|469\nQuadro RTX 3000 with Max-Q Design|468\nGeForce GTX 980 Ti|467\nGeForce GTX TITAN|467\nQuadro P4200|466\nGeForce GTX 1070 with Max-Q Design|466\nQuadro M5000|466\nGeForce GTX 1080 Ti|466\nTesla M60|462\nGeForce GTX 1660|457\nGeForce GTX 1660|455\nGeForce RTX 2050|453\nGeForce GTX 1060|453\nGeForce RTX 2060 with Max-Q Design|453\nQuadro P3200 with Max-Q Design|452\nQuadro P4000|450\nGeForce GTX 1060 3GB|449\nGeForce GTX 1070|448\nGeForce GTX 1060 6GB Rev. 2|447\nGigabyte GeForce GTX 780 Ti|447\nTITAN Xp|444\nGeForce GTX 980M|440\nA10-4Q|439\nGeForce GTX 1080 with Max-Q Design|437\nGeForce GTX 1650 SUPER|435\nQuadro P5000|435\nQuadro P3000|434\nRTX A6000|434\nGeForce GTX 1060 3GB|433\nGeForce GTX 1070 Ti|432\nGeForce GTX 780|432\nGeForce GTX 1060 Mobile|432\nGigabyte GeForce GTX 970|431\nGeForce GTX TITAN Z|431\nQuadro K6000|429\nGeForce GTX 1650|425\nGeForce GTX 970|421\nTesla K20m|420\nQuadro GV100|419\nQuadro P4000|419\nQuadro P3200|417\nGTX 1060 HL|415\nRTX A2000 Laptop GPU|415\nGeForce GTX 780 by St3Phl3|414\nP102-100|412\nT1200 Laptop GPU|412\nGeForce GTX 780 Ti|411\nGeForce GTX 1060 6GB|408\nGeForce GTX 1650 Ti with Max-Q Design|407\nQuadro T2000 with Max-Q Design|407\nQuadro P2000|406\nQuadro P2200|406\nGeForce RTX 2060 Max-Q|405\nGeForce GTX 1650 Ti Mobile|403\nGeForce GTX 1060 Mobile 6GB|403\nGeForce GTX 1060 with Max-Q Design|401\nGeForce GTX 980|398\nGeForce RTX 2070 Rev. A|397\nGeForce GTX TITAN X|397\nTesla T4|395\nQuadro P6000|394\nGeForce GTX 1060 3GB|394\nQuadro M5000|393\nGeForce GTX 1060 with Max-Q Design|392\nPNY GeForce GTX 970|392\nQuadro T2000|391\nQuadro T1000 with Max-Q Design|391\nGRID P40-8Q|390\nGeForce GTX 780 Rev. 2|389\nQuadro GP100|387\nGeForce GTX 980|387\nP104-100|387\nGeForce GTX 1650 Ti|386\nGRID P40-4Q|384\nGeForce GTX 780 Ti|383\nDevice|383\nTU117M|381\nQuadro P2000|380\nQuadro RTX 6000|379\nGeForce GTX 1070 Mobile|378\nQuadro T1000|377\nGeForce RTX 3070 Mobile / Max-Q|376\nGeForce GTX 1060|376\nGRID V100-1Q|375\nGeForce GTX 780 Rev. 2|372\nGeForce RTX 2050|370\nGeForce GTX 770|370\nGeForce GTX 970|368\nGeForce GTX 1650 Ti|368\nGRID T4-2B4|368\nAsus GeForce GTX 780|366\nP106-100|365\nQuadro RTX 8000|365\nGeForce GTX TITAN Black|365\nGRID RTX6000-2Q|365\nGeForce GTX TITAN Black|363\nQuadro M4000|363\nGeForce GTX 1060 6GB|362\nQuadro P5000|361\nGeForce GTX 1650|361\nQuadro M5500|361\nGeForce GTX 780|360\nGeForce GTX 780|360\nGeForce GTX 980M|358\nGeForce GTX 1650|358\nGeForce GTX 1050 Ti|357\nQuadro P3200 Mobile|357\nGeForce GTX 1650 with Max-Q Design|356\nTesla T4|356\nQuadro P2000|356\nGeForce GTX TITAN|355\nGeForce GTX 970|355\nGeForce GTX 980 Ti|354\nGeForce GTX 1660 Ti with Max-Q Design|354\nGeForce GTX 780 Rev. 2|352\nGRID P4-4Q|351\nGeForce GTX TITAN X|351\nT1200 Laptop GPU|350\nGRID T4-8Q|350\nGeForce GTX 1060|349\nGeForce GTX 1050 Ti with Max-Q Design|348\nGeForce GTX 970M|346\nT1000 8GB|346\nGeForce RTX 3080 Mobile / Max-Q 8GB/16GB|346\nGeForce GTX 780 Ti|346\nGeForce GTX 680|346\nGeForce GTX 1660 Ti|345\nGeForce GTX 780|345\nQuadro M6000|344\nGRID T4-16Q|344\nGeForce RTX 2080 Ti|344\nGRID T4-1B|343\nQuadro K5200|342\nQuadro P2200|341\nT1000 8GB|341\nTesla K80|341\nQuadro T2000 Mobile / Max-Q|338\nTU107|337\nGeForce GTX 780 Mac|336\nGeForce GTX TITAN|336\nGeForce GTX 980M|335\nGRID P40-2Q|335\nEVGA GeForce GTX 780|334\nGeForce GTX TITAN Z|334\nTITAN X (Pascal)|332\nGeForce GTX 960|331\nTesla P40|331\nGeForce GTX 1650 Ti with Max-Q Design|330\nTesla P40|330\nGeForce GTX 1060se 3GB|329\nGeForce GTX 1650 Mobile / Max-Q|329\nQuadro T2000 with Max-Q Design|328\nT1000|327\nRTX A5500|326\nA40-8Q|326\nGeForce RTX 3060 Mobile / Max-Q|326\nGeForce GTX 690|326\nTesla V100-SXM2-16GB|326\nQuadro M5000|325\nA16-2B|323\nGeForce GTX 1050 Ti with Max-Q Design|321\nGeForce GTX 1050 Ti Mobile|321\nGeForce GTX 980M|319\nQuadro M3000M|318\nGeForce GTX 1650 with Max-Q Design|318\nGeForce GTX 670|316\nQuadro P3000|316\nT600 Laptop GPU|315\nQuadro T1000 with Max-Q Design|313\nTesla K80|312\nTesla K20m|311\nGeForce GTX 770|311\nTesla P100-PCIE-16GB|311\nQuadro M5000M|311\nTesla K80|309\nEVGA GeForce GTX 1070|309\nQuadro T1000|309\nGeForce GTX 1050 Ti|309\nGeForce GTX TITAN Z|308\nQuadro T2000|308\nQuadro M6000 24GB|308\nGeForce GTX 760 Ti|308\nGeForce RTX 2080 SUPER Mobile / Max-Q|308\nGeForce GTX 1050 Ti|307\nQuadro P2000|304\nQuadro P6000|304\nGeForce GTX 770 Mac Edition|303\nMSi GeForce GTX 1050 Ti|303\nA40|303\nT600|303\nP106-090|302\nP106-090|301\nQuadro K5200|300\nGeForce GTX 770|299\nGeForce GTX 680|299\nGeForce GTX TITAN|299\nGeForce GTX 680|297\nGRID M60-4Q|296\nQuadro M4000|296\nGRID M60-2Q|295\nGeForce GTX 760|294\nGRID V100DX-16Q|293\nQuadro RTX 6000/8000|293\nGeForce GTX 770|293\nGP104|292\nGeForce GTX 780 Rev. 2|290\nGeForce GTX 1050 Ti|288\nGeForce GTX 950|288\nEVGA GeForce GTX 1050 Ti|288\nGeForce GTX 1650 with Max-Q Design|286\nGeForce GTX 880M|285\n%NVIDIA_DEV.13D7.0580.1028%|283\nGP104GL|283\nGigabyte GeForce GTX 960|282\nQuadro K5200|281\nGeForce GTX 660 Ti|281\nGeForce GTX 670|281\nQuadro M4000|280\nGeForce GTX 580|280\nMSi GeForce GTX 960|280\nTesla M6|278\nPNY GeForce GTX 680|278\nT500|277\nGeForce GTX 1050|276\nGeForce GTX 1050 Ti with Max-Q Design|276\nGeForce GTX 690|276\nGeForce GTX 680|276\nGeForce GTX 670|275\nGeForce GTX 760 Ti|274\nGeForce GTX 1050 3GB|272\nGeForce GTX 880M|272\nTesla M60|272\nAsus GeForce GTX 960|271\nQuadro M4000|269\nT600|268\nTesla K20m|268\nGeForce GTX 760|268\nGP102 [TITAN Xp]|267\nGeForce GTX 960|267\nGeForce GTX 670|265\nQuadro T1000 Mobile|265\nGeForce GTX 1050|264\nTesla M60|264\nEVGA GeForce GTX 1080 Ti|263\nGeForce GTX 970M|263\nGeForce GTX 780M|262\nGeForce GTX 690|262\nAsus GeForce GTX 770|261\nGeForce GTX 1070 with MaxQ Design|261\nEVGA GeForce GTX 960|261\nGeForce GTX 960|260\nGRID T4-2Q|259\nGeForce GTX 970M|259\nGeForce GTX 960|259\nQuadro M3000M|258\nGeForce GTX 1060se 3GB|257\nTesla K10|257\nQuadro M3000M|257\nQuadro M2200|256\nGeForce GTX 690|255\nGeForce GTX 760|254\nGeForce GTX 880M|254\nQuadro K4200|253\nQuadro P2000 with Max-Q Design|253\nT550 Laptop GPU|253\nQuadro K5200|252\nMSI GeForce GTX 760|250\nGeForce GTX 580|249\nGeForce GTX 780M Mac Edition|249\nGeForce GTX 570|249\nTesla V100-PCIE-16GB|248\nGeForce GTX880M|248\nGeForce GTX 760|247\nGeForce GTX 570 Rev. 2|247\nAsus GeForce GTX 670|246\nGeForce GTX 580|246\nGeForce GTX 1050|245\nTesla P4|244\nGeForce GTX 680MX|244\nGeForce GTX 480|242\nGeForce GTX 1050|242\nQuadro 7000|241\nQuadro M4000M|241\nGeForce GTX 1050 Mobile|240\nGeForce GTX 660|240\nGeForce GTX 760 (192-bit)|239\nQuadro K5000|239\nGeForce GTX 760 OEM|238\nGeForce GTX 660 Ti|238\nGeForce GTX 775M Mac Edition|238\nGeForce GTX 965M|237\nGeForce GTX 870M|236\nGeForce GTX 950|236\nGeForce GTX 560 Ti 448 Cores|236\nGeForce GTX 780M|236\nQuadro P2000 with Max-Q Design|234\nMSI GeForce GTX 980 TI|234\nGRID K2|233\nGeForce GTX 1060 6GB OpenGL Engine|233\nPNY GeForce GTX 1060|233\nEVGA GeForce GTX 980|232\nGRID RTX6000P-6Q|232\nGeForce GTX 950|232\nGeForce GTX 950|232\nGeForce GTX 590|231\nGeForce GTX 1070 OpenGL Engine|231\nTITAN X (Pascal)|229\nGeForce GTX 1050 with Max-Q Design|229\nGeForce GTX TITAN Black|228\nQuadro K4200|227\nGeForce GTX 660 OEM|227\nGeForce MX450|225\nGeForce GTX 1050 with Max-Q Design|225\nQuadro P1000|225\nGraphics Device|225\nQuadro M2000|222\nGeForce GTX 1630|222\nQuadro M4000M|221\nQuadro K5100M|221\nEVGA GeForce GTX 760|221\nGeForce GTX 1070 Ti|221\nGeForce GTX 660 Ti|220\nGeForce GTX 570|220\nGeForce GTX 660 Ti|219\nQuadro K6000|219\nGeForce GTX 570 Rev. 2|219\nGeForce GTX 1050 with Max-Q Design|219\nTesla M40|218\nGeForce GTX 680M|217\nGeForce GTX 780M by Nick[D]vB|217\nAsus GeForce GTX 980 TI|217\nGeForce GTX 1060 3GB|217\nGraphics Device|217\nGeForce GTX 570 Rev. 2|216\nGeForce GTX 1060 3GB OpenGL Engine|216\nGeForce GTX 660|215\nPoint of View GeForce GTX 660 Ti|214\nGigabyte GeForce GTX 980|214\nQuadro K5000|213\nQuadro P1000|213\nGeForce GTX 480|213\nGeForce MX450|212\nQuadro K4200|211\nGRID K280Q|211\nAsus GeForce GTX 760|210\nQuadro P1000|210\nGeForce GTX 680MX|209\nGeForce GTX 1060 6GB|209\nGeForce GTX 660|209\nGeForce GTX 750 Ti|208\nGeForce GTX 780M Mac Edition|208\nGeForce GTX 775M Mac Edition|208\nGRID K520|208\nQuadro M2200|207\nGRID M60-8Q|207\nGRID K2|207\nGeForce GTX 775M Mac Edition|206\nGeForce GTX 560 Ti 448 Cores|205\nGeForce GTX 760 (192-bit)|205\nQuadro K5000|205\nGigabyte GeForce GTX 980 TI|204\nGeForce GTX 780M Mac Edition|204\nAsus GeForce GTX 660|204\nGRID M60-1B|202\nGeForce GTX 650 Ti BOOST|202\nGeForce GTX 480|202\nGeForce GTX 960M|201\nGeForce GTX 660 OEM|201\nGeForce GTX 780 Ti|201\nQuadro K5000|201\nGeForce GTX 780M Mac Edition|201\nGeForce GTX 870M|200\nGeForce GTX 680MX|200\nGeForce GTX 680MX|199\nQuadro P1000|198\nTesla P100 PCIe 16GB|198\nQuadro K5100M|198\nGeForce GTX 470|198\nQuadro P620|197\nAsus GeForce GTX 780|197\nQuadro 6000|196\nQuadro M1200|195\nQuadro K2200|195\nGeForce GTX 590|195\nQuadro M2000M|194\nQuadro M4000 OpenGL Engine|194\nGeForce GTX 870M|194\nGeForce GTX 1070|194\nEVGA GeForce GTX 750 Ti|194\nZotac GeForce GTX 680|193\nQuadro RTX 3000 with Max-Q Design|193\nT400|193\nQuadro M2200|193\nQuadro K4100M by nikey22|192\nGRID K2|192\nGTX 865M by iMacGFX|191\nQuadro M2000|191\nGeForce GTX 980M|190\nGeForce GTX 560 Ti|190\nPalit GeForce GTX 660|190\nGRID K260Q|189\nGRID M10-2Q|189\nGeForce GTX 660|189\nGeForce GTX 965M|189\nGeForce GTX 650 Ti BOOST|188\nGeForce GTX 675MX Mac Edition|188\nQuadro K5100M by nikey22|187\nGeForce GTX 680M|187\nZotac GeForce GTX 660|186\nGeForce GTX 650 Ti BOOST|186\nGeForce GTX 760 (192-bit)|185\nGRID M60-1Q|184\nGigabyte GeForce GTX 960|184\nQuadro M2000M Special Edition|184\nGeForce GTX 560 Ti|184\nInno3D GeForce GTX660|183\nGeForce GTX 1060|183\nGeForce GTX 675MX Mac Edition|182\nQuadro P600|181\nGeForce GTX 1080|181\nGeForce GTX 675MX Mac Edition|181\nQuadro P620|180\nGK104 Board - 20530501|180\nAshley|180\nQuadro M2000|179\nGeForce GTX 860M|179\nMSi GeForce GTX 1050 Ti|179\nAsus GeForce GTX 750 Ti|178\nGeForce GTX 750 Ti|178\nGeForce GTX 750 Ti|177\nEVGA GeForce GTX 980 TI|177\nAsus GeForce GTX 770|177\nGeForce GTX 760 OEM|176\nGeForce GTX 750|176\nQuadro P2000 Mobile|176\nQuadro K4100M|175\nT400 4GB|174\nGeForce GTX 1080 Ti OpenGL Engine|174\nQuadro K5000M|173\nGeForce GTX 960A|173\nGeForce GTX 560 Ti|172\nTesla M10|172\nGeForce GTX 1080 Ti|172\nGRID RTX6000P-6|172\nGK104 Board - 2051b502|172\nGeForce GTX 770M|172\nGeForce GTX 960M|172\nGeForce GTX 970|172\nGRID M10-2Q|171\nGeForce GTX 560 Ti OEM|171\nMSi GeForce GTX 970|171\nGK104GL [GRID K2]|171\nGeForce GTX 470|170\nGeForce GTX 560 Ti|170\nTITAN Xp|170\nGeForce GTX 870M|170\nGeForce MX350|169\nMSi GeForce GTX 580|169\nGeForce GTX 960M|169\nEVGA GeForce GTX 760|169\nQuadro K4000M|169\nT400|169\nGeForce MX350|168\nGeForce GTX 470|168\nGeForce GTX 560|167\nQuadro 6000|167\nGeForce GTX 1050 Ti OpenGL Engine|167\nQuadro M1200|167\nGigabyte GeForce GTX 970|166\nGeForce GT 1030|166\nGeForce GTX780M by nikey22|166\nGeForce GTX870M by nikey22|166\nTesla V100-PCIE-32GB|165\nQuadro K2200|165\nQuadro M1000M|165\nQuadro K2200|165\nAsus GeForce GTX 970|164\nGeForce GTX 750 Ti|164\nQuadro M2000M|164\nGeForce GTX 1050|164\nGeForce GTX 1050 Ti|163\nQuadro K5000|163\nGraphics Device|162\nGeForce MX250|162\nT500|161\nEVGA GeForce GTX 570|161\nQuadro M2000M|161\nQuadro K1200|159\nGeForce GTX 860M|159\nGeForce GTX 770M|159\nQuadro M1200|158\nGeForce GTX 675MX|158\nGeForce MX330|158\nQuadro K2200M|157\nQuadro K4000|157\nGeForce GTX 690|157\nGeForce GTX 860M|157\nMSi GeForce GTX 670|156\nQuadro K2200|156\nQuadro K4100M|156\nGeForce GTX 770M by Nick[D]vB|155\nTesla V100-SXM2-32GB|155\nGeForce GTX 1080 OpenGL Engine|155\nGigabyte GeForce GTX 670|155\nEVGA GeForce GTX 960|155\nGeForce GTX 750|155\nGeForce Pre-Release TITAN X (Pascal) OpenGL Engine|154\nGeForce GTX TITAN Xp|154\nAsus GeForce GTX 950|154\nQuadro K4100M|153\nGeForce GTX 960|153\nGeForce GTX 770M|153\nGeForce MX330|153\nQuadro M2200 Mobile|153\nGeForce MX250|153\nGeForce Pre-Release TITAN Xp OpenGL Engine|153\nQuadro P600|153\nQuadro M620|152\nGeForce GTX 1070 Ti OpenGL Engine|152\nGeForce GTX 770|152\nGeForce GT 1030|152\nTesla C2070|152\nGeForce GTX 650 Ti|152\nGRID K240Q|151\nGeForce GTX 480 OpenGL Engine|151\nGeForce GTX 750|151\nGeForce GTX TITAN|151\nGeForce GTX 760 (192-bit)|151\nGeForce GTX 560|151\nGeForce GT 1030|151\nQuadro K5000M|151\nQuadro P1000 Mobile|151\nZotac GeForce GTX 660|151\nGeForce GTX 460 v2|150\nGRID GTX P40-6|150\nMSi GeForce GTX 660|149\nGeForce GTX 780M|149\nMSI GeForce GTX 760|149\nP106-090|149\nGeForce GTX 950A|149\nGeForce MX150|149\nAsus GeForce GTX 1060|149\nUnknown|149\nGeForce GTX 980 Ti|148\nGRID T4-4Q|148\nGeForce GTX 465|147\nColorful GeForce GTX 960|147\nGigabyte GeForce GTX 750|147\nQuadro M1000M|147\nGeForce GTX 780 Mac|147\nGeForce GTX 460|146\nMSi GeForce GTX 960|146\nGeForce GTX 560|146\nQuadro K4000|145\nGeForce GTX 970M|145\nQuadro M1000M|145\nUnknown|145\nGeForce GTX 980|144\nGeForce GTX 950|144\nGeForce GTX 675M|144\nZotac GeForce GTX 960|144\nGeForce Pre-Release Graphics Device|144\nGeForce GTX 670 OpenGL Engine|143\nQuadro K4000|143\nEVGA GeForce GTX 580|143\nGeForce GTX 950M|143\nGeForce GTX TITAN Black OpenGL Engine|142\nGeForce GTX 760|142\nQuadro 5000|142\nMSI GeForce GTX 570 HD|142\nGeForce Pre-Release TITAN Xp COLLECTORS EDITION OpenGL E|142\nGeForce GTX 1050 OpenGL Engine|142\nGeForce GTX TITAN X|142\nGeForce GTX 880M|141\nGV-N660OC-2GD|141\nGeForce GTX 750|141\nQuadro M5000M|140\nGeForce GTX 970 OpenGL Engine|140\nGeForce GTX 675MX|140\nAsus GeForce GTX 760|140\nQuadro P5000 OpenGL Engine|139\nGeForce GTX 580|139\nGeForce GTX 675MX|139\nZotac GeForce GTX 750|139\nQuadro K1200|139\nGeForce MX150|139\nGeForce GTX 650 Ti|139\nQuadro K1200|139\nGeForce GTX 980 Ti OpenGL Engine|139\nGeForce GTX 580M|138\nAsus GeForce GTX 580|138\nGeForce GTX 770 OpenGL Engine|138\nGeForce GT 1010|138\nGeForce GTX 780 Rev. 2|138\nQuadro P2000 OpenGL Engine|138\nGeForce MX250|138\nQuadro K4000|137\nGeForce GTX 460 v2|137\nGeForce GTX 770M|137\nGigabyte GeForce GTX 570 HD|136\nGeForce GTX 465|136\nGeForce GTX 460 v2|136\nGeForce GTX 670|136\nGeForce GTX 590 OpenGL Engine|136\nGeForce GTX 780|135\nGeForce GTX TITAN Black|135\nGeForce GTX 660 Ti|135\nZotac GeForce GTX 560 Ti|134\nGeForce GTX 880M OpenGL Engine|134\nGeForce GTX 650 Ti|134\nGeForce GTX 760 OpenGL Engine|134\nnull Graphics Device|134\nQuadro M620|133\nGeForce GTX 780M Mac Edition|133\nGeForce MX150|132\nAsus GeForce GTX 570 HD|132\nGeForce GTX 775M OpenGL Engine|132\nGeForce GTX 850M|132\nAsus GeForce GTX 570|132\nQuadro K6000 OpenGL Engine|131\nGeForce GTX 850M|131\nGeForce GTX 460|131\nGeForce GTX 950A|130\nGeForce GTX 780M OpenGL Engine|130\nPoint of View GeForce GTX 660 Ti|130\nGeForce GTX 775M Mac Edition|130\nEVGA GeForce GTX 650 Ti|130\nEVGA GeForce GTX 750 Ti|129\nGeForce GTX 460|129\nQuadro P520|129\nGainward GeForce GTX 570|129\nAsus GeForce GTX 750 Ti|129\nQuadro K3100M|128\nQuadro K2200|128\nAsus GeForce GTX 560 Ti|127\nGeForce GTX 680|127\nGeForce GTX 680 OpenGL Engine|127\nGeForce GTX 950M|127\nGRID V100-2B|127\nGigabyte GeForce GTX 660 Ti|127\nN15E-GT|126\nQuadro K1200|126\nGeForce GTX 650 Ti|126\nGigabyte GeForce GTX 770|126\nGeForce GTX 660|126\nQuadro 5000|125\nGeForce GT 1030|125\nGeForce GTX 950M|125\nGeForce GTX 765M|125\nQuadro M5000|125\nGigabyte GeForce GTX 560 Ti|125\nGeForce GTX 580M|125\nQuadro M2000|124\nGeForce GTX 850M|124\nGeForce GTX 570 OpenGL Engine|123\nGainward GeForce GTX 750 Ti|123\nQuadro K2200M|123\nGeForce GTX 780M Mac Edition|123\nGeForce GTX 680MX OpenGL Engine|123\nQuadro K4200|123\nGeForce GTX 460 OEM|122\nGeForce GTX 670MX|122\nMSi GeForce GTX 560 Ti|122\nGeForce GTX 460 SE|122\nQuadro M4000|122\nGeForce GTX880M OpenGL Engine|122\nQuadro P620|121\nGeForce GTX 560 SE|121\nGeForce GTX880M by nikey22|121\nGeForce GTX 555|121\nGeForce GTX 965M OpenGL Engine|121\nGeForce GTX 850A|121\nQuadro K5000 OpenGL Engine|120\nGeForce GTX 580 OpenGL Engine|120\nQuadro K3100M|120\nGeForce GTX 650 Ti BOOST|119\nGeForce GTX 570M|119\nGeForce GTX 675MX OpenGL Engine|119\nGeForce GTX 775M Mac Edition|119\nZotac GeForce GTX 1050 Ti|118\nGeForce GTX 965M|117\nQuadro M600M|117\nGeForce GTX 780M by Nick[D]vB|117\nGeForce GTX 460 SE|117\nGeForce GTX 555|116\nGeForce GTX 670M|116\nQuadro K3000M|116\nGeForce GTX 780 Ti OpenGL Engine|116\nQuadro K4000M|115\nGeForce GTX 860M|115\nAsus GeForce GTX 660|115\nTesla C2075|114\nGeForce GTX 675MX Mac Edition|114\nZotac GeForce GTX 770|114\nGigabyte GeForce GTX 750 Ti|114\nGeForce MX330|114\nGeForce GT 1030|113\nGeForce GTX TITAN OpenGL Engine|113\nGeForce GTX 590|113\nQuadro K620|113\nGeForce GTX 780M|112\nGeForce GTX 560 Ti|112\nQuadro 6000|112\nEVGA GeForce GTX 560 Ti|112\nAsus GeForce GTX 960|112\nQuadro K5000|112\nPoint of View GeForce GTX 470|111\nPNY GeForce GTX 580|111\nGeForce GTX 770M|111\nGeForce GT 120|111\nMSi GeForce GTX 660|111\nGigabyte GeForce GTX 560|111\nGeForce GTX 680MX|110\nGeForce 945M|110\nGeForce GTX 765M|110\nGeForce GTX 950 OpenGL Engine|110\nGeForce Pre-Release Tesla C2075 OpenGL Engine|109\nGeForce GTX 550 Ti|109\nGeForce GTX 765M|108\nPNY GeForce GTX 750|108\nGeForce GTX 560 Ti 448 Cores|108\nQuadro P500|108\nGeForce GTX 670MX|108\nGeForce GTX 680MX|107\nGeForce GTX 460 SE|107\nGeForce GTX 675MX Mac Edition|107\nGeForce GTX 770M OpenGL Engine|107\nGeForce 945M|107\nGeForce GTX 675MX|107\nPNY GeForce GTX 570 HD|106\nGeForce GTX 745|106\nGeForce MX230|106\nGeForce GTX 670MX|106\nGeForce 845M|106\nQuadro K3100M OpenGL Engine|105\nQuadro P2000|105\nGeForce MX570 A|105\nGeForce GTX 750 Ti|104\nGeForce GTX 660 OEM|104\nQuadro M600M|104\nGeForce GTX 750|104\nGeForce GTX 645|104\nGP108|104\nQuadro P520|104\nZotac GeForce GTX 460|103\nChip Model|103\nGeForce GTX 670M|103\nQuadro T1000|103\nGeForce GTX 670M|103\nGeForce GTX 650|103\nZotac GeForce GTX 750|102\nGeForce GTX 460 OpenGL Engine|102\nGeForce GTX 860M OpenGL Engine|102\nQuadro 4000|102\nAsus GeForce GTX 480|102\nZotac GeForce GTX 650 Ti|102\nGeForce GT 755M|101\nGF100 Board - 10220000|101\nGeForce GTX 470M|101\nGeForce GTX 570 Rev. 2|101\nGeForce GTX 775M by iDopt Mac|101\nGeForce GTX 765M by Nick[D]vB|101\nGeForce GTX 570|101\nGeForce GTX 645|101\nGeForce GTX 550 Ti|100\nGeForce GTX 760M|100\nGeForce GT 1030 OpenGL Engine|100\nGeForce GTX 650|100\nQuadro P400|100\nGeForce GTX 480|99\nEVGA GeForce GTX 650|99\nEVGA GeForce GTX 560|99\nGeForce MX130|99\nGeForce MX130|98\nAsus GeForce GTX 460|98\nElitegroup GeForce GTX 460|98\nTesla V100-SXM2-32GB|98\nGeForce GT 755M|98\nGeForce GTX 760 Ti OpenGL Engine|98\nQuadro P520|97\nGeForce GT 755M Mac Edition|97\nGeForce GTX 1060 5GB|97\nPalit GeForce GTX 650 Ti|97\nMSi GeForce GTX 460|96\nGeForce GTX 650|96\nGigabyte GeForce GTX 580|96\nGigabyte GeForce GTX 460|96\nGeForce GTX 745|96\nEVGA GeForce GTX 550 Ti|96\nGeForce GTX 465|96\nGeForce GTX 460 SE|96\nGeForce GTX 765M|96\nGeForce GT 755M Mac Edition|96\nQuadro M520|95\nQuadro K620|95\nT1000|95\nGeForce GTX 745|95\nQuadro K620|95\nGeForce GT 755M|94\nGeForce GTX 660 Ti OpenGL Engine|94\nQuadro K3000M|94\nQuadro K4000|94\nQuadro K4000 OpenGL Engine|94\nGeForce GTX 560|94\nGeForce GTX 650 Ti OpenGL Engine|94\nZotac GeForce GTX 560|94\nAsus GeForce GTX 560|93\nGeForce GTX 650 Ti|93\nGeForce GPU|92\nGeForce GTX 460|92\nMSi GeForce GTX 650 Ti|92\nGeForce GTX 645|92\nGigabyte GeForce GTX 760|92\nGeForce GTX 660M|92\nGeForce GTS 450|92\nGeForce GTX 765M|92\nQuadro K2000D|92\nQuadro K2000|91\nGeForce GT 740|91\nGeForce GTX 650|91\nGRID M6-0B|91\nHP Quadro K620|91\nGeForce MX130|91\nQuadro K3000M by ST3PHL3|91\nQuadro 4000|90\nGeForce MX230|90\nQuadro K620|90\nQuadro K2100M by Nick[D]vB|90\nQuadro K3000M by nikey22|89\nGeForce GT 650M OpenGL Engine|89\nQuadro 4000|89\nQuadro K3000M|88\nGeForce GTX 660M|88\nQuadro K6000|87\nGeForce GT 755M Mac Edition|87\nPalit GeForce GTX 650|87\nQuadro P500|87\nGeForce GTX 570M|86\nGainward GeForce GTX 460|86\nGeForce GTX 950M|86\nQuadro K2000D|86\nGeForce GTX 650 Ti BOOST|86\nQuadro K2100M|86\nGeForce GTX 470|85\nQuadro K2000|85\nQuadro K2000|85\nGeForce GT 750M Mac Edition|85\nGeForce GTX 745|85\nGRID K220Q|85\nGeForce GTX 750 OpenGL Engine|85\nQuadro 5000M|84\nQuadro P400|84\nGeForce GTS 450|84\nGeForce GT 640 Rev. 2|84\nGeForce GTX 660M Mac Edition|84\nQuadro P400|84\nAsus GeForce GTX 560 SE|84\nPNY GeForce GTX 460|83\nGeForce GT 640 Rev. 2|83\nGeForce GTS 450 Rev. 2|83\nGeForce GTS 450|83\nGeForce GTS 450 Rev. 2|83\nGeForce GTX 645|82\nGeForce GPU|82\nGeForce GTX 560M|82\nQuadro K3000M|82\nQuadro K2100M by nikey22|82\nGigabyte GeForce GTX 750|82\nGeForce GT 740|82\nGeForce GT 750M Mac Edition|82\nGeForce GTX 765M OpenGL Engine|82\nGeForce GTX 645 OpenGL Engine|82\nQuadro K620|81\nGeForce GTX 550 Ti OpenGL Engine|81\nQuadro 4000M|81\nPNY GeForce GTX 550 Ti|81\nGeForce MX110|80\nGeForce GTX 760M|80\nMSi GeForce GTX 745|80\nQuadro K2100M OpenGL Engine|80\nQuadro K2000|80\nQuadro 5000|80\nQuadro K620 OpenGL Engine|80\nMSi GeForce GTX 745|80\nGeForce GT 755M OpenGL Engine|80\nGeForce GTX 660M|79\nGigabyte GeForce GTX 550 Ti|79\nMSi GeForce GTX 650|79\nGeForce GTX 560M|79\nQuadro P400|78\nQuadro K2100M|78\nQuadro K2100M|78\nZotac GeForce GTX 1050 Ti|78\nQuadro 3000M|77\nGeForce 940A|77\nGeForce GTX 460M|77\nGeForce GTX 550 Ti|77\nGeForce GT 545|77\nGeForce GT 650M Mac Edition|77\nGeForce 940MX|76\nGeForce GTX 650 OEM|76\nGeForce GTX 550 Ti|76\nGeForce GT 755M Mac Edition|76\nGeForce GT 740 OpenGL Engine|75\nGainward GeForce GTX 550 Ti|75\nQuadro K1200|75\nGeForce GT 650M Mac Edition|75\nEVGA GeForce GTX 650|75\nGeForce GT 750M Mac Edition|74\nGeForce GTX 745|73\nGeForce GTX 555|73\nGeForce GTX 650|73\nGainward GeForce GTS 450|73\nGeForce GT 650M|73\nGeForce GT 755M Mac Edition|73\nGeForce GTX 460M|72\nGeForce 930A|72\nGeForce 930MX|72\nGeForce 940MX|72\nGeForce MX110|72\nGeForce GT 750M Mac Edition|72\nQuadro 2000|72\nGeForce 845M|71\nQuadro 2000D|71\nGeForce GT 640 Rev. 2|71\nGeForce MX110|71\nGeForce GT 1010|71\nGeForce GT 545|71\nQuadro K1200 OpenGL Engine|71\nGeForce 940MX|71\nGeForce GTX 650 OpenGL Engine|71\nEVGA GeForce GTX 650 Ti BOOST|71\nQuadro K2100M|70\nGeForce GT 1010|70\nQuadro M500M|70\nGeForce GT 650M Mac Edition|70\nGeForce GT 640 OEM|70\nQuadro K2000D|70\nQuadro K2000 OpenGL Engine|70\nGeForce GT 750M Mac Edition|70\nGeForce GT 650M|69\nQuadro K1100M by Nick[D]vB|69\nGeForce GT 650M|69\nGeForce 940M|69\nGeForce GT 650M|69\nQuadro 4000|69\nGeForce GT 650M Mac Edition|69\nGeForce GT 745M|69\nGainward GeForce GTX 560 Ti|68\nGeForce 920MX|68\nQuadro M520|68\nGeForce GT 640|68\nGeForce 840M|68\nGeForce 9800 GTX / 9800 GTX+|68\nGeForce GTX 770M by Nick[D]vB|67\nZotac GeForce GTX 650|67\nAsus GeForce GTX 550 Ti|67\nGeForce GT 750M|67\nQuadro K3100M by nikey22|67\nGeForce GT 750M|67\nGeForce GTX 760 (192-bit) OpenGL Engine|67\nHP Quadro 4000|67\nQuadro K2000|67\nGeForce GTS 450 Rev. 2|67\nGeForce 930MX|67\nGeForce GTX 660M Mac Edition|66\nGeForce GTX 570|66\nGeForce GT 750M|66\nGeForce GT 650M Mac Edition|66\nGeForce GT 650M OpenGL Engine|65\nGeForce GTX 660M OpenGL Engine|65\nGeForce 930M|65\nPalit GeForce GTX 650|65\nGeForce GTX 760M|65\nGeForce GT 650M Mac Edition|65\nGeForce 940M|65\nGeForce GT 750M Mac Edition|64\nGeForce 940M|64\nGeForce GT 740|63\nGeForce 930MX|63\nQuadro 3000M|63\nGeForce GT 730|63\nQuadro K1100M|63\nGeForce GT 750M|63\nGeForce 840M|63\nGeForce GT 640 OEM|63\nGeForce 840M|63\nGeForce GT 640 Rev. 2|62\nGeForce GTS 450|62\nQuadro 2000|62\nGeForce GT 745M|62\nGeForce GT 740|62\nGeForce GT 640|62\nQuadro 2000|62\nGeForce GTX 660M Mac Edition|62\nQuadro K1100M OpenGL Engine|62\nQuadro K2000M|62\nGeForce GTX 680MX OpenGL Engine|61\nEVGA GeForce GT 730|61\nQuadro 2000D|61\nGeForce 840A|61\nMSi GeForce GTX 660 Ti|61\nQuadro K1100M|61\nGeForce GT 645M|61\nGeForce GTX 780M OpenGL Engine|61\nHP GeForce GT 730|61\nQuadro K5000M OpenGL Engine|61\nEVGA GeForce GT 640|61\nGeForce 920MX|60\nQuadro M500M|60\nQuadro K620M|60\nGeForce 930M|60\nGeForce 930A|60\nGeForce GT 640 OEM|60\nGeForce GT 640|60\nQuadro 2000M|60\nGeForce GT 640|60\nGeForce GT 640M Mac Edition|60\nGeForce GT 640M Mac Edition|60\nGeForce GT 640M Mac Edition|59\nGeForce GT 645M|59\nGeForce 930M|59\nGigabyte GeForce GTX 650 Ti|59\nGeForce GT 640 OEM|59\nGeForce 830M|59\nAsus GeForce GT 640|58\nMSI GeForce GTX 1070|58\nGeForce GT 555M|58\nQuadro K2000M|58\nQuadro K1100M|57\nGeForce GT 650M Mac Edition|57\nQuadro K2000M by Nick[D]vB|57\nEVGA GeForce GTX 650 Ti|57\nGeForce GT 640M|56\nGeForce GT 650M Mac Edition|56\nGeForce GT 445M|56\nGeForce 830A|56\nGeForce 9800 GT|56\nAsus GeForce GTS 450|55\nGeForce 830M|55\nGeForce 920MX|55\nQuadro 2000|55\nEVGA GeForce GT 545|54\nQuadro K2000M|54\nGeForce GT 650M Mac Edition|54\nGeForce GTX 280|54\nGeForce GT 640|53\nQuadro FX 2800M|53\nQuadro 3000M OpenGL Engine|53\nGeForce GT 740|53\nnull GeForce 920A|53\nGeForce GT 640M Mac Edition|52\nGeForce GT 635|52\nGraphics Device|52\nGeForce GT 640M|52\nGeForce GTX 660M Mac Edition|52\nQuadro 2000M|52\nQuadro 5010M|52\nGeForce GTS 250|52\nGeForce GT 445M|51\nGeForce GT 640M OpenGL Engine|51\nGeForce GT 640M|50\nEVGA GeForce GT 740|50\nGeForce GT 640M Mac Edition|50\nGeForce 730A|50\nGeForce 920M|49\nHP Quadro 2000|49\nGeForce GT 730M|49\nnull GeForce 920A|49\nGeForce GT 555M|49\nGeForce GT 640M LE|49\nGeForce GT 730M|49\nGeForce GT 730M|48\nGeForce GT 640M Mac Edition|48\nQuadro K2000M OpenGL Engine|48\nGeForce GT 640M LE|48\nGeForce GT 740M|47\nGeForce GTX 460M|47\nGeForce GT 440|47\nGeForce GT 440|46\nGeForce GT 640M Mac Edition|46\nQuadro P400|46\nGeForce GT 730|46\nDell Quadro 2000M|45\nGeForce GT 740M|45\nGeForce GT 740M|45\nGeForce GTS 450 Rev. 2|45\nGeForce 920M|45\nGeForce 920M|45\nGeForce 910M|44\nGeForce GTX 680M|44\nGeForce GT 730|44\nQuadro 2000M|44\nGeForce GT 635|43\nGeForce GT 720 OpenGL Engine|43\nGeForce GT 635|43\nQuadro K5200 OpenGL Engine|43\nZotac GeForce GTX 650|43\nGeForce GT 440|43\nGeForce GT 435M|42\nGeForce GT 735M|42\nGainward GeForce GT 630|42\nQuadro 1000M|42\nGeForce 820M|41\nGeForce GTX 680M OpenGL Engine|41\nMSI GeForce GT 635|41\nGeForce 820A|41\nTesla M10|41\nAsus GeForce GT 440|40\nAsus GeForce GT 630|40\nGeForce GT 820M|40\nGeForce 910M|40\nGeForce GT 820M|40\nGeForce GT 730|40\nGeForce GT 550M|40\nGeForce GT 430|40\nGeForce GT 540M|39\nAsus GeForce GT 720|39\nGeForce GT 630|39\nGeForce GT 530|39\nGeForce GT 635M|39\nGeForce GT 620M/630M/635M/640M LE|39\nNVS 5400M|39\nQuadro K600|39\nQuadro K610M|39\nAsus GeForce GT 730|39\nGeForce GT 630|39\nGeForce GT 440|39\nGeForce GT 630M|38\nGeForce 820M|38\nQuadro K420|38\nQuadro K610M|38\nGeForce GT 625M|38\nQuadro K1000M|38\nNVS 5200M|38\nGRID K1|38\nQuadro K600|38\nQuadro K420|38\nGeForce GT 630|38\nQuadro K600|37\nQuadro 600|37\nHP Quadro 600|37\nQuadro K1000M|37\nQuadro K610M|37\nGRID K180Q|37\nGRID K160Q|37\nGeForce GT 635M|37\nGigabyte GeForce GT 440|37\nGeForce 820M|37\nGeForce GT 530|37\nGeForce GT 540M|37\nGeForce GT 630 OEM|37\nQuadro K610M by Nick[D]vB|37\nNVS 510|37\nGeForce GT 630M|37\nQuadro 1000M|37\nGeForce GT 540M|37\nGeForce GT 530|37\nQuadro K1100M|37\nQuadro K620M|37\nQuadro 1000M|36\nGeForce GT 730|36\nGeForce 820M|36\nGeForce GT 430|36\nGRID K1|36\nGeForce GT 525M|36\nNVS 5200M|36\nNVS 510|36\nZotac GeForce GT 430|36\nQuadro K600|36\nAsus GeForce GT 730|36\nHP Quadro K4000|35\nGeForce GT 755M Mac Edition|35\nGeForce GT 630|35\nNVS 5400M|35\nNVS 5400M|35\nGeForce GT 640 OpenGL Engine|35\nGeForce GT 625M|35\nGeForce GT 630|35\nGeForce GT 430|35\nQuadro K600 OpenGL Engine|35\nQuadro K1000M|35\nZotac GeForce GT 630|35\nGigabyte GeForce GT 630|35\nGRID K140Q vGPU|35\nGeForce GT 710M|35\nGeForce GT 620M|35\nGeForce GT 720M|34\nGeForce 710M|34\nQuadro 1000M,|34\nQuadro K510M|34\nGeForce 9400 GT|34\nQuadro K1000M|34\nGeForce GT 635M|34\nQuadro K420|34\nGRID K180Q|34\nAsus GeForce GT 430|34\nQuadro K4100M|34\nGigabyte GeForce GT 730|34\nGeForce GT 620M|34\nGeForce GT 525M|34\nQuadro K420|34\nDell NVS 5200M|34\nGeForce 710A|34\nGeForce GT 425M|33\nGeForce GT 710B|33\nGeForce GT 525M|33\nQuadro 600|33\nGeForce GT 620M|33\nQuadro K600|33\nQuadro 600|33\nGeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M|33\nMSI GeForce GT 730|33\nGeForce GT 710|33\nGeForce GT 435M|33\nNVS 510|33\nAsus GeForce GT 710|33\nNVS 510|32\nGeForce 710M|32\nGeForce GT 720M|32\nGeForce GT 730A|32\nGeForce GT 710M|32\nGIGABYTE GeForce GTX 660|31\nEVGA GeForce GT 710|31\nGeForce GT 710|31\nGeForce GT 710|31\nGeForce GT 425M|31\nGeForce GT 720|31\nEVGA GeForce GT 710|31\nQuadro K1000M by Nick[D]vB|31\nAsus GeForce GT 710|31\nGeForce GT 720|31\nGeForce GT 420M|30\nGeForce GT 710|30\nnull Graphics Device|30\nGeForce GT 240|30\nGeForce 810M|29\nGeForce GT 720M|29\nGeForce GT 710|29\nQuadro 600|29\nGeForce 810M|29\nGeForce GT 420M|28\nQuadro 410|28\nGeForce GTX 660M|28\nMSI GeForce GT 710|28\nGeForce GT 720|28\nGeForce GT 735M|27\nGeForce GT 720|27\nGeForce GT 720|27\nGeForce GT 630 OpenGL Engine|27\nQuadro 410|27\nGeForce GT 330M|26\nGeForce GT 420M|26\nGeForce GT 430|26\nGeForce 615|25\nGeForce GTX 760A|25\nToshiba GeForce GT 525M|25\nGeForce GT 520MX|25\nGeForce GT 620|25\nGeForce GT 625|25\nGeForce GT 710|24\nQuadro NVS 4200M|24\nGeForce 840A|24\nGeForce 610M|24\nGeForce 800M|24\nGeForce GT 420|24\nGeForce 705M|23\nGeForce GT 705|23\nGeForce 800M|23\nGeForce 610M|23\nGeForce GT 620 OEM|23\nGeForce GT 625|23\nGeForce GT 420|23\nQuadro NVS 4200M|23\nGeForce GT 520M|22\nNVS 4200M|22\nGeForce GT 620 OEM|22\nNVS 5200M|22\nGeForce GT 620 OEM|22\nGeForce GT 620|22\nGeForce GT 705|21\nGeForce GT 620|21\nGeForce GT 630 Rev. 2|21\nQuadro NVS 4200M|21\nGeForce GT 520M|20\nGTX 980M SLI|20\nGeForce GT 620|20\nGeForce GT 520M|20\nGeForce GT 520|19\nGeForce 410M|19\nGeForce 730A|19\nGeForce GT 520|19\nGeForce GT 610|19\nAsus GeForce GT 610|19\nNVS 310|18\nGeForce 410M|18\nNVS 315|18\nGeForce 605|18\nGeForce GT 610|18\nGeForce GT 520|17\nGeForce MX550|17\nNVS 4200M|17\nNVS 315|17\nNVS 310|17\nGeForce 410M|17\nPalit GeForce GTX 660|17\nGeForce 605|17\nNVS 310|17\nGeForce GT 415M|17\nZotac GeForce GT 610|17\nGeForce GTX 675M|17\nGeForce GT 610|16\nQuadro 4000M|16\nPNY GeForce GT 610|16\nGeForce GT 610|16\nGeForce 510|15\nMSi GeForce GT 610|15\nGeForce GT 735M|15\nGeForce GT 520|15\nGeForce 510|15\nGeForce GT 320M|14\nGeForce 9600M GT|14\nGeForce GTX 570M|14\nCorporation D3D12 (NVIDIA GeForce RTX 3080 Ti)|13\nGeForce 510|13\nQuadro FX 1800M|12\nAsus GeForce GT 520|12\nGeForce GT 705|12\nMSi GeForce GT 630|11\nQuadro 3000M|10\nGigabyte GeForce GT 610|10\nPegatron GeForce GT 420|9\nGeForce 210|8\nGeForce 9300 / nForce 730i|7\nNVS 3100M|7\nGeForce 8600 GT|5\nGeForce 8400 GS Rev. 3|4\nGeForce 8400 GS|3\nGeForce 9600 GT|2\nGeForce GT 550M|-1\nGeForce 8600 GTS|-1\nGeForce GT 520MX|-1\nEVGA GeForce GTX 460|-1\nEVGA GeForce GTX 970|-1\nGP106|-1\nGRID P4-2B|-1\nGainward GeForce GTX 650|-1\nGeForce 210|-1\nGeForce 310|-1\nGeForce 310M|-1\nGeForce 315|-1\nGeForce 315M|-1\nGeForce 320M|-1\nGeForce 405|-1\nGeForce 610M|-1\nGeForce 820A|-1\nGeForce 8300 GS|-1\nGeForce 8400 GS|-1\nGeForce 8400 GS Rev. 2|-1\nGeForce 8400 GS Rev. 3|-1\nGeForce 8400M GS|-1\nGeForce 8400M GT|-1\nGeForce 8500 GT|-1\nGeForce 8600 GT|-1\nGeForce 8600M GS|-1\nGeForce 8600M GT|-1\nGeForce 8700M GT|-1\nGeForce 8800 GT|-1\nGeForce 8800 GTS|-1\nGeForce 8800 GTS 512|-1\nGeForce 8800 GTX|-1\nGeForce 8800M GTX|-1\nGeForce 9200M GE|-1\nGeForce 9200M GS|-1\nGeForce 9300 / nForce 730i|-1\nGeForce 9300 GE|-1\nGeForce 9300 GS|-1\nGeForce 9300M GS|-1\nGeForce 9400|-1\nGeForce 9400M|-1\nGeForce 9500 GT|-1\nGeForce 9500M GS|-1\nGeForce 9600 GS|-1\nGeForce 9600 GSO|-1\nGeForce 9600 GSO 512|-1\nGeForce 9600 GT|-1\nGeForce 9600M GS|-1\nGeForce 9600M GT|-1\nGeForce 9600M GT / GeForce GT 220M|-1\nGeForce 9800 GT|-1\nGeForce 9800 GTX+|-1\nGeForce 9800 GTX/9800 GTX+|-1\nGeForce 9800M GTS|-1\nGeForce G 103M|-1\nGeForce G 105M|-1\nGeForce G105M|-1\nGeForce G205M|-1\nGeForce G210|-1\nGeForce G210M|-1\nGeForce GT 120|-1\nGeForce GT 120M|-1\nGeForce GT 130|-1\nGeForce GT 130M|-1\nGeForce GT 220|-1\nGeForce GT 220M|-1\nGeForce GT 230|-1\nGeForce GT 230M|-1\nGeForce GT 240|-1\nGeForce GT 240M|-1\nGeForce GT 240M|-1\nGeForce GT 320|-1\nGeForce GT 320M|-1\nGeForce GT 325M|-1\nGeForce GT 330|-1\nGeForce GT 330M|-1\nGeForce GT 335M|-1\nGeForce GT 435M|-1\nGeForce GT 520M|-1\nGeForce GT 525M|-1\nGeForce GT 555M/635M|-1\nGeForce GTS 240|-1\nGeForce GTS 250|-1\nGeForce GTS 360M|-1\nGeForce GTX 1180|-1\nGeForce GTX 260|-1\nGeForce GTX 260M|-1\nGeForce GTX 275|-1\nGeForce GTX 280|-1\nGeForce GTX 285|-1\nGeForce GTX 295|-1\nGeForce GTX 560 SE|-1\nGeForce GTX 750 v2|-1\nGeForce RTX T10-16|-1\nGeForce RTX T10-8|-1\nGigabyte GeForce GTX 1050 Ti|-1\nION|-1\nMSI GeForce GT 710|-1\nNVS 300|-1\nNVS 3100M|-1\nNVS 4200M|-1\nNVS 5100M|-1\nPalit GTX 680 JetStream|-1\nQuadro FX 1700|-1\nQuadro FX 1700M|-1\nQuadro FX 1800|-1\nQuadro FX 1800M|-1\nQuadro FX 2700M|-1\nQuadro FX 2800M|-1\nQuadro FX 3600M|-1\nQuadro FX 360M|-1\nQuadro FX 370|-1\nQuadro FX 3700|-1\nQuadro FX 3700M|-1\nQuadro FX 380 LP|-1\nQuadro FX 3800|-1\nQuadro FX 3800M|-1\nQuadro FX 4600|-1\nQuadro FX 4800|-1\nQuadro FX 4800|-1\nQuadro FX 5600|-1\nQuadro FX 570M|-1\nQuadro FX 580|-1\nQuadro FX 770M|-1\nQuadro FX 880M|-1\nQuadro K1100M by Nick[D]vB|-1\nQuadro K2000D|-1\nQuadro K2000M|-1\nQuadro K2100M by Nick[D]vB|-1\nQuadro NVS 135M|-1\nQuadro NVS 140M|-1\nQuadro NVS 160M|-1\nQuadro NVS 290|-1\nQuadro NVS 295|-1\nQuadro NVS 4200M|-1\nQuadro P4000 OpenGL Engine|-1\nSony GeForce 410M|-1\nZotac GeForce GTX 780|-1\n";var ZV="\nRadeon RX 7900 XT|2202\nRadeon RX 7900 XT|1968\nRX 6800 XT|1957\nRadeon RX 6900 XT (XTXH)|1930\nRadeon RX 6900XT|1925\nRadeon PRO W6900X|1889\nRX 6900 XT|1852\nRadeon RX 6900|1814\nRadeon RX 7900 XTX|1773\nRX6800|1695\nFreddyVGA|1603\nRadeon PRO W6800|1564\nRadeon RX 7900 XTX|1437\nRadeon RX 6950 XT|1376\nRadeon RX 6800 XT|1358\nRadeon RX 6750 XT|1310\nRadeon(TM) RX 6850M XT|1294\nRadeon RX 6700|1285\nRadeon RX 6900 XT|1269\nSapphire Nitro+ RX 6800|1262\nRadeon PRO W6800X|1255\nRadeon PRO W6800X Duo|1218\nRadeon RX 6700|1214\nRadeon RX 6800 XT|1183\nSapphire Nitro Radeon RX6650XT|1180\nRadeon(TM) RX 6750 XT|1166\nRadeon RX 6800|1163\nRadeon RX 6900 XT|1162\nASRock RX 6650 XT Phantom Gaming|1161\nRadeon Navi23|1139\nRadeon RX 6650 XT|1132\nRadeon RX 6950 XT|1130\nRadeon 6800|1121\nRadeon RX 6700 XT|1110\nRadeon Pro W6600X|1101\nRadeon RX 6700M|1081\nRadeon RX 6800M|1078\nRadeon RX 5700 XT PJM|1060\nRadeon RX 6800|1054\nRadeon RX 6600 XT|1037\nRadeon RX 6600 XT|1031\nASUS RX 6600XT macOS Edition|1021\nRadeon RX 6800M|1016\nRadeon Pro Vega II Duo|1015\nRadeon RX 5700 Series|961\nRadeon RX 6800/6800 XT / 6900 XT|961\nRadeon RX 6600 XT|958\nRadeon Pro Vega II|956\nRadeon RX 6650 XT|951\nNavi 10 5700 XT|947\nRadeon Pro Vega II|947\nRadeon RX 5700 Series|946\nRadeon Pro W5700X|934\nRadeon RX 6600|929\nASUS Radeon RX 5700 XT|926\nRadeon Pro W5700X|917\nRadeon Pro 5700 XT|917\nRadeon RX 6900 XT|915\nRadeon RX 5700 XT|911\nRadeon Pro W5700|895\nRadeon RX 6600/6600 XT/6600M|889\nRadeon RX 6750 XT|883\nRadeon RX 6600|874\nRadeon RX 5700|855\nRadeon RX 5700 XT 50th Anniversary|854\nRadeon VII|851\nRadeon RX 5700 XT 50th Anniversary|845\nRadeon PRO W6800|837\nRadeon Pro Vega 64|824\nRadeon Navi10|822\nRadeon RX 5600 XT|816\nRadeon RX 6600M|803\nRadeon RX 6800S|791\nRadeon Pro 5700 XT|781\nRadeon RX Vega 64 8GB|775\nRadeon Pro 5700|768\nRadeon Vega Frontier Edition|767\nRadeon RX Vega|766\nRadeon RX Vega 56/64|765\nRadeon(TM) RX Vega|756\nRadeon Pro Vega 64X|745\nRadeon RX 5600 XT|744\nRadeon PRO W6600|744\nRadeon Vega 64 LC|735\nRadeon RX Vega 64.1|732\nRadeon RX 6600M|728\nRadeon Pro 5700|714\nRadeon Vega Frontier Edition|707\nRadeon Vega Frontier|704\nRadeon Vega FE|701\nRadeon RX 5700 XT|691\nRadeon Pro Vega 64|673\nRadeon Vega 64|667\nRadeon VII|663\nRadeon Pro WX9100|656\nSapphire Radeon RX Vega 64 8GB|654\nRadeon(TM) PRO W6600M|654\nRadeon RX 5700 XT 50th Anniversary|652\nRadeon RX 5700|640\nRadeon Pro W5700|640\nRadeon(TM) Pro WX 9100|635\nRadeon RX Vega 56|628\nRadeon RX Vega 56|623\nRadeon Pro 5500 XT|622\nRadeon RX 5600 OEM/5600 XT / 5700/5700 XT|621\nRadeon RX 5500|618\nRadeon RX 5500 XT|617\nRadeon Vega Frontier Edition|617\nRadeon RX 5500M Series|613\nRX xxx|613\nRadeon Pro Vega 64X|611\nRadeon RX Vega 64|610\nRadeon RX 5600 XT|610\nRadeon Pro Vega 64|605\nRadeon RX 6500 XT|603\nRadeon Vega|602\nRadeon Pro W5500|601\nRadeon RX 5600M|600\nRadeon Pro Vega 56|598\nRadeon Pro Vega 64|594\nRadeon Pro 5600M|593\nRadeon Pro Vega 48|592\nRadeon Pro Vega II Duo|590\nRadeon RX 590 Series|589\nRadeon RX Vega 56 8GB|589\nRadeon Pro 5600M|589\nRadeon Pro WX 9100|588\nRadeon Pro 5300|584\nRadeon(TM) R9 Fury Series|579\nRadeon RX 6800 XT 16GB|567\nRadeon Pro 5600M|567\nRadeon Pro W5500X|564\nRadeon(TM) RX 5500M|559\nRadeon HD 7870|556\nRadeon Pro W5500|554\nRadeon RX 5500M|550\nRadeon R9 290X Series|549\n66AF:F0|548\nRadeon Pro 5500 XT|547\nRadeon RX 580 Series|547\nRadeon RX 5500XT|547\nRadeon(TM) RX 580X|546\nRadeon Pro 5500 XT|545\nRadeon(TM) Pro W5500M|544\nRadeon Pro W5500X|544\nRadeon Pro W5500|541\nRadeonT RX 5300|537\nRadeon(TM) RX 570 Graphics|524\nRadeon Pro 5300|522\nRadeon(TM) RX 6500M|521\nRadeon RX Vega M GL|520\nASUS Radeon RX 570 Series|519\nASUS Radeon RX 580 Series|518\nRadeon(TM) RX 580|518\nRadeon(TM) Pro V7350x2|518\nRadeon(TM) RX 480 Graphics|516\nRadeon(TM) RX 570 Graphics|515\nRadeon RX 6400|513\nRadeon Pro 580X|513\nRadeon(TM) R9 390 Series|503\nRadeon Pro 5300|500\nRadeon RX 580 2048SP|500\nRadeon PRO W6400|500\nRadeon RX 570 Series|499\nRadeon PRO W6800X Duo|497\nRadeon Pro 580|494\nRadeon RX 5500 XT|493\nRadeon RX 6400|487\nRadeon Pro 580|485\nRadeon(TM) Pro WX 7100 Graphics|485\nRadeon(TM) R9 290X|478\nSapphire Radeon RX 580 Pulse|477\nRadeon RX 6700/6700 XT / 6800M|476\nRadeon(TM) RX 580|475\nRadeon RX 6700S|475\nRadeon R9 290X|470\nRadeon(TM) RX 470 Graphics|469\nRadeon R9 FURY / NANO Series|468\nRadeon Embedded E9560|467\nKamen Rider Black RX|466\nRadeon(TM) E9550|464\nRadeon(TM) RX 580 Graphics|463\nRadeon RX Vega 56/64|463\nRadeon(TM) RX 480|462\nRadeon RX 6800 XT|462\nRadeon RX 470 Series|461\nRadeon RX480|456\n66AF:F1|455\nRadeon Pro 480/575|455\nRadeon Embedded E9560|450\nRadeon FURY|450\nRadeon RX 5600 OEM/5600 XT / 5700/5700 XT|447\nRadeon RX 6600 XT|446\nRadeon HD 6800 Series|445\nRadeon Pro 570X|444\nRadeon(TM) RX 470 Graphics|443\nRadeon Pro 575X|443\nRadeon RX 470/480/570/570X/580/580X/590|443\nRadeon RX 6600|443\nRadeon RX Vega M GH Graphics|441\nRX 580|440\nRadeon RX 570|440\nRadeon Pro 570|440\nRadeon RX 590|437\nRadeon(TM) RX 470 Series|435\nRadeon RX 6900 XT|435\nRadeon FURY X|434\nRX 590|431\nRadeon Pro 5500M|430\n???|430\nRadeon(TM) RX 570|430\nRadeon RX 580|429\nRadeon HD 8xxx|426\nRadeon R9 290|425\nRadeon Pro 5500M|420\nRadeon Pro 580X|420\nRadeon RX 6700 XT|420\nRadeon RX 480|419\nRadeon R9 290/390|418\nRadeon Pro 580X|416\nRadeon(TM) Pro Duo|414\nEllesmere Radeon RX 570|411\nRadeon R9-290X|411\nRadeon Pro 580|411\nRadeon R9 200 Series|406\nRadeon RX 570|406\nRadeon Pro 470/570|404\nRadeon RX 6800M|404\nRadeon RX 5300M|400\nRadeon RX 580 Series (POLARIS10, DRM 3.40.0, 5.11.9-141-tkg-pds, LLVM 11.1.0)|399\nRadeon Pro 5300M|399\nRadeon R9 285|398\nRadeon RX 470|393\nRadeon Pro 575|392\nRadeon Pro 575X|391\nRadeon Pro WX 7100|387\nRadeon RX 6700M|386\nRadeon RX 470/480/570/570X/580/580X/590|382\nRadeon PRO W6600|376\nRadeon Polaris|374\nRadeon RX 6500 XT|374\nRadeon Pro Vega 20|371\nRadeon HD 7970|370\nRadeon Pro Vega 16|370\nRadeon RX 6800|369\nRadeon Pro Vega 64 OpenGL Engine|369\nRadeon(TM) R9 380 Series|367\nRadeon RX 5700XT|366\nFirePro W8100|366\nRadeon Pro Vega 64|365\nRadeon Pro 570|365\nRadeon Pro 570X|363\nRadeon Pro Vega 64 OpenGL Engine|362\nRadeon R9 280x|362\nRadeon R9 380|362\nRadeon R9 280x|361\nRadeon R9 280x|360\nRadeon Pro Vega 56|360\nR9 280X Dual-X|359\nRadeon Pro Vega 56 OpenGL Engine|356\nRadeon HD 7970|355\nRadeon HD 7970X/8970/R9 280X|354\nRadeon R9 285|353\nRadeon R9 380X|352\nRadeon RX 480|352\nRadeon RX 5700 XT Series|350\nASUS Radeon RX 470 Series|350\nRadeon Pro Vega 64|349\nRadeon R9 200 / HD 7900 Series|346\nASUS Radeon RX 470 Series|346\nRadeon Vega 56|346\nRadeon RX 580 Series (AMD POLARIS10 / DRM 3.15.0 / 4.12.0-1-amd64, LLVM 4.0.1)|343\nRadeon Pro Vega 20|343\nR9 380|341\nRadeon HD 7970|338\nRadeon RX 5700 XT|336\nRadeon D700|336\nAsus Radeon R9 280|334\nRadeon R9 285|334\nRadeon R9 M395X|332\nRadeon RX 5600 XT|332\nPowerColor Radeon R9 280|330\nRadeon R9 280|329\nFirePro W7100 Graphics Adapter|328\nRadeon R9 M295X Mac Edition|327\nASUS Radeon RX 5700|327\nRadeon R9 380|326\nRadeon Pro Vega 16|325\nRadeon R9 290X|325\nRadeon RX5600|324\nASUS Radeon RX 5500 XT|323\nRadeon R9 280|323\nRadeon HD 7950/8950 / R9 280|321\nRadeon R9 M395|319\nRadeon RX 6800/6800 XT / 6900 XT|318\nFirePro D700 (FireGL V)|318\nRadeon RX 5500/5500M / Pro 5500M|318\nMSI Radeon RX 6600 XT Gaming X|318\nFirePro W8000|315\nRadeon HD 7950|315\nRadeon Pro W5700|315\nFirePro W7170M|314\nRadeon PRO W6800|314\nRadeon RX 5500|313\nRadeon RX 580 Special Edition|312\nRadeonT RX 5500M|311\nRadeon R9 M395 (Bootcamp XG edition by bootcampdrivers.com)|311\nRadeon R9 360|309\nRadeon Pro WX 7100|307\nRadeon Pro WX 7100 Mobile|307\nRadeon RX 5700 XT 50th Anniversary|307\nR9 xxx|303\nRadeon RX 5700XT|302\nRadeon PRO W6400|301\nRadeon(TM) R9 370 Series|301\nRadeon RX 470/480/570/570X/580/580X/590|300\nRadeon(TM) PRO W6600M|298\nRadeon HD 8950|298\nRadeon R9 M395X|297\nRadeon R9 M395X|296\nRX Vega 64|296\nRadeon RX Vega 11 Graphics|295\nRadeon Pro 270X|294\nRadeon RX 580 2048SP|290\nRadeon HD 7950|290\nVideo Controller (VGA Compatible)|290\nRadeon(TM) R7 370 Series Graphics|290\nRadeon HD 7950|290\nAsus Radeon R9 270X|289\nRadeon RX 580X Series|288\nRadeon(TM) RX 5500M|285\nRadeon R9 270X|285\nRX xxx|285\nASUS R7 265 Series|281\nRadeon(TM) R9 270|280\n731F:C1|280\nRadeon R9 M395X|279\nRadeon(TM) R7 370 Series|279\nRadeon Pro V520 MxGPU|278\nRadeon R9 M395|277\nFirePro D700|277\nRadeon R9 270X|277\nRadeon(TM) R9 200 Series|276\nRadeon RX 5700|275\nRadeong 0.4 on AMD POLARIS10 (DRM 3.8.0 / 4.9.11-1-ARCH, LLVM 3.9.1)|274\nRadeon HD 7870 XT|274\nRadeon R9 390X|272\nRadeon(TM) RX 570 Graphics|272\nRadeon HD 7870 GHz Edition|271\nRadeon R9 390|270\nFirePro D700|269\nRadeon R9 M395|268\nRadeon R9 270|268\nRadeon RX 5700 / 5700 XT|267\nASUS R7 370 Series|267\nFirePro W7000|266\nRadeon(TM) Pro V7350x2|266\nRadeon(TM) RX 470 Series|266\nRadeon RX Vega 64 OpenGL Engine|266\nRadeon RX 5500M|265\nRadeon HD 7950/8950 OEM / R9 280|265\nRadeon Vega Frontier Edition OpenGL Engine|265\nRadeon 7950 x2|263\nRadeon R9 270|263\nRadeon VII|263\nRadeon HD 7xxx|262\nVideo Controller (VGA Compatible)|262\nRadeon(TM) RX 570|261\nRadeon RX 5500 XT|261\nRadeon R9 M295X|261\nFirePro W7000 (FireGL V) Graphics Adapter|260\nRadeon R9 M390|260\nRadeon HD 7870 GHz Edition|260\nRadeon R9 M390 (Bootcamp edition by bootcampdrivers.com)|260\nRadeon R9 370|259\nMetal|259\nRadeon HD 7870|259\nRadeon RX 470/570|258\nRadeon(TM) R9 370|257\nRadeon(TM) RX 460|257\nRadeon RX 560 Series|256\nRadeon R9 290|255\nRadeon(TM) RX 560 Series|255\nRadeon RX 5300M|254\nFirePro W7000|254\nRadeon R9 290X|253\n67EF:E7|253\nRadeon HD 7850|253\nRadeon(TM) RX 460 Graphics|253\nMSI Radeon RX 580|251\nRadeon R9 290/390|250\nFirePro W8100 (FireGL V)|249\nRadeon Pro WX 9100 OpenGL Engine|248\nRadeon(TM) RX 560|247\nRadeon(TM) RX 560 Series|247\nRadeon Pro Vega II Duo|247\nRadeon HD 7970M|246\nRadeon R9 290|245\nRadeon RX 5600M|245\nFirePro D300|245\nRadeon(TM) RX 5600M Series|244\nRadeon RX 590 Series|244\nRadeon R7 370 Series|244\nRadeon(TM) RX 560|243\nFirePro D300|243\nRadeon R9 390|243\nRadeon RX 470/480/570/570X/580/580X|243\nFirePro D300|243\nRadeon(TM) R7 370 Series|242\nRadeon R9 M390|241\nRadeon RX 560X Series|241\nFirePro D300|241\nRadeon RX 560|240\nRadeon R9 M290X|240\nGigabyte Vega 64 macOS Edition|239\nRadeon Pro 580|238\nRadeon Pro WX 4100|236\nRadeon Pro WX 7100 OpenGL Engine|236\nRadeon HD - FirePro D300|235\nFirePro D500|234\nRadeon Pro 580 OpenGL Engine|234\nRadeon(TM) E9260|234\nRadeon Pro WX 2100|233\nFirePro D500|232\nFirePro D500|232\nRadeon(TM) RX 6500 XT|232\nRadeon Pro 580X|231\nRadeon HD 7850|231\nRadeon Pro 575|231\nRadeon Pro Vega 64X|231\nASUS R9 270 Series|230\nRadeon Pro 450|230\nRadeon(TM) RX 560 Graphics|230\nRadeon R9 M290|229\nRadeon Pro 560X|228\nRadeon Pro 480/575|228\nPitcairn PRO Radeon HD 7850|228\nASUS Radeon RX 5700 XT|227\nRadeon HD 7870|227\nRadeon(TM) Pro WX 5100 Graphics|226\nRadeon R9 370X|225\nRadeon(TM) RX 480|224\nRadeon HD7970M|224\nFirePro S9000 (FireGL V)|223\nRadeon RX 550 640SP / RX 560/560X|222\nMSI / AMD RX 560 4G|222\nRadeon RX 570 OpenGL Engine|222\nMSI RX650|222\nRX 480|221\nMSI / AMD RX 560|221\nBaffin AMD Radeon RX 560|221\nMSI Baffin RX650|220\nRadeon Pro 5700 XT|220\nRadeon Pro 570|220\nRadeon Pro 575 OpenGL Engine|219\nAsus Radeon R9 270X|219\nRadeon RX RX 560|218\nRadeon RX 560 [Baffin]|218\nRX 460|218\nRadeon R9 370X|218\nRadeon(TM) Pro WX 4100|217\nASUS R9 390 Series|217\nRadeon Pro 5600M|217\nR9 xxx|217\nRadeon HD 7870 Series|217\nRadeon Pro RX 560|216\nR9 280X Dual-X|215\nRadeon Pro 570 OpenGL Engine|214\nRX 560|213\nRadeon Pro WX 5100|213\nFirePro D700|213\nRadeon(TM) R9 390 Series|213\nRadeon RX 480|212\nRadeon RX 560|212\nRadeon RX 5500/5500M / Pro 5500M|212\nRadeon RX 550 640SP / RX 560/560X|211\nRadeon R9 FURY / NANO Series|211\nSapphire Radeon RX 560|211\nRadeon RX 460|210\nRadeon RX550/550 Series|210\ninc. Radeon RX 480|209\nRadeon(TM) RX 550|208\nRadeon R9 M290X|206\nRadeon Pro 560 (Bootcamp XG edition by bootcampdrivers.com)|206\nRadeon RX460|206\nRadeon RX 550 Series|205\nCustom GPU 0405|204\nRadeon(TM) RX 460|204\nASUS AMD Radeon R9-990X|204\nRadeon Pro 555X|203\nRadeon RX 460/560|203\nRadeon HD 7970X/8970/R9 280X|202\nASUS Radeon RX 550 Series|201\nRadeon HD 8950|201\nFirePro D500 (FireGL V)|201\nRX 5700XT|200\nRadeon 550 Series|200\nRadeon HD 8470 + 7660D Dual Graphics|200\nRadeon HD 7990|200\nRadeon RX 560X|199\nRadeon RX Vega|199\nRadeon HD 7950 Series|198\nRadeon(TM) RX 540|197\nRadeon HD 6970|197\nRadeon HD 7970/8970 / R9 280X|197\nRadeon Navi14|197\nRadeon Pro 560|197\nRadeon RX 550|197\nRadeon R9 285|196\nRadeon Pro W5500|195\nRadeon Pro Vega 56|195\nRadeon Pro 460|195\nRadeon RX 470/480|194\nRadeon PRO Graphics|194\nRadeon(TM) RX550|194\nRadeon Pro 560X|193\nRadeon Pro 570X|192\n66AF:F1|192\nRadeon RX Vega M GH|190\nRadeon R9 M280X|190\nRadeon RX 460/560D / Pro 450/455/460/555/555X/560/560X|189\nRadeon R9 280,|188\nCustom GPU 0405|188\nRadeon HD 7790|187\nRadeon(TM) RX 480 Graphics|187\nRadeon Pro 455|186\nRadeon R9 260|186\nRadeon RX 580 Series|186\nRadeon HD 7950/8950 OEM / R9 280|186\nRadeon R9 290X|185\nRadeon R9 M290X|184\nRadeon(TM) R9 370 Series|184\nRadeon Pro 555|184\nRadeon R7 260X|184\nRadeon HD 6950|183\nFirePro W5000|183\nRadeon(TM) R9 390X|182\nR9 270X Devil|182\nRadeon(TM) RX 470 Graphics (AMD POLARIS10 / DRM 3.23.0 / 4.15.0-1-MANJARO, LLVM 5.0.0)|182\nRadeon R9 380|182\nRadeon(TM) Pro WX 9100|182\nRadeon(TM) R7 360 Series|181\nRadeon RX 570 Series|181\nRadeon(TM) R9 M470X|181\nRadeon(TM) R7 360 Series|181\nRadeon RX480|180\nRadeon R7 200 Series|180\nRadeon Pro WX 4150|180\nRadeon Pro WX 4100|179\nRadeon HD 8xxx|179\nASUS R9 295X2 Series|179\nRadeon R9 390X|178\nRadeon HD 5870|176\nRadeon Pro 560|176\nRadeon RX 580 OpenGL Engine|175\nRadeon HD 8950|175\nFirePro V(FireGL V) Graphics Adapter|175\nASUS Radeon RX 580 Series|174\nRadeon Pro WX 4100|174\nRadeon Pro 460|173\nRadeon HD 2600 XT|173\nRadeon Pro WX 4100|172\nRadeon HD 8280|172\nRadeon Pro 575|171\nRadeon Pro 555X|171\nRadeon Pro WX 4130/4150|170\nRadeon RX Vega M GH Graphics|170\nFirePro W5100|170\nRadeon(TM) PRO WX 8200|169\nRadeon Vega Frontier Edition|169\nRadeon Pro 555X|168\nFirePro D700|168\nRadeon HD 6990|167\nRadeon RX 470 OpenGL Engine|167\nRadeon HD 7870 XT|167\nRadeon RX 580|167\nRadeon Polaris|167\nFirePro V8800 (FireGL V)|166\nRadeon RX 550|165\nRadeon HD 6900 Series|165\nFirePro W9100 (FireGL V)|164\nRX 580|163\nRadeon(TM) RX 580X|163\nRadeon RX 550|163\nRadeon HD 6870|163\nRadeon R9 M395X OpenGL Engine|163\nRadeon(TM) R9 360|163\nRadeon(TM) HD 8490|162\nRadeon R9 M295X|162\nRadeon HD 7970M|162\nRadeon R9 M380|161\nFirePro W5100 (FireGL V) Graphics Adapter|161\nASUS HD7850 Series|161\nFirePro M6100 FireGL V|161\nRadeon Pro 455|160\nRadeon RX 460/560D / Pro 450/455/460/555/555X/560/560X|160\nRadeon R9 M395X|159\nRadeon RX 560X|159\nRadeon Pro 555|158\nRadeonT RX 560X|158\nRadeon Pro Vega 48|158\nASUS Radeon RX Vega|158\nRadeon Pro WX 9100|158\nRadeon Pro Vega 64|157\nPowered By QiongB A9999999999|157\nRadeon(TM) Pro Duo|157\nFirePro D700|157\nRadeon Pro WX 7100|156\nRadeon RX 460|156\nRadeon HD - FirePro D700 OpenGL Engine|156\nRadeon R9 M290X|156\nRadeon R9 M395 OpenGL Engine|155\nRadeon Pro SSG|155\nFirePro D300|155\nASUS R9 380 Series|155\nRadeon(TM) R9 Series|153\nRadeon RX 470/480/570/580|153\nFirePro W8000|153\nCezanne|153\nRadeon(TM) Graphics|153\nFirePro D300|153\nRadeon(TM) R9 Fury Series|153\nRadeon R9 M395|152\nRadeon RX 570|152\nRadeon R9 270X Series|152\nRadeon Pro 5300M|152\nR9 xxx|152\nRadeon Pro 555|152\nFirePro D500|151\nRadeon HD 5850|151\nFirePro D300|150\nRadeon(TM) R9 290X|150\n66AF:F0|149\nRadeon(TM) RX 560|149\nRadeon R9 M290|148\nRadeon Instinct MI25 MxGPU|148\nFirePro V7800 (FireGL) Graphics Adapter|148\nRadeon(TM) R9 M470|147\nAdvanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series]|147\nRadeon HD 5870 Series|147\nRadeon(TM) E9550|147\nRadeon HD 7850|147\nRadeon HD 7770|147\nRadeon Pro Vega 20|146\nRadeon R9 290/390|146\nRadeon Pro 450|146\nRadeon RX 560X Series|146\nRadeon HD 6850|146\nRadeon R9 270 1024SP|145\nASUS R9 280X Series|145\nRadeon Pro 450|145\nRadeon(TM) R9 390 Series|145\nFirePro V7900 (FireGL V)|145\nRadeon R9 370X|145\nRadeon(TM) RX 560 Series|144\nASUS R7 250X|144\nRadeon RX 480 OpenGL Engine|144\nRadeon R9 290X|144\nRadeon RX 550X|144\nRadeon(TM) RX 580|144\nASUS Radeon(TM) RX 470 Series|143\nBaffin Radeon RX 560|143\nRadeon R9 M295X (Bootcamp edition by bootcampdrivers.com)|143\nRadeon R9 M295X Mac Edition|143\nRadeon R7 Series / HD 9000 Series|142\nAdvanced Micro Devices [AMD] nee ATI Device|142\nRadeon(TM) Pro WX 7100 Graphics|142\nRadeon RX 640|142\nFirePro D500|141\nRadeon HD 7900 Series|141\nRadeon R9 290|141\nRadeon R7 250X|141\nRadeon(TM) RX Vega|140\nRadeon 630 Series|140\nFirePro W8100 Graphic Adapter|140\nRadeon R9 FURY / NANO Series|140\nRadeon R9 M390|140\nRadeon Pro WX 3100|140\nRadeon R9 290|140\nRadeon(TM) R9 370|140\nFirePro V7900|139\nRadeon HD 7970|139\nRadeon HD - FirePro D500 OpenGL Engine|139\nRadeon HD - FirePro D300 OpenGL Engine|139\nRadeon Pro 580|139\nRadeon HD 7770|139\nRadeon HD - FirePro D500 OpenGL Engine|139\nRadeon 540/540X/550/550X / RX 540X/550/550X|138\nFirePro S9050|138\nRadeon(TM) RX 480 Graphics|138\nRadeon(TM) R9 M390X|137\nRadeon Vega 64|137\nRadeon(TM) Graphics|137\nTonga PRO GL [FirePro W7100]|136\nHD7950 Martin Ver.|136\nRadeon HD 7990|135\nRadeon R9 280x|135\nRadeon RX550/550 Series|135\nHD7950 MARTIN REV.|134\nRadeon RX560|134\nRadeon R7 250X Series|134\nRadeon R9 M390 OpenGL Engine|134\nASUS R7 250X|134\nRadeon HD6870|134\nRadeon R9 270X|134\nRadeon Pro 5500 XT|134\nRadeon(TM) RX 480|133\nRadeon R9 270|133\nASUS HD7970 Series|133\nRadeon RX 540|133\nRadeon 500 Series|132\nRadeon HD 5970|132\nRadeon HD 7770 GHz Edition|132\nRadeon HD 5870|132\nRadeon 540X Series|132\nRadeon HD 6870 Series|132\nRadeon(TM) RX 470 Graphics|132\nRadeon HD - FirePro D300 OpenGL Engine|132\nRadeon HD 7xxx|131\nRadeon HD 5970|131\nRadeonT 540X|131\nRadeon R7 Graphics + R7 350 Dual Graphics|131\nRadeon R9 M295X Mac Edition / R9 380X|131\nFirepro M5100|131\nRadeon(TM) R9 M375X|131\nRadeon R9 280x|130\nRadeon(TM) RX 560X|130\nRadeon HD 6990|130\nRadeon Pro 5500M|130\nRadeon Pro WX 5100 OpenGL Engine|129\nRadeon R9 M395X (Bootcamp edition by bootcampdrivers.com)|129\nRadeon R9 M380|128\nFirePro W5170M|128\nRadeon R9 280|128\nFirePro W5000 (FireGL V)|128\nRadeon(TM) RX 5600M Series|128\nRadeon RX 560D|128\nFirePro D500 (FireGL V)|128\nRadeon(TM) Pro WX 5100 Graphics|128\nRadeon(TM) RX Vega 11 Graphics|128\nRadeon HD 7970|127\nRadeon R9 370|127\nRadeon HD 7770|127\nRadeon R9 M395X|126\nRadeon HD 7660D|126\nRadeon HD 8970|126\nRadeon R9 200 Series|126\nRadeon Pro WX 3200 Series|126\nRadeon HD 7800 Series|125\nRadeon R9 285/380|125\nRadeon R9 270X|124\nFirePro W2100|124\nFirePro W7170M|124\nRadeon HD 7870 GHz Edition|123\nRadeong 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.9.0)|123\nRadeon RX 460|123\nRadeon HD 5970 Series|123\nRadeon R9 M380|122\nRadeon R9 M395|122\nAsus Radeon R9 280|122\nRadeon HD 6850 Series|122\nRadeon(TM) RX 540|122\nRadeon HD 6900 Series|122\nDevice|122\n67DF:C4|121\nRadeon HD 6950|121\nFirePro D300 (FireGL V)|121\nRadeon RX 570|121\nRadeon HD 5850 Series|121\nRadeon HD 7870 XT|121\nRadeon HD 7950|121\nFirePro V7800 (FireGL) Graphics Adapter|121\nRadeon HD 6850|121\nRadeon HD 7950|120\nRadeon HD 7870 GHz Edition|120\nRadeon R7 370 / R9 270X/370X|120\nRadeon HD 6870|120\nRadeon Pro V340|120\nASUS Radeon RX 570 Series|119\nRadeon(TM) R7 370 Series Graphics|119\nRadeon(TM) RX 580 Graphics|119\nRadeon(TM) RX 470 Graphics|119\nRadeon HD 5870|119\nRadeon HD 7950/8950 / R9 280|119\nRadeon HD 6790|119\nRadeon(TM) RX580|119\nASUS ARES2|119\nRadeon(TM) R9 380 Series|118\nRadeon HD 7750|118\nRadeon Pro 560X|118\nRadeon R7 250E|118\nRadeon 550 Series|118\nRadeon RX 560|118\nRadeon Pro WX 5100|117\nRadeon R7 370 / R9 270X/370|117\nRadeon HD 7800 Series|117\nFirePro W5000 (FireGL V) Graphics Adapter|117\nRadeon HD 7750 Series|116\nRadeon HD 5870|116\nRadeon R7 450|115\nFirePro R5000|115\nRadeon R7 370 Series|115\nFirePro W9100|114\nRadeon R7 370 / R9 270/370|114\nRadeon(TM) 540 Graphics|114\nRadeon HD 6510 Series|114\nRadeon(TM) R7 370 Series|113\nSapphire Radeon HD6870|113\nFirepro M5100|113\nRadeon(TM) RX 550|113\nRadeon(TM) Pro Duo|113\nRadeon 540/540X/550/550X / RX 540X/550/550X|113\nRadeon Pro 570|112\nRadeon R9 280|112\nFirePro D700 (FireGL V)|112\n(ATI) FirePro M6000 (FireGL V) Mobility Pro Graphics|112\nRenoir|112\nRadeon 540X Series (POLARIS12, DRM 3.40.0, 5.10.56-1-MANJARO, LLVM 12.0.1)|112\nRadeon HD 6970|112\nRadeon HD 8770|112\nRadeon Pro WX3200 Graphics|112\nRadeon(TM) R9 270|111\nRadeon R9 270X|111\nRadeon R9 285|111\nRadeon HD 7800M Series|111\nRadeon(TM) R7 370 Series|111\nRadeon HD 7870M Series|111\nRadeon Pro 450/550|110\nRadeon HD 7000 series|110\nRadeon HD 7870|110\nRadeon Pro 555X|110\nRadeon RX590 GME|109\nFirePro S10000|109\nRadeon HD 7870M|109\nRadeon HD 5800 Series|109\nRadeon HD 6970M|108\nASUS HD7770 Series|108\nRadeon(TM) R9 M360|108\nRadeon(TM) RX 550X|107\nRadeon R9 285|107\nRadeon HD 6900M Series|107\nRadeon HD 7870 GHz Edition|107\nFirePro S7000|107\nRadeon R9 M370X|106\nRadeon Pro WX 4100|106\nRadeon HD 6800 Series|106\nRadeon HD 7750|106\nRadeon Pro 455 OpenGL Engine|106\nASUS R7 370 Series|106\nRadeon Pro 560|105\nRadeon HD 6870|105\nFirePro D300 (FireGL V)|105\nRadeon HD 6970M|105\nRadeon HD 7850|105\nRadeon(TM) R9 200 Series|104\nASUS HD7750 Series|104\nRadeon HD 6970M OpenGL Engine|104\nAsus Radeon R7 250|104\nRadeon R7 370 / R9 270X/370|104\nRadeon R9 M395X (Bootcamp XG edition by bootcampdrivers.com)|103\nRadeon(TM) RX 560|103\nRadeon RX Vega|103\nRadeon(TM) Pro W5500M|103\nRadeon R9 270|103\nRadeon Pro 560X|103\nRadeon HD 5850|103\nFirePro S7150|103\nRadeon(TM) RX 580|103\nRadeon(TM) R9 370 Series|103\nASUS Radeon(TM) RX 480 Series|102\nRadeon Graphics Processor|102\nRadeon R9 M370X|102\nFirePro W7100|102\nRadeon R9 M370X|101\nRadeon Pro 460 OpenGL Engine|101\nRadeon RX 580 Series|101\nRadeon 500 Series|100\nRadeon Pro 555|100\nRadeon(TM) Pro WX 4100|100\nAsus Radeon R7 260X|100\nRadeon(TM) RX Vega 10 Graphics|100\nRadeon HD 7790|99\nRadeon Pro 450 OpenGL Engine|99\nRadeon HD 7790/8770 / R7 360 / R9 260/360|99\nFirePro M4000 Mobility Pro Graphics|99\nRadeon HD 7970M|99\nRadeon R9 M270X|99\nRadeon RX 550|98\nRadeon HD 6850|98\nRadeon(TM) RX 460|98\nRadeon(TM) RX Vega11 Graphics|98\nRadeon(TM) RX 460 Graphics|98\nRadeon Pro 460|97\nRadeon HD 7800 Series|97\nMatrox C680 PCIe x16|97\nRadeon(TM) RX 550|97\nRadeon HD 5770|96\nRadeon HD 8670D + 7700 Dual Graphics|96\nRadeon HD 7790|96\nRadeon 630 Series|96\nRadeon RX 560 Series|96\nFirepro M6100|95\nRadeon HD 6700 Series|95\n67EF:E7|95\nRadeon(TM) Vega 10 Graphics|95\nRadeon HD 6900M Series|94\nRadeon Pro 455|94\nFirePro M4000|94\nRadeon R9 260|94\nFirePro W7000|94\nRadeon Instinct MI25|93\nRadeon HD 8870M|93\nRadeon(TM) Vega 11 Graphics|93\nRadeon Pro 450|93\nFirePro W5000|92\nRadeon HD 6770|92\nRadeon(TM) RX560|92\nRadeon(TM) Graphics|91\nASUS Radeon(TM) RX 460 Series|91\nRadeon(TM) Vega 8 Graphics|91\nRadeon(TM) Graphics|91\nFirePro W5100 Graphics Adapter|90\nRadeon(TM) Pro WX Series|90\nRenoir|90\nSTRATO XT (6646)|89\nRadeon(TM) Pro WX 4150 Graphics|89\nRadeon E8870MXM|89\nRadeon HD 8970M|89\nFirePro M6100 FireGL V|89\nRadeon HD 7770|89\nFirePro W5100 (FireGL V) Graphics Adapter|89\nRadeon HD 6970M|89\nRadeon Pro 460|88\nRadeon RX Vega 8 Graphics|88\nRadeon HD 7700 Series|88\nRadeon(TM) R9 M360|88\nASUS R7 265 Series|88\nRadeon RX Vega M GL Graphics|88\nASUS Radeon RX 550 Series|88\nRadeon R7 360 / R9 360|88\nRadeon HD 6950|86\nRadeon HD 6790|86\nRadeon Pro WX 2100|86\nASUS Radeon RX 560 Series|86\nRadeon HD 5750|86\nRadeon(TM) RX 640|86\nRadeon HD 8870M|85\nRadeon R7 260X|85\nRadeon Pro WX 7100|85\nRadeon(TM) R7 360 Series|85\nRadeon Infoshock™ RX 460 Graphics|85\nFirePro W5170M|85\nRadeon R9 M295X|85\nFirePro W8100|85\nRadeon HD 6750|85\nFirePro W5170M|85\nFirePro V5800 (FireGL) Graphics Adapter|84\nASUS R7 250X|84\n67E8:00|84\nRadeon(TM) RX 550X|84\nRadeon(TM) R7 350|84\nRadeon(TM) E9260|84\nRadeon Sky 500|84\nRadeon R9 M270X|83\nRadeon(TM) R9 350|83\nRadeon(TM) RX Vega 11 Graphics|83\nFirepro M6100|83\nRadeon R9 360|82\nFirePro V7900|82\nFirePro V5800 (FireGL V)|82\nRadeon HD 8830M|82\nRadeon Pro 450|82\nRadeon HD 8950|82\n6980:00|82\nFirePro W5100 (FireGL V)|81\nRadeon E8870|81\nRadeon HD 7750 Series|81\nRadeon HD 7850 / R7 265 / R9 270 1024SP|81\nFirePro™ W4190M|80\nRadeon HD 5770|80\nRadeon(TM) R7 360 Series|80\nFirePro M5100 FireGL V|80\nRadeon RX 470/480/580|80\nRadeon(TM) RX 460 Graphics|79\nRadeon HD 6700 Series|79\nMobility Radeon HD 5870|79\nRadeon R9 255|79\nRadeon 535 Series|79\nRadeon R9 M380 OpenGL Engine|78\nRadeon(TM) RX 550|78\nRadeon R9 M380|78\nRadeon R7 250X|78\nSaphire Radeon RX 580|78\nRadeong 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.8.0)|78\nRadeon HD 5000|78\nRadeon HD 5770|77\nRadeon RX 460|77\nFirePro W4300|77\nRadeon 530 Series|77\nRadeon(TM) 540X|77\nRadeon R9 M370X OpenGL Engine|77\nFirePro V5900 (FireGL V)|77\nRadeon Pro WX 4100|77\nSAPPHIRE HD 5770|77\nRadeon Pro WX 3100|76\nFirePro W5100|76\nRadeon(TM) Pro Graphics|76\nRadeon Pro WX 3100|76\n67FF:C8|76\nRadeon(TM) HD8970M|76\nFirepro M5100|76\nRadeon(TM) R9 M375X|75\nRadeon 550X Series|75\nRadeon R9 M390|75\nRadeon(TM) Vega 9 Graphics|75\nFirePro V5900 (FireGL V) Graphics Adapter|74\nRadeon HD 8570|74\nRadeon(TM) RX 475M|74\nRadeon HD 6770|74\nRadeon RX 550 Series|74\nRadeon RX 550|74\nFirePro M4000|74\nRadeon RX 460/560D / Pro 450/455/460/560|74\nRadeon Pro 560|74\nRadeon Vega Series / Radeon Vega Mobile Series|74\nRadeon Pro 455|74\nRadeon HD 7870M Series|74\nRadeon(TM) R7 430|74\nRadeon 620 Series|73\nRadeon HD 7770 GHz Edition|73\nRadeon HD 7770|73\nRadeon(TM) R9 360 Series|73\nRadeon HD 7770/8760 / R7 250X|73\nRadeon(TM) 530|73\n15DD Graphics|73\nRadeon RX Vega M GL Graphics|73\nRadeon(TM) R9 380|72\nRadeon(TM) 530 series|72\nRadeon R7 200 Series|72\nEmbedded Radeon E9171|72\nRadeon Pro WX3200 Graphics|71\nRadeon HD 8800M Series|71\nRadeon R9 M375|70\nRadeon HD 5770|70\nRadeon Pro 555|70\nRadeon R7 250E|70\nRadeon HD 7750|70\nRadeon Pro 555X|70\nRadeon(TM) Vega 8 Mobile Graphics|70\nRadeon(TM) R9 M380|69\nRadeon R7 260X/360|69\nBarco MXRT 7600 (WDDM)|69\nRadeon(TM) Vega 10 Graphics|69\nRadeon HD 7750|69\nRadeon R9 M370X|69\nRadeon(TM) R2E Graphics|69\nRadeon R9™ M370X|68\nFirePro V4900 (FireGL V)|68\nRadeon(TM) RX Vega11 Graphics|68\nRadeon HD 5770|68\nRadeon(TM) Renoir Graphics D1|68\nRadeon HD 7600 Series|67\nRadeon R5 340|67\nRadeon(TM) Vega 9 Graphics|67\nFirePro W4100 (FireGL V) Graphics Adapter|67\n694E:C0|67\n694C:C0|67\nRadeon R7 250|66\nRadeon HD 6750|66\nRAVEN (DRM 3.36.0, 5.6.5-AMD, LLVM 9.0.1)|66\nFirePro W600|66\nRadeon R9 255|66\nRadeon RX 470|66\nRadeon(TM) R7 250|66\nFirePro V5900|65\nRadeon(TM) 530|65\nRadeon Pro WX Vega M GL Graphics|65\nRadeon RX 470/480|65\nRadeon HD 5750|65\nRadeon R7 260X|65\nFirePro V5900 (FireGL V) Graphics Adapter|65\nFirePro W4100 Graphics Adapter|65\nRadeon HD 6700 Green Edition|65\nRadeon R9 M370X|65\nRadeon(TM) R7 350X|64\nRadeon(TM) R7 350X|64\nRadeon HD 7670|64\nRadeon R9 M200X Series|64\nRadeon R9 M370X|64\nRadeon HD 6670|63\nRadeon(TM) HD 8350|63\nRadeon 530X Series|63\nRadeon(TM) R9 360|63\nRadeon(TM) Pro WX 4150 Graphics|63\n67EF:C5|63\nRadeon R7 Graphics + R5 340 Dual Graphics|62\nRadeon HD 5670|62\nRadeon RX 470/570|62\nRadeon 530 Series|62\nRadeon R7 250 Series|62\nRadeon R7 430|62\nRadeon HD 6750 Graphics|62\nRadeon(TM) R9 M385X|62\nRadeon(TM) Vega 10 Mobile Graphics|62\nFirePro V5900 (FireGL V)|61\nFirePro V5800 (FireGL V)|61\nRadeon(TM) Vega 8 Graphics|61\nFirePro V4800 (FireGL V)|61\nRadeon HD 7600 Series|61\nRadeon(TM) Vega 6 Graphics|61\nRadeon(TM) R9 200 Series|61\nRadeon HD 8850M|61\nRadeon RX460|61\nRadeon R7 M460|61\nRadeon RX 640 Series|60\nRadeon 530|60\nRadeon HD 5600/5700|60\nRadeon HD 5750 Series|60\nRadeon R7 Graphics + R7 200 Dual Graphics|60\nRadeon R7 450|60\nFirePro V4900|60\nFirepro W6150M|60\nASUS R7 250 Series|60\nRadeon(TM) RX 560 Graphics|60\nRadeon(TM) R7 M370|59\nFirePro M4000 Mobility Pro Graphics|59\nRadeon R5 430|59\nRadeon R9 M275X|59\nFirePro V5800 (FireGL) Graphics Adapter|59\nMobility Radeon HD 5870|59\nRadeon(TM) R9 M385X|58\nRadeon HD 7750M|58\nRadeon HD 5670|58\nRadeon HD 8850M|58\nRadeon HD 7700M Series|58\nRadeon HD 8670D + R7 200 Dual Graphics|58\nRadeon R7 Series / HD 9000 Series|57\nRadeon HD 6730M/6770M|57\nRadeon(TM) 625|57\nRadeon(TM) R9 M385|57\nRadeon HD 5870M|56\nRadeon 610 Series|56\nFirePro W4100|56\nFirePro M6000 Mobility Pro Graphics|56\nRadeon RX 540 Series|56\nRadeon R7 240|56\nRadeon HD 7560D + HD 7700 Dual Graphics|56\nRadeon R9 M370X (Bootcamp XG edition by bootcampdrivers.com)|56\nFirePro V4900 (ATI FireGL)|55\nRadeon(TM) R7 M350|55\nFirePro M6000 Mobility Pro Graphics|55\n67FF:08|55\nRadeon HD 5750|55\nRadeon HD 7570|55\nRadeon(TM) Vega 11 Graphics|55\nRadeon R7 M460|55\nRadeon HD 5750 OpenGL Engine|55\nRadeon(TM) R7 M370|55\nRadeon HD 6730M/6770M/7690M XT|55\nRadeon E8860|55\nRadeon HD 8790M|54\nRadeon HD 6770M|54\nRadeon R7 M440|54\nRadeon(TM) R7 350|54\nRadeon(TM) R7 350X|54\nRadeon HD 7870 XT|54\nRadeon HD 7800M Series|54\nRadeon 520|54\nRadeon R7 M370|53\nFirePro W4150M FireGL V|53\n(ATI) FirePro M4000 (FireGL V) Mobility Pro Graphics|53\nRadeon R9 M200X Series|53\nRadeon HD 6700M/7700M/7900M Series|53\nRadeon(TM) 620|53\nPicasso|53\nRadeon(TM) RX Vega 10 Graphics|53\n67EF:CF|53\nRadeon(TM) Vega 3 Graphics|53\nRadeon R7 250|53\nFirePro W4190M|53\nRadeon(TM) Vega 8 Graphics|53\n694C:C0|52\nRadeon HD 5670 Series|52\nRadeon(TM) RX Vega 11 Graphics|52\nRadeon HD 6770M OpenGL Engine|52\nRadeon(TM) M535DX|52\nFirePro V4800 (FireGL V)|52\nRadeon R7 350 Series|52\nBarco MXRT 5600 (WDDM)|51\nRadeon 630|51\nFirePro V4900 (FireGL V)|51\nFirePro V4900 (FireGL V) Graphics Adapter|51\nRadeon(TM) Vega 3 Mobile Graphics|51\nRadeon 535 Series|51\nRadeon R7 Graphics|51\nRadeon HD 5670|51\nFirePro W4170M|50\nRadeon HD 8700M Series|50\nRadeon HD 8670 / R7 250/350|50\nPicasso|50\nFirePro V4800 (FireGL) Graphics Adapter|50\nMobility Radeon HD 5850|49\nOPAL XT/GL (6604)|49\nRadeon R5 M335|49\nMatrox C900 PCIe x16|49\nRadeon HD 7670|49\nRadeon HD 6750M|49\nRadeon(TM) 535|49\nRadeon 540X Series|49\nRadeon R9 M275|49\nRadeon(TM) RX 640|49\nRadeon HD 5700 Series|48\nRadeon R5 M230 Series|48\nFirepro M6100|48\nRadeon(TM) R9 M375|48\nRadeon R5 430|48\nRadeon(TM) R7 250|47\nRadeon R9 M265X|47\nRadeon HD 6730M/6770M|47\nRadeon HD 8670D|47\nRadeon R5 340|47\nRadeon 520|47\nRadeon(TM) 520|47\nFirePro V (FireGL V) Graphics Adapter|47\nFirePro M5100 FireGL V|46\nRadeon HD 6670|46\nRadeon R7 M260X|46\nRadeon HD 8550|46\nFirePro M4150|46\nRadeon HD 6670|46\nRadeon HD 7700 Series|46\nFirePro M4170|46\nRadeon HD 7570|46\nRadeon HD 8670D + HD 6670 Dual Graphics|45\n699F:C1|45\nRadeon R7 Graphics|45\nRadeon(TM) R7 M340|45\nFirePro W4170M (FireGL V)|45\nRadeon(TM) HD 8500M/8700M|45\nRadeon R7 M340|44\nFirePro M5950|44\nRadeon HD 8570D + R7 240 Dual Graphics|44\nRadeon HD 6770M|44\nRadeon HD 7730M|44\nRadeon HD 8790M|44\nRadeon HD 7750|44\nRadeon HD 8690A|44\nMobility Radeon HD 5730 / 6570M|44\nRadeon R9 A375|44\nRadeon(TM) R8 M445DX|43\nFirePro V (FireGL V) Graphics Adapter|43\nRadeon HD 7750/8740 / R7 250E|43\nFirePro V3900|43\nRadeon HD 7600A Series|43\nRadeon(TM) R7 200 Series Graphics|43\nRadeon R7 Graphics|43\nRadeon HD 6770M|43\nRadeon R7 M260 Series|43\nRadeon R7 M360|43\nRadeon HD 8970M|43\nRadeon(TM) Vega 6 Graphics|43\nRadeon HD 8570|42\nRadeon R7 M440|42\nRadeon HD 8670A/8670M/8750M|42\nMobility Radeon HD 5850|42\nRadeon HD 8750M|42\nEmbedded Radeon E9173|42\nRadeon(TM) R7 M440|42\nRadeon HD 8730M|42\nRadeon R7 240 + HD 8570D Dual Graphics|42\nFirePro V3900|42\nRadeon(TM) 535DX|42\nRadeon(TM) 520|42\nRadeon(TM) Vega 8 Mobile Graphics|42\nRadeon(TM) Vega 8 Graphics|42\nRadeon(TM) Vega 2 Graphics|42\nRadeon(TM) R9 M375|42\nRadeon(TM) R8 M445DX|41\nRadeon HD 6750M|41\nRadeonT 540X|41\nRadeon(TM) 530|41\nRadeon HD 7560D + HD 6670 Dual Graphics|41\nRadeon R7 240|41\nRadeon(TM) R7 M360|41\nRadeon R9 M280X|41\nRadeon HD 7520G + HD 7600M Dual Graphics|41\nRadeon(TM) R7 M445|41\nRadeon Vega 8 Mobile|40\nRadeon(TM) R9 255|40\nRadeon R7 M260X|40\nRadeon R8 M535DX|40\nRadeon R7 240/340|40\nRadeon(TM) R9 M375|40\nRadeon(TM) R7 Graphics|40\nRadeon(TM) R5 M420|40\nRadeon HD 6750M|40\nRadeon R9 M265X|40\nRadeon R7 M340|40\nRadeon HD 6570|40\nRadeon HD 7500/7600 Series|39\nRadeon R7 430|39\nFirePro W2100|39\nRadeon HD 7730M|39\nRadeon HD 8670D|39\nRadeon R5 M255|39\nRadeon HD 7560D + HD 6570 Dual Graphics|39\nRadeon RX Vega|39\nRadeon R7 240 Series|39\nRadeon(TM) R7 M445|39\nRadeon HD 6800M Series|39\nRadeon HD 8690M|39\nRadeon HD 7660D + HD 6570 Dual Graphics|39\nRadeon R7 M370|39\nRadeon(TM) HD 6650M|38\nRadeon R5 M435|38\nRadeon HD 6500 Series|38\nRadeon R7 Graphics|38\nFirePro M7820|38\nRadeon(TM) R8 M445DX Graphics|38\nRadeon HD 5570|38\nRadeon HD 8650G + 8750M Dual Graphics|38\nRadeon HD 8670A/8670M/8750M|38\nRadeon HD 6650M|38\nRadeon R7 M260 Series|38\nRadeon HD 7660G + 7600M Dual Graphics|38\nRadeon HD 7600M Series|38\nRadeon HD 7670M|37\nRadeon. HD 7670M|37\nRadeon(TM) R7 M265|37\nMobility Radeon HD 5000|37\nRadeon HD 7500M/7600M Series|37\nRadeon R5/R6/R7 Graphics|37\nRadeon R7 M270|37\nRadeon HD 8650G + HD 7600M Dual Graphics|37\nFirepro M5100|37\nRadeon HD 7730M|37\nRadeon HD 8570D|37\nRadeon(TM) HD 7650A Graphics|37\nRadeon R7 Graphics|37\nRadeon(TM) RX Vega 10 Graphics|37\nRadeon HD 7600A Series|36\nRadeon R7 M270|36\nRadeon HD 7660D + HD 6670 Dual Graphics|36\nRadeon HD 7570M/HD 7670M Graphics|36\nRadeon 6600M and 6700M Series|36\nRadeon R7 Graphics + R7 200 Dual Graphics|36\nRadeon HD 7570 Series|36\nRadeon HD 8750M|36\nRadeon HD 6550D|36\nFirePro M5950|36\nRadeon HD 7660G + 7600M Dual Graphics|36\nRadeon HD 6550D|36\nRadeon HD 7600M/7700M Series|36\nRadeon(TM) Vega 3 Graphics|36\nRadeon(TM) 625|36\nMobility Radeon HD 5570|36\nRadeon HD8730|36\nRadeon(TM) R9 M380|36\nRadeon(TM) R5 240|36\nRadeon HD 7650M|35\nRadeon HD 7560D|35\nRadeon HD 8690M|35\nRadeon HD 8650G + 8750M Dual Graphics|35\nRadeon HD 8650G + HD 8750M Dual Graphics|35\nRadeon HD 8650G + HD 8570M Dual Graphics|35\nRadeon HD 6570|35\nRadeon HD 7650M|35\nRadeon HD 6630M/6650M/6750M/7670M/7690M|35\nRadeon HD 6500 Series|35\nRadeon(TM) 520|35\nRadeon HD 8570D|35\nRadeon HD 7600M Series|35\nRadeon R7 Graphics|35\nRadeon HD 7660G + 8670M Dual Graphics|35\nRadeon R7 200 Series|35\nRadeon HD 6630M/6650M/6750M/7670M/7690M|35\nRadeon R7 M265|35\nRadeon HD 8650G + HD 8750M Dual Graphics|35\nRadeon HD 8650G + 8670M Dual Graphics|35\nRadeon R7 Graphics|34\nRadeon HD 6630M Series|34\nRadeon(TM) 520|34\nRadeon HD 7660D|34\nASUS R7 240 Series|34\nRadeon R9 M280X|34\nRadeon(TM) R5 340|34\nRadeon HD 8550G + 8600/8700M Dual Graphics|34\nRadeon R7 Graphics|34\nRadeon(TM) HD 8500M/8700M|34\nRadeon HD 7660G + HD 7600M Dual Graphics|34\nRadeon HD 7670M|34\nRadeon(TM) R5 M430|34\nRadeon HD 8650G + 8500M Dual Graphics|34\nRadeon(TM) R5 340X|34\nRadeon(TM) R5 230 series|34\nRadeon HD 8550|34\nFirePro W2100 (FireGL V)|34\nFirepro M4100 FireGL V|34\nRadeon HD 6550D|34\nRadeon HD 6630M|34\nRadeon(TM) R9 M375|34\nRadeon HD 5670 OpenGL Engine|33\nRadeon HD 5670|33\nRadeon R7 Graphics|33\nRadeon HD 7660G|33\nRadeon HD 5570|33\nRadeon HD 7550M/7650M Graphics|33\nRadeon HD 7660D|33\nRadeon HD 7560D|33\nRadeon HD 7560D|33\nRadeon R5 M445 Series|33\nRadeon R5 M315|33\nRadeon HD 8570D|33\nRadeon R7 M265|33\nRadeon HD 7640G + HD 7500/7600 Dual Graphics|33\nRadeon R7 Graphics|33\nRadeon HD 8500M Series|33\nMobility Radeon HD 5000|33\nRadeon(TM) R7 M360|33\nFirepro M4100|33\nRadeon(TM) Vega 10 Graphics|32\nRadeon HD 7500M/7600M Series|32\nRadeon HD 8550G + HD 8600/8700M Dual Graphics|32\nRadeon HD 7660G|32\nRadeon HD 7350|32\nRadeon HD 8470D + HD 6450 Dual Graphics|32\nRadeon R7 Graphics|32\nRadeon HD 8730M|32\nRadeon HD 7640G + HD 7400M Dual Graphics|32\nRadeon HD 8690A|32\nRadeon HD 8650G + 8600/8700M Dual Graphics|32\nRadeon R7|32\nRadeon(TM) Vega 11 Graphics|32\nRadeon(TM) Vega 8 Graphics|32\nRadeon R5 M200 Series|32\nRadeon(TM) R5 M335|32\nRadeon(TM) R5 M430|32\nRadeon HD 8550G + HD 8570M Dual Graphics|32\nRadeon HD 7650M Series|32\nRadeon R7 250 Series|32\nRadeon(TM) R7 M460|32\nRadeon HD 6550D|32\nRadeon HD 7660G + HD 7600M Dual Graphics|32\nRadeon(TM) Vega 3 Graphics|32\nRadeon HD 8470D|32\nRadeon R8 M365DX|31\nMadison [Mobility Radeon HD 5650/5750 / 6530M/6550M]|31\nRadeon HD 6630M/6650M/6750M/7670M/7690M|31\nRadeon R7 Graphics|31\nRadeon E6760|31\nRadeon R7 Graphics|31\nRadeon(TM) Vega 8 Graphics|31\nRadeon(TM) R5 M330|31\nRadeon HD 8670A/8670M/8690M|31\nRadeon R7 A360|31\nRadeon HD 8650G + HD 8600M Dual Graphics|31\nRadeon R5 M200 / HD 8500M Series|31\nRadeon(TM) R8 M435DX|30\nRadeon HD 7640G + HD 7670M Dual Graphics|30\nRadeon(TM) Vega 10 Mobile Graphics|30\nRadeon R7 Graphics|30\nRadeon Pro 450/550|30\nRadeon HD 8800M Series|30\nRadeon HD 8470D|30\nRadeon HD 7660D|30\nRadeon HD 8610G + HD 8600M Dual Graphics|30\nRadeon HD 7660G + 7670M Dual Graphics|30\nRadeon(TM) Vega 8 Mobile Graphics|30\nRadeon 610 Series|30\nRadeon(TM) R5 M330|30\nRadeon HD 7660G|30\nRadeon HD 7640G|30\nRadeon R8 M365DX|30\nRadeon HD 8550G|29\nRadeon HD 7540D|29\nRadeon HD 7640G|29\nRadeon HD 8650G|29\nRadeon(TM) R7 Graphics|29\nRadeon(TM) RX Vega 11 Graphics|29\nRadeon HD 6650M|29\nRadeon HD 7660G|29\nRadeon 6600M and 6700M Series|29\nRadeon HD 7640G + HD 7400M Dual Graphics|29\nRadeon(TM) R5 340X|29\nRadeon R5 435|29\nRadeon HD 6500M/5600/5700 Series|29\nFirepro M4100 FireGL V|29\nRadeon R7 Graphics|29\nRadeon(TM) 535|29\nRadeon R7 240 Series|29\nRadeon(TM) R7|29\nRadeon HD 8550G + 8500M Dual Graphics|28\nRadeon(TM) 530|28\nRadeon HD 5650 Series|28\nRadeon HD 7570M|28\nRadeon HD 7570M|28\nASUS R7 240 Series|28\nRadeon HD 6570|28\nRadeon(TM) Vega 8 Graphics|28\nRadeon E8860|28\nRadeon(TM) 530 series|28\nRadeon(TM) R5 M315|28\nRadeon HD 5500 Series|28\nRadeon HD 8610G + HD 8670M Dual Graphics|28\nRadeon(TM) R6|28\nRadeon R9 M275X|28\nRadeon HD 8550G + R5 M230 Dual Graphics|28\nRadeon HD 8470D|28\nRadeon HD 8670D|28\nRadeon HD 7620G|28\nRadeon(TM) R8 M350DX|28\nRadeon HD 8470D|27\nRadeon(TM) R8 M445DX|27\nRadeon(TM) R7 Graphics|27\nRadeon(TM) R5 Graphics|27\nRadeon(TM) R7 M340|27\nRadeon(TM) R6 Graphics|27\nRadeon R6 Graphics|27\nRadeon R5 M230 Series|27\nRadeon HD 8650G|27\nRadeon HD 7480D|27\nRadeon(TM) R8 M445DX Graphics|27\nRadeon(TM) R6 Graphics|27\nRadeon R7 Graphics|27\nRadeon R6|27\nRadeon R5 M255|27\nRadeon(TM) Vega 3 Graphics|27\nRadeon 550X|27\nRadeon(TM) Vega 3 Graphics|27\nRadeon HD 7500/7600 Series|27\nRadeon HD 8650G|27\nRadeon HD 5500 Series|27\nRadeon HD 7610M|27\nRadeon Instinct MI25 MxGPU|27\nRadeon(TM) HD8530M|27\nRadeon R7 M260|27\nRadeon(TM) R8 M445DX|27\nRadeon R7 Graphics|26\nRadeon HD 8500M|26\nRadeon(TM) R7 M260DX|26\nRadeon HD 8410G|26\nRadeon HD 8670A/8670M/8690M|26\nRadeon(TM) R7 M360|26\nRadeon(TM) R7 M360|26\nRadeon HD 8670D|26\nRadeon R9 M275|26\nRadeon HD 7640G|26\nRadeon(TM) R7 Graphics|26\nMxGPU|26\nRadeon HD 8370D|26\nRadeon HD 6620G|25\nRadeon HD 7560D|25\nRadeon HD 8570 / R5 430 / R7 240/340 / Radeon 520|25\nRadeon R4 Graphics|25\nRadeon R6 Graphics|25\nRadeon R7 Graphics|25\nRadeon(TM) 535DX|25\nRadeon(TM) 540 Graphics|25\nRadeon(TM) R5 M330|25\nRadeon HD 6530D|25\nRadeon R6 Graphics|25\nRadeon HD 8510G|25\nRadeon HD 6620G|25\nRadeon R7 M360|24\nRadeon(TM) R6 Graphics|24\nRadeon R7 M260|24\nRadeon HD 8610G + HD 8600M Dual Graphics|24\nRadeon(TM) R6 Graphics|24\nRadeon R5 M200 / HD 8500M Series|24\nRadeon R7 Graphics|24\nRadeon HD 7600G|24\nRadeon R7 Graphics|24\nRadeon HD 6620G|24\nRadeon R5 M330|24\nRadeon(TM) R5 240|24\nRadeon(TM) HD 6620G|24\nFirePro V3800 (FireGL V)|24\nRadeon HD 6520G|24\nRadeon R7 Graphics|24\nRadeon HD 7520G|24\nRadeon(TM) R6 Graphics|24\nRadeon(TM) R7 M260|24\nRadeon RX 540 Series|24\nRadeon(TM) R5 M320|24\nRadeon HD 8500M|23\nRadeon R5 M230|23\nRadeon HD 8670M|23\nRadeon HD 8550G + HD 8750M Dual Graphics|23\nRadeon HD 8600M Series (HAINAN, DRM 3.40.0, 5.11.13-arch1-1, LLVM 11.1.0)|23\nRadeon HD 8550G|23\nRadeon R5 M240|23\nRadeon R5 M240 Series|23\nRadeon HD 7540D|23\nRadeon(TM) R5 M430|23\nRadeon R5 Graphics|23\nRadeon(TM) R5 M430|23\nRadeon R6 Graphics|23\nRadeon HD 7520G|23\nRadeon R7 Graphics|23\nRadeon HD 8610G|22\nFirePro 3800 (FireGL) Graphics Adapter|22\nRadeon HD 7570M/HD 7670M Graphics|22\nRadeon HD 7480D|22\nRadeon(TM) R7 Graphics|22\nRadeon HD 8650G + HD 8600M Dual Graphics|22\nRadeon(TM) Vega 6 Graphics|22\nRadeon R7 Graphics|22\nRadeon R5 Graphics|22\nRadeon HD 7660G + HD 8600M Dual Graphics|22\nFirePro M2000|22\nRadeon R7 Graphics|22\nRadeon HD 7870M|22\nRadeon R5 M335|22\nRadeon R5|22\nRadeon HD 8500M Series|22\nRadeon(TM) HD 8490|22\nRadeon HD 8670M|22\nRadeon HD 7660G + HD 7670M Dual Graphics|22\nRadeon 7500M/7600M Series|22\nRadeon R5 Graphics|21\nRadeon(TM) R4 Graphics|21\nRadeon HD 8490|21\nRadeon HD 8490|21\nRadeon R7 Graphics|21\nRadeon HD 8570M|21\nRadeon(TM) R5 M320|21\nRadeon R2|21\nRadeon HD 6530D|21\nRadeon(TM) HD 6470M|21\nMxGPU|21\nRadeon HD 7000 series|21\nRadeon HD 7470|21\nRadeon(TM) R8 M350DX|21\nRadeon R7 Graphics|21\nRadeon HD 7520G + HD 7400M Dual Graphics|21\nRadeon(TM) R5 M335|21\nRadeon HD 7400G|21\nRadeon HD 7640G + HD 8500M Dual Graphics|21\nRadeon HD 7000 series|21\nRadeon(TM) R5 Graphics|20\nRadeon(TM) R7 M520 (R17M-M1-30)|20\nRadeon HD 8470|20\nRadeon HD 7480D|20\nRadeon HD 6400M/7400M Series|20\nRadeon(TM) R3 Graphics|20\nRadeon R6 M255DX|20\nRadeon HD 8370D|20\nRadeon R5 Graphics|20\nRadeon R7 Graphics|20\nRadeon HD 6410D|20\nRadeon(TM) R5 Graphics|20\nRadeon R5 M330|20\nRadeon R7 M260DX|20\nRadeon(TM) R5 Graphics|20\nRadeon HD 7480D|20\nRadeon HD 6470M|20\nRadeon Hybrid (Blocked)|20\nRadeon(TM) R7 Graphics|20\nRadeon(TM) R6 M340DX|20\nRadeon R5 235|20\nRadeon HD 7520G|19\nRadeon(TM) R6 M255DX|19\nRadeon R5 M240|19\nRadeon(TM) R3 Graphics|19\nRadeon R7E Graphics|19\nRadeon R5 M200 Series|19\nRadeon HD 7470|19\nRadeon HD 7640G + 8500M Dual Graphics|19\nRadeon(TM) R5 M330|19\nRadeon HD 6470M|19\nRadeon R3 Graphics|19\nRadeon HD 8400E|19\nRadeon HD 7640G + HD 8570M Dual Graphics|19\nRadeon HD 8400|19\nRadeon HD 8400 / R3 Series|19\nRadeon R5 Graphics|19\nRadeon(TM) R7 M265|19\nRadeon R5 M230|19\nRadeon R5 Graphics|19\nRadeon HD 7620G|19\nRadeon R5 Graphics|19\nRadeon(TM) HD 6470M|19\nRadeon HD 7480D|18\nRadeon R7 Graphics|18\nRadeon(TM) R5 Graphics|18\nRadeon HD 8550G|18\nRadeon HD 8370D|18\nRadeon R5 Graphics|18\nRadeon(TM) HD 7450|18\nRadeon HD 6530D|18\nRadeon HD 8570M|18\nRadeon R6 Graphics|18\nRadeon HD 7650A|18\nRadeon HD 8450G|18\nRadeon HD 8550G + R5 M230 Dual Graphics|18\nRadeon HD 7640G + 7470M Dual Graphics|18\nRadeon HD 8370D|18\nRadeon HD 7400M Series|18\nRadeon HD 8670D + R5 200 Dual Graphics|17\nRadeon HD 7500G|17\nRadeon HD 7790|17\nRadeon HD 7450M|17\nRadeon(TM) HD 7450A Graphics|17\nRadeon(TM) R5 Graphics|17\nRadeon(TM) R6 Graphics|17\nRadeon(TM) R4 Graphics|17\nRadeon HD 8650G + HD 8500M Dual Graphics|17\nRadeon HD 7400M Series|17\nRadeon HD 8450G|17\nRadeon HD 6520G|17\nRadeon HD 8470D|17\nRadeon(TM) R5 Graphics|17\nRadeon(TM) R4E Graphics|17\nRadeon HD 8330|17\nRadeon HD 8400|17\nRadeon(TM) HD 8510G|17\nRadeon(TM) R5 Graphics|17\nRadeon HD 8650G|17\nRadeon HD 6490M|17\nRadeon R7 Graphics|16\nRadeon HD 6400 Series|16\nRadeon HD 8510G|16\nRadeon HD 7400 Series|16\nRadeon HD 7400 Series|16\nRadeon(TM) HD 8510G|16\nRadeon HD 6370D|16\nRadeon HD 7420G|16\nRadeon HD 7520G + HD 7600M Dual Graphics|16\nRadeon R9 260|16\nRadeon HD 7640G + 7600M Dual Graphics|16\nRadeon HD 7470M|16\nRadeon(TM) R2 Graphics|16\nRADEON HD 6450|16\nRadeon(TM) R1E Graphics|16\nRadeon R5 Graphics|16\nRadeon HD 7420G|16\nRadeon(TM) R4 Graphics|16\nRadeon(TM) R4 Graphics|16\nRadeon(TM) R4 Graphics|16\nRadeon HD 7480D|16\nRadeon HD 6490M|15\nRADEON HD 6450|15\nRadeon(TM) HD 8610G|15\nRadeon(TM) HD 8610G|15\nRadeon HD 8610G + 8600M Dual Graphics|15\nRadeon HD 7350|15\nRadeon(TM) HD 6480G|15\nRadeon HD 8650G + 8600M Dual Graphics|15\nRadeon HD 8570D|15\nRadeon HD 6370M|15\nMobility Radeon HD 5000 Series|15\nRadeon R2 Graphics|15\nRadeon HD 8240 / R3 Series|15\nRadeon HD 8650G + R5 M200 Dual Graphics|15\nRadeon HD 8400E|15\nRadeon(TM) R4 Graphics|15\nRadeon R5 Graphics|15\nRadeon HD 8610G|15\nRadeon HD 8650G + HD 8500M Dual Graphics|15\nRadeon(TM) R7 M260|15\nASUS EAH6450 Series|15\nRadeon R3 Graphics|15\nRadeon(TM) R6 M340DX|15\nRadeon R6E Graphics|15\nRadeon R5 Graphics|15\nRadeon R2 Series|14\nRadeon HD 6450/7450/8450/R5 230|14\nRadeon HD 8200 / R3 Series|14\nRadeon(TM) R3 Graphics|14\nRadeon R5 230|14\nRadeon(TM) HD 8510G|14\nRadeon(TM) R4 Graphics|14\nRadeon R5 M435|14\nRadeon HD 8240|14\nASUS R5 230 Series|14\nFirePro M2000|14\nRadeon HD 7500G|14\nRadeon HD 7450|14\nRADEON HD 6450|14\nRadeon HD 8400E|14\nRADEON HD 6350|14\nRadeon HD 6480G|14\nRadeon(TM) R5E Graphics|14\nCARRIZO 9874|14\nMobility Radeon HD 5000 Series|14\nRadeon HD 6630M|14\nRadeon HD 6370M|14\nRadeon HD 8400 / R3 Series|14\nRadeon(TM) R2 Graphics|14\nASUS EAH6450 Series|14\nRadeon HD 7470M|13\nMobility Radeon HD 5470|13\nMobility Radeon HD 5400 Series|13\nRadeon(TM) R5E Graphics|13\nRadeon(TM) R2 Graphics|13\nRadeon HD 6540|13\nRadeon HD 7450|13\nRadeon HD 5450|13\nRadeon HD 8600M Series|13\nRadeon HD 8400 / R3 Series|13\nKaveri|13\nRadeon(TM) HD 6480G|13\nRadeon HD 5400 Series|13\nRadeon HD 8330|13\nRADEON HD 6350|13\nRadeon R4/R5 Graphics|13\nRadeon HD 7600G +™ HD Dual Graphics|13\nRadeon R3 Graphics|13\nASUS R5 230 Series|13\nRadeon(TM) R7 Graphics|13\nRadeon HD 7620G|13\nRadeon HD 8250|13\nRadeon(TM) R7 Graphics|12\nRadeon HD 6450/7450/8450 / R5 230|12\nRadeon HD 6480G|12\nRadeon(TM) R7 Graphics|12\nRadeon HD 5450 Series|12\nRadeon HD 8400 / R3 Series|12\nRadeon(TM) HD 6400 Series|12\nRadeon(TM) R4 Graphics|12\nRADEON HD5450|12\nRadeon R5 Graphics|12\nRadeon R5 Graphics|12\nRadeon(TM) R6 Graphics|12\nRadeon(TM) R4 Graphics|12\nRadeon(TM) R2 Graphics|12\nRadeon HD 8210|12\nRadeon R5 230|12\nRadeon R3 Graphics|12\nFirePro 2270|12\nRadeon(TM) R2E Graphics|12\nRadeon HD 8400 / R3 Series|12\nRadeon HD 8350G|12\nRadeon HD 8400|12\nRadeon R2 Graphics|12\nRadeon HD 8210 Graphics|12\nRadeon E6460|12\nRadeon(TM) HD 8280E|12\nRadeon R2 Graphics|11\nRadeon HD 8450G + HD 8750M Dual Graphics|11\nRadeon HD 8330|11\nRadeon HD 5470|11\nRadeon HD 7600G + 7500M/7600M Dual Graphics|11\nRadeon R5 220|11\nRadeon HD 8200 / R3 Series|11\nRadeon HD 8240|11\nRadeon HD 8400 / R3 Series|11\nRadeon HD 8200 / R3 Series|11\nRadeon HD 5450|11\nRadeon(TM) 620|11\nRadeon(TM) Vega 8 Mobile Graphics|11\nRadeon HD 6530D|11\nRadeon(TM) HD 6520G|11\nRadeon HD 6300M Series|11\nASUS EAH5450|11\nRadeon R5 220|11\nRadeon HD 8250|11\nRadeon HD 7340|11\nRadeon HD 7340M|11\nRadeon HD 8210|11\nRadeon HD 7700 Series|10\nRadeon HD 6380G|10\nRadeon HD 5400 Series|10\nRadeon HD 8240|10\nRadeon HD 7640G + 7670M Dual Graphics|10\nRadeon(TM) R6 Graphics|10\nASUS EAH5450 Series|10\nRadeon HD 6320|10\nRadeon HD 7340G|10\nRadeon HD 6410D|10\nRadeon HD 7340|10\nRadeon HD 6320|10\nRadeon(TM) R2 Graphics|10\nRadeon HD 8180|9\nMobility Radeon HD 5430|9\nRadeon R2 Graphics|9\nRadeon R2 Series|9\nRadeon HD 8210|9\nFirePro 2270|9\nRadeon R2E Graphics|9\nRadeon HD 7340|9\nRadeon HD 6320|9\nRadeon HD 7310|9\nRadeon HD 6310|9\nRadeon R7 Graphics|9\nRadeon HD 7310|8\nRadeon HD 8250|8\nRadeon HD 8180|8\nRadeon HD 6630M|8\nRadeon HD 6230|8\nRadeon HD 6320|8\nRadeon HD 6400M Series|8\nRadeon HD 7290 Graphics|7\nRadeon HD 6290|7\nRadeon HD 6310|7\nRadeon HD 8180|7\nASUS EAH5450 Series|7\nRadeon(TM) R2 Graphics|6\nRadeon HD 6310|6\nRadeon HD 7500G|6\nRadeon HD 8240 / R3 Series|6\nRadeon HD 6250|6\nRadeon HD 6380G|6\nRadeon HD 6300M Series|5\nRadeon HD 7310|5\nRadeon R3 Graphics|5\nRadeon(TM) R6 Graphics|5\nRadeon HD 6250|5\nRadeon HD 6290|5\nRadeon HD 6250|5\nRadeon HD 7290 Graphics|4\nRadeon HD 5000/6000/7350/8350 Series|3\nRadeon RX Vega 56 OpenGL Engine|-1\nFirePro V4800 (FireGL) Graphics Adapter|-1\nRadeon HD 7670M|-1\nRadeon HD 8570D|-1\n7340:C5|-1\nRadeon HD 8550G|-1\nRadeon R5 Graphics|-1\nASUS R7 360 Series|-1\nBonaire [FirePro W5100]|-1\nRadeon HD 6380G|-1\nRadeon R7 Graphics|-1\nFireGL V8650|-1\nFirePro S7150|-1\nFirePro V3900 (FireGL V)|-1\nFirePro V7800 (FireGL V)|-1\nFirePro W4100 Graphics Adapter|-1\nFirePro W4170M (FireGL V)|-1\nGigabyte Radeon RX 580|-1\nMobility FireGL V5700|-1\nMobility Radeon 4100|-1\nMobility Radeon HD 2400|-1\nMobility Radeon HD 2400 XT|-1\nMobility Radeon HD 2600|-1\nMobility Radeon HD 2600 XT|-1\nMobility Radeon HD 3200|-1\nMobility Radeon HD 3400 Series|-1\nMobility Radeon HD 3430|-1\nMobility Radeon HD 3470|-1\nMobility Radeon HD 3650|-1\nMobility Radeon HD 4200 Series|-1\nMobility Radeon HD 4250|-1\nMobility Radeon HD 4300 Series|-1\nMobility Radeon HD 4500 Series|-1\nMobility Radeon HD 4500/5100 Series|-1\nMobility Radeon HD 4650|-1\nMobility Radeon HD 4670|-1\nMobility Radeon HD 4850|-1\nR9 270X Devil|-1\nRX 560X|-1\nRadeon|-1\nRadeon(TM) HD8530M|-1\nRadeon 3000|-1\nRadeon 3100 Graphics|-1\nRadeon HD 2400 PRO|-1\nRadeon HD 2400 XT|-1\nRadeon HD 2600 Pro|-1\nRadeon HD 2600 XT|-1\nRadeon HD 2900 GT|-1\nRadeon HD 3200 Graphics|-1\nRadeon HD 3300|-1\nRadeon HD 3450|-1\nRadeon HD 3470|-1\nRadeon HD 3600 Series|-1\nRadeon HD 3650|-1\nRadeon HD 3850|-1\nRadeon HD 3870|-1\nRadeon HD 3870 X2|-1\nRadeon HD 4200|-1\nRadeon HD 4250|-1\nRadeon HD 4290|-1\nRadeon HD 4300/4500 Series|-1\nRadeon HD 4550|-1\nRadeon HD 4600 Series|-1\nRadeon HD 4650|-1\nRadeon HD 4670|-1\nRadeon HD 4830|-1\nRadeon HD 4850|-1\nRadeon HD 4870|-1\nRadeon HD 4890|-1\nRadeon HD 5670 640SP Edition|-1\nRadeon HD 5800 Series|-1\nRadeon HD 5850|-1\nRadeon HD 6490M|-1\nRadeon HD 6730M/6770M|-1\nRadeon HD 6750|-1\nRadeon HD 6800M Series|-1\nRadeon HD 7540D + HD 6670 Dual Graphics|-1\nRadeon HD 7700M Series|-1\nRadeon HD 7800 Series|-1\nRadeon HD 8350|-1\nRadeon HD 8370D|-1\nRadeon HD 8600/8700M|-1\nRadeon Pro WX Vega M GL Graphics|-1\nRadeon R5 200 Series|-1\nRadeon R7 A370|-1\nRadeon R9 200 Series|-1\nRadeon R9 290X/390X|-1\nRadeon R9 380X|-1\nRadeon RX 480|-1\nRadeon RX 550X|-1\nRadeon RX 6650M|-1\nRadeon RX6600XT|-1\nRadeon(TM) R8 M435DX|-1\nRadeon(TM) R9 290X|-1\nRadeon(TM) RX540|-1\ninc. Radeon HD 7970|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 2.43.0, LLVM 3.7.0)|-1\nRadeong 0.4 on AMD CAPE VERDE (DRM 3.9.0 / 4.9.0-rc1+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD FIJI (DRM 3.2.0 / 4.7.0-rc5+, LLVM 4.0.0)|-1\nRadeong 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.9.0)|-1\n";function $V(e){return e===LV.Intel?WV:e===LV.Nvidia?qV:e===LV.Amd?ZV:""}var YV=[],JV=[],ej=[];function tj(e){if(e===LV.Intel&&YV.length)return YV;if(e===LV.Nvidia&&JV.length)return JV;if(e===LV.Amd&&ej.length)return ej;try{var t=function(e,t){var n,r;return n=t===LV.Intel?DS(r=e.split("\n")).call(r,(function(e){return"Intel(R) ".concat(e)})):e.split("\n"),DS(n).call(n,(function(e){return e.split("|")}))}($V(e),e);return e===LV.Intel&&(YV=t),e===LV.Nvidia&&(JV=t),e===LV.Amd&&(ej=t),t}catch(ZO){}return[]}function nj(e){if(!e)return 0;var t,n=tj(e.vendor);return t=function(e,t){var n=QG(e).call(e,(function(e){return e[0]===t.model}));n.length||(n=QG(e).call(e,(function(e){return e[0]===t.backupModel}))),n.length||t.vendor!==LV.Intel||/^Intel(R)/.test(t.model)||(n=QG(e).call(e,(function(e){return e[0]==="Intel(R) "+t.model})));var r="-1";if(n.length){var i=n[0][1];r="-1"===i?"0":i}return Y_(r)}(n,e),0===t?0:-1===t?-1:iE(KV(t).toFixed(2))}var rj,ij,oj,aj="",sj=function(){function e(){Zm(this,e)}return Ym(e,null,[{key:"getGPUVendor",value:function(){return aj||(aj=function(){try{var e=localStorage.getItem(QV)||"";if(e)return e;var t,n=document.createElement("canvas").getContext("webgl");if(n)return(e=(t=n.getExtension("WEBGL_debug_renderer_info"))?n.getParameter(t.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(QV,e),e}catch(ZO){}return""}())}},{key:"parseVendor",value:function(t){try{var n=BV(t||e.getGPUVendor());return eh(eh({},n),{},{score:nj(n)})}catch(ZO){}return null}}]),e}(),cj=void 0!==CN?CN:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function lj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uj=function(e){return e&&e.Math==Math&&e},dj=uj("object"==(void 0===CN?"undefined":Wd(CN))&&CN)||uj("object"==("undefined"==typeof window?"undefined":Wd(window))&&window)||uj("object"==("undefined"==typeof self?"undefined":Wd(self))&&self)||uj("object"==Wd(cj)&&cj)||function(){return this}()||cj||Function("return this")(),hj=function(e){try{return!!e()}catch(t){return!0}},pj=!hj((function(){var e,t=z_(e=function(){}).call(e);return"function"!=typeof t||t.hasOwnProperty("prototype")})),fj=pj,gj=Function.prototype,vj=gj.apply,mj=gj.call,yj="object"==("undefined"==typeof Reflect?"undefined":Wd(Reflect))&&BN||(fj?z_(mj).call(mj,vj):function(){return mj.apply(vj,arguments)}),_j=pj,Gj=Function.prototype,Rj=Gj.call,bj=_j&&z_(rj=z_(Gj)).call(rj,Rj,Rj),Tj=_j?bj:function(e){return function(){return Rj.apply(e,arguments)}},wj=Tj,Sj=wj({}.toString),Mj=wj(mG("")),Ej=function(e){return Mj(Sj(e),8,-1)},Dj=Ej,zj=Tj,kj=function(e){if("Function"===Dj(e))return zj(e)},Aj="object"==("undefined"==typeof document?"undefined":Wd(document))&&document.all,Fj={all:Aj,IS_HTMLDDA:void 0===Aj&&void 0!==Aj},Pj=Fj.all,Ij=Fj.IS_HTMLDDA?function(e){return"function"==typeof e||e===Pj}:function(e){return"function"==typeof e},xj={},Xj=!hj((function(){return 7!=VG({},1,{get:function(){return 7}})[1]})),Hj=pj,Cj=Function.prototype.call,Oj=Hj?z_(Cj).call(Cj,Cj):function(){return Cj.apply(Cj,arguments)},Lj={},Uj={}.propertyIsEnumerable,Bj=WG,Nj=Bj&&!Uj.call({1:2},1);Lj.f=Nj?function(e){var t=Bj(this,e);return!!t&&t.enumerable}:Uj;var Vj,jj,Kj=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Qj=hj,Wj=Ej,qj=Object,Zj=Tj("".split),$j=Qj((function(){return!qj("z").propertyIsEnumerable(0)}))?function(e){return"String"==Wj(e)?Zj(e,""):qj(e)}:qj,Yj=function(e){return null==e},Jj=Yj,eK=TypeError,tK=function(e){if(Jj(e))throw eK("Can't call method on "+e);return e},nK=$j,rK=tK,iK=function(e){return nK(rK(e))},oK=Ij,aK=Fj.all,sK=Fj.IS_HTMLDDA?function(e){return"object"==Wd(e)?null!==e:oK(e)||e===aK}:function(e){return"object"==Wd(e)?null!==e:oK(e)},cK={},lK=cK,uK=dj,dK=Ij,hK=function(e){return dK(e)?e:void 0},pK=function(e,t){return arguments.length<2?hK(lK[e])||hK(uK[e]):lK[e]&&lK[e][t]||uK[e]&&uK[e][t]},fK=Tj({}.isPrototypeOf),gK="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vK=dj,mK=gK,yK=vK.process,_K=vK.Deno,GK=yK&&yK.versions||_K&&_K.version,RK=GK&&GK.v8;RK&&(jj=(Vj=RK.split("."))[0]>0&&Vj[0]<4?1:+(Vj[0]+Vj[1])),!jj&&mK&&(!(Vj=mK.match(/Edge\/(\d+)/))||Vj[1]>=74)&&(Vj=mK.match(/Chrome\/(\d+)/))&&(jj=+Vj[1]);var bK=jj,TK=bK,wK=hj,SK=dj.String,MK=!!KG&&!wK((function(){var e=YG();return!SK(e)||!(Object(e)instanceof YG)||!YG.sham&&TK&&TK<41})),EK=MK&&!YG.sham&&"symbol"==Wd(JG),DK=pK,zK=Ij,kK=fK,AK=Object,FK=EK?function(e){return"symbol"==Wd(e)}:function(e){var t=DK("Symbol");return zK(t)&&kK(t.prototype,AK(e))},PK=String,IK=function(e){try{return PK(e)}catch(t){return"Object"}},xK=Ij,XK=IK,HK=TypeError,CK=function(e){if(xK(e))return e;throw HK(XK(e)+" is not a function")},OK=CK,LK=Yj,UK=function(e,t){var n=e[t];return LK(n)?void 0:OK(n)},BK=Oj,NK=Ij,VK=sK,jK=TypeError,KK={exports:{}},QK=dj,WK=VG,qK=function(e,t){try{WK(QK,e,{value:t,configurable:!0,writable:!0})}catch(n){QK[e]=t}return t},ZK="__core-js_shared__",$K=dj[ZK]||qK(ZK,{}),YK=$K;(KK.exports=function(e,t){return YK[e]||(YK[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var JK=KK.exports,eQ=tK,tQ=Object,nQ=function(e){return tQ(eQ(e))},rQ=nQ,iQ=Tj({}.hasOwnProperty),oQ=Object.hasOwn||function(e,t){return iQ(rQ(e),t)},aQ=Tj,sQ=0,cQ=Math.random(),lQ=aQ(1..toString),uQ=function(e){return"Symbol("+(void 0===e?"":e)+")_"+lQ(++sQ+cQ,36)},dQ=JK,hQ=oQ,pQ=uQ,fQ=MK,gQ=EK,vQ=dj.Symbol,mQ=dQ("wks"),yQ=gQ?vQ.for||vQ:vQ&&vQ.withoutSetter||pQ,_Q=function(e){return hQ(mQ,e)||(mQ[e]=fQ&&hQ(vQ,e)?vQ[e]:yQ("Symbol."+e)),mQ[e]},GQ=Oj,RQ=sK,bQ=FK,TQ=UK,wQ=function(e,t){var n,r;if("string"===t&&NK(n=e.toString)&&!VK(r=BK(n,e)))return r;if(NK(n=e.valueOf)&&!VK(r=BK(n,e)))return r;if("string"!==t&&NK(n=e.toString)&&!VK(r=BK(n,e)))return r;throw jK("Can't convert object to primitive value")},SQ=TypeError,MQ=_Q("toPrimitive"),EQ=function(e,t){if(!RQ(e)||bQ(e))return e;var n,r=TQ(e,MQ);if(r){if(void 0===t&&(t="default"),n=GQ(r,e,t),!RQ(n)||bQ(n))return n;throw SQ("Can't convert object to primitive value")}return void 0===t&&(t="number"),wQ(e,t)},DQ=FK,zQ=function(e){var t=EQ(e,"string");return DQ(t)?t:t+""},kQ=sK,AQ=dj.document,FQ=kQ(AQ)&&kQ(AQ.createElement),PQ=function(e){return FQ?AQ.createElement(e):{}},IQ=PQ,xQ=!Xj&&!hj((function(){return 7!=VG(IQ("div"),"a",{get:function(){return 7}}).a})),XQ=Xj,HQ=Oj,CQ=Lj,OQ=Kj,LQ=iK,UQ=zQ,BQ=oQ,NQ=xQ,VQ=WG;xj.f=XQ?VQ:function(e,t){if(e=LQ(e),t=UQ(t),NQ)try{return VQ(e,t)}catch(n){}if(BQ(e,t))return OQ(!HQ(CQ.f,e,t),e[t])};var jQ=hj,KQ=Ij,QQ=/#|\.prototype\./,WQ=function(e,t){var n=ZQ[qQ(e)];return n==YQ||n!=$Q&&(KQ(t)?jQ(t):!!t)},qQ=WQ.normalize=function(e){return String(e).replace(QQ,".").toLowerCase()},ZQ=WQ.data={},$Q=WQ.NATIVE="N",YQ=WQ.POLYFILL="P",JQ=WQ,eW=CK,tW=pj,nW=kj(z_(kj)),rW=function(e,t){return eW(e),void 0===t?e:tW?nW(e,t):function(){return e.apply(t,arguments)}},iW={},oW=Xj&&hj((function(){return 42!=VG((function(){}),"prototype",{value:42,writable:!1}).prototype})),aW=sK,sW=String,cW=TypeError,lW=function(e){if(aW(e))return e;throw cW(sW(e)+" is not an object")},uW=Xj,dW=xQ,hW=oW,pW=lW,fW=zQ,gW=TypeError,vW=VG,mW=WG,yW="enumerable",_W="configurable",GW="writable";iW.f=uW?hW?function(e,t,n){if(pW(e),t=fW(t),pW(n),"function"==typeof e&&"prototype"===t&&"value"in n&&GW in n&&!n[GW]){var r=mW(e,t);r&&r[GW]&&(e[t]=n.value,n={configurable:_W in n?n[_W]:r[_W],enumerable:yW in n?n[yW]:r[yW],writable:!1})}return vW(e,t,n)}:vW:function(e,t,n){if(pW(e),t=fW(t),pW(n),dW)try{return vW(e,t,n)}catch(r){}if("get"in n||"set"in n)throw gW("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var RW=iW,bW=Kj,TW=Xj?function(e,t,n){return RW.f(e,t,bW(1,n))}:function(e,t,n){return e[t]=n,e},wW=dj,SW=yj,MW=kj,EW=Ij,DW=xj.f,zW=JQ,kW=cK,AW=rW,FW=TW,PW=oQ,IW=function(e){var t=function t(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return SW(e,this,arguments)};return t.prototype=e.prototype,t},xW=function(e,t){var n,r,i,o,a,s,c,l,u,d=e.target,h=e.global,p=e.stat,f=e.proto,g=h?wW:p?wW[d]:(wW[d]||{}).prototype,v=h?kW:kW[d]||FW(kW,d,{})[d],m=v.prototype;for(o in t)r=!(n=zW(h?o:d+(p?".":"#")+o,e.forced))&&g&&PW(g,o),s=v[o],r&&(c=e.dontCallGetSet?(u=DW(g,o))&&u.value:g[o]),a=r&&c?c:t[o],r&&Wd(s)==Wd(a)||(l=z_(e)&&r?AW(a,wW):e.wrap&&r?IW(a):f&&EW(a)?MW(a):a,(e.sham||a&&a.sham||s&&s.sham)&&FW(l,"sham",!0),FW(v,o,l),f&&(PW(kW,i=d+"Prototype")||FW(kW,i,{}),FW(kW[i],o,a),e.real&&m&&(n||!m[o])&&FW(m,o,a)))},XW=Ej,HW=uS||function(e){return"Array"==XW(e)},CW=Math.ceil,OW=Math.floor,LW=NN||function(e){var t=+e;return(t>0?OW:CW)(t)},UW=LW,BW=function(e){var t=+e;return t!=t||0===t?0:UW(t)},NW=BW,VW=Math.min,jW=function(e){return e>0?VW(NW(e),9007199254740991):0},KW=function(e){return jW(e.length)},QW=TypeError,WW=function(e){if(e>9007199254740991)throw QW("Maximum allowed index exceeded");return e},qW=zQ,ZW=iW,$W=Kj,YW=function(e,t,n){var r=qW(t);r in e?ZW.f(e,r,$W(0,n)):e[r]=n},JW={};JW[_Q("toStringTag")]="z";var eq="[object z]"===String(JW),tq=eq,nq=Ij,rq=Ej,iq=_Q("toStringTag"),oq=Object,aq="Arguments"==rq(function(){return arguments}()),sq=tq?rq:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=oq(e),iq))?n:aq?rq(t):"Object"==(r=rq(t))&&nq(t.callee)?"Arguments":r},cq=Ij,lq=$K,uq=Tj(Function.toString);cq(lq.inspectSource)||(lq.inspectSource=function(e){return uq(e)});var dq=lq.inspectSource,hq=Tj,pq=hj,fq=Ij,gq=sq,vq=dq,mq=function(){},yq=[],_q=pK("Reflect","construct"),Gq=/^\s*(?:class|function)\b/,Rq=hq(Gq.exec),bq=!Gq.exec(mq),Tq=function(e){if(!fq(e))return!1;try{return _q(mq,yq,e),!0}catch(t){return!1}},wq=function(e){if(!fq(e))return!1;switch(gq(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bq||!!Rq(Gq,vq(e))}catch(t){return!0}};wq.sham=!0;var Sq=!_q||pq((function(){var e;return Tq(Tq.call)||!Tq(Object)||!Tq((function(){e=!0}))||e}))?wq:Tq,Mq=HW,Eq=Sq,Dq=sK,zq=_Q("species"),kq=Array,Aq=function(e){var t;return Mq(e)&&(t=e.constructor,(Eq(t)&&(t===kq||Mq(t.prototype))||Dq(t)&&null===(t=t[zq]))&&(t=void 0)),void 0===t?kq:t},Fq=function(e,t){return new(Aq(e))(0===t?0:t)},Pq=hj,Iq=bK,xq=_Q("species"),Xq=function(e){return Iq>=51||!Pq((function(){var t=[];return(t.constructor={})[xq]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Hq=xW,Cq=hj,Oq=HW,Lq=sK,Uq=nQ,Bq=KW,Nq=WW,Vq=YW,jq=Fq,Kq=Xq,Qq=bK,Wq=_Q("isConcatSpreadable"),qq=Qq>=51||!Cq((function(){var e=[];return e[Wq]=!1,b_(e).call(e)[0]!==e})),Zq=function(e){if(!Lq(e))return!1;var t=e[Wq];return void 0!==t?!!t:Oq(e)};Hq({target:"Array",proto:!0,arity:1,forced:!qq||!Kq("concat")},{concat:function(e){var t,n,r,i,o,a=Uq(this),s=jq(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Zq(o=-1===t?a:arguments[t]))for(i=Bq(o),Nq(c+i),n=0;n<i;n++,c++)n in o&&Vq(s,c,o[n]);else Nq(c+1),Vq(s,c++,o);return s.length=c,s}});var $q=sq,Yq=String,Jq=function(e){if("Symbol"===$q(e))throw TypeError("Cannot convert a Symbol value to a string");return Yq(e)},eZ={},tZ=BW,nZ=Math.max,rZ=Math.min,iZ=function(e,t){var n=tZ(e);return n<0?nZ(n+t,0):rZ(n,t)},oZ=iK,aZ=iZ,sZ=KW,cZ=function(e){return function(t,n,r){var i,o=oZ(t),a=sZ(o),s=aZ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},lZ={includes:cZ(!0),indexOf:cZ(!1)},uZ={},dZ=Tj,hZ=oQ,pZ=iK,fZ=hR(lZ),gZ=uZ,vZ=dZ([].push),mZ=function(e,t){var n,r=pZ(e),i=0,o=[];for(n in r)!hZ(gZ,n)&&hZ(r,n)&&vZ(o,n);for(;t.length>i;)hZ(r,n=t[i++])&&(~fZ(o,n)||vZ(o,n));return o},yZ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_Z=mZ,GZ=yZ,RZ=jG||function(e){return _Z(e,GZ)},bZ=Xj,TZ=oW,wZ=iW,SZ=lW,MZ=iK,EZ=RZ;eZ.f=bZ&&!TZ?$G:function(e,t){SZ(e);for(var n,r=MZ(t),i=EZ(t),o=i.length,a=0;o>a;)wZ.f(e,n=i[a++],r[n]);return e};var DZ,zZ=pK("document","documentElement"),kZ=uQ,AZ=JK("keys"),FZ=function(e){return AZ[e]||(AZ[e]=kZ(e))},PZ=lW,IZ=eZ,xZ=yZ,XZ=uZ,HZ=zZ,CZ=PQ,OZ="prototype",LZ="script",UZ=FZ("IE_PROTO"),BZ=function(){},NZ=function(e){return"<"+LZ+">"+e+"</"+LZ+">"},VZ=function(e){e.write(NZ("")),e.close();var t=e.parentWindow.Object;return e=null,t},jZ=function(){try{DZ=new ActiveXObject("htmlfile")}catch(t){}jZ="undefined"!=typeof document?document.domain&&DZ?VZ(DZ):function(){var e,t=CZ("iframe"),n="java"+LZ+":";return t.style.display="none",HZ.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(NZ("document.F=Object")),e.close(),e.F}():VZ(DZ);for(var e=xZ.length;e--;)delete jZ[OZ][xZ[e]];return jZ()};XZ[UZ]=!0;var KZ=vM||function(e,t){var n;return null!==e?(BZ[OZ]=PZ(e),n=new BZ,BZ[OZ]=null,n[UZ]=e):n=jZ(),void 0===t?n:IZ.f(n,t)},QZ={},WZ=mZ,qZ=yZ,ZZ=b_(qZ).call(qZ,"length","prototype");QZ.f=WN||function(e){return WZ(e,ZZ)};var $Z={},YZ=iZ,JZ=KW,e$=YW,t$=Array,n$=Math.max,r$=function(e,t,n){for(var r=JZ(e),i=YZ(t,r),o=YZ(void 0===n?r:n,r),a=t$(n$(o-i,0)),s=0;i<o;i++,s++)e$(a,s,e[i]);return a.length=s,a},i$=Ej,o$=iK,a$=QZ.f,s$=r$,c$="object"==("undefined"==typeof window?"undefined":Wd(window))&&window&&WN?WN(window):[];$Z.f=function(e){return c$&&"Window"==i$(e)?function(e){try{return a$(e)}catch(t){return s$(c$)}}(e):a$(o$(e))};var l$={};l$.f=KG;var u$=TW,d$=function(e,t,n,r){return r&&r.enumerable?e[t]=n:u$(e,t,n),e},h$=iW,p$=function(e,t,n){return h$.f(e,t,n)},f$={},g$=_Q;f$.f=g$;var v$,m$,y$,_$=cK,G$=oQ,R$=f$,b$=iW.f,T$=function(e){var t=_$.Symbol||(_$.Symbol={});G$(t,e)||b$(t,e,{value:R$.f(e)})},w$=Oj,S$=pK,M$=_Q,E$=d$,D$=function(){var e=S$("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=M$("toPrimitive");t&&!t[r]&&E$(t,r,(function(e){return w$(n,this)}),{arity:1})},z$=sq,k$=eq?{}.toString:function(){return"[object "+z$(this)+"]"},A$=eq,F$=iW.f,P$=TW,I$=oQ,x$=k$,X$=_Q("toStringTag"),H$=function(e,t,n,r){if(e){var i=n?e:e.prototype;I$(i,X$)||F$(i,X$,{configurable:!0,value:t}),r&&!A$&&P$(i,"toString",x$)}},C$=Ij,O$=dj.WeakMap,L$=C$(O$)&&/native code/.test(String(O$)),U$=dj,B$=sK,N$=TW,V$=oQ,j$=$K,K$=FZ,Q$=uZ,W$="Object already initialized",q$=U$.TypeError,Z$=U$.WeakMap;if(L$||j$.state){var $$=j$.state||(j$.state=new Z$);$$.get=$$.get,$$.has=$$.has,$$.set=$$.set,v$=function(e,t){if($$.has(e))throw q$(W$);return t.facade=e,$$.set(e,t),t},m$=function(e){return $$.get(e)||{}},y$=function(e){return $$.has(e)}}else{var Y$=K$("state");Q$[Y$]=!0,v$=function(e,t){if(V$(e,Y$))throw q$(W$);return t.facade=e,N$(e,Y$,t),t},m$=function(e){return V$(e,Y$)?e[Y$]:{}},y$=function(e){return V$(e,Y$)}}var J$={set:v$,get:m$,has:y$,enforce:function(e){return y$(e)?m$(e):v$(e,{})},getterFor:function(e){return function(t){var n;if(!B$(t)||(n=m$(t)).type!==e)throw q$("Incompatible receiver, "+e+" required");return n}}},eY=rW,tY=$j,nY=nQ,rY=KW,iY=Fq,oY=Tj([].push),aY=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(c,l,u,d){for(var h,p,f=nY(c),g=tY(f),v=eY(l,u),m=rY(g),y=0,_=d||iY,G=t?_(c,m):n||a?_(c,0):void 0;m>y;y++)if((s||y in g)&&(p=v(h=g[y],y,f),e))if(t)G[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:oY(G,h)}else switch(e){case 4:return!1;case 7:oY(G,h)}return o?-1:r||i?i:G}},sY={forEach:aY(0),map:aY(1),filter:aY(2),some:aY(3),every:aY(4),find:aY(5),findIndex:aY(6),filterReject:aY(7)},cY=xW,lY=dj,uY=Oj,dY=Tj,hY=Xj,pY=MK,fY=hj,gY=oQ,vY=fK,mY=lW,yY=iK,_Y=zQ,GY=Jq,RY=Kj,bY=KZ,TY=RZ,wY=QZ,SY=$Z,MY=l$,EY=xj,DY=iW,zY=eZ,kY=Lj,AY=d$,FY=p$,PY=JK,IY=FZ,xY=uZ,XY=uQ,HY=_Q,CY=f$,OY=T$,LY=D$,UY=H$,BY=J$,NY=qG(sY),VY=IY("hidden"),jY="Symbol",KY="prototype",QY=BY.set,WY=BY.getterFor(jY),qY=Object[KY],ZY=lY.Symbol,$Y=ZY&&ZY[KY],YY=lY.TypeError,JY=lY.QObject,eJ=EY.f,tJ=DY.f,nJ=SY.f,rJ=kY.f,iJ=dY([].push),oJ=PY("symbols"),aJ=PY("op-symbols"),sJ=PY("wks"),cJ=!JY||!JY[KY]||!JY[KY].findChild,lJ=hY&&fY((function(){return 7!=bY(tJ({},"a",{get:function(){return tJ(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=eJ(qY,t);r&&delete qY[t],tJ(e,t,n),r&&e!==qY&&tJ(qY,t,r)}:tJ,uJ=function(e,t){var n=oJ[e]=bY($Y);return QY(n,{type:jY,tag:e,description:t}),hY||(n.description=t),n},dJ=function e(t,n,r){t===qY&&e(aJ,n,r),mY(t);var i=_Y(n);return mY(r),gY(oJ,i)?(r.enumerable?(gY(t,VY)&&t[VY][i]&&(t[VY][i]=!1),r=bY(r,{enumerable:RY(0,!1)})):(gY(t,VY)||tJ(t,VY,RY(1,{})),t[VY][i]=!0),lJ(t,i,r)):tJ(t,i,r)},hJ=function(e,t){var n;mY(e);var r=yY(t),i=b_(n=TY(r)).call(n,vJ(r));return NY(i,(function(t){hY&&!uY(pJ,r,t)||dJ(e,t,r[t])})),e},pJ=function(e){var t=_Y(e),n=uY(rJ,this,t);return!(this===qY&&gY(oJ,t)&&!gY(aJ,t))&&(!(n||!gY(this,t)||!gY(oJ,t)||gY(this,VY)&&this[VY][t])||n)},fJ=function(e,t){var n=yY(e),r=_Y(t);if(n!==qY||!gY(oJ,r)||gY(aJ,r)){var i=eJ(n,r);return!i||!gY(oJ,r)||gY(n,VY)&&n[VY][r]||(i.enumerable=!0),i}},gJ=function(e){var t=nJ(yY(e)),n=[];return NY(t,(function(e){gY(oJ,e)||gY(xY,e)||iJ(n,e)})),n},vJ=function(e){var t=e===qY,n=nJ(t?aJ:yY(e)),r=[];return NY(n,(function(e){!gY(oJ,e)||t&&!gY(qY,e)||iJ(r,oJ[e])})),r};pY||(AY($Y=(ZY=function(){if(vY($Y,this))throw YY("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?GY(arguments[0]):void 0,t=XY(e);return hY&&cJ&&lJ(qY,t,{configurable:!0,set:function e(n){this===qY&&uY(e,aJ,n),gY(this,VY)&&gY(this[VY],t)&&(this[VY][t]=!1),lJ(this,t,RY(1,n))}}),uJ(t,e)})[KY],"toString",(function(){return WY(this).tag})),AY(ZY,"withoutSetter",(function(e){return uJ(XY(e),e)})),kY.f=pJ,DY.f=dJ,zY.f=hJ,EY.f=fJ,wY.f=SY.f=gJ,MY.f=vJ,CY.f=function(e){return uJ(HY(e),e)},hY&&FY($Y,"description",{configurable:!0,get:function(){return WY(this).description}})),cY({global:!0,constructor:!0,wrap:!0,forced:!pY,sham:!pY},{Symbol:ZY}),NY(TY(sJ),(function(e){OY(e)})),cY({target:jY,stat:!0,forced:!pY},{useSetter:function(){cJ=!0},useSimple:function(){cJ=!1}}),cY({target:"Object",stat:!0,forced:!pY,sham:!hY},{create:function(e,t){return void 0===t?bY(e):hJ(bY(e),t)},defineProperty:dJ,defineProperties:hJ,getOwnPropertyDescriptor:fJ}),cY({target:"Object",stat:!0,forced:!pY},{getOwnPropertyNames:gJ}),LY(),UY(ZY,jY),xY[VY]=!0;var mJ=MK&&!!qN&&!!ZN,yJ=xW,_J=pK,GJ=oQ,RJ=Jq,bJ=JK,TJ=mJ,wJ=bJ("string-to-symbol-registry"),SJ=bJ("symbol-to-string-registry");yJ({target:"Symbol",stat:!0,forced:!TJ},{for:function(e){var t=RJ(e);if(GJ(wJ,t))return wJ[t];var n=_J("Symbol")(t);return wJ[t]=n,SJ[n]=t,n}});var MJ=xW,EJ=oQ,DJ=FK,zJ=IK,kJ=mJ,AJ=JK("symbol-to-string-registry");MJ({target:"Symbol",stat:!0,forced:!kJ},{keyFor:function(e){if(!DJ(e))throw TypeError(zJ(e)+" is not a symbol");if(EJ(AJ,e))return AJ[e]}});var FJ=Tj(mG([])),PJ=HW,IJ=Ij,xJ=Ej,XJ=Jq,HJ=Tj([].push),CJ=xW,OJ=pK,LJ=yj,UJ=Oj,BJ=Tj,NJ=hj,VJ=Ij,jJ=FK,KJ=FJ,QJ=function(e){if(IJ(e))return e;if(PJ(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?HJ(n,i):"number"!=typeof i&&"Number"!=xJ(i)&&"String"!=xJ(i)||HJ(n,XJ(i))}var o=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(PJ(this))return t;for(var r=0;r<o;r++)if(n[r]===e)return t}}},WJ=MK,qJ=String,ZJ=OJ("JSON","stringify"),$J=BJ(/./.exec),YJ=BJ("".charAt),JJ=BJ("".charCodeAt),e0=BJ("".replace),t0=BJ(1..toString),n0=/[\uD800-\uDFFF]/g,r0=/^[\uD800-\uDBFF]$/,i0=/^[\uDC00-\uDFFF]$/,o0=!WJ||NJ((function(){var e=OJ("Symbol")();return"[null]"!=ZJ([e])||"{}"!=ZJ({a:e})||"{}"!=ZJ(Object(e))})),a0=NJ((function(){return'"\\udf06\\ud834"'!==ZJ("\udf06\ud834")||'"\\udead"'!==ZJ("\udead")})),s0=function(e,t){var n=KJ(arguments),r=QJ(t);if(VJ(r)||void 0!==e&&!jJ(e))return n[1]=function(e,t){if(VJ(r)&&(t=UJ(r,this,qJ(e),t)),!jJ(t))return t},LJ(ZJ,null,n)},c0=function(e,t,n){var r=YJ(n,t-1),i=YJ(n,t+1);return $J(r0,e)&&!$J(i0,i)||$J(i0,e)&&!$J(r0,r)?"\\u"+t0(JJ(e,0),16):e};ZJ&&CJ({target:"JSON",stat:!0,arity:3,forced:o0||a0},{stringify:function(e,t,n){var r=KJ(arguments),i=LJ(o0?s0:ZJ,null,r);return a0&&"string"==typeof i?e0(i,n0,c0):i}});var l0=l$,u0=nQ;xW({target:"Object",stat:!0,forced:!MK||hj((function(){l0.f(1)}))},{getOwnPropertySymbols:function(e){var t=l0.f;return t?t(u0(e)):[]}}),T$("asyncIterator"),T$("hasInstance"),T$("isConcatSpreadable"),T$("iterator"),T$("match"),T$("matchAll"),T$("replace"),T$("search"),T$("species"),T$("split");var d0=D$;T$("toPrimitive"),d0();var h0=pK,p0=H$;T$("toStringTag"),p0(h0("Symbol"),"Symbol"),T$("unscopables"),H$(dj.JSON,"JSON",!0);var f0,g0,v0,m0=cK.Symbol,y0={},_0=Xj,G0=oQ,R0=Function.prototype,b0=_0&&WG,T0=G0(R0,"name"),w0={EXISTS:T0,PROPER:T0&&"something"===function(){}.name,CONFIGURABLE:T0&&(!_0||_0&&b0(R0,"name").configurable)},S0=!hj((function(){function e(){}return e.prototype.constructor=null,yM(new e)!==e.prototype})),M0=oQ,E0=Ij,D0=nQ,z0=S0,k0=FZ("IE_PROTO"),A0=Object,F0=A0.prototype,P0=z0?yM:function(e){var t=D0(e);if(M0(t,k0))return t[k0];var n=t.constructor;return E0(n)&&t instanceof n?n.prototype:t instanceof A0?F0:null},I0=hj,x0=Ij,X0=sK,H0=KZ,C0=P0,O0=d$,L0=_Q("iterator"),U0=!1;gM([])&&("next"in(v0=gM(ij=[]).call(ij))?(g0=C0(C0(v0)))!==Object.prototype&&(f0=g0):U0=!0);var B0=!X0(f0)||I0((function(){var e={};return f0[L0].call(e)!==e}));x0((f0=B0?{}:H0(f0))[L0])||O0(f0,L0,(function(){return this}));var N0={IteratorPrototype:f0,BUGGY_SAFARI_ITERATORS:U0},V0=N0.IteratorPrototype,j0=KZ,K0=Kj,Q0=H$,W0=y0,q0=function(){return this},Z0=function(e,t,n,r){var i=t+" Iterator";return e.prototype=j0(V0,{next:K0(+!r,n)}),Q0(e,i,!1,!0),W0[i]=q0,e},$0=Tj,Y0=CK,J0=Ij,e1=String,t1=TypeError,n1=function(e,t,n){try{return $0(Y0(WG(e,t)[n]))}catch(r){}},r1=lW,i1=function(e){if("object"==Wd(e)||J0(e))return e;throw t1("Can't set "+e1(e)+" as a prototype")},o1=mM||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=n1(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return r1(n),i1(r),t?e(n,r):n.__proto__=r,n}}():void 0),a1=xW,s1=Oj,c1=Z0,l1=P0,u1=H$,d1=d$,h1=y0,p1=w0.PROPER,f1=N0.BUGGY_SAFARI_ITERATORS,g1=_Q("iterator"),v1="keys",m1="values",y1="entries",_1=function(){return this},G1=function(e,t,n,r,i,o,a){c1(n,t,r);var s,c,l,u=function(e){if(e===i&&g)return g;if(!f1&&e in p)return p[e];switch(e){case v1:case m1:case y1:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[g1]||p["@@iterator"]||i&&p[i],g=!f1&&f||u(i),v="Array"==t&&iV(p)||f;if(v&&(s=l1(v.call(new e)))!==Object.prototype&&s.next&&(u1(s,d,!0,!0),h1[d]=_1),p1&&i==m1&&f&&f.name!==m1&&(h=!0,g=function(){return s1(f,this)}),i)if(c={values:u(m1),keys:o?g:u(v1),entries:u(y1)},a)for(l in c)(f1||h||!(l in p))&&d1(p,l,c[l]);else a1({target:t,proto:!0,forced:f1||h},c);return a&&p[g1]!==g&&d1(p,g1,g,{name:i}),h1[t]=g,c},R1=function(e,t){return{value:e,done:t}},b1=iK,T1=y0,w1=J$;iW.f;var S1=G1,M1=R1,E1="Array Iterator",D1=w1.set,z1=w1.getterFor(E1);S1(Array,"Array",(function(e,t){D1(this,{type:E1,target:b1(e),index:0,kind:t})}),(function(){var e=z1(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,M1(void 0,!0)):M1("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),T1.Arguments=T1.Array;var k1={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},A1=dj,F1=sq,P1=TW,I1=y0,x1=_Q("toStringTag");for(var X1 in k1){var H1=A1[X1],C1=H1&&H1.prototype;C1&&F1(C1)!==x1&&P1(C1,x1,X1),I1[X1]=I1.Array}var O1=m0,L1=_Q,U1=iW.f,B1=L1("metadata"),N1=Function.prototype;void 0===N1[B1]&&U1(N1,B1,{value:null}),T$("dispose"),T$("metadata");var V1=O1;T$("asyncDispose");var j1=Tj,K1=pK("Symbol"),Q1=K1.keyFor,W1=j1(K1.prototype.valueOf),q1=K1.isRegisteredSymbol||function(e){try{return void 0!==Q1(W1(e))}catch(t){return!1}};xW({target:"Symbol",stat:!0},{isRegisteredSymbol:q1});for(var Z1=JK,$1=pK,Y1=Tj,J1=FK,e2=_Q,t2=$1("Symbol"),n2=t2.isWellKnownSymbol,r2=$1("Object","getOwnPropertyNames"),i2=Y1(t2.prototype.valueOf),o2=Z1("wks"),a2=0,s2=r2(t2),c2=s2.length;a2<c2;a2++)try{var l2=s2[a2];J1(t2[l2])&&e2(l2)}catch(ZO){}var u2=function(e){if(n2&&n2(e))return!0;try{for(var t=i2(e),n=0,r=r2(o2),i=r.length;n<i;n++)if(o2[r[n]]==t)return!0}catch(o){}return!1};xW({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:u2}),T$("matcher"),T$("observable"),xW({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:q1}),xW({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:u2}),T$("metadataKey"),T$("patternMatch"),T$("replaceAll");var d2=lj(V1),h2=Tj,p2=BW,f2=Jq,g2=tK,v2=h2("".charAt),m2=h2("".charCodeAt),y2=h2(mG("")),_2=function(e){return function(t,n){var r,i,o=f2(g2(t)),a=p2(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=m2(o,a))<55296||r>56319||a+1===s||(i=m2(o,a+1))<56320||i>57343?e?v2(o,a):r:e?y2(o,a,a+2):i-56320+(r-55296<<10)+65536}},G2={codeAt:_2(!1),charAt:_2(!0)},R2=G2.charAt,b2=Jq,T2=J$,w2=G1,S2=R1,M2="String Iterator",E2=T2.set,D2=T2.getterFor(M2);w2(String,"String",(function(e){E2(this,{type:M2,string:b2(e),index:0})}),(function(){var e,t=D2(this),n=t.string,r=t.index;return r>=n.length?S2(void 0,!0):(e=R2(n,r),t.index+=e.length,S2(e,!1))}));var z2=lj(f$.f("iterator"));function k2(e){return(k2="function"==typeof d2&&"symbol"==Wd(z2)?function(e){return Wd(e)}:function(e){return e&&"function"==typeof d2&&e.constructor===d2&&e!==d2.prototype?"symbol":Wd(e)})(e)}var A2=nQ,F2=RZ;xW({target:"Object",stat:!0,forced:hj((function(){F2(1)}))},{keys:function(e){return F2(A2(e))}});var P2=gM(cK.Object),I2=lj(P2),x2=lj(cK.Object.getOwnPropertySymbols),X2=xW,H2=QG(sY);X2({target:"Array",proto:!0,forced:!Xq("filter")},{filter:function(e){return H2(this,e,arguments.length>1?arguments[1]:void 0)}});var C2=cK,O2=function(e){return C2[e+"Prototype"]},L2=QG(O2("Array")),U2=fK,B2=L2,N2=Array.prototype,V2=function(e){var t=QG(e);return e===N2||U2(N2,e)&&t===QG(N2)?B2:t},j2=V2,K2=lj(j2),Q2={exports:{}},W2=xW,q2=hj,Z2=iK,$2=xj.f,Y2=Xj;W2({target:"Object",stat:!0,forced:!Y2||q2((function(){$2(1)})),sham:!Y2},{getOwnPropertyDescriptor:function(e,t){return $2(Z2(e),t)}});var J2=cK.Object,e5=Q2.exports=function(e,t){return J2.getOwnPropertyDescriptor(e,t)};J2.getOwnPropertyDescriptor.sham&&(e5.sham=!0);var t5=lj(Q2.exports),n5=HW,r5=TypeError,i5=WG,o5=Xj&&!function(){if(void 0!==this)return!0;try{VG([],"length",{writable:!1}).length=1}catch(ZO){return ZO instanceof TypeError}}(),a5=o5?function(e,t){if(n5(e)&&!i5(e,"length").writable)throw r5("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},s5=xW,c5=nQ,l5=KW,u5=a5,d5=WW,h5=hj((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{VG([],"length",{writable:!1}).push()}catch(ZO){return ZO instanceof TypeError}}();s5({target:"Array",proto:!0,arity:1,forced:h5},{push:function(e){var t=c5(this),n=l5(t),r=arguments.length;d5(n+r);for(var i=0;i<r;i++)t[n]=arguments[i],n++;return u5(t,n),n}});var p5=O2("Array").push,f5=fK,g5=p5,v5=Array.prototype,m5=function(e){var t=e.push;return e===v5||f5(v5,e)&&t===v5.push?g5:t},y5=lj(m5),_5=hj,G5=function(e,t){var n=[][e];return!!n&&_5((function(){n.call(null,t||function(){return 1},1)}))},R5=qG(sY),b5=G5("forEach")?qG([]):function(e){return R5(this,e,arguments.length>1?arguments[1]:void 0)};xW({target:"Array",proto:!0,forced:qG([])!=b5},{forEach:b5});var T5=qG(O2("Array")),w5=sq,S5=oQ,M5=fK,E5=T5,D5=Array.prototype,z5={DOMTokenList:!0,NodeList:!0},k5=function(e){var t=qG(e);return e===D5||M5(D5,e)&&t===qG(D5)||S5(z5,w5(e))?E5:t},A5=k5,F5=lj(A5),P5=pK,I5=QZ,x5=l$,X5=lW,H5=Tj(b_([])),C5=P5("Reflect","ownKeys")||function(e){var t=I5.f(X5(e)),n=x5.f;return n?H5(t,n(e)):t},O5=C5,L5=iK,U5=xj,B5=YW;xW({target:"Object",stat:!0,sham:!Xj},{getOwnPropertyDescriptors:function(e){for(var t,n,r=L5(e),i=U5.f,o=O5(r),a={},s=0;o.length>s;)void 0!==(n=i(r,t=o[s++]))&&B5(a,t,n);return a}});var N5=lj(cK.Object.getOwnPropertyDescriptors),V5={exports:{}},j5=xW,K5=Xj,Q5=eZ.f;j5({target:"Object",stat:!0,forced:$G!==Q5,sham:!K5},{defineProperties:Q5});var W5=cK.Object,q5=V5.exports=function(e,t){return W5.defineProperties(e,t)};W5.defineProperties.sham&&(q5.sham=!0);var Z5=lj(V5.exports),$5={exports:{}},Y5=xW,J5=Xj,e6=iW.f;Y5({target:"Object",stat:!0,forced:VG!==e6,sham:!J5},{defineProperty:e6});var t6=cK.Object,n6=$5.exports=function(e,t,n){return t6.defineProperty(e,t,n)};t6.defineProperty.sham&&(n6.sham=!0);var r6=$5.exports,i6=lj(r6),o6=lj(f$.f("toPrimitive"));function a6(e){var t=function(e,t){if("object"!==k2(e)||null===e)return e;var n=e[o6];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==k2(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===k2(t)?t:String(t)}function s6(e,t,n){return(t=a6(t))in e?i6(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c6(e,t){var n=I2(e);if(x2){var r=x2(e);t&&(r=K2(r).call(r,(function(t){return t5(e,t).enumerable}))),y5(n).apply(n,r)}return n}function l6(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?F5(n=c6(Object(i),!0)).call(n,(function(t){s6(e,t,i[t])})):N5?Z5(e,N5(i)):F5(r=c6(Object(i))).call(r,(function(t){i6(e,t,t5(i,t))}))}return e}xW({target:"Object",stat:!0,sham:!Xj},{create:KZ});var u6=cK.Object,d6=function(e,t){return u6.create(e,t)},h6=lj(d6),p6=nQ,f6=P0,g6=S0;xW({target:"Object",stat:!0,forced:hj((function(){f6(1)})),sham:!g6},{getPrototypeOf:function(e){return f6(p6(e))}});var v6=lj(cK.Object.getPrototypeOf);xW({target:"Object",stat:!0},{setPrototypeOf:o1});var m6=lj(cK.Object.setPrototypeOf),y6=oQ,_6=C5,G6=xj,R6=iW,b6=sK,T6=TW,w6=Error,S6=Tj("".replace),M6=String(w6("zxcasd").stack),E6=/\n\s*at [^:]*:[^\n]*/,D6=E6.test(M6),z6=Kj,k6=!hj((function(){var e=Error("a");return!("stack"in e)||(VG(e,"stack",z6(1,7)),7!==e.stack)})),A6=TW,F6=function(e,t){if(D6&&"string"==typeof e&&!w6.prepareStackTrace)for(;t--;)e=S6(e,E6,"");return e},P6=k6,I6=Error.captureStackTrace,x6=y0,X6=_Q("iterator"),H6=Array.prototype,C6=function(e){return void 0!==e&&(x6.Array===e||H6[X6]===e)},O6=sq,L6=UK,U6=Yj,B6=y0,N6=_Q("iterator"),V6=function(e){if(!U6(e))return L6(e,N6)||L6(e,"@@iterator")||B6[O6(e)]},j6=Oj,K6=CK,Q6=lW,W6=IK,q6=V6,Z6=TypeError,$6=function(e,t){var n=arguments.length<2?q6(e):t;if(K6(n))return Q6(j6(n,e));throw Z6(W6(e)+" is not iterable")},Y6=Oj,J6=lW,e4=UK,t4=function(e,t,n){var r,i;J6(e);try{if(!(r=e4(e,"return"))){if("throw"===t)throw n;return n}r=Y6(r,e)}catch(o){i=!0,r=o}if("throw"===t)throw n;if(i)throw r;return J6(r),n},n4=rW,r4=Oj,i4=lW,o4=IK,a4=C6,s4=KW,c4=fK,l4=$6,u4=V6,d4=t4,h4=TypeError,p4=function(e,t){this.stopped=e,this.result=t},f4=p4.prototype,g4=function(e,t,n){var r,i,o,a,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),g=n4(t,u),v=function(e){return r&&d4(r,"normal",e),new p4(!0,e)},m=function(e){return d?(i4(e),f?g(e[0],e[1],v):g(e[0],e[1])):f?g(e,v):g(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(i=u4(e)))throw h4(o4(e)+" is not iterable");if(a4(i)){for(o=0,a=s4(e);a>o;o++)if((s=m(e[o]))&&c4(f4,s))return s;return new p4(!1)}r=l4(e,i)}for(c=h?e.next:r.next;!(l=r4(c,r)).done;){try{s=m(l.value)}catch(y){d4(r,"throw",y)}if("object"==Wd(s)&&s&&c4(f4,s))return s}return new p4(!1)},v4=Jq,m4=xW,y4=fK,_4=P0,G4=o1,R4=function(e,t,n){for(var r=_6(t),i=R6.f,o=G6.f,a=0;a<r.length;a++){var s=r[a];y6(e,s)||n&&y6(n,s)||i(e,s,o(t,s))}},b4=KZ,T4=TW,w4=Kj,S4=function(e,t){b6(t)&&"cause"in t&&T6(e,"cause",t.cause)},M4=function(e,t,n,r){P6&&(I6?I6(e,t):A6(e,"stack",F6(n,r)))},E4=g4,D4=function(e,t){return void 0===e?arguments.length<2?"":t:v4(e)},z4=_Q("toStringTag"),k4=Error,A4=[].push,F4=function e(t,n){var r,i=y4(P4,this);G4?r=G4(k4(),i?_4(this):P4):(r=i?this:b4(P4),T4(r,z4,"Error")),void 0!==n&&T4(r,"message",D4(n)),M4(r,e,r.stack,1),arguments.length>2&&S4(r,arguments[2]);var o=[];return E4(t,A4,{that:o}),T4(r,"errors",o),r};G4?G4(F4,k4):R4(F4,k4,{name:!0});var P4=F4.prototype=b4(k4.prototype,{constructor:w4(1,F4),message:w4(1,""),name:w4(1,"AggregateError")});m4({global:!0,constructor:!0,arity:2},{AggregateError:F4});var I4,x4,X4,H4,C4="undefined"!=typeof process&&"process"==Ej(process),O4=pK,L4=p$,U4=Xj,B4=_Q("species"),N4=function(e){var t=O4(e);U4&&t&&!t[B4]&&L4(t,B4,{configurable:!0,get:function(){return this}})},V4=fK,j4=TypeError,K4=function(e,t){if(V4(t,e))return e;throw j4("Incorrect invocation")},Q4=Sq,W4=IK,q4=TypeError,Z4=function(e){if(Q4(e))return e;throw q4(W4(e)+" is not a constructor")},$4=lW,Y4=Z4,J4=Yj,e3=_Q("species"),t3=function(e,t){var n,r=$4(e).constructor;return void 0===r||J4(n=$4(r)[e3])?t:Y4(n)},n3=TypeError,r3=function(e,t){if(e<t)throw n3("Not enough arguments");return e},i3=/(?:ipad|iphone|ipod).*applewebkit/i.test(gK),o3=dj,a3=yj,s3=rW,c3=Ij,l3=oQ,u3=hj,d3=zZ,h3=FJ,p3=PQ,f3=r3,g3=i3,v3=C4,m3=o3.setImmediate,y3=o3.clearImmediate,_3=o3.process,G3=o3.Dispatch,R3=o3.Function,b3=o3.MessageChannel,T3=o3.String,w3=0,S3={},M3="onreadystatechange";u3((function(){I4=o3.location}));var E3=function(e){if(l3(S3,e)){var t=S3[e];delete S3[e],t()}},D3=function(e){return function(){E3(e)}},z3=function(e){E3(e.data)},k3=function(e){o3.postMessage(T3(e),I4.protocol+"//"+I4.host)};m3&&y3||(m3=function(e){f3(arguments.length,1);var t=c3(e)?e:R3(e),n=h3(arguments,1);return S3[++w3]=function(){a3(t,void 0,n)},x4(w3),w3},y3=function(e){delete S3[e]},v3?x4=function(e){_3.nextTick(D3(e))}:G3&&G3.now?x4=function(e){G3.now(D3(e))}:b3&&!g3?(H4=(X4=new b3).port2,X4.port1.onmessage=z3,x4=s3(H4.postMessage,H4)):o3.addEventListener&&c3(o3.postMessage)&&!o3.importScripts&&I4&&"file:"!==I4.protocol&&!u3(k3)?(x4=k3,o3.addEventListener("message",z3,!1)):x4=M3 in p3("script")?function(e){d3.appendChild(p3("script"))[M3]=function(){d3.removeChild(this),E3(e)}}:function(e){vG(D3(e),0)});var A3={set:m3,clear:y3},F3=function(){this.head=null,this.tail=null};F3.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.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 P3,I3,x3,X3,H3,C3=F3,O3=/ipad|iphone|ipod/i.test(gK)&&"undefined"!=typeof Pebble,L3=/web0s(?!.*chrome)/i.test(gK),U3=dj,B3=rW,N3=xj.f,V3=A3.set,j3=C3,K3=i3,Q3=O3,W3=L3,q3=C4,Z3=U3.MutationObserver||U3.WebKitMutationObserver,$3=U3.document,Y3=U3.process,J3=U3.Promise,e7=N3(U3,"queueMicrotask"),t7=e7&&e7.value;if(!t7){var n7=new j3,r7=function(){var e,t;for(q3&&(e=Y3.domain)&&e.exit();t=n7.get();)try{t()}catch(n){throw n7.head&&P3(),n}e&&e.enter()};K3||q3||W3||!Z3||!$3?!Q3&&J3&&J3.resolve?((X3=J3.resolve(void 0)).constructor=J3,H3=B3(X3.then,X3),P3=function(){H3(r7)}):q3?P3=function(){Y3.nextTick(r7)}:(V3=B3(V3,U3),P3=function(){V3(r7)}):(I3=!0,x3=$3.createTextNode(""),new Z3(r7).observe(x3,{characterData:!0}),P3=function(){x3.data=I3=!I3}),t7=function(e){n7.head||P3(),n7.add(e)}}var i7=t7,o7=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},a7=dj.Promise,s7="object"==("undefined"==typeof Deno?"undefined":Wd(Deno))&&Deno&&"object"==Wd(Deno.version),c7=!s7&&!C4&&"object"==("undefined"==typeof window?"undefined":Wd(window))&&"object"==("undefined"==typeof document?"undefined":Wd(document)),l7=dj,u7=a7,d7=Ij,h7=JQ,p7=dq,f7=_Q,g7=c7,v7=s7,m7=bK,y7=u7&&u7.prototype,_7=f7("species"),G7=!1,R7=d7(l7.PromiseRejectionEvent),b7=h7("Promise",(function(){var e=p7(u7),t=e!==String(u7);if(!t&&66===m7)return!0;if(!y7.catch||!y7.finally)return!0;if(!m7||m7<51||!/native code/.test(e)){var n=new u7((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[_7]=r,!(G7=n.then((function(){}))instanceof r))return!0}return!t&&(g7||v7)&&!R7})),T7={CONSTRUCTOR:b7,REJECTION_EVENT:R7,SUBCLASSING:G7},w7={},S7=CK,M7=TypeError,E7=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw M7("Bad Promise constructor");t=e,n=r})),this.resolve=S7(t),this.reject=S7(n)};w7.f=function(e){return new E7(e)};var D7,z7,k7=xW,A7=C4,F7=dj,P7=Oj,I7=d$,x7=H$,X7=N4,H7=CK,C7=Ij,O7=sK,L7=K4,U7=t3,B7=A3.set,N7=i7,V7=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(n){}},j7=o7,K7=C3,Q7=J$,W7=a7,q7=w7,Z7="Promise",$7=T7.CONSTRUCTOR,Y7=T7.REJECTION_EVENT,J7=Q7.getterFor(Z7),e8=Q7.set,t8=W7&&W7.prototype,n8=W7,r8=t8,i8=F7.TypeError,o8=F7.document,a8=F7.process,s8=q7.f,c8=s8,l8=!!(o8&&o8.createEvent&&F7.dispatchEvent),u8="unhandledrejection",d8=function(e){var t;return!(!O7(e)||!C7(t=e.then))&&t},h8=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&m8(t),t.rejection=1),!0===s?n=o:(u&&u.enter(),n=s(o),u&&(u.exit(),i=!0)),n===e.promise?l(i8("Promise-chain cycle")):(r=d8(n))?P7(r,n,c,l):c(n)):l(o)}catch(d){u&&!i&&u.exit(),l(d)}},p8=function(e,t){e.notified||(e.notified=!0,N7((function(){for(var n,r=e.reactions;n=r.get();)h8(n,e);e.notified=!1,t&&!e.rejection&&g8(e)})))},f8=function(e,t,n){var r,i;l8?((r=o8.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),F7.dispatchEvent(r)):r={promise:t,reason:n},!Y7&&(i=F7["on"+e])?i(r):e===u8&&V7("Unhandled promise rejection",n)},g8=function(e){P7(B7,F7,(function(){var t,n=e.facade,r=e.value;if(v8(e)&&(t=j7((function(){A7?a8.emit("unhandledRejection",r,n):f8(u8,n,r)})),e.rejection=A7||v8(e)?2:1,t.error))throw t.value}))},v8=function(e){return 1!==e.rejection&&!e.parent},m8=function(e){P7(B7,F7,(function(){var t=e.facade;A7?a8.emit("rejectionHandled",t):f8("rejectionhandled",t,e.value)}))},y8=function(e,t,n){return function(r){e(t,r,n)}},_8=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,p8(e,!0))},G8=function e(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw i8("Promise can't be resolved itself");var i=d8(n);i?N7((function(){var r={done:!1};try{P7(i,n,y8(e,r,t),y8(_8,r,t))}catch(o){_8(r,o,t)}})):(t.value=n,t.state=1,p8(t,!1))}catch(o){_8({done:!1},o,t)}}};$7&&(r8=(n8=function(e){L7(this,r8),H7(e),P7(D7,this);var t=J7(this);try{e(y8(G8,t),y8(_8,t))}catch(n){_8(t,n)}}).prototype,(D7=function(e){e8(this,{type:Z7,done:!1,notified:!1,parent:!1,reactions:new K7,rejection:!1,state:0,value:void 0})}).prototype=I7(r8,"then",(function(e,t){var n=J7(this),r=s8(U7(this,n8));return n.parent=!0,r.ok=!C7(e)||e,r.fail=C7(t)&&t,r.domain=A7?a8.domain:void 0,0==n.state?n.reactions.add(r):N7((function(){h8(r,n)})),r.promise})),z7=function(){var e=new D7,t=J7(e);this.promise=e,this.resolve=y8(G8,t),this.reject=y8(_8,t)},q7.f=s8=function(e){return e===n8||undefined===e?new z7(e):c8(e)}),k7({global:!0,constructor:!0,wrap:!0,forced:$7},{Promise:n8}),x7(n8,Z7,!1,!0),X7(Z7);var R8=_Q("iterator"),b8=!1;try{var T8=0,w8={next:function(){return{done:!!T8++}},return:function(){b8=!0}};w8[R8]=function(){return this},GM(w8,(function(){throw 2}))}catch(ZO){}var S8=function(e,t){if(!t&&!b8)return!1;var n=!1;try{var r={};r[R8]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},M8=a7,E8=T7.CONSTRUCTOR||!S8((function(e){M8.all(e).then(void 0,(function(){}))})),D8=Oj,z8=CK,k8=w7,A8=o7,F8=g4;xW({target:"Promise",stat:!0,forced:E8},{all:function(e){var t=this,n=k8.f(t),r=n.resolve,i=n.reject,o=A8((function(){var n=z8(t.resolve),o=[],a=0,s=1;F8(e,(function(e){var c=a++,l=!1;s++,D8(n,t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise}});var P8=xW,I8=T7.CONSTRUCTOR;a7&&a7.prototype,P8({target:"Promise",proto:!0,forced:I8,real:!0},{catch:function(e){return this.then(void 0,e)}});var x8=Oj,X8=CK,H8=w7,C8=o7,O8=g4;xW({target:"Promise",stat:!0,forced:E8},{race:function(e){var t=this,n=H8.f(t),r=n.reject,i=C8((function(){var i=X8(t.resolve);O8(e,(function(e){x8(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var L8=Oj,U8=w7;xW({target:"Promise",stat:!0,forced:T7.CONSTRUCTOR},{reject:function(e){var t=U8.f(this);return L8(t.reject,void 0,e),t.promise}});var B8=lW,N8=sK,V8=w7,j8=function(e,t){if(B8(e),N8(t)&&t.constructor===e)return t;var n=V8.f(e);return(0,n.resolve)(t),n.promise},K8=xW,Q8=a7,W8=T7.CONSTRUCTOR,q8=j8,Z8=pK("Promise"),$8=!W8;K8({target:"Promise",stat:!0,forced:true},{resolve:function(e){return q8($8&&this===Z8?Q8:this,e)}});var Y8=Oj,J8=CK,e9=w7,t9=o7,n9=g4;xW({target:"Promise",stat:!0,forced:E8},{allSettled:function(e){var t=this,n=e9.f(t),r=n.resolve,i=n.reject,o=t9((function(){var n=J8(t.resolve),i=[],o=0,a=1;n9(e,(function(e){var s=o++,c=!1;a++,Y8(n,t,e).then((function(e){c||(c=!0,i[s]={status:"fulfilled",value:e},--a||r(i))}),(function(e){c||(c=!0,i[s]={status:"rejected",reason:e},--a||r(i))}))})),--a||r(i)}));return o.error&&i(o.value),n.promise}});var r9=Oj,i9=CK,o9=pK,a9=w7,s9=o7,c9=g4,l9="No one promise resolved";xW({target:"Promise",stat:!0,forced:E8},{any:function(e){var t=this,n=o9("AggregateError"),r=a9.f(t),i=r.resolve,o=r.reject,a=s9((function(){var r=i9(t.resolve),a=[],s=0,c=1,l=!1;c9(e,(function(e){var u=s++,d=!1;c++,r9(r,t,e).then((function(e){d||l||(l=!0,i(e))}),(function(e){d||l||(d=!0,a[u]=e,--c||o(new n(a,l9)))}))})),--c||o(new n(a,l9))}));return a.error&&o(a.value),r.promise}});var u9=xW,d9=a7,h9=hj,p9=pK,f9=Ij,g9=t3,v9=j8,m9=d9&&d9.prototype;u9({target:"Promise",proto:!0,real:!0,forced:!!d9&&h9((function(){m9.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=g9(this,p9("Promise")),n=f9(e);return this.then(n?function(n){return v9(t,e()).then((function(){return n}))}:e,n?function(n){return v9(t,e()).then((function(){throw n}))}:e)}});var y9=cK.Promise,_9=w7;xW({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var e=_9.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var G9=w7,R9=o7;xW({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=G9.f(this),n=R9(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}});var b9=y9,T9=lj(b9),w9=xW,S9=HW,M9=Tj(Fk([])),E9=[1,2];w9({target:"Array",proto:!0,forced:String(E9)===String(Fk(E9).call(E9))},{reverse:function(){return S9(this)&&(this.length=this.length),M9(this)}});var D9=Fk(O2("Array")),z9=fK,k9=D9,A9=Array.prototype,F9=function(e){var t=Fk(e);return e===A9||z9(A9,e)&&t===Fk(A9)?k9:t},P9=F9,I9=lj(P9),x9=xW,X9=HW,H9=Sq,C9=sK,O9=iZ,L9=KW,U9=iK,B9=YW,N9=_Q,V9=FJ,j9=Xq("slice"),K9=N9("species"),Q9=Array,W9=Math.max;x9({target:"Array",proto:!0,forced:!j9},{slice:function(e,t){var n,r,i,o=U9(this),a=L9(o),s=O9(e,a),c=O9(void 0===t?a:t,a);if(X9(o)&&(n=o.constructor,(H9(n)&&(n===Q9||X9(n.prototype))||C9(n)&&null===(n=n[K9]))&&(n=void 0),n===Q9||void 0===n))return V9(o,s,c);for(r=new(void 0===n?Q9:n)(W9(c-s,0)),i=0;s<c;s++,i++)s in o&&B9(r,i,o[s]);return r.length=i,r}});var q9=mG(O2("Array")),Z9=fK,$9=q9,Y9=Array.prototype,J9=function(e){var t=mG(e);return e===Y9||Z9(Y9,e)&&t===mG(Y9)?$9:t},eee=J9,tee=lj(eee);function nee(){nee=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=i6||function(e,t,n){e[t]=n.value},i="function"==typeof d2?d2:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return i6(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(E){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=h6(o.prototype),s=new w(i||[]);return r(a,"_invoke",{value:G(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var d={};function h(){}function p(){}function f(){}var g={};c(g,o,(function(){return this}));var v=v6&&v6(v6(S([])));v&&v!==t&&n.call(v,o)&&(g=v);var m=f.prototype=h.prototype=h6(g);function y(e){var t;F5(t=["next","throw","return"]).call(t,(function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function i(r,o,a,s){var c=u(e[r],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==k2(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return i("throw",e,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function G(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=R(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function R(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,R(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;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,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function b(e){var t,n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),y5(t=this.tryEntries).call(t,n)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],F5(e).call(e,b,this),this.reset(!0)}function S(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=f,r(m,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:p,configurable:!0}),p.displayName=c(f,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 m6?m6(e,f):(e.__proto__=f,c(e,s,"GeneratorFunction")),e.prototype=h6(m),e},e.awrap=function(e){return{__await:e}},y(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=T9);var a=new _(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(m),c(m,s,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)y5(n).call(n,r);return I9(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,w.prototype={constructor:w,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,F5(t=this.tryEntries).call(t,T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+tee(r).call(r,1))&&(this[r]=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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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,d):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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function ree(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):T9.resolve(c).then(r,i)}function iee(e){return function(){var t=this,n=arguments;return new T9((function(r,i){var o=e.apply(t,n);function a(e){ree(o,r,i,a,s,"next",e)}function s(e){ree(o,r,i,a,s,"throw",e)}a(void 0)}))}}function oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),i6(e,a6(r.key),r)}}function see(e,t,n){return t&&aee(e.prototype,t),n&&aee(e,n),i6(e,"prototype",{writable:!1}),e}var cee=lj(b9),lee=lj(A5),uee=lj(P2),dee=cK,hee=yj;dee.JSON||(dee.JSON={stringify:PT});var pee=function(e,t,n){return hee(dee.JSON.stringify,null,arguments)},fee=lj(pee),gee=Xj,vee=Oj,mee=hj,yee=RZ,_ee=l$,Gee=Lj,Ree=nQ,bee=$j,Tee=zT,wee=VG,See=Tj(b_([])),Mee=!Tee||mee((function(){var e;if(gee&&1!==Tee({b:1},Tee(wee({},"a",{enumerable:!0,get:function(){wee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},r=YG(),i="abcdefghijklmnopqrst";return t[r]=7,qG(e=i.split("")).call(e,(function(e){n[e]=e})),7!=Tee({},t)[r]||yee(Tee({},n)).join("")!=i}))?function(e,t){for(var n=Ree(e),r=arguments.length,i=1,o=_ee.f,a=Gee.f;r>i;)for(var s,c=bee(arguments[i++]),l=o?See(yee(c),o(c)):yee(c),u=l.length,d=0;u>d;)s=l[d++],gee&&!vee(a,c,s)||(n[s]=c[s]);return n}:Tee;xW({target:"Object",stat:!0,arity:2,forced:zT!==Mee},{assign:Mee});var Eee=lj(cK.Object.assign),Dee=b_(O2("Array")),zee=fK,kee=Dee,Aee=Array.prototype,Fee=function(e){var t=b_(e);return e===Aee||zee(Aee,e)&&t===b_(Aee)?kee:t},Pee=lj(Fee),Iee=lj(j2),xee=xW,Xee=DS(sY);xee({target:"Array",proto:!0,forced:!Xq("map")},{map:function(e){return Xee(this,e,arguments.length>1?arguments[1]:void 0)}});var Hee=DS(O2("Array")),Cee=fK,Oee=Hee,Lee=Array.prototype,Uee=function(e){var t=DS(e);return e===Lee||Cee(Lee,e)&&t===DS(Lee)?Oee:t},Bee=lj(Uee),Nee=xW,Vee=bw(lZ);Nee({target:"Array",proto:!0,forced:hj((function(){var e;return!bw(e=Array(1)).call(e)}))},{includes:function(e){return Vee(this,e,arguments.length>1?arguments[1]:void 0)}});var jee=bw(O2("Array")),Kee=sK,Qee=Ej,Wee=_Q("match"),qee=function(e){var t;return Kee(e)&&(void 0!==(t=e[Wee])?!!t:"RegExp"==Qee(e))},Zee=TypeError,$ee=_Q("match"),Yee=xW,Jee=function(e){if(qee(e))throw Zee("The method doesn't accept regular expressions");return e},ete=tK,tte=Jq,nte=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[$ee]=!1,"/./"[e](t)}catch(r){}}return!1},rte=Tj(hR(""));Yee({target:"String",proto:!0,forced:!nte("includes")},{includes:function(e){return!!~rte(tte(ete(this)),tte(Jee(e)),arguments.length>1?arguments[1]:void 0)}});var ite=bw(O2("String")),ote=fK,ate=jee,ste=ite,cte=Array.prototype,lte=String.prototype,ute=function(e){var t=bw(e);return e===cte||ote(cte,e)&&t===bw(cte)?ate:"string"==typeof e||e===lte||ote(lte,e)&&t===bw(lte)?ste:t},dte=lj(ute);function hte(e){return function(t){var n;return null==t?void 0:dte(n=t.split("?")[0].toLowerCase()).call(n,e)}}var pte=hte(".m3u8"),fte=hte(".mp4"),gte=hte(".flv"),vte=hte(".sdp"),mte=hte(".mpd");function yte(e,t){try{"object"===("undefined"==typeof window?"undefined":k2(window))&&window.localStorage&&window.localStorage.setItem(e,t)}catch(n){}}function _te(e){try{return"object"===("undefined"==typeof window?"undefined":k2(window))&&window.localStorage?window.localStorage.getItem(e):null}catch(t){return null}}function Gte(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}function Rte(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[Gte(n)]=e[n]);return t}dV({__proto__:null,camelToSnake:Gte,convertToSnakeCase:Rte,getLocalStorage:_te,getStreamType:function(e){return pte(e)?"hls":gte(e)?"flv":vte(e)?"rtm":fte(e)?"mp4":mte(e)?"dash":"unknown"},isDash:mte,isFlv:gte,isHls:pte,isMp4:fte,isRtm:vte,removeLocalStorage:function(e){try{return"object"===("undefined"==typeof window?"undefined":k2(window))&&window.localStorage?window.localStorage.removeItem(e):null}catch(t){return null}},setLocalStorage:yte});var bte=xW,Tte=Date,wte=Tj(Tte.prototype.getTime);bte({target:"Date",stat:!0},{now:function(){return wte(new Tte)}});var Ste=lj(cK.Date.now),Mte=function(e){return e.VOD="VOD",e.LIVE="LIVE",e}(Mte||{}),Ete=function(e){return e.CN="cn",e.SG="sg",e.US="us",e}(Ete||{}),Dte=function(e){return e.MP4="mp4",e.DASH="dash",e}(Dte||{}),zte=function(e){return e.h265="h265",e.adaptRange="adaptRange",e.preload="preload",e}(zte||{}),kte={info:3,warn:2,error:1},Ate=function(){function e(t,n){var r=this;oee(this,e),s6(this,"logger",void 0),s6(this,"level",void 0),s6(this,"customLogger",void 0),this.level=null==n?void 0:n.level,this.customLogger=null==n?void 0:n.logger,this.logger=function(e,n){var i,o,a,s;try{s="1.1.0-rc.0"}catch(T){s="--"}for(var c,l,u,d,h,p,f,g,v,m,y,_=Pee(i=Pee(o="[".concat(t,"][")).call(o,s,"][")).call(i,n,"]"),G=arguments.length,R=new Array(G>2?G-2:0),b=2;b<G;b++)R[b-2]=arguments[b];if(r.customLogger)return"info"===e?r.customLogger.info?(d=r.customLogger).info.apply(d,Pee(h=[_]).call(h,R)):null===(p=(f=r.customLogger).log)||void 0===p?void 0:p.call.apply(p,Pee(g=[f,_]).call(g,R)):null===(c=(l=r.customLogger)[e])||void 0===c?void 0:c.call.apply(c,Pee(u=[l,_]).call(u,R));((null!==(a=r.level)&&void 0!==a?a:1)>=kte[e]||"undefined"!=typeof window&&r._checkOpenLog())&&(null===(v=window.console)||void 0===v||null===(m=v[e])||void 0===m||m.call.apply(m,Pee(y=[v,_]).call(y,R)))}}return see(e,[{key:"update",value:function(e){var t=e||{},n=t.logger,r=t.level;this.updateLevel(r),this.updateLogger(n)}},{key:"info",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Pee(t=["info",e]).call(t,r))}},{key:"warn",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Pee(t=["warn",e]).call(t,r))}},{key:"error",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.logger.apply(this,Pee(t=["error",e]).call(t,r))}},{key:"updateLevel",value:function(e){void 0!==k2(e)&&(this.level=e)}},{key:"updateLogger",value:function(e){e&&(this.customLogger=e)}},{key:"_checkOpenLog",value:function(){try{return!!window.localStorage.getItem("VESTRATEGY_LOG")}catch(e){return!1}}}]),e}(),Fte="VESTRATEGY_DEVICE_INFO",Pte="VESTRATEGY_DEVICE_INFO_LIVE",Ite="STRATEGY_SERVICE_CONFIG",xte="STRATEGY_SERVICE_CONFIG_LIVE",Xte=new Ate("VeStrategy"),Hte=function(){function e(t,n){oee(this,e),s6(this,"initStrategyConfig",void 0),s6(this,"serviceStrategyConfigLoader",void 0),s6(this,"serviceStrategyConfig",void 0),s6(this,"appConfig",void 0),s6(this,"videoType",void 0),this.videoType=t.type||Mte.VOD,this.initStrategyConfig=t.strategies,this.appConfig=t,this.serviceStrategyConfigLoader=n,Xte.update(t.log)}var t;return see(e,[{key:"getInitStrategyConfig",value:function(){return this.initStrategyConfig}},{key:"getServiceStrategyConfig",value:function(){if(this.serviceStrategyConfig)return this.serviceStrategyConfig;try{var e=_te(Mte.LIVE===this.videoType?xte:Ite);e&&(this.serviceStrategyConfig=JSON.parse(e))}catch(t){}return this.serviceStrategyConfig}},{key:"fetchStrategyConfig",value:(t=iee(nee().mark((function e(){var t;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.needFetchStrategyConfig()){e.next=3;break}return Xte.info("UseLocalStrategyConfig"),e.abrupt("return");case 3:if(e.prev=3,!this.serviceStrategyConfigLoader){e.next=8;break}return e.next=7,this.serviceStrategyConfigLoader.fetch();case 7:t=e.sent;case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),Xte.warn("FetchStrategyConfigError",fee({message:null===e.t0||void 0===e.t0?void 0:e.t0.message,name:null===e.t0||void 0===e.t0?void 0:e.t0.name}));case 13:yte(Mte.LIVE===this.videoType?xte:Ite,fee(t)),Xte.info("ServiceStrategyConfig",t),this.serviceStrategyConfig=t||void 0;case 16:case"end":return e.stop()}}),e,this,[[3,10]])}))),function(){return t.apply(this,arguments)})},{key:"updateStrategyConfig",value:function(){}},{key:"getStrategyConfig",value:function(){}},{key:"getStrategyConfigByName",value:function(){}},{key:"getAppConfig",value:function(){return this.appConfig}},{key:"needFetchStrategyConfig",value:function(){var e;return this.getServiceStrategyConfig(),!this.serviceStrategyConfig||!this.serviceStrategyConfig.use_local_cache||!!(this.serviceStrategyConfig.local_cache_expired_at&&Ste()>this.serviceStrategyConfig.local_cache_expired_at)||this.serviceStrategyConfig.cache_key!==(null===(e=this.serviceStrategyConfigLoader)||void 0===e?void 0:e.getCacheKey())}}]),e}(),Cte=Tj,Ote=CK,Lte=sK,Ute=oQ,Bte=FJ,Nte=pj,Vte=Function,jte=Cte(b_([])),Kte=Cte([].join),Qte={},Wte=Nte?z_(Vte):function(e){var t=Ote(this),n=t.prototype,r=Bte(arguments,1),i=function n(){var i=jte(r,Bte(arguments));return this instanceof n?function(e,t,n){if(!Ute(Qte,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";Qte[t]=Vte("C,a","return new C("+Kte(r,",")+")")}return Qte[t](e,n)}(t,i.length,i):t.apply(e,i)};return Lte(n)&&(i.prototype=n),i},qte=Wte;xW({target:"Function",proto:!0,forced:z_(Function)!==qte},{bind:qte});var Zte=z_(O2("Function")),$te=fK,Yte=Zte,Jte=Function.prototype,ene=function(e){var t=z_(e);return e===Jte||$te(Jte,e)&&t===z_(Jte)?Yte:t},tne=lj(ene);function nne(e,t){var n;return(nne=m6?tne(n=m6).call(n):function(e,t){return e.__proto__=t,e})(e,t)}function rne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=h6(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i6(e,"prototype",{writable:!1}),t&&nne(e,t)}var ine=xW,one=yj,ane=Wte,sne=Z4,cne=lW,lne=sK,une=KZ,dne=hj,hne=pK("Reflect","construct"),pne=Object.prototype,fne=[].push,gne=dne((function(){function e(){}return!(hne((function(){}),[],e)instanceof e)})),vne=!dne((function(){hne((function(){}))})),mne=gne||vne;ine({target:"Reflect",stat:!0,forced:mne,sham:mne},{construct:function(e,t){sne(e),cne(t);var n=arguments.length<3?e:sne(arguments[2]);if(vne&&!gne)return hne(e,t,n);if(e==n){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 r=[null];return one(fne,r,t),new(one(ane,e,r))}var i=n.prototype,o=une(lne(i)?i:pne),a=one(e,o,t);return lne(a)?a:o}});var yne=lj(cK.Reflect.construct);function _ne(e){var t;return(_ne=m6?tne(t=v6).call(t):function(e){return e.__proto__||v6(e)})(e)}function Gne(){if("undefined"==typeof Reflect||!yne)return!1;if(yne.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(yne(Boolean,[],(function(){}))),!0}catch(ZO){return!1}}function Rne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bne(e){var t=Gne();return function(){var n,r=_ne(e);if(t){var i=_ne(this).constructor;n=yne(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===k2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rne(e)}(this,n)}}var Tne=lj(r6),wne=Tne,Sne=function(e,t,n){return function(e,t,n){t in e?wne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==k2(t)?t+"":t,n),n},Mne=function(){function e(t){oee(this,e),Sne(this,"options"),Sne(this,"scores"),this.options=t,this.scores=[],this._init()}return see(e,[{key:"_init",value:function(){var e,t=this;lee(e=uee(this.options.plugins)).call(e,(function(e){var n=t.options.plugins[e];n.ignore||(n.cls&&(n.instance=new n.cls(n)),n.instance&&t.scores.push(new cee((function(t){n.instance.getScore().then((function(r){t({key:e,factor:n.factor,val:r})}))}))))}))}},{key:"getScore",value:function(){var e=this;return new cee((function(t){cee.all(e.scores).then((function(e){var n={},r=0,i=0;lee(e).call(e,(function(e){var t=e.factor;e.val.score>0&&(i+=t)})),i=0===i?1:i;for(var o=0;o<e.length;o++){var a=e[o];r+=a.factor/i*a.val.score,n[a.key]=a.val}n.score=r,t(n)})).catch(console.log)}))}}]),e}(),Ene=function(e){rne(n,Mne);var t=bne(n);function n(e){return oee(this,n),t.call(this,e)}return see(n)}(),Dne=function(e){rne(n,Mne);var t=bne(n);function n(e){return oee(this,n),t.call(this,e)}return see(n)}(),zne=function(e){rne(n,Mne);var t=bne(n);function n(e){return oee(this,n),t.call(this,e)}return see(n)}(),kne=Tne,Ane=function(e,t,n){return function(e,t,n){t in e?kne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==k2(t)?t+"":t,n),n},Fne=function(e){rne(n,Mne);var t=bne(n);function n(){var e;return oee(this,n),e=t.apply(this,arguments),Ane(Rne(e),"_player"),e}return see(n,[{key:"setPlayer",value:function(e,t){var n,r,i=this;e&&(this._player=e,e.on("timeupdate",(function o(){if(e.video&&e.video.getVideoPlaybackQuality){if(r){if(Ste()-n>1e3)try{e.off("timeupdate",o);var a=e.video.getVideoPlaybackQuality();localStorage.setItem("player_".concat(t,"_fps"),a.totalVideoFrames-r+"")}catch(c){}}else if(i.bufferLength>1){var s=e.video.getVideoPlaybackQuality();r=s.totalVideoFrames,n=Ste()}}else e.off("timeupdate",o)})))}},{key:"bufferLength",get:function(){var e=this._player.getBufferedRange();if(!this._player.video)return 0;var t=this._player.video.currentTime,n=e[1]-Math.max(e[0],t);return Math.max(0,n)}}]),n}(),Pne=xW,Ine=Math.log,xne=Math.LN2;Pne({target:"Math",stat:!0},{log2:function(e){return Ine(e)/xne}});var Xne=lj(cK.Math.log2),Hne=function(){function e(){oee(this,e)}return see(e,[{key:"getScore",value:function(){return new cee((function(e){var t=navigator.hardwareConcurrency,n=0;if(t>0){var r=Xne(t);n=r<=2?3*r:r<=3?1.6*(r-2)+6:.523*(r-3)+7.6}e({score:n,origin:t})}))}}]),e}(),Cne=new Hne,One=Math.log,Lne=Math.LOG10E,Une=fV||function(e){return One(e)*Lne};xW({target:"Math",stat:!0},{log10:Une});var Bne=lj(cK.Math.log10),Nne=Tne,Vne=function(e,t,n){return function(e,t,n){t in e?Nne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==k2(t)?t+"":t,n),n},jne=function(){function e(){oee(this,e),Vne(this,"_worker"),Vne(this,"_getScoreCallback",(function(){}))}return see(e,[{key:"getScore",value:function(){return new cee((function(e){try{var t=new Image;t.src="//lf6-cdn-tos.douyinstatic.com/obj/venus/pc-theme/spring/20230411-162827.jpeg",t.onload=function(){var n=Ste();"function"==typeof t.decode?t.decode().then((function(){var t=1e3/(Ste()-n),r=0;if(t>0){var i=Bne(t);r=i<=1?6*i:i<=2?1.6*(i-1)+6:2.4*(i-2)+7.6}e({score:r,origin:t})})):e({score:0,origin:-1})}}catch(n){e({score:0,origin:-1})}}))}}]),e}(),Kne=new jne,Qne=nQ,Wne=iZ,qne=KW,Zne=function(e){for(var t=Qne(this),n=qne(t),r=arguments.length,i=Wne(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:Wne(o,n);a>i;)t[i++]=e;return t};xW({target:"Array",proto:!0},{fill:Zne});var $ne=Ak(O2("Array")),Yne=fK,Jne=$ne,ere=Array.prototype,tre=function(e){var t=Ak(e);return e===ere||Yne(ere,e)&&t===Ak(ere)?Jne:t},nre=lj(tre),rre=function(){function e(){oee(this,e)}return see(e,[{key:"_getOrigin",value:function(){var e=new Uint8Array(3686400);nre(e).call(e,8);var t=performance.now();return 1e3/(performance.now()-t)}},{key:"getScore",value:function(){var e=this;return new cee((function(t){t({score:0,origin:e._getOrigin()})}))}}]),e}(),ire=new rre,ore=function(){function e(){oee(this,e)}return see(e,[{key:"getScore",value:function(){return new cee((function(e){e({score:0,origin:navigator.deviceMemory})}))}}]),e}(),are=new ore,sre=function(){function e(){oee(this,e)}return see(e,[{key:"getScore",value:function(){return new cee((function(e){var t,n=null==(t=null==navigator?void 0:navigator.connection)?void 0:t.downlink,r=0;n>0&&n<1e6&&(r=n<1?60*n:n<5?.4*(n-1)+6.01:.02*(n-5)+7.61),e({score:r,origin:n})}))}}]),e}(),cre=new sre,lre=CK,ure=nQ,dre=$j,hre=KW,pre=TypeError,fre=function(e){return function(t,n,r,i){lre(n);var o=ure(t),a=dre(o),s=hre(o),c=e?s-1:0,l=e?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=l;break}if(c+=l,e?c<0:s<=c)throw pre("Reduce of empty array with no initial value")}for(;e?c>=0:s>c;c+=l)c in a&&(i=n(i,a[c],c,o));return i}},gre={left:fre(!1),right:fre(!0)}.left;xW({target:"Array",proto:!0,forced:!C4&&bK>79&&bK<83||!G5("reduce")},{reduce:function(e){var t=arguments.length;return gre(this,e,t,t>1?arguments[1]:void 0)}});var vre=iX(O2("Array")),mre=fK,yre=vre,_re=Array.prototype,Gre=function(e){var t=iX(e);return e===_re||mre(_re,e)&&t===iX(_re)?yre:t},Rre=lj(Gre),bre=function(){function e(){oee(this,e)}return see(e,[{key:"_getBandwidth",value:function(){var e;if(!performance.getEntries)return-1;var t=Iee(e=performance.getEntries()).call(e,(function(e){var t=e.initiatorType,n=e.decodedBodySize;return"img"===t&&n>0})),n=Rre(t).call(t,(function(e,t){return e+1e3*t.decodedBodySize/(t.responseEnd-t.responseStart)}),0);return t.length?n/t.length/1024:0}},{key:"getScore",value:function(){var e=this;return new cee((function(t,n){try{var r=e._getBandwidth(),i=0;r>0&&r<1e6&&(i=r<1?60*performance_speed:r<5?.4*(performance_speed-1)+6.01:.02*(performance_speed-5)+7.61),t({score:i,origin:r})}catch(o){t({score:0,origin:-1})}}))}}]),e}(),Tre=new bre,wre=function(e){return e.H264="h264",e.H265="h265",e}(wre||{}),Sre=Tne,Mre=function(e,t,n){return function(e,t,n){t in e?Sre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==k2(t)?t+"":t,n),n},Ere=function(){function e(t){oee(this,e),Mre(this,"_origin"),Mre(this,"_codec"),this._codec=t}return see(e,[{key:"_getOrigin",value:function(){try{var e=localStorage.getItem("player_".concat(this._codec,"_fps"))||-1;return Number(e)}catch(t){return-1}}},{key:"getScore",value:function(){var e=this;return new cee((function(t){var n=e._origin||e._getOrigin(),r=0;n>0&&n<=120&&(r=n<=30?.2*n:n<=60?.0533*(n-30)+6:.04*(n-60)+7.6),t({score:r,origin:n})}))}}]),e}(),Dre={plugins:{cpu:{cls:Ene,factor:8,plugins:{cpu_core_number:{factor:4,instance:Cne},decodeImg:{factor:3,instance:Kne}}},memory:{cls:Dne,factor:0,plugins:{copy:{factor:5,instance:ire},usage:{factor:5,instance:are}}},net:{cls:zne,factor:9,plugins:{downlink:{factor:5,instance:cre},performance:{factor:4,instance:Tre}}},render:{cls:Fne,factor:0,plugins:{avc:{factor:5,instance:new(function(e){rne(n,Ere);var t=bne(n);function n(e){return oee(this,n),t.call(this,e)}return see(n)}())(wre.H264)},hevc:{factor:5,instance:new(function(e){rne(n,Ere);var t=bne(n);function n(e){return oee(this,n),t.call(this,e)}return see(n)}())(wre.H265)}}}}},zre=function(e){rne(n,Mne);var t=bne(n);function n(e){return oee(this,n),t.call(this,Eee({},Dre,e))}return see(n,[{key:"setPlayer",value:function(e,t){var n,r;(null==(n=this.options.plugins.render)?void 0:n.instance)&&(null==(r=this.options.plugins.render)||r.instance.setPlayer(e,t))}}]),n}(),kre="\t\n\v\f\r                 \u2028\u2029\ufeff",Are=tK,Fre=Jq,Pre=kre,Ire=Tj("".replace),xre=RegExp("^["+Pre+"]+"),Xre=RegExp("(^|[^"+Pre+"])["+Pre+"]+$"),Hre=function(e){return function(t){var n=Fre(Are(t));return 1&e&&(n=Ire(n,xre,"")),2&e&&(n=Ire(n,Xre,"$1")),n}},Cre={start:Hre(1),end:Hre(2),trim:Hre(3)},Ore=w0.PROPER,Lre=hj,Ure=kre,Bre=xW,Nre=pE(Cre),Vre=function(e){return Lre((function(){return!!Ure[e]()||"​…᠎"!=="​…᠎"[e]()||Ore&&Ure[e].name!==e}))};Bre({target:"String",proto:!0,forced:Vre("trim")},{trim:function(){return Nre(this)}});var jre=pE(O2("String")),Kre=fK,Qre=jre,Wre=String.prototype,qre=function(e){var t=pE(e);return"string"==typeof e||e===Wre||Kre(Wre,e)&&t===pE(Wre)?Qre:t},Zre=lj(qre),$re=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,Yre=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,Jre="OpenGL Engine",eie="Unknow",tie=4318,nie=32902,rie=4098,iie=function(e){return e.CpuDeriver="CpuDeriver",e.Intel="Intel",e.Nvidia="NVIDIA",e.Amd="AMD",e.Apple="Apple",e[e.Unknow=eie]="Unknow",e}(iie||{});function oie(e){return"NVIDIA"===e?tie:"AMD"===e?rie:"Intel"===e?nie:0}function aie(e){var t,n,r,i,o=function(e){var t=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple)/.exec(e);return t?"Radeon"===t[0]?"AMD":"SwiftShader"===t[0]?"CpuDeriver":t[0]:iie.Unknow}(e);return o===iie.Unknow||"CpuDeriver"===o?{vendor:o,vendorId:0,model:eie,backupModel:eie,api:eie}:/^ANGLE/.test(e)?function(e,t){var n,r,i,o,a,s=eie,c=eie,l=eie;return"Intel"!==e&&"NVIDIA"!==e||(n=$re.exec(t)),"AMD"!==e&&"Apple"!==e||(n=Yre.exec(t)),(null==n?void 0:n[1])&&(null==n?void 0:n[2])&&(s=Zre(r=n[1].replace(/(AMD|NVIDIA)/,"")).call(r),l=Zre(i=n[2]).call(i)),c="Intel"===e?s=Zre(o=s.split(Jre)[0]).call(o):Zre(a=s.split(Jre)[0]).call(a),{vendor:e,vendorId:oie(e),model:s,backupModel:c,api:l}}(o,e):"Intel"===o?{vendor:o,vendorId:oie(o),model:Zre(r=e.split(Jre)[0]).call(r),backupModel:Zre(i=e.split(Jre)[0]).call(i),api:eie}:{vendor:o,vendorId:oie(o),model:Zre(t=e.replace(/(AMD|NVIDIA)/,"")).call(t),backupModel:Zre(n=e.split(Jre)[0].replace(/(AMD|NVIDIA)/,"")).call(n),api:eie}}var sie=dj,cie=hj,lie=Tj,uie=Jq,die=pE(Cre),hie=kre,pie=sie.parseInt,fie=sie.Symbol,gie=fie&&fie.iterator,vie=/^[+-]?0x/i,mie=lie(vie.exec),yie=8!==pie(hie+"08")||22!==pie(hie+"0x16")||gie&&!cie((function(){pie(Object(gie))}))?function(e,t){var n=die(uie(e));return pie(n,t>>>0||(mie(vie,n)?16:10))}:pie;xW({global:!0,forced:Y_!=yie},{parseInt:yie});var _ie=lj(cK.parseInt),Gie=dj,Rie=hj,bie=Tj,Tie=Jq,wie=pE(Cre),Sie=kre,Mie=bie("".charAt),Eie=Gie.parseFloat,Die=Gie.Symbol,zie=Die&&Die.iterator,kie=1/Eie(Sie+"-0")!=-1/0||zie&&!Rie((function(){Eie(Object(zie))}))?function(e){var t=wie(Tie(e)),n=Eie(t);return 0===n&&"-"==Mie(t,0)?-0:n}:Eie;xW({global:!0,forced:iE!=kie},{parseFloat:kie});var Aie=lj(cK.parseFloat),Fie="g_ven";function Pie(e,t){var n,r;return n=t===iie.Intel?Bee(r=e.split("\n")).call(r,(function(e){return"Intel(R) ".concat(e)})):e.split("\n"),Bee(n).call(n,(function(e){return e.split("|")}))}function Iie(e){return 0===e?0:-1===e?-1:Aie(Xne(e).toFixed(2))}var xie={AMD_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_am.txt",INTEL_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_int.txt",NVIDIA_PATH:"https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/db/_nvi.txt"},Xie=[],Hie=[],Cie=[];function Oie(){return(Oie=iee(nee().mark((function e(t){var n,r,i;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==iie.Intel){e.next=4;break}if(!Xie.length){e.next=3;break}return e.abrupt("return",Xie);case 3:n=xie.INTEL_PATH;case 4:if(t!==iie.Nvidia){e.next=8;break}if(!Hie.length){e.next=7;break}return e.abrupt("return",Hie);case 7:n=xie.NVIDIA_PATH;case 8:if(t!==iie.Amd){e.next=12;break}if(!Cie.length){e.next=11;break}return e.abrupt("return",Cie);case 11:n=xie.AMD_PATH;case 12:if(n){e.next=14;break}return e.abrupt("return",cee.resolve([]));case 14:return e.prev=14,e.next=17,fetch(n).then((function(e){return e.text()}));case 17:return r=e.sent,i=Pie(r,t),t===iie.Intel&&(Xie=i),t===iie.Nvidia&&(Hie=i),t===iie.Amd&&(Cie=i),e.abrupt("return",i);case 25:e.prev=25,e.t0=e.catch(14);case 27:return e.abrupt("return",[]);case 28:case"end":return e.stop()}}),e,null,[[14,25]])})))).apply(this,arguments)}function Lie(e){return e?function(e){return Oie.apply(this,arguments)}(e.vendor).then((function(t){return function(e,t){var n=Iee(e).call(e,(function(e){return e[0]===t.model}));n.length||(n=Iee(e).call(e,(function(e){return e[0]===t.backupModel}))),n.length||t.vendor!==iie.Intel||/^Intel(R)/.test(t.model)||(n=Iee(e).call(e,(function(e){return e[0]==="Intel(R) "+t.model})));var r="-1";if(n.length){var i=n[0][1];r="-1"===i?"0":i}return _ie(r)}(t,e)})).then(Iie):cee.resolve(0)}var Uie="";function Bie(){return Uie||(Uie=function(){try{var e=localStorage.getItem(Fie)||"";if(e)return e;var t,n=document.createElement("canvas").getContext("webgl");if(n)return(e=(t=n.getExtension("WEBGL_debug_renderer_info"))?n.getParameter(t.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(Fie,e),e}catch(r){}return""}())}function Nie(e){var t;try{t=aie(e||Vie.getGPUVendor())}catch(n){return null}return t}var Vie=function(){function e(){oee(this,e)}return see(e,null,[{key:"getGPUVendor",value:function(){return Bie()}},{key:"parseVendorAsync",value:function(e){var t=Nie(e);return t?Lie(t).then((function(e){return l6(l6({},t||{}),{},{score:e})})).catch((function(){return null})):cee.resolve(null)}}]),e}();function jie(){var e=!1;if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return e;if(e=MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')){var t=Nie();e=!!t&&t.vendor!==iie.CpuDeriver}return e}var Kie=lj(P9),Qie=lj(eee),Wie=xW,qie=LS(sY),Zie=!0;"find"in[]&&LS(oj=Array(1)).call(oj,(function(){Zie=!1})),Wie({target:"Array",proto:!0,forced:Zie},{find:function(e){return qie(this,e,arguments.length>1?arguments[1]:void 0)}});var $ie=LS(O2("Array")),Yie=fK,Jie=$ie,eoe=Array.prototype,toe=function(e){var t=LS(e);return e===eoe||Yie(eoe,e)&&t===LS(eoe)?Jie:t},noe=lj(toe),roe=xW,ioe=bS(sY);roe({target:"Array",proto:!0,forced:!G5("some")},{some:function(e){return ioe(this,e,arguments.length>1?arguments[1]:void 0)}});var ooe=bS(O2("Array")),aoe=fK,soe=ooe,coe=Array.prototype,loe=function(e){var t=bS(e);return e===coe||aoe(coe,e)&&t===bS(coe)?soe:t},uoe=lj(loe),doe=xW,hoe=kj,poe=hR(lZ),foe=G5,goe=hoe(hR([])),voe=!!goe&&1/goe([1],1,-0)<0;doe({target:"Array",proto:!0,forced:voe||!foe("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return voe?goe(this,e,t)||0:poe(this,e,t)}});var moe=hR(O2("Array")),yoe=fK,_oe=moe,Goe=Array.prototype,Roe=function(e){var t=hR(e);return e===Goe||yoe(Goe,e)&&t===hR(Goe)?_oe:t},boe=lj(Roe),Toe=IK,woe=TypeError,Soe=xW,Moe=nQ,Eoe=iZ,Doe=BW,zoe=KW,koe=a5,Aoe=WW,Foe=Fq,Poe=YW,Ioe=function(e,t){if(!delete e[t])throw woe("Cannot delete property "+Toe(t)+" of "+Toe(e))},xoe=Xq("splice"),Xoe=Math.max,Hoe=Math.min;Soe({target:"Array",proto:!0,forced:!xoe},{splice:function(e,t){var n,r,i,o,a,s,c=Moe(this),l=zoe(c),u=Eoe(e,l),d=arguments.length;for(0===d?n=r=0:1===d?(n=0,r=l-u):(n=d-2,r=Hoe(Xoe(Doe(t),0),l-u)),Aoe(l+n-r),i=Foe(c,r),o=0;o<r;o++)(a=u+o)in c&&Poe(i,o,c[a]);if(i.length=r,n<r){for(o=u;o<l-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:Ioe(c,s);for(o=l;o>l-r+n;o--)Ioe(c,o-1)}else if(n>r)for(o=l-r;o>u;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:Ioe(c,s);for(o=0;o<n;o++)c[o+u]=arguments[o+2];return koe(c,l-r+n),i}});var Coe=sM(O2("Array")),Ooe=fK,Loe=Coe,Uoe=Array.prototype,Boe=function(e){var t=sM(e);return e===Uoe||Ooe(Uoe,e)&&t===sM(Uoe)?Loe:t},Noe=lj(Boe),Voe={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},joe={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},Koe={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},Qoe={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Woe={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"},qoe=function(){function e(){oee(this,e)}return see(e,null,[{key:"getFirstMatch",value:function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""}},{key:"getSecondMatch",value:function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""}},{key:"matchAndReturnConst",value:function(e,t,n){if(e.test(t))return n}},{key:"getWindowsVersionName",value:function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}},{key:"getMacOSVersionName",value:function(e){var t,n,r=Bee(t=Noe(n=e.split(".")).call(n,0,2)).call(t,(function(e){return _ie(e,10)||0}));if(r.push(0),10===r[0])switch(r[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}},{key:"getAndroidVersionName",value:function(e){var t,n,r=Bee(t=Noe(n=e.split(".")).call(n,0,2)).call(t,(function(e){return _ie(e,10)||0}));if(r.push(0),!(1===r[0]&&r[1]<5))return 1===r[0]&&r[1]<6?"Cupcake":1===r[0]&&r[1]>=6?"Donut":2===r[0]&&r[1]<2?"Eclair":2===r[0]&&2===r[1]?"Froyo":2===r[0]&&r[1]>2?"Gingerbread":3===r[0]?"Honeycomb":4===r[0]&&r[1]<1?"Ice Cream Sandwich":4===r[0]&&r[1]<4?"Jelly Bean":4===r[0]&&r[1]>=4?"KitKat":5===r[0]?"Lollipop":6===r[0]?"Marshmallow":7===r[0]?"Nougat":8===r[0]?"Oreo":9===r[0]?"Pie":void 0}},{key:"getVersionPrecision",value:function(e){return e.split(".").length}},{key:"compareVersions",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,c=Bee(e).call(e,[t,n],(function(t){var n,r=a-e.getVersionPrecision(t),i=t+new Array(r+1).join(".0");return Kie(n=Bee(e).call(e,i.split("."),(function(e){return new Array(20-e.length).join("0")+e}))).call(n)}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(c[0][a]>c[1][a])return 1;if(c[0][a]===c[1][a]){if(a===s)return 0;a-=1}else if(c[0][a]<c[1][a])return-1}}},{key:"map",value:function(e,t){var n,r=[];if(Bee(Array.prototype))return Bee(Array.prototype).call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r}},{key:"find",value:function(e,t){var n,r;if(noe(Array.prototype))return noe(Array.prototype).call(e,t);for(n=0,r=e.length;n<r;n+=1){var i=e[n];if(t(i,n))return i}}},{key:"assign",value:function(e){for(var t,n,r,i=e,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(Eee)return Eee.apply(Object,Pee(r=[e]).call(r,a));var c=function(){var e=a[t];if("object"===k2(e)&&null!==e){var n=uee(e);lee(n).call(n,(function(t){i[t]=e[t]}))}};for(t=0,n=a.length;t<n;t+=1)c();return e}},{key:"getBrowserAlias",value:function(e){return Voe[e]}},{key:"getBrowserTypeByAlias",value:function(e){return joe[e]||""}}]),e}(),Zoe=/version\/(\d+(\.?_?\d+)+)/i,$oe=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=qoe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=qoe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=qoe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=qoe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=qoe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=qoe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=qoe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=qoe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=qoe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=qoe.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=qoe.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=qoe.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=qoe.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=qoe.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=qoe.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=qoe.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=qoe.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=qoe.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=qoe.getFirstMatch(Zoe,e)||qoe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=qoe.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=qoe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=qoe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=qoe.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=qoe.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=qoe.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=qoe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=qoe.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=qoe.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=qoe.getFirstMatch(Zoe,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:qoe.getFirstMatch(t,e),version:qoe.getSecondMatch(t,e)}}}],Yoe=[{test:[/Roku\/DVP/],describe:function(e){var t=qoe.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:Qoe.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=qoe.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:Qoe.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=qoe.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=qoe.getWindowsVersionName(t);return{name:Qoe.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:Qoe.iOS},n=qoe.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=qoe.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=qoe.getMacOSVersionName(t),r={name:Qoe.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=qoe.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:Qoe.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=qoe.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=qoe.getAndroidVersionName(t),r={name:Qoe.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=qoe.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:Qoe.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=qoe.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||qoe.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||qoe.getFirstMatch(/\bbb(\d+)/i,e);return{name:Qoe.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=qoe.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:Qoe.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=qoe.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:Qoe.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:Qoe.Linux}}},{test:[/CrOS/],describe:function(){return{name:Qoe.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=qoe.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:Qoe.PlayStation4,version:t}}}],Joe=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=qoe.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:Koe.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:Koe.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:Koe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:Koe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:Koe.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:Koe.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:Koe.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=qoe.getFirstMatch(/(ipod|iphone)/i,e);return{type:Koe.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:Koe.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:Koe.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:Koe.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:Koe.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:Koe.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:Koe.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:Koe.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:Koe.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:Koe.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:Koe.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:Koe.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:Koe.tv}}}],eae=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:Woe.Blink};var t=qoe.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Woe.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:Woe.Trident},n=qoe.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:Woe.Presto},n=qoe.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:Woe.Gecko},n=qoe.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:Woe.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:Woe.WebKit},n=qoe.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}],tae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(oee(this,e),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==n&&this.parse()}return see(e,[{key:"getUA",value:function(){return this._ua}},{key:"test",value:function(e){return e.test(this._ua)}},{key:"parseBrowser",value:function(){var e=this;this.parsedResult.browser={};var t=noe(qoe).call(qoe,$oe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return uoe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}},{key:"getBrowser",value:function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}},{key:"getBrowserName",value:function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}},{key:"getBrowserVersion",value:function(){return this.getBrowser().version}},{key:"getOS",value:function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}},{key:"parseOS",value:function(){var e=this;this.parsedResult.os={};var t=noe(qoe).call(qoe,Yoe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return uoe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}},{key:"getOSName",value:function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""}},{key:"getOSVersion",value:function(){return this.getOS().version}},{key:"getPlatform",value:function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}},{key:"getPlatformType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""}},{key:"parsePlatform",value:function(){var e=this;this.parsedResult.platform={};var t=noe(qoe).call(qoe,Joe,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return uoe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}},{key:"getEngine",value:function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}},{key:"getEngineName",value:function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}},{key:"parseEngine",value:function(){var e=this;this.parsedResult.engine={};var t=noe(qoe).call(qoe,eae,(function(t){if("function"==typeof t.test)return t.test(e);var n;if(t.test instanceof Array)return uoe(n=t.test).call(n,(function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}},{key:"parse",value:function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}},{key:"getResult",value:function(){return qoe.assign({},this.parsedResult)}},{key:"satisfies",value:function(e){var t=this,n={},r=0,i={},o=0,a=uee(e);if(lee(a).call(a,(function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"===k2(a)&&(n[t]=a,r+=1)})),r>0){var s=uee(n),c=noe(qoe).call(qoe,s,(function(e){return t.isOS(e)}));if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}var u=noe(qoe).call(qoe,s,(function(e){return t.isPlatform(e)}));if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(o>0){var h=uee(i),p=noe(qoe).call(qoe,h,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(i[p])}}},{key:"isBrowser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=qoe.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n}},{key:"compareVersion",value:function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),boe(t).call(t,qoe.compareVersions(i,n,r))>-1}},{key:"isOS",value:function(e){return this.getOSName(!0)===String(e).toLowerCase()}},{key:"isPlatform",value:function(e){return this.getPlatformType(!0)===String(e).toLowerCase()}},{key:"isEngine",value:function(e){return this.getEngineName(!0)===String(e).toLowerCase()}},{key:"is",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)}},{key:"some",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return uoe(t).call(t,(function(t){return e.is(t)}))}}]),e}(),nae=function(){function e(){oee(this,e)}return see(e,null,[{key:"getParser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof e)throw new Error("UserAgent should be a string");return new tae(e,t)}},{key:"parse",value:function(e){return new tae(e).getResult()}},{key:"BROWSER_MAP",get:function(){return joe}},{key:"ENGINE_MAP",get:function(){return Woe}},{key:"OS_MAP",get:function(){return Qoe}},{key:"PLATFORMS_MAP",get:function(){return Koe}}]),e}(),rae=function(){function e(t){oee(this,e),s6(this,"featureList",void 0),s6(this,"videoType",void 0),this.videoType=t.type||Mte.VOD,this.featureList=l6(l6(l6(l6({deviceId:null==t?void 0:t.deviceId},this.initSync()),this.getGPUInfo()),this.getLocalDeviceMarkInfo()),this.getH265FeatureList())}var t;return see(e,[{key:"initSync",value:function(){return l6({},this.getBrowserInfo())}},{key:"updateFeatureList",value:function(e){return this.featureList=l6(l6({},this.featureList),e)}},{key:"getFeatureList",value:function(){return this.featureList}},{key:"getH265FeatureList",value:function(){return{isHevcSupported:jie()}}},{key:"getLocalDeviceMarkInfo",value:function(){var e=_te(this.videoType===Mte.LIVE?Pte:Fte),t={cpuScore:-1,netScore:-1,renderScore:-1};if(!e)return t;try{var n=JSON.parse(e);return{cpuScore:n.cpuScore,netScore:n.netScore,renderScore:n.renderScore}}catch(r){}return t}},{key:"getDeviceMarkInfoAsync",value:(t=iee(nee().mark((function e(){var t,n,r,i,o,a;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new zre({}),e.next=3,t.getScore();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0={};case 6:return n=e.t0,r=n.cpu,i=n.net,o=n.render,a={cpuScore:(null==r?void 0:r.score)||-1,netScore:(null==i?void 0:i.score)||-1,renderScore:(null==o?void 0:o.score)||-1},yte(this.videoType===Mte.LIVE?Pte:Fte,fee(a)),this.updateFeatureList(a),e.abrupt("return",a);case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getBrowserInfo",value:function(){var e=nae.getParser(navigator.userAgent);return{browserVersion:e.getBrowserVersion(),browserName:e.getBrowserName(),cpuCore:navigator.hardwareConcurrency,osName:e.getOSName(),osVersion:e.getOSVersion(),platformType:e.getPlatformType(),engineName:e.getEngineName()}}},{key:"getGPUInfo",value:function(){try{var e=sj.parseVendor(),t=sj.getGPUVendor(),n=dte(t).call(t,"SwiftShader");return{gpuScore:(null==e?void 0:e.score)||-1,isCloseGPU:n}}catch(r){return{gpuScore:-1,isCloseGPU:!1}}}}]),e}(),iae={exports:{}},oae=hj((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);vV(e)&&VG(e,"a",{value:8})}})),aae=sK,sae=Ej,cae=oae,lae=vV,uae=hj((function(){lae(1)}))||cae?function(e){return!!aae(e)&&(!cae||"ArrayBuffer"!=sae(e))&&(!lae||lae(e))}:lae,dae=!hj((function(){return vV(TV({}))})),hae=xW,pae=Tj,fae=uZ,gae=sK,vae=oQ,mae=iW.f,yae=QZ,_ae=$Z,Gae=uae,Rae=dae,bae=!1,Tae=uQ("meta"),wae=0,Sae=function(e){mae(e,Tae,{value:{objectID:"O"+wae++,weakData:{}}})},Mae=iae.exports={enable:function(){Mae.enable=function(){},bae=!0;var e=yae.f,t=pae(sM([])),n={};n[Tae]=1,e(n).length&&(yae.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===Tae){t(r,i,1);break}return r},hae({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:_ae.f}))},fastKey:function(e,t){if(!gae(e))return"symbol"==Wd(e)?e:("string"==typeof e?"S":"P")+e;if(!vae(e,Tae)){if(!Gae(e))return"F";if(!t)return"E";Sae(e)}return e[Tae].objectID},getWeakData:function(e,t){if(!vae(e,Tae)){if(!Gae(e))return!0;if(!t)return!1;Sae(e)}return e[Tae].weakData},onFreeze:function(e){return Rae&&bae&&Gae(e)&&!vae(e,Tae)&&Sae(e),e}};fae[Tae]=!0;var Eae=iae.exports,Dae=xW,zae=dj,kae=Eae,Aae=hj,Fae=TW,Pae=g4,Iae=K4,xae=Ij,Xae=sK,Hae=H$,Cae=iW.f,Oae=qG(sY),Lae=Xj,Uae=J$.set,Bae=J$.getterFor,Nae=d$,Vae=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:Nae(e,r,t[r],n);return e},jae=KZ,Kae=p$,Qae=Vae,Wae=rW,qae=K4,Zae=Yj,$ae=g4,Yae=G1,Jae=R1,ese=N4,tse=Xj,nse=Eae.fastKey,rse=J$.set,ise=J$.getterFor,ose={getConstructor:function(e,t,n,r){var i=e((function(e,i){qae(e,o),rse(e,{type:t,index:jae(null),first:void 0,last:void 0,size:0}),tse||(e.size=0),Zae(i)||$ae(i,e[r],{that:e,AS_ENTRIES:n})})),o=i.prototype,a=ise(t),s=function(e,t,n){var r,i,o=a(e),s=c(e,t);return s?s.value=n:(o.last=s={index:i=nse(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),tse?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},c=function(e,t){var n,r=a(e),i=nse(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Qae(o,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,tse?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),tse?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=Wae(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Qae(o,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),tse&&Kae(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=ise(t),o=ise(r);Yae(e,t,(function(e,t){rse(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Jae("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Jae(void 0,!0))}),n?"entries":"values",!n,!0),ese(t)}},ase=function(e,t,n){var r,i=-1!==hR(e).call(e,"Map"),o=-1!==hR(e).call(e,"Weak"),a=i?"set":"add",s=zae[e],c=s&&s.prototype,l={};if(Lae&&xae(s)&&(o||qG(c)&&!Aae((function(){var e;iV(e=new s).call(e).next()})))){var u=(r=t((function(t,n){Uae(Iae(t,u),{type:e,collection:new s}),null!=n&&Pae(n,t[a],{that:t,AS_ENTRIES:i})}))).prototype,d=Bae(e);Oae(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in c)||o&&"clear"==e||Fae(u,e,(function(n,r){var i=d(this).collection;if(!t&&o&&!Xae(n))return"get"==e&&void 0;var a=i[e](0===n?0:n,r);return t?this:a}))})),o||Cae(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else r=n.getConstructor(t,e,i,a),kae.enable();return Hae(r,e,!1,!0),l[e]=r,Dae({global:!0,forced:!0},l),o||n.setStrong(r,e,i),r};ase("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),ose);var sse=cK.Map,cse=rW,lse=Oj,use=CK,dse=Z4,hse=Yj,pse=g4,fse=[].push,gse=function(e){var t,n,r,i,o=arguments.length,a=o>1?arguments[1]:void 0;return dse(this),(t=void 0!==a)&&use(a),hse(e)?new this:(n=[],t?(r=0,i=cse(a,o>2?arguments[2]:void 0),pse(e,(function(e){lse(fse,n,i(e,r++))}))):pse(e,fse,{that:n}),new this(n))};xW({target:"Map",stat:!0,forced:!0},{from:gse});var vse=FJ,mse=function(){return new this(vse(arguments))};xW({target:"Map",stat:!0,forced:!0},{of:mse});var yse=IK,_se=function(e){if("object"==Wd(e)&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(yse(e)+" is not a map")},Gse=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}},Rse=pK("Map"),bse={Map:Rse,set:Gse("set",2),get:Gse("get",1),has:Gse("has",1),remove:Gse("delete",1),proto:Rse.prototype},Tse=_se,wse=bse.remove;xW({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=Tse(this),n=!0,r=0,i=arguments.length;r<i;r++)e=wse(t,arguments[r]),n=n&&e;return!!n}});var Sse=_se,Mse=bse.get,Ese=bse.has,Dse=bse.set;xW({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,i=Sse(this);return Ese(i,e)?(n=Mse(i,e),"update"in t&&(n=t.update(n,e,i),Dse(i,e,n)),n):(r=t.insert(e,i),Dse(i,e,r),r)}});var zse=Oj,kse=function(e,t,n){for(var r,i,o=n||e.next;!(r=zse(o,e)).done;)if(void 0!==(i=t(r.value)))return i},Ase=function(e,t,n){return n?kse(iV(e).call(e),(function(e){return t(e[1],e[0])})):qG(e).call(e,t)},Fse=rW,Pse=_se,Ise=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=Pse(this),n=Fse(e,arguments.length>1?arguments[1]:void 0);return!1!==Ise(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}});var xse=rW,Xse=_se,Hse=Ase,Cse=bse.Map,Ose=bse.set;xW({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=Xse(this),n=xse(e,arguments.length>1?arguments[1]:void 0),r=new Cse;return Hse(t,(function(e,i){n(e,i,t)&&Ose(r,i,e)})),r}});var Lse=rW,Use=_se,Bse=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=Use(this),n=Lse(e,arguments.length>1?arguments[1]:void 0),r=Bse(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}});var Nse=rW,Vse=_se,jse=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=Vse(this),n=Nse(e,arguments.length>1?arguments[1]:void 0),r=jse(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}});var Kse=xW,Qse=CK,Wse=tK,qse=g4,Zse=bse.Map,$se=bse.has,Yse=bse.get,Jse=bse.set,ece=Tj([].push);Kse({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){Wse(e),Qse(t);var n=new Zse,r=0;return qse(e,(function(e){var i=t(e,r++);$se(n,i)?ece(Yse(n,i),e):Jse(n,i,[e])})),n}});var tce=function(e,t){return e===t||e!=e&&t!=t},nce=_se,rce=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===rce(nce(this),(function(t){if(tce(t,e))return!0}),!0)}});var ice=Oj,oce=g4,ace=Ij,sce=CK,cce=bse.Map;xW({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(ace(this)?this:cce);sce(t);var r=sce(n.set);return oce(e,(function(e){ice(r,n,t(e),e)})),n}});var lce=_se,uce=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=uce(lce(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}});var dce=rW,hce=_se,pce=Ase,fce=bse.Map,gce=bse.set;xW({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=hce(this),n=dce(e,arguments.length>1?arguments[1]:void 0),r=new fce;return pce(t,(function(e,i){gce(r,n(e,i,t),e)})),r}});var vce=rW,mce=_se,yce=Ase,_ce=bse.Map,Gce=bse.set;xW({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=mce(this),n=vce(e,arguments.length>1?arguments[1]:void 0),r=new _ce;return yce(t,(function(e,i){Gce(r,i,n(e,i,t))})),r}});var Rce=_se,bce=g4,Tce=bse.set;xW({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=Rce(this),n=arguments.length,r=0;r<n;)bce(arguments[r++],(function(e,n){Tce(t,e,n)}),{AS_ENTRIES:!0});return t}});var wce=CK,Sce=_se,Mce=Ase,Ece=TypeError;xW({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=Sce(this),n=arguments.length<2,r=n?void 0:arguments[1];if(wce(e),Mce(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw Ece("Reduce of empty map with no initial value");return r}});var Dce=rW,zce=_se,kce=Ase;xW({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=zce(this),n=Dce(e,arguments.length>1?arguments[1]:void 0);return!0===kce(t,(function(e,r){if(n(e,r,t))return!0}),!0)}});var Ace=CK,Fce=_se,Pce=TypeError,Ice=bse.get,xce=bse.has,Xce=bse.set;xW({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=Fce(this),r=arguments.length;Ace(t);var i=xce(n,e);if(!i&&r<3)throw Pce("Updating absent value");var o=i?Ice(n,e):Ace(r>2?arguments[2]:void 0)(e,n);return Xce(n,e,t(o,e,n)),n}});var Hce=Oj,Cce=CK,Oce=Ij,Lce=lW,Uce=TypeError,Bce=function(e,t){var n,r=Lce(this),i=Cce(r.get),o=Cce(r.has),a=Cce(r.set),s=arguments.length>2?arguments[2]:void 0;if(!Oce(t)&&!Oce(s))throw Uce("At least one callback required");return Hce(o,r,e)?(n=Hce(i,r,e),Oce(t)&&(n=t(n),Hce(a,r,e,n))):Oce(s)&&(n=s(),Hce(a,r,e,n)),n};xW({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Bce}),xW({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Bce});var Nce=lj(sse),Vce=lW,jce=t4,Kce=rW,Qce=Oj,Wce=nQ,qce=function(e,t,n,r){try{return r?t(Vce(n)[0],n[1]):t(n)}catch(i){jce(e,"throw",i)}},Zce=C6,$ce=Sq,Yce=KW,Jce=YW,ele=$6,tle=V6,nle=Array,rle=function(e){var t=Wce(e),n=$ce(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=Kce(i,r>2?arguments[2]:void 0));var a,s,c,l,u,d,h=tle(t),p=0;if(!h||this===nle&&Zce(h))for(a=Yce(t),s=n?new this(a):nle(a);a>p;p++)d=o?i(t[p],p):t[p],Jce(s,p,d);else for(u=(l=ele(t,h)).next,s=n?new this:[];!(c=Qce(u,l)).done;p++)d=o?qce(l,i,[c.value,p],!0):c.value,Jce(s,p,d);return s.length=p,s},ile=xW,ole=rle,ale=!S8((function(e){GM(e)}));ile({target:"Array",stat:!0,forced:ale},{from:ole});var sle=lj(cK.Array.from),cle=AV(O2("Array")),lle=sq,ule=oQ,dle=fK,hle=cle,ple=Array.prototype,fle={DOMTokenList:!0,NodeList:!0},gle=function(e){var t=AV(e);return e===ple||dle(ple,e)&&t===AV(ple)||ule(fle,lle(e))?hle:t},vle=lj(gle),mle=function(){function e(t){oee(this,e),s6(this,"ctx",void 0),s6(this,"strategyMap",new Nce),this.ctx=t}return see(e,[{key:"registerStrategy",value:function(e){var t;return!(null==e||null===(t=e.Strategy)||void 0===t||!t.strategyName||(this.strategyMap.get(e.Strategy.strategyName)||this.strategyMap.set(e.Strategy.strategyName,{inst:new e.Strategy({ctx:this.ctx,config:e.config,strategyName:e.Strategy.strategyName,strategyCenter:this})}),0))}},{key:"getStrategyInstByName",value:function(e){var t;return e&&null!==(t=this.strategyMap.get(e))&&void 0!==t&&t.inst?this.strategyMap.get(e).inst:null}},{key:"getStrategyList",value:function(){var e,t;return Bee(e=sle(vle(t=this.strategyMap).call(t))).call(e,(function(e){return e.inst}))}},{key:"getStrategyByName",value:function(e){return e&&this.strategyMap.get(e)?this.strategyMap.get(e):null}},{key:"registerAlgorithm",value:function(){}},{key:"getStrategyInstByNameAsync",value:function(){}},{key:"loadStrategySrcAsync",value:function(){}}]),e}(),yle=function(){function e(t){oee(this,e),s6(this,"inst",void 0),this.inst=t.inst}return see(e,[{key:"getInst",value:function(){return this.inst}},{key:"getPlayerConfig",value:function(){var e;return null===(e=this.inst)||void 0===e?void 0:e.playerConfig}},{key:"getStrategyConfig",value:function(){var e;return null===(e=this.inst)||void 0===e?void 0:e.strategyConfig}}]),e}(),_le=function(){function e(){oee(this,e),s6(this,"players",void 0),this.players=new Nce}return see(e,[{key:"get",value:function(e){return this.players.get(e)}},{key:"addPlayer",value:function(e,t){return!(!e||this.players.get(e)||(this.players.set(e,new yle(t)),0))}},{key:"getPlayerList",value:function(){var e;return sle(vle(e=this.players).call(e))}},{key:"removePlayer",value:function(e){return!(!e||!this.players.get(e)||(this.players.delete(e),0))}}]),e}();!function(){function e(t){oee(this,e),s6(this,"strategyCenter",void 0),s6(this,"ctx",void 0),s6(this,"config",void 0),s6(this,"player",void 0),s6(this,"strategyName",void 0),this.ctx=t.ctx,this.config=t.config,this.strategyName=t.strategyName,this.strategyCenter=t.strategyCenter,this.player=null}see(e,[{key:"getStrategyConfig",value:function(){return this.config}},{key:"setPlayerInst",value:function(e){this.player=e.getInst()}},{key:"beforePlayerCreate",value:function(e){}},{key:"onPlayerEvent",value:function(e,t){}},{key:"onGlobalEvent",value:function(e,t){}}])}();var Gle=function(){function e(t){oee(this,e),s6(this,"tracker",void 0),s6(this,"_tea",void 0),s6(this,"ctx",void 0),s6(this,"options",void 0),this.ctx=t.cxt,this.options=t,this.initTracker(t),this.bindABVersion()}return see(e,[{key:"bindTrackerABVersion",value:function(e){var t,n,r,i=this;!this._tea&&e&&null!==(t=this.options)&&void 0!==t&&null!==(t=t.trackInfo)&&void 0!==t&&t.enableABVersion&&(this._tea=e,null===(n=this._tea)||void 0===n||null===(r=n.filterEvent)||void 0===r||r.call(n,(function(e){var t,n;return null==e||null===(t=e[0])||void 0===t||null===(t=t.events)||void 0===t||null===(n=lee(t))||void 0===n||n.call(t,(function(e){var t,n,r,o=((null===(t=i.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}).libra_ab_version;!o||!e||null!==(n=e.ab_sdk_version)&&void 0!==n&&dte(n).call(n,o)||(e.ab_sdk_version=e.ab_sdk_version?Pee(r="".concat(e.ab_sdk_version,",")).call(r,o):"".concat(o))})),e})))}},{key:"track",value:function(e,t){var n,r;"function"==typeof this.tracker?this.tracker(e,t):null===(n=this.tracker)||void 0===n||null===(r=n.event)||void 0===r||r.call(n,e,t)}},{key:"initTracker",value:function(e){var t,n;if(dte(t=[Mte.LIVE,Mte.VOD]).call(t,e.type)&&null!==(n=e.trackInfo)&&void 0!==n&&n.Collector&&"undefined"!=typeof window){var r="__vestrategy_".concat(e.type,"_tracker__");if(!window[r]){this.tracker=window[r]=new e.trackInfo.Collector("".concat(e.type,"_tracker")),this.tracker.init({app_id:e.appId,channel:e.channel||Ete.CN,log:!1,disable_sdk_monitor:!0});var i=l6({play_type:e.type===Mte.VOD?0:1,line_app_id:e.lineAppId,line_user_id:e.lineUserId},Rte(this.ctx.featureCenter.getFeatureList()));return this.tracker.config(l6(l6({},i),{},{user_unique_id:e.lineUserId,disable_auto_pv:!0})),void this.tracker.start()}this.tracker=window[r]}}},{key:"bindABVersion",value:function(){var e,t,n=this;this.tracker&&(null===(e=this.tracker)||void 0===e||null===(t=e.filterEvent)||void 0===t||t.call(e,(function(e){var t,r;return null==e||null===(t=e[0])||void 0===t||null===(t=t.events)||void 0===t||null===(r=lee(t))||void 0===r||r.call(t,(function(e){var t,r=((null===(t=n.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}).libra_ab_version;r&&e&&(e.ab_sdk_version="".concat(r))})),e})))}}]),e}();xW({target:"Array",stat:!0},{isArray:HW});var Rle,ble=lj(cK.Array.isArray),Tle=function(e){return e.Equal="=",e.NotEqual="≠",e.Greater=">",e.GreaterOrEqual="≥",e.Less="<",e.LessOrEqual="≤",e}(Tle||{}),wle=(s6(Rle={},"=",{validate:function(e,t){var n;return ble(vle(e))?dte(n=vle(e)).call(n,t):vle(e)===t}}),s6(Rle,"≠",{validate:function(e,t){var n;return ble(vle(e))?!dte(n=vle(e)).call(n,t):vle(e)!==t}}),s6(Rle,">",{validate:function(e,t){return!ble(vle(e))&&"boolean"!=typeof vle(e)&&t>vle(e)}}),s6(Rle,"≥",{validate:function(e,t){return!ble(vle(e))&&"boolean"!=typeof vle(e)&&t>=vle(e)}}),s6(Rle,"<",{validate:function(e,t){return!ble(vle(e))&&"boolean"!=typeof vle(e)&&t<vle(e)}}),s6(Rle,"≤",{validate:function(e,t){return!ble(vle(e))&&"boolean"!=typeof vle(e)&&t<=vle(e)}}),Rle);function Sle(e,t,n){var r;return null==e||lee(e).call(e,(function(e){var i;if("conditions"in e&&e.conditions)i=Sle(e.conditions,t,e.logic);else if("key"in e){var o,a=t[null==e?void 0:e.key];i=null===(o=wle[null==e?void 0:e.op])||void 0===o?void 0:o.validate(e,a)}r=void 0===r?i:"||"===n?r||i:r&&i})),r}dV({__proto__:null,Operator:Tle,getConfigWithRule:function(e,t){var n={};if(e)return lee(e).call(e,(function(e){Sle(e.conditions,t,e.logic)&&(n=l6(l6({},n),e.config))})),n},operators:wle,validate:Sle});var Mle=new Ate("VeStrategy-BasePlugin"),Ele=function(e){rne(n,hD);var t=bne(n);function n(e){var r,i,o,a,s;oee(this,n),s6(Rne(s=t.call(this,e)),"ctx",void 0),s6(Rne(s),"strategyCenter",void 0),s6(Rne(s),"videoType",void 0),s6(Rne(s),"playerLogEventHandler",(function(e,t){var n,r;return"string"==typeof e?null===(n=s.ctx)||void 0===n||null===(n=n.tracker)||void 0===n||null===(r=n.track)||void 0===r?void 0:r.call(n,e,t):ble(e)?lee(e).call(e,(function(e){var t,n,r=e.eventName,i=e.params;null===(t=s.ctx)||void 0===t||null===(t=t.tracker)||void 0===t||null===(n=t.track)||void 0===n||n.call(t,r,i)})):void 0})),s.ctx=e.config.ctx,s.videoType=e.config.videoType,s.strategyCenter=e.config.strategyCenter,Mle.update(null===(r=s.ctx)||void 0===r||null===(r=r.dataCenter)||void 0===r||null===(r=r.getAppConfig())||void 0===r?void 0:r.log);var c={playerId:s.player.playerId,playerConfig:null,strategyConfig:null,strategyCenter:s.strategyCenter};return Tne(c,"playerConfig",{get:function(){return s.playerConfig}}),Tne(c,"strategyConfig",{get:function(){return e.config.strategyConfig}}),s.player.playerId&&s.ctx.playerManager.addPlayer(s.player.playerId,{inst:c}),null===(i=s.strategyCenter)||void 0===i||null===(o=i.getStrategyList)||void 0===o||lee(a=o.call(i)).call(a,(function(e){var t,n;null==e||null===(t=e.setPlayerInst)||void 0===t||t.call(e,s.ctx.playerManager.get(s.player.playerId)),null==e||null===(n=e.onBasePluginCreated)||void 0===n||n.call(e,s.ctx.playerManager.get(s.player.playerId))})),Mle.info("BasePluginInit",e.config),s}return see(n,[{key:"afterPlayerInit",value:function(){var e,t,n;this.player.on("abLog",this.playerLogEventHandler),this.videoType===Mte.VOD&&(null===(e=this.ctx)||void 0===e||null===(e=e.tracker)||void 0===e||null===(t=e.bindTrackerABVersion)||void 0===t||t.call(e,null===(n=this.player)||void 0===n||null===(n=n.vodLogger)||void 0===n?void 0:n.tracker)),this.videoType,Mte.LIVE}},{key:"patchEvent",value:function(e,t){var n,r,i,o,a=this;null===(n=this.strategyCenter)||void 0===n||null===(r=n.getStrategyList)||void 0===r||lee(i=r.call(n)).call(i,(function(n){var r;null==n||null===(r=n.onPlayerEvent)||void 0===r||r.call(n,e,{playerInst:n,options:t})})),null===(o=this.ctx.playerManager.getPlayerList())||void 0===o||lee(o).call(o,(function(n){var r,i,o;(null==n||null===(r=n.getInst)||void 0===r||null===(r=r.call(n))||void 0===r?void 0:r.playerId)!==a.player.playerId&&(null==n||null===(i=n.getInst)||void 0===i||null===(i=i.call(n))||void 0===i||null===(i=i.strategyCenter)||void 0===i||null===(o=i.getStrategyList)||void 0===o||null===(o=o.call(i))||void 0===o||lee(o).call(o,(function(r){var i;null==r||null===(i=r.onGlobalEvent)||void 0===i||i.call(r,e,{playerInst:n,options:t})})))}))}},{key:"afterCreate",value:function(){var e=this;this.on(iD,(function(t){e.patchEvent(iD,t),Mle.info("Event",iD)}))}},{key:"destroy",value:function(){this.ctx.playerManager.removePlayer(this.player.playerId),this.player.off("abLog",this.playerLogEventHandler)}}],[{key:"pluginName",get:function(){return"veStrategyBasePlugin"}},{key:"defaultConfig",get:function(){return{text:"策略基础插件"}}}]),n}(),Dle=function(){function e(){oee(this,e)}return see(e,[{key:"apply",value:function(e,t){var n,r,i=this,o=t||{},a=o.plugins,s=o.pluginConfiguration,c=o.result;return e?(null!=a&&a.length&&ble(e.presets)?e.presets.unshift(see((function e(){oee(this,e),s6(this,"plugins",a)}))):null!=a&&a.length&&ble(e.plugins)&&(e.plugins=Pee(a).call(a,e.plugins)),null!=a&&a.length&&s&&lee(r=uee(s)).call(r,(function(t){e[t]=s[t]})),c&&lee(n=uee(c)).call(n,(function(t){t===zte.adaptRange&&i.adaptRange(e,c[t])})),e):e}},{key:"_findConfig",value:function(e,t){var n;return noe(n=uee(e)).call(n,(function(e){return(null==e?void 0:e.toLowerCase())===t}))}},{key:"adaptRange",value:function(e,t){var n,r;if(null==t||!t.enable||!e||null==t||!t._vtype)return e;if(!dte(n=[Dte.MP4,Dte.DASH]).call(n,t._vtype))return e;var i=this._findConfig(e,t._vtype===Dte.MP4?"mp4encryptplayer":"dashplugin");return i&&e[i]&&t.options?(e[i].adaptRange=l6(l6({},null!==(r=e[i].adaptRange)&&void 0!==r?r:{}),t.options),e):e}}]),e}(),zle=hj,kle=_Q("iterator"),Ale=!zle((function(){var e=new bk("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new Nb("a=1&a=2"),r="";return e.pathname="c%20d",qG(t).call(t,(function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),!e.toJSON||!n.has("a",1)||n.has("a",2)||!t.size&&true||!jE(t)||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new Nb("?a=1"))||!t[kle]||"a"!==new bk("https://a@b").username||"b"!==new Nb(new Nb("a=b")).get("a")||"xn--e1aybc"!==new bk("http://тест").host||"#%D0%B1"!==new bk("http://a#б").hash||"a1c3"!==r||"x"!==new bk("http://x",void 0).host})),Fle=r$,Ple=Math.floor,Ile=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},xle=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e},Xle=function e(t,n){var r=t.length,i=Ple(r/2);return r<8?Ile(t,n):xle(t,e(Fle(t,0,i),n),e(Fle(t,i),n),n)},Hle=xW,Cle=dj,Ole=Oj,Lle=Tj,Ule=Xj,Ble=Ale,Nle=d$,Vle=p$,jle=Vae,Kle=H$,Qle=Z0,Wle=J$,qle=K4,Zle=Ij,$le=oQ,Yle=rW,Jle=sq,eue=lW,tue=sK,nue=Jq,rue=KZ,iue=Kj,oue=$6,aue=V6,sue=r3,cue=Xle,lue=_Q("iterator"),uue="URLSearchParams",due=uue+"Iterator",hue=Wle.set,pue=Wle.getterFor(uue),fue=Wle.getterFor(due),gue=WG,vue=function(e){if(!Ule)return Cle[e];var t=gue(Cle,e);return t&&t.value},mue=vue("fetch"),yue=vue("Request"),_ue=vue("Headers"),Gue=yue&&yue.prototype,Rue=_ue&&_ue.prototype,bue=Cle.RegExp,Tue=Cle.TypeError,wue=Cle.decodeURIComponent,Sue=Cle.encodeURIComponent,Mue=Lle("".charAt),Eue=Lle([].join),Due=Lle([].push),zue=Lle("".replace),kue=Lle([].shift),Aue=Lle(sM([])),Fue=Lle("".split),Pue=Lle(mG("")),Iue=/\+/g,xue=Array(4),Xue=function(e){return xue[e-1]||(xue[e-1]=bue("((?:%[\\da-f]{2}){"+e+"})","gi"))},Hue=function(e){try{return wue(e)}catch(t){return e}},Cue=function(e){var t=zue(e,Iue," "),n=4;try{return wue(t)}catch(r){for(;n;)t=zue(t,Xue(n--),Hue);return t}},Oue=/[!'()~]|%20/g,Lue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Uue=function(e){return Lue[e]},Bue=function(e){return zue(Sue(e),Oue,Uue)},Nue=Qle((function(e,t){hue(this,{type:due,iterator:oue(iV(pue(e))),kind:t})}),"Iterator",(function(){var e=fue(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),Vue=function(e){this.entries=[],this.url=null,void 0!==e&&(tue(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Mue(e,0)?Pue(e,1):e:nue(e)))};Vue.prototype={type:uue,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,s,c=aue(e);if(c)for(n=(t=oue(e,c)).next;!(r=Ole(n,t)).done;){if(o=(i=oue(eue(r.value))).next,(a=Ole(o,i)).done||(s=Ole(o,i)).done||!Ole(o,i).done)throw Tue("Expected sequence with length 2");Due(iV(this),{key:nue(a.value),value:nue(s.value)})}else for(var l in e)$le(e,l)&&Due(iV(this),{key:l,value:nue(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Fue(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Fue(t,"="),Due(iV(this),{key:Cue(kue(n)),value:Cue(Eue(n,"="))}))},serialize:function(){for(var e,t=iV(this),n=[],r=0;r<t.length;)e=t[r++],Due(n,Bue(e.key)+"="+Bue(e.value));return Eue(n,"&")},update:function(){iV(this).length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var jue=function(){qle(this,Kue);var e=hue(this,new Vue(arguments.length>0?arguments[0]:void 0));Ule||(this.size=iV(e).length)},Kue=jue.prototype;if(jle(Kue,{append:function(e,t){var n=pue(this);sue(arguments.length,2),Due(iV(n),{key:nue(e),value:nue(t)}),Ule||this.length++,n.updateURL()},delete:function(e){for(var t=pue(this),n=sue(arguments.length,1),r=iV(t),i=nue(e),o=n<2?void 0:arguments[1],a=void 0===o?o:nue(o),s=0;s<r.length;){var c=r[s];if(c.key!==i||void 0!==a&&c.value!==a)s++;else if(Aue(r,s,1),void 0!==a)break}Ule||(this.size=r.length),t.updateURL()},get:function(e){var t=iV(pue(this));sue(arguments.length,1);for(var n=nue(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=iV(pue(this));sue(arguments.length,1);for(var n=nue(e),r=[],i=0;i<t.length;i++)t[i].key===n&&Due(r,t[i].value);return r},has:function(e){for(var t=iV(pue(this)),n=sue(arguments.length,1),r=nue(e),i=n<2?void 0:arguments[1],o=void 0===i?i:nue(i),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var n=pue(this);sue(arguments.length,1);for(var r,i=iV(n),o=!1,a=nue(e),s=nue(t),c=0;c<i.length;c++)(r=i[c]).key===a&&(o?Aue(i,c--,1):(o=!0,r.value=s));o||Due(i,{key:a,value:s}),Ule||(this.size=i.length),n.updateURL()},sort:function(){var e=pue(this);cue(iV(e),(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=iV(pue(this)),r=Yle(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new Nue(this,"keys")},values:function(){return new Nue(this,"values")},entries:function(){return new Nue(this,"entries")}},{enumerable:!0}),Nle(Kue,lue,iV(Kue),{name:"entries"}),Nle(Kue,"toString",(function(){return pue(this).serialize()}),{enumerable:!0}),Ule&&Vle(Kue,"size",{get:function(){return iV(pue(this)).length},configurable:!0,enumerable:!0}),Kle(jue,uue),Hle({global:!0,constructor:!0,forced:!Ble},{URLSearchParams:jue}),!Ble&&Zle(_ue)){var Que=Lle(Rue.has),Wue=Lle(Rue.set),que=function(e){if(tue(e)){var t,n=e.body;if(Jle(n)===uue)return t=e.headers?new _ue(e.headers):new _ue,Que(t,"content-type")||Wue(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),rue(e,{body:iue(0,nue(n)),headers:iue(0,t)})}return e};if(Zle(mue)&&Hle({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return mue(e,arguments.length>1?que(arguments[1]):{})}}),Zle(yue)){var Zue=function(e){return qle(this,Gue),new yue(e,arguments.length>1?que(arguments[1]):{})};Gue.constructor=Zue,Zue.prototype=Gue,Hle({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Zue})}}var $ue,Yue={URLSearchParams:jue,getState:pue},Jue=Tj,ede=2147483647,tde=/[^\0-\u007E]/,nde=/[.\u3002\uFF0E\uFF61]/g,rde="Overflow: input needs wider integers to process",ide=RangeError,ode=Jue(nde.exec),ade=Math.floor,sde=String.fromCharCode,cde=Jue("".charCodeAt),lde=Jue([].join),ude=Jue([].push),dde=Jue("".replace),hde=Jue("".split),pde=Jue("".toLowerCase),fde=function(e){return e+22+75*(e<26)},gde=function(e,t,n){var r=0;for(e=n?ade(e/700):e>>1,e+=ade(e/t);e>455;)e=ade(e/35),r+=36;return ade(r+36*e/(e+38))},vde=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=cde(e,n++);if(i>=55296&&i<=56319&&n<r){var o=cde(e,n++);56320==(64512&o)?ude(t,((1023&i)<<10)+(1023&o)+65536):(ude(t,i),n--)}else ude(t,i)}return t}(e)).length,o=128,a=0,s=72;for(t=0;t<e.length;t++)(n=e[t])<128&&ude(r,sde(n));var c=r.length,l=c;for(c&&ude(r,"-");l<i;){var u=ede;for(t=0;t<e.length;t++)(n=e[t])>=o&&n<u&&(u=n);var d=l+1;if(u-o>ade((ede-a)/d))throw ide(rde);for(a+=(u-o)*d,o=u,t=0;t<e.length;t++){if((n=e[t])<o&&++a>ede)throw ide(rde);if(n==o){for(var h=a,p=36;;){var f=p<=s?1:p>=s+26?26:p-s;if(h<f)break;var g=h-f,v=36-f;ude(r,sde(fde(f+g%v))),h=ade(g/v),p+=36}ude(r,sde(fde(h))),s=gde(a,d,l==c),a=0,l++}}a++,o++}return lde(r,"")},mde=xW,yde=Xj,_de=Ale,Gde=dj,Rde=rW,bde=Tj,Tde=d$,wde=p$,Sde=K4,Mde=oQ,Ede=Mee,Dde=rle,zde=r$,kde=G2.codeAt,Ade=function(e){var t,n,r=[],i=hde(dde(pde(e),nde,"."),".");for(t=0;t<i.length;t++)n=i[t],ude(r,ode(tde,n)?"xn--"+vde(n):n);return lde(r,".")},Fde=Jq,Pde=H$,Ide=r3,xde=Yue,Xde=J$,Hde=Xde.set,Cde=Xde.getterFor("URL"),Ode=xde.URLSearchParams,Lde=xde.getState,Ude=Gde.URL,Bde=Gde.TypeError,Nde=Gde.parseInt,Vde=Math.floor,jde=Math.pow,Kde=bde("".charAt),Qde=bde(/./.exec),Wde=bde([].join),qde=bde(1..toString),Zde=bde([].pop),$de=bde([].push),Yde=bde("".replace),Jde=bde([].shift),ehe=bde("".split),the=bde(mG("")),nhe=bde("".toLowerCase),rhe=bde([].unshift),ihe="Invalid scheme",ohe="Invalid host",ahe="Invalid port",she=/[a-z]/i,che=/[\d+-.a-z]/i,lhe=/\d/,uhe=/^0x/i,dhe=/^[0-7]+$/,hhe=/^\d+$/,phe=/^[\da-f]+$/i,fhe=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ghe=/[\0\t\n\r #/:<>?@[\\\]^|]/,vhe=/^[\u0000-\u0020]+/,mhe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,yhe=/[\t\n\r]/g,_he=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)rhe(t,e%256),e=Vde(e/256);return Wde(t,".")}if("object"==Wd(e)){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=qde(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},Ghe={},Rhe=Ede({},Ghe,{" ":1,'"':1,"<":1,">":1,"`":1}),bhe=Ede({},Rhe,{"#":1,"?":1,"{":1,"}":1}),The=Ede({},bhe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),whe=function(e,t){var n=kde(e,0);return n>32&&n<127&&!Mde(t,e)?e:encodeURIComponent(e)},She={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Mhe=function(e,t){var n;return 2==e.length&&Qde(she,Kde(e,0))&&(":"==(n=Kde(e,1))||!t&&"|"==n)},Ehe=function(e){var t;return e.length>1&&Mhe(the(e,0,2))&&(2==e.length||"/"===(t=Kde(e,2))||"\\"===t||"?"===t||"#"===t)},Dhe=function(e){return"."===e||"%2e"===nhe(e)},zhe=function(e){return".."===(e=nhe(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},khe={},Ahe={},Fhe={},Phe={},Ihe={},xhe={},Xhe={},Hhe={},Che={},Ohe={},Lhe={},Uhe={},Bhe={},Nhe={},Vhe={},jhe={},Khe={},Qhe={},Whe={},qhe={},Zhe={},$he=function e(t,n,r){var i,o,a,s=Fde(t);if(n){if(o=this.parse(s))throw Bde(o);this.searchParams=null}else{if(void 0!==r&&(i=new e(r,!0)),o=this.parse(s,null,i))throw Bde(o);(a=Lde(new Ode)).bindURL(this),this.searchParams=a}};$he.prototype={type:"URL",parse:function(e,t,n){var r,i,o,a,s=this,c=t||khe,l=0,u="",d=!1,h=!1,p=!1;for(e=Fde(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=Yde(e,vhe,""),e=Yde(e,mhe,"$1")),e=Yde(e,yhe,""),r=Dde(e);l<=r.length;){switch(i=r[l],c){case khe:if(!i||!Qde(she,i)){if(t)return ihe;c=Fhe;continue}u+=nhe(i),c=Ahe;break;case Ahe:if(i&&(Qde(che,i)||"+"==i||"-"==i||"."==i))u+=nhe(i);else{if(":"!=i){if(t)return ihe;u="",c=Fhe,l=0;continue}if(t&&(s.isSpecial()!=Mde(She,u)||"file"==u&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=u,t)return void(s.isSpecial()&&She[s.scheme]==s.port&&(s.port=null));u="","file"==s.scheme?c=Nhe:s.isSpecial()&&n&&n.scheme==s.scheme?c=Phe:s.isSpecial()?c=Hhe:"/"==r[l+1]?(c=Ihe,l++):(s.cannotBeABaseURL=!0,$de(s.path,""),c=Whe)}break;case Fhe:if(!n||n.cannotBeABaseURL&&"#"!=i)return ihe;if(n.cannotBeABaseURL&&"#"==i){s.scheme=n.scheme,s.path=zde(n.path),s.query=n.query,s.fragment="",s.cannotBeABaseURL=!0,c=Zhe;break}c="file"==n.scheme?Nhe:xhe;continue;case Phe:if("/"!=i||"/"!=r[l+1]){c=xhe;continue}c=Che,l++;break;case Ihe:if("/"==i){c=Ohe;break}c=Qhe;continue;case xhe:if(s.scheme=n.scheme,i==$ue)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=zde(n.path),s.query=n.query;else if("/"==i||"\\"==i&&s.isSpecial())c=Xhe;else if("?"==i)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=zde(n.path),s.query="",c=qhe;else{if("#"!=i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=zde(n.path),s.path.length--,c=Qhe;continue}s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=zde(n.path),s.query=n.query,s.fragment="",c=Zhe}break;case Xhe:if(!s.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,c=Qhe;continue}c=Ohe}else c=Che;break;case Hhe:if(c=Che,"/"!=i||"/"!=Kde(u,l+1))continue;l++;break;case Che:if("/"!=i&&"\\"!=i){c=Ohe;continue}break;case Ohe:if("@"==i){d&&(u="%40"+u),d=!0,o=Dde(u);for(var f=0;f<o.length;f++){var g=o[f];if(":"!=g||p){var v=whe(g,The);p?s.password+=v:s.username+=v}else p=!0}u=""}else if(i==$ue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(d&&""==u)return"Invalid authority";l-=Dde(u).length+1,u="",c=Lhe}else u+=i;break;case Lhe:case Uhe:if(t&&"file"==s.scheme){c=jhe;continue}if(":"!=i||h){if(i==$ue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(s.isSpecial()&&""==u)return ohe;if(t&&""==u&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(u))return a;if(u="",c=Khe,t)return;continue}"["==i?h=!0:"]"==i&&(h=!1),u+=i}else{if(""==u)return ohe;if(a=s.parseHost(u))return a;if(u="",c=Bhe,t==Uhe)return}break;case Bhe:if(!Qde(lhe,i)){if(i==$ue||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()||t){if(""!=u){var m=Nde(u,10);if(m>65535)return ahe;s.port=s.isSpecial()&&m===She[s.scheme]?null:m,u=""}if(t)return;c=Khe;continue}return ahe}u+=i;break;case Nhe:if(s.scheme="file","/"==i||"\\"==i)c=Vhe;else{if(!n||"file"!=n.scheme){c=Qhe;continue}if(i==$ue)s.host=n.host,s.path=zde(n.path),s.query=n.query;else if("?"==i)s.host=n.host,s.path=zde(n.path),s.query="",c=qhe;else{if("#"!=i){Ehe(Wde(zde(r,l),""))||(s.host=n.host,s.path=zde(n.path),s.shortenPath()),c=Qhe;continue}s.host=n.host,s.path=zde(n.path),s.query=n.query,s.fragment="",c=Zhe}}break;case Vhe:if("/"==i||"\\"==i){c=jhe;break}n&&"file"==n.scheme&&!Ehe(Wde(zde(r,l),""))&&(Mhe(n.path[0],!0)?$de(s.path,n.path[0]):s.host=n.host),c=Qhe;continue;case jhe:if(i==$ue||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&Mhe(u))c=Qhe;else if(""==u){if(s.host="",t)return;c=Khe}else{if(a=s.parseHost(u))return a;if("localhost"==s.host&&(s.host=""),t)return;u="",c=Khe}continue}u+=i;break;case Khe:if(s.isSpecial()){if(c=Qhe,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=$ue&&(c=Qhe,"/"!=i))continue}else s.fragment="",c=Zhe;else s.query="",c=qhe;break;case Qhe:if(i==$ue||"/"==i||"\\"==i&&s.isSpecial()||!t&&("?"==i||"#"==i)){if(zhe(u)?(s.shortenPath(),"/"==i||"\\"==i&&s.isSpecial()||$de(s.path,"")):Dhe(u)?"/"==i||"\\"==i&&s.isSpecial()||$de(s.path,""):("file"==s.scheme&&!s.path.length&&Mhe(u)&&(s.host&&(s.host=""),u=Kde(u,0)+":"),$de(s.path,u)),u="","file"==s.scheme&&(i==$ue||"?"==i||"#"==i))for(;s.path.length>1&&""===s.path[0];)Jde(s.path);"?"==i?(s.query="",c=qhe):"#"==i&&(s.fragment="",c=Zhe)}else u+=whe(i,bhe);break;case Whe:"?"==i?(s.query="",c=qhe):"#"==i?(s.fragment="",c=Zhe):i!=$ue&&(s.path[0]+=whe(i,Ghe));break;case qhe:t||"#"!=i?i!=$ue&&("'"==i&&s.isSpecial()?s.query+="%27":s.query+="#"==i?"%23":whe(i,Ghe)):(s.fragment="",c=Zhe);break;case Zhe:i!=$ue&&(s.fragment+=whe(i,Rhe))}l++}},parseHost:function(e){var t,n,r;if("["==Kde(e,0)){if("]"!=Kde(e,e.length-1))return ohe;if(!(t=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,h=function(){return Kde(e,d)};if(":"==h()){if(":"!=Kde(e,1))return;d+=2,u=++l}for(;h();){if(8==l)return;if(":"!=h()){for(t=n=0;n<4&&Qde(phe,h());)t=16*t+Nde(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,l>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!Qde(lhe,h()))return;for(;Qde(lhe,h());){if(o=Nde(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(a=l-u,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!=l)return;return c}(the(e,1,-1))))return ohe;this.host=t}else if(this.isSpecial()){if(e=Ade(e),Qde(fhe,e))return ohe;if(null===(t=function(e){var t,n,r,i,o,a,s,c=ehe(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==Kde(i,0)&&(o=Qde(uhe,i)?16:8,i=the(i,8==o?1:2)),""===i)a=0;else{if(!Qde(10==o?hhe:8==o?dhe:phe,i))return e;a=Nde(i,o)}$de(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=jde(256,5-t))return null}else if(a>255)return null;for(s=Zde(n),r=0;r<n.length;r++)s+=n[r]*jde(256,3-r);return s}(e)))return ohe;this.host=t}else{if(Qde(ghe,e))return ohe;for(t="",n=Dde(e),r=0;r<n.length;r++)t+=whe(n[r],Ghe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Mde(She,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Mhe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=_he(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+Wde(a,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw Bde(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Yhe(e.path[0]).origin}catch(n){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+_he(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Fde(e)+":",khe)},getUsername:function(){return this.username},setUsername:function(e){var t=Dde(Fde(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=whe(t[n],The)}},getPassword:function(){return this.password},setPassword:function(e){var t=Dde(Fde(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=whe(t[n],The)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?_he(e):_he(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Lhe)},getHostname:function(){var e=this.host;return null===e?"":_he(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Uhe)},getPort:function(){var e=this.port;return null===e?"":Fde(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Fde(e))?this.port=null:this.parse(e,Bhe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Wde(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Khe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Fde(e))?this.query=null:("?"==Kde(e,0)&&(e=the(e,1)),this.query="",this.parse(e,qhe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Fde(e))?("#"==Kde(e,0)&&(e=the(e,1)),this.fragment="",this.parse(e,Zhe)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Yhe=function(e){var t=Sde(this,Jhe),n=Ide(arguments.length,1)>1?arguments[1]:void 0,r=Hde(t,new $he(e,!1,n));yde||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Jhe=Yhe.prototype,epe=function(e,t){return{get:function(){return Cde(this)[e]()},set:t&&function(e){return Cde(this)[t](e)},configurable:!0,enumerable:!0}};if(yde&&(wde(Jhe,"href",epe("serialize","setHref")),wde(Jhe,"origin",epe("getOrigin")),wde(Jhe,"protocol",epe("getProtocol","setProtocol")),wde(Jhe,"username",epe("getUsername","setUsername")),wde(Jhe,"password",epe("getPassword","setPassword")),wde(Jhe,"host",epe("getHost","setHost")),wde(Jhe,"hostname",epe("getHostname","setHostname")),wde(Jhe,"port",epe("getPort","setPort")),wde(Jhe,"pathname",epe("getPathname","setPathname")),wde(Jhe,"search",epe("getSearch","setSearch")),wde(Jhe,"searchParams",epe("getSearchParams")),wde(Jhe,"hash",epe("getHash","setHash"))),Tde(Jhe,"toJSON",(function(){return Cde(this).serialize()}),{enumerable:!0}),Tde(Jhe,"toString",(function(){return Cde(this).serialize()}),{enumerable:!0}),Ude){var tpe=Ude.createObjectURL,npe=Ude.revokeObjectURL;tpe&&Tde(Yhe,"createObjectURL",Rde(tpe,Ude)),npe&&Tde(Yhe,"revokeObjectURL",Rde(npe,Ude))}Pde(Yhe,"URL"),mde({global:!0,constructor:!0,forced:!_de,sham:!yde},{URL:Yhe});var rpe=xW,ipe=hj,ope=r3,ape=Jq,spe=Ale,cpe=pK("URL");rpe({target:"URL",stat:!0,forced:!(spe&&ipe((function(){cpe.canParse()})))},{canParse:function(e){var t=ope(arguments.length,1),n=ape(e),r=t<2||void 0===arguments[1]?void 0:ape(arguments[1]);try{return!!new cpe(n,r)}catch(i){return!1}}});var lpe=lj(cK.URL),upe=oQ,dpe=Oj,hpe=sK,ppe=lW,fpe=function(e){return void 0!==e&&(upe(e,"value")||upe(e,"writable"))},gpe=xj,vpe=P0;xW({target:"Reflect",stat:!0},{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return ppe(t)===o?t[n]:(r=gpe.f(t,n))?fpe(r)?r.value:void 0===r.get?void 0:dpe(r.get,o):hpe(i=vpe(t))?e(i,n,o):void 0}});var mpe=lj(cK.Reflect.get);function ype(){var e;return ype="undefined"!=typeof Reflect&&mpe?tne(e=mpe).call(e):function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_ne(e)););return e}(e,t);if(r){var i=t5(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},ype.apply(this,arguments)}function _pe(e,t,n){var r;return(_pe=Gne()?tne(r=yne).call(r):function(e,t,n){var r=[null];y5(r).apply(r,t);var i=new(tne(Function).apply(e,r));return n&&nne(i,n.prototype),i}).apply(null,arguments)}var Gpe=dj;xW({global:!0,forced:Gpe.globalThis!==Gpe},{globalThis:Gpe});var Rpe,bpe,Tpe,wpe,Spe,Mpe,Epe=lj(dj),Dpe=(null===(Rpe=void 0!==Epe?Epe:void 0)||void 0===Rpe?void 0:Rpe.crypto)||(null===(bpe="undefined"!=typeof global?global:void 0)||void 0===bpe?void 0:bpe.crypto)||(null===(Tpe="undefined"!=typeof window?window:void 0)||void 0===Tpe?void 0:Tpe.crypto)||(null===(wpe="undefined"!=typeof self?self:void 0)||void 0===wpe?void 0:wpe.crypto)||(null===(Spe="undefined"!=typeof frames?frames:void 0)||void 0===Spe||null===(Spe=Spe[0])||void 0===Spe?void 0:Spe.crypto);Mpe=Dpe?function(e){for(var t=[],n=0;n<e;n+=4)t.push(Dpe.getRandomValues(new Uint32Array(1))[0]);return new kpe(t,e)}:function(e){for(var t,n=[],r=function(e){var t=e,n=987654321,r=4294967295;return function(){var e=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return e/=4294967296,(e+=.5)*(Math.random()>.5?1:-1)}},i=0;i<e;i+=4){var o=r(4294967296*(t||Math.random()));t=987654071*o(),n.push(4294967296*o()|0)}return new kpe(n,e)};var zpe=function(){function e(){oee(this,e)}return see(e,[{key:"mixIn",value:function(e){return Eee(this,e)}},{key:"clone",value:function(){var e=new this.constructor;return Eee(e,this),e}}],[{key:"create",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _pe(this,t)}}]),e}(),kpe=function(e){rne(n,zpe);var t=bne(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4*r.length;oee(this,n),e=t.call(this);var o=r;if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var a=o.byteLength,s=[],c=0;c<a;c+=1)s[c>>>2]|=o[c]<<24-c%4*8;e.words=s,e.sigBytes=a}else e.words=r,e.sigBytes=i;return e}return see(n,[{key:"toString",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ape).stringify(this)}},{key:"concat",value:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o+=1){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this}},{key:"clamp",value:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=Math.ceil(t/4)}},{key:"clone",value:function(){var e,t=ype(_ne(n.prototype),"clone",this).call(this);return t.words=Qie(e=this.words).call(e,0),t}}]),n}();s6(kpe,"random",Mpe);var Ape={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=1){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=_ie(e.substr(r,2),16)<<24-r%8*4;return new kpe(n,t/2)}},Fpe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=1)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new kpe(n,t)},Ppe=function(e){return Fpe(unescape(encodeURIComponent(e)))},Ipe=function(e){rne(n,zpe);var t=bne(n);function n(){var e;return oee(this,n),(e=t.call(this))._minBufferSize=0,e}return see(n,[{key:"reset",value:function(){this._data=new kpe,this._nDataBytes=0}},{key:"_append",value:function(e){var t,n=e;"string"==typeof n&&(n=Ppe(n)),Pee(t=this._data).call(t,n),this._nDataBytes+=n.sigBytes}},{key:"_process",value:function(e){var t,n=this._data,r=this.blockSize,i=n.words,o=n.sigBytes,a=o/(4*r),s=(a=e?Math.ceil(a):Math.max((0|a)-this._minBufferSize,0))*r,c=Math.min(4*s,o);if(s){for(var l=0;l<s;l+=r)this._doProcessBlock(i,l);t=Noe(i).call(i,0,s),n.sigBytes-=c}return new kpe(t,c)}},{key:"clone",value:function(){var e=ype(_ne(n.prototype),"clone",this).call(this);return e._data=this._data.clone(),e}}]),n}(),xpe=function(e){rne(n,Ipe);var t=bne(n);function n(e){var r;return oee(this,n),(r=t.call(this)).blockSize=16,r.cfg=Eee(new zpe,e),r.reset(),r}return see(n,[{key:"reset",value:function(){ype(_ne(n.prototype),"reset",this).call(this),this._doReset()}},{key:"update",value:function(e){return this._append(e),this._process(),this}},{key:"finalize",value:function(e){return e&&this._append(e),this._doFinalize()}}],[{key:"_createHelper",value:function(e){return function(t,n){return new e(n).finalize(t)}}},{key:"_createHmacHelper",value:function(e){return function(t,n){return new Xpe(e,n).finalize(t)}}}]),n}(),Xpe=function(e){rne(n,zpe);var t=bne(n);function n(e,r){var i;oee(this,n),i=t.call(this);var o=new e;i._hasher=o;var a=r;"string"==typeof a&&(a=Ppe(a));var s=o.blockSize,c=4*s;a.sigBytes>c&&(a=o.finalize(r)),a.clamp();var l=a.clone();i._oKey=l;var u=a.clone();i._iKey=u;for(var d=l.words,h=u.words,p=0;p<s;p+=1)d[p]^=1549556828,h[p]^=909522486;return l.sigBytes=c,u.sigBytes=c,i.reset(),i}return see(n,[{key:"reset",value:function(){var e=this._hasher;e.reset(),e.update(this._iKey)}},{key:"update",value:function(e){return this._hasher.update(e),this}},{key:"finalize",value:function(e){var t,n=this._hasher,r=n.finalize(e);return n.reset(),n.finalize(Pee(t=this._oKey.clone()).call(t,r))}}]),n}(),Hpe=[],Cpe=function(e){rne(n,xpe);var t=bne(n);function n(){return oee(this,n),t.apply(this,arguments)}return see(n,[{key:"_doReset",value:function(){this._hash=new kpe([1732584193,4023233417,2562383102,271733878,3285377520])}},{key:"_doProcessBlock",value:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=0;c<80;c+=1){if(c<16)Hpe[c]=0|e[t+c];else{var l=Hpe[c-3]^Hpe[c-8]^Hpe[c-14]^Hpe[c-16];Hpe[c]=l<<1|l>>>31}var u=(r<<5|r>>>27)+s+Hpe[c];u+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0}},{key:"_doFinalize",value:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash}},{key:"clone",value:function(){var e=ype(_ne(n.prototype),"clone",this).call(this);return e._hash=this._hash.clone(),e}}]),n}();xpe._createHelper(Cpe);var Ope,Lpe=xpe._createHmacHelper(Cpe);!function(e,t,n){function r(e,t){var n=Y_(mG(e).call(e,t,t+2),16);return n>>>7==0?[1,n]:n>>>6==2?(n=(63&n)<<8,[2,n+=Y_(mG(e).call(e,t+2,t+4),16)]):(n=(63&n)<<16,[3,n+=Y_(mG(e).call(e,t+2,t+6),16)])}var i,o=0,a=[],s=[];for(i=0;i<4;++i)o+=(3&Y_(mG(e).call(e,8+2*i,10+2*i),16))<<2*i;var c=Y_(mG(e).call(e,16,24),16),l=2*Y_(mG(e).call(e,32,40),16);for(i=40;i<l+40;i+=2)a.push(Y_(mG(e).call(e,i,i+2),16));var u=l+40,d=Y_(mG(e).call(e,u,u+4),16);for(u+=4,i=0;i<d;++i){var h=r(e,u);u+=2*h[0];for(var p="",f=0;f<h[1];++f){var g=r(e,u);p+=String.fromCharCode(o^g[1]),u+=2*g[0]}s.push(p)}t.p=null,function e(t,n,r,i,o,c){var l,u,d,h,p,f=-1,g=[],v=null,m=[n];for(u=Math.min(n.length,r),d=0;d<u;++d)m.push(n[d]);m.p=i;for(var y=[];;)try{switch(a[t++]){case 59:g[++f]=null;break;case 36:l=((l=((l=a[t++])<<8)+a[t++])<<8)+a[t++],g[++f]=(l<<8)+a[t++];break;case 43:l=(a[t]<<8)+a[t+1],t+=2,g[++f]=s[l];break;case 3:g[++f]=void 0;break;case 52:l=(a[t]<<8)+a[t+1],t+=2,f=f-l+1,u=mG(g).call(g,f,f+l),g[f]=u;break;case 47:for(u=a[t++],d=a[t++],h=m;u>0;--u)h=h.p;g[++f]=h[d];break;case 17:l=(a[t]<<8)+a[t+1],t+=2,u=s[l],g[f]=g[f][u];break;case 44:for(u=a[t++],d=a[t++],h=m;u>0;--u)h=h.p;h[d]=g[f--];break;case 28:l=a[t++],u=g[f--],(d=function e(){var t=e._v;return(0,e._u)(t[0],arguments,t[1],t[2],this)})._v=[u,l,m],d._u=e,g[++f]=d;break;case 64:for(u=g[f--],d=null;h=y.pop();)if(2===h[0]||3===h[0]){d=h;break}if(d)t=d[2],d[0]=0,y.push(d);else{if(!v)return u;t=v[1],o=v[2],m=v[3],y=v[4],g[++f]=u,v=v[0]}break;case 67:f-=l=a[t++],d=mG(g).call(g,f+1,f+l+1),u=g[f--],h=g[f--],u._u===e?(u=u._v,v=[v,t,o,m,y],t=u[0],null==h&&(h=function(){return this}()),o=h,(m=b_(c=[d]).call(c,d)).length=Math.min(u[1],l)+1,m.p=u[2],y=[]):(p=u.apply(h,d),g[++f]=p);break;case 70:u=g[f],g[++f]=u;break;default:throw new Error("ioe")}}catch(_){for(;(l=y.pop())&&!l[0];);if(!l){e:for(;v;){for(u=v[4];l=u.pop();)if(l[0])break e;v=v[0]}if(!v)throw _;t=v[1],o=v[2],m=v[3],y=v[4],v=v[0]}1===(u=l[0])?(t=l[2],l[0]=0,y.push(l),g[++f]=_):2===u?(t=l[2],l[0]=0,y.push(l)):(t=l[3],l[0]=2,y.push(l),g[++f]=_)}}(c,[],0,t,n)}("504B0101011a4e7f000000287f4f1a01000000343b2f02002f00012f00022f00032f0004340004461100002b000143012b000243024611000343004024000000001c042c0101034000040480838086808080870180cf2080d880de808380858099808b809c80848081809a80d0808880808081809380d8809b809880d8809f80d980d88083809e80de808780d1808780d080838099808d08809d808680ba809d809b80808087808e",{get 0(){return Lpe},get 1(){return Ope},set 1(e){Ope=e}},void 0);var Upe=function(){function e(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ete.CN;oee(this,e),s6(this,"appId",void 0),s6(this,"ctx",void 0),s6(this,"host",void 0),s6(this,"needSignature",!0),s6(this,"region",void 0),s6(this,"scene",void 0),s6(this,"ext",void 0),this.scene=(r={},s6(r,Mte.LIVE,1),s6(r,Mte.VOD,0),r)[n.videoType],this.ext=l6({},this.getConfigType(n.strategies)),this.appId=t,this.ctx=n,this.region=i,this.host=this.getHostByRegion()}return see(e,[{key:"getConfigType",value:function(e){var t;if(!e)return{};var n={};return lee(t=uee(e)).call(t,(function(t){var r=e[t];r&&(n["".concat(t,"_id")]="object"===k2(r)&&r.configId?r.configId:"default")})),n}},{key:"getCacheKey",value:function(){return fee([this.appId,this.ctx.cacheKey,this.ctx.featureCenter.getH265FeatureList().isHevcSupported,this.ctx.featureCenter.getBrowserInfo(),this.ctx.featureCenter.getFeatureList().deviceId])}},{key:"fetch",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(iee(nee().mark((function e(){var t,n,r,i,o,a,s;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(this.generateUrl(),{mode:"cors"});case 3:if((t=e.sent).ok){e.next=6;break}throw new Error("Network response was not OK");case 6:return e.next=8,t.json();case 8:return n=e.sent,r=n.data,i=r.custom_settings.web,o=r.general_settings,a=o.use_local_cache,s=o.local_cache_expire,e.abrupt("return",l6(l6({},i),{},{use_local_cache:a,local_cache_expired_at:s>0?Ste()+1e3*s:void 0,cache_key:this.getCacheKey()}));case 17:throw e.prev=17,e.t0=e.catch(0),e.t0;case 20:case"end":return e.stop()}}),e,this,[[0,17]])}))))},{key:"getHostByRegion",value:function(){var e;return(null===(e={cn:{settingsHost:"vod-settings.volcvod.com"}}[this.region])||void 0===e?void 0:e.settingsHost)||"vod-settings.volcvod.com"}},{key:"generateSearchParams",value:function(e){if(e.searchParams.set("module","web"),e.searchParams.set("aid",String(this.appId)),e.searchParams.set("region",this.region),e.searchParams.set("web_support_hardware_decode_bytevc1",String(this.ctx.featureCenter.getH265FeatureList().isHevcSupported)),e.searchParams.set("web_os",this.ctx.featureCenter.getBrowserInfo().osName),e.searchParams.set("web_os_version",this.ctx.featureCenter.getBrowserInfo().osVersion),e.searchParams.set("web_platform",this.ctx.featureCenter.getBrowserInfo().platformType),e.searchParams.set("web_browser",this.ctx.featureCenter.getBrowserInfo().browserName),e.searchParams.set("web_browser_version",this.ctx.featureCenter.getBrowserInfo().browserVersion),e.searchParams.set("web_cpu_core",String(this.ctx.featureCenter.getBrowserInfo().cpuCore)),e.searchParams.set("web_scene",String(this.scene)),e.searchParams.set("web_ext",fee(this.ext)),e.searchParams.set("device_id",this.ctx.featureCenter.getFeatureList().deviceId),this.needSignature){var t=Ste();e.searchParams.set("timestamp",String(t));var n=Ope(this.appId,this.ctx.featureCenter.getFeatureList().deviceId,this.ctx.featureCenter.getBrowserInfo().browserName,t);e.searchParams.set("signature",n)}return e}},{key:"generateUrl",value:function(){return this.generateSearchParams(new lpe("https://".concat(this.host,"/vod/settings/v1")))}}]),e}(),Bpe=new Ate("VeStrategy"),Npe=s6({},Mte.VOD,Dle),Vpe=function(){function e(t){oee(this,e),s6(this,"ctx",void 0),s6(this,"configPreparePromise",void 0),s6(this,"isStrategyStarted",!1);var n=new rae(t),r=new Hte(t,new Upe(t.appId,{featureCenter:n,cacheKey:t.cacheKey,strategies:t.strategies,videoType:t.type||Mte.VOD}));Bpe.update(t.log),this.ctx={dataCenter:r,featureCenter:n,playerManager:new _le,tracker:new Gle({trackInfo:t.tracker,type:t.type||Mte.VOD,lineAppId:t.appId,lineUserId:t.deviceId,appId:t.type===Mte.VOD?577780:579013,channel:t.region,cxt:{dataCenter:r,featureCenter:n}})},this.prepare(!0)}var t,n,r,i,o;return see(e,[{key:"start",value:(o=iee(nee().mark((function e(){var t,n=this;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStrategyStarted){e.next=2;break}return e.abrupt("return");case 2:if(this.isStrategyStarted=!0,Bpe.info("Start"),this.ctx.tracker.track("strategy_start",{}),this.ctx.featureCenter.getFeatureList().deviceId){e.next=13;break}return e.next=8,this.getTeaToken();case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0={};case 11:t=e.t0,this.ctx.featureCenter.updateFeatureList({deviceId:t.user_unique_id||t.web_id||""});case 13:return this.configPreparePromise=this.ctx.dataCenter.fetchStrategyConfig(),this.configPreparePromise.then((function(){return n.prepare(!1)})),e.abrupt("return",this.configPreparePromise);case 16:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"updateFeatures",value:(i=iee(nee().mark((function e(t){var n,r,i;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&null!==(n=this.ctx)&&void 0!==n&&null!==(n=n.featureCenter)&&void 0!==n&&n.updateFeatureList){e.next=2;break}return e.abrupt("return");case 2:if(i=null===(r=this.ctx.featureCenter.getFeatureList())||void 0===r?void 0:r.deviceId,this.ctx.featureCenter.updateFeatureList(l6({},t)),!t.deviceId||t.deviceId===i){e.next=6;break}return e.abrupt("return",this.reloadConfig());case 6:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"reloadConfig",value:(r=iee(nee().mark((function e(){return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.configPreparePromise=this.ctx.dataCenter.fetchStrategyConfig(),e.abrupt("return",this.configPreparePromise);case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getTeaToken",value:(n=iee(nee().mark((function e(){var t=this;return nee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new cee((function(e){var n,r,i;if("function"==typeof(null===(n=t.ctx.tracker)||void 0===n||null===(n=n.tracker)||void 0===n?void 0:n.getToken))return t.ctx.tracker.tracker.getToken((function(t){return e(t)}));var o=((null===(r=t.ctx.tracker)||void 0===r||null===(r=r.tracker)||void 0===r||null===(i=r.getConfig)||void 0===i?void 0:i.call(r))||{}).user;return e(void 0===o?{}:o)})));case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"prepare",value:function(e){var t,n=this,r=this.ctx.dataCenter.getInitStrategyConfig()||{},i=this.ctx.dataCenter.getServiceStrategyConfig()||{};lee(t=uee(r)).call(t,(function(t){var o,a,s,c,l,u,d;(null===(o=r[t])||void 0===o?void 0:o.disabled)||(null==i||null===(a=i[t])||void 0===a?void 0:a.disabled)||null===(s=r[t])||void 0===s||null===(s=s.Strategy)||void 0===s||null===(c=s[e?"prepareBeforeStarted":"prepareAfterStarted"])||void 0===c||c.call(s,{ctx:n.ctx,Strategy:null===(l=r[t])||void 0===l?void 0:l.Strategy,config:l6(l6({},null===(u=r[t])||void 0===u?void 0:u.config),null==i||null===(d=i[t])||void 0===d?void 0:d.config)})}))}}],[{key:"init",value:function(t){var n;if(Bpe.update(null==t?void 0:t.log),null!=t&&t.appId&&t.strategies){var r={};lee(n=uee(t.strategies)).call(n,(function(e){var n,i;null!==(n=t.strategies)&&void 0!==n&&n[e]&&"object"===k2(null===(i=t.strategies)||void 0===i?void 0:i[e])&&(r[e]=t.strategies[e])}));var i=l6(l6({},t),{},{strategies:r,type:t.type||Mte.VOD});if(Bpe.info("Init",i),i.type===Mte.VOD||i.type===Mte.LIVE)return i.type===Mte.VOD?(e._vodInst=e._vodInst||new e(i),e._vodInst.ctx.tracker.track("strategy_init",{}),e._vodInst):(e._liveInst=e._liveInst||new e(i),e._liveInst.ctx.tracker.track("strategy_init",{}),e._liveInst);Bpe.error("Init Invalid Strategy Type=".concat(t.type))}else Bpe.error("Init without appId or strategies",t)}},{key:"bootstrap",value:function(t){var n;return null===(n=e.init(t))||void 0===n?void 0:n.start()}},{key:"inst",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mte.VOD;return t===Mte.VOD?e._vodInst:t===Mte.LIVE?e._liveInst:null}},{key:"recLive",value:function(t,n){return e.rec(t,n,Mte.LIVE)}},{key:"recAsync",value:(t=iee(nee().mark((function t(n,r){var i,o,a=arguments;return nee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.length>2&&void 0!==a[2]?a[2]:Mte.VOD,o=e.inst(i||Mte.VOD),Bpe.info("recAsync",o,r,i),null!=o&&o.configPreparePromise){t.next=6;break}return Bpe.error("VeStrategyNotInitOrStart"),t.abrupt("return",{plugins:[],pluginConfiguration:{},result:{}});case 6:return t.next=8,o.configPreparePromise;case 8:return t.abrupt("return",e.rec(n,r,i));case 9:case"end":return t.stop()}}),t)}))),function(e,n){return t.apply(this,arguments)})},{key:"rec",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mte.VOD;try{return e._rec(t,n,r)}catch($O){var i;Bpe.error("VeStrategyRecError");var o=e.inst(r);return null==o||null===(i=o.ctx)||void 0===i||null===(i=i.tracker)||void 0===i||i.track("strategy_js_error",{type:r,option:fee(null!=t?t:{}),common_config:fee(null!=n?n:{})}),{plugins:[],pluginConfiguration:{},result:{}}}}},{key:"reportABInfo",value:function(t){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mte.VOD;Mte.VOD!==i?Mte.LIVE!==i||null===(n=e._liveInst)||void 0===n||null===(n=n.ctx)||void 0===n||null===(n=n.tracker)||void 0===n||n.bindTrackerABVersion(t):null===(r=e._vodInst)||void 0===r||null===(r=r.ctx)||void 0===r||null===(r=r.tracker)||void 0===r||r.bindTrackerABVersion(t)}},{key:"getServiceConfig",value:function(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mte.VOD;return Mte.VOD===r?(null===(t=e._vodInst)||void 0===t||null===(t=t.ctx)||void 0===t||null===(t=t.dataCenter)||void 0===t?void 0:t.getServiceStrategyConfig())||{}:Mte.LIVE===r&&(null===(n=e._liveInst)||void 0===n||null===(n=n.ctx)||void 0===n||null===(n=n.dataCenter)||void 0===n?void 0:n.getServiceStrategyConfig())||{}}},{key:"apply",value:function(t,n,r){var i;if(!t||!n)return t;if(((null==r?void 0:r.type)||Mte.VOD)===Mte.VOD&&null!==(i=e._vodInst)&&void 0!==i&&i.ctx){var o,a=(null==r?void 0:r.Adapter)||(null===(o=e._vodInst.ctx.dataCenter.getAppConfig())||void 0===o||null===(o=o.adapter)||void 0===o?void 0:o.Adapter)||Npe[Mte.VOD];return a&&(t=(new a).apply(t,n)),t}return t}},{key:"_rec",value:function(t,n){var r,i,o,a,s,c,l,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mte.VOD,d=e.inst(u||Mte.VOD);if(Bpe.info("rec",d,n,u),!d)return Bpe.error("VeStrategyNotInit"),{plugins:[],pluginConfiguration:{},result:{}};var h={plugins:[Ele],pluginConfiguration:s6({},Ele.pluginName,{}),result:{},strategyPluginKeys:Ele.pluginName},p=new mle(d.ctx),f=d.ctx.dataCenter.getServiceStrategyConfig()||{},g=d.ctx.dataCenter.getInitStrategyConfig()||{};lee(r=uee(g)).call(r,(function(e){var n,r=g[e],i=f[e],o=null==t?void 0:t[e];if(null!=r&&r.disabled||null!=i&&i.disabled||null!=o&&o.disabled)Bpe.warn("StrategyDisabled",r,i,o);else{var a,s,c=l6(l6(l6({},r),o),{},{config:Eee({},null==r?void 0:r.config,null==i?void 0:i.config,null==o?void 0:o.config)});(null===(n=c.Strategy)||void 0===n?void 0:n.strategyName)===e?p.registerStrategy(c):Bpe.warn("StrategyNameIllegal",Pee(a="".concat(null===(s=c.Strategy)||void 0===s?void 0:s.strategyName,"!==")).call(a,e))}})),lee(i=p.getStrategyList()).call(i,(function(e){var t,r,i;try{var o;i=(null==e||null===(o=e.getRecommendation)||void 0===o?void 0:o.call(e,n))||{plugins:[],pluginConfiguration:{},result:{}}}catch(a){return Bpe.error("StrategyRecommendError",a),void d.ctx.tracker.track("strategy_exe_error",{strategy_name:null==e?void 0:e.strategyName})}h.plugins=Pee(t=h.plugins).call(t,i.plugins||[]),h.pluginConfiguration=l6(l6({},h.pluginConfiguration),i.pluginConfiguration),h.result=l6(l6({},h.result),{},s6({},e.strategyName,l6({_strategyConfig:null===(r=e.getStrategyConfig)||void 0===r?void 0:r.call(e)},i.result)))}));var v=d.ctx.dataCenter.getAppConfig();lee(o=uee(h.pluginConfiguration)).call(o,(function(e){h.pluginConfiguration[e]=l6(l6({},h.pluginConfiguration[e]),{},{ctx:d.ctx,strategyCenter:p,videoType:null==v?void 0:v.type})})),Bpe.info("StrategyRecommendResult",h);var m=null!==(a=h.result)&&void 0!==a?a:{};return h.strategyKeys=Iee(s=uee(m)).call(s,(function(e){var t;return"object"===k2(m[e])&&(null===(t=m[e])||void 0===t?void 0:t.enable)})).join("|"),h.strategyPluginKeys=null===(c=h.plugins)||void 0===c||null===(l=Bee(c))||void 0===l||null===(l=l.call(c,(function(e){return null==e?void 0:e.pluginName})))||void 0===l?void 0:l.join("|"),d.ctx.tracker.track("strategy_rec_info",{strategy_keys:h.strategyKeys,strategy_plugin_keys:h.strategyPluginKeys,strategy_info:fee(h.result)}),h}}]),e}();s6(Vpe,"_vodInst",void 0),s6(Vpe,"_liveInst",void 0);var jpe=["Strategy","disabled","config"];function Kpe(e){if(!e||"boolean"==typeof e)return{config:{}};e.Strategy,e.disabled;var t=e.config,n=_X(e,jpe);return eh(eh({},e),{},{config:eh(eh({},n),null!=t?t:{})})}var Qpe,Wpe=function(){function e(t){var n,r=this;Zm(this,e),Yd(this,"config",void 0),Yd(this,"tea",void 0),Yd(this,"Collector",void 0),Yd(this,"_loadPlugin",void 0),Yd(this,"webId",void 0),Yd(this,"status",0),Yd(this,"initPromise",void 0),Yd(this,"_strategyWrappers",{}),this.tea=t.tea,this.Collector=t.Collector,this._loadPlugin=t.loadPlugin,qG(n=t.strategies).call(n,(function(e){r._strategyWrappers[e.strategyKey]=new e(r)}))}var t,n,r,i,o,a;return Ym(e,[{key:"preload",get:function(){return this._strategyWrappers.preload}},{key:"h265",get:function(){return this._strategyWrappers.h265}},{key:"rtmAdaptiveBuffer",get:function(){return this._strategyWrappers.rtmAdaptiveBuffer}},{key:"init",value:(a=qm(Qm().mark((function e(t){return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.initPromise||(this.initPromise=this.initOnce(t)),e.abrupt("return",this.initPromise);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"prepare",value:function(){return this.initPromise||qT.resolve(this.isReady())}},{key:"getDeviceId",value:function(){var e;return null===(e=this.config)||void 0===e?void 0:e.deviceId}},{key:"isReady",value:function(){return 2===this.status}},{key:"getStrategyRecommendations",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.isReady()?(null===(e=this.config)||void 0===e||null===(e=e.Module)||void 0===e?void 0:e.rec(t,n,Mte.LIVE))||{}:{plugins:[],pluginConfiguration:{}}}},{key:"getStrategyRecommendationsAsync",value:(o=qm(Qm().mark((function e(){var t,n,r,i,o=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>0&&void 0!==o[0]?o[0]:void 0,r=o.length>1&&void 0!==o[1]?o[1]:void 0,this.isReady()){e.next=4;break}return e.abrupt("return",{plugins:[],pluginConfiguration:{}});case 4:return e.next=6,null===(t=this.config)||void 0===t||null===(t=t.Module)||void 0===t?void 0:t.recAsync(n,r);case 6:return i=e.sent,e.abrupt("return",i);case 8:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"fetchWebId",value:(i=qm(Qm().mark((function e(){var t,n,r=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=this.config)||void 0===t||!t.deviceId){e.next=2;break}return e.abrupt("return",qT.resolve(null===(n=this.config)||void 0===n?void 0:n.deviceId));case 2:return e.abrupt("return",new qT((function(e){var t;return null!==(t=r.tea)&&void 0!==t&&t.getToken?r.tea.getToken((function(t){e(null==t?void 0:t.web_id)})):e("default_web_id")})).then((function(e){return r.config&&(r.config.deviceId=e),r.webId})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fetchVeStrategy",value:(r=qm(Qm().mark((function e(){var t,n=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=this.config)||void 0===t||!t.Module){e.next=2;break}return e.abrupt("return");case 2:return e.abrupt("return",this._loadPlugin("vestrategy").then((function(e){n.config&&e&&(n.config.Module=e)})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"fetchStrategies",value:(n=qm(Qm().mark((function e(){var t,n,r,i=this;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},null!==(t=this.config)&&void 0!==t&&t.strategies){e.next=3;break}return e.abrupt("return",r);case 3:return e.next=5,qT.all(DS(n=jG(this.config.strategies)).call(n,function(){var e=qm(Qm().mark((function e(t){var n,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=null===(n=i.config)||void 0===n?void 0:n.strategies[t]){e.next=3;break}return e.abrupt("return");case 3:if(!0===o&&(o={}),a=o.Strategy){e.next=9;break}return e.next=8,i._loadPlugin(t);case 8:a=e.sent;case 9:r[t]=eh(eh({},o),{},{Strategy:a}),r[t]=Kpe(r[t]);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 5:return this.config.strategies=r,e.abrupt("return",r);case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"initOnce",value:(t=qm(Qm().mark((function e(t){var n,r,i,o;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.appId){e.next=2;break}return e.abrupt("return");case 2:return this.status=1,this.config=t,e.prev=4,e.next=7,qT.all([this.fetchWebId(),this.fetchVeStrategy()]);case 7:return e.next=9,this.fetchStrategies();case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(4);case 13:return n=this.config,r=n.appId,i=n.deviceId,o=n.Module,r&&i&&o?(o.bootstrap(eh(eh({},this.config),{},{tracker:{Collector:this.Collector,enableABVersion:!1}})),this.status=2):this.status=3,e.abrupt("return",this.isReady());case 16:case"end":return e.stop()}}),e,this,[[4,11]])}))),function(e){return t.apply(this,arguments)})}]),e}(),qpe=function(){return(qpe=zT||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Zpe(e,t){var n="function"==typeof YG&&_M(e);if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function $pe(){for(var e=[],t=0;t<arguments.length;t++)e=b_(e).call(e,Zpe(arguments[t]));return e}var Ype,Jpe,efe,tfe,nfe=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 n=this;e&&t&&"function"==typeof t&&this.on(e,(function r(i){t(i),n.off(e,r)}))},e.prototype.off=function(e,t){if(e&&this._hooks[e]&&this._hooks[e].length)if(t){var n,r,i=hR(n=this._hooks[e]).call(n,t);-1!==i&&sM(r=this._hooks[e]).call(r,i,1)}else this._hooks[e]=[]},e.prototype.emit=function(e,t,n){if(n){var r;if(!e)return;-1!==hR(r=this._cache).call(r,n)?this._emit(e,t):(this._hooksCache.hasOwnProperty(n)||(this._hooksCache[n]={}),this._hooksCache[n].hasOwnProperty(e)||(this._hooksCache[n][e]=[]),this._hooksCache[n][e].push(t))}else this._emit(e,t)},e.prototype._emit=function(e,t){var n;e&&this._hooks[e]&&this._hooks[e].length&&qG(n=$pe(this._hooks[e])).call(n,(function(e){try{e(t)}catch(n){}}))},e.prototype.set=function(e){var t;e&&-1===hR(t=this._cache).call(t,e)&&this._cache.push(e)},e}(),rfe=function(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)},ife=function(e){return uS(e)},ofe=(Ype=+vR()+Number(mG(Qpe=""+Math.random()).call(Qpe,2,8)),function(){return Ype+=1}),afe=function(e){return function(e,t,n){if("string"==typeof e&&"number"==typeof n){var r,i=[];n=n<=25?n:n%25;var o=String.fromCharCode(n+97);r=e.split(o);for(var a=0;a<r.length;a++){var s=Y_(r[a],n);s=1*s^64;var c=String.fromCharCode(s);i.push(c)}return i.join("")}}(e,0,25)},sfe=function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},cfe=function(e){sfe()?window.addEventListener("pagehide",e,!1):window.addEventListener("beforeunload",e,!1)},lfe=function(){var e,t=0;return qG(e=["hidden","msHidden","webkitHidden"]).call(e,(function(e){void 0!==document[e]&&(t=1)})),t},ufe=function(e){var t=document.createElement("a");return t.href=e,t},dfe=function(e){var t={};try{var n,r=ufe(e).search;if(!r)return t;qG(n=(r=mG(r).call(r,1)).split("&")).call(n,(function(e){var n,r,i=e.split("=");i.length&&(n=i[0],r=i[1]);try{t[n]=decodeURIComponent(void 0===r?"":r)}catch(o){t[n]=r}}))}catch(i){}return t},hfe=function(e){for(var t=0,n=0,r=(e+="").length,i=0;i<r;i++)((t=31*t+e.charCodeAt(n++))>0x7fffffffffff||t<-0x800000000000)&&(t&=0xffffffffffff);return t<0&&(t+=0x7ffffffffffff),t},pfe=(function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=PT(n);/^[\{\[]/.test(a)&&(n=a)}catch(l){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in o)o[c]&&(s+="; "+c,!0!==o[c]&&(s+="="+o[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),c=mG(s).call(s,1).join("=");n||'"'!==c.charAt(0)||(c=mG(c).call(c,1,-1));try{var l=t(s[0]);if(c=(r.read||r)(c,l)||t(c),n)try{c=JSON.parse(c)}catch(u){}if(i[l]=c,e===l)break}catch(u){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))},e.exports=n()}(Jpe={exports:{}}),Jpe.exports),ffe=function(e,t){try{return e?pfe.get(e):pfe.get()}catch(n){return""}},gfe=function(e,t,n,r){try{var i=r||document.domain,o=+new Date+(n||6048e5);pfe.set(e,t,{expires:new Date(o),path:"/",domain:i})}catch(a){}},vfe=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,t){return ffe(e)},e.prototype.setCookie=function(e,t,n,r){gfe(e,t,n,r)},e}(),mfe={getItem:function(e){try{var t=localStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);localStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{localStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return ffe(e)},setCookie:function(e,t,n,r){gfe(e,t,n,r)},isSupportLS:function(){try{return localStorage.setItem("_ranger-test-key","hi"),localStorage.getItem("_ranger-test-key"),localStorage.removeItem("_ranger-test-key"),!0}catch(ZO){return!1}}()},yfe={getItem:function(e){try{var t=sessionStorage.getItem(e),n=t;try{t&&"string"==typeof t&&(n=JSON.parse(t))}catch(r){}return n||{}}catch(r){}return{}},setItem:function(e,t){try{var n="string"==typeof t?t:PT(t);sessionStorage.setItem(e,n)}catch(r){}},removeItem:function(e){try{sessionStorage.removeItem(e)}catch(t){}},getCookie:function(e,t){return ffe(e)},setCookie:function(e,t,n,r){gfe(e,t,n,r)},isSupportSession:function(){try{return sessionStorage.setItem("_ranger-test-key","hi"),sessionStorage.getItem("_ranger-test-key"),sessionStorage.removeItem("_ranger-test-key"),!0}catch(ZO){return!1}}()},_fe=function(){function e(e,t){this._storage=t&&"session"===t?yfe:!e&&mfe.isSupportLS?mfe:new vfe}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,n,r){this._storage.setCookie(e,t,n,r)},e.prototype.removeItem=function(e){this._storage.removeItem(e)},e}(),Gfe=function(){function e(e,t,n){this.appid=e,this.domain=t,this.userAgent=window.navigator.userAgent,this.appVersion=window.navigator.appVersion,this.cookie_expire=n}return e.prototype.init=function(){var e,t=window.navigator.userAgent,n=window.navigator.language,r=document.referrer,i=r?ufe(r).hostname:"",o=dfe(window.location.href),a=/Mobile|htc|mini|Android|iP(ad|od|hone)/.test(this.appVersion)?"wap":"web",s=(null===(e=window.navigator.connection)||void 0===e?void 0:e.effectiveType)||"";this.utm=function(e,t,n,r){var i=new _fe(!1),o=new _fe(!1,"session"),a=e?"_tea_utm_cache_"+e:"_tea_utm_cache",s=e?"_$utm_from_url_"+e:"_$utm_from_url",c={},l=["tr_shareuser","tr_admaster","tr_param1","tr_param2","tr_param3","tr_param4","$utm_from_url"],u={ad_id:Number(t.ad_id)||void 0,campaign_id:Number(t.campaign_id)||void 0,creative_id:Number(t.creative_id)||void 0,utm_source:t.utm_source,utm_medium:t.utm_medium,utm_campaign:t.utm_campaign,utm_term:t.utm_term,utm_content:t.utm_content,tr_shareuser:t.tr_shareuser,tr_admaster:t.tr_admaster,tr_param1:t.tr_param1,tr_param2:t.tr_param2,tr_param3:t.tr_param3,tr_param4:t.tr_param4};try{var d=!1;for(var h in u)u[h]&&(-1!==hR(l).call(l,h)?(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data[h]=u[h]):c[h]=u[h],d=!0);if(d)o.setItem(s,"1"),i.setCookie(a,PT(c),r,n);else{var p=i.getCookie(a,n);p&&(c=JSON.parse(p))}o.getItem(s)&&(c.hasOwnProperty("tracer_data")||(c.tracer_data={}),c.tracer_data.$utm_from_url=1)}catch(f){return u}return c}(this.appid,o,this.domain,this.cookie_expire);var c=this.browser(),l=this.os();return{browser:c.browser,browser_version:c.browser_version,platform:a,os_name:l.os_name,os_version:l.os_version,userAgent:t,screen_width:window.screen&&window.screen.width,screen_height:window.screen&&window.screen.height,device_model:this.getDeviceModel(l.os_name),language:n,referrer:r,referrer_host:i,network_type:s,utm:this.utm,latest_data:this.last(r,i)}},e.prototype.last=function(e,t){var n="",r="",i="",o=location.hostname,a=!1;if(e&&t&&o!==t){n=e,r=t,a=!0;var s=dfe(e);s.keyword&&(i=s.keyword)}return{$latest_referrer:n,$latest_referrer_host:r,$latest_search_keyword:i,isLast:a}},e.prototype.browser=function(){var e,t,n="",r=""+iE(this.appVersion),i=this.userAgent;return-1!==hR(i).call(i,"Edge")||-1!==hR(i).call(i,"Edg")?(n="Microsoft Edge",-1!==hR(i).call(i,"Edge")?(e=hR(i).call(i,"Edge"),r=i.substring(e+5)):(e=hR(i).call(i,"Edg"),r=i.substring(e+4))):-1!==(e=hR(i).call(i,"MSIE"))?(n="Microsoft Internet Explorer",r=i.substring(e+5)):-1!==(e=hR(i).call(i,"MetaSr"))?(n="sougoubrowser",r=i.substring(e+7,e+10)):-1!==hR(i).call(i,"MQQBrowser")||-1!==hR(i).call(i,"QQBrowser")?(n="qqbrowser",-1!==hR(i).call(i,"MQQBrowser")?(e=hR(i).call(i,"MQQBrowser"),r=i.substring(e+11,e+15)):-1!==hR(i).call(i,"QQBrowser")&&(e=hR(i).call(i,"QQBrowser"),r=i.substring(e+10,e+25))):-1!==hR(i).call(i,"Chrome")?-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"360"))?(n="360browser",r=i.substring(hR(i).call(i,"Chrome")+7)):-1!==hR(i).call(i,"baidubrowser")||-1!==hR(i).call(i,"BIDUBrowser")?(-1!==hR(i).call(i,"baidubrowser")?(e=hR(i).call(i,"baidubrowser"),r=i.substring(e+13,e+16)):-1!==hR(i).call(i,"BIDUBrowser")&&(e=hR(i).call(i,"BIDUBrowser"),r=i.substring(e+12,e+15)),n="baidubrowser"):-1!==(e=hR(i).call(i,"xiaomi"))?-1!==hR(i).call(i,"openlanguagexiaomi")?(n="openlanguage xiaomi",r=i.substring(e+7,e+13)):(n="xiaomi",r=i.substring(e-7,e-1)):-1!==(e=hR(i).call(i,"TTWebView"))?(n="TTWebView",r=i.substring(e+10,e+23)):(-1!==(e=hR(i).call(i,"Chrome"))||-1!==(e=hR(i).call(i,"Chrome")))&&(n="Chrome",r=i.substring(e+7)):-1!==hR(i).call(i,"Safari")?-1!==(e=hR(i).call(i,"QQ"))?(n="qqbrowser",r=i.substring(e+10,e+16)):-1!==(e=hR(i).call(i,"Safari"))&&(n="Safari",r=i.substring(e+7),-1!==(e=hR(i).call(i,"Version"))&&(r=i.substring(e+8))):-1!==(e=hR(i).call(i,"Firefox"))?(n="Firefox",r=i.substring(e+8)):-1!==(e=hR(i).call(i,"MicroMessenger"))?(n="weixin",r=i.substring(e+15,e+20)):-1!==(e=hR(i).call(i,"QQ"))&&(n="qqbrowser",r=i.substring(e+3,e+8)),-1!==(t=hR(r).call(r,";"))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r," "))&&(r=r.substring(0,t)),-1!==(t=hR(r).call(r,")"))&&(r=r.substring(0,t)),{browser:n,browser_version:r}},e.prototype.os=function(){for(var e,t="",n="",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:"Windows",r:/(Windows|Windows NT)/},{s:"Android",r:/Android/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"chromeOS",r:/CrOS/},{s:"Linux",r:/(Linux|X11)/},{s:"Sun OS",r:/SunOS/}],i=0;i<r.length;i++){var o=r[i];if(o.r.test(this.userAgent)){"Mac OS X"===(t=o.s)&&this.isNewIpad()&&(t="iOS");break}}var a,s,c=function(e,t){var n=e.exec(t);return n&&n[1]?n[1]:""},l=function(e,t){var n=RegExp("(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:"+e+")","i").exec(t);return n?mG(n).call(n,1)[0]:""};switch(/Windows/.test(t)&&(n=c(/Windows (.*)/,t),t="windows"),t){case"Mac OS X":n=l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent),t="mac";break;case"Android":(s=c(/Android ([\.\_\d]+)/,a=this.userAgent))||(s=c(/Android\/([\.\_\d]+)/,a)),n=s,t="android";break;case"iOS":n=this.isNewIpad()?l("Mac[ +]OS[ +]X(?:[ /](?:Version )?(\\d+(?:[_\\.]\\d+)+))?",this.userAgent):(n=/OS (\d+)_(\d+)_?(\d+)?/.exec(this.appVersion))?n[1]+"."+n[2]+"."+(0|n[3]):"",t="ios";break;case"chromeOS":var u=hR(e=this.userAgent).call(e,"x86_64");n=this.userAgent.substring(u+7,u+16)}return{os_name:t,os_version:n}},e.prototype.getDeviceModel=function(e){var t="";try{var n;if("android"===e)qG(n=navigator.userAgent.split(";")).call(n,(function(e){hR(e).call(e,"Build/")>-1&&(t=mG(e).call(e,0,hR(e).call(e,"Build/")))}));else if("ios"===e||"mac"===e||"windows"===e)if(this.isNewIpad())t="iPad";else{var r=navigator.userAgent.replace("Mozilla/5.0 (",""),i=hR(r).call(r,";");t=-1===i?"":mG(r).call(r,0,i)}}catch(o){return pE(t).call(t)}return pE(t).call(t)},e.prototype.isNewIpad=function(){return void 0!==this.userAgent&&"MacIntel"===navigator.platform&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1},e}(),Rfe={cn:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az1gz22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz22z1mz19z1jz1mz1ez4az22z1mz19z21z1lz21z21z1bz1iz4az1az1mz1k"},bfe={cn:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z4az28z1gz1hz1gz1cz18z1nz1gz4az1az1mz1k",sg:"1fz22z22z1nz21z4mz4bz4bz21z1ez18z1jz1gz49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",va:"1fz22z22z1nz21z4mz4bz4bz1kz18z1jz1gz24z18z49z1kz1az21z4az19z27z22z1cz1mz24z1cz20z21z1cz18z4az1az1mz1k",my:"1fz22z22z1nz21z4mz4bz4bz1kz1az21z49z19z1bz49z1kz27z4az1jz18z20z1iz1mz1dz1dz1gz1az1cz4az1az1mz1k"},Tfe="5.3.1",wfe=(afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z1cz1bz1gz22z1mz20z49z20z18z1lz1ez1cz20z21z4az1hz21"),afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1az1mz20z1cz4az1hz21"),afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz24z1gz21z23z18z1jz49z18z19z49z1jz1mz18z1bz1cz20z4az1hz21"),afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1fz1cz18z22z1kz18z1nz49z1az1mz20z1c")),Sfe=(afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz4fz49z1bz18z22z18z4az24z1mz1jz1az1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz1bz18z22z18z49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz22z1cz21z22z1cz20z49z1cz24z1cz1lz22z49z1gz1lz21z1nz1cz1az22z1mz20"),function(){function e(e,t){this.collector=e,this.config=t,this.eventNameWhiteList=["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","__bav_slide"],this.paramsNameWhiteList=["$inactive","$inline","$target_uuid_list","$source_uuid","$is_spider","$source_id","$is_first_time","_staging_flag"],this.regStr=new RegExp("^[a-zA-Z0-9][a-z0-9A-Z_.-]{1,255}$")}return e.prototype.checkVerify=function(e){var t=this;if(!e||!e.length)return!1;var n=e[0];if(!n)return!1;var r=n.events,i=n.header;if(!r||!r.length)return!1;var o=!0;return qG(r).call(r,(function(e){if(!e)return o=!1,void(e.checkEvent="事件异常");t.checkEventName(e.event)||(o=!1,e.checkEvent="事件名不能以 $ or __开头"),t.checkEventParams(e.params)||(o=!1,e.checkParams="属性名不能以 $ or __开头")})),this.checkEventParams(i)||(o=!1),o},e.prototype.checkEventName=function(e){return!!e&&this.calculate(e,"event")},e.prototype.checkEventParams=function(e){var t=e;if("string"==typeof e&&(t=JSON.parse(t)),!jG(t).length)return!0;for(var n in t)return!(!this.calculate(n,"params")||"string"==typeof t[n]&&t[n].length>1024&&(console.warn("params: "+n+" can not over 1024 byte, please check;"),1));return!0},e.prototype.calculate=function(e,t){var n;return-1!==hR(n="event"===t?this.eventNameWhiteList:this.paramsNameWhiteList).call(n,e)||!new RegExp("^\\$").test(e)&&!new RegExp("^__").test(e)||(console.warn(("event"===t?"event":"params")+" name: "+e+" can not start with $ or __, pleace check;"),!1)},e}());!function(e){e.Init="init",e.Config="config",e.Start="start",e.Ready="ready",e.UnReady="un-ready",e.TokenComplete="token-complete",e.TokenStorage="token-storage",e.TokenFetch="token-fetch",e.TokenError="token-error",e.ConfigUuid="config-uuid",e.ConfigWebId="config-webid",e.ConfigDiD="config-device-id",e.ConfigDomain="config-domain",e.CustomWebId="custom-webid",e.TokenChange="token-change",e.TokenReset="token-reset",e.ConfigTransform="config-transform",e.EnvTransform="env-transform",e.SessionReset="session-reset",e.SessionResetTime="session-reset-time",e.SetSessionId="set-session-id",e.Event="event",e.Events="events",e.EventNow="event-now",e.CleanEvents="clean-events",e.BeconEvent="becon-event",e.SubmitBefore="submit-before",e.SubmitScuess="submit-scuess",e.SubmitAfter="submit-after",e.SubmitError="submit-error",e.SubmitVerify="submit-verify",e.CustomHeader="custom-request-header",e.SDKInnerError="sdk-inner-error",e.SDKRunTimeError="sdk-run-time-error",e.LogSetting="log-setting",e.LogSettingReady="log-setting-ready",e.Stay="stay",e.ResetStay="reset-stay",e.StayReady="stay-ready",e.SetStay="set-stay",e.RouteChange="route-change",e.RouteReady="route-ready",e.Ab="ab",e.AbVar="ab-var",e.AbAllVars="ab-all-vars",e.AbConfig="ab-config",e.AbExternalVersion="ab-external-version",e.AbVersionChangeOn="ab-version-change-on",e.AbVersionChangeOff="ab-version-change-off",e.AbOpenLayer="ab-open-layer",e.AbCloseLayer="ab-close-layer",e.AbReady="ab-ready",e.AbComplete="ab-complete",e.AbTimeout="ab-timeout",e.Profile="profile",e.ProfileSet="profile-set",e.ProfileSetOnce="profile-set-once",e.ProfileUnset="profile-unset",e.ProfileIncrement="profile-increment",e.ProfileAppend="profile-append",e.ProfileClear="profile-clear",e.Autotrack="autotrack",e.AutotrackReady="autotrack-ready",e.CepReady="cep-ready",e.TracerReady="tracer-ready",e.sessionRecord="session-record",e.SessionRecordStart="session-record-start",e.SessionRecordPause="session-record-pause",e.SessionRecordEnd="session-record-end",e.SessionRecordReport="session-record-report",e.DestoryInstance="destory-instance",e.VisualCollectReady="visual-collect-ready",e.VisualApiReady="visual-api-ready",e.VisualApiUpdate="visual-api-update"}(efe||(efe={})),function(e){e.DEBUGGER_MESSAGE="debugger-message",e.DEBUGGER_MESSAGE_SDK="debugger-message-sdk",e.DEBUGGER_MESSAGE_FETCH="debugger-message-fetch",e.DEBUGGER_MESSAGE_FETCH_RESULT="debugger-message-fetch-result",e.DEBUGGER_MESSAGE_EVENT="debugger-message-event",e.DEVTOOL_WEB_READY="devtool-web-ready"}(tfe||(tfe={}));var Mfe=efe,Efe=void 0,Dfe=(new Date).getTimezoneOffset(),zfe=Y_(""+-Dfe/60,10),kfe=60*Dfe,Afe=function(){function e(e,t){var n=this;this.is_first_time=!0,this.configPersist=!1,this.initConfig=t,this.collect=e;var r=new Gfe(t.app_id,t.cookie_domain||"",t.cookie_expire||7776e6).init();this.eventCheck=new Sfe(e,t);var i="__tea_cache_first_"+t.app_id;this.configKey="__tea_cache_config_"+t.app_id,this.sessionStorage=new _fe(!1,"session"),this.localStorage=new _fe(!1,"local"),t.configPersist&&(this.configPersist=!0,this.storage=1===t.configPersist?this.sessionStorage:this.localStorage);var o=this.localStorage.getItem(i);o&&1==o?this.is_first_time=!1:(this.is_first_time=!0,this.localStorage.setItem(i,"1")),this.envInfo={user:{user_unique_id:Efe,user_type:Efe,user_id:Efe,user_is_auth:Efe,user_is_login:Efe,device_id:Efe,web_id:Efe,ip_addr_id:Efe,user_unique_id_type:Efe},header:{app_id:Efe,app_name:Efe,app_install_id:Efe,install_id:Efe,app_package:Efe,app_channel:Efe,app_version:Efe,ab_version:Efe,os_name:r.os_name,os_version:r.os_version,device_model:r.device_model,ab_client:Efe,traffic_type:Efe,client_ip:Efe,device_brand:Efe,os_api:Efe,access:Efe,language:r.language,region:Efe,app_language:Efe,app_region:Efe,creative_id:r.utm.creative_id,ad_id:r.utm.ad_id,campaign_id:r.utm.campaign_id,log_type:Efe,rnd:Efe,platform:r.platform,sdk_version:Tfe,sdk_lib:"js",province:Efe,city:Efe,timezone:zfe,tz_offset:kfe,tz_name:Efe,sim_region:Efe,carrier:Efe,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:r.utm.utm_term,utm_content:r.utm.utm_content,utm_source:r.utm.utm_source,utm_medium:r.utm.utm_medium,utm_campaign:r.utm.utm_campaign,tracer_data:PT(r.utm.tracer_data),custom:r.network_type?{network_type:r.network_type}:{},wechat_unionid:Efe,wechat_openid:Efe}},this.ab_version="",this.evtParams={},this.reportErrorCallback=function(){},this.isLast=!1,this.setCustom(r),this.initDomain(),this.initABData(),this.collect.on("route-change",(function(e){n.changeReferInfo(e.config)}))}return e.prototype.initDomain=function(){var e=this.initConfig.channel_domain;if(e)this.domain=e;else{var t=this.initConfig.channel;this.domain=afe(bfe[t])}},e.prototype.setDomain=function(e){this.domain=e},e.prototype.getDomain=function(){return this.domain},e.prototype.initABData=function(){var e="__tea_sdk_ab_version_"+this.initConfig.app_id,t=null;if(this.initConfig.ab_cross){var n=this.localStorage.getCookie(e,this.initConfig.ab_cookie_domain);t=n?JSON.parse(n):null}else t=this.localStorage.getItem(e);this.setAbCache(t)},e.prototype.setAbCache=function(e){this.ab_cache=e},e.prototype.getAbCache=function(){return this.ab_cache},e.prototype.setAbVersion=function(e){this.ab_version=e},e.prototype.getAbVersion=function(){return this.ab_version},e.prototype.clearAbCache=function(){this.ab_version="",this.ab_cache={}},e.prototype.getUrl=function(e){var t="";switch(e){case"event":t="/list";break;case"webid":t="/webid";break;case"tobid":t="/tobid"}var n="";return this.initConfig.caller&&(n="?sdk_version=5.3.1&sdk_name=web&app_id="+this.initConfig.app_id+"&caller="+this.initConfig.caller),""+this.getDomain()+t+n},e.prototype.setCustom=function(e){if(e&&e.latest_data&&e.latest_data.isLast)for(var t in delete e.latest_data.isLast,this.isLast=!0,e.latest_data)this.envInfo.header.custom[t]=e.latest_data[t]},e.prototype.changeReferInfo=function(e){var t=e;this.envInfo.header.referrer=t.referrer;var n="";try{n=new bk(t.referrer).host}catch(r){}this.envInfo.header.referrer_host=n||this.envInfo.header.referrer_host},e.prototype.set=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){void 0!==e[t]&&null!==e[t]||n.delete(t);try{n.eventCheck.calculate(t,"config")}catch(ZO){}if("traffic_type"===t&&n.isLast&&(n.envInfo.header.custom.$latest_traffic_source_type=e[t]),"evtParams"===t)n.evtParams=qpe(qpe({},n.evtParams||{}),e.evtParams||{});else if("_staging_flag"===t)n.evtParams=qpe(qpe({},n.evtParams||{}),{_staging_flag:e._staging_flag});else if("reportErrorCallback"===t&&"function"==typeof e[t])n.reportErrorCallback=e[t];else{var r,i,o,a="",s="";if(hR(t).call(t,".")>-1){var c=t.split(".");a=c[0],s=c[1]}a?"user"===a||"header"===a?n.envInfo[a][s]=e[t]:(n.envInfo.header.custom[s]=e[t],n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"})):Object.hasOwnProperty.call(n.envInfo.user,t)?(hR(r=["user_type","ip_addr_id"]).call(r,t)>-1?n.envInfo.user[t]=e[t]?Number(e[t]):e[t]:hR(i=["user_id","web_id","user_unique_id","user_unique_id_type"]).call(i,t)>-1?n.envInfo.user[t]=e[t]?String(e[t]):e[t]:hR(o=["user_is_auth","user_is_login"]).call(o,t)>-1?n.envInfo.user[t]=Boolean(e[t]):"device_id"===t&&(n.envInfo.user[t]=e[t]),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"USER",common:t})):Object.hasOwnProperty.call(n.envInfo.header,t)?(n.envInfo.header[t]=e[t],n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 修改了公共参数",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:t})):(n.envInfo.header.custom[t]=e[t],n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 添加了Custom",level:"info",time:vR(),infoType:"sdk",secType:"HEADER",common:"custom"}))}}))},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(PT(this.envInfo[e])):JSON.parse(PT(this.envInfo))}catch(t){console.log("get config stringify error "),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message})}},e.prototype.setStore=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};if(t&&jG(e).length){var n=zT(e,t);this.storage.setItem(this.configKey,n)}}catch(r){console.log("setStore error"),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message})}},e.prototype.getStore=function(){try{if(!this.configPersist)return null;var e=this.storage.getItem(this.configKey)||{};return e&&jG(e).length?e:null}catch(t){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),null}},e.prototype.delete=function(e){try{if(!this.configPersist)return;var t=this.storage.getItem(this.configKey)||{};t&&Object.hasOwnProperty.call(t,e)&&(delete t[e],this.storage.setItem(this.configKey,t))}catch(n){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("delete error")}},e}(),Ffe=function(){function e(e,t){this.isLog=t||!1,this.name=e||""}return e.prototype.info=function(e){this.isLog&&console.log("%c %s","color: yellow; background-color: black;","[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.warn=function(e){this.isLog&&console.warn("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.error=function(e){this.isLog&&console.error("[AppLog WEB SDK] [instance: "+this.name+"] "+e)},e.prototype.throw=function(e){throw this.error(this.name),new Error(e)},e}(),Pfe=function(){function e(){this.spiderBot=["Baiduspider","googlebot","360Spider","haosouspider","YoudaoBot","Sogou News Spider","Yisouspider","Googlebot","Headless","Applebot","Bingbot","PetalBot"]}return e.prototype.checkSpider=function(e){var t;if(!e.enable_spider)return!1;var n=window.navigator.userAgent;if(!n)return!0;var r=!1;return qG(t=this.spiderBot).call(t,(function(e){-1!==hR(n).call(n,e)&&(r=!0)})),r},e}(),Ife=function(){function e(e,t){this.collect=e,this.native=t}var t=e.prototype;return t.bridgeInject=function(){try{return!!this.native&&(AppLogBridge?(console.log("AppLogBridge is injected"),!0):(console.log("AppLogBridge is not inject"),!1))}catch(e){return console.log("AppLogBridge is not inject"),!1}},t.bridgeReady=function(){var e=this;return new qT((function(t,n){try{e.bridgeInject()?AppLogBridge.hasStarted((function(e){console.log("AppLogBridge is started? : "+e),e?t(!0):n(!1)})):n(!1)}catch(r){console.log("AppLogBridge, error:"+PT(r.stack)),n(!1)}}))},t.setNativeAppId=function(e){try{AppLogBridge.setNativeAppId(PT(e)),console.log("change bridge appid, event report with appid: "+e)}catch(t){console.error("setNativeAppId error")}},t.setConfig=function(e){var t=this;try{var n;qG(n=jG(e)).call(n,(function(n){"user_unique_id"===n?t.setUserUniqueId(e[n]):e[n]?t.addHeaderInfo(n,e[n]):t.removeHeaderInfo(n)}))}catch(r){console.error("setConfig error")}},t.setUserUniqueId=function(e){try{AppLogBridge.setUserUniqueId(e)}catch(t){console.error("setUserUniqueId error")}},t.addHeaderInfo=function(e,t){try{AppLogBridge.addHeaderInfo(e,t)}catch(n){console.error("addHeaderInfo error")}},t.setHeaderInfo=function(e){try{AppLogBridge.setHeaderInfo(PT(e))}catch(t){console.error("setHeaderInfo error")}},t.removeHeaderInfo=function(e){try{AppLogBridge.removeHeaderInfo(e)}catch(t){console.error("removeHeaderInfo error")}},t.reportPv=function(e){this.onEventV3("predefine_pageview",e)},t.onEventV3=function(e,t){try{AppLogBridge.onEventV3(e,t),this.collect.emit(DebuggerMesssge.DEBUGGER_MESSAGE,{type:DebuggerMesssge.DEBUGGER_MESSAGE_EVENT,info:"bridge埋点上报",time:vR(),data:[{events:[{event:e,params:t}]}],code:200,status:"success"})}catch(n){console.error("onEventV3 error")}},t.profileSet=function(e){try{AppLogBridge.profileSet(e)}catch(t){console.error("profileSet error")}},t.profileSetOnce=function(e){try{AppLogBridge.profileSetOnce(e)}catch(t){console.error("profileSetOnce error")}},t.profileIncrement=function(e){try{AppLogBridge.profileIncrement(e)}catch(t){console.error("profileIncrement error")}},t.profileUnset=function(e){try{AppLogBridge.profileUnset(e)}catch(t){console.error("profileUnset error")}},t.profileAppend=function(e){try{AppLogBridge.profileAppend(e)}catch(t){console.error("profileAppend error")}},e}(),xfe=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)}))},Xfe=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.storage=new _fe(!1,"session"),this.sessionKey="__tea_session_id_"+t.app_id,this.expireTime=t.expireTime||18e5,this.disableSession=t.disable_session,this.disableSessionTimeCheck=t.disable_session_check,this.disableSession||(this.setSessionId(),this.collect.on(Mfe.SessionReset,(function(e){n.resetSessionId(e)})),this.collect.on(Mfe.SessionResetTime,(function(){n.updateSessionIdTime()})))},e.prototype.updateSessionIdTime=function(){var e=this.storage.getItem(this.sessionKey);if(e&&e.sessionId){var t=e.timestamp;vR()-t>this.expireTime?e={sessionId:xfe(),timestamp:vR()}:e.timestamp=vR(),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=vR():t={sessionId:xfe(),timestamp:vR()},this.storage.setItem(this.sessionKey,t),this.disableSessionTimeCheck||(this.sessionExp=Tw((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=Tw((function(){e.checkEXp()}),this.expireTime))},e.prototype.resetSessionId=function(e){var t={sessionId:e||xfe(),timestamp:vR()};this.storage.setItem(this.sessionKey,t)},e.prototype.checkEXp=function(){var e=this.storage.getItem(this.sessionKey);e&&e.sessionId&&vR()-e.timestamp+30>=this.expireTime&&(e={sessionId:xfe(),timestamp:vR()},this.storage.setItem(this.sessionKey,e))},e}(),Hfe=function(){function e(){this.eventLimit=50,this.enable_ttwebid=!1,this.eventCache=[],this.beconEventCache=[]}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=e.configManager,this.eventCheck=new Sfe(e,t),this.cacheStorgae=new _fe(!0),this.localStorage=new _fe(!1),this.maxReport=t.max_report||10,this.reportTime=t.reportTime||t.report_time||30,this.timeout=t.timeout||1e5,this.enable_ttwebid=t.enable_ttwebid,this.reportUrl=t.report_url||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.abKey="__tea_sdk_ab_version_"+this.configManager.get("app_id"),this.refer_key="__tea_cache_refer_"+this.configManager.get("app_id"),this.pageId=xfe(),this.collect.on(Mfe.Ready,(function(){n.reportAll(!1)})),this.collect.on(Mfe.ConfigDomain,(function(){n.reportUrl=n.configManager.getUrl("event")})),this.collect.on(Mfe.Event,(function(e){n.event(e)})),this.collect.on(Mfe.BeconEvent,(function(e){n.beconEvent(e)})),this.collect.on(Mfe.CleanEvents,(function(){n.reportAll(!1)}));var r=this.linster();this.collect.on(Mfe.DestoryInstance,(function(){r&&r()}))},e.prototype.linster=function(){var e=this,t=function(){e.reportAll(!0)};window.addEventListener("unload",t,!1),cfe(t);var n=function(){"hidden"===document.visibilityState&&e.reportAll(!0)};return document.addEventListener("visibilitychange",n,!1),function(){window.removeEventListener("unload",t),window.removeEventListener("pagehide",t,!1),window.removeEventListener("beforeunload",t,!1),document.removeEventListener("visibilitychange",n,!1)}},e.prototype.reportAll=function(e){this.report(e),this.reportBecon()},e.prototype.event=function(e){var t=this;try{if(this.collect.destroy)return;if(this.collect.sdkStop)return;if(this.config.enable_ios_sendbeacon&&sfe())return void this.beconEvent(e);var n=this.cacheStorgae.getItem(this.eventKey)||[],r=e;this.config.batch_event&&(r=this.batchEvent(e));var i=$pe(r,n);if(this.cacheStorgae.setItem(this.eventKey,i),this.reportTimeout&&clearTimeout(this.reportTimeout),i.length>=this.maxReport)this.report(!1);else{var o=this.reportTime;this.reportTimeout=vG((function(){t.report(!1),t.reportTimeout=null}),o)}}catch(a){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e){if(!this.collect.destroy&&!this.collect.sdkStop){var t=$pe(e,this.cacheStorgae.getItem(this.beconKey)||[]);this.cacheStorgae.setItem(this.beconKey,t),this.collect.tokenManager.getReady()&&this.collect.sdkReady&&(this.cacheStorgae.removeItem(this.beconKey),this.send(this.split(this.merge(t)),!0))}},e.prototype.reportBecon=function(){if(!this.collect.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){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.destroy&&!this.collect.sdkStop&&this.collect.tokenManager.getReady()&&this.collect.sdkReady){var t=this.cacheStorgae.getItem(this.eventKey)||[];t.length&&(this.cacheStorgae.removeItem(this.eventKey),this.config.batch_event?this.send([t],e):this.sliceEvent(t,e))}},e.prototype.batchEvent=function(e){var t=[];if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.merge(r);t.push(i)}else t=i=this.merge(e);return t},e.prototype.sliceEvent=function(e,t){if(e.length>this.eventLimit)for(var n=0;n<e.length;n+=this.eventLimit){var r;r=mG(e).call(e,n,n+this.eventLimit);var i=this.split(this.merge(r));this.send(i,t)}else i=this.split(this.merge(e)),this.send(i,t)},e.prototype.handleRefer=function(){var e="";try{if(this.config.spa||this.config.autotrack){var t=this.localStorage.getItem(this.refer_key)||{};e=t.routeChange?t.refer_key:this.configManager.get("referrer")}else e=this.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.merge=function(e,t){var n=this,r=this.configManager.get(),i=r.header,o=r.user;this.config.enable_pageid&&(i.custom.page_id=this.pageId),i.custom=PT(i.custom);var a=this.configManager.get("evtParams"),s=this.configManager.get("user_unique_id_type"),c=[];try{var l=QG(e).call(e,(function(e){try{jG(a).length&&!t&&(e.params=qpe(qpe({},a),e.params)),s&&(e.params.$user_unique_id_type=s);var r=n.configManager.getAbCache(),i=o[n.config.ab_user_mode]||o.user_unique_id;return r&&r.uuid&&r.uuid===i&&n.configManager.getAbVersion()&&(e.ab_sdk_version=n.configManager.getAbVersion()),e.session_id=n.collect.sessionManager.getSessionId(),e.params=PT(e.params),e}catch(ZO){return console.warn("filter merge event: "+(e&&e.event)+" error, pls check",ZO&&ZO.message),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 处理Event数据异常",level:"error",time:vR(),data:ZO.message,infoType:"sdk"}),!1}})),u=JSON.parse(PT({events:l,user:o,header:i}));u.local_time=Math.floor(vR()/1e3),u.user_unique_type=this.config.enable_ttwebid?this.config.user_unique_type:void 0,u.verbose=1,c.push(u)}catch(ZO){console.warn("event merge error, pls check",ZO&&ZO.message)}return c},e.prototype.split=function(e){return DS(e).call(e,(function(e){var t=[];return t.push(e),t}))},e.prototype.blockEvent=function(e){try{var t=this.blockList;if(this.config.enable_logsetting){var n=this.blockList,r=this.logSetting.getSettingData("blocklist_events").block_event;t=b_(n).call(n,QG(r).call(r,(function(e){return-1===hR(n).call(n,e)})))}return!(t&&t.length&&bw(t).call(t,e))}catch(i){return!0}},e.prototype.whiteEvent=function(e){var t;try{var n;return null===(t=this.whiteList)||void 0===t||!t.length||!!bw(n=this.whiteList).call(n,e)}catch(r){return!0}},e.prototype.customAllowFilter=function(e,t){try{if(t)return PT(e);if(!this.config.enable_logsetting||!this.config.enable_logsetting_header_custom)return PT(e);var n=this.logSetting.getSettingData().header_custom_allow,r={};if(n&&n.length&&jG(e).length){var i=new PO(n);for(var o in e)i.has(o)&&(r[o]=e[o])}return PT(r)}catch(a){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行customAllowFilter发生了异常",level:"error",time:vR(),data:a.message,infoType:"sdk"}),PT(e)}},e.prototype.paramsAllowFilter=function(e,t){try{if(t)return PT(e.params);if(!this.config.enable_logsetting||!this.config.enable_logsetting_params)return PT(e.params);var n=this.logSetting.getSettingData().params_block,r=e.event,i=e.params,o={};if(n&&n[r]&&n[r].length){var a=new PO(n[r]);for(var s in i)!this.logSetting.getPredefineParamsList().has(s)&&a.has(s)||(o[s]=i[s]);return PT(o)}return PT(e.params)}catch(c){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行paramsAllowFilter发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"}),PT(e.params)}},e.prototype.send=function(e,t){var n=this;e.length&&(this.config.disable_track_event||qG(e).call(e,(function(e){try{var r,i=JSON.parse(PT(e));QG(n.config)&&((i=QG(r=n.config).call(r,i))||console.warn("filter must return data !!")),n.collect.eventFilter&&i&&((i=n.collect.eventFilter(i))||console.warn("filterEvent api must return data !!"));var o=i||e,a=JSON.parse(PT(o));if(n.eventCheck.checkVerify(a),!o.length)return;var s=!0;if(qG(o).call(o,(function(e){e.events.length||(s=!1)})),!s)return;n.collect.emit(Mfe.SubmitBefore,o),n.collect.requestManager.useRequest({url:n.reportUrl,data:o,success:function(e,t){e&&0!==e.e?(n.collect.emit(Mfe.SubmitError,{type:"f_data",eventData:t,errorCode:e.e,response:e}),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报失败",time:vR(),data:a,code:e.e,msg:e.m||"",failType:"数据异常失败",status:"fail"})):(n.collect.emit(Mfe.SubmitScuess,{eventData:t,res:e}),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:a,code:200,status:"success"}))},fail:function(e,t){n.configManager.get("reportErrorCallback")(e,t),n.collect.emit(Mfe.SubmitError,{type:"f_net",eventData:e,errorCode:t}),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报网络异常",time:vR(),data:a,code:t,failType:"网络异常失败",status:"fail"})},timeout:n.timeout,useBeacon:t,withCredentials:n.enable_ttwebid,zip:!0}),n.collect.emit(Mfe.SubmitAfter,o)}catch(c){console.warn("something error, "+PT(c.stack)),n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK发送埋点发生了异常",level:"error",time:vR(),data:c.message,infoType:"sdk"})}})))},e}(),Cfe=function(){var e;return mG(e=function e(t){return t?(t^16*Math.random()>>t/4).toString(10):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}().replace(/-/g,"")).call(e,0,19)},Ofe=function(){function e(){this.cacheToken={},this.enableCookie=!1,this.enable_ttwebid=!1,this.enableCustomWebid=!1}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.configManager=this.collect.configManager,this.storage=new _fe(!1),this.tokenKey="__tea_cache_tokens_"+t.app_id,this.enable_ttwebid=t.enable_ttwebid,this.enableCustomWebid=t.enable_custom_webid,this.collect.on(Mfe.ConfigUuid,(function(e){n.setUuid(e)})),this.collect.on(Mfe.ConfigWebId,(function(e){n.setWebId(e)})),this.collect.on(Mfe.ConfigDiD,(function(e){n.setDeviceId(e)})),this.enableCookie=t.cross_subdomain,this.expiresTime=t.cookie_expire||6048e5,this.cookieDomain=t.cookie_domain||"",this.checkStorage()},e.prototype.checkStorage=function(){var e=this;if(this.enableCookie){var t=this.storage.getCookie(this.tokenKey,this.cookieDomain);this.cacheToken=t&&"string"==typeof t?JSON.parse(t):{}}else this.cacheToken=this.storage.getItem(this.tokenKey)||{};this.tokenType=this.cacheToken&&this.cacheToken._type_?this.cacheToken._type_:"default","custom"!==this.tokenType||this.enableCustomWebid?this.enableCustomWebid?this.collect.on(Mfe.CustomWebId,(function(){e.tokenReady=!0,e.collect.emit(Mfe.TokenComplete)})):this.checkEnv()||(this.enable_ttwebid?this.completeTtWid(this.cacheToken):this.check()):this.remoteWebid()},e.prototype.check=function(){this.cacheToken&&this.cacheToken.web_id?this.complete(this.cacheToken):this.config.disable_webid?this.complete({web_id:Cfe(),user_unique_id:this.configManager.get("user_unique_id")||Cfe()}):this.remoteWebid()},e.prototype.checkEnv=function(){var e=window.navigator.userAgent;if(-1!==hR(e).call(e,"miniProgram")||-1!==hR(e).call(e,"MiniProgram")){var t=dfe(window.location.href);return!(!t||!t.Web_ID||(this.complete({web_id:""+t.Web_ID,user_unique_id:this.configManager.get("user_unique_id")||""+t.Web_ID}),0))}return!1},e.prototype.remoteWebid=function(){var e=this,t=this.configManager.getUrl("webid"),n={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:""};this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起WebID请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),this.collect.requestManager.useRequest({url:t,data:n,success:function(t){var n;if(t&&0===t.e)n=t.web_id,e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"WebID请求成功",logType:"fetch",level:"info",time:vR(),data:t,infoType:"sdk"});else{var r=Cfe();n=r,e.collect.configManager.set({localWebId:r}),e.collect.emit(Mfe.TokenError),e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"WebID请求返回值异常,采用本地生成",logType:"fetch",level:"warn",time:vR(),data:t,infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+" get webid error, use local webid~")}e.complete({web_id:e.configManager.get("web_id")||n,user_unique_id:e.configManager.get("user_unique_id")||n})},fail:function(){var t=Cfe();e.complete({web_id:e.configManager.get("web_id")||t,user_unique_id:e.configManager.get("user_unique_id")||t}),e.collect.configManager.set({localWebId:t}),e.collect.emit(Mfe.TokenError),e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"WebID请求网络异常,采用本地生成",logType:"fetch",level:"error",time:vR(),data:{localWebId:t},infoType:"sdk"}),e.collect.logger.warn("appid: "+e.config.app_id+", get webid error, use local webid~")},timeout:3e5})},e.prototype.complete=function(e){var t=e.web_id,n=e.user_unique_id,r=e.device_id;if(e.timestamp=vR(),this.collect.configManager.set({web_id:t,user_unique_id:n}),this.config.enable_device_id){var i=this.configManager.get("device_id")||r||t;this.collect.configManager.set({device_id:i}),e=qpe(qpe({},e),{device_id:i})}else(null==e?void 0:e.device_id)&&delete e.device_id;this.setStorage(e),this.tokenReady=!0,this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 完成用户信息设置",logType:"info",level:"info",time:vR(),data:{web_id:t,user_unique_id:n},infoType:"sdk"}),this.collect.emit(Mfe.TokenComplete)},e.prototype.completeTtWid=function(e){var t=e.user_unique_id||"",n=this.configManager.get("user_unique_id");(n||t)&&this.configManager.set({user_unique_id:n||t}),this.setStorage(e),this.tokenReady=!0,this.collect.emit(Mfe.TokenComplete)},e.prototype.setUuid=function(e){var t;if(e&&-1===hR(t=["null","undefined","Null","None"]).call(t,e)){var n=String(e),r=this.configManager.get("user_unique_id"),i=this.cacheToken&&this.cacheToken.user_unique_id;if(n===r&&n===i)return;this.configManager.set({user_unique_id:n}),this.cacheToken||(this.cacheToken={}),this.cacheToken.user_unique_id=n,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken),this.collect.emit(Mfe.TokenChange,"uuid"),this.collect.emit(Mfe.SessionReset)}else this.clearUuid()},e.prototype.clearUuid=function(){this.config.enable_ttwebid||this.configManager.get("web_id")&&this.configManager.get("user_unique_id")!==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=vR(),this.setStorage(this.cacheToken)),this.collect.emit(Mfe.TokenReset,"uuid"))},e.prototype.setWebId=function(e){if(e&&!this.config.enable_ttwebid){this.cacheToken&&this.cacheToken.web_id?this.cacheToken.web_id!==e&&(this.cacheToken.user_unique_id=this.cacheToken.web_id===this.cacheToken.user_unique_id?e:this.cacheToken.user_unique_id,this.cacheToken.web_id=e):(this.cacheToken={},this.cacheToken.web_id=e,this.cacheToken.user_unique_id=e),this.cacheToken.timestamp=vR();var t=this.configManager.get("web_id"),n=this.configManager.get("user_unique_id");n&&n!==t||(this.configManager.set({user_unique_id:e}),this.collect.emit(Mfe.TokenChange,"uuid")),t!==e&&(this.configManager.set({web_id:e}),this.collect.emit(Mfe.TokenChange,"webid")),this.setStorage(this.cacheToken)}},e.prototype.setDeviceId=function(e){this.configManager.set({device_id:e}),this.config.enable_device_id&&this.cacheToken&&(this.cacheToken.device_id=e,this.cacheToken.timestamp=vR(),this.setStorage(this.cacheToken))},e.prototype.setStorage=function(e){var t;e._type_=this.enableCustomWebid?"custom":"default",delete e[Fk(t="diss".split("")).call(t).join("")],this.enableCookie||this.enable_ttwebid?(this.storage.setCookie(this.tokenKey,e,this.expiresTime,this.cookieDomain),this.enable_ttwebid&&(delete e.web_id,this.storage.setItem(this.tokenKey,e))):this.storage.setItem(this.tokenKey,e),this.cacheToken=e},e.prototype.getReady=function(){return this.tokenReady},e.prototype.getTobId=function(){var e=this;return new qT((function(t){var n={app_id:e.config.app_id,user_unique_id:e.configManager.get("user_unique_id"),web_id:e.configManager.get("web_id"),user_unique_id_type:e.configManager.get("user_unique_id_type")};e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起GetToken请求",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"}),e.collect.requestManager.useRequest({url:e.configManager.getUrl("tobid"),data:n,success:function(n){n&&0===n.e?(t(n.tobid),e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求成功",logType:"fetch",level:"info",time:vR(),data:n,infoType:"sdk"})):(t(""),e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),data:n,infoType:"sdk"}))},fail:function(){t(""),e.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"GetToken请求失败",logType:"fetch",level:"error",time:vR(),infoType:"sdk"})},time:3e4,withCredentials:e.enable_ttwebid})}))},e}();function Lfe(e){for(var t=e.length;--t>=0;)e[t]=0}var Ufe=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Bfe=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),Nfe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Vfe=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),jfe=new Array(576);Lfe(jfe);var Kfe=new Array(60);Lfe(Kfe);var Qfe=new Array(512);Lfe(Qfe);var Wfe=new Array(256);Lfe(Wfe);var qfe=new Array(29);Lfe(qfe);var Zfe,$fe,Yfe,Jfe=new Array(30);function ege(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function tge(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}Lfe(Jfe);var nge=function(e){return e<256?Qfe[e]:Qfe[256+(e>>>7)]},rge=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},ige=function(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,rge(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},oge=function(e,t,n){ige(e,n[2*t],n[2*t+1])},age=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},sge=function(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)a=a+n[r-1]<<1,o[r]=a;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=age(o[s]++,s))}},cge=function(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},lge=function(e){e.bi_valid>8?rge(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},uge=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},dge=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&uge(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!uge(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},hge=function(e,t,n){var r,i,o,a,s=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+s++],r+=(255&e.pending_buf[e.sym_buf+s++])<<8,i=e.pending_buf[e.sym_buf+s++],0===r?oge(e,i,t):(o=Wfe[i],oge(e,o+256+1,t),0!==(a=Ufe[o])&&(i-=qfe[o],ige(e,i,a)),o=nge(--r),oge(e,o,n),0!==(a=Bfe[o])&&(r-=Jfe[o],ige(e,r,a)))}while(s<e.sym_next);oge(e,256,t)},pge=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)dge(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],dge(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,dge(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,g++),c[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=h[r-p]),s=c[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==g){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,g-=2}while(g>0);for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),sge(o,l,e.bl_count)},fge=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<c&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4))},gge=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<l)do{oge(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(oge(e,i,e.bl_tree),s--),oge(e,16,e.bl_tree),ige(e,s-3,2)):s<=10?(oge(e,17,e.bl_tree),ige(e,s-3,3)):(oge(e,18,e.bl_tree),ige(e,s-11,7));s=0,o=i,0===a?(c=138,l=3):i===a?(c=6,l=3):(c=7,l=4)}},vge=!1,mge=function(e,t,n,r){ige(e,0+(r?1:0),3),lge(e),rge(e,n),rge(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},yge=function(e){vge||(function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(qfe[r]=n,e=0;e<1<<Ufe[r];e++)Wfe[n++]=r;for(Wfe[n-1]=r,i=0,r=0;r<16;r++)for(Jfe[r]=i,e=0;e<1<<Bfe[r];e++)Qfe[i++]=r;for(i>>=7;r<30;r++)for(Jfe[r]=i<<7,e=0;e<1<<Bfe[r]-7;e++)Qfe[256+i++]=r;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)jfe[2*e+1]=8,e++,o[8]++;for(;e<=255;)jfe[2*e+1]=9,e++,o[9]++;for(;e<=279;)jfe[2*e+1]=7,e++,o[7]++;for(;e<=287;)jfe[2*e+1]=8,e++,o[8]++;for(sge(jfe,287,o),e=0;e<30;e++)Kfe[2*e+1]=5,Kfe[2*e]=age(e,5);Zfe=new ege(jfe,Ufe,257,286,15),$fe=new ege(Kfe,Bfe,0,30,15),Yfe=new ege(new Array(0),Nfe,0,19,7)}(),vge=!0),e.l_desc=new tge(e.dyn_ltree,Zfe),e.d_desc=new tge(e.dyn_dtree,$fe),e.bl_desc=new tge(e.bl_tree,Yfe),e.bi_buf=0,e.bi_valid=0,cge(e)},_ge=mge,Gge=function(e,t,n,r){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),pge(e,e.l_desc),pge(e,e.d_desc),a=function(e){var t;for(fge(e,e.dyn_ltree,e.l_desc.max_code),fge(e,e.dyn_dtree,e.d_desc.max_code),pge(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Vfe[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?mge(e,t,n,r):4===e.strategy||o===i?(ige(e,2+(r?1:0),3),hge(e,jfe,Kfe)):(ige(e,4+(r?1:0),3),function(e,t,n,r){var i;for(ige(e,t-257,5),ige(e,n-1,5),ige(e,r-4,4),i=0;i<r;i++)ige(e,e.bl_tree[2*Vfe[i]+1],3);gge(e,e.dyn_ltree,t-1),gge(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),hge(e,e.dyn_ltree,e.dyn_dtree)),cge(e),r&&lge(e)},Rge=function(e,t,n){return e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Wfe[n]+256+1)]++,e.dyn_dtree[2*nge(t)]++),e.sym_next===e.sym_end},bge=function(e){var t;ige(e,2,3),oge(e,256,jfe),16===(t=e).bi_valid?(rge(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)},Tge=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},wge=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),Sge=function(e,t,n,r){var i=wge,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},Mge={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Ege={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},Dge=yge,zge=_ge,kge=Gge,Age=Rge,Fge=bge,Pge=Ege.Z_NO_FLUSH,Ige=Ege.Z_PARTIAL_FLUSH,xge=Ege.Z_FULL_FLUSH,Xge=Ege.Z_FINISH,Hge=Ege.Z_BLOCK,Cge=Ege.Z_OK,Oge=Ege.Z_STREAM_END,Lge=Ege.Z_STREAM_ERROR,Uge=Ege.Z_DATA_ERROR,Bge=Ege.Z_BUF_ERROR,Nge=Ege.Z_DEFAULT_COMPRESSION,Vge=Ege.Z_FILTERED,jge=Ege.Z_HUFFMAN_ONLY,Kge=Ege.Z_RLE,Qge=Ege.Z_FIXED,Wge=Ege.Z_DEFAULT_STRATEGY,qge=Ege.Z_UNKNOWN,Zge=Ege.Z_DEFLATED,$ge=function(e,t){return e.msg=Mge[t],t},Yge=function(e){return 2*e-(e>4?9:0)},Jge=function(e){for(var t=e.length;--t>=0;)e[t]=0},eve=function(e){var t,n,r,i=e.w_size;r=t=e.hash_size;do{n=e.head[--r],e.head[r]=n>=i?n-i:0}while(--t);r=t=i;do{n=e.prev[--r],e.prev[r]=n>=i?n-i:0}while(--t)},tve=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},nve=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},rve=function(e,t){kge(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,nve(e.strm)},ive=function(e,t){e.pending_buf[e.pending++]=t},ove=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},ave=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=Tge(e.adler,t,i,n):2===e.state.wrap&&(e.adler=Sge(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},sve=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+258,p=l[o+a-1],f=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===f&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=258-(h-o),o=h-258,r>a){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],f=l[o+a]}}}while((t=d[t&u])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead},cve=function(e){var t,n,r,i=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-262)&&(e.window.set(e.window.subarray(i,i+i-n),0),e.match_start-=i,e.strstart-=i,e.block_start-=i,e.insert>e.strstart&&(e.insert=e.strstart),eve(e),n+=i),0===e.strm.avail_in)break;if(t=ave(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=tve(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=tve(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},lve=function(e,t){var n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,s=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i)break;if(i=e.strm.avail_out-i,n>(r=e.strstart-e.block_start)+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n<o&&(0===n&&t!==Xge||t===Pge||n!==r+e.strm.avail_in))break;a=t===Xge&&n===r+e.strm.avail_in?1:0,zge(e,0,0,a),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,nve(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(ave(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return(s-=e.strm.avail_in)&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),a?4:t!==Pge&&t!==Xge&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(ave(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,o=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>e.w_size?e.w_size:i,((r=e.strstart-e.block_start)>=o||(r||t===Xge)&&t!==Pge&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,a=t===Xge&&0===e.strm.avail_in&&n===r?1:0,zge(e,e.block_start,n,a),e.block_start+=n,nve(e.strm)),a?3:1)},uve=function(e,t){for(var n,r;;){if(e.lookahead<262){if(cve(e),e.lookahead<262&&t===Pge)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=tve(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=sve(e,n)),e.match_length>=3)if(r=Age(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=tve(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=tve(e,e.ins_h,e.window[e.strstart+1]);else r=Age(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(rve(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===Xge?(rve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(rve(e,!1),0===e.strm.avail_out)?1:2},dve=function(e,t){for(var n,r,i;;){if(e.lookahead<262){if(cve(e),e.lookahead<262&&t===Pge)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=tve(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=sve(e,n),e.match_length<=5&&(e.strategy===Vge||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=Age(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=tve(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(rve(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Age(e,0,e.window[e.strstart-1]))&&rve(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Age(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===Xge?(rve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(rve(e,!1),0===e.strm.avail_out)?1:2};function hve(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var pve=[new hve(0,0,0,0,lve),new hve(4,4,8,4,uve),new hve(4,5,16,8,uve),new hve(4,6,32,32,uve),new hve(4,4,16,16,dve),new hve(8,16,32,32,dve),new hve(8,16,128,128,dve),new hve(8,32,128,256,dve),new hve(32,128,258,1024,dve),new hve(32,258,258,4096,dve)];function fve(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Zge,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Jge(this.dyn_ltree),Jge(this.dyn_dtree),Jge(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Jge(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Jge(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var gve=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||42!==t.status&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&113!==t.status&&666!==t.status?1:0},vve=function(e){if(gve(e))return $ge(e,Lge);e.total_in=e.total_out=0,e.data_type=qge;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=-2,Dge(t),Cge},mve=function(e){var t,n=vve(e);return n===Cge&&((t=e.state).window_size=2*t.w_size,Jge(t.head),t.max_lazy_match=pve[t.level].max_lazy,t.good_match=pve[t.level].good_length,t.nice_match=pve[t.level].nice_length,t.max_chain_length=pve[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n},yve=function(e,t,n,r,i,o){if(!e)return Lge;var a=1;if(t===Nge&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==Zge||r<8||r>15||t<0||t>9||o<0||o>Qge||8===r&&1!==a)return $ge(e,Lge);8===r&&(r=9);var s=new fve;return e.state=s,s.strm=e,s.status=42,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=t,s.strategy=o,s.method=n,mve(e)},_ve={deflateInit:function(e,t){return yve(e,t,Zge,15,8,Wge)},deflateInit2:yve,deflateReset:mve,deflateResetKeep:vve,deflateSetHeader:function(e,t){return gve(e)||2!==e.state.wrap?Lge:(e.state.gzhead=t,Cge)},deflate:function(e,t){if(gve(e)||t>Hge||t<0)return e?$ge(e,Lge):Lge;var n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==Xge)return $ge(e,0===e.avail_out?Bge:Lge);var r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(nve(e),0===e.avail_out)return n.last_flush=-1,Cge}else if(0===e.avail_in&&Yge(t)<=Yge(r)&&t!==Xge)return $ge(e,Bge);if(666===n.status&&0!==e.avail_in)return $ge(e,Bge);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){var i=Zge+(n.w_bits-8<<4)<<8;if(i|=(n.strategy>=jge||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),ove(n,i+=31-i%31),0!==n.strstart&&(ove(n,e.adler>>>16),ove(n,65535&e.adler)),e.adler=1,n.status=113,nve(e),0!==n.pending)return n.last_flush=-1,Cge}if(57===n.status)if(e.adler=0,ive(n,31),ive(n,139),ive(n,8),n.gzhead)ive(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),ive(n,255&n.gzhead.time),ive(n,n.gzhead.time>>8&255),ive(n,n.gzhead.time>>16&255),ive(n,n.gzhead.time>>24&255),ive(n,9===n.level?2:n.strategy>=jge||n.level<2?4:0),ive(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(ive(n,255&n.gzhead.extra.length),ive(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Sge(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(ive(n,0),ive(n,0),ive(n,0),ive(n,0),ive(n,0),ive(n,9===n.level?2:n.strategy>=jge||n.level<2?4:0),ive(n,3),n.status=113,nve(e),0!==n.pending)return n.last_flush=-1,Cge;if(69===n.status){if(n.gzhead.extra){for(var o=n.pending,a=(65535&n.gzhead.extra.length)-n.gzindex;n.pending+a>n.pending_buf_size;){var s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>o&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex+=s,nve(e),0!==n.pending)return n.last_flush=-1,Cge;o=0,a-=s}var c=new Uint8Array(n.gzhead.extra);n.pending_buf.set(c.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>o&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){var l,u=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>u&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-u,u)),nve(e),0!==n.pending)return n.last_flush=-1,Cge;u=0}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,ive(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>u&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-u,u)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){var d,h=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>h&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-h,h)),nve(e),0!==n.pending)return n.last_flush=-1,Cge;h=0}d=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,ive(n,d)}while(0!==d);n.gzhead.hcrc&&n.pending>h&&(e.adler=Sge(e.adler,n.pending_buf,n.pending-h,h))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(nve(e),0!==n.pending))return n.last_flush=-1,Cge;ive(n,255&e.adler),ive(n,e.adler>>8&255),e.adler=0}if(n.status=113,nve(e),0!==n.pending)return n.last_flush=-1,Cge}if(0!==e.avail_in||0!==n.lookahead||t!==Pge&&666!==n.status){var p=0===n.level?lve(n,t):n.strategy===jge?function(e,t){for(var n;;){if(0===e.lookahead&&(cve(e),0===e.lookahead)){if(t===Pge)return 1;break}if(e.match_length=0,n=Age(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(rve(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===Xge?(rve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(rve(e,!1),0===e.strm.avail_out)?1:2}(n,t):n.strategy===Kge?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(cve(e),e.lookahead<=258&&t===Pge)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Age(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Age(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(rve(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===Xge?(rve(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(rve(e,!1),0===e.strm.avail_out)?1:2}(n,t):pve[n.level].func(n,t);if(3!==p&&4!==p||(n.status=666),1===p||3===p)return 0===e.avail_out&&(n.last_flush=-1),Cge;if(2===p&&(t===Ige?Fge(n):t!==Hge&&(zge(n,0,0,!1),t===xge&&(Jge(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),nve(e),0===e.avail_out))return n.last_flush=-1,Cge}return t!==Xge?Cge:n.wrap<=0?Oge:(2===n.wrap?(ive(n,255&e.adler),ive(n,e.adler>>8&255),ive(n,e.adler>>16&255),ive(n,e.adler>>24&255),ive(n,255&e.total_in),ive(n,e.total_in>>8&255),ive(n,e.total_in>>16&255),ive(n,e.total_in>>24&255)):(ove(n,e.adler>>>16),ove(n,65535&e.adler)),nve(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?Cge:Oge)},deflateEnd:function(e){if(gve(e))return Lge;var t=e.state.status;return e.state=null,113===t?$ge(e,Uge):Cge},deflateSetDictionary:function(e,t){var n=t.length;if(gve(e))return Lge;var r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return Lge;if(1===i&&(e.adler=Tge(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(Jge(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,cve(r);r.lookahead>=3;){var l=r.strstart,u=r.lookahead-2;do{r.ins_h=tve(r,r.ins_h,r.window[l+3-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++}while(--u);r.strstart=l,r.lookahead=2,cve(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=c,e.avail_in=a,r.wrap=i,Cge},deflateInfo:"pako deflate (from Nodeca project)"},Gve=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Rve={assign:function(e){for(var t=mG(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=Wd(n))throw new TypeError(n+"must be non-object");for(var r in n)Gve(n,r)&&(e[r]=n[r])}}return e},flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var c=e[o];i.set(c,a),a+=c.length}return i}},bve=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(ZO){bve=!1}for(var Tve=new Uint8Array(256),wve=0;wve<256;wve++)Tve[wve]=wve>=252?6:wve>=248?5:wve>=240?4:wve>=224?3:wve>=192?2:1;Tve[254]=Tve[254]=1;var Sve={string2buf:function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},buf2string:function(e,t){var n,r,i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));var o=new Array(2*i);for(r=0,n=0;n<i;){var a=e[n++];if(a<128)o[r++]=a;else{var s=Tve[a];if(s>4)o[r++]=65533,n+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&n<i;)a=a<<6|63&e[n++],s--;s>1?o[r++]=65533:a<65536?o[r++]=a:(a-=65536,o[r++]=55296|a>>10&1023,o[r++]=56320|1023&a)}}}return function(e,t){if(t<65534&&e.subarray&&bve)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}(o,r)},utf8border:function(e,t){(t=t||e.length)>e.length&&(t=e.length);for(var n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+Tve[e[n]]>t?n:t}},Mve=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Eve=Object.prototype.toString,Dve=Ege.Z_NO_FLUSH,zve=Ege.Z_SYNC_FLUSH,kve=Ege.Z_FULL_FLUSH,Ave=Ege.Z_FINISH,Fve=Ege.Z_OK,Pve=Ege.Z_STREAM_END,Ive=Ege.Z_DEFAULT_COMPRESSION,xve=Ege.Z_DEFAULT_STRATEGY,Xve=Ege.Z_DEFLATED;function Hve(e){this.options=Rve.assign({level:Ive,method:Xve,chunkSize:16384,windowBits:15,memLevel:8,strategy:xve},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mve,this.strm.avail_out=0;var n=_ve.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Fve)throw new Error(Mge[n]);if(t.header&&_ve.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?Sve.string2buf(t.dictionary):"[object ArrayBuffer]"===Eve.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=_ve.deflateSetDictionary(this.strm,r))!==Fve)throw new Error(Mge[n]);this._dict_set=!0}}function Cve(e,t){var n=new Hve(t);if(n.push(e,!0),n.err)throw n.msg||Mge[n.err];return n.result}Hve.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?Ave:Dve,"string"==typeof e?i.input=Sve.string2buf(e):"[object ArrayBuffer]"===Eve.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===zve||r===kve)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=_ve.deflate(i,r))===Pve)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=_ve.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Fve;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Hve.prototype.onData=function(e){this.chunks.push(e)},Hve.prototype.onEnd=function(e){e===Fve&&(this.result=Rve.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Ove={Deflate:Hve,deflate:Cve,deflateRaw:function(e,t){return(t=t||{}).raw=!0,Cve(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,Cve(e,t)},constants:Ege},Lve=function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,S=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),s=M.dmax,c=M.wsize,l=M.whave,u=M.wnext,d=M.window,h=M.hold,p=M.bits,f=M.lencode,g=M.distcode,v=(1<<M.lenbits)-1,m=(1<<M.distbits)-1;e:do{p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=f[h&v];t:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))S[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=f[(65535&y)+(h&(1<<_)-1)];continue t}if(32&_){M.mode=16191;break e}e.msg="invalid literal/length code",M.mode=16209;break e}G=65535&y,(_&=15)&&(p<_&&(h+=w[n++]<<p,p+=8),G+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=w[n++]<<p,p+=8,h+=w[n++]<<p,p+=8),y=g[h&m];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue n}e.msg="invalid distance code",M.mode=16209;break e}if(R=65535&y,p<(_&=15)&&(h+=w[n++]<<p,(p+=8)<_&&(h+=w[n++]<<p,p+=8)),(R+=h&(1<<_)-1)>s){e.msg="invalid distance too far back",M.mode=16209;break e}if(h>>>=_,p-=_,R>(_=i-o)){if((_=R-_)>l&&M.sane){e.msg="invalid distance too far back",M.mode=16209;break e}if(b=0,T=d,0===u){if(b+=c-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}else if(u<_){if(b+=c+u-_,(_-=u)<G){G-=_;do{S[i++]=d[b++]}while(--_);if(b=0,u<G){G-=_=u;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}}}else if(b+=u-_,_<G){G-=_;do{S[i++]=d[b++]}while(--_);b=i-R,T=S}for(;G>2;)S[i++]=T[b++],S[i++]=T[b++],S[i++]=T[b++],G-=3;G&&(S[i++]=T[b++],G>1&&(S[i++]=T[b++]))}else{b=i-R;do{S[i++]=S[b++],S[i++]=S[b++],S[i++]=S[b++],G-=3}while(G>2);G&&(S[i++]=S[b++],G>1&&(S[i++]=S[b++]))}break}}break}}while(n<r&&i<a);n-=G=p>>3,h&=(1<<(p-=G<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<a?a-i+257:257-(i-a),M.hold=h,M.bits=p},Uve=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Bve=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Nve=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Vve=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),jve=function(e,t,n,r,i,o,a,s){var c,l,u,d,h,p,f,g,v,m=s.bits,y=0,_=0,G=0,R=0,b=0,T=0,w=0,S=0,M=0,E=0,D=null,z=new Uint16Array(16),k=new Uint16Array(16),A=null;for(y=0;y<=15;y++)z[y]=0;for(_=0;_<r;_++)z[t[n+_]]++;for(b=m,R=15;R>=1&&0===z[R];R--);if(b>R&&(b=R),0===R)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(G=1;G<R&&0===z[G];G++);for(b<G&&(b=G),S=1,y=1;y<=15;y++)if(S<<=1,(S-=z[y])<0)return-1;if(S>0&&(0===e||1!==R))return-1;for(k[1]=0,y=1;y<15;y++)k[y+1]=k[y]+z[y];for(_=0;_<r;_++)0!==t[n+_]&&(a[k[t[n+_]]++]=_);if(0===e?(D=A=a,p=20):1===e?(D=Uve,A=Bve,p=257):(D=Nve,A=Vve,p=0),E=0,_=0,y=G,h=o,T=b,w=0,u=-1,d=(M=1<<b)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){f=y-w,a[_]+1<p?(g=0,v=a[_]):a[_]>=p?(g=A[a[_]-p],v=D[a[_]-p]):(g=96,v=0),c=1<<y-w,G=l=1<<T;do{i[h+(E>>w)+(l-=c)]=f<<24|g<<16|v|0}while(0!==l);for(c=1<<y-1;E&c;)c>>=1;if(0!==c?(E&=c-1,E+=c):E=0,_++,0==--z[y]){if(y===R)break;y=t[n+a[_]]}if(y>b&&(E&d)!==u){for(0===w&&(w=b),h+=G,S=1<<(T=y-w);T+w<R&&!((S-=z[T+w])<=0);)T++,S<<=1;if(M+=1<<T,1===e&&M>852||2===e&&M>592)return 1;i[u=E&d]=b<<24|T<<16|h-o|0}}return 0!==E&&(i[h+E]=y-w<<24|64<<16|0),s.bits=b,0},Kve=Ege.Z_FINISH,Qve=Ege.Z_BLOCK,Wve=Ege.Z_TREES,qve=Ege.Z_OK,Zve=Ege.Z_STREAM_END,$ve=Ege.Z_NEED_DICT,Yve=Ege.Z_STREAM_ERROR,Jve=Ege.Z_DATA_ERROR,eme=Ege.Z_MEM_ERROR,tme=Ege.Z_BUF_ERROR,nme=Ege.Z_DEFLATED,rme=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function ime(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var ome,ame,sme=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||t.mode<16180||t.mode>16211?1:0},cme=function(e){if(sme(e))return Yve;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,qve},lme=function(e){if(sme(e))return Yve;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,cme(e)},ume=function(e,t){var n;if(sme(e))return Yve;var r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Yve:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,lme(e))},dme=function(e,t){if(!e)return Yve;var n=new ime;e.state=n,n.strm=e,n.window=null,n.mode=16180;var r=ume(e,t);return r!==qve&&(e.state=null),r},hme=!0,pme=function(e){if(hme){ome=new Int32Array(512),ame=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(jve(1,e.lens,0,288,ome,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;jve(2,e.lens,0,32,ame,0,e.work,{bits:5}),hme=!1}e.lencode=ome,e.lenbits=9,e.distcode=ame,e.distbits=5},fme=function(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},gme={inflateReset:lme,inflateReset2:ume,inflateResetKeep:cme,inflateInit:function(e){return dme(e,15)},inflateInit2:dme,inflate:function(e,t){var n,r,i,o,a,s,c,l,u,d,h,p,f,g,v,m,y,_,G,R,b,T,w,S,M=0,E=new Uint8Array(4),D=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(sme(e)||!e.output||!e.input&&0!==e.avail_in)return Yve;16191===(n=e.state).mode&&(n.mode=16192),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,h=c,T=qve;e:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===l){0===n.wbits&&(n.wbits=15),n.check=0,E[0]=255&l,E[1]=l>>>8&255,n.check=Sge(n.check,E,2,0),l=0,u=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&l)!==nme){e.msg="unknown compression method",n.mode=16209;break}if(u-=4,b=8+(15&(l>>>=4)),0===n.wbits&&(n.wbits=b),b>15||b>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&l?16189:16191,l=0,u=0;break;case 16181:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.flags=l,(255&NO(n))!==nme){e.msg="unknown compression method",n.mode=16209;break}if(57344&NO(n)){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=l>>8&1),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=Sge(n.check,E,2,0)),l=0,u=0,n.mode=16182;case 16182:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.time=l),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,n.check=Sge(n.check,E,4,0)),l=0,u=0,n.mode=16183;case 16183:for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=Sge(n.check,E,2,0)),l=0,u=0,n.mode=16184;case 16184:if(1024&NO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&NO(n)&&4&n.wrap&&(E[0]=255&l,E[1]=l>>>8&255,n.check=Sge(n.check,E,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&NO(n)&&((p=n.length)>s&&(p=s),p&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+p),b)),512&NO(n)&&4&n.wrap&&(n.check=Sge(n.check,r,p,o)),s-=p,o+=p,n.length-=p),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&NO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b))}while(b&&p<s);if(512&NO(n)&&4&n.wrap&&(n.check=Sge(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&NO(n)){if(0===s)break e;p=0;do{b=r[o+p++],n.head&&b&&n.length<65536&&(n.head.comment+=String.fromCharCode(b))}while(b&&p<s);if(512&NO(n)&&4&n.wrap&&(n.check=Sge(n.check,r,p,o)),s-=p,o+=p,b)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&NO(n)){for(;u<16;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}l=0,u=0}n.head&&(n.head.hcrc=NO(n)>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}e.adler=n.check=rme(l),l=0,u=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,$ve;e.adler=n.check=1,n.mode=16191;case 16191:if(t===Qve||t===Wve)break e;case 16192:if(n.last){l>>>=7&u,u-=7&u,n.mode=16206;break}for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=16193;break;case 1:if(pme(n),n.mode=16199,t===Wve){l>>>=2,u-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}l>>>=2,u-=2;break;case 16193:for(l>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&l,l=0,u=0,n.mode=16194,t===Wve)break e;case 16194:n.mode=16195;case 16195:if(p=n.length){if(p>s&&(p=s),p>c&&(p=c),0===p)break e;i.set(r.subarray(o,o+p),a),s-=p,o+=p,c-=p,a+=p,n.length-=p;break}n.mode=16191;break;case 16196:for(;u<14;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.lens[D[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},T=jve(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(y<16)l>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(S=v+2;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(l>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}b=n.lens[n.have-1],p=3+(3&l),l>>>=2,u-=2}else if(17===y){for(S=v+3;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=3+(7&(l>>>=v)),l>>>=3,u-=3}else{for(S=v+7;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}u-=v,b=0,p=11+(127&(l>>>=v)),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;p--;)n.lens[n.have++]=b}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,w={bits:n.lenbits},T=jve(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},T=jve(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,T){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===Wve)break e;case 16199:n.mode=16200;case 16200:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,Lve(e,h),a=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;m=(M=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(m&&0==(240&m)){for(_=v,G=m,R=y;m=(M=n.lencode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,n.length=y,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=16191;break}if(64&m){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;m=(M=n.distcode[l&(1<<n.distbits)-1])>>>16&255,y=65535&M,!((v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(0==(240&m)){for(_=v,G=m,R=y;m=(M=n.distcode[R+((l&(1<<_+G)-1)>>_)])>>>16&255,y=65535&M,!(_+(v=M>>>24)<=u);){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}l>>>=_,u-=_,n.back+=_}if(l>>>=v,u-=v,n.back+=v,64&m){e.msg="invalid distance code",n.mode=16209;break}n.offset=y,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===c)break e;if(p=h-c,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),g=n.window}else g=i,f=a-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do{i[a++]=g[f++]}while(--p);0===n.length&&(n.mode=16200);break;case 16205:if(0===c)break e;i[a++]=n.length,c--,n.mode=16200;break;case 16206:if(n.wrap){for(;u<32;){if(0===s)break e;s--,l|=r[o++]<<u,u+=8}if(h-=c,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=NO(n)?Sge(n.check,i,h,a-h):Tge(n.check,i,h,a-h)),h=c,4&n.wrap&&(NO(n)?l:rme(l))!==n.check){e.msg="incorrect data check",n.mode=16209;break}l=0,u=0}n.mode=16207;case 16207:if(n.wrap&&NO(n)){for(;u<32;){if(0===s)break e;s--,l+=r[o++]<<u,u+=8}if(4&n.wrap&&l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=16209;break}l=0,u=0}n.mode=16208;case 16208:T=Zve;break e;case 16209:T=Jve;break e;case 16210:return eme;default:return Yve}return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==Kve))&&fme(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=NO(n)?Sge(n.check,i,h,e.next_out-h):Tge(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(16191===n.mode?128:0)+(16199===n.mode||16194===n.mode?256:0),(0===d&&0===h||t===Kve)&&T===qve&&(T=tme),T},inflateEnd:function(e){if(sme(e))return Yve;var t=e.state;return t.window&&(t.window=null),e.state=null,qve},inflateGetHeader:function(e,t){if(sme(e))return Yve;var n=e.state;return 0==(2&n.wrap)?Yve:(n.head=t,t.done=!1,qve)},inflateSetDictionary:function(e,t){var n,r=t.length;return sme(e)||0!==(n=e.state).wrap&&16190!==n.mode?Yve:16190===n.mode&&Tge(1,t,r,0)!==n.check?Jve:fme(e,t,r,r)?(n.mode=16210,eme):(n.havedict=1,qve)},inflateInfo:"pako inflate (from Nodeca project)"},vme=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},mme=Object.prototype.toString,yme=Ege.Z_NO_FLUSH,_me=Ege.Z_FINISH,Gme=Ege.Z_OK,Rme=Ege.Z_STREAM_END,bme=Ege.Z_NEED_DICT,Tme=Ege.Z_STREAM_ERROR,wme=Ege.Z_DATA_ERROR,Sme=Ege.Z_MEM_ERROR;function Mme(e){this.options=Rve.assign({chunkSize:65536,windowBits:15,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mve,this.strm.avail_out=0;var n=gme.inflateInit2(this.strm,t.windowBits);if(n!==Gme)throw new Error(Mge[n]);if(this.header=new vme,gme.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=Sve.string2buf(t.dictionary):"[object ArrayBuffer]"===mme.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=gme.inflateSetDictionary(this.strm,t.dictionary))!==Gme))throw new Error(Mge[n])}function Eme(e,t){var n=new Mme(t);if(n.push(e),n.err)throw n.msg||Mge[n.err];return n.result}Mme.prototype.push=function(e,t){var n,r,i,o=this.strm,a=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?_me:yme,"[object ArrayBuffer]"===mme.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(a),o.next_out=0,o.avail_out=a),(n=gme.inflate(o,r))===bme&&s&&((n=gme.inflateSetDictionary(o,s))===Gme?n=gme.inflate(o,r):n===wme&&(n=bme));o.avail_in>0&&n===Rme&&o.state.wrap>0&&0!==e[o.next_in];)gme.inflateReset(o),n=gme.inflate(o,r);switch(n){case Tme:case wme:case bme:case Sme:return this.onEnd(n),this.ended=!0,!1}if(i=o.avail_out,o.next_out&&(0===o.avail_out||n===Rme))if("string"===this.options.to){var c=Sve.utf8border(o.output,o.next_out),l=o.next_out-c,u=Sve.buf2string(o.output,c);o.next_out=l,o.avail_out=a-l,l&&o.output.set(o.output.subarray(c,c+l),0),this.onData(u)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(n!==Gme||0!==i){if(n===Rme)return n=gme.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},Mme.prototype.onData=function(e){this.chunks.push(e)},Mme.prototype.onEnd=function(e){e===Gme&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Rve.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Dme,zme={Inflate:Mme,inflate:Eme,inflateRaw:function(e,t){return(t=t||{}).raw=!0,Eme(e,t)},ungzip:Eme,constants:Ege},kme={Deflate:Ove.Deflate,deflate:Ove.deflate,deflateRaw:Ove.deflateRaw,gzip:Ove.gzip,Inflate:zme.Inflate,inflate:zme.inflate,inflateRaw:zme.inflateRaw,ungzip:zme.ungzip,constants:Ege},Ame=function(){function e(e,t){var n=this;this.collector=e,this.config=t,this.requestType=t.request_type||"xhr",this.supportBeacon=!(!window.navigator||!window.navigator.sendBeacon),this.errorCode={NO_URL:4001,IMG_ON:4e3,IMG_CATCH:4002,BEACON_FALSE:4003,XHR_ON:500,RESPONSE:5001,TIMEOUT:5005},this.customHeader=t.custom_request_header||{},this.collector.on("custom-request-header",(function(e){n.setRequestHeader(e)}))}return e.prototype.setRequestHeader=function(e){this.customHeader=zT(this.customHeader,e)},e.prototype.useFetch=function(e){var t=e.url,n=e.data,r=e.method,i=e.success,o=e.fail,a={"Content-Type":"application/json; charset=utf-8"};if(jG(this.customHeader).length)for(var s in this.customHeader)a[s]=this.customHeader[s];window.fetch?fetch(t,{method:r||"POST",headers:a,body:PT(n)}).then((function(e){return e.json()})).then((function(e){i&&i(e)})).catch((function(e){o&&o(n,e)})):(this.requestType="xhr",console.log("your brwoser not support fetch, use xhr"),this.useRequest({url:t,data:n,method:r,success:i,fail:o}))},e.prototype.useBeacon=function(e){var t=e.url,n=e.data,r=e.success,i=e.fail;window.navigator.sendBeacon(t,PT(n))?r&&r():i&&i(n,this.errorCode.BEACON_FALSE)},e.prototype.useRequest=function(e){var t=this,n=e.url,r=e.data,i=e.method,o=e.success,a=e.fail,s=e.timeout,c=e.useBeacon,l=e.withCredentials,u=e.app_key,d=e.forceXhr,h=e.zip;if(c&&this.supportBeacon)this.useBeacon({url:n,data:r,method:i,success:o,fail:a});else if("fetch"!==this.requestType||d)try{var p=new XMLHttpRequest,f=i||"POST";if(p.open(f,""+n,!0),p.setRequestHeader("Content-Type","application/json; charset=utf-8"),u&&p.setRequestHeader("X-MCS-AppKey",""+u),jG(this.customHeader).length)for(var g in this.customHeader)p.setRequestHeader(g,this.customHeader[g]);l&&(p.withCredentials=!0),s&&(p.timeout=s,p.ontimeout=function(){a&&a(r,t.errorCode.TIMEOUT)}),p.onload=function(){if(o){var e=null;if(p.responseText){try{e=JSON.parse(p.responseText)}catch(t){e={}}o(e,r)}}},p.onerror=function(){p.abort(),a&&a(r,t.errorCode.XHR_ON)};try{var v=PT(r);if(this.config.need_zip&&h){var m=(new TextEncoder).encode(v),y=kme.gzip(m);p.setRequestHeader("Content-Encoding","gzip"),p.send(y)}else p.send(v)}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_send",eventData:r,errorCode:1e3,msg:_.message||_.stack||"sdk_error_send"})}}catch(_){this.collector.emit("sdk-inner-error",{type:"sdk_error_request",eventData:r,errorCode:1001,msg:_.message||_.stack||"sdk_error_request"})}else this.useFetch({url:n,data:r,method:i,success:o,fail:a})},e}(),Fme=function(){function e(e,t){if(this.devToolReady=!1,this.devToolOrigin="*",this.sendAlready=!1,!t.disable_debug&&"Microsoft Internet Explorer"!==e.configManager.get("browser")){this.collect=e,this.config=t,this.app_id=t.app_id;var n=e.adapters.storage;this.cacheStorgae=new n(!1),this.loadUrl=t.devtool_url||"https://lf-static.applogcdn.com/obj/applog-sdk-static/log-sdk/collect/devtool/debug-web.v2.0.0.js",this.filterEvent=new PO(["__bav_page","__bav_beat","__bav_page_statistics","__bav_click","__bav_page_exposure","bav2b_page","bav2b_beat","bav2b_page_statistics","bav2b_click","bav2b_page_exposure","_be_active","predefine_pageview","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append","predefine_page_alive","predefine_page_close","abtest_exposure"]),this.load()}}return e.prototype.loadScript=function(e){try{var t=document.createElement("script");t.src=e,t.onerror=function(){console.log("load DevTool render fail")},t.onload=function(){console.log("load DevTool render success")},document.getElementsByTagName("body")[0].appendChild(t)}catch(n){console.log("devTool load fail, "+n.message)}},e.prototype.parseUrl=function(){var e={};try{var t=window.location.href.split("?")[1].split("&");t.length&&qG(t).call(t,(function(t){var n=t.split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}))}catch(n){}return e},e.prototype.load=function(){try{var e=this.parseUrl();if(e.open_devtool_web&&e.app_id){if(Y_(e.app_id)!==this.app_id)return}else if(!this.getStorage())return;this.loadBaseInfo(),this.loadHook(),this.setStorage(),this.addLintener(),this.loadDebuggerModule(),this.loadDevTool()}catch(t){console.log("debug fail, "+t.message)}},e.prototype.getStorage=function(){var e=this.cacheStorgae.getItem("__applog_open_devtool_web");return e&&Y_(e)===this.app_id},e.prototype.setStorage=function(){this.cacheStorgae.setItem("__applog_open_devtool_web",this.app_id)},e.prototype.loadDevTool=function(){this.loadScript(this.loadUrl)},e.prototype.loadBaseInfo=function(){if(this.log=[],this.event=[],this.info=[{title:"基本信息",key:"base",type:1,content:[{name:"app_id",desc:"APP_ID",value:this.config.app_id},{name:"channel",desc:"CHANNEL",value:this.config.channel},{name:"domain",desc:"上报域名",value:this.collect.configManager.getDomain()},{name:"sdk_version",desc:"SDK版本",value:Tfe},{name:"sdk_type",desc:"SDK引入方式",value:"npm"}]},{title:"用户信息",key:"user",type:2,content:[{name:"uuid",desc:"UUID",value:this.collect.configManager.get("user").user_unique_id||""},{name:"web_id",desc:"WEB_ID",value:this.collect.configManager.get("user").web_id||""}]},{title:"公共参数信息",type:2,key:"common",content:[{name:"browser",desc:"浏览器",value:this.collect.configManager.get("browser")},{name:"browser_version",desc:"浏览器版本",value:this.collect.configManager.get("browser_version")},{name:"platform",desc:"平台",value:this.collect.configManager.get("platform")},{name:"device_model",desc:"设备型号",value:this.collect.configManager.get("device_model")},{name:"os_name",desc:"操作系统",value:this.collect.configManager.get("os_name")},{name:"os_version",desc:"操作系统版本",value:this.collect.configManager.get("os_version")},{name:"resolution",desc:"屏幕分辨率",value:this.collect.configManager.get("resolution")},{name:"referrer",desc:"来源",value:this.collect.configManager.get("referrer")},{name:"custom",desc:"自定义信息",value:PT(this.collect.configManager.get("custom"))}]},{title:"配置信息",key:"config",type:3,content:[{name:"autotrack",desc:"全埋点",value:!!this.config.autotrack},{name:"stay",desc:"停留时长",value:!!this.config.enable_stay_duration}]},{title:"A/B配置信息",key:"ab",type:4,content:[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test}]}],this.config.enable_ab_test){var e=this.getInfo("ab"),t=[{name:"ab",desc:"A/B实验",value:!!this.config.enable_ab_test},{name:"vid",desc:"已曝光VID",value:this.collect.configManager.getAbVersion()},{name:"ab_domain",desc:"A/B域名",value:this.config.ab_channel_domain||afe(Rfe[this.config.channel])},{name:"all_values",desc:"全部配置",value:this.collect.configManager.getAbCache()}];e.content=t,this.setInfo("ab",e)}if(this.config.enable_native||this.config.Native){var n={title:"客户端信息",type:3,content:[{name:"native",desc:"是否打通",value:!!this.collect.bridgeReport}]};this.setInfo("native",n)}if(bw(Tfe).call(Tfe,"tob")){var r,i=this.getInfo("user");i.content.push({name:"sid",desc:Fk(r="DISS".split("")).call(r).join(""),value:"点击获取"}),this.setInfo("user",i)}},e.prototype.getInfo=function(e){var t,n=null;return qG(t=this.info).call(t,(function(t){t.key===e&&(n=t)})),n},e.prototype.setInfo=function(e,t){var n,r=!1;qG(n=this.info).call(n,(function(n){n.key===e&&(r=!0,n=t)})),r||this.info.push(t)},e.prototype.getSecondInfo=function(e,t){var n,r=this.getInfo(e),i=null;return qG(n=r.content).call(n,(function(e){e.name===t&&(i=e)})),i},e.prototype.setSecondInfo=function(e,t,n){var r,i=this.getInfo(e),o=!1;if(qG(r=i.content).call(r,(function(e){e.name===t&&(e.value=n,o=!0)})),!o){var a={name:t,value:n,desc:t.toLocaleUpperCase()};i.content.push(a)}this.setInfo(e,i)},e.prototype.loadHook=function(){var e=this;this.collect.on(tfe.DEBUGGER_MESSAGE,(function(t){switch(t.type){case tfe.DEBUGGER_MESSAGE_SDK:var n={time:t.time,type:t.logType||"sdk",infoType:t.infoType||"sdk",level:t.level,name:t.info,show:!0,levelShow:!0,needDesc:!!t.data};if(t.data&&(n.desc={content:PT(t.data)}),e.updateLog(n),t.secType&&"AB"===t.secType)e.setSecondInfo("ab","vid",e.collect.configManager.getAbVersion()),e.setSecondInfo("ab","all_values",e.collect.configManager.getAbCache());else if("USER"===t.secType)e.setSecondInfo("user","user_unique_id"===t.common?"uuid":t.common,e.collect.configManager.get(t.common));else if("HEADER"===t.secType){var r=e.collect.configManager.get(t.common);e.setSecondInfo("common",t.common,"custom"===t.common?PT(r):r)}return void e.updateInfo();case tfe.DEBUGGER_MESSAGE_EVENT:if(t.data&&t.data.length){var i=t.data[0],o=i.events;if(!o.length)return;qG(o).call(o,(function(n){n.checkShow=!0,n.searchShow=!0,n.focusShow=!0,n.status=t.status,n.type=e.filterEvent.has(n.event)?"sdk":"cus",n.verifyType=t.verifyType?"verify":"no",n.info="","fail"===t.status&&(n.info={message:"code: "+t.code+", msg: "+(t.msg||t.failType)})})),e.updateEvent(i)}return}}))},e.prototype.addLintener=function(){var e=this;window.addEventListener("message",(function(t){if(t&&t.data&&"devtool:web:ready"===t.data.type){if(e.devToolOrigin=t.origin,e.devToolReady=!0,e.sendAlready)return;e.sendData("devtool:web:init",{info:e.info,log:e.log,event:e.event,sdk_type:bw(Tfe).call(Tfe,"tob")?"tob":"inner",appId:e.app_id}),e.sendAlready=!0}t&&t.data&&"devtool:web:ssid"===t.data.type&&e.collect.getToken((function(t){e.setSecondInfo("user","sid",t.tobid),e.updateInfo()}))}))},e.prototype.sendData=function(e,t){try{var n={type:e,payload:t};window&&window.postMessage(n,this.devToolOrigin)}catch(r){}},e.prototype.updateInfo=function(){this.devToolReady&&this.sendData("devtool:web:info",this.info)},e.prototype.updateLog=function(e){this.devToolReady?this.sendData("devtool:web:log",e):this.log.push(e)},e.prototype.updateEvent=function(e){this.devToolReady?this.sendData("devtool:web:event",e):this.event.push(e)},e.prototype.loadDebuggerModule=function(){var e="#debugger-applog-web {\n position: fixed;\n width: 45px;\n height: 45px;\n background-image: url("+afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z1az1bz1lz49z22z1mz21z4az19z27z22z1cz21z1az1kz4az1az1mz1kz4bz1mz19z1hz4bz21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz1bz1cz24z22z1mz1mz1jz4bz18z1nz1nz1jz1mz1ez4az1nz1lz1e")+");\n bottom: 5%;\n right: 10%;\n cursor: pointer;\n z-index:100;\n background-size: 45px;\n }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.appendChild(n);var r=document.createElement("div");r.innerHTML='<div id="debugger-applog-web" class="debugger-applog-web"></div>';var i=document.createElement("div");i.innerHTML='<div id="debugger-container" class="debugger-container"></div>',document.getElementsByTagName("body")[0].appendChild(r),document.getElementsByTagName("body")[0].appendChild(i);var o=document.getElementById("debugger-applog-web");o&&o.addEventListener("click",(function(){window&&window.postMessage({type:"devtool:web:open-draw"},location.origin)}))},e}(),Pme={autotrack:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z23z22z1mz22z20z18z1az1iz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/autotrack.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/autotrack.js"},object:"LogAutoTrack"},ab:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz18z19z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/ab.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/ab.js"},object:"LogAb"},stay:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz21z22z18z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/stay.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/stay.js"},object:"LogStay"},route:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1mz23z22z1cz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/route.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/route.js"},object:"LogRoute"},tracer:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz22z20z18z1az1cz20z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/tracer.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/tracer.js"},object:"LogTracer"},retry:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz20z1cz22z20z27z4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/retry.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/retry.js"},object:"LogRetry"},visual:{src:{cn:afe("1fz22z22z1nz21z4mz4bz4bz1jz1dz49z21z22z18z22z1gz1az4az18z1nz1nz1jz1mz1ez1az1bz1lz4az1az1mz1kz4bz1mz19z1hz4bz18z1nz1nz1jz1mz1ez49z21z1bz1iz49z21z22z18z22z1gz1az4bz1jz1mz1ez49z21z1bz1iz4bz1az1mz1jz1jz1cz1az22z4bz4hz4bz1nz1jz23z1ez1gz1lz4bz24z1gz21z23z18z1jz4az1hz21"),sg:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-sg/log-sdk/collect/5/plugin/visual.js",va:"https://lf-global-static.iapplogcdn.com/obj/applog-sdk-static-us/log-sdk/collect/5/plugin/visual.js"},object:"LogVisual"}},Ime=["ab","autotrack","Stay","store","et","profile","cep","heartbeat","monitor","route","tracer"],xme=function(){function e(e){this.disableAutoPageView=!1,this.bridgeReport=!1,this.staging=!1,this.pluginInstances=[],this.sended=!1,this.started=!1,this.destroy=!1,this.sdkReady=!1,this.adapters={},this.loadType="base",this.sdkStop=!1,this.name=e,this.hook=new nfe,this.remotePlugin=new VO,this.Types=Mfe,this.adapters.storage=_fe,this.loadType="full"}return e.usePlugin=function(t,n,r){if(n){for(var i=!1,o=0,a=e.plugins.length;o<a;o++)if(e.plugins[o].name===n){e.plugins[o].plugin=t,e.plugins[o].options=r||{},i=!0;break}i||e.plugins.push({name:n,plugin:t,options:r})}else e.plugins.push({plugin:t})},e.prototype.usePlugin=function(e,t,n){e&&("full"===this.loadType&&bw(Ime).call(Ime,e)?console.info("your sdk version has "+e+" plugin already ~"):t?"string"==typeof t?this.remotePlugin.get(e)||this.remotePlugin.set(e,{src:t,call:n}):this.remotePlugin.get(e)||this.remotePlugin.set(e,{instance:t}):this.remotePlugin.get(e)||this.remotePlugin.set(e,"sdk"))},e.prototype.init=function(t){var n,r,i=this;this.logger=new Ffe(this.name,t.log),this.inited?this.logger.warn("[instance: "+this.name+"], every instance's api: init, can be call only one time!"):t&&rfe(t)?t.app_id&&"number"==typeof(r=t.app_id)&&!isNaN(r)?t.app_key&&"string"!=typeof t.app_key?this.logger.warn("app_key param is error, must be string, please check!"):(t.channel_domain||-1!==hR(n=["cn","sg","va","my"]).call(n,t.channel)||(this.logger.warn("channel must be `cn`, `sg`,`va`, `my` !"),t.channel="cn"),this.spider=new Pfe,this.spider.checkSpider(t)?this.logger.warn("your env may be a spider, can not report!"):(this.appBridge=new Ife(this,t.enable_native),this.requestManager=new Ame(this,t),this.bridgeReport=this.appBridge.bridgeInject(),this.configManager=new Afe(this,t),this.debugger=new Fme(this,t),this.initConfig=t,this.emit(Mfe.Init),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Init",data:t,level:"info",time:vR(),infoType:"cus"}),this.destroy=!1,t.disable_auto_pv&&(this.disableAutoPageView=!0),this.bridgeReport||(this.configManager.set({app_id:t.app_id}),this.eventManager=new Hfe,this.tokenManager=new Ofe,this.sessionManager=new Xfe,qT.all([new qT((function(e){i.once(Mfe.TokenComplete,(function(){e(!0)}))})),new qT((function(e){i.once(Mfe.Start,(function(){e(!0)}))}))]).then((function(){try{var n;iX(n=e.plugins).call(n,(function(e,t){var n=t.plugin,r=t.options,o=zT(i.initConfig,r),a=new n;return a.apply(i,o),e.push(a),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK加载"+t.name+"插件",level:"info",time:vR(),infoType:"sdk"}),e}),i.pluginInstances)}catch(r){console.warn("load plugin error, "+r.message),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK加载插件发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.sdkReady=!0,i.emit(Mfe.Ready),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 用户信息初始化完成",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 初始化完成",time:vR(),level:"info",data:i.configManager.get("user"),infoType:"sdk"}),i.logger.info("appid: "+t.app_id+", userInfo:"+PT(i.configManager.get("user"))),i.logger.info("appid: "+t.app_id+", sdk is ready, version type is "+i.loadType+", version is "+Tfe+", you can report now !!!"),t.disable_auto_pv&&(i.disableAutoPageView=!0);try{"full"===i.loadType&&(t.enable_ab_test||t.autotrack)&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(r){i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:r.message,infoType:"sdk"})}i.pageView(),i.on(Mfe.TokenChange,(function(e){"webid"===e&&i.pageView(),i.logger.info("appid: "+t.app_id+" token change, new userInfo:"+PT(i.configManager.get("user"))),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 设置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(Mfe.TokenReset,(function(){i.logger.info("appid: "+t.app_id+" token reset, new userInfo:"+PT(i.configManager.get("user"))),i.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 重置了用户信息",time:vR(),secType:"USER",level:"info",data:i.configManager.get("user"),infoType:"sdk"})})),i.on(Mfe.RouteChange,(function(e){e.init||t.disable_route_report||i.pageView()}))})),this.tokenManager.apply(this,t),this.eventManager.apply(this,t),this.sessionManager.apply(this,t)),this.inited=!0)):this.logger.warn("app_id param is error, must be number, please check!"):this.logger.warn("init params error,please check!")},e.prototype.config=function(e){if(!this.inited)return console.warn("config must be use after function init"),void this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config must be use after function init",infoType:"sdk"});if(!e||!rfe(e))return console.warn("config params is error, please check"),void this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK执行Config发生了异常",level:"error",time:vR(),data:"config params is error, please check",infoType:"sdk"});if(this.bridgeReport)this.appBridge.setConfig(e);else{e._staging_flag&&1===e._staging_flag&&(this.staging=!0),e.disable_auto_pv&&(this.disableAutoPageView=!0,delete e.disable_auto_pv);var t=qpe({},e),n=this.initConfig.configPersist||this.initConfig.config_persist||!1;if(this.initConfig&&n){var r=this.configManager.getStore();r&&(t=zT(r,e)),this.configManager.setStore(e)}t.web_id,t.user_unique_id;var i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&hR(t).call(t,r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof KG){var i=0;for(r=KG(e);i<r.length;i++)hR(t).call(t,r[i])<0&&(n[r[i]]=e[r[i]])}return n}(t,["web_id","user_unique_id"]);this.configManager.set(i),t.hasOwnProperty("web_id")&&this.emit(Mfe.ConfigWebId,t.web_id),t.hasOwnProperty("user_unique_id")&&this.emit(Mfe.ConfigUuid,t.user_unique_id),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Config",level:"info",time:vR(),data:t,infoType:"cus"})}},e.prototype.setUserUniqueID=function(e){this.config({user_unique_id:e})},e.prototype.setHeaderInfo=function(e,t){var n={};n[e]=t,this.config(n)},e.prototype.removeHeaderInfo=function(e){var t={};t[e]=void 0,this.config(t)},e.prototype.setDomain=function(e){this.configManager&&this.configManager.setDomain(e),this.emit(Mfe.ConfigDomain)},e.prototype.getConfig=function(e){var t;return null===(t=this.configManager)||void 0===t?void 0:t.get(e)},e.prototype.send=function(){this.start()},e.prototype.start=function(){this.inited&&!this.sended&&(this.sended=!0,this.started=!0,this.emit(Mfe.Start),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Start",level:"info",time:vR(),infoType:"cus"}),this.bridgeReport&&(this.pageView(),this.emit(Mfe.Ready)))},e.prototype.event=function(e,t){var n=this;try{var r=[];if(uS(e))qG(e).call(e,(function(e){var t=n.processEvent(e[0],e[1]||{});t&&r.push(t)}));else{var i=this.processEvent(e,t);if(!i)return;r.push(i)}this.bridgeReport?qG(r).call(r,(function(e){var t=e.event,r=e.params;n.appBridge.onEventV3(t,PT(r))})):r.length&&(this.emit(Mfe.Event,r),this.emit(Mfe.SessionResetTime)),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event",level:"info",time:vR(),data:e,infoType:"cus"})}catch(o){this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Event发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"})}},e.prototype.beconEvent=function(e,t){if(uS(e))console.warn("beconEvent not support batch report, please check");else{var n=[],r=this.processEvent(e,t||{});r&&(n.push(r),n.length&&(this.emit(Mfe.BeconEvent,n),this.emit(Mfe.SessionResetTime)),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行Beacon Event",level:"info",time:vR(),data:e,infoType:"sdk"}))}},e.prototype.beaconEvent=function(e,t){this.beconEvent(e,t)},e.prototype.processEvent=function(e,t){void 0===t&&(t={});try{if(!e)return console.warn("eventName is null, please check"),null;var n=e;/^event\./.test(e)&&(n=mG(e).call(e,6));var r=t;"object"!=Wd(r)&&(r={}),r.profile?delete r.profile:r.event_index=ofe();var i=void 0;return r.local_ms?(i=r.local_ms,delete r.local_ms):i=+new Date,{event:n,params:r,local_time_ms:i,is_bav:this.initConfig&&this.initConfig.autotrack?1:0}}catch(o){return this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK发生了异常",level:"error",time:vR(),data:o.message,infoType:"sdk"}),{event:e,params:t}}},e.prototype.filterEvent=function(e){this.eventFilter=e},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,n){this.hook.emit(e,t,n)},e.prototype.set=function(e){this.hook.set(e)},e.prototype.stop=function(){this.sdkStop=!0},e.prototype.reStart=function(){this.sdkStop=!1},e.prototype.pageView=function(){this.disableAutoPageView||this.predefinePageView()},e.prototype.predefinePageView=function(e){if(void 0===e&&(e={}),this.inited){var t={title:document.title||location.pathname,url:location.href,url_path:this.handlePath(),time:vR(),referrer:window.document.referrer,$is_first_time:""+(this.configManager&&this.configManager.is_first_time||!1)},n=qpe(qpe({},t),e);this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 上报PV",level:"info",time:vR(),infoType:"sdk"}),this.event("predefine_pageview",n)}else console.warn("predefinePageView must be use after function init")},e.prototype.handlePath=function(){var e=location.pathname;try{if(this.initConfig.allow_hash){var t=new bk(location.href).hash.match(/#\/([^?#]+)/i);return t&&t.length?t[1]:location.pathname}}catch(n){e=location.pathname}return e},e.prototype.clearEventCache=function(){this.emit(Mfe.CleanEvents)},e.prototype.setWebIDviaUnionID=function(e){if(e){var t=hfe(e);this.config({web_id:""+t,wechat_unionid:e}),this.emit(Mfe.CustomWebId)}},e.prototype.setWebId=function(e){this.config({web_id:""+e})},e.prototype.setWebIDviaOpenID=function(e){if(e){var t=hfe(e);this.config({web_id:""+t,wechat_openid:e}),this.emit(Mfe.CustomWebId)}},e.prototype.setNativeAppId=function(e){this.bridgeReport&&this.appBridge.setNativeAppId(e)},e.prototype.setRequestHeaders=function(e){this.emit(Mfe.CustomHeader,e)},e.prototype.getSessionId=function(){return xfe()},e.prototype.setSessionId=function(e){this.emit(Mfe.SessionReset,e)},e.prototype.resetStayDuration=function(e,t,n){this.emit(Mfe.ResetStay,{url_path:e,title:t,url:n},Mfe.Stay)},e.prototype.resetStayParams=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.emit(Mfe.SetStay,{url_path:e,title:t,url:n},Mfe.Stay)},e.prototype.getToken=function(e,t){var n=this;if(this.inited){var r=!1,i=function(t){if(!r){var i;r=!0;var o=n.configManager.get().user;return t&&(o.tobid=t,o[Fk(i="diss".split("")).call(i).join("")]=t),e(qpe({},o))}},o=function(){n.tokenManager.getTobId().then((function(e){i(e)}))};this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行GetToken",level:"info",time:vR(),infoType:"cus"}),this.sdkReady?o():(t&&vG((function(){i()}),t),this.on(Mfe.Ready,(function(){o()})))}else console.warn("getToken must be use after function init")},e.prototype.profileSet=function(e){this.bridgeReport?this.appBridge.profileSet(PT(e)):this.emit(Mfe.ProfileSet,e,Mfe.Profile),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSet",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileSetOnce=function(e){this.bridgeReport?this.appBridge.profileSetOnce(PT(e)):this.emit(Mfe.ProfileSetOnce,e,Mfe.Profile),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileSetOnce",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileIncrement=function(e){this.bridgeReport?this.appBridge.profileIncrement(PT(e)):this.emit(Mfe.ProfileIncrement,e,Mfe.Profile),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileIncrement",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileUnset=function(e){this.bridgeReport?this.appBridge.profileUnset(e):this.emit(Mfe.ProfileUnset,e,Mfe.Profile),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileUnset",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.profileAppend=function(e){this.bridgeReport?this.appBridge.profileAppend(PT(e)):this.emit(Mfe.ProfileAppend,e,Mfe.Profile),this.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行profileAppend",level:"info",time:vR(),data:e,infoType:"cus"})},e.prototype.setExternalAbVersion=function(e){var t;this.emit(Mfe.AbExternalVersion,"string"==typeof e&&e?pE(t=""+e).call(t):null,Mfe.Ab)},e.prototype.getVar=function(e,t,n){this.emit(Mfe.AbVar,{name:e,defaultValue:t,callback:n},Mfe.Ab)},e.prototype.getABconfig=function(e,t){this.emit(Mfe.AbConfig,{params:e,callback:t},Mfe.Ab)},e.prototype.getAbSdkVersion=function(){return this.configManager.getAbVersion()},e.prototype.onAbSdkVersionChange=function(e){var t=this;return this.emit(Mfe.AbVersionChangeOn,e,Mfe.Ab),function(){t.emit(Mfe.AbVersionChangeOff,e,Mfe.Ab)}},e.prototype.offAbSdkVersionChange=function(e){this.emit(Mfe.AbVersionChangeOff,e,Mfe.Ab)},e.prototype.openOverlayer=function(){this.emit(Mfe.AbOpenLayer,"",Mfe.Ab)},e.prototype.closeOverlayer=function(){this.emit(Mfe.AbCloseLayer,"",Mfe.Ab)},e.prototype.getAllVars=function(e){this.emit(Mfe.AbAllVars,e,Mfe.Ab)},e.prototype.destoryInstace=function(){this.destroy||(this.destroy=!0,this.off(Mfe.TokenComplete),this.emit(Mfe.DestoryInstance))},e.prototype.destroyInstance=function(){this.destroy||(this.destroy=!0,this.off(Mfe.TokenComplete),this.emit(Mfe.DestoryInstance))},e.plugins=[],e}(),Xme="__rangers_ab_style__";!function(e){e[e.Var=0]="Var",e[e.All=1]="All"}(Dme||(Dme={}));var Hme=function(){function e(){this.fetchStatus="no",this.refreshFetchStatus="complete",this.versions=[],this.extVersions=[],this.mulilinkVersions=[],this.enable_multilink=!1,this.enable_ab_visual=!1,this.editMode=!1,this.callbacks=[],this.data=null,this.changeListener=new VO,this.readyStatus=!1,this.exposureCache=[]}return e.prototype.apply=function(e,t){var n=this;if(t.enable_ab_test){this.collect=e,this.config=t;var r=t.enable_multilink,i=t.ab_channel_domain,o=t.enable_ab_visual,a=t.ab_cross,s=t.ab_cookie_domain,c=t.ab_timeout,l=i||afe(Rfe[t.channel||"cn"]),u=e.adapters.storage,d=this.collect.Types;this.types=d,this.cacheStorgae=new u(!1),this.timeout=c||3e3,this.enable_multilink=r,this.enable_ab_visual=o,this.abKey="__tea_sdk_ab_version_"+t.app_id,this.ab_cross=a,this.ab_cookie_domain=s||"",this.fetchUrl=l+"/service/2/abtest_config/",this.reportUrl=""+e.configManager.getUrl("event"),this.exposureLimit=t.exposure_limit||20,this.ab_batch_time=t.ab_batch_time||500,this.ab_user_mode=t.ab_user_mode||"user_unique_id",this.callbackMap=new VO,this.collect.on(d.TokenChange,(function(e){"uuid"===e&&n.readyStatus&&(n.clearCache(),n.fetchAB())})),this.collect.on(d.TokenReset,(function(e){"uuid"===e&&n.readyStatus&&(n.clearCache(),n.fetchAB())})),this.collect.on(d.AbVar,(function(e){var t=e.name,r=e.defaultValue,i=e.callback;n.getVar(t,r,i)})),this.collect.on(d.AbAllVars,(function(e){n.getAllVars(e)})),this.collect.on(d.AbConfig,(function(e){var t=e.params,r=e.callback;n.getABconfig(t,r)})),this.collect.on(d.AbExternalVersion,(function(e){n.setExternalAbVersion(e)})),this.collect.on(d.AbOpenLayer,(function(){n.openOverlayer()})),this.collect.on(d.AbCloseLayer,(function(){n.closeOverlayer()})),this.collect.on(d.AbVersionChangeOn,(function(e){n.changeListener.set(e,e)})),this.collect.on(d.AbVersionChangeOff,(function(e){n.changeListener.get(e)&&n.changeListener.delete(e)})),this.loadMode(),(this.enable_ab_visual||this.enable_multilink)&&this.openOverlayer(this.config.multilink_timeout_ms||500),this.checkLocal(),this.ready("ab"),this.readyStatus||(this.fetchAB(),this.readyStatus=!0),this.collect.emit(d.AbReady)}},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.loadMode=function(){var e=function(){try{return JSON.parse(atob(window.name))||void 0}catch(e){return}}(),t="";if(e){var n=e.scenario,r=e.href;n?(this.editMode=!0,t=n):!r||-1===hR(r).call(r,"datatester")&&-1===hR(r).call(r,"visual-editor")||(this.editMode=!0,t="visual-editor")}this.enable_ab_visual&&"visual-editor"===t&&this.collect.destoryInstace()},e.prototype.checkLocal=function(){var e,t=this.getABCache(),n=t.ab_version,r=t.ab_ext_version,i=t.ab_version_multilink,o=t.data,a=this.checkFromUrl();a?this.mulilinkVersions.push(a):this.mulilinkVersions=i||[],this.extVersions=r||[],this.versions=n||[],this.data=o;var s=b_(e=this.versions).call(e,this.extVersions);this.enable_multilink&&(s=b_(s).call(s,this.mulilinkVersions)),this.configVersions(s.join(","))},e.prototype.checkFromUrl=function(){var e=dfe(window.location.href);return e&&e.vid?e.vid:""},e.prototype.updateVersions=function(){var e,t,n=this.extVersions.length?b_(e=this.versions).call(e,this.extVersions):this.versions;this.enable_multilink&&(n=b_(n).call(n,this.mulilinkVersions)),this.configVersions(n.join(",")),this.updateABCache(),this.changeListener.size>0&&qG(t=this.changeListener).call(t,(function(e){"function"==typeof e&&e(n)}))},e.prototype.configVersions=function(e){this.collect.configManager.setAbVersion(e)},e.prototype.getVar=function(e,t,n){if(!e)throw new Error("variable must not be empty");if(void 0===t)throw new Error("variable no default value");if("function"!=typeof n)throw new Error("callback must be a function");var r={name:e,defaultValue:t,callback:n,type:Dme.Var};this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 调用GetVar",level:"info",time:vR(),data:e,infoType:"cus"}),"complete"===this.fetchStatus&&"complete"===this.refreshFetchStatus?this.getRealVar(r,e):(this.callbackMap.get(e),this.callbackMap.set(e,r))},e.prototype.getRealVar=function(e,t){var n=e.name,r=e.defaultValue,i=e.callback,o=this.data;if(o){var a=o[n];if(a&&rfe(a)){var s,c,l=o[n].vid;return"$ab_url"===t?bw(s=this.mulilinkVersions).call(s,l)||this.mulilinkVersions.push(l):bw(c=this.versions).call(c,l)||this.versions.push(l),this.updateVersions(),this.fechEvent(l,t||n,r,i,a.val),void this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK执行GetVar,并曝光了实验"+n,level:"info",time:vR(),data:o[n],infoType:"sdk"})}this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK执行GerVar默认回调",level:"info",time:vR(),data:this.data,infoType:"sdk"}),i(r)}else i(r)},e.prototype.getAllVars=function(e){if("function"!=typeof e)throw new Error("callback must be a function");var t={callback:e,type:Dme.All};this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 调用GetAllVars",level:"info",time:vR(),infoType:"cus"}),"complete"===this.fetchStatus&&"complete"===this.refreshFetchStatus?this.getRealAllVars(t):this.callbackMap.set("allVars",t)},e.prototype.getRealAllVars=function(e){(0,e.callback)(this.data?JSON.parse(PT(this.data)):{}),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"SDK 执行GetAllVars",level:"info",time:vR(),data:this.data,infoType:"sdk"})},e.prototype.fechEvent=function(e,t,n,r,i){try{if(this.config.disable_track_event)return;if(!e)return;var o=this.collect.configManager.get(),a=o.header,s=o.user,c=this.getABCache(),l=s[this.ab_user_mode]||s.user_unique_id;if(c&&c.uuid&&c.uuid!==l)return;var u={event:"abtest_exposure",ab_sdk_version:""+e,params:PT({app_id:this.config.appId,ab_url:"$ab_url"===t?n:window.location.href}),local_time_ms:vR()};a.custom=PT(a.custom);var d={events:[u],user:s,header:a};this.reportExposure(d,t),r&&r(i)}catch(h){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 发生了异常",level:"error",time:vR(),data:h.message,infoType:"sdk"})}},e.prototype.reportExposure=function(e,t){var n=this;this.exposureCache.push(e),this.reportTimeout&&clearTimeout(this.reportTimeout),this.exposureCache.length>=this.exposureLimit?this.report(t):this.reportTimeout=vG((function(){n.report(t),clearTimeout(n.reportTimeout)}),this.ab_batch_time)},e.prototype.report=function(e){var t,n=this;this.collect.requestManager.useRequest({url:this.reportUrl,data:this.exposureCache,timeout:2e4,useBeacon:"$ab_url"===e,zip:!0}),qG(t=this.exposureCache).call(t,(function(e){n.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"曝光埋点上报成功",time:vR(),data:[e],code:200,status:"success",infoType:"sdk"})})),this.exposureCache=[]},e.prototype.setExternalAbVersion=function(e){this.extVersions=[e],this.updateVersions()},e.prototype.getABconfig=function(e,t){var n=jG(e);n&&n.length&&this.collect.configManager.set(e),this.fetchAB(t)},e.prototype.get=function(e){if(this.ab_cross){var t=this.cacheStorgae.getCookie(e,this.ab_cookie_domain);return t?JSON.parse(t):{}}return this.cacheStorgae.getItem(e)},e.prototype.set=function(e,t){this.ab_cross?this.cacheStorgae.setCookie(e,t,2592e6,this.ab_cookie_domain):this.cacheStorgae.setItem(e,t),this.collect.configManager.setAbCache(t)},e.prototype.getABCache=function(e){var t={ab_version:[],ab_ext_version:[],ab_version_multilink:[],data:null,timestamp:+new Date,uuid:""};return t=this.get(this.abKey)||t,e?t[e]:t},e.prototype.updateABCache=function(){var e=this.getABCache();e.ab_version_multilink=this.mulilinkVersions,e.ab_ext_version=this.extVersions,e.ab_version=this.versions,e.timestamp=vR(),this.set(this.abKey,e)},e.prototype.setAbCache=function(e){var t=this.getABCache();t.data=this.data,t.uuid=e,t.timestamp=vR(),this.set(this.abKey,t)},e.prototype.clearCache=function(){this.refreshFetchStatus="ing",this.data={},this.extVersions=[],this.mulilinkVersions=[],this.versions=[],this.collect.configManager.clearAbCache()},e.prototype.openOverlayer=function(e){var t=this;if(function(){if(!document.getElementById(Xme)){var e="body { opacity: 0 !important; }",t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id=Xme,n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}}(),e)var n=vG((function(){t.closeOverlayer(),clearTimeout(n)}),e)},e.prototype.closeOverlayer=function(){var e;(e=document.getElementById(Xme))&&e.parentElement.removeChild(e)},e.prototype.fetchComplete=function(e,t){var n=this;try{var r;if(e&&"[object Object]"==Object.prototype.toString.call(e)){var i,o,a=this.collect.configManager.get().user;if(t&&t!==a.user_unique_id)return;this.data=e,this.setAbCache(t);var s=[];qG(i=jG(e)).call(i,(function(t){var n=e[t].vid;n&&s.push(n)})),this.versions=QG(o=this.versions).call(o,(function(e){return bw(s).call(s,e)}));var c=e.$ab_url,l=e.$ab_modification;if(l&&l.val&&this.enable_ab_visual){if(this.collect.destroy)return;this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行可视化实验",level:"info",logType:"fetch",time:vR(),infoType:"sdk",data:{$ab_modification:l}})}else if(c&&this.enable_multilink){var u;this.mulilinkVersions=QG(u=this.mulilinkVersions).call(u,(function(e){return bw(s).call(s,e)})),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行多链接实验",level:"info",logType:"fetch",time:vR(),infoType:"sdk",data:{$ab_url:c}});var d=c.val,h=c.vid;d&&h&&this.getVar("$ab_url",d,(function(){n.editMode||(d!==window.location.href?vG((function(){if(!n.collect.destroy){var e=""+d;e=-1===hR(e).call(e,"http")?"https://"+e:e,ufe(e).host!==location.host?e=e+"&vid="+h:window.history.replaceState("","",e),window.location.href=e}}),100):n.closeOverlayer())}))}this.updateVersions()}else this.closeOverlayer();qG(r=this.callbackMap).call(r,(function(e){return n[e.type===Dme.Var?"getRealVar":"getRealAllVars"](e,"")}))}catch(p){}},e.prototype.fetchAB=function(e){var t=this,n=this.collect.configManager.get(),r={header:qpe(qpe(qpe({aid:this.config.app_id},n.user||{}),n.header||{}),{ab_sdk_version:this.collect.configManager.getAbVersion(),ab_url:window.location.href})};this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 发起AB实验请求",level:"info",logType:"fetch",time:vR(),data:r,infoType:"sdk"});var i=n.user[this.ab_user_mode]||n.user.user_unique_id;this.collect.requestManager.useRequest({url:this.fetchUrl,data:r,success:function(n){t.fetchStatus="complete",t.refreshFetchStatus="complete";var r=n.data;"success"===n.message?(t.fetchComplete(r,i),e&&e(r)):(t.fetchComplete(null,i),e&&e(null)),t.collect.emit(t.types.AbComplete,r),t.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"AB实验请求成功",level:"info",logType:"fetch",time:vR(),data:r,infoType:"sdk"})},fail:function(){t.fetchStatus="complete",t.refreshFetchStatus="complete",t.fetchComplete(null,i),t.collect.emit(t.types.AbTimeout),e&&e(null),t.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,secType:"AB",info:"AB实验请求网络异常",level:"error",logType:"fetch",time:vR(),infoType:"sdk"})},timeout:this.timeout})},e}(),Cme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.event_verify_url&&("string"==typeof t.event_verify_url?(this.url=t.event_verify_url+"/v1/list_test",e.on(e.Types.SubmitBefore,(function(t){e.requestManager.useBeacon({url:n.url,data:t}),e.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"SDK Report ByteIo Verify Request",time:vR(),data:t,code:200,status:"success",verifyType:!0})}))):console.log("please use correct et_test url"))},e}();function Ome(e,t,n){if(void 0===t&&(t="list"),!e)return!1;if(t&&"list"===t){var r;if(bw(r=["LI","TR","DL"]).call(r,e.nodeName))return!0;if(e.dataset&&e.dataset.hasOwnProperty("teaIdx"))return!0;if(e.hasAttribute&&e.hasAttribute("data-tea-idx"))return!0}else{var i;if(bw(i=["A","BUTTON"]).call(i,e.nodeName))return!0;if(e.dataset&&e.dataset.hasOwnProperty("teaContainer"))return!0;if(e.hasAttribute&&e.hasAttribute("data-tea-container"))return!0;if(n&&e.hasAttribute&&e.hasAttribute(n))return!0}return!1}var Lme=function(e,t){return!!Vme(e,t)};function Ume(e,t){for(var n=e;n&&!Ome(n,"container",t.container_attr||"");){if("HTML"===n.nodeName||"BODY"===n.nodeName)return e;n=n.parentElement}return n||e}function Bme(e){for(var t=e;t&&t.parentNode;){var n;if(t.hasAttribute("data-tea-ignore"))return!0;if(t.className&&bw(n=t.className).call(n,"applog-web-devtools-con"))return!0;if("HTML"===t.nodeName||"body"===t.nodeName)return!1;t=t.parentNode}return!1}var Nme=function(e,t){return e.hasAttribute?e.hasAttribute(t):e.attributes?!(!e.attributes[t]||!e.attributes[t].specified):void 0},Vme=function(e,t){if("string"==typeof t)return Nme(e,t);if(ife(t)){for(var n=!1,r=0;r<t.length;r++)if(Nme(e,t[r])){n=!0;break}return n}},jme=function(e,t){var n={};if("string"==typeof t)Nme(e,t)&&(n[t]=e.getAttribute(t));else if(ife(t))for(var r=0;r<t.length;r++)Nme(e,t[r])&&(n[t[r]]=e.getAttribute(t[r]));return n};function Kme(e){var t=[];if(!e)return{element_path:"",positions:[]};for(;null!==e.parentElement;)t.push(e),e=e.parentElement;var n=[],r=[];return qG(t).call(t,(function(e){var t=function(e){if(null===e)return{str:"",index:0};var t=0,n=e.parentElement;if(n)for(var r=n.children,i=0;i<r.length&&r[i]!==e;i++)r[i].nodeName===e.nodeName&&t++;return{str:[e.nodeName.toLowerCase(),Ome(e,"list")?"[]":""].join(""),index:t}}(e),i=t.str,o=t.index;n.unshift(i),r.unshift(o)})),{element_path:"/"+n.join("/"),positions:r}}var Qme=function(){function e(e,t){this.maxDuration=432e5,this.aliveDTime=6e4,this.options={aliveName:"predefine_page_alive",params:{},container:null},this.focusState=!0,this.collect=e,this.config=t,this.pageStartTime=vR(),this.sessionStartTime=this.pageStartTime,this.timerHandler=null,rfe(t.enable_stay_duration)&&(this.options=zT(this.options,t.enable_stay_duration)),this.hard=this.options.mode&&"hard"===this.options.mode,this.focusState=document.hasFocus(),this.aliveDTime=this.options.aliveTime||6e4}return e.prototype.setParams=function(e,t,n){this.set_path=e,this.set_url=n,this.set_title=t},e.prototype.enable=function(e,t,n){this.url_path=e,this.url=n,this.title=t,this.disableCallback=this.enablePageAlive(),this.hard&&(this.removeMode=this.hardMode())},e.prototype.disable=function(){this.disableCallback(),this.pageStartTime=vR(),this.hard&&this.removeMode&&this.removeMode()},e.prototype.sendEvent=function(e,t){void 0===t&&(t=!1);var n=t?this.aliveDTime:vR()-this.sessionStartTime;if(!(n<0||n>this.aliveDTime||vR()-this.pageStartTime>this.maxDuration)&&(!t||"hidden"!==document.visibilityState)&&(!this.hard||this.focusState)){var r=qpe({url_path:this.getParams("url_path"),title:this.getParams("title"),url:this.getParams("url"),duration:n,is_support_visibility_change:lfe(),startTime:this.sessionStartTime,hidden:document.visibilityState,leave:e,mode:this.hard?"hard":"normal",focusState:this.focusState,aliveType:this.options.container?"dom":"page"},this.options.params);if(this.options.container){var i=Kme(this.options.container).element_path;r=zT(r,{element_path:i,aliveType:this.options.container?"dom":"page"})}this.collect.beconEvent(this.options.aliveName,r),this.sessionStartTime=vR()}},e.prototype.getParams=function(e){switch(e){case"url_path":return this.set_path||this.url_path||location.pathname;case"title":return this.set_title||this.title||document.title||location.pathname;case"url":return this.set_url||this.url||location.href}},e.prototype.setUpTimer=function(){var e=this;return this.timerHandler&&clearInterval(this.timerHandler),Tw((function(){vR()-e.sessionStartTime>e.aliveDTime&&e.sendEvent(!1,!0)}),1e3)},e.prototype.visibilitychange=function(){"hidden"===this.getDisplayStatus()?this.timerHandler&&(clearInterval(this.timerHandler),this.sendEvent(!1)):"visible"===this.getDisplayStatus()&&(this.sessionStartTime=vR(),this.timerHandler=this.setUpTimer())},e.prototype.getDisplayStatus=function(){if(!this.options.container)return document.visibilityState;try{var e=window.getComputedStyle(this.options.container);return"none"!==e.display&&"hidden"!==e.visibility&&"0"!==e.opacity?"visible":"hidden"}catch(t){return"visible"}},e.prototype.beforeunload=function(){document.hidden||this.sendEvent(!0)},e.prototype.muition=function(){var e=this;new MutationObserver((function(t){qG(t).call(t,(function(t){e.visibilitychange()}))})).observe(this.options.container,{attributes:!0,attributeFilter:["style"]})},e.prototype.enablePageAlive=function(){var e,t,n=this;this.timerHandler=this.setUpTimer();var r=z_(e=this.visibilitychange).call(e,this),i=z_(t=this.beforeunload).call(t,this);return this.options.container?this.muition():document.addEventListener("visibilitychange",r),window.addEventListener("pagehide",i),function(){n.beforeunload(),document.removeEventListener("visibilitychange",r),window.removeEventListener("pagehide",i)}},e.prototype.hardMode=function(){var e=this,t=function(){e.timerHandler&&(clearInterval(e.timerHandler),e.sendEvent(!1)),e.focusState=!1},n=function(){e.focusState=!0,e.sessionStartTime=vR(),e.timerHandler=e.setUpTimer()};return window.addEventListener("blur",t),window.addEventListener("focus",n),function(){window.removeEventListener("blur",t),window.removeEventListener("focus",n)}},e}(),Wme=function(){function e(e,t){var n=this;this.maxDuration=432e5,this.aliveDTime=6e4,this.options={closeName:"predefine_page_close",params:{}},this.focusState=!0,this.visibilitychange=function(){"hidden"===document.visibilityState?n.activeEndTime=vR():"visible"===document.visibilityState&&(n.activeEndTime&&(n.totalTime+=n.activeEndTime-n.activeStartTime,n.activeTimes+=1),n.activeEndTime=void 0,n.activeStartTime=vR())},this.beforeunload=function(){if(n.totalTime+=(n.activeEndTime||vR())-n.activeStartTime,n.config.autotrack)try{window.sessionStorage.setItem("_tea_cache_duration",PT({duration:n.totalTime,page_title:document.title||location.pathname}))}catch(e){}n.sendEventPageClose()},this.collect=e,this.config=t,this.maxDuration=t.maxDuration||t.max_duration||864e5,this.pageStartTime=vR(),rfe(t.enable_stay_duration)&&(this.options=zT(this.options,t.enable_stay_duration)),this.hard=this.options.mode&&"hard"===this.options.mode,this.focusState=document.hasFocus(),this.resetData()}return e.prototype.setParams=function(e,t,n){this.set_path=e,this.set_url=n,this.set_title=t},e.prototype.resetParams=function(e,t,n){this.url_path=e,this.url=n,this.title=t},e.prototype.enable=function(e,t,n){this.url_path=e,this.url=n,this.title=t,this.disableCallback=this.enablePageClose(),this.hard&&(this.removeMode=this.hardMode())},e.prototype.disable=function(){this.disableCallback(),this.hard&&this.removeMode&&this.removeMode(),this.resetData()},e.prototype.resetData=function(){this.activeStartTime=void 0===this.activeStartTime?this.pageStartTime:vR(),this.activeEndTime=void 0,this.activeTimes=1,this.totalTime=0,this.resetParams(location.pathname,document.title,location.href)},e.prototype.sendEventPageClose=function(){var e=vR()-this.pageStartTime;this.totalTime<0||e<0||this.totalTime>=this.maxDuration||this.hard&&!this.focusState||(this.collect.beconEvent(this.options.closeName,qpe({url_path:this.getParams("url_path"),title:this.getParams("title"),url:this.getParams("url"),active_times:this.activeTimes,duration:this.totalTime,total_duration:e,is_support_visibility_change:lfe(),mode:this.hard?"hard":"normal",focusState:this.focusState},this.options.params)),this.pageStartTime=vR(),this.resetData())},e.prototype.getParams=function(e){switch(e){case"url_path":return this.set_path||this.url_path||location.pathname;case"title":return this.set_title||this.title||document.title||location.pathname;case"url":return this.set_url||this.url||location.href}},e.prototype.enablePageClose=function(){var e,t,n=this,r=z_(e=this.visibilitychange).call(e,this),i=z_(t=this.beforeunload).call(t,this);return document.addEventListener("visibilitychange",r),window.addEventListener("pagehide",i),function(){n.beforeunload(),document.removeEventListener("visibilitychange",r),window.removeEventListener("pagehide",i)}},e.prototype.hardMode=function(){var e=this,t=function(){e.focusState=!1},n=function(){e.focusState=!0};return window.addEventListener("blur",t),window.addEventListener("focus",n),function(){window.removeEventListener("blur",t),window.removeEventListener("focus",n)}},e}(),qme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,this.config=t,this.config.enable_stay_duration){this.title=document.title||location.pathname,this.url=location.href,this.url_path=location.pathname,this.pageAlive=new Qme(e,t),this.pageClose=new Wme(e,t);var r=this.collect.Types;this.collect.on(r.DestoryInstance,(function(){n.disable()})),this.collect.on(r.ResetStay,(function(e){var t=e.url_path,r=e.title,i=e.url;n.resetStayDuration(t,r,i)})),this.collect.on(r.RouteChange,(function(e){e.init||t.disable_route_report||n.resetStayDuration()})),this.collect.on(r.SetStay,(function(e){var t=e.url_path,r=e.title,i=e.url;n.setStayParmas(t,r,i)})),this.enable(this.url_path,this.title,this.url),this.ready(r.Stay),this.collect.emit(r.StayReady)}},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.enable=function(e,t,n){this.pageAlive.enable(e,t,n),this.pageClose.enable(e,t,n)},e.prototype.disable=function(){this.pageAlive.disable(),this.pageClose.disable()},e.prototype.setStayParmas=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=""),this.pageAlive.setParams(e,t,n),this.pageClose.setParams(e,t,n),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行 resetStayParams",level:"info",time:vR(),data:{url_path:e,title:t,url:n}})},e.prototype.reset=function(e,t,n){this.disable(),this.enable(e,t,n)},e.prototype.resetStayDuration=function(e,t,n){this.reset(e,t,n),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"SDK 执行 resetStayDuration",level:"info",time:vR(),data:{url_path:e,title:t,url:n}})},e}(),Zme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;this.collect=e,this.config=t,this.duration=6e4,this.reportUrl=e.configManager.getDomain()+"/profile/list";var r=e.Types;this.eventCheck=new Sfe(e,t),this.cache={},this.collect.on(r.ProfileSet,(function(e){n.setProfile(e)})),this.collect.on(r.ProfileSetOnce,(function(e){n.setOnceProfile(e)})),this.collect.on(r.ProfileUnset,(function(e){n.unsetProfile(e)})),this.collect.on(r.ProfileIncrement,(function(e){n.incrementProfile(e)})),this.collect.on(r.ProfileAppend,(function(e){n.appendProfile(e)})),this.collect.on(r.ProfileClear,(function(){n.cache={}})),this.ready(r.Profile)},e.prototype.ready=function(e){var t=this;if(this.collect.set(e),this.collect.hook._hooksCache.hasOwnProperty(e)){var n=this.collect.hook._hooksCache[e];if(!jG(n).length)return;var r=function(e){var r;n[e].length&&qG(r=n[e]).call(r,(function(n){t.collect.hook.emit(e,n)}))};for(var i in n)r(i)}},e.prototype.report=function(e,t){void 0===t&&(t={});try{if(this.config.disable_track_event)return;var n=[];n.push(this.collect.processEvent(e,t));var r=this.collect.eventManager.merge(n);this.collect.requestManager.useRequest({url:this.reportUrl,data:r}),this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_EVENT,info:"埋点上报成功",time:vR(),data:r,code:200,status:"success"})}catch(i){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message})}},e.prototype.setProfile=function(e){var t=this.formatParams(e);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set",qpe(qpe({},t),{profile:!0})))},e.prototype.setOnceProfile=function(e){var t=this.formatParams(e,!0);t&&jG(t).length&&(this.pushCache(t),this.report("__profile_set_once",qpe(qpe({},t),{profile:!0})))},e.prototype.incrementProfile=function(e){e?this.report("__profile_increment",qpe(qpe({},e),{profile:!0})):console.warn("please check the params, must be object!!!")},e.prototype.unsetProfile=function(e){if(e){var t={};t[e]="1",this.report("__profile_unset",qpe(qpe({},t),{profile:!0}))}else console.warn("please check the key, must be string!!!")},e.prototype.appendProfile=function(e){if(e){var t={};for(var n in e){var r;"string"==typeof e[n]||"Array"===mG(r=Object.prototype.toString.call(e[n])).call(r,8,-1)?t[n]=e[n]:console.warn("please check the value of param: "+n+", must be string or array !!!")}jG(t).length&&this.report("__profile_append",qpe(qpe({},t),{profile:!0}))}else console.warn("please check the params, must be object!!!")},e.prototype.pushCache=function(e){var t,n=this;qG(t=jG(e)).call(t,(function(t){n.cache[t]={val:n.clone(e[t]),timestamp:vR()}}))},e.prototype.formatParams=function(e,t){var n=this;void 0===t&&(t=!1);try{var r;if(!e||"[object Object]"!==Object.prototype.toString.call(e))return void console.warn("please check the params type, must be object !!!");var i={};for(var o in e){var a;"string"==typeof e[o]||"number"==typeof e[o]||"Array"===mG(a=Object.prototype.toString.call(e[o])).call(a,8,-1)?i[o]=e[o]:console.warn("please check the value of params:"+o+", must be string,number,Array !!!")}var s=jG(i);if(!s.length)return;if(!this.eventCheck.checkEventParams(i))return;var c=vR();return iX(r=QG(s).call(s,(function(r){var i=n.cache[r];return t?!i:!(i&&n.compare(i.val,e[r])&&c-i.timestamp<n.duration)}))).call(r,(function(e,t){return e[t]=i[t],e}),{})}catch(l){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:l.message}),console.log("error")}},e.prototype.compare=function(e,t){try{return PT(e)===PT(t)}catch(n){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),!1}},e.prototype.clone=function(e){try{return JSON.parse(PT(e))}catch(t){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:t.message}),e}},e.prototype.unReady=function(){console.warn("sdk is not ready, please use this api after start")},e}(),$me=function(){function e(){var e=this;this.setInterval=function(){e.clearIntervalFunc=function(e,t){void 0===e&&(e=function(){}),void 0===t&&(t=1e3);var n,r=vR()+t;return n=vG((function i(){var o=vR()-r;e(),r+=t,n=vG(i,Math.max(0,t-o))}),t),function(){window.clearTimeout(n)}}((function(){e.isSessionhasEvent&&e.endCurrentSession()}),e.sessionInterval)},this.clearInterval=function(){e.clearIntervalFunc&&e.clearIntervalFunc()}}return e.prototype.apply=function(e,t){var n=this;if(this.collect=e,!t.disable_heartbeat){this.sessionInterval=6e4,this.startTime=0,this.lastTime=0,this.setInterval();var r=this.collect.Types;this.collect.on(r.SessionResetTime,(function(){n.process()}))}},e.prototype.endCurrentSession=function(){this.collect.event("_be_active",{start_time:this.startTime,end_time:this.lastTime,url:window.location.href,referrer:window.document.referrer,title:document.title||location.pathname}),this.isSessionhasEvent=!1,this.startTime=0},e.prototype.process=function(){this.isSessionhasEvent||(this.isSessionhasEvent=!0,this.startTime=+new Date);var e=this.lastTime||+new Date;this.lastTime=+new Date,this.lastTime-e>this.sessionInterval&&(this.clearInterval(),this.endCurrentSession(),this.setInterval())},e}(),Yme=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;t.channel_domain||t.disable_track_event||t.disable_sdk_monitor||(this.collect=e,this.config=t,this.url=e.configManager.getUrl("event"),this.collect.on(e.Types.Ready,(function(){n.sdkOnload()})),this.collect.on(e.Types.SubmitError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.response;"f_data"===t&&n.sdkError(r,i,o)})),this.collect.on(e.Types.SDKInnerError,(function(e){var t=e.type,r=e.eventData,i=e.errorCode,o=e.msg;n.sdkInnerError(t,r,i,o)})))},e.prototype.sdkOnload=function(){var e=this;try{var t=this.collect.configManager.get(),n=t.header,r=t.user,i=n.app_id,o=n.app_name,a=n.sdk_version,s=r.web_id,c={events:[{event:"onload",params:PT({app_id:i,app_name:o||"",sdk_version:a,sdk_type:"npm",sdk_config:this.config,sdk_desc:"TOC",url:location.href}),local_time_ms:vR()}],user:{user_unique_id:s},header:{}};vG((function(){e.collect.requestManager.useRequest({url:e.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkError=function(e,t,n){var r=this;try{var i=e[0],o=i.user,a=i.header,s=[];qG(e).call(e,(function(e){var t;qG(t=e.events).call(t,(function(e){s.push(e)}))}));var c={events:DS(s).call(s,(function(e){return{event:"on_error",params:PT({type:"sdk_event_error",error_code:t,app_id:a.app_id,app_name:a.app_name||"",error_event:e.event,sdk_version:a.sdk_version,local_time_ms:e.local_time_ms,tea_event_index:vR(),params:e.params,header:a,user:o,err_msg:n.m||""}),local_time_ms:vR()}})),user:{user_unique_id:o.user_unique_id},header:{}};vG((function(){r.collect.requestManager.useRequest({url:r.url,data:[c],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(l){}},e.prototype.sdkInnerError=function(e,t,n,r){var i=this;try{var o=t[0],a=o.user,s=o.header,c=[];qG(t).call(t,(function(e){var t;qG(t=e.events).call(t,(function(e){c.push(e)}))}));var l={events:DS(c).call(c,(function(t){return{event:"on_error",params:PT({type:e,error_code:n,app_id:s.app_id,app_name:s.app_name||"",error_event:t.event,sdk_version:s.sdk_version,local_time_ms:t.local_time_ms,tea_event_index:vR(),params:t.params,header:s,user:a,ua:window.navigator.userAgent,err_msg:r}),local_time_ms:vR()}})),user:a,header:{}};vG((function(){i.collect.requestManager.useRequest({url:i.url,data:[l],timeout:3e4,app_key:"566f58151b0ed37e",forceXhr:!0})}),16)}catch(u){}},e}();function Jme(e,t){var n;if(1!==e.nodeType)return!1;if(!t.svg&&function(e){if("svg"===e.tagName.toLowerCase())return!0;for(var t=e.parentElement,n=!1;t;)"svg"===t.tagName.toLowerCase()?(t=null,n=!0):t=t.parentElement;return n}(e))return!1;if(bw(n=["HTML","BODY"]).call(n,e.tagName.toUpperCase()))return!1;var r=e;return!("none"===r.style.display||!Ome(r,"container",t.container_attr||"")&&!(function(e,t){for(var n=e,r=!1;n&&!Ome(n,"container",t.container_attr||"");){if("HTML"===n.nodeName||"BODY"===n.nodeName)return r;n=n.parentElement}return!0}(r,t)||function(e){if(e.children.length){var t,n=e.children;return!bS(t=mG([]).call(n)).call(t,(function(e){return e.children.length>0}))}return!0}(r)||t.svg))}var eye=function(){function e(e,t,n){var r=this;this.statistics=!1,this.pageView=!1,this.clickEvent=function(e){Jme(e.target,r.options)&&r.eventHandel({eventType:"dom",eventName:"click"},e)},this.changeEvent=function(e){r.eventHandel({eventType:"dom",eventName:"change"},e)},this.submitEvent=function(e){r.eventHandel({eventType:"dom",eventName:"submit"},e)},this.getPageViewEvent=function(e,t){t&&"pushState"===t&&r.eventHandel({eventType:"dom",eventName:"beat"},qpe({beat_type:0},e)),r.eventHandel({eventType:"dom",eventName:"page_view"},e)},this.getPageLoadEvent=function(e){r.eventHandel({eventType:"dom",eventName:"page_statistics"},{lcp:e})},this.config=n.getConfig().eventConfig,this.collect=t,this.options=e,this.beatTime=e.beat,this.domContainer=e.container||document}return e.prototype.init=function(e){this.eventHandel=e;var t=this.config.mode;this.addListener(t)},e.prototype.addListener=function(e){var t=this;if("proxy-capturing"===e){var n;if(this.config.click&&(ife(this.domContainer)?qG(n=this.domContainer).call(n,(function(e){e.addEventListener("click",t.clickEvent,!0)})):this.domContainer.addEventListener("click",this.clickEvent,!0)),this.config.pv){this.collect.on("route-change",(function(e){var n=e.config,r=e.name;t.getPageViewEvent(n,r),t.pageView=!0}));var r=vG((function(){t.pageView||(t.getPageViewEvent(t.getDefaultConfig()),t.pageView=!0,clearTimeout(r))}),2e3)}if(this.config.beat){try{"complete"===document.readyState?this.beatEvent(this.beatTime):window.addEventListener("load",(function(){t.beatEvent(t.beatTime)}));var i=0,o=null;window.addEventListener("scroll",(function(){clearTimeout(o),o=vG(a,500),i=document.documentElement.scrollTop||document.body.scrollTop}));var a=function(){(document.documentElement.scrollTop||document.body.scrollTop)==i&&t.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:1})}}catch(l){}try{var s=window.performance&&window.performance.getEntriesByType("paint");if(s&&s.length){new PerformanceObserver((function(e){var n=e.getEntries(),r=n[n.length-1],i=r.renderTime||r.loadTime;t.statistics||(t.getPageLoadEvent(i),t.statistics=!0)})).observe({entryTypes:["largest-contentful-paint"]});var c=vG((function(){t.statistics||(t.getPageLoadEvent(s[0].startTime||0),t.statistics=!0,clearTimeout(c))}),2e3)}else this.getPageLoadEvent(0)}catch(l){this.getPageLoadEvent(0)}}}},e.prototype.removeListener=function(){var e,t=this;ife(this.domContainer)?qG(e=this.domContainer).call(e,(function(e){e.removeEventListener("click",t.clickEvent,!0)})):this.domContainer.removeEventListener("click",this.clickEvent,!0)},e.prototype.beatEvent=function(e){var t=this;try{var n;this.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:3}),this.beatTime&&(n=Tw((function(){t.eventHandel({eventType:"dom",eventName:"beat"},{beat_type:2})}),e)),cfe((function(){t.eventHandel({eventType:"dom",eventName:"beat",eventSend:"becon"},{beat_type:0}),t.beatTime&&clearInterval(n)}))}catch(r){}},e.prototype.getDefaultConfig=function(){return{is_html:1,url:location.href,referrer:document.referrer,page_key:location.href,refer_page_key:document.referrer,page_title:document.title||location.pathname,page_manual_key:"",refer_page_manual_key:"",refer_page_title:"",page_path:location.pathname,page_host:location.host}},e}(),tye={eventConfig:{mode:"proxy-capturing",submit:!1,click:!0,change:!1,pv:!0,beat:!0,hashTag:!1,impr:!1},scoutConfig:{mode:"xpath"}},nye=function(){function e(e,t){this.config=e,this.config.eventConfig=zT(this.config.eventConfig,t)}return e.prototype.getConfig=function(){return this.config},e.prototype.setConfig=function(e){return this.config=e},e}();function rye(e,t,n,r){var i,o,a={},s=function(e){if(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return{left:t.left,top:t.top,element_width:n,element_height:r}}}(t=Ume(t,n)),c=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=e.clientX,r=e.clientY,i=t.left,o=t.top,a=n-i>=0?n-i:0,s=r-o>=0?r-o:0;return{touch_x:Math.floor(a),touch_y:Math.floor(s)}}(e,s),l=s.element_width,u=s.element_height,d=c.touch_x,h=c.touch_y,p=Kme(t),f=p.element_path,g=p.positions,v=(i=Ume(t,n),o=[],function e(t){var n,r,i,a,s=(a="",3===(n=t).nodeType?a=pE(r=n.textContent).call(r):n.dataset&&n.dataset.hasOwnProperty("teaTitle")||n.hasAttribute("ata-tea-title")?a=n.getAttribute("data-tea-title"):"INPUT"===n.nodeName&&bw(i=["button","submit"]).call(i,n.getAttribute("type"))?a=n.getAttribute("value"):"IMG"===n.nodeName&&n.getAttribute("alt")&&(a=n.getAttribute("alt")),mG(a).call(a,0,200));if(s&&-1===hR(o).call(o,s)&&o.push(s),t.childNodes.length>0)for(var c=t.childNodes,l=0;l<c.length;l++)8!==c[l].nodeType&&e(c[l])}(i),o),m=window.performance.timing.navigationStart,y=vR()-m,_=DS(g).call(g,(function(e){return""+e})),G=null;if(window.TEAVisualEditor&&window.TEAVisualEditor.getOriginXpath&&(G=window.TEAVisualEditor.getOriginXpath({xpath:f,positions:_})),a.element_path=G&&G.xpath||f,a.positions=G&&G.positions||_,r&&!r.text&&(a.texts=v,a.element_title=t.getAttribute("data-tea-title")||t.getAttribute("title")||function(e){if(!e)return"";var t="";try{var n,r;e.textContent?t=pE(n=e.textContent).call(n).replace(/\s+/g,","):e.innerText&&(t=pE(r=e.innerText).call(r).replace(/\s+/g,",")),"input"!==e.tagName&&"INPUT"!==e.tagName||(t=e.value||"")}finally{return t}}(t)),a.element_id=t.getAttribute("id")||"",a.element_class_name=t.getAttribute("class")||"",a.element_type=t.nodeType,a.element_width=Math.floor(l),a.element_height=Math.floor(u),a.touch_x=d,a.touch_y=h,a.page_manual_key="",a.elememt_manual_key="",a.since_page_start_ms=y,a.page_start_ms=m,a.page_path=location.pathname,a.page_host=location.host,n.track_attr&&Lme(t,n.track_attr)){var R=jme(t,n.track_attr);for(var b in R)a[b]=R[b]}if(n.custom_attr)try{if(Lme(t,n.custom_attr)){R=jme(t,n.custom_attr),b=decodeURIComponent(R[n.custom_attr]);var T=JSON.parse(b);if(jG(T))for(var w in T)a[w]=T[w]}}catch(M){console.log("custom attr error")}var S=Ume(t,n);return"A"===S.tagName&&(a.href=S.getAttribute("href")),"IMG"===t.tagName&&(a.src=t.getAttribute("src")),a}var iye=function(e,t,n,r,i){return qpe(qpe({event:e},rye(t,n,r,i)),{is_html:1,page_key:window.location.href,page_title:document.title})},oye=function(){function e(e,t){this.ignore={text:!1},this.initConfig=e,this.options=t,this.eventName=t&&"tea"===t.custom?{click:"__bav_click",page:"__bav_page",beat:"__bav_beat",static:"__bav_page_statistics",exposure:"__bav_page_exposure",scroll:"__bav_slide"}:{click:"bav2b_click",page:"bav2b_page",beat:"bav2b_beat",static:"bav2b_page_statistics",exposure:"bav2b_exposure",scroll:"$bav2b_slide"},t&&!1===t.text&&(this.ignore.text=!0),t&&t.exposure&&t.exposure.eventName&&(this.eventName.exposure=t.exposure.eventName)}return e.prototype.handleEvent=function(e,t){try{if(Bme(e.target))return null;var n="bav2b_click";switch(t){case"click":return n=e.target.getAttribute("data-applog-click-event")||this.eventName.click||"",iye(n,e,e.target,this.options,this.ignore);case"exposure":return n=e.target.getAttribute("data-applog-exposure-event")||this.eventName.exposure||"",iye(n,e,e.target||e,this.options,this.ignore);case"change":return qpe(qpe({},iye(n="bav2b_change",e,e.target,this.options)),function(e,t){try{if("bav2b_change"===e)return t.hasAttribute("data-tea-track")?{value:t.value}:{}}catch(n){return{}}}(n,e.target));case"submit":return iye(n="bav2b_submit",e,e.target,this.options)}}catch(ZO){return console.error(ZO),null}},e.prototype.handleViewEvent=function(e){e.event=this.eventName.page,e.page_title=document.title,e.page_total_width=window.innerWidth,e.page_total_height=window.innerHeight;try{var t=window.sessionStorage.getItem("_tea_cache_duration");if(t){var n=JSON.parse(t);e.refer_page_duration_ms=n?n.duration:""}e.scroll_width=document.documentElement.scrollLeft?document.documentElement.scrollLeft+window.innerWidth:window.innerWidth,e.scroll_height=document.documentElement.scrollTop?document.documentElement.scrollTop+window.innerHeight:window.innerHeight,e.page_start_ms=window.performance.timing.navigationStart}catch(r){console.log("page event error "+PT(r))}return e},e.prototype.handleStatisticsEvent=function(e){var t={};t.event=this.eventName.static,t.is_html=1,t.page_key=location.href,t.refer_page_key=document.referrer||"",t.page_title=document.title,t.page_manual_key=this.initConfig.autotrack.page_manual_key||"",t.refer_page_manual_key="";try{var n=e.lcp,r=window.performance.timing,i=r.loadEventEnd-r.navigationStart;t.page_init_cost_ms=Y_(n||(i>0?i:0)),t.page_start_ms=r.navigationStart}catch(o){console.log("page_statistics event error "+PT(o))}return t},e.prototype.handleBeadtEvent=function(e){e.event=this.eventName.beat,e.page_key=window.location.href,e.is_html=1,e.page_title=document.title,e.page_manual_key=this.initConfig.autotrack.page_manual_key||"";try{e.page_viewport_width=window.innerWidth,e.page_viewport_height=window.innerHeight,e.page_total_width=document.documentElement.scrollWidth,e.page_total_height=document.documentElement.scrollHeight,e.scroll_width=document.documentElement.scrollLeft+window.innerWidth,e.scroll_height=document.documentElement.scrollTop+window.innerHeight,e.since_page_start_ms=vR()-window.performance.timing.navigationStart,e.page_start_ms=window.performance.timing.navigationStart}catch(t){console.log("beat event error "+PT(t))}return e},e.prototype.handleExposureEvent=function(e,t){if(Bme(t.target))return null;var n=iye(e.event||this.eventName.exposure,t,t.target||t,this.options,this.ignore);if(n.$exposure_type=e.exposureType,this.options.exposure.callback){var r=this.options.exposure.callback(n);return r||jG(r).length?r:(console.warn("exposure callback must return data!"),n)}return n},e.prototype.handleScrollEvent=function(e,t){var n=iye(e.event||this.eventName.scroll,t,t.target||t,this.options,this.ignore);if(n=zT(n,e.params),!this.options.scroll.callback||(n=this.options.scroll.callback(n))||jG(n).length)return n;console.warn("scroll callback must return data!")},e}(),aye=function(){function e(e){this.collect=e,this.eventNameList=["report_click_event","report_change_event","report_submit_event","report_exposure_event","report_page_view_event","report_page_statistics_event","report_beat_event"]}return e.prototype.send=function(e,t){var n=t.event;delete t.event,e&&"becon"===e.eventSend?this.collect.beconEvent(n,t):this.collect.event(n,t)},e.prototype.get=function(e,t){var n=zT({headers:{"content-type":"application/json"},method:"GET"},t);fetch(e,n)},e.prototype.post=function(e,t){var n=zT({headers:{"content-type":"application/json"},method:"POST"},t);fetch(e,n)},e}(),sye={},cye=[];function lye(e,t,n,r){var i=e&&e.source||window.opener||window.parent,o=e&&e.origin||r||"*",a={type:t,payload:n};i.postMessage(PT(a),o)}function uye(e){if(bS(cye).call(cye,(function(e){return"*"===e}))||bS(cye).call(cye,(function(t){var n;return hR(n=e.origin).call(n,t)>-1}))){var t,n=e.data;if("string"==typeof e.data)try{n=JSON.parse(e.data)}catch(o){n=void 0}if(!n)return;var r=n.type,i=n.payload;sye[r]&&qG(t=sye[r]).call(t,(function(t){"function"==typeof t&&t(e,i)}))}}var dye=!1;function hye(e,t){window.TEAVisualEditor=window.TEAVisualEditor||{},window.TEAVisualEditor.appId=t.app_id;var n,r=t.channel_domain,i="";if(function(e){e.length&&qG(e).call(e,(function(e){cye.push(e)}))}(["*"]),r){var o,a="";try{var s=window.performance.getEntriesByType("resource");if(s&&s.length&&(qG(s).call(s,(function(e){var t;"script"===e.initiatorType&&e.name&&-1!==hR(t=e.name).call(t,"collect")&&(a=e.name)})),a&&(o=a.split("/"))&&o.length)){i="https:/";for(var c=2;c<o.length&&c!==o.length-1;c++)i=i+"/"+o[c];if(i&&hR(i).call(i,"/5.0")){var l=i.split("/5.0");i=l[0]||i}}}catch(n){}}!function(e,t){var n={};if(jG(e).length)for(var r in e){if("filter"===r||"autotrack"===r||"enable_stay_duration"===r)break;n[r]=e[r]}var i=e.domain;(window.opener||window.parent).postMessage({type:"tea:sdk:info",config:n,version:t},i),window.addEventListener("message",uye,!1)}(t,Tfe);try{sye[n="tea:openHeatMapCore"]=sye[n]||[],sye[n].push((function(n){var r=wfe,i=n.data.app_id;i&&i!==t.app_id||function(e){var t=e.event,n=e.editorUrl,r=e.autoTrackInstance;dye||(dye=!0,function(e,t,n){var r=document.createElement("script");r.src=e,r.onerror=function(){n(e)},r.onload=function(){t()},document.getElementsByTagName("head")[0].appendChild(r)}(n,(function(){lye(t,"editorScriptloadSuccess"),r.destroy()}),(function(){t&&lye(t,"editorScriptloadError"),dye=!1})))}({event:n,editorUrl:r+".js?query="+vR(),autoTrackInstance:e})}))}catch(n){console.log("openHeatMapCore error")}}var pye,fye=function(){function e(e,t){this._instance=null,this._intersection=e,this.config=t,this._intersection&&this.init()}return e.prototype.init=function(){var e=this;if(window.MutationObserver)try{if(this._instance=new MutationObserver((function(t){qG(t).call(t,(function(t){"attributes"===t.type&&e.attributeChangeObserve(t),"childList"===t.type&&e.modifyNodeObserve(t)}))})),!document||!document.body)return void console.warn("please use sdk api init after body element");var t=!1!==this.config.autotrack.exposure.attributes;this._instance.observe(document.body,{childList:!0,attributes:t,subtree:!0,attributeOldValue:!1})}catch(n){console.log("your browser cannot support MutationObserver,so cannot report exposure event, please update")}else console.log("your browser cannot support MutationObserver,so cannot report exposure event, please update")},e.prototype.attributeChangeObserve=function(e){e.target.hasAttribute("data-exposure")?this.exposureAdd(e,"mutation"):this.exposureRemove(e)},e.prototype.modifyNodeObserve=function(e){var t=this;qG(Array.prototype).call(e.addedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-exposure")&&t.exposureAdd(e,"intersect"),t.mapChild(e,z_(n=t.exposureAdd).call(n,t))})),qG(Array.prototype).call(e.removedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-exposure")&&t.exposureRemove(e),t.mapChild(e,z_(n=t.exposureRemove).call(n,t))}))},e.prototype.mapChild=function(e,t){var n=this;1===e.nodeType&&e.children.length&&qG(Array.prototype).call(e.children,(function(e){1===e.nodeType&&e.hasAttribute("data-exposure")&&t(e),n.mapChild(e,t)}))},e.prototype.exposureAdd=function(e,t){try{this._intersection&&this._intersection.exposureAdd(e,t)}catch(n){console.log("intersection error",PT(n.message))}},e.prototype.exposureRemove=function(e){try{this._intersection&&this._intersection.exposureRemove(e)}catch(t){console.log("intersection error",PT(t.message))}},e._exposure_observer=null,e}();!function(e){e[e.EXPOSURE_ONCE=0]="EXPOSURE_ONCE",e[e.LIFECYCLE_SHOW_NEW=3]="LIFECYCLE_SHOW_NEW",e[e.RESUME_FORM_PAGE=6]="RESUME_FORM_PAGE",e[e.RESUME_FORM_BACK=7]="RESUME_FORM_BACK",e[e.NOT_EXPOSURE=-1]="NOT_EXPOSURE"}(pye||(pye={}));var gye,vye=function(){function e(t,n,r){var i=this;this.backStatus=!1,this.instance=this.buildObserver(),this.collect=t,this.observeMap=e._observer_map,n.autotrack.exposure.ratio?this.ratio=n.autotrack.exposure.ratio:0===n.autotrack.exposure.ratio?this.ratio=0:this.ratio=.5,this.timeLimit=n.autotrack.exposure.stay||0,this.exposureType=pye.NOT_EXPOSURE,this.eventHandle=r,this.hashMap=new VO,this.backStatus=!1,this.lastState=null,this.collect.on("re-start-sdk",(function(){i.visibilitychange()})),this.addListen()}return e.prototype.buildObserver=function(){var t=this;if(e._observer_instance)return console.log("your browser cannot support IntersectionObserver, so cannot report exposure event, please update"),null;if(window.IntersectionObserver){for(var n=[],r=0;r<=1;r+=.01)n.push(r);n.push(1);try{e._observer_instance=new IntersectionObserver((function(e){qG(e).call(e,(function(e){var n=e.target.observeId,r=t.observeMap.get(n),i=(e.target,e.isIntersecting,e.intersectionRatio);if(r.intersectionRatio=i,i<=.1&&(e.target.backStatus=!1),t.observeMap.set(n,r),i<t.ratio)return r.isIntersecting=!1,r.added=!1,r.exposured=!1,r.startTime=vR(),void t.observeMap.set(n,r);if(!r.added){if(r.startTime=vR(),r.added=!0,r.isIntersecting=!0,t.timeLimit){var o=vG((function(){try{if(r.isIntersecting&&!r.exposured&&t.observeMap.get(n)){var i=t.observeMap.get(n).intersectionRatio;t.exposureEvent(e,i,n,r)}}catch(o){console.log("IntersectionObserver setTimeout error,msg: "+PT(o))}}),t.timeLimit);r.wait=o}t.observeMap.set(n,r)}vR()-r.startTime>=t.timeLimit&&!r.exposured&&t.exposureEvent(e,i,n,r)}))}),{threshold:n})}catch(i){console.log("IntersectionObserver error,msg: "+PT(i))}return e._observer_instance}return console.log("your browser cannot support IntersectionObserver, so cannot report exposure event, please update"),null},e.prototype.exposureAdd=function(e,t){var n="mutation"===t?e.target:e,r=n.observeId,i=Cfe();if(r||this.observeMap.has(r)){var o=this.observeMap.get(r);if(o&&n!==o.instance)this.unobserve(n),this.observeMap.delete(r),n.observeId=i,n.visible=!1,this.observeMap.set(i,{instance:n.cloneNode(!0),isIntersecting:!1}),this.observe(n);else{if(!0===n.visible)return;this.handleBoundingExposure(n)}}else n.observeId=i,n.visible=!1,this.observeMap.set(i,{instance:n.cloneNode(!0),isIntersecting:!1}),this.observe(n)},e.prototype.exposureRemove=function(e){this.observeMap.has(e.observeId)&&(this.observeMap.delete(e.observeId),this.unobserve(e),e.observeId="",e.visible=!1)},e.prototype.exposureEvent=function(e,t,n,r){if(t>=this.ratio){if("0"===e.target.style.opacity||"hidden"===e.target.style.visibility)return;if(!0===r.exposured)return;r.startWait&&clearTimeout(r.startWait);var i=e.target.getAttribute("data-exposure-event");this.eventHandle({eventType:"dom",eventName:"exposure",event:i,exposureType:this.getExposureType(e.target)},e),e.target.visible=!0,e.target.hasExposure=!0,r.startTime=vR(),r.exposured=!0}else r.startTime=vR(),r.exposured=!1;this.observeMap.set(n,r)},e.prototype.observe=function(e){this.instance&&this.instance.observe(e)},e.prototype.unobserve=function(e){this.instance&&this.instance.unobserve(e)},e.prototype.getExposureDomToExposure=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-exposure]"),(function(t){e.handleBoundingExposure(t)}))},e.prototype.visibilitychange=function(){var e=this,t=null;"visible"===document.visibilityState?this.timeLimit?t=vG((function(){e.getExposureDomToExposure()}),this.timeLimit):this.getExposureDomToExposure():(clearTimeout(t),this.customType=void 0)},e.prototype.handleBoundingExposure=function(e){if(this.getBoundingRatio(e)>=this.ratio){e.visible=!0;var t=e.getAttribute&&e.getAttribute("data-exposure-event");this.eventHandle({eventType:"dom",eventName:"exposure",event:t,exposureType:this.customType||pye.RESUME_FORM_BACK},e)}},e.prototype.getBoundingRatio=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,i=t.width,o=t.height,a=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight;return n>=0&&r>=0&&n<=s&&r<=a?(i>a?a:i)*(s-n)/(i*o):0},e.prototype.getExposureType=function(e){return e.visible?!1!==e.backStatus&&(this.backStatus||this.customType||2===window.performance.navigation.type)?this.exposureType=pye.RESUME_FORM_PAGE:this.exposureType=pye.LIFECYCLE_SHOW_NEW:(e.hasExposure,!1!==e.backStatus&&(this.backStatus||this.customType||2===window.performance.navigation.type)?this.exposureType=pye.RESUME_FORM_PAGE:this.exposureType=pye.EXPOSURE_ONCE),this.exposureType},e.prototype.addListen=function(){var e,t=this;this.collect.on("set-exposure-type",(function(e){t.customType=e}));var n,r,i,o=z_(e=this.visibilitychange).call(e,this);if(n=document,r="visibilitychange",i=o,!1,n.addEventListener?n.addEventListener(r,i,false):n.attachEven?n.attachEven("on"+r,i):n["on"+r]=i,window.addEventListener("hashchange",(function(e){var n=t.hashMap.get(e.oldURL);n&&location.href===n.prev?(t.backStatus=!0,t.exposureType=pye.RESUME_FORM_PAGE):(t.backStatus=!1,t.hashMap.set(location.href,{current:e.newURL,prev:e.oldURL}))})),this.collect.bridgeReport){var a=window.history.pushState;history.pushState=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];"function"==typeof history.onpushstate&&history.onpushstate({state:e});var i=a.call.apply(a,$pe([history,e],n));return t.lastState=e,i};var s=history.replaceState;history.replaceState=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];"function"==typeof history.onreplacestate&&history.onreplacestate({state:e});var i=s.call.apply(s,$pe([history,e],n));return t.lastState=e,i}}else this.collect.on("STATE_CHANGE",(function(e){t.lastState=e}));return window.addEventListener("popstate",(function(e){var n=e.state;n&&n.current&&t.lastState&&t.lastState.back&&n.current===t.lastState.back?(t.backStatus=!0,t.exposureType=pye.RESUME_FORM_PAGE):t.backStatus=!1})),function(){!function(e,t,n,r){e.addEventListener?e.removeEventListener(t,n,!1):e.attachEven&&e.detachEven("on"+t,n)}(document,"visibilitychange",o)}},e._observer_instance=null,e._observer_map=new VO,e}(),mye=function(){function e(e,t,n){t.autotrack&&t.autotrack.exposure&&(this._intersection=new vye(e,t,n),this._observer=new fye(this._intersection,t),this._intersection&&this._observer?this.initObserver():console.log("your browser version cannot support exposure event, please update~"))}return e.prototype.initObserver=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-exposure]"),(function(t){e._intersection.exposureAdd(t,"intersect")}))},e}();!function(e){e[e.SCROLL_UP=1]="SCROLL_UP",e[e.SCROLL_DOWN=2]="SCROLL_DOWN",e[e.SCROLL_LEFT=3]="SCROLL_LEFT",e[e.SCROLL_RIGHT=4]="SCROLL_RIGHT",e[e.NOT_SCROLL=-1]="NOT_SCROLL"}(gye||(gye={}));var yye,_ye=function(){function e(e,t){this.distance=30,e.autotrack&&e.autotrack.scroll&&(e.autotrack.scroll.distance&&(this.distance=e.autotrack.scroll.distance),this.eventHandle=t,this.addLinstenr(),this.mutation())}return e.prototype.addLinstenr=function(){var e=this;qG(Array.prototype).call(document.querySelectorAll("[data-scroll]"),(function(t){e.scrollHandle(t)}))},e.prototype.mutation=function(){var e=this;if(window.MutationObserver)try{var t=new MutationObserver((function(t){qG(t).call(t,(function(t){"childList"===t.type&&e.modifyNodeObserve(t)}))}));if(!document||!document.body)return void console.warn("please use sdk api init after body element");t.observe(document.body,{childList:!0,attributes:!0,subtree:!0,attributeOldValue:!1})}catch(n){console.log("your browser cannot support MutationObserver")}else console.log("your browser cannot support MutationObserver")},e.prototype.modifyNodeObserve=function(e){var t=this;qG(Array.prototype).call(e.addedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-scroll")&&t.scrollHandle(e),t.mapChild(e,z_(n=t.scrollHandle).call(n,t))})),qG(Array.prototype).call(e.removedNodes,(function(e){var n;1===e.nodeType&&e.hasAttribute("data-scroll")&&t.scrollHandle(e,"remove"),t.mapChild(e,z_(n=t.scrollHandle).call(n,t))}))},e.prototype.mapChild=function(e,t){var n=this;1===e.nodeType&&e.children.length&&qG(Array.prototype).call(e.children,(function(e){1===e.nodeType&&e.hasAttribute("data-scroll")&&t(e),n.mapChild(e,t)}))},e.prototype.scrollHandle=function(e,t){var n=this;try{var r=e.scrollTop,i=e.scrollLeft,o=null,a=0,s=0,c=function(t){clearTimeout(o),o=vG((function(){var o=e.scrollTop,d=e.scrollLeft,h=t.target&&t.target.getAttribute("data-scroll-event")||"";1===u||2===u?o===c&&(s=c-r,Math.abs(s)>=n.distance&&n.distance&&n.eventHandle({eventType:"dom",eventName:"scroll",event:h,params:{$direction:u,$offsetY:s,$offsetX:a}},t)):3!==u&&4!==u||d===l&&(a=l-i,Math.abs(a)>=n.distance&&n.distance&&n.eventHandle({eventType:"dom",eventName:"scroll",event:h,params:{$direction:u,$offsetY:s,$offsetX:a}},t)),r=c,i=l}),100);var c=e.scrollTop,l=e.scrollLeft,u=gye.NOT_SCROLL;c>r?u=gye.SCROLL_DOWN:c<r?u=gye.SCROLL_UP:l>i?u=gye.SCROLL_LEFT:l<i&&(u=gye.SCROLL_RIGHT)};return"remove"===t?e.removeEventListener("scroll",c,!1):e.addEventListener("scroll",c,!1),function(){e.removeEventListener("scroll",c,!1)}}catch(l){console.warn("scroll event error",PT(l))}},e}(),Gye={hashTag:!1,impr:!1},Rye=function(){function e(){}return e.prototype.apply=function(e,t){if(this.autoTrackStart=!1,this.collect=e,this.config=t,t.autotrack){var n=e.Types;this.ready(n.Autotrack),this.collect.emit(n.AutotrackReady)}},e.prototype.ready=function(e){var t,n;this.collect.set(e);var r=this.config.autotrack;r="object"==Wd(r)?r:{},r=zT(Gye,r),this.destroyed=!1,this.options=r,this.Config=new nye(tye,this.options),this.Exposure=new mye(this.collect,this.config,z_(t=this.handle).call(t,this)),this.Scroll=new _ye(this.config,z_(n=this.handle).call(n,this)),this.Listener=new eye(r,this.collect,this.Config),this.EventHandle=new oye(this.config,r),this.Request=new aye(this.collect),this.autoTrackStart=!0,this.init(),hye(this,this.config)},e.prototype.init=function(){var e;this.Listener.init(z_(e=this.handle).call(e,this));try{"base"===this.collect.loadType&&(window.opener||window.parent).postMessage("[tea-sdk]ready","*")}catch(t){}},e.prototype.handle=function(e,t){try{if(this.config.autotrack.collect_url&&!this.config.autotrack.collect_url())return}catch(n){}"dom"===e.eventType&&this.handleDom(e,t)},e.prototype.handleDom=function(e,t){try{var n=e.eventName;if("click"===n||"change"===n||"submit"===n)(a=this.EventHandle.handleEvent(t,n))&&this.Request.send({eventType:"custom"},a);else if("page_view"===n||"page_statistics"===n){var r;(r="page_view"===n?this.EventHandle.handleViewEvent(t):this.EventHandle.handleStatisticsEvent(t))&&this.Request.send({eventType:"custom"},r)}else if("beat"===n){var i=this.EventHandle.handleBeadtEvent(t),o=e.eventSend;i&&this.Request.send({eventType:"custom",eventSend:o},i)}else if("exposure"===n)(a=this.EventHandle.handleExposureEvent(e,t))&&this.Request.send({eventType:"custom"},a);else if("scroll"===n){var a;(a=this.EventHandle.handleScrollEvent(e,t))&&this.Request.send({eventType:"custom"},a)}}catch(s){console.log("handel dom event error "+PT(s))}},e.prototype.destroy=function(){if(!this.autoTrackStart)return console.warn("engine is undefined, make sure you have called autoTrack.start()");this.autoTrackStart=!1,this.Listener.removeListener()},e}();!function(e){e.Net="net",e.FailNet="f_net",e.FailData="f_data"}(yye||(yye={}));var bye={pv:["predefine_pageview"],sdk:["_be_active","predefine_page_alive","predefine_page_close","__profile_set","__profile_set_once","__profile_increment","__profile_unset","__profile_append"],autotrack:["bav2b_click","bav2b_page","bav2b_beat","bav2b_page_statistics","__bav_click","__bav_page","__bav_beat","__bav_page_statistics"]},Tye=function(){function e(){}return e.prototype.apply=function(e,t){var n=this;if(t.app_id&&t.enable_tracer&&!t.disable_track_event){this.limit={pv:1,sdk:3,autotrack:3,log:3},this.errorCode={f_net:0,f_data:0},this.tracerCache=new VO,this.collect=e,this.appid=t.app_id,this.reportUrl=e.configManager.getUrl("event");var r=this.collect.Types;this.collect.on(r.Event,(function(){n.addCount("log")})),this.collect.on(r.SubmitError,(function(e){var t=e.type,r=e.eventDate,i=e.errorCode,o=e.response;n.addErrorCount(r,t,i,o)})),this.listener(),this.collect.emit(r.TracerReady)}},e.prototype.addCount=function(e,t,n){void 0===t&&(t="net"),void 0===n&&(n=1);try{this.tracerCache||(this.tracerCache=new VO);var r=void 0;if(this.tracerCache.has(e))(i=this.tracerCache.get(e)).has(t)?(r=i.get(t).params.count,r++,i.set(t,this.processTracer(r,e,t))):(r=n,i.set(t,this.processTracer(n,e,t)));else{var i=new VO;r=n,i.set(t,this.processTracer(n,e,t)),this.tracerCache.set(e,i)}"net"===t&&r>=this.limit[e]&&this.report(!1)}catch(o){console.log(o)}},e.prototype.addErrorCount=function(e,t,n,r){var i=this;try{if(e&&e.length){var o=e[0].events;o&&o.length&&("f_data"===t?(r&&r.hasOwnProperty("sc")?this.addCount("log",t,o.length-r.sc):this.addCount("log",t,o.length),this.errorCode[t]=n):qG(o).call(o,(function(e){var r="log";for(var o in bye){var a;if(-1!==hR(a=bye[o]).call(a,e.event)){r=o;break}}i.addCount(r,t,1),i.errorCode[t]=n})))}}catch(a){}},e.prototype.report=function(e){if(this.tracerCache){var t,n=[];qG(t=this.tracerCache).call(t,(function(e){console.log(e),qG(e).call(e,(function(e){n.push(e)}))})),n&&n.length&&this.sendTracer(n,e)}},e.prototype.sendTracer=function(e,t){try{var n=this.collect.eventManager.merge(e);this.collect.requestManager.useRequest({url:this.reportUrl,data:n,useBeacon:t}),this.tracerCache=null}catch(r){}},e.prototype.processTracer=function(e,t,n){var r={count:e,state:n,key:t,params_for_special:"applog_trace",aid:this.appid,platform:"web",_staging_flag:1,sdk_version:Tfe};"f_net"!==n&&"f_data"!==n||(r.errorCode=this.errorCode[n]);var i=this.collect.processEvent("applog_trace",r);if(i&&i.event)return delete i.is_bav,i},e.prototype.listener=function(){var e=this;document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e.leavePage()})),cfe((function(){e.leavePage()}))},e.prototype.leavePage=function(){this.report(!0)},e}(),wye=function(){function e(){this.retryWaitTime=3e3,this.retryStatus=!1,this.retryCacheStatus=!1}return e.prototype.apply=function(e,t){var n=this;if(t.enable_storage&&!t.disable_storage&&(this.collect=e,this.config=t,!this.collect.destroy)){var r=e.Types,i=e.adapters.storage;this.storage=new i(!1),this.eventUrl=this.collect.configManager.getUrl("event"),this.eventKey="__tea_cache_events_"+t.app_id,this.storageNum=t.storage_num||50,this.retryNum=t.retry_num||3,this.retryInterval=1e3,e.on(r.SubmitError,(function(e){"f_data"!==e.type&&n.storeData(e)})),e.on(r.Ready,(function(){n.checkStorage()}))}},e.prototype.retryRightNow=function(e){var t=this;if(this.retryStatus)this.errorCache.push(e);else{var n=0;this.retryStatus=!0;var r=Tw((function(){if(3===n)return t.storeData(t.errorCache),t.retryStatus=!1,void clearInterval(r);var i=e.eventData;t.fetchData(i,(function(){var e;t.retryStatus=!1,clearInterval(r),t.retryCacheStatus&&sM(e=t.errorCache).call(e,0,1),t.errorCache.length&&(t.retryCacheStatus=!0,t.retryRightNow(t.errorCache[0]))}),(function(){n++}))}),this.retryInterval)}},e.prototype.storeData=function(e){var t=this.storage.getItem(this.eventKey),n=e.eventData;jG(t).length!==this.storageNum&&(t[vR()]=n,this.storage.setItem(this.eventKey,t))},e.prototype.checkStorage=function(){var e=this;try{if(!window.navigator.onLine)return;var t=this.storage.getItem(this.eventKey);if(!t||!jG(t).length)return;var n={events:[{event:"ontest",params:{app_id:this.config.app_id},local_time_ms:vR()}],user:{user_unique_id:this.collect.configManager.get("web_id")},header:{}};this.fetchData([n],(function(){var n=JSON.parse(PT(t)),r=function(r){e.fetchData(t[r],(function(){delete n[r],e.storage.setItem(e.eventKey,n)}),(function(){}),!1)};for(var i in t)r(i)}),(function(){console.log("network error,compensate report fail")}),!0)}catch(r){console.warn("error check storage")}},e.prototype.fetchData=function(e,t,n,r){this.collect.requestManager.useRequest({url:this.eventUrl,data:e,timeout:3e4,success:t,fail:n,app_key:r?"566f58151b0ed37e":""})},e}(),Sye="undefined"!=typeof window?(window.LogPluginObject||(window.LogPluginObject={}),window.LogPluginObject):null,Mye=function(){function e(){}return e.prototype.apply=function(e,t){this._plugin={},this.config=t,this.collect=e,this.channel=t.channel||"cn",this.loadExtend()},e.prototype.loadExtend=function(){var e=this;try{var t;qG(t=this.collect.remotePlugin).call(t,(function(t,n){if("sdk"===t)if(Pme.hasOwnProperty(n)){var r=Pme[n].object,i=Pme[n].src[e.channel]+"?query="+vR();e.exist(n,r,i)}else console.warn("your "+n+" is not exist,please check plugin name");else"object"==Wd(t)&&(t.src?e.exist(n,t.call,t.src):e.process(n,t.instance,"INSTANCE"))}))}catch(n){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:n.message}),console.log("load extend error")}},e.prototype.exist=function(e,t,n){var r=this;Sye[t]?(this.process(e,Sye[t]),console.log("已有"+e+"插件,避免重复加载~")):this.loadPlugin(e,n,(function(){r.process(e,Sye[t]),console.log(" %c %s %s %s","color: yellow; background-color: black;","–","load plugin:"+e+" success","-")}),(function(){console.log(" %c %s %s %s","color: red; background-color: yellow;","–","load plugin:"+e+" error","-")}))},e.prototype.process=function(e,t,n){try{if(n){var r=new t;r.apply&&r.apply(this.collect,this.config),console.log("excude "+e+" success")}else t&&t(this.collect,this.config)}catch(i){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:i.message}),console.log("excude "+e+" error, message:"+i.message)}},e.prototype.loadPlugin=function(e,t,n,r){var i=this;try{var o=document.createElement("script");o.src=t,this._plugin[e]||(this._plugin[e]=[]),this._plugin[e].push(n),o.onerror=function(){r(t)},o.onload=function(){var t;qG(t=i._plugin[e]).call(t,(function(e){e()}))},document.getElementsByTagName("head")[0].appendChild(o)}catch(a){this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:a.message})}},e}(),Eye=function(){function e(){this.autotrack=!1,this.spa=!1,this.cache={},this.allowHash=!1}return e.prototype.apply=function(e,t){if(t.spa||t.autotrack){var n=e.Types;this.collect=e,this.config=t,this.appid=t.app_id,this.allowHash=t.allow_hash,this.fncArray=new VO,this.setKey(),this.setLocation(),this.hack(),this.init(),this.listener(),e.emit(n.RouteReady)}},e.prototype.setKey=function(){var e=this.collect.adapters.storage;this.storage=new e(!1),this.cache_key="__tea_cache_refer_"+this.appid,this.cache={refer_key:"",refer_title:document.title||location.pathname,refer_manual_key:"",routeChange:!1},this.config.autotrack&&"object"==Wd(this.config.autotrack)&&this.config.autotrack.page_manual_key&&(this.cache.refer_manual_key=this.config.autotrack.page_manual_key),this.storage.setItem(this.cache_key,this.cache)},e.prototype.hack=function(){var e=this,t=window.history.pushState;history.pushState=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];"function"==typeof history.onpushstate&&history.onpushstate({state:n});var o=t.call.apply(t,$pe([history,n],r));if(e.collect.sdkStop||e.collect.destroy)return o;if(!(e.lastLocation===location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation);var a=e.getPopStateChangeEventData();return e.lastLocation=location.href,e.sendPv(a,"pushState"),o}};var n=history.replaceState;history.replaceState=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];"function"==typeof history.onreplacestate&&history.onreplacestate({state:t});var o=n.call.apply(n,$pe([history,t],r));if(e.collect.sdkStop||e.collect.destroy)return o;if(!(e.lastLocation===location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation);var a=e.getPopStateChangeEventData();return e.lastLocation=location.href,e.sendPv(a),o}}},e.prototype.setLocation=function(){"undefined"!=typeof window&&(this.lastLocation=window.location.href)},e.prototype.getLocation=function(){return this.lastLocation},e.prototype.pathEquel=function(){try{return new bk(this.lastLocation).origin+new bk(this.lastLocation).pathname===new bk(location.href).origin+new bk(location.href).pathname}catch(e){return!1}},e.prototype.init=function(){var e=this.getPopStateChangeEventData();this.collect.emit("route-change",{config:e,init:!0})},e.prototype.listener=function(){var e=this;window.addEventListener("hashchange",(function(t){if(!e.collect.sdkStop&&!e.collect.destroy&&e.lastLocation!==window.location.href&&(!e.config.disable_spa_query||!e.pathEquel())&&e.allowHash){e.setReferCache(e.lastLocation),e.lastLocation=window.location.href;var n=e.getPopStateChangeEventData();e.sendPv(n)}})),window.addEventListener("popstate",(function(t){if(!e.collect.sdkStop&&!e.collect.destroy&&!(e.lastLocation===window.location.href||e.config.disable_spa_query&&e.pathEquel())){e.setReferCache(e.lastLocation),e.lastLocation=window.location.href;var n=e.getPopStateChangeEventData();e.sendPv(n)}}))},e.prototype.getPopStateChangeEventData=function(){var e=this.pageConfig();return e.is_back=0,e},e.prototype.pageConfig=function(){try{var e,t=this.storage.getItem(this.cache_key)||{},n=this.storage.getItem("__tea_cache_first_"+this.appid);return e=!n||1!=n,{is_html:1,url:location.href,referrer:this.handleRefer(),page_key:location.href,refer_page_key:this.handleRefer(),page_title:document.title||location.pathname,page_manual_key:this.config.autotrack&&this.config.autotrack.page_manual_key||"",refer_page_manual_key:t&&t.refer_manual_key||"",refer_page_title:t&&t.refer_title||"",page_path:location.pathname,page_host:location.host,is_first_time:""+e}}catch(r){return this.collect.emit(tfe.DEBUGGER_MESSAGE,{type:tfe.DEBUGGER_MESSAGE_SDK,info:"发生了异常",level:"error",time:vR(),data:r.message}),{}}},e.prototype.sendPv=function(e,t){this.collect.emit("route-change",{config:e,init:!1})},e.prototype.handleRefer=function(){var e="";try{var t=this.storage.getItem(this.cache_key)||{};e=t.routeChange?t.refer_key:this.collect.configManager.get("referrer")}catch(n){e=document.referrer}return e},e.prototype.setReferCache=function(e){var t=this.storage.getItem(this.cache_key)||{};t.refer_key=e,t.routeChange=!0,this.storage.setItem(this.cache_key,t)},e}();xme.usePlugin(Mye,"extend"),xme.usePlugin(Hme,"ab"),xme.usePlugin(qme,"stay"),xme.usePlugin(Rye,"autotrack"),xme.usePlugin(Cme,"et"),xme.usePlugin(Zme,"profile"),xme.usePlugin(wye,"retry"),xme.usePlugin($me,"heartbeat"),xme.usePlugin(Yme,"monitor"),xme.usePlugin(Eye,"route"),xme.usePlugin(Tye,"tracer"),new xme("default");var Dye,zye=xme,kye=function(e){return e.H265="h265",e.PRELOAD="preload",e.ADAPT_RANGE="adaptRange",e.RTM_ADAPTIVE_BUFFER="rtmAdaptiveBuffer",e}(kye||{}),Aye=function(){function e(t){Zm(this,e),Yd(this,"_strategyManager",void 0),this._strategyManager=t}return Ym(e,[{key:"getResult",value:function(){var e,t,n=null===(e=this._strategyManager.getStrategyRecommendations().result)||void 0===e?void 0:e[kye.RTM_ADAPTIVE_BUFFER];return this._strategyManager.tea.config({evtParams:eh({},n)}),null===(t=this._strategyManager.getStrategyRecommendations().result)||void 0===t?void 0:t[kye.RTM_ADAPTIVE_BUFFER]}}]),e}();Yd(Aye,"strategyKey",kye.RTM_ADAPTIVE_BUFFER);var Fye,Pye=window.VePlayer.DynamicModule,Iye=window.VePlayer.load,xye=(Yd(Dye={},kye.RTM_ADAPTIVE_BUFFER,{moduleName:Pye.StrategyRtmAdaptiveBuffer,getModule:function(e){return null==e?void 0:e.VeStrategyRtmAdaptiveBuffer}}),Yd(Dye,"vestrategy",{moduleName:Pye.StrategyBase,getModule:function(e){return null==e?void 0:e.VeStrategy}}),Dye),Xye=function(){function e(){Zm(this,e),Yd(this,"veStrategyManager",void 0)}return Ym(e,[{key:"create",value:function(e){var t;return this.veStrategyManager=new Wpe({loadPlugin:(t=qm(Qm().mark((function e(t){var n,r,i,o,a;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null!==(n=xye[t])&&void 0!==n?n:{},i=r.moduleName,o=r.getModule,!i){e.next=6;break}return e.next=4,Iye(i).then((function(e){return null==o?void 0:o(e)})).catch((function(){}));case 4:return a=e.sent,e.abrupt("return",a);case 6:return e.abrupt("return");case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)}),tea:e,Collector:zye,strategies:[Aye]}),this.veStrategyManager}}]),e}(),Hye=new Xye,Cye=window.VePlayer.DEFAULT_PLUGINS,Oye=window.VePlayer.VePlayerBase,Lye=window.VePlayer.VeI18n;Lye.extend([{LANG:"zh-cn",TEXT:tS},{LANG:"en",TEXT:eS}]);var Uye={autoplay:{muted:!0}},Bye=b_(Fye=[]).call(Fye,v_(Cye),[NG,Kw,Yw]),Nye=function(e){return e.H264="h264",e}(Nye||{}),Vye=function(e){zy(o,e);var t,n,r,i=Ky(o);function o(e){var t;return Zm(this,o),Yd(Jm(t=i.call(this,e)),"_protocolManager",void 0),t}return Ym(o,[{key:"playTime",get:function(){var e;if(null===(e=this._player)||void 0===e||null===(e=e.played)||void 0===e||!e.length)return 0;for(var t=this._player.played.length,n=0,r=0;r<t;r++){var i,o,a=null===(i=this._player)||void 0===i?void 0:i.played.start(r);n+=(null===(o=this._player)||void 0===o?void 0:o.played.end(r))-a}return n}},{key:"ad",get:function(){var e;return null===(e=this._player.plugins)||void 0===e||null===(e=e.ad)||void 0===e?void 0:e.adManager}},{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()}},{key:"openAbr",value:function(){var e,t,n=this.url&&sx(this.url);"flv"!==n?"hls"===n&&(null===(e=this._player.plugins)||void 0===e||null===(e=e.hlsabr)||void 0===e||e.switchAbr(!0)):null===(t=this._player.plugins)||void 0===t||null===(t=t.abr)||void 0===t||t.switchAbr(!0)}},{key:"closeAbr",value:function(){var e,t,n=this.url&&sx(this.url);"flv"!==n?"hls"===n&&(null===(e=this._player.plugins)||void 0===e||null===(e=e.hlsabr)||void 0===e||e.switchAbr(!1)):null===(t=this._player.plugins)||void 0===t||null===(t=t.abr)||void 0===t||t.switchAbr(!1)}},{key:"updateDrmConfig",value:(r=qm(Qm().mark((function e(t){var n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this._protocolManager)||void 0===n||null===(n=n.protocol)||void 0===n?void 0:n.updateDrmConfig(t,this));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"switchAbr",value:function(e){var t;if(null!==(t=this._player.plugins)&&void 0!==t&&t.abr){if(void 0!==(null==e?void 0:e.bitrate)){var n=this._player.plugins.abr.config.urls[e.bitrate];if(!n)return;this.switch(n,{seamless:!0}),this._player.plugins.abr.bitrate=e.bitrate}var r;if(void 0!==(null==e?void 0:e.enable))null===(r=this._player.plugins)||void 0===r||r.abr.switchAbr(e.enable)}}},{key:"getRTMNetWorkInfo",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.rts)||void 0===e?void 0:e.getNetWorkInfo()}},{key:"getRTMStats",value:(n=qm(Qm().mark((function e(){var t;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(t=this._player)||void 0===t||null===(t=t.plugins)||void 0===t||null===(t=t.rts)||void 0===t?void 0:t.getStatsSnapshoot());case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getFLVStats",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.flv)||void 0===e?void 0:e.getStats()}},{key:"getHLSStats",value:function(){var e;return null===(e=this._player)||void 0===e||null===(e=e.plugins)||void 0===e||null===(e=e.hls)||void 0===e?void 0:e.getStats()}},{key:"updatePlaylist",value:(t=qm(Qm().mark((function e(t,n){var r,i=arguments;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i.length>2&&void 0!==i[2]&&!i[2]){e.next=4;break}return e.next=4,null===(r=this._protocolManager)||void 0===r?void 0:r.update({playlist:t});case 4:return e.abrupt("return",Ey(My(o.prototype),"updatePlaylist",this).call(this,t,n));case 5:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})}]),o}(Oye);function jye(e){return Kye.apply(this,arguments)}function Kye(){return(Kye=qm(Qm().mark((function e(t){var n,r,i,o,a,s,c,l,u,d;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=void 0,s=new Lye({lang:null==t?void 0:t.lang,i18n:null==t?void 0:t.i18n}),t&&(t.url||t.playlist)){e.next=4;break}throw D_(M_.INVALID_PARAMETER,s);case 4:return null!==(n=t.logger)&&void 0!==n&&n.appId||!1===(null==t||null===(r=t.logger)||void 0===r?void 0:r.enable)||console.warn(D_(M_.INVALID_LOGGER,s).message),XN.tea||XN.init(t.logger),c=eh(eh({},t),{},{plugins:b_(i=[]).call(i,v_(Bye),v_(null!==(o=t.plugins)&&void 0!==o?o:[]))}),e.next=9,BX.create(c);case 9:if(l=e.sent,t.url||null!=l&&l.playlist){e.next=12;break}throw D_(M_.INVALID_PARAMETER,s);case 12:return e.next=14,Oye.create(eh(eh(eh({},Uye),c),{},{playlist:null==l?void 0:l.playlist,beforeFallbackError:VX.beforeFallbackError,isLive:!0,i18nManager:s,teaTracker:XN,preProcessUrl:function(e){return tx(".ts",e)?{url:e}:{url:gS(e)}},preparePlugins:function(e){return qm(Qm().mark((function t(){return Qm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l.enableSelector){t.next=3;break}return t.next=3,l.update({url:e});case 3:return t.abrupt("return",l.getStrategy(a,s,Hye.veStrategyManager));case 4:case"end":return t.stop()}}),t)})))()}}),Vye);case 14:return(a=e.sent)._protocolManager=l,VX.initErrorFallback(a,l),a&&(d=null===(u=a)||void 0===u||null===(u=u._player)||void 0===u||null===(u=u.config)||void 0===u?void 0:u._RTMdegrade)&&a.emit("degrade",{originRtmUrl:d._originRtmUrl,code:"NOT_SUPPORT",message:"not support rtm or h264",isRTMSupported:d._isRTMSupported,isRTMSupportCodec:d._isRTMSupportCodec}),e.abrupt("return",a);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Qye(){return(Qye=qm(Qm().mark((function e(t){var n;return Qm().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.appId){e.next=2;break}return e.abrupt("return");case 2:return XN.init({userId:t.userId,deviceId:t.deviceId}),n=Hye.create(XN.tea),e.next=6,n.init(eh(eh({},t),{},{type:"LIVE"}));case 6:return e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Wye=Object.freeze({__proto__:null,ErrorCode:M_,Events:HG,prepare:function(e){return Qye.apply(this,arguments)}}),qye=window.VePlayer.setModuleSystem,Zye=window.VePlayer.Codec,$ye=window.VePlayer.DecodeType,Yye=window.VePlayer.Degradation,Jye=window.VePlayer.POSITIONS,e_e=window.VePlayer.register,t_e=window.VePlayer.registerPlugin,n_e=window.VePlayer.EN,r_e=window.VePlayer.ZH_CN,i_e=window.VePlayer.Plugin,o_e=window.VePlayer.Sniffer,a_e=window.VePlayer.DynamicModule,s_e=window.VePlayer.util,c_e=window.VePlayer.load,l_e=window.VePlayer.ListType;qye("umd");var u_e=s_e.isMseSupported,d_e=s_e.isSoftDecodeSupported,h_e=s_e.isMMSSupported;void 0!==VePlayer.registerPlugin?VePlayer.registerPlugin(a_e.BizLive,{createLivePlayer:jye}):t_e(a_e.BizLive,{createLivePlayer:jye}),e.Codec=Zye,e.DecodeType=$ye,e.Degradation=Yye,e.DynamicModule=a_e,e.EN=n_e,e.ListType=l_e,e.POSITIONS=Jye,e.Plugin=i_e,e.RTMCodec=Nye,e.Sniffer=o_e,e.ZH_CN=r_e,e.createLivePlayer=jye,e.isFLVSupported=Sx,e.isMMSSupported=h_e,e.isMseSupported=u_e,e.isRTMSupportCodec=mX,e.isRTMSupported=gX,e.isSoftDecodeSupported=d_e,e.live=Wye,e.load=c_e,e.register=e_e,e.registerPlugin=t_e,e.util=s_e}));