1(globalThis.wpRiseJsonp=globalThis.wpRiseJsonp||[]).push([["defaultVendors-node_modules_pnpm_articulate_react-image_0_0_10_react_19_2_6_node_modules_arti-d5d9da","node_modules_pnpm_react_19_2_6_node_modules_react_jsx-runtime_js"],{49698(f,d,e){"use strict";e.d(d,{A:()=>Xe});var n=e(80588),r=e(95453),a=e.n(r),s=e(76212),i=e.n(s),u=e(81433),l=e.n(u),m=e(68116),g=e.n(m),h=e(2884),v=e.n(h),x=e(77372),T=e.n(x),E=e(78717),_=e.n(E),C=e(95272),P=e.n(C),k=e(71920),D=e.n(k),B=e(78696),$=e.n(B);const F=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];function V(ge,be,Ie){return`${ge}/${Ie}/${be}`}const W=_()(F),Z=ge=>!Number.isNaN(Number(ge)),J=i()(2,ge=>{const be=$()(Z,T()(ge));return P()(W,l()({h:be,height:be,w:be,width:be}),D(),v()(g()(":")),g()(","))}),ie=ge=>{const{imagesUri:be,hidpi:Ie,imageKey:Re}=ge;if(Re==null)return;const De=J(Ie?2:1,ge);return{backgroundImage:`url("${V(be,Re,De)}")`}};function le(ge,be){be===void 0&&(be={});var Ie=be.insertAt;if(!(!ge||typeof document>"u")){var Re=document.head||document.getElementsByTagName("head")[0],ye=document.createElement("style");ye.type="text/css",Ie==="top"&&Re.firstChild?Re.insertBefore(ye,Re.firstChild):Re.appendChild(ye),ye.styleSheet?ye.styleSheet.cssText=ge:ye.appendChild(document.createTextNode(ge))}}var he=".styles_image__32Tdo{display:inline-block}",me={image:"styles_image__32Tdo"};le(he,{insertAt:"top"});const je=a()(["imagesUri","imageKey","hidpi","style",...F]),Fe=ge=>({...ge.style,...ie(ge)}),Je=({alt:ge,...be})=>n.createElement("span",Object.assign({"aria-label":ge,className:me.image,role:"img",style:Fe(be)},je(be)));Je.defaultProps={alt:"Image",imagesUri:"",style:{}};const Xe=Je},71066(f,d,e){"use strict";e.d(d,{A:()=>Hn});var n=e(54411),r=e.n(n),a=e(45706),s=e.n(a),i=e(11285),u=e.n(i),l=e(94889),m=e.n(l),g=e(72423),h=e(40376),v=e.n(h);const x=Bt=>g.A.create({baseURL:Bt,withCredentials:!0}),T=v()(String,x);async function E(Bt,Wt,Wr){const{email:sn,googleIdToken:Mn,password:_n,tenantId:Wn}=Wr;try{const Un=Mn?{tenantId:Wn,token:Mn}:{password:_n,tenantId:Wn,username:sn},Fi=Mn?"google/signin":"signin";await T(Bt.HEYOKRA_AUTH_SERVICE_URI).post(Fi,Un)}catch(Un){throw Object.assign(new Error,Un.response.data)}}const _=m()(3,E);var C=e(29705),P=e.n(C),k=e(34919),D=e.n(k);async function B(Bt,Wt,Wr){const{email:sn,login:Mn,oktaNamespace:_n,password:Wn}=Wr;try{const Un=await T(Bt.AUTH_SERVICE_URI).post("/api/v1/authn",{password:Wn,username:Mn||`${_n}/${sn}`,options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});if(D()(["data","status"],"LOCKED_OUT",Un)){const Fi=new Error("User Locked Out");throw Fi.response={data:{errorCode:"USER_LOCKED_OUT"}},Fi}return P()(["data","sessionToken"],Un)}catch(Un){throw Object.assign(new Error,Un.response.data)}}const $=m()(3,B);async function F(Bt,Wt,Wr){const{idp:sn}=Wr;return sn==="heyokra"?await _(Bt,Wt,Wr):await $(Bt,Wt,Wr)}const V=m()(3,F);var W=e(5968),Z=e.n(W),J=e(60549),ie=e.n(J),le=e(27256),he=e.n(le);function me(){return window.tenant&&window.tenant.idp==="heyokra"}async function je(Bt,Wt,Wr,sn){sn.clear();const Mn=me()?Wr.HEYOKRA_AUTH_SERVICE_URI:Wr.AUTH_SERVICE_URI;await T(Mn).delete("/api/v1/sessions/me").then(ie()(()=>Wt.emit&&Bt.emit("session:closed"))).catch(he()(D()(["response","status"],404),Z()))}const Fe=m()(4,je);var Je=e(56731),Xe=e.n(Je),ge=e(67513),be=e.n(ge),Ie=e(23813),Re=e.n(Ie);const ye=Re()(9),De=be()(Xe());function $e(Bt){const{client_id:Wt,issuer:Wr,idp:sn,nonce:Mn,prompt:_n="none",redirect_uri:Wn=window.location.origin,response_mode:Un,scope:Fi,sessionToken:Le,state:Ue}=Bt,lt=new URLSearchParams(De({client_id:Wt,idp:sn,nonce:Mn||ye(),prompt:_n,redirect_uri:Wn,response_mode:Un,response_type:"id_token token",scope:Fi,sessionToken:Le,state:Ue}));return Object.assign(new URL(`${Wr}/v1/authorize`,window.location.origin),{search:lt.toString()}).toString()}var qe=e(17892),It=e.n(qe);class mt extends It(){constructor(...Wt){super(...Wt),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",this._handleMessage.bind(this))}emit(...Wt){super.emit(...Wt),navigator.serviceWorker&&navigator.serviceWorker.ready.then(Wr=>{Wr.active.postMessage({jsonrpc:"2.0",method:"emit",params:Wt})})}_handleMessage(Wt){Wt.data&&Wt.data.jsonrpc==="2.0"&&Wt.data.method==="emit"&&super.emit(...Wt.data.params)}}var kt=e(71556),Ut=e.n(kt),Ir=e(63579),Sr=e.n(Ir),Yr=e(78575),Gr=e.n(Yr),dn=e(41870),Kr=e.n(dn),yt=e(13463),tt=e.n(yt),Ar=e(58613),Mr=e.n(Ar),Er=e(47598),Ur=e.n(Er),or=e(84978),An=e.n(or),dr=e(50291),Xr=e.n(dr),hn=e(6067),Qt=e.n(hn),Br=e(31904),zt=e.n(Br),Tt=e(78312),Pr=e.n(Tt),Y=e(43015),ht=e.n(Y),ur=e(17232),it=e.n(ur),Rt=e(46127),Zr=e.n(Rt),nn=e(41522),fn=e.n(nn),Sn=e(95736),Ci=e.n(Sn),$i=e(42266),qr=e.n($i),Bi=e(82336),ms=e.n(Bi),hs=e(2072),Mi=e.n(hs);function gi(Bt,Wt){return Math.round(Bt+Math.random()+(Wt-Bt))}function Hi(Bt,Wt){return Wt&&gi(0,Bt*Wt**2)}function qn(Bt={},Wt){const{base:Wr=700,tries:sn=10,when:Mn=Mi()}=Bt;function _n(...Wn){let Un=0;function Fi(){return Ut().resolveAfter(Hi(Wr,Un)).chain(Ue)}function Le(lt){return++Un<sn?Fi():Ut().Rejected(lt)}function Ue(){return Wt(...Wn).bichain(Pr()(Mn,Le,Ut().Rejected),Ut().of)}return Ue()}return _n}const $n=m()(2,qn);var $s=e(49118),ys=e.n($s);function Es(Bt,Wt){if(Bt.length!==Wt.length)return!1;for(var Wr=0;Wr<Bt.length;Wr++)if(Bt[Wr]!==Wt[Wr])return!1;return!0}function oe(Bt,Wt){Wt===void 0&&(Wt=Es);var Wr,sn=[],Mn,_n=!1;function Wn(){for(var Un=[],Fi=0;Fi<arguments.length;Fi++)Un[Fi]=arguments[Fi];return _n&&Wr===this&&Wt(Un,sn)||(Mn=Bt.apply(this,Un),_n=!0,Wr=this,sn=Un),Mn}return Wn}const Ge=oe(ys()),bt=5e3,Et=Symbol("TimeoutError");
1class Tr extends Error{constructor(){super("Authorization timed out")}}Tr.prototype[Et]=!0;const vn=$n({tries:2,when:Bt=>Bt[Et]}),Gt={};let ei=0;const si=v()(Zr()("AUTH_SERVICE_URI"),Bt=>{window.addEventListener("message",Wt=>{const{origin:Wr}=new URL(Bt.AUTH_SERVICE_URI,window.location.origin);if(Wt.origin===Wr){const{data:{access_token:sn,error:Mn,error_description:_n,id_token:Wn,state:Un}={}}=Wt,Fi=Gt[Un];Fi&&(Mn?Fi.reject(new Error([Mn,_n].join(", "))):Fi.resolve({access_token:sn,id_token:Wn}))}})});function yn(Bt,Wt,Wr){return new(Ut())((sn,Mn)=>{const _n=ie()(()=>{delete Gt[Wn],document.body.removeChild(Fi)});si(Bt);const Wn=ei++,Un=ye(),Fi=document.createElement("iframe");return Fi.style.display="none",document.body.appendChild(Fi),Ut()((Le,Ue)=>{const lt=me(),ot={resolve:Ue,reject:Le};Gt[Wn]=ot,Fi.addEventListener("error",ms()(Le,Zr()("error"))),Fi.src=$e({client_id:Bt.OKTA_CLIENT_ID,issuer:lt?Bt.HEYOKRA_OIDC_ISSUER_URI:Bt.OIDC_ISSUER_URI,nonce:Un,redirect_uri:Bt.REDIRECT_URI,response_mode:lt?"post_message":"okta_post_message",scope:Bt.OIDC_SCOPE,sessionToken:Wr,state:Wn})}).race(Ut().rejectAfter(bt,new Tr)).chain(({id_token:Le,access_token:Ue})=>{const lt=Le?Ge(Le):null;return Un!==lt.nonce?Ut().Reject(new Error(`Expected nonce ${Un} but received ${lt.nonce}`)):(Wt.set(Le,Ue),Ut().of(Wt.get()))}).bimap(_n,_n).fork(sn,Mn,_n)})}const rs=({AUTH_SERVICE_URI:Bt},Wt)=>[Bt,Wt].join("|");function xn(Bt){const Wt={};return function(...sn){return Ut()((Mn,_n)=>{const Wn={resolve:_n,reject:Mn},Un=rs(...sn),Fi=Symbol();Wt[Un]==null&&(Wt[Un]={listeners:new Map});const Le=Wt[Un];if(Le.listeners.set(Fi,Wn),Le.listeners.size===1){const Ue=lt=>ot=>{const Yt=[];for(const rr of Le.listeners.values())try{rr[lt](ot)}catch(Or){Yt.push(Or)}if(delete Wt[Un],Yt.length>0)throw Yt[0]};Le.cancel=Bt(...sn).fork(Ue("reject"),Ue("resolve"))}return function(){Le.listeners.delete(Fi),Le.listeners.size===0&&Le.cancel&&Le.cancel()}})}}const Ms=m()(3,xn(vn(yn))),Yi=Bt=>window.fetch(Bt.clone()),Gs=Promise.reject.bind(Promise),us=Bt=>Bt instanceof Response,nr=Bt=>fn()(Bt,"status"),cr=Mr()(us,nr(ht()(500))),ln=Ur()(us),Yn=An()(he()(Zr()("ok"),Gs),Yi),Ln=tt()({when:Xr()(cr,ln),tries:3},Yn),wn=qr()(2,Bt=>Mr()(Sr()(zt()("OKTA_CLIENT_ID",Bt)),nr(Gr()(s()(Qt(),[401,403]))))),ti=it()([],["roles"]),Ti=it()("",["subscription","status"]),Pi=r()((Bt,Wt,[,Wr])=>{const[sn,Mn]=[Wt,Wr].map(ti),[_n,Wn]=[Wt,Wr].map(Ti);Ci()(sn,Mn).length>0&&Bt.emit("change:roles",Wr,Wt),_n!==Wn&&Bt.emit("change:status",Wr,Wt)}),Zi=Bt=>window.location.hostname.includes(Bt),Ui=r()((Bt,{RISE_ACCOUNTS_URI:Wt,RISE_DOMAIN:Wr},sn)=>Zi(Wr)&&Wt&&sn.message.includes("redirect_uri")?Kr()({method:"GET",url:`${Wt}/api/subdomain_active`}).chain(({data:Mn})=>(Mn===!1?Bt.emit("change:subdomain"):Bt.emit("unauthorized",sn),Ut().Rejected(sn))).toPromise():(sn instanceof DOMException&&sn.name==="AbortError"||Bt.emit("unauthorized",sn),Promise.reject(sn))),vi=r()((Bt,Wt,Wr,sn)=>{if(Wr!=null&&Wr.sub!==sn[1].sub)throw Bt.emit("unauthorized",Wt),Wt;return sn}),Wi=(Bt,Wt)=>new Promise((Wr,sn)=>{if(!(Wt instanceof AbortSignal)){Bt.fork(sn,Wr);return}const Mn=()=>sn(new DOMException("Aborted","AbortError"));if(Wt.aborted){Mn();return}let _n=Function.prototype;const Wn=()=>_n();Wt.addEventListener("abort",Wn);const Un=Fi=>Le=>{Wt.removeEventListener("abort",Wn),Fi(Le)};_n=Bt.fork(Un(sn),Un(Wr),Un(Mn))}),ks=r()((Bt,Wt,Wr,sn,Mn)=>{const[,_n]=Wr.get();return Wi(Ms(Wt,Wr,void 0),sn.signal).then(vi(Bt,Mn,_n),Ui(Bt,Wt)).then(ie()(Pi(Bt,_n))).then(()=>Ln(sn))}),ss=qr()(5,(Bt,Wt,Wr,sn)=>Pr()(wn(Wt),ks(Bt,Wt,Wr,sn),Gs)),xs=he()(us,Gs),Ns=Bt=>(Wt,Wr,sn,Mn)=>{const _n=new Request(sn,Mn);return Ln(_n).catch(ss(Bt,Wt,Wr,_n)).catch(xs)};var Cs=e(55595),as=e.n(Cs);function Os(Bt){return Bt!=null&&typeof Bt=="object"&&Bt["@@functional/placeholder"]===!0}function ce(Bt){return function Wt(Wr){return arguments.length===0||Os(Wr)?Wt:Bt.apply(this,arguments)}}function He(Bt){return function Wt(Wr,sn){switch(arguments.length){case 0:return Wt;case 1:return Os(Wr)?Wt:ce(function(Mn){return Bt(Wr,Mn)});default:return Os(Wr)&&Os(sn)?Wt:Os(Wr)?ce(function(Mn){return Bt(Mn,sn)}):Os(sn)?ce(function(Mn){return Bt(Wr,Mn)}):Bt(Wr,sn)}}}var Lt=He(function(Wt,Wr){for(var sn={},Mn=0;Mn<Wt.length;)Wt[Mn]in Wr&&(sn[Wt[Mn]]=Wr[Wt[Mn]]),Mn+=1;return sn});const fr=Lt;var un=e(94211);const Qn=(...Bt)=>
1Ms(...Bt).toPromise(),Xi=m()(3,Qn),qi=new URLSearchParams(window.location.hash.substr(1));let ls=qi.get("id_token"),ps=qi.get("access_token");ls&&(qi.delete("id_token"),window.history.replaceState(null,null,`#${qi.toString()}`)),ps&&(qi.delete("access_token"),qi.delete("expires_in"),qi.delete("scope"),qi.delete("token_type"),window.history.replaceState(null,null,`#${qi.toString()}`));async function la(Bt,Wt){return ls?(Wt.set(ls,ps),ls=ps=void 0):Wt.get()[0]||await Xi(Bt,Wt,void 0),Wt.get()}async function ca(Bt,Wt){return Wt.clear(),await la(Bt,Wt)}const za=2,io=250;class Is{constructor(Wt,Wr,...sn){this._emitErrorDelegate=this._emitError.bind(this),this._initDelegate=this._init.bind(this),this._onErrorDelegate=this._onError.bind(this),this._resetRetryTimesDelegate=this._resetRetryTimes.bind(this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=Wt,this._state=Wr,this._errorEmitter=new(It()),this._closed=!1,this._params=sn,this._listeners={},this._resetRetryTimes(),this._init()}_emitError(Wt){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:Wt.colno,error:Wt,filename:Wt.filename,lineno:Wt.lineno,message:Wt.message}))}_init(){if(!this._closed){this._source=new un.EventSourcePolyfill(...this._params),this._source.addEventListener("error",this._onErrorDelegate),this._source.addEventListener("open",this._resetRetryTimesDelegate),this._source.onerror=this._onerror,this._source.onmessage=this._onmessage,this._source.onopen=this._onopen;for(const Wt in this._listeners)for(const Wr of this._listeners[Wt])this._source.addEventListener(Wt,Wr)}}_onError(Wt){Wt.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=io*2**(za-this._retryAttempts+1)):(Wt.status===401||Wt.status===403)&&this._retryAuthz?(ca(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1):this._errorEmitter.emit("error",Wt)}_resetRetryTimes(){this._retryAttempts=za,this._retryAuthz=!0,this._retryIn=io}addEventListener(Wt,Wr){Wt==="error"?this._errorEmitter.on("error",Wr):(this._listeners[Wt]=this._listeners[Wt]||[],this._listeners[Wt].push(Wr),this._source.addEventListener(Wt,Wr))}close(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}dispatchEvent(...Wt){return this._source.dispatchEvent(...Wt)}removeEventListener(Wt,Wr){Wt==="error"?this._errorEmitter.off("error",Wr):(as()(this._listeners[Wt],[Wr]),this._source.removeEventListener(Wt,Wr))}}["onerror","onmessage","onopen"].forEach(Bt=>{Object.defineProperty(Is.prototype,Bt,{get(){return this[`_${Bt}`]},set(Wt){this[`_${Bt}`]=this._source[Bt]=Wt}})}),["readyState","url","withCredentials"].forEach(Bt=>{Object.defineProperty(Is.prototype,Bt,{get(){return this._source[Bt]}})}),Object.assign(Is.prototype,fr(["CONNECTING","OPEN","CLOSED"],un.EventSourcePolyfill.prototype));function yr(Bt,Wt){return class extends Is{constructor(...Wr){super(Bt,Wt,...Wr)}}}const Fa=D()(["response","status"],404),on=Bt=>T(Bt).post("/api/v1/sessions/me/lifecycle/refresh",void 0,{headers:{Prefer:"return=minimal"}});async function va(Bt,Wt,Wr,sn){if(me())return;const Mn={base:1e3,tries:5,when:_n=>!Fa(_n)};await tt()(Mn,on)(Wr.AUTH_SERVICE_URI).then(ie()(()=>Wt.emit&&Bt.emit("session:refreshed"))).catch(_n=>{throw Fa(_n)&&(sn.clear(),Wt.emit&&Bt.emit("session:closed")),_n})}const pa=m()(4,va);var aa=e(11993),ta=e.n(aa),Za=e(39136),$a=e.n(Za);function Wo(Bt,Wt){return Bt?Ut()((Wr,sn)=>{let Mn=!1;const _n=Fi=>Le=>{Mn=!0,clearTimeout(Un),Fi(Le)},Wn=Wt.fork(_n(Wr),_n(sn),_n(Function.prototype)),Un=setTimeout(()=>{Mn||(Wn(),Wr(new Error(`Timeout after ${Bt}ms`)))},Bt);return Wn}):Wt}const Co=m()(2,Wo),Ro=Bt=>$a()(Bt,["response","status"]),Hs=r()(Bt=>Mr()(Sr()(zt()("OKTA_CLIENT_ID",Bt)),Ro(Gr()(s()(Qt(),[401,403]))))),cs=Ro(ht()(500)),Me=Ur()(Ro(Boolean)),We=Bt=>{const{backoffBase:Wt}=Bt,Wr={base:Wt,when:Xr()(cs,Me),tries:5};
1return $n(Wr,Kr())(Bt)},Nt=it()([],["roles"]),Jt=it()("",["subscription","status"]),jr=r()((Bt,Wt,[,Wr])=>{const[sn,Mn]=[Wt,Wr].map(Nt),[_n,Wn]=[Wt,Wr].map(Jt);Ci()(sn,Mn).length>0&&Bt.emit("change:roles",Wr,Wt),_n!==Wn&&Bt.emit("change:status",Wr,Wt)}),Jr=Bt=>window.location.hostname.includes(Bt),an=r()((Bt,{RISE_ACCOUNTS_URI:Wt,RISE_DOMAIN:Wr},sn)=>Jr(Wr)&&Wt&&sn.message.includes("redirect_uri")?Kr()({method:"GET",url:`${Wt}/api/subdomain_active`}).chain(({data:Mn})=>(Mn===!1?Bt.emit("change:subdomain"):Bt.emit("unauthorized",sn),Ut().Rejected(sn))):(Bt.emit("unauthorized",sn),Ut().Rejected(sn))),ai=r()((Bt,Wt,Wr,sn)=>Wr!=null&&Wr.sub!==sn[1].sub?(Bt.emit("unauthorized",Wt),Ut().Rejected(Wt)):Ut().of(sn)),Si=r()((Bt,Wt,Wr,sn,Mn)=>{const[,_n]=Wr.get();return Ms(Wt,Wr,void 0).bichain(an(Bt,Wt),ai(Bt,Mn,_n)).map(ie()(jr(Bt,_n))).chain(()=>We(sn))}),Di=qr()(4,(Bt,Wt,Wr,sn)=>Pr()(Hs(Wt),Si(Bt,Wt,Wr,sn),Ut().Rejected)),Vi=r()((Bt,Wt,Wr,sn)=>We(sn).bichain(Di(Bt,Wt,Wr,sn),Ut().of)),ya=r()((Bt,Wt,Wr,sn)=>Co(sn.timeout,Vi(Bt,Wt,Wr,ta()("timeout",sn)))),Qi=Bt=>P()([1,"sub"],Bt.get());async function Do(Bt,Wt,Wr,sn){const Mn=Qi(Wr);await Fe(Bt,{emit:!1},Wt,Wr);try{const _n=await V(Wt,Wr,sn),Wn=await Xi(Wt,Wr,_n),Un=Qi(Wr);return Mn&&Mn!==Un&&Bt.emit("session:closed"),Wn}catch(_n){throw Mn&&Bt.emit("session:closed"),_n}}const Oo=m()(4,Do);var Ta=e(53101);function Ne(Bt){return Ta.parse(document.cookie)[Bt]}function Ve(Bt,Wt){const Wr=Bt.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ta.serialize(Wt,"",{domain:Wr,expires:new Date(0),path:"/",secure:!0})}const gt=m()(2,Ve);function ct(Bt,Wt,[Wr]){if(!Wt)return;const sn=Bt.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ta.serialize(Wt,Wr,{domain:sn,path:"/",secure:!0})}const Kt=m()(3,ct);function tr(Bt){return{clear(){gt(Bt,Bt.SESSION_COOKIE_NAME),gt(Bt,Bt.ACCESS_COOKIE_NAME)},get(){const Wt=Ne(Bt.SESSION_COOKIE_NAME),Wr=Ne(Bt.ACCESS_COOKIE_NAME),sn=Wt?Ge(Wt):null,Mn=Wr?Ge(Wr):null;return[Wt,sn,Wr,Mn]},set(Wt,Wr){const sn=Wt?Ge(Wt):null,Mn=Wr?Ge(Wr):null;Kt(Bt,Bt.SESSION_COOKIE_NAME,[Wt,sn]),Kt(Bt,Bt.ACCESS_COOKIE_NAME,[Wr,Mn])}}}const Cr=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],kr=r()((Bt,Wt,Wr)=>u()(Wr,[Bt,Wt])),Bn=Bt=>Cr.reduce((Wt,Wr)=>(Wt[Wr]=Bt[Wr].bind(Bt),Wt),{});function Hn(Bt){const Wt=new mt,Wr=tr(Bt);return{getAuthorizationUrl:$e,EventSource:yr(Bt,Wr),...Bn(Wt),...s()(kr(Bt,Wr),{authenticate:V,closeSession:Fe(Wt,{emit:!0}),fetch:Ns(Wt),refreshSession:pa(Wt,{emit:!1}),request:ya(Wt),resetSession:ca,resumeSession:la,startSession:Oo(Wt)})}}},23813(f){"use strict";const d=(e,n,r)=>{const a=e.length;if(a==n)return e;const s=n-a;let i="";for(let u=1;u<=s;u++)i+=r;return i+e};f.exports=e=>{(e==null||e<1)&&(e=15);const n=parseInt(d("",e,"9"));let r=0,a;return()=>{let s=Math.floor(Math.random()*n);return s==a?r++:(r=0,a=s),s+=r,d(`${s}`,e,"0")}}},87675(f,d,e){"use strict";var n=this&&this.__extends||(function(){var m=function(g,h){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,x){v.__proto__=x}||function(v,x){for(var T in x)x.hasOwnProperty(T)&&(v[T]=x[T])},m(g,h)};return function(g,h){m(g,h);function v(){this.constructor=g}g.prototype=h===null?Object.create(h):(v.prototype=h.prototype,new v)}})();Object.defineProperty(d,"__esModule",{value:!0}),d.InvalidParameters=d.MethodNotFound=d.InvalidRequest=d.InvalidJson=d.JsonRpcError=void 0;var r=e(87362),a=(function(m){n(g,m);function g(h,v,x){h===void 0&&(h="unknown error from the peer"),v===void 0&&(v=-32e3);var T=m.call(this,h)||this;return T.code=v,T.data=x,T}return g.prototype.toJsonRpcError=function(){return{code:this.code,data:this.data,message:this.message}},g})(r.BaseError);d.JsonRpcError=a;var s=(function(m){n(g,m);function g(){return m.call(this,"invalid JSON",-32700)||this}return g})(a);d.InvalidJson=s;var i=(function(m){n(g,m);function g(h){return h===void 0&&(h="invalid JSON-RPC request"),m.call(this,h,-32600)||this}return g})(a);d.InvalidRequest=i;var u=(function(m){n(g,m);function g(h){var v=this,x=h?"method not found: "+h:"method not found";return v=m.call(this,x,-32601,h)||this,v}return g})(a);d.MethodNotFound=u;var l=(function(m){n(g,m);function g(h){return m.call(this,"invalid parameter(s)",-32602,h)||this}return g})(a);d.InvalidParameters=l},97479(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.response=d.request=d.notification=d.error=void 0;var n=e(87675),r=JSON.stringify;d.error=function(a,s){(s==null||typeof s.toJsonRpcError!="function")&&(s=new n.JsonRpcError);var i=s.toJsonRpcError();return r({error:i,id:a,jsonrpc:"2.0"})},d.notification=function(a,s){return r({jsonrpc:"2.0",method:a,params:s})},d.request=function(a,s,i){return r({id:a,jsonrpc:"2.0",method:s,params:i})},d.response=function(a,s){return r({id:a,jsonrpc:"2.0",result:s})}},67750(f,d,e){"use strict";var n=this&&this.__createBinding||(Object.create?(function(l,m,g,h){h===void 0&&(h=g),Object.defineProperty(l,h,{enumerable:!0,get:function(){return m[g]}})}):(function(l,m,g,h){h===void 0&&(h=g),l[h]=m[g]})),r=this&&this.__setModuleDefault||(Object.create?(function(l,m){Object.defineProperty(l,"default",{enumerable:!0,value:m})}):function(l,m){l.default=m}
1),a=this&&this.__importStar||function(l){if(l&&l.__esModule)return l;var m={};if(l!=null)for(var g in l)g!=="default"&&Object.hasOwnProperty.call(l,g)&&n(m,l,g);return r(m,l),m},s=this&&this.__exportStar||function(l,m){for(var g in l)g!=="default"&&!m.hasOwnProperty(g)&&n(m,l,g)};Object.defineProperty(d,"__esModule",{value:!0}),d.format=void 0;var i=a(e(97479));d.format=i,s(e(98996),d),s(e(87675),d);var u=e(1861);Object.defineProperty(d,"parse",{enumerable:!0,get:function(){return u.parse}})},98996(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0})},1861(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.parse=d.isResponsePayload=d.isErrorPayload=d.isRequestPayload=d.isNotificationPayload=void 0;var n=e(83323),r=e(87675),a=Object.defineProperty,s=function(T,E){return a(T,"type",{configurable:!0,value:E,writable:!0})},i=function(T){return T===null?"null":typeof T},u=function(T,E){if(E==="1.0"){if(T==null)throw new r.InvalidRequest("invalid error "+i(T))}else if(T==null||!n.isInteger(T.code)||!n.isString(T.message))throw new r.InvalidRequest("invalid error: "+i(T)+" instead of {code, message}")},l=function(T){if(!n.isNumber(T)&&!n.isString(T))throw new r.InvalidRequest("invalid identifier: "+i(T)+" instead of number or string")},m=function(T,E){if(E==="2.0"){if(T!==void 0&&!Array.isArray(T)&&!n.isObject(T))throw new r.InvalidRequest("invalid params: "+i(T)+" instead of undefined, array or object")}else if(!Array.isArray(T))throw new r.InvalidRequest("invalid params: "+i(T)+" instead of array")},g=function(T){var E=T.jsonrpc;if(E===void 0)return"1.0";if(E==="2.0")return"2.0";throw new r.InvalidRequest("invalid version: "+i(E)+" instead of undefined or '2.0'")},h=function(T,E){return T===(E==="2.0"?void 0:null)},v=function(T,E){var _=T.error;return _!==(E==="2.0"?void 0:null)};d.isNotificationPayload=function(T,E){if(n.isString(T.method)){var _=T.id;if(h(_,E))return m(T.params,E),!0}return!1},d.isRequestPayload=function(T,E){if(n.isString(T.method)){var _=T.id;if(!h(_,E))return l(_),m(T.params,E),!0}return!1},d.isErrorPayload=function(T,E){if(!n.isString(T.method)&&v(T,E)){var _=T.id;return _!==null&&l(_),u(T.error,E),!0}return!1},d.isResponsePayload=function(T,E){return!n.isString(T.method)&&!v(T,E)?(l(T.id),!0):!1};function x(T){if(n.isString(T))try{T=JSON.parse(T)}catch(_){throw _ instanceof SyntaxError?new r.InvalidJson:_}if(Array.isArray(T))return T.map(x);var E=g(T);if(d.isNotificationPayload(T,E))s(T,"notification");else if(d.isRequestPayload(T,E))s(T,"request");else if(d.isErrorPayload(T,E))s(T,"error");else if(d.isResponsePayload(T,E))s(T,"response");else throw new r.InvalidJson;return T}d.parse=x,d.default=x,x.result=function(E){var _=x(E);if(!Array.isArray(_)){if(_.type==="error")throw _.error;if(_.type==="response")return _.result}throw new TypeError("message should be response or error JSON-RPC message")}},83323(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isObject=d.isString=d.isInteger=d.isNumber=void 0;var e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY;d.isNumber=function(r){var a=typeof r;return a==="number"&&r>e&&r<n},d.isInteger=function(r){return d.isNumber(r)&&r%1===0},d.isString=function(r){return typeof r=="string"},d.isObject=function(r){var a=typeof r;return r!==null&&(a==="object"||a==="function")}},26482(){"use strict"},41870(f,d,e){var n=e(71556),r=e(81300);function a(s){var i=r.CancelToken.source(),u=Object.assign({cancelToken:i.token},s);return n(function(l,m){return r(u).then(m,l),i.cancel.bind(i)})}f.exports=a},80189(f,d,e){d.action=e(39251),e(6782),d.error=e(32367),d.handle=e(84855),e(78669),d.onSuccess=e(62853),e(62955)},39251(f,d,e){var n=e(31417),r=function(a,s){return{type:a,payload:s}};f.exports=n(r)},6782(f,d,e){var n=e(31417),r=function(a,s){return[s,a]};f.exports=n(r)},32367(f,d,e){var n=e(31417),r=function(a,s){return{type:a,payload:s,error:!0}};f.exports=n(r)},84855(f,d,e){var n=e(31417),r=function(a,s){return function(i,u){i===void 0&&(i=a);var l=u.type,m=u.payload,g=u.error;return s[l]?s[l](i,m,g):i}};f.exports=n(r)},78669(f){var d=function(e,n,r){return r&&console.error(n),e};f.exports=d},62853(f){var d=function(e){return function(n,r,a){return a?n:e(n,r)}};f.exports=d},62955(f,d,e){var n=e(75606),r=e(70145),a=function(s){return r(s).map(n({type:"SIDE_
1EFFECT"}))};f.exports=a},46341(f,d,e){var n=e(37114),r=e(72832),a=function(s){for(var i=[],u=arguments.length-1;u-- >0;)i[u]=arguments[u+1];var l=function(m){var g=typeof m;return g==="function"?m.apply(void 0,i):m&&g==="object"?a.apply(void 0,[m].concat(i)):m};return n(l,s)};f.exports=r(a)},68418(f,d,e){var n=e(7963),r=e(1555),a=e(67560),s=e(24362),i=function(u,l){return r(n(u),[l,a])};f.exports=s(3,i)},72832(f,d,e){var n=e(70635),r=e(80342),a=e(49659),s=e(65721),i=e(45614),u=e(37114),l=e(56360),m=e(43953),g=e(98080),h=a(function(E,_){return typeof _===E}),v=function(E){return m(u(x),Math.max,0,g(E))},x=r([[h("object"),v],[h("function"),i],[l,n(0)]]),T=function(E,_){for(var C=[],P=arguments.length-2;P-- >0;)C[P]=arguments[P+2];var k=v(_),D=s(k+1,E);return C.length===0?k===0?function(){for(var B=[],$=arguments.length;$--;)B[$]=arguments[$];return D.apply(void 0,[_].concat(B))}:D(_):D.apply(void 0,[_].concat(C))};f.exports=a(T)},12335(f,d,e){var n=e(7963),r=e(1555),a=e(55337),s=e(9759),i=e(48063),u=e(24362),l=e(64666),m=function(g,h){return l(s(g),r(n(h),[i(g),a(g)]))};f.exports=u(3,m)},13463(f,d,e){var n=e(86576),r=e(54411),a=e(78312),s=e(2072),i=Promise.reject.bind(Promise),u=function(g,h){g===void 0&&(g={});var v=g.base;v===void 0&&(v=250);var x=g.tries;x===void 0&&(x=10);var T=g.when;T===void 0&&(T=s);var E=function(){for(var _=[],C=arguments.length;C--;)_[C]=arguments[C];var P=0,k=function(){return new Promise(function($,F){setTimeout(function(){D().then($,F)},l(v,P))})},D=function(){return Promise.resolve(_).then(n(h)).catch(a(T,B,i))},B=function($){return++P<x?k():i($)};return D()};return E},l=function(g,h){return h&&m(0,g*Math.pow(2,h))},m=function(g,h){return g+Math.random()*(h-g)};f.exports=r(u)},5968(f,d,e){var n=e(61737),r=e(82336),a=e(94262),s=e(27256),i=r(n(Promise.reject,Promise),s(a(Error),Error));f.exports=i},60466(f,d,e){var n=e(45184),r=e(49659),a=e(27976),s=function(i,u,l){var m={},g=function(){for(var h=[],v=arguments.length;v--;)h[v]=arguments[v];return a(function(){var x=u.apply(null,h);return m[x]||(m[x]={},m[x].async=n(function(T,E){Object.assign(m[x],{reject:T,resolve:E})})),clearTimeout(m[x].timeout),m[x].timeout=setTimeout(function(){var T=m[x],E=T.reject,_=T.resolve;l.apply(null,h).fork(E,_),delete m[x]},i),m[x].async})};return g};f.exports=r(s)},5605(f,d,e){var n=e(45184),r=e(49659),a=e(27976),s=e(5218),i=function(u,l,m){var g={},h=function(x){g[x].last=Date.now();var T=g[x],E=T.args,_=T.reject,C=T.resolve;m.apply(null,E).fork(_,C),delete g[x].args,delete g[x].timeout},v=function(){for(var x=[],T=arguments.length;T--;)x[T]=arguments[T];return a(function(){var E=l.apply(null,x);g[E]||(g[E]={},g[E].async=n(function(P,k){Object.assign(g[E],{reject:P,resolve:k})})),g[E].args=x;var _=Date.now()-(g[E].last||0);if(!g[E].timeout){var C=s(0,u-_);
1g[E].timeout=setTimeout(h.bind(null,E),C)}return g[E].async})};return v};f.exports=r(i)},9235(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.BLANK_URL=d.relativeFirstCharacters=d.urlSchemeRegex=d.ctrlCharactersRegex=d.htmlCtrlEntityRegex=d.htmlEntitiesRegex=d.invalidProtocolRegex=void 0,d.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,d.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,d.htmlCtrlEntityRegex=/&(newline|tab);/gi,d.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,d.urlSchemeRegex=/^.+(:|:)/gim,d.relativeFirstCharacters=[".","/"],d.BLANK_URL="about:blank"},12930(f,d,e){"use strict";var n;n={value:!0},d.J=void 0;var r=e(9235);function a(u){return r.relativeFirstCharacters.indexOf(u[0])>-1}function s(u){var l=u.replace(r.ctrlCharactersRegex,"");return l.replace(r.htmlEntitiesRegex,function(m,g){return String.fromCharCode(g)})}function i(u){if(!u)return r.BLANK_URL;var l=s(u).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").trim();if(!l)return r.BLANK_URL;if(a(l))return l;var m=l.match(r.urlSchemeRegex);if(!m)return l;var g=m[0];return r.invalidProtocolRegex.test(g)?r.BLANK_URL:l}d.J=i},50449(f,d,e){"use strict";e.d(d,{$:()=>r});var n=e(59112);function r(a,s){s.silentMultipleInit||n.Vy.error(`${a} is already initialized.`)}},57289(f,d,e){"use strict";e.d(d,{Z:()=>i,m:()=>s});var n=e(30557),r=e(31312),a=e(59112);function s(u){const l={version:"7.1.0",onReady(m){m()},...u};return Object.defineProperty(l,"_setDebug",{get(){return r.pM},enumerable:!1}),l}function i(u,l,m){const g=u[l];g&&!g.q&&g.version&&a.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),u[l]=m,g&&g.q&&g.q.forEach(h=>(0,n.y)(h,"onReady callback threw an error:")())}},82308(f,d,e){"use strict";e.d(d,{l:()=>s,q:()=>a});var n=e(31312),r=e(25143);function a(i,u,l,m,g){return s(i,u,[l],m,g)}function s(i,u,l,m,{once:g,capture:h,passive:v}={}){const x=(0,n.dm)(P=>{!P.isTrusted&&!P.__ddIsTrusted&&!i.allowUntrustedEvents||(g&&C(),m(P))}),T=v?{capture:h,passive:v}:h,E=window.EventTarget&&u instanceof EventTarget?window.EventTarget.prototype:u,_=(0,r.W)(E,"addEventListener");l.forEach(P=>_.call(u,P,x,T));function C(){const P=(0,r.W)(E,"removeEventListener");l.forEach(k=>P.call(u,k,x,T))}return{stop:C}}},75427(f,d,e){"use strict";e.d(d,{B9:()=>g,DQ:()=>E,OR:()=>l,Ri:()=>u,TV:()=>i,z$:()=>x});var n=e(59112),r=e(97870),a=e(61370),s=e(86670);function i(P,k,D=0,B){const $=new Date;$.setTime($.getTime()+D);const F=`expires=${$.toUTCString()}`,V=B&&B.crossSite?"none":"strict",W=B&&B.domain?`;domain=${B.domain}`:"",Z=B&&B.secure?";secure":"",J=B&&B.partitioned?";partitioned":"";document.cookie=`${P}=${k};${F};path=/;samesite=${V}${W}${Z}${J}`}function u(P){const k=(0,a.rx)(document.cookie,P);if(k!=="")return k}function l(P){return(0,a.Dh)(document.cookie).get(P)||[]}let m;function g(P){return m||(m=(0,a.it)(document.cookie)),m.get(P)}function h(){m=void 0}function v(P,k){i(P,"",0,k)}function x(P){if(document.cookie===void 0||document.cookie===null)return!1;try{const k=`dd_cookie_test_${(0,a.lk)()}`,D="test";i(k,D,r.iW,P);const B=u(k)===D;return v(k,P),B}catch(k){return n.Vy.error(k),!1}}let T;function E(P=location.hostname,k=document.referrer){if(T===void 0){const D=_(P,k);if(D){const B=`dd_site_test_${(0,a.lk)()}`,$="test",F=D.split(".");let V=F.pop();for(;F.length&&!u(B);)V=`${F.pop()}.${V}`,i(B,$,r.OY,{domain:V});v(B,{domain:V}),T=V}}return T}function _(P,k){try{return P||(0,s.c$)(k).hostname}catch{}}function C(){T=void 0}},25205(f,d,e){"use strict";e.d(d,{h:()=>a});var n=e(25143),r=e(57212);function a(s,i){return(0,n.W)((0,r.VZ)(),"fetch")(s,i)}},46230(f,d,e){"use strict";e.d(d,{i:()=>T});var n=e(28208),r=e(31312),a=e(44170),s=e(97870),i=e(86670),u=e(57212),l=e(72875),m=e(76889);async function g(k){const D=k.getReader(),B=[];for(;;){const $=await D.read();if($.done)break;B.push($.value)}return D.cancel().catch(m.l),(0,l.wh)(B)}var h=e(29860);let v;const x=[];function T({responseBodyAction:k}={}){return k&&x.push(k),v||(v=_()),v}function E(){v=void 0,x.length=0}function _(){return new a.cP(k=>{if(!u.J2.fetch)return;const{stop:D}=(0,n.H)(u.J2,"fetch",B=>C(B,k),{computeHandlingStack:!0});return D})}
1function C({parameters:k,onPostCall:D,handlingStack:B},$){const[F,V]=k;let W=V&&V.method;W===void 0&&F instanceof Request&&(W=F.method);const Z=W!==void 0?String(W).toUpperCase():"GET",J=F instanceof Request?F.url:(0,i.l2)(String(F)),ie=(0,s.M8)(),le={state:"start",init:V,input:F,method:Z,startClocks:ie,url:J,handlingStack:B,isAbortedOnStart:F instanceof Request&&F.signal?.aborted||V?.signal?.aborted||!1};$.notify(le),k[0]=le.input,k[1]=le.init,D(he=>{P($,he,le).catch(r.Dx)})}async function P(k,D,B){const $=B;let F;try{F=await D}catch(W){k.notify({...$,state:"resolve",status:0,isAborted:$.init?.signal?.aborted||W instanceof DOMException&&W.code===DOMException.ABORT_ERR,error:W});return}if($.response=F,$.status=F.status,$.responseType=F.type,$.isAborted=!1,x.reduce((W,Z)=>Math.max(W,Z($)),0)===1){const W=(0,h.i)(F);if(W&&W.body)try{const Z=await g(W.body);$.responseBody=new TextDecoder().decode(Z)}catch{}}k.notify({...$,state:"resolve"})}},72868(f,d,e){"use strict";e.d(d,{Kp:()=>l,_T:()=>u,y5:()=>i});var n=e(44170),r=e(87848),a=e(57212),s=e(82308);const i={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(m){return new n.cP(g=>{if(a.Wq)return;const{stop:h}=(0,s.l)(m,window,["visibilitychange","freeze"],x=>{x.type==="visibilitychange"&&document.visibilityState==="hidden"?g.notify({reason:i.HIDDEN}):x.type==="freeze"&&g.notify({reason:i.FROZEN})},{capture:!0}),v=(0,s.q)(m,window,"beforeunload",()=>{g.notify({reason:i.UNLOADING})}).stop;return()=>{h(),v()}})}function l(m){return(0,r.KQ)(i).includes(m)}},73533(f,d,e){"use strict";e.d(d,{H:()=>a,N:()=>s});var n=e(76889),r=e(82308);function a(i,u,l){if(document.readyState===u||document.readyState==="complete")return l(),{stop:n.l};const m=u==="complete"?"load":"DOMContentLoaded";return(0,r.q)(i,window,m,l,{once:!0})}function s(i,u){return new Promise(l=>{a(i,u,l)})}},47822(f,d,e){"use strict";e.d(d,{G:()=>g});var n=e(28208),r=e(44170),a=e(97870),s=e(86670),i=e(57212),u=e(82308);let l;const m=new WeakMap;function g(_){return l||(l=h(_)),l}function h(_){return"XMLHttpRequest"in i.J2?new r.cP(C=>{const{stop:P}=(0,n.H)(XMLHttpRequest.prototype,"open",v),{stop:k}=(0,n.H)(XMLHttpRequest.prototype,"send",B=>{x(B,_,C)},{computeHandlingStack:!0}),{stop:D}=(0,n.H)(XMLHttpRequest.prototype,"abort",T);return()=>{P(),k(),D()}}):new r.cP}function v({target:_,parameters:[C,P]}){m.set(_,{state:"open",method:String(C).toUpperCase(),url:(0,s.l2)(String(P))})}function x({target:_,parameters:[C],handlingStack:P},k,D){const B=m.get(_);if(!B)return;const $=B;$.state="start",$.startClocks=(0,a.M8)(),$.isAborted=!1,$.xhr=_,$.handlingStack=P,$.requestBody=C;let F=!1;const{stop:V}=(0,n.H)(_,"onreadystatechange",()=>{_.readyState===XMLHttpRequest.DONE&&W()}),W=()=>{if(Z(),V(),F)return;F=!0;const J=B;J.duration=(0,a.vk)($.startClocks.timeStamp,(0,a.nx)()),J.status=_.status,typeof _.response=="string"&&(J.responseBody=_.response),D.notify({...J,state:"complete"})},{stop:Z}=(0,u.q)(k,_,"loadend",W);D.notify($)}function T({target:_}){const C=m.get(_);C&&(C.isAborted=!0)}function E(){l=void 0}},6951(f,d,e){"use strict";e.d(d,{t:()=>ie});var n=e(44170),r=e(95398),a=e(46230),s=e(47822),i=e(59112),u=e(57911),l=e(28208),m=e(97870),g=e(62398),h=e(57212),v=e(95511),x=e(69991);function T(){return new n.cP(le=>{const he=(Fe,Je)=>{const Xe=(0,v.As)({stackTrace:Je,originalError:Fe,startClocks:(0,m.M8)(),nonErrorPrefix:"Uncaught",source:x.g.SOURCE,handling:"unhandled"});le.notify(Xe)},{stop:me}=E(he),{stop:je}=_(he);return()=>{me(),je()}})}function E(le){return(0,l.H)((0,h.VZ)(),"onerror",({parameters:[he,me,je,Fe,Je]})=>{let Xe;(0,v.bJ)(Je)||(Xe=(0,g.h)(he,me,je,Fe)),le(Je??he,Xe)})}function _(le){return(0,l.H)((0,h.VZ)(),"onunhandledrejection",({parameters:[he]})=>{le(he.reason||"Empty reason")})}var C=e(31312),P=e(70301),k=e(36351),D=e(86849);let B={};function $(le){const he=le.map(me=>(B[me]||(B[me]=V(me)),B[me]));return(0,n.Fx)(...he)}function F(){B={}}function V(le){return new n.cP(he=>{const me=i.JZ[le];return i.JZ[le]=(...je)=>{me.apply(console,je);const Fe=(0,D.uC)("console error");(0,C.um)(()=>{he.notify(W(je,le,Fe))})},()=>{i.JZ[le]=me}})}function W(le,he,me){const je=le.map(Fe=>Z(Fe)).join(" ");if(he===i.bP.error){const Fe=le.find(v.bJ),Je=(0,v.As)({originalError:Fe,handlingStack:me,startClocks:(0,m.M8)(),source:x.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return Je.message=je,{api:he,message:je,handlingStack:me,error:Je}}return{api:he,message:je,error:void 0,handlingStack:me}}function Z(le){return typeof le=="string"?(0,P.a)(le):(0,v.bJ)(le)?(0,D.NR)((0,g.T)(le)):(0,k.s)((0,P.a)(le),void 0,2)}const J=500;function ie(){const le=new n.dX(J,je=>{(0,u.A2)("Early data collection dropped data on unbuffer",{count:je})}),he=[];function me(je,Fe){he.push(Fe.subscribe(Je=>{le.notify({type:je,data:Je})}))}return me(0,(0,r.B)(T)()),me(1,(0,a.i)()),me(2,(0,s.G)({allowUntrustedEvents:!0})),me(3,$(Object.values(i.bP))),{observable:le,stop:()=>he.forEach(je=>je.unsubscribe())}}},84644(f,d,e){"use strict";e.d(d,{WA:()=>P,uT:()=>k,bX:()=>$,hO:()=>V,Sz:()=>F});var n=e(30557),r=e(59112),a=e(67954),s=e(41160),i=e(52080),u=e(686),l=e(57212),m=e(52206),g=e(95398);const h=["chrome-extension://","moz-extension://"];function v(W){return h.some(Z=>W.includes(Z))}function x(W,Z=""){if(v(W))return!1;const ie=Z.split(` 2`).filter(le=>{const he=le.trim();return he.length&&/^at\s+|@/.test(he)})[1]||"";return v(ie)}const T="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",E="SDK initialized on a non-allowed domain.";function _(W,Z){const J=(0,g.B)((0,l.VZ)().location),ie=J?J.origin:"",le=W.allowedTrackingOrigins;if(!le)return x(ie,Z)?(r.Vy.error(T),!1):!0;const he=(0,m.K)(le,ie);return he||r.Vy.error(E),he}var C=e(11989);const P={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},k={ALL:"all",SAMPLED:"sampled"};function D(W,Z){return W!=null&&typeof W!="string"?(r.Vy.error(`${Z} must be defined as a string`),!1):!0}function B(W){return W&&typeof W=="string"&&!/(datadog|ddog|datad0g|dd0g)/.test(W)?(r.Vy.error(`Site should be a valid Datadog site. ${r.xG} ${r.fH}/getting_started/site/.`),!1):!0}function $(W,Z){return W!==void 0&&!(0,a.fp)(W)?(r.Vy.error(`${Z} Sample Rate should be a number between 0 and 100`),!1):!0}function F(W,Z){if(!W||!W.clientToken){r.Vy.error("Client Token is not configured, we will not send any data.");return}if(W.allowedTrackingOrigins!==void 0&&!Array.isArray(W.allowedTrackingOrigins)){r.Vy.error("Allowed Tracking Origins must be an array");return}if(!(!B(W.site)||!$(W.sessionSampleRate,"Session")||!$(W.telemetrySampleRate,"Telemetry")||!$(W.telemetryConfigurationSampleRate,"Telemetry Configuration")||!$(W.telemetryUsageSampleRate,"Telemetry Usage")||!D(W.ver
2sion,"Version")||!D(W.env,"Env")||!D(W.service,"Service")||!_(W,Z??""))){if(W.trackingConsent!==void 0&&!(0,s.Rj)(u.w,W.trackingConsent)){r.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:W.beforeSend&&(0,n.y)(W.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(0,i.n)(W),sessionSampleRate:W.sessionSampleRate??100,telemetrySampleRate:W.telemetrySampleRate??20,telemetryConfigurationSampleRate:W.telemetryConfigurationSampleRate??5,telemetryUsageSampleRate:W.telemetryUsageSampleRate??5,service:W.service??void 0,env:W.env??void 0,version:W.version??void 0,datacenter:W.datacenter??void 0,silentMultipleInit:!!W.silentMultipleInit,allowUntrustedEvents:!!W.allowUntrustedEvents,trackingConsent:W.trackingConsent??u.w.GRANTED,trackAnonymousUser:W.trackAnonymousUser??!0,storeContextsAcrossPages:!!W.storeContextsAcrossPages,variant:W.variant,sdkVersion:W.sdkVersion,...(0,C.T)(W)}}}function V(W){return{session_sample_rate:W.sessionSampleRate,telemetry_sample_rate:W.telemetrySampleRate,telemetry_configuration_sample_rate:W.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:W.telemetryUsageSampleRate,use_before_send:!!W.beforeSend,use_partitioned_cross_site_session_cookie:W.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:W.useSecureSessionCookie,use_proxy:!!W.proxy,silent_multiple_init:W.silentMultipleInit,track_session_across_subdomains:W.trackSessionAcrossSubdomains,track_anonymous_user:W.trackAnonymousUser,session_persistence:Array.isArray(W.sessionPersistence)?W.sessionPersistence[0]:W.sessionPersistence,store_contexts_across_pages:!!W.storeContextsAcrossPages,allow_untrusted_events:!!W.allowUntrustedEvents,tracking_consent:W.trackingConsent,use_allowed_tracking_origins:Array.isArray(W.allowedTrackingOrigins),source:W.source,sdk_version:W.sdkVersion,variant:W.variant}}},73922(f,d,e){"use strict";e.d(d,{G:()=>l,n:()=>i});var n=e(97870),r=e(86670),a=e(61370),s=e(84335);function i(g,h,v){const x=u(g,h);return{build(T,E){const _=m(g,h,T,E,v);return x(_)},trackType:h}}function u(g,h){const v=`/api/v2/${h}`,x=g.proxy;if(typeof x=="string"){const E=(0,r.l2)(x);return _=>`${E}?ddforward=${encodeURIComponent(`${v}?${_}`)}`}if(typeof x=="function")return E=>x({path:v,parameters:E});const T=l(g);return E=>`https://${T}${v}?${E}`}function l(g){const{site:h=s.NW}=g,v=h.split("."),x=v.pop();return`browser-intake-${v.join("-")}.${x}`}function m({clientToken:g,source:h="browser"},v,x,{retry:T,encoding:E},_=[]){const C=[`ddsource=${h}`,`dd-api-key=${g}`,`dd-evp-origin-version=${encodeURIComponent("7.1.0")}`,"dd-evp-origin=browser",`dd-request-id=${(0,a.lk)()}`].concat(_);return E&&C.push(`dd-evp-encoding=${E}`),v==="rum"&&(C.push(`batch_time=${(0,n.nx)()}`,`_dd.api=${x}`),T&&C.push(`_dd.retry_count=${T.count}`,`_dd.retry_after=${T.lastFailureStatus}`)),C.join("&")}},11989(f,d,e){"use strict";e.d(d,{T:()=>a,w:()=>l});var n=e(84335),r=e(73922);function a(m){const g=m.site||n.NW,h=s(m.source),v=i({...m,site:g,source:h});return{replica:u({...m,site:g,source:h}),site:g,source:h,...v}}function s(m){return m==="flutter"||m==="unity"?m:"browser"}function i(m){return{logsEndpointBuilder:(0,r.n)(m,"logs"),rumEndpointBuilder:(0,r.n)(m,"rum"),profilingEndpointBuilder:(0,r.n)(m,"profile"),sessionReplayEndpointBuilder:(0,r.n)(m,"replay"),exposuresEndpointBuilder:(0,r.n)(m,"exposures"),flagEvaluationEndpointBuilder:(0,r.n)(m,"flagevaluation")}}function u(m){if(!m.replica)return;const g={...m,site:n.NW,clientToken:m.replica.clientToken};return{logsEndpointBuilder:(0,r.n)(g,"logs"),rumEndpointBuilder:(0,r.n)(g,"rum",[`application.id=${m.replica.applicationId}`])}}function l(m){return n.Ih.every(g=>m.includes(g))}},64664(f,d,e){"use strict";e.d(d,{q:()=>r});var n=e(57212);function r(){const a=n.J2.navigator;return{status:a.onLine?"connected":"not_connected",interfaces:a.connection&&a.connection.type?[a.connection.type]:void 0,effective_type:a.connection?.effectiveType}}},91371(f,d,e){"use strict";e.d(d,{N:()=>n,Q:()=>r});const n={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},r={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"}},82678(f,d,e){"use strict";e.d(d,{D:()=>g});var n=e(7996),r=e(70301),a=e(44170),s=e(59112),i=e(62453);function u(h){const v=(0,i.P)(h)==="object";return v||s.Vy.error("Unsupported context:",h),v}function l(h,v,x){const T={...h};for(const[E,{required:_,type:C}]of Object.entries(v))C==="string"&&!m(T[E])&&(T[E]=String(T[E])),_&&m(T[E])&&s.Vy.warn(`The property ${E} of ${x} is required; context will not be sent to the intake.`);return T}function m(h){return h==null||h===""}function g(h="",{propertiesConfig:v={}}={}){let x={};const T=new a.cP,E={getContext:()=>(0,n.Go)(x),setContext:_=>{u(_)?x=(0,r.a)(l(_,v,h)):E.clearContext(),T.notify()},setContextProperty:(_,C)=>{x=(0,r.a)(l({...x,[_]:C},v,h)),T.notify()},removeContextProperty:_=>{delete x[_],l(x,v,h),T.notify()},clearContext:()=>{x={},T.notify()},changeObservable:T};return E}},55700(f,d,e){"use strict";e.d(d,{P:()=>s,q:()=>a});var n=e(57911),r=e(31312);function a(i,u,l,m){return(0,r.dm)((...g)=>(m&&(0,n.Q6)({feature:m}),i()[u][l](...g)))}function s(i,u,l){i.changeObservable.subscribe(()=>{const m=i.getContext();l.notify(g=>g[u].setContext(m))})}},33876(f,d,e){"use strict";e.d(d,{Ck:()=>u});var n=e(82308),r=e(7996),a=e(41160);const s="_dd_c",i=[];function u(g,h,v,x){const T=l(v,x);i.push((0,n.q)(g,window,"storage",({key:k})=>{T===k&&_()})),h.changeObservable.subscribe(C);const E=(0,r.kg)(P(),h.getContext());(0,a.RI)(E)||h.setContext(E);function _(){h.setContext(P())}function C(){localStorage.setItem(T,JSON.stringify(h.getContext()))}function P(){const k=localStorage.getItem(T);return k?JSON.parse(k):{}}}function l(g,h){return`${s}_${g}_${h}`}function m(){i.map(g=>g.stop())}},3744(f,d,e){"use strict";e.d(d,{B:()=>i,K:()=>u});var n=e(33876),r=e(80692),a=e(41160),s=e(82678);function i(l,m,g){const h=u();return m.storeContextsAcrossPages&&(0,n.Ck)(m,h,g,4),l.register(0,()=>{const v=h.getContext();return(0,a.RI)(v)||!v.id?r.$O:{account:v}}),h}function u(){return(0,s.D)("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}},97238(f,d,e){"use strict";e.d(d,{F:()=>a,s:()=>s});var n=e(33876),r=e(82678);function a(i,u,l,m){const g=s();return u.storeContextsAcrossPages&&(0,n.Ck)(u,g,l,2),i.register(0,()=>{const h=g.getContext();return m?{context:h}:h}),g}function s(){return(0,r.D)("global context")}},3504(f,d,e){"use strict";e.d(d,{j3:()=>i});var n=e(61370);const r="_dd_tab_id";let a;function s(){a=void 0}function i(m){const g=u();m.register(0,()=>({tab:{id:g}}))}function u(){return a||(a=l()??(0,n.lk)()),a}function l(){try{const m=sessionStorage.getItem(r);if(m)return m;const g=(0,n.lk)();return sessionStorage.setItem(r,g),g}catch{return}}},68704(f,d,e){"use strict";e.d(d,{l:()=>r});var n=e(80692);function r(a,s,i){a.register(1,({startTime:u})=>{const l=s.findTrackedSession(u);return l?{session:{id:l.id},anonymous_id:l.anonymousId,...i}:n.$O})}},5266(f,d,e){"use strict";e.d(d,{$:()=>i,Y:()=>u});var n=e(33876),r=e(80692),a=e(82678),s=e(41160);function i(l,m,g,h){const v=u();return m.storeContextsAcrossPages&&(0,n.Ck)(m,v,h,1),l.register(0,({eventType:x,startTime:T})=>{const E=v.getContext(),_=g.findTrackedSession(T);return _&&_.anonymousId&&!E.anonymous_id&&m.trackAnonymousUser&&(E.anonymous_id=_.anonymousId),(0,s.RI)(E)?r.$O:{type:x,usr:E}}),v}function u(){return(0,a.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},95511(f,d,e){"use strict";e.d(d,{$X:()=>x,As:()=>m,bJ:()=>T,e6:()=>u});var n=e(70301),r=e(36351),a=e(62398),s=e(86849),i=e(62453);const u="No stack, consider using an instance of Error";function l({originalError:_,stackTrace:C,source:P,useFallbackStack:k=!0,nonErrorPrefix:D}){const B=T(_);return!C&&B&&(C=(0,a.T)(_)),{source:P,type:C?C.name:void 0,message:g(C,B,D,_),stack:C?(0,s.Yn)(C):k?u:void 0}}function m({stackTrace:_,originalError:C,handlingStack:P,componentStack:k,startClocks:D,nonErrorPrefix:B,useFallbackStack:$=!0,source:F,handling:V}){const W=l({originalError:C,stackTrace:_,source:F,useFallbackStack:$,nonErrorPrefix:B});return{startClocks:D,handling:V,handlingStack:P,componentStack:k,originalError:C,...W,causes:T(C)?E(C,F):void 0,fingerprint:h(C),context:v(C)}}function g(_,C,P,k){return _?.message&&_?.name?_.message:C?"Empty message":P?`${P} ${(0,r.s)((0,n.a)(k))}`:(0,r.s)((0,n.a)(k))}function h(_){return T(_)&&"dd_fingerprint"in _?String(_.dd_fingerprint):void 0}function v(_){if((0,i.O)(_))return _.dd_context}function x(_){return/@ (.+)/.exec(_)?.[1]}function T(_){return _ instanceof Error||Object.prototype.toString.call(_)==="[object Error]"}function E(_,C){const P=[];let k=_.cause;for(;k!=null&&P.length<10;){const D=l({originalError:k,source:C,useFallbackStack:!1});P.push(D),k=T(k)?k.cause:void 0}return P.length?P:void 0}},69991(f,d,e){"use strict";e.d(d,{g:()=>n});const n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},57802(f,d,e){"use strict";e.d(d,{$:()=>i});var n=e(98767),r=e(97870),a=e(69991);const s=3e3;function i(u,l,m=s){let g=0,h=!1;return{isLimitReached(){if(g===0&&(0,n.wg)(()=>{g=0},r.iW),g+=1,g<=m||h)return h=!1,!1;if(g===m+1){h=!0;try{l({message:`Reached max number of ${u}s by minute: ${m}`,source:a.g.AGENT,startClocks:(0,r.M8)()})}finally{h=!1}}return!0}}}},84335(f,d,e){"use strict";e.d(d,{Bb:()=>n,Ih:()=>u,KG:()=>i,NW:()=>r,R8:()=>s,dV:()=>a});const n="datad0g.com",r="datadoghq.com",a="datadoghq.eu",s="ddog-gov.com",i="us2.ddog-gov.com",u=["ddsource","dd-api-key","dd-request-id"]},6623(f,d,e){"use strict";e.d(d,{V:()=>m,u:()=>g});var n=e(86849),r=e(31312),a=e(44170),s=e(82308),i=e(61370),u=e(69991),l=e(97870);const m={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function g(C,P){const k=[];P.includes(m.cspViolation)&&k.push(v(C));const D=P.filter(B=>B!==m.cspViolation);return D.length&&k.push(h(D)),(0,a.Fx)(...k)}function h(C){return new a.cP(P=>{if(!window.ReportingObserver)return;const k=(0,r.dm)((B,$)=>
2B.forEach(F=>P.notify(x(F)))),D=new window.ReportingObserver(k,{types:C,buffered:!0});return D.observe(),()=>{D.disconnect()}})}function v(C){return new a.cP(P=>{const{stop:k}=(0,s.q)(C,document,"securitypolicyviolation",D=>{P.notify(T(D))});return k})}function x(C){const{type:P,body:k}=C;return E({type:k.id,message:`${P}: ${k.message}`,originalError:C,stack:_(k.id,k.message,k.sourceFile,k.lineNumber,k.columnNumber)})}function T(C){const P=`'${C.blockedURI}' blocked by '${C.effectiveDirective}' directive`;return E({type:C.effectiveDirective,message:`${m.cspViolation}: ${P}`,originalError:C,csp:{disposition:C.disposition},stack:_(C.effectiveDirective,C.originalPolicy?`${P} of the policy "${(0,i._R)(C.originalPolicy,100,"...")}"`:"no policy",C.sourceFile,C.lineNumber,C.columnNumber)})}function E(C){return{startClocks:(0,l.M8)(),source:u.g.REPORT,handling:"unhandled",...C}}function _(C,P,k,D,B){return k?(0,n.Yn)({name:C,message:P,stack:[{func:"?",url:k,line:D??void 0,column:B??void 0}]}):void 0}},65286(f,d,e){"use strict";e.d(d,{Y:()=>r,v:()=>n});const n={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},r={FETCH:n.FETCH,XHR:n.XHR}},47035(f,d,e){"use strict";e.d(d,{$5:()=>a,it:()=>n});function n(u,l){return u*l/100}const r=new Map;function a(u,l){if(l===100)return!0;if(l===0)return!1;const m=r.get(l);if(m&&u===m.sessionId)return m.decision;const g=i(BigInt(`0x${u.split("-")[4]}`),l);return r.set(l,{sessionId:u,decision:g}),g}function s(){r.clear()}function i(u,l){const m=1111111111111111111n,g=2n**64n,h=u*m%g;return Number(h)<=l/100*Number(g)}},26711(f,d,e){"use strict";e.d(d,{AQ:()=>r,HB:()=>a,Q_:()=>u,_P:()=>s});var n=e(97870);const r=4*n.MA,a=15*n.iW,s=n.$H,i="0",u={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},22009(f,d,e){"use strict";e.d(d,{Ql:()=>Z,ox:()=>W});var n=e(44170),r=e(96687),a=e(97870),s=e(82308),i=e(98767),u=e(95398),l=e(76889),m=e(61370),g=e(57212),h=e(59112),v=e(47035),x=e(57911),T=e(31312),E=e(75427),_=e(86525),C=e(66675),P=e(26711),k=e(48457),D=e(52080);const B=a.iW,$=P.AQ,F=a.MA*12;let V=[];async function W(me,je){const Fe=(0,a.$S)(),Je=new n.cP,Xe=new n.cP;let ge;if(!me.sessionStoreStrategyType){h.Vy.warn("No storage available for session. We will not send any data.");return}const be=(0,u.B)(D.p)(me.sessionStoreStrategyType,me),Ie=(0,r.qj)({expireDelay:$});V.push(()=>Ie.stop());let Re=!1;const{throttled:ye,cancel:De}=(0,l.n)(()=>{Re=!1,be.setSessionState(Kr=>(0,k.tw)(Kr,me)).catch(T.Dx)},a.OY);V.push(De);let $e;V.push(()=>(0,i.DJ)($e));let qe=!1;V.push(()=>{qe=!0});const It=await mt().catch(T.Dx);if(!It||qe)return;if(!je.isGranted()){Gr();return}return Ie.add(dn(It),(0,a.Oc)().relative),Ut(It),kt(),Ir(),(0,x.Gk)("Session manager init metrics",{metrics:{duration:(0,a.vk)(Fe,(0,a.$S)())}}),Sr();async function mt(){let Kr={};return await be.setSessionState(yt=>{const tt=(0,k.T7)(yt,me);return Kr=(0,k.tw)(tt,me),Kr}),Kr}function kt(){const Kr=be.sessionObservable.subscribe(({cookieValues:yt,sessionState:tt})=>{Ut(tt),Yr(tt,{from:"sessionObservable",cookieValues:yt})});V.push(()=>Kr.unsubscribe())}function Ut(Kr){(0,i.DJ)($e);const yt=(0,k.Ad)(Kr);if(yt){const tt=yt-(0,a.x3)();$e=(0,i.wg)(()=>{be.setSessionState(Ar=>(0,k.W3)(Ar)?(je.isGranted()||delete Ar.anonymousId,(0,k.zn)(Ar,me)):Ar).catch(T.Dx)},tt)}}function Ir(){je.observable.subscribe(()=>{je.isGranted()?(Re=!1,be.setSessionState(Kr=>(0,k.tw)(Kr,me)).catch(T.Dx)):Gr()}),g.Wq||(ie(me,()=>{je.isGranted()&&ye()}),le(me,()=>{Re||be.setSessionState(Kr=>(0,k.DE)(Kr)).catch(T.Dx)}),he(me,()=>{be.setSessionState(Kr=>(0,k.T7)(Kr,me)).catch(T.Dx)}))}function Sr(){return{findSession:(Kr,yt)=>Ie.find(Kr,yt),findTrackedSession:(Kr,yt)=>{const tt=Ie.find(Kr,yt);if(!(!tt||tt.id==="invalid"||!(0,v.$5)(tt.id,me.sessionSampleRate))&&!((0,a.x3)()-tt.createdAt>F))return tt},renewObservable:Je,expireObservable:Xe,expire:Gr,updateSessionState:Kr=>{be.setSessionState(yt=>({...yt,...Kr})).catch(T.Dx)}}}function Yr(Kr,{from:yt,cookieValues:tt}){const Ar=Ie.find(),Mr=Ar?.id!==void 0,Er=Kr.id!==void 0,Ur=Mr&&Er&&Ar.id!==Kr.id;if(Mr&&(!Er||Ur)&&((0,_.sr)(_.R9.SESSION_RENEWAL_DEBUG_CONTEXT)&&(ge={previousSession:Ar&&{...Ar},newState:{...Kr},from:yt,cookieValues:tt,cookies:(0,E.OR)(C.Z),locksAvailable:!!globalThis.navigator?.locks,cookieStoreAvailable:!!globalThis.cookieStore}),Re=!0,Xe.notify(),Ie.closeActive((0,a.$S)())),Er&&(!Mr||Ur)){if(Re)return;Ie.add(dn(Kr),(0,a.$S)()),Je.notify((0,_.sr)(_.R9.SESSION_RENEWAL_DEBUG_CONTEXT)?{expire:ge,renew:{previousSession:Ar&&{...Ar},newState:{...Kr},from:yt,cookieValues:tt,cookies:(0,E.OR)(C.Z),locksAvailable:!!globalThis.navigator?.locks,cookieStoreAvailable:!!globalThis.cookieStore}}:void 0)}else Mr&&Er&&!Ur&&(Ar.isReplayForced=!!Kr.forcedReplay)}function Gr(){De();const Kr=(0,k.zn)(Ie.find(),me);je.isGranted()||delete Kr.anonymousId,Yr(Kr,{from:"expire"}),be.setSessionState(yt=>(je.isGranted()||delete yt.anonymousId,(0,k.zn)(yt,me))).catch(T.Dx)}function dn(Kr){const yt=(0,k.bH)(Kr)??(0,a.nx)();return Kr.id?{id:Kr.id,isReplayForced:!!Kr.forcedReplay,anonymousId:Kr.anonymousId,createdAt:yt}:{id:"invalid",isReplayForced:!1,anonymousId:void 0,createdAt:yt}}}function Z(){let je={id:(0,m.lk)(),isReplayForced:!1,anonymousId:void 0,createdAt:(0,a.nx)()};return Promise.resolve({findSession:()=>je,findTrackedSession:()=>je,renewObservable:new n.cP,expireObservable:new n.cP,expire:l.l,updateSessionState:Fe=>{je={...je,...Fe}}})}
2function J(){V.forEach(me=>me()),V=[]}function ie(me,je){const{stop:Fe}=(0,s.l)(me,window,["click","touchstart","keydown","scroll"],je,{capture:!0,passive:!0});V.push(Fe)}function le(me,je){const Fe=()=>{document.visibilityState==="visible"&&je()},{stop:Je}=(0,s.q)(me,document,"visibilitychange",Fe);V.push(Je);const Xe=(0,i.yb)(Fe,B);V.push(()=>{(0,i.vG)(Xe)})}function he(me,je){const{stop:Fe}=(0,s.q)(me,window,"resume",je,{capture:!0});V.push(Fe)}},48457(f,d,e){"use strict";e.d(d,{DE:()=>F,tw:()=>$,bH:()=>h,Ad:()=>v,zn:()=>x,T7:()=>B,W3:()=>_,TE:()=>T,H9:()=>D,D9:()=>k});var n=e(41160),r=e(87848),a=e(97870),s=e(61370),i=e(26711);const u=/^([a-zA-Z]+)=([a-z0-9-]+)$/,l="&";function m(V){return!!V&&(V.indexOf(l)!==-1||u.test(V))}const g="1";function h(V){return V.created?Number(V.created):void 0}function v(V){const W=V.expire&&Number(V.expire),Z=h(V);if(W&&Z)return Math.min(W,Z+i.AQ)}function x(V,W){const Z={isExpired:g};return W.trackAnonymousUser&&V?.anonymousId&&(Z.anonymousId=V?.anonymousId),Z}function T(V){return(0,n.RI)(V)}function E(V){return!T(V)}function _(V){return V.isExpired!==void 0||!C(V)}function C(V){const W=v(V);return W?(0,a.x3)()<W:!1}function P(V){V.expire=String((0,a.x3)()+i.HB)}function k(V){return(0,r.WP)(V).map(([W,Z])=>W==="anonymousId"?`aid=${Z}`:`${W}=${Z}`).join(l)}function D(V){const W={};return m(V)&&V.split(l).forEach(Z=>{const J=u.exec(Z);if(J!==null){const[,ie,le]=J;ie==="aid"?W.anonymousId=le:W[ie]=le}}),W}function B(V,W){return T(V)?(W.trackAnonymousUser&&(V.anonymousId=(0,s.lk)()),x(V,W)):V}function $(V,W){if(T(V))return V;let Z=V;return _(V)&&(Z=x(V,W)),Z.id||(Z.id=(0,s.lk)(),Z.created=String((0,a.x3)())),W.trackAnonymousUser&&!Z.anonymousId&&(Z.anonymousId=(0,s.lk)()),delete Z.isExpired,P(Z),Z}function F(V){return _(V)||T(V)||!V.id||P(V),V}},52080(f,d,e){"use strict";e.d(d,{p:()=>Ie,n:()=>Xe});var n=e(57212),r=e(59112),a=e(26711),s=e(41160),i=e(75427),u=e(48457),l=e(44170),m=e(95398),g=e(31312),h=e(98767),v=e(97870),x=e(57911),T=e(82308);function E(Re,ye,De){const $e=(0,m.B)(window.cookieStore);return $e?_(Re,ye,De,$e):P(Re,De)}function _(Re,ye,De,$e){const qe=new l.cP(()=>(0,T.q)(ye,$e,"change",mt=>{(mt.changed.some(Ut=>Ut.name===Re)||mt.deleted.some(Ut=>Ut.name===Re))&&qe.notify()}).stop);return{async getAll(){return(await $e.getAll(Re)).map(mt=>mt.value)},async getAllAndSet(It){const mt=await $e.getAll(Re),kt=mt.map(Sr=>Sr.value),{value:Ut,expireDelay:Ir}=It(kt);try{await $e.set({name:Re,value:Ut,expires:(0,v.x3)()+Ir,path:"/",sameSite:De.crossSite?"none":"strict",domain:De.domain,secure:De.secure,partitioned:De.partitioned})}catch(Sr){const Yr=(0,i.OR)(Re);(0,x.A2)("Failed to set cookie using Cookie Store API",{"error.message":Sr.message,newValue:Ut,cookieOptions:{...De},cookies:mt.map(Gr=>({...Gr})),cookieCount:mt.length,documentCookies:Yr})}},observable:qe}}const C=v.OY;function P(Re,ye){let De=(0,i.OR)(Re);const $e=new l.cP(()=>{const It=(0,h.yb)(()=>{const mt=(0,i.OR)(Re);qe(mt)},C);return()=>{(0,h.vG)(It)}});function qe(It){String(It)!==String(De)&&(De=It,$e.notify())}return{getAll(){return Promise.resolve((0,i.OR)(Re))},async getAllAndSet(It){const mt=(0,i.OR)(Re),{value:kt,expireDelay:Ut}=It(mt);(0,i.TV)(Re,kt,Ut,ye),await Promise.resolve(),qe([kt])},observable:$e}}var k=e(66675);const D=0;function B(Re){const ye=Z(Re);return ye&&(0,i.z$)(ye)?{type:a.Q_.COOKIE,cookieOptions:ye}:void 0}let $;function F(Re,ye){const De=new l.cP,$e=!!ye.trackAnonymousUser,qe=J(Re),It=(0,m.B)(E)(k.Z,ye,Re);let mt=!0;It.observable.subscribe(()=>{It.getAll().then(Ut=>{De.notify({cookieValues:Ut,sessionState:V(Ut,qe)})}).catch(g.Dx)});function kt(Ut){return It.getAllAndSet(Ir=>{let Sr=V(Ir,qe);mt&&(0,s.RI)(Sr)&&(Sr=V((0,i.OR)(k.R),qe)),mt=!1;const Yr=Ut(Sr),Gr=W(Yr,Re),dn=$e?a._P:a.AQ;return{value:Gr,expireDelay:dn}})}return{async setSessionState(Ut){typeof navigator<"u"&&navigator.locks?await navigator.locks.request(k.Z,()=>kt(Ut)):($=($??Promise.resolve()).then(()=>kt(Ut)),await $)},sessionObservable:De}}function V(Re,ye){let De;for(const $e of Re.slice().reverse())if(De=(0,u.H9)($e),De.c===ye)break;return delete De?.c,De??{}}function W(Re,ye){return(0,u.D9)((0,s.RI)(Re)?Re:{...Re,c:J(ye)})}function Z(Re){const ye={};if(ye.secure=!!Re.useSecureSessionCookie||!!Re.usePartitionedCrossSiteSessionCookie,ye.crossSite=!!Re.usePartitionedCrossSiteSessionCookie,ye.partitioned=!!Re.usePartitionedCrossSiteSessionCookie,Re.trackSessionAcrossSubdomains){const De=(0,i.DQ)();if(!De)return;ye.domain=De}return ye}function J(Re){const ye=Re.domain?Re.domain.split(".").length-1:0;let De=0;return De|=D<<5,De|=ye<<1,De|=Re.crossSite?1:0,De.toString(16)}var ie=e(61370);const le="_dd_test_";function he(){try{const Re=(0,ie.lk)(),ye=`${le}${Re}`;localStorage.setItem(ye,Re);const De=localStorage.getItem(ye);return localStorage.removeItem(ye),Re===De?{type:a.Q_.LOCAL_STORAGE}:void 0}catch{return}}function me(Re){const ye=new l.cP($e=>(0,T.q)(Re,window,"storage",qe=>{qe.key===k.Z&&qe.storageArea===localStorage&&$e.notify({sessionState:(0,u.H9)(qe.newValue)})}).stop);let De=!0;return{async setSessionState($e){let qe=(0,u.H9)(localStorage.getItem(k.Z));De&&(0,u.TE)(qe)&&(qe=(0,u.H9)(localStorage.getItem(k.R))),De=!1;const It=$e(qe);localStorage.setItem(k.Z,(0,u.D9)(It)),await Promise.resolve(),ye.notify({sessionState:It})},sessionObservable:ye}}const je="_DD_SESSION";function Fe(){return{type:a.Q_.MEMORY}}function Je(){const Re=(0,n.VZ)();Re[je]||(Re[je]={});
2const ye=Re[je],De=new l.cP,$e=ye.onChange;return ye.onChange=qe=>{$e?.(qe),De.notify({sessionState:qe})},{async setSessionState(qe){const It=ye.state??{},mt=(0,s.yG)(qe(It));ye.state=mt,await Promise.resolve(),ye.onChange?.(mt)},sessionObservable:De}}function Xe(Re){const{sessionPersistence:ye}=Re,De=ge(ye);for(const $e of De){const qe=be($e,Re);if(qe!==void 0)return qe}}function ge(Re){return Array.isArray(Re)?Re:Re!==void 0?[Re]:n.Wq?[a.Q_.MEMORY]:[a.Q_.COOKIE]}function be(Re,ye){switch(Re){case a.Q_.COOKIE:return B(ye);case a.Q_.LOCAL_STORAGE:return he();case a.Q_.MEMORY:return Fe();default:r.Vy.error(`Invalid session persistence '${String(Re)}'`);return}}function Ie(Re,ye){switch(Re.type){case a.Q_.COOKIE:return F(Re.cookieOptions,ye);case a.Q_.LOCAL_STORAGE:return me(ye);case a.Q_.MEMORY:return Je()}}},66675(f,d,e){"use strict";e.d(d,{R:()=>r,Z:()=>n});const n="_dd_s_v2",r="_dd_s"},20182(f,d,e){"use strict";e.d(d,{Fs:()=>v,IM:()=>h,ao:()=>g});var n=e(75427),r=e(57212),a=e(41160);const s="datadog-synthetics-",i=`${s}public-id`,u=`${s}result-id`,l=`${s}injects-rum`,m=`${s}rum-context`;function g(){return r.Wq?!1:!!(r.J2._DATADOG_SYNTHETICS_INJECTS_RUM||(0,n.B9)(l))}function h(){const E=x();return T(E)?E:void 0}function v(){return!!h()}function x(){const E=r.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(E)return E;const _=(0,n.B9)(m);return _?(0,a.XU)(decodeURIComponent(_)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,n.B9)(i),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||(0,n.B9)(u)}}function T(E){return typeof E=="object"&&E!==null&&typeof E.test_id=="string"&&typeof E.result_id=="string"}},26622(f,d,e){"use strict";e.d(d,{NQ:()=>s,iP:()=>i,m5:()=>a});var n=e(59112);const r=200;function a(l){const{env:m,service:g,version:h,datacenter:v,sdkVersion:x,variant:T}=l,E=[s("sdk_version",x??"7.1.0")];return m&&E.push(s("env",m)),g&&E.push(s("service",g)),h&&E.push(s("version",h)),v&&E.push(s("datacenter",v)),T&&E.push(s("variant",T)),E}function s(l,m){const g=m?`${l}:${m}`:l;return(g.length>r||u(g))&&n.Vy.warn(`Tag ${g} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),i(g)}function i(l){return l.replace(/,/g,"_")}function u(l){return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(l)}},57911(f,d,e){"use strict";e.d(d,{Rr:()=>De,A2:()=>Re,VJ:()=>ye,Gk:()=>$e,Q6:()=>qe,a5:()=>Fe});var n=e(59112),r=e(95511),a=e(86849),s=e(86525),i=e(26622),u=e(84335),l=e(44170),m=e(97870),g=e(31312),h=e(73594),v=e(67954),x=e(36351),T=e(7996),E=e(62398),_=e(64664),C=e(60797),P=e(8900),k=e(95582),D=e(69174),B=e(47354),$=e(72868),F=e(80692),V=e(57212),W=e(76889);const Z={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},J=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],ie=1,le=[u.R8,u.KG],he=15;let me;function je(){return me||(me=new l.dX(100)),me}function Fe(kt,Ut,Ir){const Sr=new l.cP,{enabled:Yr,metricsEnabled:Gr}=Je(kt,Ut,Ir,Sr),{stop:dn}=Xe(Ut,Sr);return{stop:dn,enabled:Yr,metricsEnabled:Gr}}function Je(kt,Ut,Ir,Sr,Yr=ie,Gr=he){const dn={},Kr=!le.includes(Ut.site)&&(0,v.ic)(Ut.telemetrySampleRate),yt={[Z.LOG]:Kr,[Z.CONFIGURATION]:Kr&&(0,v.ic)(Ut.telemetryConfigurationSampleRate),[Z.USAGE]:Kr&&(0,v.ic)(Ut.telemetryUsageSampleRate),metric:Kr&&(0,v.ic)(Yr)},tt=ge(),Ar=je();return Ar.subscribe(({rawEvent:Er,metricName:Ur})=>{if(Ur&&!yt.metric||!yt[Er.type])return;const or=Ur||Er.status||Er.type;let An=dn[or];if(An||(An=dn[or]=new Set),An.size>=Gr)return;const dr=(0,x.s)(Er);if(An.has(dr))return;const Xr=Ir.triggerHook(1,{startTime:(0,m.M8)().relative});if(Xr===F.ug)return;const hn=Mr(Xr,kt,Er,tt);Sr.notify(hn),(0,h.b)("telemetry",hn),An.add(dr)}),Ar.unbuffer(),(0,g.Bd)(ye),{enabled:Kr,metricsEnabled:yt.metric};function Mr(Er,Ur,or,An){const Xr={type:"telemetry",date:(0,m.M8)().timeStamp,service:Ur,version:"7.1.0",source:"browser",_dd:{format_version:2},telemetry:(0,T.kg)(or,{runtime_env:An,connectivity:(0,_.q)(),sdk_setup:"npm"}),ddtags:(0,i.m5)(Ut).join(","),experimental_features:Array.from((0,s.q7)())};return(0,T.kg)(Xr,Er)}}function Xe(kt,Ut){const Ir=[];if((0,C.d0)()){const Sr=(0,C.Y9)(),Yr=Ut.subscribe(Gr=>Sr.send("internal_telemetry",Gr));Ir.push(Yr.unsubscribe)}else{const Sr=[kt.rumEndpointBuilder];kt.replica&&Ie(kt)&&Sr.push(kt.replica.rumEndpointBuilder);const Yr=(0,P.X)({encoder:(0,B.N)(),request:(0,k.sA)(Sr,W.l),flushController:(0,D.tO)({pageMayExitObservable:(0,$._T)(kt),sessionExpireOb
2servable:new l.cP})});Ir.push(Yr.stop);const Gr=Ut.subscribe(Yr.add);Ir.push(Gr.unsubscribe)}return{stop:()=>Ir.forEach(Sr=>Sr())}}function ge(){return{is_local_file:V.J2.location?.protocol==="file:",is_worker:V.Wq}}function be(){me=void 0}function Ie(kt){return kt.site===u.Bb}function Re(kt,Ut){(0,g.oO)(n.bP.debug,kt,Ut),je().notify({rawEvent:{type:Z.LOG,message:kt,status:"debug",...Ut}})}function ye(kt,Ut){je().notify({rawEvent:{type:Z.LOG,status:"error",...It(kt),...Ut}})}function De(kt){je().notify({rawEvent:{type:Z.CONFIGURATION,configuration:kt}})}function $e(kt,Ut){je().notify({rawEvent:{type:Z.LOG,message:kt,status:"debug",...Ut},metricName:kt})}function qe(kt){je().notify({rawEvent:{type:Z.USAGE,usage:kt}})}function It(kt){if((0,r.bJ)(kt)){const Ut=(0,E.T)(kt);return{error:{kind:Ut.name,stack:(0,a.Yn)(mt(Ut))},message:Ut.message}}return{error:{stack:r.e6},message:`Uncaught ${(0,x.s)(kt)}`}}function mt(kt){return kt.stack=kt.stack.filter(Ut=>!Ut.url||J.some(Ir=>Ut.url.startsWith(Ir))),kt}},686(f,d,e){"use strict";e.d(d,{D:()=>a,w:()=>r});var n=e(44170);const r={GRANTED:"granted",NOT_GRANTED:"not-granted"};function a(s){const i=new n.cP;function u(){return s===r.GRANTED}return{tryToInit(l){s||(s=l)},onGrantedOnce(l){if(u())l();else{const m=i.subscribe(()=>{u()&&(l(),m.unsubscribe())})}},update(l){s=l,i.notify()},isGranted:u,observable:i}}},80692(f,d,e){"use strict";e.d(d,{$O:()=>a,XP:()=>s,ug:()=>r});var n=e(7996);const r="DISCARDED",a="SKIPPED";function s(){const i={};return{register(u,l){return i[u]||(i[u]=[]),i[u].push(l),{unregister:()=>{i[u]=i[u].filter(m=>m!==l)}}},triggerHook(u,l){const m=i[u]||[],g=[];for(const h of m){const v=h(l);if(v===r)return r;v!==a&&g.push(v)}return(0,n.kg)(...g)}}}},65680(f,d,e){"use strict";e.d(d,{D:()=>n});class n{constructor(){this.callbacks={}}notify(a,s){const i=this.callbacks[a];i&&i.forEach(u=>u(s))}subscribe(a,s){return this.callbacks[a]||(this.callbacks[a]=[]),this.callbacks[a].push(s),{unsubscribe:()=>{this.callbacks[a]=this.callbacks[a].filter(i=>s!==i)}}}}},30557(f,d,e){"use strict";e.d(d,{y:()=>r});var n=e(59112);function r(a,s){return(...i)=>{try{return a(...i)}catch(u){n.Vy.error(s,u)}}}},59112(f,d,e){"use strict";e.d(d,{JZ:()=>r,Vy:()=>i,Xs:()=>l,Z9:()=>a,bP:()=>n,fH:()=>u,xG:()=>m});const n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},r=console,a={};Object.keys(n).forEach(g=>{a[g]=r[g]});const s="Datadog Browser SDK:",i={debug:a.debug.bind(r,s),log:a.log.bind(r,s),info:a.info.bind(r,s),warn:a.warn.bind(r,s),error:a.error.bind(r,s)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`,m="More details:"},47354(f,d,e){"use strict";e.d(d,{N:()=>r});var n=e(72875);function r(){let a="",s=0;return{isAsync:!1,get isEmpty(){return!a},write(i,u){const l=(0,n.WW)(i);s+=l,a+=i,u&&u(l)},finish(i){i(this.finishSync())},finishSync(){const i={output:a,outputBytesCount:s,rawBytesCount:s,pendingData:""};return a="",s=0,i},estimateEncodedBytesCount(i){return i.length}}}},86525(f,d,e){"use strict";e.d(d,{Aq:()=>s,R9:()=>r,q7:()=>m,sr:()=>u});var n=e(41160),r;(function(g){g.TRACK_INTAKE_REQUESTS="track_intake_requests",g.FEATURE_OPERATION_VITAL="feature_operation_vital",g.START_STOP_ACTION="start_stop_action",g.START_STOP_RESOURCE="start_stop_resource",g.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",g.SESSION_RENEWAL_DEBUG_CONTEXT="session_renewal_debug_context"})(r||(r={}));const a=new Set;function s(g){Array.isArray(g)&&i(g.filter(h=>(0,n.Rj)(r,h)))}function i(g){g.forEach(h=>{a.add(h)})}function u(g){return a.has(g)}function l(){a.clear()}function m(){return a}},25143(f,d,e){"use strict";e.d(d,{W:()=>r});var n=e(57212);function r(a,s){const i=(0,n.VZ)();let u;return i.Zone&&typeof i.Zone.__symbol__=="function"&&(u=a[i.Zone.__symbol__(s)]),u||(u=a[s]),u}},57212(f,d,e){"use strict";e.d(d,{J2:()=>r,VZ:()=>n,Wq:()=>a});function n(){return globalThis}const r=n(),a="WorkerGlobalScope"in r},28208(f,d,e){"use strict";e.d(d,{H:()=>i,t:()=>u});var n=e(98767),r=e(31312),a=e(76889),s=e(86849);function i(l,m,g,{computeHandlingStack:h}={}){let v=l[m];if(typeof v!="function")if(m in l&&typeof m=="string"&&m.startsWith("on"))v=a.l;else return{stop:a.l};let x=!1;const T=function(){if(x)return v.apply(this,arguments);const E=Array.from(arguments);let _;(0,r.um)(g,null,[{target:this,parameters:E,onPostCall:P=>{_=P},handlingStack:h?(0,s.uC)("instrumented method"):void 0}]);const C=v.apply(this,E);return _&&(0,r.um)(_,null,[C]),C};return l[m]=T,{stop:()=>{x=!0,l[m]===T&&(l[m]=v)}}}function u(l,m,g){const h=Object.getOwnPropertyDescriptor(l,m);if(!h||!h.set||!h.configurable)return{stop:a.l};const v=a.l;let x=(E,_)=>{(0,n.wg)(()=>{x!==v&&g(E,_)},0)};const T=function(E){h.set.call(this,E),x(this,E)};return Object.defineProperty(l,m,{set:T}),{stop:()=>{Object.getOwnPropertyDescriptor(l,m)?.set===T&&Object.defineProperty(l,m,h),x=v}}}},52206(f,d,e){"use strict";e.d(d,{K:()=>s,V:()=>a});var n=e(59112),r=e(62453);function a(i){const u=(0,r.P)(i);return u==="string"||u==="function"||i instanceof RegExp}function s(i,u,l=!1){return i.some(m=>{try{if(typeof m=="function")return m(u);if(m instanceof RegExp)return m.lastIndex=0,m.test(u);if(typeof m=="string")return l?u.startsWith(m):m===u}catch(g){n.Vy.error(g)}return!1})}},7996(f,d,e){"use strict";e.d(d,{Go:()=>a,kg:()=>s});var n=e(62453);
2function r(u,l,m=i()){if(l===void 0)return u;if(typeof l!="object"||l===null)return l;if(l instanceof Date)return new Date(l.getTime());if(l instanceof RegExp)return new RegExp(l.source,l.flags);if(m.hasAlreadyBeenSeen(l))return;if(Array.isArray(l)){const h=Array.isArray(u)?u:[];for(let v=0;v<l.length;++v)h[v]=r(h[v],l[v],m);return h}const g=(0,n.P)(u)==="object"?u:{};for(const h in l)Object.prototype.hasOwnProperty.call(l,h)&&(g[h]=r(g[h],l[h],m));return g}function a(u){return r(void 0,u)}function s(...u){let l;for(const m of u)m!=null&&(l=r(l,m));return l}function i(){if(typeof WeakSet<"u"){const l=new WeakSet;return{hasAlreadyBeenSeen(m){const g=l.has(m);return g||l.add(m),g}}}const u=[];return{hasAlreadyBeenSeen(l){const m=u.indexOf(l)>=0;return m||u.push(l),m}}}},95398(f,d,e){"use strict";e.d(d,{B:()=>r});const n=new Map;function r(a){return a}},31312(f,d,e){"use strict";e.d(d,{Bd:()=>s,Dx:()=>h,Ed:()=>l,dm:()=>m,oO:()=>v,pM:()=>i,um:()=>g});var n=e(59112);let r,a=!1;function s(x){r=x}function i(x){a=x}function u(){r=void 0,a=!1}function l(x,T,E){const _=E.value;E.value=function(...C){return(r?m(_):_).apply(this,C)}}function m(x){return function(...T){return g(x,this,T)}}function g(x,T,E){try{return x.apply(T,E)}catch(_){h(_)}}function h(x){if(v(x),r)try{r(x)}catch(T){v(T)}}function v(...x){a&&n.Vy.error("[MONITOR]",...x)}},44170(f,d,e){"use strict";e.d(d,{dX:()=>u,cP:()=>s,Fx:()=>i});var n=e(31312),r=e(57212);function a(l){const m=r.J2.queueMicrotask;typeof m=="function"?m((0,n.dm)(l)):Promise.resolve().then((0,n.dm)(l))}class s{constructor(m){this.onFirstSubscribe=m,this.observers=[]}subscribe(m){return this.addObserver(m),{unsubscribe:()=>this.removeObserver(m)}}notify(m){this.observers.forEach(g=>g(m))}addObserver(m){this.observers.push(m),this.observers.length===1&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(m){this.observers=this.observers.filter(g=>m!==g),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function i(...l){return new s(m=>{const g=l.map(h=>h.subscribe(v=>m.notify(v)));return()=>g.forEach(h=>h.unsubscribe())})}class u extends s{constructor(m,g){super(),this.maxBufferSize=m,this.onDrop=g,this.buffer=[],this.droppedCount=0}notify(m){this.buffer.push(m),this.buffer.length>this.maxBufferSize&&(this.buffer.shift(),this.droppedCount++),super.notify(m)}subscribe(m){let g=!1;const h={unsubscribe:()=>{g=!0,this.removeObserver(m)}};return a(()=>{for(const v of this.buffer){if(g)return;m(v)}g||this.addObserver(m)}),h}unbuffer(){a(()=>{this.droppedCount>0&&this.onDrop&&this.onDrop(this.droppedCount),this.maxBufferSize=this.buffer.length=0})}}},40042(f,d,e){"use strict";e.d(d,{BB:()=>s});var n=e(98767),r=e(31312),a=e(97870);function s(l,m){if(window.requestIdleCallback&&window.cancelIdleCallback){const g=window.requestIdleCallback((0,r.dm)(l),m);return()=>window.cancelIdleCallback(g)}return u(l)}const i=50;function u(l){const m=(0,a.x3)(),g=(0,n.wg)(()=>{l({didTimeout:!1,timeRemaining:()=>Math.max(0,i-((0,a.x3)()-m))})},0);return()=>(0,n.DJ)(g)}},73594(f,d,e){"use strict";e.d(d,{b:()=>r});var n=e(57212);function r(a,s){const i=n.J2.__ddBrowserSdkExtensionCallback;i&&i({type:a,payload:s})}},36351(f,d,e){"use strict";e.d(d,{M:()=>a,s:()=>r});var n=e(76889);function r(s,i,u){if(typeof s!="object"||s===null)return JSON.stringify(s);const l=a(Object.prototype),m=a(Array.prototype),g=a(Object.getPrototypeOf(s)),h=a(s);try{return JSON.stringify(s,i,u)}catch{return"<error: unable to serialize object>"}finally{l(),m(),g(),h()}}function a(s){const i=s,u=i.toJSON;return u?(delete i.toJSON,()=>{i.toJSON=u}):n.l}},70301(f,d,e){"use strict";e.d(d,{a:()=>l});var n=e(59112),r=e(72875),a=e(36351);const s=220*r._m,i="$",u=3;function l(E,_=s){const C=(0,a.M)(Object.prototype),P=(0,a.M)(Array.prototype),k=[],D=new WeakMap,B=m(E,i,void 0,k,D),$=JSON.stringify(B);let F=$?$.length:0;if(F>_){T(_,"discarded",E);return}for(;k.length>0&&F<_;){const V=k.shift();let W=0;if(Array.isArray(V.source))for(let Z=0;Z<V.source.length;Z++){const J=m(V.source[Z],V.path,Z,k,D);if(J!==void 0?F+=JSON.stringify(J).length:F+=4,F+=W,W=1,F>
2_){T(_,"truncated",E);break}V.target[Z]=J}else for(const Z in V.source)if(Object.prototype.hasOwnProperty.call(V.source,Z)){const J=m(V.source[Z],V.path,Z,k,D);if(J!==void 0&&(F+=JSON.stringify(J).length+W+Z.length+u,W=1),F>_){T(_,"truncated",E);break}V.target[Z]=J}}return C(),P(),B}function m(E,_,C,P,k){const D=x(E);if(!D||typeof D!="object")return g(D);const B=h(D);if(B!=="[Object]"&&B!=="[Array]"&&B!=="[Error]")return B;const $=E;if(k.has($))return`[Reference seen at ${k.get($)}]`;const F=C!==void 0?`${_}.${C}`:_,V=Array.isArray(D)?[]:{};return k.set($,F),P.push({source:D,target:V,path:F}),V}function g(E){return typeof E=="bigint"?`[BigInt] ${E.toString()}`:typeof E=="function"?`[Function] ${E.name||"unknown"}`:typeof E=="symbol"?`[Symbol] ${E.description||E.toString()}`:E}function h(E){try{if(E instanceof Event)return v(E);if(E instanceof RegExp)return`[RegExp] ${E.toString()}`;const C=Object.prototype.toString.call(E).match(/\[object (.*)\]/);if(C&&C[1])return`[${C[1]}]`}catch{}return"[Unserializable]"}function v(E){return{type:E.type,isTrusted:E.isTrusted,currentTarget:E.currentTarget?h(E.currentTarget):null,target:E.target?h(E.target):null}}function x(E){const _=E;if(_&&typeof _.toJSON=="function")try{return _.toJSON()}catch{}return E}function T(E,_,C){n.Vy.warn(`The data provided has been ${_} as it is over the limit of ${E} characters:`,C)}},62398(f,d,e){"use strict";e.d(d,{T:()=>a,h:()=>k});var n=e(62453);const r="?";function a(W){const Z=[];let J=P(W,"stack");const ie=String(W);if(J&&J.startsWith(ie)&&(J=J.slice(ie.length)),J&&J.split(` 3`).forEach(le=>{const he=m(le)||v(le)||T(le)||C(le);he&&(!he.func&&he.line&&(he.func=r),Z.push(he))}),Z.length>0&&V()&&W instanceof Error){const le=[];let he=W;for(;(he=Object.getPrototypeOf(he))&&$(he);){const me=he.constructor?.name||r;le.push(me)}for(let me=le.length-1;me>=0&&Z[0]?.func===le[me];me--)Z.shift()}return{message:P(W,"message"),name:P(W,"name"),stack:Z}}const s="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",i="(?::(\\d+))",u=new RegExp(`^\\s*at (.*?) ?\\(${s}${i}?${i}?\\)?\\s*$`,"i"),l=new RegExp(`\\((\\S*)${i}${i}\\)`);function m(W){const Z=u.exec(W);if(!Z)return;const J=Z[2]&&Z[2].indexOf("native")===0,ie=Z[2]&&Z[2].indexOf("eval")===0,le=l.exec(Z[2]);return ie&&le&&(Z[2]=le[1],Z[3]=le[2],Z[4]=le[3]),{args:J?[Z[2]]:[],column:Z[4]?+Z[4]:void 0,func:Z[1]||r,line:Z[3]?+Z[3]:void 0,url:J?void 0:Z[2]}}const g="(?:(.*)?(?: @))",h=new RegExp(`^\\s*at\\s*${g}?\\s*${s}${i}?${i}??\\s*$`,"i");function v(W){const Z=h.exec(W);if(Z)return{args:[],column:Z[4]?+Z[4]:void 0,func:Z[1]||r,line:Z[3]?+Z[3]:void 0,url:Z[2]}}const x=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function T(W){const Z=x.exec(W);if(Z)return{args:[],column:Z[4]?+Z[4]:void 0,func:Z[1]||r,line:+Z[3],url:Z[2]}}const E=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,_=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function C(W){const Z=E.exec(W);if(!Z)return;const J=Z[3]&&Z[3].indexOf(" > eval")>-1,ie=_.exec(Z[3]);return J&&ie&&(Z[3]=ie[1],Z[4]=ie[2],Z[5]=void 0),{args:Z[2]?Z[2].split(","):[],column:Z[5]?+Z[5]:void 0,func:Z[1]||r,line:Z[4]?+Z[4]:void 0,url:Z[3]}}function P(W,Z){return(0,n.O)(W)&&typeof W[Z]=="string"?W[Z]:void 0}function k(W,Z,J,ie){if(Z===void 0)return;const{name:le,message:he}=B(W);return{name:le,message:he,stack:[{url:Z,column:ie,line:J}]}}const D=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function B(W){let Z,J;return{}.toString.call(W)==="[object String]"&&([,Z,J]=D.exec(W)),{name:Z,message:J}}function $(W){return String(W.constructor).startsWith("class ")}let F;function V(){if(F!==void 0)return F;class W extends Error{constructor(){super(),this.name="Error"}}const[Z,J]=[W,Error].map(ie=>new ie);return F=$(Object.getPrototypeOf(Z))&&J.stack!==Z.stack,F}},86849(f,d,e){"use strict";e.d(d,{NR:()=>i,Yn:()=>s,uC:()=>a});var n=e(31312),r=e(62398);function a(u){const m=new Error(u);m.name="HandlingStack";let g;return(0,n.um)(()=>{const h=(0,r.T)(m);h.stack=h.stack.slice(2),g=s(h)}),g}function s(u){let l=i(u);return u.stack.forEach(m=>{const g=m.func==="?"?"<anonymous>":m.func,h=m.args&&m.args.length>0?`(${m.args.join(", ")})`:"",v=m.line?`:${m.line}`:"",x=m.line&&m.column?`:${m.column}`:"";l+=` 4 at ${g}${h} @ ${m.url}${v}${x}`}),l}function i(u){return`${u.name||"Error"}: ${u.message}`}},98767(f,d,e){"use strict";e.d(d,{DJ:()=>i,vG:()=>l,wg:()=>s,yb:()=>u});var n=e(25143),r=e(31312),a=e(57212);function s(m,g){return(0,n.W)((0,a.VZ)(),"setTimeout")((0,r.dm)(m),g)}function i(m){(0,n.W)((0,a.VZ)(),"clearTimeout")(m)}function u(m,g){return(0,n.W)((0,a.VZ)(),"setInterval")((0,r.dm)(m),g)}function l(m){(0,n.W)((0,a.VZ)(),"clearInterval")(m)}},43004(f,d,e){"use strict";e.d(d,{Ai:()=>r,EI:()=>a,R3:()=>n});function n(s){const i=new Set;
4return s.forEach(u=>i.add(u)),Array.from(i)}function r(s,i){const u=s.indexOf(i);u>=0&&s.splice(u,1)}function a(s){return Array.isArray(s)&&s.length>0}},72875(f,d,e){"use strict";e.d(d,{WW:()=>s,_m:()=>n,iH:()=>r,wh:()=>i});const n=1024,r=1024*n,a=/[^\u0000-\u007F]/;function s(u){return a.test(u)?new TextEncoder().encode(u).length:u.length}function i(u){if(u.length===1)return u[0];const l=u.reduce((h,v)=>h+v.length,0),m=new Uint8Array(l);let g=0;for(const h of u)m.set(h,g),g+=h.length;return m}},76889(f,d,e){"use strict";e.d(d,{l:()=>a,n:()=>r});var n=e(98767);function r(s,i,u){const l=u&&u.leading!==void 0?u.leading:!0,m=u&&u.trailing!==void 0?u.trailing:!0;let g=!1,h,v;return{throttled:(...x)=>{if(g){h=x;return}l?s(...x):h=x,g=!0,v=(0,n.wg)(()=>{m&&h&&s(...h),g=!1,h=void 0},i)},cancel:()=>{(0,n.DJ)(v),g=!1,h=void 0}}}function a(){}},67954(f,d,e){"use strict";e.d(d,{Et:()=>s,LI:()=>r,fp:()=>a,ic:()=>n});function n(i){return i!==0&&Math.random()*100<=i}function r(i,u){return+i.toFixed(u)}function a(i){return s(i)&&i>=0&&i<=100}function s(i){return typeof i=="number"}},41160(f,d,e){"use strict";e.d(d,{LG:()=>i,RI:()=>s,Rj:()=>a,XU:()=>n,yG:()=>r});function n(u){try{return JSON.parse(u)}catch{}}function r(u){return{...u}}function a(u,l){return Object.keys(u).some(m=>u[m]===l)}function s(u){return Object.keys(u).length===0}function i(u,l){const m={};for(const g of Object.keys(u))m[g]=l(u[g]);return m}},87848(f,d,e){"use strict";e.d(d,{KQ:()=>r,Uk:()=>n,WP:()=>a});function n(s,i){for(let u=s.length-1;u>=0;u-=1){const l=s[u];if(i(l,u,s))return l}}function r(s){return Object.values(s)}function a(s){return Object.entries(s)}},29860(f,d,e){"use strict";e.d(d,{G:()=>n,i:()=>r});function n(a){return a>=500}function r(a){try{return a.clone()}catch{return}}},61370(f,d,e){"use strict";e.d(d,{Dh:()=>s,_R:()=>u,it:()=>i,lk:()=>n,rx:()=>a});function n(l){return l?(parseInt(l,10)^Math.random()*16>>parseInt(l,10)/4).toString(16):`10000000-1000-4000-8000-${1e11}`.replace(/[018]/g,n)}const r=/(\S+?)\s*=\s*(.*?)(?:;|$)/g;function a(l,m){for(r.lastIndex=0;;){const g=r.exec(l);if(g){if(g[1]===m)return g[2]}else break}}function s(l){const m=new Map;for(r.lastIndex=0;;){const g=r.exec(l);if(g){const h=g[1],v=g[2];m.has(h)?m.get(h).push(v):m.set(h,[v])}else break}return m}function i(l){const m=new Map;for(r.lastIndex=0;;){const g=r.exec(l);if(g)m.set(g[1],g[2]);else break}return m}function u(l,m,g=""){const h=l.charCodeAt(m-1),x=h>=55296&&h<=56319?m+1:m;return l.length<=x?l:`${l.slice(0,x)}${g}`}},97870(f,d,e){"use strict";e.d(d,{$H:()=>u,$S:()=>E,FR:()=>l,Gw:()=>k,M8:()=>_,MA:()=>s,OY:()=>r,Oc:()=>C,TP:()=>h,T_:()=>V,Zj:()=>v,gs:()=>D,iW:()=>a,jR:()=>m,nx:()=>T,pu:()=>$,vk:()=>P,x3:()=>x});var n=e(67954);const r=1e3,a=60*r,s=60*a,u=365*(24*s);function l(W){return{relative:W,timeStamp:g(W)}}function m(W){return{relative:D(W),timeStamp:W}}function g(W){const Z=x()-performance.now();return Z>V()?Math.round(k(Z,W)):B(W)}function h(){return Math.round(x()-k(V(),performance.now()))}function v(W){return(0,n.Et)(W)?(0,n.LI)(W*1e6,0):W}function x(){return new Date().getTime()}function T(){return x()}function E(){return performance.now()}function _(){return{relative:E(),timeStamp:T()}}function C(){return{relative:0,timeStamp:V()}}function P(W,Z){return Z-W}function k(W,Z){return W+Z}function D(W){return W-V()}function B(W){return Math.round(k(V(),W))}function $(W){return W<u}let F;function V(){return F===void 0&&(F=performance.timing?.navigationStart??performance.timeOrigin),F}},62453(f,d,e){"use strict";e.d(d,{O:()=>r,P:()=>n});function n(a){return a===null?"null":Array.isArray(a)?"array":typeof a}function r(a){return n(a)==="object"}},86670(f,d,e){"use strict";e.d(d,{AY:()=>a,L2:()=>s,c$:()=>i,l2:()=>r});var n=e(57212);function r(m){return i(m,location.href).href}function a(m){try{return!!i(m)}catch{return!1}}function s(m){const g=i(m).pathname;return g[0]==="/"?g:`/${g}`}function i(m,g){const{URL:h}=l();try{return g!==void 0?new h(m,g):new h(m)}catch(v){throw new Error(`Failed to construct URL: ${String(v)}`)}}let u;function l(){if(!u){let m,g;try{m=document.createElement("iframe"),m.style.display="none",document.body.appendChild(m),g=m.contentWindow??n.J2}catch{g=n.J2}u={URL:g.URL},m?.remove()}return u}},96687(f,d,e){"use strict";e.d(d,{qj:()=>h});var n,r=e(98767),a=e(43004),s=e(97870);const i=1/0,u=s.iW;let l;const m=new Set;function g(){m.forEach(x=>x())}function h({expireDelay:x,maxEntries:T}){let E=[];l||(l=(0,r.yb)(()=>g(),u));const _=()=>{const V=(0,s.$S)()-x;for(;E.length>0&&E[E.length-1].endTime<V;)E.pop()};m.add(_);function C(V,W){const Z={value:V,startTime:W,endTime:i,remove:()=>{(0,a.Ai)(E,Z)},close:J=>{Z.endTime=J}};return T&&E.length>=T&&E.pop(),E.unshift(Z),Z}function P(V=i,W={returnInactive:!1}){for(const Z of E)if(Z.startTime<=V){if(W.returnInactive||V<=Z.endTime)return Z.value;break}}function k(V){const W=E[0];W&&W.endTime===i&&W.close(V)}function D(V=i,W=0){const Z=(0,s.Gw)(V,W);return E.filter(J=>J.startTime<=Z&&V<=J.endTime).map(J=>J.value)}function B(V){return E.filter(W=>W.startTime===V)}function $(){E=[]}function F(){m.delete(_),m.size===0&&l&&((0,r.vG)(l),l=void 0)}return{add:C,find:P,closeActive:k,findAll:D,getEntries:B,reset:$,stop:F}}function v(){m.clear(),n(l),l=void 0}},8900(f,d,e){"use strict";e.d(d,{X:()=>l});var n=e(59112),r=e(87848),a=e(72868),s=e(36351),i=e(72875);const u=256*i._m;function l({encoder:g,request:h,flushController:v}){let x={};const T=v.flushObservable.subscribe(P=>C(P));function E(P,k,D){if(D!==void 0){let B;x[D]!==void 0?B=k-g.estimateEncodedBytesCount(x[D]):(v.notifyBeforeAddMessage(k),B=0),x[D]=P,v.notifyAfterAddMessage(B)}else v.notifyBeforeAddMessage(k),g.write(g.isEmpty?P:` 5${P}`,B=>{v.notifyAfterAddMessage(B-k)})}function _(P,k){const D=(0,s.s)(P),B=g.estimateEncodedBytesCount(D);if(B>=u){n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${u/i._m}KiB. ${n.xG} ${n.Xs}/#technical-limitations`);return}E(D,B,k)}function C(P){const k=(0,r.KQ)(x).join(` 6`);x={};const D=(0,a.Kp)(P.reason),B=D?h.sendOnExit:h.send;if(D&&g.isAsync){const $=g.finishSync();$.outputBytesCount&&B(m($));
6const F=[$.pendingData,k].filter(Boolean).join(` 7`);F&&B({data:F,bytesCount:(0,i.WW)(F)})}else k&&g.write(g.isEmpty?k:` 8${k}`),g.finish($=>{B(m($))})}return{flushController:v,add:_,upsert:_,stop:T.unsubscribe}}function m(g){let h;return typeof g.output=="string"?h=g.output:h=new Blob([g.output],{type:"text/plain"}),{data:h,bytesCount:g.outputBytesCount,encoding:g.encoding}}},60797(f,d,e){"use strict";e.d(d,{Ww:()=>a,Y9:()=>r,d0:()=>s});var n=e(57212);function r(){const u=i();if(u)return{getCapabilities(){return JSON.parse(u.getCapabilities?.()||"[]")},getPrivacyLevel(){return u.getPrivacyLevel?.()},getIsTraceSampled(){return JSON.parse(u.getIsTraceSampled?.()||"null")},getAllowedWebViewHosts(){return JSON.parse(u.getAllowedWebViewHosts())},send(l,m,g){const h=g?{id:g}:void 0;u.send(JSON.stringify({eventType:l,event:m,view:h}))}}}function a(u){const l=r();return!!l&&l.getCapabilities().includes(u)}function s(u=(0,n.VZ)().location?.hostname){const l=r();return!!l&&l.getAllowedWebViewHosts().some(m=>u===m||u.endsWith(`.${m}`))}function i(){return(0,n.VZ)().DatadogEventBridge}},69174(f,d,e){"use strict";e.d(d,{tO:()=>m});var n=e(57212),r=e(44170),a=e(98767),s=e(97870),i=e(95582);const u=30*s.OY,l=n.Wq?1:50;function m({pageMayExitObservable:g,sessionExpireObservable:h}){let v;const x=new r.cP,T=g.subscribe(F=>{v=F.reason;try{x.notify(F.reason)}finally{v=void 0}k(F.reason)}),E=h.subscribe(()=>k("session_expire")),_=new r.cP(()=>()=>{T.unsubscribe(),E.unsubscribe()});let C=0,P=0;function k(F){if(P===0)return;const V=P,W=C;P=0,C=0,$(),_.notify({reason:F,messagesCount:V,bytesCount:W})}let D;function B(){D===void 0&&(D=(0,a.wg)(()=>{k("duration_limit")},u))}function $(){(0,a.DJ)(D),D=void 0}return{flushObservable:_,preparePageExitFlushObservable:x,get messagesCount(){return P},notifyBeforeAddMessage(F){C+F>=i.AK&&k(v??"bytes_limit"),P+=1,C+=F,B()},notifyAfterAddMessage(F=0){C+=F,P>=l?k(v??"messages_limit"):C>=i.AK&&k(v??"bytes_limit")}}}},95582(f,d,e){"use strict";e.d(d,{AK:()=>F,sA:()=>V});var n=e(25205),r=e(31312),a=e(44170),s=e(72875),i=e(98767),u=e(97870),l=e(29860),m=e(69991);const g=80*s._m,h=32,v=20*s.iH,x=u.iW,T=u.OY;function E(le,he,me,je,Fe,Je){he.transportStatus===0&&he.queuedPayloads.size()===0&&he.bandwidthMonitor.canHandle(le)?C(le,he,me,Je,{onSuccess:()=>P(0,he,me,je,Fe,Je),onFailure:()=>{he.queuedPayloads.enqueue(le)||Je.notify({type:"queue-full",bandwidth:he.bandwidthMonitor.stats(),payload:le}),_(he,me,je,Fe,Je)}}):he.queuedPayloads.enqueue(le)||Je.notify({type:"queue-full",bandwidth:he.bandwidthMonitor.stats(),payload:le})}function _(le,he,me,je,Fe){le.transportStatus===2&&(0,i.wg)(()=>{const Je=le.queuedPayloads.first();C(Je,le,he,Fe,{onSuccess:()=>{le.queuedPayloads.dequeue(),le.currentBackoffTime=T,P(1,le,he,me,je,Fe)},onFailure:()=>{le.currentBackoffTime=Math.min(x,le.currentBackoffTime*2),_(le,he,me,je,Fe)}})},le.currentBackoffTime)}function C(le,he,me,je,{onSuccess:Fe,onFailure:Je}){he.bandwidthMonitor.add(le),me(le,Xe=>{he.bandwidthMonitor.remove(le),k(Xe)?(he.transportStatus=he.bandwidthMonitor.ongoingRequestCount>0?1:2,le.retry={count:le.retry?le.retry.count+1:1,lastFailureStatus:Xe.status},je.notify({type:"failure",bandwidth:he.bandwidthMonitor.stats(),payload:le}),Je()):(he.transportStatus=0,je.notify({type:"success",bandwidth:he.bandwidthMonitor.stats(),payload:le}),Fe())})}function P(le,he,me,je,Fe,Je){le===0&&he.queuedPayloads.isFull()&&!he.queueFullReported&&(Fe({message:`Reached max ${je} events size queued for upload: ${v/s.iH}MiB`,source:m.g.AGENT,startClocks:(0,u.M8)()}),he.queueFullReported=!0);const Xe=he.queuedPayloads;for(he.queuedPayloads=B();Xe.size()>0;)E(Xe.dequeue(),he,me,je,Fe,Je)}function k(le){return le.type!=="opaque"&&(le.status===0&&!navigator.onLine||le.status===408||le.status===429||(0,l.G)(le.status))}function D(){return{transportStatus:0,currentBackoffTime:T,bandwidthMonitor:$(),queuedPayloads:B(),queueFullReported:!1}}function B(){const le=[];return{bytesCount:0,enqueue(he){return this.isFull()?!1:(le.push(he),this.bytesCount+=he.bytesCount,!0)},first(){return le[0]},dequeue(){const he=le.shift();return he&&(this.bytesCount-=he.bytesCount),he},size(){return le.length},isFull(){return this.bytesCount>=v}}}function $(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle(le){return this.ongoingRequestCount===0||this.ongoingByteCount+le.bytesCount<=g&&this.ongoingRequestCount<h},add(le){this.ongoingRequestCount+=1,this.ongoingByteCount+=le.bytesCount},remove(le){this.ongoingRequestCount-=1,this.ongoingByteCount-=le.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}}}const F=16*s._m;function V(le,he,me=F){const je=new a.cP,Fe=D();return{observable:je,send:Je=>{for(const Xe of le)E(Je,Fe,(ge,be)=>{ie(Xe,ge,be)},Xe.trackType,he,je)},sendOnExit:Je=>{for(const Xe of le)W(Xe,me,Je)}}}function W(le,he,me){if(me.bytesCount<he)try{const Fe=le.build("beacon",me);if(navigator.sendBeacon(Fe,me.data))return}catch(Fe){J(Fe)}ie(le,me)}let Z=!1;function J(le){Z||(Z=!0,(0,r.Dx)(le))}function ie(le,he,me){const je=le.build("fetch",he);(0,n.h)(je,{method:"POST",body:he.data,mode:"cors"}).then((0,r.dm)(Fe=>me?.({status:Fe.status,type:Fe.type}))).catch((0,r.dm)(()=>me?.({status:0})))}},68005(f,d,e){"use strict";e.d(d,{yf:()=>Es});var n=e(57289),r=e(57212),a=e(686),s=e(6951),i=e(95398),u=e(31312),l=e(57911),m=e(55700),g=e(91371),h=e(70301),v=e(7996),x=e(50449),T=e(82678),E=e(95511),_=e(69991),C=e(97870),P=e(86849),k=e(26622);function D(oe,xe,Ge){const bt=Ge.getHandler(),Et=Array.isArray(bt)?bt:[bt];return $[oe]>=$[Ge.getLevel()]&&Et.includes(xe)}const B={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},$={[B.ok]:0,[B.debug]:1,[B.info]:2,[B.notice]:4,[B.warn]:5,[B.error]:6,[B.critical]:7,[B.alert]:8,[B.emerg]:9};function F(oe,{includeMessage:xe=!1}={}){return{stack:oe.stack,kind:oe.type,message:xe?oe.message:void 0,causes:oe.causes,fingerprint:oe.fingerprint,handling:oe.handling}}var V=function(oe,xe,Ge,bt){var Et=arguments.length,Tr=Et<3?xe:bt===null?bt=Object.getOwnPropertyDescriptor(xe,Ge):bt,vn;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Tr=Reflect.decorate(oe,xe,Ge,bt);else for(var Gt=oe.length-1;Gt>=0;Gt--)(vn=oe[Gt])&&(Tr=(Et<3?vn(Tr):Et>3?vn(xe,Ge,Tr):vn(xe,Ge))||Tr);return Et>3&&Tr&&Object.defineProperty(xe,Ge,Tr),Tr};const W={console:"console",http:"http",silent:"silent"},Z=Object.keys(B);class J{constructor(xe,Ge,bt=W.http,Et=B.debug,Tr={}){this.handleLogStrategy=xe,this.handlerType=bt,this.level=Et,this.contextManager=(0,T.D)("logger"),this.tags=[],this.contextManager.setContext(Tr),Ge&&this.contextManager.setContextProperty("logger",{name:Ge})}logImplementation(xe,Ge,bt=B.info,Et,Tr){const vn=(0,h.a)(Ge);let Gt;if(Et!=null){const ei=(0,E.As)({originalError:Et,nonErrorPrefix:"Provided",source:_.g.LOGGER,handling:"handled",startClocks:(0,C.M8)()});Gt=(0,v.kg)({error:F(ei,{includeMessage:!0})},ei.context,vn)}
8else Gt=vn;this.handleLogStrategy({message:(0,h.a)(xe),context:Gt,status:bt},this,Tr)}log(xe,Ge,bt=B.info,Et){let Tr;D(bt,W.http,this)&&(Tr=(0,P.uC)("log")),this.logImplementation(xe,Ge,bt,Et,Tr)}setContext(xe){this.contextManager.setContext(xe)}getContext(){return this.contextManager.getContext()}setContextProperty(xe,Ge){this.contextManager.setContextProperty(xe,Ge)}removeContextProperty(xe){this.contextManager.removeContextProperty(xe)}clearContext(){this.contextManager.clearContext()}addTag(xe,Ge){this.tags.push((0,k.NQ)(xe,Ge))}removeTagsWithKey(xe){const Ge=(0,k.iP)(xe);this.tags=this.tags.filter(bt=>bt!==Ge&&!bt.startsWith(`${Ge}:`))}getTags(){return this.tags.slice()}setHandler(xe){this.handlerType=xe}getHandler(){return this.handlerType}setLevel(xe){this.level=xe}getLevel(){return this.level}}V([u.Ed],J.prototype,"logImplementation",null),J.prototype.ok=ie(B.ok),J.prototype.debug=ie(B.debug),J.prototype.info=ie(B.info),J.prototype.notice=ie(B.notice),J.prototype.warn=ie(B.warn),J.prototype.error=ie(B.error),J.prototype.critical=ie(B.critical),J.prototype.alert=ie(B.alert),J.prototype.emerg=ie(B.emerg);function ie(oe){return function(xe,Ge,bt){let Et;D(oe,W.http,this)&&(Et=(0,P.uC)("log")),this.logImplementation(xe,Ge,oe,bt,Et)}}function le(){return r.Wq?{}:{view:{referrer:document.referrer,url:window.location.href}}}var he=e(73594),me=e(72868),je=e(3744),Fe=e(5266),Je=e(97238),Xe=e(3504),ge=e(60797),be=e(57802),Ie=e(80692);function Re(oe,xe,Ge,bt,Et,Tr){const vn=Z.concat(["custom"]),Gt={};vn.forEach(ei=>{Gt[ei]=(0,be.$)(ei,Et,Tr)}),xe.subscribe(0,({rawLogsEvent:ei,messageContext:si=void 0,savedCommonContext:yn=void 0,domainContext:rs,ddtags:xn=[]})=>{const Ms=(0,C.gs)(ei.date),Yi=yn||bt(),Gs=Ge.triggerHook(0,{startTime:Ms});if(Gs===Ie.ug)return;const us=(0,k.m5)(oe),nr=(0,v.kg)({view:Yi.view},Gs,ei,si,{ddtags:us.concat(xn).join(",")});oe.beforeSend?.(nr,rs)===!1||nr.origin!==_.g.AGENT&&(Gt[nr.status]??Gt.custom).isLimitReached()||xe.notify(1,nr)})}var ye=e(59112);const De={[ye.bP.log]:B.info,[ye.bP.debug]:B.debug,[ye.bP.info]:B.info,[ye.bP.warn]:B.warn,[ye.bP.error]:B.error};function $e(oe,xe,Ge){const bt=Ge.subscribe(({data:Et,type:Tr})=>{if(Tr!==3||!oe.forwardConsoleLogs.includes(Et.api))return;const vn={rawLogsEvent:{date:(0,C.nx)(),message:Et.message,origin:_.g.CONSOLE,error:Et.error&&F(Et.error),status:De[Et.api]},messageContext:Et.error?.context,domainContext:{handlingStack:Et.handlingStack}};xe.notify(0,vn)});return{stop:()=>bt.unsubscribe()}}var qe=e(6623);function It(oe,xe){const Ge=(0,qe.u)(oe,oe.forwardReports).subscribe(bt=>{let Et=bt.message,Tr;const vn=bt.originalError.type==="deprecation"?B.warn:B.error;vn===B.error?Tr=F(bt):bt.stack&&(Et+=` Found in ${(0,E.$X)(bt.stack)}`),xe.notify(0,{rawLogsEvent:{date:(0,C.nx)(),message:Et,origin:_.g.REPORT,error:Tr,status:vn}})});return{stop:()=>{Ge.unsubscribe()}}}var mt=e(76889),kt=e(46230),Ut=e(65286),Ir=e(11989),Sr=e(29860),Yr=e(62398),Gr=e(61370);function dn(oe,xe,Ge){if(!oe.forwardErrorsToLogs)return{stop:mt.l};(0,kt.i)({responseBodyAction:vn=>Et(vn)?1:0});const bt=Ge.subscribe(({data:vn,type:Gt})=>{Gt===1&&vn.state==="resolve"?Tr(Ut.Y.FETCH,vn):Gt===2&&vn.state==="complete"&&Tr(Ut.Y.XHR,vn)});function Et(vn){return!(0,Ir.w)(vn.url)&&!vn.isAborted&&(Kr(vn)||(0,Sr.G)(vn.status))}function Tr(vn,Gt){if(!Et(Gt))return;const ei="error"in Gt&&Gt.error?(0,P.Yn)((0,Yr.T)(Gt.error)):Gt.responseBody||"Failed to load",si={handlingStack:Gt.handlingStack};xe.notify(0,{rawLogsEvent:{message:`${yt(vn)} error ${Gt.method} ${Gt.url}`,date:Gt.startClocks.timeStamp,error:{stack:(0,Gr._R)(ei,oe.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:Gt.method,status_code:Gt.status,url:Gt.url},status:B.error,origin:_.g.NETWORK},domainContext:si})}return{stop:()=>bt.unsubscribe()}}function Kr(oe){return oe.status===0&&oe.responseType!=="opaque"}function yt(oe){return Ut.Y.XHR===oe?"XHR":"Fetch"}function tt(oe,xe,Ge){if(!oe.forwardErrorsToLogs)return{stop:mt.l};const bt=Ge.subscribe(Et=>{if(Et.type===0){const Tr=Et.data;xe.notify(0,{rawLogsEvent:{message:Tr.message,date:Tr.startClocks.timeStamp,error:F(Tr),origin:_.g.SOURCE,status:B.error},messageContext:Tr.context})}});return{stop:()=>{bt.unsubscribe()}}}var Ar=e(65680);const Mr=Ar.D;function Er(oe){function xe(Ge,bt,Et,Tr,vn){const Gt=(0,v.kg)(bt.getContext(),Ge.context);if(D(Ge.status,W.console,bt)&&or(Ge,Gt),D(Ge.status,W.http,bt)){const ei={rawLogsEvent:{date:vn||(0,C.nx)(),message:Ge.message,status:Ge.status,origin:_.g.LOGGER},messageContext:Gt,savedCommonContext:Tr,ddtags:bt.getTags()};Et&&(ei.domainContext={handlingStack:Et}),oe.notify(0,ei)}}return{handleLog:xe}}const Ur={[B.ok]:ye.bP.debug,[B.debug]:ye.bP.debug,[B.info]:ye.bP.info,[B.notice]:ye.bP.info,[B.warn]:ye.bP.w
8arn,[B.error]:ye.bP.error,[B.critical]:ye.bP.error,[B.alert]:ye.bP.error,[B.emerg]:ye.bP.error};function or({status:oe,message:xe},Ge){ye.Z9[Ur[oe]].call(ye.JZ,xe,Ge)}var An=e(8900),dr=e(47354),Xr=e(95582),hn=e(69174);function Qt(oe,xe,Ge,bt,Et){const Tr=[oe.logsEndpointBuilder];oe.replica&&Tr.push(oe.replica.logsEndpointBuilder);const vn=(0,An.X)({encoder:(0,dr.N)(),request:(0,Xr.sA)(Tr,Ge),flushController:(0,hn.tO)({pageMayExitObservable:bt,sessionExpireObservable:Et.expireObservable})});return xe.subscribe(1,Gt=>{vn.add(Gt)}),vn}function Br(oe){const xe=(0,ge.Y9)();oe.subscribe(1,Ge=>{xe.send("log",Ge)})}function zt(oe){return{get:xe=>{const Ge=oe.findTrackedSession(xe);if(Ge)return{session_id:Ge.id}}}}function Tt(oe){return xe=>{oe.notify(0,{rawLogsEvent:{message:xe.message,date:xe.startClocks.timeStamp,origin:_.g.AGENT,status:B.error}}),(0,l.A2)("Error reported to customer",{"error.message":xe.message})}}var Pr=e(20182);function Y(oe){const xe=r.J2;oe.register(0,({startTime:Et})=>{const Tr=Ge(Et);return Tr||Ie.$O}),oe.register(1,({startTime:Et})=>{const Tr=Ge(Et);return Tr?{application:{id:Tr.application_id},view:{id:Tr.view?.id},action:{id:Tr.user_action?.id}}:Ie.$O});function Ge(Et){const vn=(0,Pr.ao)()?xe.DD_RUM_SYNTHETICS:xe.DD_RUM,Gt=bt(Et,vn);if(Gt)return Gt}function bt(Et,Tr){if(Tr&&Tr.getInternalContext)return Tr.getInternalContext(Et)}}function ht(oe,xe,Ge){oe.register(0,({startTime:bt})=>{const Et=Ge.findTrackedSession(bt);return Ge.findTrackedSession(bt,{returnInactive:!0})?{service:xe.service,session_id:Et?Et.id:void 0,session:Et?{id:Et.id}:void 0}:Ie.ug})}const ur="logs";function it(oe,xe,Ge,bt,Et){const Tr=new Mr,vn=[];Tr.subscribe(1,Yi=>(0,he.b)("logs",Yi));const Gt=Tt(Tr),ei=(0,me._T)(oe);ht(Et,oe,xe);const si=(0,je.B)(Et,oe,ur),yn=(0,Fe.$)(Et,oe,xe,ur),rs=(0,Je.F)(Et,oe,ur,!1);Y(Et),(0,Xe.j3)(Et),dn(oe,Tr,bt),tt(oe,Tr,bt),$e(oe,Tr,bt),bt.unbuffer(),It(oe,Tr);const{handleLog:xn}=Er(Tr);if(Re(oe,Tr,Et,Ge,Gt),(0,ge.d0)())Br(Tr);else{const{stop:Yi}=Qt(oe,Tr,Gt,ei,xe);vn.push(()=>Yi())}const Ms=zt(xe);return{handleLog:xn,getInternalContext:Ms.get,accountContext:si,globalContext:rs,userContext:yn,stop:()=>{vn.forEach(Yi=>Yi())}}}var Rt=e(44170),Zr=e(86525),nn=e(22009),fn=e(68704);const Sn=Ie.XP;var Ci=e(72875),$i=e(84644),qr=e(87848),Bi=e(43004);const ms=32*Ci._m;function hs(oe,xe){const Ge=(0,$i.Sz)(oe,xe),bt=Mi(oe.forwardConsoleLogs,(0,qr.KQ)(ye.bP),"Forward Console Logs"),Et=Mi(oe.forwardReports,(0,qr.KQ)(qe.V),"Forward Reports");if(!(!Ge||!bt||!Et))return{forwardErrorsToLogs:oe.forwardErrorsToLogs!==!1,forwardConsoleLogs:bt,forwardReports:Et,requestErrorResponseLengthLimit:ms,...Ge}}function Mi(oe,xe,Ge){if(oe===void 0)return[];if(!(oe==="all"||Array.isArray(oe)&&oe.every(bt=>xe.includes(bt)))){ye.Vy.error(`${Ge} should be "all" or an array with allowed values "${xe.join('", "')}"`);return}return oe==="all"?xe:(0,Bi.R3)(oe)}function gi(oe){const xe=(0,$i.hO)(oe);return{forward_errors_to_logs:oe.forwardErrorsToLogs,forward_console_logs:oe.forwardConsoleLogs,forward_reports:oe.forwardReports,...xe}}function Hi(oe,xe){function Ge(){return xe.isGranted()?Ie.$O:Ie.ug}oe.register(0,Ge),oe.register(1,Ge)}function qn(oe,xe,Ge){const Et=new Rt.dX(500,Yi=>{(0,l.A2)("preStartLogs buffer data lost",{count:Yi})}),Tr=(0,Je.s)();(0,m.P)(Tr,g.N.globalContext,Et);const vn=(0,je.K)();(0,m.P)(vn,g.N.accountContext,Et);const Gt=(0,Fe.Y)();(0,m.P)(Gt,g.N.userContext,Et);let ei,si,yn;const rs=Sn(),xn=xe.observable.subscribe(Ms);function Ms(){if(!si||!ei||!yn)return;xn.unsubscribe();const Yi=Ge(si,yn,rs);Et.subscribe(Gs=>Gs(Yi)),Et.unbuffer()}return{init(Yi,Gs){if(!Yi){ye.Vy.error("Missing configuration");return}if((0,Zr.Aq)(Yi.enableExperimentalFeatures),(0,ge.d0)()&&(Yi=$n(Yi)),ei=Yi,si){(0,x.$)("DD_LOGS",Yi);return}const us=hs(Yi,Gs);us&&(si=us,xe.tryToInit(us.trackingConsent),xe.onGrantedOnce(()=>{Hi(rs,xe),(0,i.B)(l.a5)("browser-logs-sdk",us,rs),((0,ge.d0)()?(0,nn.Ql)():(0,i.B)(nn.ox)(us,xe)).then(cr=>{cr&&(yn=cr,(0,fn.l)(rs,yn),(0,l.Rr)(gi(Yi)),Ms())}).catch(u.Dx)}))},get initConfiguration(){return ei},globalContext:Tr,accountContext:vn,userContext:Gt,getInternalContext:mt.l,handleLog(Yi,Gs,us,nr=oe(),cr=(0,C.nx)()){Et.notify(ln=>ln.handleLog(Yi,Gs,us,nr,cr))}}}function $n(oe){return{...oe,clientToken:"empty"}}function $s(){const oe=(0,a.D)(),xe=(0,s.t)().observable;let Ge=qn(le,oe,(vn,Gt,ei)=>{const si=(0,i.B)(it)(vn,Gt,le,xe,ei);return Ge=ys(Ge,si),si});const bt=()=>Ge,Et={},Tr=new J((...vn)=>Ge.handleLog(...vn));return(0,n.m)({logger:Tr,init:vn=>{const Gt=new Error().stack;(0,u.um)(()=>Ge.init(vn,Gt))},setTrackingConsent:(0,u.dm)(vn=>{oe.update(vn),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:vn})}),getGlobalContext:(0,m.q)(bt,g.N.globalContext,g.Q.getContext),setGlobalContext:(0,m.q)(bt,g.N.globalContext,g.Q.setContext),setGlobalContextProperty:(0,m.q)(bt,g.N.globalContext,g.Q.setContextProperty),removeGlobalContextProperty:(0,m.q)(bt,g.N.globalContext,g.Q.removeContextProperty),clearGlobalContext:(0,m.q)(bt,g.N.globalContext,g.Q.clearContext),createLogger:(0,u.dm)((vn,Gt={})=>(Et[vn]=new J((...ei)=>Ge.handleLog(...ei),(0,h.a)(vn),Gt.handler,Gt.level,(0,h.a)(Gt.context)),Et[vn])),getLogger:(0,u.dm)(vn=>Et[vn]),getInitConfiguration:(0,u.dm)(()=>(0,v.Go)(Ge.initConfiguration)),getInternalContext:(0,u.dm)(vn=>
8Ge.getInternalContext(vn)),setUser:(0,m.q)(bt,g.N.userContext,g.Q.setContext),getUser:(0,m.q)(bt,g.N.userContext,g.Q.getContext),setUserProperty:(0,m.q)(bt,g.N.userContext,g.Q.setContextProperty),removeUserProperty:(0,m.q)(bt,g.N.userContext,g.Q.removeContextProperty),clearUser:(0,m.q)(bt,g.N.userContext,g.Q.clearContext),setAccount:(0,m.q)(bt,g.N.accountContext,g.Q.setContext),getAccount:(0,m.q)(bt,g.N.accountContext,g.Q.getContext),setAccountProperty:(0,m.q)(bt,g.N.accountContext,g.Q.setContextProperty),removeAccountProperty:(0,m.q)(bt,g.N.accountContext,g.Q.removeContextProperty),clearAccount:(0,m.q)(bt,g.N.accountContext,g.Q.clearContext)})}function ys(oe,xe){return{...oe,init:Ge=>{(0,x.$)("DD_LOGS",Ge)},getInternalContext:xe.getInternalContext,globalContext:xe.globalContext,userContext:xe.userContext,accountContext:xe.accountContext}}const Es=$s();(0,n.Z)((0,r.VZ)(),"DD_LOGS",Es)},5128(f,d,e){"use strict";e.d(d,{eT:()=>bs,o:()=>ki,$m:()=>ot,NT:()=>Yt,Wd:()=>En,bb:()=>P,K:()=>k,do:()=>We,K$:()=>Ed,wP:()=>yu,wI:()=>Co,W3:()=>Es,PJ:()=>Gn,dT:()=>Ks,$4:()=>Ro,Gn:()=>Vc,zL:()=>Pc,dx:()=>gc,rf:()=>H,pB:()=>wo,g1:()=>ul,nS:()=>ta,XS:()=>Za,p_:()=>$a,AB:()=>zl,jR:()=>oi,ei:()=>ks,ap:()=>ns,Ie:()=>qs});var n=e(686),r=e(6951),a=e(47354),s=e(95398),i=e(86849),u=e(31312),l=e(57911),m=e(57289),g=e(7996),h=e(70301),v=e(97870),x=e(86525),T=e(55700),E=e(91371),_=e(61370),C=e(50449);const P={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},k={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},D={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",SESSION_RENEWAL:"session_renewal",BF_CACHE:"bf_cache"},B={CLICK:"click",CUSTOM:"custom",TAP:"tap",SCROLL:"scroll",SWIPE:"swipe",APPLICATION_START:"application_start",BACK:"back"},$={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"},F={DURATION:"duration",OPERATION_STEP:"operation_step"};var V=e(59112),W=e(84644),Z=e(67954),J=e(41160),ie=e(43004),le=e(52206),he=e(62453);const me=["tracecontext","datadog"],je=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function Fe(j,se){if(j.trackFeatureFlagsForEvents!==void 0&&!Array.isArray(j.trackFeatureFlagsForEvents)&&V.Vy.warn("trackFeatureFlagsForEvents should be an array"),!j.applicationId){V.Vy.error("Application ID is not configured, no RUM data will be collected.");return}if(!(0,W.bX)(j.sessionReplaySampleRate,"Session Replay")||!(0,W.bX)(j.traceSampleRate,"Trace"))return;if(j.excludedActivityUrls!==void 0&&!Array.isArray(j.excludedActivityUrls)){V.Vy.error("Excluded Activity Urls should be an array");return}const we=Je(j);if(!we)return;const Oe=(0,W.Sz)(j,se),rt=be(j);if(!Oe)return;const at=j.sessionReplaySampleRate??0;return{applicationId:j.applicationId,actionNameAttribute:j.actionNameAttribute,sessionReplaySampleRate:at,startSessionReplayRecordingManually:j.startSessionReplayRecordingManually!==void 0?!!j.startSessionReplayRecordingManually:at===0,traceSampleRate:j.traceSampleRate??100,rulePsr:(0,Z.Et)(j.traceSampleRate)?j.traceSampleRate/100:void 0,allowedTracingUrls:we,excludedActivityUrls:j.excludedActivityUrls??[],workerUrl:j.workerUrl,compressIntakeRequests:!!j.compressIntakeRequests,trackUserInteractions:!!(j.trackUserInteractions??!0),trackViewsManually:!!j.trackViewsManually,trackResources:!!(j.trackResources??!0),trackResourceHeaders:Re(j),trackLongTasks:!!(j.trackLongTasks??!0),subdomain:j.subdomain,defaultPrivacyLevel:(0,J.Rj)(W.WA,j.defaultPrivacyLevel)?j.defaultPrivacyLevel:W.WA.MASK_USER_INPUT,enablePrivacyForActionName:j.enablePrivacyForActionName!==!1,traceContextInjection:(0,J.Rj)(W.uT,j.traceContextInjection)?j.traceContextInjection:W.uT.SAMPLED,plugins:j.plugins||[],trackFeatureFlagsForEvents:j.trackFeatureFlagsForEvents||[],profilingSampleRate:j.profilingSampleRate??0,propagateTraceBaggage:j.propagateTraceBaggage!==!1,allowedGraphQlUrls:rt,...Oe}}function Je(j){if(j.allowedTracingUrls===void 0)return[];if(!Array.isArray(j.allowedTracingUrls)){V.Vy.error("Allowed Tracing URLs should be an array");return}if(j.allowedTracingUrls.length!==0&&j.service===void 0){V.Vy.error("Service needs to be configured when tracing is enabled");return}const se=[];
8return j.allowedTracingUrls.forEach(we=>{const Oe=ge(we);Oe?se.push(Oe):V.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",we)}),se}function Xe(j){const se=new Set;return(0,ie.EI)(j.allowedTracingUrls)&&j.allowedTracingUrls.forEach(we=>{ge(we)?.propagatorTypes.forEach(Oe=>se.add(Oe))}),Array.from(se)}function ge(j){if((0,le.V)(j))return{match:j,propagatorTypes:me};if((0,he.O)(j)&&(0,le.V)(j.match)&&(j.propagatorTypes===null||j.propagatorTypes===void 0||Array.isArray(j.propagatorTypes)))return{match:j.match,propagatorTypes:j.propagatorTypes||me}}function be(j){if(!j.allowedGraphQlUrls)return[];if(!Array.isArray(j.allowedGraphQlUrls))return V.Vy.warn("allowedGraphQlUrls should be an array"),[];const se=[];return j.allowedGraphQlUrls.forEach(we=>{(0,le.V)(we)?se.push({match:we,trackPayload:!1,trackResponseErrors:!1}):(0,he.O)(we)&&(0,le.V)(we.match)&&se.push({match:we.match,trackPayload:!!we.trackPayload,trackResponseErrors:!!we.trackResponseErrors})}),se}const Ie=["request","response","any"];function Re(j){const se=j.trackResourceHeaders;if(se===void 0||se===!1)return[];if(se===!0)return je.map(Oe=>({name:Oe}));if(!Array.isArray(se))return V.Vy.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(se.length===0)return V.Vy.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];const we=[];return se.forEach((Oe,rt)=>{if(!(0,he.O)(Oe)||!(0,le.V)(Oe.name)){V.Vy.warn(`trackResourceHeaders[${rt}] should be a MatchHeader object with a 'name' property`);return}if(Oe.url!==void 0&&!(0,le.V)(Oe.url)){V.Vy.warn(`trackResourceHeaders[${rt}].url should be a MatchOption`);return}if(Oe.extractor!==void 0&&!(Oe.extractor instanceof RegExp)){V.Vy.warn(`trackResourceHeaders[${rt}].extractor should be a RegExp`);return}if(Oe.location!==void 0&&!Ie.includes(Oe.location)){V.Vy.warn(`trackResourceHeaders[${rt}].location should be 'request', 'response', or 'any'`);return}we.push({...Oe,name:typeof Oe.name=="string"?Oe.name.toLowerCase():Oe.name})}),we}function ye(j){return(0,ie.EI)(j)&&j.some(se=>(0,he.O)(se)&&se.trackPayload)}function De(j){return(0,ie.EI)(j)&&j.some(se=>(0,he.O)(se)&&se.trackResponseErrors)}function $e(j){if(j===!0)return"default_headers";if(Array.isArray(j))return"custom"}function qe(j){const se=(0,W.hO)(j);return{session_replay_sample_rate:j.sessionReplaySampleRate,start_session_replay_recording_manually:j.startSessionReplayRecordingManually,trace_sample_rate:j.traceSampleRate,trace_context_injection:j.traceContextInjection,propagate_trace_baggage:j.propagateTraceBaggage,action_name_attribute:j.actionNameAttribute,use_allowed_tracing_urls:(0,ie.EI)(j.allowedTracingUrls),use_allowed_graph_ql_urls:(0,ie.EI)(j.allowedGraphQlUrls),use_track_graph_ql_payload:ye(j.allowedGraphQlUrls),use_track_graph_ql_response_errors:De(j.allowedGraphQlUrls),selected_tracing_propagators:Xe(j),default_privacy_level:j.defaultPrivacyLevel,enable_privacy_for_action_name:j.enablePrivacyForActionName,use_excluded_activity_urls:(0,ie.EI)(j.excludedActivityUrls),use_worker_url:!!j.workerUrl,compress_intake_requests:j.compressIntakeRequests,track_views_manually:j.trackViewsManually,track_user_interactions:j.trackUserInteractions,track_resources:j.trackResources,track_long_task:j.trackLongTasks,plugins:j.plugins?.map(we=>({name:we.name,...we.getConfigurationTelemetry?.()})),track_feature_flags_for_events:j.trackFeatureFlagsForEvents,remote_configuration_id:j.remoteConfigurationId,profiling_sample_rate:j.profilingSampleRate,use_remote_configuration_proxy:!!j.remoteConfigurationProxy,track_resource_headers:$e(j.trackResourceHeaders),...se}}var It=e(75427),mt=e(25205),kt=e(73922);function Ut(j,se){se.lastIndex=0;const we=se.exec(j);if(!we)return;const[Oe,rt]=we;return rt||Oe}function Ir(j){const se=[];let we=0,Oe;const rt={quote:void 0,escapeSequence:void 0};let at="";for(const Ht of j){if(Oe=tt[we].find(ir=>yt[ir](Ht,rt)),!Oe)return[];if(rt.escapeSequence!==void 0&&Oe!==12){if(!Er(rt.escapeSequence))return[];at+=or(rt.escapeSequence),rt.escapeSequence=void 0}Ar.includes(Oe)?at+=Ht:Mr.includes(Oe)&&at!==""?(se.push(at),at=""):Oe===12?rt.escapeSequence=rt.escapeSequence?`${rt.escapeSequence}${Ht}`:Ht:Oe===8?rt.quote=Ht:Oe===9&&(rt.quote=void 0),we=Oe}return tt[we].includes(1)?(at!==""&&se.push(at),se):[]}const Sr=/[a-zA-Z_$]/,Yr=/[a-zA-Z0-9_$]/,Gr=/[0-9]/,dn=/[a-fA-F0-9]/,Kr=`'"`,yt={0:()=>
8!1,1:()=>!1,2:j=>Sr.test(j),3:j=>Yr.test(j),4:j=>j===".",5:j=>j==="[",6:j=>j==="]",7:j=>Gr.test(j),8:j=>Kr.includes(j),9:(j,se)=>j===se.quote,10:()=>!0,11:j=>j==="\\",12:(j,se)=>se.escapeSequence===void 0?`${se.quote}/\\bfnrtu`.includes(j):se.escapeSequence.startsWith("u")&&se.escapeSequence.length<5?dn.test(j):!1},tt={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},Ar=[2,3,7,10],Mr=[4,5,6];function Er(j){return`"'/\\bfnrt`.includes(j)||j.startsWith("u")&&j.length===5}const Ur={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:` 9`,r:"\r",t:" "};function or(j){return j.startsWith("u")?String.fromCharCode(parseInt(j.slice(1),16)):Ur[j]}const An="v1",dr=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function Xr(j,se){let we;const Oe=Qt(),rt=await Pr(j);return rt.ok?(Oe.increment("fetch","success"),we=hn(j,rt.value,se,Oe)):(Oe.increment("fetch","failure"),V.Vy.error(rt.error)),(0,l.Gk)("remote configuration metrics",{metrics:Oe.get()}),we}function hn(j,se,we,Oe){const rt={...j};return dr.forEach(fe=>{fe in se&&(rt[fe]=at(se[fe]))}),Object.keys(we).forEach(fe=>{se[fe]!==void 0&&Ht(we[fe],se[fe])}),rt;function at(fe){if(Array.isArray(fe))return fe.map(at);if((0,he.O)(fe)){if(Br(fe)){const Se=fe.rcSerializedType;switch(Se){case"string":return fe.value;case"regex":return zt(fe.value);case"dynamic":return ir(fe);default:V.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${Se}"`);return}}return(0,J.LG)(fe,at)}return fe}function Ht(fe,Se){Se.forEach(({key:Pe,value:Qe})=>{fe.setContextProperty(Pe,at(Qe))})}function ir(fe){const Se=fe.strategy;let Pe;switch(Se){case"cookie":Pe=A(fe);break;case"dom":Pe=K(fe);break;case"js":Pe=de(fe);break;case"localStorage":Pe=N(fe);break;default:V.Vy.error(`Unsupported remote configuration: "strategy": "${Se}"`);return}const Qe=fe.extractor;return Qe!==void 0&&typeof Pe=="string"?Tt(Qe,Pe):Pe}function A({name:fe}){const Se=(0,It.Ri)(fe);return Oe.increment("cookie",Se!==void 0?"success":"missing"),Se}function N({key:fe}){let Se;try{Se=localStorage.getItem(fe)}catch{Oe.increment("localStorage","failure");return}return Oe.increment("localStorage",Se!==null?"success":"missing"),Se??void 0}function K({selector:fe,attribute:Se}){let Pe;try{Pe=document.querySelector(fe)}catch{V.Vy.error(`Invalid selector in the remote configuration: '${fe}'`),Oe.increment("dom","failure");return}if(!Pe){Oe.increment("dom","missing");return}if(te(Pe,Se)){V.Vy.error(`Forbidden element selected by the remote configuration: '${fe}'`),Oe.increment("dom","failure");return}const Qe=Se!==void 0?Pe.getAttribute(Se):Pe.textContent;if(Qe===null){Oe.increment("dom","missing");return}return Oe.increment("dom","success"),Qe}function te(fe,Se){return fe.getAttribute("type")==="password"&&Se==="value"}function de({path:fe}){let Se=window;const Pe=Ir(fe);if(Pe.length===0){V.Vy.error(`Invalid JSON path in the remote configuration: '${fe}'`),Oe.increment("js","failure");return}for(const Qe of Pe){if(!(Qe in Se)){Oe.increment("js","missing");return}try{Se=Se[Qe]}catch(ut){V.Vy.error(`Error accessing: '${fe}'`,ut),Oe.increment("js","failure");return}}return Oe.increment("js","success"),Se}}function Qt(){const j={fetch:{}};return{get:()=>j,increment:(se,we)=>{j[se]||(j[se]={}),j[se][we]||(j[se][we]=0),j[se][we]=j[se][we]+1}}}function Br(j){return"rcSerializedType"in j}function zt(j){try{return new RegExp(j)}catch{V.Vy.error(`Invalid regex in the remote configuration: '${j}'`)}}function Tt(j,se){const we=zt(j.value);if(we!==void 0)return Ut(se,we)}async function Pr(j){let se;try{se=await(0,mt.h)(Y(j))}catch{se=void 0}if(!se||!se.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const we=await se.json();return we.rum?{ok:!0,value:we.rum}:{ok:!1,error:new Error("No remote configuration for RUM.")}}function Y(j){return j.remoteConfigurationProxy?j.remoteConfigurationProxy:`https://sdk-configuration.${(0,kt.G)(j)}/${An}/${encodeURIComponent(j.remoteConfigurationId)}.json`}function ht(j,se,we){if(j)for(const Oe of j){const rt=Oe[se];rt&&rt(we)}}var ur=e(44170),it=e(97238),Rt=e(5266),Zr=e(3744),nn=e(60797),fn=e(76889),Sn=e(57212),Ci=e(22009),$i=e(68704),qr=e(20182),Bi=e(80692);const ms=Bi.XP;function hs(j,se){j.register(1,()=>se.isGranted()?Bi.$O:Bi.ug)}function Mi({ignoreInitIfSyntheticsWillInjectRum:j=!0,startDeflateWorker:se},we,Oe){const at=new ur.dX(500,jt=>{(0,l.A2)("preStartRum buffer data lost",{count:jt})}),Ht=(0,it.s)();(0,T.P)(Ht,E.N.globalContext,at);const ir=(0,Rt.Y)();(0,T.P)(ir,E.N.userContext,at);const A=(0,Zr.K)();(0,T.P)(A,E.N.accountContext,at);let N,K,te,de,fe,Se;const Pe=ms(),Qe=we.observable.subscribe(Pt),ut={};let At=!1;function Pt(){if(At||!te||!de||!fe||!Se)return;Qe.unsubscribe();let jt;if(de.trackViewsManually){if(!N)return;jt=N.options}const Vt=de.trackViewsManually?N?.callback:void 0,zr=Oe(de,fe,K,jt,Se,Pe);At=!0,at.subscribe(_r=>{_r!==Vt&&_r(zr)}),at.unbuffer()}function Fr(jt,Vt){const zr=(0,nn.d0)();if(zr&&(jt=gi(jt)),te=jt,de){(0,C.$)("DD_RUM",jt);return}const _r=Fe(jt,Vt);_r&&(_r.compressIntakeRequests&&!zr&&se&&(K=se(_r,"Datadog RUM",fn.l),!K)||(de=_r,we.tryToInit(_r.trackingConsent),we.onGrantedOnce(()=>{if(hs(Pe,we),Se=(0,s.B)(l.a5)("browser-rum-sdk",_r,Pe),Sn.Wq){V.Vy.warn("The RUM SDK is not supported in a web or service worker environment.");return}((0,nn.d0)()?(0,Ci.Ql)():(0,s.B)(Ci.ox)(_r,we)).then(ni=>
9{ni&&(fe=ni,(0,$i.l)(Pe,fe,{application:{id:_r.applicationId}}),(0,l.Rr)(qe(jt)),Pt())}).catch(u.Dx)})))}const vr=(jt,Vt,zr,_r)=>{at.notify(Xn=>Xn.addOperationStepVital((0,h.a)(jt),Vt,(0,h.a)(zr),(0,h.a)(_r)))};return{init(jt,Vt,zr){if(!jt){V.Vy.error("Missing configuration");return}(0,x.Aq)(jt.enableExperimentalFeatures),te=jt,!(j&&(0,qr.ao)())&&(ht(jt.plugins,"onInit",{initConfiguration:jt,publicApi:Vt}),jt.remoteConfigurationId?Xr(jt,{user:ir,context:Ht}).then(_r=>{_r&&Fr(_r,zr)}).catch(u.Dx):Fr(jt,zr))},get initConfiguration(){return te},getInternalContext:fn.l,stopSession:fn.l,addTiming(jt,Vt=(0,v.nx)()){at.notify(zr=>zr.addTiming(jt,Vt))},setLoadingTime:(jt=>{at.notify(Vt=>Vt.setLoadingTime(jt))}),startView(jt,Vt=(0,v.M8)()){const zr=_r=>{_r.startView(jt,Vt)};at.notify(zr),N||(N={options:jt,callback:zr},Pt())},setViewName(jt){at.notify(Vt=>Vt.setViewName(jt))},setViewContext(jt){at.notify(Vt=>Vt.setViewContext(jt))},setViewContextProperty(jt,Vt){at.notify(zr=>zr.setViewContextProperty(jt,Vt))},getViewContext:()=>ut,globalContext:Ht,userContext:ir,accountContext:A,addAction(jt){at.notify(Vt=>Vt.addAction(jt))},startAction(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.startAction(jt,Vt,zr))},stopAction(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.stopAction(jt,Vt,zr))},startResource(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.startResource(jt,Vt,zr))},stopResource(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.stopResource(jt,Vt,zr))},addError(jt){at.notify(Vt=>Vt.addError(jt))},addFeatureFlagEvaluation(jt,Vt){at.notify(zr=>zr.addFeatureFlagEvaluation(jt,Vt))},startDurationVital(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.startDurationVital(jt,Vt,zr))},stopDurationVital(jt,Vt){const zr=(0,v.M8)();at.notify(_r=>_r.stopDurationVital(jt,Vt,zr))},addDurationVital(jt){at.notify(Vt=>Vt.addDurationVital(jt))},addOperationStepVital:vr}}function gi(j){return{...j,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:j.defaultPrivacyLevel??(0,nn.Y9)()?.getPrivacyLevel()}}var Hi=e(73594),qn=e(72868),$n=e(3504),$s=e(25143);function ys(){const j=Es();return new ur.cP(se=>{const we=new j((0,u.dm)(Oe=>se.notify(Oe)));return we.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>we.disconnect()})}function Es(){let j;const se=window;if(se.Zone&&(j=(0,$s.W)(se,"MutationObserver"),se.MutationObserver&&j===se.MutationObserver)){const we=new se.MutationObserver(fn.l),Oe=(0,$s.W)(we,"originalInstance");j=Oe&&Oe.constructor}return j||(j=se.MutationObserver),j}var oe=e(28208);function xe(){const j=new ur.cP,{stop:se}=(0,oe.H)(window,"open",()=>j.notify());return{observable:j,stop:se}}function Ge(j,se,we,Oe,rt){return{get:at=>{const Ht=we.findView(at),ir=rt.findUrl(at),A=se.findTrackedSession(at);if(A&&Ht&&ir){const N=Oe.findActionId(at);return{application_id:j,session_id:A.id,user_action:N?{id:N}:void 0,view:{id:Ht.id,name:Ht.name,referrer:ir.referrer,url:ir.url}}}}}}var bt=e(65680);const Et=bt.D;var Tr=e(26711),vn=e(96687);const Gt=Tr.AQ;function ei(j){const se=(0,vn.qj)({expireDelay:Gt});j.subscribe(1,Oe=>
9{se.add(we(Oe),Oe.startClocks.relative)}),j.subscribe(6,({endClocks:Oe})=>{se.closeActive(Oe.relative)}),j.subscribe(3,Oe=>{const rt=se.find(Oe.startClocks.relative);rt&&(Oe.name&&(rt.name=Oe.name),Oe.context&&(rt.context=Oe.context),rt.sessionIsActive=Oe.sessionIsActive)}),j.subscribe(10,()=>{se.reset()});function we(Oe){return{service:Oe.service,version:Oe.version,context:Oe.context,id:Oe.id,name:Oe.name,startClocks:Oe.startClocks}}return{findView:Oe=>se.find(Oe),stop:()=>{se.stop()}}}var si=e(47822),yn=e(65286),rs=e(46230),xn=e(86670),Ms=e(11989);const Yi=[[yn.v.DOCUMENT,j=>j==="navigation"],[yn.v.XHR,j=>j==="xmlhttprequest"],[yn.v.FETCH,j=>j==="fetch"],[yn.v.BEACON,j=>j==="beacon"],[yn.v.CSS,(j,se)=>/\.css$/i.test(se)],[yn.v.JS,(j,se)=>/\.js$/i.test(se)],[yn.v.IMAGE,(j,se)=>["image","img","icon"].includes(j)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(se)!==null],[yn.v.FONT,(j,se)=>/\.(woff|eot|woff2|ttf)$/i.exec(se)!==null],[yn.v.MEDIA,(j,se)=>["audio","video"].includes(j)||/\.(mp3|mp4)$/i.exec(se)!==null]];function Gs(j){const se=j.name;if(!(0,xn.AY)(se))return yn.v.OTHER;const we=(0,xn.L2)(se);for(const[Oe,rt]of Yi)if(rt(j.initiatorType,we))return Oe;return yn.v.OTHER}function us(...j){for(let se=1;se<j.length;se+=1)if(j[se-1]>j[se])return!1;return!0}function nr(j){return j.initiatorType==="xmlhttprequest"||j.initiatorType==="fetch"}function cr(j){const{duration:se,startTime:we,responseEnd:Oe}=j;return j.initiatorType==="navigation"||se===0&&we<Oe?(0,v.vk)(we,Oe):se}function ln(j){if(!Ln(j))return;const{startTime:se,fetchStart:we,workerStart:Oe,redirectStart:rt,redirectEnd:at,domainLookupStart:Ht,domainLookupEnd:ir,connectStart:A,secureConnectionStart:N,connectEnd:K,requestStart:te,responseStart:de,responseEnd:fe}=j,Se={download:ti(se,de,fe),first_byte:ti(se,te,de)};return 0<Oe&&Oe<we&&(Se.worker=ti(se,Oe,we)),we<K&&(Se.connect=ti(se,A,K),A<=N&&N<=K&&(Se.ssl=ti(se,N,K))),we<ir&&(Se.dns=ti(se,Ht,ir)),se<at&&(Se.redirect=ti(se,rt,at)),Se}function Yn(j){return j.duration>=0}function Ln(j){const se=us(j.startTime,j.fetchStart,j.domainLookupStart,j.domainLookupEnd,j.connectStart,j.connectEnd,j.requestStart,j.responseStart,j.responseEnd),we=wn(j)?us(j.startTime,j.redirectStart,j.redirectEnd,j.fetchStart):!0;return se&&we}function wn(j){return j.redirectEnd>j.startTime}function ti(j,se,we){if(j<=se&&se<=we)return{duration:(0,v.Zj)((0,v.vk)(se,we)),start:(0,v.Zj)((0,v.vk)(j,se))}}function Ti(j){return j.nextHopProtocol===""?void 0:j.nextHopProtocol}function Pi(j){return j.deliveryType===""?"other":j.deliveryType}function Zi(j){if(j.startTime<j.responseStart){const{encodedBodySize:se,decodedBodySize:we,transferSize:Oe}=j;return{size:we,encoded_body_size:se,decoded_body_size:we,transfer_size:Oe}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function Ui(j){return j&&(!(0,Ms.w)(j)||(0,x.sr)(x.R9.TRACK_INTAKE_REQUESTS))}const vi=/data:(.+)?(;base64)?,/g,Wi=24e3;function ks(j,se=Wi){if(j.length<=se||!j.startsWith("data:"))return j;const we=j.substring(0,100).match(vi);return we?`${we[0]}[...]`:j}var ss=e(87848),xs=e(47035);function wi(){return Cs(64)}function Ns(){return Cs(63)}function Cs(j){const se=crypto.getRandomValues(new Uint32Array(2));let we=BigInt(se[0])+(BigInt(se[1])<<32n);return j===63&&(we&=0x7fffffffffffffffn),we}function as(j){return j.toString(16).padStart(16,"0")}function Os(j){j.status===0&&!j.isAborted&&(j.traceId=void 0,j.spanId=void 0,j.traceSampled=void 0)}function ce(j,se,we,Oe){return{clearTracingIfNeeded:Os,traceFetch:rt=>He(j,rt,se,we,Oe,at=>{if(rt.input instanceof Request&&!rt.init?.headers)rt.input=new Request(rt.input),Object.keys(at).forEach(Ht=>{rt.input.headers.append(Ht,at[Ht])});else{rt.init=(0,J.yG)(rt.init);const Ht=[];rt.init.headers instanceof Headers?rt.init.headers.forEach((ir,A)=>{Ht.push([A,ir])}):Array.isArray(rt.init.headers)?rt.init.headers.forEach(ir=>{Ht.push(ir)}):rt.init.headers&&Object.keys(rt.init.headers).forEach(ir=>{Ht.push([ir,rt.init.headers[ir]])}),rt.init.headers=Ht.concat((0,ss.WP)(at))}}),traceXhr:(rt,at)=>He(j,rt,se,we,Oe,Ht=>{try{Object.keys(Ht).forEach(ir=>{at.setRequestHeader(ir,Ht[ir])})}catch{}})}}function He(j,se,we,Oe,rt,at){const Ht=we.findTrackedSession();if(!Ht)return;const ir=j.allowedTracingUrls.find(te=>(0,le.K)([te.match],se.url,!0));if(!ir)return;const A=(0,xs.$5)(Ht.id,(0,xs.it)(j.sessionSampleRate,j.traceSampleRate)),N=(0,nn.d0)()?(0,nn.Y9)()?.getIsTraceSampled()??A:A;(N||j.traceContextInjection===W.uT.ALL)&&(se.traceSampled=N,se.traceId=wi(),se.spanId=Ns(),at(Lt(se.traceId,se.spanId,se.traceSampled,Ht.id,ir.propagatorTypes,Oe,rt,j)))}function Lt(j,se,we,Oe,rt,at,Ht,ir){const A={};if(rt.forEach(N=>{switch(N){case"datadog":{Object.assign(A,{"x-datadog-origin":"rum","x-datadog-parent-id":se.toString(),"x-datadog-sampling-priority":we?"1":"0","x-datadog-trace-id":j.toString()});break}case"tracecontext":{Object.assign(A,{traceparent:`00-0000000000000000${as(j)}-${as(se)}-0${we?"1":"0"}`,tracestate:`dd=s:${we?"1":"0"};o:rum`});break}case"b3":{Object.assign(A,{b3:`${as(j)}-${as(se)}-${we?"1":"0"}`});break}case"b3multi":{Object.assign(A,{"X-B3-TraceId":as(j),"X-B3-SpanId":as(se),"X-B3-Sampled":we?"1":"0"});break}}}),ir.propagateTraceBaggage){const N={"session.id":Oe},K=at.getContext().id;typeof K=="string"&&(N["user.id"]=K);const te=Ht.getContext().id;typeof te=="string"&&(N["account.id"]=te);const de=Object.entries(N).map(([fe,Se])=>`${fe}=${encodeURIComponent(Se)}`).join(",");de&&(A.baggage=de)}return A}var fr=e(72875);const un=32*fr._m;function Qn(j,se){const we=ls(j,se.trackPayload);if(we){if(se.trackResponseErrors&&j.responseBody){const Oe=Xi(j.responseBody);Oe&&(we.error_count=Oe.length,we.errors=Oe)}return we}}function Xi(j){const se=(0,J.XU)(j);if(!se||typeof se!="object")return;const we=se;return(0,ie.EI)(we.errors)?we.errors.map(rt=>({message:rt.message,path:rt.path,locations:rt.locations,code:rt.extensions?.code})):void 0}function qi(j,se){return se.allowedGraphQlUrls.find(we=>(0,le.K)([we.match],j))}function ls(j,se=!1){let we;if(j.method==="POST"?we=ps(j.requestBody):j.method==="GET"&&(we=la(j.url)),!!we)return ca(we,se)}
9function ps(j){if(!j||typeof j!="string")return;const se=(0,J.XU)(j);if(se)return{query:se.query,operationName:se.operationName,variables:se.variables?JSON.stringify(se.variables):void 0}}function la(j){const se=(0,xn.c$)(j).searchParams,we=se.get("variables"),Oe=we&&(0,J.XU)(we)!==void 0?we:void 0;return{query:se.get("query")||void 0,operationName:se.get("operationName")||void 0,variables:Oe}}function ca(j,se){let we,Oe,rt;if(j.query){const at=j.query.trim();we=za(at),se&&(Oe=(0,_._R)(at,un,"..."))}return j.variables&&(rt=j.variables),{operationType:we,operationName:j.operationName,variables:rt,payload:Oe}}function za(j){return j.match(/^\s*(query|mutation|subscription)\b/i)?.[1]}let io=1;function Is(j,se,we,Oe,rt,at){const Ht=ce(se,we,Oe,rt);yr(j,se,Ht,at),Fa(j,se,Ht,at)}function yr(j,se,we,Oe){const rt=[];return rt.push((0,si.G)(se).subscribe(at=>{at.state==="start"&&Ui(at.url)&&(we.traceXhr(at,at.xhr),on(at))})),rt.push(Oe.subscribe(({data:at,type:Ht})=>{if(Ht!==2)return;const ir=at;if(Ui(ir.url))switch(ir.state){case"start":on(ir),j.notify(7,{requestIndex:ir.requestIndex,url:ir.url});break;case"complete":we.clearTracingIfNeeded(ir),j.notify(8,{...ir,type:yn.Y.XHR,isAbortedOnStart:!1});break}})),{stop:()=>rt.forEach(at=>at.unsubscribe())}}function Fa(j,se,we,Oe){const rt=[];return rt.push((0,rs.i)({responseBodyAction:at=>qi(at.url,se)?.trackResponseErrors?1:0}).subscribe(at=>{at.state==="start"&&Ui(at.url)&&(we.traceFetch(at),on(at))})),rt.push(Oe.subscribe(({data:at,type:Ht})=>{if(Ht!==1)return;const ir=at;if(Ui(ir.url))switch(ir.state){case"start":on(ir),j.notify(7,{requestIndex:ir.requestIndex,url:ir.url});break;case"resolve":we.clearTracingIfNeeded(ir),j.notify(8,{...ir,duration:(0,v.vk)(ir.startClocks.timeStamp,(0,v.nx)()),type:yn.Y.FETCH,requestBody:ir.init?.body});break}})),{stop:()=>rt.forEach(at=>at.unsubscribe())}}function on(j){j.requestIndex||(j.requestIndex=io++)}function va(j){return(0,Z.Et)(j)&&j<0?void 0:j}function pa(j){return j.nodeType===Node.TEXT_NODE}function aa(j){return j.nodeType===Node.COMMENT_NODE}function ta(j){return j.nodeType===Node.ELEMENT_NODE}function Za(j){return ta(j)&&!!j.shadowRoot}function $a(j){const se=j;return!!se.host&&se.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ta(se.host)}function Wo(j){return j.childNodes.length>0||Za(j)}function Co(j,se){let we=j.firstChild;for(;we;)se(we),we=we.nextSibling;Za(j)&&se(j.shadowRoot)}function Ro(j){return $a(j)?j.host:j.parentNode}function Hs(j){if(j.parentElement)return j.parentElement;const se=j.parentNode;return se&&$a(se)?se.host:null}var cs=e(98767),Me=e(82308),We;(function(j){j.EVENT="event",j.FIRST_INPUT="first-input",j.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",j.LAYOUT_SHIFT="layout-shift",j.LONG_TASK="longtask",j.LONG_ANIMATION_FRAME="long-animation-frame",j.NAVIGATION="navigation",j.PAINT="paint",j.RESOURCE="resource",j.VISIBILITY_STATE="visibility-state"})(We||(We={}));function Nt(j,se){return new ur.cP(we=>{const Oe=ir=>{const A=Si(ir);A.length>0&&we.notify(A)};let rt,at=!0;const Ht=new PerformanceObserver((0,u.dm)(ir=>{at?rt=(0,cs.wg)(()=>Oe(ir.getEntries())):Oe(ir.getEntries())}));return Ht.observe(se),at=!1,jr(j),()=>{Ht.disconnect(),(0,cs.DJ)(rt)}})}let Jt;function jr(j){!Jt&&an()&&"addEventListener"in performance&&(Jt=(0,Me.q)(j,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}))}function Jr(){Jt&&(Jt.stop(),Jt=void 0)}function an(){return window.performance!==void 0&&"getEntries"in performance}function ai(j){return PerformanceObserver.supportedEntryTypes.includes(j)}function Si(j){return j.filter(se=>!Di(se))}function Di(j){return j.entryType===We.RESOURCE&&(!Ui(j.name)||!Yn(j))}const Vi=100,da=100,ya="data-dd-excluded-activity-mutations";function Qi(j,se,we,Oe,rt,at){const Ht=(0,s.B)(Do)(j,se,we,Oe);let ir,A=!1;const N=(0,cs.wg)((0,u.dm)(()=>fe({hadActivity:!1})),Vi),K=at!==void 0?(0,cs.wg)((0,u.dm)(()=>fe({hadActivity:!0,end:(0,v.nx)()})),at):void 0,te=Ht.subscribe(({isBusy:Se})=>{(0,cs.DJ)(N),(0,cs.DJ)(ir);const Pe=(0,v.nx)();Se||(ir=(0,cs.wg)((0,u.dm)(()=>fe({hadActivity:!0,end:Pe})),da))}),de=()=>{A=!0,(0,cs.DJ)(N),(0,cs.DJ)(ir),(0,cs.DJ)(K),te.unsubscribe()};function fe(Se){A||(de(),rt(Se))}return{stop:de}}function Do(j,se,we,Oe){return new ur.cP(rt=>{const at=[];let Ht,ir=0;return at.push(se.subscribe(N=>{N.every(Ta)||A()}),we.subscribe(A),Nt(Oe,{type:We.RESOURCE}).subscribe(N=>{N.some(K=>!Oo(Oe,K.name))&&A()}),j.subscribe(7,N=>{Oo(Oe,N.url)||(Ht===void 0&&(Ht=N.requestIndex),ir+=1,A())}),j.subscribe(8,N=>{Oo(Oe,N.url)||Ht===void 0||N.requestIndex<Ht||(ir-=1,A())})),()=>{at.forEach(N=>N.unsubscribe())};
9function A(){rt.notify({isBusy:ir>0})}})}function Oo(j,se){return(0,le.K)(j.excludedActivityUrls,se)}function Ta(j){const se=j.type==="characterData"?j.target.parentElement:j.target;return!!(se&&ta(se)&&se.matches(`[${ya}], [${ya}] *`))}const Ne="data-dd-action-name",Ve="Masked Element",gt="xxx",ct="::shadow ",Kt=[Ne,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],tr=[Mn,Wt],Cr=[Mn,Wr,sn];function kr(j,se){if(!j.isConnected)return;const we=Bn(j),Oe=[];for(const{rootNode:rt,target:at}of we){const Ht=Hn(at,rt,se);if(!Ht)return;Oe.push(Ht)}return Oe.join(ct)}function Bn(j){const se=[];let we=j;for(;we;){const Oe=we.getRootNode();if(se.push({rootNode:Oe,target:we}),$a(Oe))we=Oe.host;else break}return se.reverse()}function Hn(j,se,we){let Oe,rt=j;for(;rt&&rt.nodeName!=="HTML";){const at=Fi(rt,se,tr,Le,we,Oe);if(at)return lt(at,Oe);const ir=Fi(rt,se,Cr,Ue,we,Oe)||Wn(rt);Oe=lt(ir,Oe),rt=rt.parentElement}return Oe}function Bt(j){return/[0-9]/.test(j)}function Wt(j){if(j.id&&!Bt(j.id))return`#${CSS.escape(j.id)}`}function Wr(j){if(j.tagName==="BODY")return;const se=j.classList;for(let we=0;we<se.length;we+=1){const Oe=se[we];if(!Bt(Oe))return`${CSS.escape(j.tagName)}.${CSS.escape(Oe)}`}}function sn(j){return CSS.escape(j.tagName)}function Mn(j,se){if(se){const Oe=we(se);if(Oe)return Oe}for(const Oe of Kt){const rt=we(Oe);if(rt)return rt}function we(Oe){if(j.hasAttribute(Oe))return`${CSS.escape(j.tagName)}${_n(Oe,j.getAttribute(Oe))}`}}function _n(j,se){return`[${j}="${CSS.escape(se)}"]`}function Wn(j){const se=Un(j);return`${CSS.escape(j.tagName)}:nth-of-type(${se})`}function Un(j){let we=j.parentNode.firstElementChild,Oe=1;for(;we&&we!==j;)we.tagName===j.tagName&&(Oe+=1),we=we.nextElementSibling;return Oe}function Fi(j,se,we,Oe,rt,at){for(const Ht of we){const ir=Ht(j,rt);if(ir&&Oe(j,se,ir,at))return ir}}function Le(j,se,we,Oe){return se.querySelectorAll(lt(we,Oe)).length===1}function Ue(j,se,we,Oe){let rt;if(Oe===void 0)rt=Ht=>Ht.matches(we);else{const Ht=lt(`${we}:scope`,Oe);rt=ir=>ir.querySelector(Ht)!==null}let at=j.previousElementSibling;for(;at;){if(rt(at))return!1;at=at.previousElementSibling}for(at=j.nextElementSibling;at;){if(rt(at))return!1;at=at.nextElementSibling}return!0}function lt(j,se){return se?`${j}>${se}`:j}const ot={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:W.WA.ALLOW,MASK:W.WA.MASK,MASK_USER_INPUT:W.WA.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:W.WA.MASK_UNLESS_ALLOWLISTED},Yt="data-dd-privacy",rr="allow",Or="mask",tn="mask-user-input",kn="mask-unless-allowlisted",En="hidden",Rn="dd-privacy-",ki="***",bs="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",Rs={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},As="x";function di(j){return`[${Yt}="${j}"], .${Rn}${j}`}function Gn(j,se,we){if(we&&we.has(j))return we.get(j);const Oe=Ro(j),rt=Oe?Gn(Oe,se,we):se,at=Ks(j),Ht=oi(at,rt);return we&&we.set(j,Ht),Ht}function oi(j,se){switch(se){case ot.HIDDEN:case ot.IGNORE:return se}switch(j){case ot.ALLOW:case ot.MASK:case ot.MASK_USER_INPUT:case ot.MASK_UNLESS_ALLOWLISTED:case ot.HIDDEN:case ot.IGNORE:return j;default:return se}}function Ks(j){if(ta(j)){if(j.tagName==="BASE")return ot.ALLOW;if(j.tagName==="INPUT"){const se=j;if(se.type==="password"||se.type==="email"||se.type==="tel"||se.type==="hidden")return ot.MASK;const we=se.getAttribute("autocomplete");if(we&&(we.startsWith("cc-")||we.endsWith("-password")))return ot.MASK}if(j.matches(di(ot.HIDDEN)))return ot.HIDDEN;if(j.matches(di(ot.MASK)))return ot.MASK;if(j.matches(di(ot.MASK_UNLESS_ALLOWLISTED)))return ot.MASK_UNLESS_ALLOWLISTED;if(j.matches(di(ot.MASK_USER_INPUT)))return ot.MASK_USER_INPUT;if(j.matches(di(ot.ALLOW)))return ot.ALLOW;if(z(j))return ot.IGNORE}}function qs(j,se){switch(se){case ot.MASK:case ot.HIDDEN:case ot.IGNORE:return!0;case ot.MASK_UNLESS_ALLOWLISTED:return pa(j)?Ba(j.parentNode)?!0:!ee(j.textContent||""):Ba(j);case ot.MASK_USER_INPUT:return pa(j)?Ba(j.parentNode):Ba(j);default:return!1}}function ns(j,se,we,Oe,rt){if(Oe!==ot.MASK&&Oe!==ot.MASK_UNLESS_ALLOWLISTED||se===Yt||Kt.includes(se)||se===rt.actionNameAttribute)return!1;switch(se){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!(j==="A"&&se==="href"||j==="IFRAME"&&se==="srcdoc"||we&&se.startsWith("data-")||(j==="IMG"||j==="SOURCE")&&(se==="src"||se==="srcset"))}function Ba(j){if(!j||j.nodeType!==j.ELEMENT_NODE)return!1;const se=j;if(se.tagName==="INPUT")switch(se.type){case"button":case"color":case"reset":case"submit":return!1}return!!Rs[se.tagName]}function ka(j){return j.replace(/\S/g,As)}function H(j,se){const we=j.parentElement?.tagName;let Oe=j.textContent||"";if(we==="HEAD"&&!Oe.trim())return;const at=se;if(we==="SCRIPT")Oe=ki;else if(at===ot.HIDDEN)Oe=ki;else if(qs(j,at))if(we==="DATALIST"||we==="SELECT"||we==="OPTGROUP"){if(!Oe.trim())return}else we==="OPTION"?Oe=ki:Oe=ka(Oe);return Oe}function z(j){if(j.nodeName==="SCRIPT")return!0;
9if(j.nodeName==="LINK"){const we=se("rel");return/preload|prefetch/i.test(we)&&se("as")==="script"||we==="shortcut icon"||we==="icon"}if(j.nodeName==="META"){const we=se("name"),Oe=se("rel"),rt=se("property");return/^msapplication-tile(image|color)$/.test(we)||we==="application-name"||Oe==="icon"||Oe==="apple-touch-icon"||Oe==="shortcut icon"||we==="keywords"||we==="description"||/^(og|twitter|fb):/.test(rt)||/^(og|twitter):/.test(we)||we==="pinterest"||we==="robots"||we==="googlebot"||we==="bingbot"||j.hasAttribute("http-equiv")||we==="author"||we==="generator"||we==="framework"||we==="publisher"||we==="progid"||/^article:/.test(rt)||/^product:/.test(rt)||we==="google-site-verification"||we==="yandex-verification"||we==="csrf-token"||we==="p:domain_verify"||we==="verify-v1"||we==="verification"||we==="shopify-checkout-api-token"}function se(we){return(j.getAttribute(we)||"").toLowerCase()}return!1}function ee(j){return!j||!j.trim()?!0:window.$DD_ALLOW?.has(j.toLocaleLowerCase())||!1}function pe(j,se){return ee(j)?j:se||ka(j)}function Ce({lifeCycle:j,isChildEvent:se,onChange:we=fn.l}){const Oe={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},rt=j.subscribe(13,at=>{if(!(at.type==="view"||at.type==="vital"||!se(at)))switch(at.type){case P.ERROR:Oe.errorCount+=1,we();break;case P.ACTION:Oe.actionCount+=1,at.action.frustration&&(Oe.frustrationCount+=at.action.frustration.type.length),we();break;case P.LONG_TASK:Oe.longTaskCount+=1,we();break;case P.RESOURCE:at._dd?.discarded||(Oe.resourceCount+=1,we());break}});return{stop:()=>{rt.unsubscribe()},eventCounts:Oe}}const ze=5*v.iW;function st(j){const se=(0,vn.qj)({expireDelay:ze}),we=new Map;function Oe(de){we.delete(de.key),de.eventCounts?.stop()}function rt(){we.forEach(de=>{Oe(de)}),se.reset()}const at=j.subscribe(10,rt);function Ht(de,fe,Se,Pe){const Qe=(0,_.lk)(),ut=se.add(Qe,fe.relative),At=we.get(de);At&&Oe(At);const Pt=Pe?.isChildEvent?Ce({lifeCycle:j,isChildEvent:Pe.isChildEvent(Qe)}):void 0,Fr={id:Qe,key:de,startClocks:fe,data:Se,historyEntry:ut,eventCounts:Pt};return we.set(de,Fr),Fr}function ir(de,fe,Se){const Pe=we.get(de);if(!Pe)return;const Qe=Se?(0,g.kg)(Pe.data,Se):Pe.data;Pe.historyEntry.close(fe.relative);const ut=(0,v.vk)(Pe.startClocks.timeStamp,fe.timeStamp),At=Pe.eventCounts?.eventCounts;return Oe(Pe),{...Qe,id:Pe.id,startClocks:Pe.startClocks,duration:ut,counts:At}}function A(de){const fe=we.get(de);if(!fe)return;const Se=fe.eventCounts?.eventCounts;return Oe(fe),fe.historyEntry.remove(),{...fe.data,id:fe.id,startClocks:fe.startClocks,counts:Se}}function N(de){return se.findAll(de)}function K(de){return we.get(de)?.eventCounts?.eventCounts}function te(){at.unsubscribe(),rt(),se.stop()}return{start:Ht,stop:ir,discard:A,getCounts:K,findId:N,stopAll:te}}const ft=["HTML","BODY"],Dt=2*fr._m,lr=Kt.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function $t(j,se){const we=j.filter(at=>at instanceof Element&&!ft.includes(at.tagName));if(we.length===0)return"";const Oe=se?[se].concat(lr):lr;let rt="";for(const at of we){const Ht=Nr(at,Oe);if(rt+=Ht,rt.length>=Dt)return(0,_._R)(rt,Dt)}return rt}function Nr(j,se){const we=sn(j),Oe=Wt(j),rt=cn(j),at=jn(j,se),Ht=Nn(j);return`${we}${Oe||""}${at}${rt}${Ht};`}function cn(j){return Array.from(j.classList).filter(se=>!Bt(se)).sort().map(se=>`.${CSS.escape(se)}`).join("")}function Nn(j){const se=Array.from(j.parentNode.children);if(se.length<=1)return"";const we=se.filter(at=>at.tagName===j.tagName),Oe=se.indexOf(j),rt=Un(j);return`:nth-child(${Oe+1})${we.length>1?`:nth-of-type(${rt})`:""}`}function jn(j,se){const we=[],Oe=Array.from(j.attributes);for(const rt of Oe)se.includes(rt.name)&&we.push(_n(rt.name,rt.value));return we.sort().join("")}const fi=v.OY,xi=100;function Ii(j,se){const we=[];let Oe=0,rt;at(j);function at(A){A.stopObservable.subscribe(Ht),we.push(A),(0,cs.DJ)(rt),rt=(0,cs.wg)(ir,fi)}function Ht(){Oe===1&&we.every(A=>A.isStopped())&&(Oe=2,se(we))}function ir(){(0,cs.DJ)(rt),Oe===0&&(Oe=1,Ht())}return{tryAppend:A=>Oe!==0?!1:we.length>0&&!zi(we[we.length-1].event,A.event)?(ir(),!1):(at(A),!0),stop:()=>{ir()}}}function zi(j,se){return j.target===se.target&&gs(j,se)<=xi&&j.timeStamp-se.timeStamp<=fi}function gs(j,se){return Math.sqrt(Math.pow(j.clientX-se.clientX,2)+Math.pow(j.clientY-se.clientY,2))}function er(j,se,we=ot.ALLOW){const Oe=new Map,{actionNameAttribute:rt}=se,at=br(j,Ne)||rt&&br(j,rt);return at?{name:at,nameSource:"custom_attribute"}:we===ot.MASK?{name:Ve,nameSource:"mask_placeholder"}:ra(j,yi,se,Oe)||ra(j,Ni,se,Oe)||{name:"",nameSource:"blank"}}function br(j,se){const we=xr(j,`[${se}]`);
9if(!we)return;const Oe=we.getAttribute(se);return Lu(Ys(Oe.trim()))}function xr(j,se){let we=j;for(;we;){if(we.matches(se))return we;we=Hs(we)}return null}const yi=[(j,se,we)=>{if("labels"in j&&j.labels&&j.labels.length>0)return jo(j.labels[0],se,we)},j=>{if(j.nodeName==="INPUT"){const se=j,we=se.getAttribute("type");if(we==="button"||we==="submit"||we==="reset")return{name:se.value,nameSource:"text_content"}}},(j,se,we)=>{if(j.nodeName==="BUTTON"||j.nodeName==="LABEL"||j.getAttribute("role")==="button")return jo(j,se,we)},(j,se,we)=>vo(j,"aria-label",se,we),(j,se,we)=>{const Oe=j.getAttribute("aria-labelledby");if(Oe)return{name:Oe.split(/\s+/).map(rt=>Uo(j,rt)).filter(rt=>!!rt).map(rt=>Ll(rt,se,we)).join(" "),nameSource:"text_content"}},(j,se,we)=>vo(j,"alt",se,we),(j,se,we)=>vo(j,"name",se,we),(j,se,we)=>vo(j,"title",se,we),(j,se,we)=>vo(j,"placeholder",se,we),(j,se,we)=>{if("options"in j&&j.options.length>0)return jo(j.options[0],se,we)}],Ni=[(j,se,we)=>jo(j,se,we)],pi=10;function ra(j,se,we,Oe){let rt=j,at=0;for(;at<=pi&&rt&&rt.nodeName!=="BODY"&&rt.nodeName!=="HTML"&&rt.nodeName!=="HEAD";){for(const Ht of se){const ir=Ht(rt,we,Oe);if(ir){const{name:A,nameSource:N}=ir,K=A&&A.trim();if(K)return{name:Lu(Ys(K)),nameSource:N}}}if(rt.nodeName==="FORM")break;rt=Hs(rt),at+=1}}function Ys(j){return j.replace(/\s+/g," ")}function Lu(j){return j.length>100?`${(0,_._R)(j,100)} [...]`:j}function Uo(j,se){const we=j.getRootNode();if(we instanceof ShadowRoot){const Oe=we.getElementById(se);if(Oe)return Oe}return j.ownerDocument?j.ownerDocument.getElementById(se):null}function vo(j,se,we,Oe){const{enablePrivacyForActionName:rt,defaultPrivacyLevel:at}=we;let Ht=j.getAttribute(se);if(Ht&&rt){const ir=Gn(j,at,Oe);ns(j.tagName,se,Ht,ir,we)&&(Ht=pe(Ht,Ve))}else Ht||(Ht="");return{name:Ht,nameSource:"standard_attribute"}}function jo(j,se,we){return{name:Ll(j,se,we)||"",nameSource:"text_content"}}function Ll(j,se,we){if(j.isContentEditable)return;const{enablePrivacyForActionName:Oe,actionNameAttribute:rt,defaultPrivacyLevel:at}=se,Ht=document.createTreeWalker(j,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,A);let ir="";for(;Ht.nextNode();){const N=Ht.currentNode;if(ta(N)){(N.nodeName==="BR"||N.nodeName==="P"||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(N).display))&&(ir+=" ");continue}ir+=N.textContent||""}return ir.replace(/\s+/g," ").trim();function A(N){const K=Gn(N,at,we);if(Oe&&K&&qs(N,K))return NodeFilter.FILTER_REJECT;if(ta(N)){if(N.hasAttribute(Ne)||rt&&N.hasAttribute(rt))return NodeFilter.FILTER_REJECT;const te=getComputedStyle(N);if(te.visibility!=="visible"||te.display==="none"||te.contentVisibility&&te.contentVisibility!=="visible")return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}function wa(j,{onPointerDown:se,onPointerUp:we}){let Oe,rt={selection:!1,input:!1,scroll:!1},at;const Ht=[(0,Me.q)(j,window,"pointerdown",ir=>{el(ir)&&(Oe=wu(),rt={selection:!1,input:!1,scroll:!1},at=se(ir))},{capture:!0}),(0,Me.q)(j,window,"selectionchange",()=>{(!Oe||!wu())&&(rt.selection=!0)},{capture:!0}),(0,Me.q)(j,window,"scroll",()=>{rt.scroll=!0},{capture:!0,passive:!0}),(0,Me.q)(j,window,"pointerup",ir=>{if(el(ir)&&at){const A=rt;we(at,ir,()=>A),at=void 0}},{capture:!0}),(0,Me.q)(j,window,"input",()=>{rt.input=!0},{capture:!0})];return{stop:()=>{Ht.forEach(ir=>ir.stop())}}}function wu(){const j=window.getSelection();return!j||j.isCollapsed}function el(j){return j.target instanceof Element&&j.isPrimary!==!1}const Ca=3;function Yl(j,se){if($c(j))return se.addFrustration($.RAGE_CLICK),j.some(Hc)&&se.addFrustration($.DEAD_CLICK),se.hasError&&se.addFrustration($.ERROR_CLICK),{isRage:!0};const we=j.some(Oe=>Oe.getUserActivity().selection);return j.forEach(Oe=>{Oe.hasError&&Oe.addFrustration($.ERROR_CLICK),Hc(Oe)&&!we&&Oe.addFrustration($.DEAD_CLICK)}),{isRage:!1}}function $c(j){if(j.some(se=>se.getUserActivity().selection||se.getUserActivity().scroll))return!1;for(let se=0;se<j.length-(Ca-1);se+=1)if(j[se+Ca-1].event.timeStamp-j[se].event.timeStamp<=v.OY)return!0;return!1}const zo='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function Hc(j){if(j.hasPageActivity||j.getUserActivity().input||j.getUserActivity().scroll)return!1;let se=j.event.target;return se.tagName==="LABEL"&&se.hasAttribute("for")&&(se=document.getElementById(se.getAttribute("for"))),!se||!se.matches(zo)}const Xl=10*v.OY,Fs=new Map;function _u(j){const se=Fs.get(j);return Fs.delete(j),se}function oo(j,se){Fs.set(j,se),Fs.forEach((we,Oe)=>{(0,v.vk)(Oe,(0,v.$S)())>Xl&&Fs.delete(Oe)})}function tl(j){return se=>se.action!==void 0&&se.action.id!==void 0&&se.action.id.includes(j)}function Ml(j,se,we,Oe){const rt=st(j),at=new ur.cP;let Ht;j.subscribe(5,N),j.subscribe(11,N);const{stop:ir}=wa(Oe,{onPointerDown:K=>ae(Oe,j,se,K,we),onPointerUp:({clickActionBase:K,hadActivityOnPointerDown:te},de,fe)=>{hr(Oe,j,se,we,rt,at,A,K,de,fe,te)}});return{stop:()=>{N(),at.notify(),ir(),rt.stopAll()},findActionId:rt.findId};function A(K){if(!Ht||!Ht.tryAppend(K)){const te=K.clone();Ht=Ii(K,de=>{Jn(de,te),Ht=void 0})}}function N(){Ht&&Ht.stop()}}function ae(j,se,we,Oe,rt){let at;
9if(j.enablePrivacyForActionName?at=Gn(xt(Oe),j.defaultPrivacyLevel):at=ot.ALLOW,at===ot.HIDDEN)return;const Ht=dt(Oe,at,j);let ir=!1;return Qi(se,we,rt,j,A=>{ir=A.hadActivity},Vi),{clickActionBase:Ht,hadActivityOnPointerDown:()=>ir}}function hr(j,se,we,Oe,rt,at,Ht,ir,A,N,K){const te=bn(se,rt,N,ir,A);Ht(te);const de=ir?.target?.selector;de&&oo(A.timeStamp,de);const{stop:fe}=Qi(se,we,Oe,j,ut=>{ut.hadActivity&&ut.end<te.startClocks.timeStamp?te.discard():ut.hadActivity?te.stop(ut.end):K()?te.stop(te.startClocks.timeStamp):te.stop()},Xl),Se=se.subscribe(5,({endClocks:ut})=>{te.stop(ut.timeStamp)}),Pe=se.subscribe(11,()=>{te.stop((0,v.nx)())}),Qe=at.subscribe(()=>{te.stop()});te.stopObservable.subscribe(()=>{Pe.unsubscribe(),Se.unsubscribe(),fe(),Qe.unsubscribe()})}function dt(j,se,we){const Oe=xt(j),rt=Oe.getBoundingClientRect(),at=kr(Oe,we.actionNameAttribute),Ht=$t(j.composedPath(),we.actionNameAttribute);at&&oo(j.timeStamp,at);const{name:ir,nameSource:A}=er(Oe,we,se);return{type:B.CLICK,target:{width:Math.round(rt.width),height:Math.round(rt.height),selector:at,composedPathSelector:Ht||void 0},position:{x:Math.round(j.clientX-rt.left),y:Math.round(j.clientY-rt.top)},name:ir,nameSource:A}}function xt(j){if(j.composed&&Za(j.target)&&typeof j.composedPath=="function"){const se=j.composedPath();if(se.length>0&&se[0]instanceof Element)return se[0]}return j.target}function bn(j,se,we,Oe,rt){const at=(0,_.lk)(),Ht=(0,v.FR)(rt.timeStamp),ir=se.start(at,Ht,Oe,{isChildEvent:tl});j.notify(15,ir);let A=0,N;const K=[],te=new ur.cP;function de(fe){A===0&&(A=1,N=fe?se.stop(at,(0,v.jR)(fe)):se.discard(at),te.notify())}return{event:rt,stop:de,stopObservable:te,get hasError(){const fe=N?.counts??se.getCounts(at);return fe?fe.errorCount>0:!1},get hasPageActivity(){return N&&"duration"in N},getUserActivity:we,addFrustration:fe=>{K.push(fe)},get startClocks(){return Ht},isStopped:()=>A===1||A===2,clone:()=>bn(j,se,we,Oe,rt),validate:fe=>{if(de(),A!==1||!N)return;const Se={frustrationTypes:K,events:fe??[rt],event:rt,...N,counts:N.counts};j.notify(0,Se),A=2},discard:()=>{de(),A=2}}}function Jn(j,se){const{isRage:we}=Yl(j,se);we?(j.forEach(Oe=>Oe.discard()),se.stop((0,v.nx)()),se.validate(j.map(Oe=>Oe.event))):(se.discard(),j.forEach(Oe=>Oe.validate()))}function vs(j,se){const we=st(j);function Oe(Ht,ir={},A=(0,v.M8)()){const N=ir.actionKey??Ht,K=we.start(N,A,{name:Ht,...ir},{isChildEvent:tl});j.notify(15,K)}function rt(Ht,ir={},A=(0,v.M8)()){const N=ir.actionKey??Ht,K=we.stop(N,A,ir);if(!K)return;const te=[];K.counts&&K.counts.errorCount>0&&te.push($.ERROR_CLICK);const de={...K,type:K.type||B.CUSTOM,frustrationTypes:te};se(de)}function at(Ht){se({id:(0,_.lk)(),frustrationTypes:[],...Ht})}return{addAction:at,startAction:Oe,stopAction:rt,findActionId:we.findId,stop:we.stopAll}}const Ps=1;function Ia(j,se,we,Oe,rt){const{unsubscribe:at}=j.subscribe(0,K=>{j.notify(12,$o(K))}),Ht=fn.l;let ir;rt.trackUserInteractions&&(ir=Ml(j,we,Oe,rt));const A=vs(j,K=>{j.notify(12,$o(K))}),N={findActionId:K=>{const te=A.findActionId(K),de=ir?.findActionId(K)??[];return te.concat(de)}};return se.register(0,({startTime:K,eventType:te})=>{if(te!==P.ERROR&&te!==P.RESOURCE&&te!==P.LONG_TASK)return Bi.$O;const de=te===P.LONG_TASK?(0,v.Gw)(K,Ps):K,fe=N.findActionId(de);return fe.length?{type:te,action:{id:fe}}:Bi.$O}),se.register(1,({startTime:K})=>({action:{id:N.findActionId(K)}})),{addAction:A.addAction,startAction:A.startAction,stopAction:A.stopAction,actionContexts:N,stop:()=>{at(),Ht(),A.stop(),ir?.stop()}}}function $o(j){const se=yo(j),we=va((0,v.Zj)(j.duration));return{rawRumEvent:{type:P.ACTION,date:j.startClocks.timeStamp,action:{id:j.id,target:{name:j.name},type:j.type,...we!==void 0&&{loading_time:we},...j.counts&&{error:{count:j.counts.errorCount},long_task:{count:j.counts.longTaskCount},resource:{count:j.counts.resourceCount}},frustration:{type:j.frustrationTypes}},...se?{_dd:{action:{target:{selector:j.target?.selector||void 0,width:j.target?.width||void 0,height:j.target?.height||void 0,composed_path_selector:j.target?.composedPathSelector},position:j.position,name_source:j.nameSource}}}:{context:j.context}},duration:j.duration,startClocks:j.startClocks,domainContext:se?{events:j.events}:{handlingStack:j.handlingStack}}}function yo(j){return"events"in j}var qa=e(95511),Vo=e(69991),Lo=e(6623);function Hu(j,se){const we=(0,Lo.u)(j,[Lo.V.cspViolation,Lo.V.intervention]).subscribe(Oe=>se.notify(Oe));return{stop:()=>{we.unsubscribe()}}}function kl(j,se,we){const Oe=new ur.cP;return we.subscribe(({data:rt,type:at})=>{at===0?Oe.notify(rt):at===3&&rt.api===V.bP.error&&Oe.notify(rt.error)}),Hu(se,Oe),Oe.subscribe(rt=>j.notify(14,{error:rt})),Mu(j)}function Mu(j){return j.subscribe(14,({error:se})=>{j.notify(12,eu(se))}),{addError:({error:se,handlingStack:we,componentStack:Oe,startClocks:rt,context:at})=>{const Ht=(0,qa.As)({originalError:se,handlingStack:we,componentStack:Oe,startClocks:rt,nonErrorPrefix:"Provided",source:Vo.g.CUSTOM,handling:"handled"});Ht.context=(0,g.kg)(Ht.context,at),j.notify(14,{error:Ht})}}}function eu(j){const se={date:j.startClocks.timeStamp,error:{id:(0,_.lk)(),message:j.message,source:j.source,stack:j.stack,handling_stack:j.handlingStack,component_stack:j.componentStack,type:j.type,handling:j.handling,causes:j.causes,source_type:"browser",fingerprint:j.fingerprint,csp:j.csp},type:P.ERROR,context:j.context},we={error:j.originalError,handlingStack:j.handlingStack};return{rawRumEvent:se,startClocks:j.startClocks,domainContext:we}}var bo=e(40042);const Mo=v.OY,Bs=30;function rl(){const j=[];function se(Oe){let rt;if(!Oe||Oe.didTimeout){const at=performance.now();rt=()=>Bs-(performance.now()-at)}else rt=Oe.timeRemaining.bind(Oe);for(;rt()>0&&j.length;)j.shift()();j.length&&we()}function we(){(0,bo.BB)(se,{timeout:Mo})}return{push(Oe){j.push(Oe)===1&&we()},stop(){j.length=0}}}var lc=e(73533);const Nl=2*v.iW;function nl(j){const se=il(j)||vl(j);if(!(!se||se.traceTime<=(0,v.T_)()-Nl))return se.traceId}function il(j){const se=j.querySelector("meta[name=dd-trace-id]"),we=j.querySelector("meta[name=dd-trace-time]");return sl(se&&se.content,we&&we.content)}function vl(j){const se=ko(j);if(se)return sl((0,_.rx)(se,"trace-id"),(0,_.rx)(se,"trace-time"))}function sl(j,se){const we=se&&Number(se);if(!(!j||!we))return{traceId:j,traceTime:we}}function ko(j){for(let se=0;se<j.childNodes.length;se+=1){const we=lu(j.childNodes[se]);if(we)return we}if(j.body)for(let se=j.body.childNodes.length-1;se>=0;se-=1){const we=j.body.childNodes[se],Oe=lu(we);if(Oe)return Oe;if(!pa(we))break}}function lu(j){if(j&&aa(j)){const se=/^\s*DATADOG;(.*?)\s*$/.exec(j.data);if(se)return se[1]}}function Go(){if(ai(We.NAVIGATION)){const we=performance.getEntriesByType(We.NAVIGATION)[0];if(we)return we}const j=Xo(),se={entryType:We.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:j.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...se,toJSON:void 0}),...j};return se}function Xo(){const j={},se=performance.timing;
9for(const we in se)if((0,Z.Et)(se[we])){const Oe=we,rt=se[Oe];j[Oe]=rt===0?0:(0,v.gs)(rt)}return j}function Cc(j){return j.responseStart>=0&&j.responseStart<=(0,v.$S)()?j.responseStart:void 0}function Ae(){if(ai(We.RESOURCE))return performance.getEntriesByType(We.RESOURCE)}function et(j,se){const we=Ae();if(we)return(0,ss.Uk)(we,Oe=>Oe.name===j&&Oe.startTime<=se)}const pt=1e3;function Ft(j){const se=new Set;let we=!1;const Oe=j.subscribe(8,rt=>{if(se.add(rt),se.size>pt){const at=se.values().next().value;if(!we){we=!0;let Ht;if((0,x.sr)(x.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let ir=0,A=0,N=0,K=0;for(const de of se)de.isAborted&&ir++,de.isAbortedOnStart&&A++,de.type===yn.Y.XHR&&N++,performance.getEntriesByName(de.url,"resource").some(Pe=>Pe.startTime>=de.startClocks.relative)||K++;const te=(0,v.nx)()-at.startClocks.timeStamp;Ht={abortedCount:ir,abortedOnStartCount:A,xhrCount:N,fetchCount:se.size-N,oldestRequestAge:te,oldestRequestEndAge:te-at.duration,withoutMatchingEntryCount:K}}(0,l.A2)("Too many requests",Ht)}se.delete(at)}});return{getMatchingRequest(rt){let at=1/0,Ht;for(const ir of se){const A=rt.startTime-ir.startClocks.relative;0<=A&&A<at&&ir.url===rt.name&&(at=Math.abs(A),Ht=ir)}return Ht&&se.delete(Ht),Ht},stop(){Oe.unsubscribe()}}}function Zt(j,se){function we(rt,at={},Ht=(0,v.M8)()){const ir=at.resourceKey??rt;se.start(ir,Ht,{url:rt,...at})}function Oe(rt,at={},Ht=(0,v.M8)()){const ir=at.resourceKey??rt,A=se.stop(ir,Ht,{context:at.context,type:at.type});if(!A)return;const N=(0,v.vk)(A.startClocks.relative,Ht.relative),K={date:A.startClocks.timeStamp,type:P.RESOURCE,resource:{id:A.id,type:A.type||yn.v.OTHER,url:ks(A.url),duration:(0,v.Zj)(N),method:A.method,status_code:at.statusCode,size:at.size},_dd:{},context:A.context};j.notify(12,{rawRumEvent:K,startClocks:A.startClocks,duration:N,domainContext:{isManual:!0}})}return{startResource:we,stopResource:Oe}}function Rr(j,se){const we=(0,s.B)(rl)(),Oe=Ft(j),rt=Nt(se,{type:We.RESOURCE,buffered:!0}).subscribe(N=>{for(const K of N)Ht(()=>mn(K,Oe,se))}),{stop:at}=(0,lc.H)(se,"interactive",()=>{Ht(()=>mn(Go(),Oe,se))});function Ht(N){we.push(()=>{const K=N();K&&j.notify(12,K)})}const ir=st(j),A=Zt(j,ir);return{startResource:A.startResource,stopResource:A.stopResource,stop:()=>{at(),we.stop(),rt.unsubscribe(),ir.stopAll()}}}function mn(j,se,we){const Oe=nr(j)?se.getMatchingRequest(j):void 0,rt=Oe?Ai(Oe,we):Gi(j,we);if(!we.trackResources&&!rt)return;const at=(0,v.FR)(j.startTime),Ht=cr(j),ir=Qa(Oe,we),A=(0,g.kg)({date:at.timeStamp,resource:{id:(0,_.lk)(),duration:(0,v.Zj)(Ht),type:Gs(j),method:Oe?.method,status_code:Oe?Oe.status:Xs(j.responseStatus),url:Oe?ks(Oe.url):j.name,protocol:Ti(j),delivery_type:Pi(j),graphql:Oe&&Ye(Oe,we),render_blocking_status:j.renderBlockingStatus,...Zi(j),...ln(j)},type:P.RESOURCE,_dd:{discarded:!we.trackResources}},rt,Li(j),ir);return{startClocks:at,duration:Ht,rawRumEvent:A,domainContext:_i(j,Oe)}}function Ye(j,se){const we=qi(j.url,se);if(we)return Qn(j,we)}function Li(j){const se=j.contentType;if(se)return{resource:{response:{headers:{"content-type":se}}}}}function _i(j,se){return{performanceEntry:j,isManual:!1,isAborted:se?se.isAborted:!1,handlingStack:se?.handlingStack,requestInit:se?.init,requestInput:se?.input,response:se?.response,error:se?.error,xhr:se?.xhr}}function Ai(j,se){if(j.traceSampled&&j.traceId&&j.spanId)return{_dd:{span_id:j.spanId.toString(),trace_id:j.traceId.toString(),rule_psr:se.rulePsr}}}function Gi(j,se){if(j.initiatorType!=="navigation")return;const we=(0,s.B)(nl)(document);if(we)return{_dd:{trace_id:we,span_id:Ns().toString(),rule_psr:se.rulePsr}}}function Xs(j){return j===0?void 0:j}function Qa(j,se){const we=se.trackResourceHeaders;if(we.length===0||!j)return;const Oe=we.filter(A=>A.url!==void 0?(0,le.K)([A.url],j.url,!0):!0);if(Oe.length===0)return;const rt=Oe.filter(A=>A.location===void 0||A.location==="any"||A.location==="response"),at=Oe.filter(A=>A.location===void 0||A.location==="any"||A.location==="request"),Ht=rt.length>0?ho(j,rt):void 0,ir=at.length>0?Pa(j,at):void 0;if(!(!Ht&&!ir))return{resource:{request:ir?{headers:ir}:void 0,response:Ht?{headers:Ht}:void 0}}}function ho(j,se){if(j.type===yn.Y.FETCH&&j.response)return uo(j.response.headers,se);if(j.type===yn.Y.XHR&&j.xhr){const we=j.xhr.getAllResponseHeaders();if(we)try{return uo(new Headers(Qo(we)),se)}catch{}}}function Pa(j,se){if(j.type!==yn.Y.FETCH)return;let we;return j.init?.headers?we=new Headers(j.init.headers):j.input instanceof Request&&(we=j.input.headers),we?uo(we,se):void 0}const Ja=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,ma=100,Ha=128;function uo(j,se){const we={};let Oe=0,rt=0,at=!1;
9return j.forEach((Ht,ir)=>{if(rt++,Oe>=ma){at||(V.Vy.warn(`Maximum number of headers (${ma}) has been reached. Further headers are dropped.`),at=!0);return}const A=ir.toLowerCase();if(Ja.test(A))return;const N=se.find(de=>(0,le.K)([de.name],A));if(!N)return;const{extractor:K}=N,te=K?Ut(Ht,K):Ht;te!==void 0&&(te.length>Ha&&(V.Vy.warn(`Header "${A}" value was truncated from ${te.length} to ${Ha} characters.`),(0,l.A2)("Resource header value was truncated",{header_name:A,original_length:te.length,limit:Ha})),we[A]=(0,_._R)(te,Ha),Oe++)}),at&&(0,l.A2)("Maximum number of resource headers reached",{collectedHeaderCount:Oe,totalHeaderCount:rt}),Oe>0?we:void 0}function Qo(j){const se=[],we=j.trim().split(/\r\n/);for(const Oe of we){const rt=Oe.indexOf(":");rt>0&&se.push([Oe.substring(0,rt).trim(),Oe.substring(rt+1).trim()])}return se}function So(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}var Eo=e(82678);function ku(j,se,we){const{stop:Oe,eventCounts:rt}=Ce({lifeCycle:j,isChildEvent:at=>at.view.id===se,onChange:we});return{stop:Oe,eventCounts:rt}}const al=10*v.iW;function cu(j,se,we){return{stop:Nt(j,{type:We.PAINT,buffered:!0}).subscribe(rt=>{const at=rt.find(Ht=>Ht.name==="first-contentful-paint"&&Ht.startTime<se.timeStamp&&Ht.startTime<al);at&&we(at.startTime)}).unsubscribe}}function dd(j,se){requestAnimationFrame(()=>{requestAnimationFrame(()=>{se((0,v.vk)(j,(0,v.$S)()))})})}function Nu(j,se){return Dd(j,()=>{const we=(0,s.B)(Go)();cc(we)||se(Au(we))})}function Au(j){return{domComplete:j.domComplete,domContentLoaded:j.domContentLoadedEventEnd,domInteractive:j.domInteractive,loadEvent:j.loadEventEnd,firstByte:Cc(j)}}function cc(j){return j.loadEventEnd<=0}function Dd(j,se){let we;const{stop:Oe}=(0,lc.H)(j,"complete",()=>{we=(0,cs.wg)(()=>se())});return{stop:()=>{Oe(),(0,cs.DJ)(we)}}}const sf=10*v.iW;function Cu(j,se,we,Oe){let rt=1/0;const{stop:at}=(0,Me.l)(j,we,["pointerdown","keydown"],A=>{rt=A.timeStamp},{capture:!0,once:!0});let Ht=0;const ir=Nt(j,{type:We.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(A=>{const N=(0,ss.Uk)(A,K=>K.entryType===We.LARGEST_CONTENTFUL_PAINT&&K.startTime<rt&&K.startTime<se.timeStamp&&K.startTime<sf&&K.size>Ht);if(N){let K;N.element&&(K=kr(N.element,j.actionNameAttribute));const te=Kn(N),de=N.startTime,fe=yl(te,de);Oe({value:de,targetSelector:K,resourceUrl:te,subParts:fe}),Ht=N.size}});return{stop:()=>{at(),ir.unsubscribe()}}}function Kn(j){return j.url===""?void 0:j.url}function yl(j,se){const we=Cc(Go());if(we===void 0)return;const Oe=j?et(j,se):void 0,rt=Oe?Math.max(we,Oe.requestStart||Oe.startTime):we,at=Math.min(se,Math.max(rt,Oe?.responseEnd||0));return{loadDelay:rt-we,loadTime:at-rt,renderDelay:se-at}}function Ql(j,se,we=window){if(document.visibilityState==="hidden")return{timeStamp:0,stop:fn.l};if(ai(We.VISIBILITY_STATE)){const at=performance.getEntriesByType(We.VISIBILITY_STATE).filter(Ht=>Ht.name==="hidden").find(Ht=>Ht.startTime>=se.relative);if(at)return{timeStamp:at.startTime,stop:fn.l}}let Oe=1/0;const{stop:rt}=(0,Me.l)(j,we,["pagehide","visibilitychange"],at=>{(at.type==="pagehide"||document.visibilityState==="hidden")&&(Oe=at.timeStamp,rt())},{capture:!0});return{get timeStamp(){return Oe},stop:rt}}function du(j,se,we,Oe){const rt={},{stop:at}=Nu(j,K=>{we(K.loadEvent),rt.navigationTimings=K,Oe()}),Ht=Ql(j,se),{stop:ir}=cu(j,Ht,K=>{rt.firstContentfulPaint=K,Oe()}),{stop:A}=Cu(j,Ht,window,K=>{rt.largestContentfulPaint=K,Oe()});function N(){at(),ir(),A(),Ht.stop()}return{stop:N,initialViewMetrics:rt}}const Ra=(j,se)=>j*se,tu=(j,se)=>{const we=Math.max(j.left,se.left),Oe=Math.max(j.top,se.top),rt=Math.min(j.right,se.right),at=Math.min(j.bottom,se.bottom);return we>=rt||Oe>=at?0:Ra(rt-we,at-Oe)},Na=j=>{const se=Ra(j.previousRect.width,j.previousRect.height),we=Ra(j.currentRect.width,j.currentRect.height),Oe=tu(j.previousRect,j.currentRect);return se+we-Oe};function fu(j,se,we){if(!No())return{stop:fn.l};let Oe=0,rt;we({value:0});const at=pd(),Ht=Nt(j,{type:We.LAYOUT_SHIFT,buffered:!0}).subscribe(ir=>{for(const A of ir){if(A.hadRecentInput||A.startTime<se)continue;const{cumulatedValue:N,isMaxValue:K}=at.update(A);if(K){const te=fd(A.sources);
9rt={target:te?.node?new WeakRef(te.node):void 0,time:(0,v.vk)(se,A.startTime),previousRect:te?.previousRect,currentRect:te?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(N>Oe){Oe=N;const te=rt?.target?.deref();we({value:(0,Z.LI)(Oe,4),targetSelector:te&&kr(te,j.actionNameAttribute),time:rt?.time,previousRect:rt?.previousRect?hd(rt.previousRect):void 0,currentRect:rt?.currentRect?hd(rt.currentRect):void 0,devicePixelRatio:rt?.devicePixelRatio})}}});return{stop:()=>{Ht.unsubscribe()}}}function fd(j){let se;for(const we of j)if(we.node&&ta(we.node)){const Oe=Na(we);(!se||Na(se)<Oe)&&(se=we)}return se}function hd({x:j,y:se,width:we,height:Oe}){return{x:j,y:se,width:we,height:Oe}}const dc=5*v.OY,Ou=v.OY;function pd(){let j=0,se,we,Oe=0;return{update:rt=>{const at=se===void 0||rt.startTime-we>=Ou||rt.startTime-se>=dc;let Ht;return at?(se=we=rt.startTime,Oe=j=rt.value,Ht=!0):(j+=rt.value,we=rt.startTime,Ht=rt.value>Oe,Ht&&(Oe=rt.value)),{cumulatedValue:j,isMaxValue:Ht}}}}function No(){return ai(We.LAYOUT_SHIFT)&&"WeakRef"in window}let Iu,Fu=0,Wu=1/0,To=0;function Oc(){"interactionCount"in performance||Iu||(Iu=new window.PerformanceObserver((0,u.dm)(j=>{j.getEntries().forEach(se=>{const we=se;we.interactionId&&(Wu=Math.min(Wu,we.interactionId),To=Math.max(To,we.interactionId),Fu=(To-Wu)/7+1)})})),Iu.observe({type:"event",buffered:!0,durationThreshold:0}))}const hu=()=>Iu?Fu:window.performance.interactionCount||0;function bl(){Iu&&(Iu.disconnect(),Iu=void 0,Fu=0,Wu=1/0,To=0)}const ol=10,pu=1*v.iW,Sl=8;function Ic(j,se,we){if(!Ld())return{getInteractionToNextPaint:()=>{},setViewEnd:fn.l,stop:fn.l};let Oe=1/0,rt;const{getViewInteractionCount:at,stopViewInteractionCount:Ht}=eo(we),ir=Fl(at),A=xl(ir),N=Nt(j,{type:We.FIRST_INPUT,buffered:!0}).subscribe(te),K=Nt(j,{type:We.EVENT,durationThreshold:40,buffered:!0}).subscribe(te);function te(fe){for(const Pe of fe)Pe.interactionId&&Pe.startTime>=se&&Pe.startTime<=Oe&&(ir.process(Pe),A.process(Pe));A.pruneUntracked();const Se=ir.estimateP98Interaction();Se&&de(Se)}function de(fe){const Se=(0,v.vk)(se,fe.startTime);if(!rt||fe.duration!==rt.duration||Se!==rt.startTime){let Pe=_u(fe.startTime);!Pe&&fe.target&&ta(fe.target)&&(Pe=kr(fe.target,j.actionNameAttribute)),rt={duration:fe.duration,startTime:Se,targetSelector:Pe}}rt.subParts=A.computeSubParts(fe,In(rt.duration))}return{getInteractionToNextPaint:()=>{if(rt)return{value:In(rt.duration),targetSelector:rt.targetSelector,time:rt.startTime,subParts:rt.subParts};if(at())return{value:0}}
9,setViewEnd:fe=>{Oe=fe,Ht()},stop:()=>{K.unsubscribe(),N.unsubscribe(),A.stop()}}}function Fl(j){const se=[];function we(){se.sort((Oe,rt)=>rt.duration-Oe.duration).splice(ol)}return{process(Oe){const rt=se.findIndex(Ht=>Oe.interactionId===Ht.interactionId),at=se[se.length-1];rt!==-1?Oe.duration>se[rt].duration&&(se[rt]=Oe,we()):(se.length<ol||Oe.duration>at.duration)&&(se.push(Oe),we())},estimateP98Interaction(){const Oe=Math.min(se.length-1,Math.floor(j()/50));return se[Oe]},isTracked(Oe){return se.some(rt=>rt.interactionId===Oe)}}}function eo(j){Oc();const se=j===D.INITIAL_LOAD?0:hu();let we={stopped:!1};function Oe(){return hu()-se}return{getViewInteractionCount:()=>we.stopped?we.interactionCount:Oe(),stopViewInteractionCount:()=>{we={stopped:!0,interactionCount:Oe()}}}}function xl(j){const se=new Map;function we(Oe,rt){Oe.startTime=Math.min(rt.startTime,Oe.startTime),Oe.processingStart=Math.min(rt.processingStart,Oe.processingStart),Oe.processingEnd=Math.max(rt.processingEnd,Oe.processingEnd)}return{process(Oe){if(Oe.interactionId===void 0||!Oe.processingStart||!Oe.processingEnd)return;const rt=Oe.startTime+Oe.duration,at=se.get(Oe.interactionId);if(at){we(at,Oe);return}for(const[,Ht]of se.entries())if(Math.abs(rt-Ht.referenceRenderTime)<=Sl){we(Ht,Oe),se.set(Oe.interactionId,Ht);return}se.set(Oe.interactionId,{startTime:Oe.startTime,processingStart:Oe.processingStart,processingEnd:Oe.processingEnd,referenceRenderTime:rt})},pruneUntracked(){for(const[Oe]of se)j.isTracked(Oe)||se.delete(Oe)},computeSubParts(Oe,rt){if(!Oe.processingStart||!Oe.processingEnd||Oe.interactionId===void 0)return;const at=se.get(Oe.interactionId);if(!at)return;
9const Ht=Math.max(at.startTime+rt,at.processingStart),ir=Math.min(at.processingEnd,Ht);return{inputDelay:(0,v.vk)(at.startTime,at.processingStart),processingDuration:(0,v.vk)(at.processingStart,ir),presentationDelay:(0,v.vk)(ir,Ht)}},stop(){se.clear()}}}function Ld(){return ai(We.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function In(j){return Math.min(j,pu)}function Wc(j,se,we,Oe,rt,at,Ht){let ir=rt===D.INITIAL_LOAD,A=!0;const N=[],K=Ql(Oe,at);function te(){if(!A&&!ir&&N.length>0){const fe=Math.max(...N);fe<K.timeStamp-at.relative&&Ht(fe)}}const{stop:de}=Qi(j,se,we,Oe,fe=>{A&&(A=!1,fe.hadActivity&&N.push((0,v.vk)(at.timeStamp,fe.end)),te())});return{stop:()=>{de(),K.stop()},setLoadEvent:fe=>{ir&&(ir=!1,N.push(fe),te())}}}function Vc(){let j;const se=window.visualViewport;return se?j=se.pageLeft-se.offsetLeft:window.scrollX!==void 0?j=window.scrollX:j=window.pageXOffset||0,Math.round(j)}function Pc(){let j;const se=window.visualViewport;return se?j=se.pageTop-se.offsetTop:window.scrollY!==void 0?j=window.scrollY:j=window.pageYOffset||0,Math.round(j)}let Ua;function ul(j){return Ua||(Ua=Jl(j)),Ua}function Jl(j){return new ur.cP(se=>{const{throttled:we}=(0,fn.n)(()=>{se.notify(wo())},200);return(0,Me.q)(j,window,"resize",we,{capture:!0,passive:!0}).stop})}function wo(){const j=window.visualViewport;return j?{width:Number(j.width*j.scale),height:Number(j.height*j.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const fc=v.OY;function Vu(j,se,we,Oe=Gc(j)){let rt=0,at=0,Ht=0;const ir=Oe.subscribe(({scrollDepth:A,scrollTop:N,scrollHeight:K})=>{let te=!1;if(A>rt&&(rt=A,te=!0),K>at){at=K;const de=(0,v.$S)();Ht=(0,v.vk)(se.relative,de),te=!0}te&&we({maxDepth:Math.min(rt,at),maxDepthScrollTop:N,maxScrollHeight:at,maxScrollHeightTime:Ht})});return{stop:()=>ir.unsubscribe()}}function Zl(){const j=Pc(),{height:se}=wo(),we=Math.round((document.scrollingElement||document.documentElement).scrollHeight),Oe=Math.round(se+j);return{scrollHeight:we,scrollDepth:Oe,scrollTop:j}}function Gc(j,se=fc){return new ur.cP(we=>{function Oe(){we.notify(Zl())}const rt=(0,fn.n)(Oe,se,{leading:!1,trailing:!0}),at=document.scrollingElement||document.documentElement,Ht=new ResizeObserver((0,u.dm)(rt.throttled));at&&Ht.observe(at);const ir=(0,Me.q)(j,window,"scroll",rt.throttled,{passive:!0});return()=>{rt.cancel(),Ht.disconnect(),ir.stop()}})}function ba(j,se,we,Oe,rt,at,Ht){const ir={};let A=!1,N=!1;const{stop:K,setLoadEvent:te}=Wc(j,se,we,Oe,at,Ht,ut=>{A||(ir.loadingTime=ut,rt())}),{stop:de}=Vu(Oe,Ht,ut=>{ir.scroll=ut}),{stop:fe}=fu(Oe,Ht.relative,ut=>{ir.cumulativeLayoutShift=ut,rt()}),{stop:Se,getInteractionToNextPaint:Pe,setViewEnd:Qe}=Ic(Oe,Ht.relative,at);return{stop:()=>{K(),fe(),de()},stopINPTracking:Se,setLoadEvent:te,setViewEnd:ut=>{N=!0,Qe(ut)},getCommonViewMetrics:()=>(ir.interactionToNextPaint=Pe(),ir),setLoadingTime:ut=>{if(N)return;const At=(0,v.vk)(Ht.timeStamp,ut??(0,v.nx)());A||K(),A=!0,ir.loadingTime=At,rt()}}}function El(j,se){const{stop:we}=(0,Me.q)(j,window,"pageshow",Oe=>{Oe.persisted&&se(Oe)},{capture:!0});return we}function ll(j,se,we){dd(j.relative,Oe=>{se.firstContentfulPaint=Oe,se.largestContentfulPaint={value:Oe},we()})}const md=3e3,Tl=5*v.iW,wl=5*v.iW;function gd(j,se,we,Oe,rt,at,Ht){const ir=new Set;let A=te(D.INITIAL_LOAD,(0,v.Oc)(),Ht),N;de();let K;at&&(K=fe(rt),N=El(Oe,Se=>{A.end();const Pe=(0,v.FR)(Se.timeStamp);A=te(D.BF_CACHE,Pe,void 0)}));function te(Se,Pe,Qe){const ut=ql(j,se,we,Oe,Se,Pe,Qe);return ir.add(ut),ut.stopObservable.subscribe(()=>{ir.delete(ut)}),ut}function de(){j.subscribe(10,Se=>{const Pe=A.contextManager.getContext();Se&&(Pe.is_session_renewal=!0,Pe.renew_event=Se),A=te(D.SESSION_RENEWAL,void 0,{name:A.name,service:A.service,version:A.version,context:Pe})}),j.subscribe(9,()=>{A.end({sessionIsActive:!1})})}function fe(Se){return Se.subscribe(({oldLocation:Pe,newLocation:Qe})=>{cl(Pe,Qe)&&(A.end(),A=te(D.ROUTE_CHANGE))})}return{addTiming:(Se,Pe=(0,v.nx)())=>{A.addTiming(Se,Pe)},setLoadingTime:Se=>A.setLoadingTime(Se),startView:(Se,Pe)=>{A.end({endClocks:Pe}),A=te(D.ROUTE_CHANGE,Pe,Se)}
9,setViewContext:Se=>{A.contextManager.setContext(Se)},setViewContextProperty:(Se,Pe)=>{A.contextManager.setContextProperty(Se,Pe)},setViewName:Se=>{A.setViewName(Se)},getViewContext:()=>A.contextManager.getContext(),stop:()=>{K&&K.unsubscribe(),N&&N(),A.end(),ir.forEach(Se=>Se.stop())}}}function ql(j,se,we,Oe,rt,at=(0,v.M8)(),Ht){const ir=(0,_.lk)(),A=new ur.cP,N={};let K=0,te;const de=(0,J.yG)((0,s.B)(window.location)),fe=(0,Eo.D)();let Se=!0,Pe=Ht?.name;const Qe=Ht?.service||Oe.service,ut=Ht?.version||Oe.version,At=Ht?.context,Pt=Ht?.handlingStack;At&&fe.setContext(At);const Fr={id:ir,name:Pe,startClocks:at,service:Qe,version:ut,context:At,url:Ht?.url};j.notify(1,Fr),j.notify(2,Fr);const{throttled:vr,cancel:Qr}=(0,fn.n)(Us,md,{leading:!1}),{setLoadEvent:jt,setViewEnd:Vt,stop:zr,stopINPTracking:_r,getCommonViewMetrics:Xn,setLoadingTime:ni}=ba(j,se,we,Oe,Ei,rt,at),{stop:zn,initialViewMetrics:hi}=rt===D.INITIAL_LOAD?du(Oe,at,jt,Ei):{stop:fn.l,initialViewMetrics:{}};rt===D.BF_CACHE&&ll(at,hi,Ei);const{stop:Ki,eventCounts:Lr}=ku(j,ir,Ei),li=(0,cs.yb)(Us,Tl),_s=j.subscribe(11,fs=>{fs.reason===qn.y5.UNLOADING&&Us()});Us(),fe.changeObservable.subscribe(Ei);function ga(){j.notify(3,{id:ir,name:Pe,context:fe.getContext(),startClocks:at,sessionIsActive:Se})}function Ei(){ga(),vr()}function Us(){Qr(),ga(),K+=1;const fs=te===void 0?(0,v.nx)():te.timeStamp;j.notify(4,{customTimings:N,documentVersion:K,id:ir,name:Pe,service:Qe,version:ut,context:fe.getContext(),loadingType:rt,location:de,handlingStack:Pt,startClocks:at,commonViewMetrics:Xn(),initialViewMetrics:hi,duration:(0,v.vk)(at.timeStamp,fs),isActive:te===void 0,sessionIsActive:Se,eventCounts:Lr})}return{get name(){return Pe},service:Qe,version:ut,contextManager:fe,stopObservable:A,end(fs={}){te||(te=fs.endClocks??(0,v.M8)(),Se=fs.sessionIsActive??!0,j.notify(5,{endClocks:te}),j.notify(6,{endClocks:te}),(0,cs.vG)(li),Vt(te.relative),zr(),_s.unsubscribe(),Us(),(0,cs.wg)(()=>{this.stop()},wl))},stop(){zn(),Ki(),_r(),A.notify()},addTiming(fs,Ws){if(te)return;const Ss=(0,v.pu)(Ws)?Ws:(0,v.vk)(at.timeStamp,Ws);N[Bl(fs)]=Ss,Ei()},setLoadingTime:ni,setViewName(fs){Pe=fs,Us()}}}function Bl(j){const se=j.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return se!==j&&V.Vy.warn(`Invalid timing name: ${j}, sanitized to: ${se}`),se}function cl(j,se){return j.pathname!==se.pathname||!vd(se.hash)&&_l(se.hash)!==_l(j.hash)}function vd(j){const se=j.substring(1);return se!==""&&!!document.getElementById(se)}function _l(j){const se=j.indexOf("?");return se<0?j:j.slice(0,se)}function dl(j,se,we,Oe,rt,at,Ht,ir,A){return j.subscribe(4,N=>j.notify(12,hc(N,we,Ht))),se.register(0,({startTime:N,eventType:K})=>{const te=ir.findView(N);return te?{type:K,service:te.service,version:te.version,context:te.context,view:{id:te.id,name:te.name}}:Bi.ug}),se.register(1,({startTime:N})=>({view:{id:ir.findView(N)?.id}})),gd(j,Oe,rt,we,at,!we.trackViewsManually,A)}function hc(j,se,we){const Oe=we.getReplayStats(j.id),rt=j.commonViewMetrics?.cumulativeLayoutShift?.devicePixelRatio,at={_dd:{document_version:j.documentVersion,replay_stats:Oe,cls:rt?{device_pixel_ratio:rt}:void 0,configuration:{start_session_replay_recording_manually:se.startSessionReplayRecordingManually}},date:j.startClocks.timeStamp,type:P.VIEW,view:{action:{count:j.eventCounts.actionCount},frustration:{count:j.eventCounts.frustrationCount},cumulative_layout_shift:j.commonViewMetrics.cumulativeLayoutShift?.value,cumulative_layout_shift_time:(0,v.Zj)(j.commonViewMetrics.cumulativeLayoutShift?.time),cumulative_layout_shift_target_selector:j.commonViewMetrics.cumulativeLayoutShift?.targetSelector,first_byte:(0,v.Zj)(j.initialViewMetrics.navigationTimings?.firstByte),dom_complete:(0,v.Zj)(j.initialViewMetrics.navigationTimings?.domComplete),dom_content_loaded:(0,v.Zj)(j.initialViewMetrics.navigationTimings?.domContentLoaded),dom_interactive:(0,v.Zj)(j.initialViewMetrics.navigationTimings?.domInteractive),error:{count:j.eventCounts.errorCount},first_contentful_paint:(0,v.Zj)(j.initialViewMetrics.firstContentfulPaint),interaction_to_next_paint:(0,v.Zj)(j.commonViewMetrics.interactionToNextPaint?.value),interaction_to_next_paint_time:(0,v.Zj)(j.commonViewMetrics.interactionToNextPaint?.time),interaction_to_next_paint_target_selector:j.commonViewMetrics.interactionToNextPaint?.targetSelector,is_active:j.isActive,name:j.name,largest_contentful_paint:(0,v.Zj)(j.initialViewMetrics.largestContentfulPaint?.value),largest_contentful_paint_target_selector:j.initialViewMetrics.largestContentfulPaint?.targetSelector,load_event:(0,v.Zj)(j.initialViewMetrics.navigationTimings?.loadEvent),loading_time:va((0,v.Zj)(j.commonViewMetrics.loadingTime)),loading_type:j.loadingType,long_task:{count:j.eventCounts.longTaskCount},performance:Sa(j.commonViewMetrics,j.initialViewMetrics),resource:{count:j.eventCounts.resourceCount},time_spent:(0,v.Zj)(j.duration)},display:j.commonViewMetrics.scroll?{scroll:{max_depth:j.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:j.
9commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:j.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,v.Zj)(j.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:se.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:So()}};return(0,J.RI)(j.customTimings)||(at.view.custom_timings=(0,J.LG)(j.customTimings,v.Zj)),{rawRumEvent:at,startClocks:j.startClocks,duration:j.duration,domainContext:{location:j.location,handlingStack:j.handlingStack}}}function Sa({cumulativeLayoutShift:j,interactionToNextPaint:se},{firstContentfulPaint:we,largestContentfulPaint:Oe}){return{cls:j&&{score:j.value,timestamp:(0,v.Zj)(j.time),target_selector:j.targetSelector,previous_rect:j.previousRect,current_rect:j.currentRect},fcp:we&&{timestamp:(0,v.Zj)(we)},inp:se&&{duration:(0,v.Zj)(se.value),timestamp:(0,v.Zj)(se.time),target_selector:se.targetSelector,sub_parts:se.subParts?{input_delay:(0,v.Zj)(se.subParts.inputDelay),processing_duration:(0,v.Zj)(se.subParts.processingDuration),presentation_delay:(0,v.Zj)(se.subParts.presentationDelay)}:void 0},lcp:Oe&&{timestamp:(0,v.Zj)(Oe.value),target_selector:Oe.targetSelector,resource_url:Oe.resourceUrl,sub_parts:Oe.subParts?{load_delay:(0,v.Zj)(Oe.subParts.loadDelay),load_time:(0,v.Zj)(Oe.subParts.loadTime),render_delay:(0,v.Zj)(Oe.subParts.renderDelay)}:void 0}}}var M=e(8900),re=e(95582),Ee=e(69174);function Be(j,se,we,Oe,rt,at){const Ht=[j.rumEndpointBuilder];j.replica&&Ht.push(j.replica.rumEndpointBuilder);const ir=(0,M.X)({encoder:at(2),request:(0,re.sA)(Ht,we),flushController:(0,Ee.tO)({pageMayExitObservable:Oe,sessionExpireObservable:rt})});return se.subscribe(13,A=>{A.type===P.VIEW?ir.upsert(A,A.view.id):ir.add(A)}),ir}function vt(j){const se=(0,nn.Y9)();j.subscribe(13,we=>{se.send("rum",we)})}const gr=Tr.AQ;function Cn(j,se,we){const Oe=(0,vn.qj)({expireDelay:gr});let rt;j.subscribe(1,({startClocks:ir,url:A})=>{const N=(0,s.B)(location).href,K=A!==void 0?(0,xn.c$)(A,N).href:N;Oe.add(Ht({url:K,referrer:rt||document.referrer}),ir.relative),rt=K}),j.subscribe(6,({endClocks:ir})=>{Oe.closeActive(ir.relative)});const at=we.subscribe(({newLocation:ir})=>{const A=Oe.find();if(A){const N=(0,v.$S)();Oe.closeActive(N),Oe.add(Ht({url:ir.href,referrer:A.referrer}),N)}});function Ht({url:ir,referrer:A}){return{url:ir,referrer:A}}return se.register(0,({startTime:ir,eventType:A})=>{const N=Oe.find(ir);return N?{type:A,view:{url:N.url,referrer:N.referrer}}:Bi.ug}),{findUrl:ir=>Oe.find(ir),stop:()=>{at.unsubscribe(),Oe.stop()}}}function es(j){let se=(0,J.yG)(location);return new ur.cP(we=>{const{stop:Oe}=Zs(j,at),{stop:rt}=fa(j,at);function at(){if(se.href===location.href)return;const Ht=(0,J.yG)(location);we.notify({newLocation:Ht,oldLocation:se}),se=Ht}return()=>{Oe(),rt()}})}function Zs(j,se){const{stop:we}=(0,oe.H)(Io("pushState"),"pushState",({onPostCall:at})=>{at(se)}),{stop:Oe}=(0,oe.H)(Io("replaceState"),"replaceState",({onPostCall:at})=>{at(se)}),{stop:rt}=(0,Me.q)(j,window,"popstate",se);return{stop:()=>{we(),Oe(),rt()}}}function fa(j,se){return(0,Me.q)(j,window,"hashchange",se)}function Io(j){return Object.prototype.hasOwnProperty.call(history,j)?history:History.prototype}const ru=Tr.AQ,Ul=200;function yd(j,se,we){const Oe=(0,vn.qj)({expireDelay:ru});return j.subscribe(1,({startClocks:rt})=>{Oe.add({},rt.relative)}),j.subscribe(6,({endClocks:rt})=>{Oe.closeActive(rt.relative)}),se.register(0,({startTime:rt,eventType:at})=>{if(!we.trackFeatureFlagsForEvents.concat([P.VIEW,P.ERROR]).includes(at))return Bi.$O;const ir=Oe.find(rt);return!ir||(0,J.RI)(ir)?Bi.$O:{type:at,feature_flags:ir}}),{addFeatureFlagEvaluation:(rt,at)=>{const Ht=Oe.find();Ht&&(Ht[rt]=at)}}}const Kc=10*v.OY;let Yc,bd;function ec(j,se,we){j.metricsEnabled&&(Cf(),bd=!1,se.subscribe(13,()=>{bd=!0}),we.subscribe(({bytesCount:Oe,messagesCount:rt})=>{bd&&(bd=!1,Yc.batchCount+=1,b(Yc.batchBytesCount,Oe),b(Yc.batchMessagesCount,rt))}),(0,cs.yb)(mu,Kc))}function mu(){Yc.batchCount!==0&&((0,l.Gk)("Customer data measures",Yc),Cf())}function tc(){return{min:1/0,max:0,sum:0}}function b(j,se){j.sum+=se,j.min=Math.min(j.min,se),j.max=Math.max(j.max,se)}function Cf(){Yc={batchCount:0,batchBytesCount:tc(),batchMessagesCount:tc()}}const ea=4e3,ji=500,Rc=Tr.AQ;function Al(j,se,we=ji){const Oe=(0,vn.qj)({expireDelay:Rc,maxEntries:ea});let rt;ai(We.VISIBILITY_STATE)&&performance.getEntriesByType(We.VISIBILITY_STATE).forEac
9h(N=>{const K=N.name==="hidden"?"hidden":"active";Ht(K,N.startTime)}),Ht(pn(),(0,v.$S)());const{stop:at}=(0,Me.l)(se,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],A=>{Ht(Xc(A),A.timeStamp)},{capture:!0});function Ht(A,N=(0,v.$S)()){A!==rt&&(rt=A,Oe.closeActive(N),Oe.add({state:rt,startTime:N},N))}function ir(A,N,K){return Oe.findAll(N,K).some(te=>te.state===A)}return j.register(0,({startTime:A,duration:N=0,eventType:K})=>{if(K===P.VIEW){const te=Oe.findAll(A,N);return{type:K,_dd:{page_states:Dc(te,A,we)}}}return K===P.ACTION||K===P.ERROR?{type:K,view:{in_foreground:ir("active",A,0)}}:Bi.$O}),{wasInPageStateDuringPeriod:ir,addPageState:Ht,stop:()=>{at(),Oe.stop()}}}function Dc(j,se,we){if(j.length!==0)return j.slice(-we).reverse().map(({state:Oe,startTime:rt})=>({state:Oe,start:(0,v.Zj)((0,v.vk)(se,rt))}))}function Xc(j){return j.type==="freeze"?"frozen":j.type==="pagehide"?j.persisted?"frozen":"terminated":pn()}function pn(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function xa(j,se){let we;const Oe=requestAnimationFrame((0,u.dm)(()=>{we=wo()})),rt=ul(se).subscribe(at=>{we=at}).unsubscribe;return j.register(0,({eventType:at})=>({type:at,display:we?{viewport:we}:void 0})),{stop:()=>{rt(),Oe&&cancelAnimationFrame(Oe)}}}function so(j,se){const we=st(j);function Oe(A){return!se.wasInPageStateDuringPeriod("frozen",A.startClocks.relative,A.duration)}function rt(A){Oe(A)&&j.notify(12,La(A))}function at(A,N,K,te){if(!(0,x.sr)(x.R9.FEATURE_OPERATION_VITAL))return;const{operationKey:de,context:fe,description:Se,handlingStack:Pe}=K||{},Qe={name:A,type:F.OPERATION_STEP,operationKey:de,failureReason:te,stepType:N,startClocks:(0,v.M8)(),context:(0,h.a)(fe),description:Se,handlingStack:Pe};j.notify(12,La(Qe))}function Ht(A,N={},K=(0,v.M8)()){const{id:te}=we.start(N.vitalKey??A,K,{name:A,...N});j.notify(16,{id:te,name:A,startClocks:K,...N})}function ir(A,N={},K=(0,v.M8)()){const te=we.stop(N.vitalKey??A,K,N);te&&rt({type:F.DURATION,...te})}return{addOperationStepVital:at,addDurationVital:rt,startDurationVital:Ht,stopDurationVital:ir}}function La(j){const{startClocks:se,type:we,name:Oe,description:rt,context:at,handlingStack:Ht}=j,A={id:(j.type===F.DURATION?j.id:void 0)??(0,_.lk)(),type:we,name:Oe,description:rt,...we===F.DURATION?{duration:(0,v.Zj)(j.duration)}:{step_type:j.stepType,operation_key:j.operationKey,failure_reason:j.failureReason}};return{rawRumEvent:{date:se.timeStamp,vital:A,type:P.VITAL,context:at},startClocks:se,duration:we===F.DURATION?j.duration:void 0,domainContext:Ht?{handlingStack:Ht}:{}}}function ia(j,se){const we=window.cookieStore?Cl(j):ao;return new ur.cP(Oe=>we(se,rt=>Oe.notify(rt)))}function Cl(j){return(se,we)=>(0,Me.q)(j,window.cookieStore,"change",rt=>{const at=rt.changed.find(Ht=>Ht.name===se)||rt.deleted.find(Ht=>Ht.name===se);at&&we(at.value)}).stop}const Qc=v.OY;function ao(j,se){let we=(0,It.Ri)(j);const Oe=(0,cs.yb)(()=>{const rt=(0,It.Ri)(j);rt!==we&&(we=rt,se(rt))},Qc);return()=>{(0,cs.vG)(Oe)}}const Bu="datadog-ci-visibility-test-execution-id";function Uu(j,se,we=ia(j,Bu)){let Oe=(0,It.B9)(Bu)||Lc();const rt=we.subscribe(at=>{Oe=at});return se.register(0,({eventType:at})=>typeof Oe!="string"?Bi.$O:{type:at,session:{type:"ci_test"},ci_test:{test_execution_id:Oe}}),{stop:()=>{rt.unsubscribe()}}}function Lc(){const j=window.Cypress;if(j)try{return j.env("traceId")}catch{V.Vy.warn("Failed to read Cypress test execution id via Cypress.env(). Upgrade dd-trace-js to >= 5.88.0 to keep RUM \u2194 test correlation working.");return}}function pc(j,se){const we=ai(We.LONG_ANIMATION_FRAME)?We.LONG_ANIMATION_FRAME:We.LONG_TASK,Oe=Nt(se,{type:we,buffered:!0}).subscribe(rt=>{for(const at of rt){if(!se.trackLongTasks)break;const Ht=(0,v.FR)(at.startTime),ir=Md(at,Ht);j.notify(12,{rawRumEvent:ir,startClocks:Ht,duration:at.duration,domainContext:{performanceEntry:at}})}});return{stop:()=>Oe.unsubscribe()}}function Md(j,se){const we=(0,_.lk)(),Oe=(0,v.Zj)(j.duration),rt={date:se.timeStamp,type:P.LONG_TASK,_dd:{discarded:!1}};return j.entryType===We.LONG_TASK?{...rt,long_task:{id:we,entry_type:k.LONG_TASK,duration:Oe}}:{...rt,long_task:{id:we,entry_type:k.LONG_ANIMATION_FRAME,duration:Oe,blocking_duration:(0,v.Zj)(j.blockingDuration),first_ui_event_timestamp:(0,v.Zj)(j.firstUIEventTimestamp),render_start:(0,v.Zj)(j.renderStart),style_and_layout_start:(0,v.Zj)(j.styleAndLayoutStart),start_time:(0,v.Zj)(j.startTime),scripts:j.scripts.map(at=>({duration:(0,v.Zj)(at.duration),pause_duration:(0,v.Zj)(at.pauseDuration),forced_style_and_layout_duration:(0,v.Zj)(at.forcedStyleAndLayoutDuration),start_time:(0,v.Zj)(at.startTime),execution_start:(0,v.Zj)(at.executionStart),source_url:at.sourceURL,source_function_name:at.sourceFunctionName,source_char_position:at.sourceCharPosition,invoker:at.invoker,invoker_type:at.invokerType,window_attribution:at.windowAttribution}))}}}function Mc(j){j.register(0,({eventType:se})=>(0,qr.Fs)()?{type:se,session:{type:"synthetics"},synthetics:{...(0,qr.IM)(),injected:(0,qr.ao)()}}:Bi.$O)}var Gu=e(57802),Jc=e(26622);function Sd(j,se,we){const Oe=(0,g.Go)(j),rt=we(Oe);return(0,ss.WP)(se).forEach(([at,Ht])=>xd(j,Oe,at.split(/\.|(?=\[\])/),Ht)),rt}function xd(j,se,we,Oe){const[rt,...at]=we;
9if(rt==="[]"){Array.isArray(j)&&Array.isArray(se)&&j.forEach((Ht,ir)=>xd(Ht,se[ir],at,Oe));return}if(!(!nc(j)||!nc(se))){if(at.length>0)return xd(j[rt],se[rt],at,Oe);rc(j,rt,se[rt],Oe)}}function rc(j,se,we,Oe){if(j[se]===we)return;const rt=(0,he.P)(we);rt===Oe?j[se]=(0,h.a)(we):Oe==="object"&&(rt==="undefined"||rt==="null")&&(j[se]={})}function nc(j){return(0,he.P)(j)==="object"}const Pu={"view.name":"string","view.url":"string","view.referrer":"string"},Ol={context:"object"},Po={service:"string",version:"string"};let mc;function Zc(j,se,we,Oe,rt){mc={[P.VIEW]:{"view.performance.lcp.resource_url":"string",...Ol,...Pu,...Po},[P.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...Ol,...Pu,...Po},[P.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object",...Ol,...Pu,...Po},[P.ACTION]:{"action.target.name":"string",...Ol,...Pu,...Po},[P.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...Ol,...Pu,...Po},[P.VITAL]:{...Ol,...Pu,...Po}};const at={[P.ERROR]:(0,Gu.$)(P.ERROR,Oe,rt),[P.ACTION]:(0,Gu.$)(P.ACTION,Oe,rt),[P.VITAL]:(0,Gu.$)(P.VITAL,Oe,rt)};se.subscribe(12,({startClocks:Ht,duration:ir,rawRumEvent:A,domainContext:N})=>{const K=we.triggerHook(0,{eventType:A.type,rawRumEvent:A,domainContext:N,startTime:Ht.relative,duration:ir});if(K===Bi.ug)return;const te=(0,g.kg)(K,A,{ddtags:(0,Jc.m5)(j).join(",")});gu(te,j.beforeSend,N,at)&&((0,J.RI)(te.context)&&delete te.context,se.notify(13,te))})}function gu(j,se,we,Oe){if(se){const at=Sd(j,mc[j.type],Ht=>se(Ht,we));if(at===!1&&j.type!==P.VIEW)return!1;at===!1&&V.Vy.warn("Can't dismiss view events using beforeSend!")}return!Oe[j.type]?.isLimitReached()}function Ed(j,se){return(0,nn.d0)()?(0,nn.Ww)("records")?1:0:(0,xs.$5)(j.id,(0,xs.it)(se.sessionSampleRate,se.sessionReplaySampleRate))?1:j.isReplayForced?2:0}function af(j,se,we,Oe,rt){j.register(0,({eventType:at,startTime:Ht})=>{const ir=we.findTrackedSession(Ht),A=rt.findView(Ht);if(!ir||!A)return Bi.ug;let N,K,te;return at===P.VIEW?(N=Oe.getReplayStats(A.id)?!0:void 0,K=Ed(ir,se)===1,te=A.sessionIsActive?void 0:!1):N=Oe.isRecording()?!0:void 0,{type:at,session:{id:ir.id,type:"user",has_replay:N,sampled_for_replay:K,is_active:te}}})}var kd=e(64664);function Il(j){j.register(0,({eventType:se})=>({type:se,connectivity:(0,kd.q)()}))}function jl(j,se,we){j.register(0,({eventType:Oe})=>{const rt=se.source;return{type:Oe,_dd:{format_version:2,drift:(0,v.TP)(),configuration:{session_sample_rate:(0,Z.LI)(se.sessionSampleRate,3),session_replay_sample_rate:(0,Z.LI)(se.sessionReplaySampleRate,3),profiling_sample_rate:(0,Z.LI)(se.profilingSampleRate,3),trace_sample_rate:(0,Z.LI)(se.traceSampleRate,3)},browser_sdk_version:(0,nn.d0)()?"7.1.0":void 0,sdk_name:we},application:{id:se.applicationId},date:(0,v.nx)(),source:rt}})}const Nd=[P.ACTION,P.ERROR,P.LONG_TASK,P.RESOURCE,P.VITAL];function Ku(j){return{addEvent:(se,we,Oe,rt)=>{Nd.includes(we.type)&&j.notify(12,{startClocks:(0,v.FR)(se),rawRumEvent:we,domainContext:Oe,duration:rt})}}}function po(j,se){if(!se.metricsEnabled)return{stop:fn.l};const{unsubscribe:we}=j.subscribe(4,({initialViewMetrics:Oe})=>{!Oe.largestContentfulPaint||!Oe.navigationTimings||((0,l.Gk)("Initial view metrics",{metrics:Of(Oe.largestContentfulPaint,Oe.navigationTimings)}),we())});return{stop:we}}function Of(j,se){return{lcp:{value:j.value},navigation:{domComplete:se.domComplete,domContentLoaded:se.domContentLoaded,domInteractive:se.domInteractive,firstByte:se.firstByte,loadEvent:se.loadEvent}}}var of=e(62398);function vu(j){const se=window,we=new Map;function Oe(){se.DD_SOURCE_CODE_CONTEXT&&((0,ss.WP)(se.DD_SOURCE_CODE_CONTEXT).forEach(([rt,at])=>{const ir=(0,of.T)({stack:rt}).stack[0];if(!ir.url){(0,l.VJ)("Source code context: missing frame url",{stack:rt});return}we.has(ir.url)||we.set(ir.url,at)}),se.DD_SOURCE_CODE_CONTEXT={})}Oe(),j.register(0,({domainContext:rt,rawRumEvent:at})=>{if(Oe(),we.size===0)return Bi.$O;const Ht=Yu(rt,at),ir=Ht&&we.get(Ht);return ir?{type:at.type,service:ir.service,version:ir.version}:Bi.$O})}function Yu(j,se){if(se.type==="long_task"&&se.long_task.entry_type==="long-animation-frame")return se.long_task.scripts[0]?.source_url;let we;return"handlingStack"in j&&(we=j.handlingStack),se.type==="error"&&se.error.stack&&(we=se.error.stack),(0,of.T)({stack:we}).stack[0]?.url}function uf(j,se,we,Oe,rt,at,Ht,ir,A,N){const K=[],te=new Et;te.subscribe(13,ut=>(0,Hi.b)("rum",ut)),se.expireObservable.subscribe(()=>
9te.notify(9)),se.renewObservable.subscribe(ut=>te.notify(10,ut));const de=ut=>{te.notify(14,{error:ut}),(0,l.A2)("Error reported to customer",{"error.message":ut.message})},fe=(0,qn._T)(j);if((0,nn.d0)()){vt(te);const ut=fe.subscribe(At=>{te.notify(11,At)});K.push(()=>ut.unsubscribe())}else{const ut=Be(j,te,de,fe,se.expireObservable,at),At=ut.flushController.preparePageExitFlushObservable.subscribe(Pt=>{te.notify(11,{reason:Pt})});K.push(()=>At.unsubscribe()),K.push(()=>ut.stop()),ec(ir,te,ut.flushController.flushObservable)}const{stop:Se}=po(te,ir);K.push(Se);const{stop:Pe,...Qe}=Xu(te,A,j,se,we,rt,Ht,N,de);return K.push(Pe),Ht.unbuffer(),K.push(()=>Oe.stop()),{...Qe,lifeCycle:te,sessionManager:se,stopSession:()=>se.expire(),telemetry:ir,stop:()=>{K.forEach(ut=>ut())},hooks:A}}function Xu(j,se,we,Oe,rt,at,Ht,ir,A){const N=[],K=ys(),te=es(we),{observable:de,stop:fe}=xe();N.push(fe),jl(se,we,ir);const Se=Al(se,we);N.push(()=>Se.stop());const Pe=ei(j);N.push(()=>Pe.stop());const Qe=Cn(j,se,te);N.push(()=>Qe.stop());const ut=yd(j,se,we);af(se,we,Oe,rt,Pe),Il(se),(0,$n.j3)(se);const At=(0,it.F)(se,we,"rum",!0),Pt=(0,Rt.$)(se,we,Oe,"rum"),Fr=(0,Zr.B)(se,we,"rum"),vr=Ia(j,se,K,de,we);N.push(vr.stop);const Qr=Ku(j),jt=xa(se,we);N.push(jt.stop);const Vt=Uu(we,se);N.push(Vt.stop),Mc(se),Zc(we,j,se,A);const{addTiming:zr,setLoadingTime:_r,startView:Xn,setViewName:ni,setViewContext:zn,setViewContextProperty:hi,getViewContext:Ki,stop:Lr}=dl(j,se,we,K,de,te,rt,Pe,at);vu(se),N.push(Lr);const li=Rr(j,we);N.push(li.stop);const{stop:_s}=pc(j,we);N.push(_s);const{addError:ga}=kl(j,we,Ht);Is(j,we,Oe,Pt,Fr,Ht);const Ei=so(j,Se),Us=Ge(we.applicationId,Oe,Pe,vr.actionContexts,Qe);return{addAction:vr.addAction,startAction:vr.startAction,stopAction:vr.stopAction,startResource:li.startResource,stopResource:li.stopResource,addEvent:Qr.addEvent,addError:ga,addTiming:zr,setLoadingTime:_r,addFeatureFlagEvaluation:ut.addFeatureFlagEvaluation,startView:Xn,setViewContext:zn,setViewContextProperty:hi,getViewContext:Ki,setViewName:ni,viewHistory:Pe,sessionManager:Oe,stopSession:()=>Oe.expire(),getInternalContext:Us.get,startDurationVital:Ei.startDurationVital,stopDurationVital:Ei.stopDurationVital,addDurationVital:Ei.addDurationVital,addOperationStepVital:Ei.addOperationStepVital,globalContext:At,userContext:Pt,accountContext:Fr,stop:()=>N.forEach(fs=>fs())}}function zl(j,se,we={}){const Oe=(0,n.D)(),rt=(0,r.t)();let at=Mi(we,Oe,(N,K,te,de,fe,Se)=>{const Pe=te&&we.createDeflateEncoder?ut=>we.createDeflateEncoder(N,te,ut):a.N,Qe=(0,s.B)(uf)(N,K,j,se,de,Pe,rt.observable,fe,Se,we.sdkName);return j.onRumStart(Qe.lifeCycle,N,K,Qe.viewHistory,te,Qe.telemetry),se.onRumStart(Qe.lifeCycle,Qe.hooks,N,K,Qe.viewHistory,Pe),at=ic(at,Qe),ht(N.plugins,"onRumStart",{addEvent:Qe.addEvent,addError:Qe.addError}),Qe});const Ht=()=>at,ir=N=>{const K=(0,i.uC)("view");(0,u.um)(()=>{const te=typeof N=="object"?N:{name:N};at.startView({...te,handlingStack:K}),(0,l.Q6)({feature:"start-view"})})},A=(0,m.m)({init:N=>{const K=new Error().stack;(0,u.um)(()=>at.init(N,A,K))},setTrackingConsent:(0,u.dm)(N=>{Oe.update(N),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:N})}),setViewName:(0,u.dm)(N=>{at.setViewName(N),(0,l.Q6)({feature:"set-view-name"})}),setViewContext:(0,u.dm)(N=>{at.setViewContext(N),(0,l.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,u.dm)((N,K)=>{at.setViewContextProperty(N,K),(0,l.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,u.dm)(()=>((0,l.Q6)({feature:"set-view-context-property"}),at.getViewContext())),getInternalContext:(0,u.dm)(N=>at.getInternalContext(N)),getInitConfiguration:(0,u.dm)(()=>(0,g.Go)(at.initConfiguration)),addAction:(N,K)=>{const te=(0,i.uC)("action");(0,u.um)(()=>{at.addAction({name:(0,h.a)(N),context:(0,h.a)(K),startClocks:(0,v.M8)(),type:B.CUSTOM,handlingStack:te}),(0,l.Q6)({feature:"add-action"})})},startAction:(0,u.dm)((N,K)=>{at.initConfiguration&&!(0,x.sr)(x.R9.START_STOP_ACTION)||at.startAction((0,h.a)(N),{type:(0,h.a)(K&&K.type),context:(0,h.a)(K&&K.context),actionKey:K&&K.actionKey})}),stopAction:(0,u.dm)((N,K)=>{at.initConfiguration&&!(0,x.sr)(x.R9.START_STOP_ACTION)||at.stopAction((0,h.a)(N),{type:(0,h.a)(K&&K.type),context:(0,h.a)(K&&K.context),actionKey:K&&K.actionKey})}),startResource:(0,u.dm)((N,K)=>{at.initConfiguration&&!(0,x.sr)(x.R9.START_STOP_RESOURCE)||at.startResource((0,h.a)(N),{type:(0,h.a)(K&&K.type),method:(0,h.a)(K&&K.method),context:(0,h.a)(K&&K.context),resourceKey:K&&K.resourceKey})}),stopResource:(0,u.dm)((N,K)=>{at.initConfiguration&&!(0,x.sr)(x.R9.START_STOP_RESOURCE)||at.stopResource((0,h.a)(N),{type:(0,h.a)(K&&K.type),statusCode:K&&K.statusCode,size:K&&K.size,context:(0,h.a)(K&&K.context),resourceKey:K&&K.resourceKey})}),addError:(N,K)=>{const te=(0,i.uC)("error");(0,u.um)(()=>{at.addError({error:N,handlingStack:te,context:(0,h.a)(K),startClocks:(0,v.M8)()}),(0,l.Q6)({feature:"add-error"})})},addTiming:(0,u.dm)((N,K)=>{at.addTiming((0,h.a)(N),K)}
9),setViewLoadingTime:(0,u.dm)(()=>{const N=(0,v.nx)();at.setLoadingTime(N),(0,l.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:(0,T.q)(Ht,E.N.globalContext,E.Q.setContext,"set-global-context"),getGlobalContext:(0,T.q)(Ht,E.N.globalContext,E.Q.getContext,"get-global-context"),setGlobalContextProperty:(0,T.q)(Ht,E.N.globalContext,E.Q.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:(0,T.q)(Ht,E.N.globalContext,E.Q.removeContextProperty,"remove-global-context-property"),clearGlobalContext:(0,T.q)(Ht,E.N.globalContext,E.Q.clearContext,"clear-global-context"),setUser:(0,T.q)(Ht,E.N.userContext,E.Q.setContext,"set-user"),getUser:(0,T.q)(Ht,E.N.userContext,E.Q.getContext,"get-user"),setUserProperty:(0,T.q)(Ht,E.N.userContext,E.Q.setContextProperty,"set-user-property"),removeUserProperty:(0,T.q)(Ht,E.N.userContext,E.Q.removeContextProperty,"remove-user-property"),clearUser:(0,T.q)(Ht,E.N.userContext,E.Q.clearContext,"clear-user"),setAccount:(0,T.q)(Ht,E.N.accountContext,E.Q.setContext,"set-account"),getAccount:(0,T.q)(Ht,E.N.accountContext,E.Q.getContext,"get-account"),setAccountProperty:(0,T.q)(Ht,E.N.accountContext,E.Q.setContextProperty,"set-account-property"),removeAccountProperty:(0,T.q)(Ht,E.N.accountContext,E.Q.removeContextProperty,"remove-account-property"),clearAccount:(0,T.q)(Ht,E.N.accountContext,E.Q.clearContext,"clear-account"),startView:ir,stopSession:(0,u.dm)(()=>{at.stopSession(),(0,l.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,u.dm)((N,K)=>{at.addFeatureFlagEvaluation((0,h.a)(N),(0,h.a)(K)),(0,l.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,u.dm)(()=>j.getSessionReplayLink()),startSessionReplayRecording:(0,u.dm)(N=>{j.start(N),(0,l.Q6)({feature:"start-session-replay-recording",force:N&&N.force})}),stopSessionReplayRecording:(0,u.dm)(()=>j.stop()),addDurationVital:(N,K)=>{const te=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-duration-vital"}),at.addDurationVital({id:(0,_.lk)(),name:(0,h.a)(N),type:F.DURATION,startClocks:(0,v.jR)(K.startTime),duration:K.duration,context:(0,h.a)(K&&K.context),description:(0,h.a)(K&&K.description),handlingStack:te})})},startDurationVital:(N,K)=>{const te=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"start-duration-vital"}),at.startDurationVital((0,h.a)(N),{vitalKey:K&&K.vitalKey,context:(0,h.a)(K&&K.context),description:(0,h.a)(K&&K.description),handlingStack:te})})},stopDurationVital:(0,u.dm)((N,K)=>{(0,l.Q6)({feature:"stop-duration-vital"}),at.stopDurationVital((0,h.a)(N),{vitalKey:K&&K.vitalKey,context:(0,h.a)(K&&K.context),description:(0,h.a)(K&&K.description)})}),startFeatureOperation:(N,K)=>{const te=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"start"}),at.addOperationStepVital(N,"start",{...K,handlingStack:te})})},succeedFeatureOperation:(0,u.dm)((N,K)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),at.addOperationStepVital(N,"end",K)}),failFeatureOperation:(0,u.dm)((N,K,te)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),at.addOperationStepVital(N,"end",te,K)}),DEFAULT_TRACKED_RESOURCE_HEADERS:je});return A}function ic(j,se){return{...j,init:we=>{(0,C.$)("DD_RUM",we)},getInternalContext:se.getInternalContext,stopSession:se.stopSession,getViewContext:se.getViewContext,globalContext:se.globalContext,userContext:se.userContext,accountContext:se.accountContext}}var $l=e(84335);function gc(j,{session:se,viewContext:we,errorType:Oe}){const rt=se?se.id:"no-session-id",at=[];Oe!==void 0&&at.push(`error-type=${Oe}`),we&&(at.push(`seed=${we.id}`),at.push(`from=${we.startClocks.timeStamp}`));const Ht=Fd(j),ir=`/rum/replay/sessions/${rt}`;return`${Ht}${ir}?${at.join("&")}`}function Fd(j){const se=j.site,we=j.subdomain||If(j);return`https://${we?`${we}.`:""}${se}`}function If(j){switch(j.site){case $l.NW:case $l.dV:return"app";case $l.Bb:return"dd";default:return}}var lo=e(36351);function yu(j,se,we,Oe){const rt=ir=>{se.notify(14,{error:ir}),(0,l.A2)("Error reported to customer",{"error.message":ir.message})},at=(0,re.sA)([j.profilingEndpointBuilder],rt),Ht=we(Oe);return{async send({event:ir,...A}){const N=new FormData,K=(0,lo.s)(ir);if(!K)throw new Error("Failed to serialize event");N.append("event",new Blob([K],{type:"application/json"}),"event.json");let te=K.length;for(const[de,fe]of(0,ss.WP)(A)){const Se=(0,lo.s)(fe);if(!Se)throw new Error("Failed to serialize attachment");const Pe=await to(Ht,Se);te+=Pe.outputBytesCount,N.append(de,new Blob([Pe.output]),de)}at.send({data:N,bytesCount:te})}}}function to(j,se){return new Promise(we=>{j.write(se),j.finish(Oe=>{we(Oe)})})}},51077(f,d,e){"use strict";e.d(d,{$1:()=>i,H5:()=>s,K_:()=>a,L7:()=>u,lv:()=>l});const n=1e3;let r;function a(v){return g(v).segments_count}function s(v){g(v).segments_count+=1}function i(v){g(v).records_count+=1}function u(v,x){g(v).segments_total_raw_size+=x}function l(v){return r?.get(v)}function m(){r=void 0}function g(v){r||(r=new Map);let x;return r.has(v)?x=r.get(v):(x={records_count:0,segments_count:0,segments_total_raw_size:0},r.set(v,x),r.size>n&&h()),x}function h(){if(!r)return;const v=r.keys().next().value;v&&r.delete(v)}},52423(f,d,e){"use strict";e.d(d,{L2:()=>Kr});var n=e(57289),r=e(57212),a=e(5128),s=e(60797),i=e(76889),u=e(51077),l=e(82308),m=e(72875);function g(yt,tt,Ar){let Mr=0,Er=[],Ur,or=!0,An=0;const dr=[],Xr=Ar,{stop:hn}=(0,l.q)(yt,tt,"message",({data:zt})=>
9{if(zt.type!=="wrote"||zt.streamId!==Xr)return;const Tt=dr[0];Tt&&(Tt.id===zt.id?(dr.shift(),Mr+=zt.additionalBytesCount,Er.push(zt.result),Ur=zt.trailer,Tt.writeCallback?Tt.writeCallback(zt.result.byteLength):Tt.finishCallback&&Tt.finishCallback()):Tt.id<zt.id&&hn())});function Qt(){const zt=Er.length===0?new Uint8Array(0):(0,m.wh)(Er.concat(Ur)),Tt={rawBytesCount:Mr,output:zt,outputBytesCount:zt.byteLength,encoding:"deflate"};return Mr=0,Er=[],Tt}function Br(){or||(tt.postMessage({action:"reset",streamId:Ar}),or=!0)}return{isAsync:!0,get isEmpty(){return or},write(zt,Tt){tt.postMessage({action:"write",id:An,data:zt,streamId:Ar}),dr.push({id:An,writeCallback:Tt,data:zt}),or=!1,An+=1},finish(zt){Br(),dr.length?(dr.forEach(Tt=>{delete Tt.writeCallback}),dr[dr.length-1].finishCallback=()=>zt(Qt())):zt(Qt())},finishSync(){Br();const zt=dr.map(Tt=>Tt.data).join("");return dr.length=0,{...Qt(),pendingData:zt}},estimateEncodedBytesCount(zt){return zt.length/8},stop(){hn()}}}var h=e(97870),v=e(95398),x=e(98767),T=e(59112),E=e(57911);function _({configuredUrl:yt,error:tt,source:Ar,scriptType:Mr}){if(T.Vy.error(`${Ar} failed to start: an error occurred while initializing the ${Mr}:`,tt),tt instanceof Event||tt instanceof Error&&C(tt.message)){let Er;yt?Er=`Please make sure the ${Mr} URL ${yt} is correct and CSP is correctly configured.`:Er="Please make sure CSP is correctly configured.",T.Vy.error(`${Er} See documentation at ${T.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else Mr==="worker"&&(0,E.VJ)(tt)}function C(yt){return yt.includes("Content Security Policy")||yt.includes("requires 'TrustedScriptURL'")}const P=30*h.OY;function k(yt){return new Worker(yt.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=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]),n=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]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function g(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function p(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;
vendor: 4,235 bytes, line 9
9a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,g=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,g++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==g){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,g-=2}while(g>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},D=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},M=!1,j=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},C=j,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},T={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"},q=C,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=T[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?j(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,a-1)}
vendor: 6,658 bytes, line 9
9(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=O(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){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=8,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),V(this.dyn_ltree),V(this.dyn_dtree),V(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),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){M||(function(){var t,e,i,p,v,w=Array(16);for(i=0,p=0;p<28;
vendor: 5,140 bytes, line 9
9p++)for(o[p]=i,t=0;t<1<<a[p];t++)_[i++]=p;for(_[i-1]=p,v=0,p=0;p<16;p++)for(c[p]=v,t=0;t<1<<n[p];t++)l[v++]=p;for(v>>=7;p<30;p++)for(c[p]=v<<7,t=0;t<1<<n[p]-7;t++)l[256+v++]=p;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new g(s,a,257,286,15),u=new g(h,n,0,30,15),f=new g([],r,0,19,7)}(),M=!0),t.l_desc=new p(t.dyn_ltree,d),t.d_desc=new p(t.dyn_dtree,u),t.bl_desc=new p(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>
9=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=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},ct=Object.prototype.toString;function gt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};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 ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(T[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(T[n]);this._dict_set=!0}}function pt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch{t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}gt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},gt.prototype.onData=function(t){this.chunks.push(t)},gt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;
9for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"7.1.0"};case"write":{let n=e.get(a.streamId);n||(n=new gt,e.set(a.streamId,n));const r=n.chunks.length,i=(new TextEncoder).encode(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){pt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){pt(e,t)}}()})();'])))}let D={status:0};function B(yt,tt,Ar){switch(D.status===0&&V(yt,tt),D.status){case 1:return D.initializationFailureCallbacks.push(Ar),D.worker;case 3:return D.worker}}function $(){(D.status===3||D.status===1)&&D.stop(),D={status:0}}function F(){return D.status}function V(yt,tt){try{const Ar=(0,v.B)(k)(yt),{stop:Mr}=(0,l.q)(yt,Ar,"error",or=>{J(yt,tt,or)}),{stop:Er}=(0,l.q)(yt,Ar,"message",({data:or})=>{or.type==="errored"?J(yt,tt,or.error,or.streamId):or.type==="initialized"&&Z(or.version)});Ar.postMessage({action:"init"}),(0,x.wg)(()=>W(tt),P),D={status:1,worker:Ar,stop:()=>{Mr(),Er()},initializationFailureCallbacks:[]}}catch(Ar){J(yt,tt,Ar)}}function W(yt){D.status===1&&(T.Vy.error(`${yt} failed to start: a timeout occurred while initializing the Worker`),D.initializationFailureCallbacks.forEach(tt=>tt()),D={status:2})}function Z(yt){D.status===1&&(D={status:3,worker:D.worker,stop:D.stop,version:yt})}function J(yt,tt,Ar,Mr){D.status===1||D.status===0?(_({configuredUrl:yt.workerUrl,error:Ar,source:tt,scriptType:"worker"}),D.status===1&&D.initializationFailureCallbacks.forEach(Er=>Er()),D={status:2}):(0,E.VJ)(Ar,{worker_version:D.status===3&&D.version,stream_id:Mr})}var ie=e(44170),le=e(73533),he=e(31312);function me(yt,tt,Ar,Mr){const Er=tt.findTrackedSession(),Ur=je(yt,Er,Mr),or=Ar.findView();return(0,a.dx)(yt,{viewContext:or,errorType:Ur,session:Er})}function je(yt,tt,Ar){if(!tt)return"rum-not-tracked";if((0,a.K$)(tt,yt)===0)return"incorrect-session-plan";if(!Ar)return"replay-not-started"}function Fe(yt,tt){if(!yt.metricsEnabled)return{stop:i.l};let Ar,Mr,Er;const{unsubscribe:Ur}=tt.subscribe(or=>{switch(or.type){case"start":Ar={forced:or.forced,timestamp:(0,h.nx)()},Mr=void 0,Er=void 0;break;case"document-ready":Ar&&(Mr=(0,h.vk)(Ar.timestamp,(0,h.nx)()));break;case"recorder-settled":Ar&&(Er=(0,h.vk)(Ar.timestamp,(0,h.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":Ur(),Ar&&(0,E.Gk)("Recorder init metrics",{metrics:Je(Ar.forced,Er,(0,h.vk)(Ar.timestamp,(0,h.nx)()),or.type,Mr)});break}});return{stop:Ur}}function Je(yt,tt,Ar,Mr,Er){return{forced:yt,loadRecorderModuleDuration:tt,recorderInitDuration:Ar,result:Mr,waitForDocReadyDuration:Er}}async function Xe(){try{return await(0,v.B)(ge)()}catch(yt){_({error:yt,source:"Recorder",scriptType:"module"})}}async function ge(){return(await e.e("datadogRecorder").then(e.bind(e,59144))).startRecording}function be(yt,tt,Ar,Mr,Er,Ur){let or=0,An;tt.subscribe(9,()=>{(or===2||or===3)&&(Qt(),or=1)}),tt.subscribe(10,()=>{or===1&&hn()});const dr=new ie.cP;Fe(Ur,dr);const Xr=async Br=>{dr.notify({type:"start",forced:Br});const[zt]=await Promise.all([De(dr,{type:"recorder-settled"},Xe()),De(dr,{type:"document-ready"},(0,le.N)(yt,"interactive"))]);if(or!==2){dr.notify({type:"aborted"});return}if(!zt){or=0,dr.notify({type:"recorder-load-failed"});return}const Tt=Er();if(!Tt){or=0,dr.notify({type:"deflate-encoder-load-failed"});return}({stop:An}=zt(tt,yt,Ar,Mr,Tt,Ur)),or=3,dr.notify({type:"succeeded"})};function hn(Br){const zt=Ar.findTrackedSession(),Tt=zt?(0,a.K$)(zt,yt):void 0;if(!Ie(Tt,Br)){or=1;return}if(Re(or))return;or=2;const Pr=ye(Tt,Br)||!1;Xr(Pr).catch(he.Dx),Pr&&Ar.updateSessionState({forcedReplay:"1"})}function Qt(){or===3&&An?.(),or=0}return{start:hn,stop:Qt,getSessionReplayLink(){return me(yt,Ar,Mr,or!==0)},isRecording:()=>or===3}}function Ie(yt,tt){return yt!==void 0&&(yt!==0||tt?.force)}function Re(yt){return yt===2||yt===3}function ye(yt,tt){return tt&&tt.force&&yt===0}async function De(yt,tt,Ar){try{return await Ar}finally{yt.notify(tt)}}function $e(){let yt=0;return{strategy:{start(){yt=1},stop(){yt=2},isRecording:()=>!1,getSessionReplayLink:i.l},shouldStartImmediately(tt){return yt===1||yt===0&&!tt.startSessionReplayRecordingManually}}}function qe(){if((0,s.d0)()&&!(0,s.Ww)("records"))return{start:i.l,stop:i.l,getReplayStats:()=>{},onRumStart:i.l,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:yt,shouldStartImmediately:tt}=$e();return{start:Mr=>yt.start(Mr),stop:()=>yt.stop(),getSessionReplayLink:()=>yt.getSessionReplayLink(),onRumStart:Ar,isRecording:()=>F()===3&&yt.isRecording(),getReplayStats:Mr=>F()===3?(0,u.lv)(Mr):void 0};function Ar(Mr,Er,Ur,or,An,dr){let Xr;function hn(){return Xr||(An??(An=B(Er,"Datadog Session Replay",()=>yt.stop())),An&&(Xr=g(Er,An,1))),Xr}yt=be(Er,Mr,Ur,or,hn,dr),tt(Er)&&yt.start()}}var It=e(47035);function mt(){return(0,r.VZ)().Profiler!==void 0}var kt=e(80692);function Ut(yt){let tt={status:"starting"};return yt.register(0,({eventType:Ar})=>Ar!==a.bb.VIEW&&Ar!==a.bb.LONG_TASK&&Ar!==a.bb.ACTION&&Ar!==a.bb.VITAL?kt.$O:{type:Ar,_dd:{profiling:tt}}),{get:()=>tt,set:Ar=>{tt=Ar}}}async function Ir(){try{return await(0,v.B)(Sr)()}catch(yt){_({error:yt,source:"Profiler",scriptType:"module"})}}async function Sr(){return(await e.e("datadogProfiler").then(e.bind(e,96728))).createRumProfiler}function Yr(){let yt;function tt(Ar,Mr,Er,Ur,or,An){const dr=Ur.findTrackedSession();
9if(!dr||!(0,It.$5)(dr.id,(0,It.it)(Er.sessionSampleRate,Er.profilingSampleRate)))return;const Xr=Ut(Mr);if(!(0,v.B)(mt)()){Xr.set({status:"error",error_reason:"not-supported-by-browser"});return}Ir().then(hn=>{if(!hn){Xr.set({status:"error",error_reason:"failed-to-lazy-load"});return}yt=hn(Er,Ar,Ur,Xr,An,or,void 0),yt.start()}).catch(he.Dx)}return{onRumStart:tt,stop:()=>{yt?.stop()}}}const Gr=qe(),dn=Yr(),Kr=(0,a.AB)(Gr,dn,{startDeflateWorker:B,createDeflateEncoder:g,sdkName:"rum"});(0,n.Z)((0,r.VZ)(),"DD_RUM",Kr)},79624(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-check",a=512,s=512,i=[61533,"check-circle"],u="f058",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm136 0c0-6.1 2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l47 47c37-37 74-74 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9c.6 1.5 1 2.9 1.3 4.4c.2 1.1 .3 2.2 .3 2.2c.1 1.2 .1 1.2 .1 2.5c-.1 1.5-.1 1.9-.1 2.3c-.1 .7-.2 1.5-.3 2.2c-.3 1.5-.7 3-1.3 4.4c-1.2 2.9-2.9 5.6-5.3 7.9c-42.7 42.7-85.3 85.3-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7c-21.3-21.3-42.7-42.7-64-64c-4.7-4.7-7-10.8-7-17z","M369 175c9.4 9.4 9.4 24.6 0 33.9L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},74586(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-plus",a=512,s=512,i=["plus-circle"],u="f055",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm144 0c0-13.3 10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-64-64 0c-13.3 0-24-10.7-24-24z","M232 280l0 64c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},73545(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-xmark",a=512,s=512,i=[61532,"times-circle","xmark-circle"],u="f057",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm168.1 61.7c.1-.7 .2-1.5 .3-2.3c.3-1.5 .7-3 1.3-4.4c1.2-2.9 2.9-5.6 5.3-7.9c15.7-15.7 31.4-31.4 47-47c-15.7-15.7-31.3-31.3-47-47c-9.4-9.4-9.4-24.6 0-33.9c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c15.7 15.7 31.4 31.4 47 47c15.7-15.7 31.4-31.4 47-47c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c9.4 9.4 9.4 24.6 0 33.9c-15.7 15.7-31.3 31.3-47 47c15.7 15.7 31.4 31.4 47 47c4.7 4.7 7 10.8 7 17s-2.3 12.3-7 17s-10.8 7-17 7s-12.3-2.3-17-7l-47-47c-15.7 15.7-31.3 31.3-47 47c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7c-2.3-2.3-4.1-5.1-5.3-7.9c-.6-1.4-1-2.9-1.3-4.4c-.2-1.1-.4-2.3-.3-2.2c-.1-1.2-.1-1.2-.1-2.4c0-1.5 .1-1.9 .1-2.3z","M209 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},72159(f,d){"use strict";var e;e={value:!0};var n="fad",r="code-fork",a=448,s=512,i=[],u="e13b",l=["M48 153.3c4.9 2.1 10.1 3.8 15.4 4.9c2.7 .6 5.4 1 8.2 1.3c1.4 .1 2.8 .3 4.2 .3c1.4 .1 2.8 .1 4.2 .1c11.4 0 22.2-2.4 32-6.7l0 38.7c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-38.7c4.9 2.1 10.1 3.8 15.4 4.9c2.7 .6 5.4 1 8.2 1.3c1.4 .1 2.8 .3 4.2 .3c1.4 .1 2.8 .1 4.2 .1c11.4 0 22.2-2.4 32-6.7l0 38.7c0 53-43 96-96 96l-48 0 0 70.7c-4.9-2.1-10.1-3.8-15.4-4.9c-2.7-.6-5.4-1-8.2-1.3c-1.4-.1-2.8-.3-4.2-.3s-2.8-.1-4.2-.1c-11.4 0-22.2 2.4-32 6.7l0-70.7-48 0c-53 0-96-43-96-96l0-38.7z","M80 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 104A80 80 0 1 0 80 0a80 80 0 1 0 0 160zM368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 104A80 80 0 1 0 368 0a80 80 0 1 0 0 160zM200 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104 0a80 80 0 1 0 -160 0 80 80 0 1 0 160 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},7384(f,d){"use strict";var e;e={value:!0};var n="fad",r="file",a=384,s=512,i=[128196,128459,61462],u="f15b",l=["M0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0C28.7 0 0 28.7 0 64z","M224 0L384 160H256c-17.7 0-32-14.3-32-32V0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.A4=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},6306(f,d){"use strict";var e;e={value:!0};var n="fad",r="folder-open",a=576,s=512,i=[128194,128449,61717],u="f07c",l=["M0 96L0 448c0-5.6 1.5-11.1 4.4-16.1l112-192C122.1 230 132.6 224 144 224l336 0 0-64c0-35.3-28.7-64-64-64L298.5 96c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7L64 32C28.7 32 0 60.7 0 96zM2.4 460.1c.3 .7 .6 1.3 .9 1.9s.6 1.3 1 1.9c-.7-1.2-1.3-2.5-1.9-3.8zm459 1c7.6-7.6 13.3-17.2 16.2-27.9l-16.2 27.9z","M144 224c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1S20.5 480 32 480l400 0c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224l-400 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Uj=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},48202(f,d){"use strict";var e;e={value:!0};var n="fad",r="paintbrush",a=576,s=512,i=[128396,"paint-brush"],u="f1fc",l=["M0 480c0 17.7 14.3 32 32 32l143.9 0c.1-.2 .2-.3 .3-.3c2.6 .2 5.2 .3 7.9 .3c66.3 0 120-53.7 120-120c0-2.8-.1-5.5-.2-8.3l-.6-.6L208 272c-.5 0-1.1 0-1.7 0L184 272c-66.3 0-120 53.7-120 120c0 6.2 .5 12.4 1.4 18.4C68.1 428.2 56.1 448 38 448l-6 0c-17.7 0-32 14.3-32 32z","M411 331.6c-19.9 32.6-55.3 52.4-93.4 52.4c-4.8 0-9.6-.3-14.3-.9L208 272c.2-35.9 17.8-69.4 47.1-90.1L500.2 8.8C518.8-4.3 544.1-2.6 560.7 13s20 40.6 8.2 60.1L411 331.6z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ue=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},44859(f,d){"use strict";var e;e={value:!0};var n="fad",r="pencil",a=512,s=512,i=[9999,61504,"pencil-alt"],u="f303",l=["M144 319.4c0 4.1 1.6 8.2 4.7 11.3s7.2 4.7 11.3 4.7s8.2-1.6 11.3-4.7c48-48 96-96 144-144c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-48 48-96 96-144 144c-3.1 3.1-4.7 7.2-4.7 11.3zM302.7 78.7c43.3 43.3 86.6 86.6 129.9 129.9c20-20 40-40 60-60c12.5-12.5 18.7-28.9 18.7-45.3s-6.2-32.8-18.7-45.3L453.3 18.7c-25-25-65.5-25-90.5 0l-60 60z","M432.7 208.7L302.7 78.7 58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s1
95.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L432.7 208.7zM89.3 360.5l22.7-9.1 0 32c0 8.8 7.2 16 16 16l32 0-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3zm226-196.4c6.2 6.2 6.2 16.4 0 22.6l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},3209(f,d){"use strict";var e;e={value:!0};var n="fad",r="square",a=448,s=512,i=[9632,9723,9724,61590],u="f0c8",l=["M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z",""];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Nf=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},25992(f,d){"use strict";var e;e={value:!0};var n="fad",r="users",a=640,s=512,i=[],u="f0c0",l=["M0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM64 80a80 80 0 1 0 160 0A80 80 0 1 0 64 80zM404.7 320c.2 0 .4 0 .7 0l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96zM432 80a80 80 0 1 0 160 0A80 80 0 1 0 432 80z","M320 320a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 32C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z"];d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.gd=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},19794(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-down-left-and-arrow-up-right-to-center",a=512,s=512,i=[],u="e092",l="M507.3 27.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 169.4 320 64c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 144c0 8.8 7.2 16 16 16l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-105.4 0L507.3 27.3zM4.7 484.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 342.6 192 448c0 8.8 7.2 16 16 16s16-7.2 16-16l0-144c0-8.8-7.2-16-16-16L64 288c-8.8 0-16 7.2-16 16s7.2 16 16 16l105.4 0L4.7 484.7z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.hL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},28591(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-rotate-left",a=512,s=512,i=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],u="f0e2",l="M48 192c-8.8 0-16-7.2-16-16L32 48c0-8.8 7.2-16 16-16s16 7.2 16 16l0 92.6C103.2 75.5 174.5 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-79.9 0-150-41.8-189.7-104.8C59.8 364.8 67.7 352 80 352c6 0 11.4 3.2 14.7 8.2C128.9 413 188.4 448 256 448c106 0 192-86 192-192s-86-192-192-192c-71.1 0-133.1 38.6-166.3 96l86.3 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L48 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.V3=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},6022(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-up-right-and-arrow-down-left-from-center",a=512,s=512,i=[],u="e0a0",l="M292.7 196.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6 480 160c0 8.8 7.2 16 16 16s16-7.2 16-16l0-144c0-8.8-7.2-16-16-16L352 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l105.4 0L292.7 196.7zM219.3 315.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L32 457.4 32 352c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 496c0 8.8 7.2 16 16 16l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 480 219.3 315.3z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.A1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},67412(f,d){"use strict";var e;e={value:!0};var n="fal",r="browser",a=512,s=512,i=[128468],u="f37e",l="M160 64l0 64 320 0 0-32c0-17.7-14.3-32-32-32L160 64zm-32 0L64 64C46.3 64 32 78.3 32 96l0 32 96 0 0-64zM32 160l0 256c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-256-336 0L32 160zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.c9=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},36790(f,d){"use strict";var e;e={value:!0};var n="fal",r="building",a=384,s=512,i=[127970,61687],u="f1ad",l="M64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l64 0 0-64c0-35.3 28.7-64 64-64s64 28.7 64 64l0 64 64 0c17.7 0 32-14.3 32-32l0-384c0-17.7-14.3-32-32-32L64 32zM224 416c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64 64 0 0-64zm-96 96l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-64 0-32 0-64 0-32 0zM64 120c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48zm32 8l0 32 32 0 0-32-32 0zM248 96l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48c0-13.3 10.7-24 24-24zm8 64l32 0 0-32-32 0 0 32zM64 248c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48zm32 8l0 32 32 0 0-32-32 0zm152-32l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48c0-13.3 10.7-24 24-24zm8 64l32 0 0-32-32 0 0 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.UR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},68410(f,d){"use strict";var e;e={value:!0};var n="fal",r="chevron-left",a=320,s=512,i=[9001],u="f053",l="M20.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l192-192c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L54.6 256 235.3 436.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-192-192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},5085(f,d){"use strict";var e;e={value:!0};var n="fal",r="chevron-right",a=320,s=512,i=[9002],u="f054",l="M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},37773(f,d){"use strict";var e;e={value:!0};var n="fal",r="eye",a=576,s=512,i=[128065],u="f06e",l="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.pS=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},34428(f,d){"use strict";var e;e={value:!0};var n="fal",r="eye-slash",a=640,s=512,i=[],u="f070",l="M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.k6=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},87467(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-frown",a=512,s=512,i=[9785,"frown"],u="f119",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM152.4 208a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ho=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},13102(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-laugh",a=512,s=512,i=["laugh"],u="f599",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM256 400c52 0 97.1-32.8 115.7-80l-231.4 0c18.6 47.2 63.7 80 115.7 80zM126.5 288l259.1 0c14.2 0 25.4 12.3 21.8 26c-18.1 68-79 118-151.3 118s-133.2-50-151.3-118c-3.6-13.7 7.6-26 21.8-26zm25.9-96a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ou=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},44727(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-smile",a=512,s=512,i=[128578,"smile"],u="f118",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm164.1 69.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM152.4 208a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.H8=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},10490(f,d){"use strict";var e;e={value:!0};var n="fal",r="file-export",a=576,s=512,i=["arrow-right-from-file"],u="f56e",l="M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 64 32 0 0-92.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-32 0 0 80zm-.5-288L240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4zm123.8 52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L521.4 304 208 304c-8.8 0-16 7.2-16 16s7.2 16 16 16l313.4 0-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96c6.2-6.2 6.2-16.4 0-22.6l-96-96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.o1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},89200(f,d){"use strict";var e;e={value:!0};var n="fal",r="file-pdf",a=512,s=512,i=[],u="f1c1",l="M64 480l48 0 0 32-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 304l-32 0 0-112-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2
9-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.O_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},14830(f,d){"use strict";var e;e={value:!0};var n="fal",r="location-dot",a=384,s=512,i=["map-marker-alt"],u="f3c5",l="M352 192c0-88.4-71.6-160-160-160S32 103.6 32 192c0 15.6 5.4 37 16.6 63.4c10.9 25.9 26.2 54 43.6 82.1c34.1 55.3 74.4 108.2 99.9 140c25.4-31.8 65.8-84.7 99.9-140c17.3-28.1 32.7-56.3 43.6-82.1C346.6 229 352 207.6 352 192zm32 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zm-240 0a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 80a80 80 0 1 1 0-160 80 80 0 1 1 0 160z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.gK=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},67204(f,d){"use strict";var e;e={value:!0};var n="fal",r="lock-keyhole",a=448,s=512,i=["lock-alt"],u="f30d",l="M224 32c53 0 96 43 96 96l0 64-192 0 0-64c0-53 43-96 96-96zM96 128l0 64-16 0c-44.2 0-80 35.8-80 80L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-160c0-44.2-35.8-80-80-80l-16 0 0-64C352 57.3 294.7 0 224 0S96 57.3 96 128zM80 224l288 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-160c0-26.5 21.5-48 48-48zm160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 80c0 8.8 7.2 16 16 16s16-7.2 16-16l0-80z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Yp=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},51371(f,d){"use strict";var e;e={value:!0};var n="fal",r="pencil",a=512,s=512,i=[9999,61504,"pencil-alt"],u="f303",l="M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6l-219 219 0-12.6c0-8.8-7.2-16-16-16l-32 0 0-32c0-8.8-7.2-16-16-16l-12.6 0 219-219zM66.9 379.5c1.2-4 2.7-7.9 4.7-11.5L96 368l0 32c0 8.8 7.2 16 16 16l32 0 0 24.4c-3.7 1.9-7.5 3.5-11.6 4.7L39.6 472.4l27.3-92.8zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17zM331.3 202.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-128 128c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l128-128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},80349(f,d){"use strict";var e;e={value:!0};var n="far",r="angle-right",a=320,s=512,i=[8250],u="f105",l="M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.vm=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},93057(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down",a=384,s=512,i=[8595],u="f063",l="M174.6 472.6c4.5 4.7 10.8 7.4 17.4 7.4s12.8-2.7 17.4-7.4l168-176c9.2-9.6 8.8-24.8-.8-33.9s-24.8-8.8-33.9 .8L216 396.1 216 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 340.1L41.4 263.4c-9.2-9.6-24.3-9.9-33.9-.8s-9.9 24.3-.8 33.9l168 176z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.B0=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},23119(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-from-line",a=384,s=512,i=[8615,"arrow-from-top"],u="f345",l="M174.5 472.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 395.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 303.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136zM360 80c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 32C10.7 32 0 42.7 0 56S10.7 80 24 80l336 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.xZ=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},11358(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-to-bracket",a=448,s=512,i=[],u="e094",l="M369 217L241 345c-9.4 9.4-24.6 9.4-33.9 0L79 217c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87L200 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 246.1 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM48 344l0 80c0 22.1 17.9 40 40 40l272 0c22.1 0 40-17.9 40-40l0-80c0-13.3 10.7-24 24-24s24 10.7 24 24l0 80c0 48.6-39.4 88-88 88L88 512c-48.6 0-88-39.4-88-88l0-80c0-13.3 10.7-24 24-24s24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.a_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},45890(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-to-line",a=384,s=512,i=["arrow-to-bottom"],u="f33d",l="M360 480c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM174.5 344.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 267.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 175.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.yH=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},62208(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-left",a=448,s=512,i=[8592],u="f060",l="M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ce=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},18819(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-right",a=448,s=512,i=[8594],u="f061",l="M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.dm=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},14097(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-right-from-line",a=448,s=512,i=[8614,"arrow-from-left"],u="f343",l="M48 88c0-13.3-10.7-24-24-24S0 74.7 0 88L0 424c0 13.3 10.7 24 24 24s24-10.7 24-24L48 88zM440.4 273.5c4.8-4.5 7.6-10.9 7.6-17.5s-2.7-12.9-7.6-17.5l-136-128c-9.7-9.1-24.8-8.6-33.9 1s-8.6 24.8 1 33.9L363.5 232 280 232l-128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l128 0 83.5 0-91.9 86.5c-9.7 9.1-10.1 24.3-1 33.9s24.3 10.1 33.9 1l136-128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Pe=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},71431(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-rotate-left",a=512,s=512,i=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],u="f0e2",l="M40 224c-13.3 0-24-10.7-24-24L16 56c0-13.3 10.7-24 24-24s24 10.7 24 24l0 80.1 20-23.5C125 63.4 186.9 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-50.4 0-97-16.7-134.4-44.8c-10.6-8-12.7-23-4.8-33.6s23-12.7 33.6-4.8C179.8 418.9 216.3 432 256 432c97.2 0 176-78.8 176-176s-78.8-176-176-176c-54.3 0-102.9 24.6-135.2 63.4l-.1 .2s0 0 0 0L93.1 176l90.9 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L40 224z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.V3=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},52736(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up",a=384,s=512,i=[8593],u="f062",l="M209.4 39.4C204.8 34.7 198.6 32 192 32s-12.8 2.7-17.4 7.4l-168 176c-9.2 9.6-8.8 24.8 .8 33.9s24.8 8.8 33.9-.8L168 115.9 168 456c0 13.3 10.7 24 24 24s24-10.7 24-24l0-340.1L342.6 248.6c9.2 9.6 24.3 9.9 33.9 .8s9.9-24.3 .8-33.9l-168-176z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.IN=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},7490(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up-from-bracket",a=448,s=512,i=[],u="e09a",l="M241 7c-9.4-9.4-24.6-9.4-33.9 0L79 135c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l87-87L200 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-246.1 87 87c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L241 7zM48 344c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 80c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-80c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 80c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-80z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.MN=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},30438(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up-from-line",a=384,s=512,i=[8613,"arrow-from-bottom"],u="f342",l="M209.5 39.6C204.9 34.7 198.6 32 192 32s-12.9 2.7-17.5 7.6l-128 136c-9.1 9.7-8.6 24.8 1 33.9s24.8 8.6 33.9-1L168 116.5l0 83.5 0 128c0 13.3 10.7 24 24 24s24-10.7 24-24l0-128 0-83.5 86.5 91.9c9.1 9.7 24.3 10.1 33.9 1s10.1-24.3 1-33.9l-128-136zM24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.s8=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},6899(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="arrow-up-right-from-square",r=512,a=512,s=["external-link"],i="f08e",u="M304 24c0 13.3 10.7 24 24 24l102.1 0L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223L464 184c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160c0-13.3-10.7-24-24-24L328 0c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104L0 440c0 39.8 32.2 72 72 72l336 0c39.8 0 72-32.2 72-72l0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128c0 13.3-10.7 24-24 24L72 464c-13.3 0-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24l128 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L72 32z";d.definition={prefix:e,iconName:n,icon:[r,a,s,i,u]},d.faArrowUpRightFromSquare=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=s,d.unicode=i,d.svgPathData=u,d.aliases=s},26529(f,d,e){"use strict";var n;n={value:!0};var r=e(31603);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.X8=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},79872(f,d){"use strict";var e;e={value:!0};var n="far",r="bars",a=448,s=512,i=["navicon"],u="f0c9",l="M0 88C0 74.7 10.7 64 24 64l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 112C10.7 112 0 101.3 0 88zM0 248c0-13.3 10.7-24 24-24l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 272c-13.3 0-24-10.7-24-24zM448 408c0 13.3-10.7 24-24 24L24 432c-13.3 0-24-10.7-24-24s10.7-24 24-24l400 0c13.3 0 24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ck=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},31511(f,d){"use strict";var e;e={value:!0};var n="far",r="book",a=448,s=512,i=[128212],u="f02d",l="M0 88C0 39.4 39.4 0 88 0L392 0c30.9 0 56 25.1 56 56l0 288c0 22.3-13.1 41.6-32 50.6l0 69.4 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L80 512c-44.2 0-80-35.8-80-80c0-2.7 .1-5.4 .4-8L0 424 0 88zM80 400c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0 0-64L80 400zM48 358.7c9.8-4.3 20.6-6.7 32-6.7l312 0c4.4 0 8-3.6 8-8l0-288c0-4.4-3.6-8-8-8L88 48C65.9 48 48 65.9 48 88l0 270.7zM152 112l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.LB=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},17783(f,d){"use strict";var e;e={value:!0};var n="far",r="book-open",a=576,s=512,i=[128214,128366],u="f518",l="M156 32C100.6 32 48.8 46.6 27.1 53.6C10.3 59 0 74.5 0 91.1L0 403.5c0 26.1 24 44.2 48 40.2c19.8-3.3 54.8-7.7 100-7.7c54 0 97.5 25.5 112.5 35.6c7.5 5 16.8 8.4 27 8.4c11.5 0 21.6-4.2 29.3-9.9C330.2 460.3 369.1 436 428 436c47.7 0 80.5 4 99 7.2c23.9 4.1 49-13.8 49-40.6l0-311.5c0-16.5-10.3-32.1-27.1-37.5C527.2 46.6 475.4 32 420 32c-36.8 0-71.8 6.4-97.4 12.7c-12.8 3.2-23.5 6.3-30.9 8.7c-1.3 .4-2.6 .8-3.7 1.2c-1.1-.4-2.4-.8-3.7-1.2c-7.5-2.4-18.1-5.5-30.9-8.7C227.8 38.4 192.8 32 156 32zM264 97.3l0 320.6C238 404.2 196.8 388 148 388c-42.9 0-77.4 3.7-100 7.1L48 97.3C70.3 90.6 112.4 80 156 80c31.6 0 62.6 5.6 85.9 11.3c8.6 2.1 16.1 4.2 22.1 6zm48 319.2l0-319.2c6-1.8 13.5-3.9 22.1-6C357.4 85.6 388.4 80 420 80c43.6 0 85.7 10.6 108 17.3l0 297.4c-21.7-3.3-54.9-6.7-100-6.7c-51.4 0-90.8 15-116 28.6z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Re=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},89072(f,d){"use strict";var e;e={value:!0};var n="far",r="book-sparkles",a=448,s=512,i=["book-spells"],u="f6b8",l="M0 88C0 39.4 39.4 0 88 0L392 0c30.9 0 56 25.1 56 56l0 288c0 22.3-13.1 41.6-32 50.6l0 69.4 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L80 512c-44.2 0-80-35.8-80-80c0-2.7 .1-5.4 .4-8L0 424 0 88zM80 400c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0 0-64L80 400zM48 358.7c9.8-4.3 20.6-6.7 32-6.7l312 0c4.4 0 8-3.6 8-8l0-288c0-4.4-3.6-8-8-8L88 48C65.9 48 48 65.9 48 88l0 270.7zM160 112l8.8-17.7c2.9-5.9 11.4-5.9 14.3 0L192 112l17.7 8.8c5.9 2.9 5.9 11.4 0 14.3L192 144l-8.8 17.7c-2.9 5.9-11.4 5.9-14.3 0L160 144l-17.7-8.8c-5.9-2.9-5.9-11.4 0-14.3L160 112zM264 216l16.6-38.8c2.8-6.5 11.9-6.5 14.7 0L312 216l38.8 16.6c6.5 2.8 6.5 11.9 0 14.7L312 264l-16.6 38.8c-2.8 6.5-11.9 6.5-14.7 0L264 264l-38.8-16.6c-6.5-2.8-6.5-11.9 0-14.7L264 216z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.E4=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},43436(f,d){"use strict";var e;e={value:!0};var n="far",r="browser",a=512,s=512,i=[128468],u="f37e",l="M.3 89.5C.1 91.6 0 93.8 0 96l0 64L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256 0-64c0-35.3-28.7-64-64-64L64 32c-2.2 0-4.4 .1-6.5 .3c-9.2 .9-17.8 3.8-25.5 8.2C21.8 46.5 13.4 55.1 7.7 65.5c-3.9 7.3-6.5 15.4-7.4 24zM48 160l416 0 0 256c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]}
9,d.c9=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},45422(f,d){"use strict";var e;e={value:!0};var n="far",r="building",a=384,s=512,i=[127970,61687],u="f1ad",l="M64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l80 0 0-64c0-26.5 21.5-48 48-48s48 21.5 48 48l0 64 80 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16L64 48zM0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm88 40c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16l0 48c0 8.8-7.2 16-16 16l-48 0c-8.8 0-16-7.2-16-16l0-48zM232 88l48 0c8.8 0 16 7.2 16 16l0 48c0 8.8-7.2 16-16 16l-48 0c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16zM88 232c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16l0 48c0 8.8-7.2 16-16 16l-48 0c-8.8 0-16-7.2-16-16l0-48zm144-16l48 0c8.8 0 16 7.2 16 16l0 48c0 8.8-7.2 16-16 16l-48 0c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.UR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},87565(f,d){"use strict";var e;e={value:!0};var n="far",r="cards-blank",a=640,s=512,i=[],u="e4df",l="M51.8 160.4c-3.7 2.1-4.9 6.8-2.8 10.5l167 289.3c2.1 3.7 6.8 4.9 10.5 2.8L419.4 351.6c3.7-2.1 4.9-6.8 2.8-10.5L255.2 51.8c-2.1-3.7-6.8-4.9-10.5-2.8L51.8 160.4zM7.5 194.9c-15.4-26.6-6.3-60.7 20.4-76.1L220.7 7.5c26.6-15.4 60.7-6.3 76.1 20.4l167 289.3c15.4 26.6 6.2 60.7-20.4 76.1L250.5 504.5c-26.6 15.4-60.7 6.2-76.1-20.4L7.5 194.9zm451.9 226c41.9-24.2 56.3-77.8 32.1-119.8L354.7 64.2c1.7-.2 3.5-.2 5.3-.2l224 0c30.9 0 56 25.1 56 56l0 336c0 30.9-25.1 56-56 56l-224 0c-13.7 0-26.2-4.9-35.9-13l135.3-78.1z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Xm=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},31603(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="chart-bar",r=512,a=512,s=["bar-chart"],i="f080",u="M24 32c13.3 0 24 10.7 24 24l0 352c0 13.3 10.7 24 24 24l416 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 480c-39.8 0-72-32.2-72-72L0 56C0 42.7 10.7 32 24 32zM128 136c0-13.3 10.7-24 24-24l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24zm24 72l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96l272 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-272 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.definition={prefix:e,iconName:n,icon:[r,a,s,i,u]},d.faChartBar=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=s,d.unicode=i,d.svgPathData=u,d.aliases=s},42036(f,d){"use strict";var e;e={value:!0};var n="far",r="check",a=448,s=512,i=[10003,10004],u="f00c",l="M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.e6=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},75643(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-down",a=512,s=512,i=[],u="f078",l="M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Jt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},26594(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-left",a=320,s=512,i=[9001],u="f053",l="M15 239c-9.4 9.4-9.4 24.6 0 33.9L207 465c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L65.9 256 241 81c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L15 239z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},30405(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-right",a=320,s=512,i=[9002],u="f054",l="M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},74686(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-up",a=512,s=512,i=[],u="f077",l="M239 111c9.4-9.4 24.6-9.4 33.9 0L465 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-175-175L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 111z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.w2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},79906(f,d){"use strict";var e;e={value:!0};var n="far",r="circle",a=512,s=512,i=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],u="f111",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.GE=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},85248(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-check",a=512,s=512,i=[61533,"check-circle"],u="f058",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},48587(f,d){"use strict";var e;e={value:!0};
9var n="far",r="circle-dot",a=512,s=512,i=[128280,"dot-circle"],u="f192",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.pp=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},91485(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-exclamation",a=512,s=512,i=["exclamation-circle"],u="f06a",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.lE=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},5923(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-half-stroke",a=512,s=512,i=[9680,"adjust"],u="f042",l="M464 256c0-114.9-93.1-208-208-208l0 416c114.9 0 208-93.1 208-208zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.B2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},58882(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="circle-info",r=512,a=512,s=["info-circle"],i="f05a",u="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.definition={prefix:e,iconName:n,icon:[r,a,s,i,u]},d.faCircleInfo=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=s,d.unicode=i,d.svgPathData=u,d.aliases=s},6094(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-notch",a=512,s=512,i=[],u="f1ce",l="M215.1 26.3c3.6 12.7-3.7 26-16.5 29.7C111.6 80.9 48 161.1 48 256c0 114.9 93.1 208 208 208s208-93.1 208-208c0-94.9-63.6-175.1-150.6-200c-12.7-3.6-20.1-16.9-16.5-29.7s16.9-20.1 29.7-16.5C433.6 40.5 512 139.1 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 139.1 78.4 40.5 185.4 9.9c12.7-3.6 26 3.7 29.7 16.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.s4=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},26642(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-plus",a=512,s=512,i=["plus-circle"],u="f055",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},65679(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-small",a=320,s=512,i=[],u="e122",l="M272 256A112 112 0 1 0 48 256a112 112 0 1 0 224 0zM0 256a160 160 0 1 1 320 0A160 160 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ZP=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},59857(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-xmark",a=512,s=512,i=[61532,"times-circle","xmark-circle"],u="f057",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},12124(f,d){"use strict";var e;e={value:!0};var n="far",r="clipboard-list-check",a=384,s=512,i=[],u="f737",l="M320 64l-40 0-9.6 0C263 27.5 230.7 0 192 0s-71 27.5-78.4 64L104 64 64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64zM80 112l0 24c0 13.3 10.7 24 24 24l88 0 88 0c13.3 0 24-10.7 24-24l0-24 16 0c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l16 0zm88-32a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm3.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L112 249.4 99.3 236.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l24 24c6.2 6.2 16.4 6.2 22.6 0l48-48zM192 272c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0c-8.8 0-16 7.2-16 16zm-32 96c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0c-8.8 0-16 7.2-16 16zm-48 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.S3=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},2244(f,d){"use strict";var e;e={value:!0};var n="far",r="clock-rotate-left",a=512,s=512,i=["history"],u="f1da",l="M48 106.7L48 56c0-13.3-10.7-24-24-24S0 42.7 0 56L0 168c0 13.3 10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.3 0c37-57.8 101.7-96 175.3-96c114.9 0 208 93.1 208 208s-93.1 208-208 208c-42.5 0-81.9-12.7-114.7-34.5c-11-7.3-25.9-4.3-33.3 6.7s-4.3 25.9 6.7 33.3C155.2 496.4 203.8 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C170.3 0 94.4 42.1 48 106.7zM256 128c-13.3 0-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1c0-13.3-10.7-24-24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Yj=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},62909(f,d){"use strict";var e;e={value:!0};var n="far",r="clone",a=512,s=512,i=[],u="f24d",l="M64 464l224 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l64 0 0 48-64 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM224 304l224 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16L224 48c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zm-64-16l0-224c0-35.3 28.7-64 64-64L448 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.$3=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},50344(f,d,e){"use strict";var n;n={value:!0};var r=e(88309);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.yY=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},3784(f,d){"use strict";var e;e={value:!0};var n="far",r="closed-captioning",a=576,s=512,i=[],u="f20a",l="M
9512 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l448 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM200 208c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48s21.5-48 48-48zm144 48c0-26.5 21.5-48 48-48c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.UM=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},39475(f,d){"use strict";var e;e={value:!0};var n="far",r="code",a=640,s=512,i=[],u="f121",l="M399.1 1.1c-12.7-3.9-26.1 3.1-30 15.8l-144 464c-3.9 12.7 3.1 26.1 15.8 30s26.1-3.1 30-15.8l144-464c3.9-12.7-3.1-26.1-15.8-30zm71.4 118.5c-9.1 9.7-8.6 24.9 1.1 33.9L580.9 256 471.6 358.5c-9.7 9.1-10.2 24.3-1.1 33.9s24.3 10.2 33.9 1.1l128-120c4.8-4.5 7.6-10.9 7.6-17.5s-2.7-13-7.6-17.5l-128-120c-9.7-9.1-24.9-8.6-33.9 1.1zm-301 0c-9.1-9.7-24.3-10.2-33.9-1.1l-128 120C2.7 243 0 249.4 0 256s2.7 13 7.6 17.5l128 120c9.7 9.1 24.9 8.6 33.9-1.1s8.6-24.9-1.1-33.9L59.1 256 168.4 153.5c9.7-9.1 10.2-24.3 1.1-33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.jT=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},75991(f,d){"use strict";var e;e={value:!0};var n="far",r="code-fork",a=448,s=512,i=[],u="e13b",l="M80 112a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm80-32c0 35.8-23.5 66.1-56 76.3l0 35.7c0 22.1 17.9 40 40 40l160 0c22.1 0 40-17.9 40-40l0-35.7c-32.5-10.2-56-40.5-56-76.3c0-44.2 35.8-80 80-80s80 35.8 80 80c0 35.8-23.5 66.1-56 76.3l0 35.7c0 48.6-39.4 88-88 88l-56 0 0 75.7c32.5 10.2 56 40.5 56 76.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-35.8 23.5-66.1 56-76.3l0-75.7-56 0c-48.6 0-88-39.4-88-88l0-35.7C23.5 146.1 0 115.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm208 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM256 432a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},91201(f,d){"use strict";var e;e={value:!0};var n="far",r="comment",a=512,s=512,i=[128489,61669],u="f075",l="M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9l.3-.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.DN=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},47571(f,d){"use strict";var e;e={value:!0};var n="far",r="copy",a=448,s=512,i=[],u="f0c5",l="M384 336l-192 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l140.1 0L400 115.9 400 320c0 8.8-7.2 16-16 16zM192 384l192 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1L192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-32-48 0 0 32c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l32 0 0-48-32 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.jP=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},18796(f,d){"use strict";var e;e={value:!0};var n="far",r="crop",a=512,s=512,i=[],u="f125",l="M80 24C80 10.7 90.7 0 104 0s24 10.7 24 24l0 326.1L350.1 128 160 128l0-48 238.1 0L471 7c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-73 73L432 384l56 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-56 0 0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-326.1L161.9 384 352 384l0 48-216 0c-30.9 0-56-25.1-56-56l0-248-56 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l56 0 0-56z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.K1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},89023(f,d){"use strict";var e;e={value:!0};var n="far",r="diamond-exclamation",a=512,s=512,i=[],u="e405",l="M51.3 256L256 51.3 460.7 256 256 460.7 51.3 256zm233-244.3c-15.6-15.6-40.9-15.6-56.6 0l-216 216c-15.6 15.6-15.6 40.9 0 56.6l216 216c15.6 15.6 40.9 15.6 56.6 0l216-216c15.6-15.6 15.6-40.9 0-56.6l-216-216zM256 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.xG=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},62566(f,d){"use strict";var e;e={value:!0};var n="far",r="distribute-spacing-vertical",a=512,s=512,i=[],u="e366",l="M0 56C0 69.3 10.7 80 24 80l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 32C10.7 32 0 42.7 0 56zM368 208l0 96-224 0 0-96 224
90zM144 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l224 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-224 0zM24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.iH=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},88946(f,d,e){"use strict";var n;n={value:!0};var r=e(77093);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.MT=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},8525(f,d){"use strict";var e;e={value:!0};var n="far",r="ellipsis",a=448,s=512,i=["ellipsis-h"],u="f141",l="M432 256a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zm-160 0a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zM64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Dw=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},36079(f,d){"use strict";var e;e={value:!0};var n="far",r="ellipsis-vertical",a=128,s=512,i=["ellipsis-v"],u="f142",l="M64 368a48 48 0 1 0 0 96 48 48 0 1 0 0-96zm0-160a48 48 0 1 0 0 96 48 48 0 1 0 0-96zM112 96A48 48 0 1 0 16 96a48 48 0 1 0 96 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.nx=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},7486(f,d){"use strict";var e;e={value:!0};var n="far",r="envelope",a=512,s=512,i=[128386,9993,61443],u="f0e0",l="M64 112c-8.8 0-16 7.2-16 16l0 22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1l0-22.1c0-8.8-7.2-16-16-16L64 112zM48 212.2L48 384c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-171.8L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.y_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},20557(f,d,e){"use strict";var n;n={value:!0};var r=e(6899);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.vM=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},97331(f,d){"use strict";var e;e={value:!0};var n="far",r="face-frown",a=512,s=512,i=[9785,"frown"],u="f119",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM174.6 384.1c-4.5 12.5-18.2 18.9-30.7 14.4s-18.9-18.2-14.4-30.7C146.9 319.4 198.9 288 256 288s109.1 31.4 126.6 79.9c4.5 12.5-2 26.2-14.4 30.7s-26.2-2-30.7-14.4C328.2 358.5 297.2 336 256 336s-72.2 22.5-81.4 48.1zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ho=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77142(f,d){"use strict";var e;e={value:!0};var n="far",r="face-laugh",a=512,s=512,i=["laugh"],u="f599",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm130.7 57.9c-4.2-13.6 7.1-25.9 21.3-25.9l212.5 0c14.2 0 25.5 12.4 21.3 25.9C369 368.4 318.2 408 258.2 408s-110.8-39.6-127.5-94.1zM144.4 192a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ou=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},67023(f,d){"use strict";var e;e={value:!0};var n="far",r="face-smile",a=512,s=512,i=[128578,"smile"],u="f118",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm177.6 62.1C192.8 334.5 218.8 352 256 352s63.2-17.5 78.4-33.9c9-9.7 24.2-10.4 33.9-1.4s10.4 24.2 1.4 33.9c-22 23.8-60 49.4-113.6 49.4s-91.7-25.5-113.6-49.4c-9-9.7-8.4-24.9 1.4-33.9s24.9-8.4 33.9 1.4zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.H8=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},14784(f,d){"use strict";var e;e={value:!0};var n="far",r="file",a=384,s=512,i=[128196,128459,61462],u="f15b",l="M320 464c8.8 0 16-7.2 16-16l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.A4=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},75588(f,d){"use strict";var e;e={value:!0};var n="far",r="file-audio",a=384,s=512,i=[],u="f1c7",l="M64 464l256 0c8.8 0 16-7.2 16-16l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zM192 272l0 128c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L129.4 376 112 376c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16l17.4 0 35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5s9.9 8.3 9.9 14.8zm85.8-4c11.6 20 18.2 43.3 18.2 68s-6.6 48-18.2 68c-6.6 11.5-21.3 15.4-32.8 8.8s-15.4-21.3-8.8-32.8c7.5-12.9 11.8-27.9 11.8-44s-4.3-31.1-11.8-44c-6.6-11.5-2.7-26.2 8.8-32.8s26.2-2.7 32.8 8.8z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.qe=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},31314(f,d){"use strict";var e;e={value:!0};var n="far",r="file-export",a=576,s=512,i=["arrow-right-from-file"],u="f56e",l="M336 448c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 96 48 0 0-101.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-48 0 0 80zM489 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L216 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.o1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},81133(f,d){"use strict";var e;e={value:!0};var n="far",r="file-import",a=512,s=512,i=["arrow-right-to-file"],u="f56f",l="M448 464l-256 0c-8.8 0-16-7.2-16-16l0-80-48 0 0 80c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L402.7 18.7C390.7 6.7 374.5 0 357.5 0L192 0c-35.3 0-64 28.7-64 64l0 192 48 0 0-192c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16zM297 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L24 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.$M=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},86961(f,d){"use strict";var e;e={value:!0};var n="far",r="file-lines",a=384,s=512,i=[128441,128462,61686,"file-alt","file-text"],u="f15c",l="M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.bL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},95672(f,d){"use strict";var e;e={value:!0};var n="far",r="file-pdf",a=512,s=512,i=[],u="f1c1",l="M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2
9-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.O_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},43965(f,d){"use strict";var e;e={value:!0};var n="far",r="folder-image",a=512,s=512,i=[],u="e18a",l="M251.7 127.6s0 0 0 0c10.5 10.5 24.7 16.4 39.6 16.4L448 144c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l133.5 0c4.2 0 8.3 1.7 11.3 4.7l33.9-33.9L208.8 84.7l42.9 42.9zm33.9-33.9L242.7 50.7c-12-12-28.3-18.7-45.3-18.7L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L291.3 96c-2.1 0-4.2-.8-5.7-2.3zM160 208a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm155.2 9.6c-4.5-6-11.6-9.6-19.2-9.6s-14.7 3.6-19.2 9.6l-54.2 72.2L202.7 265c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l80 0 48 0 144 0c9.1 0 17.4-5.1 21.5-13.3s3.2-17.9-2.3-25.1l-96-128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.JK=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},15465(f,d){"use strict";var e;e={value:!0};var n="far",r="gear",a=512,s=512,i=[9881,"cog"],u="f013",l="M256 0c17 0 33.6 1.7 49.8 4.8c7.9 1.5 21.8 6.1 29.4 20.1c2 3.7 3.6 7.6 4.6 11.8l9.3 38.5C350.5 81 360.3 86.7 366 85l38-11.2c4-1.2 8.1-1.8 12.2-1.9c16.1-.5 27 9.4 32.3 15.4c22.1 25.1 39.1 54.6 49.9 86.3c2.6 7.6 5.6 21.8-2.7 35.4c-2.2 3.6-4.9 7-8 10L459 246.3c-4.2 4-4.2 15.5 0 19.5l28.7 27.3c3.1 3 5.8 6.4 8 10c8.2 13.6 5.2 27.8 2.7 35.4c-10.8 31.7-27.8 61.1-49.9 86.3c-5.3 6-16.3 15.9-32.3 15.4c-4.1-.1-8.2-.8-12.2-1.9L366 427c-5.7-1.7-15.5 4-16.9 9.8l-9.3 38.5c-1 4.2-2.6 8.2-4.6 11.8c-7.7 14-21.6 18.5-29.4 20.1C289.6 510.3 273 512 256 512s-33.6-1.7-49.8-4.8c-7.9-1.5-21.8-6.1-29.4-20.1c-2-3.7-3.6-7.6-4.6-11.8l-9.3-38.5c-1.4-5.8-11.2-11.5-16.9-9.8l-38 11.2c-4 1.2-8.1 1.8-12.2 1.9c-16.1 .5-27-9.4-32.3-15.4c-22-25.1-39.1-54.6-49.9-86.3c-2.6-7.6-5.6-21.8 2.7-35.4c2.2-3.6 4.9-7 8-10L53 265.7c4.2-4 4.2-15.5 0-19.5L24.2 218.9c-3.1-3-5.8-6.4-8-10C8 195.3 11 181.1 13.6 173.6c10.8-31.7 27.8-61.1 49.9-86.3c5.3-6 16.3-15.9 32.3-15.4c4.1 .1 8.2 .8 12.2 1.9L146 85c5.7 1.7 15.5-4 16.9-9.8l9.3-38.5c1-4.2 2.6-8.2 4.6-11.8c7.7-14 21.6-18.5 29.4-20.1C222.4 1.7 239 0 256 0zM218.1 51.4l-8.5 35.1c-7.8 32.3-45.3 53.9-77.2 44.6L97.9 120.9c-16.5 19.3-29.5 41.7-38 65.7l26.2 24.9c24 22.8 24 66.2 0 89L59.9 325.4c8.5 24 21.5 46.4 38 65.7l34.6-10.2c31.8-9.4 69.4 12.3 77.2 44.6l8.5 35.1c24.6 4.5 51.3 4.5 75.9 0l8.5-35.1c7.8-32.3 45.3-53.9 77.2
9-44.6l34.6 10.2c16.5-19.3 29.5-41.7 38-65.7l-26.2-24.9c-24-22.8-24-66.2 0-89l26.2-24.9c-8.5-24-21.5-46.4-38-65.7l-34.6 10.2c-31.8 9.4-69.4-12.3-77.2-44.6l-8.5-35.1c-24.6-4.5-51.3-4.5-75.9 0zM208 256a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 96a96 96 0 1 1 0-192 96 96 0 1 1 0 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.BH=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77853(f,d){"use strict";var e;e={value:!0};var n="far",r="globe",a=512,s=512,i=[127760],u="f0ac",l="M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6l-139.2 0c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304l155 0c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48l-155 0c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144l139.2 0c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48l76.7 0c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48l-76.7 0zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4l65.9 0zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4l65.9 0zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48l76.7 0c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48l-76.7 0zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4l-65.9 0c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4l-65.9 0c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Bw=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},75044(f,d){"use strict";var e;e={value:!0};var n="far",r="graduation-cap",a=640,s=512,i=[127891,"mortar-board"],u="f19d",l="M320 80c2.5 0 5 .4 7.4 1.3l218 78.7-218 78.7c-2.4 .9-4.9 1.3-7.4 1.3s-5-.4-7.4-1.3L184.9 192.6l140.8-52.8c8.3-3.1 12.5-12.3 9.4-20.6s-12.3-12.5-20.6-9.4L154.9 169.6c-5.2 2-10.3 4.2-15.3 6.6L94.7 160l218-78.7c2.4-.9 4.9-1.3 7.4-1.3zM15.8 182.6l77.4 27.9c-27.2 28.7-43.7 66.7-45.1 107.7c-.1 .6-.1 1.2-.1 1.8c0 28.4-10.8 57.8-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7c-3.2-14-7.5-28.3-13.4-41.5c1.9-37 19.2-70.9 46.7-94.2l169.5 61.2c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32s-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6zm480.8 80l-46.5 16.8 12.7 120.5c-4.8 3.5-12.8 8-24.6 12.6C410 423.6 368 432 320 432s-90-8.4-118.3-19.4c-11.8-4.6-19.8-9.2-24.6-12.6l12.7-120.5-46.5-16.8L128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6zM467.4 396c0 0-.1 .1-.3 .4c.2-.3 .3-.4 .3-.4zm-294.8 0c0 0 .1 .1 .3 .4c-.2-.3-.3-.4-.3-.4z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.eS=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},62394(f,d){"use strict";var e;e={value:!0};var n="far",r="grid-2",a=512,s=512,i=[],u="e196",l="M80 80l0 96 96 0 0-96L80 80zM32 80c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zM80 336l0 96 96 0 0-96-96 0zm-48 0c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zM432 80l-96 0 0 96 96 0 0-96zM336 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm0 304l0 96 96 0 0-96-96 0zm-48 0c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Qy=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},55924(f,d){"use strict";var e;e={value:!0};var n="far",r="grip-dots-vertical",a=256,s=512,i=[],u="e411",l="M64 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm0 160a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM96 416a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96-288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm32 128a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM192 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.IM=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},60674(f,d){"use strict";var e;e={value:!0};var n="far",r="hand-pointer",a=448,s=512,i=[],u="f25a",l="M160 64c0-8.8 7.2-16 16-16s16 7.2 16 16l0 136c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c8.8 0 16 7.2 16 16c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c7.8 0 14.3 5.6 15.7 13c1.6 8.2 7.3 15.1 15.1 18s16.7 1.6 23.3-3.6c2.7-2.1 6.1-3.4 9.9-3.4c8.8 0 16 7.2 16 16l0 16 0 104c0 39.8-32.2 72-72 72l-56 0-59.8 0-.9 0c-37.4 0-72.4-18.7-93.2-49.9L50.7 312.9c-4.9-7.4-2.9-17.3 4.4-22.2s17.3-2.9 22.2 4.4L116 353.2c5.9 8.8 16.8 12.7 26.9 9.7s17-12.4 17-23l0-19.9 0-256zM176 0c-35.3 0-64 28.7-64 64l0 197.7C91.2 238 55.5 232.8 28.5 250.7C-.9 270.4-8.9 310.1 10.8 339.5L78.3 440.8c29.7 44.5 79.6 71.2 133.1 71.2l.9 0 59.8 0 56 0c66.3 0 120-53.7 120-120l0-104 0-16c0-35.3-28.7-64-64-64c-4.5 0-8.8 .5-13 1.3c-11.7-15.4-30.2-25.3-51-25.3c-6.9 0-13.5 1.1-19.7 3.1C288.7 170.7 269.6 160 248 160c-2.7 0-5.4 .2-8 .5L240 64c0-35.3-28.7-64-64-64zm48 304c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-
97.2 16-16l0-96zm48-16c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.A8=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},33405(f,d){"use strict";var e;e={value:!0};var n="far",r="image",a=512,s=512,i=[],u="f03e",l="M448 80c8.8 0 16 7.2 16 16l0 319.8-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3L48 96c0-8.8 7.2-16 16-16l384 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.jb=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77852(f,d){"use strict";var e;e={value:!0};var n="far",r="image-landscape",a=576,s=512,i=["landscape"],u="e1b5",l="M64 112c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l19.8 0 80.8-110.2c4.5-6.2 11.7-9.8 19.4-9.8s14.8 3.6 19.4 9.8L232.8 330l83.1-127.1c4.4-6.8 12-10.9 20.1-10.9s15.7 4.1 20.1 10.9L485 400l27 0c8.8 0 16-7.2 16-16l0-256c0-8.8-7.2-16-16-16L64 112zM96 448l-32 0c-35.3 0-64-28.7-64-64L0 128C0 92.7 28.7 64 64 64l448 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64l-40 0-200 0-72 0L96 448zm64-288a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.oC=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},33746(f,d){"use strict";var e;e={value:!0};var n="far",r="image-portrait",a=384,s=512,i=["portrait"],u="f3e0",l="M320 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16zm0-48c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0zM128 192a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM80 356.6c0-37.9 30.7-68.6 68.6-68.6l86.9 0c37.9 0 68.6 30.7 68.6 68.6c0 15.1-12.3 27.4-27.4 27.4l-169.1 0C92.3 384 80 371.7 80 356.6z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.E4=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},52058(f,d,e){"use strict";var n;n={value:!0};var r=e(58882);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.iW=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},87090(f,d){"use strict";var e;e={value:!0};var n="far",r="link",a=640,s=512,i=[128279,"chain"],u="f0c1",l="M580.3 267.2c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6L433.1 346.6c-37.4 37.4-98.2 37.4-135.6 0c-35.7-35.7-37.6-92.9-4.4-130.9l4.7-5.4c8.7-10 7.7-25.1-2.3-33.9s-25.1-7.7-33.9 2.3l-4.7 5.4c-49.8 57-46.9 142.9 6.6 196.4c56.2 56.2 147.3 56.2 203.5 0L580.3 267.2zM59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6L207 165.4c37.4-37.4 98.1-37.4 135.6 0c35.7 35.7 37.6 92.9 4.4 130.9l-5.4 6.1c-8.7 10-7.7 25.1 2.3 33.9s25.1 7.7 33.9-2.3l5.4-6.1c49.9-57 47-142.9-6.5-196.5c-56.2-56.2-147.3-56.2-203.5 0L59.7 244.8z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.CQ=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},99784(f,d){"use strict";var e;e={value:!0};var n="far",r="link-simple",a=576,s=512,i=[],u="e1cd",l="M0 256C0 167.6 71.6 96 160 96l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0C98.1 144 48 194.1 48 256s50.1 112 112 112l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160l-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0c61.9 0 112-50.1 112-112s-50.1-112-112-112l-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0c88.4 0 160 71.6 160 160zM184 232l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.wi=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},22635(f,d){"use strict";var e;e={value:!0};var n="far",r="link-simple-slash",a=640,s=512,i=[],u="e1ce",l="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L532.4 392c45.4-28.2 75.6-78.6 75.6-136c0-88.4-71.6-160-160-160l-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0c61.9 0 112 50.1 112 112c0 46.6-28.5 86.6-69.1 103.5L389.5 280l34.5 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-95.7 0L216 144l48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-11.3 0-22.3 1.2-32.9 3.4L38.8 5.1zm69.6 176.3L70.7 151.7C46.6 179.7 32 216.1 32 256c0 88.4 71.6 160 160 160l72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-61.9 0-112-50.1-112-112c0-28.6 10.7-54.8 28.4-74.6z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.r2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},71609(f,d){"use strict";var e;e={value:!0};var n="far",r="link-slash",a=640,s=512,i=["chain-broken","chain-slash","unlink"],u="f127",l="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l91-91c56.2-56.2 56.2-147.3 0-203.5C
9526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6l-95.1 95.1-45.5-35.7c24.2-53.3 14.1-117.9-29.3-161.3c-52.1-52.1-134.4-55.9-190.8-11.2L38.8 5.1zm186.3 146c36.9-22.3 85.6-17.6 117.4 14.3c26 26 34 63.3 23.7 96.4L225.1 151.1zM352.6 373.8c-20.2-2.7-39.7-11.7-55.2-27.3c-9.8-9.8-17-21.2-21.7-33.3l-54.2-42.7c-2.2 39.6 11.9 79.9 41.9 109.9c38.8 38.8 94.2 50.8 143.4 36l-54.2-42.7zm-236-186L59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6l60.9-60.9-38-29.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.TH=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},64426(f,d){"use strict";var e;e={value:!0};var n="far",r="list",a=512,s=512,i=["list-squares"],u="f03a",l="M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM184 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L184 72zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.IT=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},50040(f,d){"use strict";var e;e={value:!0};var n="far",r="list-check",a=512,s=512,i=["tasks"],u="f0ae",l="M153.8 72.1c8.9-9.9 8.1-25-1.8-33.9s-25-8.1-33.9 1.8L63.1 101.1 41 79C31.6 69.7 16.4 69.7 7 79s-9.4 24.6 0 33.9l40 40c4.7 4.7 11 7.2 17.6 7s12.8-3 17.2-7.9l72-80zm0 160c8.9-9.9 8.1-25-1.8-33.9s-25-8.1-33.9 1.8L63.1 261.1 41 239c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l40 40c4.7 4.7 11 7.2 17.6 7s12.8-3 17.2-7.9l72-80zM216 120l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L216 72c-13.3 0-24 10.7-24 24s10.7 24 24 24zM192 256c0 13.3 10.7 24 24 24l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-272 0c-13.3 0-24 10.7-24 24zM160 416c0 13.3 10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0c-13.3 0-24 10.7-24 24zm-64 0a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.UN=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},64003(f,d){"use strict";var e;e={value:!0};var n="far",r="magnifying-glass",a=512,s=512,i=[128269,"search"],u="f002",l="M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.$U=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},71859(f,d){"use strict";var e;e={value:!0};var n="far",r="magnifying-glass-plus",a=512,s=512,i=["search-plus"],u="f00e",l="M208 48a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0 368c48.8 0 93.7-16.8 129.1-44.9L471 505c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L371.1 337.1C399.2 301.7 416 256.8 416 208C416 93.1 322.9 0 208 0S0 93.1 0 208S93.1 416 208 416zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.bM=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},63842(f,d){"use strict";var e;e={value:!0};var n="far",r="megaphone",a=576,s=512,i=[128227],u="f675",l="M552 32c-13.3 0-24 10.7-24 24l0 5.7L48 192.6l0-8.6c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 21.7L0 224l0 64 0 18.3L0 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-8.6 117.6 32.1C162 361.7 160 372.6 160 384c0 53 43 96 96 96c46.9 0 86-33.6 94.3-78.1L528 450.3l0 5.7c0 13.3 10.7 24 24 24s24-10.7 24-24l0-24 0-352 0-24c0-13.3-10.7-24-24-24zM528 400.6L48 269.7l0-27.3L528 111.4l0 289.2zM208 384c0-7.1 1.5-13.8 4.3-19.8l91.5 24.9c-2.6 24.1-23 42.8-47.7 42.8c-26.5 0-48-21.5-48-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.OR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},63407(f,d){"use strict";var e;e={value:!0};var n="far",r="message-quote",a=512,s=512,i=["comment-alt-quote"],u="e1e4",l="M208 416c0-26.5-21.5-48-48-48l-96 0c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l384 0c8.8 0 16 7.2 16 16l0 288c0 8.8-7.2 16-16 16l-138.7 0c-10.4 0-20.5 3.4-28.8 9.6L208 432l
90-16zm-.2 76.2l.2-.2 101.3-76L448 416c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l48 0 48 0 0 48 0 4 0 .3 0 6.4 0 21.3c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L202.7 496l5.1-3.8zM160 112c-17.7 0-32 14.3-32 32l0 48c0 17.7 14.3 32 32 32l32 0 0 7.3c0 11.7-8.5 21.7-20.1 23.7l-7.9 1.3c-13.1 2.2-21.9 14.5-19.7 27.6s14.5 21.9 27.6 19.7l7.9-1.3c34.7-5.8 60.2-35.8 60.2-71l0-39.3 0-24 0-24c0-17.7-14.3-32-32-32l-48 0zm224 80l0-24 0-24c0-17.7-14.3-32-32-32l-48 0c-17.7 0-32 14.3-32 32l0 48c0 17.7 14.3 32 32 32l32 0 0 7.3c0 11.7-8.5 21.7-20.1 23.7l-7.9 1.3c-13.1 2.2-21.9 14.5-19.7 27.6s14.5 21.9 27.6 19.7l7.9-1.3c34.7-5.8 60.2-35.8 60.2-71l0-39.3z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ps=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},80620(f,d){"use strict";var e;e={value:!0};var n="far",r="minus",a=448,s=512,i=[8211,8722,10134,"subtract"],u="f068",l="M432 256c0 13.3-10.7 24-24 24L40 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0c13.3 0 24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.EZ=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},45263(f,d){"use strict";var e;e={value:!0};var n="far",r="palette",a=512,s=512,i=[127912],u="f53f",l="M464 258.2c0 2.7-1 5.2-4.2 8c-3.8 3.1-10.1 5.8-17.8 5.8L344 272c-53 0-96 43-96 96c0 6.8 .7 13.4 2.1 19.8c3.3 15.7 10.2 31.1 14.4 40.6c0 0 0 0 0 0c.7 1.6 1.4 3 1.9 4.3c5 11.5 5.6 15.4 5.6 17.1c0 5.3-1.9 9.5-3.8 11.8c-.9 1.1-1.6 1.6-2 1.8c-.3 .2-.8 .3-1.6 .4c-2.9 .1-5.7 .2-8.6 .2C141.1 464 48 370.9 48 256S141.1 48 256 48s208 93.1 208 208c0 .7 0 1.4 0 2.2zm48 .5c0-.9 0-1.8 0-2.7C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512c3.5 0 7.1-.1 10.6-.2c31.8-1.3 53.4-30.1 53.4-62c0-14.5-6.1-28.3-12.1-42c-4.3-9.8-8.7-19.7-10.8-29.9c-.7-3.2-1-6.5-1-9.9c0-26.5 21.5-48 48-48l97.9 0c36.5 0 69.7-24.8 70.1-61.3zM160 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-64a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm128-64a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm64 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.fy=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},9263(f,d){"use strict";var e;e={value:!0};var n="far",r="paste",a=512,s=512,i=["file-clipboard"],u="f0ea",l="M104.6 48L64 48C28.7 48 0 76.7 0 112L0 384c0 35.3 28.7 64 64 64l96 0 0-48-96 0c-8.8 0-16-7.2-16-16l0-272c0-8.8 7.2-16 16-16l16 0c0 17.7 14.3 32 32 32l72.4 0C202 108.4 227.6 96 256 96l62 0c-7.1-27.6-32.2-48-62-48l-40.6 0C211.6 20.9 188.2 0 160 0s-51.6 20.9-55.4 48zM144 56a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zM448 464l-192 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l140.1 0L464 243.9 464 448c0 8.8-7.2 16-16 16zM256 512l192 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9l-67.9-67.9c-9-9-21.2-14.1-33.9-14.1L256 128c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.R9=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},41126(f,d){"use strict";var e;e={value:!0};var n="far",r="pause",a=320,s=512,i=[9208],u="f04c",l="M48 112l0 288 48 0 0-288-48 0zM0 112C0 85.5 21.5 64 48 64l48 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-48 0c-26.5 0-48-21.5-48-48L0 112zm224 0l0 288 48 0 0-288-48 0zm-48 0c0-26.5 21.5-48 48-48l48 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-48 0c-26.5 0-48-21.5-48-48l0-288z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.G1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},74285(f,d){"use strict";var e;e={value:!0};var n="far",r="pen-line",a=576,s=512,i=[],u="e212",l="M13.4 439l23-78.1c4.2-14.1 11.8-27 22.2-37.4L362.7 19.3c25-25 65.5-25 90.5 0l39.4 39.4c3.1 3.1 5.9 6.5 8.2 10c16.4 24.8 13.7 58.6-8.2 80.5L188.5 453.4c-1.3 1.3-2.6 2.6-4 3.8c-9.6 8.5-21 14.8-33.4 18.4L73 498.6 30.8 511c-8.4 2.5-17.5 .2-23.7-6.1S-1.5 489.7 1 481.2L13.4 439zm62.2-41.2L59.4 452.6l54.8-16.1 23.4-6.9c6.4-1.9 12.3-5.4 17-10.1L383 191 321 129 92.5 357.4c-.6 .6-1.2 1.2-1.7 1.8c-3.9 4.4-6.7 9.6-8.4 15.2l-6.9 23.4zM248 464l304 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-304 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.pg=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},66274(f,d){"use strict";var e;e={value:!0};var n="far",r="pen-nib",a=512,s=512,i=[10001],u="f5ad",l="M368.4 18.3
9c21.9-21.9 57.3-21.9 79.2 0l46.1 46.1c21.9 21.9 21.9 57.3 0 79.2l-71 71L412.2 225 371.6 374.1c-4.8 17.8-18.1 32-35.5 38.1L72 505c-18.5 6.5-39.1 1.8-52.9-12S.5 458.5 7 440L99.8 175.9c6.1-17.4 20.3-30.6 38.1-35.5L287 99.8l10.4-10.4 71-71zM296.9 146.8L150.5 186.7c-2.5 .7-4.6 2.6-5.4 5.1L62.5 426.9 164.7 324.7c-3-6.3-4.7-13.3-4.7-20.7c0-26.5 21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48c-7.4 0-14.4-1.7-20.7-4.7L85.1 449.5l235.1-82.6c2.5-.9 4.4-2.9 5.1-5.4l39.9-146.4-68.3-68.3z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.us=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77093(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="pen-to-square",r=512,a=512,s=["edit"],i="f044",u="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152L0 424c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 64z";d.definition={prefix:e,iconName:n,icon:[r,a,s,i,u]},d.faPenToSquare=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=s,d.unicode=i,d.svgPathData=u,d.aliases=s},72051(f,d){"use strict";var e;e={value:!0};var n="far",r="pencil",a=512,s=512,i=[9999,61504,"pencil-alt"],u="f303",l="M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c10.4-3 20.1-8 28.6-14.5l.3 .2 .5-.8c1.4-1.1 2.7-2.2 4-3.3c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-2.5 2.5-4.9 5.2-7.1 8l-.8 .5 .2 .3c-6.5 8.5-11.4 18.2-14.5 28.6zM383 191L197.4 376.6l-49.6-12.4-12.4-49.6L321 129 383 191zM97 358.9l7.7 31c2.1 8.6 8.9 15.3 17.5 17.5l31 7.7-7.4 11.2c-2.6 1.4-5.3 2.6-8.1 3.4l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4c.8-2.8 2-5.6 3.4-8.1L97 358.9zM315.3 218.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-96 96c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},41262(f,d){"use strict";var e;e={value:!0};var n="far",r="photo-film",a=640,s=512,i=["photo-video"],u="f87c",l="M256 48c-8.8 0-16 7.2-16 16l0 224c0 8.7 6.9 15.8 15.6 16l69.1-94.2c4.5-6.2 11.7-9.8 19.4-9.8s14.8 3.6 19.4 9.8L380 232.4l56-85.6c4.4-6.8 12-10.9 20.1-10.9s15.7 4.1 20.1 10.9L578.7 303.8c7.6-1.3 13.3-7.9 13.3-15.8l0-224c0-8.8-7.2-16-16-16L256 48zM192 64c0-35.3 28.7-64 64-64L576 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-320 0c-35.3 0-64-28.7-64-64l0-224zm-56 64l24 0 0 48 0 88 0 112 0 8 0 80 192 0 0-80 48 0 0 80 48 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64l-48 0-24 0-24 0-192 0-24 0-24 0-48 0c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64l48 0 24 0zm-24 48l-48 0c-8.8 0-16 7.2-16 16l0 48 64 0 0-64zm0 288l0-64-64 0 0 48c0 8.8 7.2 16 16 16l48 0zM48 352l64 0 0-64-64 0 0 64zM304 80a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d._Z=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},90832(f,d){"use strict";var e;e={value:!0};var n="far",r="play",a=384,s=512,i=[9654],u="f04b",l="M48 432L336 256 48 80l0 352zM24.5 38.1C39.7 29.6 58.2 30 73 39L361 215c14.3 8.7 23 24.2 23 41s-8.7 32.2-23 41L73 473c-14.8 9.1-33.4 9.4-48.5 .9S0 449.4 0 432L0 80C0 62.6 9.4 46.6 24.5 38.1z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ij=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77190(f,d){"use strict";var e;e={value:!0};var n="far",r="plus",a=448,s=512,i=[10133,61543,"add"],u="2b",l="M248 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 160L40 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l160 0 0 160c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160 160 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-160 0 0-160z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.QL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},93867(f,d){"use strict";var e;e={value:!0};var n="far",r="plus-large",a=512,s=512,i=[],u="e59e",l="M488 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0 0 208c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208L24 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l208 0 0-208c0-13.3 10.7-24 24-24s24 10.7 24 24l0 208 208 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.TS=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},28081(f,d){"use strict";var e;e={value:!0};var n="far",r="quote-left",a=448,s=512,i=[8220,"quote-left-alt"],u="f10d",l="M0 216C0 149.7 53.7 96 120 96l16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-16 0c-39.8 0-72 32.2-72 72l0 10c5.1-1.3 10.5-2 16-2l64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32 0-32 0-72zm48 72l0 32 0 32c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-64 0c-8.8 0-16 7.2-16 16zm336-16l-64 0c-8.8 0-16 7.2-16 16l0 32 0 32c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16zM256 320l0-32 0-72c0-66.3 53.7-120 120-120l16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-16 0c-39.8 0-72 32.2-72 72l0 10c5.1-1.3 10.5-2 16-2l64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.$7=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},15297(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle",a=512,s=512,i=[9644,"rectangle-landscape"],u="f2fa",l="M448 112c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16L64 400c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l384 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.vt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},99941(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle-history-circle-plus",a=640,s=512,i=[],u="e4a3",l="M64 464l284.5 0c12.3 18.8 28 35.1 46.3 48L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l384 0c23.8 0 44.5 12.9 55.5 32.2c-2.5-.1-5-.2-7.5-.2c-26.2 0-51.1 5.7-73.4
916L64 208c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM440 80c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 128c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0zM392 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L120 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L392 0zM496 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm16 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Hu=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},86171(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle-vertical-history",a=576,s=512,i=[],u="e237",l="M256 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16L256 48zM192 64c0-35.3 28.7-64 64-64L512 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-384zM96 72c0-13.3 10.7-24 24-24s24 10.7 24 24l0 368c0 13.3-10.7 24-24 24s-24-10.7-24-24L96 72zM0 120c0-13.3 10.7-24 24-24s24 10.7 24 24l0 272c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 120z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Lt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},36734(f,d){"use strict";var e;e={value:!0};var n="far",r="rocket",a=512,s=512,i=[],u="f135",l="M368.3 265c-44.5 30.1-129.3 68.2-175.7 88l-35-35c20.4-46.1 59.2-130 89.3-174.4C309.1 52 398.4 41.8 461.7 50.3c8.5 63.3-1.7 152.6-93.3 214.7zM118.5 288c-3.6 8-6.8 15.2-9.4 21.2c-5.2 11.9-2.5 25.7 6.7 34.9l50.7 50.7c9.1 9.1 22.7 11.9 34.5 6.9c6.5-2.7 14.3-6 23-9.8l0 96.2c0 8.6 4.6 16.6 12.1 20.9s16.7 4.2 24.1-.2l88.5-52.5c21.9-13 35.3-36.5 35.3-61.9l0-82.1c4-2.5 7.7-4.9 11.3-7.3C516.1 222.9 520.1 100.9 506.7 28.1c-2.1-11.6-11.2-20.6-22.8-22.8C411.1-8.1 289.1-4.1 207.2 116.7c-2.4 3.6-4.9 7.3-7.3 11.3l-82.1 0c-25.4 0-49 13.4-61.9 35.3L3.4 251.8c-4.4 7.4-4.5 16.6-.2 24.1S15.4 288 24 288l94.5 0zM408 144a40 40 0 1 0 -80 0 40 40 0 1 0 80 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.KM=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},76392(f,d){"use strict";var e;e={value:!0};var n="far",r="ruler-horizontal",a=640,s=512,i=[],u="f547",l="M48 320c0 8.8 7.2 16 16 16l512 0c8.8 0 16-7.2 16-16l0-128c0-8.8-7.2-16-16-16l-48 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-48 0c-8.8 0-16 7.2-16 16l0 128zm16 64c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64l512 0c35.3 0 64 28.7 64 64l0 128c0 35.3-28.7 64-64 64L64 384z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Si=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},99476(f,d){"use strict";var e;e={value:!0};var n="far",r="ruler-triangle",a=512,s=512,i=[128208],u="f61c",l="M48 448L48 67.9l66.7 66.7-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1L444.1 464 64 464c-8.8 0-16-7.2-16-16zm454.6 6.6L57.4 9.4C51.4 3.4 43.2 0 34.7 0L32 0C14.3 0 0 14.3 0 32L0 448c0 35.3 28.7 64 64 64l416 0c17.7 0 32-14.3 32-32l0-2.7c0-8.5-3.4-16.6-9.4-22.6zM128 256l0 128 128 0L128 256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.cb=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},38933(f,d){"use strict";var e;e={value:!0};var n="far",r="sparkles",a=512,s=512,i=[10024],u="f890",l="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5L26.3 277l8.1 3.7 .6 .3 88.3 40.8L164.1 410l.3 .6 3.7 8.1 7.9 17.1c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l7.9-17.1 3.7-8.1 .3-.6 40.8-88.3L346 281l.6-.3 8.1-3.7 17.1-7.9c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5l-17.1-7.9-8.1-3.7-.6-.3-88.3-40.8L217 99.1l-.3-.6L213 90.3l-7.9-17.1c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3l-7.9 17.1-3.7 8.1-.3 .6-40.8 88.3L35.1 228.1l-.6 .3-8.1 3.7L9.3 240zm83 14.5l51.2-23.6c10.4-4.8 18.7-13.1 23.5-23.5l23.6-51.2 23.6 51.2c4.8 10.4 13.1 18.7 23.5 23.5l51.2 23.6-51.2 23.6c-10.4 4.8-18.7 13.1-23.5 23.5l-23.6 51.2-23.6-51.2c-4.8-10.4-13.1-18.7-23.5-23.5L92.3 254.6zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.p7=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},61188(f,d){"use strict";var e;e={value:!0};var n="far",r="spinner-third",a=512,s=512,i=[],u="f3f4",l="M457 372c11.5 6.6 26.3 2.7 31.8-9.3C503.7 330.2 512 294.1 512 256C512 122.7 410.1 13.2 280 1.1C266.8-.1 256 10.7 256 24s10.8 23.9 24 25.4C383.5 61.2 464 149.2 464 256c0 29.3-6.1 57.3-17 82.6c-5.3 12.2-1.5 26.8 10 33.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.sq=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},9713(f,d){"use strict";var e;e={value:!0};var n="far",r="square",a=448,s=512,i=[9632,9723,9724,61590],u="f0c8",l="M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Nf=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},19996(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-down",a=448,s=512,i=["arrow-square-down"],u="f339",l="M384 432c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0zm64-16c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320zM207 393l-88-88c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L200 136c0-13.3 10.7-24 24-24s24 10.7 24 24l0 182.1 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Y1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},36476(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-right",a=448,s=512,i=["arrow-square-right"],u="f33b",l="M400 96c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320zM384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM361 273l-88 88c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47L104 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l182.1 0-47-47c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l88 88c9.4 9.4 9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.mT=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},99651(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-up-right",a=448,s=512,i=["external-link-square"],u="f14c",l="M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zm64 16c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24l94.1 0L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135L288 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160c0-13.3-10.7-24-24-24l-152 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.fL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},89873(f,d){"use strict";var e;e={value:!0};var n="far",r="square-check",a=448,s=512,i=[9745,9989,61510,"check-square"],u="f14a",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Dn=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},12425(f,d){"use strict";var e;e={value:!0};var n="far",r="square-info",a=448,s=512,i=[8505,"info-square"],u="f30f",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM184 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Lg=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},49965(f,d){"use strict";var e;e={value:!0};var n="far",r="square-plus",a=448,s=512,i=[61846,"plus-square"],u="f0fe",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM200 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Vd=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},6783(f,d){"use strict";var e;e={value:!0};var n="far",r="stopwatch",a=448,s=512,i=[9201],u="f2f2",l="M144 24c0-13.3 10.7-24 24-24L280 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0 0 49.4c43.4 5 82.8 23.3 113.8 50.9L391 119c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-31 31c24 33.9 38.1 75.3 38.1 120c0 114.9-93.1 208-208 208S16 418.9 16 304C16 197.2 96.4 109.3 200 97.4L200 48l-32 0c-13.3 0-24-10.7-24-24zm80 440a160 160 0 1 0 0-320 160 160 0 1 0 0 320zm24
9-248l0 104c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-104c0-13.3 10.7-24 24-24s24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.nw=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},34444(f,d){"use strict";var e;e={value:!0};var n="far",r="table",a=512,s=512,i=[],u="f0ce",l="M48 264l0-104 184 0 0 104L48 264zm0 48l184 0 0 120L64 432c-8.8 0-16-7.2-16-16l0-104zM280 432l0-120 184 0 0 104c0 8.8-7.2 16-16 16l-168 0zM464 264l-184 0 0-104 184 0 0 104zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.w9=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},78128(f,d){"use strict";var e;e={value:!0};var n="far",r="tag",a=448,s=512,i=[127991],u="f02b",l="M197.5 32c17 0 33.3 6.7 45.3 18.7l176 176c25 25 25 65.5 0 90.5L285.3 450.7c-25 25-65.5 25-90.5 0l-176-176C6.7 262.7 0 246.5 0 229.5L0 80C0 53.5 21.5 32 48 32l149.5 0zM48 229.5c0 4.2 1.7 8.3 4.7 11.3l176 176c6.2 6.2 16.4 6.2 22.6 0L384.8 283.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-3-3-7.1-4.7-11.3-4.7L48 80l0 149.5zM112 112a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d._2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},68433(f,d){"use strict";var e;e={value:!0};var n="far",r="text",a=448,s=512,i=[],u="f893",l="M48 80l0 48c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 72C0 49.9 17.9 32 40 32l368 0c22.1 0 40 17.9 40 40l0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-48L248 80l0 352 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-352L48 80z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.jw=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},24726(f,d){"use strict";var e;e={value:!0};var n="far",r="trash",a=448,s=512,i=[],u="f1f8",l="M177.1 48l93.7 0c2.7 0 5.2 1.3 6.7 3.6l19 28.4-145 0 19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0L177.1 0c-18.7 0-36.2 9.4-46.6 24.9L93.8 80 80.1 80 32 80l-8 0C10.7 80 0 90.7 0 104s10.7 24 24 24l11.6 0L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l201.1 0c33.5 0 61.3-25.9 63.8-59.3L412.4 128l11.6 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0-48.1 0-13.7 0zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8l-201.1 0c-8.4 0-15.3-6.5-16-14.8L83.7 128l280.6 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.yL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},65734(f,d){"use strict";var e;e={value:!0};var n="far",r="trash-can",a=448,s=512,i=[61460,"trash-alt"],u="f2ed",l="M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.sj=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},5312(f,d){"use strict";var e;e={value:!0};var n="far",r="users",a=640,s=512,i=[],u="f0c0",l="M144 160A80 80 0 1 0 144 0a80 80 0 1 0 0 160zm368 0A80 80 0 1 0 512 0a80 80 0 1 0 0 160zM0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM405.3 320l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96c.2 0 .4 0 .7 0zM320 176a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 144a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 80l117.3 0c39.8 0 73.2 27.2 82.6 64l-282.6 0c9.5-36.8 42.9-64 82.6-64zm0-48C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.gd=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},14635(f,d){"use strict";var e;e={value:!0};var n="far",r="video",a=576,s=512,i=["video-camera"],u="f03d",l="M64 112c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-256c0-8.8-7.2-16-16-16L64 112zM0 128C0 92.7 28.7 64 64 64l256 0c35.3 0 64 28.7 64 64l0 33 0 190 0 33c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zM528 363.4l0-214.7L416 199l0-52.6L52
90.3 99.5c5.1-2.3 10.6-3.5 16.2-3.5c21.8 0 39.5 17.7 39.5 39.5l0 241c0 21.8-17.7 39.5-39.5 39.5c-5.6 0-11.1-1.2-16.2-3.5L416 365.6l0-52.6 112 50.4z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.n2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},62428(f,d){"use strict";var e;e={value:!0};var n="far",r="volume",a=576,s=512,i=[128265,"volume-medium"],u="f6a8",l="M191.9 201.9L304 102.3l0 307.3L191.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM322.2 32c-7.3 0-14.3 2.7-19.8 7.5L166.9 160 88 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L302.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C352 45.3 338.7 32 322.2 32zm182.9 75c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C507.3 170.7 528 210.9 528 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C425.1 227.6 432 241 432 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C466.1 312.9 480 286.1 480 256s-13.9-56.9-35.4-74.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.eF=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},84096(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-high",a=640,s=512,i=[128266,"volume-up"],u="f028",l="M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256s-41.5-170.8-106.4-223.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.9 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.AI=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},55260(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-low",a=448,s=512,i=[128264,"volume-down"],u="f027",l="M159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32zM412.6 181.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.gN=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},33919(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-xmark",a=576,s=512,i=["volume-mute","volume-times"],u="f6a9",l="M159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32zM425 167c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l55 55-55 55c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55 55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55-55-55z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.H_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},4398(f,d){"use strict";var e;e={value:!0};var n="far",r="wand-magic-sparkles",a=576,s=512,i=["magic-wand-sparkles"],u="e2ca",l="M234.7 42.7L197 56.8c-3 1.1-5 4-5 7.2s2 6.1 5 7.2l37.7 14.1L248.8 123c1.1 3 4 5 7.2 5s6.1-2 7.2-5l14.1-37.7L315 71.2c3-1.1 5-4 5-7.2s-2-6.1-5-7.2L277.3 42.7 263.2 5c-1.1-3-4-5-7.2-5s-6.1 2-7.2 5L234.7 42.7zM4
961.4 48L496 82.6 386.2 192.3l-34.6-34.6L461.4 48zM80 429.4L317.7 191.7l34.6 34.6L114.6 464 80 429.4zM427.4 14.1L46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0L529.9 116.5c18.7-18.7 18.7-49.1 0-67.9L495.3 14.1c-18.7-18.7-49.1-18.7-67.9 0zM7.5 117.2C3 118.9 0 123.2 0 128s3 9.1 7.5 10.8L64 160l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L128 160l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L128 96 106.8 39.5C105.1 35 100.8 32 96 32s-9.1 3-10.8 7.5L64 96 7.5 117.2zm352 256c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L416 416l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L480 416l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L480 352l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L416 352l-56.5 21.2z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ys=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},13234(f,d){"use strict";var e;e={value:!0};var n="far",r="waveform-lines",a=640,s=512,i=["waveform-path"],u="f8f2",l="M320 0c13.3 0 24 10.7 24 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-464c0-13.3 10.7-24 24-24zM520 64c13.3 0 24 10.7 24 24l0 336c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24zM216 96c13.3 0 24 10.7 24 24l0 272c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-272c0-13.3 10.7-24 24-24zm208 32c13.3 0 24 10.7 24 24l0 208c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208c0-13.3 10.7-24 24-24zM120 192c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24zM24 224c13.3 0 24 10.7 24 24l0 16c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-16c0-13.3 10.7-24 24-24zm592 0c13.3 0 24 10.7 24 24l0 16c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-16c0-13.3 10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Wx=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},88309(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="xmark",r=384,a=512,s=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",u="M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z";d.definition={prefix:e,iconName:n,icon:[r,a,s,i,u]},d.faXmark=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=s,d.unicode=i,d.svgPathData=u,d.aliases=s},59895(f,d){"use strict";var e;e={value:!0};var n="fas",r="badge-check",a=512,s=512,i=[],u="f336",l="M256 0c36.8 0 68.8 20.7 84.9 51.1C373.8 41 411 49 437 75s34 63.3 23.9 96.1C491.3 187.2 512 219.2 512 256s-20.7 68.8-51.1 84.9C471 373.8 463 411 437 437s-63.3 34-96.1 23.9C324.8 491.3 292.8 512 256 512s-68.8-20.7-84.9-51.1C138.2 471 101 463 75 437s-34-63.3-23.9-96.1C20.7 324.8 0 292.8 0 256s20.7-68.8 51.1-84.9C41 138.2 49 101 75 75s63.3-34 96.1-23.9C187.2 20.7 219.2 0 256 0zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Zs=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},19704(f,d){"use strict";var e;e={value:!0};var n="fas",r="bars",a=448,s=512,i=["navicon"],u="f0c9",l="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ck=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},52075(f,d){"use strict";var e;e={value:!0};var n="fas",r="caret-down",a=320,s=512,i=[],u="f0d7",l="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.xB=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},83285(f,d){"use strict";var e;e={value:!0};var n="fas",r="caret-right",a=256,s=512,i=[],u="f0da",l="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.fU=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},42298(f,d){"use strict";var e;e={value:!0};var n="fas",r="chart-column",a=512,s=512,i=[],u="e0e3",l="M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zM160 224c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm128-64l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32s32 14.3 32 32zm64 32c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96c0-17.7 14.3-32 32-32zM480 96l0 224c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-224c0-17.7 14.3-32 32-32s32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.q9=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},13020(f,d){"use strict";var e;e={value:!0};var n="fas",r="check",a=448,s=512,i=[10003,10004],u="f00c",l="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.e6=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},76787(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-down",a=512,s=512,i=[],u="f078",l="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Jt=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},38474(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-left",a=320,s=512,i=[9001],u="f053",l="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},14477(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-right",a=320,s=512,i=[9002],u="f054",l="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},18646(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-up",a=512,s=512,i=[],u="f077",l="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.w2=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},8442(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle",a=512,s=512,i=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],u="f111",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.GE=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},58551(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-arrow-right",a=512,s=512,i=["arrow-circle-right"],u="f0a9",l="M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM297 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L120 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l214.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L409 239c9.4 9.4 9.4 24.6 0 33.9L297 385z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ni=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},19300(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-arrow-up",a=512,s=512,i=["arrow-circle-up"],u="f0aa",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM385 215c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71L280 392c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-214.1-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 103c9.4-9.4 24.6-9.4 33.9 0L385 215z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.yi=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},3112(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-check",a=512,s=512,i=[61533,"check-circle"],u="f058",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},41221(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-exclamation",a=512,s=512,i=["exclamation-circle"],u="f06a",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.lE=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},94490(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-plus",a=512,s=512,i=["plus-circle"],u="f055",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l
90-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},10567(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-small",a=320,s=512,i=[],u="e122",l="M0 256a160 160 0 1 1 320 0A160 160 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ZP=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},90648(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-x",a=512,s=512,i=[],u="e12e",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Ub=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},77257(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-xmark",a=512,s=512,i=[61532,"times-circle","xmark-circle"],u="f057",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},52210(f,d){"use strict";var e;e={value:!0};var n="fas",r="grid-2",a=512,s=512,i=[],u="e196",l="M224 80c0-26.5-21.5-48-48-48L80 32C53.5 32 32 53.5 32 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zm0 256c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zM288 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48zM480 336c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Qy=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},78194(f,d){"use strict";var e;e={value:!0};var n="fas",r="layer-group",a=576,s=512,i=[],u="f5fd",l="M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.qI=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},40029(f,d){"use strict";var e;e={value:!0};var n="fas",r="lock",a=448,s=512,i=[128274],u="f023",l="M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.DW=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},18148(f,d){"use strict";var e;e={value:!0};var n="fas",r="minus",a=448,s=512,i=[8211,8722,10134,"subtract"],u="f068",l="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.EZ=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},54062(f,d){"use strict";var e;e={value:!0};var n="fas",r="pause",a=320,s=512,i=[9208],u="f04c",l="M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.G1=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},12936(f,d){"use strict";var e;e={value:!0};var n="fas",r="play",a=384,s=512,i=[9654],u="f04b",l="M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.ij=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},47540(f,d){"use strict";var e;e={value:!0};var n="fas",r="sliders-simple",a=512,s=512,i=[],u="e253",l="M96 320a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm90.5 0L480 320c17.7 0 32 14.3 32 32s-14.3 32-32 32l-293.5 0c-13.2 37.3-48.7 64-90.5 64c-53 0-96-43-96-96s43-96 96-96c41.8 0 77.4 26.7 90.5 64zM384 160a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm-58.5-32c13.2-37.3 48.7-64 90.5-64c53 0 96 43 96 96s-43 96-96 96c-41.8 0-77.4-26.7-90.5-64L32 192c-17.7 0-32-14.3-32-32s14.3-32 32-32l293.5 0z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.AD=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},15501(f,d){"use strict";var e;e={value:!0};var n="fas",r="sparkles",a=512,s=512,i=[10024],u="f890",l="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.p7=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},11129(f,d){"use strict";var e;e={value:!0};var n="fas",r="square-check",a=448,s=512,i=[9745,9989,61510,"check-square"],u="f14a",l="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Dn=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},82478(f,d){"use strict";var e;e={value:!0};var n="fas",r="user-group",a=640,s=512,i=[128101,"user-friends"],u="f500",l="M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM609.3 512l-137.8 0c5.4-9.4 8.6-20.3 8.6-32l0-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2l61.4 0C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.US=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},8685(f,d){"use strict";var e;e={value:!0};var n="fas",r="xmark",a=384,s=512,i=[128473,10005,10006,10060,215,"close","multiply","remove","times"],u="f00d",l="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.Jy=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},7057(f,d){"use strict";var e;e={value:!0};var n="fat",r="pencil",a=512,s=512,i=[9999,61504,"pencil-alt"],u="f303",l="M395 25.9c12.5-12.5 32.8-12.5 45.3 0l45.8 45.8c12.5 12.5 12.5 32.8 0 45.3l-66.9 66.9L328.1 92.8 395 25.9zm-78.2 78.2l91.1 91.1L164.7 438.4c-1.5 1.5-3.1 3-4.7 4.4l0-34.8c0-4.4-3.6-8-8-8l-40 0 0-40c0-4.4-3.6-8-8-8l-34.8 0c1.4-1.6 2.9-3.2 4.4-4.7L316.8 104.1zM51.4 384.7c1.7-5.8 4-11.4 6.8-16.7L96 368l0 40c0 4.4 3.6 8 8 8l40 0 0 37.7c-5.3 2.8-10.9 5.1-16.7 6.8L19.8 492.2 51.4 384.7zm400.1-370c-18.7-18.7-49.1-18.7-67.9 0L62.3 336C50 348.3 41 363.5 36.1 380.2L.3 501.7c-.8 2.8-.1 5.8 2 7.9s5.1 2.8 7.9 2l121.6-35.8c16.7-4.9 31.9-13.9 44.2-26.2L497.4 128.3c18.7-18.7 18.7-49.1 0-67.9L451.5 14.6zM317.7 173.1c3.1-3.1 3.1-8.2 0-11.3s-8.2-3.1-11.3 0l-144 144c-3.1 3.1-3.1 8.2 0 11.3s8.2 3.1 11.3 0l144-144z";d.mw={prefix:n,iconName:r,icon:[a,s,i,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=s,e=i,e=u,e=l,e=i},84793(f,d,e){"use strict";e.d(d,{g:()=>Xo});/*! 10 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com 11 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 12 * Copyright 2024 Fonticons, Inc. 13 */function n(Ae,et,pt){return(et=l(et))in Ae?Object.defineProperty(Ae,et,{value:pt,enumerable:!0,configurable:!0,writable:!0}):Ae[et]=pt,Ae}function r(Ae,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Ae.prototype=Object.create(et&&et.prototype,{constructor:{value:Ae,writable:!0,configurable:!0}}),Object.defineProperty(Ae,"prototype",{writable:!1}),et&&i(Ae,et)}function a(Ae,et){var pt=Object.keys(Ae);if(Object.getOwnPropertySymbols){var Ft=Object.getOwnPropertySymbols(Ae);et&&(Ft=Ft.filter(function(Zt){return Object.getOwnPropertyDescriptor(Ae,Zt).enumerable}
13)),pt.push.apply(pt,Ft)}return pt}function s(Ae){for(var et=1;et<arguments.length;et++){var pt=arguments[et]!=null?arguments[et]:{};et%2?a(Object(pt),!0).forEach(function(Ft){n(Ae,Ft,pt[Ft])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ae,Object.getOwnPropertyDescriptors(pt)):a(Object(pt)).forEach(function(Ft){Object.defineProperty(Ae,Ft,Object.getOwnPropertyDescriptor(pt,Ft))})}return Ae}function i(Ae,et){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(pt,Ft){return pt.__proto__=Ft,pt},i(Ae,et)}function u(Ae,et){if(typeof Ae!="object"||!Ae)return Ae;var pt=Ae[Symbol.toPrimitive];if(pt!==void 0){var Ft=pt.call(Ae,et||"default");if(typeof Ft!="object")return Ft;throw new TypeError("@@toPrimitive must return a primitive value.")}return(et==="string"?String:Number)(Ae)}function l(Ae){var et=u(Ae,"string");return typeof et=="symbol"?et:et+""}function m(){m=function(Zt,Rr){return new pt(Zt,void 0,Rr)};var Ae=RegExp.prototype,et=new WeakMap;function pt(Zt,Rr,mn){var Ye=RegExp(Zt,Rr);return et.set(Ye,mn||et.get(Zt)),i(Ye,pt.prototype)}function Ft(Zt,Rr){var mn=et.get(Rr);return Object.keys(mn).reduce(function(Ye,Li){var _i=mn[Li];if(typeof _i=="number")Ye[Li]=Zt[_i];else{for(var Ai=0;Zt[_i[Ai]]===void 0&&Ai+1<_i.length;)Ai++;Ye[Li]=Zt[_i[Ai]]}return Ye},Object.create(null))}return r(pt,RegExp),pt.prototype.exec=function(Zt){var Rr=Ae.exec.call(this,Zt);if(Rr){Rr.groups=Ft(Rr,this);var mn=Rr.indices;mn&&(mn.groups=Ft(mn,this))}return Rr},pt.prototype[Symbol.replace]=function(Zt,Rr){if(typeof Rr=="string"){var mn=et.get(this);return Ae[Symbol.replace].call(this,Zt,Rr.replace(/\$<([^>]+)>/g,function(Li,_i){var Ai=mn[_i];return"$"+(Array.isArray(Ai)?Ai.join("$"):Ai)}))}if(typeof Rr=="function"){var Ye=this;return Ae[Symbol.replace].call(this,Zt,function(){var Li=arguments;return typeof Li[Li.length-1]!="object"&&(Li=[].slice.call(Li)).push(Ft(Li,Ye)),Rr.apply(this,Li)})}return Ae[Symbol.replace].call(this,Zt,Rr)},m.apply(this,arguments)}const g=()=>{};let h={},v={},x=null,T={mark:g,measure:g};try{typeof window<"u"&&(h=window),typeof document<"u"&&(v=document),typeof MutationObserver<"u"&&(x=MutationObserver),typeof performance<"u"&&(T=performance)}catch{}const{userAgent:E=""}=h.navigator||{},_=h,C=v,P=x,k=T,D=!!_.document,B=!!C.documentElement&&!!C.head&&typeof C.addEventListener=="function"&&typeof C.createElement=="function",$=~E.indexOf("MSIE")||~E.indexOf("Trident/");var F=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,V=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,W={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Z={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},J=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],ie="classic",le="duotone",he="sharp",me="sharp-duotone",je=[ie,le,he,me],Fe={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Je={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Xe=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),ge={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"}
vendor: 4,370 bytes, line 13
13,sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},be=["fak","fa-kit","fakd","fa-kit-duotone"],Ie={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Re=["kit"],ye={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},De=["fak","fakd"],$e={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},qe={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},It={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},mt=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],kt=["fak","fa-kit","fakd","fa-kit-duotone"],Ut={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Ir={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Sr={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Yr={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Gr=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],dn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...mt,...Gr],Kr=["solid","regular","light","thin","duotone","brands"],yt=[1,2,3,4,5,6,7,8,9,10],tt=yt.concat([11,12,13,14,15,16,17,18,19,20]),Ar=[...Object.keys(Sr),...Kr,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",It.GROUP,It.SWAP_OPACITY,It.PRIMARY,It.SECONDARY].concat(yt.map(Ae=>"".concat(Ae,"x"))).concat(tt.map(Ae=>"w-".concat(Ae))),Mr={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Er="___FONT_AWESOME___",Ur=16,or="fa",An="svg-inline--fa",dr="data-fa-i2svg",Xr="data-fa-pseudo-element",hn="data-fa-pseudo-element-pending",Qt="data-prefix",Br="data-icon",zt="fontawesome-i2svg",Tt="async",Pr=["HTML","HEAD","STYLE","SCRIPT"],Y=(()=>{try{return!0}catch{return!1}})();function ht(Ae){return new Proxy(Ae,{get(et,pt){return pt in et?et[pt]:et[ie]}})}const ur=s({},W);ur[ie]=s(s(s(s({},{"fa-duotone":"duotone"}),W[ie]),Ie.kit),Ie["kit-duotone"]);const it=ht(ur),Rt=s({},ge);Rt[ie]=s(s(s(s({},{duotone:"fad"}),Rt[ie]),qe.kit),qe["kit-duotone"]);const Zr=ht(Rt),nn=s({},Yr);nn[ie]=s(s({},nn[ie]),$e.kit);const fn=ht(nn),Sn=s({},Ir);Sn[ie]=s(s({},Sn[ie]),ye.kit);const Ci=ht(Sn),$i=F,qr="fa-layers-text",Bi=V,ms=s({},Fe),hs=ht(ms),Mi=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],gi=Z,Hi=[...Re,...Ar],qn=_.FontAwesomeConfig||{};function $n(Ae){var et=C.querySelector("script["+Ae+"]");if(et)return et.getAttribute(Ae)}function $s(Ae){return Ae===""?!0:Ae==="false"?!1:Ae==="true"?!0:Ae}C&&typeof C.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEac
13h(et=>{let[pt,Ft]=et;const Zt=$s($n(pt));Zt!=null&&(qn[Ft]=Zt)});const ys={styleDefault:"solid",familyDefault:ie,cssPrefix:or,replacementClass:An,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qn.familyPrefix&&(qn.cssPrefix=qn.familyPrefix);const Es=s(s({},ys),qn);Es.autoReplaceSvg||(Es.observeMutations=!1);const oe={};Object.keys(ys).forEach(Ae=>{Object.defineProperty(oe,Ae,{enumerable:!0,set:function(et){Es[Ae]=et,xe.forEach(pt=>pt(oe))},get:function(){return Es[Ae]}})}),Object.defineProperty(oe,"familyPrefix",{enumerable:!0,set:function(Ae){Es.cssPrefix=Ae,xe.forEach(et=>et(oe))},get:function(){return Es.cssPrefix}}),_.FontAwesomeConfig=oe;const xe=[];function Ge(Ae){return xe.push(Ae),()=>{xe.splice(xe.indexOf(Ae),1)}}const bt=Ur,Et={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Tr(Ae){if(!Ae||!B)return;const et=C.createElement("style");et.setAttribute("type","text/css"),et.innerHTML=Ae;const pt=C.head.childNodes;let Ft=null;for(let Zt=pt.length-1;Zt>-1;Zt--){const Rr=pt[Zt],mn=(Rr.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(mn)>-1&&(Ft=Rr)}return C.head.insertBefore(et,Ft),Ae}const vn="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Gt(){let Ae=12,et="";for(;Ae-- >0;)et+=vn[Math.random()*62|0];return et}function ei(Ae){const et=[];for(let pt=(Ae||[]).length>>>0;pt--;)et[pt]=Ae[pt];return et}function si(Ae){return Ae.classList?ei(Ae.classList):(Ae.getAttribute("class")||"").split(" ").filter(et=>et)}function yn(Ae){return"".concat(Ae).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function rs(Ae){return Object.keys(Ae||{}).reduce((et,pt)=>et+"".concat(pt,'="').concat(yn(Ae[pt]),'" '),"").trim()}function xn(Ae){return Object.keys(Ae||{}).reduce((et,pt)=>et+"".concat(pt,": ").concat(Ae[pt].trim(),";"),"")}function Ms(Ae){return Ae.size!==Et.size||Ae.x!==Et.x||Ae.y!==Et.y||Ae.rotate!==Et.rotate||Ae.flipX||Ae.flipY}function Yi(Ae){let{transform:et,containerWidth:pt,iconWidth:Ft}=Ae;const Zt={transform:"translate(".concat(pt/2," 256)")},Rr="translate(".concat(et.x*32,", ").concat(et.y*32,") "),mn="scale(".concat(et.size/16*(et.flipX?-1:1),", ").concat(et.size/16*(et.flipY?-1:1),") "),Ye="rotate(".concat(et.rotate," 0 0)"),Li={transform:"".concat(Rr," ").concat(mn," ").concat(Ye)},_i={transform:"translate(".concat(Ft/2*-1," -256)")};return{outer:Zt,inner:Li,path:_i}}function Gs(Ae){let{transform:et,width:pt=Ur,height:Ft=Ur,startCentered:Zt=!1}=Ae,Rr="";return Zt&&$?Rr+="translate(".concat(et.x/bt-pt/2,"em, ").concat(et.y/bt-Ft/2,"em) "):Zt?Rr+="translate(calc(-50% + ".concat(et.x/bt,"em), calc(-50% + ").concat(et.y/bt,"em)) "):Rr+="translate(".concat(et.x/bt,"em, ").concat(et.y/bt,"em) "),Rr+="scale(".concat(et.size/bt*(et.flipX?-1:1),", ").concat(et.size/bt*(et.flipY?-1:1),") "),Rr+="rotate(".concat(et.rotate,"deg) "),Rr}var us=
vendor: 12,335 bytes, lines 13-566
13`:root, :host { 14 --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; 15 --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; 16 --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; 17 --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; 18 --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; 19 --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; 20 --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; 21 --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; 22 --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; 23 --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; 24 --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; 25 --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; 26 --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; 27 --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; 28 --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; 29 --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; 30 --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; 31} 32 33svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { 34 overflow: visible; 35 box-sizing: content-box; 36} 37 38.svg-inline--fa { 39 display: var(--fa-display, inline-block); 40 height: 1em; 41 overflow: visible; 42 vertical-align: -0.125em; 43} 44.svg-inline--fa.fa-2xs { 45 vertical-align: 0.1em; 46} 47.svg-inline--fa.fa-xs { 48 vertical-align: 0em; 49} 50.svg-inline--fa.fa-sm { 51 vertical-align: -0.0714285705em; 52} 53.svg-inline--fa.fa-lg { 54 vertical-align: -0.2em; 55} 56.svg-inline--fa.fa-xl { 57 vertical-align: -0.25em; 58} 59.svg-inline--fa.fa-2xl { 60 vertical-align: -0.3125em; 61} 62.svg-inline--fa.fa-pull-left { 63 margin-right: var(--fa-pull-margin, 0.3em); 64 width: auto; 65} 66.svg-inline--fa.fa-pull-right { 67 margin-left: var(--fa-pull-margin, 0.3em); 68 width: auto; 69} 70.svg-inline--fa.fa-li { 71 width: var(--fa-li-width, 2em); 72 top: 0.25em; 73} 74.svg-inline--fa.fa-fw { 75 width: var(--fa-fw-width, 1.25em); 76} 77 78.fa-layers svg.svg-inline--fa { 79 bottom: 0; 80 left: 0; 81 margin: auto; 82 position: absolute; 83 right: 0; 84 top: 0; 85} 86 87.fa-layers-counter, .fa-layers-text { 88 display: inline-block; 89 position: absolute; 90 text-align: center; 91} 92 93.fa-layers { 94 display: inline-block; 95 height: 1em; 96 position: relative; 97 text-align: center; 98 vertical-align: -0.125em; 99 width: 1em; 100} 101.fa-layers svg.svg-inline--fa { 102 transform-origin: center center; 103} 104 105.fa-layers-text { 106 left: 50%; 107 top: 50%; 108 transform: translate(-50%, -50%); 109 transform-origin: center center; 110} 111 112.fa-layers-counter { 113 background-color: var(--fa-counter-background-color, #ff253a); 114 border-radius: var(--fa-counter-border-radius, 1em); 115 box-sizing: border-box; 116 color: var(--fa-inverse, #fff); 117 line-height: var(--fa-counter-line-height, 1); 118 max-width: var(--fa-counter-max-width, 5em); 119 min-width: var(--fa-counter-min-width, 1.5em); 120 overflow: hidden; 121 padding: var(--fa-counter-padding, 0.25em 0.5em); 122 right: var(--fa-right, 0); 123 text-overflow: ellipsis; 124 top: var(--fa-top, 0); 125 transform: scale(var(--fa-counter-scale, 0.25)); 126 transform-origin: top right; 127} 128 129.fa-layers-bottom-right { 130 bottom: var(--fa-bottom, 0); 131 right: var(--fa-right, 0); 132 top: auto; 133 transform: scale(var(--fa-layers-scale, 0.25)); 134 transform-origin: bottom right; 135} 136 137.fa-layers-bottom-left { 138 bottom: var(--fa-bottom, 0); 139 left: var(--fa-left, 0); 140 right: auto; 141 top: auto; 142 transform: scale(var(--fa-layers-scale, 0.25)); 143 transform-origin: bottom left; 144} 145 146.fa-layers-top-right { 147 top: var(--fa-top, 0); 148 right: var(--fa-right, 0); 149 transform: scale(var(--fa-layers-scale, 0.25)); 150 transform-origin: top right; 151} 152 153.fa-layers-top-left { 154 left: var(--fa-left, 0); 155 right: auto; 156 top: var(--fa-top, 0); 157 transform: scale(var(--fa-layers-scale, 0.25)); 158 transform-origin: top left; 159} 160 161.fa-1x { 162 font-size: 1em; 163} 164 165.fa-2x { 166 font-size: 2em; 167} 168 169.fa-3x { 170 font-size: 3em; 171} 172 173.fa-4x { 174 font-size: 4em; 175} 176 177.fa-5x { 178 font-size: 5em; 179} 180 181.fa-6x { 182 font-size: 6em; 183} 184 185.fa-7x { 186 font-size: 7em; 187} 188 189.fa-8x { 190 font-size: 8em; 191} 192 193.fa-9x { 194 font-size: 9em; 195} 196 197.fa-10x { 198 font-size: 10em; 199} 200 201.fa-2xs { 202 font-size: 0.625em; 203 line-height: 0.1em; 204 vertical-align: 0.225em; 205} 206 207.fa-xs { 208 font-size: 0.75em; 209 line-height: 0.0833333337em; 210 vertical-align: 0.125em; 211} 212 213.fa-sm { 214 font-size: 0.875em; 215 line-height: 0.0714285718em; 216 vertical-align: 0.0535714295em; 217} 218 219.fa-lg { 220 font-size: 1.25em; 221 line-height: 0.05em; 222 vertical-align: -0.075em; 223} 224 225.fa-xl { 226 font-size: 1.5em; 227 line-height: 0.0416666682em; 228 vertical-align: -0.125em; 229} 230 231.fa-2xl { 232 font-size: 2em; 233 line-height: 0.03125em; 234 vertical-align: -0.1875em; 235} 236 237.fa-fw { 238 text-align: center; 239 width: 1.25em; 240} 241 242.fa-ul { 243 list-style-type: none; 244 margin-left: var(--fa-li-margin, 2.5em); 245 padding-left: 0; 246} 247.fa-ul > li { 248 position: relative; 249} 250 251.fa-li { 252 left: calc(-1 * var(--fa-li-width, 2em)); 253 position: absolute; 254 text-align: center; 255 width: var(--fa-li-width, 2em); 256 line-height: inherit; 257} 258 259.fa-border { 260 border-color: var(--fa-border-color, #eee); 261 border-radius: var(--fa-border-radius, 0.1em); 262 border-style: var(--fa-border-style, solid); 263 border-width: var(--fa-border-width, 0.08em); 264 padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); 265} 266 267.fa-pull-left { 268 float: left; 269 margin-right: var(--fa-pull-margin, 0.3em); 270} 271 272.fa-pull-right { 273 float: right; 274 margin-left: var(--fa-pull-margin, 0.3em); 275} 276 277.fa-beat { 278 animation-name: fa-beat; 279 animation-delay: var(--fa-animation-delay, 0s); 280 animation-direction: var(--fa-animation-direction, normal); 281 animation-duration: var(--fa-animation-duration, 1s); 282 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 283 animation-timing-function: var(--fa-animation-timing, ease-in-out); 284} 285 286.fa-bounce { 287 animation-name: fa-bounce; 288 animation-delay: var(--fa-animation-delay, 0s); 289 animation-direction: var(--fa-animation-direction, normal); 290 animation-duration: var(--fa-animation-duration, 1s); 291 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 292 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); 293} 294 295.fa-fade { 296 animation-name: fa-fade; 297 animation-delay: var(--fa-animation-delay, 0s); 298 animation-direction: var(--fa-animation-direction, normal); 299 animation-duration: var(--fa-animation-duration, 1s); 300 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 301 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 302} 303 304.fa-beat-fade { 305 animation-name: fa-beat-fade; 306 animation-delay: var(--fa-animation-delay, 0s); 307 animation-direction: var(--fa-animation-direction, normal); 308 animation-duration: var(--fa-animation-duration, 1s); 309 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 310 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 311} 312 313.fa-flip { 314 animation-name: fa-flip; 315 animation-delay: var(--fa-animation-delay, 0s); 316 animation-direction: var(--fa-animation-direction, normal); 317 animation-duration: var(--fa-animation-duration, 1s); 318 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 319 animation-timing-function: var(--fa-animation-timing, ease-in-out); 320} 321 322.fa-shake { 323 animation-name: fa-shake; 324 animation-delay: var(--fa-animation-delay, 0s); 325 animation-direction: var(--fa-animation-direction, normal); 326 animation-duration: var(--fa-animation-duration, 1s); 327 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 328 animation-timing-function: var(--fa-animation-timing, linear); 329} 330 331.fa-spin { 332 animation-name: fa-spin; 333 animation-delay: var(--fa-animation-delay, 0s); 334 animation-direction: var(--fa-animation-direction, normal); 335 animation-duration: var(--fa-animation-duration, 2s); 336 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 337 animation-timing-function: var(--fa-animation-timing, linear); 338} 339 340.fa-spin-reverse { 341 --fa-animation-direction: reverse; 342} 343 344.fa-pulse, 345.fa-spin-pulse { 346 animation-name: fa-spin; 347 animation-direction: var(--fa-animation-direction, normal); 348 animation-duration: var(--fa-animation-duration, 1s); 349 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 350 animation-timing-function: var(--fa-animation-timing, steps(8)); 351} 352 353@media (prefers-reduced-motion: reduce) { 354 .fa-beat, 355.fa-bounce, 356.fa-fade, 357.fa-beat-fade, 358.fa-flip, 359.fa-pulse, 360.fa-shake, 361.fa-spin, 362.fa-spin-pulse { 363 animation-delay: -1ms; 364 animation-duration: 1ms; 365 animation-iteration-count: 1; 366 transition-delay: 0s; 367 transition-duration: 0s; 368 } 369} 370@keyframes fa-beat { 371 0%, 90% { 372 transform: scale(1); 373 } 374 45% { 375 transform: scale(var(--fa-beat-scale, 1.25)); 376 } 377} 378@keyframes fa-bounce { 379 0% { 380 transform: scale(1, 1) translateY(0); 381 } 382 10% { 383 transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); 384 } 385 30% { 386 transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); 387 } 388 50% { 389 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); 390 } 391 57% { 392 transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); 393 } 394 64% { 395 transform: scale(1, 1) translateY(0); 396 } 397 100% { 398 transform: scale(1, 1) translateY(0); 399 } 400} 401@keyframes fa-fade { 402 50% { 403 opacity: var(--fa-fade-opacity, 0.4); 404 } 405} 406@keyframes fa-beat-fade { 407 0%, 100% { 408 opacity: var(--fa-beat-fade-opacity, 0.4); 409 transform: scale(1); 410 } 411 50% { 412 opacity: 1; 413 transform: scale(var(--fa-beat-fade-scale, 1.125)); 414 } 415} 416@keyframes fa-flip { 417 50% { 418 transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); 419 } 420} 421@keyframes fa-shake { 422 0% { 423 transform: rotate(-15deg); 424 } 425 4% { 426 transform: rotate(15deg); 427 } 428 8%, 24% { 429 transform: rotate(-18deg); 430 } 431 12%, 28% { 432 transform: rotate(18deg); 433 } 434 16% { 435 transform: rotate(-22deg); 436 } 437 20% { 438 transform: rotate(22deg); 439 } 440 32% { 441 transform: rotate(-12deg); 442 } 443 36% { 444 transform: rotate(12deg); 445 } 446 40%, 100% { 447 transform: rotate(0deg); 448 } 449} 450@keyframes fa-spin { 451 0% { 452 transform: rotate(0deg); 453 } 454 100% { 455 transform: rotate(360deg); 456 } 457} 458.fa-rotate-90 { 459 transform: rotate(90deg); 460} 461 462.fa-rotate-180 { 463 transform: rotate(180deg); 464} 465 466.fa-rotate-270 { 467 transform: rotate(270deg); 468} 469 470.fa-flip-horizontal { 471 transform: scale(-1, 1); 472} 473 474.fa-flip-vertical { 475 transform: scale(1, -1); 476} 477 478.fa-flip-both, 479.fa-flip-horizontal.fa-flip-vertical { 480 transform: scale(-1, -1); 481} 482 483.fa-rotate-by { 484 transform: rotate(var(--fa-rotate-angle, 0)); 485} 486 487.fa-stack { 488 display: inline-block; 489 vertical-align: middle; 490 height: 2em; 491 position: relative; 492 width: 2.5em; 493} 494 495.fa-stack-1x, 496.fa-stack-2x { 497 bottom: 0; 498 left: 0; 499 margin: auto; 500 position: absolute; 501 right: 0; 502 top: 0; 503 z-index: var(--fa-stack-z-index, auto); 504} 505 506.svg-inline--fa.fa-stack-1x { 507 height: 1em; 508 width: 1.25em; 509} 510.svg-inline--fa.fa-stack-2x { 511 height: 2em; 512 width: 2.5em; 513} 514 515.fa-inverse { 516 color: var(--fa-inverse, #fff); 517} 518 519.sr-only, 520.fa-sr-only { 521 position: absolute; 522 width: 1px; 523 height: 1px; 524 padding: 0; 525 margin: -1px; 526 overflow: hidden; 527 clip: rect(0, 0, 0, 0); 528 white-space: nowrap; 529 border-width: 0; 530} 531 532.sr-only-focusable:not(:focus), 533.fa-sr-only-focusable:not(:focus) { 534 position: absolute; 535 width: 1px; 536 height: 1px; 537 padding: 0; 538 margin: -1px; 539 overflow: hidden; 540 clip: rect(0, 0, 0, 0); 541 white-space: nowrap; 542 border-width: 0; 543} 544 545.svg-inline--fa .fa-primary { 546 fill: var(--fa-primary-color, currentColor); 547 opacity: var(--fa-primary-opacity, 1); 548} 549 550.svg-inline--fa .fa-secondary { 551 fill: var(--fa-secondary-color, currentColor); 552 opacity: var(--fa-secondary-opacity, 0.4); 553} 554 555.svg-inline--fa.fa-swap-opacity .fa-primary { 556 opacity: var(--fa-secondary-opacity, 0.4); 557} 558 559.svg-inline--fa.fa-swap-opacity .fa-secondary { 560 opacity: var(--fa-primary-opacity, 1); 561} 562 563.svg-inline--fa mask .fa-primary, 564.svg-inline--fa mask .fa-secondary { 565 fill: black; 566}`;
566function nr(){const Ae=or,et=An,pt=oe.cssPrefix,Ft=oe.replacementClass;let Zt=us;if(pt!==Ae||Ft!==et){const Rr=new RegExp("\\.".concat(Ae,"\\-"),"g"),mn=new RegExp("\\--".concat(Ae,"\\-"),"g"),Ye=new RegExp("\\.".concat(et),"g");Zt=Zt.replace(Rr,".".concat(pt,"-")).replace(mn,"--".concat(pt,"-")).replace(Ye,".".concat(Ft))}return Zt}let cr=!1;function ln(){oe.autoAddCss&&!cr&&(Tr(nr()),cr=!0)}var Yn={mixout(){return{dom:{css:nr,insertCss:ln}}},hooks(){return{beforeDOMElementCreation(){ln()},beforeI2svg(){ln()}}}};const Ln=_||{};Ln[Er]||(Ln[Er]={}),Ln[Er].styles||(Ln[Er].styles={}),Ln[Er].hooks||(Ln[Er].hooks={}),Ln[Er].shims||(Ln[Er].shims=[]);var wn=Ln[Er];const ti=[],Ti=function(){C.removeEventListener("DOMContentLoaded",Ti),Pi=1,ti.map(Ae=>Ae())};let Pi=!1;B&&(Pi=(C.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(C.readyState),Pi||C.addEventListener("DOMContentLoaded",Ti));function Zi(Ae){B&&(Pi?setTimeout(Ae,0):ti.push(Ae))}function Ui(Ae){const{tag:et,attributes:pt={},children:Ft=[]}=Ae;return typeof Ae=="string"?yn(Ae):"<".concat(et," ").concat(rs(pt),">").concat(Ft.map(Ui).join(""),"</").concat(et,">")}function vi(Ae,et,pt){if(Ae&&Ae[et]&&Ae[et][pt])return{prefix:et,iconName:pt,icon:Ae[et][pt]}}var Wi=function(et,pt){return function(Ft,Zt,Rr,mn){return et.call(pt,Ft,Zt,Rr,mn)}},ks=function(et,pt,Ft,Zt){var Rr=Object.keys(et),mn=Rr.length,Ye=Zt!==void 0?Wi(pt,Zt):pt,Li,_i,Ai;for(Ft===void 0?(Li=1,Ai=et[Rr[0]]):(Li=0,Ai=Ft);Li<mn;Li++)_i=Rr[Li],Ai=Ye(Ai,et[_i],_i,et);return Ai};function ss(Ae){const et=[];let pt=0;const Ft=Ae.length;for(;pt<Ft;){const Zt=Ae.charCodeAt(pt++);if(Zt>=55296&&Zt<=56319&&pt<Ft){const Rr=Ae.charCodeAt(pt++);(Rr&64512)==56320?et.push(((Zt&1023)<<10)+(Rr&1023)+65536):(et.push(Zt),pt--)}else et.push(Zt)}return et}function xs(Ae){const et=ss(Ae);return et.length===1?et[0].toString(16):null}function wi(Ae,et){const pt=Ae.length;let Ft=Ae.charCodeAt(et),Zt;return Ft>=55296&&Ft<=56319&&pt>et+1&&(Zt=Ae.charCodeAt(et+1),Zt>=56320&&Zt<=57343)?(Ft-55296)*1024+Zt-56320+65536:Ft}function Ns(Ae){return Object.keys(Ae).reduce((et,pt)=>{const Ft=Ae[pt];return!!Ft.icon?et[Ft.iconName]=Ft.icon:et[pt]=Ft,et},{})}function Cs(Ae,et){let pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:Ft=!1}=pt,Zt=Ns(et);typeof wn.hooks.addPack=="function"&&!Ft?wn.hooks.addPack(Ae,Ns(et)):wn.styles[Ae]=s(s({},wn.styles[Ae]||{}),Zt),Ae==="fas"&&Cs("fa",et)}const as=[m(/path d="([^"]+)".*path d="([^"]+)"/,{d1:1,d2:2}),m(/path class="([^"]+)".*d="([^"]+)".*path class="([^"]+)".*d="([^"]+)"/,{cls1:1,d1:2,cls2:3,d2:4}),m(/path class="([^"]+)".*d="([^"]+)"/,{cls1:1,d1:2})],{styles:Os,shims:ce}=wn,He=Object.keys(fn),Lt=He.reduce((Ae,et)=>(Ae[et]=Object.keys(fn[et]),Ae),{});let fr=null,un={},Qn={},Xi={},qi={},ls={};function ps(Ae){return~Hi.indexOf(Ae)}function la(Ae,et){const pt=et.split("-"),Ft=pt[0],Zt=pt.slice(1).join("-");return Ft===Ae&&Zt!==""&&!ps(Zt)?Zt:null}const ca=()=>{const Ae=Ft=>ks(Os,(Zt,Rr,mn)=>(Zt[mn]=ks(Rr,Ft,{}),Zt),{});un=Ae((Ft,Zt,Rr)=>(Zt[3]&&(Ft[Zt[3]]=Rr),Zt[2]&&Zt[2].filter(Ye=>typeof Ye=="number").forEach(Ye=>{Ft[Ye.toString(16)]=Rr}),Ft)),Qn=Ae((Ft,Zt,Rr)=>(Ft[Rr]=Rr,Zt[2]&&Zt[2].filter(Ye=>typeof Ye=="string").forEach(Ye=>{Ft[Ye]=Rr}),Ft)),ls=Ae((Ft,Zt,Rr)=>{const mn=Zt[2];return Ft[Rr]=Rr,mn.forEach(Ye=>{Ft[Ye]=Rr}),Ft});const et="far"in Os||oe.autoFetchSvg,pt=ks(ce,(Ft,Zt)=>{const Rr=Zt[0];let mn=Zt[1];const Ye=Zt[2];return mn==="far"&&!et&&(mn="fas"),typeof Rr=="string"&&(Ft.names[Rr]={prefix:mn,iconName:Ye}),typeof Rr=="number"&&(Ft.unicodes[Rr.toString(16)]={prefix:mn,iconName:Ye}),Ft},{names:{},unicodes:{}});Xi=pt.names,qi=pt.unicodes,fr=aa(oe.styleDefault,{family:oe.familyDefault})};Ge(Ae=>{fr=aa(Ae.styleDefault,{family:oe.familyDefault})}),ca();function za(Ae,et){return(un[Ae]||{})[et]}function io(Ae,et){return(Qn[Ae]||{})[et]}function Is(Ae,et){return(ls[Ae]||{})[et]}function yr(Ae){return Xi[Ae]||{prefix:null,iconName:null}}function Fa(Ae){const et=qi[Ae],pt=za("fas",Ae);return et||(pt?{prefix:"fas",iconName:pt}:null)||{prefix:null,iconName:null}}function on(){return fr}const va=()=>({prefix:null,iconName:null,rest:[]}
566);function pa(Ae){let et=ie;const pt=He.reduce((Ft,Zt)=>(Ft[Zt]="".concat(oe.cssPrefix,"-").concat(Zt),Ft),{});return je.forEach(Ft=>{(Ae.includes(pt[Ft])||Ae.some(Zt=>Lt[Ft].includes(Zt)))&&(et=Ft)}),et}function aa(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:pt=ie}=et,Ft=it[pt][Ae];if(pt===le&&!Ae)return"fad";const Zt=Zr[pt][Ae]||Zr[pt][Ft],Rr=Ae in wn.styles?Ae:null;return Zt||Rr||null}function ta(Ae){let et=[],pt=null;return Ae.forEach(Ft=>{const Zt=la(oe.cssPrefix,Ft);Zt?pt=Zt:Ft&&et.push(Ft)}),{iconName:pt,rest:et}}function Za(Ae){return Ae.sort().filter((et,pt,Ft)=>Ft.indexOf(et)===pt)}function $a(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:pt=!1}=et;let Ft=null;const Zt=dn.concat(kt),Rr=Za(Ae.filter(Gi=>Zt.includes(Gi))),mn=Za(Ae.filter(Gi=>!dn.includes(Gi))),Ye=Rr.filter(Gi=>(Ft=Gi,!J.includes(Gi))),[Li=null]=Ye,_i=pa(Rr),Ai=s(s({},ta(mn)),{},{prefix:aa(Li,{family:_i})});return s(s(s({},Ai),Hs({values:Ae,family:_i,styles:Os,config:oe,canonical:Ai,givenPrefix:Ft})),Wo(pt,Ft,Ai))}function Wo(Ae,et,pt){let{prefix:Ft,iconName:Zt}=pt;if(Ae||!Ft||!Zt)return{prefix:Ft,iconName:Zt};const Rr=et==="fa"?yr(Zt):{},mn=Is(Ft,Zt);return Zt=Rr.iconName||mn||Zt,Ft=Rr.prefix||Ft,Ft==="far"&&!Os.far&&Os.fas&&!oe.autoFetchSvg&&(Ft="fas"),{prefix:Ft,iconName:Zt}}const Co=je.filter(Ae=>Ae!==ie||Ae!==le),Ro=Object.keys(Yr).filter(Ae=>Ae!==ie).map(Ae=>Object.keys(Yr[Ae])).flat();function Hs(Ae){const{values:et,family:pt,canonical:Ft,givenPrefix:Zt="",styles:Rr={},config:mn={}}=Ae,Ye=pt===le,Li=et.includes("fa-duotone")||et.includes("fad"),_i=mn.familyDefault==="duotone",Ai=Ft.prefix==="fad"||Ft.prefix==="fa-duotone";if(!Ye&&(Li||_i||Ai)&&(Ft.prefix="fad"),(et.includes("fa-brands")||et.includes("fab"))&&(Ft.prefix="fab"),!Ft.prefix&&Co.includes(pt)&&(Object.keys(Rr).find(Xs=>Ro.includes(Xs))||mn.autoFetchSvg)){const Xs=Xe.get(pt).defaultShortPrefixId;Ft.prefix=Xs,Ft.iconName=Is(Ft.prefix,Ft.iconName)||Ft.iconName}return(Ft.prefix==="fa"||Zt==="fa")&&(Ft.prefix=on()||"fas"),Ft}class cs{constructor(){this.definitions={}}add(){for(var et=arguments.length,pt=new Array(et),Ft=0;Ft<et;Ft++)pt[Ft]=arguments[Ft];const Zt=pt.reduce(this._pullDefinitions,{});Object.keys(Zt).forEach(Rr=>{this.definitions[Rr]=s(s({},this.definitions[Rr]||{}),Zt[Rr]),Cs(Rr,Zt[Rr]);const mn=fn[ie][Rr];mn&&Cs(mn,Zt[Rr]),ca()})}reset(){this.definitions={}}_pullDefinitions(et,pt){const Ft=pt.prefix&&pt.iconName&&pt.icon?{0:pt}:pt;return Object.keys(Ft).map(Zt=>{const{prefix:Rr,iconName:mn,icon:Ye}=Ft[Zt],Li=Ye[2];et[Rr]||(et[Rr]={}),Li.length>0&&Li.forEach(_i=>{typeof _i=="string"&&(et[Rr][_i]=Ye)}),et[Rr][mn]=Ye}),et}}let Me=[],We={};const Nt={},Jt=Object.keys(Nt);function jr(Ae,et){let{mixoutsTo:pt}=et;return Me=Ae,We={},Object.keys(Nt).forEach(Ft=>{Jt.indexOf(Ft)===-1&&delete Nt[Ft]}),Me.forEach(Ft=>{const Zt=Ft.mixout?Ft.mixout():{};if(Object.keys(Zt).forEach(Rr=>{typeof Zt[Rr]=="function"&&(pt[Rr]=Zt[Rr]),typeof Zt[Rr]=="object"&&Object.keys(Zt[Rr]).forEac
vendor: 4,139 bytes, line 566
566h(mn=>{pt[Rr]||(pt[Rr]={}),pt[Rr][mn]=Zt[Rr][mn]})}),Ft.hooks){const Rr=Ft.hooks();Object.keys(Rr).forEach(mn=>{We[mn]||(We[mn]=[]),We[mn].push(Rr[mn])})}Ft.provides&&Ft.provides(Nt)}),pt}function Jr(Ae,et){for(var pt=arguments.length,Ft=new Array(pt>2?pt-2:0),Zt=2;Zt<pt;Zt++)Ft[Zt-2]=arguments[Zt];return(We[Ae]||[]).forEach(mn=>{et=mn.apply(null,[et,...Ft])}),et}function an(Ae){for(var et=arguments.length,pt=new Array(et>1?et-1:0),Ft=1;Ft<et;Ft++)pt[Ft-1]=arguments[Ft];(We[Ae]||[]).forEach(Rr=>{Rr.apply(null,pt)})}function ai(){const Ae=arguments[0],et=Array.prototype.slice.call(arguments,1);return Nt[Ae]?Nt[Ae].apply(null,et):void 0}function Si(Ae){Ae.prefix==="fa"&&(Ae.prefix="fas");let{iconName:et}=Ae;const pt=Ae.prefix||on();if(et)return et=Is(pt,et)||et,vi(Di.definitions,pt,et)||vi(wn.styles,pt,et)}const Di=new cs,Qi={noAuto:()=>{oe.autoReplaceSvg=!1,oe.observeMutations=!1,an("noAuto")},config:oe,dom:{i2svg:function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return B?(an("beforeI2svg",Ae),ai("pseudoElements2svg",Ae),ai("i2svg",Ae)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:et}=Ae;oe.autoReplaceSvg===!1&&(oe.autoReplaceSvg=!0),oe.observeMutations=!0,Zi(()=>{Do({autoReplaceSvgRoot:et}),an("watch",Ae)})}},parse:{icon:Ae=>{if(Ae===null)return null;if(typeof Ae=="object"&&Ae.prefix&&Ae.iconName)return{prefix:Ae.prefix,iconName:Is(Ae.prefix,Ae.iconName)||Ae.iconName};if(Array.isArray(Ae)&&Ae.length===2){const et=Ae[1].indexOf("fa-")===0?Ae[1].slice(3):Ae[1],pt=aa(Ae[0]);return{prefix:pt,iconName:Is(pt,et)||et}}if(typeof Ae=="string"&&(Ae.indexOf("".concat(oe.cssPrefix,"-"))>-1||Ae.match($i))){const et=$a(Ae.split(" "),{skipLookups:!0});return{prefix:et.prefix||on(),iconName:Is(et.prefix,et.iconName)||et.iconName}}if(typeof Ae=="string"){const et=on();return{prefix:et,iconName:Is(et,Ae)||Ae}}}},library:Di,findIconDefinition:Si,toHtml:Ui},Do=function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:et=C}=Ae;(Object.keys(wn.styles).length>0||oe.autoFetchSvg)&&B&&oe.autoReplaceSvg&&Qi.dom.i2svg({node:et})};function Oo(Ae,et){return Object.defineProperty(Ae,"abstract",{get:et}),Object.defineProperty(Ae,"html",{get:function(){return Ae.abstract.map(pt=>Ui(pt))}}),Object.defineProperty(Ae,"node",{get:function(){if(!B)return;const pt=C.createElement("div");return pt.innerHTML=Ae.html,pt.children}}),Ae}function Ta(Ae){let{children:et,main:pt,mask:Ft,attributes:Zt,styles:Rr,transform:mn}=Ae;if(Ms(mn)&&pt.found&&!Ft.found){const{width:Ye,height:Li}=pt,_i={x:Ye/Li/2,y:.5};Zt.style=xn(s(s({},Rr),{},{"transform-origin":"".concat(_i.x+mn.x/16,"em ").concat(_i.y+mn.y/16,"em")}))}return[{tag:"svg",attributes:Zt,children:et}]}function Ne(Ae){let{prefix:et,iconName:pt,children:Ft,attributes:Zt,symbol:Rr}=Ae;const mn=Rr===!0?"".concat(et,"-").concat(oe.cssPrefix,"-").concat(pt):Rr;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s(s({},Zt),{},{id:mn}),children:Ft}]}]}function Ve(Ae){const{icons:{main:et,mask:pt},prefix:Ft,iconName:Zt,transform:Rr,symbol:mn,title:Ye,maskId:Li,titleId:_i,extra:Ai,watchable:Gi=!1}=Ae,{width:Xs,height:Qa}=pt.found?pt:et,ho=De.includes(Ft),Pa=[oe.replacementClass,Zt?"".concat(oe.cssPrefix,"-").concat(Zt):""].filter(So=>Ai.classes.indexOf(So)===-1).filter(So=>So!==""||!!So).concat(Ai.classes).join(" ");let Ja={children:[],attributes:s(s({},Ai.attributes),{},{"data-prefix":Ft,"data-icon":Zt,class:Pa,role:Ai.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Xs," ").concat(Qa)})};const ma=ho&&!~Ai.classes.indexOf("fa-fw")?{width:"".concat(Xs/Qa*16*.0625,"em")}:{};Gi&&(Ja.attributes[dr]=""),Ye&&(Ja.children.push({tag:"title",attributes:{id:Ja.attributes["aria-labelledby"]||"title-".concat(_i||Gt())},children:[Ye]}),delete Ja.attributes.title);const Ha=s(s({},Ja),{},{prefix:Ft,iconName:Zt,main:et,mask:pt,maskId:Li,transform:Rr,symbol:mn,styles:s(s({},ma),Ai.styles)}),{children:uo,attributes:Qo}
566=pt.found&&et.found?ai("generateAbstractMask",Ha)||{children:[],attributes:{}}:ai("generateAbstractIcon",Ha)||{children:[],attributes:{}};return Ha.children=uo,Ha.attributes=Qo,mn?Ne(Ha):Ta(Ha)}function gt(Ae){const{content:et,width:pt,height:Ft,transform:Zt,title:Rr,extra:mn,watchable:Ye=!1}=Ae,Li=s(s(s({},mn.attributes),Rr?{title:Rr}:{}),{},{class:mn.classes.join(" ")});Ye&&(Li[dr]="");const _i=s({},mn.styles);Ms(Zt)&&(_i.transform=Gs({transform:Zt,startCentered:!0,width:pt,height:Ft}),_i["-webkit-transform"]=_i.transform);const Ai=xn(_i);Ai.length>0&&(Li.style=Ai);const Gi=[];return Gi.push({tag:"span",attributes:Li,children:[et]}),Rr&&Gi.push({tag:"span",attributes:{class:"sr-only"},children:[Rr]}),Gi}function ct(Ae){const{content:et,title:pt,extra:Ft}=Ae,Zt=s(s(s({},Ft.attributes),pt?{title:pt}:{}),{},{class:Ft.classes.join(" ")}),Rr=xn(Ft.styles);Rr.length>0&&(Zt.style=Rr);const mn=[];return mn.push({tag:"span",attributes:Zt,children:[et]}),pt&&mn.push({tag:"span",attributes:{class:"sr-only"},children:[pt]}),mn}const{styles:Kt}=wn;function tr(Ae){const et=Ae[0],pt=Ae[1],[Ft]=Ae.slice(4);let Zt=null;return Array.isArray(Ft)?Zt={tag:"g",attributes:{class:"".concat(oe.cssPrefix,"-").concat(gi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(oe.cssPrefix,"-").concat(gi.SECONDARY),fill:"currentColor",d:Ft[0]}},{tag:"path",attributes:{class:"".concat(oe.cssPrefix,"-").concat(gi.PRIMARY),fill:"currentColor",d:Ft[1]}}]}:Zt={tag:"path",attributes:{fill:"currentColor",d:Ft}},{found:!0,width:et,height:pt,icon:Zt}}const Cr={found:!1,width:512,height:512};function kr(Ae,et){!Y&&!oe.showMissingIcons&&Ae&&console.error('Icon with name "'.concat(Ae,'" and prefix "').concat(et,'" is missing.'))}function Bn(Ae,et){let pt=et;return et==="fa"&&oe.styleDefault!==null&&(et=on()),new Promise((Ft,Zt)=>{if(pt==="fa"){const Rr=yr(Ae)||{};Ae=Rr.iconName||Ae,et=Rr.prefix||et}if(Ae&&et&&Kt[et]&&Kt[et][Ae]){const Rr=Kt[et][Ae];return Ft(tr(Rr))}kr(Ae,et),Ft(s(s({},Cr),{},{icon:oe.showMissingIcons&&Ae?ai("missingIconAbstract")||{}:{}}))})}const Hn=()=>{},Bt=oe.measurePerformance&&k&&k.mark&&k.measure?k:{mark:Hn,measure:Hn},Wt='FA "6.7.2"',Wr=Ae=>(Bt.mark("".concat(Wt," ").concat(Ae," begins")),()=>sn(Ae)),sn=Ae=>{Bt.mark("".concat(Wt," ").concat(Ae," ends")),Bt.measure("".concat(Wt," ").concat(Ae),"".concat(Wt," ").concat(Ae," begins"),"".concat(Wt," ").concat(Ae," ends"))};var Mn={begin:Wr,end:sn};const _n=()=>{};function Wn(Ae){return typeof(Ae.getAttribute?Ae.getAttribute(dr):null)=="string"}function Un(Ae){const et=Ae.getAttribute?Ae.getAttribute(Qt):null,pt=Ae.getAttribute?Ae.getAttribute(Br):null;return et&&pt}function Fi(Ae){return Ae&&Ae.classList&&Ae.classList.contains&&Ae.classList.contains(oe.replacementClass)}function Le(){return oe.autoReplaceSvg===!0?rr.replace:rr[oe.autoReplaceSvg]||rr.replace}function Ue(Ae){return C.createElementNS("http://www.w3.org/2000/svg",Ae)}function lt(Ae){return C.createElement(Ae)}function ot(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:pt=Ae.tag==="svg"?Ue:lt}=et;if(typeof Ae=="string")return C.createTextNode(Ae);const Ft=pt(Ae.tag);return Object.keys(Ae.attributes||[]).forEach(function(Rr){Ft.setAttribute(Rr,Ae.attributes[Rr])}),(Ae.children||[]).forEach(function(Rr){Ft.appendChild(ot(Rr,{ceFn:pt}))}),Ft}function Yt(Ae){let et=" ".concat(Ae.outerHTML," ");return et="".concat(et,"Font Awesome fontawesome.com "),et}const rr={replace:function(Ae){const et=Ae[0];
vendor: 2,940 bytes, lines 566-567
566if(et.parentNode)if(Ae[1].forEach(pt=>{et.parentNode.insertBefore(ot(pt),et)}),et.getAttribute(dr)===null&&oe.keepOriginalSource){let pt=C.createComment(Yt(et));et.parentNode.replaceChild(pt,et)}else et.remove()},nest:function(Ae){const et=Ae[0],pt=Ae[1];if(~si(et).indexOf(oe.replacementClass))return rr.replace(Ae);const Ft=new RegExp("".concat(oe.cssPrefix,"-.*"));if(delete pt[0].attributes.id,pt[0].attributes.class){const Rr=pt[0].attributes.class.split(" ").reduce((mn,Ye)=>(Ye===oe.replacementClass||Ye.match(Ft)?mn.toSvg.push(Ye):mn.toNode.push(Ye),mn),{toNode:[],toSvg:[]});pt[0].attributes.class=Rr.toSvg.join(" "),Rr.toNode.length===0?et.removeAttribute("class"):et.setAttribute("class",Rr.toNode.join(" "))}const Zt=pt.map(Rr=>Ui(Rr)).join(` 567`);et.setAttribute(dr,""),et.innerHTML=Zt}};function Or(Ae){Ae()}function tn(Ae,et){const pt=typeof et=="function"?et:_n;if(Ae.length===0)pt();else{let Ft=Or;oe.mutateApproach===Tt&&(Ft=_.requestAnimationFrame||Or),Ft(()=>{const Zt=Le(),Rr=Mn.begin("mutate");Ae.map(Zt),Rr(),pt()})}}let kn=!1;function En(){kn=!0}function Rn(){kn=!1}let ki=null;function bs(Ae){if(!P||!oe.observeMutations)return;const{treeCallback:et=_n,nodeCallback:pt=_n,pseudoElementsCallback:Ft=_n,observeMutationsRoot:Zt=C}=Ae;ki=new P(Rr=>{if(kn)return;const mn=on();ei(Rr).forEach(Ye=>{if(Ye.type==="childList"&&Ye.addedNodes.length>0&&!Wn(Ye.addedNodes[0])&&(oe.searchPseudoElements&&Ft(Ye.target),et(Ye.target)),Ye.type==="attributes"&&Ye.target.parentNode&&oe.searchPseudoElements&&Ft(Ye.target.parentNode),Ye.type==="attributes"&&Wn(Ye.target)&&~Mi.indexOf(Ye.attributeName))if(Ye.attributeName==="class"&&Un(Ye.target)){const{prefix:Li,iconName:_i}=$a(si(Ye.target));Ye.target.setAttribute(Qt,Li||mn),_i&&Ye.target.setAttribute(Br,_i)}else Fi(Ye.target)&&pt(Ye.target)})}),B&&ki.observe(Zt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Rs(){ki&&ki.disconnect()}function As(Ae){const et=Ae.getAttribute("style");let pt=[];return et&&(pt=et.split(";").reduce((Ft,Zt)=>{const Rr=Zt.split(":"),mn=Rr[0],Ye=Rr.slice(1);return mn&&Ye.length>0&&(Ft[mn]=Ye.join(":").trim()),Ft},{})),pt}function di(Ae){const et=Ae.getAttribute("data-prefix"),pt=Ae.getAttribute("data-icon"),Ft=Ae.innerText!==void 0?Ae.innerText.trim():"";let Zt=$a(si(Ae));return Zt.prefix||(Zt.prefix=on()),et&&pt&&(Zt.prefix=et,Zt.iconName=pt),Zt.iconName&&Zt.prefix||(Zt.prefix&&Ft.length>0&&(Zt.iconName=io(Zt.prefix,Ae.innerText)||za(Zt.prefix,xs(Ae.innerText))),!Zt.iconName&&oe.autoFetchSvg&&Ae.firstChild&&Ae.firstChild.nodeType===Node.TEXT_NODE&&(Zt.iconName=Ae.firstChild.data)),Zt}function Gn(Ae){const et=ei(Ae.attributes).reduce((Zt,Rr)=>(Zt.name!=="class"&&Zt.name!=="style"&&(Zt[Rr.name]=Rr.value),Zt),{}),pt=Ae.getAttribute("title"),Ft=Ae.getAttribute("data-fa-title-id");return oe.autoA11y&&(pt?et["aria-labelledby"]="".concat(oe.replacementClass,"-title-").concat(Ft||Gt()):(et["aria-hidden"]="true",et.focu
vendor: 5,615 bytes, line 567
567sable="false")),et}function oi(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Et,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Ks(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:pt,prefix:Ft,rest:Zt}=di(Ae),Rr=Gn(Ae),mn=Jr("parseNodeAttributes",{},Ae);let Ye=et.styleParser?As(Ae):[];return s({iconName:pt,title:Ae.getAttribute("title"),titleId:Ae.getAttribute("data-fa-title-id"),prefix:Ft,transform:Et,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Zt,styles:Ye,attributes:Rr}},mn)}const{styles:qs}=wn;function ns(Ae){const et=oe.autoReplaceSvg==="nest"?Ks(Ae,{styleParser:!1}):Ks(Ae);return~et.extra.classes.indexOf(qr)?ai("generateLayersText",Ae,et):ai("generateSvgReplacementMutation",Ae,et)}function Ba(){return[...be,...dn]}function ka(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!B)return Promise.resolve();const pt=C.documentElement.classList,Ft=Ai=>pt.add("".concat(zt,"-").concat(Ai)),Zt=Ai=>pt.remove("".concat(zt,"-").concat(Ai)),Rr=oe.autoFetchSvg?Ba():J.concat(Object.keys(qs));Rr.includes("fa")||Rr.push("fa");const mn=[".".concat(qr,":not([").concat(dr,"])")].concat(Rr.map(Ai=>".".concat(Ai,":not([").concat(dr,"])"))).join(", ");if(mn.length===0)return Promise.resolve();let Ye=[];try{Ye=ei(Ae.querySelectorAll(mn))}catch{}if(Ye.length>0)Ft("pending"),Zt("complete");else return Promise.resolve();const Li=Mn.begin("onTree"),_i=Ye.reduce((Ai,Gi)=>{try{const Xs=ns(Gi);Xs&&Ai.push(Xs)}catch(Xs){Y||Xs.name==="MissingIcon"&&console.error(Xs)}return Ai},[]);return new Promise((Ai,Gi)=>{Promise.all(_i).then(Xs=>{tn(Xs,()=>{Ft("active"),Ft("complete"),Zt("pending"),typeof et=="function"&&et(),Li(),Ai()})}).catch(Xs=>{Li(),Gi(Xs)})})}function H(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ns(Ae).then(pt=>{pt&&tn([pt],et)})}function z(Ae){return function(et){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Ft=(et||{}).icon?et:Si(et||{});let{mask:Zt}=pt;return Zt&&(Zt=(Zt||{}).icon?Zt:Si(Zt||{})),Ae(Ft,s(s({},pt),{},{mask:Zt}))}}const ee=function(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:pt=Et,symbol:Ft=!1,mask:Zt=null,maskId:Rr=null,title:mn=null,titleId:Ye=null,classes:Li=[],attributes:_i={},styles:Ai={}}=et;if(!Ae)return;const{prefix:Gi,iconName:Xs,icon:Qa}=Ae;return Oo(s({type:"icon"},Ae),()=>(an("beforeDOMElementCreation",{iconDefinition:Ae,params:et}),oe.autoA11y&&(mn?_i["aria-labelledby"]="".concat(oe.replacementClass,"-title-").concat(Ye||Gt()):(_i["aria-hidden"]="true",_i.focusable="false")),Ve({icons:{main:tr(Qa),mask:Zt?tr(Zt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Gi,iconName:Xs,transform:s(s({},Et),pt),symbol:Ft,title:mn,maskId:Rr,titleId:Ye,extra:{attributes:_i,styles:Ai,classes:Li}})))};var pe={mixout(){return{icon:z(ee)}},hooks(){return{mutationObserverCallbacks(Ae){return Ae.treeCallback=ka,Ae.nodeCallback=H,Ae}}},provides(Ae){Ae.i2svg=function(et){const{node:pt=C,callback:Ft=()=>{}}=et;return ka(pt,Ft)},Ae.generateSvgReplacementMutation=function(et,pt){const{iconName:Ft,title:Zt,titleId:Rr,prefix:mn,transform:Ye,symbol:Li,mask:_i,maskId:Ai,extra:Gi}=pt;return new Promise((Xs,Qa)=>{Promise.all([Bn(Ft,mn),_i.iconName?Bn(_i.iconName,_i.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(ho=>{let[Pa,Ja]=ho;Xs([et,Ve({icons:{main:Pa,mask:Ja},prefix:mn,iconName:Ft,transform:Ye,symbol:Li,maskId:Ai,title:Zt,titleId:Rr,extra:Gi,watchable:!0})])}).catch(Qa)})},Ae.generateAbstractIcon=function(et){let{children:pt,attributes:Ft,main:Zt,transform:Rr,styles:mn}=et;const Ye=xn(mn);Ye.length>0&&(Ft.style=Ye);let Li;return Ms(Rr)&&(Li=ai("generateAbstractTransformGrouping",{main:Zt,transform:Rr,containerWidth:Zt.width,iconWidth:Zt.width})),pt.push(Li||Zt.icon),{children:pt,attributes:Ft}}}},Ce={mixout(){return{layer(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:pt=[]}=et;return Oo({type:"layer"},()=>{an("beforeDOMElementCreation",{assembler:Ae,params:et});let Ft=[];return Ae(Zt=>{Array.isArray(Zt)?Zt.map(Rr=>{Ft=Ft.concat(Rr.abstract)}):Ft=Ft.concat(Zt.abstract)}),[{tag:"span",attributes:{class:["".concat(oe.cssPrefix,"-layers"),...pt].join(" ")},children:Ft}]})}}}},ze={mixout(){return{counter(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:pt=null,classes:Ft=[],attributes:Zt={},styles:Rr={}}=et;return Oo({type:"counter",content:Ae},()=>(an("beforeDOMElementCreation",{content:Ae,params:et}),ct({content:Ae.toString(),title:pt,extra:{attributes:Zt,styles:Rr,classes:["".concat(oe.cssPrefix,"-layers-counter"),...Ft]}})))}}}},st={mixout(){return{text(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:pt=Et,title:Ft=null,classes:Zt=[],attributes:Rr={},styles:mn={}}=et;return Oo({type:"text",content:Ae},()=>(an("beforeDOMElementCreation",{content:Ae,params:et}),gt({content:Ae,transform:s(s({},Et),pt),title:Ft,extra:{attributes:Rr,styles:mn,classes:["".concat(oe.cssPrefix,"-layers-text"),...Zt]}})))}}},provides(Ae){Ae.generateLayersText=function(et,pt){const{title:Ft,transform:Zt,extra:Rr}=pt;let mn=null,Ye=null;if($){const Li=parseInt(getComputedStyle(et).fontSize,10),_i=et.getBoundingClientRect();mn=_i.width/Li,Ye=_i.height/Li}return oe.autoA11y&&!Ft&&(Rr.attributes["aria-hidden"]="true"),Promise.resolve([et,gt({content:et.innerHTML,width:mn,height:Ye,transform:Zt,title:Ft,extra:Rr,watchable:!0})])}}};
567const ft=new RegExp('"',"ug"),Dt=[1105920,1112319],lr=s(s(s(s({},{FontAwesome:{normal:"fas",400:"fas"}}),Je),Mr),Ut),$t=Object.keys(lr).reduce((Ae,et)=>(Ae[et.toLowerCase()]=lr[et],Ae),{}),Nr=Object.keys($t).reduce((Ae,et)=>{const pt=$t[et];return Ae[et]=pt[900]||[...Object.entries(pt)][0][1],Ae},{});function cn(Ae){const et=Ae.replace(ft,""),pt=wi(et,0),Ft=pt>=Dt[0]&&pt<=Dt[1],Zt=et.length===2?et[0]===et[1]:!1;return{value:xs(Zt?et[0]:et),isSecondary:Ft||Zt}}function Nn(Ae,et){const pt=Ae.replace(/^['"]|['"]$/g,"").toLowerCase(),Ft=parseInt(et),Zt=isNaN(Ft)?"normal":Ft;return($t[pt]||{})[Zt]||Nr[pt]}function jn(Ae,et){const pt="".concat(hn).concat(et.replace(":","-"));return new Promise((Ft,Zt)=>{if(Ae.getAttribute(pt)!==null)return Ft();const mn=ei(Ae.children).filter(Xs=>Xs.getAttribute(Xr)===et)[0],Ye=_.getComputedStyle(Ae,et),Li=Ye.getPropertyValue("font-family"),_i=Li.match(Bi),Ai=Ye.getPropertyValue("font-weight"),Gi=Ye.getPropertyValue("content");if(mn&&!_i)return Ae.removeChild(mn),Ft();if(_i&&Gi!=="none"&&Gi!==""){const Xs=Ye.getPropertyValue("content");let Qa=Nn(Li,Ai);const{value:ho,isSecondary:Pa}=cn(Xs),Ja=_i[0].startsWith("FontAwesome");let ma=za(Qa,ho),Ha=ma;if(Ja){const uo=Fa(ho);uo.iconName&&uo.prefix&&(ma=uo.iconName,Qa=uo.prefix)}if(ma&&!Pa&&(!mn||mn.getAttribute(Qt)!==Qa||mn.getAttribute(Br)!==Ha)){Ae.setAttribute(pt,Ha),mn&&Ae.removeChild(mn);const uo=oi(),{extra:Qo}=uo;Qo.attributes[Xr]=et,Bn(ma,Qa).then(So=>{const Eo=Ve(s(s({},uo),{},{icons:{main:So,mask:va()},prefix:Qa,iconName:Ha,extra:Qo,watchable:!0})),ku=C.createElementNS("http://www.w3.org/2000/svg","svg");et==="::before"?Ae.insertBefore(ku,Ae.firstChild):Ae.appendChild(ku),ku.outerHTML=Eo.map(al=>Ui(al)).join(` 568`),Ae.removeAttribute(pt),Ft()}).catch(Zt)}else Ft()}else Ft()})}function fi(Ae){return Promise.all([jn(Ae,"::before"),jn(Ae,"::after")])}function xi(Ae){return Ae.parentNode!==document.head&&!~Pr.indexOf(Ae.tagName.toUpperCase())&&!Ae.getAttribute(Xr)&&(!Ae.parentNode||Ae.parentNode.tagName!=="svg")}function Ii(Ae){if(B)return new Promise((et,pt)=>{const Ft=ei(Ae.querySelectorAll("*")).filter(xi).map(fi),Zt=Mn.begin("searchPseudoElements");En(),Promise.all(Ft).then(()=>{Zt(),Rn(),et()}).catch(()=>{Zt(),Rn(),pt()})})}var zi={hooks(){return{mutationObserverCallbacks(Ae){return Ae.pseudoElementsCallback=Ii,Ae}}},provides(Ae){Ae.pseudoElements2svg=function(et){const{node:pt=C}=et;oe.searchPseudoElements&&Ii(pt)}}};let gs=!1;var er={mixout(){return{dom:{unwatch(){En(),gs=!0}}}},hooks(){return{bootstrap(){bs(Jr("mutationObserverCallbacks",{}))},noAuto(){Rs()},watch(Ae){const{observeMutationsRoot:et}=Ae;gs?Rn():bs(Jr("mutationObserverCallbacks",{observeMutationsRoot:et}))}}}};const br=Ae=>{let et={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return Ae.toLowerCase().split(" ").reduce((pt,Ft)=>{const Zt=Ft.toLowerCase().split("-"),Rr=Zt[0];let mn=Zt.slice(1).join("-");if(Rr&&mn==="h")return pt.flipX=!0,pt;if(Rr&&mn==="v")return pt.flipY=!0,pt;if(mn=parseFloat(mn),isNaN(mn))return pt;switch(Rr){case"grow":pt.size=pt.size+mn;break;case"shrink":pt.size=pt.size-mn;break;case"left":pt.x=pt.x-mn;break;case"right":pt.x=pt.x+mn;break;case"up":pt.y=pt.y-mn;break;case"down":pt.y=pt.y+mn;break;case"rotate":pt.rotate=pt.rotate+mn;break}return pt},et)};var xr={mixout(){return{parse:{transform:Ae=>br(Ae)}}},hooks(){return{parseNodeAttributes(Ae,et){const pt=et.getAttribute("data-fa-transform");return pt&&(Ae.transform=br(pt)),Ae}}},provides(Ae){Ae.generateAbstractTransformGrouping=function(et){let{main:pt,transform:Ft,containerWidth:Zt,iconWidth:Rr}=et;const mn={transform:"translate(".concat(Zt/2," 256)")},Ye="translate(".concat(Ft.x*32,", ").concat(Ft.y*32,") "),Li="scale(".concat(Ft.size/16*(Ft.flipX?-1:1),", ").concat(Ft.size/16*(Ft.flipY?-1:1),") "),_i="rotate(".concat(Ft.rotate," 0 0)"),Ai={transform:"".concat(Ye," ").concat(Li," ").concat(_i)},Gi={transform:"translate(".concat(Rr/2*-1," -256)")},Xs={outer:mn,inner:Ai,path:Gi};return{tag:"g",attributes:s({},Xs.outer),children:[{tag:"g",attributes:s({},Xs.inner),children:[{tag:pt.icon.tag,children:pt.icon.children,attributes:s(s({},pt.icon.attributes),Xs.path)}]}]}}}};const yi={x:0,y:0,width:"100%",height:"100%"};function Ni(Ae){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Ae.attributes&&(Ae.attributes.fill||et)&&(Ae.attributes.fill="black"),Ae}function pi(Ae){return Ae.tag==="g"?Ae.children:[Ae]}var ra={hooks(){return{parseNodeAttributes(Ae,et){const pt=et.getAttribute("data-fa-mask"),Ft=pt?$a(pt.split(" ").map(Zt=>Zt.trim())):va();return Ft.prefix||(Ft.prefix=on()),Ae.mask=Ft,Ae.maskId=et.getAttribute("data-fa-mask-id"),Ae}}},provides(Ae){Ae.generateAbstractMask=function(et){let{children:pt,attributes:Ft,main:
568Zt,mask:Rr,maskId:mn,transform:Ye}=et;const{width:Li,icon:_i}=Zt,{width:Ai,icon:Gi}=Rr,Xs=Yi({transform:Ye,containerWidth:Ai,iconWidth:Li}),Qa={tag:"rect",attributes:s(s({},yi),{},{fill:"white"})},ho=_i.children?{children:_i.children.map(Ni)}:{},Pa={tag:"g",attributes:s({},Xs.inner),children:[Ni(s({tag:_i.tag,attributes:s(s({},_i.attributes),Xs.path)},ho))]},Ja={tag:"g",attributes:s({},Xs.outer),children:[Pa]},ma="mask-".concat(mn||Gt()),Ha="clip-".concat(mn||Gt()),uo={tag:"mask",attributes:s(s({},yi),{},{id:ma,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Qa,Ja]},Qo={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ha},children:pi(Gi)},uo]};return pt.push(Qo,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(Ha,")"),mask:"url(#".concat(ma,")")},yi)}),{children:pt,attributes:Ft}}}},Ys={provides(Ae){let et=!1;_.matchMedia&&(et=_.matchMedia("(prefers-reduced-motion: reduce)").matches),Ae.missingIconAbstract=function(){const pt=[],Ft={fill:"currentColor"},Zt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};pt.push({tag:"path",attributes:s(s({},Ft),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const Rr=s(s({},Zt),{},{attributeName:"opacity"}),mn={tag:"circle",attributes:s(s({},Ft),{},{cx:"256",cy:"364",r:"28"}),children:[]};return et||mn.children.push({tag:"animate",attributes:s(s({},Zt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:s(s({},Rr),{},{values:"1;0;1;1;0;1;"})}),pt.push(mn),pt.push({tag:"path",attributes:s(s({},Ft),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:et?[]:[{tag:"animate",attributes:s(s({},Rr),{},{values:"1;0;0;0;0;1;"})}]}),et||pt.push({tag:"path",attributes:s(s({},Ft),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:s(s({},Rr),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:pt}}}},Lu={hooks(){return{parseNodeAttributes(Ae,et){const pt=et.getAttribute("data-fa-symbol"),Ft=pt===null?!1:pt===""?!0:pt;return Ae.symbol=Ft,Ae}}}},Uo=[Yn,pe,Ce,ze,st,zi,er,xr,ra,Ys,Lu];jr(Uo,{mixoutsTo:Qi});const vo=Qi.noAuto,jo=Qi.config,Ll=Qi.library,wa=Qi.dom,wu=Qi.parse,el=Qi.findIconDefinition,Ca=Qi.toHtml,Yl=Qi.icon,$c=Qi.layer,zo=Qi.text,Hc=Qi.counter;var Xl=e(98929),Fs=e.n(Xl),_u=e(80588);function oo(Ae,et){(et==null||et>Ae.length)&&(et=Ae.length);for(var pt=0,Ft=Array(et);pt<et;pt++)Ft[pt]=Ae[pt];return Ft}function tl(Ae){if(Array.isArray(Ae))return Ae}function Ml(Ae){if(Array.isArray(Ae))return oo(Ae)}function ae(Ae,et,pt){return(et=Vo(et))in Ae?Object.defineProperty(Ae,et,{value:pt,enumerable:!0,configurable:!0,writable:!0}):Ae[et]=pt,Ae}function hr(Ae){if(typeof Symbol<"u"&&Ae[Symbol.iterator]!=null||Ae["@@iterator"]!=null)return Array.from(Ae)}function dt(Ae,et){var pt=Ae==null?null:typeof Symbol<"u"&&Ae[Symbol.iterator]||Ae["@@iterator"];if(pt!=null){var Ft,Zt,Rr,mn,Ye=[],Li=!0,_i=!1;try{if(Rr=(pt=pt.call(Ae)).next,et===0){if(Object(pt)!==pt)return;Li=!1}else for(;!(Li=(Ft=Rr.call(pt)).done)&&(Ye.push(Ft.value),Ye.length!==et);Li=!0);}catch(Ai){_i=!0,Zt=Ai}
568finally{try{if(!Li&&pt.return!=null&&(mn=pt.return(),Object(mn)!==mn))return}finally{if(_i)throw Zt}}return Ye}}function xt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 569In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 570In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jn(Ae,et){var pt=Object.keys(Ae);if(Object.getOwnPropertySymbols){var Ft=Object.getOwnPropertySymbols(Ae);et&&(Ft=Ft.filter(function(Zt){return Object.getOwnPropertyDescriptor(Ae,Zt).enumerable})),pt.push.apply(pt,Ft)}return pt}function vs(Ae){for(var et=1;et<arguments.length;et++){var pt=arguments[et]!=null?arguments[et]:{};et%2?Jn(Object(pt),!0).forEach(function(Ft){ae(Ae,Ft,pt[Ft])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ae,Object.getOwnPropertyDescriptors(pt)):Jn(Object(pt)).forEach(function(Ft){Object.defineProperty(Ae,Ft,Object.getOwnPropertyDescriptor(pt,Ft))})}return Ae}function Ps(Ae,et){if(Ae==null)return{};var pt,Ft,Zt=Ia(Ae,et);if(Object.getOwnPropertySymbols){var Rr=Object.getOwnPropertySymbols(Ae);for(Ft=0;Ft<Rr.length;Ft++)pt=Rr[Ft],et.indexOf(pt)===-1&&{}.propertyIsEnumerable.call(Ae,pt)&&(Zt[pt]=Ae[pt])}return Zt}function Ia(Ae,et){if(Ae==null)return{};var pt={};for(var Ft in Ae)if({}.hasOwnProperty.call(Ae,Ft)){if(et.indexOf(Ft)!==-1)continue;pt[Ft]=Ae[Ft]}return pt}function $o(Ae,et){return tl(Ae)||dt(Ae,et)||Hu(Ae,et)||xt()}function yo(Ae){return Ml(Ae)||hr(Ae)||Hu(Ae)||bn()}function qa(Ae,et){if(typeof Ae!="object"||!Ae)return Ae;var pt=Ae[Symbol.toPrimitive];if(pt!==void 0){var Ft=pt.call(Ae,et||"default");if(typeof Ft!="object")return Ft;throw new TypeError("@@toPrimitive must return a primitive value.")}return(et==="string"?String:Number)(Ae)}function Vo(Ae){var et=qa(Ae,"string");return typeof et=="symbol"?et:et+""}function Lo(Ae){"@babel/helpers - typeof";return Lo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(et){return typeof et}:function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},Lo(Ae)}function Hu(Ae,et){if(Ae){if(typeof Ae=="string")return oo(Ae,et);var pt={}.toString.call(Ae).slice(8,-1);return pt==="Object"&&Ae.constructor&&(pt=Ae.constructor.name),pt==="Map"||pt==="Set"?Array.from(Ae):pt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(pt)?oo(Ae,et):void 0}}var kl="7.0.0",Mu;try{var eu=e(16149);Mu=eu.version}catch{Mu=typeof process<"u"&&process.env.FA_VERSION||"7.0.0"}function bo(Ae){var et=Ae.beat,pt=Ae.fade,Ft=Ae.beatFade,Zt=Ae.bounce,Rr=Ae.shake,mn=Ae.flash,Ye=Ae.spin,Li=Ae.spinPulse,_i=Ae.spinReverse,Ai=Ae.pulse,Gi=Ae.fixedWidth,Xs=Ae.inverse,Qa=Ae.border,ho=Ae.listItem,Pa=Ae.flip,Ja=Ae.size,ma=Ae.rotation,Ha=Ae.pull,uo=Ae.swapOpacity,Qo=Ae.rotateBy,So=Ae.widthAuto,Eo=Mo(Mu,kl),ku=ae(ae(ae(ae(ae(ae({"fa-beat":et,"fa-fade":pt,"fa-beat-fade":Ft,"fa-bounce":Zt,"fa-shake":Rr,"fa-flash":mn,"fa-spin":Ye,"fa-spin-reverse":_i,"fa-spin-pulse":Li,"fa-pulse":Ai,"fa-fw":Gi,"fa-inverse":Xs,"fa-border":Qa,"fa-li":ho,"fa-flip":Pa===!0,"fa-flip-horizontal":Pa==="horizontal"||Pa==="both","fa-flip-vertical":Pa==="vertical"||Pa==="both"},"fa-".concat(Ja),typeof Ja<"u"&&Ja!==null),"fa-rotate-".concat(ma),typeof ma<"u"&&ma!==null&&ma!==0),"fa-pull-".concat(Ha),typeof Ha<"u"&&Ha!==null),"fa-swap-opacity",uo),"fa-rotate-by",Eo&&Qo),"fa-width-auto",Eo&&So);return Object.keys(ku).map(function(al){return ku[al]?al:null}).filter(function(al){return al})}function Mo(Ae,et){for(var pt=Ae.split("-"),Ft=$o(pt,2),Zt=Ft[0],Rr=Ft[1],mn=et.split("-"),Ye=$o(mn,2),Li=Ye[0],_i=Ye[1],Ai=Zt.split("."),Gi=Li.split("."),Xs=0;Xs<Math.max(Ai.length,Gi.length);Xs++){var Qa=Ai[Xs]||"0",ho=Gi[Xs]||"0",Pa=parseInt(Qa,10),Ja=parseInt(ho,10);if(Pa!==Ja)return Pa>Ja}for(var ma=0;ma<Math.max(Ai.length,Gi.length);ma++){var Ha=Ai[ma]||"0",uo=Gi[ma]||"0";if(Ha!==uo&&Ha.length!==uo.length)return Ha.length<uo.length}return!(Rr&&!_i)}function Bs(Ae){return Ae=Ae-0,Ae===Ae}function rl(Ae){return Bs(Ae)?Ae:(Ae=Ae.replace(/[\-_\s]+(.)?/g,function(et,pt){return pt?pt.toUpperCase():""}
570),Ae.substr(0,1).toLowerCase()+Ae.substr(1))}var lc=["style"];function Nl(Ae){return Ae.charAt(0).toUpperCase()+Ae.slice(1)}function nl(Ae){return Ae.split(";").map(function(et){return et.trim()}).filter(function(et){return et}).reduce(function(et,pt){var Ft=pt.indexOf(":"),Zt=rl(pt.slice(0,Ft)),Rr=pt.slice(Ft+1).trim();return Zt.startsWith("webkit")?et[Nl(Zt)]=Rr:et[Zt]=Rr,et},{})}function il(Ae,et){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof et=="string")return et;var Ft=(et.children||[]).map(function(Li){return il(Ae,Li)}),Zt=Object.keys(et.attributes||{}).reduce(function(Li,_i){var Ai=et.attributes[_i];switch(_i){case"class":Li.attrs.className=Ai,delete et.attributes.class;break;case"style":Li.attrs.style=nl(Ai);break;default:_i.indexOf("aria-")===0||_i.indexOf("data-")===0?Li.attrs[_i.toLowerCase()]=Ai:Li.attrs[rl(_i)]=Ai}return Li},{attrs:{}}),Rr=pt.style,mn=Rr===void 0?{}:Rr,Ye=Ps(pt,lc);return Zt.attrs.style=vs(vs({},Zt.attrs.style),mn),Ae.apply(void 0,[et.tag,vs(vs({},Zt.attrs),Ye)].concat(yo(Ft)))}var vl=!1;try{vl=!0}catch{}function sl(){if(!vl&&console&&typeof console.error=="function"){var Ae;(Ae=console).error.apply(Ae,arguments)}}function ko(Ae){if(Ae&&Lo(Ae)==="object"&&Ae.prefix&&Ae.iconName&&Ae.icon)return Ae;if(wu.icon)return wu.icon(Ae);if(Ae===null)return null;if(Ae&&Lo(Ae)==="object"&&Ae.prefix&&Ae.iconName)return Ae;if(Array.isArray(Ae)&&Ae.length===2)return{prefix:Ae[0],iconName:Ae[1]};if(typeof Ae=="string")return{prefix:"fas",iconName:Ae}}function lu(Ae,et){return Array.isArray(et)&&et.length>0||!Array.isArray(et)&&et?ae({},Ae,et):{}}var Go={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},Xo=_u.forwardRef(function(Ae,et){var pt=vs(vs({},Go),Ae),Ft=pt.icon,Zt=pt.mask,Rr=pt.symbol,mn=pt.className,Ye=pt.title,Li=pt.titleId,_i=pt.maskId,Ai=ko(Ft),Gi=lu("classes",[].concat(yo(bo(pt)),yo((mn||"").split(" ")))),Xs=lu("transform",typeof pt.transform=="string"?wu.transform(pt.transform):pt.transform),Qa=lu("mask",ko(Zt)),ho=Yl(Ai,vs(vs(vs(vs({},Gi),Xs),Qa),{},{symbol:Rr,title:Ye,titleId:Li,maskId:_i}));if(!ho)return sl("Could not find icon",Ai),null;var Pa=ho.abstract,Ja={ref:et};return Object.keys(pt).forEach(function(ma){Go.hasOwnProperty(ma)||(Ja[ma]=pt[ma])}),Cc(Pa[0],Ja)});Xo.displayName="FontAwesomeIcon",Xo.propTypes={beat:Fs().bool,border:Fs().bool,beatFade:Fs().bool,bounce:Fs().bool,className:Fs().string,fade:Fs().bool,flash:Fs().bool,mask:Fs().oneOfType([Fs().object,Fs().array,Fs().string]),maskId:Fs().string,fixedWidth:Fs().bool,inverse:Fs().bool,flip:Fs().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Fs().oneOfType([Fs().object,Fs().array,Fs().string]),listItem:Fs().bool,pull:Fs().oneOf(["right","left"]),pulse:Fs().bool,rotation:Fs().oneOf([0,90,180,270]),rotateBy:Fs().bool,shake:Fs().bool,size:Fs().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Fs().bool,spinPulse:Fs().bool,spinReverse:Fs().bool,symbol:Fs().oneOfType([Fs().bool,Fs().string]),title:Fs().string,titleId:Fs().string,transform:Fs().oneOfType([Fs().string,Fs().object]),swapOpacity:Fs().bool,widthAuto:Fs().bool};var Cc=il.bind(null,_u.createElement)},51043(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.toBig=d.shrSL=d.shrSH=d.rotrSL=d.rotrSH=d.rotrBL=d.rotrBH=d.rotr32L=d.rotr32H=d.rotlSL=d.rotlSH=d.rotlBL=d.rotlBH=d.add5L=d.add5H=d.add4L=d.add4H=d.add3L=d.add3H=void 0,d.add=P,d.fromBig=r,d.split=a;const e=BigInt(2**32-1),n=BigInt(32);function r(Z,J=!1){return J?{h:Number(Z&e),l:Number(Z>>n&e)}:{h:Number(Z>>n&e)|0,l:Number(Z&e)|0}}function a(Z,J=!1){const ie=Z.length;let le=new Uint32Array(ie),he=new Uint32Array(ie);for(let me=0;me<ie;me++){const{h:je,l:Fe}=r(Z[me],J);[le[me],he[me]]=[je,Fe]}return[le,he]}const s=(Z,J)=>BigInt(Z>>>0)<<n|BigInt(J>>>0);d.toBig=s;const i=(Z,J,ie)=>Z>>>ie;d.shrSH=i;const u=(Z,J,ie)=>Z<<32-ie|J>>>ie;d.shrSL=u;const l=(Z,J,ie)=>Z>>>ie|J<<32-ie;d.rotrSH=l;const m=(Z,J,ie)=>Z<<32-ie|J>>>ie;d.rotrSL=m;const g=(Z,J,ie)=>Z<<64-ie|J>>>ie-32;d.rotrBH=g;const h=(Z,J,ie)=>Z>>>ie-32|J<<64-ie;d.rotrBL=h;const v=(Z,J)=>J;d.rotr32H=v;const x=(Z,J)=>Z;d.rotr32L=x;const T=(Z,J,ie)=>Z<<ie|J>>>32-ie;d.rotlSH=T;const E=(Z,J,ie)=>J<<ie|Z>>>32-ie;d.rotlSL=E;const _=(Z,J,ie)=>J<<ie-32|Z>>>64-ie;d.rotlBH=_;const C=(Z,J,ie)=>Z<<ie-32|J>>
570>64-ie;d.rotlBL=C;function P(Z,J,ie,le){const he=(J>>>0)+(le>>>0);return{h:Z+ie+(he/2**32|0)|0,l:he|0}}const k=(Z,J,ie)=>(Z>>>0)+(J>>>0)+(ie>>>0);d.add3L=k;const D=(Z,J,ie,le)=>J+ie+le+(Z/2**32|0)|0;d.add3H=D;const B=(Z,J,ie,le)=>(Z>>>0)+(J>>>0)+(ie>>>0)+(le>>>0);d.add4L=B;const $=(Z,J,ie,le,he)=>J+ie+le+he+(Z/2**32|0)|0;d.add4H=$;const F=(Z,J,ie,le,he)=>(Z>>>0)+(J>>>0)+(ie>>>0)+(le>>>0)+(he>>>0);d.add5L=F;const V=(Z,J,ie,le,he,me)=>J+ie+le+he+me+(Z/2**32|0)|0;d.add5H=V;const W={fromBig:r,split:a,toBig:s,shrSH:i,shrSL:u,rotrSH:l,rotrSL:m,rotrBH:g,rotrBL:h,rotr32H:v,rotr32L:x,rotlSH:T,rotlSL:E,rotlBH:_,rotlBL:C,add:P,add3L:k,add3H:D,add4L:B,add4H:$,add5H:V,add5L:F};d.default=W},74700(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.crypto=void 0,d.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},85634(f,d,e){"use strict";var n;n={value:!0},n=n=n=n=n=n=d.sha3_512=n=n=n=n=void 0,n=k;const r=e(51043),a=e(54972),s=BigInt(0),i=BigInt(1),u=BigInt(2),l=BigInt(7),m=BigInt(256),g=BigInt(113),h=[],v=[],x=[];for(let F=0,V=i,W=1,Z=0;F<24;F++){[W,Z]=[Z,(2*W+3*Z)%5],h.push(2*(5*Z+W)),v.push((F+1)*(F+2)/2%64);let J=s;for(let ie=0;ie<7;ie++)V=(V<<i^(V>>l)*g)%m,V&u&&(J^=i<<(i<<BigInt(ie))-i);x.push(J)}const T=(0,r.split)(x,!0),E=T[0],_=T[1],C=(F,V,W)=>W>32?(0,r.rotlBH)(F,V,W):(0,r.rotlSH)(F,V,W),P=(F,V,W)=>W>32?(0,r.rotlBL)(F,V,W):(0,r.rotlSL)(F,V,W);function k(F,V=24){const W=new Uint32Array(10);for(let Z=24-V;Z<24;Z++){for(let le=0;le<10;le++)W[le]=F[le]^F[le+10]^F[le+20]^F[le+30]^F[le+40];for(let le=0;le<10;le+=2){const he=(le+8)%10,me=(le+2)%10,je=W[me],Fe=W[me+1],Je=C(je,Fe,1)^W[he],Xe=P(je,Fe,1)^W[he+1];for(let ge=0;ge<50;ge+=10)F[le+ge]^=Je,F[le+ge+1]^=Xe}let J=F[2],ie=F[3];for(let le=0;le<24;le++){const he=v[le],me=C(J,ie,he),je=P(J,ie,he),Fe=h[le];J=F[Fe],ie=F[Fe+1],F[Fe]=me,F[Fe+1]=je}for(let le=0;le<50;le+=10){for(let he=0;he<10;he++)W[he]=F[le+he];for(let he=0;he<10;he++)F[le+he]^=~W[(he+2)%10]&W[(he+4)%10]}F[0]^=E[Z],F[1]^=_[Z]}(0,a.clean)(W)}class D extends a.Hash{constructor(V,W,Z,J=!1,ie=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=V,this.suffix=W,this.outputLen=Z,this.enableXOF=J,this.rounds=ie,(0,a.anumber)(Z),!(0<V&&V<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,a.u32)(this.state)}clone(){return this._cloneInto()}keccak(){(0,a.swap32IfBE)(this.state32),k(this.state32,this.rounds),(0,a.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(V){(0,a.aexists)(this),V=(0,a.toBytes)(V),(0,a.abytes)(V);const{blockLen:W,state:Z}=this,J=V.length;for(let ie=0;ie<J;){const le=Math.min(W-this.pos,J-ie);for(let he=0;he<le;he++)Z[this.pos++]^=V[ie++];this.pos===W&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:V,suffix:W,pos:Z,blockLen:J}=this;V[Z]^=W,(W&128)!==0&&Z===J-1&&this.keccak(),V[J-1]^=128,this.keccak()}writeInto(V){(0,a.aexists)(this,!1),(0,a.abytes)(V),this.finish();const W=this.state,{blockLen:Z}=this;for(let J=0,ie=V.length;J<ie;){this.posOut>=Z&&this.keccak();const le=Math.min(Z-this.posOut,ie-J);V.set(W.subarray(this.posOut,this.posOut+le),J),this.posOut+=le,J+=le}return V}xofInto(V){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(V)}xof(V){return(0,a.anumber)(V),this.xofInto(new Uint8Array(V))}digestInto(V){if((0,a.aoutput)(V,this),this.finished)throw new Error("digest() was already called");return this.writeInto(V),this.destroy(),V}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,a.clean)(this.state)}_cloneInto(V){const{blockLen:W,suffix:Z,outputLen:J,rounds:ie,enableXOF:le}=this;return V||(V=new D(W,Z,J,le,ie)),V.state32.set(this.state32),V.pos=this.pos,V.posOut=this.posOut,V.finished=this.finished,V.rounds=ie,V.suffix=Z,V.outputLen=J,V.enableXOF=le,V.destroyed=this.destroyed,V}}n=D;const B=(F,V,W)=>(0,a.createHasher)(()=>new D(V,F,W));n=B(6,144,224/8),n=B(6,136,256/8),n=B(6,104,384/8),d.sha3_512=B(6,72,512/8),n=B(1,144,224/8),n=B(1,136,256/8),n=B(1,104,384/8),n=B(1,72,512/8);const $=(F,V,W)=>(0,a.createXOFer)((Z={})=>new D(V,F,Z.dkLen===void 0?W:Z.dkLen,!0));n=$(31,168,128/8),n=$(31,136,256/8)},54972(f,d,e){"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(d,"__esModule",{value:!0}),d.wrapXOFConstructorWithOpts=d.wrapConstructorWithOpts=d.wrapConstructor=d.Hash=d.nextTick=d.swap32IfBE=d.byteSwapIfBE=d.swap8IfBE=d.isLE=void 0,d.isBytes=r,d.anumber=a,d.abytes=s,d.ahash=i,d.aexists=u,d.aoutput=l,d.u8=m,d.u32=g,d.clean=h,d.createView=v,d.rotr=x,d.rotl=T,d.byteSwap=E,d.byteSwap32=_,d.bytesToHex=k,d.hexToBytes=$,d.asyncLoop=V,d.utf8ToBytes=W,d.bytesToUtf8=Z,d.toBytes=J,d.kdfInputToBytes=ie,d.concatBytes=le,d.checkOpts=he,d.createHasher=je,d.createOptHasher=Fe,d.createXOFer=Je,d.randomBytes=Xe;const n=e(74700);function r(ge){return ge instanceof Uint8Array||ArrayBuffer.isView(ge)&&ge.constructor.name==="Uint8Array"}function a(ge){if(!Number.isSafeInteger(ge)||ge<0)throw new Error("positive integer expected, got "+ge)}function s(ge,...be){if(!r(ge))throw new Error("Uint8Array expected");if(be.length>0&&!be.includes(ge.length))throw new Error("Uint8Array expected of length "+be+", got length="+ge.length)}function i(ge){if(typeof ge!="function"||typeof ge.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");a(ge.outputLen),a(ge.blockLen)}function u(ge,be=!0){if(ge.destroyed)throw new Error("Hash instance has been destroyed");if(be&&ge.finished)throw new Error("Hash#digest() has already been called")}function l(ge,be){s(ge);const Ie=be.outputLen;if(ge.length<Ie)throw new Error("digestInto() expects output buffer of length at least "+Ie)}function m(ge){return new Uint8Array(ge.buffer,ge.byteOffset,ge.byteLength)}function g(ge){return new Uint32Array(ge.buffer,ge.byteOffset,Math.floor(ge.byteLength/4))}function h(...ge){for(let be=0;be<ge.length;be++)ge[be].fill(0)}function v(ge){return new DataView(ge.buffer,ge.byteOffset,ge.byteLength)}function x(ge,be){return ge<<32-be|ge>>>be}function T(ge,be){return ge<<be|ge>>>32-be>>>0}d.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function E(ge){return ge<<24&4278190080|ge<<8&16711680|ge>>>8&65280|ge>>>24&255}d.swap8IfBE=d.isLE?ge=>ge:ge=>E(ge),d.byteSwapIfBE=d.swap8IfBE;function _(ge){for(let be=0;be<ge.length;be++)ge[be]=E(ge[be]);return ge}d.swap32IfBE=d.isLE?ge=>ge:_;const C=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",P=Array.from({length:256},(ge,be)=>be.toString(16).padStart(2,"0"));function k(ge){if(s(ge),C)return ge.toHex();let be="";for(let Ie=0;Ie<ge.length;Ie++)be+=P[ge[Ie]];return be}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function B(ge){if(ge>=D._0&&ge<=D._9)return ge-D._0;if(ge>=D.A&&ge<=D.F)return ge-(D.A-10);if(ge>=D.a&&ge<=D.f)return ge-(D.a-10)}function $(ge){if(typeof ge!="string")throw new Error("hex string expected, got "+typeof ge);if(C)return Uint8Array.fromHex(ge);const be=ge.length,Ie=be/2;if(be%2)throw new Error("hex string expected, got unpadded hex of length "+be);const Re=new Uint8Array(Ie);for(let ye=0,De=0;ye<Ie;ye++,De+=2){const $e=B(ge.charCodeAt(De)),qe=B(ge.charCodeAt(De+1));if($e===void 0||qe===void 0){const It=ge[De]+ge[De+1];throw new Error('hex string expected, got non-hex character "'+It+'" at index '+De)}Re[ye]=$e*16+qe}return Re}const F=async()=>{};d.nextTick=F;async function V(ge,be,Ie){let Re=Date.now();for(let ye=0;ye<ge;ye++){Ie(ye);const De=Date.now()-Re;De>=0&&De<be||(await(0,d.nextTick)(),Re+=De)}}function W(ge){if(typeof ge!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(ge))}function Z(ge){return new TextDecoder().decode(ge)}function J(ge){return typeof ge=="string"&&(ge=W(ge)),s(ge),ge}function ie(ge){return typeof ge=="string"&&(ge=W(ge)),s(ge),ge}function le(...ge){let be=0;for(let Re=0;Re<ge.length;Re++){const ye=ge[Re];s(ye),be+=ye.length}const Ie=new Uint8Array(be);for(let Re=0,ye=0;Re<ge.length;Re++){const De=ge[Re];Ie.set(De,ye),ye+=De.length}return Ie}function he(ge,be){if(be!==void 0&&{}.toString.call(be)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(ge,be)}class me{}d.Hash=me;function je(ge){const be=Re=>ge().update(J(Re)).digest(),Ie=ge();return be.outputLen=Ie.outputLen,be.blockLen=Ie.blockLen,be.create=()=>ge(),be}function Fe(ge){const be=(Re,ye)=>ge(ye).update(J(Re)).digest(),Ie=ge({});return be.outputLen=Ie.outputLen,be.blockLen=Ie.blockLen,be.create=Re=>ge(Re),be}function Je(ge){const be=(Re,ye)=>ge(ye).update(J(Re)).digest(),Ie=ge({});return be.outputLen=Ie.outputLen,be.blockLen=Ie.blockLen,be.create=Re=>ge(Re),be}d.wrapConstructor=je,d.wrapConstructorWithOpts=Fe,d.wrapXOFConstructorWithOpts=Je;function Xe(ge=32){if(n.crypto&&typeof n.crypto.getRandomValues=="function")return n.crypto.getRandomValues(new Uint8Array(ge));if(n.crypto&&typeof n.crypto.randomBytes=="function")return Uint8Array.from(n.crypto.randomBytes(ge));throw new Error("crypto.getRandomValues must be defined")}},94670(f,d,e){var n;const{createId:r,init:a,getConstants:s,isCuid:i}=e(83183);n=r,n=a,n=s,n=i},83183(f,d,e){var n;const{sha3_512:r}=e(85634),a=24,s=32,i=(C=4,P=Math.random)=>{let k="";for(;k.length<C;)k=k+Math.floor(P()*36).toString(36);return k};function u(C){let P=8n,k=0n;for(const D of C.values()){const B=BigInt(D);k=(k<<P)+B}return k}const l=(C="")=>u(r(C)).toString(36).slice(1),m=Array.from({length:26},(C,P)=>String.fromCharCode(P+97)),g=C=>m[Math.floor(C()*m.length)],h=({globalObj:C=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},random:P=Math.random}={})=>{const k=Object.keys(C).toString(),D=k.length?k+i(s,P):i(s,P);return l(D).substring(0,s)},v=C=>()=>C++,x=476782367,T=({random:C=Math.random,counter:P=v(Math.floor(C()*x)),length:k=a,fingerprint:D=h({random:C})}={})=>function(){const $=g(C),F=Date.now().toString(36),V=P().toString(36),W=i(k,C),Z=`${F+W+V+D}`;return`${$+l(Z).substring(1,k)}`},E=T(),_=(C,{minLength:P=2,maxLength:k=s}={})=>{const D=C.length,B=/^[0-9a-z]+$/;return!!(typeof C=="string"&&D>=P&&D<=k&&B.test(C))};f.exports.getConstants=()=>({defaultLength:a,bigLength:s}),f.exports.init=T,f.exports.createId=E,n=u,n=v,n=h,f.exports.isCuid=_},21570(f,d,e){"use strict";e.d(d,{A:()=>g});var n=function(h,v,x){return x===void 0&&(x=0),Math.round(Math.sqrt((1-x)*Math.pow(h,2)+x*Math.pow(v,2)))};const r=n;var a=function(h,v,x){return x===void 0&&(x=0),Number(((1-x)*h+x*v).toFixed(2))};const s=a;var i=e(55549),u=function(h){var v=h===void 0?[]:h,x=v[0],T=x===void 0?0:x,E=v[1],_=E===void 0?0:E,C=v[2],P=C===void 0?0:C,k=v[3],D=k===void 0?1:k,B=1<<24|T<<16|_<<8|P,$=B.toString(16).slice(1),F=(D*255).toString(16).padStart(2,"0").slice(0,2);return"#"+$+F};const l=u;var m=function(h,v,x){var T=(0,i.A)(h),E=T[0],_=T[1],C=T[2],P=T[3],k=(0,i.A)(v),D=k[0],B=k[1],$=k[2],F=k[3],V=l([r(E,D,x),r(_,B,x),r(C,$,x),s(P,F,x)]);return P===1&&F===1?V.slice(0,7):V};const g=m},55549(f,d,e){"use strict";e.d(d,{A:()=>u});var n=function(l){return l.split("").map(function(m){return m+m}).join("")},r=function(l){l===void 0&&(l="");var m=l.replace(/^#/,""),g=m.length;return g===3||g===4?n(m):m};const a=r;var s=function(l){return l?parseFloat((parseInt(l,16)/255).toFixed(2)):1},i=function(l){var m=a(l),g=m.slice(0,6),h=m.slice(6),v=parseInt(g,16);return[v>>16&255,v>>8&255,v>>0&255,s(h)]};const u=i},17776(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(55549),r=function(u){var l=u===void 0?[]:u,m=l[0],g=m===void 0?0:m,h=l[1],v=h===void 0?0:h,x=l[2],T=x===void 0?0:x,E=l[3],_=E===void 0?1:E;return"rgba("+g+","+v+","+T+","+_+")"};const a=r;var s=function(u,l){var m=(0,n.A)(u),g=m[0],h=m[1],v=m[2],x=m[3],T=l??x;return a([g,h,v,T])};const i=s},65924(f,d,e){"use strict";var n=e(34980),r=function(i,u){return u===void 0&&(u=!1),function(l,m,g){if(l){i(l);return}if(m.statusCode>=400&&m.statusCode<=599){var h=g;if(u)if(n.TextDecoder){var v=a(m.headers&&m.headers["content-type"]);try{h=new TextDecoder(v).decode(g)}catch{}}else h=String.fromCharCode.apply(null,new Uint8Array(g));i({cause:h});return}i(null,g)}};function a(s){return s===void 0&&(s=""),s.toLowerCase().split(";").reduce(function(i,u){var l=u.split("="),m=l[0],g=l[1];return m.trim()==="charset"?g.trim():i},"utf-8")}f.exports=r},50013(f,d,e){"use strict";var n=e(34980),r=e(75039),a=e(27839),s=e(22185),i=e(91963);h.httpHandler=e(65924),h.requestInterceptorsStorage=new s,h.responseInterceptorsStorage=new s,h.retryManager=new i;/** 571 * @license 572 * slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/> 573 * Copyright (c) 2014 David Björklund 574 * Available under the MIT license 575 * <https://github.com/kesla/parse-headers/blob/master/LICENCE>
vendor: 4,359 bytes, lines 576-577
576 */var u=function(_){var C={};return _&&_.trim().split(` 577`).forEach(function(P){var k=P.indexOf(":"),D=P.slice(0,k).trim().toLowerCase(),B=P.slice(k+1).trim();typeof C[D]>"u"?C[D]=B:Array.isArray(C[D])?C[D].push(B):C[D]=[C[D],B]}),C};f.exports=h,f.exports.default=h,h.XMLHttpRequest=n.XMLHttpRequest||T,h.XDomainRequest="withCredentials"in new h.XMLHttpRequest?h.XMLHttpRequest:n.XDomainRequest,l(["get","put","post","patch","head","delete"],function(E){h[E==="delete"?"del":E]=function(_,C,P){return C=g(_,C,P),C.method=E.toUpperCase(),v(C)}});function l(E,_){for(var C=0;C<E.length;C++)_(E[C])}function m(E){for(var _ in E)if(E.hasOwnProperty(_))return!1;return!0}function g(E,_,C){var P=E;return a(_)?(C=_,typeof E=="string"&&(P={uri:E})):P=r({},_,{uri:E}),P.callback=C,P}function h(E,_,C){return _=g(E,_,C),v(_)}function v(E){if(typeof E.callback>"u")throw new Error("callback argument missing");if(E.requestType&&h.requestInterceptorsStorage.getIsEnabled()){var _={uri:E.uri||E.url,headers:E.headers||{},body:E.body,metadata:E.metadata||{},retry:E.retry,timeout:E.timeout},C=h.requestInterceptorsStorage.execute(E.requestType,_);E.uri=C.uri,E.headers=C.headers,E.body=C.body,E.metadata=C.metadata,E.retry=C.retry,E.timeout=C.timeout}var P=!1,k=function(ge,be,Ie){P||(P=!0,E.callback(ge,be,Ie))};function D(){V.readyState===4&&!h.responseInterceptorsStorage.getIsEnabled()&&setTimeout(F,0)}function B(){var Xe=void 0;if(V.response?Xe=V.response:Xe=V.responseText||x(V),je)try{Xe=JSON.parse(Xe)}catch{}return Xe}function $(Xe){if(clearTimeout(Fe),clearTimeout(E.retryTimeout),Xe instanceof Error||(Xe=new Error(""+(Xe||"Unknown XMLHttpRequest Error"))),Xe.statusCode=0,!Z&&h.retryManager.getIsEnabled()&&E.retry&&E.retry.shouldRetry()){E.retryTimeout=setTimeout(function(){E.retry.moveToNextAttempt(),E.xhr=V,v(E)},E.retry.getCurrentFuzzedDelay());return}if(E.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var ge={headers:Je.headers||{},body:Je.body,responseUrl:V.responseURL,responseType:V.responseType},be=h.responseInterceptorsStorage.execute(E.requestType,ge);Je.body=be.body,Je.headers=be.headers}return k(Xe,Je)}function F(){if(!Z){var Xe;clearTimeout(Fe),clearTimeout(E.retryTimeout),E.useXDR&&V.status===void 0?Xe=200:Xe=V.status===1223?204:V.status;var ge=Je,be=null;if(Xe!==0?(ge={body:B(),statusCode:Xe,method:ie,headers:{},url:J,rawRequest:V},V.getAllResponseHeaders&&(ge.headers=u(V.getAllResponseHeaders()))):be=new Error("Internal XMLHttpRequest Error"),E.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var Ie={headers:ge.headers||{},body:ge.body,responseUrl:V.responseURL,responseType:V.responseType},Re=h.responseInterceptorsStorage.execute(E.requestType,Ie);ge.body=Re.body,ge.headers=Re.headers}return k(be,ge,ge.body)}}var V=E.xhr||null;V||(E.cors||E.useXDR?V=new h.XDomainRequest:V=new h.XMLHttpRequest);var W,Z,J=V.url=E.uri||E.url,ie=V.method=E.method||"GET",le=E.body||E.data,he=V.headers=E.headers||{},me=!!E.sync,je=!1,Fe,Je={body:void 0,headers:{},statusCode:0,method:ie,url:J,rawRequest:V};if("json"in E&&E.json!==!1&&(je=!0,he.accept||he.Accept||(he.Accept="application/json"),ie!=="GET"&&ie!=="HEAD"&&(he["content-type"]||he["Content-Type"]||(he["Content-Type"]="application/json"),le=JSON.stringify(E.json===!0?le:E.json))),V.onreadystatechange=D,V.onload=F,V.onerror=$,V.onprogress=function(){},V.onabort=function(){Z=!0,clearTimeout(E.retryTimeout)},V.ontimeout=$,V.open(ie,J,!me,E.username,E.password),me||(V.withCredentials=!!E.withCredentials),!me&&E.timeout>0&&(Fe=setTimeout(function(){if(!Z){Z=!0,V.abort("timeout");var Xe=new Error("XMLHttpRequest timeout");Xe.code="ETIMEDOUT",$(Xe)}},E.timeout)),V.setRequestHeader)for(W in he)he.hasOwnProperty(W)&&V.setRequestHeader(W,he[W]);else if(E.headers&&!m(E.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in E&&(V.responseType=E.responseType),"beforeSend"in E&&typeof E.beforeSend=="function"&&E.beforeSend(V),V.send(le||null),V}function x(E){try{if(E.responseType==="document")return E.responseXML;var _=E.responseXML&&E.responseXML.documentElement.nodeName==="parsererror";if(E.responseType===""&&!_)return E.responseXML}catch{}return null}function T(){}},22185(f){"use strict";function d(a,s){var i=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(i)return(i=i.call(a)).next.bind(i);
vendor: 28,764 bytes, lines 577-581
577if(Array.isArray(a)||(i=e(a))||s&&a&&typeof a.length=="number"){i&&(a=i);var u=0;return function(){return u>=a.length?{done:!0}:{done:!1,value:a[u++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 578In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e(a,s){if(a){if(typeof a=="string")return n(a,s);var i=Object.prototype.toString.call(a).slice(8,-1);if(i==="Object"&&a.constructor&&(i=a.constructor.name),i==="Map"||i==="Set")return Array.from(a);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return n(a,s)}}function n(a,s){(s==null||s>a.length)&&(s=a.length);for(var i=0,u=new Array(s);i<s;i++)u[i]=a[i];return u}var r=(function(){function a(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var s=a.prototype;return s.getIsEnabled=function(){return this.enabled_},s.enable=function(){this.enabled_=!0},s.disable=function(){this.enabled_=!1},s.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},s.addInterceptor=function(u,l){this.typeToInterceptorsMap_.has(u)||this.typeToInterceptorsMap_.set(u,new Set);var m=this.typeToInterceptorsMap_.get(u);return m.has(l)?!1:(m.add(l),!0)},s.removeInterceptor=function(u,l){var m=this.typeToInterceptorsMap_.get(u);return m&&m.has(l)?(m.delete(l),!0):!1},s.clearInterceptorsByType=function(u){var l=this.typeToInterceptorsMap_.get(u);return l?(this.typeToInterceptorsMap_.delete(u),this.typeToInterceptorsMap_.set(u,new Set),!0):!1},s.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},s.getForType=function(u){return this.typeToInterceptorsMap_.get(u)||new Set},s.execute=function(u,l){for(var m=this.getForType(u),g=d(m),h;!(h=g()).done;){var v=h.value;try{l=v(l)}catch{}}return l},a})();f.exports=r},91963(f){"use strict";var d=(function(){function n(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var r=n.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},r.getMaxAttempts=function(){return this.maxAttempts_},r.setMaxAttempts=function(s){this.maxAttempts_=s},r.getDelayFactor=function(){return this.delayFactor_},r.setDelayFactor=function(s){this.delayFactor_=s},r.getFuzzFactor=function(){return this.fuzzFactor_},r.setFuzzFactor=function(s){this.fuzzFactor_=s},r.getInitialDelay=function(){return this.initialDelay_},r.setInitialDelay=function(s){this.initialDelay_=s},r.createRetry=function(s){var i=s===void 0?{}:s,u=i.maxAttempts,l=i.delayFactor,m=i.fuzzFactor,g=i.initialDelay;return new e({maxAttempts:u||this.maxAttempts_,delayFactor:l||this.delayFactor_,fuzzFactor:m||this.fuzzFactor_,initialDelay:g||this.initialDelay_})},n})(),e=(function(){function n(a){this.maxAttempts_=a.maxAttempts,this.delayFactor_=a.delayFactor,this.fuzzFactor_=a.fuzzFactor,this.currentDelay_=a.initialDelay,this.currentAttempt_=1}var r=n.prototype;return r.moveToNextAttempt=function(){this.currentAttempt_++;var s=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+s},r.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},r.getCurrentDelay=function(){return this.currentDelay_},r.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},r.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},r.getCurrentFuzzedDelay=function(){var s=this.getCurrentMinPossibleDelay(),i=this.getCurrentMaxPossibleDelay();return s+Math.random()*(i-s)},n})();f.exports=d},60818(f,d){"use strict";function e(i,u,l){if(l===void 0&&(l=Array.prototype),i&&typeof l.find=="function")return l.find.call(i,u);for(var m=0;m<i.length;m++)if(Object.prototype.hasOwnProperty.call(i,m)){var g=i[m];if(u.call(void 0,g,m,i))return g}}function n(i,u){return u===void 0&&(u=Object),u&&typeof u.freeze=="function"?u.freeze(i):i}function r(i,u){if(i===null||typeof i!="object")throw new TypeError("target is not an object");for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(i[l]=u[l]);return i}var a=n({HTML:"text/html",isHTML:function(i){return i===a.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(i){return i===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});d.assign=r,d.find=e,d.freeze=n,d.MIME_TYPE=a,d.NAMESPACE=s},80756(f,d,e){var n,r=e(60818),a=e(46742),s=e(91403),i=e(89022),u=a.DOMImplementation,l=r.NAMESPACE,m=i.ParseError,g=i.XMLReader;function h(k){return k.replace(/\r[\n\u0085]/g,` 579`).replace(/[\r\u0085\u2028]/g,` 580`)}function v(k){this.options=k||{locator:{}}}v.prototype.parseFromString=function(k,D){var B=this.options,$=new g,F=B.domBuilder||new T,V=B.errorHandler,W=B.locator,Z=B.xmlns||{},J=/\/x?html?$/.test(D),ie=J?s.HTML_ENTITIES:s.XML_ENTITIES;W&&F.setDocumentLocator(W),$.errorHandler=x(V,F,W),$.domBuilder=B.domBuilder||F,J&&(Z[""]=l.HTML),Z.xml=Z.xml||l.XML;var le=B.normalizeLineEndings||h;return k&&typeof k=="string"?$.parse(le(k),Z,ie):$.errorHandler.error("invalid doc source"),F.doc};function x(k,D,B){if(!k){if(D instanceof T)return D;k=D}var $={},F=k instanceof Function;B=B||{};function V(W){var Z=k[W];!Z&&F&&(Z=k.length==2?function(J){k(W,J)}:k),$[W]=Z&&function(J){Z("[xmldom "+W+"] "+J+_(B))}||function(){}}return V("warning"),V("error"),V("fatalError"),$}function T(){this.cdata=!1}function E(k,D){D.lineNumber=k.lineNumber,D.columnNumber=k.columnNumber}T.prototype={startDocument:function(){this.doc=new u().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(k,D,B,$){var F=this.doc,V=F.createElementNS(k,B||D),W=$.length;P(this,V),this.currentElement=V,this.locator&&E(this.locator,V);for(var Z=0;Z<W;Z++){var k=$.getURI(Z),J=$.getValue(Z),B=$.getQName(Z),ie=F.createAttributeNS(k,B);this.locator&&E($.getLocator(Z),ie),ie.value=ie.nodeValue=J,V.setAttributeNode(ie)}},endElement:function(k,D,B){var $=this.currentElement,F=$.tagName;this.currentElement=$.parentNode},startPrefixMapping:function(k,D){},endPrefixMapping:function(k){},processingInstruction:function(k,D){var B=this.doc.createProcessingInstruction(k,D);this.locator&&E(this.locator,B),P(this,B)},ignorableWhitespace:function(k,D,B){},characters:function(k,D,B){if(k=C.apply(this,arguments),k){if(this.cdata)var $=this.doc.createCDATASection(k);else var $=this.doc.createTextNode(k);this.currentElement?this.currentElement.appendChild($):/^\s*$/.test(k)&&this.doc.appendChild($),this.locator&&E(this.locator,$)}},skippedEntity:function(k){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(k){(this.locator=k)&&(k.lineNumber=0)},comment:function(k,D,B){k=C.apply(this,arguments);var $=this.doc.createComment(k);this.locator&&E(this.locator,$),P(this,$)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(k,D,B){var $=this.doc.implementation;if($&&$.createDocumentType){var F=$.createDocumentType(k,D,B);this.locator&&E(this.locator,F),P(this,F),this.doc.doctype=F}},warning:function(k){console.warn("[xmldom warning] "+k,_(this.locator))},error:function(k){console.error("[xmldom error] "+k,_(this.locator))},fatalError:function(k){throw new m(k,this.locator)}};function _(k){if(k)return` 581@`+(k.systemId||"")+"#[line:"+k.lineNumber+",col:"+k.columnNumber+"]"}function C(k,D,B){return typeof k=="string"?k.substr(D,B):k.length>=D+B||D?new java.lang.String(k,D,B)+"":k}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(k){T.prototype[k]=function(){return null}});function P(k,D){k.currentElement?k.currentElement.appendChild(D):k.doc.appendChild(D)}n=T,n=h,d.DOMParser=v},46742(f,d,e){var n=e(60818),r=n.find,a=n.NAMESPACE;function s(oe){return oe!==""}function i(oe){return oe?oe.split(/[\t\n\f\r ]+/).filter(s):[]}function u(oe,xe){return oe.hasOwnProperty(xe)||(oe[xe]=!0),oe}function l(oe){if(!oe)return[];var xe=i(oe);return Object.keys(xe.reduce(u,{}))}function m(oe){return function(xe){return oe&&oe.indexOf(xe)!==-1}}function g(oe,xe){for(var Ge in oe)Object.prototype.hasOwnProperty.call(oe,Ge)&&(xe[Ge]=oe[Ge])}function h(oe,xe){var Ge=oe.prototype;if(!(Ge instanceof xe)){let Et=function(){};var bt=Et;Et.prototype=xe.prototype,Et=new Et,g(Ge,Et),oe.prototype=Ge=Et}Ge.constructor!=oe&&(typeof oe!="function"&&console.error("unknown Class:"+oe),Ge.constructor=oe)}var v={},x=v.ELEMENT_NODE=1,T=v.ATTRIBUTE_NODE=2,E=v.TEXT_NODE=3,_=v.CDATA_SECTION_NODE=4,C=v.ENTITY_REFERENCE_NODE=5,P=v.ENTITY_NODE=6,k=v.PROCESSING_INSTRUCTION_NODE=7,D=v.COMMENT_NODE=8,B=v.DOCUMENT_NODE=9,$=v.DOCUMENT_TYPE_NODE=10,F=v.DOCUMENT_FRAGMENT_NODE=11,V=v.NOTATION_NODE=12,W={},Z={},J=W.INDEX_SIZE_ERR=(Z[1]="Index size error",1),ie=W.DOMSTRING_SIZE_ERR=(Z[2]="DOMString size error",2),le=W.HIERARCHY_REQUEST_ERR=(Z[3]="Hierarchy request error",3),he=W.WRONG_DOCUMENT_ERR=(Z[4]="Wrong document",4),me=W.INVALID_CHARACTER_ERR=(Z[5]="Invalid character",5),je=W.NO_DATA_ALLOWED_ERR=(Z[6]="No data allowed",6),Fe=W.NO_MODIFICATION_ALLOWED_ERR=(Z[7]="No modification allowed",7),Je=W.NOT_FOUND_ERR=(Z[8]="Not found",8),Xe=W.NOT_SUPPORTED_ERR=(Z[9]="Not supported",9),ge=W.INUSE_ATTRIBUTE_ERR=(Z[10]="Attribute in use",10),be=W.INVALID_STATE_ERR=(Z[11]="Invalid state",11),Ie=W.SYNTAX_ERR=(Z[12]="Syntax error",12),Re=W.INVALID_MODIFICATION_ERR=(Z[13]="Invalid modification",13),ye=W.NAMESPACE_ERR=(Z[14]="Invalid namespace",14),De=W.INVALID_ACCESS_ERR=(Z[15]="Invalid access",15);function $e(oe,xe){if(xe instanceof Error)var Ge=xe;else Ge=this,Error.call(this,Z[oe]),this.message=Z[oe],Error.captureStackTrace&&Error.captureStackTrace(this,$e);return Ge.code=oe,xe&&(this.message=this.message+": "+xe),Ge}$e.prototype=Error.prototype,g(W,$e);function qe(){}qe.prototype={length:0,item:function(oe){return oe>=0&&oe<this.length?this[oe]:null},toString:function(oe,xe){for(var Ge=[],bt=0;bt<this.length;bt++)qn(this[bt],Ge,oe,xe);return Ge.join("")},filter:function(oe){return Array.prototype.filter.call(this,oe)},indexOf:function(oe){return Array.prototype.indexOf.call(this,oe)}};function It(oe,xe){this._node=oe,this._refresh=xe,mt(this)}function mt(oe){var xe=oe._node._inc||oe._node.ownerDocument._inc;if(oe._inc!==xe){var Ge=oe._refresh(oe._node);if(ys(oe,"length",Ge.length),!oe.$$length||Ge.length<oe.$$length)for(var bt=Ge.length;bt in oe;bt++)Object.prototype.hasOwnProperty.call(oe,bt)&&delete oe[bt];g(Ge,oe),oe._inc=xe}}It.prototype.item=function(oe){return mt(this),this[oe]||null},h(It,qe);function kt(){}function Ut(oe,xe){for(var Ge=oe.length;Ge--;)if(oe[Ge]===xe)return Ge}function Ir(oe,xe,Ge,bt){if(bt?xe[Ut(xe,bt)]=Ge:xe[xe.length++]=Ge,oe){Ge.ownerElement=oe;var Et=oe.ownerDocument;Et&&(bt&&Ar(Et,oe,bt),tt(Et,oe,Ge))}}function Sr(oe,xe,Ge){var bt=Ut(xe,Ge);if(bt>=0){for(var Et=xe.length-1;bt<Et;)xe[bt]=xe[++bt];if(xe.length=Et,oe){var Tr=oe.ownerDocument;Tr&&(Ar(Tr,oe,Ge),Ge.ownerElement=null)}}else throw new $e(Je,new Error(oe.tagName+"@"+Ge))}kt.prototype={length:0,item:qe.prototype.item,getNamedItem:function(oe){for(var xe=this.length;xe--;){var Ge=this[xe];if(Ge.nodeName==oe)return Ge}},setNamedItem:function(oe){var xe=oe.ownerElement;if(xe&&xe!=this._ownerElement)throw new $e(ge);var Ge=this.getNamedItem(oe.nodeName);return Ir(this._ownerElement,this,oe,Ge),Ge},setNamedItemNS:function(oe){var xe=oe.ownerElement,Ge;if(xe&&xe!=this._ownerElement)throw new $e(ge);return Ge=this.getNamedItemNS(oe.namespaceURI,oe.localName),Ir(this._ownerElement,this,oe,Ge),Ge},removeNamedItem:function(oe){var xe=this.getNamedItem(oe);return Sr(this._ownerElement,this,xe),xe},removeNamedItemNS:function(oe,xe){var Ge=this.getNamedItemNS(oe,xe);return Sr(this._ownerElement,this,Ge),Ge},getNamedItemNS:function(oe,xe){for(var Ge=this.length;Ge--;){var bt=this[Ge];if(bt.localName==xe&&bt.namespaceURI==oe)return bt}return null}};function Yr(){}Yr.prototype={hasFeature:function(oe,xe){return!0},createDocument:function(oe,xe,Ge){var bt=new yt;if(bt.implementation=this,bt.childNodes=new qe,bt.doctype=Ge||null,Ge&&bt.appendChild(Ge),xe){var Et=bt.createElementNS(oe,xe);bt.appendChild(Et)}return bt},createDocumentType:function(oe,xe,Ge){var bt=new Sn;return bt.name=oe,bt.nodeName=oe,bt.publicId=xe||"",bt.systemId=Ge||"",bt}};function Gr(){}Gr.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(oe,xe){return Pr(this,oe,xe)},replaceChild:function(oe,xe){Pr(this,oe,xe,Tt),xe&&this.removeChild(xe)},removeChild:function(oe){return Er(this,oe)},appendChild:function(oe){return this.insertBefore(oe,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(oe){return $s(this.ownerDocument||this,this,oe)},normalize:function(){for(var oe=this.firstChild;oe;){var xe=oe.nextSibling;xe&&xe.nodeType==E&&oe.nodeType==E?(this.removeChild(xe),oe.appendData(xe.data)):(oe.normalize(),oe=xe)}},isSupported:function(oe,xe){return this.ownerDocument.implementation.hasFeature(oe,xe)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(oe){for(var xe=this;xe;){var Ge=xe._nsMap;if(Ge){for(var bt in Ge)if(Object.prototype.hasOwnProperty.call(Ge,bt)&&Ge[bt]===oe)return bt}xe=xe.nodeType==T?xe.ownerDocument:xe.parentNode}return null},lookupNamespaceURI:function(oe){for(var xe=this;xe;){var Ge=xe._nsMap;if(Ge&&Object.prototype.hasOwnProperty.call(Ge,oe))return Ge[oe];xe=xe.nodeType==T?xe.ownerDocument:xe.parentNode}return null},isDefaultNamespace:function(oe){var xe=this.lookupPrefix(oe);return xe==null}};function dn(oe){return oe=="<"&&"<"||oe==">"&&">"||oe=="&"&&"&"||oe=='"'&&"""||"&#"+oe.charCodeAt()+";"}g(v,Gr),g(v,Gr.prototype);function Kr(oe,xe){if(xe(oe))return!0;if(oe=oe.firstChild)do if(Kr(oe,xe))return!0;while(oe=oe.nextSibling)}function yt(){this.ownerDocument=this}function tt(oe,xe,Ge){oe&&oe._inc++;var bt=Ge.namespaceURI;bt===a.XMLNS&&(xe._nsMap[Ge.prefix?Ge.localName:""]=Ge.value)}function Ar(oe,xe,Ge,bt){oe&&oe._inc++;var Et=Ge.namespaceURI;Et===a.XMLNS&&delete xe._nsMap[Ge.prefix?Ge.localName:""]}function Mr(oe,xe,Ge){if(oe&&oe._inc){oe._inc++;var bt=xe.childNodes;if(Ge)bt[bt.length++]=Ge;else{for(var Et=xe.firstChild,Tr=0;Et;)bt[Tr++]=Et,Et=Et.nextSibling;bt.length=Tr,delete bt[bt.length]}}}function Er(oe,xe){var Ge=xe.previousSibling,bt=xe.nextSibling;return Ge?Ge.nextSibling=bt:oe.firstChild=bt,bt?bt.previousSibling=Ge:oe.lastChild=Ge,xe.parentNode=null,xe.previousSibling=null,xe.nextSibling=null,Mr(oe.ownerDocument,oe),xe}function Ur(oe){return oe&&(oe.nodeType===Gr.DOCUMENT_NODE||oe.nodeType===Gr.DOCUMENT_FRAGMENT_NODE||oe.nodeType===Gr.ELEMENT_NODE)}function or(oe){return oe&&(dr(oe)||Xr(oe)||An(oe)||oe.nodeType===Gr.DOCUMENT_FRAGMENT_NODE||oe.nodeType===Gr.COMMENT_NODE||oe.nodeType===Gr.PROCESSING_INSTRUCTION_NODE)}function An(oe){return oe&&oe.nodeType===Gr.DOCUMENT_TYPE_NODE}function dr(oe){return oe&&oe.nodeType===Gr.ELEMENT_NODE}function Xr(oe){return oe&&oe.nodeType===Gr.TEXT_NODE}function hn(oe,xe){var Ge=oe.childNodes||[];if(r(Ge,dr)||An(xe))return!1;var bt=r(Ge,An);return!(xe&&bt&&Ge.indexOf(bt)>Ge.indexOf(xe))}function Qt(oe,xe){var Ge=oe.childNodes||[];function bt(Tr){return dr(Tr)&&Tr!==xe}if(r(Ge,bt))return!1;var Et=r(Ge,An);return!(xe&&Et&&Ge.indexOf(Et)>Ge.indexOf(xe))}function Br(oe,xe,Ge){if(!Ur(oe))throw new $e(le,"Unexpected parent node type "+oe.nodeType);if(Ge&&Ge.parentNode!==oe)throw new $e(Je,"child not in parent");if(!or(xe)||An(xe)&&oe.nodeType!==Gr.DOCUMENT_NODE)throw new $e(le,"Unexpected node type "+xe.nodeType+" for parent node type "+oe.nodeType)}function zt(oe,xe,Ge){var bt=oe.childNodes||[],Et=xe.childNodes||[];if(xe.nodeType===Gr.DOCUMENT_FRAGMENT_NODE){var Tr=Et.filter(dr);if(Tr.length>1||r(Et,Xr))throw new $e(le,"More than one element or text in fragment");if(Tr.length===1&&!hn(oe,Ge))throw new $e(le,"Element in fragment can not be inserted before doctype")}if(dr(xe)&&!hn(oe,Ge))throw new $e(le,"Only one element can be added and only after doctype");if(An(xe)){if(r(bt,An))throw new $e(le,"Only one doctype is allowed");var vn=r(bt,dr);if(Ge&&bt.indexOf(vn)<bt.indexOf(Ge))throw new $e(le,"Doctype can only be inserted before an element");if(!Ge&&vn)throw new $e(le,"Doctype can not be appended since element is present")}}function Tt(oe,xe,Ge){var bt=oe.childNodes||[],Et=xe.childNodes||[];if(xe.nodeType===Gr.DOCUMENT_FRAGMENT_NODE){var Tr=Et.filter(dr);if(Tr.length>1||r(Et,Xr))throw new $e(le,"More than one element or text in fragment");if(Tr.length===1&&!Qt(oe,Ge))throw new $e(le,"Element in fragment can not be inserted before doctype")}if(dr(xe)&&!Qt(oe,Ge))throw new $e(le,"Only one element can be added and only after doctype");if(An(xe)){let ei=function(si){return An(si)&&si!==Ge};var Gt=ei;if(r(bt,ei))throw new $e(le,"Only one doctype is allowed");var vn=r(bt,dr);if(Ge&&bt.indexOf(vn)<bt.indexOf(Ge))throw new $e(le,"Doctype can only be inserted before an element")}}function Pr(oe,xe,Ge,bt){Br(oe,xe,Ge),oe.nodeType===Gr.DOCUMENT_NODE&&(bt||zt)(oe,xe,Ge);var Et=xe.parentNode;if(Et&&Et.removeChild(xe),xe.nodeType===F){var Tr=xe.firstChild;if(Tr==null)return xe;var vn=xe.lastChild}else Tr=vn=xe;var Gt=Ge?Ge.previousSibling:oe.lastChild;Tr.previousSibling=Gt,vn.nextSibling=Ge,Gt?Gt.nextSibling=Tr:oe.firstChild=Tr,Ge==null?oe.lastChild=vn:Ge.previousSibling=vn;do{Tr.parentNode=oe;var ei=oe.ownerDocument||oe;Y(Tr,ei)}while(Tr!==vn&&(Tr=Tr.nextSibling));return Mr(oe.ownerDocument||oe,oe),xe.nodeType==F&&(xe.firstChild=xe.lastChild=null),xe}function Y(oe,xe){if(oe.ownerDocument!==xe){if(oe.ownerDocument=xe,oe.nodeType===x&&oe.attributes)for(var Ge=0;Ge<oe.attributes.length;Ge++){var bt=oe.attributes.item(Ge);bt&&(bt.ownerDocument=xe)}for(var Et=oe.firstChild;Et;)Y(Et,xe),Et=Et.nextSibling}}function ht(oe,xe){xe.parentNode&&xe.parentNode.removeChild(xe),xe.parentNode=oe,xe.previousSibling=oe.lastChild,xe.nextSibling=null,xe.previousSibling?xe.previousSibling.nextSibling=xe:oe.firstChild=xe,oe.lastChild=xe,Mr(oe.ownerDocument,oe,xe);var Ge=oe.ownerDocument||oe;return Y(xe,Ge),xe}yt.prototype={nodeName:"#document",nodeType:B,doctype:null,documentElement:null,_inc:1,insertBefore:function(oe,xe){if(oe.nodeType==F){for(var Ge=oe.firstChild;Ge;){var bt=Ge.nextSibling;this.insertBefore(Ge,xe),Ge=bt}return oe}return Pr(this,oe,xe),Y(oe,this),this.documentElement===null&&oe.nodeType===x&&(this.documentElement=oe),oe},removeChild:function(oe){return this.documentElement==oe&&(this.documentElement=null),Er(this,oe)},replaceChild:function(oe,xe){Pr(this,oe,xe,Tt),Y(oe,this),xe&&this.removeChild(xe),dr(oe)&&(this.documentElement=oe)},importNode:function(oe,xe){return $n(this,oe,xe)},getElementById:function(oe){var xe=null;return Kr(this.documentElement,function(Ge){if(Ge.nodeType==x&&Ge.getAttribute("id")==oe)return xe=Ge,!0}),xe},getElementsByClassName:function(oe){var xe=l(oe);return new It(this,function(Ge){var bt=[];return xe.length>0&&Kr(Ge.documentElement,function(Et){if(Et!==Ge&&Et.nodeType===x){var Tr=Et.getAttribute("class");if(Tr){var vn=oe===Tr;if(!vn){var Gt=l(Tr);vn=xe.every(m(Gt))}vn&&bt.push(Et)}}}),bt})},createElement:function(oe){var xe=new ur;xe.ownerDocument=this,xe.nodeName=oe,xe.tagName=oe,xe.localName=oe,xe.childNodes=new qe;var Ge=xe.attributes=new kt;return Ge._ownerElement=xe,xe},createDocumentFragment:function(){var oe=new Bi;return oe.ownerDocument=this,oe.childNodes=new qe,oe},createTextNode:function(oe){var xe=new Zr;return xe.ownerDocument=this,xe.appendData(oe),xe},createComment:function(oe){var xe=new nn;return xe.ownerDocument=this,xe.appendData(oe),xe},createCDATASection:function(oe){var xe=new fn;return xe.ownerDocument=this,xe.appendData(oe),xe},createProcessingInstruction:function(oe,xe){var Ge=new ms;return Ge.ownerDocument=this,Ge.tagName=Ge.nodeName=Ge.target=oe,Ge.nodeValue=Ge.data=xe,Ge},createAttribute:function(oe){var xe=new it;return xe.ownerDocument=this,xe.name=oe,xe.nodeName=oe,xe.localName=oe,xe.specified=!0,xe},createEntityReference:function(oe){var xe=new qr;return xe.ownerDocument=this,xe.nodeName=oe,xe},createElementNS:function(oe,xe){var Ge=new ur,bt=xe.split(":"),Et=Ge.attributes=new kt;return Ge.childNodes=new qe,Ge.ownerDocument=this,Ge.nodeName=xe,Ge.tagName=xe,Ge.namespaceURI=oe,bt.length==2?(Ge.prefix=bt[0],Ge.localName=bt[1]):Ge.localName=xe,Et._ownerElement=Ge,Ge},createAttributeNS:function(oe,xe){var Ge=new it,bt=xe.split(":");return Ge.ownerDocument=this,Ge.nodeName=xe,Ge.name=xe,Ge.namespaceURI=oe,Ge.specified=!0,bt.length==2?(Ge.prefix=bt[0],Ge.localName=bt[1]):Ge.localName=xe,Ge}},h(yt,Gr);function ur(){this._nsMap={}}ur.prototype={nodeType:x,hasAttribute:function(oe){return this.getAttributeNode(oe)!=null},getAttribute:function(oe){var xe=this.getAttributeNode(oe);return xe&&xe.value||""},getAttributeNode:function(oe){return this.attributes.getNamedItem(oe)},setAttribute:function(oe,xe){var Ge=this.ownerDocument.createAttribute(oe);Ge.value=Ge.nodeValue=""+xe,this.setAttributeNode(Ge)},removeAttribute:function(oe){var xe=this.getAttributeNode(oe);xe&&this.removeAttributeNode(xe)},appendChild:function(oe){return oe.nodeType===F?this.insertBefore(oe,null):ht(this,oe)},setAttributeNode:function(oe){return this.attributes.setNamedItem(oe)},setAttributeNodeNS:function(oe){return this.attributes.setNamedItemNS(oe)},removeAttributeNode:function(oe){return this.attributes.removeNamedItem(oe.nodeName)},removeAttributeNS:function(oe,xe){var Ge=this.getAttributeNodeNS(oe,xe);Ge&&this.removeAttributeNode(Ge)},hasAttributeNS:function(oe,xe){return this.getAttributeNodeNS(oe,xe)!=null},getAttributeNS:function(oe,xe){var Ge=this.getAttributeNodeNS(oe,xe);return Ge&&Ge.value||""},setAttributeNS:function(oe,xe,Ge){var bt=this.ownerDocument.createAttributeNS(oe,xe);bt.value=bt.nodeValue=""+Ge,this.setAttributeNode(bt)},getAttributeNodeNS:function(oe,xe){return this.attributes.getNamedItemNS(oe,xe)},getElementsByTagName:function(oe){return new It(this,function(xe){var Ge=[];return Kr(xe,function(bt){bt!==xe&&bt.nodeType==x&&(oe==="*"||bt.tagName==oe)&&Ge.push(bt)}),Ge})},getElementsByTagNameNS:function(oe,xe){return new It(this,function(Ge){var bt=[];return Kr(Ge,function(Et){Et!==Ge&&Et.nodeType===x&&(oe==="*"||Et.namespaceURI===oe)&&(xe==="*"||Et.localName==xe)&&bt.push(Et)}),bt})}},yt.prototype.getElementsByTagName=ur.prototype.getElementsByTagName,yt.prototype.getElementsByTagNameNS=ur.prototype.getElementsByTagNameNS,h(ur,Gr);function it(){}it.prototype.nodeType=T,h(it,Gr);function Rt(){}Rt.prototype={data:"",substringData:function(oe,xe){return this.data.substring(oe,oe+xe)},appendData:function(oe){oe=this.data+oe,this.nodeValue=this.data=oe,this.length=oe.length},insertData:function(oe,xe){this.replaceData(oe,0,xe)},appendChild:function(oe){throw new Error(Z[le])},deleteData:function(oe,xe){this.replaceData(oe,xe,"")},replaceData:function(oe,xe,Ge){var bt=this.data.substring(0,oe),Et=this.data.substring(oe+xe);Ge=bt+Ge+Et,this.nodeValue=this.data=Ge,this.length=Ge.length}},h(Rt,Gr);function Zr(){}Zr.prototype={nodeName:"#text",nodeType:E,splitText:function(oe){var xe=this.data,Ge=xe.substring(oe);xe=xe.substring(0,oe),this.data=this.nodeValue=xe,this.length=xe.length;var bt=this.ownerDocument.createTextNode(Ge);return this.parentNode&&this.parentNode.insertBefore(bt,this.nextSibling),bt}},h(Zr,Rt);function nn(){}nn.prototype={nodeName:"#comment",nodeType:D},h(nn,Rt);function fn(){}fn.prototype={nodeName:"#cdata-section",nodeType:_},h(fn,Rt);function Sn(){}Sn.prototype.nodeType=$,h(Sn,Gr);function Ci(){}Ci.prototype.nodeType=V,h(Ci,Gr);function $i(){}$i.prototype.nodeType=P,h($i,Gr);function qr(){}qr.prototype.nodeType=C,h(qr,Gr);function Bi(){}Bi.prototype.nodeName="#document-fragment",Bi.prototype.nodeType=F,h(Bi,Gr);function ms(){}ms.prototype.nodeType=k,h(ms,Gr);function hs(){}hs.prototype.serializeToString=function(oe,xe,Ge){return Mi.call(oe,xe,Ge)},Gr.prototype.toString=Mi;function Mi(oe,xe){var Ge=[],bt=this.nodeType==9&&this.documentElement||this,Et=bt.prefix,Tr=bt.namespaceURI;if(Tr&&Et==null){var Et=bt.lookupPrefix(Tr);if(Et==null)var vn=[{namespace:Tr,prefix:null}]}return qn(this,Ge,oe,xe,vn),Ge.join("")}function gi(oe,xe,Ge){var bt=oe.prefix||"",Et=oe.namespaceURI;if(!Et||bt==="xml"&&Et===a.XML||Et===a.XMLNS)return!1;for(var Tr=Ge.length;Tr--;){var vn=Ge[Tr];if(vn.prefix===bt)return vn.namespace!==Et}return!0}function Hi(oe,xe,Ge){oe.push(" ",xe,'="',Ge.replace(/[<>&"\t\n\r]/g,dn),'"')}function qn(oe,xe,Ge,bt,Et){if(Et||(Et=[]),bt)if(oe=bt(oe),oe){if(typeof oe=="string"){xe.push(oe);return}}else return;switch(oe.nodeType){case x:var Tr=oe.attributes,vn=Tr.length,nr=oe.firstChild,Gt=oe.tagName;Ge=a.isHTML(oe.namespaceURI)||Ge;var ei=Gt;if(!Ge&&!oe.prefix&&oe.namespaceURI){for(var si,yn=0;yn<Tr.length;yn++)if(Tr.item(yn).name==="xmlns"){si=Tr.item(yn).value;break}if(!si)for(var rs=Et.length-1;rs>=0;rs--){var xn=Et[rs];if(xn.prefix===""&&xn.namespace===oe.namespaceURI){si=xn.namespace;break}}if(si!==oe.namespaceURI)for(var rs=Et.length-1;rs>=0;rs--){var xn=Et[rs];if(xn.namespace===oe.namespaceURI){xn.prefix&&(ei=xn.prefix+":"+Gt);break}}}xe.push("<",ei);for(var Ms=0;Ms<vn;Ms++){var Yi=Tr.item(Ms);Yi.prefix=="xmlns"?Et.push({prefix:Yi.localName,namespace:Yi.value}):Yi.nodeName=="xmlns"&&Et.push({prefix:"",namespace:Yi.value})}for(var Ms=0;Ms<vn;Ms++){var Yi=Tr.item(Ms);if(gi(Yi,Ge,Et)){var Gs=Yi.prefix||"",us=Yi.namespaceURI;Hi(xe,Gs?"xmlns:"+Gs:"xmlns",us),Et.push({prefix:Gs,namespace:us})}qn(Yi,xe,Ge,bt,Et)}if(Gt===ei&&gi(oe,Ge,Et)){var Gs=oe.prefix||"",us=oe.namespaceURI;Hi(xe,Gs?"xmlns:"+Gs:"xmlns",us),Et.push({prefix:Gs,namespace:us})}if(nr||Ge&&!/^(?:meta|link|img|br|hr|input)$/i.test(Gt)){if(xe.push(">"),Ge&&/^script$/i.test(Gt))for(;nr;)nr.data?xe.push(nr.data):qn(nr,xe,Ge,bt,Et.slice()),nr=nr.nextSibling;else for(;nr;)qn(nr,xe,Ge,bt,Et.slice()),nr=nr.nextSibling;xe.push("</",ei,">")}else xe.push("/>");return;case B:case F:for(var nr=oe.firstChild;nr;)qn(nr,xe,Ge,bt,Et.slice()),nr=nr.nextSibling;return;case T:return Hi(xe,oe.name,oe.value);case E:return xe.push(oe.data.replace(/[<&>]/g,dn));case _:return xe.push("<![CDATA[",oe.data,"]]>");case D:return xe.push("<!--",oe.data,"-->");case $:var cr=oe.publicId,ln=oe.systemId;if(xe.push("<!DOCTYPE ",oe.name),cr)xe.push(" PUBLIC ",cr),ln&&ln!="."&&xe.push(" ",ln),xe.push(">");else if(ln&&ln!=".")xe.push(" SYSTEM ",ln,">");else{var Yn=oe.internalSubset;Yn&&xe.push(" [",Yn,"]"),xe.push(">")}return;case k:return xe.push("<?",oe.target," ",oe.data,"?>");case C:return xe.push("&",oe.nodeName,";");default:xe.push("??",oe.nodeName)}}function $n(oe,xe,Ge){var bt;switch(xe.nodeType){case x:bt=xe.cloneNode(!1),bt.ownerDocument=oe;case F:break;case T:Ge=!0;break}if(bt||(bt=xe.cloneNode(!1)),bt.ownerDocument=oe,bt.parentNode=null,Ge)for(var Et=xe.firstChild;Et;)bt.appendChild($n(oe,Et,Ge)),Et=Et.nextSibling;return bt}function $s(oe,xe,Ge){var bt=new xe.constructor;for(var Et in xe)if(Object.prototype.hasOwnProperty.call(xe,Et)){var Tr=xe[Et];typeof Tr!="object"&&Tr!=bt[Et]&&(bt[Et]=Tr)}switch(xe.childNodes&&(bt.childNodes=new qe),bt.ownerDocument=oe,bt.nodeType){case x:var vn=xe.attributes,Gt=bt.attributes=new kt,ei=vn.length;Gt._ownerElement=bt;for(var si=0;si<ei;si++)bt.setAttributeNode($s(oe,vn.item(si),!0));break;case T:Ge=!0}if(Ge)for(var yn=xe.firstChild;yn;)bt.appendChild($s(oe,yn,Ge)),yn=yn.nextSibling;return bt}function ys(oe,xe,Ge){oe[xe]=Ge}try{if(Object.defineProperty){let oe=function(xe){switch(xe.nodeType){case x:case F:var Ge=[];for(xe=xe.firstChild;xe;)xe.nodeType!==7&&xe.nodeType!==8&&Ge.push(oe(xe)),xe=xe.nextSibling;return Ge.join("");default:return xe.nodeValue}};var Es=oe;Object.defineProperty(It.prototype,"length",{get:function(){return mt(this),this.$$length}}),Object.defineProperty(Gr.prototype,"textContent",{get:function(){return oe(this)},set:function(xe){switch(this.nodeType){case x:case F:for(;this.firstChild;)this.removeChild(this.firstChild);(xe||String(xe))&&this.appendChild(this.ownerDocument.createTextNode(xe));break;default:this.data=xe,this.value=xe,this.nodeValue=xe}}}),ys=function(xe,Ge,bt){xe["$$"+Ge]=bt}}}catch{}d.DocumentType=Sn,d.DOMException=$e,d.DOMImplementation=Yr,d.Element=ur,d.Node=Gr,d.NodeList=qe,d.XMLSerializer
581=hs},91403(f,d,e){"use strict";var n=e(60818).freeze;d.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),d.HTML_ENTITIES=n
vendor: 35,740 bytes, lines 581-582
581({Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",Gt:"\u226B",GT:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226A",LT:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` 582`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}),
vendor: 8,858 bytes, lines 582-586
582d.entityMap=d.HTML_ENTITIES},26422(f,d,e){var n,r=e(46742);n=r.DOMImplementation,n=r.XMLSerializer,d.DOMParser=e(80756).DOMParser},89022(f,d,e){var n=e(60818).NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+r.source+a.source+"*(?::"+r.source+a.source+"*)?$"),i=0,u=1,l=2,m=3,g=4,h=5,v=6,x=7;function T(J,ie){this.message=J,this.locator=ie,Error.captureStackTrace&&Error.captureStackTrace(this,T)}T.prototype=new Error,T.prototype.name=T.name;function E(){}E.prototype={parse:function(J,ie,le){var he=this.domBuilder;he.startDocument(),$(ie,ie={}),_(J,ie,le,he,this.errorHandler),he.endDocument()}};function _(J,ie,le,he,me){function je(Ur){if(Ur>65535){Ur-=65536;var or=55296+(Ur>>10),An=56320+(Ur&1023);return String.fromCharCode(or,An)}else return String.fromCharCode(Ur)}function Fe(Ur){var or=Ur.slice(1,-1);return Object.hasOwnProperty.call(le,or)?le[or]:or.charAt(0)==="#"?je(parseInt(or.substr(1).replace("x","0x"))):(me.error("entity not found:"+Ur),Ur)}function Je(Ur){if(Ur>$e){var or=J.substring($e,Ur).replace(/&#?\w+;/g,Fe);Re&&Xe($e),he.characters(or,0,Ur-$e),$e=Ur}}function Xe(Ur,or){for(;Ur>=be&&(or=Ie.exec(J));)ge=or.index,be=ge+or[0].length,Re.lineNumber++;Re.columnNumber=Ur-ge+1}for(var ge=0,be=0,Ie=/.*(?:\r\n?|\n)|.*$/g,Re=he.locator,ye=[{currentNSMap:ie}],De={},$e=0;;){try{var qe=J.indexOf("<",$e);if(qe<0){if(!J.substr($e).match(/^\s*$/)){var It=he.doc,mt=It.createTextNode(J.substr($e));It.appendChild(mt),he.currentElement=mt}return}switch(qe>$e&&Je(qe),J.charAt(qe+1)){case"/":var yt=J.indexOf(">",qe+3),kt=J.substring(qe+2,yt).replace(/[ \t\n\r]+$/g,""),Ut=ye.pop();yt<0?(kt=J.substring(qe+2).replace(/[\s<].*/,""),me.error("end tag name: "+kt+" is not complete:"+Ut.tagName),yt=qe+1+kt.length):kt.match(/\s</)&&(kt=kt.replace(/[\s<].*/,""),me.error("end tag name: "+kt+" maybe not complete"),yt=qe+1+kt.length);var Ir=Ut.localNSMap,Sr=Ut.tagName==kt,Yr=Sr||Ut.tagName&&Ut.tagName.toLowerCase()==kt.toLowerCase();if(Yr){if(he.endElement(Ut.uri,Ut.localName,kt),Ir)for(var Gr in Ir)Object.prototype.hasOwnProperty.call(Ir,Gr)&&he.endPrefixMapping(Gr);Sr||me.fatalError("end tag name: "+kt+" is not match the current start tagName:"+Ut.tagName)}else ye.push(Ut);yt++;break;case"?":Re&&Xe(qe),yt=V(J,qe,he);break;case"!":Re&&Xe(qe),yt=F(J,qe,he,me);break;default:Re&&Xe(qe);var dn=new W,Kr=ye[ye.length-1].currentNSMap,yt=P(J,qe,dn,Kr,Fe,me),tt=dn.length;if(!dn.closed&&B(J,yt,dn.tagName,De)&&(dn.closed=!0,le.nbsp||me.warning("unclosed xml attribute")),Re&&tt){for(var Ar=C(Re,{}),Mr=0;Mr<tt;Mr++){var Er=dn[Mr];Xe(Er.offset),Er.locator=C(Re,{})}he.locator=Ar,k(dn,he,Kr)&&ye.push(dn),he.locator=Re}else k(dn,he,Kr)&&ye.push(dn);n.isHTML(dn.uri)&&!dn.closed?yt=D(J,yt,dn.tagName,Fe,he):yt++}}catch(Ur){if(Ur instanceof T)throw Ur;me.error("element parse error: "+Ur),yt=-1}yt>$e?$e=yt:Je(Math.max(qe,$e)+1)}}function C(J,ie){return ie.lineNumber=J.lineNumber,ie.columnNumber=J.columnNumber,ie}function P(J,ie,le,he,me,je){function Fe(ye,De,$e){le.attributeNames.hasOwnProperty(ye)&&je.fatalError("Attribute "+ye+" redefined"),le.addValue(ye,De.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,me),$e)}for(var Je,Xe,ge=++ie,be=i;;){var Ie=J.charAt(ge);switch(Ie){case"=":if(be===u)Je=J.slice(ie,ge),be=m;else if(be===l)be=m;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(be===m||be===u)if(be===u&&(je.warning('attribute value must after "="'),Je=J.slice(ie,ge)),ie=ge+1,ge=J.indexOf(Ie,ie),ge>0)Xe=J.slice(ie,ge),Fe(Je,Xe,ie-1),be=h;else throw new Error("attribute value no end '"+Ie+"' match");else if(be==g)Xe=J.slice(ie,ge),Fe(Je,Xe,ie),je.warning('attribute "'+Je+'" missed start quot('+Ie+")!!"),ie=ge+1,be=h;else throw new Error('attribute value must after "="');break;case"/":switch(be){case i:le.setTagName(J.slice(ie,ge));case h:case v:case x:be=x,le.closed=!0;case g:case u:break;case l:le.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return je.error("unexpected end of input"),be==i&&le.setTagName(J.slice(ie,ge)),ge;case">":switch(be){case i:le.setTagName(J.slice(ie,ge));case h:case v:case x:break;case g:case u:Xe=J.slice(ie,ge),Xe.slice(-1)==="/"&&(le.closed=!0,Xe=Xe.slice(0,-1));case l:be===l&&(Xe=Je),be==g?(je.warning('attribute "'+Xe+'" missed quot(")!'),Fe(Je,Xe,ie)):((!n.isHTML(he[""])||!Xe.match(/^(?:disabled|checked|selected)$/i))&&je.warning('attribute "'+Xe+'" missed value!! "'+Xe+'" instead!!'),Fe(Xe,Xe,ie));break;case m:throw new Error("attribute value missed!!")}return ge;case"\x80":Ie=" ";default:if(Ie<=" ")switch(be){case i:le.setTagName(J.slice(ie,ge)),be=v;break;case u:Je=J.slice(ie,ge),be=l;break;case g:var Xe=J.slice(ie,ge);je.warning('attribute "'+Xe+'" missed quot(")!!'),Fe(Je,Xe,ie);case h:be=v;break}else switch(be){case l:var Re=le.tagName;(!n.isHTML(he[""])||!Je.match(/^(?:disabled|checked|selected)$/i))&&je.warning('attribute "'+Je+'" missed value!! "'+Je+'" instead2!!'),Fe(Je,Je,ie),ie=ge,be=u;break;case h:je.warning('attribute space is required"'+Je+'"!!');case v:be=u,ie=ge;break;case m:be=g,ie=ge;break;case x:throw new Error("elements closed character '/' and '>' must be connected to")}}ge++}}function k(J,ie,le){for(var he=J.tagName,me=null,Ie=J.length;Ie--;){var je=J[Ie],Fe=je.qName,Je=je.value,Re=Fe.indexOf(":");if(Re>0)var Xe=je.prefix=Fe.slice(0,Re),ge=Fe.slice(Re+1),be=Xe==="xmlns"&≥else ge=Fe,Xe=null,be=Fe==="xmlns"&&"";je.localName=ge,be!==!1&&(me==null&&(me={},$(le,le={})),le[be]=me[be]=Je,je.uri=n.XMLNS,ie.startPrefixMapping(be,Je))}for(var Ie=J.length;Ie--;){je=J[Ie];var Xe=je.prefix;Xe&&(Xe==="xml"&&(je.uri=n.XML),Xe!=="xmlns"&&(je.uri=le[Xe||""]))}var Re=he.indexOf(":");Re>0?(Xe=J.prefix=he.slice(0,Re),ge=J.localName=he.slice(Re+1)):(Xe=null,ge=J.localName=he);var ye=J.uri=le[Xe||""];if(ie.startElement(ye,ge,he,J),J.closed){if(ie.endElement(ye,ge,he),me)for(Xe in me)Object.prototype.hasOwnProperty.call(me,Xe)&&ie.endPrefixMapping(Xe)}else return J.currentNSMap=le,J.localNSMap=me,!0}function D(J,ie,le,he,me){if(/^(?:script|textarea)$/i.test(le)){var je=J.indexOf("</"+le+">",ie),Fe=J.substring(ie+1,je);if(/[&<]/.test(Fe))return/^script$/i.test(le)?(me.characters(Fe,0,Fe.length),je):(Fe=Fe.replace(/&#?\w+;/g,he),me.characters(Fe,0,Fe.length),je)}return ie+1}function B(J,ie,le,he){var me=he[le];return me==null&&(me=J.lastIndexOf("</"+le+">"),me<ie&&(me=J.lastIndexOf("</"+le)),he[le]=me),me<ie}function $(J,ie){for(var le in J)Object.prototype.hasOwnProperty.call(J,le)&&(ie[le]=J[le])}function F(J,ie,le,he){var me=J.charAt(ie+2);switch(me){case"-":if(J.charAt(ie+3)==="-"){var je=J.indexOf("-->",ie+4);return je>ie?(le.comment(J,ie+4,je-ie-4),je+3):(he.error("Unclosed comment"),-1)}else return-1;default:if(J.substr(ie+3,6)=="CDATA["){var je=J.indexOf("]]>",ie+9);return le.startCDATA(),le.characters(J,ie+9,je-ie-9),le.endCDATA(),je+3}var Fe=Z(J,ie),Je=Fe.length;if(Je>1&&/!doctype/i.test(Fe[0][0])){var Xe=Fe[1][0],ge=!1,be=!1;Je>3&&(/^public$/i.test(Fe[2][0])?(ge=Fe[3][0],be=Je>4&&Fe[4][0]):/^system$/i.test(Fe[2][0])&&(be=Fe[3][0]));var Ie=Fe[Je-1];return le.startDTD(Xe,ge,be),le.endDTD(),Ie.index+Ie[0].length}}return-1}function V(J,ie,le){var he=J.indexOf("?>",ie);if(he){var me=J.substring(ie,he).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(me){var je=me[0].length;return le.processingInstruction(me[1],me[2]),he+2}else return-1}return-1}function W(){this.attributeNames={}}W.prototype={setTagName:function(J){if(!s.test(J))throw new Error("invalid tagName:"+J);this.tagName=J},addValue:function(J,ie,le){if(!s.test(J))throw new Error("invalid attribute:"+J);this.attributeNames[J]=this.length,this[this.length++]={qName:J,value:ie,offset:le}},length:0,getLocalName:function(J){return this[J].localName},getLocator:function(J){return this[J].locator},getQName:function(J){return this[J].qName},getURI:function(J){return this[J].uri},getValue:function(J){return this[J].value}};function Z(J,ie){var le,he=[],me=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(me.lastIndex=ie,me.exec(J);le=me.exec(J);)if(he.push(le),le[1])return he}d.XMLReader=E,d.ParseError=T},50172(f){/*! 583 * bem-cn v3.0.1 584 * Friendly BEM class names generator, greate for React 585 * @author Alexander Burtsev, https://github.com/albburtsev 586 */(function(d,e){f.exports=e()})(this,function(){return(function(d){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return d[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=d,n.c=e,n.d=function(r,a,s){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:s})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}
586),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(1&a&&(r=n(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var i in r)n.d(s,i,function(u){return r[u]}.bind(null,i));return s},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=0)})([function(d,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.ERROR_BLOCK_NAME_TYPE="Block name should be a string",e.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var a={ns:"",el:"__",mod:"_",modValue:"_"},s=function(x){return typeof x=="string"},i=function(x){return typeof x!="string"},u=function(x,T){for(var E=[],_=2;_<arguments.length;_++)E[_-2]=arguments[_];var C=r.assign({},T);return C.mixes=C.mixes.concat(E),h(C,x)},l=function(x,T,E){for(var _=[],C=3;C<arguments.length;C++)_[C-3]=arguments[C];var P=r.assign({},T),k=r.assign({},P.states||{});return k[E]=r.assign.apply(void 0,[{},k[E]||{}].concat(_)),P.states=k,h(P,x)},m=function(x,T,E,_){return String.prototype.split.call(g(x,T),E,_)},g=function(x,T){var E=T.name,_=T.mods,C=T.mixes,P=T.states,k=[E];if(_&&(k=k.concat(Object.keys(_).filter(function(B){return _[B]}).map(function(B){var $=_[B];return $===!0?E+x.mod+B:E+x.mod+B+x.modValue+$}))),P&&Object.keys(P).forEach(function(B){var $=P[B];k=k.concat(Object.keys($).filter(function(F){return $[F]}).map(function(F){return B+F}))}),x.ns&&(k=k.map(function(B){return x.ns+B})),C&&(k=k.concat((function(B){return B===void 0&&(B=[]),B.map(function($){return Array.isArray($)?$.join(" "):typeof $=="object"&&$!==null||typeof $=="function"?$.toString():typeof $=="string"?$:""}).filter(function($){return!!$})})(C))),x.classMap){var D=x.classMap;k=k.map(function(B){return D[B]||B})}return k.join(" ")},h=function(x,T){return{mix:u.bind(null,T,x),split:m.bind(null,T,x),is:l.bind(null,T,x,"is-"),has:l.bind(null,T,x,"has-"),state:l.bind(null,T,x,"is-"),toString:g.bind(null,T,x)}},v=function(x,T){var E={name:x,mods:{},mixes:[],states:{"is-":{},"has-":{}}},_=function(C,P){for(var k=[],D=2;D<arguments.length;D++)k[D-2]=arguments[D];if(!k.length)return g(C,P);var B=r.assign({},P),$=k.filter(s).reduce(function(V,W){return V+C.el+W},"");$&&(B.name=B.name+$);var F=k.filter(i).reduce(function(V,W){return r.assign(V,W)},{});return B.mods=r.assign({},B.mods,F),h(B,C)}.bind(null,T,E);return _.mix=u.bind(null,T,E),_.split=m.bind(null,T,E),_.is=l.bind(null,T,E,"is-"),_.has=l.bind(null,T,E,"has-"),_.state=l.bind(null,T,E,"is-"),_.toString=g.bind(null,T,E),_};e.setup=function(x){return x===void 0&&(x={}),function(T){if(typeof T!="string")throw new Error(e.ERROR_BLOCK_NAME_TYPE);var E=T.trim();if(!E)throw new Error(e.ERROR_BLOCK_NAME_EMPTY);return v(E,r.assign({},a,x))}},e.block=e.setup(),e.default=e.block},function(d,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=function(r){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];for(var i=0;i<a.length;i++){var u=a[i];for(var l in u)u.hasOwnProperty(l)&&(r[l]=u[l])}return r}}])})},83109(f,d,e){"use strict";var n=e(29800),r=e(38799),a=e(98803),s=e(35740);f.exports=s||n.call(a,r)},38799(f){"use strict";f.exports=Function.prototype.apply},98803(f){"use strict";f.exports=Function.prototype.call},2335(f,d,e){"use strict";var n=e(29800),r=e(91570),a=e(98803),s=e(83109);f.exports=function(u){if(u.length<1||typeof u[0]!="function")throw new r("a function is required");return s(n,a,u)}},35740(f){"use strict";f.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},95037(f,d,e){"use strict";var n=e(23295),r=e(2335),a=r([n("%String.prototype.indexOf%")]);f.exports=function(i,u){var l=n(i,!!u);return typeof l=="function"&&a(i,".prototype.")>-1?r([l]):l}},76294(f,d){var e,n;/*! 587 Copyright (c) 2018 Jed Watson. 588 Licensed under the MIT License (MIT), see 589 http://jedwatson.github.io/classnames 590*/(function(){"use strict";var r={}.hasOwnProperty;function a(){for(var s=[],i=0;i<arguments.length;i++){var u=arguments[i];if(u){var l=typeof u;if(l==="string"||l==="number")s.push(u);else if(Array.isArray(u)){if(u.length){var m=a.apply(null,u);m&&s.push(m)}}else if(l==="object")if(u.toString===Object.prototype.toString)for(var g in u)r.call(u,g)&&u[g]&&s.push(g);else s.push(u.toString())}}return s.join(" ")}f.exports?(a.default=a,f.exports=a):(e=[],n=(function(){return a}).apply(d,e),n!==void 0&&(f.exports=n))})()},25412(f,d){"use strict";/*! 591 * cookie 592 * Copyright(c) 2012-2014 Roman Shtylman 593 * Copyright(c) 2015 Douglas Christopher Wilson 594 * MIT Licensed
595 */d.parse=s,d.serialize=i;var e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(l,m){if(typeof l!="string")throw new TypeError("argument str must be a string");for(var g={},h=m||{},v=l.split(r),x=h.decode||e,T=0;T<v.length;T++){var E=v[T],_=E.indexOf("=");if(!(_<0)){var C=E.substr(0,_).trim(),P=E.substr(++_,E.length).trim();P[0]=='"'&&(P=P.slice(1,-1)),g[C]==null&&(g[C]=u(P,x))}}return g}function i(l,m,g){var h=g||{},v=h.encode||n;if(typeof v!="function")throw new TypeError("option encode is invalid");if(!a.test(l))throw new TypeError("argument name is invalid");var x=v(m);if(x&&!a.test(x))throw new TypeError("argument val is invalid");var T=l+"="+x;if(h.maxAge!=null){var E=h.maxAge-0;if(isNaN(E))throw new Error("maxAge should be a Number");T+="; Max-Age="+Math.floor(E)}if(h.domain){if(!a.test(h.domain))throw new TypeError("option domain is invalid");T+="; Domain="+h.domain}if(h.path){if(!a.test(h.path))throw new TypeError("option path is invalid");T+="; Path="+h.path}if(h.expires){if(typeof h.expires.toUTCString!="function")throw new TypeError("option expires is invali
595d");T+="; Expires="+h.expires.toUTCString()}if(h.httpOnly&&(T+="; HttpOnly"),h.secure&&(T+="; Secure"),h.sameSite){var _=typeof h.sameSite=="string"?h.sameSite.toLowerCase():h.sameSite;switch(_){case!0:T+="; SameSite=Strict";break;case"lax":T+="; SameSite=Lax";break;case"strict":T+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return T}function u(l,m){try{return m(l)}catch{return l}}},53101(f,d){"use strict";/*! 596 * cookie 597 * Copyright(c) 2012-2014 Roman Shtylman 598 * Copyright(c) 2015 Douglas Christopher Wilson 599 * MIT Licensed 600 */d.parse=r,d.serialize=a;var e=Object.prototype.toString,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function r(m,g){if(typeof m!="string")throw new TypeError("argument str must be a string");for(var h={},v=g||{},x=v.decode||s,T=0;T<m.length;){var E=m.indexOf("=",T);if(E===-1)break;var _=m.indexOf(";",T);if(_===-1)_=m.length;else if(_<E){T=m.lastIndexOf(";",E-1)+1;continue}var C=m.slice(T,E).trim();if(h[C]===void 0){var P=m.slice(E+1,_).trim();P.charCodeAt(0)===34&&(P=P.slice(1,-1)),h[C]=l(P,x)}T=_+1}return h}function a(m,g,h){var v=h||{},x=v.encode||i;if(typeof x!="function")throw new TypeError("option encode is invalid");if(!n.test(m))throw new TypeError("argument name is invalid");var T=x(g);if(T&&!n.test(T))throw new TypeError("argument val is invalid");var E=m+"="+T;if(v.maxAge!=null){var _=v.maxAge-0;if(isNaN(_)||!isFinite(_))throw new TypeError("option maxAge is invalid");E+="; Max-Age="+Math.floor(_)}if(v.domain){if(!n.test(v.domain))throw new TypeError("option domain is invalid");E+="; Domain="+v.domain}if(v.path){if(!n.test(v.path))throw new TypeError("option path is invalid");E+="; Path="+v.path}if(v.expires){var C=v.expires;if(!u(C)||isNaN(C.valueOf()))throw new TypeError("option expires is invali
600d");E+="; Expires="+C.toUTCString()}if(v.httpOnly&&(E+="; HttpOnly"),v.secure&&(E+="; Secure"),v.priority){var P=typeof v.priority=="string"?v.priority.toLowerCase():v.priority;switch(P){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(v.sameSite){var k=typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite;switch(k){case!0:E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"strict":E+="; SameSite=Strict";break;case"none":E+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return E}function s(m){return m.indexOf("%")!==-1?decodeURIComponent(m):m}function i(m){return encodeURIComponent(m)}function u(m){return e.call(m)==="[object Date]"||m instanceof Date}function l(m,g){try{return g(m)}catch{return m}}},45184(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=3,r=e(35125),a=e(45463),s=e(74870).type("Async"),i=e(74870).typeFn(s(),n),u=e(30109),l=e(76314),m=e(19599),g=e(78358),h=e(7592),v=e(1250),x=e(40356),T=e(35771),E=e(83601),_=e(89030),C=e(21197),P=function(J){return J.reduce(function(ie,le){return ie&&C(Z,le)},!0)},k=function(J){return Z(function(ie,le){return le(J)})},D=function(J){return Z(function(ie){return ie(J)})};function B(J){if(!(x(J)&&P(J)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(J)?l.sequence(Z.of,J):J.sequence(Z.of)}function $(J,ie){if(!T(J))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var le=[],he=arguments.length;he--;)le[he]=arguments[he];return Z(function(me,je){J.apply(ie,le.concat(function(Fe,Je){return Fe?me(Fe):je(Je)}))})}}function F(J){if(!T(J))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var ie=arguments;return Z(function(le,he){var me=J.apply(null,ie);if(!_(me))throw new TypeError("Async.fromPromise: Promise returning function required");me.then(he).catch(le)})}}function V(J,ie){if(!(E(J)&&J>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return Z(function(le){var he=setTimeout(function(){le(ie)},J);return function(){clearTimeout(he)}})}function W(J,ie){if(!(E(J)&&J>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return Z(function(le,he){var me=setTimeout(function(){he(ie)},J);return function(){clearTimeout(me)}})}function Z(J){var ie;if(!T(J))throw new TypeError("Async: Function required");var le=k,he=function(){return"Async"+a(J)};function me(De,$e,qe){if(!T(De)||!T($e))throw new TypeError("Async.fork: Reject and resolve functions required");var It=!1,mt=!1,kt=function(){It=!0},Ut=T(qe)?qe:h,Ir=function(Gr,dn){if(!mt)return mt=!0,It?h():Gr(dn)},Sr=J(Ir.bind(null,De),Ir.bind(null,$e)),Yr=T(Sr)?Sr:h;return g(function(){return Ut(kt(Yr()))})}function je(){return new Promise(function(De,$e){me($e,De)})}function Fe(De){if(!C(Z,De))throw new TypeError("Async.race: Async required");return Z(function($e,qe){var It=g(function(Sr,Yr){return Sr?qe(Yr):$e(Yr)}),mt=It.bind(null,!0),kt=It.bind(null,!1),Ut=me(kt,mt),Ir=De.fork(kt,mt);return function(){Ut(),Ir()}})}function Je(De,$e){if(!T(De)||!T($e))throw new TypeError("Async.swap: Functions required for both arguments");return Z(function(qe,It){return me(m(It,De),m(qe,$e))})}function Xe(De,$e){if(!T(De)||!T($e))throw new TypeError("Async.coalesce: Functions required for both arguments");return Z(function(qe,It){return me(m(It,De),m(It,$e))})}function ge(De){return function($e){if(!T($e))throw new TypeError("Async."+De+": Function required");return Z(function(qe,It){return me(qe,m(It,$e))})}}function be(De){return function($e,qe){if(!T($e)||!T(qe))throw new TypeError("Async."+De+": Functions required for both arguments");return Z(function(It,mt){return me(m(It,$e),m(mt,qe))})}}function Ie(De){return function($e){if(!C(Z,$e))throw new TypeError("Async."+De+": Async required");return Z(function(qe,It){var mt=h,kt=h;return mt=me(function(){kt=$e.fork(qe,It)},It),g(function(){return kt(mt())})})}}function Re(De){if(!C(Z,De))throw new TypeError("Async.ap: Async required");return Z(function($e,qe){var It=null,mt=null,kt=!1,Ut=!1,Ir=!1,Sr=function(){Ir=!0},Yr=g($e);function Gr(){!Ir&&kt&&Ut&&m(qe,It)(mt)}var dn=me(Yr,function(yt){if(!T(yt))throw new TypeError("Async.ap: Wrapped value must be a function");kt=!0,It=yt,Gr()}),Kr=De.fork(Yr,function(yt){Ut=!0,mt=yt,Gr()});return function(){dn(),Kr(),Sr()}})}function ye(De){return function($e){if(!T($e))throw new TypeError("Async."+De+": Async returning function required");return Z(function(qe,It){var mt=h,kt=h;return mt=me(qe,function(Ut){var Ir=$e(Ut);if(!C(Z,Ir))throw new TypeError("Async."+De+": Function must return another Async");kt=Ir.fork(qe,It)}),g(function(){return kt(mt())})})}}return ie={fork:me,toPromise:je,inspect:he,toString:he,type:s,swap:Je,race:Fe,coalesce:Xe,ap:Re,of:le,alt:Ie("alt"),bimap:be("bimap"),map:ge("map"),chain:ye("chain")},ie[u.of]=le,ie[u.alt]=Ie(u.alt),ie[u.bimap]=be(u.bimap),ie[u.map]=ge(u.map),ie[u.chain]=ye(u.chain),ie["@@type"]=i,ie.constructor=Z,ie}Z.of=k,Z.type=s,Z[u.of]=k,Z["@@type"]=i,Z.Rejected=D,Z.Resolved=k,Z.fromPromise=F,Z.fromNode=$,Z.all=B,Z.rejectAfter=V,Z.resolveAfter=W,Z["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exp
600orts=Z},27976(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=2,r=e(35125),a=e(45463),s=e(74870).type("IO"),i=e(74870).typeFn(s(),n),u=e(30109),l=e(19599),m=e(35771),g=e(21197),h=function(x){return v(function(){return x})};function v(x){var T;if(!m(x))throw new TypeError("IO: Must wrap a function");var E=h,_=function(){return"IO"+a(x)};function C(D){return function(B){if(!m(B))throw new TypeError("IO."+D+": Function required");return v(l(B,x))}}function P(D){if(!g(v,D))throw new TypeError("IO.ap: IO required");return v(function(){var B=x();if(!m(B))throw new TypeError("IO.ap: Wrapped value must be a function");return D.map(B).run()})}function k(D){return function(B){if(!m(B))throw new TypeError("IO."+D+": Function required");return v(function(){var $=B(x());if(!g(v,$))throw new TypeError("IO."+D+": Function must return an IO");return $.run()})}}return T={inspect:_,toString:_,run:x,type:s,ap:P,of:E,map:C("map"),chain:k("chain")},T[u.of]=E,T[u.map]=C(u.map),T[u.chain]=k(u.chain),T["@@type"]=i,T.constructor=v,T}v.of=h,v.type=s,v[u.of]=h,v["@@type"]=i,v["@@implements"]=r(["ap","chain","map","of"]),f.exports=v},7592(f){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=Function.prototype},30125(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(53917),r=e(35637),a=function(s){return function(i){return n(s)?s.of(i):r(Array,s)?[i]:s(i)}};f.exports=a},76314(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(89391),r=e(1250),a=e(75870),s=e(35771),i=e(21197),u=e(58390),l=e(30125),m=function(D){return D},g=function(D){return function(B){return D.concat(B)}};function h(D,B){return function($,F){var V=B(F);if(!((n($)||r($))&&i($,V)))throw new TypeError("Array."+D+": Must wrap Applys of the same type");return r(V)?T($,x(function(W){return g([W])},V)):V.map(function(W){return g([W])}).ap($)}}var v=function(D){return D.reduce(function(B,$){return B&&s($)},!0)},x=function(D,B){return B.map(function($){return D($)})};function T(D,B){if(!(B.length&&v(B)))throw new TypeError("Array.ap: Second Array must all be functions");return B.reduce(function($,F){return $.concat(x(F,D))},[])}function E(D,B){return B.reduce(function($,F){var V=D(F);if(!r(V))throw new TypeError("Array.chain: Function must return an Array");return $.concat(V)},[])}function _(D,B){var $=l(D);return B.reduceRight(h("sequence",m),$([]))}function C(D,B,$){var F=l(D);return $.reduceRight(h("traverse",B),F([]))}function P(D){if(a(D))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var B=D[0];if(!u(B))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return D.reduce(function($,F){if(!i($,F))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return $.concat(F)})}function k(D,B){if(a(B))throw new TypeError("Array.foldMap: Non-empty Array required");var $=D(B[0]);if(!u($))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return B.length===1?$:B.slice(1).reduce(function(F,V){var W=D(V);if(!(i(F,W)&&u(W)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return F.concat(W)},$)}f.exports={ap:T,chain:E,fold:P,foldMap:k,map:x,sequence:_,traverse:C}},19599(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},76444(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(35771);function r(s,i){return n(s)?s.length>1?s.bind(null,i):s.call(null,i):s}function a(s){return function(){for(var i=[],u=arguments.length;u--;)i[u]=arguments[u];var l=i.length?i:[void 0];if(l.length<s.length)return a(Function.bind.apply(s,[null].concat(l)));var m=l.length===s.length?s.apply(null,l):l.reduce(r,s);return n(m)?a(m):m}}f.exports=a},30109(f){/** @license ISC License (c) copyright 2018 original and current authors */f.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},60221(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(35771),r=e(30109),a=function(u,l){return n(l[r[u]])||n(l[u])},s=function(u,l){return n(l["@@implements"])&&!!l["@@implements"](u)},i=function(u,l){return!!l&&(a(u,l)||s(u,l))};f.exports=i},35125(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},45463(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(1250),r=e(35771),a=e(84856),s=e(73414),i=e(70751);function u(m){return m.length?m.map(l).reduce(function(g,h){return g+","+h}):m}function l(m){return m&&r(m.inspect)?" "+m.inspect():r(m)?" Function":n(m)?" ["+u(m)+" ]":a(m)?" { "+Object.keys(m).reduce(function(g,h){return g.concat([h+":"+l(m[h])])},[]).join(", ")+" }":s(m)?' "'+m+'"':i(m)?" "+m.toString():" "+m}f.exports=l},53917(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(60221),r
600=e(89391);function a(s){return r(s)&&(n("of",s)||n("of",s.constructor))}f.exports=a},89391(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(60221),r=e(35332);function a(s){return r(s)&&n("ap",s)}f.exports=a},1250(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},75870(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(84856);function r(a){return n(a)?!Object.keys(a).length:a&&a.length!==void 0?!a.length:!0}f.exports=r},40356(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(60221);function r(a){return!!a&&n("reduce",a)}f.exports=r},35771(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},35332(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(60221);function r(a){return!!a&&n("map",a)}f.exports=r},83601(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(59566);function r(a){return n(a)&&isFinite(a)&&Math.floor(a)===a}f.exports=r},59566(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="number"&&!isNaN(e)}f.exports=d},84856(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=Object.prototype.toString;function e(n){return!!n&&d.call(n)==="[object Object]"}f.exports=e},89030(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(35771);function r(a){return!!a&&n(a.then)&&n(a.catch)}f.exports=r},21197(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(76444),r=e(35771),a=e(28435);function s(i,u){var l=a(i),m=a(u);return l===m||r(i)&&i.name===m||r(u)&&u.name===l}f.exports=n(s)},58390(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(73414),r=e(60221);function a(s){return n(s)||!!s&&r("concat",s)}f.exports=a},73414(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},70751(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return typeof e=="symbol"}f.exports=d},35637(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(35771),r=function(a,s){return n(s)&&(a===s||a.name===s.name)};f.exports=r},78358(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){var n,r;return function(){return n||(n=!0,r=e.apply(null,arguments)),r}}f.exports=d},28435(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(35771);function r(a){return a&&n(a.type)?a.type():{}.toString.call(a).slice(8,-1)}f.exports=r},74870(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(a){return a+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(a){return d[a]||d.unk},n=function(a){return{type:e(a)}},r=function(a,s,i){var u=e(a)(i);return"crocks/"+u+"@"+(s||0)};f.exports={proxy:n,type:e,typeFn:r}},71556(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=5,r=e(16657),a=e(6699),s=e(60914).type("Async"),i=e(60914).typeFn(s(),n),u=e(57777),l=e(59478),m=e(69883),g=e(2114),h=e(88180),v=e(34414),x=e(70408),T=e(75919),E=e(47925),_=e(62666),C=e(93889),P=function(J){return J.reduce(function(ie,le){return ie&&C(
600Z,le)},!0)},k=function(J){return Z(function(ie,le){return le(J)})},D=function(J){return Z(function(ie){return ie(J)})};function B(J){if(!(x(J)&&P(J)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(J)?l.sequence(Z.of,J):J.sequence(Z.of)}function $(J,ie){if(!T(J))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var le=[],he=arguments.length;he--;)le[he]=arguments[he];return Z(function(me,je){J.apply(ie,le.concat(function(Fe,Je){return Fe?me(Fe):je(Je)}))})}}function F(J){if(!T(J))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var ie=arguments;return Z(function(le,he){var me=J.apply(null,ie);if(!_(me))throw new TypeError("Async.fromPromise: Promise returning function required");me.then(he,le)})}}function V(J,ie){if(!(E(J)&&J>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return Z(function(le){var he=setTimeout(function(){le(ie)},J);return function(){clearTimeout(he)}})}function W(J,ie){if(!(E(J)&&J>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return Z(function(le,he){var me=setTimeout(function(){he(ie)},J);return function(){clearTimeout(me)}})}function Z(J){var ie;if(!T(J))throw new TypeError("Async: Function required");var le=k,he=function(){return"Async"+a(J)};function me($e,qe,It){if(!T($e)||!T(qe))throw new TypeError("Async.fork: Reject and resolve functions required");var mt=!1,kt=!1,Ut=function(){mt=!0},Ir=T(It)?It:h,Sr=function(dn,Kr){if(!kt)return kt=!0,mt?h():dn(Kr)},Yr=J(Sr.bind(null,$e),Sr.bind(null,qe)),Gr=T(Yr)?Yr:h;return g(function(){return Ir(Ut(Gr()))})}function je(){return new Promise(function($e,qe){me(qe,$e)})}function Fe($e){if(!C(Z,$e))throw new TypeError("Async.race: Async required");return Z(function(qe,It){var mt=g(function(Yr,Gr){return Yr?It(Gr):qe(Gr)}),kt=mt.bind(null,!0),Ut=mt.bind(null,!1),Ir=me(Ut,kt),Sr=$e.fork(Ut,kt);return function(){Ir(),Sr()}})}function Je($e,qe){if(!T($e)||!T(qe))throw new TypeError("Async.swap: Functions required for both arguments");return Z(function(It,mt){return me(m(mt,$e),m(It,qe))})}function Xe($e,qe){if(!T($e)||!T(qe))throw new TypeError("Async.coalesce: Functions required for both arguments");return Z(function(It,mt){return me(m(mt,$e),m(mt,qe))})}function ge($e){return function(qe){if(!T(qe))throw new TypeError("Async."+$e+": Function required");return Z(function(It,mt){return me(It,m(mt,qe))})}}function be($e){return function(qe,It){if(!T(qe)||!T(It))throw new TypeError("Async."+$e+": Functions required for both arguments");return Z(function(mt,kt){return me(m(mt,qe),m(kt,It))})}}function Ie($e){return function(qe){if(!C(Z,qe))throw new TypeError("Async."+$e+": Async required");return Z(function(It,mt){var kt=h,Ut=h;return kt=me(function(){Ut=qe.fork(It,mt)},mt),g(function(){return Ut(kt())})})}}function Re($e){if(!C(Z,$e))throw new TypeError("Async.ap: Async required");return Z(function(qe,It){var mt=null,kt=null,Ut=!1,Ir=!1,Sr=!1,Yr=function(){Sr=!0},Gr=g(qe);function dn(){!Sr&&Ut&&Ir&&m(It,mt)(kt)}var Kr=me(Gr,function(tt){if(!T(tt))throw new TypeError("Async.ap: Wrapped value must be a function");Ut=!0,mt=tt,dn()}),yt=$e.fork(Gr,function(tt){Ir=!0,kt=tt,dn()});return function(){Kr(),yt(),Yr()}})}function ye($e){return function(qe){if(!T(qe))throw new TypeError("Async."+$e+": Async returning function required");return Z(function(It,mt){var kt=h,Ut=h;return kt=me(It,function(Ir){var Sr=qe(Ir);if(!C(Z,Sr))throw new TypeError("Async."+$e+": Function must return another Async");Ut=Sr.fork(It,mt)}),g(function(){return Ut(kt())})})}}function De($e,qe){var It="Async.bichain: Both arguments must be Async returning functions";if(!T($e)||!T(qe))throw new TypeError(It);return Z(function(mt,kt){var Ut=h,Ir=h;function Sr(Yr){return function(Gr){var dn=Yr(Gr);if(!C(Z,dn))throw new TypeError(It);Ir=dn.fork(mt,kt)}}return Ut=me(Sr($e),Sr(qe)),g(function(){return Ir(Ut())})})}return ie={fork:me,toPromise:je,inspect:he,toString:he,type:s,swap:Je,race:Fe,coalesce:Xe,ap:Re,of:le,alt:Ie("alt"),bimap:be("bimap"),map:ge("map"),chain:ye("chain"),bichain:De},ie[u.of]=le,ie[u.alt]=Ie(u.alt),ie[u.bimap]=be(u.bimap),ie[u.map]=ge(u.map),ie[u.chain]=ye(u.chain),ie["@@type"]=i,ie.constructor=Z,ie}Z.of=k,Z.type=s,Z[u.of]=k,Z["@@type"]=i,Z.Rejected=D,Z.Resolved=k,Z.fromPromise=F,Z.fromNode=$,Z.all=B,Z.rejectAfter=V,Z.resolveAfter=W,Z["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exp
600orts=Z},89681(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=function(e){return e};f.exports=d},88180(f){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=Function.prototype},96881(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(73721),r=e(57209),a=function(s){return function(i){return n(s)?s.of(i):r(Array,s)?[i]:s(i)}};f.exports=a},59478(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(83411),r=e(34414),a=e(57346),s=e(75919),i=e(93889),u=e(75322),l=e(96881),m=function($){return $},g=function($){return function(F){return $.concat(F)}};function h($,F){return function(V,W){var Z=F(W);if(!((n(V)||r(V))&&i(V,Z)))throw new TypeError("Array."+$+": Must wrap Applys of the same type");return r(Z)?T(V,x(function(J){return g([J])},Z)):Z.map(function(J){return g([J])}).ap(V)}}var v=function($){return $.reduce(function(F,V){return F&&s(V)},!0)},x=function($,F){return F.map(function(V){return $(V)})};function T($,F){if(!(F.length&&v(F)))throw new TypeError("Array.ap: Second Array must all be functions");return F.reduce(function(V,W){return V.concat(x(W,$))},[])}function E($,F){return F.reduce(function(V,W){var Z=$(W);if(!r(Z))throw new TypeError("Array.chain: Function must return an Array");return V.concat(Z)},[])}function _($,F){var V=l($);return F.reduceRight(h("sequence",m),V([]))}function C($,F,V){var W=l($);return V.reduceRight(h("traverse",F),W([]))}function P($){if(a($))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var F=$[0];if(!u(F))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return $.reduce(function(V,W){if(!i(V,W))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return V.concat(W)})}function k($,F){if(a(F))throw new TypeError("Array.foldMap: Non-empty Array required");var V=$(F[0]);if(!u(V))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return F.length===1?V:F.slice(1).reduce(function(W,Z){var J=$(Z);if(!(i(W,J)&&u(J)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return W.concat(J)},V)}function D($,F,V){var W=V.slice();return W[$]=F,W}function B($,F){return F.slice(0,$).concat(F.slice($+1))}f.exports={ap:T,chain:E,fold:P,foldMap:k,map:x,sequence:_,set:D,traverse:C,unset:B}},69883(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},24608(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(75919),r="@@crocks/curried";function a(i,u){return n(i)?i.length>1?i.bind(null,u):i.call(null,u):i}function s(i){if(i[r])return i;function u(){for(var l=[],m=arguments.length;m--;)l[m]=arguments[m];var g=l.length?l:[void 0];if(g.length<i.length)return s(Function.bind.apply(i,[null].concat(g)));var h=g.length===i.length?i.apply(null,g):g.reduce(a,i);return n(h)?s(h):h}return Object.defineProperty(u,r,{enumerable:!1,writable:!1,value:!0}),u}f.exports=s},73170(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(93889),r=e(54545),a=e(64497),s=e(52967),i=e(57777),u=function(h,v){return h.valueOf()===v.valueOf()},l={Array:function(h,v){return h.length===v.length&&m(h,v)},Date:function(h,v){return r(h.valueOf(),v.valueOf())},Error:function(h,v){return h.name===v.name&&h.message===v.message},Object:function(h,v){return Object.keys(h).length===Object.keys(v).length&&m(h,v)},RegExp:function(h,v){return h.source===v.source&&h.ignoreCase===v.ignoreCase&&h.global===v.global&&h.multiline===v.multiline&&h.unicode===v.unicode}};function m(h,v){for(var x in h)if(!g(h[x],v[x]))return!1;return!0}function g(h,v){return r(h,v)?!0:n(h,v)?a("equals",h)?(v[i.equals]||v.equals).call(v,h):(l[s(h)]||u)(h,v):!1}f.exports=g},57777(f){/** @license ISC License (c) copyright 2018 original and current authors */f.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},64497(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(75919),r=e(57777),a=function(u,l){return n(l[r[u]])||n(l[u])},s=function(u,l){return n(l["@@implements"])&&!!l["@@implements"](u)},i=function(u,l){return!!l&&(a(u,l)||s(u,l))};f.exports=i},16657(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},6699(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(34414),r=e(75919),a=e(33124),s=e(76642),i=e(20523),u=e(37099);function l(g){return g.length?g.map(m).reduce(function(h,v){return h+","+v}):g}function m(g){return g&&r(g.inspect)?" "+g.inspect():r(g)?" Function":n(g)?" ["+l(g)+" ]":a(g)?" { "+Object.keys(g).reduce(function(h,v){return h.concat([v+":"+m(g[v])])},[]).join(", ")+" }":s(g)?' "'+g+'"':i(g)||u(g)?" "+g.toString():" "+g}f.exports=m},73721(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(64497),r=e(83411);function a(s){return r(s)&&(n("of",s)||n("of",s.constructor))}f.exports=a},83411(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(64497),r=e(62088);function a(s){return r(s)&&n("ap",s)}f.exports=a},34414(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},559(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(64497),r=e(62088);function a(s){return r(s)&&n("bimap",s)}f.exports=a},49770(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(64497),r=e(83411);function a(s){return r(s)&&n("chain",s)}f.exports=a},37099(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return Object.prototype.toString.apply(e)==="[object Date]"&&!isNaN(e.valueOf())}f.exports=d},57346(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(33124),r=e(54989),a=e(73170),s=e(57777);function i(u){if(r(u)){var l=u.constructor[s.empty]||u.constructor.empty||u.empty;return a(u,l())}return n(u)?!Object.keys(u).length:u&&u.length!==void 0?!u.length:!0}f.exports=i},70408(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(64497);function r(a){return!!a&&n("reduce",a)}f.exports=r},75919(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},62088(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(64497);function r(a){return!!a&&n("map",a)}f.exports=r},47925(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(18514);function r(a){return n(a)&&isFinite(a)&&Math.floor(a)===a}f.exports=r},54989(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(64497),r=e(75322);function a(s){return r(s)&&(n("empty",s)||n("empty",s.constructor))}f.exports=a},18514(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="number"&&!isNaN(e)}f.exports=d},33124(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=Object.prototype.toString;function e(n){return!!n&&d.call(n)==="[object Object]"}f.exports=e}
600,16383(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(60914).proxy("Pred"),r=e(75919),a=e(93889),s=function(i){return r(i)||a(n,i)};f.exports=s},62666(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(75919);function r(a){return!!a&&n(a.then)&&n(a.catch)}f.exports=r},54545(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=d},93889(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(24608),r=e(75919),a=e(52967);function s(i,u){var l=a(i),m=a(u);return l===m||r(i)&&i.name===m||r(u)&&u.name===l}f.exports=n(s)},75322(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(76642),r=e(64497);function a(s){return n(s)||!!s&&r("concat",s)}f.exports=a},76642(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},20523(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return typeof e=="symbol"}f.exports=d},57209(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(75919),r=function(a,s){return n(s)&&(a===s||a.name===s.name)};f.exports=r},68908(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(i){return function(u,l){var m=i[l];return m!==void 0&&(u[l]=m),u}}function e(i,u){var l=Object.keys(u).reduce(d(u),{});return Object.keys(i).reduce(d(i),l)}function n(i,u){return Object.keys(u).reduce(function(l,m){return i(u[m])&&(l[m]=u[m]),l},{})}function r(i,u){return Object.keys(u).reduce(function(l,m){return l[m]=i(u[m]),l},{})}function a(i,u,l){var m;return e((m={},m[i]=u,m),l)}function s(i,u){return Object.keys(u).reduce(function(l,m){return u[m]!==void 0&&m!==i&&(l[m]=u[m]),l},{})}f.exports={assign:e,filter:n,map:r,set:a,unset:s}},2114(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){var n,r;return function(){return n||(n=!0,r=e.apply(null,arguments)),r}}f.exports=d},4167(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(75919);function r(a,s){return n(a)?a(s):a.runWith(s)}f.exports=r},52967(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(75919);function r(a){return a&&n(a.type)?a.type():{}.toString.call(a).slice(8,-1)}f.exports=r},60914(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(a){return"Const("+a+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(a){return a+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(a){return d[a]||d.unk},n=function(a,s){return{type:function(){return e(a)(s)}}},r=function(a,s,i){var u=e(a)(i);return"crocks/"+u+"@"+(s||0)};f.exports={proxy:n,type:e,typeFn:r}},34224(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(24608),r=e(33124),a=e(68908);function s(i,u){if(!(r(i)&&r(u)))throw new TypeError("assign: Objects required for both arguments");return a.assign(i,u)}f.exports=n(s)},87093(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(75919),r="compose: Functions required";function a(i,u){if(!n(u))throw new TypeError(r);return function(){for(var l=[],m=arguments.length;m--;)l[m]=arguments[m];return u.call(null,i.apply(null,l))}}function s(){for(var i=[],u=arguments.length;u--;)i[u]=arguments[u];if(!arguments.length)throw new TypeError(r);var l=i.slice().reverse(),m=l[0];if(!n(m))throw new TypeError(r);var g=l.slice(1).concat(function(h){return h});return g.reduce(a,m)}f.exports=s},90526(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(24608),r=e(75919);function a(s){if(!r(s))throw new TypeError("curry: Function required");return n(s)}f.exports=a},99291(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(24608),r=e(16383),a=e(4167);function s(i,u){if(!(r(i)&&r(u)))throw new TypeError("and: Preds or predicate functions required for first two arguments");return function(l){return!!(a(i,l)&&a(u,l))}}f.exports=n(s)},61081(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(24608),r=e(559),a=e(75919),s=e(57777);function i(u,l,m){if(!(a(u)&&a(l)))throw new TypeError("bimap: Functions required for first two arguments");if(!r(m))throw new TypeError("bimap: Bifunctor required for third argument");return(m[s.bimap]||m.bimap).call(m,u,l)}f.exports=n(i)},79629(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(59478).chain,r=e(24608),a=e(34414),s=e(49770),i=e(75919),u=e(57777);function l(m,g){if(!i(m))throw new TypeError("chain: Chain returning function required for first argument");
600if(!(s(g)||a(g)))throw new TypeError("chain: Chain of the same type required for second argument");return a(g)?n(m,g):(g[u.chain]||g.chain).call(g,m)}f.exports=r(l)},1674(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(24608),r=e(93889),a=e(75322),s=e(57777);function i(u,l){if(!(a(l)&&r(u,l)))throw new TypeError("concat: Semigroups of the same type required for both arguments");return(l[s.concat]||l.concat).call(l,u)}f.exports=n(i)},99372(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=e(75919)},67001(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=e(18514)},70145(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(75342),r=e(76814),a=e(83423).type("IO"),s=e(71302),i=e(19956),u=e(64914),l=function(g){return m(function(){return g})};function m(g){if(!i(g))throw new TypeError("IO: Must wrap a function");var h=l,v=function(){return"IO"+r(g)};function x(_){if(!i(_))throw new TypeError("IO.map: Function required");return m(s(_,g))}function T(_){if(!u(m,_))throw new TypeError("IO.ap: IO required");return E(function(C){return _.map(C)})}function E(_){if(!i(_))throw new TypeError("IO.chain: Function required");return m(function(){var C=_(g());if(!u(m,C))throw new TypeError("IO.chain: Function must return an IO");return C.run()})}return{inspect:v,run:g,type:a,map:x,ap:T,of:h,chain:E}}m.of=l,m.type=a,m["@@implements"]=n(["ap","chain","map","of"]),f.exports=m},75606(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(83749);f.exports=n(e(5500))},65644(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.prototype.slice.call(e)}f.exports=d},71302(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},5500(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=function(e){return function(){return e}};f.exports=d},83749(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(65644),r=e(19956);function a(i,u){return r(i)?i.length>1?i.bind(null,u):i.call(null,u):i}function s(i){return function(){var u=n(arguments),l=u.length?u:[void 0];if(l.length<i.length)return s(Function.bind.apply(i,[null].concat(l)));var m=l.length===i.length?i.apply(null,l):l.reduce(a,i);return r(m)?s(m):m}}f.exports=s},75342(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},76814(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(31715),r=e(19956),a=e(90595),s=e(70605);function i(l){return l.length?l.map(u).reduce(function(m,g){return m+","+g}):l}function u(l){return l&&r(l.inspect)?" "+l.inspect():r(l)?" Function":n(l)?" ["+i(l)+" ]":a(l)?" {}":s(l)?' "'+l+'"':" "+l}f.exports=u},31715(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},19956(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},59681(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){return e==null||Number.isNaN(e)}f.exports=d},90595(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return!!e&&e.toString&&e.toString()==="[object Object]"}f.exports=d},64914(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(83749),r=e(31715),a=e(19956),s=e(59681);function i(h){return!!h&&a(h.type)}function u(h,v){return i(h)&&i(v)&&h.type()===v.type()}function l(h){return r(h)?"array":typeof h}function m(h,v){return h.name===v.constructor.name||v.name===h.constructor.name}function g(h,v){return i(h)||i(v)?u(h,v):s(h)||s(v)?h===v:m(h,v)||l(h)===l(v)}f.exports=n(g)},70605(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},83423(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(r){return d[r]||d.unk},n=function(r){return{type:e(r)}};f.exports={proxy:n,type:e}},31417(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(83749),r=e(19956);function a(s){if(!r(s))throw new TypeError("curry: Function required");return n(s)}f.exports=a},90755(f){(function(d){"use strict";var e="cuid",n=0,r=4,a=36,s=Math.pow(a,r),i=function(h,v){var x="000000000"+h;return x.substr(x.length-v)},u=function(){return i((Math.random()*s<<0).toString(a),r)},l=function(){return n=n<s?n:0,n++,n-1},m=function(){var h="c",v=new Date().getTime().toString(a),x,T=m.fingerprint(),E=u()+u();return x=i(l().toString(a),r),h+v+x+T+E};m.slug=function(){var h=new Date().getTime().toString(36),v,x=m.fingerprint().slice(0,1)+m.fingerprint().slice(-1),T=u().slice(-2);return v=l().toString(36).slice(-4),h.slice(-2)+v+x+T},m.globalCount=function(){var h=(function(){var x,T=0;for(x in window)T++;return T})();return m.globalCount=function(){return h},h},m.fingerprint=function(){return i((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+m.globalCount().toString(36),4)},d.register?d.register(e,m):f.exports=m})(this.applitude||this)},86785(f,d,e){"use strict";
600var n=e(28556),r=e(83172),a=e(39449),s=e(65419),i=e(2937),u=f.exports=function(l,m){var g,h,v,x,T;return arguments.length<2||typeof l!="string"?(x=m,m=l,l=null):x=arguments[2],n(l)?(g=i.call(l,"c"),h=i.call(l,"e"),v=i.call(l,"w")):(g=v=!0,h=!1),T={value:m,configurable:g,enumerable:h,writable:v},x?a(s(x),T):T};u.gs=function(l,m,g){var h,v,x,T;return typeof l!="string"?(x=g,g=m,m=l,l=null):x=arguments[3],n(m)?r(m)?n(g)?r(g)||(x=g,g=void 0):g=void 0:(x=m,m=g=void 0):m=void 0,n(l)?(h=i.call(l,"c"),v=i.call(l,"e")):(h=!0,v=!1),T={get:m,set:g,configurable:h,enumerable:v},x?a(s(x),T):T}},68098(f,d,e){"use strict";var n=e(2335),r=e(58455),a;try{a=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var s=!!a&&r&&r(Object.prototype,"__proto__"),i=Object,u=i.getPrototypeOf;f.exports=s&&typeof s.get=="function"?n([s.get]):typeof u=="function"?function(m){return u(m==null?m:i(m))}:!1},41714(f){"use strict";var d=Object.defineProperty||!1;if(d)try{d({},"a",{value:1})}catch{d=!1}f.exports=d},49648(f){"use strict";f.exports=EvalError},78388(f){"use strict";f.exports=Error},89545(f){"use strict";f.exports=RangeError},51753(f){"use strict";f.exports=ReferenceError},16761(f){"use strict";f.exports=SyntaxError},91570(f){"use strict";f.exports=TypeError},97106(f){"use strict";f.exports=URIError},46661(f){"use strict";f.exports=Object},91259(f,d,e){"use strict";var n=e(24514),r=e(14088),a=e(99837),s=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,l=Math.floor;f.exports=function(m){var g,h,v,x;if(!n(m))return s.apply(this,arguments);for(h=r(a(this).length),v=arguments[1],isNaN(v)?v=0:v>=0?v=l(v):v=r(this.length)-l(u(v)),g=v;g<h;++g)if(i.call(this,g)&&(x=this[g],n(x)))return g;return-1}},25822(f,d,e){"use strict";f.exports=e(38293)()?Array.from:e(76649)},38293(f){"use strict";f.exports=function(){var d=Array.from,e,n;return typeof d!="function"?!1:(e=["raz","dwa"],n=d(e),!!(n&&n!==e&&n[1]==="dwa"))}},76649(f,d,e){"use strict";var n=e(82092).iterator,r=e(62091),a=e(24479),s=e(14088),i=e(65194),u=e(99837),l=e(43875),m=e(38883),g=Array.isArray,h=Function.prototype.call,v={configurable:!0,enumerable:!0,writable:!0,value:null},x=Object.defineProperty;f.exports=function(T){var E=arguments[1],_=arguments[2],C,P,k,D,B,$,F,V,W,Z;if(T=Object(u(T)),l(E)&&i(E),!this||this===Array||!a(this)){if(!E){if(r(T))return B=T.length,B!==1?Array.apply(null,T):(D=new Array(1),D[0]=T[0],D);if(g(T)){for(D=new Array(B=T.length),P=0;P<B;++P)D[P]=T[P];return D}}D=[]}else C=this;if(!g(T)){if((W=T[n])!==void 0){for(F=i(W).call(T),C&&(D=new C),V=F.next(),P=0;!V.done;)Z=E?h.call(E,_,V.value,P):V.value,C?(v.value=Z,x(D,P,v)):D[P]=Z,V=F.next(),++P;B=P}else if(m(T)){for(B=T.length,C&&(D=new C),P=0,k=0;P<B;++P)Z=T[P],P+1<B&&($=Z.charCodeAt(0),$>=55296&&$<=56319&&(Z+=T[++P])),Z=E?h.call(E,_,Z,k):Z,C?(v.value=Z,x(D,k,v)):D[k]=Z,++k;B=k}}if(B===void 0)for(B=s(T.length),C&&(D=new C(B)),P=0;P<B;++P)Z=E?h.call(E,_,T[P],P):T[P],C?(v.value=Z,x(D,P,v)):D[P]=Z;return C&&(v.value=null,D.length=B),D}},26760(f,d,e){"use strict";var n=e(25822),r=Array.isArray;f.exports=function(a){return r(a)?a:n(a)}},39007(f,d,e){"use strict";var n=e(39449),r=e(30171),a=e(43875),s=Error.captureStackTrace;f.exports=function(i){var u=new Error(i),l=arguments[1],m=arguments[2];return a(m)||r(l)&&(m=l,l=null),a(m)&&n(u,m),a(l)&&(u.code=l),s&&s(u,f.exports),u}},69719(f,d,e){"use strict";var n=e(14088),r=function(l,m){return m},a,s,i,u;try{Object.defineProperty(r,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}r.length===1?(a={configurable:!0,writable:!1,enumerable:!1},s=Object.defineProperty,f.exports=function(l,m){return m=n(m),l.length===m?l:(a.value=m,s(l,"length",a))}):(u=e(82586),i=(function(){var l=[];return function(m){var g,h=0;if(l[m])return l[m];for(g=[];m--;)g.push("a"+(++h).toString(36));return new Function("fn","return function ("+g.join(", ")+") { return fn.apply(this, arguments); };")}})(),f.exports=function(l,m){var g;if(m=n(m),l.length===m)return l;g=i(m)(l);try{u(g,l)}catch{}return g})},62091(f){"use strict";var d=Object.prototype.toString,e=d.call((function(){return arguments})());f.exports=function(n){return d.call(n)===e}},24479(f){"use strict";var d=Object.prototype.toString,e=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);
600f.exports=function(n){return typeof n=="function"&&e(d.call(n))}},45830(f){"use strict";f.exports=function(){}},20466(f,d,e){"use strict";f.exports=e(8185)()?Math.sign:e(51986)},8185(f){"use strict";f.exports=function(){var d=Math.sign;return typeof d!="function"?!1:d(10)===1&&d(-20)===-1}},51986(f){"use strict";f.exports=function(d){return d=Number(d),isNaN(d)||d===0?d:d>0?1:-1}},24514(f,d,e){"use strict";f.exports=e(24745)()?Number.isNaN:e(36373)},24745(f){"use strict";f.exports=function(){var d=Number.isNaN;return typeof d!="function"?!1:!d({})&&d(NaN)&&!d(34)}},36373(f){"use strict";f.exports=function(d){return d!==d}},79055(f,d,e){"use strict";var n=e(20466),r=Math.abs,a=Math.floor;f.exports=function(s){return isNaN(s)?0:(s=Number(s),s===0||!isFinite(s)?s:n(s)*a(r(s)))}},14088(f,d,e){"use strict";var n=e(79055),r=Math.max;f.exports=function(a){return r(0,n(a))}},21030(f,d,e){"use strict";var n=e(65194),r=e(99837),a=Function.prototype.bind,s=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;f.exports=function(l,m){return function(g,h){var v,x=arguments[2],T=arguments[3];return g=Object(r(g)),n(h),v=i(g),T&&v.sort(typeof T=="function"?a.call(T,g):void 0),typeof l!="function"&&(l=v[l]),s.call(l,v,function(E,_){return u.call(g,E)?s.call(h,x,g[E],E,g,_):m})}}},39449(f,d,e){"use strict";f.exports=e(16736)()?Object.assign:e(24556)},16736(f){"use strict";f.exports=function(){var d=Object.assign,e;return typeof d!="function"?!1:(e={foo:"raz"},d(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},24556(f,d,e){"use strict";var n=e(49468),r=e(99837),a=Math.max;f.exports=function(s,i){var u,l,m=a(arguments.length,2),g;for(s=Object(r(s)),g=function(h){try{s[h]=i[h]}catch(v){u||(u=v)}},l=1;l<m;++l)i=arguments[l],n(i).forEach(g);if(u!==void 0)throw u;return s}},1e4(f,d,e){"use strict";f.exports=e(21030)("forEach")},74448(f){"use strict";f.exports=function(d){return typeof d=="function"}},30171(f,d,e){"use strict";var n=e(43875),r={function:!0,object:!0};f.exports=function(a){return n(a)&&r[typeof a]||!1}},43875(f,d,e){"use strict";var n=e(45830)();f.exports=function(r){return r!==n&&r!==null}},49468(f,d,e){"use strict";f.exports=e(3411)()?Object.keys:e(58963)},3411(f){"use strict";f.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},58963(f,d,e){"use strict";var n=e(43875),r=Object.keys;f.exports=function(a){return r(n(a)?Object(a):a)}},81729(f,d,e){"use strict";var n=e(65194),r=e(1e4),a=Function.prototype.call;f.exports=function(s,i){var u={},l=arguments[2];return n(i),r(s,function(m,g,h,v){u[g]=a.call(i,l,m,g,h,v)}),u}},82586(f,d,e){"use strict";var n=e(99837),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;f.exports=function(u,l){var m,g=Object(n(l));if(u=Object(n(u)),s(g).forEach(function(h){try{r(u,h,a(l,h))}catch(v){m=v}}),typeof i=="function"&&i(g).forEach(function(h){try{r(u,h,a(l,h))}catch(v){m=v}}),m!==void 0)throw m;return u}},65419(f,d,e){"use strict";var n=e(43875),r=Array.prototype.forEach,a=Object.create,s=function(i,u){var l;for(l in i)u[l]=i[l]};f.exports=function(i){var u=a(null);return r.call(arguments,function(l){n(l)&&s(Object(l),u)}),u}},38947(f){"use strict";var d=Array.prototype.forEach,e=Object.create;f.exports=function(n){var r=e(null);return d.call(arguments,function(a){r[a]=!0}),r}},65194(f){"use strict";f.exports=function(d){if(typeof d!="function")throw new TypeError(d+" is not a function");return d}},99837(f,d,e){"use strict";var n=e(43875);f.exports=function(r){if(!n(r))throw new TypeError("Cannot use null or undefined");return r}},18309(f,d,e){"use strict";var n=e(99837),r=e(91661);f.exports=function(a){return r(n(a))}},91661(f,d,e){"use strict";var n=e(74448);f.exports=function(r){try{return r&&n(r.toString)?r.toString():String(r)}catch{throw new TypeError("Passed argument cannot be stringifed")}}},39014(f,d,e){"use strict";var n=e(74448);f.exports=function(r){try{return r&&n(r.toString)?r.toString():String(r)}catch{return"<Non-coercible to string value>"}}},2937(f,d,e){"use strict";f.exports=e(86752)()?String.prototype.contains:e(71436)}
600,86752(f){"use strict";var d="razdwatrzy";f.exports=function(){return typeof d.contains!="function"?!1:d.contains("dwa")===!0&&d.contains("foo")===!1}},71436(f){"use strict";var d=String.prototype.indexOf;f.exports=function(e){return d.call(this,e,arguments[1])>-1}},38883(f){"use strict";var d=Object.prototype.toString,e=d.call("");f.exports=function(n){return typeof n=="string"||n&&typeof n=="object"&&(n instanceof String||d.call(n)===e)||!1}},14129(f,d,e){"use strict";var n=e(39014),r=/[\n\r\u2028\u2029]/g;f.exports=function(a){var s=n(a);return s.length>100&&(s=s.slice(0,99)+"\u2026"),s=s.replace(r,function(i){return JSON.stringify(i).slice(1,-1)}),s}},82092(f,d,e){"use strict";f.exports=e(42691)()?e(22467).Symbol:e(38069)},42691(f,d,e){"use strict";var n=e(22467),r={object:!0,symbol:!0};f.exports=function(){var a=n.Symbol,s;if(typeof a!="function")return!1;s=a("test symbol");try{String(s)}catch{return!1}return!(!r[typeof a.iterator]||!r[typeof a.toPrimitive]||!r[typeof a.toStringTag])}},39759(f){"use strict";f.exports=function(d){return d?typeof d=="symbol"?!0:!d.constructor||d.constructor.name!=="Symbol"?!1:d[d.constructor.toStringTag]==="Symbol":!1}},89069(f,d,e){"use strict";var n=e(86785),r=Object.create,a=Object.defineProperty,s=Object.prototype,i=r(null);f.exports=function(u){for(var l=0,m,g;i[u+(l||"")];)++l;return u+=l||"",i[u]=!0,m="@@"+u,a(s,m,n.gs(null,function(h){g||(g=!0,a(this,m,n(h)),g=!1)})),m}},23285(f,d,e){"use strict";var n=e(86785),r=e(22467).Symbol;f.exports=function(a){return Object.defineProperties(a,{hasInstance:n("",r&&r.hasInstance||a("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||a("isConcatSpreadable")),iterator:n("",r&&r.iterator||a("iterator")),match:n("",r&&r.match||a("match")),replace:n("",r&&r.replace||a("replace")),search:n("",r&&r.search||a("search")),species:n("",r&&r.species||a("species")),split:n("",r&&r.split||a("split")),toPrimitive:n("",r&&r.toPrimitive||a("toPrimitive")),toStringTag:n("",r&&r.toStringTag||a("toStringTag")),unscopables:n("",r&&r.unscopables||a("unscopables"))})}},14166(f,d,e){"use strict";var n=e(86785),r=e(71601),a=Object.create(null);f.exports=function(s){return Object.defineProperties(s,{for:n(function(i){return a[i]?a[i]:a[i]=s(String(i))}),keyFor:n(function(i){var u;r(i);for(u in a)if(a[u]===i)return u})})}},38069(f,d,e){"use strict";var n=e(86785),r=e(71601),a=e(22467).Symbol,s=e(89069),i=e(23285),u=e(14166),l=Object.create,m=Object.defineProperties,g=Object.defineProperty,h,v,x;if(typeof a=="function")try{String(a()),x=!0}catch{}else a=null;v=function(E){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return h(E)},f.exports=h=function T(E){var _;if(this instanceof T)throw new TypeError("Symbol is not a constructor");return x?a(E):(_=l(v.prototype),E=E===void 0?"":String(E),m(_,{__description__:n("",E),__name__:n("",s(E))}))},i(h),u(h),m(v.prototype,{constructor:n(h),toString:n("",function(){return this.__name__})}),m(h.prototype,{toString:n(function(){return"Symbol ("+r(this).__description__+")"}),valueOf:n(function(){return r(this)})}),g(h.prototype,h.toPrimitive,n("",function(){var T=r(this);return typeof T=="symbol"?T:T.toString()})),g(h.prototype,h.toStringTag,n("c","Symbol")),g(v.prototype,h.toStringTag,n("c",h.prototype[h.toStringTag])),g(v.prototype,h.toPrimitive,n("c",h.prototype[h.toPrimitive]))},71601(f,d,e){"use strict";var n=e(39759);f.exports=function(r){if(!n(r))throw new TypeError(r+" is not a symbol");return r}},89166(f,d,e){"use strict";var n=e(86785),r=e(65194),a=Function.prototype.apply,s=Function.prototype.call,i=Object.create,u=Object.defineProperty,l=Object.defineProperties,m=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0},h,v,x,T,E,_,C;h=function(P,k){var D;return r(k),m.call(this,"__ee__")?D=this.__ee__:(D=g.value=i(null),u(this,"__ee__",g),g.value=null),D[P]?typeof D[P]=="object"?D[P].push(k):D[P]=[D[P],k]:D[P]=k,this},v=function(P,k){var D,B;return r(k),B=this,h.call(this,P,D=function(){x.call(B,P,D),a.call(k,this,arguments)}),D.__eeOnceListener__=k,this},x=function(P,k){var D,B,$,F;if(r(k),!m.call(this,"__ee__"))return this;if(D=this.__ee__,!D[P])return this;if(B=D[P],typeof B=="object")for(F=0;$=B[F];++F)($===k||$.__eeOnceListener__===k)&&(B.length===2?D[P]=B[F?0:1]:B.splice(F,1));else(B===k||B.__eeOnceListener__===k)&&delete D[P];return this},T=function(P){var k,D,B,$,F;if(m.call(this,"__ee__")&&($=this.__ee__[P],!!$))if(typeof $=="object"){for(D=arguments.length,F=new Array(D-1),k=1;k<D;++k)F[k-1]=arguments[k];
600for($=$.slice(),k=0;B=$[k];++k)a.call(B,this,F)}else switch(arguments.length){case 1:s.call($,this);break;case 2:s.call($,this,arguments[1]);break;case 3:s.call($,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,F=new Array(D-1),k=1;k<D;++k)F[k-1]=arguments[k];a.call($,this,F)}},E={on:h,once:v,off:x,emit:T},_={on:n(h),once:n(v),off:n(x),emit:n(T)},C=l({},_),f.exports=d=function(P){return P==null?i(C):l(Object(P),_)},d.methods=E},94211(f,d){var e,n,r;/** @license 601* eventsource.js 602* Available under MIT License (MIT) 603* https://github.com/Yaffle/EventSource/ 604*/(function(a){"use strict";var s=a.setTimeout,i=a.clearTimeout,u=a.XMLHttpRequest,l=a.XDomainRequest,m=a.ActiveXObject,g=a.EventSource,h=a.document,v=a.Promise,x=a.fetch,T=a.Response,E=a.TextDecoder,_=a.TextEncoder,C=a.AbortController;if(typeof window<"u"&&!("readyState"in h)&&h.body==null&&(h.readyState="loading",window.addEventListener("load",function(yt){h.readyState="complete"},!1)),u==null&&(u=function(){return new m("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(yt){function tt(){}return tt.prototype=yt,new tt}),C==null){var P=x;x=function(yt,tt){var Ar=tt.signal;return P(yt,{headers:tt.headers,credentials:tt.credentials,cache:tt.cache}).then(function(Mr){var Er=Mr.body.getReader();return Ar._reader=Er,Ar._aborted&&Ar._reader.cancel(),{status:Mr.status,statusText:Mr.statusText,headers:Mr.headers,body:{getReader:function(){return Er}}}})},C=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function k(){this.bitsNeeded=0,this.codePoint=0}k.prototype.decode=function(yt){function tt(Xr,hn,Qt){if(Qt===1)return Xr>=128>>hn&&Xr<<hn<=2047;if(Qt===2)return Xr>=2048>>hn&&Xr<<hn<=55295||Xr>=57344>>hn&&Xr<<hn<=65535;if(Qt===3)return Xr>=65536>>hn&&Xr<<hn<=1114111;throw new Error}function Ar(Xr,hn){if(Xr===6)return hn>>6>15?3:hn>31?2:1;if(Xr===12)return hn>15?3:2;if(Xr===18)return 3;throw new Error}for(var Mr=65533,Er="",Ur=this.bitsNeeded,or=this.codePoint,An=0;An<yt.length;An+=1){var dr=yt[An];Ur!==0&&(dr<128||dr>191||!tt(or<<6|dr&63,Ur-6,Ar(Ur,or)))&&(Ur=0,or=Mr,Er+=String.fromCharCode(or)),Ur===0?(dr>=0&&dr<=127?(Ur=0,or=dr):dr>=192&&dr<=223?(Ur=6,or=dr&31):dr>=224&&dr<=239?(Ur=12,or=dr&15):dr>=240&&dr<=247?(Ur=18,or=dr&7):(Ur=0,or=Mr),Ur!==0&&!tt(or,Ur,Ar(Ur,or))&&(Ur=0,or=Mr)):(Ur-=6,or=or<<6|dr&63),Ur===0&&(or<=65535?Er+=String.fromCharCode(or):(Er+=String.fromCharCode(55296+(or-65535-1>>10)),Er+=String.fromCharCode(56320+(or-65535-1&1023))))}return this.bitsNeeded=Ur,this.codePoint=or,Er};var D=function(){try{return new E().decode(new _().encode("test"),{stream:!0})==="test"}catch(yt){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+yt)}return!1};(E==null||_==null||!D())&&(E=k);var B=function(){};function $(yt){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=B,this.onload=B,this.onerror=B,this.onreadystatechange=B,this._contentType="",this._xhr=yt,this._sendTimeout=0,this._abort=B}$.prototype.open=function(yt,tt){this._abort(!0);var Ar=this,Mr=this._xhr,Er=1,Ur=0;this._abort=function(Qt){Ar._sendTimeout!==0&&(i(Ar._sendTimeout),Ar._sendTimeout=0),(Er===1||Er===2||Er===3)&&(Er=4,Mr.onload=B,Mr.onerror=B,Mr.onabort=B,Mr.onprogress=B,Mr.onreadystatechange=B,Mr.abort(),Ur!==0&&(i(Ur),Ur=0),Qt||(Ar.readyState=4,Ar.onabort(null),Ar.onreadystatechange())),Er=0};var or=function(){if(Er===1){var Qt=0,Br="",zt=void 0;if("contentType"in Mr)Qt=200,Br="OK",zt=Mr.contentType;else try{Qt=Mr.status,Br=Mr.statusText,zt=Mr.getResponseHeader("Content-Type")}catch{Qt=0,Br="",zt=void 0}Qt!==0&&(Er=2,Ar.readyState=2,Ar.status=Qt,Ar.statusText=Br,Ar._contentType=zt,Ar.onreadystatechange())}},An=function(){if(or(),Er===2||Er===3){Er=3;var Qt="";try{Qt=Mr.responseText}catch{}Ar.readyState=3,Ar.responseText=Qt,Ar.onprogress()}},dr=function(Qt,Br){if((Br==null||Br.preventDefault==null)&&(Br={preventDefault:B}),An(),Er===1||Er===2||Er===3){if(Er=4,Ur!==0&&(i(Ur),Ur=0),Ar.readyState=4,Qt==="load")Ar.onload(Br);else if(Qt==="error")Ar.onerror(Br);else if(Qt==="abort")Ar.onabort(Br);else throw new TypeError;Ar.onreadystatechange()}},Xr=function(Qt){Mr!=null&&(Mr.readyState===4?(!("onload"in Mr)||!("onerror"in Mr)||!("onabort"in Mr))&&dr(Mr.responseText===""?"error":"load",Qt):Mr.readyState===3?"onprogress"in Mr||An():Mr.readyState===2&&or())},hn=function(){Ur=s(function(){hn()},500),Mr.readyState===3&&An()};"onload"in Mr&&(Mr.onload=function(Qt){dr("load",Qt)}),"onerror"in Mr&&(Mr.onerror=function(Qt){dr("error",Qt)}),"onabort"in Mr&&(Mr.onabort=function(Qt){dr("abort",Qt)}),"onprogress"in Mr&&(Mr.onprogress=An),"onreadystatechange"in Mr&&(Mr.onreadystatechange=function(Qt){Xr(Qt)}),("contentType"in Mr||!("ontimeout"in u.prototype))&&(tt+=(tt.indexOf("?")===-1?"?":"&")+"padding=true"),Mr.open(yt,tt,!0),"readyState"in Mr&&(Ur=s(function(){hn()},0))},$.prototype.abort=function(){this._abort(!1)},$.prototype.getResponseHeader=function(yt){return this._contentType},$.prototype.setRequestHeader=function(yt,tt){var Ar=this._xhr;"setRequestHeader"in Ar&&Ar.setRequestHeader(yt,tt)},$.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},$.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&h!=null&&h.readyState!=null&&h.readyState!=="complete"){var yt=this;yt._sendTimeout=s(function(){yt._sendTimeout=0,yt.send()},4);return}var tt=this._xhr;"withCredentials"in tt&&(tt.withCredentials=this.withCredentials);try{tt.send(void 0)}catch(Ar){throw Ar}};function F(yt){return yt.replace(/[A-Z]/g,function(tt){return String.fromCharCode(tt.charCodeAt(0)+32)})}function V(yt){for(var tt=Object.create(null),Ar=yt.split(`\r 605`),Mr=0;Mr<Ar.length;Mr+=1){var Er=Ar[Mr],Ur=Er.split(": "),or=Ur.shift(),An=Ur.join(": ");tt[F(or)]=An}this._map=tt}V.prototype.get=function(yt){return this._map[F(yt)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function W(){}W.prototype.open=function(yt,tt,Ar,Mr,Er,Ur,or){yt.open("GET",Er);var An=0;yt.onprogress=function(){var Xr=yt.responseText,hn=Xr.slice(An);An+=hn.length,Ar(hn)},yt.onerror=function(Xr){Xr.preventDefault(),Mr(new Error("NetworkError"))},yt.onload=function(){Mr(null)},yt.onabort=function(){Mr(null)},yt.onreadystatechange=function(){if(yt.readyState===u.HEADERS_RECEIVED){var Xr=yt.status,hn=yt.statusText,Qt=yt.getResponseHeader("Content-Type"),Br=yt.getAllResponseHeaders();tt(Xr,hn,Qt,new V(Br))}},yt.withCredentials=Ur;for(var dr in or)Object.prototype.hasOwnProperty.call(or,dr)&&yt.setRequestHeader(dr,or[dr]);return yt.send(),yt};function Z(yt){this._headers=yt}Z.prototype.get=function(yt){return this._headers.get(yt)};function J(){}J.prototype.open=function(yt,tt,Ar,Mr,Er,Ur,or){var An=null,dr=ne
605w C,Xr=dr.signal,hn=new E;return x(Er,{headers:or,credentials:Ur?"include":"same-origin",signal:Xr,cache:"no-store"}).then(function(Qt){return An=Qt.body.getReader(),tt(Qt.status,Qt.statusText,Qt.headers.get("Content-Type"),new Z(Qt.headers)),new v(function(Br,zt){var Tt=function(){An.read().then(function(Pr){if(Pr.done)Br(void 0);else{var Y=hn.decode(Pr.value,{stream:!0});Ar(Y),Tt()}}).catch(function(Pr){zt(Pr)})};Tt()})}).catch(function(Qt){if(Qt.name!=="AbortError")return Qt}).then(function(Qt){Mr(Qt)}),{abort:function(){An?.cancel(),dr.abort()}}};function ie(){this._listeners=Object.create(null)}function le(yt){s(function(){throw yt},0)}ie.prototype.dispatchEvent=function(yt){yt.target=this;var tt=this._listeners[yt.type];if(tt!=null)for(var Ar=tt.length,Mr=0;Mr<Ar;Mr+=1){var Er=tt[Mr];try{typeof Er.handleEvent=="function"?Er.handleEvent(yt):Er.call(this,yt)}catch(Ur){le(Ur)}}},ie.prototype.addEventListener=function(yt,tt){yt=String(yt);var Ar=this._listeners,Mr=Ar[yt];Mr==null&&(Mr=[],Ar[yt]=Mr);for(var Er=!1,Ur=0;Ur<Mr.length;Ur+=1)Mr[Ur]===tt&&(Er=!0);Er||Mr.push(tt)},ie.prototype.removeEventListener=function(yt,tt){yt=String(yt);var Ar=this._listeners,Mr=Ar[yt];if(Mr!=null){for(var Er=[],Ur=0;Ur<Mr.length;Ur+=1)Mr[Ur]!==tt&&Er.push(Mr[Ur]);Er.length===0?delete Ar[yt]:Ar[yt]=Er}};function he(yt){this.type=yt,this.target=void 0}function me(yt,tt){he.call(this,yt),this.data=tt.data,this.lastEventId=tt.lastEventId}me.prototype=Object.create(he.prototype);function je(yt,tt){he.call(this,yt),this.status=tt.status,this.statusText=tt.statusText,this.headers=tt.headers}je.prototype=Object.create(he.prototype);function Fe(yt,tt){he.call(this,yt),this.error=tt.error}Fe.prototype=Object.create(he.prototype);var Je=-1,Xe=0,ge=1,be=2,Ie=-1,Re=0,ye=1,De=2,$e=3,qe=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,It=1e3,mt=18e6,kt=function(yt,tt){var Ar=yt==null?tt:parseInt(yt,10);return Ar!==Ar&&(Ar=tt),Ut(Ar)},Ut=function(yt){return Math.min(Math.max(yt,It),mt)},Ir=function(yt,tt,Ar){try{typeof tt=="function"&&tt.call(yt,Ar)}catch(Mr){le(Mr)}};function Sr(yt,tt){ie.call(this),tt=tt||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,dn(this,yt,tt)}function Yr(){return u!=null&&"withCredentials"in u.prototype||l==null?new u:new l}var Gr=x!=null&&T!=null&&"body"in T.prototype;function dn(yt,tt,Ar){tt=String(tt);var Mr=!!Ar.withCredentials,Er=Ut(1e3),Ur=kt(Ar.heartbeatTimeout,45e3),or="",An=Er,dr=!1,Xr=0,hn=Ar.headers||{},Qt=Ar.Transport,Br=Gr&&Qt==null?void 0:new $(Qt!=null?new Qt:Yr()),zt=Qt!=null&&typeof Qt!="string"?new Qt:Br==null?new J:new W,Tt=void 0,Pr=0,Y=Je,ht="",ur="",it="",Rt="",Zr=Re,nn=0,fn=0,Sn=function(ms,hs,Mi,gi){if(Y===Xe)if(ms===200&&Mi!=null&&qe.test(Mi)){Y=ge,dr=!0,An=Er,yt.readyState=ge;var Hi=new je("open",{status:ms,statusText:hs,headers:gi});yt.dispatchEvent(Hi),Ir(yt,yt.onopen,Hi)}else{var qn="";ms!==200?(hs&&(hs=hs.replace(/\s+/g," ")),qn="EventSource's response has a status "+ms+" "+hs+" that is not 200. Aborting the connection."):qn="EventSource's response has a Content-Type specifying an unsupported type: "+(Mi==null?"-":Mi.replace(/\s+/g," "))+". Aborting the connection.",qr();var Hi=new je("error",{status:ms,statusText:hs,headers:gi});yt.dispatchEvent(Hi),Ir(yt,yt.onerror,Hi),console.error(qn)}},Ci=function(ms){if(Y===ge){for(var hs=-1,Mi=0;Mi<ms.length;Mi+=1){var gi=ms.charCodeAt(Mi);(gi===10||gi===13)&&(hs=Mi)}var Hi=(hs!==-1?Rt:"")+ms.slice(0,hs+1);Rt=(hs===-1?Rt:"")+ms.slice(hs+1),ms!==""&&(dr=!0,Xr+=ms.length);for(var qn=0;qn<Hi.length;qn+=1){var gi=Hi.charCodeAt(qn);if(Zr===Ie&&gi===10)Zr=Re;else if(Zr===Ie&&(Zr=Re),gi===13||gi===10){if(Zr!==Re){Zr===ye&&(fn=qn+1);var $n=Hi.slice(nn,fn-1),$s=Hi.slice(fn+(fn<qn&&Hi.charCodeAt(fn)===32?1:0),qn);$n==="data"?(ht+=` 606`,ht+=$s):$n==="id"?ur=$s:$n==="event"?it=$s:$n==="retry"?(Er=kt($s,Er),An=Er):$n==="heartbeatTimeout"&&(Ur=kt($s,Ur),Pr!==0&&(i(Pr),Pr=s(function(){Bi()},Ur)))}if(Zr===Re){if(ht!==""){or=ur,it===""&&(it="message");var ys=new me(it,{data:ht.slice(1),lastEventId:ur});if(yt.dispatchEvent(ys),it==="open"?Ir(yt,yt.onopen,ys):it==="message"?Ir(yt,yt.onmessage,ys):it==="error"&&Ir(yt,yt.onerror,ys),Y===be)return}ht="",it=""}Zr=gi===13?Ie:Re}else Zr===Re&&(nn=qn,Zr=ye),Zr===ye?gi===58&&(fn=qn+1,Zr=De):Zr===De&&(Zr=$e)}}},$i=function(ms){if(Y===ge||Y===Xe){Y=Je,Pr!==0&&(i(Pr),Pr=0),Pr=s(function(){Bi()},An),An=Ut(Math.min(Er*16,An*2)),yt.readyState=Xe;var hs=new Fe("error",{error:ms});yt.dispatchEvent(hs),Ir(yt,yt.onerror,hs)}},qr=function(){Y=be,Tt!=null&&(Tt.abort(),Tt=void 0),Pr!==0&&(i(Pr),Pr=0),yt.readyState=be},Bi=function(){if(Pr=0,Y!==Je){!dr&&Tt!=null?($i(new Error("No activity within "+Ur+" milliseconds. "+(Y===Xe?"No response received.":Xr+" chars received.")+" Reconnecting.")),Tt!=null&&(Tt.abort(),Tt=void 0)):(dr=!1,Pr=s(function(){Bi()},Ur));return}dr=!1,Xr=0,Pr=s(function(){Bi()},Ur),Y=Xe,ht="",it="",ur=or,Rt="",nn=0,fn=0,Zr=Re;var ms=tt;tt.slice(0,5)!=="data:"&&tt.slice(0,5)!=="blob:"&&or!==""&&(ms+=(tt.indexOf("?")===-1?"?":"&")+"lastEventId="+encodeURIComponent(or));var hs=yt.withCredentials,Mi={};Mi.Accept="text/event-stream";var gi=yt.headers;if(gi!=null)for(var Hi in gi)Object.prototype.hasOwnProperty.call(gi,Hi)&&(Mi[Hi]=gi[Hi]);try{Tt=zt.open(Br,Sn,Ci,$i,ms,hs,Mi)}catch(qn){throw qr(),qn}};yt.url=tt,yt.readyState=Xe,yt.withCredentials=Mr,yt.headers=hn,yt._close=qr,Bi()}Sr.prototype=Object.create(ie.prototype),Sr.prototype.CONNECTING=Xe,Sr.prototype.OPEN=ge,Sr.prototype.CLOSED=be,Sr.prototype.close=function(){this._close()},Sr.CONNECTING=Xe,Sr.OPEN=ge,Sr.CLOSED=be,Sr.prototype.withCredentials=void 0;var Kr=g;u!=null&&(g==null||!("withCredentials"in g.prototype))&&(Kr=Sr),(function(yt){if(typeof f.exp
606orts=="object"){var tt=yt(d);tt!==void 0&&(f.exports=tt)}else n=[d],e=yt,r=typeof e=="function"?e.apply(d,n):e,r!==void 0&&(f.exports=r)})(function(yt){yt.EventSourcePolyfill=Sr,yt.NativeEventSource=g,yt.EventSource=Kr})})(typeof window<"u"?window:typeof self<"u"?self:this)},17892(f){"use strict";var d=Object.prototype.hasOwnProperty,e="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(e=!1));function r(u,l,m){this.fn=u,this.context=l,this.once=m||!1}function a(u,l,m,g,h){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new r(m,g||u,h),x=e?e+l:l;return u._events[x]?u._events[x].fn?u._events[x]=[u._events[x],v]:u._events[x].push(v):(u._events[x]=v,u._eventsCount++),u}function s(u,l){--u._eventsCount===0?u._events=new n:delete u._events[l]}function i(){this._events=new n,this._eventsCount=0}i.prototype.eventNames=function(){var l=[],m,g;if(this._eventsCount===0)return l;for(g in m=this._events)d.call(m,g)&&l.push(e?g.slice(1):g);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(m)):l},i.prototype.listeners=function(l){var m=e?e+l:l,g=this._events[m];if(!g)return[];if(g.fn)return[g.fn];for(var h=0,v=g.length,x=new Array(v);h<v;h++)x[h]=g[h].fn;return x},i.prototype.listenerCount=function(l){var m=e?e+l:l,g=this._events[m];return g?g.fn?1:g.length:0},i.prototype.emit=function(l,m,g,h,v,x){var T=e?e+l:l;if(!this._events[T])return!1;var E=this._events[T],_=arguments.length,C,P;if(E.fn){switch(E.once&&this.removeListener(l,E.fn,void 0,!0),_){case 1:return E.fn.call(E.context),!0;case 2:return E.fn.call(E.context,m),!0;case 3:return E.fn.call(E.context,m,g),!0;case 4:return E.fn.call(E.context,m,g,h),!0;case 5:return E.fn.call(E.context,m,g,h,v),!0;case 6:return E.fn.call(E.context,m,g,h,v,x),!0}for(P=1,C=new Array(_-1);P<_;P++)C[P-1]=arguments[P];E.fn.apply(E.context,C)}else{var k=E.length,D;for(P=0;P<k;P++)switch(E[P].once&&this.removeListener(l,E[P].fn,void 0,!0),_){case 1:E[P].fn.call(E[P].context);break;case 2:E[P].fn.call(E[P].context,m);break;case 3:E[P].fn.call(E[P].context,m,g);break;case 4:E[P].fn.call(E[P].context,m,g,h);break;default:if(!C)for(D=1,C=new Array(_-1);D<_;D++)C[D-1]=arguments[D];E[P].fn.apply(E[P].context,C)}}return!0},i.prototype.on=function(l,m,g){return a(this,l,m,g,!1)},i.prototype.once=function(l,m,g){return a(this,l,m,g,!0)},i.prototype.removeListener=function(l,m,g,h){var v=e?e+l:l;if(!this._events[v])return this;if(!m)return s(this,v),this;var x=this._events[v];if(x.fn)x.fn===m&&(!h||x.once)&&(!g||x.context===g)&&s(this,v);else{for(var T=0,E=[],_=x.length;T<_;T++)(x[T].fn!==m||h&&!x[T].once||g&&x[T].context!==g)&&E.push(x[T]);E.length?this._events[v]=E.length===1?E[0]:E:s(this,v)}return this},i.prototype.removeAllListeners=function(l){var m;return l?(m=e?e+l:l,this._events[m]&&s(this,m)):(this._events=new n,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prefixed=e,i.EventEmitter=i,f.exports=i},28505(f){"use strict";var d=typeof Reflect=="object"?Reflect:null,e=d&&typeof d.apply=="function"?d.apply:function(B,$,F){return Function.prototype.apply.call(B,$,F)},n;d&&typeof d.ownKeys=="function"?n=d.ownKeys:Object.getOwnPropertySymbols?n=function(B){return Object.getOwnPropertyNames(B).concat(Object.getOwnPropertySymbols(B))}:n=function(B){return Object.getOwnPropertyNames(B)};function r(D){console&&console.warn&&console.warn(D)}var a=Number.isNaN||function(B){return B!==B};function s(){s.init.call(this)}f.exports=s,f.exports.once=C,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var i=10;function u(D){if(typeof D!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof D)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(D){if(typeof D!="number"||D<0||a(D))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+D+".");i=D}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(B){if(typeof B!="number"||B<0||a(B))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+B+".");return this._maxListeners=B,this};function l(D){return D._maxListeners===void 0?s.defaultMaxListeners:D._maxListeners}s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(B){for(var $=[],F=1;F<arguments.length;F++)$.push(arguments[F]);var V=B==="error",W=this._events;if(W!==void 0)V=V&&W.error===void 0;else if(!V)return!1;if(V){var Z;if($.length>0&&(Z=$[0]),Z instanceof Error)throw Z;var J=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw J.context=Z,J}var ie=W[B];if(ie===void 0)return!1;if(typeof ie=="function")e(ie,this,$);else for(var le=ie.length,he=T(ie,le),F=0;F<le;++F)e(he[F],this,$);return!0};function m(D,B,$,F){var V,W,Z;if(u($),W=D._events,W===void 0?(W=D._events=Object.create(null),D._eventsCount=0):(W.newListener!==void 0&&(D.emit("newListener",B,$.listener?$.listener:$),W=D._events),Z=W[B]),Z===void 0)Z=W[B]=$,++D._eventsCount;else if(typeof Z=="function"?Z=W[B]=F?[$,Z]:[Z,$]:F?Z.unshift($):Z.push($),V=l(D),V>0&&Z.length>V&&!Z.warned){Z.warned=!0;var J=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(B)+" listeners added. Use emitter.setMaxListeners() to increase limit");J.name="MaxListenersExceededWarning",J.emitter=D,J.type=B,J.count=Z.length,r(J)}return D}s.prototype.addListener=function(B,$){return m(this,B,$,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(B,$){return m(this,B,$,!0)};function g(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(D,B,$){var F={fired:!1,wrapFn:void 0,target:D,type:B,listener:$},V=g.bind(F);return V.listener=$,F.wrapFn=V,V}s.prototype.once=function(B,$){return u($),this.on(B,h(this,B,$)),this},s.prototype.prependOnceListener=function(B,$){return u($),this.prependListener(B,h(this,B,$)),this},s.prototype.removeListener=function(B,$){var F,V,W,Z,J;if(u($),V=this._events,V===void 0)return this;if(F=V[B],F===void 0)return this;if(F===$||F.listener===$)--this._eventsCount===0?this._events=Object.create(null):(delete V[B],V.removeListener&&this.emit
606("removeListener",B,F.listener||$));else if(typeof F!="function"){for(W=-1,Z=F.length-1;Z>=0;Z--)if(F[Z]===$||F[Z].listener===$){J=F[Z].listener,W=Z;break}if(W<0)return this;W===0?F.shift():E(F,W),F.length===1&&(V[B]=F[0]),V.removeListener!==void 0&&this.emit("removeListener",B,J||$)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(B){var $,F,V;if(F=this._events,F===void 0)return this;if(F.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):F[B]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete F[B]),this;if(arguments.length===0){var W=Object.keys(F),Z;for(V=0;V<W.length;++V)Z=W[V],Z!=="removeListener"&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if($=F[B],typeof $=="function")this.removeListener(B,$);else if($!==void 0)for(V=$.length-1;V>=0;V--)this.removeListener(B,$[V]);return this};function v(D,B,$){var F=D._events;if(F===void 0)return[];var V=F[B];return V===void 0?[]:typeof V=="function"?$?[V.listener||V]:[V]:$?_(V):T(V,V.length)}s.prototype.listeners=function(B){return v(this,B,!0)},s.prototype.rawListeners=function(B){return v(this,B,!1)},s.listenerCount=function(D,B){return typeof D.listenerCount=="function"?D.listenerCount(B):x.call(D,B)},s.prototype.listenerCount=x;function x(D){var B=this._events;if(B!==void 0){var $=B[D];if(typeof $=="function")return 1;if($!==void 0)return $.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function T(D,B){for(var $=new Array(B),F=0;F<B;++F)$[F]=D[F];return $}function E(D,B){for(;B+1<D.length;B++)D[B]=D[B+1];D.pop()}function _(D){for(var B=new Array(D.length),$=0;$<B.length;++$)B[$]=D[$].listener||D[$];return B}function C(D,B){return new Promise(function($,F){function V(Z){D.removeListener(B,W),F(Z)}function W(){typeof D.removeListener=="function"&&D.removeListener("error",V),$([].slice.call(arguments))}k(D,B,W,{once:!0}),B!=="error"&&P(D,V,{once:!0})})}function P(D,B,$){typeof D.on=="function"&&k(D,"error",B,$)}function k(D,B,$,F){if(typeof D.on=="function")F.once?D.once(B,$):D.on(B,$);else if(typeof D.addEventListener=="function")D.addEventListener(B,function V(W){F.once&&D.removeEventListener(B,V),$(W)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof D)}},13493(f){var d=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};f.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return d()}try{return __global__||d()}finally{delete Object.prototype.__global__}})()},22467(f,d,e){"use strict";f.exports=e(7146)()?globalThis:e(13493)},7146(f){"use strict";f.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}},30335(f){"use strict";f.exports=function d(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,a,s;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!d(e[a],n[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(s=Object.keys(e),r=s.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[a]))return!1;for(a=r;a--!==0;){var i=s[a];if(!d(e[i],n[i]))return!1}return!0}return e!==e&&n!==n}},55817(f){"use strict";/** 607 * filesize 608 * 609 * @copyright 2017 Jason Mulligan <[email protected]> 610 * @license BSD-3-Clause 611 * @version 3.5.11 612 */(function(d){var e=/^(b|B)$/,n={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},r={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function a(s){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[],l=0,m=void 0,g=void 0,h=void 0,v=void 0,x=void 0,T=void 0,E=void 0,_=void 0,C=void 0,P=void 0,k=void 0,D=void 0,B=void 0,$=void 0;if(isNaN(s))throw new Error("Invalid arguments");return h=i.bits===!0,k=i.unix===!0,g=i.base||2,P=i.round!==void 0?i.round:k?1:2,D=i.spacer!==void 0?i.spacer:k?"":" ",$=i.symbols||i.suffixes||{},B=g===2&&i.standard||"jedec",C=i.output||"string",x=i.fullform===!0,T=i.fullforms instanceof Array?i.fullforms:[],m=i.exponent!==void 0?i.exponent:-1,_=Number(s),E=_<0,v=g>2?1e3:1024,E&&(_=-_),(m===-1||isNaN(m))&&(m=Math.floor(Math.log(_)/Math.log(v)),m<0&&(m=0)),m>8&&(m=8),_===0?(u[0]=0,u[1]=k?"":n[B][h?"bits":"bytes"][m]):(l=_/(g===2?Math.pow(2,m*10):Math.pow(1e3,m)),h&&(l=l*8,l>=v&&m<8&&(l=l/v,m++)),u[0]=Number(l.toFixed(m>0?P:0)),u[1]=g===10&&m===1?h?"kb":"kB":n[B][h?"bits":"bytes"][m],k&&(u[1]=B==="jedec"?u[1].charAt(0):m>0?u[1].replace(/B$/,""):u[1],e.test(u[1])&&(u[0]=Math.floor(u[0]),u[1]=""))),E&&(u[0]=-u[0]),u[1]=$[u[1]]||u[1],C==="array"?u:C==="exponent"?m:C==="object"?{value:u[0],suffix:u[1],symbol:u[1]}:(x&&(u[1]=T[m]?T[m]:r[B][m]+(h?"bit":"byte")+(u[0]===1?"":"s")),u.join(D))}a.partial=function(s){return function(i){return a(i,s)}}
612,f.exports=a})(typeof window<"u"?window:globalThis)},5752(f){(function(){function d(E,_){document.addEventListener?E.addEventListener("scroll",_,!1):E.attachEvent("scroll",_)}function e(E){document.body?E():document.addEventListener?document.addEventListener("DOMContentLoaded",function _(){document.removeEventListener("DOMContentLoaded",_),E()}):document.attachEvent("onreadystatechange",function _(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",_),E())})}function n(E){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(E)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(E,_){E.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+_+";"}function a(E){var _=E.a.offsetWidth,C=_+100;return E.f.style.width=C+"px",E.c.scrollLeft=C,E.b.scrollLeft=E.b.scrollWidth+100,E.g!==_?(E.g=_,!0):!1}function s(E,_){function C(){var k=P;a(k)&&k.a.parentNode&&_(k.g)}var P=E;d(E.b,C),d(E.c,C),a(E)}function i(E,_){var C=_||{};this.family=E,this.style=C.style||"normal",this.weight=C.weight||"normal",this.stretch=C.stretch||"normal"}var u=null,l=null,m=null,g=null;function h(){if(l===null)if(v()&&/Apple/.test(window.navigator.vendor)){var E=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!E&&603>parseInt(E[1],10)}else l=!1;return l}function v(){return g===null&&(g=!!document.fonts),g}function x(){if(m===null){var E=document.createElement("div");try{E.style.font="condensed 100px sans-serif"}catch{}m=E.style.font!==""}return m}function T(E,_){return[E.style,E.weight,x()?E.stretch:"","100px",_].join(" ")}i.prototype.load=function(E,_){var C=this,P=E||"BESbswy",k=0,D=_||3e3,B=new Date().getTime();return new Promise(function($,F){if(v()&&!h()){var V=new Promise(function(Z,J){function ie(){new Date().getTime()-B>=D?J(Error(""+D+"ms timeout exceeded")):document.fonts.load(T(C,'"'+C.family+'"'),P).then(function(le){1<=le.length?Z():setTimeout(ie,25)},J)}ie()}),W=new Promise(function(Z,J){k=setTimeout(function(){J(Error(""+D+"ms timeout exceeded"))},D)});Promise.race([W,V]).then(function(){clearTimeout(k),$(C)},F)}else e(function(){function Z(){var Ie;(Ie=me!=-1&&je!=-1||me!=-1&&Fe!=-1||je!=-1&&Fe!=-1)&&((Ie=me!=je&&me!=Fe&&je!=Fe)||(u===null&&(Ie=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),u=!!Ie&&(536>parseInt(Ie[1],10)||parseInt(Ie[1],10)===536&&11>=parseInt(Ie[2],10))),Ie=u&&(me==Je&&je==Je&&Fe==Je||me==Xe&&je==Xe&&Fe==Xe||me==ge&&je==ge&&Fe==ge)),Ie=!Ie),Ie&&(be.parentNode&&be.parentNode.removeChild(be),clearTimeout(k),$(C))}function J(){if(new Date().getTime()-B>=D)be.parentNode&&be.parentNode.removeChild(be),F(Error(""+D+"ms timeout exceeded"));else{var Ie=document.hidden;(Ie===!0||Ie===void 0)&&(me=ie.a.offsetWidth,je=le.a.offsetWidth,Fe=he.a.offsetWidth,Z()),k=setTimeout(J,50)}}var ie=new n(P),le=new n(P),he=new n(P),me=-1,je=-1,Fe=-1,Je=-1,Xe=-1,ge=-1,be=document.createElement("div");be.dir="ltr",r(ie,T(C,"sans-serif")),r(le,T(C,"serif")),r(he,T(C,"monospace")),be.appendChild(ie.a),be.appendChild(le.a),be.appendChild(he.a),document.body.appendChild(be),Je=ie.a.offsetWidth,Xe=le.a.offsetWidth,ge=he.a.offsetWidth,J(),s(ie,function(Ie){me=Ie,Z()}),r(ie,T(C,'"'+C.family+'",sans-serif')),s(le,function(Ie){je=Ie,Z()}),r(le,T(C,'"'+C.family+'",serif')),s(he,function(Ie){Fe=Ie,Z()}),r(he,T(C,'"'+C.family+'",monospace'))})})}
612,f.exports=i})()},42668(f){"use strict";var d="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",a=function(l,m){for(var g=[],h=0;h<l.length;h+=1)g[h]=l[h];for(var v=0;v<m.length;v+=1)g[v+l.length]=m[v];return g},s=function(l,m){for(var g=[],h=m||0,v=0;h<l.length;h+=1,v+=1)g[v]=l[h];return g},i=function(u,l){for(var m="",g=0;g<u.length;g+=1)m+=u[g],g+1<u.length&&(m+=l);return m};f.exports=function(l){var m=this;if(typeof m!="function"||e.apply(m)!==r)throw new TypeError(d+m);for(var g=s(arguments,1),h,v=function(){if(this instanceof h){var C=m.apply(this,a(g,arguments));return Object(C)===C?C:this}return m.apply(l,a(g,arguments))},x=n(0,m.length-g.length),T=[],E=0;E<x;E++)T[E]="$"+E;if(h=Function("binder","return function ("+i(T,",")+"){ return binder.apply(this,arguments); }")(v),m.prototype){var _=function(){};_.prototype=m.prototype,h.prototype=new _,_.prototype=null}return h}},29800(f,d,e){"use strict";var n=e(42668);f.exports=Function.prototype.bind||n},23295(f,d,e){"use strict";var n,r=e(46661),a=e(78388),s=e(49648),i=e(89545),u=e(51753),l=e(16761),m=e(91570),g=e(97106),h=e(800),v=e(18382),x=e(88346),T=e(5076),E=e(14982),_=e(2208),C=e(49219),P=Function,k=function(Ut){try{return P('"use strict"; return ('+Ut+").constructor;")()}catch{}},D=e(58455),B=e(41714),$=function(){throw new m},F=D?(function(){try{return arguments.callee,$}catch{try{return D(arguments,"callee").get}catch{return $}}})():$,V=e(98078)(),W=e(6848),Z=e(80100),J=e(1852),ie=e(38799),le=e(98803),he={},me=typeof Uint8Array>"u"||!W?n:W(Uint8Array),je={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":V&&W?W([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":he,"%AsyncGenerator%":he,"%AsyncGeneratorFunction%":he,"%AsyncIteratorPrototype%":he,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":P,"%GeneratorFunction%":he,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 5,215 bytes, line 612
612"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":V&&W?W(W([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!V||!W?n:W(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":D,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":i,"%ReferenceError%":u,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!V||!W?n:W(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":V&&W?W(""[Symbol.iterator]()):n,"%Symbol%":V?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":F,"%TypedArray%":me,"%TypeError%":m,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":ie,"%Object.defineProperty%":B,"%Object.getPrototypeOf%":Z,"%Math.abs%":h,"%Math.floor%":v,"%Math.max%":x,"%Math.min%":T,"%Math.pow%":E,"%Math.round%":_,"%Math.sign%":C,"%Reflect.getPrototypeOf%":J};if(W)try{null.error}catch(Ut){var Fe=W(W(Ut));je["%Error.prototype%"]=Fe}var Je=function Ut(Ir){var Sr;if(Ir==="%AsyncFunction%")Sr=k("async function () {}");else if(Ir==="%GeneratorFunction%")Sr=k("function* () {}");else if(Ir==="%AsyncGeneratorFunction%")Sr=k("async function* () {}");else if(Ir==="%AsyncGenerator%"){var Yr=Ut("%AsyncGeneratorFunction%");Yr&&(Sr=Yr.prototype)}else if(Ir==="%AsyncIteratorPrototype%"){var Gr=Ut("%AsyncGenerator%");Gr&&W&&(Sr=W(Gr.prototype))}return je[Ir]=Sr,Sr},Xe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ge=e(29800),be=e(83954),Ie=ge.call(le,Array.prototype.concat),Re=ge.call(ie,Array.prototype.splice),ye=ge.call(le,String.prototype.replace),De=ge.call(le,String.prototype.slice),$e=ge.call(le,RegExp.prototype.exec),qe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,It=/\\(\\)?/g,mt=function(Ir){var Sr=De(Ir,0,1),Yr=De(Ir,-1);if(Sr==="%"&&Yr!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(Yr==="%"&&Sr!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var Gr=[];return ye(Ir,qe,function(dn,Kr,yt,tt){Gr[Gr.length]=yt?ye(tt,It,"$1"):Kr||dn}
612),Gr},kt=function(Ir,Sr){var Yr=Ir,Gr;if(be(Xe,Yr)&&(Gr=Xe[Yr],Yr="%"+Gr[0]+"%"),be(je,Yr)){var dn=je[Yr];if(dn===he&&(dn=Je(Yr)),typeof dn>"u"&&!Sr)throw new m("intrinsic "+Ir+" exists, but is not available. Please file an issue!");return{alias:Gr,name:Yr,value:dn}}throw new l("intrinsic "+Ir+" does not exist!")};f.exports=function(Ir,Sr){if(typeof Ir!="string"||Ir.length===0)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Sr!="boolean")throw new m('"allowMissing" argument must be a boolean');if($e(/^%?[^%]*%?$/,Ir)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Yr=mt(Ir),Gr=Yr.length>0?Yr[0]:"",dn=kt("%"+Gr+"%",Sr),Kr=dn.name,yt=dn.value,tt=!1,Ar=dn.alias;Ar&&(Gr=Ar[0],Re(Yr,Ie([0,1],Ar)));for(var Mr=1,Er=!0;Mr<Yr.length;Mr+=1){var Ur=Yr[Mr],or=De(Ur,0,1),An=De(Ur,-1);if((or==='"'||or==="'"||or==="`"||An==='"'||An==="'"||An==="`")&&or!==An)throw new l("property names with quotes must have matching quotes");if((Ur==="constructor"||!Er)&&(tt=!0),Gr+="."+Ur,Kr="%"+Gr+"%",be(je,Kr))yt=je[Kr];else if(yt!=null){if(!(Ur in yt)){if(!Sr)throw new m("base intrinsic for "+Ir+" exists, but the property is not available.");return}if(D&&Mr+1>=Yr.length){var dr=D(yt,Ur);Er=!!dr,Er&&"get"in dr&&!("originalValue"in dr.get)?yt=dr.get:yt=yt[Ur]}else Er=be(yt,Ur),yt=yt[Ur];Er&&!tt&&(je[Kr]=yt)}}return yt}},80100(f,d,e){"use strict";var n=e(46661);f.exports=n.getPrototypeOf||null},1852(f){"use strict";f.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},6848(f,d,e){"use strict";var n=e(1852),r=e(80100),a=e(68098);f.exports=n?function(i){return n(i)}:r?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return r(i)}:a?function(i){return a(i)}:null},24853(f,d,e){var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},r=e(54357),a;typeof document<"u"?a=document:(a=n["__GLOBAL_DOCUMENT_CACHE@4"],a||(a=n["__GLOBAL_DOCUMENT_CACHE@4"]=r)),f.exports=a},34980(f){var d;typeof window<"u"?d=window:typeof globalThis<"u"?d=globalThis:typeof self<"u"?d=self:d={},f.exports=d},51921(f){"use strict";f.exports=Object.getOwnPropertyDescriptor},58455(f,d,e){"use strict";var n=e(51921);if(n)try{n([],"length")}catch{n=null}f.exports=n},98078(f,d,e){"use strict";var n=typeof Symbol<"u"&&Symbol,r=e(12788);f.exports=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()}},12788(f){"use strict";f.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var a=42;e[n]=a;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,n);if(u.value!==a||u.enumerable!==!0)return!1}return!0}},83954(f,d,e){"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=e(29800);f.exports=a.call(n,r)},93696(f,d,e){f=e.nmd(f),(function(n,r){f.exports=r()})(this,(function(){"use strict";function n(H,z){var ee=Object.keys(H);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(H);z&&(pe=pe.filter((function(Ce){return Object.getOwnPropertyDescriptor(H,Ce).enumerable}))),ee.push.apply(ee,pe)}return ee}function r(H){for(var z=1;z<arguments.length;z++){var ee=arguments[z]!=null?arguments[z]:{};z%2?n(Object(ee),!0).forEach((function(pe){l(H,pe,ee[pe])})):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(ee)):n(Object(ee)).forEach((function(pe){Object.defineProperty(H,pe,Object.getOwnPropertyDescriptor(ee,pe))}))}return H}function a(H){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},a(H)}function s(H,z){if(!(H instanceof z))throw new TypeError("Cannot call a class as a function")}function i(H,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(H,E(pe.key),pe)}}function u(H,z,ee){return z&&i(H.prototype,z),ee&&i(H,ee),Object.defineProperty(H,"prototype",{writable:!1}),H}function l(H,z,ee){return(z=E(z))in H?Object.defineProperty(H,z,{value:ee,enumerable:!0,configurable:!0,writable:!0}):H[z]=ee,H}function m(H,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(z&&z.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),Object.defineProperty(H,"prototype",{writable:!1}),z&&h(H,z)}function g(H){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(z){return z.__proto__||Object.getPrototypeOf(z)}
vendor: 98,373 bytes, line 612
612,g(H)}function h(H,z){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,pe){return ee.__proto__=pe,ee},h(H,z)}function v(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function x(H){var z=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var ee,pe=g(H);if(z){var Ce=g(this).constructor;ee=Reflect.construct(pe,arguments,Ce)}else ee=pe.apply(this,arguments);return(function(ze,st){if(st&&(typeof st=="object"||typeof st=="function"))return st;if(st!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(ze)})(this,ee)}}function T(){return T=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(H,z,ee){var pe=(function(ze,st){for(;!Object.prototype.hasOwnProperty.call(ze,st)&&(ze=g(ze))!==null;);return ze})(H,z);if(pe){var Ce=Object.getOwnPropertyDescriptor(pe,z);return Ce.get?Ce.get.call(arguments.length<3?H:ee):Ce.value}},T.apply(this,arguments)}function E(H){var z=(function(ee,pe){if(typeof ee!="object"||ee===null)return ee;var Ce=ee[Symbol.toPrimitive];if(Ce!==void 0){var ze=Ce.call(ee,pe||"default");if(typeof ze!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(pe==="string"?String:Number)(ee)})(H,"string");return typeof z=="symbol"?z:z+""}var _=function(H){return!(!H||!H.Window)&&H instanceof H.Window},C=void 0,P=void 0;function k(H){C=H;var z=H.document.createTextNode("");z.ownerDocument!==H.document&&typeof H.wrap=="function"&&H.wrap(z)===z&&(H=H.wrap(H)),P=H}function D(H){return _(H)?H:(H.ownerDocument||H).defaultView||P.window}typeof window<"u"&&window&&k(window);var B=function(H){return!!H&&a(H)==="object"},$=function(H){return typeof H=="function"},F={window:function(H){return H===P||_(H)},docFrag:function(H){return B(H)&&H.nodeType===11},object:B,func:$,number:function(H){return typeof H=="number"},bool:function(H){return typeof H=="boolean"},string:function(H){return typeof H=="string"},element:function(H){if(!H||a(H)!=="object")return!1;var z=D(H)||P;return/object|function/.test(typeof Element>"u"?"undefined":a(Element))?H instanceof Element||H instanceof z.Element:H.nodeType===1&&typeof H.nodeName=="string"},plainObject:function(H){return B(H)&&!!H.constructor&&/function Object\b/.test(H.constructor.toString())},array:function(H){return B(H)&&H.length!==void 0&&$(H.splice)}};function V(H){var z=H.interaction;if(z.prepared.name==="drag"){var ee=z.prepared.axis;ee==="x"?(z.coords.cur.page.y=z.coords.start.page.y,z.coords.cur.client.y=z.coords.start.client.y,z.coords.velocity.client.y=0,z.coords.velocity.page.y=0):ee==="y"&&(z.coords.cur.page.x=z.coords.start.page.x,z.coords.cur.client.x=z.coords.start.client.x,z.coords.velocity.client.x=0,z.coords.velocity.page.x=0)}}function W(H){var z=H.iEvent,ee=H.interaction;if(ee.prepared.name==="drag"){var pe=ee.prepared.axis;if(pe==="x"||pe==="y"){var Ce=pe==="x"?"y":"x";z.page[Ce]=ee.coords.start.page[Ce],z.client[Ce]=ee.coords.start.client[Ce],z.delta[Ce]=0}}}var Z={id:"actions/drag",install:function(H){var z=H.actions,ee=H.Interactable,pe=H.defaults;ee.prototype.draggable=Z.draggable,z.map.drag=Z,z.methodDict.drag="draggable",pe.actions.drag=Z.defaults},listeners:{"interactions:before-action-move":V,"interactions:action-resume":V,"interactions:action-move":W,"auto-start:check":function(H){var z=H.interaction,ee=H.interactable,pe=H.buttons,Ce=ee.options.drag;if(Ce&&Ce.enabled&&(!z.pointerIsDown||!/mouse|pointer/.test(z.pointerType)||(pe&ee.options.drag.mouseButtons)!=0))return H.action={name:"drag",axis:Ce.lockAxis==="start"?Ce.startAxis:Ce.lockAxis},!1}},draggable:function(H){return F.object(H)?(this.options.drag.enabled=H.enabled!==!1,this.setPerAction("drag",H),this.setOnEvents("drag",H),/^(xy|x|y|start)$/.test(H.lockAxis)&&(this.options.drag.lockAxis=H.lockAxis),/^(xy|x|y)$/.test(H.startAxis)&&(this.options.drag.startAxis=H.startAxis),this):F.bool(H)?(this.options.drag.enabled=H,this):this.options.drag},beforeMove:V,move:W,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(H){return H.search("drag")===0}},J=Z,ie={init:function(H){var z=H;ie.document=z.document,ie.DocumentFragment=z.DocumentFragment||le,ie.SVGElement=z.SVGElement||le,ie.SVGSVGElement=z.SVGSVGElement||le,ie.SVGElementInstance=z.SVGElementInstance||le,ie.Element=z.Element||le,ie.HTMLElement=z.HTMLElement||ie.Element,ie.Event=z.Event,ie.Touch=z.Touch||le,ie.PointerEvent=z.PointerEvent||z.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function le(){}var he=ie,me={init:function(H){var z=he.Element,ee=H.navigator||{};me.supportsTouch="ontouchstart"in H||F.func(H.DocumentTouch)&&he.document instanceof H.DocumentTouch,me.supportsPointerEvent=ee.pointerEnabled!==!1&&!!he.PointerEvent,me.isIOS=/iP(hone|od|ad)/.test(ee.platform),me.isIOS7=/iP(hone|od|ad)/.test(ee.platform)&&/OS 7[^\d]/.test(ee.appVersion),me.isIe9=/MSIE 9/.test(ee.userAgent),me.isOperaMobile=ee.appName==="Opera"&&me.supportsTouch&&/Presto/.test(ee.userAgent),me.prefixedMatchesSelector="matches"in z.prototype?"matches":"webkitMatchesSelector"in z.prototype?"webkitMatchesSelector":"mozMatchesSelector"in z.prototype?"mozMatchesSelector":"oMatchesSelector"in z.prototype?"oMatchesSelector":"msMatchesSelector",me.pEventTypes=me.supportsPointerEvent?he.PointerEvent===H.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,me.wheelEvent=he.document&&"onmousewheel"in he.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},je=me;function Fe(H,z){if(H.contains)return H.contains(z);for(;z;){if(z===H)return!0;z=z.parentNode}return!1}function Je(H,z){for(;F.element(H);){if(ge(H,z))return H;H=Xe(H)}return null}function Xe(H){var z=H.parentNode;if(F.docFrag(z)){for(;(z=z.host)&&F.docFrag(z););return z}return z}function ge(H,z){return P!==C&&(z=z.replace(/\/deep\//g," ")),H[je.prefixedMatchesSelector](z)}var be=function(H){return H.parentNode||H.host};function Ie(H,z){for(var ee,pe=[],Ce=H;(ee=be(Ce))&&Ce!==z&&ee!==Ce.ownerDocument;)pe.unshift(Ce),Ce=ee;return pe}function Re(H,z,ee){for(;F.element(H);){if(ge(H,z))return!0;if((H=Xe(H))===ee)return ge(H,z)}return!1}function ye(H){return H.correspondingUseElement||H}function De(H){var z=H instanceof he.SVGElement?H.getBoundingClientRect():H.getClientRects()[0];return z&&{left:z.left,right:z.right,top:z.top,bottom:z.bottom,width:z.width||z.right-z.left,height:z.height||z.bottom-z.top}}function $e(H){var z,ee=De(H);if(!je.isIOS7&&ee){var pe={x:(z=(z=D(H))||P).scrollX||z.document.documentElement.scrollLeft,y:z.scrollY||z.document.documentElement.scrollTop};ee.left+=pe.x,ee.right+=pe.x,ee.top+=pe.y,ee.bottom+=pe.y}return ee}function qe(H){for(var z=[];H;)z.push(H),H=Xe(H);return z}function It(H){return!!F.string(H)&&(he.document.querySelector(H),!0)}function mt(H,z){for(var ee in z)H[ee]=z[ee];return H}function kt(H,z,ee){return H==="parent"?Xe(ee):H==="self"?z.getRect(ee):Je(ee,H)}function Ut(H,z,ee,pe){var Ce=H;return F.string(Ce)?Ce=kt(Ce,z,ee):F.func(Ce)&&(Ce=Ce.apply(void 0,pe)),F.element(Ce)&&(Ce=$e(Ce)),Ce}function Ir(H){return H&&{x:"x"in H?H.x:H.left,y:"y"in H?H.y:H.top}}function Sr(H){return!H||"x"in H&&"y"in H||((H=mt({},H)).x=H.left||0,H.y=H.top||0,H.width=H.width||(H.right||0)-H.x,H.height=H.height||(H.bottom||0)-H.y),H}function Yr(H,z,ee){H.left&&(z.left+=ee.x),H.right&&(z.right+=ee.x),H.top&&(z.top+=ee.y),H.bottom&&(z.bottom+=ee.y),z.width=z.right-z.left,z.height=z.bottom-z.top}function Gr(H,z,ee){var pe=ee&&H.options[ee];return Ir(Ut(pe&&pe.origin||H.options.origin,H,z,[H&&z]))||{x:0,y:0}}function dn(H,z){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(Dt){return!0},pe=arguments.length>3?arguments[3]:void 0;if(pe=pe||{},F.string(H)&&H.search(" ")!==-1&&(H=Kr(H)),F.array(H))return H.forEach((function(Dt){return dn(Dt,z,ee,pe)})),pe;if(F.object(H)&&(z=H,H=""),F.func(z)&&ee(H))pe[H]=pe[H]||[],pe[H].push(z);else if(F.array(z))for(var Ce=0,ze=z;Ce<ze.length;Ce++){var st=ze[Ce];dn(H,st,ee,pe)}else if(F.object(z))for(var ft in z)dn(Kr(ft).map((function(Dt){return"".concat(H).concat(Dt)})),z[ft],ee,pe);return pe}function Kr(H){return H.trim().split(/ +/)}var yt=function(H,z){return Math.sqrt(H*H+z*z)},tt=["webkit","moz"];function Ar(H,z){H.__set||(H.__set={});var ee=function(Ce){if(tt.some((function(ze){return Ce.indexOf(ze)===0})))return 1;typeof H[Ce]!="function"&&Ce!=="__set"&&Object.defineProperty(H,Ce,{get:function(){return Ce in H.__set?H.__set[Ce]:H.__set[Ce]=z[Ce]},set:function(ze){H.__set[Ce]=ze},configurable:!0})};for(var pe in z)ee(pe);return H}function Mr(H,z){H.page=H.page||{},H.page.x=z.page.x,H.page.y=z.page.y,H.client=H.client||{},H.client.x=z.client.x,H.client.y=z.client.y,H.timeStamp=z.timeStamp}function Er(H){H.page.x=0,H.page.y=0,H.client.x=0,H.client.y=0}function Ur(H){return H instanceof he.Event||H instanceof he.Touch}function or(H,z,ee){return H=H||"page",(ee=ee||{}).x=z[H+"X"],ee.y=z[H+"Y"],ee}function An(H,z){return z=z||{x:0,y:0},je.isOperaMobile&&Ur(H)?(or("screen",H,z),z.x+=window.scrollX,z.y+=window.scrollY):or("page",H,z),z}function dr(H){return F.number(H.pointerId)?H.pointerId:H.identifier}function Xr(H,z,ee){var pe=z.length>1?Qt(z):z[0];An(pe,H.page),(function(Ce,ze){ze=ze||{},je.isOperaMobile&&Ur(Ce)?or("screen",Ce,ze):or("client",Ce,ze)})(pe,H.client),H.timeStamp=ee}function hn(H){var z=[];return F.array(H)?(z[0]=H[0],z[1]=H[1]):H.type==="touchend"?H.touches.length===1?(z[0]=H.touches[0],z[1]=H.changedTouches[0]):H.touches.length===0&&(z[0]=H.changedTouches[0],z[1]=H.changedTouches[1]):(z[0]=H.touches[0],z[1]=H.touches[1]),z}function Qt(H){for(var z={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},ee=0;ee<H.length;ee++){var pe=H[ee];for(var Ce in z)z[Ce]+=pe[Ce]}for(var ze in z)z[ze]/=H.length;return z}function Br(H){if(!H.length)return null;var z=hn(H),ee=Math.min(z[0].pageX,z[1].pageX),pe=Math.min(z[0].pageY,z[1].pageY),Ce=Math.max(z[0].pageX,z[1].pageX),ze=Math.max(z[0].pageY,z[1].pageY);return{x:ee,y:pe,left:ee,top:pe,right:Ce,bottom:ze,width:Ce-ee,height:ze-pe}}function zt(H,z){var ee=z+"X",pe=z+"Y",Ce=hn(H),ze=Ce[0][ee]-Ce[1][ee],st=Ce[0][pe]-Ce[1][pe];return yt(ze,st)}function Tt(H,z){var ee=z+"X",pe=z+"Y",Ce=hn(H),ze=Ce[1][ee]-Ce[0][ee],st=Ce[1][pe]-Ce[0][pe];return 180*Math.atan2(st,ze)/Math.PI}function Pr(H){return F.string(H.pointerType)?H.pointerType:F.number(H.pointerType)?[void 0,void 0,"touch","pen","mouse"][H.pointerType]:/touch/.test(H.type||"")||H instanceof he.Touch?"touch":"mouse"}function Y(H){var z=F.func(H.composedPath)?H.composedPath():H.path;return[ye(z?z[0]:H.target),ye(H.currentTarget)]}var ht=(function(){function H(z){s(this,H),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=z}return u(H,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),H})();Object.defineProperty(ht.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ur=function(H,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];H.push(pe)}return H},it=function(H){return ur([],H)},Rt=function(H,z){for(var ee=0;ee<H.length;ee++)if(z(H[ee],ee,H))return ee;return-1},Zr=function(H,z){return H[Rt(H,z)]},nn=(function(H){m(ee,H);var z=x(ee);function ee(pe,Ce,ze){var st;s(this,ee),(st=z.call(this,Ce._interaction)).dropzone=void 0,st.dragEvent=void 0,st.relatedTarget=void 0,st.draggable=void 0,st.propagationStopped=!1,st.immediatePropagationStopped=!1;var ft=ze==="dragleave"?pe.prev:pe.cur,Dt=ft.element,lr=ft.dropzone;return st.type=ze,st.target=Dt,st.currentTarget=Dt,st.dropzone=lr,st.dragEvent=Ce,st.relatedTarget=Ce.target,st.draggable=Ce.interactable,st.timeStamp=Ce.timeStamp,st}return u(ee,[{key:"reject",value:function(){var pe=this,Ce=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&Ce.cur.dropzone===this.dropzone&&Ce.cur.element===this.target)if(Ce.prev.dropzone=this.dropzone,Ce.prev.element=this.target,Ce.rejected=!0,Ce.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var ze=Ce.activeDrops,st=Rt(ze,(function(Dt){var lr=Dt.dropzone,$t=Dt.element;return lr===pe.dropzone&&$t===pe.target}));Ce.activeDrops.splice(st,1);var ft=new ee(Ce,this.dragEvent,"dropdeactivate");ft.dropzone=this.dropzone,ft.target=this.target,this.dropzone.fire(ft)}else this.dropzone.fire(new ee(Ce,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),ee})(ht);function fn(H,z){for(var ee=0,pe=H.slice();ee<pe.length;ee++){var Ce=pe[ee],ze=Ce.dropzone,st=Ce.element;z.dropzone=ze,z.target=st,ze.fire(z),z.propagationStopped=z.immediatePropagationStopped=!1}}function Sn(H,z){for(var ee=(function(ze,st){for(var ft=[],Dt=0,lr=ze.interactables.list;Dt<lr.length;Dt++){var $t=lr[Dt];if($t.options.drop.enabled){var Nr=$t.options.drop.accept;if(!(F.element(Nr)&&Nr!==st||F.string(Nr)&&!ge(st,Nr)||F.func(Nr)&&!Nr({dropzone:$t,draggableElement:st})))for(var cn=0,Nn=$t.getAllElements();cn<Nn.length;cn++){var jn=Nn[cn];jn!==st&&ft.push({dropzone:$t,element:jn,rect:$t.getRect(jn)})}}}return ft})(H,z),pe=0;pe<ee.length;pe++){var Ce=ee[pe];Ce.rect=Ce.dropzone.getRect(Ce.element)}return ee}function Ci(H,z,ee){for(var pe=H.dropState,Ce=H.interactable,ze=H.element,st=[],ft=0,Dt=pe.activeDrops;ft<Dt.length;ft++){var lr=Dt[ft],$t=lr.dropzone,Nr=lr.element,cn=lr.rect,Nn=$t.dropCheck(z,ee,Ce,ze,Nr,cn);st.push(Nn?Nr:null)}var jn=(function(fi){for(var xi,Ii,zi,gs=[],er=0;er<fi.length;er++){var br=fi[er],xr=fi[xi];if(br&&er!==xi)if(xr){var yi=be(br),Ni=be(xr);if(yi!==br.ownerDocument)if(Ni!==br.ownerDocument)if(yi!==Ni){gs=gs.length?gs:Ie(xr);var pi=void 0;if(xr instanceof he.HTMLElement&&br instanceof he.SVGElement&&!(br instanceof he.SVGSVGElement)){if(br===Ni)continue;pi=br.ownerSVGElement}else pi=br;for(var ra=Ie(pi,xr.ownerDocument),Ys=0;ra[Ys]&&ra[Ys]===gs[Ys];)Ys++;var Lu=[ra[Ys-1],ra[Ys],gs[Ys]];if(Lu[0])for(var Uo=Lu[0].lastChild;Uo;){if(Uo===Lu[1]){xi=er,gs=ra;break}if(Uo===Lu[2])break;Uo=Uo.previousSibling}}else zi=xr,(parseInt(D(Ii=br).getComputedStyle(Ii).zIndex,10)||0)>=(parseInt(D(zi).getComputedStyle(zi).zIndex,10)||0)&&(xi=er);else xi=er}else xi=er}return xi})(st);return pe.activeDrops[jn]||null}function $i(H,z,ee){var pe=H.dropState,Ce={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return ee.type==="dragstart"&&(Ce.activate=new nn(pe,ee,"dropactivate"),Ce.activate.target=null,Ce.activate.dropzone=null),ee.type==="dragend"&&(Ce.deactivate=new nn(pe,ee,"dropdeactivate"),Ce.deactivate.target=null,Ce.deactivate.dropzone=null),pe.rejected||(pe.cur.element!==pe.prev.element&&(pe.prev.dropzone&&(Ce.leave=new nn(pe,ee,"dragleave"),ee.dragLeave=Ce.leave.target=pe.prev.element,ee.prevDropzone=Ce.leave.dropzone=pe.prev.dropzone),pe.cur.dropzone&&(Ce.enter=new nn(pe,ee,"dragenter"),ee.dragEnter=pe.cur.element,ee.dropzone=pe.cur.dropzone)),ee.type==="dragend"&&pe.cur.dropzone&&(Ce.drop=new nn(pe,ee,"drop"),ee.dropzone=pe.cur.dropzone,ee.relatedTarget=pe.cur.element),ee.type==="dragmove"&&pe.cur.dropzone&&(Ce.move=new nn(pe,ee,"dropmove"),ee.dropzone=pe.cur.dropzone)),Ce}function qr(H,z){var ee=H.dropState,pe=ee.activeDrops,Ce=ee.cur,ze=ee.prev;z.leave&&ze.dropzone.fire(z.leave),z.enter&&Ce.dropzone.fire(z.enter),z.move&&Ce.dropzone.fire(z.move),z.drop&&Ce.dropzone.fire(z.drop),z.deactivate&&fn(pe,z.deactivate),ee.prev.dropzone=Ce.dropzone,ee.prev.element=Ce.element}function Bi(H,z){var ee=H.interaction,pe=H.iEvent,Ce=H.event;if(pe.type==="dragmove"||pe.type==="dragend"){var ze=ee.dropState;z.dynamicDrop&&(ze.activeDrops=Sn(z,ee.element));var st=pe,ft=Ci(ee,st,Ce);ze.rejected=ze.rejected&&!!ft&&ft.dropzone===ze.cur.dropzone&&ft.element===ze.cur.element,ze.cur.dropzone=ft&&ft.dropzone,ze.cur.element=ft&&ft.element,ze.events=$i(ee,0,st)}}var ms={id:"actions/drop",install:function(H){var z=H.actions,ee=H.interactStatic,pe=H.Interactable,Ce=H.defaults;H.usePlugin(J),pe.prototype.dropzone=function(ze){return(function(st,ft){if(F.object(ft)){if(st.options.drop.enabled=ft.enabled!==!1,ft.listeners){var Dt=dn(ft.listeners),lr=Object.keys(Dt).reduce((function(Nr,cn){return Nr[/^(enter|leave)/.test(cn)?"drag".concat(cn):/^(activate|deactivate|move)/.test(cn)?"drop".concat(cn):cn]=Dt[cn],Nr}),{}),$t=st.options.drop.listeners;$t&&st.off($t),st.on(lr),st.options.drop.listeners=lr}return F.func(ft.ondrop)&&st.on("drop",ft.ondrop),F.func(ft.ondropactivate)&&st.on("dropactivate",ft.ondropactivate),F.func(ft.ondropdeactivate)&&st.on("dropdeactivate",ft.ondropdeactivate),F.func(ft.ondragenter)&&st.on("dragenter",ft.ondragenter),F.func(ft.ondragleave)&&st.on("dragleave",ft.ondragleave),F.func(ft.ondropmove)&&st.on("dropmove",ft.ondropmove),/^(pointer|center)$/.test(ft.overlap)?st.options.drop.overlap=ft.overlap:F.number(ft.overlap)&&(st.options.drop.overlap=Math.max(Math.min(1,ft.overlap),0)),"accept"in ft&&(st.options.drop.accept=ft.accept),"checker"in ft&&(st.options.drop.checker=ft.checker),st}return F.bool(ft)?(st.options.drop.enabled=ft,st):st.options.drop})(this,ze)},pe.prototype.dropCheck=function(ze,st,ft,Dt,lr,$t){return(function(Nr,cn,Nn,jn,fi,xi,Ii){var zi=!1;if(!(Ii=Ii||Nr.getRect(xi)))return!!Nr.options.drop.checker&&Nr.options.drop.checker(cn,Nn,zi,Nr,xi,jn,fi);var gs=Nr.options.drop.overlap;if(gs==="pointer"){var er=Gr(jn,fi,"drag"),br=An(cn);br.x+=er.x,br.y+=er.y;var xr=br.x>Ii.left&&br.x<Ii.right,yi=br.y>Ii.top&&br.y<Ii.bottom;zi=xr&&yi}var Ni=jn.getRect(fi);if(Ni&&gs==="center"){var pi=Ni.left+Ni.width/2,ra=Ni.top+Ni.height/2;zi=pi>=Ii.left&&pi<=Ii.right&&ra>=Ii.top&&ra<=Ii.bottom}return Ni&&F.number(gs)&&(zi=Math.max(0,Math.min(Ii.right,Ni.right)-Math.max(Ii.left,Ni.left))*Math.max(0,Math.min(Ii.bottom,Ni.bottom)-Math.max(Ii.top,Ni.top))/(Ni.width*Ni.height)>=gs),Nr.options.drop.checker&&(zi=Nr.options.drop.checker(cn,Nn,zi,Nr,xi,jn,fi)),zi})(this,ze,st,ft,Dt,lr,$t)},ee.dynamicDrop=function(ze){return F.bool(ze)?(H.dynamicDrop=ze,ee):H.dynamicDrop},mt(z.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),z.methodDict.drop="dropzone",H.dynamicDrop=!1,Ce.actions.drop=ms.defaults},listeners:{"interactions:before-action-start":function(H){var z=H.interaction;z.prepared.name==="drag"&&(z.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(H,z){var ee=H.interaction,pe=(H.event,H.iEvent);if(ee.prepared.name==="drag"){var Ce=ee.dropState;Ce.activeDrops=[],Ce.events={},Ce.activeDrops=Sn(z,ee.element),Ce.events=$i(ee,0,pe),Ce.events.activate&&(fn(Ce.activeDrops,Ce.events.activate),z.fire("actions/drop:start",{interaction:ee,dragEvent:pe}))}},"interactions:action-move":Bi,"interactions:after-action-move":function(H,z){var ee=H.interaction,pe=H.iEvent;if(ee.prepared.name==="drag"){var Ce=ee.dropState;qr(ee,Ce.events),z.fire("actions/drop:move",{interaction:ee,dragEvent:pe}),Ce.events={}}},"interactions:action-end":function(H,z){if(H.interaction.prepared.name==="drag"){var ee=H.interaction,pe=H.iEvent;Bi(H,z),qr(ee,ee.dropState.events),z.fire("actions/drop:end",{interaction:ee,dragEvent:pe})}},"interactions:stop":function(H){var z=H.interaction;if(z.prepared.name==="drag"){var ee=z.dropState;ee&&(ee.activeDrops=null,ee.events=null,ee.cur.dropzone=null,ee.cur.element=null,ee.prev.dropzone=null,ee.prev.element=null,ee.rejected=!1)}}},getActiveDrops:Sn,getDrop:Ci,getDropEvents:$i,fireDropEvents:qr,filterEventType:function(H){return H.search("drag")===0||H.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},hs=ms;function Mi(H){var z=H.interaction,ee=H.iEvent,pe=H.phase;if(z.prepared.name==="gesture"){var Ce=z.pointers.map((function(lr){return lr.pointer})),ze=pe==="start",st=pe==="end",ft=z.interactable.options.deltaSource;if(ee.touches=[Ce[0],Ce[1]],ze)ee.distance=zt(Ce,ft),ee.box=Br(Ce),ee.scale=1,ee.ds=0,ee.angle=Tt(Ce,ft),ee.da=0,z.gesture.startDistance=ee.distance,z.gesture.startAngle=ee.angle;else if(st||z.pointers.length<2){var Dt=z.prevEvent;ee.distance=Dt.distance,ee.box=Dt.box,ee.scale=Dt.scale,ee.ds=0,ee.angle=Dt.angle,ee.da=0}else ee.distance=zt(Ce,ft),ee.box=Br(Ce),ee.scale=ee.distance/z.gesture.startDistance,ee.angle=Tt(Ce,ft),ee.ds=ee.scale-z.gesture.scale,ee.da=ee.angle-z.gesture.angle;z.gesture.distance=ee.distance,z.gesture.angle=ee.angle,F.number(ee.scale)&&ee.scale!==1/0&&!isNaN(ee.scale)&&(z.gesture.scale=ee.scale)}}var gi={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(H){var z=H.actions,ee=H.Interactable,pe=H.defaults;ee.prototype.gesturable=function(Ce){return F.object(Ce)?(this.options.gesture.enabled=Ce.enabled!==!1,this.setPerAction("gesture",Ce),this.setOnEvents("gesture",Ce),this):F.bool(Ce)?(this.options.gesture.enabled=Ce,this):this.options.gesture},z.map.gesture=gi,z.methodDict.gesture="gesturable",pe.actions.gesture=gi.defaults},listeners:{"interactions:action-start":Mi,"interactions:action-move":Mi,"interactions:action-end":Mi,"interactions:new":function(H){H.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(H){if(!(H.interaction.pointers.length<2)){var z=H.interactable.options.gesture;if(z&&z.enabled)return H.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(H){return H.search("gesture")===0}},Hi=gi;function qn(H,z,ee,pe,Ce,ze,st){if(!z)return!1;if(z===!0){var ft=F.number(ze.width)?ze.width:ze.right-ze.left,Dt=F.number(ze.height)?ze.height:ze.bottom-ze.top;if(st=Math.min(st,Math.abs((H==="left"||H==="right"?ft:Dt)/2)),ft<0&&(H==="left"?H="right":H==="right"&&(H="left")),Dt<0&&(H==="top"?H="bottom":H==="bottom"&&(H="top")),H==="left"){var lr=ft>=0?ze.left:ze.right;return ee.x<lr+st}if(H==="top"){var $t=Dt>=0?ze.top:ze.bottom;return ee.y<$t+st}if(H==="right")return ee.x>(ft>=0?ze.right:ze.left)-st;if(H==="bottom")return ee.y>(Dt>=0?ze.bottom:ze.top)-st}return!!F.element(pe)&&(F.element(z)?z===pe:Re(pe,z,Ce))}function $n(H){var z=H.iEvent,ee=H.interaction;if(ee.prepared.name==="resize"&&ee.resizeAxes){var pe=z;ee.interactable.options.resize.square?(ee.resizeAxes==="y"?pe.delta.x=pe.delta.y:pe.delta.y=pe.delta.x,pe.axes="xy"):(pe.axes=ee.resizeAxes,ee.resizeAxes==="x"?pe.delta.y=0:ee.resizeAxes==="y"&&(pe.delta.x=0))}}var $s,ys,Es={id:"actions/resize",before:["actions/drag"],install:function(H){var z=H.actions,ee=H.browser,pe=H.Interactable,Ce=H.defaults;Es.cursors=(function(ze){return ze.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}})(ee),Es.defaultMargin=ee.supportsTouch||ee.supportsPointerEvent?20:10,pe.prototype.resizable=function(ze){return(function(st,ft,Dt){return F.object(ft)?(st.options.resize.enabled=ft.enabled!==!1,st.setPerAction("resize",ft),st.setOnEvents("resize",ft),F.string(ft.axis)&&/^x$|^y$|^xy$/.test(ft.axis)?st.options.resize.axis=ft.axis:ft.axis===null&&(st.options.resize.axis=Dt.defaults.actions.resize.axis),F.bool(ft.preserveAspectRatio)?st.options.resize.preserveAspectRatio=ft.preserveAspectRatio:F.bool(ft.square)&&(st.options.resize.square=ft.square),st):F.bool(ft)?(st.options.resize.enabled=ft,st):st.options.resize})(this,ze,H)},z.map.resize=Es,z.methodDict.resize="resizable",Ce.actions.resize=Es.defaults},listeners:{"interactions:new":function(H){H.interaction.resizeAxes="xy"},"interactions:action-start":function(H){(function(z){var ee=z.iEvent,pe=z.interaction;if(pe.prepared.name==="resize"&&pe.prepared.edges){var Ce=ee,ze=pe.rect;pe._rects={start:mt({},ze),corrected:mt({},ze),previous:mt({},ze),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},Ce.edges=pe.prepared.edges,Ce.rect=pe._rects.corrected,Ce.deltaRect=pe._rects.delta}})(H),$n(H)},"interactions:action-move":function(H){(function(z){var ee=z.iEvent,pe=z.interaction;if(pe.prepared.name==="resize"&&pe.prepared.edges){var Ce=ee,ze=pe.interactable.options.resize.invert,st=ze==="reposition"||ze==="negate",ft=pe.rect,Dt=pe._rects,lr=Dt.start,$t=Dt.corrected,Nr=Dt.delta,cn=Dt.previous;if(mt(cn,$t),st){if(mt($t,ft),ze==="reposition"){if($t.top>$t.bottom){var Nn=$t.top;$t.top=$t.bottom,$t.bottom=Nn}if($t.left>$t.right){var jn=$t.left;$t.left=$t.right,$t.right=jn}}}else $t.top=Math.min(ft.top,lr.bottom),$t.bottom=Math.max(ft.bottom,lr.top),$t.left=Math.min(ft.left,lr.right),$t.right=Math.max(ft.right,lr.left);for(var fi in $t.width=$t.right-$t.left,$t.height=$t.bottom-$t.top,$t)Nr[fi]=$t[fi]-cn[fi];Ce.edges=pe.prepared.edges,Ce.rect=$t,Ce.deltaRect=Nr}})(H),$n(H)},"interactions:action-end":function(H){var z=H.iEvent,ee=H.interaction;if(ee.prepared.name==="resize"&&ee.prepared.edges){var pe=z;pe.edges=ee.prepared.edges,pe.rect=ee._rects.corrected,pe.deltaRect=ee._rects.delta}},"auto-start:check":function(H){var z=H.interaction,ee=H.interactable,pe=H.element,Ce=H.rect,ze=H.buttons;if(Ce){var st=mt({},z.coords.cur.page),ft=ee.options.resize;if(ft&&ft.enabled&&(!z.pointerIsDown||!/mouse|pointer/.test(z.pointerType)||(ze&ft.mouseButtons)!=0)){if(F.object(ft.edges)){var Dt={left:!1,right:!1,top:!1,bottom:!1};for(var lr in Dt)Dt[lr]=qn(lr,ft.edges[lr],st,z._latestPointer.eventTarget,pe,Ce,ft.margin||Es.defaultMargin);Dt.left=Dt.left&&!Dt.right,Dt.top=Dt.top&&!Dt.bottom,(Dt.left||Dt.right||Dt.top||Dt.bottom)&&(H.action={name:"resize",edges:Dt})}else{var $t=ft.axis!=="y"&&st.x>Ce.right-Es.defaultMargin,Nr=ft.axis!=="x"&&st.y>Ce.bottom-Es.defaultMargin;($t||Nr)&&(H.action={name:"resize",axes:($t?"x":"")+(Nr?"y":"")})}return!H.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(H){var z=H.edges,ee=H.axis,pe=H.name,Ce=Es.cursors,ze=null;if(ee)ze=Ce[pe+ee];else if(z){for(var st="",ft=0,Dt=["top","bottom","left","right"];ft<Dt.length;ft++){var lr=Dt[ft];z[lr]&&(st+=lr)}ze=Ce[st]}return ze},filterEventType:function(H){return H.search("resize")===0},defaultMargin:null},oe=Es,xe={id:"actions",install:function(H){H.usePlugin(Hi),H.usePlugin(oe),H.usePlugin(J),H.usePlugin(hs)}},Ge=0,bt={request:function(H){return $s(H)},cancel:function(H){return ys(H)},init:function(H){if($s=H.requestAnimationFrame,ys=H.cancelAnimationFrame,!$s)for(var z=["ms","moz","webkit","o"],ee=0;ee<z.length;ee++){var pe=z[ee];$s=H["".concat(pe,"RequestAnimationFrame")],ys=H["".concat(pe,"CancelAnimationFrame")]||H["".concat(pe,"CancelRequestAnimationFrame")]}$s=$s&&$s.bind(H),ys=ys&&ys.bind(H),$s||($s=function(Ce){var ze=Date.now(),st=Math.max(0,16-(ze-Ge)),ft=H.setTimeout((function(){Ce(ze+st)}),st);return Ge=ze+st,ft},ys=function(Ce){return clearTimeout(Ce)})}},Et={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(H){Et.isScrolling=!0,bt.cancel(Et.i),H.autoScroll=Et,Et.interaction=H,Et.prevTime=Et.now(),Et.i=bt.request(Et.scroll)},stop:function(){Et.isScrolling=!1,Et.interaction&&(Et.interaction.autoScroll=null),bt.cancel(Et.i)},scroll:function(){var H=Et.interaction,z=H.interactable,ee=H.element,pe=H.prepared.name,Ce=z.options[pe].autoScroll,ze=Tr(Ce.container,z,ee),st=Et.now(),ft=(st-Et.prevTime)/1e3,Dt=Ce.speed*ft;if(Dt>=1){var lr={x:Et.x*Dt,y:Et.y*Dt};if(lr.x||lr.y){var $t=vn(ze);F.window(ze)?ze.scrollBy(lr.x,lr.y):ze&&(ze.scrollLeft+=lr.x,ze.scrollTop+=lr.y);var Nr=vn(ze),cn={x:Nr.x-$t.x,y:Nr.y-$t.y};(cn.x||cn.y)&&z.fire({type:"autoscroll",target:ee,interactable:z,delta:cn,interaction:H,container:ze})}Et.prevTime=st}Et.isScrolling&&(bt.cancel(Et.i),Et.i=bt.request(Et.scroll))},check:function(H,z){var ee;return(ee=H.options[z].autoScroll)==null?void 0:ee.enabled},onInteractionMove:function(H){var z=H.interaction,ee=H.pointer;if(z.interacting()&&Et.check(z.interactable,z.prepared.name))if(z.simulation)Et.x=Et.y=0;else{var pe,Ce,ze,st,ft=z.interactable,Dt=z.element,lr=z.prepared.name,$t=ft.options[lr].autoScroll,Nr=Tr($t.container,ft,Dt);if(F.window(Nr))st=ee.clientX<Et.margin,pe=ee.clientY<Et.margin,Ce=ee.clientX>Nr.innerWidth-Et.margin,ze=ee.clientY>Nr.innerHeight-Et.margin;else{var cn=De(Nr);st=ee.clientX<cn.left+Et.margin,pe=ee.clientY<cn.top+Et.margin,Ce=ee.clientX>cn.right-Et.margin,ze=ee.clientY>cn.bottom-Et.margin}Et.x=Ce?1:st?-1:0,Et.y=ze?1:pe?-1:0,Et.isScrolling||(Et.margin=$t.margin,Et.speed=$t.speed,Et.start(z))}}};function Tr(H,z,ee){return(F.string(H)?kt(H,z,ee):H)||D(ee)}function vn(H){return F.window(H)&&(H=window.document.body),{x:H.scrollLeft,y:H.scrollTop}}var Gt={id:"auto-scroll",install:function(H){var z=H.defaults,ee=H.actions;H.autoScroll=Et,Et.now=function(){return H.now()},ee.phaselessTypes.autoscroll=!0,z.perAction.autoScroll=Et.defaults},listeners:{"interactions:new":function(H){H.interaction.autoScroll=null},"interactions:destroy":function(H){H.interaction.autoScroll=null,Et.stop(),Et.interaction&&(Et.interaction=null)},"interactions:stop":Et.stop,"interactions:action-move":function(H){return Et.onInteractionMove(H)}}},ei=Gt;function si(H,z){var ee=!1;return function(){return ee||(P.console.warn(z),ee=!0),H.apply(this,arguments)}}function yn(H,z){return H.name=z.name,H.axis=z.axis,H.edges=z.edges,H}function rs(H){return F.bool(H)?(this.options.styleCursor=H,this):H===null?(delete this.options.styleCursor,this):this.options.styleCursor}function xn(H){return F.func(H)?(this.options.actionChecker=H,this):H===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Ms={id:"auto-start/interactableMethods",install:function(H){var z=H.Interactable;z.prototype.getAction=function(ee,pe,Ce,ze){var st=(function(ft,Dt,lr,$t,Nr){var cn=ft.getRect($t),Nn=Dt.buttons||{0:1,1:4,3:8,4:16}[Dt.button],jn={action:null,interactable:ft,interaction:lr,element:$t,rect:cn,buttons:Nn};return Nr.fire("auto-start:check",jn),jn.action})(this,pe,Ce,ze,H);return this.options.actionChecker?this.options.actionChecker(ee,pe,st,this,ze,Ce):st},z.prototype.ignoreFrom=si((function(ee){return this._backCompatOption("ignoreFrom",ee)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),z.prototype.allowFrom=si((function(ee){return this._backCompatOption("allowFrom",ee)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),z.prototype.actionChecker=xn,z.prototype.styleCursor=rs}};function Yi(H,z,ee,pe,Ce){return z.testIgnoreAllow(z.options[H.name],ee,pe)&&z.options[H.name].enabled&&cr(z,ee,H,Ce)?H:null}function Gs(H,z,ee,pe,Ce,ze,st){for(var ft=0,Dt=pe.length;ft<Dt;ft++){var lr=pe[ft],$t=Ce[ft],Nr=lr.getAction(z,ee,H,$t);if(Nr){var cn=Yi(Nr,lr,$t,ze,st);if(cn)return{action:cn,interactable:lr,element:$t}}}return{action:null,interactable:null,element:null}}function us(H,z,ee,pe,Ce){var ze=[],st=[],ft=pe;function Dt($t){ze.push($t),st.push(ft)}for(;F.element(ft);){ze=[],st=[],Ce.interactables.forEachMatch(ft,Dt);var lr=Gs(H,z,ee,ze,st,pe,Ce);if(lr.action&&!lr.interactable.options[lr.action.name].manualStart)return lr;ft=Xe(ft)}return{action:null,interactable:null,element:null}}function nr(H,z,ee){var pe=z.action,Ce=z.interactable,ze=z.element;pe=pe||{name:null},H.interactable=Ce,H.element=ze,yn(H.prepared,pe),H.rect=Ce&&pe.name?Ce.getRect(ze):null,Ln(H,ee),ee.fire("autoStart:prepared",{interaction:H})}function cr(H,z,ee,pe){var Ce=H.options,ze=Ce[ee.name].max,st=Ce[ee.name].maxPerElement,ft=pe.autoStart.maxInteractions,Dt=0,lr=0,$t=0;if(!(ze&&st&&ft))return!1;for(var Nr=0,cn=pe.interactions.list;Nr<cn.length;Nr++){var Nn=cn[Nr],jn=Nn.prepared.name;if(Nn.interacting()&&(++Dt>=ft||Nn.interactable===H&&((lr+=jn===ee.name?1:0)>=ze||Nn.element===z&&($t++,jn===ee.name&&$t>=st))))return!1}return ft>0}function ln(H,z){return F.number(H)?(z.autoStart.maxInteractions=H,this):z.autoStart.maxInteractions}function Yn(H,z,ee){var pe=ee.autoStart.cursorElement;pe&&pe!==H&&(pe.style.cursor=""),H.ownerDocument.documentElement.style.cursor=z,H.style.cursor=z,ee.autoStart.cursorElement=z?H:null}function Ln(H,z){var ee=H.interactable,pe=H.element,Ce=H.prepared;if(H.pointerType==="mouse"&&ee&&ee.options.styleCursor){var ze="";if(Ce.name){var st=ee.options[Ce.name].cursorChecker;ze=F.func(st)?st(Ce,ee,pe,H._interacting):z.actions.map[Ce.name].getCursor(Ce)}Yn(H.element,ze||"",z)}else z.autoStart.cursorElement&&Yn(z.autoStart.cursorElement,"",z)}var wn={id:"auto-start/base",before:["actions"],install:function(H){var z=H.interactStatic,ee=H.defaults;H.usePlugin(Ms),ee.base.actionChecker=null,ee.base.styleCursor=!0,mt(ee.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),z.maxInteractions=function(pe){return ln(pe,H)},H.autoStart={maxInteractions:1/0,withinInteractionLimit:cr,cursorElement:null}},listeners:{"interactions:down":function(H,z){var ee=H.interaction,pe=H.pointer,Ce=H.event,ze=H.eventTarget;ee.interacting()||nr(ee,us(ee,pe,Ce,ze,z),z)},"interactions:move":function(H,z){(function(ee,pe){var Ce=ee.interaction,ze=ee.pointer,st=ee.event,ft=ee.eventTarget;Ce.pointerType!=="mouse"||Ce.pointerIsDown||Ce.interacting()||nr(Ce,us(Ce,ze,st,ft,pe),pe)})(H,z),(function(ee,pe){var Ce=ee.interaction;if(Ce.pointerIsDown&&!Ce.interacting()&&Ce.pointerWasMoved&&Ce.prepared.name){pe.fire("autoStart:before-start",ee);var ze=Ce.interactable,st=Ce.prepared.name;st&&ze&&(ze.options[st].manualStart||!cr(ze,Ce.element,Ce.prepared,pe)?Ce.stop():(Ce.start(Ce.prepared,ze,Ce.element),Ln(Ce,pe)))}})(H,z)},"interactions:stop":function(H,z){var ee=H.interaction,pe=ee.interactable;pe&&pe.options.styleCursor&&Yn(ee.element,"",z)}},maxInteractions:ln,withinInteractionLimit:cr,validateAction:Yi},ti=wn,Ti={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(H,z){var ee=H.interaction,pe=H.eventTarget,Ce=H.dx,ze=H.dy;if(ee.prepared.name==="drag"){var st=Math.abs(Ce),ft=Math.abs(ze),Dt=ee.interactable.options.drag,lr=Dt.startAxis,$t=st>ft?"x":st<ft?"y":"xy";if(ee.prepared.axis=Dt.lockAxis==="start"?$t[0]:Dt.lockAxis,$t!=="xy"&&lr!=="xy"&&lr!==$t){ee.prepared.name=null;for(var Nr=pe,cn=function(jn){if(jn!==ee.interactable){var fi=ee.interactable.options.drag;if(!fi.manualStart&&jn.testIgnoreAllow(fi,Nr,pe)){var xi=jn.getAction(ee.downPointer,ee.downEvent,ee,Nr);if(xi&&xi.name==="drag"&&(function(Ii,zi){if(!zi)return!1;var gs=zi.options.drag.startAxis;return Ii==="xy"||gs==="xy"||gs===Ii})($t,jn)&&ti.validateAction(xi,jn,Nr,pe,z))return jn}}};F.element(Nr);){var Nn=z.interactables.forEachMatch(Nr,cn);if(Nn){ee.prepared.name="drag",ee.interactable=Nn,ee.element=Nr;break}Nr=Xe(Nr)}}}}}};function Pi(H){var z=H.prepared&&H.prepared.name;if(!z)return null;var ee=H.interactable.options;return ee[z].hold||ee[z].delay}var Zi={id:"auto-start/hold",install:function(H){var z=H.defaults;H.usePlugin(ti),z.perAction.hold=0,z.perAction.delay=0},listeners:{"interactions:new":function(H){H.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(H){var z=H.interaction,ee=Pi(z);ee>0&&(z.autoStartHoldTimer=setTimeout((function(){z.start(z.prepared,z.interactable,z.element)}),ee))},"interactions:move":function(H){var z=H.interaction,ee=H.duplicate;z.autoStartHoldTimer&&z.pointerWasMoved&&!ee&&(clearTimeout(z.autoStartHoldTimer),z.autoStartHoldTimer=null)},"autoStart:before-start":function(H){var z=H.interaction;Pi(z)>0&&(z.prepared.name=null)}},getHoldDuration:Pi},Ui=Zi,vi={id:"auto-start",install:function(H){H.usePlugin(ti),H.usePlugin(Ui),H.usePlugin(Ti)}},Wi=function(H){return/^(always|never|auto)$/.test(H)?(this.options.preventDefault=H,this):F.bool(H)?(this.options.preventDefault=H?"always":"never",this):this.options.preventDefault};function ks(H){var z=H.interaction,ee=H.event;z.interactable&&z.interactable.checkAndPreventDefault(ee)}var ss={id:"core/interactablePreventDefault",install:function(H){var z=H.Interactable;z.prototype.preventDefault=Wi,z.prototype.checkAndPreventDefault=function(ee){return(function(pe,Ce,ze){var st=pe.options.preventDefault;if(st!=="never")if(st!=="always"){if(Ce.events.supportsPassive&&/^touch(start|move)$/.test(ze.type)){var ft=D(ze.target).document,Dt=Ce.getDocOptions(ft);if(!Dt||!Dt.events||Dt.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(ze.type)||F.element(ze.target)&&ge(ze.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||ze.preventDefault()}else ze.preventDefault()})(this,H,ee)},H.interactions.docEvents.push({type:"dragstart",listener:function(ee){for(var pe=0,Ce=H.interactions.list;pe<Ce.length;pe++){var ze=Ce[pe];if(ze.element&&(ze.element===ee.target||Fe(ze.element,ee.target)))return void ze.interactable.checkAndPreventDefault(ee)}}})},listeners:["down","move","up","cancel"].reduce((function(H,z){return H["interactions:".concat(z)]=ks,H}),{})};function xs(H,z){if(z.phaselessTypes[H])return!0;for(var ee in z.map)if(H.indexOf(ee)===0&&H.substr(ee.length)in z.phases)return!0;return!1}function wi(H){var z={};for(var ee in H){var pe=H[ee];F.plainObject(pe)?z[ee]=wi(pe):F.array(pe)?z[ee]=it(pe):z[ee]=pe}return z}var Ns=(function(){function H(z){s(this,H),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=z,this.result=Cs(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return u(H,[{key:"start",value:function(z,ee){var pe,Ce,ze=z.phase,st=this.interaction,ft=(function(lr){var $t=lr.interactable.options[lr.prepared.name],Nr=$t.modifiers;return Nr&&Nr.length?Nr:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map((function(cn){var Nn=$t[cn];return Nn&&Nn.enabled&&{options:Nn,methods:Nn._methods}})).filter((function(cn){return!!cn}))})(st);this.prepareStates(ft),this.startEdges=mt({},st.edges),this.edges=mt({},this.startEdges),this.startOffset=(pe=st.rect,Ce=ee,pe?{left:Ce.x-pe.left,top:Ce.y-pe.top,right:pe.right-Ce.x,bottom:pe.bottom-Ce.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var Dt=this.fillArg({phase:ze,pageCoords:ee,preEnd:!1});return this.result=Cs(),this.startAll(Dt),this.result=this.setAll(Dt)}},{key:"fillArg",value:function(z){var ee=this.interaction;return z.interaction=ee,z.interactable=ee.interactable,z.element=ee.element,z.rect||(z.rect=ee.rect),z.edges||(z.edges=this.startEdges),z.startOffset=this.startOffset,z}},{key:"startAll",value:function(z){for(var ee=0,pe=this.states;ee<pe.length;ee++){var Ce=pe[ee];Ce.methods.start&&(z.state=Ce,Ce.methods.start(z))}}},{key:"setAll",value:function(z){var ee=z.phase,pe=z.preEnd,Ce=z.skipModifiers,ze=z.rect,st=z.edges;z.coords=mt({},z.pageCoords),z.rect=mt({},ze),z.edges=mt({},st);for(var ft=Ce?this.states.slice(Ce):this.states,Dt=Cs(z.coords,z.rect),lr=0;lr<ft.length;lr++){var $t,Nr=ft[lr],cn=Nr.options,Nn=mt({},z.coords),jn=null;($t=Nr.methods)!=null&&$t.set&&this.shouldDo(cn,pe,ee)&&(z.state=Nr,jn=Nr.methods.set(z),Yr(z.edges,z.rect,{x:z.coords.x-Nn.x,y:z.coords.y-Nn.y})),Dt.eventProps.push(jn)}mt(this.edges,z.edges),Dt.delta.x=z.coords.x-z.pageCoords.x,Dt.delta.y=z.coords.y-z.pageCoords.y,Dt.rectDelta.left=z.rect.left-ze.left,Dt.rectDelta.right=z.rect.right-ze.right,Dt.rectDelta.top=z.rect.top-ze.top,Dt.rectDelta.bottom=z.rect.bottom-ze.bottom;var fi=this.result.coords,xi=this.result.rect;if(fi&&xi){var Ii=Dt.rect.left!==xi.left||Dt.rect.right!==xi.right||Dt.rect.top!==xi.top||Dt.rect.bottom!==xi.bottom;Dt.changed=Ii||fi.x!==Dt.coords.x||fi.y!==Dt.coords.y}return Dt}},{key:"applyToInteraction",value:function(z){var ee=this.interaction,pe=z.phase,Ce=ee.coords.cur,ze=ee.coords.start,st=this.result,ft=this.startDelta,Dt=st.delta;pe==="start"&&mt(this.startDelta,st.delta);for(var lr=0,$t=[[ze,ft],[Ce,Dt]];lr<$t.length;lr++){var Nr=$t[lr],cn=Nr[0],Nn=Nr[1];cn.page.x+=Nn.x,cn.page.y+=Nn.y,cn.client.x+=Nn.x,cn.client.y+=Nn.y}var jn=this.result.rectDelta,fi=z.rect||ee.rect;fi.left+=jn.left,fi.right+=jn.right,fi.top+=jn.top,fi.bottom+=jn.bottom,fi.width=fi.right-fi.left,fi.height=fi.bottom-fi.top}},{key:"setAndApply",value:function(z){var ee=this.interaction,pe=z.phase,Ce=z.preEnd,ze=z.skipModifiers,st=this.setAll(this.fillArg({preEnd:Ce,phase:pe,pageCoords:z.modifiedCoords||ee.coords.cur.page}));if(this.result=st,!st.changed&&(!ze||ze<this.states.length)&&ee.interacting())return!1;if(z.modifiedCoords){var ft=ee.coords.cur.page,Dt={x:z.modifiedCoords.x-ft.x,y:z.modifiedCoords.y-ft.y};st.coords.x+=Dt.x,st.coords.y+=Dt.y,st.delta.x+=Dt.x,st.delta.y+=Dt.y}this.applyToInteraction(z)}},{key:"beforeEnd",value:function(z){var ee=z.interaction,pe=z.event,Ce=this.states;if(Ce&&Ce.length){for(var ze=!1,st=0;st<Ce.length;st++){var ft=Ce[st];z.state=ft;var Dt=ft.options,lr=ft.methods,$t=lr.beforeEnd&&lr.beforeEnd(z);if($t)return this.endResult=$t,!1;ze=ze||!ze&&this.shouldDo(Dt,!0,z.phase,!0)}ze&&ee.move({event:pe,preEnd:!0})}}},{key:"stop",value:function(z){var ee=z.interaction;if(this.states&&this.states.length){var pe=mt({states:this.states,interactable:ee.interactable,element:ee.element,rect:null},z);this.fillArg(pe);for(var Ce=0,ze=this.states;Ce<ze.length;Ce++){var st=ze[Ce];pe.state=st,st.methods.stop&&st.methods.stop(pe)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(z){this.states=[];for(var ee=0;ee<z.length;ee++){var pe=z[ee],Ce=pe.options,ze=pe.methods,st=pe.name;this.states.push({options:Ce,methods:ze,index:ee,name:st})}return this.states}},{key:"restoreInteractionCoords",value:function(z){var ee=z.interaction,pe=ee.coords,Ce=ee.rect,ze=ee.modification;if(ze.result){for(var st=ze.startDelta,ft=ze.result,Dt=ft.delta,lr=ft.rectDelta,$t=0,Nr=[[pe.start,st],[pe.cur,Dt]];$t<Nr.length;$t++){var cn=Nr[$t],Nn=cn[0],jn=cn[1];Nn.page.x-=jn.x,Nn.page.y-=jn.y,Nn.client.x-=jn.x,Nn.client.y-=jn.y}Ce.left-=lr.left,Ce.right-=lr.right,Ce.top-=lr.top,Ce.bottom-=lr.bottom}}},{key:"shouldDo",value:function(z,ee,pe,Ce){return!(!z||z.enabled===!1||Ce&&!z.endOnly||z.endOnly&&!ee||pe==="start"&&!z.setStart)}},{key:"copyFrom",value:function(z){this.startOffset=z.startOffset,this.startDelta=z.startDelta,this.startEdges=z.startEdges,this.edges=z.edges,this.states=z.states.map((function(ee){return wi(ee)})),this.result=Cs(mt({},z.result.coords),mt({},z.result.rect))}},{key:"destroy",value:function(){for(var z in this)this[z]=null}}]),H})();function Cs(H,z){return{rect:z,coords:H,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function as(H,z){var ee=H.defaults,pe={start:H.start,set:H.set,beforeEnd:H.beforeEnd,stop:H.stop},Ce=function(ze){var st=ze||{};for(var ft in st.enabled=st.enabled!==!1,ee)ft in st||(st[ft]=ee[ft]);var Dt={options:st,methods:pe,name:z,enable:function(){return st.enabled=!0,Dt},disable:function(){return st.enabled=!1,Dt}};return Dt};return z&&typeof z=="string"&&(Ce._defaults=ee,Ce._methods=pe),Ce}function Os(H){var z=H.iEvent,ee=H.interaction.modification.result;ee&&(z.modifiers=ee.eventProps)}var ce={id:"modifiers/base",before:["actions"],install:function(H){H.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(H){var z=H.interaction;z.modification=new Ns(z)},"interactions:before-action-start":function(H){var z=H.interaction,ee=H.interaction.modification;ee.start(H,z.coords.start.page),z.edges=ee.edges,ee.applyToInteraction(H)},"interactions:before-action-move":function(H){var z=H.interaction,ee=z.modification,pe=ee.setAndApply(H);return z.edges=ee.edges,pe},"interactions:before-action-end":function(H){var z=H.interaction,ee=z.modification,pe=ee.beforeEnd(H);return z.edges=ee.startEdges,pe},"interactions:action-start":Os,"interactions:action-move":Os,"interactions:action-end":Os,"interactions:after-action-start":function(H){return H.interaction.modification.restoreInteractionCoords(H)},"interactions:after-action-move":function(H){return H.interaction.modification.restoreInteractionCoords(H)},"interactions:stop":function(H){return H.interaction.modification.stop(H)}}},He=ce,Lt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},fr=(function(H){m(ee,H);var z=x(ee);function ee(pe,Ce,ze,st,ft,Dt,lr){var $t;s(this,ee),($t=z.call(this,pe)).relatedTarget=null,$t.screenX=void 0,$t.screenY=void 0,$t.button=void 0,$t.buttons=void 0,$t.ctrlKey=void 0,$t.shiftKey=void 0,$t.altKey=void 0,$t.metaKey=void 0,$t.page=void 0,$t.client=void 0,$t.delta=void 0,$t.rect=void 0,$t.x0=void 0,$t.y0=void 0,$t.t0=void 0,$t.dt=void 0,$t.duration=void 0,$t.clientX0=void 0,$t.clientY0=void 0,$t.velocity=void 0,$t.speed=void 0,$t.swipe=void 0,$t.axes=void 0,$t.preEnd=void 0,ft=ft||pe.element;var Nr=pe.interactable,cn=(Nr&&Nr.options||Lt).deltaSource,Nn=Gr(Nr,ft,ze),jn=st==="start",fi=st==="end",xi=jn?v($t):pe.prevEvent,Ii=jn?pe.coords.start:fi?{page:xi.page,client:xi.client,timeStamp:pe.coords.cur.timeStamp}:pe.coords.cur;return $t.page=mt({},Ii.page),$t.client=mt({},Ii.client),$t.rect=mt({},pe.rect),$t.timeStamp=Ii.timeStamp,fi||($t.page.x-=Nn.x,$t.page.y-=Nn.y,$t.client.x-=Nn.x,$t.client.y-=Nn.y),$t.ctrlKey=Ce.ctrlKey,$t.altKey=Ce.altKey,$t.shiftKey=Ce.shiftKey,$t.metaKey=Ce.metaKey,$t.button=Ce.button,$t.buttons=Ce.buttons,$t.target=ft,$t.currentTarget=ft,$t.preEnd=Dt,$t.type=lr||ze+(st||""),$t.interactable=Nr,$t.t0=jn?pe.pointers[pe.pointers.length-1].downTime:xi.t0,$t.x0=pe.coords.start.page.x-Nn.x,$t.y0=pe.coords.start.page.y-Nn.y,$t.clientX0=pe.coords.start.client.x-Nn.x,$t.clientY0=pe.coords.start.client.y-Nn.y,$t.delta=jn||fi?{x:0,y:0}:{x:$t[cn].x-xi[cn].x,y:$t[cn].y-xi[cn].y},$t.dt=pe.coords.delta.timeStamp,$t.duration=$t.timeStamp-$t.t0,$t.velocity=mt({},pe.coords.velocity[cn]),$t.speed=yt($t.velocity.x,$t.velocity.y),$t.swipe=fi||st==="inertiastart"?$t.getSwipe():null,$t}return u(ee,[{key:"getSwipe",value:function(){var pe=this._interaction;if(pe.prevEvent.speed<600||this.timeStamp-pe.prevEvent.timeStamp>150)return null;var Ce=180*Math.atan2(pe.prevEvent.velocityY,pe.prevEvent.velocityX)/Math.PI;Ce<0&&(Ce+=360);var ze=112.5<=Ce&&Ce<247.5,st=202.5<=Ce&&Ce<337.5;return{up:st,down:!st&&22.5<=Ce&&Ce<157.5,left:ze,right:!ze&&(292.5<=Ce||Ce<67.5),angle:Ce,speed:pe.prevEvent.speed,velocity:{x:pe.prevEvent.velocityX,y:pe.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),ee})(ht);Object.defineProperties(fr.prototype,{pageX:{get:function(){return this.page.x},set:function(H){this.page.x=H}},pageY:{get:function(){return this.page.y},set:function(H){this.page.y=H}},clientX:{get:function(){return this.client.x},set:function(H){this.client.x=H}},clientY:{get:function(){return this.client.y},set:function(H){this.client.y=H}},dx:{get:function(){return this.delta.x},set:function(H){this.delta.x=H}},dy:{get:function(){return this.delta.y},set:function(H){this.delta.y=H}},velocityX:{get:function(){return this.velocity.x},set:function(H){this.velocity.x=H}},velocityY:{get:function(){return this.velocity.y},set:function(H){this.velocity.y=H}}});var un=u((function H(z,ee,pe,Ce,ze){s(this,H),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=z,this.pointer=ee,this.event=pe,this.downTime=Ce,this.downTarget=ze})),Qn=(function(H){return H.interactable="",H.element="",H.prepared="",H.pointerIsDown="",H.pointerWasMoved="",H._proxy="",H})({}),Xi=(function(H){return H.start="",H.move="",H.end="",H.stop="",H.interacting="",H})({}),qi=0,ls=(function(){function H(z){var ee=this,pe=z.pointerType,Ce=z.scopeFire;s(this,H),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=si((function($t){this.move($t)}),"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=qi++,this._scopeFire=Ce,this.pointerType=pe;var ze=this;this._proxy={};var st=function($t){Object.defineProperty(ee._proxy,$t,{get:function(){return ze[$t]}})};for(var ft in Qn)st(ft);var Dt=function($t){Object.defineProperty(ee._proxy,$t,{value:function(){return ze[$t].apply(ze,arguments)}})};for(var lr in Xi)Dt(lr);this._scopeFire("interactions:new",{interaction:this})}return u(H,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(z,ee,pe){var Ce=this.updatePointer(z,ee,pe,!0),ze=this.pointers[Ce];this._scopeFire("interactions:down",{pointer:z,event:ee,eventTarget:pe,pointerIndex:Ce,pointerInfo:ze,type:"down",interaction:this})}},{key:"start",value:function(z,ee,pe){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(z.name==="gesture"?2:1)||!ee.options[z.name].enabled)&&(yn(this.prepared,z),this.interactable=ee,this.element=pe,this.rect=ee.getRect(pe),this.edges=this.prepared.edges?mt({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(z,ee,pe){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(z,ee,pe,!1);var Ce,ze,st=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(Ce=this.coords.cur.client.x-this.coords.start.client.x,ze=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=yt(Ce,ze)>this.pointerMoveTolerance);var ft,Dt,lr,$t=this.getPointerIndex(z),Nr={pointer:z,pointerIndex:$t,pointerInfo:this.pointers[$t],event:ee,type:"move",eventTarget:pe,dx:Ce,dy:ze,duplicate:st,interaction:this};st||(ft=this.coords.velocity,Dt=this.coords.delta,lr=Math.max(Dt.timeStamp/1e3,.001),ft.page.x=Dt.page.x/lr,ft.page.y=Dt.page.y/lr,ft.client.x=Dt.client.x/lr,ft.client.y=Dt.client.y/lr,ft.timeStamp=lr),this._scopeFire("interactions:move",Nr),st||this.simulation||(this.interacting()&&(Nr.type=null,this.move(Nr)),this.pointerWasMoved&&Mr(this.coords.prev,this.coords.cur))}},{key:"move",value:function(z){z&&z.event||Er(this.coords.delta),(z=mt({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},z||{})).phase="move",this._doPhase(z)}},{key:"pointerUp",value:function(z,ee,pe,Ce){var ze=this.getPointerIndex(z);ze===-1&&(ze=this.updatePointer(z,ee,pe,!1));var st=/cancel$/i.test(ee.type)?"cancel":"up";this._scopeFire("interactions:".concat(st),{pointer:z,pointerIndex:ze,pointerInfo:this.pointers[ze],event:ee,eventTarget:pe,type:st,curEventTarget:Ce,interaction:this}),this.simulation||this.end(ee),this.removePointer(z,ee)}},{key:"documentBlur",value:function(z){this.end(z),this._scopeFire("interactions:blur",{event:z,type:"blur",interaction:this})}},{key:"end",value:function(z){var ee;this._ending=!0,z=z||this._latestPointer.event,this.interacting()&&(ee=this._doPhase({event:z,interaction:this,phase:"end"})),this._ending=!1,ee===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(z){var ee=dr(z);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:Rt(this.pointers,(function(pe){return pe.id===ee}))}},{key:"getPointerInfo",value:function(z){return this.pointers[this.getPointerIndex(z)]}},{key:"updatePointer",value:function(z,ee,pe,Ce){var ze,st,ft,Dt=dr(z),lr=this.getPointerIndex(z),$t=this.pointers[lr];return Ce=Ce!==!1&&(Ce||/(down|start)$/i.test(ee.type)),$t?$t.pointer=z:($t=new un(Dt,z,ee,null,null),lr=this.pointers.length,this.pointers.push($t)),Xr(this.coords.cur,this.pointers.map((function(Nr){return Nr.pointer})),this._now()),ze=this.coords.delta,st=this.coords.prev,ft=this.coords.cur,ze.page.x=ft.page.x-st.page.x,ze.page.y=ft.page.y-st.page.y,ze.client.x=ft.client.x-st.client.x,ze.client.y=ft.client.y-st.client.y,ze.timeStamp=ft.timeStamp-st.timeStamp,Ce&&(this.pointerIsDown=!0,$t.downTime=this.coords.cur.timeStamp,$t.downTarget=pe,Ar(this.downPointer,z),this.interacting()||(Mr(this.coords.start,this.coords.cur),Mr(this.coords.prev,this.coords.cur),this.downEvent=ee,this.pointerWasMoved=!1)),this._updateLatestPointer(z,ee,pe),this._scopeFire("interactions:update-pointer",{pointer:z,event:ee,eventTarget:pe,down:Ce,pointerInfo:$t,pointerIndex:lr,interaction:this}),lr}},{key:"removePointer",value:function(z,ee){var pe=this.getPointerIndex(z);if(pe!==-1){var Ce=this.pointers[pe];this._scopeFire("interactions:remove-pointer",{pointer:z,event:ee,eventTarget:null,pointerIndex:pe,pointerInfo:Ce,interaction:this}),this.pointers.splice(pe,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(z,ee,pe){this._latestPointer.pointer=z,this._latestPointer.event=ee,this._latestPointer.eventTarget=pe}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(z,ee,pe,Ce){return new fr(this,z,this.prepared.name,ee,this.element,pe,Ce)}},{key:"_fireEvent",value:function(z){var ee;(ee=this.interactable)==null||ee.fire(z),(!this.prevEvent||z.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=z)}},{key:"_doPhase",value:function(z){var ee=z.event,pe=z.phase,Ce=z.preEnd,ze=z.type,st=this.rect;if(st&&pe==="move"&&(Yr(this.edges,st,this.coords.delta[this.interactable.options.deltaSource]),st.width=st.right-st.left,st.height=st.bottom-st.top),this._scopeFire("interactions:before-action-".concat(pe),z)===!1)return!1;var ft=z.iEvent=this._createPreparedEvent(ee,pe,Ce,ze);return this._scopeFire("interactions:action-".concat(pe),z),pe==="start"&&(this.prevEvent=ft),this._fireEvent(ft),this._scopeFire("interactions:after-action-".concat(pe),z),!0}},{key:"_now",value:function(){return Date.now()}}]),H})();function ps(H){la(H.interaction)}function la(H){if(!(function(ee){return!(!ee.offset.pending.x&&!ee.offset.pending.y)})(H))return!1;var z=H.offset.pending;return za(H.coords.cur,z),za(H.coords.delta,z),Yr(H.edges,H.rect,z),z.x=0,z.y=0,!0}function ca(H){var z=H.x,ee=H.y;this.offset.pending.x+=z,this.offset.pending.y+=ee,this.offset.total.x+=z,this.offset.total.y+=ee}function za(H,z){var ee=H.page,pe=H.client,Ce=z.x,ze=z.y;ee.x+=Ce,ee.y+=ze,pe.x+=Ce,pe.y+=ze}Xi.offsetBy="";var io={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(H){H.Interaction.prototype.offsetBy=ca},listeners:{"interactions:new":function(H){H.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(H){return(function(z){z.pointerIsDown&&(za(z.coords.cur,z.offset.total),z.offset.pending.x=0,z.offset.pending.y=0)})(H.interaction)},"interactions:before-action-start":ps,"interactions:before-action-move":ps,"interactions:before-action-end":function(H){var z=H.interaction;if(la(z))return z.move({offset:!0}),z.end(),!1},"interactions:stop":function(H){var z=H.interaction;z.offset.total.x=0,z.offset.total.y=0,z.offset.pending.x=0,z.offset.pending.y=0}}},Is=io,yr=(function(){function H(z){s(this,H),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=z}return u(H,[{key:"start",value:function(z){var ee=this.interaction,pe=Fa(ee);if(!pe||!pe.enabled)return!1;var Ce=ee.coords.velocity.client,ze=yt(Ce.x,Ce.y),st=this.modification||(this.modification=new Ns(ee));if(st.copyFrom(ee.modification),this.t0=ee._now(),this.allowResume=pe.allowResume,this.v0=ze,this.currentOffset={x:0,y:0},this.startCoords=ee.coords.cur.page,this.modifierArg=st.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-ee.coords.cur.timeStamp<50&&ze>pe.minSpeed&&ze>pe.endSpeed)this.startInertia();else{if(st.result=st.setAll(this.modifierArg),!st.result.changed)return!1;this.startSmoothEnd()}return ee.modification.result.rect=null,ee.offsetBy(this.targetOffset),ee._doPhase({interaction:ee,event:z,phase:"inertiastart"}),ee.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),ee.modification.result.rect=null,this.active=!0,ee.simulation=this,!0}},{key:"startInertia",value:function(){var z=this,ee=this.interaction.coords.velocity.client,pe=Fa(this.interaction),Ce=pe.resistance,ze=-Math.log(pe.endSpeed/this.v0)/Ce;this.targetOffset={x:(ee.x-ze)/Ce,y:(ee.y-ze)/Ce},this.te=ze,this.lambda_v0=Ce/this.v0,this.one_ve_v0=1-pe.endSpeed/this.v0;var st=this.modification,ft=this.modifierArg;ft.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},st.result=st.setAll(ft),st.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+st.result.delta.x,y:this.targetOffset.y+st.result.delta.y}),this.onNextFrame((function(){return z.inertiaTick()}))}},{key:"startSmoothEnd",value:function(){var z=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame((function(){return z.smoothEndTick()}))}},{key:"onNextFrame",value:function(z){var ee=this;this.timeout=bt.request((function(){ee.active&&z()}))}},{key:"inertiaTick",value:function(){var z,ee,pe,Ce,ze,st,ft,Dt=this,lr=this.interaction,$t=Fa(lr).resistance,Nr=(lr._now()-this.t0)/1e3;if(Nr<this.te){var cn,Nn=1-(Math.exp(-$t*Nr)-this.lambda_v0)/this.one_ve_v0;this.isModified?(z=0,ee=0,pe=this.targetOffset.x,Ce=this.targetOffset.y,ze=this.modifiedOffset.x,st=this.modifiedOffset.y,cn={x:va(ft=Nn,z,pe,ze),y:va(ft,ee,Ce,st)}):cn={x:this.targetOffset.x*Nn,y:this.targetOffset.y*Nn};var jn={x:cn.x-this.currentOffset.x,y:cn.y-this.currentOffset.y};this.currentOffset.x+=jn.x,this.currentOffset.y+=jn.y,lr.offsetBy(jn),lr.move(),this.onNextFrame((function(){return Dt.inertiaTick()}))}else lr.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var z=this,ee=this.interaction,pe=ee._now()-this.t0,Ce=Fa(ee).smoothEndDuration;if(pe<Ce){var ze={x:pa(pe,0,this.targetOffset.x,Ce),y:pa(pe,0,this.targetOffset.y,Ce)},st={x:ze.x-this.currentOffset.x,y:ze.y-this.currentOffset.y};this.currentOffset.x+=st.x,this.currentOffset.y+=st.y,ee.offsetBy(st),ee.move({skipModifiers:this.modifierCount}),this.onNextFrame((function(){return z.smoothEndTick()}))}else ee.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(z){var ee=z.pointer,pe=z.event,Ce=z.eventTarget,ze=this.interaction;ze.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),ze.updatePointer(ee,pe,Ce,!0),ze._doPhase({interaction:ze,event:pe,phase:"resume"}),Mr(ze.coords.prev,ze.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,bt.cancel(this.timeout)}}]),H})();function Fa(H){var z=H.interactable,ee=H.prepared;return z&&z.options&&ee.name&&z.options[ee.name].inertia}var on={id:"inertia",before:["modifiers","actions"],install:function(H){var z=H.defaults;H.usePlugin(Is),H.usePlugin(He),H.actions.phases.inertiastart=!0,H.actions.phases.resume=!0,z.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(H){var z=H.interaction;z.inertia=new yr(z)},"interactions:before-action-end":function(H){var z=H.interaction,ee=H.event;return(!z._interacting||z.simulation||!z.inertia.start(ee))&&null},"interactions:down":function(H){var z=H.interaction,ee=H.eventTarget,pe=z.inertia;if(pe.active)for(var Ce=ee;F.element(Ce);){if(Ce===z.element){pe.resume(H);break}Ce=Xe(Ce)}},"interactions:stop":function(H){var z=H.interaction.inertia;z.active&&z.stop()},"interactions:before-action-resume":function(H){var z=H.interaction.modification;z.stop(H),z.start(H,H.interaction.coords.cur.page),z.applyToInteraction(H)},"interactions:before-action-inertiastart":function(H){return H.interaction.modification.setAndApply(H)},"interactions:action-resume":Os,"interactions:action-inertiastart":Os,"interactions:after-action-inertiastart":function(H){return H.interaction.modification.restoreInteractionCoords(H)},"interactions:after-action-resume":function(H){return H.interaction.modification.restoreInteractionCoords(H)}}};function va(H,z,ee,pe){var Ce=1-H;return Ce*Ce*z+2*Ce*H*ee+H*H*pe}function pa(H,z,ee,pe){return-ee*(H/=pe)*(H-2)+z}var aa=on;function ta(H,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];if(H.immediatePropagationStopped)break;pe(H)}}var Za=(function(){function H(z){s(this,H),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=mt({},z||{})}return u(H,[{key:"fire",value:function(z){var ee,pe=this.global;(ee=this.types[z.type])&&ta(z,ee),!z.propagationStopped&&pe&&(ee=pe[z.type])&&ta(z,ee)}},{key:"on",value:function(z,ee){var pe=dn(z,ee);for(z in pe)this.types[z]=ur(this.types[z]||[],pe[z])}},{key:"off",value:function(z,ee){var pe=dn(z,ee);for(z in pe){var Ce=this.types[z];if(Ce&&Ce.length)for(var ze=0,st=pe[z];ze<st.length;ze++){var ft=st[ze],Dt=Ce.indexOf(ft);Dt!==-1&&Ce.splice(Dt,1)}}}},{key:"getRect",value:function(z){return null}}]),H})(),$a=(function(){function H(z){s(this,H),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=z,Ar(this,z)}return u(H,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),H})();function Wo(H){return F.object(H)?{capture:!!H.capture,passive:!!H.passive}:{capture:!!H,passive:!1}}function Co(H,z){return H===z||(typeof H=="boolean"?!!z.capture===H&&!z.passive:!!H.capture==!!z.capture&&!!H.passive==!!z.passive)}var Ro={id:"events",install:function(H){var z,ee=[],pe={},Ce=[],ze={add:st,remove:ft,addDelegate:function($t,Nr,cn,Nn,jn){var fi=Wo(jn);if(!pe[cn]){pe[cn]=[];for(var xi=0;xi<Ce.length;xi++){var Ii=Ce[xi];st(Ii,cn,Dt),st(Ii,cn,lr,!0)}}var zi=pe[cn],gs=Zr(zi,(function(er){return er.selector===$t&&er.context===Nr}));gs||(gs={selector:$t,context:Nr,listeners:[]},zi.push(gs)),gs.listeners.push({func:Nn,options:fi})},removeDelegate:function($t,Nr,cn,Nn,jn){var fi,xi=Wo(jn),Ii=pe[cn],zi=!1;if(Ii)for(fi=Ii.length-1;fi>=0;fi--){var gs=Ii[fi];if(gs.selector===$t&&gs.context===Nr){for(var er=gs.listeners,br=er.length-1;br>=0;br--){var xr=er[br];if(xr.func===Nn&&Co(xr.options,xi)){er.splice(br,1),er.length||(Ii.splice(fi,1),ft(Nr,cn,Dt),ft(Nr,cn,lr,!0)),zi=!0;break}}if(zi)break}}},delegateListener:Dt,delegateUseCapture:lr,delegatedEvents:pe,documents:Ce,targets:ee,supportsOptions:!1,supportsPassive:!1};function st($t,Nr,cn,Nn){if($t.addEventListener){var jn=Wo(Nn),fi=Zr(ee,(function(xi){return xi.eventTarget===$t}));fi||(fi={eventTarget:$t,events:{}},ee.push(fi)),fi.events[Nr]||(fi.events[Nr]=[]),Zr(fi.events[Nr],(function(xi){return xi.func===cn&&Co(xi.options,jn)}))||($t.addEventListener(Nr,cn,ze.supportsOptions?jn:jn.capture),fi.events[Nr].push({func:cn,options:jn}))}}function ft($t,Nr,cn,Nn){if($t.addEventListener&&$t.removeEventListener){var jn=Rt(ee,(function(yi){return yi.eventTarget===$t})),fi=ee[jn];if(fi&&fi.events)if(Nr!=="all"){var xi=!1,Ii=fi.events[Nr];if(Ii){if(cn==="all"){for(var zi=Ii.length-1;zi>=0;zi--){var gs=Ii[zi];ft($t,Nr,gs.func,gs.options)}return}for(var er=Wo(Nn),br=0;br<Ii.length;br++){var xr=Ii[br];if(xr.func===cn&&Co(xr.options,er)){$t.removeEventListener(Nr,cn,ze.supportsOptions?er:er.capture),Ii.splice(br,1),Ii.length===0&&(delete fi.events[Nr],xi=!0);break}}}xi&&!Object.keys(fi.events).length&&ee.splice(jn,1)}else for(Nr in fi.events)fi.events.hasOwnProperty(Nr)&&ft($t,Nr,"all")}}function Dt($t,Nr){for(var cn=Wo(Nr),Nn=new $a($t),jn=pe[$t.type],fi=Y($t)[0],xi=fi;F.element(xi);){for(var Ii=0;Ii<jn.length;Ii++){var zi=jn[Ii],gs=zi.selector,er=zi.context;if(ge(xi,gs)&&Fe(er,fi)&&Fe(er,xi)){var br=zi.listeners;Nn.currentTarget=xi;for(var xr=0;xr<br.length;xr++){var yi=br[xr];Co(yi.options,cn)&&yi.func(Nn)}}}xi=Xe(xi)}}function lr($t){return Dt($t,!0)}return(z=H.document)==null||z.createElement("div").addEventListener("test",null,{get capture(){return ze.supportsOptions=!0},get passive(){return ze.supportsPassive=!0}}),H.events=ze,ze}},Hs={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(H){for(var z=0,ee=Hs.methodOrder;z<ee.length;z++){var pe=ee[z],Ce=Hs[pe](H);if(Ce)return Ce}return null},simulationResume:function(H){var z=H.pointerType,ee=H.eventType,pe=H.eventTarget,Ce=H.scope;if(!/down|start/i.test(ee))return null;for(var ze=0,st=Ce.interactions.list;ze<st.length;ze++){var ft=st[ze],Dt=pe;if(ft.simulation&&ft.simulation.allowResume&&ft.pointerType===z)for(;Dt;){if(Dt===ft.element)return ft;Dt=Xe(Dt)}}return null},mouseOrPen:function(H){var z,ee=H.pointerId,pe=H.pointerType,Ce=H.eventType,ze=H.scope;if(pe!=="mouse"&&pe!=="pen")return null;for(var st=0,ft=ze.interactions.list;st<ft.length;st++){var Dt=ft[st];if(Dt.pointerType===pe){if(Dt.simulation&&!cs(Dt,ee))continue;if(Dt.interacting())return Dt;z||(z=Dt)}}if(z)return z;for(var lr=0,$t=ze.interactions.list;lr<$t.length;lr++){var Nr=$t[lr];if(!(Nr.pointerType!==pe||/down/i.test(Ce)&&Nr.simulation))return Nr}return null},hasPointer:function(H){for(var z=H.pointerId,ee=0,pe=H.scope.interactions.list;ee<pe.length;ee++){var Ce=pe[ee];if(cs(Ce,z))return Ce}return null},idle:function(H){for(var z=H.pointerType,ee=0,pe=H.scope.interactions.list;ee<pe.length;ee++){var Ce=pe[ee];if(Ce.pointers.length===1){var ze=Ce.interactable;if(ze&&(!ze.options.gesture||!ze.options.gesture.enabled))continue}else if(Ce.pointers.length>=2)continue;if(!Ce.interacting()&&z===Ce.pointerType)return Ce}return null}};function cs(H,z){return H.pointers.some((function(ee){return ee.id===z}))}var Me=Hs,We=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Nt(H,z){return function(ee){var pe=z.interactions.list,Ce=Pr(ee),ze=Y(ee),st=ze[0],ft=ze[1],Dt=[];if(/^touch/.test(ee.type)){z.prevTouchTime=z.now();for(var lr=0,$t=ee.changedTouches;lr<$t.length;lr++){var Nr=$t[lr],cn={pointer:Nr,pointerId:dr(Nr),pointerType:Ce,eventType:ee.type,eventTarget:st,curEventTarget:ft,scope:z},Nn=Jt(cn);Dt.push([cn.pointer,cn.eventTarget,cn.curEventTarget,Nn])}}else{var jn=!1;if(!je.supportsPointerEvent&&/mouse/.test(ee.type)){for(var fi=0;fi<pe.length&&!jn;fi++)jn=pe[fi].pointerType!=="mouse"&&pe[fi].pointerIsDown;jn=jn||z.now()-z.prevTouchTime<500||ee.timeStamp===0}if(!jn){var xi={pointer:ee,pointerId:dr(ee),pointerType:Ce,eventType:ee.type,curEventTarget:ft,eventTarget:st,scope:z},Ii=Jt(xi);Dt.push([xi.pointer,xi.eventTarget,xi.curEventTarget,Ii])}}for(var zi=0;zi<Dt.length;zi++){var gs=Dt[zi],er=gs[0],br=gs[1],xr=gs[2];gs[3][H](er,ee,br,xr)}}}function Jt(H){var z=H.pointerType,ee=H.scope,pe={interaction:Me.search(H),searchDetails:H};return ee.fire("interactions:find",pe),pe.interaction||ee.interactions.new({pointerType:z})}function jr(H,z){var ee=H.doc,pe=H.scope,Ce=H.options,ze=pe.interactions.docEvents,st=pe.events,ft=st[z];for(var Dt in pe.browser.isIOS&&!Ce.events&&(Ce.events={passive:!1}),st.delegatedEvents)ft(ee,Dt,st.delegateListener),ft(ee,Dt,st.delegateUseCapture,!0);for(var lr=Ce&&Ce.events,$t=0;$t<ze.length;$t++){var Nr=ze[$t];ft(ee,Nr.type,Nr.listener,lr)}}var Jr={id:"core/interactions",install:function(H){for(var z={},ee=0;ee<We.length;ee++){var pe=We[ee];z[pe]=Nt(pe,H)}var Ce,ze=je.pEventTypes;function st(){for(var ft=0,Dt=H.interactions.list;ft<Dt.length;ft++){var lr=Dt[ft];if(lr.pointerIsDown&&lr.pointerType==="touch"&&!lr._interacting)for(var $t=function(){var Nn=cn[Nr];H.documents.some((function(jn){return Fe(jn.doc,Nn.downTarget)}))||lr.removePointer(Nn.pointer,Nn.event)},Nr=0,cn=lr.pointers;Nr<cn.length;Nr++)$t()}}(Ce=he.PointerEvent?[{type:ze.down,listener:st},{type:ze.down,listener:z.pointerDown},{type:ze.move,listener:z.pointerMove},{type:ze.up,listener:z.pointerUp},{type:ze.cancel,listener:z.pointerUp}]:[{type:"mousedown",listener:z.pointerDown},{type:"mousemove",listener:z.pointerMove},{type:"mouseup",listener:z.pointerUp},{type:"touchstart",listener:st},{type:"touchstart",listener:z.pointerDown},{type:"touchmove",listener:z.pointerMove},{type:"touchend",listener:z.pointerUp},{type:"touchcancel",listener:z.pointerUp}]).push({type:"blur",listener:function(ft){for(var Dt=0,lr=H.interactions.list;Dt<lr.length;Dt++)lr[Dt].documentBlur(ft)}}),H.prevTouchTime=0,H.Interaction=(function(ft){m(lr,ft);var Dt=x(lr);function lr(){return s(this,lr),Dt.apply(this,arguments)}return u(lr,[{key:"pointerMoveTolerance",get:function(){return H.interactions.pointerMoveTolerance},set:function($t){H.interactions.pointerMoveTolerance=$t}},{key:"_now",value:function(){return H.now()}}]),lr})(ls),H.interactions={list:[],new:function(ft){ft.scopeFire=function(lr,$t){return H.fire(lr,$t)};var Dt=new H.Interaction(ft);return H.interactions.list.push(Dt),Dt},listeners:z,docEvents:Ce,pointerMoveTolerance:1},H.usePlugin(ss)},listeners:{"scope:add-document":function(H){return jr(H,"add")},"scope:remove-document":function(H){return jr(H,"remove")},"interactable:unset":function(H,z){for(var ee=H.interactable,pe=z.interactions.list.length-1;pe>=0;pe--){var Ce=z.interactions.list[pe];Ce.interactable===ee&&(Ce.stop(),z.fire("interactions:destroy",{interaction:Ce}),Ce.destroy(),z.interactions.list.length>2&&z.interactions.list.splice(pe,1))}}},onDocSignal:jr,doOnInteractions:Nt,methodNames:We},an=Jr,ai=(function(H){return H[H.On=0]="On",H[H.Off=1]="Off",H})(ai||{}),Si=(function(){function H(z,ee,pe,Ce){s(this,H),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Za,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=ee.actions,this.target=z,this._context=ee.context||pe,this._win=D(It(z)?this._context:z),this._doc=this._win.document,this._scopeEvents=Ce,this.set(ee)}return u(H,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(z,ee){return F.func(ee.onstart)&&this.on("".concat(z,"start"),ee.onstart),F.func(ee.onmove)&&this.on("".concat(z,"move"),ee.onmove),F.func(ee.onend)&&this.on("".concat(z,"end"),ee.onend),F.func(ee.oninertiastart)&&this.on("".concat(z,"inertiastart"),ee.oninertiastart),this}},{key:"updatePerActionListeners",value:function(z,ee,pe){var Ce,ze=this,st=(Ce=this._actions.map[z])==null?void 0:Ce.filterEventType,ft=function(Dt){return(st==null||st(Dt))&&xs(Dt,ze._actions)};(F.array(ee)||F.object(ee))&&this._onOff(ai.Off,z,ee,void 0,ft),(F.array(pe)||F.object(pe))&&this._onOff(ai.On,z,pe,void 0,ft)}},{key:"setPerAction",value:function(z,ee){var pe=this._defaults;for(var Ce in ee){var ze=Ce,st=this.options[z],ft=ee[ze];ze==="listeners"&&this.updatePerActionListeners(z,st.listeners,ft),F.array(ft)?st[ze]=it(ft):F.plainObject(ft)?(st[ze]=mt(st[ze]||{},wi(ft)),F.object(pe.perAction[ze])&&"enabled"in pe.perAction[ze]&&(st[ze].enabled=ft.enabled!==!1)):F.bool(ft)&&F.object(pe.perAction[ze])?st[ze].enabled=ft:st[ze]=ft}}},{key:"getRect",value:function(z){return z=z||(F.element(this.target)?this.target:null),F.string(this.target)&&(z=z||this._context.querySelector(this.target)),$e(z)}},{key:"rectChecker",value:function(z){var ee=this;return F.func(z)?(this.getRect=function(pe){var Ce=mt({},z.apply(ee,pe));return"width"in Ce||(Ce.width=Ce.right-Ce.left,Ce.height=Ce.bottom-Ce.top),Ce},this):z===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(z,ee){if(It(ee)||F.object(ee)){for(var pe in this.options[z]=ee,this._actions.map)this.options[pe][z]=ee;return this}return this.options[z]}},{key:"origin",value:function(z){return this._backCompatOption("origin",z)}},{key:"deltaSource",value:function(z){return z==="page"||z==="client"?(this.options.deltaSource=z,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var z=this.target;return F.string(z)?Array.from(this._context.querySelectorAll(z)):F.func(z)&&z.getAllElements?z.getAllElements():F.element(z)?[z]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(z){return this._context===z.ownerDocument||Fe(this._context,z)}},{key:"testIgnoreAllow",value:function(z,ee,pe){return!this.testIgnore(z.ignoreFrom,ee,pe)&&this.testAllow(z.allowFrom,ee,pe)}},{key:"testAllow",value:function(z,ee,pe){return!z||!!F.element(pe)&&(F.string(z)?Re(pe,z,ee):!!F.element(z)&&Fe(z,pe))}},{key:"testIgnore",value:function(z,ee,pe){return!(!z||!F.element(pe))&&(F.string(z)?Re(pe,z,ee):!!F.element(z)&&Fe(z,pe))}},{key:"fire",value:function(z){return this.events.fire(z),this}},{key:"_onOff",value:function(z,ee,pe,Ce,ze){F.object(ee)&&!F.array(ee)&&(Ce=pe,pe=null);var st=dn(ee,pe,ze);for(var ft in st){ft==="wheel"&&(ft=je.wheelEvent);for(var Dt=0,lr=st[ft];Dt<lr.length;Dt++){var $t=lr[Dt];xs(ft,this._actions)?this.events[z===ai.On?"on":"off"](ft,$t):F.string(this.target)?this._scopeEvents[z===ai.On?"addDelegate":"removeDelegate"](this.target,this._context,ft,$t,Ce):this._scopeEvents[z===ai.On?"add":"remove"](this.target,ft,$t,Ce)}}return this}},{key:"on",value:function(z,ee,pe){return this._onOff(ai.On,z,ee,pe)}},{key:"off",value:function(z,ee,pe){return this._onOff(ai.Off,z,ee,pe)}},{key:"set",value:function(z){var ee=this._defaults;for(var pe in F.object(z)||(z={}),this.options=wi(ee.base),this._actions.methodDict){var Ce=pe,ze=this._actions.methodDict[Ce];this.options[Ce]={},this.setPerAction(Ce,mt(mt({},ee.perAction),ee.actions[Ce])),this[ze](z[Ce])}for(var st in z)st!=="getRect"?F.func(this[st])&&this[st](z[st]):this.rectChecker(z.getRect);return this}},{key:"unset",value:function(){if(F.string(this.target))for(var z in this._scopeEvents.delegatedEvents)for(var ee=this._scopeEvents.delegatedEvents[z],pe=ee.length-1;pe>=0;pe--){var Ce=ee[pe],ze=Ce.selector,st=Ce.context,ft=Ce.listeners;ze===this.target&&st===this._context&&ee.splice(pe,1);for(var Dt=ft.length-1;Dt>=0;Dt--)this._scopeEvents.removeDelegate(this.target,this._context,z,ft[Dt][0],ft[Dt][1])}else this._scopeEvents.remove(this.target,"all")}}]),H})(),Di=(function(){function H(z){var ee=this;s(this,H),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=z,z.addListeners({"interactable:unset":function(pe){var Ce=pe.interactable,ze=Ce.target,st=F.string(ze)?ee.selectorMap[ze]:ze[ee.scope.id],ft=Rt(st,(function(Dt){return Dt===Ce}));st.splice(ft,1)}})}return u(H,[{key:"new",value:function(z,ee){ee=mt(ee||{},{actions:this.scope.actions});var pe=new this.scope.Interactable(z,ee,this.scope.document,this.scope.events);return this.scope.addDocument(pe._doc),this.list.push(pe),F.string(z)?(this.selectorMap[z]||(this.selectorMap[z]=[]),this.selectorMap[z].push(pe)):(pe.target[this.scope.id]||Object.defineProperty(z,this.scope.id,{value:[],configurable:!0}),z[this.scope.id].push(pe)),this.scope.fire("interactable:new",{target:z,options:ee,interactable:pe,win:this.scope._win}),pe}},{key:"getExisting",value:function(z,ee){var pe=ee&&ee.context||this.scope.document,Ce=F.string(z),ze=Ce?this.selectorMap[z]:z[this.scope.id];if(ze)return Zr(ze,(function(st){return st._context===pe&&(Ce||st.inContext(z))}))}},{key:"forEachMatch",value:function(z,ee){for(var pe=0,Ce=this.list;pe<Ce.length;pe++){var ze=Ce[pe],st=void 0;if((F.string(ze.target)?F.element(z)&&ge(z,ze.target):z===ze.target)&&ze.inContext(z)&&(st=ee(ze)),st!==void 0)return st}}}]),H})(),Vi=(function(){function H(){var z=this;s(this,H),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=je,this.defaults=wi(Lt),this.Eventable=Za,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=(function(pe){var Ce=function ze(st,ft){var Dt=pe.interactables.getExisting(st,ft);return Dt||((Dt=pe.interactables.new(st,ft)).events.global=ze.globalEvents),Dt};return Ce.getPointerAverage=Qt,Ce.getTouchBBox=Br,Ce.getTouchDistance=zt,Ce.getTouchAngle=Tt,Ce.getElementRect=$e,Ce.getElementClientRect=De,Ce.matchesSelector=ge,Ce.closest=Je,Ce.globalEvents={},Ce.version="1.10.27",Ce.scope=pe,Ce.use=function(ze,st){return this.scope.usePlugin(ze,st),this},Ce.isSet=function(ze,st){return!!this.scope.interactables.get(ze,st&&st.context)},Ce.on=si((function(ze,st,ft){if(F.string(ze)&&ze.search(" ")!==-1&&(ze=ze.trim().split(/ +/)),F.array(ze)){for(var Dt=0,lr=ze;Dt<lr.length;Dt++){var $t=lr[Dt];this.on($t,st,ft)}return this}if(F.object(ze)){for(var Nr in ze)this.on(Nr,ze[Nr],st);return this}return xs(ze,this.scope.actions)?this.globalEvents[ze]?this.globalEvents[ze].push(st):this.globalEvents[ze]=[st]:this.scope.events.add(this.scope.document,ze,st,{options:ft}),this}),"The interact.on() method is being deprecated"),Ce.off=si((function(ze,st,ft){if(F.string(ze)&&ze.search(" ")!==-1&&(ze=ze.trim().split(/ +/)),F.array(ze)){for(var Dt=0,lr=ze;Dt<lr.length;Dt++){var $t=lr[Dt];this.off($t,st,ft)}return this}if(F.object(ze)){for(var Nr in ze)this.off(Nr,ze[Nr],st);return this}var cn;return xs(ze,this.scope.actions)?ze in this.globalEvents&&(cn=this.globalEvents[ze].indexOf(st))!==-1&&this.globalEvents[ze].splice(cn,1):this.scope.events.remove(this.scope.document,ze,st,ft),this}),"The interact.off() method is being deprecated"),Ce.debug=function(){return this.scope},Ce.supportsTouch=function(){return je.supportsTouch},Ce.supportsPointerEvent=function(){return je.supportsPointerEvent},Ce.stop=function(){for(var ze=0,st=this.scope.interactions.list;ze<st.length;ze++)st[ze].stop();return this},Ce.pointerMoveTolerance=function(ze){return F.number(ze)?(this.scope.interactions.pointerMoveTolerance=ze,this):this.scope.interactions.pointerMoveTolerance},Ce.addDocument=function(ze,st){this.scope.addDocument(ze,st)},Ce.removeDocument=function(ze){this.scope.removeDocument(ze)},Ce})(this),this.InteractEvent=fr,this.Interactable=void 0,this.interactables=new Di(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(pe){return z.removeDocument(pe.target)};var ee=this;this.Interactable=(function(pe){m(ze,pe);var Ce=x(ze);function ze(){return s(this,ze),Ce.apply(this,arguments)}return u(ze,[{key:"_defaults",get:function(){return ee.defaults}},{key:"set",value:function(st){return T(g(ze.prototype),"set",this).call(this,st),ee.fire("interactable:set",{options:st,interactable:this}),this}},{key:"unset",value:function(){T(g(ze.prototype),"unset",this).call(this);var st=ee.interactables.list.indexOf(this);st<0||(ee.interactables.list.splice(st,1),ee.fire("interactable:unset",{interactable:this}))}}]),ze})(Si)}return u(H,[{key:"addListeners",value:function(z,ee){this.listenerMaps.push({id:ee,map:z})}},{key:"fire",value:function(z,ee){for(var pe=0,Ce=this.listenerMaps;pe<Ce.length;pe++){var ze=Ce[pe].map[z];if(ze&&ze(ee,this,z)===!1)return!1}}},{key:"init",value:function(z){return this.isInitialized?this:(function(ee,pe){return ee.isInitialized=!0,F.window(pe)&&k(pe),he.init(pe),je.init(pe),bt.init(pe),ee.window=pe,ee.document=pe.document,ee.usePlugin(an),ee.usePlugin(Ro),ee})(this,z)}},{key:"pluginIsInstalled",value:function(z){var ee=z.id;return ee?!!this._plugins.map[ee]:this._plugins.list.indexOf(z)!==-1}},{key:"usePlugin",value:function(z,ee){if(!this.isInitialized)return this;if(this.pluginIsInstalled(z))return this;if(z.id&&(this._plugins.map[z.id]=z),this._plugins.list.push(z),z.install&&z.install(this,ee),z.listeners&&z.before){for(var pe=0,Ce=this.listenerMaps.length,ze=z.before.reduce((function(ft,Dt){return ft[Dt]=!0,ft[da(Dt)]=!0,ft}),{});pe<Ce;pe++){var st=this.listenerMaps[pe].id;if(st&&(ze[st]||ze[da(st)]))break}this.listenerMaps.splice(pe,0,{id:z.id,map:z.listeners})}else z.listeners&&this.listenerMaps.push({id:z.id,map:z.listeners});return this}},{key:"addDocument",value:function(z,ee){if(this.getDocIndex(z)!==-1)return!1;var pe=D(z);ee=ee?mt({},ee):{},this.documents.push({doc:z,options:ee}),this.events.documents.push(z),z!==this.document&&this.events.add(pe,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:z,window:pe,scope:this,options:ee})}},{key:"removeDocument",value:function(z){var ee=this.getDocIndex(z),pe=D(z),Ce=this.documents[ee].options;this.events.remove(pe,"unload",this.onWindowUnload),this.documents.splice(ee,1),this.events.documents.splice(ee,1),this.fire("scope:remove-document",{doc:z,window:pe,scope:this,options:Ce})}},{key:"getDocIndex",value:function(z){for(var ee=0;ee<this.documents.length;ee++)if(this.documents[ee].doc===z)return ee;return-1}},{key:"getDocOptions",value:function(z){var ee=this.getDocIndex(z);return ee===-1?null:this.documents[ee].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),H})();function da(H){return H&&H.replace(/\/.*$/,"")}var ya=new Vi,Qi=ya.interactStatic,Do=typeof globalThis<"u"?globalThis:window;ya.init(Do);var Oo=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(H){var z=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((function(pe){var Ce=pe[0],ze=pe[1];return Ce in H||ze in H})),ee=function(pe,Ce){for(var ze=H.range,st=H.limits,ft=st===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:st,Dt=H.offset,lr=Dt===void 0?{x:0,y:0}:Dt,$t={range:ze,grid:H,x:null,y:null},Nr=0;Nr<z.length;Nr++){var cn=z[Nr],Nn=cn[0],jn=cn[1],fi=Math.round((pe-lr.x)/H[Nn]),xi=Math.round((Ce-lr.y)/H[jn]);$t[Nn]=Math.max(ft.left,Math.min(ft.right,fi*H[Nn]+lr.x)),$t[jn]=Math.max(ft.top,Math.min(ft.bottom,xi*H[jn]+lr.y))}return $t};return ee.grid=H,ee.coordFields=z,ee}}),Ta={id:"snappers",install:function(H){var z=H.interactStatic;z.snappers=mt(z.snappers||{},Oo),z.createSnapGrid=z.snappers.grid}},Ne=Ta,Ve={start:function(H){var z=H.state,ee=H.rect,pe=H.edges,Ce=H.pageCoords,ze=z.options,st=ze.ratio,ft=ze.enabled,Dt=z.options,lr=Dt.equalDelta,$t=Dt.modifiers;st==="preserve"&&(st=ee.width/ee.height),z.startCoords=mt({},Ce),z.startRect=mt({},ee),z.ratio=st,z.equalDelta=lr;var Nr=z.linkedEdges={top:pe.top||pe.left&&!pe.bottom,left:pe.left||pe.top&&!pe.right,bottom:pe.bottom||pe.right&&!pe.top,right:pe.right||pe.bottom&&!pe.left};if(z.xIsPrimaryAxis=!(!pe.left&&!pe.right),z.equalDelta){var cn=(Nr.left?1:-1)*(Nr.top?1:-1);z.edgeSign={x:cn,y:cn}}else z.edgeSign={x:Nr.left?-1:1,y:Nr.top?-1:1};if(ft!==!1&&mt(pe,Nr),$t!=null&&$t.length){var Nn=new Ns(H.interaction);Nn.copyFrom(H.interaction.modification),Nn.prepareStates($t),z.subModification=Nn,Nn.startAll(r({},H))}},set:function(H){var z=H.state,ee=H.rect,pe=H.coords,Ce=z.linkedEdges,ze=mt({},pe),st=z.equalDelta?gt:ct;if(mt(H.edges,Ce),st(z,z.xIsPrimaryAxis,pe,ee),!z.subModification)return null;var ft=mt({},ee);Yr(Ce,ft,{x:pe.x-ze.x,y:pe.y-ze.y});var Dt=z.subModification.setAll(r(r({},H),{},{rect:ft,edges:Ce,pageCoords:pe,prevCoords:pe,prevRect:ft})),lr=Dt.delta;return Dt.changed&&(st(z,Math.abs(lr.x)>Math.abs(lr.y),Dt.coords,Dt.rect),mt(pe,Dt.coords)),Dt.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function gt(H,z,ee){var pe=H.startCoords,Ce=H.edgeSign;z?ee.y=pe.y+(ee.x-pe.x)*Ce.y:ee.x=pe.x+(ee.y-pe.y)*Ce.x}function ct(H,z,ee,pe){var Ce=H.startRect,ze=H.startCoords,st=H.ratio,ft=H.edgeSign;if(z){var Dt=pe.width/st;ee.y=ze.y+(Dt-Ce.height)*ft.y}else{var lr=pe.height*st;ee.x=ze.x+(lr-Ce.width)*ft.x}}var Kt=as(Ve,"aspectRatio"),tr=function(){};tr._defaults={};var Cr=tr;function kr(H,z,ee){return F.func(H)?Ut(H,z.interactable,z.element,[ee.x,ee.y,z]):Ut(H,z.interactable,z.element)}var Bn={start:function(H){var z=H.rect,ee=H.startOffset,pe=H.state,Ce=H.interaction,ze=H.pageCoords,st=pe.options,ft=st.elementRect,Dt=mt({left:0,top:0,right:0,bottom:0},st.offset||{});if(z&&ft){var lr=kr(st.restriction,Ce,ze);if(lr){var $t=lr.right-lr.left-z.width,Nr=lr.bottom-lr.top-z.height;$t<0&&(Dt.left+=$t,Dt.right+=$t),Nr<0&&(Dt.top+=Nr,Dt.bottom+=Nr)}Dt.left+=ee.left-z.width*ft.left,Dt.top+=ee.top-z.height*ft.top,Dt.right+=ee.right-z.width*(1-ft.right),Dt.bottom+=ee.bottom-z.height*(1-ft.bottom)}pe.offset=Dt},set:function(H){var z=H.coords,ee=H.interaction,pe=H.state,Ce=pe.options,ze=pe.offset,st=kr(Ce.restriction,ee,z);if(st){var ft=(function(Dt){return!Dt||"left"in Dt&&"top"in Dt||((Dt=mt({},Dt)).left=Dt.x||0,Dt.top=Dt.y||0,Dt.right=Dt.right||Dt.left+Dt.width,Dt.bottom=Dt.bottom||Dt.top+Dt.height),Dt})(st);z.x=Math.max(Math.min(ft.right-ze.right,z.x),ft.left+ze.left),z.y=Math.max(Math.min(ft.bottom-ze.bottom,z.y),ft.top+ze.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},Hn=as(Bn,"restrict"),Bt={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Wt={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Wr(H,z){for(var ee=0,pe=["top","left","bottom","right"];ee<pe.length;ee++){var Ce=pe[ee];Ce in H||(H[Ce]=z[Ce])}return H}var sn={noInner:Bt,noOuter:Wt,start:function(H){var z,ee=H.interaction,pe=H.startOffset,Ce=H.state,ze=Ce.options;ze&&(z=Ir(kr(ze.offset,ee,ee.coords.start.page))),z=z||{x:0,y:0},Ce.offset={top:z.y+pe.top,left:z.x+pe.left,bottom:z.y-pe.bottom,right:z.x-pe.right}},set:function(H){var z=H.coords,ee=H.edges,pe=H.interaction,Ce=H.state,ze=Ce.offset,st=Ce.options;if(ee){var ft=mt({},z),Dt=kr(st.inner,pe,ft)||{},lr=kr(st.outer,pe,ft)||{};Wr(Dt,Bt),Wr(lr,Wt),ee.top?z.y=Math.min(Math.max(lr.top+ze.top,ft.y),Dt.top+ze.top):ee.bottom&&(z.y=Math.max(Math.min(lr.bottom+ze.bottom,ft.y),Dt.bottom+ze.bottom)),ee.left?z.x=Math.min(Math.max(lr.left+ze.left,ft.x),Dt.left+ze.left):ee.right&&(z.x=Math.max(Math.min(lr.right+ze.right,ft.x),Dt.right+ze.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},Mn=as(sn,"restrictEdges"),_n=mt({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(H){}},Bn.defaults),Wn=as({start:Bn.start,set:Bn.set,defaults:_n},"restrictRect"),Un={width:-1/0,height:-1/0},Fi={width:1/0,height:1/0},Le=as({start:function(H){return sn.start(H)},set:function(H){var z=H.interaction,ee=H.state,pe=H.rect,Ce=H.edges,ze=ee.options;if(Ce){var st=Sr(kr(ze.min,z,H.coords))||Un,ft=Sr(kr(ze.max,z,H.coords))||Fi;ee.options={endOnly:ze.endOnly,inner:mt({},sn.noInner),outer:mt({},sn.noOuter)},Ce.top?(ee.options.inner.top=pe.bottom-st.height,ee.options.outer.top=pe.bottom-ft.height):Ce.bottom&&(ee.options.inner.bottom=pe.top+st.height,ee.options.outer.bottom=pe.top+ft.height),Ce.left?(ee.options.inner.left=pe.right-st.width,ee.options.outer.left=pe.right-ft.width):Ce.right&&(ee.options.inner.right=pe.left+st.width,ee.options.outer.right=pe.left+ft.width),sn.set(H),ee.options=ze}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Ue={start:function(H){var z,ee=H.interaction,pe=H.interactable,Ce=H.element,ze=H.rect,st=H.state,ft=H.startOffset,Dt=st.options,lr=Dt.offsetWithOrigin?(function(cn){var Nn=cn.interaction.element,jn=Ir(Ut(cn.state.options.origin,null,null,[Nn])),fi=jn||Gr(cn.interactable,Nn,cn.interaction.prepared.name);return fi})(H):{x:0,y:0};if(Dt.offset==="startCoords")z={x:ee.coords.start.page.x,y:ee.coords.start.page.y};else{var $t=Ut(Dt.offset,pe,Ce,[ee]);(z=Ir($t)||{x:0,y:0}).x+=lr.x,z.y+=lr.y}var Nr=Dt.relativePoints;st.offsets=ze&&Nr&&Nr.length?Nr.map((function(cn,Nn){return{index:Nn,relativePoint:cn,x:ft.left-ze.width*cn.x+z.x,y:ft.top-ze.height*cn.y+z.y}})):[{index:0,relativePoint:null,x:z.x,y:z.y}]},set:function(H){var z=H.interaction,ee=H.coords,pe=H.state,Ce=pe.options,ze=pe.offsets,st=Gr(z.interactable,z.element,z.prepared.name),ft=mt({},ee),Dt=[];Ce.offsetWithOrigin||(ft.x-=st.x,ft.y-=st.y);for(var lr=0,$t=ze;lr<$t.length;lr++)for(var Nr=$t[lr],cn=ft.x-Nr.x,Nn=ft.y-Nr.y,jn=0,fi=Ce.targets.length;jn<fi;jn++){var xi=Ce.targets[jn],Ii=void 0;(Ii=F.func(xi)?xi(cn,Nn,z._proxy,Nr,jn):xi)&&Dt.push({x:(F.number(Ii.x)?Ii.x:cn)+Nr.x,y:(F.number(Ii.y)?Ii.y:Nn)+Nr.y,range:F.number(Ii.range)?Ii.range:Ce.range,source:xi,index:jn,offset:Nr})}for(var zi={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},gs=0;gs<Dt.length;gs++){var er=Dt[gs],br=er.range,xr=er.x-ft.x,yi=er.y-ft.y,Ni=yt(xr,yi),pi=Ni<=br;br===1/0&&zi.inRange&&zi.range!==1/0&&(pi=!1),zi.target&&!(pi?zi.inRange&&br!==1/0?Ni/br<zi.distance/zi.range:br===1/0&&zi.range!==1/0||Ni<zi.distance:!zi.inRange&&Ni<zi.distance)||(zi.target=er,zi.distance=Ni,zi.range=br,zi.inRange=pi,zi.delta.x=xr,zi.delta.y=yi)}return zi.inRange&&(ee.x=zi.target.x,ee.y=zi.target.y),pe.closest=zi,zi},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},lt=as(Ue,"snap"),ot={start:function(H){var z=H.state,ee=H.edges,pe=z.options;if(!ee)return null;H.state={options:{targets:null,relativePoints:[{x:ee.left?0:1,y:ee.top?0:1}],offset:pe.offset||"self",origin:{x:0,y:0},range:pe.range}},z.targetFields=z.targetFields||[["width","height"],["x","y"]],Ue.start(H),z.offsets=H.state.offsets,H.state=z},set:function(H){var z=H.interaction,ee=H.state,pe=H.coords,Ce=ee.options,ze=ee.offsets,st={x:pe.x-ze[0].x,y:pe.y-ze[0].y};ee.options=mt({},Ce),ee.options.targets=[];for(var ft=0,Dt=Ce.targets||[];ft<Dt.length;ft++){var lr=Dt[ft],$t=void 0;if($t=F.func(lr)?lr(st.x,st.y,z):lr){for(var Nr=0,cn=ee.targetFields;Nr<cn.length;Nr++){var Nn=cn[Nr],jn=Nn[0],fi=Nn[1];if(jn in $t||fi in $t){$t.x=$t[jn],$t.y=$t[fi];break}}ee.options.targets.push($t)}}var xi=Ue.set(H);return ee.options=Ce,xi},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Yt=as(ot,"snapSize"),rr={aspectRatio:Kt,restrictEdges:Mn,restrict:Hn,restrictRect:Wn,restrictSize:Le,snapEdges:as({start:function(H){var z=H.edges;return z?(H.state.targetFields=H.state.targetFields||[[z.left?"left":"right",z.top?"top":"bottom"]],ot.start(H)):null},set:ot.set,defaults:mt(wi(ot.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:lt,snapSize:Yt,spring:Cr,avoid:Cr,transform:Cr,rubberband:Cr},Or={id:"modifiers",install:function(H){var z=H.interactStatic;for(var ee in H.usePlugin(He),H.usePlugin(Ne),z.modifiers=rr,rr){var pe=rr[ee],Ce=pe._defaults,ze=pe._methods;Ce._methods=ze,H.defaults.perAction[ee]=Ce}}},tn=Or,kn=(function(H){m(ee,H);var z=x(ee);function ee(pe,Ce,ze,st,ft,Dt){var lr;if(s(this,ee),Ar(v(lr=z.call(this,ft)),ze),ze!==Ce&&Ar(v(lr),Ce),lr.timeStamp=Dt,lr.originalEvent=ze,lr.type=pe,lr.pointerId=dr(Ce),lr.pointerType=Pr(Ce),lr.target=st,lr.currentTarget=null,pe==="tap"){var $t=ft.getPointerIndex(Ce);lr.dt=lr.timeStamp-ft.pointers[$t].downTime;var Nr=lr.timeStamp-ft.tapTime;lr.double=!!ft.prevTap&&ft.prevTap.type!=="doubletap"&&ft.prevTap.target===lr.target&&Nr<500}else pe==="doubletap"&&(lr.dt=Ce.timeStamp-ft.tapTime,lr.double=!0);return lr}return u(ee,[{key:"_subtractOrigin",value:function(pe){var Ce=pe.x,ze=pe.y;return this.pageX-=Ce,this.pageY-=ze,this.clientX-=Ce,this.clientY-=ze,this}},{key:"_addOrigin",value:function(pe){var Ce=pe.x,ze=pe.y;return this.pageX+=Ce,this.pageY+=ze,this.clientX+=Ce,this.clientY+=ze,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),ee})(ht),En={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(H){H.pointerEvents=En,H.defaults.actions.pointerEvents=En.defaults,mt(H.actions.phaselessTypes,En.types)},listeners:{"interactions:new":function(H){var z=H.interaction;z.prevTap=null,z.tapTime=0},"interactions:update-pointer":function(H){var z=H.down,ee=H.pointerInfo;!z&&ee.hold||(ee.hold={duration:1/0,timeout:null})},"interactions:move":function(H,z){var ee=H.interaction,pe=H.pointer,Ce=H.event,ze=H.eventTarget;H.duplicate||ee.pointerIsDown&&!ee.pointerWasMoved||(ee.pointerIsDown&&bs(H),Rn({interaction:ee,pointer:pe,event:Ce,eventTarget:ze,type:"move"},z))},"interactions:down":function(H,z){(function(ee,pe){for(var Ce=ee.interaction,ze=ee.pointer,st=ee.event,ft=ee.eventTarget,Dt=ee.pointerIndex,lr=Ce.pointers[Dt].hold,$t=qe(ft),Nr={interaction:Ce,pointer:ze,event:st,eventTarget:ft,type:"hold",targets:[],path:$t,node:null},cn=0;cn<$t.length;cn++){var Nn=$t[cn];Nr.node=Nn,pe.fire("pointerEvents:collect-targets",Nr)}if(Nr.targets.length){for(var jn=1/0,fi=0,xi=Nr.targets;fi<xi.length;fi++){var Ii=xi[fi].eventable.options.holdDuration;Ii<jn&&(jn=Ii)}lr.duration=jn,lr.timeout=setTimeout((function(){Rn({interaction:Ce,eventTarget:ft,pointer:ze,event:st,type:"hold"},pe)}),jn)}})(H,z),Rn(H,z)},"interactions:up":function(H,z){bs(H),Rn(H,z),(function(ee,pe){var Ce=ee.interaction,ze=ee.pointer,st=ee.event,ft=ee.eventTarget;Ce.pointerWasMoved||Rn({interaction:Ce,eventTarget:ft,pointer:ze,event:st,type:"tap"},pe)})(H,z)},"interactions:cancel":function(H,z){bs(H),Rn(H,z)}},PointerEvent:kn,fire:Rn,collectEventTargets:ki,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function Rn(H,z){var ee=H.interaction,pe=H.pointer,Ce=H.event,ze=H.eventTarget,st=H.type,ft=H.targets,Dt=ft===void 0?ki(H,z):ft,lr=new kn(st,pe,Ce,ze,ee,z.now());z.fire("pointerEvents:new",{pointerEvent:lr});for(var $t={interaction:ee,pointer:pe,event:Ce,eventTarget:ze,targets:Dt,type:st,pointerEvent:lr},Nr=0;Nr<Dt.length;Nr++){var cn=Dt[Nr];for(var Nn in cn.props||{})lr[Nn]=cn.props[Nn];var jn=Gr(cn.eventable,cn.node);if(lr._subtractOrigin(jn),lr.eventable=cn.eventable,lr.currentTarget=cn.node,cn.eventable.fire(lr),lr._addOrigin(jn),lr.immediatePropagationStopped||lr.propagationStopped&&Nr+1<Dt.length&&Dt[Nr+1].node!==lr.currentTarget)break}if(z.fire("pointerEvents:fired",$t),st==="tap"){var fi=lr.double?Rn({interaction:ee,pointer:pe,event:Ce,eventTarget:ze,type:"doubletap"},z):lr;ee.prevTap=fi,ee.tapTime=fi.timeStamp}return lr}function ki(H,z){var ee=H.interaction,pe=H.pointer,Ce=H.event,ze=H.eventTarget,st=H.type,ft=ee.getPointerIndex(pe),Dt=ee.pointers[ft];if(st==="tap"&&(ee.pointerWasMoved||!Dt||Dt.downTarget!==ze))return[];for(var lr=qe(ze),$t={interaction:ee,pointer:pe,event:Ce,eventTarget:ze,type:st,path:lr,targets:[],node:null},Nr=0;Nr<lr.length;Nr++){var cn=lr[Nr];$t.node=cn,z.fire("pointerEvents:collect-targets",$t)}return st==="hold"&&($t.targets=$t.targets.filter((function(Nn){var jn,fi;return Nn.eventable.options.holdDuration===((jn=ee.pointers[ft])==null||(fi=jn.hold)==null?void 0:fi.duration)}))),$t.targets}function bs(H){var z=H.interaction,ee=H.pointerIndex,pe=z.pointers[ee].hold;pe&&pe.timeout&&(clearTimeout(pe.timeout),pe.timeout=null)}var Rs=Object.freeze({__proto__:null,default:En});function As(H){var z=H.interaction;z.holdIntervalHandle&&(clearInterval(z.holdIntervalHandle),z.holdIntervalHandle=null)}var di={id:"pointer-events/holdRepeat",install:function(H){H.usePlugin(En);var z=H.pointerEvents;z.defaults.holdRepeatInterval=0,z.types.holdrepeat=H.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce((function(H,z){return H["pointerEvents:".concat(z)]=As,H}),{"pointerEvents:new":function(H){var z=H.pointerEvent;z.type==="hold"&&(z.count=(z.count||0)+1)},"pointerEvents:fired":function(H,z){var ee=H.interaction,pe=H.pointerEvent,Ce=H.eventTarget,ze=H.targets;if(pe.type==="hold"&&ze.length){var st=ze[0].eventable.options.holdRepeatInterval;st<=0||(ee.holdIntervalHandle=setTimeout((function(){z.pointerEvents.fire({interaction:ee,eventTarget:Ce,type:"hold",pointer:pe,event:pe},z)}),st))}}})},Gn=di,oi={id:"pointer-events/interactableTargets",install:function(H){var z=H.Interactable;z.prototype.pointerEvents=function(pe){return mt(this.events.options,pe),this};var ee=z.prototype._backCompatOption;z.prototype._backCompatOption=function(pe,Ce){var ze=ee.call(this,pe,Ce);return ze===this&&(this.events.options[pe]=Ce),ze}},listeners:{"pointerEvents:collect-targets":function(H,z){var ee=H.targets,pe=H.node,Ce=H.type,ze=H.eventTarget;
612z.interactables.forEachMatch(pe,(function(st){var ft=st.events,Dt=ft.options;ft.types[Ce]&&ft.types[Ce].length&&st.testIgnoreAllow(Dt,pe,ze)&&ee.push({node:pe,eventable:ft,props:{interactable:st}})}))},"interactable:new":function(H){var z=H.interactable;z.events.getRect=function(ee){return z.getRect(ee)}},"interactable:set":function(H,z){var ee=H.interactable,pe=H.options;mt(ee.events.options,z.pointerEvents.defaults),mt(ee.events.options,pe.pointerEvents||{})}}},Ks=oi,qs={id:"pointer-events",install:function(H){H.usePlugin(Rs),H.usePlugin(Gn),H.usePlugin(Ks)}},ns=qs,Ba={id:"reflow",install:function(H){var z=H.Interactable;H.actions.phases.reflow=!0,z.prototype.reflow=function(ee){return(function(pe,Ce,ze){for(var st=pe.getAllElements(),ft=ze.window.Promise,Dt=ft?[]:null,lr=function(){var Nr=st[$t],cn=pe.getRect(Nr);if(!cn)return 1;var Nn,jn=Zr(ze.interactions.list,(function(Ii){return Ii.interacting()&&Ii.interactable===pe&&Ii.element===Nr&&Ii.prepared.name===Ce.name}));if(jn)jn.move(),Dt&&(Nn=jn._reflowPromise||new ft((function(Ii){jn._reflowResolve=Ii})));else{var fi=Sr(cn),xi=(function(Ii){return{coords:Ii,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}})({page:{x:fi.x,y:fi.y},client:{x:fi.x,y:fi.y},timeStamp:ze.now()});Nn=(function(Ii,zi,gs,er,br){var xr=Ii.interactions.new({pointerType:"reflow"}),yi={interaction:xr,event:br,pointer:br,eventTarget:gs,phase:"reflow"};xr.interactable=zi,xr.element=gs,xr.prevEvent=br,xr.updatePointer(br,br,gs,!0),Er(xr.coords.delta),yn(xr.prepared,er),xr._doPhase(yi);var Ni=Ii.window,pi=Ni.Promise,ra=pi?new pi((function(Ys){xr._reflowResolve=Ys})):void 0;return xr._reflowPromise=ra,xr.start(er,zi,gs),xr._interacting?(xr.move(yi),xr.end(br)):(xr.stop(),xr._reflowResolve()),xr.removePointer(br,br),ra})(ze,pe,Nr,Ce,xi)}Dt&&Dt.push(Nn)},$t=0;$t<st.length&&!lr();$t++);return Dt&&ft.all(Dt).then((function(){return pe}))})(this,ee,H)}},listeners:{"interactions:stop":function(H,z){var ee=H.interaction;ee.pointerType==="reflow"&&(ee._reflowResolve&&ee._reflowResolve(),(function(pe,Ce){pe.splice(pe.indexOf(Ce),1)})(z.interactions.list,ee))}}},ka=Ba;if(Qi.use(ss),Qi.use(Is),Qi.use(ns),Qi.use(aa),Qi.use(tn),Qi.use(vi),Qi.use(xe),Qi.use(ei),Qi.use(ka),Qi.default=Qi,a(f)==="object"&&f)try{f.exports=Qi}catch{}return Qi.default=Qi,Qi}))},27839(f){f.exports=e;var d=Object.prototype.toString;function e(n){if(!n)return!1;var r=d.call(n);return r==="[object Function]"||typeof n=="function"&&r!=="[object RegExp]"||typeof window<"u"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}},6236(f){f.exports=d,f.exports.default=d;function d(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},80949(f,d){var e,n;(function(r,a){f.exports=a(r)})(typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:this,function(r){"use strict";r=r||{};var a=r.Base64,s="2.6.4",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=(function(me){for(var je={},Fe=0,Je=me.length;Fe<Je;Fe++)je[me.charAt(Fe)]=Fe;return je})(i),l=String.fromCharCode,m=function(me){if(me.length<2){var je=me.charCodeAt(0);return je<128?me:je<2048?l(192|je>>>6)+l(128|je&63):l(224|je>>>12&15)+l(128|je>>>6&63)+l(128|je&63)}else{var je=65536+(me.charCodeAt(0)-55296)*1024+(me.charCodeAt(1)-56320);return l(240|je>>>18&7)+l(128|je>>>12&63)+l(128|je>>>6&63)+l(128|je&63)}},g=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(me){return me.replace(g,m)},v=function(me){var je=[0,2,1][me.length%3],Fe=me.charCodeAt(0)<<16|(me.length>1?me.charCodeAt(1):0)<<8|(me.length>2?me.charCodeAt(2):0),Je=[i.charAt(Fe>>>18),i.charAt(Fe>>>12&63),je>=2?"=":i.charAt(Fe>>>6&63),je>=1?"=":i.charAt(Fe&63)];return Je.join("")},x=r.btoa&&typeof r.btoa=="function"?function(me){return r.btoa(me)}:function(me){if(me.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invali
612d characters.");return me.replace(/[\s\S]{1,3}/g,v)},T=function(me){return x(h(String(me)))},E=function(me){return me.replace(/[+\/]/g,function(je){return je=="+"?"-":"_"}).replace(/=/g,"")},_=function(me,je){return je?E(T(me)):T(me)},C=function(me){return _(me,!0)},P;r.Uint8Array&&(P=function(me,je){for(var Fe="",Je=0,Xe=me.length;Je<Xe;Je+=3){var ge=me[Je],be=me[Je+1],Ie=me[Je+2],Re=ge<<16|be<<8|Ie;Fe+=i.charAt(Re>>>18)+i.charAt(Re>>>12&63)+(typeof be<"u"?i.charAt(Re>>>6&63):"=")+(typeof Ie<"u"?i.charAt(Re&63):"=")}return je?E(Fe):Fe});var k=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,D=function(me){switch(me.length){case 4:var je=(7&me.charCodeAt(0))<<18|(63&me.charCodeAt(1))<<12|(63&me.charCodeAt(2))<<6|63&me.charCodeAt(3),Fe=je-65536;return l((Fe>>>10)+55296)+l((Fe&1023)+56320);case 3:return l((15&me.charCodeAt(0))<<12|(63&me.charCodeAt(1))<<6|63&me.charCodeAt(2));default:return l((31&me.charCodeAt(0))<<6|63&me.charCodeAt(1))}},B=function(me){return me.replace(k,D)},$=function(me){var je=me.length,Fe=je%4,Je=(je>0?u[me.charAt(0)]<<18:0)|(je>1?u[me.charAt(1)]<<12:0)|(je>2?u[me.charAt(2)]<<6:0)|(je>3?u[me.charAt(3)]:0),Xe=[l(Je>>>16),l(Je>>>8&255),l(Je&255)];return Xe.length-=[0,0,2,1][Fe],Xe.join("")},F=r.atob&&typeof r.atob=="function"?function(me){return r.atob(me)}:function(me){return me.replace(/\S{1,4}/g,$)},V=function(me){return F(String(me).replace(/[^A-Za-z0-9\+\/]/g,""))},W=function(me){return B(F(me))},Z=function(me){return String(me).replace(/[-_]/g,function(je){return je=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},J=function(me){return W(Z(me))},ie;r.Uint8Array&&(ie=function(me){return Uint8Array.from(V(Z(me)),function(je){return je.charCodeAt(0)})});var le=function(){var me=r.Base64;return r.Base64=a,me};if(r.Base64={VERSION:s,atob:V,btoa:x,fromBase64:J,toBase64:_,utob:h,encode:_,encodeURI:C,btou:B,decode:J,noConflict:le,fromUint8Array:P,toUint8Array:ie},typeof Object.defineProperty=="function"){var he=function(me){return{value:me,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",he(function(){return J(this)})),Object.defineProperty(String.prototype,"toBase64",he(function(me){return _(this,me)})),Object.defineProperty(String.prototype,"toBase64URI",he(function(){return _(this,!0)}))}}return r.Meteor&&(Base64=r.Base64),f.exports?f.exports.Base64=r.Base64:(e=[],n=(function(){return r.Base64}).apply(d,e),n!==void 0&&(f.exports=n)),{Base64:r.Base64}})},74299(f,d,e){var n;/** 613* [js-htmlencode]{@link https://github.com/emn178/js-htmlencode} 614*
615* @version 0.3.0 616* @author Chen, Yi-Cyuan [[email protected]] 617* @copyright Chen, Yi-Cyuan 2014-2017 618* @license MIT 619*/(function(){"use strict";var r=typeof window=="object"?window:{},a=!r.JS_HTMLENCODE_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;a&&(r=globalThis);var s=!r.JS_HTMLENCODE_NO_COMMON_JS&&!0&&f.exports,i=e.amdO,u={" ":"\xA0","¡":"\xA1","¢":"\xA2","£":"\xA3","¤":"\xA4","¥":"\xA5","¦":"\xA6","§":"\xA7","¨":"\xA8","©":"\xA9","ª":"\xAA","«":"\xAB","¬":"\xAC","­":"\xAD","®":"\xAE","¯":"\xAF","°":"\xB0","±":"\xB1","²":"\xB2","³":"\xB3","´":"\xB4","µ":"\xB5","¶":"\xB6","·":"\xB7","¸":"\xB8","¹":"\xB9","º":"\xBA","»":"\xBB","¼":"\xBC","½":"\xBD","¾":"\xBE","¿":"\xBF","À":"\xC0","Á":"\xC1","Â":"\xC2","Ã":"\xC3","Ä":"\xC4","Å":"\xC5","Æ":"\xC6","Ç":"\xC7","È":"\xC8","É":"\xC9","Ê":"\xCA","Ë":"\xCB","Ì":"\xCC","Í":"\xCD","Î":"\xCE","Ï":"\xCF","Ð":"\xD0","Ñ":"\xD1","Ò":"\xD2","Ó":"\xD3","Ô":"\xD4","Õ":"\xD5","Ö":"\xD6","×":"\xD7","Ø":"\xD8","Ù":"\xD9","Ú":"\xDA","Û":"\xDB","Ü":"\xDC","Ý":"\xDD","Þ":"\xDE","ß":"\xDF","à":"\xE0","á":"\xE1","â":"\xE2","ã":"\xE3","ä":"\xE4","å":"\xE5","æ":"\xE6","ç":"\xE7","è":"\xE8","é":"\xE9","ê":"\xEA","ë":"\xEB","ì":"\xEC","í":"\xED","î":"\xEE","ï":"\xEF","ð":"\xF0","ñ":"\xF1","ò":"\xF2","ó":"\xF3","ô":"\xF4","õ":"\xF5","ö":"\xF6","÷":"\xF7","ø":"\xF8","ù":"\xF9","ú":"\xFA","û":"\xFB","ü":"\xFC","ý":"\xFD","þ":"\xFE","ÿ":"\xFF",""":'"',"&":"&","<":"<",">":">","'":"'","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ˆ":"\u02C6","˜":"\u02DC"," ":"\u2002"," ":"\u2003"," ":"\u2009","‌":"\u200C","‍":"\u200D","‎":"\u200E","‏":"\u200F","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","€":"\u20AC","ƒ":"\u0192","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","ϑ":"\u03D1","ϒ":"\u03D2","ϖ":"\u03D6","•":"\u2022","…":"\u2026","′":"\u2032","″":"\u2033","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","™":"\u2122","ℵ":"\u2135","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","−":"\u2212","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","⌈":"\u2308","⌉":"\u2309","⌊":"\u230A","⌋":"\u230B","⟨":"\u2329","⟩":"\u232A","◊":"\u25CA","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666"},l=function(v){if(v.charAt(1)!=="#")return u[v]||v;var x,T=v.charAt(2);return T==="x"||T==="X"?(T=v.substring(3,v.length-1),x=parseInt(T,16)):(T=v.substring(2,v.length-1),x=parseInt(T)),isNaN(x)?v:String.fromCharCode(x)},m=function(v){return v.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},g=function(v){return v.replace(/&#?\w+;/g,l)},h=m;m.htmlEncode=m,m.htmlDecode=g,s?f.exports=h:(r.htmlEncode=m,r.htmlDecode=g,i&&(n=(function(){return h}).call(h,e,h,f),n!==void 0&&(f.exports=n)))})()},83971(f){/*! jsonpath 1.3.0 */(function(d){if(1)f.exports=d();else var e})(function(){var d,e,n;return(function r(a,s,i){function u(g,h){if(!s[g]){if(!a[g]){var v=void 0;if(!h&&v)return require(g,!0);if(l)return l(g,!0);var x=new Error("Cannot find module '"+g+"'");throw x.code="MODULE_NOT_FOUND",x}var T=s[g]={exports:{}};a[g][0].call(T.exports,function(E){var _=a[g][1][E];return u(_||E)},T,T.exports,r,a,s,i)}return s[g].exports}for(var l=void 0,m=0;m<i.length;m++)u(i[m]);return u})({"./aesprim":[function(r,a,s){(function(i,u){"use strict";typeof d=="function"&&d.amd?d(["exports"],u):u(typeof s<"u"?s:i.esprima={})})(this,function(i){"use strict";var u,l,m,g,h,v,x,T,E,_,C,P,k,D,B,$,F,V;
619u={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},l={},l[u.BooleanLiteral]="Boolean",l[u.EOF]="<end>",l[u.Identifier]="Identifier",l[u.Keyword]="Keyword",l[u.NullLiteral]="Null",l[u.NumericLiteral]="Numeric",l[u.Punctuator]="Punctuator",l[u.StringLiteral]="String",l[u.RegularExpression]="RegularExpression",m=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],g={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},h={Data:1,Get:2,Set:4},v={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},x={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u
6190EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
619D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]")};function W(ce,He){if(!ce)throw new Error("ASSERT: "+He)}function Z(ce){return ce>=48&&ce<=57}function J(ce){return"0123456789abcdefABCDEF".indexOf(ce)>=0}function ie(ce){return"01234567".indexOf(ce)>=0}function le(ce){return ce===32||ce===9||ce===11||ce===12||ce===160||ce>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(ce)>=0}function he(ce){return ce===10||ce===13||ce===8232||ce===8233}function me(ce){return ce==64||ce===36||ce===95||ce>=65&&ce<=90||ce>=97&&ce<=122||ce===92||ce>=128&&x.NonAsciiIdentifierStart.test(String.fromCharCode(ce))}function je(ce){return ce===36||ce===95||ce>=65&&ce<=90||ce>=97&&ce<=122||ce>=48&&ce<=57||ce===92||ce>=128&&x.NonAsciiIdentifierPart.test(String.fromCharCode(ce))}function Fe(ce){switch(ce){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function Je(ce){switch(ce){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function Xe(ce){return ce==="eval"||ce==="arguments"}function ge(ce){if(_&&Je(ce))return!0;switch(ce.length){case 2:return ce==="if"||ce==="in"||ce==="do";case 3:return ce==="var"||ce==="for"||ce==="new"||ce==="try"||ce==="let";case 4:return ce==="this"||ce==="else"||ce==="case"||ce==="void"||ce==="with"||ce==="enum";case 5:return ce==="while"||ce==="break"||ce==="catch"||ce==="throw"||ce==="const"||ce==="yield"||ce==="class"||ce==="super";case 6:return ce==="return"||ce==="typeof"||ce==="delete"||ce==="switch"||ce==="export"||ce==="import";case 7:return ce==="default"||ce==="finally"||ce==="extends";case 8:return ce==="function"||ce==="continue"||ce==="debugger";case 10:return ce==="instanceof";default:return!1}}function be(ce,He,Lt,fr,un){var Qn,Xi;W(typeof Lt=="number","Comment must have valid position"),!(F.lastCommentStart>=Lt)&&(F.lastCommentStart=Lt,Qn={type:ce,value:He},V.range&&(Qn.range=[Lt,fr]),V.loc&&(Qn.loc=un),V.comments.push(Qn),V.attachComment&&(V.leadingComments.push(Qn),V.trailingComments.push(Qn)))}function Ie(ce){var He,Lt,fr,un;for(He=C-ce,Lt={start:{line:P,column:C-k-ce}};C<D;)if(fr=E.charCodeAt(C),++C,he(fr)){V.comments&&(un=E.slice(He+ce,C-1),Lt.end={line:P,column:C-k-1},be("Line",un,He,C-1,Lt)),fr===13&&E.charCodeAt(C)===10&&++C,++P,k=C;return}V.comments&&(un=E.slice(He+ce,C),Lt.end={line:P,column:C-k},be("Line",un,He,C,Lt))}function Re(){var ce,He,Lt,fr;for(V.comments&&(ce=C-2,He={start:{line:P,column:C-k-2}});C<D;)if(Lt=E.charCodeAt(C),he(Lt))Lt===13&&E.charCodeAt(C+1)===10&&++C,++P,++C,k=C,C>=D&&Qt({},v.UnexpectedToken,"ILLEGAL");else if(Lt===42){if(E.charCodeAt(C+1)===47){++C,++C,V.comments&&(fr=E.slice(ce+2,C-2),He.end={line:P,column:C-k},be("Block",fr,ce,C,He));return}++C}else++C;Qt({},v.UnexpectedToken,"ILLEGAL")}function ye(){var ce,He;for(He=C===0;C<D;)if(ce=E.charCodeAt(C),le(ce))++C;else if(he(ce))++C,ce===13&&E.charCodeAt(C)===10&&++C,++P,k=C,He=!0;else if(ce===47)if(ce=E.charCodeAt(C+1),ce===47)++C,++C,Ie(2),He=!0;else if(ce===42)++C,++C,Re();else break;else if(He&&ce===45)if(E.charCodeAt(C+1)===45&&E.charCodeAt(C+2)===62)C+=3,Ie(3);else break;else if(ce===60)if(E.slice(C+1,C+4)==="!--")++C,++C,++C,++C,Ie(4);else break;else break}function De(ce){var He,Lt,fr,un=0;for(Lt=ce==="u"?4:2,He=0;He<Lt;++He)if(C<D&&J(E[C]))fr=E[C++],un=un*16+"0123456789abcdef".indexOf(fr.toLowerCase());else return"";return String.fromCharCode(un)}function $e(){var ce,He;for(ce=E.charCodeAt(C++),He=String.fromCharCode(ce),ce===92&&(E.charCodeAt(C)!==117&&Qt({},v.UnexpectedToken,"ILLEGAL"),++C,ce=De("u"),(!ce||ce==="\\"||!me(ce.charCodeAt(0)))&&Qt({},v.UnexpectedToken,"ILLEGAL"),He=ce);C<D&&(ce=E.charCodeAt(C),!!je(ce));)++C,He+=String.fromCharCode(ce),ce===92&&(He=He.substr(0,He.length-1),E.charCodeAt(C)!==117&&Qt({},v.UnexpectedToken,"ILLEGAL"),++C,ce=De("u"),(!ce||ce==="\\"||!je(ce.charCodeAt(0)))&&Qt({},v.UnexpectedToken,"ILLEGAL"),He+=ce);return He}function qe(){var ce,He;for(ce=C++;C<D;){if(He=E.charCodeAt(C),He===92)return C=ce,$e();if(je(He))++C;else break}return E.slice(ce,C)}function It(){var ce,He,Lt;return ce=C,He=E.charCodeAt(C)===92?$e():qe(),He.length===1?Lt=u.Identifier:ge(He)?Lt=u.Keyword:He==="null"?Lt=u.NullLiteral
619:He==="true"||He==="false"?Lt=u.BooleanLiteral:Lt=u.Identifier,{type:Lt,value:He,lineNumber:P,lineStart:k,start:ce,end:C}}function mt(){var ce=C,He=E.charCodeAt(C),Lt,fr=E[C],un,Qn,Xi;switch(He){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++C,V.tokenize&&(He===40?V.openParenToken=V.tokens.length:He===123&&(V.openCurlyToken=V.tokens.length)),{type:u.Punctuator,value:String.fromCharCode(He),lineNumber:P,lineStart:k,start:ce,end:C};default:if(Lt=E.charCodeAt(C+1),Lt===61)switch(He){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return C+=2,{type:u.Punctuator,value:String.fromCharCode(He)+String.fromCharCode(Lt),lineNumber:P,lineStart:k,start:ce,end:C};case 33:case 61:return C+=2,E.charCodeAt(C)===61&&++C,{type:u.Punctuator,value:E.slice(ce,C),lineNumber:P,lineStart:k,start:ce,end:C}}}if(Xi=E.substr(C,4),Xi===">>>=")return C+=4,{type:u.Punctuator,value:Xi,lineNumber:P,lineStart:k,start:ce,end:C};if(Qn=Xi.substr(0,3),Qn===">>>"||Qn==="<<="||Qn===">>=")return C+=3,{type:u.Punctuator,value:Qn,lineNumber:P,lineStart:k,start:ce,end:C};if(un=Qn.substr(0,2),fr===un[1]&&"+-<>&|".indexOf(fr)>=0||un==="=>")return C+=2,{type:u.Punctuator,value:un,lineNumber:P,lineStart:k,start:ce,end:C};if("<>=!+-*%&|^/".indexOf(fr)>=0)return++C,{type:u.Punctuator,value:fr,lineNumber:P,lineStart:k,start:ce,end:C};Qt({},v.UnexpectedToken,"ILLEGAL")}function kt(ce){for(var He="";C<D&&J(E[C]);)He+=E[C++];return He.length===0&&Qt({},v.UnexpectedToken,"ILLEGAL"),me(E.charCodeAt(C))&&Qt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt("0x"+He,16),lineNumber:P,lineStart:k,start:ce,end:C}}function Ut(ce){for(var He="0"+E[C++];C<D&&ie(E[C]);)He+=E[C++];return(me(E.charCodeAt(C))||Z(E.charCodeAt(C)))&&Qt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt(He,8),octal:!0,lineNumber:P,lineStart:k,start:ce,end:C}}function Ir(){var ce,He;for(ce=C+1;ce<D;++ce){if(He=E[ce],He==="8"||He==="9")return!1;if(!ie(He))return!0}return!0}function Sr(){var ce,He,Lt;if(Lt=E[C],W(Z(Lt.charCodeAt(0))||Lt===".","Numeric literal must start with a decimal digit or a decimal point"),He=C,ce="",Lt!=="."){if(ce=E[C++],Lt=E[C],ce==="0"){if(Lt==="x"||Lt==="X")return++C,kt(He);if(ie(Lt)&&Ir())return Ut(He)}for(;Z(E.charCodeAt(C));)ce+=E[C++];Lt=E[C]}if(Lt==="."){for(ce+=E[C++];Z(E.charCodeAt(C));)ce+=E[C++];Lt=E[C]}if(Lt==="e"||Lt==="E")if(ce+=E[C++],Lt=E[C],(Lt==="+"||Lt==="-")&&(ce+=E[C++]),Z(E.charCodeAt(C)))for(;Z(E.charCodeAt(C));)ce+=E[C++];else Qt({},v.UnexpectedToken,"ILLEGAL");return me(E.charCodeAt(C))&&Qt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseFloat(ce),lineNumber:P,lineStart:k,start:He,end:C}}function Yr(){var ce="",He,Lt,fr,un,Qn,Xi,qi=!1,ls,ps;for(ls=P,ps=k,He=E[C],W(He==="'"||He==='"',"String literal must starts with a quote"),Lt=C,++C;C<D;)if(fr=E[C++],fr===He){He="";break}else if(fr==="\\")if(fr=E[C++],!fr||!he(fr.charCodeAt(0)))switch(fr){case"u":case"x":Xi=C,Qn=De(fr),Qn?ce+=Qn:(C=Xi,ce+=fr);break;case"n":ce+=` 620`;break;case"r":ce+="\r";break;case"t":ce+=" ";break;case"b":ce+="\b";break;case"f":ce+="\f";break;case"v":ce+="\v";break;default:ie(fr)?(un="01234567".indexOf(fr),un!==0&&(qi=!0),C<D&&ie(E[C])&&(qi=!0,un=un*8+"01234567".indexOf(E[C++]),"0123".indexOf(fr)>=0&&C<D&&ie(E[C])&&(un=un*8+"01234567".indexOf(E[C++]))),ce+=String.fromCharCode(un)):ce+=fr;break}else++P,fr==="\r"&&E[C]===` 621`&&++C,k=C;else{if(he(fr.charCodeAt(0)))break;ce+=fr}return He!==""&&Qt({},v.UnexpectedToken,"ILLEGAL"),{type:u.StringLiteral,value:ce,octal:qi,startLineNumber:ls,startLineStart:ps,lineNumber:P,lineStart:k,start:Lt,end:C}}function Gr(ce,He){var Lt;try{Lt=new RegExp(ce,He)}catch{Qt({},v.InvalidRegExp)}return Lt}function dn(){var ce,He,Lt,fr,un;for(ce=E[C],W(ce==="/","Regular expression literal must start with a slash"),He=E[C++],Lt=!1,fr=!1;C<D;)if(ce=E[C++],He+=ce,ce==="\\")ce=E[C++],he(ce.charCodeAt(0))&&Qt({},v.UnterminatedRegExp),He+=ce;else if(he(ce.charCodeAt(0)))Qt({},v.UnterminatedRegExp);else if(Lt)ce==="]"&&(Lt=!1);else if(ce==="/"){fr=!0;break}else ce==="["&&(Lt=!0);return fr||Qt({},v.UnterminatedRegExp),un=He.substr(1,He.length-2),{value:un,literal:He}}function Kr(){var ce,He,Lt,fr;for(He="",Lt="";C<D&&(ce=E[C],!!je(ce.charCodeAt(0)));)if(++C,ce==="\\"&&C<D)if(ce=E[C],ce==="u"){if(++C,fr=C,ce=De("u"),ce)for(Lt+=ce,He+="\\u";fr<C;++fr)He+=E[fr];else C=fr,Lt+="u",He+="\\u";Br({},v.UnexpectedToken,"ILLEGAL")}else He+="\\",Br({},v.UnexpectedToken,"ILLEGAL");else Lt+=ce,He+=ce;return{value:Lt,literal:He}}function yt(){var ce,He,Lt,fr,un;return $=null,ye(),ce=C,He=dn(),Lt=Kr(),un=Gr(He.value,Lt.value),V.tokenize?{type:u.RegularExpression,value:un,lineNumber:P,lineStart:k,start:ce,end:C}:{literal:He.literal+Lt.literal,value:un,start:ce,end:C}}function tt(){var ce,He,Lt,fr;return ye(),ce=C,He={start:{line:P,column:C-k}},Lt=yt(),He.end={line:P,column:C-k},V.tokenize||(V.tokens.length>0&&(fr=V.tokens[V.tokens.length-1],fr.range[0]===ce&&fr.type==="Punctuator"&&(fr.value==="/"||fr.value==="/=")&&V.tokens.pop()),V.tokens.push({type:"RegularExpression",value:Lt.literal,range:[ce,C],loc:He})),Lt}function Ar(ce){return ce.type===u.Identifier||ce.type===u.Keyword||ce.type===u.BooleanLiteral||ce.type===u.NullLiteral}function Mr(){var ce,He;if(ce=V.tokens[V.tokens.length-1],!ce)return tt();if(ce.type==="Punctuator"){if(ce.value==="]")return mt();if(ce.value===")")return He=V.tokens[V.openParenToken-1],He&&He.type==="Keyword"&&(He.value==="if"||He.value==="while"||He.value==="for"||He.value==="with")?tt():mt();if(ce.value==="}"){if(V.tokens[V.openCurlyToken-3]&&V.tokens[V.openCurlyToken-3].type==="Keyword"){if(He=V.tokens[V.openCurlyToken-4],!He)return mt()}else if(V.tokens[V.openCurlyToken-4]&&V.tokens[V.openCurlyToken-4].type==="Keyword"){if(He=V.tokens[V.openCurlyToken-5],!He)return tt()}else return mt();return m.indexOf(He.value)>=0?mt():tt()}return tt()}return ce.type==="Keyword"&&ce.value!=="this"?tt():mt()}function Er(){var ce;return ye(),C>=D?{type:u.EOF,lineNumber:P,lineStart:k,start:C,end:C}:(ce=E.charCodeAt(C),me(ce)?It():ce===40||ce===41||ce===59?mt():ce===39||ce===34?Yr():ce===46?Z(E.charCodeAt(C+1))?Sr():mt():Z(ce)?Sr():V.tokenize&&ce===47?Mr():mt())}function Ur(){var ce,He,Lt,fr;return ye(),ce={start:{line:P,column:C-k}},He=Er(),ce.end={line:P,column:C-k},He.type!==u.EOF&&(fr=E.slice(He.start,He.end),V.tokens.push({type:l[He.type],value:fr,range:[He.start,He.end],loc:ce})),He}function or(){var ce;return ce=$,C=ce.end,P=ce.lineNumber,k=ce.lineStart,$=typeof V.tokens<"u"?Ur():Er(),C=ce.end,P=ce.lineNumber,k=ce.lineStart,ce}function An(){var ce,He,Lt;ce=C,He=P,Lt=k,$=typeof V.tokens<"u"?Ur():Er(),C=ce,P=He,k=Lt}function dr(ce,He){this.line=ce,this.column=He}function Xr(ce,He,Lt,fr){this.start=new dr(ce,He),this.end=new dr(Lt,fr)}T={name:"SyntaxTree",processComment:function(ce){var He,Lt;if(!(ce.type===g.Program&&ce.body.length>0)){for(V.trailingComments.length>0?V.trailingComments[0].range[0]>=ce.range[1]?(Lt=V.trailingComments,V.trailingComments=[]):V.trailingComments.length=0:V.bottomRightStack.length>0&&V.bottomRightStack[V.bottomRightStack.length-1].trailingComments&&V.bottomRightStack[V.bottomRightStack.length-1].trailingComments[0].range[0]>=ce.range[1]&&(Lt=V.bottomRightStack[V.bottomRightStack.length-1].trailingComments,delete V.bottomRightStack[V.bottomRightStack.length-1].trailingComments);V.bottomRightStack.length>0&&V.bottomRightStack[V.bottomRightStack.length-1].range[0]>=ce.range[0];)He=V.bottomRightStack.pop();He?He.leadingComments&&He.leadingComments[He.leadingComments.length-1].range[1]<=ce.range[0]&&(ce.leadingComments=He.leadingComments,delete He.leadingComments):V.leadingComments.length>0&&V.leadingComments[V.leadingComments.length-1].range[1]<=ce.range[0]&&(ce.leadingComments=V.leadingComments,V.leadingComments=[]),Lt&&(ce.trailingComments=Lt),V.bottomRightStack.push(ce)}},markEnd:function(ce,He){return V.range&&(ce.range=[He.start,C]),V.loc&&(ce.loc=new Xr(He.startLineNumber===void 0?He.lineNumber:He.startLineNumber,He.start-(He.startLineStart===void 0?He.lineStart:He.startLineStart),P,C-k),this.postProcess(ce)),V.attachComment&&this.processComment(ce),ce},postProcess:function(ce){return V.source&&(ce.loc.source=V.source),ce},createArrayExpression:function(ce){return{type:g.ArrayExpression,elements:ce}},createAssignmentExpression:function(ce,He,Lt){return{type:g.AssignmentExpression,operator:ce,left:He,right:Lt}},createBinaryExpression:function(ce,He,Lt){var fr=ce==="||"||ce==="&&"?g.LogicalExpression:g.BinaryExpression;return{type:fr,operator:ce,left:He,right:Lt}},createBlockStatement:function(ce){return{type:g.BlockStatement,body:ce}},createBreakStatement:function(ce){return{type:g.BreakStatement,label:ce}},createCallExpression:function(ce,He){return{type:g.CallExpression,callee:ce,arguments:He}}
621,createCatchClause:function(ce,He){return{type:g.CatchClause,param:ce,body:He}},createConditionalExpression:function(ce,He,Lt){return{type:g.ConditionalExpression,test:ce,consequent:He,alternate:Lt}},createContinueStatement:function(ce){return{type:g.ContinueStatement,label:ce}},createDebuggerStatement:function(){return{type:g.DebuggerStatement}},createDoWhileStatement:function(ce,He){return{type:g.DoWhileStatement,body:ce,test:He}},createEmptyStatement:function(){return{type:g.EmptyStatement}},createExpressionStatement:function(ce){return{type:g.ExpressionStatement,expression:ce}},createForStatement:function(ce,He,Lt,fr){return{type:g.ForStatement,init:ce,test:He,update:Lt,body:fr}},createForInStatement:function(ce,He,Lt){return{type:g.ForInStatement,left:ce,right:He,body:Lt,each:!1}},createFunctionDeclaration:function(ce,He,Lt,fr){return{type:g.FunctionDeclaration,id:ce,params:He,defaults:Lt,body:fr,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(ce,He,Lt,fr){return{type:g.FunctionExpression,id:ce,params:He,defaults:Lt,body:fr,rest:null,generator:!1,expression:!1}},createIdentifier:function(ce){return{type:g.Identifier,name:ce}},createIfStatement:function(ce,He,Lt){return{type:g.IfStatement,test:ce,consequent:He,alternate:Lt}},createLabeledStatement:function(ce,He){return{type:g.LabeledStatement,label:ce,body:He}},createLiteral:function(ce){return{type:g.Literal,value:ce.value,raw:E.slice(ce.start,ce.end)}},createMemberExpression:function(ce,He,Lt){return{type:g.MemberExpression,computed:ce==="[",object:He,property:Lt}},createNewExpression:function(ce,He){return{type:g.NewExpression,callee:ce,arguments:He}},createObjectExpression:function(ce){return{type:g.ObjectExpression,properties:ce}},createPostfixExpression:function(ce,He){return{type:g.UpdateExpression,operator:ce,argument:He,prefix:!1}},createProgram:function(ce){return{type:g.Program,body:ce}},createProperty:function(ce,He,Lt){return{type:g.Property,key:He,value:Lt,kind:ce}},createReturnStatement:function(ce){return{type:g.ReturnStatement,argument:ce}},createSequenceExpression:function(ce){return{type:g.SequenceExpression,expressions:ce}},createSwitchCase:function(ce,He){return{type:g.SwitchCase,test:ce,consequent:He}},createSwitchStatement:function(ce,He){return{type:g.SwitchStatement,discriminant:ce,cases:He}},createThisExpression:function(){return{type:g.ThisExpression}},createThrowStatement:function(ce){return{type:g.ThrowStatement,argument:ce}},createTryStatement:function(ce,He,Lt,fr){return{type:g.TryStatement,block:ce,guardedHandlers:He,handlers:Lt,finalizer:fr}},createUnaryExpression:function(ce,He){return ce==="++"||ce==="--"?{type:g.UpdateExpression,operator:ce,argument:He,prefix:!0}:{type:g.UnaryExpression,operator:ce,argument:He,prefix:!0}},createVariableDeclaration:function(ce,He){return{type:g.VariableDeclaration,declarations:ce,kind:He}},createVariableDeclarator:function(ce,He){return{type:g.VariableDeclarator,id:ce,init:He}},createWhileStatement:function(ce,He){return{type:g.WhileStatement,test:ce,body:He}},createWithStatement:function(ce,He){return{type:g.WithStatement,object:ce,body:He}}};function hn(){var ce,He,Lt,fr;return ce=C,He=P,Lt=k,ye(),fr=P!==He,C=ce,P=He,k=Lt,fr}function Qt(ce,He){var Lt,fr=Array.prototype.slice.call(arguments,2),un=He.replace(/%(\d)/g,function(Qn,Xi){return W(Xi<fr.length,"Message reference must be in range"),fr[Xi]});throw typeof ce.lineNumber=="number"?(Lt=new Error("Line "+ce.lineNumber+": "+un),Lt.index=ce.start,Lt.lineNumber=ce.lineNumber,Lt.column=ce.start-k+1):(Lt=new Error("Line "+P+": "+un),Lt.index=C,Lt.lineNumber=P,Lt.column=C-k+1),Lt.description=un,Lt}function Br(){try{Qt.apply(null,arguments)}catch(ce){if(V.errors)V.errors.push(ce);else throw ce}}function zt(ce){if(ce.type===u.EOF&&Qt(ce,v.UnexpectedEOS),ce.type===u.NumericLiteral&&Qt(ce,v.UnexpectedNumber),ce.type===u.StringLiteral&&Qt(ce,v.UnexpectedString),ce.type===u.Identifier&&Qt(ce,v.UnexpectedIdentifier),ce.type===u.Keyword){if(Fe(ce.value))Qt(ce,v.UnexpectedReserved);else if(_&&Je(ce.value)){Br(ce,v.StrictReservedWord);return}Qt(ce,v.UnexpectedToken,ce.value)}Qt(ce,v.UnexpectedToken,ce.value)}function Tt(ce){var He=or();(He.type!==u.Punctuator||He.value!==ce)&&zt(He)}function Pr(ce){var He=or();(He.type!==u.Keyword||He.value!==ce)&&zt(He)}function Y(ce){return $.type===u.Punctuator&&$.value===ce}function ht(ce){return $.type===u.Keyword&&$.value===ce}function ur(){var ce;return $.type!==u.Punctuator?!1:(ce=$.value,ce==="="||ce==="*="||ce==="/="||ce==="%="||ce==="+="||ce==="-="||ce==="<<="||ce===">>="||ce===">>>="||ce==="&="||ce==="^="||ce==="|=")}function it(){var ce,He=C,Lt=P,fr=k,un=$;if(E.charCodeAt(C)===59||Y(";")){or();return}
vendor: 6,254 bytes, line 621
621if(ce=P,ye(),P!==ce){C=He,P=Lt,k=fr,$=un;return}$.type!==u.EOF&&!Y("}")&&zt($)}function Rt(ce){return ce.type===g.Identifier||ce.type===g.MemberExpression}function Zr(){var ce=[],He;for(He=$,Tt("[");!Y("]");)Y(",")?(or(),ce.push(null)):(ce.push(xe()),Y("]")||Tt(","));return or(),B.markEnd(B.createArrayExpression(ce),He)}function nn(ce,He){var Lt,fr,un;return Lt=_,un=$,fr=vi(),He&&_&&Xe(ce[0].name)&&Br(He,v.StrictParamName),_=Lt,B.markEnd(B.createFunctionExpression(null,ce,[],fr),un)}function fn(){var ce,He;return He=$,ce=or(),ce.type===u.StringLiteral||ce.type===u.NumericLiteral?(_&&ce.octal&&Br(ce,v.StrictOctalLiteral),B.markEnd(B.createLiteral(ce),He)):B.markEnd(B.createIdentifier(ce.value),He)}function Sn(){var ce,He,Lt,fr,un,Qn;if(ce=$,Qn=$,ce.type===u.Identifier)return Lt=fn(),ce.value==="get"&&!Y(":")?(He=fn(),Tt("("),Tt(")"),fr=nn([]),B.markEnd(B.createProperty("get",He,fr),Qn)):ce.value==="set"&&!Y(":")?(He=fn(),Tt("("),ce=$,ce.type!==u.Identifier?(Tt(")"),Br(ce,v.UnexpectedToken,ce.value),fr=nn([])):(un=[Tr()],Tt(")"),fr=nn(un,ce)),B.markEnd(B.createProperty("set",He,fr),Qn)):(Tt(":"),fr=xe(),B.markEnd(B.createProperty("init",Lt,fr),Qn));if(ce.type===u.EOF||ce.type===u.Punctuator)zt(ce);else return He=fn(),Tt(":"),fr=xe(),B.markEnd(B.createProperty("init",He,fr),Qn)}function Ci(){var ce=[],He,Lt,fr,un,Qn={},Xi=String,qi;for(qi=$,Tt("{");!Y("}");)He=Sn(),He.key.type===g.Identifier?Lt=He.key.name:Lt=Xi(He.key.value),un=He.kind==="init"?h.Data:He.kind==="get"?h.Get:h.Set,fr="$"+Lt,Object.prototype.hasOwnProperty.call(Qn,fr)?(Qn[fr]===h.Data?_&&un===h.Data?Br({},v.StrictDuplicateProperty):un!==h.Data&&Br({},v.AccessorDataProperty):un===h.Data?Br({},v.AccessorDataProperty):Qn[fr]&un&&Br({},v.AccessorGetSet),Qn[fr]|=un):Qn[fr]=un,ce.push(He),Y("}")||Tt(",");return Tt("}"),B.markEnd(B.createObjectExpression(ce),qi)}function $i(){var ce;return Tt("("),ce=Ge(),Tt(")"),ce}function qr(){var ce,He,Lt,fr;if(Y("("))return $i();if(Y("["))return Zr();if(Y("{"))return Ci();if(ce=$.type,fr=$,ce===u.Identifier)Lt=B.createIdentifier(or().value);else if(ce===u.StringLiteral||ce===u.NumericLiteral)_&&$.octal&&Br($,v.StrictOctalLiteral),Lt=B.createLiteral(or());else if(ce===u.Keyword){if(ht("function"))return ss();ht("this")?(or(),Lt=B.createThisExpression()):zt(or())}else ce===u.BooleanLiteral?(He=or(),He.value=He.value==="true",Lt=B.createLiteral(He)):ce===u.NullLiteral?(He=or(),He.value=null,Lt=B.createLiteral(He)):Y("/")||Y("/=")?(typeof V.tokens<"u"?Lt=B.createLiteral(tt()):Lt=B.createLiteral(yt()),An()):zt(or());return B.markEnd(Lt,fr)}function Bi(){var ce=[];if(Tt("("),!Y(")"))for(;C<D&&(ce.push(xe()),!Y(")"));)Tt(",");return Tt(")"),ce}function ms(){var ce,He;return He=$,ce=or(),Ar(ce)||zt(ce),B.markEnd(B.createIdentifier(ce.value),He)}function hs(){return Tt("."),ms()}function Mi(){var ce;return Tt("["),ce=Ge(),Tt("]"),ce}function gi(){var ce,He,Lt;return Lt=$,Pr("new"),ce=qn(),He=Y("(")?Bi():[],B.markEnd(B.createNewExpression(ce,He),Lt)}function Hi(){var ce,He,Lt,fr,un=F.allowIn;for(fr=$,F.allowIn=!0,ce=ht("new")?gi():qr();;){if(Y("."))Lt=hs(),ce=B.createMemberExpression(".",ce,Lt);else if(Y("("))He=Bi(),ce=B.createCallExpression(ce,He);else if(Y("["))Lt=Mi(),ce=B.createMemberExpression("[",ce,Lt);else break;B.markEnd(ce,fr)}return F.allowIn=un,ce}function qn(){var ce,He,Lt;for(W(F.allowIn,"callee of new expression always allow in keyword."),Lt=$,ce=ht("new")?gi():qr();Y(".")||Y("[");)Y("[")?(He=Mi(),ce=B.createMemberExpression("[",ce,He)):(He=hs(),ce=B.createMemberExpression(".",ce,He)),B.markEnd(ce,Lt);return ce}function $n(){var ce,He,Lt=$;return ce=Hi(),$.type===u.Punctuator&&(Y("++")||Y("--"))&&!hn()&&(_&&ce.type===g.Identifier&&Xe(ce.name)&&Br({},v.StrictLHSPostfix),Rt(ce)||Br({},v.InvalidLHSInAssignment),He=or(),ce=B.markEnd(B.createPostfixExpression(He.value,ce),Lt)),ce}function $s(){var ce,He,Lt;return $.type!==u.Punctuator&&$.type!==u.Keyword?He=$n():Y("++")||Y("--")?(Lt=$,ce=or(),He=$s(),_&&He.type===g.Identifier&&Xe(He.name)&&Br({},v.StrictLHSPrefix),Rt(He)||Br({},v.InvalidLHSInAssignment),He=B.createUnaryExpression(ce.value,He),He=B.markEnd(He,Lt)):Y("+")||Y("-")||Y("~")||Y("!")?(Lt=$,ce=or(),He=$s(),He=B.createUnaryExpression(ce.value,He),He=B.markEnd(He,Lt)):ht("delete")||ht("void")||ht("typeof")?(Lt=$,ce=or(),He=$s(),He=B.createUnaryExpression(ce.value,He),He=B.markEnd(He,Lt),_&&He.operator==="delete"&&He.argument.type===g.Identifier&&Br({},v.StrictDelete)):He=$n(),He}function ys(ce,He){var Lt=0;if(ce.type!==u.Punctuator&&ce.type!==u.Keyword)return 0;switch(ce.value){case"||":Lt=1;break;case"&&":Lt=2;break;case"|":Lt=3;break;case"^":Lt=4;break;case"&":Lt=5;break;case"==":case"!=":case"===":case"!==":Lt=6;break;case"<":case">":case"<=":case">=":case"instanceof":Lt=7;break;case"in":Lt=He?7:0;break;case"<<":case">>":case">>>":Lt=8;break;case"+":case"-":Lt=9;break;case"*":case"/":case"%":Lt=11;break;default:break}return Lt}function Es(){var ce,He,Lt,fr,un,Qn,Xi,qi,ls,ps;if(ce=$,ls=$s(),fr=$,un=ys(fr,F.allowIn),un===0)return ls;for(fr.prec=un,or(),He=[ce,$],Xi=$s(),Qn=[ls,fr,Xi];(un=ys($,F.allowIn))>0;){for(;Qn.length>2&&un<=Qn[Qn.length-2].prec;)Xi=Qn.pop(),qi=Qn.pop().value,ls=Qn.pop(),Lt=B.createBinaryExpression(qi,ls,Xi),He.pop(),ce=He[He.length-1],B.markEnd(Lt,ce),Qn.push(Lt);fr=or(),fr.prec=un,Qn.push(fr),He.push($),Lt=$s(),Qn.push(Lt)}for(ps=Qn.length-1,Lt=Qn[ps],He.pop();ps>1;)Lt=B.createBinaryExpression(Qn[ps-1].value,Qn[ps-2],Lt),ps-=2,ce=He.pop(),B.markEnd(Lt,ce);return Lt}function oe(){var ce,He,Lt,fr,un;return un=$,ce=Es(),Y("?")&&(or(),He=F.allowIn,F.allowIn=!0,Lt=xe(),F.allowIn=He,Tt(":"),fr=xe(),ce=B.createConditionalExpression(ce,Lt,fr),B.markEnd(ce,un)),ce}function xe(){var ce,He,Lt,fr,un;return ce=$,un=$,fr=He=oe(),ur()&&(Rt(He)||Br({},v.InvalidLHSInAssignment),_&&He.type===g.Identifier&&Xe(He.name)&&Br(ce,v.StrictLHSAssignment),ce=or(),Lt=xe(),fr=B.markEnd(B.createAssignmentExpression(ce.value,He,Lt),un)),fr}function Ge(){var ce,He=$;if(ce=xe(),Y(",")){for(ce=B.createSequenceExpression([ce]);C<D&&Y(",");)or(),ce.expressions.push(xe());B.markEnd(ce,He)}return ce}function bt(){for(var ce=[],He;C<D&&!(Y("}")||(He=xs(),typeof He>"u"));)ce.push(He);return ce}function Et(){var ce,He;return He=$,Tt("{"),ce=bt(),Tt("}
621"),B.markEnd(B.createBlockStatement(ce),He)}function Tr(){var ce,He;return He=$,ce=or(),ce.type!==u.Identifier&&zt(ce),B.markEnd(B.createIdentifier(ce.value),He)}function vn(ce){var He=null,Lt,fr;return fr=$,Lt=Tr(),_&&Xe(Lt.name)&&Br({},v.StrictVarName),ce==="const"?(Tt("="),He=xe()):Y("=")&&(or(),He=xe()),B.markEnd(B.createVariableDeclarator(Lt,He),fr)}function Gt(ce){var He=[];do{if(He.push(vn(ce)),!Y(","))break;or()}while(C<D);return He}function ei(){var ce;return Pr("var"),ce=Gt(),it(),B.createVariableDeclaration(ce,"var")}function si(ce){var He,Lt;return Lt=$,Pr(ce),He=Gt(ce),it(),B.markEnd(B.createVariableDeclaration(He,ce),Lt)}function yn(){return Tt(";"),B.createEmptyStatement()}function rs(){var ce=Ge();return it(),B.createExpressionStatement(ce)}function xn(){var ce,He,Lt;return Pr("if"),Tt("("),ce=Ge(),Tt(")"),He=Ui(),ht("else")?(or(),Lt=Ui()):Lt=null,B.createIfStatement(ce,He,Lt)}function Ms(){var ce,He,Lt;return Pr("do"),Lt=F.inIteration,F.inIteration=!0,ce=Ui(),F.inIteration=Lt,Pr("while"),Tt("("),He=Ge(),Tt(")"),Y(";")&&or(),B.createDoWhileStatement(ce,He)}function Yi(){var ce,He,Lt;return Pr("while"),Tt("("),ce=Ge(),Tt(")"),Lt=F.inIteration,F.inIteration=!0,He=Ui(),F.inIteration=Lt,B.createWhileStatement(ce,He)}function Gs(){var ce,He,Lt;return Lt=$,ce=or(),He=Gt(),B.markEnd(B.createVariableDeclaration(He,ce.value),Lt)}function us(){var ce,He,Lt,fr,un,Qn,Xi,qi=F.allowIn;return ce=He=Lt=null,Pr("for"),Tt("("),Y(";")?or():(ht("var")||ht("let")?(F.allowIn=!1,ce=Gs(),F.allowIn=qi,ce.declarations.length===1&&ht("in")&&(or(),fr=ce,un=Ge(),ce=null)):(F.allowIn=!1,ce=Ge(),F.allowIn=qi,ht("in")&&(Rt(ce)||Br({},v.InvalidLHSInForIn),or(),fr=ce,un=Ge(),ce=null)),typeof fr>"u"&&Tt(";")),typeof fr>"u"&&(Y(";")||(He=Ge()),Tt(";"),Y(")")||(Lt=Ge())),Tt(")"),Xi=F.inIteration,F.inIteration=!0,Qn=Ui(),F.inIteration=Xi,typeof fr>"u"?B.createForStatement(ce,He,Lt,Qn):B.createForInStatement(fr,un,Qn)}function nr(){var ce=null,He;return Pr("continue"),E.charCodeAt(C)===59?(or(),F.inIteration||Qt({},v.IllegalContinue),B.createContinueStatement(null)):hn()?(F.inIteration||Qt({},v.IllegalContinue),B.createContinueStatement(null)):($.type===u.Identifier&&(ce=Tr(),He="$"+ce.name,Object.prototype.hasOwnProperty.call(F.labelSet,He)||Qt({},v.UnknownLabel,ce.name)),it(),ce===null&&!F.inIteration&&Qt({},v.IllegalContinue),B.createContinueStatement(ce))}function cr(){var ce=null,He;return Pr("break"),E.charCodeAt(C)===59?(or(),F.inIteration||F.inSwitch||Qt({},v.IllegalBreak),B.createBreakStatement(null)):hn()?(F.inIteration||F.inSwitch||Qt({},v.IllegalBreak),B.createBreakStatement(null)):($.type===u.Identifier&&(ce=Tr(),He="$"+ce.name,Object.prototype.hasOwnProperty.call(F.labelSet,He)||Qt({},v.UnknownLabel,ce.name)),it(),ce===null&&!(F.inIteration||F.inSwitch)&&Qt({},v.IllegalBreak),B.createBreakStatement(ce))}function ln(){var ce=null;return Pr("return"),F.inFunctionBody||Br({},v.IllegalReturn),E.charCodeAt(C)===32&&me(E.charCodeAt(C+1))?(ce=Ge(),it(),B.createReturnStatement
vendor: 4,871 bytes, line 621
621(ce)):hn()?B.createReturnStatement(null):(Y(";")||!Y("}")&&$.type!==u.EOF&&(ce=Ge()),it(),B.createReturnStatement(ce))}function Yn(){var ce,He;return _&&(ye(),Br({},v.StrictModeWith)),Pr("with"),Tt("("),ce=Ge(),Tt(")"),He=Ui(),B.createWithStatement(ce,He)}function Ln(){var ce,He=[],Lt,fr;for(fr=$,ht("default")?(or(),ce=null):(Pr("case"),ce=Ge()),Tt(":");C<D&&!(Y("}")||ht("default")||ht("case"));)Lt=Ui(),He.push(Lt);return B.markEnd(B.createSwitchCase(ce,He),fr)}function wn(){var ce,He,Lt,fr,un;if(Pr("switch"),Tt("("),ce=Ge(),Tt(")"),Tt("{"),He=[],Y("}"))return or(),B.createSwitchStatement(ce,He);for(fr=F.inSwitch,F.inSwitch=!0,un=!1;C<D&&!Y("}");)Lt=Ln(),Lt.test===null&&(un&&Qt({},v.MultipleDefaultsInSwitch),un=!0),He.push(Lt);return F.inSwitch=fr,Tt("}"),B.createSwitchStatement(ce,He)}function ti(){var ce;return Pr("throw"),hn()&&Qt({},v.NewlineAfterThrow),ce=Ge(),it(),B.createThrowStatement(ce)}function Ti(){var ce,He,Lt;return Lt=$,Pr("catch"),Tt("("),Y(")")&&zt($),ce=Tr(),_&&Xe(ce.name)&&Br({},v.StrictCatchVariable),Tt(")"),He=Et(),B.markEnd(B.createCatchClause(ce,He),Lt)}function Pi(){var ce,He=[],Lt=null;return Pr("try"),ce=Et(),ht("catch")&&He.push(Ti()),ht("finally")&&(or(),Lt=Et()),He.length===0&&!Lt&&Qt({},v.NoCatchOrFinally),B.createTryStatement(ce,[],He,Lt)}function Zi(){return Pr("debugger"),it(),B.createDebuggerStatement()}function Ui(){var ce=$.type,He,Lt,fr,un;if(ce===u.EOF&&zt($),ce===u.Punctuator&&$.value==="{")return Et();if(un=$,ce===u.Punctuator)switch($.value){case";":return B.markEnd(yn(),un);case"(":return B.markEnd(rs(),un);default:break}if(ce===u.Keyword)switch($.value){case"break":return B.markEnd(cr(),un);case"continue":return B.markEnd(nr(),un);case"debugger":return B.markEnd(Zi(),un);case"do":return B.markEnd(Ms(),un);case"for":return B.markEnd(us(),un);case"function":return B.markEnd(ks(),un);case"if":return B.markEnd(xn(),un);case"return":return B.markEnd(ln(),un);case"switch":return B.markEnd(wn(),un);case"throw":return B.markEnd(ti(),un);case"try":return B.markEnd(Pi(),un);case"var":return B.markEnd(ei(),un);case"while":return B.markEnd(Yi(),un);case"with":return B.markEnd(Yn(),un);default:break}return He=Ge(),He.type===g.Identifier&&Y(":")?(or(),fr="$"+He.name,Object.prototype.hasOwnProperty.call(F.labelSet,fr)&&Qt({},v.Redeclaration,"Label",He.name),F.labelSet[fr]=!0,Lt=Ui(),delete F.labelSet[fr],B.markEnd(B.createLabeledStatement(He,Lt),un)):(it(),B.markEnd(B.createExpressionStatement(He),un))}function vi(){var ce,He=[],Lt,fr,un,Qn,Xi,qi,ls,ps;for(ps=$,Tt("{");C<D&&!($.type!==u.StringLiteral||(Lt=$,ce=xs(),He.push(ce),ce.expression.type!==g.Literal));)fr=E.slice(Lt.start+1,Lt.end-1),fr==="use strict"?(_=!0,un&&Br(un,v.StrictOctalLiteral)):!un&&Lt.octal&&(un=Lt);for(Qn=F.labelSet,Xi=F.inIteration,qi=F.inSwitch,ls=F.inFunctionBody,F.labelSet={},F.inIteration=!1,F.inSwitch=!1,F.inFunctionBody=!0;C<D&&!(Y("}")||(ce=xs(),typeof ce>"u"));)He.push(ce);return Tt("}"),F.labelSet=Qn,F.inIteration=Xi,F.inSwitch=qi,F.inFunctionBody=ls,B.markEnd(B.createBlockStatement(He),ps)}function Wi(ce){var He,Lt=[],fr,un,Qn,Xi,qi;if(Tt("("),!Y(")"))for(Qn={};C<D&&(fr=$,He=Tr(),Xi="$"+fr.value,_?(Xe(fr.value)&&(un=fr,qi=v.StrictParamName),Object.prototype.hasOwnProperty.call(Qn,Xi)&&(un=fr,qi=v.StrictParamDupe)):ce||(Xe(fr.value)?(ce=fr,qi=v.StrictParamName):Je(fr.value)?(ce=fr,qi=v.StrictReservedWord):Object.prototype.hasOwnProperty.call(Qn,Xi)&&(ce=fr,qi=v.StrictParamDupe)),Lt.push(He),Qn[Xi]=!0,!Y(")"));)Tt(",");return Tt(")"),{params:Lt,stricted:un,firstRestricted:ce,message:qi}}function ks(){var ce,He=[],Lt,fr,un,Qn,Xi,qi,ls,ps;return ps=$,Pr("function"),fr=$,ce=Tr(),_?Xe(fr.value)&&Br(fr,v.StrictFunctionName):Xe(fr.value)?(Xi=fr,qi=v.StrictFunctionName):Je(fr.value)&&(Xi=fr,qi=v.StrictReservedWord),Qn=Wi(Xi),He=Qn.params,un=Qn.stricted,Xi=Qn.firstRestricted,Qn.message&&(qi=Qn.message),ls=_,Lt=vi(),_&&Xi&&Qt(Xi,qi),_&&un&&Br(un,qi),_=ls,B.markEnd(B.createFunctionDeclaration(ce,He,[],Lt),ps)}function ss(){var ce,He=null,Lt,fr,un,Qn,Xi=[],qi,ls,ps;return ps=$,Pr("function"),Y("(")||(ce=$,He=Tr(),_?Xe(ce.value)&&Br(ce,v.StrictFunctionName):Xe(ce.value)?(fr=ce,un=v.StrictFunctionName):Je(ce.value)&&(fr=ce,un=v.StrictReservedWord)),Qn=Wi(fr),Xi=Qn.params,Lt=Qn.stricted,fr=Qn.firstRestricted,Qn.message&&(un=Qn.message),ls=_,qi=vi(),_&&fr&&Qt(fr,un),_&&Lt&&Br(Lt,un),_=ls,B.markEnd(B.createFunctionExpression(He,Xi,[],qi),ps)}function xs(){if($.type===u.Keyword)switch($.value){case"const":case"let":return si($.value);case"function":return ks();default:return Ui()}if($.type!==u.EOF)return Ui()}function wi(){for(var ce,He=[],Lt,fr,un;C<D&&(Lt=$,!(Lt.type!==u.StringLiteral||(ce=xs(),He.push(ce),ce.expression.type!==g.Literal)));)fr=E.slice(Lt.start+1,Lt.end-1),fr==="use strict"?(_=!0,un&&Br(un,v.StrictOctalLiteral)):!un&&Lt.octal&&(un=Lt);for(;C<D&&(ce=xs(),!(typeof ce>"u"));
621)He.push(ce);return He}function Ns(){var ce,He;return ye(),An(),He=$,_=!1,ce=wi(),B.markEnd(B.createProgram(ce),He)}function Cs(){var ce,He,Lt,fr=[];for(ce=0;ce<V.tokens.length;++ce)He=V.tokens[ce],Lt={type:He.type,value:He.value},V.range&&(Lt.range=He.range),V.loc&&(Lt.loc=He.loc),fr.push(Lt);V.tokens=fr}function as(ce,He){var Lt,fr,un;Lt=String,typeof ce!="string"&&!(ce instanceof String)&&(ce=Lt(ce)),B=T,E=ce,C=0,P=E.length>0?1:0,k=0,D=E.length,$=null,F={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},V={},He=He||{},He.tokens=!0,V.tokens=[],V.tokenize=!0,V.openParenToken=-1,V.openCurlyToken=-1,V.range=typeof He.range=="boolean"&&He.range,V.loc=typeof He.loc=="boolean"&&He.loc,typeof He.comment=="boolean"&&He.comment&&(V.comments=[]),typeof He.tolerant=="boolean"&&He.tolerant&&(V.errors=[]);try{if(An(),$.type===u.EOF)return V.tokens;for(fr=or();$.type!==u.EOF;)try{fr=or()}catch(Qn){if(fr=$,V.errors){V.errors.push(Qn);break}else throw Qn}Cs(),un=V.tokens,typeof V.comments<"u"&&(un.comments=V.comments),typeof V.errors<"u"&&(un.errors=V.errors)}catch(Qn){throw Qn}finally{V={}}return un}function Os(ce,He){var Lt,fr;fr=String,typeof ce!="string"&&!(ce instanceof String)&&(ce=fr(ce)),B=T,E=ce,C=0,P=E.length>0?1:0,k=0,D=E.length,$=null,F={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},V={},typeof He<"u"&&(V.range=typeof He.range=="boolean"&&He.range,V.loc=typeof He.loc=="boolean"&&He.loc,V.attachComment=typeof He.attachComment=="boolean"&&He.attachComment,V.loc&&He.source!==null&&He.source!==void 0&&(V.source=fr(He.source)),typeof He.tokens=="boolean"&&He.tokens&&(V.tokens=[]),typeof He.comment=="boolean"&&He.comment&&(V.comments=[]),typeof He.tolerant=="boolean"&&He.tolerant&&(V.errors=[]),V.attachComment&&(V.range=!0,V.comments=[],V.bottomRightStack=[],V.trailingComments=[],V.leadingComments=[]));try{Lt=Ns(),typeof V.comments<"u"&&(Lt.comments=V.comments),typeof V.tokens<"u"&&(Cs(),Lt.tokens=V.tokens),typeof V.errors<"u"&&(Lt.errors=V.errors)}catch(un){throw un}finally{V={}}return Lt}i.version="1.2.5",i.tokenize=as,i.parse=Os,i.Syntax=(function(){var ce,He={};typeof Object.create=="function"&&(He=Object.create(null));for(ce in g)g.hasOwnProperty(ce)&&(He[ce]=g[ce]);return typeof Object.freeze=="function"&&Object.freeze(He),He})()})},{}],1:[function(r,a,s){(function(i){var u=(function(){var l={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(x,T,E,_,C,P,k){_.ast||(_.ast=m,m.initialize());var D=P.length-1;switch(C){case 1:return _.ast.set({expression:{type:"root",value:P[D]}}),_.ast.unshift(),_.ast.yield();case 2:return _.ast.set({expression:{type:"root",value:P[D-1]}}),_.ast.unshift(),_.ast.yield();case 3:return _.ast.unshift(),_.ast.yield();case 4:return _.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:P[D-1]}}),_.ast.unshift(),_.ast.yield();case 5:break;case 6:break;case 7:_.ast.set({operation:"member"}),_.ast.push();break;case 8:_.ast.set({operation:"subscript"}),_.ast.push();break;case 9:_.ast.set({scope:"child"});break;case 10:_.ast.set({scope:"descendant"});break;case 11:break;case 12:_.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:_.ast.set({expression:{type:"wildcard",value:P[D]}});break;case 15:_.ast.set({expression:{type:"identifier",value:P[D]}});break;case 16:_.ast.set({expression:{type:"script_expression",value:P[D]}});break;case 17:_.ast.set({expression:{type:"numeric_literal",value:parseInt(P[D])}});break;case 18:break;case 19:_.ast.set({scope:"child"});break;case 20:_.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:P[D].length>1?_.ast.set({expression:{type:"union",value:P[D]}}):this.$=P[D];break;case 25:this.$=[P[D]];break;case 26:this.$=P[D-2].concat(P[D]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(P[D])}},_.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:P[D]}},_.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:P[D]}},_.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:P[D]}},_.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:P[D]}},_.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:P[D]}},_.ast.set(this.$);break;case 33:this.$=P[D];break;case 34:this.$=P[D];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]}
621,{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(x,T){if(T.recoverable)this.trace(x);else throw new Error(x)},parse:function(x){var T=this,E=[0],_=[null],C=[],P=this.table,k="",D=0,B=0,$=0,F=2,V=1,W=C.slice.call(arguments,1);this.lexer.setInput(x),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var Z=this.lexer.yylloc;C.push(Z);var J=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ie($e){E.length=E.length-2*$e,_.length=_.length-$e,C.length=C.length-$e}function le(){var $e;return $e=T.lexer.lex()||V,typeof $e!="number"&&($e=T.symbols_[$e]||$e),$e}for(var he,me,je,Fe,Je,Xe,ge={},be,Ie,Re,ye;;){if(je=E[E.length-1],this.defaultActions[je]?Fe=this.defaultActions[je]:((he===null||typeof he>"u")&&(he=le()),Fe=P[je]&&P[je][he]),typeof Fe>"u"||!Fe.length||!Fe[0]){var De="";ye=[];for(be in P[je])this.terminals_[be]&&be>F&&ye.push("'"+this.terminals_[be]+"'");this.lexer.showPosition?De="Parse error on line "+(D+1)+`: 622`+this.lexer.showPosition()+` 623Expecting `+ye.join(", ")+", got '"+(this.terminals_[he]||he)+"'":De="Parse error on line "+(D+1)+": Unexpected "+(he==V?"end of input":"'"+(this.terminals_[he]||he)+"'"),this.parseError(De,{text:this.lexer.match,token:this.terminals_[he]||he,line:this.lexer.yylineno,loc:Z,expected:ye})}if(Fe[0]instanceof Array&&Fe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+je+", token: "+he);switch(Fe[0]){case 1:E.push(he),_.push(this.lexer.yytext),C.push(this.lexer.yylloc),E.push(Fe[1]),he=null,me?(he=me,me=null):(B=this.lexer.yyleng,k=this.lexer.yytext,D=this.lexer.yylineno,Z=this.lexer.yylloc,$>0&&$--);break;case 2:if(Ie=this.productions_[Fe[1]][1],ge.$=_[_.length-Ie],ge._$={first_line:C[C.length-(Ie||1)].first_line,last_line:C[C.length-1].last_line,first_column:C[C.length-(Ie||1)].first_column,last_column:C[C.length-1].last_column},J&&(ge._$.range=[C[C.length-(Ie||1)].range[0],C[C.length-1].range[1]]),Xe=this.performAction.apply(ge,[k,B,D,this.yy,Fe[1],_,C].concat(W)),typeof Xe<"u")return Xe;Ie&&(E=E.slice(0,-1*Ie*2),_=_.slice(0,-1*Ie),C=C.slice(0,-1*Ie)),E.push(this.productions_[Fe[1]][0]),_.push(ge.$),C.push(ge._$),Re=P[E[E.length-2]][E[E.length-1]],E.push(Re);break;case 3:return!0}}return!0}},m={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(v){for(var x in v)this._node[x]=v[x];return this._node},node:function(v){return arguments.length&&(this._node=v),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var v=this._nodes;return this.initialize(),v}},g=(function(){var v={EOF:1,parseError:function(T,E){if(this.yy.parser)this.yy.parser.parseError(T,E);else throw new Error(T)},setInput:function(x){return this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,744 bytes, lines 623-626
623,input:function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var T=x.match(/(?:\r\n?|\n).*/g);return T?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},unput:function(x){var T=x.length,E=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-T-1),this.offset-=T;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-T},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-T]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). 624`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(x){this.unput(this.match.slice(x))},pastInput:function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var x=this.pastInput(),T=new Array(x.length+1).join("-");return x+this.upcomingInput()+` 625`+T+"^"},test_match:function(x,T){var E,_,C;if(this.options.backtrack_lexer&&(C={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(C.yylloc.range=this.yylloc.range.slice(0))),_=x[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+x[0].length},this.yytext+=x[0],this.match+=x[0],this.matches=x,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(x[0].length),this.matched+=x[0],E=this.performAction.call(this,this.yy,this,T,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var P in C)this[P]=C[P];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var x,T,E,_;this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),P=0;P<C.length;P++)if(E=this._input.match(this.rules[C[P]]),E&&(!T||E[0].length>T[0].length)){if(T=E,_=P,this.options.backtrack_lexer){if(x=this.test_match(E,C[P]),x!==!1)return x;if(this._backtrack){T=!1;continue}else return!1}else if(!this.options.flex)break}return T?(x=this.test_match(T,C[_]),x!==!1?x:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. 626`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var T=this.next();return T||this.lex()},begin:function(T){this.conditionStack.push(T)},popState:function(){var T=this.conditionStack.length-1;return T>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(T){return T=this.conditionStack.length-1-Math.abs(T||0),T>=0?this.conditionStack[T]:"INITIAL"},pushState:function(T){this.begin(T)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(T,E,_,C){var P=C;switch(_){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return E.yytext=E.yytext.substr(1,E.yyleng-2),32;
vendor: 11,473 bytes, line 626
626case 11:return E.yytext=E.yytext.substr(1,E.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return v})();l.lexer=g;function h(){this.yy={}}return h.prototype=l,l.Parser=h,new h})();typeof r<"u"&&typeof s<"u"&&(s.parser=u,s.Parser=u.Parser,s.parse=function(){return u.parse.apply(u,arguments)},s.main=function(m){m[1]||(console.log("Usage: "+m[0]+" FILE"),i.exit(1));var g=r("fs").readFileSync(r("path").normalize(m[1]),"utf8");return s.parser.parse(g)},typeof a<"u"&&r.main===a&&s.main(i.argv.slice(1)))}).call(this,r("_process"))},{_process:14,fs:12,path:13}],2:[function(r,a,s){a.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(r,a,s){var i=r("./dict"),u=r("fs"),l={lex:{macros:{esc:"\\\\",int:i.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[i.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[i.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[i.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};u.readFileSync&&(l.moduleInclude=u.readFileSync(r.resolve("../include/module.js")),l.actionInclude=u.readFileSync(r.resolve("../include/action.js"))),a.exports=l},{"./dict":2,fs:12}],4:[function(r,a,s){var i=r("./aesprim"),u=r("./slice"),l=r("static-eval"),m=r("underscore").uniq,g=Object.create(null);g.constructor=!0,g.__proto__=!0,g.prototype=!0;function h(F){return typeof F=="string"&&g[F]===!0}function v(F){if(!F||typeof F!="object")return!1;function V(W){if(!W||typeof W!="object"||!W.type)return!1;switch(W.type){case"Literal":return!0;case"Identifier":return W.name==="@";case"MemberExpression":return V(W.object)?!W.computed&&W.property.type==="Identifier"?!h(W.property.name):W.computed?!(!V(W.property)||W.property.type==="Literal"&&h(String(W.property.value))):!1:!1;case"UnaryExpression":return V(W.argument);case"BinaryExpression":case"LogicalExpression":return V(W.left)&&V(W.right);case"ConditionalExpression":return V(W.test)&&V(W.consequent)&&V(W.alternate);case"ArrayExpression":for(var Z=0;Z<W.elements.length;Z++)if(!V(W.elements[Z]))return!1;return!0;case"ObjectExpression":for(var J=0;J<W.properties.length;J++){var ie=W.properties[J];if(ie.key&&(ie.key.type==="Identifier"&&h(ie.key.name)||ie.key.type==="Literal"&&h(String(ie.key.value)))||!V(ie.value))return!1}return!0;case"CallExpression":case"NewExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"ThisExpression":case"AssignmentExpression":case"UpdateExpression":case"SequenceExpression":case"TemplateLiteral":case"TemplateElement":case"TaggedTemplateExpression":case"ReturnStatement":case"ExpressionStatement":return!1;default:return!1}}return V(F)}var x=function(){return this.initialize.apply(this,arguments)};x.prototype.initialize=function(){this.traverse=C(!0),this.descend=C()},x.prototype.keys=Object.keys,x.prototype.resolve=function(F){var V=[F.operation,F.scope,F.expression.type].join("-"),W=this._fns[V];if(!W)throw new Error("couldn't resolve key: "+V);return W.bind(this)},x.prototype.register=function(F,V){if(!V instanceof Function)throw new Error("handler must be a function");this._fns[F]=V},x.prototype._fns={"member-child-identifier":function(F,V){var W=F.expression.value,Z=V.value;if(Z instanceof Object&&W in Z)return[{value:Z[W],path:V.path.concat(W)}]},"member-descendant-identifier":k(function(F,V,W){return F==W}),"subscript-child-numeric_literal":P(function(F,V,W){return F===W}),"member-child-numeric_literal":P(function(F,V,W){return String(F)===String(W)}),"subscript-descendant-numeric_literal":k(function(F,V,W){return F===W}),"member-child-wildcard":P(function(){return!0}),"member-descendant-wildcard":k(function(){return!0}),"subscript-descendant-wildcard":k(function(){return!0}),"subscript-child-wildcard":P(function(){return!0}),"subscript-child-slice":function(F,V){if(E(V.value)){var W=F.expression.value.split(":").map($),Z=V.value.map(function(J,ie){return{value:J,path:V.path.concat(ie)}});return u.apply(null,[Z].concat(W))}},"subscript-child-union":function(F,V){var W=[];return F.expression.value.forEach(function(Z){var J={operation:"subscript",scope:"child",expression:Z.expression},ie=this.resolve(J),le=ie(J,V);le&&(W=W.concat(le))},this),B(W)},"subscript-descendant-union":function(F,V,W){var Z=r(".."),J=this,ie=[],le=Z.nodes(V,"$..*").slice(1);return le.forEach(function(he){ie.length>=W||F.expression.value.forEach(function(me){var je={operation:"subscript",scope:"child",expression:me.expression},Fe=J.resolve(je),Je=Fe(je,he);ie=ie.concat(Je)})}),B(ie)},"subscript-child-filter_expression":function(F,V,W){var Z=F.expression.value.slice(2,-1),J=i.parse(Z).body[0].expression,ie=function(le,he){return D(J,{"@":he})};return this.descend(V,null,ie,W)},"subscript-descendant-filter_expression":function(F,V,W){var Z=F.expression.value.slice(2,-1),J=i.parse(Z).body[0].expression,ie=function(le,he){return D(J,{"@":he})};return this.traverse(V,null,ie,W)},"subscript-child-script_expression":function(F,V){var W=F.expression.value.slice(1,-1);return T(V,W,"$[{{value}}]")},"member-child-script_expression":function(F,V){var W=F.expression.value.slice(1,-1);return T(V,W,"$.{{value}}")},"member-descendant-script_expression":function(F,V){var W=F.expression.value.slice(1,-1);return T(V,W,"$..value")}},x.prototype._fns["subscript-child-string_literal"]=x.prototype._fns["member-child-identifier"],x.prototype._fns["member-descendant-numeric_literal"]=x.prototype._fns["subscript-descendant-string_literal"]=x.prototype._fns["member-descendant-identifier"];function T(F,V,W){var Z=r("./index"),J=i.parse(V).body[0].expression,ie=D(J,{"@":F.value}),le=W.replace(/\{\{\s*value\s*\}\}/g,ie),he=Z.nodes(F.value,le);return he.forEach(function(me){me.path=F.path.concat(me.path.slice(1))}),he}function E(F){return Array.isArray(F)}function _(F){return F&&!(F instanceof Array)&&F instanceof Object}function C(F){return function(V,W,Z,J){var ie=V.value,le=V.path,he=[],me=function(je,Fe){E(je)?(je.forEach(function(Je,Xe){he.length>=J||Z(Xe,Je,W)&&he.push({path:Fe.concat(Xe),value:Je})}),je.forEach(function(Je,Xe){he.length>=J||F&&me(Je,Fe.concat(Xe))})):_(je)&&(this.keys(je).forEach(function(Je){he.length>=J||Z(Je,je[Je],W)&&he.push({path:Fe.concat(Je),value:je[Je]})}),this.keys(je).forEach(function(Je){he.length>=J||F&&me(je[Je],Fe.concat(Je))}))}.bind(this);return me(ie,le),he}}function P(F){return function(V,W,Z){return this.descend(W,V.expression.value,F,Z)}}function k(F){return function(V,W,Z){return this.traverse(W,V.expression.value,F,Z)}}function D(F,V){if(!v(F))throw new Error("Unsafe expression: script and filter expressions may only access the current node (@) with safe property names");try{return l(F,V)}catch{}}function B(F){return F=F.filter(function(V){return V}),m(F,function(V){return V.path.map(function(W){return String(W).replace("-","--")}).join("-")})}function $(F){var V=String(F);return V.match(/^-?[0-9]+$/)?parseInt(V):null}a.exports=x},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(r,a,s){var i=r("assert"),u=r("./dict"),l=r("./parser"),m=r("./handlers"),g=function(){this.initialize.apply(this,arguments)};g.prototype.initialize=function(){this.parser=new l,this.handlers=new m},g.prototype.parse=function(T){return i.ok(h(T),"we need a path"),this.parser.parse(T)},g.prototype.parent=function(T,E){i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path");var _=this.nodes(T,E)[0];_&&this._assert_safe_path_keys(_.path);var C=_.path.pop();return this.value(T,_.path)},g.prototype.apply=function(T,E,_){i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path"),i.equal(typeof _,"function","fn needs to be function");var C=this.nodes(T,E).sort(function(P,k){return k.path.length-P.path.length});
626return C.forEach(function(P){this._assert_safe_path_keys(P.path);var k=P.path.pop(),D=this.value(T,this.stringify(P.path)),B=P.value=_.call(T,D[k]);D[k]=B},this),C},g.prototype.value=function(T,E,_){if(i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path"),arguments.length>=3){var C=this.nodes(T,E).shift();if(!C)return this._vivify(T,E,_);this._assert_safe_path_keys(C.path);var P=C.path.slice(-1).shift(),k=this.parent(T,this.stringify(C.path));k[P]=_}return this.query(T,this.stringify(E),1).shift()},g.prototype._vivify=function(T,E,_){var C=this;i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path");var P=this.parser.parse(E).map(function(D){return D.expression.value});this._assert_safe_path_keys(P);var k=function(D,B){var $=D.pop(),F=C.value(T,D);F||(k(D.concat(),typeof $=="string"?{}:[]),F=C.value(T,D)),C._assert_safe_key($),F[$]=B};return k(P,_),this.query(T,E)[0]},g.prototype.query=function(T,E,_){i.ok(T instanceof Object,"obj needs to be an object"),i.ok(h(E),"we need a path");var C=this.nodes(T,E,_).map(function(P){return P.value});return C},g.prototype.paths=function(T,E,_){i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path");var C=this.nodes(T,E,_).map(function(P){return P.path});return C},g.prototype.nodes=function(T,E,_){if(i.ok(T instanceof Object,"obj needs to be an object"),i.ok(E,"we need a path"),_===0)return[];var C=this.parser.parse(E);this._assert_safe_components(C);var P=this.handlers,k=[{path:["$"],value:T}],D=[];return C.length&&C[0].expression.type=="root"&&C.shift(),C.length?(C.forEach(function(B,$){if(!(D.length>=_)){var F=P.resolve(B),V=[];k.forEach(function(W){if(!(D.length>=_)){var Z=F(B,W,_);$==C.length-1?D=D.concat(Z||[]):V=V.concat(Z||[])}}),k=V}}),_?D.slice(0,_):D):k},g.prototype.stringify=function(T){i.ok(T,"we need a path");var E="$",_={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return T=this._normalize(T),T.forEach(function(C){if(C.expression.type!="root"){var P=[C.scope,C.operation].join("-"),k=_[P],D;if(C.expression.type=="string_literal"?D=JSON.stringify(C.expression.value):D=C.expression.value,!k)throw new Error("couldn't find template "+P);E+=k.replace(/{{value}}/,D)}}),E},g.prototype._normalize=function(T){if(i.ok(T,"we need a path"),typeof T=="string")return this.parser.parse(T);if(Array.isArray(T)&&typeof T[0]=="string"){var E=[{expression:{type:"root",value:"$"}}];return T.forEach(function(_,C){if(!(_=="$"&&C===0))if(typeof _=="string"&&_.match("^"+u.identifier+"$"))this._assert_safe_key(_),E.push({operation:"member",scope:"child",expression:{value:_,type:"identifier"}});else{var P=typeof _=="number"?"numeric_literal":"string_literal";P==="string_literal"&&this._assert_safe_key(_),E.push({operation:"subscript",scope:"child",expression:{value:_,type:P}})}},this),E}else if(Array.isArray(T)&&typeof T[0]=="object")return T;throw new Error("couldn't understand path "+T)},g.prototype._assert_safe_key=function(T){if(v(T))throw new Error("Unsafe key in JSONPath: "+T)},g.prototype._assert_safe_path_keys=function(T){Array.isArray(T)&&T.forEach(function(E){E!=="$"&&typeof E=="string"&&this._assert_safe_key(E)},this)},g.prototype._assert_safe_components=function(T){var E=this;if(Array.isArray(T)){var _=function(C){if(C){if(C.type==="identifier"||C.type==="string_literal"){E._assert_safe_key(C.value);return}C.type==="union"&&Array.isArray(C.value)&&C.value.forEach(function(P){P&&P.expression&&_(P.expression)})}};T.forEach(function(C){C&&C.expression&&_(C.expression)})}};function h(T){return Object.prototype.toString.call(T)=="[object String]"}function v(T){return T==="__proto__"||T==="prototype"||T==="constructor"}g.Handlers=m,g.Parser=l;var x=new g;x.JSONPath=g,a.exports=x},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(r,a,s){var i=r("./grammar"),u=r("../generated/parser"),l=function(){var m=new u.Parser,g=m.parseError;return m.yy.parseError=function(){m.yy.ast&&m.yy.ast.initialize(),g.apply(m,arguments)},m};l.grammar=i,a.exports=l},{"../generated/parser":1,"./grammar":3}],7:[function(r,a,s){a.exports=function(u,l,m,g){if(typeof l=="string")throw new Error("start cannot be a string");if(typeof m=="string")throw new Error("end cannot be a string");if(typeof g=="string")throw new Error("step cannot be a string");var h=u.length;if(g===0)throw new Error("step cannot be zero");if(g=g?i(g):1,l=l<0?h+l:l,m=m<0?h+m:m,l=i(l===0?0:l||(g>0?0:h-1)),m=i(m===0?0:m||(g>0?h:-1)),l=g>0?Math.max(0,l):Math.min(h,l),m=g>0?Math.min(m,h):Math.max(-1,m),g>0&&m<=l)return[];if(g<0&&l<=m)return[];for(var v=[],x=l;x!=m&&!(g<0&&x<=m||g>0&&x>=m);x+=g)v.push(u[x]);return v};function i(u){return String(u).match(/^[0-9]+$/)?parseInt(u):Number.isFinite(u)?parseInt(u,10):0}},{}],8:[function(r,a,s){var i=r("util/"),u=Array.prototype.slice,l=Object.prototype.hasOwnProperty,m=a.exports=T;m.AssertionError=function($){this.name="AssertionError",this.actual=$.actual,this.expected=$.expected,this.operator=$.operator,$.message?(this.message=$.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var F=$.stackStartFunction||x;if(Error.captureStackTrace)Error.captureStackTrace(this,F);else{var V=new Error;if(V.stack){var W=V.stack,Z=F.name,J=W.indexOf(` 627`+Z);if(J>=0){var ie=W.indexOf(` 628`,J+1);W=W.substring(ie+1)}this.stack=W}}},i.inherits(m.AssertionError,Error);function g(B,$){return i.isUndefined($)?""+$:i.isNumber($)&&!isFinite($)||i.isFunction($)||i.isRegExp($)?$.toString():$}function h(B,$){return i.isString(B)?B.length<$?B:B.slice(0,$):B}function v(B){return h(JSON.stringify(B.actual,g),128)+" "+B.operator+" "+h(JSON.stringify(B.expected,g),128)}function x(B,$,F,V,W){throw new m.AssertionError({message:F,actual:B,expected:$,operator:V,stackStartFunction:W})}m.fail=x;function T(B,$){B||x(B,!0,$,"==",m.ok)}m.ok=T,m.equal=function($,F,V){$!=F&&x($,F,V,"==",m.equal)},m.notEqual=function($,F,V){$==F&&x($,F,V,"!=",m.notEqual)},m.deepEqual=function($,F,V){E($,F)||x($,F,V,"deepEqual",m.deepEqual)};function E(B,$){if(B===$)return!0;
628if(i.isBuffer(B)&&i.isBuffer($)){if(B.length!=$.length)return!1;for(var F=0;F<B.length;F++)if(B[F]!==$[F])return!1;return!0}else return i.isDate(B)&&i.isDate($)?B.getTime()===$.getTime():i.isRegExp(B)&&i.isRegExp($)?B.source===$.source&&B.global===$.global&&B.multiline===$.multiline&&B.lastIndex===$.lastIndex&&B.ignoreCase===$.ignoreCase:!i.isObject(B)&&!i.isObject($)?B==$:C(B,$)}function _(B){return Object.prototype.toString.call(B)=="[object Arguments]"}function C(B,$){if(i.isNullOrUndefined(B)||i.isNullOrUndefined($)||B.prototype!==$.prototype)return!1;if(i.isPrimitive(B)||i.isPrimitive($))return B===$;var F=_(B),V=_($);if(F&&!V||!F&&V)return!1;if(F)return B=u.call(B),$=u.call($),E(B,$);var W=D(B),Z=D($),J,ie;if(W.length!=Z.length)return!1;for(W.sort(),Z.sort(),ie=W.length-1;ie>=0;ie--)if(W[ie]!=Z[ie])return!1;for(ie=W.length-1;ie>=0;ie--)if(J=W[ie],!E(B[J],$[J]))return!1;return!0}m.notDeepEqual=function($,F,V){E($,F)&&x($,F,V,"notDeepEqual",m.notDeepEqual)},m.strictEqual=function($,F,V){$!==F&&x($,F,V,"===",m.strictEqual)},m.notStrictEqual=function($,F,V){$===F&&x($,F,V,"!==",m.notStrictEqual)};function P(B,$){return!B||!$?!1:Object.prototype.toString.call($)=="[object RegExp]"?$.test(B):B instanceof $?!0:$.call({},B)===!0}function k(B,$,F,V){var W;i.isString(F)&&(V=F,F=null);try{$()}catch(Z){W=Z}if(V=(F&&F.name?" ("+F.name+").":".")+(V?" "+V:"."),B&&!W&&x(W,F,"Missing expected exception"+V),!B&&P(W,F)&&x(W,F,"Got unwanted exception"+V),B&&W&&F&&!P(W,F)||!B&&W)throw W}m.throws=function(B,$,F){k.apply(this,[!0].concat(u.call(arguments)))},m.doesNotThrow=function(B,$){k.apply(this,[!1].concat(u.call(arguments)))},m.ifError=function(B){if(B)throw B};var D=Object.keys||function(B){var $=[];for(var F in B)l.call(B,F)&&$.push(F);return $}},{"util/":11}],9:[function(r,a,s){typeof Object.create=="function"?a.exports=function(u,l){u.super_=l,u.prototype=Object.create(l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(u,l){u.super_=l;var m=function(){};m.prototype=l.prototype,u.prototype=new m,u.prototype.constructor=u}},{}],10:[function(r,a,s){a.exports=function(u){return u&&typeof u=="object"&&typeof u.copy=="function"&&typeof u.fill=="function"&&typeof u.readUInt8=="function"}},{}],11:[function(r,a,s){(function(i,u){var l=/%[sdj%]/g;s.format=function(ye){if(!Z(ye)){for(var De=[],$e=0;$e<arguments.length;$e++)De.push(h(arguments[$e]));return De.join(" ")}for(var $e=1,qe=arguments,It=qe.length,mt=String(ye).replace(l,function(Ut){if(Ut==="%%")return"%";if($e>=It)return Ut;switch(Ut){case"%s":return String(qe[$e++]);case"%d":return Number(qe[$e++]);case"%j":try{return JSON.stringify(qe[$e++])}catch{return"[Circular]"}default:return Ut}}),kt=qe[$e];$e<It;kt=qe[++$e])F(kt)||!he(kt)?mt+=" "+kt:mt+=" "+h(kt);return mt},s.deprecate=function(ye,De){if(ie(u.process))return function(){return s.deprecate(ye,De).apply(this,arguments)};if(i.noDeprecation===!0)return ye;var $e=!1;function qe(){if(!$e){if(i.throwDeprecation)throw new Error(De);i.traceDeprecation?console.trace(De):console.error(De),$e=!0}return ye.apply(this,arguments)}return qe};var m={},g;s.debuglog=function(ye){if(ie(g)&&(g=i.env.NODE_DEBUG||""),ye=ye.toUpperCase(),!m[ye])if(new RegExp("\\b"+ye+"\\b","i").test(g)){var De=i.pid;m[ye]=function(){var $e=s.format.apply(s,arguments);console.error("%s %d: %s",ye,De,$e)}}else m[ye]=function(){};return m[ye]};function h(ye,De){var $e={seen:[],stylize:x};return arguments.length>=3&&($e.depth=arguments[2]),arguments.length>=4&&($e.colors=arguments[3]),$(De)?$e.showHidden=De:De&&s._extend($e,De),ie($e.showHidden)&&($e.showHidden=!1),ie($e.depth)&&($e.depth=2),ie($e.colors)&&($e.colors=!1),ie($e.customInspect)&&($e.customInspect=!0),$e.colors&&($e.stylize=v),E($e,ye,$e.depth)}s.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function v(ye,De){var $e=h.styles[De];return $e?"\x1B["+h.colors[$e][0]+"m"+ye+"\x1B["+h.colors[$e][1]+"m":ye}function x(ye,De){return ye}function T(ye){var De={};return ye.forEach(function($e,qe){De[$e]=!0}),De}function E(ye,De,$e){if(ye.customInspect&&De&&Fe(De.inspect)&&De.inspect!==s.inspect&&!(De.constructor&&De.constructor.prototype===De)){var qe=De.inspect($e,ye);return Z(qe)||(qe=E(ye,qe,$e)),qe}var It=_(ye,De);if(It)return It;var mt=Object.keys(De),kt=T(mt);if(ye.showHidden&&(mt=Object.getOwnPropertyNames(De)),je(De)&&(mt.indexOf("message")>=0||mt.indexOf("description")>=0))return C(De);if(mt.length===0){if(Fe(De)){var Ut=De.name?": "+De.name:"";return ye.stylize("[Function"+Ut+"]","special")}if(le(De))return ye.stylize(RegExp.prototype.toString.call(De),"regexp");if(me(De))return ye.stylize(Date.prototype.toString.call(De),"date");if(je(De))return C(De)}var Ir="",Sr=!1,Yr=["{","}"];if(B(De)&&(Sr=!0,Yr=["[","]"]),Fe(De)){var Gr=De.name?": "+De.name:"";Ir=" [Function"+Gr+"]"}if(le(De)&&(Ir=" "+RegExp.prototype.toString.call(De)),me(De)&&(Ir=" "+Date.prototype.toUTCString.call(De)),je(De)&&(Ir=" "+C(De)),mt.length===0&&(!Sr||De.length==0))return Yr[0]+Ir+Yr[1];if($e<0)return le(De)?ye.stylize(RegExp.prototype.toString.call(De),"regexp"):ye.stylize("[Object]","special");ye.seen.push(De);var dn;return Sr?dn=P(ye,De,$e,kt,mt):dn=mt.map(function(Kr){return k(ye,De,$e,kt,Kr,Sr)}),ye.seen.pop(),D(dn,Ir,Yr)}function _(ye,De){if(ie(De))return ye.stylize("undefined","undefined");if(Z(De)){var $e="'"+JSON.stringify(De).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ye.stylize($e,"string")}if(W(De))return ye.stylize(""+De,"number");if($(De))return ye.stylize(""+De,"boolean");if(F(De))return ye.stylize("null","null")}function C(ye){return"["+Error.prototype.toString.call(ye)+"]"}function P(ye,De,$e,qe,It){for(var mt=[],kt=0,Ut=De.length;kt<Ut;++kt)Re(De,String(kt))?mt.push(k(ye,De,$e,qe,String(kt),!0)):mt.push("");return It.forEach(function(Ir){Ir.match(/^\d+$/)||mt.push(k(ye,De,$e,qe,Ir,!0))}),mt}function k(ye,De,$e,qe,It,mt){var kt,Ut,Ir;if(Ir=Object.getOwnPropertyDescriptor(De,It)||{value:De[It]},Ir.get?Ir.set?Ut=ye.stylize("[Getter/Setter]","special"):Ut=ye.stylize("[Getter]","special"):Ir.set&&(Ut=ye.stylize("[
628Setter]","special")),Re(qe,It)||(kt="["+It+"]"),Ut||(ye.seen.indexOf(Ir.value)<0?(F($e)?Ut=E(ye,Ir.value,null):Ut=E(ye,Ir.value,$e-1),Ut.indexOf(` 629`)>-1&&(mt?Ut=Ut.split(` 630`).map(function(Sr){return" "+Sr}).join(` 631`).substr(2):Ut=` 632`+Ut.split(` 633`).map(function(Sr){return" "+Sr}).join(` 634`))):Ut=ye.stylize("[Circular]","special")),ie(kt)){if(mt&&It.match(/^\d+$/))return Ut;kt=JSON.stringify(""+It),kt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(kt=kt.substr(1,kt.length-2),kt=ye.stylize(kt,"name")):(kt=kt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),kt=ye.stylize(kt,"string"))}return kt+": "+Ut}function D(ye,De,$e){var qe=0,It=ye.reduce(function(mt,kt){return qe++,kt.indexOf(` 635`)>=0&&qe++,mt+kt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return It>60?$e[0]+(De===""?"":De+` 636 `)+" "+ye.join(`, 637 `)+" "+$e[1]:$e[0]+De+" "+ye.join(", ")+" "+$e[1]}function B(ye){return Array.isArray(ye)}s.isArray=B;function $(ye){return typeof ye=="boolean"}s.isBoolean=$;function F(ye){return ye===null}s.isNull=F;function V(ye){return ye==null}s.isNullOrUndefined=V;function W(ye){return typeof ye=="number"}s.isNumber=W;function Z(ye){return typeof ye=="string"}s.isString=Z;function J(ye){return typeof ye=="symbol"}s.isSymbol=J;function ie(ye){return ye===void 0}s.isUndefined=ie;function le(ye){return he(ye)&&Xe(ye)==="[object RegExp]"}s.isRegExp=le;function he(ye){return typeof ye=="object"&&ye!==null}s.isObject=he;function me(ye){return he(ye)&&Xe(ye)==="[object Date]"}s.isDate=me;function je(ye){return he(ye)&&(Xe(ye)==="[object Error]"||ye instanceof Error)}s.isError=je;function Fe(ye){return typeof ye=="function"}s.isFunction=Fe;function Je(ye){return ye===null||typeof ye=="boolean"||typeof ye=="number"||typeof ye=="string"||typeof ye=="symbol"||typeof ye>"u"}s.isPrimitive=Je,s.isBuffer=r("./support/isBuffer");function Xe(ye){return Object.prototype.toString.call(ye)}function ge(ye){return ye<10?"0"+ye.toString(10):ye.toString(10)}var be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ie(){var ye=new Date,De=[ge(ye.getHours()),ge(ye.getMinutes()),ge(ye.getSeconds())].join(":");return[ye.getDate(),be[ye.getMonth()],De].join(" ")}s.log=function(){console.log("%s - %s",Ie(),s.format.apply(s,arguments))},s.inherits=r("inherits"),s._extend=function(ye,De){if(!De||!he(De))return ye;for(var $e=Object.keys(De),qe=$e.length;qe--;)ye[$e[qe]]=De[$e[qe]];return ye};function Re(ye,De){return Object.prototype.hasOwnProperty.call(ye,De)}}).call(this,r("_process"),typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(r,a,s){},{}],13:[function(r,a,s){(function(i){function u(h,v){for(var x=0,T=h.length-1;T>=0;T--){var E=h[T];E==="."?h.splice(T,1):E===".."?(h.splice(T,1),x++):x&&(h.splice(T,1),x--)}if(v)for(;x--;x)h.unshift("..");return h}s.resolve=function(){for(var h="",v=!1,x=arguments.length-1;x>=-1&&!v;x--){var T=x>=0?arguments[x]:i.cwd();if(typeof T!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!T)continue;h=T+"/"+h,v=T.charAt(0)==="/"}return h=u(m(h.split("/"),function(E){return!!E}),!v).join("/"),(v?"/":"")+h||"."},s.normalize=function(h){var v=s.isAbsolute(h),x=g(h,-1)==="/";return h=u(m(h.split("/"),function(T){return!!T}),!v).join("/"),!h&&!v&&(h="."),h&&x&&(h+="/"),(v?"/":"")+h},s.isAbsolute=function(h){return h.charAt(0)==="/"},s.join=function(){var h=Array.prototype.slice.call(arguments,0);return s.normalize(m(h,function(v,x){if(typeof v!="string")throw new TypeError("Arguments to path.join must be strings");return v}).join("/"))},s.relative=function(h,v){h=s.resolve(h).substr(1),v=s.resolve(v).substr(1);function x(D){for(var B=0;B<D.length&&D[B]==="";B++);for(var $=D.length-1;$>=0&&D[$]==="";$--);return B>$?[]:D.slice(B,$-B+1)}for(var T=x(h.split("/")),E=x(v.split("/")),_=Math.min(T.length,E.length),C=_,P=0;P<_;P++)if(T[P]!==E[P]){C=P;break}for(var k=[],P=C;P<T.length;P++)k.push("..");return k=k.concat(E.slice(C)),k.join("/")},s.sep="/",s.delimiter=":",s.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";
637for(var v=h.charCodeAt(0),x=v===47,T=-1,E=!0,_=h.length-1;_>=1;--_)if(v=h.charCodeAt(_),v===47){if(!E){T=_;break}}else E=!1;return T===-1?x?"/":".":x&&T===1?"/":h.slice(0,T)};function l(h){typeof h!="string"&&(h=h+"");var v=0,x=-1,T=!0,E;for(E=h.length-1;E>=0;--E)if(h.charCodeAt(E)===47){if(!T){v=E+1;break}}else x===-1&&(T=!1,x=E+1);return x===-1?"":h.slice(v,x)}s.basename=function(h,v){var x=l(h);return v&&x.substr(-1*v.length)===v&&(x=x.substr(0,x.length-v.length)),x},s.extname=function(h){typeof h!="string"&&(h=h+"");for(var v=-1,x=0,T=-1,E=!0,_=0,C=h.length-1;C>=0;--C){var P=h.charCodeAt(C);if(P===47){if(!E){x=C+1;break}continue}T===-1&&(E=!1,T=C+1),P===46?v===-1?v=C:_!==1&&(_=1):v!==-1&&(_=-1)}return v===-1||T===-1||_===0||_===1&&v===T-1&&v===x+1?"":h.slice(v,T)};function m(h,v){if(h.filter)return h.filter(v);for(var x=[],T=0;T<h.length;T++)v(h[T],T,h)&&x.push(h[T]);return x}var g=function(h,v,x){return h.substr(v,x)}}).call(this,r("_process"))},{_process:14}],14:[function(r,a,s){var i=a.exports={},u,l;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?u=setTimeout:u=m}catch{u=m}try{typeof clearTimeout=="function"?l=clearTimeout:l=g}catch{l=g}})();function h(B){if(u===setTimeout)return setTimeout(B,0);if((u===m||!u)&&setTimeout)return u=setTimeout,setTimeout(B,0);try{return u(B,0)}catch{try{return u.call(null,B,0)}catch{return u.call(this,B,0)}}}function v(B){if(l===clearTimeout)return clearTimeout(B);if((l===g||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(B);try{return l(B)}catch{try{return l.call(null,B)}catch{return l.call(this,B)}}}var x=[],T=!1,E,_=-1;function C(){!T||!E||(T=!1,E.length?x=E.concat(x):_=-1,x.length&&P())}function P(){if(!T){var B=h(C);T=!0;for(var $=x.length;$;){for(E=x,x=[];++_<$;)E&&E[_].run();_=-1,$=x.length}E=null,T=!1,v(B)}}i.nextTick=function(B){var $=new Array(arguments.length-1);if(arguments.length>1)for(var F=1;F<arguments.length;F++)$[F-1]=arguments[F];x.push(new k(B,$)),x.length===1&&!T&&h(P)};function k(B,$){this.fun=B,this.array=$}k.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function D(){}i.on=D,i.addListener=D,i.once=D,i.off=D,i.removeListener=D,i.removeAllListeners=D,i.emit=D,i.prependListener=D,i.prependOnceListener=D,i.listeners=function(B){return[]},i.binding=function(B){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(B){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],15:[function(r,a,s){var i=r("escodegen").generate;a.exports=function(l,m,g){g||(g={});var h=!g.allowAccessToMethodsOnFunctions;m||(m={});var v={},x=(function T(E,_){if(E.type==="Literal")return E.value;if(E.type==="UnaryExpression"){var C=T(E.argument,_);return E.operator==="+"?+C:E.operator==="-"?-C:E.operator==="~"?~C:E.operator==="!"?!C:v}else if(E.type==="ArrayExpression"){for(var P=[],k=0,D=E.elements.length;k<D;k++){var B=T(E.elements[k],_);if(B===v)return v;P.push(B)}return P}else if(E.type==="ObjectExpression"){for(var $={},k=0;k<E.properties.length;k++){var F=E.properties[k],V=F.value===null?F.value:T(F.value,_);if(V===v)return v;$[F.key.value||F.key.name]=V}return $}else if(E.type==="BinaryExpression"||E.type==="LogicalExpression"){var W=E.operator;if(W==="&&"){var D=T(E.left);if(D===v)return v;if(!D)return D;var Z=T(E.right);return Z===v?v:Z}else if(W==="||"){var D=T(E.left);if(D===v)return v;if(D)return D;var Z=T(E.right);return Z===v?v:Z}var D=T(E.left,_);if(D===v)return v;var Z=T(E.right,_);return Z===v?v:W==="=="?D==Z:W==="==="?D===Z:W==="!="?D!=Z:W==="!=="?D!==Z:W==="+"?D+Z:W==="-"?D-Z:W==="*"?D*Z:W==="/"?D/Z:W==="%"?D%Z:W==="<"?D<Z:W==="<="?D<=Z:W===">"?D>Z:W===">="?D>=Z:W==="|"?D|Z:W==="&"?D&Z:W==="^"?D^Z:v}else{if(E.type==="Identifier")return{}.hasOwnProperty.call(m,E.name)?m[E.name]:v;if(E.type==="ThisExpression")return{}.hasOwnProperty.call(m,"this")?m.this:v;if(E.type==="CallExpression"){var J=T(E.callee,_);if(J===v||typeof J!="function")return v;var ie=E.callee.object?T(E.callee.object,_):v;ie===v&&(ie=null);for(var le=[],k=0,D=E.arguments.length;k<D;k++){var B=T(E.arguments[k],_);if(B===v)return v;le.push(B)}return _?void 0:J.apply(ie,le)}else if(E.type==="MemberExpression"){var $=T(E.object,_);if($===v||typeof $=="function"&&h)return v;if(E.property.type==="Identifier"&&!E.computed)return u(E.property.name)?v:$[E.property.name];var F=T(E.property,_);return F===null||F===v||u(F)?v:$[F]}else if(E.type==="ConditionalExpression"){var C=T(E.test,_);return C===v?v:C?T(E.consequent):T(E.alternate,_)}else if(E.type==="ExpressionStatement"){var C=T(E.expression,_);return C===v?v:C}else{if(E.type==="ReturnStatement")return T(E.argument,_);if(E.type==="FunctionExpression"){var he=E.body.body,me={};Object.keys(m).forEach(function(ye){me[ye]=m[ye]});for(var k=0;k<E.params.length;k++){var je=E.params[k];if(je.type=="Identifier")m[je.name]=null;else return v}for(var k in he)if(T(he[k],!0)===v)return v;m=me;var Fe=Object.keys(m),Je=Fe.map(function(ye){return m[ye]});return Function(Fe.join(", "),"return "+i(E)).apply(null,Je)}else if(E.type==="TemplateLiteral"){for(var Xe="",k=0;k<E.expressions.length;k++)Xe+=T(E.quasis[k],_),Xe+=T(E.expressions[k],_);return Xe+=T(E.quasis[k],_),Xe}else if(E.type==="TaggedTemplateExpression"){var ge=T(E.tag,_),be=E.quasi,Ie=be.quasis.map(T),Re=be.expressions.map(T);return ge.apply(null,[Ie].concat(Re))}else return E.type==="TemplateElement"?E.value.cooked:v}}})(l);return x===v?void 0:x};function u(l){return l==="constructor"||l==="__proto__"}},{escodegen:12}],jsonpath:[function(r,a,s){a.exports=r("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})},58908(f){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
637+/=";function e(r){this.message=r}e.prototype=new Error,e.prototype.name="InvalidCharacterError";function n(r){var a=String(r).replace(/=+$/,"");if(a.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var s=0,i,u,l=0,m="";u=a.charAt(l++);~u&&(i=s%4?i*64+u:u,s++%4)?m+=String.fromCharCode(255&i>>(-2*s&6)):0)u=d.indexOf(u);return m}f.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||n},68198(f,d,e){var n=e(58908);function r(a){return decodeURIComponent(n(a).replace(/(.)/g,function(s,i){var u=i.charCodeAt(0).toString(16).toUpperCase();return u.length<2&&(u="0"+u),"%"+u}))}f.exports=function(a){var s=a.replace(/-/g,"+").replace(/_/g,"/");switch(s.length%4){case 0:break;case 2:s+="==";break;case 3:s+="=";break;default:throw"Illegal base64url string!"}try{return r(s)}catch{return n(s)}}},49118(f,d,e){"use strict";var n=e(68198);function r(a){this.message=a}r.prototype=new Error,r.prototype.name="InvalidTokenError",f.exports=function(a,s){if(typeof a!="string")throw new r("Invalid token specified");s=s||{};var i=s.header===!0?0:1;try{return JSON.parse(n(a.split(".")[i]))}catch(u){throw new r("Invalid token specified: "+u.message)}},f.exports.InvalidTokenError=r},42965(f,d,e){f.exports=e(3739)},3739(f,d){var e;e=3,e=6,e=8,d.KEY_TAB=9,e=12,d.KEY_RETURN=13,e=14,e=16,e=17,e=18,e=19,e=20,d.KEY_ESCAPE=27,d.KEY_SPACE=32,e=33,e=34,d.KEY_END=35,d.KEY_HOME=36,d.KEY_LEFT=37,d.KEY_UP=38,d.KEY_RIGHT=39,d.KEY_DOWN=40,e=44,e=45,e=46,e=48,e=49,e=50,e=51,e=52,e=53,e=54,e=55,e=56,e=57,e=59,e=61,e=65,e=66,e=67,e=68,e=69,e=70,e=71,e=72,e=73,e=74,e=75,e=76,e=77,e=78,e=79,e=80,e=81,e=82,e=83,e=84,e=85,e=86,e=87,e=88,e=89,e=90,e=91,e=93,e=93,e=96,e=97,e=98,e=99,e=100,e=101,e=102,e=103,e=104,e=105,e=106,e=107,e=108,e=109,e=110,e=111,e=112,e=113,e=114,e=115,e=116,e=117,e=118,e=119,e=120,e=121,e=122,e=123,e=124,e=125,e=126,e=127,e=128,e=129,e=130,e=131,e=132,e=133,e=134,e=135,e=144,e=145,e=188,e=190,e=191,e=192,e=219,e=220,e=221,e=222,e=224},19526(f){"use strict";var d=function(e){var n={},r;if(!(e instanceof Object&&!Array.isArray(e)))throw new Error("keyMirror(...): Argument must be an object.");for(r in e)e.hasOwnProperty(r)&&(n[r]=r);return n};f.exports=d},55595(f){function d(E,_,C){switch(C.length){case 0:return E.call(_);case 1:return E.call(_,C[0]);case 2:return E.call(_,C[0],C[1]);case 3:return E.call(_,C[0],C[1],C[2])}return E.apply(_,C)}function e(E,_){for(var C=-1,P=E?E.length:0,k=Array(P);++C<P;)k[C]=_(E[C],C,E);return k}function n(E,_,C,P){for(var k=E.length,D=C+(P?1:-1);P?D--:++D<k;)if(_(E[D],D,E))return D;return-1}function r(E,_,C){if(_!==_)return n(E,s,C);for(var P=C-1,k=E.length;++P<k;)if(E[P]===_)return P;return-1}function a(E,_,C,P){for(var k=C-1,D=E.length;++k<D;)if(P(E[k],_))return k;return-1}function s(E){return E!==E}function i(E){return function(_){return E(_)}}var u=Array.prototype,l=u.splice,m=Math.max;function g(E,_,C,P){var k=P?a:r,D=-1,B=_.length,$=E;for(E===_&&(_=v(_)),C&&($=e(E,i(C)));++D<B;)for(var F=0,V=_[D],W=C?C(V):V;(F=k($,W,F,P))>-1;)$!==E&&l.call($,F,1),l.call(E,F,1);return E}function h(E,_){return _=m(_===void 0?E.length-1:_,0),function(){for(var C=arguments,P=-1,k=m(C.length-_,0),D=Array(k);++P<k;)D[P]=C[_+P];P=-1;for(var B=Array(_+1);++P<_;)B[P]=C[P];return B[_]=D,d(E,this,B)}}function v(E,_){var C=-1,P=E.length;for(_||(_=Array(P));++C<P;)_[C]=E[C];return _}var x=h(T);function T(E,_){return E&&E.length&&_&&_.length?g(E,_):E}f.exports=x},17128(f){var d="Expected a function",e=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,i=/^0o[0-7]+$/i,u=parseInt,l=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,m=typeof self=="object"&&self&&self.Object===Object&&self,g=l||m||Function("return this")(),h=Object.prototype,v=h.toString,x=Math.max,T=Math.min,E=function(){return g.Date.now()};function _($,F,V){var W,Z,J,ie,le,he,me=0,je=!1,Fe=!1,Je=!0;if(typeof $!="function")throw new TypeError(d);F=B(F)||0,P(V)&&(je=!!V.leading,Fe="maxWait"in V,J=Fe?x(B(V.maxWait)||0,F):J,Je="trailing"in V?!!V.trailing:Je);function Xe(It){var mt=W,kt=Z;return W=Z=void 0,me=It,ie=$.apply(kt,mt),ie}function ge(It){return me=It,le=setTimeout(Re,F),je?Xe(It):ie}function be(It){var mt=It-he,kt=It-me,Ut=F-mt;return Fe?T(Ut,J-kt):Ut}function Ie(It){var mt=It-he,kt=It-me;return he===void 0||mt>=F||mt<0||Fe&&kt>=J}function Re(){var It=E();if(Ie(It))return ye(It);le=setTimeout(Re,be(It))}function ye(It){return le=void 0,Je&&W?Xe(It):(W=Z=void 0,ie)}function De(){le!==void 0&&clearTimeout(le),me=0,W=he=Z=le=void 0}function $e(){return le===void 0?ie:ye(E())}function qe(){var It=E(),mt=Ie(It);if(W=arguments,Z=this,he=It,mt){if(le===void 0)return ge(he);if(Fe)return le=setTimeout(Re,F),Xe(he)}return le===void 0&&(le=setTimeout(Re,F)),ie}return qe.cancel=De,qe.flush=$e,qe}function C($,F,V){var W=!0,Z=!0;if(typeof $!="function")throw new TypeError(d);return P(V)&&(W="leading"in V?!!V.leading:W,Z="trailing"in V?!!V.trailing:Z),_($,F,{leading:W,maxWait:F,trailing:Z})}function P($){var F=typeof $;return!!$&&(F=="object"||F=="function")}function k($){return!!$&&typeof $=="object"}function D($){return typeof $=="symbol"||k($)&&v.call($)==n}function B($){if(typeof $=="number")return $;if(D($))return e;if(P($)){var F=typeof $.valueOf=="function"?$.valueOf():$;$=P(F)?F+"":F}if(typeof $!="string")return $===0?$:+$;$=$.replace(r,"");var V=s.test($);return V||i.test($)?u($.slice(2),V?2:8):a.test($)?e:+$}f.exports=C},38962(f,d,e){var n=e(45676),r=e(12087),a=n(r,"DataView");f.exports=a},62247(f,d,e){var n=e(83342),r=e(36296),a=e(37771),s=e(43751),i=e(32911);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,f.exports=u},11117(f,d,e){var n=e(84976),r=e(5846),a=e(28673),s=e(63309),i=e(97701);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,f.exports=u},76777(f,d,e){var n=e(45676),r=e(12087),a=n(r,"Map");f.exports=a},48211(f,d,e){var n=e(63474),r=e(89508),a=e(65687),s=e(63755),i=e(56627);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,f.exports=u},35914(f,d,e){var n=e(45676),r=e(12087),a=n(r,"Promise");f.exports=a},316(f,d,e){var n=e(45676),r=e(12087),a=n(r,"Set");f.exports=a},52877(f,d,e){var n=e(48211),r=e(54642),a=e(80013);function s(i){var u=-1,l=i==null?0:i.length;for(this.__data__=new n;++u<l;)this.add(i[u])}
vendor: 4,628 bytes, line 637
637s.prototype.add=s.prototype.push=r,s.prototype.has=a,f.exports=s},36815(f,d,e){var n=e(11117),r=e(79126),a=e(43072),s=e(51651),i=e(14255),u=e(615);function l(m){var g=this.__data__=new n(m);this.size=g.size}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=s,l.prototype.has=i,l.prototype.set=u,f.exports=l},63051(f,d,e){var n=e(12087),r=n.Symbol;f.exports=r},57529(f,d,e){var n=e(12087),r=n.Uint8Array;f.exports=r},82593(f,d,e){var n=e(45676),r=e(12087),a=n(r,"WeakMap");f.exports=a},75623(f){function d(e,n){for(var r=-1,a=e==null?0:e.length;++r<a&&n(e[r],r,e)!==!1;);return e}f.exports=d},72924(f){function d(e,n){for(var r=-1,a=e==null?0:e.length,s=0,i=[];++r<a;){var u=e[r];n(u,r,e)&&(i[s++]=u)}return i}f.exports=d},61965(f,d,e){var n=e(76790),r=e(20722),a=e(42759),s=e(84698),i=e(75283),u=e(24361),l=Object.prototype,m=l.hasOwnProperty;function g(h,v){var x=a(h),T=!x&&r(h),E=!x&&!T&&s(h),_=!x&&!T&&!E&&u(h),C=x||T||E||_,P=C?n(h.length,String):[],k=P.length;for(var D in h)(v||m.call(h,D))&&!(C&&(D=="length"||E&&(D=="offset"||D=="parent")||_&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||i(D,k)))&&P.push(D);return P}f.exports=g},90450(f){function d(e,n){for(var r=-1,a=e==null?0:e.length,s=Array(a);++r<a;)s[r]=n(e[r],r,e);return s}f.exports=d},87278(f){function d(e,n){for(var r=-1,a=n.length,s=e.length;++r<a;)e[s+r]=n[r];return e}f.exports=d},58268(f){function d(e,n,r,a){var s=-1,i=e==null?0:e.length;for(a&&i&&(r=e[++s]);++s<i;)r=n(r,e[s],s,e);return r}f.exports=d},625(f,d,e){var n=e(20113),r=e(7768);function a(s){return r(n(s))}f.exports=a},27962(f){function d(e,n){for(var r=-1,a=e==null?0:e.length;++r<a;)if(n(e[r],r,e))return!0;return!1}f.exports=d},70581(f,d,e){var n=e(8495),r=n("length");f.exports=r},61332(f){function d(e){return e.split("")}f.exports=d},74051(f){var d=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(n){return n.match(d)||[]}f.exports=e},97033(f,d,e){var n=e(16334),r=e(63806),a=Object.prototype,s=a.hasOwnProperty;function i(u,l,m){var g=u[l];(!(s.call(u,l)&&r(g,m))||m===void 0&&!(l in u))&&n(u,l,m)}f.exports=i},63195(f,d,e){var n=e(63806);function r(a,s){for(var i=a.length;i--;)if(n(a[i][0],s))return i;return-1}f.exports=r},10035(f,d,e){var n=e(26573),r=e(53356);function a(s,i){return s&&n(i,r(i),s)}f.exports=a},26592(f,d,e){var n=e(26573),r=e(17555);function a(s,i){return s&&n(i,r(i),s)}f.exports=a},16334(f,d,e){var n=e(30701);function r(a,s,i){s=="__proto__"&&n?n(a,s,{configurable:!0,enumerable:!0,value:i,writable:!0}):a[s]=i}f.exports=r},70221(f,d,e){var n=e(36815),r=e(75623),a=e(97033),s=e(10035),i=e(26592),u=e(35400),l=e(20113),m=e(15625),g=e(93042),h=e(75852),v=e(9587),x=e(69099),T=e(78659),E=e(45573),_=e(43651),C=e(42759),P=e(84698),k=e(67840),D=e(90823),B=e(65626),$=e(53356),F=e(17555),V=1,W=2,Z=4,J="[object Arguments]",ie="[object Array]",le="[object Boolean]",he="[object Date]",me="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Je="[object Map]",Xe="[object Number]",ge="[object Object]",be="[object RegExp]",Ie="[object Set]",Re="[object String]",ye="[object Symbol]",De="[object WeakMap]",$e="[object ArrayBuffer]",qe="[object DataView]",It="[object Float32Array]",mt="[object Float64Array]",kt="[object Int8Array]",Ut="[object Int16Array]",Ir="[object Int32Array]",Sr="[object Uint8Array]",Yr="[object Uint8ClampedArray]",Gr="[object Uint16Array]",dn="[object Uint32Array]",Kr={};Kr[J]=Kr[ie]=Kr[$e]=Kr[qe]=Kr[le]=Kr[he]=Kr[It]=Kr[mt]=Kr[kt]=Kr[Ut]=Kr[Ir]=Kr[Je]=Kr[Xe]=Kr[ge]=Kr[be]=Kr[Ie]=Kr[Re]=Kr[ye]=Kr[Sr]=Kr[Yr]=Kr[Gr]=Kr[dn]=!0,Kr[me]=Kr[je]=Kr[De]=!1;function yt(tt,Ar,Mr,Er,Ur,or){var An,dr=Ar&V,Xr=Ar&W,hn=Ar&Z;if(Mr&&(An=Ur?Mr(tt,Er,Ur,or):Mr(tt)),An!==void 0)return An;if(!D(tt))return tt;var Qt=C(tt);if(Qt){if(An=T(tt),!dr)return l(tt,An)}else{var Br=x(tt),zt=Br==je||Br==Fe;if(P(tt))return u(tt,dr);if(Br==ge||Br==J||zt&&!Ur){if(An=Xr||zt?{}:_(tt),!dr)return Xr?g(tt,i(An,tt)):m(tt,s(An,tt))}else{if(!Kr[Br])return Ur?tt:{};An=E(tt,Br,dr)}}or||(or=new n);var Tt=or.get(tt);if(Tt)return Tt;or.set(tt,An),B(tt)?tt.forEach(function(ht){An.add(yt(ht,Ar,Mr,ht,tt,or))}):k(tt)&&tt.forEach(function(ht,ur){An.set(ur,yt(ht,Ar,Mr,ur,tt,or))});var Pr=hn?Xr?v:h:Xr?F:$,Y=Qt?void 0:Pr(tt);return r(Y||tt,function(ht,ur){Y&&(ur=ht,ht=tt[ur]),a(An,ur,yt(ht,Ar,Mr,ur,tt,or))}),An}f.exports=yt},8342(f,d,e){var n=e(90823),r=Object.create,a=(function(){function s(){}return function(i){if(!n(i))return{};if(r)return r(i);s.prototype=i;var u=new s;return s.prototype=void 0,u}})();f.exports=a},46017(f){function d(e,n,r,a){for(var s=e.length,i=r+(a?1:-1);a?i--:++i<s;)if(n(e[i],i,e))return i;return-1}f.exports=d}
vendor: 1,295 bytes, line 637
637,64276(f,d,e){var n=e(60207),r=e(66855);function a(s,i){i=n(i,s);for(var u=0,l=i.length;s!=null&&u<l;)s=s[r(i[u++])];return u&&u==l?s:void 0}f.exports=a},75577(f,d,e){var n=e(87278),r=e(42759);function a(s,i,u){var l=i(s);return r(s)?l:n(l,u(s))}f.exports=a},81526(f,d,e){var n=e(63051),r=e(79133),a=e(86760),s="[object Null]",i="[object Undefined]",u=n?n.toStringTag:void 0;function l(m){return m==null?m===void 0?i:s:u&&u in Object(m)?r(m):a(m)}f.exports=l},88463(f){function d(e,n){return e!=null&&n in Object(e)}f.exports=d},94628(f,d,e){var n=e(81526),r=e(89536),a="[object Arguments]";function s(i){return r(i)&&n(i)==a}f.exports=s},99756(f,d,e){var n=e(9522),r=e(89536);function a(s,i,u,l,m){return s===i?!0:s==null||i==null||!r(s)&&!r(i)?s!==s&&i!==i:n(s,i,u,l,a,m)}f.exports=a},9522(f,d,e){var n=e(36815),r=e(49901),a=e(11352),s=e(26259),i=e(69099),u=e(42759),l=e(84698),m=e(24361),g=1,h="[object Arguments]",v="[object Array]",x="[object Object]",T=Object.prototype,E=T.hasOwnProperty;function _(C,P,k,D,B,$){var F=u(C),V=u(P),W=F?v:i(C),Z=V?v:i(P);W=W==h?x:W,Z=Z==h?x:Z;var J=W==x,ie=Z==x,le=W==Z;if(le&&l(C)){if(!l(P))return!1;F=!0,J=!1}if(le&&!J)return $||($=new n),F||m(C)?r(C,P,k,D,B,$):a(C,P,W,k,D,B,$);if(!(k&g)){var he=J&&E.call(C,"__wrapped__"),me=ie&&E.call(P,"__wrapped__");
vendor: 4,163 bytes, line 637
637if(he||me){var je=he?C.value():C,Fe=me?P.value():P;return $||($=new n),B(je,Fe,k,D,$)}}return le?($||($=new n),s(C,P,k,D,B,$)):!1}f.exports=_},28378(f,d,e){var n=e(69099),r=e(89536),a="[object Map]";function s(i){return r(i)&&n(i)==a}f.exports=s},80313(f,d,e){var n=e(36815),r=e(99756),a=1,s=2;function i(u,l,m,g){var h=m.length,v=h,x=!g;if(u==null)return!v;for(u=Object(u);h--;){var T=m[h];if(x&&T[2]?T[1]!==u[T[0]]:!(T[0]in u))return!1}for(;++h<v;){T=m[h];var E=T[0],_=u[E],C=T[1];if(x&&T[2]){if(_===void 0&&!(E in u))return!1}else{var P=new n;if(g)var k=g(_,C,E,u,l,P);if(!(k===void 0?r(C,_,a|s,g,P):k))return!1}}return!0}f.exports=i},56269(f,d,e){var n=e(72864),r=e(26698),a=e(90823),s=e(44219),i=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Function.prototype,m=Object.prototype,g=l.toString,h=m.hasOwnProperty,v=RegExp("^"+g.call(h).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x(T){if(!a(T)||r(T))return!1;var E=n(T)?v:u;return E.test(s(T))}f.exports=x},88575(f,d,e){var n=e(81526),r=e(89536),a="[object RegExp]";function s(i){return r(i)&&n(i)==a}f.exports=s},56224(f,d,e){var n=e(69099),r=e(89536),a="[object Set]";function s(i){return r(i)&&n(i)==a}f.exports=s},70743(f,d,e){var n=e(81526),r=e(85568),a=e(89536),s="[object Arguments]",i="[object Array]",u="[object Boolean]",l="[object Date]",m="[object Error]",g="[object Function]",h="[object Map]",v="[object Number]",x="[object Object]",T="[object RegExp]",E="[object Set]",_="[object String]",C="[object WeakMap]",P="[object ArrayBuffer]",k="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",F="[object Int16Array]",V="[object Int32Array]",W="[object Uint8Array]",Z="[object Uint8ClampedArray]",J="[object Uint16Array]",ie="[object Uint32Array]",le={};le[D]=le[B]=le[$]=le[F]=le[V]=le[W]=le[Z]=le[J]=le[ie]=!0,le[s]=le[i]=le[P]=le[u]=le[k]=le[l]=le[m]=le[g]=le[h]=le[v]=le[x]=le[T]=le[E]=le[_]=le[C]=!1;function he(me){return a(me)&&r(me.length)&&!!le[n(me)]}f.exports=he},12359(f,d,e){var n=e(31529),r=e(80152),a=e(40122),s=e(42759),i=e(94169);function u(l){return typeof l=="function"?l:l==null?a:typeof l=="object"?s(l)?r(l[0],l[1]):n(l):i(l)}f.exports=u},58214(f,d,e){var n=e(1025),r=e(32008),a=Object.prototype,s=a.hasOwnProperty;function i(u){if(!n(u))return r(u);var l=[];for(var m in Object(u))s.call(u,m)&&m!="constructor"&&l.push(m);return l}f.exports=i},10513(f,d,e){var n=e(90823),r=e(1025),a=e(34615),s=Object.prototype,i=s.hasOwnProperty;function u(l){if(!n(l))return a(l);var m=r(l),g=[];for(var h in l)h=="constructor"&&(m||!i.call(l,h))||g.push(h);return g}f.exports=u},31529(f,d,e){var n=e(80313),r=e(14790),a=e(6483);function s(i){var u=r(i);return u.length==1&&u[0][2]?a(u[0][0],u[0][1]):function(l){return l===i||n(l,i,u)}}f.exports=s},80152(f,d,e){var n=e(99756),r=e(50074),a=e(3721),s=e(67116),i=e(76626),u=e(6483),l=e(66855),m=1,g=2;function h(v,x){return s(v)&&i(x)?u(l(v),x):function(T){var E=r(T,v);return E===void 0&&E===x?a(T,v):n(x,E,m|g)}}f.exports=h},8495(f){function d(e){return function(n){return n?.[e]}}f.exports=d},66145(f,d,e){var n=e(64276);function r(a){return function(s){return n(s,a)}}f.exports=r},74058(f){function d(e){return function(n){return e?.[n]}}f.exports=d},12853(f){var d=Math.floor,e=Math.random;function n(r,a){return r+d(e()*(a-r+1))}f.exports=n},31609(f,d,e){var n=e(7768),r=e(3054);function a(s){return n(r(s))}f.exports=a},91906(f){function d(e,n,r){var a=-1,s=e.length;n<0&&(n=-n>s?0:s+n),r=r>s?s:r,r<0&&(r+=s),s=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(s);++a<s;)i[a]=e[a+n];return i}f.exports=d},76790(f){function d(e,n){for(var r=-1,a=Array(e);++r<e;)a[r]=n(r);return a}f.exports=d},76782(f,d,e){var n=e(63051),r=e(90450),a=e(42759),s=e(92664),i=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;function m(g){if(typeof g=="string")return g;if(a(g))return r(g,m)+"";if(s(g))return l?l.call(g):"";var h=g+"";return h=="0"&&1/g==-i?"-0":h}f.exports=m},73714(f,d,e){var n=e(15566),r=/^\s+/;function a(s){return s&&s.slice(0,n(s)+1).replace(r,"")}f.exports=a},74343(f){function d(e){return function(n){return e(n)}}f.exports=d}
637,93072(f,d,e){var n=e(90450);function r(a,s){return n(s,function(i){return a[i]})}f.exports=r},45477(f){function d(e,n){return e.has(n)}f.exports=d},60207(f,d,e){var n=e(42759),r=e(67116),a=e(3332),s=e(8008);function i(u,l){return n(u)?u:r(u,l)?[u]:a(s(u))}f.exports=i},61412(f,d,e){var n=e(91906);function r(a,s,i){var u=a.length;return i=i===void 0?u:i,!s&&i>=u?a:n(a,s,i)}f.exports=r},31343(f,d,e){var n=e(57529);function r(a){var s=new a.constructor(a.byteLength);return new n(s).set(new n(a)),s}f.exports=r},35400(f,d,e){f=e.nmd(f);var n=e(12087),r=d&&!d.nodeType&&d,a=r&&!0&&f&&!f.nodeType&&f,s=a&&a.exports===r,i=s?n.Buffer:void 0,u=i?i.allocUnsafe:void 0;function l(m,g){if(g)return m.slice();var h=m.length,v=u?u(h):new m.constructor(h);return m.copy(v),v}f.exports=l},92887(f,d,e){var n=e(31343);function r(a,s){var i=s?n(a.buffer):a.buffer;return new a.constructor(i,a.byteOffset,a.byteLength)}f.exports=r},7879(f){var d=/\w*$/;function e(n){var r=new n.constructor(n.source,d.exec(n));return r.lastIndex=n.lastIndex,r}f.exports=e},13290(f,d,e){var n=e(63051),r=n?n.prototype:void 0,a=r?r.valueOf:void 0;function s(i){return a?Object(a.call(i)):{}}f.exports=s},37839(f,d,e){var n=e(31343);function r(a,s){var i=s?n(a.buffer):a.buffer;return new a.constructor(i,a.byteOffset,a.length)}f.exports=r},20113(f){function d(e,n){var r=-1,a=e.length;for(n||(n=Array(a));++r<a;)n[r]=e[r];return n}f.exports=d},26573(f,d,e){var n=e(97033),r=e(16334);function a(s,i,u,l){var m=!u;u||(u={});for(var g=-1,h=i.length;++g<h;){var v=i[g],x=l?l(u[v],s[v],v,u,s):void 0;x===void 0&&(x=s[v]),m?r(u,v,x):n(u,v,x)}return u}f.exports=a},15625(f,d,e){var n=e(26573),r=e(29410);function a(s,i){return n(s,r(s),i)}f.exports=a},93042(f,d,e){var n=e(26573),r=e(29605);function a(s,i){return n(s,r(s),i)}f.exports=a},24651(f,d,e){var n=e(12087),r=n["__core-js_shared__"];f.exports=r},34309(f,d,e){var n=e(58268),r=e(6894),a=e(14391),s="['\u2019]",i=RegExp(s,"g");function u(l){return function(m){return n(a(r(m).replace(i,"")),l,"")}}f.exports=u},16700(f,d,e){var n=e(12359),r=e(63187),a=e(53356);function s(i){return function(u,l,m){var g=Object(u);if(!r(u)){var h=n(l,3);u=a(u),l=function(x){return h(g[x],x,g)}}var v=i(u,l,m);return v>-1?g[h?u[v]:v]:void 0}}f.exports=s},33773(f,d,e){var n=e(74058),r={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},a=n(r);f.exports=a},30701(f,d,e){var n=e(45676),r=(function(){try{var a=n(Object,"defineProperty");return a({},"",{}),a}catch{}})();f.exports=r},49901(f,d,e){var n=e(52877),r=e(27962),a=e(45477),s=1,i=2;function u(l,m,g,h,v,x){var T=g&s,E=l.length,_=m.length;if(E!=_&&!(T&&_>E))return!1;var C=x.get(l),P=x.get(m);
vendor: 5,822 bytes, line 637
637if(C&&P)return C==m&&P==l;var k=-1,D=!0,B=g&i?new n:void 0;for(x.set(l,m),x.set(m,l);++k<E;){var $=l[k],F=m[k];if(h)var V=T?h(F,$,k,m,l,x):h($,F,k,l,m,x);if(V!==void 0){if(V)continue;D=!1;break}if(B){if(!r(m,function(W,Z){if(!a(B,Z)&&($===W||v($,W,g,h,x)))return B.push(Z)})){D=!1;break}}else if(!($===F||v($,F,g,h,x))){D=!1;break}}return x.delete(l),x.delete(m),D}f.exports=u},11352(f,d,e){var n=e(63051),r=e(57529),a=e(63806),s=e(49901),i=e(10703),u=e(21741),l=1,m=2,g="[object Boolean]",h="[object Date]",v="[object Error]",x="[object Map]",T="[object Number]",E="[object RegExp]",_="[object Set]",C="[object String]",P="[object Symbol]",k="[object ArrayBuffer]",D="[object DataView]",B=n?n.prototype:void 0,$=B?B.valueOf:void 0;function F(V,W,Z,J,ie,le,he){switch(Z){case D:if(V.byteLength!=W.byteLength||V.byteOffset!=W.byteOffset)return!1;V=V.buffer,W=W.buffer;case k:return!(V.byteLength!=W.byteLength||!le(new r(V),new r(W)));case g:case h:case T:return a(+V,+W);case v:return V.name==W.name&&V.message==W.message;case E:case C:return V==W+"";case x:var me=i;case _:var je=J&l;if(me||(me=u),V.size!=W.size&&!je)return!1;var Fe=he.get(V);if(Fe)return Fe==W;J|=m,he.set(V,W);var Je=s(me(V),me(W),J,ie,le,he);return he.delete(V),Je;case P:if($)return $.call(V)==$.call(W)}return!1}f.exports=F},26259(f,d,e){var n=e(75852),r=1,a=Object.prototype,s=a.hasOwnProperty;function i(u,l,m,g,h,v){var x=m&r,T=n(u),E=T.length,_=n(l),C=_.length;if(E!=C&&!x)return!1;for(var P=E;P--;){var k=T[P];if(!(x?k in l:s.call(l,k)))return!1}var D=v.get(u),B=v.get(l);if(D&&B)return D==l&&B==u;var $=!0;v.set(u,l),v.set(l,u);for(var F=x;++P<E;){k=T[P];var V=u[k],W=l[k];if(g)var Z=x?g(W,V,k,l,u,v):g(V,W,k,u,l,v);if(!(Z===void 0?V===W||h(V,W,m,g,v):Z)){$=!1;break}F||(F=k=="constructor")}if($&&!F){var J=u.constructor,ie=l.constructor;J!=ie&&"constructor"in u&&"constructor"in l&&!(typeof J=="function"&&J instanceof J&&typeof ie=="function"&&ie instanceof ie)&&($=!1)}return v.delete(u),v.delete(l),$}f.exports=i},87906(f){var d=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;f.exports=d},75852(f,d,e){var n=e(75577),r=e(29410),a=e(53356);function s(i){return n(i,a,r)}f.exports=s},9587(f,d,e){var n=e(75577),r=e(29605),a=e(17555);function s(i){return n(i,a,r)}f.exports=s},31165(f,d,e){var n=e(38336);function r(a,s){var i=a.__data__;return n(s)?i[typeof s=="string"?"string":"hash"]:i.map}f.exports=r},14790(f,d,e){var n=e(76626),r=e(53356);function a(s){for(var i=r(s),u=i.length;u--;){var l=i[u],m=s[l];i[u]=[l,m,n(m)]}return i}f.exports=a},45676(f,d,e){var n=e(56269),r=e(24134);function a(s,i){var u=r(s,i);return n(u)?u:void 0}f.exports=a},34109(f,d,e){var n=e(85741),r=n(Object.getPrototypeOf,Object);f.exports=r},79133(f,d,e){var n=e(63051),r=Object.prototype,a=r.hasOwnProperty,s=r.toString,i=n?n.toStringTag:void 0;function u(l){var m=a.call(l,i),g=l[i];try{l[i]=void 0;var h=!0}catch{}var v=s.call(l);return h&&(m?l[i]=g:delete l[i]),v}f.exports=u},29410(f,d,e){var n=e(72924),r=e(63275),a=Object.prototype,s=a.propertyIsEnumerable,i=Object.getOwnPropertySymbols,u=i?function(l){return l==null?[]:(l=Object(l),n(i(l),function(m){return s.call(l,m)}))}:r;f.exports=u},29605(f,d,e){var n=e(87278),r=e(34109),a=e(29410),s=e(63275),i=Object.getOwnPropertySymbols,u=i?function(l){for(var m=[];l;)n(m,a(l)),l=r(l);return m}:s;f.exports=u},69099(f,d,e){var n=e(38962),r=e(76777),a=e(35914),s=e(316),i=e(82593),u=e(81526),l=e(44219),m="[object Map]",g="[object Object]",h="[object Promise]",v="[object Set]",x="[object WeakMap]",T="[object DataView]",E=l(n),_=l(r),C=l(a),P=l(s),k=l(i),D=u;(n&&D(new n(new ArrayBuffer(1)))!=T||r&&D(new r)!=m||a&&D(a.resolve())!=h||s&&D(new s)!=v||i&&D(new i)!=x)&&(D=function(B){var $=u(B),F=$==g?B.constructor:void 0,V=F?l(F):"";if(V)switch(V){case E:return T;case _:return m;case C:return h;case P:return v;case k:return x}return $}),f.exports=D},24134(f){function d(e,n){return e?.[n]}f.exports=d},24708(f,d,e){var n=e(60207),r=e(20722),a=e(42759),s=e(75283),i=e(85568),u=e(66855);function l(m,g,h){g=n(g,m);for(var v=-1,x=g.length,T=!1;++v<x;){var E=u(g[v]);if(!(T=m!=null&&h(m,E)))break;m=m[E]}return T||++v!=x?T:(x=m==null?0:m.length,!!x&&i(x)&&s(E,x)&&(a(m)||r(m)))}f.exports=l},2384(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,s="\\ufe0e\\ufe0f",i="\\u200d",u=RegExp("["+i+d+a+s+"]");function l(m){return u.test(m)}f.exports=l},92236(f){var d=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(n){return d.test(n)}f.exports=e},83342(f,d,e){var n=e(69152);function r(){this.__data__=n?n(null):{},this.size=0}f.exports=r},36296(f){function d(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}f.exports=d},37771(f,d,e){var n=e(69152),r="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;function i(u){var l=this.__data__;if(n){var m=l[u];return m===r?void 0:m}return s.call(l,u)?l[u]:void 0}f.exports=i},43751(f,d,e){var n=e(69152),r=Object.prototype,a=r.hasOwnProperty;function s(i){var u=this.__data__;return n?u[i]!==void 0:a.call(u,i)}f.exports=s},32911(f,d,e){var n=e(69152),r="__lodash_hash_undefined__";function a(s,i){var u=this.__data__;return this.size+=this.has(s)?0:1,u[s]=n&&i===void 0?r:i,this}f.exports=a},78659(f){var d=Object.prototype,e=d.hasOwnProperty;function n(r){var a=r.length,s=new r.constructor(a);return a&&typeof r[0]=="string"&&e.call(r,"index")&&(s.index=r.index,s.input=r.input),s}f.exports=n},45573(f,d,e){var n=e(31343),r=e(92887),a=e(7879),s=e(13290),i=e(37839),u="[object Boolean]",l="[object Date]",m="[object Map]",g="[object Number]",h="[object RegExp]",v="[object Set]",x="[object String]",T="[object Symbol]",E="[object ArrayBuffer]",_="[object DataView]",C="[object Float32Array]",P="[object Float64Array
637]",k="[object Int8Array]",D="[object Int16Array]",B="[object Int32Array]",$="[object Uint8Array]",F="[object Uint8ClampedArray]",V="[object Uint16Array]",W="[object Uint32Array]";function Z(J,ie,le){var he=J.constructor;switch(ie){case E:return n(J);case u:case l:return new he(+J);case _:return r(J,le);case C:case P:case k:case D:case B:case $:case F:case V:case W:return i(J,le);case m:return new he;case g:case x:return new he(J);case h:return a(J);case v:return new he;case T:return s(J)}}f.exports=Z},43651(f,d,e){var n=e(8342),r=e(34109),a=e(1025);function s(i){return typeof i.constructor=="function"&&!a(i)?n(r(i)):{}}f.exports=s},75283(f){var d=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function n(r,a){var s=typeof r;return a=a??d,!!a&&(s=="number"||s!="symbol"&&e.test(r))&&r>-1&&r%1==0&&r<a}f.exports=n},67116(f,d,e){var n=e(42759),r=e(92664),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;function i(u,l){if(n(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||r(u)?!0:s.test(u)||!a.test(u)||l!=null&&u in Object(l)}f.exports=i},38336(f){function d(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}f.exports=d},26698(f,d,e){var n=e(24651),r=(function(){var s=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})();function a(s){return!!r&&r in s}f.exports=a},1025(f){var d=Object.prototype;function e(n){var r=n&&n.constructor,a=typeof r=="function"&&r.prototype||d;return n===a}f.exports=e},76626(f,d,e){var n=e(90823);function r(a){return a===a&&!n(a)}f.exports=r},84976(f){function d(){this.__data__=[],this.size=0}f.exports=d},5846(f,d,e){var n=e(63195),r=Array.prototype,a=r.splice;function s(i){var u=this.__data__,l=n(u,i);if(l<0)return!1;var m=u.length-1;return l==m?u.pop():a.call(u,l,1),--this.size,!0}f.exports=s},28673(f,d,e){var n=e(63195);function r(a){var s=this.__data__,i=n(s,a);return i<0?void 0:s[i][1]}f.exports=r},63309(f,d,e){var n=e(63195);function r(a){return n(this.__data__,a)>-1}f.exports=r},97701(f,d,e){var n=e(63195);function r(a,s){var i=this.__data__,u=n(i,a);return u<0?(++this.size,i.push([a,s])):i[u][1]=s,this}f.exports=r},63474(f,d,e){var n=e(62247),r=e(11117),a=e(76777);function s(){this.size=0,this.__data__={hash:new n,map:new(a||r),string:new n}}f.exports=s},89508(f,d,e){var n=e(31165);function r(a){var s=n(this,a).delete(a);return this.size-=s?1:0,s}f.exports=r},65687(f,d,e){var n=e(31165);function r(a){return n(this,a).get(a)}f.exports=r},63755(f,d,e){var n=e(31165);function r(a){return n(this,a).has(a)}f.exports=r},56627(f,d,e){var n=e(31165);function r(a,s){var i=n(this,a),u=i.size;return i.set(a,s),this.size+=i.size==u?0:1,this}f.exports=r},10703(f){function d(e){var n=-1,r=Array(e.size);return e.forEach(function(a,s){r[++n]=[s,a]}),r}f.exports=d},6483(f){function d(e,n){return function(r){return r==null?!1:r[e]===n&&(n!==void 0||e in Object(r))}}f.exports=d},19398(f,d,e){var n=e(96722),r=500;function a(s){var i=n(s,function(l){return u.size===r&&u.clear(),l}),u=i.cache;return i}f.exports=a},69152(f,d,e){var n=e(45676),r=n(Object,"create");f.exports=r},32008(f,d,e){var n=e(85741),r=n(Object.keys,Object);f.exports=r},34615(f){function d(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}f.exports=d},16575(f,d,e){f=e.nmd(f);var n=e(87906),r=d&&!d.nodeType&&d,a=r&&!0&&f&&!f.nodeType&&f,s=a&&a.exports===r,i=s&&n.process,u=(function(){try{var l=a&&a.require&&a.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}})();f.exports=u},86760(f){var d=Object.prototype,e=d.toString;function n(r){return e.call(r)}f.exports=n},85741(f){function d(e,n){return function(r){return e(n(r))}}f.exports=d},12087(f,d,e){var n=e(87906),r=typeof self=="object"&&self&&self.Object===Object&&self,a=n||r||Function("return this")();f.exports=a},54642(f){var d="__lodash_hash_undefined__";function e(n){return this.__data__.set(n,d),this}f.exports=e},80013(f){function d(e){return this.__data__.has(e)}f.exports=d},21741(f){function d(e){var n=-1,r=Array(e.size);return e.forEach(function(a){r[++n]=a}),r}f.exports=d},7768(f,d,e){var n=e(12853);function r(a,s){var i=-1,u=a.length,l=u-1;for(s=s===void 0?u:s;++i<s;){var m=n(i,l),g=a[m];a[m]=a[i],a[i]=g}return a.length=s,a}f.exports=r}
vendor: 4,911 bytes, line 637
637,79126(f,d,e){var n=e(11117);function r(){this.__data__=new n,this.size=0}f.exports=r},43072(f){function d(e){var n=this.__data__,r=n.delete(e);return this.size=n.size,r}f.exports=d},51651(f){function d(e){return this.__data__.get(e)}f.exports=d},14255(f){function d(e){return this.__data__.has(e)}f.exports=d},615(f,d,e){var n=e(11117),r=e(76777),a=e(48211),s=200;function i(u,l){var m=this.__data__;if(m instanceof n){var g=m.__data__;if(!r||g.length<s-1)return g.push([u,l]),this.size=++m.size,this;m=this.__data__=new a(g)}return m.set(u,l),this.size=m.size,this}f.exports=i},9439(f,d,e){var n=e(70581),r=e(2384),a=e(49589);function s(i){return r(i)?a(i):n(i)}f.exports=s},5550(f,d,e){var n=e(61332),r=e(2384),a=e(53460);function s(i){return r(i)?a(i):n(i)}f.exports=s},3332(f,d,e){var n=e(19398),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=n(function(i){var u=[];return i.charCodeAt(0)===46&&u.push(""),i.replace(r,function(l,m,g,h){u.push(g?h.replace(a,"$1"):m||l)}),u});f.exports=s},66855(f,d,e){var n=e(92664),r=1/0;function a(s){if(typeof s=="string"||n(s))return s;var i=s+"";return i=="0"&&1/s==-r?"-0":i}f.exports=a},44219(f){var d=Function.prototype,e=d.toString;function n(r){if(r!=null){try{return e.call(r)}catch{}try{return r+""}catch{}}return""}f.exports=n},15566(f){var d=/\s/;function e(n){for(var r=n.length;r--&&d.test(n.charAt(r)););return r}f.exports=e},49589(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,s="\\ufe0e\\ufe0f",i="["+d+"]",u="["+a+"]",l="\\ud83c[\\udffb-\\udfff]",m="(?:"+u+"|"+l+")",g="[^"+d+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",x="\\u200d",T=m+"?",E="["+s+"]?",_="(?:"+x+"(?:"+[g,h,v].join("|")+")"+E+T+")*",C=E+T+_,P="(?:"+[g+u+"?",u,h,v,i].join("|")+")",k=RegExp(l+"(?="+l+")|"+P+C,"g");function D(B){for(var $=k.lastIndex=0;k.test(B);)++$;return $}f.exports=D},53460(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,s="\\ufe0e\\ufe0f",i="["+d+"]",u="["+a+"]",l="\\ud83c[\\udffb-\\udfff]",m="(?:"+u+"|"+l+")",g="[^"+d+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",x="\\u200d",T=m+"?",E="["+s+"]?",_="(?:"+x+"(?:"+[g,h,v].join("|")+")"+E+T+")*",C=E+T+_,P="(?:"+[g+u+"?",u,h,v,i].join("|")+")",k=RegExp(l+"(?="+l+")|"+P+C,"g");function D(B){return B.match(k)||[]}f.exports=D},97987(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,s="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",u="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",g=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="A-Z\\xc0-\\xd6\\xd8-\\xde",v="\\ufe0e\\ufe0f",x=u+l+m+g,T="['\u2019]",E="["+x+"]",_="["+a+"]",C="\\d+",P="["+s+"]",k="["+i+"]",D="[^"+d+x+C+s+i+h+"]",B="\\ud83c[\\udffb-\\udfff]",$="(?:"+_+"|"+B+")",F="[^"+d+"]",V="(?:\\ud83c[\\udde6-\\uddff]){2}",W="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+h+"]",J="\\u200d",ie="(?:"+k+"|"+D+")",le="(?:"+Z+"|"+D+")",he="(?:"+T+"(?:d|ll|m|re|s|t|ve))?",me="(?:"+T+"(?:D|LL|M|RE|S|T|VE))?",je=$+"?",Fe="["+v+"]?",Je="(?:"+J+"(?:"+[F,V,W].join("|")+")"+Fe+je+")*",Xe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",be=Fe+je+Je,Ie="(?:"+[P,V,W].join("|")+")"+be,Re=RegExp([Z+"?"+k+"+"+he+"(?="+[E,Z,"$"].join("|")+")",le+"+"+me+"(?="+[E,Z+ie,"$"].join("|")+")",Z+"?"+ie+"+"+he,Z+"+"+me,ge,Xe,C,Ie].join("|"),"g");function ye(De){return De.match(Re)||[]}f.exports=ye},80029(f,d,e){var n=e(70221),r=1,a=4;function s(i){return n(i,r|a)}f.exports=s},38739(f,d,e){var n=e(90823),r=e(50138),a=e(80028),s="Expected a function",i=Math.max,u=Math.min;function l(m,g,h){var v,x,T,E,_,C,P=0,k=!1,D=!1,B=!0;if(typeof m!="function")throw new TypeError(s);g=a(g)||0,n(h)&&(k=!!h.leading,D="maxWait"in h,T=D?i(a(h.maxWait)||0,g):T,B="trailing"in h?!!h.trailing:B);function $(me){var je=v,Fe=x;return v=x=void 0,P=me,E=m.apply(Fe,je),E}function F(me){return P=me,_=setTimeout(Z,g),k?$(me):E}function V(me){var je=me-C,Fe=me-P,Je=g-je;return D?u(Je,T-Fe):Je}function W(me){var je=me-C,Fe=me-P;return C===void 0||je>=g||je<0||D&&Fe>=T}function Z(){var me=r();if(W(me))return J(me);_=setTimeout(Z,V(me))}function J(me){return _=void 0,B&&v?$(me):(v=x=void 0,E)}function ie(){_!==void 0&&clearTimeout(_),P=0,v=C=x=_=void 0}function le(){return _===void 0?E:J(r())}function he(){var me=r(),je=W(me);if(v=arguments,x=this,C=me,je){if(_===void 0)return F(C);if(D)return clearTimeout(_),_=setTimeout(Z,g),$(C)}return _===void 0&&(_=setTimeout(Z,g)),E}return he.cancel=ie,he.flush=le,he}f.exports=l},6894(f,d,e){var n=e(33773),r=e(8008),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
6377f]/g,s="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",l=s+i+u,m="["+l+"]",g=RegExp(m,"g");function h(v){return v=r(v),v&&v.replace(a,n).replace(g,"")}f.exports=h},63806(f){function d(e,n){return e===n||e!==e&&n!==n}f.exports=d},95838(f,d,e){var n=e(8008),r=/[\\^$.*+?()[\]{}|]/g,a=RegExp(r.source);function s(i){return i=n(i),i&&a.test(i)?i.replace(r,"\\$&"):i}f.exports=s},60891(f,d,e){var n=e(16700),r=e(21007),a=n(r);f.exports=a},21007(f,d,e){var n=e(46017),r=e(12359),a=e(90211),s=Math.max;function i(u,l,m){var g=u==null?0:u.length;if(!g)return-1;var h=m==null?0:a(m);return h<0&&(h=s(g+h,0)),n(u,r(l,3),h)}f.exports=i},50074(f,d,e){var n=e(64276);function r(a,s,i){var u=a==null?void 0:n(a,s);return u===void 0?i:u}f.exports=r},3721(f,d,e){var n=e(88463),r=e(24708);function a(s,i){return s!=null&&r(s,i,n)}f.exports=a},40122(f){function d(e){return e}f.exports=d},20722(f,d,e){var n=e(94628),r=e(89536),a=Object.prototype,s=a.hasOwnProperty,i=a.propertyIsEnumerable,u=n((function(){return arguments})())?n:function(l){return r(l)&&s.call(l,"callee")&&!i.call(l,"callee")};f.exports=u},42759(f){var d=Array.isArray;f.exports=d},63187(f,d,e){var n=e(72864),r=e(85568);function a(s){return s!=null&&r(s.length)&&!n(s)}f.exports=a},84698(f,d,e){f=e.nmd(f);var n=e(12087),r=e(51545),a=d&&!d.nodeType&&d,s=a&&!0&&f&&!f.nodeType&&f,i=s&&s.exports===a,u=i?n.Buffer:void 0,l=u?u.isBuffer:void 0,m=l||r;f.exports=m},87479(f,d,e){var n=e(58214),r=e(69099),a=e(20722),s=e(42759),i=e(63187),u=e(84698),l=e(1025),m=e(24361),g="[object Map]",h="[object Set]",v=Object.prototype,x=v.hasOwnProperty;function T(E){if(E==null)return!0;if(i(E)&&(s(E)||typeof E=="string"||typeof E.splice=="function"||u(E)||m(E)||a(E)))return!E.length;var _=r(E);if(_==g||_==h)return!E.size;if(l(E))return!n(E).length;for(var C in E)if(x.call(E,C))return!1;return!0}f.exports=T},31946(f,d,e){var n=e(99756);function r(a,s){return n(a,s)}f.exports=r},72864(f,d,e){var n=e(81526),r=e(90823),a="[object AsyncFunction]",s="[object Function]",i="[object GeneratorFunction]",u="[object Proxy]";function l(m){if(!r(m))return!1;var g=n(m);return g==s||g==i||g==a||g==u}f.exports=l},85568(f){var d=9007199254740991;function e(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=d}f.exports=e},67840(f,d,e){var n=e(28378),r=e(74343),a=e(16575),s=a&&a.isMap,i=s?r(s):n;f.exports=i},90823(f){function d(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}f.exports=d},89536(f){function d(e){return e!=null&&typeof e=="object"}f.exports=d},42657(f,d,e){var n=e(88575),r=e(74343),a=e(16575),s=a&&a.isRegExp,i=s?r(s):n;f.exports=i},65626(f,d,e){var n=e(56224),r=e(74343),a=e(16575),s=a&&a.isSet,i=s?r(s):n;f.exports=i},92664(f,d,e){var n=e(81526),r=e(89536),a="[object Symbol]";function s(i){return typeof i=="symbol"||r(i)&&n(i)==a}f.exports=s},24361(f,d,e){var n=e(70743),r=e(74343),a=e(16575),s=a&&a.isTypedArray,i=s?r(s):n;f.exports=i},71239(f,d,e){var n=e(34309),r=n(function(a,s,i){return a+(i?"-":"")+s.toLowerCase()});f.exports=r},53356(f,d,e){var n=e(61965),r=e(58214),a=e(63187);function s(i){return a(i)?n(i):r(i)}f.exports=s},17555(f,d,e){var n=e(61965),r=e(10513),a=e(63187);function s(i){return a(i)?n(i,!0):r(i)}f.exports=s},64933(f,d,e){f=e.nmd(f);var n;/** 638* @license 639* Lodash <https://lodash.com/> 640* Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 641* Released under MIT license <https://lodash.com/license> 642* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 643* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 644*/(function(){var r,a="4.18.1",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",m="Invalid `imports` option passed into `_.template`",g="__lodash_hash_undefined__",h=500,v="__lodash_placeholder__",x=1,T=2,E=4,_=1,C=2,P=1,k=2,D=4,B=8,$=16,F=32,V=64,W=128,Z=256,J=512,ie=30,le="...",he=800,me=16,je=1,Fe=2,Je=3,Xe=1/0,ge=9007199254740991,be=17976931348623157e292,Ie=NaN,Re=4294967295,ye=Re-1,De=Re>>>1,$e=[["ary",W],["bind",P],["bindKey",k],["curry",B],["curryRight",$],["flip",J],["partial",F],["partialRight",V],["rearg",Z]],qe="[object Arguments]",It="[object Array]",mt="[object AsyncFunction]",kt="[object Boolean]",Ut="[object Date]",Ir="[object DOMException]",Sr="[object Error]",Yr="[object Function]",Gr="[object GeneratorFunction]",dn="[object Map]",Kr="[object Number]",yt="[object Null]",tt="[object Object]",Ar="[object Promise]",Mr="[object Proxy]",Er="[object RegExp]",Ur="[object Set]",or="[object String]",An="[object Symbol]",dr="[object Undef
644ined]",Xr="[object WeakMap]",hn="[object WeakSet]",Qt="[object ArrayBuffer]",Br="[object DataView]",zt="[object Float32Array]",Tt="[object Float64Array]",Pr="[object Int8Array]",Y="[object Int16Array]",ht="[object Int32Array]",ur="[object Uint8Array]",it="[object Uint8ClampedArray]",Rt="[object Uint16Array]",Zr="[object Uint32Array]",nn=/\b__p \+= '';/g,fn=/\b(__p \+=) '' \+/g,Sn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ci=/&(?:amp|lt|gt|quot|#39);/g,$i=/[&<>"']/g,qr=RegExp(Ci.source),Bi=RegExp($i.source),ms=/<%-([\s\S]+?)%>/g,hs=/<%([\s\S]+?)%>/g,Mi=/<%=([\s\S]+?)%>/g,gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Hi=/^\w*$/,qn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$n=/[\\^$.*+?()[\]{}|]/g,$s=RegExp($n.source),ys=/^\s+/,Es=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ge=/,? & /,bt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Et=/[()=,{}\[\]\/\s]/,Tr=/\\(\\)?/g,vn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,ei=/^[-+]0x[0-9a-f]+$/i,si=/^0b[01]+$/i,yn=/^\[object .+?Constructor\]$/,rs=/^0o[0-7]+$/i,xn=/^(?:0|[1-9]\d*)$/,Ms=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 15,387 bytes, line 644
6447f]/g,Yi=/($^)/,Gs=/['\n\r\u2028\u2029\\]/g,us="\\ud800-\\udfff",nr="\\u0300-\\u036f",cr="\\ufe20-\\ufe2f",ln="\\u20d0-\\u20ff",Yn=nr+cr+ln,Ln="\\u2700-\\u27bf",wn="a-z\\xdf-\\xf6\\xf8-\\xff",ti="\\xac\\xb1\\xd7\\xf7",Ti="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pi="\\u2000-\\u206f",Zi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",vi="\\ufe0e\\ufe0f",Wi=ti+Ti+Pi+Zi,ks="['\u2019]",ss="["+us+"]",xs="["+Wi+"]",wi="["+Yn+"]",Ns="\\d+",Cs="["+Ln+"]",as="["+wn+"]",Os="[^"+us+Wi+Ns+Ln+wn+Ui+"]",ce="\\ud83c[\\udffb-\\udfff]",He="(?:"+wi+"|"+ce+")",Lt="[^"+us+"]",fr="(?:\\ud83c[\\udde6-\\uddff]){2}",un="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+Ui+"]",Xi="\\u200d",qi="(?:"+as+"|"+Os+")",ls="(?:"+Qn+"|"+Os+")",ps="(?:"+ks+"(?:d|ll|m|re|s|t|ve))?",la="(?:"+ks+"(?:D|LL|M|RE|S|T|VE))?",ca=He+"?",za="["+vi+"]?",io="(?:"+Xi+"(?:"+[Lt,fr,un].join("|")+")"+za+ca+")*",Is="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fa=za+ca+io,on="(?:"+[Cs,fr,un].join("|")+")"+Fa,va="(?:"+[Lt+wi+"?",wi,fr,un,ss].join("|")+")",pa=RegExp(ks,"g"),aa=RegExp(wi,"g"),ta=RegExp(ce+"(?="+ce+")|"+va+Fa,"g"),Za=RegExp([Qn+"?"+as+"+"+ps+"(?="+[xs,Qn,"$"].join("|")+")",ls+"+"+la+"(?="+[xs,Qn+qi,"$"].join("|")+")",Qn+"?"+qi+"+"+ps,Qn+"+"+la,yr,Is,Ns,on].join("|"),"g"),$a=RegExp("["+Xi+us+Yn+vi+"]"),Wo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Co=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ro=-1,Hs={};Hs[zt]=Hs[Tt]=Hs[Pr]=Hs[Y]=Hs[ht]=Hs[ur]=Hs[it]=Hs[Rt]=Hs[Zr]=!0,Hs[qe]=Hs[It]=Hs[Qt]=Hs[kt]=Hs[Br]=Hs[Ut]=Hs[Sr]=Hs[Yr]=Hs[dn]=Hs[Kr]=Hs[tt]=Hs[Er]=Hs[Ur]=Hs[or]=Hs[Xr]=!1;var cs={};cs[qe]=cs[It]=cs[Qt]=cs[Br]=cs[kt]=cs[Ut]=cs[zt]=cs[Tt]=cs[Pr]=cs[Y]=cs[ht]=cs[dn]=cs[Kr]=cs[tt]=cs[Er]=cs[Ur]=cs[or]=cs[An]=cs[ur]=cs[it]=cs[Rt]=cs[Zr]=!0,cs[Sr]=cs[Yr]=cs[Xr]=!1;var Me={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},We={"&":"&","<":"<",">":">",'"':""","'":"'"},Nt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jr=parseFloat,Jr=parseInt,an=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,ai=typeof self=="object"&&self&&self.Object===Object&&self,Si=an||ai||Function("return this")(),Di=d&&!d.nodeType&&d,Vi=Di&&!0&&f&&!f.nodeType&&f,da=Vi&&Vi.exports===Di,ya=da&&an.process,Qi=(function(){try{var er=Vi&&Vi.require&&Vi.require("util").types;return er||ya&&ya.binding&&ya.binding("util")}catch{}})(),Do=Qi&&Qi.isArrayBuffer,Oo=Qi&&Qi.isDate,Ta=Qi&&Qi.isMap,Ne=Qi&&Qi.isRegExp,Ve=Qi&&Qi.isSet,gt=Qi&&Qi.isTypedArray;function ct(er,br,xr){switch(xr.length){case 0:return er.call(br);case 1:return er.call(br,xr[0]);case 2:return er.call(br,xr[0],xr[1]);case 3:return er.call(br,xr[0],xr[1],xr[2])}return er.apply(br,xr)}function Kt(er,br,xr,yi){for(var Ni=-1,pi=er==null?0:er.length;++Ni<pi;){var ra=er[Ni];br(yi,ra,xr(ra),er)}return yi}function tr(er,br){for(var xr=-1,yi=er==null?0:er.length;++xr<yi&&br(er[xr],xr,er)!==!1;);return er}function Cr(er,br){for(var xr=er==null?0:er.length;xr--&&br(er[xr],xr,er)!==!1;);return er}function kr(er,br){for(var xr=-1,yi=er==null?0:er.length;++xr<yi;)if(!br(er[xr],xr,er))return!1;return!0}function Bn(er,br){for(var xr=-1,yi=er==null?0:er.length,Ni=0,pi=[];++xr<yi;){var ra=er[xr];br(ra,xr,er)&&(pi[Ni++]=ra)}return pi}function Hn(er,br){var xr=er==null?0:er.length;return!!xr&<(er,br,0)>-1}function Bt(er,br,xr){for(var yi=-1,Ni=er==null?0:er.length;++yi<Ni;)if(xr(br,er[yi]))return!0;return!1}function Wt(er,br){for(var xr=-1,yi=er==null?0:er.length,Ni=Array(yi);++xr<yi;)Ni[xr]=br(er[xr],xr,er);return Ni}function Wr(er,br){for(var xr=-1,yi=br.length,Ni=er.length;++xr<yi;)er[Ni+xr]=br[xr];return er}function sn(er,br,xr,yi){var Ni=-1,pi=er==null?0:er.length;for(yi&&pi&&(xr=er[++Ni]);++Ni<pi;)xr=br(xr,er[Ni],Ni,er);return xr}function Mn(er,br,xr,yi){var Ni=er==null?0:er.length;for(yi&&Ni&&(xr=er[--Ni]);Ni--;)xr=br(xr,er[Ni],Ni,er);return xr}function _n(er,br){for(var xr=-1,yi=er==null?0:er.length;++xr<yi;)if(br(er[xr],xr,er))return!0;return!1}var Wn=Or("length");function Un(er){return er.split("")}function Fi(er){return er.match(bt)||[]}function Le(er,br,xr){var yi;return xr(er,function(Ni,pi,ra){if(br(Ni,pi,ra))return yi=pi,!1}),yi}function Ue(er,br,xr,yi){for(var Ni=er.length,pi=xr+(yi?1:-1);yi?pi--:++pi<Ni;)if(br(er[pi],pi,er))return pi;return-1}function lt(er,br,xr){return br===br?lr(er,br,xr):Ue(er,Yt,xr)}function ot(er,br,xr,yi){for(var Ni=xr-1,pi=er.length;++Ni<pi;)if(yi(er[Ni],br))return Ni;return-1}function Yt(er){return er!==er}function rr(er,br){var xr=er==null?0:er.length;return xr?Rn(er,br)/xr:Ie}function Or(er){return function(br){return br==null?r:br[er]}}function tn(er){return function(br){return er==null?r:er[br]}}function kn(er,br,xr,yi,Ni){return Ni(er,function(pi,ra,Ys){xr=yi?(yi=!1,pi):br(xr,pi,ra,Ys)}),xr}function En(er,br){var xr=er.length;for(er.sort(br);xr--;)er[xr]=er[xr].value;return er}function Rn(er,br){for(var xr,yi=-1,Ni=er.length;++yi<Ni;){var pi=br(er[yi]);pi!==r&&(xr=xr===r?pi:xr+pi)}return xr}function ki(er,br){for(var xr=-1,yi=Array(er);++xr<er;)yi[xr]=br(xr);return yi}function bs(er,br){return Wt(br,function(xr){return[xr,er[xr]]})}function Rs(er){return er&&er.slice(0,Nn(er)+1).replace(ys,"")}function As(er){return function(br){return er(br)}}function di(er,br){return Wt(br,function(xr){return er[xr]})}function Gn(er,br){return er.has(br)}function oi(er,br){for(var xr=-1,yi=er.length;++xr<yi&<(br,er[xr],0)>-1;);return xr}function Ks(er,br){for(var xr=er.length;xr--&<(br,er[xr],0)>-1;);return xr}function qs(er,br){for(var xr=er.length,yi=0;xr--;)er[xr]===br&&++yi;return yi}var ns=tn(Me),Ba=tn(We);function ka(er){return"\\"+Jt[er]}function H(er,br){return er==null?r:er[br]}function z(er){return $a.test(er)}function ee(er){return Wo.test(er)}function pe(er){for(var br,xr=[];!(br=er.next()).done;)xr.push(br.value);return xr}function Ce(er){var br=-1,xr=Array(er.size);return er.forEach(function(yi,Ni){xr[++br]=[Ni,yi]}),xr}function ze(er,br){return function(xr){return er(br(xr))}}function st(er,br){for(var xr=-1,yi=er.length,Ni=0,pi=[];++xr<yi;){var ra=er[xr];(ra===br||ra===v)&&(er[xr]=v,pi[Ni++]=xr)}return pi}function ft(er){var br=-1,xr=Array(er.size);return er.forEach(function(yi){xr[++br]=yi}),xr}function Dt(er){var br=-1,xr=Array(er.size);return er.forEach(function(yi){xr[++br]=[yi,yi]}),xr}function lr(er,br,xr){for(var yi=xr-1,Ni=er.length;++yi<Ni;)if(er[yi]===br)return yi;return-1}function $t(er,br,xr){for(var yi=xr+1;yi--;)if(er[yi]===br)return yi;return yi}function Nr(er){return z(er)?fi(er):Wn(er)}function cn(er){return z(er)?xi(er):Un(er)}function Nn(er){for(var br=er.length;br--&&Es.test(er.charAt(br)););return br}var jn=tn(Nt);function fi(er){for(var br=ta.lastIndex=0;ta.test(er);)++br;return br}function xi(er){return er.match(ta)||[]}function Ii(er){return er.match(Za)||[]}var zi=(function er(br){br=br==null?Si:gs.defaults(Si.Object(),br,gs.pick(Si,Co));var xr=br.Array,yi=br.Date,Ni=br.Error,pi=br.Function,ra=br.Math,Ys=br.Object,Lu=br.RegExp,Uo=br.String,vo=br.TypeError,jo=xr.prototype,Ll=pi.prototype,wa=Ys.prototype,wu=br["__core-js_shared__"],el=Ll.toString,Ca=wa.hasOwnProperty,Yl=0,$c=(function(){var S=/[^.]+$/.exec(wu&&wu.keys&&wu.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""})(),zo=wa.toString,Hc=el.call(Ys),Xl=Si._,Fs=Lu("^"+el.call(Ca).replace($n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_u=da?br.Buffer:r,oo=br.Symbol,tl=br.Uint8Array,Ml=_u?_u.allocUnsafe:r,ae=ze(Ys.getPrototypeOf,Ys),hr=Ys.create,dt=wa.propertyIsEnumerable,xt=jo.splice,bn=oo?oo.isConcatSpreadable:r,Jn=oo?oo.iterator:r,vs=oo?oo.toStringTag:r,Ps=(function(){try{var S=_r(Ys,"defineProperty");return S({},"",{}),S}catch{}})(),Ia=br.clearTimeout!==Si.clearTimeout&&br.clearTimeout,$o=yi&&yi.now!==Si.Date.now&&yi.now,yo=br.setTimeout!==Si.setTimeout&&br.setTimeout,qa=ra.ceil,Vo=ra.floor,Lo=Ys.getOwnPropertySymbols,Hu=_u?_u.isBuffer:r,kl=br.isFinite,Mu=jo.join,eu=ze(Ys.keys,Ys),bo=ra.max,Mo=ra.min,Bs=yi.now,rl=br.parseInt,lc=ra.random,Nl=jo.reverse,nl=_r(br,"DataView"),il=_r(br,"Map"),vl=_r(br,"Promise"),sl=_r(br,"Set"),ko=_r(br,"WeakMap"),lu=_r(Ys,"create"),Go=ko&&new ko,Xo={},Cc=jd(nl),Ae=jd(il),et=jd(vl),pt=jd(sl),Ft=jd(ko),Zt=oo?oo.prototype:r,Rr=Zt?Zt.valueOf:r,mn=Zt?Zt.toString:r;function Ye(S){if(Eu(S)&&!Ea(S)&&!(S instanceof Gi)){if(S instanceof Ai)return S;if(Ca.call(S,"__wrapped__"))return Lf(S)}return new Ai(S)}var Li=(function(){function S(){}return function(O){if(!qo(O))return{};if(hr)return hr(O);S.prototype=O;var Q=new S;return S.prototype=r,Q}})();function _i(){}function Ai(S,O){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!O,this.__index__=0,this.__values__=r}Ye.templateSettings={escape:ms,evaluate:hs,interpolate:Mi,variable:"",imports:{_:Ye}},Ye.prototype=_i.prototype,Ye.prototype.constructor=Ye,Ai.prototype=Li(_i.prototype),Ai.prototype.constructor=Ai;function Gi(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function Xs(){var S=new Gi(this.__wrapped__);return S.__actions__=Ku(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=Ku(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=Ku(this.__views__),S}function Qa(){if(this.__filtered__){var S=new Gi(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function ho(){var S=this.__wrapped__.value(),O=this.__dir__,Q=Ea(S),_e=O<0,nt=Q?S.length:0,Ct=Ki(0,nt,this.__views__),ar=Ct.start,Dr=Ct.end,rn=Dr-ar,ri=_e?Dr:ar-1,ii=this.__iteratees__,mi=ii.length,ds=0,zs=Mo(rn,this.__takeCount__);if(!Q||!_e&&nt==rn&&zs==rn)return Mc(S,this.__actions__);var oa=[];e:for(;rn--&&ds<zs;){ri+=O;for(var Oa=-1,ua=S[ri];++Oa<mi;){var Xa=ii[Oa],no=Xa.iteratee,od=Xa.type,_c=no(ua);if(od==Fe)ua=_c;else if(!_c){if(od==je)continue e;break e}}oa[ds++]=ua}return oa}Gi.prototype=Li(_i.prototype),Gi.prototype.constructor=Gi;function Pa(S){var O=-1,Q=S==null?0:S.length;for(this.clear();++O<Q;){var _e=S[O];this.set(_e[0],_e[1])}}function Ja(){this.__data__=lu?lu(null):{},this.size=0}function ma(S){var O=this.has(S)&&delete this.__data__[S];return this.size-=O?1:0,O}function Ha(S){var O=this.__data__;if(lu){var Q=O[S];return Q===g?r:Q}return Ca.call(O,S)?O[S]:r}function uo(S){var O=this.__data__;return lu?O[S]!==r:Ca.call(O,S)}function Qo(S,O){var Q=this.__data__;return this.size+=this.has(S)?0:1,Q[S]=lu&&O===r?g:O,this}Pa.prototype.clear=Ja,Pa.prototype.delete=ma,Pa.prototype.get=Ha,Pa.prototype.has=uo,Pa.prototype.set=Qo;function So(S){var O=-1,Q=S==null?0:S.length;for(this.clear();++O<Q;){var _e=S[O];this.set(_e[0],_e[1])}}function Eo(){this.__data__=[],this.size=0}function ku(S){var O=this.__data__,Q=Fu(O,S);if(Q<0)return!1;var _e=O.length-1;return Q==_e?O.pop():xt.call(O,Q,1),--this.size,!0}function al(S){var O=this.__data__,Q=Fu(O,S);return Q<0?r:O[Q][1]}function cu(S){return Fu(this.__data__,S)>-1}function dd(S,O){var Q=this.__data__,_e=Fu(Q,S);return _e<0?(++this.size,Q.push([S,O])):Q[_e][1]=O,this}So.prototype.clear=Eo,So.prototype.delete=ku,So.prototype.get=al,So.prototype.has=cu,So.prototype.set=dd;function Nu(S){var O=-1,Q=S==null?0:S.length;for(this.clear();++O<Q;){var _e=S[O];this.set(_e[0],_e[1])}}function Au(){this.size=0,this.__data__={hash:new Pa,map:new(il||So),string:new Pa}}function cc(S){var O=Vt(this,S).delete(S);return this.size-=O?1:0,O}function Dd(S){return Vt(this,S).get(S)}function sf(S){return Vt(this,S).has(S)}function Cu(S,O){var Q=Vt(this,S),_e=Q.size;return Q.set(S,O),this.size+=Q.size==_e?0:1,this}Nu.prototype.clear=Au,Nu.prototype.delete=cc,Nu.prototype.get=Dd,Nu.prototype.has=sf,Nu.prototype.set=Cu;function Kn(S){var O=-1,Q=S==null?0:S.length;for(this.__data__=new Nu;++O<Q;)this.add(S[O])}function yl(S){return this.__data__.set(S,g),this}function Ql(S){return this.__data__.has(S)}Kn.prototype.add=Kn.prototype.push=yl,Kn.prototype.has=Ql;function du(S){var O=this.__data__=new So(S);this.size=O.size}function Ra(){this.__data__=new So,this.size=0}function tu(S){var O=this.__data__,Q=O.delete(S);return this.size=O.size,Q}function Na(S){return this.__data__.get(S)}function fu(S){return this.__data__.has(S)}function fd(S,O){var Q=this.__data__;if(Q instanceof So){var _e=Q.__data__;if(!il||_e.length<s-1)return _e.push([S,O]),this.size=++Q.size,this;Q=this.__data__=new Nu(_e)}return Q.set(S,O),this.size=Q.size,this}du.prototype.clear=Ra,du.prototype.delete=tu,du.prototype.get=Na,du.prototype.has=fu,du.prototype.set=fd;function hd(S,O){var Q=Ea(S),_e=!Q&&bf(S),nt=!Q&&!_e&&Qd(S),Ct=!Q&&!_e&&!nt&&Gf(S),ar=Q||_e||nt||Ct,Dr=ar?ki(S.length,Uo):[],rn=Dr.length;for(var ri in S)(O||Ca.call(S,ri))&&!(ar&&(ri=="length"||nt&&(ri=="offset"||ri=="parent")||Ct&&(ri=="buffer"||ri=="b
644yteLength"||ri=="byteOffset")||Ws(ri,rn)))&&Dr.push(ri);return Dr}function dc(S){var O=S.length;return O?S[b(0,O-1)]:r}function Ou(S,O){return lf(Ku(S),ol(O,0,S.length))}function pd(S){return lf(Ku(S))}function No(S,O,Q){(Q!==r&&!oc(S[O],Q)||Q===r&&!(O in S))&&hu(S,O,Q)}function Iu(S,O,Q){var _e=S[O];(!(Ca.call(S,O)&&oc(_e,Q))||Q===r&&!(O in S))&&hu(S,O,Q)}function Fu(S,O){for(var Q=S.length;Q--;)if(oc(S[Q][0],O))return Q;return-1}function Wu(S,O,Q,_e){return xl(S,function(nt,Ct,ar){O(_e,nt,Q(nt),ar)}),_e}function To(S,O){return S&&po(O,Zu(O),S)}function Oc(S,O){return S&&po(O,Tc(O),S)}function hu(S,O,Q){O=="__proto__"&&Ps?Ps(S,O,{configurable:!0,enumerable:!0,value:Q,writable:!0}):S[O]=Q}function bl(S,O){for(var Q=-1,_e=O.length,nt=xr(_e),Ct=S==null;++Q<_e;)nt[Q]=Ct?r:fp(S,O[Q]);return nt}function ol(S,O,Q){return S===S&&(Q!==r&&(S=S<=Q?S:Q),O!==r&&(S=S>=O?S:O)),S}function pu(S,O,Q,_e,nt,Ct){var ar,Dr=O&x,rn=O&T,ri=O&E;if(Q&&(ar=nt?Q(S,_e,nt,Ct):Q(S)),ar!==r)return ar;if(!qo(S))return S;var ii=Ea(S);if(ii){if(ar=_s(S),!Dr)return Ku(S,ar)}else{var mi=hi(S),ds=mi==Yr||mi==Gr;if(Qd(S))return Po(S,Dr);if(mi==tt||mi==qe||ds&&!nt){if(ar=rn||ds?{}:ga(S),!Dr)return rn?of(S,Oc(ar,S)):Of(S,To(ar,S))}else{if(!cs[mi])return nt?S:{};ar=Ei(S,mi,Dr)}}Ct||(Ct=new du);var zs=Ct.get(S);if(zs)return zs;Ct.set(S,ar),Dp(S)?S.forEach(function(ua){ar.add(pu(ua,O,Q,ua,S,Ct))}):Rp(S)&&S.forEach(function(ua,Xa){ar.set(Xa,pu(ua,O,Q,Xa,S,Ct))});var oa=ri?rn?Pt:At:rn?Tc:Zu,Oa=ii?r:oa(S);return tr(Oa||S,function(ua,Xa){Oa&&(Xa=ua,ua=S[Xa]),Iu(ar,Xa,pu(ua,O,Q,Xa,S,Ct))}),ar}function Sl(S){var O=Zu(S);return function(Q){return Ic(Q,S,O)}}function Ic(S,O,Q){var _e=Q.length;if(S==null)return!_e;for(S=Ys(S);_e--;){var nt=Q[_e],Ct=O[nt],ar=S[nt];if(ar===r&&!(nt in S)||!Ct(ar))return!1}return!0}function Fl(S,O,Q){if(typeof S!="function")throw new vo(u);return iu(function(){S.apply(r,Q)},O)}function eo(S,O,Q,_e){var nt=-1,Ct=Hn,ar=!0,Dr=S.length,rn=[],ri=O.length;if(!Dr)return rn;Q&&(O=Wt(O,As(Q))),_e?(Ct=Bt,ar=!1):O.length>=s&&(Ct=Gn,ar=!1,O=new Kn(O));e:for(;++nt<Dr;){var ii=S[nt],mi=Q==null?ii:Q(ii);if(ii=_e||ii!==0?ii:0,ar&&mi===mi){for(var ds=ri;ds--;)if(O[ds]===mi)continue e;rn.push(ii)}else Ct(O,mi,_e)||rn.push(ii)}return rn}var xl=uf(wo),Ld=uf(fc,!0);function In(S,O){var Q=!0;return xl(S,function(_e,nt,Ct){return Q=!!O(_e,nt,Ct),Q}),Q}function Wc(S,O,Q){for(var _e=-1,nt=S.length;++_e<nt;){var Ct=S[_e],ar=O(Ct);if(ar!=null&&(Dr===r?ar===ar&&!Fc(ar):Q(ar,Dr)))var Dr=ar,rn=Ct}return rn}function Vc(S,O,Q,_e){var nt=S.length;for(Q=Da(Q),Q<0&&(Q=-Q>nt?0:nt+Q),_e=_e===r||_e>nt?nt:Da(_e),_e<0&&(_e+=nt),_e=Q>_e?0:lp(_e);Q<_e;)S[Q++]=O;return S}function Pc(S,O){var Q=[];return xl(S,function(_e,nt,Ct){O(_e,nt,Ct)&&Q.push(_e)}),Q}function Ua(S,O,Q,_e,nt){var Ct=-1,ar=S.length;for(Q||(Q=fs),nt||(nt=[]);++Ct<ar;){var Dr=S[Ct];O>0&&Q(Dr)?O>1?Ua(Dr,O-1,Q,_e,nt):Wr(nt,Dr):_e||(nt[nt.length]=Dr)}return nt}var ul=Xu(),Jl=Xu(!0);function wo(S,O){return S&&ul(S,O,Zu)}function fc(S,O){return S&&Jl(S,O,Zu)}function Vu(S,O){return Bn(O,function(Q){return Zo(S[Q])})}function Zl(S,O){O=rc(O,S);for(var Q=0,_e=O.length;S!=null&&Q<_e;)S=S[Rl(O[Q++])];return Q&&Q==_e?S:r}function Gc(S,O,Q){var _e=O(S);return Ea(S)?_e:Wr(_e,Q(S))}function ba(S){return S==null?S===r?dr:yt:vs&&vs in Ys(S)?Xn(S):Bd(S)}function El(S,O){return S>O}function ll(S,O){return S!=null&&Ca.call(S,O)}function md(S,O){return S!=null&&O in Ys(S)}function Tl(S,O,Q){return S>=Mo(O,Q)&&S<bo(O,Q)}function wl(S,O,Q){for(var _e=Q?Bt:Hn,nt=S[0].length,Ct=S.length,ar=Ct,Dr=xr(Ct),rn=1/0,ri=[];ar--;){var ii=S[ar];ar&&O&&(ii=Wt(ii,As(O))),rn=Mo(ii.length,rn),Dr[ar]=!Q&&(O||nt>=120&&ii.length>=120)?new Kn(ar&&ii):r}ii=S[0];var mi=-1,ds=Dr[0];e:for(;++mi<nt&&ri.length<rn;){var zs=ii[mi],oa=O?O(zs):zs;if(zs=Q||zs!==0?zs:0,!(ds?Gn(ds,oa):_e(ri,oa,Q))){for(ar=Ct;--ar;){var Oa=Dr[ar];if(!(Oa?Gn(Oa,oa):_e(S[ar],oa,Q)))continue e}ds&&ds.push(oa),ri.push(zs)}}return ri}function gd(S,O,Q,_e){return wo(S,function(nt,Ct,ar){O(_e,Q(nt),Ct,ar)}),_e}function ql(S,O,Q){O=rc(O,S),S=Pf(S,O);var _e=S==null?S:S[Rl(zu(O))];return _e==null?r:ct(_e,S,Q)}function Bl(S){return Eu(S)&&ba(S)==qe}function cl(S){return Eu(S)&&ba(S)==Qt}function vd(S){return Eu(S)&&ba(S)==Ut}function _l(S,O,Q,_e,nt){return S===O?!0:S==null||O==null||!Eu(S)&&!Eu(O)?S!==S&&O!==O:dl(S,O,Q,_e,_l,nt)}function dl(S,O,Q,_e,nt,Ct){var ar=Ea(S),Dr=Ea(O),rn=ar?It:hi(S),ri=Dr?It:hi(O);rn=rn==qe?tt:rn,ri=ri==qe?tt:ri;var ii=rn==tt,mi=ri==tt,ds=rn==ri;if(ds&&Qd(S)){if(!Qd(O))return!1;ar=!0,ii=!1}if(ds&&!ii)return Ct||(Ct=new du),ar||Gf(S)?Se(S,O,Q,_e,nt,Ct):Pe(S,O,rn,Q,_e,nt,Ct);if(!(Q&_)){var zs=ii&&Ca.call(S,"__wrapped__"),oa=mi&&Ca.call(O,"__wrapped__");
vendor: 4,630 bytes, line 644
644if(zs||oa){var Oa=zs?S.value():S,ua=oa?O.value():O;return Ct||(Ct=new du),nt(Oa,ua,Q,_e,Ct)}}return ds?(Ct||(Ct=new du),Qe(S,O,Q,_e,nt,Ct)):!1}function hc(S){return Eu(S)&&hi(S)==dn}function Sa(S,O,Q,_e){var nt=Q.length,Ct=nt,ar=!_e;if(S==null)return!Ct;for(S=Ys(S);nt--;){var Dr=Q[nt];if(ar&&Dr[2]?Dr[1]!==S[Dr[0]]:!(Dr[0]in S))return!1}for(;++nt<Ct;){Dr=Q[nt];var rn=Dr[0],ri=S[rn],ii=Dr[1];if(ar&&Dr[2]){if(ri===r&&!(rn in S))return!1}else{var mi=new du;if(_e)var ds=_e(ri,ii,rn,S,O,mi);if(!(ds===r?_l(ii,ri,_|C,_e,mi):ds))return!1}}return!0}function M(S){if(!qo(S)||Jo(S))return!1;var O=Zo(S)?Fs:yn;return O.test(jd(S))}function re(S){return Eu(S)&&ba(S)==Er}function Ee(S){return Eu(S)&&hi(S)==Ur}function Be(S){return Eu(S)&&ch(S.length)&&!!Hs[ba(S)]}function vt(S){return typeof S=="function"?S:S==null?wc:typeof S=="object"?Ea(S)?Io(S[0],S[1]):fa(S):$0(S)}function gr(S){if(!bu(S))return eu(S);var O=[];for(var Q in Ys(S))Ca.call(S,Q)&&Q!="constructor"&&O.push(Q);return O}function Cn(S){if(!qo(S))return qc(S);var O=bu(S),Q=[];for(var _e in S)_e=="constructor"&&(O||!Ca.call(S,_e))||Q.push(_e);return Q}function es(S,O){return S<O}function Zs(S,O){var Q=-1,_e=ml(S)?xr(S.length):[];return xl(S,function(nt,Ct,ar){_e[++Q]=O(nt,Ct,ar)}),_e}function fa(S){var O=zr(S);return O.length==1&&O[0][2]?fl(O[0][0],O[0][1]):function(Q){return Q===S||Sa(Q,S,O)}}function Io(S,O){return Wa(S)&&Su(O)?fl(Rl(S),O):function(Q){var _e=fp(Q,S);return _e===r&&_e===O?kp(Q,S):_l(O,_e,_|C)}}function ru(S,O,Q,_e,nt){S!==O&&ul(O,function(Ct,ar){if(nt||(nt=new du),qo(Ct))Ul(S,O,ar,Q,ru,_e,nt);else{var Dr=_e?_e(Ud(S,ar),Ct,ar+"",S,O,nt):r;Dr===r&&(Dr=Ct),No(S,ar,Dr)}},Tc)}function Ul(S,O,Q,_e,nt,Ct,ar){var Dr=Ud(S,Q),rn=Ud(O,Q),ri=ar.get(rn);if(ri){No(S,Q,ri);return}var ii=Ct?Ct(Dr,rn,Q+"",S,O,ar):r,mi=ii===r;if(mi){var ds=Ea(rn),zs=!ds&&Qd(rn),oa=!ds&&!zs&&Gf(rn);ii=rn,ds||zs||oa?Ea(Dr)?ii=Dr:su(Dr)?ii=Ku(Dr):zs?(mi=!1,ii=Po(rn,!0)):oa?(mi=!1,ii=af(rn,!0)):ii=[]:dh(rn)||bf(rn)?(ii=Dr,bf(Dr)?ii=v0(Dr):(!qo(Dr)||Zo(Dr))&&(ii=ga(rn))):mi=!1}mi&&(ar.set(rn,ii),nt(ii,rn,_e,Ct,ar),ar.delete(rn)),No(S,Q,ii)}function yd(S,O){var Q=S.length;if(Q)return O+=O<0?Q:0,Ws(O,Q)?S[O]:r}function Kc(S,O,Q){O.length?O=Wt(O,function(Ct){return Ea(Ct)?function(ar){return Zl(ar,Ct.length===1?Ct[0]:Ct)}:Ct}):O=[wc];var _e=-1;O=Wt(O,As(jt()));var nt=Zs(S,function(Ct,ar,Dr){var rn=Wt(O,function(ri){return ri(Ct)});return{criteria:rn,index:++_e,value:Ct}});return En(nt,function(Ct,ar){return Il(Ct,ar,Q)})}function Yc(S,O){return bd(S,O,function(Q,_e){return kp(S,_e)})}function bd(S,O,Q){for(var _e=-1,nt=O.length,Ct={};++_e<nt;){var ar=O[_e],Dr=Zl(S,ar);Q(Dr,ar)&&Dc(Ct,rc(ar,S),Dr)}return Ct}function ec(S){return function(O){return Zl(O,S)}}function mu(S,O,Q,_e){var nt=_e?ot:lt,Ct=-1,ar=O.length,Dr=S;for(S===O&&(O=Ku(O)),Q&&(Dr=Wt(S,As(Q)));++Ct<ar;)for(var rn=0,ri=O[Ct],ii=Q?Q(ri):ri;(rn=nt(Dr,ii,rn,_e))>-1;)Dr!==S&&xt.call(Dr,rn,1),xt.call(S,rn,1);return S}function tc(S,O){for(var Q=S?O.length:0,_e=Q-1;Q--;){var nt=O[Q];if(Q==_e||nt!==Ct){var Ct=nt;Ws(nt)?xt.call(S,nt,1):Lc(S,nt)}}return S}function b(S,O){return S+Vo(lc()*(O-S+1))}function Cf(S,O,Q,_e){for(var nt=-1,Ct=bo(qa((O-S)/(Q||1)),0),ar=xr(Ct);Ct--;)ar[_e?Ct:++nt]=S,S+=Q;return ar}function ea(S,O){var Q="";if(!S||O<1||O>ge)return Q;do O%2&&(Q+=S),O=Vo(O/2),O&&(S+=S);while(O);return Q}function ji(S,O){return td(ed(S,O,wc),S+"")}function Rc(S){return dc(xf(S))}function Al(S,O){var Q=xf(S);return lf(Q,ol(O,0,Q.length))}function Dc(S,O,Q,_e){if(!qo(S))return S;O=rc(O,S);for(var nt=-1,Ct=O.length,ar=Ct-1,Dr=S;Dr!=null&&++nt<Ct;){var rn=Rl(O[nt]),ri=Q;if(rn==="__proto__"||rn==="constructor"||rn==="prototype")return S;if(nt!=ar){var ii=Dr[rn];ri=_e?_e(ii,rn,Dr):r,ri===r&&(ri=qo(ii)?ii:Ws(O[nt+1])?[]:{})}Iu(Dr,rn,ri),Dr=Dr[rn]}return S}var Xc=Go?function(S,O){return Go.set(S,O),S}:wc,pn=Ps?function(S,O){return Ps(S,"toString",{configurable:!0,enumerable:!1,value:zh(O),writable:!0})}:wc;function xa(S){return lf(xf(S))}function so(S,O,Q){var _e=-1,nt=S.length;O<0&&(O=-O>nt?0:nt+O),Q=Q>nt?nt:Q,Q<0&&(Q+=nt),nt=O>Q?0:Q-O>>>0,O>>>=0;for(var Ct=xr(nt);++_e<nt;)Ct[_e]=S[_e+O];return Ct}function La(S,O){var Q;return xl(S,function(_e,nt,Ct){return Q=O(_e,nt,Ct),!Q}),!!Q}function ia(S,O,Q){var _e=0,nt=S==null?_e:S.length;if(typeof O=="number"&&O===O&&nt<=De){for(;_e<nt;){var Ct=_e+nt>>>1,ar=S[Ct];ar!==null&&!Fc(ar)&&(Q?ar<=O:ar<O)?_e=Ct+1:nt=Ct}return nt}return Cl(S,O,wc,Q)}function Cl(S,O,Q,_e){var nt=0,Ct=S==null?0:S.length;if(Ct===0)return 0;O=Q(O);for(var ar=O!==O,Dr=O===null,rn=Fc(O),ri=O===r;nt<Ct;){var ii=Vo((nt+Ct)/2),mi=Q(S[ii]),ds=mi!==r,zs=mi===null,oa=mi===m
vendor: 3,419 bytes, line 644
644i,Oa=Fc(mi);if(ar)var ua=_e||oa;else ri?ua=oa&&(_e||ds):Dr?ua=oa&&ds&&(_e||!zs):rn?ua=oa&&ds&&!zs&&(_e||!Oa):zs||Oa?ua=!1:ua=_e?mi<=O:mi<O;ua?nt=ii+1:Ct=ii}return Mo(Ct,ye)}function Qc(S,O){for(var Q=-1,_e=S.length,nt=0,Ct=[];++Q<_e;){var ar=S[Q],Dr=O?O(ar):ar;if(!Q||!oc(Dr,rn)){var rn=Dr;Ct[nt++]=ar===0?0:ar}}return Ct}function ao(S){return typeof S=="number"?S:Fc(S)?Ie:+S}function Bu(S){if(typeof S=="string")return S;if(Ea(S))return Wt(S,Bu)+"";if(Fc(S))return mn?mn.call(S):"";var O=S+"";return O=="0"&&1/S==-Xe?"-0":O}function Uu(S,O,Q){var _e=-1,nt=Hn,Ct=S.length,ar=!0,Dr=[],rn=Dr;if(Q)ar=!1,nt=Bt;else if(Ct>=s){var ri=O?null:A(S);if(ri)return ft(ri);ar=!1,nt=Gn,rn=new Kn}else rn=O?[]:Dr;e:for(;++_e<Ct;){var ii=S[_e],mi=O?O(ii):ii;if(ii=Q||ii!==0?ii:0,ar&&mi===mi){for(var ds=rn.length;ds--;)if(rn[ds]===mi)continue e;O&&rn.push(mi),Dr.push(ii)}else nt(rn,mi,Q)||(rn!==Dr&&rn.push(mi),Dr.push(ii))}return Dr}function Lc(S,O){O=rc(O,S);var Q=-1,_e=O.length;if(!_e)return!0;for(;++Q<_e;){var nt=Rl(O[Q]);if(nt==="__proto__"&&!Ca.call(S,"__proto__")||(nt==="constructor"||nt==="prototype")&&Q<_e-1)return!1}var Ct=Pf(S,O);return Ct==null||delete Ct[Rl(zu(O))]}function pc(S,O,Q,_e){return Dc(S,O,Q(Zl(S,O)),_e)}function Md(S,O,Q,_e){for(var nt=S.length,Ct=_e?nt:-1;(_e?Ct--:++Ct<nt)&&O(S[Ct],Ct,S););return Q?so(S,_e?0:Ct,_e?Ct+1:nt):so(S,_e?Ct+1:0,_e?nt:Ct)}function Mc(S,O){var Q=S;return Q instanceof Gi&&(Q=Q.value()),sn(O,function(_e,nt){return nt.func.apply(nt.thisArg,Wr([_e],nt.args))},Q)}function Gu(S,O,Q){var _e=S.length;if(_e<2)return _e?Uu(S[0]):[];for(var nt=-1,Ct=xr(_e);++nt<_e;)for(var ar=S[nt],Dr=-1;++Dr<_e;)Dr!=nt&&(Ct[nt]=eo(Ct[nt]||ar,S[Dr],O,Q));return Uu(Ua(Ct,1),O,Q)}function Jc(S,O,Q){for(var _e=-1,nt=S.length,Ct=O.length,ar={};++_e<nt;){var Dr=_e<Ct?O[_e]:r;Q(ar,S[_e],Dr)}return ar}function Sd(S){return su(S)?S:[]}function xd(S){return typeof S=="function"?S:wc}function rc(S,O){return Ea(S)?S:Wa(S,O)?[S]:Th(mo(S))}var nc=ji;function Pu(S,O,Q){var _e=S.length;return Q=Q===r?_e:Q,!O&&Q>=_e?S:so(S,O,Q)}var Ol=Ia||function(S){return Si.clearTimeout(S)};function Po(S,O){if(O)return S.slice();var Q=S.length,_e=Ml?Ml(Q):new S.constructor(Q);return S.copy(_e),_e}function mc(S){var O=new S.constructor(S.byteLength);return new tl(O).set(new tl(S)),O}function Zc(S,O){var Q=O?mc(S.buffer):S.buffer;return new S.constructor(Q,S.byteOffset,S.byteLength)}function gu(S){var O=new S.constructor(S.source,Gt.exec(S));return O.lastIndex=S.lastIndex,O}function Ed(S){return Rr?Ys(Rr.call(S)):{}}function af(S,O){var Q=O?mc(S.buffer):S.buffer;return new S.constructor(Q,S.byteOffset,S.length)}function kd(S,O){if(S!==O){var Q=S!==r,_e=S===null,nt=S===S,Ct=Fc(S),ar=O!==r,Dr=O===null,rn=O===O,ri=Fc(O);if(!Dr&&!ri&&!Ct&&S>O||Ct&&ar&&rn&&!Dr&&!ri||_e&&ar&&rn||!Q&&rn||!nt)return 1;if(!_e&&!Ct&&!ri&&S<O||ri&&Q&&nt&&!_e&&!Ct||Dr&&Q&&nt||!ar&&nt||!rn)return-1}return 0}function Il(S,O,Q){for(var _e=-1,nt=S.criteria,Ct=O.criteria,ar=nt.length,Dr=Q.length;++_e<ar;){var rn=kd(nt[_e],Ct[_e]);if(rn){if(_e>=Dr)return rn;var ri=Q[_e];return rn*(ri=="desc"?-1:1)}}return S.index-O.index}function jl(S,O,Q,_e){for(var nt=-1,Ct=S.length,ar=Q.length,Dr=-1,rn=O.length,ri=bo(Ct-ar,0),ii=xr(rn+ri),mi=!_e;++Dr<rn;)ii[Dr]=O[Dr];for(;++nt<ar;)(mi||nt<Ct)&&(ii[Q[nt]]=S[nt]);for(;ri--;)ii[Dr++]=S[nt++];return ii}function Nd(S,O,Q,_e){for(var nt=-1,Ct=S.length,ar=-1,Dr=Q.length,rn=-1,ri=O.length,ii=bo(Ct-
vendor: 11,075 bytes, lines 644-646
644Dr,0),mi=xr(ii+ri),ds=!_e;++nt<ii;)mi[nt]=S[nt];for(var zs=nt;++rn<ri;)mi[zs+rn]=O[rn];for(;++ar<Dr;)(ds||nt<Ct)&&(mi[zs+Q[ar]]=S[nt++]);return mi}function Ku(S,O){var Q=-1,_e=S.length;for(O||(O=xr(_e));++Q<_e;)O[Q]=S[Q];return O}function po(S,O,Q,_e){var nt=!Q;Q||(Q={});for(var Ct=-1,ar=O.length;++Ct<ar;){var Dr=O[Ct],rn=_e?_e(Q[Dr],S[Dr],Dr,Q,S):r;rn===r&&(rn=S[Dr]),nt?hu(Q,Dr,rn):Iu(Q,Dr,rn)}return Q}function Of(S,O){return po(S,ni(S),O)}function of(S,O){return po(S,zn(S),O)}function vu(S,O){return function(Q,_e){var nt=Ea(Q)?Kt:Wu,Ct=O?O():{};return nt(Q,S,jt(_e,2),Ct)}}function Yu(S){return ji(function(O,Q){var _e=-1,nt=Q.length,Ct=nt>1?Q[nt-1]:r,ar=nt>2?Q[2]:r;for(Ct=S.length>3&&typeof Ct=="function"?(nt--,Ct):r,ar&&Ss(Q[0],Q[1],ar)&&(Ct=nt<3?r:Ct,nt=1),O=Ys(O);++_e<nt;){var Dr=Q[_e];Dr&&S(O,Dr,_e,Ct)}return O})}function uf(S,O){return function(Q,_e){if(Q==null)return Q;if(!ml(Q))return S(Q,_e);for(var nt=Q.length,Ct=O?nt:-1,ar=Ys(Q);(O?Ct--:++Ct<nt)&&_e(ar[Ct],Ct,ar)!==!1;);return Q}}function Xu(S){return function(O,Q,_e){for(var nt=-1,Ct=Ys(O),ar=_e(O),Dr=ar.length;Dr--;){var rn=ar[S?Dr:++nt];if(Q(Ct[rn],rn,Ct)===!1)break}return O}}function zl(S,O,Q){var _e=O&P,nt=gc(S);function Ct(){var ar=this&&this!==Si&&this instanceof Ct?nt:S;return ar.apply(_e?Q:this,arguments)}return Ct}function ic(S){return function(O){O=mo(O);var Q=z(O)?cn(O):r,_e=Q?Q[0]:O.charAt(0),nt=Q?Pu(Q,1).join(""):O.slice(1);return _e[S]()+nt}}function $l(S){return function(O){return sn(Up(I0(O).replace(pa,"")),S,"")}}function gc(S){return function(){var O=arguments;switch(O.length){case 0:return new S;case 1:return new S(O[0]);case 2:return new S(O[0],O[1]);case 3:return new S(O[0],O[1],O[2]);case 4:return new S(O[0],O[1],O[2],O[3]);case 5:return new S(O[0],O[1],O[2],O[3],O[4]);case 6:return new S(O[0],O[1],O[2],O[3],O[4],O[5]);case 7:return new S(O[0],O[1],O[2],O[3],O[4],O[5],O[6])}var Q=Li(S.prototype),_e=S.apply(Q,O);return qo(_e)?_e:Q}}function Fd(S,O,Q){var _e=gc(S);function nt(){for(var Ct=arguments.length,ar=xr(Ct),Dr=Ct,rn=Qr(nt);Dr--;)ar[Dr]=arguments[Dr];var ri=Ct<3&&ar[0]!==rn&&ar[Ct-1]!==rn?[]:st(ar,rn);if(Ct-=ri.length,Ct<Q)return Ht(S,O,yu,nt.placeholder,r,ar,ri,r,r,Q-Ct);var ii=this&&this!==Si&&this instanceof nt?_e:S;return ct(ii,this,ar)}return nt}function If(S){return function(O,Q,_e){var nt=Ys(O);if(!ml(O)){var Ct=jt(Q,3);O=Zu(O),Q=function(Dr){return Ct(nt[Dr],Dr,nt)}}var ar=S(O,Q,_e);return ar>-1?nt[Ct?O[ar]:ar]:r}}function lo(S){return ut(function(O){var Q=O.length,_e=Q,nt=Ai.prototype.thru;for(S&&O.reverse();_e--;){var Ct=O[_e];if(typeof Ct!="function")throw new vo(u);if(nt&&!ar&&vr(Ct)=="wrapper")var ar=new Ai([],!0)}for(_e=ar?_e:Q;++_e<Q;){Ct=O[_e];var Dr=vr(Ct),rn=Dr=="wrapper"?Fr(Ct):r;rn&&Va(rn[0])&&rn[1]==(W|B|F|Z)&&!rn[4].length&&rn[9]==1?ar=ar[vr(rn[0])].apply(ar,rn[3]):ar=Ct.length==1&&Va(Ct)?ar[Dr]():ar.thru(Ct)}return function(){var ri=arguments,ii=ri[0];if(ar&&ri.length==1&&Ea(ii))return ar.plant(ii).value();for(var mi=0,ds=Q?O[mi].apply(this,ri):ii;++mi<Q;)ds=O[mi].call(this,ds);return ds}})}function yu(S,O,Q,_e,nt,Ct,ar,Dr,rn,ri){var ii=O&W,mi=O&P,ds=O&k,zs=O&(B|$),oa=O&J,Oa=ds?r:gc(S);function ua(){for(var Xa=arguments.length,no=xr(Xa),od=Xa;od--;)no[od]=arguments[od];if(zs)var _c=Qr(ua),ud=qs(no,_c);if(_e&&(no=jl(no,_e,nt,zs)),Ct&&(no=Nd(no,Ct,ar,zs)),Xa-=ud,zs&&Xa<ri){var $u=st(no,_c);return Ht(S,O,yu,ua.placeholder,Q,no,$u,Dr,rn,ri-Xa)}var qd=mi?Q:this,Bf=ds?qd[S]:S;return Xa=no.length,Dr?no=Rf(no,Dr):oa&&Xa>1&&no.reverse(),ii&&rn<Xa&&(no.length=rn),this&&this!==Si&&this instanceof ua&&(Bf=Oa||gc(Bf)),Bf.apply(qd,no)}return ua}function to(S,O){return function(Q,_e){return gd(Q,S,O(_e),{})}}function j(S,O){return function(Q,_e){var nt;if(Q===r&&_e===r)return O;if(Q!==r&&(nt=Q),_e!==r){if(nt===r)return _e;typeof Q=="string"||typeof _e=="string"?(Q=Bu(Q),_e=Bu(_e)):(Q=ao(Q),_e=ao(_e)),nt=S(Q,_e)}return nt}}function se(S){return ut(function(O){return O=Wt(O,As(jt())),ji(function(Q){var _e=this;return S(O,function(nt){return ct(nt,_e,Q)})})})}function we(S,O){O=O===r?" ":Bu(O);var Q=O.length;if(Q<2)return Q?ea(O,S):O;var _e=ea(O,qa(S/Nr(O)));return z(O)?Pu(cn(_e),0,S).join(""):_e.slice(0,S)}function Oe(S,O,Q,_e){var nt=O&P,Ct=gc(S);function ar(){for(var Dr=-1,rn=arguments.length,ri=-1,ii=_e.length,mi=xr(ii+rn),ds=this&&this!==Si&&this instanceof ar?Ct:S;++ri<ii;)mi[ri]=_e[ri];for(;rn--;)mi[ri++]=arguments[++Dr];return ct(ds,nt?Q:this,mi)}return ar}function rt(S){return function(O,Q,_e){return _e&&typeof _e!="number"&&Ss(O,Q,_e)&&(Q=_e=r),O=Sf(O),Q===r?(Q=O,O=0):Q=Sf(Q),_e=_e===r?O<Q?1:-1:Sf(_e),Cf(O,Q,_e,S)}}function at(S){return function(O,Q){return typeof O=="string"&&typeof Q=="string"||(O=Bc(O),Q=Bc(Q)),S(O,Q)}}function Ht(S,O,Q,_e,nt,Ct,ar,Dr,rn,ri){var ii=O&B,mi=ii?ar:r,ds=ii?r:ar,zs=ii?Ct:r,oa=ii?r:Ct;O|=ii?F:V,O&=~(ii?V:F),O&D||(O&=~(P|k));var Oa=[S,O,nt,zs,mi,oa,ds,Dr,rn,ri],ua=Q.apply(r,Oa);return Va(S)&&nu(ua,Oa),ua.placeholder=_e,Df(ua,S,O)}function ir(S){var O=ra[S];return function(Q,_e){if(Q=Bc(Q),_e=_e==null?0:Mo(Da(_e),292),_e&&kl(Q)){var nt=(mo(Q)+"e").split("e"),Ct=O(nt[0]+"e"+(+nt[1]+_e));return nt=(mo(Ct)+"e").split("e"),+(nt[0]+"e"+(+nt[1]-_e))}return O(Q)}}var A=sl&&1/ft(new sl([,-0]))[1]==Xe?function(S){return new sl(S)}:mp;function N(S){return function(O){var Q=hi(O);return Q==dn?Ce(O):Q==Ur?Dt(O):bs(O,S(O))}}function K(S,O,Q,_e,nt,Ct,ar,Dr){var rn=O&k;if(!rn&&typeof S!="function")throw new vo(u);var ri=_e?_e.length:0;if(ri||(O&=~(F|V),_e=nt=r),ar=ar===r?ar:bo(Da(ar),0),Dr=Dr===r?Dr:Da(Dr),ri-=nt?nt.length:0,O&V){var ii=_e,mi=nt;_e=nt=r}var ds=rn?r:Fr(S),zs=[S,O,Q,_e,nt,ii,mi,Ct,ar,Dr];if(ds&&hl(zs,ds),S=zs[0],O=zs[1],Q=zs[2],_e=zs[3],nt=zs[4],Dr=zs[9]=zs[9]===r?rn?0:S.length:bo(zs[9]-ri,0),!Dr&&O&(B|$)&&(O&=~(B|$)),!O||O==P)var oa=zl(S,O,Q);else O==B||O==$?oa=Fd(S,O,Dr):(O==F||O==(P|F))&&!nt.length?oa=Oe(S,O,Q,_e):oa=yu.apply(r,zs);var Oa=ds?Xc:nu;return Df(Oa(oa,zs),S,O)}function te(S,O,Q,_e){return S===r||oc(S,wa[Q])&&!Ca.call(_e,Q)?O:S}function de(S,O,Q,_e,nt,Ct){return qo(S)&&qo(O)&&(Ct.set(O,S),ru(S,O,r,de,Ct),Ct.delete(O)),S}function fe(S){return dh(S)?r:S}function Se(S,O,Q,_e,nt,Ct){var ar=Q&_,Dr=S.length,rn=O.length;if(Dr!=rn&&!(ar&&rn>Dr))return!1;var ri=Ct.get(S),ii=Ct.get(O);if(ri&&ii)return ri==O&&ii==S;var mi=-1,ds=!0,zs=Q&C?new Kn:r;for(Ct.set(S,O),Ct.set(O,S);++mi<Dr;){var oa=S[mi],Oa=O[mi];if(_e)var ua=ar?_e(Oa,oa,mi,O,S,Ct):_e(oa,Oa,mi,S,O,Ct);if(ua!==r){if(ua)continue;ds=!1;break}if(zs){if(!_n(O,function(Xa,no){if(!Gn(zs,no)&&(oa===Xa||nt(oa,Xa,Q,_e,Ct)))return zs.push(no)})){ds=!1;break}}else if(!(oa===Oa||nt(oa,Oa,Q,_e,Ct))){ds=!1;break}}return Ct.delete(S),Ct.delete(O),ds}function Pe(S,O,Q,_e,nt,Ct,ar){switch(Q){case Br:if(S.byteLength!=O.byteLength||S.byteOffset!=O.byteOffset)return!1;S=S.buffer,O=O.buffer;case Qt:return!(S.byteLength!=O.byteLength||!Ct(new tl(S),new tl(O)));case kt:case Ut:case Kr:return oc(+S,+O);case Sr:return S.name==O.name&&S.message==O.message;case Er:case or:return S==O+"";case dn:var Dr=Ce;case Ur:var rn=_e&_;if(Dr||(Dr=ft),S.size!=O.size&&!rn)return!1;var ri=ar.get(S);if(ri)return ri==O;_e|=C,ar.set(S,O);var ii=Se(Dr(S),Dr(O),_e,nt,Ct,ar);return ar.delete(S),ii;case An:if(Rr)return Rr.call(S)==Rr.call(O)}return!1}function Qe(S,O,Q,_e,nt,Ct){var ar=Q&_,Dr=At(S),rn=Dr.length,ri=At(O),ii=ri.length;if(rn!=ii&&!ar)return!1;for(var mi=rn;mi--;){var ds=Dr[mi];if(!(ar?ds in O:Ca.call(O,ds)))return!1}var zs=Ct.get(S),oa=Ct.get(O);if(zs&&oa)return zs==O&&oa==S;var Oa=!0;Ct.set(S,O),Ct.set(O,S);for(var ua=ar;++mi<rn;){ds=Dr[mi];var Xa=S[ds],no=O[ds];if(_e)var od=ar?_e(no,Xa,ds,O,S,Ct):_e(Xa,no,ds,S,O,Ct);if(!(od===r?Xa===no||nt(Xa,no,Q,_e,Ct):od)){Oa=!1;break}ua||(ua=ds=="constructor")}if(Oa&&!ua){var _c=S.constructor,ud=O.constructor;_c!=ud&&"constructor"in S&&"constructor"in O&&!(typeof _c=="function"&&_c instanceof _c&&typeof ud=="function"&&ud instanceof ud)&&(Oa=!1)}return Ct.delete(S),Ct.delete(O),Oa}function ut(S){return td(ed(S,r,Td),S+"")}function At(S){return Gc(S,Zu,ni)}function Pt(S){return Gc(S,Tc,zn)}var Fr=Go?function(S){return Go.get(S)}:mp;function vr(S){for(var O=S.name+"",Q=Xo[O],_e=Ca.call(Xo,O)?Q.length:0;_e--;){var nt=Q[_e],Ct=nt.func;if(Ct==null||Ct==S)return nt.name}return O}function Qr(S){var O=Ca.call(Ye,"placeholder")?Ye:S;return O.placeholder}function jt(){var S=Ye.iteratee||jp;return S=S===jp?vt:S,arguments.length?S(arguments[0],arguments[1]):S}function Vt(S,O){var Q=S.__data__;return Ho(O)?Q[typeof O=="string"?"string":"hash"]:Q.map}function zr(S){for(var O=Zu(S),Q=O.length;Q--;){var _e=O[Q],nt=S[_e];O[Q]=[_e,nt,Su(nt)]}return O}function _r(S,O){var Q=H(S,O);return M(Q)?Q:r}function Xn(S){var O=Ca.call(S,vs),Q=S[vs];try{S[vs]=r;var _e=!0}catch{}var nt=zo.call(S);return _e&&(O?S[vs]=Q:delete S[vs]),nt}var ni=Lo?function(S){return S==null?[]:(S=Ys(S),Bn(Lo(S),function(O){return dt.call(S,O)}))}:Hp,zn=Lo?function(S){for(var O=[];S;)Wr(O,ni(S)),S=ae(S);return O}:Hp,hi=ba;(nl&&hi(new nl(new ArrayBuffer(1)))!=Br||il&&hi(new il)!=dn||vl&&hi(vl.resolve())!=Ar||sl&&hi(new sl)!=Ur||ko&&hi(new ko)!=Xr)&&(hi=function(S){var O=ba(S),Q=O==tt?S.constructor:r,_e=Q?jd(Q):"";if(_e)switch(_e){case Cc:return Br;case Ae:return dn;case et:return Ar;case pt:return Ur;case Ft:return Xr}return O});function Ki(S,O,Q){for(var _e=-1,nt=Q.length;++_e<nt;){var Ct=Q[_e],ar=Ct.size;switch(Ct.type){case"drop":S+=ar;break;case"dropRight":O-=ar;break;case"take":O=Mo(O,S+ar);break;case"takeRight":S=bo(S,O-ar);break}}return{start:S,end:O}}function Lr(S){var O=S.match(xe);return O?O[1].split(Ge):[]}function li(S,O,Q){O=rc(O,S);for(var _e=-1,nt=O.length,Ct=!1;++_e<nt;){var ar=Rl(O[_e]);if(!(Ct=S!=null&&Q(S,ar)))break;S=S[ar]}return Ct||++_e!=nt?Ct:(nt=S==null?0:S.length,!!nt&&ch(nt)&&Ws(ar,nt)&&(Ea(S)||bf(S)))}function _s(S){var O=S.length,Q=new S.constructor(O);return O&&typeof S[0]=="string"&&Ca.call(S,"index")&&(Q.index=S.index,Q.input=S.input),Q}function ga(S){return typeof S.constructor=="function"&&!bu(S)?Li(ae(S)):{}}function Ei(S,O,Q){var _e=S.constructor;switch(O){case Qt:return mc(S);case kt:case Ut:return new _e(+S);case Br:return Zc(S,Q);case zt:case Tt:case Pr:case Y:case ht:case ur:case it:case Rt:case Zr:return af(S,Q);case dn:return new _e;case Kr:case or:return new _e(S);case Er:return gu(S);case Ur:return new _e;case An:return Ed(S)}}function Us(S,O){var Q=O.length;if(!Q)return S;var _e=Q-1;return O[_e]=(Q>1?"& ":"")+O[_e],O=O.join(Q>2?", ":" "),S.replace(oe,`{ 645/* [wrapped with `+O+`] */ 646`)}function fs(S){return Ea(S)||bf(S)||!!(bn&&S&&S[bn])}function Ws(S,O){var Q=typeof S;return O=O??ge,!!O&&(Q=="number"||Q!="symbol"&&xn.test(S))&&S>-1&&S%1==0&&S<O}function Ss(S,O,Q){if(!qo(Q))return!1;var _e=typeof O;return(_e=="number"?ml(Q)&&Ws(O,Q.length):_e=="string"&&O in Q)?oc(Q[O],S):!1}function Wa(S,O){if(Ea(S))return!1;var Q=typeof S;return Q=="number"||Q=="symbol"||Q=="boolean"||S==null||Fc(S)?!0:Hi.test(S)||!gi.test(S)||O!=null&&S in Ys(O)}function Ho(S){var O=typeof S;return O=="string"||O=="number"||O=="symbol"||O=="boolean"?S!=="__proto__":S===null}function Va(S){var O=vr(S),Q=Ye[O];
vendor: 1,977 bytes, line 646
646if(typeof Q!="function"||!(O in Gi.prototype))return!1;if(S===Q)return!0;var _e=Fr(Q);return!!_e&&S===_e[0]}function Jo(S){return!!$c&&$c in S}var ju=wu?Zo:Wp;function bu(S){var O=S&&S.constructor,Q=typeof O=="function"&&O.prototype||wa;return S===Q}function Su(S){return S===S&&!qo(S)}function fl(S,O){return function(Q){return Q==null?!1:Q[S]===O&&(O!==r||S in Ys(Q))}}function Pl(S){var O=Yd(S,function(_e){return Q.size===h&&Q.clear(),_e}),Q=O.cache;return O}function hl(S,O){var Q=S[1],_e=O[1],nt=Q|_e,Ct=nt<(P|k|W),ar=_e==W&&Q==B||_e==W&&Q==Z&&S[7].length<=O[8]||_e==(W|Z)&&O[7].length<=O[8]&&Q==B;if(!(Ct||ar))return S;_e&P&&(S[2]=O[2],nt|=Q&P?0:D);var Dr=O[3];if(Dr){var rn=S[3];S[3]=rn?jl(rn,Dr,O[4]):Dr,S[4]=rn?st(S[3],v):O[4]}return Dr=O[5],Dr&&(rn=S[5],S[5]=rn?Nd(rn,Dr,O[6]):Dr,S[6]=rn?st(S[5],v):O[6]),Dr=O[7],Dr&&(S[7]=Dr),_e&W&&(S[8]=S[8]==null?O[8]:Mo(S[8],O[8])),S[9]==null&&(S[9]=O[9]),S[0]=O[0],S[1]=nt,S}function qc(S){var O=[];if(S!=null)for(var Q in Ys(S))O.push(Q);return O}function Bd(S){return zo.call(S)}function ed(S,O,Q){return O=bo(O===r?S.length-1:O,0),function(){for(var _e=arguments,nt=-1,Ct=bo(_e.length-O,0),ar=xr(Ct);++nt<Ct;)ar[nt]=_e[O+nt];nt=-1;for(var Dr=xr(O+1);++nt<O;)Dr[nt]=_e[nt];return Dr[O]=Q(ar),ct(S,this,Dr)}}function Pf(S,O){return O.length<2?S:Zl(S,so(O,0,-1))}function Rf(S,O){for(var Q=S.length,_e=Mo(O.length,Q),nt=Ku(S);_e--;){var Ct=O[_e];S[_e]=Ws(Ct,Q)?nt[Ct]:r}return S}function Ud(S,O){if(!(O==="constructor"&&typeof S[O]=="function")&&O!="__proto__")return S[O]}var nu=rd(Xc),iu=yo||function(S,O){return Si.setTimeout(S,O)},td=rd(pn);function Df(S,O,Q){var _e=O+"";return td(S,Us(_e,cf(Lr(_e),Q)))}function rd(S){var O=0,Q=0;return function(){var _e=Bs(),nt=me-(_e-Q);if(Q=_e,nt>0){if(++O>=he)return arguments[0]}else O=0;return S.apply(r,arguments)}}function lf(S,O){var Q=-1,_e=S.length,nt=_e-1;for(O=O===r?_e:O;++Q<O;){var Ct=b(Q,nt),ar=S[Ct];S[Ct]=S[Q],S[Q]=ar}return S.length=O,S}var Th=Pl(function(S){var O=[];
vendor: 4,732 bytes, line 646
646return S.charCodeAt(0)===46&&O.push(""),S.replace(qn,function(Q,_e,nt,Ct){O.push(nt?Ct.replace(Tr,"$1"):_e||Q)}),O});function Rl(S){if(typeof S=="string"||Fc(S))return S;var O=S+"";return O=="0"&&1/S==-Xe?"-0":O}function jd(S){if(S!=null){try{return el.call(S)}catch{}try{return S+""}catch{}}return""}function cf(S,O){return tr($e,function(Q){var _e="_."+Q[0];O&Q[1]&&!Hn(S,_e)&&S.push(_e)}),S.sort()}function Lf(S){if(S instanceof Gi)return S.clone();var O=new Ai(S.__wrapped__,S.__chain__);return O.__actions__=Ku(S.__actions__),O.__index__=S.__index__,O.__values__=S.__values__,O}function Qf(S,O,Q){(Q?Ss(S,O,Q):O===r)?O=1:O=bo(Da(O),0);var _e=S==null?0:S.length;if(!_e||O<1)return[];for(var nt=0,Ct=0,ar=xr(qa(_e/O));nt<_e;)ar[Ct++]=so(S,nt,nt+=O);return ar}function vc(S){for(var O=-1,Q=S==null?0:S.length,_e=0,nt=[];++O<Q;){var Ct=S[O];Ct&&(nt[_e++]=Ct)}return nt}function zd(){var S=arguments.length;if(!S)return[];for(var O=xr(S-1),Q=arguments[0],_e=S;_e--;)O[_e-1]=arguments[_e];return Wr(Ea(Q)?Ku(Q):[Q],Ua(O,1))}var Mf=ji(function(S,O){return su(S)?eo(S,Ua(O,1,su,!0)):[]}),df=ji(function(S,O){var Q=zu(O);return su(Q)&&(Q=r),su(S)?eo(S,Ua(O,1,su,!0),jt(Q,2)):[]}),yc=ji(function(S,O){var Q=zu(O);return su(Q)&&(Q=r),su(S)?eo(S,Ua(O,1,su,!0),r,Q):[]});function nd(S,O,Q){var _e=S==null?0:S.length;return _e?(O=Q||O===r?1:Da(O),so(S,O<0?0:O,_e)):[]}function wh(S,O,Q){var _e=S==null?0:S.length;return _e?(O=Q||O===r?1:Da(O),O=_e-O,so(S,0,O<0?0:O)):[]}function $d(S,O){return S&&S.length?Md(S,jt(O,3),!0,!0):[]}function os(S,O){return S&&S.length?Md(S,jt(O,3),!0):[]}function Jf(S,O,Q,_e){var nt=S==null?0:S.length;return nt?(Q&&typeof Q!="number"&&Ss(S,O,Q)&&(Q=0,_e=nt),Vc(S,O,Q,_e)):[]}function Hl(S,O,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=Q==null?0:Da(Q);return nt<0&&(nt=bo(_e+nt,0)),Ue(S,jt(O,3),nt)}function ff(S,O,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=_e-1;return Q!==r&&(nt=Da(Q),nt=Q<0?bo(_e+nt,0):Mo(nt,_e-1)),Ue(S,jt(O,3),nt,!0)}function Td(S){var O=S==null?0:S.length;return O?Ua(S,1):[]}function Zf(S){var O=S==null?0:S.length;return O?Ua(S,Xe):[]}function ro(S,O){var Q=S==null?0:S.length;return Q?(O=O===r?1:Da(O),Ua(S,O)):[]}function Hd(S){for(var O=-1,Q=S==null?0:S.length,_e={};++O<Q;){var nt=S[O];hu(_e,nt[0],nt[1])}return _e}function bc(S){return S&&S.length?S[0]:r}function id(S,O,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=Q==null?0:Da(Q);return nt<0&&(nt=bo(_e+nt,0)),lt(S,O,nt)}function Sc(S){var O=S==null?0:S.length;return O?so(S,0,-1):[]}var hf=ji(function(S){var O=Wt(S,Sd);return O.length&&O[0]===S[0]?wl(O):[]}),pf=ji(function(S){var O=zu(S),Q=Wt(S,Sd);return O===zu(Q)?O=r:Q.pop(),Q.length&&Q[0]===S[0]?wl(Q,jt(O,2)):[]}),jf=ji(function(S){var O=zu(S),Q=Wt(S,Sd);return O=typeof O=="function"?O:r,O&&Q.pop(),Q.length&&Q[0]===S[0]?wl(Q,r,O):[]});function wd(S,O){return S==null?"":Mu.call(S,O)}function zu(S){var O=S==null?0:S.length;return O?S[O-1]:r}function sd(S,O,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=_e;return Q!==r&&(nt=Da(Q),nt=nt<0?bo(_e+nt,0):Mo(nt,_e-1)),O===O?$t(S,O,nt):Ue(S,Yt,nt,!0)}function xu(S,O){return S&&S.length?yd(S,Da(O)):r}var Wd=ji(Wl);function Wl(S,O){return S&&S.length&&O&&O.length?mu(S,O):S}function mr(S,O,Q){return S&&S.length&&O&&O.length?mu(S,O,jt(Q,2)):S}function $r(S,O,Q){return S&&S.length&&O&&O.length?mu(S,O,r,Q):S}var Ot=ut(function(S,O){var Q=S==null?0:S.length,_e=bl(S,O);return tc(S,Wt(O,function(nt){return Ws(nt,Q)?+nt:nt}).sort(kd)),_e});function ci(S,O){var Q=[];if(!(S&&S.length))return Q;var _e=-1,nt=[],Ct=S.length;for(O=jt(O,3);++_e<Ct;){var ar=S[_e];O(ar,_e,S)&&(Q.push(ar),nt.push(_e))}return tc(S,nt),Q}function ui(S){return S==null?S:Nl.call(S)}function Ds(S,O,Q){var _e=S==null?0:S.length;return _e?(Q&&typeof Q!="number"&&Ss(S,O,Q)?(O=0,Q=_e):(O=O==null?0:Da(O),Q=Q===r?_e:Da(Q)),so(S,O,Q)):[]}function Ls(S,O){return ia(S,O)}function js(S,O,Q){return Cl(S,O,jt(Q,2))}function Ji(S,O){var Q=S==null?0:S.length;if(Q){var _e=ia(S,O);if(_e<Q&&oc(S[_e],O))return _e}return-1}function Qs(S,O){return ia(S,O,!0)}function ws(S,O,Q){return Cl(S,O,jt(Q,2),!0)}function ts(S,O){var Q=S==null?0:S.length;if(Q){var _e=ia(S,O,!0)-1;if(oc(S[_e],O))return _e}return-1}function Ts(S){return S&&S.length?Qc(S):[]}function Ga(S,O){return S&&S.length?Qc(S,jt(O,2)):[]}function _a(S){var O=S==null?0:S.length;return O?so(S,1,O):[]}function Ka(S,O,Q){return S&&S.length?(O=Q||O===r?1:Da(O),so(S,0,O<0?0:O)):[]}function co(S,O,Q){var _e=S==null?0:S.length;return _e?(O=Q||O===r?1:Da(O),O=_e-O,so(S,O<0?0:O,_e)):[]}function Ya(S,O){return S&&S.length?Md(S,jt(O,3),!1,!0):[]}function Ru(S,O){return S&&S.length?Md(S,jt(O,3)):[]}var pl=ji(function(S){return Uu(Ua(S,1,su,!0))}),mf=ji(function(S){var O=zu(S);
vendor: 7,186 bytes, line 646
646return su(O)&&(O=r),Uu(Ua(S,1,su,!0),jt(O,2))}),kc=ji(function(S){var O=zu(S);return O=typeof O=="function"?O:r,Uu(Ua(S,1,su,!0),r,O)});function Vd(S){return S&&S.length?Uu(S):[]}function Qu(S,O){return S&&S.length?Uu(S,jt(O,2)):[]}function Vl(S,O){return O=typeof O=="function"?O:r,S&&S.length?Uu(S,r,O):[]}function _d(S){if(!(S&&S.length))return[];var O=0;return S=Bn(S,function(Q){if(su(Q))return O=bo(Q.length,O),!0}),ki(O,function(Q){return Wt(S,Or(Q))})}function sc(S,O){if(!(S&&S.length))return[];var Q=_d(S);return O==null?Q:Wt(Q,function(_e){return ct(O,r,_e)})}var ad=ji(function(S,O){return su(S)?eo(S,O):[]}),Ad=ji(function(S){return Gu(Bn(S,su))}),Gd=ji(function(S){var O=zu(S);return su(O)&&(O=r),Gu(Bn(S,su),jt(O,2))}),Ma=ji(function(S){var O=zu(S);return O=typeof O=="function"?O:r,Gu(Bn(S,su),r,O)}),Ju=ji(_d);function xc(S,O){return Jc(S||[],O||[],Iu)}function Ec(S,O){return Jc(S||[],O||[],Dc)}var zf=ji(function(S){var O=S.length,Q=O>1?S[O-1]:r;return Q=typeof Q=="function"?(S.pop(),Q):r,sc(S,Q)});function Cd(S){var O=Ye(S);return O.__chain__=!0,O}function fo(S,O){return O(S),S}function ac(S,O){return O(S)}var Od=ut(function(S){var O=S.length,Q=O?S[0]:0,_e=this.__wrapped__,nt=function(Ct){return bl(Ct,S)};return O>1||this.__actions__.length||!(_e instanceof Gi)||!Ws(Q)?this.thru(nt):(_e=_e.slice(Q,+Q+(O?1:0)),_e.__actions__.push({func:ac,args:[nt],thisArg:r}),new Ai(_e,this.__chain__).thru(function(Ct){return O&&!Ct.length&&Ct.push(r),Ct}))});function qf(){return Cd(this)}function eh(){return new Ai(this.value(),this.__chain__)}function $f(){this.__values__===r&&(this.__values__=up(this.value()));var S=this.__index__>=this.__values__.length,O=S?r:this.__values__[this.__index__++];return{done:S,value:O}}function Kd(){return this}function Gh(S){for(var O,Q=this;Q instanceof _i;){var _e=Lf(Q);_e.__index__=0,_e.__values__=r,O?nt.__wrapped__=_e:O=_e;var nt=_e;Q=Q.__wrapped__}return nt.__wrapped__=S,O}function _h(){var S=this.__wrapped__;if(S instanceof Gi){var O=S;return this.__actions__.length&&(O=new Gi(this)),O=O.reverse(),O.__actions__.push({func:ac,args:[ui],thisArg:r}),new Ai(O,this.__chain__)}return this.thru(ui)}function Ah(){return Mc(this.__wrapped__,this.__actions__)}var Ch=vu(function(S,O,Q){Ca.call(S,Q)?++S[Q]:hu(S,Q,1)});function Oh(S,O,Q){var _e=Ea(S)?kr:In;return Q&&Ss(S,O,Q)&&(O=r),_e(S,jt(O,3))}function Id(S,O){var Q=Ea(S)?Bn:Pc;return Q(S,jt(O,3))}var th=If(Hl),kf=If(ff);function Dl(S,O){return Ua(nh(S,O),1)}function rh(S,O){return Ua(nh(S,O),Xe)}function gf(S,O,Q){return Q=Q===r?1:Da(Q),Ua(nh(S,O),Q)}function Ih(S,O){var Q=Ea(S)?tr:xl;return Q(S,jt(O,3))}function Kh(S,O){var Q=Ea(S)?Cr:Ld;return Q(S,jt(O,3))}var vf=vu(function(S,O,Q){Ca.call(S,Q)?S[Q].push(O):hu(S,Q,[O])});function Yh(S,O,Q,_e){S=ml(S)?S:xf(S),Q=Q&&!_e?Da(Q):0;var nt=S.length;return Q<0&&(Q=bo(nt+Q,0)),op(S)?Q<=nt&&S.indexOf(O,Q)>-1:!!nt&<(S,O,Q)>-1}var xp=ji(function(S,O,Q){var _e=-1,nt=typeof O=="function",Ct=ml(S)?xr(S.length):[];return xl(S,function(ar){Ct[++_e]=nt?ct(O,ar,Q):ql(ar,O,Q)}),Ct}),Ep=vu(function(S,O,Q){hu(S,Q,O)});function nh(S,O){var Q=Ea(S)?Wt:Zs;return Q(S,jt(O,3))}function Xh(S,O,Q,_e){return S==null?[]:(Ea(O)||(O=O==null?[]:[O]),Q=_e?r:Q,Ea(Q)||(Q=Q==null?[]:[Q]),Kc(S,O,Q))}var Qh=vu(function(S,O,Q){S[Q?0:1].push(O)},function(){return[[],[]]});function Ph(S,O,Q){var _e=Ea(S)?sn:kn,nt=arguments.length<3;return _e(S,jt(O,4),Q,nt,xl)}function yf(S,O,Q){var _e=Ea(S)?Mn:kn,nt=arguments.length<3;return _e(S,jt(O,4),Q,nt,Ld)}function Tp(S,O){var Q=Ea(S)?Bn:Pc;return Q(S,Vf(jt(O,3)))}function Jh(S){var O=Ea(S)?dc:Rc;return O(S)}function Zh(S,O,Q){(Q?Ss(S,O,Q):O===r)?O=1:O=Da(O);var _e=Ea(S)?Ou:Al;return _e(S,O)}function wp(S){var O=Ea(S)?pd:xa;return O(S)}function Hf(S){if(S==null)return 0;if(ml(S))return op(S)?Nr(S):S.length;var O=hi(S);return O==dn||O==Ur?S.size:gr(S).length}function qh(S,O,Q){var _e=Ea(S)?_n:La;return Q&&Ss(S,O,Q)&&(O=r),_e(S,jt(O,3))}var Wf=ji(function(S,O){if(S==null)return[];var Q=O.length;return Q>1&&Ss(S,O[0],O[1])?O=[]:Q>2&&Ss(O[0],O[1],O[2])&&(O=[O[0]]),Kc(S,Ua(O,1),[])}),ih=$o||function(){return Si.Date.now()};function _p(S,O){if(typeof O!="function")throw new vo(u);return S=Da(S),function(){if(--S<1)return O.apply(this,arguments)}}function ep(S,O,Q){return O=Q?r:O,O=S&&O==null?S.length:O,K(S,W,r,r,r,r,O)}function tp(S,O){var Q;if(typeof O!="function")throw new vo(u);return S=Da(S),function(){return--S>0&&(Q=O.apply(this,arguments)),S<=1&&(O=r),Q}}var sh=ji(function(S,O,Q){var _e=P;if(Q.length){var nt=st(Q,Qr(sh));_e|=F}return K(S,_e,O,Q,nt)}),Rh=ji(function(S,O,Q){var _e=P|k;if(Q.length){var nt=st(Q,Qr(Rh));_e|=F}return K(O,_e,S,Q,nt)});function Dh(S,O,Q){O=Q?r:O;var _e=K(S,B,r,r,r,r,r,O);return _e.placeholder=Dh.placeholder,_e}function ah(S,O,Q){O=Q?r:O;var _e=K(S,$,r,r,r,r,r,O);return _e.placeholder=ah.placeholder,_e}function Lh(S,O,Q){var _e,nt,Ct,ar,Dr,rn,ri=0,ii=!1,mi=!1,ds=!0;if(typeof S!="function")throw new vo(u);O=Bc(O)||0,qo(Q)&&(ii=!!Q.leading,mi="maxWait"in Q,Ct=mi?bo(Bc(Q.maxWait)||0,O):Ct,ds="trailing"in Q?!!Q.trailing:ds);function zs($u){var qd=_e,Bf=nt;return _e=nt=r,ri=$u,ar=S.apply(Bf,qd),ar}function oa($u){return ri=$u,Dr=iu(Xa,O),ii?zs($u):ar}function Oa($u){var qd=$u-rn,Bf=$u-ri,Lg=O-qd;return mi?Mo(Lg,Ct-Bf):Lg}function ua($u){var qd=$u-rn,Bf=$u-ri;return rn===r||qd>=O||qd<0||mi&&Bf>=Ct}function Xa(){var $u=ih();if(ua($u))return no($u);Dr=iu(Xa,Oa($u))}function no($u){return Dr=r,ds&&_e?zs($u):(_e=nt=r,ar)}function od(){Dr!==r&&Ol(Dr),ri=0,_e=rn=nt=Dr=r}function _c(){return Dr===r?ar:no(ih())}function ud(){var $u=ih(),qd=ua($u);if(_e=arguments,nt=this,rn=$u,qd){if(Dr===r)return oa(rn);if(mi)return Ol(Dr),Dr=iu(Xa,O),zs(rn)}return Dr===r&&(Dr=iu(Xa,O)),ar}return ud.cancel=od,ud.flush=_c,ud}var Mh=ji(function(S,O){return Fl(S,1,O)}),Nf=ji(function(S,O,Q){return Fl(S,Bc(O)||0,Q)});function oh(S){return K(S,J)}function Yd(S,O){if(typeof S!="function"||O!=null&&typeof O!="function")throw new vo(u);var Q=function(){var _e=arguments,nt=O?O.apply(this,_e):_e[0],Ct=Q.cache;if(Ct.has(nt))return Ct.get(nt);var ar=S.apply(this,_e);return Q.cache=Ct.set(nt,ar)||Ct,ar};return Q.cache=new(Yd.Cache||Nu),Q}Yd.Cache=Nu;function Vf(S){if(typeof S!="function")throw new vo(u);return function(){var O=arguments;switch(O.length){case 0:return!S.call(this);case 1:return!S.call(this,O[0]);case 2:return!S.call(this,O[0],O[1]);case 3:return!S.call(this,O[0],O[1],O[2])}return!S.apply(this,O)}}function Pd(S){return tp(2,S)}var Ap=nc(function(S,O){O=O.length==1&&Ea(O[0])?Wt(O[0],As(jt())):Wt(Ua(O,1),As(jt()));var Q=O.length;return ji(function(_e){for(var nt=-1,Ct=Mo(_e.length,Q);++nt<Ct;)_e[nt]=O[nt].call(this,_e[nt]);return ct(S,this,_e)})}),Xd=ji(function(S,O){var Q=st(O,Qr(Xd));return K(S,F,r,O,Q)}),kh=ji(function(S,O){var Q=st(O,Qr(kh));return K(S,V,r,O,Q)}),Cp=ut(function(S,O){return K(S,Z,r,r,r,O)});function d0(S,O){if(typeof S!="function")throw new vo(u);return O=O===r?O:Da(O),ji(S,O)}function Nh(S,O){if(typeof S!="function")throw new vo(u);return O=O==null?0:bo(Da(O),0),ji(function(Q){var _e=Q[O],nt=Pu(Q,0,O);return _e&&Wr(nt,_e),ct(S,this,nt)})}function Nc(S,O,Q){var _e=!0,nt=!0;if(typeof S!="function")throw new vo(u);
vendor: 12,056 bytes, lines 646-663
646return qo(Q)&&(_e="leading"in Q?!!Q.leading:_e,nt="trailing"in Q?!!Q.trailing:nt),Lh(S,O,{leading:_e,maxWait:O,trailing:nt})}function Fh(S){return ep(S,1)}function uh(S,O){return Xd(xd(O),S)}function Op(){if(!arguments.length)return[];var S=arguments[0];return Ea(S)?S:[S]}function Ip(S){return pu(S,E)}function Bh(S,O){return O=typeof O=="function"?O:r,pu(S,E,O)}function lh(S){return pu(S,x|E)}function Uh(S,O){return O=typeof O=="function"?O:r,pu(S,x|E,O)}function rp(S,O){return O==null||Ic(S,O,Zu(O))}function oc(S,O){return S===O||S!==S&&O!==O}var np=at(El),ip=at(function(S,O){return S>=O}),bf=Bl((function(){return arguments})())?Bl:function(S){return Eu(S)&&Ca.call(S,"callee")&&!dt.call(S,"callee")},Ea=xr.isArray,sp=Do?As(Do):cl;function ml(S){return S!=null&&ch(S.length)&&!Zo(S)}function su(S){return Eu(S)&&ml(S)}function Pp(S){return S===!0||S===!1||Eu(S)&&ba(S)==kt}var Qd=Hu||Wp,I=Oo?As(Oo):vd;function U(S){return Eu(S)&&S.nodeType===1&&!dh(S)}function Ze(S){if(S==null)return!0;if(ml(S)&&(Ea(S)||typeof S=="string"||typeof S.splice=="function"||Qd(S)||Gf(S)||bf(S)))return!S.length;var O=hi(S);if(O==dn||O==Ur)return!S.size;if(bu(S))return!gr(S).length;for(var Q in S)if(Ca.call(S,Q))return!1;return!0}function pr(S,O){return _l(S,O)}function Ri(S,O,Q){Q=typeof Q=="function"?Q:r;var _e=Q?Q(S,O):r;return _e===r?_l(S,O,r,Q):!!_e}function na(S){if(!Eu(S))return!1;var O=ba(S);return O==Sr||O==Ir||typeof S.message=="string"&&typeof S.name=="string"&&!dh(S)}function ja(S){return typeof S=="number"&&kl(S)}function Zo(S){if(!qo(S))return!1;var O=ba(S);return O==Yr||O==Gr||O==mt||O==Mr}function Du(S){return typeof S=="number"&&S==Da(S)}function ch(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=ge}function qo(S){var O=typeof S;return S!=null&&(O=="object"||O=="function")}function Eu(S){return S!=null&&typeof S=="object"}var Rp=Ta?As(Ta):hc;function f0(S,O){return S===O||Sa(S,O,zr(O))}function h0(S,O,Q){return Q=typeof Q=="function"?Q:r,Sa(S,O,zr(O),Q)}function wm(S){return p0(S)&&S!=+S}function _m(S){if(ju(S))throw new Ni(i);return M(S)}function Am(S){return S===null}function Cm(S){return S==null}function p0(S){return typeof S=="number"||Eu(S)&&ba(S)==Kr}function dh(S){if(!Eu(S)||ba(S)!=tt)return!1;var O=ae(S);if(O===null)return!0;var Q=Ca.call(O,"constructor")&&O.constructor;return typeof Q=="function"&&Q instanceof Q&&el.call(Q)==Hc}var ap=Ne?As(Ne):re;function m0(S){return Du(S)&&S>=-ge&&S<=ge}var Dp=Ve?As(Ve):Ee;function op(S){return typeof S=="string"||!Ea(S)&&Eu(S)&&ba(S)==or}function Fc(S){return typeof S=="symbol"||Eu(S)&&ba(S)==An}var Gf=gt?As(gt):Be;function l1(S){return S===r}function Lp(S){return Eu(S)&&hi(S)==Xr}function fh(S){return Eu(S)&&ba(S)==hn}var Jd=at(es),g0=at(function(S,O){return S<=O});function up(S){if(!S)return[];if(ml(S))return op(S)?cn(S):Ku(S);if(Jn&&S[Jn])return pe(S[Jn]());var O=hi(S),Q=O==dn?Ce:O==Ur?ft:xf;return Q(S)}function Sf(S){if(!S)return S===0?S:0;if(S=Bc(S),S===Xe||S===-Xe){var O=S<0?-1:1;return O*be}return S===S?S:0}function Da(S){var O=Sf(S),Q=O%1;return O===O?Q?O-Q:O:0}function lp(S){return S?ol(Da(S),0,Re):0}function Bc(S){if(typeof S=="number")return S;if(Fc(S))return Ie;if(qo(S)){var O=typeof S.valueOf=="function"?S.valueOf():S;S=qo(O)?O+"":O}if(typeof S!="string")return S===0?S:+S;S=Rs(S);var Q=si.test(S);return Q||rs.test(S)?Jr(S.slice(2),Q?2:8):ei.test(S)?Ie:+S}function v0(S){return po(S,Tc(S))}function Om(S){return S?ol(Da(S),-ge,ge):S===0?S:0}function mo(S){return S==null?"":Bu(S)}var Im=Yu(function(S,O){if(bu(O)||ml(O)){po(O,Zu(O),S);return}for(var Q in O)Ca.call(O,Q)&&Iu(S,Q,O[Q])}),y0=Yu(function(S,O){po(O,Tc(O),S)}),b0=Yu(function(S,O,Q,_e){po(O,Tc(O),S,_e)}),cp=Yu(function(S,O,Q,_e){po(O,Zu(O),S,_e)}),S0=ut(bl);function Pm(S,O){var Q=Li(S);return O==null?Q:To(Q,O)}var Rm=ji(function(S,O){S=Ys(S);var Q=-1,_e=O.length,nt=_e>2?O[2]:r;for(nt&&Ss(O[0],O[1],nt)&&(_e=1);++Q<_e;)for(var Ct=O[Q],ar=Tc(Ct),Dr=-1,rn=ar.length;++Dr<rn;){var ri=ar[Dr],ii=S[ri];(ii===r||oc(ii,wa[ri])&&!Ca.call(S,ri))&&(S[ri]=Ct[ri])}return S}),Dm=ji(function(S){return S.push(r,de),ct(T0,r,S)});function Lm(S,O){return Le(S,jt(O,3),wo)}function Mm(S,O){return Le(S,jt(O,3),fc)}function dp(S,O){return S==null?S:ul(S,jt(O,3),Tc)}function x0(S,O){return S==null?S:Jl(S,jt(O,3),Tc)}function hh(S,O){return S&&wo(S,jt(O,3))}function ph(S,O){return S&&fc(S,jt(O,3))}function Mp(S){return S==null?[]:Vu(S,Zu(S))}function km(S){return S==null?[]:Vu(S,Tc(S))}function fp(S,O,Q){var _e=S==null?r:Zl(S,O);return _e===r?Q:_e}function E0(S,O){return S!=null&&li(S,O,ll)}function kp(S,O){return S!=null&&li(S,O,md)}var Nm=to(function(S,O,Q){O!=null&&typeof O.toString!="function"&&(O=zo.call(O)),S[O]=Q},zh(wc)),Fm=to(function(S,O,Q){O!=null&&typeof O.toString!="function"&&(O=zo.call(O)),Ca.call(S,O)?S[O].push(Q):S[O]=[Q]},jt),Bm=ji(ql);function Zu(S){return ml(S)?hd(S):gr(S)}function Tc(S){return ml(S)?hd(S,!0):Cn(S)}function Um(S,O){var Q={};return O=jt(O,3),wo(S,function(_e,nt,Ct){hu(Q,O(_e,nt,Ct),_e)}),Q}function jm(S,O){var Q={};return O=jt(O,3),wo(S,function(_e,nt,Ct){hu(Q,nt,O(_e,nt,Ct))}),Q}var zm=Yu(function(S,O,Q){ru(S,O,Q)}),T0=Yu(function(S,O,Q,_e){ru(S,O,Q,_e)}),$m=ut(function(S,O){var Q={};if(S==null)return Q;var _e=!1;O=Wt(O,function(Ct){return Ct=rc(Ct,S),_e||(_e=Ct.length>1),Ct}),po(S,Pt(S),Q),_e&&(Q=pu(Q,x|T|E,fe));for(var nt=O.length;nt--;)Lc(Q,O[nt]);return Q});function Hm(S,O){return mh(S,Vf(jt(O)))}var w0=ut(function(S,O){return S==null?{}:Yc(S,O)});function mh(S,O){if(S==null)return{};var Q=Wt(Pt(S),function(_e){return[_e]});return O=jt(O),bd(S,Q,function(_e,nt){return O(_e,nt[0])})}function Wm(S,O,Q){O=rc(O,S);var _e=-1,nt=O.length;for(nt||(nt=1,S=r);++_e<nt;){var Ct=S==null?r:S[Rl(O[_e])];Ct===r&&(_e=nt,Ct=Q),S=Zo(Ct)?Ct.call(S):Ct}return S}function Vm(S,O,Q){return S==null?S:Dc(S,O,Q)}function Gm(S,O,Q,_e){return _e=typeof _e=="function"?_e:r,S==null?S:Dc(S,O,Q,_e)}var _0=N(Zu),A0=N(Tc);function Km(S,O,Q){var _e=Ea(S),nt=_e||Qd(S)||Gf(S);if(O=jt(O,4),Q==null){var Ct=S&&S.constructor;nt?Q=_e?new Ct:[]:qo(S)?Q=Zo(Ct)?Li(ae(S)):{}:Q={}}return(nt?tr:wo)(S,function(ar,Dr,rn){return O(Q,ar,Dr,rn)}),Q}function jh(S,O){return S==null?!0:Lc(S,O)}function Ym(S,O,Q){return S==null?S:pc(S,O,xd(Q))}function C0(S,O,Q,_e){return _e=typeof _e=="function"?_e:r,S==null?S:pc(S,O,xd(Q),_e)}function xf(S){return S==null?[]:di(S,Zu(S))}function Xm(S){return S==null?[]:di(S,Tc(S))}function Qm(S,O,Q){return Q===r&&(Q=O,O=r),Q!==r&&(Q=Bc(Q),Q=Q===Q?Q:0),O!==r&&(O=Bc(O),O=O===O?O:0),ol(Bc(S),O,Q)}function gh(S,O,Q){return O=Sf(O),Q===r?(Q=O,O=0):Q=Sf(Q),S=Bc(S),Tl(S,O,Q)}function O0(S,O,Q){if(Q&&typeof Q!="boolean"&&Ss(S,O,Q)&&(O=Q=r),Q===r&&(typeof O=="boolean"?(Q=O,O=r):typeof S=="boolean"&&(Q=S,S=r)),S===r&&O===r?(S=0,O=1):(S=Sf(S),O===r?(O=S,S=0):O=Sf(O)),S>O){var _e=S;S=O,O=_e}if(Q||S%1||O%1){var nt=lc();return Mo(S+nt*(O-S+jr("1e-"+((nt+"").length-1))),O)}return b(S,O)}var Jm=$l(function(S,O,Q){return O=O.toLowerCase(),S+(Q?hp(O):O)});function hp(S){return Bp(mo(S).toLowerCase())}function I0(S){return S=mo(S),S&&S.replace(Ms,ns).replace(aa,"")}function Zm(S,O,Q){S=mo(S),O=Bu(O);var _e=S.length;Q=Q===r?_e:ol(Da(Q),0,_e);var nt=Q;return Q-=O.length,Q>=0&&S.slice(Q,nt)==O}function Ff(S){return S=mo(S),S&&Bi.test(S)?S.replace($i,Ba):S}function qm(S){return S=mo(S),S&&$s.test(S)?S.replace($n,"\\$&"):S}var P0=$l(function(S,O,Q){return S+(Q?"-":"")+O.toLowerCase()}),eg=$l(function(S,O,Q){return S+(Q?" ":"")+O.toLowerCase()}),Kf=ic("toLowerCase");function Np(S,O,Q){S=mo(S),O=Da(O);var _e=O?Nr(S):0;if(!O||_e>=O)return S;var nt=(O-_e)/2;return we(Vo(nt),Q)+S+we(qa(nt),Q)}function Ef(S,O,Q){S=mo(S),O=Da(O);var _e=O?Nr(S):0;return O&&_e<O?S+we(O-_e,Q):S}function R0(S,O,Q){S=mo(S),O=Da(O);var _e=O?Nr(S):0;return O&&_e<O?we(O-_e,Q)+S:S}function tg(S,O,Q){return Q||O==null?O=0:O&&(O=+O),rl(mo(S).replace(ys,""),O||0)}function Fp(S,O,Q){return(Q?Ss(S,O,Q):O===r)?O=1:O=Da(O),ea(mo(S),O)}function rg(){var S=arguments,O=mo(S[0]);return S.length<3?O:O.replace(S[1],S[2])}var vh=$l(function(S,O,Q){return S+(Q?"_":"")+O.toLowerCase()});function D0(S,O,Q){return Q&&typeof Q!="number"&&Ss(S,O,Q)&&(O=Q=r),Q=Q===r?Re:Q>>>0,Q?(S=mo(S),S&&(typeof O=="string"||O!=null&&!ap(O))&&(O=Bu(O),!O&&z(S))?Pu(cn(S),0,Q):S.split(O,Q)):[]}var Zd=$l(function(S,O,Q){return S+(Q?" ":"")+Bp(O)});function Uc(S,O,Q){return S=mo(S),Q=Q==null?0:ol(Da(Q),0,S.length),O=Bu(O),S.slice(Q,Q+O.length)==O}function jc(S,O,Q){var _e=Ye.templateSettings;Q&&Ss(S,O,Q)&&(O=r),S=mo(S),O=cp({},O,_e,te);var nt=cp({},O.imports,_e.imports,te),Ct=Zu(nt),ar=di(nt,Ct);tr(Ct,function(ua){if(Et.test(ua))throw new Ni(m)});var Dr,rn,ri=0,ii=O.interpolate||Yi,mi="__p += '",ds=Lu((O.escape||Yi).source+"|"+ii.source+"|"+(ii===Mi?vn:Yi).source+"|"+(O.evaluate||Yi).source+"|$","g"),zs="//# sourceURL="+(Ca.call(O,"sourceURL")?(O.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ro+"]")+` 647`;S.replace(ds,function(ua,Xa,no,od,_c,ud){return no||(no=od),mi+=S.slice(ri,ud).replace(Gs,ka),Xa&&(Dr=!0,mi+=`' + 648__e(`+Xa+`) + 649'`),_c&&(rn=!0,mi+=`'; 650`+_c+`; 651__p += '`),no&&(mi+=`' + 652((__t = (`+no+`)) == null ? '' : __t) + 653'`),ri=ud+ua.length,ua}),mi+=`'; 654`;var oa=Ca.call(O,"variable")&&O.variable;if(!oa)mi=`with (obj) { 655`+mi+` 656} 657`;else if(Et.test(oa))throw new Ni(l);mi=(rn?mi.replace(nn,""):mi).replace(fn,"$1").replace(Sn,"$1;"),mi="function("+(oa||"obj")+`) { 658`+(oa?"":`obj || (obj = {}); 659`)+"var __t, __p = ''"+(Dr?", __e = _.escape":"")+(rn?`, __j = Array.prototype.join; 660function print() { __p += __j.call(arguments, '') } 661`:`; 662`)+mi+`return __p 663}`;var Oa=F0(function(){return pi(Ct,zs+"return "+mi).apply(r,ar)});if(Oa.source=mi,na(Oa))throw Oa;return Oa}function L0(S){return mo(S).toLowerCase()}function M0(S){return mo(S).toUpperCase()}function k0(S,O,Q){if(S=mo(S),S&&(Q||O===r))return Rs(S);if(!S||!(O=Bu(O)))return S;var _e=cn(S),nt=cn(O),Ct=oi(_e,nt),ar=Ks(_e,nt)+1;return Pu(_e,Ct,ar).join("")}function ng(S,O,Q){if(S=mo(S),S&&(Q||O===r))return S.slice(0,Nn(S)+1);if(!S||!(O=Bu(O)))return S;var _e=cn(S),nt=Ks(_e,cn(O))+1;return Pu(_e,0,nt).join("")}function N0(S,O,Q){if(S=mo(S),S&&(Q||O===r))return S.replace(ys,"");if(!S||!(O=Bu(O)))return S;var _e=cn(S),nt=oi(_e,cn(O));return Pu(_e,nt).join("")}function ig(S,O){var Q=ie,_e=le;if(qo(O)){var nt="separator"in O?O.separator:nt;Q="length"in O?Da(O.length):Q,_e="omission"in O?Bu(O.omission):_e}S=mo(S);var Ct=S.length;if(z(S)){var ar=cn(S);Ct=ar.length}if(Q>=Ct)return S;var Dr=Q-Nr(_e);if(Dr<1)return _e;var rn=ar?Pu(ar,0,Dr).join(""):S.slice(0,Dr);if(nt===r)return rn+_e;if(ar&&(Dr+=rn.length-Dr),ap(nt)){if(S.slice(Dr).search(nt)){var ri,ii=rn;for(nt.global||(nt=Lu(nt.source,mo(Gt.exec(nt))+"g")),nt.lastIndex=0;ri=nt.exec(ii);)var mi=ri.index;rn=rn.slice(0,mi===r?Dr:mi)}}else if(S.indexOf(Bu(nt),Dr)!=Dr){var ds=rn.lastIndexOf(nt);ds>-1&&(rn=rn.slice(0,ds))}return rn+_e}function sg(S){return S=mo(S),S&&qr.test(S)?S.replace(Ci,jn):S}var ag=$l(function(S,O,Q){return S+(Q?" ":"")+O.toUpperCase()}),Bp=ic("toUpperCase");function Up(S,O,Q){return S=mo(S),O=Q?r:O,O===r?ee(S)?Ii(S):Fi(S):S.match(O)||[]}var F0=ji(function(S,O){try{return ct(S,r,O)}catch(Q){return na(Q)?Q:new Ni(Q)}}),B0=ut(function(S,O){return tr(O,function(Q){Q=Rl(Q),hu(S,Q,sh(S[Q],S))}),S});function U0(S){var O=S==null?0:S.length,Q=jt();return S=O?Wt(S,function(_e){if(typeof _e[1]!="function")throw new vo(u);return[Q(_e[0]),_e[1]]}):[],ji(function(_e){for(var nt=-1;++nt<O;){var Ct=S[nt];if(ct(Ct[0],this,_e))return ct(Ct[1],this,_e)}})}function og(S){return Sl(pu(S,x))}function zh(S){return function(){return S}}function ug(S,O){return S==null||S!==S?O:S}var lg=lo(),cg=lo(!0);function wc(S){return S}function jp(S){return vt(typeof S=="function"?S:pu(S,x))}function j0(S){return fa(pu(S,x))}function zp(S,O){return Io(S,pu(O,x))}var dg=ji(function(S,O){return function(Q){return ql(Q,S,O)}}),fg=ji(function(S,O){return function(Q){return ql(S,Q,O)}});function $p(S,O,Q){var _e=Zu(O),nt=Vu(O,_e);Q==null&&!(qo(O)&&(nt.length||!_e.length))&&(Q=O,O=S,S=this,nt=Vu(O,Zu(O)));var Ct=!(qo(Q)&&"chain"in Q)||!!Q.chain,ar=Zo(S);
vendor: 4,816 bytes, line 663
663return tr(nt,function(Dr){var rn=O[Dr];S[Dr]=rn,ar&&(S.prototype[Dr]=function(){var ri=this.__chain__;if(Ct||ri){var ii=S(this.__wrapped__),mi=ii.__actions__=Ku(this.__actions__);return mi.push({func:rn,args:arguments,thisArg:S}),ii.__chain__=ri,ii}return rn.apply(S,Wr([this.value()],arguments))})}),S}function pp(){return Si._===this&&(Si._=Xl),this}function mp(){}function hg(S){return S=Da(S),ji(function(O){return yd(O,S)})}var z0=se(Wt),pg=se(kr),mg=se(_n);function $0(S){return Wa(S)?Or(Rl(S)):ec(S)}function gg(S){return function(O){return S==null?r:Zl(S,O)}}var vg=rt(),H0=rt(!0);function Hp(){return[]}function Wp(){return!1}function yg(){return{}}function Tf(){return""}function bg(){return!0}function Sg(S,O){if(S=Da(S),S<1||S>ge)return[];var Q=Re,_e=Mo(S,Re);O=jt(O),S-=Re;for(var nt=ki(_e,O);++Q<S;)O(Q);return nt}function xg(S){return Ea(S)?Wt(S,Rl):Fc(S)?[S]:Ku(Th(mo(S)))}function Eg(S){var O=++Yl;return mo(S)+O}var Tg=j(function(S,O){return S+O},0),wg=ir("ceil"),_g=j(function(S,O){return S/O},1),W0=ir("floor");function Ag(S){return S&&S.length?Wc(S,wc,El):r}function Cg(S,O){return S&&S.length?Wc(S,jt(O,2),El):r}function V0(S){return rr(S,wc)}function Og(S,O){return rr(S,jt(O,2))}function G0(S){return S&&S.length?Wc(S,wc,es):r}function Ig(S,O){return S&&S.length?Wc(S,jt(O,2),es):r}var Pg=j(function(S,O){return S*O},1),Rg=ir("round"),Dg=j(function(S,O){return S-O},0);function au(S){return S&&S.length?Rn(S,wc):0}function K0(S,O){return S&&S.length?Rn(S,jt(O,2)):0}return Ye.after=_p,Ye.ary=ep,Ye.assign=Im,Ye.assignIn=y0,Ye.assignInWith=b0,Ye.assignWith=cp,Ye.at=S0,Ye.before=tp,Ye.bind=sh,Ye.bindAll=B0,Ye.bindKey=Rh,Ye.castArray=Op,Ye.chain=Cd,Ye.chunk=Qf,Ye.compact=vc,Ye.concat=zd,Ye.cond=U0,Ye.conforms=og,Ye.constant=zh,Ye.countBy=Ch,Ye.create=Pm,Ye.curry=Dh,Ye.curryRight=ah,Ye.debounce=Lh,Ye.defaults=Rm,Ye.defaultsDeep=Dm,Ye.defer=Mh,Ye.delay=Nf,Ye.difference=Mf,Ye.differenceBy=df,Ye.differenceWith=yc,Ye.drop=nd,Ye.dropRight=wh,Ye.dropRightWhile=$d,Ye.dropWhile=os,Ye.fill=Jf,Ye.filter=Id,Ye.flatMap=Dl,Ye.flatMapDeep=rh,Ye.flatMapDepth=gf,Ye.flatten=Td,Ye.flattenDeep=Zf,Ye.flattenDepth=ro,Ye.flip=oh,Ye.flow=lg,Ye.flowRight=cg,Ye.fromPairs=Hd,Ye.functions=Mp,Ye.functionsIn=km,Ye.groupBy=vf,Ye.initial=Sc,Ye.intersection=hf,Ye.intersectionBy=pf,Ye.intersectionWith=jf,Ye.invert=Nm,Ye.invertBy=Fm,Ye.invokeMap=xp,Ye.iteratee=jp,Ye.keyBy=Ep,Ye.keys=Zu,Ye.keysIn=Tc,Ye.map=nh,Ye.mapKeys=Um,Ye.mapValues=jm,Ye.matches=j0,Ye.matchesProperty=zp,Ye.memoize=Yd,Ye.merge=zm,Ye.mergeWith=T0,Ye.method=dg,Ye.methodOf=fg,Ye.mixin=$p,Ye.negate=Vf,Ye.nthArg=hg,Ye.omit=$m,Ye.omitBy=Hm,Ye.once=Pd,Ye.orderBy=Xh,Ye.over=z0,Ye.overArgs=Ap,Ye.overEvery=pg,Ye.overSome=mg,Ye.partial=Xd,Ye.partialRight=kh,Ye.partition=Qh,Ye.pick=w0,Ye.pickBy=mh,Ye.property=$0,Ye.propertyOf=gg,Ye.pull=Wd,Ye.pullAll=Wl,Ye.pullAllBy=mr,Ye.pullAllWith=$r,Ye.pullAt=Ot,Ye.range=vg,Ye.rangeRight=H0,Ye.rearg=Cp,Ye.reject=Tp,Ye.remove=ci,Ye.rest=d0,Ye.reverse=ui,Ye.sampleSize=Zh,Ye.set=Vm,Ye.setWith=Gm,Ye.shuffle=wp,Ye.slice=Ds,Ye.sortBy=Wf,Ye.sortedUniq=Ts,Ye.sortedUniqBy=Ga,Ye.split=D0,Ye.spread=Nh,Ye.tail=_a,Ye.take=Ka,Ye.takeRight=co,Ye.takeRightWhile=Ya,Ye.takeWhile=Ru,Ye.tap=fo,Ye.throttle=Nc,Ye.thru=ac,Ye.toArray=up,Ye.toPairs=_0,Ye.toPairsIn=A0,Ye.toPath=xg,Ye.toPlainObject=v0,Ye.transform=Km,Ye.unary=Fh,Ye.union=pl,Ye.unionBy=mf,Ye.unionWith=kc,Ye.uniq=Vd,Ye.uniqBy=Qu,Ye.uniqWith=Vl,Ye.unset=jh,Ye.unzip=_d,Ye.unzipWith=sc,Ye.update=Ym,Ye.updateWith=C0,Ye.values=xf,Ye.valuesIn=Xm,Ye.without=ad,Ye.words=Up,Ye.wrap=uh,Ye.xor=Ad,Ye.xorBy=Gd,Ye.xorWith=Ma,Ye.zip=Ju,Ye.zipObject=xc,Ye.zipObjectDeep=Ec,Ye.zipWith=zf,Ye.entries=_0,Ye.entriesIn=A0,Ye.extend=y0,Ye.extendWith=b0,$p(Ye,Ye),Ye.add=Tg,Ye.attempt=F0,Ye.camelCase=Jm,Ye.capitalize=hp,Ye.ceil=wg,Ye.clamp=Qm,Ye.clone=Ip,Ye.cloneDeep=lh,Ye.cloneDeepWith=Uh,Ye.cloneWith=Bh,Ye.conformsTo=rp,Ye.deburr=I0,Ye.defaultTo=ug,Ye.divide=_g,Ye.endsWith=Zm,Ye.eq=oc,Ye.escape=Ff,Ye.escapeRegExp=qm,Ye.every=Oh,Ye.find=th,Ye.findIndex=Hl,Ye.findKey=Lm,Ye.findLast=kf,Ye.findLastIndex=ff,Ye.findLastKey=Mm,Ye.floor=W0,Ye.forEach=Ih,Ye.forEachRight=Kh,Ye.forIn=dp,Ye.forInRight=x0,Ye.forOwn=hh,Ye.forOwnRight=ph,Ye.get=fp,Ye.gt=np,Ye.gte=ip,Ye.has=E0,Ye.hasIn=kp,Ye.head=bc,Ye.identity=wc,Ye.includes=Yh,Ye.indexOf=id,Ye.inRange=gh,Ye.invoke=Bm,Ye.isArguments=bf,Ye.isArray=Ea,Ye.isArrayBuffer=sp,Ye.isArrayLike=ml,Ye.isArrayLikeObject=su,Ye.isBoolean=Pp,Ye.isBuffer=Qd,Ye.isDate=I,Ye.isElement=U,Ye.isEmpty=Ze,Ye.isEqual=pr,Ye.isEqualWith=Ri,Ye.isError=na,Ye.isFinite=ja,Ye.isFunction=Zo,Ye.isInteger=Du,Ye.isLength=ch,Ye.isMap=Rp,Ye.isMatch=f0,Ye.isMatchWith=h0,Ye.isNaN=wm,Ye.isNative=_m,Ye.isNil=Cm,Ye.isNull=Am,Ye.isNumber=p0,Ye.isObject=qo,Ye.isObjectLike=Eu,Ye.isPlainObject=dh,Ye.isRegExp=ap,Ye.isSafeInteger=m0,Ye.isSet=Dp,Ye.isString=op,Ye.isSymbol
vendor: 4,564 bytes, line 663
663=Fc,Ye.isTypedArray=Gf,Ye.isUndefined=l1,Ye.isWeakMap=Lp,Ye.isWeakSet=fh,Ye.join=wd,Ye.kebabCase=P0,Ye.last=zu,Ye.lastIndexOf=sd,Ye.lowerCase=eg,Ye.lowerFirst=Kf,Ye.lt=Jd,Ye.lte=g0,Ye.max=Ag,Ye.maxBy=Cg,Ye.mean=V0,Ye.meanBy=Og,Ye.min=G0,Ye.minBy=Ig,Ye.stubArray=Hp,Ye.stubFalse=Wp,Ye.stubObject=yg,Ye.stubString=Tf,Ye.stubTrue=bg,Ye.multiply=Pg,Ye.nth=xu,Ye.noConflict=pp,Ye.noop=mp,Ye.now=ih,Ye.pad=Np,Ye.padEnd=Ef,Ye.padStart=R0,Ye.parseInt=tg,Ye.random=O0,Ye.reduce=Ph,Ye.reduceRight=yf,Ye.repeat=Fp,Ye.replace=rg,Ye.result=Wm,Ye.round=Rg,Ye.runInContext=er,Ye.sample=Jh,Ye.size=Hf,Ye.snakeCase=vh,Ye.some=qh,Ye.sortedIndex=Ls,Ye.sortedIndexBy=js,Ye.sortedIndexOf=Ji,Ye.sortedLastIndex=Qs,Ye.sortedLastIndexBy=ws,Ye.sortedLastIndexOf=ts,Ye.startCase=Zd,Ye.startsWith=Uc,Ye.subtract=Dg,Ye.sum=au,Ye.sumBy=K0,Ye.template=jc,Ye.times=Sg,Ye.toFinite=Sf,Ye.toInteger=Da,Ye.toLength=lp,Ye.toLower=L0,Ye.toNumber=Bc,Ye.toSafeInteger=Om,Ye.toString=mo,Ye.toUpper=M0,Ye.trim=k0,Ye.trimEnd=ng,Ye.trimStart=N0,Ye.truncate=ig,Ye.unescape=sg,Ye.uniqueId=Eg,Ye.upperCase=ag,Ye.upperFirst=Bp,Ye.each=Ih,Ye.eachRight=Kh,Ye.first=bc,$p(Ye,(function(){var S={};return wo(Ye,function(O,Q){Ca.call(Ye.prototype,Q)||(S[Q]=O)}),S})(),{chain:!1}),Ye.VERSION=a,tr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){Ye[S].placeholder=Ye}),tr(["drop","take"],function(S,O){Gi.prototype[S]=function(Q){Q=Q===r?1:bo(Da(Q),0);var _e=this.__filtered__&&!O?new Gi(this):this.clone();return _e.__filtered__?_e.__takeCount__=Mo(Q,_e.__takeCount__):_e.__views__.push({size:Mo(Q,Re),type:S+(_e.__dir__<0?"Right":"")}),_e},Gi.prototype[S+"Right"]=function(Q){return this.reverse()[S](Q).reverse()}}),tr(["filter","map","takeWhile"],function(S,O){var Q=O+1,_e=Q==je||Q==Je;Gi.prototype[S]=function(nt){var Ct=this.clone();return Ct.__iteratees__.push({iteratee:jt(nt,3),type:Q}),Ct.__filtered__=Ct.__filtered__||_e,Ct}}),tr(["head","last"],function(S,O){var Q="take"+(O?"Right":"");Gi.prototype[S]=function(){return this[Q](1).value()[0]}}),tr(["initial","tail"],function(S,O){var Q="drop"+(O?"":"Right");Gi.prototype[S]=function(){return this.__filtered__?new Gi(this):this[Q](1)}}),Gi.prototype.compact=function(){return this.filter(wc)},Gi.prototype.find=function(S){return this.filter(S).head()},Gi.prototype.findLast=function(S){return this.reverse().find(S)},Gi.prototype.invokeMap=ji(function(S,O){return typeof S=="function"?new Gi(this):this.map(function(Q){return ql(Q,S,O)})}),Gi.prototype.reject=function(S){return this.filter(Vf(jt(S)))},Gi.prototype.slice=function(S,O){S=Da(S);var Q=this;return Q.__filtered__&&(S>0||O<0)?new Gi(Q):(S<0?Q=Q.takeRight(-S):S&&(Q=Q.drop(S)),O!==r&&(O=Da(O),Q=O<0?Q.dropRight(-O):Q.take(O-S)),Q)},Gi.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Gi.prototype.toArray=function(){return this.take(Re)},wo(Gi.prototype,function(S,O){var Q=/^(?:filter|find|map|reject)|While$/.test(O),_e=/^(?:head|last)$/.test(O),nt=Ye[_e?"take"+(O=="last"?"Right":""):O],Ct=_e||/^find/.test(O);nt&&(Ye.prototype[O]=function(){var ar=this.__wrapped__,Dr=_e?[1]:arguments,rn=ar instanceof Gi,ri=Dr[0],ii=rn||Ea(ar),mi=function(Xa){var no=nt.apply(Ye,Wr([Xa],Dr));return _e&&ds?no[0]:no};ii&&Q&&typeof ri=="function"&&ri.length!=1&&(rn=ii=!1);var ds=this.__chain__,zs=!!this.__actions__.length,oa=Ct&&!ds,Oa=rn&&!zs;if(!Ct&&ii){ar=Oa?ar:new Gi(this);var ua=S.apply(ar,Dr);return ua.__actions__.push({func:ac,args:[mi],thisArg:r}),new Ai(ua,ds)}return oa&&Oa?S.apply(this,Dr):(ua=this.thru(mi),oa?_e?ua.value()[0]:ua.value():ua)})}),tr(["pop","push","shift","sort","splice","unshift"],function(S){var O=jo[S],Q=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",_e=/^(?:pop|shift)$/.test(S);Ye.prototype[S]=function(){var nt=arguments;if(_e&&!this.__chain__){var Ct=this.value();return O.apply(Ea(Ct)?Ct:[],nt)}return this[Q](function(ar){return O.apply(Ea(ar)?ar:[],nt)})}}),wo(Gi.prototype,function(S,O){var Q=Ye[O];if(Q){var _e=Q.name+"";Ca.call(Xo,_e)||(Xo[_e]=[]),Xo[_e].push({name:O,func:Q})}}),Xo[yu(r,k).name]=[{name:"wrapper",func:r}],Gi.prototype.clone=Xs,Gi.prototype.reverse=Qa,Gi.prototype.value=ho,Ye.prototype.at=Od,Ye.prototype.chain=qf,Ye.prototype.commit=eh,Ye.prototype.next=$f,Ye.prototype.plant=Gh,Ye.prototype.reverse=_h,Ye.prototype.toJSON=Ye.prototype.valueOf=Ye.prototype.value=Ah,Ye.prototype.first=Ye.prototype.head,Jn&&(Ye.prototype[Jn]=Kd),Ye}),gs=zi();Si._=gs,n=(function(){return gs}).call(d,e,d,f),n!==r&&(f.exports=n)}).call(this)},96722(f,d,e){var n=e(48211),r="Expected a function";
663function a(s,i){if(typeof s!="function"||i!=null&&typeof i!="function")throw new TypeError(r);var u=function(){var l=arguments,m=i?i.apply(this,l):l[0],g=u.cache;if(g.has(m))return g.get(m);var h=s.apply(this,l);return u.cache=g.set(m,h)||g,h};return u.cache=new(a.Cache||n),u}a.Cache=n,f.exports=a},50138(f,d,e){var n=e(12087),r=function(){return n.Date.now()};f.exports=r},94169(f,d,e){var n=e(8495),r=e(66145),a=e(67116),s=e(66855);function i(u){return a(u)?n(s(u)):r(u)}f.exports=i},39495(f,d,e){var n=e(625),r=e(31609),a=e(42759);function s(i){var u=a(i)?n:r;return u(i)}f.exports=s},63275(f){function d(){return[]}f.exports=d},51545(f){function d(){return!1}f.exports=d},85692(f,d,e){var n=e(38739),r=e(90823),a="Expected a function";function s(i,u,l){var m=!0,g=!0;if(typeof i!="function")throw new TypeError(a);return r(l)&&(m="leading"in l?!!l.leading:m,g="trailing"in l?!!l.trailing:g),n(i,u,{leading:m,maxWait:u,trailing:g})}f.exports=s},48042(f,d,e){var n=e(80028),r=1/0,a=17976931348623157e292;function s(i){if(!i)return i===0?i:0;if(i=n(i),i===r||i===-r){var u=i<0?-1:1;return u*a}return i===i?i:0}f.exports=s},90211(f,d,e){var n=e(48042);function r(a){var s=n(a),i=s%1;return s===s?i?s-i:s:0}f.exports=r},80028(f,d,e){var n=e(73714),r=e(90823),a=e(92664),s=NaN,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,m=parseInt;function g(h){if(typeof h=="number")return h;if(a(h))return s;if(r(h)){var v=typeof h.valueOf=="function"?h.valueOf():h;h=r(v)?v+"":v}if(typeof h!="string")return h===0?h:+h;h=n(h);var x=u.test(h);return x||l.test(h)?m(h.slice(2),x?2:8):i.test(h)?s:+h}f.exports=g},8008(f,d,e){var n=e(76782);function r(a){return a==null?"":n(a)}f.exports=r},94870(f,d,e){var n=e(76782),r=e(61412),a=e(2384),s=e(90823),i=e(42657),u=e(9439),l=e(5550),m=e(90211),g=e(8008),h=30,v="...",x=/\w*$/;function T(E,_){var C=h,P=v;if(s(_)){var k="separator"in _?_.separator:k;C="length"in _?m(_.length):C,P="omission"in _?n(_.omission):P}E=g(E);var D=E.length;if(a(E)){var B=l(E);D=B.length}if(C>=D)return E;var $=C-u(P);if($<1)return P;var F=B?r(B,0,$).join(""):E.slice(0,$);if(k===void 0)return F+P;if(B&&($+=F.length-$),i(k)){if(E.slice($).search(k)){var V,W=F;for(k.global||(k=RegExp(k.source,g(x.exec(k))+"g")),k.lastIndex=0;V=k.exec(W);)var Z=V.index;F=F.slice(0,Z===void 0?$:Z)}}else if(E.indexOf(n(k),$)!=$){var J=F.lastIndexOf(k);J>-1&&(F=F.slice(0,J))}return F+P}f.exports=T},65610(f,d,e){var n=e(8008),r=0;function a(s){var i=++r;return n(s)+i}f.exports=a},3054(f,d,e){var n=e(93072),r=e(53356);function a(s){return s==null?[]:n(s,r(s))}f.exports=a},14391(f,d,e){var n=e(74051),r=e(92236),a=e(8008),s=e(97987);function i(u,l,m){return u=a(u),l=m?void 0:l,l===void 0?r(u)?s(u):n(u):u.match(l)||[]}f.exports=i},81421(f,d,e){"use strict";var n=e(14088),r=Object.create,a=Object.prototype.hasOwnProperty;f.exports=function(s){var i=0,u=1,l=r(null),m=r(null),g=0,h;return s=n(s),{hit:function(v){var x=m[v],T=++g;if(l[T]=v,m[v]=T,!x)return++i,i<=s?void 0:(v=l[u],h(v),v);if(delete l[x],u===x)for(;!a.call(l,++u););},delete:h=function(v){var x=m[v];if(x&&(delete l[x],delete m[v],--i,u===x)){if(!i){g=0,u=1;return}for(;!a.call(l,++u););}},clear:function(){i=0,u=1,l=r(null),m=r(null),g=0}}}},87362(f,d){"use strict";var e=typeof Reflect<"u"?Reflect.construct:void 0,n=Object.defineProperty,r=Error.captureStackTrace;r===void 0&&(r=function(l){var m=new Error;n(l,"stack",{configurable:!0,get:function(){var h=m.stack;return n(this,"stack",{configurable:!0,value:h,writable:!0}),h},set:function(h){n(l,"stack",{configurable:!0,value:h,writable:!0})}})});function a(u){u!==void 0&&n(this,"message",{configurable:!0,value:u,writable:!0});var l=this.constructor.name;l!==void 0&&l!==this.name&&n(this,"name",{configurable:!0,value:l,writable:!0}),r(this,this.constructor)}a.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:a,writable:!0}});var s=(function(){function u(m,g){return n(m,"name",{configurable:!0,value:g})}try{var l=function(){};if(u(l,"foo"),l.name==="foo")return u}catch{}})();function i(u,l){if(l==null||l===Error)l=a;else if(typeof l!="function")throw new TypeError("super_ should be a function");var m;if(typeof u=="string")m=u,u=e!==void 0?function(){return e(l,arguments,this.constructor)}:function(){l.apply(this,arguments)},s!==void 0&&(s(u,m),m=void 0);else if(typeof u!="function")throw new TypeError("constructor should be either a string or a function");u.super_=u.super=l;var g={constructor:{configurable:!0,value:u,writable:!0}};return m!==void 0&&(g.name={configurable:!0,value:m,writable:!0}),u.prototype=Object.create(l.prototype,g),u}d=f.exports=i,d.BaseError=a},800(f){"use strict";f.exports=Math.abs},18382(f){"use strict";f.exports=Math.floor},36717(f){"use strict";f.exports=Number.isNaN||function(e){return e!==e}},88346(f){"use strict";f.exports=Math.max},5076(f){"use strict";f.exports=Math.min},14982(f){"use strict";f.exports=Math.pow},2208(f){"use strict";f.exports=Math.round},49219(f,d,e){"use strict";var n=e(36717);f.exports=function(a){return n(a)||a===0?a:a<0?-1:1}},27368(f,d,e){"use strict";var n=e(25822),r=e(81729),a=e(82586),s=e(69719),i=e(76448),u=Array.prototype.slice,l=Function.prototype.apply,m=Object.create;e(69509).async=function(g,h){var v=m(null),x=m(null),T=h.memoized,E=h.original,_,C,P;h.memoized=s(function(k){var D=arguments,B=D[D.length-1];return typeof B=="function"&&(_=B,D=u.call(D,0,-1)),T.apply(C=this,P=D)},T);try{a(h.memoized,T)}catch{}h.on("get",function(k){var D,B,$;if(_){if(v[k]){typeof v[k]=="function"?v[k]=[v[k],_]:v[k].push(_),_=null;return}D=_,B=C,$=P,_=C=P=null,i(function(){var F;
663hasOwnProperty.call(x,k)?(F=x[k],h.emit("getasync",k,$,B),l.call(D,F.context,F.args)):(_=D,C=B,P=$,T.apply(B,$))})}}),h.original=function(){var k,D,B,$;return _?(k=n(arguments),D=function F(V){var W,Z,J=F.id;if(J==null){i(l.bind(F,this,arguments));return}if(delete F.id,W=v[J],delete v[J],!!W)return Z=n(arguments),h.has(J)&&(V?h.delete(J):(x[J]={context:this,args:Z},h.emit("setasync",J,typeof W=="function"?1:W.length))),typeof W=="function"?$=l.call(W,this,Z):W.forEach(function(ie){$=l.call(ie,this,Z)},this),$},B=_,_=C=P=null,k.push(D),$=l.call(E,this,k),D.cb=B,_=D,$):l.call(E,this,arguments)},h.on("set",function(k){if(!_){h.delete(k);return}v[k]?typeof v[k]=="function"?v[k]=[v[k],_.cb]:v[k].push(_.cb):v[k]=_.cb,delete _.cb,_.id=k,_=null}),h.on("delete",function(k){var D;hasOwnProperty.call(v,k)||x[k]&&(D=x[k],delete x[k],h.emit("deleteasync",k,u.call(D.args,1)))}),h.on("clear",function(){var k=x;x=m(null),h.emit("clearasync",r(k,function(D){return u.call(D.args,1)}))})}},91021(f,d,e){"use strict";var n=e(65194),r=e(1e4),a=e(69509),s=Function.prototype.apply;a.dispose=function(i,u,l){var m;if(n(i),l.async&&a.async||l.promise&&a.promise){u.on("deleteasync",m=function(g,h){s.call(i,null,h)}),u.on("clearasync",function(g){r(g,function(h,v){m(v,h)})});return}u.on("delete",m=function(g,h){i(h)}),u.on("clear",function(g){r(g,function(h,v){m(v,h)})})}},3832(f,d,e){"use strict";var n=e(25822),r=e(1e4),a=e(76448),s=e(6236),i=e(84025),u=e(69509),l=Function.prototype,m=Math.max,g=Math.min,h=Object.create;u.maxAge=function(v,x,T){var E,_,C,P;v=i(v),v&&(E=h(null),_=T.async&&u.async||T.promise&&u.promise?"async":"",x.on("set"+_,function(k){E[k]=setTimeout(function(){x.delete(k)},v),typeof E[k].unref=="function"&&E[k].unref(),P&&(P[k]&&P[k]!=="nextTick"&&clearTimeout(P[k]),P[k]=setTimeout(function(){delete P[k]},C),typeof P[k].unref=="function"&&P[k].unref())}),x.on("delete"+_,function(k){clearTimeout(E[k]),delete E[k],P&&(P[k]!=="nextTick"&&clearTimeout(P[k]),delete P[k])}),T.preFetch&&(T.preFetch===!0||isNaN(T.preFetch)?C=.333:C=m(g(Number(T.preFetch),1),0),C&&(P={},C=(1-C)*v,x.on("get"+_,function(k,D,B){P[k]||(P[k]="nextTick",a(function(){var $;P[k]==="nextTick"&&(delete P[k],x.delete(k),T.async&&(D=n(D),D.push(l)),$=x.memoized.apply(B,D),T.promise&&s($)&&(typeof $.done=="function"?$.done(l,l):$.then(l,l)))}))}))),x.on("clear"+_,function(){r(E,function(k){clearTimeout(k)}),E={},P&&(r(P,function(k){k!=="nextTick"&&clearTimeout(k)}),P={})}))}},68878(f,d,e){"use strict";var n=e(14088),r=e(81421),a=e(69509);a.max=function(s,i,u){var l,m,g;s=n(s),s&&(m=r(s),l=u.async&&a.async||u.promise&&a.promise?"async":"",i.on("set"+l,g=function(h){h=m.hit(h),h!==void 0&&i.delete(h)}),i.on("get"+l,g),i.on("delete"+l,m.delete),i.on("clear"+l,m.clear))}},61953(f,d,e){"use strict";var n=e(81729),r=e(38947),a=e(18309),s=e(14129),i=e(6236),u=e(76448),l=Object.create,m=r("then","then:finally","done","done:finally");e(69509).promise=function(g,h){var v=l(null),x=l(null),T=l(null);if(g===!0)g=null;else if(g=a(g),!m[g])throw new TypeError("'"+s(g)+"' is not valid promise mode");h.on("set",function(E,_,C){var P=!1;if(!i(C)){x[E]=C,h.emit("setasync",E,1);return}v[E]=1,T[E]=C;var k=function(F){var V=v[E];if(P)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode) 664Consider to rely on 'then' or 'done' mode instead.`);V&&(delete v[E],x[E]=F,h.emit("setasync",E,V))},D=function(){P=!0,v[E]&&(delete v[E],delete T[E],h.delete(E))},B=g;if(B||(B="then"),B==="then"){var $=function(){u(D)};C=C.then(function(F){u(k.bind(this,F))},$),typeof C.finally=="function"&&C.finally($)}else if(B==="done"){if(typeof C.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");C.done(k,D)}else if(B==="done:finally"){if(typeof C.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof C.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");C.done(k),C.finally(D)}}),h.on("get",function(E,_,C){var P;if(v[E]){++v[E];return}P=T[E];var k=function(){h.emit("getasync",E,_,C)};i(P)?typeof P.done=="function"?P.done(k):P.then(function(){u(k)}):k()}),h.on("delete",function(E){if(delete T[E],v[E]){delete v[E];return}if(hasOwnProperty.call(x,E)){var _=x[E];
664delete x[E],h.emit("deleteasync",E,[_])}}),h.on("clear",function(){var E=x;x=l(null),v=l(null),T=l(null),h.emit("clearasync",n(E,function(_){return[_]}))})}},87324(f,d,e){"use strict";var n=e(86785),r=e(69509),a=Object.create,s=Object.defineProperties;r.refCounter=function(i,u,l){var m,g;m=a(null),g=l.async&&r.async||l.promise&&r.promise?"async":"",u.on("set"+g,function(h,v){m[h]=v||1}),u.on("get"+g,function(h){++m[h]}),u.on("delete"+g,function(h){delete m[h]}),u.on("clear"+g,function(){m={}}),s(u.memoized,{deleteRef:n(function(){var h=u.get(arguments);return h===null||!m[h]?null:--m[h]?!1:(u.delete(h),!0)}),getRefCount:n(function(){var h=u.get(arguments);return h===null||!m[h]?0:m[h]})})}},91104(f,d,e){"use strict";var n=e(65419),r=e(56901),a=e(43788);f.exports=function(s){var i=n(arguments[1]),u;return i.normalizer||(u=i.length=r(i.length,s.length,i.async),u!==0&&(i.primitive?u===!1?i.normalizer=e(30142):u>1&&(i.normalizer=e(62316)(u)):u===!1?i.normalizer=e(39687)():u===1?i.normalizer=e(79157)():i.normalizer=e(18304)(u))),i.async&&e(27368),i.promise&&e(61953),i.dispose&&e(91021),i.maxAge&&e(3832),i.max&&e(68878),i.refCounter&&e(87324),a(s,i)}},47503(f,d,e){"use strict";var n=e(39007),r=e(69719),a=e(86785),s=e(89166).methods,i=e(87305),u=e(12646),l=Function.prototype.apply,m=Function.prototype.call,g=Object.create,h=Object.defineProperties,v=s.on,x=s.emit;f.exports=function(T,E,_){var C=g(null),P,k,D,B,$,F,V,W,Z,J,ie,le,he,me,je;return E!==!1?k=E:isNaN(T.length)?k=1:k=T.length,_.normalizer&&(J=u(_.normalizer),D=J.get,B=J.set,$=J.delete,F=J.clear),_.resolvers!=null&&(je=i(_.resolvers)),D?me=r(function(Fe){var Je,Xe,ge=arguments;if(je&&(ge=je(ge)),Je=D(ge),Je!==null&&hasOwnProperty.call(C,Je))return ie&&P.emit("get",Je,ge,this),C[Je];if(ge.length===1?Xe=m.call(T,this,ge[0]):Xe=l.call(T,this,ge),Je===null){if(Je=D(ge),Je!==null)throw n("Circular invocation","CIRCULAR_INVOCATION");Je=B(ge)}else if(hasOwnProperty.call(C,Je))throw n("Circular invocation","CIRCULAR_INVOCATION");return C[Je]=Xe,le&&P.emit("set",Je,null,Xe),Xe},k):E===0?me=function(){var Fe;if(hasOwnProperty.call(C,"data"))return ie&&P.emit("get","data",arguments,this),C.data;if(arguments.length?Fe=l.call(T,this,arguments):Fe=m.call(T,this),hasOwnProperty.call(C,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return C.data=Fe,le&&P.emit("set","data",null,Fe),Fe}:me=function(Fe){var Je,Xe=arguments,ge;if(je&&(Xe=je(arguments)),ge=String(Xe[0]),hasOwnProperty.call(C,ge))return ie&&P.emit("get",ge,Xe,this),C[ge];if(Xe.length===1?Je=m.call(T,this,Xe[0]):Je=l.call(T,this,Xe),hasOwnProperty.call(C,ge))throw n("Circular invocation","CIRCULAR_INVOCATION");return C[ge]=Je,le&&P.emit("set",ge,null,Je),Je},P={original:T,memoized:me,profileName:_.profileName,get:function(Fe){return je&&(Fe=je(Fe)),D?D(Fe):String(Fe[0])},has:function(Fe){return hasOwnProperty.call(C,Fe)},delete:function(Fe){var Je;hasOwnProperty.call(C,Fe)&&($&&$(Fe),Je=C[Fe],delete C[Fe],he&&P.emit("delete",Fe,Je))},clear:function(){var Fe=C;F&&F(),C=g(null),P.emit("clear",Fe)},on:function(Fe,Je){return Fe==="get"?ie=!0:Fe==="set"?le=!0:Fe==="delete"&&(he=!0),v.call(this,Fe,Je)},emit:x,updateEnv:function(){T=P.original}},D?V=r(function(Fe){var Je,Xe=arguments;je&&(Xe=je(Xe)),Je=D(Xe),Je!==null&&P.delete(Je)},k):E===0?V=function(){return P.delete("data")}:V=function(Fe){return je&&(Fe=je(arguments)[0]),P.delete(Fe)},W=r(function(){var Fe,Je=arguments;return E===0?C.data:(je&&(Je=je(Je)),D?Fe=D(Je):Fe=String(Je[0]),C[Fe])}),Z=r(function(){var Fe,Je=arguments;return E===0?P.has("data"):(je&&(Je=je(Je)),D?Fe=D(Je):Fe=String(Je[0]),Fe===null?!1:P.has(Fe))}),h(me,{__memoized__:a(!0),delete:a(V),clear:a(P.clear),_get:a(W),_has:a(Z)}),P}},69509(){"use strict"},56901(f,d,e){"use strict";var n=e(14088);f.exports=function(r,a,s){var i;return isNaN(r)?(i=a,i>=0?s&&i?i-1:i:1):r===!1?!1:n(r)}},12646(f,d,e){"use strict";var n=e(65194);f.exports=function(r){var a;return typeof r=="function"?{set:r,get:r}:(a={get:n(r.get)},r.set!==void 0?(a.set=n(r.set),r.delete&&(a.delete=n(r.delete)),r.clear&&(a.clear=n(r.clear)),a):(a.set=a.get,a))}},87305(f,d,e){"use strict";var n=e(26760),r=e(43875),a=e(65194),s=Array.prototype.slice,i;i=function(u){return this.map(function(l,m){return l?l(u[m]):u[m]}).concat(s.call(u,this.length))}
664,f.exports=function(u){return u=n(u),u.forEach(function(l){r(l)&&a(l)}),i.bind(u)}},79157(f,d,e){"use strict";var n=e(91259);f.exports=function(){var r=0,a=[],s=[];return{get:function(i){var u=n.call(a,i[0]);return u===-1?null:s[u]},set:function(i){return a.push(i[0]),s.push(++r),r},delete:function(i){var u=n.call(s,i);u!==-1&&(a.splice(u,1),s.splice(u,1))},clear:function(){a=[],s=[]}}}},18304(f,d,e){"use strict";var n=e(91259),r=Object.create;f.exports=function(a){var s=0,i=[[],[]],u=r(null);return{get:function(l){for(var m=0,g=i,h;m<a-1;){if(h=n.call(g[0],l[m]),h===-1)return null;g=g[1][h],++m}return h=n.call(g[0],l[m]),h===-1?null:g[1][h]||null},set:function(l){for(var m=0,g=i,h;m<a-1;)h=n.call(g[0],l[m]),h===-1&&(h=g[0].push(l[m])-1,g[1].push([[],[]])),g=g[1][h],++m;return h=n.call(g[0],l[m]),h===-1&&(h=g[0].push(l[m])-1),g[1][h]=++s,u[s]=l,s},delete:function(l){for(var m=0,g=i,h,v=[],x=u[l];m<a-1;){if(h=n.call(g[0],x[m]),h===-1)return;v.push(g,h),g=g[1][h],++m}if(h=n.call(g[0],x[m]),h!==-1){for(l=g[1][h],g[0].splice(h,1),g[1].splice(h,1);!g[0].length&&v.length;)h=v.pop(),g=v.pop(),g[0].splice(h,1),g[1].splice(h,1);delete u[l]}},clear:function(){i=[[],[]],u=r(null)}}}},62316(f){"use strict";f.exports=function(d){return d?function(e){for(var n=String(e[0]),r=0,a=d;--a;)n+="�"+e[++r];return n}:function(){return""}}},39687(f,d,e){"use strict";var n=e(91259),r=Object.create;f.exports=function(){var a=0,s=[],i=r(null);return{get:function(u){var l=0,m=s,g,h=u.length;if(h===0)return m[h]||null;if(m=m[h]){for(;l<h-1;){if(g=n.call(m[0],u[l]),g===-1)return null;m=m[1][g],++l}return g=n.call(m[0],u[l]),g===-1?null:m[1][g]||null}return null},set:function(u){var l=0,m=s,g,h=u.length;if(h===0)m[h]=++a;else{for(m[h]||(m[h]=[[],[]]),m=m[h];l<h-1;)g=n.call(m[0],u[l]),g===-1&&(g=m[0].push(u[l])-1,m[1].push([[],[]])),m=m[1][g],++l;g=n.call(m[0],u[l]),g===-1&&(g=m[0].push(u[l])-1),m[1][g]=++a}return i[a]=u,a},delete:function(u){var l=0,m=s,g,h=i[u],v=h.length,x=[];if(v===0)delete m[v];else if(m=m[v]){for(;l<v-1;){if(g=n.call(m[0],h[l]),g===-1)return;x.push(m,g),m=m[1][g],++l}if(g=n.call(m[0],h[l]),g===-1)return;for(u=m[1][g],m[0].splice(g,1),m[1].splice(g,1);!m[0].length&&x.length;)g=x.pop(),m=x.pop(),m[0].splice(g,1),m[1].splice(g,1)}delete i[u]},clear:function(){s=[],i=r(null)}}}},30142(f){"use strict";f.exports=function(d){var e,n,r=d.length;if(!r)return"�";for(e=String(d[n=0]);--r;)e+="�"+d[++n];return e}},43788(f,d,e){"use strict";var n=e(65194),r=e(1e4),a=e(69509),s=e(47503),i=e(56901);f.exports=function u(l){var m,g,h;if(n(l),m=Object(arguments[1]),m.async&&m.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!m.force?l:(g=i(m.length,l.length,m.async&&a.async),h=s(l,g,m),r(a,function(v,x){m[x]&&v(m[x],h,m)}),u.__profiler__&&u.__profiler__(h),h.updateEnv(),h.memoized)}},29579(f,d,e){//! moment.js locale configuration 665//! locale : English (Australia) [en-au] 666//! author : Jared Morse : https://github.com/jarcoal 667(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 668var r=n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:0,doy:4}});return r}))},26153(f,d,e){//! moment.js locale configuration
669//! locale : English (Canada) [en-ca] 670//! author : Jonathan Abourbih : https://github.com/jonbca 671(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 672var r=n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i}});return r}))},89988(f,d,e){//! moment.js locale configuration 673//! locale : English (United Kingdom) [en-gb] 674//! author : Chris Gedrim : https://github.com/chrisgedrim 675(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 676var r=n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:1,doy:4}});return r}))},69219(f,d,e){//! moment.js locale configuration 677//! locale : English (Ireland) [en-ie] 678//! author : Chris Cartlidge : https://github.com/chriscartlidge 679(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 680var r=n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:1,doy:4}});return r}))},64324(f,d,e){//! moment.js locale configuration 681//! locale : English (Israel) [en-il] 682//! author : Chris Gedrim : https://github.com/chrisgedrim 683(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 684var r=n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i}});return r}))},79246(f,d,e){//! moment.js locale configuration 685//! locale : English (India) [en-in] 686//! author : Jatin Agrawal : https://github.com/jatinag22 687(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 688var r=n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
688S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:0,doy:6}});return r}))},28989(f,d,e){//! moment.js locale configuration 689//! locale : English (New Zealand) [en-nz] 690//! author : Luke McGregor : https://github.com/lukemcgregor 691(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 692var r=n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:1,doy:4}});return r}))},40499(f,d,e){//! moment.js locale configuration 693//! locale : English (Singapore) [en-sg] 694//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension 695(function(n,r){r(e(22630))})(this,(function(n){"use strict";//! moment.js locale configuration 696var r=n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var s=a%10,i=~~(a%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return a+i},week:{dow:1,doy:4}});return r}))},22630(f,d,e){f=e.nmd(f);//! moment.js 697//! version : 2.30.1 698//! authors : Tim Wood, Iskren Chernev, Moment.js contributors 699//! license : MIT 700//! momentjs.com 701(function(n,r){f.exports=r()})(this,(function(){"use strict";var n;function r(){return n.apply(null,arguments)}function a(M){n=M}function s(M){return M instanceof Array||Object.prototype.toString.call(M)==="[object Array]"}function i(M){return M!=null&&Object.prototype.toString.call(M)==="[object Object]"}function u(M,re){return Object.prototype.hasOwnProperty.call(M,re)}function l(M){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(M).length===0;var re;for(re in M)if(u(M,re))return!1;return!0}function m(M){return M===void 0}function g(M){return typeof M=="number"||Object.prototype.toString.call(M)==="[object Number]"}function h(M){return M instanceof Date||Object.prototype.toString.call(M)==="[object Date]"}function v(M,re){var Ee=[],Be,vt=M.length;for(Be=0;Be<vt;++Be)Ee.push(re(M[Be],Be));return Ee}function x(M,re){for(var Ee in re)u(re,Ee)&&(M[Ee]=re[Ee]);return u(re,"toString")&&(M.toString=re.toString),u(re,"valueOf")&&(M.valueOf=re.valueOf),M}function T(M,re,Ee,Be){return As(M,re,Ee,Be,!0).utc()}function E(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 60,207 bytes, lines 701-704
701dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(M){return M._pf==null&&(M._pf=E()),M._pf}var C;Array.prototype.some?C=Array.prototype.some:C=function(M){var re=Object(this),Ee=re.length>>>0,Be;for(Be=0;Be<Ee;Be++)if(Be in re&&M.call(this,re[Be],Be,re))return!0;return!1};function P(M){var re=null,Ee=!1,Be=M._d&&!isNaN(M._d.getTime());if(Be&&(re=_(M),Ee=C.call(re.parsedDateParts,function(vt){return vt!=null}),Be=re.overflow<0&&!re.empty&&!re.invalidEra&&!re.invalidMonth&&!re.invalidWeekday&&!re.weekdayMismatch&&!re.nullInput&&!re.invalidFormat&&!re.userInvalidated&&(!re.meridiem||re.meridiem&&Ee),M._strict&&(Be=Be&&re.charsLeftOver===0&&re.unusedTokens.length===0&&re.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(M))M._isValid=Be;else return Be;return M._isValid}function k(M){var re=T(NaN);return M!=null?x(_(re),M):_(re).userInvalidated=!0,re}var D=r.momentProperties=[],B=!1;function $(M,re){var Ee,Be,vt,gr=D.length;if(m(re._isAMomentObject)||(M._isAMomentObject=re._isAMomentObject),m(re._i)||(M._i=re._i),m(re._f)||(M._f=re._f),m(re._l)||(M._l=re._l),m(re._strict)||(M._strict=re._strict),m(re._tzm)||(M._tzm=re._tzm),m(re._isUTC)||(M._isUTC=re._isUTC),m(re._offset)||(M._offset=re._offset),m(re._pf)||(M._pf=_(re)),m(re._locale)||(M._locale=re._locale),gr>0)for(Ee=0;Ee<gr;Ee++)Be=D[Ee],vt=re[Be],m(vt)||(M[Be]=vt);return M}function F(M){$(this,M),this._d=new Date(M._d!=null?M._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),B===!1&&(B=!0,r.updateOffset(this),B=!1)}function V(M){return M instanceof F||M!=null&&M._isAMomentObject!=null}function W(M){r.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+M)}function Z(M,re){var Ee=!0;return x(function(){if(r.deprecationHandler!=null&&r.deprecationHandler(null,M),Ee){var Be=[],vt,gr,Cn,es=arguments.length;for(gr=0;gr<es;gr++){if(vt="",typeof arguments[gr]=="object"){vt+=` 702[`+gr+"] ";for(Cn in arguments[0])u(arguments[0],Cn)&&(vt+=Cn+": "+arguments[0][Cn]+", ");vt=vt.slice(0,-2)}else vt=arguments[gr];Be.push(vt)}W(M+` 703Arguments: `+Array.prototype.slice.call(Be).join("")+` 704`+new Error().stack),Ee=!1}return re.apply(this,arguments)},re)}var J={};function ie(M,re){r.deprecationHandler!=null&&r.deprecationHandler(M,re),J[M]||(W(re),J[M]=!0)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;function le(M){return typeof Function<"u"&&M instanceof Function||Object.prototype.toString.call(M)==="[object Function]"}function he(M){var re,Ee;for(Ee in M)u(M,Ee)&&(re=M[Ee],le(re)?this[Ee]=re:this["_"+Ee]=re);this._config=M,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function me(M,re){var Ee=x({},M),Be;for(Be in re)u(re,Be)&&(i(M[Be])&&i(re[Be])?(Ee[Be]={},x(Ee[Be],M[Be]),x(Ee[Be],re[Be])):re[Be]!=null?Ee[Be]=re[Be]:delete Ee[Be]);for(Be in M)u(M,Be)&&!u(re,Be)&&i(M[Be])&&(Ee[Be]=x({},Ee[Be]));return Ee}function je(M){M!=null&&this.set(M)}var Fe;Object.keys?Fe=Object.keys:Fe=function(M){var re,Ee=[];for(re in M)u(M,re)&&Ee.push(re);return Ee};var Je={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Xe(M,re,Ee){var Be=this._calendar[M]||this._calendar.sameElse;return le(Be)?Be.call(re,Ee):Be}function ge(M,re,Ee){var Be=""+Math.abs(M),vt=re-Be.length,gr=M>=0;return(gr?Ee?"+":"":"-")+Math.pow(10,Math.max(0,vt)).toString().substr(1)+Be}var be=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Re={},ye={};function De(M,re,Ee,Be){var vt=Be;typeof Be=="string"&&(vt=function(){return this[Be]()}),M&&(ye[M]=vt),re&&(ye[re[0]]=function(){return ge(vt.apply(this,arguments),re[1],re[2])}),Ee&&(ye[Ee]=function(){return this.localeData().ordinal(vt.apply(this,arguments),M)})}function $e(M){return M.match(/\[[\s\S]/)?M.replace(/^\[|\]$/g,""):M.replace(/\\/g,"")}function qe(M){var re=M.match(be),Ee,Be;for(Ee=0,Be=re.length;Ee<Be;Ee++)ye[re[Ee]]?re[Ee]=ye[re[Ee]]:re[Ee]=$e(re[Ee]);return function(vt){var gr="",Cn;for(Cn=0;Cn<Be;Cn++)gr+=le(re[Cn])?re[Cn].call(vt,M):re[Cn];return gr}}function It(M,re){return M.isValid()?(re=mt(re,M.localeData()),Re[re]=Re[re]||qe(re),Re[re](M)):M.localeData().invalidDate()}function mt(M,re){var Ee=5;function Be(vt){return re.longDateFormat(vt)||vt}for(Ie.lastIndex=0;Ee>=0&&Ie.test(M);)M=M.replace(Ie,Be),Ie.lastIndex=0,Ee-=1;return M}var kt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ut(M){var re=this._longDateFormat[M],Ee=this._longDateFormat[M.toUpperCase()];return re||!Ee?re:(this._longDateFormat[M]=Ee.match(be).map(function(Be){return Be==="MMMM"||Be==="MM"||Be==="DD"||Be==="dddd"?Be.slice(1):Be}).join(""),this._longDateFormat[M])}var Ir="Invalid date";function Sr(){return this._invalidDate}var Yr="%d",Gr=/\d{1,2}/;function dn(M){return this._ordinal.replace("%d",M)}var Kr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function yt(M,re,Ee,Be){var vt=this._relativeTime[Ee];return le(vt)?vt(M,re,Ee,Be):vt.replace(/%d/i,M)}function tt(M,re){var Ee=this._relativeTime[M>0?"future":"past"];return le(Ee)?Ee(re):Ee.replace(/%s/i,re)}var Ar={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Mr(M){return typeof M=="string"?Ar[M]||Ar[M.toLowerCase()]:void 0}function Er(M){var re={},Ee,Be;for(Be in M)u(M,Be)&&(Ee=Mr(Be),Ee&&(re[Ee]=M[Be]));return re}var Ur={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function or(M){var re=[],Ee;for(Ee in M)u(M,Ee)&&re.push({unit:Ee,priority:Ur[Ee]});return re.sort(function(Be,vt){return Be.priority-vt.priority}),re}var An=/\d/,dr=/\d\d/,Xr=/\d{3}/,hn=/\d{4}/,Qt=/[+-]?\d{6}/,Br=/\d\d?/,zt=/\d\d\d\d?/,Tt=/\d\d\d\d\d\d?/,Pr=/\d{1,3}/,Y=/\d{1,4}/,ht=/[+-]?\d{1,6}/,ur=/\d+/,it=/[+-]?\d+/,Rt=/Z|[+-]\d\d:?\d\d/gi,Zr=/Z|[+-]\d\d(?::?\d\d)?/gi,nn=/[+-]?\d+(\.\d{1,3})?/,fn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Sn=/^[1-9]\d?/,Ci=/^([1-9]\d|\d)/,$i;$i={};function qr(M,re,Ee){$i[M]=le(re)?re:function(Be,vt){return Be&&Ee?Ee:re}}function Bi(M,re){return u($i,M)?$i[M](re._strict,re._locale):new RegExp(ms(M))}function ms(M){return hs(M.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(re,Ee,Be,vt,gr){return Ee||Be||vt||gr}))}function hs(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Mi(M){return M<0?Math.ceil(M)||0:Math.floor(M)}function gi(M){var re=+M,Ee=0;return re!==0&&isFinite(re)&&(Ee=Mi(re)),Ee}var Hi={};function qn(M,re){var Ee,Be=re,vt;for(typeof M=="string"&&(M=[M]),g(re)&&(Be=function(gr,Cn){Cn[re]=gi(gr)}),vt=M.length,Ee=0;Ee<vt;Ee++)Hi[M[Ee]]=Be}function $n(M,re){qn(M,function(Ee,Be,vt,gr){vt._w=vt._w||{},re(Ee,vt._w,vt,gr)})}function $s(M,re,Ee){re!=null&&u(Hi,M)&&Hi[M](re,Ee._a,Ee,M)}function ys(M){return M%4===0&&M%100!==0||M%400===0}var Es=0,oe=1,xe=2,Ge=3,bt=4,Et=5,Tr=6,vn=7,Gt=8;De("Y",0,0,function(){var M=this.year();return M<=9999?ge(M,4):"+"+M}),De(0,["YY",2],0,function(){return this.year()%100}),De(0,["YYYY",4],0,"year"),De(0,["YYYYY",5],0,"year"),De(0,["YYYYYY",6,!0],0,"year"),qr("Y",it),qr("YY",Br,dr),qr("YYYY",Y,hn),qr("YYYYY",ht,Qt),qr("YYYYYY",ht,Qt),qn(["YYYYY","YYYYYY"],Es),qn("YYYY",function(M,re){re[Es]=M.length===2?r.parseTwoDigitYear(M):gi(M)}),qn("YY",function(M,re){re[Es]=r.parseTwoDigitYear(M)}),qn("Y",function(M,re){re[Es]=parseInt(M,10)});function ei(M){return ys(M)?366:365}r.parseTwoDigitYear=function(M){return gi(M)+(gi(M)>68?1900:2e3)};var si=rs("FullYear",!0);function yn(){return ys(this.year())}function rs(M,re){return function(Ee){return Ee!=null?(Ms(this,M,Ee),r.updateOffset(this,re),this):xn(this,M)}}function xn(M,re){if(!M.isValid())return NaN;var Ee=M._d,Be=M._isUTC;switch(re){case"Milliseconds":return Be?Ee.getUTCMilliseconds():Ee.getMilliseconds();case"Seconds":return Be?Ee.getUTCSeconds():Ee.getSeconds();case"Minutes":return Be?Ee.getUTCMinutes():Ee.getMinutes();case"Hours":return Be?Ee.getUTCHours():Ee.getHours();case"Date":return Be?Ee.getUTCDate():Ee.getDate();case"Day":return Be?Ee.getUTCDay():Ee.getDay();case"Month":return Be?Ee.getUTCMonth():Ee.getMonth();case"FullYear":return Be?Ee.getUTCFullYear():Ee.getFullYear();default:return NaN}}function Ms(M,re,Ee){var Be,vt,gr,Cn,es;if(!(!M.isValid()||isNaN(Ee))){switch(Be=M._d,vt=M._isUTC,re){case"Milliseconds":return void(vt?Be.setUTCMilliseconds(Ee):Be.setMilliseconds(Ee));case"Seconds":return void(vt?Be.setUTCSeconds(Ee):Be.setSeconds(Ee));case"Minutes":return void(vt?Be.setUTCMinutes(Ee):Be.setMinutes(Ee));case"Hours":return void(vt?Be.setUTCHours(Ee):Be.setHours(Ee));case"Date":return void(vt?Be.setUTCDate(Ee):Be.setDate(Ee));case"FullYear":break;default:return}gr=Ee,Cn=M.month(),es=M.date(),es=es===29&&Cn===1&&!ys(gr)?28:es,vt?Be.setUTCFullYear(gr,Cn,es):Be.setFullYear(gr,Cn,es)}}function Yi(M){return M=Mr(M),le(this[M])?this[M]():this}function Gs(M,re){if(typeof M=="object"){M=Er(M);var Ee=or(M),Be,vt=Ee.length;for(Be=0;Be<vt;Be++)this[Ee[Be].unit](M[Ee[Be].unit])}else if(M=Mr(M),le(this[M]))return this[M](re);return this}function us(M,re){return(M%re+re)%re}var nr;Array.prototype.indexOf?nr=Array.prototype.indexOf:nr=function(M){var re;for(re=0;re<this.length;++re)if(this[re]===M)return re;return-1};function cr(M,re){if(isNaN(M)||isNaN(re))return NaN;var Ee=us(re,12);return M+=(re-Ee)/12,Ee===1?ys(M)?29:28:31-Ee%7%2}De("M",["MM",2],"Mo",function(){return this.month()+1}),De("MMM",0,0,function(M){return this.localeData().monthsShort(this,M)}),De("MMMM",0,0,function(M){return this.localeData().months(this,M)}),qr("M",Br,Sn),qr("MM",Br,dr),qr("MMM",function(M,re){return re.monthsShortRegex(M)}),qr("MMMM",function(M,re){return re.monthsRegex(M)}),qn(["M","MM"],function(M,re){re[oe]=gi(M)-1}),qn(["MMM","MMMM"],function(M,re,Ee,Be){var vt=Ee._locale.monthsParse(M,Be,Ee._strict);vt!=null?re[oe]=vt:_(Ee).invalidMonth=M});var ln="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ln=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wn=fn,ti=fn;function Ti(M,re){return M?s(this._months)?this._months[M.month()]:this._months[(this._months.isFormat||Ln).test(re)?"format":"standalone"][M.month()]:s(this._months)?this._months:this._months.standalone}function Pi(M,re){return M?s(this._monthsShort)?this._monthsShort[M.month()]:this._monthsShort[Ln.test(re)?"format":"standalone"][M.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Zi(M,re,Ee){var Be,vt,gr,Cn=M.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Be=0;Be<12;++Be)gr=T([2e3,Be]),this._shortMonthsParse[Be]=this.monthsShort(gr,"").toLocaleLowerCase(),this._longMonthsParse[Be]=this.months(gr,"").toLocaleLowerCase();return Ee?re==="MMM"?(vt=nr.call(this._shortMonthsParse,Cn),vt!==-1?vt:null):(vt=nr.call(this._longMonthsParse,Cn),vt!==-1?vt:null):re==="MMM"?(vt=nr.call(this._shortMonthsParse,Cn),vt!==-1?vt:(vt=nr.call(this._longMonthsParse,Cn),vt!==-1?vt:null)):(vt=nr.call(this._longMonthsParse,Cn),vt!==-1?vt:(vt=nr.call(this._shortMonthsParse,Cn),vt!==-1?vt:null))}function Ui(M,re,Ee){var Be,vt,gr;if(this._monthsParseExact)return Zi.call(this,M,re,Ee);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Be=0;Be<12;Be++){if(vt=T([2e3,Be]),Ee&&!this._longMonthsParse[Be]&&(this._longMonthsParse[Be]=new RegExp("^"+this.months(vt,"").replace(".","")+"$","i"),this._shortMonthsParse[Be]=new RegExp("^"+this.monthsShort(vt,"").replace(".","")+"$","i")),!Ee&&!this._monthsParse[Be]&&(gr="^"+this.months(vt,"")+"|^"+this.monthsShort(vt,""),this._monthsParse[Be]=new RegExp(gr.replace(".",""),"i")),Ee&&re==="MMMM"&&this._longMonthsParse[Be].test(M))return Be;if(Ee&&re==="MMM"&&this._shortMonthsParse[Be].test(M))return Be;if(!Ee&&this._monthsParse[Be].test(M))return Be}}function vi(M,re){if(!M.isValid())return M;if(typeof re=="string"){if(/^\d+$/.test(re))re=gi(re);else if(re=M.localeData().monthsParse(re),!g(re))return M}var Ee=re,Be=M.date();return Be=Be<29?Be:Math.min(Be,cr(M.year(),Ee)),M._isUTC?M._d.setUTCMonth(Ee,Be):M._d.setMonth(Ee,Be),M}function Wi(M){return M!=null?(vi(this,M),r.updateOffset(this,!0),this):xn(this,"Month")}function ks(){return cr(this.year(),this.month())}function ss(M){return this._monthsParseExact?(u(this,"_monthsRegex")||wi.call(this),M?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=wn),this._monthsShortStrictRegex&&M?this._monthsShortStrictRegex:this._monthsShortRegex)}function xs(M){return this._monthsParseExact?(u(this,"_monthsRegex")||wi.call(this),M?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ti),this._monthsStrictRegex&&M?this._monthsStrictRegex:this._monthsRegex)}function wi(){function M(Zs,fa){return fa.length-Zs.length}var re=[],Ee=[],Be=[],vt,gr,Cn,es;for(vt=0;vt<12;vt++)gr=T([2e3,vt]),Cn=hs(this.monthsShort(gr,"")),es=hs(this.months(gr,"")),re.push(Cn),Ee.push(es),Be.push(es),Be.push(Cn);re.sort(M),Ee.sort(M),Be.sort(M),this._monthsRegex=new RegExp("^("+Be.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+re.join("|")+")","i")}function Ns(M,re,Ee,Be,vt,gr,Cn){var es;return M<100&&M>=0?(es=new Date(M+400,re,Ee,Be,vt,gr,Cn),isFinite(es.getFullYear())&&es.setFullYear(M)):es=new Date(M,re,Ee,Be,vt,gr,Cn),es}function Cs(M){var re,Ee;return M<100&&M>=0?(Ee=Array.prototype.slice.call(arguments),Ee[0]=M+400,re=new Date(Date.UTC.apply(null,Ee)),isFinite(re.getUTCFullYear())&&re.setUTCFullYear(M)):re=new Date(Date.UTC.apply(null,arguments)),re}function as(M,re,Ee){var Be=7+re-Ee,vt=(7+Cs(M,0,Be).getUTCDay()-re)%7;return-vt+Be-1}function Os(M,re,Ee,Be,vt){var gr=(7+Ee-Be)%7,Cn=as(M,Be,vt),es=1+7*(re-1)+gr+Cn,Zs,fa;return es<=0?(Zs=M-1,fa=ei(Zs)+es):es>ei(M)?(Zs=M+1,fa=es-ei(M)):(Zs=M,fa=es),{year:Zs,dayOfYear:fa}}function ce(M,re,Ee){var Be=as(M.year(),re,Ee),vt=Math.floor((M.dayOfYear()-Be-1)/7)+1,gr,Cn;return vt<1?(Cn=M.year()-1,gr=vt+He(Cn,re,Ee)):vt>He(M.year(),re,Ee)?(gr=vt-He(M.year(),re,Ee),Cn=M.year()+1):(Cn=M.year(),gr=vt),{week:gr,year:Cn}}function He(M,re,Ee){var Be=as(M,re,Ee),vt=as(M+1,re,Ee);return(ei(M)-Be+vt)/7}De("w",["ww",2],"wo","week"),De("W",["WW",2],"Wo","isoWeek"),qr("w",Br,Sn),qr("ww",Br,dr),qr("W",Br,Sn),qr("WW",Br,dr),$n(["w","ww","W","WW"],function(M,re,Ee,Be){re[Be.substr(0,1)]=gi(M)});function Lt(M){return ce(M,this._week.dow,this._week.doy).week}var fr={dow:0,doy:6};function un(){return this._week.dow}function Qn(){return this._week.doy}function Xi(M){var re=this.localeData().week(this);return M==null?re:this.add((M-re)*7,"d")}function qi(M){var re=ce(this,1,4).week;return M==null?re:this.add((M-re)*7,"d")}De("d",0,"do","day"),De("dd",0,0,function(M){return this.localeData().weekdaysMin(this,M)}),De("ddd",0,0,function(M){return this.localeData().weekdaysShort(this,M)}),De("dddd",0,0,function(M){return this.localeData().weekdays(this,M)}),De("e",0,0,"weekday"),De("E",0,0,"isoWeekday"),qr("d",Br),qr("e",Br),qr("E",Br),qr("dd",function(M,re){return re.weekdaysMinRegex(M)}),qr("ddd",function(M,re){return re.weekdaysShortRegex(M)}),qr("dddd",function(M,re){return re.weekdaysRegex(M)}),$n(["dd","ddd","dddd"],function(M,re,Ee,Be){var vt=Ee._locale.weekdaysParse(M,Be,Ee._strict);vt!=null?re.d=vt:_(Ee).invalidWeekday=M}),$n(["d","e","E"],function(M,re,Ee,Be){re[Be]=gi(M)});function ls(M,re){return typeof M!="string"?M:isNaN(M)?(M=re.weekdaysParse(M),typeof M=="number"?M:null):parseInt(M,10)}function ps(M,re){return typeof M=="string"?re.weekdaysParse(M)%7||7:isNaN(M)?null:M}function la(M,re){return M.slice(re,7).concat(M.slice(0,re))}var ca="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),za="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),io="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Is=fn,yr=fn,Fa=fn;function on(M,re){var Ee=s(this._weekdays)?this._weekdays:this._weekdays[M&&M!==!0&&this._weekdays.isFormat.test(re)?"format":"standalone"];return M===!0?la(Ee,this._week.dow):M?Ee[M.day()]:Ee}function va(M){return M===!0?la(this._weekdaysShort,this._week.dow):M?this._weekdaysShort[M.day()]:this._weekdaysShort}function pa(M){return M===!0?la(this._weekdaysMin,this._week.dow):M?this._weekdaysMin[M.day()]:this._weekdaysMin}function aa(M,re,Ee){var Be,vt,gr,Cn=M.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Be=0;Be<7;++Be)gr=T([2e3,1]).day(Be),this._minWeekdaysParse[Be]=this.weekdaysMin(gr,"").toLocaleLowerCase(),this._shortWeekdaysParse[Be]=this.weekdaysShort(gr,"").toLocaleLowerCase(),this._weekdaysParse[Be]=this.weekdays(gr,"").toLocaleLowerCase();return Ee?re==="dddd"?(vt=nr.call(this._weekdaysParse,Cn),vt!==-1?vt:null):re==="ddd"?(vt=nr.call(this._shortWeekdaysParse,Cn),vt!==-1?vt:null):(vt=nr.call(this._minWeekdaysParse,Cn),vt!==-1?vt:null):re==="dddd"?(vt=nr.call(this._weekdaysParse,Cn),vt!==-1||(vt=nr.call(this._shortWeekdaysParse,Cn),vt!==-1)?vt:(vt=nr.call(this._minWeekdaysParse,Cn),vt!==-1?vt:null)):re==="ddd"?(vt=nr.call(this._shortWeekdaysParse,Cn),vt!==-1||(vt=nr.call(this._weekdaysParse,Cn),vt!==-1)?vt:(vt=nr.call(this._minWeekdaysParse,Cn),vt!==-1?vt:null)):(vt=nr.call(this._minWeekdaysParse,Cn),vt!==-1||(vt=nr.call(this._weekdaysParse,Cn),vt!==-1)?vt:(vt=nr.call(this._shortWeekdaysParse,Cn),vt!==-1?vt:null))}function ta(M,re,Ee){var Be,vt,gr;if(this._weekdaysParseExact)return aa.call(this,M,re,Ee);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Be=0;Be<7;Be++){if(vt=T([2e3,1]).day(Be),Ee&&!this._fullWeekdaysParse[Be]&&(this._fullWeekdaysParse[Be]=new RegExp("^"+this.weekdays(vt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Be]=new RegExp("^"+this.weekdaysShort(vt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Be]=new RegExp("^"+this.weekdaysMin(vt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Be]||(gr="^"+this.weekdays(vt,"")+"|^"+this.weekdaysShort(vt,"")+"|^"+this.weekdaysMin(vt,""),this._weekdaysParse[Be]=new RegExp(gr.replace(".",""),"i")),Ee&&re==="dddd"&&this._fullWeekdaysParse[Be].test(M))return Be;if(Ee&&re==="ddd"&&this._shortWeekdaysParse[Be].test(M))return Be;if(Ee&&re==="dd"&&this._minWeekdaysParse[Be].test(M))return Be;if(!Ee&&this._weekdaysParse[Be].test(M))return Be}}function Za(M){if(!this.isValid())return M!=null?this:NaN;var re=xn(this,"Day");return M!=null?(M=ls(M,this.localeData()),this.add(M-re,"d")):re}function $a(M){if(!this.isValid())return M!=null?this:NaN;var re=(this.day()+7-this.localeData()._week.dow)%7;return M==null?re:this.add(M-re,"d")}function Wo(M){if(!this.isValid())return M!=null?this:NaN;if(M!=null){var re=ps(M,this.localeData());return this.day(this.day()%7?re:re-7)}else return this.day()||7}function Co(M){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||cs.call(this),M?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Is),this._weekdaysStrictRegex&&M?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ro(M){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||cs.call(this),M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yr),this._weekdaysShortStrictRegex&&M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Hs(M){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||cs.call(this),M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fa),this._weekdaysMinStrictRegex&&M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function cs(){function M(Io,ru){return ru.length-Io.length}var re=[],Ee=[],Be=[],vt=[],gr,Cn,es,Zs,fa;for(gr=0;gr<7;gr++)Cn=T([2e3,1]).day(gr),es=hs(this.weekdaysMin(Cn,"")),Zs=hs(this.weekdaysShort(Cn,"")),fa=hs(this.weekdays(Cn,"")),re.push(es),Ee.push(Zs),Be.push(fa),vt.push(es),vt.push(Zs),vt.push(fa);re.sort(M),Ee.sort(M),Be.sort(M),vt.sort(M),this._weekdaysRegex=new RegExp("^("+vt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Be.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+re.join("|")+")","i")}function Me(){return this.hours()%12||12}function We(){return this.hours()||24}De("H",["HH",2],0,"hour"),De("h",["hh",2],0,Me),De("k",["kk",2],0,We),De("hmm",0,0,function(){return""+Me.apply(this)+ge(this.minutes(),2)}),De("hmmss",0,0,function(){return""+Me.apply(this)+ge(this.minutes(),2)+ge(this.seconds(),2)}),De("Hmm",0,0,function(){return""+this.hours()+ge(this.minutes(),2)}),De("Hmmss",0,0,function(){return""+this.hours()+ge(this.minutes(),2)+ge(this.seconds(),2)});function Nt(M,re){De(M,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),re)})}Nt("a",!0),Nt("A",!1);function Jt(M,re){return re._meridiemParse}qr("a",Jt),qr("A",Jt),qr("H",Br,Ci),qr("h",Br,Sn),qr("k",Br,Sn),qr("HH",Br,dr),qr("hh",Br,dr),qr("kk",Br,dr),qr("hmm",zt),qr("hmmss",Tt),qr("Hmm",zt),qr("Hmmss",Tt),qn(["H","HH"],Ge),qn(["k","kk"],function(M,re,Ee){var Be=gi(M);re[Ge]=Be===24?0:Be}),qn(["a","A"],function(M,re,Ee){Ee._isPm=Ee._locale.isPM(M),Ee._meridiem=M}),qn(["h","hh"],function(M,re,Ee){re[Ge]=gi(M),_(Ee).bigHour=!0}),qn("hmm",function(M,re,Ee){var Be=M.length-2;re[Ge]=gi(M.substr(0,Be)),re[bt]=gi(M.substr(Be)),_(Ee).bigHour=!0}),qn("hmmss",function(M,re,Ee){var Be=M.length-4,vt=M.length-2;re[Ge]=gi(M.substr(0,Be)),re[bt]=gi(M.substr(Be,2)),re[Et]=gi(M.substr(vt)),_(Ee).bigHour=!0}),qn("Hmm",function(M,re,Ee){var Be=M.length-2;re[Ge]=gi(M.substr(0,Be)),re[bt]=gi(M.substr(Be))}),qn("Hmmss",function(M,re,Ee){var Be=M.length-4,vt=M.length-2;re[Ge]=gi(M.substr(0,Be)),re[bt]=gi(M.substr(Be,2)),re[Et]=gi(M.substr(vt))});function jr(M){return(M+"").toLowerCase().charAt(0)==="p"}var Jr=/[ap]\.?m?\.?/i,an=rs("Hours",!0);function ai(M,re,Ee){return M>11?Ee?"pm":"PM":Ee?"am":"AM"}var Si={calendar:Je,longDateFormat:kt,invalidDate:Ir,ordinal:Yr,dayOfMonthOrdinalParse:Gr,relativeTime:Kr,months:ln,monthsShort:Yn,week:fr,weekdays:ca,weekdaysMin:io,weekdaysShort:za,meridiemParse:Jr},Di={},Vi={},da;function ya(M,re){var Ee,Be=Math.min(M.length,re.length);for(Ee=0;Ee<Be;Ee+=1)if(M[Ee]!==re[Ee])return Ee;return Be}function Qi(M){return M&&M.toLowerCase().replace("_","-")}function Do(M){for(var re=0,Ee,Be,vt,gr;re<M.length;){for(gr=Qi(M[re]).split("-"),Ee=gr.length,Be=Qi(M[re+1]),Be=Be?Be.split("-"):null;Ee>0;){if(vt=Ta(gr.slice(0,Ee).join("-")),vt)return vt;if(Be&&Be.length>=Ee&&ya(gr,Be)>=Ee-1)break;Ee--}re++}return da}function Oo(M){return!!(M&&M.match("^[^/\\\\]*$"))}function Ta(M){var re=null,Ee;if(Di[M]===void 0&&f&&f.exports&&Oo(M))try{re=da._abbr,Ee=void 0,e(31926)("./"+M),Ne(re)}catch{Di[M]=null}return Di[M]}function Ne(M,re){var Ee;return M&&(m(re)?Ee=ct(M):Ee=Ve(M,re),Ee?da=Ee:typeof console<"u"&&console.warn&&console.warn("Locale "+M+" not found. Did you forget to load it?")),da._abbr}function Ve(M,re){if(re!==null){var Ee,Be=Si;if(re.abbr=M,Di[M]!=null)ie("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Be=Di[M]._config;else if(re.parentLocale!=null)if(Di[re.parentLocale]!=null)Be=Di[re.parentLocale]._config;else if(Ee=Ta(re.parentLocale),Ee!=null)Be=Ee._config;else return Vi[re.parentLocale]||(Vi[re.parentLocale]=[]),Vi[re.parentLocale].push({name:M,config:re}),null;return Di[M]=new je(me(Be,re)),Vi[M]&&Vi[M].forEach(function(vt){Ve(vt.name,vt.config)}),Ne(M),Di[M]}else return delete Di[M],null}function gt(M,re){if(re!=null){var Ee,Be,vt=Si;Di[M]!=null&&Di[M].parentLocale!=null?Di[M].set(me(Di[M]._config,re)):(Be=Ta(M),Be!=null&&(vt=Be._config),re=me(vt,re),Be==null&&(re.abbr=M),Ee=new je(re),Ee.parentLocale=Di[M],Di[M]=Ee),Ne(M)}else Di[M]!=null&&(Di[M].parentLocale!=null?(Di[M]=Di[M].parentLocale,M===Ne()&&Ne(M)):Di[M]!=null&&delete Di[M]);return Di[M]}function ct(M){var re;if(M&&M._locale&&M._locale._abbr&&(M=M._locale._abbr),!M)return da;if(!s(M)){if(re=Ta(M),re)return re;M=[M]}return Do(M)}function Kt(){return Fe(Di)}function tr(M){var re,Ee=M._a;return Ee&&_(M).overflow===-2&&(re=Ee[oe]<0||Ee[oe]>11?oe:Ee[xe]<1||Ee[xe]>cr(Ee[Es],Ee[oe])?xe:Ee[Ge]<0||Ee[Ge]>24||Ee[Ge]===24&&(Ee[bt]!==0||Ee[Et]!==0||Ee[Tr]!==0)?Ge:Ee[bt]<0||Ee[bt]>59?bt:Ee[Et]<0||Ee[Et]>59?Et:Ee[Tr]<0||Ee[Tr]>999?Tr:-1,_(M)._overflowDayOfYear&&(re<Es||re>xe)&&(re=xe),_(M)._overflowWeeks&&re===-1&&(re=vn),_(M)._overflowWeekday&&re===-1&&(re=Gt),_(M).overflow=re),M}var Cr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bn=/Z|[+-]\d\d(?::?\d\d)?/,Hn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Bt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Wt=/^\/?Date\((-?\d+)/i,Wr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,sn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(M){var re,Ee,Be=M._i,vt=Cr.exec(Be)||kr.exec(Be),gr,Cn,es,Zs,fa=Hn.length,Io=Bt.length;if(vt){for(_(M).iso=!0,re=0,Ee=fa;re<Ee;re++)if(Hn[re][1].exec(vt[1])){Cn=Hn[re][0],gr=Hn[re][2]!==!1;break}if(Cn==null){M._isValid=!1;return}if(vt[3]){for(re=0,Ee=Io;re<Ee;re++)if(Bt[re][1].exec(vt[3])){es=(vt[2]||" ")+Bt[re][0];break}if(es==null){M._isValid=!1;return}}if(!gr&&es!=null){M._isValid=!1;return}if(vt[4])if(Bn.exec(vt[4]))Zs="Z";else{M._isValid=!1;return}M._f=Cn+(es||"")+(Zs||""),tn(M)}else M._isValid=!1}function _n(M,re,Ee,Be,vt,gr){var Cn=[Wn(M),Yn.indexOf(re),parseInt(Ee,10),parseInt(Be,10),parseInt(vt,10)];return gr&&Cn.push(parseInt(gr,10)),Cn}function Wn(M){var re=parseInt(M,10);return re<=49?2e3+re:re<=999?1900+re:re}function Un(M){return M.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Fi(M,re,Ee){if(M){var Be=za.indexOf(M),vt=new Date(re[0],re[1],re[2]).getDay();if(Be!==vt)return _(Ee).weekdayMismatch=!0,Ee._isValid=!1,!1}return!0}function Le(M,re,Ee){if(M)return sn[M];if(re)return 0;var Be=parseInt(Ee,10),vt=Be%100,gr=(Be-vt)/100;return gr*60+vt}function Ue(M){var re=Wr.exec(Un(M._i)),Ee;if(re){if(Ee=_n(re[4],re[3],re[2],re[5],re[6],re[7]),!Fi(re[1],Ee,M))return;M._a=Ee,M._tzm=Le(re[8],re[9],re[10]),M._d=Cs.apply(null,M._a),M._d.setUTCMinutes(M._d.getUTCMinutes()-M._tzm),_(M).rfc2822=!0}else M._isValid=!1}function lt(M){var re=Wt.exec(M._i);if(re!==null){M._d=new Date(+re[1]);return}if(Mn(M),M._isValid===!1)delete M._isValid;else return;if(Ue(M),M._isValid===!1)delete M._isValid;else return;M._strict?M._isValid=!1:r.createFromInputFallback(M)}r.createFromInputFallback=Z("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(M){M._d=new Date(M._i+(M._useUTC?" UTC":""))});function ot(M,re,Ee){return M??re??Ee}function Yt(M){var re=new Date(r.now());return M._useUTC?[re.getUTCFullYear(),re.getUTCMonth(),re.getUTCDate()]:[re.getFullYear(),re.getMonth(),re.getDate()]}function rr(M){var re,Ee,Be=[],vt,gr,Cn;if(!M._d){for(vt=Yt(M),M._w&&M._a[xe]==null&&M._a[oe]==null&&Or(M),M._dayOfYear!=null&&(Cn=ot(M._a[Es],vt[Es]),(M._dayOfYear>ei(Cn)||M._dayOfYear===0)&&(_(M)._overflowDayOfYear=!0),Ee=Cs(Cn,0,M._dayOfYear),M._a[oe]=Ee.getUTCMonth(),M._a[xe]=Ee.getUTCDate()),re=0;re<3&&M._a[re]==null;++re)M._a[re]=Be[re]=vt[re];for(;re<7;re++)M._a[re]=Be[re]=M._a[re]==null?re===2?1:0:M._a[re];M._a[Ge]===24&&M._a[bt]===0&&M._a[Et]===0&&M._a[Tr]===0&&(M._nextDay=!0,M._a[Ge]=0),M._d=(M._useUTC?Cs:Ns).apply(null,Be),gr=M._useUTC?M._d.getUTCDay():M._d.getDay(),M._tzm!=null&&M._d.setUTCMinutes(M._d.getUTCMinutes()-M._tzm),M._nextDay&&(M._a[Ge]=24),M._w&&typeof M._w.d<"u"&&M._w.d!==gr&&(_(M).weekdayMismatch=!0)}}function Or(M){var re,Ee,Be,vt,gr,Cn,es,Zs,fa;re=M._w,re.GG!=null||re.W!=null||re.E!=null?(gr=1,Cn=4,Ee=ot(re.GG,M._a[Es],ce(di(),1,4).year),Be=ot(re.W,1),vt=ot(re.E,1),(vt<1||vt>7)&&(Zs=!0)):(gr=M._locale._week.dow,Cn=M._locale._week.doy,fa=ce(di(),gr,Cn),Ee=ot(re.gg,M._a[Es],fa.year),Be=ot(re.w,fa.week),re.d!=null?(vt=re.d,(vt<0||vt>6)&&(Zs=!0)):re.e!=null?(vt=re.e+gr,(re.e<0||re.e>6)&&(Zs=!0)):vt=gr),Be<1||Be>He(Ee,gr,Cn)?_(M)._overflowWeeks=!0:Zs!=null?_(M)._overflowWeekday=!0:(es=Os(Ee,Be,vt,gr,Cn),M._a[Es]=es.year,M._dayOfYear=es.dayOfYear)}r.ISO_8601=function(){},r.RFC_2822=function(){};function tn(M){if(M._f===r.ISO_8601){Mn(M);return}if(M._f===r.RFC_2822){Ue(M);return}M._a=[],_(M).empty=!0;var re=""+M._i,Ee,Be,vt,gr,Cn,es=re.length,Zs=0,fa,Io;for(vt=mt(M._f,M._locale).match(be)||[],Io=vt.length,Ee=0;Ee<Io;Ee++)gr=vt[Ee],Be=(re.match(Bi(gr,M))||[])[0],Be&&(Cn=re.substr(0,re.indexOf(Be)),Cn.length>0&&_(M).unusedInput.push(Cn),re=re.slice(re.indexOf(Be)+Be.length),Zs+=Be.length),ye[gr]?(Be?_(M).empty=!1:_(M).unusedTokens.push(gr),$s(gr,Be,M)):M._strict&&!Be&&_(M).unusedTokens.push(gr);_(M).charsLeftOver=es-Zs,re.length>0&&_(M).unusedInput.push(re),M._a[Ge]<=12&&_(M).bigHour===!0&&M._a[Ge]>0&&(_(M).bigHour=void 0),_(M).parsedDateParts=M._a.slice(0),_(M).meridiem=M._meridiem,M._a[Ge]=kn(M._locale,M._a[Ge],M._meridiem),fa=_(M).era,fa!==null&&(M._a[Es]=M._locale.erasConvertYear(fa,M._a[Es])),rr(M),tr(M)}function kn(M,re,Ee){var Be;return Ee==null?re:M.meridiemHour!=null?M.meridiemHour(re,Ee):(M.isPM!=null&&(Be=M.isPM(Ee),Be&&re<12&&(re+=12),!Be&&re===12&&(re=0)),re)}function En(M){var re,Ee,Be,vt,gr,Cn,es=!1,Zs=M._f.length;if(Zs===0){_(M).invalidFormat=!0,M._d=new Date(NaN);return}for(vt=0;vt<Zs;vt++)gr=0,Cn=!1,re=$({},M),M._useUTC!=null&&(re._useUTC=M._useUTC),re._f=M._f[vt],tn(re),P(re)&&(Cn=!0),gr+=_(re).charsLeftOver,gr+=_(re).unusedTokens.length*10,_(re).score=gr,es?gr<Be&&(Be=gr,Ee=re):(Be==null||gr<Be||Cn)&&(Be=gr,Ee=re,Cn&&(es=!0));x(M,Ee||re)}function Rn(M){if(!M._d){var re=Er(M._i),Ee=re.day===void 0?re.date:re.day;M._a=v([re.year,re.month,Ee,re.hour,re.minute,re.second,re.millisecond],function(Be){return Be&&parseInt(Be,10)}),rr(M)}}function ki(M){var re=new F(tr(bs(M)));return re._nextDay&&(re.add(1,"d"),re._nextDay=void 0),re}function bs(M){var re=M._i,Ee=M._f;return M._locale=M._locale||ct(M._l),re===null||Ee===void 0&&re===""?k({nullInput:!0}):(typeof re=="string"&&(M._i=re=M._locale.preparse(re)),V(re)?new F(tr(re)):(h(re)?M._d=re:s(Ee)?En(M):Ee?tn(M):Rs(M),P(M)||(M._d=null),M))}function Rs(M){var re=M._i;m(re)?M._d=new Date(r.now()):h(re)?M._d=new Date(re.valueOf()):typeof re=="string"?lt(M):s(re)?(M._a=v(re.slice(0),function(Ee){return parseInt(Ee,10)}),rr(M)):i(re)?Rn(M):g(re)?M._d=new Date(re):r.createFromInputFallback(M)}function As(M,re,Ee,Be,vt){var gr={};return(re===!0||re===!1)&&(Be=re,re=void 0),(Ee===!0||Ee===!1)&&(Be=Ee,Ee=void 0),(i(M)&&l(M)||s(M)&&M.length===0)&&(M=void 0),gr._isAMomentObject=!0,gr._useUTC=gr._isUTC=vt,gr._l=Ee,gr._i=M,gr._f=re,gr._strict=Be,ki(gr)}function di(M,re,Ee,Be){return As(M,re,Ee,Be,!1)}var Gn=Z("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var M=di.apply(null,arguments);return this.isValid()&&M.isValid()?M<this?this:M:k()}),oi=Z("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var M=di.apply(null,arguments);return this.isValid()&&M.isValid()?M>this?this:M:k()});function Ks(M,re){var Ee,Be;if(re.length===1&&s(re[0])&&(re=re[0]),!re.length)return di();for(Ee=re[0],Be=1;Be<re.length;++Be)(!re[Be].isValid()||re[Be][M](Ee))&&(Ee=re[Be]);return Ee}function qs(){var M=[].slice.call(arguments,0);return Ks("isBefore",M)}function ns(){var M=[].slice.call(arguments,0);return Ks("isAfter",M)}var Ba=function(){return Date.now?Date.now():+new Date},ka=["year","quarter","month","week","day","hour","minute","second","millisecond"];function H(M){var re,Ee=!1,Be,vt=ka.length;for(re in M)if(u(M,re)&&!(nr.call(ka,re)!==-1&&(M[re]==null||!isNaN(M[re]))))return!1;for(Be=0;Be<vt;++Be)if(M[ka[Be]]){if(Ee)return!1;parseFloat(M[ka[Be]])!==gi(M[ka[Be]])&&(Ee=!0)}return!0}function z(){return this._isValid}function ee(){return pi(NaN)}function pe(M){var re=Er(M),Ee=re.year||0,Be=re.quarter||0,vt=re.month||0,gr=re.week||re.isoWeek||0,Cn=re.day||0,es=re.hour||0,Zs=re.minute||0,fa=re.second||0,Io=re.millisecond||0;this._isValid=H(re),this._milliseconds=+Io+fa*1e3+Zs*6e4+es*1e3*60*60,this._days=+Cn+gr*7,this._months=+vt+Be*3+Ee*12,this._data={},this._locale=ct(),this._bubble()}function Ce(M){return M instanceof pe}function ze(M){return M<0?Math.round(-1*M)*-1:Math.round(M)}function st(M,re,Ee){var Be=Math.min(M.length,re.length),vt=Math.abs(M.length-re.length),gr=0,Cn;for(Cn=0;Cn<Be;Cn++)(Ee&&M[Cn]!==re[Cn]||!Ee&&gi(M[Cn])!==gi(re[Cn]))&&gr++;return gr+vt}function ft(M,re){De(M,0,0,function(){var Ee=this.utcOffset(),Be="+";return Ee<0&&(Ee=-Ee,Be="-"),Be+ge(~~(Ee/60),2)+re+ge(~~Ee%60,2)})}ft("Z",":"),ft("ZZ",""),qr("Z",Zr),qr("ZZ",Zr),qn(["Z","ZZ"],function(M,re,Ee){Ee._useUTC=!0,Ee._tzm=lr(Zr,M)});var Dt=/([\+\-]|\d\d)/gi;function lr(M,re){var Ee=(re||"").match(M),Be,vt,gr;return Ee===null?null:(Be=Ee[Ee.length-1]||[],vt=(Be+"").match(Dt)||["-",0,0],gr=+(vt[1]*60)+gi(vt[2]),gr===0?0:vt[0]==="+"?gr:-gr)}function $t(M,re){var Ee,Be;return re._isUTC?(Ee=re.clone(),Be=(V(M)||h(M)?M.valueOf():di(M).valueOf())-Ee.valueOf(),Ee._d.setTime(Ee._d.valueOf()+Be),r.updateOffset(Ee,!1),Ee):di(M).local()}function Nr(M){return-Math.round(M._d.getTimezoneOffset())}r.updateOffset=function(){};function cn(M,re,Ee){var Be=this._offset||0,vt;if(!this.isValid())return M!=null?this:NaN;if(M!=null){if(typeof M=="string"){if(M=lr(Zr,M),M===null)return this}else Math.abs(M)<16&&!Ee&&(M=M*60);return!this._isUTC&&re&&(vt=Nr(this)),this._offset=M,this._isUTC=!0,vt!=null&&this.add(vt,"m"),Be!==M&&(!re||this._changeInProgress?vo(this,pi(M-Be,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?Be:Nr(this)}function Nn(M,re){return M!=null?(typeof M!="string"&&(M=-M),this.utcOffset(M,re),this):-this.utcOffset()}function jn(M){return this.utcOffset(0,M)}function fi(M){return this._isUTC&&(this.utcOffset(0,M),this._isUTC=!1,M&&this.subtract(Nr(this),"m")),this}function xi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var M=lr(Rt,this._i);M!=null?this.utcOffset(M):this.utcOffset(0,!0)}return this}function Ii(M){return this.isValid()?(M=M?di(M).utcOffset():0,(this.utcOffset()-M)%60===0):!1}function zi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function gs(){if(!m(this._isDSTShifted))return this._isDSTShifted;var M={},re;return $(M,this),M=bs(M),M._a?(re=M._isUTC?T(M._a):di(M._a),this._isDSTShifted=this.isValid()&&st(M._a,re.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function er(){return this.isValid()?!this._isUTC:!1}function br(){return this.isValid()?this._isUTC:!1}function xr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var yi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ni=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function pi(M,re){var Ee=M,Be=null,vt,gr,Cn;return Ce(M)?Ee={ms:M._milliseconds,d:M._days,M:M._months}:g(M)||!isNaN(+M)?(Ee={},re?Ee[re]=+M:Ee.milliseconds=+M):(Be=yi.exec(M))?(vt=Be[1]==="-"?-1:1,Ee={y:0,d:gi(Be[xe])*vt,h:gi(Be[Ge])*vt,m:gi(Be[bt])*vt,s:gi(Be[Et])*vt,ms:gi(ze(Be[Tr]*1e3))*vt}):(Be=Ni.exec(M))?(vt=Be[1]==="-"?-1:1,Ee={y:ra(Be[2],vt),M:ra(Be[3],vt),w:ra(Be[4],vt),d:ra(Be[5],vt),h:ra(Be[6],vt),m:ra(Be[7],vt),s:ra(Be[8],vt)}):Ee==null?Ee={}:typeof Ee=="object"&&("from"in Ee||"to"in Ee)&&(Cn=Lu(di(Ee.from),di(Ee.to)),Ee={},Ee.ms=Cn.milliseconds,Ee.M=Cn.months),gr=new pe(Ee),Ce(M)&&u(M,"_locale")&&(gr._locale=M._locale),Ce(M)&&u(M,"_isValid")&&(gr._isValid=M._isValid),gr}pi.fn=pe.prototype,pi.invalid=ee;function ra(M,re){var Ee=M&&parseFloat(M.replace(",","."));return(isNaN(Ee)?0:Ee)*re}function Ys(M,re){var Ee={};return Ee.months=re.month()-M.month()+(re.year()-M.year())*12,M.clone().add(Ee.months,"M").isAfter(re)&&--Ee.months,Ee.milliseconds=+re-+M.clone().add(Ee.months,"M"),Ee}function Lu(M,re){var Ee;return M.isValid()&&re.isValid()?(re=$t(re,M),M.isBefore(re)?Ee=Ys(M,re):(Ee=Ys(re,M),Ee.milliseconds=-Ee.milliseconds,Ee.months=-Ee.months),Ee):{milliseconds:0,months:0}}function Uo(M,re){return function(Ee,Be){var vt,gr;return Be!==null&&!isNaN(+Be)&&(ie(re,"moment()."+re+"(period, number) is deprecated. Please use moment()."+re+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),gr=Ee,Ee=Be,Be=gr),vt=pi(Ee,Be),vo(this,vt,M),this}}function vo(M,re,Ee,Be){var vt=re._milliseconds,gr=ze(re._days),Cn=ze(re._months);M.isValid()&&(Be=Be??!0,Cn&&vi(M,xn(M,"Month")+Cn*Ee),gr&&Ms(M,"Date",xn(M,"Date")+gr*Ee),vt&&M._d.setTime(M._d.valueOf()+vt*Ee),Be&&r.updateOffset(M,gr||Cn))}var jo=Uo(1,"add"),Ll=Uo(-1,"subtract");function wa(M){return typeof M=="string"||M instanceof String}function wu(M){return V(M)||h(M)||wa(M)||g(M)||Ca(M)||el(M)||M===null||M===void 0}function el(M){var re=i(M)&&!l(M),Ee=!1,Be=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],vt,gr,Cn=Be.length;for(vt=0;vt<Cn;vt+=1)gr=Be[vt],Ee=Ee||u(M,gr);return re&&Ee}function Ca(M){var re=s(M),Ee=!1;return re&&(Ee=M.filter(function(Be){return!g(Be)&&wa(M)}).length===0),re&&Ee}function Yl(M){var re=i(M)&&!l(M),Ee=!1,Be=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],vt,gr;for(vt=0;vt<Be.length;vt+=1)gr=Be[vt],Ee=Ee||u(M,gr);return re&&Ee}function $c(M,re){var Ee=M.diff(re,"days",!0);return Ee<-6?"sameElse":Ee<-1?"lastWeek":Ee<0?"lastDay":Ee<1?"sameDay":Ee<2?"nextDay":Ee<7?"nextWeek":"sameElse"}function zo(M,re){arguments.length===1&&(arguments[0]?wu(arguments[0])?(M=arguments[0],re=void 0):Yl(arguments[0])&&(re=arguments[0],M=void 0):(M=void 0,re=void 0));var Ee=M||di(),Be=$t(Ee,this).startOf("day"),vt=r.calendarFormat(this,Be)||"sameElse",gr=re&&(le(re[vt])?re[vt].call(this,Ee):re[vt]);return this.format(gr||this.localeData().calendar(vt,this,di(Ee)))}function Hc(){return new F(this)}function Xl(M,re){var Ee=V(M)?M:di(M);return this.isValid()&&Ee.isValid()?(re=Mr(re)||"millisecond",re==="millisecond"?this.valueOf()>Ee.valueOf():Ee.valueOf()<this.clone().startOf(re).valueOf()):!1}function Fs(M,re){var Ee=V(M)?M:di(M);return this.isValid()&&Ee.isValid()?(re=Mr(re)||"millisecond",re==="millisecond"?this.valueOf()<Ee.valueOf():this.clone().endOf(re).valueOf()<Ee.valueOf()):!1}function _u(M,re,Ee,Be){var vt=V(M)?M:di(M),gr=V(re)?re:di(re);return this.isValid()&&vt.isValid()&&gr.isValid()?(Be=Be||"()",(Be[0]==="("?this.isAfter(vt,Ee):!this.isBefore(vt,Ee))&&(Be[1]===")"?this.isBefore(gr,Ee):!this.isAfter(gr,Ee))):!1}function oo(M,re){var Ee=V(M)?M:di(M),Be;return this.isValid()&&Ee.isValid()?(re=Mr(re)||"millisecond",re==="millisecond"?this.valueOf()===Ee.valueOf():(Be=Ee.valueOf(),this.clone().startOf(re).valueOf()<=Be&&Be<=this.clone().endOf(re).valueOf())):!1}function tl(M,re){return this.isSame(M,re)||this.isAfter(M,re)}function Ml(M,re){return this.isSame(M,re)||this.isBefore(M,re)}function ae(M,re,Ee){var Be,vt,gr;if(!this.isValid())return NaN;if(Be=$t(M,this),!Be.isValid())return NaN;switch(vt=(Be.utcOffset()-this.utcOffset())*6e4,re=Mr(re),re){case"year":gr=hr(this,Be)/12;break;case"month":gr=hr(this,Be);break;case"quarter":gr=hr(this,Be)/3;break;case"second":gr=(this-Be)/1e3;break;case"minute":gr=(this-Be)/6e4;break;case"hour":gr=(this-Be)/36e5;break;case"day":gr=(this-Be-vt)/864e5;break;case"week":gr=(this-Be-vt)/6048e5;break;default:gr=this-Be}return Ee?gr:Mi(gr)}function hr(M,re){if(M.date()<re.date())return-hr(re,M);var Ee=(re.year()-M.year())*12+(re.month()-M.month()),Be=M.clone().add(Ee,"months"),vt,gr;return re-Be<0?(vt=M.clone().add(Ee-1,"months"),gr=(re-Be)/(Be-vt)):(vt=M.clone().add(Ee+1,"months"),gr=(re-Be)/(vt-Be)),-(Ee+gr)||0}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function dt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xt(M){if(!this.isValid())return null;var re=M!==!0,Ee=re?this.clone().utc():this;return Ee.year()<0||Ee.year()>9999?It(Ee,re?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):le(Date.prototype.toISOString)?re?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",It(Ee,"Z")):It(Ee,re?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function bn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var M="moment",re="",Ee,Be,vt,gr;return this.isLocal()||(M=this.utcOffset()===0?"moment.utc":"moment.parseZone",re="Z"),Ee="["+M+'("]',Be=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",vt="-MM-DD[T]HH:mm:ss.SSS",gr=re+'[")]',this.format(Ee+Be+vt+gr)}function Jn(M){M||(M=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var re=It(this,M);return this.localeData().postformat(re)}function vs(M,re){return this.isValid()&&(V(M)&&M.isValid()||di(M).isValid())?pi({to:this,from:M}).locale(this.locale()).humanize(!re):this.localeData().invalidDate()}function Ps(M){return this.from(di(),M)}function Ia(M,re){return this.isValid()&&(V(M)&&M.isValid()||di(M).isValid())?pi({from:this,to:M}).locale(this.locale()).humanize(!re):this.localeData().invalidDate()}function $o(M){return this.to(di(),M)}function yo(M){var re;return M===void 0?this._locale._abbr:(re=ct(M),re!=null&&(this._locale=re),this)}var qa=Z("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(M){return M===void 0?this.localeData():this.locale(M)});function Vo(){return this._locale}var Lo=1e3,Hu=60*Lo,kl=60*Hu,Mu=(365*400+97)*24*kl;function eu(M,re){return(M%re+re)%re}function bo(M,re,Ee){return M<100&&M>=0?new Date(M+400,re,Ee)-Mu:new Date(M,re,Ee).valueOf()}function Mo(M,re,Ee){return M<100&&M>=0?Date.UTC(M+400,re,Ee)-Mu:Date.UTC(M,re,Ee)}function Bs(M){var re,Ee;if(M=Mr(M),M===void 0||M==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Mo:bo,M){case"year":re=Ee(this.year(),0,1);break;case"quarter":re=Ee(this.year(),this.month()-this.month()%3,1);break;case"month":re=Ee(this.year(),this.month(),1);break;case"week":re=Ee(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":re=Ee(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":re=Ee(this.year(),this.month(),this.date());break;case"hour":re=this._d.valueOf(),re-=eu(re+(this._isUTC?0:this.utcOffset()*Hu),kl);break;case"minute":re=this._d.valueOf(),re-=eu(re,Hu);break;case"second":re=this._d.valueOf(),re-=eu(re,Lo);break}return this._d.setTime(re),r.updateOffset(this,!0),this}function rl(M){var re,Ee;if(M=Mr(M),M===void 0||M==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Mo:bo,M){case"year":re=Ee(this.year()+1,0,1)-1;break;case"quarter":re=Ee(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":re=Ee(this.year(),this.month()+1,1)-1;break;case"week":re=Ee(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":re=Ee(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":re=Ee(this.year(),this.month(),this.date()+1)-1;break;case"hour":re=this._d.valueOf(),re+=kl-eu(re+(this._isUTC?0:this.utcOffset()*Hu),kl)-1;break;case"minute":re=this._d.valueOf(),re+=Hu-eu(re,Hu)-1;break;case"second":re=this._d.valueOf(),re+=Lo-eu(re,Lo)-1;break}return this._d.setTime(re),r.updateOffset(this,!0),this}function lc(){return this._d.valueOf()-(this._offset||0)*6e4}function Nl(){return Math.floor(this.valueOf()/1e3)}function nl(){return new Date(this.valueOf())}function il(){var M=this;return[M.year(),M.month(),M.date(),M.hour(),M.minute(),M.second(),M.millisecond()]}function vl(){var M=this;return{years:M.year(),months:M.month(),date:M.date(),hours:M.hours(),minutes:M.minutes(),seconds:M.seconds(),milliseconds:M.milliseconds()}}function sl(){return this.isValid()?this.toISOString():null}function ko(){return P(this)}function lu(){return x({},_(this))}function Go(){return _(this).overflow}function Xo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}De("N",0,0,"eraAbbr"),De("NN",0,0,"eraAbbr"),De("NNN",0,0,"eraAbbr"),De("NNNN",0,0,"eraName"),De("NNNNN",0,0,"eraNarrow"),De("y",["y",1],"yo","eraYear"),De("y",["yy",2],0,"eraYear"),De("y",["yyy",3],0,"eraYear"),De("y",["yyyy",4],0,"eraYear"),qr("N",_i),qr("NN",_i),qr("NNN",_i),qr("NNNN",Ai),qr("NNNNN",Gi),qn(["N","NN","NNN","NNNN","NNNNN"],function(M,re,Ee,Be){var vt=Ee._locale.erasParse(M,Be,Ee._strict);vt?_(Ee).era=vt:_(Ee).invalidEra=M}),qr("y",ur),qr("yy",ur),qr("yyy",ur),qr("yyyy",ur),qr("yo",Xs),qn(["y","yy","yyy","yyyy"],Es),qn(["yo"],function(M,re,Ee,Be){var vt;Ee._locale._eraYearOrdinalRegex&&(vt=M.match(Ee._locale._eraYearOrdinalRegex)),Ee._locale.eraYearOrdinalParse?re[Es]=Ee._locale.eraYearOrdinalParse(M,vt):re[Es]=parseInt(M,10)});function Cc(M,re){var Ee,Be,vt,gr=this._eras||ct("en")._eras;for(Ee=0,Be=gr.length;Ee<Be;++Ee)switch(typeof gr[Ee].since==="string"&&(vt=r(gr[Ee].since).startOf("day"),gr[Ee].since=vt.valueOf()),typeof gr[Ee].until){case"undefined":gr[Ee].until=1/0;break;case"string":vt=r(gr[Ee].until).startOf("day").valueOf(),gr[Ee].until=vt.valueOf();break}return gr}function Ae(M,re,Ee){var Be,vt,gr=this.eras(),Cn,es,Zs;for(M=M.toUpperCase(),Be=0,vt=gr.length;Be<vt;++Be)if(Cn=gr[Be].name.toUpperCase(),es=gr[Be].abbr.toUpperCase(),Zs=gr[Be].narrow.toUpperCase(),Ee)switch(re){case"N":case"NN":case"NNN":if(es===M)return gr[Be];break;case"NNNN":if(Cn===M)return gr[Be];break;case"NNNNN":if(Zs===M)return gr[Be];break}else if([Cn,es,Zs].indexOf(M)>=0)return gr[Be]}function et(M,re){var Ee=M.since<=M.until?1:-1;return re===void 0?r(M.since).year():r(M.since).year()+(re-M.offset)*Ee}function pt(){var M,re,Ee,Be=this.localeData().eras();for(M=0,re=Be.length;M<re;++M)if(Ee=this.clone().startOf("day").valueOf(),Be[M].since<=Ee&&Ee<=Be[M].until||Be[M].until<=Ee&&Ee<=Be[M].since)return Be[M].name;return""}function Ft(){var M,re,Ee,Be=this.localeData().eras();for(M=0,re=Be.length;M<re;++M)if(Ee=this.clone().startOf("day").valueOf(),Be[M].since<=Ee&&Ee<=Be[M].until||Be[M].until<=Ee&&Ee<=Be[M].since)return Be[M].narrow;return""}function Zt(){var M,re,Ee,Be=this.localeData().eras();for(M=0,re=Be.length;M<re;++M)if(Ee=this.clone().startOf("day").valueOf(),Be[M].since<=Ee&&Ee<=Be[M].until||Be[M].until<=Ee&&Ee<=Be[M].since)return Be[M].abbr;return""}function Rr(){var M,re,Ee,Be,vt=this.localeData().eras();for(M=0,re=vt.length;M<re;++M)if(Ee=vt[M].since<=vt[M].until?1:-1,Be=this.clone().startOf("day").valueOf(),vt[M].since<=Be&&Be<=vt[M].until||vt[M].until<=Be&&Be<=vt[M].since)return(this.year()-r(vt[M].since).year())*Ee+vt[M].offset;return this.year()}function mn(M){return u(this,"_erasNameRegex")||Qa.call(this),M?this._erasNameRegex:this._erasRegex}function Ye(M){return u(this,"_erasAbbrRegex")||Qa.call(this),M?this._erasAbbrRegex:this._erasRegex}function Li(M){return u(this,"_erasNarrowRegex")||Qa.call(this),M?this._erasNarrowRegex:this._erasRegex}function _i(M,re){return re.erasAbbrRegex(M)}function Ai(M,re){return re.erasNameRegex(M)}function Gi(M,re){return re.erasNarrowRegex(M)}function Xs(M,re){return re._eraYearOrdinalRegex||ur}function Qa(){var M=[],re=[],Ee=[],Be=[],vt,gr,Cn,es,Zs,fa=this.eras();for(vt=0,gr=fa.length;vt<gr;++vt)Cn=hs(fa[vt].name),es=hs(fa[vt].abbr),Zs=hs(fa[vt].narrow),re.push(Cn),M.push(es),Ee.push(Zs),Be.push(Cn),Be.push(es),Be.push(Zs);this._erasRegex=new RegExp("^("+Be.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+re.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+M.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Ee.join("|")+")","i")}De(0,["gg",2],0,function(){return this.weekYear()%100}),De(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ho(M,re){De(0,[M,M.length],0,re)}ho("gggg","weekYear"),ho("ggggg","weekYear"),ho("GGGG","isoWeekYear"),ho("GGGGG","isoWeekYear"),qr("G",it),qr("g",it),qr("GG",Br,dr),qr("gg",Br,dr),qr("GGGG",Y,hn),qr("gggg",Y,hn),qr("GGGGG",ht,Qt),qr("ggggg",ht,Qt),$n(["gggg","ggggg","GGGG","GGGGG"],function(M,re,Ee,Be){re[Be.substr(0,2)]=gi(M)}),$n(["gg","GG"],function(M,re,Ee,Be){re[Be]=r.parseTwoDigitYear(M)});function Pa(M){return So.call(this,M,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ja(M){return So.call(this,M,this.isoWeek(),this.isoWeekday(),1,4)}function ma(){return He(this.year(),1,4)}function Ha(){return He(this.isoWeekYear(),1,4)}function uo(){var M=this.localeData()._week;return He(this.year(),M.dow,M.doy)}function Qo(){var M=this.localeData()._week;return He(this.weekYear(),M.dow,M.doy)}function So(M,re,Ee,Be,vt){var gr;return M==null?ce(this,Be,vt).year:(gr=He(M,Be,vt),re>gr&&(re=gr),Eo.call(this,M,re,Ee,Be,vt))}function Eo(M,re,Ee,Be,vt){var gr=Os(M,re,Ee,Be,vt),Cn=Cs(gr.year,0,gr.dayOfYear);return this.year(Cn.getUTCFullYear()),this.month(Cn.getUTCMonth()),this.date(Cn.getUTCDate()),this}De("Q",0,"Qo","quarter"),qr("Q",An),qn("Q",function(M,re){re[oe]=(gi(M)-1)*3});function ku(M){return M==null?Math.ceil((this.month()+1)/3):this.month((M-1)*3+this.month()%3)}De("D",["DD",2],"Do","date"),qr("D",Br,Sn),qr("DD",Br,dr),qr("Do",function(M,re){return M?re._dayOfMonthOrdinalParse||re._ordinalParse:re._dayOfMonthOrdinalParseLenient}),qn(["D","DD"],xe),qn("Do",function(M,re){re[xe]=gi(M.match(Br)[0])});var al=rs("Date",!0);De("DDD",["DDDD",3],"DDDo","dayOfYear"),qr("DDD",Pr),qr("DDDD",Xr),qn(["DDD","DDDD"],function(M,re,Ee){Ee._dayOfYear=gi(M)});function cu(M){var re=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return M==null?re:this.add(M-re,"d")}De("m",["mm",2],0,"minute"),qr("m",Br,Ci),qr("mm",Br,dr),qn(["m","mm"],bt);var dd=rs("Minutes",!1);De("s",["ss",2],0,"second"),qr("s",Br,Ci),qr("ss",Br,dr),qn(["s","ss"],Et);var Nu=rs("Seconds",!1);De("S",0,0,function(){return~~(this.millisecond()/100)}),De(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),De(0,["SSS",3],0,"millisecond"),De(0,["SSSS",4],0,function(){return this.millisecond()*10}),De(0,["SSSSS",5],0,function(){return this.millisecond()*100}),De(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),De(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),De(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),De(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),qr("S",Pr,An),qr("SS",Pr,dr),qr("SSS",Pr,Xr);var Au,cc;for(Au="SSSS";Au.length<=9;Au+="S")qr(Au,ur);function Dd(M,re){re[Tr]=gi(("0."+M)*1e3)}for(Au="S";Au.length<=9;Au+="S")qn(Au,Dd);cc=rs("Milliseconds",!1),De("z",0,0,"zoneAbbr"),De("zz",0,0,"zoneName");function sf(){return this._isUTC?"UTC":""}function Cu(){return this._isUTC?"Coordinated Universal Time":""}var Kn=F.prototype;Kn.add=jo,Kn.calendar=zo,Kn.clone=Hc,Kn.diff=ae,Kn.endOf=rl,Kn.format=Jn,Kn.from=vs,Kn.fromNow=Ps,Kn.to=Ia,Kn.toNow=$o,Kn.get=Yi,Kn.invalidAt=Go,Kn.isAfter=Xl,Kn.isBefore=Fs,Kn.isBetween=_u,Kn.isSame=oo,Kn.isSameOrAfter=tl,Kn.isSameOrBefore=Ml,Kn.isValid=ko,Kn.lang=qa,Kn.locale=yo,Kn.localeData=Vo,Kn.max=oi,Kn.min=Gn,Kn.parsingFlags=lu,Kn.set=Gs,Kn.startOf=Bs,Kn.subtract=Ll,Kn.toArray=il,Kn.toObject=vl,Kn.toDate=nl,Kn.toISOString=xt,Kn.inspect=bn,typeof Symbol<"u"&&Symbol.for!=null&&(Kn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Kn.toJSON=sl,Kn.toString=dt,Kn.unix=Nl,Kn.valueOf=lc,Kn.creationData=Xo,Kn.eraName=pt,Kn.eraNarrow=Ft,Kn.eraAbbr=Zt,Kn.eraYear=Rr,Kn.year=si,Kn.isLeapYear=yn,Kn.weekYear=Pa,Kn.isoWeekYear=Ja,Kn.quarter=Kn.quarters=ku,Kn.month=Wi,Kn.daysInMonth=ks,Kn.week=Kn.weeks=Xi,Kn.isoWeek=Kn.isoWeeks=qi,Kn.weeksInYear=uo,Kn.weeksInWeekYear=Qo,Kn.isoWeeksInYear=ma,Kn.isoWeeksInISOWeekYear=Ha,Kn.date=al,Kn.day=Kn.days=Za,Kn.weekday=$a,Kn.isoWeekday=Wo,Kn.dayOfYear=cu,Kn.hour=Kn.hours=an,Kn.minute=Kn.minutes=dd,Kn.second=Kn.seconds=Nu,Kn.millisecond=Kn.milliseconds=cc,Kn.utcOffset=cn,Kn.utc=jn,Kn.local=fi,Kn.parseZone=xi,Kn.hasAlignedHourOffset=Ii,Kn.isDST=zi,Kn.isLocal=er,Kn.isUtcOffset=br,Kn.isUtc=xr,Kn.isUTC=xr,Kn.zoneAbbr=sf,Kn.zoneName=Cu,Kn.dates=Z("dates accessor is deprecated. Use date instead.",al),Kn.months=Z("months accessor is deprecated. Use month instead",Wi),Kn.years=Z("years accessor is deprecated. Use year instead",si),Kn.zone=Z("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nn),Kn.isDSTShifted=Z("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",gs);function yl(M){return di(M*1e3)}function Ql(){return di.apply(null,arguments).parseZone()}function du(M){return M}var Ra=je.prototype;Ra.calendar=Xe,Ra.longDateFormat=Ut,Ra.invalidDate=Sr,Ra.ordinal=dn,Ra.preparse=du,Ra.postformat=du,Ra.relativeTime=yt,Ra.pastFuture=tt,Ra.set=he,Ra.eras=Cc,Ra.erasParse=Ae,Ra.erasConvertYear=et,Ra.erasAbbrRegex=Ye,Ra.erasNameRegex=mn,Ra.erasNarrowRegex=Li,Ra.months=Ti,Ra.monthsShort=Pi,Ra.monthsParse=Ui,Ra.monthsRegex=xs,Ra.monthsShortRegex=ss,Ra.week=Lt,Ra.firstDayOfYear=Qn,Ra.firstDayOfWeek=un,Ra.weekdays=on,Ra.weekdaysMin=pa,Ra.weekdaysShort=va,Ra.weekdaysParse=ta,Ra.weekdaysRegex=Co,Ra.weekdaysShortRegex=Ro,Ra.weekdaysMinRegex=Hs,Ra.isPM=jr,Ra.meridiem=ai;function tu(M,re,Ee,Be){var vt=ct(),gr=T().set(Be,re);return vt[Ee](gr,M)}function Na(M,re,Ee){if(g(M)&&(re=M,M=void 0),M=M||"",re!=null)return tu(M,re,Ee,"month");var Be,vt=[];for(Be=0;Be<12;Be++)vt[Be]=tu(M,Be,Ee,"month");return vt}function fu(M,re,Ee,Be){typeof M=="boolean"?(g(re)&&(Ee=re,re=void 0),re=re||""):(re=M,Ee=re,M=!1,g(re)&&(Ee=re,re=void 0),re=re||"");var vt=ct(),gr=M?vt._week.dow:0,Cn,es=[];if(Ee!=null)return tu(re,(Ee+gr)%7,Be,"day");for(Cn=0;Cn<7;Cn++)es[Cn]=tu(re,(Cn+gr)%7,Be,"day");return es}function fd(M,re){return Na(M,re,"months")}function hd(M,re){return Na(M,re,"monthsShort")}function dc(M,re,Ee){return fu(M,re,Ee,"weekdays")}function Ou(M,re,Ee){return fu(M,re,Ee,"weekdaysShort")}function pd(M,re,Ee){return fu(M,re,Ee,"weekdaysMin")}Ne("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(M){var re=M%10,Ee=gi(M%100/10)===1?"th":re===1?"st":re===2?"nd":re===3?"rd":"th";return M+Ee}}),r.lang=Z("moment.lang is deprecated. Use moment.locale instead.",Ne),r.langData=Z("moment.langData is deprecated. Use moment.localeData instead.",ct);var No=Math.abs;function Iu(){var M=this._data;return this._milliseconds=No(this._milliseconds),this._days=No(this._days),this._months=No(this._months),M.milliseconds=No(M.milliseconds),M.seconds=No(M.seconds),M.minutes=No(M.minutes),M.hours=No(M.hours),M.months=No(M.months),M.years=No(M.years),this}function Fu(M,re,Ee,Be){var vt=pi(re,Ee);return M._milliseconds+=Be*vt._milliseconds,M._days+=Be*vt._days,M._months+=Be*vt._months,M._bubble()}function Wu(M,re){return Fu(this,M,re,1)}function To(M,re){return Fu(this,M,re,-1)}function Oc(M){return M<0?Math.floor(M):Math.ceil(M)}function hu(){var M=this._milliseconds,re=this._days,Ee=this._months,Be=this._data,vt,gr,Cn,es,Zs;return M>=0&&re>=0&&Ee>=0||M<=0&&re<=0&&Ee<=0||(M+=Oc(ol(Ee)+re)*864e5,re=0,Ee=0),Be.milliseconds=M%1e3,vt=Mi(M/1e3),Be.seconds=vt%60,gr=Mi(vt/60),Be.minutes=gr%60,Cn=Mi(gr/60),Be.hours=Cn%24,re+=Mi(Cn/24),Zs=Mi(bl(re)),Ee+=Zs,re-=Oc(ol(Zs)),es=Mi(Ee/12),Ee%=12,Be.days=re,Be.months=Ee,Be.years=es,this}function bl(M){return M*4800/146097}function ol(M){return M*146097/4800}function pu(M){if(!this.isValid())return NaN;var re,Ee,Be=this._milliseconds;if(M=Mr(M),M==="month"||M==="quarter"||M==="year")switch(re=this._days+Be/864e5,Ee=this._months+bl(re),M){case"month":return Ee;case"quarter":return Ee/3;case"year":return Ee/12}else switch(re=this._days+Math.round(ol(this._months)),M){case"week":return re/7+Be/6048e5;case"day":return re+Be/864e5;case"hour":return re*24+Be/36e5;case"minute":return re*1440+Be/6e4;case"second":return re*86400+Be/1e3;case"millisecond":return Math.floor(re*864e5)+Be;default:throw new Error("Unknown unit "+M)}}function Sl(M){return function(){return this.as(M)}}var Ic=Sl("ms"),Fl=Sl("s"),eo=Sl("m"),xl=Sl("h"),Ld=Sl("d"),In=Sl("w"),Wc=Sl("M"),Vc=Sl("Q"),Pc=Sl("y"),Ua=Ic;function ul(){return pi(this)}function Jl(M){return M=Mr(M),this.isValid()?this[M+"s"]():NaN}function wo(M){return function(){return this.isValid()?this._data[M]:NaN}}var fc=wo("milliseconds"),Vu=wo("seconds"),Zl=wo("minutes"),Gc=wo("hours"),ba=wo("days"),El=wo("months"),ll=wo("years");function md(){return Mi(this.days()/7)}var Tl=Math.round,wl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gd(M,re,Ee,Be,vt){return vt.relativeTime(re||1,!!Ee,M,Be)}function ql(M,re,Ee,Be){var vt=pi(M).abs(),gr=Tl(vt.as("s")),Cn=Tl(vt.as("m")),es=Tl(vt.as("h")),Zs=Tl(vt.as("d")),fa=Tl(vt.as("M")),Io=Tl(vt.as("w")),ru=Tl(vt.as("y")),Ul=gr<=Ee.ss&&["s",gr]||gr<Ee.s&&["ss",gr]||Cn<=1&&["m"]||Cn<Ee.m&&["mm",Cn]||es<=1&&["h"]||es<Ee.h&&["hh",es]||Zs<=1&&["d"]||Zs<Ee.d&&["dd",Zs];
704return Ee.w!=null&&(Ul=Ul||Io<=1&&["w"]||Io<Ee.w&&["ww",Io]),Ul=Ul||fa<=1&&["M"]||fa<Ee.M&&["MM",fa]||ru<=1&&["y"]||["yy",ru],Ul[2]=re,Ul[3]=+M>0,Ul[4]=Be,gd.apply(null,Ul)}function Bl(M){return M===void 0?Tl:typeof M=="function"?(Tl=M,!0):!1}function cl(M,re){return wl[M]===void 0?!1:re===void 0?wl[M]:(wl[M]=re,M==="s"&&(wl.ss=re-1),!0)}function vd(M,re){if(!this.isValid())return this.localeData().invalidDate();var Ee=!1,Be=wl,vt,gr;return typeof M=="object"&&(re=M,M=!1),typeof M=="boolean"&&(Ee=M),typeof re=="object"&&(Be=Object.assign({},wl,re),re.s!=null&&re.ss==null&&(Be.ss=re.s-1)),vt=this.localeData(),gr=ql(this,!Ee,Be,vt),Ee&&(gr=vt.pastFuture(+this,gr)),vt.postformat(gr)}var _l=Math.abs;function dl(M){return(M>0)-(M<0)||+M}function hc(){if(!this.isValid())return this.localeData().invalidDate();var M=_l(this._milliseconds)/1e3,re=_l(this._days),Ee=_l(this._months),Be,vt,gr,Cn,es=this.asSeconds(),Zs,fa,Io,ru;return es?(Be=Mi(M/60),vt=Mi(Be/60),M%=60,Be%=60,gr=Mi(Ee/12),Ee%=12,Cn=M?M.toFixed(3).replace(/\.?0+$/,""):"",Zs=es<0?"-":"",fa=dl(this._months)!==dl(es)?"-":"",Io=dl(this._days)!==dl(es)?"-":"",ru=dl(this._milliseconds)!==dl(es)?"-":"",Zs+"P"+(gr?fa+gr+"Y":"")+(Ee?fa+Ee+"M":"")+(re?Io+re+"D":"")+(vt||Be||M?"T":"")+(vt?ru+vt+"H":"")+(Be?ru+Be+"M":"")+(M?ru+Cn+"S":"")):"P0D"}var Sa=pe.prototype;Sa.isValid=z,Sa.abs=Iu,Sa.add=Wu,Sa.subtract=To,Sa.as=pu,Sa.asMilliseconds=Ic,Sa.asSeconds=Fl,Sa.asMinutes=eo,Sa.asHours=xl,Sa.asDays=Ld,Sa.asWeeks=In,Sa.asMonths=Wc,Sa.asQuarters=Vc,Sa.asYears=Pc,Sa.valueOf=Ua,Sa._bubble=hu,Sa.clone=ul,Sa.get=Jl,Sa.milliseconds=fc,Sa.seconds=Vu,Sa.minutes=Zl,Sa.hours=Gc,Sa.days=ba,Sa.weeks=md,Sa.months=El,Sa.years=ll,Sa.humanize=vd,Sa.toISOString=hc,Sa.toString=hc,Sa.toJSON=hc,Sa.locale=yo,Sa.localeData=Vo,Sa.toIsoString=Z("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hc),Sa.lang=qa,De("X",0,0,"unix"),De("x",0,0,"valueOf"),qr("x",it),qr("X",nn),qn("X",function(M,re,Ee){Ee._d=new Date(parseFloat(M)*1e3)}),qn("x",function(M,re,Ee){Ee._d=new Date(gi(M))});//! moment.js 705return r.version="2.30.1",a(di),r.fn=Kn,r.min=qs,r.max=ns,r.now=Ba,r.utc=T,r.unix=yl,r.months=fd,r.isDate=h,r.locale=Ne,r.invalid=k,r.duration=pi,r.isMoment=V,r.weekdays=dc,r.parseZone=Ql,r.localeData=ct,r.isDuration=Ce,r.monthsShort=hd,r.weekdaysMin=pd,r.defineLocale=Ve,r.updateLocale=gt,r.locales=Kt,r.weekdaysShort=Ou,r.normalizeUnits=Mr,r.relativeTimeRounding=Bl,r.relativeTimeThreshold=cl,r.calendarFormat=$c,r.prototype=Kn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}))},15388(f,d,e){var n=e(54996).getUint64,r=function(a){var s=new DataView(a.buffer,a.byteOffset,a.byteLength),i={version:a[0],flags:new Uint8Array(a.subarray(1,4)),references:[],referenceId:s.getUint32(4),timescale:s.getUint32(8)},u=12;i.version===0?(i.earliestPresentationTime=s.getUint32(u),i.firstOffset=s.getUint32(u+4),u+=8):(i.earliestPresentationTime=n(a.subarray(u)),i.firstOffset=n(a.subarray(u+8)),u+=16),u+=2;var l=s.getUint16(u);for(u+=2;l>0;u+=12,l--)i.references.push({referenceType:(a[u]&128)>>>7,referencedSize:s.getUint32(u)&2147483647,subsegmentDuration:s.getUint32(u+4),startsWithSap:!!(a[u+8]&128),sapType:(a[u+8]&112)>>>4,sapDeltaTime:s.getUint32(u+8)&268435455});return i};f.exports=r},4672(f){var d=9e4,e,n,r,a,s,i,u;e=function(l){return l*d},n=function(l,m){return l*m},r=function(l){return l/d},a=function(l,m){return l/m},s=function(l,m){return e(a(l,m))},i=function(l,m){return n(r(l),m)},u=function(l,m,g){return r(g?l:l-m)},f.exports={ONE_SECOND_IN_TS:d,secondsToVideoTs:e,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:a,audioTsToVideoTs:s,videoTsToAudioTs:i,metadataTsToSeconds:u}},54996(f){var d=Math.pow(2,32),e=function(n){var r=new DataView(n.buffer,n.byteOffset,n.byteLength),a;return r.getBigUint64?(a=r.getBigUint64(0),a<Number.MAX_SAFE_INTEGER?Number(a):a):r.getUint32(0)*d+r.getUint32(4)};f.exports={getUint64:e,MAX_UINT32:d}},76448(f){"use strict";var d=function(n){if(typeof n!="function")throw new TypeError(n+" is not a function");return n},e=function(n){var r=document.createTextNode(""),a,s,i=0;return new n(function(){var u;if(a)s&&(a=s.concat(a));else{if(!s)return;a=s}if(s=a,a=null,typeof s=="function"){u=s,s=null,u();return}for(r.data=i=++i%2;s;)u=s.shift(),s.length||(s=null),u()}).observe(r,{characterData:!0}
vendor: 10,113 bytes, lines 705-708
705),function(u){if(d(u),a){typeof a=="function"?a=[a,u]:a.push(u);return}a=u,r.data=i=++i%2}};f.exports=(function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(d(n))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return e(MutationObserver);if(typeof WebKitMutationObserver=="function")return e(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(d(n))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(n){setTimeout(d(n),0)}:null})()},3746(f,d,e){var n=typeof Map=="function"&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&r&&typeof r.get=="function"?r.get:null,s=n&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,u=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&u&&typeof u.get=="function"?u.get:null,m=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,h=g?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,x=v?WeakSet.prototype.has:null,T=typeof WeakRef=="function"&&WeakRef.prototype,E=T?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,C=Object.prototype.toString,P=Function.prototype.toString,k=String.prototype.match,D=String.prototype.slice,B=String.prototype.replace,$=String.prototype.toUpperCase,F=String.prototype.toLowerCase,V=RegExp.prototype.test,W=Array.prototype.concat,Z=Array.prototype.join,J=Array.prototype.slice,ie=Math.floor,le=typeof BigInt=="function"?BigInt.prototype.valueOf:null,he=Object.getOwnPropertySymbols,me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,je=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===je||!0)?Symbol.toStringTag:null,Je=Object.prototype.propertyIsEnumerable,Xe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(it){return it.__proto__}:null);function ge(it,Rt){if(it===1/0||it===-1/0||it!==it||it&&it>-1e3&&it<1e3||V.call(/e/,Rt))return Rt;var Zr=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof it=="number"){var nn=it<0?-ie(-it):ie(it);if(nn!==it){var fn=String(nn),Sn=D.call(Rt,fn.length+1);return B.call(fn,Zr,"$&_")+"."+B.call(B.call(Sn,/([0-9]{3})/g,"$&_"),/_$/,"")}}return B.call(Rt,Zr,"$&_")}var be=e(38954),Ie=be.custom,Re=Gr(Ie)?Ie:null,ye={__proto__:null,double:'"',single:"'"},De={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};f.exports=function it(Rt,Zr,nn,fn){var Sn=Zr||{};if(yt(Sn,"quoteStyle")&&!yt(ye,Sn.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yt(Sn,"maxStringLength")&&(typeof Sn.maxStringLength=="number"?Sn.maxStringLength<0&&Sn.maxStringLength!==1/0:Sn.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ci=yt(Sn,"customInspect")?Sn.customInspect:!0;if(typeof Ci!="boolean"&&Ci!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yt(Sn,"indent")&&Sn.indent!==null&&Sn.indent!==" "&&!(parseInt(Sn.indent,10)===Sn.indent&&Sn.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yt(Sn,"numericSeparator")&&typeof Sn.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $i=Sn.numericSeparator;if(typeof Rt>"u")return"undefined";if(Rt===null)return"null";if(typeof Rt=="boolean")return Rt?"true":"false";if(typeof Rt=="string")return hn(Rt,Sn);if(typeof Rt=="number"){if(Rt===0)return 1/0/Rt>0?"0":"-0";var qr=String(Rt);return $i?ge(Rt,qr):qr}if(typeof Rt=="bigint"){var Bi=String(Rt)+"n";return $i?ge(Rt,Bi):Bi}var ms=typeof Sn.depth>"u"?5:Sn.depth;if(typeof nn>"u"&&(nn=0),nn>=ms&&ms>0&&typeof Rt=="object")return It(Rt)?"[Array]":"[Object]";var hs=Y(Sn,nn);if(typeof fn>"u")fn=[];else if(Mr(fn,Rt)>=0)return"[Circular]";function Mi(si,yn,rs){if(yn&&(fn=J.call(fn),fn.push(yn)),rs){var xn={depth:Sn.depth};return yt(Sn,"quoteStyle")&&(xn.quoteStyle=Sn.quoteStyle),it(si,xn,nn+1,fn)}return it(si,Sn,nn+1,fn)}if(typeof Rt=="function"&&!kt(Rt)){var gi=Ar(Rt),Hi=ur(Rt,Mi);return"[Function"+(gi?": "+gi:" (anonymous)")+"]"+(Hi.length>0?" { "+Z.call(Hi,", ")+" }":"")}if(Gr(Rt)){var qn=je?B.call(String(Rt),/^(Symbol\(.*\))_[^)]*$/,"$1"):me.call(Rt);return typeof Rt=="object"&&!je?Br(qn):qn}if(Xr(Rt)){for(var $n="<"+F.call(String(Rt.nodeName)),$s=Rt.attributes||[],ys=0;ys<$s.length;ys++)$n+=" "+$s[ys].name+"="+$e(qe($s[ys].value),"double",Sn);return $n+=">",Rt.childNodes&&Rt.childNodes.length&&($n+="..."),$n+="</"+F.call(String(Rt.nodeName))+">",$n}if(It(Rt)){if(Rt.length===0)return"[]";var Es=ur(Rt,Mi);return hs&&!Pr(Es)?"["+ht(Es,hs)+"]":"[ "+Z.call(Es,", ")+" ]"}if(Ut(Rt)){var oe=ur(Rt,Mi);return!("cause"in Error.prototype)&&"cause"in Rt&&!Je.call(Rt,"cause")?"{ ["+String(Rt)+"] "+Z.call(W.call("[cause]: "+Mi(Rt.cause),oe),", ")+" }":oe.length===0?"["+String(Rt)+"]":"{ ["+String(Rt)+"] "+Z.call(oe,", ")+" }"}if(typeof Rt=="object"&&Ci){if(Re&&typeof Rt[Re]=="function"&&be)return be(Rt,{depth:ms-nn});if(Ci!=="symbol"&&typeof Rt.inspect=="function")return Rt.inspect()}if(Er(Rt)){var xe=[];return s&&s.call(Rt,function(si,yn){xe.push(Mi(yn,Rt,!0)+" => "+Mi(si,Rt))}),Tt("Map",a.call(Rt),xe,hs)}if(An(Rt)){var Ge=[];return m&&m.call(Rt,function(si){Ge.push(Mi(si,Rt))}),Tt("Set",l.call(Rt),Ge,hs)}if(Ur(Rt))return zt("WeakMap");if(dr(Rt))return zt("WeakSet");if(or(Rt))return zt("WeakRef");if(Sr(Rt))return Br(Mi(Number(Rt)));if(dn(Rt))return Br(Mi(le.call(Rt)));if(Yr(Rt))return Br(_.call(Rt));if(Ir(Rt))return Br(Mi(String(Rt)));if(typeof window<"u"&&Rt===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Rt===globalThis||typeof globalThis<"u"&&Rt===globalThis)return"{ [object globalThis] }";if(!mt(Rt)&&!kt(Rt)){var bt=ur(Rt,Mi),Et=Xe?Xe(Rt)===Object.prototype:Rt instanceof Object||Rt.constructor===Object,Tr=Rt instanceof Object?"":"null prototype",vn=!Et&&Fe&&Object(Rt)===Rt&&Fe in Rt?D.call(tt(Rt),8,-1):Tr?"Object":"",Gt=Et||typeof Rt.constructor!="function"?"":Rt.constructor.name?Rt.constructor.name+" ":"",ei=Gt+(vn||Tr?"["+Z.call(W.call([],vn||[],Tr||[]),": ")+"] ":"");return bt.length===0?ei+"{}":hs?ei+"{"+ht(bt,hs)+"}":ei+"{ "+Z.call(bt,", ")+" }"}return String(Rt)};function $e(it,Rt,Zr){var nn=Zr.quoteStyle||Rt,fn=ye[nn];return fn+it+fn}function qe(it){return B.call(String(it),/"/g,""")}function It(it){return tt(it)==="[object Array]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function mt(it){return tt(it)==="[object Date]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function kt(it){return tt(it)==="[object RegExp]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function Ut(it){return tt(it)==="[object Error]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function Ir(it){return tt(it)==="[object String]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function Sr(it){return tt(it)==="[object Number]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function Yr(it){return tt(it)==="[object Boolean]"&&(!Fe||!(typeof it=="object"&&Fe in it))}function Gr(it){if(je)return it&&typeof it=="object"&&it instanceof Symbol;if(typeof it=="symbol")return!0;if(!it||typeof it!="object"||!me)return!1;try{return me.call(it),!0}catch{}return!1}function dn(it){if(!it||typeof it!="object"||!le)return!1;try{return le.call(it),!0}catch{}return!1}var Kr=Object.prototype.hasOwnProperty||function(it){return it in this};function yt(it,Rt){return Kr.call(it,Rt)}function tt(it){return C.call(it)}function Ar(it){if(it.name)return it.name;var Rt=k.call(P.call(it),/^function\s*([\w$]+)/);return Rt?Rt[1]:null}function Mr(it,Rt){if(it.indexOf)return it.indexOf(Rt);for(var Zr=0,nn=it.length;Zr<nn;Zr++)if(it[Zr]===Rt)return Zr;return-1}function Er(it){if(!a||!it||typeof it!="object")return!1;try{a.call(it);try{l.call(it)}catch{return!0}return it instanceof Map}catch{}return!1}function Ur(it){if(!h||!it||typeof it!="object")return!1;try{h.call(it,h);try{x.call(it,x)}catch{return!0}return it instanceof WeakMap}catch{}return!1}function or(it){if(!E||!it||typeof it!="object")return!1;try{return E.call(it),!0}catch{}return!1}function An(it){if(!l||!it||typeof it!="object")return!1;try{l.call(it);try{a.call(it)}catch{return!0}return it instanceof Set}catch{}return!1}function dr(it){if(!x||!it||typeof it!="object")return!1;try{x.call(it,x);try{h.call(it,h)}catch{return!0}return it instanceof WeakSet}catch{}return!1}function Xr(it){return!it||typeof it!="object"?!1:typeof HTMLElement<"u"&&it instanceof HTMLElement?!0:typeof it.nodeName=="string"&&typeof it.getAttribute=="function"}function hn(it,Rt){if(it.length>Rt.maxStringLength){var Zr=it.length-Rt.maxStringLength,nn="... "+Zr+" more character"+(Zr>1?"s":"");return hn(D.call(it,0,Rt.maxStringLength),Rt)+nn}var fn=De[Rt.quoteStyle||"single"];fn.lastIndex=0;var Sn=B.call(B.call(it,fn,"\\$1"),/[\x00-\x1f]/g,Qt);return $e(Sn,"single",Rt)}function Qt(it){var Rt=it.charCodeAt(0),Zr={8:"b",9:"t",10:"n",12:"f",13:"r"}[Rt];return Zr?"\\"+Zr:"\\x"+(Rt<16?"0":"")+$.call(Rt.toString(16))}function Br(it){return"Object("+it+")"}function zt(it){return it+" { ? }"}function Tt(it,Rt,Zr,nn){var fn=nn?ht(Zr,nn):Z.call(Zr,", ");return it+" ("+Rt+") {"+fn+"}"}function Pr(it){for(var Rt=0;Rt<it.length;Rt++)if(Mr(it[Rt],` 706`)>=0)return!1;return!0}function Y(it,Rt){var Zr;if(it.indent===" ")Zr=" ";else if(typeof it.indent=="number"&&it.indent>0)Zr=Z.call(Array(it.indent+1)," ");else return null;return{base:Zr,prev:Z.call(Array(Rt+1),Zr)}}function ht(it,Rt){if(it.length===0)return"";var Zr=` 707`+Rt.prev+Rt.base;return Zr+Z.call(it,","+Zr)+` 708`+Rt.prev}function ur(it,Rt){var Zr=It(it),nn=[];if(Zr){nn.length=it.length;for(var fn=0;fn<it.length;fn++)nn[fn]=yt(it,fn)?Rt(it[fn],it):""}var Sn=typeof he=="function"?he(it):[],Ci;if(je){Ci={};for(var $i=0;$i<Sn.length;
708$i++)Ci["$"+Sn[$i]]=Sn[$i]}for(var qr in it)yt(it,qr)&&(Zr&&String(Number(qr))===qr&&qr<it.length||je&&Ci["$"+qr]instanceof Symbol||(V.call(/[^\w$]/,qr)?nn.push(Rt(qr,it)+": "+Rt(it[qr],it)):nn.push(qr+": "+Rt(it[qr],it))));if(typeof he=="function")for(var Bi=0;Bi<Sn.length;Bi++)Je.call(it,Sn[Bi])&&nn.push("["+Rt(Sn[Bi])+"]: "+Rt(it[Sn[Bi]],it));return nn}},36285(f,d,e){var n;/*! Player.js - v0.1.0 - 2017-10-24 709* http://github.com/embedly/player.js 710* Copyright (c) 2017 Embedly; Licensed BSD */(function(r,a){var s={};s.DEBUG=!1,s.VERSION="0.0.11",s.CONTEXT="player.js",s.POST_MESSAGE=!!r.postMessage,s.origin=function(g){return g.substr(0,2)==="//"&&(g=r.location.protocol+g),g.split("/").slice(0,3).join("/")},s.addEvent=function(g,h,v){g&&(g.addEventListener?g.addEventListener(h,v,!1):g.attachEvent?g.attachEvent("on"+h,v):g["on"+h]=v)},s.log=function(){s.log.history=s.log.history||[],s.log.history.push(arguments),r.console&&s.DEBUG&&r.console.log(Array.prototype.slice.call(arguments))},s.isString=function(g){return Object.prototype.toString.call(g)==="[object String]"},s.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"},s.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"},s.isNone=function(g){return g==null},s.has=function(g,h){return Object.prototype.hasOwnProperty.call(g,h)},s.indexOf=function(g,h){if(g==null)return-1;var v=0,x=g.length;if(Array.prototype.IndexOf&&g.indexOf===Array.prototype.IndexOf)return g.indexOf(h);for(;v<x;v++)if(g[v]===h)return v;return-1},s.assert=function(g,h){if(!g)throw h||"Player.js Assert Failed"},s.Keeper=function(){this.init()},s.Keeper.prototype.init=function(){this.data={}},s.Keeper.prototype.getUUID=function(){return"listener-xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(g){var h=Math.random()*16|0,v=g==="x"?h:h&3|8;return v.toString(16)})},s.Keeper.prototype.has=function(g,h){if(!this.data.hasOwnProperty(g))return!1;if(s.isNone(h))return!0;for(var v=this.data[g],x=0;x<v.length;x++)if(v[x].id===h)return!0;return!1},s.Keeper.prototype.add=function(g,h,v,x,T){var E={id:g,event:h,cb:v,ctx:x,one:T};this.has(h)?this.data[h].push(E):this.data[h]=[E]},s.Keeper.prototype.execute=function(g,h,v,x){if(!this.has(g,h))return!1;for(var T=[],E=[],_=0;_<this.data[g].length;_++){var C=this.data[g][_];s.isNone(h)||!s.isNone(h)&&C.id===h?(E.push({cb:C.cb,ctx:C.ctx?C.ctx:x,data:v}),C.one===!1&&T.push(C)):T.push(C)}T.length===0?delete this.data[g]:this.data[g]=T;for(var P=0;P<E.length;P++){var k=E[P];k.cb.call(k.ctx,k.data)}},s.Keeper.prototype.on=function(g,h,v,x){this.add(g,h,v,x,!1)},s.Keeper.prototype.one=function(g,h,v,x){this.add(g,h,v,x,!0)},s.Keeper.prototype.off=function(g,h){var v=[];if(!this.data.hasOwnProperty(g))return v;for(var x=[],T=0;T<this.data[g].length;T++){var E=this.data[g][T];!s.isNone(h)&&E.cb!==h?x.push(E):s.isNone(E.id)||v.push(E.id)}return x.length===0?delete this.data[g]:this.data[g]=x,v},s.Player=function(g,h){if(!(this instanceof s.Player))return new s.Player(g,h);this.init(g,h)},s.EVENTS={READY:"ready",PLAY:"play",PAUSE:"pause",ENDED:"ended",TIMEUPDATE:"timeupdate",PROGRESS:"progress",ERROR:"error"},s.EVENTS.all=function(){var g=[];for(var h in s.EVENTS)s.has(s.EVENTS,h)&&s.isString(s.EVENTS[h])&&g.push(s.EVENTS[h]);return g},s.METHODS={PLAY:"play",PAUSE:"pause",GETPAUSED:"getPaused",MUTE:"mute",UNMUTE:"unmute",GETMUTED:"getMuted",SETVOLUME:"setVolume",GETVOLUME:"getVolume",GETDURATION:"getDuration",SETCURRENTTIME:"setCurrentTime",GETCURRENTTIME:"getCurrentTime",SETLOOP:"setLoop",GETLOOP:"getLoop",REMOVEEVENTLISTENER:"removeEventListener",ADDEVENTLISTENER:"addEventListener"},s.METHODS.all=function(){var g=[];for(var h in s.METHODS)s.has(s.METHODS,h)&&s.isString(s.METHODS[h])&&g.push(s.METHODS[h]);return g},s.READIED=[],s.Player.prototype.init=function(g,h){var v=this;s.isString(g)&&(g=a.getElementById(g)),this.elem=g,s.assert(g.nodeName==="IFRAME",'playerjs.Player constructor requires an Iframe, got "'+g.nodeName+'"'),s.assert(g.src,"playerjs.Player constructor requires a Iframe with a 'src' attribute."),this.origin=s.origin(g.src),this.keeper=new s.Keeper,this.isReady=!1,this.queue=[],this.events=s.EVENTS.all(),this.methods=s.METHODS.all(),s.POST_MESSAGE?s.addEvent(r,"message",function(x){v.receive(x)}):s.log("Post Message is not Available."),s.indexOf(s.READIED,g.src)>-1?v.loaded=!0:this.elem.onload=function(){v.loaded=!0}},s.Player.prototype.send=function(g,h,v){if(g.context=s.CONTEXT,g.version=s.VERSION,h){var x=this.keeper.getUUID();g.listener=x,this.keeper.one(x,g.method,h,v)}return!this.isReady&&g.value!=="ready"?(s.log("Player.queue",g),this.queue.push(g),!1):(s.log("Player.send",g,this.origin),this.loaded===!0&&this.elem.contentWindow.postMessage(JSON.stringify(g),this.origin),!0)},s.Player.prototype.receive=function(g){if(s.log("Player.receive",g),g.origin!==this.origin)return!1;var h;try{h=JSON.parse(g.data)}catch{return!1}
710if(h.context!==s.CONTEXT)return!1;h.event==="ready"&&h.value&&h.value.src===this.elem.src&&this.ready(h),this.keeper.has(h.event,h.listener)&&this.keeper.execute(h.event,h.listener,h.value,this)},s.Player.prototype.ready=function(g){if(this.isReady===!0)return!1;g.value.events&&(this.events=g.value.events),g.value.methods&&(this.methods=g.value.methods),this.isReady=!0,this.loaded=!0;for(var h=0;h<this.queue.length;h++){var v=this.queue[h];s.log("Player.dequeue",v),g.event==="ready"&&this.keeper.execute(v.event,v.listener,!0,this),this.send(v)}this.queue=[]},s.Player.prototype.on=function(g,h,v){var x=this.keeper.getUUID();return g==="ready"?this.keeper.one(x,g,h,v):this.keeper.on(x,g,h,v),this.send({method:"addEventListener",value:g,listener:x}),!0},s.Player.prototype.off=function(g,h){var v=this.keeper.off(g,h);if(s.log("Player.off",v),v.length>0)for(var x in v)return this.send({method:"removeEventListener",value:g,listener:v[x]}),!0;return!1},s.Player.prototype.supports=function(g,h){s.assert(s.indexOf(["method","event"],g)>-1,'evtOrMethod needs to be either "event" or "method" got '+g),h=s.isArray(h)?h:[h];for(var v=g==="event"?this.events:this.methods,x=0;x<h.length;x++)if(s.indexOf(v,h[x])===-1)return!1;return!0};function i(g){return function(){var h={method:g},v=Array.prototype.slice.call(arguments);/^get/.test(g)?(s.assert(v.length>0,"Get methods require a callback."),v.unshift(h)):(/^set/.test(g)&&(s.assert(v.length!==0,"Set methods require a value."),h.value=v[0]),v=[h]),this.send.apply(this,v)}}for(var u=0,l=s.METHODS.all().length;u<l;u++){var m=s.METHODS.all()[u];s.Player.prototype.hasOwnProperty(m)||(s.Player.prototype[m]=i(m))}s.addEvent(r,"message",function(g){var h;try{h=JSON.parse(g.data)}catch{return!1}if(h.context!==s.CONTEXT)return!1;h.event==="ready"&&h.value&&h.value.src&&s.READIED.push(h.value.src)}),s.Receiver=function(g,h){this.init(g,h)},s.Receiver.prototype.init=function(g,h){var v=this;this.isReady=!1,this.origin=s.origin(a.referrer),this.methods={},this.supported={events:g||s.EVENTS.all(),methods:h||s.METHODS.all()},this.eventListeners={},this.reject=!(r.self!==r.top&&s.POST_MESSAGE),this.reject||s.addEvent(r,"message",function(x){v.receive(x)})},s.Receiver.prototype.receive=function(g){if(g.origin!==this.origin)return!1;var h={};if(s.isObject(g.data))h=g.data;else try{h=r.JSON.parse(g.data)}catch(T){s.log("JSON Parse Error",T)}if(s.log("Receiver.receive",g,h),!h.method||h.context!==s.CONTEXT)return!1;if(s.indexOf(s.METHODS.all(),h.method)===-1)return this.emit("error",{code:2,msg:'Invalid Method "'+h.method+'"'}),!1;var v=s.isNone(h.listener)?null:h.listener;if(h.method==="addEventListener")this.eventListeners.hasOwnProperty(h.value)?s.indexOf(this.eventListeners[h.value],v)===-1&&this.eventListeners[h.value].push(v):this.eventListeners[h.value]=[v],h.value==="ready"&&this.isReady&&this.ready();else if(h.method==="removeEventListener"){if(this.eventListeners.hasOwnProperty(h.value)){var x=s.indexOf(this.eventListeners[h.value],v);x>-1&&this.eventListeners[h.value].splice(x,1),this.eventListeners[h.value].length===0&&delete this.eventListeners[h.value]}}else this.get(h.method,h.value,v)},s.Receiver.prototype.get=function(g,h,v){var x=this;if(!this.methods.hasOwnProperty(g))return this.emit("error",{code:3,msg:'Method Not Supported"'+g+'"'}),!1;var T=this.methods[g];if(g.substr(0,3)==="get"){var E=function(_){x.send(g,_,v)};T.call(this,E)}else T.call(this,h)},s.Receiver.prototype.on=function(g,h){this.methods[g]=h},s.Receiver.prototype.send=function(g,h,v){if(s.log("Receiver.send",g,h,v),this.reject)return s.log("Receiver.send.reject",g,h,v),!1;var x={context:s.CONTEXT,version:s.VERSION,event:g};s.isNone(h)||(x.value=h),s.isNone(v)||(x.listener=v);var T=JSON.stringify(x);r.parent.postMessage(T,this.origin===""?"*":this.origin)},s.Receiver.prototype.emit=function(g,h){if(!this.eventListeners.hasOwnProperty(g))return!1;s.log("Instance.emit",g,h,this.eventListeners[g]);for(var v=0;v<this.eventListeners[g].length;v++){var x=this.eventListeners[g][v];this.send(g,h,x)}return!0},s.Receiver.prototype.ready=function(){s.log("Receiver.ready"),this.isReady=!0;var g={src:r.location.toString(),events:this.supported.events,methods:this.supported.methods};
710this.emit("ready",g)||this.send("ready",g)},s.HTML5Adapter=function(g){if(!(this instanceof s.HTML5Adapter))return new s.HTML5Adapter(g);this.init(g)},s.HTML5Adapter.prototype.init=function(g){s.assert(g,"playerjs.HTML5Adapter requires a video element");var h=this.receiver=new s.Receiver;g.addEventListener("playing",function(){h.emit("play")}),g.addEventListener("pause",function(){h.emit("pause")}),g.addEventListener("ended",function(){h.emit("ended")}),g.addEventListener("timeupdate",function(){h.emit("timeupdate",{seconds:g.currentTime,duration:g.duration})}),g.addEventListener("progress",function(){h.emit("buffered",{percent:g.buffered.length})}),h.on("play",function(){g.play()}),h.on("pause",function(){g.pause()}),h.on("getPaused",function(v){v(g.paused)}),h.on("getCurrentTime",function(v){v(g.currentTime)}),h.on("setCurrentTime",function(v){g.currentTime=v}),h.on("getDuration",function(v){v(g.duration)}),h.on("getVolume",function(v){v(g.volume*100)}),h.on("setVolume",function(v){g.volume=v/100}),h.on("mute",function(){g.muted=!0}),h.on("unmute",function(){g.muted=!1}),h.on("getMuted",function(v){v(g.muted)}),h.on("getLoop",function(v){v(g.loop)}),h.on("setLoop",function(v){g.loop=v})},s.HTML5Adapter.prototype.ready=function(){this.receiver.ready()},s.JWPlayerAdapter=function(g){if(!(this instanceof s.JWPlayerAdapter))return new s.JWPlayerAdapter(g);this.init(g)},s.JWPlayerAdapter.prototype.init=function(g){s.assert(g,"playerjs.JWPlayerAdapter requires a player object");var h=this.receiver=new s.Receiver;this.looped=!1,g.on("pause",function(){h.emit("pause")}),g.on("play",function(){h.emit("play")}),g.on("time",function(x){var T=x.position,E=x.duration;if(!T||!E)return!1;var _={seconds:T,duration:E};h.emit("timeupdate",_)});var v=this;g.on("complete",function(){v.looped===!0?g.seek(0):h.emit("ended")}),g.on("error",function(){h.emit("error")}),h.on("play",function(){g.play(!0)}),h.on("pause",function(){g.pause(!0)}),h.on("getPaused",function(x){x(g.getState().toLowerCase()!=="PLAYING".toLowerCase())}),h.on("getCurrentTime",function(x){x(g.getPosition())}),h.on("setCurrentTime",function(x){g.seek(x)}),h.on("getDuration",function(x){x(g.getDuration())}),h.on("getVolume",function(x){x(g.getVolume())}),h.on("setVolume",function(x){g.setVolume(x)}),h.on("mute",function(){g.setMute(!0)}),h.on("unmute",function(){g.setMute(!1)}),h.on("getMuted",function(x){x(g.getMute()===!0)}),h.on("getLoop",function(x){x(this.looped)},this),h.on("setLoop",function(x){this.looped=x},this)},s.JWPlayerAdapter.prototype.ready=function(){this.receiver.ready()},s.MockAdapter=function(){if(!(this instanceof s.MockAdapter))return new s.MockAdapter;this.init()},s.MockAdapter.prototype.init=function(){var g={duration:20,currentTime:0,interval:null,timeupdate:function(){},volume:100,mute:!1,playing:!1,loop:!1,play:function(){g.interval=setInterval(function(){g.currentTime+=.25,g.timeupdate({seconds:g.currentTime,duration:g.duration})},250),g.playing=!0},pause:function(){clearInterval(g.interval),g.playing=!1}},h=this.receiver=new s.Receiver;h.on("play",function(){var v=this;g.play(),this.emit("play"),g.timeupdate=function(x){v.emit("timeupdate",x)}}),h.on("pause",function(){g.pause(),this.emit("pause")}),h.on("getPaused",function(v){v(!g.playing)}),h.on("getCurrentTime",function(v){v(g.currentTime)}),h.on("setCurrentTime",function(v){g.currentTime=v}),h.on("getDuration",function(v){v(g.duration)}),h.on("getVolume",function(v){v(g.volume)}),h.on("setVolume",function(v){g.volume=v}),h.on("mute",function(){g.mute=!0}),h.on("unmute",function(){g.mute=!1}),h.on("getMuted",function(v){v(g.mute)}),h.on("getLoop",function(v){v(g.loop)}),h.on("setLoop",function(v){g.loop=v})},s.MockAdapter.prototype.ready=function(){this.receiver.ready()},s.VideoJSAdapter=function(g){if(!(this instanceof s.VideoJSAdapter))return new s.VideoJSAdapter(g);this.init(g)},s.VideoJSAdapter.prototype.init=function(g){s.assert(g,"playerjs.VideoJSReceiver requires a player object");var h=this.receiver=new s.Receiver;g.on("pause",function(){h.emit("pause")}),g.on("play",function(){h.emit("play")}),g.on("timeupdate",function(v){var x=g.currentTime(),T=g.duration();if(!x||!T)return!1;var E={seconds:x,duration:T};h.emit("timeupdate",E)}),g.on("ended",function(){h.emit("ended")}),g.on("error",function(){h.emit("error")}),h.on("play",function(){g.play()}),h.on("pause",function(){g.pause()}),h.on("getPaused",function(v){v(g.paused())}),h.on("getCurrentTime",function(v){v(g.currentTime())}),h.on("setCurrentTime",function(v){g.currentTime(v)}),h.on("getDuration",function(v){v(g.duration())}),h.on("getVolume",function(v){v(g.volume()*100)}),h.on("setVolume",function(v){g.volume(v/100)}),h.on("mute",function(){g.volume(0)}),h.on("unmute",function(){g.volume(1)}),h.on("getMuted",function(v){v(g.volume()===0)}),h.on("getLoop",function(v){v(g.loop())}),h.on("setLoop",function(v){g.loop(v)})},s.VideoJSAdapter.prototype.ready=function(){this.receiver.ready()},n=(function(){return s}).call(d,e,d,f),n!==void 0&&(f.exports=n)})(window,document)},27517(f,d,e){"use strict";var n=e(34862);function r(){}function a(){}a.resetWarningCache=r,f.exports=function(){function s(l,m,g,h,v,x){if(x!==n){var T=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw T.name="Invariant Violation",T}}s.isRequired=s;function i(){return s}var u={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:i,element:s,elementType:s,instanceOf:i,node:s,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:a,resetWarningCache:r};return u.PropTypes=u,u}},98929(f,d,e){if(0)var n,r;else f.exports=e(27517)()},34862(f){"use strict";var d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";f.exports=d},53776(f){"use strict";var d=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};f.exports={default:n.RFC3986,formatters:{RFC1738:function(r){return d.call(r,e,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},83824(f,d,e){"use strict";var n=e(33597),r=e(39571),a=e(53776);f.exports={formats:a,parse:r,stringify:n}},39571(f,d,e){"use strict";var n=e(20937),r=Object.prototype.hasOwnProperty,a=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},i=function(T){return T.replace(/&#(\d+);/g,function(E,_){return String.fromCharCode(parseInt(_,10))})},u=function(T,E){return T&&typeof T=="string"&&E.comma&&T.indexOf(",")>-1?T.split(","):T},l="utf8=%26%2310003%3B",m="utf8=%E2%9C%93",g=function(E,_){var C={__proto__:null},P=_.ignoreQueryPrefix?E.replace(/^\?/,""):E;P=P.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var k=_.parameterLimit===1/0?void 0:_.parameterLimit,D=P.split(_.delimiter,k),B=-1,$,F=_.charset;if(_.charsetSentinel)for($=0;$<D.length;++$)D[$].indexOf("utf8=")===0&&(D[$]===m?F="utf-8":D[$]===l&&(F="iso-8859-1"),B=$,$=D.length);for($=0;$<D.length;++$)if($!==B){var V=D[$],W=V.indexOf("]="),Z=W===-1?V.indexOf("="):W+1,J,ie;Z===-1?(J=_.decoder(V,s.decoder,F,"key"),ie=_.strictNullHandling?null:""):(J=_.decoder(V.slice(0,Z),s.decoder,F,"key"),ie=n.maybeMap(u(V.slice(Z+1),_),function(he){return _.decoder(he,s.decoder,F,"value")})),ie&&_.interpretNumericEntities&&F==="iso-8859-1"&&(ie=i(ie)),V.indexOf("[]=")>-1&&(ie=a(ie)?[ie]:ie);var le=r.call(C,J);le&&_.duplicates==="combine"?C[J]=n.combine(C[J],ie):(!le||_.duplicates==="last")&&(C[J]=ie)}return C},h=function(T,E,_,C){for(var P=C?E:u(E,_),k=T.length-1;k>=0;--k){var D,B=T[k];if(B==="[]"&&_.parseArrays)D=_.allowEmptyArrays&&(P===""||_.strictNullHandling&&P===null)?[]:[].concat(P);else{D=_.plainObjects?Object.create(null):{};var $=B.charAt(0)==="["&&B.charAt(B.length-1)==="]"?B.slice(1,-1):B,F=_.decodeDotInKeys?$.replace(/%2E/g,"."):$,V=parseInt(F,10);!_.parseArrays&&F===""?D={0:P}:!isNaN(V)&&B!==F&&String(V)===F&&V>=0&&_.parseArrays&&V<=_.arrayLimit?(D=[],D[V]=P):F!=="__proto__"&&(D[F]=P)}P=D}return P},v=function(E,_,C,P){if(E){var k=C.allowDots?E.replace(/\.([^.[]+)/g,"[$1]"):E,D=/(\[[^[\]]*])/,B=/(\[[^[\]]*])/g,$=C.depth>0&&D.exec(k),F=$?k.slice(0,$.index):k,V=[];if(F){if(!C.plainObjects&&r.call(Object.prototype,F)&&!C.allowPrototypes)return;V.push(F)}for(var W=0;C.depth>
vendor: 12,261 bytes, line 710
7100&&($=B.exec(k))!==null&&W<C.depth;){if(W+=1,!C.plainObjects&&r.call(Object.prototype,$[1].slice(1,-1))&&!C.allowPrototypes)return;V.push($[1])}if($){if(C.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+C.depth+" and strictDepth is true");V.push("["+k.slice($.index)+"]")}return h(V,_,C,P)}},x=function(E){if(!E)return s;if(typeof E.allowEmptyArrays<"u"&&typeof E.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof E.decodeDotInKeys<"u"&&typeof E.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(E.decoder!==null&&typeof E.decoder<"u"&&typeof E.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof E.charset<"u"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=typeof E.charset>"u"?s.charset:E.charset,C=typeof E.duplicates>"u"?s.duplicates:E.duplicates;if(C!=="combine"&&C!=="first"&&C!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var P=typeof E.allowDots>"u"?E.decodeDotInKeys===!0?!0:s.allowDots:!!E.allowDots;return{allowDots:P,allowEmptyArrays:typeof E.allowEmptyArrays=="boolean"?!!E.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:typeof E.allowPrototypes=="boolean"?E.allowPrototypes:s.allowPrototypes,allowSparse:typeof E.allowSparse=="boolean"?E.allowSparse:s.allowSparse,arrayLimit:typeof E.arrayLimit=="number"?E.arrayLimit:s.arrayLimit,charset:_,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:s.charsetSentinel,comma:typeof E.comma=="boolean"?E.comma:s.comma,decodeDotInKeys:typeof E.decodeDotInKeys=="boolean"?E.decodeDotInKeys:s.decodeDotInKeys,decoder:typeof E.decoder=="function"?E.decoder:s.decoder,delimiter:typeof E.delimiter=="string"||n.isRegExp(E.delimiter)?E.delimiter:s.delimiter,depth:typeof E.depth=="number"||E.depth===!1?+E.depth:s.depth,duplicates:C,ignoreQueryPrefix:E.ignoreQueryPrefix===!0,interpretNumericEntities:typeof E.interpretNumericEntities=="boolean"?E.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof E.parameterLimit=="number"?E.parameterLimit:s.parameterLimit,parseArrays:E.parseArrays!==!1,plainObjects:typeof E.plainObjects=="boolean"?E.plainObjects:s.plainObjects,strictDepth:typeof E.strictDepth=="boolean"?!!E.strictDepth:s.strictDepth,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:s.strictNullHandling}};f.exports=function(T,E){var _=x(E);if(T===""||T===null||typeof T>"u")return _.plainObjects?Object.create(null):{};for(var C=typeof T=="string"?g(T,_):T,P=_.plainObjects?Object.create(null):{},k=Object.keys(C),D=0;D<k.length;++D){var B=k[D],$=v(B,C[B],_,typeof T=="string");P=n.merge(P,$,_)}return _.allowSparse===!0?P:n.compact(P)}},33597(f,d,e){"use strict";var n=e(98362),r=e(20937),a=e(53776),s=Object.prototype.hasOwnProperty,i={brackets:function(P){return P+"[]"},comma:"comma",indices:function(P,k){return P+"["+k+"]"},repeat:function(P){return P}},u=Array.isArray,l=Array.prototype.push,m=function(C,P){l.apply(C,u(P)?P:[P])},g=Date.prototype.toISOString,h=a.default,v={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,format:h,formatter:a.formatters[h],indices:!1,serializeDate:function(P){return g.call(P)},skipNulls:!1,strictNullHandling:!1},x=function(P){return typeof P=="string"||typeof P=="number"||typeof P=="boolean"||typeof P=="symbol"||typeof P=="bigint"},T={},E=function C(P,k,D,B,$,F,V,W,Z,J,ie,le,he,me,je,Fe,Je,Xe){for(var ge=P,be=Xe,Ie=0,Re=!1;(be=be.get(T))!==void 0&&!Re;){var ye=be.get(P);if(Ie+=1,typeof ye<"u"){if(ye===Ie)throw new RangeError("Cyclic object value");Re=!0}typeof be.get(T)>"u"&&(Ie=0)}if(typeof J=="function"?ge=J(k,ge):ge instanceof Date?ge=he(ge):D==="comma"&&u(ge)&&(ge=r.maybeMap(ge,function(Kr){return Kr instanceof Date?he(Kr):Kr})),ge===null){if(F)return Z&&!Fe?Z(k,v.encoder,Je,"key",me):k;ge=""}if(x(ge)||r.isBuffer(ge)){if(Z){var De=Fe?k:Z(k,v.encoder,Je,"key",me);return[je(De)+"="+je(Z(ge,v.encoder,Je,"value",me))]}return[je(k)+"="+je(String(ge))]}var $e=[];if(typeof ge>"u")return $e;var qe;if(D==="comma"&&u(ge))Fe&&Z&&(ge=r.maybeMap(ge,Z)),qe=[{value:ge.length>0?ge.join(",")||null:void 0}];else if(u(J))qe=J;else{var It=Object.keys(ge);qe=ie?It.sort(ie):It}var mt=W?k.replace(/\./g,"%2E"):k,kt=B&&u(ge)&&ge.length===1?mt+"[]":mt;if($&&u(ge)&&ge.length===0)return kt+"[]";for(var Ut=0;Ut<qe.length;++Ut){var Ir=qe[Ut],Sr=typeof Ir=="object"&&typeof Ir.value<"u"?Ir.value:ge[Ir];if(!(V&&Sr===null)){var Yr=le&&W?Ir.replace(/\./g,"%2E"):Ir,Gr=u(ge)?typeof D=="function"?D(kt,Yr):kt:kt+(le?"."+Yr:"["+Yr+"]");Xe.set(P,Ie);var dn=n();dn.set(T,Xe),m($e,C(Sr,Gr,D,B,$,F,V,W,D==="comma"&&Fe&&u(ge)?null:Z,J,ie,le,he,me,je,Fe,Je,dn))}}return $e},_=function(P){if(!P)return v;if(typeof P.allowEmptyArrays<"u"&&typeof P.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof P.encodeDotInKeys<"u"&&typeof P.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(P.encoder!==null&&typeof P.encoder<"u"&&typeof P.encoder!="function")throw new TypeError("Encoder has to be a function.");var k=P.charset||v.charset;if(typeof P.charset<"u"&&P.charset!=="utf-8"&&P.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var D=a.default;if(typeof P.format<"u"){if(!s.call(a.formatters,P.format))throw new TypeError("Unknown format option provided.");D=P.format}var B=a.formatters[D],$=v.filter;(typeof P.filter=="function"||u(P.filter))&&($=P.filter);var F;if(P.arrayFormat in i?F=P.arrayFormat:"indices"in P?F=P.indices?"indices":"repeat":F=v.arrayFormat,"commaRoundTrip"in P&&typeof P.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var V=typeof P.allowDots>"u"?P.encodeDotInKeys===!0?!0:v.allowDots:!!P.allowDots;return{addQueryPrefix:typeof P.addQueryPrefix=="boolean"?P.addQueryPrefix:v.addQueryPrefix,allowDots:V,allowEmptyArrays:typeof P.allowEmptyArrays=="boolean"?!!P.allowEmptyArrays:v.allowEmptyArrays,arrayFormat:F,charset:k,charsetSentinel:typeof P.charsetSentinel=="boolean"?P.charsetSentinel:v.charsetSentinel,commaRoundTrip:P.commaRoundTrip,delimiter:typeof P.delimiter>"u"?v.delimiter:P.delimiter,encode:typeof P.encode=="boolean"?P.encode:v.encode,encodeDotInKeys:typeof P.encodeDotInKeys=="boolean"?P.encodeDotInKeys:v.encodeDotInKeys,encoder:typeof P.encoder=="function"?P.encoder:v.encoder,encodeValuesOnly:typeof P.encodeValuesOnly=="boolean"?P.encodeValuesOnly:v.encodeValuesOnly,filter:$,format:D,formatter:B,serializeDate:typeof P.serializeDate=="function"?P.serializeDate:v.serializeDate,skipNulls:typeof P.skipNulls=="boolean"?P.skipNulls:v.skipNulls,sort:typeof P.sort=="function"?P.sort:null,strictNullHandling:typeof P.strictNullHandling=="boolean"?P.strictNullHandling:v.strictNullHandling}};f.exports=function(C,P){var k=C,D=_(P),B,$;typeof D.filter=="function"?($=D.filter,k=$("",k)):u(D.filter)&&($=D.filter,B=$);var F=[];if(typeof k!="object"||k===null)return"";var V=i[D.arrayFormat],W=V==="comma"&&D.commaRoundTrip;B||(B=Object.keys(k)),D.sort&&B.sort(D.sort);for(var Z=n(),J=0;J<B.length;++J){var ie=B[J];D.skipNulls&&k[ie]===null||m(F,E(k[ie],ie,V,W,D.allowEmptyArrays,D.strictNullHandling,D.skipNulls,D.encodeDotInKeys,D.encode?D.encoder:null,D.filter,D.sort,D.allowDots,D.serializeDate,D.format,D.formatter,D.encodeValuesOnly,D.charset,Z))}var le=F.join(D.delimiter),he=D.addQueryPrefix===!0?"?":"";return D.charsetSentinel&&(D.charset==="iso-8859-1"?he+="utf8=%26%2310003%3B&":he+="utf8=%E2%9C%93&"),le.length>0?he+le:""}},20937(f,d,e){"use strict";var n=e(53776),r=Object.prototype.hasOwnProperty,a=Array.isArray,s=(function(){for(var P=[],k=0;k<256;++k)P.push("%"+((k<16?"0":"")+k.toString(16)).toUpperCase());return P})(),i=function(k){for(;k.length>1;){var D=k.pop(),B=D.obj[D.prop];if(a(B)){for(var $=[],F=0;F<B.length;++F)typeof B[F]<"u"&&$.push(B[F]);D.obj[D.prop]=$}}},u=function(k,D){for(var B=D&&D.plainObjects?Object.create(null):{},$=0;$<k.length;++$)typeof k[$]<"u"&&(B[$]=k[$]);return B},l=function P(k,D,B){if(!D)return k;if(typeof D!="object"){if(a(k))k.push(D);else if(k&&typeof k=="object")(B&&(B.plainObjects||B.allowPrototypes)||!r.call(Object.prototype,D))&&(k[D]=!0);else return[k,D];return k}if(!k||typeof k!="object")return[k].concat(D);var $=k;return a(k)&&!a(D)&&($=u(k,B)),a(k)&&a(D)?(D.forEach(function(F,V){if(r.call(k,V)){var W=k[V];W&&typeof W=="object"&&F&&typeof F=="object"?k[V]=P(W,F,B):k.push(F)}else k[V]=F}),k):Object.keys(D).reduce(function(F,V){var W=D[V];return r.call(F,V)?F[V]=P(F[V],W,B):F[V]=W,F},$)},m=function(k,D){return Object.keys(D).reduce(function(B,$){return B[$]=D[$],B},k)},g=function(P,k,D){var B=P.replace(/\+/g," ");if(D==="iso-8859-1")return B.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(B)}catch{return B}},h=1024,v=function(k,D,B,$,F){if(k.length===0)return k;var V=k;if(typeof k=="symbol"?V=Symbol.prototype.toString.call(k):typeof k!="string"&&(V=String(k)),B==="iso-8859-1")return escape(V).replace(/%u[0-9a-f]{4}/gi,function(me){return"%26%23"+parseInt(me.slice(2),16)+"%3B"});for(var W="",Z=0;Z<V.length;Z+=h){for(var J=V.length>=h?V.slice(Z,Z+h):V,ie=[],le=0;le<J.length;++le){var he=J.charCodeAt(le);if(he===45||he===46||he===95||he===126||he>=48&&he<=57||he>=65&&he<=90||he>=97&&he<=122||F===n.RFC1738&&(he===40||he===41)){ie[ie.length]=J.charAt(le);continue}if(he<128){ie[ie.length]=s[he];continue}if(he<2048){ie[ie.length]=s[192|he>>6]+s[128|he&63];continue}if(he<55296||he>=57344){ie[ie.length]=s[224|he>>12]+s[128|he>>6&63]+s[128|he&63];continue}le+=1,he=65536+((he&1023)<<10|J.charCodeAt(le)&1023),ie[ie.length]=s[240|he>>18]+s[128|he>>12&63]+s[128|he>>6&63]+s[128|he&63]}W+=ie.join("")}return W},x=function(k){for(var D=[{obj:{o:k},prop:"o"}],B=[],$=0;$<D.length;++$)for(var F=D[$],V=F.obj[F.prop],W=Object.keys(V),Z=0;Z<W.length;++Z){var J=W[Z],ie=V[J];typeof ie=="object"&&ie!==null&&B.indexOf(ie)===-1&&(D.push({obj:V,prop:J}),B.push(ie))}return i(D),k},T=function(k){return Object.prototype.toString.call(k)==="[object RegExp]"},E=function(k){return!k||typeof k!="object"?!1:!!(k.constructor&&k.constructor.isBuffer&&k.constructor.isBuffer(k))},_=function(k,D){return[].concat(k,D)},C=function(k,D){if(a(k)){for(var B=[],$=0;$<k.length;$+=1)B.push(D(k[$]));return B}return D(k)};f.exports={arrayToObject:u,assign:m,combine:_,compact:x,decode:g,encode:v,isBuffer:E,isRegExp:T,maybeMap:C,merge:l}},56993(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(98829),r=e.n(n),a=(0,n.complement)(n.isNil);const s=a},8191(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(98829),r=(0,n.equals)(null);const a=r;var s=(0,n.complement)(a);const i=s},98829(f,d,e){f.exports={F:e(5638),T:e(75884),__:e(8124),add:e(47951),addIndex:e(33907),adjust:e(16733),all:e(13887),allPass:e(11346),always:e(4239),and:e(22613),any:e(44002),anyPass:e(42896),ap:e(35359),aperture:e(86278),append:e(21166),apply:e(36484),applySpec:e(70823),ascend:e(23016),assoc:e(9711),assocPath:e(68316),binary:e(93271),bind:e(8893),both:e(16713),call:e(24582),chain:e(38245),clamp:e(5367),clone:e(23273),comparator:e(70038),complement:e(19282),compose:e(53452),composeK:e(87195),composeP:e(17094),concat:e(67970),cond:e(24578),construct:e(93225),constructN:e(27311),contains:e(68971),converge:e(97367),countBy:e(1886),curry:e(11007),curryN:e(74237),dec:e(80252),defaultTo:e(20108),descend:e(26858),difference:e(1705),differenceWith:e(66717),dissoc:e(38413),dissocPath:e(91114),divide:e(73251),drop:e(8935),dropLast:e(34567),dropLastWhile:e(44686),dropRepeats:e(53795),dropRepeatsWith:e(59323),dropWhile:e(4238),either:e(98623),empty:e(34733),endsWith:e(29644),eqBy:e(82269),eqProps:e(35592),equals:e(9967),evolve:e(80163),filter:e(31544),find:e(35905),findIndex:e(37853),findLast:e(4797),findLastIndex:e(33433),flatten:e(48534),flip:e(26005),forEac
710h:e(81734),forEachObjIndexed:e(20076),fromPairs:e(87653),groupBy:e(15990),groupWith:e(47983),gt:e(58533),gte:e(36918),has:e(30684),hasIn:e(1699),head:e(53100),identical:e(36371),identity:e(8628),ifElse:e(2364),inc:e(29464),indexBy:e(77877),indexOf:e(94205),init:e(65020),innerJoin:e(4987),insert:e(63899),insertAll:e(20116),intersection:e(6507),intersectionWith:e(71459),intersperse:e(45474),into:e(9388),invert:e(69054),invertObj:e(58165),invoker:e(14818),is:e(26538),isEmpty:e(95821),isNil:e(10103),join:e(30358),juxt:e(51303),keys:e(62802),keysIn:e(83445),last:e(80678),lastIndexOf:e(30265),length:e(20746),lens:e(99506),lensIndex:e(28940),lensPath:e(57197),lensProp:e(5331),lift:e(44647),liftN:e(8325),lt:e(25346),lte:e(70283),map:e(41422),mapAccum:e(67519),mapAccumRight:e(60365),mapObjIndexed:e(37316),match:e(65205),mathMod:e(83794),max:e(9638),maxBy:e(86523),mean:e(3487),median:e(40072),memoize:e(35364),memoizeWith:e(90796),merge:e(31272),mergeAll:e(3705),mergeDeepLeft:e(53983),mergeDeepRight:e(98366),mergeDeepWith:e(24674),mergeDeepWithKey:e(3503),mergeWith:e(70704),mergeWithKey:e(16181),min:e(15416),minBy:e(27673),modulo:e(33440),multiply:e(51738),nAry:e(96658),negate:e(69572),none:e(1764),not:e(79905),nth:e(54506),nthArg:e(28888),o:e(12173),objOf:e(74084),of:e(38379),omit:e(9207),once:e(48911),or:e(22591),over:e(54720),pair:e(60798),partial:e(62449),partialRight:e(4795),partition:e(78326),path:e(16661),pathEq:e(23403),pathOr:e(71716),pathSatisfies:e(10428),pick:e(53163),pickAll:e(56100),pickBy:e(7850),pipe:e(80070),pipeK:e(17301),pipeP:e(82852),pluck:e(29921),prepend:e(59888),product:e(38103),project:e(1213),prop:e(12379),propEq:e(66457),propIs:e(70531),propOr:e(63562),propSatisfies:e(34558),props:e(62510),range:e(24249),reduce:e(23144),reduceBy:e(5225),reduceRight:e(55500),reduceWhile:e(33835),reduced:e(19142),reject:e(23525),remove:e(76834),repeat:e(70801),replace:e(85052),reverse:e(46618),scan:e(51563),sequence:e(80171),set:e(79212),slice:e(68510),sort:e(27198),sortBy:e(65923),sortWith:e(16794),split:e(28876),splitAt:e(98581),splitEvery:e(15109),splitWhen:e(76960),startsWith:e(80743),subtract:e(56766),sum:e(60443),symmetricDifference:e(36604),symmetricDifferenceWith:e(91748),tail:e(44348),take:e(71605),takeLast:e(48897),takeLastWhile:e(81363),takeWhile:e(66244),tap:e(25785),test:e(58986),times:e(7050),toLower:e(11406),toPairs:e(25326),toPairsIn:e(7097),toString:e(1594),toUpper:e(88139),transduce:e(71077),transpose:e(4579),traverse:e(7252),trim:e(83334),tryCatch:e(64606),type:e(27234),unapply:e(38105),unary:e(82259),uncurryN:e(63630),unfold:e(89014),union:e(98223),unionWith:e(89543),uniq:e(54331),uniqBy:e(19162),uniqWith:e(77011),unless:e(60092),unnest:e(54479),until:e(3568),update:e(94911),useWith:e(5191),values:e(88612),valuesIn:e(88555),view:e(52123),when:e(56374),where:e(85035),whereEq:e(20137),without:e(28956),xprod:e(35565),zip:e(12495),zipObj:e(85318),zipWith:e(76935)}},5638(f,d,e){var n=e(4239);f.exports=n(!1)},75884(f,d,e){var n=e(4239);f.exports=n(!0)},8124(f){f.exports={"@@functional/placeholder":!0}},47951(f,d,e){var n=e(55926);f.exports=n(function(a,s){return Number(a)+Number(s)})},33907(f,d,e){var n=e(37949),r=e(75571),a=e(74237);f.exports=r(function(i){return a(i.length,function(){var u=0,l=arguments[0],m=arguments[arguments.length-1],g=Array.prototype.slice.call(arguments,0);return g[0]=function(){var h=l.apply(this,n(arguments,[u,m]));return u+=1,h},i.apply(this,g)})})},16733(f,d,e){var n=e(37949),r=e(74165);f.exports=r(function(s,i,u){if(i>=u.length||i<-u.length)return u;var l=i<0?u.length:0,m=l+i,g=n(u);return g[m]=s(u[m]),g})},13887(f,d,e){var n=e(55926),r=e(60731),a=e(78318);f.exports=n(r(["all"],a,function(i,u){for(var l=0;l<u.length;){if(!i(u[l]))return!1;l+=1}return!0}))},11346(f,d,e){var n=e(75571),r=e(74237),a=e(9638),s=e(29921),i=e(23144);f.exports=n(function(l){return r(i(a,0,s("length",l)),function(){for(var m=0,g=l.length;m<g;){if(!l[m].apply(this,arguments))return!1;m+=1}return!0})})},4239(f,d,e){var n=e(75571);f.exports=n(function(a){return function(){return a}})},22613(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a&&s})},44002(f,d,e){var n=e(55926),r=e(60731),a=e(10439);f.exports=n(r(["any"],a,function(i,u){for(var l=0;l<u.length;){if(i(u[l]))return!0;l+=1}return!1}))},42896(f,d,e){var n=e(75571),r=e(74237),a=e(9638),s=e(29921),i=e(23144);f.exports=n(function(l){return r(i(a,0,s("length",l)),function(){for(var m=0,g=l.length;m<g;){if(l[m].apply(this,arguments))return!0;m+=1}return!1})})},35359(f,d,e){var n=e(37949),r=e(55926),a=e(36711),s=e(41422);f.exports=r(function(u,l){return typeof l["fantasy-land/ap"]=="function"?l["fantasy-land/ap"](u):typeof u.ap=="function"?u.ap(l):typeof u=="function"?function(m){return u(m)(l(m))}:a(function(m,g){return n(m,s(g,l))},[],u)})},86278(f,d,e){var n=e(62149),r=e(55926),a=e(60731),s=e(52353);f.exports=r(a([],s,n))},21166(f,d,e){var n=e(37949),r=e(55926);f.exports=r(function(s,i){return n(i,[s])})},36484(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a.apply(this,s)})},70823(f,d,e){var n=e(75571),r=e(36484),a=e(74237),s=e(41422),i=e(9638),u=e(29921),l=e(23144),m=e(88612);f.exports=n(function g(h){return h=s(function(v){return typeof v=="function"?v:g(v)},h),a(l(i,0,u("length",m(h))),function(){var v=arguments;return s(function(x){return r(x,v)},h)})})},23016(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){var u=a(s),l=a(i);return u<l?-1:u>l?1:0})},9711(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){var u={};for(var l in i)u[l]=i[l];return u[a]=s,u})},68316(f,d,e){var n=e(74165),r=e(84181),a=e(64148),s=e(55775),i=e(9711),u=e(10103);f.exports=n(function l(m,g,h){if(m.length===0)return g;var v=m[0];if(m.length>1){var x=!u(h)&&r(v,h)?h[v]:s(m[1])?[]:{};g=l(Array.prototype.slice.call(m,1),g,x)}if(s(v)&&a(h)){var T=[].concat(h);return T[v]=g,T}else return i(v,g,h)})},93271(f,d,e){var n=e(75571),r=e(96658);f.exports=n(function(s){return r(2,s)})},8893(f,d,e){var n=e(19748),r=e(55926);f.exports=r(function(s,i){return n(s.length,function(){return s.apply(i,arguments)})})},16713(f,d,e){var n=e(55926),r=e(10429),a=e(22613),s=e(44647);f.exports=n(function(u,l){return r(u)?function(){return u.apply(this,arguments)&&l.apply(this,arguments)}:s(a)(u,l)})},24582(f,d,e){var n=e(11007);f.exports=n(function(a){return a.apply(this,Array.prototype.slice.call(arguments,1
710))})},38245(f,d,e){var n=e(55926),r=e(60731),a=e(92572),s=e(68120),i=e(41422);f.exports=n(r(["fantasy-land/chain","chain"],s,function(l,m){return typeof m=="function"?function(g){return l(m(g))(g)}:a(!1)(i(l,m))}))},5367(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){if(a>s)throw new Error("min must not be greater than max in clamp(min, max, value)");return i<a?a:i>s?s:i})},23273(f,d,e){var n=e(54268),r=e(75571);f.exports=r(function(s){return s!=null&&typeof s.clone=="function"?s.clone():n(s,[],[],!0)})},70038(f,d,e){var n=e(75571);f.exports=n(function(a){return function(s,i){return a(s,i)?-1:a(i,s)?1:0}})},19282(f,d,e){var n=e(44647),r=e(79905);f.exports=n(r)},53452(f,d,e){var n=e(80070),r=e(46618);f.exports=function(){if(arguments.length===0)throw new Error("compose requires at least one argument");return n.apply(this,r(arguments))}},87195(f,d,e){var n=e(38245),r=e(53452),a=e(41422);f.exports=function(){if(arguments.length===0)throw new Error("composeK requires at least one argument");var i=Array.prototype.slice.call(arguments),u=i.pop();return r(r.apply(this,a(n,i)),u)}},17094(f,d,e){var n=e(82852),r=e(46618);f.exports=function(){if(arguments.length===0)throw new Error("composeP requires at least one argument");return n.apply(this,r(arguments))}},67970(f,d,e){var n=e(55926),r=e(64148),a=e(10429),s=e(89036),i=e(1594);f.exports=n(function(l,m){if(r(l)){if(r(m))return l.concat(m);throw new TypeError(i(m)+" is not an array")}if(s(l)){if(s(m))return l+m;throw new TypeError(i(m)+" is not a string")}if(l!=null&&a(l["fantasy-land/concat"]))return l["fantasy-land/concat"](m);if(l!=null&&a(l.concat))return l.concat(m);throw new TypeError(i(l)+' does not have a method named "concat" or "fantasy-land/concat"')})},24578(f,d,e){var n=e(19748),r=e(75571),a=e(41422),s=e(9638),i=e(23144);f.exports=r(function(l){var m=i(s,0,a(function(g){return g[0].length},l));return n(m,function(){for(var g=0;g<l.length;){if(l[g][0].apply(this,arguments))return l[g][1].apply(this,arguments);g+=1}})})},93225(f,d,e){var n=e(75571),r=e(27311);f.exports=n(function(s){return r(s.length,s)})},27311(f,d,e){var n=e(55926),r=e(11007),a=e(96658);f.exports=n(function(i,u){if(i>10)throw new Error("Constructor with greater than ten arguments");return i===0?function(){return new u}:r(a(i,function(l,m,g,h,v,x,T,E,_,C){switch(arguments.length){case 1:return new u(l);case 2:return new u(l,m);case 3:return new u(l,m,g);case 4:return new u(l,m,g,h);case 5:return new u(l,m,g,h,v);case 6:return new u(l,m,g,h,v,x);case 7:return new u(l,m,g,h,v,x,T);case 8:return new u(l,m,g,h,v,x,T,E);case 9:return new u(l,m,g,h,v,x,T,E,_);case 10:return new u(l,m,g,h,v,x,T,E,_,C)}}))})},68971(f,d,e){var n=e(42476),r=e(55926);f.exports=r(n)},97367(f,d,e){var n=e(55926),r=e(79283),a=e(74237),s=e(9638),i=e(29921),u=e(23144);f.exports=n(function(m,g){return a(u(s,0,i("length",g)),function(){var h=arguments,v=this;return m.apply(v,r(function(x){return x.apply(v,h)},g))})})},1886(f,d,e){var n=e(5225);f.exports=n(function(r,a){return r+1},0)},11007(f,d,e){var n=e(75571),r=e(74237);f.exports=n(function(s){return r(s.length,s)})},74237(f,d,e){var n=e(19748),r=e(75571),a=e(55926),s=e(19138);f.exports=a(function(u,l){return u===1?r(l):n(u,s(u,[],l))})},80252(f,d,e){var n=e(47951);f.exports=n(-1)},20108(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s==null||s!==s?a:s})},26858(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){var u=a(s),l=a(i);return u>l?-1:u<l?1:0})},1705(f,d,e){var n=e(42476),r=e(55926);f.exports=r(function(s,i){for(var u=[],l=0,m=s.length;l<m;)!n(s[l],i)&&!n(s[l],u)&&(u[u.length]=s[l]),l+=1;return u})},66717(f,d,e){var n=e(97748),r=e(74165);f.exports=r(function(s,i,u){for(var l=[],m=0,g=i.length;m<g;)!n(s,i[m],u)&&!n(s,i[m],l)&&l.push(i[m]),m+=1;return l})},38413(f,d,e){var n=e(55926);f.exports=n(function(a,s){var i={};for(var u in s)i[u]=s[u];return delete i[a],i})},91114(f,d,e){var n=e(55926),r=e(55775),a=e(9711),s=e(38413),i=e(76834),u=e(94911);f.exports=n(function l(m,g){switch(m.length){case 0:return g;case 1:return r(m[0])?i(m[0],1,g):s(m[0],g);default:var h=m[0],v=Array.prototype.slice.call(m,1);return g[h]==null?g:r(m[0])?u(h,l(v,g[h]),g):a(h,l(v,g[h]),g)}})},73251(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a/s})},8935(f,d,e){var n=e(55926),r=e(60731),a=e(49808),s=e(68510);f.exports=n(r(["drop"],a,function(u,l){return s(Math.max(0,u),1/0,l)}))},34567(f,d,e){var n=e(55926),r=e(60731),a=e(26628),s=e(32192);f.exports=n(r([],s,a))},44686(f,d,e){var n=e(55926),r=e(60731),a=e(60391),s=e(81091);f.exports=n(r([],s,a))},53795(f,d,e){var n=e(75571),r=e(60731),a=e(63517),s=e(59323),i=e(9967);f.exports=n(r([],a(i),s(i)))},59323(f,d,e){var n=e(55926),r=e(60731),a=e(63517),s=e(80678);f.exports=n(r([],a,function(u,l){var m=[],g=1,h=l.length;if(h!==0)for(m[0]=l[0];g<h;)u(s(m),l[g])||(m[m.length]=l[g]),g+=1;return m}))},4238(f,d,e){var n=e(55926),r=e(60731),a=e(37523);f.exports=n(r(["dropWhile"],a,function(i,u){for(var l=0,m=u.length;l<m&&i(u[l]);)l+=1;return Array.prototype.slice.call(u,l)}
710))},98623(f,d,e){var n=e(55926),r=e(10429),a=e(44647),s=e(22591);f.exports=n(function(u,l){return r(u)?function(){return u.apply(this,arguments)||l.apply(this,arguments)}:a(s)(u,l)})},34733(f,d,e){var n=e(75571),r=e(93769),a=e(64148),s=e(52654),i=e(89036);f.exports=n(function(l){return l!=null&&typeof l["fantasy-land/empty"]=="function"?l["fantasy-land/empty"]():l!=null&&l.constructor!=null&&typeof l.constructor["fantasy-land/empty"]=="function"?l.constructor["fantasy-land/empty"]():l!=null&&typeof l.empty=="function"?l.empty():l!=null&&l.constructor!=null&&typeof l.constructor.empty=="function"?l.constructor.empty():a(l)?[]:i(l)?"":s(l)?{}:r(l)?(function(){return arguments})():void 0})},29644(f,d,e){var n=e(55926),r=e(9967),a=e(48897);f.exports=n(function(s,i){return r(a(s.length,i),s)})},82269(f,d,e){var n=e(74165),r=e(9967);f.exports=n(function(s,i,u){return r(s(i),s(u))})},35592(f,d,e){var n=e(74165),r=e(9967);f.exports=n(function(s,i,u){return r(i[s],u[s])})},9967(f,d,e){var n=e(55926),r=e(58884);f.exports=n(function(s,i){return r(s,i,[],[])})},80163(f,d,e){var n=e(55926);f.exports=n(function r(a,s){var i={},u,l,m;for(l in s)u=a[l],m=typeof u,i[l]=m==="function"?u(s[l]):u&&m==="object"?r(u,s[l]):s[l];return i})},31544(f,d,e){var n=e(55926),r=e(60731),a=e(75379),s=e(52654),i=e(36711),u=e(80031),l=e(62802);f.exports=n(r(["filter"],u,function(m,g){return s(g)?i(function(h,v){return m(g[v])&&(h[v]=g[v]),h},{},l(g)):a(m,g)}))},35905(f,d,e){var n=e(55926),r=e(60731),a=e(85090);f.exports=n(r(["find"],a,function(i,u){for(var l=0,m=u.length;l<m;){if(i(u[l]))return u[l];l+=1}}))},37853(f,d,e){var n=e(55926),r=e(60731),a=e(63100);f.exports=n(r([],a,function(i,u){for(var l=0,m=u.length;l<m;){if(i(u[l]))return l;l+=1}return-1}))},4797(f,d,e){var n=e(55926),r=e(60731),a=e(39374);f.exports=n(r([],a,function(i,u){for(var l=u.length-1;l>=0;){if(i(u[l]))return u[l];l-=1}}))},33433(f,d,e){var n=e(55926),r=e(60731),a=e(19304);f.exports=n(r([],a,function(i,u){for(var l=u.length-1;l>=0;){if(i(u[l]))return l;l-=1}return-1}))},48534(f,d,e){var n=e(75571),r=e(92572);f.exports=n(r(!0))},26005(f,d,e){var n=e(75571),r=e(11007);f.exports=n(function(s){return r(function(i,u){var l=Array.prototype.slice.call(arguments,0);return l[0]=u,l[1]=i,s.apply(this,l)})})},81734(f,d,e){var n=e(64683),r=e(55926);f.exports=r(n("forEach",function(s,i){for(var u=i.length,l=0;l<u;)s(i[l]),l+=1;return i}))},20076(f,d,e){var n=e(55926),r=e(62802);f.exports=n(function(s,i){for(var u=r(i),l=0;l<u.length;){var m=u[l];s(i[m],m,i),l+=1}return i})},87653(f,d,e){var n=e(75571);f.exports=n(function(a){for(var s={},i=0;i<a.length;)s[a[i][0]]=a[i][1],i+=1;return s})},15990(f,d,e){var n=e(64683),r=e(55926),a=e(5225);f.exports=r(n("groupBy",a(function(s,i){return s==null&&(s=[]),s.push(i),s},null)))},47983(f,d,e){var n=e(55926);f.exports=n(function(r,a){for(var s=[],i=0,u=a.length;i<u;){for(var l=i+1;l<u&&r(a[l-1],a[l]);)l+=1;s.push(a.slice(i,l)),i=l}return s})},58533(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a>s})},36918(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a>=s})},30684(f,d,e){var n=e(55926),r=e(84181);f.exports=n(r)},1699(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a in s})},53100(f,d,e){var n=e(54506);f.exports=n(0)},36371(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a===s?a!==0||1/a===1/s:a!==a&&s!==s})},8628(f,d,e){var n=e(75571),r=e(75055);f.exports=n(r)},2364(f,d,e){var n=e(74165),r=e(74237);f.exports=n(function(s,i,u){return r(Math.max(s.length,i.length,u.length),function(){return s.apply(this,arguments)?i.apply(this,arguments):u.apply(this,arguments)})})},29464(f,d,e){var n=e(47951);f.exports=n(1)},77877(f,d,e){var n=e(5225);f.exports=n(function(r,a){return a},null)},94205(f,d,e){var n=e(55926),r=e(48484),a=e(64148);f.exports=n(function(i,u){return typeof u.indexOf=="function"&&!a(u)?u.indexOf(i):r(u,i,0)})},65020(f,d,e){var n=e(68510);f.exports=n(0,-1)},4987(f,d,e){var n=e(97748),r=e(74165),a=e(75379);f.exports=r(function(i,u,l){return a(function(m){return n(i,m,l)},u)})},63899(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){a=a<i.length&&a>=0?a:i.length;
710var u=Array.prototype.slice.call(i,0);return u.splice(a,0,s),u})},20116(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a=a<i.length&&a>=0?a:i.length,[].concat(Array.prototype.slice.call(i,0,a),s,Array.prototype.slice.call(i,a))})},18429(f,d,e){var n=e(42476);f.exports=(function(){function r(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}r.prototype.add=function(s){return!a(s,!0,this)},r.prototype.has=function(s){return a(s,!1,this)};function a(s,i,u){var l=typeof s,m,g;switch(l){case"string":case"number":return s===0&&1/s===-1/0?u._items["-0"]?!0:(i&&(u._items["-0"]=!0),!1):u._nativeSet!==null?i?(m=u._nativeSet.size,u._nativeSet.add(s),g=u._nativeSet.size,g===m):u._nativeSet.has(s):l in u._items?s in u._items[l]?!0:(i&&(u._items[l][s]=!0),!1):(i&&(u._items[l]={},u._items[l][s]=!0),!1);case"boolean":if(l in u._items){var h=s?1:0;return u._items[l][h]?!0:(i&&(u._items[l][h]=!0),!1)}else return i&&(u._items[l]=s?[!1,!0]:[!0,!1]),!1;case"function":return u._nativeSet!==null?i?(m=u._nativeSet.size,u._nativeSet.add(s),g=u._nativeSet.size,g===m):u._nativeSet.has(s):l in u._items?n(s,u._items[l])?!0:(i&&u._items[l].push(s),!1):(i&&(u._items[l]=[s]),!1);case"undefined":return u._items[l]?!0:(i&&(u._items[l]=!0),!1);case"object":if(s===null)return u._items.null?!0:(i&&(u._items.null=!0),!1);default:return l=Object.prototype.toString.call(s),l in u._items?n(s,u._items[l])?!0:(i&&u._items[l].push(s),!1):(i&&(u._items[l]=[s]),!1)}}return r})()},62149(f){f.exports=function(e,n){for(var r=0,a=n.length-(e-1),s=new Array(a>=0?a:0);r<a;)s[r]=Array.prototype.slice.call(n,r,r+e),r+=1;return s}},19748(f){f.exports=function(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,s){return n.apply(this,arguments)};case 4:return function(r,a,s,i){return n.apply(this,arguments)};case 5:return function(r,a,s,i,u){return n.apply(this,arguments)};case 6:return function(r,a,s,i,u,l){return n.apply(this,arguments)};case 7:return function(r,a,s,i,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,s,i,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,s,i,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,s,i,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},25206(f){f.exports=function(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}},70960(f,d,e){var n=e(13367);f.exports=typeof Object.assign=="function"?Object.assign:n},64683(f,d,e){var n=e(64148);f.exports=function(a,s){return function(){var i=arguments.length;if(i===0)return s();var u=arguments[i-1];return n(u)||typeof u[a]!="function"?s.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,i-1))}}},54268(f,d,e){var n=e(79909),r=e(27234);f.exports=function a(s,i,u,l){var m=function(h){for(var v=i.length,x=0;x<v;){if(s===i[x])return u[x];x+=1}i[x+1]=s,u[x+1]=h;for(var T in s)h[T]=l?a(s[T],i,u,!0):s[T];return h};switch(r(s)){case"Object":return m({});case"Array":return m([]);case"Date":return new Date(s.valueOf());case"RegExp":return n(s);default:return s}}},79909(f){f.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},37665(f){f.exports=function(e){return function(){return!e.apply(this,arguments)}}},37949(f){f.exports=function(e,n){e=e||[],n=n||[];var r,a=e.length,s=n.length,i=[];for(r=0;r<a;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=n[r],r+=1;return i}},42476(f,d,e){var n=e(48484);f.exports=function(a,s){return n(s,a,0)>=0}},97748(f){f.exports=function(e,n,r){for(var a=0,s=r.length;a<s;){if(e(n,r[a]))return!0;a+=1}return!1}},49917(f,d,e){var n=e(19748),r=e(55926);f.exports=function(s){return r(function(i,u){return n(Math.max(0,i.length-u.length),function(){return i.apply(this,s(u,arguments))})})}},75571(f,d,e){var n=e(56992);f.exports=function(a){return function s(i){return arguments.length===0||n(i)?s:a.apply(this,arguments)}}},55926(f,d,e){var n=e(75571),r=e(56992);f.exports=function(s){return function i(u,l){switch(arguments.length){case 0:return i;case 1:return r(u)?i:n(function(m){return s(u,m)});default:return r(u)&&r(l)?i:r(u)?n(function(m){return s(m,l)}):r(l)?n(function(m){return s(u,m)}):s(u,l)}}}},74165(f,d,e){var n=e(75571),r=e(55926),a=e(56992);f.exports=function(i){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return i(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return i(h,m,v)}):a(m)?r(function(h,v){return i(l,h,v)}):n(function(h){return i(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return i(h,v,g)}):a(l)&&a(g)?r(function(h,v){return i(h,m,v)}):a(m)&&a(g)?r(function(h,v){return i(l,h,v)}):a(l)?n(function(h){return i(h,m,g)}):a(m)?n(function(h){return i(l,h,g)}):a(g)?n(function(h){return i(l,m,h)}):i(l,m,g)}}}},19138(f,d,e){var n=e(19748),r=e(56992);f.exports=function a(s,i,u){return function(){for(var l=[],m=0,g=s,h=0;h<i.length||m<arguments.length;){var v;h<i.length&&(!r(i[h])||m>=arguments.length)?v=i[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(s,l,u))}}},60731(f,d,e){var n=e(64148),r=e(11930);f.exports=function(s,i,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<s.length;){if(typeof m[s[g]]=="function")return m[s[g]].apply(m,l);g+=1}if(r(m)){var h=i.apply(null,l);return h(m)}}return u.apply(this,arguments)}}},26628(f,d,e){var n=e(71605);f.exports=function(a,s){return n(a<s.length?s.length-a:0,s)}},60391(f){f.exports=function(e,n){for(var r=n.length-1;r>=0&&e(n[r]);)r-=1;return Array.prototype.slice.call(n,0,r+1)}},58884(f,d,e){var n=e(25206),r=e(44286),a=e(84181),s=e(36371),i=e(62802),u=e(27234);f.exports=function l(m,g,h,v){if(s(m,g))return!0;
710if(u(m)!==u(g)||m==null||g==null)return!1;if(typeof m["fantasy-land/equals"]=="function"||typeof g["fantasy-land/equals"]=="function")return typeof m["fantasy-land/equals"]=="function"&&m["fantasy-land/equals"](g)&&typeof g["fantasy-land/equals"]=="function"&&g["fantasy-land/equals"](m);if(typeof m.equals=="function"||typeof g.equals=="function")return typeof m.equals=="function"&&m.equals(g)&&typeof g.equals=="function"&&g.equals(m);switch(u(m)){case"Arguments":case"Array":case"Object":if(typeof m.constructor=="function"&&r(m.constructor)==="Promise")return m===g;break;case"Boolean":case"Number":case"String":if(!(typeof m==typeof g&&s(m.valueOf(),g.valueOf())))return!1;break;case"Date":if(!s(m.valueOf(),g.valueOf()))return!1;break;case"Error":return m.name===g.name&&m.message===g.message;case"RegExp":if(!(m.source===g.source&&m.global===g.global&&m.ignoreCase===g.ignoreCase&&m.multiline===g.multiline&&m.sticky===g.sticky&&m.unicode===g.unicode))return!1;break;case"Map":case"Set":if(!l(n(m.entries()),n(g.entries()),h,v))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":break;case"ArrayBuffer":break;default:return!1}var x=i(m);if(x.length!==i(g).length)return!1;for(var T=h.length-1;T>=0;){if(h[T]===m)return v[T]===g;T-=1}for(h.push(m),v.push(g),T=x.length-1;T>=0;){var E=x[T];if(!(a(E,g)&&l(g[E],m[E],h,v)))return!1;T-=1}return h.pop(),v.pop(),!0}},75379(f){f.exports=function(e,n){for(var r=0,a=n.length,s=[];r<a;)e(n[r])&&(s[s.length]=n[r]),r+=1;return s}},89612(f,d,e){var n=e(24478),r=e(90555),a=e(36711),s=e(58734);f.exports=(function(){var i=function(u){return{"@@transducer/init":s.init,"@@transducer/result":function(l){return u["@@transducer/result"](l)},"@@transducer/step":function(l,m){var g=u["@@transducer/step"](l,m);return g["@@transducer/reduced"]?n(g):g}}};return function(l){var m=i(l);return{"@@transducer/init":s.init,"@@transducer/result":function(g){return m["@@transducer/result"](g)},"@@transducer/step":function(g,h){return r(h)?a(m,g,h):a(m,g,[h])}}}})()},24478(f){f.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},44286(f){f.exports=function(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}},84181(f){f.exports=function(e,n){return Object.prototype.hasOwnProperty.call(n,e)}},75055(f){f.exports=function(e){return e}},48484(f,d,e){var n=e(9967);f.exports=function(a,s,i){var u,l;if(typeof a.indexOf=="function")switch(typeof s){case"number":if(s===0){for(u=1/s;i<a.length;){if(l=a[i],l===0&&1/l===u)return i;i+=1}return-1}else if(s!==s){for(;i<a.length;){if(l=a[i],typeof l=="number"&&l!==l)return i;i+=1}return-1}return a.indexOf(s,i);case"string":case"boolean":case"function":case"undefined":return a.indexOf(s,i);case"object":if(s===null)return a.indexOf(s,i)}for(;i<a.length;){if(n(a[i],s))return i;i+=1}return-1}},93769(f,d,e){var n=e(84181);f.exports=(function(){var r=Object.prototype.toString;return r.call(arguments)==="[object Arguments]"?function(s){return r.call(s)==="[object Arguments]"}:function(s){return n("callee",s)}})()},64148(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},90555(f,d,e){var n=e(75571),r=e(64148),a=e(89036);f.exports=n(function(i){return r(i)?!0:!i||typeof i!="object"||a(i)?!1:i.nodeType===1?!!i.length:i.length===0?!0:i.length>0?i.hasOwnProperty(0)&&i.hasOwnProperty(i.length-1):!1})},10429(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Function]"}},55775(f){f.exports=Number.isInteger||function(e){return e<<0===e}},91912(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Number]"}},52654(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Object]"}},56992(f){f.exports=function(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}},14432(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"}},89036(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object String]"}},11930(f){f.exports=function(e){return typeof e["@@transducer/step"]=="function"}},92572(f,d,e){var n=e(90555);f.exports=function(a){return function s(i){for(var u,l,m,g=[],h=0,v=i.length;h<v;){if(n(i[h]))for(u=a?s(i[h]):i[h],m=0,l=u.length;m<l;)g[g.length]=u[m],m+=1;else g[g.length]=i[h];h+=1}return g}}},79283(f){f.exports=function(e,n){for(var r=0,a=n.length,s=Array(a);r<a;)s[r]=e(n[r]),r+=1;return s}},13367(f,d,e){var n=e(84181);
710f.exports=function(a){if(a==null)throw new TypeError("Cannot convert undefined or null to object");for(var s=Object(a),i=1,u=arguments.length;i<u;){var l=arguments[i];if(l!=null)for(var m in l)n(m,l)&&(s[m]=l[m]);i+=1}return s}},8808(f){f.exports=function(e){return[e]}},18809(f){f.exports=function(e,n){return function(){return n.call(this,e.apply(this,arguments))}}},31557(f){f.exports=function(e,n){return function(){var r=this;return e.apply(r,arguments).then(function(a){return n.call(r,a)})}}},94833(f){f.exports=function(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}},36711(f,d,e){var n=e(90555),r=e(40461),a=e(8893);f.exports=(function(){function s(m,g,h){for(var v=0,x=h.length;v<x;){if(g=m["@@transducer/step"](g,h[v]),g&&g["@@transducer/reduced"]){g=g["@@transducer/value"];break}v+=1}return m["@@transducer/result"](g)}function i(m,g,h){for(var v=h.next();!v.done;){if(g=m["@@transducer/step"](g,v.value),g&&g["@@transducer/reduced"]){g=g["@@transducer/value"];break}v=h.next()}return m["@@transducer/result"](g)}function u(m,g,h,v){return m["@@transducer/result"](h[v](a(m["@@transducer/step"],m),g))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";return function(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return s(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return i(g,h,v[l]());if(typeof v.next=="function")return i(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}})()},74923(f){f.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},24699(f,d,e){var n=e(70960),r=e(75055),a=e(90555),s=e(11930),i=e(74084);f.exports=(function(){var u={"@@transducer/init":Array,"@@transducer/step":function(g,h){return g.push(h),g},"@@transducer/result":r},l={"@@transducer/init":String,"@@transducer/step":function(g,h){return g+h},"@@transducer/result":r},m={"@@transducer/init":Object,"@@transducer/step":function(g,h){return n(g,a(h)?i(h[0],h[1]):h)},"@@transducer/result":r};return function(h){if(s(h))return h;if(a(h))return u;if(typeof h=="string")return l;if(typeof h=="object")return m;throw new Error("Cannot create transformer for "+h)}})()},30966(f){f.exports=(function(){var d=function(n){return(n<10?"0":"")+n};return typeof Date.prototype.toISOString=="function"?function(n){return n.toISOString()}:function(n){return n.getUTCFullYear()+"-"+d(n.getUTCMonth()+1)+"-"+d(n.getUTCDate())+"T"+d(n.getUTCHours())+":"+d(n.getUTCMinutes())+":"+d(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}})()},30045(f,d,e){var n=e(42476),r=e(79283),a=e(94833),s=e(30966),i=e(62802),u=e(23525);f.exports=function l(m,g){var h=function(E){var _=g.concat([m]);return n(E,_)?"<Circular>":l(E,_)},v=function(T,E){return r(function(_){return a(_)+": "+h(T[_])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},i(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(s(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var x=m.toString();if(x!=="[object Object]")return x}return"{"+v(m,i(m)).join(", ")+"}"}}},78318(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.f=i,this.all=!0}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.all&&(i=this.xf["@@transducer/step"](i,!0)),this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.f(u)||(this.all=!1,i=r(this.xf["@@transducer/step"](i,!1))),i},n(function(u,l){return new s(u,l)})})()},10439(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.f=i,this.any=!1}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.any||(i=this.xf["@@transducer/step"](i,!1)),this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.f(u)&&(this.any=!0,i=r(this.xf["@@transducer/step"](i,!0))),i},n(function(u,l){return new s(u,l)})})()},52353(f,d,e){var n=e(37949),r=e(55926),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.pos=0,this.full=!1,this.acc=new Array(i)}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.acc=null,this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.store(u),this.full?this.xf["@@transducer/step"](i,this.getCopy()):i},s.prototype.store=function(i){this.acc[this.pos]=i,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},s.prototype.getCopy=function(){return n(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},r(function(u,l){return new s(u,l)})})()},68120(f,d,e){var n=e(55926),r=e(89612),a=e(41422);f.exports=n(function(i,u){return a(i,r(u))})},49808(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.n=s}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(s,i){return this.n>0?(this.n-=1,s):this.xf["@@transducer/step"](s,i)},n(function(i,u){return new a(i,u)})})()},32192(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.pos=0,this.full=!1,this.acc=new Array(s)}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(s){return this.acc=null,this.xf["@@transducer/result"](s)},a.prototype["@@transducer/step"]=function(s,i){return this.full&&(s=this.xf["@@transducer/step"](s,this.acc[this.pos])),this.store(i),s},a.prototype.store=function(s){this.acc[this.pos]=s,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},n(function(i,u){return new a(i,u)})})()},81091(f,d,e){var n=e(55926),r=e(36711),a=e(58734);f.exports=(function(){function s(i,u){this.f=i,this.retained=[],this.xf=u}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.retained=null,this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.f(u)?this.retain(i,u):this.flush(i,u)},s.prototype.flush=function(i,u){return i=r(this.xf["@@transducer/step"],i,this.retained),this.retained=[],this.xf["@@transducer/step"](i,u)},s.prototype.retain=function(i,u){return this.retained.push(u),i},n(function(u,l){return new s(u,l)})})()},63517(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.pred=s,this.lastValue=void 0,this.seenFirstValue=!1}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(s,i){var u=!1;return this.seenFirstValue?this.pred(this.lastValue,i)&&(u=!0):this.seenFirstValue=!0,this.lastValue=i,u?s:this.xf["@@transducer/step"](s,i)},n(function(i,u){return new a(i,u)})})()},37523(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.f=s}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(s,i){if
710(this.f){if(this.f(i))return s;this.f=null}return this.xf["@@transducer/step"](s,i)},n(function(i,u){return new a(i,u)})})()},58734(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},80031(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.f=s}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(s,i){return this.f(i)?this.xf["@@transducer/step"](s,i):s},n(function(i,u){return new a(i,u)})})()},85090(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.f=i,this.found=!1}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.found||(i=this.xf["@@transducer/step"](i,void 0)),this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.f(u)&&(this.found=!0,i=r(this.xf["@@transducer/step"](i,u))),i},n(function(u,l){return new s(u,l)})})()},63100(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.f=i,this.idx=-1,this.found=!1}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){return this.found||(i=this.xf["@@transducer/step"](i,-1)),this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){return this.idx+=1,this.f(u)&&(this.found=!0,i=r(this.xf["@@transducer/step"](i,this.idx))),i},n(function(u,l){return new s(u,l)})})()},39374(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.f=s}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(s){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](s,this.last))},a.prototype["@@transducer/step"]=function(s,i){return this.f(i)&&(this.last=i),s},n(function(i,u){return new a(i,u)})})()},19304(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.f=s,this.idx=-1,this.lastIdx=-1}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(s){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](s,this.lastIdx))},a.prototype["@@transducer/step"]=function(s,i){return this.idx+=1,this.f(i)&&(this.lastIdx=this.idx),s},n(function(i,u){return new a(i,u)})})()},14415(f,d,e){var n=e(55926),r=e(58734);f.exports=(function(){function a(s,i){this.xf=i,this.f=s}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(s,i){return this.xf["@@transducer/step"](s,this.f(i))},n(function(i,u){return new a(i,u)})})()},50050(f,d,e){var n=e(19138),r=e(84181),a=e(58734);f.exports=(function(){function s(i,u,l,m){this.valueFn=i,this.valueAcc=u,this.keyFn=l,this.xf=m,this.inputs={}}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=function(i){var u;for(u in this.inputs)if(r(u,this.inputs)&&(i=this.xf["@@transducer/step"](i,this.inputs[u]),i["@@transducer/reduced"])){i=i["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](i)},s.prototype["@@transducer/step"]=function(i,u){var l=this.keyFn(u);return this.inputs[l]=this.inputs[l]||[l,this.valueAcc],this.inputs[l][1]=this.valueFn(this.inputs[l][1],u),i},n(4,[],function(u,l,m,g){return new s(u,l,m,g)})})()},66718(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.n=i,this.i=0}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=a.result,s.prototype["@@transducer/step"]=function(i,u){this.i+=1;var l=this.n===0?i:this.xf["@@transducer/step"](i,u);return this.n>=0&&this.i>=this.n?r(l):l},n(function(u,l){return new s(u,l)})})()},28065(f,d,e){var n=e(55926),r=e(74923),a=e(58734);f.exports=(function(){function s(i,u){this.xf=u,this.f=i}return s.prototype["@@transducer/init"]=a.init,s.prototype["@@transducer/result"]=a.result,s.prototype["@@transducer/step"]=function(i,u){return this.f(u)?this.xf["@@transducer/step"](i,u):r(i)},n(function(u,l){return new s(u,l)})})()},40461(f){f.exports=(function(){function d(e){this.f=e}return d.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},d.prototype["@@transducer/result"]=function(e){return e},d.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},function(n){return new d(n)}})()},6507(f,d,e){var n=e(42476),r=e(55926),a=e(75379),s=e(26005),i=e(54331);f.exports=r(function(l,m){var g,h;return l.length>m.length?(g=l,h=m):(g=m,h=l),i(a(s(n)(g),h))})},71459(f,d,e){var n=e(97748),r=e(74165),a=e(77011);f.exports=r(function(i,u,l){var m,g;u.length>l.length?(m=u,g=l):(m=l,g=u);for(var h=[],v=0;v<g.length;)n(i,g[v],m)&&(h[h.length]=g[v]),v+=1;return a(i,h)})},45474(f,d,e){var n=e(64683),r=e(55926);f.exports=r(n("intersperse",function(s,i){for(var u=[],l=0,m=i.length;l<m;)l===m-1?u.push(i[l]):u.push(i[l],s),l+=1;return u}))},9388(f,d,e){var n=e(54268),r=e(74165),a=e(11930),s=e(36711),i=e(24699);f.exports=r(function(l,m,g){return a(l)?s(m(l),l["@@transducer/init"](),g):s(m(i(l)),n(l,[],[],!1),g)})},69054(f,d,e){var n=e(75571),r=e(84181),a=e(62802);f.exports=n(function(i){for(var u=a(i),l=u.length,m=0,g={};m<l;){var h=u[m],v=i[h],x=r(v,g)?g[v]:g[v]=[];x[x.length]=h,m+=1}return g})},58165(f,d,e){var n=e(75571),r=e(62802);f.exports=n(function(s){for(var i=r(s),u=i.length,l=0,m={};l<u;){var g=i[l];m[s[g]]=g,l+=1}return m})},14818(f,d,e){var n=e(55926),r=e(10429),a=e(74237),s=e(1594);f.exports=n(function(u,l){return a(u+1,function(){var m=arguments[u];if(m!=null&&r(m[l]))return m[l].apply(m,Array.prototype.slice.call(arguments,0,u));
710throw new TypeError(s(m)+' does not have a method named "'+l+'"')})})},26538(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s!=null&&s.constructor===a||s instanceof a})},95821(f,d,e){var n=e(75571),r=e(34733),a=e(9967);f.exports=n(function(i){return i!=null&&a(i,r(i))})},10103(f,d,e){var n=e(75571);f.exports=n(function(a){return a==null})},30358(f,d,e){var n=e(14818);f.exports=n(1,"join")},51303(f,d,e){var n=e(75571),r=e(97367);f.exports=n(function(s){return r(function(){return Array.prototype.slice.call(arguments,0)},s)})},62802(f,d,e){var n=e(75571),r=e(84181),a=e(93769);f.exports=(function(){var s=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(g,h){for(var v=0;v<g.length;){if(g[v]===h)return!0;v+=1}return!1};return n(typeof Object.keys=="function"&&!u?function(g){return Object(g)!==g?[]:Object.keys(g)}:function(g){if(Object(g)!==g)return[];var h,v,x=[],T=u&&a(g);for(h in g)r(h,g)&&(!T||h!=="length")&&(x[x.length]=h);if(s)for(v=i.length-1;v>=0;)h=i[v],r(h,g)&&!l(x,h)&&(x[x.length]=h),v-=1;return x})})()},83445(f,d,e){var n=e(75571);f.exports=n(function(a){var s,i=[];for(s in a)i[i.length]=s;return i})},80678(f,d,e){var n=e(54506);f.exports=n(-1)},30265(f,d,e){var n=e(55926),r=e(64148),a=e(9967);f.exports=n(function(i,u){if(typeof u.lastIndexOf=="function"&&!r(u))return u.lastIndexOf(i);for(var l=u.length-1;l>=0;){if(a(u[l],i))return l;l-=1}return-1})},20746(f,d,e){var n=e(75571),r=e(91912);f.exports=n(function(s){return s!=null&&r(s.length)?s.length:NaN})},99506(f,d,e){var n=e(55926),r=e(41422);f.exports=n(function(s,i){return function(u){return function(l){return r(function(m){return i(m,l)},u(s(l)))}}})},28940(f,d,e){var n=e(75571),r=e(99506),a=e(54506),s=e(94911);f.exports=n(function(u){return r(a(u),s(u))})},57197(f,d,e){var n=e(75571),r=e(68316),a=e(99506),s=e(16661);f.exports=n(function(u){return a(s(u),r(u))})},5331(f,d,e){var n=e(75571),r=e(9711),a=e(99506),s=e(12379);f.exports=n(function(u){return a(s(u),r(u))})},44647(f,d,e){var n=e(75571),r=e(8325);f.exports=n(function(s){return r(s.length,s)})},8325(f,d,e){var n=e(55926),r=e(36711),a=e(35359),s=e(74237),i=e(41422);f.exports=n(function(l,m){var g=s(l,m);return s(l,function(){return r(a,i(g,arguments[0]),Array.prototype.slice.call(arguments,1))})})},25346(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a<s})},70283(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a<=s})},41422(f,d,e){var n=e(55926),r=e(60731),a=e(79283),s=e(36711),i=e(14415),u=e(74237),l=e(62802);f.exports=n(r(["fantasy-land/map","map"],i,function(g,h){switch(Object.prototype.toString.call(h)){case"[object Function]":return u(h.length,function(){return g.call(this,h.apply(this,arguments))});case"[object Object]":return s(function(v,x){return v[x]=g(h[x]),v},{},l(h));default:return a(g,h)}}))},67519(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=0,l=i.length,m=[],g=[s];u<l;)g=a(g[0],i[u]),m[u]=g[1],u+=1;return[g[0],m]})},60365(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=i.length-1,l=[],m=[s];u>=0;)m=a(i[u],m[0]),l[u]=m[1],u-=1;return[l,m[0]]})},37316(f,d,e){var n=e(55926),r=e(36711),a=e(62802);f.exports=n(function(i,u){return r(function(l,m){return l[m]=i(u[m],m,u),l},{},a(u))})},65205(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s.match(a)||[]})},83794(f,d,e){var n=e(55926),r=e(55775);f.exports=n(function(s,i){return r(s)?!r(i)||i<1?NaN:(s%i+i)%i:NaN})},9638(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s>a?s:a})},86523(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(i)>a(s)?i:s})},3487(f,d,e){var n=e(75571),r=e(60443);f.exports=n(function(s){return r(s)/s.length})},40072(f,d,e){var n=e(75571),r=e(3487);f.exports=n(function(s){var i=s.length;if(i===0)return NaN;var u=2-i%2,l=(i-u)/2;return r(Array.prototype.slice.call(s,0).sort(function(m,g){return m<g?-1:m>g?1:0}).slice(l,l+u))})},35364(f,d,e){var n=e(90796),r=e(1594);f.exports=n(function(){return r(arguments)})},90796(f,d,e){var n=e(19748),r=e(55926),a=e(84181);f.exports=r(function(i,u){var l={};return n(u.length,function(){var m=i.apply(this,arguments);return a(m,l)||(l[m]=u.apply(this,arguments)),l[m]})})},31272(f,d,e){var n=e(70960),r=e(55926);f.exports=r(function(s,i){return n({},s,i)})},3705(f,d,e){var n=e(70960),r=e(75571);f.exports=r(function(s){return n.apply(null,[{}].concat(s))})},53983(f,d,e){var n=e(55926),r=e(3503);f.exports=n(function(s,i){return r(function(u,l,m){return l},s,i)})},98366(f,d,e){var n=e(55926),r=e(3503);f.exports=n(function(s,i){return r(function(u,l,m){return m},s,i)})},24674(f,d,e){var n=e(74165),r=e(3503);f.exports=n(function(s,i,u){return r(function(l,m,g){return s(m,g)},i,u)})},3503(f,d,e){var n=e(74165),r=e(52654),a=e(16181);f.exports=n(function s(i,u,l){return a(function(m,g,h){return r(g)&&r(h)?s(i,g,h):i(m,g,h)},u,l)})},70704(f,d,e){var n=e(74165),r=e(16181);f.exports=n(function(s,i,u){return r(function(l,m,g){return s(m,g)},i,u)})},16181(f,d,e){var n=e(74165),r=e(84181);f.exports=n(function(s,i,u){var l={},m;
710for(m in i)r(m,i)&&(l[m]=r(m,u)?s(m,i[m],u[m]):i[m]);for(m in u)r(m,u)&&!r(m,l)&&(l[m]=u[m]);return l})},15416(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s<a?s:a})},27673(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(i)<a(s)?i:s})},33440(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a%s})},51738(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a*s})},96658(f,d,e){var n=e(55926);f.exports=n(function(a,s){switch(a){case 0:return function(){return s.call(this)};case 1:return function(i){return s.call(this,i)};case 2:return function(i,u){return s.call(this,i,u)};case 3:return function(i,u,l){return s.call(this,i,u,l)};case 4:return function(i,u,l,m){return s.call(this,i,u,l,m)};case 5:return function(i,u,l,m,g){return s.call(this,i,u,l,m,g)};case 6:return function(i,u,l,m,g,h){return s.call(this,i,u,l,m,g,h)};case 7:return function(i,u,l,m,g,h,v){return s.call(this,i,u,l,m,g,h,v)};case 8:return function(i,u,l,m,g,h,v,x){return s.call(this,i,u,l,m,g,h,v,x)};case 9:return function(i,u,l,m,g,h,v,x,T){return s.call(this,i,u,l,m,g,h,v,x,T)};case 10:return function(i,u,l,m,g,h,v,x,T,E){return s.call(this,i,u,l,m,g,h,v,x,T,E)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},69572(f,d,e){var n=e(75571);f.exports=n(function(a){return-a})},1764(f,d,e){var n=e(37665),r=e(55926),a=e(60731),s=e(10439),i=e(44002);f.exports=r(n(a(["any"],s,i)))},79905(f,d,e){var n=e(75571);f.exports=n(function(a){return!a})},54506(f,d,e){var n=e(55926),r=e(89036);f.exports=n(function(s,i){var u=s<0?i.length+s:s;return r(i)?i.charAt(u):i[u]})},28888(f,d,e){var n=e(75571),r=e(74237),a=e(54506);f.exports=n(function(i){var u=i<0?1:i+1;return r(u,function(){return a(i,arguments)})})},12173(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(s(i))})},74084(f,d,e){var n=e(55926);f.exports=n(function(a,s){var i={};return i[a]=s,i})},38379(f,d,e){var n=e(75571),r=e(8808);f.exports=n(r)},9207(f,d,e){var n=e(42476),r=e(55926);f.exports=r(function(s,i){var u={};for(var l in i)n(l,s)||(u[l]=i[l]);return u})},48911(f,d,e){var n=e(19748),r=e(75571);f.exports=r(function(s){var i=!1,u;return n(s.length,function(){return i||(i=!0,u=s.apply(this,arguments)),u})})},22591(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a||s})},54720(f,d,e){var n=e(74165);f.exports=(function(){var r=function(a){return{value:a,map:function(s){return r(s(a))}}};return n(function(s,i,u){return s(function(l){return r(i(l))})(u).value})})()},60798(f,d,e){var n=e(55926);f.exports=n(function(a,s){return[a,s]})},62449(f,d,e){var n=e(37949),r=e(49917);f.exports=r(n)},4795(f,d,e){var n=e(37949),r=e(49917),a=e(26005);f.exports=r(a(n))},78326(f,d,e){var n=e(31544),r=e(51303),a=e(23525);f.exports=r([n,a])},16661(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=s,u=0;u<a.length;){if(i==null)return;i=i[a[u]],u+=1}return i})},23403(f,d,e){var n=e(74165),r=e(9967),a=e(16661);f.exports=n(function(i,u,l){return r(a(i,l),u)})},71716(f,d,e){var n=e(74165),r=e(20108),a=e(16661);f.exports=n(function(i,u,l){return r(i,a(u,l))})},10428(f,d,e){var n=e(74165),r=e(16661);f.exports=n(function(s,i,u){return i.length>0&&s(r(i,u))})},53163(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i={},u=0;u<a.length;)a[u]in s&&(i[a[u]]=s[a[u]]),u+=1;return i})},56100(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i={},u=0,l=a.length;u<l;){var m=a[u];i[m]=s[m],u+=1}return i})},7850(f,d,e){var n=e(55926);f.exports=n(function(a,s){var i={};for(var u in s)a(s[u],u,s)&&(i[u]=s[u]);return i})},80070(f,d,e){var n=e(19748),r=e(18809),a=e(23144),s=e(44348);f.exports=function(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],s(arguments)))}},17301(f,d,e){var n=e(87195),r=e(46618);f.exports=function(){if(arguments.length===0)throw new Error("pipeK requires at least one argument");return n.apply(this,r(arguments))}},82852(f,d,e){var n=e(19748),r=e(31557),a=e(23144),s=e(44348);f.exports=function(){if(arguments.length===0)throw new Error("pipeP requires at least one argument");return n(arguments[0].length,a(r,arguments[0],s(arguments)))}},29921(f,d,e){var n=e(55926),r=e(41422),a=e(12379);f.exports=n(function(i,u){return r(a(i),u)})},59888(f,d,e){var n=e(37949),r=e(55926);f.exports=r(function(s,i){return n([s],i)})},38103(f,d,e){var n=e(51738),r=e(23144);f.exports=r(n,1)},1213(f,d,e){var n=e(79283),r=e(8628),a=e(56100),s=e(5191);f.exports=s(n,[a,r])},12379(f,d,e){var n=e(55926);f.exports=n(function(a,s){return s[a]})},66457(f,d,e){var n=e(74165),r=e(9967);f.exports=n(function(s,i,u){return r(i,u[s])})},70531(f,d,e){var n=e(74165),r=e(26538);f.exports=n(function(s,i,u){return r(s,u[i])})},63562(f,d,e){var n=e(74165),r=e(84181);f.exports=n(function(s,i,u){return u!=null&&r(i,u)?u[i]:s}
710)},34558(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(i[s])})},62510(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=a.length,u=[],l=0;l<i;)u[l]=s[a[l]],l+=1;return u})},24249(f,d,e){var n=e(55926),r=e(91912);f.exports=n(function(s,i){if(!(r(s)&&r(i)))throw new TypeError("Both arguments to range must be numbers");for(var u=[],l=s;l<i;)u.push(l),l+=1;return u})},23144(f,d,e){var n=e(74165),r=e(36711);f.exports=n(r)},5225(f,d,e){var n=e(19138),r=e(60731),a=e(84181),s=e(36711),i=e(50050);f.exports=n(4,[],r([],i,function(l,m,g,h){return s(function(v,x){var T=g(x);return v[T]=l(a(T,v)?v[T]:m,x),v},{},h)}))},55500(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=i.length-1;u>=0;)s=a(i[u],s),u-=1;return s})},33835(f,d,e){var n=e(19138),r=e(36711),a=e(74923);f.exports=n(4,[],function(i,u,l,m){return r(function(g,h){return i(g,h)?u(g,h):a(g)},l,m)})},19142(f,d,e){var n=e(75571),r=e(74923);f.exports=n(r)},23525(f,d,e){var n=e(37665),r=e(55926),a=e(31544);f.exports=r(function(i,u){return a(n(i),u)})},76834(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){var u=Array.prototype.slice.call(i,0);return u.splice(a,s),u})},70801(f,d,e){var n=e(55926),r=e(4239),a=e(7050);f.exports=n(function(i,u){return a(r(i),u)})},85052(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return i.replace(a,s)})},46618(f,d,e){var n=e(75571),r=e(89036);f.exports=n(function(s){return r(s)?s.split("").reverse().join(""):Array.prototype.slice.call(s,0).reverse()})},51563(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=0,l=i.length,m=[s];u<l;)s=a(s,i[u]),m[u+1]=s,u+=1;return m})},80171(f,d,e){var n=e(55926),r=e(35359),a=e(41422),s=e(59888),i=e(55500);f.exports=n(function(l,m){return typeof m.sequence=="function"?m.sequence(l):i(function(g,h){return r(a(s,g),h)},l([]),m)})},79212(f,d,e){var n=e(74165),r=e(4239),a=e(54720);f.exports=n(function(i,u,l){return a(i,r(u),l)})},68510(f,d,e){var n=e(64683),r=e(74165);f.exports=r(n("slice",function(s,i,u){return Array.prototype.slice.call(u,s,i)}))},27198(f,d,e){var n=e(55926);f.exports=n(function(a,s){return Array.prototype.slice.call(s,0).sort(a)})},65923(f,d,e){var n=e(55926);f.exports=n(function(a,s){return Array.prototype.slice.call(s,0).sort(function(i,u){var l=a(i),m=a(u);return l<m?-1:l>m?1:0})})},16794(f,d,e){var n=e(55926);f.exports=n(function(a,s){return Array.prototype.slice.call(s,0).sort(function(i,u){for(var l=0,m=0;l===0&&m<a.length;)l=a[m](i,u),m+=1;return l})})},28876(f,d,e){var n=e(14818);f.exports=n(1,"split")},98581(f,d,e){var n=e(55926),r=e(20746),a=e(68510);f.exports=n(function(i,u){return[a(0,i,u),a(i,r(u),u)]})},15109(f,d,e){var n=e(55926),r=e(68510);f.exports=n(function(s,i){if(s<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var u=[],l=0;l<i.length;)u.push(r(l,l+=s,i));return u})},76960(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=0,u=s.length,l=[];i<u&&!a(s[i]);)l.push(s[i]),i+=1;return[l,Array.prototype.slice.call(s,i)]})},80743(f,d,e){var n=e(55926),r=e(9967),a=e(71605);f.exports=n(function(s,i){return r(a(s.length,i),s)})},56766(f,d,e){var n=e(55926);f.exports=n(function(a,s){return Number(a)-Number(s)})},60443(f,d,e){var n=e(47951),r=e(23144);f.exports=r(n,0)},36604(f,d,e){var n=e(55926),r=e(67970),a=e(1705);f.exports=n(function(i,u){return r(a(i,u),a(u,i))})},91748(f,d,e){var n=e(74165),r=e(67970),a=e(66717);f.exports=n(function(i,u,l){return r(a(i,u,l),a(i,l,u))})},44348(f,d,e){var n=e(64683),r=e(75571),a=e(68510);f.exports=r(n("tail",a(1,1/0)))},71605(f,d,e){var n=e(55926),r=e(60731),a=e(66718),s=e(68510);f.exports=n(r(["take"],a,function(u,l){return s(0,u<0?1/0:u,l)}))},48897(f,d,e){var n=e(55926),r=e(8935);f.exports=n(function(s,i){return r(s>=0?i.length-s:0,i)})},81363(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=s.length-1;i>=0&&a(s[i]);)i-=1;return Array.prototype.slice.call(s,i+1)})},66244(f,d,e){var n=e(55926),r=e(60731),a=e(28065);f.exports=n(r(["takeWhile"],a,function(i,u){for(var l=0,m=u.length;l<m&&i(u[l]);)l+=1;return Array.prototype.slice.call(u,0,l)}))},25785(f,d,e){var n=e(55926);f.exports=n(function(a,s){return a(s),s})},58986(f,d,e){var n=e(79909),r=e(55926),a=e(14432),s=e(1594);f.exports=r(function(u,l){if(!a(u))throw new TypeError("\u2018test\u2019 requires a value of type RegExp as its first argument; received "+s(u));return n(u).test(l)})},7050(f,d,e){var n=e(55926);f.exports=n(function(a,s){var i=Number(s),u=0,l;if(i<0||isNaN(i))throw new RangeError("n must be a non-negative number");for(l=new Array(i);u<i;)l[u]=a(u),u+=1;return l})},11406(f,d,e){var n=e(14818);f.exports=n(0,"toLowerCase")},25326(f,d,e){var n=e(75571),r=e(84181);f.exports=n(function(s){var i=[];for(var u in s)r(u,s)&&(i[i.length]=[u,s[u]]);return i})},7097(f,d,e){var n=e(75571);f.exports=n(function(a){var s=[];for(var i in a)s[s.length]=[i,a[i]];return s})},1594(f,d,e){var n=e(75571),r=e(30045);f.exports=n(function(s){return r(s,[])})},88139(f,d,e){var n=e(14818);f.exports=n(0,"toUpperCase")},71077(f,d,e){var n=e(36711),r=e(40461),a=e(74237);f.exports=a(4,function(i,u,l,m){return n(i(typeof u=="function"?r(u):u),l,m)})},4579(f,d,e){var n=e(75571);f.exports=n(function(a){for(var s=0,i=[];s<a.length;){for(var u=a[s],l=0;l<u.length;)typeof i[l]>"u"&&(i[l]=[]),i[l].push(u[l]),l+=1;s+=1}return i})},7252(f,d,e){var n=e(74165),r=e(41422),a=e(80171);f.exports=n(function(i,u,l){return typeof l["fantasy-land/traverse"]=="function"?l["fantasy-land/traverse"](u,i):a(i,r(u,l))})},83334(f,d,e){var n=e(75571);f.exports=(function(){var r=` 711\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,a="\u200B",s=typeof String.prototype.trim=="function";return!s||r.trim()||!a.trim()?n(function(u){var l=new RegExp("^["+r+"]["+r+"]*"),m=new RegExp("["+r
711+"]["+r+"]*$");return u.replace(l,"").replace(m,"")}):n(function(u){return u.trim()})})()},64606(f,d,e){var n=e(19748),r=e(37949),a=e(55926);f.exports=a(function(i,u){return n(i.length,function(){try{return i.apply(this,arguments)}catch(l){return u.apply(this,r([l],arguments))}})})},27234(f,d,e){var n=e(75571);f.exports=n(function(a){return a===null?"Null":a===void 0?"Undefined":Object.prototype.toString.call(a).slice(8,-1)})},38105(f,d,e){var n=e(75571);f.exports=n(function(a){return function(){return a(Array.prototype.slice.call(arguments,0))}})},82259(f,d,e){var n=e(75571),r=e(96658);f.exports=n(function(s){return r(1,s)})},63630(f,d,e){var n=e(55926),r=e(74237);f.exports=n(function(s,i){return r(s,function(){for(var u=1,l=i,m=0,g;u<=s&&typeof l=="function";)g=u===s?arguments.length:m+l.length,l=l.apply(this,Array.prototype.slice.call(arguments,m,g)),u+=1,m=g;return l})})},89014(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=a(s),u=[];i&&i.length;)u[u.length]=i[0],i=a(i[1]);return u})},98223(f,d,e){var n=e(37949),r=e(55926),a=e(53452),s=e(54331);f.exports=r(a(s,n))},89543(f,d,e){var n=e(37949),r=e(74165),a=e(77011);f.exports=r(function(i,u,l){return a(i,n(u,l))})},54331(f,d,e){var n=e(8628),r=e(19162);f.exports=r(n)},19162(f,d,e){var n=e(18429),r=e(55926);f.exports=r(function(s,i){for(var u=new n,l=[],m=0,g,h;m<i.length;)h=i[m],g=s(h),u.add(g)&&l.push(h),m+=1;return l})},77011(f,d,e){var n=e(97748),r=e(55926);f.exports=r(function(s,i){for(var u=0,l=i.length,m=[],g;u<l;)g=i[u],n(s,g,m)||(m[m.length]=g),u+=1;return m})},60092(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(i)?i:s(i)})},54479(f,d,e){var n=e(75055),r=e(38245);f.exports=r(n)},3568(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=i;!a(u);)u=s(u);return u})},94911(f,d,e){var n=e(74165),r=e(16733),a=e(4239);f.exports=n(function(i,u,l){return r(a(u),i,l)})},5191(f,d,e){var n=e(55926),r=e(74237);f.exports=n(function(s,i){return r(i.length,function(){for(var u=[],l=0;l<i.length;)u.push(i[l].call(this,arguments[l])),l+=1;return s.apply(this,u.concat(Array.prototype.slice.call(arguments,i.length)))})})},88612(f,d,e){var n=e(75571),r=e(62802);f.exports=n(function(s){for(var i=r(s),u=i.length,l=[],m=0;m<u;)l[m]=s[i[m]],m+=1;return l})},88555(f,d,e){var n=e(75571);f.exports=n(function(a){var s,i=[];for(s in a)i[i.length]=a[s];return i})},52123(f,d,e){var n=e(55926);f.exports=(function(){var r=function(a){return{value:a,"fantasy-land/map":function(){return this}}};return n(function(s,i){return s(r)(i).value})})()},56374(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){return a(i)?s(i):i})},85035(f,d,e){var n=e(55926),r=e(84181);f.exports=n(function(s,i){for(var u in s)if(r(u,s)&&!s[u](i[u]))return!1;return!0})},20137(f,d,e){var n=e(55926),r=e(9967),a=e(41422),s=e(85035);f.exports=n(function(u,l){return s(a(r,u),l)})},28956(f,d,e){var n=e(42476),r=e(55926),a=e(26005),s=e(23525);f.exports=r(function(i,u){return s(a(n)(i),u)})},35565(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=0,u=a.length,l,m=s.length,g=[];i<u;){for(l=0;l<m;)g[g.length]=[a[i],s[l]],l+=1;i+=1}return g})},12495(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=[],u=0,l=Math.min(a.length,s.length);u<l;)i[u]=[a[u],s[u]],u+=1;return i})},85318(f,d,e){var n=e(55926);f.exports=n(function(a,s){for(var i=0,u=Math.min(a.length,s.length),l={};i<u;)l[a[i]]=s[i],i+=1;return l})},76935(f,d,e){var n=e(74165);f.exports=n(function(a,s,i){for(var u=[],l=0,m=Math.min(s.length,i.length);l<m;)u[l]=a(s[l],i[l]),l+=1;return u})},56360(f,d,e){var n=e(70635),r=n(!0);f.exports=r},70635(f,d,e){var n=e(7359),r=n(function(s){return function(){return s}});f.exports=r},7963(f,d,e){var n=e(2881),r=n(function(s,i,u){var l={};for(var m in u)l[m]=u[m];return l[s]=i,l});f.exports=r},59417(f,d,e){var n=e(2536),r=e(48978),a=r(function(i,u){return n(i.length,function(){return i.apply(u,arguments)})});f.exports=a},80342(f,d,e){var n=e(2536),r=e(7359),a=e(37114),s=e(5218),i=e(13380),u=r(function(m){var g=i(s,0,a(function(h){return h[0].length},m));return n(g,function(){for(var h=0;h<m.length;){if(m[h][0].apply(this,arguments))return m[h][1].apply(this,arguments);h+=1}})});f.exports=u},1555(f,d,e){var n=e(48978),r=e(72215),a=e(65721),s=e(5218),i=e(4101),u=e(13380),l=n(function(g,h){return a(u(s,0,i("length",h)),function(){var v=arguments,x=this;return g.apply(x,r(function(T){return T.apply(x,v)},h))})});f.exports=l},49659(f,d,e){var n=e(7359),r=e(65721),a=n(function(i){return r(i.length,i)});f.exports=a},65721(f,d,e){var n=e(2536),r=e(7359),a=e(48978),s=e(19238),i=a(function(l,m){return l===1?r(m):n(l,s(l,[],m))});f.exports=i},55337(f,d,e){var n=e(48978),r=n(function(s,i){var u={};for(var l in i)u[l]=i[l];return delete u[s],u});f.exports=r},9759(f,d,e){var n=e(48978),r=n(function(s,i){return s in i});f.exports=r},67560(f,d,e){var n=e(7359),r=e(27691),a=n(r);f.exports=a},2536(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,s){return n.apply(this,arguments)};case 4:return function(r,a,s,i){return n.apply(this,arguments)};case 5:return function(r,a,s,i,u){return n.apply(this,arguments)};case 6:return function(r,a,s,i,u,l){return n.apply(this,arguments)};case 7:return function(r,a,s,i,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,s,i,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,s,i,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,s,i,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},7359(f,d,e){var n=e(9004);function r(a){return function s(i){return arguments.length===0||n(i)?s:a.apply(this,arguments)}}f.exports=r},48978(f,d,e){var n=e(7359),r=e(9004);function a(s){return function i(u,l){switch(arguments.length){case 0:return i;case 1:return r(u)?i:n(function(m){return s(u,m)});default:return r(u)&&r(l)?i:r(u)?n(function(m){return s(m,l)}):r(l)?n(function(m){return s(u,m)}):s(u,l)}}}f.exports=a},2881(f,d,e){var n=e(7359),r=e(48978),a=e(9004);function s(i){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return i(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return i(h,m,v)}):a(m)?r(function(h,v){return i(l,h,v)}):n(function(h){return i(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return i(h,v,g)}):a(l)&&a(g)?r(function(h,v){return i(h,m,v)}):a(m)&&a(g)?r(function(h,v){return i(l,h,v)}):a(l)?n(function(h){return i(h,m,g)}):a(m)?n(function(h){return i(l,h,g)}):a(g)?n(function(h){return i(l,m,h)}):i(l,m,g)}}}f.exports=s},19238(f,d,e){var n=e(2536),r=e(9004);function a(s,i,u){return function(){for(var l=[],m=0,g=s,h=0;h<i.length||m<arguments.length;){var v;h<i.length&&(!r(i[h])||m>=arguments.length)?v=i[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(s,l,u))}}f.exports=a},70255(f,d,e){var n=e(72480),r=e(32662);function a(s,i,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<s.length;){if(typeof m[s[g]]=="function")return m[s[g]].apply(m,l);g+=1}if(r(m)){var h=i.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},45025(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},27691(f){function d(e){return e}f.exports=d},37733(f,d,e){var n=e(45025),r=Object.prototype.toString,a=function(){return r.call(arguments)==="[object Arguments]"?function(i){return r.call(i)==="[object Arguments]"}:function(i){return n("callee",i)}};f.exports=a},72480(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},45559(f,d,e){var n=e(7359),r=e(72480),a=e(65032),s=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=s},86524(f){function d(e){return Object.prototype.toString.call(e)==="[object Number]"}f.exports=d},9004(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},65032(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},32662(f){function d(e){return typeof e["@@transducer/step"]=="function"}f.exports=d},72215(f){function d(e,n){for(var r=0,a=n.length,s=Array(a);r<a;)s[r]=e(n[r]),r+=1;return s}f.exports=d},25083(f,d,e){var n=e(45559),r=e(72753),a=e(59417);function s(g,h,v){for(var x=0,T=v.length;x<T;){if(h=g["@@transducer/step"](h,v[x]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var x=v.next();!x.done;){if(h=g["@@transducer/step"](h,x.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,x){return g["@@transducer/result"](v[x](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return s(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return i(g,h,v[l]());if(typeof v.next=="function")return i(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},93234(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},80027(f,d,e){var n=e(48978),r=e(93234),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},72753(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},85206(f,d,e){var n=e(7359),r=e(45025),a=e(37733),s=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
711ing"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(v,x){for(var T=0;T<v.length;){if(v[T]===x)return!0;T+=1}return!1},m=typeof Object.keys=="function"&&!u?function(v){return Object(v)!==v?[]:Object.keys(v)}:function(v){if(Object(v)!==v)return[];var x,T,E=[],_=u&&a(v);for(x in v)r(x,v)&&(!_||x!=="length")&&(E[E.length]=x);if(s)for(T=i.length-1;T>=0;)x=i[T],r(x,v)&&!l(E,x)&&(E[E.length]=x),T-=1;return E},g=n(m);f.exports=g},45614(f,d,e){var n=e(7359),r=e(86524),a=n(function(i){return i!=null&&r(i.length)?i.length:NaN});f.exports=a},37114(f,d,e){var n=e(48978),r=e(70255),a=e(72215),s=e(25083),i=e(80027),u=e(65721),l=e(85206),m=n(r(["fantasy-land/map","map"],i,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return s(function(x,T){return x[T]=h(v[T]),x},{},l(v));default:return a(h,v)}}));f.exports=m},5218(f,d,e){var n=e(48978),r=n(function(s,i){return i>s?i:s});f.exports=r},69657(f,d,e){var n=e(48978),r=n(function(s,i){for(var u=i,l=0;l<s.length;){if(u==null)return;u=u[s[l]],l+=1}return u});f.exports=r},4101(f,d,e){var n=e(48978),r=e(37114),a=e(48063),s=n(function(u,l){return r(a(u),l)});f.exports=s},48063(f,d,e){var n=e(48978),r=e(69657),a=n(function(i,u){return r([i],u)});f.exports=a},13380(f,d,e){var n=e(2881),r=e(25083),a=n(r);f.exports=a},43953(f,d,e){var n=e(25083),r=e(72753),a=e(65721),s=a(4,function(u,l,m,g){return n(u(typeof l=="function"?r(l):l),m,g)});f.exports=s},24362(f,d,e){var n=e(48978),r=e(65721),a=n(function(i,u){return r(i,function(){for(var l=1,m=u,g=0,h;l<=i&&typeof m=="function";)h=l===i?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},98080(f,d,e){var n=e(7359),r=e(85206),a=n(function(i){for(var u=r(i),l=u.length,m=[],g=0;g<l;)m[g]=i[u[g]],g+=1;return m});f.exports=a},64666(f,d,e){var n=e(2881),r=n(function(s,i,u){return s(u)?i(u):u});f.exports=r},68687(f,d,e){var n=e(74890),r=e(76228),a=r(function(i,u){return n(i.length,function(){return i.apply(u,arguments)})});f.exports=a},87655(f,d,e){var n=e(74890),r=e(58285),a=e(76228),s=e(77216),i=a(function(l,m){return l===1?r(m):n(l,s(l,[],m))});f.exports=i},64437(f,d,e){var n=e(76228),r=e(94910),a=n(function(i,u){return r(i,u,[],[])});f.exports=a},81433(f,d,e){var n=e(76228),r=n(function a(s,i){var u=i instanceof Array?[]:{},l,m,g;for(m in i)l=s[m],g=typeof l,u[m]=g==="function"?l(i[m]):l&&g==="object"?a(l,i[m]):i[m];return u});f.exports=r},79882(f,d,e){var n=e(76228),r=e(25077),a=e(22393),s=e(14064),i=e(18141),u=e(47969),l=e(69084),m=n(r(["filter"],u,function(g,h){return s(h)?i(function(v,x){return g(h[x])&&(v[x]=h[x]),v},{},l(h)):a(g,h)}));f.exports=m},74890(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,s){return n.apply(this,arguments)};case 4:return function(r,a,s,i){return n.apply(this,arguments)};case 5:return function(r,a,s,i,u){return n.apply(this,arguments)};case 6:return function(r,a,s,i,u,l){return n.apply(this,arguments)};case 7:return function(r,a,s,i,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,s,i,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,s,i,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,s,i,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},25752(f){function d(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}f.exports=d},34365(f,d,e){var n=e(16442);function r(a,s){return function(){var i=arguments.length;if(i===0)return s();var u=arguments[i-1];return n(u)||typeof u[a]!="function"?s.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,i-1))}}f.exports=r},61267(f){function d(e){return function(){return!e.apply(this,arguments)}}f.exports=d},58285(f,d,e){var n=e(23762);function r(a){return function s(i){return arguments.length===0||n(i)?s:a.apply(this,arguments)}}f.exports=r},76228(f,d,e){var n=e(58285),r=e(23762);function a(s){return function i(u,l){switch(arguments.length){case 0:return i;case 1:return r(u)?i:n(function(m){return s(u,m)});default:return r(u)&&r(l)?i:r(u)?n(function(m){return s(m,l)}):r(l)?n(function(m){return s(u,m)}):s(u,l)}}}f.exports=a},81899(f,d,e){var n=e(58285),r=e(76228),a=e(23762);function s(i){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return i(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return i(h,m,v)}):a(m)?r(function(h,v){return i(l,h,v)}):n(function(h){return i(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return i(h,v,g)}):a(l)&&a(g)?r(function(h,v){return i(h,m,v)}):a(m)&&a(g)?r(function(h,v){return i(l,h,v)}):a(l)?n(function(h){return i(h,m,g)}):a(m)?n(function(h){return i(l,h,g)}):a(g)?n(function(h){return i(l,m,h)}):i(l,m,g)}}}f.exports=s},77216(f,d,e){var n=e(74890),r=e(23762);function a(s,i,u){return function(){for(var l=[],m=0,g=s,h=0;h<i.length||m<arguments.length;){var v;h<i.length&&(!r(i[h])||m>=arguments.length)?v=i[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(s,l,u))}}f.exports=a},25077(f,d,e){var n=e(16442),r=e(34700);function a(s,i,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<s.length;){if(typeof m[s[g]]=="function")return m[s[g]].apply(m,l);g+=1}if(r(m)){var h=i.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},94910(f,d,e){var n=e(25752),r=e(16502),a=e(11172),s=e(44715),i=e(81268),u=e(69084),l=e(61964);function m(h,v,x,T){var E=n(h),_=n(v);function C(P,k){return g(P,k,x.slice(),T.slice())}return!r(function(P,k){return!r(C,k,P)},_,E)}function g(h,v,x,T){if(i(h,v))return!0;var E=l(h);if(E!==l(v)||h==null||v==null)return!1;if(typeof h["fantasy-land/equals"]=="function"||typeof v["fantasy-land/equals"]=="function")return typeof h["fantasy-land/equals"]=="function"&&h["fantasy-land/equals"](v)&&typeof v["fantasy-land/equals"]=="function"&&v["fantasy-land/equals"](h);if(typeof h.equals=="function"||typeof v.equals=="function")return typeof h.equals=="function"&&h.equals(v)&&typeof v.equals=="function"&&v.equals(h);switch(E){case"Arguments":case"Array":case"Object":if(typeof h.constructor=="function"&&a(h.constructor)==="Promise")return h===v;break;case"Boolean":case"Number":case"String":if(!(typeof h==typeof v&&i(h.valueOf(),v.valueOf())))return!1;break;case"Date":if(!i(h.valueOf(),v.valueOf()))return!1;break;case"Error":return h.name===v.name&&h.message===v.message;case"RegExp":if(!(h.source===v.source&&h.global===v.global&&h.ignoreCase===v.ignoreCase&&h.multiline===v.multiline&&h.sticky===v.sticky&&h.unicode===v.unicode))return!1;break}for(var _=x.length-1;_>=0;){if(x[_]===h)return T[_]===v;_-=1}switch(E){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),x.concat([h]),T.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),x.concat([h]),T.concat([v]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var C=u(h);if(C.length!==u(v).length)return!1;var P=x.concat([h]),k=T.concat([v]);for(_=C.length-1;_>=0;){var D=C[_];
711if(!(s(D,v)&&g(v[D],h[D],P,k)))return!1;_-=1}return!0}f.exports=g},22393(f){function d(e,n){for(var r=0,a=n.length,s=[];r<a;)e(n[r])&&(s[s.length]=n[r]),r+=1;return s}f.exports=d},11172(f){function d(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}f.exports=d},44715(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},37914(f,d,e){var n=e(91794);function r(a,s){return n(s,a,0)>=0}f.exports=r},16502(f){function d(e,n,r){for(var a=0,s=r.length;a<s;){if(e(n,r[a]))return!0;a+=1}return!1}f.exports=d},91794(f,d,e){var n=e(64437);function r(a,s,i){var u,l;if(typeof a.indexOf=="function")switch(typeof s){case"number":if(s===0){for(u=1/s;i<a.length;){if(l=a[i],l===0&&1/l===u)return i;i+=1}return-1}else if(s!==s){for(;i<a.length;){if(l=a[i],typeof l=="number"&&l!==l)return i;i+=1}return-1}return a.indexOf(s,i);case"string":case"boolean":case"function":case"undefined":return a.indexOf(s,i);case"object":if(s===null)return a.indexOf(s,i)}for(;i<a.length;){if(n(a[i],s))return i;i+=1}return-1}f.exports=r},88471(f,d,e){var n=e(44715),r=Object.prototype.toString,a=(function(){return r.call(arguments)==="[object Arguments]"?function(i){return r.call(i)==="[object Arguments]"}:function(i){return n("callee",i)}})();f.exports=a},16442(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},45157(f,d,e){var n=e(58285),r=e(16442),a=e(69438),s=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=s},37075(f){function d(e){return Object.prototype.toString.call(e)==="[object Function]"}f.exports=d},14064(f){function d(e){return Object.prototype.toString.call(e)==="[object Object]"}f.exports=d},23762(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},69438(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},34700(f){function d(e){return e!=null&&typeof e["@@transducer/step"]=="function"}f.exports=d},41829(f){function d(e,n){for(var r=0,a=n.length,s=Array(a);r<a;)s[r]=e(n[r]),r+=1;return s}f.exports=d},81268(f){function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=typeof Object.is=="function"?Object.is:d},29655(f){function d(e,n){return function(){return n.call(this,e.apply(this,arguments))}}f.exports=d},78719(f){function d(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}f.exports=d},18141(f,d,e){var n=e(45157),r=e(56999),a=e(68687);function s(g,h,v){for(var x=0,T=v.length;x<T;){if(h=g["@@transducer/step"](h,v[x]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var x=v.next();!x.done;){if(h=g["@@transducer/step"](h,x.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,x){return g["@@transducer/result"](v[x](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return s(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return i(g,h,v[l]());if(typeof v.next=="function")return i(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},77188(f){var d=function(r){return(r<10?"0":"")+r},e=typeof Date.prototype.toISOString=="function"?function(r){return r.toISOString()}:function(r){return r.getUTCFullYear()+"-"+d(r.getUTCMonth()+1)+"-"+d(r.getUTCDate())+"T"+d(r.getUTCHours())+":"+d(r.getUTCMinutes())+":"+d(r.getUTCSeconds())+"."+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};f.exports=e},46751(f,d,e){var n=e(37914),r=e(41829),a=e(78719),s=e(77188),i=e(69084),u=e(46019);function l(m,g){var h=function(E){var _=g.concat([m]);return n(E,_)?"<Circular>":l(E,_)},v=function(T,E){return r(function(_){return a(_)+": "+h(T[_])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},i(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(s(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);
711case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var x=m.toString();if(x!=="[object Object]")return x}return"{"+v(m,i(m)).join(", ")+"}"}}f.exports=l},96120(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},47969(f,d,e){var n=e(76228),r=e(96120),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.f(l)?this.xf["@@transducer/step"](u,l):u},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},91341(f,d,e){var n=e(76228),r=e(96120),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},56999(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},36516(f,d,e){var n=e(76228),r=e(37075),a=e(87655),s=e(81528),i=n(function(l,m){return a(l+1,function(){var g=arguments[l];if(g!=null&&r(g[m]))return g[m].apply(g,Array.prototype.slice.call(arguments,0,l));throw new TypeError(s(g)+' does not have a method named "'+m+'"')})});f.exports=i},68116(f,d,e){var n=e(36516),r=n(1,"join");f.exports=r},69084(f,d,e){var n=e(58285),r=e(44715),a=e(88471),s=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(h,v){for(var x=0;x<h.length;){if(h[x]===v)return!0;x+=1}return!1},m=n(typeof Object.keys=="function"&&!u?function(h){return Object(h)!==h?[]:Object.keys(h)}:function(h){if(Object(h)!==h)return[];var v,x,T=[],E=u&&a(h);for(v in h)r(v,h)&&(!E||v!=="length")&&(T[T.length]=v);if(s)for(x=i.length-1;x>=0;)v=i[x],r(v,h)&&!l(T,v)&&(T[T.length]=v),x-=1;return T});f.exports=m},2884(f,d,e){var n=e(76228),r=e(25077),a=e(41829),s=e(18141),i=e(91341),u=e(87655),l=e(69084),m=n(r(["fantasy-land/map","map"],i,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return s(function(x,T){return x[T]=h(v[T]),x},{},l(v));default:return a(h,v)}}));f.exports=m},77372(f,d,e){var n=e(76228),r=n(function(s,i){return s*i});f.exports=r},95453(f,d,e){var n=e(76228),r=n(function(s,i){for(var u={},l={},m=0,g=s.length;m<g;)l[s[m]]=1,m+=1;for(var h in i)l.hasOwnProperty(h)||(u[h]=i[h]);return u});f.exports=r},78717(f,d,e){var n=e(76228),r=n(function(s,i){for(var u={},l=0;l<s.length;)s[l]in i&&(u[s[l]]=i[s[l]]),l+=1;return u});f.exports=r},95272(f,d,e){var n=e(74890),r=e(29655),a=e(6370),s=e(52110);function i(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],s(arguments)))}f.exports=i},6370(f,d,e){var n=e(81899),r=e(18141),a=n(r);f.exports=a},46019(f,d,e){var n=e(61267),r=e(76228),a=e(79882),s=r(function(u,l){return a(n(u),l)});f.exports=s},38300(f,d,e){var n=e(34365),r=e(81899),a=r(n("slice",function(i,u,l){return Array.prototype.slice.call(l,i,u)}));f.exports=a},52110(f,d,e){var n=e(34365),r=e(58285),a=e(38300),s=r(n("tail",a(1,1/0)));f.exports=s},71920(f,d,e){var n=e(58285),r=e(44715),a=n(function(i){var u=[];for(var l in i)r(l,i)&&(u[u.length]=[l,i[l]]);return u});f.exports=a},81528(f,d,e){var n=e(58285),r=e(46751),a=n(function(i){return r(i,[])});f.exports=a},61964(f,d,e){var n=e(58285),r=n(function(s){return s===null?"Null":s===void 0?"Undefined":Object.prototype.toString.call(s).slice(8,-1)});f.exports=r},76212(f,d,e){var n=e(76228),r=e(87655),a=n(function(i,u){return r(i,function(){for(var l=1,m=u,g=0,h;l<=i&&typeof m=="function";)h=l===i?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},78696(f,d,e){var n=e(81899),r=n(function(s,i,u){return s(u)?i(u):u});f.exports=r},2072(f){var d=function(){return!0};f.exports=d},63579(f,d,e){var n=e(99983),r=n(function(s){return function(){return s}});f.exports=r},87897(f,d,e){var n=e(9442),r=n(function(s,i){return s&&i});f.exports=r},78575(f,d,e){var n=e(99983),r=e(94889),a=e(12466),s=e(26677),i=e(32852),u=n(function(m){return r(i(a,0,s("length",m)),function(){for(var g=0,h=m.length;g<h;){if(m[g].apply(this,arguments))return!0;g+=1}return!1})});f.exports=u},60203(f,d,e){var n=e(18713),r=e(9442),a=e(46347),s=e(45706),i=r(function(l,m){return typeof m["fantasy-land/ap"]=="function"?m["fantasy-land/ap"](l):typeof l.ap=="function"?l.ap(m):typeof l=="function"?function(g){return l(g)(m(g))}:a(function(g,h){return n(g,s(h,m))},[],l)});f.exports=i},86576(f,d,e){var n=e(9442),r=n(function(s,i){return s.apply(this,i)});f.exports=r},61737(f,d,e){var n=e(20952),r=e(9442),a=r(function(i,u){return n(i.length,function(){return i.apply(u,arguments)})});f.exports=a},58613(f,d,e){var n=e(9442),r=e(75169),a=e(87897),s=e(96411),i=n(function(l,m){return r(l)?function(){return l.apply(this,arguments)&&m.apply(this,arguments)}:s(a)(l,m)});f.exports=i},47598(f,d,e){var n=e(96411),r=e(43517),a=n(r);f.exports=a},82336(f,d,e){var n=e(4714),r=e(46894);function a(){if(arguments.length===0)throw new Error("compose requires at least one argument");return n.apply(this,r(arguments))}f.exports=a},84978(f,d,e){var n=e(33184),r=e(46894);function a(){if(arguments.length===0)throw new Error("composeP requires at least one argument");return n.apply(this,r(arguments))}f.exports=a},80294(f,d,e){var n=e(9442),r=e(85904),a=e(75169),s=e(16248),i=e(6414),u=n(function(m,g){if(r(m)){if(r(g))return m.concat(g);throw new TypeError(i(g)+" is not an array")}if(s(m)){if(s(g))return m+g;throw new TypeError(i(g)+" is not a string")}if(m!=null&&a(m["fantasy-land/concat"]))return m["fantasy-land/concat"](g);if(m!=null&&a(m.concat))return m.concat(g);
711throw new TypeError(i(m)+' does not have a method named "concat" or "fantasy-land/concat"')});f.exports=u},54411(f,d,e){var n=e(99983),r=e(94889),a=n(function(i){return r(i.length,i)});f.exports=a},94889(f,d,e){var n=e(20952),r=e(99983),a=e(9442),s=e(79382),i=a(function(l,m){return l===1?r(m):n(l,s(l,[],m))});f.exports=i},1680(f,d,e){var n=e(9442),r=n(function(s,i){return i==null||i!==i?s:i});f.exports=r},78365(f,d,e){var n=e(9442),r=e(74009),a=n(function(i,u){for(var l=[],m=0,g=i.length,h=u.length,v=new r,x=0;x<h;x+=1)v.add(u[x]);for(;m<g;)v.add(i[m])&&(l[l.length]=i[m]),m+=1;return l});f.exports=a},11993(f,d,e){var n=e(9442),r=n(function(s,i){var u={};for(var l in i)u[l]=i[l];return delete u[s],u});f.exports=r},50291(f,d,e){var n=e(9442),r=e(75169),a=e(96411),s=e(17411),i=n(function(l,m){return r(l)?function(){return l.apply(this,arguments)||m.apply(this,arguments)}:a(s)(l,m)});f.exports=i},6067(f,d,e){var n=e(9442),r=e(91712),a=n(function(i,u){return r(i,u,[],[])});f.exports=a},3252(f,d,e){var n=e(9442),r=e(1887),a=e(24055),s=e(14538),i=e(46347),u=e(28875),l=e(51462),m=n(r(["filter"],u,function(g,h){return s(h)?i(function(v,x){return g(h[x])&&(v[x]=h[x]),v},{},l(h)):a(g,h)}));f.exports=m},31904(f,d,e){var n=e(9442),r=e(88251),a=n(function(i,u){return r([i],u)});f.exports=a},88251(f,d,e){var n=e(9442),r=e(52017),a=e(56731),s=n(function(u,l){if(u.length===0||a(l))return!1;for(var m=l,g=0;g<u.length;)if(!a(m)&&r(u[g],m))m=m[u[g]],g+=1;else return!1;return!0});f.exports=s},78312(f,d,e){var n=e(11505),r=e(94889),a=n(function(i,u,l){return r(Math.max(i.length,u.length,l.length),function(){return i.apply(this,arguments)?u.apply(this,arguments):l.apply(this,arguments)})});f.exports=a},74009(f,d,e){var n=e(77596),r=(function(){function s(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return s.prototype.add=function(i){return!a(i,!0,this)},s.prototype.has=function(i){return a(i,!1,this)},s})();function a(s,i,u){var l=typeof s,m,g;switch(l){case"string":case"number":return s===0&&1/s===-1/0?u._items["-0"]?!0:(i&&(u._items["-0"]=!0),!1):u._nativeSet!==null?i?(m=u._nativeSet.size,u._nativeSet.add(s),g=u._nativeSet.size,g===m):u._nativeSet.has(s):l in u._items?s in u._items[l]?!0:(i&&(u._items[l][s]=!0),!1):(i&&(u._items[l]={},u._items[l][s]=!0),!1);case"boolean":if(l in u._items){var h=s?1:0;return u._items[l][h]?!0:(i&&(u._items[l][h]=!0),!1)}else return i&&(u._items[l]=s?[!1,!0]:[!0,!1]),!1;case"function":return u._nativeSet!==null?i?(m=u._nativeSet.size,u._nativeSet.add(s),g=u._nativeSet.size,g===m):u._nativeSet.has(s):l in u._items?n(s,u._items[l])?!0:(i&&u._items[l].push(s),!1):(i&&(u._items[l]=[s]),!1);case"undefined":return u._items[l]?!0:(i&&(u._items[l]=!0),!1);case"object":if(s===null)return u._items.null?!0:(i&&(u._items.null=!0),!1);default:return l=Object.prototype.toString.call(s),l in u._items?n(s,u._items[l])?!0:(i&&u._items[l].push(s),!1):(i&&(u._items[l]=[s]),!1)}}f.exports=r},20952(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,s){return n.apply(this,arguments)};case 4:return function(r,a,s,i){return n.apply(this,arguments)};case 5:return function(r,a,s,i,u){return n.apply(this,arguments)};case 6:return function(r,a,s,i,u,l){return n.apply(this,arguments)};case 7:return function(r,a,s,i,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,s,i,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,s,i,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,s,i,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},75898(f){function d(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}f.exports=d},75311(f,d,e){var n=e(85904);function r(a,s){return function(){var i=arguments.length;if(i===0)return s();var u=arguments[i-1];return n(u)||typeof u[a]!="function"?s.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,i-1))}}f.exports=r},98101(f){function d(e){return function(){return!e.apply(this,arguments)}}f.exports=d},18713(f){function d(e,n){e=e||[],n=n||[];var r,a=e.length,s=n.length,i=[];for(r=0;r<a;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=n[r],r+=1;return i}f.exports=d},13625(f,d,e){var n=e(20952),r=e(9442);function a(s){return r(function(i,u){return n(Math.max(0,i.length-u.length),function(){return i.apply(this,s(u,arguments))})})}f.exports=a},99983(f,d,e){var n=e(31196);function r(a){return function s(i){return arguments.length===0||n(i)?s:a.apply(this,arguments)}}f.exports=r},9442(f,d,e){var n=e(99983),r=e(31196);function a(s){return function i(u,l){switch(arguments.length){case 0:return i;case 1:return r(u)?i:n(function(m){return s(u,m)});default:return r(u)&&r(l)?i:r(u)?n(function(m){return s(m,l)}):r(l)?n(function(m){return s(u,m)}):s(u,l)}}}f.exports=a},11505(f,d,e){var n=e(99983),r=e(9442),a=e(31196);function s(i){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return i(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return i(h,m,v)}):a(m)?r(function(h,v){return i(l,h,v)}):n(function(h){return i(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return i(h,v,g)}):a(l)&&a(g)?r(function(h,v){return i(h,m,v)}):a(m)&&a(g)?r(function(h,v){return i(l,h,v)}):a(l)?n(function(h){return i(h,m,g)}):a(m)?n(function(h){return i(l,h,g)}):a(g)?n(function(h){return i(l,m,h)}):i(l,m,g)}}}f.exports=s},79382(f,d,e){var n=e(20952),r=e(31196);function a(s,i,u){return function(){for(var l=[],m=0,g=s,h=0;h<i.length||m<arguments.length;){var v;h<i.length&&(!r(i[h])||m>=arguments.length)?v=i[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(s,l,u))}}f.exports=a},1887(f,d,e){var n=e(85904),r=e(97574);function a(s,i,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<s.length;){if(typeof m[s[g]]=="function")return m[s[g]].apply(m,l);g+=1}if(r(m)){var h=i.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},91712(f,d,e){var n=e(75898),r=e(14340),a=e(96682),s=e(52017),i=e(66550),u=e(51462),l=e(56590);function m(h,v,x,T){var E=n(h),_=n(v);function C(P,k){return g(P,k,x.slice(),T.slice())}return!r(function(P,k){return!r(C,k,P)},_,E)}function g(h,v,x,T){if(i(h,v))return!0;var E=l(h);if(E!==l(v)||h==null||v==null)return!1;if(typeof h["fantasy-land/equals"]=="function"||typeof v["fantasy-land/equals"]=="function")return typeof h["fantasy-land/equals"]=="function"&&h["fantasy-land/equals"](v)&&typeof v["fantasy-land/equals"]=="function"&&v["fantasy-land/equals"](h);if(typeof h.equals=="function"||typeof v.equals=="function")return typeof h.equals=="function"&&h.equals(v)&&typeof v.equals=="function"&&v.equals(h);switch(E){case"Arguments":case"Array":case"Object":if(typeof h.constructor=="function"&&a(h.constructor)==="Promise")return h===v;break;case"Boolean":case"Number":case"String":if(!(typeof h==typeof v&&i(h.valueOf(),v.valueOf())))return!1;break;case"Date":if(!i(h.valueOf(),v.valueOf()))return!1;break;case"Error":return h.name===v.name&&h.message===v.message;case"RegExp":if(!(h.source===v.source&&h.global===v.global&&h.ignoreCase===v.ignoreCase&&h.multiline===v.multiline&&h.sticky===v.sticky&&h.unicode===v.unicode))return!1;break}for(var _=x.length-1;_>=0;){if(x[_]===h)return T[_]===v;_-=1}switch(E){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),x.concat([h]),T.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),x.concat([h]),T.concat([v]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var C=u(h);if(C.length!==u(v).length)return!1;var P=x.concat([h]),k=T.concat([v]);for(_=C.length-1;_>=0;){var D=C[_];
711if(!(s(D,v)&&g(v[D],h[D],P,k)))return!1;_-=1}return!0}f.exports=g},24055(f){function d(e,n){for(var r=0,a=n.length,s=[];r<a;)e(n[r])&&(s[s.length]=n[r]),r+=1;return s}f.exports=d},96682(f){function d(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}f.exports=d},52017(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},77596(f,d,e){var n=e(35496);function r(a,s){return n(s,a,0)>=0}f.exports=r},14340(f){function d(e,n,r){for(var a=0,s=r.length;a<s;){if(e(n,r[a]))return!0;a+=1}return!1}f.exports=d},35496(f,d,e){var n=e(6067);function r(a,s,i){var u,l;if(typeof a.indexOf=="function")switch(typeof s){case"number":if(s===0){for(u=1/s;i<a.length;){if(l=a[i],l===0&&1/l===u)return i;i+=1}return-1}else if(s!==s){for(;i<a.length;){if(l=a[i],typeof l=="number"&&l!==l)return i;i+=1}return-1}return a.indexOf(s,i);case"string":case"boolean":case"function":case"undefined":return a.indexOf(s,i);case"object":if(s===null)return a.indexOf(s,i)}for(;i<a.length;){if(n(a[i],s))return i;i+=1}return-1}f.exports=r},67701(f,d,e){var n=e(52017),r=Object.prototype.toString,a=(function(){return r.call(arguments)==="[object Arguments]"?function(i){return r.call(i)==="[object Arguments]"}:function(i){return n("callee",i)}})();f.exports=a},85904(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},80711(f,d,e){var n=e(99983),r=e(85904),a=e(16248),s=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=s},75169(f){function d(e){var n=Object.prototype.toString.call(e);return n==="[object Function]"||n==="[object AsyncFunction]"||n==="[object GeneratorFunction]"||n==="[object AsyncGeneratorFunction]"}f.exports=d},21107(f){f.exports=Number.isInteger||function(e){return e<<0===e}},14538(f){function d(e){return Object.prototype.toString.call(e)==="[object Object]"}f.exports=d},31196(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},16248(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},97574(f){function d(e){return e!=null&&typeof e["@@transducer/step"]=="function"}f.exports=d},31047(f){function d(e,n){for(var r=0,a=n.length,s=Array(a);r<a;)s[r]=e(n[r]),r+=1;return s}f.exports=d},66550(f){function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=typeof Object.is=="function"?Object.is:d},60309(f){function d(e,n){return function(){return n.call(this,e.apply(this,arguments))}}f.exports=d},8441(f){function d(e,n){return function(){var r=this;return e.apply(r,arguments).then(function(a){return n.call(r,a)})}}f.exports=d},11773(f){function d(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}f.exports=d},46347(f,d,e){var n=e(80711),r=e(20769),a=e(61737);function s(g,h,v){for(var x=0,T=v.length;x<T;){if(h=g["@@transducer/step"](h,v[x]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var x=v.next();!x.done;){if(h=g["@@transducer/step"](h,x.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}x=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,x){return g["@@transducer/result"](v[x](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return s(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return i(g,h,v[l]());if(typeof v.next=="function")return i(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},98562(f){var d=function(r){return(r<10?"0":"")+r},e=typeof Date.prototype.toISOString=="function"?function(r){return r.toISOString()}:function(r){return r.getUTCFullYear()+"-"+d(r.getUTCMonth()+1)+"-"+d(r.getUTCDate())+"T"+d(r.getUTCHours())+":"+d(r.getUTCMinutes())+":"+d(r.getUTCSeconds())+"."+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};f.exports=e}
711,13001(f,d,e){var n=e(77596),r=e(31047),a=e(11773),s=e(98562),i=e(51462),u=e(67513);function l(m,g){var h=function(E){var _=g.concat([m]);return n(E,_)?"<Circular>":l(E,_)},v=function(T,E){return r(function(_){return a(_)+": "+h(T[_])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},i(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(s(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var x=m.toString();if(x!=="[object Object]")return x}return"{"+v(m,i(m)).join(", ")+"}"}}f.exports=l},93602(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},28875(f,d,e){var n=e(9442),r=e(93602),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.f(l)?this.xf["@@transducer/step"](u,l):u},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},33931(f,d,e){var n=e(9442),r=e(93602),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},68024(f,d,e){var n=e(9442),r=e(93602),a=(function(){function i(u,l){this.xf=l,this.f=u}return i.prototype["@@transducer/init"]=r.init,i.prototype["@@transducer/result"]=r.result,i.prototype["@@transducer/step"]=function(u,l){return this.f(l),this.xf["@@transducer/step"](u,l)},i})(),s=n(function(u,l){return new a(u,l)});f.exports=s},20769(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},94262(f,d,e){var n=e(9442),r=n(function(s,i){return i!=null&&i.constructor===s||i instanceof s});f.exports=r},56731(f,d,e){var n=e(99983),r=n(function(s){return s==null});f.exports=r},51462(f,d,e){var n=e(99983),r=e(52017),a=e(67701),s=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(h,v){for(var x=0;x<h.length;){if(h[x]===v)return!0;x+=1}return!1},m=n(typeof Object.keys=="function"&&!u?function(h){return Object(h)!==h?[]:Object.keys(h)}:function(h){if(Object(h)!==h)return[];var v,x,T=[],E=u&&a(h);for(v in h)r(v,h)&&(!E||v!=="length")&&(T[T.length]=v);if(s)for(x=i.length-1;x>=0;)v=i[x],r(v,h)&&!l(T,v)&&(T[T.length]=v),x-=1;return T});f.exports=m},96411(f,d,e){var n=e(99983),r=e(91641),a=n(function(i){return r(i.length,i)});f.exports=a},91641(f,d,e){var n=e(9442),r=e(46347),a=e(60203),s=e(94889),i=e(45706),u=n(function(m,g){var h=s(m,g);return s(m,function(){return r(a,i(h,arguments[0]),Array.prototype.slice.call(arguments,1))})});f.exports=u},43015(f,d,e){var n=e(9442),r=n(function(s,i){return s<=i});f.exports=r},45706(f,d,e){var n=e(9442),r=e(1887),a=e(31047),s=e(46347),i=e(33931),u=e(94889),l=e(51462),m=n(r(["fantasy-land/map","map"],i,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return s(function(x,T){return x[T]=h(v[T]),x},{},l(v));default:return a(h,v)}}));f.exports=m},12466(f,d,e){var n=e(9442),r=n(function(s,i){return i>s?i:s});f.exports=r},40376(f,d,e){var n=e(20952),r=e(9442),a=e(52017),s=r(function(u,l){var m={};return n(l.length,function(){var g=u.apply(this,arguments);return a(g,m)||(m[g]=l.apply(this,arguments)),m[g]})});f.exports=s},43517(f,d,e){var n=e(99983),r=n(function(s){return!s});f.exports=r},606(f,d,e){var n=e(9442),r=e(16248),a=n(function(i,u){var l=i<0?u.length+i:i;return r(u)?u.charAt(l):u[l]});f.exports=a},17411(f,d,e){var n=e(9442),r=n(function(s,i){return s||i});f.exports=r},11285(f,d,e){var n=e(18713),r=e(13625),a=r(n);f.exports=a},29705(f,d,e){var n=e(9442),r=e(51788),a=n(function(i,u){return r([i],u)[0]});f.exports=a},34919(f,d,e){var n=e(11505),r=e(6067),a=e(29705),s=n(function(u,l,m){return r(a(u,m),l)});f.exports=s},17232(f,d,e){var n=e(11505),r=e(1680),a=e(29705),s=n(function(u,l,m){return r(u,a(l,m))});f.exports=s},39136(f,d,e){var n=e(11505),r=e(29705),a=n(function(i,u,l){return i(r(u,l))});f.exports=a},51788(f,d,e){var n=e(9442),r=e(21107),a=e(606),s=n(function(u,l){return u.map(function(m){for(var g=l,h=0,v;h<m.length;){if(g==null)return;v=m[h],g=r(v)?a(v,g):g[v],h+=1}return g})});f.exports=s},4714(f,d,e){var n=e(20952),r=e(60309),a=e(32852),s=e(31e3);function i(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],s(arguments)))}f.exports=i},33184(f,d,e){var n=e(20952),r=e(8441),a=e(32852),s=e(31e3);function i(){if(arguments.length===0)throw new Error("pipeP requires at least one argument");return n(arguments[0].length,a(r,arguments[0],s(arguments)))}f.exports=i},26677(f,d,e){var n=e(9442),r=e(45706),a=e(46127),s=n(function(u,l){return r(a(u),l)});f.exports=s},46127(f,d,e){var n=e(9442),r=e(29705),a=n(function(i,u){return r([i],u)});f.exports=a},41522(f,d,e){var n=e(11505),r=n(function(s,i,u){return s(u[i])});f.exports=r},32852(f,d,e){var n=e(11505),r=e(46347),a=n(r);f.exports=a},67513(f,d,e){var n=e(98101),r=e(9442),a=e(3252),s=r(function(u,l){return a(n(u),l)});f.exports=s},46894(f,d,e){var n=e(99983),r=e(16248),a=n(function(i){return r(i)?i.split("").reverse().join(""):Array.prototype.slice.call(i,
7110).reverse()});f.exports=a},54690(f,d,e){var n=e(75311),r=e(11505),a=r(n("slice",function(i,u,l){return Array.prototype.slice.call(l,i,u)}));f.exports=a},95736(f,d,e){var n=e(9442),r=e(80294),a=e(78365),s=n(function(u,l){return r(a(u,l),a(l,u))});f.exports=s},31e3(f,d,e){var n=e(75311),r=e(99983),a=e(54690),s=r(n("tail",a(1,1/0)));f.exports=s},60549(f,d,e){var n=e(9442),r=e(1887),a=e(68024),s=n(r([],a,function(u,l){return u(l),l}));f.exports=s},6414(f,d,e){var n=e(99983),r=e(13001),a=n(function(i){return r(i,[])});f.exports=a},56590(f,d,e){var n=e(99983),r=n(function(s){return s===null?"Null":s===void 0?"Undefined":Object.prototype.toString.call(s).slice(8,-1)});f.exports=r},42266(f,d,e){var n=e(9442),r=e(94889),a=n(function(i,u){return r(i,function(){for(var l=1,m=u,g=0,h;l<=i&&typeof m=="function";)h=l===i?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},27256(f,d,e){var n=e(11505),r=n(function(s,i,u){return s(u)?u:i(u)});f.exports=r},10956(f,d,e){(function(n,r){f.exports=r(e(80588))})(typeof self<"u"?self:this,function(n){return(function(r){var a={};function s(i){if(a[i])return a[i].exports;var u=a[i]={i,l:!1,exports:{}};return r[i].call(u.exports,u,u.exports,s),u.l=!0,u.exports}return s.m=r,s.c=a,s.d=function(i,u,l){s.o(i,u)||Object.defineProperty(i,u,{enumerable:!0,get:l})},s.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,u){if(1&u&&(i=s(i)),8&u||4&u&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&u&&typeof i!="string")for(var m in i)s.d(l,m,function(g){return i[g]}.bind(null,m));return l},s.n=function(i){var u=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(u,"a",u),u},s.o=function(i,u){return Object.prototype.hasOwnProperty.call(i,u)},s.p="",s(s.s=2)})([function(r,a){r.exports=n},function(r,a,s){"use strict";var i={linear:function(u,l,m,g){return(m-l)*u/g+l},easeInQuad:function(u,l,m,g){return(m-l)*(u/=g)*u+l},easeOutQuad:function(u,l,m,g){return-(m-l)*(u/=g)*(u-2)+l},easeInOutQuad:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u+l:-h/2*(--u*(u-2)-1)+l},easeInCubic:function(u,l,m,g){return(m-l)*(u/=g)*u*u+l},easeOutCubic:function(u,l,m,g){return(m-l)*((u=u/g-1)*u*u+1)+l},easeInOutCubic:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u+l:h/2*((u-=2)*u*u+2)+l},easeInQuart:function(u,l,m,g){return(m-l)*(u/=g)*u*u*u+l},easeOutQuart:function(u,l,m,g){return-(m-l)*((u=u/g-1)*u*u*u-1)+l},easeInOutQuart:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u*u+l:-h/2*((u-=2)*u*u*u-2)+l},easeInQuint:function(u,l,m,g){return(m-l)*(u/=g)*u*u*u*u+l},easeOutQuint:function(u,l,m,g){return(m-l)*((u=u/g-1)*u*u*u*u+1)+l},easeInOutQuint:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u*u*u+l:h/2*((u-=2)*u*u*u*u+2)+l},easeInSine:function(u,l,m,g){var h=m-l;return-h*Math.cos(u/g*(Math.PI/2))+h+l},easeOutSine:function(u,l,m,g){return(m-l)*Math.sin(u/g*(Math.PI/2))+l},easeInOutSine:function(u,l,m,g){return-(m-l)/2*(Math.cos(Math.PI*u/g)-1)+l},easeInExpo:function(u,l,m,g){return u==0?l:(m-l)*Math.pow(2,10*(u/g-1))+l},easeOutExpo:function(u,l,m,g){var h=m-l;return u==g?l+h:h*(1-Math.pow(2,-10*u/g))+l},easeInOutExpo:function(u,l,m,g){var h=m-l;return u===0?l:u===g?l+h:(u/=g/2)<1?h/2*Math.pow(2,10*(u-1))+l:h/2*(2-Math.pow(2,-10*--u))+l},easeInCirc:function(u,l,m,g){return-(m-l)*(Math.sqrt(1-(u/=g)*u)-1)+l},easeOutCirc:function(u,l,m,g){return(m-l)*Math.sqrt(1-(u=u/g-1)*u)+l},easeInOutCirc:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?-h/2*(Math.sqrt(1-u*u)-1)+l:h/2*(Math.sqrt(1-(u-=2)*u)+1)+l},easeInElastic:function(u,l,m,g){var h,v,x,T=m-l;return x=1.70158,u===0?l:(u/=g)==1?l+T:((v=0)||(v=.3*g),(h=T)<Math.abs(T)?(h=T,x=v/4):x=v/(2*Math.PI)*Math.asin(T/h),-h*Math.pow(2,10*(u-=1))*Math.sin((u*g-x)*(2*Math.PI)/v)+l)},easeOutElastic:function(u,l,m,g){var h,v,x,T=m-l;return x=1.70158,u===0?l:(u/=g)==1?l+T:((v=0)||(v=.3*g),(h=T)<Math.abs(T)?(h=T,x=v/4):x=v/(2*Math.PI)*Math.asin(T/h),h*Math.pow(2,-10*u)*Math.sin((u*g-x)*(2*Math.PI)/v)+T+l)},easeInOutElastic:function(u,l,m,g){var h,v,x,T=m-l;return x=1.70158,u===0?l:(u/=g/2)==2?l+T:((v=0)||(v=g*.44999999999999996),(h=T)<Math.abs(T)?(h=T,x=v/4):x=v/(2*Math.PI)*Math.asin(T/h),u<1?h*Math.pow(2,10*(u-=1))*Math.sin((u*g-x)*(2*Math.PI)/v)*-.5+l:h*Math.pow(2,-10*(u-=1))*Math.sin((u*g-x)*(2*Math.PI)/v)*.5+T+l)},easeInBack:function(u,l,m,g,h){return h===void 0&&(h=1.70158),(m-l)*(u/=g)*u*((h+1)*u-h)+l},easeOutBack:function(u,l,m,g,h){return h===void 0&&(h=1.70158),(m-l)*((u=u/g-1)*u*((h+1)*u+h)+1)+l},easeInOutBack:function(u,l,m,g,h){var v=m-l;return h===void 0&&(h=1.70158),(u/=g/2)<1?v/2*(u*u*((1+(h*=1.525))*u-h))+l:v/2*((u-=2)*u*((1+(h*=1.525))*u+h)+2)+l},easeInBounce:function(u,l,m,g){var h=m-l;return h-i.easeOutBounce(g-u,0,h,g)+l},easeOutBounce:function(u,l,m,g){var h=m-l;return(u/=g)<.36363636363636365?h*(7.5625*u*u)+l:u<.7272727272727273?h*(7.5625*(u-=.5454545454545454)*u+.75
711)+l:u<.9090909090909091?h*(7.5625*(u-=.8181818181818182)*u+.9375)+l:h*(7.5625*(u-=.9545454545454546)*u+.984375)+l},easeInOutBounce:function(u,l,m,g){var h=m-l;return u<g/2?.5*i.easeInBounce(2*u,0,h,g)+l:.5*i.easeOutBounce(2*u-g,0,h,g)+.5*h+l}};r.exports=i},function(r,a,s){r.exports=s(3)},function(r,a,s){"use strict";s.r(a);var i,u,l=s(0),m=s.n(l),g=s(1),h=s.n(g);function v(be,Ie){return be+Math.random()*(Ie-be)}function x(be,Ie){for(var Re=0;Re<Ie.length;Re++){var ye=Ie[Re];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(be,ye.key,ye)}}function T(be,Ie,Re){return Ie in be?Object.defineProperty(be,Ie,{value:Re,enumerable:!0,configurable:!0,writable:!0}):be[Ie]=Re,be}(function(be){be[be.Circle=0]="Circle",be[be.Square=1]="Square",be[be.Strip=2]="Strip"})(i||(i={})),(function(be){be[be.Positive=1]="Positive",be[be.Negative=-1]="Negative"})(u||(u={}));var E=(function(){function be(De,$e,qe,It){(function(Gr,dn){if(!(Gr instanceof dn))throw new TypeError("Cannot call a class as a function")})(this,be),T(this,"context",void 0),T(this,"radius",void 0),T(this,"x",void 0),T(this,"y",void 0),T(this,"w",void 0),T(this,"h",void 0),T(this,"vx",void 0),T(this,"vy",void 0),T(this,"shape",void 0),T(this,"angle",void 0),T(this,"angularSpin",void 0),T(this,"color",void 0),T(this,"rotateY",void 0),T(this,"rotationDirection",void 0),T(this,"getOptions",void 0),this.getOptions=$e;var mt,kt,Ut=this.getOptions(),Ir=Ut.colors,Sr=Ut.initialVelocityX,Yr=Ut.initialVelocityY;this.context=De,this.x=qe,this.y=It,this.w=v(5,20),this.h=v(5,20),this.radius=v(5,10),this.vx=v(-Sr,Sr),this.vy=v(-Yr,0),this.shape=(mt=0,kt=2,Math.floor(mt+Math.random()*(kt-mt+1))),this.angle=v(0,360)*Math.PI/180,this.angularSpin=v(-.2,.2),this.color=Ir[Math.floor(Math.random()*Ir.length)],this.rotateY=v(0,1),this.rotationDirection=v(0,1)?u.Positive:u.Negative}var Ie,Re,ye;return Ie=be,(Re=[{key:"update",value:function(){var De=this.getOptions(),$e=De.gravity,qe=De.wind,It=De.friction,mt=De.opacity,kt=De.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=$e,this.vx+=qe,this.vx*=It,this.vy*=It,this.rotateY>=1&&this.rotationDirection===u.Positive?this.rotationDirection=u.Negative:this.rotateY<=-1&&this.rotationDirection===u.Negative&&(this.rotationDirection=u.Positive);var Ut=.1*this.rotationDirection;if(this.rotateY+=Ut,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=mt,this.context.lineCap="round",this.context.lineWidth=2,kt&&typeof kt=="function")kt.call(this,this.context);else switch(this.shape){case i.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case i.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case i.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&x(Ie.prototype,Re),ye&&x(Ie,ye),be})();function _(be,Ie,Re){return Ie in be?Object.defineProperty(be,Ie,{value:Re,enumerable:!0,configurable:!0,writable:!0}):be[Ie]=Re,be}var C=function be(Ie,Re){var ye=this;(function($e,qe){if(!($e instanceof qe))throw new TypeError("Cannot call a class as a function")})(this,be),_(this,"canvas",void 0),_(this,"context",void 0),_(this,"getOptions",void 0),_(this,"x",0),_(this,"y",0),_(this,"w",0),_(this,"h",0),_(this,"lastNumberOfPieces",0),_(this,"tweenInitTime",Date.now()),_(this,"particles",[]),_(this,"particlesGenerated",0),_(this,"removeParticleAt",function($e){ye.particles.splice($e,1)}),_(this,"getParticle",function(){var $e=v(ye.x,ye.w+ye.x),qe=v(ye.y,ye.h+ye.y);return new E(ye.context,ye.getOptions,$e,qe)}),_(this,"animate",function(){var $e=ye.canvas,qe=ye.context,It=ye.particlesGenerated,mt=ye.lastNumberOfPieces,kt=ye.getOptions(),Ut=kt.run,Ir=kt.recycle,Sr=kt.numberOfPieces,Yr=kt.debug,Gr=kt.tweenFunction,dn=kt.tweenDuration;if(!Ut)return!1;var Kr=ye.particles.length,yt=Ir?Kr:It,tt=Date.now();if(yt<Sr){mt!==Sr&&(ye.tweenInitTime=tt,ye.lastNumberOfPieces=Sr);for(var Ar=ye.tweenInitTime,Mr=Gr(tt-Ar>dn?dn:Math.max(0,tt-Ar),yt,Sr,dn),Er=Math.round(Mr-yt),Ur=0;Ur<Er;Ur++)ye.particles.push(ye.getParticle());ye.particlesGenerated+=Er}return Yr&&(qe.font="12px sans-serif",qe.fillStyle="#333",qe.textAlign="right",qe.fillText("Particles: ".concat(Kr),$e.width-10,$e.height-20)),ye.particles.forEac
711h(function(or,An){or.update(),(or.y>$e.height||or.y<-100||or.x>$e.width+100||or.x<-100)&&(Ir&&yt<=Sr?ye.particles[An]=ye.getParticle():ye.removeParticleAt(An))}),Kr>0||yt<Sr}),this.canvas=Ie;var De=this.canvas.getContext("2d");if(!De)throw new Error("Could not get canvas context");this.context=De,this.getOptions=Re};function P(be,Ie){var Re=Object.keys(be);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(be);Ie&&(ye=ye.filter(function(De){return Object.getOwnPropertyDescriptor(be,De).enumerable})),Re.push.apply(Re,ye)}return Re}function k(be,Ie){for(var Re=0;Re<Ie.length;Re++){var ye=Ie[Re];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(be,ye.key,ye)}}function D(be,Ie,Re){return Ie in be?Object.defineProperty(be,Ie,{value:Re,enumerable:!0,configurable:!0,writable:!0}):be[Ie]=Re,be}var B={width:typeof window<"u"?window.innerWidth:300,height:typeof window<"u"?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:h.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},$=(function(){function be(De,$e){var qe=this;(function(mt,kt){if(!(mt instanceof kt))throw new TypeError("Cannot call a class as a function")})(this,be),D(this,"canvas",void 0),D(this,"context",void 0),D(this,"_options",void 0),D(this,"generator",void 0),D(this,"rafId",void 0),D(this,"setOptionsWithDefaults",function(mt){var kt={confettiSource:{x:0,y:0,w:qe.canvas.width,h:0}};qe._options=(function(Ut){for(var Ir=1;Ir<arguments.length;Ir++){var Sr=arguments[Ir]!=null?arguments[Ir]:{};Ir%2?P(Sr,!0).forEach(function(Yr){D(Ut,Yr,Sr[Yr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ut,Object.getOwnPropertyDescriptors(Sr)):P(Sr).forEach(function(Yr){Object.defineProperty(Ut,Yr,Object.getOwnPropertyDescriptor(Sr,Yr))})}return Ut})({},kt,{},B,{},mt),Object.assign(qe,mt.confettiSource)}),D(this,"update",function(){var mt=qe.options,kt=mt.run,Ut=mt.onConfettiComplete,Ir=qe.canvas,Sr=qe.context;kt&&(Sr.fillStyle="white",Sr.clearRect(0,0,Ir.width,Ir.height)),qe.generator.animate()?qe.rafId=requestAnimationFrame(qe.update):(Ut&&typeof Ut=="function"&&qe.generator.particlesGenerated>0&&Ut.call(qe,qe),qe._options.run=!1)}),D(this,"reset",function(){qe.generator&&qe.generator.particlesGenerated>0&&(qe.generator.particlesGenerated=0,qe.generator.particles=[],qe.generator.lastNumberOfPieces=0)}),D(this,"stop",function(){qe.options={run:!1},qe.rafId&&(cancelAnimationFrame(qe.rafId),qe.rafId=void 0)}),this.canvas=De;var It=this.canvas.getContext("2d");if(!It)throw new Error("Could not get canvas context");this.context=It,this.generator=new C(this.canvas,function(){return qe.options}),this.options=$e,this.update()}var Ie,Re,ye;return Ie=be,(Re=[{key:"options",get:function(){return this._options},set:function(De){var $e=this._options&&this._options.run,qe=this._options&&this._options.recycle;this.setOptionsWithDefaults(De),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof De.recycle=="boolean"&&De.recycle&&qe===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof De.run=="boolean"&&De.run&&$e===!1&&this.update()}}])&&k(Ie.prototype,Re),ye&&k(Ie,ye),be})();function F(be){return(function(Ie){if(Array.isArray(Ie)){for(var Re=0,ye=new Array(Ie.length);Re<Ie.length;Re++)ye[Re]=Ie[Re];return ye}})(be)||(function(Ie){if(Symbol.iterator in Object(Ie)||Object.prototype.toString.call(Ie)==="[object Arguments]")return Array.from(Ie)})(be)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}function V(be){return(V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ie){return typeof Ie}:function(Ie){return Ie&&typeof Symbol=="function"&&Ie.constructor===Symbol&&Ie!==Symbol.prototype?"symbol":typeof Ie})(be)}function W(){return(W=Object.assign||function(be){for(var Ie=1;Ie<arguments.length;Ie++){var Re=arguments[Ie];for(var ye in Re)Object.prototype.hasOwnProperty.call(Re,ye)&&(be[ye]=Re[ye])}return be}).apply(this,arguments)}function Z(be,Ie){var Re=Object.keys(be);
711if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(be);Ie&&(ye=ye.filter(function(De){return Object.getOwnPropertyDescriptor(be,De).enumerable})),Re.push.apply(Re,ye)}return Re}function J(be){for(var Ie=1;Ie<arguments.length;Ie++){var Re=arguments[Ie]!=null?arguments[Ie]:{};Ie%2?Z(Re,!0).forEach(function(ye){Fe(be,ye,Re[ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(be,Object.getOwnPropertyDescriptors(Re)):Z(Re).forEach(function(ye){Object.defineProperty(be,ye,Object.getOwnPropertyDescriptor(Re,ye))})}return be}function ie(be,Ie){return(function(Re){if(Array.isArray(Re))return Re})(be)||(function(Re,ye){var De=[],$e=!0,qe=!1,It=void 0;try{for(var mt,kt=Re[Symbol.iterator]();!($e=(mt=kt.next()).done)&&(De.push(mt.value),!ye||De.length!==ye);$e=!0);}catch(Ut){qe=!0,It=Ut}finally{try{$e||kt.return==null||kt.return()}finally{if(qe)throw It}}return De})(be,Ie)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function le(be,Ie){for(var Re=0;Re<Ie.length;Re++){var ye=Ie[Re];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(be,ye.key,ye)}}function he(be){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(Ie){return Ie.__proto__||Object.getPrototypeOf(Ie)})(be)}function me(be){if(be===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be}function je(be,Ie){return(je=Object.setPrototypeOf||function(Re,ye){return Re.__proto__=ye,Re})(be,Ie)}function Fe(be,Ie,Re){return Ie in be?Object.defineProperty(be,Ie,{value:Re,enumerable:!0,configurable:!0,writable:!0}):be[Ie]=Re,be}s.d(a,"ReactConfetti",function(){return ge});var Je=(function(be){function Ie($e){var qe,It;(function(Ir,Sr){if(!(Ir instanceof Sr))throw new TypeError("Cannot call a class as a function")})(this,Ie);for(var mt=arguments.length,kt=new Array(mt>1?mt-1:0),Ut=1;Ut<mt;Ut++)kt[Ut-1]=arguments[Ut];return It=(function(Ir,Sr){return!Sr||V(Sr)!=="object"&&typeof Sr!="function"?me(Ir):Sr})(this,(qe=he(Ie)).call.apply(qe,[this,$e].concat(kt))),Fe(me(It),"canvas",m.a.createRef()),Fe(me(It),"confetti",void 0),It.canvas=$e.canvasRef||m.a.createRef(),It}var Re,ye,De;return(function($e,qe){if(typeof qe!="function"&&qe!==null)throw new TypeError("Super expression must either be null or a function");$e.prototype=Object.create(qe&&qe.prototype,{constructor:{value:$e,writable:!0,configurable:!0}}),qe&&je($e,qe)})(Ie,l.Component),Re=Ie,(ye=[{key:"componentDidMount",value:function(){if(this.canvas.current){var $e=Xe(this.props)[0];this.confetti=new $(this.canvas.current,$e)}}},{key:"componentWillReceiveProps",value:function($e){var qe=Xe($e)[0];this.confetti&&(this.confetti.options=qe)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var $e=ie(Xe(this.props),2),qe=$e[0],It=$e[1],mt=J({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},It.style);return m.a.createElement("canvas",W({width:qe.width,height:qe.height,ref:this.canvas},It,{style:mt}))}}])&&le(Re.prototype,ye),De&&le(Re,De),Ie})();function Xe(be){var Ie={},Re={},ye=[].concat(F(Object.keys(B)),["confettiSource","drawShape","onConfettiComplete"]),De=["canvasRef"];for(var $e in be){var qe=be[$e];ye.includes($e)?Ie[$e]=qe:De.includes($e)?De[$e]=qe:Re[$e]=qe}return[Ie,Re,{}]}Fe(Je,"defaultProps",J({},B)),Fe(Je,"displayName","ReactConfetti");var ge=m.a.forwardRef(function(be,Ie){return m.a.createElement(Je,W({canvasRef:Ie},be))});a.default=ge}]).default})},26017(f,d,e){var n=e(25412);typeof Object.assign!="function"&&(Object.assign=function(x){"use strict";if(x==null)throw new TypeError("Cannot convert undefined or null to object");x=Object(x);for(var T=1;T<arguments.length;T++){var E=arguments[T];if(E!=null)for(var _ in E)Object.prototype.hasOwnProperty.call(E,_)&&(x[_]=E[_])}return x});var r={},a=void 0;function s(){return!(!a||a.headersSent===!0)}function i(x,T){var E=typeof document>"u"?r:n.parse(document.cookie),_=E&&E[x];if(typeof T>"u"&&(T=!_||_[0]!=="{"&&_[0]!=="["),!T)try{_=JSON.parse(_)}catch{}return _}function u(x){var T=typeof document>"u"?r:n.parse(document.cookie);return T?x?Object.keys(T).reduce(function(E,_){if(!x.test(_))return E;var C={};return C[_]=T[_],Object.assign({},E,C)},{}):T:{}}function l(x,T,E){r[x]=T,typeof T=="object"&&(r[x]=JSON.stringify(T)),typeof document<"u"&&(document.cookie=n.seri
711alize(x,r[x],E)),s()&&a.cookie&&a.cookie(x,T,E)}function m(x,T){delete r[x],typeof T>"u"?T={}:typeof T=="string"?T={path:T}:T=Object.assign({},T),typeof document<"u"&&(T.expires=new Date(1970,1,1,0,0,1),T.maxAge=0,document.cookie=n.serialize(x,"",T)),s()&&a.clearCookie&&a.clearCookie(x,T)}function g(x){x?r=n.parse(x):r={}}function h(x,T){return x.cookie?r=x.cookie:x.cookies?r=x.cookies:x.headers&&x.headers.cookie?g(x.headers.cookie):r={},a=T,function(){a=null,r={}}}var v={load:i,select:u,save:l,remove:m,setRawCookie:g,plugToRequest:h};typeof window<"u"&&(window.reactCookie=v),f.exports=v},59605(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=(function(){function v(x,T){for(var E=0;E<T.length;E++){var _=T[E];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(x,_.key,_)}}return function(x,T,E){return T&&v(x.prototype,T),E&&v(x,E),x}})(),r=e(80588),a=u(r),s=e(88191),i=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function l(v,x){if(!(v instanceof x))throw new TypeError("Cannot call a class as a function")}function m(v,x){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:v}function g(v,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);v.prototype=Object.create(x&&x.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(v,x):v.__proto__=x)}var h=(function(v){g(x,v);function x(){return l(this,x),m(this,(x.__proto__||Object.getPrototypeOf(x)).apply(this,arguments))}return n(x,[{key:"render",value:function(){return a.default.createElement("button",this.props,this.props.children)}}]),x})(a.default.Component);d.default=(0,i.default)(h)},45293(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(E){for(var _=1;_<arguments.length;_++){var C=arguments[_];for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&(E[P]=C[P])}return E},r=(function(){function E(_,C){for(var P=0;P<C.length;P++){var k=C[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(_,k.key,k)}}return function(_,C,P){return C&&E(_.prototype,C),P&&E(_,P),_}})(),a=e(80588),s=g(a),i=e(79511),u=g(i),l=e(98929),m=g(l);function g(E){return E&&E.__esModule?E:{default:E}}function h(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function v(E,_){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:E}function x(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(E,_):E.__proto__=_)}var T=(function(E){x(_,E);function _(){return h(this,_),v(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return r(_,[{key:"render",value:function(){var P=this,k=n({},this.props);return delete k.name,k.parentBindings&&delete k.parentBindings,s.default.createElement("div",n({},k,{ref:function(B){P.props.parentBindings.domNode=B}}),this.props.children)}}]),_})(s.default.Component);T.propTypes={name:m.default.string,id:m.default.string},d.default=(0,u.default)(T)},11149(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(80588),r=i(n),a=e(88191),s=i(a);function i(h){return h&&h.__esModule?h:{default:h}}function u(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function l(h,v){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:h}function m(h,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);h.prototype=Object.create(v&&v.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(h,v):h.__proto__=v)}var g=(function(h){m(v,h);function v(){var x,T,E,_;u(this,v);for(var C=arguments.length,P=Array(C),k=0;k<C;k++)P[k]=arguments[k];return _=(T=(E=l(this,(x=v.__proto__||Object.getPrototypeOf(v)).call.apply(x,[this].concat(P))),E),E.render=function(){return r.default.createElement("a",E.props,E.props.children)},T),l(E,_)}return v})(r.default.Component);d.default=(0,s.default)(g)},41496(f,d,e){"use strict";var n;n={value:!0},n=n=n=n=n=n=n=n=n=n=void 0;var r=e(11149),a=F(r),s=e(59605),i=F(s),u=e(45293),l=F(u),m=e(84129),g=F(m),h=e(18),v=F(h),x=e(35161),T=F(x),E=e(46720),_=F(E),C=e(88191),P=F(C),k=e(79511),D=F(k),B=e(77734),$=F(B);function F(V){return V&&V.__esModule?V:{default:V}}n=a.default,n=i.default,n=l.default,n=g.default,n=v.default,n=T.default,n=_.default,n=P.default,n=D.default,n=$.default,d.Ay={Link:a.default,Button:i.default,Element:l.default,scroller:g.default,Events:v.default,scrollSpy:T.default,animateScroll:_.default,ScrollLink:P.default,ScrollElement:D.default,Helpers:$.default}},77734(f,d,e){"use strict";var n=Object.assign||function(_){for(var C=1;C<arguments.length;C++){var P=arguments[C];for(var k in P)Object.prototype.hasOwnProperty.call(P,k)&&(_[k]=P[k])}return _},r=(function(){function _(C,P){for(var k=0;k<P.length;k++){var D=P[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,P,k){return P&&_(C.prototype,P),k&&_(C,k),C}})();function a(_,C){if(!(_ instanceof C))throw new TypeError("Cannot call a class as a function")}function s(_,C){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:_}function i(_,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);_.prototype=Object.create(C&&C.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(_,C):_.__proto__=C)}var u=e(80588),l=e(63955),m=e(48018),g=e(35161),h=e(84129),v=e(98929),x=e(10191),T={to:v.string.isRequired,containerId:v.string,container:v.object,activeClass:v.string,spy:v.bool,smooth:v.oneOfType([v.bool,v.string]),offset:v.number,delay:v.number,isDynamic:v.bool,onClick:v.func,duration:v.oneOfType([v.number,v.func]),absolute:v.bool,onSetActive:v.func,onSetInactive:v.func,ignoreCancelEvents:v.bool,hashSpy:v.bool,spyThrottle:v.number},E={Scroll:function(C,P){console.warn("Helpers.Scroll is deprecated since v1.7.0");var k=P||h,D=(function($){i(F,$);function F(V){a(this,F);var W=s(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,V));return B.call(W),W.state={active:!1},W}return r(F,[{key:"getScrollSpyContainer",value:function(){var W=this.props.containerId,Z=this.props.container;return W?document.getElementById(W):Z&&Z.nodeType?Z:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var W=this.getScrollSpyContainer();g.isMounted(W)||g.mount(W,this.props.spyThrottle),this.props.hashSpy&&(x.isMounted()||x.mount(k),x.mapContainer(this.props.to,W)),this.props.spy&&g.addStateHandler(this.stateHandler),g.addSpyH
711andler(this.spyHandler,W),this.setState({container:W})}}},{key:"componentWillUnmount",value:function(){g.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var W="";this.state&&this.state.active?W=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():W=this.props.className;var Z=n({},this.props);for(var J in T)Z.hasOwnProperty(J)&&delete Z[J];return Z.className=W,Z.onClick=this.handleClick,u.createElement(C,Z)}}]),F})(u.Component),B=function(){var F=this;this.scrollTo=function(V,W){k.scrollTo(V,n({},F.state,W))},this.handleClick=function(V){F.props.onClick&&F.props.onClick(V),V.stopPropagation&&V.stopPropagation(),V.preventDefault&&V.preventDefault(),F.scrollTo(F.props.to,F.props)},this.stateHandler=function(){k.getActiveLink()!==F.props.to&&(F.state!==null&&F.state.active&&F.props.onSetInactive&&F.props.onSetInactive(),F.setState({active:!1}))},this.spyHandler=function(V){var W=F.getScrollSpyContainer();if(!(x.isMounted()&&!x.isInitialized())){var Z=F.props.to,J=null,ie=0,le=0,he=0;if(W.getBoundingClientRect){var me=W.getBoundingClientRect();he=me.top}if(!J||F.props.isDynamic){if(J=k.get(Z),!J)return;var je=J.getBoundingClientRect();ie=je.top-he+V,le=ie+je.height}var Fe=V-F.props.offset,Je=Fe>=Math.floor(ie)&&Fe<Math.floor(le),Xe=Fe<Math.floor(ie)||Fe>=Math.floor(le),ge=k.getActiveLink();if(Xe)return Z===ge&&k.setActiveLink(void 0),F.props.hashSpy&&x.getHash()===Z&&x.changeHash(),F.props.spy&&F.state.active&&(F.setState({active:!1}),F.props.onSetInactive&&F.props.onSetInactive()),g.updateStates();if(Je&&ge!==Z)return k.setActiveLink(Z),F.props.hashSpy&&x.changeHash(Z),F.props.spy&&(F.setState({active:!0}),F.props.onSetActive&&F.props.onSetActive(Z)),g.updateStates()}}};return D.propTypes=T,D.defaultProps={offset:0},D},Element:function(C){console.warn("Helpers.Element is deprecated since v1.7.0");var P=(function(k){i(D,k);function D(B){a(this,D);var $=s(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,B));return $.childBindings={domNode:null},$}return r(D,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function($){this.props.name!==$.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;h.unregister(this.props.name)}},{key:"registerElems",value:function($){h.register($,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(C,n({},this.props,{parentBindings:this.childBindings}))}}]),D})(u.Component);return P.propTypes={name:v.string,id:v.string},P}};f.exports=E},46720(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(le){for(var he=1;he<arguments.length;he++){var me=arguments[he];for(var je in me)Object.prototype.hasOwnProperty.call(me,je)&&(le[je]=me[je])}return le},r=e(48018),a=h(r),s=e(38957),i=h(s),u=e(73231),l=h(u),m=e(18),g=h(m);function h(le){return le&&le.__esModule?le:{default:le}}var v=function(he){return i.default[he.smooth]||i.default.defaultEasing},x=function(he){return typeof he=="function"?he:function(){return he}},T=function(){if(typeof window<"u")return window.requestAnimationFrame||window.webkitRequestAnimationFrame},E=(function(){return T()||function(le,he,me){window.setTimeout(le,me||1e3/60,new Date().getTime())}})(),_=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},C=function(he){var me=he.data.containerElement;if(me&&me!==document&&me!==document.body)return me.scrollLeft;var je=window.pageXOffset!==void 0,Fe=(document.compatMode||"")==="CSS1Compat";return je?window.pageXOffset:Fe?document.documentElement.scrollLeft:document.body.scrollLeft},P=function(he){var me=he.data.containerElement;if(me&&me!==document&&me!==document.body)return me.scrollTop;var je=window.pageXOffset!==void 0,Fe=(document.compatMode||"")==="CSS1Compat";return je?window.pageYOffset:Fe?document.documentElement.scrollTop:document.body.scrollTop},k=function(he){var me=he.data.containerElement;if(me&&me!==document&&me!==document.body)return me.scrollWidth-me.offsetWidth;var je=document.body,Fe=document.documentElement;return Math.max(je.scrollWidth,je.offsetWidth,Fe.clientWidth,Fe.scrollWidth,Fe.offsetWidth)},D=function(he){var me=he.data.containerElement;if(me&&me!==document&&me!==document.body)return me.scrollHeight-me.offsetHeight;var je=document.body,Fe=document.documentElement;return Math.max(je.scrollHeight,je.offsetHeight,Fe.clientHeight,Fe.scrollHeight,Fe.offsetHeight)},B=function le(he,me,je){var Fe=me.data;if(!me.ignoreCancelEvents&&Fe.cancel){g.default.registered.end&&g.default.registered.end(Fe.to,Fe.target,Fe.currentPositionY);return}if(Fe.delta=Math.round(Fe.targetPosition-Fe.startPosition),Fe.start===null&&(Fe.start=je),Fe.progress=je-Fe.start,Fe.percent=Fe.progress>=Fe.duration?1:he(Fe.progress/Fe.duration),Fe.currentPosition=Fe.startPosition+Math.ceil(Fe.delta*Fe.percent),Fe.containerElement&&Fe.containerElement!==document&&Fe.containerElement!==document.body?me.horizontal?Fe.containerElement.scrollLeft=Fe.currentPosition:Fe.containerElement.scrollTop=Fe.currentPosition:me.horizontal?window.scrollTo(Fe.currentPosition,0):window.scrollTo(0,Fe.currentPosition),Fe.percent<1){var Je=le.bind(null,he,me);E.call(window,Je);return}g.default.registered.end&&g.default.registered.end(Fe.to,Fe.target,Fe.currentPosition)},$=function(he){he.data.containerElement=he?he.containerId?document.getElementById(he.containerId):he.container&&he.container.nodeType?he.container:document:null},F=function(he,me,je,Fe){me.data=me.data||_(),window.clearTimeout(me.data.delayTimeout);var Je=function(){me.data.cancel=!0};if(l.default.subscribe(Je),$(me),me.data.start=null,me.data.cancel=!1,me.data.startPosition=me.horizontal?C(me):P(me),me.data.targetPosition=me.absolute?he:he+me.data.startPosition,me.data.startPosition===me.data.targetPosition){g.default.registered.end&&g.default.registered.end(me.data.to,me.data.target,me.data.currentPosition);return}me.data.delta=Math.round(me.data.targetPosition-me.data.startPosition),me.data.duration=x(me.duration)(me.data.delta),me.data.duration=isNaN(parseFloat(me.data.duration))?1e3:parseFloat(me.data.duration),me.data.to=je,me.data.target=Fe;var Xe=v(me),ge=B.bind(null,Xe,me);if(me&&me.delay>0){me.data.delayTimeout=window.setTimeout(function(){g.default.registered.begin&&g.default.registered.begin(me.data.to,me.data.target),E.call(window,ge)},me.delay);return}g.default.registered.begin&&g.default.registered.begin(me.data.to,me.data.target),E.call(window,ge)},V=function(he){return he=n({},he),he.data=he.data||_(),he.absolute=!0,he},W=function(he){F(0,V(he))},Z=function(he,me){F(he,V(me))},J=function(he){he=V(he),$(he),F(he.horizontal?k(he):D(he),he)},ie=function(he,me){me=V(me),$(me);var je=me.horizontal?C(me):P(me);F(he+je,me)};d.default={animateTopScroll:F,getAnimationType:v,scrollToTop:W,scrollToBottom:J,scrollTo:Z,scrollMore:ie}},73231(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(67463),r=["mousedown","mousewheel","touchmove","keydown"];d.default={subscribe:function(s){return typeof document<"u"&&r.forEach(function(i){return(0,n.addPassiveEventListener)(document,i,s)})}}},67463(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e=d.addPassiveEventListener=function(s,i,u){var l=u.name;l||(l=i,console.warn("Listener must be a named function.")),r.has(i)||r.set(i,new Set);var m=r.get(i);if(!m.has(l)){var g=(function(){var h=!1;try{var v=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,v)}catch{}return h})();s.addEventListener(i,u,g?{passive:!0}:!1),m.add(l)}},n=d.removePassiveEventListener=function(s,i,u){s.removeEventListener(i,u),r.get(i).delete(u.name||i)},r=new Map},79511(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(_){for(var C=1;C<arguments.length;C++){var P=arguments[C];for(var k in P)Object.prototype.hasOwnProperty.call(P,k)&&(_[k]=P[k])}return _},r=(function(){function _(C,P){for(var k=0;k<P.length;k++){var D=P[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,P,k){return P&&_(C.prototype,P),k&&_(C,k),C}})(),a=e(80588),s=v(a),i=e(63955),u=v(i),l=e(84129),m=v(l),g=e(98929),h=v(g);
711function v(_){return _&&_.__esModule?_:{default:_}}function x(_,C){if(!(_ instanceof C))throw new TypeError("Cannot call a class as a function")}function T(_,C){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:_}function E(_,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);_.prototype=Object.create(C&&C.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(_,C):_.__proto__=C)}d.default=function(_){var C=(function(P){E(k,P);function k(D){x(this,k);var B=T(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D));return B.childBindings={domNode:null},B}return r(k,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(B){this.props.name!==B.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;m.default.unregister(this.props.name)}},{key:"registerElems",value:function(B){m.default.register(B,this.childBindings.domNode)}},{key:"render",value:function(){return s.default.createElement(_,n({},this.props,{parentBindings:this.childBindings}))}}]),k})(s.default.Component);return C.propTypes={name:h.default.string,id:h.default.string},C}},18(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e={registered:{},scrollEvent:{register:function(r,a){e.registered[r]=a},remove:function(r){e.registered[r]=null}}};d.default=e},10191(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(67463),r=e(48018),a=s(r);function s(u){return u&&u.__esModule?u:{default:u}}var i={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(l){this.scroller=l,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(l,m){this.containers[l]=m},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var l=this,m=this.getHash();m?window.setTimeout(function(){l.scrollTo(m,!0),l.initialized=!0},10):this.initialized=!0},scrollTo:function(l,m){var g=this.scroller,h=g.get(l);if(h&&(m||l!==g.getActiveLink())){var v=this.containers[l]||document;g.scrollTo(l,{container:v})}},getHash:function(){return a.default.getHash()},changeHash:function(l,m){this.isInitialized()&&a.default.getHash()!==l&&a.default.updateHash(l,m)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};d.default=i},88191(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(k){for(var D=1;D<arguments.length;D++){var B=arguments[D];for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(k[$]=B[$])}return k},r=(function(){function k(D,B){for(var $=0;$<B.length;$++){var F=B[$];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(D,F.key,F)}}return function(D,B,$){return B&&k(D.prototype,B),$&&k(D,$),D}})(),a=e(80588),s=T(a),i=e(35161),u=T(i),l=e(84129),m=T(l),g=e(98929),h=T(g),v=e(10191),x=T(v);function T(k){return k&&k.__esModule?k:{default:k}}function E(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function _(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function C(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var P={to:h.default.string.isRequired,containerId:h.default.string,container:h.default.object,activeClass:h.default.string,activeStyle:h.default.object,spy:h.default.bool,horizontal:h.default.bool,smooth:h.default.oneOfType([h.default.bool,h.default.string]),offset:h.default.number,delay:h.default.number,isDynamic:h.default.bool,onClick:h.default.func,duration:h.default.oneOfType([h.default.number,h.default.func]),absolute:h.default.bool,onSetActive:h.default.func,onSetInactive:h.default.func,ignoreCancelEvents:h.default.bool,hashSpy:h.default.bool,saveHashHistory:h.default.bool,spyThrottle:h.default.number};d.default=function(k,D){var B=D||m.default,$=(function(V){C(W,V);function W(Z){E(this,W);var J=_(this,(W.__proto__||Object.getPrototypeOf(W)).call(this,Z));return F.call(J),J.state={active:!1},J}return r(W,[{key:"getScrollSpyContainer",value:function(){var J=this.props.containerId,ie=this.props.container;return J&&!ie?document.getElementById(J):ie&&ie.nodeType?ie:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var J=this.getScrollSpyContainer();u.default.isMounted(J)||u.default.mount(J,this.props.spyThrottle),this.props.hashSpy&&(x.default.isMounted()||x.default.mount(B),x.default.mapContainer(this.props.to,J)),u.default.addSpyH
711andler(this.spyHandler,J),this.setState({container:J})}}},{key:"componentWillUnmount",value:function(){u.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var J="";this.state&&this.state.active?J=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():J=this.props.className;var ie={};this.state&&this.state.active?ie=n({},this.props.style,this.props.activeStyle):ie=n({},this.props.style);var le=n({},this.props);for(var he in P)le.hasOwnProperty(he)&&delete le[he];return le.className=J,le.style=ie,le.onClick=this.handleClick,s.default.createElement(k,le)}}]),W})(s.default.PureComponent),F=function(){var W=this;this.scrollTo=function(Z,J){B.scrollTo(Z,n({},W.state,J))},this.handleClick=function(Z){W.props.onClick&&W.props.onClick(Z),Z.stopPropagation&&Z.stopPropagation(),Z.preventDefault&&Z.preventDefault(),W.scrollTo(W.props.to,W.props)},this.spyHandler=function(Z,J){var ie=W.getScrollSpyContainer();if(!(x.default.isMounted()&&!x.default.isInitialized())){var le=W.props.horizontal,he=W.props.to,me=null,je=void 0,Fe=void 0;if(le){var Je=0,Xe=0,ge=0;if(ie.getBoundingClientRect){var be=ie.getBoundingClientRect();ge=be.left}if(!me||W.props.isDynamic){if(me=B.get(he),!me)return;var Ie=me.getBoundingClientRect();Je=Ie.left-ge+Z,Xe=Je+Ie.width}var Re=Z-W.props.offset;je=Re>=Math.floor(Je)&&Re<Math.floor(Xe),Fe=Re<Math.floor(Je)||Re>=Math.floor(Xe)}else{var ye=0,De=0,$e=0;if(ie.getBoundingClientRect){var qe=ie.getBoundingClientRect();$e=qe.top}if(!me||W.props.isDynamic){if(me=B.get(he),!me)return;var It=me.getBoundingClientRect();ye=It.top-$e+J,De=ye+It.height}var mt=J-W.props.offset;je=mt>=Math.floor(ye)&&mt<Math.floor(De),Fe=mt<Math.floor(ye)||mt>=Math.floor(De)}var kt=B.getActiveLink();if(Fe){if(he===kt&&B.setActiveLink(void 0),W.props.hashSpy&&x.default.getHash()===he){var Ut=W.props.saveHashHistory,Ir=Ut===void 0?!1:Ut;x.default.changeHash("",Ir)}W.props.spy&&W.state.active&&(W.setState({active:!1}),W.props.onSetInactive&&W.props.onSetInactive(he,me))}if(je&&(kt!==he||W.state.active===!1)){B.setActiveLink(he);var Sr=W.props.saveHashHistory,Yr=Sr===void 0?!1:Sr;W.props.hashSpy&&x.default.changeHash(he,Yr),W.props.spy&&(W.setState({active:!0}),W.props.onSetActive&&W.props.onSetActive(he,me))}}}};return $.propTypes=P,$.defaultProps={offset:0},$}},35161(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(17128),r=s(n),a=e(67463);function s(l){return l&&l.__esModule?l:{default:l}}var i=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66;return(0,r.default)(m,g)},u={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(m,g){if(m){var h=i(function(v){u.scrollHandler(m)},g);u.scrollSpyContainers.push(m),(0,a.addPassiveEventListener)(m,"scroll",h)}},isMounted:function(m){return u.scrollSpyContainers.indexOf(m)!==-1},currentPositionX:function(m){if(m===document){var g=window.pageYOffset!==void 0,h=(document.compatMode||"")==="CSS1Compat";return g?window.pageXOffset:h?document.documentElement.scrollLeft:document.body.scrollLeft}else return m.scrollLeft},currentPositionY:function(m){if(m===document){var g=window.pageXOffset!==void 0,h=(document.compatMode||"")==="CSS1Compat";return g?window.pageYOffset:h?document.documentElement.scrollTop:document.body.scrollTop}else return m.scrollTop},scrollHandler:function(m){var g=u.scrollSpyContainers[u.scrollSpyContainers.indexOf(m)].spyCallbacks||[];g.forEach(function(h){return h(u.currentPositionX(m),u.currentPositionY(m))})},addStateHandler:function(m){u.spySetState.push(m)},addSpyHandler:function(m,g){var h=u.scrollSpyContainers[u.scrollSpyContainers.indexOf(g)];h.spyCallbacks||(h.spyCallbacks=[]),h.spyCallbacks.push(m),m(u.currentPositionX(g),u.currentPositionY(g))},updateStates:function(){u.spySetState.forEach(function(m){return m()})},unmount:function(m,g){u.scrollSpyContainers.forEach(function(h){return h.spyCallbacks&&h.spyCallbacks.length&&h.spyCallbacks.indexOf(g)>-1&&h.spyCallbacks.splice(h.spyCallbacks.indexOf(g),1)}),u.spySetState&&u.spySetState.length&&u.spySetState.indexOf(m)>-1&&u.spySetState.splice(u.spySetState.indexOf(m),1),document.removeEventListener("scroll",u.scrollHandler)}
711,update:function(){return u.scrollSpyContainers.forEach(function(m){return u.scrollHandler(m)})}};d.default=u},84129(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(v){for(var x=1;x<arguments.length;x++){var T=arguments[x];for(var E in T)Object.prototype.hasOwnProperty.call(T,E)&&(v[E]=T[E])}return v},r=e(48018),a=m(r),s=e(46720),i=m(s),u=e(18),l=m(u);function m(v){return v&&v.__esModule?v:{default:v}}var g={},h=void 0;d.default={unmount:function(){g={}},register:function(x,T){g[x]=T},unregister:function(x){delete g[x]},get:function(x){return g[x]||document.getElementById(x)||document.getElementsByName(x)[0]||document.getElementsByClassName(x)[0]},setActiveLink:function(x){return h=x},getActiveLink:function(){return h},scrollTo:function(x,T){var E=this.get(x);if(!E){console.warn("target Element not found");return}T=n({},T,{absolute:!1});var _=T.containerId,C=T.container,P=void 0;_?P=document.getElementById(_):C&&C.nodeType?P=C:P=document,T.absolute=!0;var k=T.horizontal,D=a.default.scrollOffset(P,E,k)+(T.offset||0);if(!T.smooth){l.default.registered.begin&&l.default.registered.begin(x,E),P===document?T.horizontal?window.scrollTo(D,0):window.scrollTo(0,D):P.scrollTop=D,l.default.registered.end&&l.default.registered.end(x,E);return}i.default.animateTopScroll(D,T,x,E)}}},38957(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default={defaultEasing:function(n){return n<.5?Math.pow(n*2,2)/2:1-Math.pow((1-n)*2,2)/2},linear:function(n){return n},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return n*(2-n)},easeInOutQuad:function(n){return n<.5?2*n*n:-1+(4-2*n)*n},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return--n*n*n+1},easeInOutCubic:function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1- --n*n*n*n},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-8*--n*n*n*n},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1+--n*n*n*n*n},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n}}},48018(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e=function(l,m){var g=l.indexOf("#")===0?l.substring(1):l,h=g?"#"+g:"",v=window&&window.location,x=h?v.pathname+v.search+h:v.pathname+v.search;m?history.pushState(history.state,"",x):history.replaceState(history.state,"",x)},n=function(){return window.location.hash.replace(/^#/,"")},r=function(l){return function(m){return l.contains?l!=m&&l.contains(m):!!(l.compareDocumentPosition(m)&16)}},a=function(l){return getComputedStyle(l).position!=="static"},s=function(l,m){for(var g=l.offsetTop,h=l.offsetParent;h&&!m(h);)g+=h.offsetTop,h=h.offsetParent;return{offsetTop:g,offsetParent:h}},i=function(l,m,g){if(g)return l===document?m.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):getComputedStyle(l).position!=="static"?m.offsetLeft:m.offsetLeft-l.offsetLeft;if(l===document)return m.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if(a(l)){if(m.offsetParent!==l){var h=function(C){return C===l||C===document},v=s(m,h),x=v.offsetTop,T=v.offsetParent;if(T!==l)throw new Error("Seems containerElement is not an ancestor of the Element");return x}return m.offsetTop}if(m.offsetParent===l.offsetParent)return m.offsetTop-l.offsetTop;var E=function(C){return C===document};return s(m,E).offsetTop-s(l,E).offsetTop};d.default={updateHash:e,getHash:n,filterElementInContainer:r,scrollOffset:i}},353(f,d,e){"use strict";e.d(d,{A:()=>E});var n=e(63398),r=e(76841),a=e(52316);function s(_,C){return _.classList?!!C&&_.classList.contains(C):(" "+(_.className.baseVal||_.className)+" ").indexOf(" "+C+" ")!==-1}function i(_,C){_.classList?_.classList.add(C):s(_,C)||(typeof _.className=="string"?_.className=_.className+" "+C:_.setAttribute("class",(_.className&&_.className.baseVal||"")+" "+C))}function u(_,C){return _.replace(new RegExp("(^|\\s)"+C+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function l(_,C){_.classList?_.classList.remove(C):typeof _.className=="string"?_.className=u(_.className,C):_.setAttribute("class",u(_.className&&_.className.baseVal||"",C))}var m=e(80588),g=e(63929),h=e(68586),v=function(C,P){return C&&P&&P.split(" ").forEach(function(k){return i(C,k)})},x=function(C,P){return C&&P&&P.split(" ").forEach(function(k){return l(C,k)})},T=(function(_){(0,a.A)(C,_);function C(){for(var k,D=arguments.length,B=new Array(D),$=0;$<D;$++)B[$]=arguments[$];
vendor: 5,802 bytes, line 711
711return k=_.call.apply(_,[this].concat(B))||this,k.appliedClasses={appear:{},enter:{},exit:{}},k.onEnter=function(F,V){var W=k.resolveArguments(F,V),Z=W[0],J=W[1];k.removeClasses(Z,"exit"),k.addClass(Z,J?"appear":"enter","base"),k.props.onEnter&&k.props.onEnter(F,V)},k.onEntering=function(F,V){var W=k.resolveArguments(F,V),Z=W[0],J=W[1],ie=J?"appear":"enter";k.addClass(Z,ie,"active"),k.props.onEntering&&k.props.onEntering(F,V)},k.onEntered=function(F,V){var W=k.resolveArguments(F,V),Z=W[0],J=W[1],ie=J?"appear":"enter";k.removeClasses(Z,ie),k.addClass(Z,ie,"done"),k.props.onEntered&&k.props.onEntered(F,V)},k.onExit=function(F){var V=k.resolveArguments(F),W=V[0];k.removeClasses(W,"appear"),k.removeClasses(W,"enter"),k.addClass(W,"exit","base"),k.props.onExit&&k.props.onExit(F)},k.onExiting=function(F){var V=k.resolveArguments(F),W=V[0];k.addClass(W,"exit","active"),k.props.onExiting&&k.props.onExiting(F)},k.onExited=function(F){var V=k.resolveArguments(F),W=V[0];k.removeClasses(W,"exit"),k.addClass(W,"exit","done"),k.props.onExited&&k.props.onExited(F)},k.resolveArguments=function(F,V){return k.props.nodeRef?[k.props.nodeRef.current,F]:[F,V]},k.getClassNames=function(F){var V=k.props.classNames,W=typeof V=="string",Z=W&&V?V+"-":"",J=W?""+Z+F:V[F],ie=W?J+"-active":V[F+"Active"],le=W?J+"-done":V[F+"Done"];return{baseClassName:J,activeClassName:ie,doneClassName:le}},k}var P=C.prototype;return P.addClass=function(D,B,$){var F=this.getClassNames(B)[$+"ClassName"],V=this.getClassNames("enter"),W=V.doneClassName;B==="appear"&&$==="done"&&W&&(F+=" "+W),$==="active"&&D&&(0,h.F)(D),F&&(this.appliedClasses[B][$]=F,v(D,F))},P.removeClasses=function(D,B){var $=this.appliedClasses[B],F=$.base,V=$.active,W=$.done;this.appliedClasses[B]={},F&&x(D,F),V&&x(D,V),W&&x(D,W)},P.render=function(){var D=this.props,B=D.classNames,$=(0,r.A)(D,["classNames"]);return m.createElement(g.Ay,(0,n.A)({},$,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},C})(m.Component);T.defaultProps={classNames:""},T.propTypes={};const E=T},63929(f,d,e){"use strict";e.d(d,{Ay:()=>_});var n=e(76841),r=e(52316),a=e(80588),s=e(63955);const i={disabled:!1};var u=e(47592),l=e(68586),m="unmounted",g="exited",h="entering",v="entered",x="exiting",T=(function(C){(0,r.A)(P,C);function P(D,B){var $;$=C.call(this,D,B)||this;var F=B,V=F&&!F.isMounting?D.enter:D.appear,W;return $.appearStatus=null,D.in?V?(W=g,$.appearStatus=h):W=v:D.unmountOnExit||D.mountOnEnter?W=m:W=g,$.state={status:W},$.nextCallback=null,$}P.getDerivedStateFromProps=function(B,$){var F=B.in;return F&&$.status===m?{status:g}:null};var k=P.prototype;return k.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},k.componentDidUpdate=function(B){var $=null;if(B!==this.props){var F=this.state.status;this.props.in?F!==h&&F!==v&&($=h):(F===h||F===v)&&($=x)}this.updateStatus(!1,$)},k.componentWillUnmount=function(){this.cancelNextCallback()},k.getTimeouts=function(){var B=this.props.timeout,$,F,V;return $=F=V=B,B!=null&&typeof B!="number"&&($=B.exit,F=B.enter,V=B.appear!==void 0?B.appear:F),{exit:$,enter:F,appear:V}},k.updateStatus=function(B,$){if(B===void 0&&(B=!1),$!==null)if(this.cancelNextCallback(),$===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var F=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);F&&(0,l.F)(F)}this.performEnter(B)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:m})},k.performEnter=function(B){var $=this,F=this.props.enter,V=this.context?this.context.isMounting:B,W=this.props.nodeRef?[V]:[s.findDOMNode(this),V],Z=W[0],J=W[1],ie=this.getTimeouts(),le=V?ie.appear:ie.enter;if(!B&&!F||i.disabled){this.safeSetState({status:v},function(){$.props.onEntered(Z)});return}this.props.onEnter(Z,J),this.safeSetState({status:h},function(){$.props.onEntering(Z,J),$.onTransitionEnd(le,function(){$.safeSetState({status:v},function(){$.props.onEntered(Z,J)})})})},k.performExit=function(){var B=this,$=this.props.exit,F=this.getTimeouts(),V=this.props.nodeRef?void 0:s.findDOMNode(this);if(!$||i.disabled){this.safeSetState({status:g},function(){B.props.onExited(V)});return}this.props.onExit(V),this.safeSetState({status:x},function(){B.props.onExiting(V),B.onTransitionEnd(F.exit,function(){B.safeSetState({status:g},function(){B.props.onExited(V)})})})},k.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},k.safeSetState=function(B,$){$=this.setNextCallback($),this.setState(B,$)},k.setNextCallback=function(B){var $=this,F=!0;return this.nextCallback=function(V){F&&(F=!1,$.nextCallback=null,B(V))},this.nextCallback.cancel=function(){F=!1},this.nextCallback},k.onTransitionEnd=function(B,$){this.setNextCallback($);var F=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),V=B==null&&!this.props.addEndListener;if(!F||V){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var W=this.props.nodeRef?[this.nextCallback]:[F,this.nextCallback],Z=W[0],J=W[1];this.props.addEndListener(Z,J)}B!=null&&setTimeout(this.nextCallback,B)},k.render=function(){var B=this.state.status;if(B===m)return null;var $=this.props,F=$.children,V=$.in,W=$.mountOnEnter,Z=$.unmountOnExit,J=$.appear,ie=$.enter,le=$.exit,he=$.timeout,me=$.addEndListener,je=$.onEnter,Fe=$.onEntering,Je=$.onEntered,Xe=$.onExit,ge=$.onExiting,be=$.onExited,Ie=$.nodeRef,Re=(0,n.A)($,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.createElement(u.A.Provider,{value:null},typeof F=="function"?F(B,Re):a.cloneElement(a.Children.only(F),Re))},P}
711)(a.Component);T.contextType=u.A,T.propTypes={};function E(){}T.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},T.UNMOUNTED=m,T.EXITED=g,T.ENTERING=h,T.ENTERED=v,T.EXITING=x;const _=T},51541(f,d,e){"use strict";e.d(d,{A:()=>_});var n=e(76841),r=e(63398);function a(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}var s=e(52316),i=e(80588),u=e(47592);function l(C,P){var k=function($){return P&&(0,i.isValidElement)($)?P($):$},D=Object.create(null);return C&&i.Children.map(C,function(B){return B}).forEach(function(B){D[B.key]=k(B)}),D}function m(C,P){C=C||{},P=P||{};function k(J){return J in P?P[J]:C[J]}var D=Object.create(null),B=[];for(var $ in C)$ in P?B.length&&(D[$]=B,B=[]):B.push($);var F,V={};for(var W in P){if(D[W])for(F=0;F<D[W].length;F++){var Z=D[W][F];V[D[W][F]]=k(Z)}V[W]=k(W)}for(F=0;F<B.length;F++)V[B[F]]=k(B[F]);return V}function g(C,P,k){return k[P]!=null?k[P]:C.props[P]}function h(C,P){return l(C.children,function(k){return(0,i.cloneElement)(k,{onExited:P.bind(null,k),in:!0,appear:g(k,"appear",C),enter:g(k,"enter",C),exit:g(k,"exit",C)})})}function v(C,P,k){var D=l(C.children),B=m(P,D);return Object.keys(B).forEach(function($){var F=B[$];if((0,i.isValidElement)(F)){var V=$ in P,W=$ in D,Z=P[$],J=(0,i.isValidElement)(Z)&&!Z.props.in;W&&(!V||J)?B[$]=(0,i.cloneElement)(F,{onExited:k.bind(null,F),in:!0,exit:g(F,"exit",C),enter:g(F,"enter",C)}):!W&&V&&!J?B[$]=(0,i.cloneElement)(F,{in:!1}):W&&V&&(0,i.isValidElement)(Z)&&(B[$]=(0,i.cloneElement)(F,{onExited:k.bind(null,F),in:Z.props.in,exit:g(F,"exit",C),enter:g(F,"enter",C)}))}}),B}var x=Object.values||function(C){return Object.keys(C).map(function(P){return C[P]})},T={component:"div",childFactory:function(P){return P}},E=(function(C){(0,s.A)(P,C);function P(D,B){var $;$=C.call(this,D,B)||this;var F=$.handleExited.bind(a($));return $.state={contextValue:{isMounting:!0},handleExited:F,firstRender:!0},$}var k=P.prototype;return k.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},k.componentWillUnmount=function(){this.mounted=!1},P.getDerivedStateFromProps=function(B,$){var F=$.children,V=$.handleExited,W=$.firstRender;return{children:W?h(B,V):v(B,F,V),firstRender:!1}},k.handleExited=function(B,$){var F=l(this.props.children);B.key in F||(B.props.onExited&&B.props.onExited($),this.mounted&&this.setState(function(V){var W=(0,r.A)({},V.children);return delete W[B.key],{children:W}}))},k.render=function(){var B=this.props,$=B.component,F=B.childFactory,V=(0,n.A)(B,["component","childFactory"]),W=this.state.contextValue,Z=x(this.state.children).map(F);return delete V.appear,delete V.enter,delete V.exit,$===null?i.createElement(u.A.Provider,{value:W},Z):i.createElement(u.A.Provider,{value:W},i.createElement($,V,Z))},P})(i.Component);E.propTypes={},E.defaultProps=T;const _=E},47592(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(80588);const r=n.createContext(null)},68586(f,d,e){"use strict";e.d(d,{F:()=>n});var n=function(a){return a.scrollTop}},96669(f,d,e){"use strict";e.d(d,{AU:()=>a,Bd:()=>s,lQ:()=>n,on:()=>r});var n=function(){};function r(u){for(var l=[],m=1;m<arguments.length;m++)l[m-1]=arguments[m];u&&u.addEventListener&&u.addEventListener.apply(u,l)}function a(u){for(var l=[],m=1;m<arguments.length;m++)l[m-1]=arguments[m];u&&u.removeEventListener&&u.removeEventListener.apply(u,l)}var s=typeof window<"u",i=typeof navigator<"u"},58117(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(80588),r=e(96669),a=["mousedown","touchstart"],s=function(u,l,m){m===void 0&&(m=a);var g=(0,n.useRef)(l);(0,n.useEffect)(function(){g.current=l},[l]),(0,n.useEffect)(function(){for(var h=function(E){var _=u.current;_&&!_.contains(E.target)&&g.current(E)},v=0,x=m;v<x.length;v++){var T=x[v];(0,r.on)(document,T,h)}return function(){for(var E=0,_=m;E<_.length;E++){var C=_[E];(0,r.AU)(document,C,h)}}},[m,u])};const i=s},29151(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(80588),r=function(s){(0,n.useEffect)(s,[])};const a=r},82447(f,d,e){"use strict";e.d(d,{A:()=>l});var n=e(80588),r=e(96669),a=r.Bd?window:null,s=function(m){return!!m.addEventListener},i=function(m){return!!m.on},u=function(m,g,h,v){h===void 0&&(h=a),(0,n.useEffect)(function(){if(g&&h)return s(h)?(0,r.on)(h,m,g,v):i(h)&&h.on(m,g,v),function(){s(h)?(0,r.AU)(h,m,g,v):i(h)&&h.off(m,g,v)}},[m,g,h,JSON.stringify(v)])};const l=u},85759(f,d,e){"use strict";e.d(d,{S:()=>r});var n=e(80588);function r(){var a=(0,n.useRef)(!0);return a.current?(a.current=!1,!0):a.current}},80365(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(80588),r=e(96669),a=n.useState,s=function(u){var l=a(!1),m=l[0],g=l[1],h=function(T){return function(E){(T||r.lQ)(E),g(!0)}},v=function(T){return function(E){(T||r.lQ)(E),g(!1)}};typeof u=="function"&&(u=u(m));var x=n.cloneElement(u,{onMouseEnter:h(u.props.onMouseEnter),onMouseLeave:v(u.props.onMouseLeave)});return[x,m]};const i=s},14230(f,d,e){"use strict";e.d(d,{A:()=>a});
711var n=e(80588),r=function(s,i){var u=(0,n.useState)(null),l=u[0],m=u[1];return(0,n.useEffect)(function(){if(s.current&&typeof IntersectionObserver=="function"){var g=function(v){m(v[0])},h=new IntersectionObserver(g,i);return h.observe(s.current),function(){m(null),h.disconnect()}}return function(){}},[s.current,i.threshold,i.root,i.rootMargin]),l};const a=r},35545(f,d,e){"use strict";e.d(d,{A:()=>T});var n=e(80588),r=e(82447),a=e(96669),s=function(E){return typeof E=="function"?E:typeof E=="string"?function(_){return _.key===E}:E?function(){return!0}:function(){return!1}},i=function(E,_,C,P){_===void 0&&(_=a.lQ),C===void 0&&(C={}),P===void 0&&(P=[E]);var k=C.event,D=k===void 0?"keydown":k,B=C.target,$=C.options,F=(0,n.useMemo)(function(){var V=s(E),W=function(Z){if(V(Z))return _(Z)};return W},P);(0,r.A)(D,F,B,$)};const u=i;var l=function(E){var _=(0,n.useState)([!1,null]),C=_[0],P=_[1];return u(E,function(k){return P([!0,k])},{event:"keydown"},[C]),u(E,function(k){return P([!1,k])},{event:"keyup"},[C]),C};const m=l;var g=e(85759),h=function(E,_){var C=(0,g.S)();(0,n.useEffect)(function(){if(!C)return E()},_)};const v=h;var x=function(E,_,C,P){P===void 0&&(P=m);var k=P(E),D=k[0],B=k[1];v(function(){!D&&C?C(B):D&&_&&_(B)},[D])};const T=x},45774(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(80588),r=function(s,i){(0,n.useEffect)(function(){return s&&s(),function(){i&&i()}},[])};const a=r},63718(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(29151),r=function(s){(0,n.A)(function(){s()})};const a=r},93342(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(80588);function r(a){var s=(0,n.useRef)();return(0,n.useEffect)(function(){s.current=a}),s.current}},83131(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(80588),r=e(29151),a=function(i){var u=(0,n.useRef)(i);u.current=i,(0,r.A)(function(){return function(){return u.current()}})};const s=a},79910(f,d){"use strict";/** 712 * @license React 713 * react-jsx-runtime.production.js 714 * 715 * Copyright (c) Meta Platforms, Inc. and affiliates. 716 * 717 * This source code is licensed under the MIT license found in the 718 * LICENSE file in the root directory of this source tree. 719 */var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(a,s,i){var u=null;if(i!==void 0&&(u=""+i),s.key!==void 0&&(u=""+s.key),"key"in s){i={};for(var l in s)l!=="key"&&(i[l]=s[l])}else i=s;return s=i.ref,{$$typeof:e,type:a,key:u,ref:s!==void 0?s:null,props:i}}d.Fragment=n,d.jsx=r,d.jsxs=r},93572(f,d,e){"use strict";f.exports=e(79910)},10595(f,d,e){"use strict";e.d(d,{Mz:()=>u});function n(m,g){return m===g}function r(m,g,h){if(g===null||h===null||g.length!==h.length)return!1;for(var v=g.length,x=0;x<v;x++)if(!m(g[x],h[x]))return!1;return!0}function a(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,h=null,v=null;return function(){return r(g,h,arguments)||(v=m.apply(null,arguments)),h=arguments,v}}function s(m){var g=Array.isArray(m[0])?m[0]:m;if(!g.every(function(v){return typeof v=="function"})){var h=g.map(function(v){return typeof v}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+h+"]"))}return g}function i(m){for(var g=arguments.length,h=Array(g>1?g-1:0),v=1;v<g;v++)h[v-1]=arguments[v];return function(){for(var x=arguments.length,T=Array(x),E=0;E<x;E++)T[E]=arguments[E];var _=0,C=T.pop(),P=s(T),k=m.apply(void 0,[function(){return _++,C.apply(null,arguments)}].concat(h)),D=m(function(){for(var B=[],$=P.length,F=0;F<$;F++)B.push(P[F].apply(null,arguments));return k.apply(null,B)});return D.resultFunc=C,D.dependencies=P,D.recomputations=function(){return _},D.resetRecomputations=function(){return _=0},D}}var u=i(a);function l(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;if(typeof m!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof m));var h=Object.keys(m);return g(h.map(function(v){return m[v]}),function(){for(var v=arguments.length,x=Array(v),T=0;T<v;T++)x[T]=arguments[T];return x.reduce(function(E,_,C){return E[h[C]]=_,E},{})})}},2903(f,d,e){"use strict";const n=Symbol("SemVer ANY");class r{static get ANY(){return n}
vendor: 5,469 bytes, line 719
719constructor(v,x){if(x=a(x),v instanceof r){if(v.loose===!!x.loose)return v;v=v.value}v=v.trim().split(/\s+/).join(" "),l("comparator",v,x),this.options=x,this.loose=!!x.loose,this.parse(v),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(v){const x=this.options.loose?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],T=v.match(x);if(!T)throw new TypeError(`Invalid comparator: ${v}`);this.operator=T[1]!==void 0?T[1]:"",this.operator==="="&&(this.operator=""),T[2]?this.semver=new m(T[2],this.options.loose):this.semver=n}toString(){return this.value}test(v){if(l("Comparator.test",v,this.options.loose),this.semver===n||v===n)return!0;if(typeof v=="string")try{v=new m(v,this.options)}catch{return!1}return u(v,this.operator,this.semver,this.options)}intersects(v,x){if(!(v instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new g(v.value,x).test(this.value):v.operator===""?v.value===""?!0:new g(this.value,x).test(v.semver):(x=a(x),x.includePrerelease&&(this.value==="<0.0.0-0"||v.value==="<0.0.0-0")||!x.includePrerelease&&(this.value.startsWith("<0.0.0")||v.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&v.operator.startsWith(">")||this.operator.startsWith("<")&&v.operator.startsWith("<")||this.semver.version===v.semver.version&&this.operator.includes("=")&&v.operator.includes("=")||u(this.semver,"<",v.semver,x)&&this.operator.startsWith(">")&&v.operator.startsWith("<")||u(this.semver,">",v.semver,x)&&this.operator.startsWith("<")&&v.operator.startsWith(">")))}}f.exports=r;const a=e(32896),{safeRe:s,t:i}=e(29019),u=e(36010),l=e(96675),m=e(99423),g=e(1266)},1266(f,d,e){"use strict";const n=/\s+/g;class r{constructor(Xe,ge){if(ge=i(ge),Xe instanceof r)return Xe.loose===!!ge.loose&&Xe.includePrerelease===!!ge.includePrerelease?Xe:new r(Xe.raw,ge);if(Xe instanceof u)return this.raw=Xe.value,this.set=[[Xe]],this.formatted=void 0,this;if(this.options=ge,this.loose=!!ge.loose,this.includePrerelease=!!ge.includePrerelease,this.raw=Xe.trim().replace(n," "),this.set=this.raw.split("||").map(be=>this.parseRange(be.trim())).filter(be=>be.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const be=this.set[0];if(this.set=this.set.filter(Ie=>!k(Ie[0])),this.set.length===0)this.set=[be];else if(this.set.length>1){for(const Ie of this.set)if(Ie.length===1&&D(Ie[0])){this.set=[Ie];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let Xe=0;Xe<this.set.length;Xe++){Xe>0&&(this.formatted+="||");const ge=this.set[Xe];for(let be=0;be<ge.length;be++)be>0&&(this.formatted+=" "),this.formatted+=ge[be].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(Xe){Xe=Xe.replace(P,"");const be=((this.options.includePrerelease&&_)|(this.options.loose&&C))+":"+Xe,Ie=s.get(be);if(Ie)return Ie;const Re=this.options.loose,ye=Re?g[v.HYPHENRANGELOOSE]:g[v.HYPHENRANGE];Xe=Xe.replace(ye,je(this.options.includePrerelease)),l("hyphen replace",Xe),Xe=Xe.replace(g[v.COMPARATORTRIM],x),l("comparator trim",Xe),Xe=Xe.replace(g[v.TILDETRIM],T),l("tilde trim",Xe),Xe=Xe.replace(g[v.CARETTRIM],E),l("caret trim",Xe);let De=Xe.split(" ").map(mt=>$(mt,this.options)).join(" ").split(/\s+/).map(mt=>me(mt,this.options));Re&&(De=De.filter(mt=>(l("loose invalid filter",mt,this.options),!!mt.match(g[v.COMPARATORLOOSE])))),l("range list",De);const $e=new Map,qe=De.map(mt=>new u(mt,this.options));for(const mt of qe){if(k(mt))return[mt];$e.set(mt.value,mt)}$e.size>1&&$e.has("")&&$e.delete("");const It=[...$e.values()];return s.set(be,It),It}intersects(Xe,ge){if(!(Xe instanceof r))throw new TypeError("a Range is required");return this.set.some(be=>B(be,ge)&&Xe.set.some(Ie=>B(Ie,ge)&&be.every(Re=>Ie.every(ye=>Re.intersects(ye,ge)))))}test(Xe){if(!Xe)return!1;if(typeof Xe=="string")try{Xe=new m(Xe,this.options)}catch{return!1}for(let ge=0;ge<this.set.length;ge++)if(Fe(this.set[ge],Xe,this.options))return!0;return!1}}f.exports=r;const a=e(48403),s=new a,i=e(32896),u=e(2903),l=e(96675),m=e(99423),{safeRe:g,src:h,t:v,comparatorTrimReplace:x,tildeTrimReplace:T,caretTrimReplace:E}=e(29019),{FLAG_INCLUDE_PRERELEASE:_,FLAG_LOOSE:C}=e(38497),P=new RegExp(h[v.BUILD],"g"),k=Je=>Je.value==="<0.0.0-0",D=Je=>Je.value==="",B=(Je,Xe)=>{let ge=!0;const be=Je.slice();let Ie=be.pop();for(;ge&&be.length;)ge=be.every(Re=>Ie.intersects(Re,Xe)),Ie=be.pop();return ge},$=(Je,Xe)=>(Je=Je.replace(g[v.BUILD],""),l("comp",Je,Xe),Je=Z(Je,Xe),l("caret",Je),Je=V(Je,Xe),l("tildes",Je),Je=ie(Je,Xe),l("xrange",Je),Je=he(Je,Xe),l("stars",Je),Je),F=Je=>!Je||Je.toLowerCase()==="x"||Je==="*",V=(Je,Xe)=>Je.trim().split(/\s+/).map(ge=>W(ge,Xe)).join(" "),W=(Je,Xe)=>{const ge=Xe.loose?g[v.TILDELOOSE]:g[v.TILDE];return Je.replace(ge,(be,Ie,Re,ye,De)=>{l("tilde",Je,be,Ie,Re,ye,De);let $e;return F(Ie)?$e="":F(Re)?$e=`>=${Ie}.0.0 <${+Ie+1}.0.0-0`:F(ye)?$e=`>=${Ie}.${Re}.0 <${Ie}.${+Re+1}.0-0`:De?(l("replaceTilde pr",De),$e=`>=${Ie}.${Re}.${ye}-${De} <${Ie}.${+Re+1}.0-0`):$e=`>=${Ie}.${Re}.${ye} <${Ie}.${+Re+1}.0-0`,l("tilde return",$e),$e})},Z=(Je,Xe)=>Je.trim().split(/\s+/).map(ge=>J(ge,Xe)).join(" "),J=(Je,Xe)=>{l("caret",Je,Xe);const ge=Xe.loose?g[v.CARETLOOSE]:g[v.CARET],be=Xe.includePrerelease?"-0":"";return Je.replace(ge,(Ie,Re,ye,De,$e)=>{l("caret",Je,Ie,Re,ye,De,$e);let qe;return F(Re)?qe="":F(ye)?qe=`>=${Re}.0.0${be} <${+Re+1}
719.0.0-0`:F(De)?Re==="0"?qe=`>=${Re}.${ye}.0${be} <${Re}.${+ye+1}.0-0`:qe=`>=${Re}.${ye}.0${be} <${+Re+1}.0.0-0`:$e?(l("replaceCaret pr",$e),Re==="0"?ye==="0"?qe=`>=${Re}.${ye}.${De}-${$e} <${Re}.${ye}.${+De+1}-0`:qe=`>=${Re}.${ye}.${De}-${$e} <${Re}.${+ye+1}.0-0`:qe=`>=${Re}.${ye}.${De}-${$e} <${+Re+1}.0.0-0`):(l("no pr"),Re==="0"?ye==="0"?qe=`>=${Re}.${ye}.${De}${be} <${Re}.${ye}.${+De+1}-0`:qe=`>=${Re}.${ye}.${De}${be} <${Re}.${+ye+1}.0-0`:qe=`>=${Re}.${ye}.${De} <${+Re+1}.0.0-0`),l("caret return",qe),qe})},ie=(Je,Xe)=>(l("replaceXRanges",Je,Xe),Je.split(/\s+/).map(ge=>le(ge,Xe)).join(" ")),le=(Je,Xe)=>{Je=Je.trim();const ge=Xe.loose?g[v.XRANGELOOSE]:g[v.XRANGE];return Je.replace(ge,(be,Ie,Re,ye,De,$e)=>{l("xRange",Je,be,Ie,Re,ye,De,$e);const qe=F(Re),It=qe||F(ye),mt=It||F(De),kt=mt;return Ie==="="&&kt&&(Ie=""),$e=Xe.includePrerelease?"-0":"",qe?Ie===">"||Ie==="<"?be="<0.0.0-0":be="*":Ie&&kt?(It&&(ye=0),De=0,Ie===">"?(Ie=">=",It?(Re=+Re+1,ye=0,De=0):(ye=+ye+1,De=0)):Ie==="<="&&(Ie="<",It?Re=+Re+1:ye=+ye+1),Ie==="<"&&($e="-0"),be=`${Ie+Re}.${ye}.${De}${$e}`):It?be=`>=${Re}.0.0${$e} <${+Re+1}.0.0-0`:mt&&(be=`>=${Re}.${ye}.0${$e} <${Re}.${+ye+1}.0-0`),l("xRange return",be),be})}
vendor: 6,462 bytes, line 719
719,he=(Je,Xe)=>(l("replaceStars",Je,Xe),Je.trim().replace(g[v.STAR],"")),me=(Je,Xe)=>(l("replaceGTE0",Je,Xe),Je.trim().replace(g[Xe.includePrerelease?v.GTE0PRE:v.GTE0],"")),je=Je=>(Xe,ge,be,Ie,Re,ye,De,$e,qe,It,mt,kt)=>(F(be)?ge="":F(Ie)?ge=`>=${be}.0.0${Je?"-0":""}`:F(Re)?ge=`>=${be}.${Ie}.0${Je?"-0":""}`:ye?ge=`>=${ge}`:ge=`>=${ge}${Je?"-0":""}`,F(qe)?$e="":F(It)?$e=`<${+qe+1}.0.0-0`:F(mt)?$e=`<${qe}.${+It+1}.0-0`:kt?$e=`<=${qe}.${It}.${mt}-${kt}`:Je?$e=`<${qe}.${It}.${+mt+1}-0`:$e=`<=${$e}`,`${ge} ${$e}`.trim()),Fe=(Je,Xe,ge)=>{for(let be=0;be<Je.length;be++)if(!Je[be].test(Xe))return!1;if(Xe.prerelease.length&&!ge.includePrerelease){for(let be=0;be<Je.length;be++)if(l(Je[be].semver),Je[be].semver!==u.ANY&&Je[be].semver.prerelease.length>0){const Ie=Je[be].semver;if(Ie.major===Xe.major&&Ie.minor===Xe.minor&&Ie.patch===Xe.patch)return!0}return!1}return!0}},99423(f,d,e){"use strict";const n=e(96675),{MAX_LENGTH:r,MAX_SAFE_INTEGER:a}=e(38497),{safeRe:s,t:i}=e(29019),u=e(32896),{compareIdentifiers:l}=e(28592);class m{constructor(h,v){if(v=u(v),h instanceof m){if(h.loose===!!v.loose&&h.includePrerelease===!!v.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof h}".`);if(h.length>r)throw new TypeError(`version is longer than ${r} characters`);n("SemVer",h,v),this.options=v,this.loose=!!v.loose,this.includePrerelease=!!v.includePrerelease;const x=h.trim().match(v.loose?s[i.LOOSE]:s[i.FULL]);if(!x)throw new TypeError(`Invalid Version: ${h}`);if(this.raw=h,this.major=+x[1],this.minor=+x[2],this.patch=+x[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");x[4]?this.prerelease=x[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){const E=+T;if(E>=0&&E<a)return E}return T}):this.prerelease=[],this.build=x[5]?x[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(h){if(n("SemVer.compare",this.version,this.options,h),!(h instanceof m)){if(typeof h=="string"&&h===this.version)return 0;h=new m(h,this.options)}return h.version===this.version?0:this.compareMain(h)||this.comparePre(h)}compareMain(h){return h instanceof m||(h=new m(h,this.options)),this.major<h.major?-1:this.major>h.major?1:this.minor<h.minor?-1:this.minor>h.minor?1:this.patch<h.patch?-1:this.patch>h.patch?1:0}comparePre(h){if(h instanceof m||(h=new m(h,this.options)),this.prerelease.length&&!h.prerelease.length)return-1;if(!this.prerelease.length&&h.prerelease.length)return 1;if(!this.prerelease.length&&!h.prerelease.length)return 0;let v=0;do{const x=this.prerelease[v],T=h.prerelease[v];if(n("prerelease compare",v,x,T),x===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(x===void 0)return-1;if(x===T)continue;return l(x,T)}while(++v)}compareBuild(h){h instanceof m||(h=new m(h,this.options));let v=0;do{const x=this.build[v],T=h.build[v];if(n("build compare",v,x,T),x===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(x===void 0)return-1;if(x===T)continue;return l(x,T)}while(++v)}inc(h,v,x){if(h.startsWith("pre")){if(!v&&x===!1)throw new Error("invalid increment argument: identifier is empty");if(v){const T=`-${v}`.match(this.options.loose?s[i.PRERELEASELOOSE]:s[i.PRERELEASE]);if(!T||T[1]!==v)throw new Error(`invalid identifier: ${v}`)}}switch(h){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",v,x);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",v,x);break;case"prepatch":this.prerelease.length=0,this.inc("patch",v,x),this.inc("pre",v,x);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",v,x),this.inc("pre",v,x);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const T=Number(x)?1:0;if(this.prerelease.length===0)this.prerelease=[T];else{let E=this.prerelease.length;for(;--E>=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(v===this.prerelease.join(".")&&x===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(T)}}if(v){let E=[v,T];x===!1&&(E=[v]),l(this.prerelease[0],v)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${h}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}f.exports=m},36010(f,d,e){"use strict";const n=e(91222),r=e(52906),a=e(21563),s=e(64264),i=e(35156),u=e(3121),l=(m,g,h,v)=>{switch(g){case"===":return typeof m=="object"&&(m=m.version),typeof h=="object"&&(h=h.version),m===h;case"!==":return typeof m=="object"&&(m=m.version),typeof h=="object"&&(h=h.version),m!==h;case"":case"=":case"==":return n(m,h,v);case"!=":return r(m,h,v);case">":return a(m,h,v);case">=":return s(m,h,v);case"<":return i(m,h,v);case"<=":return u(m,h,v);default:throw new TypeError(`Invalid operator: ${g}`)}};f.exports=l},85593(f,d,e){"use strict";const n=e(99423),r=(a,s,i)=>new n(a,i).compare(new n(s,i));f.exports=r},91222(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)===0;f.exports=r},21563(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)>0;f.exports=r},64264(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)>=0;f.exports=r},35156(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)<0;f.exports=r},3121(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)<=0;f.exports=r},52906(f,d,e){"use strict";const n=e(85593),r=(a,s,i)=>n(a,s,i)!==0;f.exports=r},60911(f,d,e){"use strict";const n=e(1266),r=(a,s,i)=>{try{s=new n(s,i)}catch{return!1}return s.test(a)};f.exports=r},38497(f){"use strict";const d="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,a=250,s=["major","premajor","minor","preminor","patch","prepatch","prerelease"];
719f.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_SAFE_INTEGER:n,RELEASE_TYPES:s,SEMVER_SPEC_VERSION:d,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},96675(f){"use strict";const d=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};f.exports=d},28592(f){"use strict";const d=/^[0-9]+$/,e=(r,a)=>{if(typeof r=="number"&&typeof a=="number")return r===a?0:r<a?-1:1;const s=d.test(r),i=d.test(a);return s&&i&&(r=+r,a=+a),r===a?0:s&&!i?-1:i&&!s?1:r<a?-1:1},n=(r,a)=>e(a,r);f.exports={compareIdentifiers:e,rcompareIdentifiers:n}},48403(f){"use strict";class d{constructor(){this.max=1e3,this.map=new Map}get(n){const r=this.map.get(n);if(r!==void 0)return this.map.delete(n),this.map.set(n,r),r}delete(n){return this.map.delete(n)}set(n,r){if(!this.delete(n)&&r!==void 0){if(this.map.size>=this.max){const s=this.map.keys().next().value;this.delete(s)}this.map.set(n,r)}return this}}f.exports=d},32896(f){"use strict";const d=Object.freeze({loose:!0}),e=Object.freeze({}),n=r=>r?typeof r!="object"?d:r:e;f.exports=n},29019(f,d,e){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:a}=e(38497),s=e(96675);d=f.exports={};const i=d.re=[],u=d.safeRe=[],l=d.src=[],m=d.safeSrc=[],g=d.t={};let h=0;const v="[a-zA-Z0-9-]",x=[["\\s",1],["\\d",a],[v,r]],T=_=>{for(const[C,P]of x)_=_.split(`${C}*`).join(`${C}{0,${P}}`).split(`${C}+`).join(`${C}{1,${P}}`);return _},E=(_,C,P)=>{const k=T(C),D=h++;s(_,D,C),g[_]=D,l[D]=C,m[D]=k,i[D]=new RegExp(C,P?"g":void 0),u[D]=new RegExp(k,P?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","\\d+"),E("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${v}*`),E("MAINVERSION",`(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASE",`(?:-(${l[g.PRERELEASEIDENTIFIER]}(?:\\.${l[g.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${l[g.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[g.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER",`${v}+`),E("BUILD",`(?:\\+(${l[g.BUILDIDENTIFIER]}(?:\\.${l[g.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${l[g.MAINVERSION]}${l[g.PRERELEASE]}?${l[g.BUILD]}?`),E("FULL",`^${l[g.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${l[g.MAINVERSIONLOOSE]}${l[g.PRERELEASELOOSE]}?${l[g.BUILD]}?`),E("LOOSE",`^${l[g.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${l[g.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${l[g.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:${l[g.PRERELEASE]})?${l[g.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:${l[g.PRERELEASELOOSE]})?${l[g.BUILD]}?)?)?`),E("XRANGE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAINLOOSE]}$`),E("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),E("COERCE",`${l[g.COERCEPLAIN]}(?:$|[^\\d])`),E("COERCEFULL",l[g.COERCEPLAIN]+`(?:${l[g.PRERELEASE]})?(?:${l[g.BUILD]})?(?:$|[^\\d])`),E("COERCERTL",l[g.COERCE],!0),E("COERCERTLFULL",l[g.COERCEFULL],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${l[g.LONETILDE]}\\s+`,!0),d.tildeTrimReplace="$1~",E("TILDE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${l[g.LONECARET]}\\s+`,!0),d.caretTrimReplace="$1^",E("CARET",`^${l[g.LONECARET]}${l[g.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${l[g.LONECARET]}${l[g.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${l[g.GTLT]}\\s*(${l[g.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]}|${l[g.XRANGEPLAIN]})`,!0),d.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${l[g.XRANGEPLAIN]})\\s+-\\s+(${l[g.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${l[g.XRANGEPLAINLOOSE]}
719)\\s+-\\s+(${l[g.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},88943(f,d,e){"use strict";var n=e(3746),r=e(91570),a=function(m,g,h){for(var v=m,x;(x=v.next)!=null;v=x)if(x.key===g)return v.next=x.next,h||(x.next=m.next,m.next=x),x},s=function(m,g){if(m){var h=a(m,g);return h&&h.value}},i=function(m,g,h){var v=a(m,g);v?v.value=h:m.next={key:g,next:m.next,value:h}},u=function(m,g){return m?!!a(m,g):!1},l=function(m,g){if(m)return a(m,g,!0)};f.exports=function(){var g,h={assert:function(v){if(!h.has(v))throw new r("Side channel does not contain "+n(v))},delete:function(v){var x=g&&g.next,T=l(g,v);return T&&x&&x===T&&(g=void 0),!!T},get:function(v){return s(g,v)},has:function(v){return u(g,v)},set:function(v,x){g||(g={next:void 0}),i(g,v,x)}};return h}},39962(f,d,e){"use strict";var n=e(23295),r=e(95037),a=e(3746),s=e(91570),i=n("%Map%",!0),u=r("Map.prototype.get",!0),l=r("Map.prototype.set",!0),m=r("Map.prototype.has",!0),g=r("Map.prototype.delete",!0),h=r("Map.prototype.size",!0);f.exports=!!i&&function(){var x,T={assert:function(E){if(!T.has(E))throw new s("Side channel does not contain "+a(E))},delete:function(E){if(x){var _=g(x,E);return h(x)===0&&(x=void 0),_}return!1},get:function(E){if(x)return u(x,E)},has:function(E){return x?m(x,E):!1},set:function(E,_){x||(x=new i),l(x,E,_)}};return T}},24599(f,d,e){"use strict";var n=e(23295),r=e(95037),a=e(3746),s=e(39962),i=e(91570),u=n("%WeakMap%",!0),l=r("WeakMap.prototype.get",!0),m=r("WeakMap.prototype.set",!0),g=r("WeakMap.prototype.has",!0),h=r("WeakMap.prototype.delete",!0);f.exports=u?function(){var x,T,E={assert:function(_){if(!E.has(_))throw new i("Side channel does not contain "+a(_))},delete:function(_){if(u&&_&&(typeof _=="object"||typeof _=="function")){if(x)return h(x,_)}else if(s&&T)return T.delete(_);return!1},get:function(_){return u&&_&&(typeof _=="object"||typeof _=="function")&&x?l(x,_):T&&T.get(_)},has:function(_){return u&&_&&(typeof _=="object"||typeof _=="function")&&x?g(x,_):!!T&&T.has(_)},set:function(_,C){u&&_&&(typeof _=="object"||typeof _=="function")?(x||(x=new u),m(x,_,C)):s&&(T||(T=s()),T.set(_,C))}};return E}:s},98362(f,d,e){"use strict";var n=e(91570),r=e(3746),a=e(88943),s=e(39962),i=e(24599),u=i||s||a;f.exports=function(){var m,g={assert:function(h){if(!g.has(h))throw new n("Side channel does not contain "+r(h))},delete:function(h){return!!m&&m.delete(h)},get:function(h){return m&&m.get(h)},has:function(h){return!!m&&m.has(h)},set:function(h,v){m||(m=u()),m.set(h,v)}};return g}},59209(f){"use strict";f.exports=2147483647},84025(f,d,e){"use strict";var n=e(14088),r=e(59209);f.exports=function(a){if(a=n(a),a>r)throw new TypeError(a+" exceeds maximum possible timeout");return a}},35765(f,d,e){"use strict";var n=e(40165);f.exports=function(r){if(typeof r!="function"||!hasOwnProperty.call(r,"length"))return!1;try{if(typeof r.length!="number"||typeof r.call!="function"||typeof r.apply!="function")return!1}catch{return!1}return!n(r)}},10556(f,d,e){"use strict";var n=e(28556),r={object:!0,function:!0,undefined:!0};f.exports=function(a){return n(a)?hasOwnProperty.call(r,typeof a):!1}},83172(f,d,e){"use strict";var n=e(35765),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;
vendor: 4,325 bytes, line 719
719f.exports=function(s){return!(!n(s)||r.test(a.call(s)))}},40165(f,d,e){"use strict";var n=e(10556);f.exports=function(r){if(!n(r))return!1;try{return r.constructor?r.constructor.prototype===r:!1}catch{return!1}}},28556(f){"use strict";var d=void 0;f.exports=function(e){return e!==d&&e!==null}},58644(f,d,e){var n;(function(r,a){"use strict";var s="1.0.40",i="",u="?",l="function",m="undefined",g="object",h="string",v="major",x="model",T="name",E="type",_="vendor",C="version",P="architecture",k="console",D="mobile",B="tablet",$="smarttv",F="wearable",V="embedded",W=500,Z="Amazon",J="Apple",ie="ASUS",le="BlackBerry",he="Browser",me="Chrome",je="Edge",Fe="Firefox",Je="Google",Xe="Huawei",ge="LG",be="Microsoft",Ie="Motorola",Re="Opera",ye="Samsung",De="Sharp",$e="Sony",qe="Xiaomi",It="Zebra",mt="Facebook",kt="Chromium OS",Ut="Mac OS",Ir=" Browser",Sr=function(Xr,hn){var Qt={};for(var Br in Xr)hn[Br]&&hn[Br].length%2===0?Qt[Br]=hn[Br].concat(Xr[Br]):Qt[Br]=Xr[Br];return Qt},Yr=function(Xr){for(var hn={},Qt=0;Qt<Xr.length;Qt++)hn[Xr[Qt].toUpperCase()]=Xr[Qt];return hn},Gr=function(Xr,hn){return typeof Xr===h?dn(hn).indexOf(dn(Xr))!==-1:!1},dn=function(Xr){return Xr.toLowerCase()},Kr=function(Xr){return typeof Xr===h?Xr.replace(/[^\d\.]/g,i).split(".")[0]:a},yt=function(Xr,hn){if(typeof Xr===h)return Xr=Xr.replace(/^\s\s*/,i),typeof hn===m?Xr:Xr.substring(0,W)},tt=function(Xr,hn){for(var Qt=0,Br,zt,Tt,Pr,Y,ht;Qt<hn.length&&!Y;){var ur=hn[Qt],it=hn[Qt+1];for(Br=zt=0;Br<ur.length&&!Y&&ur[Br];)if(Y=ur[Br++].exec(Xr),Y)for(Tt=0;Tt<it.length;Tt++)ht=Y[++zt],Pr=it[Tt],typeof Pr===g&&Pr.length>0?Pr.length===2?typeof Pr[1]==l?this[Pr[0]]=Pr[1].call(this,ht):this[Pr[0]]=Pr[1]:Pr.length===3?typeof Pr[1]===l&&!(Pr[1].exec&&Pr[1].test)?this[Pr[0]]=ht?Pr[1].call(this,ht,Pr[2]):a:this[Pr[0]]=ht?ht.replace(Pr[1],Pr[2]):a:Pr.length===4&&(this[Pr[0]]=ht?Pr[3].call(this,ht.replace(Pr[1],Pr[2])):a):this[Pr]=ht||a;Qt+=2}},Ar=function(Xr,hn){for(var Qt in hn)if(typeof hn[Qt]===g&&hn[Qt].length>0){for(var Br=0;Br<hn[Qt].length;Br++)if(Gr(hn[Qt][Br],Xr))return Qt===u?a:Qt}else if(Gr(hn[Qt],Xr))return Qt===u?a:Qt;return hn.hasOwnProperty("*")?hn["*"]:Xr},Mr={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Er={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ur={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[T,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[T,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[T,C],[/opios[\/ ]+([\w\.]+)/i],[C,[T,Re+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[T,Re+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[T,Re]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[T,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[T,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[T,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[T,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[T,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[T,"UC"+he]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[T,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[T,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[T,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[T,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[T,"Smart Lenovo "+he]],[/(avast|avg)\/([\w\.]+)/i],[[T,/(.+)/,"$1 Secure "+he],C],[/\bfocus\/([\w\.]+)/i],[C,[T,Fe+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[T,Re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[T,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[T,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[T,Re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[T,"MIUI"+Ir]],[/fxios\/([\w\.-]+)/i],[C,[T,Fe]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[T,"360"]],[/\b(qq)\/([\w\.]+)/i],[[T,/(.+
vendor: 11,585 bytes, line 719
719)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[T,/(.+)/,"$1"+Ir],C],[/samsungbrowser\/([\w\.]+)/i],[C,[T,ye+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[T,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[T,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[T,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[T],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,T],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[T,mt],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[T,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[T,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[T,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[T,me+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[T,me+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[T,"Android "+he]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[T,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[T,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,T],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[T,[C,Ar,Mr]],[/(webkit|khtml)\/([\w\.]+)/i],[T,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[T,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[T,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[T,Fe+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[T,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[T,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[P,"amd64"]],[/(ia32(?=;))/i],[[P,dn]],[/((?:i[346]|x)86)[;\)]/i],[[P,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[P,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[P,"armhf"]],[/windows (ce|mobile); ppc;/i],[[P,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[P,/ower/,i,dn]],[/(sun4\w)[;\)]/i],[[P,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[P,dn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[x,[_,ye],[E,B]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[x,[_,ye],[E,D]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[x,[_,J],[E,D]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[x,[_,J],[E,B]],[/(macintosh);/i],[x,[_,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[x,[_,De],[E,D]],[/(?:honor)([-\w ]+)[;\)]/i],[x,[_,"Honor"],[E,D]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[x,[_,Xe],[E,B]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[x,[_,Xe],[E,D]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[x,/_/g," "],[_,qe],[E,D]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[x,/_/g," "],[_,qe],[E,B]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[x,[_,"OPPO"],[E,D]],[/\b(opd2\d{3}a?) bui/i],[x,[_,"OPPO"],[E,B]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[x,[_,"Vivo"],[E,D]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[x,[_,"Realme"],[E,D]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[x,[_,Ie],[E,D]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[x,[_,Ie],[E,B]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[x,[_,ge],[E,B]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[x,[_,ge],[E,D]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[x,[_,"Lenovo"],[E,B]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[x,/_/g," "],[_,"Nokia"],[E,D]],[/(pixel c)\b/i],[x,[_,Je],[E,B]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[x,[_,Je],[E,D]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[x,[_,$e],[E,D]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[x,"Xperia Tablet"],[_,$e],[E,B]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[x,[_,"OnePlus"],[E,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[x,[_,Z],[E,B]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[x,/(.+)/g,"Fire Phone $1"],[_,Z],[E,D]],[/(playbook);[-\w\),; ]+(rim)/i],[x,_,[E,B]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[x,[_,le],[E,D]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[x,[_,ie],[E,B]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[x,[_,ie],[E,D]],[/(nexus 9)/i],[x,[_,"HTC"],[E,B]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[_,[x,/_/g," "],[E,D]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[x,[_,"TCL"],[E,B]],[/(itel) ((\w+))/i],[[_,dn],x,[E,Ar,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[x,[_,"Acer"],[E,B]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[x,[_,"Meizu"],[E,D]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[x,[_,"Ulefone"],[E,D]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[x,[_,"Energizer"],[E,D]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[x,[_,"Cat"],[E,D]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[x,[_,"Smartfren"],[E,D]],[/droid.+; (a(?:015|06[35]|142p?))/i],[x,[_,"Nothing"],[E,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[_,x,[E,D]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[_,x,[E,B]],[/(surface duo)/i],[x,[_,be],[E,B]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[x,[_,"Fairphone"],[E,D]],[/(u304aa)/i],[x,[_,"AT&T"],[E,D]],[/\bsie-(\w*)/i],[x,[_,"Siemens"],[E,D]],[/\b(rct\w+) b/i],[x,[_,"RCA"],[E,B]],[/\b(venue[\d ]{2,7}) b/i],[x,[_,"Dell"],[E,B]],[/\b(q(?:mv|ta)\w+) b/i],[x,[_,"Verizon"],[E,B]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[x,[_,"Barnes & Noble"],[E,B]],[/\b(tm\d{3}\w+) b/i],[x,[_,"NuVision"],[E,B]],[/\b(k88) b/i],[x,[_,"ZTE"],[E,B]],[/\b(nx\d{3}j) b/i],[x,[_,"ZTE"],[E,D]],[/\b(gen\d{3}) b.+49h/i],[x,[_,"Swiss"],[E,D]],[/\b(zur\d{3}) b/i],[x,[_,"Swiss"],[E,B]],[/\b((zeki)?tb.*\b) b/i],[x,[_,"Zeki"],[E,B]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[_,"Dragon Touch"],x,[E,B]],[/\b(ns-?\w{0,9}) b/i],[x,[_,"Insignia"],[E,B]],[/\b((nxa|next)-?\w{0,9}) b/i],[x,[_,"NextBook"],[E,B]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[_,"Voice"],x,[E,D]],[/\b(lvtel\-)?(v1[12]) b/i],[[_,"LvTel"],x,[E,D]],[/\b(ph-1) /i],[x,[_,"Essential"],[E,D]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[x,[_,"Envizen"],[E,B]],[/\b(trio[-\w\. ]+) b/i],[x,[_,"MachSpeed"],[E,B]],[/\btu_(1491) b/i],[x,[_,"Rotor"],[E,B]],[/(shield[\w ]+) b/i],[x,[_,"Nvidia"],[E,B]],[/(sprint) (\w+)/i],[_,x,[E,D]],[/(kin\.[onetw]{3})/i],[[x,/\./g," "],[_,be],[E,D]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[x,[_,It],[E,B]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[x,[_,It],[E,D]],[/smart-tv.+(samsung)/i],[_,[E,$]],[/hbbtv.+maple;(\d+)/i],[[x,/^/,"SmartTV"],[_,ye],[E,$]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[_,ge],[E,$]],[/(apple) ?tv/i],[_,[x,J+" TV"],[E,$]],[/crkey/i],[[x,me+"cast"],[_,Je],[E,$]],[/droid.+aft(\w+)( bui|\))/i],[x,[_,Z],[E,$]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[x,[_,De],[E,$]],[/(bravia[\w ]+)( bui|\))/i],[x,[_,$e],[E,$]],[/(mitv-\w{5}) bui/i],[x,[_,qe],[E,$]],[/Hbbtv.*(technisat) (.*);/i],[_,x,[E,$]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[_,yt],[x,yt],[E,$]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[E,$]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[_,x,[E,k]],[/droid.+; (shield) bui/i],[x,[_,"Nvidia"],[E,k]],[/(playstation [345portablevi]+)/i],[x,[_,$e],[E,k]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[x,[_,be],[E,k]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[x,[_,ye],[E,F]],[/((pebble))app/i],[_,x,[E,F]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[x,[_,J],[E,F]],[/droid.+; (glass) \d/i],[x,[_,Je],[E,F]],[/droid.+; (wt63?0{2,3})\)/i],[x,[_,It],[E,F]],[/droid.+; (glass) \d/i],[x,[_,Je],[E,F]],[/(pico) (4|neo3(?: link|pro)?)/i],[_,x,[E,F]],[/; (quest( \d| pro)?)/i],[x,[_,mt],[E,F]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[_,[E,V]],[/(aeobc)\b/i],[x,[_,Z],[E,V]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[x,[E,D]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[x,[E,B]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[E,B]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[E,D]],[/(android[-\w\. ]{0,9});.+buil/i],[x,[_,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[T,je+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[T,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[T,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[T,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,T]],os:[[/microsoft (windows) (vista|xp)/i],[T,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[T,[C,Ar,Er]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,Ar,Er],[T,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,Ut],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,T],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);
vendor: 4,191 bytes, lines 719-727
719/i],[T,C],[/\(bb(10);/i],[C,[T,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[T,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[T,Fe+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[T,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[T,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[T,me+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[T,kt],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[T,C],[/(sunos) ?([\w\.\d]*)/i],[[T,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[T,C]]},or=function(Xr,hn){if(typeof Xr===g&&(hn=Xr,Xr=a),!(this instanceof or))return new or(Xr,hn).getResult();var Qt=typeof r!==m&&r.navigator?r.navigator:a,Br=Xr||(Qt&&Qt.userAgent?Qt.userAgent:i),zt=Qt&&Qt.userAgentData?Qt.userAgentData:a,Tt=hn?Sr(Ur,hn):Ur,Pr=Qt&&Qt.userAgent==Br;return this.getBrowser=function(){var Y={};return Y[T]=a,Y[C]=a,tt.call(Y,Br,Tt.browser),Y[v]=Kr(Y[C]),Pr&&Qt&&Qt.brave&&typeof Qt.brave.isBrave==l&&(Y[T]="Brave"),Y},this.getCPU=function(){var Y={};return Y[P]=a,tt.call(Y,Br,Tt.cpu),Y},this.getDevice=function(){var Y={};return Y[_]=a,Y[x]=a,Y[E]=a,tt.call(Y,Br,Tt.device),Pr&&!Y[E]&&zt&&zt.mobile&&(Y[E]=D),Pr&&Y[x]=="Macintosh"&&Qt&&typeof Qt.standalone!==m&&Qt.maxTouchPoints&&Qt.maxTouchPoints>2&&(Y[x]="iPad",Y[E]=B),Y},this.getEngine=function(){var Y={};return Y[T]=a,Y[C]=a,tt.call(Y,Br,Tt.engine),Y},this.getOS=function(){var Y={};return Y[T]=a,Y[C]=a,tt.call(Y,Br,Tt.os),Pr&&!Y[T]&&zt&&zt.platform&&zt.platform!="Unknown"&&(Y[T]=zt.platform.replace(/chrome os/i,kt).replace(/macos/i,Ut)),Y},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Br},this.setUA=function(Y){return Br=typeof Y===h&&Y.length>W?yt(Y,W):Y,this},this.setUA(Br),this};or.VERSION=s,or.BROWSER=Yr([T,C,v]),or.CPU=Yr([P]),or.DEVICE=Yr([x,_,E,k,D,$,B,F,V]),or.ENGINE=or.OS=Yr([T,C]),typeof d!==m?(m!=="object"&&f.exports&&(d=f.exports=or),d.UAParser=or):l==="function"&&e.amdO?(n=(function(){return or}).call(d,e,d,f),n!==a&&(f.exports=n)):typeof r!==m&&(r.UAParser=or);var An=typeof r!==m&&(r.jQuery||r.Zepto);if(An&&!An.ua){var dr=new or;An.ua=dr.getResult(),An.ua.get=function(){return dr.getUA()},An.ua.set=function(Xr){dr.setUA(Xr);var hn=dr.getResult();for(var Qt in hn)An.ua[Qt]=hn[Qt]}}})(typeof window=="object"?window:this)},97976(f,d,e){"use strict";/** 720 * @license React 721 * use-sync-external-store-with-selector.production.js 722 * 723 * Copyright (c) Meta Platforms, Inc. and affiliates. 724 * 725 * This source code is licensed under the MIT license found in the 726 * LICENSE file in the root directory of this source tree. 727 */var n=e(80588);function r(g,h){return g===h&&(g!==0||1/g===1/h)||g!==g&&h!==h}var a=typeof Object.is=="function"?Object.is:r,s=n.useSyncExternalStore,i=n.useRef,u=n.useEffect,l=n.useMemo,m=n.useDebugValue;d.useSyncExternalStoreWithSelector=function(g,h,v,x,T){var E=i(null);if(E.current===null){var _={hasValue:!1,value:null};E.current=_}else _=E.current;E=l(function(){function P(F){if(!k){if(k=!0,D=F,F=x(F),T!==void 0&&_.hasValue){var V=_.value;if(T(V,F))return B=V}return B=F}if(V=B,a(D,F))return V;var W=x(F);return T!==void 0&&T(V,W)?(D=F,V):(D=F,B=W)}var k=!1,D,B,$=v===void 0?null:v;return[function(){return P(h())},$===null?void 0:function(){return P($())}]},[h,v,x,T]);
727var C=s(g,E[0],E[1]);return u(function(){_.hasValue=!0,_.value=C},[C]),m(C),C}},75234(f,d,e){"use strict";f.exports=e(97976)},11376(f,d,e){"use strict";e.d(d,{A:()=>x});const r={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let a;const s=new Uint8Array(16);function i(){if(!a&&(a=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!a))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(s)}var u;const l=[];for(let T=0;T<256;++T)l.push((T+256).toString(16).slice(1));function m(T,E=0){return l[T[E+0]]+l[T[E+1]]+l[T[E+2]]+l[T[E+3]]+"-"+l[T[E+4]]+l[T[E+5]]+"-"+l[T[E+6]]+l[T[E+7]]+"-"+l[T[E+8]]+l[T[E+9]]+"-"+l[T[E+10]]+l[T[E+11]]+l[T[E+12]]+l[T[E+13]]+l[T[E+14]]+l[T[E+15]]}function g(T,E=0){const _=m(T,E);if(!u(_))throw TypeError("Stringified UUID is invalid");return _}const h=null;function v(T,E,_){if(r.randomUUID&&!E&&!T)return r.randomUUID();T=T||{};const C=T.random||(T.rng||i)();if(C[6]=C[6]&15|64,C[8]=C[8]&63|128,E){_=_||0;for(let P=0;P<16;++P)E[_+P]=C[P];return E}return m(C)}const x=v},35266(f,d,e){var n=e(34980),r=f.exports={WebVTT:e(3425),VTTCue:e(52658),VTTRegion:e(99717)};n.vttjs=r,n.WebVTT=r.WebVTT;var a=r.VTTCue,s=r.VTTRegion,i=n.VTTCue,u=n.VTTRegion;r.shim=function(){n.VTTCue=a,n.VTTRegion=s},r.restore=function(){n.VTTCue=i,n.VTTRegion=u},n.VTTCue||r.shim()},3425(f,d,e){var n=e(24853),r=Object.create||(function(){function J(){}return function(ie){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return J.prototype=ie,new J}})();function a(J,ie){this.name="ParsingError",this.code=J.code,this.message=ie||J.message}a.prototype=r(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function s(J){function ie(he,me,je,Fe){return(he|0)*3600+(me|0)*60+(je|0)+(Fe|0)/1e3}var le=J.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return le?le[3]?ie(le[1],le[2],le[3].replace(":",""),le[4]):le[1]>59?ie(le[1],le[2],0,le[4]):ie(0,le[1],le[2],le[4]):null}function i(){this.values=r(null)}i.prototype={set:function(J,ie){!this.get(J)&&ie!==""&&(this.values[J]=ie)},get:function(J,ie,le){return le?this.has(J)?this.values[J]:ie[le]:this.has(J)?this.values[J]:ie},has:function(J){return J in this.values},alt:function(J,ie,le){for(var he=0;he<le.length;++he)if(ie===le[he]){this.set(J,ie);break}},integer:function(J,ie){/^-?\d+$/.test(ie)&&this.set(J,parseInt(ie,10))},percent:function(J,ie){var le;return(le=ie.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(ie=parseFloat(ie),ie>=0&&ie<=100)?(this.set(J,ie),!0):!1}};function u(J,ie,le,he){var me=he?J.split(he):[J];for(var je in me)if(typeof me[je]=="string"){var Fe=me[je].split(le);if(Fe.length===2){var Je=Fe[0].trim(),Xe=Fe[1].trim();ie(Je,Xe)}}}function l(J,ie,le){var he=J;function me(){var Je=s(J);if(Je===null)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+he);return J=J.replace(/^[^\sa-zA-Z-]+/,""),Je}function je(Je,Xe){var ge=new i;u(Je,function(be,Ie){switch(be){case"region":for(var Re=le.length-1;Re>=0;Re--)if(le[Re].id===Ie){ge.set(be,le[Re].region);break}break;case"vertical":ge.alt(be,Ie,["rl","lr"]);break;case"line":var ye=Ie.split(","),De=ye[0];ge.integer(be,De),ge.percent(be,De)&&ge.set("snapToLines",!1),ge.alt(be,De,["auto"]),ye.length===2&&ge.alt("lineAlign",ye[1],["start","center","end"]);break;case"position":ye=Ie.split(","),ge.percent(be,ye[0]),ye.length===2&&ge.alt("positionAlign",ye[1],["start","center","end"]);break;case"size":ge.percent(be,Ie);break;case"align":ge.alt(be,Ie,["start","center","end","left","right"]);break}},/:/,/\s/),Xe.region=ge.get("region",null),Xe.vertical=ge.get("vertical","");try{Xe.line=ge.get("line","auto")}catch{}Xe.lineAlign=ge.get("lineAlign","start"),Xe.snapToLines=ge.get("snapToLines",!0),Xe.size=ge.get("size",100);try{Xe.align=ge.get("align","center")}catch{Xe.align=ge.get("align","middle")}try{Xe.position=ge.get("position","auto")}catch{Xe.position=ge.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},Xe.align)}Xe.positionAlign=ge.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},Xe.align)}function Fe(){J=J.replace(/^\s+/,"")}if(Fe(),ie.startTime=me(),Fe(),J.substr(0,3)!=="-->")throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+he);J=J.substr(3),Fe(),ie.endTime=me(),Fe(),je(J,ie)}var m=n.createElement&&n.createElement("textarea"),g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},v={v:"title",lang:"lang"},x={rt:"ruby"};function T(J,ie){function le(){if(!ie)return null;function De(qe){return ie=ie.substr(qe.length),qe}var $e=ie.match(/^([^<]*)(<[^>
727]*>?)?/);return De($e[1]?$e[1]:$e[2])}function he(De){return m.innerHTML=De,De=m.textContent,m.textContent="",De}function me(De,$e){return!x[$e.localName]||x[$e.localName]===De.localName}function je(De,$e){var qe=g[De];if(!qe)return null;var It=J.document.createElement(qe),mt=v[De];return mt&&$e&&(It[mt]=$e.trim()),It}for(var Fe=J.document.createElement("div"),Je=Fe,Xe,ge=[];(Xe=le())!==null;){if(Xe[0]==="<"){if(Xe[1]==="/"){ge.length&&ge[ge.length-1]===Xe.substr(2).replace(">","")&&(ge.pop(),Je=Je.parentNode);continue}var be=s(Xe.substr(1,Xe.length-2)),Ie;if(be){Ie=J.document.createProcessingInstruction("timestamp",be),Je.appendChild(Ie);continue}var Re=Xe.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!Re||(Ie=je(Re[1],Re[3]),!Ie)||!me(Je,Ie))continue;if(Re[2]){var ye=Re[2].split(".");ye.forEach(function(De){var $e=/^bg_/.test(De),qe=$e?De.slice(3):De;if(h.hasOwnProperty(qe)){var It=$e?"background-color":"color",mt=h[qe];Ie.style[It]=mt}}),Ie.className=ye.join(" ")}ge.push(Re[1]),Je.appendChild(Ie),Je=Ie;continue}Je.appendChild(J.document.createTextNode(he(Xe)))}return Fe}var E=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function _(J){for(var ie=0;ie<E.length;ie++){var le=E[ie];if(J>=le[0]&&J<=le[1])return!0}return!1}function C(J){var ie=[],le="",he;if(!J||!J.childNodes)return"ltr";function me(Je,Xe){for(var ge=Xe.childNodes.length-1;ge>=0;ge--)Je.push(Xe.childNodes[ge])}function je(Je){if(!Je||!Je.length)return null;var Xe=Je.pop(),ge=Xe.textContent||Xe.innerText;if(ge){var be=ge.match(/^.*(\n|\r)/);return be?(Je.length=0,be[0]):ge}if(Xe.tagName==="ruby")return je(Je);if(Xe.childNodes)return me(Je,Xe),je(Je)}for(me(ie,J);le=je(ie);)for(var Fe=0;Fe<le.length;Fe++)if(he=le.charCodeAt(Fe),_(he))return"rtl";return"ltr"}function P(J){if(typeof J.line=="number"&&(J.snapToLines||J.line>=0&&J.line<=100))return J.line;if(!J.track||!J.track.textTrackList||!J.track.textTrackList.mediaElement)return-1;for(var ie=J.track,le=ie.textTrackList,he=0,me=0;me<le.length&&le[me]!==ie;me++)le[me].mode==="showing"&&he++;return++he*-1}function k(){}k.prototype.applyStyles=function(J,ie){ie=ie||this.div;for(var le in J)J.hasOwnProperty(le)&&(ie.style[le]=J[le])},k.prototype.formatStyle=function(J,ie){return J===0?0:J+ie};function D(J,ie,le){k.call(this),this.cue=ie,this.cueDiv=T(J,ie.text);var he={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:ie.vertical===""?"horizontal-tb":ie.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(he,this.cueDiv),this.div=J.document.createElement("div"),he={direction:C(this.cueDiv),writingMode:ie.vertical===""?"horizontal-tb":ie.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:ie.align==="middle"?"center":ie.align,font:le.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(he),this.div.appendChild(this.cueDiv);var me=0;switch(ie.positionAlign){case"start":case"line-left":me=ie.position;break;case"center":me=ie.position-ie.size/2;break;case"end":case"line-right":me=ie.position-ie.size;break}ie.vertical===""?this.applyStyles({left:this.formatStyle(me,"%"),width:this.formatStyle(ie.size,"%")}):this.applyStyles({top:this.formatStyle(me,"%"),height:this.formatStyle(ie.size,"%")}),this.move=function(je){this.applyStyles({top:this.formatStyle(je.top,"px"),bottom:this.formatStyle(je.bottom,"px"),left:this.formatStyle(je.left,"px"),right:this.formatStyle(je.right,"px"),height:this.formatStyle(je.height,"px"),width:this.formatStyle(je.width,"px")}
vendor: 10,590 bytes, lines 727-734
727)}}D.prototype=r(k.prototype),D.prototype.constructor=D;function B(J){var ie,le,he,me;if(J.div){le=J.div.offsetHeight,he=J.div.offsetWidth,me=J.div.offsetTop;var je=(je=J.div.childNodes)&&(je=je[0])&&je.getClientRects&&je.getClientRects();J=J.div.getBoundingClientRect(),ie=je?Math.max(je[0]&&je[0].height||0,J.height/je.length):0}this.left=J.left,this.right=J.right,this.top=J.top||me,this.height=J.height||le,this.bottom=J.bottom||me+(J.height||le),this.width=J.width||he,this.lineHeight=ie!==void 0?ie:J.lineHeight}B.prototype.move=function(J,ie){switch(ie=ie!==void 0?ie:this.lineHeight,J){case"+x":this.left+=ie,this.right+=ie;break;case"-x":this.left-=ie,this.right-=ie;break;case"+y":this.top+=ie,this.bottom+=ie;break;case"-y":this.top-=ie,this.bottom-=ie;break}},B.prototype.overlaps=function(J){return this.left<J.right&&this.right>J.left&&this.top<J.bottom&&this.bottom>J.top},B.prototype.overlapsAny=function(J){for(var ie=0;ie<J.length;ie++)if(this.overlaps(J[ie]))return!0;return!1},B.prototype.within=function(J){return this.top>=J.top&&this.bottom<=J.bottom&&this.left>=J.left&&this.right<=J.right},B.prototype.overlapsOppositeAxis=function(J,ie){switch(ie){case"+x":return this.left<J.left;case"-x":return this.right>J.right;case"+y":return this.top<J.top;case"-y":return this.bottom>J.bottom}},B.prototype.intersectPercentage=function(J){var ie=Math.max(0,Math.min(this.right,J.right)-Math.max(this.left,J.left)),le=Math.max(0,Math.min(this.bottom,J.bottom)-Math.max(this.top,J.top)),he=ie*le;return he/(this.height*this.width)},B.prototype.toCSSCompatValues=function(J){return{top:this.top-J.top,bottom:J.bottom-this.bottom,left:this.left-J.left,right:J.right-this.right,height:this.height,width:this.width}},B.getSimpleBoxPosition=function(J){var ie=J.div?J.div.offsetHeight:J.tagName?J.offsetHeight:0,le=J.div?J.div.offsetWidth:J.tagName?J.offsetWidth:0,he=J.div?J.div.offsetTop:J.tagName?J.offsetTop:0;J=J.div?J.div.getBoundingClientRect():J.tagName?J.getBoundingClientRect():J;var me={left:J.left,right:J.right,top:J.top||he,height:J.height||ie,bottom:J.bottom||he+(J.height||ie),width:J.width||le};return me};function $(J,ie,le,he){function me(qe,It){for(var mt,kt=new B(qe),Ut=1,Ir=0;Ir<It.length;Ir++){for(;qe.overlapsOppositeAxis(le,It[Ir])||qe.within(le)&&qe.overlapsAny(he);)qe.move(It[Ir]);if(qe.within(le))return qe;var Sr=qe.intersectPercentage(le);Ut>Sr&&(mt=new B(qe),Ut=Sr),qe=new B(kt)}return mt||kt}var je=new B(ie),Fe=ie.cue,Je=P(Fe),Xe=[];if(Fe.snapToLines){var ge;switch(Fe.vertical){case"":Xe=["+y","-y"],ge="height";break;case"rl":Xe=["+x","-x"],ge="width";break;case"lr":Xe=["-x","+x"],ge="width";break}var be=je.lineHeight,Ie=be*Math.round(Je),Re=le[ge]+be,ye=Xe[0];Math.abs(Ie)>Re&&(Ie=Ie<0?-1:1,Ie*=Math.ceil(Re/be)*be),Je<0&&(Ie+=Fe.vertical===""?le.height:le.width,Xe=Xe.reverse()),je.move(ye,Ie)}else{var De=je.lineHeight/le.height*100;switch(Fe.lineAlign){case"center":Je-=De/2;break;case"end":Je-=De;break}switch(Fe.vertical){case"":ie.applyStyles({top:ie.formatStyle(Je,"%")});break;case"rl":ie.applyStyles({left:ie.formatStyle(Je,"%")});break;case"lr":ie.applyStyles({right:ie.formatStyle(Je,"%")});break}Xe=["+y","-x","+x","-y"],je=new B(ie)}var $e=me(je,Xe);ie.move($e.toCSSCompatValues(le))}function F(){}F.StringDecoder=function(){return{decode:function(J){if(!J)return"";if(typeof J!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(J))}}},F.convertCueToDOMTree=function(J,ie){return!J||!ie?null:T(J,ie)};var V=.05,W="sans-serif",Z="1.5%";F.processCues=function(J,ie,le){if(!J||!ie||!le)return null;for(;le.firstChild;)le.removeChild(le.firstChild);var he=J.document.createElement("div");he.style.position="absolute",he.style.left="0",he.style.right="0",he.style.top="0",he.style.bottom="0",he.style.margin=Z,le.appendChild(he);function me(be){for(var Ie=0;Ie<be.length;Ie++)if(be[Ie].hasBeenReset||!be[Ie].displayState)return!0;return!1}if(!me(ie)){for(var je=0;je<ie.length;je++)he.appendChild(ie[je].displayState);return}var Fe=[],Je=B.getSimpleBoxPosition(he),Xe=Math.round(Je.height*V*100)/100,ge={font:Xe+"px "+W};(function(){for(var be,Ie,Re=0;Re<ie.length;Re++)Ie=ie[Re],be=new D(J,Ie,ge),he.appendChild(be.div),$(J,be,Je,Fe),Ie.displayState=be.div,Fe.push(B.getSimpleBoxPosition(be))})()},F.Parser=function(J,ie,le){le||(le=ie,ie={}),ie||(ie={}),this.window=J,this.vttjs=ie,this.state="INITIAL",this.buffer="",this.decoder=le||new TextDecoder("utf8"),this.regionList=[]},F.Parser.prototype={reportOrThrowError:function(J){if(J instanceof a)this.onparsingerror&&this.onparsingerror(J);else throw J},parse:function(J){var ie=this;J&&(ie.buffer+=ie.decoder.decode(J,{stream:!0}));function le(){for(var be=ie.buffer,Ie=0;Ie<be.length&&be[Ie]!=="\r"&&be[Ie]!==` 728`;)++Ie;var Re=be.substr(0,Ie);return be[Ie]==="\r"&&++Ie,be[Ie]===` 729`&&++Ie,ie.buffer=be.substr(Ie),Re}function he(be){var Ie=new i;if(u(be,function(ye,De){switch(ye){case"id":Ie.set(ye,De);break;case"width":Ie.percent(ye,De);break;case"lines":Ie.integer(ye,De);break;case"regionanchor":case"viewportanchor":var $e=De.split(",");if($e.length!==2)break;var qe=new i;if(qe.percent("x",$e[0]),qe.percent("y",$e[1]),!qe.has("x")||!qe.has("y"))break;Ie.set(ye+"X",qe.get("x")),Ie.set(ye+"Y",qe.get("y"));break;case"scroll":Ie.alt(ye,De,["up"]);break}},/=/,/\s/),Ie.has("id")){var Re=new(ie.vttjs.VTTRegion||ie.window.VTTRegion);Re.width=Ie.get("width",100),Re.lines=Ie.get("lines",3),Re.regionAnchorX=Ie.get("regionanchorX",0),Re.regionAnchorY=Ie.get("regionanchorY",100),Re.viewportAnchorX=Ie.get("viewportanchorX",0),Re.viewportAnchorY=Ie.get("viewportanchorY",100),Re.scroll=Ie.get("scroll",""),ie.onregion&&ie.onregion(Re),ie.regionList.push({id:Ie.get("id"),region:Re})}}function me(be){var Ie=new i;u(be,function(Re,ye){switch(Re){case"MPEGT":Ie.integer(Re+"S",ye);break;case"LOCA":Ie.set(Re+"L",s(ye));break}},/[^\d]:/,/,/),ie.ontimestampmap&&ie.ontimestampmap({MPEGTS:Ie.get("MPEGTS"),LOCAL:Ie.get("LOCAL")})}function je(be){be.match(/X-TIMESTAMP-MAP/)?u(be,function(Ie,Re){Ie==="X-TIMESTAMP-MAP"&&me(Re)},/=/):u(be,function(Ie,Re){Ie==="Region"&&he(Re)},/:/)}try{var Fe;if(ie.state==="INITIAL"){if(!/\r\n|\n/.test(ie.buffer))return this;Fe=le();var Je=Fe.match(/^WEBVTT([ \t].*)?$/);if(!Je||!Je[0])throw new a(a.Errors.BadSignature);ie.state="HEADER"}for(var Xe=!1;ie.buffer;){if(!/\r\n|\n/.test(ie.buffer))return this;switch(Xe?Xe=!1:Fe=le(),ie.state){case"HEADER":/:/.test(Fe)?je(Fe):Fe||(ie.state="ID");continue;case"NOTE":Fe||(ie.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(Fe)){ie.state="NOTE";break}if(!Fe)continue;ie.cue=new(ie.vttjs.VTTCue||ie.window.VTTCue)(0,0,"");try{ie.cue.align="center"}catch{ie.cue.align="middle"}if(ie.state="CUE",Fe.indexOf("-->")===-1){ie.cue.id=Fe;continue}case"CUE":try{l(Fe,ie.cue,ie.regionList)}catch(be){ie.reportOrThrowError(be),ie.cue=null,ie.state="BADCUE";continue}ie.state="CUETEXT";continue;case"CUETEXT":var ge=Fe.indexOf("-->")!==-1;if(!Fe||ge&&(Xe=!0)){ie.oncue&&ie.oncue(ie.cue),ie.cue=null,ie.state="ID";continue}ie.cue.text&&(ie.cue.text+=` 730`),ie.cue.text+=Fe.replace(/\u2028/g,` 731`).replace(/u2029/g,` 732`);continue;case"BADCUE":Fe||(ie.state="ID");continue}}}catch(be){ie.reportOrThrowError(be),ie.state==="CUETEXT"&&ie.cue&&ie.oncue&&ie.oncue(ie.cue),ie.cue=null,ie.state=ie.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var J=this;try{if(J.buffer+=J.decoder.decode(),(J.cue||J.state==="HEADER")&&(J.buffer+=` 733 734`,J.parse()),J.state==="INITIAL")throw new a(a.Errors.BadSignature)}catch(ie){J.reportOrThrowError(ie)}return J.onflush&&J.onflush(),this}},f.exports=F},52658(f){var d="auto",e={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(i){if(typeof i!="string")return!1;var u=e[i.toLowerCase()];return u?i.toLowerCase():!1}function a(i){if(typeof i!="string")return!1;var u=n[i.toLowerCase()];return u?i.toLowerCase():!1}function s(i,u,l){this.hasBeenReset=!1;var m="",g=!1,h=i,v=u,x=l,T=null,E="",_=!0,C="auto",P="start",k="auto",D="auto",B=100,$="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return m},set:function(F){m=""+F}},pauseOnExit:{enumerable:!0,get:function(){return g},set:function(F){g=!!F}},startTime:{enumerable:!0,get:function(){return h},set:function(F){if(typeof F!="number")throw new TypeError("Start time must be set to a number.");h=F,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return v},set:function(F){if(typeof F!="number")throw new TypeError("End time must be set to a number.");v=F,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return x},set:function(F){x=""+F,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return T},set:function(F){T=F,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return E},set:function(F){var V=r(F);if(V===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");E=V,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return _},set:function(F){_=!!F,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return C},set:function(F){if(typeof F!="number"&&F!==d)throw new SyntaxError("Line: an invalid number or illegal string was specified.");C=F,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return P},set:function(F){var V=a(F);V?(P=V,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return k},set:function(F){if(F<0||F>100)throw new Error("Position must be between 0 and 100.");k=F,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return D},set:function(F){var V=a(F);V?(D=V,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return B},set:function(F){if(F<0||F>100)throw new Error("Size must be between 0 and 100.");B=F,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return $},set:function(F){var V=a(F);if(!V)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");$=V,this.hasBeenReset=!0}}}),this.displayState=void 0}s.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},f.exports=s},99717(f){var d={"":!0,up:!0};function e(a){if(typeof a!="string")return!1;var s=d[a.toLowerCase()];return s?a.toLowerCase():!1}function n(a){return typeof a=="number"&&a>=0&&a<=100}function r(){var a=100,s=3,i=0,u=100,l=0,m=100,g="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return a}
vendor: 4,956 bytes, line 734
734,set:function(h){if(!n(h))throw new Error("Width must be between 0 and 100.");a=h}},lines:{enumerable:!0,get:function(){return s},set:function(h){if(typeof h!="number")throw new TypeError("Lines must be set to a number.");s=h}},regionAnchorY:{enumerable:!0,get:function(){return u},set:function(h){if(!n(h))throw new Error("RegionAnchorX must be between 0 and 100.");u=h}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(h){if(!n(h))throw new Error("RegionAnchorY must be between 0 and 100.");i=h}},viewportAnchorY:{enumerable:!0,get:function(){return m},set:function(h){if(!n(h))throw new Error("ViewportAnchorY must be between 0 and 100.");m=h}},viewportAnchorX:{enumerable:!0,get:function(){return l},set:function(h){if(!n(h))throw new Error("ViewportAnchorX must be between 0 and 100.");l=h}},scroll:{enumerable:!0,get:function(){return g},set:function(h){var v=e(h);v===!1?console.warn("Scroll: an invalid or illegal string was specified."):g=v}}})}f.exports=r},59641(f,d,e){var n;(function(){function r(Y,ht,ur){return Y.call.apply(Y.bind,arguments)}function a(Y,ht,ur){if(!Y)throw Error();if(2<arguments.length){var it=Array.prototype.slice.call(arguments,2);return function(){var Rt=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(Rt,it),Y.apply(ht,Rt)}}return function(){return Y.apply(ht,arguments)}}function s(Y,ht,ur){return s=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?r:a,s.apply(null,arguments)}var i=Date.now||function(){return+new Date};function u(Y,ht){this.a=Y,this.o=ht||Y,this.c=this.o.document}var l=!!window.FontFace;function m(Y,ht,ur,it){if(ht=Y.c.createElement(ht),ur)for(var Rt in ur)ur.hasOwnProperty(Rt)&&(Rt=="style"?ht.style.cssText=ur[Rt]:ht.setAttribute(Rt,ur[Rt]));return it&&ht.appendChild(Y.c.createTextNode(it)),ht}function g(Y,ht,ur){Y=Y.c.getElementsByTagName(ht)[0],Y||(Y=document.documentElement),Y.insertBefore(ur,Y.lastChild)}function h(Y){Y.parentNode&&Y.parentNode.removeChild(Y)}function v(Y,ht,ur){ht=ht||[],ur=ur||[];for(var it=Y.className.split(/\s+/),Rt=0;Rt<ht.length;Rt+=1){for(var Zr=!1,nn=0;nn<it.length;nn+=1)if(ht[Rt]===it[nn]){Zr=!0;break}Zr||it.push(ht[Rt])}for(ht=[],Rt=0;Rt<it.length;Rt+=1){for(Zr=!1,nn=0;nn<ur.length;nn+=1)if(it[Rt]===ur[nn]){Zr=!0;break}Zr||ht.push(it[Rt])}Y.className=ht.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function x(Y,ht){for(var ur=Y.className.split(/\s+/),it=0,Rt=ur.length;it<Rt;it++)if(ur[it]==ht)return!0;return!1}function T(Y){return Y.o.location.hostname||Y.a.location.hostname}function E(Y,ht,ur){function it(){fn&&Rt&&Zr&&(fn(nn),fn=null)}ht=m(Y,"link",{rel:"stylesheet",href:ht,media:"all"});var Rt=!1,Zr=!0,nn=null,fn=ur||null;l?(ht.onload=function(){Rt=!0,it()},ht.onerror=function(){Rt=!0,nn=Error("Stylesheet failed to load"),it()}):setTimeout(function(){Rt=!0,it()},0),g(Y,"head",ht)}function _(Y,ht,ur,it){var Rt=Y.c.getElementsByTagName("head")[0];if(Rt){var Zr=m(Y,"script",{src:ht}),nn=!1;return Zr.onload=Zr.onreadystatechange=function(){nn||this.readyState&&this.readyState!="loaded"&&this.readyState!="complete"||(nn=!0,ur&&ur(null),Zr.onload=Zr.onreadystatechange=null,Zr.parentNode.tagName=="HEAD"&&Rt.removeChild(Zr))},Rt.appendChild(Zr),setTimeout(function(){nn||(nn=!0,ur&&ur(Error("Script load timeout")))},it||5e3),Zr}return null}function C(){this.a=0,this.c=null}function P(Y){return Y.a++,function(){Y.a--,D(Y)}}function k(Y,ht){Y.c=ht,D(Y)}function D(Y){Y.a==0&&Y.c&&(Y.c(),Y.c=null)}function B(Y){this.a=Y||"-"}B.prototype.c=function(Y){for(var ht=[],ur=0;ur<arguments.length;ur++)ht.push(arguments[ur].replace(/[\W_]+/g,"").toLowerCase());return ht.join(this.a)};function $(Y,ht){this.c=Y,this.f=4,this.a="n";var ur=(ht||"n4").match(/^([nio])([1-9])$/i);ur&&(this.a=ur[1],this.f=parseInt(ur[2],10))}function F(Y){return Z(Y)+" "+(Y.f+"00")+" 300px "+V(Y.c)}function V(Y){var ht=[];Y=Y.split(/,\s*/);for(var ur=0;ur<Y.length;ur++){var it=Y[ur].replace(/['"]/g,"");it.indexOf(" ")!=-1||/^\d/.test(it)?ht.push("'"+it+"'"):ht.push(it)}return ht.join(",")}function W(Y){return Y.a+Y.f}function Z(Y){var ht="normal";return Y.a==="o"?ht="oblique":Y.a==="i"&&(ht="italic"),ht}function J(Y){var ht=4,ur="n",it=null;return Y&&((it=Y.match(/(normal|oblique|italic)/i))&&it[1]&&(ur=it[1].substr(0,1).toLowerCase()),(it=Y.match(/([1-9]00|normal|bold)/i))&&it[1]&&(/bold/i.test(it[1])?ht=7:/[1-9]00/.test(it[1])&&(ht=parseInt(it[1].substr(0,1),10)))),ur+ht}function ie(Y,ht){this.c=Y,this.f=Y.o.document.documentElement,this.h=ht,this.a=new B("-"),this.j=ht.events!==!1,this.g=ht.classes!==!1}function le(Y){Y.g&&v(Y.f,[Y.a.c("wf","loading")]),me(Y,"loading")}function he(Y){if(Y.g){var ht=x(Y.f,Y.a.c("wf","active")),ur=[],it=[Y.a.c("wf","loading")];ht||ur.push(Y.a.c("wf","inactive")),v(Y.f,ur,it)}me(Y,"inactive")}function me(Y,ht,ur){Y.j&&Y.h[ht]&&(ur?Y.h[ht](ur.c,W(ur)):Y.h[ht]())}function je(){this.c={}}function Fe(Y,ht,ur){var it=[],Rt;
734for(Rt in ht)if(ht.hasOwnProperty(Rt)){var Zr=Y.c[Rt];Zr&&it.push(Zr(ht[Rt],ur))}return it}function Je(Y,ht){this.c=Y,this.f=ht,this.a=m(this.c,"span",{"aria-hidden":"true"},this.f)}function Xe(Y){g(Y.c,"body",Y.a)}function ge(Y){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+V(Y.c)+";"+("font-style:"+Z(Y)+";font-weight:"+(Y.f+"00")+";")}function be(Y,ht,ur,it,Rt,Zr){this.g=Y,this.j=ht,this.a=it,this.c=ur,this.f=Rt||3e3,this.h=Zr||void 0}be.prototype.start=function(){var Y=this.c.o.document,ht=this,ur=i(),it=new Promise(function(nn,fn){function Sn(){i()-ur>=ht.f?fn():Y.fonts.load(F(ht.a),ht.h).then(function(Ci){1<=Ci.length?nn():setTimeout(Sn,25)},function(){fn()})}Sn()}),Rt=null,Zr=new Promise(function(nn,fn){Rt=setTimeout(fn,ht.f)});Promise.race([Zr,it]).then(function(){Rt&&(clearTimeout(Rt),Rt=null),ht.g(ht.a)},function(){ht.j(ht.a)})};function Ie(Y,ht,ur,it,Rt,Zr,nn){this.v=Y,this.B=ht,this.c=ur,this.a=it,this.s=nn||"BESbswy",this.f={},this.w=Rt||3e3,this.u=Zr||null,this.m=this.j=this.h=this.g=null,this.g=new Je(this.c,this.s),this.h=new Je(this.c,this.s),this.j=new Je(this.c,this.s),this.m=new Je(this.c,this.s),Y=new $(this.a.c+",serif",W(this.a)),Y=ge(Y),this.g.a.style.cssText=Y,Y=new $(this.a.c+",sans-serif",W(this.a)),Y=ge(Y),this.h.a.style.cssText=Y,Y=new $("serif",W(this.a)),Y=ge(Y),this.j.a.style.cssText=Y,Y=new $("sans-serif",W(this.a)),Y=ge(Y),this.m.a.style.cssText=Y,Xe(this.g),Xe(this.h),Xe(this.j),Xe(this.m)}var Re={D:"serif",C:"sans-serif"},ye=null;function De(){if(ye===null){var Y=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);ye=!!Y&&(536>parseInt(Y[1],10)||parseInt(Y[1],10)===536&&11>=parseInt(Y[2],10))}return ye}Ie.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=i(),qe(this)};function $e(Y,ht,ur){for(var it in Re)if(Re.hasOwnProperty(it)&&ht===Y.f[Re[it]]&&ur===Y.f[Re[it]])return!0;return!1}function qe(Y){var ht=Y.g.a.offsetWidth,ur=Y.h.a.offsetWidth,it;(it=ht===Y.f.serif&&ur===Y.f["sans-serif"])||(it=De()&&$e(Y,ht,ur)),it?i()-Y.A>=Y.w?De()&&$e(Y,ht,ur)&&(Y.u===null||Y.u.hasOwnProperty(Y.a.c))?mt(Y,Y.v):mt(Y,Y.B):It(Y):mt(Y,Y.v)}function It(Y){setTimeout(s(function(){qe(this)},Y),50)}function mt(Y,ht){setTimeout(s(function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),ht(this.a)},Y),0)}function kt(Y,ht,ur){this.c=Y,this.a=ht,this.f=0,this.m=this.j=!1,this.s=ur}var Ut=null;kt.prototype.g=function(Y){var ht=this.a;ht.g&&v(ht.f,[ht.a.c("wf",Y.c,W(Y).toString(),"active")],[ht.a.c("wf",Y.c,W(Y).toString(),"loading"),ht.a.c("wf",Y.c,W(Y).toString(),"inactive")]),me(ht,"fontactive",Y),this.m=!0,Ir(this)},kt.prototype.h=function(Y){var ht=this.a;if(ht.g){var ur=x(ht.f,ht.a.c("wf",Y.c,W(Y).toString(),"active")),it=[],Rt=[ht.a.c("wf",Y.c,W(Y).toString(),"loading")];ur||it.push(ht.a.c("wf",Y.c,W(Y).toString(),"inactive")),v(ht.f,it,Rt)}me(ht,"fontinactive",Y),Ir(this)};function Ir(Y){--Y.f==0&&Y.j&&(Y.m?(Y=Y.a,Y.g&&v(Y.f,[Y.a.c("wf","active")],[Y.a.c("wf","loading"),Y.a.c("wf","inactive")]),me(Y,"active")):he(Y.a))}function Sr(Y){this.j=Y,this.a=new je,this.h=0,this.f=this.g=!0}Sr.prototype.load=function(Y){this.c=new u(this.j,Y.context||this.j),this.g=Y.events!==!1,this.f=Y.classes!==!1,Gr(this,new ie(this.c,Y),Y)};function Yr(Y,ht,ur,it,Rt){var Zr=--Y.h==0;(Y.f||Y.g)&&setTimeout(function(){var nn=Rt||null,fn=it||null||{};if(ur.length===0&&Zr)he(ht.a);else{ht.f+=ur.length,Zr&&(ht.j=Zr);var Sn,Ci=[];for(Sn=0;Sn<ur.length;Sn++){var $i=ur[Sn],qr=fn[$i.c],Bi=ht.a,ms=$i;if(Bi.g&&v(Bi.f,[Bi.a.c("wf",ms.c,W(ms).toString(),"loading")]),me(Bi,"fontloading",ms),Bi=null,Ut===null)if(window.FontFace){var ms=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),hs=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Ut=ms?42<parseInt(ms[1],10):!hs}else Ut=!1;Ut?Bi=new be(s(ht.g,ht),s(ht.h,ht),ht.c,$i,ht.s,qr):Bi=new Ie(s(ht.g,ht),s(ht.h,ht),ht.c,$i,ht.s,nn,qr),Ci.push(Bi)}for(Sn=0;Sn<Ci.length;Sn++)Ci[Sn].start()}},0)}function Gr(Y,ht,ur){var Rt=[],it=ur.timeout;le(ht);var Rt=Fe(Y.a,ur,Y.c),Zr=new kt(Y.c,ht,it);for(Y.h=Rt.length,ht=0,ur=Rt.length;ht<ur;ht++)Rt[ht].load(function(nn,fn,Sn){Yr(Y,Zr,nn,fn,Sn)})}function dn(Y,ht){this.c=Y,this.a=ht}dn.prototype.load=function(Y){function ht(){if(Zr["__mti_fntLst"+it]){var nn=Zr["__mti_fntLst"+it](),fn=[],Sn;if(nn)for(var Ci=0;Ci<nn.length;Ci++){var $i=nn[Ci].fontfamily;nn[Ci].fontStyle!=null&&nn[Ci].fontWeight!=null?(Sn=nn[Ci].fontStyle+nn[Ci].fontWeight,fn.push(new $($i,Sn))):fn.push(new $($i))}Y(fn)}else setTimeout(function(){ht()},50)}var ur=this,it=ur.a.projectId,Rt=ur.a.version;if(it){var Zr=ur.c.o;_(this.c,(ur.a.api||"https://fast.fonts.net/jsapi")+"/"+it+".js"+(Rt?"?v="+Rt:""),function(nn){nn?Y([]):(Zr["__MonotypeConfiguration__"+it]=function(){return ur.a},ht())}).id="__MonotypeAPIScript__"+it}else Y([])};function Kr(Y,ht){this.c=Y,this.a=ht}Kr.prototype.load=function(Y){var ht,ur,it=this.a.urls||[],Rt=this.a.families||[],Zr=this.a.testStrings||{},nn=new C;for(ht=0,ur=it.length;ht<ur;ht++)E(this.c,it[ht],P(nn));var fn=[];for(ht=0,ur=Rt.length;ht<ur;ht++)if(it=Rt[ht].split(":"),it[1])for(var Sn=it[1].split(","),Ci=0;Ci<Sn.length;Ci+=1)fn.push(new $(it[0],Sn[Ci]));else fn.push(new $(it[0]));k(nn,function(){Y(fn,Zr)})};function yt(Y,ht){Y?this.c=Y:this.c=tt,this.a=[],this.f=[],this.g=ht||""}var tt="https://fonts.googleapis.com/css";function Ar(Y,ht){for(var ur=ht.length,it=0;
734it<ur;it++){var Rt=ht[it].split(":");Rt.length==3&&Y.f.push(Rt.pop());var Zr="";Rt.length==2&&Rt[1]!=""&&(Zr=":"),Y.a.push(Rt.join(Zr))}}function Mr(Y){if(Y.a.length==0)throw Error("No fonts to load!");if(Y.c.indexOf("kit=")!=-1)return Y.c;for(var ht=Y.a.length,ur=[],it=0;it<ht;it++)ur.push(Y.a[it].replace(/ /g,"+"));return ht=Y.c+"?family="+ur.join("%7C"),0<Y.f.length&&(ht+="&subset="+Y.f.join(",")),0<Y.g.length&&(ht+="&text="+encodeURIComponent(Y.g)),ht}function Er(Y){this.f=Y,this.a=[],this.c={}}var Ur={latin:"BESbswy","latin-ext":"\xE7\xF6\xFC\u011F\u015F",cyrillic:"\u0439\u044F\u0416",greek:"\u03B1\u03B2\u03A3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},or={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},An={i:"i",italic:"i",n:"n",normal:"n"},dr=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Xr(Y){for(var ht=Y.f.length,ur=0;ur<ht;ur++){var it=Y.f[ur].split(":"),Rt=it[0].replace(/\+/g," "),Zr=["n4"];if(2<=it.length){var nn,fn=it[1];if(nn=[],fn)for(var fn=fn.split(","),Sn=fn.length,Ci=0;Ci<Sn;Ci++){var $i;if($i=fn[Ci],$i.match(/^[\w-]+$/)){var qr=dr.exec($i.toLowerCase());if(qr==null)$i="";else{if($i=qr[2],$i=$i==null||$i==""?"n":An[$i],qr=qr[1],qr==null||qr=="")qr="4";else var Bi=or[qr],qr=Bi||(isNaN(qr)?"4":qr.substr(0,1));$i=[$i,qr].join("")}}else $i="";$i&&nn.push($i)}0<nn.length&&(Zr=nn),it.length==3&&(it=it[2],nn=[],it=it?it.split(","):nn,0<it.length&&(it=Ur[it[0]])&&(Y.c[Rt]=it))}for(Y.c[Rt]||(it=Ur[Rt])&&(Y.c[Rt]=it),it=0;it<Zr.length;it+=1)Y.a.push(new $(Rt,Zr[it]))}}function hn(Y,ht){this.c=Y,this.a=ht}var Qt={Arimo:!0,Cousine:!0,Tinos:!0};hn.prototype.load=function(Y){var ht=new C,ur=this.c,it=new yt(this.a.api,this.a.text),Rt=this.a.families;Ar(it,Rt);var Zr=new Er(Rt);Xr(Zr),E(ur,Mr(it),P(ht)),k(ht,function(){Y(Zr.a,Zr.c,Qt)})};function Br(Y,ht){this.c=Y,this.a=ht}Br.prototype.load=function(Y){var ht=this.a.id,ur=this.c.o;ht?_(this.c,(this.a.api||"https://use.typekit.net")+"/"+ht+".js",function(it){if(it)Y([]);else if(ur.Typekit&&ur.Typekit.config&&ur.Typekit.config.fn){it=ur.Typekit.config.fn;for(var Rt=[],Zr=0;Zr<it.length;Zr+=2)for(var nn=it[Zr],fn=it[Zr+1],Sn=0;Sn<fn.length;Sn++)Rt.push(new $(nn,fn[Sn]));try{ur.Typekit.load({events:!1,classes:!1,async:!0})}catch{}Y(Rt)}},2e3):Y([])};function zt(Y,ht){this.c=Y,this.f=ht,this.a=[]}zt.prototype.load=function(Y){var ht=this.f.id,ur=this.c.o,it=this;ht?(ur.__webfontfontdeckmodule__||(ur.__webfontfontdeckmodule__={}),ur.__webfontfontdeckmodule__[ht]=function(Rt,Zr){for(var nn=0,fn=Zr.fonts.length;nn<fn;++nn){var Sn=Zr.fonts[nn];it.a.push(new $(Sn.name,J("font-weight:"+Sn.weight+";font-style:"+Sn.style)))}Y(it.a)},_(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+T(this.c)+"/"+ht+".js",function(Rt){Rt&&Y([])})):Y([])};var Tt=new Sr(window);Tt.a.c.custom=function(Y,ht){return new Kr(ht,Y)},Tt.a.c.fontdeck=function(Y,ht){return new zt(ht,Y)},Tt.a.c.monotype=function(Y,ht){return new dn(ht,Y)},Tt.a.c.typekit=function(Y,ht){return new Br(ht,Y)},Tt.a.c.google=function(Y,ht){return new hn(ht,Y)};var Pr={load:s(Tt.load,Tt)};n=(function(){return Pr}).call(d,e,d,f),n!==void 0&&(f.exports=n)})()},81300(f){"use strict";/*! Axios v1.16.1 Copyright (c) 2026 Matt Zabriskie and contributors */function d(Ne,Ve){return function(){return Ne.apply(Ve,arguments)}}const{toString:e}=Object.prototype,{getPrototypeOf:n}=Object,{iterator:r,toStringTag:a}=Symbol,s=(Ne=>Ve=>{const gt=e.call(Ve);return Ne[gt]||(Ne[gt]=gt.slice(8,-1).toLowerCase())})(Object.create(null)),i=Ne=>(Ne=Ne.toLowerCase(),Ve=>s(Ve)===Ne),u=Ne=>Ve=>typeof Ve===Ne,{isArray:l}=Array,m=u("undefined");function g(Ne){return Ne!==null&&!m(Ne)&&Ne.constructor!==null&&!m(Ne.constructor)&&T(Ne.constructor.isBuffer)&&Ne.constructor.isBuffer(Ne)}const h=i("ArrayBuffer");function v(Ne){let Ve;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Ve=ArrayBuffer.isView(Ne):Ve=Ne&&Ne.buffer&&h(Ne.buffer),Ve}const x=u("string"),T=u("function"),E=u("number"),_=Ne=>Ne!==null&&typeof Ne=="object",C=Ne=>Ne===!0||Ne===!1,P=Ne=>{if(s(Ne)!=="object")return!1;const Ve=n(Ne);
vendor: 5,604 bytes, line 734
734return(Ve===null||Ve===Object.prototype||Object.getPrototypeOf(Ve)===null)&&!(a in Ne)&&!(r in Ne)},k=Ne=>{if(!_(Ne)||g(Ne))return!1;try{return Object.keys(Ne).length===0&&Object.getPrototypeOf(Ne)===Object.prototype}catch{return!1}},D=i("Date"),B=i("File"),$=Ne=>!!(Ne&&typeof Ne.uri<"u"),F=Ne=>Ne&&typeof Ne.getParts<"u",V=i("Blob"),W=i("FileList"),Z=Ne=>_(Ne)&&T(Ne.pipe);function J(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ie=J(),le=typeof ie.FormData<"u"?ie.FormData:void 0,he=Ne=>{if(!Ne)return!1;if(le&&Ne instanceof le)return!0;const Ve=n(Ne);if(!Ve||Ve===Object.prototype||!T(Ne.append))return!1;const gt=s(Ne);return gt==="formdata"||gt==="object"&&T(Ne.toString)&&Ne.toString()==="[object FormData]"},me=i("URLSearchParams"),[je,Fe,Je,Xe]=["ReadableStream","Request","Response","Headers"].map(i),ge=Ne=>Ne.trim?Ne.trim():Ne.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function be(Ne,Ve,{allOwnKeys:gt=!1}={}){if(Ne===null||typeof Ne>"u")return;let ct,Kt;if(typeof Ne!="object"&&(Ne=[Ne]),l(Ne))for(ct=0,Kt=Ne.length;ct<Kt;ct++)Ve.call(null,Ne[ct],ct,Ne);else{if(g(Ne))return;const tr=gt?Object.getOwnPropertyNames(Ne):Object.keys(Ne),Cr=tr.length;let kr;for(ct=0;ct<Cr;ct++)kr=tr[ct],Ve.call(null,Ne[kr],kr,Ne)}}function Ie(Ne,Ve){if(g(Ne))return null;Ve=Ve.toLowerCase();const gt=Object.keys(Ne);let ct=gt.length,Kt;for(;ct-- >0;)if(Kt=gt[ct],Ve===Kt.toLowerCase())return Kt;return null}const Re=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,ye=Ne=>!m(Ne)&&Ne!==Re;function De(...Ne){const{caseless:Ve,skipUndefined:gt}=ye(this)&&this||{},ct={},Kt=(tr,Cr)=>{if(Cr==="__proto__"||Cr==="constructor"||Cr==="prototype")return;const kr=Ve&&Ie(ct,Cr)||Cr,Bn=Kr(ct,kr)?ct[kr]:void 0;P(Bn)&&P(tr)?ct[kr]=De(Bn,tr):P(tr)?ct[kr]=De({},tr):l(tr)?ct[kr]=tr.slice():(!gt||!m(tr))&&(ct[kr]=tr)};for(let tr=0,Cr=Ne.length;tr<Cr;tr++)Ne[tr]&&be(Ne[tr],Kt);return ct}const $e=(Ne,Ve,gt,{allOwnKeys:ct}={})=>(be(Ve,(Kt,tr)=>{gt&&T(Kt)?Object.defineProperty(Ne,tr,{__proto__:null,value:d(Kt,gt),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(Ne,tr,{__proto__:null,value:Kt,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:ct}),Ne),qe=Ne=>(Ne.charCodeAt(0)===65279&&(Ne=Ne.slice(1)),Ne),It=(Ne,Ve,gt,ct)=>{Ne.prototype=Object.create(Ve.prototype,ct),Object.defineProperty(Ne.prototype,"constructor",{__proto__:null,value:Ne,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(Ne,"super",{__proto__:null,value:Ve.prototype}),gt&&Object.assign(Ne.prototype,gt)},mt=(Ne,Ve,gt,ct)=>{let Kt,tr,Cr;const kr={};if(Ve=Ve||{},Ne==null)return Ve;do{for(Kt=Object.getOwnPropertyNames(Ne),tr=Kt.length;tr-- >0;)Cr=Kt[tr],(!ct||ct(Cr,Ne,Ve))&&!kr[Cr]&&(Ve[Cr]=Ne[Cr],kr[Cr]=!0);Ne=gt!==!1&&n(Ne)}while(Ne&&(!gt||gt(Ne,Ve))&&Ne!==Object.prototype);return Ve},kt=(Ne,Ve,gt)=>{Ne=String(Ne),(gt===void 0||gt>Ne.length)&&(gt=Ne.length),gt-=Ve.length;const ct=Ne.indexOf(Ve,gt);return ct!==-1&&ct===gt},Ut=Ne=>{if(!Ne)return null;if(l(Ne))return Ne;let Ve=Ne.length;if(!E(Ve))return null;const gt=new Array(Ve);for(;Ve-- >0;)gt[Ve]=Ne[Ve];return gt},Ir=(Ne=>Ve=>Ne&&Ve instanceof Ne)(typeof Uint8Array<"u"&&n(Uint8Array)),Sr=(Ne,Ve)=>{const ct=(Ne&&Ne[r]).call(Ne);let Kt;for(;(Kt=ct.next())&&!Kt.done;){const tr=Kt.value;Ve.call(Ne,tr[0],tr[1])}},Yr=(Ne,Ve)=>{let gt;const ct=[];for(;(gt=Ne.exec(Ve))!==null;)ct.push(gt);return ct},Gr=i("HTMLFormElement"),dn=Ne=>Ne.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(gt,ct,Kt){return ct.toUpperCase()+Kt}),Kr=(({hasOwnProperty:Ne})=>(Ve,gt)=>Ne.call(Ve,gt))(Object.prototype),yt=i("RegExp"),tt=(Ne,Ve)=>{const gt=Object.getOwnPropertyDescriptors(Ne),ct={};be(gt,(Kt,tr)=>{let Cr;(Cr=Ve(Kt,tr,Ne))!==!1&&(ct[tr]=Cr||Kt)}),Object.defineProperties(Ne,ct)},Ar=Ne=>{tt(Ne,(Ve,gt)=>{if(T(Ne)&&["arguments","caller","callee"].includes(gt))return!1;const ct=Ne[gt];if(T(ct)){if(Ve.enumerable=!1,"writable"in Ve){Ve.writable=!1;return}Ve.set||(Ve.set=()=>{throw Error("Can not rewrite read-only method '"+gt+"'")})}})},Mr=(Ne,Ve)=>{const gt={},ct=Kt=>{Kt.forEach(tr=>{gt[tr]=!0})};return l(Ne)?ct(Ne):ct(String(Ne).split(Ve)),gt},Er=()=>{},Ur=(Ne,Ve)=>Ne!=null&&Number.isFinite(Ne=+Ne)?Ne:Ve;function or(Ne){return!!(Ne&&T(Ne.append)&&Ne[a]==="FormData"&&Ne[r])}const An=Ne=>{const Ve=new WeakSet,gt=ct=>{if(_(ct)){if(Ve.has(ct))return;if(g(ct))return ct;if(!("toJSON"in ct)){Ve.add(ct);const Kt=l(ct)?[]:{};return be(ct,(tr,Cr)=>{const kr=gt(tr);!m(kr)&&(Kt[Cr]=kr)}),Ve.delete(ct),Kt}}return ct};return gt(Ne)},dr=i("AsyncFunction"),Xr=Ne=>Ne&&(_(Ne)||T(Ne))&&T(Ne.then)&&T(Ne.catch),hn=((Ne,Ve)=>Ne?setImmediate:Ve?((gt,ct)=>(Re.addEventListener("message",({source:Kt,data:tr})=>{Kt===Re&&tr===gt&&ct.length&&ct.shift()()},!1),Kt=>{ct.push(Kt),Re.postMessage(gt,"*")}))(`axios@${Math.random()}`,[]):gt=>setTimeout(gt))(typeof setImmediate=="function",T(Re.postMessage)),Qt=typeof queueMicrotask<"u"?queueMicrotask.bind(Re):typeof process<"u"&&process.nextTick||hn;var zt={isArray:l,isArrayBuffer:h,isBuffer:g,isFormData:he,isArrayBufferView:v,isString:x,isNumber:E,isBoolean:C,isObject:_,isPlainObject:P,isEmptyObject:k,isReadableStream:je,isRequest:Fe,isResponse:Je,isHeaders:Xe,isUndefined:m,isDate:D,isFile:B,isReactNativeBlob:$,isReactNative:F,isBlob:V,isRegExp:yt,isFunction:T,isStream:Z,isURLSearchParams:me,isTypedArray:Ir,isFileList:W,forEach:be,merge:De,extend:$e,trim:ge,stripBOM:qe,inherits:It,toFlatObject:mt,kindOf:s,kindOfTest:i,endsWith:kt,toArray:Ut,forEachEntry:Sr,matchAll:Yr,isHTMLF
vendor: 9,616 bytes, lines 734-736
734orm:Gr,hasOwnProperty:Kr,hasOwnProp:Kr,reduceDescriptors:tt,freezeMethods:Ar,toObjectSet:Mr,toCamelCase:dn,noop:Er,toFiniteNumber:Ur,findKey:Ie,global:Re,isContextDefined:ye,isSpecCompliantForm:or,toJSONObject:An,isAsyncFn:dr,isThenable:Xr,setImmediate:hn,asap:Qt,isIterable:Ne=>Ne!=null&&T(Ne[r])};const Tt=zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Pr=Ne=>{const Ve={};let gt,ct,Kt;return Ne&&Ne.split(` 735`).forEach(function(Cr){Kt=Cr.indexOf(":"),gt=Cr.substring(0,Kt).trim().toLowerCase(),ct=Cr.substring(Kt+1).trim(),!(!gt||Ve[gt]&&Tt[gt])&&(gt==="set-cookie"?Ve[gt]?Ve[gt].push(ct):Ve[gt]=[ct]:Ve[gt]=Ve[gt]?Ve[gt]+", "+ct:ct)}),Ve};function Y(Ne){let Ve=0,gt=Ne.length;for(;Ve<gt;){const ct=Ne.charCodeAt(Ve);if(ct!==9&&ct!==32)break;Ve+=1}for(;gt>Ve;){const ct=Ne.charCodeAt(gt-1);if(ct!==9&&ct!==32)break;gt-=1}return Ve===0&>===Ne.length?Ne:Ne.slice(Ve,gt)}const ht=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ur=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function it(Ne,Ve){return zt.isArray(Ne)?Ne.map(gt=>it(gt,Ve)):Y(String(Ne).replace(Ve,""))}const Rt=Ne=>it(Ne,ht),Zr=Ne=>it(Ne,ur);function nn(Ne){const Ve=Object.create(null);return zt.forEach(Ne.toJSON(),(gt,ct)=>{Ve[ct]=Zr(gt)}),Ve}const fn=Symbol("internals");function Sn(Ne){return Ne&&String(Ne).trim().toLowerCase()}function Ci(Ne){return Ne===!1||Ne==null?Ne:zt.isArray(Ne)?Ne.map(Ci):Rt(String(Ne))}function $i(Ne){const Ve=Object.create(null),gt=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let ct;for(;ct=gt.exec(Ne);)Ve[ct[1]]=ct[2];return Ve}const qr=Ne=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ne.trim());function Bi(Ne,Ve,gt,ct,Kt){if(zt.isFunction(ct))return ct.call(this,Ve,gt);if(Kt&&(Ve=gt),!!zt.isString(Ve)){if(zt.isString(ct))return Ve.indexOf(ct)!==-1;if(zt.isRegExp(ct))return ct.test(Ve)}}function ms(Ne){return Ne.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Ve,gt,ct)=>gt.toUpperCase()+ct)}function hs(Ne,Ve){const gt=zt.toCamelCase(" "+Ve);["get","set","has"].forEach(ct=>{Object.defineProperty(Ne,ct+gt,{__proto__:null,value:function(Kt,tr,Cr){return this[ct].call(this,Ve,Kt,tr,Cr)},configurable:!0})})}class Mi{constructor(Ve){Ve&&this.set(Ve)}set(Ve,gt,ct){const Kt=this;function tr(kr,Bn,Hn){const Bt=Sn(Bn);if(!Bt)throw new Error("header name must be a non-empty string");const Wt=zt.findKey(Kt,Bt);(!Wt||Kt[Wt]===void 0||Hn===!0||Hn===void 0&&Kt[Wt]!==!1)&&(Kt[Wt||Bn]=Ci(kr))}const Cr=(kr,Bn)=>zt.forEach(kr,(Hn,Bt)=>tr(Hn,Bt,Bn));if(zt.isPlainObject(Ve)||Ve instanceof this.constructor)Cr(Ve,gt);else if(zt.isString(Ve)&&(Ve=Ve.trim())&&!qr(Ve))Cr(Pr(Ve),gt);else if(zt.isObject(Ve)&&zt.isIterable(Ve)){let kr={},Bn,Hn;for(const Bt of Ve){if(!zt.isArray(Bt))throw TypeError("Object iterator must return a key-value pair");kr[Hn=Bt[0]]=(Bn=kr[Hn])?zt.isArray(Bn)?[...Bn,Bt[1]]:[Bn,Bt[1]]:Bt[1]}Cr(kr,gt)}else Ve!=null&&tr(gt,Ve,ct);return this}get(Ve,gt){if(Ve=Sn(Ve),Ve){const ct=zt.findKey(this,Ve);if(ct){const Kt=this[ct];if(!gt)return Kt;if(gt===!0)return $i(Kt);if(zt.isFunction(gt))return gt.call(this,Kt,ct);if(zt.isRegExp(gt))return gt.exec(Kt);throw new TypeError("parser must be boolean|regexp|function")}}}has(Ve,gt){if(Ve=Sn(Ve),Ve){const ct=zt.findKey(this,Ve);return!!(ct&&this[ct]!==void 0&&(!gt||Bi(this,this[ct],ct,gt)))}return!1}delete(Ve,gt){const ct=this;let Kt=!1;function tr(Cr){if(Cr=Sn(Cr),Cr){const kr=zt.findKey(ct,Cr);kr&&(!gt||Bi(ct,ct[kr],kr,gt))&&(delete ct[kr],Kt=!0)}}return zt.isArray(Ve)?Ve.forEach(tr):tr(Ve),Kt}clear(Ve){const gt=Object.keys(this);let ct=gt.length,Kt=!1;for(;ct--;){const tr=gt[ct];(!Ve||Bi(this,this[tr],tr,Ve,!0))&&(delete this[tr],Kt=!0)}return Kt}normalize(Ve){const gt=this,ct={};return zt.forEach(this,(Kt,tr)=>{const Cr=zt.findKey(ct,tr);if(Cr){gt[Cr]=Ci(Kt),delete gt[tr];return}const kr=Ve?ms(tr):String(tr).trim();kr!==tr&&delete gt[tr],gt[kr]=Ci(Kt),ct[kr]=!0}),this}concat(...Ve){return this.constructor.concat(this,...Ve)}toJSON(Ve){const gt=Object.create(null);return zt.forEach(this,(ct,Kt)=>{ct!=null&&ct!==!1&&(gt[Kt]=Ve&&zt.isArray(ct)?ct.join(", "):ct)}),gt}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Ve,gt])=>Ve+": "+gt).join(` 736`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Ve){return Ve instanceof this?Ve:new this(Ve)}static concat(Ve,...gt){const ct=new this(Ve);return gt.forEach(Kt=>ct.set(Kt)),ct}static accessor(Ve){const ct=(this[fn]=this[fn]={accessors:{}}).accessors,Kt=this.prototype;function tr(Cr){const kr=Sn(Cr);ct[kr]||(hs(Kt,Cr),ct[kr]=!0)}return zt.isArray(Ve)?Ve.forEach(tr):tr(Ve),this}}Mi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),zt.reduceDescriptors(Mi.prototype,({value:Ne},Ve)=>{let gt=Ve[0].toUpperCase()+Ve.slice(1);return{get:()=>Ne,set(ct){this[gt]=ct}}}),zt.freezeMethods(Mi);const gi="[REDACTED ****]";function Hi(Ne){if(zt.hasOwnProp(Ne,"toJSON"))return!0;let Ve=Object.getPrototypeOf(Ne);for(;Ve&&Ve!==Object.prototype;){if(zt.hasOwnProp(Ve,"toJSON"))return!0;Ve=Object.getPrototypeOf(Ve)}return!1}function qn(Ne,Ve){const gt=new Set(Ve.map(tr=>String(tr).toLowerCase())),ct=[],Kt=tr=>{if(tr===null||typeof tr!="object"||zt.isBuffer(tr))return tr;if(ct.indexOf(tr)!==-1)return;tr instanceof Mi&&(tr=tr.toJSON()),ct.push(tr);let Cr;if(zt.isArray(tr))Cr=[],tr.forEach((kr,Bn)=>{const Hn=Kt(kr);zt.isUndefined(Hn)||(Cr[Bn]=Hn)});else{if(!zt.isPlainObject(tr)&&Hi(tr))return ct.pop(),tr;Cr=Object.create(null);for(const[kr,Bn]of Object.entries(tr)){const Hn=gt.has(kr.toLowerCase())?gi:Kt(Bn);zt.isUndefined(Hn)||(Cr[kr]=Hn)}}return ct.pop(),Cr};return Kt(Ne)}class $n extends Error{static from(Ve,gt,ct,Kt,tr,Cr){const kr=new $n(Ve.message,gt||Ve.code,ct,Kt,tr);return kr.cause=Ve,kr.name=Ve.name,Ve.status!=null&&kr.status==null&&(kr.status=Ve.status),Cr&&Object.assign(kr,Cr),kr}constructor(Ve,gt,ct,Kt,tr){super(Ve),Object.defineProperty(this,"message",{__proto__:null,value:Ve,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,gt&&(this.code=gt),ct&&(this.config=ct),Kt&&(this.request=Kt),tr&&(this.response=tr,this.status=tr.status)}toJSON(){const Ve=this.config,gt=Ve&&zt.hasOwnProp(Ve,"redact")?Ve.redact:void 0,ct=zt.isArray(gt)&>.length>0?qn(Ve,gt):zt.toJSONObject(Ve);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ct,code:this.code,status:this.status}}}$n.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",$n.ERR_BAD_OPTION="ERR_BAD_OPTION",$n.ECONNABORTED="ECONNABORTED",$n.ETIMEDOUT="ETIMEDOUT",$n.ECONNREFUSED="ECONNREFUSED",$n.ERR_NETWORK="ERR_NETWORK",$n.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",$n.ERR_DEPRECATED="ERR_DEPRECATED",$n.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",$n.ERR_BAD_REQUEST="ERR_BAD_REQUEST",$n.ERR_CANCELED="ERR_CANCELED",$n.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",$n.ERR_INVALID_URL="ERR_INVALID_URL",$n.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var $s=null;function ys(Ne){return zt.isPlainObject(Ne)||zt.isArray(Ne)}function Es(Ne){return zt.endsWith(Ne,"[]")?Ne.slice(0,-2):Ne}function oe(Ne,Ve,gt){return Ne?Ne.concat(Ve).map(function(Kt,tr){return Kt=Es(Kt),!gt&&tr?"["+Kt+"]":Kt}).join(gt?".":""):Ve}function xe(Ne){return zt.isArray(Ne)&&!Ne.some(ys)}const Ge=zt.toFlatObject(zt,{},null,function(Ve){return/^is[A-Z]/.test(Ve)});function bt(Ne,Ve,gt){if(!zt.isObject(Ne))throw new TypeError("target must be an object");Ve=Ve||new FormData,gt=zt.toFlatObject(gt,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Wn,Un){return!zt.isUndefined(Un[Wn])});const ct=gt.metaTokens,Kt=gt.visitor||Wt,tr=gt.dots,Cr=gt.indexes,kr=gt.Blob||typeof Blob<"u"&&Blob,Bn=gt.maxDepth===void 0?100:gt.maxDepth,Hn=kr&&zt.isSpecCompliantForm(Ve);if(!zt.isFunction(Kt))throw new TypeError("visitor must be a function");function Bt(_n){if(_n===null)return"";if(zt.isDate(_n))return _n.toISOString();if(zt.isBoolean(_n))return _n.toString();if(!Hn&&zt.isBlob(_n))throw new $n("Blob is not supported. Use a Buffer instead.");return zt.isArrayBuffer(_n)||zt.isTypedArray(_n)?Hn&&typeof Blob=="function"?new Blob([_n]):Buffer.from(_n):_n}function Wt(_n,Wn,Un){let Fi=_n;if(zt.isReactNative(Ve)&&zt.isReactNativeBlob(_n))return Ve.append(oe(Un,Wn,tr),Bt(_n)),!1;if(_n&&!Un&&typeof _n=="object"){if(zt.endsWith(Wn,"{}"))Wn=ct?Wn:Wn.slice(0,-2),_n=JSON.stringify(_n);else if(zt.isArray(_n)&&xe(_n)||(zt.isFileList(_n)||zt.endsWith(Wn,"[]"))&&(Fi=zt.toArray(_n)))return Wn=Es(Wn),Fi.forEach(function(Ue,lt){!(zt.isUndefined(Ue)||Ue===null)&&Ve.append(Cr===!0?oe([Wn],lt,tr):Cr===null?Wn:Wn+"[]",Bt(Ue))}),!1}return ys(_n)?!0:(Ve.append(oe(Un,Wn,tr),Bt(_n)),!1)}const Wr=[],sn=Object.assign(Ge,{defaultVisitor:Wt,convertValue:Bt,isVisitable:ys});function Mn(_n,Wn,Un=0){if(!zt.isUndefined(_n)){if(Un>Bn)throw new $n("Object is too deeply nested ("+Un+" levels). Max depth: "+Bn,$n.ERR_FORM_DATA_DEPTH_EXCEEDED);if(Wr.indexOf(_n)!==-1)throw Error("Circular reference detected in "+Wn.join("."));Wr.push(_n),zt.forEach(_n,function(Le,Ue){(!(zt.isUndefined(Le)||Le===null)&&Kt.call(Ve,Le,zt.isString(Ue)?Ue.trim():Ue,Wn,sn))===!0&&Mn(Le,Wn?Wn.concat(Ue):[Ue],Un+1)}),Wr.pop()}}if(!zt.isObject(Ne))throw new TypeError("data must be an object");return Mn(Ne),Ve}
vendor: 21,315 bytes, lines 736-738
736function Et(Ne){const Ve={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(Ne).replace(/[!'()~]|%20/g,function(ct){return Ve[ct]})}function Tr(Ne,Ve){this._pairs=[],Ne&&bt(Ne,this,Ve)}const vn=Tr.prototype;vn.append=function(Ve,gt){this._pairs.push([Ve,gt])},vn.toString=function(Ve){const gt=Ve?function(ct){return Ve.call(this,ct,Et)}:Et;return this._pairs.map(function(Kt){return gt(Kt[0])+"="+gt(Kt[1])},"").join("&")};function Gt(Ne){return encodeURIComponent(Ne).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ei(Ne,Ve,gt){if(!Ve)return Ne;const ct=gt&>.encode||Gt,Kt=zt.isFunction(gt)?{serialize:gt}:gt,tr=Kt&&Kt.serialize;let Cr;if(tr?Cr=tr(Ve,Kt):Cr=zt.isURLSearchParams(Ve)?Ve.toString():new Tr(Ve,Kt).toString(ct),Cr){const kr=Ne.indexOf("#");kr!==-1&&(Ne=Ne.slice(0,kr)),Ne+=(Ne.indexOf("?")===-1?"?":"&")+Cr}return Ne}class si{constructor(){this.handlers=[]}use(Ve,gt,ct){return this.handlers.push({fulfilled:Ve,rejected:gt,synchronous:ct?ct.synchronous:!1,runWhen:ct?ct.runWhen:null}),this.handlers.length-1}eject(Ve){this.handlers[Ve]&&(this.handlers[Ve]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Ve){zt.forEach(this.handlers,function(ct){ct!==null&&Ve(ct)})}}var yn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},rs=typeof URLSearchParams<"u"?URLSearchParams:Tr,xn=typeof FormData<"u"?FormData:null,Ms=typeof Blob<"u"?Blob:null,Yi={isBrowser:!0,classes:{URLSearchParams:rs,FormData:xn,Blob:Ms},protocols:["http","https","file","blob","url","data"]};const Gs=typeof window<"u"&&typeof document<"u",us=typeof navigator=="object"&&navigator||void 0,nr=Gs&&(!us||["ReactNative","NativeScript","NS"].indexOf(us.product)<0),cr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ln=Gs&&window.location.href||"http://localhost";var Yn=Object.freeze({__proto__:null,hasBrowserEnv:Gs,hasStandardBrowserEnv:nr,hasStandardBrowserWebWorkerEnv:cr,navigator:us,origin:ln}),Ln={...Yn,...Yi};function wn(Ne,Ve){return bt(Ne,new Ln.classes.URLSearchParams,{visitor:function(gt,ct,Kt,tr){return Ln.isNode&&zt.isBuffer(gt)?(this.append(ct,gt.toString("base64")),!1):tr.defaultVisitor.apply(this,arguments)},...Ve})}function ti(Ne){return zt.matchAll(/\w+|\[(\w*)]/g,Ne).map(Ve=>Ve[0]==="[]"?"":Ve[1]||Ve[0])}function Ti(Ne){const Ve={},gt=Object.keys(Ne);let ct;const Kt=gt.length;let tr;for(ct=0;ct<Kt;ct++)tr=gt[ct],Ve[tr]=Ne[tr];return Ve}function Pi(Ne){function Ve(gt,ct,Kt,tr){let Cr=gt[tr++];if(Cr==="__proto__")return!0;const kr=Number.isFinite(+Cr),Bn=tr>=gt.length;return Cr=!Cr&&zt.isArray(Kt)?Kt.length:Cr,Bn?(zt.hasOwnProp(Kt,Cr)?Kt[Cr]=zt.isArray(Kt[Cr])?Kt[Cr].concat(ct):[Kt[Cr],ct]:Kt[Cr]=ct,!kr):((!zt.hasOwnProp(Kt,Cr)||!zt.isObject(Kt[Cr]))&&(Kt[Cr]=[]),Ve(gt,ct,Kt[Cr],tr)&&zt.isArray(Kt[Cr])&&(Kt[Cr]=Ti(Kt[Cr])),!kr)}if(zt.isFormData(Ne)&&zt.isFunction(Ne.entries)){const gt={};return zt.forEachEntry(Ne,(ct,Kt)=>{Ve(ti(ct),Kt,gt,0)}),gt}return null}const Zi=(Ne,Ve)=>Ne!=null&&zt.hasOwnProp(Ne,Ve)?Ne[Ve]:void 0;function Ui(Ne,Ve,gt){if(zt.isString(Ne))try{return(Ve||JSON.parse)(Ne),zt.trim(Ne)}catch(ct){if(ct.name!=="SyntaxError")throw ct}return(gt||JSON.stringify)(Ne)}const vi={transitional:yn,adapter:["xhr","http","fetch"],transformRequest:[function(Ve,gt){const ct=gt.getContentType()||"",Kt=ct.indexOf("application/json")>-1,tr=zt.isObject(Ve);if(tr&&zt.isHTMLForm(Ve)&&(Ve=new FormData(Ve)),zt.isFormData(Ve))return Kt?JSON.stringify(Pi(Ve)):Ve;if(zt.isArrayBuffer(Ve)||zt.isBuffer(Ve)||zt.isStream(Ve)||zt.isFile(Ve)||zt.isBlob(Ve)||zt.isReadableStream(Ve))return Ve;if(zt.isArrayBufferView(Ve))return Ve.buffer;if(zt.isURLSearchParams(Ve))return gt.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Ve.toString();let kr;if(tr){const Bn=Zi(this,"formSerializer");if(ct.indexOf("application/x-www-form-urlencoded")>-1)return wn(Ve,Bn).toString();if((kr=zt.isFileList(Ve))||ct.indexOf("multipart/form-data")>-1){const Hn=Zi(this,"env"),Bt=Hn&&Hn.FormData;return bt(kr?{"files[]":Ve}:Ve,Bt&&new Bt,Bn)}}return tr||Kt?(gt.setContentType("application/json",!1),Ui(Ve)):Ve}],transformResponse:[function(Ve){const gt=Zi(this,"transitional")||vi.transitional,ct=gt&>.forcedJSONParsing,Kt=Zi(this,"responseType"),tr=Kt==="json";if(zt.isResponse(Ve)||zt.isReadableStream(Ve))return Ve;if(Ve&&zt.isString(Ve)&&(ct&&!Kt||tr)){const kr=!(gt&>.silentJSONParsing)&&tr;try{return JSON.parse(Ve,Zi(this,"parseReviver"))}catch(Bn){if(kr)throw Bn.name==="SyntaxError"?$n.from(Bn,$n.ERR_BAD_RESPONSE,this,null,Zi(this,"response")):Bn}}return Ve}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ln.classes.FormData,Blob:Ln.classes.Blob},validateStatus:function(Ve){return Ve>=200&&Ve<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};zt.forEach(["delete","get","head","post","put","patch","query"],Ne=>{vi.headers[Ne]={}});function Wi(Ne,Ve){const gt=this||vi,ct=Ve||gt,Kt=Mi.from(ct.headers);let tr=ct.data;return zt.forEach(Ne,function(kr){tr=kr.call(gt,tr,Kt.normalize(),Ve?Ve.status:void 0)}),Kt.normalize(),tr}function ks(Ne){return!!(Ne&&Ne.__CANCEL__)}class ss extends $n{constructor(Ve,gt,ct){super(Ve??"canceled",$n.ERR_CANCELED,gt,ct),this.name="CanceledError",this.__CANCEL__=!0}}function xs(Ne,Ve,gt){const ct=gt.config.validateStatus;!gt.status||!ct||ct(gt.status)?Ne(gt):Ve(new $n("Request failed with status code "+gt.status,gt.status>=400&>.status<500?$n.ERR_BAD_REQUEST:$n.ERR_BAD_RESPONSE,gt.config,gt.request,gt))}function wi(Ne){const Ve=/^([-+\w]{1,25}):(?:\/\/)?/.exec(Ne);return Ve&&Ve[1]||""}function Ns(Ne,Ve){Ne=Ne||10;const gt=new Array(Ne),ct=new Array(Ne);let Kt=0,tr=0,Cr;return Ve=Ve!==void 0?Ve:1e3,function(Bn){const Hn=Date.now(),Bt=ct[tr];Cr||(Cr=Hn),gt[Kt]=Bn,ct[Kt]=Hn;let Wt=tr,Wr=0;for(;Wt!==Kt;)Wr+=gt[Wt++],Wt=Wt%Ne;if(Kt=(Kt+1)%Ne,Kt===tr&&(tr=(tr+1)%Ne),Hn-Cr<Ve)return;const sn=Bt&&Hn-Bt;return sn?Math.round(Wr*1e3/sn):void 0}}function Cs(Ne,Ve){let gt=0,ct=1e3/Ve,Kt,tr;const Cr=(Hn,Bt=Date.now())=>{gt=Bt,Kt=null,tr&&(clearTimeout(tr),tr=null),Ne(...Hn)};return[(...Hn)=>{const Bt=Date.now(),Wt=Bt-gt;Wt>=ct?Cr(Hn,Bt):(Kt=Hn,tr||(tr=setTimeout(()=>{tr=null,Cr(Kt)},ct-Wt)))},()=>Kt&&Cr(Kt)]}const as=(Ne,Ve,gt=3)=>{let ct=0;const Kt=Ns(50,250);return Cs(tr=>{if(!tr||typeof tr.loaded!="number")return;const Cr=tr.loaded,kr=tr.lengthComputable?tr.total:void 0,Bn=kr!=null?Math.min(Cr,kr):Cr,Hn=Math.max(0,Bn-ct),Bt=Kt(Hn);ct=Math.max(ct,Bn);const Wt={loaded:Bn,total:kr,progress:kr?Bn/kr:void 0,bytes:Hn,rate:Bt||void 0,estimated:Bt&&kr?(kr-Bn)/Bt:void 0,event:tr,lengthComputable:kr!=null,[Ve?"download":"upload"]:!0};Ne(Wt)},gt)},Os=(Ne,Ve)=>{const gt=Ne!=null;return[ct=>Ve[0]({lengthComputable:gt,total:Ne,loaded:ct}),Ve[1]]},ce=Ne=>(...Ve)=>zt.asap(()=>Ne(...Ve));var He=Ln.hasStandardBrowserEnv?((Ne,Ve)=>gt=>(gt=new URL(gt,Ln.origin),Ne.protocol===gt.protocol&&Ne.host===gt.host&&(Ve||Ne.port===gt.port)))(new URL(Ln.origin),Ln.navigator&&/(msie|trident)/i.test(Ln.navigator.userAgent)):()=>!0,Lt=Ln.hasStandardBrowserEnv?{write(Ne,Ve,gt,ct,Kt,tr,Cr){if(typeof document>"u")return;const kr=[`${Ne}=${encodeURIComponent(Ve)}`];zt.isNumber(gt)&&kr.push(`expires=${new Date(gt).toUTCString()}`),zt.isString(ct)&&kr.push(`path=${ct}`),zt.isString(Kt)&&kr.push(`domain=${Kt}`),tr===!0&&kr.push("secure"),zt.isString(Cr)&&kr.push(`SameSite=${Cr}`),document.cookie=kr.join("; ")},read(Ne){if(typeof document>"u")return null;const Ve=document.cookie.split(";");for(let gt=0;gt<Ve.length;gt++){const ct=Ve[gt].replace(/^\s+/,""),Kt=ct.indexOf("=");if(Kt!==-1&&ct.slice(0,Kt)===Ne)return decodeURIComponent(ct.slice(Kt+1))}return null},remove(Ne){this.write(Ne,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function fr(Ne){return typeof Ne!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ne)}function un(Ne,Ve){return Ve?Ne.replace(/\/?\/$/,"")+"/"+Ve.replace(/^\/+/,""):Ne}function Qn(Ne,Ve,gt){let ct=!fr(Ve);return Ne&&(ct||gt===!1)?un(Ne,Ve):Ve}const Xi=Ne=>Ne instanceof Mi?{...Ne}:Ne;function qi(Ne,Ve){Ve=Ve||{};const gt=Object.create(null);Object.defineProperty(gt,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function ct(Hn,Bt,Wt,Wr){return zt.isPlainObject(Hn)&&zt.isPlainObject(Bt)?zt.merge.call({caseless:Wr},Hn,Bt):zt.isPlainObject(Bt)?zt.merge({},Bt):zt.isArray(Bt)?Bt.slice():Bt}function Kt(Hn,Bt,Wt,Wr){if(zt.isUndefined(Bt)){if(!zt.isUndefined(Hn))return ct(void 0,Hn,Wt,Wr)}else return ct(Hn,Bt,Wt,Wr)}function tr(Hn,Bt){if(!zt.isUndefined(Bt))return ct(void 0,Bt)}function Cr(Hn,Bt){if(zt.isUndefined(Bt)){if(!zt.isUndefined(Hn))return ct(void 0,Hn)}else return ct(void 0,Bt)}function kr(Hn,Bt,Wt){if(zt.hasOwnProp(Ve,Wt))return ct(Hn,Bt);if(zt.hasOwnProp(Ne,Wt))return ct(void 0,Hn)}const Bn={url:tr,method:tr,data:tr,baseURL:Cr,transformRequest:Cr,transformResponse:Cr,paramsSerializer:Cr,timeout:Cr,timeoutMessage:Cr,withCredentials:Cr,withXSRFToken:Cr,adapter:Cr,responseType:Cr,xsrfCookieName:Cr,xsrfHeaderName:Cr,onUploadProgress:Cr,onDownloadProgress:Cr,decompress:Cr,maxContentLength:Cr,maxBodyLength:Cr,beforeRedirect:Cr,transport:Cr,httpAgent:Cr,httpsAgent:Cr,cancelToken:Cr,socketPath:Cr,allowedSocketPaths:Cr,responseEncoding:Cr,validateStatus:kr,headers:(Hn,Bt,Wt)=>Kt(Xi(Hn),Xi(Bt),Wt,!0)};return zt.forEach(Object.keys({...Ne,...Ve}),function(Bt){if(Bt==="__proto__"||Bt==="constructor"||Bt==="prototype")return;const Wt=zt.hasOwnProp(Bn,Bt)?Bn[Bt]:Kt,Wr=zt.hasOwnProp(Ne,Bt)?Ne[Bt]:void 0,sn=zt.hasOwnProp(Ve,Bt)?Ve[Bt]:void 0,Mn=Wt(Wr,sn,Bt);zt.isUndefined(Mn)&&Wt!==kr||(gt[Bt]=Mn)}),gt}const ls=["content-type","content-length"];function ps(Ne,Ve,gt){if(gt!=="content-only"){Ne.set(Ve);return}Object.entries(Ve).forEach(([ct,Kt])=>{ls.includes(ct.toLowerCase())&&Ne.set(ct,Kt)})}const la=Ne=>encodeURIComponent(Ne).replace(/%([0-9A-F]{2})/gi,(Ve,gt)=>String.fromCharCode(parseInt(gt,16)));var ca=Ne=>{const Ve=qi({},Ne),gt=Wr=>zt.hasOwnProp(Ve,Wr)?Ve[Wr]:void 0,ct=gt("data");let Kt=gt("withXSRFToken");const tr=gt("xsrfHeaderName"),Cr=gt("xsrfCookieName");let kr=gt("headers");const Bn=gt("auth"),Hn=gt("baseURL"),Bt=gt("allowAbsoluteUrls"),Wt=gt("url");if(Ve.headers=kr=Mi.from(kr),Ve.url=ei(Qn(Hn,Wt,Bt),Ne.params,Ne.paramsSerializer),Bn&&kr.set("Authorization","Basic "+btoa((Bn.username||"")+":"+(Bn.password?la(Bn.password):""))),zt.isFormData(ct)&&(Ln.hasStandardBrowserEnv||Ln.hasStandardBrowserWebWorkerEnv?kr.setContentType(void 0):zt.isFunction(ct.getHeaders)&&ps(kr,ct.getHeaders(),gt("formDataHeaderPolicy"))),Ln.hasStandardBrowserEnv&&(zt.isFunction(Kt)&&(Kt=Kt(Ve)),Kt===!0||Kt==null&&He(Ve.url))){const sn=tr&&Cr&&Lt.read(Cr);sn&&kr.set(tr,sn)}return Ve},io=typeof XMLHttpRequest<"u"&&function(Ne){return new Promise(function(gt,ct){const Kt=ca(Ne);let tr=Kt.data;const Cr=Mi.from(Kt.headers).normalize();let{responseType:kr,onUploadProgress:Bn,onDownloadProgress:Hn}=Kt,Bt,Wt,Wr,sn,Mn;function _n(){sn&&sn(),Mn&&Mn(),Kt.cancelToken&&Kt.cancelToken.unsubscribe(Bt),Kt.signal&&Kt.signal.removeEventListener("abort",Bt)}let Wn=new XMLHttpRequest;Wn.open(Kt.method.toUpperCase(),Kt.url,!0),Wn.timeout=Kt.timeout;function Un(){if(!Wn)return;const Le=Mi.from("getAllResponseHeaders"in Wn&&Wn.getAllResponseHeaders()),lt={data:!kr||kr==="text"||kr==="json"?Wn.responseText:Wn.response,status:Wn.status,statusText:Wn.statusText,headers:Le,config:Ne,request:Wn};xs(function(Yt){gt(Yt),_n()},function(Yt){ct(Yt),_n()},lt),Wn=null}"onloadend"in Wn?Wn.onloadend=Un:Wn.onreadystatechange=function(){!Wn||Wn.readyState!==4||Wn.status===0&&!(Wn.responseURL&&Wn.responseURL.startsWith("file:"))||setTimeout(Un)},Wn.onabort=function(){Wn&&(ct(new $n("Request aborted",$n.ECONNABORTED,Ne,Wn)),_n(),Wn=null)},Wn.onerror=function(Ue){const lt=Ue&&Ue.message?Ue.message:"Network Error",ot=new $n(lt,$n.ERR_NETWORK,Ne,Wn);ot.event=Ue||null,ct(ot),_n(),Wn=null},Wn.ontimeout=function(){let Ue=Kt.timeout?"timeout of "+Kt.timeout+"ms exceeded":"timeout exceeded";const lt=Kt.transitional||yn;Kt.timeoutErrorMessage&&(Ue=Kt.timeoutErrorMessage),ct(new $n(Ue,lt.clarifyTimeoutError?$n.ETIMEDOUT:$n.ECONNABORTED,Ne,Wn)),_n(),Wn=null},tr===void 0&&Cr.setContentType(null),"setRequestHeader"in Wn&&zt.forEach(nn(Cr),function(Ue,lt){Wn.setRequestHeader(lt,Ue)}),zt.isUndefined(Kt.withCredentials)||(Wn.withCredentials=!!Kt.withCredentials),kr&&kr!=="json"&&(Wn.responseType=Kt.responseType),Hn&&([Wr,Mn]=as(Hn,!0),Wn.addEventListener("progress",Wr)),Bn&&Wn.upload&&([Wt,sn]=as(Bn),Wn.upload.addEventListener("progress",Wt),Wn.upload.addEventListener("loadend",sn)),(Kt.cancelToken||Kt.signal)&&(Bt=Le=>{Wn&&(ct(!Le||Le.type?new ss(null,Ne,Wn):Le),Wn.abort(),_n(),Wn=null)},Kt.cancelToken&&Kt.cancelToken.subscribe(Bt),Kt.signal&&(Kt.signal.aborted?Bt():Kt.signal.addEventListener("abort",Bt)));const Fi=wi(Kt.url);if(Fi&&!Ln.protocols.includes(Fi)){ct(new $n("Unsupported protocol "+Fi+":",$n.ERR_BAD_REQUEST,Ne));return}Wn.send(tr||null)})};const Is=(Ne,Ve)=>{if(Ne=Ne?Ne.filter(Boolean):[],!Ve&&!Ne.length)return;const gt=new AbortController;let ct=!1;const Kt=function(Bn){if(!ct){ct=!0,Cr();const Hn=Bn instanceof Error?Bn:this.reason;gt.abort(Hn instanceof $n?Hn:new ss(Hn instanceof Error?Hn.message:Hn))}};let tr=Ve&&setTimeout(()=>{tr=null,Kt(new $n(`timeout of ${Ve}ms exceeded`,$n.ETIMEDOUT))},Ve);const Cr=()=>{Ne&&(tr&&clearTimeout(tr),tr=null,Ne.forEach(Bn=>{Bn.unsubscribe?Bn.unsubscribe(Kt):Bn.removeEventListener("abort",Kt)}),Ne=null)};Ne.forEach(Bn=>Bn.addEventListener("abort",Kt));const{signal:kr}=gt;return kr.unsubscribe=()=>zt.asap(Cr),kr},yr=function*(Ne,Ve){let gt=Ne.byteLength;if(gt<Ve){yield Ne;return}let ct=0,Kt;for(;ct<gt;)Kt=ct+Ve,yield Ne.slice(ct,Kt),ct=Kt},Fa=async function*(Ne,Ve){for await(const gt of on(Ne))yield*yr(gt,Ve)},on=async function*(Ne){if(Ne[Symbol.asyncIterator]){yield*Ne;return}const Ve=Ne.getReader();try{for(;;){const{done:gt,value:ct}=await Ve.read();if(gt)break;yield ct}}finally{await Ve.cancel()}},va=(Ne,Ve,gt,ct)=>{const Kt=Fa(Ne,Ve);let tr=0,Cr,kr=Bn=>{Cr||(Cr=!0,ct&&ct(Bn))};return new ReadableStream({async pull(Bn){try{const{done:Hn,value:Bt}=await Kt.next();if(Hn){kr(),Bn.close();return}let Wt=Bt.byteLength;if(gt){let Wr=tr+=Wt;gt(Wr)}Bn.enqueue(new Uint8Array(Bt))}catch(Hn){throw kr(Hn),Hn}},cancel(Bn){return kr(Bn),Kt.return()}},{highWaterMark:2})};function pa(Ne){if(!Ne||typeof Ne!="string"||!Ne.startsWith("data:"))return 0;const Ve=Ne.indexOf(",");if(Ve<0)return 0;const gt=Ne.slice(5,Ve),ct=Ne.slice(Ve+1);if(/;base64/i.test(gt)){let Cr=ct.length;const kr=ct.length;for(let sn=0;sn<kr;sn++)if(ct.charCodeAt(sn)===37&&sn+2<kr){const Mn=ct.charCodeAt(sn+1),_n=ct.charCodeAt(sn+2);(Mn>=48&&Mn<=57||Mn>=65&&Mn<=70||Mn>=97&&Mn<=102)&&(_n>=48&&_n<=57||_n>=65&&_n<=70||_n>=97&&_n<=102)&&(Cr-=2,sn+=2)}let Bn=0,Hn=kr-1;const Bt=sn=>sn>=2&&ct.charCodeAt(sn-2)===37&&ct.charCodeAt(sn-1)===51&&(ct.charCodeAt(sn)===68||ct.charCodeAt(sn)===100);Hn>=0&&(ct.charCodeAt(Hn)===61?(Bn++,Hn--):Bt(Hn)&&(Bn++,Hn-=3)),Bn===1&&Hn>=0&&(ct.charCodeAt(Hn)===61||Bt(Hn))&&Bn++;const Wr=Math.floor(Cr/4)*3-(Bn||0);return Wr>0?Wr:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(ct,"utf8");let tr=0;for(let Cr=0,kr=ct.length;Cr<kr;Cr++){const Bn=ct.charCodeAt(Cr);if(Bn<128)tr+=1;else if(Bn<2048)tr+=2;else if(Bn>=55296&&Bn<=56319&&Cr+1<kr){const Hn=ct.charCodeAt(Cr+1);Hn>=56320&&Hn<=57343?(tr+=4,Cr++):tr+=3}else tr+=3}return tr}const aa="1.16.1",ta=64*1024,{isFunction:Za}=zt,$a=(Ne,...Ve)=>{try{return!!Ne(...Ve)}catch{return!1}},Wo=Ne=>{const Ve=zt.global!==void 0&&zt.global!==null?zt.global:globalThis,{ReadableStream:gt,TextEncoder:ct}=Ve;Ne=zt.merge.call({skipUndefined:!0},{Request:Ve.Request,Response:Ve.Response},Ne);const{fetch:Kt,Request:tr,Response:Cr}=Ne,kr=Kt?Za(Kt):typeof fetch=="function",Bn=Za(tr),Hn=Za(Cr);if(!kr)return!1;const Bt=kr&&Za(gt),Wt=kr&&(typeof ct=="function"?(Un=>Fi=>Un.encode(Fi))(new ct):async Un=>new Uint8Array(await new tr(Un).arrayBuffer())),Wr=Bn&&Bt&&$a(()=>{let Un=!1;const Fi=new tr(Ln.origin,{body:new gt,method:"POST",get duplex(){return Un=!0,"half"}}),Le=Fi.headers.has("Content-Type");return Fi.body!=null&&Fi.body.cancel(),Un&&!Le}),sn=Hn&&Bt&&$a(()=>zt.isReadableStream(new Cr("").body)),Mn={stream:sn&&(Un=>Un.body)};kr&&["text","arrayBuffer","blob","formData","stream"].forEach(Un=>{!Mn[Un]&&(Mn[Un]=(Fi,Le)=>{let Ue=Fi&&Fi[Un];if(Ue)return Ue.call(Fi);throw new $n(`Response type '${Un}' is not supported`,$n.ERR_NOT_SUPPORT,Le)})});const _n=async Un=>{if(Un==null)return 0;if(zt.isBlob(Un))return Un.size;if(zt.isSpecCompliantForm(Un))return(await new tr(Ln.origin,{method:"POST",body:Un}).arrayBuffer()).byteLength;if(zt.isArrayBufferView(Un)||zt.isArrayBuffer(Un))return Un.byteLength;if(zt.isURLSearchParams(Un)&&(Un=Un+""),zt.isString(Un))return(await Wt(Un)).byteLength},Wn=async(Un,Fi)=>{const Le=zt.toFiniteNumber(Un.getContentLength());return Le??_n(Fi)};return async Un=>{let{url:Fi,method:Le,data:Ue,signal:lt,cancelToken:ot,timeout:Yt,onDownloadProgress:rr,onUploadProgress:Or,responseType:tn,headers:kn,withCredentials:En="same-origin",fetchOptions:Rn,maxContentLength:ki,maxBodyLength:bs}=ca(Un);const Rs=zt.isNumber(ki)&&ki>-1,As=zt.isNumber(bs)&&bs>-1;let di=Kt||fetch;tn=tn?(tn+"").toLowerCase():"text";let Gn=Is([lt,ot&&ot.toAbortSignal()],Yt),oi=null;const Ks=Gn&&Gn.unsubscribe&&(()=>{Gn.unsubscribe()});let qs;try{if(Rs&&typeof Fi=="string"&&Fi.startsWith("data:")&&pa(Fi)>ki)throw new $n("maxContentLength size of "+ki+" exceeded",$n.ERR_BAD_RESPONSE,Un,oi);if(As&&Le!=="get"&&Le!=="head"){const ee=await Wn(kn,Ue);if(typeof ee=="number"&&isFinite(ee)&&ee>bs)throw new $n("Request body larger than maxBodyLength limit",$n.ERR_BAD_REQUEST,Un,oi)}if(Or&&Wr&&Le!=="get"&&Le!=="head"&&(qs=await Wn(kn,Ue))!==0){let ee=new tr(Fi,{method:"POST",body:Ue,duplex:"half"}),pe;if(zt.isFormData(Ue)&&(pe=ee.headers.get("content-type"))&&kn.setContentType(pe),ee.body){const[Ce,ze]=Os(qs,as(ce(Or)));Ue=va(ee.body,ta,Ce,ze)}}zt.isString(En)||(En=En?"include":"omit");const ns=Bn&&"credentials"in tr.prototype;if(zt.isFormData(Ue)){const ee=kn.getContentType();ee&&/^multipart\/form-data/i.test(ee)&&!/boundary=/i.test(ee)&&kn.delete("content-type")}kn.set("User-Agent","axios/"+aa,!1);const Ba={...Rn,signal:Gn,method:Le.toUpperCase(),headers:nn(kn.normalize()),body:Ue,duplex:"half",credentials:ns?En:void 0};oi=Bn&&new tr(Fi,Ba);let ka=await(Bn?di(oi,Rn):di(Fi,Ba));if(Rs){const ee=zt.toFiniteNumber(ka.headers.get("content-length"));if(ee!=null&&ee>ki)throw new $n("maxContentLength size of "+ki+" exceeded",$n.ERR_BAD_RESPONSE,Un,oi)}const H=sn&&(tn==="stream"||tn==="response");if(sn&&ka.body&&(rr||Rs||H&&Ks)){const ee={};["status","statusText","headers"].forEach(Dt=>{ee[Dt]=ka[Dt]});const pe=zt.toFiniteNumber(ka.headers.get("content-length")),[Ce,ze]=rr&&Os(pe,as(ce(rr),!0))||[];let st=0;const ft=Dt=>{if(Rs&&(st=Dt,st>ki))throw new $n("maxContentLength size of "+ki+" exceeded",$n.ERR_BAD_RESPONSE,Un,oi);Ce&&Ce(Dt)};ka=new Cr(va(ka.body,ta,ft,()=>{ze&&ze(),Ks&&Ks()}),ee)}tn=tn||"text";let z=await Mn[zt.findKey(Mn,tn)||"text"](ka,Un);if(Rs&&!sn&&!H){let ee;if(z!=null&&(typeof z.byteLength=="number"?ee=z.byteLength:typeof z.size=="number"?ee=z.size:typeof z=="string"&&(ee=typeof ct=="function"?new ct().encode(z).byteLength:z.length)),typeof ee=="number"&&ee>ki)throw new $n("maxContentLength size of "+ki+" exceeded",$n.ERR_BAD_RESPONSE,Un,oi)}return!H&&Ks&&Ks(),await new Promise((ee,pe)=>{xs(ee,pe,{data:z,headers:Mi.from(ka.headers),status:ka.status,statusText:ka.statusText,config:Un,request:oi})})}catch(ns){if(Ks&&Ks(),Gn&&Gn.aborted&&Gn.reason instanceof $n){const Ba=Gn.reason;throw Ba.config=Un,oi&&(Ba.request=oi),ns!==Ba&&(Ba.cause=ns),Ba}throw ns&&ns.name==="TypeError"&&/Load failed|fetch/i.test(ns.message)?Object.assign(new $n("Network Error",$n.ERR_NETWORK,Un,oi,ns&&ns.response),{cause:ns.cause||ns}):$n.from(ns,ns&&ns.code,Un,oi,ns&&ns.response)}}},Co=new Map,Ro=Ne=>{let Ve=Ne&&Ne.env||{};const{fetch:gt,Request:ct,Response:Kt}=Ve,tr=[ct,Kt,gt];let Cr=tr.length,kr=Cr,Bn,Hn,Bt=Co;for(;kr--;)Bn=tr[kr],Hn=Bt.get(Bn),Hn===void 0&&Bt.set(Bn,Hn=kr?new Map:Wo(Ve)),Bt=Hn;return Hn};Ro();const Hs={http:$s,xhr:io,fetch:{get:Ro}};zt.forEach(Hs,(Ne,Ve)=>{if(Ne){try{Object.defineProperty(Ne,"name",{__proto__:null,value:Ve})}catch{}Object.defineProperty(Ne,"adapterName",{__proto__:null,value:Ve})}});const cs=Ne=>`- ${Ne}`,Me=Ne=>zt.isFunction(Ne)||Ne===null||Ne===!1;function We(Ne,Ve){Ne=zt.isArray(Ne)?Ne:[Ne];const{length:gt}=Ne;let ct,Kt;const tr={};for(let Cr=0;Cr<gt;Cr++){ct=Ne[Cr];let kr;if(Kt=ct,!Me(ct)&&(Kt=Hs[(kr=String(ct)).toLowerCase()],Kt===void 0))throw new $n(`Unknown adapter '${kr}'`);if(Kt&&(zt.isFunction(Kt)||(Kt=Kt.get(Ve))))break;tr[kr||"#"+Cr]=Kt}if(!Kt){const Cr=Object.entries(tr).map(([Bn,Hn])=>`adapter ${Bn} `+(Hn===!1?"is not supported by the environment":"is not available in the build"));let kr=gt?Cr.length>1?`since : 737`+Cr.map(cs).join(` 738`):" "+cs(Cr[0]):"as no adapter specified";throw new $n("There is no suitable adapter to dispatch the request "+kr,"ERR_NOT_SUPPORT")}return Kt}
vendor: 5,522 bytes, lines 738-742
738var Nt={getAdapter:We,adapters:Hs};function Jt(Ne){if(Ne.cancelToken&&Ne.cancelToken.throwIfRequested(),Ne.signal&&Ne.signal.aborted)throw new ss(null,Ne)}function jr(Ne){return Jt(Ne),Ne.headers=Mi.from(Ne.headers),Ne.data=Wi.call(Ne,Ne.transformRequest),["post","put","patch"].indexOf(Ne.method)!==-1&&Ne.headers.setContentType("application/x-www-form-urlencoded",!1),Nt.getAdapter(Ne.adapter||vi.adapter,Ne)(Ne).then(function(ct){Jt(Ne),Ne.response=ct;try{ct.data=Wi.call(Ne,Ne.transformResponse,ct)}finally{delete Ne.response}return ct.headers=Mi.from(ct.headers),ct},function(ct){if(!ks(ct)&&(Jt(Ne),ct&&ct.response)){Ne.response=ct.response;try{ct.response.data=Wi.call(Ne,Ne.transformResponse,ct.response)}finally{delete Ne.response}ct.response.headers=Mi.from(ct.response.headers)}return Promise.reject(ct)})}const Jr={};["object","boolean","number","function","string","symbol"].forEach((Ne,Ve)=>{Jr[Ne]=function(ct){return typeof ct===Ne||"a"+(Ve<1?"n ":" ")+Ne}});const an={};Jr.transitional=function(Ve,gt,ct){function Kt(tr,Cr){return"[Axios v"+aa+"] Transitional option '"+tr+"'"+Cr+(ct?". "+ct:"")}return(tr,Cr,kr)=>{if(Ve===!1)throw new $n(Kt(Cr," has been removed"+(gt?" in "+gt:"")),$n.ERR_DEPRECATED);return gt&&!an[Cr]&&(an[Cr]=!0,console.warn(Kt(Cr," has been deprecated since v"+gt+" and will be removed in the near future"))),Ve?Ve(tr,Cr,kr):!0}},Jr.spelling=function(Ve){return(gt,ct)=>(console.warn(`${ct} is likely a misspelling of ${Ve}`),!0)};function ai(Ne,Ve,gt){if(typeof Ne!="object")throw new $n("options must be an object",$n.ERR_BAD_OPTION_VALUE);const ct=Object.keys(Ne);let Kt=ct.length;for(;Kt-- >0;){const tr=ct[Kt],Cr=Object.prototype.hasOwnProperty.call(Ve,tr)?Ve[tr]:void 0;if(Cr){const kr=Ne[tr],Bn=kr===void 0||Cr(kr,tr,Ne);if(Bn!==!0)throw new $n("option "+tr+" must be "+Bn,$n.ERR_BAD_OPTION_VALUE);continue}if(gt!==!0)throw new $n("Unknown option "+tr,$n.ERR_BAD_OPTION)}}var Si={assertOptions:ai,validators:Jr};const Di=Si.validators;class Vi{constructor(Ve){this.defaults=Ve||{},this.interceptors={request:new si,response:new si}}async request(Ve,gt){try{return await this._request(Ve,gt)}catch(ct){if(ct instanceof Error){let Kt={};Error.captureStackTrace?Error.captureStackTrace(Kt):Kt=new Error;const tr=(()=>{if(!Kt.stack)return"";const Cr=Kt.stack.indexOf(` 739`);return Cr===-1?"":Kt.stack.slice(Cr+1)})();try{if(!ct.stack)ct.stack=tr;else if(tr){const Cr=tr.indexOf(` 740`),kr=Cr===-1?-1:tr.indexOf(` 741`,Cr+1),Bn=kr===-1?"":tr.slice(kr+1);String(ct.stack).endsWith(Bn)||(ct.stack+=` 742`+tr)}}catch{}}throw ct}}_request(Ve,gt){typeof Ve=="string"?(gt=gt||{},gt.url=Ve):gt=Ve||{},gt=qi(this.defaults,gt);const{transitional:ct,paramsSerializer:Kt,headers:tr}=gt;ct!==void 0&&Si.assertOptions(ct,{silentJSONParsing:Di.transitional(Di.boolean),forcedJSONParsing:Di.transitional(Di.boolean),clarifyTimeoutError:Di.transitional(Di.boolean),legacyInterceptorReqResOrdering:Di.transitional(Di.boolean)},!1),Kt!=null&&(zt.isFunction(Kt)?gt.paramsSerializer={serialize:Kt}:Si.assertOptions(Kt,{encode:Di.function,serialize:Di.function},!0)),gt.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?gt.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:gt.allowAbsoluteUrls=!0),Si.assertOptions(gt,{baseUrl:Di.spelling("baseURL"),withXsrfToken:Di.spelling("withXSRFToken")},!0),gt.method=(gt.method||this.defaults.method||"get").toLowerCase();let Cr=tr&&zt.merge(tr.common,tr[gt.method]);tr&&zt.forEach(["delete","get","head","post","put","patch","query","common"],Mn=>{delete tr[Mn]}),gt.headers=Mi.concat(Cr,tr);const kr=[];let Bn=!0;this.interceptors.request.forEach(function(_n){if(typeof _n.runWhen=="function"&&_n.runWhen(gt)===!1)return;Bn=Bn&&_n.synchronous;const Wn=gt.transitional||yn;Wn&&Wn.legacyInterceptorReqResOrdering?kr.unshift(_n.fulfilled,_n.rejected):kr.push(_n.fulfilled,_n.rejected)});const Hn=[];this.interceptors.response.forEach(function(_n){Hn.push(_n.fulfilled,_n.rejected)});let Bt,Wt=0,Wr;if(!Bn){const Mn=[jr.bind(this),void 0];for(Mn.unshift(...kr),Mn.push(...Hn),Wr=Mn.length,Bt=Promise.resolve(gt);Wt<Wr;)Bt=Bt.then(Mn[Wt++],Mn[Wt++]);return Bt}Wr=kr.length;let sn=gt;for(;Wt<Wr;){const Mn=kr[Wt++],_n=kr[Wt++];try{sn=Mn(sn)}catch(Wn){_n.call(this,Wn);break}}try{Bt=jr.call(this,sn)}catch(Mn){return Promise.reject(Mn)}for(Wt=0,Wr=Hn.length;Wt<Wr;)Bt=Bt.then(Hn[Wt++],Hn[Wt++]);return Bt}getUri(Ve){Ve=qi(this.defaults,Ve);const gt=Qn(Ve.baseURL,Ve.url,Ve.allowAbsoluteUrls);return ei(gt,Ve.params,Ve.paramsSerializer)}}zt.forEach(["delete","get","head","options"],function(Ve){Vi.prototype[Ve]=function(gt,ct){return this.request(qi(ct||{},{method:Ve,url:gt,data:(ct||{}).data}))}}),zt.forEach(["post","put","patch","query"],function(Ve){function gt(ct){return function(tr,Cr,kr){return this.request(qi(kr||{},{method:Ve,headers:ct?{"Content-Type":"multipart/form-data"}:{},url:tr,data:Cr}))}}Vi.prototype[Ve]=gt(),Ve!=="query"&&(Vi.prototype[Ve+"Form"]=gt(!0))});class da{constructor(Ve){if(typeof Ve!="function")throw new TypeError("executor must be a function.");let gt;this.promise=new Promise(function(tr){gt=tr});const ct=this;this.promise.then(Kt=>{if(!ct._listeners)return;let tr=ct._listeners.length;for(;tr-- >0;)ct._listeners[tr](Kt);ct._listeners=null}),this.promise.then=Kt=>{let tr;const Cr=new Promise(kr=>{ct.subscribe(kr),tr=kr}).then(Kt);return Cr.cancel=function(){ct.unsubscribe(tr)},Cr},Ve(function(tr,Cr,kr){ct.reason||(ct.reason=new ss(tr,Cr,kr),gt(ct.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
742subscribe(Ve){if(this.reason){Ve(this.reason);return}this._listeners?this._listeners.push(Ve):this._listeners=[Ve]}unsubscribe(Ve){if(!this._listeners)return;const gt=this._listeners.indexOf(Ve);gt!==-1&&this._listeners.splice(gt,1)}toAbortSignal(){const Ve=new AbortController,gt=ct=>{Ve.abort(ct)};return this.subscribe(gt),Ve.signal.unsubscribe=()=>this.unsubscribe(gt),Ve.signal}static source(){let Ve;return{token:new da(function(Kt){Ve=Kt}),cancel:Ve}}}function ya(Ne){return function(gt){return Ne.apply(null,gt)}}function Qi(Ne){return zt.isObject(Ne)&&Ne.isAxiosError===!0}const Do={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Do).forEach(([Ne,Ve])=>{Do[Ve]=Ne});function Oo(Ne){const Ve=new Vi(Ne),gt=d(Vi.prototype.request,Ve);return zt.extend(gt,Vi.prototype,Ve,{allOwnKeys:!0}),zt.extend(gt,Ve,null,{allOwnKeys:!0}),gt.create=function(Kt){return Oo(qi(Ne,Kt))},gt}const Ta=Oo(vi);Ta.Axios=Vi,Ta.CanceledError=ss,Ta.CancelToken=da,Ta.isCancel=ks,Ta.VERSION=aa,Ta.toFormData=bt,Ta.AxiosError=$n,Ta.Cancel=Ta.CanceledError,Ta.all=function(Ve){return Promise.all(Ve)},Ta.spread=ya,Ta.isAxiosError=Qi,Ta.mergeConfig=qi,Ta.AxiosHeaders=Mi,Ta.formToJSON=Ne=>Pi(zt.isHTMLForm(Ne)?new FormData(Ne):Ne),Ta.getAdapter=Nt.getAdapter,Ta.HttpStatusCode=Do,Ta.default=Ta,f.exports=Ta},75039(f){function d(){return f.exports=d=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},f.exports.__esModule=!0,f.exports.default=f.exports,d.apply(null,arguments)}f.exports=d,f.exports.__esModule=!0,f.exports.default=f.exports},77935(f,d,e){"use strict";var n=e(99108);f.exports=n},79263(f,d,e){"use strict";e(91038);var n=e(68390);f.exports=n},99114(f,d,e){"use strict";e(70895);var n=e(55127);f.exports=n},64834(f,d,e){"use strict";var n=e(14019);e(49627),f.exports=n},37397(f,d,e){"use strict";var n=e(14612);e(93724),f.exports=n},74230(f,d,e){"use strict";var n=e(68097);e(7849),f.exports=n},78082(f,d,e){"use strict";var n=e(7953);e(73881),f.exports=n},8509(f,d,e){"use strict";var n=e(77422);f.exports=n},95396(f,d,e){"use strict";var n=e(53239);e(98827),f.exports=n},43618(f,d,e){"use strict";var n=e(20745);e(15387),f.exports=n},25084(f,d,e){"use strict";var n=e(14059);e(74741),f.exports=n},16551(f,d,e){"use strict";var n=e(50156);e(14720),f.exports=n},24844(f,d,e){"use strict";var n=e(28427);e(91413),f.exports=n},73821(f,d,e){"use strict";var n=e(21642);e(55190),f.exports=n},53984(f,d,e){"use strict";var n=e(10379);e(60333),f.exports=n},79962(f,d,e){"use strict";var n=e(95183);e(87201),f.exports=n},99951(f,d,e){"use strict";var n=e(59032);f.exports=n},68957(f,d,e){"use strict";e(91671);var n=e(20515);f.exports=n("Array","at")},69281(f,d,e){"use strict";e(64247);var n=e(20515);f.exports=n("Array","findLastIndex")},68512(f,d,e){"use strict";
vendor: 9,249 bytes, line 742
742e(17634);var n=e(20515);f.exports=n("Array","findLast")},40584(f,d,e){"use strict";e(10618);var n=e(20515);f.exports=n("Array","toReversed")},59519(f,d,e){"use strict";e(10546),e(52637);var n=e(20515);f.exports=n("Array","toSorted")},98560(f,d,e){"use strict";e(93886);var n=e(20515);f.exports=n("Array","toSpliced")},96252(f,d,e){"use strict";e(34986);var n=e(20515);f.exports=n("Array","with")},27427(f,d,e){"use strict";e(51863);var n=e(9779);f.exports=n.Object.hasOwn},80386(f,d,e){"use strict";e(39022),e(12752);var n=e(7689),r=e(28177),a=e(9779),s=a.Promise,i=s.withResolvers;f.exports=function(){return n(i,r(this)?this:s)}},8096(f,d,e){"use strict";e(50155),e(56142);var n=e(20515);f.exports=n("Set","difference")},51326(f,d,e){"use strict";e(50155),e(10152);var n=e(20515);f.exports=n("Set","intersection")},47889(f,d,e){"use strict";e(50155),e(22209);var n=e(20515);f.exports=n("Set","isDisjointFrom")},30238(f,d,e){"use strict";e(50155),e(95768);var n=e(20515);f.exports=n("Set","isSubsetOf")},28703(f,d,e){"use strict";e(50155),e(68039);var n=e(20515);f.exports=n("Set","isSupersetOf")},16658(f,d,e){"use strict";e(50155),e(79852);var n=e(20515);f.exports=n("Set","symmetricDifference")},43100(f,d,e){"use strict";e(50155),e(48486);var n=e(20515);f.exports=n("Set","union")},8942(f,d,e){"use strict";var n=e(28177),r=e(8747),a=TypeError;f.exports=function(s){if(n(s))return s;throw new a(r(s)+" is not a function")}},95688(f,d,e){"use strict";var n=e(673),r=e(8747),a=TypeError;f.exports=function(s){if(n(s))return s;throw new a(r(s)+" is not a constructor")}},37505(f,d,e){"use strict";var n=e(83753),r=String,a=TypeError;f.exports=function(s){if(n(s))return s;throw new a("Can't set "+r(s)+" as a prototype")}},31572(f,d,e){"use strict";var n=e(42297).has;f.exports=function(r){return n(r),r}},77273(f,d,e){"use strict";var n=e(96559),r=e(54580),a=e(97413).f,s=n("unscopables"),i=Array.prototype;i[s]===void 0&&a(i,s,{configurable:!0,value:r(null)}),f.exports=function(u){i[s][u]=!0}},17371(f,d,e){"use strict";var n=e(99677),r=TypeError;f.exports=function(a,s){if(n(s,a))return a;throw new r("Incorrect invocation")}},15955(f,d,e){"use strict";var n=e(64678),r=String,a=TypeError;f.exports=function(s){if(n(s))return s;throw new a(r(s)+" is not an object")}},58936(f,d,e){"use strict";var n=e(26819);f.exports=n(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})},46598(f,d,e){"use strict";var n=e(5970);f.exports=function(r,a,s){for(var i=0,u=arguments.length>2?s:n(a),l=new r(u);u>i;)l[i]=a[i++];return l}},96285(f,d,e){"use strict";var n=e(68281),r=e(75054),a=e(5970),s=function(i){return function(u,l,m){var g=n(u),h=a(g);if(h===0)return!i&&-1;var v=r(m,h),x;if(i&&l!==l){for(;h>v;)if(x=g[v++],x!==x)return!0}else for(;h>v;v++)if((i||v in g)&&g[v]===l)return i||v||0;return!i&&-1}};f.exports={includes:s(!0),indexOf:s(!1)}},48379(f,d,e){"use strict";var n=e(20156),r=e(98787),a=e(55225),s=e(5970),i=function(u){var l=u===1;return function(m,g,h){for(var v=a(m),x=r(v),T=s(x),E=n(g,h),_,C;T-- >0;)if(_=x[T],C=E(_,T,v),C)switch(u){case 0:return _;case 1:return T}return l?-1:void 0}};f.exports={findLast:i(0),findLastIndex:i(1)}},81730(f,d,e){"use strict";var n=e(26819);f.exports=function(r,a){var s=[][r];return!!s&&n(function(){s.call(null,a||function(){return 1},1)})}},98604(f,d,e){"use strict";var n=e(45668);f.exports=n([].slice)},48412(f,d,e){"use strict";var n=e(98604),r=Math.floor,a=function(s,i){var u=s.length;if(u<8)for(var l=1,m,g;l<u;){for(g=l,m=s[l];g&&i(s[g-1],m)>0;)s[g]=s[--g];g!==l++&&(s[g]=m)}else for(var h=r(u/2),v=a(n(s,0,h),i),x=a(n(s,h),i),T=v.length,E=x.length,_=0,C=0;_<T||C<E;)s[_+C]=_<T&&C<E?i(v[_],x[C])<=0?v[_++]:x[C++]:_<T?v[_++]:x[C++];return s};f.exports=a},72312(f,d,e){"use strict";var n=e(96559),r=n("iterator"),a=!1;try{var s=0,i={next:function(){return{done:!!s++}},return:function(){a=!0}};i[r]=function(){return this},Array.from(i,function(){throw 2})}catch{}f.exports=function(u,l){try{if(!l&&!a)return!1}catch{return!1}var m=!1;try{var g={};g[r]=function(){return{next:function(){return{done:m=!0}}}},u(g)}catch{}return m}},3292(f,d,e){"use strict";var n=e(45668),r=n({}.toString),a=n("".slice);f.exports=function(s){return a(r(s),8,-1)}},72663(f,d,e){"use strict";var n=e(99160),r=e(28177),a=e(3292),s=e(96559),i=s("toStringTag"),u=Object,l=a((function(){return arguments})())==="Arguments",m=function(g,h){try{return g[h]}catch{}};f.exports=n?a:function(g){var h,v,x;return g===void 0?"Undefined":g===null?"Null":typeof(v=m(h=u(g),i))=="string"?v:l?a(h):(x=a(h))==="Object"&&r(h.callee)?"Arguments":x}},82942(f,d,e){"use strict";var n=e(54580),r=e(54582),a=e(26283),s=e(20156),i=e(17371),u=e(61377),l=e(71472),m=e(22260),g=e(92701),h=e(90717),v=e(77296),x=e(37415).fastKey,T=e(51105),E=T.set,_=T.getterFor;f.exports={getConstructor:function(C,P,k,D){var B=C(function(Z,J){i(Z,$),E(Z,{type:P,index:n(null),first:null,last:null,size:0}),v||(Z.size=0),u(J)||l(J,Z[D],{that:Z,AS_ENTRIES:k})}),$=B.prototype,F=_(P),V=function(Z,J,ie){var le=F(Z),he=W(Z,J),me,je;return he?he.value=ie:(le.last=he={index:je=x(J,!0),key:J,value:ie,previous:me=le.last,next:null,removed:!1},le.first||(le.first=he),me&&(me.next=he),v?le.size++:Z.size++,je!=="F"&&(le.index[je]=he)),Z},W=function(Z,J){var ie=F(Z),le=x(J),he;if(le!=="F")return ie.index[le];for(he=ie.first;he;he=he.next)if(he.key===J)return he};return a($,{clear:function(){for(var J=this,ie=F(J),le=ie.first;le;)le.removed=!0,le.previous&&(le.previous=le.previous.next=null),le=le.next;ie.first=ie.last=null,ie.index=n(null),v?ie.size=0:J.size=0},delete:function(Z){var J=this,ie=F(J),le=W(J,Z);if(le){var he=le.next,me=le.previous;delete ie.index[le.index],le.removed=!0,me&&(me.next=he),he&&(he.previous=me),ie.first===le&&(ie.first=he),ie.last===le&&(ie.last=me),v?ie.size--:J.size--}return!!le},forEach:function(J){for(var ie=F(this),le=s(J,arguments.length>1?arguments[1]:void 0),he;he=he?he.next:ie.first;)for(le(he.value,he.key,this);he&&he.removed;)he=he.previous},has:function(J){return!!W(this,J)}}),a($,k?{get:function(J){var ie=W(this,J);return ie&&ie.value},set:function(J,ie){return V(this,J===0?0:J,ie)}}:{add:function(J){return V(this,J=J===0?0:J,J)}}),v&&r($,"size",{configurable:!0,get:function(){return F(this).size}}),B},setStrong:function(C,P,k){var D=P+" Iterator",B=_(P),$=_(D);m(C,P,function(F,V){E(this,{type:D,target:F,state:B(F),kind:V,last:null})},function(){for(var F=$(this),V=F.kind,W=F.last;W&&W.removed;)W=W.previous;return!F.target||!(F.last=W=W?W.next:F.state.first)?(F.target=null,g(void 0,!0)):g(V==="keys"?W.key:V==="values"?W.value:[W.key,W.value],!1)},k?"entries":"values",!k,!0),h(P)}}},68200(f,d,e){"use strict";var n=e(83674),r=e(11684),a=e(45668),s=e(29848),i=e(3524),u=e(37415),l=e(71472),m=e(17371),g=e(28177),h=e(61377),v=e(64678),x=e(26819),T=e(72312),E=e(32915),_=e(92515);f.exports=function(C,P,k){var D=C.indexOf("Map")!==-1,B=C.indexOf("Weak")!==-1,$=D?"set":"add",F=r[C],V=F&&F.prototype,W=F,Z={},J=function(Je){var Xe=a(V[Je]);i(V,Je,Je==="add"?function(be){return Xe(this,be===0?0:be),this}:Je==="delete"?function(ge){return B&&!v(ge)?!1:Xe(this,ge===0?0:ge)}:Je==="get"?function(be){return B&&!v(be)?void 0:Xe(this,be===0?0:be)}:Je==="has"?function(be){return B&&!v(be)?!1:Xe(this,be===0?0:be)}:function(be,Ie){return Xe(this,be===0?0:be,Ie),this})},ie=s(C,!g(F)||!(B||V.forEach&&!x(function(){new F().entries().next()})));if(ie)W=k.getConstructor(P,C,D,$),u.enable();else if(s(C,!0)){var le=new W,he=le[$](B?{}:-0,1)!==le,me=x(function(){le.has(1)}),je=T(function(Je){new F(Je)}),Fe=!B&&x(function(){for(var Je=new F,Xe=5;Xe--;)Je[$](Xe,Xe);return!Je.has(-0)});je||(W=P(function(Je,Xe){m(Je,V);var ge=_(new F,Je,W);return h(Xe)||l(Xe,ge[$],{that:ge,AS_ENTRIES:D}),ge}),W.prototype=V,V.constructor=W),(me||Fe)&&(J("delete"),J("has"),D&&J("get")),(Fe||he)&&J($),B&&V.clear&&delete V.clear}return Z[C]=W,n({global:!0,constructor:!0,forced:W!==F},Z),E(W,C),B||k.setStrong(W,C,D),W}},83448(f,d,e){"use strict";var n=e(98941),r=e(87067),a=e(90495),s=e(97413);f.exports=function(i,u,l){for(var m=r(u),g=s.f,h=a.f,v=0;v<m.length;v++){var x=m[v];!n(i,x)&&!(l&&n(l,x))&&g(i,x,h(u,x))}}},89703(f,d,e){"use strict";var n=e(26819);f.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},92701(f){"use strict";f.exports=function(d,e){return{value:d,done:e}}},14687(f,d,e){"use strict";var n=e(77296),r=e(97413),a=e(22208);f.exports=n?function(s,i,u){return r.f(s,i,a(1,u))}:function(s,i,u){return s[i]=u,s}},22208(f){"use strict";f.exports=function(d,e){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:e}}},81452(f,d,e){"use strict";var n=e(77296),r=e(97413),a=e(22208);f.exports=function(s,i,u){n?r.f(s,i,a(0,u)):s[i]=u}},54582(f,d,e){"use strict";var n=e(37087),r=e(97413);f.exports=function(a,s,i){return i.get&&n(i.get,s,{getter:!0}),i.set&&n(i.set,s,{setter:!0}),r.f(a,s,i)}},3524(f,d,e){"use strict";var n=e(28177),r=e(97413),a=e(37087),s=e(24837);f.exports=function(i,u,l,m){m||(m={});var g=m.enumerable,h=m.name!==void 0?m.name:u;if(n(l)&&a(l,h,m),m.global)g?i[u]=l:s(u,l);else{try{m.unsafe?i[u]&&(g=!0):delete i[u]}catch{}
742g?i[u]=l:r.f(i,u,{value:l,enumerable:!1,configurable:!m.nonConfigurable,writable:!m.nonWritable})}return i}},26283(f,d,e){"use strict";var n=e(3524);f.exports=function(r,a,s){for(var i in a)n(r,i,a[i],s);return r}},24837(f,d,e){"use strict";var n=e(11684),r=Object.defineProperty;f.exports=function(a,s){try{r(n,a,{value:s,configurable:!0,writable:!0})}catch{n[a]=s}return s}},49978(f,d,e){"use strict";var n=e(8747),r=TypeError;f.exports=function(a,s){if(!delete a[s])throw new r("Cannot delete property "+n(s)+" of "+n(a))}},77296(f,d,e){"use strict";var n=e(26819);f.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},36759(f,d,e){"use strict";var n=e(11684),r=e(81465),a=e(6224),s=n.structuredClone,i=n.ArrayBuffer,u=n.MessageChannel,l=!1,m,g,h,v;if(a)l=function(x){s(x,{transfer:[x]})};else if(i)try{u||(m=r("worker_threads"),m&&(u=m.MessageChannel)),u&&(g=new u,h=new i(2),v=function(x){g.port1.postMessage(null,[x])},h.byteLength===2&&(v(h),h.byteLength===0&&(l=v)))}catch{}f.exports=l},11667(f,d,e){"use strict";var n=e(11684),r=e(64678),a=n.document,s=r(a)&&r(a.createElement);f.exports=function(i){return s?a.createElement(i):{}}},47785(f){"use strict";var d=TypeError,e=9007199254740991;f.exports=function(n){if(n>e)throw new d("Maximum allowed index exceeded");return n}},75446(f){"use strict";f.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
vendor: 15,119 bytes, line 742
742,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},20515(f,d,e){"use strict";var n=e(11684),r=e(45668);f.exports=function(a,s){return r(n[a].prototype[s])}},16147(f){"use strict";f.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},85585(f,d,e){"use strict";var n=e(1947),r=n.match(/firefox\/(\d+)/i);f.exports=!!r&&+r[1]},92815(f,d,e){"use strict";var n=e(1947);f.exports=/MSIE|Trident/.test(n)},37373(f,d,e){"use strict";var n=e(1947);f.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u"},26340(f,d,e){"use strict";var n=e(1947);f.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)},72829(f,d,e){"use strict";var n=e(82339);f.exports=n==="NODE"},8360(f,d,e){"use strict";var n=e(1947);f.exports=/web0s(?!.*chrome)/i.test(n)},1947(f,d,e){"use strict";var n=e(11684),r=n.navigator,a=r&&r.userAgent;f.exports=a?String(a):""},44411(f,d,e){"use strict";var n=e(11684),r=e(1947),a=n.process,s=n.Deno,i=a&&a.versions||s&&s.version,u=i&&i.v8,l,m;u&&(l=u.split("."),m=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!m&&r&&(l=r.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=r.match(/Chrome\/(\d+)/),l&&(m=+l[1]))),f.exports=m},65619(f,d,e){"use strict";var n=e(1947),r=n.match(/AppleWebKit\/(\d+)\./);f.exports=!!r&&+r[1]},82339(f,d,e){"use strict";var n=e(11684),r=e(1947),a=e(3292),s=function(i){return r.slice(0,i.length)===i};f.exports=(function(){return s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":a(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})()},31789(f,d,e){"use strict";var n=e(45668),r=Error,a=n("".replace),s=(function(l){return String(new r(l).stack)})("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,u=i.test(s);f.exports=function(l,m){if(u&&typeof l=="string"&&!r.prepareStackTrace)for(;m--;)l=a(l,i,"");return l}},38527(f,d,e){"use strict";var n=e(26819),r=e(22208);f.exports=!n(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",r(1,7)),a.stack!==7):!0})},51228(f,d,e){"use strict";var n=e(77296),r=e(26819),a=e(15955),s=e(2303),i=Error.prototype.toString,u=r(function(){if(n){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(i.call(l)!=="true")return!0}return i.call({message:1,name:2})!=="2: 1"||i.call({})!=="Error"});f.exports=u?function(){var m=a(this),g=s(m.name,"Error"),h=s(m.message);return g?h?g+": "+h:g:h}:i},83674(f,d,e){"use strict";var n=e(11684),r=e(90495).f,a=e(14687),s=e(3524),i=e(24837),u=e(83448),l=e(29848);f.exports=function(m,g){var h=m.target,v=m.global,x=m.stat,T,E,_,C,P,k;if(v?E=n:x?E=n[h]||i(h,{}):E=n[h]&&n[h].prototype,E)for(_ in g){if(P=g[_],m.dontCallGetSet?(k=r(E,_),C=k&&k.value):C=E[_],T=l(v?_:h+(x?".":"#")+_,m.forced),!T&&C!==void 0){if(typeof P==typeof C)continue;u(P,C)}(m.sham||C&&C.sham)&&a(P,"sham",!0),s(E,_,P,m)}}},26819(f){"use strict";f.exports=function(d){try{return!!d()}catch{return!0}}},70492(f,d,e){"use strict";var n=e(26819);f.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},40709(f,d,e){"use strict";var n=e(5572),r=Function.prototype,a=r.apply,s=r.call;f.exports=typeof Reflect=="object"&&Reflect.apply||(n?s.bind(a):function(){return s.apply(a,arguments)})},20156(f,d,e){"use strict";var n=e(35536),r=e(8942),a=e(5572),s=n(n.bind);f.exports=function(i,u){return r(i),u===void 0?i:a?s(i,u):function(){return i.apply(u,arguments)}}},5572(f,d,e){"use strict";var n=e(26819);f.exports=!n(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},7689(f,d,e){"use strict";var n=e(5572),r=Function.prototype.call;f.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},31682(f,d,e){"use strict";var n=e(77296),r=e(98941),a=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,i=r(a,"name"),u=i&&function(){}.name==="something",l=i&&(!n||n&&s(a,"name").configurable);f.exports={EXISTS:i,PROPER:u,CONFIGURABLE:l}},39894(f,d,e){"use strict";var n=e(45668),r=e(8942);f.exports=function(a,s,i){try{return n(r(Object.getOwnPropertyDescriptor(a,s)[i]))}catch{}}},35536(f,d,e){"use strict";var n=e(3292),r=e(45668);f.exports=function(a){if(n(a)==="Function")return r(a)}},45668(f,d,e){"use strict";var n=e(5572),r=Function.prototype,a=r.call,s=n&&r.bind.bind(a,a);f.exports=n?s:function(i){return function(){return a.apply(i,arguments)}}},81465(f,d,e){"use strict";var n=e(11684),r=e(72829);f.exports=function(a){if(r){try{return n.process.getBuiltinModule(a)}catch{}try{return Function('return require("'+a+'")')()}catch{}}}},74072(f,d,e){"use strict";var n=e(11684);f.exports=function(r,a){var s=n[r],i=s&&s.prototype;return i&&i[a]}},9563(f,d,e){"use strict";var n=e(11684),r=e(28177),a=function(s){return r(s)?s:void 0};f.exports=function(s,i){return arguments.length<2?a(n[s]):n[s]&&n[s][i]}},84459(f){"use strict";f.exports=function(d){return{iterator:d,next:d.next,done:!1}}},41687(f,d,e){"use strict";var n=e(72663),r=e(63810),a=e(61377),s=e(26033),i=e(96559),u=i("iterator");f.exports=function(l){if(!a(l))return r(l,u)||r(l,"@@iterator")||s[n(l)]}},25581(f,d,e){"use strict";var n=e(7689),r=e(8942),a=e(15955),s=e(8747),i=e(41687),u=TypeError;f.exports=function(l,m){var g=arguments.length<2?i(l):m;if(r(g))return a(n(g,l));throw new u(s(l)+" is not iterable")}},63810(f,d,e){"use strict";var n=e(8942),r=e(61377);f.exports=function(a,s){var i=a[s];return r(i)?void 0:n(i)}},2921(f,d,e){"use strict";var n=e(8942),r=e(15955),a=e(7689),s=e(29199),i=e(84459),u="Invalid size",l=RangeError,m=TypeError,g=Math.max,h=function(v,x){this.set=v,this.size=g(x,0),this.has=n(v.has),this.keys=n(v.keys)};h.prototype={getIterator:function(){return i(r(a(this.keys,this.set)))},includes:function(v){return a(this.has,this.set,v)}},f.exports=function(v){r(v);var x=+v.size;if(x!==x)throw new m(u);var T=s(x);if(T<0)throw new l(u);return new h(v,T)}},11684(f){"use strict";var d=function(e){return e&&e.Math===Math&&e};f.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof globalThis=="object"&&globalThis)||d(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},98941(f,d,e){"use strict";var n=e(45668),r=e(55225),a=n({}.hasOwnProperty);f.exports=Object.hasOwn||function(i,u){return a(r(i),u)}},1913(f){"use strict";f.exports={}},52073(f){"use strict";f.exports=function(d,e){try{arguments.length===1?console.error(d):console.error(d,e)}catch{}}},54129(f,d,e){"use strict";var n=e(9563);f.exports=n("document","documentElement")},70993(f,d,e){"use strict";var n=e(77296),r=e(26819),a=e(11667);f.exports=!n&&!r(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},98787(f,d,e){"use strict";var n=e(45668),r=e(26819),a=e(3292),s=Object,i=n("".split);f.exports=r(function(){return!s("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?i(u,""):s(u)}:s},92515(f,d,e){"use strict";var n=e(28177),r=e(64678),a=e(22451);f.exports=function(s,i,u){var l,m;return a&&n(l=i.constructor)&&l!==u&&r(m=l.prototype)&&m!==u.prototype&&a(s,m),s}},59886(f,d,e){"use strict";var n=e(45668),r=e(28177),a=e(60073),s=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(i){return s(i)}),f.exports=a.inspectSource},37415(f,d,e){"use strict";var n=e(83674),r=e(45668),a=e(1913),s=e(64678),i=e(98941),u=e(97413).f,l=e(60492),m=e(46878),g=e(71808),h=e(49220),v=e(70492),x=!1,T=h("meta"),E=0,_=function($){u($,T,{value:{objectID:"O"+E++,weakData:{}}})},C=function($,F){if(!s($))return typeof $=="symbol"?$:(typeof $=="string"?"S":"P")+$;if(!i($,T)){if(!g($))return"F";if(!F)return"E";_($)}return $[T].objectID},P=function($,F){if(!i($,T)){if(!g($))return!0;if(!F)return!1;_($)}return $[T].weakData},k=function($){return v&&x&&g($)&&!i($,T)&&_($),$},D=function(){B.enable=function(){},x=!0;var $=l.f,F=r([].splice),V={};V[T]=1,$(V).length&&(l.f=function(W){for(var Z=$(W),J=0,ie=Z.length;J<ie;J++)if(Z[J]===T){F(Z,J,1);break}return Z},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:m.f}))},B=f.exports={enable:D,fastKey:C,getWeakData:P,onFreeze:k};a[T]=!0},51105(f,d,e){"use strict";var n=e(56258),r=e(11684),a=e(64678),s=e(14687),i=e(98941),u=e(60073),l=e(12163),m=e(1913),g="Object already initialized",h=r.TypeError,v=r.WeakMap,x,T,E,_=function(D){return E(D)?T(D):x(D,{})},C=function(D){return function(B){var $;if(!a(B)||($=T(B)).type!==D)throw new h("Incompatible receiver, "+D+" required");return $}};if(n||u.state){var P=u.state||(u.state=new v);P.get=P.get,P.has=P.has,P.set=P.set,x=function(D,B){if(P.has(D))throw new h(g);return B.facade=D,P.set(D,B),B},T=function(D){return P.get(D)||{}},E=function(D){return P.has(D)}}else{var k=l("state");m[k]=!0,x=function(D,B){if(i(D,k))throw new h(g);return B.facade=D,s(D,k,B),B},T=function(D){return i(D,k)?D[k]:{}},E=function(D){return i(D,k)}}f.exports={set:x,get:T,has:E,enforce:_,getterFor:C}},76797(f,d,e){"use strict";var n=e(96559),r=e(26033),a=n("iterator"),s=Array.prototype;f.exports=function(i){return i!==void 0&&(r.Array===i||s[a]===i)}},28177(f){"use strict";var d=typeof document=="object"&&document.all;f.exports=typeof d>"u"&&d!==void 0?function(e){return typeof e=="function"||e===d}:function(e){return typeof e=="function"}},673(f,d,e){"use strict";var n=e(45668),r=e(26819),a=e(28177),s=e(72663),i=e(9563),u=e(59886),l=function(){},m=i("Reflect","construct"),g=/^\s*(?:class|function)\b/,h=n(g.exec),v=!g.test(l),x=function(_){if(!a(_))return!1;try{return m(l,[],_),!0}catch{return!1}},T=function(_){if(!a(_))return!1;switch(s(_)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!h(g,u(_))}catch{return!0}};T.sham=!0,f.exports=!m||r(function(){var E;return x(x.call)||!x(Object)||!x(function(){E=!0})||E})?T:x},29848(f,d,e){"use strict";var n=e(26819),r=e(28177),a=/#|\.prototype\./,s=function(g,h){var v=u[i(g)];return v===m?!0:v===l?!1:r(h)?n(h):!!h},i=s.normalize=function(g){return String(g).replace(a,".").toLowerCase()},u=s.data={},l=s.NATIVE="N",m=s.POLYFILL="P";f.exports=s},61377(f){"use strict";f.exports=function(d){return d==null}},64678(f,d,e){"use strict";var n=e(28177);f.exports=function(r){return typeof r=="object"?r!==null:n(r)}},83753(f,d,e){"use strict";var n=e(64678);f.exports=function(r){return n(r)||r===null}},76983(f){"use strict";f.exports=!1},36585(f,d,e){"use strict";var n=e(9563),r=e(28177),a=e(99677),s=e(90340),i=Object;f.exports=s?function(u){return typeof u=="symbol"}:function(u){var l=n("Symbol");return r(l)&&a(l.prototype,i(u))}},53143(f,d,e){"use strict";var n=e(7689);f.exports=function(r,a,s){for(var i=s?r:r.iterator,u=r.next,l,m;!(l=n(u,i)).done;)if(m=a(l.value),m!==void 0)return m}},71472(f,d,e){"use strict";var n=e(20156),r=e(7689),a=e(15955),s=e(8747),i=e(76797),u=e(5970),l=e(99677),m=e(25581),g=e(41687),h=e(59583),v=TypeError,x=function(E,_){this.stopped=E,this.result=_},T=x.prototype;f.exports=function(E,_,C){var P=C&&C.that,k=!!(C&&C.AS_ENTRIES),D=!!(C&&C.IS_RECORD),B=!!(C&&C.IS_ITERATOR),$=!!(C&&C.INTERRUPTED),F=n(_,P),V,W,Z,J,ie,le,he,me=function(Je){var Xe=V;return V=void 0,Xe&&h(Xe,"normal"),new x(!0,Je)},je=function(Je){return k?(a(Je),$?F(Je[0],Je[1],me):F(Je[0],Je[1])):$?F(Je,me):F(Je)};if(D)V=E.iterator;else if(B)V=E;else{if(W=g(E),!W)throw new v(s(E)+" is not iterable");if(i(W)){for(Z=0,J=u(E);J>Z;Z++)if(ie=je(E[Z]),ie&&l(T,ie))return ie;return new x(!1)}V=m(E,W)}for(le=D?E.next:V.next;!(he=r(le,V)).done;){var Fe=he.value;try{ie=je(Fe)}catch(Je){if(V)h(V,"throw",Je);else throw Je}if(typeof ie=="object"&&ie&&l(T,ie))return ie}return new x(!1)}},59583(f,d,e){"use strict";var n=e(7689),r=e(15955),a=e(63810);f.exports=function(s,i,u){var l,m;r(s);try{if(l=a(s,"return"),!l){if(i==="throw")throw u;return u}l=n(l,s)}catch(g){m=!0,l=g}if(i==="throw")throw u;if(m)throw l;return r(l),u}},39542(f,d,e){"use strict";var n=e(6525).IteratorPrototype,r=e(54580),a=e(22208),s=e(32915),i=e(26033),u=function(){return this};f.exports=function(l,m,g,h){var v=m+" Iterator";return l.prototype=r(n,{next:a(+!h,g)}),s(l,v,!1,!0),i[v]=u,l}},22260(f,d,e){"use strict";var n=e(83674),r=e(7689),a=e(76983),s=e(31682),i=e(28177),u=e(39542),l=e(40759),m=e(22451),g=e(32915),h=e(14687),v=e(3524),x=e(96559),T=e(26033),E=e(6525),_=s.PROPER,C=s.CONFIGURABLE,P=E.IteratorPrototype,k=E.BUGGY_SAFARI_ITERATORS,D=x("iterator"),B="keys",$="values",F="entries",V=function(){return this};f.exports=function(W,Z,J,ie,le,he,me){u(J,Z,ie);var je=function($e){if($e===le&&be)return be;if(!k&&$e&&$e in Xe)return Xe[$e];switch($e){case B:return function(){return new J(this,$e)};case $:return function(){return new J(this,$e)};case F:return function(){return new J(this,$e)}}return function(){return new J(this)}},Fe=Z+" Iterator",Je=!1,Xe=W.prototype,ge=Xe[D]||Xe["@@iterator"]||le&&Xe[le],be=!k&&ge||je(le),Ie=Z==="Array"&&Xe.entries||ge,Re,ye,De;if(Ie&&(Re=l(Ie.call(new W)),Re!==Object.prototype&&Re.next&&(!a&&l(Re)!==P&&(m?m(Re,P):i(Re[D])||v(Re,D,V)),g(Re,Fe,!0,!0),a&&(T[Fe]=V))),_&&le===$&&ge&&ge.name!==$&&(!a&&C?h(Xe,"name",$):(Je=!0,be=function(){return r(ge,this)})),le)if(ye={values:je($),keys:he?be:je(B),entries:je(F)},me)for(De in ye)(k||Je||!(De in Xe))&&v(Xe,De,ye[De]);else n({target:Z,proto:!0,forced:k||Je},ye);return(!a||me)&&Xe[D]!==be&&v(Xe,D,be,{name:le}),T[Z]=be,ye}},6525(f,d,e){"use strict";var n=e(26819),r=e(28177),a=e(64678),s=e(54580),i=e(40759),u=e(3524),l=e(96559),m=e(76983),g=l("iterator"),h=!1,v,x,T;[].keys&&(T=[].keys(),"next"in T?(x=i(i(T)),x!==Object.prototype&&(v=x)):h=!0);var E=!a(v)||n(function(){var _={};return v[g].call(_)!==_});E?v={}:m&&(v=s(v)),r(v[g])||u(v,g,function(){return this}),f.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:h}},26033(f){"use strict";f.exports={}},5970(f,d,e){"use strict";var n=e(35218);f.exports=function(r){return n(r.length)}},37087(f,d,e){"use strict";var n=e(45668),r=e(26819),a=e(28177),s=e(98941),i=e(77296),u=e(31682).CONFIGURABLE,l=e(59886),m=e(51105),g=m.enforce,h=m.get,v=String,x=Object.defineProperty,T=n("".slice),E=n("".replace),_=n([].join),C=i&&!r(function(){return x(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),k=f.exports=function(D,B,$){T(v(B),0,7)==="Symbol("&&(B="["+E(v(B),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),$&&$.getter&&(B="get "+B),$&&$.setter&&(B="set "+B),(!s(D,"name")||u&&D.name!==B)&&(i?x(D,"name",{value:B,configurable:!0}):D.name=B),C&&$&&s($,"arity")&&D.length!==$.arity&&x(D,"length",{value:$.arity});try{$&&s($,"constructor")&&$.constructor?i&&x(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch{}var F=g(D);return s(F,"source")||(F.source=_(P,typeof B=="string"?B:"")),D};Function.prototype.toString=k(function(){return a(this)&&h(this).source||l(this)},"toString")},34068(f,d,e){"use strict";var n=e(45668),r=Map.prototype;f.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}},37057(f){"use strict";var d=Math.ceil,e=Math.floor;
vendor: 4,255 bytes, line 742
742f.exports=Math.trunc||function(r){var a=+r;return(a>0?e:d)(a)}},21631(f,d,e){"use strict";var n=e(11684),r=e(57649),a=e(20156),s=e(37293).set,i=e(22413),u=e(26340),l=e(37373),m=e(8360),g=e(72829),h=n.MutationObserver||n.WebKitMutationObserver,v=n.document,x=n.process,T=n.Promise,E=r("queueMicrotask"),_,C,P,k,D;if(!E){var B=new i,$=function(){var F,V;for(g&&(F=x.domain)&&F.exit();V=B.get();)try{V()}catch(W){throw B.head&&_(),W}F&&F.enter()};!u&&!g&&!m&&h&&v?(C=!0,P=v.createTextNode(""),new h($).observe(P,{characterData:!0}),_=function(){P.data=C=!C}):!l&&T&&T.resolve?(k=T.resolve(void 0),k.constructor=T,D=a(k.then,k),_=function(){D($)}):g?_=function(){x.nextTick($)}:(s=a(s,n),_=function(){s($)}),E=function(F){B.head||_(),B.add(F)}}f.exports=E},16183(f,d,e){"use strict";var n=e(8942),r=TypeError,a=function(s){var i,u;this.promise=new s(function(l,m){if(i!==void 0||u!==void 0)throw new r("Bad Promise constructor");i=l,u=m}),this.resolve=n(i),this.reject=n(u)};f.exports.f=function(s){return new a(s)}},2303(f,d,e){"use strict";var n=e(4483);f.exports=function(r,a){return r===void 0?arguments.length<2?"":a:n(r)}},54580(f,d,e){"use strict";var n=e(15955),r=e(24941),a=e(16147),s=e(1913),i=e(54129),u=e(11667),l=e(12163),m=">",g="<",h="prototype",v="script",x=l("IE_PROTO"),T=function(){},E=function(D){return g+v+m+D+g+"/"+v+m},_=function(D){D.write(E("")),D.close();var B=D.parentWindow.Object;return D=null,B},C=function(){var D=u("iframe"),B="java"+v+":",$;return D.style.display="none",i.appendChild(D),D.src=String(B),$=D.contentWindow.document,$.open(),$.write(E("document.F=Object")),$.close(),$.F},P,k=function(){try{P=new ActiveXObject("htmlfile")}catch{}k=typeof document<"u"?document.domain&&P?_(P):C():_(P);for(var D=a.length;D--;)delete k[h][a[D]];return k()};s[x]=!0,f.exports=Object.create||function(B,$){var F;return B!==null?(T[h]=n(B),F=new T,T[h]=null,F[x]=B):F=k(),$===void 0?F:r.f(F,$)}},24941(f,d,e){"use strict";var n=e(77296),r=e(96066),a=e(97413),s=e(15955),i=e(68281),u=e(77228);d.f=n&&!r?Object.defineProperties:function(m,g){s(m);for(var h=i(g),v=u(g),x=v.length,T=0,E;x>T;)a.f(m,E=v[T++],h[E]);return m}},97413(f,d,e){"use strict";var n=e(77296),r=e(70993),a=e(96066),s=e(15955),i=e(86061),u=TypeError,l=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g="enumerable",h="configurable",v="writable";d.f=n?a?function(T,E,_){if(s(T),E=i(E),s(_),typeof T=="function"&&E==="prototype"&&"value"in _&&v in _&&!_[v]){var C=m(T,E);C&&C[v]&&(T[E]=_.value,_={configurable:h in _?_[h]:C[h],enumerable:g in _?_[g]:C[g],writable:!1})}return l(T,E,_)}:l:function(T,E,_){if(s(T),E=i(E),s(_),r)try{return l(T,E,_)}catch{}if("get"in _||"set"in _)throw new u("Accessors not supported");return"value"in _&&(T[E]=_.value),T}},90495(f,d,e){"use strict";var n=e(77296),r=e(7689),a=e(16905),s=e(22208),i=e(68281),u=e(86061),l=e(98941),m=e(70993),g=Object.getOwnPropertyDescriptor;d.f=n?g:function(v,x){if(v=i(v),x=u(x),m)try{return g(v,x)}catch{}if(l(v,x))return s(!r(a.f,v,x),v[x])}},46878(f,d,e){"use strict";var n=e(3292),r=e(68281),a=e(60492).f,s=e(98604),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch{return s(i)}};f.exports.f=function(m){return i&&n(m)==="Window"?u(m):a(r(m))}},60492(f,d,e){"use strict";var n=e(49160),r=e(16147),a=r.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(i){return n(i,a)}},10369(f,d){"use strict";d.f=Object.getOwnPropertySymbols},40759(f,d,e){"use strict";var n=e(98941),r=e(28177),a=e(55225),s=e(12163),i=e(89703),u=s("IE_PROTO"),l=Object,m=l.prototype;f.exports=i?l.getPrototypeOf:function(g){var h=a(g);if(n(h,u))return h[u];var v=h.constructor;return r(v)&&h instanceof v?v.prototype:h instanceof l?m:null}},71808(f,d,e){"use strict";var n=e(26819),r=e(64678),a=e(3292),s=e(58936),i=Object.isExtensible,u=n(function(){i(1)});f.exports=u||s?function(m){return!r(m)||s&&a(m)==="ArrayBuffer"?!1:i?i(m):!0}:i},99677(f,d,e){"use strict";var n=e(45668);f.exports=n({}.isPrototypeOf)},49160(f,d,e){"use strict";var n=e(45668),r=e(98941),a=e(68281),s=e(96285).indexOf,i=e(1913),u=n([].push);f.exports=function(l,m){var g=a(l),h=0,v=[],x;for(x in g)!r(i,x)&&r(g,x)&&u(v,x);for(;m.length>h;
vendor: 10,979 bytes, line 742
742)r(g,x=m[h++])&&(~s(v,x)||u(v,x));return v}},77228(f,d,e){"use strict";var n=e(49160),r=e(16147);f.exports=Object.keys||function(s){return n(s,r)}},16905(f,d){"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!e.call({1:2},1);d.f=r?function(s){var i=n(this,s);return!!i&&i.enumerable}:e},22451(f,d,e){"use strict";var n=e(39894),r=e(64678),a=e(23250),s=e(37505);f.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,u={},l;try{l=n(Object.prototype,"__proto__","set"),l(u,[]),i=u instanceof Array}catch{}return function(g,h){return a(g),s(h),r(g)&&(i?l(g,h):g.__proto__=h),g}})():void 0)},64071(f,d,e){"use strict";var n=e(99160),r=e(72663);f.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},48666(f,d,e){"use strict";var n=e(7689),r=e(28177),a=e(64678),s=TypeError;f.exports=function(i,u){var l,m;if(u==="string"&&r(l=i.toString)&&!a(m=n(l,i))||r(l=i.valueOf)&&!a(m=n(l,i))||u!=="string"&&r(l=i.toString)&&!a(m=n(l,i)))return m;throw new s("Can't convert object to primitive value")}},87067(f,d,e){"use strict";var n=e(9563),r=e(45668),a=e(60492),s=e(10369),i=e(15955),u=r([].concat);f.exports=n("Reflect","ownKeys")||function(m){var g=a.f(i(m)),h=s.f;return h?u(g,h(m)):g}},9779(f,d,e){"use strict";var n=e(11684);f.exports=n},49555(f){"use strict";f.exports=function(d){try{return{error:!1,value:d()}}catch(e){return{error:!0,value:e}}}},33608(f,d,e){"use strict";var n=e(11684),r=e(99306),a=e(28177),s=e(29848),i=e(59886),u=e(96559),l=e(82339),m=e(76983),g=e(44411),h=r&&r.prototype,v=u("species"),x=!1,T=a(n.PromiseRejectionEvent),E=s("Promise",function(){var _=i(r),C=_!==String(r);if(!C&&g===66||m&&!(h.catch&&h.finally))return!0;if(!g||g<51||!/native code/.test(_)){var P=new r(function(B){B(1)}),k=function(B){B(function(){},function(){})},D=P.constructor={};if(D[v]=k,x=P.then(function(){})instanceof k,!x)return!0}return!C&&(l==="BROWSER"||l==="DENO")&&!T});f.exports={CONSTRUCTOR:E,REJECTION_EVENT:T,SUBCLASSING:x}},99306(f,d,e){"use strict";var n=e(11684);f.exports=n.Promise},86586(f,d,e){"use strict";var n=e(15955),r=e(64678),a=e(16183);f.exports=function(s,i){if(n(s),r(i)&&i.constructor===s)return i;var u=a.f(s),l=u.resolve;return l(i),u.promise}},17573(f,d,e){"use strict";var n=e(99306),r=e(72312),a=e(33608).CONSTRUCTOR;f.exports=a||!r(function(s){n.all(s).then(void 0,function(){})})},22413(f){"use strict";var d=function(){this.head=null,this.tail=null};d.prototype={add:function(e){var n={item:e,next:null},r=this.tail;r?r.next=n:this.head=n,this.tail=n},get:function(){var e=this.head;if(e){var n=this.head=e.next;return n===null&&(this.tail=null),e.item}}},f.exports=d},51489(f,d,e){"use strict";var n=e(11684),r=e(26819),a=n.RegExp,s=!r(function(){var i=!0;try{a(".","d")}catch{i=!1}var u={},l="",m=i?"dgimsy":"gimsy",g=function(T,E){Object.defineProperty(u,T,{get:function(){return l+=E,!0}})},h={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(h.hasIndices="d");for(var v in h)g(v,h[v]);var x=Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(u);return x!==m||l!==m});f.exports={correct:s}},639(f,d,e){"use strict";var n=e(15955);f.exports=function(){var r=n(this),a="";return r.hasIndices&&(a+="d"),r.global&&(a+="g"),r.ignoreCase&&(a+="i"),r.multiline&&(a+="m"),r.dotAll&&(a+="s"),r.unicode&&(a+="u"),r.unicodeSets&&(a+="v"),r.sticky&&(a+="y"),a}},29646(f,d,e){"use strict";var n=e(7689),r=e(98941),a=e(99677),s=e(51489),i=e(639),u=RegExp.prototype;f.exports=s.correct?function(l){return l.flags}:function(l){return!s.correct&&a(u,l)&&!r(l,"flags")?n(i,l):l.flags}},23250(f,d,e){"use strict";var n=e(61377),r=TypeError;f.exports=function(a){if(n(a))throw new r("Can't call method on "+a);return a}},57649(f,d,e){"use strict";var n=e(11684),r=e(77296),a=Object.getOwnPropertyDescriptor;f.exports=function(s){if(!r)return n[s];var i=a(n,s);return i&&i.value}},88130(f,d,e){"use strict";var n=e(42297),r=e(45857),a=n.Set,s=n.add;f.exports=function(i){var u=new a;return r(i,function(l){s(u,l)}),u}},7436(f,d,e){"use strict";var n=e(31572),r=e(42297),a=e(88130),s=e(52942),i=e(2921),u=e(45857),l=e(53143),m=r.has,g=r.remove;f.exports=function(v){var x=n(this),T=i(v),E=a(x);return s(E)<=T.size?u(E,function(_){T.includes(_)&&g(E,_)}):l(T.getIterator(),function(_){m(E,_)&&g(E,_)}),E}},42297(f,d,e){"use strict";var n=e(45668),r=Set.prototype;f.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}},56634(f,d,e){"use strict";var n=e(31572),r=e(42297),a=e(52942),s=e(2921),i=e(45857),u=e(53143),l=r.Set,m=r.add,g=r.has;f.exports=function(v){var x=n(this),T=s(v),E=new l;return a(x)>T.size?u(T.getIterator(),function(_){g(x,_)&&m(E,_)}):i(x,function(_){T.includes(_)&&m(E,_)}),E}},99661(f,d,e){"use strict";var n=e(31572),r=e(42297).has,a=e(52942),s=e(2921),i=e(45857),u=e(53143),l=e(59583);f.exports=function(g){var h=n(this),v=s(g);if(a(h)<=v.size)return i(h,function(T){if(v.includes(T))return!1},!0)!==!1;var x=v.getIterator();return u(x,function(T){if(r(h,T))return l(x.iterator,"normal",!1)})!==!1}},85898(f,d,e){"use strict";var n=e(31572),r=e(52942),a=e(45857),s=e(2921);f.exports=function(u){var l=n(this),m=s(u);return r(l)>m.size?!1:a(l,function(g){if(!m.includes(g))return!1},!0)!==!1}},39539(f,d,e){"use strict";var n=e(31572),r=e(42297).has,a=e(52942),s=e(2921),i=e(53143),u=e(59583);f.exports=function(m){var g=n(this),h=s(m);if(a(g)<h.size)return!1;var v=h.getIterator();return i(v,function(x){if(!r(g,x))return u(v.iterator,"normal",!1)})!==!1}},45857(f,d,e){"use strict";var n=e(45668),r=e(53143),a=e(42297),s=a.Set,i=a.proto,u=n(i.forEach),l=n(i.keys),m=l(new s).next;f.exports=function(g,h,v){return v?r({iterator:l(g),next:m},h):u(g,h)}},29496(f,d,e){"use strict";var n=e(9563),r=function(s){return{size:s,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(s){return{size:s,has:function(){return!0},keys:function(){throw new Error("e")}}};f.exports=function(s,i){var u=n("Set");try{new u()[s](r(0));try{return new u()[s](r(-1)),!1}catch{if(!i)return!0;try{return new u()[s](a(-1/0)),!1}catch{var l=new u([1,2]);return i(l[s](a(1/0)))}}}catch{return!1}}},88895(f){"use strict";f.exports=function(d){try{var e=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return e.clear(),e.add(4),function(){return{done:!0}}}})}},r=e[d](n);return r.size===1&&r.values().next().value===4}catch{return!1}}},52942(f,d,e){"use strict";var n=e(39894),r=e(42297);f.exports=n(r.proto,"size","get")||function(a){return a.size}},90717(f,d,e){"use strict";var n=e(9563),r=e(54582),a=e(96559),s=e(77296),i=a("species");f.exports=function(u){var l=n(u);s&&l&&!l[i]&&r(l,i,{configurable:!0,get:function(){return this}})}},88534(f,d,e){"use strict";var n=e(31572),r=e(42297),a=e(88130),s=e(2921),i=e(53143),u=r.add,l=r.has,m=r.remove;f.exports=function(h){var v=n(this),x=s(h).getIterator(),T=a(v);return i(x,function(E){l(v,E)?m(T,E):u(T,E)}),T}},32915(f,d,e){"use strict";var n=e(97413).f,r=e(98941),a=e(96559),s=a("toStringTag");f.exports=function(i,u,l){i&&!l&&(i=i.prototype),i&&!r(i,s)&&n(i,s,{configurable:!0,value:u})}},86168(f,d,e){"use strict";var n=e(31572),r=e(42297).add,a=e(88130),s=e(2921),i=e(53143);f.exports=function(l){var m=n(this),g=s(l).getIterator(),h=a(m);return i(g,function(v){r(h,v)}),h}},12163(f,d,e){"use strict";var n=e(43053),r=e(49220),a=n("keys");f.exports=function(s){return a[s]||(a[s]=r(s))}},60073(f,d,e){"use strict";var n=e(76983),r=e(11684),a=e(24837),s="__core-js_shared__",i=f.exports=r[s]||a(s,{});(i.versions||(i.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},43053(f,d,e){"use strict";var n=e(60073);f.exports=function(r,a){return n[r]||(n[r]=a||{})}},11905(f,d,e){"use strict";var n=e(15955),r=e(95688),a=e(61377),s=e(96559),i=s("species");f.exports=function(u,l){var m=n(u).constructor,g;return m===void 0||a(g=n(m)[i])?l:r(g)}},6224(f,d,e){"use strict";var n=e(11684),r=e(26819),a=e(44411),s=e(82339),i=n.structuredClone;f.exports=!!i&&!r(function(){if(s==="DENO"&&a>92||s==="NODE"&&a>94||s==="BROWSER"&&a>97)return!1;var u=new ArrayBuffer(8),l=i(u,{transfer:[u]});return u.byteLength!==0||l.byteLength!==8})},85691(f,d,e){"use strict";var n=e(44411),r=e(26819),a=e(11684),s=a.String;f.exports=!!Object.getOwnPropertySymbols&&!r(function(){var i=Symbol("symbol detection");return!s(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41})},37293(f,d,e){"use strict";var n=e(11684),r=e(40709),a=e(20156),s=e(28177),i=e(98941),u=e(26819),l=e(54129),m=e(98604),g=e(11667),h=e(92688),v=e(26340),x=e(72829),T=n.setImmediate,E=n.clearImmediate,_=n.process,C=n.Dispatch,P=n.Function,k=n.MessageChannel,D=n.String,B=0,$={},F="onreadystatechange",V,W,Z,J;u(function(){V=n.location});var ie=function(je){if(i($,je)){var Fe=$[je];delete $[je],Fe()}},le=function(je){return function(){ie(je)}},he=function(je){ie(je.data)},me=function(je){n.postMessage(D(je),V.protocol+"//"+V.host)};(!T||!E)&&(T=function(Fe){h(arguments.length,1);var Je=s(Fe)?Fe:P(Fe),Xe=m(arguments,1);return $[++B]=function(){r(Je,void 0,Xe)},W(B),B},E=function(Fe){delete $[Fe]},x?W=function(je){_.nextTick(le(je))}:C&&C.now?W=function(je){C.now(le(je))}:k&&!v?(Z=new k,J=Z.port2,Z.port1.onmessage=he,W=a(J.postMessage,J)):n.addEventListener&&s(n.postMessage)&&!n.importScripts&&V&&V.protocol!=="file:"&&!u(me)?(W=me,n.addEventListener("message",he,!1)):F in g("script")?W=function(je){l.appendChild(g("script"))[F]=function(){l.removeChild(this),ie(je)}}:W=function(je){setTimeout(le(je),0)}),f.exports={set:T,clear:E}},75054(f,d,e){"use strict";var n=e(29199),r=Math.max,a=Math.min;f.exports=function(s,i){var u=n(s);return u<0?r(u+i,0):a(u,i)}},68281(f,d,e){"use strict";var n=e(98787),r=e(23250);f.exports=function(a){return n(r(a))}},29199(f,d,e){"use strict";var n=e(37057);f.exports=function(r){var a=+r;return a!==a||a===0?0:n(a)}},35218(f,d,e){"use strict";var n=e(29199),r=Math.min;f.exports=function(a){var s=n(a);return s>0?r(s,9007199254740991):0}},55225(f,d,e){"use strict";var n=e(23250),r=Object;f.exports=function(a){return r(n(a))}},14205(f,d,e){"use strict";var n=e(7689),r=e(64678),a=e(36585),s=e(63810),i=e(48666),u=e(96559),l=TypeError,m=u("toPrimitive");f.exports=function(g,h){if(!r(g)||a(g))return g;var v=s(g,m),x;if(v){if(h===void 0&&(h="default"),x=n(v,g,h),!r(x)||a(x))return x;throw new l("Can't convert object to primitive value")}return h===void 0&&(h="number"),i(g,h)}},86061(f,d,e){"use strict";var n=e(14205),r=e(36585);f.exports=function(a){var s=n(a,"string");return r(s)?s:s+""}},99160(f,d,e){"use strict";var n=e(96559),r=n("toStringTag"),a={};a[r]="z",f.exports=String(a)==="[object z]"},4483(f,d,e){"use strict";var n=e(72663),r=String;
vendor: 2,216 bytes, line 742
742f.exports=function(a){if(n(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(a)}},8747(f){"use strict";var d=String;f.exports=function(e){try{return d(e)}catch{return"Object"}}},49220(f,d,e){"use strict";var n=e(45668),r=0,a=Math.random(),s=n(1.1.toString);f.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+s(++r+a,36)}},90340(f,d,e){"use strict";var n=e(85691);f.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},96066(f,d,e){"use strict";var n=e(77296),r=e(26819);f.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},92688(f){"use strict";var d=TypeError;f.exports=function(e,n){if(e<n)throw new d("Not enough arguments");return e}},56258(f,d,e){"use strict";var n=e(11684),r=e(28177),a=n.WeakMap;f.exports=r(a)&&/native code/.test(String(a))},96559(f,d,e){"use strict";var n=e(11684),r=e(43053),a=e(98941),s=e(49220),i=e(85691),u=e(90340),l=n.Symbol,m=r("wks"),g=u?l.for||l:l&&l.withoutSetter||s;f.exports=function(h){return a(m,h)||(m[h]=i&&a(l,h)?l[h]:g("Symbol."+h)),m[h]}},91671(f,d,e){"use strict";var n=e(83674),r=e(55225),a=e(5970),s=e(29199),i=e(77273);n({target:"Array",proto:!0},{at:function(l){var m=r(this),g=a(m),h=s(l),v=h>=0?h:g+h;return v<0||v>=g?void 0:m[v]}}),i("at")},64247(f,d,e){"use strict";var n=e(83674),r=e(48379).findLastIndex,a=e(77273);n({target:"Array",proto:!0},{findLastIndex:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},17634(f,d,e){"use strict";var n=e(83674),r=e(48379).findLast,a=e(77273);n({target:"Array",proto:!0},{findLast:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},54500(f,d,e){"use strict";var n=e(68281),r=e(77273),a=e(26033),s=e(51105),i=e(97413).f,u=e(22260),l=e(92701),m=e(76983),g=e(77296),h="Array Iterator",v=s.set,x=s.getterFor(h);f.exports=u(Array,"Array",function(E,_){v(this,{type:h,target:n(E),index:0,kind:_})},function(){var E=x(this),_=E.target,C=E.index++;if(!_||C>=_.length)return E.target=null,l(void 0,!0);switch(E.kind){case"keys":return l(C,!1);case"values":return l(_[C],!1)}return l([C,_[C]],!1)},"values");var T=a.Arguments=a.Array;
vendor: 19,724 bytes, line 742
742if(r("keys"),r("values"),r("entries"),!m&&g&&T.name!=="values")try{i(T,"name",{value:"values"})}catch{}},10546(f,d,e){"use strict";var n=e(83674),r=e(45668),a=e(8942),s=e(55225),i=e(5970),u=e(49978),l=e(4483),m=e(26819),g=e(48412),h=e(81730),v=e(85585),x=e(92815),T=e(44411),E=e(65619),_=[],C=r(_.sort),P=r(_.push),k=m(function(){_.sort(void 0)}),D=m(function(){_.sort(null)}),B=h("sort"),$=!m(function(){if(T)return T<70;if(!(v&&v>3)){if(x)return!0;if(E)return E<603;var W="",Z,J,ie,le;for(Z=65;Z<76;Z++){switch(J=String.fromCharCode(Z),Z){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(le=0;le<47;le++)_.push({k:J+le,v:ie})}for(_.sort(function(he,me){return me.v-he.v}),le=0;le<_.length;le++)J=_[le].k.charAt(0),W.charAt(W.length-1)!==J&&(W+=J);return W!=="DGBEFHACIJK"}}),F=k||!D||!B||!$,V=function(W){return function(Z,J){if(J===void 0)return-1;if(Z===void 0)return 1;if(W!==void 0)return+W(Z,J)||0;var ie=l(Z),le=l(J);return ie===le?0:ie>le?1:-1}};n({target:"Array",proto:!0,forced:F},{sort:function(Z){Z!==void 0&&a(Z);var J=s(this);if($)return Z===void 0?C(J):C(J,Z);var ie=[],le=i(J),he,me;for(me=0;me<le;me++)me in J&&P(ie,J[me]);for(g(ie,V(Z)),he=i(ie),me=0;me<he;)J[me]=ie[me++];for(;me<le;)u(J,me++);return J}})},10618(f,d,e){"use strict";var n=e(83674),r=e(5970),a=e(68281),s=e(81452),i=e(77273),u=Array;n({target:"Array",proto:!0},{toReversed:function(){for(var m=a(this),g=r(m),h=new u(g),v=0;v<g;v++)s(h,v,m[g-v-1]);return h}}),i("toReversed")},52637(f,d,e){"use strict";var n=e(83674),r=e(45668),a=e(8942),s=e(68281),i=e(46598),u=e(74072),l=e(77273),m=Array,g=r(u("Array","sort"));n({target:"Array",proto:!0},{toSorted:function(v){v!==void 0&&a(v);var x=s(this),T=i(m,x);return g(T,v)}}),l("toSorted")},93886(f,d,e){"use strict";var n=e(83674),r=e(77273),a=e(47785),s=e(5970),i=e(75054),u=e(68281),l=e(29199),m=e(81452),g=Array,h=Math.max,v=Math.min;n({target:"Array",proto:!0},{toSpliced:function(T,E){var _=u(this),C=s(_),P=i(T,C),k=arguments.length,D=0,B,$,F,V;for(k===0?B=$=0:k===1?(B=0,$=C-P):(B=k-2,$=v(h(l(E),0),C-P)),F=a(C+B-$),V=g(F);D<P;D++)m(V,D,_[D]);for(;D<P+B;D++)m(V,D,arguments[D-P+2]);for(;D<F;D++)m(V,D,_[D+$-B]);return V}}),r("toSpliced")},34986(f,d,e){"use strict";var n=e(83674),r=e(5970),a=e(29199),s=e(68281),i=e(81452),u=Array,l=RangeError,m=(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(g){return g!==4}})();n({target:"Array",proto:!0,forced:m},{with:function(g,h){var v=s(this),x=r(v),T=a(g),E=T<0?x+T:T;if(E>=x||E<0)throw new l("Incorrect index");for(var _=new u(x),C=0;C<x;C++)i(_,C,C===E?h:v[C]);return _}})},26114(f,d,e){"use strict";var n=e(3524),r=e(51228),a=Error.prototype;a.toString!==r&&n(a,"toString",r)},43151(f,d,e){"use strict";var n=e(68200),r=e(82942);n("Map",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},r)},19853(f,d,e){"use strict";e(43151)},51863(f,d,e){"use strict";var n=e(83674),r=e(98941);n({target:"Object",stat:!0},{hasOwn:r})},39364(f,d,e){"use strict";var n=e(83674),r=e(55225),a=e(77228),s=e(26819),i=s(function(){a(1)});n({target:"Object",stat:!0,forced:i},{keys:function(l){return a(r(l))}})},24271(f,d,e){"use strict";var n=e(99160),r=e(3524),a=e(64071);n||r(Object.prototype,"toString",a,{unsafe:!0})},46455(f,d,e){"use strict";var n=e(83674),r=e(7689),a=e(8942),s=e(16183),i=e(49555),u=e(71472),l=e(17573);n({target:"Promise",stat:!0,forced:l},{all:function(g){var h=this,v=s.f(h),x=v.resolve,T=v.reject,E=i(function(){var _=a(h.resolve),C=[],P=0,k=1;u(g,function(D){var B=P++,$=!1;k++,r(_,h,D).then(function(F){$||($=!0,C[B]=F,--k||x(C))},T)}),--k||x(C)});return E.error&&T(E.value),v.promise}})},59039(f,d,e){"use strict";var n=e(83674),r=e(76983),a=e(33608).CONSTRUCTOR,s=e(99306),i=e(9563),u=e(28177),l=e(3524),m=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(h){return this.then(void 0,h)}}),!r&&u(s)){var g=i("Promise").prototype.catch;m.catch!==g&&l(m,"catch",g,{unsafe:!0})}},67768(f,d,e){"use strict";var n=e(83674),r=e(76983),a=e(72829),s=e(11684),i=e(9779),u=e(7689),l=e(3524),m=e(22451),g=e(32915),h=e(90717),v=e(8942),x=e(28177),T=e(64678),E=e(17371),_=e(11905),C=e(37293).set,P=e(21631),k=e(52073),D=e(49555),B=e(22413),$=e(51105),F=e(99306),V=e(33608),W=e(16183),Z="Promise",J=V.CONSTRUCTOR,ie=V.REJECTION_EVENT,le=V.SUBCLASSING,he=$.getterFor(Z),me=$.set,je=F&&F.prototype,Fe=F,Je=je,Xe=s.TypeError,ge=s.document,be=s.process,Ie=W.f,Re=Ie,ye=!!(ge&&ge.createEvent&&s.dispatchEvent),De="unhandledrejection",$e="rejectionhandled",qe=0,It=1,mt=2,kt=1,Ut=2,Ir,Sr,Yr,Gr,dn=function(dr){var Xr;return T(dr)&&x(Xr=dr.then)?Xr:!1},Kr=function(dr,Xr){var hn=Xr.value,Qt=Xr.state===It,Br=Qt?dr.ok:dr.fail,zt=dr.resolve,Tt=dr.reject,Pr=dr.domain,Y,ht,ur;try{Br?(Qt||(Xr.rejection===Ut&&Er(Xr),Xr.rejection=kt),Br===!0?Y=hn:(Pr&&Pr.enter(),Y=Br(hn),Pr&&(Pr.exit(),ur=!0)),Y===dr.promise?Tt(new Xe("Promise-chain cycle")):(ht=dn(Y))?u(ht,Y,zt,Tt):zt(Y)):Tt(hn)}catch(it){Pr&&!ur&&Pr.exit(),Tt(it)}},yt=function(dr,Xr){dr.notified||(dr.notified=!0,P(function(){for(var hn=dr.reactions,Qt;Qt=hn.get();)Kr(Qt,dr);dr.notified=!1,Xr&&!dr.rejection&&Ar(dr)}))},tt=function(dr,Xr,hn){var Qt,Br;ye?(Qt=ge.createEvent("Event"),Qt.promise=Xr,Qt.reason=hn,Qt.initEvent(dr,!1,!0),s.dispatchEvent(Qt)):Qt={promise:Xr,reason:hn},!ie&&(Br=s["on"+dr])?Br(Qt):dr===De&&k("Unhandled promise rejection",hn)},Ar=function(dr){u(C,s,function(){var Xr=dr.facade,hn=dr.value,Qt=Mr(dr),Br;if(Qt&&(Br=D(function(){a?be.emit("unhandledRejection",hn,Xr):tt(De,Xr,hn)}),dr.rejection=a||Mr(dr)?Ut:kt,Br.error))throw Br.value})},Mr=function(dr){return dr.rejection!==kt&&!dr.parent},Er=function(dr){u(C,s,function(){var Xr=dr.facade;a?be.emit("rejectionHandled",Xr):tt($e,Xr,dr.value)})},Ur=function(dr,Xr,hn){return function(Qt){dr(Xr,Qt,hn)}},or=function(dr,Xr,hn){dr.done||(dr.done=!0,hn&&(dr=hn),dr.value=Xr,dr.state=mt,yt(dr,!0))},An=function(dr,Xr,hn){if(!dr.done){dr.done=!0,hn&&(dr=hn);try{if(dr.facade===Xr)throw new Xe("Promise can't be resolved itself");var Qt=dn(Xr);Qt?P(function(){var Br={done:!1};try{u(Qt,Xr,Ur(An,Br,dr),Ur(or,Br,dr))}catch(zt){or(Br,zt,dr)}}):(dr.value=Xr,dr.state=It,yt(dr,!1))}catch(Br){or({done:!1},Br,dr)}}};if(J&&(Fe=function(Xr){E(this,Je),v(Xr),u(Ir,this);var hn=he(this);try{Xr(Ur(An,hn),Ur(or,hn))}catch(Qt){or(hn,Qt)}},Je=Fe.prototype,Ir=function(Xr){me(this,{type:Z,done:!1,notified:!1,parent:!1,reactions:new B,rejection:!1,state:qe,value:null})},Ir.prototype=l(Je,"then",function(Xr,hn){var Qt=he(this),Br=Ie(_(this,Fe));return Qt.parent=!0,Br.ok=x(Xr)?Xr:!0,Br.fail=x(hn)&&hn,Br.domain=a?be.domain:void 0,Qt.state===qe?Qt.reactions.add(Br):P(function(){Kr(Br,Qt)}),Br.promise}),Sr=function(){var dr=new Ir,Xr=he(dr);this.promise=dr,this.resolve=Ur(An,Xr),this.reject=Ur(or,Xr)},W.f=Ie=function(dr){return dr===Fe||dr===Yr?new Sr(dr):Re(dr)},!r&&x(F)&&je!==Object.prototype)){Gr=je.then,le||l(je,"then",function(Xr,hn){var Qt=this;return new Fe(function(Br,zt){u(Gr,Qt,Br,zt)}).then(Xr,hn)},{unsafe:!0});try{delete je.constructor}catch{}m&&m(je,Je)}n({global:!0,constructor:!0,wrap:!0,forced:J},{Promise:Fe}),Yr=i.Promise,g(Fe,Z,!1,!0),h(Z)},39022(f,d,e){"use strict";e(67768),e(46455),e(59039),e(36211),e(48637),e(52516)},36211(f,d,e){"use strict";var n=e(83674),r=e(7689),a=e(8942),s=e(16183),i=e(49555),u=e(71472),l=e(17573);n({target:"Promise",stat:!0,forced:l},{race:function(g){var h=this,v=s.f(h),x=v.reject,T=i(function(){var E=a(h.resolve);u(g,function(_){r(E,h,_).then(v.resolve,x)})});return T.error&&x(T.value),v.promise}})},48637(f,d,e){"use strict";var n=e(83674),r=e(16183),a=e(33608).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:a},{reject:function(i){var u=r.f(this),l=u.reject;return l(i),u.promise}})},52516(f,d,e){"use strict";var n=e(83674),r=e(9563),a=e(76983),s=e(99306),i=e(33608).CONSTRUCTOR,u=e(86586),l=r("Promise"),m=a&&!i;n({target:"Promise",stat:!0,forced:a||i},{resolve:function(h){return u(m&&this===l?s:this,h)}})},12752(f,d,e){"use strict";var n=e(83674),r=e(16183);n({target:"Promise",stat:!0},{withResolvers:function(){var s=r.f(this);return{promise:s.promise,resolve:s.resolve,reject:s.reject}}})},97873(f,d,e){"use strict";var n=e(68200),r=e(82942);n("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},r)},56142(f,d,e){"use strict";var n=e(83674),r=e(7436),a=e(26819),s=e(29496),i=!s("difference",function(l){return l.size===0}),u=i||a(function(){var l={size:1,has:function(){return!0},keys:function(){var g=0;return{next:function(){var h=g++>1;return m.has(1)&&m.clear(),{done:h,value:2}}}}},m=new Set([1,2,3,4]);return m.difference(l).size!==3});n({target:"Set",proto:!0,real:!0,forced:u},{difference:r})},10152(f,d,e){"use strict";var n=e(83674),r=e(26819),a=e(56634),s=e(29496),i=!s("intersection",function(u){return u.size===2&&u.has(1)&&u.has(2)})||r(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:i},{intersection:a})},22209(f,d,e){"use strict";var n=e(83674),r=e(99661),a=e(29496),s=!a("isDisjointFrom",function(i){return!i});n({target:"Set",proto:!0,real:!0,forced:s},{isDisjointFrom:r})},95768(f,d,e){"use strict";var n=e(83674),r=e(85898),a=e(29496),s=!a("isSubsetOf",function(i){return i});n({target:"Set",proto:!0,real:!0,forced:s},{isSubsetOf:r})},68039(f,d,e){"use strict";var n=e(83674),r=e(39539),a=e(29496),s=!a("isSupersetOf",function(i){return!i});n({target:"Set",proto:!0,real:!0,forced:s},{isSupersetOf:r})},50155(f,d,e){"use strict";e(97873)},79852(f,d,e){"use strict";var n=e(83674),r=e(88534),a=e(88895),s=e(29496),i=!s("symmetricDifference")||!a("symmetricDifference");n({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:r})},48486(f,d,e){"use strict";var n=e(83674),r=e(86168),a=e(88895),s=e(29496),i=!s("union")||!a("union");n({target:"Set",proto:!0,real:!0,forced:i},{union:r})},91038(f,d,e){"use strict";e(64247)},70895(f,d,e){"use strict";e(17634)},49627(f,d,e){"use strict";e(10618)},93724(f,d,e){"use strict";e(52637)},7849(f,d,e){"use strict";e(93886)},73881(f,d,e){"use strict";e(34986)},98827(f,d,e){"use strict";e(12752)},15387(f,d,e){"use strict";e(56142)},74741(f,d,e){"use strict";e(10152)},14720(f,d,e){"use strict";e(22209)},91413(f,d,e){"use strict";e(95768)},55190(f,d,e){"use strict";e(68039)},60333(f,d,e){"use strict";e(79852)},87201(f,d,e){"use strict";e(48486)},82507(f,d,e){"use strict";var n=e(83674),r=e(9563),a=e(81465),s=e(26819),i=e(54580),u=e(22208),l=e(97413).f,m=e(3524),g=e(54582),h=e(98941),v=e(17371),x=e(15955),T=e(51228),E=e(2303),_=e(75446),C=e(31789),P=e(51105),k=e(77296),D=e(76983),B="DOMException",$="DATA_CLONE_ERR",F=r("Error"),V=r(B)||(function(){try{var kt=r("MessageChannel")||a("worker_threads").MessageChannel;new kt().port1.postMessage(new WeakMap)}catch(Ut){if(Ut.name===$&&Ut.code===25)return Ut.constructor}})(),W=V&&V.prototype,Z=F.prototype,J=P.set,ie=P.getterFor(B),le="stack"in new F(B),he=function(kt){return h(_,kt)&&_[kt].m?_[kt].c:0},me=function(){v(this,je);var Ut=arguments.length,Ir=E(Ut<1?void 0:arguments[0]),Sr=E(Ut<2?void 0:arguments[1],"Error"),Yr=he(Sr);if(J(this,{type:B,name:Sr,message:Ir,code:Yr}),k||(this.name=Sr,this.message=Ir,this.code=Yr),le){var Gr=new F(Ir);Gr.name=B,l(this,"stack",u(1,C(Gr.stack,1)))}},je=me.prototype=i(Z),Fe=function(kt){return{enumerable:!0,configurable:!0,get:kt}},Je=function(kt){return Fe(function(){return ie(this)[kt]})};k&&(g(je,"code",Je("code")),g(je,"message",Je("message")),g(je,"name",Je("name"))),l(je,"constructor",u(1,me));var Xe=s(function(){return!(new V instanceof F)}),ge=Xe||s(function(){return Z.toString!==T||String(new V(1,2))!=="2: 1"}),be=Xe||s(function(){return new V(1,"DataCloneError").code!==25}),Ie=Xe||V[$]!==25||W[$]!==25,Re=D?ge||be||Ie:Xe;n({global:!0,constructor:!0,forced:Re},{DOMException:Re?me:V});var ye=r(B),De=ye.prototype;ge&&(D||V===ye)&&m(De,"toString",T),be&&k&&V===ye&&g(De,"code",Fe(function(){return he(x(this).name)}));for(var $e in _)if(h(_,$e)){var qe=_[$e],It=qe.s,mt=u(6,qe.c);h(ye,It)||l(ye,It,mt),h(De,It)||l(De,It,mt)}},53871(f,d,e){"use strict";var n=e(83674),r=e(11684),a=e(9563),s=e(22208),i=e(97413).f,u=e(98941),l=e(17371),m=e(92515),g=e(2303),h=e(75446),v=e(31789),x=e(77296),T=e(76983),E="DOMException",_=a("Error"),C=a(E),P=function(){l(this,k);var me=arguments.length,je=g(me<1?void 0:arguments[0]),Fe=g(me<2?void 0:arguments[1],"Error"),Je=new C(je,Fe),Xe=new _(je);return Xe.name=E,i(Je,"stack",s(1,v(Xe.stack,1))),m(Je,this,P),Je},k=P.prototype=C.prototype,D="stack"in new _(E),B="stack"in new C(1,2),$=C&&x&&Object.getOwnPropertyDescriptor(r,E),F=!!$&&!($.writable&&$.configurable),V=D&&!F&&!B;n({global:!0,constructor:!0,forced:T||V},{DOMException:V?P:C});var W=a(E),Z=W.prototype;if(Z.constructor!==W){T||i(Z,"constructor",s(1,W));for(var J in h)if(u(h,J)){var ie=h[J],le=ie.s;u(W,le)||i(W,le,s(6,ie.c))}}},72935(f,d,e){"use strict";var n=e(9563),r=e(32915),a="DOMException";r(n(a),a)},7682(f,d,e){"use strict";var n=e(76983),r=e(83674),a=e(11684),s=e(9563),i=e(45668),u=e(26819),l=e(49220),m=e(28177),g=e(673),h=e(61377),v=e(64678),x=e(36585),T=e(71472),E=e(15955),_=e(72663),C=e(98941),P=e(81452),k=e(14687),D=e(5970),B=e(92688),$=e(29646),F=e(34068),V=e(42297),W=e(45857),Z=e(36759),J=e(38527),ie=e(6224),le=a.Object,he=a.Array,me=a.Date,je=a.Error,Fe=a.TypeError,Je=a.PerformanceMark,Xe=s("DOMException"),ge=F.Map,be=F.has,Ie=F.get,Re=F.set,ye=V.Set,De=V.add,$e=V.has,qe=s("Object","keys"),It=i([].push),mt=i((!0).valueOf),kt=i(1.1.valueOf),Ut=i("".valueOf),Ir=i(me.prototype.getTime),Sr=l("structuredClone"),Yr="DataCloneError",Gr="Transferring",dn=function(Tt){return!u(function(){var Pr=new a.Set([7]),Y=Tt(Pr),ht=Tt(le(7));return Y===Pr||!Y.has(7)||!v(ht)||+ht!=7})&&Tt},Kr=function(Tt,Pr){return!u(function(){var Y=new Pr,ht=Tt({a:Y,b:Y});return!(ht&&ht.a===ht.b&&ht.a instanceof Pr&&ht.a.stack===Y.stack)})},yt=function(Tt){return!u(function(){var Pr=Tt(new a.AggregateError([1],Sr,{cause:3}));return Pr.name!=="AggregateError"||Pr.errors[0]!==1||Pr.message!==Sr||Pr.cause!==3})},tt=a.structuredClone,Ar=n||!Kr(tt,je)||!Kr(tt,Xe)||!yt(tt),Mr=!tt&&dn(function(Tt){return new Je(Sr,{detail:Tt}).detail}),Er=dn(tt)||Mr,Ur=function(Tt){throw new Xe("Uncloneable type: "+Tt,Yr)},or=function(Tt,Pr){throw new Xe((Pr||"Cloning")+" of "+Tt+" cannot be properly polyfilled in this engine",Yr)},An=function(Tt,Pr){return Er||or(Pr),Er(Tt)},dr=function(){var Tt;try{Tt=new a.DataTransfer}catch{try{Tt=new a.ClipboardEvent("").clipboardData}catch{}}return Tt&&Tt.items&&Tt.files?Tt:null},Xr=function(Tt,Pr,Y){if(be(Pr,Tt))return Ie(Pr,Tt);var ht=Y||_(Tt),ur,it,Rt,Zr,nn,fn;if(ht==="SharedArrayBuffer")Er?ur=Er(Tt):ur=Tt;else{var Sn=a.DataView;!Sn&&!m(Tt.slice)&&or("ArrayBuffer");try{if(m(Tt.slice)&&!Tt.resizable)ur=Tt.slice(0);else for(it=Tt.byteLength,Rt=("maxByteLength"in Tt)?{maxByteLength:Tt.maxByteLength}:void 0,ur=new ArrayBuffer(it,Rt),Zr=new Sn(Tt),nn=new Sn(ur),fn=0;fn<it;fn++)nn.setUint8(fn,Zr.getUint8(fn))}catch{throw new Xe("ArrayBuffer is detached",Yr)}}return Re(Pr,Tt,ur),ur},hn=function(Tt,Pr,Y,ht,ur){var it=a[Pr];return v(it)||or(Pr),new it(Xr(Tt.buffer,ur),Y,ht)},Qt=function(Tt,Pr){if(x(Tt)&&Ur("Symbol"),!v(Tt))return Tt;if(Pr){if(be(Pr,Tt))return Ie(Pr,Tt)}else Pr=new ge;var Y=_(Tt),ht,ur,it,Rt,Zr,nn,fn,Sn;switch(Y){case"Array":it=he(D(Tt));break;case"Object":it={};break;case"Map":it=new ge;break;case"Set":it=new ye;break;case"RegExp":it=new RegExp(Tt.source,$(Tt));break;case"Error":switch(ur=Tt.name,ur){case"AggregateError":it=new(s(ur))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":it=new(s(ur));break;case"CompileError":case"LinkError":case"RuntimeError":it=new(s("WebAssembly",ur));break;default:it=new je}break;case"DOMException":it=new Xe(Tt.message,Tt.name);break;case"ArrayBuffer":case"SharedArrayBuffer":it=Xr(Tt,Pr,Y);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":nn=Y==="DataView"?Tt.byteLength:Tt.length,it=hn(Tt,Y,Tt.byteOffset,nn,Pr);break;case"DOMQuad":try{it=new DOMQuad(Qt(Tt.p1,Pr),Qt(Tt.p2,Pr),Qt(Tt.p3,Pr),Qt(Tt.p4,Pr))}catch{it=An(Tt,Y)}break;case"File":if(Er)try{it=Er(Tt),_(it)!==Y&&(it=void 0)}catch{}if(!it)try{it=new File([Tt],Tt.name,Tt)}catch{}it||or(Y);break;case"FileList":if(Rt=dr(),Rt){for(Zr=0,nn=D(Tt);Zr<nn;Zr++)Rt.items.add(Qt(Tt[Zr],Pr));it=Rt.files}else it=An(Tt,Y);break;case"ImageData":try{it=new ImageData(Qt(Tt.data,Pr),Tt.width,Tt.height,{colorSpace:Tt.colorSpace})}catch{it=An(Tt,Y)}break;default:if(Er)it=Er(Tt);else switch(Y){case"BigInt":it=le(Tt.valueOf());break;case"Boolean":it=le(mt(Tt));break;case"Number":it=le(kt(Tt));break;case"String":it=le(Ut(Tt));break;case"Date":it=new me(Ir(Tt));break;case"Blob":try{it=Tt.slice(0,Tt.size,Tt.type)}catch{or(Y)}break;case"DOMPoint":case"DOMPointReadOnly":ht=a[Y];try{it=ht.fromPoint?ht.fromPoint(Tt):new ht(Tt.x,Tt.y,Tt.z,Tt.w)}catch{or(Y)}break;case"DOMRect":case"DOMRectReadOnly":ht=a[Y];try{it=ht.fromRect?ht.fromRect(Tt):new ht(Tt.x,Tt.y,Tt.width,Tt.height)}catch{or(Y)}break;case"DOMMatrix":case"DOMMatrixReadOnly":ht=a[Y];try{it=ht.fromMatrix?ht.fromMatrix(Tt):new ht(Tt)}catch{or(Y)}break;case"AudioData":case"VideoFrame":m(Tt.clone)||or(Y);try{it=Tt.clone()}catch{Ur(Y)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":or(Y);default:Ur(Y)}}switch(Re(Pr,Tt,it),Y){case"Array":case"Object":for(fn=qe(Tt),Zr=0,nn=D(fn);Zr<nn;Zr++)Sn=fn[Zr],P(it,Sn,Qt(Tt[Sn],Pr));break;case"Map":Tt.forEach(function(Ci,$i){Re(it,Qt($i,Pr),Qt(Ci,Pr))});break;case"Set":Tt.forEach(function(Ci){De(it,Qt(Ci,Pr))});break;case"Error":k(it,"message",Qt(Tt.message,Pr)),C(Tt,"cause")&&k(it,"cause",Qt(Tt.cause,Pr)),ur==="AggregateError"?it.errors=Qt(Tt.errors,Pr):ur==="SuppressedError"&&(it.error=Qt(Tt.error,Pr),it.suppressed=Qt(Tt.suppressed,Pr));case"DOMException":J&&k(it,"stack",Qt(Tt.stack,Pr))}return it},Br=function(Tt,Pr){if(!v(Tt))throw new Fe("Transfer option cannot be converted to a sequence");var Y=[];T(Tt,function($i){It(Y,E($i))});for(var ht=0,ur=D(Y),it=new ye,Rt,Zr,nn,fn,Sn,Ci;ht<ur;){if(Rt=Y[ht++],Zr=_(Rt),fn=void 0,Zr==="ArrayBuffer"?$e(it,Rt):be(Pr,Rt))throw new Xe("Duplicate transferable",Yr);if(Zr==="ArrayBuffer"){De(it,Rt);continue}if(ie)fn=tt(Rt,{transfer:[Rt]});else switch(Zr){case"ImageBitmap":nn=a.OffscreenCanvas,g(nn)||or(Zr,Gr);try{Sn=new nn(Rt.width,Rt.height),Ci=Sn.getContext("bitmaprenderer"),Ci.transferFromImageBitmap(Rt),fn=Sn.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!m(Rt.clone)||!m(Rt.close))&&or(Zr,Gr);try{fn=Rt.clone(),Rt.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":or(Zr,Gr)}if(fn===void 0)throw new Xe("This object cannot be transferred: "+Zr,Yr);Re(Pr,Rt,fn)}return it},zt=function(Tt){W(Tt,function(Pr){ie?tt(Pr,{transfer:[Pr]}):m(Pr.transfer)?Pr.transfer():Z?Z(Pr):or("ArrayBuffer",Gr)})};r({global:!0,enumerable:!0,sham:!ie,forced:Ar},{structuredClone:function(Pr){var Y=B(arguments.length,1)>1&&!h(arguments[1])?E(arguments[1]):void 0,ht=Y?Y.transfer:void 0,ur,it;ht!==void 0&&(ur=new ge,it=Br(ht,ur));var Rt=Qt(Pr,ur);return it&&zt(it),Rt}}
742)},99108(f,d,e){"use strict";var n=e(68957);f.exports=n},68390(f,d,e){"use strict";f.exports=e(69281)},55127(f,d,e){"use strict";f.exports=e(68512)},14019(f,d,e){"use strict";var n=e(40584);f.exports=n},14612(f,d,e){"use strict";var n=e(59519);f.exports=n},68097(f,d,e){"use strict";var n=e(98560);f.exports=n},7953(f,d,e){"use strict";var n=e(96252);f.exports=n},77422(f,d,e){"use strict";var n=e(27427);f.exports=n},53239(f,d,e){"use strict";var n=e(80386);f.exports=n},20745(f,d,e){"use strict";var n=e(8096);f.exports=n},14059(f,d,e){"use strict";var n=e(51326);f.exports=n},50156(f,d,e){"use strict";var n=e(47889);f.exports=n},28427(f,d,e){"use strict";var n=e(30238);f.exports=n},21642(f,d,e){"use strict";var n=e(28703);f.exports=n},10379(f,d,e){"use strict";var n=e(16658);f.exports=n},95183(f,d,e){"use strict";var n=e(43100);f.exports=n},59032(f,d,e){"use strict";e(26114),e(54500),e(39364),e(24271),e(19853),e(50155),e(82507),e(53871),e(72935),e(7682);var n=e(9779);f.exports=n.structuredClone},25481(f,d,e){"use strict";e.d(d,{Q:()=>r});var n=e(87978),r;(function(a){a.InstanceMode="default",a.ExactOptionalPropertyTypes=!1,a.AllowArrayObject=!1,a.AllowNaN=!1,a.AllowNullVoid=!1;function s(g,h){return a.ExactOptionalPropertyTypes?h in g:g[h]!==void 0}a.IsExactOptionalProperty=s;function i(g){const h=(0,n.av)(g);return a.AllowArrayObject?h:h&&!(0,n.QS)(g)}a.IsObjectLike=i;function u(g){return i(g)&&!(g instanceof Date)&&!(g instanceof Uint8Array)}a.IsRecordLike=u;function l(g){return a.AllowNaN?(0,n.Mx)(g):Number.isFinite(g)}a.IsNumberLike=l;function m(g){const h=(0,n.R1)(g);return a.AllowNullVoid?h||g===null:h}a.IsVoidLike=m})(r||(r={}))},44035(f,d,e){"use strict";e.d(d,{i:()=>m});var n=e(47531);function r(g){return g.map(h=>l(h))}function a(g){return new Date(g.getTime())}function s(g){return new Uint8Array(g)}function i(g){return new RegExp(g.source,g.flags)}function u(g){const h={};for(const v of Object.getOwnPropertyNames(g))h[v]=l(g[v]);for(const v of Object.getOwnPropertySymbols(g))h[v]=l(g[v]);return h}function l(g){return n.QS(g)?r(g):n.XF(g)?a(g):n.G4(g)?s(g):n.__(g)?i(g):n.av(g)?u(g):g}function m(g){return l(g)}},68189(f,d,e){"use strict";e.d(d,{v:()=>h});var n=e(25481),r=e(47531);function a(v){return globalThis.Object.freeze(v).map(x=>m(x))}function s(v){return v}function i(v){return v}function u(v){return v}function l(v){const x={};for(const T of Object.getOwnPropertyNames(v))x[T]=m(v[T]);for(const T of Object.getOwnPropertySymbols(v))x[T]=m(v[T]);return globalThis.Object.freeze(x)}function m(v){return r.QS(v)?a(v):r.XF(v)?v:r.G4(v)?v:r.__(v)?v:r.av(v)?l(v):v}var g=e(44035);function h(v,x){const T=x!==void 0?{...x,...v}:v;switch(n.Q.InstanceMode){case"freeze":return m(T);case"clone":return(0,g.i)(T);default:return T}}},35783(f,d,e){"use strict";e.d(d,{i:()=>n});class n extends Error{constructor(a){super(a)}}},78542(f,d,e){"use strict";e.d(d,{$p:()=>k,Cz:()=>m,Df:()=>me,Ef:()=>Fe,H1:()=>h,IP:()=>De,Mx:()=>Je,OD:()=>ge,PN:()=>kt,QS:()=>g,R1:()=>Ut,TC:()=>i,X$:()=>u,Y6:()=>T,Yi:()=>yt,Yq:()=>B,ZD:()=>he,ZV:()=>E,Zx:()=>x,__:()=>ye,av:()=>Xe,cQ:()=>v,cZ:()=>be,fJ:()=>J,gP:()=>ie,gm:()=>qe,h4:()=>l,hg:()=>C,in:()=>Re,jo:()=>$,my:()=>Ir,nH:()=>$e,n_:()=>mt,zZ:()=>le});var n,r,a=e(47531),s=e(82795);function i(tt){return a.av(tt)&&tt[s.hi]==="Readonly"}function u(tt){return a.av(tt)&&tt[s.tJ]==="Optional"}function l(tt){return F(tt,"Any")}function m(tt){return F(tt,"Argument")}function g(tt){return F(tt,"Array")}function h(tt){return F(tt,"AsyncIterator")}function v(tt){return F(tt,"BigInt")}function x(tt){return F(tt,"Boolean")}function T(tt){return F(tt,"Computed")}function E(tt){return F(tt,"Constructor")}function _(tt){return F(tt,"Date")}function C(tt){return F(tt,"Function")}function P(tt){return F(tt,"Import")}function k(tt){return F(tt,"Integer")}function D(tt){return n.IsObject(tt)}function B(tt){return F(tt,"Intersect")}function $(tt){return F(tt,"Iterator")}function F(tt,Ar){return a.av(tt)&&s.b8 in tt&&tt[s.b8]===Ar}function V(tt){return ie(tt)&&n.IsString(tt.const)}function W(tt){return ie(tt)&&n.IsNumber(tt.const)}function Z(tt){return ie(tt)&&n.IsBoolean(tt.const)}function J(tt){return a.Zx(tt)||a.Mx(tt)||a.IP(tt)}function ie(tt){return F(tt,"Literal")}function le(tt){return F(tt,"MappedKey")}function he(tt){return F(tt,"MappedResult")}function me(tt){return F(tt,"Never")}function je(tt){return F(tt,"Not")}function Fe(tt){return F(tt,"Null")}function Je(tt){return F(tt,"Number")}function Xe(tt){return F(tt,"Object")}function ge(tt){return F(tt,"Promise")}function be(tt){return F(tt,"Record")}function Ie(tt){return n.IsObject(tt)&&r in tt&&tt[r]==="Recursive"}function Re(tt){return F(tt,"Ref")}function ye(tt){return F(tt,"RegExp")}function De(tt){return F(tt,"String")}function $e(tt){return F(tt,"Symbol")}function qe(tt){return F(tt,"TemplateLiteral")}function It(tt){return F(tt,"This")}function mt(tt){return a.av(tt)&&s.H7 in tt}function kt(tt){return F(tt,"Tuple")}function Ut(tt){return F(tt,"Undefined")}function Ir(tt){return F(tt,"Union")}function Sr(tt){return F(tt,"Uint8Array")}function Yr(tt){return F(tt,"Unknown")}function Gr(tt){return F(tt,"Unsafe")}function dn(tt){return F(tt,"Void")}function Kr(tt){return a.av(tt)&&s.b8 in tt&&a.IP(tt[s.b8])}function yt(tt){return l(tt)||m(tt)||g(tt)||x(tt)||v(tt)||h(tt)||T(tt)||E(tt)||_(tt)||C(tt)||k(tt)||B(tt)||$(tt)||ie(tt)||le(tt)||he(tt)||me(tt)||je(tt)||Fe(tt)||Je(tt)||Xe(tt)||ge(tt)||be(tt)||Re(tt)||ye(tt)||De(tt)||$e(tt)||qe(tt)||It(tt)||kt(tt)||Ut(tt)||Ir(tt)||Sr(tt)||Yr(tt)||Gr(tt)||dn(tt)||Kr(tt)}},16132(f,d,e){"use strict";e.d(d,{$p:()=>Fe,Df:()=>mt,Ef:()=>Ut,G4:()=>hn,H1:()=>W,IP:()=>tt,LV:()=>Re,Mx:()=>Ir,OD:()=>Yr,PN:()=>or,QS:()=>V,R1:()=>An,Wy:()=>ye,X$:()=>B,XF:()=>he,Yq:()=>Xe,ZV:()=>le,Zs:()=>Ie,Zx:()=>J,__:()=>yt,av:()=>Sr,cQ:()=>Z,cZ:()=>Gr,fr:()=>Qt,gK:()=>kt,gP:()=>De,gm:()=>Mr,h4:()=>$,hg:()=>me,jo:()=>ge,jw:()=>zt,my:()=>Xr,nH:()=>Ar});var n,r,a,s,i=e(47531),u=e(82795);class l extends null{}const m=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function g(Y){try{return new RegExp(Y),!0}catch{return!1}}function h(Y){if(!i.IP(Y))return!1;for(let ht=0;ht<Y.length;ht++){const ur=Y.charCodeAt(ht);if(ur>
742=7&&ur<=13||ur===27||ur===127)return!1}return!0}function v(Y){return E(Y)||Pr(Y)}function x(Y){return i.R1(Y)||i.cQ(Y)}function T(Y){return i.R1(Y)||i.Mx(Y)}function E(Y){return i.R1(Y)||i.Zx(Y)}function _(Y){return i.R1(Y)||i.IP(Y)}function C(Y){return i.R1(Y)||i.IP(Y)&&h(Y)&&g(Y)}function P(Y){return i.R1(Y)||i.IP(Y)&&h(Y)}function k(Y){return i.R1(Y)||Pr(Y)}function D(Y){return n.IsObject(Y)&&Y[r]==="Readonly"}function B(Y){return i.av(Y)&&Y[u.tJ]==="Optional"}function $(Y){return be(Y,"Any")&&_(Y.$id)}function F(Y){return be(Y,"Argument")&&i.Mx(Y.index)}function V(Y){return be(Y,"Array")&&Y.type==="array"&&_(Y.$id)&&Pr(Y.items)&&T(Y.minItems)&&T(Y.maxItems)&&E(Y.uniqueItems)&&k(Y.contains)&&T(Y.minContains)&&T(Y.maxContains)}function W(Y){return be(Y,"AsyncIterator")&&Y.type==="AsyncIterator"&&_(Y.$id)&&Pr(Y.items)}function Z(Y){return be(Y,"BigInt")&&Y.type==="bigint"&&_(Y.$id)&&x(Y.exclusiveMaximum)&&x(Y.exclusiveMinimum)&&x(Y.maximum)&&x(Y.minimum)&&x(Y.multipleOf)}function J(Y){return be(Y,"Boolean")&&Y.type==="boolean"&&_(Y.$id)}function ie(Y){return be(Y,"Computed")&&i.IP(Y.target)&&i.QS(Y.parameters)&&Y.parameters.every(ht=>Pr(ht))}function le(Y){return be(Y,"Constructor")&&Y.type==="Constructor"&&_(Y.$id)&&i.QS(Y.parameters)&&Y.parameters.every(ht=>Pr(ht))&&Pr(Y.returns)}function he(Y){return be(Y,"Date")&&Y.type==="Date"&&_(Y.$id)&&T(Y.exclusiveMaximumTimestamp)&&T(Y.exclusiveMinimumTimestamp)&&T(Y.maximumTimestamp)&&T(Y.minimumTimestamp)&&T(Y.multipleOfTimestamp)}function me(Y){return be(Y,"Function")&&Y.type==="Function"&&_(Y.$id)&&i.QS(Y.parameters)&&Y.parameters.every(ht=>Pr(ht))&&Pr(Y.returns)}function je(Y){return be(Y,"Import")&&n.HasPropertyKey(Y,"$defs")&&n.IsObject(Y.$defs)&&Je(Y.$defs)&&n.HasPropertyKey(Y,"$ref")&&n.IsString(Y.$ref)&&Y.$ref in Y.$defs}function Fe(Y){return be(Y,"Integer")&&Y.type==="integer"&&_(Y.$id)&&T(Y.exclusiveMaximum)&&T(Y.exclusiveMinimum)&&T(Y.maximum)&&T(Y.minimum)&&T(Y.multipleOf)}function Je(Y){return i.av(Y)&&Object.entries(Y).every(([ht,ur])=>h(ht)&&Pr(ur))}function Xe(Y){return be(Y,"Intersect")&&!(i.IP(Y.type)&&Y.type!=="object")&&i.QS(Y.allOf)&&Y.allOf.every(ht=>Pr(ht)&&!Ur(ht))&&_(Y.type)&&(E(Y.unevaluatedProperties)||k(Y.unevaluatedProperties))&&_(Y.$id)}function ge(Y){return be(Y,"Iterator")&&Y.type==="Iterator"&&_(Y.$id)&&Pr(Y.items)}function be(Y,ht){return i.av(Y)&&u.b8 in Y&&Y[u.b8]===ht}function Ie(Y){return De(Y)&&i.IP(Y.const)}function Re(Y){return De(Y)&&i.Mx(Y.const)}function ye(Y){return De(Y)&&i.Zx(Y.const)}function De(Y){return be(Y,"Literal")&&_(Y.$id)&&$e(Y.const)}function $e(Y){return i.Zx(Y)||i.Mx(Y)||i.IP(Y)}function qe(Y){return be(Y,"MappedKey")&&i.QS(Y.keys)&&Y.keys.every(ht=>i.Mx(ht)||i.IP(ht))}function It(Y){return be(Y,"MappedResult")&&Je(Y.properties)}function mt(Y){return be(Y,"Never")&&i.av(Y.not)&&Object.getOwnPropertyNames(Y.not).length===0}function kt(Y){return be(Y,"Not")&&Pr(Y.not)}function Ut(Y){return be(Y,"Null")&&Y.type==="null"&&_(Y.$id)}function Ir(Y){return be(Y,"Number")&&Y.type==="number"&&_(Y.$id)&&T(Y.exclusiveMaximum)&&T(Y.exclusiveMinimum)&&T(Y.maximum)&&T(Y.minimum)&&T(Y.multipleOf)}function Sr(Y){return be(Y,"Object")&&Y.type==="object"&&_(Y.$id)&&Je(Y.properties)&&v(Y.additionalProperties)&&T(Y.minProperties)&&T(Y.maxProperties)}function Yr(Y){return be(Y,"Promise")&&Y.type==="Promise"&&_(Y.$id)&&Pr(Y.item)}function Gr(Y){return be(Y,"Record")&&Y.type==="object"&&_(Y.$id)&&v(Y.additionalProperties)&&i.av(Y.patternProperties)&&(ht=>{const ur=Object.getOwnPropertyNames(ht.patternProperties);return ur.length===1&&g(ur[0])&&i.av(ht.patternProperties)&&Pr(ht.patternProperties[ur[0]])})(Y)}function dn(Y){return n.IsObject(Y)&&a in Y&&Y[a]==="Recursive"}function Kr(Y){return be(Y,"Ref")&&_(Y.$id)&&i.IP(Y.$ref)}function yt(Y){return be(Y,"RegExp")&&_(Y.$id)&&i.IP(Y.source)&&i.IP(Y.flags)&&T(Y.maxLength)&&T(Y.minLength)}function tt(Y){return be(Y,"String")&&Y.type==="string"&&_(Y.$id)&&T(Y.minLength)&&T(Y.maxLength)&&C(Y.pattern)&&P(Y.format)}function Ar(Y){return be(Y,"Symbol")&&Y.type==="symbol"&&_(Y.$id)}function Mr(Y){return be(Y,"TemplateLiteral")&&Y.type==="string"&&i.IP(Y.pattern)&&Y.pattern[0]==="^"&&Y.pattern[Y.pattern.length-1]==="$"}function Er(Y){return be(Y,"This")&&_(Y.$id)&&i.IP(Y.$ref)}function Ur(Y){return i.av(Y)&&u.H7 in Y}function or(Y){return be(Y,"Tuple")&&Y.type==="array"&&_(Y.$id)&&i.Mx(Y.minItems)&&i.Mx(Y.maxItems)&&Y.minItems===Y.max
742Items&&(i.R1(Y.items)&&i.R1(Y.additionalItems)&&Y.minItems===0||i.QS(Y.items)&&Y.items.every(ht=>Pr(ht)))}function An(Y){return be(Y,"Undefined")&&Y.type==="undefined"&&_(Y.$id)}function dr(Y){return Xr(Y)&&Y.anyOf.every(ht=>Ie(ht)||Re(ht))}function Xr(Y){return be(Y,"Union")&&_(Y.$id)&&i.av(Y)&&i.QS(Y.anyOf)&&Y.anyOf.every(ht=>Pr(ht))}function hn(Y){return be(Y,"Uint8Array")&&Y.type==="Uint8Array"&&_(Y.$id)&&T(Y.minByteLength)&&T(Y.maxByteLength)}function Qt(Y){return be(Y,"Unknown")&&_(Y.$id)}function Br(Y){return be(Y,"Unsafe")}function zt(Y){return be(Y,"Void")&&Y.type==="void"&&_(Y.$id)}function Tt(Y){return i.av(Y)&&u.b8 in Y&&i.IP(Y[u.b8])&&!m.includes(Y[u.b8])}function Pr(Y){return i.av(Y)&&($(Y)||F(Y)||V(Y)||J(Y)||Z(Y)||W(Y)||ie(Y)||le(Y)||he(Y)||me(Y)||Fe(Y)||Xe(Y)||ge(Y)||De(Y)||qe(Y)||It(Y)||mt(Y)||kt(Y)||Ut(Y)||Ir(Y)||Sr(Y)||Yr(Y)||Gr(Y)||Kr(Y)||yt(Y)||tt(Y)||Ar(Y)||Mr(Y)||Er(Y)||or(Y)||An(Y)||Xr(Y)||hn(Y)||Qt(Y)||Br(Y)||zt(Y)||Tt(Y))}},47531(f,d,e){"use strict";e.d(d,{Ef:()=>g,G4:()=>_,H1:()=>r,IP:()=>T,Mx:()=>h,QS:()=>a,R1:()=>C,XF:()=>u,Zx:()=>i,__:()=>x,av:()=>v,cQ:()=>s,hg:()=>l,jo:()=>m,nH:()=>E});function n(P,k){return k in P}function r(P){return v(P)&&!a(P)&&!_(P)&&Symbol.asyncIterator in P}function a(P){return Array.isArray(P)}function s(P){return typeof P=="bigint"}function i(P){return typeof P=="boolean"}function u(P){return P instanceof globalThis.Date}function l(P){return typeof P=="function"}function m(P){return v(P)&&!a(P)&&!_(P)&&Symbol.iterator in P}function g(P){return P===null}function h(P){return typeof P=="number"}function v(P){return typeof P=="object"&&P!==null}function x(P){return P instanceof globalThis.RegExp}function T(P){return typeof P=="string"}function E(P){return typeof P=="symbol"}function _(P){return P instanceof globalThis.Uint8Array}function C(P){return P===void 0}},31340(f,d,e){"use strict";e.d(d,{g:()=>h,n:()=>x});var n=e(19568),r=e(78542);function a(T){const E=[];for(const _ of T)E.push(h(_));return E}function s(T){const E=a(T);return(0,n.lw)(E)}function i(T){const E=a(T);return(0,n.vC)(E)}function u(T){return T.map((E,_)=>_.toString())}function l(T){return["[number]"]}function m(T){return globalThis.Object.getOwnPropertyNames(T)}function g(T){return v?globalThis.Object.getOwnPropertyNames(T).map(_=>_[0]==="^"&&_[_.length-1]==="$"?_.slice(1,_.length-1):_):[]}function h(T){return(0,r.Yq)(T)?s(T.allOf):(0,r.my)(T)?i(T.anyOf):(0,r.PN)(T)?u(T.items??[]):(0,r.QS)(T)?l(T.items):(0,r.av)(T)?m(T.properties):(0,r.cZ)(T)?g(T.patternProperties):[]}let v=!1;function x(T){v=!0;const E=h(T);return v=!1,`^(${E.map(C=>`(${C})`).join("|")})$`}},80463(f,d,e){"use strict";e.d(d,{p:()=>a});var n=e(68189),r=e(82795);function a(s){return(0,n.v)({[r.b8]:"Never",not:{}},s)}},19568(f,d,e){"use strict";e.d(d,{lN:()=>a,lw:()=>g,oU:()=>n,vC:()=>m});function n(h,v){return h.includes(v)}function r(h,v){return h.every(x=>n(v,x))}function a(h){return[...new Set(h)]}function s(h,v){return h.filter(x=>v.includes(x))}function i(h,v){return[...h,...v]}function u(h,v){return h.filter(x=>!v.includes(x))}function l(h,v){return h.reduce((x,T)=>s(x,T),v)}function m(h){return h.length===1?h[0]:h.length>1?l(h.slice(1),h[0]):[]}function g(h){const v=[];for(const x of h)v.push(...x);return v}},82795(f,d,e){"use strict";e.d(d,{Ck:()=>s,H7:()=>n,b8:()=>i,hi:()=>r,tJ:()=>a});const n=Symbol.for("TypeBox.Transform"),r=Symbol.for("TypeBox.Readonly"),a=Symbol.for("TypeBox.Optional"),s=Symbol.for("TypeBox.Hint"),i=Symbol.for("TypeBox.Kind")},87978(f,d,e){"use strict";e.d(d,{$p:()=>he,Ef:()=>J,G4:()=>x,H1:()=>n,IP:()=>je,Mx:()=>le,OD:()=>i,QS:()=>W,R1:()=>Z,XF:()=>u,Zx:()=>ie,av:()=>V,cQ:()=>me,hg:()=>Fe,jo:()=>r,nH:()=>Je});function n(ge){return V(ge)&&globalThis.Symbol.asyncIterator in ge}function r(ge){return V(ge)&&globalThis.Symbol.iterator in ge}function a(ge){return V(ge)&&(globalThis.Object.getPrototypeOf(ge)===Object.prototype||globalThis.Object.getPrototypeOf(ge)===null)}function s(ge){return V(ge)&&!W(ge)&&Fe(ge.constructor)&&ge.constructor.name!=="Object"}function i(ge){return ge instanceof globalThis.Promise}function u(ge){return ge instanceof Date&&globalThis.Number.isFinite(ge.getTime())}function l(ge){return ge instanceof globalThis.Map}function m(ge){return ge instanceof globalThis.Set}function g(ge){return ge instanceof globalThis.RegExp}function h(ge){return globalThis.ArrayBuffer.isView(ge)}function v(ge){return ge instanceof globalThis.Int8Array}function x(ge){return ge instanceof globalThis.Uint8Array}function T(ge){return ge instanceof globalThis.Uint8ClampedArray}function E(ge){return ge instanceof globalThis.Int16Array}function _(ge){return ge instanceof globalThis.Uint16Array}function C(ge){return ge instanceof globalThis.Int32Array}function P(ge){return ge instanceof globalThis.Uint32Array}function k(ge){return ge instanceof globalThis.Float32Array}function D(ge){return ge instanceof globalThis.Float64Array}function B(ge){return ge instanceof globalThis.BigInt64Array}function $(ge){return ge instanceof globalThis.BigUint64Array}function F(ge,be){return be in ge}function V(ge){return ge!==null&&typeof ge=="object"}function W(ge){return globalThis.Array.isArray(ge)&&!globalThis.ArrayBuffer.isView(ge)}function Z(ge){return ge===void 0}function J(ge){return ge===null}function ie(ge){return typeof ge=="boolean"}function le(ge){return typeof ge=="number"}function he(ge){return globalThis.Number.isInteger(ge)}function me(ge){return typeof ge=="bigint"}function je(ge){return typeof ge=="string"}function Fe(ge){return typeof ge=="function"}function Je(ge){return typeof ge=="symbol"}function Xe(ge){return me(ge)||ie(ge)||J(ge)||le(ge)||je(ge)||Je(ge)||Z(ge)}},4214(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(52997);class r{type;coordMeta;coordRange;range;constructor(x,T){if(typeof x=="object"&&(this.coordMeta=x),T&&(this.coordMeta=T,this.coordRange=T.range??T.refRange),typeof x=="str
742ing"){let E=x.trim().match(/^(?<type><[a-z]+>)(\[(?<min>-?[.\d]+),\s*(?<max>-?[.\d]+)\])?$/);if(!E)throw new TypeError(`Cannot parse ${x} as a type definition.`);this.type=E.groups.type;let{min:_,max:C}=E.groups;(_||C)&&(this.range=[+_,+C])}}get computedRange(){return this.range?this.range:this.type==="<percentage>"?this.percentageRange():this.type==="<angle>"?[0,360]:null}get unit(){return this.type==="<percentage>"?"%":this.type==="<angle>"?"deg":""}resolve(x){if(this.type==="<angle>")return x;let T=this.computedRange,E=this.coordRange;return this.type==="<percentage>"&&(E??=this.percentageRange()),(0,n._b)(T,E,x)}serialize(x,T){let E=this.type==="<percentage>"?this.percentageRange(100):this.computedRange,_=this.unit;return x=(0,n._b)(this.coordRange,E,x),(0,n.g1)(x,{unit:_,precision:T})}toString(){let x=this.type;if(this.range){let[T="",E=""]=this.range;x+=`[${T},${E}]`}return x}percentageRange(x=1){let T;return this.coordMeta&&this.coordMeta.range||this.coordRange&&this.coordRange[0]>=0?T=[0,1]:T=[-1,1],[T[0]*x,T[1]*x]}static get(x,T){return(0,n.Qs)(x,this)?x:new this(x,T)}}const a=Symbol("instance");class s{type;name;spaceCoords;coords;id;alpha;constructor(x,T=x.space){x[a]=this,this.type="function",this.name="color",Object.assign(this,x),this.space=T,this.type!=="custom"&&(this.spaceCoords=Object.values(T.coords),this.coords||(this.coords=this.spaceCoords.map(E=>{let _=["<number>","<percentage>"];return E.type==="angle"&&_.push("<angle>"),_})),this.coords=this.coords.map((E,_)=>{let C=this.spaceCoords[_];return typeof E=="string"&&(E=E.trim().split(/\s*\|\s*/)),E.map(P=>r.get(P,C))}))}serializeCoords(x,T,E){return E=x.map((_,C)=>r.get(E?.[C]??this.coords[C][0],this.spaceCoords[C])),x.map((_,C)=>E[C].serialize(_,T))}coerceCoords(x,T){return Object.entries(this.space.coords).map(([E,_],C)=>{let P=x[C];if((0,n.$I)(P)||isNaN(P))return P;let k=T[C],D=this.coords[C].find(B=>B.type==k);if(!D){let B=_.name||E;throw new TypeError(`${k??P?.raw??P} not allowed for ${B} in ${this.name}()`)}return P=D.resolve(P),D.range&&(T[C]=D.toString()),P})}canSerialize(){return this.type==="function"||this.serialize}parse(x){return null}static get(x,...T){return!x||(0,n.Qs)(x,this)?x:x[a]?x[a]:new s(x,...T)}}var i=e(38693),u=e(17873),l=e(88878);const m=75e-6;class g{constructor(x){this.id=x.id,this.name=x.name,this.base=x.base?g.get(x.base):null,this.aliases=x.aliases,this.base&&(this.fromBase=x.fromBase,this.toBase=x.toBase);let T=x.coords??this.base.coords;for(let _ in T)"name"in T[_]||(T[_].name=_);this.coords=T;let E=x.white??this.base.white??"D65";this.white=(0,i.ie)(E),this.formats=x.formats??{};for(let _ in this.formats){let C=this.formats[_];C.type||="function",C.name||=_}this.formats.color?.id||(this.formats.color={...this.formats.color??{},id:x.cssId||this.id}),x.gamutSpace?this.gamutSpace=x.gamutSpace==="self"?this:g.get(x.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=(_,C)=>!0),this.referred=x.referred,Object.defineProperty(this,"path",{value:h(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),u.A.run("colorspace-init-end",this)}inGamut(x,{epsilon:T=m}={}){if(!this.equals(this.gamutSpace))return x=this.to(this.gamutSpace,x),this.gamutSpace.inGamut(x,{epsilon:T});let E=Object.values(this.coords);return x.every((_,C)=>{let P=E[C];if(P.type!=="angle"&&P.range){if((0,n.$I)(_))return!0;let[k,D]=P.range;return(k===void 0||_>=k-T)&&(D===void 0||_<=D+T)}return!0})}get isUnbounded(){return Object.values(this.coords).every(x=>!("range"in x))}get cssId(){return this.formats?.color?.id||this.id}get isPolar(){for(let x in this.coords)if(this.coords[x].type==="angle")return!0;return!1}getFormat(x){if(!x)return null;x==="default"?x=Object.values(this.formats)[0]:typeof x=="string"&&(x=this.formats[x]);let T=s.get(x,this);return T!==x&&x.name in this.formats&&(this.formats[x.name]=T),T}equals(x){return x?this===x||this.id===x||this.id===x.id:!1}to(x,T){if(arguments.length===1){const k=(0,l.A)(x);[x,T]=[k.space,k.coords]}if(x=g.get(x),this.equals(x))return T;T=T.map(k=>(0,n.$I)(k)?0:k);let E=this.path,_=x.path,C,P;for(let k=0;k<E.length&&E[k].equals(_[k]);k++)C=E[k],P=k;
742if(!C)throw new Error(`Cannot convert between color spaces ${this} and ${x}: no connection space was found`);for(let k=E.length-1;k>P;k--)T=E[k].toBase(T);for(let k=P+1;k<_.length;k++)T=_[k].fromBase(T);return T}from(x,T){if(arguments.length===1){const E=(0,l.A)(x);[x,T]=[E.space,E.coords]}return x=g.get(x),x.to(this,T)}toString(){return`${this.name} (${this.id})`}getMinCoords(){let x=[];for(let T in this.coords){let E=this.coords[T],_=E.range||E.refRange;x.push(_?.min??0)}return x}static registry={};static get all(){return[...new Set(Object.values(g.registry))]}static register(x,T){if(arguments.length===1&&(T=arguments[0],x=T.id),T=this.get(T),this.registry[x]&&this.registry[x]!==T)throw new Error(`Duplicate color space registration: '${x}'`);if(this.registry[x]=T,arguments.length===1&&T.aliases)for(let E of T.aliases)this.register(E,T);return T}static get(x,...T){if(!x||(0,n.Qs)(x,this))return x;if((0,n.NW)(x)==="string"){let _=g.registry[x.toLowerCase()];if(!_)throw new TypeError(`No color space found with id = "${x}"`);return _}if(T.length)return g.get(...T);throw new TypeError(`${x} is not a valid color space`)}static findFormat(x,T=g.all){if(!x)return null;typeof x=="string"&&(x={name:x});for(let E of T)for(let[_,C]of Object.entries(E.formats)){C.name??=_,C.type??="function";let P=(!x.name||C.name===x.name)&&(!x.type||C.type===x.type);if(x.id){let k=C.ids||[C.id],D=Array.isArray(x.id)?x.id:[x.id];P&&=D.some(B=>k.includes(B))}if(P){let k=s.get(C,E);return k!==C&&(E.formats[C.name]=k),k}}return null}static resolveCoord(x,T){let E=(0,n.NW)(x),_,C;if(E==="string"?x.includes(".")?[_,C]=x.split("."):[_,C]=[,x]:Array.isArray(x)?[_,C]=x:(_=x.space,C=x.coordId),_=g.get(_),_||(_=T),!_)throw new TypeError(`Cannot resolve coordinate reference ${x}: No color space specified and relative references are not allowed here`);if(E=(0,n.NW)(C),E==="number"||E==="string"&&C>=0){let D=Object.entries(_.coords)[C];if(D)return{space:_,id:D[0],index:C,...D[1]}}_=g.get(_);let P=C.toLowerCase(),k=0;for(let D in _.coords){let B=_.coords[D];if(D.toLowerCase()===P||B.name?.toLowerCase()===P)return{space:_,id:D,index:k,...B};k++}throw new TypeError(`No "${C}" coordinate found in ${_.name}. Its coordinates are: ${Object.keys(_.coords).join(", ")}`)}static DEFAULT_FORMAT={type:"functions",name:"color"}}function h(v){let x=[v];for(let T=v;T=T.base;)x.push(T);return x}},38693(f,d,e){"use strict";e.d(d,{Ay:()=>i,FL:()=>a,ie:()=>s});var n=e(17873),r=e(39478);const a={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function s(u){return Array.isArray(u)?u:a[u]}function i(u,l,m,g={}){if(u=s(u),l=s(l),!u||!l)throw new TypeError(`Missing white point to convert ${u?"":"from"}${!u&&!l?"/":""}${l?"":"to"}`);if(u===l)return m;let h={W1:u,W2:l,XYZ:m,options:g};if(n.A.run("chromatic-adaptation-start",h),h.M||(h.W1===a.D65&&h.W2===a.D50?h.M=[[1.0479297925449969,.022946870601609652,-.05019226628920524],[.02962780877005599,.9904344267538799,-.017073799063418826],[-.009243040646204504,.015055191490298152,.7518742814281371]]:h.W1===a.D50&&h.W2===a.D65&&(h.M=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]])),n.A.run("chromatic-adaptation-end",h),h.M)return(0,r.R)(h.XYZ,h.M);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}},90053(f,d,e){"use strict";e.d(d,{A:()=>a,h:()=>r});var n=e(52997);function r(s){return typeof s!="number"?s:(s%360+360)%360}function a(s,i){let[u,l]=i,m=n.$I(u),g=n.$I(l);if(m&&g)return[u,l];if(m?u=l:g&&(l=u),s==="raw")return i;u=r(u),l=r(l);let h=l-u;return s==="increasing"?h<0&&(l+=360):s==="decreasing"?h>0&&(u+=360):s==="longer"?-180<h&&h<180&&(h>0?u+=360:l+=360):s==="shorter"&&(h>180?u+=360:h<-180&&(l+=360)),[u,l]}},23512(f,d,e){"use strict";e.d(d,{A:()=>n});function n(r){return{space:r.space,coords:r.coords.slice(),alpha:r.alpha}}},52164(f,d,e){"use strict";e.d(d,{A:()=>Re});var n={};e.r(n),e.d(n,{contrastAPCA:()=>$,contrastDeltaPhi:()=>Ie,contrastLstar:()=>ie,contrastMichelson:()=>F,contrastWCAG21:()=>i,contrastWeber:()=>W});var r=e(88878),a=e(52997),s=e(21307);function i(ye,De){ye=(0,r.A)(ye),De=(0,r.A)(De);let $e=Math.max((0,s.J1)(ye),0),qe=Math.max((0,s.J1)(De),0);return qe>$e&&([$e,qe]=[qe,$e]),($e+.05)/(qe+.05)}var u=e(1400);
742const l=.56,m=.57,g=.62,h=.65,v=.022,x=1.414,T=.1,E=5e-4,_=1.14,C=.027,P=1.14,k=.027;function D(ye){return ye>=v?ye:ye+(v-ye)**x}function B(ye){let De=ye<0?-1:1,$e=Math.abs(ye);return De*Math.pow($e,2.4)}function $(ye,De){De=(0,r.A)(De),ye=(0,r.A)(ye);let $e,qe,It,mt,kt,Ut;De=(0,u.A)(De,"srgb"),[mt,kt,Ut]=De.coords.map(Kr=>(0,a.$I)(Kr)?0:Kr);let Ir=B(mt)*.2126729+B(kt)*.7151522+B(Ut)*.072175;ye=(0,u.A)(ye,"srgb"),[mt,kt,Ut]=ye.coords.map(Kr=>(0,a.$I)(Kr)?0:Kr);let Sr=B(mt)*.2126729+B(kt)*.7151522+B(Ut)*.072175,Yr=D(Ir),Gr=D(Sr),dn=Gr>Yr;return Math.abs(Gr-Yr)<E?qe=0:dn?($e=Gr**l-Yr**m,qe=$e*_):($e=Gr**h-Yr**g,qe=$e*P),Math.abs(qe)<T?It=0:qe>0?It=qe-C:It=qe+C,It*100}function F(ye,De){ye=(0,r.A)(ye),De=(0,r.A)(De);let $e=Math.max((0,s.J1)(ye),0),qe=Math.max((0,s.J1)(De),0);qe>$e&&([$e,qe]=[qe,$e]);let It=$e+qe;return It===0?0:($e-qe)/It}const V=5e4;function W(ye,De){ye=(0,r.A)(ye),De=(0,r.A)(De);let $e=Math.max((0,s.J1)(ye),0),qe=Math.max((0,s.J1)(De),0);return qe>$e&&([$e,qe]=[qe,$e]),qe===0?V:($e-qe)/qe}var Z=e(38653),J=e(97412);function ie(ye,De){ye=(0,r.A)(ye),De=(0,r.A)(De);let $e=(0,Z.A)(ye,[J.A,"l"]),qe=(0,Z.A)(De,[J.A,"l"]);return Math.abs($e-qe)}var le=e(4214),he=e(38693),me=e(4386);const je=216/24389,Fe=24/116,Je=24389/27;let Xe=he.FL.D65;const ge=new le.A({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Xe,base:me.A,fromBase(ye){let $e=ye.map((qe,It)=>qe/Xe[It]).map(qe=>qe>je?Math.cbrt(qe):(Je*qe+16)/116);return[116*$e[1]-16,500*($e[0]-$e[1]),200*($e[1]-$e[2])]},toBase(ye){let De=[];return De[1]=(ye[0]+16)/116,De[0]=ye[1]/500+De[1],De[2]=De[1]-ye[2]/200,[De[0]>Fe?Math.pow(De[0],3):(116*De[0]-16)/Je,ye[0]>8?Math.pow((ye[0]+16)/116,3):ye[0]/Je,De[2]>Fe?Math.pow(De[2],3):(116*De[2]-16)/Je].map((qe,It)=>qe*Xe[It])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <percentage>"]}}}),be=Math.pow(5,.5)*.5+.5;function Ie(ye,De){ye=(0,r.A)(ye),De=(0,r.A)(De);let $e=(0,Z.A)(ye,[ge,"l"]),qe=(0,Z.A)(De,[ge,"l"]),It=Math.abs(Math.pow($e,be)-Math.pow(qe,be)),mt=Math.pow(It,1/be)*Math.SQRT2-40;return mt<7.5?0:mt}function Re(ye,De,$e){(0,a.Kg)($e)&&($e={algorithm:$e});let{algorithm:qe,...It}=$e||{};if(!qe){let mt=Object.keys(n).map(kt=>kt.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${mt}`)}ye=(0,r.A)(ye),De=(0,r.A)(De);for(let mt in n)if("contrast"+qe.toLowerCase()===mt.toLowerCase())return n[mt](ye,De,It);throw new TypeError(`Unknown contrast algorithm: ${qe}`)}},72095(f,d,e){"use strict";e.d(d,{A:()=>n});const n={gamut_mapping:"css",precision:5,deltaE:"76",verbose:globalThis?.process?.env?.NODE_ENV?.toLowerCase()!=="test",warn:function(a){this.verbose&&globalThis?.console?.warn?.(a)}}},38653(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(4214),r=e(62098),a=e(88878);function s(i,u){if(i=(0,a.A)(i),u==="alpha")return i.alpha??1;let{space:l,index:m}=n.A.resolveCoord(u,i.space);return(0,r.A)(i,l)[m]}},62098(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(4214),r=e(88878),a=e(52997);function s(i,u){i=(0,r.A)(i);let l=n.A.get(u,u?.space),m=u?.precision,g;return!l||i.space.equals(l)?g=i.coords.slice():g=l.from(i),m===void 0?g:g.map(h=>(0,a.QX)(h,m))}},88878(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(4214),r=e(52997),a=e(45834);function s(i,u){if(Array.isArray(i))return i.map(m=>s(m,u));if(!i)throw new TypeError("Empty color reference");(0,r.Kg)(i)&&(i=(0,a.Ay)(i,u));let l=i.space||i.spaceId;return typeof l=="string"&&(i.space=n.A.get(l)),i.alpha===void 0&&(i.alpha=1),i}},17873(f,d,e){"use strict";e.d(d,{A:()=>a});
742class n{add(i,u,l){if(typeof arguments[0]!="string"){for(var i in arguments[0])this.add(i,arguments[0][i],arguments[1]);return}(Array.isArray(i)?i:[i]).forEach(function(m){this[m]=this[m]||[],u&&this[m][l?"unshift":"push"](u)},this)}run(i,u){this[i]=this[i]||[],this[i].forEach(function(l){l.call(u&&u.context?u.context:u,u)})}}const a=new n},84110(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(4214),r=e(88878);const a=75e-6;function s(i,u,{epsilon:l=a}={}){i=(0,r.A)(i),u||(u=i.space),u=n.A.get(u);let m=i.coords;return u!==i.space&&(m=u.from(i)),u.inGamut(m,{epsilon:l})}},14291(f,d,e){"use strict";e.d(d,{jh:()=>T});var n,r,a=e(4214),s=e(52997),i=e(88878),u=e(23512),l=e(1400),m=e(31108),g=e(38653),h=e(77934),v=e(72095),x=e(90053);function T(k,D,B,$={}){return[k,D]=[(0,i.A)(k),(0,i.A)(D)],(0,s.NW)(B)==="object"&&([B,$]=[.5,B]),_(k,D,$)(B??.5)}function E(k,D,B={}){let $;C(k)&&([$,B]=[k,D],[k,D]=$.rangeArgs.colors);let{maxDeltaE:F,deltaEMethod:V,steps:W=2,maxSteps:Z=1e3,...J}=B;$||([k,D]=[n(k),n(D)],$=_(k,D,J));let ie=r(k,D),le=F>0?Math.max(W,Math.ceil(ie/F)+1):W,he=[];if(Z!==void 0&&(le=Math.min(le,Z)),le===1)he=[{p:.5,color:$(.5)}];else{let me=1/(le-1);he=Array.from({length:le},(je,Fe)=>{let Je=Fe*me;return{p:Je,color:$(Je)}})}if(F>0){let me=he.reduce((je,Fe,Je)=>{if(Je===0)return 0;let Xe=r(Fe.color,he[Je-1].color,V);return Math.max(je,Xe)},0);for(;me>F;){me=0;for(let je=1;je<he.length&&he.length<Z;je++){let Fe=he[je-1],Je=he[je],Xe=(Je.p+Fe.p)/2,ge=$(Xe);me=Math.max(me,r(ge,Fe.color),r(ge,Je.color)),he.splice(je,0,{p:Xe,color:$(Xe)}),je++}}}return he=he.map(me=>me.color),he}function _(k,D,B={}){if(C(k)){let[J,ie]=[k,D];return _(...J.rangeArgs.colors,{...J.rangeArgs.options,...ie})}let{space:$,outputSpace:F,progression:V,premultiplied:W}=B;k=(0,i.A)(k),D=(0,i.A)(D),k=(0,u.A)(k),D=(0,u.A)(D);let Z={colors:[k,D],options:B};if($?$=a.A.get($):$=a.A.registry[v.A.interpolationSpace]||k.space,F=F?a.A.get(F):$,k=(0,l.A)(k,$),D=(0,l.A)(D,$),k=(0,m.A)(k),D=(0,m.A)(D),$.coords.h&&$.coords.h.type==="angle"){let J=B.hue=B.hue||"shorter",ie=[$,"h"],[le,he]=[(0,g.A)(k,ie),(0,g.A)(D,ie)];(0,s.$I)(le)&&!(0,s.$I)(he)?le=he:(0,s.$I)(he)&&!(0,s.$I)(le)&&(he=le),[le,he]=x.A(J,[le,he]),(0,h.A)(k,ie,le),(0,h.A)(D,ie,he)}return W&&(k.coords=k.coords.map(J=>J*k.alpha),D.coords=D.coords.map(J=>J*D.alpha)),Object.assign(J=>{J=V?V(J):J;let ie=k.coords.map((me,je)=>{let Fe=D.coords[je];return(0,s.GW)(me,Fe,J)}),le=(0,s.GW)(k.alpha,D.alpha,J),he={space:$,coords:ie,alpha:le};return W&&(he.coords=he.coords.map(me=>me/le)),F!==$&&(he=(0,l.A)(he,F)),he},{rangeArgs:Z})}function C(k){return(0,s.NW)(k)==="function"&&!!k.rangeArgs}v.A.interpolationSpace="lab";function P(k){k.defineFunction("mix",T,{returns:"color"}),k.defineFunction("range",_,{returns:"function<color>"}),k.defineFunction("steps",E,{returns:"array<color>"})}},21307(f,d,e){"use strict";e.d(d,{J1:()=>i});var n,r,a=e(38653),s=e(4386);function i(m){return(0,a.A)(m,[s.A,"y"])}function u(m,g){n(m,[r,"y"],g)}function l(m){Object.defineProperty(m.prototype,"luminance",{get(){return i(this)},set(g){u(this,g)}})}},39478(f,d,e){"use strict";e.d(d,{R:()=>a});function n(s,i){let u=s.length,l,m,g=!1,h=!1;Array.isArray(s[0])?l=s:(l=[s],u=l.length,g=!0),Array.isArray(i[0])?m=i:(m=i.length>0?i.map(E=>[E]):[[]],h=!0);let v=m[0].length,x=m[0].map((E,_)=>m.map(C=>C[_])),T=l.map(E=>x.map(_=>{let C=0;if(!Array.isArray(E)){for(let P of _)C+=E*P;return C}for(let P=0;P<E.length;P++)C+=E[P]*(_[P]||0);return C}));return u===1&&g&&(T=T[0]),v===1&&h?u===1&&g?T[0]:T.map(E=>E[0]):T}function r(s,i){return s[0]*i[0]+s[1]*i[1]+s[2]*i[2]}function a(s,i,u=[0,0,0]){const l=r(s,i[0]),m=r(s,i[1]),g=r(s,i[2]);return u[0]=l,u[1]=m,u[2]=g,u}},45834(f,d,e){"use strict";e.d(d,{Ay:()=>i});var n=e(52997),r=e(17873),a=e(4214),s=e(72095);function i(h,v){let x={str:String(h)?.trim(),options:v};if(r.A.run("parse-start",x),x.color)return x.color;x.parsed=g(x.str);let T,E=x.options?x.options.parseMeta??x.options.meta:null;if(x.parsed){let _=x.parsed.name,C,P,k=x.parsed.args,D=k.map((F,V)=>x.parsed.argMeta[V]?.type);if(_==="color"){let F=k.shift();D.shift();
742let V=F.startsWith("--")?F.substring(2):`--${F}`,W=[F,V];if(C=a.A.findFormat({name:_,id:W,type:"function"}),!C){let Z,J=F in a.A.registry?F:V;if(J in a.A.registry){let ie=a.A.registry[J].formats?.color?.id;ie&&(Z=`Did you mean ${h.replace("color("+F,"color("+ie)}?`)}throw new TypeError(`Cannot parse ${x.str}. `+(Z??"Missing a plugin?"))}P=C.space,C.id.startsWith("--")&&!F.startsWith("--")&&s.A.warn(`${P.name} is a non-standard space and not currently supported in the CSS spec. Use prefixed color(${C.id}) instead of color(${F}).`),F.startsWith("--")&&!C.id.startsWith("--")&&s.A.warn(`${P.name} is a standard space and supported in the CSS spec. Use color(${C.id}) instead of prefixed color(${F}).`)}else C=a.A.findFormat({name:_,type:"function"}),P=C.space;E&&Object.assign(E,{format:C,formatId:C.name,types:D,commas:x.parsed.commas});let B=1;x.parsed.lastAlpha&&(B=x.parsed.args.pop(),E&&(E.alphaType=D.pop()));let $=C.coords.length;if(k.length!==$)throw new TypeError(`Expected ${$} coordinates for ${P.id} in ${x.str}), got ${k.length}`);k=C.coerceCoords(k,D),T={spaceId:P.id,coords:k,alpha:B}}else e:for(let _ of a.A.all)for(let C in _.formats){let P=_.formats[C];if(P.type!=="custom"||P.test&&!P.test(x.str))continue;let k=_.getFormat(P),D=k.parse(x.str);if(D){E&&Object.assign(E,{format:k,formatId:C}),T=D;break e}}if(!T)throw new TypeError(`Could not parse ${h} as a color. Missing a plugin?`);return T.alpha=(0,n.$I)(T.alpha)?T.alpha:T.alpha===void 0?1:(0,n.qE)(0,T.alpha,1),T}const u={"%":.01,deg:1,grad:.9,rad:180/Math.PI,turn:360},l={function:/^([a-z]+)\(((?:calc\(NaN\)|.)+?)\)$/i,number:/^([-+]?(?:[0-9]*\.)?[0-9]+(e[-+]?[0-9]+)?)$/i,unitValue:RegExp(`(${Object.keys(u).join("|")})$`),singleArgument:/\/?\s*(none|NaN|calc\(NaN\)|[-+\w.]+(?:%|deg|g?rad|turn)?)/g};function m(h){let v={},x=h.match(l.unitValue)?.[0],T=v.raw=h;return x?(v.type=x==="%"?"<percentage>":"<angle>",v.unit=x,v.unitless=Number(T.slice(0,-x.length)),T=v.unitless*u[x]):l.number.test(T)?(T=Number(T),v.type="<number>"):T==="none"?T=null:T==="NaN"||T==="calc(NaN)"?(T=NaN,v.type="<number>"):v.type="<ident>",{value:T,meta:v}}function g(h){if(!h)return;h=h.trim();let v=h.match(l.function);if(v){let x=[],T=[],E=!1,_=v[1].toLowerCase(),C=v[2].replace(l.singleArgument,(P,k)=>{let{value:D,meta:B}=m(k);return(P.startsWith("/")||_!=="color"&&x.length===3)&&(E=!0),x.push(D),T.push(B),""});return{name:_,args:x,argMeta:T,lastAlpha:E,commas:C.includes(","),rawName:v[1],rawArgs:v[2]}}}},27395(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(52997),r=e(4214),a=e(72095),s=e(88878),i=e(1400),u=e(84110),l=e(31108),m=e(23512);function g(h,v={}){let{precision:x=a.A.precision,format:T,inGamut:E=!0,coords:_,alpha:C,commas:P}=v,k,D=(0,s.A)(h),B=T,$=D.parseMeta;$&&!T&&($.format.canSerialize()&&(T=$.format,B=$.formatId),_??=$.types,C??=$.alphaType,P??=$.commas),B&&(T=D.space.getFormat(T)??r.A.findFormat(B)),T||(T=D.space.getFormat("default")??r.A.DEFAULT_FORMAT,B=T.name),T&&T.space&&T.space!==D.space&&(D=(0,i.A)(D,T.space));let F=D.coords.slice();if(E||=T.toGamut,E&&!(0,u.A)(D)&&(F=(0,l.A)((0,m.A)(D),E===!0?void 0:E).coords),T.type==="custom")if(T.serialize)k=T.serialize(F,D.alpha,v);else throw new TypeError(`format ${B} can only be used to parse colors, not for serialization`);else{let V=T.name||"color",W=T.serializeCoords(F,x,_);if(V==="color"){let he=T.id||T.ids?.[0]||D.space.cssId||D.space.id;W.unshift(he)}let Z=D.alpha;C!==void 0&&typeof C!="object"&&(C=typeof C=="string"?{type:C}:{include:C});let J=C?.type??"<number>",ie=C?.include===!0||T.alpha===!0||C?.include!==!1&&T.alpha!==!1&&Z<1,le="";if(P??=T.commas,ie){if(x!==null){let he;J==="<percentage>"&&(he="%",Z*=100),Z=n.g1(Z,{precision:x,unit:he})}le=`${P?",":" /"} ${Z}`}k=`${V}(${W.join(P?", ":" ")}${le})`}return k}},77934(f,d,e){"use strict";e.d(d,{A:()=>l});var n=e(4214),r=e(88878),a=e(38653),s=e(62098);function i(m,g,h,v){return m=(0,r.A)(m),Array.isArray(g)&&([g,h,v]=[m.space,g,h]),g=n.A.get(g),m.coords=g===m.space?h.slice():g.to(m.space,h),v!==void 0&&(m.alpha=v),m}i.returns="color";var u=e(52997);function l(m,g,h){if(m=(0,r.A)(m),arguments.length===2&&(0,u.NW)(arguments[1])==="object"){let v=arguments[1];for(let x in v)l(m,x,v[x])}
742else if(typeof h=="function"&&(h=h((0,a.A)(m,g))),g==="alpha")m.alpha=h;else{let{space:v,index:x}=n.A.resolveCoord(g,m.space),T=(0,s.A)(m,v);T[x]=h,i(m,v,T)}return m}l.returns="color"},92506(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(4214),r=e(69792);const a=new n.A({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:r.A,fromBase:s=>{let i=Math.max(...s),u=Math.min(...s),[l,m,g]=s,[h,v,x]=[null,0,(u+i)/2],T=i-u;if(T!==0){switch(v=x===0||x===1?0:(i-x)/Math.min(x,1-x),i){case l:h=(m-g)/T+(m<g?6:0);break;case m:h=(g-l)/T+2;break;case g:h=(l-m)/T+4}h=h*60}return v<0&&(h+=180,v=Math.abs(v)),h>=360&&(h-=360),[h,v*100,x*100]},toBase:s=>{let[i,u,l]=s;i=i%360,i<0&&(i+=360),u/=100,l/=100;function m(g){let h=(g+i/30)%12,v=u*Math.min(l,1-l);return l-v*Math.max(-1,Math.min(h-3,9-h,1))}return[m(0),m(8),m(4)]},formats:{hsl:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]},hsla:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"],commas:!0,alpha:!0}}})},97412(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(4214),r=e(38693),a=e(4386);const s=new n.A({id:"xyz-d50",name:"XYZ D50",white:"D50",base:a.A,fromBase:h=>(0,r.Ay)(a.A.white,"D50",h),toBase:h=>(0,r.Ay)("D50",a.A.white,h)}),i=216/24389,u=24/116,l=24389/27;let m=r.FL.D50;const g=new n.A({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:m,base:s,fromBase(h){let x=h.map((C,P)=>C/m[P]).map(C=>C>i?Math.cbrt(C):(l*C+16)/116),T=116*x[1]-16,E=500*(x[0]-x[1]),_=200*(x[1]-x[2]);return[T,E,_]},toBase(h){let[v,x,T]=h,E=[];return E[1]=(v+16)/116,E[0]=x/500+E[1],E[2]=E[1]-T/200,[E[0]>u?Math.pow(E[0],3):(116*E[0]-16)/l,h[0]>8?Math.pow((h[0]+16)/116,3):h[0]/l,E[2]>u?Math.pow(E[2],3):(116*E[2]-16)/l].map((C,P)=>C*m[P])},formats:{lab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}})},69792(f,d,e){"use strict";e.d(d,{A:()=>x});var n=e(4214),r=e(39478),a=e(38693),s=e(4386);class i extends n.A{constructor(E){E.coords||(E.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),E.base||(E.base=s.A),E.toXYZ_M&&E.fromXYZ_M&&(E.toBase??=_=>{let C=(0,r.R)(_,E.toXYZ_M);return this.white!==this.base.white&&(C=(0,a.Ay)(this.white,this.base.white,C)),C},E.fromBase??=_=>(_=(0,a.Ay)(this.base.white,this.white,_),(0,r.R)(_,E.fromXYZ_M))),E.referred??="display",super(E)}}const u=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],l=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],m=new i({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:u,fromXYZ_M:l}),g={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]};let h=Array(3).fill("<percentage> | <number>[0, 255]"),v=Array(3).fill("<number>[0, 255]");const x=new i({id:"srgb",name:"sRGB",base:m,fromBase:T=>T.map(E=>
742{let _=E<0?-1:1,C=E*_;return C>.0031308?_*(1.055*C**(1/2.4)-.055):12.92*E}),toBase:T=>T.map(E=>{let _=E<0?-1:1,C=E*_;return C<=.04045?E/12.92:_*((C+.055)/1.055)**2.4}),formats:{rgb:{coords:h},rgb_number:{name:"rgb",commas:!0,coords:v,alpha:!1},color:{},rgba:{coords:h,commas:!0,alpha:!0},rgba_number:{name:"rgba",commas:!0,coords:v},hex:{type:"custom",toGamut:!0,test:T=>/^#(([a-f0-9]{2}){3,4}|[a-f0-9]{3,4})$/i.test(T),parse(T){T.length<=5&&(T=T.replace(/[a-f0-9]/gi,"$&$&"));let E=[];return T.replace(/[a-f0-9]{2}/gi,_=>{E.push(parseInt(_,16)/255)}),{spaceId:"srgb",coords:E.slice(0,3),alpha:E.slice(3)[0]}},serialize:(T,E,{collapse:_=!0,alpha:C}={})=>{(C!==!1&&E<1||C===!0)&&T.push(E),T=T.map(D=>Math.round(D*255));let P=_&&T.every(D=>D%17===0);return"#"+T.map(D=>P?(D/17).toString(16):D.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:T=>/^[a-z]+$/i.test(T),parse(T){T=T.toLowerCase();let E={spaceId:"srgb",coords:null,alpha:1};if(T==="transparent"?(E.coords=g.black,E.alpha=0):E.coords=g[T],E.coords)return E}}}})},4386(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(4214);const r=new n.A({id:"xyz-d65",name:"XYZ D65",coords:{x:{refRange:[0,1],name:"X"},y:{refRange:[0,1],name:"Y"},z:{refRange:[0,1],name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]})},1400(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(88878),r=e(4214),a=e(31108);function s(i,u,{inGamut:l}={}){i=(0,n.A)(i),u=r.A.get(u);let m=u.from(i),g={space:u,coords:m,alpha:i.alpha};return l&&(g=(0,a.A)(g,l===!0?void 0:l)),g}s.returns="color"},31108(f,d,e){"use strict";e.d(d,{A:()=>Yi});var n=e(52997),r=e(4214),a=e(72095),s=e(97412),i=e(90053);const u=new r.A({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:s.A,fromBase(nr){if(this.\u03B5===void 0){let Ti=Object.values(this.base.coords)[1].refRange,Pi=Ti[1]-Ti[0];this.\u03B5=Pi/1e5}let[cr,ln,Yn]=nr,Ln=Math.abs(ln)<this.\u03B5&&Math.abs(Yn)<this.\u03B5,wn=Ln?null:(0,i.h)(Math.atan2(Yn,ln)*180/Math.PI),ti=Ln?0:Math.sqrt(ln**2+Yn**2);return[cr,ti,wn]},toBase(nr){let[cr,ln,Yn]=nr,Ln=null,wn=null;return(0,n.$I)(Yn)||(ln=ln<0?0:ln,Ln=ln*Math.cos(Yn*Math.PI/180),wn=ln*Math.sin(Yn*Math.PI/180)),[cr,Ln,wn]},formats:{lch:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});var l=e(88878);Object.defineProperty(T,"name",{value:"default",configurable:!0});const m=25**7,g=Math.PI,h=180/g,v=g/180;function x(nr){const cr=nr*nr;return cr*cr*cr*nr}function T(nr,cr,{kL:ln=1,kC:Yn=1,kH:Ln=1}={}){[nr,cr]=(0,l.A)([nr,cr]);let[wn,ti,Ti]=s.A.from(nr),Pi=u.from(s.A,[wn,ti,Ti])[1],[Zi,Ui,vi]=s.A.from(cr),Wi=u.from(s.A,[Zi,Ui,vi])[1];Pi<0&&(Pi=0),Wi<0&&(Wi=0);let ks=(Pi+Wi)/2,ss=x(ks),xs=.5*(1-Math.sqrt(ss/(ss+m))),wi=(1+xs)*ti,Ns=(1+xs)*Ui,Cs=Math.sqrt(wi**2+Ti**2),as=Math.sqrt(Ns**2+vi**2),Os=wi===0&&Ti===0?0:Math.atan2(Ti,wi),ce=Ns===0&&vi===0?0:Math.atan2(vi,Ns);Os<0&&(Os+=2*g),ce<0&&(ce+=2*g),Os*=h,ce*=h;let He=Zi-wn,Lt=as-Cs,fr=ce-Os,un=Os+ce,Qn=Math.abs(fr),Xi;Cs*as===0?Xi=0:Qn<=180?Xi=fr:fr>180?Xi=fr-360:fr<-180?Xi=fr+360:a.A.warn("the unthinkable has happened");let qi=2*Math.sqrt(as*Cs)*Math.sin(Xi*v/2),ls=(wn+Zi)/2,ps=(Cs+as)/2,la=x(ps),ca;Cs*as===0?ca=un:Qn<=180?ca=un/2:un<360?ca=(un+360)/2:ca=(un-360)/2;let za=(ls-50)**2,io=1+.015*za/Math.sqrt(20+za),Is=1+.045*ps,yr=1;yr-=.17*Math.cos((ca-30)*v),yr+=.24*Math.cos(2*ca*v),yr+=.32*Math.cos((3*ca+6)*v),yr-=.2*Math.cos((4*ca-63)*v);let Fa=1+.015*ps*yr,on=30*Math.exp(-1*((ca-275)/25)**2),va=2*Math.sqrt(la/(la+m)),pa=-1*Math.sin(2*on*v)*va,aa=(He/(ln*io))**2;return aa+=(Lt/(Yn*Is))**2,aa+=(qi/(Ln*Fa))**2,aa+=pa*(Lt/(Yn*Is))*(qi/(Ln*Fa)),Math.sqrt(aa)}var E=e(39478),_=e(4386);const C=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],P=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],k=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.782771
7427124575296,-.8086757549230774]],D=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],B=new r.A({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"Lightness"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:_.A,fromBase(nr){let cr=(0,E.R)(nr,C);return cr[0]=Math.cbrt(cr[0]),cr[1]=Math.cbrt(cr[1]),cr[2]=Math.cbrt(cr[2]),(0,E.R)(cr,k,cr)},toBase(nr){let cr=(0,E.R)(nr,D);return cr[0]=cr[0]**3,cr[1]=cr[1]**3,cr[2]=cr[2]**3,(0,E.R)(cr,P,cr)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});Object.defineProperty($,"name",{value:"default",configurable:!0});function $(nr,cr){[nr,cr]=(0,l.A)([nr,cr]);let[ln,Yn,Ln]=B.from(nr),[wn,ti,Ti]=B.from(cr),Pi=ln-wn,Zi=Yn-ti,Ui=Ln-Ti;return Math.sqrt(Pi**2+Zi**2+Ui**2)}var F=e(84110),V=e(1400),W=e(38653),Z=e(77934),J=e(23512);function ie(nr,cr,ln="lab"){ln=r.A.get(ln);let Yn=ln.from(nr),Ln=ln.from(cr);return Math.sqrt(Yn.reduce((wn,ti,Ti)=>{let Pi=Ln[Ti];return(0,n.$I)(ti)||(0,n.$I)(Pi)?wn:wn+(Pi-ti)**2},0))}function le(nr,cr){return ie(nr,cr,"lab")}Object.defineProperty(je,"name",{value:"default",configurable:!0});const me=Math.PI/180;function je(nr,cr,{l:ln=2,c:Yn=1}={}){[nr,cr]=(0,l.A)([nr,cr]);let[Ln,wn,ti]=s.A.from(nr),[,Ti,Pi]=u.from(s.A,[Ln,wn,ti]),[Zi,Ui,vi]=s.A.from(cr),Wi=u.from(s.A,[Zi,Ui,vi])[1];Ti<0&&(Ti=0),Wi<0&&(Wi=0);let ks=Ln-Zi,ss=Ti-Wi,xs=wn-Ui,wi=ti-vi,Ns=xs**2+wi**2-ss**2,Cs=.511;Ln>=16&&(Cs=.040975*Ln/(1+.01765*Ln));let as=.0638*Ti/(1+.0131*Ti)+.638,Os;(0,n.$I)(Pi)&&(Pi=0),Pi>=164&&Pi<=345?Os=.56+Math.abs(.2*Math.cos((Pi+168)*me)):Os=.36+Math.abs(.4*Math.cos((Pi+35)*me));let ce=Math.pow(Ti,4),He=Math.sqrt(ce/(ce+1900)),Lt=as*(He*Os+1-He),fr=(ks/(ln*Cs))**2;return fr+=(ss/(Yn*as))**2,fr+=Ns/Lt**2,Math.sqrt(fr)}const Fe=203,Je=new r.A({id:"xyz-abs-d65",cssId:"--xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:_.A,fromBase(nr){return nr.map(cr=>cr*Fe)},toBase(nr){return nr.map(cr=>cr/Fe)}}),Xe=1.15,ge=.66,be=2610/2**14,Ie=2**14/2610,Re=3424/2**12,ye=2413/2**7,De=2392/2**7,$e=1.7*2523/2**5,qe=2**5/(1.7*2523),It=-.56,mt=16295499532821565e-27,kt=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ut=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Ir=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Sr=[[1,.13860504327153927,.05804731615611883],[1,-.1386050432715393,-.058047316156118904],[1,-.09601924202631895,-.811891896056039]],Yr=new r.A({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.21,.21]},bz:{refRange:[-.21,.21]}},base:Je,fromBase(nr){let[cr,ln,Yn]=nr,Ln=Xe*cr-(Xe-1)*Yn,wn=ge*ln-(ge-1)*cr,Ti=(0,E.R)([Ln,wn,Yn],kt).map(function(Wi){let ks=Re+ye*(0,n.kR)(Wi/1e4,be),ss=1+De*(0,n.kR)(Wi/1e4,be);return(0,n.kR)(ks/ss,$e)}),[Pi,Zi,Ui]=(0,E.R)(Ti,Ir);return[(1+It)*Pi/(1+It*Pi)-mt,Zi,Ui]},toBase(nr){let[cr,ln,Yn]=nr,Ln=(cr+mt)/(1+It-It*(cr+mt)),ti=(0,E.R)([Ln,ln,Yn],Sr).map(function(Wi){let ks=Re-(0,n.kR)(Wi,qe),ss=De*(0,n.kR)(Wi,qe)-ye;return 1e4*(0,n.kR)(ks/ss,Ie)}),[Ti,Pi,Zi]=(0,E.R)(ti,Ut),Ui=(Ti+(Xe-1)*Zi)/Xe,vi=(Pi+(ge-1)*Ui)/ge;return[Ui,vi,Zi]},formats:{jzazbz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}}),Gr=new r.A({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,.26],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Yr,fromBase:u.fromBase,toBase:u.toBase,formats:{jzczhz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});Object.defineProperty(dn,"name",{value:"default",configurable:!0});function dn(nr,cr){[nr,cr]=(0,l.A)([nr,cr]);let[ln,Yn,Ln]=Gr.from(nr),[wn,ti,Ti]=Gr.from(cr),Pi=ln-wn,Zi=Yn-ti;(0,n.$I)(Ln)&&(0,n.$I)(Ti)?(Ln=0,Ti=0):(0,n.$I)(Ln)?Ln=Ti:(0,n.$I)(Ti)&&
742(Ti=Ln);let Ui=Ln-Ti,vi=2*Math.sqrt(Yn*ti)*Math.sin(Ui/2*(Math.PI/180));return Math.sqrt(Pi**2+Zi**2+vi**2)}const Kr=3424/4096,yt=2413/128,tt=2392/128,Ar=2610/16384,Mr=2523/32,Er=16384/2610,Ur=32/2523,or=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],An=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],dr=[[.9999999999999998,.0086090370379328,.111029625003026],[.9999999999999998,-.0086090370379328,-.1110296250030259],[.9999999999999998,.5600313357106791,-.3206271749873188]],Xr=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],hn=new r.A({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Je,fromBase(nr){let cr=(0,E.R)(nr,or);return Qt(cr)},toBase(nr){let cr=Br(nr);return(0,E.R)(cr,Xr)},formats:{ictcp:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function Qt(nr){let cr=nr.map(function(ln){let Yn=Kr+yt*(ln/1e4)**Ar,Ln=1+tt*(ln/1e4)**Ar;return(Yn/Ln)**Mr});return(0,E.R)(cr,An)}function Br(nr){return(0,E.R)(nr,dr).map(function(Yn){let Ln=Math.max(Yn**Ur-Kr,0),wn=yt-tt*Yn**Ur;return 1e4*(Ln/wn)**Er})}Object.defineProperty(zt,"name",{value:"default",configurable:!0});function zt(nr,cr){[nr,cr]=(0,l.A)([nr,cr]);let[ln,Yn,Ln]=hn.from(nr),[wn,ti,Ti]=hn.from(cr);return 720*Math.sqrt((ln-wn)**2+.25*(Yn-ti)**2+(Ln-Ti)**2)}Object.defineProperty(Tt,"name",{value:"default",configurable:!0});function Tt(nr,cr){[nr,cr]=(0,l.A)([nr,cr]);let ln=2,[Yn,Ln,wn]=B.from(nr),[ti,Ti,Pi]=B.from(cr),Zi=Yn-ti,Ui=ln*(Ln-Ti),vi=ln*(wn-Pi);return Math.sqrt(Zi**2+Ui**2+vi**2)}var Pr=e(38693);const Y=Pr.FL.D65,ht=.42,ur=1/ht,it=2*Math.PI,Rt=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],Zr=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],nn=[[460,451,288],[460,-891,-261],[460,-220,-6300]],fn={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},Sn={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},Ci=180/Math.PI,$i=Math.PI/180;function qr(nr,cr){return nr.map(Yn=>{const Ln=(0,n.kR)(cr*Math.abs(Yn)*.01,ht);return 400*(0,n.pG)(Ln,Yn)/(Ln+27.13)})}function Bi(nr,cr){const ln=100/cr*27.13**ur;return nr.map(Yn=>{const Ln=Math.abs(Yn);return(0,n.pG)(ln*(0,n.kR)(Ln/(400-Ln),ur),Yn)})}function ms(nr){let cr=(0,i.h)(nr);cr<=Sn.h[0]&&(cr+=360);const ln=(0,n.ah)(Sn.h,cr)-1,[Yn,Ln]=Sn.h.slice(ln,ln+2),[wn,ti]=Sn.e.slice(ln,ln+2),Ti=Sn.H[ln],Pi=(cr-Yn)/wn;return Ti+100*Pi/(Pi+(Ln-cr)/ti)}function hs(nr){let cr=(nr%400+400)%400;const ln=Math.floor(.01*cr);cr=cr%100;const[Yn,Ln]=Sn.h.slice(ln,ln+2),[wn,ti]=Sn.e.slice(ln,ln+2);return(0,i.h)((cr*(ti*Yn-wn*Ln)-100*Yn*ti)/(cr*(ti-wn)-100*ti))}function Mi(nr,cr,ln,Yn,Ln){const wn={};wn.discounting=Ln,wn.refWhite=nr,wn.surround=Yn;const ti=nr.map(wi=>wi*100);wn.la=cr,wn.yb=ln;const Ti=ti[1],Pi=(0,E.R)(ti,Rt);let Zi=fn[wn.surround];const Ui=Zi[0];wn.c=Zi[1],wn.nc=Zi[2];const Wi=(1/(5*wn.la+1))**4;wn.fl=Wi*wn.la+.1*(1-Wi)*(1-Wi)*Math.cbrt(5*wn.la),wn.flRoot=wn.fl**.25,wn.n=wn.yb/Ti,wn.z=1.48+Math.sqrt(wn.n),wn.nbb=.725*wn.n**-.2,wn.ncb=wn.nbb;const ks=Ln?1:Math.max(Math.min(Ui*(1-1/3.6*Math.exp((-wn.la-42)/92)),1),0);wn.dRgb=Pi.map(wi=>(0,n.GW)(1,Ti/wi,ks)),wn.dRgbInv=wn.dRgb.map(wi=>1/wi);const ss=Pi.map((wi,Ns)=>wi*wn.dRgb[Ns]),xs=qr(ss,wn.fl);return wn.aW=wn.nbb*(2*xs[0]+xs[1]+.05*xs[2]),wn}const gi=Mi(Y,64/Math.PI*.2,20,"average",!1);function Hi(nr,cr){if(!(nr.J!==void 0^nr.Q!==void 0))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(nr.C!==void 0^nr.M!==void 0^nr.s!==void 0))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(nr.h!==void 0^nr.H!==void 0))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(nr.J===0||nr.Q===0)return[0,0,0];let ln=0;nr.h!==void 0?ln=(0,i.h)(nr.h)*$i:ln=hs(nr.H)*$i;const Yn=Math.cos(ln),Ln=Math.sin(ln);let wn=0;nr.J!==void 0?wn=(0,n.kR)(nr.J,1/2)*.1:nr.Q!==void 0&&(wn=.25*cr.c*nr.Q/((cr.aW+4)*cr.flRoot));let ti=0;
742nr.C!==void 0?ti=nr.C/wn:nr.M!==void 0?ti=nr.M/cr.flRoot/wn:nr.s!==void 0&&(ti=4e-4*nr.s**2*(cr.aW+4)/cr.c);const Ti=(0,n.kR)(ti*Math.pow(1.64-Math.pow(.29,cr.n),-.73),10/9),Pi=.25*(Math.cos(ln+2)+3.8),Zi=cr.aW*(0,n.kR)(wn,2/cr.c/cr.z),Ui=5e4/13*cr.nc*cr.ncb*Pi,vi=Zi/cr.nbb,Wi=23*(vi+.305)*(0,n.Ed)(Ti,23*Ui+Ti*(11*Yn+108*Ln)),ks=Wi*Yn,ss=Wi*Ln,xs=Bi((0,E.R)([vi,ks,ss],nn).map(wi=>wi*1/1403),cr.fl);return(0,E.R)(xs.map((wi,Ns)=>wi*cr.dRgbInv[Ns]),Zr).map(wi=>wi/100)}function qn(nr,cr){const ln=nr.map(as=>as*100),Yn=qr((0,E.R)(ln,Rt).map((as,Os)=>as*cr.dRgb[Os]),cr.fl),Ln=Yn[0]+(-12*Yn[1]+Yn[2])/11,wn=(Yn[0]+Yn[1]-2*Yn[2])/9,ti=(Math.atan2(wn,Ln)%it+it)%it,Ti=.25*(Math.cos(ti+2)+3.8),Pi=5e4/13*cr.nc*cr.ncb*(0,n.Ed)(Ti*Math.sqrt(Ln**2+wn**2),Yn[0]+Yn[1]+1.05*Yn[2]+.305),Zi=(0,n.kR)(Pi,.9)*Math.pow(1.64-Math.pow(.29,cr.n),.73),Ui=cr.nbb*(2*Yn[0]+Yn[1]+.05*Yn[2]),vi=(0,n.kR)(Ui/cr.aW,.5*cr.c*cr.z),Wi=100*(0,n.kR)(vi,2),ks=4/cr.c*vi*(cr.aW+4)*cr.flRoot,ss=Zi*vi,xs=ss*cr.flRoot,wi=(0,i.h)(ti*Ci),Ns=ms(wi),Cs=50*(0,n.kR)(cr.c*Zi/(cr.aW+4),1/2);return{J:Wi,C:ss,h:wi,s:Cs,Q:ks,M:xs,H:Ns}}const $n=new r.A({id:"cam16-jmh",cssId:"--cam16-jmh",name:"CAM16-JMh",coords:{j:{refRange:[0,100],name:"J"},m:{refRange:[0,105],name:"Colorfulness"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:_.A,fromBase(nr){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);const cr=qn(nr,gi),ln=Math.abs(cr.M)<this.\u03B5;return[cr.J,ln?0:cr.M,ln?null:cr.h]},toBase(nr){return Hi({J:nr[0],M:nr[1],h:nr[2]},gi)}}),$s=Pr.FL.D65,ys=216/24389,Es=24389/27;function oe(nr){return 116*(nr>ys?Math.cbrt(nr):(Es*nr+16)/116)-16}function xe(nr){return nr>8?Math.pow((nr+16)/116,3):nr/Es}function Ge(nr,cr){let[ln,Yn,Ln]=nr,wn=[],ti=0;if(Ln===0)return[0,0,0];let Ti=xe(Ln);Ln>0?ti=.00379058511492914*Ln**2+.608983189401032*Ln+.9155088574762233:ti=9514440756550361e-21*Ln**2+.08693057439788597*Ln-21.928975842194614;const Pi=2e-12,Zi=15;let Ui=0,vi=1/0,Wi=ti;for(;Ui<=Zi;){wn=Hi({J:ti,C:Yn,h:ln},cr);const ks=Math.abs(wn[1]-Ti);if(ks<vi){if(ks<=Pi)return wn;Wi=ti,vi=ks}ti=ti-(wn[1]-Ti)*ti/(2*wn[1]),Ui+=1}return Hi({J:ti,C:Yn,h:ln},cr)}function bt(nr,cr){const ln=oe(nr[1]);if(ln===0)return[0,0,0];const Yn=qn(nr,Et);return[(0,i.h)(Yn.h),Yn.C,ln]}const Et=Mi($s,200/Math.PI*xe(50),xe(50)*100,"average",!1),Tr=new r.A({id:"hct",name:"HCT",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},c:{refRange:[0,145],name:"Colorfulness"},t:{refRange:[0,100],name:"Tone"}},base:_.A,fromBase(nr){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);let cr=bt(nr,Et);return cr[1]<this.\u03B5&&(cr[1]=0,cr[0]=null),cr},toBase(nr){return Ge(nr,Et)},formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}});Object.defineProperty(yn,"name",{value:"default",configurable:!0});const vn=180/Math.PI,Gt=Math.PI/180,ei=[1,.007,.0228];function si(nr){nr[1]<0&&(nr=Tr.fromBase(Tr.toBase(nr)));const cr=Math.log(Math.max(1+ei[2]*nr[1]*Et.flRoot,1))/ei[2],ln=nr[0]*Gt,Yn=cr*Math.cos(ln),Ln=cr*Math.sin(ln);return[nr[2],Yn,Ln]}function yn(nr,cr){[nr,cr]=(0,l.A)([nr,cr]);let[ln,Yn,Ln]=si(Tr.from(nr)),[wn,ti,Ti]=si(Tr.from(cr));return Math.sqrt((ln-wn)**2+(Yn-ti)**2+(Ln-Ti)**2)}const rs={deltaE76:le,deltaECMC:je,deltaE2000:T,deltaEJz:dn,deltaEITP:zt,deltaEOK:$,deltaEOK2:Tt,deltaEHCT:yn};function xn(nr){const cr=nr?Math.floor(Math.log10(Math.abs(nr))):0;return Math.max(parseFloat(`1e${cr-2}`),1e-6)}const Ms={hct:{method:"hct.c",jnd:2,deltaEMethod:"hct",blackWhiteClamp:{}},"hct-tonal":{method:"hct.c",jnd:0,deltaEMethod:"hct",blackWhiteClamp:{channel:"hct.t",min:0,max:100}}};function Yi(nr,{method:cr=a.A.gamut_mapping,space:ln=void 0,deltaEMethod:Yn="",jnd:Ln=2,blackWhiteClamp:wn=void 0}={}){if(nr=(0,l.A)(nr),n.Kg(arguments[1])?ln=arguments[1]:ln||(ln=nr.space),ln=r.A.get(ln),(0,F.A)(nr,ln,{epsilon:0}))return nr;let ti;if(cr==="css")ti=us(nr,{space:ln});else{if(cr!=="clip"&&!(0,F.A)(nr,ln)){Object.prototype.hasOwnProperty.call(Ms,cr)&&({method:cr,jnd:Ln,deltaEMethod:Yn,blackWhiteClamp:wn}=Ms[cr]);let Ti=T;if(Yn!==""){for(let Zi in rs)if("deltae"+Yn.toLowerCase()===Zi.toLowerCase()){Ti=rs[Zi];break}}Ln===0&&(Ln=1e-16);let Pi=Yi((0,V.A)(nr,ln),{method:"clip",space:ln});if(Ti(nr,Pi)>
742Ln){if(wn&&Object.keys(wn).length===3){let Cs=r.A.resolveCoord(wn.channel),as=(0,W.A)((0,V.A)(nr,Cs.space),Cs.id);if(n.$I(as)&&(as=0),as>=wn.max)return(0,V.A)({space:"xyz-d65",coords:Pr.FL.D65},nr.space);if(as<=wn.min)return(0,V.A)({space:"xyz-d65",coords:[0,0,0]},nr.space)}let Zi=r.A.resolveCoord(cr),Ui=Zi.space,vi=Zi.id,Wi=(0,V.A)(nr,Ui);Wi.coords.forEach((Cs,as)=>{n.$I(Cs)&&(Wi.coords[as]=0)});let ss=(Zi.range||Zi.refRange)[0],xs=xn(Ln),wi=ss,Ns=(0,W.A)(Wi,vi);for(;Ns-wi>xs;){let Cs=(0,J.A)(Wi);Cs=Yi(Cs,{space:ln,method:"clip"}),Ti(Wi,Cs)-Ln<xs?wi=(0,W.A)(Wi,vi):Ns=(0,W.A)(Wi,vi),(0,Z.A)(Wi,vi,(wi+Ns)/2)}ti=(0,V.A)(Wi,ln)}else ti=Pi}else ti=(0,V.A)(nr,ln);if(cr==="clip"||!(0,F.A)(ti,ln,{epsilon:0})){let Ti=Object.values(ln.coords).map(Pi=>Pi.range||[]);ti.coords=ti.coords.map((Pi,Zi)=>{let[Ui,vi]=Ti[Zi];return Ui!==void 0&&(Pi=Math.max(Ui,Pi)),vi!==void 0&&(Pi=Math.min(Pi,vi)),Pi})}}return ln!==nr.space&&(ti=(0,V.A)(ti,nr.space)),nr.coords=ti.coords,nr}Yi.returns="color";const Gs={WHITE:{space:B,coords:[1,0,0],alpha:1},BLACK:{space:B,coords:[0,0,0],alpha:1}};function us(nr,{space:cr}={}){nr=(0,l.A)(nr),cr||(cr=nr.space),cr=r.A.get(cr);const Ln=r.A.get("oklch");if(cr.isUnbounded)return(0,V.A)(nr,cr);const wn=(0,V.A)(nr,Ln);let ti=wn.coords[0];if(ti>=1){const ss=(0,V.A)(Gs.WHITE,cr);return ss.alpha=nr.alpha,(0,V.A)(ss,cr)}if(ti<=0){const ss=(0,V.A)(Gs.BLACK,cr);return ss.alpha=nr.alpha,(0,V.A)(ss,cr)}if((0,F.A)(wn,cr,{epsilon:0}))return(0,V.A)(wn,cr);function Ti(ss){const xs=(0,V.A)(ss,cr),wi=Object.values(cr.coords);return xs.coords=xs.coords.map((Ns,Cs)=>
742{if("range"in wi[Cs]){const[as,Os]=wi[Cs].range;return n.qE(as,Ns,Os)}return Ns}),xs}let Pi=0,Zi=wn.coords[1],Ui=!0,vi=(0,J.A)(wn),Wi=Ti(vi),ks=$(Wi,vi);if(ks<.02)return Wi;for(;Zi-Pi>1e-4;){const ss=(Pi+Zi)/2;if(vi.coords[1]=ss,Ui&&(0,F.A)(vi,cr,{epsilon:0}))Pi=ss;else if(Wi=Ti(vi),ks=$(Wi,vi),ks<.02){if(.02-ks<1e-4)break;Ui=!1,Pi=ss}else Zi=ss}return Wi}},52997(f,d,e){"use strict";e.d(d,{$I:()=>s,Ed:()=>T,GW:()=>l,Kg:()=>n,NW:()=>r,QX:()=>u,Qs:()=>_,_b:()=>g,ah:()=>E,g1:()=>a,kR:()=>x,pG:()=>v,qE:()=>h});function n(C){return r(C)==="string"}function r(C){return(Object.prototype.toString.call(C).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function a(C,{precision:P=16,unit:k}){return s(C)?"none":(C=+u(C,P),C+(k??""))}function s(C){return C===null}function i(C){return s(C)?0:C}function u(C,P){if(C===0)return 0;let k=~~C,D=0;k&&P&&(D=~~Math.log10(Math.abs(k))+1);const B=10**(P-D);return Math.floor(C*B+.5)/B}function l(C,P,k){return isNaN(C)?P:isNaN(P)?C:C+(P-C)*k}function m(C,P,k){return(k-C)/(P-C)}function g(C,P,k){return!C||!P||C===P||C[0]===P[0]&&C[1]===P[1]||isNaN(k)||k===null?k:l(P[0],P[1],m(C[0],C[1],k))}function h(C,P,k){return Math.max(Math.min(k,P),C)}function v(C,P){return Math.sign(C)===Math.sign(P)?C:-C}function x(C,P){return v(Math.abs(C)**P,C)}function T(C,P){return P===0?0:C/P}function E(C,P,k=0,D=C.length){for(;k<D;){const B=k+D>>1;C[B]<P?k=B+1:D=B}return k}function _(C,P){if(C instanceof P)return!0;const k=P.name;for(;C;){const D=Object.getPrototypeOf(C),B=D?.constructor?.name;if(B===k)return!0;if(!B||B==="Object")return!1;C=D}return!1}},42001(f,d,e){"use strict";e.d(d,{Kq:()=>Bi,Ng:()=>Ci,bN:()=>Kr,d4:()=>ys,wA:()=>qn});var n=e(80588),r=e(75234),a=n.version.startsWith("19"),s=Symbol.for(a?"react.transitional.element":"react.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),h=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),C=null,P=null,k=v,D=E;function B(oe){return typeof oe=="string"||typeof oe=="function"||oe===u||oe===m||oe===l||oe===x||oe===T||oe===C||typeof oe=="object"&&oe!==null&&(oe.$$typeof===_||oe.$$typeof===E||oe.$$typeof===h||oe.$$typeof===g||oe.$$typeof===v||oe.$$typeof===P||oe.getModuleId!==void 0)}function $(oe){if(typeof oe=="object"&&oe!==null){const{$$typeof:xe}=oe;switch(xe){case s:switch(oe=oe.type,oe){case u:case m:case l:case x:case T:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case h:case v:case _:case E:return oe;case g:return oe;default:return xe}}case i:return xe}}}function F(oe){return a?$(oe)===g:$(oe)===h}function V(oe){return $(oe)===E}function W(oe){typeof console<"u"&&typeof console.error=="function"&&console.error(oe);try{throw new Error(oe)}catch{}}function Z(oe,xe){if(oe)(xe==="mapStateToProps"||xe==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(oe,"dependsOnOwnProps")||W(`The selector for ${xe} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${xe} in connect.`)}function J(oe,xe,Ge){Z(oe,"mapStateToProps"),Z(xe,"mapDispatchToProps"),Z(Ge,"mergeProps")}function ie(oe,xe,Ge,bt,{areStatesEqual:Et,areOwnPropsEqual:Tr,areStatePropsEqual:vn}){let Gt=!1,ei,si,yn,rs,xn;function Ms(cr,ln){return ei=cr,si=ln,yn=oe(ei,si),rs=xe(bt,si),xn=Ge(yn,rs,si),Gt=!0,xn}function Yi(){return yn=oe(ei,si),xe.dependsOnOwnProps&&(rs=xe(bt,si)),xn=Ge(yn,rs,si),xn}function Gs(){return oe.dependsOnOwnProps&&(yn=oe(ei,si)),xe.dependsOnOwnProps&&(rs=xe(bt,si)),xn=Ge(yn,rs,si),xn}function us(){const cr=oe(ei,si),ln=!vn(cr,yn);return yn=cr,ln&&(xn=Ge(yn,rs,si)),xn}function nr(cr,ln){const Yn=!Tr(ln,si),Ln=!Et(cr,ei,ln,si);return ei=cr,si=ln,Yn&&Ln?Yi():Yn?Gs():Ln?us():xn}return function(ln,Yn){return Gt?nr(ln,Yn):Ms(ln,Yn)}}function le(oe,{initMapStateToProps:xe,initMapDispatchToProps:Ge,initMergeProps:bt,...Et}){const Tr=xe(oe,Et),vn=Ge(oe,Et),Gt=bt(oe,Et);return ie(Tr,vn,Gt,oe,Et)}
vendor: 5,012 bytes, line 742
742function he(oe,xe){const Ge={};for(const bt in oe){const Et=oe[bt];typeof Et=="function"&&(Ge[bt]=(...Tr)=>xe(Et(...Tr)))}return Ge}function me(oe){if(typeof oe!="object"||oe===null)return!1;const xe=Object.getPrototypeOf(oe);if(xe===null)return!0;let Ge=xe;for(;Object.getPrototypeOf(Ge)!==null;)Ge=Object.getPrototypeOf(Ge);return xe===Ge}function je(oe,xe,Ge){me(oe)||W(`${Ge}() in ${xe} must return a plain object. Instead received ${oe}.`)}function Fe(oe){return function(Ge){const bt=oe(Ge);function Et(){return bt}return Et.dependsOnOwnProps=!1,Et}}function Je(oe){return oe.dependsOnOwnProps?!!oe.dependsOnOwnProps:oe.length!==1}function Xe(oe,xe){return function(bt,{displayName:Et}){const Tr=function(Gt,ei){return Tr.dependsOnOwnProps?Tr.mapToProps(Gt,ei):Tr.mapToProps(Gt,void 0)};return Tr.dependsOnOwnProps=!0,Tr.mapToProps=function(Gt,ei){Tr.mapToProps=oe,Tr.dependsOnOwnProps=Je(oe);let si=Tr(Gt,ei);return typeof si=="function"&&(Tr.mapToProps=si,Tr.dependsOnOwnProps=Je(si),si=Tr(Gt,ei)),si},Tr}}function ge(oe,xe){return(Ge,bt)=>{throw new Error(`Invalid value of type ${typeof oe} for ${xe} argument when connecting component ${bt.wrappedComponentName}.`)}}function be(oe){return oe&&typeof oe=="object"?Fe(xe=>he(oe,xe)):oe?typeof oe=="function"?Xe(oe,"mapDispatchToProps"):ge(oe,"mapDispatchToProps"):Fe(xe=>({dispatch:xe}))}function Ie(oe){return oe?typeof oe=="function"?Xe(oe,"mapStateToProps"):ge(oe,"mapStateToProps"):Fe(()=>({}))}function Re(oe,xe,Ge){return{...Ge,...oe,...xe}}function ye(oe){return function(Ge,{displayName:bt,areMergedPropsEqual:Et}){let Tr=!1,vn;return function(ei,si,yn){const rs=oe(ei,si,yn);return Tr?Et(rs,vn)||(vn=rs):(Tr=!0,vn=rs),vn}}}function De(oe){return oe?typeof oe=="function"?ye(oe):ge(oe,"mergeProps"):()=>Re}function $e(oe){oe()}function qe(){let oe=null,xe=null;return{clear(){oe=null,xe=null},notify(){$e(()=>{let Ge=oe;for(;Ge;)Ge.callback(),Ge=Ge.next})},get(){const Ge=[];let bt=oe;for(;bt;)Ge.push(bt),bt=bt.next;return Ge},subscribe(Ge){let bt=!0;const Et=xe={callback:Ge,next:null,prev:xe};return Et.prev?Et.prev.next=Et:oe=Et,function(){!bt||oe===null||(bt=!1,Et.next?Et.next.prev=Et.prev:xe=Et.prev,Et.prev?Et.prev.next=Et.next:oe=Et.next)}}}}var It={notify(){},get:()=>[]};function mt(oe,xe){let Ge,bt=It,Et=0,Tr=!1;function vn(Gs){yn();const us=bt.subscribe(Gs);let nr=!1;return()=>{nr||(nr=!0,us(),rs())}}function Gt(){bt.notify()}function ei(){Yi.onStateChange&&Yi.onStateChange()}function si(){return Tr}function yn(){Et++,Ge||(Ge=xe?xe.addNestedSub(ei):oe.subscribe(ei),bt=qe())}function rs(){Et--,Ge&&Et===0&&(Ge(),Ge=void 0,bt.clear(),bt=It)}function xn(){Tr||(Tr=!0,yn())}function Ms(){Tr&&(Tr=!1,rs())}const Yi={addNestedSub:vn,notifyNestedSubs:Gt,handleChangeWrapper:ei,isSubscribed:si,trySubscribe:xn,tryUnsubscribe:Ms,getListeners:()=>bt};return Yi}var kt=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ut=kt(),Ir=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Sr=Ir(),Yr=()=>Ut||Sr?n.useLayoutEffect:n.useEffect,Gr=Yr();function dn(oe,xe){return oe===xe?oe!==0||xe!==0||1/oe===1/xe:oe!==oe&&xe!==xe}function Kr(oe,xe){if(dn(oe,xe))return!0;if(typeof oe!="object"||oe===null||typeof xe!="object"||xe===null)return!1;const Ge=Object.keys(oe),bt=Object.keys(xe);if(Ge.length!==bt.length)return!1;for(let Et=0;Et<Ge.length;Et++)if(!Object.prototype.hasOwnProperty.call(xe,Ge[Et])||!dn(oe[Ge[Et]],xe[Ge[Et]]))return!1;return!0}var yt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ar={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Er={[k]:Ar,[D]:Mr};function Ur(oe){return V(oe)?Mr:Er[oe.$$typeof]||yt}var or=Object.defineProperty,An=Object.getOwnPropertyNames,dr=Object.getOwnPropertySymbols,Xr=Object.getOwnPropertyDescriptor,hn=Object.getPrototypeOf,Qt=Object.prototype;function Br(oe,xe){if(typeof xe!="string"){if(Qt){const Tr=hn(xe);Tr&&Tr!==Qt&&Br(oe,Tr)}let Ge=An(xe);dr&&(Ge=Ge.concat(dr(xe)));const bt=Ur(oe),Et=Ur(xe);for(let Tr=0;Tr<Ge.length;++Tr){const vn=Ge[Tr];if(!tt[vn]&&!(Et&&Et[vn])&&!(bt&&bt[vn])){const Gt=Xr(xe,vn);try{or(oe,vn,Gt)}catch{}}}}return oe}var zt=Symbol.for("react-redux-context"),Tt=typeof globalThis<"u"?globalThis:{};function Pr(){if(!n.createContext)return{};const oe=Tt[zt]??=new Map;let xe=oe.get(n.createContext);return xe||(xe=n.createContext(null),oe.set(n.createContext,xe)),xe}var Y=Pr(),ht=[null,null],ur=oe=>{try{return JSON.stringify(oe)}catch{return String(oe)}};function it(oe,xe,Ge){Gr(()=>oe(...xe),Ge)}function Rt(oe,xe,Ge,bt,Et,Tr){oe.current=bt,Ge.current=!1,Et.current&&(Et.current=null,Tr())}function Zr(oe,xe,Ge,bt,Et,Tr,vn,Gt,ei,si,yn){if(!oe)return()=>{};let rs=!1,xn=null;const Ms=()=>
742{if(rs||!Gt.current)return;const Gs=xe.getState();let us,nr;try{us=bt(Gs,Et.current)}catch(cr){nr=cr,xn=cr}nr||(xn=null),us===Tr.current?vn.current||si():(Tr.current=us,ei.current=us,vn.current=!0,yn())};return Ge.onStateChange=Ms,Ge.trySubscribe(),Ms(),()=>{if(rs=!0,Ge.tryUnsubscribe(),Ge.onStateChange=null,xn)throw xn}}function nn(oe,xe){return oe===xe}var fn=!1;function Sn(oe,xe,Ge,{pure:bt,areStatesEqual:Et=nn,areOwnPropsEqual:Tr=Kr,areStatePropsEqual:vn=Kr,areMergedPropsEqual:Gt=Kr,forwardRef:ei=!1,context:si=Y}={}){const yn=si,rs=Ie(oe),xn=be(xe),Ms=De(Ge),Yi=!!oe;return us=>{const nr=us.displayName||us.name||"Component",cr=`Connect(${nr})`,ln={shouldHandleStateChanges:Yi,displayName:cr,wrappedComponentName:nr,WrappedComponent:us,initMapStateToProps:rs,initMapDispatchToProps:xn,initMergeProps:Ms,areStatesEqual:Et,areStatePropsEqual:vn,areOwnPropsEqual:Tr,areMergedPropsEqual:Gt};function Yn(ti){const[Ti,Pi,Zi]=n.useMemo(()=>{const{reactReduxForwardedRef:la,...ca}=ti;return[ti.context,la,ca]},[ti]),Ui=n.useMemo(()=>{let la=yn;return Ti?.Consumer,la},[Ti,yn]),vi=n.useContext(Ui),Wi=!!ti.store&&!!ti.store.getState&&!!ti.store.dispatch,ks=!!vi&&!!vi.store,ss=Wi?ti.store:vi.store,xs=ks?vi.getServerState:ss.getState,wi=n.useMemo(()=>le(ss.dispatch,ln),[ss]),[Ns,Cs]=n.useMemo(()=>{if(!Yi)return ht;const la=mt(ss,Wi?void 0:vi.subscription),ca=la.notifyNestedSubs.bind(la);return[la,ca]},[ss,Wi,vi]),as=n.useMemo(()=>Wi?vi:{...vi,subscription:Ns},[Wi,vi,Ns]),Os=n.useRef(void 0),ce=n.useRef(Zi),He=n.useRef(void 0),Lt=n.useRef(!1),fr=n.useRef(!1),un=n.useRef(void 0);Gr(()=>(fr.current=!0,()=>{fr.current=!1}),[]);const Qn=n.useMemo(()=>()=>He.current&&Zi===ce.current?He.current:wi(ss.getState(),Zi),[ss,Zi]),Xi=n.useMemo(()=>ca=>Ns?Zr(Yi,ss,Ns,wi,ce,Os,Lt,fr,He,Cs,ca):()=>{},[Ns]);it(Rt,[ce,Os,Lt,Zi,He,Cs]);let qi;try{qi=n.useSyncExternalStore(Xi,Qn,xs?()=>wi(xs(),Zi):Qn)}catch(la){throw un.current&&(la.message+=` 743The error may be correlated with this previous error: 744${un.current.stack} 745 746`),la}Gr(()=>{un.current=void 0,He.current=void 0,Os.current=qi});const ls=n.useMemo(()=>n.createElement(us,{...qi,ref:Pi}),[Pi,us,qi]);return n.useMemo(()=>Yi?n.createElement(Ui.Provider,{value:as},ls):ls,[Ui,ls,as])}const wn=n.memo(Yn);if(wn.WrappedComponent=us,wn.displayName=Yn.displayName=cr,ei){const Ti=n.forwardRef(function(Zi,Ui){return n.createElement(wn,{...Zi,reactReduxForwardedRef:Ui})});return Ti.displayName=cr,Ti.WrappedComponent=us,Br(Ti,us)}return Br(wn,us)}}var Ci=Sn,$i=null;function qr(oe){const{children:xe,context:Ge,serverState:bt,store:Et}=oe,Tr=n.useMemo(()=>{const ei=mt(Et);return{store:Et,subscription:ei,getServerState:bt?()=>bt:void 0}},[Et,bt]),vn=n.useMemo(()=>Et.getState(),[Et]);Gr(()=>{const{subscription:ei}=Tr;return ei.onStateChange=ei.notifyNestedSubs,ei.trySubscribe(),vn!==Et.getState()&&ei.notifyNestedSubs(),()=>{ei.tryUnsubscribe(),ei.onStateChange=void 0}},[Tr,vn]);const Gt=Ge||Y;return n.createElement(Gt.Provider,{value:Tr},xe)}var Bi=qr;function ms(oe=Y){return function(){return n.useContext(oe)}}var hs=ms();function Mi(oe=Y){const xe=oe===Y?hs:ms(oe),Ge=()=>{const{store:bt}=xe();return bt};return Object.assign(Ge,{withTypes:()=>Ge}),Ge}var gi=Mi();function Hi(oe=Y){const xe=oe===Y?gi:Mi(oe),Ge=()=>xe().dispatch;return Object.assign(Ge,{withTypes:()=>Ge}),Ge}var qn=Hi(),$n=(oe,xe)=>oe===xe;function $s(oe=Y){const xe=oe===Y?hs:ms(oe),Ge=(bt,Et={})=>{const{equalityFn:Tr=$n}=typeof Et=="function"?{equalityFn:Et}:Et,vn=xe(),{store:Gt,subscription:ei,getServerState:si}=vn,yn=n.useRef(!0),rs=n.useCallback({[bt.name](Ms){return bt(Ms)}}[bt.name],[bt]),xn=(0,r.useSyncExternalStoreWithSelector)(ei.addNestedSub,Gt.getState,si||Gt.getState,rs,Tr);return n.useDebugValue(xn),xn};return Object.assign(Ge,{withTypes:()=>Ge}),Ge}var ys=$s(),Es=null},5939(f,d,e){"use strict";var n;e.d(d,{BV:()=>Lo,C5:()=>$o,I9:()=>Po,N_:()=>gu,RQ:()=>ka,Rr:()=>me,Zp:()=>ee,g:()=>ft,k2:()=>Ed,ok:()=>po,qh:()=>qa,zy:()=>ns});var r,a,s,i,u,l,m,g,h,v,x=e(80588);/** 747 * react-router v7.15.1 748 * 749 * Copyright (c) Remix Software Inc. 750 * 751 * This source code is licensed under the MIT license found in the 752 * LICENSE.md file in the root directory of this source tree. 753 * 754 * @license MIT 755 */var T=A=>{throw TypeError(A)},E=(A,N,K)=>N.has(A)||T("Cannot "+K),_=(A,N,K)=>(E(A,N,"read from private field"),K?K.call(A):N.get(A)),C=(A,N,K)=>N.has(A)?T("Cannot add the same private member more than once"):N instanceof WeakSet?N.add(A):N.set(A,K),P=(A,N,K,te)=>(E(A,N,"write to private field"),te?te.call(A,K):N.set(A,K),K),k=(A=>(A.Pop="POP",A.Push="PUSH",A.Replace="REPLACE",A))(k||{}),D="popstate";function B(A){return typeof A=="object"&&A!=null&&"pathname"in A&&"search"in A&&"hash"in A&&"state"in A&&"key"in A}function $(A={}){let{initialEntries:N=["/"],initialIndex:K,v5Compat:te=!1}=A,de;de=N.map((vr,Qr)=>At(vr,typeof vr=="string"?null:vr.state,Qr===0?"default":void 0,typeof vr=="string"?void 0:vr.mask));let fe=Qe(K??de.length-1),Se="POP",Pe=null;function Qe(vr){return Math.min(Math.max(vr,0),de.length-1)}function ut(){return de[fe]}function At(vr,Qr=null,jt,Vt){let zr=le(de?ut().pathname:"/",vr,Qr,jt,Vt);return Z(zr.pathname.charAt(0)==="/",`relative pathnames are not supported in memory history: ${JSON.stringify(vr)}`),zr}function Pt(vr){return typeof vr=="string"?vr:he(vr)}return{get index(){return fe},get action(){return Se},get location(){return ut()},createHref:Pt,createURL(vr){return new URL(Pt(vr),"http://localhost")},encodeLocation(vr){let Qr=typeof vr=="string"?me(vr):vr;return{pathname:Qr.pathname||"",search:Qr.search||"",hash:Qr.hash||""}},push(vr,Qr){Se="PUSH";let jt=B(vr)?vr:At(vr,Qr);fe+=1,de.splice(fe,de.length,jt),te&&Pe&&Pe({action:Se,location:jt,delta:1})},replace(vr,Qr){Se="REPLACE";let jt=B(vr)?vr:At(vr,Qr);de[fe]=jt,te&&Pe&&Pe({action:Se,location:jt,delta:0})},go(vr){Se="POP";let Qr=Qe(fe+vr),jt=de[Qr];fe=Qr,Pe&&Pe({action:Se,location:jt,delta:vr})},listen(vr){return Pe=vr,()=>{Pe=null}}}}function F(A={}){function N(te,de){let fe=de.state?.masked,{pathname:Se,search:Pe,hash:Qe}=fe||te.location;return le("",{pathname:Se,search:Pe,hash:Qe},de.state&&de.state.usr||null,de.state&&de.state.key||"default",fe?{pathname:te.location.pathname,search:te.location.search,hash:te.location.hash}:void 0)}function K(te,de){return typeof de=="string"?de:he(de)}return je(N,K,null,A)}function V(A={}){function N(de,fe){let{pathname:Se="/",search:Pe="",hash:Qe=""}=me(de.location.hash.substring(1));return!Se.startsWith("/")&&!Se.startsWith(".")&&(Se="/"+Se),le("",{pathname:Se,search:Pe,hash:Qe},fe.state&&fe.state.usr||null,fe.state&&fe.state.key||"default")}function K(de,fe){let Se=de.document.querySelector("base"),Pe="";if(Se&&Se.getAttribute("href")){let Qe=de.location.href,ut=Qe.indexOf("#");Pe=ut===-1?Qe:Qe.slice(0,ut)}return Pe+"#"+(typeof fe=="string"?fe:he(fe))}function te(de,fe){Z(de.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(fe)})`)}return je(N,K,te,A)}function W(A,N){if(A===!1||A===null||typeof A>"u")throw new Error(N)}function Z(A,N){if(!A){typeof console<"u"&&console.warn(N);try{throw new Error(N)}catch{}}}function J(){return Math.random().toString(36).substring(2,10)}function ie(A,N){return{usr:A.state,key:A.key,idx:N,masked:A.mask?{pathname:A.pathname,search:A.search,hash:A.hash}:void 0}}function le(A,N,K=null,te,de){return{pathname:typeof A=="string"?A:A.pathname,search:"",hash:"",...typeof N=="string"?me(N):N,state:K,key:N&&N.key||te||J(),mask:de}}
755function he({pathname:A="/",search:N="",hash:K=""}){return N&&N!=="?"&&(A+=N.charAt(0)==="?"?N:"?"+N),K&&K!=="#"&&(A+=K.charAt(0)==="#"?K:"#"+K),A}function me(A){let N={};if(A){let K=A.indexOf("#");K>=0&&(N.hash=A.substring(K),A=A.substring(0,K));let te=A.indexOf("?");te>=0&&(N.search=A.substring(te),A=A.substring(0,te)),A&&(N.pathname=A)}return N}function je(A,N,K,te={}){let{window:de=document.defaultView,v5Compat:fe=!1}=te,Se=de.history,Pe="POP",Qe=null,ut=At();ut==null&&(ut=0,Se.replaceState({...Se.state,idx:ut},""));function At(){return(Se.state||{idx:null}).idx}function Pt(){Pe="POP";let Vt=At(),zr=Vt==null?null:Vt-ut;ut=Vt,Qe&&Qe({action:Pe,location:jt.location,delta:zr})}function Fr(Vt,zr){Pe="PUSH";let _r=B(Vt)?Vt:le(jt.location,Vt,zr);K&&K(_r,Vt),ut=At()+1;let Xn=ie(_r,ut),ni=jt.createHref(_r.mask||_r);try{Se.pushState(Xn,"",ni)}catch(zn){if(zn instanceof DOMException&&zn.name==="DataCloneError")throw zn;de.location.assign(ni)}fe&&Qe&&Qe({action:Pe,location:jt.location,delta:1})}function vr(Vt,zr){Pe="REPLACE";let _r=B(Vt)?Vt:le(jt.location,Vt,zr);K&&K(_r,Vt),ut=At();let Xn=ie(_r,ut),ni=jt.createHref(_r.mask||_r);Se.replaceState(Xn,"",ni),fe&&Qe&&Qe({action:Pe,location:jt.location,delta:0})}function Qr(Vt){return Fe(Vt)}let jt={get action(){return Pe},get location(){return A(de,Se)},listen(Vt){if(Qe)throw new Error("A history only accepts one active listener");return de.addEventListener(D,Pt),Qe=Vt,()=>{de.removeEventListener(D,Pt),Qe=null}},createHref(Vt){return N(de,Vt)},createURL:Qr,encodeLocation(Vt){let zr=Qr(Vt);return{pathname:zr.pathname,search:zr.search,hash:zr.hash}},push:Fr,replace:vr,go(Vt){return Se.go(Vt)}};return jt}function Fe(A,N=!1){let K="http://localhost";
755typeof window<"u"&&(K=window.location.origin!=="null"?window.location.origin:window.location.href),W(K,"No window.location.(origin|href) available to create URL");let te=typeof A=="string"?A:he(A);return te=te.replace(/ $/,"%20"),!N&&te.startsWith("//")&&(te=K+te),new URL(te,K)}function Je(A){return{defaultValue:A}}var Xe,ge=class{constructor(A){if(C(this,Xe,new Map),A)for(let[N,K]of A)this.set(N,K)}get(A){if(_(this,Xe).has(A))return _(this,Xe).get(A);if(A.defaultValue!==void 0)return A.defaultValue;throw new Error("No value found for context")}set(A,N){_(this,Xe).set(A,N)}};Xe=new WeakMap;var be=new Set(["lazy","caseSensitive","path","id","index","children"]);function Ie(A){return be.has(A)}var Re=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function ye(A){return Re.has(A)}function De(A){return A.index===!0}function $e(A,N,K=[],te={},de=!1){return A.map((fe,Se)=>{let Pe=[...K,String(Se)],Qe=typeof fe.id=="string"?fe.id:Pe.join("-");if(W(fe.index!==!0||!fe.children,"Cannot specify children on an index route"),W(de||!te[Qe],`Found a route id collision on i
755d "${Qe}". Route id's must be globally unique within Data Router usages`),De(fe)){let ut={...fe,id:Qe};return te[Qe]=qe(ut,N(ut)),ut}else{let ut={...fe,id:Qe,children:void 0};return te[Qe]=qe(ut,N(ut)),fe.children&&(ut.children=$e(fe.children,N,Pe,te,de)),ut}})}function qe(A,N){return Object.assign(A,{...N,...typeof N.lazy=="object"&&N.lazy!=null?{lazy:{...A.lazy,...N.lazy}}:{}})}function It(A,N,K="/"){return mt(A,N,K,!1)}function mt(A,N,K,te,de){let fe=typeof N=="string"?me(N):N,Se=Qt(fe.pathname||"/",K);if(Se==null)return null;let Pe=de??Ut(A),Qe=null,ut=hn(Se);for(let At=0;Qe==null&&At<Pe.length;++At)Qe=or(Pe[At],ut,te);return Qe}function kt(A,N){let{route:K,pathname:te,params:de}=A;return{id:K.id,pathname:te,params:de,data:N[K.id],loaderData:N[K.id],handle:K.handle}}function Ut(A){let N=Ir(A);return Yr(N),N}function Ir(A,N=[],K=[],te="",de=!1){let fe=(Se,Pe,Qe=de,ut)=>{let At={relativePath:ut===void 0?Se.path||"":ut,caseSensitive:Se.caseSensitive===!0,childrenIndex:Pe,route:Se};if(At.relativePath.startsWith("/")){if(!At.relativePath.startsWith(te)&&Qe)return;W(At.relativePath.startsWith(te),`Absolute route path "${At.relativePath}" nested under path "${te}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),At.relativePath=At.relativePath.slice(te.length)}let Pt=nn([te,At.relativePath]),Fr=K.concat(At);Se.children&&Se.children.length>0&&(W(Se.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${Pt}".`),Ir(Se.children,N,Fr,Pt,Qe)),!(Se.path==null&&!Se.index)&&N.push({path:Pt,score:Er(Pt,Se.index),routesMeta:Fr})};return A.forEach((Se,Pe)=>{if(Se.path===""||!Se.path?.includes("?"))fe(Se,Pe);else for(let Qe of Sr(Se.path))fe(Se,Pe,!0,Qe)}),N}function Sr(A){let N=A.split("/");if(N.length===0)return[];let[K,...te]=N,de=K.endsWith("?"),fe=K.replace(/\?$/,"");if(te.length===0)return de?[fe,""]:[fe];let Se=Sr(te.join("/")),Pe=[];return Pe.push(...Se.map(Qe=>Qe===""?fe:[fe,Qe].join("/"))),de&&Pe.push(...Se),Pe.map(Qe=>A.startsWith("/")&&Qe===""?"/":Qe)}function Yr(A){A.sort((N,K)=>N.score!==K.score?K.score-N.score:Ur(N.routesMeta.map(te=>te.childrenIndex),K.routesMeta.map(te=>te.childrenIndex)))}var Gr=/^:[\w-]+$/,dn=3,Kr=2,yt=1,tt=10,Ar=-2,Mr=A=>A==="*";function Er(A,N){let K=A.split("/"),te=K.length;return K.some(Mr)&&(te+=Ar),N&&(te+=Kr),K.filter(de=>!Mr(de)).reduce((de,fe)=>de+(Gr.test(fe)?dn:fe===""?yt:tt),te)}function Ur(A,N){return A.length===N.length&&A.slice(0,-1).every((te,de)=>te===N[de])?A[A.length-1]-N[N.length-1]:0}function or(A,N,K=!1){let{routesMeta:te}=A,de={},fe="/",Se=[];for(let Pe=0;Pe<te.length;++Pe){let Qe=te[Pe],ut=Pe===te.length-1,At=fe==="/"?N:N.slice(fe.length)||"/",Pt=dr({path:Qe.relativePath,caseSensitive:Qe.caseSensitive,end:ut},At),Fr=Qe.route;if(!Pt&&ut&&K&&!te[te.length-1].route.index&&(Pt=dr({path:Qe.relativePath,caseSensitive:Qe.caseSensitive,end:!1},At)),!Pt)return null;
755Object.assign(de,Pt.params),Se.push({params:de,pathname:nn([fe,Pt.pathname]),pathnameBase:Sn(nn([fe,Pt.pathnameBase])),route:Fr}),Pt.pathnameBase!=="/"&&(fe=nn([fe,Pt.pathnameBase]))}return Se}function An(A,N={}){let K=A;K.endsWith("*")&&K!=="*"&&!K.endsWith("/*")&&(Z(!1,`Route path "${K}" will be treated as if it were "${K.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${K.replace(/\*$/,"/*")}".`),K=K.replace(/\*$/,"/*"));const te=K.startsWith("/")?"/":"",de=Se=>Se==null?"":typeof Se=="string"?Se:String(Se),fe=K.split(/\/+/).map((Se,Pe,Qe)=>{if(Pe===Qe.length-1&&Se==="*")return de(N["*"]);const At=Se.match(/^:([\w-]+)(\??)(.*)/);if(At){const[,Pt,Fr,vr]=At;let Qr=N[Pt];return W(Fr==="?"||Qr!=null,`Missing ":${Pt}" param`),encodeURIComponent(de(Qr))+vr}return Se.replace(/\?$/g,"")}).filter(Se=>!!Se);return te+fe.join("/")}function dr(A,N){typeof A=="string"&&(A={path:A,caseSensitive:!1,end:!0});let[K,te]=Xr(A.path,A.caseSensitive,A.end),de=N.match(K);if(!de)return null;let fe=de[0],Se=fe.replace(/(.)\/+$/,"$1"),Pe=de.slice(1);return{params:te.reduce((ut,{paramName:At,isOptional:Pt},Fr)=>{if(At==="*"){let Qr=Pe[Fr]||"";Se=fe.slice(0,fe.length-Qr.length).replace(/(.)\/+$/,"$1")}const vr=Pe[Fr];return Pt&&!vr?ut[At]=void 0:ut[At]=(vr||"").replace(/%2F/g,"/"),ut},{}),pathname:fe,pathnameBase:Se,pattern:A}}function Xr(A,N=!1,K=!0){Z(A==="*"||!A.endsWith("*")||A.endsWith("/*"),`Route path "${A}" will be treated as if it were "${A.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${A.replace(/\*$/,"/*")}".`);let te=[],de="^"+A.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(Se,Pe,Qe,ut,At)=>{if(te.push({paramName:Pe,isOptional:Qe!=null}),Qe){let Pt=At.charAt(ut+Se.length);return Pt&&Pt!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return A.endsWith("*")?(te.push({paramName:"*"}),de+=A==="*"||A==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):K?de+="\\/*$":A!==""&&A!=="/"&&(de+="(?:(?=\\/|$))"),[new RegExp(de,N?void 0:"i"),te]}function hn(A){try{return A.split("/").map(N=>decodeURIComponent(N).replace(/\//g,"%2F")).join("/")}catch(N){return Z(!1,`The URL path "${A}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${N}).`),A}}function Qt(A,N){if(N==="/")return A;if(!A.toLowerCase().startsWith(N.toLowerCase()))return null;let K=N.endsWith("/")?N.length-1:N.length,te=A.charAt(K);return te&&te!=="/"?null:A.slice(K)||"/"}function Br({basename:A,pathname:N}){return N==="/"?A:nn([A,N])}var zt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tt=A=>zt.test(A);function Pr(A,N="/"){let{pathname:K,search:te="",hash:de=""}=typeof A=="string"?me(A):A,fe;return K?(K=Zr(K),K.startsWith("/")?fe=Y(K.substring(1),"/"):fe=Y(K,N)):fe=N,{pathname:fe,search:Ci(te),hash:$i(de)}}function Y(A,N){let K=fn(N).split("/");return A.split("/").forEach(de=>{de===".."?K.length>1&&K.pop():de!=="."&&K.push(de)}),K.length>1?K.join("/"):"/"}function ht(A,N,K,te){return`Cannot include a '${A}' character in a manually specified \`to.${N}\` field [${JSON.stringify(te)}]. Please separate it out to the \`to.${K}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ur(A){return A.filter((N,K)=>K===0||N.route.path&&N.route.path.length>0)}function it(A){let N=ur(A);return N.map((K,te)=>te===N.length-1?K.pathname:K.pathnameBase)}function Rt(A,N,K,te=!1){let de;typeof A=="string"?de=me(A):(de={...A},W(!de.pathname||!de.pathname.includes("?"),ht("?","pathname","search",de)),W(!de.pathname||!de.pathname.includes("#"),ht("#","pathname","hash",de)),W(!de.search||!de.search.includes("#"),ht("#","search","hash",de)));let fe=A===""||de.pathname==="",Se=fe?"/":de.pathname,Pe;if(Se==null)Pe=K;else{let Pt=N.length-1;if(!te&&Se.startsWith("..")){let Fr=Se.split("/");for(;Fr[0]==="..";)Fr.shift(),Pt-=1;de.pathname=Fr.join("/")}Pe=Pt>=0?N[Pt]:"/"}let Qe=Pr(de,Pe),ut=Se&&Se!=="/"&&Se.endsWith("/"),At=(fe||Se===".")&&K.endsWith("/");return!Qe.pathname.endsWith("/")&&(ut||At)&&(Qe.pathname+="/"),Qe}var Zr=A=>A.replace(/\/\/+/g,"/"),nn=A=>Zr(A.join("/")),fn=A=>A.replace(/\/+$/,""),Sn=A=>fn(A).replace(/^\/*/,"/"),Ci=A=>!A||A==="?"?"":A.startsWith("?")?A:"?"+A,$i=A=>!A||A==="#"?"":A.startsWith("#")?A:"#"+A,qr=class{constructor(A,N){this.type="DataWithResponseInit",this.data=A,this.init=N||null}};function Bi(A,N){return new qr(A,typeof N=="number"?{status:N}:N)}var ms=(A,N=302)=>{let K=N;typeof K=="number"?K={status:K}:typeof K.status>"u"&&(K.status=302);let te=new Headers(K.headers);return te.set("Location",A),new Response(null,{...K,headers:te})},hs=(A,N)=>{let K=ms(A,N);return K.headers.set("X-Remix-Reload-Document","true"),K},Mi=(A,N)=>{let K=ms(A,N);return K.headers.set("X-Remix-Replace","true"),K},gi=class{constructor(A,N,K,te=!1){this.status=A,this.statusText=N||"",this.internal=te,K instanceof Error?(this.data=K.toString(),this.error=K):this.data=K}};function Hi(A){return A!=null&&typeof A.status=="number"&&typeof A.statusText=="string"&&typeof A.internal=="boolean"&&"data"in A}function qn(A){let N=A.map(K=>
755K.route.path).filter(Boolean);return nn(N)||"/"}var $n=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $s(A,N){let K=A;if(typeof K!="string"||!zt.test(K))return{absoluteURL:void 0,isExternal:!1,to:K};let te=K,de=!1;if($n)try{let fe=new URL(window.location.href),Se=K.startsWith("//")?new URL(fe.protocol+K):new URL(K),Pe=Qt(Se.pathname,N);Se.origin===fe.origin&&Pe!=null?K=Pe+Se.search+Se.hash:de=!0}catch{Z(!1,`<Link to="${K}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:te,isExternal:de,to:K}}var ys=Symbol("Uninstrumented");function Es(A,N){let K={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};A.forEach(de=>de({id:N.id,index:N.index,path:N.path,instrument(fe){let Se=Object.keys(K);for(let Pe of Se)fe[Pe]&&K[Pe].push(fe[Pe])}}));let te={};if(typeof N.lazy=="function"&&K.lazy.length>0){let de=Ge(K.lazy,N.lazy,()=>{});de&&(te.lazy=de)}if(typeof N.lazy=="object"){let de=N.lazy;["middleware","loader","action"].forEach(fe=>{let Se=de[fe],Pe=K[`lazy.${fe}`];if(typeof Se=="function"&&Pe.length>0){let Qe=Ge(Pe,Se,()=>{});Qe&&(te.lazy=Object.assign(te.lazy||{},{[fe]:Qe}))}})}return["loader","action"].forEach(de=>{let fe=N[de];if(typeof fe=="function"&&K[de].length>0){let Se=fe[ys]??fe,Pe=Ge(K[de],Se,(...Qe)=>Et(Qe[0]));Pe&&(de==="loader"&&Se.hydrate===!0&&(Pe.hydrate=!0),Pe[ys]=Se,te[de]=Pe)}}),N.middleware&&N.middleware.length>0&&K.middleware.length>0&&(te.middleware=N.middleware.map(de=>{let fe=de[ys]??de,Se=Ge(K.middleware,fe,(...Pe)=>Et(Pe[0]));return Se?(Se[ys]=fe,Se):de})),te}function oe(A,N){let K={navigate:[],fetch:[]};if(N.forEach(te=>te({instrument(de){let fe=Object.keys(de);for(let Se of fe)de[Se]&&K[Se].push(de[Se])}})),K.navigate.length>0){let te=A.navigate[ys]??A.navigate,de=Ge(K.navigate,te,(...fe)=>{let[Se,Pe]=fe;return{to:typeof Se=="number"||typeof Se=="string"?Se:Se?he(Se):".",...Tr(A,Pe??{})}});de&&(de[ys]=te,A.navigate=de)}if(K.fetch.length>0){let te=A.fetch[ys]??A.fetch,de=Ge(K.fetch,te,(...fe)=>{let[Se,,Pe,Qe]=fe;return{href:Pe??".",fetcherKey:Se,...Tr(A,Qe??{})}});de&&(de[ys]=te,A.fetch=de)}return A}function xe(A,N){let K={request:[]};N.forEach(de=>de({instrument(fe){let Se=Object.keys(fe);for(let Pe of Se)fe[Pe]&&K[Pe].push(fe[Pe])}}));let te=A;return K.request.length>0&&(te=Ge(K.request,A,(...de)=>{let[fe,Se]=de;return{request:vn(fe),context:Se!=null?Gt(Se):Se}})),te}function Ge(A,N,K){return A.length===0?null:async(...te)=>{let de=await bt(A,K(...te),()=>N(...te),A.length-1);if(de.type==="error")throw de.value;return de.value}}async function bt(A,N,K,te){let de=A[te],fe;if(de){let Se,Pe=async()=>(Se?console.error("You cannot call instrumented handlers more than once"):Se=bt(A,N,K,te-1),fe=await Se,W(fe,"Expected a result"),fe.type==="error"&&fe.value instanceof Error?{status:"error",error:fe.value}:{status:"success",error:void 0});try{await de(Pe,N)}catch(Qe){console.error("An instrumentation function threw an error:",Qe)}Se||await Pe(),await Se}else try{fe={type:"success",value:await K()}}catch(Se){fe={type:"error",value:Se}}return fe||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Et(A){let{request:N,context:K,params:te,pattern:de}=A;return{request:vn(N),params:{...te},pattern:de,context:Gt(K)}}function Tr(A,N){return{currentUrl:he(A.state.location),..."formMethod"in N?{formMethod:N.formMethod}:{},..."formEncType"in N?{formEncType:N.formEncType}:{},..."formData"in N?{formData:N.formData}:{},..."body"in N?{body:N.body}:{}}}function vn(A){return{method:A.method,url:A.url,headers:{get:(...N)=>A.headers.get(...N)}}}function Gt(A){if(si(A)){let N={...A};return Object.freeze(N),N}else return{get:N=>A.get(N)}}var ei=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function si(A){if(A===null||typeof A!="object")return!1;const N=Object.getPrototypeOf(A);return N===Object.prototype||N===null||Object.getOwnPropertyNames(N).sort().join("\0")===ei}var yn=["POST","PUT","PATCH","DELETE"],rs=new Set(yn),xn=["GET",...yn],Ms=new Set(xn),Yi=new Set([301,302,303,307,308]),Gs=new Set([307,308]),us={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},nr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},cr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ln=A=>({hasErrorBoundary:!!A.hasErrorBoundary}),Yn="remix-router-transitions",Ln=Symbol("ResetLoaderData"),wn,ti,Ti,Pi,Zi=class{constructor(A){C(this,wn),C(this,ti),C(this,Ti),C(this,Pi),P(this,wn,A),P(this,ti,Ut(A))}get stableRoutes(){return _(this,wn)}get activeRoutes(){return _(this,Ti)??_(this,wn)}get branches(){return _(this,Pi)??_(this,ti)}get hasHMRRoutes(){return _(this,Ti)!=null}setRoutes(A){P(this,wn,A),P(this,ti,Ut(A))}setHmrRoutes(A){P(this,Ti,A),P(this,Pi,Ut(A))}commitHmrRoutes(){_(this,Ti)&&(P(this,wn,_(this,Ti)),P(this,ti,_(this,Pi)),P(this,Ti,void 0),P(this,Pi,void 0))}};wn=new WeakMap,ti=new WeakMap,Ti=new WeakMap,Pi=new WeakMap;function Ui(A){const N=A.window?A.window:typeof window<"u"?window:void 0,K=typeof N<"u"&&typeof N.document<"u"&&typeof N.document.createElement<"u";W(A.routes.length>0,"You must provide a non-empty routes array to createRouter");let te=A.hydrationRouteProperties||[],de=A.mapRouteProperties||ln,fe=de;if(A.instrumentations){let mr=A.instrumentations;fe=$r=>({...de($r),...Es(mr.map(Ot=>
755Ot.route).filter(Boolean),$r)})}let Se={},Pe=new Zi($e(A.routes,fe,void 0,Se)),Qe=A.basename||"/";Qe.startsWith("/")||(Qe=`/${Qe}`);let ut=A.dataStrategy||za,At={...A.future},Pt=null,Fr=new Set,vr=null,Qr=null,jt=null,Vt=null,zr=A.hydrationData!=null,_r=mt(Pe.activeRoutes,A.history.location,Qe,!1,Pe.branches),Xn=!1,ni=null,zn,hi;if(_r==null&&!A.patchRoutesOnNavigation){let mr=Si(404,{pathname:A.history.location.pathname}),{matches:$r,route:Ot}=ai(Pe.activeRoutes);zn=!0,hi=!zn,_r=$r,ni={[Ot.id]:mr}}else if(_r&&!A.hydrationData&&zu(_r,Pe.activeRoutes,A.history.location.pathname).active&&(_r=null),_r)if(_r.some(mr=>mr.route.lazy))zn=!1,hi=!zn;else if(!_r.some(mr=>as(mr.route)))zn=!0,hi=!zn;else{let mr=A.hydrationData?A.hydrationData.loaderData:null,$r=A.hydrationData?A.hydrationData.errors:null,Ot=_r;if($r){let ci=_r.findIndex(ui=>$r[ui.route.id]!==void 0);Ot=Ot.slice(0,ci+1)}hi=!1,zn=!0,Ot.forEach(ci=>{let ui=Os(ci.route,mr,$r);hi=hi||ui.renderFallback,zn=zn&&!ui.shouldLoad})}else{zn=!1,hi=!zn,_r=[];let mr=zu(null,Pe.activeRoutes,A.history.location.pathname);mr.active&&mr.matches&&(Xn=!0,_r=mr.matches)}let Ki,Lr={historyAction:A.history.action,location:A.history.location,matches:_r,initialized:zn,renderFallback:hi,navigation:us,restoreScrollPosition:A.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:A.hydrationData&&A.hydrationData.loaderData||{},actionData:A.hydrationData&&A.hydrationData.actionData||null,errors:A.hydrationData&&A.hydrationData.errors||ni,fetchers:new Map,blockers:new Map},li="POP",_s=null,ga=!1,Ei,Us=!1,fs=new Map,Ws=null,Ss=!1,Wa=!1,Ho=new Set,Va=new Map,Jo=0,ju=-1,bu=new Map,Su=new Set,fl=new Map,Pl=new Map,hl=new Set,qc=new Map,Bd,ed=null;function Pf(){if(Pt=A.history.listen(({action:mr,location:$r,delta:Ot})=>{if(Bd){Bd(),Bd=void 0;return}Z(qc.size===0||Ot!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ci=id({currentLocation:Lr.location,nextLocation:$r,historyAction:mr});if(ci&&Ot!=null){let ui=new Promise(Ds=>{Bd=Ds});A.history.go(Ot*-1),bc(ci,{state:"blocked",location:$r,proceed(){bc(ci,{state:"proceeding",proceed:void 0,reset:void 0,location:$r}),ui.then(()=>A.history.go(Ot))},reset(){let Ds=new Map(Lr.blockers);Ds.set(ci,cr),nu({blockers:Ds})}}),_s?.resolve(),_s=null;return}return rd(mr,$r)}),K){Wn(N,fs);let mr=()=>Un(N,fs);N.addEventListener("pagehide",mr),Ws=()=>N.removeEventListener("pagehide",mr)}return Lr.initialized||rd("POP",Lr.location,{initialHydration:!0}),Ki}function Rf(){Pt&&Pt(),Ws&&Ws(),Fr.clear(),Ei&&Ei.abort(),Lr.fetchers.forEach((mr,$r)=>os(Lr.fetchers,$r)),Lr.blockers.forEach((mr,$r)=>Hd($r))}function Ud(mr){if(Fr.add(mr),vr){let{newErrors:$r}=vr;vr=null,mr(Lr,{deletedFetchers:[],newErrors:$r,viewTransitionOpts:void 0,flushSync:!1})}return()=>Fr.delete(mr)}function nu(mr,$r={}){mr.matches&&(mr.matches=mr.matches.map(ui=>{let Ds=Se[ui.route.id],Ls=ui.route;return Ls.element!==Ds.element||Ls.errorElement!==Ds.errorElement||Ls.hydrateFallbackElement!==Ds.hydrateFallbackElement?{...ui,route:Ds}:ui})),Lr={...Lr,...mr};let Ot=[],ci=[];Lr.fetchers.forEach((ui,Ds)=>{ui.state==="idle"&&(hl.has(Ds)?Ot.push(Ds):ci.push(Ds))}),hl.forEach(ui=>{!Lr.fetchers.has(ui)&&!Va.has(ui)&&Ot.push(ui)}),Fr.size===0&&(vr={newErrors:mr.errors??null}),[...Fr].forEach(ui=>ui(Lr,{deletedFetchers:Ot,newErrors:mr.errors??null,viewTransitionOpts:$r.viewTransitionOpts,flushSync:$r.flushSync===!0})),Ot.forEach(ui=>os(Lr.fetchers,ui)),ci.forEach(ui=>Lr.fetchers.delete(ui))}function iu(mr,$r,{flushSync:Ot}={}){let ci=Lr.actionData!=null&&Lr.navigation.formMethod!=null&&kr(Lr.navigation.formMethod)&&Lr.navigation.state==="loading"&&mr.state?._isRedirect!==!0,ui;$r.actionData?Object.keys($r.actionData).length>0?ui=$r.actionData:ui=null:ci?ui=Lr.actionData:ui=null;let Ds=$r.loaderData?jr(Lr.loaderData,$r.loaderData,$r.matches||[],$r.errors):Lr.loaderData,Ls=Lr.blockers;Ls.size>0&&(Ls=new Map(Ls),Ls.forEach((ws,ts)=>Ls.set(ts,cr)));let js=Ss?!1:wd(mr,$r.matches||Lr.matches),Ji=ga===!0||Lr.navigation.formMethod!=null&&kr(Lr.navigation.formMethod)&&mr.state?._isRedirect!==!0;Pe.commitHmrRoutes(),Ss||li==="POP"||(li==="PUSH"?A.history.push(mr,mr.state):li==="REPLACE"&&A.history.replace(mr,mr.state));let Qs;if(li==="POP"){let ws=fs.get(Lr.location.pathname);ws&&ws.has(mr.pathname)?Qs={currentLocation:Lr.location,nextLocation:mr}:fs.has(mr.pathname)&&(Qs={currentLocation:mr,nextLocation:Lr.location})}else if(Us){let ws=fs.get(Lr.location.pathname);ws?ws.add(mr.pathname):(ws=new Set([mr.pathname]),fs.set(Lr.location.pathname,ws)),Qs={currentLocation:Lr.location,nextLocation:mr}}nu({...$r,actionData:ui,loaderData:Ds,historyAction:li,location:mr,initialized:!0,renderFallback:!1,navigation:us,revalidation:"idle",restoreScrollPosition:js,preventScrollReset:Ji,blockers:Ls},{viewTransitionOpts:Qs,flushSync:Ot===!0}
755),li="POP",ga=!1,Us=!1,Ss=!1,Wa=!1,_s?.resolve(),_s=null,ed?.resolve(),ed=null}async function td(mr,$r){if(_s?.resolve(),_s=null,typeof mr=="number"){_s||(_s=Fi());let _a=_s.promise;return A.history.go(mr),_a}let Ot=wi(Lr.location,Lr.matches,Qe,mr,$r?.fromRouteId,$r?.relative),{path:ci,submission:ui,error:Ds}=Ns(!1,Ot,$r),Ls;$r?.mask&&(Ls={pathname:"",search:"",hash:"",...typeof $r.mask=="string"?me($r.mask):{...Lr.location.mask,...$r.mask}});let js=Lr.location,Ji=le(js,ci,$r&&$r.state,void 0,Ls);Ji={...Ji,...A.history.encodeLocation(Ji)};let Qs=$r&&$r.replace!=null?$r.replace:void 0,ws="PUSH";Qs===!0?ws="REPLACE":Qs===!1||ui!=null&&kr(ui.formMethod)&&ui.formAction===Lr.location.pathname+Lr.location.search&&(ws="REPLACE");let ts=$r&&"preventScrollReset"in $r?$r.preventScrollReset===!0:void 0,Ts=($r&&$r.flushSync)===!0,Ga=id({currentLocation:js,nextLocation:Ji,historyAction:ws});if(Ga){bc(Ga,{state:"blocked",location:Ji,proceed(){bc(Ga,{state:"proceeding",proceed:void 0,reset:void 0,location:Ji}),td(mr,$r)},reset(){let _a=new Map(Lr.blockers);_a.set(Ga,cr),nu({blockers:_a})}});return}await rd(ws,Ji,{submission:ui,pendingError:Ds,preventScrollReset:ts,replace:$r&&$r.replace,enableViewTransition:$r&&$r.viewTransition,flushSync:Ts,callSiteDefaultShouldRevalidate:$r&&$r.defaultShouldRevalidate})}function Df(){ed||(ed=Fi()),df(),nu({revalidation:"loading"});let mr=ed.promise;return Lr.navigation.state==="submitting"?mr:Lr.navigation.state==="idle"?(rd(Lr.historyAction,Lr.location,{startUninterruptedRevalidation:!0}),mr):(rd(li||Lr.historyAction,Lr.navigation.location,{overrideNavigation:Lr.navigation,enableViewTransition:Us===!0}),mr)}async function rd(mr,$r,Ot){Ei&&Ei.abort(),Ei=null,li=mr,Ss=(Ot&&Ot.startUninterruptedRevalidation)===!0,jf(Lr.location,Lr.matches),ga=(Ot&&Ot.preventScrollReset)===!0,Us=(Ot&&Ot.enableViewTransition)===!0;let ci=Pe.activeRoutes,ui=Ot?.initialHydration&&Lr.matches&&Lr.matches.length>0&&!Xn?Lr.matches:mt(ci,$r,Qe,!1,Pe.branches),Ds=(Ot&&Ot.flushSync)===!0;if(ui&&Lr.initialized&&!Wa&&da(Lr.location,$r)&&!(Ot&&Ot.submission&&kr(Ot.submission.formMethod))){iu($r,{matches:ui},{flushSync:Ds});return}let Ls=zu(ui,ci,$r.pathname);if(Ls.active&&Ls.matches&&(ui=Ls.matches),!ui){let{error:co,notFoundMatches:Ya,route:Ru}=Sc($r.pathname);iu($r,{matches:Ya,loaderData:{},errors:{[Ru.id]:co}},{flushSync:Ds});return}let js=Ot&&Ot.overrideNavigation?{...Ot.overrideNavigation,matches:ui,historyAction:mr}:void 0;Ei=new AbortController;let Ji=Hs(A.history,$r,Ei.signal,Ot&&Ot.submission),Qs=A.getContext?await A.getContext():new ge,ws;if(Ot&&Ot.pendingError)ws=[an(ui).route.id,{type:"error",error:Ot.pendingError}];else if(Ot&&Ot.submission&&kr(Ot.submission.formMethod)){let co=await lf(Ji,$r,Ot.submission,ui,mr,Qs,Ls.active,Ot&&Ot.initialHydration===!0,{replace:Ot.replace,flushSync:Ds});if(co.shortCircuited)return;if(co.pendingActionResult){let[Ya,Ru]=co.pendingActionResult;if(Ne(Ru)&&Hi(Ru.error)&&Ru.error.status===404){Ei=null,iu($r,{matches:co.matches,loaderData:{},errors:{[Ya]:Ru.error}});return}}ui=co.matches||ui,ws=co.pendingActionResult,js=Wt($r,ui,mr,Ot.submission),Ds=!1,Ls.active=!1,Ji=Hs(A.history,Ji.url,Ji.signal)}let{shortCircuited:ts,matches:Ts,loaderData:Ga,errors:_a,workingFetchers:Ka}=await Th(Ji,$r,ui,mr,Qs,Ls.active,js,Ot&&Ot.submission,Ot&&Ot.fetcherSubmission,Ot&&Ot.replace,Ot&&Ot.initialHydration===!0,Ds,ws,Ot&&Ot.callSiteDefaultShouldRevalidate);ts||(Ei=null,iu($r,{matches:Ts||ui,...Jr(ws),loaderData:Ga,errors:_a,...Ka?{fetchers:Ka}:{}}))}async function lf(mr,$r,Ot,ci,ui,Ds,Ls,js,Ji={}){df();let Qs=Wr($r,ci,ui,Ot);if(nu({navigation:Qs},{flushSync:Ji.flushSync===!0}),Ls){let Ts=await sd(ci,$r.pathname,mr.signal);if(Ts.type==="aborted")return{shortCircuited:!0};if(Ts.type==="error"){if(Ts.partialMatches.length===0){let{matches:_a,route:Ka}=ai(Pe.activeRoutes);return{matches:_a,pendingActionResult:[Ka.id,{type:"error",error:Ts.error}]}}let Ga=an(Ts.partialMatches).route.id;return{matches:Ts.partialMatches,pendingActionResult:[Ga,{type:"error",error:Ts.error}]}}else if(Ts.matches)ci=Ts.matches;else{let{notFoundMatches:Ga,error:_a,route:Ka}=Sc($r.pathname);return{matches:Ga,pendingActionResult:[Ka.id,{type:"error",error:_a}]}}}let ws,ts=Hn(ci,$r);if(!ts.route.action&&!ts.route.lazy)ws={type:"error",error:Si(405,{method:mr.method,pathname:$r.pathname,routeId:ts.route.id})};else{let Ts=pa(fe,Se,mr,$r,ci,ts,js?[]:te,Ds),Ga=await zd(mr,$r,Ts,Ds,null);if(ws=Ga[ts.route.id],!ws){for(let _a of ci)if(Ga[_a.route.id]){ws=Ga[_a.route.id];break}}if(mr.signal.aborted)return{shortCircuited:!0}}if(Ve(ws)){let Ts;return Ji&&Ji.replace!=null?Ts=Ji.replace:Ts=Ro(ws.response.headers.get("Location"),new URL(mr.url),Qe,A.history)===Lr.location.pathname+Lr.location.search,await vc(mr,ws,!0,{submission:Ot,replace:Ts}),{shortCircuited:!0}}if(Ne(ws)){let Ts=an(ci,ts.route.id);return(Ji&&Ji.replace)!==!0&&(li="PUSH"),{matches:ci,pendingActionResult:[Ts.route.id,ws,ts.route.id]}}return{matches:ci,pendingActionResult:[ts.route.id,ws]}}async function Th(mr,$r,Ot,ci,ui,Ds,Ls,js,Ji,Qs,ws,ts,Ts,Ga){let _a=Ls||Wt($r,Ot,ci,js),Ka=js||Ji||Bt(_a),co=!Ss&&!ws;
755if(Ds){if(co){let Ju=Rl(Ts);nu({navigation:_a,...Ju!==void 0?{actionData:Ju}:{}},{flushSync:ts})}let Ma=await sd(Ot,$r.pathname,mr.signal);if(Ma.type==="aborted")return{shortCircuited:!0};if(Ma.type==="error"){if(Ma.partialMatches.length===0){let{matches:xc,route:Ec}=ai(Pe.activeRoutes);return{matches:xc,loaderData:{},errors:{[Ec.id]:Ma.error}}}let Ju=an(Ma.partialMatches).route.id;return{matches:Ma.partialMatches,loaderData:{},errors:{[Ju]:Ma.error}}}else if(Ma.matches)Ot=Ma.matches;else{let{error:Ju,notFoundMatches:xc,route:Ec}=Sc($r.pathname);return{matches:xc,loaderData:{},errors:{[Ec.id]:Ju}}}}let Ya=Pe.activeRoutes,{dsMatches:Ru,revalidatingFetchers:pl}=Cs(mr,ui,fe,Se,A.history,Lr,Ot,Ka,$r,ws?[]:te,ws===!0,Wa,Ho,hl,fl,Su,Ya,Qe,A.patchRoutesOnNavigation!=null,Pe.branches,Ts,Ga);if(ju=++Jo,!A.dataStrategy&&!Ru.some(Ma=>Ma.shouldLoad)&&!Ru.some(Ma=>Ma.route.middleware&&Ma.route.middleware.length>0)&&pl.length===0){let Ma=new Map(Lr.fetchers),Ju=Td(Ma);return iu($r,{matches:Ot,loaderData:{},errors:Ts&&Ne(Ts[1])?{[Ts[0]]:Ts[1].error}:null,...Jr(Ts),...Ju?{fetchers:Ma}:{}},{flushSync:ts}),{shortCircuited:!0}}if(co){let Ma={};if(!Ds){Ma.navigation=_a;let Ju=Rl(Ts);Ju!==void 0&&(Ma.actionData=Ju)}pl.length>0&&(Ma.fetchers=jd(pl)),nu(Ma,{flushSync:ts})}pl.forEach(Ma=>{Hl(Ma.key),Ma.controller&&Va.set(Ma.key,Ma.controller)});let mf=()=>pl.forEach(Ma=>Hl(Ma.key));Ei&&Ei.signal.addEventListener("abort",mf);let{loaderResults:kc,fetcherResults:Vd}=await Mf(Ru,pl,mr,$r,ui);if(mr.signal.aborted)return{shortCircuited:!0};Ei&&Ei.signal.removeEventListener("abort",mf),pl.forEach(Ma=>Va.delete(Ma.key));let Qu=Di(kc);if(Qu)return await vc(mr,Qu.result,!0,{replace:Qs}),{shortCircuited:!0};if(Qu=Di(Vd),Qu)return Su.add(Qu.key),await vc(mr,Qu.result,!0,{replace:Qs}),{shortCircuited:!0};let Vl=new Map(Lr.fetchers),{loaderData:_d,errors:sc}=Jt(Lr,Ot,kc,Ts,pl,Vd,Vl);ws&&Lr.errors&&(sc={...Lr.errors,...sc});let ad=Td(Vl),Ad=Zf(ju,Vl),Gd=ad||Ad||pl.length>0;return{matches:Ot,loaderData:_d,errors:sc,...Gd?{workingFetchers:Vl}:{}}}function Rl(mr){if(mr&&!Ne(mr[1]))return{[mr[0]]:mr[1].data};if(Lr.actionData)return Object.keys(Lr.actionData).length===0?null:Lr.actionData}function jd(mr){let $r=new Map(Lr.fetchers);return mr.forEach(Ot=>{let ci=$r.get(Ot.key),ui=sn(void 0,ci?ci.data:void 0);$r.set(Ot.key,ui)}),$r}async function cf(mr,$r,Ot,ci){Hl(mr);let ui=(ci&&ci.flushSync)===!0,Ds=Pe.activeRoutes,Ls=wi(Lr.location,Lr.matches,Qe,Ot,$r,ci?.relative),js=mt(Ds,Ls,Qe,!1,Pe.branches),Ji=zu(js,Ds,Ls);if(Ji.active&&Ji.matches&&(js=Ji.matches),!js){nd(mr,$r,Si(404,{pathname:Ls}),{flushSync:ui});return}let{path:Qs,submission:ws,error:ts}=Ns(!0,Ls,ci);if(ts){nd(mr,$r,ts,{flushSync:ui});return}let Ts=A.getContext?await A.getContext():new ge,Ga=(ci&&ci.preventScrollReset)===!0;if(ws&&kr(ws.formMethod)){await Lf(mr,$r,Qs,js,Ts,Ji.active,ui,Ga,ws,ci&&ci.defaultShouldRevalidate);return}fl.set(mr,{routeId:$r,path:Qs}),await Qf(mr,$r,Qs,js,Ts,Ji.active,ui,Ga,ws)}async function Lf(mr,$r,Ot,ci,ui,Ds,Ls,js,Ji,Qs){df(),fl.delete(mr);let ws=Lr.fetchers.get(mr);yc(mr,Mn(Ji,ws),{flushSync:Ls});let ts=new AbortController,Ts=Hs(A.history,Ot,ts.signal,Ji);if(Ds){let fo=await sd(ci,new URL(Ts.url).pathname,Ts.signal,mr);if(fo.type==="aborted")return;if(fo.type==="error"){nd(mr,$r,fo.error,{flushSync:Ls});return}else if(fo.matches)ci=fo.matches;else{nd(mr,$r,Si(404,{pathname:Ot}),{flushSync:Ls});return}}let Ga=Hn(ci,Ot);if(!Ga.route.action&&!Ga.route.lazy){let fo=Si(405,{method:Ji.formMethod,pathname:Ot,routeId:$r});nd(mr,$r,fo,{flushSync:Ls});return}Va.set(mr,ts);let _a=Jo,Ka=pa(fe,Se,Ts,Ot,ci,Ga,te,ui),co=await zd(Ts,Ot,Ka,ui,mr),Ya=co[Ga.route.id];if(!Ya){for(let fo of Ka)if(co[fo.route.id]){Ya=co[fo.route.id];break}}if(Ts.signal.aborted){Va.get(mr)===ts&&Va.delete(mr);return}if(hl.has(mr)){if(Ve(Ya)||Ne(Ya)){yc(mr,_n(void 0));return}}else{if(Ve(Ya))if(Va.delete(mr),ju>_a){yc(mr,_n(void 0));return}else return Su.add(mr),yc(mr,sn(Ji)),vc(Ts,Ya,!1,{fetcherSubmission:Ji,preventScrollReset:js});if(Ne(Ya)){nd(mr,$r,Ya.error);return}}let Ru=Lr.navigation.location||Lr.location,pl=Hs(A.history,Ru,ts.signal),mf=Pe.activeRoutes,kc=Lr.navigation.state!=="idle"?mt(mf,Lr.navigation.location,Qe,!1,Pe.branches):Lr.matches;W(kc,"Didn't find any matches after fetcher action");let Vd=++Jo;bu.set(mr,Vd);let{dsMatches:Qu,revalidatingFetchers:Vl}=Cs(pl,ui,fe,Se,A.history,Lr,kc,Ji,Ru,te,!1,Wa,Ho,hl,fl,Su,mf,Qe,A.patchRoutesOnNavigation!=null,Pe.branches,[Ga.route.id,Ya],Qs),_d=sn(Ji,Ya.data),sc=new Map(Lr.fetchers);sc.set(mr,_d),Vl.filter(fo=>fo.key!==mr).forEach(fo=>{let ac=fo.key,Od=sc.get(ac),qf=sn(void 0,Od?Od.data:void 0);sc.set(ac,qf),Hl(ac),fo.controller&&Va.set(ac,fo.controller)}),nu({fetchers:sc});let ad=()=>Vl.forEach(fo=>Hl(fo.key));ts.signal.addEventListener("abort",ad);let{loaderResults:Ad,fetcherResults:Gd}=await Mf(Qu,Vl,pl,Ru,ui);if(ts.signal.aborted)return;ts.signal.removeEventListener("abort",ad),bu.delete(mr),Va.delete(mr),Vl.forEach(fo=>Va.delete(fo.key));let Ma=Lr.fetchers.has(mr),Ju=fo=>{if(!Ma)return fo;let ac=new Map(fo.fetchers);return ac.set(mr,_n(Ya.data)),{...fo,fetchers:ac}},xc=Di(Ad);if(xc)return Lr=Ju(Lr),vc(pl,xc.result,!1,{preventScrollReset:js});if(xc=Di(Gd),xc)return Su.add(xc.key),Lr=Ju(Lr),vc(pl,xc.result,!1,{preventScrollReset:js});let Ec=new Map(Lr.fetchers);Ma&&Ec.set(mr,_n(Ya.data));let{loaderData:zf,errors:Cd}=Jt(Lr,kc,Ad,void 0,Vl,Gd,Ec);Zf(Vd,Ec),Lr.navigation.state==="loading"&&Vd>ju?(W(li,"Expected pending action"),Ei&&Ei.abort(),iu(Lr.navigation.location,{matches:kc,loaderData:zf,errors:Cd,fetchers:Ec})):(nu({errors:Cd,loaderData:jr(Lr.loaderData,zf,kc,Cd),fetchers:Ec}),Wa=!1)}async function Qf(mr,$r,Ot,ci,ui,Ds,Ls,js,Ji){let Qs=Lr.fetchers.get(mr);yc(mr,sn(Ji,Qs?Qs.data:void 0),{flushSync:Ls});let ws=new AbortController,ts=Hs(A.history,Ot,ws.signal);if(Ds){let Ya=await sd(ci,new URL(ts.url).pathname,ts.signal,mr);if(Ya.type==="aborted")return;if(Ya.type==="error"){nd(mr,$r,Ya.error,{flushSync:Ls});return}else if(Ya.matches)ci=Ya.matches;
755else{nd(mr,$r,Si(404,{pathname:Ot}),{flushSync:Ls});return}}let Ts=Hn(ci,Ot);Va.set(mr,ws);let Ga=Jo,_a=pa(fe,Se,ts,Ot,ci,Ts,te,ui),Ka=await zd(ts,Ot,_a,ui,mr),co=Ka[Ts.route.id];if(!co){for(let Ya of ci)if(Ka[Ya.route.id]){co=Ka[Ya.route.id];break}}if(Va.get(mr)===ws&&Va.delete(mr),!ts.signal.aborted){if(hl.has(mr)){yc(mr,_n(void 0));return}if(Ve(co))if(ju>Ga){yc(mr,_n(void 0));return}else{Su.add(mr),await vc(ts,co,!1,{preventScrollReset:js});return}if(Ne(co)){nd(mr,$r,co.error);return}yc(mr,_n(co.data))}}async function vc(mr,$r,Ot,{submission:ci,fetcherSubmission:ui,preventScrollReset:Ds,replace:Ls}={}){Ot||(_s?.resolve(),_s=null),$r.response.headers.has("X-Remix-Revalidate")&&(Wa=!0);let js=$r.response.headers.get("Location");W(js,"Expected a Location header on the redirect Response"),js=Ro(js,new URL(mr.url),Qe,A.history);let Ji=le(Lr.location,js,{_isRedirect:!0});if(K){let _a=!1;if($r.response.headers.has("X-Remix-Reload-Document"))_a=!0;else if(Tt(js)){const Ka=Fe(js,!0);_a=Ka.origin!==N.location.origin||Qt(Ka.pathname,Qe)==null}if(_a){Ls?N.location.replace(js):N.location.assign(js);return}}Ei=null;let Qs=Ls===!0||$r.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:ws,formAction:ts,formEncType:Ts}=Lr.navigation;!ci&&!ui&&ws&&ts&&Ts&&(ci=Bt(Lr.navigation));let Ga=ci||ui;if(Gs.has($r.response.status)&&Ga&&kr(Ga.formMethod))await rd(Qs,Ji,{submission:{...Ga,formAction:js},preventScrollReset:Ds||ga,enableViewTransition:Ot?Us:void 0});else{let _a=Wt(Ji,[],Qs,ci);await rd(Qs,Ji,{overrideNavigation:_a,fetcherSubmission:ui,preventScrollReset:Ds||ga,enableViewTransition:Ot?Us:void 0})}}async function zd(mr,$r,Ot,ci,ui){let Ds,Ls={};try{Ds=await aa(ut,mr,$r,Ot,ui,ci,!1)}catch(js){return Ot.filter(Ji=>Ji.shouldLoad).forEach(Ji=>{Ls[Ji.route.id]={type:"error",error:js}}),Ls}if(mr.signal.aborted)return Ls;if(!kr(mr.method))for(let js of Ot){if(Ds[js.route.id]?.type==="error")break;!Ds.hasOwnProperty(js.route.id)&&!Lr.loaderData.hasOwnProperty(js.route.id)&&(!Lr.errors||!Lr.errors.hasOwnProperty(js.route.id))&&js.shouldCallHandler()&&(Ds[js.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${js.route.id}`)})}for(let[js,Ji]of Object.entries(Ds))if(Ta(Ji)){let Qs=Ji.result;Ls[js]={type:"redirect",response:Wo(Qs,mr,js,Ot,Qe)}}else Ls[js]=await $a(Ji);return Ls}async function Mf(mr,$r,Ot,ci,ui){let Ds=zd(Ot,ci,mr,ui,null),Ls=Promise.all($r.map(async Qs=>{if(Qs.matches&&Qs.match&&Qs.request&&Qs.controller){let ts=(await zd(Qs.request,Qs.path,Qs.matches,ui,Qs.key))[Qs.match.route.id];return{[Qs.key]:ts}}else return Promise.resolve({[Qs.key]:{type:"error",error:Si(404,{pathname:Qs.path})}})})),js=await Ds,Ji=(await Ls).reduce((Qs,ws)=>Object.assign(Qs,ws),{});return{loaderResults:js,fetcherResults:Ji}}function df(){Wa=!0,fl.forEach((mr,$r)=>{Va.has($r)&&Ho.add($r),Hl($r)})}function yc(mr,$r,Ot={}){let ci=new Map(Lr.fetchers);ci.set(mr,$r),nu({fetchers:ci},{flushSync:(Ot&&Ot.flushSync)===!0})}function nd(mr,$r,Ot,ci={}){let ui=an(Lr.matches,$r),Ds=new Map(Lr.fetchers);os(Ds,mr),nu({errors:{[ui.route.id]:Ot},fetchers:Ds},{flushSync:(ci&&ci.flushSync)===!0})}function wh(mr){return Pl.set(mr,(Pl.get(mr)||0)+1),hl.has(mr)&&hl.delete(mr),Lr.fetchers.get(mr)||nr}function $d(mr,$r){Hl(mr,$r?.reason),yc(mr,_n(null))}function os(mr,$r){let Ot=Lr.fetchers.get($r);Va.has($r)&&!(Ot&&Ot.state==="loading"&&bu.has($r))&&Hl($r),fl.delete($r),bu.delete($r),Su.delete($r),hl.delete($r),Ho.delete($r),mr.delete($r)}function Jf(mr){let $r=(Pl.get(mr)||0)-1;$r<=0?(Pl.delete(mr),hl.add(mr)):Pl.set(mr,$r),nu({fetchers:new Map(Lr.fetchers)})}function Hl(mr,$r){let Ot=Va.get(mr);Ot&&(Ot.abort($r),Va.delete(mr))}function ff(mr,$r){for(let Ot of mr){let ci=$r.get(Ot);W(ci,`Expected fetcher: ${Ot}`);let ui=_n(ci.data);$r.set(Ot,ui)}}function Td(mr){let $r=[],Ot=!1;for(let ci of Su){let ui=mr.get(ci);W(ui,`Expected fetcher: ${ci}`),ui.state==="loading"&&(Su.delete(ci),$r.push(ci),Ot=!0)}return ff($r,mr),Ot}function Zf(mr,$r){let Ot=[];for(let[ci,ui]of bu)if(ui<mr){let Ds=$r.get(ci);W(Ds,`Expected fetcher: ${ci}`),Ds.state==="loading"&&(Hl(ci),bu.delete(ci),Ot.push(ci))}return ff(Ot,$r),Ot.length>0}function ro(mr,$r){let Ot=Lr.blockers.get(mr)||cr;return qc.get(mr)!==$r&&qc.set(mr,$r),Ot}function Hd(mr){Lr.blockers.delete(mr),qc.delete(mr)}function bc(mr,$r){let Ot=Lr.blockers.get(mr)||cr;W(Ot.state==="unblocked"&&$r.state==="blocked"||Ot.state==="blocked"&&$r.state==="blocked"||Ot.state==="blocked"&&$r.state==="proceeding"||Ot.state==="blocked"&&$r.state==="unblocked"||Ot.state==="proceeding"&&$r.state==="unblocked",`Invalid blocker state transition: ${Ot.state} -> ${$r.state}`);let ci=new Map(Lr.blockers);ci.set(mr,$r),nu({blockers:ci})}function id({currentLocation:mr,nextLocation:$r,historyAction:Ot}){if(qc.size===0)return;qc.size>1&&Z(!1,"A router only supports one blocker at a time");let ci=Array.from(qc.entries()),[ui,Ds]=ci[ci.length-1],Ls=Lr.blockers.get(ui);if(!(Ls&&Ls.state==="proceeding")&&Ds({currentLocation:mr,nextLocation:$r,historyAction:Ot}))return ui}function Sc(mr){let $r=Si(404,{pathname:mr}),Ot=Pe.activeRoutes,{matches:ci,route:ui}=ai(Ot);return{notFoundMatches:ci,route:ui,error:$r}}function hf(mr,$r,Ot){if(Qr=mr,Vt=$r,jt=Ot||null,!zr&&Lr.navigation===us){zr=!0;let ci=wd(Lr.location,Lr.matches);ci!=null&&nu({restoreScrollPosition:ci})}return()=>{Qr=null,Vt=null,jt=null}}function pf(mr,$r){return jt&&jt(mr,$r.map(ci=>kt(ci,Lr.loaderData)))||mr.key}function jf(mr,$r){if(Qr&&Vt){let Ot=pf(mr,$r);Qr[Ot]=Vt()}}function wd(mr,$r){if(Qr){let Ot=pf(mr,$r),ci=Qr[Ot];if(typeof ci=="number")return ci}return null}function zu(mr,$r,Ot){if(A.patchRoutesOnNavigation){let ci=Pe.branches;if(mr){if(Object.keys(mr[0].params).length>0)return{active:!0,matches:mt($r,Ot,Qe,!0,ci)}}else return{active:!0,matches:mt($r,Ot,Qe,!0,ci)||[]}}return{active:!1,matches:null}}async function sd(mr,$r,Ot,ci){if(!A.patchRoutesOnNavigation)return{type:"success",matches:mr};let ui=mr;for(;;){let Ds=Se;try{await A.patchRoutesOnNavigation({signal:Ot,path:$r,matches:ui,fetcherKey:ci,patch:(Qs,ws)=>{Ot.aborted||fr(Qs,ws,Pe,Ds,fe,!1)}})}catch(Qs){return{type:"error",error:Qs,partialMatches:ui}}if(Ot.aborted)return{type:"aborted"};let Ls=Pe.branches,js=mt(Pe.activeRoutes,$r,Qe,!1,Ls),Ji=null;if(js){if(Object.keys(js[0].params).length===0)return{type:"success",matches:js};if(Ji=mt(Pe.activeRoutes,$r,Qe,!0,Ls),!(Ji&&ui.length<Ji.length&&xu(ui,Ji.slice(0,ui.length))))return{type:"success",matches:js}}if(Ji||(Ji=mt(Pe.activeRoutes,$r,Qe,!0,Ls)),!Ji||xu(ui,Ji))return{type:"success",matches:null};ui=Ji}}function xu(mr,$r){return mr.length===$r.length&&mr.every((Ot,ci)=>Ot.route.id===$r[ci].route.id)}function Wd(mr){Se={},Pe.setHmrRoutes($e(mr,fe,void 0,Se))}
755function Wl(mr,$r,Ot=!1){fr(mr,$r,Pe,Se,fe,Ot),Pe.hasHMRRoutes||nu({})}return Ki={get basename(){return Qe},get future(){return At},get state(){return Lr},get routes(){return Pe.stableRoutes},get branches(){return Pe.branches},get manifest(){return Se},get window(){return N},initialize:Pf,subscribe:Ud,enableScrollRestoration:hf,navigate:td,fetch:cf,revalidate:Df,createHref:mr=>A.history.createHref(mr),encodeLocation:mr=>A.history.encodeLocation(mr),getFetcher:wh,resetFetcher:$d,deleteFetcher:Jf,dispose:Rf,getBlocker:ro,deleteBlocker:Hd,patchRoutes:Wl,_internalFetchControllers:Va,_internalSetRoutes:Wd,_internalSetStateDoNotUseOrYouWillBreakYourApp(mr){nu(mr)}},A.instrumentations&&(Ki=oe(Ki,A.instrumentations.map(mr=>mr.router).filter(Boolean))),Ki}function vi(A,N){W(A.length>0,"You must provide a non-empty routes array to createStaticHandler");let K={},te=(N?N.basename:null)||"/",de=N?.mapRouteProperties||ln,fe=de,Se={...N?.future};if(N?.instrumentations){let jt=N.instrumentations;fe=Vt=>({...de(Vt),...Es(jt.map(zr=>zr.route).filter(Boolean),Vt)})}let Pe=$e(A,fe,void 0,K),Qe=Ut(Pe);async function ut(jt,{requestContext:Vt,filterMatchesToLoad:zr,skipLoaderErrorBubbling:_r,skipRevalidation:Xn,dataStrategy:ni,generateMiddlewareResponse:zn,normalizePath:hi}={}){let Ki=hi||xs,Lr=jt.method,li=le("",Ki(jt),null,"default"),_s=mt(Pe,li,te,!1,Qe);if(Vt=Vt??new ge,!Cr(Lr)&&Lr!=="HEAD"){let Ei=Si(405,{method:Lr}),{matches:Us,route:fs}=ai(Pe),Ws={basename:te,location:li,matches:Us,loaderData:{},actionData:null,errors:{[fs.id]:Ei},statusCode:Ei.status,loaderHeaders:{},actionHeaders:{}};return zn?zn(()=>Promise.resolve(Ws)):Ws}else if(!_s){let Ei=Si(404,{pathname:li.pathname}),{matches:Us,route:fs}=ai(Pe),Ws={basename:te,location:li,matches:Us,loaderData:{},actionData:null,errors:{[fs.id]:Ei},statusCode:Ei.status,loaderHeaders:{},actionHeaders:{}};return zn?zn(()=>Promise.resolve(Ws)):Ws}if(zn){W(Vt instanceof ge,"When using middleware in `staticHandler.query()`, any provided `requestContext` must be an instance of `RouterContextProvider`");try{await la(_s,K,fe);let Ei,Us=await io({request:jt,url:cs(jt,li),pattern:qn(_s),matches:_s,params:_s[0].params,context:Vt},async()=>await zn(async(Ws,Ss={})=>{let Wa=await Pt(Ws,li,_s,Vt,ni||null,_r===!0,null,"filterMatchesToLoad"in Ss?Ss.filterMatchesToLoad??null:zr??null,Xn===!0);return ct(Wa)?Wa:(Ei={location:li,basename:te,...Wa},Ei)}),async(fs,Ws)=>{if(tr(fs))return fs;if(ct(fs))try{fs=new gi(fs.status,fs.statusText,await Za(fs))}catch(Ss){fs=Ss}if(gt(fs)&&(fs=Qi(fs)),Ei){Ws in Ei.loaderData&&(Ei.loaderData[Ws]=void 0);let Ss=Wi(Pe,Ei,fs,_r?Ws:an(_s,Ws).route.id);return zn(()=>Promise.resolve(Ss))}else{let Ss=_r?Ws:an(_s,_s.find(Ho=>Ho.route.id===Ws||Ho.route.loader)?.route.id||Ws).route.id,Wa={matches:_s,location:li,basename:te,loaderData:{},actionData:null,errors:{[Ss]:fs},statusCode:Hi(fs)?fs.status:500,actionHeaders:{},loaderHeaders:{}};return zn(()=>Promise.resolve(Wa))}});return W(ct(Us),"Expected a response in query()"),Us}catch(Ei){if(ct(Ei))return Ei;throw Ei}}let ga=await Pt(jt,li,_s,Vt,ni||null,_r===!0,null,zr||null,Xn===!0);return ct(ga)?ga:{location:li,basename:te,...ga}}async function At(jt,{routeId:Vt,requestContext:zr,dataStrategy:_r,generateMiddlewareResponse:Xn,normalizePath:ni}={}){let zn=ni||xs,hi=jt.method,Ki=le("",zn(jt),null,"default"),Lr=mt(Pe,Ki,te,!1,Qe);if(zr=zr??new ge,!Cr(hi)&&hi!=="HEAD"&&hi!=="OPTIONS")throw Si(405,{method:hi});if(!Lr)throw Si(404,{pathname:Ki.pathname});let li=Vt?Lr.find(Ei=>Ei.route.id===Vt):Hn(Lr,Ki);if(Vt&&!li)throw Si(403,{pathname:Ki.pathname,routeId:Vt});if(!li)throw Si(404,{pathname:Ki.pathname});if(Xn)return W(zr instanceof ge,"When using middleware in `staticHandler.queryRoute()`, any provided `requestContext` must be an instance of `RouterContextProvider`"),await la(Lr,K,fe),await io({request:jt,url:cs(jt,Ki),pattern:qn(Lr),matches:Lr,params:Lr[0].params,context:zr},async()=>await Xn(async fs=>{let Ws=await Pt(fs,Ki,Lr,zr,_r||null,!1,li,null,!1),Ss=ga(Ws);return ct(Ss)?Ss:typeof Ss=="string"?new Response(Ss):Response.json(Ss)}),Us=>{if(gt(Us))return Promise.resolve(ya(Us));if(ct(Us))return Promise.resolve(Us);throw Us});let _s=await Pt(jt,Ki,Lr,zr,_r||null,!1,li,null,!1);return ga(_s);function ga(Ei){if(ct(Ei))return Ei;let Us=Ei.errors?Object.values(Ei.errors)[0]:void 0;if(Us!==void 0)throw Us;if(Ei.actionData)return Object.values(Ei.actionData)[0];if(Ei.loaderData)return Object.values(Ei.loaderData)[0]}}async function Pt(jt,Vt,zr,_r,Xn,ni,zn,hi,Ki){W(jt.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(kr(jt.method))return await Fr(jt,Vt,zr,zn||Hn(zr,Vt),_r,Xn,ni,zn!=null,hi,Ki);let Lr=await vr(jt,Vt,zr,_r,Xn,ni,zn,hi);return ct(Lr)?Lr:{...Lr,actionData:null,actionHeaders:{}}}catch(Lr){if(Oo(Lr)&&ct(Lr.result)){if(Lr.type==="error")throw Lr.result;return Lr.result}if(tr(Lr))return Lr;throw Lr}}async function Fr(jt,Vt,zr,_r,Xn,ni,zn,hi,Ki,Lr){let li;if(!_r.route.action&&!_r.route.lazy){let Ei=Si(405,{method:jt.method,pathname:new URL(jt.url).pathname,routeId:_r.route.id});if(hi)throw Ei;li={type:"error",error:Ei}}else{let Ei=pa(fe,K,jt,Vt,zr,_r,[],Xn);li=(await Qr(jt,Vt,Ei,hi,Xn,ni))[_r.route.id],jt.signal.aborted&&ks(jt,hi)}if(Ve(li))throw new Response(null,{status:li.response.status,headers:{Location:li.response.headers.get("Location")}});if(hi){if(Ne(li))throw li.error;return{matches:[_r],loaderData:{},actionData:{[_r.route.id]:li.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{}}}if(Lr)if(Ne(li)){let Ei=zn?_r:an(zr,_r.route.id);return{statusCode:Hi(li.error)?li.error.status:li.statusCode!=null?li.statusCode:500,actionData:null,actionHeaders:{...li.headers?{[_r.route.id]:li.headers}:{}},matches:zr,loaderData:{},errors:{[Ei.route.id]:li.error},loaderHeaders:{}}}else return{actionData:{[_r.route.id]:li.data},actionHeaders:li.headers?{[_r.route.id]:li.headers}:{},matches:zr,loaderData:{},errors:null,statusCode:li.statusCode||200,loaderHeaders:{}};
755let _s=new Request(jt.url,{headers:jt.headers,redirect:jt.redirect,signal:jt.signal});if(Ne(li)){let Ei=zn?_r:an(zr,_r.route.id);return{...await vr(_s,Vt,zr,Xn,ni,zn,null,Ki,[Ei.route.id,li]),statusCode:Hi(li.error)?li.error.status:li.statusCode!=null?li.statusCode:500,actionData:null,actionHeaders:{...li.headers?{[_r.route.id]:li.headers}:{}}}}return{...await vr(_s,Vt,zr,Xn,ni,zn,null,Ki),actionData:{[_r.route.id]:li.data},...li.statusCode?{statusCode:li.statusCode}:{},actionHeaders:li.headers?{[_r.route.id]:li.headers}:{}}}async function vr(jt,Vt,zr,_r,Xn,ni,zn,hi,Ki){let Lr=zn!=null;if(Lr&&!zn?.route.loader&&!zn?.route.lazy)throw Si(400,{method:jt.method,pathname:new URL(jt.url).pathname,routeId:zn?.route.id});let li;if(zn)li=pa(fe,K,jt,Vt,zr,zn,[],_r);else{let Ei=Ki&&Ne(Ki[1])?zr.findIndex(fs=>fs.route.id===Ki[0])-1:void 0,Us=qn(zr);li=zr.map((fs,Ws)=>Ei!=null&&Ws>Ei?va(fe,K,jt,Vt,Us,fs,[],_r,!1):va(fe,K,jt,Vt,Us,fs,[],_r,(fs.route.loader||fs.route.lazy)!=null&&(!hi||hi(fs))))}if(!Xn&&!li.some(Ei=>Ei.shouldLoad))return{matches:zr,loaderData:{},errors:Ki&&Ne(Ki[1])?{[Ki[0]]:Ki[1].error}:null,statusCode:200,loaderHeaders:{}};let _s=await Qr(jt,Vt,li,Lr,_r,Xn);return jt.signal.aborted&&ks(jt,Lr),{...Nt(zr,_s,Ki,!0,ni),matches:zr}}async function Qr(jt,Vt,zr,_r,Xn,ni){let zn=await aa(ni||ca,jt,Vt,zr,null,Xn,!0),hi={};return await Promise.all(zr.map(async Ki=>{if(!(Ki.route.id in zn))return;let Lr=zn[Ki.route.id];if(Ta(Lr)){let li=Lr.result;throw Wo(li,jt,Ki.route.id,zr,te)}if(_r){if(ct(Lr.result))throw Lr;if(gt(Lr.result))throw ya(Lr.result)}hi[Ki.route.id]=await $a(Lr)})),hi}return{dataRoutes:Pe,_internalRouteBranches:Qe,query:ut,queryRoute:At}}function Wi(A,N,K,te){let de=te||N._deepestRenderedBoundaryId||A[0].id;return{...N,statusCode:Hi(K)?K.status:500,errors:{[de]:K}}}function ks(A,N){if(A.signal.reason!==void 0)throw A.signal.reason;let K=N?"queryRoute":"query";throw new Error(`${K}() call aborted without an \`AbortSignal.reason\`: ${A.method} ${A.url}`)}function ss(A){return A!=null&&("formData"in A&&A.formData!=null||"body"in A&&A.body!==void 0)}function xs(A){let N=new URL(A.url);return{pathname:N.pathname,search:N.search,hash:N.hash}}function wi(A,N,K,te,de,fe){let Se,Pe;if(de){Se=[];for(let ut of N)if(Se.push(ut),ut.route.id===de){Pe=ut;break}}else Se=N,Pe=N[N.length-1];let Qe=Rt(te||".",it(Se),Qt(A.pathname,K)||A.pathname,fe==="path");if(te==null&&(Qe.search=A.search,Qe.hash=A.hash),(te==null||te===""||te===".")&&Pe){let ut=Bn(Qe.search);if(Pe.route.index&&!ut)Qe.search=Qe.search?Qe.search.replace(/^\?/,"?index&"):"?index";else if(!Pe.route.index&&ut){let At=new URLSearchParams(Qe.search),Pt=At.getAll("index");At.delete("index"),Pt.filter(vr=>vr).forEach(vr=>At.append("index",vr));let Fr=At.toString();Qe.search=Fr?`?${Fr}`:""}}return K!=="/"&&(Qe.pathname=Br({basename:K,pathname:Qe.pathname})),he(Qe)}function Ns(A,N,K){if(!K||!ss(K))return{path:N};if(K.formMethod&&!Cr(K.formMethod))return{path:N,error:Si(405,{method:K.formMethod})};let te=()=>({path:N,error:Si(400,{type:"invalid-body"})}),fe=(K.formMethod||"get").toUpperCase(),Se=Vi(N);if(K.body!==void 0){if(K.formEncType==="text/plain"){if(!kr(fe))return te();let Pt=typeof K.body=="string"?K.body:K.body instanceof FormData||K.body instanceof URLSearchParams?Array.from(K.body.entries()).reduce((Fr,[vr,Qr])=>`${Fr}${vr}=${Qr} 756`,""):String(K.body);return{path:N,submission:{formMethod:fe,formAction:Se,formEncType:K.formEncType,formData:void 0,json:void 0,text:Pt}}}else if(K.formEncType==="application/json"){if(!kr(fe))return te();try{let Pt=typeof K.body=="string"?JSON.parse(K.body):K.body;return{path:N,submission:{formMethod:fe,formAction:Se,formEncType:K.formEncType,formData:void 0,json:Pt,text:void 0}}}catch{return te()}}}W(typeof FormData=="function","FormData is not available in this environment");let Pe,Qe;if(K.formData)Pe=Me(K.formData),Qe=K.formData;else if(K.body instanceof FormData)Pe=Me(K.body),Qe=K.body;else if(K.body instanceof URLSearchParams)Pe=K.body,Qe=We(Pe);else if(K.body==null)Pe=new URLSearchParams,Qe=new FormData;else try{Pe=new URLSearchParams(K.body),Qe=We(Pe)}catch{return te()}let ut={formMethod:fe,formAction:Se,formEncType:K&&K.formEncType||"application/x-www-form-urlencoded",formData:Qe,json:void 0,text:void 0};if(kr(ut.formMethod))return{path:N,submission:ut};let At=me(N);return A&&At.search&&Bn(At.search)&&Pe.append("index",""),At.search=`?${Pe}`,{path:he(At),submission:ut}}function Cs(A,N,K,te,de,fe,Se,Pe,Qe,ut,At,Pt,Fr,vr,Qr,jt,Vt,zr,_r,Xn,ni,zn){let hi=ni?Ne(ni[1])?ni[1].error:ni[1].data:void 0,Ki=de.createURL(fe.location),Lr=de.createURL(Qe),li;if(At&&fe.errors){let Ss=Object.keys(fe.errors)[0];li=Se.findIndex(Wa=>Wa.route.id===Ss)}else if(ni&&Ne(ni[1])){let Ss=ni[0];li=Se.findIndex(Wa=>Wa.route.id===Ss)-1}let _s=ni?ni[1].statusCode:void 0,ga=_s&&_s>
756=400,Ei={currentUrl:Ki,currentParams:fe.matches[0]?.params||{},nextUrl:Lr,nextParams:Se[0].params,...Pe,actionResult:hi,actionStatus:_s},Us=qn(Se),fs=Se.map((Ss,Wa)=>{let{route:Ho}=Ss,Va=null;if(li!=null&&Wa>li)Va=!1;else if(Ho.lazy)Va=!0;else if(!as(Ho))Va=!1;else if(At){let{shouldLoad:Su}=Os(Ho,fe.loaderData,fe.errors);Va=Su}else ce(fe.loaderData,fe.matches[Wa],Ss)&&(Va=!0);if(Va!==null)return va(K,te,A,Qe,Us,Ss,ut,N,Va);let Jo=!1;typeof zn=="boolean"?Jo=zn:ga?Jo=!1:(Pt||Ki.pathname+Ki.search===Lr.pathname+Lr.search||Ki.search!==Lr.search||He(fe.matches[Wa],Ss))&&(Jo=!0);let ju={...Ei,defaultShouldRevalidate:Jo},bu=Lt(Ss,ju);return va(K,te,A,Qe,Us,Ss,ut,N,bu,ju,zn)}),Ws=[];return Qr.forEach((Ss,Wa)=>{if(At||!Se.some(Pl=>Pl.route.id===Ss.routeId)||vr.has(Wa))return;let Ho=fe.fetchers.get(Wa),Va=Ho&&Ho.state!=="idle"&&Ho.data===void 0,Jo=mt(Vt,Ss.path,zr??"/",!1,Xn);if(!Jo){if(_r&&Va)return;Ws.push({key:Wa,routeId:Ss.routeId,path:Ss.path,matches:null,match:null,request:null,controller:null});return}if(jt.has(Wa))return;let ju=Hn(Jo,Ss.path),bu=new AbortController,Su=Hs(de,Ss.path,bu.signal),fl=null;if(Fr.has(Wa))Fr.delete(Wa),fl=pa(K,te,Su,Ss.path,Jo,ju,ut,N);else if(Va)Pt&&(fl=pa(K,te,Su,Ss.path,Jo,ju,ut,N));else{let Pl;typeof zn=="boolean"?Pl=zn:ga?Pl=!1:Pl=Pt;let hl={...Ei,defaultShouldRevalidate:Pl};Lt(ju,hl)&&(fl=pa(K,te,Su,Ss.path,Jo,ju,ut,N,hl))}fl&&Ws.push({key:Wa,routeId:Ss.routeId,path:Ss.path,matches:fl,match:ju,request:Su,controller:bu})}),{dsMatches:fs,revalidatingFetchers:Ws}}function as(A){return A.loader!=null||A.middleware!=null&&A.middleware.length>0}function Os(A,N,K){if(A.lazy)return{shouldLoad:!0,renderFallback:!0};if(!as(A))return{shouldLoad:!1,renderFallback:!1};let te=N!=null&&A.id in N,de=K!=null&&K[A.id]!==void 0;if(!te&&de)return{shouldLoad:!1,renderFallback:!1};if(typeof A.loader=="function"&&A.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!te};let fe=!te&&!de;return{shouldLoad:fe,renderFallback:fe}}function ce(A,N,K){let te=!N||K.route.id!==N.route.id,de=!A.hasOwnProperty(K.route.id);return te||de}function He(A,N){let K=A.route.path;return A.pathname!==N.pathname||K!=null&&K.endsWith("*")&&A.params["*"]!==N.params["*"]}function Lt(A,N){if(A.route.shouldRevalidate){let K=A.route.shouldRevalidate(N);if(typeof K=="boolean")return K}return N.defaultShouldRevalidate}function fr(A,N,K,te,de,fe){let Se;if(A){let ut=te[A];W(ut,`No route found to patch children into: routeId = ${A}`),ut.children||(ut.children=[]),Se=ut.children}else Se=K.activeRoutes;let Pe=[],Qe=[];if(N.forEach(ut=>{let At=Se.find(Pt=>un(ut,Pt));At?Qe.push({existingRoute:At,newRoute:ut}):Pe.push(ut)}),Pe.length>0){let ut=$e(Pe,de,[A||"_","patch",String(Se?.length||"0")],te);Se.push(...ut)}if(fe&&Qe.length>0)for(let ut=0;ut<Qe.length;ut++){let{existingRoute:At,newRoute:Pt}=Qe[ut],Fr=At,[vr]=$e([Pt],de,[],{},!0);Object.assign(Fr,{element:vr.element?vr.element:Fr.element,errorElement:vr.errorElement?vr.errorElement:Fr.errorElement,hydrateFallbackElement:vr.hydrateFallbackElement?vr.hydrateFallbackElement:Fr.hydrateFallbackElement})}K.hasHMRRoutes||K.setRoutes([...K.activeRoutes])}function un(A,N){return"id"in A&&"id"in N&&A.id===N.id?!0:A.index===N.index&&A.path===N.path&&A.caseSensitive===N.caseSensitive?(!A.children||A.children.length===0)&&(!N.children||N.children.length===0)?!0:A.children?.every((K,te)=>N.children?.some(de=>un(K,de)))??!1:!1}var Qn=new WeakMap,Xi=({key:A,route:N,manifest:K,mapRouteProperties:te})=>{let de=K[N.id];if(W(de,"No route found in manifest"),!de.lazy||typeof de.lazy!="object")return;let fe=de.lazy[A];if(!fe)return;let Se=Qn.get(de);Se||(Se={},Qn.set(de,Se));let Pe=Se[A];if(Pe)return Pe;let Qe=(async()=>{let ut=Ie(A),Pt=de[A]!==void 0&&A!=="hasErrorBoundary";if(ut)Z(!ut,"Route property "+A+" is not a supported lazy route property. This property will be ignored."),Se[A]=Promise.resolve();else if(Pt)Z(!1,`Route "${de.id}" has a static property "${A}" defined. The lazy property will be ignored.`);else{let Fr=await fe();Fr!=null&&(Object.assign(de,{[A]:Fr}),Object.assign(de,te(de)))}typeof de.lazy=="object"&&(de.lazy[A]=void 0,Object.values(de.lazy).every(Fr=>Fr===void 0)&&(de.lazy=void 0))})();return Se[A]=Qe,Qe},qi=new WeakMap;function ls(A,N,K,te,de){let fe=K[A.id];if(W(fe,"No route found in manifest"),!A.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof A.lazy=="function"){let At=qi.get(fe);if(At)return{lazyRoutePromise:At,lazyHandlerPromise:At};let Pt=(async()=>{W(typeof A.lazy=="function","No lazy route function found");let Fr=await A.lazy(),vr={};for(let Qr in Fr){let jt=Fr[Qr];if(jt===void 0)continue;let Vt=ye(Qr),_r=fe[Qr]!==void 0&&Qr!=="hasErrorBoundary";Vt?Z(!Vt,"Route property "+Qr+" is not a supported property to be returned from a lazy route function. This property will be ignored."):_r?Z(!_r,`Route "${fe.id}" has a static property "${Qr}" defined but its lazy function is also returning a value for this property. The lazy route property "${Qr}" will be ignored.`):vr[Qr]=jt}Object.assign(fe,vr),Object.assign(fe,{...te(fe),lazy:void 0})})();return qi.set(fe,Pt),Pt.catch(()=>{}),{lazyRoutePromise:Pt,lazyHandlerPromise:Pt}}let Se=Object.keys(A.lazy),Pe=[],Qe;for(let At of Se){if(de&&de.includes(At))continue;let Pt=Xi({key:At,route:A,manifest:K,mapRouteProperties:te});Pt&&(Pe.push(Pt),At===N&&(Qe=Pt))}let ut=Pe.length>0?Promise.all(Pe).then(()=>{}):void 0;return ut?.catch(()=>{}),Qe?.catch(()=>{}),{lazyRoutePromise:ut,lazyHandlerPromise:Qe}}function ps(A){return A!==void 0}function la(A,N,K){let te=A.map(({route:de})=>
756{if(!(typeof de.lazy!="object"||!de.lazy.middleware))return Xi({key:"middleware",route:de,manifest:N,mapRouteProperties:K})}).filter(ps);return te.length>0?Promise.all(te):void 0}async function ca(A){let N=A.matches.filter(de=>de.shouldLoad),K={};return(await Promise.all(N.map(de=>de.resolve()))).forEach((de,fe)=>{K[N[fe].route.id]=de}),K}async function za(A){return A.matches.some(N=>N.route.middleware)?Is(A,()=>ca(A)):ca(A)}function io(A,N,K){return yr(A,N,te,ct,K);function te(de){return gt(de)?ya(de):de}}function Is(A,N){return yr(A,N,te=>{if(tr(te))throw te;return te},Do,K);function K(te,de,fe){if(fe)return Promise.resolve(Object.assign(fe.value,{[de]:{type:"error",result:te}}));{let{matches:Se}=A,Pe=Math.min(Math.max(Se.findIndex(ut=>ut.route.id===de),0),Math.max(Se.findIndex(ut=>ut.shouldCallHandler()),0)),Qe=an(Se,Se[Pe].route.id).route.id;return Promise.resolve({[Qe]:{type:"error",result:te}})}}}async function yr(A,N,K,te,de){let{matches:fe,...Se}=A,Pe=fe.flatMap(ut=>ut.route.middleware?ut.route.middleware.map(At=>[ut.route.id,At]):[]);return await Fa(Se,Pe,N,K,te,de)}async function Fa(A,N,K,te,de,fe,Se=0){let{request:Pe}=A;if(Pe.signal.aborted)throw Pe.signal.reason??new Error(`Request aborted: ${Pe.method} ${Pe.url}`);let Qe=N[Se];if(!Qe)return await K();let[ut,At]=Qe,Pt,Fr=async()=>{if(Pt)throw new Error("You may only call `next()` once per middleware");try{return Pt={value:await Fa(A,N,K,te,de,fe,Se+1)},Pt.value}catch(vr){return Pt={value:await fe(vr,ut,Pt)},Pt.value}};try{let vr=await At(A,Fr),Qr=vr!=null?te(vr):void 0;return de(Qr)?Qr:Pt?Qr??Pt.value:(Pt={value:await Fr()},Pt.value)}catch(vr){return await fe(vr,ut,Pt)}}function on(A,N,K,te,de){let fe=Xi({key:"middleware",route:te.route,manifest:N,mapRouteProperties:A}),Se=ls(te.route,kr(K.method)?"action":"loader",N,A,de);return{middleware:fe,route:Se.lazyRoutePromise,handler:Se.lazyHandlerPromise}}function va(A,N,K,te,de,fe,Se,Pe,Qe,ut=null,At){let Pt=!1,Fr=on(A,N,K,fe,Se);return{...fe,_lazyPromises:Fr,shouldLoad:Qe,shouldRevalidateArgs:ut,shouldCallHandler(vr){return Pt=!0,ut?typeof At=="boolean"?Lt(fe,{...ut,defaultShouldRevalidate:At}):typeof vr=="boolean"?Lt(fe,{...ut,defaultShouldRevalidate:vr}):Lt(fe,ut):Qe},resolve(vr){let{lazy:Qr,loader:jt,middleware:Vt}=fe.route,zr=Pt||Qe||vr&&!kr(K.method)&&(Qr||jt),_r=Vt&&Vt.length>0&&!jt&&!Qr;return zr&&(kr(K.method)||!_r)?ta({request:K,path:te,pattern:de,match:fe,lazyHandlerPromise:Fr?.handler,lazyRoutePromise:Fr?.route,handlerOverride:vr,scopedContext:Pe}):Promise.resolve({type:"data",result:void 0})}}}function pa(A,N,K,te,de,fe,Se,Pe,Qe=null){return de.map(ut=>ut.route.id!==fe.route.id?{...ut,shouldLoad:!1,shouldRevalidateArgs:Qe,shouldCallHandler:()=>!1,_lazyPromises:on(A,N,K,ut,Se),resolve:()=>Promise.resolve({type:"data",result:void 0})}:va(A,N,K,te,qn(de),ut,Se,Pe,!0,Qe))}async function aa(A,N,K,te,de,fe,Se){te.some(At=>At._lazyPromises?.middleware)&&await Promise.all(te.map(At=>At._lazyPromises?.middleware));let Pe={request:N,url:cs(N,K),pattern:qn(te),params:te[0].params,context:fe,matches:te},ut=await A({...Pe,fetcherKey:de,runClientMiddleware:Se?()=>{throw new Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`")}:At=>{let Pt=Pe;return Is(Pt,()=>At({...Pt,fetcherKey:de,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(te.flatMap(At=>[At._lazyPromises?.handler,At._lazyPromises?.route]))}catch{}return ut}async function ta({request:A,path:N,pattern:K,match:te,lazyHandlerPromise:de,lazyRoutePromise:fe,handlerOverride:Se,scopedContext:Pe}){let Qe,ut,At=kr(A.method),Pt=At?"action":"loader",Fr=vr=>{let Qr,jt=new Promise((_r,Xn)=>Qr=Xn);ut=()=>Qr(),A.signal.addEventListener("abort",ut);let Vt=_r=>typeof vr!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${Pt}" [routeId: ${te.route.id}]`)):vr({request:A,url:cs(A,N),pattern:K,params:te.params,context:Pe},..._r!==void 0?[_r]:[]),zr=(async()=>{try{return{type:"data",result:await(Se?Se(Xn=>Vt(Xn)):Vt())}}catch(_r){return{type:"error",result:_r}}})();return Promise.race([zr,jt])};try{let vr=At?te.route.action:te.route.loader;if(de||fe)if(vr){let Qr,[jt]=await Promise.all([Fr(vr).catch(Vt=>{Qr=Vt}),de,fe]);if(Qr!==void 0)throw Qr;Qe=jt}else{await de;let Qr=At?te.route.action:te.route.loader;if(Qr)[Qe]=await Promise.all([Fr(Qr),fe]);
756else if(Pt==="action"){let jt=new URL(A.url),Vt=jt.pathname+jt.search;throw Si(405,{method:A.method,pathname:Vt,routeId:te.route.id})}else return{type:"data",result:void 0}}else if(vr)Qe=await Fr(vr);else{let Qr=new URL(A.url),jt=Qr.pathname+Qr.search;throw Si(404,{pathname:jt})}}catch(vr){return{type:"error",result:vr}}finally{ut&&A.signal.removeEventListener("abort",ut)}return Qe}async function Za(A){let N=A.headers.get("Content-Type");return N&&/\bapplication\/json\b/.test(N)?A.body==null?null:A.json():A.text()}async function $a(A){let{result:N,type:K}=A;if(ct(N)){let te;try{te=await Za(N)}catch(de){return{type:"error",error:de}}return K==="error"?{type:"error",error:new gi(N.status,N.statusText,te),statusCode:N.status,headers:N.headers}:{type:"data",data:te,statusCode:N.status,headers:N.headers}}return K==="error"?gt(N)?N.data instanceof Error?{type:"error",error:N.data,statusCode:N.init?.status,headers:N.init?.headers?new Headers(N.init.headers):void 0}:{type:"error",error:Qi(N),statusCode:Hi(N)?N.status:void 0,headers:N.init?.headers?new Headers(N.init.headers):void 0}:{type:"error",error:N,statusCode:Hi(N)?N.status:void 0}:gt(N)?{type:"data",data:N.data,statusCode:N.init?.status,headers:N.init?.headers?new Headers(N.init.headers):void 0}:{type:"data",data:N}}function Wo(A,N,K,te,de){let fe=A.headers.get("Location");if(W(fe,"Redirects returned/thrown from loaders/actions must have a Location header"),!Tt(fe)){let Se=te.slice(0,te.findIndex(Pe=>Pe.route.id===K)+1);fe=wi(new URL(N.url),Se,de,fe),A.headers.set("Location",fe)}return A}var Co=null;function Ro(A,N,K,te){if(Tt(A)){let de=A,fe=de.startsWith("//")?new URL(N.protocol+de):new URL(de);if(Co.includes(fe.protocol))throw new Error("Invalid redirect location");let Se=Qt(fe.pathname,K)!=null;if(fe.origin===N.origin&&Se)return Zr(fe.pathname)+fe.search+fe.hash}try{let de=te.createURL(A);if(Co.includes(de.protocol))throw new Error("Invalid redirect location")}catch{}return A}function Hs(A,N,K,te){let de=A.createURL(Vi(N)).toString(),fe={signal:K};if(te&&kr(te.formMethod)){let{formMethod:Se,formEncType:Pe}=te;fe.method=Se.toUpperCase(),Pe==="application/json"?(fe.headers=new Headers({"Content-Type":Pe}),fe.body=JSON.stringify(te.json)):Pe==="text/plain"?fe.body=te.text:Pe==="application/x-www-form-urlencoded"&&te.formData?fe.body=Me(te.formData):fe.body=te.formData}return new Request(de,fe)}function cs(A,N){let K=new URL(A.url),te=typeof N=="string"?me(N):N;if(K.pathname=te.pathname||"/",te.search){let de=new URLSearchParams(te.search),fe=de.getAll("index");de.delete("index");for(let Se of fe.filter(Boolean))de.append("index",Se);K.search=de.size?`?${de.toString()}`:""}else K.search="";return K.hash=te.hash||"",K}function Me(A){let N=new URLSearchParams;for(let[K,te]of A.entries())N.append(K,typeof te=="string"?te:te.name);return N}function We(A){let N=new FormData;for(let[K,te]of A.entries())N.append(K,te);return N}function Nt(A,N,K,te=!1,de=!1){let fe={},Se=null,Pe,Qe=!1,ut={},At=K&&Ne(K[1])?K[1].error:void 0;return A.forEach(Pt=>{if(!(Pt.route.id in N))return;let Fr=Pt.route.id,vr=N[Fr];if(W(!Ve(vr),"Cannot handle redirect results in processLoaderData"),Ne(vr)){let Qr=vr.error;if(At!==void 0&&(Qr=At,At=void 0),Se=Se||{},de)Se[Fr]=Qr;else{let jt=an(A,Fr);Se[jt.route.id]==null&&(Se[jt.route.id]=Qr)}te||(fe[Fr]=Ln),Qe||(Qe=!0,Pe=Hi(vr.error)?vr.error.status:500),vr.headers&&(ut[Fr]=vr.headers)}else fe[Fr]=vr.data,vr.statusCode&&vr.statusCode!==200&&!Qe&&(Pe=vr.statusCode),vr.headers&&(ut[Fr]=vr.headers)}),At!==void 0&&K&&(Se={[K[0]]:At},K[2]&&(fe[K[2]]=void 0)),{loaderData:fe,errors:Se,statusCode:Pe||200,loaderHeaders:ut}}function Jt(A,N,K,te,de,fe,Se){let{loaderData:Pe,errors:Qe}=Nt(N,K,te);return de.filter(ut=>!ut.matches||ut.matches.some(At=>At.shouldLoad)).forEach(ut=>{let{key:At,match:Pt,controller:Fr}=ut;if(Fr&&Fr.signal.aborted)return;let vr=fe[At];if(W(vr,"Did not find corresponding fetcher result"),Ne(vr)){let Qr=an(A.matches,Pt?.route.id);Qe&&Qe[Qr.route.id]||(Qe={...Qe,[Qr.route.id]:vr.error}),Se.delete(At)}else if(Ve(vr))W(!1,"Unhandled fetcher revalidation redirect");else{let Qr=_n(vr.data);Se.set(At,Qr)}}),{loaderData:Pe,errors:Qe}}function jr(A,N,K,te){let de=Object.entries(N).filter(([,fe])=>fe!==Ln).reduce((fe,[Se,Pe])=>(fe[Se]=Pe,fe),{});for(let fe of K){let Se=fe.route.id;if(!N.hasOwnProperty(Se)&&A.hasOwnProperty(Se)&&fe.route.loader&&(de[Se]=A[Se]),te&&te.hasOwnProperty(Se))break}return de}function Jr(A){return A?Ne(A[1])?{actionData:{}}:{actionData:{[A[0]]:A[1].data}}:{}}function an(A,N){return(N?A.slice(0,A.findIndex(te=>te.route.id===N)+1):[...A]).reverse().find(te=>te.route.hasErrorBoundary===!0)||A[0]}function ai(A){let N=A.length===1?A[0]:A.find(K=>K.index||!K.path||K.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:N}
756],route:N}}function Si(A,{pathname:N,routeId:K,method:te,type:de,message:fe}={}){let Se="Unknown Server Error",Pe="Unknown @remix-run/router error";return A===400?(Se="Bad Request",te&&N&&K?Pe=`You made a ${te} request to "${N}" but did not provide a \`loader\` for route "${K}", so there is no way to handle the request.`:de==="invalid-body"&&(Pe="Unable to encode submission body")):A===403?(Se="Forbidden",Pe=`Route "${K}" does not match URL "${N}"`):A===404?(Se="Not Found",Pe=`No route matches URL "${N}"`):A===405&&(Se="Method Not Allowed",te&&N&&K?Pe=`You made a ${te.toUpperCase()} request to "${N}" but did not provide an \`action\` for route "${K}", so there is no way to handle the request.`:te&&(Pe=`Invalid request method "${te.toUpperCase()}"`)),new gi(A||500,Se,new Error(Pe),!0)}function Di(A){let N=Object.entries(A);for(let K=N.length-1;K>=0;K--){let[te,de]=N[K];if(Ve(de))return{key:te,result:de}}}function Vi(A){let N=typeof A=="string"?me(A):A;return he({...N,hash:""})}function da(A,N){return A.pathname!==N.pathname||A.search!==N.search?!1:A.hash===""?N.hash!=="":A.hash===N.hash?!0:N.hash!==""}function ya(A){return Response.json(A.data,A.init??void 0)}function Qi(A){return new gi(A.init?.status??500,A.init?.statusText??"Internal Server Error",A.data)}function Do(A){return A!=null&&typeof A=="object"&&Object.entries(A).every(([N,K])=>typeof N=="string"&&Oo(K))}function Oo(A){return A!=null&&typeof A=="object"&&"type"in A&&"result"in A&&(A.type==="data"||A.type==="error")}function Ta(A){return ct(A.result)&&Yi.has(A.result.status)}function Ne(A){return A.type==="error"}function Ve(A){return(A&&A.type)==="redirect"}function gt(A){return typeof A=="object"&&A!=null&&"type"in A&&"data"in A&&"init"in A&&A.type==="DataWithResponseInit"}function ct(A){return A!=null&&typeof A.status=="number"&&typeof A.statusText=="string"&&typeof A.headers=="object"&&typeof A.body<"u"}function Kt(A){return Yi.has(A)}function tr(A){return ct(A)&&Kt(A.status)&&A.headers.has("Location")}function Cr(A){return Ms.has(A.toUpperCase())}function kr(A){return rs.has(A.toUpperCase())}function Bn(A){return new URLSearchParams(A).getAll("index").some(N=>N==="")}function Hn(A,N){let K=typeof N=="string"?me(N).search:N.search;if(A[A.length-1].route.index&&Bn(K||""))return A[A.length-1];let te=ur(A);return te[te.length-1]}function Bt(A){let{formMethod:N,formAction:K,formEncType:te,text:de,formData:fe,json:Se}=A;if(!(!N||!K||!te)){if(de!=null)return{formMethod:N,formAction:K,formEncType:te,formData:void 0,json:void 0,text:de};if(fe!=null)return{formMethod:N,formAction:K,formEncType:te,formData:fe,json:void 0,text:void 0};if(Se!==void 0)return{formMethod:N,formAction:K,formEncType:te,formData:void 0,json:Se,text:void 0}}}function Wt(A,N,K,te){return te?{state:"loading",location:A,matches:N,historyAction:K,formMethod:te.formMethod,formAction:te.formAction,formEncType:te.formEncType,formData:te.formData,json:te.json,text:te.text}:{state:"loading",location:A,matches:N,historyAction:K,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Wr(A,N,K,te){return{state:"submitting",location:A,matches:N,historyAction:K,formMethod:te.formMethod,formAction:te.formAction,formEncType:te.formEncType,formData:te.formData,json:te.json,text:te.text}}function sn(A,N){return A?{state:"loading",formMethod:A.formMethod,formAction:A.formAction,formEncType:A.formEncType,formData:A.formData,json:A.json,text:A.text,data:N}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:N}}function Mn(A,N){return{state:"submitting",formMethod:A.formMethod,formAction:A.formAction,formEncType:A.formEncType,formData:A.formData,json:A.json,text:A.text,data:N?N.data:void 0}}function _n(A){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:A}}function Wn(A,N){try{let K=A.sessionStorage.getItem(Yn);if(K){let te=JSON.parse(K);for(let[de,fe]of Object.entries(te||{}))fe&&Array.isArray(fe)&&N.set(de,new Set(fe||[]))}}catch{}}function Un(A,N){if(N.size>0){let K={};for(let[te,de]of N)K[te]=[...de];try{A.sessionStorage.setItem(Yn,JSON.stringify(K))}catch(te){Z(!1,`Failed to save applied view transitions in sessionStorage (${te}).`)}}}function Fi(){let A,N,K=new Promise((te,de)=>{A=async fe=>{te(fe);try{await K}catch{}},N=async fe=>{de(fe);try{await K}catch{}}});return{promise:K,resolve:A,reject:N}}var Le=x.createContext(null);Le.displayName="DataRouter";var Ue=x.createContext(null);
756Ue.displayName="DataRouterState";var lt=x.createContext(!1);function ot(){return x.useContext(lt)}var Yt=x.createContext({isTransitioning:!1});Yt.displayName="ViewTransition";var rr=x.createContext(new Map);rr.displayName="Fetchers";var Or=x.createContext(null);Or.displayName="Await";var tn=A=>r.createElement(Or.Provider,A),kn=x.createContext(null);kn.displayName="Navigation";var En=x.createContext(null);En.displayName="Location";var Rn=x.createContext({outlet:null,matches:[],isDataRoute:!1});Rn.displayName="Route";var ki=x.createContext(null);ki.displayName="RouteError";var bs=!0,Rs="REACT_ROUTER_ERROR",As="REDIRECT",di="ROUTE_ERROR_RESPONSE";function Gn(A){if(A.startsWith(`${Rs}:${As}:{`))try{let N=JSON.parse(A.slice(28));if(typeof N=="object"&&N&&typeof N.status=="number"&&typeof N.statusText=="string"&&typeof N.location=="string"&&typeof N.reloadDocument=="boolean"&&typeof N.replace=="boolean")return N}catch{}}function oi(A){if(A.startsWith(`${Rs}:${di}:{`))try{let N=JSON.parse(A.slice(40));if(typeof N=="object"&&N&&typeof N.status=="number"&&typeof N.statusText=="string")return new gi(N.status,N.statusText,N.data)}catch{}}function Ks(A,{relative:N}={}){W(qs(),"useHref() may be used only in the context of a <Router> component.");let{basename:K,navigator:te}=x.useContext(kn),{hash:de,pathname:fe,search:Se}=Dt(A,{relative:N}),Pe=fe;return K!=="/"&&(Pe=fe==="/"?K:nn([K,fe])),te.createHref({pathname:Pe,search:Se,hash:de})}function qs(){return x.useContext(En)!=null}function ns(){return W(qs(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(En).location}function Ba(){return a.useContext(En).navigationType}function ka(A){W(qs(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:N}=ns();return x.useMemo(()=>dr(A,hn(N)),[N,A])}var H="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function z(A){x.useContext(kn).static||x.useLayoutEffect(A)}function ee(){let{isDataRoute:A}=x.useContext(Rn);return A?el():pe()}function pe(){W(qs(),"useNavigate() may be used only in the context of a <Router> component.");let A=x.useContext(Le),{basename:N,navigator:K}=x.useContext(kn),{matches:te}=x.useContext(Rn),{pathname:de}=ns(),fe=JSON.stringify(it(te)),Se=x.useRef(!1);return z(()=>{Se.current=!0}),x.useCallback((Qe,ut={})=>{if(Z(Se.current,H),!Se.current)return;if(typeof Qe=="number"){K.go(Qe);return}let At=Rt(Qe,JSON.parse(fe),de,ut.relative==="path");A==null&&N!=="/"&&(At.pathname=At.pathname==="/"?N:nn([N,At.pathname])),(ut.replace?K.replace:K.push)(At,ut.state,ut)},[N,K,fe,de,A])}var Ce=x.createContext(null);function ze(){return a.useContext(Ce)}function st(A){let N=a.useContext(Rn).outlet;return a.useMemo(()=>N&&a.createElement(Ce.Provider,{value:A},N),[N,A])}function ft(){let{matches:A}=x.useContext(Rn);return A[A.length-1]?.params??{}}function Dt(A,{relative:N}={}){let{matches:K}=x.useContext(Rn),{pathname:te}=ns(),de=JSON.stringify(it(K));return x.useMemo(()=>Rt(A,JSON.parse(de),te,N==="path"),[A,de,te,N])}function lr(A,N){return $t(A,N)}function $t(A,N,K){W(qs(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:te}=x.useContext(kn),{matches:de}=x.useContext(Rn),fe=de[de.length-1],Se=fe?fe.params:{},Pe=fe?fe.pathname:"/",Qe=fe?fe.pathnameBase:"/",ut=fe&&fe.route;if(bs){let Vt=ut&&ut.path||"";Yl(Pe,!ut||Vt.endsWith("*")||Vt.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${Pe}" (under <Route path="${Vt}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 757 758Please change the parent <Route path="${Vt}"> to <Route path="${Vt==="/"?"*":`${Vt}/*`}">.`)}let At=ns(),Pt;if(N){let Vt=typeof N=="string"?me(N):N;W(Qe==="/"||Vt.pathname?.startsWith(Qe),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${Qe}" but pathname "${Vt.pathname}" was given in the \`location\` prop.`),Pt=Vt}else Pt=At;let Fr=Pt.pathname||"/",vr=Fr;if(Qe!=="/"){let Vt=Qe.replace(/^\//,"").split("/");vr="/"+Fr.replace(/^\//,"").split("/").slice(Vt.length).join("/")}let Qr=K&&K.state.matches.length?K.state.matches.map(Vt=>Object.assign(Vt,{route:K.manifest[Vt.route.id]||Vt.route})):It(A,{pathname:vr});bs&&(Z(ut||Qr!=null,`No routes matched location "${Pt.pathname}${Pt.search}${Pt.hash}" `),Z(Qr==null||Qr[Qr.length-1].route.element!==void 0||Qr[Qr.length-1].route.Component!==void 0||Qr[Qr.length-1].route.lazy!==void 0,`Matched leaf route at location "${Pt.pathname}${Pt.search}${Pt.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`));let jt=Ii(Qr&&Qr.map(Vt=>Object.assign({},Vt,{params:Object.assign({},Se,Vt.params),pathname:nn([Qe,te.encodeLocation?te.encodeLocation(Vt.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Vt.pathname]),pathnameBase:Vt.pathnameBase==="/"?Qe:nn([Qe,te.encodeLocation?te.encodeLocation(Vt.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Vt.pathnameBase])})),de,K);return N&&jt?x.createElement(En.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...Pt},navigationType:"POP"}},jt):jt}function Nr(){let A=vo(),N=Hi(A)?`${A.status} ${A.statusText}`:A instanceof Error?A.message:JSON.stringify(A),K=A instanceof Error?A.stack:null,te="rgba(200,200,200, 0.5)",de={padding:"0.5rem",backgroundColor:te},fe={padding:"2px 4px",backgroundColor:te},Se=null;return bs&&(console.error("Error handled by React Router default ErrorBoundary:",A),Se=x.createElement(x.Fragment,null,x.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:fe},"ErrorBoundary")," or"," ",x.createElement("code",{style:fe},"errorElement")," prop on your route."))),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application
758Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},N),K?x.createElement("pre",{style:de},K):null,Se)}var cn=x.createElement(Nr,null),Nn=class extends x.Component{constructor(A){super(A),this.state={location:A.location,revalidation:A.revalidation,error:A.error}}static getDerivedStateFromError(A){return{error:A}}static getDerivedStateFromProps(A,N){return N.location!==A.location||N.revalidation!=="idle"&&A.revalidation==="idle"?{error:A.error,location:A.location,revalidation:A.revalidation}:{error:A.error!==void 0?A.error:N.error,location:N.location,revalidation:A.revalidation||N.revalidation}}componentDidCatch(A,N){this.props.onError?this.props.onError(A,N):console.error("React Router caught the following error during render",A)}render(){let A=this.state.error;if(this.context&&typeof A=="object"&&A&&"digest"in A&&typeof A.digest=="string"){const K=oi(A.digest);K&&(A=K)}let N=A!==void 0?x.createElement(Rn.Provider,{value:this.props.routeContext},x.createElement(ki.Provider,{value:A,children:this.props.component})):this.props.children;return this.context?x.createElement(fi,{error:A},N):N}};Nn.contextType=lt;var jn=new WeakMap;function fi({children:A,error:N}){let{basename:K}=x.useContext(kn);if(typeof N=="object"&&N&&"digest"in N&&typeof N.digest=="string"){let te=Gn(N.digest);if(te){let de=jn.get(N);if(de)throw de;let fe=$s(te.location,K);if($n&&!jn.get(N))if(fe.isExternal||te.reloadDocument)window.location.href=fe.absoluteURL||fe.to;else{const Se=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(fe.to,{replace:te.replace}));throw jn.set(N,Se),Se}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${fe.absoluteURL||fe.to}`})}}return A}function xi({routeContext:A,match:N,children:K}){let te=x.useContext(Le);return te&&te.static&&te.staticContext&&(N.route.errorElement||N.route.ErrorBoundary)&&(te.staticContext._deepestRenderedBoundaryId=N.route.id),x.createElement(Rn.Provider,{value:A},K)}function Ii(A,N=[],K){let te=K?.state;if(A==null){if(!te)return null;if(te.errors)A=te.matches;else if(N.length===0&&!te.initialized&&te.matches.length>0)A=te.matches;else return null}let de=A,fe=te?.errors;if(fe!=null){let At=de.findIndex(Pt=>Pt.route.id&&fe?.[Pt.route.id]!==void 0);W(At>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(fe).join(",")}`),de=de.slice(0,Math.min(de.length,At+1))}let Se=!1,Pe=-1;if(K&&te){Se=te.renderFallback;for(let At=0;At<de.length;At++){let Pt=de[At];if((Pt.route.HydrateFallback||Pt.route.hydrateFallbackElement)&&(Pe=At),Pt.route.id){let{loaderData:Fr,errors:vr}=te,Qr=Pt.route.loader&&!Fr.hasOwnProperty(Pt.route.id)&&(!vr||vr[Pt.route.id]===void 0);if(Pt.route.lazy||Qr){K.isStatic&&(Se=!0),Pe>=0?de=de.slice(0,Pe+1):de=[de[0]];break}}}}let Qe=K?.onError,ut=te&&Qe?(At,Pt)=>{Qe(At,{location:te.location,params:te.matches?.[0]?.params??{},pattern:qn(te.matches),errorInfo:Pt})}:void 0;return de.reduceRight((At,Pt,Fr)=>{let vr,Qr=!1,jt=null,Vt=null;te&&(vr=fe&&Pt.route.id?fe[Pt.route.id]:void 0,jt=Pt.route.errorElement||cn,Se&&(Pe<0&&Fr===0?(Yl("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Qr=!0,Vt=null):Pe===Fr&&(Qr=!0,Vt=Pt.route.hydrateFallbackElement||null)));let zr=N.concat(de.slice(0,Fr+1)),_r=()=>{let Xn;return vr?Xn=jt:Qr?Xn=Vt:Pt.route.Component?Xn=x.createElement(Pt.route.Component,null):Pt.route.element?Xn=Pt.route.element:Xn=At,x.createElement(xi,{match:Pt,routeContext:{outlet:At,matches:zr,isDataRoute:te!=null},children:Xn})};return te&&(Pt.route.ErrorBoundary||Pt.route.errorElement||Fr===0)?x.createElement(Nn,{location:te.location,revalidation:te.revalidation,component:jt,error:vr,children:_r(),routeContext:{outlet:null,matches:zr,isDataRoute:!0},onError:ut}):_r()},null)}function zi(A){return`${A} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function gs(A){let N=x.useContext(Le);return W(N,zi(A)),N}function er(A){let N=x.useContext(Ue);return W(N,zi(A)),N}function br(A){let N=x.useContext(Rn);return W(N,zi(A)),N}function xr(A){let N=br(A),K=N.matches[N.matches.length-1];return W(K.route.id,`${A} can only be used on routes that contain a unique "id"`),K.route.id}function yi(){return xr("useRouteId")}function Ni(){let A=er("useNavigation");return x.useMemo(()=>{let{matches:N,historyAction:K,...te}=A.navigation;return te},[A.navigation])}function pi(){let A=gs("useRevalidator"),N=er("useRevalidator"),K=a.useCallback(async()=>{await A.router.revalidate()},[A.router]);return a.useMemo(()=>({revalidate:K,state:N.revalidation}),[K,N.revalidation])}function ra(){let{matches:A,loaderData:N}=er("useMatches");return x.useMemo(()=>A.map(K=>kt(K,N)),[A,N])}function Ys(){let A=er("useLoaderData"),N=xr("useLoaderData");return A.loaderData[N]}function Lu(A){return er("useRouteLoaderData").loaderData[A]}function Uo(){let A=er("useActionData"),N=xr("useLoaderData");return A.actionData?A.actionData[N]:void 0}
758function vo(){let A=x.useContext(ki),N=er("useRouteError"),K=xr("useRouteError");return A!==void 0?A:N.errors?.[K]}function jo(){return a.useContext(Or)?._data}function Ll(){return a.useContext(Or)?._error}var wa=0;function wu(A){let{router:N,basename:K}=gs("useBlocker"),te=er("useBlocker"),[de,fe]=a.useState(""),Se=a.useCallback(Pe=>{if(typeof A!="function")return!!A;if(K==="/")return A(Pe);let{currentLocation:Qe,nextLocation:ut,historyAction:At}=Pe;return A({currentLocation:{...Qe,pathname:Qt(Qe.pathname,K)||Qe.pathname},nextLocation:{...ut,pathname:Qt(ut.pathname,K)||ut.pathname},historyAction:At})},[K,A]);return a.useEffect(()=>{let Pe=String(++wa);return fe(Pe),()=>N.deleteBlocker(Pe)},[N]),a.useEffect(()=>{de!==""&&N.getBlocker(de,Se)},[N,de,Se]),de&&te.blockers.has(de)?te.blockers.get(de):cr}function el(){let{router:A}=gs("useNavigate"),N=xr("useNavigate"),K=x.useRef(!1);return z(()=>{K.current=!0}),x.useCallback(async(de,fe={})=>{Z(K.current,H),K.current&&(typeof de=="number"?await A.navigate(de):await A.navigate(de,{fromRouteId:N,...fe}))},[A,N])}var Ca={};function Yl(A,N,K){!N&&!Ca[A]&&(Ca[A]=!0,Z(!1,K))}function $c(...A){const N=xr("useRoute"),K=A[0]??N,te=er("useRoute"),de=te.matches.find(({route:fe})=>fe.id===K);if(de!==void 0)return{handle:de.route.handle,loaderData:te.loaderData[K],actionData:te.actionData?.[K]}}function zo(A){return{id:A.route.id,pathname:A.pathname,params:A.params,handle:A.route.handle}}function Hc(){let{location:A,historyAction:N,matches:K,navigation:te}=er("unstable_useRouterState"),de=a.useMemo(()=>({type:N,location:A,searchParams:new URLSearchParams(A.search),params:K[K.length-1]?.params??{},matches:K.map(Se=>zo(Se))}),[A,K,N]),fe=a.useMemo(()=>{if(te.state==="idle")return null;let Se={type:te.historyAction,location:te.location,searchParams:new URLSearchParams(te.location.search),params:te.matches[te.matches.length-1]?.params??{},matches:te.matches.map(Pe=>zo(Pe))};return te.state==="loading"?{...Se,state:"loading",formMethod:te.formMethod,formAction:te.formAction,formEncType:te.formEncType,formData:te.formData,json:te.json,text:te.text}:{...Se,state:"submitting",formMethod:te.formMethod,formAction:te.formAction,formEncType:te.formEncType,formData:te.formData,json:te.json,text:te.text}},[te]);return a.useMemo(()=>({active:de,pending:fe}),[de,fe])}var Xl={};function Fs(A,N){!A&&!Xl[N]&&(Xl[N]=!0,console.warn(N))}var _u="useOptimistic",oo=(n||(n=e.t(x,2)))[_u],tl=()=>{};function Ml(A){return oo?oo(A):[A,tl]}function ae(A){let N={hasErrorBoundary:A.hasErrorBoundary||A.ErrorBoundary!=null||A.errorElement!=null};return A.Component&&(bs&&A.element&&Z(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(N,{element:s.createElement(A.Component),Component:void 0})),A.HydrateFallback&&(bs&&A.hydrateFallbackElement&&Z(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(N,{hydrateFallbackElement:s.createElement(A.HydrateFallback),HydrateFallback:void 0})),A.ErrorBoundary&&(bs&&A.errorElement&&Z(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(N,{errorElement:s.createElement(A.ErrorBoundary),ErrorBoundary:void 0})),N}var hr=null;function dt(A,N){return Ui({basename:N?.basename,getContext:N?.getContext,future:N?.future,history:$({initialEntries:N?.initialEntries,initialIndex:N?.initialIndex}),hydrationData:N?.hydrationData,routes:A,hydrationRouteProperties:hr,mapRouteProperties:ae,dataStrategy:N?.dataStrategy,patchRoutesOnNavigation:N?.patchRoutesOnNavigation,instrumentations:N?.instrumentations}).initialize()}var xt=class{constructor(){this.status="pending",this.promise=new Promise((A,N)=>{this.resolve=K=>{this.status==="pending"&&(this.status="resolved",A(K))},this.reject=K=>{this.status==="pending"&&(this.status="rejected",N(K))}})}};function bn({router:A,flushSync:N,onError:K,useTransitions:te}){te=ot()||te;let[fe,Se]=s.useState(A.state),[Pe,Qe]=Ml(fe),[ut,At]=s.useState(),[Pt,Fr]=s.useState({isTransitioning:!1}),[vr,Qr]=s.useState(),[jt,Vt]=s.useState(),[zr,_r]=s.useState(),Xn=s.useRef(new Map),ni=s.useCallback((Lr,{deletedFetchers:li,newErrors:_s,flushSync:ga,viewTransitionOpts:Ei})=>
758{_s&&K&&Object.values(_s).forEach(fs=>K(fs,{location:Lr.location,params:Lr.matches[0]?.params??{},pattern:qn(Lr.matches)})),Lr.fetchers.forEach((fs,Ws)=>{fs.data!==void 0&&Xn.current.set(Ws,fs.data)}),li.forEach(fs=>Xn.current.delete(fs)),Fs(ga===!1||N!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let Us=A.window!=null&&A.window.document!=null&&typeof A.window.document.startViewTransition=="function";if(Fs(Ei==null||Us,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!Ei||!Us){N&&ga?N(()=>Se(Lr)):te===!1?Se(Lr):s.startTransition(()=>{te===!0&&Qe(fs=>Jn(fs,Lr)),Se(Lr)});return}if(N&&ga){N(()=>{jt&&(vr?.resolve(),jt.skipTransition()),Fr({isTransitioning:!0,flushSync:!0,currentLocation:Ei.currentLocation,nextLocation:Ei.nextLocation})});let fs=A.window.document.startViewTransition(()=>{N(()=>Se(Lr))});fs.finished.finally(()=>{N(()=>{Qr(void 0),Vt(void 0),At(void 0),Fr({isTransitioning:!1})})}),N(()=>Vt(fs));return}jt?(vr?.resolve(),jt.skipTransition(),_r({state:Lr,currentLocation:Ei.currentLocation,nextLocation:Ei.nextLocation})):(At(Lr),Fr({isTransitioning:!0,flushSync:!1,currentLocation:Ei.currentLocation,nextLocation:Ei.nextLocation}))},[A.window,N,jt,vr,te,Qe,K]);s.useLayoutEffect(()=>A.subscribe(ni),[A,ni]),s.useEffect(()=>{Pt.isTransitioning&&!Pt.flushSync&&Qr(new xt)},[Pt]),s.useEffect(()=>{if(vr&&ut&&A.window){let Lr=ut,li=vr.promise,_s=A.window.document.startViewTransition(async()=>{te===!1?Se(Lr):s.startTransition(()=>{te===!0&&Qe(ga=>Jn(ga,Lr)),Se(Lr)}),await li});_s.finished.finally(()=>{Qr(void 0),Vt(void 0),At(void 0),Fr({isTransitioning:!1})}),Vt(_s)}},[ut,vr,A.window,te,Qe]),s.useEffect(()=>{vr&&ut&&Pe.location.key===ut.location.key&&vr.resolve()},[vr,jt,Pe.location,ut]),s.useEffect(()=>{!Pt.isTransitioning&&zr&&(At(zr.state),Fr({isTransitioning:!0,flushSync:!1,currentLocation:zr.currentLocation,nextLocation:zr.nextLocation}),_r(void 0))},[Pt.isTransitioning,zr]);let zn=s.useMemo(()=>({createHref:A.createHref,encodeLocation:A.encodeLocation,go:Lr=>A.navigate(Lr),push:(Lr,li,_s)=>A.navigate(Lr,{state:li,preventScrollReset:_s?.preventScrollReset}),replace:(Lr,li,_s)=>A.navigate(Lr,{replace:!0,state:li,preventScrollReset:_s?.preventScrollReset})}),[A]),hi=A.basename||"/",Ki=s.useMemo(()=>({router:A,navigator:zn,static:!1,basename:hi,onError:K}),[A,zn,hi,K]);return s.createElement(s.Fragment,null,s.createElement(Le.Provider,{value:Ki},s.createElement(Ue.Provider,{value:Pe},s.createElement(rr.Provider,{value:Xn.current},s.createElement(Yt.Provider,{value:Pt},s.createElement(Vo,{basename:hi,location:Pe.location,navigationType:Pe.historyAction,navigator:zn,useTransitions:te},s.createElement(vs,{routes:A.routes,manifest:A.manifest,future:A.future,state:Pe,isStatic:!1,onError:K})))))),null)}function Jn(A,N){return{...A,navigation:N.navigation.state!=="idle"?N.navigation:A.navigation,revalidation:N.revalidation!=="idle"?N.revalidation:A.revalidation,actionData:N.navigation.state!=="submitting"?N.actionData:A.actionData,fetchers:N.fetchers}}var vs=x.memo(Ps);function Ps({routes:A,manifest:N,future:K,state:te,isStatic:de,onError:fe}){return $t(A,void 0,{manifest:N,state:te,isStatic:de,onError:fe,future:K})}function Ia({basename:A,children:N,initialEntries:K,initialIndex:te,useTransitions:de}){let fe=s.useRef();fe.current==null&&(fe.current=$({initialEntries:K,initialIndex:te,v5Compat:!0}));let Se=fe.current,[Pe,Qe]=s.useState({action:Se.action,location:Se.location}),ut=s.useCallback(At=>{de===!1?Qe(At):s.startTransition(()=>Qe(At))},[de]);return s.useLayoutEffect(()=>Se.listen(ut),[Se,ut]),s.createElement(Vo,{basename:A,children:N,location:Pe.location,navigationType:Pe.action,navigator:Se,useTransitions:de})}function $o({to:A,replace:N,state:K,relative:te}){W(qs(),"<Navigate> may be used only in the context of a <Router> component.");let{static:de}=x.useContext(kn);Z(!de,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:fe}=x.useContext(Rn),{pathname:Se}=ns(),Pe=ee(),Qe=Rt(A,it(fe),Se,te==="path"),ut=JSON.stringify(Qe);return x.useEffect(()=>
758{Pe(JSON.parse(ut),{replace:N,state:K,relative:te})},[Pe,ut,te,N,K]),null}function yo(A){return st(A.context)}function qa(A){W(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Vo({basename:A="/",children:N=null,location:K,navigationType:te="POP",navigator:de,static:fe=!1,useTransitions:Se}){W(!qs(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=A.replace(/^\/*/,"/"),Qe=x.useMemo(()=>({basename:Pe,navigator:de,static:fe,useTransitions:Se,future:{}}),[Pe,de,fe,Se]);typeof K=="string"&&(K=me(K));let{pathname:ut="/",search:At="",hash:Pt="",state:Fr=null,key:vr="default",mask:Qr}=K,jt=x.useMemo(()=>{let Vt=Qt(ut,Pe);return Vt==null?null:{location:{pathname:Vt,search:At,hash:Pt,state:Fr,key:vr,mask:Qr},navigationType:te}},[Pe,ut,At,Pt,Fr,vr,te,Qr]);return Z(jt!=null,`<Router basename="${Pe}"> is not able to match the URL "${ut}${At}${Pt}" because it does not start with the basename, so the <Router> won't render anything.`),jt==null?null:x.createElement(kn.Provider,{value:Qe},x.createElement(En.Provider,{children:N,value:jt}))}function Lo({children:A,location:N}){return lr(eu(A),N)}function Hu({children:A,errorElement:N,resolve:K}){let te=s.useContext(Le),de=s.useContext(Ue),fe=s.useCallback((Se,Pe)=>{te&&te.onError&&de&&te.onError(Se,{location:de.location,params:de.matches[0]?.params||{},pattern:qn(de.matches),errorInfo:Pe})},[te,de]);return s.createElement(kl,{resolve:K,errorElement:N,onError:fe},s.createElement(Mu,null,A))}var kl=class extends x.Component{constructor(A){super(A),this.state={error:null}}static getDerivedStateFromError(A){return{error:A}}componentDidCatch(A,N){this.props.onError?this.props.onError(A,N):console.error("<Await> caught the following error during render",A,N)}render(){let{children:A,errorElement:N,resolve:K}=this.props,te=null,de=0;if(!(K instanceof Promise))de=1,te=Promise.resolve(),Object.defineProperty(te,"_tracked",{get:()=>!0}),Object.defineProperty(te,"_data",{get:()=>K});else if(this.state.error){de=2;let fe=this.state.error;te=Promise.reject().catch(()=>{}),Object.defineProperty(te,"_tracked",{get:()=>!0}),Object.defineProperty(te,"_error",{get:()=>fe})}else K._tracked?(te=K,de="_error"in te?2:"_data"in te?1:0):(de=0,Object.defineProperty(K,"_tracked",{get:()=>!0}),te=K.then(fe=>Object.defineProperty(K,"_data",{get:()=>fe}),fe=>{this.props.onError?.(fe),Object.defineProperty(K,"_error",{get:()=>fe})}));if(de===2&&!N)throw te._error;if(de===2)return x.createElement(Or.Provider,{value:te,children:N});if(de===1)return x.createElement(Or.Provider,{value:te,children:A});throw te}};function Mu({children:A}){let N=jo(),K=typeof A=="function"?A(N):A;return s.createElement(s.Fragment,null,K)}function eu(A,N=[]){let K=[];return x.Children.forEach(A,(te,de)=>{if(!x.isValidElement(te))return;let fe=[...N,de];if(te.type===x.Fragment){K.push.apply(K,eu(te.props.children,fe));return}W(te.type===qa,`[${typeof te.type=="string"?te.type:te.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),W(!te.props.index||!te.props.children,"An index route cannot have child routes.");let Se={id:te.props.id||fe.join("-"),caseSensitive:te.props.caseSensitive,element:te.props.element,Component:te.props.Component,index:te.props.index,path:te.props.path,middleware:te.props.middleware,loader:te.props.loader,action:te.props.action,hydrateFallbackElement:te.props.hydrateFallbackElement,HydrateFallback:te.props.HydrateFallback,errorElement:te.props.errorElement,ErrorBoundary:te.props.ErrorBoundary,hasErrorBoundary:te.props.hasErrorBoundary===!0||te.props.ErrorBoundary!=null||te.props.errorElement!=null,shouldRevalidate:te.props.shouldRevalidate,handle:te.props.handle,lazy:te.props.lazy};te.props.children&&(Se.children=eu(te.props.children,fe)),K.push(Se)}),K}var bo=null;function Mo(A){return Ii(A)}function Bs(){return{params:ft(),loaderData:Ys(),actionData:Uo(),matches:ra()}}function rl({children:A}){const N=Bs();return s.cloneElement(A,N)}function lc(A){return function(){const K=Bs();return s.createElement(A,K)}}function Nl(){return{params:ft(),loaderData:Ys(),actionData:Uo()}}function nl({children:A}){const N=Nl();return s.cloneElement(A,N)}function il(A){return function(){const K=Nl();return s.createElement(A,K)}}function vl(){return{params:ft(),loaderData:Ys(),actionData:Uo(),error:vo()}}function sl({children:A}){const N=vl();return s.cloneElement(A,N)}function ko(A){return function(){const K=vl();return s.createElement(A,K)}}var lu="get",Go="application/x-www-form-urlencoded";function Xo(A){return typeof HTMLElement<"u"&&A instanceof HTMLElement}function Cc(A){return Xo(A)&&A.tagName.toLowerCase()==="button"}function Ae(A){return Xo(A)&&A.tagName.toLowerCase()==="form"}function et(A){return Xo(A)&&A.tagName.toLowerCase()==="input"}function pt(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}function Ft(A,N){return A.button===0&&(!N||N==="_self")&&!pt(A)}function Zt(A=""){return new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((N,K)=>{let te=A[K];return N.concat(Array.isArray(te)?te.map(de=>[K,de]):[[K,te]])},[]))}function Rr(A,N){let K=Zt(A);
758return N&&N.forEach((te,de)=>{K.has(de)||N.getAll(de).forEach(fe=>{K.append(de,fe)})}),K}var mn=null;function Ye(){if(mn===null)try{new FormData(document.createElement("form"),0),mn=!1}catch{mn=!0}return mn}var Li=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _i(A){return A!=null&&!Li.has(A)?(Z(!1,`"${A}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Go}"`),null):A}function Ai(A,N){let K,te,de,fe,Se;if(Ae(A)){let Pe=A.getAttribute("action");te=Pe?Qt(Pe,N):null,K=A.getAttribute("method")||lu,de=_i(A.getAttribute("enctype"))||Go,fe=new FormData(A)}else if(Cc(A)||et(A)&&(A.type==="submit"||A.type==="image")){let Pe=A.form;if(Pe==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Qe=A.getAttribute("formaction")||Pe.getAttribute("action");if(te=Qe?Qt(Qe,N):null,K=A.getAttribute("formmethod")||Pe.getAttribute("method")||lu,de=_i(A.getAttribute("formenctype"))||_i(Pe.getAttribute("enctype"))||Go,fe=new FormData(Pe,A),!Ye()){let{name:ut,type:At,value:Pt}=A;if(At==="image"){let Fr=ut?`${ut}.`:"";fe.append(`${Fr}x`,"0"),fe.append(`${Fr}y`,"0")}else ut&&fe.append(ut,Pt)}}else{if(Xo(A))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');K=lu,te=null,de=Go,Se=A}return fe&&de==="text/plain"&&(Se=fe,fe=void 0),{action:te,method:K.toLowerCase(),encType:de,formData:fe,body:Se}}var Gi=null,Xs=null,Qa=null,ho=null,Pa=null,Ja=null,ma=null,Ha="B",uo="D",Qo="E",So="M",Eo="N",ku="P",al="R",cu="S",dd="Y",Nu="U",Au="Z",cc=null,Dd=class{constructor(){this.promise=new Promise((A,N)=>{this.resolve=A,this.reject=N})}};function sf(){const A=new TextDecoder;let N="";return new TransformStream({transform(K,te){const de=A.decode(K,{stream:!0}),fe=(N+de).split(` 759`);N=fe.pop()||"";for(const Se of fe)te.enqueue(Se)},flush(K){N&&K.enqueue(N)}})}var Cu=1,Kn=()=>Date.now(),yl=()=>new Promise(A=>setTimeout(A,0));async function Ql(A){const{indices:N}=this,K=N.get(A);if(K)return[K];if(A===void 0)return ma;if(A===null)return Pa;if(Number.isNaN(A))return Xs;if(A===Number.POSITIVE_INFINITY)return Ja;if(A===Number.NEGATIVE_INFINITY)return Qa;if(A===0&&1/A<0)return ho;const te=this.index++;N.set(A,te);const de=[[A,te]];return await du.call(this,de),te}async function du(A){const{deferred:N,indices:K,plugins:te,postPlugins:de}=this,fe=this.stringified;let Se=Kn();const Pe=ut=>{const At=K.get(ut);if(At)return[At];if(ut===void 0)return ma;if(ut===null)return Pa;if(Number.isNaN(ut))return Xs;if(ut===Number.POSITIVE_INFINITY)return Ja;if(ut===Number.NEGATIVE_INFINITY)return Qa;if(ut===0&&1/ut<0)return ho;const Pt=this.index++;return K.set(ut,Pt),A.push([ut,Pt]),Pt};let Qe=0;for(;A.length>0;){const ut=Kn();++Qe%6e3===0&&ut-Se>=Cu&&(await yl(),Se=Kn());const[At,Pt]=A.pop(),Fr=Qr=>Object.keys(Qr).map(jt=>`"_${Pe(jt)}":${Pe(Qr[jt])}`).join(",");let vr=null;switch(typeof At){case"boolean":case"number":case"string":fe[Pt]=JSON.stringify(At);break;case"bigint":fe[Pt]=`["${Ha}","${At}"]`;break;case"symbol":{const Qr=Symbol.keyFor(At);Qr?fe[Pt]=`["${dd}",${JSON.stringify(Qr)}]`:vr=new Error("Cannot encode symbol unless created with Symbol.for()");break}case"object":{if(!At){fe[Pt]=`${Pa}`;break}const Qr=Array.isArray(At);let jt=!1;if(!Qr&&te)for(const Vt of te){const zr=Vt(At);if(Array.isArray(zr)){jt=!0;const[_r,...Xn]=zr;fe[Pt]=`[${JSON.stringify(_r)}`,Xn.length>0&&(fe[Pt]+=`,${Xn.map(ni=>Pe(ni)).join(",")}`),fe[Pt]+="]";break}}if(!jt){let Vt=Qr?"[":"{";if(Qr){for(let zr=0;zr<At.length;zr++)Vt+=(zr?",":"")+(zr in At?Pe(At[zr]):Gi);fe[Pt]=`${Vt}]`}else if(At instanceof Date){const zr=At.getTime();fe[Pt]=`["${uo}",${Number.isNaN(zr)?JSON.stringify("invalid"):zr}]`}else At instanceof URL?fe[Pt]=`["${Nu}",${JSON.stringify(At.href)}]`:At instanceof RegExp?fe[Pt]=`["${al}",${JSON.stringify(At.source)},${JSON.stringify(At.flags)}]`:At instanceof Set?At.size>0?fe[Pt]=`["${cu}",${[...At].map(zr=>Pe(zr)).join(",")}]`:fe[Pt]=`["${cu}"]`:At instanceof Map?At.size>0?fe[Pt]=`["${So}",${[...At].flatMap(([zr,_r])=>[Pe(zr),Pe(_r)]).join(",")}]`:fe[Pt]=`["${So}"]`:At instanceof Promise?(fe[Pt]=`["${ku}",${Pt}]`,N[Pt]=At):At instanceof Error?(fe[Pt]=`["${Qo}",${JSON.stringify(At.message)}`,At.name!=="Error"&&(fe[Pt]+=`,${JSON.stringify(At.name)}`),fe[Pt]+="]"):Object.getPrototypeOf(At)===null?fe[Pt]=`["${Eo}",{${Fr(At)}}]`:tu(At)?fe[Pt]=`{${Fr(At)}}`:vr=new Error("Cannot encode object with prototype")}break}default:{const Qr=Array.isArray(At);let jt=!1;if(!Qr&&te)for(const Vt of te){const zr=Vt(At);if(Array.isArray(zr)){jt=!0;const[_r,...Xn]=zr;fe[Pt]=`[${JSON.stringify(_r)}`,Xn.length>0&&(fe[Pt]+=`,${Xn.map(ni=>Pe(ni)).join(",")}`),fe[Pt]+="]";break}}jt||(vr=new Error("Cannot encode function or unexpected type"))}}if(vr){let Qr=!1;if(de)for(const jt of de){const Vt=jt(At);if(Array.isArray(Vt)){Qr=!0;const[zr,..._r]=Vt;fe[Pt]=`[${JSON.stringify(zr)}`,_r.length>0&&(fe[Pt]+=`,${_r.map(Xn=>Pe(Xn)).join(",")}`),fe[Pt]+="]";break}}if(!Qr)throw vr}}}var Ra=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function tu(A){const N=Object.getPrototypeOf(A);return N===Object.prototype||N===null||Object.getOwnPropertyNames(N).sort().join("\0")===Ra}var Na=typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;function fu(A){const{hydrated:N,values:K}=this;if(typeof A=="number")return fd.call(this,A);if(!Array.isArray(A)||!A.length)throw new SyntaxError;const te=K.length;for(const de of A)K.push(de);return N.length=K.length,fd.call(this,te)}function fd(A){const{hydrated:N,values:K,deferred:te,plugins:de}=this;let fe;const Se=[[A,Qe=>{fe=Qe}]];let Pe=[];for(;Se.length>0;){const[Qe,ut]=Se.pop();switch(Qe){case ma:ut(void 0);continue;case Pa:ut(null);continue;case Xs:ut(NaN);continue;case Ja:ut(1/0);continue;case Qa:ut(-1/0);continue;case ho:ut(-0);continue}if(N[Qe]){ut(N[Qe]);continue}const At=K[Qe];if(!At||typeof At!="object"){N[Qe]=At,ut(At);continue}if(Array.isArray(At))if(typeof At[0]=="string"){const[Pt,Fr,vr]=At;switch(Pt){case uo:ut(N[Qe]=new Date(Fr));continue;case Nu:ut(N[Qe]=new URL(Fr));continue;case Ha:ut(N[Qe]=BigInt(Fr));continue;case al:ut(N[Qe]=new RegExp(Fr,vr));continue;case dd:ut(N[Qe]=Symbol.for(Fr));continue;case cu:const Qr=new Set;N[Qe]=Qr;for(let ni=At.length-1;ni>0;ni--)Se.push([At[ni],zn=>{Qr.add(zn)}]);ut(Qr);continue;case So:const jt=new Map;N[Qe]=jt;for(let ni=At.length-2;ni>0;ni-=2){const zn=[];Se.push([At[ni+1],hi=>{zn[1]=hi}]),Se.push([At[ni],hi=>{zn[0]=hi}]),Pe.push(()=>{jt.set(zn[0],zn[1])})}ut(jt);continue;case Eo:const Vt=Object.create(null);N[Qe]=Vt;for(const ni of Object.keys(Fr).reverse()){const zn=[];Se.push([Fr[ni],hi=>{zn[1]=hi}]),Se.push([Number(ni.slice(1)),hi=>{zn[0]=hi}]),Pe.push(()=>{Vt[zn[0]]=zn[1]})}ut(Vt);continue;case ku:if(N[Fr])ut(N[Qe]=N[Fr]);else{const ni=new Dd;te[Fr]=ni,ut(N[Qe]=ni.promise)}continue;case Qo:const[,zr,_r]=At;let Xn=_r&&Na&&cc.includes(_r)&&_r in Na&&typeof Na[_r]=="function"?new Na[_r](zr):new Error(zr);N[Qe]=Xn,ut(Xn);continue;case Au:ut(N[Qe]=N[Fr]);continue;default:if(Array.isArray(de)){const ni=[],zn=At.slice(1);for(let hi=0;hi<zn.length;hi++){const Ki=zn[hi];Se.push([Ki,Lr=>{ni[hi]=Lr}])}Pe.push(()=>{for(const hi of de){const Ki=hi(At[0],...ni);if(Ki){ut(N[Qe]=Ki.value);return}}throw new SyntaxError});continue}throw new SyntaxError}}else{const Pt=[];N[Qe]=Pt;for(let Fr=0;Fr<At.length;Fr++){const vr=At[Fr];vr!==Gi&&Se.push([vr,Qr=>{Pt[Fr]=Qr}])}ut(Pt);continue}else{const Pt={};N[Qe]=Pt;
759for(const Fr of Object.keys(At).reverse()){const vr=[];Se.push([At[Fr],Qr=>{vr[1]=Qr}]),Se.push([Number(Fr.slice(1)),Qr=>{vr[0]=Qr}]),Pe.push(()=>{Pt[vr[0]]=vr[1]})}ut(Pt);continue}}for(;Pe.length>0;)Pe.pop()();return fe}async function hd(A,N){const{plugins:K}=N??{},te=new Dd,de=A.pipeThrough(sf()).getReader(),fe={values:[],hydrated:[],deferred:{},plugins:K},Se=await dc.call(fe,de);let Pe=te.promise;return Se.done?te.resolve():Pe=Ou.call(fe,de).then(te.resolve).catch(Qe=>{for(const ut of Object.values(fe.deferred))ut.reject(Qe);te.reject(Qe)}),{done:Pe.then(()=>de.closed),value:Se.value}}async function dc(A){const N=await A.read();if(!N.value)throw new SyntaxError;let K;try{K=JSON.parse(N.value)}catch{throw new SyntaxError}return{done:N.done,value:fu.call(this,K)}}async function Ou(A){let N=await A.read();for(;!N.done;){if(!N.value)continue;const K=N.value;switch(K[0]){case ku:{const te=K.indexOf(":"),de=Number(K.slice(1,te)),fe=this.deferred[de];if(!fe)throw new Error(`Deferred ID ${de} not found in stream`);const Se=K.slice(te+1);let Pe;try{Pe=JSON.parse(Se)}catch{throw new SyntaxError}const Qe=fu.call(this,Pe);fe.resolve(Qe);break}case Qo:{const te=K.indexOf(":"),de=Number(K.slice(1,te)),fe=this.deferred[de];if(!fe)throw new Error(`Deferred ID ${de} not found in stream`);const Se=K.slice(te+1);let Pe;try{Pe=JSON.parse(Se)}catch{throw new SyntaxError}const Qe=fu.call(this,Pe);fe.reject(Qe);break}default:throw new SyntaxError}N=await A.read()}}function pd(A,N){const{onComplete:K,plugins:te,postPlugins:de,signal:fe}=N??{},Se={deferred:{},index:0,indices:new Map,stringified:[],plugins:te,postPlugins:de,signal:fe},Pe=new TextEncoder;let Qe=0;return new ReadableStream({async start(At){const Pt=await Ql.call(Se,A);if(Array.isArray(Pt))throw new Error("This should never happen");Pt<0?At.enqueue(Pe.encode(`${Pt} 760`)):(At.enqueue(Pe.encode(`[${Se.stringified.join(",")}] 761`)),Qe=Se.stringified.length-1);const Fr=new WeakSet;let vr=Promise.resolve();if(Object.keys(Se.deferred).length){let Qr;const jt=new Promise((Vt,zr)=>{if(Qr=Vt,fe){const _r=()=>zr(fe.reason||new Error("Signal was aborted."));fe.aborted?_r():fe.addEventListener("abort",Xn=>{_r()})}});for(;Object.keys(Se.deferred).length>0;){for(const[Vt,zr]of Object.entries(Se.deferred))Fr.has(zr)||Fr.add(Se.deferred[Number(Vt)]=Promise.race([jt,zr]).then(_r=>(vr=vr.then(async()=>{const Xn=await Ql.call(Se,_r);if(Array.isArray(Xn))At.enqueue(Pe.encode(`${ku}${Vt}:[["${Au}",${Xn[0]}]] 762`)),Se.index++,Qe++;else if(Xn<0)At.enqueue(Pe.encode(`${ku}${Vt}:${Xn} 763`));else{const ni=Se.stringified.slice(Qe+1).join(",");At.enqueue(Pe.encode(`${ku}${Vt}:[${ni}] 764`)),Qe=Se.stringified.length-1}}),vr),_r=>(vr=vr.then(async()=>{(!_r||typeof _r!="object"||!(_r instanceof Error))&&(_r=new Error("An unknown error occurred"));const Xn=await Ql.call(Se,_r);if(Array.isArray(Xn))At.enqueue(Pe.encode(`${Qo}${Vt}:[["${Au}",${Xn[0]}]] 765`)),Se.index++,Qe++;else if(Xn<0)At.enqueue(Pe.encode(`${Qo}${Vt}:${Xn} 766`));else{const ni=Se.stringified.slice(Qe+1).join(",");At.enqueue(Pe.encode(`${Qo}${Vt}:[${ni}] 767`)),Qe=Se.stringified.length-1}}),vr)).finally(()=>{delete Se.deferred[Number(Vt)]}));await Promise.race(Object.values(Se.deferred))}Qr()}await Promise.all(Object.values(Se.deferred)),await vr,At.close(),K?.()}})}async function No(A){let N={signal:A.signal};if(A.method!=="GET"){N.method=A.method;let K=A.headers.get("Content-Type");K&&/\bapplication\/json\b/.test(K)?(N.headers={"Content-Type":K},N.body=JSON.stringify(await A.json())):K&&/\btext\/plain\b/.test(K)?(N.headers={"Content-Type":K},N.body=await A.text()):K&&/\bapplication\/x-www-form-urlencoded\b/.test(K)?N.body=new URLSearchParams(await A.text()):N.body=await A.formData()}return N}var Iu={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Fu=/[&><\u2028\u2029]/g;function Wu(A){return A.replace(Fu,N=>Iu[N])}function To(A,N){if(A===!1||A===null||typeof A>"u")throw new Error(N)}var Oc=Symbol("SingleFetchRedirect"),hu=class extends null{},bl=202,ol=new Set([100,101,204,205]);function pu({context:A,identifier:N,reader:K,textDecoder:te,nonce:de}){if(!A.renderMeta||!A.renderMeta.didRenderScripts)return null;A.renderMeta.streamCache||(A.renderMeta.streamCache={});let{streamCache:fe}=A.renderMeta,Se=fe[N];if(Se||(Se=fe[N]=K.read().then(At=>{fe[N].result={done:At.done,value:te.decode(At.value,{stream:!0})}}).catch(At=>{fe[N].error=At})),Se.error)throw Se.error;if(Se.result===void 0)throw Se;let{done:Pe,value:Qe}
767=Se.result,ut=Qe?i.createElement("script",{nonce:de,dangerouslySetInnerHTML:{__html:`window.__reactRouterContext.streamController.enqueue(${Wu(JSON.stringify(Qe))});`}}):null;return Pe?i.createElement(i.Fragment,null,ut,i.createElement("script",{nonce:de,dangerouslySetInnerHTML:{__html:"window.__reactRouterContext.streamController.close();"}})):i.createElement(i.Fragment,null,ut,i.createElement(i.Suspense,null,i.createElement(pu,{context:A,identifier:N+1,reader:K,textDecoder:te,nonce:de})))}function Sl(A,N,K,te,de,fe){let Se=Ic(A,Pe=>{let Qe=N.routes[Pe.route.id];return To(Qe,"Route not found in manifest"),{hasLoader:Qe.hasLoader,hasClientLoader:Qe.hasClientLoader}},Pc,te,de,fe);return async Pe=>Pe.runClientMiddleware(Se)}function Ic(A,N,K,te,de,fe,Se=()=>!0){return async Pe=>{let{request:Qe,matches:ut,fetcherKey:At}=Pe,Pt=A();if(Qe.method!=="GET")return Fl(Pe,K,de,fe);let Fr=ut.some(vr=>{let{hasLoader:Qr,hasClientLoader:jt}=N(vr);return vr.shouldCallHandler()&&Qr&&!jt});return!te&&!Fr?eo(Pe,N,K,de,fe):At?In(Pe,K,de,fe):xl(Pe,Pt,N,K,te,de,fe,Se)}}async function Fl(A,N,K,te){let de=A.matches.find(Pe=>Pe.shouldCallHandler());To(de,"No action match found");let fe,Se=await de.resolve(async Pe=>await Pe(async()=>{let{data:ut,status:At}=await N(A,K,te,[de.route.id]);return fe=At,ul(ut,de.route.id)}));return ct(Se.result)||Hi(Se.result)||gt(Se.result)?{[de.route.id]:Se}:{[de.route.id]:{type:Se.type,result:Bi(Se.result,fe)}}}async function eo(A,N,K,te,de){let fe=A.matches.filter(Pe=>Pe.shouldCallHandler()),Se={};return await Promise.all(fe.map(Pe=>Pe.resolve(async Qe=>{try{let{hasClientLoader:ut}=N(Pe),At=Pe.route.id,Pt=ut?await Qe(async()=>{let{data:Fr}=await K(A,te,de,[At]);return ul(Fr,At)}):await Qe();Se[Pe.route.id]={type:"data",result:Pt}}catch(ut){Se[Pe.route.id]={type:"error",result:ut}}}))),Se}async function xl(A,N,K,te,de,fe,Se,Pe=()=>!0){let Qe=new Set,ut=!1,At=A.matches.map(()=>Jl()),Pt=Jl(),Fr={},vr=Promise.all(A.matches.map(async(jt,Vt)=>jt.resolve(async zr=>{At[Vt].resolve();let _r=jt.route.id,{hasLoader:Xn,hasClientLoader:ni}=K(jt),zn=!jt.shouldRevalidateArgs||jt.shouldRevalidateArgs.actionStatus==null||jt.shouldRevalidateArgs.actionStatus<400;if(!jt.shouldCallHandler(zn)){ut||(ut=jt.shouldRevalidateArgs!=null&&Xn);return}if(Pe(jt)&&ni){Xn&&(ut=!0);try{let Ki=await zr(async()=>{let{data:Lr}=await te(A,fe,Se,[_r]);return ul(Lr,_r)});Fr[_r]={type:"data",result:Ki}}catch(Ki){Fr[_r]={type:"error",result:Ki}}return}Xn&&Qe.add(_r);try{let Ki=await zr(async()=>{let Lr=await Pt.promise;return ul(Lr,_r)});Fr[_r]={type:"data",result:Ki}}catch(Ki){Fr[_r]={type:"error",result:Ki}}})));if(await Promise.all(At.map(jt=>jt.promise)),(!N.state.initialized&&N.state.navigation.state==="idle"||Qe.size===0)&&!window.__reactRouterHdrActive)Pt.resolve({routes:{}});else{let jt=de&&ut&&Qe.size>0?[...Qe.keys()]:void 0;try{let Vt=await te(A,fe,Se,jt);Pt.resolve(Vt.data)}catch(Vt){Pt.reject(Vt)}}return await vr,await Ld(Pt.promise,A.matches,Qe,Fr),Fr}async function Ld(A,N,K,te){try{let de,fe=await A;if("routes"in fe){for(let Se of N)if(Se.route.id in fe.routes){let Pe=fe.routes[Se.route.id];if("error"in Pe){de=Pe.error,te[Se.route.id]?.result==null&&(te[Se.route.id]={type:"error",result:de});break}}}de!==void 0&&Array.from(K.values()).forEach(Se=>{te[Se].result instanceof hu&&(te[Se].result=de)})}catch{}}async function In(A,N,K,te){let de=A.matches.find(Pe=>Pe.shouldCallHandler());To(de,"No fetcher match found");let fe=de.route.id,Se=await de.resolve(async Pe=>Pe(async()=>{let{data:Qe}=await N(A,K,te,[fe]);return ul(Qe,fe)}));return{[de.route.id]:Se}}function Wc(A){let N=A.searchParams.getAll("index");A.searchParams.delete("index");let K=[];for(let te of N)te&&K.push(te);for(let te of K)A.searchParams.append("index",te);return A}function Vc(A,N,K,te){let de=typeof A=="string"?new URL(A,typeof window>"u"?"server://singlefetch/":window.location.origin):A;return K?de.pathname.endsWith("/")?de.pathname=`${de.pathname}_.${te}`:de.pathname=`${de.pathname}.${te}`:de.pathname==="/"?de.pathname=`_root.${te}`:N&&Qt(de.pathname,N)==="/"?de.pathname=`${fn(N)}/_root.${te}`:de.pathname=`${fn(de.pathname)}.${te}`,de}async function Pc(A,N,K,te){let{request:de}=A,fe=Vc(de.url,N,K,"data");de.method==="GET"&&(fe=Wc(fe),te&&fe.searchParams.set("_routes",te.join(",")));let Se=await fetch(fe,await No(de));if(Se.status>=400&&!Se.headers.has("X-Remix-Response"))throw new gi(Se.status,Se.statusText,await Se.text());if(Se.status===204&&Se.headers.has("X-Remix-Redirect"))return{status:bl,data:{redirect:{redirect:Se.headers.get("X-Remix-Redirect"),status:Number(Se.headers.get("X-Remix-Status")||"302"),revalidate:Se.headers.get("X-Remix-Revalidate")==="true",reload:Se.headers.get("X-Remix-Reload-Document")==="true",replace:Se.headers.get("X-Remix-Replace")==="true"}}};if(ol.has(Se.status)){let Pe={};return te&&de.method!=="GET"&&(Pe[te[0]]={data:void 0}),{status:Se.status,data:{routes:Pe}}}To(Se.body,"No response body to decode");try{let Pe=await Ua(Se.body,window),Qe;if(de.method==="GET"){let ut=Pe.value;Oc in ut?Qe={redirect:ut[Oc]}:Qe={routes:ut}}else{let ut=Pe.value,At=te?.[0];To(At,"No routeId found for single fetch call decoding"),"redirect"in ut?Qe={redirect:ut}:Qe={routes:{[At]:ut}}}return{status:Se.status,data:Qe}}catch{throw new Error("Unable to decode turbo-stream response")}}function Ua(A,N){return hd(A,{plugins:[(K,...te)=>{if(K==="SanitizedError"){let[de,fe,Se]=te,Pe=Error;de&&cc.includes(de)&&de in N&&typeof N[de]=="function"&&(Pe=N[de]);let Qe=new Pe(fe);return Qe.stack=Se,{value:Qe}}if(K==="ErrorResponse"){let[de,fe,Se]=te;return{value:new gi(fe,Se,de)}}if(K==="SingleFetchRedirect")return{value:{[Oc]:te[0]}};if(K==="SingleFetchClassInstance")return{value:te[0]};if(K==="SingleFetchFallback")return{value:void 0}}]})}function ul(A,N){if("redirect"in A){let{redirect:te,revalidate:de,reload:fe,replace:Se,status:Pe}=A.redirect;throw ms(te,{status:Pe,headers:{...de?{"X-Remix-Revalidate":"yes"}:null,...fe?{"X-Remix-Reload-Document":"yes"}:null,...Se?{"X-Remix-Replace":"yes"}:null}})}let K=A.routes[N];if(K==null)throw new hu(`No result found for routeId "${N}"`);if("error"in K)throw K.error;if("data"in K)return K.data;throw new Error(`Invalid response found for routeId "${N}"`)}function Jl(){let A,N,K=new Promise((te,de)=>{A=async fe=>{te(fe);try{await K}catch{}},N=async fe=>{de(fe);try{await K}catch{}}});return{promise:K,resolve:A,reject:N}}async function wo(A,N){if(A.id in N)return N[A.id];try{let K=await import(A.module);return N[A.id]=K,K}catch(K){return console.error(`Error loading route module \`${A.module}\`, reloading page...`),console.error(K),window.__reactRouterContext&&window.__reactRouterContext.
767isSpaMode,window.location.reload(),new Promise(()=>{})}}function fc(A,N,K){let te=A.map(fe=>{let Se=N[fe.route.id],Pe=K.routes[fe.route.id];return[Pe&&Pe.css?Pe.css.map(Qe=>({rel:"stylesheet",href:Qe})):[],Se?.links?.()||[]]}).flat(2),de=wl(A,K);return Bl(te,de)}function Vu(A){return A.css?A.css.map(N=>({rel:"stylesheet",href:N})):[]}async function Zl(A){if(!A.css)return;let N=Vu(A);await Promise.all(N.map(ba))}async function Gc(A,N){if(!A.css&&!N.links||!vd())return;let K=[];if(A.css&&K.push(...Vu(A)),N.links&&K.push(...N.links()),K.length===0)return;let te=[];for(let de of K)!El(de)&&de.rel==="stylesheet"&&te.push({...de,rel:"preload",as:"style"});await Promise.all(te.map(ba))}async function ba(A){return new Promise(N=>{if(A.media&&!window.matchMedia(A.media).matches||document.querySelector(`link[rel="stylesheet"][href="${A.href}"]`))return N();let K=document.createElement("link");Object.assign(K,A);function te(){document.head.contains(K)&&document.head.removeChild(K)}K.onload=()=>{te(),N()},K.onerror=()=>{te(),N()},document.head.appendChild(K)})}function El(A){return A!=null&&typeof A.page=="string"}function ll(A){return A==null?!1:A.href==null?A.rel==="preload"&&typeof A.imageSrcSet=="string"&&typeof A.imageSizes=="string":typeof A.rel=="string"&&typeof A.href=="string"}async function md(A,N,K){let te=await Promise.all(A.map(async de=>{let fe=N.routes[de.route.id];if(fe){let Se=await wo(fe,K);return Se.links?Se.links():[]}return[]}));return Bl(te.flat(1).filter(ll).filter(de=>de.rel==="stylesheet"||de.rel==="preload").map(de=>de.rel==="stylesheet"?{...de,rel:"prefetch",as:"style"}:{...de,rel:"prefetch"}))}function Tl(A,N,K,te,de,fe){let Se=(Qe,ut)=>K[ut]?Qe.route.id!==K[ut].route.id:!0,Pe=(Qe,ut)=>K[ut].pathname!==Qe.pathname||K[ut].route.path?.endsWith("*")&&K[ut].params["*"]!==Qe.params["*"];return fe==="assets"?N.filter((Qe,ut)=>Se(Qe,ut)||Pe(Qe,ut)):fe==="data"?N.filter((Qe,ut)=>{let At=te.routes[Qe.route.id];if(!At||!At.hasLoader)return!1;if(Se(Qe,ut)||Pe(Qe,ut))return!0;if(Qe.route.shouldRevalidate){let Pt=Qe.route.shouldRevalidate({currentUrl:new URL(de.pathname+de.search+de.hash,window.origin),currentParams:K[0]?.params||{},nextUrl:new URL(A,window.origin),nextParams:Qe.params,defaultShouldRevalidate:!0});if(typeof Pt=="boolean")return Pt}return!0}):[]}function wl(A,N,{includeHydrateFallback:K}={}){return gd(A.map(te=>{let de=N.routes[te.route.id];if(!de)return[];let fe=[de.module];return de.clientActionModule&&(fe=fe.concat(de.clientActionModule)),de.clientLoaderModule&&(fe=fe.concat(de.clientLoaderModule)),K&&de.hydrateFallbackModule&&(fe=fe.concat(de.hydrateFallbackModule)),de.imports&&(fe=fe.concat(de.imports)),fe}).flat(1))}function gd(A){return[...new Set(A)]}function ql(A){let N={},K=Object.keys(A).sort();for(let te of K)N[te]=A[te];return N}function Bl(A,N){let K=new Set,te=new Set(N);return A.reduce((de,fe)=>{if(N&&!El(fe)&&fe.as==="script"&&fe.href&&te.has(fe.href))return de;let Pe=JSON.stringify(ql(fe));return K.has(Pe)||(K.add(Pe),de.push({key:Pe,link:fe})),de},[])}var cl;function vd(){if(cl!==void 0)return cl;let A=document.createElement("link");return cl=A.relList.supports("preload"),A=null,cl}function _l(){return g.createElement(Jc,{title:"Loading...",renderScripts:!0},bs?g.createElement("script",{dangerouslySetInnerHTML:{__html:` 768 console.log( 769 "\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this " + 770 "when your app is loading JS modules and/or running \`clientLoader\` " + 771 "functions. Check out https://reactrouter.com/start/framework/route-module#hydratefallback " + 772 "for more information." 773 ); 774 `}}):null)}function dl(A){let N={};return Object.values(A).forEach(K=>{if(K){let te=K.parentId||"";N[te]||(N[te]=[]),N[te].push(K)}}),N}function hc(A,N,K){let te=es(N),de=N.HydrateFallback&&(!K||A.id==="root")?N.HydrateFallback:A.id==="root"?_l:void 0,fe=N.ErrorBoundary?N.ErrorBoundary:A.id==="root"?()=>m.createElement(Gu,{error:vo()}):void 0;return A.id==="root"&&N.Layout?{...te?{element:m.createElement(N.Layout,null,m.createElement(te,null))}:{Component:te},...fe?{errorElement:m.createElement(N.Layout,null,m.createElement(fe,null))}:{ErrorBoundary:fe},...de?{hydrateFallbackElement:m.createElement(N.Layout,null,m.createElement(de,null))}:{HydrateFallback:de}}:{Component:te,ErrorBoundary:fe,HydrateFallback:de}}function Sa(A,N,K,te,de="",fe=dl(A),Se=Promise.resolve({Component:()=>null})){return(fe[de]||[]).map(Pe=>{let Qe=N[Pe.id];To(Qe,"No `routeModule` available to create server routes");let ut={...hc(Pe,Qe,te),caseSensitive:Pe.caseSensitive,id:Pe.id,index:Pe.index,path:Pe.path,handle:Qe.handle,lazy:te?()=>Se:void 0,loader:Pe.hasLoader||Pe.hasClientLoader?()=>null:void 0},At=Sa(A,N,K,te,Pe.id,fe,Se);return At.length>0&&(ut.children=At),ut})}function M(A,N,K,te,de,fe){return Be(N,K,te,de,fe,"",dl(N),A)}function re(A,N){if(A==="loader"&&!N.hasLoader||A==="action"&&!N.hasAction){let te=`You are trying to call ${A==="action"?"serverAction()":"serverLoader()"} on a route that does not have a server ${A} (routeId: "${N.id}")`;throw console.error(te),new gi(400,"Bad Request",new Error(te),!0)}}function Ee(A,N){let K=A==="clientAction"?"a":"an",te=`Route "${N}" does not have ${K} ${A}, but you are trying to submit to it. To fix this, please add ${K} \`${A}\` function to the route`;throw console.error(te),new gi(405,"Method Not Allowed",new Error(te),!0)}function Be(A,N,K,te,de,fe="",Se=dl(A),Pe){return(Se[fe]||[]).map(Qe=>{let ut=N[Qe.id];function At(_r){return To(typeof _r=="function","No single fetch function available for route handler"),_r()}function Pt(_r){return Qe.hasLoader?At(_r):Promise.resolve(null)}function Fr(_r){if(!Qe.hasAction)throw Ee("action",Qe.id);return At(_r)}function vr(_r){import(_r)}function Qr(_r){_r.clientActionModule&&vr(_r.clientActionModule),_r.clientLoaderModule&&vr(_r.clientLoaderModule)}async function jt(_r){let Xn=N[Qe.id],ni=Xn?Gc(Qe,Xn):Promise.resolve();try{return _r()}finally{await ni}}let Vt={id:Qe.id,index:Qe.index,path:Qe.path};if(ut){Object.assign(Vt,{...Vt,...hc(Qe,ut,de),middleware:ut.clientMiddleware,handle:ut.handle,shouldRevalidate:vt(Vt.path,ut,Qe,te,Pe)});let _r=K&&K.loaderData&&Qe.id in K.loaderData,Xn=_r?K?.loaderData?.[Qe.id]:void 0,ni=K&&K.errors&&Qe.id in K.errors,zn=ni?K?.errors?.[Qe.id]:void 0,hi=Pe==null&&(ut.clientLoader?.hydrate===!0||!Qe.hasLoader);Vt.loader=async({request:Ki,params:Lr,context:li,pattern:_s,url:ga},Ei)=>{let Us=hi;return hi=!1,await jt(async()=>(To(ut,"No `routeModule` available for critical-route loader"),ut.clientLoader?ut.clientLoader({request:Ki,params:Lr,context:li,pattern:_s,url:ga,async serverLoader(){if
774(re("loader",Qe),Us){if(_r)return Xn;if(ni)throw zn}return Pt(Ei)}}):Pt(Ei)))},Vt.loader.hydrate=Zs(Qe.id,ut.clientLoader,Qe.hasLoader,de),Vt.action=({request:Ki,params:Lr,context:li,pattern:_s,url:ga},Ei)=>jt(async()=>{if(To(ut,"No `routeModule` available for critical-route action"),!ut.clientAction){if(de)throw Ee("clientAction",Qe.id);return Fr(Ei)}return ut.clientAction({request:Ki,params:Lr,context:li,pattern:_s,url:ga,async serverAction(){return re("action",Qe),Fr(Ei)}})})}else{Qe.hasClientLoader||(Vt.loader=(ni,zn)=>jt(()=>Pt(zn))),Qe.hasClientAction||(Vt.action=(ni,zn)=>jt(()=>{if(de)throw Ee("clientAction",Qe.id);return Fr(zn)}));let _r;async function Xn(){return _r?await _r:(_r=(async()=>{(Qe.clientLoaderModule||Qe.clientActionModule)&&await new Promise(zn=>setTimeout(zn,0));let ni=Cn(Qe,N);return Qr(Qe),await ni})(),await _r)}Vt.lazy={loader:Qe.hasClientLoader?async()=>{let{clientLoader:ni}=Qe.clientLoaderModule?await import(Qe.clientLoaderModule):await Xn();return To(ni,"No `clientLoader` export found"),(zn,hi)=>ni({...zn,async serverLoader(){return re("loader",Qe),Pt(hi)}})}:void 0,action:Qe.hasClientAction?async()=>{let ni=Qe.clientActionModule?import(Qe.clientActionModule):Xn();Qr(Qe);let{clientAction:zn}=await ni;return To(zn,"No `clientAction` export found"),(hi,Ki)=>zn({...hi,async serverAction(){return re("action",Qe),Fr(Ki)}})}:void 0,middleware:Qe.hasClientMiddleware?async()=>{let{clientMiddleware:ni}=Qe.clientMiddlewareModule?await import(Qe.clientMiddlewareModule):await Xn();return To(ni,"No `clientMiddleware` export found"),ni}:void 0,shouldRevalidate:async()=>{let ni=await Xn();return vt(Vt.path,ni,Qe,te,Pe)},handle:async()=>(await Xn()).handle,Component:async()=>(await Xn()).Component,ErrorBoundary:Qe.hasErrorBoundary?async()=>(await Xn()).ErrorBoundary:void 0}}let zr=Be(A,N,K,te,de,Qe.id,Se,Pe);return zr.length>0&&(Vt.children=zr),Vt})}function vt(A,N,K,te,de){if(de)return gr(K.id,N.shouldRevalidate,de);if(!te&&K.hasLoader&&!K.hasClientLoader){let fe=A?Xr(A)[1].map(Pe=>Pe.paramName):[];const Se=Pe=>fe.some(Qe=>Pe.currentParams[Qe]!==Pe.nextParams[Qe]);if(N.shouldRevalidate){let Pe=N.shouldRevalidate;return Qe=>Pe({...Qe,defaultShouldRevalidate:Se(Qe)})}else return Pe=>Se(Pe)}return N.shouldRevalidate}function gr(A,N,K){let te=!1;return de=>te?N?N(de):de.defaultShouldRevalidate:(te=!0,K.has(A))}async function Cn(A,N){let K=wo(A,N),te=Zl(A),de=await K;return await Promise.all([te,Gc(A,de)]),{Component:es(de),ErrorBoundary:de.ErrorBoundary,clientMiddleware:de.clientMiddleware,clientAction:de.clientAction,clientLoader:de.clientLoader,handle:de.handle,links:de.links,meta:de.meta,shouldRevalidate:de.shouldRevalidate}}function es(A){if(A.default==null)return;if(!(typeof A.default=="object"&&Object.keys(A.default).length===0))return A.default}function Zs(A,N,K,te){return te&&A!=="root"||N!=null&&(N.hydrate===!0||K!==!0)}var fa=new Set,Io=1e3,ru=new Set,Ul=7680;function yd(A,N){return A.mode==="lazy"&&N===!0}function Kc({sri:A,...N},K){let te=new Set(K.state.matches.map(Pe=>Pe.route.id)),de=K.state.location.pathname.split("/").filter(Boolean),fe=["/"];for(de.pop();de.length>0;)fe.push(`/${de.join("/")}`),de.pop();fe.forEach(Pe=>{let Qe=mt(K.routes,Pe,K.basename||"/",!1,K.branches);Qe&&Qe.forEach(ut=>te.add(ut.route.id))});let Se=[...te].reduce((Pe,Qe)=>Object.assign(Pe,{[Qe]:N.routes[Qe]}),{});return{...N,routes:Se,sri:A?!0:void 0}}function Yc(A,N,K,te,de,fe,Se){if(yd(de,te))return async({path:Pe,patch:Qe,signal:ut,fetcherKey:At})=>{if(ru.has(Pe))return;let{state:Pt}=A();await tc([Pe],At?window.location.href:he(Pt.navigation.location||Pt.location),N,K,te,fe,Se,de.manifestPath,Qe,ut)}}function bd(A,N,K,te,de,fe){l.useEffect(()=>{if(!yd(de,te)||window.navigator?.connection?.saveData===!0)return;function Se(At){let Pt=At.tagName==="FORM"?At.getAttribute("action"):At.getAttribute("href");if(!Pt)return;let Fr=At.tagName==="A"?At.pathname:new URL(Pt,window.location.origin).pathname;ru.has(Fr)||fa.add(Fr)}async function Pe(){document.querySelectorAll("a[data-discover], form[data-discover]").forEach(Se);let At=Array.from(fa.keys()).filter(Pt=>ru.has(Pt)?(fa.delete(Pt),!1):!0);if(At.length!==0)try{await tc(At,null,N,K,te,fe,A.basename,de.manifestPath,A.patchRoutes)}catch(Pt){console.error("Failed to fetch manifest patches",Pt)}}let Qe=Cf(Pe,100);Pe();let ut=new MutationObserver(()=>Qe());return ut.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-discover","href","action"]}),()=>ut.disconnect()},[te,fe,N,K,A,de])}function ec(A,N){let K=A||"/__manifest";return N==null?K:nn([N,K])}var mu="react-router-manifest-version";async function tc(A,N,K,te,de,fe,Se,Pe,Qe,ut){const At=new URLSearchParams;At.set("paths",A.sort().join(",")),At.set("version",K.version);
774let Pt=new URL(ec(Pe,Se),window.location.origin);if(Pt.search=At.toString(),Pt.toString().length>Ul){fa.clear();return}let Fr;try{let Vt=await fetch(Pt,{signal:ut});if(Vt.ok){if(Vt.status===204&&Vt.headers.has("X-Remix-Reload-Document")){if(!N){console.warn("Detected a manifest version mismatch during eager route discovery. The next navigation/fetch to an undiscovered route will result in a new document navigation to sync up with the latest manifest.");return}try{if(sessionStorage.getItem(mu)===K.version){console.error("Unable to discover routes due to manifest version mismatch.");return}sessionStorage.setItem(mu,K.version)}catch{}window.location.href=N,console.warn("Detected manifest version mismatch, reloading..."),await new Promise(()=>{})}else if(Vt.status>=400)throw new Error(await Vt.text())}else throw new Error(`${Vt.status} ${Vt.statusText}`);try{sessionStorage.removeItem(mu)}catch{}Fr=await Vt.json()}catch(Vt){if(ut?.aborted)return;throw Vt}let vr=new Set(Object.keys(K.routes)),Qr=Object.values(Fr).reduce((Vt,zr)=>(zr&&!vr.has(zr.id)&&(Vt[zr.id]=zr),Vt),{});Object.assign(K.routes,Qr),A.forEach(Vt=>b(Vt,ru));let jt=new Set;Object.values(Qr).forEach(Vt=>{Vt&&(!Vt.parentId||!Qr[Vt.parentId])&&jt.add(Vt.parentId)}),jt.forEach(Vt=>Qe(Vt||null,Be(Qr,te,null,de,fe,Vt)))}function b(A,N){if(N.size>=Io){let K=N.values().next().value;N.delete(K)}N.add(A)}function Cf(A,N){let K;return(...te)=>{window.clearTimeout(K),K=window.setTimeout(()=>A(...te),N)}}function ea(){let A=x.useContext(Le);return To(A,"You must render this element inside a <DataRouterContext.Provider> element"),A}function ji(){let A=x.useContext(Ue);return To(A,"You must render this element inside a <DataRouterStateContext.Provider> element"),A}var Rc=x.createContext(void 0);Rc.displayName="FrameworkContext";function Al(){let A=x.useContext(Rc);return To(A,"You must render this element inside a <HydratedRouter> element"),A}function Dc(A,N){let K=x.useContext(Rc),[te,de]=x.useState(!1),[fe,Se]=x.useState(!1),{onFocus:Pe,onBlur:Qe,onMouseEnter:ut,onMouseLeave:At,onTouchStart:Pt}=N,Fr=x.useRef(null);x.useEffect(()=>{if(A==="render"&&Se(!0),A==="viewport"){let jt=zr=>{zr.forEach(_r=>{Se(_r.isIntersecting)})},Vt=new IntersectionObserver(jt,{threshold:.5});return Fr.current&&Vt.observe(Fr.current),()=>{Vt.disconnect()}}},[A]),x.useEffect(()=>{if(te){let jt=setTimeout(()=>{Se(!0)},100);return()=>{clearTimeout(jt)}}},[te]);let vr=()=>{de(!0)},Qr=()=>{de(!1),Se(!1)};return K?A!=="intent"?[fe,Fr,{}]:[fe,Fr,{onFocus:Xc(Pe,vr),onBlur:Xc(Qe,Qr),onMouseEnter:Xc(ut,vr),onMouseLeave:Xc(At,Qr),onTouchStart:Xc(Pt,vr)}]:[!1,Fr,{}]}function Xc(A,N){return K=>{A&&A(K),K.defaultPrevented||N(K)}}function pn(A,N,K){if(K&&!Uu)return[A[0]];if(N){let te=A.findIndex(de=>N[de.route.id]!==void 0);return A.slice(0,te+1)}return A}var xa="data-react-router-critical-css";function so({nonce:A,crossOrigin:N}){let{isSpaMode:K,manifest:te,routeModules:de,criticalCss:fe}=Al(),{errors:Se,matches:Pe}=ji(),Qe=pn(Pe,Se,K),ut=u.useMemo(()=>fc(Qe,de,te),[Qe,de,te]);return u.createElement(u.Fragment,null,typeof fe=="string"?u.createElement("style",{[xa]:"",nonce:A,dangerouslySetInnerHTML:{__html:fe}}):null,typeof fe=="object"?u.createElement("link",{[xa]:"",rel:"stylesheet",href:fe.href,nonce:A,crossOrigin:N}):null,ut.map(({key:At,link:Pt})=>El(Pt)?u.createElement(La,{key:At,nonce:A,...Pt,crossOrigin:Pt.crossOrigin??N}):u.createElement("link",{key:At,nonce:A,...Pt,crossOrigin:Pt.crossOrigin??N})))}function La({page:A,...N}){let K=ot(),{router:te}=ea(),de=x.useMemo(()=>It(te.routes,A,te.basename),[te.routes,A,te.basename]);return de?K?x.createElement(Cl,{page:A,matches:de,...N}):x.createElement(Qc,{page:A,matches:de,...N}):null}function ia(A){let{manifest:N,routeModules:K}=Al(),[te,de]=x.useState([]);return x.useEffect(()=>{let fe=!1;return md(A,N,K).then(Se=>{fe||de(Se)}),()=>{fe=!0}},[A,N,K]),te}function Cl({page:A,matches:N,...K}){let te=ns(),{future:de}=Al(),{basename:fe}=ea(),Se=x.useMemo(()=>{if(A===te.pathname+te.search+te.hash)return[];let Pe=Vc(A,fe,de.unstable_trailingSlashAwareDataRequests,"rsc"),Qe=!1,ut=[];for(let At of N)typeof At.route.shouldRevalidate=="function"?Qe=!0:ut.push(At.route.id);return Qe&&ut.length>0&&Pe.searchParams.set("_routes",ut.join(",")),[Pe.pathname+Pe.search]},[fe,de.unstable_trailingSlashAwareDataRequests,A,te,N]);return x.createElement(x.Fragment,null,Se.map(Pe=>x.createElement("link",{key:Pe,rel:"prefetch",as:"fetch",href:Pe,...K})))}function Qc({page:A,matches:N,...K}){let te=ns(),{future:de,manifest:fe,routeModules:Se}=Al(),{basename:Pe}=ea(),{loaderData:Qe,matches:ut}=ji(),At=x.useMemo(()=>Tl(A,N,ut,fe,te,"data"),[A,N,ut,fe,te]),Pt=x.useMemo(()=>Tl(A,N,ut,fe,te,"assets"),[A,N,ut,fe,te]),Fr=x.useMemo(()=>
774{if(A===te.pathname+te.search+te.hash)return[];let jt=new Set,Vt=!1;if(N.forEach(_r=>{let Xn=fe.routes[_r.route.id];!Xn||!Xn.hasLoader||(!At.some(ni=>ni.route.id===_r.route.id)&&_r.route.id in Qe&&Se[_r.route.id]?.shouldRevalidate||Xn.hasClientLoader?Vt=!0:jt.add(_r.route.id))}),jt.size===0)return[];let zr=Vc(A,Pe,de.unstable_trailingSlashAwareDataRequests,"data");return Vt&&jt.size>0&&zr.searchParams.set("_routes",N.filter(_r=>jt.has(_r.route.id)).map(_r=>_r.route.id).join(",")),[zr.pathname+zr.search]},[Pe,de.unstable_trailingSlashAwareDataRequests,Qe,te,fe,At,N,A,Se]),vr=x.useMemo(()=>wl(Pt,fe),[Pt,fe]),Qr=ia(Pt);return x.createElement(x.Fragment,null,Fr.map(jt=>x.createElement("link",{key:jt,rel:"prefetch",as:"fetch",href:jt,...K})),vr.map(jt=>x.createElement("link",{key:jt,rel:"modulepreload",href:jt,...K})),Qr.map(({key:jt,link:Vt})=>x.createElement("link",{key:jt,nonce:K.nonce,...Vt,crossOrigin:Vt.crossOrigin??K.crossOrigin})))}function ao(){let{isSpaMode:A,routeModules:N}=Al(),{errors:K,matches:te,loaderData:de}=ji(),fe=ns(),Se=pn(te,K,A),Pe=null;K&&(Pe=K[Se[Se.length-1].route.id]);let Qe=[],ut=null,At=[];for(let Pt=0;Pt<Se.length;Pt++){let Fr=Se[Pt],vr=Fr.route.id,Qr=de[vr],jt=Fr.params,Vt=N[vr],zr=[],_r={id:vr,data:Qr,loaderData:Qr,meta:[],params:Fr.params,pathname:Fr.pathname,handle:Fr.route.handle,error:Pe};if(At[Pt]=_r,Vt?.meta?zr=typeof Vt.meta=="function"?Vt.meta({data:Qr,loaderData:Qr,params:jt,location:fe,matches:At,error:Pe}):Array.isArray(Vt.meta)?[...Vt.meta]:Vt.meta:ut&&(zr=[...ut]),zr=zr||[],!Array.isArray(zr))throw new Error("The route at "+Fr.route.path+` returns an invalid value. All route meta functions must return an array of meta objects. 775 776To reference the meta function API, see https://reactrouter.com/start/framework/route-module#meta`);_r.meta=zr,At[Pt]=_r,Qe=[...zr],ut=Qe}return u.createElement(u.Fragment,null,Qe.flat().map(Pt=>{if(!Pt)return null;if("tagName"in Pt){let{tagName:Fr,...vr}=Pt;if(!Bu(Fr))return console.warn(`A meta object uses an invalid tagName: ${Fr}. Expected either 'link' or 'meta'`),null;let Qr=Fr;return u.createElement(Qr,{key:JSON.stringify(vr),...vr})}if("title"in Pt)return u.createElement("title",{key:"title"},String(Pt.title));if("charset"in Pt&&(Pt.charSet??(Pt.charSet=Pt.charset),delete Pt.charset),"charSet"in Pt&&Pt.charSet!=null)return typeof Pt.charSet=="string"?u.createElement("meta",{key:"charSet",charSet:Pt.charSet}):null;if("script:ld+json"in Pt)try{let Fr=JSON.stringify(Pt["script:ld+json"]);return u.createElement("script",{key:`script:ld+json:${Fr}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:Wu(Fr)}})}catch{return null}return u.createElement("meta",{key:JSON.stringify(Pt),...Pt})}))}function Bu(A){return typeof A=="string"&&/^(meta|link)$/.test(A)}var Uu=!1;function Lc(){Uu=!0}function pc(A){let{manifest:N,serverHandoffString:K,isSpaMode:te,renderMeta:de,routeDiscovery:fe,ssr:Se}=Al(),{router:Pe,static:Qe,staticContext:ut}=ea(),{matches:At}=ji(),Pt=ot(),Fr=yd(fe,Se);de&&(de.didRenderScripts=!0);let vr=pn(At,null,te);x.useEffect(()=>{Lc()},[]);let Qr=x.useMemo(()=>{if(Pt)return null;let _r=ut?`window.__reactRouterContext = ${K};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",Xn=Qe?`${N.hmr?.runtime?`import ${JSON.stringify(N.hmr.runtime)};`:""}${Fr?"":`import ${JSON.stringify(N.url)}`}; 777${vr.map((ni,zn)=>{let hi=`route${zn}`,Ki=N.routes[ni.route.id];To(Ki,`Route ${ni.route.id} not found in manifest`);let{clientActionModule:Lr,clientLoaderModule:li,clientMiddlewareModule:_s,hydrateFallbackModule:ga,module:Ei}=Ki,Us=[...Lr?[{module:Lr,varName:`${hi}_clientAction`}]:[],...li?[{module:li,varName:`${hi}_clientLoader`}]:[],..._s?[{module:_s,varName:`${hi}_clientMiddleware`}]:[],...ga?[{module:ga,varName:`${hi}_HydrateFallback`}]:[],{module:Ei,varName:`${hi}_main`}];if(Us.length===1)return`import * as ${hi} from ${JSON.stringify(Ei)};`;let fs=Us.map(Ss=>`import * as ${Ss.varName} from "${Ss.module}";`).join(` 778`),Ws=`const ${hi} = {${Us.map(Ss=>`...${Ss.varName}`).join(",")}};`;return[fs,Ws].join(` 779`)}).join(` 780`)} 781 ${Fr?`window.__reactRouterManifest = ${JSON.stringify(Kc(N,Pe),null,2)};`:""} 782 window.__reactRouterRouteModules = {${vr.map((ni,zn)=>`${JSON.stringify(ni.route.id)}:route${zn}`).join(",")}}; 783 784import(${JSON.stringify(N.entry.module)});`:" ";return x.createElement(x.Fragment,null,x.createElement("script",{...A,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:_r}
784,type:void 0}),x.createElement("script",{...A,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Xn},type:"module",async:!0}))},[]),jt=Uu||Pt?[]:[...new Set(N.entry.imports.concat(wl(vr,N,{includeHydrateFallback:!0})))],Vt=typeof N.sri=="object"?N.sri:{};return Fs(!Pt,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),Uu||Pt?null:x.createElement(x.Fragment,null,typeof N.sri=="object"?x.createElement("script",{...A,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:Vt})}}):null,Fr?null:x.createElement("link",{rel:"modulepreload",href:N.url,crossOrigin:A.crossOrigin,integrity:Vt[N.url],nonce:A.nonce,suppressHydrationWarning:!0}),x.createElement("link",{rel:"modulepreload",href:N.entry.module,crossOrigin:A.crossOrigin,integrity:Vt[N.entry.module],nonce:A.nonce,suppressHydrationWarning:!0}),jt.map(zr=>x.createElement("link",{key:zr,rel:"modulepreload",href:zr,crossOrigin:A.crossOrigin,integrity:Vt[zr],nonce:A.nonce,suppressHydrationWarning:!0})),Qr)}function Md(...A){return N=>{A.forEach(K=>{typeof K=="function"?K(N):K!=null&&(K.current=N)})}}var Mc=class extends x.Component{constructor(A){super(A),this.state={error:A.error||null,location:A.location}}static getDerivedStateFromError(A){return{error:A}}static getDerivedStateFromProps(A,N){return N.location!==A.location?{error:A.error||null,location:A.location}:{error:A.error||N.error,location:N.location}}render(){return this.state.error?x.createElement(Gu,{error:this.state.error,isOutsideRemixApp:!0}):this.props.children}};function Gu({error:A,isOutsideRemixApp:N}){console.error(A);let K=x.createElement("script",{dangerouslySetInnerHTML:{__html:` 785 console.log( 786 "\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information." 787 ); 788 `}});if(Hi(A))return x.createElement(Jc,{title:"Unhandled Thrown Response!"},x.createElement("h1",{style:{fontSize:"24px"}},A.status," ",A.statusText),bs?K:null);let te;if(A instanceof Error)te=A;else{let de=A==null?"Unknown Error":typeof A=="object"&&"toString"in A?A.toString():JSON.stringify(A);te=new Error(de)}return x.createElement(Jc,{title:"Application Error!",isOutsideRemixApp:N},x.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),x.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},te.stack),K)}function Jc({title:A,renderScripts:N,isOutsideRemixApp:K,children:te}){let{routeModules:de}=Al();return de.root?.Layout&&!K?te:x.createElement("html",{lang:"en"},x.createElement("head",null,x.createElement("meta",{charSet:"utf-8"}),x.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),x.createElement("title",null,A)),x.createElement("body",null,x.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},te,N?x.createElement(pc,null):null)))}var Sd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Sd&&(window.__reactRouterVersion="7.15.1")}catch{}function xd(A,N){return Ui({basename:N?.basename,getContext:N?.getContext,future:N?.future,history:F({window:N?.window}),hydrationData:N?.hydrationData||nc(),routes:A,mapRouteProperties:ae,hydrationRouteProperties:hr,dataStrategy:N?.dataStrategy,patchRoutesOnNavigation:N?.patchRoutesOnNavigation,window:N?.window,instrumentations:N?.instrumentations}).initialize()}function rc(A,N){return Ui({basename:N?.basename,getContext:N?.getContext,future:N?.future,history:V({window:N?.window}),hydrationData:N?.hydrationData||nc(),routes:A,mapRouteProperties:ae,hydrationRouteProperties:hr,dataStrategy:N?.dataStrategy,patchRoutesOnNavigation:N?.patchRoutesOnNavigation,window:N?.window,instrumentations:N?.instrumentations}).initialize()}function nc(){let A=window?.__staticRouterHydrationData;return A&&A.errors&&(A={...A,errors:Pu(A.errors)}),A}function Pu(A){if(!A)return null;let N=Object.entries(A),K={};for(let[te,de]of N)if(de&&de.__type==="RouteErrorResponse")K[te]=new gi(de.status,de.statusText,de.data,de.internal===!0);else if(de&&de.__type==="Error"){if(de.__subType){let fe=window[de.__subType];if(typeof fe=="function")try{let Se=new fe(de.message);Se.stack="",K[te]=Se}catch{}}if(K[te]==null){let fe=new Error(de.message);fe.stack="",K[te]=fe}}else K[te]=de;return K}function Ol({basename:A,children:N,useTransitions:K,window:te}){let de=h.useRef();de.current==null&&(de.current=F({window:te,v5Compat:!0}));let fe=de.current,[Se,Pe]=h.useState({action:fe.action,location:fe.location}),Qe=h.useCallback(ut=>{K===!1?Pe(ut):h.startTransition(()=>Pe(ut))}
788,[K]);return h.useLayoutEffect(()=>fe.listen(Qe),[fe,Qe]),h.createElement(Vo,{basename:A,children:N,location:Se.location,navigationType:Se.action,navigator:fe,useTransitions:K})}function Po({basename:A,children:N,useTransitions:K,window:te}){let de=x.useRef();de.current==null&&(de.current=V({window:te,v5Compat:!0}));let fe=de.current,[Se,Pe]=x.useState({action:fe.action,location:fe.location}),Qe=x.useCallback(ut=>{K===!1?Pe(ut):x.startTransition(()=>Pe(ut))},[K]);return x.useLayoutEffect(()=>fe.listen(Qe),[fe,Qe]),x.createElement(Vo,{basename:A,children:N,location:Se.location,navigationType:Se.action,navigator:fe,useTransitions:K})}function mc({basename:A,children:N,history:K,useTransitions:te}){let[de,fe]=x.useState({action:K.action,location:K.location}),Se=x.useCallback(Pe=>{te===!1?fe(Pe):x.startTransition(()=>fe(Pe))},[te]);return x.useLayoutEffect(()=>K.listen(Se),[K,Se]),x.createElement(Vo,{basename:A,children:N,location:de.location,navigationType:de.action,navigator:K,useTransitions:te})}mc.displayName="unstable_HistoryRouter";var Zc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gu=x.forwardRef(function({onClick:N,discover:K="render",prefetch:te="none",relative:de,reloadDocument:fe,replace:Se,mask:Pe,state:Qe,target:ut,to:At,preventScrollReset:Pt,viewTransition:Fr,defaultShouldRevalidate:vr,...Qr},jt){let{basename:Vt,navigator:zr,useTransitions:_r}=x.useContext(kn),Xn=typeof At=="string"&&Zc.test(At),ni=$s(At,Vt);At=ni.to;let zn=Ks(At,{relative:de}),hi=ns(),Ki=null;if(Pe){let Ws=Rt(Pe,[],hi.mask?hi.mask.pathname:"/",!0);Vt!=="/"&&(Ws.pathname=Ws.pathname==="/"?Vt:nn([Vt,Ws.pathname])),Ki=zr.createHref(Ws)}let[Lr,li,_s]=Dc(te,Qr),ga=Ku(At,{replace:Se,mask:Pe,state:Qe,target:ut,preventScrollReset:Pt,relative:de,viewTransition:Fr,defaultShouldRevalidate:vr,useTransitions:_r});function Ei(Ws){N&&N(Ws),Ws.defaultPrevented||ga(Ws)}let Us=!(ni.isExternal||fe),fs=x.createElement("a",{...Qr,..._s,href:(Us?Ki:void 0)||ni.absoluteURL||zn,onClick:Us?Ei:N,ref:Md(jt,li),target:ut,"data-discover":!Xn&&K==="render"?"true":void 0});return Lr&&!Xn?x.createElement(x.Fragment,null,fs,x.createElement(La,{page:zn})):fs});gu.displayName="Link";var Ed=x.forwardRef(function({"aria-current":N="page",caseSensitive:K=!1,className:te="",end:de=!1,style:fe,to:Se,viewTransition:Pe,children:Qe,...ut},At){let Pt=Dt(Se,{relative:ut.relative}),Fr=ns(),vr=x.useContext(Ue),{navigator:Qr,basename:jt}=x.useContext(kn),Vt=vr!=null&&yu(Pt)&&Pe===!0,zr=Qr.encodeLocation?Qr.encodeLocation(Pt).pathname:Pt.pathname,_r=Fr.pathname,Xn=vr&&vr.navigation&&vr.navigation.location?vr.navigation.location.pathname:null;K||(_r=_r.toLowerCase(),Xn=Xn?Xn.toLowerCase():null,zr=zr.toLowerCase()),Xn&&jt&&(Xn=Qt(Xn,jt)||Xn);const ni=zr!=="/"&&zr.endsWith("/")?zr.length-1:zr.length;let zn=_r===zr||!de&&_r.startsWith(zr)&&_r.charAt(ni)==="/",hi=Xn!=null&&(Xn===zr||!de&&Xn.startsWith(zr)&&Xn.charAt(zr.length)==="/"),Ki={isActive:zn,isPending:hi,isTransitioning:Vt},Lr=zn?N:void 0,li;typeof te=="function"?li=te(Ki):li=[te,zn?"active":null,hi?"pending":null,Vt?"transitioning":null].filter(Boolean).join(" ");let _s=typeof fe=="function"?fe(Ki):fe;return x.createElement(gu,{...ut,"aria-current":Lr,className:li,ref:At,style:_s,to:Se,viewTransition:Pe},typeof Qe=="function"?Qe(Ki):Qe)});Ed.displayName="NavLink";var af=x.forwardRef(({discover:A="render",fetcherKey:N,navigate:K,reloadDocument:te,replace:de,state:fe,method:Se=lu,action:Pe,onSubmit:Qe,relative:ut,preventScrollReset:At,viewTransition:Pt,defaultShouldRevalidate:Fr,...vr},Qr)=>{let{useTransitions:jt}=x.useContext(kn),Vt=vu(),zr=Yu(Pe,{relative:ut}),_r=Se.toLowerCase()==="get"?"get":"post",Xn=typeof Pe=="string"&&Zc.test(Pe),ni=zn=>{if(Qe&&Qe(zn),zn.defaultPrevented)return;zn.preventDefault();let hi=zn.nativeEvent.submitter,Ki=hi?.getAttribute("formmethod")||Se,Lr=()=>Vt(hi||zn.currentTarget,{fetcherKey:N,method:Ki,navigate:K,replace:de,state:fe,relative:ut,preventScrollReset:At,viewTransition:Pt,defaultShouldRevalidate:Fr});jt&&K!==!1?x.startTransition(()=>Lr()):Lr()};return x.createElement("form",{ref:Qr,method:_r,action:zr,onSubmit:te?Qe:ni,...vr,"data-discover":!Xn&&A==="render"?"true":void 0})});af.displayName="Form";function kd({getKey:A,storageKey:N,...K}){let te=x.useContext(Rc),{basename:de}=x.useContext(kn),fe=ns(),Se=ra();gc({getKey:A,storageKey:N});let Pe=x.useMemo(()=>
788{if(!te||!A)return null;let ut=$l(fe,Se,de,A);return ut!==fe.key?ut:null},[]);if(!te||te.isSpaMode)return null;let Qe=((ut,At)=>{if(!window.history.state||!window.history.state.key){let Pt=Math.random().toString(32).slice(2);window.history.replaceState({key:Pt},"")}try{let Fr=JSON.parse(sessionStorage.getItem(ut)||"{}")[At||window.history.state.key];typeof Fr=="number"&&window.scrollTo(0,Fr)}catch(Pt){console.error(Pt),sessionStorage.removeItem(ut)}}).toString();return x.createElement("script",{...K,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${Qe})(${Wu(JSON.stringify(N||zl))}, ${Wu(JSON.stringify(Pe))})`}})}kd.displayName="ScrollRestoration";function Il(A){return`${A} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jl(A){let N=x.useContext(Le);return W(N,Il(A)),N}function Nd(A){let N=x.useContext(Ue);return W(N,Il(A)),N}function Ku(A,{target:N,replace:K,mask:te,state:de,preventScrollReset:fe,relative:Se,viewTransition:Pe,defaultShouldRevalidate:Qe,useTransitions:ut}={}){let At=ee(),Pt=ns(),Fr=Dt(A,{relative:Se});return x.useCallback(vr=>{if(Ft(vr,N)){vr.preventDefault();let Qr=K!==void 0?K:he(Pt)===he(Fr),jt=()=>At(A,{replace:Qr,mask:te,state:de,preventScrollReset:fe,relative:Se,viewTransition:Pe,defaultShouldRevalidate:Qe});ut?x.startTransition(()=>jt()):jt()}},[Pt,At,Fr,K,te,de,N,A,fe,Se,Pe,Qe,ut])}function po(A){Z(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let N=x.useRef(Zt(A)),K=x.useRef(!1),te=ns(),de=x.useMemo(()=>Rr(te.search,K.current?null:N.current),[te.search]),fe=ee(),Se=x.useCallback((Pe,Qe)=>{const ut=Zt(typeof Pe=="function"?Pe(new URLSearchParams(de)):Pe);K.current=!0,fe("?"+ut,Qe)},[fe,de]);return[de,Se]}
788var Of=0,of=()=>`__${String(++Of)}__`;function vu(){let{router:A}=jl("useSubmit"),{basename:N}=x.useContext(kn),K=yi(),te=A.fetch,de=A.navigate;return x.useCallback(async(fe,Se={})=>{let{action:Pe,method:Qe,encType:ut,formData:At,body:Pt}=Ai(fe,N);if(Se.navigate===!1){let Fr=Se.fetcherKey||of();await te(Fr,K,Se.action||Pe,{defaultShouldRevalidate:Se.defaultShouldRevalidate,preventScrollReset:Se.preventScrollReset,formData:At,body:Pt,formMethod:Se.method||Qe,formEncType:Se.encType||ut,flushSync:Se.flushSync})}else await de(Se.action||Pe,{defaultShouldRevalidate:Se.defaultShouldRevalidate,preventScrollReset:Se.preventScrollReset,formData:At,body:Pt,formMethod:Se.method||Qe,formEncType:Se.encType||ut,replace:Se.replace,state:Se.state,fromRouteId:K,flushSync:Se.flushSync,viewTransition:Se.viewTransition})},[te,de,N,K])}function Yu(A,{relative:N}={}){let{basename:K}=x.useContext(kn),te=x.useContext(Rn);W(te,"useFormAction must be used inside a RouteContext");let[de]=te.matches.slice(-1),fe={...Dt(A||".",{relative:N})},Se=ns();if(A==null){fe.search=Se.search;let Pe=new URLSearchParams(fe.search),Qe=Pe.getAll("index");if(Qe.some(At=>At==="")){Pe.delete("index"),Qe.filter(Pt=>Pt).forEach(Pt=>Pe.append("index",Pt));let At=Pe.toString();fe.search=At?`?${At}`:""}}return(!A||A===".")&&de.route.index&&(fe.search=fe.search?fe.search.replace(/^\?/,"?index&"):"?index"),K!=="/"&&(fe.pathname=fe.pathname==="/"?K:nn([K,fe.pathname])),he(fe)}function uf({key:A}={}){let{router:N}=jl("useFetcher"),K=Nd("useFetcher"),te=h.useContext(rr),de=h.useContext(Rn),fe=de.matches[de.matches.length-1]?.route.id;W(te,"useFetcher must be used inside a FetchersContext"),W(de,"useFetcher must be used inside a RouteContext"),W(fe!=null,'useFetcher can only be used on routes that contain a unique "id"');let Se=h.useId(),[Pe,Qe]=h.useState(A||Se);A&&A!==Pe&&Qe(A);let{deleteFetcher:ut,getFetcher:At,resetFetcher:Pt,fetch:Fr}=N;h.useEffect(()=>(At(Pe),()=>ut(Pe)),[ut,At,Pe]);let vr=h.useCallback(async(zn,hi)=>{W(fe,"No routeId available for fetcher.load()"),await Fr(Pe,fe,zn,hi)},[Pe,fe,Fr]),Qr=vu(),jt=h.useCallback(async(zn,hi)=>{await Qr(zn,{...hi,navigate:!1,fetcherKey:Pe})},[Pe,Qr]),Vt=h.useCallback(zn=>Pt(Pe,zn),[Pt,Pe]),zr=h.useMemo(()=>{let zn=h.forwardRef((hi,Ki)=>h.createElement(af,{...hi,navigate:!1,fetcherKey:Pe,ref:Ki}));return zn.displayName="fetcher.Form",zn},[Pe]),_r=K.fetchers.get(Pe)||nr,Xn=te.get(Pe);return h.useMemo(()=>({Form:zr,submit:jt,load:vr,reset:Vt,..._r,data:Xn}),[zr,jt,vr,Vt,_r,Xn])}function Xu(){let A=Nd("useFetchers");return h.useMemo(()=>Array.from(A.fetchers.entries()).map(([N,K])=>({...K,key:N})),[A.fetchers])}var zl="react-router-scroll-positions",ic={};function $l(A,N,K,te){let de=null;return te&&(K!=="/"?de=te({...A,pathname:Qt(A.pathname,K)||A.pathname},N):de=te(A,N)),de==null&&(de=A.key),de}function gc({getKey:A,storageKey:N}={}){let{router:K}=jl("useScrollRestoration"),{restoreScrollPosition:te,preventScrollReset:de}=Nd("useScrollRestoration"),{basename:fe}=x.useContext(kn),Se=ns(),Pe=ra(),Qe=Ni();x.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),If(x.useCallback(()=>{if(Qe.state==="idle"){let ut=$l(Se,Pe,fe,A);ic[ut]=window.scrollY}try{sessionStorage.setItem(N||zl,JSON.stringify(ic))}catch(ut){Z(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${ut}).`)}window.history.scrollRestoration="auto"},[Qe.state,A,fe,Se,Pe,N])),typeof document<"u"&&(x.useLayoutEffect(()=>{try{let ut=sessionStorage.getItem(N||zl);ut&&(ic=JSON.parse(ut))}catch{}},[N]),x.useLayoutEffect(()=>{let ut=K?.enableScrollRestoration(ic,()=>window.scrollY,A?(At,Pt)=>$l(At,Pt,fe,A):void 0);return()=>ut&&ut()},[K,fe,A]),x.useLayoutEffect(()=>{if(te!==!1){if(typeof te=="number"){window.scrollTo(0,te);return}try{if(Se.hash){let ut=document.getElementById(decodeURIComponent(Se.hash.slice(1)));if(ut){ut.scrollIntoView();return}}}catch{Z(!1,`"${Se.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}de!==!0&&window.scrollTo(0,0)}},[Se,te,de]))}function Fd(A,N){let{capture:K}=N||{};h.useEffect(()=>{let te=K!=null?{capture:K}:void 0;return window.addEventListener("beforeunload",A,te),()=>{window.removeEventListener("beforeunload",A,te)}},[A,K])}function If(A,N){let{capture:K}=N||{};x.useEffect(()=>{let te=K!=null?{capture:K}:void 0;return window.addEventListener("pagehide",A,te),()=>{window.removeEventListener("pagehide",A,te)}},[A,K])}function lo({when:A,message:N}){let K=wu(A);h.useEffect(()=>{K.state==="blocked"&&(window.confirm(N)?setTimeout(K.proceed,0):K.reset())},[K,N]),h.useEffect(()=>{K.state==="blocked"&&!A&&K.reset()},[K,A])}function yu(A,{relative:N}={}){let K=x.useContext(Yt);W(K!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:te}=jl("useViewTransitionState"),de=Dt(A,{relative:N});if(!K.isTransitioning)return!1;let fe=Qt(K.currentLocation.pathname,te)||K.currentLocation.pathname,Se=Qt(K.nextLocation.pathname,te)||K.nextLocation.pathname;return dr(de.pathname,Se)!=null||dr(de.pathname,fe)!=null}function to({basename:A,children:N,location:K="/"}){typeof K=="string"&&(K=me(K));let te="POP",de={pathname:K.pathname||"/",search:K.search||"",hash:K.hash||"",state:K.state!=null?K.state:null,key:K.key||"default",mask:void 0},fe=we();return v.createElement(Vo,{basename:A,children:N,location:de,navigationType:te,navigator:fe,static:!0,useTransitions:!1})}function j({context:A,router:N,hydrate:K=!0,nonce:te}){W(N&&A,"You must provide `router` and `context` to <StaticRouterProvider>");let de={router:N,navigator:we(),static:!0,staticContext:A,basename:A.basename||"/"},fe=new Map,Se="";if(K!==!1){let Qe={loaderData:A.loaderData,actionData:A.actionData,errors:se(A.errors)};
788Se=`window.__staticRouterHydrationData = JSON.parse(${Wu(JSON.stringify(JSON.stringify(Qe)))});`}let{state:Pe}=de.router;return v.createElement(v.Fragment,null,v.createElement(Le.Provider,{value:de},v.createElement(Ue.Provider,{value:Pe},v.createElement(rr.Provider,{value:fe},v.createElement(Yt.Provider,{value:{isTransitioning:!1}},v.createElement(Vo,{basename:de.basename,location:Pe.location,navigationType:Pe.historyAction,navigator:de.navigator,static:de.static,useTransitions:!1},v.createElement(Ps,{manifest:N.manifest,routes:N.routes,future:N.future,state:Pe,isStatic:!0})))))),Se?v.createElement("script",{suppressHydrationWarning:!0,nonce:te,dangerouslySetInnerHTML:{__html:Se}}):null)}function se(A){if(!A)return null;let N=Object.entries(A),K={};for(let[te,de]of N)Hi(de)?K[te]={...de,__type:"RouteErrorResponse"}:de instanceof Error?K[te]={message:de.message,__type:"Error",...de.name!=="Error"?{__subType:de.name}:{}}:K[te]=de;return K}function we(){return{createHref:at,encodeLocation:Ht,push(A){throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(A)})\` somewhere in your app.`)},replace(A){throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(A)}, { replace: true })\` somewhere in your app.`)},go(A){throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${A})\` somewhere in your app.`)},back(){throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.")},forward(){throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.")}}}function Oe(A,N){return vi(A,{...N,mapRouteProperties:ae})}function rt(A,N,K={}){let te={},de=$e(A,ae,void 0,te),fe=N.matches.map(Pe=>{let Qe=te[Pe.route.id]||Pe.route;return{...Pe,route:Qe}}),Se=Pe=>`You cannot use router.${Pe}() on the server because it is a stateless environment`;return{get basename(){return N.basename},get future(){return{v8_middleware:!1,v8_passThroughRequests:!1,...K?.future}},get state(){return{historyAction:"POP",location:N.location,matches:fe,loaderData:N.loaderData,actionData:N.actionData,errors:N.errors,initialized:!0,renderFallback:!1,navigation:us,restoreScrollPosition:null,preventScrollReset:!1,revalidation:"idle",fetchers:new Map,blockers:new Map}},get routes(){return de},get branches(){return K.branches},get manifest(){return te},get window(){},initialize(){throw Se("initialize")},subscribe(){throw Se("subscribe")},enableScrollRestoration(){throw Se("enableScrollRestoration")},navigate(){throw Se("navigate")},fetch(){throw Se("fetch")},revalidate(){throw Se("revalidate")},createHref:at,encodeLocation:Ht,getFetcher(){return nr},deleteFetcher(){throw Se("deleteFetcher")},resetFetcher(){throw Se("resetFetcher")},dispose(){throw Se("dispose")},getBlocker(){return cr},deleteBlocker(){throw Se("deleteBlocker")},patchRoutes(){throw Se("patchRoutes")},_internalFetchControllers:new Map,_internalSetRoutes(){throw Se("_internalSetRoutes")},_internalSetStateDoNotUseOrYouWillBreakYourApp(){throw Se("_internalSetStateDoNotUseOrYouWillBreakYourApp")}}}function at(A){return typeof A=="string"?A:he(A)}function Ht(A){let N=typeof A=="string"?A:he(A);N=N.replace(/ $/,"%20");let K=ir.test(N)?new URL(N):new URL(N,"http://localhost");return{pathname:K.pathname,search:K.search,hash:K.hash}}var ir=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i},18398(f,d,e){"use strict";e.d(d,{HY:()=>k,Tw:()=>F,Zz:()=>$,y$:()=>T});function n(W){return`Minified Redux error #${W}; visit https://redux.js.org/Errors?code=${W} for the full message or use the non-minified dev environment for full errors. `}var r=typeof Symbol=="function"&&Symbol.observable||"@@observable",a=r,s=()=>Math.random().toString(36).substring(7).split("").join("."),i={INIT:`@@redux/INIT${s()}`,REPLACE:`@@redux/REPLACE${s()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${s()}`},u=i;function l(W){if(typeof W!="object"||W===null)return!1;let Z=W;for(;Object.getPrototypeOf(Z)!==null;)Z=Object.getPrototypeOf(Z);return Object.getPrototypeOf(W)===Z||Object.getPrototypeOf(W)===null}function m(W){if(W===void 0)return"undefined";if(W===null)return"null";const Z=typeof W;switch(Z){case"boolean":case"string":case"number":case"symbol":case"function":return Z}if(Array.isArray(W))return"array";if(v(W))return"date";if(h(W))return"error";
788const J=g(W);switch(J){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return J}return Object.prototype.toString.call(W).slice(8,-1).toLowerCase().replace(/\s/g,"")}function g(W){return typeof W.constructor=="function"?W.constructor.name:null}function h(W){return W instanceof Error||typeof W.message=="string"&&W.constructor&&typeof W.constructor.stackTraceLimit=="number"}function v(W){return W instanceof Date?!0:typeof W.toDateString=="function"&&typeof W.getDate=="function"&&typeof W.setDate=="function"}function x(W){return typeof W}function T(W,Z,J){if(typeof W!="function")throw new Error(n(2));if(typeof Z=="function"&&typeof J=="function"||typeof J=="function"&&typeof arguments[3]=="function")throw new Error(n(0));if(typeof Z=="function"&&typeof J>"u"&&(J=Z,Z=void 0),typeof J<"u"){if(typeof J!="function")throw new Error(n(1));return J(T)(W,Z)}let ie=W,le=Z,he=new Map,me=he,je=0,Fe=!1;function Je(){me===he&&(me=new Map,he.forEach((De,$e)=>{me.set($e,De)}))}function Xe(){if(Fe)throw new Error(n(3));return le}function ge(De){if(typeof De!="function")throw new Error(n(4));if(Fe)throw new Error(n(5));let $e=!0;Je();const qe=je++;return me.set(qe,De),function(){if($e){if(Fe)throw new Error(n(6));$e=!1,Je(),me.delete(qe),he=null}}}function be(De){if(!l(De))throw new Error(n(7));if(typeof De.type>"u")throw new Error(n(8));if(typeof De.type!="string")throw new Error(n(17));if(Fe)throw new Error(n(9));try{Fe=!0,le=ie(le,De)}finally{Fe=!1}return(he=me).forEach(qe=>{qe()}),De}function Ie(De){if(typeof De!="function")throw new Error(n(10));ie=De,be({type:u.REPLACE})}function Re(){const De=ge;return{subscribe($e){if(typeof $e!="object"||$e===null)throw new Error(n(11));function qe(){const mt=$e;mt.next&&mt.next(Xe())}return qe(),{unsubscribe:De(qe)}},[a](){return this}}}return be({type:u.INIT}),{dispatch:be,subscribe:ge,getState:Xe,replaceReducer:Ie,[a]:Re}}function E(W,Z,J){return T(W,Z,J)}function _(W){typeof console<"u"&&typeof console.error=="function"&&console.error(W);try{throw new Error(W)}catch{}}function C(W,Z,J,ie){const le=Object.keys(Z),he=J&&J.type===u.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(le.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!l(W))return`The ${he} has unexpected type of "${x(W)}". Expected argument to be an object with the following keys: "${le.join('", "')}"`;const me=Object.keys(W).filter(je=>!Z.hasOwnProperty(je)&&!ie[je]);if(me.forEach(je=>{ie[je]=!0}),!(J&&J.type===u.REPLACE)&&me.length>0)return`Unexpected ${me.length>1?"keys":"key"} "${me.join('", "')}" found in ${he}. Expected to find one of the known reducer keys instead: "${le.join('", "')}". Unexpected keys will be ignored.`}function P(W){Object.keys(W).forEach(Z=>{const J=W[Z];if(typeof J(void 0,{type:u.INIT})>"u")throw new Error(n(12));if(typeof J(void 0,{type:u.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(n(13))})}function k(W){const Z=Object.keys(W),J={};for(let me=0;me<Z.length;me++){const je=Z[me];typeof W[je]=="function"&&(J[je]=W[je])}const ie=Object.keys(J);let le,he;try{P(J)}catch(me){he=me}return function(je={},Fe){if(he)throw he;let Je=!1;const Xe={};for(let ge=0;ge<ie.length;ge++){const be=ie[ge],Ie=J[be],Re=je[be],ye=Ie(Re,Fe);if(typeof ye>"u"){const De=Fe&&Fe.type;throw new Error(n(14))}Xe[be]=ye,Je=Je||ye!==Re}return Je=Je||ie.length!==Object.keys(je).length,Je?Xe:je}}function D(W,Z){return function(...J){return Z(W.apply(this,J))}}function B(W,Z){if(typeof W=="function")return D(W,Z);if(typeof W!="object"||W===null)throw new Error(n(16));const J={};for(const ie in W){const le=W[ie];typeof le=="function"&&(J[ie]=D(le,Z))}return J}function $(...W){return W.length===0?Z=>Z:W.length===1?W[0]:W.reduce((Z,J)=>(...ie)=>Z(J(...ie)))}function F(...W){return Z=>(J,ie)=>{const le=Z(J,ie);let he=()=>{throw new Error(n(15))};const me={getState:le.getState,dispatch:(Fe,...Je)=>he(Fe,...Je)},je=W.map(Fe=>Fe(me));return he=$(...je)(le.dispatch),{...le,dispatch:he}}}function V(W){return l(W)&&"type"in W&&typeof W.type=="string"}},70249(f,d,e){"use strict";e.d(d,{L:()=>f1});var n=e(93572),r=e(80588);function a({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("BigPlayButton")?.el()?.querySelector(".vjs-control-text")?.removeAttribute("aria-live")},[p])}function s({player:p}){const t=r.useRef(null);r.useEffect(()=>{if(p==null)return;const o=y=>{if(y.key!=="Tab"||document.fullscreenElement==null)return;const w=i(p);if(w.length===0)return;const R=p.getChild("BigPlayButton"),ue=p.el()?.classList.contains("vjs-playing")?w[0]:R??w[0],Te=w[w.length-1];if(y.shiftKey&&document.activeElement===ue?.el()){y.preventDefault(),Te?.focus();return}!y.shiftKey&&document.activeElement===Te?.el()&&(y.preventDefault(),ue?.focus())},c=()=>{document.fullscreenElement==null?p.getChild("ControlBar")?.getChild("fullscreenToggle")?.focus():t.current=document.activeElement};return document.addEventListener("keydown",o),p.on("fullscreenchange",c),()=>{document.removeEventListener("keydown",o),p.off("fullscreenchange",c)}},[p])}function i(p){const t=p.getChild("ControlBar");return t==null?[]:t.children().flatMap(c=>c.name()==="VolumePanel"?c.children().flatMap(y=>y.children()):c).filter(c=>{const y=c.el();return y!=null&&!y.classList.contains("vjs-hidden")})}function u({labelPlaybackRate:p,player:t}){r.useEffect(()=>{if(t==null)return;const c=t.getChild("ControlBar")?.getChild("PlaybackRateMenuButton");if(c==null)return;const y=c.el()?.querySelector(".vjs-control-text"),w=c.el()?.querySelector(".vjs-playback-rate-value");if(y!=null&&w!=null){const G=c.el()?.querySelector("button"),ue=()=>{const Te=p!=null&&p!==""?p:t.localize("Playback Rate"),Ke=t.playbackRate();y.textContent=`${Te} ${Ke}x`,G?.removeAttribute("aria-describedby")};t.on("ratechange",ue),t.on("languagechange",ue),y.setAttribute("aria-atomic","true"),w.setAttribute("aria-hidden","true"),G?.removeAttribute("aria-describedby")}const R=c.el();if(R!=null){const G=ue=>{if(ue.key!=="Escape"||!R.contains(document.activeElement))return;R.querySelector("button")?.getAttribute("aria-expanded")==="true"&&c?.focus()};return document.addEventListener("keydown",G,!0),()=>{document.removeEventListener("keydown",G,!0)}}},[t,p])}function l({player:p}){r.useEffect(()=>{p!=null&&(p.el()?.removeAttribute("role"),p.el()?.removeAttribute("aria-label"))},[p])}function m({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("PosterImage")?.el()?.setAttribute("aria-hidden","true")},[p])}function g({enableSeek:p,labelSeek:t,labelSeekDisabled:o,player:c}){r.useEffect(()=>{if(c==null)return;const w=c.getChild("ControlBar")?.getChild("ProgressControl")?.getChild("SeekBar");if(w==null)return;const R=w.el();if(R==null)return;const G=c.localize("Progress Bar"),ue=t!=null&&t!==""?t:G,Te=o!=null&&o!==""?o:ue,Ke=p?ue:Te;R.setAttribute("aria-label",Ke)},[p,t,o,c])}function h({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("ControlBar")?.getChild("volumePanel")?.getChild("volumeControl")?.getChild("volumeBar")?.el()?.removeAttribute("aria-live")},[p])}function v({player:p}){r.useEffect(()=>{if(p==null)return;const o=p.getChild("ControlBar")?.getChild("SubsCapsButton");if(o==null)return;const c=o.el();if(c==null)return;const y=w=>{if(w.key!=="Escape"||!c.contains(document.activeElement))return;c.querySelector("button")?.getAttribute("aria-expanded")==="true"&&o?.focus()};return document.addEventListener("keydown",y,!0),()=>{document.removeEventListener("keydown",y,!0)}},[p])}function x({enableContextMenu:p,player:t}){r.useEffect(()=>{if(t==null||p)return;const o=c=>{c.preventDefault()};return t.on("contextmenu",o),()=>{t.off("contextmenu",o)}},[t,p])}function T({children:p,player:t}){const o=r.useRef(new Map);r.useEffect(()=>{if(t==null)return;const c=E(p),y=new Set(c.map(G=>G.src));for(const[G,ue]of o.current)y.has(G)||(t.removeRemoteTextTrack(ue),o.current.delete(G));const w=t.textTracks(),R=new Set;for(const G of Array.from(w))R.add(`${G?.label??""}|${G?.language??""}`);for(const G of c){const ue=`${G.label}|${G.language}`;if(!o.current.has(G.src)&&!R.has(ue)){const Te=t.addRemoteTextTrack({kind:G.kind,label:G.label,language:G.language,src:G.src,default:G.default},!1);
vendor: 22,659 bytes, lines 788-790
788o.current.set(G.src,Te);const Ke=Te;Ke?.track!=null&&(Ke.track.mode=G.default??!1?"showing":"disabled")}}},[p,t])}function E(p){const t=[];return r.Children.forEach(p,o=>{if(r.isValidElement(o)&&o.type==="track"&&o.props.src!=null&&o.props.src!==""){const c=o.props.kind!=null&&o.props.kind!==""?o.props.kind:"captions",y=o.props.label??"",w=o.props.srcLang??"";t.push({kind:c,label:y,language:w,src:o.props.src,default:o.props.default})}}),t}function _(p){return r.Children.map(p,t=>r.isValidElement(t)&&t.type==="track"?null:t)}var C=e(34980),P=e.n(C),k=e(24853),D=e.n(k),B=e(50013),$=e.n(B),F=e(35266),V=e.n(F);function W(){return W=Object.assign?Object.assign.bind():function(p){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var c in o)({}).hasOwnProperty.call(o,c)&&(p[c]=o[c])}return p},W.apply(null,arguments)}var Z="https://example.com",J=function(t,o){if(/^[a-z]+:/i.test(o))return o;/^data:/.test(t)&&(t=P().location&&P().location.href||"");var c=/^\/\//.test(t),y=!P().location&&!/\/\//i.test(t);t=new(P()).URL(t,P().location||Z);var w=new URL(o,t);return y?w.href.slice(Z.length):c?w.href.slice(w.protocol.length):w.href};const ie=J;var le=(function(){function p(){this.listeners={}}var t=p.prototype;return t.on=function(c,y){this.listeners[c]||(this.listeners[c]=[]),this.listeners[c].push(y)},t.off=function(c,y){if(!this.listeners[c])return!1;var w=this.listeners[c].indexOf(y);return this.listeners[c]=this.listeners[c].slice(0),this.listeners[c].splice(w,1),w>-1},t.trigger=function(c){var y=this.listeners[c];if(y)if(arguments.length===2)for(var w=y.length,R=0;R<w;++R)y[R].call(this,arguments[1]);else for(var G=Array.prototype.slice.call(arguments,1),ue=y.length,Te=0;Te<ue;++Te)y[Te].apply(this,G)},t.dispose=function(){this.listeners={}},t.pipe=function(c){this.on("data",function(y){c.push(y)})},p})(),he=function(t){return P().atob?P().atob(t):Buffer.from(t,"base64").toString("binary")};function me(p){for(var t=he(p),o=new Uint8Array(t.length),c=0;c<t.length;c++)o[c]=t.charCodeAt(c);return o}/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */class je extends le{constructor(){super(),this.buffer=""}push(t){let o;for(this.buffer+=t,o=this.buffer.indexOf(` 789`);o>-1;o=this.buffer.indexOf(` 790`))this.trigger("data",this.buffer.substring(0,o)),this.buffer=this.buffer.substring(o+1)}}const Fe=" ",Je=function(p){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(p||""),o={};return t[1]&&(o.length=parseInt(t[1],10)),t[2]&&(o.offset=parseInt(t[2],10)),o},Xe=function(){const o="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+o+")")},ge=function(p){const t={};if(!p)return t;const o=p.split(Xe());let c=o.length,y;for(;c--;)o[c]!==""&&(y=/([^=]*)=(.*)/.exec(o[c]).slice(1),y[0]=y[0].replace(/^\s+|\s+$/g,""),y[1]=y[1].replace(/^\s+|\s+$/g,""),y[1]=y[1].replace(/^['"](.*)['"]$/g,"$1"),t[y[0]]=y[1]);return t},be=p=>{const t=p.split("x"),o={};return t[0]&&(o.width=parseInt(t[0],10)),t[1]&&(o.height=parseInt(t[1],10)),o};class Ie extends le{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let o,c;if(t=t.trim(),t.length===0)return;if(t[0]!=="#"){this.trigger("data",{type:"uri",uri:t});return}this.tagMappers.reduce((w,R)=>{const G=R(t);return G===t?w:w.concat([G])},[t]).forEach(w=>{for(let R=0;R<this.customParsers.length;R++)if(this.customParsers[R].call(this,w))return;if(w.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:w.slice(1)});return}if(w=w.replace("\r",""),o=/^#EXTM3U/.exec(w),o){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(o=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(w),o){c={type:"tag",tagType:"inf"},o[1]&&(c.duration=parseFloat(o[1])),o[2]&&(c.title=o[2]),this.trigger("data",c);return}if(o=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(w),o){c={type:"tag",tagType:"targetduration"},o[1]&&(c.duration=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-VERSION:([0-9.]*)?/.exec(w),o){c={type:"tag",tagType:"version"},o[1]&&(c.version=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(w),o){c={type:"tag",tagType:"media-sequence"},o[1]&&(c.number=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(w),o){c={type:"tag",tagType:"discontinuity-sequence"},o[1]&&(c.number=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(w),o){c={type:"tag",tagType:"playlist-type"},o[1]&&(c.playlistType=o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-BYTERANGE:(.*)?$/.exec(w),o){c=W(Je(o[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",c);return}if(o=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(w),o){c={type:"tag",tagType:"allow-cache"},o[1]&&(c.allowed=!/NO/.test(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-MAP:(.*)$/.exec(w),o){if(c={type:"tag",tagType:"map"},o[1]){const R=ge(o[1]);R.URI&&(c.uri=R.URI),R.BYTERANGE&&(c.byterange=Je(R.BYTERANGE))}this.trigger("data",c);return}if(o=/^#EXT-X-STREAM-INF:(.*)$/.exec(w),o){c={type:"tag",tagType:"stream-inf"},o[1]&&(c.attributes=ge(o[1]),c.attributes.RESOLUTION&&(c.attributes.RESOLUTION=be(c.attributes.RESOLUTION)),c.attributes.BANDWIDTH&&(c.attributes.BANDWIDTH=parseInt(c.attributes.BANDWIDTH,10)),c.attributes["FRAME-RATE"]&&(c.attributes["FRAME-RATE"]=parseFloat(c.attributes["FRAME-RATE"])),c.attributes["PROGRAM-ID"]&&(c.attributes["PROGRAM-ID"]=parseInt(c.attributes["PROGRAM-ID"],10))),this.trigger("data",c);return}if(o=/^#EXT-X-MEDIA:(.*)$/.exec(w),o){c={type:"tag",tagType:"media"},o[1]&&(c.attributes=ge(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-ENDLIST/.exec(w),o){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(o=/^#EXT-X-DISCONTINUITY/.exec(w),o){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(o=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(w),o){c={type:"tag",tagType:"program-date-time"},o[1]&&(c.dateTimeString=o[1],c.dateTimeObject=new Date(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-KEY:(.*)$/.exec(w),o){c={type:"tag",tagType:"key"},o[1]&&(c.attributes=ge(o[1]),c.attributes.IV&&(c.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(c.attributes.IV=c.attributes.IV.substring(2)),c.attributes.IV=c.attributes.IV.match(/.{8}/g),c.attributes.IV[0]=parseInt(c.attributes.IV[0],16),c.attributes.IV[1]=parseInt(c.attributes.IV[1],16),c.attributes.IV[2]=parseInt(c.attributes.IV[2],16),c.attributes.IV[3]=parseInt(c.attributes.IV[3],16),c.attributes.IV=new Uint32Array(c.attributes.IV))),this.trigger("data",c);return}if(o=/^#EXT-X-START:(.*)$/.exec(w),o){c={type:"tag",tagType:"start"},o[1]&&(c.attributes=ge(o[1]),c.attributes["TIME-OFFSET"]=parseFloat(c.attributes["TIME-OFFSET"]),c.attributes.PRECISE=/YES/.test(c.attributes.PRECISE)),this.trigger("data",c);return}if(o=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(w),o){c={type:"tag",tagType:"cue-out-cont"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-CUE-OUT:(.*)?$/.exec(w),o){c={type:"tag",tagType:"cue-out"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-CUE-IN:?(.*)?$/.exec(w),o){c={type:"tag",tagType:"cue-in"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-SKIP:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"skip"},c.attributes=ge(o[1]),c.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(c.attributes["SKIPPED-SEGMENTS"]=parseInt(c.attributes["SKIPPED-SEGMENTS"],10)),c.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(c.attributes["RECENTLY-REMOVED-DATERANGES"]=c.attributes["RECENTLY-REMOVED-DATERANGES"].split(Fe)),this.trigger("data",c);return}if(o=/^#EXT-X-PART:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"part"},c.attributes=ge(o[1]),["DURATION"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=parseFloat(c.attributes[R]))}),["INDEPENDENT","GAP"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=/YES/.test(c.attributes[R]))}),c.attributes.hasOwnProperty("BYTERANGE")&&(c.attributes.byterange=Je(c.attributes.BYTERANGE)),this.trigger("data",c);return}if(o=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"server-control"},c.attributes=ge(o[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=parseFloat(c.attributes[R]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=/YES/.test(c.attributes[R]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PART-INF:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"part-inf"},c.attributes=ge(o[1]),["PART-TARGET"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=parseFloat(c.attributes[R]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"preload-hint"},c.attributes=ge(o[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(R){if(c.attributes.hasOwnProperty(R)){c.attributes[R]=parseInt(c.attributes[R],10);const G=R==="BYTERANGE-LENGTH"?"length":"offset";c.attributes.byterange=c.attributes.byterange||{},c.attributes.byterange[G]=c.attributes[R],delete c.attributes[R]}}),this.trigger("data",c);return}if(o=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"rendition-report"},c.attributes=ge(o[1]),["LAST-MSN","LAST-PART"].forEach(function(R){c.attributes.hasOwnProperty(R)&&(c.attributes[R]=parseInt(c.attributes[R],10))}),this.trigger("data",c);return}if(o=/^#EXT-X-DATERANGE:(.*)$/.exec(w),o&&o[1]){c={type:"tag",tagType:"daterange"},c.attributes=ge(o[1]),["ID","CLASS"].forEach(function(G){c.attributes.hasOwnProperty(G)&&(c.attributes[G]=String(c.attributes[G]))}),["START-DATE","END-DATE"].forEach(function(G){c.attributes.hasOwnProperty(G)&&(c.attributes[G]=new Date(c.attributes[G]))}),["DURATION","PLANNED-DURATION"].forEach(function(G){c.attributes.hasOwnProperty(G)&&(c.attributes[G]=parseFloat(c.attributes[G]))}),["END-ON-NEXT"].forEach(function(G){c.attributes.hasOwnProperty(G)&&(c.attributes[G]=/YES/i.test(c.attributes[G]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(G){c.attributes.hasOwnProperty(G)&&(c.attributes[G]=c.attributes[G].toString(16))});const R=/^X-([A-Z]+-)+[A-Z]+$/;for(const G in c.attributes){if(!R.test(G))continue;const ue=/[0-9A-Fa-f]{6}/g.test(c.attributes[G]),Te=/^\d+(\.\d+)?$/.test(c.attributes[G]);c.attributes[G]=ue?c.attributes[G].toString(16):Te?parseFloat(c.attributes[G]):String(c.attributes[G])}this.trigger("data",c);return}if(o=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(w),o){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(o=/^#EXT-X-I-FRAMES-ONLY/.exec(w),o){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(o=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(w),o){c={type:"tag",tagType:"content-steering"},c.attributes=ge(o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(w),o){c={type:"tag",tagType:"i-frame-playlist"},c.attributes=ge(o[1]),c.attributes.URI&&(c.uri=c.attributes.URI),c.attributes.BANDWIDTH&&(c.attributes.BANDWIDTH=parseInt(c.attributes.BANDWIDTH,10)),c.attributes.RESOLUTION&&(c.attributes.RESOLUTION=be(c.attributes.RESOLUTION)),c.attributes["AVERAGE-BANDWIDTH"]&&(c.attributes["AVERAGE-BANDWIDTH"]=parseInt(c.attributes["AVERAGE-BANDWIDTH"],10)),c.attributes["FRAME-RATE"]&&(c.attributes["FRAME-RATE"]=parseFloat(c.attributes["FRAME-RATE"])),this.trigger("data",c);return}if(o=/^#EXT-X-DEFINE:(.*)$/.exec(w),o){c={type:"tag",tagType:"define"},c.attributes=ge(o[1]),this.trigger("data",c);return}this.trigger("data",{type:"tag",data:w.slice(4)})})}addParser({expression:t,customType:o,dataParser:c,segment:y}){typeof c!="function"&&(c=w=>w),this.customParsers.push(w=>{if(t.exec(w))return this.trigger("data",{type:"custom",data:c(w),customType:o,segment:y}),!0})}addTagMapper({expression:t,map:o}){const c=y=>t.test(y)?o(y):y;this.tagMappers.push(c)}}const Re=p=>p.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase()),ye=function(p){const t={};return Object.keys(p).forEach(function(o){t[Re(o)]=p[o]}),t},De=function(p){const{serverControl:t,targetDuration:o,partTargetDuration:c}=p;if(!t)return;const y="#EXT-X-SERVER-CONTROL",w="holdBack",R="partHoldBack",G=o&&o*3,ue=c&&c*2;o&&!t.hasOwnProperty(w)&&(t[w]=G,this.trigger("info",{message:`${y} defaulting HOLD-BACK to targetDuration * 3 (${G}).`})),G&&t[w]<G&&(this.trigger("warn",{message:`${y} clamping HOLD-BACK (${t[w]}) to targetDuration * 3 (${G})`}),t[w]=G),c&&!t.hasOwnProperty(R)&&(t[R]=c*3,this.trigger("info",{message:`${y} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[R]}).`})),c&&t[R]<ue&&(this.trigger("warn",{message:`${y} clamping PART-HOLD-BACK (${t[R]}) to partTargetDuration * 2 (${ue}).`}),t[R]=ue)};class $e extends le{constructor(t={}){super(),this.lineStream=new je,this.parseStream=new Ie,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const o=this,c=[];let y={},w,R,G=!1;const ue=function(){},Te={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},Ke="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let St=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let sr=0,wr=0;const Vr={};this.on("end",()=>{y.uri||!y.parts&&!y.preloadHints||(!y.map&&w&&(y.map=w),!y.key&&R&&(y.key=R),!y.timeline&&typeof St=="number"&&(y.timeline=St),this.manifest.preloadSegment=y)}),this.parseStream.on("data",function(_t){let On,Tn;if(o.manifest.definitions){for(const gn in o.manifest.definitions)if(_t.uri&&(_t.uri=_t.uri.replace(`{$${gn}}`,o.manifest.definitions[gn])),_t.attributes)for(const en in _t.attributes)typeof _t.attributes[en]=="string"&&(_t.attributes[en]=_t.attributes[en].replace(`{$${gn}}`,o.manifest.definitions[gn]))}({tag(){({version(){_t.version&&(this.manifest.version=_t.version)},"allow-cache"(){this.manifest.allowCache=_t.allowed,"allowed"in _t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const gn={};"length"in _t&&(y.byterange=gn,gn.length=_t.length,"offset"in _t||(_t.offset=sr)),"offset"in _t&&(y.byterange=gn,gn.offset=_t.offset),sr=gn.offset+gn.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),_t.title&&(y.title=_t.title),_t.duration>0&&(y.duration=_t.duration),_t.duration===0&&(y.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key(){if(!_t.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(_t.attributes.METHOD==="NONE"){R=null;return}if(!_t.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(_t.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:_t.attributes};return}if(_t.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:_t.attributes.URI};return}if(_t.attributes.KEYFORMAT===Ke){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(_t.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(_t.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),_t.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(_t.attributes.KEYID&&_t.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:_t.attributes.KEYFORMAT,keyId:_t.attributes.KEYID.substring(2)},pssh:me(_t.attributes.URI.split(",")[1])};return}_t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),R={method:_t.attributes.METHOD||"AES-128",uri:_t.attributes.URI},typeof _t.attributes.IV<"u"&&(R.iv=_t.attributes.IV)},"media-sequence"(){if(!isFinite(_t.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+_t.number});return}this.manifest.mediaSequence=_t.number},"discontinuity-sequence"(){if(!isFinite(_t.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+_t.number});return}this.manifest.discontinuitySequence=_t.number,St=_t.number},"playlist-type"(){if(!/VOD|EVENT/.test(_t.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+_t.playlist});return}this.manifest.playlistType=_t.playlistType},map(){w={},_t.uri&&(w.uri=_t.uri),_t.byterange&&(w.byterange=_t.byterange),R&&(w.key=R)},"stream-inf"(){if(this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!_t.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}y.attributes||(y.attributes={}),W(y.attributes,_t.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!(_t.attributes&&_t.attributes.TYPE&&_t.attributes["GROUP-ID"]&&_t.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const gn=this.manifest.mediaGroups[_t.attributes.TYPE];gn[_t.attributes["GROUP-ID"]]=gn[_t.attributes["GROUP-ID"]]||{},On=gn[_t.attributes["GROUP-ID"]],Tn={default:/yes/i.test(_t.attributes.DEFAULT)},Tn.default?Tn.autoselect=!0:Tn.autoselect=/yes/i.test(_t.attributes.AUTOSELECT),_t.attributes.LANGUAGE&&(Tn.language=_t.attributes.LANGUAGE),_t.attributes.URI&&(Tn.uri=_t.attributes.URI),_t.attributes["INSTREAM-ID"]&&(Tn.instreamId=_t.attributes["INSTREAM-ID"]),_t.attributes.CHARACTERISTICS&&(Tn.characteristics=_t.attributes.CHARACTERISTICS),_t.attributes.FORCED&&(Tn.forced=/yes/i.test(_t.attributes.FORCED)),On[_t.attributes.NAME]=Tn},discontinuity(){St+=1,y.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=_t.dateTimeString,this.manifest.dateTimeObject=_t.dateTimeObject),y.dateTimeString=_t.dateTimeString,y.dateTimeObject=_t.dateTimeObject;const{lastProgramDateTime:gn}=this;this.lastProgramDateTime=new Date(_t.dateTimeString).getTime(),gn===null&&this.manifest.segments.reduceRight((en,Fn)=>(Fn.programDateTime=en-Fn.duration*1e3,Fn.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(_t.duration)||_t.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+_t.duration});return}this.manifest.targetDuration=_t.duration,De.call(this,this.manifest)},start(){if(!_t.attributes||isNaN(_t.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:_t.attributes["TIME-OFFSET"],precise:_t.attributes.PRECISE}},"cue-out"(){y.cueOut=_t.data},"cue-out-cont"(){y.cueOutCont=_t.data},"cue-in"(){y.cueIn=_t.data},skip(){this.manifest.skip=ye(_t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",_t.attributes,["SKIPPED-SEGMENTS"])},part(){G=!0;const gn=this.manifest.segments.length,en=ye(_t.attributes);y.parts=y.parts||[],y.parts.push(en),en.byterange&&(en.byterange.hasOwnProperty("offset")||(en.byterange.offset=wr),wr=en.byterange.offset+en.byterange.length);const Fn=y.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${Fn} for segment #${gn}`,_t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((Pn,bi)=>{Pn.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${bi} lacks required attribute(s): LAST-PART`})})},"server-control"(){const gn=this.manifest.serverControl=ye(_t.attributes);gn.hasOwnProperty("canBlockReload")||(gn.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),De.call(this,this.manifest),gn.canSkipDateranges&&!gn.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const gn=this.manifest.segments.length,en=ye(_t.attributes),Fn=en.type&&en.type==="PART";y.preloadHints=y.preloadHints||[],y.preloadHints.push(en),en.byterange&&(en.byterange.hasOwnProperty("offset")||(en.byterange.offset=Fn?wr:0,Fn&&(wr=en.byterange.offset+en.byterange.length)));const Pn=y.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${Pn} for segment #${gn}`,_t.attributes,["TYPE","URI"]),!!en.type)for(let bi=0;bi<y.preloadHints.length-1;bi++){const Vn=y.preloadHints[bi];Vn.type&&Vn.type===en.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${Pn} for segment #${gn} has the same TYPE ${en.type} as preload hint #${bi}`})}},"rendition-report"(){const gn=ye(_t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(gn);const en=this.manifest.renditionReports.length-1,Fn=["LAST-MSN","URI"];G&&Fn.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${en}`,_t.attributes,Fn)},"part-inf"(){this.manifest.partInf=ye(_t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",_t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),De.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(ye(_t.attributes));const gn=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${gn}`,_t.attributes,["ID","START-DATE"]);const en=this.manifest.dateRanges[gn];en.endDate&&en.startDate&&new Date(en.endDate)<new Date(en.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),en.duration&&en.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),en.plannedDuration&&en.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const Fn=!!en.endOnNext;if(Fn&&!en.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT
790=YES attribute must have a CLASS attribute"}),Fn&&(en.duration||en.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),en.duration&&en.endDate){const bi=en.startDate.getTime()+en.duration*1e3;this.manifest.dateRanges[gn].endDate=new Date(bi)}if(!Vr[en.id])Vr[en.id]=en;else{for(const bi in Vr[en.id])if(en[bi]&&JSON.stringify(Vr[en.id][bi])!==JSON.stringify(en[bi])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const Pn=this.manifest.dateRanges.findIndex(bi=>bi.id===en.id);this.manifest.dateRanges[Pn]=W(this.manifest.dateRanges[Pn],en),Vr[en.id]=W(Vr[en.id],en),this.manifest.dateRanges.pop()}},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=ye(_t.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",_t.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const gn=(en,Fn)=>{if(en in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${en}`});return}this.manifest.definitions[en]=Fn};if("QUERYPARAM"in _t.attributes){if("NAME"in _t.attributes||"IMPORT"in _t.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const en=this.params.get(_t.attributes.QUERYPARAM);if(!en){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${_t.attributes.QUERYPARAM}`});return}gn(_t.attributes.QUERYPARAM,decodeURIComponent(en));return}if("NAME"in _t.attributes){if("IMPORT"in _t.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in _t.attributes)||typeof _t.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${_t.attributes.NAME}`});return}gn(_t.attributes.NAME,_t.attributes.VALUE);return}if("IMPORT"in _t.attributes){if(!this.mainDefinitions[_t.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${_t.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}gn(_t.attributes.IMPORT,this.mainDefinitions[_t.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:_t.attributes,uri:_t.uri,timeline:St}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",_t.attributes,["BANDWIDTH","URI"])}}[_t.tagType]||ue).call(o)},uri(){y.uri=_t.uri,c.push(y),this.manifest.targetDuration&&!("duration"in y)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),y.duration=this.manifest.targetDuration),R&&(y.key=R),y.timeline=St,w&&(y.map=w),wr=0,this.lastProgramDateTime!==null&&(y.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=y.duration*1e3),y={}},comment(){},custom(){_t.segment?(y.custom=y.custom||{},y.custom[_t.customType]=_t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[_t.customType]=_t.data)}})[_t.type].call(o)})}requiredCompatibilityversion(t,o){(t<o||!t)&&this.trigger("warn",{message:`manifest must be at least version ${o}`})}warnOnMissingAttributes_(t,o,c){const y=[];c.forEach(function(w){o.hasOwnProperty(w)||y.push(w)}),y.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${y.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push(` 791`),this.manifest.dateRanges.length&&this.lastProgramDateTime===null&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}var qe={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},It=["video","audio","text"],mt=["Video","Audio","Text"],kt=function(t){return t&&t.replace(/avc1\.(\d+)\.(\d+)/i,function(o,c,y){var w=("00"+Number(c).toString(16)).slice(-2),R=("00"+Number(y).toString(16)).slice(-2);return"avc1."+w+"00"+R})},Ut=function(t){return t.map(kt)},Ir=function(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,function(o){return Ut([o])[0]})},Sr=function(t){t===void 0&&(t="");var o=t.split(","),c=[];return o.forEach(function(y){y=y.trim();var w;It.forEach(function(R){var G=qe[R].exec(y.toLowerCase());if(!(!G||G.length<=1)){w=R;var ue=y.substring(0,G[1].length),Te=y.replace(ue,"");c.push({type:ue,details:Te,mediaType:R})}}),w||c.push({type:y,details:"",mediaType:"unknown"})}),c},Yr=function(t,o){if(!t.mediaGroups.AUDIO||!o)return null;var c=t.mediaGroups.AUDIO[o];if(!c)return null;for(var y in c){var w=c[y];if(w.default&&w.playlists)return Sr(w.playlists[0].attributes.CODECS)}return null},Gr=function(t){return t===void 0&&(t=""),qe.video.test(t.trim().toLowerCase())},dn=function(t){return t===void 0&&(t=""),qe.audio.test(t.trim().toLowerCase())},Kr=function(t){return t===void 0&&(t=""),qe.text.test(t.trim().toLowerCase())},yt=function(t){if(!(!t||typeof t!="string")){var o=t.toLowerCase().split(",").map(function(w){return kt(w.trim())}),c="video";o.length===1&&dn(o[0])?c="audio":o.length===1&&Kr(o[0])&&(c="application");var y="mp4";return o.every(function(w){return qe.mp4.test(w)})?y="mp4":o.every(function(w){return qe.webm.test(w)})?y="webm":o.every(function(w){return qe.ogg.test(w)})&&(y="ogg"),c+"/"+y+';codecs="'+t+'"'}},tt=function(t,o){return t===void 0&&(t=""),o===void 0&&(o=!1),P().MediaSource&&P().MediaSource.isTypeSupp
vendor: 85,923 bytes, lines 791-801
791orted&&P().MediaSource.isTypeSupported(yt(t))||o&&P().ManagedMediaSource&&P().ManagedMediaSource.isTypeSupported&&P().ManagedMediaSource.isTypeSupported(yt(t))||!1},Ar=function(t){return t===void 0&&(t=""),t.toLowerCase().split(",").every(function(o){o=o.trim();for(var c=0;c<mt.length;c++){var y=mt[c];if(qe["muxer"+y].test(o))return!0}return!1})},Mr="mp4a.40.2",Er="avc1.4d400d",Ur=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,or=/^application\/dash\+xml/i,An=function(t){return Ur.test(t)?"hls":or.test(t)?"dash":t==="application/vnd.videojs.vhs+json"?"vhs-json":null},dr=function(t,o){for(var c="";o--;)c+=t;return c},Xr=function(t){return t.toString(2).length},hn=function(t){return Math.ceil(Xr(t)/8)},Qt=function(t,o,c){return c===void 0&&(c=" "),(dr(c,o)+t.toString()).slice(-o)},Br=function(t){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},zt=function(t){return Br(t)},Tt=function(t){return t instanceof Uint8Array?t:(!Array.isArray(t)&&!zt(t)&&!(t instanceof ArrayBuffer)&&(typeof t!="number"||typeof t=="number"&&t!==t?t=0:t=[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},Pr=function(t){t=Tt(t);for(var o="",c=0;c<t.length;c++)o+=Qt(t[c].toString(16),2,"0");return o},Y=function(t){t=Tt(t);for(var o="",c=0;c<t.length;c++)o+=Qt(t[c].toString(2),8,"0");return o},ht=P().BigInt||Number,ur=[ht("0x1"),ht("0x100"),ht("0x10000"),ht("0x1000000"),ht("0x100000000"),ht("0x10000000000"),ht("0x1000000000000"),ht("0x100000000000000"),ht("0x10000000000000000")],it=(function(){var p=new Uint16Array([65484]),t=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);return t[0]===255?"big":t[0]===204?"little":"unknown"})(),Rt=it==="big",Zr=it==="little",nn=function(t,o){var c=o===void 0?{}:o,y=c.signed,w=y===void 0?!1:y,R=c.le,G=R===void 0?!1:R;t=Tt(t);var ue=G?"reduce":"reduceRight",Te=t[ue]?t[ue]:Array.prototype[ue],Ke=Te.call(t,function(sr,wr,Vr){var _t=G?Vr:Math.abs(Vr+1-t.length);return sr+ht(wr)*ur[_t]},ht(0));if(w){var St=ur[t.length]/ht(2)-ht(1);Ke=ht(Ke),Ke>St&&(Ke-=St,Ke-=St,Ke-=ht(2))}return Number(Ke)},fn=function(t,o){var c=o===void 0?{}:o,y=c.le,w=y===void 0?!1:y;(typeof t!="bigint"&&typeof t!="number"||typeof t=="number"&&t!==t)&&(t=0),t=ht(t);for(var R=hn(t),G=new Uint8Array(new ArrayBuffer(R)),ue=0;ue<R;ue++){var Te=w?ue:Math.abs(ue+1-G.length);G[Te]=Number(t/ur[ue]&ht(255)),t<0&&(G[Te]=Math.abs(~G[Te]),G[Te]-=ue===0?1:2)}return G},Sn=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var o=String.fromCharCode.apply(null,Tt(t));try{return decodeURIComponent(escape(o))}catch{}return o},Ci=function(t,o){if(typeof t!="string"&&t&&typeof t.toString=="function"&&(t=t.toString()),typeof t!="string")return new Uint8Array;o||(t=unescape(encodeURIComponent(t)));for(var c=new Uint8Array(t.length),y=0;y<t.length;y++)c[y]=t.charCodeAt(y);return c},$i=function(){for(var t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];if(o=o.filter(function(G){return G&&(G.byteLength||G.length)&&typeof G!="string"}),o.length<=1)return Tt(o[0]);var y=o.reduce(function(G,ue,Te){return G+(ue.byteLength||ue.length)},0),w=new Uint8Array(y),R=0;return o.forEach(function(G){G=Tt(G),w.set(G,R),R+=G.byteLength}),w},qr=function(t,o,c){var y=c===void 0?{}:c,w=y.offset,R=w===void 0?0:w,G=y.mask,ue=G===void 0?[]:G;t=Tt(t),o=Tt(o);var Te=o.every?o.every:Array.prototype.every;return o.length&&t.length-R>=o.length&&Te.call(o,function(Ke,St){var sr=ue[St]?ue[St]&t[R+St]:t[R+St];return Ke===sr})},Bi=function(t,o,c){return Uint8Array.prototype.slice?Uint8Array.prototype.slice.call(t,o,c):new Uint8Array(Array.prototype.slice.call(t,o,c))},ms=function(t){return t.reverse?t.reverse():Array.prototype.reverse.call(t)},hs=function(t,o,c){o.forEach(function(y){for(var w in t.mediaGroups[y])for(var R in t.mediaGroups[y][w]){var G=t.mediaGroups[y][w][R];c(G,y,w,R)}})},Mi=e(26422);/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */var gi="1.3.1";const Hi=p=>!!p&&typeof p=="object",qn=(...p)=>p.reduce((t,o)=>(typeof o!="object"||Object.keys(o).forEach(c=>{Array.isArray(t[c])&&Array.isArray(o[c])?t[c]=t[c].concat(o[c]):Hi(t[c])&&Hi(o[c])?t[c]=qn(t[c],o[c]):t[c]=o[c]}),t),{}),$n=p=>Object.keys(p).map(t=>p[t]),$s=(p,t)=>{const o=[];for(let c=p;c<t;c++)o.push(c);return o},ys=p=>p.reduce((t,o)=>t.concat(o),[]),Es=p=>{if(!p.length)return[];const t=[];for(let o=0;o<p.length;o++)t.push(p[o]);return t},oe=(p,t)=>p.reduce((o,c,y)=>(c[t]&&o.push(y),o),[]),xe=(p,t)=>$n(p.reduce((o,c)=>(c.forEach(y=>{o[t(y)]=y}),o),{}));var Ge={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",INVALID_NUMBER_OF_CONTENT_STEERING:"INVALID_NUMBER_OF_CONTENT_STEERING",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",MISSING_SEGMENT_INFORMATION:"MISSING_SEGMENT_INFORMATION",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};const bt=({baseUrl:p="",source:t="",range:o="",indexRange:c=""})=>{const y={uri:t,resolvedUri:ie(p||"",t)};if(o||c){const R=(o||c).split("-");let G=P().BigInt?P().BigInt(R[0]):parseInt(R[0],10),ue=P().BigInt?P().BigInt(R[1]):parseInt(R[1],10);G<Number.MAX_SAFE_INTEGER&&typeof G=="bigint"&&(G=Number(G)),ue<Number.MAX_SAFE_INTEGER&&typeof ue=="bigint"&&(ue=Number(ue));let Te;typeof ue=="bigint"||typeof G=="bigint"?Te=P().BigInt(ue)-P().BigInt(G)+P().BigInt(1):Te=ue-G+1,typeof Te=="bigint"&&Te<Number.MAX_SAFE_INTEGER&&(Te=Number(Te)),y.byterange={length:Te,offset:G}}return y},Et=p=>{let t;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=P().BigInt(p.offset)+P().BigInt(p.length)-P().BigInt(1):t=p.offset+p.length-1,`${p.offset}-${t}`},Tr=p=>(p&&typeof p!="number"&&(p=parseInt(p,10)),isNaN(p)?null:p),vn={static(p){const{duration:t,timescale:o=1,sourceDuration:c,periodDuration:y}=p,w=Tr(p.endNumber),R=t/o;return typeof w=="number"?{start:0,end:w}:typeof y=="number"?{start:0,end:y/R}:{start:0,end:c/R}},dynamic(p){const{NOW:t,clientOffset:o,availabilityStartTime:c,timescale:y=1,duration:w,periodStart:R=0,minimumUpdatePeriod:G=0,timeShiftBufferDepth:ue=1/0}=p,Te=Tr(p.endNumber),Ke=(t+o)/1e3,St=c+R,wr=Ke+G-St,Vr=Math.ceil(wr*y/w),_t=Math.floor((Ke-St-ue)*y/w),On=Math.floor((Ke-St)*y/w);return{start:Math.max(0,_t),end:typeof Te=="number"?Te:Math.min(Vr,On)}}},Gt=p=>t=>{const{duration:o,timescale:c=1,periodStart:y,startNumber:w=1}=p;return{number:w+t,duration:o/c,timeline:y,time:t*o}},ei=p=>{const{type:t,duration:o,timescale:c=1,periodDuration:y,sourceDuration:w}=p,{start:R,end:G}=vn[t](p),ue=$s(R,G).map(Gt(p));if(t==="static"){const Te=ue.length-1,Ke=typeof y=="number"?y:w;ue[Te].duration=Ke-o/c*Te}return ue},si=p=>{const{baseUrl:t,initialization:o={},sourceDuration:c,indexRange:y="",periodStart:w,presentationTime:R,number:G=0,duration:ue}=p;if(!t)throw new Error(Ge.NO_BASE_URL);const Te=bt({baseUrl:t,source:o.sourceURL,range:o.range}),Ke=bt({baseUrl:t,source:t,indexRange:y});if(Ke.map=Te,ue){const St=ei(p);St.length&&(Ke.duration=St[0].duration,Ke.timeline=St[0].timeline)}else c&&(Ke.duration=c,Ke.timeline=w);return Ke.presentationTime=R||w,Ke.number=G,[Ke]},yn=(p,t,o)=>{const c=p.sidx.map?p.sidx.map:null,y=p.sidx.duration,w=p.timeline||0,R=p.sidx.byterange,G=R.offset+R.length,ue=t.timescale,Te=t.references.filter(On=>On.referenceType!==1),Ke=[],St=p.endList?"static":"dynamic",sr=p.sidx.timeline;let wr=sr,Vr=p.mediaSequence||0,_t;typeof t.firstOffset=="bigint"?_t=P().BigInt(G)+t.firstOffset:_t=G+t.firstOffset;for(let On=0;On<Te.length;On++){const Tn=t.references[On],gn=Tn.referencedSize,en=Tn.subsegmentDuration;let Fn;typeof _t=="bigint"?Fn=_t+P().BigInt(gn)-P().BigInt(1):Fn=_t+gn-1;const Pn=`${_t}-${Fn}`,Vn=si({baseUrl:o,timescale:ue,timeline:w,periodStart:sr,presentationTime:wr,number:Vr,duration:en,sourceDuration:y,indexRange:Pn,type:St})[0];c&&(Vn.map=c),Ke.push(Vn),typeof _t=="bigint"?_t+=P().BigInt(gn):_t+=gn,wr+=en/ue,Vr++}return p.segments=Ke,p},rs=["AUDIO","SUBTITLES"],xn=1/60,Ms=p=>xe(p,({timeline:t})=>t).sort((t,o)=>t.timeline>o.timeline?1:-1),Yi=(p,t)=>{for(let o=0;o<p.length;o++)if(p[o].attributes.NAME===t)return p[o];return null},Gs=p=>{let t=[];return hs(p,rs,(o,c,y,w)=>{t=t.concat(o.playlists||[])}),t},us=({playlist:p,mediaSequence:t})=>{p.mediaSequence=t,p.segments.forEach((o,c)=>{o.number=p.mediaSequence+c})},nr=({oldPlaylists:p,newPlaylists:t,timelineStarts:o})=>{t.forEach(c=>{c.discontinuitySequence=o.findIndex(function({timeline:ue}){return ue===c.timeline});const y=Yi(p,c.attributes.NAME);if(!y||c.sidx)return;const w=c.segments[0],R=y.segments.findIndex(function(ue){return Math.abs(ue.presentationTime-w.presentationTime)<xn});if(R===-1){us({playlist:c,mediaSequence:y.mediaSequence+y.segments.length}),c.segments[0].discontinuity=!0,c.discontinuityStarts.unshift(0),(!y.segments.length&&c.timeline>y.timeline||y.segments.length&&c.timeline>y.segments[y.segments.length-1].timeline)&&c.discontinuitySequence--;return}y.segments[R].discontinuity&&!w.discontinuity&&(w.discontinuity=!0,c.discontinuityStarts.unshift(0),c.discontinuitySequence--),us({playlist:c,mediaSequence:y.segments[R].number})})},cr=({oldManifest:p,newManifest:t})=>{const o=p.playlists.concat(Gs(p)),c=t.playlists.concat(Gs(t));return t.timelineStarts=Ms([p.timelineStarts,t.timelineStarts]),nr({oldPlaylists:o,newPlaylists:c,timelineStarts:t.timelineStarts}),t},ln=p=>p&&p.uri+"-"+Et(p.byterange),Yn=p=>{const t=p.reduce(function(c,y){return c[y.attributes.baseUrl]||(c[y.attributes.baseUrl]=[]),c[y.attributes.baseUrl].push(y),c},{});let o=[];return Object.values(t).forEach(c=>{const y=$n(c.reduce((w,R)=>{const G=R.attributes.id+(R.attributes.lang||"");return w[G]?(R.segments&&(R.segments[0]&&(R.segments[0].discontinuity=!0),w[G].segments.push(...R.segments)),R.attributes.contentProtection&&(w[G].attributes.contentProtection=R.attributes.contentProtection)):(w[G]=R,w[G].attributes.timelineStarts=[]),w[G].attributes.timelineStarts.push({start:R.attributes.periodStart,timeline:R.attributes.periodStart}),w},{}));o=o.concat(y)}),o.map(c=>(c.discontinuityStarts=oe(c.segments||[],"discontinuity"),c))},Ln=(p,t)=>{const o=ln(p.sidx),c=o&&t[o]&&t[o].sidx;return c&&yn(p,c,p.sidx.resolvedUri),p},wn=(p,t={})=>{if(!Object.keys(t).length)return p;for(const o in p)p[o]=Ln(p[o],t);return p},ti=({attributes:p,segments:t,sidx:o,mediaSequence:c,discontinuitySequence:y,discontinuityStarts:w},R)=>{const G={attributes:{NAME:p.id,BANDWIDTH:p.bandwidth,CODECS:p.codecs,"PROGRAM-ID":1},uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,discontinuitySequence:y,discontinuityStarts:w,timelineStarts:p.timelineStarts,mediaSequence:c,segments:t};return p.contentProtection&&(G.contentProtection=p.contentProtection),p.serviceLocation&&(G.attributes.serviceLocation=p.serviceLocation),o&&(G.sidx=o),R&&(G.attributes.AUDIO="audio",G.attributes.SUBTITLES="subs"),G},Ti=({attributes:p,segments:t,mediaSequence:o,discontinuityStarts:c,discontinuitySequence:y})=>{typeof t>"u"&&(t=[{uri:p.baseUrl,timeline:p.periodStart,resolvedUri:p.baseUrl||"",duration:p.sourceDuration,number:0}],p.duration=p.sourceDuration);const w={NAME:p.id,BANDWIDTH:p.bandwidth,"PROGRAM-ID":1};p.codecs&&(w.CODECS=p.codecs);const R={attributes:w,uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,timelineStarts:p.timelineStarts,discontinuityStarts:c,discontinuitySequence:y,mediaSequence:o,segments:t};return p.serviceLocation&&(R.attributes.serviceLocation=p.serviceLocation),R},Pi=(p,t={},o=!1)=>{let c;const y=p.reduce((w,R)=>{const G=R.attributes.role&&R.attributes.role.value||"",ue=R.attributes.lang||"";let Te=R.attributes.label||"main";if(ue&&!R.attributes.label){const St=G?` (${G})`:"";Te=`${R.attributes.lang}${St}`}w[Te]||(w[Te]={language:ue,autoselect:!0,default:G==="main",playlists:[],uri:""});const Ke=Ln(ti(R,o),t);return w[Te].playlists.push(Ke),typeof c>"u"&&G==="main"&&(c=R,c.default=!0),w},{});if(!c){const w=Object.keys(y)[0];y[w].default=!0}return y},Zi=(p,t={})=>p.reduce((o,c)=>{const y=c.attributes.label||c.attributes.lang||"text",w=c.attributes.lang||"und";return o[y]||(o[y]={language:w,default:!1,autoselect:!1,playlists:[],uri:""}),o[y].playlists.push(Ln(Ti(c),t)),o},{}),Ui=p=>p.reduce((t,o)=>(o&&o.forEach(c=>{const{channel:y,language:w}=c;t[w]={autoselect:!1,default:!1,instreamId:y,language:w},c.hasOwnProperty("aspectRatio")&&(t[w].aspectRatio=c.aspectRatio),c.hasOwnProperty("easyReader")&&(t[w].easyReader=c.easyReader),c.hasOwnProperty("3D")&&(t[w]["3D"]=c["3D"])}),t),{}),vi=({attributes:p,segments:t,sidx:o,discontinuityStarts:c})=>{const y={attributes:{NAME:p.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:p.width,height:p.height},CODECS:p.codecs,BANDWIDTH:p.bandwidth,"PROGRAM-ID":1},uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,discontinuityStarts:c,timelineStarts:p.timelineStarts,segments:t};return p.frameRate&&(y.attributes["FRAME-RATE"]=p.frameRate),p.contentProtection&&(y.contentProtection=p.contentProtection),p.serviceLocation&&(y.attributes.serviceLocation=p.serviceLocation),o&&(y.sidx=o),y},Wi=({attributes:p})=>p.mimeType==="video/mp4"||p.mimeType==="video/webm"||p.contentType==="video",ks=({attributes:p})=>p.mimeType==="audio/mp4"||p.mimeType==="audio/webm"||p.contentType==="audio",ss=({attributes:p})=>p.mimeType==="text/vtt"||p.contentType==="text",xs=(p,t)=>{p.forEach(o=>{o.mediaSequence=0,o.discontinuitySequence=t.findIndex(function({timeline:c}){return c===o.timeline}),o.segments&&o.segments.forEach((c,y)=>{c.number=y})})},wi=p=>p?Object.keys(p).reduce((t,o)=>{const c=p[o];return t.concat(c.playlists)},[]):[],Ns=({dashPlaylists:p,locations:t,contentSteering:o,sidxMapping:c={},previousManifest:y,eventStream:w})=>{if(!p.length)return{};const{sourceDuration:R,type:G,suggestedPresentationDelay:ue,minimumUpdatePeriod:Te}=p[0].attributes,Ke=Yn(p.filter(Wi)).map(vi),St=Yn(p.filter(ks)),sr=Yn(p.filter(ss)),wr=p.map(Fn=>Fn.attributes.captionServices).filter(Boolean),Vr={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:R,playlists:wn(Ke,c)};Te>=0&&(Vr.minimumUpdatePeriod=Te*1e3),t&&(Vr.locations=t),o&&(Vr.contentSteering=o),G==="dynamic"&&(Vr.suggestedPresentationDelay=ue),w&&w.length>0&&(Vr.eventStream=w);const _t=Vr.playlists.length===0,On=St.length?Pi(St,c,_t):null,Tn=sr.length?Zi(sr,c):null,gn=Ke.concat(wi(On),wi(Tn)),en=gn.map(({timelineStarts:Fn})=>Fn);return Vr.timelineStarts=Ms(en),xs(gn,Vr.timelineStarts),On&&(Vr.mediaGroups.AUDIO.audio=On),Tn&&(Vr.mediaGroups.SUBTITLES.subs=Tn),wr.length&&(Vr.mediaGroups["CLOSED-CAPTIONS"].cc=Ui(wr)),y?cr({oldManifest:y,newManifest:Vr}):Vr},Cs=(p,t,o)=>{const{NOW:c,clientOffset:y,availabilityStartTime:w,timescale:R=1,periodStart:G=0,minimumUpdatePeriod:ue=0}=p,Te=(c+y)/1e3,Ke=w+G,sr=Te+ue-Ke;return Math.ceil((sr*R-t)/o)},as=(p,t)=>{const{type:o,minimumUpdatePeriod:c=0,media:y="",sourceDuration:w,timescale:R=1,startNumber:G=1,periodStart:ue}=p,Te=[];let Ke=-1;for(let St=0;St<t.length;St++){const sr=t[St],wr=sr.d,Vr=sr.r||0,_t=sr.t||0;Ke<0&&(Ke=_t),_t&&_t>Ke&&(Ke=_t);let On;if(Vr<0){const en=St+1;en===t.length?o==="dynamic"&&c>0&&y.indexOf("$Number$")>0?On=Cs(p,Ke,wr):On=(w*R-Ke)/wr:On=(t[en].t-Ke)/wr}else On=Vr+1;const Tn=G+Te.length+On;let gn=G+Te.length;for(;gn<Tn;)Te.push({number:gn,duration:wr/R,time:Ke,timeline:ue}),Ke+=wr,gn++}return Te},Os=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,ce=p=>(t,o,c,y)=>{if(t==="$$")return"$";if(typeof p[o]>"u")return t;const w=""+p[o];return o==="RepresentationID"||(c?y=parseInt(y,10):y=1,w.length>=y)?w:`${new Array(y-w.length+1).join("0")}${w}`},He=(p,t)=>p.replace(Os,ce(t)),Lt=(p,t)=>!p.duration&&!t?[{number:p.startNumber||1,duration:p.sourceDuration,time:0,timeline:p.periodStart}]:p.duration?ei(p):as(p,t),fr=(p,t)=>{const o={RepresentationID:p.id,Bandwidth:p.bandwidth||0},{initialization:c={sourceURL:"",range:""}}=p,y=bt({baseUrl:p.baseUrl,source:He(c.sourceURL,o),range:c.range});return Lt(p,t).map(R=>{o.Number=R.number,o.Time=R.time;const G=He(p.media||"",o),ue=p.timescale||1,Te=p.presentationTimeOffset||0,Ke=p.periodStart+(R.time-Te)/ue;return{uri:G,timeline:R.timeline,duration:R.duration,resolvedUri:ie(p.baseUrl||"",G),map:y,number:R.number,presentationTime:Ke}})},un=(p,t)=>{const{baseUrl:o,initialization:c={}}=p,y=bt({baseUrl:o,source:c.sourceURL,range:c.range}),w=bt({baseUrl:o,source:t.media,range:t.mediaRange});return w.map=y,w},Qn=(p,t)=>{const{duration:o,segmentUrls:c=[],periodStart:y}=p;if(!o&&!t||o&&t)throw new Error(Ge.SEGMENT_TIME_UNSPECIFIED);const w=c.map(ue=>un(p,ue));let R;return o&&(R=ei(p)),t&&(R=as(p,t)),R.map((ue,Te)=>{if(w[Te]){const Ke=w[Te],St=p.timescale||1,sr=p.presentationTimeOffset||0;return Ke.timeline=ue.timeline,Ke.duration=ue.duration,Ke.number=ue.number,Ke.presentationTime=y+(ue.time-sr)/St,Ke}}).filter(ue=>ue)},Xi=({attributes:p,segmentInfo:t})=>{let o,c;t.template?(c=fr,o=qn(p,t.template)):t.base?(c=si,o=qn(p,t.base)):t.list&&(c=Qn,o=qn(p,t.list));const y={attributes:p};if(!c)return y;const w=c(o,t.segmentTimeline);if(o.duration){const{duration:R,timescale:G=1}=o;o.duration=R/G}else w.length?o.duration=w.reduce((R,G)=>Math.max(R,Math.ceil(G.duration)),0):o.duration=0;return y.attributes=o,y.segments=w,t.base&&o.indexRange&&(y.sidx=w[0],y.segments=[]),y},qi=p=>p.map(Xi),ls=(p,t)=>Es(p.childNodes).filter(({tagName:o})=>o===t),ps=p=>p.textContent.trim(),la=p=>parseFloat(p.split("/").reduce((t,o)=>t/o)),ca=p=>{const G=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(p);if(!G)return 0;const[ue,Te,Ke,St,sr,wr]=G.slice(1);return parseFloat(ue||0)*31536e3+parseFloat(Te||0)*2592e3+parseFloat(Ke||0)*86400+parseFloat(St||0)*3600+parseFloat(sr||0)*60+parseFloat(wr||0)},za=p=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(p)&&(p+="Z"),Date.parse(p)),io={mediaPresentationDuration(p){return ca(p)},availabilityStartTime(p){return za(p)/1e3},minimumUpdatePeriod(p){return ca(p)},suggestedPresentationDelay(p){return ca(p)},type(p){return p},timeShiftBufferDepth(p){return ca(p)},start(p){return ca(p)},width(p){return parseInt(p,10)},height(p){return parseInt(p,10)},bandwidth(p){return parseInt(p,10)},frameRate(p){return la(p)},startNumber(p){return parseInt(p,10)},timescale(p){return parseInt(p,10)},presentationTimeOffset(p){return parseInt(p,10)},duration(p){const t=parseInt(p,10);return isNaN(t)?ca(p):t},d(p){return parseInt(p,10)},t(p){return parseInt(p,10)},r(p){return parseInt(p,10)},presentationTime(p){return parseInt(p,10)},DEFAULT(p){return p}},Is=p=>p&&p.attributes?Es(p.attributes).reduce((t,o)=>{const c=io[o.name]||io.DEFAULT;return t[o.name]=c(o.value),t},{}):{},yr={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},Fa=(p,t)=>t.length?ys(p.map(function(o){return t.map(function(c){const y=ps(c),w=ie(o.baseUrl,y),R=qn(Is(c),{baseUrl:w});return w!==y&&!R.serviceLocation&&o.serviceLocation&&(R.serviceLocation=o.serviceLocation),R})})):p,on=p=>{const t=ls(p,"SegmentTemplate")[0],o=ls(p,"SegmentList")[0],c=o&&ls(o,"SegmentURL").map(St=>qn({tag:"SegmentURL"},Is(St))),y=ls(p,"SegmentBase")[0],w=o||t,R=w&&ls(w,"SegmentTimeline")[0],G=o||y||t,ue=G&&ls(G,"Initialization")[0],Te=t&&Is(t);Te&&ue?Te.initialization=ue&&Is(ue):Te&&Te.initialization&&(Te.initialization={sourceURL:Te.initialization});const Ke={template:Te,segmentTimeline:R&&ls(R,"S").map(St=>Is(St)),list:o&&qn(Is(o),{segmentUrls:c,initialization:Is(ue)}),base:y&&qn(Is(y),{initialization:Is(ue)})};return Object.keys(Ke).forEach(St=>{Ke[St]||delete Ke[St]}),Ke},va=(p,t,o)=>c=>{const y=ls(c,"BaseURL"),w=Fa(t,y),R=qn(p,Is(c)),G=on(c);return w.map(ue=>({segmentInfo:qn(o,G),attributes:qn(R,ue)}))},pa=p=>p.reduce((t,o)=>{const c=Is(o);c.schemeIdUri&&(c.schemeIdUri=c.schemeIdUri.toLowerCase());const y=yr[c.schemeIdUri];if(y){t[y]={attributes:c};const w=ls(o,"cenc:pssh")[0];if(w){const R=ps(w);t[y].pssh=R&&me(R)}}return t},{}),aa=p=>{if(p.schemeIdUri==="urn:scte:dash:cc:cea-608:2015")return(typeof p.value!="string"?[]:p.value.split(";")).map(o=>{let c,y;return y=o,/^CC\d=/.test(o)?[c,y]=o.split("="):/^CC\d$/.test(o)&&(c=o),{channel:c,language:y}});if(p.schemeIdUri==="urn:scte:dash:cc:cea-708:2015")return(typeof p.value!="string"?[]:p.value.split(";")).map(o=>{const c={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(o)){const[y,w=""]=o.split("=");c.channel=y,c.language=o,w.split(",").forEach(R=>{const[G,ue]=R.split(":");G==="lang"?c.language=ue:G==="er"?c.easyReader=Number(ue):G==="war"?c.aspectRatio=Number(ue):G==="3D"&&(c["3D"]=Number(ue))})}else c.language=o;return c.channel&&(c.channel="SERVICE"+c.channel),c})},ta=p=>ys(ls(p.node,"EventStream").map(t=>{const o=Is(t),c=o.schemeIdUri;return ls(t,"Event").map(y=>{const w=Is(y),R=w.presentationTime||0,G=o.timescale||1,ue=w.duration||0,Te=R/G+p.attributes.start;return{schemeIdUri:c,value:o.value,id:w.id,start:Te,end:Te+ue/G,messageData:ps(y)||w.messageData,contentEncoding:o.contentEncoding,presentationTimeOffset:o.presentationTimeOffset||0}})})),Za=(p,t,o)=>c=>{const y=Is(c),w=Fa(t,ls(c,"BaseURL")),R=ls(c,"Role")[0],G={role:Is(R)};let ue=qn(p,y,G);const Te=ls(c,"Accessibility")[0],Ke=aa(Is(Te));Ke&&(ue=qn(ue,{captionServices:Ke}));const St=ls(c,"Label")[0];if(St&&St.childNodes.length){const On=St.childNodes[0].nodeValue.trim();ue=qn(ue,{label:On})}const sr=pa(ls(c,"ContentProtection"));Object.keys(sr).length&&(ue=qn(ue,{contentProtection:sr}));const wr=on(c),Vr=ls(c,"Representation"),_t=qn(o,wr);return ys(Vr.map(va(ue,w,_t)))},$a=(p,t)=>(o,c)=>{const y=Fa(t,ls(o.node,"BaseURL")),w=qn(p,{periodStart:o.attributes.start});typeof o.attributes.duration=="number"&&(w.periodDuration=o.attributes.duration);const R=ls(o.node,"AdaptationSet"),G=on(o.node);return ys(R.map(Za(w,y,G)))},Wo=(p,t)=>{if(p.length>1&&t({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!p.length)return null;const o=qn({serverURL:ps(p[0])},Is(p[0]));return o.queryBeforeStart=o.queryBeforeStart==="true",o},Co=({attributes:p,priorPeriodAttributes:t,mpdType:o})=>typeof p.start=="number"?p.start:t&&typeof t.start=="number"&&typeof t.duration=="number"?t.start+t.duration:!t&&o==="static"?0:null,Ro=(p,t={})=>{const{manifestUri:o="",NOW:c=Date.now(),clientOffset:y=0,eventHandler:w=function(){}}=t,R=ls(p,"Period");if(!R.length)throw new Error(Ge.INVALID_NUMBER_OF_PERIOD);const G=ls(p,"Location"),ue=Is(p),Te=Fa([{baseUrl:o}],ls(p,"BaseURL")),Ke=ls(p,"ContentSteering");ue.type=ue.type||"static",ue.sourceDuration=ue.mediaPresentationDuration||0,ue.NOW=c,ue.clientOffset=y,G.length&&(ue.locations=G.map(ps));const St=[];return R.forEach((sr,wr)=>{const Vr=Is(sr),_t=St[wr-1];Vr.start=Co({attributes:Vr,priorPeriodAttributes:_t?_t.attributes:null,mpdType:ue.type}),St.push({node:sr,attributes:Vr})}),{locations:ue.locations,contentSteeringInfo:Wo(Ke,w),representationInfo:ys(St.map($a(ue,Te))),eventStream:ys(St.map(ta))}},Hs=p=>{if(p==="")throw new Error(Ge.DASH_EMPTY_MANIFEST);const t=new Mi.DOMParser;let o,c;try{o=t.parseFromString(p,"application/xml"),c=o&&o.documentElement.tagName==="MPD"?o.documentElement:null}catch{}if(!c||c&&c.getElementsByTagName("parsererror").length>0)throw new Error(Ge.DASH_INVALID_XML);return c},cs=p=>{const t=ls(p,"UTCTiming")[0];if(!t)return null;const o=Is(t);switch(o.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":o.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":o.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":o.method="DIRECT",o.value=Date.parse(o.value);break;default:throw new Error(Ge.UNSUPPORTED_UTC_TIMING_SCHEME)}return o},Me=null,We=(p,t={})=>{const o=Ro(Hs(p),t),c=qi(o.representationInfo);return Ns({dashPlaylists:c,locations:o.locations,contentSteering:o.contentSteeringInfo,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:o.eventStream})},Nt=p=>cs(Hs(p));var Jt=e(15388),jr=e.n(Jt),Jr=Tt([73,68,51]),an=function(t,o){o===void 0&&(o=0),t=Tt(t);var c=t[o+5],y=t[o+6]<<21|t[o+7]<<14|t[o+8]<<7|t[o+9],w=(c&16)>>4;return w?y+20:y+10},ai=function p(t,o){return o===void 0&&(o=0),t=Tt(t),t.length-o<10||!qr(t,Jr,{offset:o})?o:(o+=an(t,o),p(t,o))},Si,Di,Vi,da=function(t){var o="",c=t[1]>>>3,y=t[1]&31,w=t[2]>>>7,R=(t[2]&64)>>6,G=(t[2]&32)>>5,ue=(t[2]&16)>>4,Te=(t[2]&8)>>3,Ke=(t[2]&4)>>2,St=t[2]&3;o+=c+"."+Si(y,2,"0"),w===0?o+="M":w===1&&(o+="H");var sr;return c===2&&R?sr=G?12:10:sr=R?10:8,o+="."+Si(sr,2,"0"),o+="."+ue,o+="."+Te+Ke+St,o},ya=function(t){var o=Di(t[1]),c=Di(t[2]&252),y=Di(t[3]);return""+o+c+y},Qi=function(t){var o="",c=t[1]>>6,y=t[1]&31,w=(t[1]&32)>>5,R=t.subarray(2,6),G=t.subarray(6,12),ue=t[12];c===1?o+="A":c===2?o+="B":c===3&&(o+="C"),o+=y+".";var Te=parseInt(Vi(R).split("").reverse().join(""),2);Te>255&&(Te=parseInt(Vi(R),2)),o+=Te.toString(16)+".",w===0?o+="L":o+="H",o+=ue;for(var Ke="",St=0;St<G.length;St++){var sr=G[St];sr&&(Ke&&(Ke+="."),Ke+=sr.toString(16))}return Ke&&(o+="."+Ke),o},Do=new Uint8Array([79,112,117,115,72,101,97,100]),Oo=function(t){var o=new DataView(t.buffer,t.byteOffset,t.byteLength),c=o.getUint8(0),y=c!==0,w={version:c,channels:o.getUint8(1),preSkip:o.getUint16(2,y),sampleRate:o.getUint32(4,y),outputGain:o.getUint16(8,y),channelMappingFamily:o.getUint8(10)};if(w.channelMappingFamily>0&&t.length>10){w.streamCount=o.getUint8(11),w.twoChannelStreamCount=o.getUint8(12),w.channelMapping=[];for(var R=0;R<w.channels;R++)w.channelMapping.push(o.getUint8(13+R))}return w},Ta=function(t){var o=t.channelMappingFamily<=0?11:12+t.channels,c=new DataView(new ArrayBuffer(o)),y=t.version!==0;return c.setUint8(0,t.version),c.setUint8(1,t.channels),c.setUint16(2,t.preSkip,y),c.setUint32(4,t.sampleRate,y),c.setUint16(8,t.outputGain,y),c.setUint8(10,t.channelMappingFamily),t.channelMappingFamily>0&&(c.setUint8(11,t.streamCount),t.channelMapping.foreach(function(w,R){c.setUint8(12+R,w)})),new Uint8Array(c.buffer)},Ne,Ve,gt,ct,Kt,tr,Cr,kr,Bn,Hn,Bt=function(t){return typeof t=="string"?Ci(t):t},Wt=function(t){return Array.isArray(t)?t.map(function(o){return Bt(o)}):[Bt(t)]},Wr,sn=function(t){t=Tt(t);for(var o=[],c=0;t.length>c;){var y=t[c],w=0,R=0;R++;var G=t[R];for(R++;G&128;)w=(G&127)<<7,G=t[R],R++;w+=G&127;for(var ue=0;ue<Wr.length;ue++){var Te=Wr[ue],Ke=Te.id,St=Te.parser;if(y===Ke){o.push(St(t.subarray(R,R+w)));break}}c+=w+R}return o};Wr=[{id:3,parser:function(t){var o={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(o.flags&128&&(o.dependsOnEsId=t[o.size]<<8|t[o.size+1],o.size+=2),o.flags&64){var c=t[o.size];o.url=Sn(t.subarray(o.size+1,o.size+1+c)),o.size+=c}return o.flags&32&&(o.ocrEsId=t[o.size]<<8|t[o.size+1],o.size+=2),o.descriptors=sn(t.subarray(o.size))||[],o}},{id:4,parser:function(t){var o={tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:sn(t.subarray(13))};return o}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var Mn=function p(t,o,c){c===void 0&&(c=!1),o=Wt(o),t=Tt(t);var y=[];if(!o.length)return y;for(var w=0;w<t.length;){var R=(t[w]<<24|t[w+1]<<16|t[w+2]<<8|t[w+3])>>>0,G=t.subarray(w+4,w+8);if(R===0)break;var ue=w+R;if(ue>t.length){if(c)break;ue=t.length}var Te=t.subarray(w+8,ue);qr(G,o[0])&&(o.length===1?y.push(Te):y.push.apply(y,p(Te,o.slice(1),c))),w=ue}return y},_n=function(t,o){if(o=Bt(o),!o.length)return t.subarray(t.length);for(var c=0;c<t.length;){if(Ne(t.subarray(c,c+o.length),o)){var y=(t[c-4]<<24|t[c-3]<<16|t[c-2]<<8|t[c-1])>>>0,w=y>1?c+y:t.byteLength;return t.subarray(c+4,w)}c++}return t.subarray(t.length)},Wn=function(t,o,c){o===void 0&&(o=4),c===void 0&&(c=function(ue){return Ve(ue)});var y=[];if(!t||!t.length)return y;for(var w=Ve(t.subarray(4,8)),R=8;w;R+=o,w--)y.push(c(t.subarray(R,R+o)));return y},Un=function(t,o){for(var c=Wn(Mn(t,["stss"])[0]),y=Wn(Mn(t,["stco"])[0]),w=Wn(Mn(t,["stts"])[0],8,function(ha){return{sampleCount:Ve(ha.subarray(0,4)),sampleDelta:Ve(ha.subarray(4,8))}}),R=Wn(Mn(t,["stsc"])[0],12,function(ha){return{firstChunk:Ve(ha.subarray(0,4)),samplesPerChunk:Ve(ha.subarray(4,8)),sampleDescriptionIndex:Ve(ha.subarray(8,12))}}),G=Mn(t,["stsz"])[0],ue=Wn(G&&G.length&&G.subarray(4)||null),Te=[],Ke=0;Ke<y.length;Ke++){for(var St=void 0,sr=0;sr<R.length;sr++){var wr=R[sr],Vr=Ke+1>=wr.firstChunk&&(sr+1>=R.length||Ke+1<R[sr+1].firstChunk);if(Vr){St=wr.samplesPerChunk;break}}for(var _t=y[Ke],On=0;On<St;On++){var Tn=ue[Te.length],gn=!c.length;c.length&&c.indexOf(Te.length+1)!==-1&&(gn=!0);for(var en={keyframe:gn,start:_t,end:_t+Tn},Fn=0;Fn<w.length;Fn++){var Pn=w[Fn],bi=Pn.sampleCount,Vn=Pn.sampleDelta;if(Te.length<=bi){var Oi=Te.length?Te[Te.length-1].timestamp:0;en.timestamp=Oi+Vn/o*1e3,en.duration=Vn;break}}Te.push(en),_t+=Tn}}return Te},Fi=function(t,o){var c=gt(o.subarray(0,4));if(t.type==="video"?(t.info=t.info||{},t.info.width=o[28]<<8|o[29],t.info.height=o[30]<<8|o[31]):t.type==="audio"&&(t.info=t.info||{},t.info.channels=o[20]<<8|o[21],t.info.bitDepth=o[22]<<8|o[23],t.info.sampleRate=o[28]<<8|o[29]),c==="avc1"){var y=_n(o,"avcC");c+="."+Cr(y),t.info.avcC=y}else if(c==="hvc1"||c==="hev1")c+="."+kr(_n(o,"hvcC"));else if(c==="mp4a"||c==="mp4v"){var w=_n(o,"esds"),R=sn(w.subarray(4))[0],G=R&&R.descriptors.filter(function(gn){var en=gn.tag;return en===4})[0];G?(c+="."+ct(G.oti),G.oti===64?c+="."+(G.descriptors[0].bytes[0]>>3).toString():G.oti===32?c+="."+G.descriptors[0].bytes[4].toString():G.oti===221&&(c="vorbis")):t.type==="audio"?c+=".40.2":c+=".20.9"}else if(c==="av01")c+="."+Bn(_n(o,"av1C"));else if(c==="vp09"){var ue=_n(o,"vpcC"),Te=ue[0],Ke=ue[1],St=ue[2]>>4,sr=(ue[2]&15)>>1,wr=(ue[2]&15)>>3,Vr=ue[3],_t=ue[4],On=ue[5];c+="."+Kt(Te,2,"0"),c+="."+Kt(Ke,2,"0"),c+="."+Kt(St,2,"0"),c+="."+Kt(sr,2,"0"),c+="."+Kt(Vr,2,"0"),c+="."+Kt(_t,2,"0"),c+="."+Kt(On,2,"0"),c+="."+Kt(wr,2,"0")}else if(c==="theo")c="theora";else if(c==="spex")c="speex";else if(c===".mp3")c="mp4a.40.34";else if(c==="msVo")c="vorbis";else if(c==="Opus"){c="opus";var Tn=_n(o,"dOps");t.info.opus=Hn(Tn),t.info.codecDelay=65e5}else c=c.toLowerCase();t.codec=c},Le=function(t,o){o===void 0&&(o=!0),t=tr(t);var c=Mn(t,["moov","trak"],!0),y=[];return c.forEach(function(w){var R={bytes:w},G=Mn(w,["mdia"])[0],ue=Mn(G,["hdlr"])[0],Te=gt(ue.subarray(8,12));Te==="soun"?R.type="audio":Te==="vide"?R.type="video":R.type=Te;var Ke=Mn(w,["tkhd"])[0];if(Ke){var St=new DataView(Ke.buffer,Ke.byteOffset,Ke.byteLength),sr=St.getUint8(0);R.number=sr===0?St.getUint32(12):St.getUint32(20)}var wr=Mn(G,["mdhd"])[0];if(wr){var Vr=wr[0],_t=Vr===0?12:20;R.timescale=(wr[_t]<<24|wr[_t+1]<<16|wr[_t+2]<<8|wr[_t+3])>>>0}for(var On=Mn(G,["minf","stbl"])[0],Tn=Mn(On,["stsd"])[0],gn=Ve(Tn.subarray(4,8)),en=8;gn--;){var Fn=Ve(Tn.subarray(en,en+4)),Pn=Tn.subarray(en+4,en+4+Fn);Fi(R,Pn),en+=4+Fn}o&&(R.frameTable=Un(On,R.timescale)),y.push(R)}),y},Ue=function(t){var o=Mn(t,["moov","mvhd"],!0)[0];if(!(!o||!o.length)){var c={};return o[0]===1?(c.timestampScale=Ve(o.subarray(20,24)),c.duration=Ve(o.subarray(24,32))):(c.timestampScale=Ve(o.subarray(12,16)),c.duration=Ve(o.subarray(16,20))),c.bytes=o,c}},lt,ot,Yt,rr,Or,tn,kn,En={EBML:Tt([26,69,223,163]),DocType:Tt([66,130]),Segment:Tt([24,83,128,103]),SegmentInfo:Tt([21,73,169,102]),Tracks:Tt([22,84,174,107]),Track:Tt([174]),TrackNumber:Tt([215]),DefaultDuration:Tt([35,227,131]),TrackEntry:Tt([174]),TrackType:Tt([131]),FlagDefault:Tt([136]),CodecID:Tt([134]),CodecPrivate:Tt([99,162]),VideoTrack:Tt([224]),AudioTrack:Tt([225]),Cluster:Tt([31,67,182,117]),Timestamp:Tt([231]),TimestampScale:Tt([42,215,177]),BlockGroup:Tt([160]),BlockDuration:Tt([155]),Block:Tt([161]),SimpleBlock:Tt([163])},Rn=[128,64,32,16,8,4,2,1],ki=function(t){for(var o=1,c=0;c<Rn.length&&!(t&Rn[c]);c++)o++;return o},bs=function(t,o,c,y){c===void 0&&(c=!0),y===void 0&&(y=!1);var w=ki(t[o]),R=t.subarray(o,o+w);return c&&(R=Array.prototype.slice.call(t,o,o+w),R[0]^=Rn[w-1]),{length:w,value:nn(R,{signed:y}),bytes:R}},Rs=function p(t){return typeof t=="string"?t.match(/.{1,2}/g).map(function(o){return p(o)}):typeof t=="number"?fn(t):t},As=function(t){return Array.isArray(t)?t.map(function(o){return Rs(o)}):[Rs(t)]},di=function p(t,o,c){if(c>=o.length)return o.length;var y=bs(o,c,!1);if(qr(t.bytes,y.bytes))return c;var w=bs(o,c+y.length);return p(t,o,c+w.length+w.value+y.length)},Gn=function p(t,o){o=As(o),t=Tt(t);var c=[];if(!o.length)return c;for(var y=0;y<t.length;){var w=bs(t,y,!1),R=bs(t,y+w.length),G=y+w.length+R.length;R.value===127&&(R.value=di(w,t,G),R.value!==t.length&&(R.value-=G));var ue=G+R.value>t.length?t.length:G+R.value,Te=t.subarray(G,ue);qr(o[0],w.bytes)&&(o.length===1?c.push(Te):c=c.concat(p(Te,o.slice(1))));var Ke=w.length+R.length+Te.length;y+=Ke}return c},oi=function(t,o,c,y){var w;o==="group"&&(w=Gn(t,[En.BlockDuration])[0],w&&(w=lt(w),w=1/c*w*c/1e3),t=Gn(t,[En.Block])[0],o="block");var R=new DataView(t.buffer,t.byteOffset,t.byteLength),G=bs(t,0),ue=R.getInt16(G.length,!1),Te=t[G.length+2],Ke=t.subarray(G.length+3),St=1/c*(y+ue)*c/1e3,sr={duration:w,trackNumber:G.value,keyframe:o==="simple"&&Te>>7===1,invisible:(Te&8)>>3===1,lacing:(Te&6)>>1,discardable:o==="simple"&&(Te&1)===1,frames:[],pts:St,dts:St,timestamp:ue};if(!sr.lacing)return sr.frames.push(Ke),sr;var wr=Ke[0]+1,Vr=[],_t=1;if(sr.lacing===2)for(var On=(Ke.length-_t)/wr,Tn=0;Tn<wr;Tn++)Vr.push(On);if(sr.lacing===1)for(var gn=0;gn<wr-1;gn++){var en=0;do en+=Ke[_t],_t++;while(Ke[_t-1]===255);Vr.push(en)}if(sr.lacing===3)for(var Fn=0,Pn=0;Pn<wr-1;Pn++){var bi=Pn===0?bs(Ke,_t):bs(Ke,_t,!0,!0);Fn+=bi.value,Vr.push(Fn),_t+=bi.length}return Vr.forEach(function(Vn){sr.frames.push(Ke.subarray(_t,_t+Vn)),_t+=Vn}),sr},Ks=function(t){for(var o=0,c={};o<t.length;){var y=t[o]&127,w=t[o+1],R=void 0;w===1?R=t[o+2]:R=t.subarray(o+2,o+2+w),y===1?c.profile=R:y===2?c.level=R:y===3?c.bitDepth=R:y===4?c.chromaSubsampling=R:c[y]=R,o+=2+w}return c},qs=function(t){t=ot(t);var o=[],c=Gn(t,[En.Segment,En.Tracks,En.Track]);return c.length||(c=Gn(t,[En.Tracks,En.Track])),c.length||(c=Gn(t,[En.Track])),c.length?(c.forEach(function(y){var w=Gn(y,En.TrackType)[0];if(!(!w||!w.length)){if(w[0]===1)w="video";else if(w[0]===2)w="audio";else if(w[0]===17)w="subtitle";else return;var R={rawCodec:Yt(Gn(y,[En.CodecID])[0]),type:w,codecPrivate:Gn(y,[En.CodecPrivate])[0],number:lt(Gn(y,[En.TrackNumber])[0]),defaultDuration:lt(Gn(y,[En.DefaultDuration])[0]),default:Gn(y,[En.FlagDefault])[0],rawData:y},G="";if(/V_MPEG4\/ISO\/AVC/.test(R.rawCodec))G="avc1."+Or(R.codecPrivate);else if(/V_MPEGH\/ISO\/HEVC/.test(R.rawCodec))G="hev1."+tn(R.codecPrivate);else if(/V_MPEG4\/ISO\/ASP/.test(R.rawCodec))R.codecPrivate?G="mp4v.20."+R.codecPrivate[4].toString():G="mp4v.20.9";else if(/^V_THEORA/.test(R.rawCodec))G="theora";else if(/^V_VP8/.test(R.rawCodec))G="vp8";else if(/^V_VP9/.test(R.rawCodec))if(R.codecPrivate){var ue=Ks(R.codecPrivate),Te=ue.profile,Ke=ue.level,St=ue.bitDepth,sr=ue.chromaSubsampling;G="vp09.",G+=rr(Te,2,"0")+".",G+=rr(Ke,2,"0")+".",G+=rr(St,2,"0")+".",G+=""+rr(sr,2,"0");var wr=Gn(y,[224,[85,176],[85,177]])[0]||[],Vr=Gn(y,[224,[85,176],[85,185]])[0]||[],_t=Gn(y,[224,[85,176],[85,186]])[0]||[],On=Gn(y,[224,[85,176],[85,187]])[0]||[];(wr.length||Vr.length||_t.length||On.length)&&(G+="."+rr(On[0],2,"0"),G+="."+rr(_t[0],2,"0"),G+="."+rr(wr[0],2,"0"),G+="."+rr(Vr[0],2,"0"))}else G="vp9";else/^V_AV1/.test(R.rawCodec)?G="av01."+kn(R.codecPrivate):/A_ALAC/.test(R.rawCodec)?G="alac":/A_MPEG\/L2/.test(R.rawCodec)?G="mp2":/A_MPEG\/L3/.test(R.rawCodec)?G="mp3":/^A_AAC/.test(R.rawCodec)?R.codecPrivate?G="mp4a.40."+(R.codecPrivate[0]>>>3).toString():G="mp4a.40.2":/^A_AC3/.test(R.rawCodec)?G="ac-3":/^A_PCM/.test(R.rawCodec)?G="pcm":/^A_MS\/ACM/.test(R.rawCodec)?G="speex":/^A_EAC3/.test(R.rawCodec)?G="ec-3":/^A_VORBIS/.test(R.rawCodec)?G="vorbis":/^A_FLAC/.test(R.rawCodec)?G="flac":/^A_OPUS/.test(R.rawCodec)&&(G="opus");R.codec=G,o.push(R)}}),o.sort(function(y,w){return y.number-w.number})):o},ns=function(t,o){var c=[],y=Gn(t,[En.Segment])[0],w=Gn(y,[En.SegmentInfo,En.TimestampScale])[0];w&&w.length?w=lt(w):w=1e6;var R=Gn(y,[En.Cluster]);return o||(o=qs(y)),R.forEach(function(G,ue){var Te=Gn(G,[En.SimpleBlock]).map(function(wr){return{type:"simple",data:wr}}),Ke=Gn(G,[En.BlockGroup]).map(function(wr){return{type:"group",data:wr}}),St=Gn(G,[En.Timestamp])[0]||0;St&&St.length&&(St=lt(St));var sr=Te.concat(Ke).sort(function(wr,Vr){return wr.data.byteOffset-Vr.data.byteOffset});sr.forEach(function(wr,Vr){var _t=oi(wr.data,wr.type,w,St);c.push(_t)})}),{tracks:o,blocks:c}},Ba=Tt([0,0,0,1]),ka=Tt([0,0,1]),H=Tt([0,0,3]),z=function(t){for(var o=[],c=1;c<t.length-2;)qr(t.subarray(c,c+3),H)&&(o.push(c+2),c++),c++;if(o.length===0)return t;var y=t.length-o.length,w=new Uint8Array(y),R=0;for(c=0;c<y;R++,c++)R===o[0]&&(R++,o.shift()),w[c]=t[R];return w},ee=function(t,o,c,y){y===void 0&&(y=1/0),t=Tt(t),c=[].concat(c);for(var w=0,R,G=0;w<t.length&&(G<y||R);){var ue=void 0;if(qr(t.subarray(w),Ba)?ue=4:qr(t.subarray(w),ka)&&(ue=3),!ue){w++;continue}if(G++,R)return z(t.subarray(R,w));var Te=void 0;o==="h264"?Te=t[w+ue]&31:o==="h265"&&(Te=t[w+ue]>>1&63),c.indexOf(Te)!==-1&&(R=w+ue),w+=ue+(o==="h264"?1:2)}return t.subarray(0,0)},pe=function(t,o,c){return ee(t,"h264",o,c)},Ce=function(t,o,c){return ee(t,"h265",o,c)},ze={webm:Tt([119,101,98,109]),matroska:Tt([109,97,116,114,111,115,107,97]),flac:Tt([102,76,97,67]),ogg:Tt([79,103,103,83]),ac3:Tt([11,119]),riff:Tt([82,73,70,70]),avi:Tt([65,86,73]),wav:Tt([87,65,86,69]),"3gp":Tt([102,116,121,112,51,103]),mp4:Tt([102,116,121,112]),fmp4:Tt([115,116,121,112]),mov:Tt([102,116,121,112,113,116]),moov:Tt([109,111,111,118]),moof:Tt([109,111,111,102])},st={aac:function(t){var o=ai(t);return qr(t,[255,16],{offset:o,mask:[255,22]})},mp3:function(t){var o=ai(t);return qr(t,[255,2],{offset:o,mask:[255,6]})},webm:function(t){var o=Gn(t,[En.EBML,En.DocType])[0];return qr(o,ze.webm)},mkv:function(t){var o=Gn(t,[En.EBML,En.DocType])[0];return qr(o,ze.matroska)},mp4:function(t){if(st["3gp"](t)||st.mov(t))return!1;if(qr(t,ze.mp4,{offset:4})||qr(t,ze.fmp4,{offset:4})||qr(t,ze.moof,{offset:4})||qr(t,ze.moov,{offset:4}))return!0},mov:function(t){return qr(t,ze.mov,{offset:4})},"3gp":function(t){return qr(t,ze["3gp"],{offset:4})},ac3:function(t){var o=ai(t);return qr(t,ze.ac3,{offset:o})},ts:function(t){if(t.length<189&&t.length>=1)return t[0]===71;for(var o=0;o+188<t.length&&o<188;){if(t[o]===71&&t[o+188]===71)return!0;o+=1}return!1},flac:function(t){var o=ai(t);return qr(t,ze.flac,{offset:o})},ogg:function(t){return qr(t,ze.ogg)},avi:function(t){return qr(t,ze.riff)&&qr(t,ze.avi,{offset:8})},wav:function(t){return qr(t,ze.riff)&&qr(t,ze.wav,{offset:8})},h264:function(t){return pe(t,7,3).length},h265:function(t){return Ce(t,[32,33],3).length}},ft=Object.keys(st).filter(function(p){return p!=="ts"&&p!=="h264"&&p!=="h265"}).concat(["ts","h264","h265"]);ft.forEach(function(p){var t=st[p];st[p]=function(o){return t(Tt(o))}});var Dt=st,lr=function(t){t=Tt(t);for(var o=0;o<ft.length;o++){var c=ft[o];if(Dt[c](t))return c}return""},$t=function(t){return Mn(t,["moof"]).length>0},Nr=e(4672);/** 792 * @license 793 * Video.js 8.23.7 <http://videojs.com/> 794 * Copyright 2010-present Video.js contributors 795 * Available under Apache License Version 2.0 796 * <https://github.com/videojs/video.js/blob/main/LICENSE> 797 * 798 * Includes vtt.js <https://github.com/mozilla/vtt.js> 799 * Available under Apache License Version 2.0 800 * <https://github.com/mozilla/vtt.js/blob/main/LICENSE> 801 */var cn="8.23.7";const Nn={},jn=function(p,t){return Nn[p]=Nn[p]||[],t&&(Nn[p]=Nn[p].concat(t)),Nn[p]},fi=function(p,t){jn(p,t)},xi=function(p,t){const o=jn(p).indexOf(t);return o<=-1?!1:(Nn[p]=Nn[p].slice(),Nn[p].splice(o,1),!0)},Ii=function(p,t){jn(p,[].concat(t).map(o=>{const c=(...y)=>(xi(p,c),o(...y));return c}))},zi={prefixed:!0},gs=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],er=gs[0];let br;for(let p=0;p<gs.length;p++)if(gs[p][1]in D()){br=gs[p];break}if(br){for(let p=0;p<br.length;p++)zi[er[p]]=br[p];zi.prefixed=br[0]!==er[0]}let xr=[];const yi=(p,t,o)=>(c,y,w)=>{const R=t.levels[y],G=new RegExp(`^(${R})$`);let ue=p;if(c!=="log"&&w.unshift(c.toUpperCase()+":"),o&&(ue=`%c${p}`,w.unshift(o)),w.unshift(ue+":"),xr){xr.push([].concat(w));const Ke=xr.length-1e3;xr.splice(0,Ke>0?Ke:0)}if(!P().console)return;let Te=P().console[c];!Te&&c==="debug"&&(Te=P().console.info||P().console.log),!(!Te||!R||!G.test(c))&&Te[Array.isArray(w)?"apply":"call"](P().console,w)};function Ni(p,t=":",o=""){let c="info",y;function w(...R){y("log",c,R)}return y=yi(p,w,o),w.createLogger=(R,G,ue)=>{const Te=G!==void 0?G:t,Ke=ue!==void 0?ue:o,St=`${p} ${Te} ${R}`;return Ni(St,Te,Ke)},w.createNewLogger=(R,G,ue)=>Ni(R,G,ue),w.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:c},w.level=R=>{if(typeof R=="string"){if(!w.levels.hasOwnProperty(R))throw new Error(`"${R}" in not a valid log level`);c=R}return c},w.history=()=>xr?[].concat(xr):[],w.history.filter=R=>(xr||[]).filter(G=>new RegExp(`.*${R}.*`).test(G[0])),w.history.clear=()=>{xr&&(xr.length=0)},w.history.disable=()=>{xr!==null&&(xr.length=0,xr=null)},w.history.enable=()=>{xr===null&&(xr=[])},w.error=(...R)=>y("error",c,R),w.warn=(...R)=>y("warn",c,R),w.debug=(...R)=>y("debug",c,R),w}const pi=Ni("VIDEOJS"),ra=pi.createLogger,Ys=Object.prototype.toString,Lu=function(p){return jo(p)?Object.keys(p):[]};function Uo(p,t){Lu(p).forEach(o=>t(p[o],o))}function vo(p,t,o=0){return Lu(p).reduce((c,y)=>t(c,p[y],y),o)}function jo(p){return!!p&&typeof p=="object"}function Ll(p){return jo(p)&&Ys.call(p)==="[object Object]"&&p.constructor===Object}function wa(...p){const t={};return p.forEach(o=>{o&&Uo(o,(c,y)=>{if(!Ll(c)){t[y]=c;return}Ll(t[y])||(t[y]={}),t[y]=wa(t[y],c)})}),t}function wu(p={}){const t=[];for(const o in p)if(p.hasOwnProperty(o)){const c=p[o];t.push(c)}return t}function el(p,t,o,c=!0){const y=R=>Object.defineProperty(p,t,{value:R,enumerable:!0,writable:!0}),w={configurable:!0,enumerable:!0,get(){const R=o();return y(R),R}};return c&&(w.set=y),Object.defineProperty(p,t,w)}var Ca=Object.freeze({__proto__:null,each:Uo,reduce:vo,isObject:jo,isPlain:Ll,merge:wa,values:wu,defineLazyProperty:el});let Yl=!1,$c=null,zo=!1,Hc,Xl=!1,Fs=!1,_u=!1,oo=!1,tl=null,Ml=null;const ae=!!(P().cast&&P().cast.framework&&P().cast.framework.CastReceiverContext);let hr=null,dt=!1,xt=!1,bn=!1,Jn=!1,vs=!1,Ps=!1,Ia=!1;const $o=!!(Mu()&&("ontouchstart"in P()||P().navigator.maxTouchPoints||P().DocumentTouch&&P().document instanceof P().DocumentTouch)),yo=P().navigator&&P().navigator.userAgentData;if(yo&&yo.platform&&yo.brands&&(zo=yo.platform==="Android",Fs=!!yo.brands.find(p=>p.brand==="Microsoft Edge"),_u=!!yo.brands.find(p=>p.brand==="Chromium"),oo=!Fs&&_u,tl=Ml=(yo.brands.find(p=>p.brand==="Chromium")||{}).version||null,xt=yo.platform==="Windows"),!_u){const p=P().navigator&&P().navigator.userAgent||"";Yl=/iPod/i.test(p),$c=(function(){const t=p.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null})(),zo=/Android/i.test(p),Hc=(function(){const t=p.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const o=t[1]&&parseFloat(t[1]),c=t[2]&&parseFloat(t[2]);return o&&c?parseFloat(t[1]+"."+t[2]):o||null})(),Xl=/Firefox/i.test(p),Fs=/Edg/i.test(p),_u=/Chrome/i.test(p)||/CriOS/i.test(p),oo=!Fs&&_u,tl=Ml=(function(){const t=p.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null})(),hr=(function(){const t=/MSIE\s(\d+)\.\d/.exec(p);let o=t&&parseFloat(t[1]);return!o&&/Trident\/7.0/i.test(p)&&/rv:11.0/.test(p)&&(o=11),o})(),vs=/Tizen/i.test(p),Ps=/Web0S/i.test(p),Ia=vs||Ps,dt=/Safari/i.test(p)&&!oo&&!zo&&!Fs&&!Ia,xt=/Windows/i.test(p),bn=/iPad/i.test(p)||dt&&$o&&!/iPhone/i.test(p),Jn=/iPhone/i.test(p)&&!bn}const qa=Jn||bn||Yl,Vo=(dt||qa)&&!oo;var Lo=Object.freeze({__proto__:null,get IS_IPOD(){return Yl},get IOS_VERSION(){return $c},get IS_ANDROID(){return zo},get ANDROID_VERSION(){return Hc},get IS_FIREFOX(){return Xl},get IS_EDGE(){return Fs},get IS_CHROMIUM(){return _u},get IS_CHROME(){return oo},get CHROMIUM_VERSION(){return tl},get CHROME_VERSION(){return Ml},IS_CHROMECAST_RECEIVER:ae,get IE_VERSION(){return hr},get IS_SAFARI(){return dt},get IS_WINDOWS(){return xt},get IS_IPAD(){return bn},get IS_IPHONE(){return Jn},get IS_TIZEN(){return vs},get IS_WEBOS(){return Ps},get IS_SMART_TV(){return Ia},TOUCH_ENABLED:$o,IS_IOS:qa,IS_ANY_SAFARI:Vo});function Hu(p){return typeof p=="string"&&!!p.trim()}function kl(p){if(p.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function Mu(){return D()===P().document}function eu(p){return jo(p)&&p.nodeType===1}function bo(){try{return P().parent!==P().self}catch{return!0}}function Mo(p){return function(t,o){if(!Hu(t))return D()[p](null);Hu(o)&&(o=D().querySelector(o));const c=eu(o)?o:D();return c[p]&&c[p](t)}}function Bs(p="div",t={},o={},c){const y=D().createElement(p);return Object.getOwnPropertyNames(t).forEach(function(w){const R=t[w];w==="textContent"?rl(y,R):(y[w]!==R||w==="tabIndex")&&(y[w]=R)}),Object.getOwnPropertyNames(o).forEach(function(w){y.setAttribute(w,o[w])}),c&&Ye(y,c),y}function rl(p,t){return typeof p.textContent>"u"?p.innerText=t:p.textContent=t,p}function lc(p,t){t.firstChild?t.insertBefore(p,t.firstChild):t.appendChild(p)}function Nl(p,t){return kl(t),p.classList.contains(t)}function nl(p,...t){return p.classList.add(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p}function il(p,...t){return p?(p.classList.remove(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p):(pi.warn("removeClass was called with an element that doesn't exist"),null)}function vl(p,t,o){return typeof o=="function"&&(o=o(p,t)),typeof o!="boolean"&&(o=void 0),t.split(/\s+/).forEach(c=>p.classList.toggle(c,o)),p}function sl(p,t){Object.getOwnPropertyNames(t).forEach(function(o){const c=t[o];c===null||typeof c>"u"||c===!1?p.removeAttribute(o):p.setAttribute(o,c===!0?"":c)})}function ko(p){const t={},o=["autoplay","controls","playsinline","loop","muted","default","defaultMuted"];if(p&&p.attributes&&p.attributes.length>0){const c=p.attributes;for(let y=c.length-1;y>=0;y--){const w=c[y].name;let R=c[y].value;o.includes(w)&&(R=R!==null),t[w]=R}}return t}function lu(p,t){return p.getAttribute(t)}function Go(p,t,o){p.setAttribute(t,o)}function Xo(p,t){p.removeAttribute(t)}function Cc(){D().body.focus(),D().onselectstart=function(){return!1}}function Ae(){D().onselectstart=function(){return!0}}function et(p){if(p&&p.getBoundingClientRect&&p.parentNode){const t=p.getBoundingClientRect(),o={};return["bottom","height","left","right","top","width"].forEach(c=>{t[c]!==void 0&&(o[c]=t[c])}),o.height||(o.height=parseFloat(Xs(p,"height"))),o.width||(o.width=parseFloat(Xs(p,"width"))),o}}function pt(p){if(!p||p&&!p.offsetParent)return{left:0,top:0,width:0,height:0};const t=p.offsetWidth,o=p.offsetHeight;let c=0,y=0;for(;p.offsetParent&&p!==D()[zi.fullscreenElement];)c+=p.offsetLeft,y+=p.offsetTop,p=p.offsetParent;return{left:c,top:y,width:t,height:o}}function Ft(p,t){const o={x:0,y:0};if(qa){let Ke=p;for(;Ke&&Ke.nodeName.toLowerCase()!=="html";){const St=Xs(Ke,"transform");if(/^matrix/.test(St)){const sr=St.slice(7,-1).split(/,\s/).map(Number);o.x+=sr[4],o.y+=sr[5]}else if(/^matrix3d/.test(St)){const sr=St.slice(9,-1).split(/,\s/).map(Number);o.x+=sr[12],o.y+=sr[13]}if(Ke.assignedSlot&&Ke.assignedSlot.parentElement&&P().WebKitCSSMatrix){const sr=P().getComputedStyle(Ke.assignedSlot.parentElement).transform,wr=new(P()).WebKitCSSMatrix(sr);o.x+=wr.m41,o.y+=wr.m42}Ke=Ke.parentNode||Ke.host}}const c={},y=pt(t.target),w=pt(p),R=w.width,G=w.height;let ue=t.offsetY-(w.top-y.top),Te=t.offsetX-(w.left-y.left);return t.changedTouches&&(Te=t.changedTouches[0].pageX-w.left,ue=t.changedTouches[0].pageY+w.top,qa&&(Te-=o.x,ue-=o.y)),c.y=1-Math.max(0,Math.min(1,ue/G)),c.x=Math.max(0,Math.min(1,Te/R)),c}function Zt(p){return jo(p)&&p.nodeType===3}function Rr(p){for(;p.firstChild;)p.removeChild(p.firstChild);return p}function mn(p){return typeof p=="function"&&(p=p()),(Array.isArray(p)?p:[p]).map(t=>{if(typeof t=="function"&&(t=t()),eu(t)||Zt(t))return t;if(typeof t=="string"&&/\S/.test(t))return D().createTextNode(t)}).filter(t=>t)}function Ye(p,t){return mn(t).forEach(o=>p.appendChild(o)),p}function Li(p,t){return Ye(Rr(p),t)}function _i(p){return p.button===void 0&&p.buttons===void 0||p.button===0&&p.buttons===void 0||p.type==="mouseup"&&p.button===0&&p.buttons===0||p.type==="mousedown"&&p.button===0&&p.buttons===0?!0:!(p.button!==0||p.buttons!==1)}const Ai=Mo("querySelector"),Gi=Mo("querySelectorAll");function Xs(p,t){if(!p||!t)return"";if(typeof P().getComputedStyle=="function"){let o;try{o=P().getComputedStyle(p)}catch{return""}return o?o.getPropertyValue(t)||o[t]:""}return""}function Qa(p){[...D().styleSheets].forEach(t=>{try{const o=[...t.cssRules].map(y=>y.cssText).join(""),c=D().createElement("style");c.textContent=o,p.document.head.appendChild(c)}catch{const c=D().createElement("link");c.rel="stylesheet",c.type=t.type,c.media=t.media.mediaText,c.href=t.href,p.document.head.appendChild(c)}})}var ho=Object.freeze({__proto__:null,isReal:Mu,isEl:eu,isInFrame:bo,createEl:Bs,textContent:rl,prependTo:lc,hasClass:Nl,addClass:nl,removeClass:il,toggleClass:vl,setAttributes:sl,getAttributes:ko,getAttribute:lu,setAttribute:Go,removeAttribute:Xo,blockTextSelection:Cc,unblockTextSelection:Ae,getBoundingClientRect:et,findPosition:pt,getPointerPosition:Ft,isTextNode:Zt,emptyEl:Rr,normalizeContent:mn,appendContent:Ye,insertContent:Li,isSingleLeftClick:_i,$:Ai,$$:Gi,computedStyle:Xs,copyStyleSheetsToWindow:Qa});let Pa=!1,Ja;const ma=function(){if(Ja.options.autoSetup===!1)return;const p=Array.prototype.slice.call(D().getElementsByTagName("video")),t=Array.prototype.slice.call(D().getElementsByTagName("audio")),o=Array.prototype.slice.call(D().getElementsByTagName("video-js")),c=p.concat(t,o);if(c&&c.length>0)for(let y=0,w=c.length;y<w;y++){const R=c[y];if(R&&R.getAttribute)R.player===void 0&&R.getAttribute("data-setup")!==null&&Ja(R);else{Ha(1);break}}else Pa||Ha(1)};function Ha(p,t){Mu()&&(t&&(Ja=t),P().setTimeout(ma,p))}function uo(){Pa=!0,P().removeEventListener("load",uo)}Mu()&&(D().readyState==="complete"?uo():P().addEventListener("load",uo));const Qo=function(p){const t=D().createElement("style");return t.className=p,t},So=function(p,t){p.styleSheet?p.styleSheet.cssText=t:p.textContent=t};var Eo=new WeakMap;let al=3;function cu(){return al++}function dd(p,t){if(!Eo.has(p))return;const o=Eo.get(p);o.handlers[t].length===0&&(delete o.handlers[t],p.removeEventListener?p.removeEventListener(t,o.dispatcher,!1):p.detachEvent&&p.detachEvent("on"+t,o.dispatcher)),Object.getOwnPropertyNames(o.handlers).length<=0&&(delete o.handlers,delete o.dispatcher,delete o.disabled),Object.getOwnPropertyNames(o).length===0&&Eo.delete(p)}function Nu(p,t,o,c){o.forEach(function(y){p(t,y,c)})}function Au(p){if(p.fixed_)return p;function t(){return!0}function o(){return!1}if(!p||!p.isPropagationStopped||!p.isImmediatePropagationStopped){const c=p||P().event;p={};const y=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const w in c)y.includes(w)||w==="returnValue"&&c.preventDefault||(p[w]=c[w]);if(p.target||(p.target=p.srcElement||D()),p.relatedTarget||(p.relatedTarget=p.fromElement===p.target?p.toElement:p.fromElement),p.preventDefault=function(){c.preventDefault&&c.preventDefault(),p.returnValue=!1,c.returnValue=!1,p.defaultPrevented=!0},p.defaultPrevented=!1,p.stopPropagation=function(){c.stopPropagation&&c.stopPropagation(),p.cancelBubble=!0,c.cancelBubble=!0,p.isPropagationStopped=t},p.isPropagationStopped=o,p.stopImmediatePropagation=function(){c.stopImmediatePropagation&&c.stopImmediatePropagation(),p.isImmediatePropagationStopped=t,p.stopPropagation()},p.isImmediatePropagationStopped=o,p.clientX!==null&&p.clientX!==void 0){const w=D().documentElement,R=D().body;p.pageX=p.clientX+(w&&w.scrollLeft||R&&R.scrollLeft||0)-(w&&w.clientLeft||R&&R.clientLeft||0),p.pageY=p.clientY+(w&&w.scrollTop||R&&R.scrollTop||0)-(w&&w.clientTop||R&&R.clientTop||0)}p.which=p.charCode||p.keyCode,p.button!==null&&p.button!==void 0&&(p.button=p.button&1?0:p.button&4?1:p.button&2?2:0)}return p.fixed_=!0,p}let cc;const Dd=function(){if(typeof cc!="boolean"){cc=!1;try{const p=Object.defineProperty({},"passive",{get(){cc=!0}});P().addEventListener("test",null,p),P().removeEventListener("test",null,p)}catch{}}return cc},sf=["touchstart","touchmove"];function Cu(p,t,o){if(Array.isArray(t))return Nu(Cu,p,t,o);Eo.has(p)||Eo.set(p,{});const c=Eo.get(p);if(c.handlers||(c.handlers={}),c.handlers[t]||(c.handlers[t]=[]),o.guid||(o.guid=cu()),c.handlers[t].push(o),c.dispatcher||(c.disabled=!1,c.dispatcher=function(y,w){if(c.disabled)return;y=Au(y);const R=c.handlers[y.type];if(R){const G=R.slice(0);for(let ue=0,Te=G.length;ue<Te&&!y.isImmediatePropagationStopped();ue++)try{G[ue].call(p,y,w)}catch(Ke){pi.error(Ke)}}}),c.handlers[t].length===1)if(p.addEventListener){let y=!1;Dd()&&sf.indexOf(t)>-1&&(y={passive:!0}),p.addEventListener(t,c.dispatcher,y)}else p.attachEvent&&p.attachEvent("on"+t,c.dispatcher)}function Kn(p,t,o){if(!Eo.has(p))return;const c=Eo.get(p);if(!c.handlers)return;if(Array.isArray(t))return Nu(Kn,p,t,o);const y=function(R,G){c.handlers[G]=[],dd(R,G)};if(t===void 0){for(const R in c.handlers)Object.prototype.hasOwnProperty.call(c.handlers||{},R)&&y(p,R);return}const w=c.handlers[t];if(w){if(!o){y(p,t);return}if(o.guid)for(let R=0;R<w.length;R++)w[R].guid===o.guid&&w.splice(R--,1);dd(p,t)}}function yl(p,t,o){const c=Eo.has(p)?Eo.get(p):{},y=p.parentNode||p.ownerDocument;if(typeof t=="string"?t={type:t,target:p}:t.target||(t.target=p),t=Au(t),c.dispatcher&&c.dispatcher.call(p,t,o),y&&!t.isPropagationStopped()&&t.bubbles===!0)yl.call(null,y,t,o);else if(!y&&!t.defaultPrevented&&t.target&&t.target[t.type]){Eo.has(t.target)||Eo.set(t.target,{});const w=Eo.get(t.target);t.target[t.type]&&(w.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),w.disabled=!1)}return!t.defaultPrevented}function Ql(p,t,o){if(Array.isArray(t))return Nu(Ql,p,t,o);const c=function(){Kn(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||cu(),Cu(p,t,c)}function du(p,t,o){const c=function(){Kn(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||cu(),Cu(p,t,c)}var Ra=Object.freeze({__proto__:null,fixEvent:Au,on:Cu,off:Kn,trigger:yl,one:Ql,any:du});const tu=30,Na=function(p,t,o){t.guid||(t.guid=cu());const c=t.bind(p);return c.guid=o?o+"_"+t.guid:t.guid,c},fu=function(p,t){let o=P().performance.now();return function(...y){const w=P().performance.now();w-o>=t&&(p(...y),o=w)}},fd=function(p,t,o,c=P()){let y;const w=()=>{c.clearTimeout(y),y=null},R=function(){const G=this,ue=arguments;let Te=function(){y=null,Te=null,o||p.apply(G,ue)};!y&&o&&p.apply(G,ue),c.clearTimeout(y),y=c.setTimeout(Te,t)};return R.cancel=w,R};var hd=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:tu,bind_:Na,throttle:fu,debounce:fd});let dc;class Ou{on(t,o){const c=this.addEventListener;this.addEventListener=()=>{},Cu(this,t,o),this.addEventListener=c}off(t,o){Kn(this,t,o)}one(t,o){const c=this.addEventListener;this.addEventListener=()=>{},Ql(this,t,o),this.addEventListener=c}any(t,o){const c=this.addEventListener;this.addEventListener=()=>{},du(this,t,o),this.addEventListener=c}trigger(t){const o=t.type||t;typeof t=="string"&&(t={type:o}),t=Au(t),this.allowedEvents_[o]&&this["on"+o]&&this["on"+o](t),yl(this,t)}queueTrigger(t){dc||(dc=new Map);const o=t.type||t;let c=dc.get(this);c||(c=new Map,dc.set(this,c));const y=c.get(o);c.delete(o),P().clearTimeout(y);const w=P().setTimeout(()=>{c.delete(o),c.size===0&&(c=null,dc.delete(this)),this.trigger(t)},0);c.set(o,w)}}Ou.prototype.allowedEvents_={},Ou.prototype.addEventListener=Ou.prototype.on,Ou.prototype.removeEventListener=Ou.prototype.off,Ou.prototype.dispatchEvent=Ou.prototype.trigger;const pd=p=>typeof p.name=="function"?p.name():typeof p.name=="string"?p.name:p.name_?p.name_:p.constructor&&p.constructor.name?p.constructor.name:typeof p,No=p=>p instanceof Ou||!!p.eventBusEl_&&["on","one","off","trigger"].every(t=>typeof p[t]=="function"),Iu=(p,t)=>{No(p)?t():(p.eventedCallbacks||(p.eventedCallbacks=[]),p.eventedCallbacks.push(t))},Fu=p=>typeof p=="string"&&/\S/.test(p)||Array.isArray(p)&&!!p.length,Wu=(p,t,o)=>{if(!p||!p.nodeName&&!No(p))throw new Error(`Invalid target for ${pd(t)}#${o}; must be a DOM node or evented object.`)},To=(p,t,o)=>{if(!Fu(p))throw new Error(`Invalid event type for ${pd(t)}#${o}; must be a non-empty string or array.`)},Oc=(p,t,o)=>{if(typeof p!="function")throw new Error(`Invalid listener for ${pd(t)}#${o}; must be a function.`)},hu=(p,t,o)=>{const c=t.length<3||t[0]===p||t[0]===p.eventBusEl_;let y,w,R;return c?(y=p.eventBusEl_,t.length>=3&&t.shift(),[w,R]=t):(y=t[0],w=t[1],R=t[2]),Wu(y,p,o),To(w,p,o),Oc(R,p,o),R=Na(p,R),{isTargetingSelf:c,target:y,type:w,listener:R}},bl=(p,t,o,c)=>{Wu(p,p,t),p.nodeName?Ra[t](p,o,c):p[t](o,c)},ol={on(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=hu(this,p,"on");if(bl(o,"on",c,y),!t){const w=()=>this.off(o,c,y);w.guid=y.guid;const R=()=>this.off("dispose",w);R.guid=y.guid,bl(this,"on","dispose",w),bl(o,"on","dispose",R)}},one(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=hu(this,p,"one");if(t)bl(o,"one",c,y);else{const w=(...R)=>{this.off(o,c,w),y.apply(null,R)};w.guid=y.guid,bl(o,"one",c,w)}},any(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=hu(this,p,"any");if(t)bl(o,"any",c,y);else{const w=(...R)=>{this.off(o,c,w),y.apply(null,R)};w.guid=y.guid,bl(o,"any",c,w)}},off(p,t,o){if(!p||Fu(p))Kn(this.eventBusEl_,p,t);else{const c=p,y=t;Wu(c,this,"off"),To(y,this,"off"),Oc(o,this,"off"),o=Na(this,o),this.off("dispose",o),c.nodeName?(Kn(c,y,o),Kn(c,"dispose",o)):No(c)&&(c.off(y,o),c.off("dispose",o))}},trigger(p,t){Wu(this.eventBusEl_,this,"trigger");const o=p&&typeof p!="string"?p.type:p;if(!Fu(o))throw new Error(`Invalid event type for ${pd(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return yl(this.eventBusEl_,p,t)}};function pu(p,t={}){const{eventBusKey:o}=t;if(o){if(!p[o].nodeName)throw new Error(`The eventBusKey "${o}" does not refer to an element.`);p.eventBusEl_=p[o]}else p.eventBusEl_=Bs("span",{className:"vjs-event-bus"});return Object.assign(p,ol),p.eventedCallbacks&&p.eventedCallbacks.forEach(c=>{c()}),p.on("dispose",()=>{p.off(),[p,p.el_,p.eventBusEl_].forEach(function(c){c&&Eo.has(c)&&Eo.delete(c)}),P().setTimeout(()=>{p.eventBusEl_=null},0)}),p}const Sl={state:{},setState(p){typeof p=="function"&&(p=p());let t;return Uo(p,(o,c)=>{this.state[c]!==o&&(t=t||{},t[c]={from:this.state[c],to:o}),this.state[c]=o}),t&&No(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Ic(p,t){return Object.assign(p,Sl),p.state=Object.assign({},p.state,t),typeof p.handleStateChanged=="function"&&No(p)&&p.on("statechanged",p.handleStateChanged),p}const Fl=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toLowerCase())},eo=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toUpperCase())},xl=function(p,t){return eo(p)===eo(t)};var Ld=Object.freeze({__proto__:null,toLowerCase:Fl,toTitleCase:eo,titleCaseEquals:xl});class In{constructor(t,o,c){if(!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=wa({},this.options_),o=this.options_=wa(this.options_,o),this.id_=o.id||o.el&&o.el.id,!this.id_){const y=t&&t.id&&t.id()||"no_player";this.id_=`${y}_component_${cu()}`}this.name_=o.name||null,o.el?this.el_=o.el:o.createEl!==!1&&(this.el_=this.createEl()),o.className&&this.el_&&o.className.split(" ").forEach(y=>this.addClass(y)),["on","off","one","any","trigger"].forEach(y=>{this[y]=void 0}),o.evented!==!1&&(pu(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Ic(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,o.initChildren!==!1&&this.initChildren(),this.ready(c),o.reportTouchActivity!==!1&&this.enableTouchActivity()}dispose(t={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let o=this.children_.length-1;o>=0;o--)this.children_[o].dispose&&this.children_[o].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(t.restoreEl?this.el_.parentNode.replaceChild(t.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return!!this.isDisposed_}player(){return this.player_}options(t){return t?(this.options_=wa(this.options_,t),this.options_):this.options_}el(){return this.el_}createEl(t,o,c){return Bs(t,o,c)}localize(t,o,c=t){const y=this.player_.language&&this.player_.language(),w=this.player_.languages&&this.player_.languages(),R=w&&w[y],G=y&&y.split("-")[0],ue=w&&w[G];let Te=c;return R&&R[t]?Te=R[t]:ue&&ue[t]&&(Te=ue[t]),o&&(Te=Te.replace(/\{(\d+)\}/g,function(Ke,St){const sr=o[St-1];let wr=sr;return typeof sr>"u"&&(wr=Ke),wr})),Te}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(t){return this.childIndex_[t]}getChild(t){if(t)return this.childNameIndex_[t]}getDescendant(...t){t=t.reduce((c,y)=>c.concat(y),[]);let o=this;for(let c=0;c<t.length;c++)if(o=o.getChild(t[c]),!o||!o.getChild)return;return o}setIcon(t,o=this.el()){if(!this.player_.options_.experimentalSvgIcons)return;const c="http://www.w3.org/2000/svg",y=Bs("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),w=D().createElementNS(c,"svg");w.setAttributeNS(null,"viewBox","0 0 512 512");const R=D().createElementNS(c,"use");return w.appendChild(R),R.setAttributeNS(null,"href",`#vjs-icon-${t}`),y.appendChild(w),this.iconIsSet_?o.replaceChild(y,o.querySelector(".vjs-icon-placeholder")):o.appendChild(y),this.iconIsSet_=!0,y}addChild(t,o={},c=this.children_.length){let y,w;if(typeof t=="string"){w=eo(t);const R=o.componentClass||w;o.name=w;const G=In.getComponent(R);if(!G)throw new Error(`Component ${R} does not exist`);if(typeof G!="function")return null;y=new G(this.player_||this,o)}else y=t;if(y.parentComponent_&&y.parentComponent_.removeChild(y),this.children_.splice(c,0,y),y.parentComponent_=this,typeof y.id=="function"&&(this.childIndex_[y.id()]=y),w=w||y.name&&eo(y.name()),w&&(this.childNameIndex_[w]=y,this.childNameIndex_[Fl(w)]=y),typeof y.el=="function"&&y.el()){let R=null;this.children_[c+1]&&(this.children_[c+1].el_?R=this.children_[c+1].el_:eu(this.children_[c+1])&&(R=this.children_[c+1])),this.contentEl().insertBefore(y.el(),R)}return y}removeChild(t){if(typeof t=="string"&&(t=this.getChild(t)),!t||!this.children_)return;let o=!1;for(let y=this.children_.length-1;y>=0;y--)if(this.children_[y]===t){o=!0,this.children_.splice(y,1);break}if(!o)return;t.parentComponent_=null,this.childIndex_[t.id()]=null,this.childNameIndex_[eo(t.name())]=null,this.childNameIndex_[Fl(t.name())]=null;const c=t.el();c&&c.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}initChildren(){const t=this.options_.children;if(t){const o=this.options_,c=R=>{const G=R.name;let ue=R.opts;if(o[G]!==void 0&&(ue=o[G]),ue===!1)return;ue===!0&&(ue={}),ue.playerOptions=this.options_.playerOptions;const Te=this.addChild(G,ue);Te&&(this[G]=Te)};let y;const w=In.getComponent("Tech");Array.isArray(t)?y=t:y=Object.keys(t),y.concat(Object.keys(this.options_).filter(function(R){return!y.some(function(G){return typeof G=="string"?R===G:R===G.name})})).map(R=>{let G,ue;return typeof R=="string"?(G=R,ue=t[G]||this.options_[G]||{}):(G=R.name,ue=R),{name:G,opts:ue}}).filter(R=>{const G=In.getComponent(R.opts.componentClass||eo(R.name));return G&&!w.isTech(G)}).forEach(c)}}buildCSSClass(){return""}ready(t,o=!1){if(t){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(t);return}o?t.call(this):this.setTimeout(t,1)}}triggerReady(){this.isReady_=!0,this.setTimeout(function(){const t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(o){o.call(this)},this),this.trigger("ready")},1)}$(t,o){return Ai(t,o||this.contentEl())}$$(t,o){return Gi(t,o||this.contentEl())}hasClass(t){return Nl(this.el_,t)}addClass(...t){nl(this.el_,...t)}removeClass(...t){il(this.el_,...t)}toggleClass(t,o){vl(this.el_,t,o)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(t){return lu(this.el_,t)}setAttribute(t,o){Go(this.el_,t,o)}removeAttribute(t){Xo(this.el_,t)}width(t,o){return this.dimension("width",t,o)}height(t,o){return this.dimension("height",t,o)}dimensions(t,o){this.width(t,!0),this.height(o)}dimension(t,o,c){if(o!==void 0){(o===null||o!==o)&&(o=0),(""+o).indexOf("%")!==-1||(""+o).indexOf("px")!==-1?this.el_.style[t]=o:o==="auto"?this.el_.style[t]="":this.el_.style[t]=o+"px",c||this.trigger("componentresize");return}if(!this.el_)return 0;const y=this.el_.style[t],w=y.indexOf("px");return parseInt(w!==-1?y.slice(0,w):this.el_["offset"+eo(t)],10)}currentDimension(t){let o=0;if(t!=="width"&&t!=="height")throw new Error("currentDimension only accepts width or height value");if(o=Xs(this.el_,t),o=parseFloat(o),o===0||isNaN(o)){const c=`offset${eo(t)}`;o=this.el_[c]}return o}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}getPositions(){const t=this.el_.getBoundingClientRect(),o={x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left},c={x:t.left+t.width/2,y:t.top+t.height/2,width:0,height:0,top:t.top+t.height/2,right:t.left+t.width/2,bottom:t.top+t.height/2,left:t.left+t.width/2};return{boundingClientRect:o,center:c}}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(t){this.player_&&(t.key!=="Tab"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled)&&t.stopPropagation(),this.player_.handleKeyDown(t))}handleKeyPress(t){this.handleKeyDown(t)}emitTapEvents(){let t=0,o=null;const c=10,y=200;let w;this.on("touchstart",function(G){G.touches.length===1&&(o={pageX:G.touches[0].pageX,pageY:G.touches[0].pageY},t=P().performance.now(),w=!0)}),this.on("touchmove",function(G){if(G.touches.length>1)w=!1;else if(o){const ue=G.touches[0].pageX-o.pageX,Te=G.touches[0].pageY-o.pageY;Math.sqrt(ue*ue+Te*Te)>c&&(w=!1)}});const R=function(){w=!1};this.on("touchleave",R),this.on("touchcancel",R),this.on("touchend",function(G){o=null,w===!0&&P().performance.now()-t<y&&(G.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const t=Na(this.player(),this.player().reportUserActivity);let o;this.on("touchstart",function(){t(),this.clearInterval(o),o=this.setInterval(t,250)});const c=function(y){t(),this.clearInterval(o)};this.on("touchmove",t),this.on("touchend",c),this.on("touchcancel",c)}setTimeout(t,o){var c;return t=Na(this,t),this.clearTimersOnDispose_(),c=P().setTimeout(()=>{this.setTimeoutIds_.has(c)&&this.setTimeoutIds_.delete(c),t()},o),this.setTimeoutIds_.add(c),c}clearTimeout(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),P().clearTimeout(t)),t}setInterval(t,o){t=Na(this,t),this.clearTimersOnDispose_();const c=P().setInterval(t,o);return this.setIntervalIds_.add(c),c}clearInterval(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),P().clearInterval(t)),t}requestAnimationFrame(t){this.clearTimersOnDispose_();var o;return t=Na(this,t),o=P().requestAnimationFrame(()=>{this.rafIds_.has(o)&&this.rafIds_.delete(o),t()}),this.rafIds_.add(o),o}requestNamedAnimationFrame(t,o){this.namedRafs_.has(t)&&this.cancelNamedAnimationFrame(t),this.clearTimersOnDispose_(),o=Na(this,o);const c=this.requestAnimationFrame(()=>{o(),this.namedRafs_.has(t)&&this.namedRafs_.delete(t)});return this.namedRafs_.set(t,c),t}cancelNamedAnimationFrame(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))}cancelAnimationFrame(t){return this.rafIds_.has(t)&&(this.rafIds_.delete(t),P().cancelAnimationFrame(t)),t}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(([t,o])=>{this[t].forEach((c,y)=>this[o](y))}),this.clearingTimersOnDispose_=!1}))}getIsDisabled(){return!!this.el_.disabled}getIsExpresslyInert(){return this.el_.inert&&!this.el_.ownerDocument.documentElement.inert}getIsFocusable(t){return(t||this.el_).tabIndex>=0&&!(this.getIsDisabled()||this.getIsExpresslyInert())}getIsAvailableToBeFocused(t){function o(w){const R=P().getComputedStyle(w,null),G=R.getPropertyValue("visibility");return R.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(G)}function c(w){return!(!o(w.parentElement)||!o(w)||w.style.opacity==="0"||P().getComputedStyle(w).height==="0px"||P().getComputedStyle(w).width==="0px")}function y(w){if(w.offsetWidth+w.offsetHeight+w.getBoundingClientRect().height+w.getBoundingClientRect().width===0)return!1;const R={x:w.getBoundingClientRect().left+w.offsetWidth/2,y:w.getBoundingClientRect().top+w.offsetHeight/2};if(R.x<0||R.x>(D().documentElement.clientWidth||P().innerWidth)||R.y<0||R.y>(D().documentElement.clientHeight||P().innerHeight))return!1;let G=D().elementFromPoint(R.x,R.y);for(;G;){if(G===w)return!0;if(G.parentNode)G=G.parentNode;else return!1}}return t||(t=this.el()),!!(y(t)&&c(t)&&(!t.parentElement||t.tabIndex>=0))}static registerComponent(t,o){if(typeof t!="string"||!t)throw new Error(`Illegal component name, "${t}"; must be a non-empty string.`);const c=In.getComponent("Tech"),y=c&&c.isTech(o),w=In===o||In.prototype.isPrototypeOf(o.prototype);if(y||!w){let G;throw y?G="techs must be registered using Tech.registerTech()":G="must be a Component subclass",new Error(`Illegal component, "${t}"; ${G}.`)}t=eo(t),In.components_||(In.components_={});const R=In.getComponent("Player");if(t==="Player"&&R&&R.players){const G=R.players,ue=Object.keys(G);if(G&&ue.length>0){for(let Te=0;Te<ue.length;Te++)if(G[ue[Te]]!==null)throw new Error("Can not register Player component after player has been created.")}}return In.components_[t]=o,In.components_[Fl(t)]=o,o}static getComponent(t){if(!(!t||!In.components_))return In.components_[t]}}In.registerComponent("Component",In);function Wc(p,t,o){if(typeof t!="number"||t<0||t>o)throw new Error(`Failed to execute '${p}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${o}).`)}function Vc(p,t,o,c){return Wc(p,c,o.length-1),o[c][t]}function Pc(p){let t;return p===void 0||p.length===0?t={length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:t={length:p.length,start:Vc.bind(null,"start",0,p),end:Vc.bind(null,"end",1,p)},P().Symbol&&P().Symbol.iterator&&(t[P().Symbol.iterator]=()=>(p||[]).values()),t}function Ua(p,t){return Array.isArray(p)?Pc(p):p===void 0||t===void 0?Pc():Pc([[p,t]])}const ul=function(p,t){p=p<0?0:p;let o=Math.floor(p%60),c=Math.floor(p/60%60),y=Math.floor(p/3600);const w=Math.floor(t/60%60),R=Math.floor(t/3600);return(isNaN(p)||p===1/0)&&(y=c=o="-"),y=y>0||R>0?y+":":"",c=((y||w>=10)&&c<10?"0"+c:c)+":",o=o<10?"0"+o:o,y+c+o};let Jl=ul;function wo(p){Jl=p}function fc(){Jl=ul}function Vu(p,t=p){return Jl(p,t)}var Zl=Object.freeze({__proto__:null,createTimeRanges:Ua,createTimeRange:Ua,setFormatTime:wo,resetFormatTime:fc,formatTime:Vu});function Gc(p,t){let o=0,c,y;if(!t)return 0;(!p||!p.length)&&(p=Ua(0,0));for(let w=0;w<p.length;w++)c=p.start(w),y=p.end(w),y>t&&(y=t),o+=y-c;return o/t}function ba(p){if(p instanceof ba)return p;typeof p=="number"?this.code=p:typeof p=="string"?this.message=p:jo(p)&&(typeof p.code=="number"&&(this.code=p.code),Object.assign(this,p)),this.message||(this.message=ba.defaultMessages[this.code]||"")}ba.prototype.code=0,ba.prototype.message="",ba.prototype.status=null,ba.prototype.metadata=null,ba.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ba.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},ba.MEDIA_ERR_CUSTOM=0,ba.prototype.MEDIA_ERR_CUSTOM=0,ba.MEDIA_ERR_ABORTED=1,ba.prototype.MEDIA_ERR_ABORTED=1,ba.MEDIA_ERR_NETWORK=2,ba.prototype.MEDIA_ERR_NETWORK=2,ba.MEDIA_ERR_DECODE=3,ba.prototype.MEDIA_ERR_DECODE=3,ba.MEDIA_ERR_SRC_NOT_SUPPORTED=4,ba.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4,ba.MEDIA_ERR_ENCRYPTED=5,ba.prototype.MEDIA_ERR_ENCRYPTED=5;function El(p){return p!=null&&typeof p.then=="function"}function ll(p){El(p)&&p.then(null,t=>{})}const md=function(p){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((o,c,y)=>(p[c]&&(o[c]=p[c]),o),{cues:p.cues&&Array.prototype.map.call(p.cues,function(o){return{startTime:o.startTime,endTime:o.endTime,text:o.text,id:o.id}})})};var gd={textTracksToJson:function(p){const t=p.$$("track"),o=Array.prototype.map.call(t,y=>y.track);return Array.prototype.map.call(t,function(y){const w=md(y.track);return y.src&&(w.src=y.src),w}).concat(Array.prototype.filter.call(p.textTracks(),function(y){return o.indexOf(y)===-1}).map(md))},jsonToTextTracks:function(p,t){return p.forEach(function(o){const c=t.addRemoteTextTrack(o).track;!o.src&&o.cues&&o.cues.forEach(y=>c.addCue(y))}),t.textTracks()},trackToJson:md};const ql="vjs-modal-dialog";class Bl extends In{constructor(t,o){super(t,o),this.handleKeyDown_=c=>this.handleKeyDown(c),this.close_=c=>this.close(c),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=Bs("div",{className:`${ql}-content`},{role:"document"}),this.descEl_=Bs("p",{className:`${ql}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),rl(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog","aria-live":"polite"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${ql} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t}open(){if(this.opened_){this.options_.fillAlways&&this.fill();return}const t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}opened(t){return typeof t=="boolean"&&this[t?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger({type:"modalclose",bubbles:!0}),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(t){if(typeof t=="boolean"){const o=this.closeable_=!!t;let c=this.getChild("closeButton");if(o&&!c){const y=this.contentEl_;this.contentEl_=this.el_,c=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=y,this.on(c,"close",this.close_)}!o&&c&&(this.off(c,"close",this.close_),this.removeChild(c),c.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(t){const o=this.contentEl(),c=o.parentNode,y=o.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,c.removeChild(o),this.empty(),Li(o,t),this.trigger("modalfill"),y?c.insertBefore(o,y):c.appendChild(o);const w=this.getChild("closeButton");w&&c.appendChild(w.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),Rr(this.contentEl()),this.trigger("modalempty")}content(t){return typeof t<"u"&&(this.content_=t),this.content_}conditionalFocus_(){const t=D().activeElement,o=this.player_.el_;this.previouslyActiveEl_=null,(o.contains(t)||o===t)&&(this.previouslyActiveEl_=t,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(t){if(this.trigger({type:"modalKeydown",originalEvent:t,target:this,bubbles:!0}),t.stopPropagation(),t.key==="Escape"&&this.closeable()){t.preventDefault(),this.close();return}if(t.key!=="Tab")return;const o=this.focusableEls_(),c=this.el_.querySelector(":focus");let y;for(let w=0;w<o.length;w++)if(c===o[w]){y=w;break}D().activeElement===this.el_&&(y=0),t.shiftKey&&y===0?(o[o.length-1].focus(),t.preventDefault()):!t.shiftKey&&y===o.length-1&&(o[0].focus(),t.preventDefault())}focusableEls_(){const t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,o=>(o instanceof P().HTMLAnchorElement||o instanceof P().HTMLAreaElement)&&o.hasAttribute("href")||(o instanceof P().HTMLInputElement||o instanceof P().HTMLSelectElement||o instanceof P().HTMLTextAreaElement||o instanceof P().HTMLButtonElement)&&!o.hasAttribute("disabled")||o instanceof P().HTMLIFrameElement||o instanceof P().HTMLObjectElement||o instanceof P().HTMLEmbedElement||o.hasAttribute("tabindex")&&o.getAttribute("tabindex")!==-1||o.hasAttribute("contenteditable"))}}Bl.prototype.options_={pauseOnOpen:!0,temporary:!0},In.registerComponent("ModalDialog",Bl);class cl extends Ou{constructor(t=[]){super(),this.tracks_=[];for(let o=0;o<t.length;o++)this.addTrack(t[o])}get length(){return this.tracks_.length}addTrack(t){const o=this.tracks_.length;""+o in this||Object.defineProperty(this,o,{get(){return this.tracks_[o]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack",target:this})),t.labelchange_=()=>{this.trigger({track:t,type:"labelchange",target:this})},No(t)&&t.addEventListener("labelchange",t.labelchange_)}removeTrack(t){let o;for(let c=0,y=this.length;c<y;c++)if(this[c]===t){o=this[c],o.off&&o.off(),this.tracks_.splice(c,1);break}o&&this.trigger({track:o,type:"removetrack",target:this})}getTrackById(t){let o=null;for(let c=0,y=this.length;c<y;c++){const w=this[c];if(w.id===t){o=w;break}}return o}}cl.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const p in cl.prototype.allowedEvents_)cl.prototype["on"+p]=null;const vd=function(p,t){for(let o=0;o<p.length;o++)!Object.keys(p[o]).length||t.id===p[o].id||(p[o].enabled=!1)};class _l extends cl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].enabled){vd(t,t[o]);break}super(t),this.changing_=!1}addTrack(t){t.enabled&&vd(this,t),super.addTrack(t),t.addEventListener&&(t.enabledChange_=()=>{this.changing_||(this.changing_=!0,vd(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)}}const dl=function(p,t){for(let o=0;o<p.length;o++)!Object.keys(p[o]).length||t.id===p[o].id||(p[o].selected=!1)};class hc extends cl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].selected){dl(t,t[o]);break}super(t),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let o=0;o<this.length;o++)if(this[o].selected)return o;return-1},set(){}})}addTrack(t){t.selected&&dl(this,t),super.addTrack(t),t.addEventListener&&(t.selectedChange_=()=>{this.changing_||(this.changing_=!0,dl(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)}}class Sa extends cl{addTrack(t){super.addTrack(t),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),t.addEventListener("modechange",this.queueChange_),["metadata","chapters"].indexOf(t.kind)===-1&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(t){super.removeTrack(t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}toJSON(){return this.tracks_.map(t=>t.toJSON())}}class M{constructor(t=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let o=0,c=t.length;o<c;o++)this.addTrackElement_(t[o])}addTrackElement_(t){const o=this.trackElements_.length;""+o in this||Object.defineProperty(this,o,{get(){return this.trackElements_[o]}}),this.trackElements_.indexOf(t)===-1&&this.trackElements_.push(t)}getTrackElementByTrack_(t){let o;for(let c=0,y=this.trackElements_.length;c<y;c++)if(t===this.trackElements_[c].track){o=this.trackElements_[c];break}return o}removeTrackElement_(t){for(let o=0,c=this.trackElements_.length;o<c;o++)if(t===this.trackElements_[o]){this.trackElements_[o].track&&typeof this.trackElements_[o].track.off=="function"&&this.trackElements_[o].track.off(),typeof this.trackElements_[o].off=="function"&&this.trackElements_[o].off(),this.trackElements_.splice(o,1);break}}}class re{constructor(t){re.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(t){const o=this.length||0;let c=0;const y=t.length;this.cues_=t,this.length_=t.length;const w=function(R){""+R in this||Object.defineProperty(this,""+R,{get(){return this.cues_[R]}})};if(o<y)for(c=o;c<y;c++)w.call(this,c)}getCueById(t){let o=null;for(let c=0,y=this.length;c<y;c++){const w=this[c];if(w.id===t){o=w;break}}return o}}const Ee={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Be={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},vt={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},gr={disabled:"disabled",hidden:"hidden",showing:"showing"};class Cn extends Ou{constructor(t={}){super();const o={id:t.id||"vjs_track_"+cu(),kind:t.kind||"",language:t.language||""};let c=t.label||"";for(const y in o)Object.defineProperty(this,y,{get(){return o[y]},set(){}});Object.defineProperty(this,"label",{get(){return c},set(y){y!==c&&(c=y,this.trigger("labelchange"))}})}}const es=function(p){return new URL(p,D().baseURI)},Zs=function(p){return new URL(p,D().baseURI).href},fa=function(p){if(typeof p=="string"){const o=p.split("?")[0].replace(/\/+$/,"").match(/\.([^.\/]+)$/);return o?o[1].toLowerCase():""}return""},Io=function(p,t=P().location){return es(p).origin!==t.origin};var ru=Object.freeze({__proto__:null,parseUrl:es,getAbsoluteURL:Zs,getFileExtension:fa,isCrossOrigin:Io});const Ul=function(p,t){const o=new(P()).WebVTT.Parser(P(),P().vttjs,P().WebVTT.StringDecoder()),c=[];o.oncue=function(y){t.addCue(y)},o.onparsingerror=function(y){c.push(y)},o.onflush=function(){t.trigger({type:"loadeddata",target:t})},o.parse(p),c.length>0&&(P().console&&P().console.groupCollapsed&&P().console.groupCollapsed(`Text Track parsing errors for ${t.src}
801`),c.forEach(y=>pi.error(y)),P().console&&P().console.groupEnd&&P().console.groupEnd()),o.flush()},yd=function(p,t){const o={uri:p},c=Io(p);c&&(o.cors=c);const y=t.tech_.crossOrigin()==="use-credentials";y&&(o.withCredentials=y),$()(o,Na(this,function(w,R,G){if(w)return pi.error(w,R);t.loaded_=!0,typeof P().WebVTT!="function"?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],ue=>{if(ue.type==="vttjserror"){pi.error(`vttjs failed to load, stopping trying to process ${t.src}`);return}return Ul(G,t)}):Ul(G,t)}))};class Kc extends Cn{constructor(t={}){if(!t.tech)throw new Error("A tech was not provided.");const o=wa(t,{kind:vt[t.kind]||"subtitles",language:t.language||t.srclang||""});let c=gr[o.mode]||"disabled";const y=o.default;(o.kind==="metadata"||o.kind==="chapters")&&(c="hidden"),super(o),this.tech_=o.tech,this.cues_=[],this.activeCues_=[],this.preload_=this.tech_.preloadTextTracks!==!1;const w=new re(this.cues_),R=new re(this.activeCues_);let G=!1;this.timeupdateHandler=Na(this,function(Te={}){if(!this.tech_.isDisposed()){if(!this.tech_.isReady_){Te.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,G&&(this.trigger("cuechange"),G=!1),Te.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});const ue=()=>{this.stopTracking()};this.tech_.one("dispose",ue),c!=="disabled"&&this.startTracking(),Object.defineProperties(this,{default:{get(){return y},set(){}},mode:{get(){return c},set(Te){gr[Te]&&c!==Te&&(c=Te,!this.preload_&&c!=="disabled"&&this.cues.length===0&&yd(this.src,this),this.stopTracking(),c!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?w:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return R;const Te=this.tech_.currentTime(),Ke=[];for(let St=0,sr=this.cues.length;St<sr;St++){const wr=this.cues[St];wr.startTime<=Te&&wr.endTime>=Te&&Ke.push(wr)}if(G=!1,Ke.length!==this.activeCues_.length)G=!0;else for(let St=0;St<Ke.length;St++)this.activeCues_.indexOf(Ke[St])===-1&&(G=!0);return this.activeCues_=Ke,R.setCues_(this.activeCues_),R},set(){}}}),o.src?(this.src=o.src,this.preload_||(this.loaded_=!0),(this.preload_||o.kind!=="subtitles"&&o.kind!=="captions")&&yd(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(t){let o=t;if(!("getCueAsHTML"in o)){o=new(P()).vttjs.VTTCue(t.startTime,t.endTime,t.text);for(const y in t)y in o||(o[y]=t[y]);o.id=t.id,o.originalCue_=t}const c=this.tech_.textTracks();for(let y=0;y<c.length;y++)c[y]!==this&&c[y].removeCue(o);this.cues_.push(o),this.cues.setCues_(this.cues_)}toJSON(){return gd.trackToJson(this)}removeCue(t){let o=this.cues_.length;for(;o--;){const c=this.cues_[o];if(c===t||c.originalCue_&&c.originalCue_===t){this.cues_.splice(o,1),this.cues.setCues_(this.cues_);break}}}}Kc.prototype.allowedEvents_={cuechange:"cuechange"};class Yc extends Cn{constructor(t={}){const o=wa(t,{kind:Be[t.kind]||""});super(o);let c=!1;Object.defineProperty(this,"enabled",{get(){return c},set(y){typeof y!="boolean"||y===c||(c=y,this.trigger("enabledchange"))}}),o.enabled&&(this.enabled=o.enabled),this.loaded_=!0}}class bd extends Cn{constructor(t={}){const o=wa(t,{kind:Ee[t.kind]||""});super(o);let c=!1;Object.defineProperty(this,"selected",{get(){return c},set(y){typeof y!="boolean"||y===c||(c=y,this.trigger("selectedchange"))}}),o.selected&&(this.selected=o.selected)}}class ec extends Ou{constructor(t={}){super();let o;const c=new Kc(t);this.kind=c.kind,this.src=c.src,this.srclang=c.language,this.label=c.label,this.default=c.default,Object.defineProperties(this,{readyState:{get(){return o}},track:{get(){return c}}}),o=ec.NONE,c.addEventListener("loadeddata",()=>{o=ec.LOADED,this.trigger({type:"load",target:this})})}}ec.prototype.allowedEvents_={load:"load"},ec.NONE=0,ec.LOADING=1,ec.LOADED=2,ec.ERROR=3;
vendor: 4,387 bytes, line 801
801const mu={audio:{ListClass:_l,TrackClass:Yc,capitalName:"Audio"},video:{ListClass:hc,TrackClass:bd,capitalName:"Video"},text:{ListClass:Sa,TrackClass:Kc,capitalName:"Text"}};Object.keys(mu).forEach(function(p){mu[p].getterName=`${p}Tracks`,mu[p].privateName=`${p}Tracks_`});const tc={remoteText:{ListClass:Sa,TrackClass:Kc,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:M,TrackClass:ec,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},b=Object.assign({},mu,tc);tc.names=Object.keys(tc),mu.names=Object.keys(mu),b.names=[].concat(tc.names).concat(mu.names);function Cf(p,t,o,c,y={}){const w=p.textTracks();y.kind=t,o&&(y.label=o),c&&(y.language=c),y.tech=p;const R=new b.text.TrackClass(y);return w.addTrack(R),R}class ea extends In{constructor(t={},o=function(){}){t.reportTouchActivity=!1,super(null,t,o),this.onDurationChange_=c=>this.onDurationChange(c),this.trackProgress_=c=>this.trackProgress(c),this.trackCurrentTime_=c=>this.trackCurrentTime(c),this.stopTrackingCurrentTime_=c=>this.stopTrackingCurrentTime(c),this.disposeSourceHandler_=c=>this.disposeSourceHandler(c),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),b.names.forEach(c=>{const y=b[c];t&&t[y.getterName]&&(this[y.privateName]=t[y.getterName])}),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(c=>{t[`native${c}Tracks`]===!1&&(this[`featuresNative${c}Tracks`]=!1)}),t.nativeCaptions===!1||t.nativeTextTracks===!1?this.featuresNativeTextTracks=!1:(t.nativeCaptions===!0||t.nativeTextTracks===!0)&&(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=t.preloadTextTracks!==!1,this.autoRemoteTextTracks_=new b.text.ListClass,this.initTrackListeners(),t.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(t){this.isReady_||this.one("ready",()=>this.setTimeout(()=>this.triggerSourceset(t),1)),this.trigger({src:t,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Na(this,function(){const o=this.bufferedPercent();this.bufferedPercent_!==o&&this.trigger("progress"),this.bufferedPercent_=o,o===1&&this.stopTrackingProgress()}),500)}onDurationChange(t){this.duration_=this.duration()}buffered(){return Ua(0,0)}bufferedPercent(){return Gc(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(mu.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(t){t=[].concat(t),t.forEach(o=>{const c=this[`${o}Tracks`]()||[];let y=c.length;for(;y--;){const w=c[y];o==="text"&&this.removeRemoteTextTrack(w),c.removeTrack(w)}})}cleanupAutoTextTracks(){const t=this.autoRemoteTextTracks_||[];let o=t.length;for(;o--;){const c=t[o];this.removeRemoteTextTrack(c)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(t){return t!==void 0&&(this.error_=new ba(t),this.trigger("error")),this.error_}played(){return this.hasStarted_?Ua(0,0):Ua()}play(){}setScrubbing(t){}scrubbing(){}setCurrentTime(t){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}
vendor: 4,639 bytes, line 801
801initTrackListeners(){mu.names.forEach(t=>{const o=mu[t],c=()=>{this.trigger(`${t}trackchange`)},y=this[o.getterName]();y.addEventListener("removetrack",c),y.addEventListener("addtrack",c),this.on("dispose",()=>{y.removeEventListener("removetrack",c),y.removeEventListener("addtrack",c)})})}addWebVttScript_(){if(!P().WebVTT)if(D().body.contains(this.el())){if(!this.options_["vtt.js"]&&Ll(V())&&Object.keys(V()).length>0){this.trigger("vttjsloaded");return}const t=D().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=()=>{this.trigger("vttjsloaded")},t.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",()=>{t.onload=null,t.onerror=null}),P().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const t=this.textTracks(),o=this.remoteTextTracks(),c=G=>t.addTrack(G.track),y=G=>t.removeTrack(G.track);o.on("addtrack",c),o.on("removetrack",y),this.addWebVttScript_();const w=()=>this.trigger("texttrackchange"),R=()=>{w();for(let G=0;G<t.length;G++){const ue=t[G];ue.removeEventListener("cuechange",w),ue.mode==="showing"&&ue.addEventListener("cuechange",w)}};R(),t.addEventListener("change",R),t.addEventListener("addtrack",R),t.addEventListener("removetrack",R),this.on("dispose",function(){o.off("addtrack",c),o.off("removetrack",y),t.removeEventListener("change",R),t.removeEventListener("addtrack",R),t.removeEventListener("removetrack",R);for(let G=0;G<t.length;G++)t[G].removeEventListener("cuechange",w)})}addTextTrack(t,o,c){if(!t)throw new Error("TextTrack kind is required but was not provided");return Cf(this,t,o,c)}createRemoteTextTrack(t){const o=wa(t,{tech:this});return new tc.remoteTextEl.TrackClass(o)}addRemoteTextTrack(t={},o){const c=this.createRemoteTextTrack(t);return typeof o!="boolean"&&(o=!1),this.remoteTextTrackEls().addTrackElement_(c),this.remoteTextTracks().addTrack(c.track),o===!1&&this.ready(()=>this.autoRemoteTextTracks_.addTrack(c.track)),c}removeRemoteTextTrack(t){const o=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(o),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(t){const o=cu();return!this.isReady_||this.paused()?(this.queuedHanders_.add(o),this.one("playing",()=>{this.queuedHanders_.has(o)&&(this.queuedHanders_.delete(o),t())})):this.requestNamedAnimationFrame(o,t),o}cancelVideoFrameCallback(t){this.queuedHanders_.has(t)?this.queuedHanders_.delete(t):this.cancelNamedAnimationFrame(t)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(t){}overrideNativeVideoTracks(t){}canPlayType(t){return""}static canPlayType(t){return""}static canPlaySource(t,o){return ea.canPlayType(t.type)}static isTech(t){return t.prototype instanceof ea||t instanceof ea||t===ea}static registerTech(t,o){if(ea.techs_||(ea.techs_={}),!ea.isTech(o))throw new Error(`Tech ${t} must be a Tech`);if(!ea.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!ea.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=eo(t),ea.techs_[t]=o,ea.techs_[Fl(t)]=o,t!=="Tech"&&ea.defaultTechOrder_.push(t),o}static getTech(t){if(t){if(ea.techs_&&ea.techs_[t])return ea.techs_[t];if(t=eo(t),P()&&P().videojs&&P().videojs[t])return pi.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),P().videojs[t]}}}b.names.forEach(function(p){const t=b[p];ea.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),ea.prototype.featuresVolumeControl=!0,ea.prototype.featuresMuteControl=!0,ea.prototype.featuresFullscreenResize=!1,ea.prototype.featuresPlaybackRate=!1,ea.prototype.featuresProgressEvents=!1,ea.prototype.featuresSourceset=!1,ea.prototype.featuresTimeupdateEvents=!1,ea.prototype.featuresNativeTextTracks=!1,ea.prototype.featuresVideoFrameCallback=!1,ea.withSourceHandlers=function(p){p.registerSourceHandler=function(o,c){let y=p.sourceHandlers;y||(y=p.sourceHandlers=[]),c===void 0&&(c=y.length),y.splice(c,0,o)},p.canPlayType=function(o){const c=p.sourceHandlers||[];let y;for(let w=0;w<c.length;w++)if(y=c[w].canPlayType(o),y)return y;return""},p.selectSourceHandler=function(o,c){const y=p.sourceHandlers||[];let w;for(let R=0;R<y.length;R++)if(w=y[R].canHandleSource(o,c),w)return y[R];return null}
vendor: 3,551 bytes, line 801
801,p.canPlaySource=function(o,c){const y=p.selectSourceHandler(o,c);return y?y.canHandleSource(o,c):""},["seekable","seeking","duration"].forEach(function(o){const c=this[o];typeof c=="function"&&(this[o]=function(){return this.sourceHandler_&&this.sourceHandler_[o]?this.sourceHandler_[o].apply(this.sourceHandler_,arguments):c.apply(this,arguments)})},p.prototype),p.prototype.setSource=function(o){let c=p.selectSourceHandler(o,this.options_);c||(p.nativeSourceHandler?c=p.nativeSourceHandler:pi.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),c!==p.nativeSourceHandler&&(this.currentSource_=o),this.sourceHandler_=c.handleSource(o,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},p.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},In.registerComponent("Tech",ea),ea.registerTech("Tech",ea),ea.defaultTechOrder_=[];const ji={},Rc={},Al={};function Dc(p,t){ji[p]=ji[p]||[],ji[p].push(t)}function Xc(p,t,o){p.setTimeout(()=>pc(t,ji[t.type],o,p),1)}function pn(p,t){p.forEach(o=>o.setTech&&o.setTech(t))}function xa(p,t,o){return p.reduceRight(ao(o),t[o]())}function so(p,t,o,c){return t[o](p.reduce(ao(o),c))}function La(p,t,o,c=null){const y="call"+eo(o),w=p.reduce(ao(y),c),R=w===Al,G=R?null:t[o](w);return Bu(p,o,G,R),G}const ia={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Cl={setCurrentTime:1,setMuted:1,setVolume:1},Qc={play:1,pause:1};function ao(p){return(t,o)=>t===Al?Al:o[p]?o[p](t):t}function Bu(p,t,o,c){for(let y=p.length-1;y>=0;y--){const w=p[y];w[t]&&w[t](c,o)}}function Uu(p){Rc.hasOwnProperty(p.id())&&delete Rc[p.id()]}function Lc(p,t){const o=Rc[p.id()];let c=null;if(o==null)return c=t(p),Rc[p.id()]=[[t,c]],c;for(let y=0;y<o.length;y++){const[w,R]=o[y];w===t&&(c=R)}return c===null&&(c=t(p),o.push([t,c])),c}function pc(p={},t=[],o,c,y=[],w=!1){const[R,...G]=t;if(typeof R=="string")pc(p,ji[R],o,c,y,w);else if(R){const ue=Lc(c,R);if(!ue.setSource)return y.push(ue),pc(p,G,o,c,y,w);ue.setSource(Object.assign({},p),function(Te,Ke){if(Te)return pc(p,G,o,c,y,w);y.push(ue),pc(Ke,p.type===Ke.type?G:ji[Ke.type],o,c,y,w)})}else G.length?pc(p,G,o,c,y,w):w?o(p,y):pc(p,ji["*"],o,c,y,!0)}const Md={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},Mc=function(p=""){const t=fa(p);return Md[t.toLowerCase()]||""},Gu=(p,t)=>{if(!t)return"";if(p.cache_.source.src===t&&p.cache_.source.type)return p.cache_.source.type;const o=p.cache_.sources.filter(y=>y.src===t);if(o.length)return o[0].type;const c=p.$$("source");for(let y=0;y<c.length;y++){const w=c[y];if(w.type&&w.src&&w.src===t)return w.type}return Mc(t)},Jc=function(p){if(Array.isArray(p)){let t=[];p.forEach(function(o){o=Jc(o),Array.isArray(o)?t=t.concat(o):jo(o)&&t.push(o)}),p=t}else typeof p=="string"&&p.trim()?p=[Sd({src:p})]:jo(p)&&typeof p.src=="string"&&p.src&&p.src.trim()?p=[Sd(p)]:p=[];return p};function Sd(p){if(!p.type){const t=Mc(p.src);t&&(p.type=t)}return p}var xd
vendor: 17,606 bytes, lines 801-943
801=`<svg xmlns="http://www.w3.org/2000/svg"> 802 <defs> 803 <symbol viewBox="0 0 48 48" id="vjs-icon-play"> 804 <path d="M16 10v28l22-14z"></path> 805 </symbol> 806 <symbol viewBox="0 0 48 48" id="vjs-icon-pause"> 807 <path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"></path> 808 </symbol> 809 <symbol viewBox="0 0 48 48" id="vjs-icon-audio"> 810 <path d="M24 2C14.06 2 6 10.06 6 20v14c0 3.31 2.69 6 6 6h6V24h-8v-4c0-7.73 6.27-14 14-14s14 6.27 14 14v4h-8v16h6c3.31 0 6-2.69 6-6V20c0-9.94-8.06-18-18-18z"></path> 811 </symbol> 812 <symbol viewBox="0 0 48 48" id="vjs-icon-captions"> 813 <path d="M38 8H10c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM22 22h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2zm14 0h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2z"></path> 814 </symbol> 815 <symbol viewBox="0 0 48 48" id="vjs-icon-subtitles"> 816 <path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"></path> 817 </symbol> 818 <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-enter"> 819 <path d="M14 28h-4v10h10v-4h-6v-6zm-4-8h4v-6h6v-4H10v10zm24 14h-6v4h10V28h-4v6zm-6-24v4h6v6h4V10H28z"></path> 820 </symbol> 821 <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-exit"> 822 <path d="M10 32h6v6h4V28H10v4zm6-16h-6v4h10V10h-4v6zm12 22h4v-6h6v-4H28v10zm4-22v-6h-4v10h10v-4h-6z"></path> 823 </symbol> 824 <symbol viewBox="0 0 48 48" id="vjs-icon-play-circle"> 825 <path d="M20 33l12-9-12-9v18zm4-29C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path> 826 </symbol> 827 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-mute"> 828 <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13a17.94 17.94 0 0 0 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"></path> 829 </symbol> 830 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-low"> 831 <path d="M14 18v12h8l10 10V8L22 18h-8z"></path> 832 </symbol> 833 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-medium"> 834 <path d="M37 24c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zm-27-6v12h8l10 10V8L18 18h-8z"></path> 835 </symbol> 836 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-high"> 837 <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"></path> 838 </symbol> 839 <symbol viewBox="0 0 48 48" id="vjs-icon-spinner"> 840 <path d="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64 4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77 18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44 24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0 1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99 12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0 9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"></path> 841 </symbol> 842 <symbol viewBox="0 0 24 24" id="vjs-icon-hd"> 843 <path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path> 844 </symbol> 845 <symbol viewBox="0 0 48 48" id="vjs-icon-chapters"> 846 <path d="M6 26h4v-4H6v4zm0 8h4v-4H6v4zm0-16h4v-4H6v4zm8 8h28v-4H14v4zm0 8h28v-4H14v4zm0-20v4h28v-4H14z"></path> 847 </symbol> 848 <symbol viewBox="0 0 40 40" id="vjs-icon-downloading"> 849 <path d="M18.208 36.875q-3.208-.292-5.979-1.729-2.771-1.438-4.812-3.729-2.042-2.292-3.188-5.229-1.146-2.938-1.146-6.23 0-6.583 4.334-11.416 4.333-4.834 10.833-5.5v3.166q-5.167.75-8.583 4.646Q6.25 14.75 6.25 19.958q0 5.209 3.396 9.104 3.396 3.896 8.562 4.646zM20 28.417L11.542 20l2.083-2.083 4.917 4.916v-11.25h2.916v11.25l4.875-4.916L28.417 20zm1.792 8.458v-3.167q1.833-.25 3.541-.958 1.709-.708 3.167-1.875l2.333 2.292q-1.958 1.583-4.25 2.541-2.291.959-4.791 1.167zm6.791-27.792q-1.541-1.125-3.25-1.854-1.708-.729-3.541-1.021V3.042q2.5.25 4.77 1.208 2.271.958 4.271 2.5zm4.584 21.584l-2.25-2.25q1.166-1.5 1.854-3.209.687-1.708.937-3.541h3.209q-.292 2.5-1.229 4.791-.938 2.292-2.521 4.209zm.541-12.417q-.291-1.833-.958-3.562-.667-1.73-1.833-3.188l2.375-2.208q1.541 1.916 2.458 4.208.917 2.292 1.167 4.75z"></path> 850 </symbol> 851 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download"> 852 <path d="M10.8 40.55q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h26.35v-7.7h3.4v7.7q0 1.4-1 2.4t-2.4 1zM24 32.1L13.9 22.05l2.45-2.45 5.95 5.95V7.15h3.4v18.4l5.95-5.95 2.45 2.45z"></path> 853 </symbol> 854 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-done"> 855 <path d="M9.8 40.5v-3.45h28.4v3.45zm9.2-9.05L7.4 19.85l2.45-2.35L19 26.65l19.2-19.2 2.4 2.4z"></path> 856 </symbol> 857 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-off"> 858 <path d="M4.9 4.75L43.25 43.1 41 45.3l-4.75-4.75q-.05.05-.075.025-.025-.025-.075-.025H10.8q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h22.05l-7-7-1.85 1.8L13.9 21.9l1.85-1.85L2.7 7zm26.75 14.7l2.45 2.45-3.75 3.8-2.45-2.5zM25.7 7.15V21.1l-3.4-3.45V7.15z"></path> 859 </symbol> 860 <symbol viewBox="0 0 48 48" id="vjs-icon-share"> 861 <path d="M36 32.17c-1.52 0-2.89.59-3.93 1.54L17.82 25.4c.11-.45.18-.92.18-1.4s-.07-.95-.18-1.4l14.1-8.23c1.07 1 2.5 1.62 4.08 1.62 3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6c0 .48.07.95.18 1.4l-14.1 8.23c-1.07-1-2.5-1.62-4.08-1.62-3.31 0-6 2.69-6 6s2.69 6 6 6c1.58 0 3.01-.62 4.08-1.62l14.25 8.31c-.1.42-.16.86-.16 1.31A5.83 5.83 0 1 0 36 32.17z"></path> 862 </symbol> 863 <symbol viewBox="0 0 48 48" id="vjs-icon-cog"> 864 <path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3a14.8 14.8 0 0 0-3.38 1.97L9.9 10.1a1 1 0 0 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3a14.8 14.8 0 0 0 3.38-1.97l4.98 2.01a1 1 0 0 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path> 865 </symbol> 866 <symbol viewBox="0 0 48 48" id="vjs-icon-square"> 867 <path d="M36 8H12c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zm0 28H12V12h24v24z"></path> 868 </symbol> 869 <symbol viewBox="0 0 48 48" id="vjs-icon-circle"> 870 <circle cx="24" cy="24" r="20"></circle> 871 </symbol> 872 <symbol viewBox="0 0 48 48" id="vjs-icon-circle-outline"> 873 <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path> 874 </symbol> 875 <symbol viewBox="0 0 48 48" id="vjs-icon-circle-inner-circle"> 876 <path d="M24 4C12.97 4 4 12.97 4 24s8.97 20 20 20 20-8.97 20-20S35.03 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm6-16c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6 6 2.69 6 6z"></path> 877 </symbol> 878 <symbol viewBox="0 0 48 48" id="vjs-icon-cancel"> 879 <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 27.17L31.17 34 24 26.83 16.83 34 14 31.17 21.17 24 14 16.83 16.83 14 24 21.17 31.17 14 34 16.83 26.83 24 34 31.17z"></path> 880 </symbol> 881 <symbol viewBox="0 0 48 48" id="vjs-icon-replay"> 882 <path d="M24 10V2L14 12l10 10v-8c6.63 0 12 5.37 12 12s-5.37 12-12 12-12-5.37-12-12H8c0 8.84 7.16 16 16 16s16-7.16 16-16-7.16-16-16-16z"></path> 883 </symbol> 884 <symbol viewBox="0 0 48 48" id="vjs-icon-repeat"> 885 <path d="M14 14h20v6l8-8-8-8v6H10v12h4v-8zm20 20H14v-6l-8 8 8 8v-6h24V26h-4v8z"></path> 886 </symbol> 887 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-5"> 888 <path d="M17.689 98l-8.697 8.696 8.697 8.697 2.486-2.485-4.32-4.319h1.302c4.93 0 9.071 1.722 12.424 5.165 3.352 3.443 5.029 7.638 5.029 12.584h3.55c0-2.958-.553-5.73-1.658-8.313-1.104-2.583-2.622-4.841-4.555-6.774-1.932-1.932-4.19-3.45-6.773-4.555-2.584-1.104-5.355-1.657-8.313-1.657H15.5l4.615-4.615zm-8.08 21.659v13.861h11.357v5.008H9.609V143h12.7c.834 0 1.55-.298 2.146-.894.596-.597.895-1.31.895-2.145v-7.781c0-.835-.299-1.55-.895-2.147a2.929 2.929 0 0 0-2.147-.894h-8.227v-5.096H25.35v-4.384z"></path> 889 </symbol> 890 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-10"> 891 <path d="M42.315 125.63c0-4.997-1.694-9.235-5.08-12.713-3.388-3.479-7.571-5.218-12.552-5.218h-1.315l4.363 4.363-2.51 2.51-8.787-8.786L25.221 97l2.45 2.45-4.662 4.663h1.375c2.988 0 5.788.557 8.397 1.673 2.61 1.116 4.892 2.65 6.844 4.602 1.953 1.953 3.487 4.234 4.602 6.844 1.116 2.61 1.674 5.41 1.674 8.398zM8.183 142v-19.657H3.176V117.8h9.643V142zm13.63 0c-1.156 0-2.127-.393-2.912-1.178-.778-.778-1.168-1.746-1.168-2.902v-16.04c0-1.156.393-2.127 1.178-2.912.779-.779 1.746-1.168 2.902-1.168h7.696c1.156 0 2.126.392 2.911 1.177.779.78 1.168 1.747 1.168 2.903v16.04c0 1.156-.392 2.127-1.177 2.912-.779.779-1.746 1.168-2.902 1.168zm.556-4.636h6.583v-15.02H22.37z"></path> 892 </symbol> 893 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-30"> 894 <path d="M26.047 97l-8.733 8.732 8.733 8.733 2.496-2.494-4.336-4.338h1.307c4.95 0 9.108 1.73 12.474 5.187 3.367 3.458 5.051 7.668 5.051 12.635h3.565c0-2.97-.556-5.751-1.665-8.346-1.109-2.594-2.633-4.862-4.574-6.802-1.94-1.941-4.208-3.466-6.803-4.575-2.594-1.109-5.375-1.664-8.345-1.664H23.85l4.634-4.634zM2.555 117.531v4.688h10.297v5.25H5.873v4.687h6.979v5.156H2.555V142H13.36c1.061 0 1.95-.395 2.668-1.186.718-.79 1.076-1.772 1.076-2.94v-16.218c0-1.168-.358-2.149-1.076-2.94-.717-.79-1.607-1.185-2.668-1.185zm22.482.14c-1.149 0-2.11.39-2.885 1.165-.78.78-1.172 1.744-1.172 2.893v15.943c0 1.149.388 2.11 1.163 2.885.78.78 1.745 1.172 2.894 1.172h7.649c1.148 0 2.11-.388 2.884-1.163.78-.78 1.17-1.745 1.17-2.894v-15.943c0-1.15-.386-2.111-1.16-2.885-.78-.78-1.746-1.172-2.894-1.172zm.553 4.518h6.545v14.93H25.59z"></path> 895 </symbol> 896 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-5"> 897 <path d="M29.508 97l-2.431 2.43 4.625 4.625h-1.364c-2.965 0-5.742.554-8.332 1.66-2.589 1.107-4.851 2.629-6.788 4.566-1.937 1.937-3.458 4.2-4.565 6.788-1.107 2.59-1.66 5.367-1.66 8.331h3.557c0-4.957 1.68-9.16 5.04-12.611 3.36-3.45 7.51-5.177 12.451-5.177h1.304l-4.326 4.33 2.49 2.49 8.715-8.716zm-9.783 21.61v13.89h11.382v5.018H19.725V142h12.727a2.93 2.93 0 0 0 2.15-.896 2.93 2.93 0 0 0 .896-2.15v-7.798c0-.837-.299-1.554-.896-2.152a2.93 2.93 0 0 0-2.15-.896h-8.245V123h11.29v-4.392z"></path> 898 </symbol> 899 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-10"> 900 <path d="M23.119 97l-2.386 2.383 4.538 4.538h-1.339c-2.908 0-5.633.543-8.173 1.63-2.54 1.085-4.76 2.577-6.66 4.478-1.9 1.9-3.392 4.12-4.478 6.66-1.085 2.54-1.629 5.264-1.629 8.172h3.49c0-4.863 1.648-8.986 4.944-12.372 3.297-3.385 7.368-5.078 12.216-5.078h1.279l-4.245 4.247 2.443 2.442 8.55-8.55zm-9.52 21.45v4.42h4.871V142h4.513v-23.55zm18.136 0c-1.125 0-2.066.377-2.824 1.135-.764.764-1.148 1.709-1.148 2.834v15.612c0 1.124.38 2.066 1.139 2.824.764.764 1.708 1.145 2.833 1.145h7.489c1.125 0 2.066-.378 2.824-1.136.764-.764 1.145-1.709 1.145-2.833v-15.612c0-1.125-.378-2.067-1.136-2.825-.764-.764-1.708-1.145-2.833-1.145zm.54 4.42h6.408v14.617h-6.407z"></path> 901 </symbol> 902 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-30"> 903 <path d="M25.549 97l-2.437 2.434 4.634 4.635H26.38c-2.97 0-5.753.555-8.347 1.664-2.594 1.109-4.861 2.633-6.802 4.574-1.94 1.94-3.465 4.207-4.574 6.802-1.109 2.594-1.664 5.377-1.664 8.347h3.565c0-4.967 1.683-9.178 5.05-12.636 3.366-3.458 7.525-5.187 12.475-5.187h1.307l-4.335 4.338 2.495 2.494 8.732-8.732zm-11.553 20.53v4.689h10.297v5.249h-6.978v4.688h6.978v5.156H13.996V142h10.808c1.06 0 1.948-.395 2.666-1.186.718-.79 1.077-1.771 1.077-2.94v-16.217c0-1.169-.36-2.15-1.077-2.94-.718-.79-1.605-1.186-2.666-1.186zm21.174.168c-1.149 0-2.11.389-2.884 1.163-.78.78-1.172 1.745-1.172 2.894v15.942c0 1.15.388 2.11 1.162 2.885.78.78 1.745 1.17 2.894 1.17h7.649c1.149 0 2.11-.386 2.885-1.16.78-.78 1.17-1.746 1.17-2.895v-15.942c0-1.15-.387-2.11-1.161-2.885-.78-.78-1.745-1.172-2.894-1.172zm.552 4.516h6.542v14.931h-6.542z"></path> 904 </symbol> 905 <symbol viewBox="0 0 512 512" id="vjs-icon-audio-description"> 906 <g fill-rule="evenodd"><path d="M227.29 381.351V162.993c50.38-1.017 89.108-3.028 117.631 17.126 27.374 19.342 48.734 56.965 44.89 105.325-4.067 51.155-41.335 94.139-89.776 98.475-24.085 2.155-71.972 0-71.972 0s-.84-1.352-.773-2.568m48.755-54.804c31.43 1.26 53.208-16.633 56.495-45.386 4.403-38.51-21.188-63.552-58.041-60.796v103.612c-.036 1.466.575 2.22 1.546 2.57"></path><path d="M383.78 381.328c13.336 3.71 17.387-11.06 23.215-21.408 12.722-22.571 22.294-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.226 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M425.154 381.328c13.336 3.71 17.384-11.061 23.215-21.408 12.721-22.571 22.291-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.511c-.586 3.874 2.226 7.315 3.866 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M466.26 381.328c13.337 3.71 17.385-11.061 23.216-21.408 12.722-22.571 22.292-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.225 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894M4.477 383.005H72.58l18.573-28.484 64.169-.135s.065 19.413.065 28.62h48.756V160.307h-58.816c-5.653 9.537-140.85 222.697-140.85 222.697zm152.667-145.282v71.158l-40.453-.27 40.453-70.888z"></path></g> 907 </symbol> 908 <symbol viewBox="0 0 48 48" id="vjs-icon-next-item"> 909 <path d="M12 36l17-12-17-12v24zm20-24v24h4V12h-4z"></path> 910 </symbol> 911 <symbol viewBox="0 0 48 48" id="vjs-icon-previous-item"> 912 <path d="M12 12h4v24h-4zm7 12l17 12V12z"></path> 913 </symbol> 914 <symbol viewBox="0 0 48 48" id="vjs-icon-shuffle"> 915 <path d="M21.17 18.34L10.83 8 8 10.83l10.34 10.34 2.83-2.83zM29 8l4.09 4.09L8 37.17 10.83 40l25.09-25.09L40 19V8H29zm.66 18.83l-2.83 2.83 6.26 6.26L29 40h11V29l-4.09 4.09-6.25-6.26z"></path> 916 </symbol> 917 <symbol viewBox="0 0 48 48" id="vjs-icon-cast"> 918 <path d="M42 6H6c-2.21 0-4 1.79-4 4v6h4v-6h36v28H28v4h14c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zM2 36v6h6c0-3.31-2.69-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.73-6.27-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.15-9.85-22-22-22z"></path> 919 </symbol> 920 <symbol viewBox="0 0 48 48" id="vjs-icon-picture-in-picture-enter"> 921 <path d="M38 22H22v11.99h16V22zm8 16V9.96C46 7.76 44.2 6 42 6H6C3.8 6 2 7.76 2 9.96V38c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4zm-4 .04H6V9.94h36v28.1z"></path> 922 </symbol> 923 <symbol viewBox="0 0 22 18" id="vjs-icon-picture-in-picture-exit"> 924 <path d="M18 4H4v10h14V4zm4 12V1.98C22 .88 21.1 0 20 0H2C.9 0 0 .88 0 1.98V16c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H2V1.97h18v14.05z"></path> 925 <path fill="none" d="M-1-3h24v24H-1z"></path> 926 </symbol> 927 <symbol viewBox="0 0 1792 1792" id="vjs-icon-facebook"> 928 <path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"></path> 929 </symbol> 930 <symbol viewBox="0 0 1792 1792" id="vjs-icon-linkedin"> 931 <path d="M477 625v991H147V625h330zm21-306q1 73-50.5 122T312 490h-2q-82 0-132-49t-50-122q0-74 51.5-122.5T314 148t133 48.5T498 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1168 862q-63 0-105.5 34.5T999 982q-11 30-11 81v553H659q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1285 602q171 0 275 113.5t104 332.5z"></path> 932 </symbol> 933 <symbol viewBox="0 0 1200 1227" id="vjs-icon-twitter"> 934 <path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/> 935 </symbol> 936 <symbol viewBox="0 0 1792 1792" id="vjs-icon-tumblr"> 937 <path d="M1328 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T787 1564t-95-106-55.5-120-16.5-118V676H452V461q72-26 129-69.5t91-90 58-102 34-99T779 12q1-5 4.5-8.5T791 0h244v424h333v252h-334v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z"></path> 938 </symbol> 939 <symbol viewBox="0 0 1792 1792" id="vjs-icon-pinterest"> 940 <path d="M1664 896q0 209-103 385.5T1281.5 1561 896 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1180 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T377 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T904 517q151 0 235.5 82t84.5 213q0 170-68.5 289T980 1220q-61 0-98-43.5T859 1072q8-35 26.5-93.5t30-103T927 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T128 896q0-209 103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z"></path> 941 </symbol> 942 </defs> 943</svg>`
vendor: 9,484 bytes, line 943
943;const rc=vs?10009:Ps?461:8,nc={codes:{play:415,pause:19,ff:417,rw:412,back:rc},names:{415:"play",19:"pause",417:"ff",412:"rw",[rc]:"back"},isEventKey(p,t){return t=t.toLowerCase(),!!(this.names[p.keyCode]&&this.names[p.keyCode]===t)},getEventName(p){if(this.names[p.keyCode])return this.names[p.keyCode];if(this.codes[p.code]){const t=this.codes[p.code];return this.names[t]}return null}},Pu=5;class Ol extends Ou{constructor(t){super(),this.player_=t,this.focusableComponents=[],this.isListening_=!1,this.isPaused_=!1,this.onKeyDown_=this.onKeyDown_.bind(this),this.lastFocusedComponent_=null}start(){this.isListening_||(this.player_.on("keydown",this.onKeyDown_),this.player_.on("modalKeydown",this.onKeyDown_),this.player_.on("loadedmetadata",()=>{this.focus(this.updateFocusableComponents()[0])}),this.player_.on("modalclose",()=>{this.refocusComponent()}),this.player_.on("focusin",this.handlePlayerFocus_.bind(this)),this.player_.on("focusout",this.handlePlayerBlur_.bind(this)),this.isListening_=!0,this.player_.errorDisplay&&this.player_.errorDisplay.on("aftermodalfill",()=>{this.updateFocusableComponents(),this.focusableComponents.length&&(this.focusableComponents.length>1?this.focusableComponents[1].focus():this.focusableComponents[0].focus())}))}stop(){this.player_.off("keydown",this.onKeyDown_),this.isListening_=!1}onKeyDown_(t){const o=t.originalEvent?t.originalEvent:t;if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(o.key)){if(this.isPaused_)return;o.preventDefault();const c=o.key.substring(5).toLowerCase();this.move(c)}else if(nc.isEventKey(o,"play")||nc.isEventKey(o,"pause")||nc.isEventKey(o,"ff")||nc.isEventKey(o,"rw")){o.preventDefault();const c=nc.getEventName(o);this.performMediaAction_(c)}else nc.isEventKey(o,"Back")&&t.target&&typeof t.target.closeable=="function"&&t.target.closeable()&&(o.preventDefault(),t.target.close())}performMediaAction_(t){if(this.player_)switch(t){case"play":this.player_.paused()&&this.player_.play();break;case"pause":this.player_.paused()||this.player_.pause();break;case"ff":this.userSeek_(this.player_.currentTime()+Pu);break;case"rw":this.userSeek_(this.player_.currentTime()-Pu);break}}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}pause(){this.isPaused_=!0}resume(){this.isPaused_=!1}handlePlayerBlur_(t){const o=t.relatedTarget;let c=null;const y=this.getCurrentComponent(t.target);o&&(c=!!o.closest(".video-js"),o.classList.contains("vjs-text-track-settings")&&!this.isPaused_&&this.searchForTrackSelect_()),(!t.currentTarget.contains(t.relatedTarget)&&!c||!o)&&(y&&y.name()==="CloseButton"?this.refocusComponent():(this.pause(),y&&y.el()&&(this.lastFocusedComponent_=y)))}handlePlayerFocus_(){this.getCurrentComponent()&&this.getCurrentComponent().getIsFocusable()&&this.resume()}updateFocusableComponents(){const t=this.player_,o=[];function c(y){for(const w of y)w.hasOwnProperty("el_")&&w.getIsFocusable()&&w.getIsAvailableToBeFocused(w.el())&&o.push(w),w.hasOwnProperty("children_")&&w.children_.length>0&&c(w.children_)}return t.children_.forEach(y=>{if(y.hasOwnProperty("el_"))if(y.getIsFocusable&&y.getIsAvailableToBeFocused&&y.getIsFocusable()&&y.getIsAvailableToBeFocused(y.el())){o.push(y);return}else y.hasOwnProperty("children_")&&y.children_.length>0?c(y.children_):y.hasOwnProperty("items")&&y.items.length>0?c(y.items):this.findSuitableDOMChild(y)&&o.push(y);if(y.name_==="ErrorDisplay"&&y.opened_){const w=y.el_.querySelector(".vjs-errors-ok-button-container");w&&w.querySelectorAll("button").forEach((G,ue)=>{o.push({name:()=>"ModalButton"+(ue+1),el:()=>G,getPositions:()=>{const Te=G.getBoundingClientRect(),Ke={x:Te.x,y:Te.y,width:Te.width,height:Te.height,top:Te.top,right:Te.right,bottom:Te.bottom,left:Te.left},St={x:Te.left+Te.width/2,y:Te.top+Te.height/2,width:0,height:0,top:Te.top+Te.height/2,right:Te.left+Te.width/2,bottom:Te.top+Te.height/2,left:Te.left+Te.width/2};return{boundingClientRect:Ke,center:St}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:Te=>!0,focus:()=>G.focus()})})}}),this.focusableComponents=o,this.focusableComponents}findSuitableDOMChild(t){function o(c){if(t.getIsFocusable(c)&&t.getIsAvailableToBeFocused(c))return c;for(let y=0;y<c.children.length;y++){const w=c.children[y],R=o(w);if(R)return R}return null}return t.el()?o(t.el()):null}getCurrentComponent(t){this.updateFocusableComponents();const o=t||document.activeElement;if(this.focusableComponents.length){for(const c of this.focusableComponents)if(c.el()===o)return c}}add(t){const o=[...this.focusableComponents];t.hasOwnProperty("el_")&&t.getIsFocusable()&&t.getIsAvailableToBeFocused(t.el())&&o.push(t),this.focusableComponents=o,this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents})}remove(t){for(let o=0;o<this.focusableComponents.length;o++)if(this.focusableComponents[o].name()===t.name()){this.focusableComponents.splice(o,1),this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents});return}}clear(){this.focusableComponents.length>0&&(this.focusableComponents=[],this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents}))}move(t){const o=this.getCurrentComponent();if(!o)return;const c=o.getPositions(),y=this.focusableComponents.filter(R=>R!==o&&this.isInDirection_(c.boundingClientRect,R.getPositions().boundingClientRect,t)),w=this.findBestCandidate_(c.center,y,t);w?this.focus(w):this.trigger({type:"endOfFocusableComponents",direction:t,focusedComponent:o})}findBestCandidate_(t,o,c){let y=1/0,w=null;for(const R of o){const G=R.getPositions().center,ue=this.calculateDistance_(t,G,c);ue<y&&(y=ue,w=R)}return w}isInDirection_(t,o,c){switch(c){case"right":return o.left>=t.right;case"left":return o.right<=t.left;case"down":return o.top>=t.bottom;case"up":return o.bottom<=t.top;default:return!1}}refocusComponent(){if(this.lastFocusedComponent_){this.player_.userActive()||this.player_.userActive(!0),this.updateFocusableComponents();for(let t=0;t<this.focusableComponents.length;t++)if(this.focusableComponents[t].name()===this.lastFocusedComponent_.name()){this.focus(this.focusableComponents[t]);return}}else this.focus(this.updateFocusableComponents()[0])}focus(t){typeof t=="object"&&(t.getIsAvailableToBeFocused(t.el())?t.focus():this.findSuitableDOMChild(t)&&this.findSuitableDOMChild(t).focus())}calculateDistance_(t,o,c){const y=Math.abs(t.x-o.x),w=Math.abs(t.y-o.y);let R;switch(c){case"right":case"left":R=y+w*100;break;case"up":R=w*2+y*.5;break;case"down":R=w*5+y;break;default:R=y+w}return R}searchForTrackSelect_(){const t=this;for(const o of t.updateFocusableComponents())if(o.constructor.name==="TextTrackSelect"){t.focus(o);break}}}class Po extends In{constructor(t,o,c){const y=wa({createEl:!1},o);if(super(t,y,c),!o.playerOptions.sources||o.playerOptions.sources.length===0)for(let w=0,R=o.playerOptions.techOrder;w<R.length;w++){const G=eo(R[w]);let ue=ea.getTech(G);if(G||(ue=In.getComponent(G)),ue&&ue.isSupported()){t.loadTech_(G);break}}else t.src(o.playerOptions.sources)}}In.registerComponent("MediaLoader",Po);class mc extends In{constructor(t,o){super(t,o),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=c=>this.handleMouseOver(c),this.handleMouseOut_=c=>this.handleMouseOut(c),this.handleClick_=c=>this.handleClick(c),this.handleKeyDown_=c=>this.handleKeyDown(c),this.emitTapEvents(),this.enable()}createEl(t="div",o={},c={}){o=Object.assign({className:this.buildCSSClass(),tabIndex:0},o),t==="button"&&pi.error(`Creating a ClickableComponent with an HTML element of ${t} is not supported; use a Button instead.`),c=Object.assign({role:"button"},c),this.tabIndex_=o.tabIndex;const y=Bs(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Bs("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(t){return this.controlTextEl_=Bs("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_}controlText(t,o=this.el()){if(t===void 0)return this.controlText_||"Need Text";const c=this.localize(t);this.controlText_=t,rl(this.controlTextEl_,c),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&o.setAttribute("title",c)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(t){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(t){t.key===" "||t.key==="Enter"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}In.registerComponent("ClickableComponent",mc);
vendor: 34,172 bytes, line 943
943class Zc extends mc{constructor(t,o){super(t,o),this.update(),this.update_=c=>this.update(c),t.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return Bs("div",{className:"vjs-poster"})}crossOrigin(t){if(typeof t>"u")return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){this.player_.log.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.$("img")&&(this.$("img").crossOrigin=t)}update(t){const o=this.player().poster();this.setSrc(o),o?this.show():this.hide()}setSrc(t){if(!t){this.el_.textContent="";return}this.$("img")||this.el_.appendChild(Bs("picture",{className:"vjs-poster",tabIndex:-1},{},Bs("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=t}handleClick(t){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?ll(this.player_.play()):this.player_.pause())}}Zc.prototype.crossorigin=Zc.prototype.crossOrigin,In.registerComponent("PosterImage",Zc);const gu="#222",Ed="#ccc",af={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function kd(p,t){let o;if(p.length===4)o=p[1]+p[1]+p[2]+p[2]+p[3]+p[3];else if(p.length===7)o=p.slice(1);else throw new Error("Invalid color code provided, "+p+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(o.slice(0,2),16)+","+parseInt(o.slice(2,4),16)+","+parseInt(o.slice(4,6),16)+","+t+")"}function Il(p,t,o){try{p.style[t]=o}catch{return}}function jl(p){return p?`${p}px`:""}class Nd extends In{constructor(t,o,c){super(t,o,c);const y=R=>this.updateDisplay(R),w=R=>{this.updateDisplayOverlay(),this.updateDisplay(R)};t.on("loadstart",R=>this.toggleDisplay(R)),t.on("useractive",y),t.on("userinactive",y),t.on("texttrackchange",y),t.on("loadedmetadata",R=>{this.updateDisplayOverlay(),this.preselectTrack(R)}),t.ready(Na(this,function(){if(t.tech_&&t.tech_.featuresNativeTextTracks){this.hide();return}t.on("fullscreenchange",w),t.on("playerresize",w);const R=P().screen.orientation||P(),G=P().screen.orientation?"change":"orientationchange";R.addEventListener(G,w),t.on("dispose",()=>R.removeEventListener(G,w));const ue=this.options_.playerOptions.tracks||[];for(let Te=0;Te<ue.length;Te++)this.player_.addRemoteTextTrack(ue[Te],!0);this.preselectTrack()}))}preselectTrack(){const t={captions:1,subtitles:1},o=this.player_.textTracks(),c=this.player_.cache_.selectedLanguage;let y,w,R;for(let G=0;G<o.length;G++){const ue=o[G];c&&c.enabled&&c.language&&c.language===ue.language&&ue.kind in t?ue.kind===c.kind?R=ue:R||(R=ue):c&&!c.enabled?(R=null,y=null,w=null):ue.default&&(ue.kind==="descriptions"&&!y?y=ue:ue.kind in t&&!w&&(w=ue))}R?R.mode="showing":w?w.mode="showing":y&&(y.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){typeof P().WebVTT=="function"&&P().WebVTT.processCues(P(),[],this.el_)}updateDisplay(){const t=this.player_.textTracks(),o=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),o){const R=[];for(let G=0;G<t.length;++G){const ue=t[G];ue.mode==="showing"&&R.push(ue)}this.updateForTrack(R);return}let c=null,y=null,w=t.length;for(;w--;){const R=t[w];R.mode==="showing"&&(R.kind==="descriptions"?c=R:y=R)}if(y?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(y)):c&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(c)),!(P().CSS!==void 0&&P().CSS.supports("inset","10px"))){const R=this.el_,G=R.querySelectorAll(".vjs-text-track-cue"),ue=this.player_.controlBar.el_.getBoundingClientRect().height,Te=this.player_.el_.getBoundingClientRect().height;R.style="",Il(R,"position","relative"),Il(R,"height",Te-ue+"px"),Il(R,"top","unset"),Ia?Il(R,"bottom",Te+"px"):Il(R,"bottom","0px"),G.length>0&&G.forEach(Ke=>{if(Ke.style.inset){const St=Ke.style.inset.split(" ");St.length===3&&Object.assign(Ke.style,{top:St[0],right:St[1],bottom:St[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!(P().CSS!==void 0&&P().CSS.supports("inset-inline: 10px")))return;const t=this.player_.currentWidth(),o=this.player_.currentHeight(),c=t/o,y=this.player_.videoWidth()/this.player_.videoHeight();let w=0,R=0;Math.abs(c-y)>.1&&(c>y?w=Math.round((t-o*y)/2):R=Math.round((o-t/y)/2)),Il(this.el_,"insetInline",jl(w)),Il(this.el_,"insetBlock",jl(R))}updateDisplayState(t){const o=this.player_.textTrackSettings.getValues(),c=t.activeCues;let y=c.length;for(;y--;){const w=c[y];if(!w)continue;const R=w.displayState;if(o.color&&(R.firstChild.style.color=o.color),o.textOpacity&&Il(R.firstChild,"color",kd(o.color||"#fff",o.textOpacity)),o.backgroundColor&&(R.firstChild.style.backgroundColor=o.backgroundColor),o.backgroundOpacity&&Il(R.firstChild,"backgroundColor",kd(o.backgroundColor||"#000",o.backgroundOpacity)),o.windowColor&&(o.windowOpacity?Il(R,"backgroundColor",kd(o.windowColor,o.windowOpacity)):R.style.backgroundColor=o.windowColor),o.edgeStyle&&(o.edgeStyle==="dropshadow"?R.firstChild.style.textShadow=`2px 2px 3px ${gu}, 2px 2px 4px ${gu}, 2px 2px 5px ${gu}`:o.edgeStyle==="raised"?R.firstChild.style.textShadow=`1px 1px ${gu}, 2px 2px ${gu}, 3px 3px ${gu}`:o.edgeStyle==="depressed"?R.firstChild.style.textShadow=`1px 1px ${Ed}, 0 1px ${Ed}, -1px -1px ${gu}, 0 -1px ${gu}`:o.edgeStyle==="uniform"&&(R.firstChild.style.textShadow=`0 0 4px ${gu}, 0 0 4px ${gu}, 0 0 4px ${gu}, 0 0 4px ${gu}`)),o.fontPercent&&o.fontPercent!==1){const G=P().parseFloat(R.style.fontSize);R.style.fontSize=G*o.fontPercent+"px",R.style.height="auto",R.style.top="auto"}o.fontFamily&&o.fontFamily!=="default"&&(o.fontFamily==="small-caps"?R.firstChild.style.fontVariant="small-caps":R.firstChild.style.fontFamily=af[o.fontFamily])}}updateForTrack(t){if(Array.isArray(t)||(t=[t]),typeof P().WebVTT!="function"||t.every(c=>!c.activeCues))return;const o=[];for(let c=0;c<t.length;++c){const y=t[c];for(let w=0;w<y.activeCues.length;++w)o.push(y.activeCues[w])}P().WebVTT.processCues(P(),o,this.el_);for(let c=0;c<t.length;++c){const y=t[c];for(let w=0;w<y.activeCues.length;++w){const R=y.activeCues[w].displayState;nl(R,"vjs-text-track-cue","vjs-text-track-cue-"+(y.language?y.language:c)),y.language&&Go(R,"lang",y.language)}this.player_.textTrackSettings&&this.updateDisplayState(y)}}}In.registerComponent("TextTrackDisplay",Nd);class Ku extends In{createEl(){const t=this.player_.isAudio(),o=this.localize(t?"Audio Player":"Video Player"),c=Bs("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[o])}),y=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return y.appendChild(c),y}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}}In.registerComponent("LoadingSpinner",Ku);class po extends mc{createEl(t,o={},c={}){t="button",o=Object.assign({className:this.buildCSSClass()},o),c=Object.assign({type:"button"},c);const y=Bs(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Bs("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}addChild(t,o={}){const c=this.constructor.name;return pi.warn(`Adding an actionable (user controllable) child to a Button (${c}) is not supported; use a ClickableComponent instead.`),In.prototype.addChild.call(this,t,o)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(t){if(t.key===" "||t.key==="Enter"){t.stopPropagation();return}super.handleKeyDown(t)}}In.registerComponent("Button",po);class Of extends po{constructor(t,o){super(t,o),this.mouseused_=!1,this.setIcon("play"),this.on("mousedown",c=>this.handleMouseDown(c))}buildCSSClass(){return"vjs-big-play-button"}handleClick(t){const o=this.player_.play();if(t.type==="tap"||this.mouseused_&&"clientX"in t&&"clientY"in t){ll(o),this.player_.tech(!0)&&this.player_.tech(!0).focus();return}const c=this.player_.getChild("controlBar"),y=c&&c.getChild("playToggle");if(!y){this.player_.tech(!0).focus();return}const w=()=>y.focus();El(o)?o.then(w,()=>{}):this.setTimeout(w,1)}handleKeyDown(t){this.mouseused_=!1,super.handleKeyDown(t)}handleMouseDown(t){this.mouseused_=!0}}Of.prototype.controlText_="Play Video",In.registerComponent("BigPlayButton",Of);class of extends po{constructor(t,o){super(t,o),this.setIcon("cancel"),this.controlText(o&&o.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(t){this.trigger({type:"close",bubbles:!1})}handleKeyDown(t){t.key==="Escape"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}In.registerComponent("CloseButton",of);class vu extends po{constructor(t,o={}){super(t,o),o.replay=o.replay===void 0||o.replay,this.setIcon("play"),this.on(t,"play",c=>this.handlePlay(c)),this.on(t,"pause",c=>this.handlePause(c)),o.replay&&this.on(t,"ended",c=>this.handleEnded(c))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(t){this.player_.paused()?ll(this.player_.play()):this.player_.pause()}handleSeeked(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)}handlePlay(t){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.setIcon("pause"),this.controlText("Pause")}handlePause(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.setIcon("play"),this.controlText("Play")}handleEnded(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.setIcon("replay"),this.controlText("Replay"),this.one(this.player_,"seeked",o=>this.handleSeeked(o))}}vu.prototype.controlText_="Play",In.registerComponent("PlayToggle",vu);class Yu extends In{constructor(t,o){super(t,o),this.on(t,["timeupdate","ended","seeking"],c=>this.update(c)),this.updateTextNode_()}createEl(){const t=this.buildCSSClass(),o=super.createEl("div",{className:`${t} vjs-time-control vjs-control`}),c=Bs("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)}\xA0`},{role:"presentation"});return o.appendChild(c),this.contentEl_=Bs("span",{className:`${t}-display`},{role:"presentation"}),o.appendChild(this.contentEl_),o}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}update(t){!this.player_.options_.enableSmoothSeeking&&t.type==="seeking"||this.updateContent(t)}updateTextNode_(t=0){t=Vu(t),this.formattedTime_!==t&&(this.formattedTime_=t,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",()=>{if(!this.contentEl_)return;let o=this.textNode_;o&&this.contentEl_.firstChild!==o&&(o=null,pi.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=D().createTextNode(this.formattedTime_),this.textNode_&&(o?this.contentEl_.replaceChild(this.textNode_,o):this.contentEl_.appendChild(this.textNode_))}))}updateContent(t){}}Yu.prototype.labelText_="Time",Yu.prototype.controlText_="Time",In.registerComponent("TimeDisplay",Yu);class uf extends Yu{buildCSSClass(){return"vjs-current-time"}updateContent(t){let o;this.player_.ended()?o=this.player_.duration():t&&t.target&&typeof t.target.pendingSeekTime=="function"&&t.target.pendingSeekTime()!==null?o=t.target.pendingSeekTime():o=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(o)}}uf.prototype.labelText_="Current Time",uf.prototype.controlText_="Current Time",In.registerComponent("CurrentTimeDisplay",uf);class Xu extends Yu{constructor(t,o){super(t,o);const c=y=>this.updateContent(y);this.on(t,"durationchange",c),this.on(t,"loadstart",c),this.on(t,"loadedmetadata",c)}buildCSSClass(){return"vjs-duration"}updateContent(t){const o=this.player_.duration();this.updateTextNode_(o)}}Xu.prototype.labelText_="Duration",Xu.prototype.controlText_="Duration",In.registerComponent("DurationDisplay",Xu);class zl extends In{createEl(){const t=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),o=super.createEl("div"),c=super.createEl("span",{textContent:"/"});return o.appendChild(c),t.appendChild(o),t}}In.registerComponent("TimeDivider",zl);class ic extends Yu{constructor(t,o){super(t,o),this.on(t,"durationchange",c=>this.updateContent(c))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const t=super.createEl();return this.options_.displayNegative!==!1&&t.insertBefore(Bs("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t}updateContent(t){if(typeof this.player_.duration()!="number")return;let o;this.player_.ended()?o=0:this.player_.remainingTimeDisplay?o=this.player_.remainingTimeDisplay():o=this.player_.remainingTime(),this.updateTextNode_(o)}}ic.prototype.labelText_="Remaining Time",ic.prototype.controlText_="Remaining Time",In.registerComponent("RemainingTimeDisplay",ic);class $l extends In{constructor(t,o){super(t,o),this.updateShowing(),this.on(this.player(),"durationchange",c=>this.updateShowing(c))}createEl(){const t=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Bs("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Bs("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")}\xA0`})),this.contentEl_.appendChild(D().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,super.dispose()}updateShowing(t){this.player().duration()===1/0?this.show():this.hide()}}In.registerComponent("LiveDisplay",$l);class gc extends po{constructor(t,o){super(t,o),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=c=>this.updateLiveEdgeStatus(c),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const t=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.setIcon("circle",t),this.textEl_=Bs("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}gc.prototype.controlText_="Seek to live, currently playing live",In.registerComponent("SeekToLive",gc);function Fd(p,t,o){return p=Number(p),Math.min(o,Math.max(t,isNaN(p)?t:p))}var If=Object.freeze({__proto__:null,clamp:Fd});class lo extends In{constructor(t,o){super(t,o),this.handleMouseDown_=c=>this.handleMouseDown(c),this.handleMouseUp_=c=>this.handleMouseUp(c),this.handleKeyDown_=c=>this.handleKeyDown(c),this.handleClick_=c=>this.handleClick(c),this.handleMouseMove_=c=>this.handleMouseMove(c),this.update_=c=>this.update(c),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(t,o={},c={}){return o.className=o.className+" vjs-slider",o=Object.assign({tabIndex:0},o),c=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},c),super.createEl(t,o,c)}handleMouseDown(t){const o=this.bar.el_.ownerDocument;t.type==="mousedown"&&t.preventDefault(),t.type==="touchstart"&&!oo&&t.preventDefault(),Cc(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(o,"mousemove",this.handleMouseMove_),this.on(o,"mouseup",this.handleMouseUp_),this.on(o,"touchmove",this.handleMouseMove_),this.on(o,"touchend",this.handleMouseUp_),this.handleMouseMove(t,!0)}handleMouseMove(t){}handleMouseUp(t){const o=this.bar.el_.ownerDocument;Ae(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(o,"mousemove",this.handleMouseMove_),this.off(o,"mouseup",this.handleMouseUp_),this.off(o,"touchmove",this.handleMouseMove_),this.off(o,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",()=>{const o=this.vertical()?"height":"width";this.bar.el().style[o]=(t*100).toFixed(2)+"%"})),t}getProgress(){return Number(Fd(this.getPercent(),0,1).toFixed(4))}calculateDistance(t){const o=Ft(this.el_,t);return this.vertical()?o.y:o.x}handleKeyDown(t){const o=this.options_.playerOptions.spatialNavigation,c=o&&o.enabled,y=o&&o.horizontalSeek;c?y&&t.key==="ArrowLeft"||!y&&t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):y&&t.key==="ArrowRight"||!y&&t.key==="ArrowUp"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(this.pendingSeekTime()&&(this.pendingSeekTime(null),this.userSeek_(this.player_.currentTime())),super.handleKeyDown(t)):t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):t.key==="ArrowUp"||t.key==="ArrowRight"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):super.handleKeyDown(t)}handleClick(t){t.stopPropagation(),t.preventDefault()}vertical(t){if(t===void 0)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}In.registerComponent("Slider",lo);const yu=(p,t)=>Fd(p/t*100,0,100).toFixed(2)+"%";class to extends In{constructor(t,o){super(t,o),this.partEls_=[],this.on(t,"progress",c=>this.update(c))}createEl(){const t=super.createEl("div",{className:"vjs-load-progress"}),o=Bs("span",{className:"vjs-control-text"}),c=Bs("span",{textContent:this.localize("Loaded")}),y=D().createTextNode(": ");return this.percentageEl_=Bs("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(o),o.appendChild(c),o.appendChild(y),o.appendChild(this.percentageEl_),t}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(t){this.requestNamedAnimationFrame("LoadProgressBar#update",()=>{const o=this.player_.liveTracker,c=this.player_.buffered(),y=o&&o.isLive()?o.seekableEnd():this.player_.duration(),w=this.player_.bufferedEnd(),R=this.partEls_,G=yu(w,y);this.percent_!==G&&(this.el_.style.width=G,rl(this.percentageEl_,G),this.percent_=G);for(let ue=0;ue<c.length;ue++){const Te=c.start(ue),Ke=c.end(ue);let St=R[ue];St||(St=this.el_.appendChild(Bs()),R[ue]=St),!(St.dataset.start===Te&&St.dataset.end===Ke)&&(St.dataset.start=Te,St.dataset.end=Ke,St.style.left=yu(Te,w),St.style.width=yu(Ke-Te,w))}for(let ue=R.length;ue>c.length;ue--)this.el_.removeChild(R[ue-1]);R.length=c.length})}}In.registerComponent("LoadProgressBar",to);class j extends In{constructor(t,o){super(t,o),this.update=fu(Na(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(t,o,c){const y=pt(this.el_),w=et(this.player_.el()),R=t.width*o;if(!w||!y)return;let G=t.left-w.left+R,ue=t.width-R+(w.right-t.right);ue||(ue=t.width-R,G=R);let Te=y.width/2;G<Te?Te+=Te-G:ue<Te&&(Te=ue),Te<0?Te=0:Te>y.width&&(Te=y.width),Te=Math.round(Te),this.el_.style.right=`-${Te}px`,this.write(c)}write(t){rl(this.el_,t)}updateTime(t,o,c,y){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let w;const R=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const G=this.player_.liveTracker.liveWindow(),ue=G-o*G;w=(ue<1?"":"-")+Vu(ue,G)}else w=Vu(c,R);this.update(t,o,w),y&&y()})}}In.registerComponent("TimeTooltip",j);class se extends In{constructor(t,o){super(t,o),this.setIcon("circle"),this.update=fu(Na(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(t,o,c){const y=this.getChild("timeTooltip");if(!y)return;const w=c&&c.target&&typeof c.target.pendingSeekTime=="function"?c.target.pendingSeekTime():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();y.updateTime(t,o,w)}}se.prototype.options_={children:[]},!qa&&!zo&&se.prototype.options_.children.push("timeTooltip"),In.registerComponent("PlayProgressBar",se);class we extends In{constructor(t,o){super(t,o),this.update=fu(Na(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,o){const c=o*this.player_.duration();this.getChild("timeTooltip").updateTime(t,o,c,()=>{this.el_.style.left=`${t.width*o}px`})}}we.prototype.options_={children:["timeTooltip"]},In.registerComponent("MouseTimeDisplay",we);class Oe extends lo{constructor(t,o){o=wa(Oe.prototype.options_,o),o.children=[...o.children];const c=t.options_.disableSeekWhileScrubbingOnMobile&&(qa||zo)||t.options_.disableSeekWhileScrubbingOnSTV;(!qa&&!zo||c)&&o.children.splice(1,0,"mouseTimeDisplay"),super(t,o),this.shouldDisableSeekWhileScrubbing_=c,this.pendingSeekTime_=null,this.setEventHandlers_()}setEventHandlers_(){this.update_=Na(this,this.update),this.update=fu(this.update_,tu),this.on(this.player_,["durationchange","timeupdate"],this.update),this.on(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=t=>this.enableInterval_(t),this.disableIntervalHandler_=t=>this.disableInterval_(t),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in D()&&"visibilityState"in D()&&this.on(D(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(t){D().visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(t)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,tu))}disableInterval_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&t.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(t){if(D().visibilityState==="hidden")return;const o=super.update();return this.requestNamedAnimationFrame("SeekBar#update",()=>{const c=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),y=this.player_.liveTracker;let w=this.player_.duration();y&&y.isLive()&&(w=this.player_.liveTracker.liveCurrentTime()),this.percent_!==o&&(this.el_.setAttribute("aria-valuenow",(o*100).toFixed(2)),this.percent_=o),(this.currentTime_!==c||this.duration_!==w)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Vu(c,w),Vu(w,w)],"{1} of {2}")),this.currentTime_=c,this.duration_=w),this.bar&&this.bar.update(et(this.el()),this.getProgress(),t)}),o}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}pendingSeekTime(t){if(t!==void 0)if(t!==null){const o=this.player_.duration();this.pendingSeekTime_=Math.max(0,Math.min(t,o))}else this.pendingSeekTime_=null;return this.pendingSeekTime_}getPercent(){if(this.pendingSeekTime()!==null)return this.pendingSeekTime()/this.player_.duration();const t=this.getCurrentTime_();let o;const c=this.player_.liveTracker;return c&&c.isLive()?(o=(t-c.seekableStart())/c.liveWindow(),c.atLiveEdge()&&(o=1)):o=t/this.player_.duration(),o}handleMouseDown(t){_i(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.shouldDisableSeekWhileScrubbing_||this.player_.pause(),super.handleMouseDown(t))}handleMouseMove(t,o=!1){if(!_i(t)||isNaN(this.player_.duration()))return;!o&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let c;const y=this.calculateDistance(t),w=this.player_.liveTracker;if(!w||!w.isLive())c=y*this.player_.duration(),c===this.player_.duration()&&(c=c-.1);else{if(y>=.99){w.seekToLiveEdge();return}const R=w.seekableStart(),G=w.liveCurrentTime();if(c=R+y*w.liveWindow(),c>=G&&(c=G),c<=R&&(c=R+.1),c===1/0)return}this.shouldDisableSeekWhileScrubbing_?this.pendingSeekTime(c):this.userSeek_(c),this.player_.options_.enableSmoothSeeking&&this.update()}enable(){super.enable();const t=this.getChild("mouseTimeDisplay");t&&t.show()}disable(){super.disable();const t=this.getChild("mouseTimeDisplay");t&&t.hide()}handleMouseUp(t){super.handleMouseUp(t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?ll(this.player_.play()):this.update_()}handlePendingSeek_(t){this.player_.paused()||this.player_.pause();const o=this.pendingSeekTime()!==null?this.pendingSeekTime():this.player_.currentTime();this.pendingSeekTime(o+t),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}stepForward(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(this.options().stepSeconds):this.userSeek_(this.player_.currentTime()+this.options().stepSeconds)}stepBack(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(-this.options().stepSeconds):this.userSeek_(this.player_.currentTime()-this.options().stepSeconds)}handleAction(t){this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(t){const o=this.player_.liveTracker;if(t.key===" "||t.key==="Enter")t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(t.key==="Home")t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(t.key==="End")t.preventDefault(),t.stopPropagation(),o&&o.isLive()?this.userSeek_(o.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(t.key)){t.preventDefault(),t.stopPropagation();const c=parseInt(t.key,10)*.1;o&&o.isLive()?this.userSeek_(o.seekableStart()+o.liveWindow()*c):this.userSeek_(this.player_.duration()*c)}else t.key==="PageDown"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-this.options().stepSeconds*this.options().pageMultiplier)):t.key==="PageUp"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+this.options().stepSeconds*this.options().pageMultiplier)):super.handleKeyDown(t)}dispose(){this.disableInterval_(),this.off(this.player_,["durationchange","timeupdate"],this.update),this.off(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in D()&&"visibilityState"in D()&&this.off(D(),"visibilitychange",this.toggleVisibility_),super.dispose()}}Oe.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar",stepSeconds:5,pageMultiplier:12},In.registerComponent("SeekBar",Oe);class rt extends In{constructor(t,o){super(t,o),this.handleMouseMove=fu(Na(this,this.handleMouseMove),tu),this.throttledHandleMouseSeek=fu(Na(this,this.handleMouseSeek),tu),this.handleMouseUpHandler_=c=>this.handleMouseUp(c),this.handleMouseDownHandler_=c=>this.handleMouseDown(c),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(t){const o=this.getChild("seekBar");if(!o)return;const c=o.getChild("playProgressBar"),y=o.getChild("mouseTimeDisplay");if(!c&&!y)return;const w=o.el(),R=pt(w);let G=Ft(w,t).x;G=Fd(G,0,1),y&&y.update(R,G),c&&c.update(R,o.getProgress())}handleMouseSeek(t){const o=this.getChild("seekBar");o&&o.handleMouseMove(t)}enabled(){return this.enabled_}disable(){if(this.children().forEach(t=>t.disable&&t.disable()),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const t=this.getChild("seekBar");this.player_.scrubbing(!1),t.videoWasPlaying&&ll(this.player_.play())}}enable(){this.children().forEach(t=>t.enable&&t.enable()),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseDown(t){const o=this.el_.ownerDocument,c=this.getChild("seekBar");c&&c.handleMouseDown(t),this.on(o,"mousemove",this.throttledHandleMouseSeek),this.on(o,"touchmove",this.throttledHandleMouseSeek),this.on(o,"mouseup",this.handleMouseUpHandler_),this.on(o,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const o=this.getChild("seekBar");o&&o.handleMouseUp(t),this.removeListenersAddedOnMousedownAndTouchstart()}}rt.prototype.options_={children:["seekBar"]},In.registerComponent("ProgressControl",rt);class at extends po{constructor(t,o){super(t,o),this.setIcon("picture-in-picture-enter"),this.on(t,["enterpictureinpicture","leavepictureinpicture"],c=>this.handlePictureInPictureChange(c)),this.on(t,["disablepictureinpicturechanged","loadedmetadata"],c=>this.handlePictureInPictureEnabledChange(c)),this.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],()=>this.handlePictureInPictureAudioModeChange()),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control vjs-hidden ${super.buildCSSClass()}`}handlePictureInPictureAudioModeChange(){if(!(this.player_.currentType().substring(0,5)==="audio"||this.player_.audioPosterMode()||this.player_.audioOnlyMode())){this.show();return}this.player_.isInPictureInPicture()&&this.player_.exitPictureInPicture(),this.hide()}handlePictureInPictureEnabledChange(){D().pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in P()?this.enable():this.disable()}handlePictureInPictureChange(t){this.player_.isInPictureInPicture()?(this.setIcon("picture-in-picture-exit"),this.controlText("Exit Picture-in-Picture")):(this.setIcon("picture-in-picture-enter"),this.controlText("Picture-in-Picture")),this.handlePictureInPictureEnabledChange()}handleClick(t){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}show(){typeof D().exitPictureInPicture=="function"&&super.show()}}at.prototype.controlText_="Picture-in-Picture",In.registerComponent("PictureInPictureToggle",at);class Ht extends po{constructor(t,o){super(t,o),this.setIcon("fullscreen-enter"),this.on(t,"fullscreenchange",c=>this.handleFullscreenChange(c)),D()[t.fsApi_.fullscreenEnabled]===!1&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(t){this.player_.isFullscreen()?(this.controlText("Exit Fullscreen"),this.setIcon("fullscreen-exit")):(this.controlText("Fullscreen"),this.setIcon("fullscreen-enter"))}handleClick(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}Ht.prototype.controlText_="Fullscreen",In.registerComponent("FullscreenToggle",Ht);const ir=function(p,t){t.tech_&&!t.tech_.featuresVolumeControl&&p.addClass("vjs-hidden"),p.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?p.removeClass("vjs-hidden"):p.addClass("vjs-hidden")})};class A extends In{createEl(){const t=super.createEl("div",{className:"vjs-volume-level"});return this.setIcon("circle",t),t.appendChild(super.createEl("span",{className:"vjs-control-text"})),t}}
vendor: 4,248 bytes, line 943
943In.registerComponent("VolumeLevel",A);class N extends In{constructor(t,o){super(t,o),this.update=fu(Na(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(t,o,c,y){if(!c){const w=et(this.el_),R=et(this.player_.el()),G=t.width*o;if(!R||!w)return;const ue=t.left-R.left+G,Te=t.width-G+(R.right-t.right);let Ke=w.width/2;ue<Ke?Ke+=Ke-ue:Te<Ke&&(Ke=Te),Ke<0?Ke=0:Ke>w.width&&(Ke=w.width),this.el_.style.right=`-${Ke}px`}this.write(`${y}%`)}write(t){rl(this.el_,t)}updateVolume(t,o,c,y,w){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(t,o,c,y.toFixed(0)),w&&w()})}}In.registerComponent("VolumeLevelTooltip",N);class K extends In{constructor(t,o){super(t,o),this.update=fu(Na(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,o,c){const y=100*o;this.getChild("volumeLevelTooltip").updateVolume(t,o,c,y,()=>{c?this.el_.style.bottom=`${t.height*o}px`:this.el_.style.left=`${t.width*o}px`})}}K.prototype.options_={children:["volumeLevelTooltip"]},In.registerComponent("MouseVolumeLevelDisplay",K);class te extends lo{constructor(t,o){super(t,o),this.on("slideractive",c=>this.updateLastVolume_(c)),this.on(t,"volumechange",c=>this.updateARIAAttributes(c)),t.ready(()=>this.updateARIAAttributes())}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(t){_i(t)&&super.handleMouseDown(t)}handleMouseMove(t){const o=this.getChild("mouseVolumeLevelDisplay");if(o){const c=this.el(),y=et(c),w=this.vertical();let R=Ft(c,t);R=w?R.y:R.x,R=Fd(R,0,1),o.update(y,R,w)}_i(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(t){const o=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",o),this.el_.setAttribute("aria-valuetext",o+"%")}volumeAsPercentage_(){return Math.round(this.player_.volume()*100)}updateLastVolume_(){const t=this.player_.volume();this.one("sliderinactive",()=>{this.player_.volume()===0&&this.player_.lastVolume_(t)})}}te.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},!qa&&!zo&&te.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),te.prototype.playerEvent="volumechange",In.registerComponent("VolumeBar",te);class de extends In{constructor(t,o={}){o.vertical=o.vertical||!1,(typeof o.volumeBar>"u"||Ll(o.volumeBar))&&(o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=o.vertical),super(t,o),ir(this,t),this.throttledHandleMouseMove=fu(Na(this,this.handleMouseMove),tu),this.handleMouseUpHandler_=c=>this.handleMouseUp(c),this.on("mousedown",c=>this.handleMouseDown(c)),this.on("touchstart",c=>this.handleMouseDown(c)),this.on("mousemove",c=>this.handleMouseMove(c)),this.on(this.volumeBar,["focus","slideractive"],()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")}),this.on(this.volumeBar,["blur","sliderinactive"],()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")})}createEl(){let t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${t}`})}handleMouseDown(t){const o=this.el_.ownerDocument;this.on(o,"mousemove",this.throttledHandleMouseMove),this.on(o,"touchmove",this.throttledHandleMouseMove),this.on(o,"mouseup",this.handleMouseUpHandler_),this.on(o,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const o=this.el_.ownerDocument;this.off(o,"mousemove",this.throttledHandleMouseMove),this.off(o,"touchmove",this.throttledHandleMouseMove),this.off(o,"mouseup",this.handleMouseUpHandler_),this.off(o,"touchend",this.handleMouseUpHandler_)}handleMouseMove(t){this.volumeBar.handleMouseMove(t)}}de.prototype.options_={children:["volumeBar"]}
vendor: 4,308 bytes, line 943
943,In.registerComponent("VolumeControl",de);const fe=function(p,t){t.tech_&&!t.tech_.featuresMuteControl&&p.addClass("vjs-hidden"),p.on(t,"loadstart",function(){t.tech_.featuresMuteControl?p.removeClass("vjs-hidden"):p.addClass("vjs-hidden")})};class Se extends po{constructor(t,o){super(t,o),fe(this,t),this.on(t,["loadstart","volumechange"],c=>this.update(c))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(t){const o=this.player_.volume(),c=this.player_.lastVolume_();if(o===0){const y=c<.1?.1:c;this.player_.volume(y),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(t){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const t=this.player_.volume();let o=3;this.setIcon("volume-high"),qa&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),t===0||this.player_.muted()?(this.setIcon("volume-mute"),o=0):t<.33?(this.setIcon("volume-low"),o=1):t<.67&&(this.setIcon("volume-medium"),o=2),il(this.el_,[0,1,2,3].reduce((c,y)=>c+`${y?" ":""}vjs-vol-${y}`,"")),nl(this.el_,`vjs-vol-${o}`)}updateControlText_(){const o=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==o&&this.controlText(o)}}Se.prototype.controlText_="Mute",In.registerComponent("MuteToggle",Se);class Pe extends In{constructor(t,o={}){typeof o.inline<"u"?o.inline=o.inline:o.inline=!0,(typeof o.volumeControl>"u"||Ll(o.volumeControl))&&(o.volumeControl=o.volumeControl||{},o.volumeControl.vertical=!o.inline),super(t,o),this.handleKeyPressHandler_=c=>this.handleKeyPress(c),this.on(t,["loadstart"],c=>this.volumePanelState_(c)),this.on(this.muteToggle,"keyup",c=>this.handleKeyPress(c)),this.on(this.volumeControl,"keyup",c=>this.handleVolumeControlKeyUp(c)),this.on("keydown",c=>this.handleKeyPress(c)),this.on("mouseover",c=>this.handleMouseOver(c)),this.on("mouseout",c=>this.handleMouseOut(c)),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${t}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(t){t.key==="Escape"&&this.muteToggle.focus()}handleMouseOver(t){this.addClass("vjs-hover"),Cu(D(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(t){this.removeClass("vjs-hover"),Kn(D(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(t){t.key==="Escape"&&this.handleMouseOut()}}Pe.prototype.options_={children:["muteToggle","volumeControl"]},In.registerComponent("VolumePanel",Pe);class Qe extends po{constructor(t,o){super(t,o),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`forward-${this.skipTime}`),this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipForwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(t){if(isNaN(this.player_.duration()))return;const o=this.player_.currentTime(),c=this.player_.liveTracker,y=c&&c.isLive()?c.seekableEnd():this.player_.duration();let w;o+this.skipTime<=y?w=o+this.skipTime:w=y,this.player_.currentTime(w)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}Qe.prototype.controlText_="Skip Forward",In.registerComponent("SkipForward",Qe);class ut extends po{constructor(t,o){super(t,o),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`replay-${this.skipTime}`),this.controlText(this.localize("Skip backward {1}
943 seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipBackwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(t){const o=this.player_.currentTime(),c=this.player_.liveTracker,y=c&&c.isLive()&&c.seekableStart();let w;y&&o-this.skipTime<=y?w=y:o>=this.skipTime?w=o-this.skipTime:w=0,this.player_.currentTime(w)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}ut.prototype.controlText_="Skip Backward",In.registerComponent("SkipBackward",ut);class At extends In{constructor(t,o){super(t,o),o&&(this.menuButton_=o.menuButton),this.focusedChild_=-1,this.on("keydown",c=>this.handleKeyDown(c)),this.boundHandleBlur_=c=>this.handleBlur(c),this.boundHandleTapClick_=c=>this.handleTapClick(c)}addEventListenerForItem(t){t instanceof In&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(t){t instanceof In&&(this.off(t,"blur",this.boundHandleBlur_),this.off(t,["tap","click"],this.boundHandleTapClick_))}removeChild(t){typeof t=="string"&&(t=this.getChild(t)),this.removeEventListenerForItem(t),super.removeChild(t)}addItem(t){const o=this.addChild(t);o&&this.addEventListenerForItem(o)}createEl(){const t=this.options_.contentElType||"ul";this.contentEl_=Bs(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const o=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return o.appendChild(this.contentEl_),Cu(o,"click",function(c){c.preventDefault(),c.stopImmediatePropagation()}),o}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(t){const o=t.relatedTarget||D().activeElement;if(!this.children().some(c=>c.el()===o)){const c=this.menuButton_;c&&c.buttonPressed_&&o!==c.el().firstChild&&c.unpressButton()}}handleTapClick(t){if(this.menuButton_){this.menuButton_.unpressButton();const o=this.children();if(!Array.isArray(o))return;const c=o.filter(y=>y.el()===t.target)[0];if(!c)return;c.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}}handleKeyDown(t){t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(t.key==="ArrowRight"||t.key==="ArrowUp")&&(t.preventDefault(),t.stopPropagation(),this.stepBack())}stepForward(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_+1),this.focus(t)}stepBack(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_-1),this.focus(t)}focus(t=0){const o=this.children().slice();o.length&&o[0].hasClass("vjs-menu-title")&&o.shift(),o.length>0&&(t<0?t=0:t>=o.length&&(t=o.length-1),this.focusedChild_=t,o[t].el_.focus())}}In.registerComponent("Menu",At);class Pt extends In{constructor(t,o={}){super(t,o),this.menuButton_=new po(t,o),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const c=po.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+c,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const y=w=>this.handleClick(w);this.handleMenuKeyUp_=w=>this.handleMenuKeyUp(w),this.on(this.menuButton_,"tap",y),this.on(this.menuButton_,"click",y),this.on(this.menuButton_,"keydown",w=>this.handleKeyDown(w)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),Cu(D(),"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",w=>this.handleMouseLeave(w)),this.on("keydown",w=>this.handleSubmenuKeyDown(w))}update(){const t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const t=new At(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const o=Bs("li",{className:"vjs-menu-title",textContent:eo(this.options_.title),tabIndex:-1}),c=new In(this.player_,{el:o});t.addItem(c)}if(this.items=this.createItems(),this.items)for(let o=0;o<this.items.length;o++)t.addItem(this.items[o]);return t}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}setIcon(t){return super.setIcon(t,this.menuButton_.el_)}buildWrapperCSSClass(){let t="vjs-menu-button";this.options_.inline===!0?t+="-inline":t+="-popup";const o=po.prototype.buildCSSClass();return`vjs-menu-button ${t} ${o} ${super.buildCSSClass()}`}buildCSSClass(){let t="vjs-menu-button";return this.options_.inline===!0?t+="-inline":t+="-popup",`vjs-menu-button ${t} ${super.buildCSSClass()}`}controlText(t,o=this.menuButton_.el()){return this.menuButton_.controlText(t,o)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(t){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(t){this.removeClass("vjs-hover"),Kn(D(),"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(t){t.key==="Escape"||t.key==="Tab"?(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus())):(t.key==="Up"||t.key==="Down"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))}handleMenuKeyUp(t){(t.key==="Escape"||t.key==="Tab")&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(t){this.handleSubmenuKeyDown(t)}handleSubmenuKeyDown(t){(t.key==="Escape"||t.key==="Tab")&&(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),qa&&bo())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","fal
943se"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}In.registerComponent("MenuButton",Pt);class Fr extends Pt{constructor(t,o){const c=o.tracks;if(super(t,o),this.items.length<=1&&this.hide(),!c)return;const y=Na(this,this.update);c.addEventListener("removetrack",y),c.addEventListener("addtrack",y),c.addEventListener("labelchange",y),this.player_.on("ready",y),this.player_.on("dispose",function(){c.removeEventListener("removetrack",y),c.removeEventListener("addtrack",y),c.removeEventListener("labelchange",y)})}}In.registerComponent("TrackButton",Fr);class vr extends mc{constructor(t,o){super(t,o),this.selectable=o.selectable,this.isSelected_=o.selected||!1,this.multiSelectable=o.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(t,o,c){this.nonIconControl=!0;const y=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},o),c),w=Bs("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?y.appendChild(w):y.replaceChild(w,y.querySelector(".vjs-icon-placeholder")),y}handleKeyDown(t){["Tab","Escape","ArrowUp","ArrowLeft","ArrowRight","ArrowDown"].includes(t.key)||super.handleKeyDown(t)}handleClick(t){this.selected(!0)}selected(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}In.registerComponent("MenuItem",vr);class Qr extends vr{constructor(t,o){const c=o.track,y=t.textTracks();o.label=c.label||c.language||"Unknown",o.selected=c.mode==="showing",super(t,o),this.track=c,this.kinds=(o.kinds||[o.kind||this.track.kind]).filter(Boolean);const w=(...G)=>{this.handleTracksChange.apply(this,G)},R=(...G)=>{this.handleSelectedLanguageChange.apply(this,G)};if(t.on(["loadstart","texttrackchange"],w),y.addEventListener("change",w),y.addEventListener("selectedlanguagechange",R),this.on("dispose",function(){t.off(["loadstart","texttrackchange"],w),y.removeEventListener("change",w),y.removeEventListener("selectedlanguagechange",R)}),y.onchange===void 0){let G;this.on(["tap","click"],function(){if(typeof P().Event!="object")try{G=new(P()).Event("change")}catch{}G||(G=D().createEvent("Event"),G.initEvent("change",!0,!0)),y.dispatchEvent(G)})}this.handleTracksChange()}handleClick(t){const o=this.track,c=this.player_.textTracks();if(super.handleClick(t),!!c)for(let y=0;y<c.length;y++){const w=c[y];this.kinds.indexOf(w.kind)!==-1&&(w===o?w.mode!=="showing"&&(w.mode="showing"):w.mode!=="disabled"&&(w.mode="disabled"))}}handleTracksChange(t){const o=this.track.mode==="showing";o!==this.isSelected_&&this.selected(o)}handleSelectedLanguageChange(t){if(this.track.mode==="showing"){const o=this.player_.cache_.selectedLanguage;if(o&&o.enabled&&o.language===this.track.language&&o.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}In.registerComponent("TextTrackMenuItem",Qr);class jt extends Qr{constructor(t,o){o.track={player:t,kind:o.kind,kinds:o.kinds,default:!1,mode:"disabled"},o.kinds||(o.kinds=[o.kind]),o.label?o.track.label=o.label:o.track.label=o.kinds.join(" and ")+" off",o.selectable=!0,o.multiSelectable=!1,super(t,o)}handleTracksChange(t){const o=this.player().textTracks();let c=!0;for(let y=0,w=o.length;y<w;y++){const R=o[y];if(this.options_.kinds.indexOf(R.kind)>-1&&R.mode==="showing"){c=!1;break}}c!==this.isSelected_&&this.selected(c)}handleSelectedLanguageChange(t){const o=this.player().textTracks();let c=!0;for(let y=0,w=o.length;y<w;y++){const R=o[y];if(["captions","descriptions","subtitles"].indexOf(R.kind)>-1&&R.mode==="showing"){c=!1;break}}c&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}In.registerComponent("OffTextTrackMenuItem",jt);class Vt extends Fr{constructor(t,o={}){o.tracks=t.textTracks(),super(t,o)}createItems(t=[],o=Qr){let c;this.label_&&(c=`${this.label_} off`),t.push(new jt(this.player_,{kinds:this.kinds_,kind:this.kind_,label:c})),this.hideThreshold_+=1;const y=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let w=0;w<y.length;w++){const R=y[w];if(this.kinds_.indexOf(R.kind)>-1){const G=new o(this.player_,{track:R,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});G.addClass(`vjs-${R.kind}-menu-item`),t.push(G)}}return t}}In.registerComponent("TextTrackButton",Vt);class zr extends vr{constructor(t,o){const c=o.track,y=o.cue,w=t.currentTime();o.selectable=!0,o.multiSelectable=!1,o.label=y.text,o.selected=y.startTime<=w&&w<y.endTime,super(t,o),this.track=c,this.cue=y}handleClick(t){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}In.registerComponent("ChaptersTrackMenuItem",zr);
vendor: 14,551 bytes, line 943
943class _r extends Vt{constructor(t,o,c){super(t,o,c),this.setIcon("chapters"),this.selectCurrentItem_=()=>{this.items.forEach(y=>{y.selected(this.track_.activeCues[0]===y.cue)})}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(t){if(t&&t.track&&t.track.kind!=="chapters")return;const o=this.findChaptersTrack();o!==this.track_?(this.setTrack(o),super.update()):(!this.items||o&&o.cues&&o.cues.length!==this.items.length)&&super.update()}setTrack(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const o=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);o&&o.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";const o=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);o&&o.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const t=this.player_.textTracks()||[];for(let o=t.length-1;o>=0;o--){const c=t[o];if(c.kind===this.kind_)return c}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(eo(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const t=[];if(!this.track_)return t;const o=this.track_.cues;if(!o)return t;for(let c=0,y=o.length;c<y;c++){const w=o[c],R=new zr(this.player_,{track:this.track_,cue:w});t.push(R)}return t}}_r.prototype.kind_="chapters",_r.prototype.controlText_="Chapters",In.registerComponent("ChaptersButton",_r);class Xn extends Vt{constructor(t,o,c){super(t,o,c),this.setIcon("audio-description");const y=t.textTracks(),w=Na(this,this.handleTracksChange);y.addEventListener("change",w),this.on("dispose",function(){y.removeEventListener("change",w)})}handleTracksChange(t){const o=this.player().textTracks();let c=!1;for(let y=0,w=o.length;y<w;y++){const R=o[y];if(R.kind!==this.kind_&&R.mode==="showing"){c=!0;break}}c?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}Xn.prototype.kind_="descriptions",Xn.prototype.controlText_="Descriptions",In.registerComponent("DescriptionsButton",Xn);class ni extends Vt{constructor(t,o,c){super(t,o,c),this.setIcon("subtitles")}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}ni.prototype.kind_="subtitles",ni.prototype.controlText_="Subtitles",In.registerComponent("SubtitlesButton",ni);class zn extends Qr{constructor(t,o){o.track={player:t,kind:o.kind,label:o.kind+" settings",selectable:!1,default:!1,mode:"disabled"},o.selectable=!1,o.name="CaptionSettingsMenuItem",super(t,o),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+o.kind+" settings dialog")}handleClick(t){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}In.registerComponent("CaptionSettingsMenuItem",zn);class hi extends Vt{constructor(t,o,c){super(t,o,c),this.setIcon("captions")}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new zn(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(t)}}hi.prototype.kind_="captions",hi.prototype.controlText_="Captions",In.registerComponent("CaptionsButton",hi);class Ki extends Qr{createEl(t,o,c){const y=super.createEl(t,o,c),w=y.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",y):w.appendChild(Bs("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),w.appendChild(Bs("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),y}}In.registerComponent("SubsCapsMenuItem",Ki);class Lr extends Vt{constructor(t,o={}){super(t,o),this.label_="subtitles",this.setIcon("subtitles"),["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions",this.setIcon("captions")),this.menuButton_.controlText(eo(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new zn(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=super.createItems(t,Ki),t}}Lr.prototype.kinds_=["captions","subtitles"],Lr.prototype.controlText_="Subtitles",In.registerComponent("SubsCapsButton",Lr);class li extends vr{constructor(t,o){const c=o.track,y=t.audioTracks();o.label=c.label||c.language||"Unknown",o.selected=c.enabled,super(t,o),this.track=c,this.addClass(`vjs-${c.kind}-menu-item`);const w=(...R)=>{this.handleTracksChange.apply(this,R)};y.addEventListener("change",w),this.on("dispose",()=>{y.removeEventListener("change",w)})}createEl(t,o,c){const y=super.createEl(t,o,c),w=y.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(w.appendChild(Bs("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),w.appendChild(Bs("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),y}handleClick(t){if(super.handleClick(t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const o=this.player_.audioTracks();for(let c=0;c<o.length;c++){const y=o[c];y!==this.track&&(y.enabled=y===this.track)}}}handleTracksChange(t){this.selected(this.track.enabled)}}In.registerComponent("AudioTrackMenuItem",li);class _s extends Fr{constructor(t,o={}){o.tracks=t.audioTracks(),super(t,o),this.setIcon("audio")}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(t=[]){this.hideThreshold_=1;const o=this.player_.audioTracks();for(let c=0;c<o.length;c++){const y=o[c];t.push(new li(this.player_,{track:y,selectable:!0,multiSelectable:!1}))}return t}}_s.prototype.controlText_="Audio Track",In.registerComponent("AudioTrackButton",_s);class ga extends vr{constructor(t,o){const c=o.rate,y=parseFloat(c,10);o.label=c,o.selected=y===t.playbackRate(),o.selectable=!0,o.multiSelectable=!1,super(t,o),this.label=c,this.rate=y,this.on(t,"ratechange",w=>this.update(w))}handleClick(t){super.handleClick(),this.player().playbackRate(this.rate)}update(t){this.selected(this.player().playbackRate()===this.rate)}}ga.prototype.contentElType="button",In.registerComponent("PlaybackRateMenuItem",ga);class Ei extends Pt{constructor(t,o){super(t,o),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(t,"loadstart",c=>this.updateVisibility(c)),this.on(t,"ratechange",c=>this.updateLabel(c)),this.on(t,"playbackrateschange",c=>this.handlePlaybackRateschange(c))}createEl(){const t=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Bs("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const t=this.playbackRates(),o=[];for(let c=t.length-1;c>=0;c--)o.push(new ga(this.player(),{rate:t[c]+"x"}));return o}handlePlaybackRateschange(t){this.update()}playbackRates(){const t=this.player();return t.playbackRates&&t.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(t){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}Ei.prototype.controlText_="Playback Rate",In.registerComponent("PlaybackRateMenuButton",Ei);class Us extends In{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(t="div",o={},c={}){return o.className||(o.className=this.buildCSSClass()),super.createEl(t,o,c)}}In.registerComponent("Spacer",Us);class fs extends Us{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:"\xA0"})}}In.registerComponent("CustomControlSpacer",fs);class Ws extends In{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}Ws.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]},In.registerComponent("ControlBar",Ws);class Ss extends Bl{constructor(t,o){super(t,o),this.on(t,"error",c=>{this.open(c)})}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const t=this.player().error();return t?this.localize(t.message):""}}Ss.prototype.options_=Object.assign({},Bl.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),In.registerComponent("ErrorDisplay",Ss);class Wa extends In{constructor(t,o={}){super(t,o),this.el_.setAttribute("aria-labelledby",this.selectLabelledbyIds)}createEl(){return this.selectLabelledbyIds=[this.options_.legendId,this.options_.labelId].join(" ").trim(),Bs("select",{id:this.options_.id},{},this.options_.SelectOptions.map(o=>{const c=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${cu()}`)+"-"+o[1].replace(/\W+/g,""),y=Bs("option",{id:c,value:this.localize(o[0]),textContent:this.localize(o[1])});return y.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${c}`),y}))}}In.registerComponent("TextTrackSelect",Wa);class Ho extends In{constructor(t,o={}){super(t,o);const c=Bs("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(c);const y=this.options_.selects;for(const w of y){const R=this.options_.selectConfigs[w],G=R.className,ue=R.id.replace("%s",this.options_.id_);let Te=null;const Ke=`vjs_select_${cu()}`;if(this.options_.type==="colors"){Te=Bs("span",{className:G});const sr=Bs("label",{id:ue,className:"vjs-label",textContent:this.localize(R.label)});sr.setAttribute("for",Ke),Te.appendChild(sr)}const St=new Wa(t,{SelectOptions:R.options,legendId:this.options_.legendId,id:Ke,labelId:ue});this.addChild(St),this.options_.type==="colors"&&(Te.appendChild(St.el()),this.el().appendChild(Te))}}createEl(){return Bs("fieldset",{className:this.options_.className})}}In.registerComponent("TextTrackFieldset",Ho);class Va extends In{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new Ho(t,{id_:c,legendId:`captions-text-legend-${c}`,legendText:this.localize("Text"),className:"vjs-fg vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(y);const w=new Ho(t,{id_:c,legendId:`captions-background-${c}`,legendText:this.localize("Text Background"),className:"vjs-bg vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(w);const R=new Ho(t,{id_:c,legendId:`captions-window-${c}`,legendText:this.localize("Caption Area Background"),className:"vjs-window vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(R)}createEl(){return Bs("div",{className:"vjs-track-settings-colors"})}}In.registerComponent("TextTrackSettingsColors",Va);class Jo extends In{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new Ho(t,{id_:c,legendId:`captions-font-size-${c}`,legendText:"Font Size",className:"vjs-font-percent vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(y);const w=new Ho(t,{id_:c,legendId:`captions-edge-style-${c}`,legendText:this.localize("Text Edge Style"),className:"vjs-edge-style vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(w);const R=new Ho(t,{id_:c,legendId:`captions-font-family-${c}`,legendText:this.localize("Font Family"),className:"vjs-font-family vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(R)}createEl(){return Bs("div",{className:"vjs-track-settings-font"})}}In.registerComponent("TextTrackSettingsFont",Jo);class ju extends In{constructor(t,o={}){super(t,o);const c=new po(t,{controlText:this.localize("restore all settings to the default values"),className:"vjs-default-button"});c.el().classList.remove("vjs-control","vjs-button"),c.el().textContent=this.localize("Reset"),this.addChild(c);const y=this.localize("Done"),w=new po(t,{controlText:y,className:"vjs-done-button"});w.el().classList.remove("vjs-control","vjs-button"),w.el().textContent=y,this.addChild(w)}createEl(){return Bs("div",{className:"vjs-track-settings-controls"})}}In.registerComponent("TrackSettingsControls",ju);const bu="vjs-text-track-settings",Su=["#000","Black"],fl=["#00F","Blue"],Pl=["#0FF","Cyan"],hl=["#0F0","Green"],qc=["#F0F","Magenta"],Bd=["#F00","Red"],ed=["#FFF","White"],Pf=["#FF0","Yellow"],Rf=["1","Opaque"],Ud=["0.5","Semi-Transparent"],nu=["0","Transparent"],iu={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Su,ed,Bd,hl,fl,Pf,qc,Pl],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[Rf,Ud,nu],
vendor: 37,289 bytes, lines 943-953
943className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[ed,Su,Bd,hl,fl,Pf,qc,Pl],className:"vjs-text-color"},edgeStyle:{selector:".vjs-edge-style > select",id:"",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Drop shadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:p=>p==="1.00"?null:Number(p)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[Rf,Ud],className:"vjs-text-opacity vjs-opacity"},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color",className:"vjs-window-color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[nu,Ud,Rf],className:"vjs-window-opacity vjs-opacity"}};iu.windowColor.options=iu.backgroundColor.options;function td(p,t){if(t&&(p=t(p)),p&&p!=="none")return p}function Df(p,t){const o=p.options[p.options.selectedIndex].value;return td(o,t)}function rd(p,t,o){if(t){for(let c=0;c<p.options.length;c++)if(td(p.options[c].value,o)===t){p.selectedIndex=c;break}}}class lf extends Bl{constructor(t,o){o.temporary=!1,super(t,o),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.renderModalComponents(t),this.endDialog=Bs("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),o.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.bindFunctionsToSelectsAndButtons(),this.options_.persistTextTrackSettings&&this.restoreSettings()}renderModalComponents(t){const o=new Va(t,{textTrackComponentid:this.id_,selectConfigs:iu,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(o);const c=new Jo(t,{textTrackComponentid:this.id_,selectConfigs:iu,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(c);const y=new ju(t);this.addChild(y)}bindFunctionsToSelectsAndButtons(){this.on(this.$(".vjs-done-button"),["click","tap"],()=>{this.saveSettings(),this.close()}),this.on(this.$(".vjs-default-button"),["click","tap"],()=>{this.setDefaults(),this.updateDisplay()}),Uo(iu,t=>{this.on(this.$(t.selector),"change",this.updateDisplay)})}dispose(){this.endDialog=null,super.dispose()}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return vo(iu,(t,o,c)=>{const y=Df(this.$(o.selector),o.parser);return y!==void 0&&(t[c]=y),t},{})}setValues(t){Uo(iu,(o,c)=>{rd(this.$(o.selector),t[c],o.parser)})}setDefaults(){Uo(iu,t=>{const o=t.hasOwnProperty("default")?t.default:0;this.$(t.selector).selectedIndex=o})}restoreSettings(){let t;try{t=JSON.parse(P().localStorage.getItem(bu))}catch(o){pi.warn(o)}t&&this.setValues(t)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const t=this.getValues();try{Object.keys(t).length?P().localStorage.setItem(bu,JSON.stringify(t)):P().localStorage.removeItem(bu)}catch(o){pi.warn(o)}}updateDisplay(){const t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}In.registerComponent("TextTrackSettings",lf);class Th extends In{constructor(t,o){let c=o.ResizeObserver||P().ResizeObserver;o.ResizeObserver===null&&(c=!1);const y=wa({createEl:!c,reportTouchActivity:!1},o);super(t,y),this.ResizeObserver=o.ResizeObserver||P().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=fd(()=>{this.resizeHandler()},100,!1,this),c?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(t.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const w=this.debouncedHandler_;let R=this.unloadListener_=function(){Kn(this,"resize",w),Kn(this,"unload",R),R=null};Cu(this.el_.contentWindow,"unload",R),Cu(this.el_.contentWindow,"resize",w)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}}In.registerComponent("ResizeManager",Th);const Rl={trackingThreshold:20,liveTolerance:15};class jd extends In{constructor(t,o){const c=wa(Rl,o,{createEl:!1});super(t,c),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=y=>this.handlePlay(y),this.handleFirstTimeupdate_=y=>this.handleFirstTimeupdate(y),this.handleSeeked_=y=>this.handleSeeked(y),this.seekToLiveEdge_=y=>this.seekToLiveEdge(y),this.reset_(),this.on(this.player_,"durationchange",y=>this.handleDurationchange(y)),this.on(this.player_,"canplay",()=>this.toggleTracking())}trackLive_(){const t=this.player_.seekable();if(!t||!t.length)return;const o=Number(P().performance.now().toFixed(4)),c=this.lastTime_===-1?0:(o-this.lastTime_)/1e3;this.lastTime_=o,this.pastSeekEnd_=this.pastSeekEnd()+c;const y=this.liveCurrentTime(),w=this.player_.currentTime();let R=this.player_.paused()||this.seekedBehindLive_||Math.abs(y-w)>this.options_.liveTolerance;(!this.timeupdateSeen_||y===1/0)&&(R=!1),R!==this.behindLiveEdge_&&(this.behindLiveEdge_=R,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,tu),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&t>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const t=this.player_.seekable(),o=[];let c=t?t.length:0;for(;c--;)o.push(t.end(c));return o.length?o.sort()[o.length-1]:1/0}seekableStart(){const t=this.player_.seekable(),o=[];let c=t?t.length:0;for(;c--;)o.push(t.start(c));return o.length?o.sort()[0]:0}liveWindow(){const t=this.liveCurrentTime();return t===1/0?0:t-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const t=this.seekableEnd();return this.lastSeekEnd_!==-1&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return typeof this.trackingInterval_=="number"}seekToLiveEdge(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}In.registerComponent("LiveTracker",jd);class cf extends In{constructor(t,o){super(t,o),this.on("statechanged",c=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:Bs("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${cu()}`}),description:Bs("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${cu()}`})},Bs("div",{className:"vjs-title-bar"},{},wu(this.els))}updateDom_(){const t=this.player_.tech_,o=t&&t.el_,c={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(y=>{const w=this.state[y],R=this.els[y],G=c[y];Rr(R),w&&rl(R,w),o&&(o.removeAttribute(G),w&&o.setAttribute(G,R.id))}),this.state.title||this.state.description?this.show():this.hide()}update(t){this.setState(t)}dispose(){const t=this.player_.tech_,o=t&&t.el_;o&&(o.removeAttribute("aria-labelledby"),o.removeAttribute("aria-describedby")),super.dispose(),this.els=null}}In.registerComponent("TitleBar",cf);const Lf={initialDisplay:4e3,position:[],takeFocus:!1};class Qf extends po{constructor(t,o){o=wa(Lf,o),super(t,o),this.controlText(o.controlText),this.hide(),this.on(this.player_,["useractive","userinactive"],c=>{this.removeClass("force-display")})}buildCSSClass(){return`vjs-transient-button focus-visible ${this.options_.position.map(t=>`vjs-${t}`).join(" ")}`}createEl(){const t=Bs("button",{},{type:"button",class:this.buildCSSClass()},Bs("span"));return this.controlTextEl_=t.querySelector("span"),t}show(){super.show(),this.addClass("force-display"),this.options_.takeFocus&&this.el().focus({preventScroll:!0}),this.forceDisplayTimeout=this.player_.setTimeout(()=>{this.removeClass("force-display")},this.options_.initialDisplay)}hide(){this.removeClass("force-display"),super.hide()}dispose(){this.player_.clearTimeout(this.forceDisplayTimeout),super.dispose()}}In.registerComponent("TransientButton",Qf);const vc=p=>{const t=p.el();if(t.hasAttribute("src"))return p.triggerSourceset(t.src),!0;const o=p.$$("source"),c=[];let y="";if(!o.length)return!1;for(let w=0;w<o.length;w++){const R=o[w].src;R&&c.indexOf(R)===-1&&c.push(R)}return c.length?(c.length===1&&(y=c[0]),p.triggerSourceset(y),!0):!1},zd=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(p){const t=D().createElement(this.nodeName.toLowerCase());t.innerHTML=p;const o=D().createDocumentFragment();for(;t.childNodes.length;)o.appendChild(t.childNodes[0]);return this.innerText="",P().Element.prototype.appendChild.call(this,o),this.innerHTML}}),Mf=(p,t)=>{let o={};for(let c=0;c<p.length&&(o=Object.getOwnPropertyDescriptor(p[c],t),!(o&&o.set&&o.get));c++);return o.enumerable=!0,o.configurable=!0,o},df=p=>Mf([p.el(),P().HTMLMediaElement.prototype,P().Element.prototype,zd],"innerHTML"),yc=function(p){const t=p.el();if(t.resetSourceWatch_)return;const o={},c=df(p),y=w=>(...R)=>{const G=w.apply(t,R);return vc(p),G};["append","appendChild","insertAdjacentHTML"].forEach(w=>{t[w]&&(o[w]=t[w],t[w]=y(o[w]))}),Object.defineProperty(t,"innerHTML",wa(c,{set:y(c.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(o).forEach(w=>{t[w]=o[w]}),Object.defineProperty(t,"innerHTML",c)},p.one("sourceset",t.resetSourceWatch_)},nd=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?Zs(P().Element.prototype.getAttribute.call(this,"src")):""},set(p){return P().Element.prototype.setAttribute.call(this,"src",p),p}}),wh=p=>Mf([p.el(),P().HTMLMediaElement.prototype,nd],"src"),$d=function(p){if(!p.featuresSourceset)return;const t=p.el();if(t.resetSourceset_)return;const o=wh(p),c=t.setAttribute,y=t.load;Object.defineProperty(t,"src",wa(o,{set:w=>{const R=o.set.call(t,w);return p.triggerSourceset(t.src),R}})),t.setAttribute=(w,R)=>{const G=c.call(t,w,R);return/src/i.test(w)&&p.triggerSourceset(t.src),G},t.load=()=>{const w=y.call(t);return vc(p)||(p.triggerSourceset(""),yc(p)),w},t.currentSrc?p.triggerSourceset(t.currentSrc):vc(p)||yc(p),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=y,t.setAttribute=c,Object.defineProperty(t,"src",o),t.resetSourceWatch_&&t.resetSourceWatch_()}};class os extends ea{constructor(t,o){super(t,o);const c=t.source;let y=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&this.el_.tagName==="VIDEO",c&&(this.el_.currentSrc!==c.src||t.tag&&t.tag.initNetworkState_===3)?this.setSource(c):this.handleLateInit_(this.el_),t.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const w=this.el_.childNodes;let R=w.length;const G=[];for(;R--;){const ue=w[R];ue.nodeName.toLowerCase()==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(ue),this.remoteTextTracks().addTrack(ue.track),this.textTracks().addTrack(ue.track),!y&&!this.el_.hasAttribute("crossorigin")&&Io(ue.src)&&(y=!0)):G.push(ue))}for(let ue=0;ue<G.length;ue++)this.el_.removeChild(G[ue])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&y&&pi.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. 944This may prevent text tracks from loading.`),this.restoreMetadataTracksInIOSNativePlayer_(),($o||Jn)&&t.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),os.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){$d(this)}restoreMetadataTracksInIOSNativePlayer_(){const t=this.textTracks();let o;const c=()=>{o=[];for(let w=0;w<t.length;w++){const R=t[w];R.kind==="metadata"&&o.push({track:R,storedMode:R.mode})}};c(),t.addEventListener("change",c),this.on("dispose",()=>t.removeEventListener("change",c));const y=()=>{for(let w=0;w<o.length;w++){const R=o[w];R.track.mode==="disabled"&&R.track.mode!==R.storedMode&&(R.track.mode=R.storedMode)}t.removeEventListener("change",y)};this.on("webkitbeginfullscreen",()=>{t.removeEventListener("change",c),t.removeEventListener("change",y),t.addEventListener("change",y)}),this.on("webkitendfullscreen",()=>{t.removeEventListener("change",c),t.addEventListener("change",c),t.removeEventListener("change",y)})}overrideNative_(t,o){if(o!==this[`featuresNative${t}Tracks`])return;const c=t.toLowerCase();this[`${c}TracksListeners_`]&&Object.keys(this[`${c}TracksListeners_`]).forEach(y=>{this.el()[`${c}Tracks`].removeEventListener(y,this[`${c}TracksListeners_`][y])}),this[`featuresNative${t}Tracks`]=!o,this[`${c}TracksListeners_`]=null,this.proxyNativeTracksForType_(c)}overrideNativeAudioTracks(t){this.overrideNative_("Audio",t)}overrideNativeVideoTracks(t){this.overrideNative_("Video",t)}proxyNativeTracksForType_(t){const o=mu[t],c=this.el()[o.getterName],y=this[o.getterName]();if(!this[`featuresNative${o.capitalName}Tracks`]||!c||!c.addEventListener)return;const w={change:G=>{const ue={type:"change",target:y,currentTarget:y,srcElement:y};y.trigger(ue),t==="text"&&this[tc.remoteText.getterName]().trigger(ue)},addtrack(G){y.addTrack(G.track)},removetrack(G){y.removeTrack(G.track)}},R=function(){const G=[];for(let ue=0;ue<y.length;ue++){let Te=!1;for(let Ke=0;Ke<c.length;Ke++)if(c[Ke]===y[ue]){Te=!0;break}Te||G.push(y[ue])}for(;G.length;)y.removeTrack(G.shift())};this[o.getterName+"Listeners_"]=w,Object.keys(w).forEach(G=>{const ue=w[G];c.addEventListener(G,ue),this.on("dispose",Te=>c.removeEventListener(G,ue))}),this.on("loadstart",R),this.on("dispose",G=>this.off("loadstart",R))}proxyNativeTracks_(){mu.names.forEach(t=>{this.proxyNativeTracksForType_(t)})}createEl(){let t=this.options_.tag;if(!t||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(t){const c=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(c,t),os.disposeMediaElement(t),t=c}else{t=D().createElement("video");const c=this.options_.tag&&ko(this.options_.tag),y=wa({},c);(!$o||this.options_.nativeControlsForTouch!==!0)&&delete y.controls,sl(t,Object.assign(y,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&Go(t,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(t.disablePictureInPicture=this.options_.disablePictureInPicture);const o=["loop","muted","playsinline","autoplay"];for(let c=0;c<o.length;c++){const y=o[c],w=this.options_[y];typeof w<"u"&&(w?Go(t,y,y):Xo(t,y),t[y]=w)}return t}handleLateInit_(t){if(t.networkState===0||t.networkState===3)return;if(t.readyState===0){let c=!1;const y=function(){c=!0};this.on("loadstart",y);const w=function(){c||this.trigger("loadstart")};this.on("loadedmetadata",w),this.ready(function(){this.off("loadstart",y),this.off("loadedmetadata",w),c||this.trigger("loadstart")});return}const o=["loadstart"];o.push("loadedmetadata"),t.readyState>=2&&o.push("loadeddata"),t.readyState>=3&&o.push("canplay"),t.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(c){this.trigger(c)},this)})}setScrubbing(t){this.isScrubbing_=t}scrubbing(){return this.isScrubbing_}setCurrentTime(t){try{this.isScrubbing_&&this.el_.fastSeek&&Vo?this.el_.fastSeek(t):this.el_.currentTime=t}catch(o){pi(o,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&zo&&oo&&this.el_.currentTime===0){const t=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},o=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",o),this.on("dispose",()=>{this.off("webkitbeginfullscreen",o),this.off("webkitendfullscreen",t)})}supportsFullScreen(){return typeof this.el_.webkitEnterFullScreen=="function"}enterFullScreen(){const t=this.el_;if(t.paused&&t.networkState<=t.HAVE_METADATA)ll(this.el_.play()),this.setTimeout(function(){t.pause();try{t.webkitEnterFullScreen()}catch(o){this.trigger("fullscreenerror",o)}},0);else try{t.webkitEnterFullScreen()}catch(o){this.trigger("fullscreenerror",o)}}exitFullScreen(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):super.requestVideoFrameCallback(t)}cancelVideoFrameCallback(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):super.cancelVideoFrameCallback(t)}src(t){if(t===void 0)return this.el_.src;this.setSrc(t)}addSourceElement(t,o){if(!t)return pi.error("Invalid source URL."),!1;const c={src:t};o&&(c.type=o);const y=Bs("source",{},c);return this.el_.appendChild(y),!0}removeSourceElement(t){if(!t)return pi.error("Source URL is required to remove the source element."),!1;const o=this.el_.querySelectorAll("source");for(const c of o)if(c.src===t)return this.el_.removeChild(c),!0;return pi.warn(`No matching source element found with src: ${t}`),!1}reset(){os.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(t){this.el_.controls=!!t}addTextTrack(t,o,c){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,o,c):super.addTextTrack(t,o,c)}createRemoteTextTrack(t){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(t);const o=D().createElement("track");return t.kind&&(o.kind=t.kind),t.label&&(o.label=t.label),(t.language||t.srclang)&&(o.srclang=t.language||t.srclang),t.default&&(o.default=t.default),t.id&&(o.id=t.id),t.src&&(o.src=t.src),o}addRemoteTextTrack(t,o){const c=super.addRemoteTextTrack(t,o);return this.featuresNativeTextTracks&&this.el().appendChild(c),c}removeRemoteTextTrack(t){if(super.removeRemoteTextTrack(t),this.featuresNativeTextTracks){const o=this.$$("track");let c=o.length;for(;c--;)(t===o[c]||t===o[c].track)&&this.el().removeChild(o[c])}}getVideoPlaybackQuality(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();const t={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),P().performance&&(t.creationTime=P().performance.now()),t}}el(os,"TEST_VID",function(){if(!Mu())return;const p=D().createElement("video"),t=D().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",p.appendChild(t),p}),os.isSupported=function(){try{os.TEST_VID.volume=.5}catch{return!1}return!!(os.TEST_VID&&os.TEST_VID.canPlayType)},os.canPlayType=function(p){return os.TEST_VID.canPlayType(p)},os.canPlaySource=function(p,t){return os.canPlayType(p.type)},os.canControlVolume=function(){try{const p=os.TEST_VID.volume;os.TEST_VID.volume=p/2+.1;const t=p!==os.TEST_VID.volume;return t&&qa?(P().setTimeout(()=>{os&&os.prototype&&(os.prototype.featuresVolumeControl=p!==os.TEST_VID.volume)}),!1):t}catch{return!1}},os.canMuteVolume=function(){try{const p=os.TEST_VID.muted;return os.TEST_VID.muted=!p,os.TEST_VID.muted?Go(os.TEST_VID,"muted","muted"):Xo(os.TEST_VID,"muted","muted"),p!==os.TEST_VID.muted}catch{return!1}},os.canControlPlaybackRate=function(){if(zo&&oo&&Ml<58)return!1;try{const p=os.TEST_VID.playbackRate;return os.TEST_VID.playbackRate=p/2+.1,p!==os.TEST_VID.playbackRate}catch{return!1}},os.canOverrideAttributes=function(){try{const p=()=>{};Object.defineProperty(D().createElement("video"),"src",{get:p,set:p}),Object.defineProperty(D().createElement("audio"),"src",{get:p,set:p}),Object.defineProperty(D().createElement("video"),"innerHTML",{get:p,set:p}),Object.defineProperty(D().createElement("audio"),"innerHTML",{get:p,set:p})}catch{return!1}return!0},os.supportsNativeTextTracks=function(){return Vo||qa&&oo},os.supportsNativeVideoTracks=function(){return!!(os.TEST_VID&&os.TEST_VID.videoTracks)},os.supportsNativeAudioTracks=function(){return!!(os.TEST_VID&&os.TEST_VID.audioTracks)},os.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function([p,t]){el(os.prototype,p,()=>os[t](),!0)}),os.prototype.featuresVolumeControl=os.canControlVolume(),os.prototype.movingMediaElementInDOM=!qa,os.prototype.featuresFullscreenResize=!0,os.prototype.featuresProgressEvents=!0,os.prototype.featuresTimeupdateEvents=!0,os.prototype.featuresVideoFrameCallback=!!(os.TEST_VID&&os.TEST_VID.requestVideoFrameCallback),os.disposeMediaElement=function(p){if(p){for(p.parentNode&&p.parentNode.removeChild(p);p.hasChildNodes();)p.removeChild(p.firstChild);p.removeAttribute("src"),typeof p.load=="function"&&(function(){try{p.load()}catch{}})()}},os.resetMediaElement=function(p){if(!p)return;const t=p.querySelectorAll("source");let o=t.length;for(;o--;)p.removeChild(t[o]);p.removeAttribute("src"),typeof p.load=="function"&&(function(){try{p.load()}catch{}})()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(p){os.prototype[p]=function(){return this.el_[p]||this.el_.hasAttribute(p)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(p){os.prototype["set"+eo(p)]=function(t){this.el_[p]=t,t?this.el_.setAttribute(p,p):this.el_.removeAttribute(p)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(p){os.prototype[p]=function(){return this.el_[p]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(p){os.prototype["set"+eo(p)]=function(t){this.el_[p]=t}}),["pause","load","play"].forEach(function(p){os.prototype[p]=function(){return this.el_[p]()}}),ea.withSourceHandlers(os),os.nativeSourceHandler={},os.nativeSourceHandler.canPlayType=function(p){try{return os.TEST_VID.canPlayType(p)}catch{return""}},os.nativeSourceHandler.canHandleSource=function(p,t){if(p.type)return os.nativeSourceHandler.canPlayType(p.type);if(p.src){const o=fa(p.src);return os.nativeSourceHandler.canPlayType(`video/${o}`)}return""},os.nativeSourceHandler.handleSource=function(p,t,o){t.setSrc(p.src)},os.nativeSourceHandler.dispose=function(){},os.registerSourceHandler(os.nativeSourceHandler),ea.registerTech("Html5",os);const Jf=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Hl={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},ff=["tiny","xsmall","small","medium","large","xlarge","huge"],Td={};ff.forEach(p=>{const t=p.charAt(0)==="x"?`x-${p.substring(1)}`:p;Td[p]=`vjs-layout-${t}`});const Zf={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class ro extends In{constructor(t,o,c){if(t.id=t.id||o.id||`vjs_video_${cu()}`,o=Object.assign(ro.getTagSettings(t),o),o.initChildren=!1,o.createEl=!1,o.evented=!1,o.reportTouchActivity=!1,!o.language){const R=t.closest("[lang]");R&&(o.language=R.getAttribute("lang"))}if(super(null,o,c),this.boundDocumentFullscreenChange_=R=>this.documentFullscreenChange_(R),this.boundFullWindowOnEscKey_=R=>this.fullWindowOnEscKey(R),this.boundUpdateStyleEl_=R=>this.updateStyleEl_(R),this.boundApplyInitTime_=R=>this.applyInitTime_(R),this.boundUpdateCurrentBreakpoint_=R=>this.updateCurrentBreakpoint_(R),this.boundHandleTechClick_=R=>this.handleTechClick_(R),this.boundHandleTechDoubleClick_=R=>this.handleTechDoubleClick_(R),this.boundHandleTechTouchStart_=R=>this.handleTechTouchStart_(R),this.boundHandleTechTouchMove_=R=>this.handleTechTouchMove_(R),this.boundHandleTechTouchEnd_=R=>this.handleTechTouchEnd_(R),this.boundHandleTechTap_=R=>this.handleTechTap_(R),this.boundUpdatePlayerHeightOnAudioOnlyMode_=R=>this.updatePlayerHeightOnAudioOnlyMode_(R),this.isFullscreen_=!1,this.log=ra(this.id_),this.fsApi_=zi,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={controlBarHeight:null,playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=t,this.tagAttributes=t&&ko(t),this.language(this.options_.language),o.languages){const R={};Object.getOwnPropertyNames(o.languages).forEach(function(G){R[G.toLowerCase()]=o.languages[G]}),this.languages_=R}else this.languages_=ro.prototype.options_.languages;this.resetCache_(),this.poster_=o.poster||"",this.controls_=!!o.controls,t.controls=!1,t.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],t.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),o.plugins&&Object.keys(o.plugins).forEach(R=>{if(typeof this[R]!="function")throw new Error(`plugin "${R}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),pu(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(Cu(D(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const y=wa(this.options_);if(o.plugins&&Object.keys(o.plugins).forEach(R=>{this[R](o.plugins[R])}),o.debug&&this.debug(!0),this.options_.playerOptions=y,this.middleware_=[],this.playbackRates(o.playbackRates),o.experimentalSvgIcons){const G=new(P()).DOMParser().parseFromString(xd,"image/svg+xml");if(G.querySelector("parsererror"))pi.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const Te=G.documentElement;Te.style.display="none",this.el_.appendChild(Te),this.addClass("vjs-svg-icons-enabled")}}this.initChildren(),this.isAudio(t.nodeName.toLowerCase()==="audio"),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),o.spatialNavigation&&o.spatialNavigation.enabled&&(this.spatialNavigation=new Ol(this),this.addClass("vjs-spatial-navigation-enabled")),$o&&this.addClass("vjs-touch-enabled"),qa||this.addClass("vjs-workinghover"),ro.players[this.id_]=this;const w=cn.split(".")[0];this.addClass(`vjs-v${w}`),this.userActive(!0),this.reportUserActivity(),this.one("play",R=>this.listenForUserActivity_(R)),this.on("keydown",R=>this.handleKeyDown(R)),this.on("languagechange",R=>this.handleLanguagechange(R)),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)})}dispose(){this.trigger("dispose"),this.off("dispose"),Kn(D(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Kn(D(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),ro.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Uu(this),b.names.forEach(t=>{const o=b[t],c=this[o.getterName]();c&&c.off&&c.off()}),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let t=this.tag,o,c=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const y=this.tag.tagName.toLowerCase()==="video-js";c?o=this.el_=t.parentNode:y||(o=this.el_=super.createEl("div"));const w=ko(t);if(y){for(o=this.el_=t,t=this.tag=D().createElement("video");o.children.length;)t.appendChild(o.firstChild);Nl(o,"video-js")||nl(o,"video-js"),o.appendChild(t),c=this.playerElIngest_=o,Object.keys(o).forEach(ue=>{try{t[ue]=o[ue]}catch{}})}t.setAttribute("tabindex","-1"),w.tabindex="-1",oo&&xt&&(t.setAttribute("role","application"),w.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in w&&delete w.width,"height"in w&&delete w.height,Object.getOwnPropertyNames(w).forEach(function(ue){y&&ue==="class"||o.setAttribute(ue,w[ue]),y&&t.setAttribute(ue,w[ue])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=o.player=this,this.addClass("vjs-paused");const R=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(ue=>Lo[ue]).map(ue=>"vjs-device-"+ue.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...R),P().VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=Qo("vjs-styles-dimensions");const ue=Ai(".vjs-styles-defaults"),Te=Ai("head");Te.insertBefore(this.styleEl_,ue?ue.nextSibling:Te.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const G=t.getElementsByTagName("a");for(let ue=0;ue<G.length;ue++){const Te=G.item(ue);nl(Te,"vjs-hidden"),Te.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(o,t),lc(t,o),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=o,o}crossOrigin(t){if(typeof t>"u")return this.techGet_("crossOrigin");if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){pi.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.techCall_("setCrossOrigin",t),this.posterImage&&this.posterImage.crossOrigin(t)}width(t){return this.dimension("width",t)}height(t){return this.dimension("height",t)}dimension(t,o){const c=t+"_";if(o===void 0)return this[c]||0;if(o===""||o==="auto"){this[c]=void 0,this.updateStyleEl_();return}const y=parseFloat(o);if(isNaN(y)){pi.error(`Improper value "${o}" supplied for for ${t}`);return}this[c]=y,this.updateStyleEl_()}fluid(t){if(t===void 0)return!!this.fluid_;this.fluid_=!!t,No(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),Iu(this,()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(t){if(t===void 0)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(t){if(t===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(P().VIDEOJS_NO_DYNAMIC_STYLE===!0){const G=typeof this.width_=="number"?this.width_:this.options_.width,ue=typeof this.height_=="number"?this.height_:this.options_.height,Te=this.tech_&&this.tech_.el();Te&&(G>=0&&(Te.width=G),ue>=0&&(Te.height=ue));return}let t,o,c,y;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?c=this.aspectRatio_:this.videoWidth()>0?c=this.videoWidth()+":"+this.videoHeight():c="16:9";const w=c.split(":"),R=w[1]/w[0];this.width_!==void 0?t=this.width_:this.height_!==void 0?t=this.height_/R:t=this.videoWidth()||300,this.height_!==void 0?o=this.height_:o=t*R,/^[^a-zA-Z]/.test(this.id())?y="dimensions-"+this.id():y=this.id()+"-dimensions",this.addClass(y),So(this.styleEl_,` 945 .${y} { 946 width: ${t}px; 947 height: ${o}px; 948 } 949 950 .${y}.vjs-fluid:not(.vjs-audio-only-mode) { 951 padding-top: ${R*100}%; 952 } 953 `)}loadTech_(t,o){this.tech_&&this.unloadTech_();const c=eo(t),y=t.charAt(0).toLowerCase()+t.slice(1);c!=="Html5"&&this.tag&&(ea.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=c,this.isReady_=!1;let w=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(w=!1);const R={source:o,autoplay:w,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${y}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};
vendor: 2,739 bytes, line 953
953b.names.forEach(ue=>{const Te=b[ue];R[Te.getterName]=this[Te.privateName]}),Object.assign(R,this.options_[c]),Object.assign(R,this.options_[y]),Object.assign(R,this.options_[t.toLowerCase()]),this.tag&&(R.tag=this.tag),o&&o.src===this.cache_.src&&this.cache_.currentTime>0&&(R.startTime=this.cache_.currentTime);const G=ea.getTech(t);if(!G)throw new Error(`No Tech named '${c}' exists! '${c}' should be registered using videojs.registerTech()'`);this.tech_=new G(R),this.tech_.ready(Na(this,this.handleTechReady_),!0),gd.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Jf.forEach(ue=>{this.on(this.tech_,ue,Te=>this[`handleTech${eo(ue)}_`](Te))}),Object.keys(Hl).forEach(ue=>{this.on(this.tech_,ue,Te=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${Hl[ue]}_`].bind(this),event:Te});return}this[`handleTech${Hl[ue]}_`](Te)})}),this.on(this.tech_,"loadstart",ue=>this.handleTechLoadStart_(ue)),this.on(this.tech_,"sourceset",ue=>this.handleTechSourceset_(ue)),this.on(this.tech_,"waiting",ue=>this.handleTechWaiting_(ue)),this.on(this.tech_,"ended",ue=>this.handleTechEnded_(ue)),this.on(this.tech_,"seeking",ue=>this.handleTechSeeking_(ue)),this.on(this.tech_,"play",ue=>this.handleTechPlay_(ue)),this.on(this.tech_,"pause",ue=>this.handleTechPause_(ue)),this.on(this.tech_,"durationchange",ue=>this.handleTechDurationChange_(ue)),this.on(this.tech_,"fullscreenchange",(ue,Te)=>this.handleTechFullscreenChange_(ue,Te)),this.on(this.tech_,"fullscreenerror",(ue,Te)=>this.handleTechFullscreenError_(ue,Te)),this.on(this.tech_,"enterpictureinpicture",ue=>this.handleTechEnterPictureInPicture_(ue)),this.on(this.tech_,"leavepictureinpicture",ue=>this.handleTechLeavePictureInPicture_(ue)),this.on(this.tech_,"error",ue=>this.handleTechError_(ue)),this.on(this.tech_,"posterchange",ue=>this.handleTechPosterChange_(ue)),this.on(this.tech_,"textdata",ue=>this.handleTechTextData_(ue)),this.on(this.tech_,"ratechange",ue=>this.handleTechRateChange_(ue)),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(c!=="Html5"||!this.tag)&&lc(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){b.names.forEach(t=>{const o=b[t];this[o.privateName]=this[o.getterName]()}),this.textTracksJson_=gd.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(t){return t===void 0&&pi.warn(`Using the tech directly can be dangerous. I hope you know
953what you're doing. 954See https://github.com/videojs/video.js/issues/2617 for more info. 955`),this.tech_}version(){return{"video.js":cn}}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(t){if(!this.tech_||typeof t!="string")return;const o=()=>{const y=this.muted();this.muted(!0);const w=()=>{this.muted(y)};this.playTerminatedQueue_.push(w);const R=this.play();if(El(R))return R.catch(G=>{throw w(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${G||""}`)})};let c;if(t==="any"&&!this.muted()?(c=this.play(),El(c)&&(c=c.catch(o))):t==="muted"&&!this.muted()?c=o():c=this.play(),!!El(c))return c.then(()=>{this.trigger({type:"autoplay-success",autoplay:t})}).catch(()=>{this.trigger({type:"autoplay-failure",autoplay:t})})}updateSourceCaches_(t=""){let o=t,c="";typeof o!="string"&&(o=t.src,c=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],o&&!c&&(c=Gu(this,o)),this.cache_.source=wa({},t,{src:o,type:c});const y=this.cache_.sources.filter(ue=>ue.src&&ue.src===o),w=[],R=this.$$("source"),G=[];for(let ue=0;ue<R.length;ue++){const Te=ko(R[ue]);w.push(Te),Te.src&&Te.src===o&&G.push(Te.src)}G.length&&!y.length?this.cache_.sources=w:y.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=o}handleTechSourceset_(t){if(!this.changingSrc_){let o=w=>this.updateSourceCaches_(w);const c=this.currentSource().src,y=t.src;c&&!/^blob:/.test(c)&&/^blob:/.test(y)&&(!this.lastSource_||this.lastSource_.tech!==y&&this.lastSource_.player!==c)&&(o=()=>{}),o(y),t.src||this.tech_.any(["sourceset","loadstart"],w=>{if(w.type==="sourceset")return;const R=this.techGet_("currentSrc");this.lastSource_.tech=R,this.updateSourceCaches_(R)})}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})}hasStarted(t){if(t===void 0)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(t=>t.callback(t.event)),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const t=this.currentTime(),o=()=>{t!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",o))};this.on("timeupdate",o)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}
vendor: 13,002 bytes, line 955
955handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(t){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,t):this.paused()?ll(this.play()):this.pause())}handleTechDoubleClick_(t){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),c=>c.contains(t.target))||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,t):this.isInPictureInPicture()&&!D().pictureInPictureElement?this.exitPictureInPicture():this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(t){t.cancelable&&t.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(t){const o=t.target.player;if(o&&o!==this)return;const c=this.el();let y=D()[this.fsApi_.fullscreenElement]===c;!y&&c.matches&&(y=c.matches(":"+this.fsApi_.fullscreen)),this.isFullscreen(y)}handleTechFullscreenChange_(t,o){o&&(o.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",()=>{this.removeClass("vjs-ios-native-fs")})),this.isFullscreen(o.isFullscreen))}handleTechFullscreenError_(t,o){this.trigger("fullscreenerror",o)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(t){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(t){this.isInPictureInPicture(!1)}handleTechError_(){const t=this.tech_.error();t&&this.error(t)}handleTechTextData_(){let t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(t,o){this.ready(function(){if(t in Cl)return so(this.middleware_,this.tech_,t,o);if(t in Qc)return La(this.middleware_,this.tech_,t,o);try{this.tech_&&this.tech_[t](o)}catch(c){throw pi(c),c}},!0)}techGet_(t){if(!(!this.tech_||!this.tech_.isReady_)){if(t in ia)return xa(this.middleware_,this.tech_,t);if(t in Qc)return La(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(o){throw this.tech_[t]===void 0?(pi(`Video.js: ${t} method not defined for ${this.techName_} playback technology.`,o),o):o.name==="TypeError"?(pi(`Video.js: ${t} unavailable on ${this.techName_} playback technology element.`,o),this.tech_.isReady_=!1,o):(pi(o),o)}}}play(){return new Promise(t=>{this.play_(t)})}play_(t=ll){this.playCallbacks_.push(t);const o=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),c=!!(Vo||qa);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!o){this.waitToPlay_=R=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!o&&c&&this.load();return}const y=this.techGet_("play");c&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),y===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(y)}runPlayTerminatedQueue_(){const t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach(function(o){o()})}runPlayCallbacks_(t){const o=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],o.forEach(function(c){c(t)})}pause(){this.techCall_("pause")}paused(){return this.techGet_("paused")!==!1}played(){return this.techGet_("played")||Ua(0,0)}scrubbing(t){if(typeof t>"u")return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(t){if(t===void 0)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;if(t<0&&(t=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=t,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",t),this.cache_.initTime=0,isFinite(t)&&(this.cache_.currentTime=Number(t))}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(t){if(t===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let t=this.techGet_("buffered");return(!t||!t.length)&&(t=Ua(0,0)),t}seekable(){let t=this.techGet_("seekable");return(!t||!t.length)&&(t=Ua(0,0)),t}seeking(){return this.techGet_("seeking")}ended(){return this.techGet_("ended")}networkState(){return this.techGet_("networkState")}readyState(){return this.techGet_("readyState")}bufferedPercent(){return Gc(this.buffered(),this.duration())}bufferedEnd(){const t=this.buffered(),o=this.duration();let c=t.end(t.length-1);return c>o&&(c=o),c}volume(t){let o;if(t!==void 0){o=Math.max(0,Math.min(1,t)),this.cache_.volume=o,this.techCall_("setVolume",o),o>0&&this.lastVolume_(o);return}return o=parseFloat(this.techGet_("volume")),isNaN(o)?1:o}muted(t){if(t!==void 0){this.techCall_("setMuted",t);return}return this.techGet_("muted")||!1}defaultMuted(t){return t!==void 0&&this.techCall_("setDefaultMuted",t),this.techGet_("defaultMuted")||!1}lastVolume_(t){if(t!==void 0&&t!==0){this.cache_.lastVolume=t;return}return this.cache_.lastVolume}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(t){if(t!==void 0){const o=this.isFullscreen_;this.isFullscreen_=!!t,this.isFullscreen_!==o&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_}requestFullscreen(t){this.isInPictureInPicture()&&this.exitPictureInPicture();const o=this;return new Promise((c,y)=>{function w(){o.off("fullscreenerror",G),o.off("fullscreenchange",R)}function R(){w(),c()}function G(Te,Ke){w(),y(Ke)}o.one("fullscreenchange",R),o.one("fullscreenerror",G);const ue=o.requestFullscreenHelper_(t);ue&&(ue.then(w,w),ue.then(c,y))})}requestFullscreenHelper_(t){let o;if(this.fsApi_.prefixed||(o=this.options_.fullscreen&&this.options_.fullscreen.options||{},t!==void 0&&(o=t)),this.fsApi_.requestFullscreen){const c=this.el_[this.fsApi_.requestFullscreen](o);return c&&c.then(()=>this.isFullscreen(!0),()=>this.isFullscreen(!1)),c}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const t=this;return new Promise((o,c)=>{function y(){t.off("fullscreenerror",R),t.off("fullscreenchange",w)}function w(){y(),o()}function R(ue,Te){y(),c(Te)}t.one("fullscreenchange",w),t.one("fullscreenerror",R);const G=t.exitFullscreenHelper_();G&&(G.then(y,y),G.then(o,c))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const t=D()[this.fsApi_.exitFullscreen]();return t&&ll(t.then(()=>this.isFullscreen(!1))),t}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=D().documentElement.style.overflow,Cu(D(),"keydown",this.boundFullWindowOnEscKey_),D().documentElement.style.overflow="hidden",nl(D().body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(t){t.key==="Escape"&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,Kn(D(),"keydown",this.boundFullWindowOnEscKey_),D().documentElement.style.overflow=this.docOrigOverflow,il(D().body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(t){if(t===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(t){if(t!==void 0){this.isInPictureInPicture_=!!t,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&P().documentPictureInPicture){const t=D().createElement(this.el().tagName);return t.classList=this.el().classList,t.classList.add("vjs-pip-container"),this.posterImage&&t.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&t.appendChild(this.titleBar.el().cloneNode(!0)),t.appendChild(Bs("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),P().documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(o=>(Qa(o),this.el_.parentNode.insertBefore(t,this.el_),o.document.body.appendChild(this.el_),o.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger({type:"enterpictureinpicture",pipWindow:o}),o.addEventListener("pagehide",c=>{const y=c.target.querySelector(".video-js");t.parentNode.replaceChild(y,t),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")}),o))}return"pictureInPictureEnabled"in D()&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(P().documentPictureInPicture&&P().documentPictureInPicture.window)return P().documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in D())return D().exitPictureInPicture()}handleKeyDown(t){const{userActions:o}=this.options_;!o||!o.hotkeys||(y=>{const w=y.tagName.toLowerCase();if(y.isContentEditable)return!0;const R=["button","checkbox","hidden","radio","reset","submit"];return w==="input"?R.indexOf(y.type)===-1:["textarea"].indexOf(w)!==-1})(this.el_.ownerDocument.activeElement)||(typeof o.hotkeys=="function"?o.hotkeys.call(this,t):this.handleHotkeys(t))}handleHotkeys(t){const o=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:c=R=>t.key.toLowerCase()==="f",muteKey:y=R=>t.key.toLowerCase()==="m",playPauseKey:w=R=>t.key.toLowerCase()==="k"||t.key.toLowerCase()===" "}=o;if(c.call(this,t)){t.preventDefault(),t.stopPropagation();const R=In.getComponent("FullscreenToggle");D()[this.fsApi_.fullscreenEnabled]!==!1&&R.prototype.handleClick.call(this,t)}else y.call(this,t)?(t.preventDefault(),t.stopPropagation(),In.getComponent("MuteToggle").prototype.handleClick.call(this,t)):w.call(this,t)&&(t.preventDefault(),t.stopPropagation(),In.getComponent("PlayToggle").prototype.handleClick.call(this,t))}canPlayType(t){let o;for(let c=0,y=this.options_.techOrder;c<y.length;c++){const w=y[c];let R=ea.getTech(w);if(R||(R=In.getComponent(w)),!R){pi.error(`The "${w}" tech is undefined. Skipped browser support check for that tech.`);continue}if(R.isSupported()&&(o=R.canPlayType(t),o))return o}return""}selectSource(t){const o=this.options_.techOrder.map(G=>[G,ea.getTech(G)]).filter(([G,ue])=>ue?ue.isSupported():(pi.error(`The "${G}" tech is undefined. Skipped browser support check for that tech.`),!1)),c=function(G,ue,Te){let Ke;return G.some(St=>ue.some(sr=>{if(Ke=Te(St,sr),Ke)return!0})),Ke};let y;const w=G=>(ue,Te)=>G(Te,ue),R=([G,ue],Te)=>{if(ue.canPlaySource(Te,this.options_[G.toLowerCase()]))return{source:Te,tech:G}};return this.options_.sourceOrder?y=c(t,o,w(R)):y=c(o,t,R),y||!1}handleSrc_(t,o){if(typeof t>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const c=Jc(t);if(!c.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,o||(this.cache_.sources=c),this.updateSourceCaches_(c[0]),Xc(this,c[0],(y,w)=>{if(this.middleware_=w,o||(this.cache_.sources=c),this.updateSourceCaches_(y),this.src_(y)){if
vendor: 4,256 bytes, line 955
955(c.length>1)return this.handleSrc_(c.slice(1));this.changingSrc_=!1,this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),this.triggerReady();return}pn(w,this.tech_)}),c.length>1){const y=()=>{this.error(null),this.handleSrc_(c.slice(1),!0)},w=()=>{this.off("error",y)};this.one("error",y),this.one("playing",w),this.resetRetryOnError_=()=>{this.off("error",y),this.off("playing",w)}}}src(t){return this.handleSrc_(t,!1)}src_(t){const o=this.selectSource([t]);return o?xl(o.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(o.tech,o.source),this.tech_.ready(()=>{this.changingSrc_=!1}),!1):!0}addSourceElement(t,o){return this.tech_?this.tech_.addSourceElement(t,o):!1}removeSourceElement(t){return this.tech_?this.tech_.removeSourceElement(t):!1}load(){if(this.tech_&&this.tech_.vhs){this.src(this.currentSource());return}this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{const t=this.play();ll(t.then(()=>this.doReset_()))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),this.error(null),this.titleBar&&this.titleBar.update({title:void 0,description:void 0}),No(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:t,durationDisplay:o,progressControl:c,remainingTimeDisplay:y}=this.controlBar||{},{seekBar:w}=c||{};t&&t.updateContent(),o&&o.updateContent(),y&&y.updateContent(),w&&(w.update(),w.loadProgressBar&&w.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const t=this.currentSource(),o=[];return Object.keys(t).length!==0&&o.push(t),this.cache_.sources||o}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(t){if(t!==void 0){this.techCall_("setPreload",t),this.options_.preload=t;return}return this.techGet_("preload")}autoplay(t){if(t===void 0)return this.options_.autoplay||!1;let o;typeof t=="string"&&/(any|play|muted)/.test(t)||t===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=t,this.manualAutoplay_(typeof t=="string"?t:"play"),o=!1):t?this.options_.autoplay=!0:this.options_.autoplay=!1,o=typeof o>"u"?this.options_.autoplay:o,this.tech_&&this.techCall_("setAutoplay",o)}playsinline(t){return t!==void 0&&(this.techCall_("setPlaysinline",t),this.options_.playsinline=t),this.techGet_("playsinline")}loop(t){if(t!==void 0){this.techCall_("setLoop",t),this.options_.loop=t;return}return this.techGet_("loop")}poster(t){if(t===void 0)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(t){if(t===void 0)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(t){if(t===void 0)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-control
955s"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(t){if(t===void 0)return this.error_||null;if(jn("beforeerror").forEach(o=>{const c=o(this,t);if(!(jo(c)&&!Array.isArray(c)||typeof c=="string"||typeof c=="number"||c===null)){this.log.error("please return a value that MediaError expects in beforeerror hooks");return}t=c}),this.options_.suppressNotSupportedError&&t&&t.code===4){const o=function(){this.error(t)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],o),this.one("loadstart",function(){this.off(["click","touchstart"],o)});return}if(t===null){this.error_=null,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new ba(t),this.addClass("vjs-error"),pi.error(`(CODE:${this.error_.code} ${ba.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),jn("error").forEach(o=>o(this,this.error_))}reportUserActivity(t){this.userActivity_=!0}userActive(t){if(t===void 0)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(o){o.stopPropagation(),o.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let t,o,c;const y=Na(this,this.reportUserActivity),w=function(St){(St.screenX!==o||St.screenY!==c)&&(o=St.screenX,c=St.screenY,y())},R=function(){y(),this.clearInterval(t),t=this.setInterval(y,250)},G=function(St){y(),this.clearInterval(t)};this.on("mousedown",R),this.on("mousemove",w),this.on("mouseup",G),this.on("mouseleave",G);const ue=this.getChild("controlBar");ue&&!qa&&!zo&&(ue.on("mouseenter",function(St){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),ue.on("mouseleave",function(St){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",y),this.on("keyup",y);let Te;const Ke=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(Te);const St=this.options_.inactivityTimeout;St<=0||(Te=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},St))};this.setInterval(Ke,250)}playbackRate(t){if(t!==void 0){this.techCall_("setPlaybackRate",t);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1}defaultPlaybackRate(t){return t!==void 0?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(t){if(t!==void 0){this.isAudio_=!!t;return}return!!this.isAudio_}updatePlayerHeightOnAudioOnlyMode_(){const t=this.getChild("ControlBar");!t||this.audioOnlyCache_.controlBarHeight===t.currentHeight()||(this.audioOnlyCache_.controlBarHeight=t.currentHeight(),this.height(this.audioOnlyCache_.controlBarHeight))}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const t=this.children(),o=this.getChild("ControlBar"),c=o&&o.currentHeight();t.forEach(y=>{y!==o&&y.el_&&!y.hasClass("vjs-hidden")&&(y.hide(),this.audioOnlyCache_.hiddenChildren.push(y))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.audioOnlyCache_.controlBarHeight=c,this.on("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.height(c),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.off("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.audioOnlyCache_.hiddenChildren.forEach(t=>t.show()),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(t){if(typeof t!="boolean"||t===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=t,t){const o=[];return this.isInPictureInPicture()&&o.push(this.exitPictureInPicture()),this.isFullscreen()&&o.push(this.exitFullscreen()),this.audioPosterMode()&&o.push(this.audioPosterMode(!1)),Promise.all(o).then(()=>this.enableAudioOnlyUI_())}return Promise.resolve().then(()=>this.disableAudioOnlyUI_())}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(t){return typeof t!="boolean"||t===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=t,t?this.audioOnlyMode()?this.audioOnlyMode(!1).then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.disablePosterModeUI_()}))}addTextTrack(t,o,c){if(this.tech_)return this.tech_.addTextTrack(t,o,c)}addRemoteTextTrack(t,o){if(this.tech_)return this.tech_.addRemoteTextTrack(t,o)}removeRemoteTextTrack(t={}){let{track:o}=t;if(o||(o=t),this.tech_)return this.tech_.removeRemoteTextTrack(o)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(t){if(t===void 0)return this.language_;this.language_!==String(t).toLowerCase()&&(this.language_=String(t).toLowerCase(),No(this)&&this.trigger("languagechange"))}languages(){return wa(ro.prototype.options_.languages,this.languages_)}toJSON(){const t=wa(this.options_),o=t.tracks;t.tracks=[];for(let c=0;c<o.length;c++){let y=o[c];y=wa(y),y.player=void 0,t.tracks[c]=y}return t}createModal(t,o){o=o||{},o.content=t||"";const c=new Bl(this,o);return this.addChild(c),c.on("dispose",()=>{this.removeChild(c)}),c.open(),c}updateCurrentBreakpoint_(){if(!this.responsive())return;const t=this.currentBreakpoint(),o=this.currentWidth();for(let c=0;c<ff.length;c++){const y=ff[c],w=this.breakpoints_[y];if(o<=w){if(t===y)return;t&&this.removeClass(Td[t]),this.addClass(Td[y]),this.breakpoint_=y;break}}}removeCurrentBreakpoint_(){const t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)}breakpoints(t){return t===void 0?Object.assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=Object.assign({},Zf,t),this.updateCurrentBreakpoint_(),Object.assign(this.breakpoints_))}responsive(t){if(t===void 0)return this.responsive_;t=!!t;const o=this.responsive_;if(t!==o)return this.responsive_=t,t?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return Td[this.breakpoint_]||""}loadMedia(t,o){if(!t||typeof t!="object")return;const c=this.crossOrigin();this.reset(),this.cache_.media=wa(t);const{artist:y,artwork:w,description:R,poster:G,src:ue,textTracks:Te,title:Ke}=this.cache_.media;!w&&G&&(this.cache_.media.artwork=[{src:G,type:Mc(G)}]),c&&this.crossOrigin(c),ue&&this.src(ue),G&&this.poster(G),Array.isArray(Te)&&Te.forEach(St=>this.addRemoteTextTrack(St,!1)),this.titleBar&&this.titleBar.update({title:Ke,description:R||y||""}),this.ready(o)}getMedia(){if(!this.cache_.media){const t=this.poster(),o=this.currentSources(),c=Array.prototype.map.call(this.remoteTextTracks(),w=>({kind:w.kind,label:w.label,language:w.language,src:w.src})),y={src:o,textTracks:c};return t&&(y.poster=t,y.artwork=[{src:y.poster,type:Mc(y.poster)}]),y}return wa(this.cache_.media)}static getTagSettings(t){const o={sources:[],tracks:[]},c=ko(t),y=c["data-setup"];if(Nl(t,"vjs-fill")&&(c.fill=!0),Nl(t,"vjs-fluid")&&(c.fluid=!0),y!==null)try{Object.assign(c,JSON.parse(y||"{}"))}catch(w){pi.error("data-setup",w)}if(Object.assign(o,c),t.hasChildNodes()){const w=t.childNodes;for(let R=0,G=w.length;R<G;
vendor: 44,693 bytes, lines 955-967
955R++){const ue=w[R],Te=ue.nodeName.toLowerCase();Te==="source"?o.sources.push(ko(ue)):Te==="track"&&o.tracks.push(ko(ue))}}return o}debug(t){if(t===void 0)return this.debugEnabled_;t?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(t){if(t===void 0)return this.cache_.playbackRates;Array.isArray(t)&&t.every(o=>typeof o=="number")&&(this.cache_.playbackRates=t,this.trigger("playbackrateschange"))}}ro.prototype.videoTracks=()=>{},ro.prototype.audioTracks=()=>{},ro.prototype.textTracks=()=>{},ro.prototype.remoteTextTracks=()=>{},ro.prototype.remoteTextTrackEls=()=>{},b.names.forEach(function(p){const t=b[p];ro.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),ro.prototype.crossorigin=ro.prototype.crossOrigin,ro.players={};const Hd=P().navigator;ro.prototype.options_={techOrder:ea.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Hd&&(Hd.languages&&Hd.languages[0]||Hd.userLanguage||Hd.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1,spatialNavigation:{enabled:!1,horizontalSeek:!1},enableSmoothSeeking:!1,disableSeekWhileScrubbingOnMobile:!1,disableSeekWhileScrubbingOnSTV:!1},Jf.forEach(function(p){ro.prototype[`handleTech${eo(p)}_`]=function(){return this.trigger(p)}}),In.registerComponent("Player",ro);const bc="plugin",id="activePlugins_",Sc={},hf=p=>Sc.hasOwnProperty(p),pf=p=>hf(p)?Sc[p]:void 0,jf=(p,t)=>{p[id]=p[id]||{},p[id][t]=!0},wd=(p,t,o)=>{const c=(o?"before":"")+"pluginsetup";p.trigger(c,t),p.trigger(c+":"+t.name,t)},zu=function(p,t){const o=function(){wd(this,{name:p,plugin:t,instance:null},!0);const c=t.apply(this,arguments);return jf(this,p),wd(this,{name:p,plugin:t,instance:c}),c};return Object.keys(t).forEach(function(c){o[c]=t[c]}),o},sd=(p,t)=>(t.prototype.name=p,function(...o){wd(this,{name:p,plugin:t,instance:null},!0);const c=new t(this,...o);return this[p]=()=>c,wd(this,c.getEventHash()),c});class xu{constructor(t){if(this.constructor===xu)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),pu(this),delete this.trigger,Ic(this,this.constructor.defaultState),jf(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(t={}){return t.name=this.name,t.plugin=this.constructor,t.instance=this,t}trigger(t,o={}){return yl(this.eventBusEl_,t,this.getEventHash(o))}handleStateChanged(t){}dispose(){const{name:t,player:o}=this;this.trigger("dispose"),this.off(),o.off("dispose",this.dispose),o[id][t]=!1,this.player=this.state=null,o[t]=sd(t,Sc[t])}static isBasic(t){const o=typeof t=="string"?pf(t):t;return typeof o=="function"&&!xu.prototype.isPrototypeOf(o.prototype)}static registerPlugin(t,o){if(typeof t!="string")throw new Error(`Illegal plugin name, "${t}", must be a string, was ${typeof t}.`);if(hf(t))pi.warn(`A plugin named "${t}" already exists. You may want to avoid re-registering plugins!`);else if(ro.prototype.hasOwnProperty(t))throw new Error(`Illegal plugin name, "${t}", cannot share a name with an existing player method!`);if(typeof o!="function")throw new Error(`Illegal plugin for "${t}", must be a function, was ${typeof o}.`);return Sc[t]=o,t!==bc&&(xu.isBasic(o)?ro.prototype[t]=zu(t,o):ro.prototype[t]=sd(t,o)),o}static deregisterPlugin(t){if(t===bc)throw new Error("Cannot de-register base plugin.");hf(t)&&(delete Sc[t],delete ro.prototype[t])}static getPlugins(t=Object.keys(Sc)){let o;return t.forEach(c=>{const y=pf(c);y&&(o=o||{},o[c]=y)}),o}static getPluginVersion(t){const o=pf(t);return o&&o.VERSION||""}}xu.getPlugin=pf,xu.BASE_PLUGIN_NAME=bc,xu.registerPlugin(bc,xu),ro.prototype.usingPlugin=function(p){return!!this[id]&&this[id][p]===!0},ro.prototype.hasPlugin=function(p){return!!hf(p)};function Wd(p,t){let o=!1;return function(...c){return o||pi.warn(p),o=!0,t.apply(this,c)}}function Wl(p,t,o,c){return Wd(`${t} is deprecated and will be removed in ${p}.0; please use ${o} instead.`,c)}var mr={NetworkBadStatus:"networkbadstatus",NetworkRequestFailed:"networkrequestfailed",NetworkRequestAborted:"networkrequestaborted",NetworkRequestTimeout:"networkrequesttimeout",NetworkBodyParserFailed:"networkbodyparserfailed",StreamingHlsPlaylistParserError:"streaminghlsplaylistparsererror",StreamingDashManifestParserError:"streamingdashmanifestparsererror",StreamingContentSteeringParserError:"streamingcontentsteeringparsererror",StreamingVttParserError:"streamingvttparsererror",StreamingFailedToSelectNextSegment:"streamingfailedtoselectnextsegment",StreamingFailedToDecryptSegment:"streamingfailedtodecryptsegment",StreamingFailedToTransmuxSegment:"streamingfailedtotransmuxsegment",StreamingFailedToAppendSegment:"streamingfailedtoappendsegment",StreamingCodecsChangeError:"streamingcodecschangeerror"};const $r=p=>p.indexOf("#")===0?p.slice(1):p;function Ot(p,t,o){let c=Ot.getPlayer(p);if(c)return t&&pi.warn(`Player "${p}" is already initialised. Options will not be applied.`),o&&c.ready(o),c;const y=typeof p=="string"?Ai("#"+$r(p)):p;if(!eu(y))throw new TypeError("The element or ID supplied is not valid. (videojs)");const R=("getRootNode"in y?y.getRootNode()instanceof P().ShadowRoot:!1)?y.getRootNode():y.ownerDocument.body;(!y.ownerDocument.defaultView||!R.contains(y))&&pi.warn("The element supplied is not included in the DOM"),t=t||{},t.restoreEl===!0&&(t.restoreEl=(y.parentNode&&y.parentNode.hasAttribute&&y.parentNode.hasAttribute("data-vjs-player")?y.parentNode:y).cloneNode(!0)),jn("beforesetup").forEach(ue=>{const Te=ue(y,wa(t));if(!jo(Te)||Array.isArray(Te)){pi.error("please return an object in beforesetup hooks");return}t=wa(t,Te)});const G=In.getComponent("Player");return c=new G(y,t,o),jn("setup").forEach(ue=>ue(c)),c}if(Ot.hooks_=Nn,Ot.hooks=jn,Ot.hook=fi,Ot.hookOnce=Ii,Ot.removeHook=xi,P().VIDEOJS_NO_DYNAMIC_STYLE!==!0&&Mu()){let p=Ai(".vjs-styles-defaults");if(!p){p=Qo("vjs-styles-defaults");const t=Ai("head");t&&t.insertBefore(p,t.firstChild),So(p,` 956 .video-js { 957 width: 300px; 958 height: 150px; 959 } 960 961 .vjs-fluid:not(.vjs-audio-only-mode) { 962 padding-top: 56.25% 963 } 964 `)}}Ha(1,Ot),Ot.VERSION=cn,Ot.options=ro.prototype.options_,Ot.getPlayers=()=>ro.players,Ot.getPlayer=p=>{const t=ro.players;let o;if(typeof p=="string"){const c=$r(p),y=t[c];if(y)return y;o=Ai("#"+c)}else o=p;if(eu(o)){const{player:c,playerId:y}=o;if(c||t[y])return c||t[y]}},Ot.getAllPlayers=()=>Object.keys(ro.players).map(p=>ro.players[p]).filter(Boolean),Ot.players=ro.players,Ot.getComponent=In.getComponent,Ot.registerComponent=(p,t)=>(ea.isTech(t)&&pi.warn(`The ${p} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),In.registerComponent.call(In,p,t)),Ot.getTech=ea.getTech,Ot.registerTech=ea.registerTech,Ot.use=Dc,Object.defineProperty(Ot,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Ot.middleware,"TERMINATOR",{value:Al,writeable:!1,enumerable:!0}),Ot.browser=Lo,Ot.obj=Ca,Ot.mergeOptions=Wl(9,"videojs.mergeOptions","videojs.obj.merge",wa),Ot.defineLazyProperty=Wl(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",el),Ot.bind=Wl(9,"videojs.bind","native Function.prototype.bind",Na),Ot.registerPlugin=xu.registerPlugin,Ot.deregisterPlugin=xu.deregisterPlugin,Ot.plugin=(p,t)=>(pi.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),xu.registerPlugin(p,t)),Ot.getPlugins=xu.getPlugins,Ot.getPlugin=xu.getPlugin,Ot.getPluginVersion=xu.getPluginVersion,Ot.addLanguage=function(p,t){return p=(""+p).toLowerCase(),Ot.options.languages=wa(Ot.options.languages,{[p]:t}),Ot.options.languages[p]},Ot.log=pi,Ot.createLogger=ra,Ot.time=Zl,Ot.createTimeRange=Wl(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Ua),Ot.createTimeRanges=Wl(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Ua),Ot.formatTime=Wl(9,"videojs.formatTime","videojs.time.formatTime",Vu),Ot.setFormatTime=Wl(9,"videojs.setFormatTime","videojs.time.setFormatTime",wo),Ot.resetFormatTime=Wl(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",fc),Ot.parseUrl=Wl(9,"videojs.parseUrl","videojs.url.parseUrl",es),Ot.isCrossOrigin=Wl(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",Io),Ot.EventTarget=Ou,Ot.any=du,Ot.on=Cu,Ot.one=Ql,Ot.off=Kn,Ot.trigger=yl,Ot.xhr=$(),Ot.TrackList=cl,Ot.TextTrack=Kc,Ot.TextTrackList=Sa,Ot.AudioTrack=Yc,Ot.AudioTrackList=_l,Ot.VideoTrack=bd,Ot.VideoTrackList=hc,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(p=>{Ot[p]=function(){return pi.warn(`videojs.${p}() is deprecated; use videojs.dom.${p}() instead`),ho[p].apply(null,arguments)}}),Ot.computedStyle=Wl(9,"videojs.computedStyle","videojs.dom.computedStyle",Xs),Ot.dom=ho,Ot.fn=hd,Ot.num=If,Ot.str=Ld,Ot.url=ru,Ot.Error=mr;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class ci{constructor(t){let o=this;return o.id=t.id,o.label=o.id,o.width=t.width,o.height=t.height,o.bitrate=t.bandwidth,o.frameRate=t.frameRate,o.enabled_=t.enabled,Object.defineProperty(o,"enabled",{get(){return o.enabled_()},set(c){o.enabled_(c)}}),o}}class ui extends Ot.EventTarget{constructor(){super();let t=this;return t.levels_=[],t.selectedIndex_=-1,Object.defineProperty(t,"selectedIndex",{get(){return t.selectedIndex_}}),Object.defineProperty(t,"length",{get(){return t.levels_.length}}),t[Symbol.iterator]=()=>t.levels_.values(),t}addQualityLevel(t){let o=this.getQualityLevelById(t.id);if(o)return o;const c=this.levels_.length;return o=new ci(t),""+c in this||Object.defineProperty(this,c,{get(){return this.levels_[c]}}),this.levels_.push(o),this.trigger({qualityLevel:o,type:"addqualitylevel"}),o}removeQualityLevel(t){let o=null;for(let c=0,y=this.length;c<y;c++)if(this[c]===t){o=this.levels_.splice(c,1)[0],this.selectedIndex_===c?this.selectedIndex_=-1:this.selectedIndex_>c&&this.selectedIndex_--;break}return o&&this.trigger({qualityLevel:t,type:"removequalitylevel"}),o}getQualityLevelById(t){for(let o=0,c=this.length;o<c;o++){const y=this[o];if(y.id===t)return y}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}ui.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const p in ui.prototype.allowedEvents_)ui.prototype["on"+p]=null;var Ds="4.1.0";const Ls=function(p,t){const o=p.qualityLevels,c=new ui,y=function(){c.dispose(),p.qualityLevels=o,p.off("dispose",y)};return p.on("dispose",y),p.qualityLevels=()=>c,p.qualityLevels.VERSION=Ds,c},js=function(p){return Ls(this,Ot.obj.merge({},p))};Ot.registerPlugin("qualityLevels",js),js.VERSION=Ds;/*! @name @videojs/http-streaming @version 3.17.3 @license Apache-2.0 */const Ji=ie,Qs=(p,t)=>t&&t.responseURL&&p!==t.responseURL?t.responseURL:p,ws=p=>Ot.log.debug?Ot.log.debug.bind(Ot,"VHS:",`${p} >`):function(){};function ts(...p){const t=Ot.obj||Ot;return(t.merge||t.mergeOptions).apply(t,p)}function Ts(...p){const t=Ot.time||Ot;return(t.createTimeRanges||t.createTimeRanges).apply(t,p)}function Ga(p){if(p.length===0)return"Buffered Ranges are empty";let t=`Buffered Ranges: 965`;for(let o=0;o<p.length;o++){const c=p.start(o),y=p.end(o);t+=`${c} --> ${y}. Duration (${y-c}) 966`}return t}const _a=1/30,Ka=_a*3,co=function(p,t){const o=[];let c;if(p&&p.length)for(c=0;c<p.length;c++)t(p.start(c),p.end(c))&&o.push([p.start(c),p.end(c)]);return Ts(o)},Ya=function(p,t){return co(p,function(o,c){return o-Ka<=t&&c+Ka>=t})},Ru=function(p,t){return co(p,function(o){return o-_a>=t})},pl=function(p){if(p.length<2)return Ts();const t=[];for(let o=1;o<p.length;o++){const c=p.end(o-1),y=p.start(o);t.push([c,y])}return Ts(t)},mf=function(p,t){let o=null,c=null,y=0;const w=[],R=[];if(!p||!p.length||!t||!t.length)return Ts();let G=p.length;for(;G--;)w.push({time:p.start(G),type:"start"}),w.push({time:p.end(G),type:"end"});for(G=t.length;G--;)w.push({time:t.start(G),type:"start"}),w.push({time:t.end(G),type:"end"});for(w.sort(function(ue,Te){return ue.time-Te.time}),G=0;G<w.length;G++)w[G].type==="start"?(y++,y===2&&(o=w[G].time)):w[G].type==="end"&&(y--,y===1&&(c=w[G].time)),o!==null&&c!==null&&(R.push([o,c]),o=null,c=null);return Ts(R)},kc=p=>{const t=[];if(!p||!p.length)return"";for(let o=0;o<p.length;o++)t.push(p.start(o)+" => "+p.end(o));return t.join(", ")},Vd=function(p,t,o=1){return((p.length?p.end(p.length-1):0)-t)/o},Qu=p=>{const t=[];for(let o=0;o<p.length;o++)t.push({start:p.start(o),end:p.end(o)});return t},Vl=function(p,t){if(p===t)return!1;if(!p&&t||!t&&p||p.length!==t.length)return!0;for(let o=0;o<p.length;o++)if(p.start(o)!==t.start(o)||p.end(o)!==t.end(o))return!0;return!1},_d=function(p){if(!(!p||!p.length||!p.end))return p.end(p.length-1)},sc=function(p,t){let o=0;if(!p||!p.length)return o;for(let c=0;c<p.length;c++){const y=p.start(c),w=p.end(c);if(!(t>w)){if(t>y&&t<=w){o+=w-t;continue}o+=w-y}}return o},ad=(p,t)=>{if(!t.preload)return t.duration;let o=0;return(t.parts||[]).forEach(function(c){o+=c.duration}),(t.preloadHints||[]).forEach(function(c){c.type==="PART"&&(o+=p.partTargetDuration)}),o},Ad=p=>(p.segments||[]).reduce((t,o,c)=>(o.parts?o.parts.forEach(function(y,w){t.push({duration:y.duration,segmentIndex:c,partIndex:w,part:y,segment:o})}):t.push({duration:o.duration,segmentIndex:c,partIndex:null,segment:o,part:null}),t),[]),Gd=p=>{const t=p.segments&&p.segments.length&&p.segments[p.segments.length-1];return t&&t.parts||[]},Ma=({preloadSegment:p})=>{if(!p)return;const{parts:t,preloadHints:o}=p;let c=(o||[]).reduce((y,w)=>y+(w.type==="PART"?1:0),0);return c+=t&&t.length?t.length:0,c},Ju=(p,t)=>{if(t.endList)return 0;if(p&&p.suggestedPresentationDelay)return p.suggestedPresentationDelay;const o=Gd(t).length>0;return o&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:o&&t.partTargetDuration?t.partTargetDuration*3:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?t.targetDuration*3:0},xc=function(p,t){let o=0,c=t-p.mediaSequence,y=p.segments[c];if(y){if(typeof y.start<"u")return{result:y.start,precise:!0};if(typeof y.end<"u")return{result:y.end-y.duration,precise:!0}}for(;c--;){if(y=p.segments[c],typeof y.end<"u")return{result:o+y.end,precise:!0};if(o+=ad(p,y),typeof y.start<"u")return{result:o+y.start,precise:!0}}return{result:o,precise:!1}},Ec=function(p,t){let o=0,c,y=t-p.mediaSequence;for(;y<p.segments.length;y++){if(c=p.segments[y],typeof c.start<"u")return{result:c.start-o,precise:!0};if(o+=ad(p,c),typeof c.end<"u")return{result:c.end-o,precise:!0}}return{result:-1,precise:!1}},zf=function(p,t,o){if(typeof t>"u"&&(t=p.mediaSequence+p.segments.length),t<p.mediaSequence)return 0;const c=xc(p,t);if(c.precise)return c.result;const y=Ec(p,t);return y.precise?y.result:c.result+o},Cd=function(p,t,o){if(!p)return 0;if(typeof o!="number"&&(o=0),typeof t>"u"){if(p.totalDuration)return p.totalDuration;if(!p.endList)return P()[1/0]}return zf(p,t,o)},fo=function({defaultDuration:p,durationList:t,startIndex:o,endIndex:c}){let y=0;if(o>c&&([o,c]=[c,o]),o<0){for(let w=o;w<Math.min(0,c);w++)y+=p;o=0}for(let w=o;w<c;w++)y+=t[w].duration;return y},ac=function(p,t,o,c){if(!p||!p.segments)return null;if(p.endList)return Cd(p);if(t===null)return null;t=t||0;let y=zf(p,p.mediaSequence+p.segments.length,t);return o&&(c=typeof c=="number"?c:Ju(null,p),y-=c),Math.max(0,y)},Od=function(p,t,o){const y=t||0;let w=ac(p,t,!0,o);return w===null?Ts():(w<y&&(w=y),Ts(y,w))},qf=function({playlist:p,currentTime:t,startingSegmentIndex:o,startingPartIndex:c,startTime:y,exactManifestTimings:w}){let R=t-y;const G=Ad(p);let ue=0;for(let Te=0;Te<G.length;Te++){const Ke=G[Te];if(o===Ke.segmentIndex&&!(typeof c=="number"&&typeof Ke.partIndex=="number"&&c!==Ke.partIndex)){ue=Te;break}}if(R<0){if(ue>0)for(let Te=ue-1;Te>=0;Te--){const Ke=G[Te];if(R+=Ke.duration,w){if(R<0)continue}else if(R+_a<=0)continue;return{partIndex:Ke.partIndex,segmentIndex:Ke.segmentIndex,startTime:y-fo({defaultDuration:p.targetDuration,durationList:G,startIndex:ue,endIndex:Te})}}return{partIndex:G[0]&&G[0].partIndex||null,segmentIndex:G[0]&&G[0].segmentIndex||0,startTime:t}}if(ue<0){for(let Te=ue;Te<0;Te++)if(R-=p.targetDuration,R<0)return{partIndex:G[0]&&G[0].partIndex||null,segmentIndex:G[0]&&G[0].segmentIndex||0,startTime:t};ue=0}for(let Te=ue;Te<G.length;Te++){const Ke=G[Te];R-=Ke.duration;const St=Ke.duration>_a,sr=R===0,wr=St&&R+_a>=0;if(!((sr||wr)&&Te!==G.length-1)){if(w){if(R>0)continue}else if(R-_a>=0)continue;return{partIndex:Ke.partIndex,segmentIndex:Ke.segmentIndex,startTime:y+fo({defaultDuration:p.targetDuration,durationList:G,startIndex:ue,endIndex:Te})}}}return{segmentIndex:G[G.length-1].segmentIndex,partIndex:G[G.length-1].partIndex,startTime:t}},eh=function(p){return p.excludeUntil&&p.excludeUntil>Date.now()},$f=function(p){return p.excludeUntil&&p.excludeUntil===1/0},Kd=function(p){const t=eh(p);return!p.disabled&&!t},Gh=function(p){return p.disabled},_h=function(p){for(let t=0;t<p.segments.length;t++)if(p.segments[t].key)return!0;return!1},Ah=function(p,t){return t.attributes&&t.attributes[p]},Ch=function(p,t,o,c=0){return Ah("BANDWIDTH",o)?(p*o.attributes.BANDWIDTH-c*8)/t:NaN},Oh=(p,t)=>{if(p.playlists.length===1)return!0;const o=t.attributes.BANDWIDTH||Number.MAX_VALUE;return p.playlists.filter(c=>Kd(c)?(c.attributes.BANDWIDTH||0)<o:!1).length===0},Id=(p,t)=>!p&&!t||!p&&t||p&&!t?!1:!!(p===t||p.id&&t.id&&p.id===t.id||p.resolvedUri&&t.resolvedUri&&p.resolvedUri===t.resolvedUri||p.uri&&t.uri&&p.uri===t.uri),th=function(p,t){const o=p&&p.mediaGroups&&p.mediaGroups.AUDIO||{};let c=!1;for(const y in o){for(const w in o[y])if(c=t(o[y][w]),c)break;if(c)break}return!!c},kf=p=>{if(!p||!p.playlists||!p.playlists.length)return th(p,o=>o.playlists&&o.playlists.length||o.uri);for(let t=0;t<p.playlists.length;t++){const o=p.playlists[t],c=o.attributes&&o.attributes.CODECS;if(!(c&&c.split(",").every(w=>dn(w))||th(p,w=>Id(o,w))))return!1}return!0};var Dl={liveEdgeDelay:Ju,duration:Cd,seekable:Od,getMediaInfoForTime:qf,isEnabled:Kd,isDisabled:Gh,isExcluded:eh,isIncompatible:$f,playlistEnd:ac,isAes:_h,hasAttribute:Ah,estimateSegmentRequestTime:Ch,isLowestEnabledRendition:Oh,isAudioOnly:kf,playlistMatch:Id,segmentDurationWithParts:ad};const{log:rh}=Ot,gf=(p,t)=>`${p}-${t}`,Ih=(p,t,o)=>`placeholder-uri-${p}-${t}-${o}`,Kh=({onwarn:p,oninfo:t,manifestString:o,customTagParsers:c=[],customTagMappers:y=[],llhls:w})=>{const R=new $e;p&&R.on("warn",p),t&&R.on("info",t),c.forEach(Te=>R.addParser(Te)),y.forEach(Te=>R.addTagMapper(Te)),R.push(o),R.end();const G=R.manifest;if(w||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(Te){G.hasOwnProperty(Te)&&delete G[Te]}),G.segments&&G.segments.forEach(function(Te){["parts","preloadHints"].forEach(function(Ke){Te.hasOwnProperty(Ke)&&delete Te[Ke]})})),!G.targetDuration){let Te=10;G.segments&&G.segments.length&&(Te=G.segments.reduce((Ke,St)=>Math.max(Ke,St.duration),0)),p&&p({message:`manifest has no targetDuration defaulting to ${Te}`}),G.targetDuration=Te}const ue=Gd(G);if(ue.length&&!G.partTargetDuration){const Te=ue.reduce((Ke,St)=>Math.max(Ke,St.duration),0);p&&(p({message:`manifest has no partTargetDuration defaulting to ${Te}`}),rh.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),G.partTargetDuration=Te}return G},vf=(p,t)=>{p.mediaGroups&&["AUDIO","SUBTITLES"].forEach(o=>{if(p.mediaGroups[o])for(const c in p.mediaGroups[o])for(const y in p.mediaGroups[o][c]){const w=p.mediaGroups[o][c][y];t(w,o,c,y)}})},Yh=({playlist:p,uri:t,id:o})=>{p.id=o,p.playlistErrors_=0,t&&(p.uri=t),p.attributes=p.attributes||{}},xp=p=>{let t=p.playlists.length;for(;t--;){const o=p.playlists[t];Yh({playlist:o,id:gf(t,o.uri)}),o.resolvedUri=Ji(p.uri,o.uri),p.playlists[o.id]=o,p.playlists[o.uri]=o,o.attributes.BANDWIDTH||rh.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},Ep=p=>{vf(p,t=>{t.uri&&(t.resolvedUri=Ji(p.uri,t.uri))})},nh=(p,t)=>{const o=gf(0,t),c={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:P().location.href,resolvedUri:P().location.href,playlists:[{uri:t,id:o,resolvedUri:t,attributes:{}}]};return c.playlists[o]=c.playlists[0],c.playlists[t]=c.playlists[0],c},Xh=(p,t,o=Ih)=>{p.uri=t;for(let y=0;y<p.playlists.length;y++)if(!p.playlists[y].uri){const w=`placeholder-uri-${y}`;p.playlists[y].uri=w}const c=kf(p);vf(p,(y,w,R,G)=>{if(!y.playlists||!y.playlists.length){if(c&&w==="AUDIO"&&!y.uri)for(let ue=0;ue<p.playlists.length;ue++){const Te=p.playlists[ue];if(Te.attributes&&Te.attributes.AUDIO&&Te.attributes.AUDIO===R)return}y.playlists=[W({},y)]}y.playlists.forEach(function(ue,Te){const Ke=o(w,R,G,ue),St=gf(Te,Ke);ue.uri?ue.resolvedUri=ue.resolvedUri||Ji(p.uri,ue.uri):(ue.uri=Te===0?Ke:St,ue.resolvedUri=ue.uri),ue.id=ue.id||St,ue.attributes=ue.attributes||{},p.playlists[ue.id]=ue,p.playlists[ue.uri]=ue})}),xp(p),Ep(p)};class Qh{constructor(){this.offset_=null,this.pendingDateRanges_=new Map,this.processedDateRanges_=new Map}setOffset(t=[]){if(this.offset_!==null||!t.length)return;const[o]=t;o.programDateTime!==void 0&&(this.offset_=o.programDateTime/1e3)}setPendingDateRanges(t=[]){if(!t.length)return;const[o]=t,c=o.startDate.getTime();this.trimProcessedDateRanges_(c),this.pendingDateRanges_=t.reduce((y,w)=>(y.set(w.id,w),y),new Map)}processDateRange(t){this.pendingDateRanges_.delete(t.id),this.processedDateRanges_.set(t.id,t)}getDateRangesToProcess(){if(this.offset_===null)return[];const t={},o=[];this.pendingDateRanges_.forEach((c,y)=>{if(!this.processedDateRanges_.has(y)&&(c.startTime=c.startDate.getTime()/1e3-this.offset_,c.processDateRange=()=>this.processDateRange(c),o.push(c),!!c.class))if(t[c.class]){const w=t[c.class].push(c);c.classListIndex=w-1}else t[c.class]=[c],c.classListIndex=0});for(const c of o){const y=t[c.class]||[];c.endDate?c.endTime=c.endDate.getTime()/1e3-this.offset_:c.endOnNext&&y[c.classListIndex+1]?c.endTime=y[c.classListIndex+1].startTime:c.duration?c.endTime=c.startTime+c.duration:c.plannedDuration?c.endTime=c.startTime+c.plannedDuration:c.endTime=c.startTime}return o}trimProcessedDateRanges_(t){new Map(this.processedDateRanges_).forEach((c,y)=>{c.startDate.getTime()<t&&this.processedDateRanges_.delete(y)})}}const Ph=22,yf=({requestType:p,request:t,error:o,parseFailure:c})=>{const y=t.status<200||t.status>299,w=t.status>=400&&t.status<=499,R={uri:t.uri,requestType:p},G=y&&!w||c;if(o&&w)R.error=W({},o),R.errorType=Ot.Error.NetworkRequestFailed;else if(t.aborted)R.errorType=Ot.Error.NetworkRequestAborted;else if(t.timedout)R.errorType=Ot.Error.NetworkRequestTimeout;else if(G){const ue=c?Ot.Error.NetworkBodyParserFailed:Ot.Error.NetworkBadStatus;R.errorType=ue,R.status=t.status,R.headers=t.headers}return R},Tp=ws("CodecUtils"),Jh=function(p){const t=p.attributes||{};if(t.CODECS)return Sr(t.CODECS)},Zh=(p,t)=>{const o=t.attributes||{};return p&&p.mediaGroups&&p.mediaGroups.AUDIO&&o.AUDIO&&p.mediaGroups.AUDIO[o.AUDIO]},wp=(p,t)=>{if(!Zh(p,t))return!0;const o=t.attributes||{},c=p.mediaGroups.AUDIO[o.AUDIO];for(const y in c)if(!c[y].uri&&!c[y].playlists)return!0;return!1},Hf=function(p){const t={};return p.forEach(({mediaType:o,type:c,details:y})=>{t[o]=t[o]||[],t[o].push(kt(`${c}${y}`))}),Object.keys(t).forEach(function(o){if(t[o].length>1){Tp(`multiple ${o} codecs found as attributes: ${t[o].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),t[o]=null;return}t[o]=t[o][0]}),t},qh=function(p){let t=0;return p.audio&&t++,p.video&&t++,t},Wf=function(p,t){const o=t.attributes||{},c=Hf(Jh(t)||[]);if(Zh(p,t)&&!c.audio&&!wp(p,t)){const y=Hf(Yr(p,o.AUDIO)||[]);y.audio&&(c.audio=y.audio)}return c},{EventTarget:ih}=Ot,_p=(p,t)=>{if(t.endList||!t.serverControl)return p;const o={};if(t.serverControl.canBlockReload){const{preloadSegment:c}=t;let y=t.mediaSequence+t.segments.length;if(c){const w=c.parts||[],R=Ma(t)-1;R>-1&&R!==w.length-1&&(o._HLS_part=R),(R>-1||w.length)&&y--}o._HLS_msn=y}if(t.serverControl&&t.serverControl.canSkipUntil&&(o._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(o).length){const c=new(P()).URL(p);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(y){o.hasOwnProperty(y)&&c.searchParams.set(y,o[y])}),p=c.toString()}return p},ep=(p,t)=>{if(!p)return t;const o=ts(p,t);if(p.preloadHints&&!t.preloadHints&&delete o.preloadHints,p.parts&&!t.parts)delete o.parts;else if(p.parts&&t.parts)for(let c=0;c<t.parts.length;c++)p.parts&&p.parts[c]&&(o.parts[c]=ts(p.parts[c],t.parts[c]));return!p.skipped&&t.skipped&&(o.skipped=!1),p.preload&&!t.preload&&(o.preload=!1),o},tp=(p,t,o)=>{const c=p.slice(),y=t.slice();o=o||0;const w=[];let R;for(let G=0;G<y.length;G++){const ue=c[G+o],Te=y[G];ue?(R=ue.map||R,w.push(ep(ue,Te))):(R&&!Te.map&&(Te.map=R),w.push(Te))}return w},sh=(p,t)=>{!p.resolvedUri&&p.uri&&(p.resolvedUri=Ji(t,p.uri)),p.key&&!p.key.resolvedUri&&(p.key.resolvedUri=Ji(t,p.key.uri)),p.map&&!p.map.resolvedUri&&(p.map.resolvedUri=Ji(t,p.map.uri)),p.map&&p.map.key&&!p.map.key.resolvedUri&&(p.map.key.resolvedUri=Ji(t,p.map.key.uri)),p.parts&&p.parts.length&&p.parts.forEach(o=>{o.resolvedUri||(o.resolvedUri=Ji(t,o.uri))}),p.preloadHints&&p.preloadHints.length&&p.preloadHints.forEach(o=>{o.resolvedUri||(o.resolvedUri=Ji(t,o.uri))})},Rh=function(p){const t=p.segments||[],o=p.preloadSegment;if(o&&o.parts&&o.parts.length){if(o.preloadHints){for(let c=0;c<o.preloadHints.length;c++)if(o.preloadHints[c].type==="MAP")return t}o.duration=p.targetDuration,o.preload=!0,t.push(o)}return t},Dh=(p,t)=>p===t||p.segments&&t.segments&&p.segments.length===t.segments.length&&p.endList===t.endList&&p.mediaSequence===t.mediaSequence&&p.preloadSegment===t.preloadSegment,ah=(p,t,o=Dh)=>{const c=ts(p,{}),y=c.playlists[t.id];if(!y||o(y,t))return null;t.segments=Rh(t);const w=ts(y,t);if(w.preloadSegment&&!t.preloadSegment&&delete w.preloadSegment,y.segments){if(t.skip){t.segments=t.segments||[];for(let R=0;R<t.skip.skippedSegments;R++)t.segments.unshift({skipped:!0})}w.segments=tp(y.segments,t.segments,t.mediaSequence-y.mediaSequence)}w.segments.forEach(R=>{sh(R,w.resolvedUri)});for(let R=0;R<c.playlists.length;R++)c.playlists[R].id===t.id&&(c.playlists[R]=w);return c.playlists[t.id]=w,c.playlists[t.uri]=w,vf(p,(R,G,ue,Te)=>{if(R.playlists)for(let Ke=0;Ke<R.playlists.length;Ke++)t.id===R.playlists[Ke].id&&(R.playlists[Ke]=w)}),c},Lh=(p,t)=>{const o=p.segments||[],c=o[o.length-1],y=c&&c.parts&&c.parts[c.parts.length-1],w=y&&y.duration||c&&c.duration;return t&&w?w*1e3:(p.partTargetDuration||p.targetDuration||10)*500},Mh=(p,t,o)=>{if(!p)return;const c=[];return p.forEach(y=>{if(!y.attributes)return;const{BANDWIDTH:w,RESOLUTION:R,CODECS:G}=y.attributes;c.push({id:y.id,bandwidth:w,resolution:R,codecs:G})}),{type:t,isLive:o,renditions:c}};class Nf extends ih{constructor(t,o,c={}){if(super(),!t)throw new Error("A non-empty playlist URL or object is required");this.logger_=ws("PlaylistLoader");const{withCredentials:y=!1}=c;this.src=t,this.vhs_=o,this.withCredentials=y,this.addDateRangesToTextTrack_=c.addDateRangesToTextTrack;const w=o.options_;this.customTagParsers=w&&w.customTagParsers||[],this.customTagMappers=w&&w.customTagMappers||[],this.llhls=w&&w.llhls,this.dateRangesStorage_=new Qh,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_),this.on("loadedplaylist",this.handleLoadedPlaylist_.bind(this))}handleLoadedPlaylist_(){const t=this.media();if(!t)return;this.dateRangesStorage_.setOffset(t.segments),this.dateRangesStorage_.setPendingDateRanges(t.dateRanges);const o=this.dateRangesStorage_.getDateRangesToProcess();!o.length||!this.addDateRangesToTextTrack_||this.addDateRangesToTextTrack_(o)}handleMediaupdatetimeout_(){if(this.state!=="HAVE_METADATA")return;const t=this.media();let o=Ji(this.main.uri,t.uri);this.llhls&&(o=_p(o,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:o,withCredentials:this.withCredentials,requestType:"hls-playlist"},(c,y)=>{if(this.request){if(c)return this.playlistRequestError(this.request,this.media(),"HAVE_METADATA");this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}})}playlistRequestError(t,o,c){const{uri:y,id:w}=o;this.request=null,c&&(this.state=c),this.error={playlist:this.main.playlists[w],status:t.status,message:`HLS playlist request error at URL: ${y}.`,responseText:t.responseText,code:t.status>=500?4:2,metadata:yf({requestType:t.requestType,request:t,error:t.error})},this.trigger("error")}parseManifest_({url:t,manifestString:o}){try{const c=Kh({onwarn:({message:y})=>this.logger_(`m3u8-parser warn for ${t}: ${y}`),oninfo:({message:y})=>this.logger_(`m3u8-parser info for ${t}: ${y}`),manifestString:o,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls});return!c.playlists||!c.playlists.length||this.excludeAudioOnlyVariants(c.playlists),c}catch(c){this.error=c,this.error.metadata={errorType:Ot.Error.StreamingHlsPlaylistParserError,error:c}}}excludeAudioOnlyVariants(t){const o=c=>{const y=c.attributes||{},{width:w,height:R}=y.RESOLUTION||{};if(w&&R)return!0;const G=Jh(c)||[];return!!Hf(G).video};t.some(o)&&t.forEach(c=>{o(c)||(c.excludeUntil=1/0)})}haveMetadata({playlistString:t,playlistObject:o,url:c,id:y}){this.request=null,this.state="HAVE_METADATA";const w={playlistInfo:{type:"media",uri:c}};this.trigger({type:"playlistparsestart",metadata:w});const R=o||this.parseManifest_({url:c,manifestString:t});R.lastRequest=Date.now(),Yh({playlist:R,uri:c,id:y});const G=ah(this.main,R);this.targetDuration=R.partTargetDuration||R.targetDuration,this.pendingMedia_=null,G?(this.main=G,this.media_=this.main.playlists[y]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Lh(this.media(),!!G)),w.parsedPlaylist=Mh(this.main.playlists,w.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:w}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),P().clearTimeout(this.mediaUpdateTimeout),P().clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new Qh,this.off()}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t,o){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof t=="string"){if(!this.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.main.playlists[t]}if(P().clearTimeout(this.finalRenditionTimeout),o){const G=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=P().setTimeout(this.media.bind(this,t,!1),G);return}const c=this.state,y=!this.media_||t.id!==this.media_.id,w=this.main.playlists[t.id];if(w&&w.endList||t.endList&&t.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,y&&(this.trigger("mediachanging"),c==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(Lh(t,!0)),!y)return;if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=t;const R={playlistInfo:{type:"media",uri:t.uri}};this.trigger({type:"playlistrequeststart",metadata:R}),this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(G,ue)=>{if(this.request){if(t.lastRequest=Date.now(),t.resolvedUri=Qs(t.resolvedUri,ue),G)return this.playlistRequestError(this.request,t,c);this.trigger({type:"playlistrequestcomplete",metadata:R}),this.haveMetadata({playlistString:ue.responseText,url:t.uri,id:t.id}),c==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")}load(t){this.mediaUpdateTimeout&&(P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const o=this.media();if(t){const c=o?(o.partTargetDuration||o.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=P().setTimeout(()=>{this.mediaUpdateTimeout=null,this.load()},c);return}if(!this.started){this.start();return}o&&!o.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")}updateMediaUpdateTimeout_(t){this.mediaUpdateTimeout&&(P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=P().setTimeout(()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(t)},t))}start(){if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=P().location.href),this.src.resolvedUri=this.src.uri,setTimeout(()=>{this.setupInitialPlaylist(this.src)},0);return}const t={playlistInfo:{type:"multivariant",uri:this.src}};this.trigger({type:"playlistrequeststart",metadata:t}),this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials,requestType:"hls-playlist"},(o,c)=>{if(!this.request)return;if(this.request=null,o)return this.error={status:c.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:c.responseText,code:2,metadata:yf({requestType:c.requestType,request:c,error:o})},this.state==="HAVE_NOTHING"&&(this.started=!1),this.trigger("error");this.trigger({type:"playlistrequestcomplete",metadata:t}),this.src=Qs(this.src,c),this.trigger({type:"playlistparsestart",metadata:t});const y=this.parseManifest_({manifestString:c.responseText,url:this.src});t.parsedPlaylist=Mh(y.playlists,t.playlistInfo.type,!1),this.trigger({type:"playlistparsecomplete",metadata:t}),this.setupInitialPlaylist(y)})}srcUri(){return typeof this.src=="string"?this.src:this.src.uri}setupInitialPlaylist(t){if(this.state="HAVE_MAIN_MANIFEST",t.playlists){this.main=t,Xh(this.main,this.srcUri()),t.playlists.forEach(c=>{c.segments=Rh(c),c.segments.forEach(y=>{sh(y,c.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const o=this.srcUri()||P().location.href;this.main=nh(t,o),this.haveMetadata({playlistObject:t,url:o,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}updateOrDeleteClone(t,o){const c=this.main,y=t.ID;let w=c.playlists.length;for(;w--;){const R=c.playlists[w];if(R.attributes["PATHWAY-ID"]===y){const G=R.resolvedUri,ue=R.id;if(o){const Te=this.createCloneURI_(R.resolvedUri,t),Ke=gf(y,Te),St=this.createCloneAttributes_(y,R.attributes),sr=this.createClonePlaylist_(R,Ke,t,St);c.playlists[w]=sr,c.playlists[Ke]=sr,c.playlists[Te]=sr}else c.playlists.splice(w,1);delete c.playlists[ue],delete c.playlists[G]}}this.updateOrDeleteCloneMedia(t,o)}updateOrDeleteCloneMedia(t,o){const c=this.main,y=t.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(w=>{if(!(!c.mediaGroups[w]||!c.mediaGroups[w][y])){for(const R in c.mediaGroups[w])if(R===y){for(const G in c.mediaGroups[w][R])c.mediaGroups[w][R][G].playlists.forEach((Te,Ke)=>{const St=c.playlists[Te.id],sr=St.id,wr=St.resolvedUri;delete c.playlists[sr],delete c.playlists[wr]});delete c.mediaGroups[w][R]}}}),o&&this.createClonedMediaGroups_(t)}addClonePathway(t,o={}){const c=this.main,y=c.playlists.length,w=this.createCloneURI_(o.resolvedUri,t),R=gf(t.ID,w),G=this.createCloneAttributes_(t.ID,o.attributes),ue=this.createClonePlaylist_(o,R,t,G);c.playlists[y]=ue,c.playlists[R]=ue,c.playlists[w]=ue,this.createClonedMediaGroups_(t)}createClonedMediaGroups_(t){const o=t.ID,c=t["BASE-ID"],y=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(w=>{if(!(!y.mediaGroups[w]||y.mediaGroups[w][o]))for(const R in y.mediaGroups[w]){if(R===c)y.mediaGroups[w][o]={};else continue;for(const G in y.mediaGroups[w][R]){const ue=y.mediaGroups[w][R][G];y.mediaGroups[w][o][G]=W({},ue);const Te=y.mediaGroups[w][o][G],Ke=this.createCloneURI_(ue.resolvedUri,t);Te.resolvedUri=Ke,Te.uri=Ke,Te.playlists=[],ue.playlists.forEach((St,sr)=>{const wr=y.playlists[St.id],Vr=Ih(w,o,G),_t=gf(o,Vr);if(wr&&!y.playlists[_t]){const On=this.createClonePlaylist_(wr,_t,t),Tn=On.resolvedUri;y.playlists[_t]=On,y.playlists[Tn]=On}Te.playlists[sr]=this.createClonePlaylist_(St,_t,t)})}}})}createClonePlaylist_(t,o,c,y){const w=this.createCloneURI_(t.resolvedUri,c),R={resolvedUri:w,uri:w,id:o};return t.segments&&(R.segments=[]),y&&(R.attributes=y),ts(t,R)}createCloneURI_(t,o){const c=new URL(t);c.hostname=o["URI-REPLACEMENT"].HOST;const y=o["URI-REPLACEMENT"].PARAMS;for(const w of Object.keys(y))c.searchParams.set(w,y[w]);return c.href}createCloneAttributes_(t,o){const c={"PATHWAY-ID":t};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(y=>{o[y]&&(c[y]=t)}),c}getKeyIdSet(t){const o=new Set;if(!t||!t.contentProtection)return o;for(const c in t.contentProtection)if(t.contentProtection[c]&&t.contentProtection[c].attributes&&t.contentProtection[c].attributes.keyId){const y=t.contentProtection[c].attributes.keyId;o.add(y.toLowerCase())}return o}}const oh=function(p,t,o,c){const y=p.responseType==="arraybuffer"?p.response:p.responseText;!t&&y&&(p.responseTime=Date.now(),p.roundTripTime=p.responseTime-p.requestTime,p.bytesReceived=y.byteLength||y.length,p.bandwidth||(p.bandwidth=Math.floor(p.bytesReceived/p.roundTripTime*8*1e3))),o.headers&&(p.responseHeaders=o.headers),t&&t.code==="ETIMEDOUT"&&(p.timedout=!0),!t&&!p.aborted&&o.statusCode!==200&&o.statusCode!==206&&o.statusCode!==0&&(t=new Error("XHR Failed with a response of: "+(p&&(y||p.responseText)))),c(t,p)},Yd=(p,t)=>{if(!p||!p.size)return;let o=t;return p.forEach(c=>{o=c(o)}),o},Vf=(p,t,o,c)=>{!p||!p.size||p.forEach(y=>{y(t,o,c)})},Pd=function(){const p=function t(o,c){o=ts({timeout:45e3},o);const y=t.beforeRequest||Ot.Vhs.xhr.beforeRequest,w=t._requestCallbackSet||Ot.Vhs.xhr._requestCallbackSet||new Set,R=t._responseCallbackSet||Ot.Vhs.xhr._responseCallbackSet;y&&typeof y=="function"&&(Ot.log.warn("beforeRequest is deprecated, use onRequest instead."),w.add(y));const G=Ot.Vhs.xhr.original===!0?Ot.xhr:Ot.Vhs.xhr,ue=Yd(w,o);w.delete(y);const Te=G(ue||o,function(St,sr){return Vf(R,Te,St,sr),oh(Te,St,sr,c)}),Ke=Te.abort;return Te.abort=function(){return Te.aborted=!0,Ke.apply(Te,arguments)},Te.uri=o.uri,Te.requestType=o.requestType,Te.requestTime=Date.now(),Te};return p.original=!0,p},Ap=function(p){let t;const o=p.offset;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=P().BigInt(p.offset)+P().BigInt(p.length)-P().BigInt(1):t=p.offset+p.length-1,"bytes="+o+"-"+t},Xd=function(p){const t={};return p.byterange&&(t.Range=Ap(p.byterange)),t},kh=function(p,t){return p.start(t)+"-"+p.end(t)},Cp=function(p,t){const o=p.toString(16);return"00".substring(0,2-o.length)+o+(t%2?" ":"")},d0=function(p){return p>=32&&p<126?String.fromCharCode(p):"."},Nh=function(p){const t={};return Object.keys(p).forEach(o=>{const c=p[o];Br(c)?t[o]={bytes:c.buffer,byteOffset:c.byteOffset,byteLength:c.byteLength}:t[o]=c}),t},Nc=function(p){const t=p.byterange||{length:1/0,offset:0};return[t.length,t.offset,p.resolvedUri].join(",")},Fh=function(p){return p.resolvedUri},uh=p=>{const t=Array.prototype.slice.call(p),o=16;let c="",y,w;for(let R=0;R<t.length/o;R++)y=t.slice(R*o,R*o+o).map(Cp).join(""),w=t.slice(R*o,R*o+o).map(d0).join(""),c+=y+" "+w+` 967`;return c};var Bh=Object.freeze({__proto__:null,createTransferableMessage:Nh,initSegmentId:Nc,segmentKeyId:Fh,hexDump:uh,tagDump:({bytes:p})=>uh(p),textRanges:p=>{let t="",o;for(o=0;o<p.length;o++)t+=kh(p,o)+" ";return t}});const lh=.25,Uh=(p,t)=>{if(!t.dateTimeObject)return null;const o=t.videoTimingInfo.transmuxerPrependedSeconds,y=t.videoTimingInfo.transmuxedPresentationStart+o,w=p-y;return new Date(t.dateTimeObject.getTime()+w*1e3)},rp=p=>p.transmuxedPresentationEnd-p.transmuxedPresentationStart-p.transmuxerPrependedSeconds,oc=(p,t)=>{let o;try{o=new Date(p)}catch{return null}if(!t||!t.segments||t.segments.length===0)return null;let c=t.segments[0];if(o<new Date(c.dateTimeObject))return null;for(let ue=0;ue<t.segments.length-1;ue++){c=t.segments[ue];const Te=new Date(t.segments[ue+1].dateTimeObject);if(o<Te)break}const y=t.segments[t.segments.length-1],w=y.dateTimeObject,R=y.videoTimingInfo?rp(y.videoTimingInfo):y.duration+y.duration*lh,G=new Date(w.getTime()+R*1e3);return o>G?null:(o>new Date(w)&&(c=y),{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:Dl.duration(t,t.mediaSequence+t.segments.indexOf(c)),type:c.videoTimingInfo?"accurate":"estimate"})},np=(p,t)=>{if(!t||!t.segments||t.segments.length===0)return null;let o=0,c;for(let w=0;w<t.segments.length&&(c=t.segments[w],o=c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationEnd:o+c.duration,!(p<=o));w++);const y=t.segments[t.segments.length-1];if(y.videoTimingInfo&&y.videoTimingInfo.transmuxedPresentationEnd<p)return null;if(p>o){if(p>o+y.duration*lh)return null;c=y}return{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:o-c.duration,type:c.videoTimingInfo?"accurate":"estimate"}},ip=(p,t)=>{let o,c;try{o=new Date(p),c=new Date(t)}catch{}const y=o.getTime();return(c.getTime()-y)/1e3},bf=p=>{if(!p.segments||p.segments.length===0)return!1;for(let t=0;t<p.segments.length;t++)if(!p.segments[t].dateTimeObject)return!1;return!0},Ea=({playlist:p,time:t=void 0,callback:o})=>{if(!o)throw new Error("getProgramTime: callback must be provided");if(!p||t===void 0)return o({message:"getProgramTime: playlist and time must be provided"});const c=np(t,p);if(!c)return o({message:"valid programTime was not found"});if(c.type==="estimate")return o({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:c.estimatedStart});const y={mediaSeconds:t},w=Uh(t,c.segment);return w&&(y.programDateTime=w.toISOString()),o(null,y)},sp=({programTime:p,playlist:t,retryCount:o=2,seekTo:c,pauseAfterSeek:y=!0,tech:w,callback:R})=>{if(!R)throw new Error("seekToProgramTime: callback must be provided");if(typeof p>"u"||!t||!c)return R({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!w.hasStarted_)return R({message:"player must be playing a live stream to start buffering"});if(!bf(t))return R({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const G=oc(p,t);if(!G)return R({message:`${p} was not found in the stream`});const ue=G.segment,Te=ip(ue.dateTimeObject,p);if(G.type==="estimate"){if(o===0)return R({message:`${p} is not buffered yet. Try again`});c(G.estimatedStart+Te),w.one("seeked",()=>{sp({programTime:p,playlist:t,retryCount:o-1,seekTo:c,pauseAfterSeek:y,tech:w,callback:R})});return}const Ke=ue.start+Te,St=()=>R(null,w.currentTime());w.one("seeked",St),y&&w.pause(),c(Ke)},ml=(p,t)=>{if(p.readyState===4)return t()},su=(p,t,o,c)=>{let y=[],w,R=!1;const G=function(St,sr,wr,Vr){return sr.abort(),R=!0,o(St,sr,wr,Vr)},ue=function(St,sr){if(R)return;if(St)return St.metadata=yf({requestType:c,request:sr,error:St}),G(St,sr,"",y);const wr=sr.responseText.substring(y&&y.byteLength||0,sr.responseText.length);if(y=$i(y,Ci(wr,!0)),w=w||ai(y),y.length<10||w&&y.length<w+2)return ml(sr,()=>G(St,sr,"",y));const Vr=lr(y);return Vr==="ts"&&y.length<188?ml(sr,()=>G(St,sr,"",y)):!Vr&&y.length<376?ml(sr,()=>G(St,sr,"",y)):G(null,sr,Vr,y)},Ke=t({uri:p,beforeSend(St){St.overrideMimeType("text/plain;
967 charset=x-user-defined"),St.addEventListener("progress",function({total:sr,loaded:wr}){return oh(St,null,{statusCode:St.status},ue)})}},function(St,sr){return oh(Ke,St,sr,ue)});return Ke},{EventTarget:Pp}=Ot,Qd=function(p,t){if(!Dh(p,t)||p.sidx&&t.sidx&&(p.sidx.offset!==t.sidx.offset||p.sidx.length!==t.sidx.length))return!1;if(!p.sidx&&t.sidx||p.sidx&&!t.sidx||p.segments&&!t.segments||!p.segments&&t.segments)return!1;if(!p.segments&&!t.segments)return!0;for(let o=0;o<p.segments.length;o++){const c=p.segments[o],y=t.segments[o];if(c.uri!==y.uri)return!1;if(!c.byterange&&!y.byterange)continue;const w=c.byterange,R=y.byterange;if(w&&!R||!w&&R||w.offset!==R.offset||w.length!==R.length)return!1}return!0},I=(p,t,o,c)=>{const y=c.attributes.NAME||o;return`placeholder-uri-${p}-${t}-${y}`},U=({mainXml:p,srcUrl:t,clientOffset:o,sidxMapping:c,previousManifest:y})=>{const w=We(p,{manifestUri:t,clientOffset:o,sidxMapping:c,previousManifest:y});return Xh(w,t,I),w},Ze=(p,t)=>{vf(p,(o,c,y,w)=>{(!t.mediaGroups[c][y]||!(w in t.mediaGroups[c][y]))&&delete p.mediaGroups[c][y][w]})},pr=(p,t,o)=>{let c=!0,y=ts(p,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let w=0;w<t.playlists.length;w++){const R=t.playlists[w];if(R.sidx){const ue=ln(R.sidx);o&&o[ue]&&o[ue].sidx&&yn(R,o[ue].sidx,R.sidx.resolvedUri)}const G=ah(y,R,Qd);G&&(y=G,c=!1)}return vf(t,(w,R,G,ue)=>{if(w.playlists&&w.playlists.length){const Te=w.playlists[0].id,Ke=ah(y,w.playlists[0],Qd);Ke&&(y=Ke,ue in y.mediaGroups[R][G]||(y.mediaGroups[R][G][ue]=w),y.mediaGroups[R][G][ue].playlists[0]=y.playlists[Te],c=!1)}}),Ze(y,t),t.minimumUpdatePeriod!==p.minimumUpdatePeriod&&(c=!1),c?null:y},Ri=(p,t)=>(!p.map&&!t.map||!!(p.map&&t.map&&p.map.byterange.offset===t.map.byterange.offset&&p.map.byterange.length===t.map.byterange.length))&&p.uri===t.uri&&p.byterange.offset===t.byterange.offset&&p.byterange.length===t.byterange.length,na=(p,t)=>{const o={};for(const c in p){const w=p[c].sidx;if(w){const R=ln(w);if(!t[R])break;const G=t[R].sidxInfo;Ri(G,w)&&(o[R]=t[R])}}return o},ja=(p,t)=>{let c=na(p.playlists,t);return vf(p,(y,w,R,G)=>{if(y.playlists&&y.playlists.length){const ue=y.playlists;c=ts(c,na(ue,t))}}),c};class Zo extends Pp{constructor(t,o,c={},y){super(),this.isPaused_=!0,this.mainPlaylistLoader_=y||this,y||(this.isMain_=!0);const{withCredentials:w=!1}=c;if(this.vhs_=o,this.withCredentials=w,this.addMetadataToTextTrack=c.addMetadataToTextTrack,!t)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",()=>{this.refreshXml_()}),this.on("mediaupdatetimeout",()=>{this.refreshMedia_(this.media().id)}),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=ws("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=t,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=t}get isPaused(){return this.isPaused_}requestErrored_(t,o,c){if(!this.request)return!0;if(this.request=null,t)return this.error=typeof t=="object"&&!(t instanceof Error)?t:{status:o.status,message:"DASH request error at URL: "+o.uri,response:o.response,code:2,metadata:t.metadata},c&&(this.state=c),this.trigger("error"),!0}addSidxSegments_(t,o,c){const y=t.sidx&&ln(t.sidx);if(!t.sidx||!y||this.mainPlaylistLoader_.sidxMapping_[y]){P().clearTimeout(this.mediaRequest_),this.mediaRequest_=P().setTimeout(()=>c(!1),0);return}const w=Qs(t.sidx.resolvedUri),R=(ue,Te)=>{if(this.requestErrored_(ue,Te,o))return;const Ke=this.mainPlaylistLoader_.sidxMapping_,{requestType:St}=Te;let sr;try{sr=jr()(Tt(Te.response).subarray(8))}catch(wr){wr.metadata=yf({requestType:St,request:Te,parseFailure:!0}),this.requestErrored_(wr,Te,o);return}return Ke[y]={sidxInfo:t.sidx,sidx:sr},yn(t,sr,t.sidx.resolvedUri),c(!0)},G="dash-sidx";this.request=su(w,this.vhs_.xhr,(ue,Te,Ke,St)=>{if(ue)return R(ue,Te);if(!Ke||Ke!=="mp4"){const Vr=Ke||"unknown";return R({status:Te.status,message:`Unsupported ${Vr} container type for sidx segment at URL: ${w}`,response:"",playlist:t,internal:!0,playlistExclusionDuration:1/0,code:2},Te)}const{offset:sr,length:wr}=t.sidx.byterange;if(St.length>=wr+sr)return R(ue,{response:St.subarray(sr,sr+wr),status:Te.status,uri:Te.uri});this.request=this.vhs_.xhr({uri:w,responseType:"arraybuffer",requestType:"dash-sidx",headers:Xd({byterange:t.sidx.byterange})},R)},G)}dispose(){this.isPaused_=!0,this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},P().clearTimeout(this.minimumUpdatePeriodTimeout_),P().clearTimeout(this.mediaRequest_),P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);const o=this.state;if(typeof t=="string"){if(!this.mainPlaylistLoader_.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.mainPlaylistLoader_.main.playlists[t]}const c=!this.media_||t.id!==this.media_.id;if(c&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList){this.state="HAVE_METADATA",this.media_=t,c&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}c&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(t,o,y=>{this.haveMetadata({startingState:o,playlist:t})}))}haveMetadata({startingState:t,playlist:o}){this.state="HAVE_METADATA",this.loadedPlaylists_[o.id]=o,P().clearTimeout(this.mediaRequest_),this.mediaRequest_=null,this.refreshMedia_(o.id),t==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.isPaused_=!0,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(P().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(t){this.isPaused_=!1,P().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const o=this.media();if(t){const c=o?o.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=P().setTimeout(()=>this.load(),c);return}if(!this.started){this.start();return}o&&!o.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")}
vendor: 217,154 bytes, lines 967-996
967start(){if(this.started=!0,!this.isMain_){P().clearTimeout(this.mediaRequest_),this.mediaRequest_=P().setTimeout(()=>this.haveMain_(),0);return}this.requestMain_((t,o)=>{this.haveMain_(),!this.hasPendingRequest()&&!this.media_&&this.media(this.mainPlaylistLoader_.main.playlists[0])})}requestMain_(t){const o={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestrequeststart",metadata:o}),this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials,requestType:"dash-manifest"},(c,y)=>{if(c){const{requestType:R}=y;c.metadata=yf({requestType:R,request:y,error:c})}if(this.requestErrored_(c,y)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:o});const w=y.responseText!==this.mainPlaylistLoader_.mainXml_;if(this.mainPlaylistLoader_.mainXml_=y.responseText,y.responseHeaders&&y.responseHeaders.date?this.mainLoaded_=Date.parse(y.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=Qs(this.mainPlaylistLoader_.srcUrl,y),w){this.handleMain_(),this.syncClientServerClock_(()=>t(y,w));return}return t(y,w)})}syncClientServerClock_(t){const o=Nt(this.mainPlaylistLoader_.mainXml_);if(o===null)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t();if(o.method==="DIRECT")return this.mainPlaylistLoader_.clientOffset_=o.value-Date.now(),t();this.request=this.vhs_.xhr({uri:Ji(this.mainPlaylistLoader_.srcUrl,o.value),method:o.method,withCredentials:this.withCredentials,requestType:"dash-clock-sync"},(c,y)=>{if(!this.request)return;if(c){const{requestType:R}=y;return this.error.metadata=yf({requestType:R,request:y,error:c}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t()}let w;o.method==="HEAD"?!y.responseHeaders||!y.responseHeaders.date?w=this.mainLoaded_:w=Date.parse(y.responseHeaders.date):w=Date.parse(y.responseText),this.mainPlaylistLoader_.clientOffset_=w-Date.now(),t()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){P().clearTimeout(this.mediaRequest_),this.mediaRequest_=null;const t=this.mainPlaylistLoader_.main,o={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestparsestart",metadata:o});let c;try{c=U({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:t})}catch(w){this.error=w,this.error.metadata={errorType:Ot.Error.StreamingDashManifestParserError,error:w},this.trigger("error")}t&&(c=pr(t,c,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=c||t;const y=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];if(y&&y!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=y),(!t||c&&c.minimumUpdatePeriod!==t.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),this.addEventStreamToMetadataTrack_(c),c){const{duration:w,endList:R}=c,G=[];c.playlists.forEach(Te=>{G.push({id:Te.id,bandwidth:Te.attributes.BANDWIDTH,resolution:Te.attributes.RESOLUTION,codecs:Te.attributes.CODECS})});const ue={duration:w,isLive:!R,renditions:G};o.parsedManifest=ue,this.trigger({type:"manifestparsecomplete",metadata:o})}return!!c}updateMinimumUpdatePeriodTimeout_(){const t=this.mainPlaylistLoader_;t.createMupOnMedia_&&(t.off("loadedmetadata",t.createMupOnMedia_),t.createMupOnMedia_=null),t.minimumUpdatePeriodTimeout_&&(P().clearTimeout(t.minimumUpdatePeriodTimeout_),t.minimumUpdatePeriodTimeout_=null);let o=t.main&&t.main.minimumUpdatePeriod;if(o===0&&(t.media()?o=t.media().targetDuration*1e3:(t.createMupOnMedia_=t.updateMinimumUpdatePeriodTimeout_,t.one("loadedmetadata",t.createMupOnMedia_))),typeof o!="number"||o<=0){o<0&&this.logger_(`found invalid minimumUpdatePeriod of ${o}, not setting a timeout`);return}this.createMUPTimeout_(o)}createMUPTimeout_(t){const o=this.mainPlaylistLoader_;o.minimumUpdatePeriodTimeout_=P().setTimeout(()=>{o.minimumUpdatePeriodTimeout_=null,o.trigger("minimumUpdatePeriod"),o.createMUPTimeout_(t)},t)}refreshXml_(){this.requestMain_((t,o)=>{o&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=ja(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,c=>{this.refreshMedia_(this.media().id)}))})}refreshMedia_(t){if(!t)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const o=this.mainPlaylistLoader_.main.playlists,c=!this.media_||this.media_!==o[t];if(c?this.media_=o[t]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const y=()=>{this.media().endList||(this.mediaUpdateTimeout=P().setTimeout(()=>{this.trigger("mediaupdatetimeout"),y()},Lh(this.media(),!!c)))};y()}this.trigger("loadedplaylist")}addEventStreamToMetadataTrack_(t){if(t&&this.mainPlaylistLoader_.main.eventStream){const o=this.mainPlaylistLoader_.main.eventStream.map(c=>({cueTime:c.start,frames:[{data:c.messageData}]}));this.addMetadataToTextTrack("EventStream",o,this.mainPlaylistLoader_.main.duration)}}getKeyIdSet(t){if(t.contentProtection){const o=new Set;for(const c in t.contentProtection){const y=t.contentProtection[c].attributes["cenc:default_KID"];y&&o.add(y.replace(/-/g,"").toLowerCase())}return o}}}var Du={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const ch=p=>{const t=new Uint8Array(new ArrayBuffer(p.length));for(let o=0;o<p.length;o++)t[o]=p.charCodeAt(o);return t.buffer},qo=function(p){return p.on=p.addEventListener,p.off=p.removeEventListener,p},Eu=function(p){try{return URL.createObjectURL(new Blob([p],{type:"application/javascript"}))}catch{const o=new BlobBuilder;return o.append(p),URL.createObjectURL(o.getBlob())}},Rp=function(p){return function(){const t=Eu(p),o=qo(new Worker(t));o.objURL=t;const c=o.terminate;return o.on=o.addEventListener,o.off=o.removeEventListener,o.terminate=function(){return URL.revokeObjectURL(t),c.call(this)},o}},f0=function(p){return`var browserWorkerPolyFill = ${qo.toString()}; 968browserWorkerPolyFill(self); 969`+p},h0=function(p){return p.toString().replace(/^function.+?{/,"").slice(0,-1)},wm=f0(h0(function(){var p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=function(){this.init=function(){var L={};this.on=function(X,q){L[X]||(L[X]=[]),L[X]=L[X].concat(q)},this.off=function(X,q){var ne;return L[X]?(ne=L[X].indexOf(q),L[X]=L[X].slice(),L[X].splice(ne,1),ne>-1):!1},this.trigger=function(X){var q,ne,ve,ke;if(q=L[X],!!q)if(arguments.length===2)for(ve=q.length,ne=0;ne<ve;++ne)q[ne].call(this,arguments[1]);else{for(ke=[],ne=arguments.length,ne=1;ne<arguments.length;++ne)ke.push(arguments[ne]);for(ve=q.length,ne=0;ne<ve;++ne)q[ne].apply(this,ke)}},this.dispose=function(){L={}}}};t.prototype.pipe=function(L){return this.on("data",function(X){L.push(X)}),this.on("done",function(X){L.flush(X)}),this.on("partialdone",function(X){L.partialFlush(X)}),this.on("endedtimeline",function(X){L.endTimeline(X)}),this.on("reset",function(X){L.reset(X)}),L},t.prototype.push=function(L){this.trigger("data",L)},t.prototype.flush=function(L){this.trigger("done",L)},t.prototype.partialFlush=function(L){this.trigger("partialdone",L)},t.prototype.endTimeline=function(L){this.trigger("endedtimeline",L)},t.prototype.reset=function(L){this.trigger("reset",L)};var o=t,c=Math.pow(2,32),y=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q;return X.getBigUint64?(q=X.getBigUint64(0),q<Number.MAX_SAFE_INTEGER?Number(q):q):X.getUint32(0)*c+X.getUint32(4)},w={getUint64:y,MAX_UINT32:c},R=w.MAX_UINT32,G,ue,Te,Ke,St,sr,wr,Vr,_t,On,Tn,gn,en,Fn,Pn,bi,Vn,Oi,ha,go,Ko,_o,Vs,Js,Ao,xo,gl,uc,ef,ld,tf,rf,$h,Gl,Vp,Gp;(function(){var L;if(Vs={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(L in Vs)Vs.hasOwnProperty(L)&&(Vs[L]=[L.charCodeAt(0),L.charCodeAt(1),L.charCodeAt(2),L.charCodeAt(3)]);Js=new Uint8Array([105,115,111,109]),xo=new Uint8Array([97,118,99,49]),Ao=new Uint8Array([0,0,0,1]),gl=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),uc=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),ef={video:gl,audio:uc},rf=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),tf=new Uint8Array([0,0,0,0,0,0,0,0]),$h=new Uint8Array([0,0,0,0,0,0,0,0]),Gl=$h,Vp=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Gp=$h,ld=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),G=function(L){var X=[],q=0,ne,ve,ke;for(ne=1;ne<arguments.length;ne++)X.push(arguments[ne]);for(ne=X.length;ne--;)q+=X[ne].byteLength;for(ve=new Uint8Array(q+8),ke=new DataView(ve.buffer,ve.byteOffset,ve.byteLength),ke.setUint32(0,ve.byteLength),ve.set(L,4),ne=0,q=8;ne<X.length;ne++)ve.set(X[ne],q),q+=X[ne].byteLength;return ve},ue=function(){return G(Vs.dinf,G(Vs.dref,rf))},Te=function(L){return G(Vs.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,L.audioobjecttype<<3|L.samplingfrequencyindex>>>1,L.samplingfrequencyindex<<7|L.channelcount<<3,6,1,2]))},Ke=function(){return G(Vs.ftyp,Js,Ao,Js,xo)},bi=function(L){return G(Vs.hdlr,ef[L])},St=function(L){return G(Vs.mdat,L)},Pn=function(L){var X=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,L.duration>>>24&255,L.duration>>>16&255,L.duration>>>8&255,L.duration&255,85,196,0,0]);return L.samplerate&&(X[12]=L.samplerate>>>24&255,X[13]=L.samplerate>>>16&255,X[14]=L.samplerate>>>8&255,X[15]=L.samplerate&255),G(Vs.mdhd,X)},Fn=function(L){return G(Vs.mdia,Pn(L),bi(L.type),wr(L))},sr=function(L){return G(Vs.mfhd,new Uint8Array([0,0,0,0,(L&4278190080)>>24,(L&16711680)>>16,(L&65280)>>8,L&255]))},wr=function(L){return G(Vs.minf,L.type==="video"?G(Vs.vmhd,ld):G(Vs.smhd,tf),ue(),Oi(L))},Vr=function(L,X){for(var q=[],ne=X.length;ne--;)q[ne]=go(X[ne]);return G.apply(null,[Vs.moof,sr(L)].concat(q))},_t=function(L){for(var X=L.length,q=[];X--;)q[X]=gn(L[X]);return G.apply(null,[Vs.moov,Tn(4294967295)].concat(q).concat(On(L)))},On=function(L){for(var X=L.length,q=[];X--;)q[X]=Ko(L[X]);return G.apply(null,[Vs.mvex].concat(q))},Tn=function(L){var X=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(L&4278190080)>>24,(L&16711680)>>16,(L&65280)>>8,L&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return G(Vs.mvhd,X)},Vn=function(L){var X=L.samples||[],q=new Uint8Array(4+X.length),ne,ve;for(ve=0;ve<X.length;ve++)ne=X[ve].flags,q[ve+4]=ne.dependsOn<<4|ne.isDependedOn<<2|ne.hasRedundancy;return G(Vs.sdtp,q)},Oi=function(L){return G(Vs.stbl,ha(L),G(Vs.stts,Gp),G(Vs.stsc,Gl),G(Vs.stsz,Vp),G(Vs.stco,$h))},(function(){var L,X;ha=function(q){return G(Vs.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),q.type==="video"?L(q):X(q))},L=function(q){var ne=q.sps||[],ve=q.pps||[],ke=[],wt=[],Mt,Xt;for(Mt=0;Mt<ne.length;Mt++)ke.push((ne[Mt].byteLength&65280)>>>8),ke.push(ne[Mt].byteLength&255),ke=ke.concat(Array.prototype.slice.call(ne[Mt]));for(Mt=0;Mt<ve.length;Mt++)wt.push((ve[Mt].byteLength&65280)>>>8),wt.push(ve[Mt].byteLength&255),wt=wt.concat(Array.prototype.slice.call(ve[Mt]));if(Xt=[Vs.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(q.width&65280)>>8,q.width&255,(q.height&65280)>>8,q.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),G(Vs.avcC,new Uint8Array([1,q.profileIdc,q.profileCompatibility,q.levelIdc,255].concat([ne.length],ke,[ve.length],wt))),G(Vs.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],q.sarRatio){var qt=q.sarRatio[0],Hr=q.sarRatio[1];Xt.push(G(Vs.pasp,new Uint8Array([(qt&4278190080)>>24,(qt&16711680)>>16,(qt&65280)>>8,qt&255,(Hr&4278190080)>>24,(Hr&16711680)>>16,(Hr&65280)>>8,Hr&255])))}return G.apply(null,Xt)},X=function(q){return G(Vs.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(q.channelcount&65280)>>8,q.channelcount&255,(q.samplesize&65280)>>8,q.samplesize&255,0,0,0,0,(q.samplerate&65280)>>8,q.samplerate&255,0,0]),Te(q))}})(),en=function(L){var X=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,0,(L.duration&4278190080)>>24,(L.duration&16711680)>>16,(L.duration&65280)>>8,L.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(L.width&65280)>>8,L.width&255,0,0,(L.height&65280)>>8,L.height&255,0,0]);return G(Vs.tkhd,X)},go=function(L){var X,q,ne,ve,ke,wt,Mt;return X=G(Vs.tfhd,new Uint8Array([0,0,0,58,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),wt=Math.floor(L.baseMediaDecodeTime/R),Mt=Math.floor(L.baseMediaDecodeTime%R),q=G(Vs.tfdt,new Uint8Array([1,0,0,0,wt>>>24&255,wt>>>16&255,wt>>>8&255,wt&255,Mt>>>24&255,Mt>>>16&255,Mt>>>8&255,Mt&255])),ke=92,L.type==="audio"?(ne=_o(L,ke),G(Vs.traf,X,q,ne)):(ve=Vn(L),ne=_o(L,ve.length+ke),G(Vs.traf,X,q,ne,ve))},gn=function(L){return L.duration=L.duration||4294967295,G(Vs.trak,en(L),Fn(L))},Ko=function(L){var X=new Uint8Array([0,0,0,0,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return L.type!=="video"&&(X[X.length-1]=0),G(Vs.trex,X)},(function(){var L,X,q;q=function(ne,ve){var ke=0,wt=0,Mt=0,Xt=0;return ne.length&&(ne[0].duration!==void 0&&(ke=1),ne[0].size!==void 0&&(wt=2),ne[0].flags!==void 0&&(Mt=4),ne[0].compositionTimeOffset!==void 0&&(Xt=8)),[0,0,ke|wt|Mt|Xt,1,(ne.length&4278190080)>>>24,(ne.length&16711680)>>>16,(ne.length&65280)>>>8,ne.length&255,(ve&4278190080)>>>24,(ve&16711680)>>>16,(ve&65280)>>>8,ve&255]},X=function(ne,ve){var ke,wt,Mt,Xt,qt,Hr;for(Xt=ne.samples||[],ve+=20+16*Xt.length,Mt=q(Xt,ve),wt=new Uint8Array(Mt.length+Xt.length*16),wt.set(Mt),ke=Mt.length,Hr=0;Hr<Xt.length;Hr++)qt=Xt[Hr],wt[ke++]=(qt.duration&4278190080)>>>24,wt[ke++]=(qt.duration&16711680)>>>16,wt[ke++]=(qt.duration&65280)>>>8,wt[ke++]=qt.duration&255,wt[ke++]=(qt.size&4278190080)>>>24,wt[ke++]=(qt.size&16711680)>>>16,wt[ke++]=(qt.size&65280)>>>8,wt[ke++]=qt.size&255,wt[ke++]=qt.flags.isLeading<<2|qt.flags.dependsOn,wt[ke++]=qt.flags.isDependedOn<<6|qt.flags.hasRedundancy<<4|qt.flags.paddingValue<<1|qt.flags.isNonSyncSample,wt[ke++]=qt.flags.degradationPriority&61440,wt[ke++]=qt.flags.degradationPriority&15,wt[ke++]=(qt.compositionTimeOffset&4278190080)>>>24,wt[ke++]=(qt.compositionTimeOffset&16711680)>>>16,wt[ke++]=(qt.compositionTimeOffset&65280)>>>8,wt[ke++]=qt.compositionTimeOffset&255;return G(Vs.trun,wt)},L=function(ne,ve){var ke,wt,Mt,Xt,qt,Hr;for(Xt=ne.samples||[],ve+=20+8*Xt.length,Mt=q(Xt,ve),ke=new Uint8Array(Mt.length+Xt.length*8),ke.set(Mt),wt=Mt.length,Hr=0;Hr<Xt.length;Hr++)qt=Xt[Hr],ke[wt++]=(qt.duration&4278190080)>>>24,ke[wt++]=(qt.duration&16711680)>>>16,ke[wt++]=(qt.duration&65280)>>>8,ke[wt++]=qt.duration&255,ke[wt++]=(qt.size&4278190080)>>>24,ke[wt++]=(qt.size&16711680)>>>16,ke[wt++]=(qt.size&65280)>>>8,ke[wt++]=qt.size&255;return G(Vs.trun,ke)},_o=function(ne,ve){return ne.type==="audio"?L(ne,ve):X(ne,ve)}})();var Y0={ftyp:Ke,mdat:St,moof:Vr,moov:_t,initSegment:function(L){var X=Ke(),q=_t(L),ne;return ne=new Uint8Array(X.byteLength+q.byteLength),ne.set(X),ne.set(q,X.byteLength),ne}},X0=function(L){var X,q,ne=[],ve=[];for(ve.byteLength=0,ve.nalCount=0,ve.duration=0,ne.byteLength=0,X=0;X<L.length;X++)q=L[X],q.nalUnitType==="access_unit_delimiter_rbsp"?(ne.length&&(ne.duration=q.dts-ne.dts,ve.byteLength+=ne.byteLength,ve.nalCount+=ne.length,ve.duration+=ne.duration,ve.push(ne)),ne=[q],ne.byteLength=q.data.byteLength,ne.pts=q.pts,ne.dts=q.dts):(q.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(ne.keyFrame=!0),ne.duration=q.dts-ne.dts,ne.byteLength+=q.data.byteLength,ne.push(q));return ve.length&&(!ne.duration||ne.duration<=0)&&(ne.duration=ve[ve.length-1].duration),ve.byteLength+=ne.byteLength,ve.nalCount+=ne.length,ve.duration+=ne.duration,ve.push(ne),ve},Q0=function(L){var X,q,ne=[],ve=[];for(ne.byteLength=0,ne.nalCount=0,ne.duration=0,ne.pts=L[0].pts,ne.dts=L[0].dts,ve.byteLength=0,ve.nalCount=0,ve.duration=0,ve.pts=L[0].pts,ve.dts=L[0].dts,X=0;X<L.length;X++)q=L[X],q.keyFrame?(ne.length&&(ve.push(ne),ve.byteLength+=ne.byteLength,ve.nalCount+=ne.nalCount,ve.duration+=ne.duration),ne=[q],ne.nalCount=q.length,ne.byteLength=q.byteLength,ne.pts=q.pts,ne.dts=q.dts,ne.duration=q.duration):(ne.duration+=q.duration,ne.nalCount+=q.length,ne.byteLength+=q.byteLength,ne.push(q));return ve.length&&ne.duration<=0&&(ne.duration=ve[ve.length-1].duration),ve.byteLength+=ne.byteLength,ve.nalCount+=ne.nalCount,ve.duration+=ne.duration,ve.push(ne),ve},gp=function(L){var X;return!L[0][0].keyFrame&&L.length>1&&(X=L.shift(),L.byteLength-=X.byteLength,L.nalCount-=X.nalCount,L[0][0].dts=X.dts,L[0][0].pts=X.pts,L[0][0].duration+=X.duration),L},kg=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},h1=function(L,X){var q=kg();return q.dataOffset=X,q.compositionTimeOffset=L.pts-L.dts,q.duration=L.duration,q.size=4*L.length,q.size+=L.byteLength,L.keyFrame&&(q.flags.dependsOn=2,q.flags.isNonSyncSample=0),q},fv=function(L,X){var q,ne,ve,ke,wt,Mt=X||0,Xt=[];for(q=0;q<L.length;q++)for(ke=L[q],ne=0;ne<ke.length;ne++)wt=ke[ne],ve=h1(wt,Mt),Mt+=ve.size,Xt.push(ve);return Xt},hv=function(L){var X,q,ne,ve,ke,wt,Mt=0,Xt=L.byteLength,qt=L.nalCount,Hr=Xt+4*qt,Dn=new Uint8Array(Hr),is=new DataView(Dn.buffer);for(X=0;X<L.length;X++)for(ve=L[X],q=0;q<ve.length;q++)for(ke=ve[q],ne=0;ne<ke.length;ne++)wt=ke[ne],is.setUint32(Mt,wt.data.byteLength),Mt+=4,Dn.set(wt.data,Mt),Mt+=wt.data.byteLength;return Dn},pv=function(L,X){var q,ne=X||0,ve=[];return q=h1(L,ne),ve.push(q),ve},mv=function(L){var X,q,ne=0,ve=L.byteLength,ke=L.length,wt=ve+4*ke,Mt=new Uint8Array(wt),Xt=new DataView(Mt.buffer);for(X=0;X<L.length;X++)q=L[X],Xt.setUint32(ne,q.data.byteLength),ne+=4,Mt.set(q.data,ne),ne+=q.data.byteLength;return Mt},gv={groupNalsIntoFrames:X0,groupFramesIntoGops:Q0,extendFirstKeyFrame:gp,generateSampleTable:fv,concatenateNalData:hv,generateSampleTableForFrame:pv,concatenateNalDataForFrame:mv},yh=[33,16,5,32,164,27],Ng=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],Fo=function(L){for(var X=[];L--;)X.push(0);return X},vv=function(L){return Object.keys(L).reduce(function(X,q){return X[q]=new Uint8Array(L[q].reduce(function(ne,ve){return ne.concat(ve)},[])),X},{})},Fg,yv=function(){if(!Fg){var L={96e3:[yh,[227,64],Fo(154),[56]],88200:[yh,[231],Fo(170),[56]],64e3:[yh,[248,192],Fo(240),[56]],48e3:[yh,[255,192],Fo(268),[55,148,128],Fo(54),[112]],44100:[yh,[255,192],Fo(268),[55,163,128],Fo(84),[112]],32e3:[yh,[255,192],Fo(268),[55,234],Fo(226),[112]],24e3:[yh,[255,192],Fo(268),[55,255,128],Fo(268),[111,112],Fo(126),[224]],16e3:[yh,[255,192],Fo(268),[55,255,128],Fo(268),[111,255],Fo(269),[223,108],Fo(195),[1,192]],12e3:[Ng,Fo(268),[3,127,248],Fo(268),[6,255,240],Fo(268),[13,255,224],Fo(268),[27,253,128],Fo(259),[56]],11025:[Ng,Fo(268),[3,127,248],Fo(268),[6,255,240],Fo(268),[13,255,224],Fo(268),[27,255,192],Fo(268),[55,175,128],Fo(108),[112]],8e3:[Ng,Fo(268),[3,121,16],Fo(47),[7]]};Fg=vv(L)}return Fg},Bg=9e4,Ug,jg,J0,zg,p1,m1,g1;Ug=function(L){return L*Bg},jg=function(L,X){return L*X},J0=function(L){return L/Bg},zg=function(L,X){return L/X},p1=function(L,X){return Ug(zg(L,X))},m1=function(L,X){return jg(J0(L),X)},g1=function(L,X,q){return J0(q?L:L-X)};var ou={ONE_SECOND_IN_TS:Bg,secondsToVideoTs:Ug,secondsToAudioTs:jg,videoTsToSeconds:J0,audioTsToSeconds:zg,audioTsToVideoTs:p1,videoTsToAudioTs:m1,metadataTsToSeconds:g1},bv=yv,Z0=ou,Sv=function(L){var X,q,ne=0;for(X=0;X<L.length;X++)q=L[X],ne+=q.data.byteLength;return ne},xv=function(L,X,q,ne){var ve,ke=0,wt=0,Mt=0,Xt=0,qt,Hr,Dn;if(X.length&&(ve=Z0.audioTsToVideoTs(L.baseMediaDecodeTime,L.samplerate),ke=Math.ceil(Z0.ONE_SECOND_IN_TS/(L.samplerate/1024)),q&&ne&&(wt=ve-Math.max(q,ne),Mt=Math.floor(wt/ke),Xt=Mt*ke),!(Mt<1||Xt>Z0.ONE_SECOND_IN_TS/2))){for(qt=bv()[L.samplerate],qt||(qt=X[0].data),Hr=0;Hr<Mt;Hr++)Dn=X[0],X.splice(0,0,{data:qt,dts:Dn.dts-ke,pts:Dn.pts-ke});return L.baseMediaDecodeTime-=Math.floor(Z0.videoTsToAudioTs(Xt,L.samplerate)),Xt}},Ev=function(L,X,q){return X.minSegmentDts>=q?L:(X.minSegmentDts=1/0,L.filter(function(ne){return ne.dts>=q?(X.minSegmentDts=Math.min(X.minSegmentDts,ne.dts),X.minSegmentPts=X.minSegmentDts,!0):!1}))},Tv=function(L){var X,q,ne=[];for(X=0;X<L.length;X++)q=L[X],ne.push({size:q.data.byteLength,duration:1024});return ne},wv=function(L){var X,q,ne=0,ve=new Uint8Array(Sv(L));for(X=0;X<L.length;X++)q=L[X],ve.set(q.data,ne),ne+=q.data.byteLength;return ve},_v={prefixWithSilence:xv,trimAdtsFramesByEarliestDts:Ev,generateSampleTable:Tv,concatenateFrameData:wv},Av=ou.ONE_SECOND_IN_TS,Cv=function(L,X){typeof X.pts=="number"&&(L.timelineStartInfo.pts===void 0&&(L.timelineStartInfo.pts=X.pts),L.minSegmentPts===void 0?L.minSegmentPts=X.pts:L.minSegmentPts=Math.min(L.minSegmentPts,X.pts),L.maxSegmentPts===void 0?L.maxSegmentPts=X.pts:L.maxSegmentPts=Math.max(L.maxSegmentPts,X.pts)),typeof X.dts=="number"&&(L.timelineStartInfo.dts===void 0&&(L.timelineStartInfo.dts=X.dts),L.minSegmentDts===void 0?L.minSegmentDts=X.dts:L.minSegmentDts=Math.min(L.minSegmentDts,X.dts),L.maxSegmentDts===void 0?L.maxSegmentDts=X.dts:L.maxSegmentDts=Math.max(L.maxSegmentDts,X.dts))},Ov=function(L){delete L.minSegmentDts,delete L.maxSegmentDts,delete L.minSegmentPts,delete L.maxSegmentPts},Iv=function(L,X){var q,ne,ve=L.minSegmentDts;return X||(ve-=L.timelineStartInfo.dts),q=L.timelineStartInfo.baseMediaDecodeTime,q+=ve,q=Math.max(0,q),L.type==="audio"&&(ne=L.samplerate/Av,q*=ne,q=Math.floor(q)),q},Pv={clearDtsInfo:Ov,calculateTrackBaseMediaDecodeTime:Iv,collectDtsInfo:Cv},v1=4,Rv=128,Dv=function(L){for(var X=0,q={payloadType:-1,payloadSize:0},ne=0,ve=0;X<L.byteLength&&L[X]!==Rv;){for(;L[X]===255;)ne+=255,X++;for(ne+=L[X++];L[X]===255;)ve+=255,X++;if(ve+=L[X++],!q.payload&&ne===v1){var ke=String.fromCharCode(L[X+3],L[X+4],L[X+5],L[X+6]);if(ke==="GA94"){q.payloadType=ne,q.payloadSize=ve,q.payload=L.subarray(X,X+ve);break}else q.payload=void 0}X+=ve,ne=0,ve=0}return q},Lv=function(L){return L.payload[0]!==181||(L.payload[1]<<8|L.payload[2])!==49||String.fromCharCode(L.payload[3],L.payload[4],L.payload[5],L.payload[6])!=="GA94"||L.payload[7]!==3?null:L.payload.subarray(8,L.payload.length-1)},Mv=function(L,X){var q=[],ne,ve,ke,wt;if(!(X[0]&64))return q;for(ve=X[0]&31,ne=0;ne<ve;ne++)ke=ne*3,wt={type:X[ke+2]&3,pts:L},X[ke+2]&4&&(wt.ccData=X[ke+3]<<8|X[ke+4],q.push(wt));return q},kv=function(L){for(var X=L.byteLength,q=[],ne=1,ve,ke;ne<X-2;)L[ne]===0&&L[ne+1]===0&&L[ne+2]===3?(q.push(ne+2),ne+=2):ne++;if(q.length===0)return L;ve=X-q.length,ke=new Uint8Array(ve);var wt=0;for(ne=0;ne<ve;wt++,ne++)wt===q[0]&&(wt++,q.shift()),ke[ne]=L[wt];return ke},y1={parseSei:Dv,parseUserData:Lv,parseCaptionPackets:Mv,discardEmulationPreventionBytes:kv,USER_DATA_REGISTERED_ITU_T_T35:v1},$g=o,q0=y1,cd=function(L){L=L||{},cd.prototype.init.call(this),this.parse708captions_=typeof L.parse708captions=="boolean"?L.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new Tu(0,0),new Tu(0,1),new Tu(1,0),new Tu(1,1)],this.parse708captions_&&(this.cc708Stream_=new Yo({captionServices:L.captionServices})),this.reset(),this.ccStreams_.forEach(function(X){X.on("data",this.trigger.bind(this,"data")),X.on("partialdone",this.trigger.bind(this,"partialdone")),X.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};cd.prototype=new $g,cd.prototype.push=function(L){var X,q,ne;if(L.nalUnitType==="sei_rbsp"&&(X=q0.parseSei(L.escapedRBSP),!!X.payload&&X.payloadType===q0.USER_DATA_REGISTERED_ITU_T_T35&&(q=q0.parseUserData(X),!!q))){if(L.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(L.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}ne=q0.parseCaptionPackets(L.pts,q),this.captionPackets_=this.captionPackets_.concat(ne),this.latestDts_!==L.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=L.dts}},cd.prototype.flushCCStreams=function(L){this.ccStreams_.forEach(function(X){return L==="flush"?X.flush():X.partialFlush()},this)},cd.prototype.flushStream=function(L){if(!this.captionPackets_.length){this.flushCCStreams(L);return}this.captionPackets_.forEach(function(X,q){X.presortIndex=q}),this.captionPackets_.sort(function(X,q){return X.pts===q.pts?X.presortIndex-q.presortIndex:X.pts-q.pts}),this.captionPackets_.forEach(function(X){X.type<2?this.dispatchCea608Packet(X):this.dispatchCea708Packet(X)},this),this.captionPackets_.length=0,this.flushCCStreams(L)},cd.prototype.flush=function(){return this.flushStream("flush")},cd.prototype.partialFlush=function(){return this.flushStream("partialFlush")},cd.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(L){L.reset()})},cd.prototype.dispatchCea608Packet=function(L){this.setsTextOrXDSActive(L)?this.activeCea608Channel_[L.type]=null:this.setsChannel1Active(L)?this.activeCea608Channel_[L.type]=0:this.setsChannel2Active(L)&&(this.activeCea608Channel_[L.type]=1),this.activeCea608Channel_[L.type]!==null&&this.ccStreams_[(L.type<<1)+this.activeCea608Channel_[L.type]].push(L)},cd.prototype.setsChannel1Active=function(L){return(L.ccData&30720)===4096},cd.prototype.setsChannel2Active=function(L){return(L.ccData&30720)===6144},cd.prototype.setsTextOrXDSActive=function(L){return(L.ccData&28928)===256||(L.ccData&30974)===4138||(L.ccData&30974)===6186},cd.prototype.dispatchCea708Packet=function(L){this.parse708captions_&&this.cc708Stream_.push(L)};var Nv={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Fv=function(L){var X=Nv[L]||L;return L&4096&&L===X?"":String.fromCharCode(X)},em=function(L){return 32<=L&&L<=127||160<=L&&L<=255},Yf=function(L){this.windowNum=L,this.reset()};Yf.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Yf.prototype.getText=function(){return this.rows.join(` 970`)},Yf.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Yf.prototype.newLine=function(L){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(L),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Yf.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},Yf.prototype.addText=function(L){this.rows[this.rowIdx]+=L},Yf.prototype.backspace=function(){if(!this.isEmpty()){var L=this.rows[this.rowIdx];this.rows[this.rowIdx]=L.substr(0,L.length-1)}};var tm=function(L,X,q){this.serviceNum=L,this.text="",this.currentWindow=new Yf(-1),this.windows=[],this.stream=q,typeof X=="string"&&this.createTextDecoder(X)};tm.prototype.init=function(L,X){this.startPts=L;for(var q=0;q<8;q++)this.windows[q]=new Yf(q),typeof X=="function"&&(this.windows[q].beforeRowOverflow=X)},tm.prototype.setCurrentWindow=function(L){this.currentWindow=this.windows[L]},tm.prototype.createTextDecoder=function(L){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(L)}catch(X){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+L+" encoding. "+X})}};var Yo=function(L){L=L||{},Yo.prototype.init.call(this);var X=this,q=L.captionServices||{},ne={},ve;Object.keys(q).forEach(ke=>{ve=q[ke],/^SERVICE/.test(ke)&&(ne[ke]=ve.encoding)}),this.serviceEncodings=ne,this.current708Packet=null,this.services={},this.push=function(ke){ke.type===3?(X.new708Packet(),X.add708Bytes(ke)):(X.current708Packet===null&&X.new708Packet(),X.add708Bytes(ke))}};Yo.prototype=new $g,Yo.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Yo.prototype.add708Bytes=function(L){var X=L.ccData,q=X>>>8,ne=X&255;this.current708Packet.ptsVals.push(L.pts),this.current708Packet.data.push(q),this.current708Packet.data.push(ne)},Yo.prototype.push708Packet=function(){var L=this.current708Packet,X=L.data,q=null,ne=null,ve=0,ke=X[ve++];for(L.seq=ke>>6,L.sizeCode=ke&63;ve<X.length;ve++)ke=X[ve++],q=ke>>5,ne=ke&31,q===7&&ne>0&&(ke=X[ve++],q=ke),this.pushServiceBlock(q,ve,ne),ne>0&&(ve+=ne-1)},Yo.prototype.pushServiceBlock=function(L,X,q){var ne,ve=X,ke=this.current708Packet.data,wt=this.services[L];for(wt||(wt=this.initService(L,ve));ve<X+q&&ve<ke.length;ve++)ne=ke[ve],em(ne)?ve=this.handleText(ve,wt):ne===24?ve=this.multiByteCharacter(ve,wt):ne===16?ve=this.extendedCommands(ve,wt):128<=ne&&ne<=135?ve=this.setCurrentWindow(ve,wt):152<=ne&&ne<=159?ve=this.defineWindow(ve,wt):ne===136?ve=this.clearWindows(ve,wt):ne===140?ve=this.deleteWindows(ve,wt):ne===137?ve=this.displayWindows(ve,wt):ne===138?ve=this.hideWindows(ve,wt):ne===139?ve=this.toggleWindows(ve,wt):ne===151?ve=this.setWindowAttributes(ve,wt):ne===144?ve=this.setPenAttributes(ve,wt):ne===145?ve=this.setPenColor(ve,wt):ne===146?ve=this.setPenLocation(ve,wt):ne===143?wt=this.reset(ve,wt):ne===8?wt.currentWindow.backspace():ne===12?wt.currentWindow.clearText():ne===13?wt.currentWindow.pendingNewLine=!0:ne===14?wt.currentWindow.clearText():ne===141&&ve++},Yo.prototype.extendedCommands=function(L,X){var q=this.current708Packet.data,ne=q[++L];return em(ne)&&(L=this.handleText(L,X,{isExtended:!0})),L},Yo.prototype.getPts=function(L){return this.current708Packet.ptsVals[Math.floor(L/2)]},Yo.prototype.initService=function(L,X){var ne="SERVICE"+L,q=this,ne,ve;return ne in this.serviceEncodings&&(ve=this.serviceEncodings[ne]),this.services[L]=new tm(L,ve,q),this.services[L].init(this.getPts(X),function(ke){q.flushDisplayed(ke,q.services[L])}),this.services[L]},Yo.prototype.handleText=function(L,X,q){var ne=q&&q.isExtended,ve=q&&q.isMultiByte,ke=this.current708Packet.data,wt=ne?4096:0,Mt=ke[L],Xt=ke[L+1],qt=X.currentWindow,Hr,Dn;function is(Zn){return Zn.map(sa=>("0"+(sa&255).toString(16)).slice(-2)).join("")}if(ve?(Dn=[Mt,Xt],L++):Dn=[Mt],X.textDecoder_&&!ne)Hr=X.textDecoder_.decode(new Uint8Array(Dn));else if(ve){const Zn=is(Dn);Hr=String.fromCharCode(parseInt(Zn,16))}else Hr=Fv(wt|Mt);return qt.pendingNewLine&&!qt.isEmpty()&&qt.newLine(this.getPts(L)),qt.pendingNewLine=!1,qt.addText(Hr),L},Yo.prototype.multiByteCharacter=function(L,X){var q=this.current708Packet.data,ne=q[L+1],ve=q[L+2];return em(ne)&&em(ve)&&(L=this.handleText(++L,X,{isMultiByte:!0})),L},Yo.prototype.setCurrentWindow=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=ne&7;return X.setCurrentWindow(ve),L},Yo.prototype.defineWindow=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=ne&7;X.setCurrentWindow(ve);var ke=X.currentWindow;return ne=q[++L],ke.visible=(ne&32)>>5,ke.rowLock=(ne&16)>>4,ke.columnLock=(ne&8)>>3,ke.priority=ne&7,ne=q[++L],ke.relativePositioning=(ne&128)>>7,ke.anchorVertical=ne&127,ne=q[++L],ke.anchorHorizontal=ne,ne=q[++L],ke.anchorPoint=(ne&240)>>4,ke.rowCount=ne&15,ne=q[++L],ke.columnCount=ne&63,ne=q[++L],ke.windowStyle=(ne&56)>>3,ke.penStyle=ne&7,ke.virtualRowCount=ke.rowCount+1,L},Yo.prototype.setWindowAttributes=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=X.currentWindow.winAttr;return ne=q[++L],ve.fillOpacity=(ne&192)>>6,ve.fillRed=(ne&48)>>4,ve.fillGreen=(ne&12)>>2,ve.fillBlue=ne&3,ne=q[++L],ve.borderType=(ne&192)>>6,ve.borderRed=(ne&48)>>4,ve.borderGreen=(ne&12)>>2,ve.borderBlue=ne&3,ne=q[++L],ve.borderType+=(ne&128)>>5,ve.wordWrap=(ne&64)>>6,ve.printDirection=(ne&48)>>4,ve.scrollDirection=(ne&12)>>2,ve.justify=ne&3,ne=q[++L],ve.effectSpeed=(ne&240)>>4,ve.effectDirection=(ne&12)>>2,ve.displayEffect=ne&3,L},Yo.prototype.flushDisplayed=function(L,X){for(var q=[],ne=0;ne<8;ne++)X.windows[ne].visible&&!X.windows[ne].isEmpty()&&q.push(X.windows[ne].getText());X.endPts=L,X.text=q.join(` 971 972`),this.pushCaption(X),X.startPts=L},Yo.prototype.pushCaption=function(L){L.text!==""&&(this.trigger("data",{startPts:L.startPts,endPts:L.endPts,text:L.text,stream:"cc708_"+L.serviceNum}),L.text="",L.startPts=L.endPts)},Yo.prototype.displayWindows=function(L,X){var q=this.current708Packet.data,ne=q[++L],ve=this.getPts(L);this.flushDisplayed(ve,X);for(var ke=0;ke<8;ke++)ne&1<<ke&&(X.windows[ke].visible=1);return L},Yo.prototype.hideWindows=function(L,X){var q=this.current708Packet.data,ne=q[++L],ve=this.getPts(L);this.flushDisplayed(ve,X);for(var ke=0;ke<8;ke++)ne&1<<ke&&(X.windows[ke].visible=0);return L},Yo.prototype.toggleWindows=function(L,X){var q=this.current708Packet.data,ne=q[++L],ve=this.getPts(L);this.flushDisplayed(ve,X);for(var ke=0;ke<8;ke++)ne&1<<ke&&(X.windows[ke].visible^=1);return L},Yo.prototype.clearWindows=function(L,X){var q=this.current708Packet.data,ne=q[++L],ve=this.getPts(L);this.flushDisplayed(ve,X);for(var ke=0;ke<8;ke++)ne&1<<ke&&X.windows[ke].clearText();return L},Yo.prototype.deleteWindows=function(L,X){var q=this.current708Packet.data,ne=q[++L],ve=this.getPts(L);this.flushDisplayed(ve,X);for(var ke=0;ke<8;ke++)ne&1<<ke&&X.windows[ke].reset();return L},Yo.prototype.setPenAttributes=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=X.currentWindow.penAttr;return ne=q[++L],ve.textTag=(ne&240)>>4,ve.offset=(ne&12)>>2,ve.penSize=ne&3,ne=q[++L],ve.italics=(ne&128)>>7,ve.underline=(ne&64)>>6,ve.edgeType=(ne&56)>>3,ve.fontStyle=ne&7,L},Yo.prototype.setPenColor=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=X.currentWindow.penColor;return ne=q[++L],ve.fgOpacity=(ne&192)>>6,ve.fgRed=(ne&48)>>4,ve.fgGreen=(ne&12)>>2,ve.fgBlue=ne&3,ne=q[++L],ve.bgOpacity=(ne&192)>>6,ve.bgRed=(ne&48)>>4,ve.bgGreen=(ne&12)>>2,ve.bgBlue=ne&3,ne=q[++L],ve.edgeRed=(ne&48)>>4,ve.edgeGreen=(ne&12)>>2,ve.edgeBlue=ne&3,L},Yo.prototype.setPenLocation=function(L,X){var q=this.current708Packet.data,ne=q[L],ve=X.currentWindow.penLoc;return X.currentWindow.pendingNewLine=!0,ne=q[++L],ve.row=ne&15,ne=q[++L],ve.column=ne&63,L},Yo.prototype.reset=function(L,X){var q=this.getPts(L);return this.flushDisplayed(q,X),this.initService(X.serviceNum,L)};var Bv={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},rm=function(L){return L===null?"":(L=Bv[L]||L,String.fromCharCode(L))},nm=14,Uv=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Hh=function(){for(var L=[],X=nm+1;X--;)L.push({text:"",indent:0,offset:0});return L},Tu=function(L,X){Tu.prototype.init.call(this),this.field_=L||0,this.dataChannel_=X||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(q){var ne,ve,ke,wt,Mt;if(ne=q.ccData&32639,ne===this.lastControlCode_){this.lastControlCode_=null;return}if((ne&61440)===4096?this.lastControlCode_=ne:ne!==this.PADDING_&&(this.lastControlCode_=null),ke=ne>>>8,wt=ne&255,ne!==this.PADDING_)if(ne===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(ne===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(q.pts),this.flushDisplayed(q.pts),ve=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=ve,this.startPts_=q.pts;else if(ne===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(q.pts);else if(ne===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(q.pts);else if(ne===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(q.pts);else if(ne===this.CARRIAGE_RETURN_)this.clearFormatting(q.pts),this.flushDisplayed(q.pts),this.shiftRowsUp_(),this.startPts_=q.pts;else if(ne===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1);else if(ne===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(q.pts),this.displayed_=Hh();else if(ne===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Hh();else if(ne===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(q.pts),this.displayed_=Hh()),this.mode_="paintOn",this.startPts_=q.pts;else if(this.isSpecialCharacter(ke,wt))ke=(ke&3)<<8,Mt=rm(ke|wt),this[this.mode_](q.pts,Mt),this.column_++;else if(this.isExtCharacter(ke,wt))this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1),ke=(ke&3)<<8,Mt=rm(ke|wt),this[this.mode_](q.pts,Mt),this.column_++;else if(this.isMidRowCode(ke,wt))this.clearFormatting(q.pts),this[this.mode_](q.pts," "),this.column_++,(wt&14)===14&&this.addFormatting(q.pts,["i"]),(wt&1)===1&&this.addFormatting(q.pts,["u"]);else if(this.isOffsetControlCode(ke,wt)){const qt=wt&3;this.nonDisplayed_[this.row_].offset=qt,this.column_+=qt}else if(this.isPAC(ke,wt)){var Xt=Uv.indexOf(ne&7968);if(this.mode_==="rollUp"&&(Xt-this.rollUpRows_+1<0&&(Xt=this.rollUpRows_-1),this.setRollUp(q.pts,Xt)),Xt!==this.row_&&Xt>=0&&Xt<=14&&(this.clearFormatting(q.pts),this.row_=Xt),wt&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(q.pts,["u"]),(ne&16)===16){const qt=(ne&14)>>1;this.column_=qt*4,this.nonDisplayed_[this.row_].indent+=qt}this.isColorPAC(wt)&&(wt&14)===14&&this.addFormatting(q.pts,["i"])}else this.isNormalChar(ke)&&(wt===0&&(wt=null),Mt=rm(ke),Mt+=rm(wt),this[this.mode_](q.pts,Mt),this.column_+=Mt.length)}};Tu.prototype=new $g,Tu.prototype.flushDisplayed=function(L){const X=ne=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+ne+"."})},q=[];this.displayed_.forEach((ne,ve)=>{if(ne&&ne.text&&ne.text.length){try{ne.text=ne.text.trim()}catch{X(ve)}ne.text.length&&q.push({text:ne.text,line:ve+1,position:10+Math.min(70,ne.indent*10)+ne.offset*2.5})}else ne==null&&X(ve)}),q.length&&this.trigger("data",{startPts:this.startPts_,endPts:L,content:q,stream:this.name_})},Tu.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Hh(),this.nonDisplayed_=Hh(),this.lastControlCode_=null,this.column_=0,this.row_=nm,this.rollUpRows_=2,this.formatting_=[]},Tu.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},Tu.prototype.isSpecialCharacter=function(L,X){return L===this.EXT_&&X>=48&&X<=63},Tu.prototype.isExtCharacter=function(L,X){return(L===this.EXT_+1||L===this.EXT_+2)&&X>=32&&X<=63},Tu.prototype.isMidRowCode=function(L,X){return L===this.EXT_&&X>=32&&X<=47},Tu.prototype.isOffsetControlCode=function(L,X){return L===this.OFFSET_&&X>=33&&X<=35},Tu.prototype.isPAC=function(L,X){return L>=this.BASE_&&L<this.BASE_+8&&X>=64&&X<=127},Tu.prototype.isColorPAC=function(L){return L>=64&&L<=79||L>=96&&L<=127},Tu.prototype.isNormalChar=function(L){return L>=32&&L<=127},Tu.prototype.setRollUp=function(L,X){if(this.mode_!=="rollUp"&&(this.row_=nm,this.mode_="rollUp",this.flushDisplayed(L),this.nonDisplayed_=Hh(),this.displayed_=Hh()),X!==void 0&&X!==this.row_)for(var q=0;q<this.rollUpRows_;q++)this.displayed_[X-q]=this.displayed_[this.row_-q],this.displayed_[this.row_-q]={text:"",indent:0,offset:0};X===void 0&&(X=this.row_),this.topRow_=X-this.rollUpRows_+1},Tu.prototype.addFormatting=function(L,X){this.formatting_=this.formatting_.concat(X);var q=X.reduce(function(ne,ve){return ne+"<"+ve+">"},"");this[this.mode_](L,q)},Tu.prototype.clearFormatting=function(L){if(this.formatting_.length){var X=this.formatting_.reverse().reduce(function(q,ne){return q+"</"+ne+">"},"");this.formatting_=[],this[this.mode_](L,X)}},Tu.prototype.popOn=function(L,X){var q=this.nonDisplayed_[this.row_].text;q+=X,this.nonDisplayed_[this.row_].text=q},Tu.prototype.rollUp=function(L,X){var q=this.displayed_[this.row_].text;q+=X,this.displayed_[this.row_].text=q},Tu.prototype.shiftRowsUp_=function(){var L;for(L=0;L<this.topRow_;L++)this.displayed_[L]={text:"",indent:0,offset:0};for(L=this.row_+1;L<nm+1;L++)this.displayed_[L]={text:"",indent:0,offset:0};for(L=this.topRow_;L<this.row_;L++)this.displayed_[L]=this.displayed_[L+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},Tu.prototype.paintOn=function(L,X){var q=this.displayed_[this.row_].text;q+=X,this.displayed_[this.row_].text=q};var b1={CaptionStream:cd,Cea608Stream:Tu,Cea708Stream:Yo},im={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},jv=o,zv=8589934592,$v=4294967296,S1="shared",Hg=function(L,X){var q=1;for(L>X&&(q=-1);Math.abs(X-L)>$v;)L+=q*zv;return L},Wg=function(L){var X,q;Wg.prototype.init.call(this),this.type_=L||S1,this.push=function(ne){if(ne.type==="metadata"){this.trigger("data",ne);return}this.type_!==S1&&ne.type!==this.type_||(q===void 0&&(q=ne.dts),ne.dts=Hg(ne.dts,q),ne.pts=Hg(ne.pts,q),X=ne.dts,this.trigger("data",ne))},this.flush=function(){q=X,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){q=void 0,X=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Wg.prototype=new jv;var x1={TimestampRolloverStream:Wg,handleRollover:Hg},Hv=(L,X,q)=>{if(!L)return-1;for(var ne=q;ne<L.length;ne++)if(L[ne]===X)return ne;return-1},Wv={typedArrayIndexOf:Hv},sm=Wv.typedArrayIndexOf,am={Iso88591:0,Utf16:1,Utf16be:2,Utf8:3},E1=function(L,X,q){var ne,ve="";for(ne=X;ne<q;ne++)ve+="%"+("00"+L[ne].toString(16)).slice(-2);return ve},Kp=function(L,X,q){return decodeURIComponent(E1(L,X,q))},Yp=function(L,X,q){return unescape(E1(L,X,q))},Xp=function(L){return L[0]<<21|L[1]<<14|L[2]<<7|L[3]},Qp={APIC:function(L){var X=1,q,ne,ve="-->";L.data[0]===am.Utf8&&(q=sm(L.data,0,X),!(q<0)&&(L.mimeType=Yp(L.data,X,q),X=q+1,L.pictureType=L.data[X],X++,ne=sm(L.data,0,X),!(ne<0)&&(L.description=Kp(L.data,X,ne),X=ne+1,L.mimeType===ve?L.url=Yp(L.data,X,L.data.length):L.pictureData=L.data.subarray(X,L.data.length))))},"T*":function(L){L.data[0]===am.Utf8&&(L.value=Kp(L.data,1,L.data.length).replace(/\0*$/,""),L.values=L.value.split("\0"))},TXXX:function(L){var X;L.data[0]===am.Utf8&&(X=sm(L.data,0,1),X!==-1&&(L.description=Kp(L.data,1,X),L.value=Kp(L.data,X+1,L.data.length).replace(/\0*$/,""),L.data=L.value))},"W*":function(L){L.url=Yp(L.data,0,L.data.length).replace(/\0.*$/,"")},WXXX:function(L){var X;L.data[0]===am.Utf8&&(X=sm(L.data,0,1),X!==-1&&(L.description=Kp(L.data,1,X),L.url=Yp(L.data,X+1,L.data.length).replace(/\0.*$/,"")))},PRIV:function(L){var X;for(X=0;X<L.data.length;X++)if(L.data[X]===0){L.owner=Yp(L.data,0,X);break}L.privateData=L.data.subarray(X+1),L.data=L.privateData}},Vv=function(L){var X,q,ne=10,ve=0,ke=[];if(!(L.length<10||L[0]!==73||L[1]!==68||L[2]!==51)){ve=Xp(L.subarray(6,10)),ve+=10;var wt=L[5]&64;wt&&(ne+=4,ne+=Xp(L.subarray(10,14)),ve-=Xp(L.subarray(16,20)));do{if(X=Xp(L.subarray(ne+4,ne+8)),X<1)break;q=String.fromCharCode(L[ne],L[ne+1],L[ne+2],L[ne+3]);var Mt={id:q,data:L.subarray(ne+10,ne+X+10)};Mt.key=Mt.id,Qp[Mt.id]?Qp[Mt.id](Mt):Mt.id[0]==="T"?Qp["T*"](Mt):Mt.id[0]==="W"&&Qp["W*"](Mt),ke.push(Mt),ne+=10,ne+=X}while(ne<ve);return ke}},T1={parseId3Frames:Vv,parseSyncSafeInteger:Xp,frameParsers:Qp},Gv=o,Kv=im,bh=T1,om;om=function(L){var X={descriptor:L&&L.descriptor},q=0,ne=[],ve=0,ke;if(om.prototype.init.call(this),this.dispatchType=Kv.METADATA_STREAM_TYPE.toString(16),X.descriptor)for(ke=0;ke<X.descriptor.length;ke++)this.dispatchType+=("00"+X.descriptor[ke].toString(16)).slice(-2);this.push=function(wt){var Mt,Xt,qt,Hr,Dn,is;if(wt.type==="timed-metadata"){if(wt.dataAlignmentIndicator&&(ve=0,ne.length=0),ne.length===0&&(wt.data.length<10||wt.data[0]!==73||wt.data[1]!==68||wt.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(ne.push(wt),ve+=wt.data.byteLength,ne.length===1&&(q=bh.parseSyncSafeInteger(wt.data.subarray(6,10)),q+=10),!(ve<q)){for(Mt={data:new Uint8Array(q),frames:[],pts:ne[0].pts,dts:ne[0].dts},Dn=0;Dn<q;)Mt.data.set(ne[0].data.subarray(0,q-Dn),Dn),Dn+=ne[0].data.byteLength,ve-=ne[0].data.byteLength,ne.shift();Xt=10,Mt.data[5]&64&&(Xt+=4,Xt+=bh.parseSyncSafeInteger(Mt.data.subarray(10,14)),q-=bh.parseSyncSafeInteger(Mt.data.subarray(16,20)));do{if(qt=bh.parseSyncSafeInteger(Mt.data.subarray(Xt+4,Xt+8)),qt<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(is=String.fromCharCode(Mt.data[Xt],Mt.data[Xt+1],Mt.data[Xt+2],Mt.data[Xt+3]),Hr={id:is,data:Mt.data.subarray(Xt+10,Xt+qt+10)},Hr.key=Hr.id,bh.frameParsers[Hr.id]?bh.frameParsers[Hr.id](Hr):Hr.id[0]==="T"?bh.frameParsers["T*"](Hr):Hr.id[0]==="W"&&bh.frameParsers["W*"](Hr),Hr.owner==="com.apple.streaming.transportStreamTimestamp"){var Zn=Hr.data,sa=(Zn[3]&1)<<30|Zn[4]<<22|Zn[5]<<14|Zn[6]<<6|Zn[7]>>>2;sa*=4,sa+=Zn[7]&3,Hr.timeStamp=sa,Mt.pts===void 0&&Mt.dts===void 0&&(Mt.pts=Hr.timeStamp,Mt.dts=Hr.timeStamp),this.trigger("timestamp",Hr)}Mt.frames.push(Hr),Xt+=10,Xt+=qt}while(Xt<q);this.trigger("data",Mt)}}}},om.prototype=new Gv;var Yv=om,Vg=o,Gg=b1,wf=im,Xv=x1.TimestampRolloverStream,um,Jp,lm,vp=188,Kg=71;um=function(){var L=new Uint8Array(vp),X=0;um.prototype.init.call(this),this.push=function(q){var ne=0,ve=vp,ke;for(X?(ke=new Uint8Array(q.byteLength+X),ke.set(L.subarray(0,X)),ke.set(q,X),X=0):ke=q;ve<ke.byteLength;){if(ke[ne]===Kg&&ke[ve]===Kg){this.trigger("data",ke.subarray(ne,ve)),ne+=vp,ve+=vp;continue}ne++,ve++}ne<ke.byteLength&&(L.set(ke.subarray(ne),0),X=ke.byteLength-ne)},this.flush=function(){X===vp&&L[0]===Kg&&(this.trigger("data",L),X=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){X=0,this.trigger("reset")}},um.prototype=new Vg,Jp=function(){var L,X,q,ne;Jp.prototype.init.call(this),ne=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,L=function(ve,ke){var wt=0;ke.payloadUnitStartIndicator&&(wt+=ve[wt]+1),ke.type==="pat"?X(ve.subarray(wt),ke):q(ve.subarray(wt),ke)},X=function(ve,ke){ke.section_number=ve[7],ke.last_section_number=ve[8],ne.pmtPid=(ve[10]&31)<<8|ve[11],ke.pmtPid=ne.pmtPid},q=function(ve,ke){var wt,Mt,Xt,qt;if(ve[5]&1){for(ne.programMapTable={video:null,audio:null,"timed-metadata":{}},wt=(ve[1]&15)<<8|ve[2],Mt=3+wt-4,Xt=(ve[10]&15)<<8|ve[11],qt=12+Xt;qt<Mt;){var Hr=ve[qt],Dn=(ve[qt+1]&31)<<8|ve[qt+2];Hr===wf.H264_STREAM_TYPE&&ne.programMapTable.video===null?ne.programMapTable.video=Dn:Hr===wf.ADTS_STREAM_TYPE&&ne.programMapTable.audio===null?ne.programMapTable.audio=Dn:Hr===wf.METADATA_STREAM_TYPE&&(ne.programMapTable["timed-metadata"][Dn]=Hr),qt+=((ve[qt+3]&15)<<8|ve[qt+4])+5}ke.programMapTable=ne.programMapTable}},this.push=function(ve){var ke={},wt=4;if(ke.payloadUnitStartIndicator=!!(ve[1]&64),ke.pid=ve[1]&31,ke.pid<<=8,ke.pid|=ve[2],(ve[3]&48)>>>4>1&&(wt+=ve[wt]+1),ke.pid===0)ke.type="pat",L(ve.subarray(wt),ke),this.trigger("data",ke);else if(ke.pid===this.pmtPid)for(ke.type="pmt",L(ve.subarray(wt),ke),this.trigger("data",ke);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([ve,wt,ke]):this.processPes_(ve,wt,ke)},this.processPes_=function(ve,ke,wt){wt.pid===this.programMapTable.video?wt.streamType=wf.H264_STREAM_TYPE:wt.pid===this.programMapTable.audio?wt.streamType=wf.ADTS_STREAM_TYPE:wt.streamType=this.programMapTable["timed-metadata"][wt.pid],wt.type="pes",wt.data=ve.subarray(ke),this.trigger("data",wt)}},Jp.prototype=new Vg,Jp.STREAM_TYPES={h264:27,adts:15},lm=function(){var L=this,X=!1,q={data:[],size:0},ne={data:[],size:0},ve={data:[],size:0},ke,wt=function(Xt,qt){var Hr;const Dn=Xt[0]<<16|Xt[1]<<8|Xt[2];qt.data=new Uint8Array,Dn===1&&(qt.packetLength=6+(Xt[4]<<8|Xt[5]),qt.dataAlignmentIndicator=(Xt[6]&4)!==0,Hr=Xt[7],Hr&192&&(qt.pts=(Xt[9]&14)<<27|(Xt[10]&255)<<20|(Xt[11]&254)<<12|(Xt[12]&255)<<5|(Xt[13]&254)>>>3,qt.pts*=4,qt.pts+=(Xt[13]&6)>>>1,qt.dts=qt.pts,Hr&64&&(qt.dts=(Xt[14]&14)<<27|(Xt[15]&255)<<20|(Xt[16]&254)<<12|(Xt[17]&255)<<5|(Xt[18]&254)>>>3,qt.dts*=4,qt.dts+=(Xt[18]&6)>>>1)),qt.data=Xt.subarray(9+Xt[8]))},Mt=function(Xt,qt,Hr){var Dn=new Uint8Array(Xt.size),is={type:qt},Zn=0,sa=0,Aa=!1,Kl;if(!(!Xt.data.length||Xt.size<9)){for(is.trackId=Xt.data[0].pid,Zn=0;Zn<Xt.data.length;Zn++)Kl=Xt.data[Zn],Dn.set(Kl.data,sa),sa+=Kl.data.byteLength;wt(Dn,is),Aa=qt==="video"||is.packetLength<=Xt.size,(Hr||Aa)&&(Xt.size=0,Xt.data.length=0),Aa&&L.trigger("data",is)}};lm.prototype.init.call(this),this.push=function(Xt){({pat:function(){},pes:function(){var qt,Hr;switch(Xt.streamType){case wf.H264_STREAM_TYPE:qt=q,Hr="video";break;case wf.ADTS_STREAM_TYPE:qt=ne,Hr="audio";break;case wf.METADATA_STREAM_TYPE:qt=ve,Hr="timed-metadata";break;default:return}Xt.payloadUnitStartIndicator&&Mt(qt,Hr,!0),qt.data.push(Xt),qt.size+=Xt.data.byteLength},pmt:function(){var qt={type:"metadata",tracks:[]};ke=Xt.programMapTable,ke.video!==null&&qt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+ke.video,codec:"avc",type:"video"}),ke.audio!==null&&qt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+ke.audio,codec:"adts",type:"audio"}),X=!0,L.trigger("data",qt)}})[Xt.type]()},this.reset=function(){q.size=0,q.data.length=0,ne.size=0,ne.data.length=0,this.trigger("reset")},this.flushStreams_=function(){Mt(q,"video"),Mt(ne,"audio"),Mt(ve,"timed-metadata")},this.flush=function(){if(!X&&ke){var Xt={type:"metadata",tracks:[]};ke.video!==null&&Xt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+ke.video,codec:"avc",type:"video"}),ke.audio!==null&&Xt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+ke.audio,codec:"adts",type:"audio"}),L.trigger("data",Xt)}X=!1,this.flushStreams_(),this.trigger("done")}},lm.prototype=new Vg;var w1={PAT_PID:0,MP2T_PACKET_LENGTH:vp,TransportPacketStream:um,TransportParseStream:Jp,ElementaryStream:lm,TimestampRolloverStream:Xv,CaptionStream:Gg.CaptionStream,Cea608Stream:Gg.Cea608Stream,Cea708Stream:Gg.Cea708Stream,MetadataStream:Yv};for(var Yg in wf)wf.hasOwnProperty(Yg)&&(w1[Yg]=wf[Yg]);var Qv=w1,Jv=o,Zv=ou.ONE_SECOND_IN_TS,cm,_1=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];cm=function(L){var X,q=0;cm.prototype.init.call(this),this.skipWarn_=function(ne,ve){this.trigger("log",{level:"warn",message:`adts skiping bytes ${ne} to ${ve} in frame ${q} outside syncword`})},this.push=function(ne){var ve=0,ke,wt,Mt,Xt,qt;if(L||(q=0),ne.type==="audio"){X&&X.length?(Mt=X,X=new Uint8Array(Mt.byteLength+ne.data.byteLength),X.set(Mt),X.set(ne.data,Mt.byteLength)):X=ne.data;for(var Hr;ve+7<X.length;){if(X[ve]!==255||(X[ve+1]&246)!==240){typeof Hr!="number"&&(Hr=ve),ve++;continue}if(typeof Hr=="number"&&(this.skipWarn_(Hr,ve),Hr=null),wt=(~X[ve+1]&1)*2,ke=(X[ve+3]&3)<<11|X[ve+4]<<3|(X[ve+5]&224)>>5,Xt=((X[ve+6]&3)+1)*1024,qt=Xt*Zv/_1[(X[ve+2]&60)>>>2],X.byteLength-ve<ke)break;this.trigger("data",{pts:ne.pts+q*qt,dts:ne.dts+q*qt,sampleCount:Xt,audioobjecttype:(X[ve+2]>>>6&3)+1,channelcount:(X[ve+2]&1)<<2|(X[ve+3]&192)>>>6,samplerate:_1[(X[ve+2]&60)>>>2],samplingfrequencyindex:(X[ve+2]&60)>>>2,samplesize:16,data:X.subarray(ve+7+wt,ve+ke)}),q++,ve+=ke}typeof Hr=="number"&&(this.skipWarn_(Hr,ve),Hr=null),X=X.subarray(ve)}},this.flush=function(){q=0,this.trigger("done")},this.reset=function(){X=void 0,this.trigger("reset")},this.endTimeline=function(){X=void 0,this.trigger("endedtimeline")}},cm.prototype=new Jv;var qv=cm,A1;A1=function(L){var X=L.byteLength,q=0,ne=0;this.length=function(){return 8*X},this.bitsAvailable=function(){return 8*X+ne},this.loadWord=function(){var ve=L.byteLength-X,ke=new Uint8Array(4),wt=Math.min(4,X);if(wt===0)throw new Error("no bytes available");ke.set(L.subarray(ve,ve+wt)),q=new DataView(ke.buffer).getUint32(0),ne=wt*8,X-=wt},this.skipBits=function(ve){var ke;ne>ve?(q<<=ve,ne-=ve):(ve-=ne,ke=Math.floor(ve/8),ve-=ke*8,X-=ke,this.loadWord(),q<<=ve,ne-=ve)},this.readBits=function(ve){var ke=Math.min(ne,ve),wt=q>>>32-ke;return ne-=ke,ne>0?q<<=ke:X>0&&this.loadWord(),ke=ve-ke,ke>0?wt<<ke|this.readBits(ke):wt},this.skipLeadingZeros=function(){var ve;for(ve=0;ve<ne;++ve)if((q&2147483648>>>ve)!==0)return q<<=ve,ne-=ve,ve;return this.loadWord(),ve+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var ve=this.skipLeadingZeros();return this.readBits(ve+1)-1},this.readExpGolomb=function(){var ve=this.readUnsignedExpGolomb();return 1&ve?1+ve>>>1:-1*(ve>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var ey=A1,C1=o,ty=ey,dm,Zp,O1;Zp=function(){var L=0,X,q;Zp.prototype.init.call(this),this.push=function(ne){var ve;q?(ve=new Uint8Array(q.byteLength+ne.data.byteLength),ve.set(q),ve.set(ne.data,q.byteLength),q=ve):q=ne.data;for(var ke=q.byteLength;L<ke-3;L++)if(q[L+2]===1){X=L+5;break}for(;X<ke;)switch(q[X]){case 0:if(q[X-1]!==0){X+=2;break}else if(q[X-2]!==0){X++;break}L+3!==X-2&&this.trigger("data",q.subarray(L+3,X-2));do X++;while(q[X]!==1&&X<ke);L=X-2,X+=3;break;case 1:if(q[X-1]!==0||q[X-2]!==0){X+=3;break}this.trigger("data",q.subarray(L+3,X-2)),L=X-2,X+=3;break;default:X+=3;break}q=q.subarray(L),X-=L,L=0},this.reset=function(){q=null,L=0,this.trigger("reset")},this.flush=function(){q&&q.byteLength>3&&this.trigger("data",q.subarray(L+3)),q=null,L=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},Zp.prototype=new C1,O1={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},dm=function(){var L=new Zp,X,q,ne,ve,ke,wt,Mt;dm.prototype.init.call(this),X=this,this.push=function(Xt){Xt.type==="video"&&(q=Xt.trackId,ne=Xt.pts,ve=Xt.dts,L.push(Xt))},L.on("data",function(Xt){var qt={trackId:q,pts:ne,dts:ve,data:Xt,nalUnitTypeCode:Xt[0]&31};switch(qt.nalUnitTypeCode){case 5:qt.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:qt.nalUnitType="sei_rbsp",qt.escapedRBSP=ke(Xt.subarray(1));break;case 7:qt.nalUnitType="seq_parameter_set_rbsp",qt.escapedRBSP=ke(Xt.subarray(1)),qt.config=wt(qt.escapedRBSP);break;case 8:qt.nalUnitType="pic_parameter_set_rbsp";break;case 9:qt.nalUnitType="access_unit_delimiter_rbsp";break}X.trigger("data",qt)}),L.on("done",function(){X.trigger("done")}),L.on("partialdone",function(){X.trigger("partialdone")}),L.on("reset",function(){X.trigger("reset")}),L.on("endedtimeline",function(){X.trigger("endedtimeline")}),this.flush=function(){L.flush()},this.partialFlush=function(){L.partialFlush()},this.reset=function(){L.reset()},this.endTimeline=function(){L.endTimeline()},Mt=function(Xt,qt){var Hr=8,Dn=8,is,Zn;for(is=0;is<Xt;is++)Dn!==0&&(Zn=qt.readExpGolomb(),Dn=(Hr+Zn+256)%256),Hr=Dn===0?Hr:Dn},ke=function(Xt){for(var qt=Xt.byteLength,Hr=[],Dn=1,is,Zn;Dn<qt-2;)Xt[Dn]===0&&Xt[Dn+1]===0&&Xt[Dn+2]===3?(Hr.push(Dn+2),Dn+=2):Dn++;if(Hr.length===0)return Xt;is=qt-Hr.length,Zn=new Uint8Array(is);var sa=0;for(Dn=0;Dn<is;sa++,Dn++)sa===Hr[0]&&(sa++,Hr.shift()),Zn[Dn]=Xt[sa];return Zn},wt=function(Xt){var qt=0,Hr=0,Dn=0,is=0,Zn,sa,Aa,Kl,Rd,Eh,a0,o0,u0,l0,Tm,uu=[1,1],c0,Af;if(Zn=new ty(Xt),sa=Zn.readUnsignedByte(),Kl=Zn.readUnsignedByte(),Aa=Zn.readUnsignedByte(),Zn.skipUnsignedExpGolomb(),O1[sa]&&(Rd=Zn.readUnsignedExpGolomb(),Rd===3&&Zn.skipBits(1),Zn.skipUnsignedExpGolomb(),Zn.skipUnsignedExpGolomb(),Zn.skipBits(1),Zn.readBoolean()))for(Tm=Rd!==3?8:12,Af=0;Af<Tm;Af++)Zn.readBoolean()&&(Af<6?Mt(16,Zn):Mt(64,Zn));if(Zn.skipUnsignedExpGolomb(),Eh=Zn.readUnsignedExpGolomb(),Eh===0)Zn.readUnsignedExpGolomb();else if(Eh===1)for(Zn.skipBits(1),Zn.skipExpGolomb(),Zn.skipExpGolomb(),a0=Zn.readUnsignedExpGolomb(),Af=0;Af<a0;Af++)Zn.skipExpGolomb();if(Zn.skipUnsignedExpGolomb(),Zn.skipBits(1),o0=Zn.readUnsignedExpGolomb(),u0=Zn.readUnsignedExpGolomb(),l0=Zn.readBits(1),l0===0&&Zn.skipBits(1),Zn.skipBits(1),Zn.readBoolean()&&(qt=Zn.readUnsignedExpGolomb(),Hr=Zn.readUnsignedExpGolomb(),Dn=Zn.readUnsignedExpGolomb(),is=Zn.readUnsignedExpGolomb()),Zn.readBoolean()&&Zn.readBoolean()){switch(c0=Zn.readUnsignedByte(),c0){case 1:uu=[1,1];break;case 2:uu=[12,11];break;case 3:uu=[10,11];break;case 4:uu=[16,11];break;case 5:uu=[40,33];break;case 6:uu=[24,11];break;case 7:uu=[20,11];break;case 8:uu=[32,11];break;case 9:uu=[80,33];break;case 10:uu=[18,11];break;case 11:uu=[15,11];break;case 12:uu=[64,33];break;case 13:uu=[160,99];break;case 14:uu=[4,3];break;case 15:uu=[3,2];break;case 16:uu=[2,1];break;case 255:{uu=[Zn.readUnsignedByte()<<8|Zn.readUnsignedByte(),Zn.readUnsignedByte()<<8|Zn.readUnsignedByte()];break}}uu&&uu[0]/uu[1]}return{profileIdc:sa,levelIdc:Aa,profileCompatibility:Kl,width:(o0+1)*16-qt*2-Hr*2,height:(2-l0)*(u0+1)*16-Dn*2-is*2,sarRatio:uu}}},dm.prototype=new C1;var ry={H264Stream:dm,NalByteStream:Zp},ny=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],I1=function(L,X){var q=L[X+6]<<21|L[X+7]<<14|L[X+8]<<7|L[X+9],ne=L[X+5],ve=(ne&16)>>4;return q=q>=0?q:0,ve?q+20:q+10},P1=function(L,X){return L.length-X<10||L[X]!==73||L[X+1]!==68||L[X+2]!==51?X:(X+=I1(L,X),P1(L,X))},iy=function(L){var X=P1(L,0);return L.length>=X+2&&(L[X]&255)===255&&(L[X+1]&240)===240&&(L[X+1]&22)===16},R1=function(L){return L[0]<<21|L[1]<<14|L[2]<<7|L[3]},sy=function(L,X,q){var ne,ve="";for(ne=X;ne<q;ne++)ve+="%"+("00"+L[ne].toString(16)).slice(-2);return ve},ay=function(L,X,q){return unescape(sy(L,X,q))},oy=function(L,X){var q=(L[X+5]&224)>>5,ne=L[X+4]<<3,ve=L[X+3]&6144;return ve|ne|q},uy=function(L,X){return L[X]===73&&L[X+1]===68&&L[X+2]===51?"timed-metadata":L[X]&!0&&(L[X+1]&240)===240?"audio":null},ly=function(L){for(var X=0;X+5<L.length;){if(L[X]!==255||(L[X+1]&246)!==240){X++;continue}return ny[(L[X+2]&60)>>>2]}return null},cy=function(L){var X,q,ne,ve;X=10,L[5]&64&&(X+=4,X+=R1(L.subarray(10,14)));do{if(q=R1(L.subarray(X+4,X+8)),q<1)return null;if(ve=String.fromCharCode(L[X],L[X+1],L[X+2],L[X+3]),ve==="PRIV"){ne=L.subarray(X+10,X+q+10);for(var ke=0;ke<ne.byteLength;ke++)if(ne[ke]===0){var wt=ay(ne,0,ke);if(wt==="com.apple.streaming.transportStreamTimestamp"){var Mt=ne.subarray(ke+1),Xt=(Mt[3]&1)<<30|Mt[4]<<22|Mt[5]<<14|Mt[6]<<6|Mt[7]>>>2;return Xt*=4,Xt+=Mt[7]&3,Xt}break}}X+=10,X+=q}while(X<L.byteLength);return null},Xg={isLikelyAacData:iy,parseId3TagSize:I1,parseAdtsSize:oy,parseType:uy,parseSampleRate:ly,parseAacTimestamp:cy},dy=o,D1=Xg,fm;fm=function(){var L=new Uint8Array,X=0;fm.prototype.init.call(this),this.setTimestamp=function(q){X=q},this.push=function(q){var ne=0,ve=0,ke,wt,Mt,Xt;for(L.length?(Xt=L.length,L=new Uint8Array(q.byteLength+Xt),L.set(L.subarray(0,Xt)),L.set(q,Xt)):L=q;L.length-ve>=3;){if(L[ve]===73&&L[ve+1]===68&&L[ve+2]===51){if(L.length-ve<10||(ne=D1.parseId3TagSize(L,ve),ve+ne>L.length))break;wt={type:"timed-metadata",data:L.subarray(ve,ve+ne)},this.trigger("data",wt),ve+=ne;continue}else if((L[ve]&255)===255&&(L[ve+1]&240)===240){if(L.length-ve<7||(ne=D1.parseAdtsSize(L,ve),ve+ne>L.length))break;Mt={type:"audio",data:L.subarray(ve,ve+ne),pts:X,dts:X},this.trigger("data",Mt),ve+=ne;continue}ve++}ke=L.length-ve,ke>0?L=L.subarray(ve):L=new Uint8Array},this.reset=function(){L=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){L=new Uint8Array,this.trigger("endedtimeline")}},fm.prototype=new dy;var fy=fm,hy=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],py=hy,my=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],gy=my,hm=o,qp=Y0,e0=gv,pm=_v,_f=Pv,Xf=Qv,mm=ou,L1=qv,vy=ry.H264Stream,yy=fy,by=Xg.isLikelyAacData,Sy=ou.ONE_SECOND_IN_TS,Qg=py,Jg=gy,t0,yp,gm,Wh,xy=function(L,X){X.stream=L,this.trigger("log",X)},M1=function(L,X){for(var q=Object.keys(X),ne=0;ne<q.length;ne++){var ve=q[ne];ve==="headOfPipeline"||!X[ve].on||X[ve].on("log",xy.bind(L,ve))}},k1=function(L,X){var q;if(L.length!==X.length)return!1;for(q=0;q<L.length;q++)if(L[q]!==X[q])return!1;return!0},Zg=function(L,X,q,ne,ve,ke){var wt=q-X,Mt=ne-X,Xt=ve-q;return{start:{dts:L,pts:L+wt},end:{dts:L+Mt,pts:L+Xt},prependedContentDuration:ke,baseMediaDecodeTime:L}};yp=function(L,X){var q=[],ne,ve=0,ke=0,wt=1/0;X=X||{},ne=X.firstSequenceNumber||0,yp.prototype.init.call(this),this.push=function(Mt){_f.collectDtsInfo(L,Mt),L&&Qg.forEach(function(Xt){L[Xt]=Mt[Xt]}),q.push(Mt)},this.setEarliestDts=function(Mt){ve=Mt},this.setVideoBaseMediaDecodeTime=function(Mt){wt=Mt},this.setAudioAppendStart=function(Mt){ke=Mt},this.flush=function(){var Mt,Xt,qt,Hr,Dn,is,Zn;if(q.length===0){this.trigger("done","AudioSegmentStream");return}Mt=pm.trimAdtsFramesByEarliestDts(q,L,ve),L.baseMediaDecodeTime=_f.calculateTrackBaseMediaDecodeTime(L,X.keepOriginalTimestamps),Zn=pm.prefixWithSilence(L,Mt,ke,wt),L.samples=pm.generateSampleTable(Mt),qt=qp.mdat(pm.concatenateFrameData(Mt)),q=[],Xt=qp.moof(ne,[L]),Hr=new Uint8Array(Xt.byteLength+qt.byteLength),ne++,Hr.set(Xt),Hr.set(qt,Xt.byteLength),_f.clearDtsInfo(L),Dn=Math.ceil(Sy*1024/L.samplerate),Mt.length&&(is=Mt.length*Dn,this.trigger("segmentTimingInfo",Zg(mm.audioTsToVideoTs(L.baseMediaDecodeTime,L.samplerate),Mt[0].dts,Mt[0].pts,Mt[0].dts+is,Mt[0].pts+is,Zn||0)),this.trigger("timingInfo",{start:Mt[0].pts,end:Mt[0].pts+is})),this.trigger("data",{track:L,boxes:Hr}),this.trigger("done","AudioSegmentStream")},this.reset=function(){_f.clearDtsInfo(L),q=[],this.trigger("reset")}},yp.prototype=new hm,t0=function(L,X){var q,ne=[],ve=[],ke,wt;X=X||{},q=X.firstSequenceNumber||0,t0.prototype.init.call(this),delete L.minPTS,this.gopCache_=[],this.push=function(Mt){_f.collectDtsInfo(L,Mt),Mt.nalUnitType==="seq_parameter_set_rbsp"&&!ke&&(ke=Mt.config,L.sps=[Mt.data],Jg.forEach(function(Xt){L[Xt]=ke[Xt]},this)),Mt.nalUnitType==="pic_parameter_set_rbsp"&&!wt&&(wt=Mt.data,L.pps=[Mt.data]),ne.push(Mt)},this.flush=function(){for(var Mt,Xt,qt,Hr,Dn,is,Zn=0,sa,Aa;ne.length&&ne[0].nalUnitType!=="access_unit_delimiter_rbsp";)ne.shift();if(ne.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(Mt=e0.groupNalsIntoFrames(ne),qt=e0.groupFramesIntoGops(Mt),qt[0][0].keyFrame||(Xt=this.getGopForFusion_(ne[0],L),Xt?(Zn=Xt.duration,qt.unshift(Xt),qt.byteLength+=Xt.byteLength,qt.nalCount+=Xt.nalCount,qt.pts=Xt.pts,qt.dts=Xt.dts,qt.duration+=Xt.duration):qt=e0.extendFirstKeyFrame(qt)),ve.length){var Kl;if(X.alignGopsAtEnd?Kl=this.alignGopsAtEnd_(qt):Kl=this.alignGopsAtStart_(qt),!Kl){this.gopCache_.unshift({gop:qt.pop(),pps:L.pps,sps:L.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ne=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}_f.clearDtsInfo(L),qt=Kl}_f.collectDtsInfo(L,qt),L.samples=e0.generateSampleTable(qt),Dn=qp.mdat(e0.concatenateNalData(qt)),L.baseMediaDecodeTime=_f.calculateTrackBaseMediaDecodeTime(L,X.keepOriginalTimestamps),this.trigger("processedGopsInfo",qt.map(function(Rd){return{pts:Rd.pts,dts:Rd.dts,byteLength:Rd.byteLength}})),sa=qt[0],Aa=qt[qt.length-1],this.trigger("segmentTimingInfo",Zg(L.baseMediaDecodeTime,sa.dts,sa.pts,Aa.dts+Aa.duration,Aa.pts+Aa.duration,Zn)),this.trigger("timingInfo",{start:qt[0].pts,end:qt[qt.length-1].pts+qt[qt.length-1].duration}),this.gopCache_.unshift({gop:qt.pop(),pps:L.pps,sps:L.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ne=[],this.trigger("baseMediaDecodeTime",L.baseMediaDecodeTime),this.trigger("timelineStartInfo",L.timelineStartInfo),Hr=qp.moof(q,[L]),is=new Uint8Array(Hr.byteLength+Dn.byteLength),q++,is.set(Hr),is.set(Dn,Hr.byteLength),this.trigger("data",{track:L,boxes:is}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),ne=[],this.gopCache_.length=0,ve.length=0,this.trigger("reset")},this.resetStream_=function(){_f.clearDtsInfo(L),ke=void 0,wt=void 0},this.getGopForFusion_=function(Mt){var Xt=45e3,qt=1e4,Hr=1/0,Dn,is,Zn,sa,Aa;for(Aa=0;Aa<this.gopCache_.length;Aa++)sa=this.gopCache_[Aa],Zn=sa.gop,!(!(L.pps&&k1(L.pps[0],sa.pps[0]))||!(L.sps&&k1(L.sps[0],sa.sps[0])))&&(Zn.dts<L.timelineStartInfo.dts||(Dn=Mt.dts-Zn.dts-Zn.duration,Dn>=-qt&&Dn<=Xt&&(!is||Hr>Dn)&&(is=sa,Hr=Dn)));return is?is.gop:null},this.alignGopsAtStart_=function(Mt){var Xt,qt,Hr,Dn,is,Zn,sa,Aa;for(is=Mt.byteLength,Zn=Mt.nalCount,sa=Mt.duration,Xt=qt=0;Xt<ve.length&&qt<Mt.length&&(Hr=ve[Xt],Dn=Mt[qt],Hr.pts!==Dn.pts);){if(Dn.pts>Hr.pts){Xt++;continue}qt++,is-=Dn.byteLength,Zn-=Dn.nalCount,sa-=Dn.duration}return qt===0?Mt:qt===Mt.length?null:(Aa=Mt.slice(qt),Aa.byteLength=is,Aa.duration=sa,Aa.nalCount=Zn,Aa.pts=Aa[0].pts,Aa.dts=Aa[0].dts,Aa)},this.alignGopsAtEnd_=function(Mt){var Xt,qt,Hr,Dn,is,Zn;for(Xt=ve.length-1,qt=Mt.length-1,is=null,Zn=!1;Xt>=0&&qt>=0;){if(Hr=ve[Xt],Dn=Mt[qt],Hr.pts===Dn.pts){Zn=!0;break}if(Hr.pts>Dn.pts){Xt--;continue}Xt===ve.length-1&&(is=qt),qt--}if(!Zn&&is===null)return null;var sa;if(Zn?sa=qt:sa=is,sa===0)return Mt;var Aa=Mt.slice(sa),Kl=Aa.reduce(function(Rd,Eh){return Rd.byteLength+=Eh.byteLength,Rd.duration+=Eh.duration,Rd.nalCount+=Eh.nalCount,Rd},{byteLength:0,duration:0,nalCount:0});return Aa.byteLength=Kl.byteLength,Aa.duration=Kl.duration,Aa.nalCount=Kl.nalCount,Aa.pts=Aa[0].pts,Aa.dts=Aa[0].dts,Aa},this.alignGopsWith=function(Mt){ve=Mt}},t0.prototype=new hm,Wh=function(L,X){this.numberOfTracks=0,this.metadataStream=X,L=L||{},typeof L.remux<"u"?this.remuxTracks=!!L.remux:this.remuxTracks=!0,typeof L.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=L.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Wh.prototype.init.call(this),this.push=function(q){if(q.content||q.text)return this.pendingCaptions.push(q);if(q.frames)return this.pendingMetadata.push(q);this.pendingTracks.push(q.track),this.pendingBytes+=q.boxes.byteLength,q.track.type==="video"&&(this.videoTrack=q.track,this.pendingBoxes.push(q.boxes)),q.track.type==="audio"&&(this.audioTrack=q.track,this.pendingBoxes.unshift(q.boxes))}},Wh.prototype=new hm,Wh.prototype.flush=function(L){var X=0,q={captions:[],captionStreams:{},metadata:[],info:{}},ne,ve,ke,wt=0,Mt;if(this.pendingTracks.length<this.numberOfTracks){if(L!=="VideoSegmentStream"&&L!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(wt=this.videoTrack.timelineStartInfo.pts,Jg.forEach(function(Xt){q.info[Xt]=this.videoTrack[Xt]},this)):this.audioTrack&&(wt=this.audioTrack.timelineStartInfo.pts,Qg.forEach(function(Xt){q.info[Xt]=this.audioTrack[Xt]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?q.type=this.pendingTracks[0].type:q.type="combined",this.emittedTracks+=this.pendingTracks.length,ke=qp.initSegment(this.pendingTracks),q.initSegment=new Uint8Array(ke.byteLength),q.initSegment.set(ke),q.data=new Uint8Array(this.pendingBytes),Mt=0;Mt<this.pendingBoxes.length;Mt++)q.data.set(this.pendingBoxes[Mt],X),X+=this.pendingBoxes[Mt].byteLength;for(Mt=0;Mt<this.pendingCaptions.length;Mt++)ne=this.pendingCaptions[Mt],ne.startTime=mm.metadataTsToSeconds(ne.startPts,wt,this.keepOriginalTimestamps),ne.endTime=mm.metadataTsToSeconds(ne.endPts,wt,this.keepOriginalTimestamps),q.captionStreams[ne.stream]=!0,q.captions.push(ne);for(Mt=0;Mt<this.pendingMetadata.length;Mt++)ve=this.pendingMetadata[Mt],ve.cueTime=mm.metadataTsToSeconds(ve.pts,wt,this.keepOriginalTimestamps),q.metadata.push(ve);for(q.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",q),Mt=0;Mt<q.captions.length;Mt++)ne=q.captions[Mt],this.trigger("caption",ne);for(Mt=0;Mt<q.metadata.length;Mt++)ve=q.metadata[Mt],this.trigger("id3Frame",ve)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Wh.prototype.setRemux=function(L){this.remuxTracks=L},gm=function(L){var X=this,q=!0,ne,ve;gm.prototype.init.call(this),L=L||{},this.baseMediaDecodeTime=L.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var ke={};this.transmuxPipeline_=ke,ke.type="aac",ke.metadataStream=new Xf.MetadataStream,ke.aacStream=new yy,ke.audioTimestampRolloverStream=new Xf.TimestampRolloverStream("audio"),ke.timedMetadataTimestampRolloverStream=new Xf.TimestampRolloverStream("timed-metadata"),ke.adtsStream=new L1,ke.coalesceStream=new Wh(L,ke.metadataStream),ke.headOfPipeline=ke.aacStream,ke.aacStream.pipe(ke.audioTimestampRolloverStream).pipe(ke.adtsStream),ke.aacStream.pipe(ke.timedMetadataTimestampRolloverStream).pipe(ke.metadataStream).pipe(ke.coalesceStream),ke.metadataStream.on("timestamp",function(wt){ke.aacStream.setTimestamp(wt.timeStamp)}),ke.aacStream.on("data",function(wt){wt.type!=="timed-metadata"&&wt.type!=="audio"||ke.audioSegmentStream||(ve=ve||{timelineStartInfo:{baseMediaDecodeTime:X.baseMediaDecodeTime},codec:"adts",type:"audio"},ke.coalesceStream.numberOfTracks++,ke.audioSegmentStream=new yp(ve,L),ke.audioSegmentStream.on("log",X.getLogTrigger_("audioSegmentStream")),ke.audioSegmentStream.on("timingInfo",X.trigger.bind(X,"audioTimingInfo")),ke.adtsStream.pipe(ke.audioSegmentStream).pipe(ke.coalesceStream),X.trigger("trackinfo",{hasAudio:!!ve,hasVideo:!!ne}))}),ke.coalesceStream.on("data",this.trigger.bind(this,"data")),ke.coalesceStream.on("done",this.trigger.bind(this,"done")),M1(this,ke)},this.setupTsPipeline=function(){var ke={};this.transmuxPipeline_=ke,ke.type="ts",ke.metadataStream=new Xf.MetadataStream,ke.packetStream=new Xf.TransportPacketStream,ke.parseStream=new Xf.TransportParseStream,ke.elementaryStream=new Xf.ElementaryStream,ke.timestampRolloverStream=new Xf.TimestampRolloverStream,ke.adtsStream=new L1,ke.h264Stream=new vy,ke.captionStream=new Xf.CaptionStream(L),ke.coalesceStream=new Wh(L,ke.metadataStream),ke.headOfPipeline=ke.packetStream,ke.packetStream.pipe(ke.parseStream).pipe(ke.elementaryStream).pipe(ke.timestampRolloverStream),ke.timestampRolloverStream.pipe(ke.h264Stream),ke.timestampRolloverStream.pipe(ke.adtsStream),ke.timestampRolloverStream.pipe(ke.metadataStream).pipe(ke.coalesceStream),ke.h264Stream.pipe(ke.captionStream).pipe(ke.coalesceStream),ke.elementaryStream.on("data",function(wt){var Mt;if(wt.type==="metadata"){for(Mt=wt.tracks.length;Mt--;)!ne&&wt.tracks[Mt].type==="video"?(ne=wt.tracks[Mt],ne.timelineStartInfo.baseMediaDecodeTime=X.baseMediaDecodeTime):!ve&&wt.tracks[Mt].type==="audio"&&(ve=wt.tracks[Mt],ve.timelineStartInfo.baseMediaDecodeTime=X.baseMediaDecodeTime);ne&&!ke.videoSegmentStream&&(ke.coalesceStream.numberOfTracks++,ke.videoSegmentStream=new t0(ne,L),ke.videoSegmentStream.on("log",X.getLogTrigger_("videoSegmentStream")),ke.videoSegmentStream.on("timelineStartInfo",function(Xt){ve&&!L.keepOriginalTimestamps&&(ve.timelineStartInfo=Xt,ke.audioSegmentStream.setEarliestDts(Xt.dts-X.baseMediaDecodeTime))}),ke.videoSegmentStream.on("processedGopsInfo",X.trigger.bind(X,"gopInfo")),ke.videoSegmentStream.on("segmentTimingInfo",X.trigger.bind(X,"videoSegmentTimingInfo")),ke.videoSegmentStream.on("baseMediaDecodeTime",function(Xt){ve&&ke.audioSegmentStream.setVideoBaseMediaDecodeTime(Xt)}),ke.videoSegmentStream.on("timingInfo",X.trigger.bind(X,"videoTimingInfo")),ke.h264Stream.pipe(ke.videoSegmentStream).pipe(ke.coalesceStream)),ve&&!ke.audioSegmentStream&&(ke.coalesceStream.numberOfTracks++,ke.audioSegmentStream=new yp(ve,L),ke.audioSegmentStream.on("log",X.getLogTrigger_("audioSegmentStream")),ke.audioSegmentStream.on("timingInfo",X.trigger.bind(X,"audioTimingInfo")),ke.audioSegmentStream.on("segmentTimingInfo",X.trigger.bind(X,"audioSegmentTimingInfo")),ke.adtsStream.pipe(ke.audioSegmentStream).pipe(ke.coalesceStream)),X.trigger("trackinfo",{hasAudio:!!ve,hasVideo:!!ne})}}),ke.coalesceStream.on("data",this.trigger.bind(this,"data")),ke.coalesceStream.on("id3Frame",function(wt){wt.dispatchType=ke.metadataStream.dispatchType,X.trigger("id3Frame",wt)}),ke.coalesceStream.on("caption",this.trigger.bind(this,"caption")),ke.coalesceStream.on("done",this.trigger.bind(this,"done")),M1(this,ke)},this.setBaseMediaDecodeTime=function(ke){var wt=this.transmuxPipeline_;L.keepOriginalTimestamps||(this.baseMediaDecodeTime=ke),ve&&(ve.timelineStartInfo.dts=void 0,ve.timelineStartInfo.pts=void 0,_f.clearDtsInfo(ve),wt.audioTimestampRolloverStream&&wt.audioTimestampRolloverStream.discontinuity()),ne&&(wt.videoSegmentStream&&(wt.videoSegmentStream.gopCache_=[]),ne.timelineStartInfo.dts=void 0,ne.timelineStartInfo.pts=void 0,_f.clearDtsInfo(ne),wt.captionStream.reset()),wt.timestampRolloverStream&&wt.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(ke){ve&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(ke)},this.setRemux=function(ke){var wt=this.transmuxPipeline_;L.remux=ke,wt&&wt.coalesceStream&&wt.coalesceStream.setRemux(ke)},this.alignGopsWith=function(ke){ne&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(ke)},this.getLogTrigger_=function(ke){var wt=this;return function(Mt){Mt.stream=ke,wt.trigger("log",Mt)}},this.push=function(ke){if(q){var wt=by(ke);wt&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!wt&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),q=!1}this.transmuxPipeline_.headOfPipeline.push(ke)},this.flush=function(){q=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},gm.prototype=new hm;var Ey={Transmuxer:gm,VideoSegmentStream:t0,AudioSegmentStream:yp,AUDIO_PROPERTIES:Qg,VIDEO_PROPERTIES:Jg,generateSegmentTimingInfo:Zg},Ty=function(L){return L>>>0},wy=function(L){return("00"+L.toString(16)).slice(-2)},vm={toUnsigned:Ty,toHexString:wy},_y=function(L){var X="";return X+=String.fromCharCode(L[0]),X+=String.fromCharCode(L[1]),X+=String.fromCharCode(L[2]),X+=String.fromCharCode(L[3]),X},qg=_y,Ay=vm.toUnsigned,Cy=qg,N1=function(L,X){var q=[],ne,ve,ke,wt,Mt;if(!X.length)return null;for(ne=0;ne<L.byteLength;)ve=Ay(L[ne]<<24|L[ne+1]<<16|L[ne+2]<<8|L[ne+3]),ke=Cy(L.subarray(ne+4,ne+8)),wt=ve>1?ne+ve:L.byteLength,ke===X[0]&&(X.length===1?q.push(L.subarray(ne+8,wt)):(Mt=N1(L.subarray(ne+8,wt),X.slice(1)),Mt.length&&(q=q.concat(Mt)))),ne=wt;return q},ym=N1,Oy=vm.toUnsigned,Iy=w.getUint64,Py=function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4))};return X.version===1?X.baseMediaDecodeTime=Iy(L.subarray(4)):X.baseMediaDecodeTime=Oy(L[4]<<24|L[5]<<16|L[6]<<8|L[7]),X},e1=Py,Ry=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:L[0],flags:new Uint8Array(L.subarray(1,4)),trackId:X.getUint32(4)},ne=q.flags[2]&1,ve=q.flags[2]&2,ke=q.flags[2]&8,wt=q.flags[2]&16,Mt=q.flags[2]&32,Xt=q.flags[0]&65536,qt=q.flags[0]&131072,Hr;return Hr=8,ne&&(Hr+=4,q.baseDataOffset=X.getUint32(12),Hr+=4),ve&&(q.sampleDescriptionIndex=X.getUint32(Hr),Hr+=4),ke&&(q.defaultSampleDuration=X.getUint32(Hr),Hr+=4),wt&&(q.defaultSampleSize=X.getUint32(Hr),Hr+=4),Mt&&(q.defaultSampleFlags=X.getUint32(Hr)),Xt&&(q.durationIsEmpty=!0),!ne&&qt&&(q.baseDataOffsetIsMoof=!0),q},t1=Ry,F1=w.getUint64,Dy=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:L[0],flags:new Uint8Array(L.subarray(1,4)),references:[],referenceId:X.getUint32(4),timescale:X.getUint32(8)},ne=12;q.version===0?(q.earliestPresentationTime=X.getUint32(ne),q.firstOffset=X.getUint32(ne+4),ne+=8):(q.earliestPresentationTime=F1(L.subarray(ne)),q.firstOffset=F1(L.subarray(ne+8)),ne+=16),ne+=2;var ve=X.getUint16(ne);for(ne+=2;ve>0;ne+=12,ve--)q.references.push({referenceType:(L[ne]&128)>>>7,referencedSize:X.getUint32(ne)&2147483647,subsegmentDuration:X.getUint32(ne+4),startsWithSap:!!(L[ne+8]&128),sapType:(L[ne+8]&112)>>>4,sapDeltaTime:X.getUint32(ne+8)&268435455});return q},Ly=Dy,My=function(L){return{isLeading:(L[0]&12)>>>2,dependsOn:L[0]&3,isDependedOn:(L[1]&192)>>>6,hasRedundancy:(L[1]&48)>>>4,paddingValue:(L[1]&14)>>>1,isNonSyncSample:L[1]&1,degradationPriority:L[2]<<8|L[3]}},ky=My,B1=ky,Ny=function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4)),samples:[]},q=new DataView(L.buffer,L.byteOffset,L.byteLength),ne=X.flags[2]&1,ve=X.flags[2]&4,ke=X.flags[1]&1,wt=X.flags[1]&2,Mt=X.flags[1]&4,Xt=X.flags[1]&8,qt=q.getUint32(4),Hr=8,Dn;for(ne&&(X.dataOffset=q.getInt32(Hr),Hr+=4),ve&&qt&&(Dn={flags:B1(L.subarray(Hr,Hr+4))},Hr+=4,ke&&(Dn.duration=q.getUint32(Hr),Hr+=4),wt&&(Dn.size=q.getUint32(Hr),Hr+=4),Xt&&(X.version===1?Dn.compositionTimeOffset=q.getInt32(Hr):Dn.compositionTimeOffset=q.getUint32(Hr),Hr+=4),X.samples.push(Dn),qt--);qt--;)Dn={},ke&&(Dn.duration=q.getUint32(Hr),Hr+=4),wt&&(Dn.size=q.getUint32(Hr),Hr+=4),Mt&&(Dn.flags=B1(L.subarray(Hr,Hr+4)),Hr+=4),Xt&&(X.version===1?Dn.compositionTimeOffset=q.getInt32(Hr):Dn.compositionTimeOffset=q.getUint32(Hr),Hr+=4),X.samples.push(Dn);return X},U1=Ny,Fy=w,j1=Fy.getUint64,Ac,r1,nf=function(L){return new Date(L*1e3-20828448e5)},r0=qg,By=ym,Uy=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q=[],ne,ve;for(ne=0;ne+4<L.length;ne+=ve){if(ve=X.getUint32(ne),ne+=4,ve<=0){q.push("<span style='color:red;'>MALFORMED DATA</span>");continue}switch(L[ne]&31){case 1:q.push("slice_layer_without_partitioning_rbsp");break;case 5:q.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:q.push("sei_rbsp");break;case 7:q.push("seq_parameter_set_rbsp");break;case 8:q.push("pic_parameter_set_rbsp");break;case 9:q.push("access_unit_delimiter_rbsp");break;default:q.push("UNKNOWN NAL - "+L[ne]&31);break}}return q},Sh={avc1:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{dataReferenceIndex:X.getUint16(6),width:X.getUint16(24),height:X.getUint16(26),horizresolution:X.getUint16(28)+X.getUint16(30)/16,vertresolution:X.getUint16(32)+X.getUint16(34)/16,frameCount:X.getUint16(40),depth:X.getUint16(74),config:Ac(L.subarray(78,L.byteLength))}},avcC:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={configurationVersion:L[0],avcProfileIndication:L[1],profileCompatibility:L[2],avcLevelIndication:L[3],lengthSizeMinusOne:L[4]&3,sps:[],pps:[]},ne=L[5]&31,ve,ke,wt,Mt;for(wt=6,Mt=0;Mt<ne;Mt++)ke=X.getUint16(wt),wt+=2,q.sps.push(new Uint8Array(L.subarray(wt,wt+ke))),wt+=ke;for(ve=L[wt],wt++,Mt=0;Mt<ve;Mt++)ke=X.getUint16(wt),wt+=2,q.pps.push(new Uint8Array(L.subarray(wt,wt+ke))),wt+=ke;return q},btrt:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{bufferSizeDB:X.getUint32(0),maxBitrate:X.getUint32(4),avgBitrate:X.getUint32(8)}},edts:function(X){return{boxes:Ac(X)}},elst:function(X){var q=new DataView(X.buffer,X.byteOffset,X.byteLength),ne={version:q.getUint8(0),flags:new Uint8Array(X.subarray(1,4)),edits:[]},ve=q.getUint32(4),ke;for(ke=8;ve;ve--)ne.version===0?(ne.edits.push({segmentDuration:q.getUint32(ke),mediaTime:q.getInt32(ke+4),mediaRate:q.getUint16(ke+8)+q.getUint16(ke+10)/(256*256)}),ke+=12):(ne.edits.push({segmentDuration:j1(X.subarray(ke)),mediaTime:j1(X.subarray(ke+8)),mediaRate:q.getUint16(ke+16)+q.getUint16(ke+18)/(256*256)}),ke+=20);return ne},esds:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),esId:L[6]<<8|L[7],streamPriority:L[8]&31,decoderConfig:{objectProfileIndication:L[11],streamType:L[12]>>>2&63,bufferSize:L[13]<<16|L[14]<<8|L[15],maxBitrate:L[16]<<24|L[17]<<16|L[18]<<8|L[19],avgBitrate:L[20]<<24|L[21]<<16|L[22]<<8|L[23],decoderConfigDescriptor:{tag:L[24],length:L[25],audioObjectType:L[26]>>>3&31,samplingFrequencyIndex:(L[26]&7)<<1|L[27]>>>7&1,channelConfiguration:L[27]>>>3&15}}}},ftyp:function(L){for(var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={majorBrand:r0(L.subarray(0,4)),minorVersion:X.getUint32(4),compatibleBrands:[]},ne=8;ne<L.byteLength;)q.compatibleBrands.push(r0(L.subarray(ne,ne+4))),ne+=4;return q},dinf:function(L){return{boxes:Ac(L)}},dref:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),dataReferences:Ac(L.subarray(8))}},hdlr:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),handlerType:r0(L.subarray(8,12)),name:""},ne=8;for(ne=24;ne<L.byteLength;ne++){if(L[ne]===0){ne++;break}q.name+=String.fromCharCode(L[ne])}return q.name=decodeURIComponent(escape(q.name)),q},mdat:function(L){return{byteLength:L.byteLength,nals:Uy(L)}},mdhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q=4,ne,ve={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),language:""};return ve.version===1?(q+=4,ve.creationTime=nf(X.getUint32(q)),q+=8,ve.modificationTime=nf(X.getUint32(q)),q+=4,ve.timescale=X.getUint32(q),q+=8,ve.duration=X.getUint32(q)):(ve.creationTime=nf(X.getUint32(q)),q+=4,ve.modificationTime=nf(X.getUint32(q)),q+=4,ve.timescale=X.getUint32(q),q+=4,ve.duration=X.getUint32(q)),q+=4,ne=X.getUint16(q),ve.language+=String.fromCharCode((ne>>10)+96),ve.language+=String.fromCharCode(((ne&992)>>5)+96),ve.language+=String.fromCharCode((ne&31)+96),ve},mdia:function(L){return{boxes:Ac(L)}},mfhd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),sequenceNumber:L[4]<<24|L[5]<<16|L[6]<<8|L[7]}},minf:function(L){return{boxes:Ac(L)}},mp4a:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={dataReferenceIndex:X.getUint16(6),channelcount:X.getUint16(16),samplesize:X.getUint16(18),samplerate:X.getUint16(24)+X.getUint16(26)/65536};return L.byteLength>28&&(q.streamDescriptor=Ac(L.subarray(28))[0]),q},moof:function(L){return{boxes:Ac(L)}},moov:function(L){return{boxes:Ac(L)}},mvex:function(L){return{boxes:Ac(L)}},mvhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q=4,ne={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4))};return ne.version===1?(q+=4,ne.creationTime=nf(X.getUint32(q)),q+=8,ne.modificationTime=nf(X.getUint32(q)),q+=4,ne.timescale=X.getUint32(q),q+=8,ne.duration=X.getUint32(q)):(ne.creationTime=nf(X.getUint32(q)),q+=4,ne.modificationTime=nf(X.getUint32(q)),q+=4,ne.timescale=X.getUint32(q),q+=4,ne.duration=X.getUint32(q)),q+=4,ne.rate=X.getUint16(q)+X.getUint16(q+2)/16,q+=4,ne.volume=X.getUint8(q)+X.getUint8(q+1)/8,q+=2,q+=2,q+=8,ne.matrix=new Uint32Array(L.subarray(q,q+36)),q+=36,q+=24,ne.nextTrackId=X.getUint32(q),ne},pdin:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),rate:X.getUint32(4),initialDelay:X.getUint32(8)}},sdtp:function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4)),samples:[]},q;for(q=4;q<L.byteLength;q++)X.samples.push({dependsOn:(L[q]&48)>>4,isDependedOn:(L[q]&12)>>2,hasRedundancy:L[q]&3});return X},sidx:Ly,smhd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),balance:L[4]+L[5]/256}},stbl:function(L){return{boxes:Ac(L)}},ctts:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),compositionOffsets:[]},ne=X.getUint32(4),ve;for(ve=8;ne;ve+=8,ne--)q.compositionOffsets.push({sampleCount:X.getUint32(ve),sampleOffset:X[q.version===0?"getUint32":"getInt32"](ve+4)});return q},stss:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),syncSamples:[]},ne=X.getUint32(4),ve;for(ve=8;ne;ve+=4,ne--)q.syncSamples.push(X.getUint32(ve));return q},stco:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:L[0],flags:new Uint8Array(L.subarray(1,4)),chunkOffsets:[]},ne=X.getUint32(4),ve;for(ve=8;ne;ve+=4,ne--)q.chunkOffsets.push(X.getUint32(ve));return q},stsc:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q=X.getUint32(4),ne={version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleToChunks:[]},ve;for(ve=8;q;ve+=12,q--)ne.sampleToChunks.push({firstChunk:X.getUint32(ve),samplesPerChunk:X.getUint32(ve+4),sampleDescriptionIndex:X.getUint32(ve+8)});return ne},stsd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleDescriptions:Ac(L.subarray(8))}},stsz:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleSize:X.getUint32(4),entries:[]},ne;for(ne=12;ne<L.byteLength;ne+=4)q.entries.push(X.getUint32(ne));return q},stts:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q={version:L[0],flags:new Uint8Array(L.subarray(1,4)),timeToSamples:[]},ne=X.getUint32(4),ve;for(ve=8;ne;ve+=8,ne--)q.timeToSamples.push({sampleCount:X.getUint32(ve),sampleDelta:X.getUint32(ve+4)});return q},styp:function(L){return Sh.ftyp(L)},tfdt:e1,tfhd:t1,tkhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),q=4,ne={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4))};return ne.version===1?(q+=4,ne.creationTime=nf(X.getUint32(q)),q+=8,ne.modificationTime=nf(X.getUint32(q)),q+=4,ne.trackId=X.getUint32(q),q+=4,q+=8,ne.duration=X.getUint32(q)):(ne.creationTime=nf(X.getUint32(q)),q+=4,ne.modificationTime=nf(X.getUint32(q)),q+=4,ne.trackId=X.getUint32(q),q+=4,q+=4,ne.duration=X.getUint32(q)),q+=4,q+=8,ne.layer=X.getUint16(q),q+=2,ne.alternateGroup=X.getUint16(q),q+=2,ne.volume=X.getUint8(q)+X.getUint8(q+1)/8,q+=2,q+=2,ne.matrix=new Uint32Array(L.subarray(q,q+36)),q+=36,ne.width=X.getUint16(q)+X.getUint16(q+2)/65536,q+=4,ne.height=X.getUint16(q)+X.getUint16(q+2)/65536,ne},traf:function(L){return{boxes:Ac(L)}},trak:function(L){return{boxes:Ac(L)}},trex:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),trackId:X.getUint32(4),defaultSampleDescriptionIndex:X.getUint32(8),defaultSampleDuration:X.getUint32(12),defaultSampleSize:X.getUint32(16),sampleDependsOn:L[20]&3,sampleIsDependedOn:(L[21]&192)>>6,sampleHasRedundancy:(L[21]&48)>>4,samplePaddingValue:(L[21]&14)>>1,sampleIsDifferenceSample:!!(L[21]&1),sampleDegradationPriority:X.getUint16(22)}},trun:U1,"url ":function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4))}},vmhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),graphicsmode:X.getUint16(4),opcolor:new Uint16Array([X.getUint16(6),X.getUint16(8),X.getUint16(10)])}}};Ac=function(L){for(var X=0,q=[],ne,ve,ke,wt,Mt,Xt=new ArrayBuffer(L.length),qt=new Uint8Array(Xt),Hr=0;Hr<L.length;++Hr)qt[Hr]=L[Hr];for(ne=new DataView(Xt);X<L.byteLength;)ve=ne.getUint32(X),ke=r0(L.subarray(X+4,X+8)),wt=ve>1?X+ve:L.byteLength,Mt=(Sh[ke]||function(Dn){return{data:Dn}})(L.subarray(X+8,wt)),Mt.size=ve,Mt.type=ke,q.push(Mt),X=wt;return q},r1=function(L,X){var q;return X=X||0,q=new Array(X*2+1).join(" "),L.map(function(ne,ve){return q+ne.type+` 973`+Object.keys(ne).filter(function(ke){return ke!=="type"&&ke!=="boxes"}).map(function(ke){var wt=q+" "+ke+": ",Mt=ne[ke];if(Mt instanceof Uint8Array||Mt instanceof Uint32Array){var Xt=Array.prototype.slice.call(new Uint8Array(Mt.buffer,Mt.byteOffset,Mt.byteLength)).map(function(qt){return" "+("00"+qt.toString(16)).slice(-2)}).join("").match(/.{1,24}/g);return Xt?Xt.length===1?wt+"<"+Xt.join("").slice(1)+">":wt+`< 974`+Xt.map(function(qt){return q+" "+qt}).join(` 975`)+` 976`+q+" >":wt+"<>"}return wt+JSON.stringify(Mt,null,2).split(` 977`).map(function(qt,Hr){return Hr===0?qt:q+" "+qt}).join(` 978`)}).join(` 979`)+(ne.boxes?` 980`+r1(ne.boxes,X+1):"")}).join(` 981`)};var z1={inspect:Ac,textify:r1,parseType:r0,findBox:By,parseTraf:Sh.traf,parseTfdt:Sh.tfdt,parseHdlr:Sh.hdlr,parseTfhd:Sh.tfhd,parseTrun:Sh.trun,parseSidx:Sh.sidx},jy=function(L){for(var X=0,q=String.fromCharCode(L[X]),ne="";q!=="\0";)ne+=q,X++,q=String.fromCharCode(L[X]);return ne+=q,ne},zy={uint8ToCString:jy},bm=zy.uint8ToCString,$y=w.getUint64,Hy=function(L){var X=4,q=L[0],ne,ve,ke,wt,Mt,Xt,qt,Hr;if(q===0){ne=bm(L.subarray(X)),X+=ne.length,ve=bm(L.subarray(X)),X+=ve.length;var Dn=new DataView(L.buffer);ke=Dn.getUint32(X),X+=4,Mt=Dn.getUint32(X),X+=4,Xt=Dn.getUint32(X),X+=4,qt=Dn.getUint32(X),X+=4}else if(q===1){var Dn=new DataView(L.buffer);ke=Dn.getUint32(X),X+=4,wt=$y(L.subarray(X)),X+=8,Xt=Dn.getUint32(X),X+=4,qt=Dn.getUint32(X),X+=4,ne=bm(L.subarray(X)),X+=ne.length,ve=bm(L.subarray(X)),X+=ve.length}Hr=new Uint8Array(L.subarray(X,L.byteLength));var is={scheme_id_uri:ne,value:ve,timescale:ke||1,presentation_time:wt,presentation_time_delta:Mt,event_duration:Xt,id:qt,message_data:Hr};return Vy(q,is)?is:void 0},Wy=function(L,X,q,ne){return L||L===0?L/X:ne+q/X},Vy=function(L,X){var q=X.scheme_id_uri!=="\0",ne=L===0&&$1(X.presentation_time_delta)&&q,ve=L===1&&$1(X.presentation_time)&&q;return!(L>1)&&ne||ve},$1=function(L){return L!==void 0||L!==null},Gy={parseEmsgBox:Hy,scaleTime:Wy},n0;typeof window<"u"?n0=window:typeof p<"u"?n0=p:typeof self<"u"?n0=self:n0={};var H1=n0,Sm=vm.toUnsigned,i0=vm.toHexString,qu=ym,bp=qg,n1=Gy,Ky=t1,Yy=U1,Xy=e1,Qy=w.getUint64,W1,V1,G1,K1,Y1,i1,X1,s1=H1,Jy=T1.parseId3Frames;W1=function(L){var X={},q=qu(L,["moov","trak"]);return q.reduce(function(ne,ve){var ke,wt,Mt,Xt,qt;return ke=qu(ve,["tkhd"])[0],!ke||(wt=ke[0],Mt=wt===0?12:20,Xt=Sm(ke[Mt]<<24|ke[Mt+1]<<16|ke[Mt+2]<<8|ke[Mt+3]),qt=qu(ve,["mdia","mdhd"])[0],!qt)?null:(wt=qt[0],Mt=wt===0?12:20,ne[Xt]=Sm(qt[Mt]<<24|qt[Mt+1]<<16|qt[Mt+2]<<8|qt[Mt+3]),ne)},X)},V1=function(L,X){var q;q=qu(X,["moof","traf"]);var ne=q.reduce(function(ve,ke){var wt=qu(ke,["tfhd"])[0],Mt=Sm(wt[4]<<24|wt[5]<<16|wt[6]<<8|wt[7]),Xt=L[Mt]||9e4,qt=qu(ke,["tfdt"])[0],Hr=new DataView(qt.buffer,qt.byteOffset,qt.byteLength),Dn;qt[0]===1?Dn=Qy(qt.subarray(4,12)):Dn=Hr.getUint32(4);let is;return typeof Dn=="bigint"?is=Dn/s1.BigInt(Xt):typeof Dn=="number"&&!isNaN(Dn)&&(is=Dn/Xt),is<Number.MAX_SAFE_INTEGER&&(is=Number(is)),is<ve&&(ve=is),ve},1/0);return typeof ne=="bigint"||isFinite(ne)?ne:0},G1=function(L,X){var q=qu(X,["moof","traf"]),ne=0,ve=0,ke;if(q&&q.length){var wt=qu(q[0],["tfhd"])[0],Mt=qu(q[0],["trun"])[0],Xt=qu(q[0],["tfdt"])[0];if(wt){var qt=Ky(wt);ke=qt.trackId}if(Xt){var Hr=Xy(Xt);ne=Hr.baseMediaDecodeTime}if(Mt){var Dn=Yy(Mt);Dn.samples&&Dn.samples.length&&(ve=Dn.samples[0].compositionTimeOffset||0)}}var is=L[ke]||9e4;typeof ne=="bigint"&&(ve=s1.BigInt(ve),is=s1.BigInt(is));var Zn=(ne+ve)/is;return typeof Zn=="bigint"&&Zn<Number.MAX_SAFE_INTEGER&&(Zn=Number(Zn)),Zn},K1=function(L){var X=qu(L,["moov","trak"]),q=[];return X.forEach(function(ne){var ve=qu(ne,["mdia","hdlr"]),ke=qu(ne,["tkhd"]);ve.forEach(function(wt,Mt){var Xt=bp(wt.subarray(8,12)),qt=ke[Mt],Hr,Dn,is;Xt==="vide"&&(Hr=new DataView(qt.buffer,qt.byteOffset,qt.byteLength),Dn=Hr.getUint8(0),is=Dn===0?Hr.getUint32(12):Hr.getUint32(20),q.push(is))})}),q},i1=function(L){var X=L[0],q=X===0?12:20;return Sm(L[q]<<24|L[q+1]<<16|L[q+2]<<8|L[q+3])},Y1=function(L){var X=qu(L,["moov","trak"]),q=[];return X.forEach(function(ne){var ve={},ke=qu(ne,["tkhd"])[0],wt,Mt;ke&&(wt=new DataView(ke.buffer,ke.byteOffset,ke.byteLength),Mt=wt.getUint8(0),ve.id=Mt===0?wt.getUint32(12):wt.getUint32(20));var Xt=qu(ne,["mdia","hdlr"])[0];if(Xt){var qt=bp(Xt.subarray(8,12));qt==="vide"?ve.type="video":qt==="soun"?ve.type="audio":ve.type=qt}var Hr=qu(ne,["mdia","minf","stbl","stsd"])[0];if(Hr){var Dn=Hr.subarray(8);ve.codec=bp(Dn.subarray(4,8));var is=qu(Dn,[ve.codec])[0],Zn,sa;is&&(/^[asm]vc[1-9]$/i.test(ve.codec)?(Zn=is.subarray(78),sa=bp(Zn.subarray(4,8)),sa==="avcC"&&Zn.length>11?(ve.codec+=".",ve.codec+=i0(Zn[9]),ve.codec+=i0(Zn[10]),ve.codec+=i0(Zn[11])):ve.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(ve.codec)?(Zn=is.subarray(28),sa=bp(Zn.subarray(4,8)),sa==="esds"&&Zn.length>20&&Zn[19]!==0?(ve.codec+="."+i0(Zn[19]),ve.codec+="."+i0(Zn[20]>>>2&63).replace(/^0/,"")):ve.codec="mp4a.40.2"):ve.codec=ve.codec.toLowerCase())}var Aa=qu(ne,["mdia","mdhd"])[0];Aa&&(ve.timescale=i1(Aa)),q.push(ve)}),q},X1=function(L,X=0){var q=qu(L,["emsg"]);return q.map(ne=>{var ve=n1.parseEmsgBox(new Uint8Array(ne)),ke=Jy(ve.message_data);return{cueTime:n1.scaleTime(ve.presentation_time,ve.timescale,ve.presentation_time_delta,X),duration:n1.scaleTime(ve.event_duration,ve.timescale),frames:ke}})};var s0={findBox:qu,parseType:bp,timescale:W1,startTime:V1,compositionStartTime:G1,videoTrackIds:K1,tracks:Y1,getTimescaleFromMediaHeader:i1,getEmsgID3:X1};const{parseTrun:Zy}=z1,{findBox:Q1}=s0;var J1=H1,qy=function(L){var X=Q1(L,["moof","traf"]),q=Q1(L,["mdat"]),ne=[];return q.forEach(function(ve,ke){var wt=X[ke];ne.push({mdat:ve,traf:wt})}),ne},e2=function(L,X,q){var ne=X,ve=q.defaultSampleDuration||0,ke=q.defaultSampleSize||0,wt=q.trackId,Mt=[];return L.forEach(function(Xt){var qt=Zy(Xt),Hr=qt.samples;Hr.forEach(function(Dn){Dn.duration===void 0&&(Dn.duration=ve),Dn.size===void 0&&(Dn.size=ke),Dn.trackId=wt,Dn.dts=ne,Dn.compositionTimeOffset===void 0&&(Dn.compositionTimeOffset=0),typeof ne=="bigint"?(Dn.pts=ne+J1.BigInt(Dn.compositionTimeOffset),ne+=J1.BigInt(Dn.duration)):(Dn.pts=ne+Dn.compositionTimeOffset,ne+=Dn.duration)}),Mt=Mt.concat(Hr)}),Mt},Z1={getMdatTrafPairs:qy,parseSamples:e2},t2=y1.discardEmulationPreventionBytes,r2=b1.CaptionStream,a1=ym,n2=e1,i2=t1,{getMdatTrafPairs:s2,parseSamples:a2}=Z1,o2=function(L,X){for(var q=L,ne=0;ne<X.length;ne++){var ve=X[ne];if(q<ve.size)return ve;q-=ve.size}return null},u2=function(L,X,q){var ne=new DataView(L.buffer,L.byteOffset,L.byteLength),ve={logs:[],seiNals:[]},ke,wt,Mt,Xt;for(wt=0;wt+4<L.length;wt+=Mt)if(Mt=ne.getUint32(wt),wt+=4,!(Mt<=0))switch(L[wt]&31){case 6:var qt=L.subarray(wt+1,wt+1+Mt),Hr=o2(wt,X);if(ke={nalUnitType:"sei_rbsp",size:Mt,data:qt,escapedRBSP:t2(qt),trackId:q},Hr)ke.pts=Hr.pts,ke.dts=Hr.dts,Xt=Hr;else if(Xt)ke.pts=Xt.pts,ke.dts=Xt.dts;else{ve.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+wt+" for trackId "+q+". See mux.js#223."});break}ve.seiNals.push(ke);break}return ve},l2=function(L,X){var q={},ne=s2(L);return ne.forEach(function(ve){var ke=ve.mdat,wt=ve.traf,Mt=a1(wt,["tfhd"]),Xt=i2(Mt[0]),qt=Xt.trackId,Hr=a1(wt,["tfdt"]),Dn=Hr.length>0?n2(Hr[0]).baseMediaDecodeTime:0,is=a1(wt,["trun"]),Zn,sa;X===qt&&is.length>0&&(Zn=a2(is,Dn,Xt),sa=u2(ke,Zn,qt),q[qt]||(q[qt]={seiNals:[],logs:[]}),q[qt].seiNals=q[qt].seiNals.concat(sa.seiNals),q[qt].logs=q[qt].logs.concat(sa.logs))}),q},c2=function(L,X,q){var ne;if(X===null)return null;ne=l2(L,X);var ve=ne[X]||{};return{seiNals:ve.seiNals,logs:ve.logs,timescale:q}},d2=function(){var L=!1,X,q,ne,ve,ke,wt;this.isInitialized=function(){return L},this.init=function(Mt){X=new r2,L=!0,wt=Mt?Mt.isPartial:!1,X.on("data",function(Xt){Xt.startTime=Xt.startPts/ve,Xt.endTime=Xt.endPts/ve,ke.captions.push(Xt),ke.captionStreams[Xt.stream]=!0}),X.on("log",function(Xt){ke.logs.push(Xt)})},this.isNewInit=function(Mt,Xt){return Mt&&Mt.length===0||Xt&&typeof Xt=="object"&&Object.keys(Xt).length===0?!1:ne!==Mt[0]||ve!==Xt[ne]},this.parse=function(Mt,Xt,qt){var Hr;if(this.isInitialized()){if(!Xt||!qt)return null;if(this.isNewInit(Xt,qt))ne=Xt[0],ve=qt[ne];else if(ne===null||!ve)return q.push(Mt),null}else return null;for(;q.length>0;){var Dn=q.shift();this.parse(Dn,Xt,qt)}return Hr=c2(Mt,ne,ve),Hr&&Hr.logs&&(ke.logs=ke.logs.concat(Hr.logs)),Hr===null||!Hr.seiNals?ke.logs.length?{logs:ke.logs,captions:[],captionStreams:[]}:null:(this.pushNals(Hr.seiNals),this.flushStream(),ke)},this.pushNals=function(Mt){if(!this.isInitialized()||!Mt||Mt.length===0)return null;Mt.forEach(function(Xt){X.push(Xt)})},this.flushStream=function(){if(!this.isInitialized())return null;wt?X.partialFlush():X.flush()},this.clearParsedCaptions=function(){ke.captions=[],ke.captionStreams={},ke.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;X.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){q=[],ne=null,ve=null,ke?this.clearParsedCaptions():ke={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},f2=d2;const{parseTfdt:h2}=z1,xh=ym,{getTimescaleFromMediaHeader:p2}=s0,{parseSamples:m2,getMdatTrafPairs:g2}=Z1;var q1=function(){let L=9e4;this.init=function(X){const q=xh(X,["moov","trak","mdia","mdhd"])[0];q&&(L=p2(q))},this.parseSegment=function(X){const q=[],ne=g2(X);let ve=0;return ne.forEach(function(ke){const wt=ke.mdat,Mt=ke.traf,Xt=xh(Mt,["tfdt"])[0],qt=xh(Mt,["tfhd"])[0],Hr=xh(Mt,["trun"]);if(Xt&&(ve=h2(Xt).baseMediaDecodeTime),Hr.length&&qt){const Dn=m2(Hr,ve,qt);let is=0;Dn.forEach(function(Zn){const sa="utf-8",Aa=new TextDecoder(sa),Kl=wt.slice(is,is+Zn.size);if(xh(Kl,["vtte"])[0]){is+=Zn.size;return}xh(Kl,["vttc"]).forEach(function(a0){const o0=xh(a0,["payl"])[0],u0=xh(a0,["sttg"])[0],l0=Zn.pts/L,Tm=(Zn.pts+Zn.duration)/L;let uu,c0;if(o0)try{uu=Aa.decode(o0)}catch(Af){console.error(Af)}if(u0)try{c0=Aa.decode(u0)}catch(Af){console.error(Af)}Zn.duration&&uu&&q.push({cueText:uu,start:l0,end:Tm,settings:c0})}),is+=Zn.size})}}),q}},o1=im,ev=function(L){var X=L[1]&31;return X<<=8,X|=L[2],X},xm=function(L){return!!(L[1]&64)},Em=function(L){var X=0;return(L[3]&48)>>>4>1&&(X+=L[4]+1),X},v2=function(L,X){var q=ev(L);return q===0?"pat":q===X?"pmt":X?"pes":null},y2=function(L){var X=xm(L),q=4+Em(L);return X&&(q+=L[q]+1),(L[q+10]&31)<<8|L[q+11]},b2=function(L){var X={},q=xm(L),ne=4+Em(L);if(q&&(ne+=L[ne]+1),!!(L[ne+5]&1)){var ve,ke,wt;ve=(L[ne+1]&15)<<8|L[ne+2],ke=3+ve-4,wt=(L[ne+10]&15)<<8|L[ne+11];for(var Mt=12+wt;Mt<ke;){var Xt=ne+Mt;X[(L[Xt+1]&31)<<8|L[Xt+2]]=L[Xt],Mt+=((L[Xt+3]&15)<<8|L[Xt+4])+5}return X}},S2=function(L,X){var q=ev(L),ne=X[q];switch(ne){case o1.H264_STREAM_TYPE:return"video";case o1.ADTS_STREAM_TYPE:return"audio";case o1.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},x2=function(L){var X=xm(L);if(!X)return null;var q=4+Em(L);if(q>=L.byteLength)return null;var ne=null,ve;return ve=L[q+7],ve&192&&(ne={},ne.pts=(L[q+9]&14)<<27|(L[q+10]&255)<<20|(L[q+11]&254)<<12|(L[q+12]&255)<<5|(L[q+13]&254)>>>3,ne.pts*=4,ne.pts+=(L[q+13]&6)>>>1,ne.dts=ne.pts,ve&64&&(ne.dts=(L[q+14]&14)<<27|(L[q+15]&255)<<20|(L[q+16]&254)<<12|(L[q+17]&255)<<5|(L[q+18]&254)>>>3,ne.dts*=4,ne.dts+=(L[q+18]&6)>>>1)),ne},u1=function(L){switch(L){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},E2=function(L){for(var X=4+Em(L),q=L.subarray(X),ne=0,ve=0,ke=!1,wt;ve<q.byteLength-3;ve++)if(q[ve+2]===1){ne=ve+5;break}for(;ne<q.byteLength;)switch(q[ne]){case 0:if(q[ne-1]!==0){ne+=2;break}else if(q[ne-2]!==0){ne++;break}ve+3!==ne-2&&(wt=u1(q[ve+3]&31),wt==="slice_layer_without_partitioning_rbsp_idr"&&(ke=!0));do ne++;while(q[ne]!==1&&ne<q.length);ve=ne-2,ne+=3;break;case 1:if(q[ne-1]!==0||q[ne-2]!==0){ne+=3;break}wt=u1(q[ve+3]&31),wt==="slice_layer_without_partitioning_rbsp_idr"&&(ke=!0),ve=ne-2,ne+=3;break;default:ne+=3;break}return q=q.subarray(ve),ne-=ve,ve=0,q&&q.byteLength>3&&(wt=u1(q[ve+3]&31),wt==="slice_layer_without_partitioning_rbsp_idr"&&(ke=!0)),ke},T2={parseType:v2,parsePat:y2,parsePmt:b2,parsePayloadUnitStartIndicator:xm,parsePesType:S2,parsePesTime:x2,videoPacketContainsKeyFrame:E2},tv=im,Sp=x1.handleRollover,Bo={};Bo.ts=T2,Bo.aac=Xg;var Vh=ou.ONE_SECOND_IN_TS,zc=188,Uf=71,w2=function(L,X){for(var q=0,ne=zc,ve,ke;ne<L.byteLength;){if(L[q]===Uf&&L[ne]===Uf){switch(ve=L.subarray(q,ne),ke=Bo.ts.parseType(ve,X.pid),ke){case"pat":X.pid=Bo.ts.parsePat(ve);break;case"pmt":var wt=Bo.ts.parsePmt(ve);X.table=X.table||{},Object.keys(wt).forEach(function(Mt){X.table[Mt]=wt[Mt]});break}q+=zc,ne+=zc;continue}q++,ne++}},rv=function(L,X,q){for(var ne=0,ve=zc,ke,wt,Mt,Xt,qt,Hr=!1;ve<=L.byteLength;){if(L[ne]===Uf&&(L[ve]===Uf||ve===L.byteLength)){if(ke=L.subarray(ne,ve),wt=Bo.ts.parseType(ke,X.pid),wt==="pes"&&(Mt=Bo.ts.parsePesType(ke,X.table),Xt=Bo.ts.parsePayloadUnitStartIndicator(ke),Mt==="audio"&&Xt&&(qt=Bo.ts.parsePesTime(ke),qt&&(qt.type="audio",q.audio.push(qt),Hr=!0))),Hr)break;ne+=zc,ve+=zc;continue}ne++,ve++}for(ve=L.byteLength,ne=ve-zc,Hr=!1;ne>=0;){if(L[ne]===Uf&&(L[ve]===Uf||ve===L.byteLength)){if(ke=L.subarray(ne,ve),wt=Bo.ts.parseType(ke,X.pid),wt==="pes"&&(Mt=Bo.ts.parsePesType(ke,X.table),Xt=Bo.ts.parsePayloadUnitStartIndicator(ke),Mt==="audio"&&Xt&&(qt=Bo.ts.parsePesTime(ke),qt&&(qt.type="audio",q.audio.push(qt),Hr=!0))),Hr)break;ne-=zc,ve-=zc;continue}ne--,ve--}},_2=function(L,X,q){for(var ne=0,ve=zc,ke,wt,Mt,Xt,qt,Hr,Dn,is,Zn=!1,sa={data:[],size:0};ve<L.byteLength;){if(L[ne]===Uf&&L[ve]===Uf){switch(ke=L.subarray(ne,ve),wt=Bo.ts.parseType(ke,X.pid),wt){case"pes":if(Mt=Bo.ts.parsePesType(ke,X.table),Xt=Bo.ts.parsePayloadUnitStartIndicator(ke),Mt==="video"&&(Xt&&!Zn&&(qt=Bo.ts.parsePesTime(ke),qt&&(qt.type="video",q.video.push(qt),Zn=!0)),!q.firstKeyFrame)){if(Xt&&sa.size!==0){for(Hr=new Uint8Array(sa.size),Dn=0;sa.data.length;)is=sa.data.shift(),Hr.set(is,Dn),Dn+=is.byteLength;if(Bo.ts.videoPacketContainsKeyFrame(Hr)){var Aa=Bo.ts.parsePesTime(Hr);Aa?(q.firstKeyFrame=Aa,q.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}sa.size=0}sa.data.push(ke),sa.size+=ke.byteLength}break}if(Zn&&q.firstKeyFrame)break;ne+=zc,ve+=zc;continue}ne++,ve++}for(ve=L.byteLength,ne=ve-zc,Zn=!1;ne>=0;){if(L[ne]===Uf&&L[ve]===Uf){if(ke=L.subarray(ne,ve),wt=Bo.ts.parseType(ke,X.pid),wt==="pes"&&(Mt=Bo.ts.parsePesType(ke,X.table),Xt=Bo.ts.parsePayloadUnitStartIndicator(ke),Mt==="video"&&Xt&&(qt=Bo.ts.parsePesTime(ke),qt&&(qt.type="video",q.video.push(qt),Zn=!0))),Zn)break;ne-=zc,ve-=zc;continue}ne--,ve--}},A2=function(L,X){if(L.audio&&L.audio.length){var q=X;(typeof q>"u"||isNaN(q))&&(q=L.audio[0].dts),L.audio.forEach(function(ke){ke.dts=Sp(ke.dts,q),ke.pts=Sp(ke.pts,q),ke.dtsTime=ke.dts/Vh,ke.ptsTime=ke.pts/Vh})}if(L.video&&L.video.length){var ne=X;if((typeof ne>"u"||isNaN(ne))&&(ne=L.video[0].dts),L.video.forEach(function(ke){ke.dts=Sp(ke.dts,ne),ke.pts=Sp(ke.pts,ne),ke.dtsTime=ke.dts/Vh,ke.ptsTime=ke.pts/Vh}),L.firstKeyFrame){var ve=L.firstKeyFrame;ve.dts=Sp(ve.dts,ne),ve.pts=Sp(ve.pts,ne),ve.dtsTime=ve.dts/Vh,ve.ptsTime=ve.pts/Vh}}},C2=function(L){for(var X=!1,q=0,ne=null,ve=null,ke=0,wt=0,Mt;L.length-wt>=3;){var Xt=Bo.aac.parseType(L,wt);switch(Xt){case"timed-metadata":if(L.length-wt<10){X=!0;break}if(ke=Bo.aac.parseId3TagSize(L,wt),ke>L.length){X=!0;break}ve===null&&(Mt=L.subarray(wt,wt+ke),ve=Bo.aac.parseAacTimestamp(Mt)),wt+=ke;break;case"audio":if(L.length-wt<7){X=!0;break}if(ke=Bo.aac.parseAdtsSize(L,wt),ke>L.length){X=!0;break}ne===null&&(Mt=L.subarray(wt,wt+ke),ne=Bo.aac.parseSampleRate(Mt)),q++,wt+=ke;break;default:wt++;break}if(X)return null}if(ne===null||ve===null)return null;var qt=Vh/ne,Hr={audio:[{type:"audio",dts:ve,pts:ve},{type:"audio",dts:ve+q*1024*qt,pts:ve+q*1024*qt}]};return Hr},O2=function(L){var X={pid:null,table:null},q={};w2(L,X);for(var ne in X.table)if(X.table.hasOwnProperty(ne)){var ve=X.table[ne];switch(ve){case tv.H264_STREAM_TYPE:q.video=[],_2(L,X,q),q.video.length===0&&delete q.video;break;case tv.ADTS_STREAM_TYPE:q.audio=[],rv(L,X,q),q.audio.length===0&&delete q.audio;break}}return q},I2=function(L,X){var q=Bo.aac.isLikelyAacData(L),ne;return q?ne=C2(L):ne=O2(L),!ne||!ne.audio&&!ne.video?null:(A2(ne,X),ne)},P2={inspect:I2,parseAudioPes_:rv};const R2=function(L,X){X.on("data",function(q){const ne=q.initSegment;q.initSegment={data:ne.buffer,byteOffset:ne.byteOffset,byteLength:ne.byteLength};const ve=q.data;q.data=ve.buffer,L.postMessage({action:"data",segment:q,byteOffset:ve.byteOffset,byteLength:ve.byteLength},[q.data])}),X.on("done",function(q){L.postMessage({action:"done"})}),X.on("gopInfo",function(q){L.postMessage({action:"gopInfo",gopInfo:q})}),X.on("videoSegmentTimingInfo",function(q){const ne={start:{decode:ou.videoTsToSeconds(q.start.dts),presentation:ou.videoTsToSeconds(q.start.pts)},end:{decode:ou.videoTsToSeconds(q.end.dts),presentation:ou.videoTsToSeconds(q.end.pts)},baseMediaDecodeTime:ou.videoTsToSeconds(q.baseMediaDecodeTime)};q.prependedContentDuration&&(ne.prependedContentDuration=ou.videoTsToSeconds(q.prependedContentDuration)),L.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:ne})}),X.on("audioSegmentTimingInfo",function(q){const ne={start:{decode:ou.videoTsToSeconds(q.start.dts),presentation:ou.videoTsToSeconds(q.start.pts)},end:{decode:ou.videoTsToSeconds(q.end.dts),presentation:ou.videoTsToSeconds(q.end.pts)},baseMediaDecodeTime:ou.videoTsToSeconds(q.baseMediaDecodeTime)};q.prependedContentDuration&&(ne.prependedContentDuration=ou.videoTsToSeconds(q.prependedContentDuration)),L.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:ne})}),X.on("id3Frame",function(q){L.postMessage({action:"id3Frame",id3Frame:q})}),X.on("caption",function(q){L.postMessage({action:"caption",caption:q})}),X.on("trackinfo",function(q){L.postMessage({action:"trackinfo",trackInfo:q})}),X.on("audioTimingInfo",function(q){L.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ou.videoTsToSeconds(q.start),end:ou.videoTsToSeconds(q.end)}})}),X.on("videoTimingInfo",function(q){L.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ou.videoTsToSeconds(q.start),end:ou.videoTsToSeconds(q.end)}})}),X.on("log",function(q){L.postMessage({action:"log",log:q})})};class nv{constructor(X,q){this.options=q||{},this.self=X,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ey.Transmuxer(this.options),R2(this.self,this.transmuxer)}pushMp4Captions(X){this.captionParser||(this.captionParser=new f2,this.captionParser.init());const q=new Uint8Array(X.data,X.byteOffset,X.byteLength),ne=this.captionParser.parse(q,X.trackIds,X.timescales);this.self.postMessage({action:"mp4Captions",captions:ne&&ne.captions||[],logs:ne&&ne.logs||[],data:q.buffer},[q.buffer])}initMp4WebVttParser(X){this.webVttParser||(this.webVttParser=new q1);const q=new Uint8Array(X.data,X.byteOffset,X.byteLength);this.webVttParser.init(q)}getMp4WebVttText(X){this.webVttParser||(this.webVttParser=new q1);const q=new Uint8Array(X.data,X.byteOffset,X.byteLength),ne=this.webVttParser.parseSegment(q);this.self.postMessage({action:"getMp4WebVttText",mp4VttCues:ne||[],data:q.buffer},[q.buffer])}probeMp4StartTime({timescales:X,data:q}){const ne=s0.startTime(X,q);this.self.postMessage({action:"probeMp4StartTime",startTime:ne,data:q},[q.buffer])}probeMp4Tracks({data:X}){const q=s0.tracks(X);this.self.postMessage({action:"probeMp4Tracks",tracks:q,data:X},[X.buffer])}probeEmsgID3({data:X,offset:q}){const ne=s0.getEmsgID3(X,q);this.self.postMessage({action:"probeEmsgID3",id3Frames:ne,emsgData:X},[X.buffer])}probeTs({data:X,baseStartTime:q}){const ne=typeof q=="number"&&!isNaN(q)?q*ou.ONE_SECOND_IN_TS:void 0,ve=P2.inspect(X,ne);let ke=null;ve&&(ke={hasVideo:ve.video&&ve.video.length===2||!1,hasAudio:ve.audio&&ve.audio.length===2||!1},ke.hasVideo&&(ke.videoStart=ve.video[0].ptsTime),ke.hasAudio&&(ke.audioStart=ve.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:ke,data:X},[X.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(X){const q=new Uint8Array(X.data,X.byteOffset,X.byteLength);this.transmuxer.push(q)}reset(){this.transmuxer.reset()}setTimestampOffset(X){const q=X.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ou.secondsToVideoTs(q)))}setAudioAppendStart(X){this.transmuxer.setAudioAppendStart(Math.ceil(ou.secondsToVideoTs(X.appendStart)))}setRemux(X){this.transmuxer.setRemux(X.remux)}flush(X){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(X){this.transmuxer.alignGopsWith(X.gopsToAlignWith.slice())}}self.onmessage=function(L){if(L.data.action==="init"&&L.data.options){this.messageHandlers=new nv(self,L.data.options);return}this.messageHandlers||(this.messageHandlers=new nv(self)),L.data&&L.data.action&&L.data.action!=="init"&&this.messageHandlers[L.data.action]&&this.messageHandlers[L.data.action](L.data)}}));var _m=Rp(wm);const Am=(p,t,o)=>{const{type:c,initSegment:y,captions:w,captionStreams:R,metadata:G,videoFrameDtsTime:ue,videoFramePtsTime:Te}=p.data.segment;t.buffer.push({captions:w,captionStreams:R,metadata:G});const Ke=p.data.segment.boxes||{data:p.data.segment.data},St={type:c,data:new Uint8Array(Ke.data,Ke.data.byteOffset,Ke.data.byteLength),initSegment:new Uint8Array(y.data,y.byteOffset,y.byteLength)};typeof ue<"u"&&(St.videoFrameDtsTime=ue),typeof Te<"u"&&(St.videoFramePtsTime=Te),o(St)},Cm=({transmuxedData:p,callback:t})=>{p.buffer=[],t(p)},p0=(p,t)=>{t.gopInfo=p.data.gopInfo},dh=p=>{const{transmuxer:t,bytes:o,audioAppendStart:c,gopsToAlignWith:y,remux:w,onData:R,onTrackInfo:G,onAudioTimingInfo:ue,onVideoTimingInfo:Te,onVideoSegmentTimingInfo:Ke,onAudioSegmentTimingInfo:St,onId3:sr,onCaptions:wr,onDone:Vr,onEndedTimeline:_t,onTransmuxerLog:On,isEndOfTimeline:Tn,segment:gn,triggerSegmentEventFn:en}=p,Fn={buffer:[]};let Pn=Tn;const bi=Oi=>{t.currentTransmux===p&&(Oi.data.action==="data"&&Am(Oi,Fn,R),Oi.data.action==="trackinfo"&&G(Oi.data.trackInfo),Oi.data.action==="gopInfo"&&p0(Oi,Fn),Oi.data.action==="audioTimingInfo"&&ue(Oi.data.audioTimingInfo),Oi.data.action==="videoTimingInfo"&&Te(Oi.data.videoTimingInfo),Oi.data.action==="videoSegmentTimingInfo"&&Ke(Oi.data.videoSegmentTimingInfo),Oi.data.action==="audioSegmentTimingInfo"&&St(Oi.data.audioSegmentTimingInfo),Oi.data.action==="id3Frame"&&sr([Oi.data.id3Frame],Oi.data.id3Frame.dispatchType),Oi.data.action==="caption"&&wr(Oi.data.caption),Oi.data.action==="endedtimeline"&&(Pn=!1,_t()),Oi.data.action==="log"&&On(Oi.data.log),Oi.data.type==="transmuxed"&&(Pn||(t.onmessage=null,Cm({transmuxedData:Fn,callback:Vr}),ap(t))))},Vn=()=>{const Oi={message:"Received an error message from the transmuxer worker",metadata:{errorType:Ot.Error.StreamingFailedToTransmuxSegment,segmentInfo:Kf({segment:gn})}};Vr(null,Oi)};if(t.onmessage=bi,t.onerror=Vn,c&&t.postMessage({action:"setAudioAppendStart",appendStart:c}),Array.isArray(y)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:y}),typeof w<"u"&&t.postMessage({action:"setRemux",remux:w}),o.byteLength){const Oi=o instanceof ArrayBuffer?o:o.buffer,ha=o instanceof ArrayBuffer?0:o.byteOffset;en({type:"segmenttransmuxingstart",segment:gn}),t.postMessage({action:"push",data:Oi,byteOffset:ha,byteLength:o.byteLength},[Oi])}Tn&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},ap=p=>{p.currentTransmux=null,p.transmuxQueue.length&&(p.currentTransmux=p.transmuxQueue.shift(),typeof p.currentTransmux=="function"?p.currentTransmux():dh(p.currentTransmux))},m0=(p,t)=>{p.postMessage({action:t}),ap(p)},Dp=(p,t)=>{if(!t.currentTransmux){t.currentTransmux=p,m0(t,p);return}t.transmuxQueue.push(m0.bind(null,t,p))},op=p=>{Dp("reset",p)},Fc=p=>{Dp("endTimeline",p)},Gf=p=>{if(!p.transmuxer.currentTransmux){p.transmuxer.currentTransmux=p,dh(p);return}p.transmuxer.transmuxQueue.push(p)};var Lp={reset:op,endTimeline:Fc,transmux:Gf,createTransmuxer:p=>{const t=new _m;t.currentTransmux=null,t.transmuxQueue=[];const o=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,o.call(t)),t.postMessage({action:"init",options:p}),t}};const fh=function(p){const t=p.transmuxer,o=p.endAction||p.action,c=p.callback,y=W({},p,{endAction:null,transmuxer:null,callback:null}),w=R=>{R.data.action===o&&(t.removeEventListener("message",w),R.data.data&&(R.data.data=new Uint8Array(R.data.data,p.byteOffset||0,p.byteLength||R.data.data.byteLength),p.data&&(p.data=R.data.data)),c(R.data))};if(t.addEventListener("message",w),p.data){const R=p.data instanceof ArrayBuffer;y.byteOffset=R?0:p.data.byteOffset,y.byteLength=p.data.byteLength;const G=[R?p.data:p.data.buffer];t.postMessage(y,G)}else t.postMessage(y)},Jd={FAILURE:2,TIMEOUT:-101,ABORTED:-102},g0="wvtt",up=p=>{p.forEach(t=>{t.abort()})},Sf=p=>({bandwidth:p.bandwidth,bytesReceived:p.bytesReceived||0,roundTripTime:p.roundTripTime||0}),Da=p=>{const t=p.target,c={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return c.bytesReceived=p.loaded,c.bandwidth=Math.floor(c.bytesReceived/c.roundTripTime*8*1e3),c},lp=(p,t)=>{const{requestType:o}=t,c=yf({requestType:o,request:t,error:p});return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Jd.TIMEOUT,xhr:t,metadata:c}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Jd.ABORTED,xhr:t,metadata:c}:p?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Jd.FAILURE,xhr:t,metadata:c}:t.responseType==="arraybuffer"&&t.response.byteLength===0?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Jd.FAILURE,xhr:t,metadata:c}:null},Bc=(p,t,o,c)=>(y,w)=>{const R=w.response,G=lp(y,w);if(G)return o(G,p);if(R.byteLength!==16)return o({status:w.status,message:"Invalid HLS key at URL: "+w.uri,code:Jd.FAILURE,xhr:w},p);const ue=new DataView(R),Te=new Uint32Array([ue.getUint32(0),ue.getUint32(4),ue.getUint32(8),ue.getUint32(12)]);for(let St=0;St<t.length;St++)t[St].bytes=Te;const Ke={uri:w.uri};return c({type:"segmentkeyloadcomplete",segment:p,keyInfo:Ke}),o(null,p)},v0=(p,t)=>{t===g0&&p.transmuxer.postMessage({action:"initMp4WebVttParser",data:p.map.bytes})},Om=(p,t,o)=>{t===g0&&fh({action:"getMp4WebVttText",data:p.bytes,transmuxer:p.transmuxer,callback:({data:c,mp4VttCues:y})=>{p.bytes=c,o(null,p,{mp4VttCues:y})}})},mo=(p,t)=>{const o=lr(p.map.bytes);if(o!=="mp4"){const c=p.map.resolvedUri||p.map.uri,y=o||"unknown";return t({internal:!0,message:`Found unsupported ${y} container for initialization segment at URL: ${c}`,code:Jd.FAILURE,metadata:{mediaType:y}})}fh({action:"probeMp4Tracks",data:p.map.bytes,transmuxer:p.transmuxer,callback:({tracks:c,data:y})=>(p.map.bytes=y,c.forEach(function(w){p.map.tracks=p.map.tracks||{},!p.map.tracks[w.type]&&(p.map.tracks[w.type]=w,typeof w.id=="number"&&w.timescale&&(p.map.timescales=p.map.timescales||{},p.map.timescales[w.id]=w.timescale),w.type==="text"&&v0(p,w.codec))}),t(null))})},Im=({segment:p,finishProcessingFn:t,triggerSegmentEventFn:o})=>(c,y)=>{const w=lp(c,y);if(w)return t(w,p);const R=new Uint8Array(y.response);if(o({type:"segmentloaded",segment:p}),p.map.key)return p.map.encryptedBytes=R,t(null,p);p.map.bytes=R,mo(p,function(G){if(G)return G.xhr=y,G.status=y.status,t(G,p);t(null,p)})},y0=({segment:p,finishProcessingFn:t,responseType:o,triggerSegmentEventFn:c})=>(y,w)=>{const R=lp(y,w);if(R)return t(R,p);c({type:"segmentloaded",segment:p});const G=o==="arraybuffer"||!w.responseText?w.response:ch(w.responseText.substring(p.lastReachedChar||0));return p.stats=Sf(w),p.key?p.encryptedBytes=new Uint8Array(G):p.bytes=new Uint8Array(G),t(null,p)},b0=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})=>{const Vr=p.map&&p.map.tracks||{},_t=!!(Vr.audio&&Vr.video);let On=c.bind(null,p,"audio","start");const Tn=c.bind(null,p,"audio","end");let gn=c.bind(null,p,"video","start");const en=c.bind(null,p,"video","end"),Fn=()=>Gf({bytes:t,transmuxer:p.transmuxer,audioAppendStart:p.audioAppendStart,gopsToAlignWith:p.gopsToAlignWith,remux:_t,onData:Pn=>{Pn.type=Pn.type==="combined"?"video":Pn.type,Ke(p,Pn)},onTrackInfo:Pn=>{o&&(_t&&(Pn.isMuxed=!0),o(p,Pn))},onAudioTimingInfo:Pn=>{On&&typeof Pn.start<"u"&&(On(Pn.start),On=null),Tn&&typeof Pn.end<"u"&&Tn(Pn.end)},onVideoTimingInfo:Pn=>{gn&&typeof Pn.start<"u"&&(gn(Pn.start),gn=null),en&&typeof Pn.end<"u"&&en(Pn.end)},onVideoSegmentTimingInfo:Pn=>{const bi={pts:{start:Pn.start.presentation,end:Pn.end.presentation},dts:{start:Pn.start.decode,end:Pn.end.decode}};wr({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:bi}),y(Pn)},onAudioSegmentTimingInfo:Pn=>{const bi={pts:{start:Pn.start.pts,end:Pn.end.pts},dts:{start:Pn.start.dts,end:Pn.end.dts}};wr({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:bi}),w(Pn)},onId3:(Pn,bi)=>{R(p,Pn,bi)},onCaptions:Pn=>{G(p,[Pn])},isEndOfTimeline:ue,onEndedTimeline:()=>{Te()},onTransmuxerLog:sr,onDone:(Pn,bi)=>{St&&(Pn.type=Pn.type==="combined"?"video":Pn.type,wr({type:"segmenttransmuxingcomplete",segment:p}),St(bi,p,Pn))},segment:p,triggerSegmentEventFn:wr});fh({action:"probeTs",transmuxer:p.transmuxer,data:t,baseStartTime:p.baseStartTime,callback:Pn=>{p.bytes=t=Pn.data;const bi=Pn.result;bi&&(o(p,{hasAudio:bi.hasAudio,hasVideo:bi.hasVideo,isMuxed:_t}),o=null),Fn()}})},cp=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})=>{let Vr=new Uint8Array(t);if($t(Vr)){p.isFmp4=!0;const{tracks:_t}=p.map;if(_t.text&&(!_t.audio||!_t.video)){Ke(p,{data:Vr,type:"text"}),Om(p,_t.text.codec,St);return}const Tn={isFmp4:!0,hasVideo:!!_t.video,hasAudio:!!_t.audio};_t.audio&&_t.audio.codec&&_t.audio.codec!=="enca"&&(Tn.audioCodec=_t.audio.codec),_t.video&&_t.video.codec&&_t.video.codec!=="encv"&&(Tn.videoCodec=_t.video.codec),_t.video&&_t.audio&&(Tn.isMuxed=!0),o(p,Tn);const gn=(en,Fn)=>{Ke(p,{data:Vr,type:Tn.hasAudio&&!Tn.isMuxed?"audio":"video"}),Fn&&Fn.length&&R(p,Fn),en&&en.length&&G(p,en),St(null,p,{})};fh({action:"probeMp4StartTime",timescales:p.map.timescales,data:Vr,transmuxer:p.transmuxer,callback:({data:en,startTime:Fn})=>{t=en.buffer,p.bytes=Vr=en,Tn.hasAudio&&!Tn.isMuxed&&c(p,"audio","start",Fn),Tn.hasVideo&&c(p,"video","start",Fn),fh({action:"probeEmsgID3",data:Vr,transmuxer:p.transmuxer,offset:Fn,callback:({emsgData:Pn,id3Frames:bi})=>{if(t=Pn.buffer,p.bytes=Vr=Pn,!_t.video||!Pn.byteLength||!p.transmuxer){gn(void 0,bi);return}fh({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:p.transmuxer,data:Vr,timescales:p.map.timescales,trackIds:[_t.video.id],callback:Vn=>{t=Vn.data.buffer,p.bytes=Vr=Vn.data,Vn.logs.forEach(function(Oi){sr(ts(Oi,{stream:"mp4CaptionParser"}))}),gn(Vn.captions,bi)}})}})}});return}if(!p.transmuxer){St(null,p,{});return}if(typeof p.container>"u"&&(p.container=lr(Vr)),p.container!=="ts"&&p.container!=="aac"){o(p,{hasAudio:!1,hasVideo:!1}),St(null,p,{});return}b0({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})},S0=function({id:p,key:t,encryptedBytes:o,decryptionWorker:c,segment:y,doneFn:w},R){const G=Te=>{if(Te.data.source===p){c.removeEventListener("message",G);const Ke=Te.data.decrypted;R(new Uint8Array(Ke.bytes,Ke.byteOffset,Ke.byteLength))}};c.onerror=()=>{const Te="An error occurred in the decryption worker",Ke=Kf({segment:y}),St={message:Te,metadata:{error:new Error(Te),errorType:Ot.Error.StreamingFailedToDecryptSegment,segmentInfo:Ke,keyInfo:{uri:y.key.resolvedUri||y.map.key.resolvedUri}}};w(St,y)},c.addEventListener("message",G);let ue;t.bytes.slice?ue=t.bytes.slice():ue=new Uint32Array(Array.prototype.slice.call(t.bytes)),c.postMessage(Nh({source:p,encrypted:o,key:ue,iv:t.iv}),[o.buffer,ue.buffer])},Pm=({decryptionWorker:p,segment:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})=>{wr({type:"segmentdecryptionstart"}),S0({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:p,segment:t,doneFn:St},Vr=>{t.bytes=Vr,wr({type:"segmentdecryptioncomplete",segment:t}),cp({segment:t,bytes:t.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})})},Rm=({activeXhrs:p,decryptionWorker:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})=>{let Vr=0,_t=!1;return(On,Tn)=>{if(!_t){if(On)return _t=!0,up(p),St(On,Tn);if(Vr+=1,Vr===p.length){const gn=function(){if(Tn.encryptedBytes)return Pm({decryptionWorker:t,segment:Tn,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr});cp({segment:Tn,bytes:Tn.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke,doneFn:St,onTransmuxerLog:sr,triggerSegmentEventFn:wr})};if(Tn.endOfAllRequests=Date.now(),Tn.map&&Tn.map.encryptedBytes&&!Tn.map.bytes)return wr({type:"segmentdecryptionstart",segment:Tn}),S0({decryptionWorker:t,id:Tn.requestId+"-init",encryptedBytes:Tn.map.encryptedBytes,key:Tn.map.key,segment:Tn,doneFn:St},en=>{Tn.map.bytes=en,wr({type:"segmentdecryptioncomplete",segment:Tn}),mo(Tn,Fn=>{if(Fn)return up(p),St(Fn,Tn);gn()})});gn()}}}},Dm=({loadendState:p,abortFn:t})=>o=>{o.target.aborted&&t&&!p.calledAbortFn&&(t(),p.calledAbortFn=!0)},Lm=({segment:p,progressFn:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:w,id3Fn:R,captionsFn:G,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ke})=>St=>{if(!St.target.aborted)return p.stats=ts(p.stats,Da(St)),!p.stats.firstBytesReceivedAt&&p.stats.bytesReceived&&(p.stats.firstBytesReceivedAt=Date.now()),t(St,p)},Mm=({xhr:p,xhrOptions:t,decryptionWorker:o,segment:c,abortFn:y,progressFn:w,trackInfoFn:R,timingInfoFn:G,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ke,captionsFn:St,isEndOfTimeline:sr,endedTimelineFn:wr,dataFn:Vr,doneFn:_t,onTransmuxerLog:On,triggerSegmentEventFn:Tn})=>{const gn=[],en=Rm({activeXhrs:gn,decryptionWorker:o,trackInfoFn:R,timingInfoFn:G,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ke,captionsFn:St,isEndOfTimeline:sr,endedTimelineFn:wr,dataFn:Vr,doneFn:_t,onTransmuxerLog:On,triggerSegmentEventFn:Tn});if(c.key&&!c.key.bytes){const Oi=[c.key];c.map&&!c.map.bytes&&c.map.key&&c.map.key.resolvedUri===c.key.resolvedUri&&Oi.push(c.map.key);const ha=ts(t,{uri:c.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),go=Bc(c,Oi,en,Tn),Ko={uri:c.key.resolvedUri};Tn({type:"segmentkeyloadstart",segment:c,keyInfo:Ko});const _o=p(ha,go);gn.push(_o)}if(c.map&&!c.map.bytes){if(c.map.key&&(!c.key||c.key.resolvedUri!==c.map.key.resolvedUri)){const _o=ts(t,{uri:c.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),Vs=Bc(c,[c.map.key],en,Tn),Js={uri:c.map.key.resolvedUri};Tn({type:"segmentkeyloadstart",segment:c,keyInfo:Js});const Ao=p(_o,Vs);gn.push(Ao)}const ha=ts(t,{uri:c.map.resolvedUri,responseType:"arraybuffer",headers:Xd(c.map),requestType:"segment-media-initialization"}),go=Im({segment:c,finishProcessingFn:en,triggerSegmentEventFn:Tn});Tn({type:"segmentloadstart",segment:c});const Ko=p(ha,go);gn.push(Ko)}const Fn=ts(t,{uri:c.part&&c.part.resolvedUri||c.resolvedUri,responseType:"arraybuffer",headers:Xd(c),requestType:"segment"}),Pn=y0({segment:c,finishProcessingFn:en,responseType:Fn.responseType,triggerSegmentEventFn:Tn});Tn({type:"segmentloadstart",segment:c});const bi=p(Fn,Pn);bi.addEventListener("progress",Lm({segment:c,progressFn:w,trackInfoFn:R,timingInfoFn:G,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ke,captionsFn:St,isEndOfTimeline:sr,endedTimelineFn:wr,dataFn:Vr})),gn.push(bi);const Vn={};return gn.forEach(Oi=>{Oi.addEventListener("loadend",Dm({loadendState:Vn,abortFn:y}))}),()=>up(gn)},dp=ws("PlaylistSelector"),x0=function(p){if(!p||!p.playlist)return;const t=p.playlist;return JSON.stringify({id:t.id,bandwidth:p.bandwidth,width:p.width,height:p.height,codecs:t.attributes&&t.attributes.CODECS||""})},hh=function(p,t){if(!p)return"";const o=P().getComputedStyle(p);return o?o[t]:""},ph=function(p,t){const o=p.slice();p.sort(function(c,y){const w=t(c,y);return w===0?o.indexOf(c)-o.indexOf(y):w})},Mp=function(p,t){let o,c;return p.attributes.BANDWIDTH&&(o=p.attributes.BANDWIDTH),o=o||P().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(c=t.attributes.BANDWIDTH),c=c||P().Number.MAX_VALUE,o-c},km=function(p,t){let o,c;return p.attributes.RESOLUTION&&p.attributes.RESOLUTION.width&&(o=p.attributes.RESOLUTION.width),o=o||P().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(c=t.attributes.RESOLUTION.width),c=c||P().Number.MAX_VALUE,o===c&&p.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?p.attributes.BANDWIDTH-t.attributes.BANDWIDTH:o-c};let fp=function(p){const{main:t,bandwidth:o,playerWidth:c,playerHeight:y,playerObjectFit:w,limitRenditionByPlayerDimensions:R,playlistController:G}=p;if(!t)return;const ue={bandwidth:o,width:c,height:y,limitRenditionByPlayerDimensions:R};let Te=t.playlists;Dl.isAudioOnly(t)&&(Te=G.getAudioTrackPlaylists_(),ue.audioOnly=!0);let Ke=Te.map(Vn=>{let Oi;const ha=Vn.attributes&&Vn.attributes.RESOLUTION&&Vn.attributes.RESOLUTION.width,go=Vn.attributes&&Vn.attributes.RESOLUTION&&Vn.attributes.RESOLUTION.height;return Oi=Vn.attributes&&Vn.attributes.BANDWIDTH,Oi=Oi||P().Number.MAX_VALUE,{bandwidth:Oi,width:ha,height:go,playlist:Vn}});ph(Ke,(Vn,Oi)=>Vn.bandwidth-Oi.bandwidth),Ke=Ke.filter(Vn=>!Dl.isIncompatible(Vn.playlist));let St=Ke.filter(Vn=>Dl.isEnabled(Vn.playlist));St.length||(St=Ke.filter(Vn=>!Dl.isDisabled(Vn.playlist)));const sr=St.filter(Vn=>Vn.bandwidth*Du.BANDWIDTH_VARIANCE<o);let wr=sr[sr.length-1];const Vr=sr.filter(Vn=>Vn.bandwidth===wr.bandwidth)[0];if(R===!1){const Vn=Vr||St[0]||Ke[0];if(Vn&&Vn.playlist){let Oi="sortedPlaylistReps";return Vr&&(Oi="bandwidthBestRep"),St[0]&&(Oi="enabledPlaylistReps"),dp(`choosing ${x0(Vn)} using ${Oi} with options`,ue),Vn.playlist}return dp("could not choose a playlist with options",ue),null}const _t=sr.filter(Vn=>Vn.width&&Vn.height);ph(_t,(Vn,Oi)=>Vn.width-Oi.width);const On=_t.filter(Vn=>Vn.width===c&&Vn.height===y);wr=On[On.length-1];const Tn=On.filter(Vn=>Vn.bandwidth===wr.bandwidth)[0];let gn,en,Fn;Tn||(gn=_t.filter(Vn=>w==="cover"?Vn.width>c&&Vn.height>y:Vn.width>c||Vn.height>y),en=gn.filter(Vn=>Vn.width===gn[0].width&&Vn.height===gn[0].height),wr=en[en.length-1],Fn=en.filter(Vn=>Vn.bandwidth===wr.bandwidth)[0]);let Pn;if(G.leastPixelDiffSelector){const Vn=_t.map(Oi=>(Oi.pixelDiff=Math.abs(Oi.width-c)+Math.abs(Oi.height-y),Oi));ph(Vn,(Oi,ha)=>Oi.pixelDiff===ha.pixelDiff?ha.bandwidth-Oi.bandwidth:Oi.pixelDiff-ha.pixelDiff),Pn=Vn[0]}const bi=Pn||Fn||Tn||Vr||St[0]||Ke[0];if(bi&&bi.playlist){let Vn="sortedPlaylistReps";return Pn?Vn="leastPixelDiffRep":Fn?Vn="resolutionPlusOneRep":Tn?Vn="resolutionBestRep":Vr?Vn="bandwidthBestRep":St[0]&&(Vn="enabledPlaylistReps"),dp(`choosing ${x0(bi)} using ${Vn} with options`,ue),bi.playlist}return dp("could not choose a playlist with options",ue),null};const E0=function(){let p=this.useDevicePixelRatio&&P().devicePixelRatio||1;return isNaN(this.customPixelRatio)||(p=this.customPixelRatio),fp({main:this.playlists.main,bandwidth:this.systemBandwidth,playerWidth:parseInt(hh(this.tech_.el(),"width"),10)*p,playerHeight:parseInt(hh(this.tech_.el(),"height"),10)*p,playerObjectFit:this.usePlayerObjectFit?hh(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})},kp=function(p){let t=-1,o=-1;if(p<0||p>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){let c=this.useDevicePixelRatio&&P().devicePixelRatio||1;return isNaN(this.customPixelRatio)||(c=this.customPixelRatio),t<0&&(t=this.systemBandwidth,o=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==o&&(t=p*this.systemBandwidth+(1-p)*t,o=this.systemBandwidth),fp({main:this.playlists.main,bandwidth:t,playerWidth:parseInt(hh(this.tech_.el(),"width"),10)*c,playerHeight:parseInt(hh(this.tech_.el(),"height"),10)*c,playerObjectFit:this.usePlayerObjectFit?hh(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})}},Nm=function(p){const{main:t,currentTime:o,bandwidth:c,duration:y,segmentDuration:w,timeUntilRebuffer:R,currentTimeline:G,syncController:ue}=p,Te=t.playlists.filter(Vr=>!Dl.isIncompatible(Vr));let Ke=Te.filter(Dl.isEnabled);Ke.length||(Ke=Te.filter(Vr=>!Dl.isDisabled(Vr)));const sr=Ke.filter(Dl.hasAttribute.bind(null,"BANDWIDTH")).map(Vr=>{const On=ue.getSyncPoint(Vr,y,G,o)?1:2,gn=Dl.estimateSegmentRequestTime(w,c,Vr)*On-R;return{playlist:Vr,rebufferingImpact:gn}}),wr=sr.filter(Vr=>Vr.rebufferingImpact<=0);return ph(wr,(Vr,_t)=>Mp(_t.playlist,Vr.playlist)),wr.length?wr[0]:(ph(sr,(Vr,_t)=>Vr.rebufferingImpact-_t.rebufferingImpact),sr[0]||null)},Fm=function(){const p=this.playlists.main.playlists.filter(Dl.isEnabled);return ph(p,(o,c)=>Mp(o,c)),p.filter(o=>!!Wf(this.playlists.main,o).video)[0]||null},Bm=p=>{let t=0,o;return p.bytes&&(o=new Uint8Array(p.bytes),p.segments.forEach(c=>{o.set(c,t),t+=c.byteLength})),o};function Zu(p){try{return new URL(p).pathname.split("/").slice(-2).join("/")}catch{return""}}const Tc=function(p,t,o){if(!p[o]){t.trigger({type:"usage",name:"vhs-608"});let c=o;/^cc708_/.test(o)&&(c="SERVICE"+o.split("_")[1]);const y=t.textTracks().getTrackById(c);if(y)p[o]=y;else{const w=t.options_.vhs&&t.options_.vhs.captionServices||{};let R=o,G=o,ue=!1;const Te=w[c];Te&&(R=Te.label,G=Te.language,ue=Te.default),p[o]=t.addRemoteTextTrack({kind:"captions",id:c,default:ue,label:R,language:G},!1).track}}},Um=function({inbandTextTracks:p,captionArray:t,timestampOffset:o}){if(!t)return;const c=P().WebKitDataCue||P().VTTCue;t.forEach(y=>{const w=y.stream;y.content?y.content.forEach(R=>{const G=new c(y.startTime+o,y.endTime+o,R.text);G.line=R.line,G.align="left",G.position=R.position,G.positionAlign="line-left",p[w].addCue(G)}):p[w].addCue(new c(y.startTime+o,y.endTime+o,y.text))})},jm=function(p){Object.defineProperties(p.frame,{id:{get(){return Ot.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),p.value.key}},value:{get(){return Ot.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),p.value.data}},privateData:{get(){return Ot.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),p.value.data}}})},zm=({inbandTextTracks:p,metadataArray:t,timestampOffset:o,videoDuration:c})=>{if(!t)return;const y=P().WebKitDataCue||P().VTTCue,w=p.metadataTrack_;if(!w||(t.forEach(Ke=>{const St=Ke.cueTime+o;typeof St!="number"||P().isNaN(St)||St<0||!(St<1/0)||!Ke.frames||!Ke.frames.length||Ke.frames.forEach(sr=>{const wr=new y(St,St,sr.value||sr.url||sr.data||"");wr.frame=sr,wr.value=sr,jm(wr),w.addCue(wr)})}),!w.cues||!w.cues.length))return;const R=w.cues,G=[];for(let Ke=0;Ke<R.length;Ke++)R[Ke]&&G.push(R[Ke]);const ue=G.reduce((Ke,St)=>{const sr=Ke[St.startTime]||[];return sr.push(St),Ke[St.startTime]=sr,Ke},{}),Te=Object.keys(ue).sort((Ke,St)=>Number(Ke)-Number(St));Te.forEach((Ke,St)=>{const sr=ue[Ke],wr=isFinite(c)?c:Ke,Vr=Number(Te[St+1])||wr;sr.forEach(_t=>{_t.endTime=Vr})})},T0={id:"ID",class:"CLASS",startDate:"START-DATE",duration:"DURATION",endDate:"END-DATE",endOnNext:"END-ON-NEXT",plannedDuration:"PLANNED-DURATION",scte35Out:"SCTE35-OUT",scte35In:"SCTE35-IN"},$m=new Set(["id","class","startDate","duration","endDate","endOnNext","startTime","endTime","processDateRange"]),Hm=({inbandTextTracks:p,dateRanges:t})=>{const o=p.metadataTrack_;if(!o)return;const c=P().WebKitDataCue||P().VTTCue;t.forEach(y=>{for(const w of Object.keys(y)){if($m.has(w))continue;const R=new c(y.startTime,y.endTime,"");R.id=y.id,R.type="com.apple.quicktime.HLS",R.value={key:T0[w],data:y[w]},(w==="scte35Out"||w==="scte35In")&&(R.value.data=new Uint8Array(R.value.data.match(/[\da-f]{2}/gi)).buffer),o.addCue(R)}y.processDateRange()})},w0=(p,t,o)=>{p.metadataTrack_||(p.metadataTrack_=o.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,Ot.browser.IS_ANY_SAFARI||(p.metadataTrack_.inBandMetadataTrackDispatchType=t))},mh=function(p,t,o){let c,y;if(o&&o.cues)for(c=o.cues.length;c--;)y=o.cues[c],y.startTime>=p&&y.endTime<=t&&o.removeCue(y)},Wm=function(p){const t=p.cues;if(!t)return;const o={};for(let c=t.length-1;c>=0;c--){const y=t[c],w=`${y.startTime}-${y.endTime}-${y.text}`;o[w]?p.removeCue(y):o[w]=y}},Vm=(p,t,o)=>{if(typeof t>"u"||t===null||!p.length)return[];const c=Math.ceil((t-o+3)*Nr.ONE_SECOND_IN_TS);let y;for(y=0;y<p.length&&!(p[y].pts>c);y++);return p.slice(y)},Gm=(p,t,o)=>{if(!t.length)return p;if(o)return t.slice();const c=t[0].pts;let y=0;for(y;y<p.length&&!(p[y].pts>=c);y++);return p.slice(0,y).concat(t)},_0=(p,t,o,c)=>{const y=Math.ceil((t-c)*Nr.ONE_SECOND_IN_TS),w=Math.ceil((o-c)*Nr.ONE_SECOND_IN_TS),R=p.slice();let G=p.length;for(;G--&&!(p[G].pts<=w););if(G===-1)return R;let ue=G+1;for(;ue--&&!(p[ue].pts<=y););return ue=Math.max(ue,0),R.splice(ue,G-ue+1),R},A0=function(p,t){if(!p&&!t||!p&&t||p&&!t)return!1;if(p===t)return!0;const o=Object.keys(p).sort(),c=Object.keys(t).sort();if(o.length!==c.length)return!1;for(let y=0;y<o.length;y++){const w=o[y];if(w!==c[y]||p[w]!==t[w])return!1}return!0},Km=function(p,t,o){t=t||[];const c=[];let y=0;for(let w=0;w<t.length;w++){const R=t[w];if(p===R.timeline&&(c.push(w),y+=R.duration,y>o))return w}return c.length===0?0:c[c.length-1]},jh=1,Ym=500,C0=p=>typeof p=="number"&&isFinite(p),xf=1/60,Xm=(p,t,o)=>p!=="main"||!t||!o?null:!o.hasAudio&&!o.hasVideo?"Neither audio nor video found in segment.":t.hasVideo&&!o.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&o.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null,Qm=(p,t,o)=>{let c=t-Du.BACK_BUFFER_LENGTH;p.length&&(c=Math.max(c,p.start(0)));const y=t-o;return Math.min(y,c)},gh=p=>{const{startOfSegment:t,duration:o,segment:c,part:y,playlist:{mediaSequence:w,id:R,segments:G=[]},mediaIndex:ue,partIndex:Te,timeline:Ke}=p,St=G.length-1;let sr="mediaIndex/partIndex increment";p.getMediaInfoForTime?sr=`getMediaInfoForTime (${p.getMediaInfoForTime})`:p.isSyncRequest&&(sr="getSyncSegmentCandidate (isSyncRequest)"),p.independent&&(sr+=` with independent ${p.independent}`);const wr=typeof Te=="number",Vr=p.segment.uri?"segment":"pre-segment",_t=wr?Ma({preloadSegment:c})-1:0;return`${Vr} [${w+ue}/${w+St}]`+(wr?` part [${Te}/${_t}]`:"")+` segment start/end [${c.start} => ${c.end}]`+(wr?` part start/end [${y.start} => ${y.end}]`:"")+` startOfSegment [${t}] duration [${o}] timeline [${Ke}] selected by [${sr}] playlist [${R}]`},O0=p=>`${p}TimingInfo`,Jm=({segmentTimeline:p,currentTimeline:t,startOfSegment:o,buffered:c,overrideCheck:y})=>!y&&p===t?null:p<t?o:c.length?c.end(c.length-1):o,hp=({timelineChangeController:p,currentTimeline:t,segmentTimeline:o,loaderType:c,audioDisabled:y})=>{if(t===o)return!1;if(c==="audio"){const w=p.lastTimelineChange({type:"main"});return!w||w.to!==o}if(c==="main"&&y){const w=p.pendingTimelineChange({type:"audio"});return!(w&&w.to===o)}return!1},I0=p=>{if(!p)return!1;const t=p.pendingTimelineChange({type:"audio"}),o=p.pendingTimelineChange({type:"main"}),c=t&&o,y=c&&t.to!==o.to;return!!(c&&t.from!==-1&&o.from!==-1&&y)},Zm=p=>{const t=p.timelineChangeController_.pendingTimelineChange({type:"audio"}),o=p.timelineChangeController_.pendingTimelineChange({type:"main"});return t&&o&&t.to<o.to},Ff=p=>{const t=p.pendingSegment_;if(!t)return;if(hp({timelineChangeController:p.timelineChangeController_,currentTimeline:p.currentTimeline_,segmentTimeline:t.timeline,loaderType:p.loaderType_,audioDisabled:p.audioDisabled_})&&I0(p.timelineChangeController_)){if(Zm(p)){p.timelineChangeController_.trigger("audioTimelineBehind");return}p.timelineChangeController_.trigger("fixBadTimelineChange")}},qm=p=>{let t=0;return["video","audio"].forEach(function(o){const c=p[`${o}TimingInfo`];if(!c)return;const{start:y,end:w}=c;let R;typeof y=="bigint"||typeof w=="bigint"?R=P().BigInt(w)-P().BigInt(y):typeof y=="number"&&typeof w=="number"&&(R=w-y),typeof R<"u"&&R>t&&(t=R)}),typeof t=="bigint"&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t},P0=({segmentDuration:p,maxDuration:t})=>p?Math.round(p)>t+_a:!1,eg=(p,t)=>{if(t!=="hls")return null;const o=qm({audioTimingInfo:p.audioTimingInfo,videoTimingInfo:p.videoTimingInfo});if(!o)return null;const c=p.playlist.targetDuration,y=P0({segmentDuration:o,maxDuration:c*2}),w=P0({segmentDuration:o,maxDuration:c}),R=`Segment with index ${p.mediaIndex} from playlist ${p.playlist.id} has a duration of ${o} when the reported duration is ${p.duration} and the target duration is ${c}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return y||w?{severity:y?"warn":"info",message:R}:null},Kf=({type:p,segment:t})=>{if(!t)return;const o=!!(t.key||t.map&&t.map.ke),c=!!(t.map&&!t.map.bytes),y=t.startOfSegment===void 0?t.start:t.startOfSegment;return{type:p||t.type,uri:t.resolvedUri||t.uri,start:y,duration:t.duration,isEncrypted:o,isMediaInitialization:c}};class Np extends Ot.EventTarget{constructor(t,o={}){if(super(),!t)throw new TypeError("Initialization settings are required");if(typeof t.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=t.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=t.hasPlayed,this.currentTime_=t.currentTime,this.seekable_=t.seekable,this.seeking_=t.seeking,this.duration_=t.duration,this.mediaSource_=t.mediaSource,this.vhs_=t.vhs,this.loaderType_=t.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=t.segmentMetadataTrack,this.goalBufferLength_=t.goalBufferLength,this.sourceType_=t.sourceType,this.sourceUpdater_=t.sourceUpdater,this.inbandTextTracks_=t.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=t.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=t.parse708captions,this.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,this.captionServices_=t.captionServices,this.exactManifestTimings=t.exactManifestTimings,this.addMetadataToTextTrack=t.addMetadataToTextTrack,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.shouldForceTimestampOffsetAfterResync_=!1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=!1,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=t.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=t.decrypter,this.syncController_=t.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",()=>{this.isEndOfStream_()||(this.ended_=!1)}),this.fetchAtBuffer_=!1,this.logger_=ws(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(c){c!==this.state_&&(this.logger_(`${this.state_} -> ${c}`),this.state_=c,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():Ff(this)}),this.sourceUpdater_.on("codecschange",c=>{this.trigger(W({type:"codecschange"},c))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():Ff(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",c=>{this.trigger(W({type:"timelinechange"},c)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():Ff(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():Ff(this)})}get mediaSequenceSync_(){return this.syncController_.getMediaSequenceSync(this.loaderType_)}createTransmuxer_(){return Lp.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&P().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null),this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,P().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(t){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==t}error(t){return typeof t<"u"&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&Lp.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const t=this.getMediaInfo_();if(!this.sourceUpdater_||!t)return Ts();if(this.loaderType_==="main"){const{hasAudio:o,hasVideo:c,isMuxed:y}=t;if(c&&o&&!this.audioDisabled_&&!y)return this.sourceUpdater_.buffered();if(c)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(t,o=!1){if(!t)return null;const c=Nc(t);let y=this.initSegments_[c];return o&&!y&&t.bytes&&(this.initSegments_[c]=y={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes,tracks:t.tracks,timescales:t.timescales}),y||t}segmentKey(t,o=!1){if(!t)return null;const c=Fh(t);let y=this.keyCache_[c];this.cacheEncryptionKeys_&&o&&!y&&t.bytes&&(this.keyCache_[c]=y={resolvedUri:t.resolvedUri,bytes:t.bytes});const w={resolvedUri:(y||t).resolvedUri};return y&&(w.bytes=y.bytes),w}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(t,o={}){if(!t||this.playlist_&&this.playlist_.endList&&t.endList&&this.playlist_.uri===t.uri)return;const c=this.playlist_,y=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=o,this.state==="INIT"&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(t));let w=null;if(c&&(c.id?w=c.id:c.uri&&(w=c.uri)),this.logger_(`playlist update [${w} => ${t.id||t.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(t,this.currentTime_()),this.logger_(`Playlist update: 982currentTime: ${this.currentTime_()} 983bufferedEnd: ${_d(this.buffered_())} 984`,this.mediaSequenceSync_.diagnostics)),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!c||c.uri!==t.uri){this.mediaIndex!==null&&(!t.endList&&typeof t.partTargetDuration=="number"?this.resetLoader():this.resyncLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}const R=t.mediaSequence-c.mediaSequence;if(this.logger_(`live window shift [${R}]`),this.mediaIndex!==null)if(this.mediaIndex-=R,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const G=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!G.parts||!G.parts.length||!G.parts[this.partIndex])){const ue=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=ue}}y&&(y.mediaIndex-=R,y.mediaIndex<0?(y.mediaIndex=null,y.partIndex=null):(y.mediaIndex>=0&&(y.segment=t.segments[y.mediaIndex]),y.partIndex>=0&&y.segment.parts&&(y.part=y.segment.parts[y.partIndex]))),this.syncController_.saveExpiredSegmentInfo(c,t)}pause(){this.checkBufferTimeout_&&(P().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return this.checkBufferTimeout_===null}resetEverything(t){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.mediaSequenceSync_&&this.mediaSequenceSync_.resetAppendedStatus(),this.resyncLoader()}resyncLoader(){this.transmuxer_&&Lp.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1;const t=this.currentMediaInfo_&&this.currentMediaInfo_.isFmp4;this.sourceType_==="hls"&&!t&&(this.shouldForceTimestampOffsetAfterResync_=!0),this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(t,o,c=()=>{},y=!1){if(o===1/0&&(o=this.duration_()),o<=t){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}let w=1;const R=()=>{w--,w===0&&c()};(y||!this.audioDisabled_)&&(w++,this.sourceUpdater_.removeAudio(t,o,R)),(y||this.loaderType_==="main")&&(this.gopBuffer_=_0(this.gopBuffer_,t,o,this.timeMapping_),w++,this.sourceUpdater_.removeVideo(t,o,R));for(const G in this.inbandTextTracks_)mh(t,o,this.inbandTextTracks_[G]);mh(t,o,this.segmentMetadataTrack_),R()}monitorBuffer_(){this.checkBufferTimeout_&&P().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=P().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&P().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=P().setTimeout(this.monitorBufferTick_.bind(this),Ym)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const t=this.chooseNextRequest_();if(!t)return;const o={segmentInfo:Kf({type:this.loaderType_,segment:t})};this.trigger({type:"segmentselected",metadata:o}),typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline})),this.loadSegment_(t)}isEndOfStream_(t=this.mediaIndex,o=this.playlist_,c=this.partIndex){if(!o||!this.mediaSource_)return!1;const y=typeof t=="number"&&o.segments[t],w=t+1===o.segments.length,R=!y||!y.parts||c+1===y.parts.length;return o.endList&&this.mediaSource_.readyState==="open"&&w&&R}chooseNextRequest_(){const t=this.buffered_(),o=_d(t)||0,c=sc(t,this.currentTime_()),y=!this.hasPlayed_()&&c>=1,w=c>=this.goalBufferLength_(),R=this.playlist_.segments;if(!R.length||y||w)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const G={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(G.isSyncRequest)G.mediaIndex=Km(this.currentTimeline_,R,o),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${G.mediaIndex}`);else if(this.mediaIndex!==null){const sr=R[this.mediaIndex],wr=typeof this.partIndex=="number"?this.partIndex:-1;G.startOfSegment=sr.end?sr.end:o,sr.parts&&sr.parts[wr+1]?(G.mediaIndex=this.mediaIndex,G.partIndex=wr+1):G.mediaIndex=this.mediaIndex+1}else{let sr,wr,Vr;const _t=this.fetchAtBuffer_?o:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch: 985For TargetTime: ${_t}. 986CurrentTime: ${this.currentTime_()} 987BufferedEnd: ${o} 988Fetch At Buffer: ${this.fetchAtBuffer_} 989`,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const On=this.getSyncInfoFromMediaSequenceSync_(_t);if(!On){const Tn="No sync info found while using media sequence sync";return this.error({message:Tn,metadata:{errorType:Ot.Error.StreamingFailedToSelectNextSegment,error:new Error(Tn)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${On.start} --> ${On.end})`),sr=On.segmentIndex,wr=On.partIndex,Vr=On.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const On=Dl.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:_t,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});sr=On.segmentIndex,wr=On.partIndex,Vr=On.startTime}G.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${_t}`:`currentTime ${_t}`,G.mediaIndex=sr,G.startOfSegment=Vr,G.partIndex=wr,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${G.mediaIndex} `)}const ue=R[G.mediaIndex];let Te=ue&&typeof G.partIndex=="number"&&ue.parts&&ue.parts[G.partIndex];if(!ue||typeof G.partIndex=="number"&&!Te)return null;typeof G.partIndex!="number"&&ue.parts&&(G.partIndex=0,Te=ue.parts[0]);const Ke=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!c&&Te&&!Ke&&!Te.independent)if(G.partIndex===0){const sr=R[G.mediaIndex-1],wr=sr.parts&&sr.parts.length&&sr.parts[sr.parts.length-1];wr&&wr.independent&&(G.mediaIndex-=1,G.partIndex=sr.parts.length-1,G.independent="previous segment")}else ue.parts[G.partIndex-1].independent&&(G.partIndex-=1,G.independent="previous part");const St=this.mediaSource_&&this.mediaSource_.readyState==="ended";return G.mediaIndex>=R.length-1&&St&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,G.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(G))}getSyncInfoFromMediaSequenceSync_(t){if(!this.mediaSequenceSync_)return null;const o=Math.max(t,this.mediaSequenceSync_.start);t!==o&&this.logger_(`getSyncInfoFromMediaSequenceSync_. Pulled target time from ${t} to ${o}`);const c=this.mediaSequenceSync_.getSyncInfoForTime(o);if(!c)return null;if(!c.isAppended)return c;const y=this.mediaSequenceSync_.getSyncInfoForTime(c.end);return y?(y.isAppended&&this.logger_("getSyncInfoFromMediaSequenceSync_: We encounter unexpected scenario where next media sequence sync info is also appended!"),y):null}generateSegmentInfo_(t){const{independent:o,playlist:c,mediaIndex:y,startOfSegment:w,isSyncRequest:R,partIndex:G,forceTimestampOffset:ue,getMediaInfoForTime:Te}=t,Ke=c.segments[y],St=typeof G=="number"&&Ke.parts[G],sr={requestId:"segment-loader-"+Math.random(),uri:St&&St.resolvedUri||Ke.resolvedUri,mediaIndex:y,partIndex:St?G:null,isSyncRequest:R,startOfSegment:w,playlist:c,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:Ke.timeline,duration:St&&St.duration||Ke.duration,segment:Ke,part:St,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:Te,independent:o},wr=typeof ue<"u"?ue:this.isPendingTimestampOffset_;sr.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:Ke.timeline,currentTimeline:this.currentTimeline_,startOfSegment:w,buffered:this.buffered_(),overrideCheck:wr});const Vr=_d(this.sourceUpdater_.audioBuffered());return typeof Vr=="number"&&(sr.audioAppendStart=Vr-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(sr.gopsToAlignWith=Vm(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),sr}timestampOffsetForSegment_(t){return Jm(t)}earlyAbortWhenNeeded_(t){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return;const o=this.currentTime_(),c=t.bandwidth,y=this.pendingSegment_.duration,w=Dl.estimateSegmentRequestTime(y,c,this.playlist_,t.bytesReceived),R=Vd(this.buffered_(),o,this.vhs_.tech_.playbackRate())-1;if(w<=R)return;const G=Nm({main:this.vhs_.playlists.main,currentTime:o,bandwidth:c,duration:this.duration_(),segmentDuration:y,timeUntilRebuffer:R,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!G)return;const Te=w-R-G.rebufferingImpact;let Ke=.5;R<=_a&&(Ke=1),!(!G.playlist||G.playlist.uri===this.playlist_.uri||Te<Ke)&&(this.bandwidth=G.playlist.attributes.BANDWIDTH*Du.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(t){this.logger_(`Aborting ${gh(t)}`),this.mediaRequestsAborted+=1}handleProgress_(t,o){this.earlyAbortWhenNeeded_(o.stats),!this.checkForAbort_(o.requestId)&&this.trigger("progress")}handleTrackInfo_(t,o){const{hasAudio:c,hasVideo:y}=o,w={segmentInfo:Kf({type:this.loaderType_,segment:t}),trackInfo:{hasAudio:c,hasVideo:y}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:w}),this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)&&(this.checkForIllegalMediaSwitch(o)||(o=o||{},A0(this.currentMediaInfo_,o)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=o,this.currentMediaInfo_=o,this.logger_("trackinfo update",o),this.trigger("trackinfo")),!this.checkForAbort_(t.requestId)&&(this.pendingSegment_.trackInfo=o,this.hasEnoughInfoToAppend_()?this.processCallQueue_():Ff(this))))}handleTimingInfo_(t,o,c,y){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;const w=this.pendingSegment_,R=O0(o);w[R]=w[R]||{},w[R][c]=y,this.logger_(`timinginfo: ${o} - ${c} - ${y}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():Ff(this)}handleCaptions_(t,o){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(o.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,o));return}const y=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),w={};o.forEach(R=>{w[R.stream]=w[R.stream]||{startTime:1/0,captions:[],endTime:0};const G=w[R.stream];G.startTime=Math.min(G.startTime,R.startTime+y),G.endTime=Math.max(G.endTime,R.endTime+y),G.captions.push(R)}),Object.keys(w).forEach(R=>{const{startTime:G,endTime:ue,captions:Te}=w[R],Ke=this.inbandTextTracks_;this.logger_(`adding cues from ${G} -> ${ue} for ${R}`),Tc(Ke,this.vhs_.tech_,R),mh(G,ue,Ke[R]),Um({captionArray:Te,inbandTextTracks:Ke,timestampOffset:y})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(t,o,c){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,o,c));return}this.addMetadataToTextTrack(c,o,this.duration_())}processMetadataQueue_(){this.metadataQueue_.id3.forEach(t=>t()),this.metadataQueue_.caption.forEach(t=>t()),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const t=this.callQueue_;this.callQueue_=[],t.forEach(o=>o())}processLoadQueue_(){const t=this.loadQueue_;this.loadQueue_=[],t.forEach(o=>o())}hasEnoughInfoToLoad_(){if(this.loaderType_!=="audio")return!0;const t=this.pendingSegment_;return t?this.getCurrentMediaInfo_()?!hp({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1}getCurrentMediaInfo_(t=this.pendingSegment_){return t&&t.trackInfo||this.currentMediaInfo_}getMediaInfo_(t=this.pendingSegment_){return this.getCurrentMediaInfo_(t)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const t=this.pendingSegment_,o=this.getCurrentMediaInfo_();if(!t||!o)return!1;const{hasAudio:c,hasVideo:y,isMuxed:w}=o;return!(y&&!t.videoTimingInfo||c&&!this.audioDisabled_&&!w&&!t.audioTimingInfo||hp({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(t,o){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){Ff(this),this.callQueue_.push(this.handleData_.bind(this,t,o));return}const c=this.pendingSegment_;if(this.setTimeMapping_(c.timeline),this.updateMediaSecondsLoaded_(c.part||c.segment),this.mediaSource_.readyState!=="closed"){if(t.map&&(t.map=this.initSegmentForMap(t.map,!0),c.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),c.isFmp4=t.isFmp4,c.timingInfo=c.timingInfo||{},c.isFmp4)this.trigger("fmp4"),c.timingInfo.start=c[O0(o.type)].start;else{const y=this.getCurrentMediaInfo_(),w=this.loaderType_==="main"&&y&&y.hasVideo;let R;w&&(R=c.videoTimingInfo.start),c.timingInfo.start=this.trueSegmentStart_({currentStart:c.timingInfo.start,playlist:c.playlist,mediaIndex:c.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:w,firstVideoFrameTimeForData:R,videoTimingInfo:c.videoTimingInfo,audioTimingInfo:c.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(c,o.type),this.updateSourceBufferTimestampOffset_(c),c.isSyncRequest){this.updateTimingInfoEnd_(c),this.syncController_.saveSegmentTimingInfo({segmentInfo:c,shouldSaveTimelineMapping:this.loaderType_==="main"});const y=this.chooseNextRequest_();if(y.mediaIndex!==c.mediaIndex||y.partIndex!==c.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}c.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(c,o)}}updateAppendInitSegmentStatus(t,o){this.loaderType_==="main"&&typeof t.timestampOffset=="number"&&!t.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[o]!==t.playlist&&(this.appendInitSegment_[o]=!0)}getInitSegmentAndUpdateState_({type:t,initSegment:o,map:c,playlist:y}){if(c){const w=Nc(c);if(this.activeInitSegmentId_===w)return null;o=this.initSegmentForMap(c,!0).bytes,this.activeInitSegmentId_=w}return o&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=y,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,o):null}handleQuotaExceededError_({segmentInfo:t,type:o,bytes:c},y){const w=this.sourceUpdater_.audioBuffered(),R=this.sourceUpdater_.videoBuffered();w.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Qu(w).join(", ")),R.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Qu(R).join(", "));const G=w.length?w.start(0):0,ue=w.length?w.end(w.length-1):0,Te=R.length?R.start(0):0,Ke=R.length?R.end(R.length-1):0;if(ue-G<=jh&&Ke-Te<=jh){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${c.byteLength}, audio buffer: ${Qu(w).join(", ")}, video buffer: ${Qu(R).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:t,type:o,bytes:c}));const sr=this.currentTime_()-jh;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${sr}`),this.remove(0,sr,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${jh}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=P().setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},jh*1e3)},!0)}handleAppendError_({segmentInfo:t,type:o,bytes:c},y){if(y){if(y.code===Ph){this.handleQuotaExceededError_({segmentInfo:t,type:o,bytes:c});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",y),this.error({message:`${o} append of ${c.length}b failed for segment #${t.mediaIndex} in playlist ${t.playlist.id}`,metadata:{errorType:Ot.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:t,type:o,initSegment:c,data:y,bytes:w}){if(!w){const G=[y];let ue=y.byteLength;c&&(G.unshift(c),ue+=c.byteLength),w=Bm({bytes:ue,segments:G})}const R={segmentInfo:Kf({type:this.loaderType_,segment:t})};this.trigger({type:"segmentappendstart",metadata:R}),this.sourceUpdater_.appendBuffer({segmentInfo:t,type:o,bytes:w},this.handleAppendError_.bind(this,{segmentInfo:t,type:o,bytes:w}))}handleSegmentTimingInfo_(t,o,c){if(!this.pendingSegment_||o!==this.pendingSegment_.requestId)return;const y=this.pendingSegment_.segment,w=`${t}TimingInfo`;y[w]||(y[w]={}),y[w].transmuxerPrependedSeconds=c.prependedContentDuration||0,y[w].transmuxedPresentationStart=c.start.presentation,y[w].transmuxedDecodeStart=c.start.decode,y[w].transmuxedPresentationEnd=c.end.presentation,y[w].transmuxedDecodeEnd=c.end.decode,y[w].baseMediaDecodeTime=c.baseMediaDecodeTime}appendData_(t,o){const{type:c,data:y}=o;if(!y||!y.byteLength||c==="audio"&&this.audioDisabled_)return;const w=this.getInitSegmentAndUpdateState_({type:c,initSegment:o.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:c,initSegment:w,data:y})}loadSegment_(t){if(this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),typeof t.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){Ff(this),this.loadQueue_.push(()=>{const o=W({},t,{forceTimestampOffset:!0});W(t,this.generateSegmentInfo_(o)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(t)});return}this.updateTransmuxerAndRequestSegment_(t)}updateTransmuxerAndRequestSegment_(t){this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));const o=this.createSimplifiedSegmentObj_(t),c=this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex),y=this.mediaIndex!==null,w=t.timeline!==this.currentTimeline_&&t.timeline>0,R=c||y&&w;this.logger_(`Requesting 990${Zu(t.uri)} 991${gh(t)}`),o.map&&!o.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),t.abortRequests=Mm({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:o,abortFn:this.handleAbort_.bind(this,t),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",t.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",t.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:R,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:G,level:ue,stream:Te})=>{this.logger_(`${gh(t)} logged from transmuxer stream ${Te} as a ${ue}: ${G}`)},triggerSegmentEventFn:({type:G,segment:ue,keyInfo:Te,trackInfo:Ke,timingInfo:St})=>{const wr={segmentInfo:Kf({segment:ue})};Te&&(wr.keyInfo=Te),Ke&&(wr.trackInfo=Ke),St&&(wr.timingInfo=St),this.trigger({type:G,metadata:wr})}})}trimBackBuffer_(t){const o=Qm(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);o>0&&this.remove(0,o)}createSimplifiedSegmentObj_(t){const o=t.segment,c=t.part,y=t.segment.key||t.segment.map&&t.segment.map.key,w=t.segment.map&&!t.segment.map.bytes,R={resolvedUri:c?c.resolvedUri:o.resolvedUri,byterange:c?c.byterange:o.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,part:t.part,type:this.loaderType_,start:t.startOfSegment,duration:t.duration,isEncrypted:y,isMediaInitialization:w},G=t.playlist.segments[t.mediaIndex-1];if(G&&G.timeline===o.timeline&&(G.videoTimingInfo?R.baseStartTime=G.videoTimingInfo.transmuxedDecodeEnd:G.audioTimingInfo&&(R.baseStartTime=G.audioTimingInfo.transmuxedDecodeEnd)),o.key){const ue=o.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);R.key=this.segmentKey(o.key),R.key.iv=ue}return o.map&&(R.map=this.initSegmentForMap(o.map)),R}saveTransferStats_(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)}saveBandwidthRelatedStats_(t,o){if(this.pendingSegment_.byteLength=o.bytesReceived,t<xf){this.logger_(`Ignoring segment's bandwidth because its duration of ${t} is less than the min to record ${xf}`);return}const c={bandwidthInfo:{from:this.bandwidth,to:o.bandwidth}};this.trigger({type:"bandwidthupdated",metadata:c}),this.bandwidth=o.bandwidth,this.roundTrip=o.roundTripTime}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(t,o,c){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,o,c));return}if(this.saveTransferStats_(o.stats),!this.pendingSegment_||o.requestId!==this.pendingSegment_.requestId)return;if(t){if(this.pendingSegment_=null,this.state="READY",t.code===Jd.ABORTED)return;if(this.pause(),t.code===Jd.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(t),this.trigger("error");return}const y=this.pendingSegment_;this.saveBandwidthRelatedStats_(y.duration,o.stats),y.endOfAllRequests=o.endOfAllRequests,c.gopInfo&&(this.gopBuffer_=Gm(this.gopBuffer_,c.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(y)}setTimeMapping_(t){const o=this.syncController_.mappingForTimeline(t);o!==null&&(this.timeMapping_=o)}updateMediaSecondsLoaded_(t){typeof t.start=="number"&&typeof t.end=="number"?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration}shouldUpdateTransmuxerTimestampOffset_(t){return t===null?!1:this.loaderType_==="main"&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset()}trueSegmentStart_({currentStart:t,playlist:o,mediaIndex:c,firstVideoFrameTimeForData:y,currentVideoTimestampOffset:w,useVideoTimingInfo:R,videoTimingInfo:G,audioTimingInfo:ue}){if(typeof t<"u")return t;if(!R)return ue.start;const Te=o.segments[c-1];return c===0||!Te||typeof Te.start>"u"||Te.end!==y+w?y:G.start}waitForAppendsToComplete_(t){const o=this.getCurrentMediaInfo_(t);if(!o){this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),this.trigger("error");return}const{hasAudio:c,hasVideo:y,isMuxed:w}=o,R=this.loaderType_==="main"&&y,G=!this.audioDisabled_&&c&&!w;if(t.waitingOnAppends=0,!t.hasAppendedData_){!t.timingInfo&&typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),this.checkAppendsDone_(t);return}R&&t.waitingOnAppends++,G&&t.waitingOnAppends++,R&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),G&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))}checkAppendsDone_(t){this.checkForAbort_(t.requestId)||(t.waitingOnAppends--,t.waitingOnAppends===0&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(t){const o=Xm(this.loaderType_,this.getCurrentMediaInfo_(),t);return o?(this.error({message:o,playlistExclusionDuration:1/0}),this.trigger("error"),!0):!1}updateSourceBufferTimestampOffset_(t){if(t.timestampOffset===null||typeof t.timingInfo.start!="number"||t.changedTimestampOffset||this.loaderType_!=="main")return;let o=!1;t.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t.segment.videoTimingInfo,audioTimingInfo:t.segment.audioTimingInfo,timingInfo:t.timingInfo}),t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),o=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),o=!0),o&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t,audioTimingInfo:o,timingInfo:c}){return this.useDtsForTimestampOffset_?t&&typeof t.transmuxedDecodeStart=="number"?t.transmuxedDecodeStart:o&&typeof o.transmuxedDecodeStart=="number"?o.transmuxedDecodeStart:c.start:c.start}updateTimingInfoEnd_(t){t.timingInfo=t.timingInfo||{};const o=this.getMediaInfo_(),y=this.loaderType_==="main"&&o&&o.hasVideo&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;y&&(t.timingInfo.end=typeof y.end=="number"?y.end:y.start+t.duration)}handleAppendsDone_(){if(this.pendingSegment_){const ue={segmentInfo:Kf({type:this.loaderType_,segment:this.pendingSegment_})};this.trigger({type:"appendsdone",metadata:ue})}if(!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}const t=this.pendingSegment_;t.part&&t.part.syncInfo?t.part.syncInfo.markAppended():t.segment.syncInfo&&t.segment.syncInfo.markAppended(),this.updateTimingInfoEnd_(t),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:this.loaderType_==="main"});const o=eg(t,this.sourceType_);if(o&&(o.severity==="warn"?Ot.log.warn(o.message):this.logger_(o.message)),this.recordThroughput_(t),this.pendingSegment_=null,this.state="READY",t.isSyncRequest&&(this.trigger("syncinfoupdate"),!t.hasAppendedData_)){this.logger_(`Throwing away un-appended sync request ${gh(t)}`);return}this.logger_(`Appended ${gh(t)}`),this.addSegmentMetadataCue_(t),this.fetchAtBuffer_=!0,this.currentTimeline_!==t.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:t.timeline})),this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate");const c=t.segment,y=t.part,w=c.end&&this.currentTime_()-c.end>t.playlist.targetDuration*3,R=y&&y.end&&this.currentTime_()-y.end>t.playlist.partTargetDuration*3;if(w||R){this.logger_(`bad ${w?"segment":"part"} ${gh(t)}`),this.resetEverything();return}this.mediaIndex!==null&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=t.mediaIndex,this.partIndex=t.partIndex,this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex)&&this.endOfStream(),this.trigger("appended"),t.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(t){if(t.duration<xf){this.logger_(`Ignoring segment's throughput because its duration of ${t.duration} is less than the min to record ${xf}`);return}const o=this.throughput.rate,c=Date.now()-t.endOfAllRequests+1,y=Math.floor(t.byteLength/c*8*1e3);this.throughput.rate+=(y-o)/++this.throughput.count}addSegmentMetadataCue_(t){if(!this.segmentMetadataTrack_)return;const o=t.segment,c=o.start,y=o.end;if(!C0(c)||!C0(y))return;mh(c,y,this.segmentMetadataTrack_);const w=P().WebKitDataCue||P().VTTCue,R={custom:o.custom,dateTimeObject:o.dateTimeObject,dateTimeString:o.dateTimeString,programDateTime:o.programDateTime,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:c,end:y},G=JSON.stringify(R),ue=new w(c,y,G);ue.value=R,this.segmentMetadataTrack_.addCue(ue)}}function Ef(){}const R0=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toUpperCase())},tg=["video","audio"],Fp=(p,t)=>{const o=t[`${p}Buffer`];return o&&o.updating||t.queuePending[p]},rg=(p,t)=>{for(let o=0;o<t.length;o++){const c=t[o];if(c.type==="mediaSource")return null;if(c.type===p)return o}return null},vh=(p,t)=>{if(t.queue.length===0)return;let o=0,c=t.queue[o];if(c.type==="mediaSource"){!t.updating()&&t.mediaSource.readyState!=="closed"&&(t.queue.shift(),c.action(t),c.doneFn&&c.doneFn(),vh("audio",t),vh("video",t));return}if(p!=="mediaSource"&&!(!t.ready()||t.mediaSource.readyState==="closed"||Fp(p,t))){if(c.type!==p){if(o=rg(p,t.queue),o===null)return;c=t.queue[o]}if(t.queue.splice(o,1),t.queuePending[p]=c,c.action(p,t),!c.doneFn){t.queuePending[p]=null,vh(p,t);return}}},D0=(p,t)=>{const o=t[`${p}Buffer`],c=R0(p);o&&(o.removeEventListener("updateend",t[`on${c}UpdateEnd_`]),o.removeEventListener("error",t[`on${c}Error_`]),t.codecs[p]=null,t[`${p}Buffer`]=null)},Zd=(p,t)=>p&&t&&Array.prototype.indexOf.call(p.sourceBuffers,t)!==-1,Uc={appendBuffer:(p,t,o)=>(c,y)=>{const w=y[`${c}Buffer`];if(Zd(y.mediaSource,w)){y.logger_(`Appending segment ${t.mediaIndex}'s ${p.length} bytes to ${c}Buffer`);try{w.appendBuffer(p)}catch(R){y.logger_(`Error with code ${R.code} `+(R.code===Ph?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${c}Buffer`),y.queuePending[c]=null,o(R)}}},remove:(p,t)=>(o,c)=>{const y=c[`${o}Buffer`];if(Zd(c.mediaSource,y)){c.logger_(`Removing ${p} to ${t} from ${o}Buffer`);try{y.remove(p,t)}catch{c.logger_(`Remove ${p} to ${t} from ${o}Buffer failed`)}}},timestampOffset:p=>(t,o)=>{const c=o[`${t}Buffer`];Zd(o.mediaSource,c)&&(o.logger_(`Setting ${t}timestampOffset to ${p}`),c.timestampOffset=p)},callback:p=>(t,o)=>{p()},endOfStream:p=>t=>{if(t.mediaSource.readyState==="open"){t.logger_(`Calling mediaSource endOfStream(${p||""})`);try{t.mediaSource.endOfStream(p)}catch(o){Ot.log.warn("Failed to call media source endOfStream",o)}}},duration:p=>t=>{t.logger_(`Setting mediaSource duration to ${p}`);try{t.mediaSource.duration=p}catch(o){Ot.log.warn("Failed to set media source duration",o)}},abort:()=>(p,t)=>{if(t.mediaSource.readyState!=="open")return;const o=t[`${p}Buffer`];if(Zd(t.mediaSource,o)){t.logger_(`calling abort on ${p}Buffer`);try{o.abort()}catch(c){Ot.log.warn(`Failed to abort on ${p}Buffer`,c)}}},addSourceBuffer:(p,t)=>o=>{const c=R0(p),y=yt(t);o.logger_(`Adding ${p}Buffer with codec ${t} to mediaSource`);const w=o.mediaSource.addSourceBuffer(y);w.addEventListener("updateend",o[`on${c}UpdateEnd_`]),w.addEventListener("error",o[`on${c}Error_`]),o.codecs[p]=t,o[`${p}Buffer`]=w},removeSourceBuffer:p=>t=>{const o=t[`${p}Buffer`];if(D0(p,t),!!Zd(t.mediaSource,o)){t.logger_(`Removing ${p}Buffer with codec ${t.codecs[p]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(o)}catch(c){Ot.log.warn(`Failed to removeSourceBuffer ${p}Buffer`,c)}}},changeType:p=>(t,o)=>{const c=o[`${t}Buffer`],y=yt(p);if(!Zd(o.mediaSource,c))return;const w=p.substring(0,p.indexOf(".")),R=o.codecs[t];if(R.substring(0,R.indexOf("."))===w)return;const ue={codecsChangeInfo:{from:R,to:p}};o.trigger({type:"codecschange",metadata:ue}),o.logger_(`changing ${t}Buffer codec from ${R} to ${p}`);try{c.changeType(y),o.codecs[t]=p}catch(Te){ue.errorType=Ot.Error.StreamingCodecsChangeError,ue.error=Te,Te.metadata=ue,o.error_=Te,o.trigger("error"),Ot.log.warn(`Failed to changeType on ${t}Buffer`,Te)}}},jc=({type:p,sourceUpdater:t,action:o,doneFn:c,name:y})=>{t.queue.push({type:p,action:o,doneFn:c,name:y}),vh(p,t)},L0=(p,t)=>o=>{const c=t[`${p}Buffered`](),y=Ga(c);if(t.logger_(`received "updateend" event for ${p} Source Buffer: `,y),t.queuePending[p]){const w=t.queuePending[p].doneFn;t.queuePending[p]=null,w&&w(t[`${p}Error_`])}vh(p,t)};class M0 extends Ot.EventTarget{constructor(t){super(),this.mediaSource=t,this.sourceopenListener_=()=>vh("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=ws("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=L0("video",this),this.onAudioUpdateEnd_=L0("audio",this),this.onVideoError_=o=>{this.videoError_=o},this.onAudioError_=o=>{this.audioError_=o},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(t){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(t),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(t,o){jc({type:"mediaSource",sourceUpdater:this,action:Uc.addSourceBuffer(t,o),name:"addSourceBuffer"})}abort(t){jc({type:t,sourceUpdater:this,action:Uc.abort(t),name:"abort"})}removeSourceBuffer(t){if(!this.canRemoveSourceBuffer()){Ot.log.error("removeSourceBuffer is not supported!");return}jc({type:"mediaSource",sourceUpdater:this,action:Uc.removeSourceBuffer(t),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!Ot.browser.IS_FIREFOX&&P().MediaSource&&P().MediaSource.prototype&&typeof P().MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return P().SourceBuffer&&P().SourceBuffer.prototype&&typeof P().SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(t,o){if(!this.canChangeType()){Ot.log.error("changeType is not supported!");return}jc({type:t,sourceUpdater:this,action:Uc.changeType(o),name:"changeType"})}addOrChangeSourceBuffers(t){if(!t||typeof t!="object"||Object.keys(t).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(t).forEach(o=>{const c=t[o];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(o,c);this.canChangeType()&&this.changeType(o,c)})}appendBuffer(t,o){const{segmentInfo:c,type:y,bytes:w}=t;if(this.processedAppend_=!0,y==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([t,o]),this.logger_(`delayed audio append of ${w.length} until video append`);return}const R=o;if(jc({type:y,sourceUpdater:this,action:Uc.appendBuffer(w,c||{mediaIndex:-1},R),doneFn:o,name:"appendBuffer"}),y==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const G=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${G.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,G.forEach(ue=>{this.appendBuffer.apply(this,ue)})}}audioBuffered(){return Zd(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Ts()}videoBuffered(){return Zd(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Ts()}buffered(){const t=Zd(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,o=Zd(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return o&&!t?this.audioBuffered():t&&!o?this.videoBuffered():mf(this.audioBuffered(),this.videoBuffered())}setDuration(t,o=Ef){jc({type:"mediaSource",sourceUpdater:this,action:Uc.duration(t),name:"duration",doneFn:o})}endOfStream(t=null,o=Ef){typeof t!="string"&&(t=void 0),jc({type:"mediaSource",sourceUpdater:this,action:Uc.endOfStream(t),name:"endOfStream",doneFn:o})}removeAudio(t,o,c=Ef){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){c();return}jc({type:"audio",sourceUpdater:this,action:Uc.remove(t,o),doneFn:c,name:"remove"})}removeVideo(t,o,c=Ef){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){c();return}jc({type:"video",sourceUpdater:this,action:Uc.remove(t,o),doneFn:c,name:"remove"})}updating(){return!!(Fp("audio",this)||Fp("video",this))}audioTimestampOffset(t){return typeof t<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(jc({type:"audio",sourceUpdater:this,action:Uc.timestampOffset(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_}videoTimestampOffset(t){return typeof t<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==t&&(jc({type:"video",sourceUpdater:this,action:Uc.timestampOffset(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_}audioQueueCallback(t){this.audioBuffer&&jc({type:"audio",sourceUpdater:this,action:Uc.callback(t),name:"callback"})}videoQueueCallback(t){this.videoBuffer&&jc({type:"video",sourceUpdater:this,action:Uc.callback(t),name:"callback"})}dispose(){this.trigger("dispose"),tg.forEach(t=>{this.abort(t),this.canRemoveSourceBuffer()?this.removeSourceBuffer(t):this[`${t}QueueCallback`](()=>D0(t,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const k0=p=>decodeURIComponent(escape(String.fromCharCode.apply(null,p))),ng=p=>{const t=new Uint8Array(p);return Array.from(t).map(o=>o.toString(16).padStart(2,"0")).join("")},N0=new Uint8Array(` 992 993`.split("").map(p=>p.charCodeAt(0)));class ig extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class sg extends Np{constructor(t,o={}){super(t,o),this.mediaSource_=null,this.subtitlesTrack_=null,this.featuresNativeTextTracks_=t.featuresNativeTextTracks,this.loadVttJs=t.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Ts();const t=this.subtitlesTrack_.cues,o=t[0].startTime,c=t[t.length-1].startTime;return Ts([[o,c]])}initSegmentForMap(t,o=!1){if(!t)return null;const c=Nc(t);let y=this.initSegments_[c];if(o&&!y&&t.bytes){const w=N0.byteLength+t.bytes.byteLength,R=new Uint8Array(w);R.set(t.bytes),R.set(N0,t.bytes.byteLength),this.initSegments_[c]=y={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:R}}return y||t}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(t){return typeof t>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=t,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}remove(t,o){mh(t,o,this.subtitlesTrack_)}fillBuffer_(){const t=this.chooseNextRequest_();if(t){if(this.syncController_.timestampOffsetForTimeline(t.timeline)===null){const o=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};this.syncController_.one("timestampoffset",o),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(t)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(t){for(;t&&t.segment.empty;){if(t.mediaIndex+1>=t.playlist.segments.length){t=null;break}t=this.generateSegmentInfo_({playlist:t.playlist,mediaIndex:t.mediaIndex+1,startOfSegment:t.startOfSegment+t.duration,isSyncRequest:t.isSyncRequest})}return t}stopForError(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(t,o,c){if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(o.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(t){t.code===Jd.TIMEOUT&&this.handleTimeout_(),t.code===Jd.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(t);return}const y=this.pendingSegment_,w=c.mp4VttCues&&c.mp4VttCues.length;w&&(y.mp4VttCues=c.mp4VttCues),this.saveBandwidthRelatedStats_(y.duration,o.stats),o.key&&this.segmentKey(o.key,!0),this.state="APPENDING",this.trigger("appending");const R=y.segment;if(R.map&&(R.map.bytes=o.map.bytes),y.bytes=o.bytes,typeof P().WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(()=>this.segmentRequestFinished_(t,o,c),()=>this.stopForError({message:"Error loading vtt.js"}));return}R.requested=!0;try{this.parseVTTCues_(y)}catch(G){this.stopForError({message:G.message,metadata:{errorType:Ot.Error.StreamingVttParserError,error:G}});return}if(w||this.updateTimeMapping_(y,this.syncController_.timelines[y.timeline],this.playlist_),y.cues.length?y.timingInfo={start:y.cues[0].startTime,end:y.cues[y.cues.length-1].endTime}:y.timingInfo={start:y.startOfSegment,end:y.startOfSegment+y.duration},y.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}y.byteLength=y.bytes.byteLength,this.mediaSecondsLoaded+=R.duration,y.cues.forEach(G=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(P()).VTTCue(G.startTime,G.endTime,G.text):G)}),Wm(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(t,o){const c=t&&t.type==="vtt",y=o&&o.type==="text";c&&y&&super.handleData_(t,o)}updateTimingInfoEnd_(){}parseMp4VttCues_(t){const o=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();t.mp4VttCues.forEach(c=>{const y=c.start+o,w=c.end+o,R=new(P()).VTTCue(y,w,c.cueText);c.settings&&c.settings.split(" ").forEach(G=>{const ue=G.split(":"),Te=ue[0],Ke=ue[1];R[Te]=isNaN(Ke)?Ke:Number(Ke)}),t.cues.push(R)})}parseVTTCues_(t){let o,c=!1;if(typeof P().WebVTT!="function")throw new ig;if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},t.mp4VttCues){this.parseMp4VttCues_(t);return}typeof P().TextDecoder=="function"?o=new(P()).TextDecoder("utf8"):(o=P().WebVTT.StringDecoder(),c=!0);const y=new(P()).WebVTT.Parser(P(),P().vttjs,o);if(y.oncue=t.cues.push.bind(t.cues),y.ontimestampmap=R=>{t.timestampmap=R},y.onparsingerror=R=>{Ot.log.warn("Error encountered when parsing cues: "+R.message)},t.segment.map){let R=t.segment.map.bytes;c&&(R=k0(R)),y.parse(R)}let w=t.bytes;c&&(w=k0(w)),y.parse(w),y.flush()}updateTimeMapping_(t,o,c){const y=t.segment;if(!o)return;if(!t.cues.length){y.empty=!0;return}const{MPEGTS:w,LOCAL:R}=t.timestampmap,ue=w/Nr.ONE_SECOND_IN_TS-R+o.mapping;if(t.cues.forEach(Te=>{const Ke=Te.endTime-Te.startTime,St=this.handleRollover_(Te.startTime+ue,o.time);Te.startTime=Math.max(St,0),Te.endTime=Math.max(St+Ke,0)}),!c.syncInfo){const Te=t.cues[0].startTime,Ke=t.cues[t.cues.length-1].startTime;c.syncInfo={mediaSequence:c.mediaSequence+t.mediaIndex,time:Math.min(Te,Ke-y.duration)}}}handleRollover_(t,o){if(o===null)return t;let c=t*Nr.ONE_SECOND_IN_TS;const y=o*Nr.ONE_SECOND_IN_TS;let w;for(y<c?w=-8589934592:w=8589934592;Math.abs(c-y)>4294967296;)c+=w;return c/Nr.ONE_SECOND_IN_TS}}const ag=function(p,t){const o=p.cues;for(let c=0;c<o.length;c++){const y=o[c];if(t>=y.adStartTime&&t<=y.adEndTime)return y}return null},Bp=function(p,t,o=0){if(!p.segments)return;let c=o,y;for(let w=0;w<p.segments.length;w++){const R=p.segments[w];if(y||(y=ag(t,c+R.duration/2)),y){if("cueIn"in R){y.endTime=c,y.adEndTime=c,c+=R.duration,y=null;continue}if(c<y.endTime){c+=R.duration;continue}y.endTime+=R.duration}else if("cueOut"in R&&(y=new(P()).VTTCue(c,c+R.duration,R.cueOut),y.adStartTime=c,y.adEndTime=c+parseFloat(R.cueOut),t.addCue(y)),"cueOutCont"in R){const[G,ue]=R.cueOutCont.split("/").map(parseFloat);y=new(P()).VTTCue(c,c+R.duration,""),y.adStartTime=c-G,y.adEndTime=y.adStartTime+ue,t.addCue(y)}c+=R.duration}};class Up{constructor({start:t,end:o,segmentIndex:c,partIndex:y=null,appended:w=!1}){this.start_=t,this.end_=o,this.segmentIndex_=c,this.partIndex_=y,this.appended_=w}isInRange(t){return t>=this.start&&t<this.end}markAppended(){this.appended_=!0}resetAppendedStatus(){this.appended_=!1}get isAppended(){return this.appended_}get start(){return this.start_}get end(){return this.end_}get segmentIndex(){return this.segmentIndex_}get partIndex(){return this.partIndex_}}class F0{constructor(t,o=[]){this.segmentSyncInfo_=t,this.partsSyncInfo_=o}get segmentSyncInfo(){return this.segmentSyncInfo_}get partsSyncInfo(){return this.partsSyncInfo_}get hasPartsSyncInfo(){return this.partsSyncInfo_.length>0}resetAppendStatus(){this.segmentSyncInfo_.resetAppendedStatus(),this.partsSyncInfo_.forEach(t=>t.resetAppendedStatus())}}class B0{constructor(){this.storage_=new Map,this.diagnostics_="",this.isReliable_=!1,this.start_=-1/0,this.end_=1/0}get start(){return this.start_}get end(){return this.end_}get diagnostics(){return this.diagnostics_}get isReliable(){return this.isReliable_}resetAppendedStatus(){this.storage_.forEach(t=>t.resetAppendStatus())}update(t,o){const{mediaSequence:c,segments:y}=t;if(this.isReliable_=this.isReliablePlaylist_(c,y),!!this.isReliable_)return this.updateStorage_(y,c,this.calculateBaseTime_(c,y,o))}getSyncInfoForTime(t){for(const{segmentSyncInfo:o,partsSyncInfo:c}of this.storage_.values())if(c.length){for(const y of c)if(y.isInRange(t))return y}else if(o.isInRange(t))return o;return null}getSyncInfoForMediaSequence(t){return this.storage_.get(t)}updateStorage_(t,o,c){const y=new Map;let w=` 994`,R=c,G=o;this.start_=R,t.forEach((ue,Te)=>{const Ke=this.storage_.get(G),St=R,sr=St+ue.duration,wr=!!(Ke&&Ke.segmentSyncInfo&&Ke.segmentSyncInfo.isAppended),Vr=new Up({start:St,end:sr,appended:wr,segmentIndex:Te});ue.syncInfo=Vr;let _t=R;const On=(ue.parts||[]).map((Tn,gn)=>{const en=_t,Fn=_t+Tn.duration,Pn=!!(Ke&&Ke.partsSyncInfo&&Ke.partsSyncInfo[gn]&&Ke.partsSyncInfo[gn].isAppended),bi=new Up({start:en,end:Fn,appended:Pn,segmentIndex:Te,partIndex:gn});return _t=Fn,w+=`Media Sequence: ${G}.${gn} | Range: ${en} --> ${Fn} | Appended: ${Pn} 995`,Tn.syncInfo=bi,bi});y.set(G,new F0(Vr,On)),w+=`${Zu(ue.resolvedUri)} | Media Sequence: ${G} | Range: ${St} --> ${sr} | Appended: ${wr} 996`,G++,R=sr}),this.end_=R,this.storage_=y,this.diagnostics_=w}calculateBaseTime_(t,o,c){if(!this.storage_.size)return 0;if(this.storage_.has(t))return this.storage_.get(t).segmentSyncInfo.start;const y=Math.min(...this.storage_.keys());if(t<y){const w=y-t;let R=this.storage_.get(y).segmentSyncInfo.start;for(let G=0;G<w;G++){const ue=o[G];R-=ue.duration}return R}return c}isReliablePlaylist_(t,o){return t!=null&&Array.isArray(o)&&o.length}}class U0 extends B0{constructor(t){super(),this.parent_=t}calculateBaseTime_(t,o,c){if(!this.storage_.size){const y=this.parent_.getSyncInfoForMediaSequence(t);return y?y.segmentSyncInfo.start:0}return super.calculateBaseTime_(t,o,c)}}const og=86400,zh=[{name:"VOD",run:(p,t,o,c,y)=>o!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(p,t,o,c,y,w)=>{const R=p.getMediaSequenceSync(w);if(!R||!R.isReliable)return null;const G=R.getSyncInfoForTime(y);return G?{time:G.start,partIndex:G.partIndex,segmentIndex:G.segmentIndex}:null}},{name:"ProgramDateTime",run:(p,t,o,c,y)=>{if(!Object.keys(p.timelineToDatetimeMappings).length)return null;let w=null,R=null;const G=Ad(t);y=y||0;for(let ue=0;ue<G.length;ue++){const Te=t.endList||y===0?ue:G.length-(ue+1),Ke=G[Te],St=Ke.segment,sr=p.timelineToDatetimeMappings[St.timeline];if(!sr||!St.dateTimeObject)continue;let Vr=St.dateTimeObject.getTime()/1e3+sr;if(St.parts&&typeof Ke.partIndex=="number")for(let On=0;On<Ke.partIndex;On++)Vr+=St.parts[On].duration;const _t=Math.abs(y-Vr);if(R!==null&&(_t===0||R<_t))break;R=_t,w={time:Vr,segmentIndex:Ke.segmentIndex,partIndex:Ke.partIndex}}return w}},{name:"Segment",run:(p,t,o,c,y)=>{let w=null,R=null;y=y||0;const G=Ad(t);for(let ue=0;ue<G.length;ue++){const Te=t.endList||y===0?ue:G.length-(ue+1),Ke=G[Te],St=Ke.segment,sr=Ke.part&&Ke.part.start||St&&St.start;if(St.timeline===c&&typeof sr<"u"){const wr=Math.abs(y-sr);if(R!==null&&R<wr)break;(!w||R===null||R>=wr)&&(R=wr,w={time:sr,segmentIndex:Ke.segmentIndex,partIndex:Ke.partIndex})}}return w}},{name:"Discontinuity",run:(p,t,o,c,y)=>{let w=null;if(y=y||0,t.discontinuityStarts&&t.discontinuityStarts.length){let R=null;for(let G=0;G<t.discontinuityStarts.length;G++){const ue=t.discontinuityStarts[G],Te=t.discontinuitySequence+G+1,Ke=p.discontinuities[Te];if(Ke){const St=Math.abs(y-Ke.time);if(R!==null&&R<St)break;(!w||R===null||R>=St)&&(R=St,w={time:Ke.time,segmentIndex:ue,partIndex:null})}}}return w}},{name:"Playlist",run:(p,t,o,c,y)=>t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}];class ug extends Ot.EventTarget{constructor(t={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const o=new B0,c=new U0(o),y=new U0(o);this.mediaSequenceStorage_={main:o,audio:c,vtt:y},this.logger_=ws("SyncController")}getMediaSequenceSync(t){return this.mediaSequenceStorage_[t]||null}getSyncPoint(t,o,c,y,w){if(o!==1/0)return zh.find(({name:ue})=>ue==="VOD").run(this,t,o);const R=this.runStrategies_(t,o,c,y,w);if(!R.length)return null;for(const G of R){const{syncPoint:ue,strategy:Te}=G,{segmentIndex:Ke,time:St}=ue;if(Ke<0)continue;const sr=t.segments[Ke],wr=St,Vr=wr+sr.duration;if(this.logger_(`Strategy: ${Te}. Current time: ${y}. selected segment: ${Ke}. Time: [${wr} -> ${Vr}]}`),y>=wr&&y<Vr)return this.logger_("Found sync point with exact match: ",ue),ue}return this.selectSyncPoint_(R,{key:"time",value:y})}getExpiredTime(t,o){if(!t||!t.segments)return null;const c=this.runStrategies_(t,o,t.discontinuitySequence,0);if(!c.length)return null;const y=this.selectSyncPoint_(c,{key:"segmentIndex",value:0});return y.segmentIndex>0&&(y.time*=-1),Math.abs(y.time+fo({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:y.segmentIndex,endIndex:0}))}runStrategies_(t,o,c,y,w){const R=[];for(let G=0;G<zh.length;G++){const ue=zh[G],Te=ue.run(this,t,o,c,y,w);Te&&(Te.strategy=ue.name,R.push({strategy:ue.name,syncPoint:Te}))}return R}selectSyncPoint_(t,o){let c=t[0].syncPoint,y=Math.abs(t[0].syncPoint[o.key]-o.value),w=t[0].strategy;for(let R=1;R<t.length;R++){const G=Math.abs(t[R].syncPoint[o.key]-o.value);G<y&&(y=G,c=t[R].syncPoint,w=t[R].strategy)}return this.logger_(`syncPoint for [${o.key}: ${o.value}] chosen with strategy [${w}]: [time:${c.time}, segmentIndex:${c.segmentIndex}`+(typeof c.partIndex=="number"?`,partIndex:${c.partIndex}`:"")+"]"),c}saveExpiredSegmentInfo(t,o){const c=o.mediaSequence-t.mediaSequence;if(c>og){Ot.log.warn(`Not saving expired segment info. Media sequence gap ${c} is too large.`);return}for(let y=c-1;y>=0;y--){const w=t.segments[y];if(w&&typeof w.start<"u"){o.syncInfo={mediaSequence:t.mediaSequence+y,time:w.start},this.logger_(`playlist refresh sync: [time:${o.syncInfo.time}, mediaSequence: ${o.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(t){if(this.timelineToDatetimeMappings={},t.segments&&t.segments.length&&t.segments[0].dateTimeObject){const o=t.segments[0],c=o.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[o.timeline]=-c}}saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:o}){const c=this.calculateSegmentTimeMapping_(t,t.timingInfo,o),y=t.segment;c&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:y.start}));const w=y.dateTimeObject;y.discontinuity&&o&&w&&(this.timelineToDatetimeMappings[y.timeline]=-(w.getTime()/1e3))}timestampOffsetForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].time}mappingForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].mapping}calculateSegmentTimeMapping_(t,o,c){const y=t.segment,w=t.part;let R=this.timelines[t.timeline],G,ue;if(typeof t.timestampOffset=="number")R={time:t.startOfSegment,mapping:t.startOfSegment-o.start},c&&(this.timelines[t.timeline]=R,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${t.timeline}: [time: ${R.time}] [mapping: ${R.mapping}]`)),G=t.startOfSegment,ue=o.end+R.mapping;else if(R)G=o.start+R.mapping,ue=o.end+R.mapping;else return!1;return w&&(w.start=G,w.end=ue),(!y.start||G<y.start)&&(y.start=G),y.end=ue,!0}saveDiscontinuitySyncInfo_(t){const o=t.playlist,c=t.segment;if(c.discontinuity)this.discontinuities[c.timeline]={time:c.start,accuracy:0};else if(o.discontinuityStarts&&o.discontinuityStarts.length)for(let y=0;y<o.discontinuityStarts.length;y++){const w=o.discontinuityStarts[y],R=o.discontinuitySequence+y+1,G=w-t.mediaIndex,ue=Math.abs(G);if(!this.discontinuities[R]||this.discontinuities[R].accuracy>ue){let Te;G<0?Te=c.start-fo({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex,endIndex:w}):Te=c.end+fo({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex+1,endIndex:w}),this.discontinuities[R]={time:Te,accuracy:ue}}}}dispose(){this.trigger("dispose"),this.off()}}class lg extends Ot.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:t,from:o,to:c}){return typeof o=="number"&&typeof c=="number"&&(this.pendingTimelineChanges_[t]={type:t,from:o,to:c},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]}lastTimelineChange({type:t,from:o,to:c}){if(typeof o=="number"&&typeof c=="number"){this.lastTimelineChanges_[t]={type:t,from:o,to:c},delete this.pendingTimelineChanges_[t];const y={timelineChangeInfo:{from:o,to:c}};this.trigger({type:"timelinechange",metadata:y})}return this.lastTimelineChanges_[t]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const cg=f0(h0(function(){var p=(function(){function _t(){this.listeners={}}var On=_t.prototype;return On.on=function(gn,en){this.listeners[gn]||(this.listeners[gn]=[]),this.listeners[gn].push(en)},On.off=function(gn,en){if(!this.listeners[gn])return!1;var Fn=this.listeners[gn].indexOf(en);return this.listeners[gn]=this.listeners[gn].slice(0),this.listeners[gn].splice(Fn,1),Fn>-1},On.trigger=function(gn){var en=this.listeners[gn];if(en)if(arguments.length===2)for(var Fn=en.length,Pn=0;Pn<Fn;++Pn)en[Pn].call(this,arguments[1]);else for(var bi=Array.prototype.slice.call(arguments,1),Vn=en.length,Oi=0;Oi<Vn;++Oi)en[Oi].apply(this,bi)},On.dispose=function(){this.listeners={}},On.pipe=function(gn){this.on("data",function(en){gn.push(en)})},_t})();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function t(_t){return _t.subarray(0,_t.byteLength-_t[_t.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const o=function(){const _t=[[[],[],[],[],[]],[[],[],[],[],[]]],On=_t[0],Tn=_t[1],gn=On[4],en=Tn[4];let Fn,Pn,bi;const Vn=[],Oi=[];let ha,go,Ko,_o,Vs,Js;for(Fn=0;Fn<256;Fn++)Oi[(Vn[Fn]=Fn<<1^(Fn>>7)*283)^Fn]=Fn;for(Pn=bi=0;!gn[Pn];Pn^=ha||1,bi=Oi[bi]||1)for(_o=bi^bi<<1^bi<<2^bi<<3^bi<<4,_o=_o>>8^_o&255^99,gn[Pn]=_o,en[_o]=Pn,Ko=Vn[go=Vn[ha=Vn[Pn]]],Js=Ko*16843009^go*65537^ha*257^Pn*16843008,Vs=Vn[_o]*257^_o*16843008,Fn=0;Fn<4;Fn++)On[Fn][Pn]=Vs=Vs<<24^Vs>>>8,Tn[Fn][_o]=Js=Js<<24^Js>>>8;for(Fn=0;Fn<5;Fn++)On[Fn]=On[Fn].slice(0),Tn[Fn]=Tn[Fn].slice(0);return _t};let c=null;class y{constructor(On){c||(c=o()),this._tables=[[c[0][0].slice(),c[0][1].slice(),c[0][2].slice(),c[0][3].slice(),c[0][4].slice()],[c[1][0].slice(),c[1][1].slice(),c[1][2].slice(),c[1][3].slice(),c[1][4].slice()]];let Tn,gn,en;const Fn=this._tables[0][4],Pn=this._tables[1],bi=On.length;let Vn=1;if(bi!==4&&bi!==6&&bi!==8)throw new Error("Invalid aes key size");const Oi=On.slice(0),ha=[];for(this._key=[Oi,ha],Tn=bi;Tn<4*bi+28;Tn++)en=Oi[Tn-1],(Tn%bi===0||bi===8&&Tn%bi===4)&&(en=Fn[en>>>24]<<24^Fn[en>>16&255]<<16^Fn[en>>8&255]<<8^Fn[en&255],Tn%bi===0&&(en=en<<8^en>>>24^Vn<<24,Vn=Vn<<1^(Vn>>7)*283)),Oi[Tn]=Oi[Tn-bi]^en;for(gn=0;Tn;gn++,Tn--)en=Oi[gn&3?Tn:Tn-4],Tn<=4||gn<4?ha[gn]=en:ha[gn]=Pn[0][Fn[en>>>24]]^Pn[1][Fn[en>>16&255]]^Pn[2][Fn[en>>8&255]]^Pn[3][Fn[en&255]]}decrypt(On,Tn,gn,en,Fn,Pn){const bi=this._key[1];let Vn=On^bi[0],Oi=en^bi[1],ha=gn^bi[2],go=Tn^bi[3],Ko,_o,Vs;const Js=bi.length/4-2;let Ao,xo=4;const gl=this._tables[1],uc=gl[0],ef=gl[1],ld=gl[2],tf=gl[3],rf=gl[4];for(Ao=0;Ao<Js;Ao++)Ko=uc[Vn>>>24]^ef[Oi>>16&255]^ld[ha>>8&255]^tf[go&255]^bi[xo],_o=uc[Oi>>>24]^ef[ha>>16&255]^ld[go>>8&255]^tf[Vn&255]^bi[xo+1],Vs=uc[ha>>>24]^ef[go>>16&255]^ld[Vn>>8&255]^tf[Oi&255]^bi[xo+2],go=uc[go>>>24]^ef[Vn>>16&255]^ld[Oi>>8&255]^tf[ha&255]^bi[xo+3],xo+=4,Vn=Ko,Oi=_o,ha=Vs;for(Ao=0;Ao<4;Ao++)Fn[(3&-Ao)+Pn]=rf[Vn>>>24]<<24^rf[Oi>>16&255]<<16^rf[ha>>8&255]<<8^rf[go&255]^bi[xo++],Ko=Vn,Vn=Oi,Oi=ha,ha=go,go=Ko}}class w extends p{constructor(){super(p),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(On){this.jobs.push(On),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const R=function(_t){return _t<<24|(_t&65280)<<8|(_t&16711680)>>8|_t>>>24},G=function(_t,On,Tn){const gn=new Int32Array(_t.buffer,_t.byteOffset,_t.byteLength>>2),en=new y(Array.prototype.slice.call(On)),Fn=new Uint8Array(_t.byteLength),Pn=new Int32Array(Fn.buffer);let bi,Vn,Oi,ha,go,Ko,_o,Vs,Js;for(bi=Tn[0],Vn=Tn[1],Oi=Tn[2],ha=Tn[3],Js=0;Js<gn.length;Js+=4)go=R(gn[Js]),Ko=R(gn[Js+1]),_o=R(gn[Js+2]),Vs=R(gn[Js+3]),en.decrypt(go,Ko,_o,Vs,Pn,Js),Pn[Js]=R(Pn[Js]^bi),Pn[Js+1]=R(Pn[Js+1]^Vn),Pn[Js+2]=R(Pn[Js+2]^Oi),Pn[Js+3]=R(Pn[Js+3]^ha),bi=go,Vn=Ko,Oi=_o,ha=Vs;return Fn};class ue{constructor(On,Tn,gn,en){const Fn=ue.STEP,Pn=new Int32Array(On.buffer),bi=new Uint8Array(On.byteLength);let Vn=0;for(this.asyncStream_=new w,this.asyncStream_.push(this.decryptChunk_(Pn.subarray(Vn,Vn+Fn),Tn,gn,bi)),Vn=Fn;Vn<Pn.length;Vn+=Fn)gn=new Uint32Array([R(Pn[Vn-4]),R(Pn[Vn-3]),R(Pn[Vn-2]),R(Pn[Vn-1])]),this.asyncStream_.push(this.decryptChunk_(Pn.subarray(Vn,Vn+Fn),Tn,gn,bi));this.asyncStream_.push(function(){en(null,t(bi))})}static get STEP(){return 32e3}decryptChunk_(On,Tn,gn,en){return function(){const Fn=G(On,Tn,gn);en.set(Fn,On.byteOffset)}}}var Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Ke;typeof window<"u"?Ke=window:typeof Te<"u"?Ke=Te:typeof self<"u"?Ke=self:Ke={};var St=Ke,sr=function(On){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(On):On&&On.buffer instanceof ArrayBuffer},wr=St.BigInt||Number;wr("0x1"),wr("0x100"),wr("0x10000"),wr("0x1000000"),wr("0x100000000"),wr("0x10000000000"),wr("0x1000000000000"),wr("0x100000000000000"),wr("0x10000000000000000"),(function(){var _t=new Uint16Array([65484]),On=new Uint8Array(_t.buffer,_t.byteOffset,_t.byteLength);return On[0]===255?"big":On[0]===204?"little":"unknown"})();const Vr=function(_t){const On={};return Object.keys(_t).forEach(Tn=>{const gn=_t[Tn];sr(gn)?On[Tn]={bytes:gn.buffer,byteOffset:gn.byteOffset,byteLength:gn.byteLength}:On[Tn]=gn}),On};self.onmessage=function(_t){const On=_t.data,Tn=new Uint8Array(On.encrypted.bytes,On.encrypted.byteOffset,On.encrypted.byteLength),gn=new Uint32Array(On.key.bytes,On.key.byteOffset,On.key.byteLength/4),en=new Uint32Array(On.iv.bytes,On.iv.byteOffset,On.iv.byteLength/4);new ue(Tn,gn,en,function(Fn,Pn){self.postMessage(Vr({source:On.source,decrypted:Pn}),[Pn.buffer])})}}));var wc=Rp(cg);const jp=p=>{let t=p.default?"main":"alternative";return p.characteristics&&p.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},j0=(p,t)=>{p.abort(),p.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},zp=(p,t)=>{t.activePlaylistLoader=p,p.load()},dg=(p,t)=>()=>{const{segmentLoaders:{[p]:o,main:c},mediaTypes:{[p]:y}}=t,w=y.activeTrack(),R=y.getActiveGroup(),G=y.activePlaylistLoader,ue=y.lastGroup_;if(!(R&&ue&&R.id===ue.id)&&(y.lastGroup_=R,y.lastTrack_=w,j0(o,y),!(!R||R.isMainPlaylist))){if(!R.playlistLoader){G&&c.resetEverything();return}o.resyncLoader(),zp(R.playlistLoader,y)}},fg=(p,t)=>()=>{const{segmentLoaders:{[p]:o},mediaTypes:{[p]:c}}=t;c.lastGroup_=null,o.abort(),o.pause()},$p=(p,t)=>()=>{const{mainPlaylistLoader:o,segmentLoaders:{[p]:c,main:y},mediaTypes:{[p]:w}}=t,R=w.activeTrack(),G=w.getActiveGroup(),ue=w.activePlaylistLoader,Te=w.lastTrack_;if(!(Te&&R&&Te.id===R.id)&&(w.lastGroup_=G,w.lastTrack_=R,j0(c,w),!!G)){if(G.isMainPlaylist){if(!R||!Te||R.id===Te.id)return;const Ke=t.vhs.playlistController_,St=Ke.selectPlaylist();if(Ke.media()===St)return;w.logger_(`track change. Switching main audio from ${Te.id} to ${R.id}`),o.pause(),y.resetEverything(),Ke.fastQualityChange_(St);return}if(p==="AUDIO"){if(!G.playlistLoader){y.setAudio(!0),y.resetEverything();return}c.setAudio(!0),y.setAudio(!1)}if(ue===G.playlistLoader){zp(G.playlistLoader,w);return}c.track&&c.track(R),c.resetEverything(),zp(G.playlistLoader,w)}},pp={AUDIO:(p,t)=>()=>{const{mediaTypes:{[p]:o},excludePlaylist:c}=t,y=o.activeTrack(),w=o.activeGroup(),R=(w.filter(ue=>ue.default)[0]||w[0]).id,G=o.tracks[R];if(y===G){c({error:{message:"Problem encountered loading the default audio track."}});return}Ot.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const ue in o.tracks)o.tracks[ue].enabled=o.tracks[ue]===G;o.onTrackChanged()},SUBTITLES:(p,t)=>()=>{const{mediaTypes:{[p]:o}}=t;Ot.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const c=o.activeTrack();c&&(c.mode="disabled"),o.onTrackChanged()}},mp={AUDIO:(p,t,o)=>{if(!t)return;const{tech:c,requestOptions:y,segmentLoaders:{[p]:w}}=o;t.on("loadedmetadata",()=>{const R=t.media();w.playlist(R,y),(!c.paused()||R.endList&&c.preload()!=="none")&&w.load()}),t.on("loadedplaylist",()=>{w.playlist(t.media(),y),c.paused()||w.load()}),t.on("error",pp[p](p,o))},SUBTITLES:(p,t,o)=>{const{tech:c,requestOptions:y,segmentLoaders:{[p]:w},mediaTypes:{[p]:R}}=o;t.on("loadedmetadata",()=>{const G=t.media();w.playlist(G,y),w.track(R.activeTrack()),(!c.paused()||G.endList&&c.preload()!=="none")&&w.load()}),t.on("loadedplaylist",()=>{w.playlist(t.media(),y),c.paused()||w.load()}),t.on("error",pp[p](p,o))}},hg={AUDIO:(p,t)=>{const{vhs:o,sourceType:c,segmentLoaders:{[p]:y},requestOptions:w,main:{mediaGroups:R},mediaTypes:{[p]:{groups:G,tracks:ue,logger_:Te}},mainPlaylistLoader:Ke}=t,St=kf(Ke.main);(!R[p]||Object.keys(R[p]).length===0)&&(R[p]={main:{default:{default:!0}}},St&&(R[p].main.default.playlists=Ke.main.playlists));for(const sr in R[p]){G[sr]||(G[sr]=[]);for(const wr in R[p][sr]){let Vr=R[p][sr][wr],_t;if(St?(Te(`AUDIO group '${sr}' label '${wr}' is a main playlist`),Vr.isMainPlaylist=!0,_t=null):c==="vhs-json"&&Vr.playlists?_t=new Nf(Vr.playlists[0],o,w):Vr.resolvedUri?_t=new Nf(Vr.resolvedUri,o,w):Vr.playlists&&c==="dash"?_t=new Zo(Vr.playlists[0],o,w,Ke):_t=null,Vr=ts({id:wr,playlistLoader:_t},Vr),mp[p](p,Vr.playlistLoader,t),G[sr].push(Vr),typeof ue[wr]>"u"){const On=new Ot.AudioTrack({id:wr,kind:jp(Vr),enabled:!1,language:Vr.language,default:Vr.default,label:wr});ue[wr]=On}}}y.on("error",pp[p](p,t))},SUBTITLES:(p,t)=>{const{tech:o,vhs:c,sourceType:y,segmentLoaders:{[p]:w},requestOptions:R,main:{mediaGroups:G},mediaTypes:{[p]:{groups:ue,tracks:Te}},mainPlaylistLoader:Ke}=t;for(const St in G[p]){ue[St]||(ue[St]=[]);for(const sr in G[p][St]){if(!c.options_.useForcedSubtitles&&G[p][St][sr].forced)continue;let wr=G[p][St][sr],Vr;if(y==="hls")Vr=new Nf(wr.resolvedUri,c,R);else if(y==="dash"){if(!wr.playlists.filter(On=>On.excludeUntil!==1/0).length)return;Vr=new Zo(wr.playlists[0],c,R,Ke)}else y==="vhs-json"&&(Vr=new Nf(wr.playlists?wr.playlists[0]:wr.resolvedUri,c,R));if(wr=ts({id:sr,playlistLoader:Vr},wr),mp[p](p,wr.playlistLoader,t),ue[St].push(wr),typeof Te[sr]>"u"){const _t=o.addRemoteTextTrack({id:sr,kind:"subtitles",default:wr.default&&wr.autoselect,language:wr.language,label:sr},!1).track;Te[sr]=_t}}}w.on("error",pp[p](p,t))},"CLOSED-CAPTIONS":(p,t)=>{const{tech:o,main:{mediaGroups:c},mediaTypes:{[p]:{groups:y,tracks:w}}}=t;for(const R in c[p]){y[R]||(y[R]=[]);for(const G in c[p][R]){const ue=c[p][R][G];if(!/^(?:CC|SERVICE)/.test(ue.instreamId))continue;const Te=o.options_.vhs&&o.options_.vhs.captionServices||{};let Ke={label:G,language:ue.language,instreamId:ue.instreamId,default:ue.default&&ue.autoselect};if(Te[Ke.instreamId]&&(Ke=ts(Ke,Te[Ke.instreamId])),Ke.default===void 0&&delete Ke.default,y[R].push(ts({id:G},ue)),typeof w[G]>"u"){const St=o.addRemoteTextTrack({id:Ke.instreamId,kind:"captions",default:Ke.default,language:Ke.language,label:Ke.label},!1).track;w[G]=St}}}}},z0=(p,t)=>{for(let o=0;o<p.length;o++)if(Id(t,p[o])||p[o].playlists&&z0(p[o].playlists,t))return!0;return!1},pg=(p,t)=>o=>{const{mainPlaylistLoader:c,mediaTypes:{[p]:{groups:y}}}=t,w=c.media();if(!w)return null;let R=null;w.attributes[p]&&(R=y[w.attributes[p]]);const G=Object.keys(y);if(!R)if(p==="AUDIO"&&G.length>1&&kf(t.main))for(let ue=0;ue<G.length;ue++){const Te=y[G[ue]];if(z0(Te,w)){R=Te;break}}else y.main?R=y.main:G.length===1&&(R=y[G[0]]);return typeof o>"u"?R:o===null||!R?null:R.filter(ue=>ue.id===o.id)[0]||null},mg={AUDIO:(p,t)=>()=>{const{mediaTypes:{[p]:{tracks:o}}}=t;for(const c in o)if(o[c].enabled)return o[c];return null},SUBTITLES:(p,t)=>()=>{const{mediaTypes:{[p]:{tracks:o}}}=t;for(const c in o)if(o[c].mode==="showing"||o[c].mode==="hidden")return o[c];return null}},$0=(p,{mediaTypes:t})=>()=>{const o=t[p].activeTrack();return o?t[p].activeGroup(o):null},gg=p=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(Te=>{hg[Te](Te,p)});const{mediaTypes:t,mainPlaylistLoader:o,tech:c,vhs:y,segmentLoaders:{["AUDIO"]:w,main:R}}=p;["AUDIO","SUBTITLES"].forEach(Te=>{t[Te].activeGroup=pg(Te,p),t[Te].activeTrack=mg[Te](Te,p),t[Te].onGroupChanged=dg(Te,p),t[Te].onGroupChanging=fg(Te,p),t[Te].onTrackChanged=$p(Te,p),t[Te].getActiveGroup=$0(Te,p)});const G=t.AUDIO.activeGroup();if(G){const Te=(G.filter(St=>St.default)[0]||G[0]).id;t.AUDIO.tracks[Te].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(R.setAudio(!1),w.setAudio(!0)):R.setAudio(!0)}o.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(Te=>t[Te].onGroupChanged())}),o.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(Te=>t[Te].onGroupChanging())});const ue=()=>{t.AUDIO.onTrackChanged(),c.trigger({type:"usage",name:"vhs-audio-change"})};c.audioTracks().addEventListener("change",ue),c.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),y.on("dispose",()=>{c.audioTracks().removeEventListener("change",ue),c.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)}),c.clearTracks("audio");for(const Te in t.AUDIO.tracks)c.audioTracks().addTrack(t.AUDIO.tracks[Te])},vg=()=>{const p={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{p[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Ef,activeTrack:Ef,getActiveGroup:Ef,onGroupChanged:Ef,onTrackChanged:Ef,lastTrack_:null,logger_:ws(`MediaGroups[${t}]`)}}),p};class H0{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(t){t===1&&(this.version_=t)}set ttl(t){this.ttl_=t||300}set reloadUri(t){t&&(this.reloadUri_=Ji(this.reloadUri_,t))}set priority(t){t&&t.length&&(this.priority_=t)}set pathwayClones(t){t&&t.length&&(this.pathwayClones_=new Map(t.map(o=>[o.ID,o])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class Hp extends Ot.EventTarget{constructor(t,o){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new H0,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=ws("Content Steering"),this.xhr_=t,this.getBandwidth_=o}assignTagProperties(t,o){this.manifestType_=o.serverUri?"HLS":"DASH";const c=o.serverUri||o.serverURL;if(!c){this.logger_(`steering manifest URL is ${c}
996, cannot request steering manifest.`),this.trigger("error");return}if(c.startsWith("data:")){this.decodeDataUriManifest_(c.substring(c.indexOf(",")+1));return}this.steeringManifest.reloadUri=Ji(t,c),this.defaultPathway=o.pathwayId||o.defaultServiceLocation,this.queryBeforeStart=o.queryBeforeStart,this.proxyServerUrl_=o.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(t){const o=this.steeringManifest.reloadUri;if(!o)return;const c=t?o:this.getRequestURI(o);if(!c){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const y={contentSteeringInfo:{uri:c}};this.trigger({type:"contentsteeringloadstart",metadata:y}),this.request_=this.xhr_({uri:c,requestType:"content-steering-manifest"},(w,R)=>{if(w){if(R.status===410){this.logger_(`manifest request 410 ${w}.`),this.logger_(`There will be no more content steering requests to ${c} this session.`),this.excludedSteeringManifestURLs.add(c);return}if(R.status===429){const Te=R.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${w}.`),this.logger_(`content steering will retry in ${Te} seconds.`),this.startTTLTimeout_(parseInt(Te,10));return}this.logger_(`manifest failed to load ${w}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:y});let G;try{G=JSON.parse(this.request_.responseText)}catch(Te){const Ke={errorType:Ot.Error.StreamingContentSteeringParserError,error:Te};this.trigger({type:"error",metadata:Ke})}this.assignSteeringProperties_(G);const ue={contentSteeringInfo:y.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:ue}),this.startTTLTimeout_()})}setProxyServerUrl_(t){const o=new(P()).URL(t),c=new(P()).URL(this.proxyServerUrl_);return c.searchParams.set("url",encodeURI(o.toString())),this.setSteeringParams_(c.toString())}decodeDataUriManifest_(t){const o=JSON.parse(P().atob(t));this.assignSteeringProperties_(o)}setSteeringParams_(t){const o=new(P()).URL(t),c=this.getPathway(),y=this.getBandwidth_();if(c){const w=`_${this.manifestType_}_pathway`;o.searchParams.set(w,c)}if(y){const w=`_${this.manifestType_}_throughput`;o.searchParams.set(w,y)}return o.toString()}assignSteeringProperties_(t){if(this.steeringManifest.version=t.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${t.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=t.TTL,this.steeringManifest.reloadUri=t["RELOAD-URI"],this.steeringManifest.priority=t["PATHWAY-PRIORITY"]||t["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=t["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const c=(y=>{for(const w of y)if(this.availablePathways_.has(w))return w;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==c&&(this.currentPathway=c,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(t){if(!t)return null;const o=y=>this.excludedSteeringManifestURLs.has(y);if(this.proxyServerUrl_){const y=this.setProxyServerUrl_(t);if(!o(y))return y}const c=this.setSteeringParams_(t);return o(c)?null:c}startTTLTimeout_(t=this.steeringManifest.ttl){const o=t*1e3;this.ttlTimeout_=P().setTimeout(()=>{this.requestSteeringManifest()},o)}clearTTLTimeout_(){P().clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new H0}addAvailablePathway(t){t&&this.availablePathways_.add(t)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(t){return this.availablePathways_.delete(t)}didDASHTagChange(t,o){return!o&&this.steeringManifest.reloadUri||o&&(Ji(t,o.serverURL)!==this.steeringManifest.reloadUri||o.defaultServiceLocation!==this.defaultPathway||o.queryBeforeStart!==this.queryBeforeStart||o.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const Wp=(p,t)=>{let o=null;return(...c)=>{clearTimeout(o),o=setTimeout(()=>{p.apply(null,c)},t)}},yg=10;let Tf;const bg=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],Sg=function(p){return this.audioSegmentLoader_[p]+this.mainSegmentLoader_[p]},xg=function({currentPlaylist:p,buffered:t,currentTime:o,nextPlaylist:c,bufferLowWaterLine:y,bufferHighWaterLine:w,duration:R,bufferBasedABR:G,log:ue}){if(!c)return Ot.log.warn("We received no playlist to switch to. Please check your stream."),!1;const Te=`allowing switch ${p&&p.id||"null"} -> ${c.id}`;if(!p)return ue(`${Te} as current playlist is not set`),!0;if(c.id===p.id)return!1;const Ke=!!Ya(t,o).length;if(!p.endList)return!Ke&&typeof p.partTargetDuration=="number"?(ue(`not ${Te} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(ue(`${Te} as current playlist is live`),!0);const St=sc(t,o),sr=G?Du.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Du.MAX_BUFFER_LOW_WATER_LINE;if(R<sr)return ue(`${Te} as duration < max low water line (${R} < ${sr})`),!0;const wr=c.attributes.BANDWIDTH,Vr=p.attributes.BANDWIDTH;if(wr<Vr&&(!G||St<w)){let _t=`${Te} as next bandwidth < current bandwidth (${wr} < ${Vr})`;return G&&(_t+=` and forwardBuffer < bufferHighWaterLine (${St} < ${w})`),ue(_t),!0}if((!G||wr>Vr)&&St>=y){let _t=`${Te} as forwardBuffer >= bufferLowWaterLine (${St} >= ${y})`;return G&&(_t+=` and next bandwidth > current bandwidth (${wr} > ${Vr})`),ue(_t),!0}return ue(`not ${Te} as no switching criteria met`),!1};class Eg extends Ot.EventTarget{constructor(t){super(),this.fastQualityChange_=Wp(this.fastQualityChange_.bind(this),100);const{src:o,withCredentials:c,tech:y,bandwidth:w,externVhs:R,useCueTags:G,playlistExclusionDuration:ue,enableLowInitialPlaylist:Te,sourceType:Ke,cac
vendor: 58,194 bytes, line 996
996heEncryptionKeys:St,bufferBasedABR:sr,leastPixelDiffSelector:wr,captionServices:Vr,experimentalUseMMS:_t}=t;if(!o)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:On}=t;(On===null||typeof On>"u")&&(On=1/0),Tf=R,this.bufferBasedABR=!!sr,this.leastPixelDiffSelector=!!wr,this.withCredentials=c,this.tech_=y,this.vhs_=y.vhs,this.player_=t.player_,this.sourceType_=Ke,this.useCueTags_=G,this.playlistExclusionDuration=ue,this.maxPlaylistRetries=On,this.enableLowInitialPlaylist=Te,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:c,maxPlaylistRetries:On,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=vg(),_t&&P().ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new(P()).ManagedMediaSource,this.usingManagedMediaSource_=!0,Ot.log("Using ManagedMediaSource")):P().MediaSource&&(this.mediaSource=new(P()).MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.load=this.load.bind(this),this.pause=this.pause.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.mediaSource.addEventListener("startstreaming",this.load),this.mediaSource.addEventListener("endstreaming",this.pause),this.seekable_=Ts(),this.hasPlayed_=!1,this.syncController_=new ug(t),this.segmentMetadataTrack_=y.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.segmentMetadataTrack_.mode="hidden",this.decrypter_=new wc,this.sourceUpdater_=new M0(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new lg,this.keyStatusMap_=new Map;const Tn={vhs:this.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:Vr,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:w,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:St,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:t.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new Zo(o,this.vhs_,ts(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new Nf(o,this.vhs_,ts(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Np(ts(Tn,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),t),this.audioSegmentLoader_=new Np(ts(Tn,{loaderType:"audio"}),t),this.subtitleSegmentLoader_=new sg(ts(Tn,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((Fn,Pn)=>{function bi(){y.off("vttjserror",Vn),Fn()}function Vn(){y.off("vttjsloaded",bi),Pn()}y.one("vttjsloaded",bi),y.one("vttjserror",Vn),y.addWebVttScript_()})}),t);const gn=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new Hp(this.vhs_.xhr,gn),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),bg.forEach(Fn=>{this[Fn+"_"]=Sg.bind(this,Fn)}),this.logger_=ws("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const en=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(en,()=>{const Fn=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-Fn,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const t=this.mainAppendsToLoadedData_(),o=this.audioAppendsToLoadedData_();return t===-1||o===-1?-1:t+o}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(t="abr"){const o=this.selectPlaylist();o&&this.shouldSwitchToMedia_(o)&&this.switchMedia_(o,t)}switchMedia_(t,o,c){const y=this.media(),w=y&&(y.id||y.uri),R=t&&(t.id||t.uri);if(w&&w!==R){this.logger_(`switch media ${w} -> ${R} from ${o}`);const G={renditionInfo:{id:R,bandwidth:t.attributes.BANDWIDTH,resolution:t.attributes.RESOLUTION,codecs:t.attributes.CODECS},cause:o};this.trigger({type:"renditionselected",metadata:G}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${o}`})}this.mainPlaylistLoader_.media(t,c)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{const o=this.mediaTypes_[t],c=o?o.activeGroup():null,y=this.contentSteeringController_.getPathway();if(c&&y){const R=(c.length?c[0].playlists:c.playlists).filter(G=>G.attributes.serviceLocation===y);R.length&&this.mediaTypes_[t].activePlaylistLoader.media(R[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=P().setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(P().clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const t=this.main(),o=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return o;const c=t.mediaGroups.AUDIO,y=Object.keys(c);let w;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)w=this.mediaTypes_.AUDIO.activeTrack();else{const G=c.main||y.length&&c[y[0]];for(const ue in G)if(G[ue].default){w={label:ue};break}}if(!w)return o;const R=[];for(const G in c)if(c[G][w.label]){const ue=c[G][w.label];if(ue.playlists&&ue.playlists.length)R.push.apply(R,ue.playlists);else if(ue.uri)R.push(ue);else if(t.playlists.length)for(let Te=0;Te<t.playlists.length;Te++){const Ke=t.playlists[Te];Ke.attributes&&Ke.attributes.AUDIO&&Ke.attributes.AUDIO===G&&R.push(Ke)}}return R.length?R:o}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const o=this.mainPlaylistLoader_.media(),c=o.targetDuration*1.5*1e3;Oh(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=c,o.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(o,this.requestOptions_),this.mainSegmentLoader_.load()),gg({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),o),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let o=this.mainPlaylistLoader_.media();if(!o){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let c;if(this.enableLowInitialPlaylist&&(c=this.selectInitialPlaylist()),c||(c=this.selectPlaylist()),!c||!this.shouldSwitchToMedia_(c)||(this.initialMedia_=c,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;o=this.initialMedia_}this.handleUpdatedMediaPlaylist(o)}),this.mainPlaylistLoader_.on("error",()=>{const o=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:o.playlist,error:o})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const o=this.mainPlaylistLoader_.media(),c=o.targetDuration*1.5*1e3;Oh(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=c,this.sourceType_==="dash"&&this.mainPlaylistLoader_.isPaused&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(o,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const o=this.mainPlaylistLoader_.media();if(o.lastExcludeReason_==="playlist-unchanged")return;this.stuckAtPlaylistEnd_(o)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(o=>{this.mainPlaylistLoader_.on(o,c=>{this.player_.trigger(W({},c))})})}handleUpdatedMediaPlaylist(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(t,o){const c=t.mediaGroups||{};let y=!0;const w=Object.keys(c.AUDIO);for(const R in c.AUDIO)for(const G in c.AUDIO[R])c.AUDIO[R][G].uri||(y=!1);y&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(c.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),Tf.Playlist.isAes(o)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),w.length&&Object.keys(c.AUDIO[w[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(t){const o=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,c=this.tech_.currentTime(),y=this.bufferLowWaterLine(),w=this.bufferHighWaterLine(),R=this.tech_.buffered();return xg({buffered:R,currentTime:c,currentPlaylist:o,nextPlaylist:t,bufferLowWaterLine:y,bufferHighWaterLine:w,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const c=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:c.playlist,error:c})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const c=this.audioSegmentLoader_.pendingSegment_;if(!c||!c.segment||!c.segment.syncInfo)return;const y=c.segment.syncInfo.end+.01;this.tech_.setCurrentTime(y)}),this.timelineChangeController_.on("fixBadTimelineChange",()=>{this.logger_("Fix bad timeline change. Restarting al segment loaders..."),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}),this.mainSegmentLoader_.on("earlyabort",c=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:yg}))});const t=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const c=this.getCodecsOrExclude_();c&&this.sourceUpdater_.addOrChangeSourceBuffers(c)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(c=>{this.mainSegmentLoader_.on(c,y=>{this.player_.trigger(W({},y))}),this.audioSegmentLoader_.on(c,y=>{this.player_.trigger(W({},y))}),this.subtitleSegmentLoader_.on(c,y=>{this.player_.trigger(W({},y))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}pause(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}fastQualityChange_(t=this.selectPlaylist()){if(t&&t===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(t,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const t=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0))return this.tech_.setCurrentTime(t.end(t.length-1))}setupFirstPlay(){const t=this.mainPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList||t.start){const o=this.seekable();if(!o.length)return!1;const c=o.end(0);let y=c;if(t.start){const w=t.start.timeOffset;if(w<0){const R=this.mainPlaylistLoader_.main,G=Tf.Playlist.liveEdgeDelay(R,t),ue=c+G;y=Math.max(Math.min(ue+w,c),o.start(0))}else y=Math.min(c,w)}this.trigger("firstplay"),this.tech_.setCurrentTime(y)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const t=this.tech_.play();typeof t<"u"&&typeof t.then=="function"&&t.then(null,o=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const t=this.inbandTextTracks_.metadataTrack_.cues;if(!t||!t.length)return;const o=this.duration();t[t.length-1].endTime=isNaN(o)||Math.abs(o)===1/0?Number.MAX_VALUE:o}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let t=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const o=this.mainSegmentLoader_.getCurrentMediaInfo_();!o||o.hasVideo?t=t&&this.audioSegmentLoader_.ended_:t=this.audioSegmentLoader_.ended_}t&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(t){if(!this.seekable().length)return!1;const c=this.syncController_.getExpiredTime(t,this.duration());if(c===null)return!1;const y=Tf.Playlist.playlistEnd(t,c),w=this.tech_.currentTime(),R=this.tech_.buffered();if(!R.length)return y-w<=Ka;const G=R.end(R.length-1);return G-w<=Ka&&y-G<=Ka}excludePlaylist({playlistToExclude:t=this.mainPlaylistLoader_.media(),error:o={},playlistExclusionDuration:c}){if(t=t||this.mainPlaylistLoader_.media(),c=c||o.playlistExclusionDuration||this.playlistExclusionDuration,!t){this.error=o,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}t.playlistErrors_++;const y=this.mainPlaylistLoader_.main.playlists,w=y.filter(Kd),R=w.length===1&&w[0]===t;if(y.length===1&&c!==1/0)return Ot.log.warn(`Problem encountered with playlist ${t.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(R);if(R){if(this.main().contentSteering){const Vr=this.pathwayAttribute_(t),_t=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(Vr),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(Vr)},_t);return}let wr=!1;y.forEach(Vr=>{if(Vr===t)return;const _t=Vr.excludeUntil;typeof _t<"u"&&_t!==1/0&&(wr=!0,delete Vr.excludeUntil)}),wr&&(Ot.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let G;t.playlistErrors_>this.maxPlaylistRetries?G=1/0:G=Date.now()+c*1e3,t.excludeUntil=G,o.reason&&(t.lastExcludeReason_=o.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const ue=this.selectPlaylist();if(!ue){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const Te=o.internal?this.logger_:Ot.log.warn,Ke=o.message?" "+o.message:"";Te(`${o.internal?"Internal problem":"Problem"} encountered with playlist ${t.id}.${Ke} Switching to playlist ${ue.id}.`),ue.attributes.AUDIO!==t.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),ue.attributes.SUBTITLES!==t.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const St=ue.targetDuration/2*1e3||5*1e3,sr=typeof ue.lastRequest=="number"&&Date.now()-ue.lastRequest<=St;return this.switchMedia_(ue,"exclude",R||sr)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(t,o){const c=[],y=t==="all";(y||t==="main")&&c.push(this.mainPlaylistLoader_);const w=[];(y||t==="audio")&&w.push("AUDIO"),(y||t==="subtitle")&&(w.push("CLOSED-CAPTIONS"),w.push("SUBTITLES")),w.forEach(R=>{const G=this.mediaTypes_[R]&&this.mediaTypes_[R].activePlaylistLoader;G&&c.push(G)}),["main","audio","subtitle"].forEach(R=>{const G=this[`${R}SegmentLoader_`];G&&(t===R||t==="all")&&c.push(G)}),c.forEach(R=>o.forEach(G=>{typeof R[G]=="function"&&R[G]()}))}setCurrentTime(t){const o=Ya(this.tech_.buffered(),t);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(o&&o.length)return t;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const t=this.mainPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:Tf.Playlist.duration(t):1/0:0}seekable(){return this.seekable_}getSeekableRange_(t,o){const c=t.media();if(!c)return null;const y=this.syncController_.getMediaSequenceSync(o);if(y&&y.isReliable){const G=y.start,ue=y.end;if(!isFinite(G)||!isFinite(ue))return null;const Te=Tf.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c),Ke=Math.max(G,ue-Te);return Ts([[G,Ke]])}const w=this.syncController_.getExpiredTime(c,this.duration());if(w===null)return null;const R=Tf.Playlist.seekable(c,w,Tf.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c));return R.length?R:null}computeFinalSeekable_(t,o){if(!o)return t;const c=t.start(0),y=t.end(0),w=o.start(0),R=o.end(0);return w>y||c>R?t:Ts([[Math.max(c,w),Math.min(y,R)]])}onSyncInfoUpdate_(){if(!this.mainPlaylistLoader_)return;const t=this.getSeekableRange_(this.mainPlaylistLoader_,"main");if(!t)return;let o;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(o=this.getSeekableRange_(this.mediaTypes_.AUDIO.activePlaylistLoader,"audio"),!o))return;const c=this.seekable_;if(this.seekable_=this.computeFinalSeekable_(t,o),!this.seekable_||c&&c.length&&this.seekable_.length&&c.start(0)===this.seekable_.start(0)&&c.end(0)===this.seekable_.end(0))return;this.logger_(`seekable updated [${kc(this.seekable_)}]`);const y={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:y}),this.tech_.trigger("seekablechanged")}updateDuration(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,t),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(t){const y=this.seekable();if(!y.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<y.end(y.length-1))&&this.sourceUpdater_.setDuration(y.end(y.length-1));return}const o=this.tech_.buffered();let c=Tf.Playlist.duration(this.mainPlaylistLoader_.media());o.length>0&&(c=Math.max(c,o.end(o.length-1))),this.mediaSource.duration!==c&&this.sourceUpdater_.setDuration(c)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(t=>{const o=this.mediaTypes_[t].groups;for(const c in o)o[c].forEach(y=>{y.playlistLoader&&y.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const t=!!this.mediaTypes_.AUDIO.activePlaylistLoader,o=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),c=t?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!o||!c)}getCodecsOrExclude_(){const t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},o=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();t.video=t.main;const c=Wf(this.main(),o),y={},w=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(y.video=c.video||t.main.videoCodec||Er),t.main.isMuxed&&(y.video+=`,${c.audio||t.main.audioCodec||Mr}`),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||w)&&(y.audio=c.audio||t.main.audioCodec||t.audio.audioCodec||Mr,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),!y.audio&&!y.video){this.excludePlaylist({playlistToExclude:o,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const R=(Te,Ke)=>Te?tt(Ke,this.usingManagedMediaSource_):Ar(Ke),G={};let ue;if(["video","audio"].forEach(function(Te){if(y.hasOwnProperty(Te)&&!R(t[Te].isFmp4,y[Te])){const Ke=t[Te].isFmp4?"browser":"muxer";G[Ke]=G[Ke]||[],G[Ke].push(y[Te]),Te==="audio"&&(ue=Ke)}}),w&&ue&&o.attributes.AUDIO){const Te=o.attributes.AUDIO;this.main().playlists.forEach(Ke=>{(Ke.attributes&&Ke.attributes.AUDIO)===Te&&Ke!==o&&(Ke.excludeUntil=1/0)}),this.logger_(`excluding audio group ${Te} as ${ue} does not support codec(s): "${y.audio}"`)}if(Object.keys(G).length){const Te=Object.keys(G).reduce((Ke,St)=>(Ke&&(Ke+=", "),Ke+=`${St} does not support codec(s): "${G[St].join(",")}"`,Ke),"")+".";this.excludePlaylist({playlistToExclude:o,error:{internal:!0,message:Te},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const Te=[];if(["video","audio"].forEach(Ke=>{const St=(Sr(this.sourceUpdater_.codecs[Ke]||"")[0]||{}).type,sr=(Sr(y[Ke]||"")[0]||{}).type;St&&sr&&St.toLowerCase()!==sr.toLowerCase()&&Te.push(`"${this.sourceUpdater_.codecs[Ke]}" -> "${y[Ke]}"`)}),Te.length){this.excludePlaylist({playlistToExclude:o,error:{message:`Codec switching not supported: ${Te.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return y}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const t=this.getCodecsOrExclude_();if(!t)return;this.sourceUpdater_.createSourceBuffers(t);const o=[t.video,t.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(o)}excludeUnsupportedVariants_(){const t=this.main().playlists,o=[];Object.keys(t).forEach(c=>{const y=t[c];if(o.indexOf(y.id)!==-1)return;o.push(y.id);const w=Wf(this.main,y),R=[];w.audio&&!Ar(w.audio)&&!tt(w.audio,this.usingManagedMediaSource_)&&R.push(`audio codec ${w.audio}`),w.video&&!Ar(w.video)&&!tt(w.video,this.usingManagedMediaSource_)&&R.push(`video codec ${w.video}`),w.text&&w.text==="stpp.ttml.im1t"&&R.push(`text codec ${w.text}`),R.length&&(y.excludeUntil=1/0,this.logger_(`excluding ${y.id} for unsupported: ${R.join(", ")}`))})}excludeIncompatibleVariants_(t){const o=[],c=this.main().playlists,y=Hf(Sr(t)),w=qh(y),R=y.video&&Sr(y.video)[0]||null,G=y.audio&&Sr(y.audio)[0]||null;Object.keys(c).forEach(ue=>{const Te=c[ue];if(o.indexOf(Te.id)!==-1||Te.excludeUntil===1/0)return;o.push(Te.id);const Ke=[],St=Wf(this.mainPlaylistLoader_.main,Te),sr=qh(St);if(!(!St.audio&&!St.video)){if(sr!==w&&Ke.push(`codec count "${sr}" !== "${w}"`),!this.sourceUpdater_.canChangeType()){const wr=St.video&&Sr(St.video)[0]||null,Vr=St.audio&&Sr(St.audio)[0]||null;wr&&R&&wr.type.toLowerCase()!==R.type.toLowerCase()&&Ke.push(`video codec "${wr.type}" !== "${R.type}"`),Vr&&G&&Vr.type.toLowerCase()!==G.type.toLowerCase()&&Ke.push(`audio codec "${Vr.type}" !== "${G.type}"`)}Ke.length&&(Te.excludeUntil=1/0,this.logger_(`excluding ${Te.id}: ${Ke.join(" && ")}`))}})}updateAdCues_(t){let o=0;const c=this.seekable();c.length&&(o=c.start(0)),Bp(t,this.cueTagsTrack_,o)}goalBufferLength(){const t=this.tech_.currentTime(),o=Du.GOAL_BUFFER_LENGTH,c=Du.GOAL_BUFFER_LENGTH_RATE,y=Math.max(o,Du.MAX_GOAL_BUFFER_LENGTH);return Math.min(o+t*c,y)}bufferLowWaterLine(){const t=this.tech_.currentTime(),o=Du.BUFFER_LOW_WATER_LINE,c=Du.BUFFER_LOW_WATER_LINE_RATE,y=Math.max(o,Du.MAX_BUFFER_LOW_WATER_LINE),w=Math.max(o,Du.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(o+t*c,this.bufferBasedABR?w:y)}bufferHighWaterLine(){return Du.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(t){w0(this.inbandTextTracks_,"com.apple.streaming",this.tech_),Hm({inbandTextTracks:this.inbandTextTracks_,dateRanges:t})}addMetadataToTextTrack(t,o,c){const y=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();w0(this.inbandTextTracks_,t,this.tech_),zm({inbandTextTracks:this.inbandTextTracks_,metadataArray:o,timestampOffset:y,videoDuration:c})}pathwayAttribute_(t){return t.attributes["PATHWAY-ID"]||t.attributes.serviceLocation}initContentSteeringController_(){const t=this.main();if(t.contentSteering){for(const o of t.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(o));if(this.contentSteeringController_.assignTagProperties(t.uri,t.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(o=>{this.contentSteeringController_.on(o,c=>{this.trigger(W({},c))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const o=this.main();(this.contentSteeringController_.didDASHTagChange(o.uri,o.contentSteering)||(()=>{const w=this.contentSteeringController_.getAvailablePathways(),R=[];for(const G of o.playlists){const ue=G.attributes.serviceLocation;if(ue&&(R.push(ue),!w.has(ue)))return!0}return!!(!R.length&&w.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const t=this.contentSteeringController_.getPathway();if(!t)return;this.handlePathwayClones_();const c=this.main().playlists,y=new Set;let w=!1;Object.keys(c).forEach(R=>{const G=c[R],ue=this.pathwayAttribute_(G),Te=ue&&t!==ue;G.excludeUntil===1/0&&G.lastExcludeReason_==="content-steering"&&!Te&&(delete G.excludeUntil,delete G.lastExcludeReason_,w=!0);const St=!G.excludeUntil&&G.excludeUntil!==1/0;!y.has(G.id)&&Te&&St&&(y.add(G.id),G.excludeUntil=1/0,G.lastExcludeReason_="content-steering",this.logger_(`excluding ${G.id} for ${G.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(R=>{const G=this.mediaTypes_[R];if(G.activePlaylistLoader){const ue=G.activePlaylistLoader.media_;ue&&ue.attributes.serviceLocation!==t&&(w=!0)}}),w&&this.changeSegmentPathway_()}handlePathwayClones_(){const o=this.main().playlists,c=this.contentSteeringController_.currentPathwayClones,y=this.contentSteeringController_.nextPathwayClones;if(c&&c.size||y&&y.size){for(const[R,G]of c.entries())y.get(R)||(this.mainPlaylistLoader_.updateOrDeleteClone(G),this.contentSteeringController_.excludePathway(R));for(const[R,G]of y.entries()){const ue=c.get(R);if(!ue){o.filter(Ke=>Ke.attributes["PATHWAY-ID"]===G["BASE-ID"]).forEach(Ke=>{this.mainPlaylistLoader_.addClonePathway(G,Ke)}),this.contentSteeringController_.addAvailablePathway(R);continue}this.equalPathwayClones_(ue,G)||(this.mainPlaylistLoader_.updateOrDeleteClone(G,!0),this.contentSteeringController_.addAvailablePathway(R))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...y])))}}equalPathwayClones_(t,o){if(t["BASE-ID"]!==o["BASE-ID"]||t.ID!==o.ID||t["URI-REPLACEMENT"].HOST!==o["URI-REPLACEMENT"].HOST)return!1;const c=t["URI-REPLACEMENT"].PARAMS,y=o["URI-REPLACEMENT"].PARAMS;for(const w in c)if(c[w]!==y[w])return!1;for(const w in y)if(c[w]!==y[w])return!1;return!0}changeSegmentPathway_(){const t=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(t,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let t=0;const o="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(c=>{const y=this.mainPlaylistLoader_.getKeyIdSet(c);!y||!y.size||y.forEach(w=>{const R="usable",G=this.keyStatusMap_.has(w)&&this.keyStatusMap_.get(w)===R,ue=c.lastExcludeReason_===o&&c.excludeUntil===1/0;G?G&&ue&&(delete c.excludeUntil,delete c.lastExcludeReason_,this.logger_(`enabling playlist ${c.id} because key ID ${w} is ${R}`)):(c.excludeUntil!==1/0&&c.lastExcludeReason_!==o&&(c.excludeUntil=1/0,c.lastExcludeReason_=o,this.logger_(`excluding playlist ${c.id} because the key ID ${w} doesn't exist in the keyStatusMap or is not ${R}`)),t++)})}),t>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(c=>{const y=c&&c.attributes&&c.attributes.RESOLUTION&&c.attributes.RESOLUTION.height<720,w=c.excludeUntil===1/0&&c.lastExcludeReason_===o;y&&w&&(delete c.excludeUntil,Ot.log.warn(`enabling non-HD playlist ${c.id} because all playlists were excluded due to ${o} key IDs`))})}addKeyStatus_(t,o){const w=(typeof t=="string"?t:ng(t)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${o}' with key ID ${w} added to the keyStatusMap`),this.keyStatusMap_.set(w,o)}updatePlaylistByKeyStatus(t,o){this.addKeyStatus_(t,o),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const Tg=(p,t,o)=>c=>{const y=p.main.playlists[t],w=$f(y),R=Kd(y);if(typeof c>"u")return R;c?delete y.disabled:y.disabled=!0;const G={renditionInfo:{id:t,bandwidth:y.attributes.BANDWIDTH,resolution:y.attributes.RESOLUTION,codecs:y.attributes.CODECS},cause:"fast-quality"};return c!==R&&!w&&(c?(o(y),p.trigger({type:"renditionenabled",metadata:G})):p.trigger({type:"renditiondisabled",metadata:G})),c};class wg{constructor(t,o,c){const{playlistController_:y}=t,w=y.fastQualityChange_.bind(y);if(o.attributes){const R=o.attributes.RESOLUTION;this.width=R&&R.width,this.height=R&&R.height,this.bandwidth=o.attributes.BANDWIDTH,this.frameRate=o.attributes["FRAME-RATE"]}this.codecs=Wf(y.main(),o),this.playlist=o,this.id=c,this.enabled=Tg(t.playlists,o.id,w)}}const _g=function(p){p.representations=()=>{const t=p.playlistController_.main(),o=kf(t)?p.playlistController_.getAudioTrackPlaylists_():t.playlists;return o?o.filter(c=>!$f(c)).map((c,y)=>new wg(p,c,c.id)):[]}},W0=["seeking","seeked","pause","playing","error"];class Ag extends Ot.EventTarget{constructor(t){super(),this.playlistController_=t.playlistController,this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=t.liveRangeSafeTimeDelta,this.media=t.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=ws("PlaybackWatcher"),this.logger_("initialize");const o=()=>this.monitorCurrentTime_(),c=()=>this.monitorCurrentTime_(),y=()=>this.techWaiting_(),w=()=>this.resetTimeUpdate_(),R=this.playlistController_,G=["main","subtitle","audio"],ue={};G.forEach(Ke=>{ue[Ke]={reset:()=>this.resetSegmentDownloads_(Ke),updateend:()=>this.checkSegmentDownloads_(Ke)},R[`${Ke}SegmentLoader_`].on("appendsdone",ue[Ke].updateend),R[`${Ke}SegmentLoader_`].on("playlistupdate",ue[Ke].reset),this.tech_.on(["seeked","seeking"],ue[Ke].reset)});const Te=Ke=>{["main","audio"].forEach(St=>{R[`${St}SegmentLoader_`][Ke]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),Te("off"))},this.clearSeekingAppendCheck_=()=>Te("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),Te("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",y),this.tech_.on(W0,w),this.tech_.on("canplay",c),this.tech_.one("play",o),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",y),this.tech_.off(W0,w),this.tech_.off("canplay",c),this.tech_.off("play",o),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),G.forEach(Ke=>{R[`${Ke}SegmentLoader_`].off("appendsdone",ue[Ke].updateend),R[`${Ke}SegmentLoader_`].off("playlistupdate",ue[Ke].reset),this.tech_.off(["seeked","seeking"],ue[Ke].reset)}),this.checkCurrentTimeTimeout_&&P().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&P().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=P().setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(t){const o=this.playlistController_[`${t}SegmentLoader_`];this[`${t}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${t} loader`),this[`${t}StalledDownloads_`]=0,this[`${t}Buffered_`]=o.buffered_()}checkSegmentDownloads_(t){const o=this.playlistController_,c=o[`${t}SegmentLoader_`],y=c.buffered_(),w=Vl(this[`${t}Buffered_`],y);if(this[`${t}Buffered_`]=y,w){const R={bufferedRanges:y};o.trigger({type:"bufferedrangeschanged",metadata:R}),this.resetSegmentDownloads_(t);return}this[`${t}StalledDownloads_`]++,this.logger_(`found #${this[`${t}StalledDownloads_`]} ${t} appends that did not increase buffer (possible stalled download)`,{playlistId:c.playlist_&&c.playlist_.id,buffered:Qu(y)}),!(this[`${t}StalledDownloads_`]<10)&&(this.logger_(`${t} loader stalled download exclusion`),this.resetSegmentDownloads_(t),this.tech_.trigger({type:"usage",name:`vhs-${t}-download-exclusion`}),t!=="subtitle"&&o.excludePlaylist({error:{message:`Excessive ${t} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const t=this.tech_.currentTime(),o=this.tech_.buffered();if(this.lastRecordedTime===t&&(!o.length||t+Ka>=o.end(o.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&t===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(t===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(Ts([this.lastRecordedTime,t]));const c={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:c}),this.consecutiveUpdates=0,this.lastRecordedTime=t}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const o=this.seekable(),c=this.tech_.currentTime(),y=this.afterSeekableWindow_(o,c,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let w;if(y&&(w=o.end(o.length-1)),this.beforeSeekableWindow_(o,c)){const Vr=o.start(0);w=Vr+(Vr===o.end(0)?0:Ka)}if(typeof w<"u")return this.logger_(`Trying to seek outside of seekable at time ${c} with seekable range ${kc(o)}. Seeking to ${w}.`),this.tech_.setCurrentTime(w),!0;const R=this.playlistController_.sourceUpdater_,G=this.tech_.buffered(),ue=R.audioBuffer?R.audioBuffered():null,Te=R.videoBuffer?R.videoBuffered():null,Ke=this.media(),St=Ke.partTargetDuration?Ke.partTargetDuration:(Ke.targetDuration-_a)*2,sr=[ue,Te];for(let Vr=0;Vr<sr.length;Vr++){if(!sr[Vr])continue;if(sc(sr[Vr],c)<St)return!1}const wr=Ru(G,c);return wr.length===0?!1:(w=wr.start(0)+Ka,this.logger_(`Buffered region starts (${wr.start(0)}) just beyond seek point (${c}). Seeking to ${w}.`),this.tech_.setCurrentTime(w),!0)}waiting_(){if(this.techWaiting_())return;const t=this.tech_.currentTime(),o=this.tech_.buffered(),c=Ya(o,t);if(c.length&&t+3<=c.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.logger_(`Stopped at ${t} while inside a buffered region [${c.start(0)} -> ${c.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const t=this.seekable(),o=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(t,o)){const G=t.end(t.length-1);return this.logger_(`Fell out of live window at time ${o}. Seeking to live point (seekable end) ${G}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(G),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const c=this.tech_.vhs.playlistController_.sourceUpdater_,y=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:c.audioBuffered(),videoBuffered:c.videoBuffered(),currentTime:o}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(o),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const R=Ru(y,o);return R.length>0?(this.logger_(`Stopped at ${o} and seeking to ${R.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(o),!0):!1}afterSeekableWindow_(t,o,c,y=!1){if(!t.length)return!1;let w=t.end(t.length-1)+Ka;const R=!c.endList,G=typeof c.partTargetDuration=="number";return R&&(G||y)&&(w=t.end(t.length-1)+c.targetDuration*3),o>w}beforeSeekableWindow_(t,o){return!!(t.length&&t.start(0)>0&&o<t.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:t,audioBuffered:o,currentTime:c}){if(!t)return;let y;if(t.length&&o.length){const w=Ya(t,c-3),R=Ya(t,c),G=Ya(o,c);G.length&&!R.length&&w.length&&(y={start:w.end(0),end:G.end(0)})}else Ru(t,c).length||(y=this.gapFromVideoUnderflow_(t,c));return y?(this.logger_(`Encountered a gap in video from ${y.start} to ${y.end}. Seeking to current time ${c}`),!0):!1}skipTheGap_(t){const o=this.tech_.buffered(),c=this.tech_.currentTime(),y=Ru(o,c);if(this.resetTimeUpdate_(),y.length===0||c!==t)return;this.logger_("skipTheGap_:","currentTime:",c,"scheduled currentTime:",t,"nextRange start:",y.start(0)),this.tech_.setCurrentTime(y.start(0)+_a);const w={gapInfo:{from:c,to:y.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:w}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(t,o){const c=pl(t);for(let y=0;y<c.length;y++){const w=c.start(y),R=c.end(y);if(o-w<4&&o-w>2)return{start:w,end:R}}return null}}const Cg={errorInterval:30,getSource(p){const o=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return p(o)}},V0=function(p,t){let o=0,c=0;const y=ts(Cg,t);p.ready(()=>{p.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const w=function(){c&&p.currentTime(c)},R=function(Ke){Ke!=null&&(c=p.duration()!==1/0&&p.currentTime()||0,p.one("loadedmetadata",w),p.src(Ke),p.trigger({type:"usage",name:"vhs-error-reload"}),p.play())},G=function(){if(Date.now()-o<y.errorInterval*1e3){p.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!y.getSource||typeof y.getSource!="function"){Ot.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return o=Date.now(),y.getSource.call(p,R)},ue=function(){p.off("loadedmetadata",w),p.off("error",G),p.off("dispose",ue)},Te=function(Ke){ue(),V0(p,Ke)};p.on("error",G),p.on("dispose",ue),p.reloadSourceOnError=Te},Og=function(p){V0(this,p)};var G0="3.17.3",Ig="7.1.0",Pg="1.3.1",Rg="7.2.0",Dg="4.0.2";const au={PlaylistLoader:Nf,Playlist:Dl,utils:Bh,STANDARD_PLAYLIST_SELECTOR:E0,INITIAL_PLAYLIST_SELECTOR:Fm,lastBandwidthSelector:E0,movingAverageBandwidthSelector:kp,comparePlaylistBandwidth:Mp,comparePlaylistResolution:km,xhr:Pd()};Object.keys(Du).forEach(p=>{Object.defineProperty(au,p,{get(){return Ot.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),Du[p]},set(t){if(Ot.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),typeof t!="number"||t<0){Ot.log.warn(`value of Vhs.${p} must be greater than or equal to 0`);return}Du[p]=t}})});const K0="videojs-vhs",S=function(p,t){const o=t.media();let c=-1;for(let y=0;y<p.length;y++)if(p[y].id===o.id){c=y;break}p.selectedIndex_=c,p.trigger({selectedIndex:c,type:"change"})},O=function(p,t){t.representations().forEach(o=>{p.addQualityLevel(o)}),S(p,t.playlists)};au.canPlaySource=function(){return Ot.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Q=(p,t,o)=>{if(!p)return p;let c={};t&&t.attributes&&t.attributes.CODECS&&(c=Hf(Sr(t.attributes.CODECS))),o&&o.attributes&&o.attributes.CODECS&&(c.audio=o.attributes.CODECS);const y=yt(c.video),w=yt(c.audio),R={};for(const G in p)R[G]={},w&&(R[G].audioContentType=w),y&&(R[G].videoContentType=y),t.contentProtection&&t.contentProtection[G]&&t.contentProtection[G].pssh&&(R[G].pssh=t.contentProtection[G].pssh),typeof p[G]=="string"&&(R[G].url=p[G]);return ts(p,R)},_e=(p,t)=>p.reduce((o,c)=>{if(!c.contentProtection)return o;const y=t.reduce((w,R)=>{const G=c.contentProtection[R];return G&&G.pssh&&(w[R]={pssh:G.pssh}),w},{});return Object.keys(y).length&&o.push(y),o},[]),nt=({player:p,sourceKeySystems:t,audioMedia:o,mainPlaylists:c})=>{if(!p.eme.initializeMediaKeys)return Promise.resolve();const y=o?c.concat([o]):c,w=_e(y,Object.keys(t)),R=[],G=[];return w.forEach(ue=>{G.push(new Promise((Te,Ke)=>{p.tech_.one("keysessioncreated",Te)})),R.push(new Promise((Te,Ke)=>{p.eme.initializeMediaKeys({keySystems:ue},St=>{if(St){Ke(St);return}Te()})}))}),Promise.race([Promise.all(R),Promise.race(G)])},Ct=({player:p,sourceKeySystems:t,media:o,audioMedia:c})=>{const y=Q(t,o,c);return y?(p.currentSource().keySystems=y,y&&!p.eme?(Ot.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},ar=()=>{if(!P().localStorage)return null;const p=P().localStorage.getItem(K0);if(!p)return null;try{return JSON.parse(p)}catch{return null}},Dr=p=>{if(!P().localStorage)return!1;let t=ar();t=t?ts(t,p):p;try{P().localStorage.setItem(K0,JSON.stringify(t))}catch{return!1}return t},rn=p=>p.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(p.substring(p.indexOf(",")+1)):p,ri=(p,t)=>{p._requestCallbackSet||(p._requestCallbackSet=new Set),p._requestCallbackSet.add(t)},ii=(p,t)=>{p._responseCallbackSet||(p._responseCallbackSet=new Set),p._responseCallbackSet.add(t)},mi=(p,t)=>{p._requestCallbackSet&&(p._requestCallbackSet.delete(t),p._requestCallbackSet.size||delete p._requestCallbackSet)},ds=(p,t)=>{p._responseCallbackSet&&(p._responseCallbackSet.delete(t),p._responseCallbackSet.size||delete p._responseCallbackSet)};au.supportsNativeHls=(function(){if(!D()||!D().createElement)return!1;const p=D().createElement("video");return Ot.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(o){return/maybe|probably/i.test(p.canPlayType(o))}):!1})(),au.supportsNativeDash=(function(){return!D()||!D().createElement||!Ot.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(D().createElement("video").canPlayType("application/dash+xml"))})(),au.supportsTypeNatively=p=>p==="hls"?au.supportsNativeHls:p==="dash"?au.supportsNativeDash:!1,au.isSupported=function(){return Ot.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")},au.xhr.onRequest=function(p){ri(au.xhr,p)},au.xhr.onResponse=function(p){ii(au.xhr,p)},au.xhr.offRequest=function(p){mi(au.xhr,p)},au.xhr.offResponse=function(p){ds(au.xhr,p)};const zs=Ot.getComponent("Component");class oa extends zs{constructor(t,o,c){if(super(o,c.vhs),typeof c.initialBandwidth=="number"&&(this.options_.bandwidth=c.initialBandwidth),this.logger_=ws("VhsHandler"),o.options_&&o.options_.playerId){const y=Ot.getPlayer(o.options_.playerId);this.player_=y}if(this.tech_=o,this.source_=t,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&o.overrideNativeAudioTracks&&o.overrideNativeVideoTracks)o.overrideNativeAudioTracks(!0),o.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(o.featuresNativeVideoTracks||o.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(D(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],y=>{const w=D().fullscreenElement||D().webkitFullscreenElement||D().mozFullScreenElement||D().msFullscreenElement;w&&w.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(t={}){if(this.options_=ts(this.options_,t),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.usePlayerObjectFit=this.options_.usePlayerObjectFit||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=typeof this.options_.useNetworkInformationApi<"u"?this.options_.useNetworkInformationApi:!0,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const c=ar();c&&c.bandwidth&&(this.options_.bandwidth=c.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),c&&c.throughput&&(this.options_.throughput=c.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Du.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Du.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","usePlayerObjectFit","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(c=>{typeof this.source_[c]<"u"&&(this.options_[c]=this.source_[c])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio,this.usePlayerObjectFit=this.options_.usePlayerObjectFit;const o=this.options_.customPixelRatio;typeof o=="number"&&o>=0&&(this.customPixelRatio=o)}setOptions(t={}){this.setOptions_(t)}src(t,o){if(!t)return;this.setOptions_(),this.options_.src=rn(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=au,this.options_.sourceType=An(o),this.options_.seekTo=w=>{this.tech_.setCurrentTime(w)},this.options_.player_=this.player_,this.playlistController_=new Eg(this.options_);const c=ts({liveRangeSafeTimeDelta:Ka},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Ag(c),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const w=Ot.players[this.tech_.options_.playerId];let R=this.playlistController_.error;typeof R=="object"&&!R.code?R.code=3:typeof R=="string"&&(R={message:R,code:3}),w.error(R)});const y=this.options_.bufferBasedABR?au.movingAverageBandwidthSelector(.55):au.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):y.bind(this),this.playlistController_.selectInitialPlaylist=au.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(w){this.playlistController_.selectPlaylist=w.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(w){this.playlistController_.mainSegmentLoader_.throughput.rate=w,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let w=this.playlistController_.mainSegmentLoader_.bandwidth;const R=P().navigator.connection||P().navigator.mozConnection||P().navigator.webkitConnection,G=1e7;if(this.options_.useNetworkInformationApi&&R){const ue=R.downlink*1e3*1e3;ue>=G&&w>=G?w=Math.max(w,ue):w=ue}return w},set(w){this.playlistController_.mainSegmentLoader_.bandwidth=w,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const w=1/(this.bandwidth||1);let R;return this.throughput>0?R=1/this.throughput:R=0,Math.floor(1/(w+R))},set(){Ot.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>Qu(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>Qu(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&Dr({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{_g(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=P().URL.createObjectURL(this.playlistController_.mediaSource),(Ot.browser.IS_ANY_SAFARI||Ot.browser.IS_IOS)&&this.options_.overrideNative&&this.options_.sourceType==="hls"&&typeof this.tech_.addSourceElement=="function"?(this.tech_.addSourceElement(this.mediaSourceUrl_),this.tech_.addSourceElement(this.source_.src)):this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),nt({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(o=>{this.logger_("error while creating EME key session",o),this.player_.error({message:"Failed to initialize media ke
996ys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,o=Ct({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});if(this.player_.tech_.on("keystatuschange",c=>{this.playlistController_.updatePlaylistByKeyStatus(c.keyId,c.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!o){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const t=Ot.players[this.tech_.options_.playerId];!t||!t.qualityLevels||this.qualityLevels_||(this.qualityLevels_=t.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{O(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{S(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":G0,"mux.js":Ig,"mpd-parser":Pg,"m3u8-parser":Rg,"aes-decrypter":Dg}}version(){return this.constructor.version()}canChangeType(){return M0.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(t){this.playlistController_.setCurrentTime(t)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&P().URL.revokeObjectURL&&(P().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(t,o){return Ea({playlist:this.playlistController_.media(),time:t,callback:o})}seekToProgramTime(t,o,c=!0,y=2){return sp({programTime:t,playlist:this.playlistController_.media(),retryCount:y,pauseAfterSeek:c,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:o})}setupXhrHooks_(){this.xhr.onRequest=t=>{ri(this.xhr,t)},this.xhr.onResponse=t=>{ii(this.xhr,t)},this.xhr.offRequest=t=>{mi(this.xhr,t)},this.xhr.offResponse=t=>{ds(this.xhr,t)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const t=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],o=["gapjumped","playedrangeschanged"];t.forEach(c=>{this.playlistController_.on(c,y=>{this.player_.trigger(W({},y))})}),o.forEach(c=>{this.playbackWatcher_.on(c,y=>{this.player_.trigger(W({},y))})})}}const Oa={name:"videojs-http-streaming",VERSION:G0,canHandleSource(p,t={}){const o=ts(Ot.options,t);return!o.vhs.experimentalUseMMS&&!tt("avc1.4d400d,mp4a.40.2",!1)?!1:Oa.canPlayType(p.type,o)},handleSource(p,t,o={}){const c=ts(Ot.options,o);return t.vhs=new oa(p,t,c),t.vhs.xhr=Pd(),t.vhs.setupXhrHooks_(),t.vhs.src(p.src,p.type),t.vhs},canPlayType(p,t){const o=An(p);if(!o)return"";const c=Oa.getOverrideNative(t);return!au.supportsTypeNatively(o)||c?"maybe":""},getOverrideNative(p={}){const{vhs:t={}}=p,o=!(Ot.browser.IS_ANY_SAFARI||Ot.browser.IS_IOS),{overrideNative:c=o}=t;return c}};tt("avc1.4d400d,mp4a.40.2",!0)&&Ot.getTech("Html5").registerSourceHandler(Oa,0),Ot.VhsHandler=oa,Ot.VhsSourceHandler=Oa,Ot.Vhs=au,Ot.use||Ot.registerComponent("Vhs",au),Ot.options.vhs=Ot.options.vhs||{},(!Ot.getPlugin||!Ot.getPlugin("reloadSourceOnError"))&&Ot.registerPlugin("reloadSourceOnError",Og);const c1={ar:JSON.parse('{"Play":"\u062A\u0634\u063A\u064A\u0644","Pause":"\u0625\u064A\u0642\u0627\u0641","Current Time":"\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u062D\u0627\u0644\u064A","Duration":"\u0627\u0644\u0645\u062F\u0629","Remaining Time":"\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062A\u0628\u0642\u064A","Stream Type":"\u0646\u0648\u0639 \u0627\u0644\u062A\u064A\u0627\u0631","LIVE":"\u0645\u0628\u0627\u0634\u0631","Loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","Progress":"\u0627\u0644\u062A\u0642\u062F\u0645","Fullscreen":"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","Exit Fullscreen":"\u062A\u0639\u0637\u064A\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","Mute":"\u0643\u062A\u0645","Unmute":"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0643\u062A\u0645","Playback Rate":"\u
9960633\u0631\u0639\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Subtitles":"\u0627\u0644\u062A\u0631\u062C\u0645\u0629","subtitles off":"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u062A\u0631\u062C\u0645\u0629","Captions":"\u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","captions off":"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Chapters":"\u0627\u0644\u0641\u0635\u0648\u0644","You aborted the media playback":"\u0644\u0642\u062F \u0623\u0644\u063A\u064A\u062A \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","A network error caused the media download to fail part-way.":"\u062A\u0633\u0628\u0628 \u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0634\u0628\u0643\u0629 \u0628\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0627\u0644\u0643\u0627\u0645\u0644.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0633\u0628\u0628 \u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062E\u0627\u062F\u0645 \u0623\u0648 \u0627\u0644\u0634\u0628\u0643\u0629 \u060C \u0623\u0648 \u0628\u0633\u0628\u0628 \u0639\u062F\u0645 \u0625\u0645\u0643\u0627\u0646\u064A\u0629 \u0642\u0631\u0627\u0621\u0629 \u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0641\u064A\u062F\u064A\u0648.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u062A\u0645 \u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0633\u0628\u0628 \u0639\u062F\u0645 \u0635\u0644\u0627\u062D\u064A\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0623\u0648 \u0644\u0623\u0646 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u064A\u0633\u062A\u062E\u062F\u0645 \u0645\u064A\u0632\u0627\u062A \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645\u0629 \u0645\u0646 \u0645\u062A\u0635\u0641\u062D\u0643.","No compatible source was found for this media.":"\u0641\u0634\u0644 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0623\u064A \u0645\u0635\u062F\u0631 \u0645\u062A\u0648\u0627\u0641\u0642 \u0645\u0639 \u0647\u0630\u0627 \u0627\u0644\u0641\u064A\u062F\u064A\u0648.","Play Video":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","Close":"\u0623\u063A\u0644\u0642","Modal Window":"\u0627\u0644\u0646\u0627\u0641\u0630\u0629","This is a modal window":"\u0647\u0630\u0647 \u0646\u0627\u0641\u0630\u0629","This modal can be closed by pressing the Escape key or activating the close button.":"\u064A\u0645\u0643\u0646 \u063A\u0644\u0642 \u0647\u0630\u0647 \u0627\u0644\u0646\u0627\u0641\u0630\u0629 \u0639\u0646 \u0637\u0631\u064A\u0642 \u0627\u0644\u0636\u063A\u0637 \u0639\u0644\u0649 \u0632\u0631 \u0627\u0644\u062E\u0631\u0648\u062C \u0623\u0648 \u062A\u0641\u0639\u064A\u0644 \u0632\u0631 \u0627\u0644\u0625\u063A\u0644\u0627\u0642",", opens captions settings dialog":", \u062A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629",", opens subtitles settings dialog":", \u062A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u062A\u0631\u062C\u0645\u0629",", selected":", \u0645\u062E\u062A\u0627\u0631","Audio Player":"\u0645\u0634\u063A\u0644 \u0627\u0644\u0635\u0648\u062A","Video Player":"\u0645\u0634\u063A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","Replay":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Seek to live, currently behind live":"\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631\u060C \u0645\u062A\u0623\u062E\u0631 \u0639\u0646 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u062D\u0627\u0644\u064A\u064B\u0627","Seek to live, currently playing live":"\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631\u060C \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u0642\u064A\u062F \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u062D\u0627\u0644\u064A\u064B\u0627","Progress Bar":"\u0634\u0631\u064A\u0637 \u0627\u0644\u062A\u0642\u062F\u0645","progress bar timing: currentTime={1} duration={2}":"{1} \u0645\u0646 {2}","Descriptions":"\u0627\u0644\u0648\u0635\u0641","descriptions off":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u0648\u0635\u0641","Audio Track":"\u0627\u0644\u0645\u0633\u0627\u0631 \u0627\u0644\u0635\u0648\u062A\u064A","Volume Level":"\u0645\u0633\u062A\u0648\u0649 \u0627\u0644\u0635\u0648\u062A","The media is encrypted and we do not have the keys to decrypt it."
996:"\u0627\u0644\u0648\u0633\u0627\u0626\u0637 \u0645\u0634\u0641\u0631\u0629 \u0648\u0644\u064A\u0633 \u0644\u062F\u064A\u0646\u0627 \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u0644\u0627\u0632\u0645\u0629 \u0644\u0641\u0643 \u0634\u0641\u0631\u062A\u0647\u0627.","Close Modal Dialog":"\u0625\u063A\u0644\u0627\u0642 \u0645\u0631\u0628\u0639 \u0627\u0644\u062D\u0648\u0627\u0631 \u0627\u0644\u0645\u0634\u0631\u0648\u0637",", opens descriptions settings dialog":"\u060C \u064A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0648\u0635\u0641","captions settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","subtitles settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0631\u062C\u0645\u0627\u062A","descriptions settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0648\u0635\u0641","Text":"\u0627\u0644\u0646\u0635","White":"\u0623\u0628\u064A\u0636","Black":"\u0623\u0633\u0648\u062F","Red":"\u0623\u062D\u0645\u0631","Green":"\u0623\u062E\u0636\u0631","Blue":"\u
9960623\u0632\u0631\u0642","Yellow":"\u0623\u0635\u0641\u0631","Magenta":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","Cyan":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A","Background":"\u0627\u0644\u062E\u0644\u0641\u064A\u0629","Window":"\u0646\u0627\u0641\u0630\u0629","Transparent":"\u0634\u0641\u0627\u0641","Semi-Transparent":"\u0646\u0635\u0641 \u0634\u0641\u0627\u0641","Opaque":"\u0645\u0639\u062A\u0645","Font Size":"\u062D\u062C\u0645 \u0627\u0644\u062E\u0637","Text Edge Style":"\u0646\u0645\u0637 \u062D\u0648\u0627\u0641 \u0627\u0644\u0646\u0635","None":"\u0644\u0627 \u0634\u064A\u0621","Raised":"\u0628\u0627\u0631\u0632","Depressed":"\u0645\u0646\u062E\u0641\u0636","Uniform":"\u0645\u0646\u062A\u0638\u0645","Drop shadow":"\u0627\u0644\u0638\u0644","Font Family":"\u0639\u0627\u0626\u0644\u0629 \u0627\u0644\u062E\u0637\u0648\u0637","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0636\u0628\u0637","restore all settings to the default values":"\u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0643\u0644 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0625\u0644\u0649 \u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629","Done":"\u062A\u0645","Caption Settings Dialog":"\u0646\u0627\u0641\u0630\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Beginning of dialog window. Escape will cancel and close the window.":"\u0628\u062F\u0627\u064A\u0629 \u0627\u0644\u0646\u0627\u0641\u0630\u0629. \u0627\u0644\u0636\u063A\u0637 \u0639\u0644\u0649 \u0632\u0631 \\"Escape\\" \u0633\u064A\u0624\u062F\u064A \u0625\u0644\u0649 \u0627\u0644\u0625\u0644\u063A\u0627\u0621 \u0648\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0646\u0627\u0641\u0630\u0629.","End of dialog window.":".\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0646\u0627\u0641\u0630\u0629","{1} is loading.":"{1} \u0642\u064A\u062F \u0627\u0644\u062A\u062D\u0645\u064A\u0644.","Exit Picture-in-Picture":"\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0648\u0636\u0639 \u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629","Picture-in-Picture":"\u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629","No content":"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u062D\u062A\u0648\u0649","Color":"\u0627\u0644\u0644\u0648\u0646","Opacity":"\u0645\u0639\u062F\u0644 \u0627\u0644\u0634\u0641\u0627\u0641\u064A\u0629","Text Background":"\u062E\u0644\u0641\u064A\u0629 \u0627\u0644\u0646\u0635","Caption Area Background":"\u062E\u0644\u0641\u064A\u0629 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Playing in Picture-in-Picture":"\u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629 \u0642\u064A\u062F \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Skip forward {1} seconds":"\u0627\u0644\u062A\u062E\u0637\u064A \u0644\u0644\u0623\u0645\u0627\u0645 {1}","Skip backward {1} seconds":"\u0627\u0644\u0631\u062C\u0648\u0639 \u0644\u0644\u062E\u0644\u0641 {1}"}
996'),cs:JSON.parse('{"Audio Player":"Audio P\u0159ehrava\u010D","Video Player":"Video P\u0159ehrava\u010D","Play":"P\u0159ehr\xE1t","Pause":"Pozastavit","Replay":"P\u0159ehr\xE1t znovu","Current Time":"Aktu\xE1ln\xED \u010Das","Duration":"Doba trv\xE1n\xED","Remaining Time":"Zb\xFDvaj\xEDc\xED \u010Das","Stream Type":"Typ streamu","LIVE":"\u017DIV\u011A","Loaded":"Na\u010Dteno","Progress":"Stav","Progress Bar":"Ukazatel pr\u016Fb\u011Bhu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Cel\xE1 obrazovka","Exit Fullscreen":"B\u011B\u017En\xE9 zobrazen\xED","Mute":"Ztlumit","Unmute":"Zru\u0161it ztlumen\xED","Playback Rate":"Rychlost p\u0159ehr\xE1v\xE1n\xED","Subtitles":"Titulky","subtitles off":"Bez titulk\u016F","Captions":"Popisky","captions off":"Popisky vypnut\xE9","Chapters":"Kapitoly","Descriptions":"Popisy","descriptions off":"Bez popis\u016F","Audio Track":"Zvukov\xE1 stopa","Volume Level":"Hlasitost","You aborted the media playback":"P\u0159ehr\xE1v\xE1n\xED videa bylo p\u0159eru\u0161eno.","A network error caused the media download to fail part-way.":"Video nemohlo b\xFDt na\u010Dteno kv\u016Fli chyb\u011B v s\xEDti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video nemohlo b\xFDt na\u010Dteno, bu\u010F kv\u016Fli chyb\u011B serveru, s\xEDt\u011B nebo proto, \u017Ee dan\xFD form\xE1t nen\xED podporov\xE1n.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"V\xE1\u0161 prohl\xED\u017Ee\u010D nepodporuje tento form\xE1t videa.","No compatible source was found for this media.":"Nevalidn\xED zadan\xFD zdroj videa.","The media is encrypted and we do not have the keys to decrypt it.":"Chyba p\u0159i de\u0161ifrov\xE1n\xED videa.","Play Video":"P\u0159ehr\xE1t video","Close":"Zav\u0159it","Close Modal Dialog":"Zav\u0159\xEDt okno","Modal Window":"Mod\xE1ln\xED okno","This is a modal window":"Toto je mod\xE1ln\xED okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto okno se d\xE1 zav\u0159\xEDt k\u0159\xED\u017Ekem nebo kl\xE1vesou Esc.",", opens captions settings dialog":", otev\u0159\xEDt okno pro nastaven\xED popisk\u016F",", opens subtitles settings dialog":", otev\u0159\xEDt okno pro nastaven\xED titulk\u016F",", opens descriptions settings dialog":", otev\u0159e okno pro nastaven\xED popisk\u016F pro nevidom\xE9",", selected":", vybr\xE1no","captions settings":"nastaven\xED popisk\u016F","subtitles settings":"nastaven\xED titulk\u016F","descriptions settings":"nastaven\xED popisk\u016F pro nevidom\xE9","Text":"Titulky","White":"B\xEDl\xE9","Black":"\u010Cern\xE9","Red":"\u010Cerven\xE9","Green":"Zelen\xE9","Blue":"Modr\xE9","Yellow":"\u017Dlut\xE9","Magenta":"Fialov\xE9","Cyan":"Azurov\xE9","Background":"Pozad\xED titulk\u016F","Window":"Okno","Transparent":"Pr\u016Fhledn\xE9","Semi-Transparent":"Polopr\u016Fhledn\xE9","Opaque":"Nepr\u016Fhledn\xE9","Font Size":"Velikost p\xEDsma","Text Edge Style":"Okraje p\xEDsma","None":"Bez okraje","Raised":"Zv\xFD\u0161en\xFD","Depressed":"Propadl\xFD","Uniform":"Rovnom\u011Brn\xFD","Drop shadow":"St\xEDnovan\xFD","Font Family":"Rodina p\xEDsma","Proportional Sans-Serif":"Proporcion\xE1ln\xED bezpatkov\xE9","Monospace Sans-Serif":"Monospace bezpatkov\xE9","Proportional Serif":"Proporcion\xE1ln\xED patkov\xE9","Monospace Serif":"Monospace patkov\xE9","Casual":"Hrav\xE9","Script":"Ru\u010Dn\u011B psan\xE9","Small Caps":"Mal\xE9 kapit\xE1lky","Reset":"Obnovit","restore all settings to the default values":"Vr\xE1tit nastaven\xED do v\xFDchoz\xEDho stavu","Done":"Hotovo","Caption Settings Dialog":"Okno s nastaven\xEDm titulk\u016F","Beginning of dialog window. Escape will cancel and close the window.":"Za\u010D\xE1tek dialogov\xE9ho okna. Kl\xE1vesa Esc okno zav\u0159e.","End of dialog window.":"Konec dialogov\xE9ho okna.","{1} is loading.":"{1} se na\u010D\xEDt\xE1."}'),de:JSON.parse('{"Play":"Wiedergabe","Pause":"Pause","Replay":"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp","LIVE":"LIVE","Loaded":"Geladen","Progress":"Status","Fullscreen":"Vollbild","Exit Fullscreen":"Vollbildmodus beenden","Mute":"Stumm schalten","Unmute":"Ton einschalten","Playback Rate":"Wiedergabegeschwindigkeit","Subtitles":"Untertitel","subtitles off":"Untertitel aus","Captions":"Untertitel","captions off":"Untertitel aus","Chapters":"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterst\xFCtzt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem besch\xE4digten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterst\xFCtzt werden, abgebrochen.","No compatible source was found for this media.":"F\xFCr dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen","Close":"Schlie\xDFen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":"Durch Dr\xFCcken der Esc-Taste bzw. Bet\xE4tigung der Schaltfl\xE4che \\"Schlie\xDFen\\" wird dieses modale Fenster geschlossen.",", opens captions settings dialog":", \xF6ffnet Einstellungen f\xFCr Untertitel",", opens subtitles settings dialog":", \xF6ffnet Einstellungen f\xFCr Untertitel",", selected":", ausgew\xE4hlt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","de
996scriptions settings":"Einstellungen f\xFCr Beschreibungen","Close Modal Dialog":"Modales Fenster schlie\xDFen","Descriptions":"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it.":"Die Entschl\xFCsselungsschl\xFCssel f\xFCr den verschl\xFCsselten Medieninhalt sind nicht verf\xFCgbar.",", opens descriptions settings dialog":", \xF6ffnet Einstellungen f\xFCr Beschreibungen","Audio Track":"Tonspur","Text":"Schrift","White":"Wei\xDF","Black":"Schwarz","Red":"Rot","Green":"Gr\xFCn","Blue":"Blau","Yellow":"Gelb","Magenta":"Magenta","Cyan":"T\xFCrkis","Background":"Hintergrund","Window":"Fenster","Transparent":"Durchsichtig","Semi-Transparent":"Halbdurchsichtig","Opaque":"Undurchsichtig","Font Size":"Schriftgr\xF6\xDFe","Text Edge Style":"Textkantenstil","None":"Kein","Raised":"Erhoben","Depressed":"Gedr\xFCckt","Uniform":"Uniform","Drop shadow":"Schlagschatten","Font Family":"Schriftfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif","Casual":"Zwanglos","Script":"Schreibschrift","Small Caps":"Small-Caps","Reset":"Zur\xFCcksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zur\xFCcksetzen","Done":"Fertig","Caption Settings Dialog":"Einstellungsdialog f\xFCr Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schlie\xDFt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Fortschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautst\xE4rke","{1} is loading.":"{1} wird geladen.","Seek to live, currently behind live":"Zur Live-\xDCbertragung wechseln. Aktuell wird es nicht live abgespielt.","Seek to live, currently playing live":"Zur Live-\xDCbertragung wechseln. Es wird aktuell live abgespielt.","Exit Picture-in-Picture":"Bild-im-Bild-Modus beenden","Picture-in-Picture":"Bild-im-Bild-Modus","No content":"Kein Inhalt","Color":"Farbe","Opacity":"Deckkraft","Text Background":"Texthintergrund","Caption Area Background":"Hintergrund des Untertitelbereichs","Playing in Picture-in-Picture":"Wird im Bild-im-Bild-Modus wiedergegeben","Skip forward {1} seconds":"{1} Sekunden vorw\xE4rts","Skip backward {1} seconds":"{1} Sekunden zur\xFCck"}'),en:JSON.parse('{"Audio Player":"Audio Player","Video Player":"Video Player","Play":"Play","Pause":"Pause","Replay":"Replay","Current Time":"Current Time","Duration":"Duration","Remaining Time":"Remaining Time","Stream Type":"Stream Type","LIVE":"LIVE","Seek to live, currently behind live":"Seek to live, currently behind live","Seek to live, currently playing live":"Seek to live, currently playing live","Loaded":"Loaded","Progress":"Progress","Progress Bar":"Progress Bar","progress bar timing: currentTime={1} duration={2}":"{1} of {2}","Fullscreen":"Fullscreen","Exit Fullscreen":"Exit Fullscreen","Mute":"Mute","Unmute":"Unmute","Playback Rate":"Playback Rate","Subtitles":"Subtitles","subtitles off":"subtitles off","Captions":"Captions","captions off":"captions off","Chapters":"Chapters","Descriptions":"Descriptions","descriptions off":"descriptions off","Audio Track":"Audio Track","Volume Level":"Volume Level","You aborted the media playback":"You aborted the media playback","A network error caused the media download to fail part-way.":"A network error caused the media download to fail part-way.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"The media could not be loaded, either because the server or network failed or because the format is not supported.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.","No compatible source was found for this media.":"No compatible source was found for this media.","The media is encrypted and we do not have the keys to decrypt it."
996:"The media is encrypted and we do not have the keys to decrypt it.","Play Video":"Play Video","Close":"Close","Close Modal Dialog":"Close Modal Dialog","Modal Window":"Modal Window","This is a modal window":"This is a modal window","This modal can be closed by pressing the Escape key or activating the close button.":"This modal can be closed by pressing the Escape key or activating the close button.",", opens captions settings dialog":", opens captions settings dialog",", opens subtitles settings dialog":", opens subtitles settings dialog",", opens descriptions settings dialog":", opens descriptions settings dialog",", selected":", selected","captions settings":"captions settings","subtitles settings":"subtitles settings","descriptions settings":"descriptions settings","Text":"Text","White":"White","Black":"Black","Red":"Red","Green":"Green","Blue":"Blue","Yellow":"Yellow","Magenta":"Magenta","Cyan":"Cyan","Background":"Background","Window":"Window","Transparent":"Transparent","Semi-Transparent":"Semi-Transparent","Opaque":"Opaque","Font Size":"Font Size","Text Edge Style":"Text Edge Style","None":"None","Raised":"Raised","Depressed":"Depressed","Uniform":"Uniform","Drop shadow":"Drop shadow","Font Family":"Font Family","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"Reset","restore all settings to the default values":"restore all settings to the default values","Done":"Done","Caption Settings Dialog":"Caption Settings Dialog","Beginning of dialog window. Escape will cancel and close the window.":"Beginning of dialog window. Escape will cancel and close the window.","End of dialog window.":"End of dialog window.","{1} is loading.":"{1} is loading.","Exit Picture-in-Picture":"Exit Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","No content":"No content","Color":"Color","Opacity":"Opacity","Text Background":"Text Background","Caption Area Background":"Caption Area Background","Playing in Picture-in-Picture":"Playing in Picture-in-Picture","Skip backward {1} seconds":"Skip backward {1} seconds","Skip forward {1} seconds":"Skip forward {1} seconds"}'),es:JSON.parse('{"Play":"Reproducir","Play Video":"Reproducir V\xEDdeo","Pause":"Pausa","Current Time":"Tiempo reproducido","Duration":"Duraci\xF3n total","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia","LIVE":"DIRECTO","Loaded":"Cargado","Progress":"Progreso","Fullscreen":"Pantalla completa","Exit Fullscreen":"Pantalla no completa","Mute":"Desactivar el sonido","Unmute":"Activar el sonido","Playback Rate":"Velocidad de reproducci\xF3n","Subtitles":"Subt\xEDtulos","subtitles off":"Subt\xEDtulos desactivados","Captions":"Subt\xEDtulos especiales","captions off":"Subt\xEDtulos especiales desactivados","Chapters":"Cap\xEDtulos","You aborted the media playback":"Ha interrumpido la reproducci\xF3n del v\xEDdeo.","A network error caused the media download to fail part-way.":"Un error de red ha interrumpido la descarga del v\xEDdeo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"No se ha podido cargar el v\xEDdeo debido a un fallo de red o del servidor o porque el formato es incompatible.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La reproducci\xF3n de v\xEDdeo se ha interrumpido por un problema de corrupci\xF3n de datos o porque el v\xEDdeo precisa funciones que su navegador no ofrece.","No compatible source was found for this media.":"No se ha encontrado ninguna fuente compatible con este v\xEDdeo.","Audio Player":"Reproductor de audio","Video Player":"Reproductor de video","Replay":"Volver a reproducir","Seek to live, currently behind live":"Buscar en vivo, actualmente demorado con respecto a la transmisi\xF3n en vivo","Seek to live, currently playing live":"Buscar en vivo, actualmente reproduciendo en vivo","Progress Bar":"Barra de progreso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Descriptions":"Descripciones","descriptions off":"descripciones desactivadas","Audio Track":"Pista de audio","Volume Level":"Nivel de volumen","The media is encrypted and we do not have the keys to decrypt it."
996:"El material audiovisual est\xE1 cifrado y no tenemos las claves para descifrarlo.","Close":"Cerrar","Modal Window":"Ventana modal","This is a modal window":"Esta es una ventana modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta ventana modal puede cerrarse presionando la tecla Escape o activando el bot\xF3n de cierre.",", opens captions settings dialog":", abre el di\xE1logo de configuraci\xF3n de leyendas",", opens subtitles settings dialog":", abre el di\xE1logo de configuraci\xF3n de subt\xEDtulos",", selected":", seleccionado","Close Modal Dialog":"Cierra cuadro de di\xE1logo modal",", opens descriptions settings dialog":", abre el di\xE1logo de configuraci\xF3n de las descripciones","captions settings":"configuraci\xF3n de leyendas","subtitles settings":"configuraci\xF3n de subt\xEDtulos","descriptions settings":"configuraci\xF3n de descripciones","Text":"Texto","White":"Blanco","Black":"Negro","Red":"Rojo","Green":"Verde","Blue":"Azul","Yellow":"Amarillo","Magenta":"Magenta","Cyan":"Cian","Background":"Fondo","Window":"Ventana","Transparent":"Transparente","Semi-Transparent":"Semitransparente","Opaque":"Opaca","Font Size":"Tama\xF1o de fuente","Text Edge Style":"Estilo de borde del texto","None":"Ninguno","Raised":"En relieve","Depressed":"Hundido","Uniform":"Uniforme","Drop shadow":"Sombra paralela","Font Family":"Familia de fuente","Proportional Sans-Serif":"Sans-Serif proporcional","Monospace Sans-Serif":"Sans-Serif monoespacio","Proportional Serif":"Serif proporcional","Monospace Serif":"Serif monoespacio","Casual":"Informal","Script":"Cursiva","Small Caps":"Min\xFAsculas","Reset":"Restablecer","restore all settings to the default values":"restablece todas las configuraciones a los valores predeterminados","Done":"Listo","Caption Settings Dialog":"Di\xE1logo de configuraci\xF3n de leyendas","Beginning of dialog window. Escape will cancel and close the window.":"Comienzo de la ventana de di\xE1logo. La tecla Escape cancelar\xE1 la operaci\xF3n y cerrar\xE1 la ventana.","End of dialog window.":"Final de la ventana de di\xE1logo.","{1} is loading.":"{1} se est\xE1 cargando.","Exit Picture-in-Picture":"Salir de imagen sobre imagen","Picture-in-Picture":"Imagen sobre imagen","No content":"Sin contenido","Color":"Color","Opacity":"Opacidad","Text Background":"Fondo del texto","Caption Area Background":"Fondo del \xE1rea de subt\xEDtulos","Skip forward {1} seconds":"Avanza {1} segundos","Skip backward {1} seconds":"Retrocede {1} segundos"}'),fr:JSON.parse(`{"Audio Player":"Lecteur audio","Video Player":"Lecteur vid\xE9o","Play":"Lecture","Pause":"Pause","Replay":"Revoir","Current Time":"Temps actuel","Duration":"Dur\xE9e","Remaining Time":"Temps restant","Stream Type":"Type de flux","LIVE":"EN DIRECT","Seek to live, currently behind live":"Rechercher le direct, actuellement apr\xE8s le direct","Seek to live, currently playing live":"Rechercher le direct, le direct actuellement en cours de lecture","Loaded":"Charg\xE9","Progress":"Progression","Progress Bar":"Barre de progression","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Plein \xE9cran","Exit Fullscreen":"Fen\xEAtr\xE9","Mute":"Mettre en sourdine","Unmute":"Activer le son","Playback Rate":"Vitesse de lecture","Subtitles":"Sous-titres","subtitles off":"Sous-titres d\xE9sactiv\xE9s","Captions":"Sous-titres transcrits","captions off":"Sous-titres transcrits d\xE9sactiv\xE9s","Chapters":"Chapitres","Descriptions":"Descriptions","descriptions off":"descriptions d\xE9sactiv\xE9es","Audio Track":"Piste audio","Volume Level":"Niveau de volume","You aborted the media playback":"Vous avez interrompu la lecture de la vid\xE9o.","A network error caused the media download to fail part-way.":"Une erreur de r\xE9seau a interrompu le t\xE9l\xE9chargement de la vid\xE9o.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Cette vid\xE9o n'a pas pu \xEAtre charg\xE9e, soit parce que le serveur ou le r\xE9seau a \xE9chou\xE9 ou parce que le format n'est pas reconnu.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La lecture de la vid\xE9o a \xE9t\xE9 interrompue \xE0 cause d'un probl\xE8me de corruption ou parce que la vid\xE9o utilise des fonctionnalit\xE9s non prises en charge par votre navigateur.","No compatible source was found for this media.":"Aucune source compatible n'a \xE9t\xE9 trouv\xE9e pour cette vid\xE9o.","The media is encrypted and we do not have the keys to decrypt it."
996:"Le m\xE9dia est chiffr\xE9 et nous n'avons pas les cl\xE9s pour le d\xE9chiffrer.","Play Video":"Lire la vid\xE9o","Close":"Fermer","Close Modal Dialog":"Fermer la bo\xEEte de dialogue modale","Modal Window":"Fen\xEAtre modale","This is a modal window":"Ceci est une fen\xEAtre modale","This modal can be closed by pressing the Escape key or activating the close button.":"Ce modal peut \xEAtre ferm\xE9 en appuyant sur la touche \xC9chap ou activer le bouton de fermeture.",", opens captions settings dialog":", ouvrir les param\xE8tres des sous-titres transcrits",", opens subtitles settings dialog":", ouvrir les param\xE8tres des sous-titres",", opens descriptions settings dialog":", ouvrir les param\xE8tres des descriptions",", selected":", s\xE9lectionn\xE9","captions settings":"Param\xE8tres des sous-titres transcrits","subtitles settings":"Param\xE8tres des sous-titres","descriptions settings":"Param\xE8tres des descriptions","Text":"Texte","White":"Blanc","Black":"Noir","Red":"Rouge","Green":"Vert","Blue":"Bleu","Yellow":"Jaune","Magenta":"Magenta","Cyan":"Cyan","Background":"Arri\xE8re-plan","Window":"Fen\xEAtre","Transparent":"Transparent","Semi-Transparent":"Semi-transparent","Opaque":"Opaque","Font Size":"Taille des caract\xE8res","Text Edge Style":"Style des contours du texte","None":"Aucun","Raised":"\xC9lev\xE9","Depressed":"Enfonc\xE9","Uniform":"Uniforme","Drop shadow":"Ombre port\xE9e","Font Family":"Famille de polices","Proportional Sans-Serif":"Polices \xE0 chasse variable sans empattement (Proportional Sans-Serif)","Monospace Sans-Serif":"Polices \xE0 chasse fixe sans empattement (Monospace Sans-Serif)","Proportional Serif":"Polices \xE0 chasse variable avec empattement (Proportional Serif)","Monospace Serif":"Polices \xE0 chasse fixe avec empattement (Monospace Serif)","Casual":"Manuscrite","Script":"Scripte","Small Caps":"Petites capitales","Reset":"R\xE9initialiser","restore all settings to the default values":"Restaurer tous les param\xE8tres aux valeurs par d\xE9faut","Done":"Termin\xE9","Caption Settings Dialog":"Bo\xEEte de dialogue des param\xE8tres des sous-titres transcrits","Beginning of dialog window. Escape will cancel and close the window.":"D\xE9but de la fen\xEAtre de dialogue. La touche d'\xE9chappement annulera et fermera la fen\xEAtre.","End of dialog window.":"Fin de la fen\xEAtre de dialogue.","Exit Picture-in-Picture":"Quitter le mode image dans l'image","Picture-in-Picture":"Image dans l'image","{1} is loading.":"{1} en cours de chargement.","No content":"Aucun contenu","Color":"Couleur","Opacity":"Opacit\xE9","Text Background":"Arri\xE8re-plan du texte","Caption Area Background":"Arri\xE8re-plan de la zone de sous-titre","Skip backward {1} seconds":"Reculer de {1} secondes","Skip forward {1} seconds":"Avancer de {1} secondes"}`),it:JSON.parse('{"Audio Player":"Lettore audio","Video Player":"Lettore video","Play":"Play","Pause":"Pausa","Replay":"Replay","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo di streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","Progress Bar":"Barra di avanzamento","progress bar timing: currentTime={1} duration={2}":"{1} di {2}","Fullscreen":"Schermo intero","Exit Fullscreen":"Chiudi Schermo intero","Mute":"Disattiva l\u2019audio","Unmute":"Attiva l\u2019audio","Playback Rate":"Velocit\xE0 di riproduzione","Subtitles":"Sottotitoli","subtitles off":"Senza sottotitoli","Captions":"Didascalie","captions off":"Senza didascalie","Chapters":"Capitolo","Descriptions":"Descrizioni","descriptions off":"Descrizioni disattivate","Audio Track":"Traccia audio","Volume Level":"Livello del volume","You aborted the media playback":"La riproduzione del contenuto multimediale \xE8 stata interrotta.","A network error caused the media download to fail part-way.":"Il download del contenuto multimediale \xE8 stato interrotto a causa di un problema rete.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Il contenuto multimediale non pu\xF2 essere caricato a causa di un errore nel server o nella rete o perch\xE9 il formato non viene supportato.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La riproduzione del contenuto multimediale \xE8 stata interrotta a causa di un file danneggiato o per l\u2019utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo contenuto multimediale.","The media is encrypted and we do not have the keys to decrypt it."
996:"Il contenuto multimediale \xE8 criptato e non disponiamo delle chiavi per decifrarlo.","Play Video":"Riproduci il video","Close":"Chiudi","Close Modal Dialog":"Chiudi la finestra di dialogo","Modal Window":"Finestra di dialogo","This is a modal window":"Questa \xE8 una finestra di dialogo","This modal can be closed by pressing the Escape key or activating the close button.":"Questa finestra di dialogo pu\xF2 essere chiusa premendo sul tasto Esc o attivando il pulsante di chiusura.",", opens captions settings dialog":", aprire le impostazioni delle didascalie",", opens subtitles settings dialog":", aprire le impostazioni dei sottotitoli",", opens descriptions settings dialog":", aprire le impostazioni delle descrizioni",", selected":", selezionato","captions settings":"Impostazioni didascalie","subtitles settings":"Impostazioni sottotitoli","descriptions settings":"Impostazioni descrizioni","Text":"Testo","White":"Bianco","Black":"Nero","Red":"Rosso","Green":"Verde","Blue":"Blu","Yellow":"Giallo","Magenta":"Magenta","Cyan":"Ciano","Background":"Sfondo","Window":"Finestra","Transparent":"Trasparente","Semi-Transparent":"Semi-Trasparente","Opaque":"Opaco","Font Size":"Dimensione dei caratteri","Text Edge Style":"Stile dei bordi del testo","None":"Nessuno","Uniform":"Uniforme","Drop shadow":"Ombra","Font Family":"Carattere","Proportional Sans-Serif":"Sans-Serif proporzionale","Monospace Sans-Serif":"Sans-Serif monospaziato","Proportional Serif":"Serif proporzionale","Monospace Serif":"Serif monospaziato","Small Caps":"Maiuscoletto","Reset":"Reinizializza","restore all settings to the default values":"Ripristina i valori predefiniti per tutti i parametri","Done":"Fatto","Caption Settings Dialog":"Finestra di dialogo dei parametri della trascrizione dei sottotitoli","Beginning of dialog window. Escape will cancel and close the window.":"Inizio della finestra di dialogo. Il tasto Esc annuller\xE0 l\u2019operazione e chiuder\xE0 la finestra.","End of dialog window.":"Fine della finestra di dialogo.","{1} is loading.":"{1} in fase di caricamento.","Exit Picture-in-Picture":"Esci dalla modalit\xE0 Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","Color":"Colore","Opacity":"Opacit\xE0","Text Background":"Sfondo testo","Caption Area Background":"Sfondo area sottotitoli","Skip forward {1} seconds":"Avanti {1} secondi","Skip backward {1} seconds":"Indietro {1} secondi"}'),ja:JSON.parse('{"Audio Player":"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D7\u30EC\u30A4\u30E4\u30FC","Video Player":"\u30D3\u30C7\u30AA\u30D7\u30EC\u30A4\u30E4\u30FC","Play":"\u518D\u751F","Pause":"\u4E00\u6642\u505C\u6B62","Replay":"\u3082\u3046\u4E00\u5EA6\u898B\u308B","Current Time":"\u73FE\u5728\u306E\u6642\u9593","Duration":"\u9577\u3055","Remaining Time":"\u6B8B\u308A\u306E\u6642\u9593","Stream Type":"\u30B9\u30C8\u30EA\u30FC\u30E0\u306E\u7A2E\u985E","LIVE":"\u30E9\u30A4\u30D6","Seek to live, currently behind live":"\u30E9\u30A4\u30D6\u307E\u3067\u518D\u751F\u4F4D\u7F6E\u3092\u6307\u5B9A\u3001\u73FE\u5728\u30E9\u30A4\u30D6\u304C\u9045\u308C\u3066\u3044\u307E\u3059\u3002","Seek to live, currently playing live":"\u30E9\u30A4\u30D6\u307E\u3067\u518D\u751F\u4F4D\u7F6E\u3092\u6307\u5B9A\u3001\u73FE\u5728\u30E9\u30A4\u30D6\u4E2D\u3002","Loaded":"\u30ED\u30FC\u30C9\u6E08\u307F","Progress":"\u9032\u884C\u72B6\u6CC1","Progress Bar":"\u30B7\u30FC\u30AF\u30D0\u30FC","progress bar timing: currentTime={1} duration={2}":"{2}\u306E{1}","Fullscreen":"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3","Exit Fullscreen":"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u4EE5\u5916","Mute":"\u30DF\u30E5\u30FC\u30C8","Unmute":"\u30B5\u30A6\u30F3\u30C9\u3092\u30AA\u30F3","Playback Rate":"\u518D\u751F\u30EC\u30FC\u30C8","Subtitles":"\u30B5\u30D6\u30BF\u30A4\u30C8\u30EB","subtitles off":"\u30B5\u30D6\u30BF\u30A4\u30C8\u30EB \u30AA\u30D5","Captions":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3","captions off":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3 \u30AA\u30D5","Chapters":"\u30C1\u30E3\u30D7\u30BF\u30FC","Descriptions":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3","descriptions off":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u30AA\u30D5","Audio Track":"\u97F3\u58F0\u30C8\u30E9\u30C3\u30AF","Volume Level":"\u30DC\u30EA\u30E5\u30FC\u30E0\u30EC\u30D9\u30EB","You aborted the media playback":"\u52D5\u753B\u518D\u751F\u3092\u4E2D\u6B62\u3057\u307E\u3057\u305F","A network error caused the media download to fail part-way.":"\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF \u30A8\u30E9\u30FC\u306B\u3088\u308A\u52D5\u753B\u306E\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u5931\u6557\u3057\u307E\u3057\u305F","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u30B5\u30FC\u30D0\u30FC\u307E\u305F\u306F\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u306E\u30A8\u30E9\u30FC\u3001\u307E\u305F\u306F\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u52D5\u753B\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7834\u640D\u306E\u554F\u984C\u3001\u307E\u305F\u306F\u304A\u4F7F\u3044\u306E\u30D6\u30E9\u30A6\u30B6\u304C\u30B5\u30DD\u30FC\u30C8\u3057\u3066\u3044\u306A\u3044\u6A5F\u80FD\u304C\u52D5\u753B\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u305F\u305F\u3081\u3001\u52D5\u753B\u306E\u518D\u751F\u304C\u4E2D\u6B62\u3055\u308C\u307E\u3057\u305F","No compatible source was found for this media.":"\u3053\u306E\u52D5\u753B\u306B\u5BFE\u3057\u3066\u4E92\u63DB\u6027\u306E\u3042\u308B\u30BD\u30FC\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F","The media is encrypted and we do not have the keys to decrypt it."
996:"\u30E1\u30C7\u30A3\u30A2\u306F\u6697\u53F7\u5316\u3055\u308C\u3066\u304A\u308A\u3001\u89E3\u8AAD\u3059\u308B\u305F\u3081\u306E\u30AD\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002","Play Video":"\u30D3\u30C7\u30AA\u3092\u518D\u751F\u3059\u308B","Close":"\u9589\u3058\u308B","Close Modal Dialog":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u3092\u9589\u3058\u308B","Modal Window":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9","This is a modal window":"\u3053\u308C\u306F\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u3067\u3059","This modal can be closed by pressing the Escape key or activating the close button.":"\u3053\u306E\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306F\u3001Esc\u30AD\u30FC\u3092\u62BC\u3059\u304B\u3001\u9589\u3058\u308B\u30DC\u30BF\u30F3\u3092\u62BC\u3057\u3066\u9589\u3058\u308B\u3053\u3068\u304C\u3067\u304D\u307E",", opens captions settings dialog":", \u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", opens subtitles settings dialog":", \u5B57\u5E55\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", opens descriptions settings dialog":", \u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", selected":", \u9078\u629E\u6E08\u307F","captions settings":"\u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u306E\u8A2D\u5B9A","subtitles settings":"\u5B57\u5E55\u306E\u8A2D\u5B9A","descriptions settings":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u306E\u8A2D\u5B9A","Text":"\u30C6\u30AD\u30B9\u30C8","White":"\u767D","Black":"\u9ED2","Red":"\u8D64","Green":"\u7DD1","Blue":"\u9752","Yellow":"\u9EC4","Magenta":"\u8D64\u7D2B","Cyan":"\u30B7\u30A2\u30F3","Background":"\u80CC\u666F","Window":"\u30A6\u30A3\u30F3\u30C9\u30A6","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u6587\u5B57\u30B5\u30A4\u30BA","Text Edge Style":"\u30C6\u30AD\u30B9\u30C8\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u306E\u30B9\u30BF\u30A4\u30EB","None":"\u306A\u3057","Raised":"\u6D6E\u304D\u51FA\u3057","Depressed":"\u6D6E\u304D\u5F6B\u308A","Uniform":"\u5747\u4E00","Drop shadow":"\u5F71\u4ED8\u304D","Font Family":"\u30D5\u30A9\u30F3\u30C8\u306E\u7A2E\u985E","Proportional Sans-Serif":"\u30BB\u30EA\u30D5\u306A\u3057\u53EF\u5909\u5E45\u30D5\u30A9\u30F3\u30C8","Monospace Sans-Serif":"\u30BB\u30EA\u30D5\u306A\u3057\u7B49\u5E45\u30D5\u30A9\u30F3\u30C8","Proportional Serif":"\u30BB\u30EA\u30D5\u3042\u308A\u53EF\u5909\u5E45\u30D5\u30A9\u30F3\u30C8","Monospace Serif":"\u30BB\u30EA\u30D5\u3042\u308A\u7B49\u5E45\u30D5\u30A9\u30F3\u30C8","Casual":"\u30AB\u30B8\u30E5\u30A2\u30EB","Script":"\u30B9\u30AF\u30EA\u30D7\u30C8","Small Caps":"\u30B9\u30E2\u30FC\u30EB\u30AD\u30E3\u30D4\u30BF\u30EB","Reset":"\u30EA\u30BB\u30C3\u30C8","restore all settings to the default values":"\u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306B\u623B\u3059","Done":"\u7D42\u4E86","Caption Settings Dialog":"\u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u8A2D\u5B9A\u30C0\u30A4\u30A2\u30ED\u30B0","Beginning of dialog window. Escape will cancel and close the window.":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306E\u958B\u59CB\u3002Esc\u30AD\u30FC\u3067\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u9589\u3058\u307E\u3059\u3002","End of dialog window.":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306E\u7D42\u4E86","{1} is loading.":"{1}\u306F\u8AAD\u307F\u8FBC\u307F\u4E2D\u3067\u3059\u3002","Exit Picture-in-Picture":"\u30D4\u30AF\u30C1\u30E3\u30FC\u30A4\u30F3\u30D4\u30AF\u30C1\u30E3\u30FC\u6A5F\u80FD\u306E\u7D42\u4E86","Picture-in-Picture":"\u30D4\u30AF\u30C1\u30E3\u30FC\u30A4\u30F3\u30D4\u30AF\u30C1\u30E3\u30FC","No content":"\u30B3\u30F3\u30C6\u30F3\u30C4\u306A\u3057","Color":"\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Background":"\u30C6\u30AD\u30B9\u30C8\u80CC\u666F","Caption Area Background":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3\u9818\u57DF\u80CC\u666F","Skip forward {1} seconds":"{1}\u79D2\u9032\u3080","Skip backward {1} seconds":"{1}\u79D2\u623B\u308B"}'),nl:JSON.parse('{"Audio Player":"Audiospeler","Video Player":"
996Videospeler","Play":"Afspelen","Pause":"Pauzeren","Replay":"Opnieuw afspelen","Current Time":"Huidige tijd","Duration":"Tijdsduur","Remaining Time":"Resterende tijd","Stream Type":"Streamtype","LIVE":"LIVE","Seek to live, currently behind live":"Zoek naar live, momenteel achter op live","Seek to live, currently playing live":"Zoek naar live, momenteel live","Loaded":"Geladen","Progress":"Voortgang","Progress Bar":"Voortgangsbalk","progress bar timing: currentTime={1} duration={2}":"{1} van {2}","Fullscreen":"Volledig scherm","Exit Fullscreen":"Volledig scherm uit","Mute":"Dempen","Unmute":"Dempen uit","Playback Rate":"Afspeelsnelheid","Subtitles":"Ondertiteling","subtitles off":"ondertiteling uit","Captions":"Ondertiteling (CC)","captions off":"ondertiteling (CC) uit","Chapters":"Hoofdstukken","Descriptions":"Beschrijvingen","descriptions off":"beschrijvingen uit","Audio Track":"Audiospoor","Volume Level":"Volume","You aborted the media playback":"U heeft het afspelen van de media afgebroken","A network error caused the media download to fail part-way.":"Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media is mislukt.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"De media kon niet worden geladen, doordat de server of het netwerk faalde of doordat het formaat niet wordt ondersteund.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Het afspelen van de media werd afgebroken vanwege een corruptieprobleem of omdat de uw browser de gebruikte mediafuncties niet ondersteund.","No compatible source was found for this media.":"Er is geen geschikte bron gevonden voor dit medium.","The media is encrypted and we do not have the keys to decrypt it.":"De media is gecodeerd en we hebben niet de sleutels om het te decoderen.","Play Video":"Video afspelen","Close":"Sluiten","Close Modal Dialog":"Extra venster sluiten","Modal Window":"Extra venster","This is a modal window":"Dit is een extra venster","This modal can be closed by pressing the Escape key or activating the close button.":"Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluit-knop te activeren.",", opens captions settings dialog":", opent instellingen venster voor ondertitelingen",", opens subtitles settings dialog":", opent instellingen venster voor ondertitelingen",", opens descriptions settings dialog":", opent instellingen venster voor beschrijvingen",", selected":", geselecteerd","captions settings":"ondertiteling instellingen","subtitles settings":"ondertiteling instellingen","descriptions settings":"beschrijvingen instellingen","Text":"Tekst","White":"Wit","Black":"Zwart","Red":"Rood","Green":"Groen","Blue":"Blauw","Yellow":"Geel","Magenta":"Magenta","Cyan":"Cyaan","Background":"Achtergrond","Window":"Venster","Transparent":"Transparant","Semi-Transparent":"Semi-transparant","Opaque":"Ondoorzichtig","Font Size":"Lettergrootte","Text Edge Style":"Stijl tekstrand","None":"Geen","Raised":"Verhoogd","Depressed":"Ingedrukt","Uniform":"Uniform","Drop shadow":"Schaduw","Font Family":"Lettertype","Proportional Sans-Serif":"Proportioneel sans-serif","Monospace Sans-Serif":"Monospace sans-serif","Proportional Serif":"Proportioneel serif","Monospace Serif":"Monospace serif","Casual":"Informeel","Script":"Script","Small Caps":"Kleine Hoofdletters","Reset":"Herstellen","restore all settings to the default values":"alle instellingen herstellen naar de standaardwaarden","Done":"Gereed","Caption Settings Dialog":"Venster voor bijschriften-instellingen","Beginning of dialog window. Escape will cancel and close the window.":"Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.","End of dialog window.":"Einde van dialoogvenster.","{1} is loading.":"{1} wordt geladen.","Exit Picture-in-Picture":"Picture-in-Picture uit","Picture-in-Picture":"Picture-in-Picture","No content":"Geen inhoud","Color":"Kleur","Opacity":"Transparantie","Text Background":"Tekst Achtergrond","Caption Area Backgroun
996d":"Achtergrond voor Ondertiteling","Skip forward {1} seconds":"{1} seconden vooruit","Skip backward {1} seconds":"{1} seconden terug"}'),pl:JSON.parse('{"Audio Player":"Odtwarzacz audio","Video Player":"Odtwarzacz wideo","Play":"Odtw\xF3rz","Pause":"Wstrzymaj","Replay":"Odtw\xF3rz ponownie","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozosta\u0142y czas","Stream Type":"Typ strumienia","LIVE":"NA \u017BYWO","Seek to live, currently behind live":"Przejd\u017A do transmisji na \u017Cywo, obecnie trwa odtwarzanie z archiwum","Seek to live, currently playing live":"Przejd\u017C do transmisji na \u017Cywo, obecnie trwa odtwarzanie na \u017Cywo","Loaded":"Za\u0142adowany","Progress":"Status","Progress Bar":"Pasek post\u0119pu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Pe\u0142ny ekran","Exit Fullscreen":"Pe\u0142ny ekran niedost\u0119pny","Mute":"Wycisz","Unmute":"Wy\u0142\u0105cz wyciszenie","Playback Rate":"Pr\u0119dko\u015B\u0107 odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wy\u0142\u0105czone","Captions":"Transkrypcja","captions off":"Transkrypcja wy\u0142\u0105czona","Chapters":"Rozdzia\u0142y","Descriptions":"Opisy","descriptions off":"Opisy wy\u0142\u0105czone","Audio Track":"\u015Acie\u017Cka audio","Volume Level":"Poziom g\u0142o\u015Bno\u015Bci","You aborted the media playback":"Odtwarzanie zosta\u0142o przerwane","A network error caused the media download to fail part-way.":"B\u0142\u0105d sieci spowodowa\u0142 cz\u0119\u015Bciowe niepowodzenie pobierania materia\u0142u wideo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Materia\u0142 wideo nie mo\u017Ce zosta\u0107 za\u0142adowany, poniewa\u017C wyst\u0105pi\u0142 problem z serwerem lub sieci\u0105 albo format materia\u0142u wideo nie jest obs\u0142ugiwany","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Odtwarzanie materia\u0142u wideo zosta\u0142o przerwane z powodu uszkodzonego pliku wideo lub z powodu u\u017Cycia funkcji multimedi\xF3w nieobs\u0142ugiwanych przez Twoj\u0105 przegl\u0105dark\u0119.","No compatible source was found for this media.":"Nie znaleziono kompatybilnego \u017Ar\xF3d\u0142a dla tego typu materia\u0142u wideo.","The media is encrypted and we do not have the keys to decrypt it.":"Materia\u0142 jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.","Play Video":"Odtw\xF3rz wideo","Close":"Zamknij","Close Modal Dialog":"Zamknij okno modalne","Modal Window":"Okno modalne","This is a modal window":"To jest okno modalne","This modal can be closed by pressing the Escape key or activating the close button.":"To okno modalne mo\u017Cesz zamkn\u0105\u0107, naciskaj\u0105c klawisz Escape albo wybieraj\u0105c przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawie\u0144 transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napis\xF3w",", opens descriptions settings dialog":", otwiera okno dialogowe opis\xF3w",", selected":", zaznaczone","captions settings":"ustawienia transkrypcji","subtitles settings":"ustawienia napis\xF3w","descriptions settings":"ustawienia opis\xF3w","Text":"Tekst","White":"Bia\u0142y","Black":"Czarny","Red":"Czerwony","Green":"Zielony","Blue":"Niebieski","Yellow":"\u017B\xF3\u0142ty","Magenta":"Karmazynowy","Cyan":"Cyjanowy","Background":"T\u0142o","Window":"Okno","Transparent":"Przezroczysty","Semi-Transparent":"P\xF3\u0142przezroczysty","Opaque":"Nieprzezroczysty","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl kraw\u0119dzi tekstu","None":"Brak","Raised":"Podniesiony","Depressed":"Obni\u017Cony","Uniform":"R\xF3wnomierny","Dropshadow":"Cie\u0144","Font Family":"Kr\xF3j czcionki","Proportional Sans-Serif":"Bezszeryfowa, proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa, sta\u0142a odleg\u0142o\u015B\u0107 znak\xF3w","Proportional Serif":"Szeryfowa, proporcjonalna","Monospace Serif":"Szeryfowa, sta\u0142a odleg\u0142o\u015B\u0107 znak\xF3w","Casual":"Casual","Script":"Script","Small Caps":"Kapitaliki","Reset":"Ustawienia domy\u015Blne","restore all settings to the default values":"zresetuj wszystkie ustawienia do domy\u015Blnych warto\u015Bci","Done":"Gotowe","Caption Settings Dialog":"Okno dialogowe ustawie\u0144 transkrypcji","Beginning of dialog window. Escape will cancel and close the window.":"Pocz\u0105tek okna dialogowego. Klawisz Escape anuluje i zamyka okno.","End of dialog window.":"Koniec okna dialogowego.","{1} is loading.":"Wczytywanie pliku {1}.","Exit Picture-in-Picture":"Wyjd\u017A z trybu obraz w obrazie","Picture-in-Picture":"Obraz w obrazie","No content":"Brak zawarto\u015Bci"}'),"pt-BR":JSON.parse('{"Audio Player":"Reprodutor de \xE1udio","Video Player":"Reprodutor de v\xEDdeo","Play":"Tocar","Pause":"Pausar","Replay":"Tocar novamente","Current Time":"Tempo","Duration":"Dura\xE7\xE3o","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"AO
996VIVO","Loaded":"Carregado","Progress":"Progresso","Progress Bar":"Barra de progresso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Tela Cheia","Exit Fullscreen":"Tela Normal","Mute":"Mudo","Unmute":"Ativar o som","Playback Rate":"Velocidade","Subtitles":"Legendas","subtitles off":"Sem Legendas","Captions":"Anota\xE7\xF5es","captions off":"Sem Anota\xE7\xF5es","Chapters":"Cap\xEDtulos","Descriptions":"Descri\xE7\xF5es","descriptions off":"sem descri\xE7\xF5es","Audio Track":"Faixa de \xE1udio","Volume Level":"N\xEDvel de volume","You aborted the media playback":"Voc\xEA parou a execu\xE7\xE3o do v\xEDdeo.","A network error caused the media download to fail part-way.":"Um erro na rede causou falha durante o download da m\xEDdia.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"A m\xEDdia n\xE3o pode ser carregada, por uma falha de rede ou servidor ou o formato n\xE3o \xE9 suportado.","No compatible source was found for this media.":"Nenhuma fonte foi encontrada para esta m\xEDdia.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodu\xE7\xE3o foi interrompida devido \xE0 um problema de m\xEDdia corrompida ou porque a m\xEDdia utiliza fun\xE7\xF5es que seu navegador n\xE3o suporta.","The media is encrypted and we do not have the keys to decrypt it.":"A m\xEDdia est\xE1 criptografada e n\xE3o temos as chaves para descriptografar.","Play Video":"Tocar V\xEDdeo","Close":"Fechar","Close Modal Dialog":"Fechar Di\xE1logo Modal","Modal Window":"Janela Modal","This is a modal window":"Isso \xE9 uma janela-modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta janela pode ser fechada pressionando a tecla de Escape.",", opens captions settings dialog":", abre as configura\xE7\xF5es de legendas de coment\xE1rios",", opens subtitles settings dialog":", abre as configura\xE7\xF5es de legendas",", opens descriptions settings dialog":", abre as configura\xE7\xF5es",", selected":", selecionada","captions settings":"configura\xE7\xF5es de legendas de coment\xE1rios","subtitles settings":"configura\xE7\xF5es de legendas","descriptions settings":"configura\xE7\xF5es das descri\xE7\xF5es","Text":"Texto","White":"Branco","Black":"Preto","Red":"Vermelho","Green":"Verde","Blue":"Azul","Yellow":"Amarelo","Magenta":"Magenta","Cyan":"Ciano","Background":"Plano-de-Fundo","Window":"Janela","Transparent":"Transparente","Semi-Transparent":"Semi-Transparente","Opaque":"Opaco","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda","None":"Nenhum","Raised":"Elevado","Depressed":"Acachapado","Uniform":"Uniforme","Drop shadow":"Sombra de proje\xE7\xE3o","Font Family":"Fam\xEDlia da Fonte","Proportional Sans-Serif":"Sans-Serif(Sem serifa) Proporcional","Monospace Sans-Serif":"Sans-Serif(Sem serifa) Monoespa\xE7ada","Proportional Serif":"Serifa Proporcional","Monospace Serif":"Serifa Monoespa\xE7ada","Casual":"Casual","Script":"Script","Small Caps":"Mai\xFAsculas Pequenas","Reset":"Redefinir","restore all settings to the default values":"restaurar todas as configura\xE7\xF5es aos valores padr\xE3o","Done":"Salvar","Caption Settings Dialog":"Ca\xEDxa-de-Di\xE1logo das configura\xE7\xF5es de Legendas","Beginning of dialog window. Escape will cancel and close the window.":"Iniciando a Janela-de-Di\xE1logo. Pressionar Escape ir\xE1 cancelar e fechar a janela.","End of dialog window.":"Fim da Janela-de-Di\xE1logo","{1} is loading.":"{1} est\xE1 carregando.","Exit Picture-in-Picture":"Sair de Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}'),"pt-PT":JSON.parse('{"Play":"Reproduzir","Pause":"Parar","Replay":"Reiniciar","Current Time":"Tempo Atual","Duration":"Dura\xE7\xE3o","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"EM DIRETO","Loaded":"Carregado","Progress":"Progresso","Fullscreen":"Ecr\xE3 inteiro","Exit Fullscreen":"Ecr\xE3 normal","Mute":"Desativar som","Unmute":"Ativar som","Playback Rate":"Velocidade de reprodu\xE7\xE3o","Subtitles":"Legendas","subtitles off":"desativar legendas","Captions":"Anota\xE7\xF5es","captions off":"desativar anota\xE7\xF5es","Chapters":"Cap\xEDtulos","Close Mod
996al Dialog":"Fechar Janela Modal","Descriptions":"Descri\xE7\xF5es","descriptions off":"desativar descri\xE7\xF5es","Audio Track":"Faixa \xC1udio","You aborted the media playback":"Parou a reprodu\xE7\xE3o do v\xEDdeo.","A network error caused the media download to fail part-way.":"Um erro na rede fez o v\xEDdeo falhar parcialmente.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"O v\xEDdeo n\xE3o pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do v\xEDdeo n\xE3o \xE9 compat\xEDvel.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodu\xE7\xE3o foi interrompida por um problema com o v\xEDdeo ou porque o formato n\xE3o \xE9 compat\xEDvel com o seu navegador.","No compatible source was found for this media.":"N\xE3o foi encontrada uma fonte de v\xEDdeo compat\xEDvel.","The media is encrypted and we do not have the keys to decrypt it.":"O v\xEDdeo est\xE1 encriptado e n\xE3o h\xE1 uma chave para o desencriptar.","Play Video":"Reproduzir V\xEDdeo","Close":"Fechar","Modal Window":"Janela Modal","This is a modal window":"Isto \xE9 uma janela modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta modal pode ser fechada pressionando a tecla ESC ou ativando o bot\xE3o de fechar.",", opens captions settings dialog":", abre janela com defini\xE7\xF5es de legendas",", opens subtitles settings dialog":", abre janela com defini\xE7\xF5es de legendas",", opens descriptions settings dialog":", abre janela com defini\xE7\xF5es de descri\xE7\xF5es",", selected":", seleccionado","Skip backward {1} seconds":"Recuar de {1} segundos","Skip forward {1} seconds":"Avan\xE7ar de {1} segundos"}'),sk:JSON.parse('{"Audio Player":"Zvukov\xFD prehr\xE1va\u010D","Video Player":"Video prehr\xE1va\u010D","Play":"Prehra\u0165","Pause":"Pozastavi\u0165","Replay":"Prehra\u0165 znova","Current Time":"Aktu\xE1lny \u010Das","Duration":"\u010Cas trvania","Remaining Time":"Zost\xE1vaj\xFAci \u010Das","Stream Type":"Typ stopy","LIVE":"NA\u017DIVO","Loaded":"Na\u010D\xEDtan\xE9","Progress":"Priebeh","Progress Bar":"Ukazovate\u013E priebehu","progress bar timing: currentTime={1} duration={2}":"\u010Dasovanie ukazovate\u013Ea priebehu: currentTime={1} duration={2}","Fullscreen":"Re\u017Eim celej obrazovky","Exit Fullscreen":"Re\u017Eim norm\xE1lnej obrazovky","Mute":"Stlmi\u0165","Unmute":"Zru\u0161i\u0165 stlmenie","Playback Rate":"R\xFDchlos\u0165 prehr\xE1vania","Subtitles":"Titulky","subtitles off":"titulky vypnut\xE9","Captions":"Popisky","captions off":"popisky vypnut\xE9","Chapters":"Kapitoly","Descriptions":"Opisy","descriptions off":"opisy vypnut\xE9","Audio Track":"Zvukov\xE1 stopa","Volume Level":"\xDArove\u0148 hlasitosti","You aborted the media playback":"Preru\u0161ili ste prehr\xE1vanie","A network error caused the media download to fail part-way.":"S\u0165ahovanie s\xFAboru bolo zru\u0161en\xE9 pre chybu na sieti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"S\xFAbor sa nepodarilo na\u010D\xEDta\u0165 pre chybu servera, sie\u0165ov\xE9ho pripojenia, alebo je form\xE1t s\xFAboru nepodporovan\xFD.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Prehr\xE1vanie s\xFAboru bolo preru\u0161en\xE9 pre po\u0161koden\xE9 d\xE1ta, alebo s\xFAbor pou\u017E\xEDva vlastnosti, ktor\xE9 v\xE1\u0161 prehliada\u010D nepodporuje.","No compatible source was found for this media.":"Nebol n\xE1jden\xFD \u017Eiaden kompatibiln\xFD zdroj pre tento s\xFAbor.","The media is encrypted and we do not have the keys to decrypt it.":"S\xFAbor je za\u0161ifrovan\xFD a nie je k dispoz\xEDcii k\u013E\xFA\u010D na roz\u0161ifrovanie.","Play Video":"Prehra\u0165 video","Close":"Zatvori\u0165","Close Modal Dialog":"Zatvori\u0165 mod\xE1lne okno","Modal Window":"Mod\xE1lne okno","This is a modal window":"Toto je mod\xE1lne okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto mod\xE1lne okno je mo\u017En\xE9 zatvori\u0165 stla\u010Den\xEDm kl\xE1vesy Escape, alebo aktivovan\xEDm tla\u010Didla na zatvorenie.",", opens captions settings dialog":", otvor\xED okno nastaven\xED popiskov",", opens subtitles settings dialog":", otvor\xED okno nastaven\xED titulkov",", opens descriptions settings dialog":", otvor\xED okno nastaven\xED opisov",", selected":", ozna\u010Den\xE9","captions settings":"nastavenia popiskov","subtitles settings":"nastavenia titulkov","descriptions settings":"nastavenia opisov","Text":"Text","White":"Biela","Black":"\u010Cierna","Red":"\u010Cerven\xE1","Green":"Zelen\xE1","Blue":"Modr\xE1","Yellow":"\u017Dlt\xE1","Magenta":"Ru\u017Eov\xE1","Cyan":"Tyrkysov\xE1","Backgroun
996d":"Pozadie","Window":"Okno","Transparent":"Priesvitn\xE9","Semi-Transparent":"Polopriesvitn\xE9","Opaque":"Pln\xE9","Font Size":"Ve\u013Ekos\u0165 p\xEDsma","Text Edge Style":"Typ okrajov p\xEDsma","None":"\u017Diadne","Raised":"Zv\xFD\u0161en\xE9","Depressed":"Zn\xED\u017Een\xE9","Uniform":"Pravideln\xE9","Dropshadow":"S tie\u0148om","Font Family":"Typ p\xEDsma","Proportional Sans-Serif":"Propor\u010Dn\xE9 bezp\xE4tkov\xE9","Monospace Sans-Serif":"Pravideln\xE9, bezp\xE4tkov\xE9","Proportional Serif":"Propor\u010Dn\xE9 p\xE4tkov\xE9","Monospace Serif":"Pravideln\xE9 p\xE4tkov\xE9","Casual":"Be\u017En\xE9","Script":"P\xEDsan\xE9","Small Caps":"Mal\xE9 kapit\xE1lky","Reset":"Resetova\u0165","restore all settings to the default values":"v\u0161etky nastavenia na z\xE1kladn\xE9 hodnoty","Done":"Hotovo","Caption Settings Dialog":"Okno nastaven\xED popiskov","Beginning of dialog window. Escape will cancel and close the window.":"Za\u010Diatok okna. Kl\xE1vesa Escape zru\u0161\xED a zavrie okno.","End of dialog window.":"Koniec okna.","{1} is loading.":"{1} sa na\u010D\xEDta."}'),tr:JSON.parse('{"Audio Player":"Ses Oynat\u0131c\u0131s\u0131","Video Player":"Video Oynat\u0131c\u0131s\u0131","Play":"Oynat","Pause":"Duraklat","Replay":"Yeniden Oynat","Current Time":"S\xFCre","Duration":"Toplam S\xFCre","Remaining Time":"Kalan S\xFCre","Stream Type":"Yay\u0131n Tipi","LIVE":"CANLI","Seek to live, currently behind live":"Canl\u0131ya git, \u
996015Fu anda canl\u0131n\u0131n gerisinde","Seek to live, currently playing live":"Canl\u0131ya git, \u015Fu anda canl\u0131 oynuyor","Loaded":"Y\xFCklendi","Progress":"Y\xFCkleniyor","Progress Bar":"\u0130lerleme \xC7ubu\u011Fu","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","Fullscreen":"Tam Ekran","Exit Fullscreen":"Tam Ekrandan \xC7\u0131k","Mute":"Sessiz","Unmute":"Sesi A\xE7","Playback Rate":"Oynatma H\u0131z\u0131","Subtitles":"Altyaz\u0131lar","subtitles off":"Altyaz\u0131 Kapal\u0131","Captions":"Altyaz\u0131lar","captions off":"Altyaz\u0131 Kapal\u0131","Chapters":"B\xF6l\xFCmler","Close Modal Dialog":"Etkile\u015Fim Penceresini Kapat","Descriptions":"A\xE7\u0131klamalar","descriptions off":"a\xE7\u0131klamalar kapal\u0131","Audio Track":"Ses Par\xE7as\u0131","Volume Level":"Ses D\xFCzeyi","You aborted the media playback":"Medyay\u0131 oynatmay\u0131 iptal ettiniz","A network error caused the media download to fail part-way.":"Medya indirme i\u015Fleminin k\u0131smen ba\u015Far\u0131s\u0131z olmas\u0131na neden olan bir a\u011F sorunu olu\u015Ftu.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Sunucu veya a\u011F hatas\u0131ndan ya da bi\xE7im desteklenmedi\u011Finden medya y\xFCklenemedi.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Medya oynatma, bir bozulma sorunu nedeniyle veya medya, taray\u0131c\u0131n\u0131z\u0131n desteklemedi\u011Fi \xF6zellikleri kulland\u0131\u011F\u0131 i\xE7in durduruldu.","No compatible source was found for this media.":"Bu medya i\xE7in uyumlu bir kaynak bulunamad\u0131.","The media is encrypted and we do not have the keys to decrypt it.":"Medya, \u015Fifrelenmi\u015F bir kaynaktan geliyor ve oynatmak i\xE7in gerekli anahtar bulunamad\u0131.","Play Video":"Videoyu Oynat","Close":"Kapat","Modal Window":"Etkile\u015Fim Penceresi","This is a modal window":"Bu bir etkile\u015Fim penceresidir","This modal can be closed by pressing the Escape key or activating the close button.":"Bu etkile\u015Fim penceresi ESC tu\u015Funa basarak ya da kapat butonuna t\u0131klanarak kapat\u0131labilir.",", opens captions settings dialog":", altyaz\u0131 ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", opens subtitles settings dialog":", altyaz\u0131 ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", opens descriptions settings dialog":", a\xE7\u0131klama ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", selected":", se\xE7ildi","captions settings":"altyaz\u0131 ayarlar\u0131","subtitles settings":"altyaz\u0131 ayarlar\u0131","descriptions settings":"a\xE7\u0131klama ayarlar\u0131","Text":"Metin","White":"Beyaz","Black":"Siyah","Red":"K\u0131rm\u0131z\u0131","Green":"Ye\u015Fil","Blue":"Mavi","Yellow":"Sar\u0131","Magenta":"Macenta","Cyan":"A\xE7\u0131k Mavi (Camg\xF6be\u011Fi)","Background":"Arka plan","Window":"Pencere","Transparent":"Saydam","Semi-Transparent":"Yar\u0131-Saydam","Opaque":"Mat","Font Size":"Metin Boyutu","Text Edge Style":"Metin Kenar Stili","None":"Hi\xE7biri","Raised":"Kabar\u0131k","Depressed":"Yass\u0131","Uniform":"D\xFCz","Drop shadow":"G\xF6lgeli","Font Family":"Yaz\u0131 Tipi","Proportional Sans-Serif":"Orant\u0131l\u0131 Sans-Serif","Monospace Sans-Serif":"E\u015Faral\u0131kl\u0131 Sans-Serif","Proportional Serif":"Orant\u0131l\u0131 Serif","Monospace Serif":"E\u015Faral\u0131kl\u0131 Serif","Casual":"G\xFCndelik","Script":"El Yaz\u0131s\u0131","Small Caps":"K\xFC\xE7\xFCk Boyutlu B\xFCy\xFCk Harfli","Reset":"S\u0131f\u0131rla","restore all settings to the default values":"t\xFCm ayarlar\u0131 varsay\u0131lan de\u011Ferlere geri y\xFCkler","Done":"Tamam","Caption Settings Dialog":"Altyaz\u0131 Ayarlar\u0131 Men\xFCs\xFC","Beginning of dialog window. Escape will cancel and close the window.":"Etkile\u015Fim penceresinin ba\u015Flang\u0131c\u0131. ESC tu\u015Fu i\u015Flemi iptal edip pencereyi kapatacakt\u0131r.","End of dialog window.":"Etkile\u015Fim penceresinin sonu.","{1} is loading.":"{1} y\xFCkleniyor.","Exit Picture-in-Picture":"Mini oynat\u0131c\u0131dan \xE7\u0131k","Picture-in-Picture":"Mini oynat\u0131c\u0131","No content":"\u0130\xE7erik yok"}'),"zh-CN":JSON.parse('{"Play":"\u64AD\u653E","Pause":"\u6682\u505C","Current Time":"\u5F53\u524D\u65F6\u95F4","Duration":"\u65F6\u957F","Remaining Time":"\u5269\u4F59\u65F6\u95F4","Stream Type":"\u5A92\u4F53\u6D41\u7C7B\u578B","LIVE":"\u76F4\u64AD","Loa
996ded":"\u52A0\u8F7D\u5B8C\u6210","Progress":"\u8FDB\u5EA6","Fullscreen":"\u5168\u5C4F","Exit Fullscreen":"\u9000\u51FA\u5168\u5C4F","Picture-in-Picture":"\u753B\u4E2D\u753B","Exit Picture-in-Picture":"\u9000\u51FA\u753B\u4E2D\u753B","Mute":"\u9759\u97F3","Unmute":"\u5F00\u542F\u97F3\u6548","Playback Rate":"\u64AD\u653E\u901F\u5EA6","Subtitles":"\u5B57\u5E55","subtitles off":"\u5173\u95ED\u5B57\u5E55","Captions":"\u5185\u5D4C\u5B57\u5E55","captions off":"\u5173\u95ED\u5185\u5D4C\u5B57\u5E55","Chapters":"\u8282\u76EE\u6BB5\u843D","Close Modal Dialog":"\u5173\u95ED\u5F39\u7A97","Descriptions":"\u63CF\u8FF0","descriptions off":"\u5173\u95ED\u63CF\u8FF0","Audio Track":"\u97F3\u8F68","You aborted the media playback":"\u89C6\u9891\u64AD\u653E\u88AB\u7EC8\u6B62","A network error caused the media download to fail part-way.":"\u7F51\u7EDC\u9519\u8BEF\u5BFC\u81F4\u89C6\u9891\u4E0B\u8F7D\u4E2D\u9014\u5931\u8D25\u3002","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u89C6\u9891\u56E0\u683C\u5F0F\u4E0D\u652F\u6301\u6216\u8005\u670D\u52A1\u5668\u6216\u7F51\u7EDC\u7684\u95EE\u9898\u65E0\u6CD5\u52A0\u8F7D\u3002","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7531\u4E8E\u89C6\u9891\u6587\u4EF6\u635F\u574F\u6216\u662F\u8BE5\u89C6\u9891\u4F7F\u7528\u4E86\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u7684\u529F\u80FD\uFF0C\u64AD\u653E\u7EC8\u6B62\u3002","No compatible source was found for this media.":"\u65E0\u6CD5\u627E\u5230\u6B64\u89C6\u9891\u517C\u5BB9\u7684\u6E90\u3002","The media is encrypted and we do not have the keys to decrypt it.":"\u89C6\u9891\u5DF2\u52A0\u5BC6\uFF0C\u65E0\u6CD5\u89E3\u5BC6\u3002","Play Video":"\u64AD\u653E\u89C6\u9891","Close":"\u5173\u95ED","Modal Window":"\u5F39\u7A97","This is a modal window":"\u8FD9\u662F\u4E00\u4E2A\u5F39\u7A97","This modal can be closed by pressing the Escape key or activating the close button.":"\u53EF\u4EE5\u6309ESC\u6309\u952E\u6216\u542F\u7528\u5173\u95ED\u6309\u94AE\u6765\u5173\u95ED\u6B64\u5F39\u7A97\u3002",", opens captions settings dialog":", \u5F00\u542F\u6807\u9898\u8BBE\u7F6E\u5F39\u7A97",", opens subtitles settings dialog":", \u5F00\u542F\u5B57\u5E55\u8BBE\u7F6E\u5F39\u7A97",", opens descriptions settings dialog":", \u5F00\u542F\u63CF\u8FF0\u8BBE\u7F6E\u5F39\u7A97",", selected":", \u9009\u62E9","captions settings":"\u5B57\u5E55\u8BBE\u5B9A","Audio Player":"\u97F3\u9891\u64AD\u653E\u5668","Video Player":"\u89C6\u9891\u64AD\u653E\u5668","Replay":"\u91CD\u65B0\u64AD\u653E","Progress Bar":"\u8FDB\u5EA6\u6761","Volume Level":"\u97F3\u91CF","subtitles settings":"\u5B57\u5E55\u8BBE\u5B9A","descriptions settings":"\u63CF\u8FF0\u8BBE\u5B9A","Text":"\u6587\u5B57","White":"\u767D","Black":"\u9ED1","Red":"\u7EA2","Green":"\u7EFF","Blue":"\u84DD","Yellow":"\u9EC4","Magenta":"\u7D2B\u7EA2","Cyan":"\u9752","Background":"\u80CC\u666F","Window":"\u7A97\u53E3","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u5B57\u4F53\u5C3A\u5BF8","Text Edge Style":"\u5B57\u4F53\u8FB9\u7F18\u6837\u5F0F","None":"\u65E0","Raised":"\u6D6E\u96D5","Depressed":"\u538B\u4F4E","Uniform":"\u5747\u5300","Dropshadow":"\u4E0B\u9634\u5F71","Font Family":"\u5B57\u4F53\u5E93","Proportional Sans-Serif":"\u6BD4\u4F8B\u65E0\u7EC6\u4F53","Monospace Sans-Serif":"\u5355\u95F4\u9694\u65E0\u7EC6\u4F53","Proportional Serif":"\u6BD4\u4F8B\u7EC6\u4F53","Monospace Serif":"\u5355\u95F4\u9694\u7EC6\u4F53","Casual":"\u8212\u9002","Script":"\u624B\u5199\u4F53","Small Caps":"\u5C0F\u578B\u5927\u5199\u5B57\u4F53","Reset":"\u91CD\u7F6E","restore all settings to the default values":"\u6062\u590D\u5168\u90E8\u8BBE\u5B9A\u81F3\u9884\u8BBE\u503C","Done":"\u5B8C\u6210","Caption Settings Dialog":"\u5B57\u5E55\u8BBE\u5B9A\u7A97\u53E3","Beginning of dialog window. Escape will cancel and close the window.":"\u6253\u5F00\u5BF9\u8BDD\u7A97\u53E3\u3002Escape\u952E\u5C06\u53D6\u6D88\u5E76\u5173\u95ED\u5BF9\u8BDD\u7A97\u53E3","End of dialog window.":"\u7ED3\u675F\u5BF9\u8BDD\u7A97\u53E3","Seek to live, currently behind live":"\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5EF6\u65F6\u64AD\u653E","Seek to live, currently playing live":"\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5B9E\u65F6\u64AD\u653E","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"\u6B63\u5728\u52A0\u8F7D {1}\u3002","No content":"\u65E0\u5185\u5BB9","Color":"\u989C\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Backgroun
996d":"\u6587\u672C\u80CC\u666F","Caption Area Background":"\u5B57\u5E55\u533A\u57DF\u80CC\u666F","Skip forward {1} seconds":"\u5FEB\u8FDB {1} \u79D2","Skip backward {1} seconds":"\u5FEB\u9000 {1} \u79D2"}'),"zh-TW":JSON.parse('{"Play":"\u64AD\u653E","Pause":"\u66AB\u505C","Current Time":"\u76EE\u524D\u6642\u9593","Duration":"\u7E3D\u5171\u6642\u9593","Remaining Time":"\u5269\u9918\u6642\u9593","Stream Type":"\u4E32\u6D41\u985E\u578B","LIVE":"\u76F4\u64AD","Loaded":"\u8F09\u5165\u5B8C\u7562","Progress":"\u9032\u5EA6","Fullscreen":"\u5168\u87A2\u5E55","Exit Fullscreen":"\u9000\u51FA\u5168\u87A2\u5E55","Mute":"\u975C\u97F3","Unmute":"\u958B\u555F\u97F3\u6548","Playback Rate":" \u64AD\u653E\u901F\u7387","Subtitles":"\u5B57\u5E55","subtitles off":"\u95DC\u9589\u5B57\u5E55","Captions":"\u5167\u5D4C\u5B57\u5E55","captions off":"\u95DC\u9589\u5167\u5D4C\u5B57\u5E55","Chapters":"\u7AE0\u7BC0","Close Modal Dialog":"\u95DC\u9589\u5C0D\u8A71\u6846","Descriptions":"\u63CF\u8FF0","descriptions off":"\u95DC\u9589\u63CF\u8FF0","Audio Track":"\u97F3\u8ECC","You aborted the media playback":"\u5F71\u7247\u64AD\u653E\u5DF2\u7D42\u6B62","A network error caused the media download to fail part-way.":"\u7DB2\u8DEF\u932F\u8AA4\u5C0E\u81F4\u5F71\u7247\u4E0B\u8F09\u5931\u6557\u3002","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u56E0\u683C\u5F0F\u4E0D\u652F\u63F4\u3001\u4F3A\u670D\u5668\u6216\u7DB2\u8DEF\u7684\u554F\u984C\u7121\u6CD5\u8F09\u5165\u5A92\u9AD4\u3002","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7531\u65BC\u5F71\u7247\u6A94\u6848\u640D\u6BC0\u6216\u662F\u8A72\u5F71\u7247\u4F7F\u7528\u4E86\u60A8\u7684\u700F\u89BD\u5668\u4E0D\u652F\u63F4\u7684\u529F\u80FD\uFF0C\u5DF2\u7D42\u6B62\u64AD\u653E\u5A92\u9AD4\u3002","No compatible source was found for this media.":"\u7121\u6CD5\u627E\u5230\u76F8\u5BB9\u6B64\u5A92\u9AD4\u7684\u4F86\u6E90\u3002","The media is encrypted and we do not have the keys to decrypt it.":"\u5A92\u9AD4\u5DF2\u52A0\u5BC6\uFF0C\u7121\u6CD5\u89E3\u5BC6\u3002","Play Video":"\u64AD\u653E\u5F71\u7247","Close":"\u95DC\u9589","Modal Window":"\u5F37\u5236\u56DE\u61C9\u8996\u7A97","This is a modal window":"\u6B64\u70BA\u5F37\u5236\u56DE\u61C9\u8996\u7A97","This modal can be closed by pressing the Escape key or activating the close button.":"\u53EF\u4EE5\u6309ESC\u6309\u9375\u6216\u95DC\u9589\u6309\u9215\u4F86\u95DC\u9589\u6B64\u8996\u7A97\u3002",", opens captions settings dialog":", \u958B\u555F\u6A19\u984C\u8A2D\u5B9A\u5C0D\u8A71\u6846",", opens subtitles settings dialog":", \u958B\u555F\u5B57\u5E55\u8A2D\u5B9A\u5C0D\u8A71\u6846",", opens descriptions settings dialog":", \u958B\u555F\u63CF\u8FF0\u8A2D\u5B9A\u5C0D\u8A71\u6846",", selected":", \u9078\u64C7","captions settings":"\u5B57\u5E55\u8A2D\u5B9A","Audio Player":"\u97F3\u8A0A\u64AD\u653E\u5668","Video Player":"\u8996\u8A0A\u64AD\u653E\u5668","Replay":"\u91CD\u64AD","Progress Bar":"\u9032\u5EA6\u5217","Volume Level":"\u97F3\u91CF","subtitles settings":"\u5B57\u5E55\u8A2D\u5B9A","descriptions settings":"\u63CF\u8FF0\u8A2D\u5B9A","Text":"\u6587\u5B57","White":"\u767D","Black":"\u9ED1","Red":"\u7D05","Green":"\u7DA0","Blue":"\u85CD","Yellow":"\u9EC3","Magenta":"\u7D2B\u7D05","Cyan":"\u9752","Background":"\u80CC\u666F","Window":"\u8996\u7A97","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u5B57\u578B\u5C3A\u5BF8","Text Edge Style":"\u5B57\u578B\u908A\u7DE3\u6A23\u5F0F","None":"\u7121","Raised":"\u6D6E\u96D5","Depressed":"\u58D3\u4F4E","Uniform":"\u5747\u52FB","Drop shadow":"\u4E0B\u9670\u5F71","Font Family":"\u5B57\u578B\u7CFB\u5217","Proportional Sans-Serif":"\u8ABF\u548C\u9593\u8DDD\u7121\u896F\u7DDA\u5B57\u578B","Monospace Sans-Serif":"\u7B49\u5BEC\u7121\u896F\u7DDA\u5B57\u578B","Proportional Serif":"\u8ABF\u548C\u9593\u8DDD\u896F\u7DDA\u5B57\u578B","Monospace Serif":"\u7B49\u5BEC\u896F\u7DDA\u5B57\u578B","Casual":"\u8F15\u4FBF\u7684","Script":"\u624B\u5BEB\u9AD4","Small Caps":"\u5C0F\u578B\u5927\u5BEB\u5B57\u9AD4","Reset":"\u91CD\u7F6E","restore all settings to the default values":"\u6062\u5FA9\u5168\u90E8\u8A2D\u5B9A\u81F3\u9810\u8A2D\u503C","Done":"\u5B8C\u6210","Caption Settings Dialog":"\u5B57\u5E55\u8A2D\u5B9A\u5C0D\u8A71\u6846","Beginning of dialog window. Escape will cancel and close the window.":"\u958B\u59CB\u5C0D\u8A71\u8996\u7A97\u3002\u96E2\u958B\u6703\u53D6\u6D88\u4E26\u95DC\u9589\u8996\u7A97","End of dialog window.":"\u7D50\u675F\u5C0D\u8A71\u8996\u7A97","Seek to live, currently behind live":"\u5FEB\u8F49\u81F3\u76F4\u64AD\uFF0C\u76EE\u524D\u70BA\u7A0D\u65E9\u756B\u9762","Seek to live, currently playing live":"\u5FEB\u8F49\u81F3\u76F4\u64AD\uFF0C\u76EE\u524D\u70BA\u73FE\u5834\u756B\u9762","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"{1} \u6B63\u5728\u8F09\u5165\u3002","Exit Picture-in-Picture":"\u96E2\u958B\u5B50\u6BCD\u756B\u9762","Playing in Picture-in-Picture":"\u5728\u5B50\u6BCD\u756B\u9762\u4E2D\u64AD\u653E","Picture-in-Picture":"\u5B50\u6BCD\u756B\u9762","No content":"\u6C92\u6709\u5167\u5BB9","Color":"\u984F\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Backgroun
996d":"\u6587\u5B57\u80CC\u666F","Caption Area Background":"\u5B57\u5E55\u5340\u57DF\u80CC\u666F","Skip forward {1} seconds":"\u5FEB\u8F49 {1} \u79D2","Skip backward {1} seconds":"\u5012\u8F49 {1} \u79D2"}')};function iv(p){return p in c1}function sv(p){return c1[p]}function av({labelCaptions:p,labelCaptionsOff:t,labelCurrentTime:o,labelDuration:c,labelExitFullscreen:y,labelExitPictureInPicture:w,labelFullscreen:R,labelMute:G,labelPause:ue,labelPictureInPicture:Te,labelPlay:Ke,labelPlayVideo:St,labelPlaybackRate:sr,labelRemainingTime:wr,labelSeek:Vr,labelUnmute:_t,labelVolume:On,language:Tn,player:gn}){(0,r.useEffect)(()=>{if(gn==null)return;const en=Tn!=null&&Tn!==""?Tn:"en",Fn=Object.fromEntries(Object.entries({Captions:p,"captions off":t,"Current Time":o,Duration:c,"Exit Fullscreen":y,"Exit Picture-in-Picture":w,Fullscreen:R,Mute:G,Pause:ue,"Picture-in-Picture":Te,Play:Ke,"Play Video":St,"Playback Rate":sr,"Progress Bar":Vr,"Remaining Time":wr,Unmute:_t,"Volume Level":On}).filter(([,go])=>go!=null)),bi={...iv(en)?sv(en):{},...Fn};Object.keys(bi).length>0&&Ot.addLanguage(en,bi),gn.language(en),gn.trigger("languagechange");const Vn=gn.getChild("ControlBar"),Oi=[{name:"CurrentTimeDisplay",label:o,key:"Current Time"},{name:"DurationDisplay",label:c,key:"Duration"},{name:"RemainingTimeDisplay",label:wr,key:"Remaining Time"}];for(const{name:go,label:Ko,key:_o}of Oi){const Js=Vn?.getChild(go)?.el()?.querySelector(".vjs-control-text");if(Js!=null){const Ao=Ko!=null&&Ko!==""?Ko:gn.localize(_o);Js.textContent=`${Ao}\xA0`}}const ha=On!=null&&On!==""?On:gn.localize("Volume Level");Vn?.getChild("volumePanel")?.getChild("volumeControl")?.getChild("volumeBar")?.el()?.setAttribute("aria-label",ha)},[p,t,o,c,y,w,R,G,ue,Te,Ke,St,sr,wr,Vr,_t,On,Tn,gn])}function ov({player:p}){r.useEffect(()=>{if(p==null)return;const t=p.getChild("ControlBar"),o=d1(t,"PlaybackRateMenuButton"),c=d1(t,"SubsCapsButton");return()=>{o?.(),c?.()}},[p])}function d1(p,t){const c=p?.getChild(t)?.el()?.querySelector("button");if(c==null)return null;const y=w=>{if(w.key!=="ArrowUp"&&w.key!=="ArrowDown")return;c.getAttribute("aria-expanded")==="true"||(w.preventDefault(),w.stopPropagation(),c.click())};return c.addEventListener("keydown",y),()=>{c.removeEventListener("keydown",y)}}function uv({onPause:p,onPlay:t,player:o}){r.useEffect(()=>{if(o==null)return;const c=()=>{t?.()},y=()=>{const w=o.currentTime()??0,R=o.duration()??0;let G=0;R>
9960&&(G=o.ended()?100:w/R*100),p?.({currentTime:w,duration:R,percentComplete:G})};return o.on("play",c),o.on("pause",y),()=>{o.off("play",c),o.off("pause",y)}},[o,t,p])}function lv({enablePlaybackSpeed:p,onLoad:t,options:o,playbackRates:c,preload:y,videoRef:w}){const R=r.useRef(null),[G,ue]=r.useState(!1);return r.useEffect(()=>{const Te=w.current;if(Te==null||R.current!=null)return;R.current=Ot(Te,o,function(){ue(!0)});const Ke=R.current,St=()=>{t?.()};return Ke.one("loadedmetadata",St),()=>{R.current!=null&&!R.current.isDisposed()&&(Ke.off("loadedmetadata",St),R.current.dispose(),R.current=null),ue(!1)}},[]),r.useEffect(()=>{const Te=R.current;Te==null||Te.isDisposed()||(y!=null&&Te.preload(y),Te.playbackRates(p?c:[]))},[G,p,c,y]),G?R.current:null}function cv({enableSeek:p,onPlayheadSave:t,onTimeUpdate:o,player:c,playheadSaveInterval:y,timeUpdateInterval:w}){const R=r.useRef(0),G=r.useRef(0),ue=r.useRef(-1/0),Te=r.useRef(-1/0),Ke=r.useRef(0),St=r.useRef(0),sr=r.useRef(void 0),wr=r.useRef(o),Vr=r.useRef(t);r.useEffect(()=>{wr.current=o,Vr.current=t});const _t=r.useCallback(en=>{if(c==null)return;const Fn=c.duration()??0,Pn=Math.max(0,Math.min(en,Fn));Pn>R.current&&(R.current=Pn),G.current=Pn,Ke.current=Pn,St.current=Fn,c.hasStarted()?c.currentTime(Pn):(c.play()?.catch(()=>{}),c.currentTime(Pn),c.pause())},[c]),On=r.useCallback(en=>{if(c==null)return;const Pn=(c.duration()??0)*Math.max(0,Math.min(en,100))/100;_t(Pn)},[c,_t]),Tn=r.useCallback(()=>{c?.play()?.catch(()=>{})},[c]),gn=r.useCallback(()=>{c?.pause()},[c]);return r.useEffect(()=>{if(c==null)return;let en=null,Fn,Pn;const bi=()=>{en!=null&&(en.classList.add("show-denied"),clearTimeout(sr.current),sr.current=setTimeout(()=>{en?.classList.remove("show-denied"),sr.current=void 0},1200))};if(!p){const Js=c.getChild("ControlBar")?.getChild("ProgressControl");if(Pn=Js?.getChild("SeekBar"),en=document.createElement("div"),en.setAttribute("aria-hidden","true"),en.className="video-seek-denied-icon",Js?.el()?.appendChild(en),Pn?.handleMouseMove!=null){const xo=Pn;Fn=xo.handleMouseMove.bind(xo),xo.handleMouseMove=gl=>{const uc=c.duration()??0;if(uc===0){Fn?.(gl);return}const ef=xo.calculateDistance(gl)*uc,ld=R.current;if(ef>ld){const tf=ld===uc?ld-.1:ld;c.currentTime(tf),bi()}else Fn?.(gl)}}}const Vn=()=>{if(c==null||c.isDisposed())return;const Js=c.currentTime()??0,Ao=c.duration()??0;if(Ke.current=Js,St.current=Ao,!c.seeking()&&c.scrubbing()!==!0&&(G.current=Js,Js>R.current&&(R.current=Js),!c.paused()&&sr.current!==void 0&&(clearTimeout(sr.current),sr.current=void 0,en?.classList.remove("show-denied"))),wr.current!=null&&Ao>0&&w>0){const xo=Js*1e3;if(xo-ue.current>=w){ue.current=xo;const uc=c.ended()?100:Js/Ao*100;wr.current({currentTime:Js,duration:Ao,percentComplete:uc})}}if(Vr.current!=null&&Ao>0&&y>0&&!c.paused()&&!c.seeking()){const xo=Js*1e3;if(xo-Te.current>=y){Te.current=xo;const uc=c.ended()?100:Js/Ao*100;Vr.current(Math.round(uc))}}},Oi=()=>{if(wr.current==null)return;const Js=c!=null&&!c.isDisposed(),Ao=Js?c.currentTime()??0:Ke.current,xo=Js?c.duration()??0:St.current;if(xo>0){const gl=Js&&c.ended()?100:Ao/xo*100;wr.current({currentTime:Ao,duration:xo,percentComplete:gl})}},ha=()=>{if(Vr.current==null)return;const Js=c!=null&&!c.isDisposed(),Ao=Js?c.currentTime()??0:Ke.current,xo=Js?c.duration()??0:St.current;if(xo>0){const gl=Js&&c.ended()?100:Ao/xo*100;Vr.current(Math.round(gl))}},go=()=>{if(c==null||c.isDisposed())return;const Js=c.currentTime()??0,Ao=Js-G.current;!p&&Ao>.01&&Js>R.current&&(c.paused()||c.pause(),c.currentTime(R.current),G.current=R.current,bi())},Ko=()=>{const Js=c?.currentTime()??0;ue.current=Js*1e3,Oi(),ha()},_o=()=>{Oi(),ha()},Vs=()=>{Oi(),ha(),Ke.current=St.current,G.current=0};return c.on("timeupdate",Vn),c.on("seeking",go),c.on("seeked",Ko),c.on("pause",_o),c.on("ended",Vs),()=>{ha(),Oi(),clearTimeout(sr.current),Pn!=null&&Fn!=null&&(Pn.handleMouseMove=Fn),en?.remove(),c.isDisposed()||(c.off("timeupdate",Vn),c.off("seeking",go),c.off("seeked",K
996o),c.off("pause",_o),c.off("ended",Vs))}},[p,y,c,w]),{pause:gn,play:Tn,seekToPercent:On,seekToTime:_t}}function dv({player:p,videoRef:t}){return r.useCallback(()=>{const o=t.current;if(p==null||o==null)throw new Error("Video player not initialized");const c=document.createElement("canvas"),y=c.getContext("2d"),w=p.videoHeight(),R=p.videoWidth();return c.width=R,c.height=w,y?.drawImage(o,0,0,R,w),c.toDataURL("image/png")},[p,t])}const Mg={controls:!0,controlBar:{children:["playToggle","timeDivider","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle","volumePanel"],remainingTimeDisplay:!0,volumePanel:{inline:!0}},playbackRates:[.5,.75,1,1.25,1.5,1.75,2],preload:"auto",textTrackSettings:!1},f1=r.forwardRef(({crossOrigin:p,enableContextMenu:t=!1,enablePlaybackSpeed:o=!0,enableSeek:c=!0,inert:y,labelCaptions:w,labelCaptionsOff:R,labelContainer:G,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:Ke,labelExitPictureInPicture:St,labelFullscreen:sr,labelMute:wr,labelPause:Vr,labelPictureInPicture:_t,labelPlay:On,labelPlayVideo:Tn,labelPlaybackRate:gn,labelRemainingTime:en,labelSeek:Fn,labelSeekDisabled:Pn,labelUnmute:bi,labelVolume:Vn,language:Oi="en",onLoad:ha,onPause:go,onPlay:Ko,onPlayheadSave:_o,onTimeUpdate:Vs,playheadSaveInterval:Js=15e3,poster:Ao,preload:xo,style:gl,timeUpdateInterval:uc=1e3,children:ef},ld)=>{const tf=r.useRef(null),rf=r.useRef(null),$h=r.useMemo(()=>{const gp={};return o||(gp.playbackRates=[]),xo!=null&&(gp.preload=xo),document.pictureInPictureEnabled||(gp.controlBar={...Mg.controlBar,children:Mg.controlBar.children.filter(kg=>kg!=="pictureInPictureToggle")}),{...Mg,...gp}},[o,xo]),Gl=lv({enablePlaybackSpeed:o,onLoad:ha,options:$h,playbackRates:$h.playbackRates??[],preload:xo,videoRef:rf}),Vp=dv({player:Gl,videoRef:rf}),{pause:Gp,play:Y0,seekToTime:X0,seekToPercent:Q0}=cv({enableSeek:c,onPlayheadSave:_o,onTimeUpdate:Vs,player:Gl,playheadSaveInterval:Js,timeUpdateInterval:uc});return av({labelCaptions:w,labelCaptionsOff:R,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:Ke,labelExitPictureInPicture:St,labelFullscreen:sr,labelMute:wr,labelPause:Vr,labelPictureInPicture:_t,labelPlay:On,labelPlayVideo:Tn,labelPlaybackRate:gn,labelRemainingTime:en,labelSeek:Fn,labelUnmute:bi,labelVolume:Vn,language:Oi,player:Gl}),uv({onPlay:Ko,onPause:go,player:Gl}),x({enableContextMenu:t,player:Gl}),ov({player:Gl}),T({children:ef,player:Gl,videoRef:rf}),l({player:Gl}),a({player:Gl}),u({labelPlaybackRate:gn,player:Gl}),v({player:Gl}),h({player:Gl}),s({player:Gl}),m({player:Gl}),g({enableSeek:c,labelSeek:Fn,labelSeekDisabled:Pn,player:Gl}),r.useImperativeHandle(ld,()=>({containerElement:tf.current,pause:Gp,play:Y0,seekToPercent:Q0,seekToTime:X0,snapshot:Vp}),[Gp,Y0,Q0,X0,Vp]),(0,n.jsx)("div",{"aria-label":G,className:"video-container",ref:tf,role:"group",style:gl,...y!==void 0&&{inert:y},children:(0,n.jsx)("video",{className:"video-js vjs-default-skin",crossOrigin:p,poster:Ao,ref:rf,children:_(ef)})})});f1.displayName="VideoPlayer"},18526(f,d,e){"use strict";e.d(d,{eBw:()=>gf,k_s:()=>we,aOL:()=>se,u33:()=>Ht,cAr:()=>ir,mrj:()=>ut,BlA:()=>id,eKG:()=>hf,d9Z:()=>jf,$Wv:()=>zu,_D9:()=>fe,vSk:()=>Qs,n8i:()=>Ts,WHl:()=>Ih,CXD:()=>Qu,Hck:()=>Vl,m91:()=>Ad,_FT:()=>Gd,PbZ:()=>Ls,B3m:()=>Ec,thO:()=>Cd,Y0:()=>qf,Qzd:()=>eh,ylx:()=>$f,ZfR:()=>Gh,HL2:()=>_h,GAO:()=>Ah,evW:()=>Ch,j7p:()=>kf,fQW:()=>Dl,$zI:()=>rh,lYD:()=>Ph,Tot:()=>yf,aeh:()=>ah,AGQ:()=>Bu,iYA:()=>Xc,Wo_:()=>ea,D2B:()=>Nf,gCZ:()=>Mh,Nke:()=>su,JxH:()=>Vf,aCm:()=>Ea,YEc:()=>vu,hJT:()=>Zc,sMs:()=>gu,Mik:()=>Mf,b2U:()=>Pp,j0T:()=>ip,J6u:()=>uh,qMG:()=>Bh,GYN:()=>Uh,Mb1:()=>oc,npW:()=>np,Z6u:()=>Rc,lVo:()=>Qc});var n={};e.r(n),e.d(n,{Any:()=>s,Argument:()=>i,Array:()=>u,AsyncIterator:()=>l,Awaited:()=>V,BigInt:()=>W,Boolean:()=>Z,Capitalize:()=>lu,Composite:()=>us,Const:()=>ce,Constructor:()=>He,ConstructorParameters:()=>Lt,Date:()=>nr,Enum:()=>fr,Exclude:()=>z,Extends:()=>$t,Extract:()=>xi,Function:()=>cr,Index:()=>vn,InstanceType:()=>Ii,Instantiate:()=>vs,Integer:()=>Ps,Intersect:()=>x,Iterator:()=>Ae,KeyOf:()=>
996Li,Literal:()=>ln,Lowercase:()=>Xo,Mapped:()=>uo,Module:()=>Cn,Never:()=>g.p,Not:()=>es,Null:()=>Yn,Number:()=>un,Object:()=>yn,Omit:()=>yl,Optional:()=>ge,Parameters:()=>Zs,Partial:()=>Fl,Pick:()=>Fu,Promise:()=>_i,Readonly:()=>Wi,ReadonlyOptional:()=>er,Record:()=>wa,Recursive:()=>Io,Ref:()=>C,RegExp:()=>ru,Required:()=>Jl,Rest:()=>yd,ReturnType:()=>Kc,String:()=>Qn,Symbol:()=>Ln,TemplateLiteral:()=>Mu,Transform:()=>ec,Tuple:()=>wn,Uint8Array:()=>ss,Uncapitalize:()=>Go,Undefined:()=>ks,Union:()=>E,Unknown:()=>xs,Unsafe:()=>mu,Uppercase:()=>Cc,Void:()=>tc});var r=e(68189),a=e(82795);function s(I){return(0,r.v)({[a.b8]:"Any"},I)}function i(I){return(0,r.v)({[a.b8]:"Argument",index:I})}function u(I,U){return(0,r.v)({[a.b8]:"Array",type:"array",items:I},U)}function l(I,U){return(0,r.v)({[a.b8]:"AsyncIterator",type:"AsyncIterator",items:I},U)}function m(I,U,Ze){return(0,r.v)({[a.b8]:"Computed",target:I,parameters:U},Ze)}var g=e(80463),h=e(78542);function v(I,U={}){const Ze=I.every(Ri=>(0,h.av)(Ri)),pr=(0,h.Yi)(U.unevaluatedProperties)?{unevaluatedProperties:U.unevaluatedProperties}:{};return(0,r.v)(U.unevaluatedProperties===!1||(0,h.Yi)(U.unevaluatedProperties)||Ze?{...pr,[a.b8]:"Intersect",type:"object",allOf:I}:{...pr,[a.b8]:"Intersect",allOf:I},U)}function x(I,U){if(I.length===1)return(0,r.v)(I[0],U);if(I.length===0)return(0,g.p)(U);if(I.some(Ze=>(0,h.n_)(Ze)))throw new Error("Cannot intersect transform types");return v(I,U)}function T(I,U){return(0,r.v)({[a.b8]:"Union",anyOf:I},U)}function E(I,U){return I.length===0?(0,g.p)(U):I.length===1?(0,r.v)(I[0],U):T(I,U)}var _=e(35783);function C(...I){const[U,Ze]=typeof I[0]=="string"?[I[0],I[1]]:[I[0].$id,I[1]];if(typeof U!="string")throw new _.i("Ref: $ref must be a string");return(0,r.v)({[a.b8]:"Ref",$ref:U},Ze)}function P(I,U){return m("Awaited",[m(I,U)])}function k(I){return m("Awaited",[C(I)])}function D(I){return x(F(I))}function B(I){return E(F(I))}function $(I){return V(I)}function F(I){return I.map(U=>V(U))}function V(I,U){return(0,r.v)((0,h.Y6)(I)?P(I.target,I.parameters):(0,h.Yq)(I)?D(I.allOf):(0,h.my)(I)?B(I.anyOf):(0,h.OD)(I)?$(I.item):(0,h.in)(I)?k(I.$ref):I,U)}function W(I){return(0,r.v)({[a.b8]:"BigInt",type:"bigint"},I)}function Z(I){return(0,r.v)({[a.b8]:"Boolean",type:"boolean"},I)}function J(I,U){const{[U]:Ze,...pr}=I;return pr}function ie(I,U){return U.reduce((Ze,pr)=>J(Ze,pr),I)}function le(I){return(0,r.v)({[a.b8]:"MappedResult",properties:I})}function he(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=ge(I[pr],U);return Ze}function me(I,U){return he(I.properties,U)}function je(I,U){const Ze=me(I,U);return le(Ze)}function Fe(I){return(0,r.v)(ie(I,[a.tJ]))}function Je(I){return(0,r.v)({...I,[a.tJ]:"Optional"})}function Xe(I,U){return U===!1?Fe(I):Je(I)}function ge(I,U){const Ze=U??!0;return(0,h.ZD)(I)?je(I,Ze):Xe(I,Ze)}function be(I){return I.every(U=>(0,h.X$)(U))}function Ie(I){return ie(I,[a.tJ])}function Re(I){return I.map(U=>(0,h.X$)(U)?Ie(U):U)}function ye(I,U){return be(I)?ge(v(Re(I),U)):v(Re(I),U)}function De(I,U={}){if(I.length===1)return(0,r.v)(I[0],U);if(I.length===0)return(0,g.p)(U);if(I.some(Ze=>(0,h.n_)(Ze)))throw new Error("Cannot intersect transform types");return ye(I,U)}function $e(I){return I.some(U=>(0,h.X$)(U))}function qe(I){return I.map(U=>(0,h.X$)(U)?It(U):U)}function It(I){return ie(I,[a.tJ])}function mt(I,U){return $e(I)?ge(T(qe(I),U)):T(qe(I),U)}function kt(I,U){return I.length===1?(0,r.v)(I[0],U):I.length===0?(0,g.p)(U):mt(I,U)}class Ut extends _.i{}function Ir(I){return I.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function Sr(I,U,Ze){return I[U]===Ze&&I.charCodeAt(U-1)!==92}function Yr(I,U){return Sr(I,U,"(")}function Gr(I,U){return Sr(I,U,")")}function dn(I,U){return Sr(I,U,"|")}function Kr(I){if(!(Yr(I,0)&&Gr(I,I.length-1)))return!1;let U=0;for(let Ze=0;Ze<I.length;Ze++)if(Yr(I,Ze)&&(U+=1),Gr(I,Ze)&&(U-=1),U===0&&Ze!==I.length-1)return!1;return!0}function yt(I){return I.slice(1,I.length-1)}function tt(I){let U=0;for(let Ze=0;Ze<I.length;Ze++)if(Yr(I,Ze)&&(U+=1),Gr(I,Ze)&&(U-=1),dn(I,Ze)&&U===0)return!0;return!1}function Ar(I){for(let U=0;U<I.length;U++)if(Yr(I,U))return!0;return!1}function Mr(I){let[U,Ze]=[0,0];const pr=[];for(let na=0;na<I.length;
996na++)if(Yr(I,na)&&(U+=1),Gr(I,na)&&(U-=1),dn(I,na)&&U===0){const ja=I.slice(Ze,na);ja.length>0&&pr.push(Ur(ja)),Ze=na+1}const Ri=I.slice(Ze);return Ri.length>0&&pr.push(Ur(Ri)),pr.length===0?{type:"const",const:""}:pr.length===1?pr[0]:{type:"or",expr:pr}}function Er(I){function U(Ri,na){if(!Yr(Ri,na))throw new Ut("TemplateLiteralParser: Index must point to open parens");let ja=0;for(let Zo=na;Zo<Ri.length;Zo++)if(Yr(Ri,Zo)&&(ja+=1),Gr(Ri,Zo)&&(ja-=1),ja===0)return[na,Zo];throw new Ut("TemplateLiteralParser: Unclosed group parens in expression")}function Ze(Ri,na){for(let ja=na;ja<Ri.length;ja++)if(Yr(Ri,ja))return[na,ja];return[na,Ri.length]}const pr=[];for(let Ri=0;Ri<I.length;Ri++)if(Yr(I,Ri)){const[na,ja]=U(I,Ri),Zo=I.slice(na,ja+1);pr.push(Ur(Zo)),Ri=ja}else{const[na,ja]=Ze(I,Ri),Zo=I.slice(na,ja);Zo.length>0&&pr.push(Ur(Zo)),Ri=ja-1}return pr.length===0?{type:"const",const:""}:pr.length===1?pr[0]:{type:"and",expr:pr}}function Ur(I){return Kr(I)?Ur(yt(I)):tt(I)?Mr(I):Ar(I)?Er(I):{type:"const",const:Ir(I)}}function or(I){return Ur(I.slice(1,I.length-1))}class An extends _.i{}function dr(I){return I.type==="or"&&I.expr.length===2&&I.expr[0].type==="const"&&I.expr[0].const==="0"&&I.expr[1].type==="const"&&I.expr[1].const==="[1-9][0-9]*"}function Xr(I){return I.type==="or"&&I.expr.length===2&&I.expr[0].type==="const"&&I.expr[0].const==="true"&&I.expr[1].type==="const"&&I.expr[1].const==="false"}function hn(I){return I.type==="const"&&I.const===".*"}function Qt(I){return dr(I)||hn(I)?!1:Xr(I)?!0:I.type==="and"?I.expr.every(U=>Qt(U)):I.type==="or"?I.expr.every(U=>Qt(U)):I.type==="const"?!0:(()=>{throw new An("Unknown expression type")})()}function Br(I){const U=or(I.pattern);return Qt(U)}class zt extends _.i{}function*Tt(I){if(I.length===1)return yield*I[0];for(const U of I[0])for(const Ze of Tt(I.slice(1)))yield`${U}${Ze}`}function*Pr(I){return yield*Tt(I.expr.map(U=>[...ur(U)]))}function*Y(I){for(const U of I.expr)yield*ur(U)}function*ht(I){return yield I.const}function*ur(I){return I.type==="and"?yield*Pr(I):I.type==="or"?yield*Y(I):I.type==="const"?yield*ht(I):(()=>{throw new zt("Unknown expression")})()}function it(I){const U=or(I.pattern);return Qt(U)?[...ur(U)]:[]}function Rt(I){return it(I).map(Ze=>Ze.toString())}function Zr(I){const U=[];for(const Ze of I)U.push(...fn(Ze));return U}function nn(I){return[I.toString()]}function fn(I){return[...new Set((0,h.gm)(I)?Rt(I):(0,h.my)(I)?Zr(I.anyOf):(0,h.gP)(I)?nn(I.const):(0,h.Mx)(I)?["[number]"]:(0,h.$p)(I)?["[number]"]:[])]}var Sn=e(44035);function Ci(I,U,Ze){return{[U]:vn(I,[U],(0,Sn.i)(Ze))}}function $i(I,U,Ze){return U.reduce((pr,Ri)=>({...pr,...Ci(I,Ri,Ze)}),{})}function qr(I,U,Ze){return $i(I,U.keys,Ze)}function Bi(I,U,Ze){const pr=qr(I,U,Ze);return le(pr)}function ms(I,U,Ze){const pr={};for(const Ri of Object.getOwnPropertyNames(U))pr[Ri]=vn(I,fn(U[Ri]),Ze);return pr}function hs(I,U,Ze){return ms(I,U.properties,Ze)}function Mi(I,U,Ze){const pr=hs(I,U,Ze);return le(pr)}var gi;function Hi(I,U){return I.map(Ze=>Ge(Ze,U))}function qn(I){return I.filter(U=>!(0,h.Df)(U))}function $n(I,U){return De(qn(Hi(I,U)))}function $s(I){return I.some(U=>(0,h.Df)(U))?[]:I}function ys(I,U){return kt($s(Hi(I,U)))}function Es(I,U){return U in I?I[U]:U==="[number]"?kt(I):(0,g.p)()}function oe(I,U){return U==="[number]"?I:(0,g.p)()}function xe(I,U){return U in I?I[U]:(0,g.p)()}function Ge(I,U){return(0,h.Yq)(I)?$n(I.allOf,U):(0,h.my)(I)?ys(I.anyOf,U):(0,h.PN)(I)?Es(I.items??[],U):(0,h.QS)(I)?oe(I.items,U):(0,h.av)(I)?xe(I.properties,U):(0,g.p)()}function bt(I,U){return U.map(Ze=>Ge(I,Ze))}function Et(I,U){return kt(bt(I,U))}function Tr(I,U){return gi("Index",[I,U])}function vn(I,U,Ze){if((0,h.in)(I)||(0,h.in)(U)){const pr="Index types using Ref parameters require both Type and Key to be of TSchema";if(!(0,h.Yi)(I)||!(0,h.Yi)(U))throw new _.i(pr);return m("Index",[I,U])}return(0,h.ZD)(U)?Mi(I,U,Ze):(0,h.zZ)(U)?Bi(I,U,Ze):(0,r.v)((0,h.Yi)(U)?Et(I,fn(U)):Et(I,U),Ze)}var Gt=e(31340);function ei(I){return globalThis.Object.keys(I).filter(U=>!(0,h.X$)(I[U]))}function si(I,U){const Ze=ei(I),pr=Ze.length>0?{[a.b8]:"Object",type:"object",required:Ze,properties:I}:{[a.b8]:"Object",type:"object",properties:I};return(0,r.v)(pr,U)}var yn=si,rs=e(19568);function xn(I){const U=[];for(const Ze of I)U.push(...(0,Gt.g)(Ze));return(0,rs.lN)(U)}function Ms(I){return I.filter(U=>!(0,h.Df)(U))}function Yi(I,U){const Ze=[];for(const pr of I)Ze.push(...bt(pr,[U]));return Ms(Ze)}function Gs(I,U){const Ze={};for(const pr of U)Ze[pr]=De(Yi(I,pr));return Ze}function us(I,U){const Ze=xn(I),pr=Gs(I,Ze);return yn(pr,U)}function nr(I){return(0,r.v)({[a.b8]:"Date",type:"Date"},I)}function cr(I,U,Ze){return(0,r.v)({[a.b8]:"Function",type:"Function",parameters:I,returns:U},Ze)}function ln(I,U){return(0,r.v)({[a.b8]:"Literal",const:I,type:typeof I},U)}function Yn(I){return(0,r.v)({[a.b8]:"Null",type:"null"},I)}function Ln(I){return(0,r.v)({[a.b8]:"Symbol",type:"symbol"},I)}function wn(I,U){return(0,r.v)(I.length>0?{[a.b8]:"Tuple",type:"array",items:I,additionalItems:!1,minItems:I.length,maxItems:I.length}:{[a.b8]:"Tuple",type:"array",minItems:I.length,maxItems:I.length},U)}function ti(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=Wi(I[pr],U);return Ze}function Ti(I,U){return ti(I.properties,U)}function Pi(I,U){const Ze=Ti(I,U);return le(Ze)}function Zi(I){return(0,r.v)(ie(I,[a.hi]))}function Ui(I){return(0,r.v)({...I,[a.hi]:"Readonly"})}function vi(I,U){return U===!1?Zi(I):Ui(I)}function Wi(I,U){const Ze=U??!0;return(0,h.ZD)(I)?Pi(I,Ze):vi(I,Ze)}function ks(I){return(0,r.v)({[a.b8]:"Undefined",type:"undefined"},I)}function ss(I){return(0,r.v)({[a.b8]:"Uint8Array",type:"Uint8Array"},I)}function xs(I){return(0,r.v)({[a.b8]:"Unknown"},I)}var wi=e(47531);function Ns(I){return I.map(U=>Os(U,!1))}function Cs(I){const U={};for(const Ze of globalThis.Object.getOwnPropertyNames(I))U[Ze]=Wi(Os(I[Ze],!1));return U}function as(I,U){return U===!0?I:Wi(I)}
996function Os(I,U){return(0,wi.H1)(I)||(0,wi.jo)(I)?as(s(),U):(0,wi.QS)(I)?Wi(wn(Ns(I))):(0,wi.G4)(I)?ss():(0,wi.XF)(I)?nr():(0,wi.av)(I)?as(yn(Cs(I)),U):(0,wi.hg)(I)?as(cr([],xs()),U):(0,wi.R1)(I)?ks():(0,wi.Ef)(I)?Yn():(0,wi.nH)(I)?Ln():(0,wi.cQ)(I)?W():(0,wi.Mx)(I)||(0,wi.Zx)(I)||(0,wi.IP)(I)?ln(I):yn({})}function ce(I,U){return(0,r.v)(Os(I,!0),U)}function He(I,U,Ze){return(0,r.v)({[a.b8]:"Constructor",type:"Constructor",parameters:I,returns:U},Ze)}function Lt(I,U){return h.ZV(I)?wn(I.parameters,U):(0,g.p)(U)}function fr(I,U){if((0,wi.R1)(I))throw new Error("Enum undefined or empty");const Ze=globalThis.Object.getOwnPropertyNames(I).filter(na=>isNaN(na)).map(na=>I[na]),Ri=[...new Set(Ze)].map(na=>ln(na));return E(Ri,{...U,[a.Ck]:"Enum"})}function un(I){return(0,r.v)({[a.b8]:"Number",type:"number"},I)}function Qn(I){return(0,r.v)({[a.b8]:"String",type:"string"},I)}function Xi(I){const Ze=it(I).map(pr=>ln(pr));return kt(Ze)}const qi="(true|false)",ls="(0|[1-9][0-9]*)",ps="(.*)",la="(?!.*)",ca=null,za=`^${ls}$`,io=`^${ps}$`,Is=`^${la}$`;var yr=e(16132);class Fa extends _.i{}var on;(function(I){I[I.Union=0]="Union",I[I.True=1]="True",I[I.False=2]="False"})(on||(on={}));function va(I){return I===on.False?I:on.True}function pa(I){throw new Fa(I)}function aa(I){return yr.Df(I)||yr.Yq(I)||yr.my(I)||yr.fr(I)||yr.h4(I)}function ta(I,U){return yr.Df(U)?Vi(I,U):yr.Yq(U)?an(I,U):yr.my(U)?ki(I,U):yr.fr(U)?Rs(I,U):yr.h4(U)?Za(I,U):pa("StructuralRight")}function Za(I,U){return on.True}function $a(I,U){return yr.Yq(U)?an(I,U):yr.my(U)&&U.anyOf.some(Ze=>yr.h4(Ze)||yr.fr(Ze))?on.True:yr.my(U)?on.Union:yr.fr(U)||yr.h4(U)?on.True:on.Union}function Wo(I,U){return yr.fr(I)?on.False:yr.h4(I)?on.Union:yr.Df(I)?on.True:on.False}function Co(I,U){return yr.av(U)&&Bt(U)?on.True:aa(U)?ta(I,U):yr.QS(U)?va(oi(I.items,U.items)):on.False}function Ro(I,U){return aa(U)?ta(I,U):yr.H1(U)?va(oi(I.items,U.items)):on.False}function Hs(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.cQ(U)?on.True:on.False}function cs(I,U){return yr.Wy(I)||yr.Zx(I)?on.True:on.False}function Me(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.Zx(U)?on.True:on.False}function We(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.ZV(U)?I.parameters.length>U.parameters.length?on.False:I.parameters.every((Ze,pr)=>va(oi(U.parameters[pr],Ze))===on.True)?va(oi(I.returns,U.returns)):on.False:on.False}function Nt(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.XF(U)?on.True:on.False}function Jt(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.hg(U)?I.parameters.length>U.parameters.length?on.False:I.parameters.every((Ze,pr)=>va(oi(U.parameters[pr],Ze))===on.True)?va(oi(I.returns,U.returns)):on.False:on.False}function jr(I,U){return yr.gP(I)&&wi.Mx(I.const)||yr.Mx(I)||yr.$p(I)?on.True:on.False}function Jr(I,U){return yr.$p(U)||yr.Mx(U)?on.True:aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):on.False}function an(I,U){return U.allOf.every(Ze=>oi(I,Ze)===on.True)?on.True:on.False}function ai(I,U){return I.allOf.some(Ze=>oi(Ze,U)===on.True)?on.True:on.False}function Si(I,U){return aa(U)?ta(I,U):yr.jo(U)?va(oi(I.items,U.items)):on.False}function Di(I,U){return yr.gP(U)&&U.const===I.const?on.True:aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.IP(U)?lt(I,U):yr.Mx(U)?Oo(I,U):yr.$p(U)?jr(I,U):yr.Zx(U)?cs(I,U):on.False}function Vi(I,U){return on.False}function da(I,U){return on.True}function ya(I){let[U,Ze]=[I,0];for(;yr.gK(U);)U=U.not,Ze+=1;return Ze%2===0?U:xs()}function Qi(I,U){return yr.gK(I)?oi(ya(I),U):yr.gK(U)?oi(I,ya(U)):pa("Invalid fallthrough for Not")}function Do(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.Ef(U)?on.True:on.False}function Oo(I,U){return yr.LV(I)||yr.Mx(I)||yr.$p(I)?on.True:on.False}function Ta(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.$p(U)||yr.Mx(U)?on.True:on.False}function Ne(I,U){return Object.getOwnPropertyNames(I.properties).length===U}function Ve(I){return Bt(I)}function gt(I){return Ne(I,0)||Ne(I,1)&&"description"in I.properties&&yr.my(I.properties.description)&&I.properties.description.anyOf.length===2&&(yr.IP(I.properties.description.anyOf[0])&&yr.R1(I.properties.description.anyOf[1])||yr.IP(I.properties.description.anyOf[1])&&yr.R1(I.properties.description.anyOf[0]))}function ct(I){return Ne(I,0)}function Kt(I){return Ne(I,0)}function tr(I){return Ne(I,0)}function Cr(I){return Ne(I,0)}function kr(I){return Bt(I)}function Bn(I){const U=un();return Ne(I,0)||Ne(I,1)&&"length"in I.properties&&va(oi(I.properties.length,U))===on.True}function Hn(I){return Ne(I,0)}function Bt(I){const U=un();return Ne(I,0)||Ne(I,1)&&"length"in I.properties&&va(oi(I.properties.length,U))===on.True}function Wt(I){const U=cr([s()],s());return Ne(I,0)||Ne(I,1)&&"then"in I.properties&&va(oi(I.properties.then,U))===on.True}function Wr(I,U){return oi(I,U)===on.False||yr.X$(I)&&!yr.X$(U)?on.False:on.True}function sn(I,U){return yr.fr(I)?on.False:yr.h4(I)?on.Union:yr.Df(I)||yr.Zs(I)&&Ve(U)||yr.LV(I)&&ct(U)||yr.Wy(I)&&Kt(U)||yr.nH(I)&>(U)||yr.cQ(I)&&tr(U)||yr.IP(I)&&Ve(U)||yr.nH(I)&>(U)||yr.Mx(I)&&ct(U)||yr.$p(I)&&ct(U)||yr.Zx(I)&&Kt(U)||yr.G4(I)&&kr(U)||yr.XF(I)&&Cr(U)||yr.ZV(I)&&Hn(U)||yr.hg(I)&&Bn(U)?on.True:yr.cZ(I)&&yr.IP(Wn(I))?U[a.Ck]==="Record"?on.True:on.False:yr.cZ(I)&&yr.Mx(Wn(I))&&Ne(U,0)?on.True:on.False}function Mn(I,U){return aa(U)?ta(I,U):yr.cZ(U)?Fi(I,U):yr.av(U)?(()=>{for(const Ze of Object.getOwnPropertyNames(U.properties)){if(!(Ze in I.properties)&&!yr.X$(U.properties[Ze]))return on.False;if(yr.X$(U.properties[Ze]))return on.True;
996if(Wr(I.properties[Ze],U.properties[Ze])===on.False)return on.False}return on.True})():on.False}function _n(I,U){return aa(U)?ta(I,U):yr.av(U)&&Wt(U)?on.True:yr.OD(U)?va(oi(I.item,U.item)):on.False}function Wn(I){return za in I.patternProperties?un():io in I.patternProperties?Qn():pa("Unknown record key pattern")}function Un(I){return za in I.patternProperties?I.patternProperties[za]:io in I.patternProperties?I.patternProperties[io]:pa("Unable to get record value schema")}function Fi(I,U){const[Ze,pr]=[Wn(U),Un(U)];return yr.Zs(I)&&yr.Mx(Ze)&&va(oi(I,pr))===on.True?on.True:yr.G4(I)&&yr.Mx(Ze)||yr.IP(I)&&yr.Mx(Ze)||yr.QS(I)&&yr.Mx(Ze)?oi(I,pr):yr.av(I)?(()=>{for(const Ri of Object.getOwnPropertyNames(I.properties))if(Wr(pr,I.properties[Ri])===on.False)return on.False;return on.True})():on.False}function Le(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?oi(Un(I),Un(U)):on.False}function Ue(I,U){const Ze=yr.__(I)?Qn():I,pr=yr.__(U)?Qn():U;return oi(Ze,pr)}function lt(I,U){return yr.gP(I)&&wi.IP(I.const)||yr.IP(I)?on.True:on.False}function ot(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.IP(U)?on.True:on.False}function Yt(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.nH(U)?on.True:on.False}function rr(I,U){return yr.gm(I)?oi(Xi(I),U):yr.gm(U)?oi(I,Xi(U)):pa("Invalid fallthrough for TemplateLiteral")}function Or(I,U){return yr.QS(U)&&I.items!==void 0&&I.items.every(Ze=>oi(Ze,U.items)===on.True)}function tn(I,U){return yr.Df(I)?on.True:yr.fr(I)?on.False:yr.h4(I)?on.Union:on.False}function kn(I,U){return aa(U)?ta(I,U):yr.av(U)&&Bt(U)||yr.QS(U)&&Or(I,U)?on.True:yr.PN(U)?wi.R1(I.items)&&!wi.R1(U.items)||!wi.R1(I.items)&&wi.R1(U.items)?on.False:wi.R1(I.items)&&!wi.R1(U.items)||I.items.every((Ze,pr)=>oi(Ze,U.items[pr])===on.True)?on.True:on.False:on.False}function En(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.G4(U)?on.True:on.False}function Rn(I,U){return aa(U)?ta(I,U):yr.av(U)?sn(I,U):yr.cZ(U)?Fi(I,U):yr.jw(U)?di(I,U):yr.R1(U)?on.True:on.False}function ki(I,U){return U.anyOf.some(Ze=>oi(I,Ze)===on.True)?on.True:on.False}function bs(I,U){return I.anyOf.every(Ze=>oi(Ze,U)===on.True)?on.True:on.False}function Rs(I,U){return on.True}function As(I,U){return yr.Df(U)?Vi(I,U):yr.Yq(U)?an(I,U):yr.my(U)?ki(I,U):yr.h4(U)?Za(I,U):yr.IP(U)?lt(I,U):yr.Mx(U)?Oo(I,U):yr.$p(U)?jr(I,U):yr.Zx(U)?cs(I,U):yr.QS(U)?Wo(I,U):yr.PN(U)?tn(I,U):yr.av(U)?sn(I,U):yr.fr(U)?on.True:on.False}function di(I,U){return yr.R1(I)||yr.R1(I)?on.True:on.False}function Gn(I,U){return yr.Yq(U)?an(I,U):yr.my(U)?ki(I,U):yr.fr(U)?Rs(I,U):yr.h4(U)?Za(I,U):yr.av(U)?sn(I,U):yr.jw(U)?on.True:on.False}function oi(I,U){return yr.gm(I)||yr.gm(U)?rr(I,U):yr.__(I)||yr.__(U)?Ue(I,U):yr.gK(I)||yr.gK(U)?Qi(I,U):yr.h4(I
996)?$a(I,U):yr.QS(I)?Co(I,U):yr.cQ(I)?Hs(I,U):yr.Zx(I)?Me(I,U):yr.H1(I)?Ro(I,U):yr.ZV(I)?We(I,U):yr.XF(I)?Nt(I,U):yr.hg(I)?Jt(I,U):yr.$p(I)?Jr(I,U):yr.Yq(I)?ai(I,U):yr.jo(I)?Si(I,U):yr.gP(I)?Di(I,U):yr.Df(I)?da(I,U):yr.Ef(I)?Do(I,U):yr.Mx(I)?Ta(I,U):yr.av(I)?Mn(I,U):yr.cZ(I)?Le(I,U):yr.IP(I)?ot(I,U):yr.nH(I)?Yt(I,U):yr.PN(I)?kn(I,U):yr.OD(I)?_n(I,U):yr.G4(I)?En(I,U):yr.R1(I)?Rn(I,U):yr.my(I)?bs(I,U):yr.fr(I)?As(I,U):yr.jw(I)?Gn(I,U):pa(`Unknown left type operand '${I[a.b8]}'`)}function Ks(I,U){return oi(I,U)}function qs(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=z(I[pr],U);return Ze}function ns(I,U){return qs(I.properties,U)}function Ba(I,U){const Ze=ns(I,U);return le(Ze)}function ka(I,U){return z(Xi(I),U)}function H(I,U){const Ze=I.filter(pr=>Ks(pr,U)===on.False);return Ze.length===1?Ze[0]:E(Ze)}function z(I,U,Ze={}){return(0,h.gm)(I)?(0,r.v)(ka(I,U),Ze):(0,h.ZD)(I)?(0,r.v)(Ba(I,U),Ze):(0,r.v)((0,h.my)(I)?H(I.anyOf,U):Ks(I,U)!==on.False?(0,g.p)():I,Ze)}function ee(I,U,Ze,pr,Ri){return{[I]:$t(ln(I),U,Ze,pr,(0,Sn.i)(Ri))}}function pe(I,U,Ze,pr,Ri){return I.reduce((na,ja)=>({...na,...ee(ja,U,Ze,pr,Ri)}),{})}function Ce(I,U,Ze,pr,Ri){return pe(I.keys,U,Ze,pr,Ri)}function ze(I,U,Ze,pr,Ri){const na=Ce(I,U,Ze,pr,Ri);return le(na)}function st(I,U,Ze,pr,Ri){const na={};for(const ja of globalThis.Object.getOwnPropertyNames(I))na[ja]=$t(I[ja],U,Ze,pr,(0,Sn.i)(Ri));return na}function ft(I,U,Ze,pr,Ri){return st(I.properties,U,Ze,pr,Ri)}function Dt(I,U,Ze,pr,Ri){const na=ft(I,U,Ze,pr,Ri);return le(na)}function lr(I,U,Ze,pr){const Ri=Ks(I,U);return Ri===on.Union?E([Ze,pr]):Ri===on.True?Ze:pr}function $t(I,U,Ze,pr,Ri){return(0,h.ZD)(I)?Dt(I,U,Ze,pr,Ri):(0,h.zZ)(I)?(0,r.v)(ze(I,U,Ze,pr,Ri)):(0,r.v)(lr(I,U,Ze,pr),Ri)}function Nr(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=xi(I[pr],U);return Ze}function cn(I,U){return Nr(I.properties,U)}function Nn(I,U){const Ze=cn(I,U);return le(Ze)}function jn(I,U){return xi(Xi(I),U)}function fi(I,U){const Ze=I.filter(pr=>Ks(pr,U)!==on.False);return Ze.length===1?Ze[0]:E(Ze)}function xi(I,U,Ze){return(0,h.gm)(I)?(0,r.v)(jn(I,U),Ze):(0,h.ZD)(I)?(0,r.v)(Nn(I,U),Ze):(0,r.v)((0,h.my)(I)?fi(I.anyOf,U):Ks(I,U)!==on.False?I:(0,g.p)(),Ze)}function Ii(I,U){return h.ZV(I)?(0,r.v)(I.returns,U):(0,g.p)(U)}function zi(I){return I.map(U=>gs(U))}function gs(I,U){return U===void 0?(0,Sn.i)(I):(0,Sn.i)({...U,...I})}function er(I){return Wi(ge(I))}function br(I,U,Ze){return(0,r.v)({[a.b8]:"Record",type:"object",patternProperties:{[I]:U}},Ze)}function xr(I,U,Ze){const pr={};for(const Ri of I)pr[Ri]=U;return yn(pr,{...Ze,[a.Ck]:"Record"})}function yi(I,U,Ze){return Br(I)?xr(fn(I),U,Ze):br(I.pattern,U,Ze)}function Ni(I,U,Ze){return xr(fn(E(I)),U,Ze)}function pi(I,U,Ze){return xr([I.toString()],U,Ze)}function ra(I,U,Ze){return br(I.source,U,Ze)}function Ys(I,U,Ze){const pr=(0,wi.R1)(I.pattern)?io:I.pattern;return br(pr,U,Ze)}function Lu(I,U,Ze){return br(io,U,Ze)}function Uo(I,U,Ze){return br(Is,U,Ze)}function vo(I,U,Ze){return yn({true:U,false:U},Ze)}function jo(I,U,Ze){return br(za,U,Ze)}function Ll(I,U,Ze){return br(za,U,Ze)}function wa(I,U,Ze={}){return(0,h.my)(I)?Ni(I.anyOf,U,Ze):(0,h.gm)(I)?yi(I,U,Ze):(0,h.gP)(I)?pi(I.const,U,Ze):(0,h.Zx)(I)?vo(I,U,Ze):(0,h.$p)(I)?jo(I,U,Ze):(0,h.Mx)(I)?Ll(I,U,Ze):(0,h.__)(I)?ra(I,U,Ze):(0,h.IP)(I)?Ys(I,U,Ze):(0,h.h4)(I)?Lu(I,U,Ze):(0,h.Df)(I)?Uo(I,U,Ze):(0,g.p)(Ze)}function wu(I){return globalThis.Object.getOwnPropertyNames(I.patternProperties)[0]}function el(I){const U=wu(I);return U===io?Qn():U===za?un():Qn({pattern:U})}function Ca(I){return I.patternProperties[wu(I)]}function Yl(I,U){return U.parameters=bn(I,U.parameters),U.returns=Jn(I,U.returns),U}function $c(I,U){return U.parameters=bn(I,U.parameters),U.returns=Jn(I,U.returns),U}function zo(I,U){return U.allOf=bn(I,U.allOf),U}function Hc(I,U){return U.anyOf=bn(I,U.anyOf),U}function Xl(I,U){return wi.R1(U.items)||(U.items=bn(I,U.items)),U}function Fs(I,U){return U.items=Jn(I,U.items),U}function _u(I,U){return U.items=Jn(I,U.items),U}function oo(I,U){return U.items=Jn(I,U.items),U}function tl(I,U){return U.item=Jn(I,U.item),U}function Ml(I,U){const Ze=xt(I,U.properties);return{...U,...yn(Ze)}}function ae(I,U){const Ze=Jn(I,el(U)),pr=Jn(I,Ca(U)),Ri=wa(Ze,pr);return{...U,...Ri}}function hr(I,U){return U.index in I?I[U.index]:xs()}function dt(I,U){const Ze=h.TC(U),pr=h.X$(U),Ri=Jn(I,U);return Ze&&pr?er(Ri):Ze&&!pr?Wi(Ri):!Ze&&pr?ge(Ri):Ri}function xt(I,U){return globalThis.Object.getOwnPropertyNames(U).reduce((Ze,pr)=>({...Ze,[pr]:dt(I,U[pr])}),{})}function bn(I,U){return U.map(Ze=>Jn(I,Ze))}function Jn(I,U){return h.ZV(U)?Yl(I,U):h.hg(U)?$c(I,U):h.Yq(U)?zo(I,U):h.my(U)?Hc(I,U):h.PN(U)?Xl(I,U):h.QS(U)?Fs(I,U):h.H1(U)?_u(I,U):h.jo(U)?oo(I,U):h.OD(U)?tl(I,U):h.av(U)?Ml(I,U):h.cZ(U)?ae(I,U):h.Cz
996(U)?hr(I,U):U}function vs(I,U){return Jn(U,gs(I))}function Ps(I){return(0,r.v)({[a.b8]:"Integer",type:"integer"},I)}function*Ia(I){const U=I.trim().replace(/"|'/g,"");return U==="boolean"?yield Z():U==="number"?yield un():U==="bigint"?yield W():U==="string"?yield Qn():yield(()=>{const Ze=U.split("|").map(pr=>ln(pr.trim()));return Ze.length===0?(0,g.p)():Ze.length===1?Ze[0]:kt(Ze)})()}function*$o(I){if(I[1]!=="{"){const U=ln("$"),Ze=yo(I.slice(1));return yield*[U,...Ze]}for(let U=2;U<I.length;U++)if(I[U]==="}"){const Ze=Ia(I.slice(2,U)),pr=yo(I.slice(U+1));return yield*[...Ze,...pr]}yield ln(I)}function*yo(I){for(let U=0;U<I.length;U++)if(I[U]==="$"){const Ze=ln(I.slice(0,U)),pr=$o(I.slice(U));return yield*[Ze,...pr]}yield ln(I)}function qa(I){return[...yo(I)]}class Vo extends _.i{}function Lo(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Hu(I,U){return(0,h.gm)(I)?I.pattern.slice(1,I.pattern.length-1):(0,h.my)(I)?`(${I.anyOf.map(Ze=>Hu(Ze,U)).join("|")})`:(0,h.Mx)(I)?`${U}${ls}`:(0,h.$p)(I)?`${U}${ls}`:(0,h.cQ)(I)?`${U}${ls}`:(0,h.IP)(I)?`${U}${ps}`:(0,h.gP)(I)?`${U}${Lo(I.const.toString())}`:(0,h.Zx)(I)?`${U}${qi}`:(()=>{throw new Vo(`Unexpected Kind '${I[a.b8]}'`)})()}function kl(I){return`^${I.map(U=>Hu(U,"")).join("")}$`}function Mu(I,U){const Ze=(0,wi.IP)(I)?kl(qa(I)):kl(I);return(0,r.v)({[a.b8]:"TemplateLiteral",type:"string",pattern:Ze},U)}function eu(I,U,Ze){return{[I]:ko(ln(I),U,(0,Sn.i)(Ze))}}function bo(I,U,Ze){return I.reduce((Ri,na)=>({...Ri,...eu(na,U,Ze)}),{})}function Mo(I,U,Ze){return bo(I.keys,U,Ze)}function Bs(I,U,Ze){const pr=Mo(I,U,Ze);return le(pr)}
996function rl(I){const[U,Ze]=[I.slice(0,1),I.slice(1)];return[U.toLowerCase(),Ze].join("")}function lc(I){const[U,Ze]=[I.slice(0,1),I.slice(1)];return[U.toUpperCase(),Ze].join("")}function Nl(I){return I.toUpperCase()}function nl(I){return I.toLowerCase()}function il(I,U,Ze){const pr=or(I.pattern);if(!Qt(pr))return{...I,pattern:vl(I.pattern,U)};const ja=[...ur(pr)].map(ch=>ln(ch)),Zo=sl(ja,U),Du=E(Zo);return Mu([Du],Ze)}function vl(I,U){return typeof I=="string"?U==="Uncapitalize"?rl(I):U==="Capitalize"?lc(I):U==="Uppercase"?Nl(I):U==="Lowercase"?nl(I):I:I.toString()}function sl(I,U){return I.map(Ze=>ko(Ze,U))}function ko(I,U,Ze={}){return(0,h.zZ)(I)?Bs(I,U,Ze):(0,h.gm)(I)?il(I,U,Ze):(0,h.my)(I)?E(sl(I.anyOf,U),Ze):(0,h.gP)(I)?ln(vl(I.const,U),Ze):(0,r.v)(I,Ze)}function lu(I,U={}){return ko(I,"Capitalize",U)}function Go(I,U={}){return ko(I,"Uncapitalize",U)}function Xo(I,U={}){return ko(I,"Lowercase",U)}function Cc(I,U={}){return ko(I,"Uppercase",U)}function Ae(I,U){return(0,r.v)({[a.b8]:"Iterator",type:"Iterator",items:I},U)}function et(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=Li(I[pr],(0,Sn.i)(U));return Ze}function pt(I,U){return et(I.properties,U)}function Ft(I,U){const Ze=pt(I,U);return le(Ze)}function Zt(I,U){return m("KeyOf",[m(I,U)])}function Rr(I){return m("KeyOf",[C(I)])}function mn(I,U){const Ze=(0,Gt.g)(I),pr=Ye(Ze),Ri=kt(pr);return(0,r.v)(Ri,U)}function Ye(I){return I.map(U=>U==="[number]"?un():ln(U))}function Li(I,U){return(0,h.Y6)(I)?Zt(I.target,I.parameters):(0,h.in)(I)?Rr(I.$ref):(0,h.ZD)(I)?Ft(I,U):mn(I,U)}function _i(I,U){return(0,r.v)({[a.b8]:"Promise",type:"Promise",item:I},U)}function Ai(I,U){return I in U?ma(I,U[I]):le(U)}function Gi(I){return{[I]:ln(I)}}function Xs(I){const U={};for(const Ze of I)U[Ze]=ln(Ze);return U}function Qa(I,U){return(0,rs.oU)(U,I)?Gi(I):Xs(U)}function ho(I,U){const Ze=Qa(I,U);return Ai(I,Ze)}function Pa(I,U){return U.map(Ze=>ma(I,Ze))}function Ja(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(U))Ze[pr]=ma(I,U[pr]);return Ze}function ma(I,U){const Ze={...U};return(0,h.X$)(U)?ge(ma(I,ie(U,[a.tJ]))):(0,h.TC)(U)?Wi(ma(I,ie(U,[a.hi]))):(0,h.ZD)(U)?Ai(I,U.properties):(0,h.zZ)(U)?ho(I,U.keys):(0,h.ZV)(U)?He(Pa(I,U.parameters),ma(I,U.returns),Ze):(0,h.hg)(U)?cr(Pa(I,U.parameters),ma(I,U.returns),Ze):(0,h.H1)(U)?l(ma(I,U.items),Ze):(0,h.jo)(U)?Ae(ma(I,U.items),Ze):(0,h.Yq)(U)?x(Pa(I,U.allOf),Ze):(0,h.my)(U)?E(Pa(I,U.anyOf),Ze):(0,h.PN)(U)?wn(Pa(I,U.items??[]),Ze):(0,h.av)(U)?yn(Ja(I,U.properties),Ze):(0,h.QS)(U)?u(ma(I,U.items),Ze):(0,h.OD)(U)?_i(ma(I,U.item),Ze):U}function Ha(I,U){const Ze={};for(const pr of I)Ze[pr]=ma(pr,U);return Ze}function uo(I,U,Ze){const pr=(0,h.Yi)(I)?fn(I):I,Ri=U({[a.b8]:"MappedKey",keys:pr}),na=Ha(pr,Ri);return yn(na,Ze)}function Qo(I,U,Ze){return{[U]:yl(I,[U],(0,Sn.i)(Ze))}}function So(I,U,Ze){return U.reduce((pr,Ri)=>({...pr,...Qo(I,Ri,Ze)}),{})}function Eo(I,U,Ze){return So(I,U.keys,Ze)}function ku(I,U,Ze){const pr=Eo(I,U,Ze);return le(pr)}function al(I,U,Ze){const pr={};for(const Ri of globalThis.Object.getOwnPropertyNames(I))pr[Ri]=yl(I[Ri],U,(0,Sn.i)(Ze));return pr}function cu(I,U,Ze){return al(I.properties,U,Ze)}function dd(I,U,Ze){const pr=cu(I,U,Ze);return le(pr)}function Nu(I,U){return I.map(Ze=>Kn(Ze,U))}function Au(I,U){return I.map(Ze=>Kn(Ze,U))}function cc(I,U){const{[U]:Ze,...pr}=I;return pr}function Dd(I,U){return U.reduce((Ze,pr)=>cc(Ze,pr),I)}function sf(I,U,Ze){const pr=ie(I,[a.H7,"$id","required","properties"]),Ri=Dd(Ze,U);return yn(Ri,pr)}function Cu(I){const U=I.reduce((Ze,pr)=>(0,h.fJ)(pr)?[...Ze,ln(pr)]:Ze,[]);return E(U)}function Kn(I,U){return(0,h.Yq)(I)?x(Nu(I.allOf,U)):(0,h.my)(I)?E(Au(I.anyOf,U)):(0,h.av)(I)?sf(I,U,I.properties):yn({})}function yl(I,U,Ze){const pr=(0,wi.QS)(U)?Cu(U):U,Ri=(0,h.Yi)(U)?fn(U):U,na=(0,h.in)(I),ja=(0,h.in)(U);return(0,h.ZD)(I)?dd(I,Ri,Ze):(0,h.zZ)(U)?ku(I,U,Ze):na&&ja?m("Omit",[I,pr],Ze):!na&&ja?m("Omit",[I,pr],Ze):na&&!ja?m("Omit",[I,pr],Ze):(0,r.v)({...Kn(I,Ri),...Ze})}function Ql(I,U,Ze){return{[U]:Fu(I,[U],(0,Sn.i)(Ze))}}function du(I,U,Ze){return U.reduce((pr,Ri)=>({...pr,...Ql(I,Ri,Ze)}),{})}function Ra(I,U,Ze){return du(I,U.keys,Ze)}function tu(I,U,Ze){const pr=Ra(I,U,Ze);return le(pr)}function Na(I,U,Ze){const pr={};for(const Ri of globalThis.Object.getOwnPropertyNames(I))pr[Ri]=
996Fu(I[Ri],U,(0,Sn.i)(Ze));return pr}function fu(I,U,Ze){return Na(I.properties,U,Ze)}function fd(I,U,Ze){const pr=fu(I,U,Ze);return le(pr)}function hd(I,U){return I.map(Ze=>Iu(Ze,U))}function dc(I,U){return I.map(Ze=>Iu(Ze,U))}function Ou(I,U){const Ze={};for(const pr of U)pr in I&&(Ze[pr]=I[pr]);return Ze}function pd(I,U,Ze){const pr=ie(I,[a.H7,"$id","required","properties"]),Ri=Ou(Ze,U);return yn(Ri,pr)}function No(I){const U=I.reduce((Ze,pr)=>(0,h.fJ)(pr)?[...Ze,ln(pr)]:Ze,[]);return E(U)}function Iu(I,U){return(0,h.Yq)(I)?x(hd(I.allOf,U)):(0,h.my)(I)?E(dc(I.anyOf,U)):(0,h.av)(I)?pd(I,U,I.properties):yn({})}function Fu(I,U,Ze){const pr=(0,wi.QS)(U)?No(U):U,Ri=(0,h.Yi)(U)?fn(U):U,na=(0,h.in)(I),ja=(0,h.in)(U);return(0,h.ZD)(I)?fd(I,Ri,Ze):(0,h.zZ)(U)?tu(I,U,Ze):na&&ja?m("Pick",[I,pr],Ze):!na&&ja?m("Pick",[I,pr],Ze):na&&!ja?m("Pick",[I,pr],Ze):(0,r.v)({...Iu(I,Ri),...Ze})}function Wu(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=Fl(I[pr],(0,Sn.i)(U));return Ze}function To(I,U){return Wu(I.properties,U)}function Oc(I,U){const Ze=To(I,U);return le(Ze)}function hu(I,U){return m("Partial",[m(I,U)])}function bl(I){return m("Partial",[C(I)])}function ol(I){const U={};for(const Ze of globalThis.Object.getOwnPropertyNames(I))U[Ze]=ge(I[Ze]);return U}function pu(I,U){const Ze=ie(I,[a.H7,"$id","required","properties"]),pr=ol(U);return yn(pr,Ze)}function Sl(I){return I.map(U=>Ic(U))}function Ic(I){return h.Y6(I)?hu(I.target,I.parameters):h.in(I)?bl(I.$ref):h.Yq(I)?x(Sl(I.allOf)):h.my(I)?E(Sl(I.anyOf)):h.av(I)?pu(I,I.properties):h.cQ(I)||h.Zx(I)||h.$p(I)||h.gP(I)||h.Ef(I)||h.Mx(I)||h.IP(I)||h.nH(I)||h.R1(I)?I:yn({})}function Fl(I,U){return h.ZD(I)?Oc(I,U):(0,r.v)({...Ic(I),...U})}function eo(I,U){const Ze={};for(const pr of globalThis.Object.getOwnPropertyNames(I))Ze[pr]=Jl(I[pr],U);return Ze}function xl(I,U){return eo(I.properties,U)}function Ld(I,U){const Ze=xl(I,U);return le(Ze)}function In(I,U){return m("Required",[m(I,U)])}function Wc(I){return m("Required",[C(I)])}function Vc(I){const U={};for(const Ze of globalThis.Object.getOwnPropertyNames(I))U[Ze]=ie(I[Ze],[a.tJ]);return U}function Pc(I,U){const Ze=ie(I,[a.H7,"$id","required","properties"]),pr=Vc(U);return yn(pr,Ze)}function Ua(I){return I.map(U=>ul(U))}function ul(I){return h.Y6(I)?In(I.target,I.parameters):h.in(I)?Wc(I.$ref):h.Yq(I)?x(Ua(I.allOf)):h.my(I)?E(Ua(I.anyOf)):h.av(I)?Pc(I,I.properties):h.cQ(I)||h.Zx(I)||h.$p(I)||h.gP(I)||h.Ef(I)||h.Mx(I)||h.IP(I)||h.nH(I)||h.R1(I)?I:yn({})}function Jl(I,U){return h.ZD(I)?Ld(I,U):(0,r.v)({...ul(I),...U})}function wo(I,U){return U.map(Ze=>h.in(Ze)?fc(I,Ze.$ref):Ee(I,Ze))}function fc(I,U){return U in I?h.in(I[U])?fc(I,I[U].$ref):Ee(I,I[U]):(0,g.p)()}function Vu(I){return V(I[0])}function Zl(I){return vn(I[0],I[1])}function Gc(I){return Li(I[0])}function ba(I){return Fl(I[0])}function El(I){return yl(I[0],I[1])}function ll(I){return Fu(I[0],I[1])}function md(I){return Jl(I[0])}function Tl(I,U,Ze){const pr=wo(I,Ze);return U==="Awaited"?Vu(pr):U==="Index"?Zl(pr):U==="KeyOf"?Gc(pr):U==="Partial"?ba(pr):U==="Omit"?El(pr):U==="Pick"?ll(pr):U==="Required"?md(pr):(0,g.p)()}function wl(I,U){return u(Ee(I,U))}function gd(I,U){return l(Ee(I,U))}function ql(I,U,Ze){return He(re(I,U),Ee(I,Ze))}function Bl(I,U,Ze){return cr(re(I,U),Ee(I,Ze))}function cl(I,U){return x(re(I,U))}function vd(I,U){return Ae(Ee(I,U))}function _l(I,U){return yn(globalThis.Object.keys(U).reduce((Ze,pr)=>({...Ze,[pr]:Ee(I,U[pr])}),{}))}
996function dl(I,U){const[Ze,pr]=[Ee(I,Ca(U)),wu(U)],Ri=gs(U);return Ri.patternProperties[pr]=Ze,Ri}function hc(I,U){return h.in(U)?{...fc(I,U.$ref),[a.H7]:U[a.H7]}:U}function Sa(I,U){return wn(re(I,U))}function M(I,U){return E(re(I,U))}function re(I,U){return U.map(Ze=>Ee(I,Ze))}function Ee(I,U){return h.X$(U)?(0,r.v)(Ee(I,ie(U,[a.tJ])),U):h.TC(U)?(0,r.v)(Ee(I,ie(U,[a.hi])),U):h.n_(U)?(0,r.v)(hc(I,U),U):h.QS(U)?(0,r.v)(wl(I,U.items),U):h.H1(U)?(0,r.v)(gd(I,U.items),U):h.Y6(U)?(0,r.v)(Tl(I,U.target,U.parameters)):h.ZV(U)?(0,r.v)(ql(I,U.parameters,U.returns),U):h.hg(U)?(0,r.v)(Bl(I,U.parameters,U.returns),U):h.Yq(U)?(0,r.v)(cl(I,U.allOf),U):h.jo(U)?(0,r.v)(vd(I,U.items),U):h.av(U)?(0,r.v)(_l(I,U.properties),U):h.cZ(U)?(0,r.v)(dl(I,U)):h.PN(U)?(0,r.v)(Sa(I,U.items||[]),U):h.my(U)?(0,r.v)(M(I,U.anyOf),U):U}function Be(I,U){return U in I?Ee(I,I[U]):(0,g.p)()}function vt(I){return globalThis.Object.getOwnPropertyNames(I).reduce((U,Ze)=>({...U,[Ze]:Be(I,Ze)}),{})}class gr{constructor(U){const Ze=vt(U),pr=this.WithIdentifiers(Ze);this.$defs=pr}Import(U,Ze){const pr={...this.$defs,[U]:(0,r.v)(this.$defs[U],Ze)};return(0,r.v)({[a.b8]:"Import",$defs:pr,$ref:U})}WithIdentifiers(U){return globalThis.Object.getOwnPropertyNames(U).reduce((Ze,pr)=>({...Ze,[pr]:{...U[pr],$id:pr}}),{})}}function Cn(I){return new gr(I)}function es(I,U){return(0,r.v)({[a.b8]:"Not",not:I},U)}function Zs(I,U){return h.hg(I)?wn(I.parameters,U):(0,g.p)()}let fa=0;function Io(I,U={}){(0,wi.R1)(U.$id)&&(U.$id=`T${fa++}`);const Ze=gs(I({[a.b8]:"This",$ref:`${U.$id}`}));return Ze.$id=U.$id,(0,r.v)({[a.Ck]:"Recursive",...Ze},U)}function ru(I,U){const Ze=(0,wi.IP)(I)?new globalThis.RegExp(I):I;return(0,r.v)({[a.b8]:"RegExp",type:"RegExp",source:Ze.source,flags:Ze.flags},U)}function Ul(I){return(0,h.Yq)(I)?I.allOf:(0,h.my)(I)?I.anyOf:(0,h.PN)(I)?I.items??[]:[]}function yd(I){return Ul(I)}function Kc(I,U){return h.hg(I)?(0,r.v)(I.returns,U):(0,g.p)(U)}class Yc{constructor(U){this.schema=U}Decode(U){return new bd(this.schema,U)}}class bd{constructor(U,Ze){this.schema=U,this.decode=Ze}EncodeTransform(U,Ze){const na={Encode:ja=>Ze[a.H7].Encode(U(ja)),Decode:ja=>this.decode(Ze[a.H7].Decode(ja))};return{...Ze,[a.H7]:na}}EncodeSchema(U,Ze){const pr={Decode:this.decode,Encode:U};return{...Ze,[a.H7]:pr}}Encode(U){return(0,h.n_)(this.schema)?this.EncodeTransform(U,this.schema):this.EncodeSchema(U,this.schema)}}function ec(I){return new Yc(I)}function mu(I={}){return(0,r.v)({[a.b8]:I[a.b8]??"Unsafe"},I)}function tc(I){return(0,r.v)({[a.b8]:"Void",type:"void"},I)}const b=n,Cf=b.Object({id:b.String(),key:b.Optional(b.String()),code:b.String(),name:b.Optional(b.String()),filename:b.String(),url:b.Optional(b.String()),isAiGenerated:b.Optional(b.Boolean())},{$id:"Caption"}),ea=b.Object({l10nId:b.String()},{$id:"L10n"});function ji(I,U,Ze,pr){return{...b.Union([I,ea],{$id:pr}),contentType:U,title:"Localized",order:Ze??0}}const Rc=I=>I.title==="Localized",Al="nullable";function Dc(I){return b.Union([I,b.Null()],{[Al]:!0})}function Xc(I){return yr.my(I)&&I[Al]===!0}function pn(I){return b.Optional(Dc(I))}function xa(I,U){return b.Mapped(b.KeyOf(I),Ze=>pn(b.Index(I,Ze)),{$id:U})}function so(){return b.Union([b.Number(),b.String()])}function La(I=0,U){return ji(b.String({...U}),"plain",I)}function ia(I=0,U){return ji(b.String({...U}),"rich",I)}function Cl(){return b.Union([b.Date(),b.String()])}const Qc="discriminating";function ao(I,U,Ze){return b.Union(U,{[Qc]:I,$id:Ze})}function Bu(I){if(!yr.my(I)||!(Qc in I))return!1;const U=I[Qc];return Array.isArray(U)&&U.every(Ze=>typeof Ze=="string")}const Uu=b.Tuple([],{deprecated:!0}),Lc=b.Object({translationOverride:b.Optional(b.Boolean())},{$id:"TranslationOverride"}),pc=b.Partial(b.Object({text:b.String(),model:b.String(),voiceName:b.String(),stability:b.Number(),similarity:b.Number(),styleExaggeration:b.Number(),speakerBoost:b.Boolean(),l10nAutoGenStatus:b.Optional(b.String())},{description:"Settings for AI audio generation."})),Md=b.Object({type:b.Optional(b.Literal("audio")),inputKey:b.Optional(b.String({description:"Full path in S3 before transcode"})),key:b.Optional(b.String({description:"Full path in S3 after transcode. Use in tandem with the cdn host to resolve the asset"})),duration:b.Optional(b.Number({minimum:0})),originalUrl:b.Optional(b.String({description:"Name of the file that was uploaded"})),pause:b.Optional(b.Boolean()),transcript:pn(b.String({description:"Generated transcript from the uploaded source"})),transcodeId:b.Optional(b.String({description:"Job ID in AWS when performing the transcode"})),aiAudioSettings:b.Optional(pc),sourceType:b.Optional(b.Union([b.Literal("upload-audio"),b.Literal("record-audio"),b.Literal("ai-audio")],{description:"Where the audio originated"}))}),Mc=b.Composite([Md,Lc],{$id:"MediaAudio"}),Gu=b.Object({audio:Mc},{$id:"MediaAudioRecord"}),Jc=pn(b.Union([b.Literal("link"),b.Literal("photo"),b.Literal("video"),b.Literal("iframe"),b.Literal("rich")])),Sd=b.Composite([b.Object({type:b.Optional(b.Union([b.Literal("embed"),...Jc.anyOf])),embedType:Jc,src:b.String(),originalUrl:pn(b.Union([b.String(),b.Null()])),provider:pn(b.Union([b.String(),b.Null()])),providerUrl:pn(b.Union([b.String(),b.Null()])),thumbnail:pn(b.Union([b.String(),b.Null()])),favicon:pn(b.Union([b.String(),b.Null()])),title:pn(b.Union([b.String(),b.Null()])),description:pn(b.Union([b.String(),b.Null()])),useRelativePath:pn(b.Boolean()),pause:pn(b.Boolean())}),Lc],{$id:"MediaEmbed"}),xd=b.Object({embed:Sd},{$id:"MediaEmbedRecord"}),rc=b.Object({type:pn(b.String()),key:pn(b.String()),src:pn(b.String()),thumbnail:pn(b.String()),thumbnailKey:pn(b.String()),originalUrl:pn(b.String()),overlayColor:pn(b.String()),alpha:pn(so()),crushedKey:pn(b.String()),useCrushedKey:pn(b.Boolean()),alt:pn(b.String()),fillWidth:pn(b.Boolean()),trackingContext:pn(b.String()),trackingId:pn(b.Union([b.String(),b.Number()])),align:pn(b.Union([b.Literal("left"),b.Literal("center"),b.Literal("right")])),sourcedFrom:pn(b.Union([b.Literal("DEFAULT"),b.Literal("USER"),b.Literal("LIBRARY"),b.Literal("AI"),b.Literal("EXTRACTED"),b.Literal("VIDEO_TO_FRAME")]))}),nc=b.Object({style:pn(b.String()),prompt:b.String(),orientation:pn(b.Union([b.Literal("landscape"),b.Literal("square"),b.Literal("portrait")])),modelId:pn(b.String()),fromContent:pn(b.Object({i
996d:b.Union([b.String(),b.Number()]),type:b.String()}))},{$id:"AIGeneratedMediaSettings"}),Pu=b.Object({timestampInSecs:pn(b.Number({minimum:0}))},{$id:"VideoToFrameMetadata"}),Ol=b.Composite([rc,b.Object({isSquare:pn(b.Boolean()),originalImage:pn(rc),dimensions:pn(b.Object({height:pn(b.Integer()),left:pn(b.Integer()),originalHeight:pn(b.Integer()),originalWidth:pn(b.Integer()),top:pn(b.Integer()),width:pn(b.Integer())})),aiImageGenSettings:pn(nc),videoToFrame:pn(Pu),link:pn(b.Object({type:b.Union([b.Literal("url"),b.Literal("lesson")]),destination:b.String()}))}),Lc],{$id:"MediaImage"}),Po=b.Object({image:Ol},{$id:"MediaImageRecord"}),mc=b.Object({src:pn(b.String()),srcName:pn(b.String())},{$id:"MediaSandbox"}),Zc=b.Object({sandbox:mc},{$id:"MediaSandboxRecord"}),gu=b.Partial(b.Object({type:b.Optional(b.Literal("storyline")),src:b.String(),title:b.String(),thumbnail:b.Optional(b.String()),processing:b.Optional(b.Boolean()),contentPrefix:b.String(),meta:b.Partial(b.Object({title:b.String(),version:b.String(),course_id:b.String(),thumbnail:b.String(),stage:b.Object({width:b.Number(),height:b.Number()}),player:b.Partial(b.Object({name:b.String(),width:b.Number(),height:b.Number()})),scenes:b.Array(b.Object({title:b.String()})),slides:b.Array(b.Object({id:b.String(),title:b.String(),scene_index:b.String()}))}))}),{$id:"MediaStoryline"}),Ed=b.Object({storyline:gu},{$id:"MediaStorylineRecord"}),af=b.Union([b.Literal("processing"),b.Literal("done"),b.Literal("error")],{$id:"VideoChaptersThumbnailStatus"}),kd=b.Object({time:b.Number(),title:b.String(),thumbnail:b.Optional(b.String()),thumbnailStatus:b.Optional(af)},{$id:"VideoChapter"}),Il=b.Partial(b.Object({characterId:b.String(),generationError:b.Boolean(),audio:b.Optional(Mc),image:b.Optional(Ol),generateCaptions:b.Optional(b.Boolean()),skipProcess:b.Optional(b.Boolean())},{description:"Settings and media for AI-generated avatar videos."})),jl=b.Union([b.Composite([b.Object({type:b.Optional(b.Literal("video")),key:b.String(),url:b.Optional(b.String()),src:b.Optional(b.String()),poster:b.Optional(b.String()),duration:b.Optional(b.Number({minimum:0})),inputKey:b.Optional(b.String()),thumbnail:b.Optional(b.String()),captionUID:b.Optional(b.String()),originalUrl:b.Optional(b.String()),transcodeId:b.Optional(b.String()),pause:b.Optional(b.Boolean()),captions:b.Optional(b.Array(Cf)),chapters:b.Optional(b.Array(kd)),subtitle:b.Optional(b.String()),aiImageGenSettings:pn(nc),videoToFrame:pn(Pu),avatarSettings:b.Optional(Il),sourceType:b.Optional(b.Union([b.Literal("upload"),b.Literal("ai-avatar")],{description:"Where the video originated"}))}),Lc]),b.Object({isCancelled:b.Literal(!0)})],{$id:"MediaVideo"}),Nd=b.Object({video:jl},{$id:"MediaVideoRecord"}),Ku=b.Union([Mc,Sd,Ol,jl,mc,gu],{$id:"Media"}),po=b.Object({audio:b.Optional(Mc),video:b.Optional(jl),image:b.Optional(Ol)},{$id:"MediaAIAvatarRecord"}),Of=b.Composite([b.Object({originalUrl:b.String(),size:b.Integer(),src:b.Optional(b.String()),type:b.Optional(b.Literal("attachment")),key:b.Optional(b.String()),filename:b.Optional(b.String()),mimeType:b.Optional(b.String())}),Lc],{$id:"MediaAttachment"}),of=b.Object({attachment:Of},{$id:"MediaAttachmentRecord"}),vu=b.Partial(b.Composite([of,Gu,xd,Po,Zc,Ed,Nd].map(I=>b.Mapped(b.KeyOf(I),U=>b.Intersect([b.Omit(b.Index(I,U),["type"]),b.Partial(b.Pick(b.Index(I,U),["type"]))])))),{$id:"MediaRecord"}),Yu=b.Object({disableZoom:b.Optional(b.Boolean()),fullEmbed:b.Optional(b.Boolean()),showMetaData:b.Optional(b.Boolean())},{$id:"MediaSettings"}),uf=b.Object({name:pn(La()),image:pn(b.Partial(b.Object({media:Po})))},{$id:"AiTutorConfig"}),Xu=b.Union([b.Literal("top"),b.Literal("bottom")],{$id:"AudioPosition"}),zl=b.Union([b.Literal(1),b.Literal(2),b.Literal(3),b.Literal(4),b.Literal(5),b.Literal(6)],{$id:"HeadingLevel"}),ic=b.Union([b.Literal("ACCENT"),b.Literal("BLACK"),b.Literal("COLOR"),b.Literal("DARK"),b.Literal("GRAY"),b.Literal("IMAGE"),b.Literal("LIGHT"),b.Literal("TINT")],{$id:"Backgroun
996dType"}),$l=b.Union([b.Literal("WHITE"),b.Literal("TRANSPARENT")],{$id:"CardMode"}),gc=b.Union([b.Literal("AUTO"),b.Literal("BLACK"),b.Literal("LIGHT"),b.Literal("DARK")],{$id:"TextColor"}),Fd=b.Union([b.Number({minimum:0,maximum:30}),b.String()],{$id:"CornerRadius"}),If=xa(b.Object({accentColor:b.String(),backgroundColor:b.String(),backgroundType:ic,cardMode:$l,cornerRadius:Fd,customBackgroundColorContrast:gc,customPaddingBottom:so(),customPaddingLinked:b.Boolean(),customPaddingTop:so(),entranceAnimation:b.Boolean(),markerColorContrast:gc,paddingBottom:so(),paddingLinked:b.Boolean(),paddingTop:so(),snippetColorContrast:gc,v:b.Union([b.Literal(1),b.Literal(2)])}),"BlockSettings"),lo=b.Object({id:b.Union([b.String(),b.Number()]),settings:If,background:b.Optional(b.Partial(b.Object({media:ji(b.Partial(Po),"mediaRecord")}))),metadata:b.Optional(b.Partial(b.Object({createdVia:b.String()}))),globalBlockId:b.Optional(b.String())},{$id:"BlockBase"}),yu=b.Composite([lo,b.Object({type:b.Literal("interactive")})],{$id:"BlockInteractiveBase"}),to=b.Object({id:b.Union([b.String(),b.Number()])},{$id:"BlockItemBase"}),j=b.Composite([to,b.Object({title:La(0),description:b.Optional(ia(1)),media:b.Optional(b.Union([Uu,ji(vu,"mediaRecord")])),settings:b.Optional(b.Object({disableZoom:b.Optional(b.Boolean()),fullEmbed:b.Optional(b.Boolean())}))})],{$id:"BlockItemAccordion"}),se=b.Composite([yu,b.Object({family:b.Literal("interactive"),variant:b.Literal("accordion"),items:b.Array(j),settings:xa(b.Object({headingLevel:zl,zoomOnClick:b.Boolean(),accordionBehavior:b.Union([b.Literal("keepOpen"),b.Literal("onlyOne")]),audioPosition:Xu}))})],{$id:"BlockAccordion"}),we=b.Composite([yu,b.Object({family:b.Literal("ai-scenario"),variant:b.Literal("ai-scenario"),scenarioId:b.String(),items:b.Optional(b.Tuple([]))})],{$id:"BlockAIScenario"}),Oe=b.Union([b.Literal("AUTO"),b.Literal("BLACK"),b.Literal("LIGHT"),b.Literal("DARK")],{$id:"ColorContrast"}),rt=b.Composite([to,b.Object({type:b.Union([b.Literal(""),b.Literal("link"),b.Literal("relative-url"),b.Literal("email"),b.Literal("exit-course"),b.Literal("lesson")]),label:La(1),description:ia(0),destination:b.Optional(ji(b.String(),"buttonDestination",2))})],{$id:"BlockItemButton"}),at=xa(b.Object({buttonAlignment:b.Union([b.Literal("left"),b.Literal("center"),b.Literal("right")]),buttonColor:b.String(),buttonColorContrast:Oe,buttonRadius:so(),buttonShowDescription:b.Boolean(),buttonSpacing:so(),buttonStyle:b.Literal("rounded"),buttonWidth:so(),customButtonWidth:b.Number()})),Ht=b.Composite([yu,b.Object({family:b.Literal("buttons"),variant:b.Literal("button"),items:b.Optional(b.Array(rt)),settings:at})],{$id:"BlockButton"}),ir=b.Composite([yu,b.Object({family:b.Literal("buttons"),variant:b.Literal("button stack"),items:b.Array(rt),settings:at})],{$id:"BlockButtonStack"}),A=b.Object({type:b.Optional(b.Union([b.Literal("image"),b.Literal("fullimage"),b.Literal("description")])),description:b.Optional(ia()),media:b.Optional(ji(b.Partial(b.Composite([Gu,Po])),"mediaRecord"))}),N=b.Composite([to,b.Object({back:A,front:A})],{$id:"BlockItemCard"}),K=b.Literal("flashcard"),te=b.Union([b.Literal("0"),b.Literal("1"),b.Literal("2")],{$id:"FlashcardSize"});function de(I){return b.Composite([yu,b.Object({family:K,variant:b.Literal(I),items:b.Array(N),settings:xa(b.Object({showHint:b.Boolean(),flashcardSize:te}))})])}const fe=ao(["variant"],[de("flashcard"),de("stack")],"BlockFlashcard"),Se=b.Composite([to,b.Object({color:b.String(),type:La(),value:b.String()})],{$id:"BlockItemChart"});function Pe(I){return b.Composite([lo,b.Object({type:b.Literal("chart"),family:b.Literal("chart"),variant:b.Literal(I),items:b.Array(Se),title:ia(0),itemsLabel:La(2),valuesLabel:La(1),settings:xa(b.Object({headingLevel:zl,valueType:b.Union([b.Literal("numeric"),b.Literal("percentage")])}))})])}function Qe(I){return b.Composite([Pe(I),b.Object({settings:xa(b.Object({chartColor:b.String(),lineCurve:b.Union([b.Literal("linear"),b.Literal("natural")])}))})])}const ut=ao(["variant"],[Qe("bar"),Qe("line"),Pe("pie")],"BlockChart"),At=b.Composite([to,b.Object({title:La(0),buttonColor:b.Union([b.Literal("brand"),b.Literal("gray"),b.Literal("black")]),completeHint:La(1)})],{$id:"BlockItemContinue"}),Pt=ao(["type"],[b.Composite([At,b.Object({type:b.Literal("")})]),b.Composite([At,b.Object({type:b.Literal("completeBlock")})]),b.Composite([At,b.Object({type:b.Literal("completeAll")}
996)])],"BlockItemContinue"),Fr=b.Object({id:b.Union([b.String(),b.Number()]),correct:b.Optional(b.Boolean())}),vr=b.Composite([Fr,b.Object({title:b.Optional(La(1))})],{$id:"BlockItemKnowledgeCheckAnswerPlain"}),Qr=b.Composite([Fr,b.Object({title:b.Optional(ia(1))})],{$id:"BlockItemKnowledgeCheckAnswerRich"}),jt=b.Union([b.Literal("ANY"),b.Literal("CORRECT_INCORRECT"),b.Literal("CHOICE")],{$id:"BlockKnowledgeCheckFeedbackType"}),Vt=b.Composite([to,b.Object({title:ia(0),media:b.Optional(ji(vu,"mediaRecord")),settings:b.Optional(Yu),isCaseSensitive:b.Optional(b.Boolean())})],{$id:"BlockItemKnowledgeCheckBase"});function zr(I,U){const Ze=I?Qr:vr;let pr;switch(U){case"ANY":pr=b.Object({feedbackType:b.Optional(b.Union([b.Literal(U),b.Literal("")])),feedback:b.Optional(ia(1)),answers:b.Array(Ze)});break;case"CORRECT_INCORRECT":pr=b.Object({feedbackType:b.Literal(U),feedbackCorrect:b.Optional(ia(2)),feedbackIncorrect:b.Optional(ia(3)),answers:b.Array(Ze)});break;case"CHOICE":pr=b.Object({feedbackType:b.Literal(U),answers:b.Array(b.Composite([Ze,b.Object({feedback:b.Optional(b.Optional(ia(2)))})]))});break}return b.Composite([Vt,pr])}const _r=b.Object({type:b.Literal("FILL_IN_THE_BLANK")}),Xn=b.Union([b.Composite([_r,zr(!1,"ANY")]),b.Composite([_r,zr(!1,"CORRECT_INCORRECT")])],{$id:"BlockItemFillIn"}),ni=b.Composite([to,b.Object({srcdoc:b.Optional(ji(b.Optional(b.String()),"codeSrcDoc")),media:b.Optional(ji(b.Optional(Zc),"codeMedia"))})],{$id:"BlockItemHTML"}),zn=b.Composite([to,b.Object({caption:b.Optional(ia(1)),media:b.Optional(ji(b.Partial(b.Composite([Gu,Po])),"mediaRecord"))})],{$id:"BlockItemImageWithCaption"}),hi=b.Composite([to,zn,b.Object({paragraph:b.Optional(ia(2))})],{$id:"BlockItemImageTextAside"}),Ki=b.Union([zn,hi],{$id:"BlockItemImage"});function Lr(I){return b.Composite([b.Omit(zr(!1,I),["answers"]),b.Object({type:b.Literal("MATCHING"),answers:b.Array(b.Composite([vr,b.Object({matchTitle:b.Optional(La(1))})]))})])}const li=b.Union([Lr("ANY"),Lr("CORRECT_INCORRECT")],{$id:"BlockItemMatching"}),_s=b.Object({type:b.Optional(b.Literal("MULTIPLE_CHOICE"))}),ga=ao(["type","feedbackType"],[b.Composite([_s,zr(!0,"ANY")]),b.Composite([_s,zr(!0,"CORRECT_INCORRECT")]),b.Composite([_s,zr(!0,"CHOICE")])],"BlockItemMultipleChoice"),Ei=b.Object({type:b.Literal("MULTIPLE_RESPONSE"),correct:b.Optional(b.String()),corrects:b.Optional(b.Array(b.String()))}),Us=b.Union([b.Composite([Ei,zr(!0,"ANY")]),b.Composite([Ei,zr(!0,"CORRECT_INCORRECT")])],{$id:"BlockItemMultipleResponse"}),fs=ao(["type","feedbackType"],[li,ga,Us,Xn],"QuestionBankQuestion"),Ws=b.Composite([to,b.Object({type:b.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:b.Optional(b.String()),questionBankTitle:b.Optional(b.String()),questionBankUpdatedAt:b.Optional(b.String()),drawCount:b.Optional(b.Number()),questions:b.Optional(b.Array(fs))})],{$id:"BlockItemQuestionBank"}),Ss=ao(["type","feedbackType"],[li,ga,Us,Ws,Xn],"BlockItemKnowledgeCheck"),Wa=b.Composite([to,b.Object({x:ji(so(),"coordinate"),y:ji(so(),"coordinate"),icon:b.String(),title:La(1),isActive:b.Boolean(),description:ia(2),media:b.Optional(ji(vu,"mediaRecord"))})],{$id:"BlockItemLabeledGraphic"}),Ho=b.Composite([to,b.Object({paragraph:b.Optional(ia()),number:pn(b.Union([b.String(),b.Number()]))})],{$id:"BlockItemList"}),Va=b.Composite([to,b.Object({isHidden:b.Boolean(),title:La(0),description:pn(ia(1)),media:b.Optional(b.Union([ji(vu,"mediaRecord"),Uu])),type:b.Union([b.Literal("intro"),b.Literal("summary"),b.Literal("step")]),settings:b.Optional(b.Union([b.Partial(b.Object({showMetaData:b.Boolean()})),Uu]))})],{$id:"BlockItemProcess"}),Jo=b.Composite([to,b.Object({name:ia(1),avatar:b.Object({media:ji(b.Partial(Po),"mediaRecord")}),paragraph:ia(0),background:b.Optional(b.Object({media:ji(b.Partial(Po),"mediaRecord")}))})],{$id:"BlockItemQuote"}),ju=b.Union([b.Literal("next"),b.Literal("slide"),b.Literal("end")]),bu=b.Object({scene:b.String(),slide:b.String()}),Su=b.Object({id:b.String(),alt:b.Optional(La(2)),goTo:ju,action:b.Union([b.Literal("continue"),b.Literal("tryAgain")]),emotion:b.String(),feedback:Dc(ia(1)),nextSlide:pn(bu),description:pn(ia(0))}
996),fl=b.Object({id:b.String(),alt:b.Optional(La(2)),title:Dc(La(0)),goTo:ju,type:b.Union([b.Literal("dialogue"),b.Literal("text")]),emotion:b.String(),media:b.Optional(ji(b.Partial(Gu),"mediaRecord")),nextSlide:pn(bu),responses:b.Array(Su),description:pn(ia(1)),hasCharacter:b.Boolean()}),Pl=b.Composite([Ol,b.Object({id:b.String(),filters:b.Array(b.Object({name:b.String(),value:b.String()}))})]),hl=b.Partial(b.Object({media:ji(Po,"mediaRecord")})),qc=b.Partial(b.Object({id:b.String(),name:b.String(),src:b.String(),poses:b.Record(b.String(),Pl)})),Bd=b.Composite([to,b.Object({title:La(),background:hl,character:qc,slides:b.Array(fl),slidesHaveCharacterByDefault:b.Optional(b.Boolean()),blurBackground:b.Optional(b.Boolean())})],{$id:"BlockItemScenario"}),ed=b.Composite([to,b.Object({title:La(),pileId:b.Union([b.String(),b.Number()])})],{$id:"BlockItemSorting"}),Pf=b.Union([b.Object({}),b.Composite([to,b.Object({paragraph:b.Optional(ia())})])],{$id:"BlockItemStatement"}),Rf=b.Composite([to,xa(b.Object({media:ji(Ed,"storyline")}))],{$id:"BlockItemStoryline"}),Ud=b.Composite([to,b.Object({title:b.Optional(La(0)),description:b.Optional(ia(1)),media:b.Optional(b.Union([Uu,b.Optional(ji(vu,"mediaRecord"))])),settings:b.Optional(b.Object({disableZoom:b.Optional(b.Boolean()),fullEmbed:b.Optional(b.Boolean())}))})],{$id:"BlockItemTabs"}),nu=b.Composite([to,b.Object({media:b.Optional(ji(Po,"mediaRecord"))})]),iu=b.Union([b.Object({}),b.Composite([nu,b.Object({heading:pn(ia(0))})])],{$id:"BlockItemTextHeading"}),td=b.Union([b.Object({}),b.Composite([nu,b.Object({paragraph:pn(ia(1))})])],{$id:"BlockItemTextParagraph"}),Df=b.Union([b.Object({}),b.Composite([to,b.Object({heading:pn(ia(0)),paragraph:pn(ia(1))})])],{$id:"BlockItemTextHeadingParagraph"}),rd=b.Union([iu,td,Df],{$id:"BlockItemText"}),lf=b.Composite([to,b.Object({date:b.Optional(La(0)),title:La(1),description:ia(2),media:b.Optional(ji(vu,"mediaRecord")),settings:b.Optional(Yu)})],{$id:"BlockItemTimeline"}),Th=b.Union([j,rt,N,Pt,Xn,ni,Ki,Ss,Wa,Ho,li,ga,Us,Va,Ws,Jo,Bd,ed,Pf,Rf,Ud,rd,lf],{$id:"BlockItem"}),Rl=b.Composite([to,b.Object({caption:b.Optional(ia()),code:b.String()})],{$id:"BlockItemCode",deprecated:!0}),jd=b.Composite([to,b.Object({caption:b.Optional(ia()),code:b.String()})],{$id:"BlockItemCodeSnippet"});function cf(I,U){const Ze=ji(I,"mediaRecord",0);return b.Composite([to,b.Object({media:Ze})],{$id:U})}function Lf(I,U){return b.Composite([I,b.Object({caption:b.Optional(ia(1))})],{$id:U})}const Qf=cf(of,"BlockItemAttachment"),vc=Lf(cf(Gu),"BlockItemAudio"),zd=b.Composite([cf(xd),b.Object({settings:b.Optional(b.Object({showMetaData:b.Optional(b.Boolean())}))})],{$id:"BlockItemEmbed"}),Mf=b.Object({customVideo:b.Optional(b.Partial(jl)),video:b.Optional(b.Partial(jl))},{$id:"MediaVideoOrCustomVideoRecord"}),df=b.Composite([Lf(cf(Mf)),b.Object({partnerContentId:b.Optional(b.String())})],{$id:"BlockItemVideo"}),yc=Lf(cf(po),"BlockItemAIAvatar"),nd=b.Union([Qf,vc,zd,df],{$id:"BlockItemMultimedia"}),wh=b.Composite([to,b.Object({step:b.Optional(La(0)),title:ia(1),description:ia(2),media:b.Optional(ji(vu,"mediaRecord")),settings:b.Optional(Yu)})],{$id:"BlockItemStep"}),$d=b.Composite([to,b.Object({title:ia(0),question:ia(0),isRequired:b.Optional(b.Boolean())})]),os=b.Composite([$d,b.Object({maxLength:b.Optional(b.Number()),questionType:b.Literal("SHORT_RESPONSE")})],{$id:"BlockItemSurveyShortResponse"}),Jf=b.Composite([$d,b.Object({maxLength:b.Optional(b.Number()),questionType:b.Literal("LONG_RESPONSE")})],{$id:"BlockItemSurveyLongResponse"}),Hl=b.Composite([$d,b.Object({questionType:b.Literal("RATING"),labels:b.Array(La())})],{$id:"BlockItemSurveyRating"}),ff=b.Composite([$d,b.Object({questionType:b.Literal("LINEAR_SCALE"),scaleMax:b.Number(),startLabel:b.Optional(La()),endLabel:b.Optional(La())})],{$id:"BlockItemSurveyLinearScale"}),Td=b.Object({id:b.String(),title:ia(0)},{$id:"BlockItemSurveyChoice"}),Zf=b.Composite([$d,b.Object({questionType:b.Literal("MULTIPLE_CHOICE"),choices:b.Array(Td)})],{$id:"BlockItemSurveyMultipleChoice"}),ro=b.Composite([$d,b.Object({questionType:b.Literal("MULTIPLE_RESPONSE"),choices:b.Array(Td)})],{$id:"BlockItemSurveyMultipleResponse"}),Hd=ao(["questionType"],[os,Jf,Hl,ff,Zf,ro],"BlockItemSurvey");function bc(I){return b.Composite([lo,b.Object({type:b.Literal(I),family:b.Literal(I),variant:b.Literal("co
996de"),items:b.Tuple([Rl]),settings:xa(b.Object({language:b.String(),snippetBackgroundColor:b.String(),snippetColorContrast:Oe,theme:b.String(),useAdvancedEditor:b.Boolean(),wrapWords:b.Boolean()}))})],{deprecated:!0})}const id=ao(["type","family"],[bc("text"),bc("multimedia")],"BlockCode");function Sc(I){return b.Composite([lo,b.Object({type:b.Literal(I),family:b.Literal(I),variant:b.Literal("code"),items:b.Tuple([Rl]),settings:xa(b.Object({language:b.String(),snippetBackgroundColor:b.String(),snippetColorContrast:Oe,theme:b.String(),useAdvancedEditor:b.Boolean(),wrapWords:b.Boolean()}))})])}const hf=ao(["type","family"],[Sc("text"),Sc("multimedia")],"BlockCodeSnippet"),pf=xa(b.Object({continueColor:b.String(),continueColorContrast:Oe,continueRadius:so(),continueWidth:so()})),jf=b.Composite([lo,b.Object({type:b.Literal("divider"),family:b.Literal("continue"),variant:b.Literal("continue"),items:b.Tuple([Pt]),settings:pf})],{$id:"BlockContinue"});function wd(I){const U={type:b.Literal("divider"),family:b.Literal("divider"),variant:b.Literal(I),items:b.Optional(b.Union([b.Tuple([]),b.Tuple([Pt])]))};return I==="numbered divider"?b.Composite([lo,b.Object({...U,settings:xa(b.Object({restartNumbering:b.Boolean(),restartNumberingValue:b.Number()}))})]):b.Composite([lo,b.Object(U)])}const zu=ao(["variant"],[wd("divider"),wd("numbered divider"),wd("spacing divider")],"BlockDivider"),sd=b.Union([b.Literal("0"),b.Literal("1"),b.Literal("2")],{$id:"MediaWidth"}),xu=b.Intersect([b.Number({minimum:0,maximum:30})],{$id:"MediaCornerRadius"});function Wd(I,U,Ze){return b.Composite([lo,b.Object({type:b.Literal("multimedia"),family:b.Literal("multimedia"),variant:b.Literal(I),items:b.Array(U,{minItems:1})})],Ze!==void 0?{$id:Ze}:{})}const Wl=Wd("attachment",Qf,"BlockAttachment"),mr=b.Intersect([Wd("audio",vc),b.Object({settings:xa(b.Object({forwardSeekRestricted:b.Boolean()}))})],{$id:"BlockAudio"}),$r=b.Composite([Wd("embed",zd),b.Object({settings:xa(b.Object({showBorder:b.Boolean(),mediaWidth:sd}))})],{$id:"BlockEmbed"}),Ot=b.Composite([Wd("video",df),b.Object({settings:xa(b.Object({forwardSeekRestricted:b.Boolean(),headingLevel:zl,mediaWidth:sd,mediaCornerRadius:xu,showTranscript:b.Boolean(),showChapters:b.Boolean()}))})],{$id:"BlockVideo"}),ci=b.Composite([lo,b.Object({type:b.Literal("multimedia"),family:b.Literal("multimedia"),variant:b.Literal("custom video"),items:b.Array(df,{minItems:1}),settings:xa(b.Object({forwardSeekRestricted:b.Boolean(),headingLevel:zl,mediaWidth:sd,mediaCornerRadius:xu,showTranscript:b.Boolean(),showChapters:b.Boolean()}))})],{$id:"BlockCustomVideo"}),ui=b.Composite([Wd("ai_avatar",yc),b.Object({metadata:b.Optional(b.Partial(b.Object({characterId:b.String(),imageEditPrompt:b.String(),generationError:b.Boolean()})))})],{$id:"BlockAIAvatar"}),Ds=b.Composite([Wd("step",wh),b.Object({settings:xa(b.Object({headingLevel:zl,zoomOnClick:b.Boolean(),audioPosition:Xu}))})],{$id:"BlockStep"}),Ls=ao(["variant"],[Wl,mr,$r,Ot,ci,ui,Ds],"BlockMultimedia"),js=b.Composite([lo,b.Object({type:b.Literal("html"),family:b.Literal("html"),settings:xa(b.Object({autoResize:b.Boolean(),hasCustomCompletion:b.Boolean(),height:b.Number(),width:sd})),items:b.Tuple([ni])})]);function Ji(I){return b.Composite([js,b.Object({variant:b.Literal(I)})])}const Qs=ao(["variant"],[Ji("inline"),Ji("cdn")],"BlockHTML"),ws=b.Object({type:b.Literal("image"),settings:xa(b.Object({opacity:so(),opacityColor:b.String(),zoomOnClick:b.Boolean(),imagePosition:b.Union([b.Literal("left"),b.Literal("right")]),imageSize:b.Union([b.Literal("small"),b.Literal("medium"),b.Literal("large")]),mediaCornerRadius:xu}))});function ts(I,U,Ze){return b.Composite([lo,ws,b.Object({family:b.Literal(I),variant:b.Literal(U)}),b.Object({items:b.Array(Ze)})])}const Ts=ao(["family","variant"],[ts("image","hero",zn),ts("image","full",zn),ts("image","text aside",hi),ts("image","text overlay",zn),ts("image","banner",zn),ts("gallery","centered",zn),ts("gallery","two column",zn),ts("gallery","three column",zn),ts("gallery","four column",zn)],"BlockImage"),Ga=b.Union([b.Literal("freezeFirst"),b.Literal("freezeSecond")],{$id:"ColumnBehavior"}),_a=b.Composite([lo,b.Object({type:b.Literal("knowledgeCheck"),family:b.Literal("knowledgeCheck")})]),Ka=b.Object({columnBehavior:b.Optional(Ga),correctAnswerColor:b.String(),correctAnswerColorContrast:Oe,hideRetryOnCorrectAnswer:b.Boolean(),incorrectAnswerColor:b.String(),incorrectAnswerColorContrast:Oe,knowledgeCheckWidth:b.Integer({minimum:0}),requireCorrectAnswer:b.Boolean(),retryCount:b.Integer(),revealCorrectAnswers:b.Boolean()}),co=ao(["type","feedbackType"],[li,ga,Us,Xn],"BlockItemKnowledgeCheckWithoutQuestionBank"),Ya=b.Composite([_a,b.Object({variant:b.Literal("draw from question bank"),items:b.Tuple
996([Ws]),settings:xa(Ka)})],{$id:"BlockKnowledgeCheckQuestionBank"}),Ru=b.Composite([_a,b.Object({variant:b.Literal("fillin"),items:b.Tuple([co]),settings:xa(Ka)})],{$id:"BlockKnowledgeCheckFillIn"}),pl=b.Composite([_a,b.Object({variant:b.Literal("matching"),items:b.Tuple([co]),settings:xa(Ka)})],{$id:"BlockKnowledgeCheckMatching"}),mf=b.Composite([_a,b.Object({variant:b.Literal("multiple choice"),items:b.Tuple([co]),settings:xa(Ka)})],{$id:"BlockKnowledgeCheckMultipleChoice"}),kc=b.Composite([_a,b.Object({variant:b.Literal("multiple response"),items:b.Tuple([co]),settings:xa(Ka)})],{$id:"BlockKnowledgeCheckMultipleResponse"}),Vd=b.Composite([lo,b.Object({type:b.Literal("interactive"),family:b.Literal("knowledge"),variant:b.Literal("knowledge"),items:b.Tuple([co]),settings:xa(Ka)})],{$id:"BlockKnowledge"}),Qu=ao(["type","family","variant"],[Ya,Ru,pl,mf,kc,Vd],"BlockKnowledgeCheck"),Vl=b.Composite([yu,b.Object({family:b.Literal("interactive-fullscreen"),variant:b.Literal("labeledgraphic"),items:b.Array(Wa),media:ji(Po,"mediaRecord"),settings:xa(b.Object({markerColor:b.String(),markerColorContrast:Oe,zoomOnClick:b.Boolean(),mediaWidth:b.Union([b.Literal("0"),b.Literal("1"),b.Literal("2")]),audioPosition:Xu}))})],{$id:"BlockLabeledGraphic"}),_d=b.Literal("list"),sc=b.Literal("list");function ad(I){return b.Composite([lo,b.Object({type:_d,family:sc,variant:b.Literal(I),items:b.Array(Ho),settings:xa(b.Object({audioPosition:Xu,bulletPadding:b.Integer({minimum:0}),listItemColor:b.String(),listItemColorContrast:Oe,listWidth:b.Integer({minimum:0})})),media:b.Optional(ji(b.Partial(Gu),"mediaRecord"))})])}const Ad=ao(["variant"],[ad("bulleted"),ad("checkboxes"),ad("numbered")],"BlockList"),Gd=b.Composite([lo,b.Object({type:b.Literal("custom"),family:b.Literal("mondrian"),variant:b.Literal("mondrian"),items:b.Optional(b.Tuple([])),blockumentId:b.Optional(b.String()),settings:xa(b.Object({contentWidth:so()}))})],{$id:"BlockMondrian"});function Ma(I){return b.Composite([b.Omit(lo,["settings"]),b.Partial(b.Pick(lo,["settings"])),b.Object({type:b.Literal(I),family:b.Literal(I),variant:b.Literal(I),items:b.Optional(b.Tuple([]))})])}const Ju=b.Composite([Ma("pending"),b.Object({pendingItemId:b.Optional(b.Union([b.String(),b.Number()]))})]),xc=Ma("spacer"),Ec=ao(["type","family","variant"],[Ju,xc],"BlockPlaceholder"),zf=xa(b.Object({headingLevel:zl,showStepLabel:b.Boolean(),stepLabel:La(),zoomOnClick:b.Boolean(),audioPosition:Xu})),Cd=b.Composite([yu,b.Object({family:b.Literal("interactive-fullscreen"),variant:b.Literal("process"),items:b.Array(Va),settings:zf})],{$id:"BlockProcess"}),fo=b.Literal("quote"),ac=b.Literal("quote");function Od(I){return b.Composite([lo,b.Object({type:fo,family:ac,variant:b.Literal(I),items:b.Array(Jo),settings:xa(b.Object({audioPosition:Xu,avatar:b.Boolean(),avatarSize:b.Number({minimum:0}),divider:b.Boolean(),dividerSize:b.Integer({minimum:0}),quoteIcon:b.Boolean(),quotePadding:b.Integer({minimum:0}),quoteWidth:b.Integer({minimum:0}),quotesInline:b.Boolean(),showBorder:b.Boolean(),quoteAlignment:b.Union([b.Literal("left"),b.Literal("center"),b.Literal("right")])}))})])}const qf=ao(["variant"],[Od("a"),Od("b"),Od("background"),Od("c"),Od("carousel"),Od("d")],"BlockQuote"),eh=b.Composite([yu,b.Object({family:b.Literal("interactive-fullscreen"),variant:b.Literal("scenario"),items:b.Array(Bd),settings:xa(b.Object({headingLevel:zl}))})],{$id:"BlockScenario"}),$f=b.Composite([yu,b.Object({family:b.Literal("interactive-fullscreen"),variant:b.Literal("sorting"),items:b.Array(ed),piles:b.Array(b.Object({id:b.Union([b.String(),b.Number()]),title:La()}))})],{$id:"BlockSorting"});function Kd(I){return b.Composite([lo,b.Object({type:b.Literal("text"),family:b.Literal("impact"),variant:b.Literal(I),items:b.Array(Pf),media:b.Optional(ji(b.Partial(b.Composite([Gu])),"mediaRecord")),settings:xa(b.Object({audioPosition:Xu,divider:b.Boolean(),dividerPadding:b.Number({minimum:0}),dividerSize:b.Number({minimum:0}),noteColor:b.String(),noteColorContrast:Oe,noteIcon:b.Boolean(),noteIconColor:b.String(),noteSize:b.Union([b.Literal("sm"),b.Literal("med"),b.Literal("lg")]),statementWidth:b.Integer({minimum:0})}))})])}const Gh=ao(["variant"],[Kd("a"),Kd("b"),Kd("c"),Kd("d"),Kd("note")],"BlockStatement"),_h=b.Composite([lo,b.Object({type:b.Literal("interactive"),family:b.Literal("360"),variant:b.Literal("storyline"),items:b.Tuple
996([Rf]),settings:xa(b.Object({mediaWidth:b.Union([b.Literal("0"),b.Literal("1"),b.Literal("2")]),mediaCornerRadius:xu}))})],{$id:"BlockStoryline"}),Ah=b.Composite([lo,b.Object({title:ia(0),type:b.Literal("survey"),family:b.Literal("survey"),variant:b.Literal("survey"),items:b.Array(Hd),settings:xa(b.Object({surveyWidth:b.Integer({minimum:0})}))})],{$id:"BlockSurvey"}),Ch=b.Composite([yu,b.Object({family:b.Literal("interactive"),variant:b.Literal("tabs"),items:b.Array(Ud),settings:xa(b.Object({zoomOnClick:b.Boolean(),audioPosition:Xu}))})],{$id:"BlockTabs"}),Oh=b.Object({type:b.Literal("text"),family:b.Literal("text"),media:b.Optional(ji(b.Partial(Gu),"mediaRecord"))});function Id(I,U,Ze){return b.Composite([lo,Oh,b.Object({variant:b.Literal(I),items:b.Array(Ze),settings:xa(b.Composite([b.Object({audioPosition:Xu,cellPadding:b.Number({minimum:0}),textPadding:b.Number({minimum:0})}),b.Object({[U]:b.Integer({minimum:0})})]))})])}function th(I){return b.Composite([Id(I,"textWidth",td),b.Object({settings:xa(b.Object({audioPosition:Xu,images:b.Boolean(),zoomOnClick:b.Boolean()}))})])}const kf=ao(["variant"],[Id("paragraph","textWidth",td),Id("heading","textWidth",iu),Id("subheading","textWidth",iu),Id("heading paragraph","textWidth",Df),Id("subheading paragraph","textWidth",Df),Id("table","tableWidth",td),th("two column"),th("three column"),th("four column"),bc("text"),Sc("text")],"BlockText"),Dl=b.Composite([lo,b.Object({type:b.Literal("textToVideo"),family:b.Literal("textToVideo"),variant:b.Literal("textToVideo"),items:b.Array(to)})],{$id:"BlockTextToVideo",deprecated:!0}),rh=b.Composite([yu,b.Object({family:b.Literal("interactive-fullscreen"),variant:b.Literal("timeline"),items:b.Array(lf),settings:xa(b.Object({headingLevel:zl,zoomOnClick:b.Boolean(),audioPosition:Xu}))})],{$id:"BlockTimeline"}),gf=ao(["type","family","variant"],[se,we,ir,Ht,ut,id,hf,jf,zu,Qs,fe,Ts,Qu,Vl,Ad,Gd,Ls,Ah,Cd,qf,eh,$f,Ec,Gh,_h,Ch,Dl,kf,rh],"Block"),Ih=ao(["type","family","variant"],[se,Ht,ir,fe,Vl,Cd,eh,$f,_h,Ch,rh],"BlockInteractive"),Kh=b.Optional(b.Record(b.String(),b.Unknown())),vf=b.Array(b.Union([b.String(),b.Integer(),b.Record(b.String(),b.Union([b.String(),b.Number()]))]),{$id:"ChangePath"}),Yh=b.Object({type:b.Literal("update"),oldValue:b.Unknown(),newValue:b.Unknown()},{$id:"UpdateCommand"}),xp=b.Object({type:b.Literal("add"),newValue:b.Unknown(),meta:Kh},{$id:"AddCommand"}),Ep=b.Object({type:b.Literal("delete"),oldValue:b.Unknown()},{$id:"DeleteCommand"}),nh=b.Object({type:b.Literal("move"),from:vf},{$id:"MoveCommand"}),Xh=b.Object({type:b.Literal("append"),newValue:b.Unknown()},{$id:"AppendCommand"}),Qh=b.Union([Yh,xp,Ep,nh,Xh],{$id:"Command"}),Ph=b.Object({id:b.String(),path:vf,proposedAt:b.String(),proposedBy:b.String(),source:b.Optional(b.Union([b.String(),b.Null()])),locale:b.Optional(b.Union([b.String(),b.Null()])),command:Qh},{$id:"Change"}),yf=b.Array(Ph,{$id:"Changeset",minItems:1}),Tp=b.Union([b.Literal("ACCENT"),b.Literal("CENTERED"),b.Literal("CENTERED_ACCENT_TINT"),b.Literal("CENTERED_OVERLAY"),b.Literal("CENTERED_IMAGE"),b.Literal("IMAGE"),b.Literal("LEFT"),b.Literal("LEFT_OVERLAY"),b.Literal("SPLIT_LEFT"),b.Literal("SPLIT_LEFT_IMAGE"),b.Literal("SPLIT_RIGHT"),b.Literal("SPLIT_RIGHT_IMAGE"),b.Literal("TWO_THIRDS_LEFT_IMAGE"),b.Literal("TWO_THIRDS_RIGHT_IMAGE"),b.Literal("WHITE"),b.Literal("VIDEO")],{$id:"CoverPageLayout"}),Jh=b.Union([b.Literal("LARGE"),b.Literal("MEDIUM"),b.Literal("SMALL")],{$id:"LessonHeaderSize"}),Zh=b.Union([b.Literal("CONTINOUS"),b.Literal("STEPPED")],{$id:"BlockNavigation"}),wp=b.Union([b.Literal("COMPACT"),b.Literal("OVERLAY"),b.Literal("SIDEBAR")],{$id:"Navigation"}),Hf=b.Union([b.Literal("ACCENT"),b.Literal("DARK"),b.Literal("DARK_ACCENT"),b.Literal("DARK_IMAGE"),b.Literal("GRAY"),b.Literal("IMAGE"),b.Literal("LIGHT"),b.Literal("LIGHT_ACCENT"),b.Literal("LIGHT_IMAGE"),b.Literal("TINT")],{$id:"NavigationStyle"}),qh=b.Union([b.Literal("THEME_DEFAULT"),b.Literal("CIRCULAR_FILL"),b.Literal("INCOMPLETE_COMPLETE")],{$id:"ProgressIndicatorStyle"}),Wf=b.Union([b.Literal("ACCENT"),b.Literal("DARK"),b.Literal("LIGHT"),b.Literal("TINT")],{$id:"ButtonScheme"}),ih=b.Union([b.Literal("FULL"),b.Literal("FLOATING"),b.Literal("FLOATING_FULL")],{$id:"ButtonNavigationStyle"}),_p=b.Union([b.Literal("ROUNDED"),b.Literal("SQUARED")],{$id:"ButtonInlineStyle"}),ep=b.Union([b.Literal("ROUNDED"),b.Literal("SQUARED")],{$id:"BlockCorners"}),tp=b.Union([b.Literal("ACCENT"),b.Literal("BLACK"),b.Literal("COLOR"),b.Literal("DARK"),b.Literal("GRAY"),b.Literal("IMAGE"),b.Literal("LIGHT"),b.Literal("TINT")],{$id:"LessonHeaderStyle"}),sh=b.Union([b.Literal("ACCENT"),b.Literal("DARK"),b.Literal("LIGHT")],{$id:"LessonHeaderImageColor"}),Rh=b.Union([b.Literal("ACCENT"),b.Literal("DARK"),b.Literal("LIGHT")],{$id:"CoverImageColor"}),Dh=b.Object({themeId:b.String(),accentContrast:pn(Oe),allowSearch:b.Boolean(),animateBlockEntrance:b.Boolean(),blockCorners:ep,blockNavigationType:pn(Zh),blockPaddingBottom:b.Integer({minimum:0,deprecated:!0}),blockPaddingTop:b.Integer({minimum:0,deprecated:!0}
996),blockBackgroundColor:pn(b.String()),blockBackgroundColorContrast:pn(Oe),blockBackgroundType:pn(ic),blockContinueCompleteHint:pn(b.String()),blockContinueCompletionType:pn(b.String()),blockContinueLabel:pn(b.String()),blockPaddingEnd:pn(b.Number({minimum:0})),blockPaddingStart:pn(b.Number({minimum:0})),blockTextBackgroundColor:pn(b.String()),blockTextBackgroundColorContrast:pn(Oe),blockTextBackgroundType:pn(ic),blockTextBodyFontSize:pn(b.Number({minimum:1})),blockTextHeadingFontSize:pn(b.Number({minimum:1})),blockTextPaddingEnd:pn(b.Number({minimum:0})),blockTextPaddingStart:pn(b.Number({minimum:0})),blockTextSubheadingFontSize:pn(b.Number({minimum:1})),buttonInlineStyle:_p,buttonNavigationStyle:ih,buttonScheme:Wf,colorAccent:b.String(),compactShowLessonCount:b.Boolean(),coverImage:b.String(),coverImageAlpha:b.Integer({minimum:0,maximum:100}),coverImageColor:pn(Rh),coverImageDefault:pn(b.String()),coverPageType:Tp,customColorLessonHeaderContrast:pn(Oe),enableVideoPlaybackSpeed:pn(b.Boolean()),hideCoverPage:pn(b.Boolean()),hideLessonHeaders:pn(b.Boolean()),lessonHeaderColor:pn(b.String()),lessonHeaderImage:b.String(),lessonHeaderImageAlpha:b.Number({minimum:0,maximum:1}),lessonHeaderImageColor:sh,lessonHeaderSize:Jh,lessonHeaderStyle:tp,markLessonsComplete:pn(b.Boolean()),navigation:b.Boolean(),navigationRestricted:b.Boolean(),navigationSectionsExpanded:pn(b.Boolean()),navigationStyle:Hf,navigationType:wp,progressIndicatorStyle:pn(qh),showAuthor:b.Boolean(),showLessonCount:b.Boolean(),showNavigationButtons:b.Boolean(),showStartButton:pn(b.Boolean()),sidebarStartsOpen:b.Boolean(),bodyTypefaceId:pn(b.String()),headingTypefaceId:pn(b.String()),uiTypefaceId:pn(b.String()),colors:pn(b.Array(b.String(),{minItems:6,maxItems:6}))},{$id:"CourseTheme"}),ah=b.Object({id:b.Union([b.String(),b.Number()]),originalId:pn(b.String()),author:pn(b.String()),selectedAuthorId:b.String(),color:b.String(),title:La(0),isShareDisabled:pn(b.Boolean()),sharePassword:b.String(),description:ia(1),copyOf:pn(b.String()),order:b.String(),media:ji(vu,"mediaRecord"),lessons:b.Array(b.String()),jobs:b.Array(b.String()),labelSetId:b.String(),deleted:b.Boolean(),createdAt:Cl(),updatedAt:Cl(),contentUpdatedAt:pn(Cl()),lastPublishedAt:pn(Cl()),markComplete:b.Boolean(),isDefault:b.Boolean(),ready:b.Boolean(),reviewId:b.String(),exportSettings:b.Record(b.String(),b.Any()),headingTypefaceId:pn(b.String()),bodyTypefaceId:pn(b.String()),uiTypefaceId:pn(b.String()),otherTypefaceIds:pn(b.Array(b.String())),tenantId:pn(b.String()),showLessonCount:b.Boolean(),showNavigationButtons:b.Boolean(),allowSearch:b.Boolean(),animateBlockEntrance:b.Boolean(),transferredAt:pn(Cl()),allowCopy:b.Boolean(),enableVideoPlaybackSpeed:b.Boolean(),jobType:pn(b.String()),partnerContentId:pn(b.String()),theme:pn(Dh),type:pn(b.Literal("onePage")),features:b.Record(b.String(),b.Boolean()),mondrian:pn(b.Unknown()),locale:pn(b.Union([b.String(),b.Null()])),sourceCourseLocaleId:b.Optional(b.Union([b.String(),b.Number(),b.Null()])),experiments:b.Optional(b.Union([b.Record(b.String(),b.Unknown()),b.Null()])),navigationMode:b.Union([b.Literal("restricted"),b.Literal("free")]),fonts:b.Optional(b.Object({ui:b.Record(b.Literal("font"),b.String()),body:b.Record(b.Literal("font"),b.String()),headings:b.Record(b.Literal("font"),b.String())})),coverImage:b.Optional(b.Partial(b.Object({alpha:pn(b.Integer({minimum:0,maximum:100})),displaySidebar:b.Boolean(),media:ji(Po,"mediaRecord",0)}))),sidebarMode:b.Union([b.Literal("closed"),b.Literal("open"),b.Literal("hidden")]),cardImage:b.Optional(b.Partial(b.Object({media:Po}))),blockBackgroundImage:b.Optional(b.Partial(b.Object({media:ji(b.Partial(Po),"mediaRecord")}))),lessonHeaderImage:b.Optional(b.Partial(b.Object({alpha:pn(b.Number({minimum:0,maximum:1})),media:ji(b.Partial(Po),"mediaRecord",0),overlayColor:b.Optional(b.Union([b.Literal("LIGHT"),b.Literal("DARK"),b.Literal("ACCENT")]))}))),overlayNavigationImage:pn(b.Partial(b.Object({alpha:pn(b.Number({minimum:0,maximum:1})),media:ji(Po,"mediaRecord")}),{deprecated:!0})),lmsOptions:b.Optional(b.Object({enableExitCourse:b.Boolean(),disableCoverPage:b.Boolean()})),aiTutorImage:pn(b.Partial(b.Object({media:Po}))),aiTutorConfig:pn(uf),settings:b.Optional(xa(b.Object({startWithAI:b.Boolean(),isAIConceptToCourse:b.Boolean(),aiTutorEnabled:b.Boolean()}))),defaultLocaleId:pn(b.String()),metadata:b.Optional(b.Partial(b.Object({createdVia:b.String()})))},{$id:"Course"}),Lh=b.Object({default:b.Boolean(),id:b.Union([b.String(),b.Number()]),key:b.String(),name:b.String(),style:b.String(),weight:b.String()},{$id:"Font"}),Mh=b.Object({a11yAiTutorArticulateLogo:b.String(),a11yAiTutorAssistantMessage:b.String(),a11yAiTutorAskButton:b.String(),a11yAiTutorChatWindow:b.String(),a11yAiTutorCloseTipsModal:b.String(),a11yAiTutorFeedbackDismiss:b.String(),a11yAiTutorFeedbackInput
996:b.String(),a11yAiTutorFeedbackSubmit:b.String(),a11yAiTutorFeedbackWhyUnhelpful:b.String(),a11yAiTutorHide:b.String(),a11yAiTutorInput:b.String(),a11yAiTutorSection:b.String(),a11yAiTutorSendButton:b.String(),a11yAiTutorSeeTips:b.String(),a11yAiTutorStartOver:b.String(),a11yAiTutorThumbsDown:b.String(),a11yAiTutorThumbsDownSubmitted:b.String(),a11yAiTutorThumbsUp:b.String(),a11yAiTutorThumbsUpSubmitted:b.String(),a11yAiTutorUserMessage:b.String(),a11yAnswerLive:b.String(),a11yAuthorPrefix:b.String(),a11yBlockChartAxisX:b.String(),a11yBlockChartAxisY:b.String(),a11yBlockChartBar:b.String(),a11yBlockChartInstructions:b.String(),a11yBlockChartLine:b.String(),a11yBlockChartPie:b.String(),a11yBlockChartPreposition:b.String(),a11yBlockCode:b.String(),a11yBlockCodeSnippet:b.String(),a11yBlockEmbed:b.String(),a11yBlockFlashcardBack:b.String(),a11yBlockFlashcardFront:b.String(),a11yBlockFlashcardGrid:b.String(),a11yBlockFlashcardStack:b.String(),a11yBlockFlashcardStackRoleDescription:b.String(),a11yBlockFlashcardStackSlideControls:b.String(),a11yBlockFlashcardStackSlideControlsGoToNext:b.String(),a11yBlockFlashcardStackSlideControlsGoToPrevious:b.String(),a11yBlockFlashcardStackSlideControlsGoToSlide:b.String(),a11yBlockFlashcardStackSlidePreposition:b.String(),a11yBlockFlashcardStackSlideRoleDescription:b.String(),a11yBlockImageCarousel:b.String(),a11yBlockImageCarouselRoleDescription:b.String(),a11yBlockImageCarouselSlideControls:b.String(),a11yBlockImageCarouselSlideControlsGoToNext:b.String(),a11yBlockImageCarouselSlideControlsGoToPrevious:b.String(),a11yBlockImageCarouselSlideControlsGoToSlide:b.String(),a11yBlockImageCarouselSlidePreposition:b.String(),a11yBlockImageCarouselSlideRoleDescription:b.String(),a11yBlockKnowledgeCheck:b.String(),a11yBlockKnowledgeCheckFIB:b.String(),a11yBlockKnowledgeCheckM:b.String(),a11yBlockKnowledgeCheckMC:b.String(),a11yBlockKnowledgeCheckMR:b.String(),a11yBlockQuoteCarousel:b.String(),a11yBlockQuoteCarouselRoleDescription:b.String(),a11yBlockQuoteCarouselSlideControls:b.String(),a11yBlockQuoteCarouselSlideControlsGoToNext:b.String(),a11yBlockQuoteCarouselSlideControlsGoToPrevious:b.String(),a11yBlockQuoteCarouselSlideControlsGoToSlide:b.String(),a11yBlockQuoteCarouselSlidePreposition:b.String(),a11yBlockQuoteCarouselSlideRoleDescription:b.String(),a11yBlockProcessCarousel:b.String(),a11yBlockProcessRoleDescription:b.String(),a11yBlockProcessSlideControls:b.String(),a11yBlockProcessSlideControlsGoToNext:b.String(),a11yBlockProcessSlideControlsGoToPrevious:b.String(),a11yBlockProcessSlideControlsGoToSlide:b.String(),a11yBlockProcessSlideControlsIntroduction:b.String(),a11yBlockProcessSlideControlsSummary:b.String(),a11yBlockProcessSlidePreposition:b.String(),a11yBlockProcessSlideRoleDescription:b.String(),a11yBlockStoryline:b.String(),a11yBlockSurveyCharCount:b.String(),a11yBlockSurveyConfirmation:b.String(),a11yBlockSurveySubmitting:b.String(),a11yBlockSurveyValidationError:b.String(),a11yBlockTimeline:b.String(),a11yBlockVideoSidePanelTablist:b.String(),a11yCarouselNext:b.String(),a11yCarouselPrevious:b.String(),a11yCertificateDownloadFailed:b.String(),a11yCorrectLive:b.String(),a11yCoverCourseCompleted:b.String(),a11yCoverCourseLength:b.String(),a11yCoverRequirementComplete:b.String(),a11yCoverRequirementFailed:b.String(),a11yCoverRequirementIncomplete:b.String(),a11yExcelIcon:b.String(),a11yFileIcon:b.String(),a11yGroupAudioPlayer:b.String(),a11yGroupScenario:b.String(),a11yGroupVideoPlayer:b.String(),a11yLabeledGraphicBlock:b.String(),a11yLabeledGraphicButtonMarker:b.String(),a11yLabeledGraphicIconArrowDown:b.String(),a11yLabeledGraphicIconArrowDownLeft:b.String(),a11yLabeledGraphicIconArrowDownRight:b.String(),a11yLabeledGraphicIconArrowLeft:b.String(),a11yLabeledGraphicIconArrowRight:b.String(),a11yLabeledGraphicIconArrowUp:b.String(),a11yLabeledGraphicIconArrowUpLeft:b.String(),a11yLabeledGraphicIconArrowUpRight:b.String(),a11yLabeledGraphicIconCheck:b.String(),a11yLabeledGraphicIconDot:b.String(),a11yLabeledGraphicIconHeart:b.String(),a11yLabeledGraphicIconInformation:b.String(),a11yLabeledGraphicIconPin:b.String(),a11yLabeledGraphicIconPlus:b.String(),a11yLabeledGraphicIconQuestion:b.String(),a11yLabeledGraphicIconX:b.String(),a11yLabeledGraphicUnviewed:b.String(),a11yLabeledGraphicViewed:b.String(),a11yMatchingColumn1:b.String(),a11yMatchingColumn2:b.String(),a11yMatchingItemMatchWith:b.String(),a11yMatchingItemMatchedWith:b.String(),a11yMatchingItemPrompt:b.Optional(b.String()),a11yMatchingItemSelectableItem:b.String(),a11yMatchingItemShowLess:b.String(),a11yMatchingItemShowMore:b.String(),a11yMediaCaptions:b.String(),a11yMediaCaptionsOff:b.String(),a11yMediaCurrentTime:b.String(),a11yMediaDownload:b.String(),a11yMediaDuration:b.String(),a11yMediaErrorVideo:b.String(),a11yMediaExitFullscreen:b.String(),a11yMediaExitPictureInPicture:b.String(),a11yMediaFullscreen:b.String(),a11yMediaMoreOptions:b.String(),a11yMediaMoreOptionsBack:b.String(),a11yMediaMute:b.String(),a11yMediaPause:b.String(),a11yMediaPictureInPicture:b.String(),a11yMediaPlay:b.String(),a11yMediaPlayVideo:b.String(),a11yMediaPlaybackRate:b.String(),a11yMediaPlaybackRateNormal:b.String(),a11yMediaRemainingTime:b.String(),a11yMediaSeek:b.String(),a11yMediaSeekDisabled:b.String(),a11yMediaUnmute:b.String(),a11yMediaVolume:b.String(),a11yNavigationMenuClose:b.String(),a11yNavigationMenuOpen:b.String(),a11yNoticeLinkNewTab:b.String(),a11yPageMarker:b.String(),a11yPDFIcon:b.String(),a11yPPTIcon:b.String(),a11yPreposition:b.String(),a11yProgressSummaryRequirementCompleted:b.String(),a11yProgressSummaryRequirementNotCompleted:b.String(),a11yQuizFailed:b.String(),a11yQuizFeedback:b.String(),a11yQuizPassed:b.String(),a11yQuizReviewCorrectlyChecked:b.String(),a11yQuizReviewCorrectlySelected:b.String(),a11yQuizReviewCorrectlyUnchecked:b.String(),a11yQuizReviewCorrectlyUnselected:b.String(),a11yQuizReviewIncorrectlyChecked:b.String(),a11yQuizReviewIncorrectlySelected:b.String(),a11yQuizReviewIncorrectlyUnchecked:b.String(),a11yQuizReviewIncorrectlyUnselected:b.String(),a11yReg
996ionMainLesson:b.String(),a11yRegionMainOverview:b.String(),a11yRegionNavLesson:b.String(),a11yRegionNavOverview:b.String(),a11yRestrictedNav:b.String(),a11yRTFIcon:b.String(),a11ySearchClose:b.String(),a11ySearchInput:b.String(),a11ySearchOpen:b.String(),a11ySortingCategories:b.String(),a11ySortingCategoriesComplete:b.String(),a11ySortingCategory:b.String(),a11ySortingComplete:b.String(),a11ySortingCompleteOf:b.String(),a11ySortingCorrect:b.String(),a11ySortingCurrentItem:b.String(),a11ySortingIncorrect:b.String(),a11ySortingNextItem:b.String(),a11yStatusAdditionalContent:b.String(),a11yStatusContinued:b.String(),a11yUnzoomImage:b.String(),a11yWordIcon:b.String(),a11yZipIcon:b.String(),a11yZoomImage:b.String(),aiTutorAskButton:b.String(),aiTutorBlankHeading:b.String(),aiTutorBlankPillExplain:b.String(),aiTutorBlankPillSearch:b.String(),aiTutorBlankPillSummarize:b.String(),aiTutorDisabledWhileQuiz:b.String(),aiTutorDisclaimer:b.String(),aiTutorErrorGeneral:b.String(),aiTutorErrorUnavailable:b.String(),aiTutorFeedbackDetailsPlaceholder:b.String(),aiTutorFeedbackImprovementNote:b.String(),aiTutorFeedbackLearnMore:b.String(),aiTutorFeedbackPopoverTitle:b.String(),aiTutorFeedbackReasonIncorrect:b.String(),aiTutorFeedbackReasonNoAnswer:b.String(),aiTutorFeedbackReasonNotHelpful:b.String(),aiTutorFeedbackReasonNotRelevant:b.String(),aiTutorFeedbackReasonOther:b.String(),aiTutorFeedbackSubmit:b.String(),aiTutorFeedbackThankYou:b.String(),aiTutorFeedbackToast:b.String(),aiTutorGeneratingResponse:b.String(),aiTutorHideTooltip:b.String(),aiTutorInputPlaceholder:b.String(),aiTutorPrivacyLink:b.String(),aiTutorSeeTips:b.String(),aiTutorStartOverTooltip:b.String(),aiTutorTermsLink:b.String(),aiTutorTermsPrefix:b.String(),aiTutorTipsGotIt:b.String(),aiTutorTipsTip1:b.String(),aiTutorTipsTip2:b.String(),aiTutorTipsTip3:b.String(),aiTutorTipsTitle:b.String(),audioShowTranscript:b.String(),audioHideTranscript:b.String(),audioTranscript:b.String(),audioNoTranscriptAvailable:b.String(),audioPlaySpeed:b.String(),audioExpandPlayer:b.String(),audioCollapsePlayer:b.String(),blocksClickToFlip:b.String(),blocksPreposition:b.String(),certificateDownload:b.String(),certificateDownloadInProgress:b.String(),certificateRetryDownload:b.String(),courseCompletionOverdue:b.String(),courseExit:b.String(),courseFinish:b.String(),courseHome:b.String(),courseResume:b.String(),courseSkipToLesson:b.String(),courseStart:b.String(),coverCompleteAllLessons:b.String(),coverCompleted:b.String(),coverCompleteLessonsName:b.String(),coverCompleteLessonsPreposition:b.String(),coverCompleteLessonsInCourse:b.String(),coverCourseRequirements:b.String(),coverHour:b.String(),coverHours:b.String(),coverLesson:b.String(),coverLessons:b.String(),coverMinute:b.String(),coverMinutes:b.String(),coverNoAttemptsRemaining:b.String(),coverPublished:b.String(),coverQuizScoreOf:b.String(),coverQuizPercentOrHigher:b.String(),curtainLoading:b.String(),curtainOffline:b.String(),curtainOfflineReconnecting:b.String(),curtainSessionTimedOut:b.String(),curtainSessionTimedOutRefresh:b.String(),curtainSessionTimedOutRestart:b.String(),curtainSomethingWrong:b.String(),curtainSomethingWrongRefresh:b.String(),curtainSomethingWrongTryAgain:b.String(),customBlockVideoError:b.String(),embedLinkGroup:b.String(),embedPlayerGroup:b.String(),embedReadMore:b.String(),embedViewOn:b.String(),exitMessage:b.String(),knowledgeCheckCorrectAnswerRequiredBlock:b.String(),knowledgeCheckCorrectAnswerRequiredNav:b.String(),knowledgeCheckMaxRetriesReached:b.String(),knowledgeCheckRetriesAttemptsRemaining:b.String(),labeledGraphicMarkerLabel:b.String(),lessonComplete:b.String(),lessonName:b.String(),lessonPreposition:b.String(),lessonRestricted:b.String(),noResults:b.String(),numberedDividerGroup:b.String(),overviewPageTitleSuffix:b.String(),pauseButtonLabel:b.String(),playButtonLabel:b.String(),processComplete:b.String(),processLandmark:b.String(),processLessonName:b.String(),processNextStep:b.String(),processStart:b.String(),processStartAgain:b.String(),processStepName:b.String(),processStepPreposition:b.String(),processSwipe:b.String(),progressPieClickToComplete:b.String(),progressPieClickToReset:b.String(),progressPieCompleted:b.String(),progressPieQuizFailed:b.String(),progressPieUnstarted:b.String(),progressSummary:b.String(),progressSummaryBackToLearning:b.String(),progressSummaryCompleted:b.String(),progressSummaryCongratulations:b.String(),progressSummaryNextUp:b.String(),progressSummaryNoTitle:b.String(),progressSummaryPercentComplete:b.String(),progressSummaryRequirementsMet:b.String(),progressSummaryStartOver:b.String(),quizAcceptableResponses:b.String(),quizAnswerPlaceholder:b.String(),quizContinue:b.String(),quizCorrect:b.String(),quizIncorrect:b.String(),quizNext:b.String(),quizPassing:b.String(),quizQuestion:b.String(),quizRequireAnswer:b.String(),quizRequirePassingScore:b.String(),quizRestart:b.String(),quizResults:b.String(),quizScore:b.String(),quizSkipAhead:b.String(),quizStart:b.String(),quizSubmit:b.String(),quizTakeAgain:b.String(),quizTimerElapsed:b.String(),quizTimerExpired:b.String(),quizTimerExpiredAction:b.String(),quizTimerExpiredMessage:b.String(),quizTimerHide:b.String(),quizTimerLimit:b.String(),quizTimerMinute:b.String(),quizTimerMinutePlural:b.String(),quizTimerRemaining:b.String(),quizTimerShow:b.String(),result:b.String(),results:b.String(),salutation:b.String(),scenarioComplete:b.String(),scenarioContinue:b.String(),scenarioStartOver:b.String(),scenarioTryAgain:b.String(),search:b.String(),seekSliderLabel:b.String(),sortingCardsCorrect:b.String(),sortingLandmark:b.String(),sortingReplay:b.String(),surveyConfirmation:b.String(),surveyFreeResponseRequired:b.String(),surveyPlaceholder:b.String(),surveyRatingRequired:b.String(),surveyRequired:b.String(),surveySubmit:b.String(),surveySubmitting:b.String(),surveyValidationError:b.String(),videoChapters:b.String(),videoNoChapter
996s:b.String(),videoNoChaptersMessage:b.String(),videoShowLessChapters:b.String(),videoShowMoreChapters:b.String(),videoTranscript:b.String(),videoViewTranscript:b.String()},{$id:"Labels"}),Nf=b.Object({author:b.Optional(b.String()),createdAt:b.String(),defaultId:b.Optional(b.Number()),defaultSet:b.Boolean(),deleted:b.Boolean(),id:b.String(),iso639Code:b.String(),labels:Mh,name:b.String(),transferredAt:b.Optional(b.String()),updatedAt:b.String()},{$id:"LabelSet"}),oh=xa(b.Object({isGeneratingAIContent:b.Boolean(),isRequiredForCompletion:pn(b.Boolean())},{$id:"LessonBaseSettings"})),Yd=b.Object({author:b.String(),courseId:b.String(),createdAt:Cl(),deleted:b.Boolean(),description:ia(1),id:b.Union([b.String(),b.Number()]),media:vu,piles:b.Array(b.Any()),ready:b.Boolean(),title:La(0),updatedAt:Cl(),duplicatedFromId:pn(b.String()),headerImage:pn(Ol),icon:pn(b.Union([b.Literal("Article"),b.Literal("Interaction"),b.Literal("Quiz"),b.Literal("Video")])),isPartnerContentAuthor:pn(b.Boolean()),lastUpdatedBy:pn(b.String()),originalId:pn(b.String()),position:pn(b.Integer()),selectedAuthorId:pn(b.String()),transferredAt:pn(Cl()),sourceLessonLocaleId:pn(b.Union([b.String(),b.Number(),b.Null()])),settings:pn(oh),metadata:pn(b.Partial(b.Object({createdVia:b.String()})))},{$id:"LessonBase"}),Vf=b.Composite([Yd,b.Object({type:b.Literal("blocks"),items:b.Array(gf)})],{$id:"LessonBlocks"});function Pd(I){return b.Composite([Yd,b.Object({type:b.Literal(I),items:b.Array(b.Object({id:b.Union([b.String(),b.Number()])}))})])}const Ap=b.Union([Pd("map"),Pd("process"),Pd("timeline"),Pd("sorting"),Pd("screencast"),Pd("slidecast"),Pd("video"),Pd("embed")],{$id:"LegacyLesson"}),Xd=b.Object({id:b.Union([b.String(),b.Number()]),title:b.Optional(ia(1))},{$id:"QuizItemAnswerRich"}),kh=b.Object({id:b.Union([b.String(),b.Number()]),title:b.Optional(La(1))},{$id:"QuizItemAnswerPlain"}),Cp=b.Object({},{$id:"QuizItemSettings"}),d0=b.Union([b.Literal("ANY"),b.Literal("CORRECT_INCORRECT"),b.Literal("CHOICE")],{$id:"QuizItemFeedbackType"}),Nh=b.Object({id:b.Union([b.String(),b.Number()]),title:ia(0),media:b.Optional(ji(vu,"mediaRecord")),settings:b.Optional(Cp),metadata:b.Optional(b.Partial(b.Object({createdVia:b.String()})))},{$id:"QuizItemBase"});function Nc(I,U){const Ze=I?Xd:kh;let pr;switch(U){case"ANY":pr=b.Object({feedbackType:b.Optional(b.Union([b.Literal(U),b.Literal("")])),feedback:b.Optional(ia(3)),answers:b.Array(Ze)});break;case"CORRECT_INCORRECT":pr=b.Object({feedbackType:b.Literal(U),feedbackCorrect:b.Optional(ia(3)),feedbackIncorrect:b.Optional(ia(4)),answers:b.Array(Ze)});break;case"CHOICE":pr=b.Object({feedbackType:b.Literal(U),answers:b.Array(b.Composite([Ze,b.Object({feedback:b.Optional(ia(2))})]))});break}return b.Composite([Nh,pr])}const Fh=b.Object({type:b.Literal("FILL_IN_THE_BLANK"),settings:b.Optional(b.Object({isCaseSensitive:b.Optional(b.Boolean())}))}),uh=b.Union([b.Composite([Fh,Nc(!1,"ANY")]),b.Composite([Fh,Nc(!1,"CORRECT_INCORRECT")])],{$id:"QuizItemFillin"}),Op=b.Object({type:b.Literal("MATCHING"),settings:b.Optional(b.Object({columnBehavior:b.Optional(Ga)}))});function Ip(I){return b.Composite([b.Omit(Nc(!1,I),["answers"]),b.Object({answers:b.Array(b.Composite([kh,b.Object({matchTitle:b.Optional(La(1))})]))})])}const Bh=b.Union([b.Composite([Op,Ip("ANY")]),b.Composite([Op,Ip("CORRECT_INCORRECT")])],{$id:"QuizItemMatching"}),lh=b.Object({type:b.Optional(b.Literal("MULTIPLE_CHOICE")),correct:b.Optional(b.Index(Xd,["id"])),corrects:b.Optional(b.Array(b.Index(Xd,["id"])))}),Uh=b.Union([b.Composite([lh,Nc(!0,"ANY")]),b.Composite([lh,Nc(!0,"CORRECT_INCORRECT")]),b.Composite([lh,Nc(!0,"CHOICE")])],{$id:"QuizItemMultipleChoice"}),rp=b.Object({type:b.Literal("MULTIPLE_RESPONSE"),corrects:b.Optional(b.Array(b.Index(Xd,["id"])))}),oc=b.Union([b.Composite([rp,Nc(!0,"ANY")]),b.Composite([rp,Nc(!0,"CORRECT_INCORRECT")])],{$id:"QuizItemMultipleResponse"}),np=b.Composite([b.Pick(Nh,["id","metadata"]),b.Object({title:b.Optional(b.String()),type:b.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:b.String(),questionBankTitle:b.Optional(b.String()),questionBankUpdatedAt:b.Optional(b.String()),drawCount:b.Optional(b.Number()),questions:b.Array(ao(["type","feedbackType"],[uh,oc,Uh,Bh]))})],{$id:"QuizItemQuestionBank"}),ip=ao(["type","feedbackType"],[uh,oc,Uh,np,Bh],"QuizItem"),bf=b.Composite([oh,b.Object({asLesson:pn(b.Boolean()),continueType:pn(b.Union([b.Literal(""),b.Literal("continue")])),correctAnswerColor:pn(b.String()),correctAnswerColorContrast:pn(Oe),incorrectAnswerColor:pn(b.String()),incorrectAnswerColorContrast:pn(Oe),passingScore:pn(so()),passToContinue:pn(b.Boolean()),randomizeQuestionOrder:pn(b.Boolean()),retryCount:pn(so()),revealAnswers:pn(b.Union([b.Literal(!0),b.Literal("all"),b.Literal("none"),b.Literal("incorrect")])),shuffleAnswerChoices:pn(b.Boolean()),skipLessonsIfPassed:pn(b.Boolean()),skipToLessonId:pn(b.String()),timer:pn(b.Boolean()),timerDisplay:pn(b.Union([b.Literal("SUMMARY"),b.Literal("REMAINING"),b.Literal("ELAPSED"),b.Literal("ELAPSED_TOTAL"),b.Literal("HIDE_TIMER")])),timerDuration:pn(so())})],{$id:"LessonQuizSettings"}),Ea=b.Composite([Yd,b.Object({type:b.Literal("quiz"),items:b.Array(ip),settings:pn(bf)})],{$id:"LessonQuiz"}),sp=b.Composite([Yd,b.Object({type:b.Literal("section"),items:b.Tuple
996([])})],{$id:"LessonSection"}),ml=b.Composite([Yd,b.Object({type:b.Null(),items:b.Tuple([])})],{$id:"LessonUntyped"}),su=ao(["type"],[Vf,sp,Ea,ml,Ap],"Lesson"),Pp=b.Object({authorId:b.String(),deleted:b.Boolean(),folderId:b.Union([b.String(),b.Null()]),id:b.String(),lastEditedBy:b.String(),questions:b.Array(Ss),title:La(),updatedAt:b.String(),version:b.Literal(1)},{$id:"QuestionBank"}),Qd=b.Object({id:b.String(),author:pn(b.String()),name:b.String(),createdAt:Cl(),default:b.Boolean(),deleted:b.Boolean(),fonts:b.Array(b.Object({id:b.String(),type:b.String(),style:b.String(),key:b.String(),original:pn(b.String())}))},{$id:"Typeface"})},43399(f,d,e){"use strict";e.d(d,{TJ:()=>F,Ce:()=>W,pr:()=>xs});var n={};e.r(n),e.d(n,{JsonPatchError:()=>Re,_areEquals:()=>Sr,applyOperation:()=>It,applyPatch:()=>mt,applyReducer:()=>kt,deepClone:()=>ye,getValueByPointer:()=>qe,validate:()=>Ir,validator:()=>Ut});var r={};e.r(r),e.d(r,{compare:()=>or,generate:()=>Er,observe:()=>Mr,unobserve:()=>Ar});var a=e(30335);function s(Me){return Me!=null&&typeof Me=="object"&&!i(Me)}function i(Me){return Array.isArray(Me)}function u(Me){if(!s(Me)||!("id"in Me))return!1;const We=typeof Me.id;return We==="string"||We==="number"}function l(Me,We){return We.some(Nt=>u(Nt)&&Nt.id===Me)}class m extends Error{}function g(Me,We){return s(We)?Object.entries(Me).every(([Nt,Jt])=>We[Nt]===Jt):!1}function h(Me,We,Nt){try{return{type:"accepted",result:v(Me,We,Nt)}}catch(Jt){if(Jt instanceof x){const jr=Me.slice(0,Me.length-Jt.path.length+1);return{type:"discarded",reason:`Could not resolve path "${JSON.stringify(jr)}"`}}if(Jt instanceof m)return{type:"discarded",reason:Jt.message};throw Jt}}function v(Me,We,Nt){const[Jt,...jr]=Me;if(Jt==null)return Nt(We);if(typeof Jt=="number"&&i(We)&&Jt<We.length){const Jr=v(jr,We[Jt],Nt);return[...We.slice(0,Jt),Jr,...We.slice(Jt+1)]}if(typeof Jt=="string"&&s(We)&&Jt in We){const Jr=v(jr,We[Jt],Nt);return{...We,[Jt]:Jr}}if(s(Jt)&&i(We)){const Jr=We.findIndex(an=>g(Jt,an));if(Jr!==-1){const an=v(jr,We[Jr],Nt);return[...We.slice(0,Jr),an,...We.slice(Jr+1)]}}throw new x(Me)}class x extends Error{path;constructor(We){super(),this.path=We}}function T(Me,We,Nt){const Jt=Me.slice(0,-1),jr=Me.at(-1);return jr==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(Jt,Nt,Jr=>{if(i(Jr)&&u(We.newValue)&&l(We.newValue.id,Jr))throw new m(`Cannot append, id "${We.newValue.id}" already exists`);if(typeof jr=="number"&&i(Jr)){const an=Math.max(0,Math.min(Jr.length,jr));return[...Jr.slice(0,an),We.newValue,...Jr.slice(an)]}if(typeof jr=="string"&&s(Jr))return{...Jr,[jr]:We.newValue};if(s(jr)&&i(Jr)){const an=Jr.findIndex(ai=>g(jr,ai));if(an!==-1)return[...Jr.slice(0,an),We.newValue,...Jr.slice(an)]}throw new m(`Could not resolve path "${JSON.stringify(Me)}"`)})}function E(Me,We,Nt){return h(Me,Nt,Jt=>{if(!i(Jt))throw new m("Can only append arrays");if(u(We.newValue)&&l(We.newValue.id,Jt))throw new m(`Cannot append, id "${We.newValue.id}" already exists`);return[...Jt,We.newValue]})}function _(Me,We,Nt){const Jt=Me.slice(0,-1),jr=Me.at(-1);return jr==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(Jt,Nt,Jr=>{if(typeof jr=="number"&&i(Jr)&&jr<Jr.length)return[...Jr.slice(0,jr),...Jr.slice(jr+1)];if(typeof jr=="string"&&s(Jr)&&jr in Jr){const{[jr]:an,...ai}=Jr;return ai}if(s(jr)&&i(Jr)){const an=Jr.findIndex(ai=>g(jr,ai));if(an!==-1)return[...Jr.slice(0,an),...Jr.slice(an+1)]}throw new m(`Could not resolve path "${JSON.stringify(Me)}"`)})}function C(Me,We,Nt){const Jt=Me.slice(0,-1),jr=Me.at(-1),Jr=We.from.at(-1);return jr==null||Jr==null?{type:"discarded",reason:"Cannot move an empty path"}:a(Jt,We.from.slice(0,-1))?typeof jr=="string"||typeof Jr=="string"?{type:"discarded",reason:"Can only move array items"}:h(Jt,Nt,an=>{if(!i(an))throw new m("Can only move array items");const ai=s(Jr)?an.findIndex(ya=>g(Jr,ya)):Jr;if(ai===-1||ai>=an.length)throw new m(`Could not resolve path "${JSON.stringify(We.from)}"`);const Si=s(jr)?an.findIndex(ya=>g(jr,ya)):jr;if(Si===-1)throw new m(`Could not resolve path "${JSON.stringify(Me)}"`);const Di=Math.max(0,Math.min(an.length,Si));
996if(ai===Di)throw new m(`Cannot move to the same target "${JSON.stringify(Me)}"`);const Vi=an.slice(),[da]=Vi.splice(ai,1);return Vi.splice(Si,0,da),Vi}):{type:"discarded",reason:"Cannot move array item outside of its array"}}function P(...Me){const[We,Nt,Jt,jr]=Me.length===4?Me:[[],...Me];return We.length>0?a(We,Nt.slice(0,We.length))?P(Nt.slice(We.length),Jt,jr):{type:"discarded",reason:"Path does not begin with given prefix"}:h(Nt,jr,()=>Jt)}function k(Me,We,Nt){return P(Me,We.newValue,Nt)}function D(Me,We,Nt){switch(We.type){case"add":return T(Me,We,Nt);case"append":return E(Me,We,Nt);case"delete":return _(Me,We,Nt);case"move":return C(Me,We,Nt);case"update":return k(Me,We,Nt);default:return{type:"discarded",reason:`Command type "${We.type}" not supported`}}}const B=["allowCopy","author","bodyTypefaceId","createdAt","deleted","experiments","exportSettings","headingTypefaceId","id","jobs","labelSetId","originalId","partnerContentId","ready","reviewId","selectedAuthorId","sourceCourseLocaleId","tenantId","transferredAt","type","uiTypefaceId","updatedAt"],$=["author","courseId","createdAt","deleted","duplicatedFromId","id","lastUpdatedBy","originalId","ready","transferredAt","sourceLessonLocaleId","updatedAt"];function F(Me,We,Nt){let Jt=Nt;const jr=new Array,Jr=new Array;for(const an of We){const[ai]=an.path;if(ai==="course"){const[,Vi]=an.path,da=typeof Vi=="string"&&B.find(ya=>ya===Vi);if(typeof da=="string"){Jr.push({change:an,reason:`Forbidden course property "${da}"`});continue}}else if(ai==="lessons"){const[,,Vi]=an.path,da=typeof Vi=="string"&&$.find(ya=>ya===Vi);if(typeof da=="string"){Jr.push({change:an,reason:`Forbidden lesson property "${da}"`});continue}}if(!a(Me,an.path.slice(0,Me.length))){Jr.push({change:an,reason:"Path does not begin with given prefix"});continue}let Si=an.command;if(an.command.type==="move"){if(!a(Me,an.command.from.slice(0,Me.length))){Jr.push({change:an,reason:"Cannot move outside of prefix"});continue}Si={...an.command,from:an.command.from.slice(Me.length)}}const Di=D(an.path.slice(Me.length),Si,Jt);switch(Di.type){case"accepted":Jt=Di.result,jr.push(an);break;case"discarded":Jr.push({change:an,reason:Di.reason});break}}return{result:Jt,accepted:jr,discarded:Jr}}function V(Me){return typeof Me=="object"?Me.id:void 0}function W(Me){const[We]=Me;if(We==="course")return{type:"course"};if(We==="lessons"){const[,Nt,Jt,jr]=Me,Jr=V(Nt);if(Jr!=null){const an=Jt==="items"?V(jr):void 0,ai=Me.findIndex(Vi=>Vi==="captions"),Si=Me.findIndex(Vi=>Vi==="answers"),Di=Si!==-1?V(Me[Si+1]):void 0;if(ai!==-1){const Vi=V(Me[ai+1]);if(Vi!=null)return{type:"caption",lessonId:Jr,itemId:an,captionId:Vi.toString()}}return{type:"lesson",lessonId:Jr,itemId:an,answerId:Di}}}if(We==="l10n"&&Me[1]==="translations"){const Nt=Me[2],Jt=Me[3],jr=Me.findIndex(Jr=>Jr==="captions");if(jr!==-1){const Jr=V(Me[jr+1]);if(Jr!=null)return{type:"caption",captionId:Jr.toString(),locale:Nt,l10nId:Jt}}return{type:"translation",locale:Nt,l10nId:Jt}}return null}/*! 997 * https://github.com/Starcounter-Jack/JSON-Patch 998 * (c) 2017-2022 Joachim Wester 999 * MIT licensed 1000 */var Z=(function(){var Me=function(We,Nt){return Me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Jt,jr){Jt.__proto__=jr}||function(Jt,jr){for(var Jr in jr)jr.hasOwnProperty(Jr)&&(Jt[Jr]=jr[Jr])},Me(We,Nt)};return function(We,Nt){Me(We,Nt);function Jt(){this.constructor=We}We.prototype=Nt===null?Object.create(Nt):(Jt.prototype=Nt.prototype,new Jt)}})(),J=Object.prototype.hasOwnProperty;function ie(Me,We){return J.call(Me,We)}function le(Me){if(Array.isArray(Me)){for(var We=new Array(Me.length),Nt=0;Nt<We.length;Nt++)We[Nt]=""+Nt;return We}if(Object.keys)return Object.keys(Me);var Jt=[];for(var jr in Me)ie(Me,jr)&&Jt.push(jr);return Jt}function he(Me){switch(typeof Me){case"object":return JSON.parse(JSON.stringify(Me));case"undefined":return null;default:return Me}}function me(Me){for(var We=0,Nt=Me.length,Jt;We<Nt;){if(Jt=Me.charCodeAt(We),Jt>=48&&Jt<=57){We++;continue}return!1}return!0}function je(Me){return Me.indexOf("/")===-1&&Me.indexOf("~")===-1?Me:Me.replace(/~/g,"~0").replace(/\//g,"~1")}function Fe(Me){return Me.replace(/~1/g,"/").replace(/~0/g,"~")}function Je(Me,We){var Nt;for(var Jt in Me)if(ie(Me,Jt)){if(Me[Jt]===We)return je(Jt)+"/";if(typeof Me[Jt]=="object"&&(Nt=Je(Me[Jt],We),Nt!=""))return je(Jt)+"/"+Nt}return""}function Xe(Me,We){if(Me===We)return"/";var Nt=Je(Me,We);if(Nt==="")throw new Error("Object not found in root");return"/"+Nt}function ge(Me){if(Me===void 0)return!0;
vendor: 10,307 bytes, lines 1000-1005
1000if(Me){if(Array.isArray(Me)){for(var We=0,Nt=Me.length;We<Nt;We++)if(ge(Me[We]))return!0}else if(typeof Me=="object"){for(var Jt=le(Me),jr=Jt.length,Jr=0;Jr<jr;Jr++)if(ge(Me[Jt[Jr]]))return!0}}return!1}function be(Me,We){var Nt=[Me];for(var Jt in We){var jr=typeof We[Jt]=="object"?JSON.stringify(We[Jt],null,2):We[Jt];typeof jr<"u"&&Nt.push(Jt+": "+jr)}return Nt.join(` 1001`)}var Ie=(function(Me){Z(We,Me);function We(Nt,Jt,jr,Jr,an){var ai=this.constructor,Si=Me.call(this,be(Nt,{name:Jt,index:jr,operation:Jr,tree:an}))||this;return Si.name=Jt,Si.index=jr,Si.operation=Jr,Si.tree=an,Object.setPrototypeOf(Si,ai.prototype),Si.message=be(Nt,{name:Jt,index:jr,operation:Jr,tree:an}),Si}return We})(Error),Re=Ie,ye=he,De={add:function(Me,We,Nt){return Me[We]=this.value,{newDocument:Nt}},remove:function(Me,We,Nt){var Jt=Me[We];return delete Me[We],{newDocument:Nt,removed:Jt}},replace:function(Me,We,Nt){var Jt=Me[We];return Me[We]=this.value,{newDocument:Nt,removed:Jt}},move:function(Me,We,Nt){var Jt=qe(Nt,this.path);Jt&&(Jt=he(Jt));var jr=It(Nt,{op:"remove",path:this.from}).removed;return It(Nt,{op:"add",path:this.path,value:jr}),{newDocument:Nt,removed:Jt}},copy:function(Me,We,Nt){var Jt=qe(Nt,this.from);return It(Nt,{op:"add",path:this.path,value:he(Jt)}),{newDocument:Nt}},test:function(Me,We,Nt){return{newDocument:Nt,test:Sr(Me[We],this.value)}},_get:function(Me,We,Nt){return this.value=Me[We],{newDocument:Nt}}},$e={add:function(Me,We,Nt){return me(We)?Me.splice(We,0,this.value):Me[We]=this.value,{newDocument:Nt,index:We}},remove:function(Me,We,Nt){var Jt=Me.splice(We,1);return{newDocument:Nt,removed:Jt[0]}},replace:function(Me,We,Nt){var Jt=Me[We];return Me[We]=this.value,{newDocument:Nt,removed:Jt}},move:De.move,copy:De.copy,test:De.test,_get:De._get};function qe(Me,We){if(We=="")return Me;var Nt={op:"_get",path:We};return It(Me,Nt),Nt.value}function It(Me,We,Nt,Jt,jr,Jr){if(Nt===void 0&&(Nt=!1),Jt===void 0&&(Jt=!0),jr===void 0&&(jr=!0),Jr===void 0&&(Jr=0),Nt&&(typeof Nt=="function"?Nt(We,0,Me,We.path):Ut(We,0)),We.path===""){var an={newDocument:Me};if(We.op==="add")return an.newDocument=We.value,an;if(We.op==="replace")return an.newDocument=We.value,an.removed=Me,an;if(We.op==="move"||We.op==="copy")return an.newDocument=qe(Me,We.from),We.op==="move"&&(an.removed=Me),an;if(We.op==="test"){if(an.test=Sr(Me,We.value),an.test===!1)throw new Re("Test operation failed","TEST_OPERATION_FAILED",Jr,We,Me);return an.newDocument=Me,an}else{if(We.op==="remove")return an.removed=Me,an.newDocument=null,an;if(We.op==="_get")return We.value=Me,an;if(Nt)throw new Re("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",Jr,We,Me);return an}}else{Jt||(Me=he(Me));var ai=We.path||"",Si=ai.split("/"),Di=Me,Vi=1,da=Si.length,ya=void 0,Qi=void 0,Do=void 0;for(typeof Nt=="function"?Do=Nt:Do=Ut;;){if(Qi=Si[Vi],Qi&&Qi.indexOf("~")!=-1&&(Qi=Fe(Qi)),jr&&(Qi=="__proto__"||Qi=="prototype"&&Vi>0&&Si[Vi-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(Nt&&ya===void 0&&(Di[Qi]===void 0?ya=Si.slice(0,Vi).join("/"):Vi==da-1&&(ya=We.path),ya!==void 0&&Do(We,0,Me,ya)),Vi++,Array.isArray(Di)){if(Qi==="-")Qi=Di.length;else{if(Nt&&!me(Qi))throw new Re("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",Jr,We,Me);me(Qi)&&(Qi=~~Qi)}if(Vi>=da){if(Nt&&We.op==="add"&&Qi>Di.length)throw new Re("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",Jr,We,Me);var an=$e[We.op].call(We,Di,Qi,Me);if(an.test===!1)throw new Re("Test operation failed","TEST_OPERATION_FAILED",Jr,We,Me);return an}}else if(Vi>=da){var an=De[We.op].call(We,Di,Qi,Me);if(an.test===!1)throw new Re("Test operation failed","TEST_OPERATION_FAILED",Jr,We,Me);return an}if(Di=Di[Qi],Nt&&Vi<da&&(!Di||typeof Di!="object"))throw new Re("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",Jr,We,Me)}}}function mt(Me,We,Nt,Jt,jr){if(Jt===void 0&&(Jt=!0),jr===void 0&&(jr=!0),Nt&&!Array.isArray(We))throw new Re("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");Jt||(Me=he(Me));for(var Jr=new Array(We.length),an=0,ai=We.length;an<ai;an++)Jr[an]=It(Me,We[an],Nt,!0,jr,an),Me=Jr[an].newDocument;return Jr.newDocument=Me,Jr}function kt(Me,We,Nt){var Jt=It(Me,We);if(Jt.test===!1)throw new Re("Test operation failed","TEST_OPERATION_FAILED",Nt,We,Me);return Jt.newDocument}function Ut(Me,We,Nt,Jt){if(typeof Me!="object"||Me===null||Array.isArray(Me))throw new Re("Operation is not an object","OPERATION_NOT_AN_OBJECT",We,Me,Nt);if(De[Me.op]){if(typeof Me.path!="string")throw new Re("Operation `path` property is not a string","OPERATION_PATH_INVALID",We,Me,Nt);if(Me.path.indexOf("/")!==0&&Me.path.length>0)throw new Re('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",We,Me,Nt);if((Me.op==="move"||Me.op==="copy")&&typeof Me.from!="string")throw new Re("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",We,Me,Nt);if((Me.op==="add"||Me.op==="replace"||Me.op==="test")&&Me.value===void 0)throw new Re("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",We,Me,Nt);if((Me.op==="add"||Me.op==="replace"||Me.op==="test")&&ge(Me.value))throw new Re("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",We,Me,Nt);if(Nt){if(Me.op=="add"){var jr=Me.path.split("/").length,Jr=Jt.split("/").length;if(jr!==Jr+1&&jr!==Jr)throw new Re("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",We,Me,Nt)}else if(Me.op==="replace"||Me.op==="remove"||Me.op==="_get"){if(Me.path!==Jt)throw new Re("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",We,Me,Nt)}else if(Me.op==="move"||Me.op==="copy"){var an={op:"_get",path:Me.from,value:void 0},ai=Ir([an],Nt);if(ai&&ai.name==="OPERATION_PATH_UNRESOLVABLE")throw new Re("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",We,Me,Nt)}}}else throw new Re("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",We,Me,Nt)}function Ir(Me,We,Nt){try{if(!Array.isArray(Me))throw new Re("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(We)mt(he(We),he(Me),Nt||!0);else{Nt=Nt||Ut;for(var Jt=0;Jt<Me.length;Jt++)Nt(Me[Jt],Jt,We,void 0)}}catch(jr){if(jr instanceof Re)return jr;throw jr}}function Sr(Me,We){if(Me===We)return!0;if(Me&&We&&typeof Me=="object"&&typeof We=="object"){var Nt=Array.isArray(Me),Jt=Array.isArray(We),jr,Jr,an;if(Nt&&Jt){if(Jr=Me.length,Jr!=We.length)return!1;for(jr=Jr;jr--!==0;)if(!Sr(Me[jr],We[jr]))return!1;return!0}if(Nt!=Jt)return!1;var ai=Object.keys(Me);if(Jr=ai.length,Jr!==Object.keys(We).length)return!1;for(jr=Jr;jr--!==0;)if(!We.hasOwnProperty(ai[jr]))return!1;for(jr=Jr;jr--!==0;)if(an=ai[jr],!Sr(Me[an],We[an]))return!1;return!0}return Me!==Me&&We!==We}/*! 1002 * https://github.com/Starcounter-Jack/JSON-Patch 1003 * (c) 2017-2021 Joachim Wester 1004 * MIT license 1005 */var Yr=new WeakMap,Gr=(function(){function Me(We){this.observers=new Map,this.obj=We}return Me})(),dn=(function(){function Me(We,Nt){this.callback=We,this.observer=Nt}return Me})();function Kr(Me){return Yr.get(Me)}function yt(Me,We){return Me.observers.get(We)}function tt(Me,We){Me.observers.delete(We.callback)}function Ar(Me,We){We.unobserve()}function Mr(Me,We){var Nt=[],Jt,jr=Kr(Me);if(!jr)jr=new Gr(Me),Yr.set(Me,jr);else{var Jr=yt(jr,We);Jt=Jr&&Jr.observer}if(Jt)return Jt;if(Jt={},jr.value=he(Me),We){Jt.callback=We,Jt.next=null;var an=function(){Er(Jt)},ai=function(){clearTimeout(Jt.next),Jt.next=setTimeout(an)};typeof window<"u"&&(window.addEventListener("mouseup",ai),window.addEventListener("keyup",ai),window.addEventListener("mousedown",ai),window.addEventListener("keydown",ai),window.addEventListener("change",ai))}return Jt.patches=Nt,Jt.object=Me,Jt.unobserve=function(){Er(Jt),clearTimeout(Jt.next),tt(jr,Jt),typeof window<"u"&&(window.removeEventListener("mouseup",ai),window.removeEventListener("keyup",ai),window.removeEventListener("mousedown",ai),window.removeEventListener("keydown",ai),window.removeEventListener("change",ai))},jr.observers.set(We,new dn(We,Jt)),Jt}function Er(Me,We){We===void 0&&(We=!1);var Nt=Yr.get(Me.object);Ur(Nt.value,Me.object,Me.patches,"",We),Me.patches.length&&mt(Nt.value,Me.patches);var Jt=Me.patches;return Jt.length>0&&(Me.patches=[],Me.callback&&Me.callback(Jt)),Jt}function Ur(Me,We,Nt,Jt,jr){if(We!==Me){typeof We.toJSON=="function"&&(We=We.toJSON());for(var Jr=le(We),an=le(Me),ai=!1,Si=!1,Di=an.length-1;Di>=0;Di--){var Vi=an[Di],da=Me[Vi];if(ie(We,Vi)&&!(We[Vi]===void 0&&da!==void 0&&Array.isArray(We)===!1)){var ya=We[Vi];typeof da=="object"&&da!=null&&typeof ya=="object"&&ya!=null&&Array.isArray(da)===Array.isArray(ya)?Ur(da,ya,Nt,Jt+"/"+je(Vi),jr):da!==ya&&(ai=!0,jr&&Nt.push({op:"test",path:Jt+"/"+je(Vi),value:he(da)}),Nt.push({op:"replace",path:Jt+"/"+je(Vi),value:he(ya)}))}else Array.isArray(Me)===Array.isArray(We)?(jr&&Nt.push({op:"test",path:Jt+"/"+je(Vi),value:he(da)}),Nt.push({op:"remove",path:Jt+"/"+je(Vi)}),Si=!0):(jr&&Nt.push({op:"test",path:Jt,value:Me}),Nt.push({op:"replace",path:Jt,value:We}),ai=!0)}if(!(!Si&&Jr.length==an.length))for(var Di=0;Di<Jr.length;Di++){var Vi=Jr[Di];!ie(Me,Vi)&&We[Vi]!==void 0&&Nt.push({op:"add",path:Jt+"/"+je(Vi),value:he(We[Vi])})}}}function or(Me,We,Nt){Nt===void 0&&(Nt=!1);var Jt=[];return Ur(Me,We,Jt,"",Nt),Jt}const An=Object.assign({},n,r,{JsonPatchError:Ie,deepClone:he,escapePathComponent:je,unescapePathComponent:Fe});var dr,Xr,hn;function Qt(Me,We){const[Nt,...Jt]=Me;if(Nt==null)return We;if(typeof Nt=="number"&&dr(We)&&Nt<We.length||typeof Nt=="string"&&Xr(We)&&Nt in We)return Qt(Jt,We[Nt]);if(Xr(Nt)&&dr(We)){const jr=We.findIndex(Jr=>hn(Nt,Jr));if(jr!==-1)return Qt(Jt,We[jr])}throw new Br(Me)}
1005class Br extends Error{path;constructor(We){super(),this.path=We}}var zt,Tt,Pr,Y,ht;function*ur(Me,We){const Nt=structuredClone(Me),Jt=zt(Me,We,{similarity:it});for(const jr of Jt){const Jr=Rt(jr.path,Nt),an=Jr.at(-1),ai=an!=null?ht(Jr.slice(0,-1),Nt):void 0,Si=nn(Jr,Nt);switch(jr.op){case"replace":yield{path:Si,command:{type:"update",oldValue:ht(Jr,Nt),newValue:jr.value}};break;case"add":typeof an=="number"&&Pr(ai)&&an>=ai.length?yield{path:Si.slice(0,-1),command:{type:"append",newValue:jr.value}}:yield{path:Si,command:{type:"add",newValue:jr.value}};break;case"remove":yield{path:Si,command:{type:"delete",oldValue:ht(Jr,Nt)}};break;case"move":yield{path:Si,command:{type:"move",from:nn(Rt(jr.from,Nt),Nt)}};break}Tt.applyOperation(Nt,jr)}}function it(Me,We){return Y(Me)&&Y(We)?Me.id===We.id?1:0:Me===We?1:0}function Rt(Me,We){return Me===""?[]:Array.from(Zr(Me.substring(1).split("/"),We))}function*Zr(Me,We){const[Nt,...Jt]=Me;if(Nt==null)return;const jr=Nt.replaceAll("~0","~").replaceAll("~1","/"),Jr=Pr(We)?Number(jr):jr;yield Jr,yield*Zr(Jt,We[Jr])}function nn(Me,We){const[Nt,...Jt]=Me;if(Nt==null)return[];if(We==null||typeof We!="object")throw new Error(`cannot convert ${JSON.stringify(Me)} to change path`);return[typeof Nt=="number"&&Pr(We)&&Y(We[Nt])?{id:We[Nt].id}:Nt,...nn(Jt,We[Nt])]}var fn=e(18526),Sn,Ci,$i;function qr(Me,We,Nt,Jt){const[jr,...Jr]=Nt;if(We.length>0)return Ci(We,Nt.slice(0,We.length))?qr(Me,[],Nt.slice(We.length),Jt):null;if(jr==null)return Sn.Check(Me,Jt)?Jt:null;if(Jt==null||typeof Jt!="object")return null;if(typeof jr=="string")return qr(Me,We,Jr,Jt[jr]);if(!Array.isArray(Jt))return null;if(typeof jr=="number"&&jr>=0&&jr<Jt.length)return qr(Me,We,Jr,Jt[jr]);const an=Jt.findIndex(ai=>$i(jr,ai));return an===-1?null:qr(Me,We,Jr,Jt[an])}var Bi,ms,hs;function Mi(Me,We,Nt){const Jt=We.findIndex(ai=>ai==="captions");if(Jt===-1||hs(We[Jt+1])==null)return null;const Jr=We.slice(0,Jt+2),an=ms(Bi,Me,Jr,Nt);return an==null?null:{path:Jr,result:an}}var gi=e(83971),Hi=e(16132),qn=e(82795);const $n=Ge(bt(fn.aeh,"$.course")),$s=Ge(bt(fn.Nke,"$.lessons")),ys="$.lessons[?(@.type=='blocks')].items[?(@.type=='custom'&&@.family=='mondrian'&&@.variant=='mondrian'&&@.blockumentId)].blockumentId",Es=Ge(bt(fn.Nke,"$")),oe=Ge(bt(fn.eBw,"$")),xe=Ge(bt(fn.j0T,"$"));function Ge(Me){const We=Array.from(Me).reduce((Nt,Jt)=>(Jt.pathExpression in Nt||(Nt[Jt.pathExpression]=Jt),Nt),{});return Object.values(We)}function*bt(Me,We=""){if(Me!==void 0&&(0,fn.Z6u)(Me)){yield{pathExpression:We,type:Me.contentType,order:Me.order};return}if(Hi.QS(Me)&&(yield*bt(Me.items,`${We}[*]`)),Hi.av(Me))for(const[Nt,Jt]of Object.entries(Me.properties))yield*bt(Jt,`${We}.${Nt}`);if(Hi.cZ(Me))for(const[,Nt]of Object.entries(Me.patternProperties))yield*bt(Nt,We);if(Hi.PN(Me)&&Me.items!=null)for(let Nt=0;Nt<Me.items.length;Nt++)yield*bt(Me.items[Nt],`${We}[${Nt}]`);if(Hi.Yq(Me))for(const[,Nt]of Object.entries(Me.allOf))yield*bt(Nt,We);if(Hi.my(Me))if((0,fn.AGQ)(Me)){const Nt=Me[fn.lVo],Jt=vn(Me);for(const jr of Jt){const Jr=Gt(jr);if(Jr===null)continue;const an=Tr(Jr,Nt),ai=We.replace(/\[(?:\*|\d+)\]$/,"");yield*bt(jr,`${ai}${an}`)}}else for(const Nt of Me.anyOf)yield*bt(Nt,We)}function Et(Me,We){if(Me!=null&&Hi.X$(Me)){const{[qn.tJ]:Nt,...Jt}=Me;return`(!@.${We}||${Et(Jt,We)})`}return Hi.gP(Me)?typeof Me.const=="string"?`@.${We}=='${Me.const}'`:`@.${We}==${Me.const}`:Hi.Ef(Me)?`@.${We}==null`:Hi.R1(Me)?`!@.${We}`:Hi.my(Me)?`(${Me.anyOf.map(Jt=>Et(Jt,We)).filter(Boolean).join("||")})`:!1}function Tr(Me,We){return`[?(${We.map(Jt=>{const jr=Me[Jt];return Et(jr,Jt)}).filter(Boolean).join("&&")})]`}function vn(Me){return Me.anyOf.flatMap(We=>Hi.my(We)?vn(We):[We])}function Gt(Me){return Hi.av(Me)?Me.properties:Hi.Yq(Me)?Me.allOf.reduce((We,Nt)=>{if(We===null)return null;const Jt=Gt(Nt);return Jt===null?null:Object.assign(We,Jt)},{}):null}var ei,si,yn,rs,xn,Ms,Yi;const Gs=(Me,We=0)=>Me.reduce((Nt,Jt)=>{const jr=Jt.sortPath[We]??"";return Nt[jr]??=[],Nt[jr].push(Jt),Nt},{}),us=(Me,We=0)=>{const Nt=Gs(Me,We);return Object.keys(Nt).length===1&&Nt[""]!==void 0?Me:Object.keys(Nt).toSorted((Jt,jr)=>Jt.localeCompare(jr,void 0,{numeric:!0})).flatMap(Jt=>Nt[Jt]!==void 0?us(Nt[Jt],We+1):[])};function nr(Me,We){return Me.map((Jt,jr)=>{if(typeof Jt=="number"){const Jr=ei.value(We,ei.stringify(Me.slice(0,jr+1)));return Jr?.id!==void 0?{id:Jr.id}:Jt}return Jt}).slice(1)}const cr=Me=>{switch(Me.type){case"rich":case"plain":case"buttonDestination":case"codeSrcDoc":return Me;case"mediaRecord":return Me;case"coordinate":return Me;case"storyline":return Me;case"codeMedia":return Me;case"mondrianPlaceholder":return Me}};function ln(Me,We,Nt,Jt){const jr=We.flatMap(({pathExpression:an,type:ai,order:Si})=>ei.nodes(Me,an).flatMap(({value:Di,path:Vi})=>{const da=cr({content:Di,path:nr(Vi,Me),pathExpression:an,type:ai});return da===void 0||!Jt&&ai==="mondrianPlaceholder"?[]:{...da,sortPath:[...Vi.slice(0,-1),Si],jsonPath:Vi}}));return(Nt?us(jr,1):jr).map(({sortPath:an,jsonPath:ai,...Si})=>Si)}const Yn=(Me,We,Nt)=>ln([Me],We,Nt,!1).map(({path:[,...Jt],...jr})=>({...jr,path:Jt})),Ln=(Me,We=!1)=>ln(Me,si,We,!1),wn=(Me,We=!1)=>ln(Me,yn,We,!1),ti=(Me,We=!1)=>Yn(Me,rs,We),Ti=(Me,We=!1)=>Yn(Me,xn,We),Pi=(Me,We=!1)=>Yn(Me,Ms,We),Zi=(Me,We=!1)=>ln(Me,[...yn,{pathExpression:Yi,type:"mondrianPlaceholder",order:0}],We,!0),Ui=Me=>Me!==null&&typeof Me=="object"&&!Array.isArray(Me),vi=Me=>
1005Ui(Me)&&"l10nId"in Me&&typeof Me.l10nId=="string",Wi=Me=>Ui(Me)&&"id"in Me&&typeof Me.id=="string"&&Me.id;function*ks(Me,We){for(let Nt=0;Nt<Me.length;Nt++){const Jt=Me[Nt],jr=Wi(Jt),Jr=jr!==!1?{id:jr}:Nt,an=[...We,Jr];vi(Jt)?yield{mutate:ai=>{Me[Nt]=ai},l10nId:Jt.l10nId,path:an}:yield*xs(Jt,an)}}function*ss(Me,We){for(const Nt of Object.keys(Me))vi(Me[Nt])?yield{mutate:Jt=>{Me[Nt]=Jt},l10nId:Me[Nt].l10nId,path:[...We,Nt]}:yield*xs(Me[Nt],[...We,Nt])}function*xs(Me,We=[]){Array.isArray(Me)?yield*ks(Me,We):Ui(Me)&&(yield*ss(Me,We))}var wi=e(94670),Ns,Cs,as;function Os(Me){const We=as.Create(Ns);We.id=Cs(),We.variant=Me?.variant??"flashcard";const Jt=(Me?.items??[]).map(jr=>({...jr,id:Cs()}));return We.items=Jt,We}var ce,He,Lt,fr;function un(Me){const We=fr.Create(ce);We.id=Lt(),We.variant=Me?.variant??"bulleted";const Jt=(Me?.items??[]).map((jr,Jr)=>{const an=fr.Create(He);return an.id=Lt(),an.paragraph=jr,an.number=Me?.variant==="numbered"?(Jr+1).toString():void 0,an});return We.items=Jt,We}var Qn,Xi,qi;function ls(Me){const We=qi.Create(Qn);We.id=Xi(),We.variant=Me.variant;const Nt={id:Xi(),heading:Me.heading,paragraph:Me.paragraph};return We.items=[Nt],We}var ps=e(1446),la;function ca(Me,We,Nt){return la(Me)?We==null?void 0:Nt?.[We]?.[Me.l10nId]:Me}function za(Me,We){return la(Me)?We==null?{}:Object.entries(We).reduce((Nt,[Jt,jr])=>(Me.l10nId in jr&&(Nt[Jt]=jr[Me.l10nId]),Nt),{}):{"":Me}}var io,Is,yr,Fa,on,va;const pa=null,aa=Me=>Me.type==="imageLink"&&typeof Me.value=="object"&&Me.value!==null&&"type"in Me.value&&"destination"in Me.value,ta=Me=>(Me.type==="lessonId"||Me.type==="richText")&&typeof Me.value=="string";function*Za(Me){for(const[We,Nt]of pa){const Jt=Is.nodes(Me,Nt);for(const{value:jr,path:Jr}of Jt){if(We==="richText"&&!/data-link-type=["']lesson["']/.test(String(jr)))continue;const an={type:We,path:Is.stringify(Jr),value:jr};(aa(an)||ta(an))&&(yield an)}}}function $a(Me,We){const Nt=Za(Me),Jt=structuredClone(Me);for(const{path:jr,value:Jr,type:an}of Nt)switch(an){case"lessonId":{Jr in We&&(We[Jr]===null?Is.value(Jt,jr,""):Is.value(Jt,jr,We[Jr]));break}case"imageLink":Jr.destination in We&&(We[Jr.destination]===null?Is.value(Jt,jr,void 0):Is.value(Jt,jr+".destination",We[Jr.destination]));break;case"richText":{Is.value(Jt,jr,va(Jr,We));break}}return Jt}function Wo(Me,We,Nt,Jt){const jr=Me.map(We);return $a(jr,Jt).map((an,ai)=>Nt(an,Me[ai]))}const Co=(Me,We,Nt)=>{const Jt=Me.filter(Jr=>!io(Jr.content)&&(Jr.type==="rich"||Jr.type==="buttonDestination"||Jr.type==="mediaRecord"));return $a(Jt,Nt).reduce((Jr,an)=>{const{path:ai,content:Si}=an,Di=yr(ai,Si,Jr);return Di.type==="accepted"?Di.result:Jr},We)};function Ro(Me,We){const{course:Nt}=Co(Fa({course:Me}),{course:Me},We);return Nt}function Hs(Me,We){const{lessons:Nt}=Co(on({lessons:Me}),{lessons:Me},We);return Nt}function cs(Me,We,Nt){const[Jt]=Hs([{type:Me,items:We.map(Jr=>Jr.item)}],Nt),{items:jr}=Jt??{items:[]};return We.map((Jr,an)=>({...Jr,item:jr[an]}))}},1446(f,d,e){"use strict";e.d(d,{HX:()=>jr,uW:()=>zo});var n=e(18526),r=e(25481),a=e(35783),s=e(82795),i=e(87978);class u extends a.i{constructor(hr){super(`Unable to dereference schema with $id '${hr.$ref}'`),this.schema=hr}}function l(ae,hr){const dt=hr.find(xt=>xt.$id===ae.$ref);if(dt===void 0)throw new u(ae);return g(dt,hr)}function m(ae,hr){return!(0,i.IP)(ae.$id)||hr.some(dt=>dt.$id===ae.$id)||hr.push(ae),hr}function g(ae,hr){return ae[s.b8]==="This"||ae[s.b8]==="Ref"?l(ae,hr):ae}class h extends a.i{constructor(hr){super("Unable to hash value"),this.value=hr}}var v;(function(ae){ae[ae.Undefined=0]="Undefined",ae[ae.Null=1]="Null",ae[ae.Boolean=2]="Boolean",ae[ae.Number=3]="Number",ae[ae.String=4]="String",ae[ae.Object=5]="Object",ae[ae.Array=6]="Array",ae[ae.Date=7]="Date",ae[ae.Uint8Array=8]="Uint8Array",ae[ae.Symbol=9]="Symbol",ae[ae.BigInt=10]="BigInt"})(v||(v={}));let x=BigInt("14695981039346656037");const[T,E]=[BigInt("1099511628211"),BigInt("18446744073709551616")],_=Array.from({length:256}).map((ae,hr)=>BigInt(hr)),C=new Float64Array(1),P=new DataView(C.buffer),k=new Uint8Array(C.buffer);function*D(ae){const hr=ae===0?1:Math.ceil(Math.floor(Math.log2(ae)+1)/8);for(let dt=0;dt<hr;dt++)yield ae>>
10058*(hr-1-dt)&255}function B(ae){Fe(v.Array);for(const hr of ae)je(hr)}function $(ae){Fe(v.Boolean),Fe(ae?1:0)}function F(ae){Fe(v.BigInt),P.setBigInt64(0,ae);for(const hr of k)Fe(hr)}function V(ae){Fe(v.Date),je(ae.getTime())}function W(ae){Fe(v.Null)}function Z(ae){Fe(v.Number),P.setFloat64(0,ae);for(const hr of k)Fe(hr)}function J(ae){Fe(v.Object);for(const hr of globalThis.Object.getOwnPropertyNames(ae).sort())je(hr),je(ae[hr])}function ie(ae){Fe(v.String);for(let hr=0;hr<ae.length;hr++)for(const dt of D(ae.charCodeAt(hr)))Fe(dt)}function le(ae){Fe(v.Symbol),je(ae.description)}function he(ae){Fe(v.Uint8Array);for(let hr=0;hr<ae.length;hr++)Fe(ae[hr])}function me(ae){return Fe(v.Undefined)}function je(ae){if((0,i.QS)(ae))return B(ae);if((0,i.Zx)(ae))return $(ae);if((0,i.cQ)(ae))return F(ae);if((0,i.XF)(ae))return V(ae);if((0,i.Ef)(ae))return W(ae);if((0,i.Mx)(ae))return Z(ae);if((0,i.av)(ae))return J(ae);if((0,i.IP)(ae))return ie(ae);if((0,i.nH)(ae))return le(ae);if((0,i.G4)(ae))return he(ae);if((0,i.R1)(ae))return me(ae);throw new h(ae)}function Fe(ae){x=x^_[ae],x=x*T%E}function Je(ae){return x=BigInt("14695981039346656037"),je(ae),x}var Xe=e(31340);function ge(ae){return ae.allOf.every(hr=>Re(hr))}function be(ae){return ae.anyOf.some(hr=>Re(hr))}function Ie(ae){return!Re(ae.not)}function Re(ae){return ae[s.b8]==="Intersect"?ge(ae):ae[s.b8]==="Union"?be(ae):ae[s.b8]==="Not"?Ie(ae):ae[s.b8]==="Undefined"}const ye=new Map;function De(){return new Map(ye)}function $e(){return ye.clear()}function qe(ae){return ye.delete(ae)}function It(ae){return ye.has(ae)}function mt(ae,hr){ye.set(ae,hr)}function kt(ae){return ye.get(ae)}const Ut=new Map;function Ir(){return new Map(Ut)}function Sr(){return Ut.clear()}function Yr(ae){return Ut.delete(ae)}function Gr(ae){return Ut.has(ae)}function dn(ae,hr){Ut.set(ae,hr)}function Kr(ae){return Ut.get(ae)}var yt=e(80463),tt=e(78542);class Ar extends a.i{constructor(hr){super("Unknown type"),this.schema=hr}}function Mr(ae){return ae[s.b8]==="Any"||ae[s.b8]==="Unknown"}function Er(ae){return ae!==void 0}function Ur(ae,hr,dt){return!0}function or(ae,hr,dt){return!0}function An(ae,hr,dt){if(!(0,i.QS)(dt)||Er(ae.minItems)&&!(dt.length>=ae.minItems)||Er(ae.maxItems)&&!(dt.length<=ae.maxItems))return!1;for(const Jn of dt)if(!oe(ae.items,hr,Jn))return!1;if(ae.uniqueItems===!0&&!(function(){const Jn=new Set;for(const vs of dt){const Ps=Je(vs);if(Jn.has(Ps))return!1;Jn.add(Ps)}return!0})())return!1;if(!(Er(ae.contains)||(0,i.Mx)(ae.minContains)||(0,i.Mx)(ae.maxContains)))return!0;const xt=Er(ae.contains)?ae.contains:(0,yt.p)(),bn=dt.reduce((Jn,vs)=>oe(xt,hr,vs)?Jn+1:Jn,0);return!(bn===0||(0,i.Mx)(ae.minContains)&&bn<ae.minContains||(0,i.Mx)(ae.maxContains)&&bn>ae.maxContains)}function dr(ae,hr,dt){return(0,i.H1)(dt)}function Xr(ae,hr,dt){return!(!(0,i.cQ)(dt)||Er(ae.exclusiveMaximum)&&!(dt<ae.exclusiveMaximum)||Er(ae.exclusiveMinimum)&&!(dt>ae.exclusiveMinimum)||Er(ae.maximum)&&!(dt<=ae.maximum)||Er(ae.minimum)&&!(dt>=ae.minimum)||Er(ae.multipleOf)&&dt%ae.multipleOf!==BigInt(0))}function hn(ae,hr,dt){return(0,i.Zx)(dt)}function Qt(ae,hr,dt){return oe(ae.returns,hr,dt.prototype)}function Br(ae,hr,dt){return!(!(0,i.XF)(dt)||Er(ae.exclusiveMaximumTimestamp)&&!(dt.getTime()<ae.exclusiveMaximumTimestamp)||Er(ae.exclusiveMinimumTimestamp)&&!(dt.getTime()>ae.exclusiveMinimumTimestamp)||Er(ae.maximumTimestamp)&&!(dt.getTime()<=ae.maximumTimestamp)||Er(ae.minimumTimestamp)&&!(dt.getTime()>=ae.minimumTimestamp)||Er(ae.multipleOfTimestamp)&&dt.getTime()%ae.multipleOfTimestamp!==0)}function zt(ae,hr,dt){return(0,i.hg)(dt)}function Tt(ae,hr,dt){const xt=globalThis.Object.values(ae.$defs),bn=ae.$defs[ae.$ref];return oe(bn,[...hr,...xt],dt)}function Pr(ae,hr,dt){return!(!(0,i.$p)(dt)||Er(ae.exclusiveMaximum)&&!(dt<ae.exclusiveMaximum)||Er(ae.exclusiveMinimum)&&!(dt>ae.exclusiveMinimum)||Er(ae.maximum)&&!(dt<=ae.maximum)||Er(ae.minimum)&&!(dt>=ae.minimum)||Er(ae.multipleOf)&&dt%ae.multipleOf!==0)}function Y(ae,hr,dt){const xt=ae.allOf.every(bn=>oe(bn,hr,dt));if(ae.unevaluatedProperties===!1){const bn=new RegExp((0,Xe.n)(ae)),Jn=Object.getOwnPropertyNames(dt).every(vs=>bn.test(vs));return xt&&Jn}else if((0,tt.Yi)(ae.unevaluatedProperties)){const bn=new RegExp((0,Xe.n)(ae)),Jn=Object.getOwnPropertyNames(dt).every(vs=>bn.test(vs)||oe(ae.unevaluatedProperties,hr,dt[vs]));return xt&&Jn}else return xt}function ht(ae,hr,dt){return(0,i.jo)(dt)}function ur(ae,hr,dt){return dt===ae.const}function it(ae,hr,dt){return!1}function Rt(ae,hr,dt){return!oe(ae.not,hr,dt)}function Zr(ae,hr,dt){return(0,i.Ef)(dt)}function nn(ae,hr,dt){return!(!r.Q.IsNumberLike(dt)||Er(ae.exclusiveMaximum)&&!(dt<ae.exclusiveMaximum)||Er(ae.exclusiveMinimum)&&!(dt>ae.exclusiveMinimum)||Er(ae.minimum)&&!(dt>=ae.minimum)||Er(ae.maximum)&&!(dt<=ae.maximum)||Er(ae.multipleOf)&&dt%ae.multipleOf!==0)}function fn(ae,hr,dt){if(!r.Q.IsObjectLike(dt)||Er(ae.minProperties)&&!(Object.getOwnPropertyNames(dt).length>
1005=ae.minProperties)||Er(ae.maxProperties)&&!(Object.getOwnPropertyNames(dt).length<=ae.maxProperties))return!1;const xt=Object.getOwnPropertyNames(ae.properties);for(const bn of xt){const Jn=ae.properties[bn];if(ae.required&&ae.required.includes(bn)){if(!oe(Jn,hr,dt[bn])||(Re(Jn)||Mr(Jn))&&!(bn in dt))return!1}else if(r.Q.IsExactOptionalProperty(dt,bn)&&!oe(Jn,hr,dt[bn]))return!1}if(ae.additionalProperties===!1){const bn=Object.getOwnPropertyNames(dt);return ae.required&&ae.required.length===xt.length&&bn.length===xt.length?!0:bn.every(Jn=>xt.includes(Jn))}else return typeof ae.additionalProperties=="object"?Object.getOwnPropertyNames(dt).every(Jn=>xt.includes(Jn)||oe(ae.additionalProperties,hr,dt[Jn])):!0}function Sn(ae,hr,dt){return(0,i.OD)(dt)}function Ci(ae,hr,dt){if(!r.Q.IsRecordLike(dt)||Er(ae.minProperties)&&!(Object.getOwnPropertyNames(dt).length>=ae.minProperties)||Er(ae.maxProperties)&&!(Object.getOwnPropertyNames(dt).length<=ae.maxProperties))return!1;const[xt,bn]=Object.entries(ae.patternProperties)[0],Jn=new RegExp(xt),vs=Object.entries(dt).every(([$o,yo])=>Jn.test($o)?oe(bn,hr,yo):!0),Ps=typeof ae.additionalProperties=="object"?Object.entries(dt).every(([$o,yo])=>Jn.test($o)?!0:oe(ae.additionalProperties,hr,yo)):!0,Ia=ae.additionalProperties===!1?Object.getOwnPropertyNames(dt).every($o=>Jn.test($o)):!0;return vs&&Ps&&Ia}function $i(ae,hr,dt){return oe(g(ae,hr),hr,dt)}function qr(ae,hr,dt){const xt=new RegExp(ae.source,ae.flags);return Er(ae.minLength)&&!(dt.length>=ae.minLength)||Er(ae.maxLength)&&!(dt.length<=ae.maxLength)?!1:xt.test(dt)}function Bi(ae,hr,dt){return!(0,i.IP)(dt)||Er(ae.minLength)&&!(dt.length>=ae.minLength)||Er(ae.maxLength)&&!(dt.length<=ae.maxLength)||Er(ae.pattern)&&!new RegExp(ae.pattern).test(dt)?!1:Er(ae.format)?It(ae.format)?kt(ae.format)(dt):!1:!0}function ms(ae,hr,dt){return(0,i.nH)(dt)}function hs(ae,hr,dt){return(0,i.IP)(dt)&&new RegExp(ae.pattern).test(dt)}function Mi(ae,hr,dt){return oe(g(ae,hr),hr,dt)}function gi(ae,hr,dt){if(!(0,i.QS)(dt)||ae.items===void 0&&dt.length!==0||dt.length!==ae.maxItems)return!1;if(!ae.items)return!0;for(let xt=0;xt<ae.items.length;xt++)if(!oe(ae.items[xt],hr,dt[xt]))return!1;return!0}function Hi(ae,hr,dt){return(0,i.R1)(dt)}function qn(ae,hr,dt){return ae.anyOf.some(xt=>oe(xt,hr,dt))}function $n(ae,hr,dt){return!(!(0,i.G4)(dt)||Er(ae.maxByteLength)&&!(dt.length<=ae.maxByteLength)||Er(ae.minByteLength)&&!(dt.length>=ae.minByteLength))}function $s(ae,hr,dt){return!0}function ys(ae,hr,dt){return r.Q.IsVoidLike(dt)}function Es(ae,hr,dt){return Gr(ae[s.b8])?Kr(ae[s.b8])(ae,dt):!1}function oe(ae,hr,dt){const xt=Er(ae.$id)?m(ae,hr):hr,bn=ae;switch(bn[s.b8]){case"Any":return Ur(bn,xt,dt);case"Argument":return or(bn,xt,dt);case"Array":return An(bn,xt,dt);case"AsyncIterator":return dr(bn,xt,dt);case"BigInt":return Xr(bn,xt,dt);case"Boolean":return hn(bn,xt,dt);case"Constructor":return Qt(bn,xt,dt);case"Date":return Br(bn,xt,dt);case"Function":return zt(bn,xt,dt);case"Import":return Tt(bn,xt,dt);case"Integer":return Pr(bn,xt,dt);case"Intersect":return Y(bn,xt,dt);case"Iterator":return ht(bn,xt,dt);case"Literal":return ur(bn,xt,dt);case"Never":return it(bn,xt,dt);case"Not":return Rt(bn,xt,dt);case"Null":return Zr(bn,xt,dt);case"Number":return nn(bn,xt,dt);case"Object":return fn(bn,xt,dt);case"Promise":return Sn(bn,xt,dt);case"Record":return Ci(bn,xt,dt);case"Ref":return $i(bn,xt,dt);case"RegExp":return qr(bn,xt,dt);case"String":return Bi(bn,xt,dt);case"Symbol":return ms(bn,xt,dt);case"TemplateLiteral":return hs(bn,xt,dt);case"This":return Mi(bn,xt,dt);case"Tuple":return gi(bn,xt,dt);case"Undefined":return Hi(bn,xt,dt);case"Union":return qn(bn,xt,dt);case"Uint8Array":return $n(bn,xt,dt);case"Unknown":return $s(bn,xt,dt);case"Void":return ys(bn,xt,dt);default:if(!Gr(bn[s.b8]))throw new Ar(bn);return Es(bn,xt,dt)}}function xe(...ae){return ae.length===3?oe(ae[0],ae[1],ae[2]):oe(ae[0],[],ae[1])}var Ge=e(16132);function bt(ae){switch(ae.errorType){case Gt.ArrayContains:return"Expected array to contain at least one matching value";case Gt.ArrayMaxContains:return`Expected array to contain no more than ${ae.sc
1005hema.maxContains} matching values`;case Gt.ArrayMinContains:return`Expected array to contain at least ${ae.schema.minContains} matching values`;case Gt.ArrayMaxItems:return`Expected array length to be less or equal to ${ae.schema.maxItems}`;case Gt.ArrayMinItems:return`Expected array length to be greater or equal to ${ae.schema.minItems}`;case Gt.ArrayUniqueItems:return"Expected array elements to be unique";case Gt.Array:return"Expected array";case Gt.AsyncIterator:return"Expected AsyncIterator";case Gt.BigIntExclusiveMaximum:return`Expected bigint to be less than ${ae.schema.exclusiveMaximum}`;case Gt.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${ae.schema.exclusiveMinimum}`;case Gt.BigIntMaximum:return`Expected bigint to be less or equal to ${ae.schema.maximum}`;case Gt.BigIntMinimum:return`Expected bigint to be greater or equal to ${ae.schema.minimum}`;case Gt.BigIntMultipleOf:return`Expected bigint to be a multiple of ${ae.schema.multipleOf}`;case Gt.BigInt:return"Expected bigint";case Gt.Boolean:return"Expected boolean";case Gt.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${ae.schema.exclusiveMinimumTimestamp}`;case Gt.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${ae.schema.exclusiveMaximumTimestamp}`;case Gt.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${ae.schema.minimumTimestamp}`;case Gt.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${ae.schema.maximumTimestamp}`;case Gt.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${ae.schema.multipleOfTimestamp}`;case Gt.Date:return"Expected Date";case Gt.Function:return"Expected function";case Gt.IntegerExclusiveMaximum:return`Expected integer to be less than ${ae.schema.exclusiveMaximum}`;case Gt.IntegerExclusiveMinimum:return`Expected integer to be greater than ${ae.schema.exclusiveMinimum}`;case Gt.IntegerMaximum:return`Expected integer to be less or equal to ${ae.schema.maximum}`;case Gt.IntegerMinimum:return`Expected integer to be greater or equal to ${ae.schema.minimum}`;case Gt.IntegerMultipleOf:return`Expected integer to be a multiple of ${ae.schema.multipleOf}`;case Gt.Integer:return"Expected integer";case Gt.IntersectUnevaluatedProperties:return"Unexpected property";case Gt.Intersect:return"Expected all values to match";case Gt.Iterator:return"Expected Iterator";case Gt.Literal:return`Expected ${typeof ae.schema.const=="string"?`'${ae.schema.const}'`:ae.schema.const}`;case Gt.Never:return"Never";case Gt.Not:return"Value should not match";case Gt.Null:return"Expected null";case Gt.NumberExclusiveMaximum:return`Expected number to be less than ${ae.schema.exclusiveMaximum}`;case Gt.NumberExclusiveMinimum:return`Expected number to be greater than ${ae.schema.exclusiveMinimum}`;case Gt.NumberMaximum:return`Expected number to be less or equal to ${ae.schema.maximum}`;case Gt.NumberMinimum:return`Expected number to be greater or equal to ${ae.schema.minimum}`;case Gt.NumberMultipleOf:return`Expected number to be a multiple of ${ae.schema.multipleOf}`;case Gt.Number:return"Expected number";case Gt.Object:return"Expected object";case Gt.ObjectAdditionalProperties:return"Unexpected property";case Gt.ObjectMaxProperties:return`Expected object to have no more than ${ae.schema.maxProperties} properties`;case Gt.ObjectMinProperties:return`Expected object to have at least ${ae.schema.minProperties} properties`;case Gt.ObjectRequiredProperty:return"Expected required property";case Gt.Promise:return"Expected Promise";case Gt.RegExp:return"Expected string to match regular expression";case Gt.StringFormatUnknown:return`Unknown format '${ae.schema.format}'`;case Gt.StringFormat:return`Expected string to match '${ae.schema.format}' format`;case Gt.StringMaxLength:return`Expected string length less or equal to ${ae.schema.maxLength}`;case Gt.StringMinLength:return`Expected string length greater or equal to ${ae.schema.minLength}`;case Gt.StringPattern:return`Expected string to match '${ae.schema.pattern}'`;case Gt.String:return"Expected string";case Gt.Symbol:return"Expected symbol";case Gt.TupleLength:return`Expected tuple to have ${ae.schema.maxItems||0} elements`;case Gt.Tuple:return"Expected tuple";
1005case Gt.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${ae.schema.maxByteLength}`;case Gt.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${ae.schema.minByteLength}`;case Gt.Uint8Array:return"Expected Uint8Array";case Gt.Undefined:return"Expected undefined";case Gt.Union:return"Expected union value";case Gt.Void:return"Expected void";case Gt.Kind:return`Expected kind '${ae.schema[s.b8]}'`;default:return"Unknown error type"}}let Et=bt;function Tr(ae){Et=ae}function vn(){return Et}var Gt;(function(ae){ae[ae.ArrayContains=0]="ArrayContains",ae[ae.ArrayMaxContains=1]="ArrayMaxContains",ae[ae.ArrayMaxItems=2]="ArrayMaxItems",ae[ae.ArrayMinContains=3]="ArrayMinContains",ae[ae.ArrayMinItems=4]="ArrayMinItems",ae[ae.ArrayUniqueItems=5]="ArrayUniqueItems",ae[ae.Array=6]="Array",ae[ae.AsyncIterator=7]="AsyncIterator",ae[ae.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",ae[ae.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",ae[ae.BigIntMaximum=10]="BigIntMaximum",ae[ae.BigIntMinimum=11]="BigIntMinimum",ae[ae.BigIntMultipleOf=12]="BigIntMultipleOf",ae[ae.BigInt=13]="BigInt",ae[ae.Boolean=14]="Boolean",ae[ae.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",ae[ae.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",ae[ae.DateMaximumTimestamp=17]="DateMaximumTimestamp",ae[ae.DateMinimumTimestamp=18]="DateMinimumTimestamp",ae[ae.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",ae[ae.Date=20]="Date",ae[ae.Function=21]="Function",ae[ae.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",ae[ae.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",ae[ae.IntegerMaximum=24]="IntegerMaximum",ae[ae.IntegerMinimum=25]="IntegerMinimum",ae[ae.IntegerMultipleOf=26]="IntegerMultipleOf",ae[ae.Integer=27]="Integer",ae[ae.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",ae[ae.Intersect=29]="Intersect",ae[ae.Iterator=30]="Iterator",ae[ae.Kind=31]="Kind",ae[ae.Literal=32]="Literal",ae[ae.Never=33]="Never",ae[ae.Not=34]="Not",ae[ae.Null=35]="Null",ae[ae.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",ae[ae.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",ae[ae.NumberMaximum=38]="NumberMaximum",ae[ae.NumberMinimum=39]="NumberMinimum",ae[ae.NumberMultipleOf=40]="NumberMultipleOf",ae[ae.Number=41]="Number",ae[ae.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",ae[ae.ObjectMaxProperties=43]="ObjectMaxProperties",ae[ae.ObjectMinProperties=44]="Ob
1005jectMinProperties",ae[ae.ObjectRequiredProperty=45]="ObjectRequiredProperty",ae[ae.Object=46]="Object",ae[ae.Promise=47]="Promise",ae[ae.RegExp=48]="RegExp",ae[ae.StringFormatUnknown=49]="StringFormatUnknown",ae[ae.StringFormat=50]="StringFormat",ae[ae.StringMaxLength=51]="StringMaxLength",ae[ae.StringMinLength=52]="StringMinLength",ae[ae.StringPattern=53]="StringPattern",ae[ae.String=54]="String",ae[ae.Symbol=55]="Symbol",ae[ae.TupleLength=56]="TupleLength",ae[ae.Tuple=57]="Tuple",ae[ae.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",ae[ae.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",ae[ae.Uint8Array=60]="Uint8Array",ae[ae.Undefined=61]="Undefined",ae[ae.Union=62]="Union",ae[ae.Void=63]="Void"})(Gt||(Gt={}));class ei extends a.i{constructor(hr){super("Unknown type"),this.schema=hr}}function si(ae){return ae.replace(/~/g,"~0").replace(/\//g,"~1")}function yn(ae){return ae!==void 0}class rs{constructor(hr){this.iterator=hr}[Symbol.iterator](){return this.iterator}First(){const hr=this.iterator.next();return hr.done?void 0:hr.value}}function xn(ae,hr,dt,xt,bn=[]){return{type:ae,schema:hr,path:dt,value:xt,message:vn()({errorType:ae,path:dt,schema:hr,value:xt,errors:bn}),errors:bn}}function*Ms(ae,hr,dt,xt){}function*Yi(ae,hr,dt,xt){}function*Gs(ae,hr,dt,xt){if(!(0,i.QS)(xt))return yield xn(Gt.Array,ae,dt,xt);yn(ae.minItems)&&!(xt.length>=ae.minItems)&&(yield xn(Gt.ArrayMinItems,ae,dt,xt)),yn(ae.maxItems)&&!(xt.length<=ae.maxItems)&&(yield xn(Gt.ArrayMaxItems,ae,dt,xt));for(let vs=0;vs<xt.length;vs++)yield*ps(ae.items,hr,`${dt}/${vs}`,xt[vs]);if(ae.uniqueItems===!0&&!(function(){const vs=new Set;for(const Ps of xt){const Ia=Je(Ps);if(vs.has(Ia))return!1;vs.add(Ia)}return!0})()&&(yield xn(Gt.ArrayUniqueItems,ae,dt,xt)),!(yn(ae.contains)||yn(ae.minContains)||yn(ae.maxContains)))return;const bn=yn(ae.contains)?ae.contains:(0,yt.p)(),Jn=xt.reduce((vs,Ps,Ia)=>ps(bn,hr,`${dt}${Ia}`,Ps).next().done===!0?vs+1:vs,0);Jn===0&&(yield xn(Gt.ArrayContains,ae,dt,xt)),(0,i.Mx)(ae.minContains)&&Jn<ae.minContains&&(yield xn(Gt.ArrayMinContains,ae,dt,xt)),(0,i.Mx)(ae.maxContains)&&Jn>ae.maxContains&&(yield xn(Gt.ArrayMaxContains,ae,dt,xt))}function*us(ae,hr,dt,xt){(0,i.H1)(xt)||(yield xn(Gt.AsyncIterator,ae,dt,xt))}function*nr(ae,hr,dt,xt){if(!(0,i.cQ)(xt))return yield xn(Gt.BigInt,ae,dt,xt);yn(ae.exclusiveMaximum)&&!(xt<ae.exclusiveMaximum)&&(yield xn(Gt.BigIntExclusiveMaximum,ae,dt,xt)),yn(ae.exclusiveMinimum)&&!(xt>ae.exclusiveMinimum)&&(yield xn(Gt.BigIntExclusiveMinimum,ae,dt,xt)),yn(ae.maximum)&&!(xt<=ae.maximum)&&(yield xn(Gt.BigIntMaximum,ae,dt,xt)),yn(ae.minimum)&&!(xt>=ae.minimum)&&(yield xn(Gt.BigIntMinimum,ae,dt,xt)),yn(ae.multipleOf)&&xt%ae.multipleOf!==BigInt(0)&&(yield xn(Gt.BigIntMultipleOf,ae,dt,xt))}function*cr(ae,hr,dt,xt){(0,i.Zx)(xt)||(yield xn(Gt.Boolean,ae,dt,xt))}function*ln(ae,hr,dt,xt){yield*ps(ae.returns,hr,dt,xt.prototype)}function*Yn(ae,hr,dt,xt){if(!(0,i.XF)(xt))return yield xn(Gt.Date,ae,dt,xt);yn(ae.exclusiveMaximumTimestamp)&&!(xt.getTime()<ae.exclusiveMaximumTimestamp)&&(yield xn(Gt.DateExclusiveMaximumTimestamp,ae,dt,xt)),yn(ae.exclusiveMinimumTimestamp)&&!(xt.getTime()>ae.exclusiveMinimumTimestamp)&&(yield xn(Gt.DateExclusiveMinimumTimestamp,ae,dt,xt)),yn(ae.maximumTimestamp)&&!(xt.getTime()<=ae.maximumTimestamp)&&(yield xn(Gt.DateMaximumTimestamp,ae,dt,xt)),yn(ae.minimumTimestamp)&&!(xt.getTime()>=ae.minimumTimestamp)&&(yield xn(Gt.DateMinimumTimestamp,ae,dt,xt)),yn(ae.multipleOfTimestamp)&&xt.getTime()%ae.multipleOfTimestamp!==0&&(yield xn(Gt.DateMultipleOfTimestamp,ae,dt,xt))}function*Ln(ae,hr,dt,xt){(0,i.hg)(xt)||(yield xn(Gt.Function,ae,dt,xt))}function*wn(ae,hr,dt,xt){const bn=globalThis.Object.values(ae.$defs),Jn=ae.$defs[ae.$ref];yield*ps(Jn,[...hr,...bn],dt,xt)}function*ti(ae,hr,dt,xt){if(!(0,i.$p)(xt))return yield xn(Gt.Integer,ae,dt,xt);yn(ae.exclusiveMaximum)&&!(xt<ae.exclusiveMaximum)&&(yield xn(Gt.IntegerExclusiveMaximum,ae,dt,xt)),yn(ae.exclusiveMinimum)&&!(xt>ae.exclusiveMinimum)&&(yield xn(Gt.IntegerExclusiveMinimum,ae,dt,xt)),yn(ae.maximum)&&!(xt<=ae.maximum)&&(yield xn(Gt.IntegerMaximum,ae,dt,xt)),yn(ae.minimum)&&!(xt>=ae.minimum)&&(yield xn(Gt.IntegerMinimum,ae,dt,xt)),yn(ae.multipleOf)&&xt%ae.multipleOf!==0&&(yield xn(Gt.IntegerMultipleOf,ae,dt,xt))}function*Ti(ae,hr,dt,xt){let bn=!1;for(const Jn of ae.allOf)for(const vs of ps(Jn,hr,dt,xt))bn=!0,yield vs;if(bn)return yield xn(Gt.Intersect,ae,dt,xt);if(ae.unevaluatedProperties===!1){const Jn=new RegExp((0,Xe.n)(ae));for(const vs of Object.getOwnPropertyNames(xt))Jn.test(vs)||(yield xn(Gt.IntersectUnevaluatedProperties,ae,`${dt}/${vs}`,xt))}if(typeof ae.unevaluatedProperties=="object"){const Jn=new RegExp((0,Xe.n)(ae));for(const vs of Object.getOwnPropertyNames(xt))if(!Jn.test(vs)){const Ps=ps(ae.unevaluatedProperties,hr,`${dt}/${vs}`,xt[vs]).next();Ps.done||(yield Ps.value)}}}function*Pi(ae,hr,dt,xt){(0,i.jo)(xt)||(yield xn(Gt.Iterator,ae,dt,xt))}function*Zi(ae,hr,dt,xt){xt!==ae.const&&(yield xn(Gt.Literal,ae,dt,xt))}function*Ui(ae,hr,dt,xt){yield xn(Gt.Never,ae,dt,xt)}function*vi(ae,hr,dt,xt){ps(ae.not,hr,dt,xt).next().done===!0&&(yield xn(Gt.Not,ae,dt,xt))}function*Wi(ae,hr,dt,xt){(0,i.Ef)(xt)||(yield xn(Gt.Null,ae,dt,xt))}function*ks(ae,hr,dt,xt){if(!r.Q.IsNumberLike(xt))return yield xn(Gt.Number,ae,dt,xt);yn(ae.exclusiveMaximum)&&!(xt<ae.exclusiveMaximum)&&(yield xn(Gt.NumberExclusiveMaximum,ae,dt,xt)),yn(ae.exclusiveMinimum)&&!(xt>ae.exclusiveMinimum)&&(yield xn(Gt.NumberExclusiveMinimum,ae,dt,xt)),yn(ae.maximum)&&!(xt<=ae.maximum)&&(yield xn(Gt.NumberMaximum,ae,dt,xt)),yn(ae.minimum)&&!(xt>=ae.minimum)&&(yield xn(Gt.NumberMinimum,ae,dt,xt)),yn(ae.multipleOf)&&xt%ae.multipleOf!==0&&(yield xn(Gt.NumberMultipleOf,ae,dt,xt))}function*ss(ae,hr,dt,xt){if(!r.Q.IsObjectLike(xt))return yield xn(Gt.Object,ae,dt,xt);yn(ae.minProperties)&&!(Object.getOwnPropertyNames(xt).length>=ae.minProperties)&&(yield xn(Gt.ObjectMinProperties,ae,dt,xt)),yn(ae.maxPro
1005perties)&&!(Object.getOwnPropertyNames(xt).length<=ae.maxProperties)&&(yield xn(Gt.ObjectMaxProperties,ae,dt,xt));const bn=Array.isArray(ae.required)?ae.required:[],Jn=Object.getOwnPropertyNames(ae.properties),vs=Object.getOwnPropertyNames(xt);for(const Ps of bn)vs.includes(Ps)||(yield xn(Gt.ObjectRequiredProperty,ae.properties[Ps],`${dt}/${si(Ps)}`,void 0));if(ae.additionalProperties===!1)for(const Ps of vs)Jn.includes(Ps)||(yield xn(Gt.ObjectAdditionalProperties,ae,`${dt}/${si(Ps)}`,xt[Ps]));if(typeof ae.additionalProperties=="object")for(const Ps of vs)Jn.includes(Ps)||(yield*ps(ae.additionalProperties,hr,`${dt}/${si(Ps)}`,xt[Ps]));for(const Ps of Jn){const Ia=ae.properties[Ps];ae.required&&ae.required.includes(Ps)?(yield*ps(Ia,hr,`${dt}/${si(Ps)}`,xt[Ps]),Re(ae)&&!(Ps in xt)&&(yield xn(Gt.ObjectRequiredProperty,Ia,`${dt}/${si(Ps)}`,void 0))):r.Q.IsExactOptionalProperty(xt,Ps)&&(yield*ps(Ia,hr,`${dt}/${si(Ps)}`,xt[Ps]))}}function*xs(ae,hr,dt,xt){(0,i.OD)(xt)||(yield xn(Gt.Promise,ae,dt,xt))}function*wi(ae,hr,dt,xt){if(!r.Q.IsRecordLike(xt))return yield xn(Gt.Object,ae,dt,xt);yn(ae.minProperties)&&!(Object.getOwnPropertyNames(xt).length>=ae.minProperties)&&(yield xn(Gt.ObjectMinProperties,ae,dt,xt)),yn(ae.maxProperties)&&!(Object.getOwnPropertyNames(xt).length<=ae.maxProperties)&&(yield xn(Gt.ObjectMaxProperties,ae,dt,xt));const[bn,Jn]=Object.entries(ae.patternProperties)[0],vs=new RegExp(bn);for(const[Ps,Ia]of Object.entries(xt))vs.test(Ps)&&(yield*ps(Jn,hr,`${dt}/${si(Ps)}`,Ia));if(typeof ae.additionalProperties=="object")for(const[Ps,Ia]of Object.entries(xt))vs.test(Ps)||(yield*ps(ae.additionalProperties,hr,`${dt}/${si(Ps)}`,Ia));if(ae.additionalProperties===!1){for(const[Ps,Ia]of Object.entries(xt))if(!vs.test(Ps))return yield xn(Gt.ObjectAdditionalProperties,ae,`${dt}/${si(Ps)}`,Ia)}}function*Ns(ae,hr,dt,xt){yield*ps(g(ae,hr),hr,dt,xt)}function*Cs(ae,hr,dt,xt){if(!(0,i.IP)(xt))return yield xn(Gt.String,ae,dt,xt);if(yn(ae.minLength)&&!(xt.length>=ae.minLength)&&(yield xn(Gt.StringMinLength,ae,dt,xt)),yn(ae.maxLength)&&!(xt.length<=ae.maxLength)&&(yield xn(Gt.StringMaxLength,ae,dt,xt)),!new RegExp(ae.source,ae.flags).test(xt))return yield xn(Gt.RegExp,ae,dt,xt)}function*as(ae,hr,dt,xt){if(!(0,i.IP)(xt))return yield xn(Gt.String,ae,dt,xt);yn(ae.minLength)&&!(xt.length>=ae.minLength)&&(yield xn(Gt.StringMinLength,ae,dt,xt)),yn(ae.maxLength)&&!(xt.length<=ae.maxLength)&&(yield xn(Gt.StringMaxLength,ae,dt,xt)),(0,i.IP)(ae.pattern)&&(new RegExp(ae.pattern).test(xt)||(yield xn(Gt.StringPattern,ae,dt,xt))),(0,i.IP)(ae.format)&&(It(ae.format)?kt(ae.format)(xt)||(yield xn(Gt.StringFormat,ae,dt,xt)):yield xn(Gt.StringFormatUnknown,ae,dt,xt))}function*Os(ae,hr,dt,xt){(0,i.nH)(xt)||(yield xn(Gt.Symbol,ae,dt,xt))}function*ce(ae,hr,dt,xt){if(!(0,i.IP)(xt))return yield xn(Gt.String,ae,dt,xt);new RegExp(ae.pattern).test(xt)||(yield xn(Gt.StringPattern,ae,dt,xt))}function*He(ae,hr,dt,xt){yield*ps(g(ae,hr),hr,dt,xt)}function*Lt(ae,hr,dt,xt){if(!(0,i.QS)(xt))return yield xn(Gt.Tuple,ae,dt,xt);if(ae.items===void 0&&xt.length!==0)return yield xn(Gt.TupleLength,ae,dt,xt);if(xt.length!==ae.maxItems)return yield xn(Gt.TupleLength,ae,dt,xt);if(ae.items)for(let bn=0;bn<ae.items.length;bn++)yield*ps(ae.items[bn],hr,`${dt}/${bn}`,xt[bn])}function*fr(ae,hr,dt,xt){(0,i.R1)(xt)||(yield xn(Gt.Undefined,ae,dt,xt))}function*un(ae,hr,dt,xt){if(xe(ae,hr,xt))return;const bn=ae.anyOf.map(Jn=>new rs(ps(Jn,hr,dt,xt)));yield xn(Gt.Union,ae,dt,xt,bn)}function*Qn(ae,hr,dt,xt){if(!(0,i.G4)(xt))return yield xn(Gt.Uint8Array,ae,dt,xt);yn(ae.maxByteLength)&&!(xt.length<=ae.maxByteLength)&&(yield xn(Gt.Uint8ArrayMaxByteLength,ae,dt,xt)),yn(ae.minByteLength)&&!(xt.length>=ae.minByteLength)&&(yield xn(Gt.Uint8ArrayMinByteLength,ae,dt,xt))}function*Xi(ae,hr,dt,xt){}function*qi(ae,hr,dt,xt){r.Q.IsVoidLike(xt)||(yield xn(Gt.Void,ae,dt,xt))}function*ls(ae,hr,dt,xt){Kr(ae[s.b8])(ae,xt)||(yield xn(Gt.Kind,ae,dt,xt))}function*ps(ae,hr,dt,xt){const bn=yn(ae.$id)?[...hr,ae]:hr,Jn=ae;switch(Jn[s.b8]){case"Any":return yield*Ms(Jn,bn,dt,xt);case"Argument":return yield*Yi(Jn,bn,dt,xt);case"Array":return yield*Gs(Jn,bn,dt,xt);case"AsyncIterator":return yield*us(Jn,bn,dt,xt);case"BigInt":return yield*nr(Jn,bn,dt,xt);case"Boolean":return yield*cr(Jn,bn,dt,xt);case"Constructor":return yield*ln(Jn,bn,dt,xt);case"Date":return yield*Yn(Jn,bn,dt,xt);
1005case"Function":return yield*Ln(Jn,bn,dt,xt);case"Import":return yield*wn(Jn,bn,dt,xt);case"Integer":return yield*ti(Jn,bn,dt,xt);case"Intersect":return yield*Ti(Jn,bn,dt,xt);case"Iterator":return yield*Pi(Jn,bn,dt,xt);case"Literal":return yield*Zi(Jn,bn,dt,xt);case"Never":return yield*Ui(Jn,bn,dt,xt);case"Not":return yield*vi(Jn,bn,dt,xt);case"Null":return yield*Wi(Jn,bn,dt,xt);case"Number":return yield*ks(Jn,bn,dt,xt);case"Object":return yield*ss(Jn,bn,dt,xt);case"Promise":return yield*xs(Jn,bn,dt,xt);case"Record":return yield*wi(Jn,bn,dt,xt);case"Ref":return yield*Ns(Jn,bn,dt,xt);case"RegExp":return yield*Cs(Jn,bn,dt,xt);case"String":return yield*as(Jn,bn,dt,xt);case"Symbol":return yield*Os(Jn,bn,dt,xt);case"TemplateLiteral":return yield*ce(Jn,bn,dt,xt);case"This":return yield*He(Jn,bn,dt,xt);case"Tuple":return yield*Lt(Jn,bn,dt,xt);case"Undefined":return yield*fr(Jn,bn,dt,xt);case"Union":return yield*un(Jn,bn,dt,xt);case"Uint8Array":return yield*Qn(Jn,bn,dt,xt);case"Unknown":return yield*Xi(Jn,bn,dt,xt);case"Void":return yield*qi(Jn,bn,dt,xt);default:if(!Gr(Jn[s.b8]))throw new ei(ae);return yield*ls(Jn,bn,dt,xt)}}function la(...ae){const hr=ae.length===3?ps(ae[0],ae[1],"",ae[2]):ps(ae[0],[],"",ae[1]);return new rs(hr)}var ca,za,io=function(ae,hr,dt,xt,bn){if(xt==="m")throw new TypeError("Private method is not writable");if(xt==="a"&&!bn)throw new TypeError("Private accessor was defined without a setter");if(typeof hr=="function"?ae!==hr||!bn:!hr.has(ae))throw new TypeError("Cannot write private member to an object whose class did not declare it");return xt==="a"?bn.call(ae,dt):bn?bn.value=dt:hr.set(ae,dt),dt},Is=function(ae,hr,dt,xt){if(dt==="a"&&!xt)throw new TypeError("Private accessor was defined without a getter");if(typeof hr=="function"?ae!==hr||!xt:!hr.has(ae))throw new TypeError("Cannot read private member from an object whose class did not declare it");return dt==="m"?xt:dt==="a"?xt.call(ae):xt?xt.value:hr.get(ae)},yr,Fa,on;class va extends a.i{constructor(hr){const dt=hr.First();super(dt===void 0?"Invalid Value":dt.message),yr.add(this),Fa.set(this,void 0),io(this,Fa,hr,"f"),this.error=dt}Errors(){return new rs(Is(this,yr,"m",on).call(this))}}Fa=new WeakMap,yr=new WeakSet,on=function*(){this.error&&(yield this.error),yield*Is(this,Fa,"f")};function pa(ae,hr,dt){if(!za(ae,hr,dt))throw new va(ca(ae,hr,dt))}function aa(...ae){return ae.length===3?pa(ae[0],ae[1],ae[2]):pa(ae[0],[],ae[1])}class ta extends va{constructor(hr){super(hr),this.error!=null&&(this.message=this.error.path===""?this.error.message:`${this.error.path.substring(1)} - ${this.error.message}`)}}function Za(ae,hr){if(!xe(ae,hr))throw new ta(new rs($a(ae,hr)))}function*$a(ae,hr){for(const dt of la(ae,hr)){const xt=dt.schema;(0,n.AGQ)(xt)?yield*Wo({...dt,schema:xt}):(0,n.iYA)(xt)?yield*cs(dt.path,$a(xt.anyOf[0],dt.value)):yield dt}}function*Wo(ae){const{path:hr,schema:dt,value:xt}=ae;if(!Co(xt)){yield ae;return}const bn=dt[n.lVo];let Jn=Ro(dt),vs=!1;const Ps=new Map(Jn.map(Ia=>[Ia,Hs(Ia)]));for(const Ia of bn){const $o=new Array;let yo=!1;for(const qa of Jn){const Lo=Ps.get(qa)?.[Ia];yo||=Lo!=null&&Ge.X$(Lo),Ge.gP(Lo)&&(Lo.const===xt[Ia]||yo&&xt[Ia]===void 0)&&$o.push(qa)}Jn=$o,xt[Ia]==null&&!yo&&(yield{type:Gt.Union,schema:dt,value:xt,path:hr,message:`Could not satisfy discriminated union, missing property "${Ia}"`,errors:[]},vs=!0)}if(!vs){if(Jn.length!==1){yield{type:Gt.Union,schema:dt,value:xt,path:hr,message:`Could not satisfy discriminated union, no match for properties ${bn.map(Ia=>`"${Ia}: ${String(xt[Ia])}"`).join(", ")}`,errors:[]};return}yield*cs(hr,$a(Jn[0],xt))}}function Co(ae){return ae!=null&&typeof ae=="object"}function Ro(ae){return ae.anyOf.flatMap(hr=>Ge.my(hr)?Ro(hr):[hr])}function Hs(ae){return Ge.av(ae)?ae.properties:Ge.Yq(ae)?ae.allOf.reduce((hr,dt)=>{if(hr===null)return null;const xt=Hs(dt);return xt===null?null:Object.assign(hr,xt)},{}):null}function*cs(ae,hr){for(const dt of hr)yield{...dt,path:ae+dt.path}}function Me(ae){return(hr=>xe(ae,hr))}function We(ae){return hr=>{Za(ae,hr)}}const Nt=Me(n.aeh),Jt=We(n.aeh),jr=ae=>!!ae.defaultLocaleId,Jr=ae=>!jr(ae),an=Me(n.Nke),ai=We(n.Nke),Si=Me(n.JxH),Di=We(n.JxH),Vi=Me(n.aCm),da=We(n.aCm),ya=Me(n.eBw),Qi=We(n.eBw),Do=Me(n.aOL),Oo=We(n.aOL),Ta=Me(n.k_s),Ne=We(n.k_s),Ve=Me(n.u33),gt=We(n.u33),ct=Me(n.cAr),Kt=We(n.cAr),tr=Me(n._D9),Cr=We(n._D9),kr=Me(n.mrj),Bn=We(n.mrj),Hn=Me(n.BlA),Bt=We(n.BlA),Wt=Me(n.eKG),Wr=We(n.eKG),sn=Me(n.vSk),Mn=We(n.vSk),_n=Me(n.d9Z),Wn=We(n.d9Z),Un=Me(n.$Wv),Fi=We(n.$Wv),Le=Me(n.n8i),Ue=We(n.n8i),lt=Me(n.WHl),ot=We(n.WHl),Yt=Me(n.CXD),rr=We(n.CXD),Or=Me(n.Hck),tn=We(n.Hck),kn=Me(n.m91),En=We(n.m91),Rn=Me(n._FT),ki=We(n._FT),bs=Me(n.PbZ),Rs=We(n.PbZ),As=Me(n.B3m),di=We(n.B3m),Gn=Me(n.thO),oi=We(n.thO),Ks=Me(n.GAO),qs=We(n.GAO),ns=Me(n.Y0),Ba=We(n.Y0),ka=Me(n.Qzd),H=We(n.Qzd),z=Me(n.ylx),ee=We(n.ylx),pe=Me(n.ZfR),Ce=We(n.ZfR),ze=Me(n.HL2),st=We(n.HL2),ft=Me(n.sMs),Dt=We(n.sMs),lr=Me(n.evW),$t=We(n.evW),Nr=Me(n.j7p),cn=We(n.j7p),Nn=Me(n.fQW),jn=We(n.fQW),fi=Me(n.$zI),xi=We(n.$zI),Ii=Me(n.j0T),zi=We(n.j0T),gs=Me(n.J6u),er=We(n.J6u),br=Me(n.qMG),xr=We(n.qMG),yi=Me(n.GYN),Ni=We(n.GYN),pi=Me(n.Mb1),ra=We(n.Mb1),Ys=Me(n.npW),Lu=We(n.npW),Uo=Me(n.b2U),vo=We(n.b2U),jo=Me(n.gCZ),Ll=We(n.gCZ),wa=Me(n.D2B),wu=We(n.D2B),el=Me(n.lYD),Ca=We(n.lYD),Yl=Me(n.Tot),$c=We(n.Tot),zo=Me(n.Wo_),Hc=We(n.Wo_),Xl=Me(n.YEc),Fs=We(n.YEc),_u=Me(n.Mik),oo=We(n.Mik),tl=Me(n.hJT),Ml=We(n.hJT)},63398(f,d,e){"use strict";e.d(d,{A:()=>n});function n(){return n=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},n.apply(this,arguments)}},52316(f,d,e){"use strict";e.d(d,{A:()=>r});
vendor: 12,648 bytes, lines 1005-1007
1005function n(a,s){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},n(a,s)}function r(a,s){a.prototype=Object.create(s.prototype),a.prototype.constructor=a,n(a,s)}},76841(f,d,e){"use strict";e.d(d,{A:()=>n});function n(r,a){if(r==null)return{};var s={};for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){if(a.indexOf(i)>=0)continue;s[i]=r[i]}return s}},81406(f,d,e){"use strict";e.d(d,{FZ:()=>i});var n=e(72423);const{Axios:r,AxiosError:a,CanceledError:s,isCancel:i,CancelToken:u,VERSION:l,all:m,Cancel:g,isAxiosError:h,spread:v,toFormData:x,AxiosHeaders:T,HttpStatusCode:E,formToJSON:_,getAdapter:C,mergeConfig:P,create:k}=n.A},72423(f,d,e){"use strict";e.d(d,{A:()=>Fi});var n={};e.r(n),e.d(n,{hasBrowserEnv:()=>ti,hasStandardBrowserEnv:()=>Pi,hasStandardBrowserWebWorkerEnv:()=>Zi,navigator:()=>Ti,origin:()=>Ui});function r(Le,Ue){return function(){return Le.apply(Ue,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:i,toStringTag:u}=Symbol,l=(Le=>Ue=>{const lt=a.call(Ue);return Le[lt]||(Le[lt]=lt.slice(8,-1).toLowerCase())})(Object.create(null)),m=Le=>(Le=Le.toLowerCase(),Ue=>l(Ue)===Le),g=Le=>Ue=>typeof Ue===Le,{isArray:h}=Array,v=g("undefined");function x(Le){return Le!==null&&!v(Le)&&Le.constructor!==null&&!v(Le.constructor)&&C(Le.constructor.isBuffer)&&Le.constructor.isBuffer(Le)}const T=m("ArrayBuffer");function E(Le){let Ue;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Ue=ArrayBuffer.isView(Le):Ue=Le&&Le.buffer&&T(Le.buffer),Ue}const _=g("string"),C=g("function"),P=g("number"),k=Le=>Le!==null&&typeof Le=="object",D=Le=>Le===!0||Le===!1,B=Le=>{if(l(Le)!=="object")return!1;const Ue=s(Le);return(Ue===null||Ue===Object.prototype||Object.getPrototypeOf(Ue)===null)&&!(u in Le)&&!(i in Le)},$=Le=>{if(!k(Le)||x(Le))return!1;try{return Object.keys(Le).length===0&&Object.getPrototypeOf(Le)===Object.prototype}catch{return!1}},F=m("Date"),V=m("File"),W=Le=>!!(Le&&typeof Le.uri<"u"),Z=Le=>Le&&typeof Le.getParts<"u",J=m("Blob"),ie=m("FileList"),le=Le=>k(Le)&&C(Le.pipe);function he(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const me=he(),je=typeof me.FormData<"u"?me.FormData:void 0,Fe=Le=>{if(!Le)return!1;if(je&&Le instanceof je)return!0;const Ue=s(Le);if(!Ue||Ue===Object.prototype||!C(Le.append))return!1;const lt=l(Le);return lt==="formdata"||lt==="object"&&C(Le.toString)&&Le.toString()==="[object FormData]"},Je=m("URLSearchParams"),[Xe,ge,be,Ie]=["ReadableStream","Request","Response","Headers"].map(m),Re=Le=>Le.trim?Le.trim():Le.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ye(Le,Ue,{allOwnKeys:lt=!1}={}){if(Le===null||typeof Le>"u")return;let ot,Yt;if(typeof Le!="object"&&(Le=[Le]),h(Le))for(ot=0,Yt=Le.length;ot<Yt;ot++)Ue.call(null,Le[ot],ot,Le);else{if(x(Le))return;const rr=lt?Object.getOwnPropertyNames(Le):Object.keys(Le),Or=rr.length;let tn;for(ot=0;ot<Or;ot++)tn=rr[ot],Ue.call(null,Le[tn],tn,Le)}}function De(Le,Ue){if(x(Le))return null;Ue=Ue.toLowerCase();const lt=Object.keys(Le);let ot=lt.length,Yt;for(;ot-- >0;)if(Yt=lt[ot],Ue===Yt.toLowerCase())return Yt;return null}const $e=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,qe=Le=>!v(Le)&&Le!==$e;function It(...Le){const{caseless:Ue,skipUndefined:lt}=qe(this)&&this||{},ot={},Yt=(rr,Or)=>{if(Or==="__proto__"||Or==="constructor"||Or==="prototype")return;const tn=Ue&&De(ot,Or)||Or,kn=Ar(ot,tn)?ot[tn]:void 0;B(kn)&&B(rr)?ot[tn]=It(kn,rr):B(rr)?ot[tn]=It({},rr):h(rr)?ot[tn]=rr.slice():(!lt||!v(rr))&&(ot[tn]=rr)};for(let rr=0,Or=Le.length;rr<Or;rr++)Le[rr]&&ye(Le[rr],Yt);return ot}const mt=(Le,Ue,lt,{allOwnKeys:ot}={})=>(ye(Ue,(Yt,rr)=>{lt&&C(Yt)?Object.defineProperty(Le,rr,{__proto__:null,value:r(Yt,lt),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(Le,rr,{__proto__:null,value:Yt,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:ot}),Le),kt=Le=>(Le.charCodeAt(0)===65279&&(Le=Le.slice(1)),Le),Ut=(Le,Ue,lt,ot)=>{Le.prototype=Object.create(Ue.prototype,ot),Object.defineProperty(Le.prototype,"constructor",{__proto__:null,value:Le,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(Le,"super",{__proto__:null,value:Ue.prototype}),lt&&Object.assign(Le.prototype,lt)},Ir=(Le,Ue,lt,ot)=>{let Yt,rr,Or;const tn={};if(Ue=Ue||{},Le==null)return Ue;do{for(Yt=Object.getOwnPropertyNames(Le),rr=Yt.length;rr-- >0;)Or=Yt[rr],(!ot||ot(Or,Le,Ue))&&!tn[Or]&&(Ue[Or]=Le[Or],tn[Or]=!0);Le=lt!==!1&&s(Le)}while(Le&&(!lt||lt(Le,Ue))&&Le!==Object.prototype);return Ue},Sr=(Le,Ue,lt)=>{Le=String(Le),(lt===void 0||lt>Le.length)&&(lt=Le.length),lt-=Ue.length;const ot=Le.indexOf(Ue,lt);return ot!==-1&&ot===lt},Yr=Le=>{if(!Le)return null;if(h(Le))return Le;let Ue=Le.length;if(!P(Ue))return null;const lt=new Array(Ue);for(;Ue-- >0;)lt[Ue]=Le[Ue];return lt},Gr=(Le=>Ue=>Le&&Ue instanceof Le)(typeof Uint8Array<"u"&&s(Uint8Array)),dn=(Le,Ue)=>{const ot=(Le&&Le[i]).call(Le);let Yt;for(;(Yt=ot.next())&&!Yt.done;){const rr=Yt.value;Ue.call(Le,rr[0],rr[1])}},Kr=(Le,Ue)=>{let lt;const ot=[];for(;(lt=Le.exec(Ue))!==null;)ot.push(lt);return ot},yt=m("HTMLFormElement"),tt=Le=>Le.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(lt,ot,Yt){return ot.toUpperCase()+Yt}),Ar=(({hasOwnProperty:Le})=>(Ue,lt)=>Le.call(Ue,lt))(Object.prototype),Mr=m("RegExp"),Er=(Le,Ue)=>{const lt=Object.getOwnPropertyDescriptors(Le),ot={};ye(lt,(Yt,rr)=>{let Or;(Or=Ue(Yt,rr,Le))!==!1&&(ot[rr]=Or||Yt)}),Object.defineProperties(Le,ot)},Ur=Le=>{Er(Le,(Ue,lt)=>{if(C(Le)&&["arguments","caller","callee"].includes(lt))return!1;const ot=Le[lt];if(C(ot)){if(Ue.enumerable=!1,"writable"in Ue){Ue.writable=!1;return}Ue.set||(Ue.set=()=>{throw Error("Can not rewrite read-only method '"+lt+"'")})}})},or=(Le,Ue)=>{const lt={},ot=Yt=>{Yt.forEach(rr=>{lt[rr]=!0})};return h(Le)?ot(Le):ot(String(Le).split(Ue)),lt},An=()=>{},dr=(Le,Ue)=>Le!=null&&Number.isFinite(Le=+Le)?Le:Ue;function Xr(Le){return!!(Le&&C(Le.append)&&Le[u]==="FormData"&&Le[i])}const hn=Le=>{const Ue=new WeakSet,lt=ot=>{if(k(ot)){if(Ue.has(ot))return;if(x(ot))return ot;if(!("toJSON"in ot)){Ue.add(ot);const Yt=h(ot)?[]:{};return ye(ot,(rr,Or)=>{const tn=lt(rr);!v(tn)&&(Yt[Or]=tn)}),Ue.delete(ot),Yt}}return ot};return lt(Le)},Qt=m("AsyncFunction"),Br=Le=>Le&&(k(Le)||C(Le))&&C(Le.then)&&C(Le.catch),zt=((Le,Ue)=>Le?setImmediate:Ue?((lt,ot)=>($e.addEventListener("message",({source:Yt,data:rr})=>{Yt===$e&&rr===lt&&ot.length&&ot.shift()()},!1),Yt=>{ot.push(Yt),$e.postMessage(lt,"*")}))(`axios@${Math.random()}`,[]):lt=>setTimeout(lt))(typeof setImmediate=="function",C($e.postMessage)),Tt=typeof queueMicrotask<"u"?queueMicrotask.bind($e):typeof process<"u"&&process.nextTick||zt,Y={isArray:h,isArrayBuffer:T,isBuffer:x,isFormData:Fe,isArrayBufferView:E,isString:_,isNumber:P,isBoolean:D,isObject:k,isPlainObject:B,isEmptyObject:$,isReadableStream:Xe,isRequest:ge,isResponse:be,isHeaders:Ie,isUndefined:v,isDate:F,isFile:V,isReactNativeBlob:W,isReactNative:Z,isBlob:J,isRegExp:Mr,isFunction:C,isStream:le,isURLSearchParams:Je,isTypedArray:Gr,isFileList:ie,forEach:ye,merge:It,extend:mt,trim:Re,stripBOM:kt,inherits:Ut,toFlatObject:Ir,kindOf:l,kindOfTest:m,endsWith:Sr,toArray:Yr,forEachEntry:dn,matchAll:Kr,isHTMLForm:yt,hasOwnProperty:Ar,hasOwnProp:Ar,reduceDescriptors:Er,freezeMethods:Ur,toObjectSet:or,toCamelCase:tt,noop:An,toFiniteNumber:dr,findKey:De,global:$e,isContextDefined:qe,isSpecCompliantForm:Xr,toJSONObject:hn,isAsyncFn:Qt,isThenable:Br,setImmediate:zt,asap:Tt,isIterable:Le=>Le!=null&&C(Le[i])},ht=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ur=(Le=>{const Ue={};let lt,ot,Yt;return Le&&Le.split(` 1006`).forEach(function(Or){Yt=Or.indexOf(":"),lt=Or.substring(0,Yt).trim().toLowerCase(),ot=Or.substring(Yt+1).trim(),!(!lt||Ue[lt]&&ht[lt])&&(lt==="set-cookie"?Ue[lt]?Ue[lt].push(ot):Ue[lt]=[ot]:Ue[lt]=Ue[lt]?Ue[lt]+", "+ot:ot)}),Ue});(Object.getOwnPropertyDescriptor(ur,"name")||{}).writable||Object.defineProperty(ur,"name",{value:"default",configurable:!0});function it(Le){let Ue=0,lt=Le.length;for(;Ue<lt;){const ot=Le.charCodeAt(Ue);if(ot!==9&&ot!==32)break;Ue+=1}for(;lt>Ue;){const ot=Le.charCodeAt(lt-1);if(ot!==9&&ot!==32)break;lt-=1}return Ue===0&<===Le.length?Le:Le.slice(Ue,lt)}const Rt=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Zr=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function nn(Le,Ue){return Y.isArray(Le)?Le.map(lt=>nn(lt,Ue)):it(String(Le).replace(Ue,""))}const fn=Le=>nn(Le,Rt),Sn=Le=>nn(Le,Zr);function Ci(Le){const Ue=Object.create(null);return Y.forEach(Le.toJSON(),(lt,ot)=>{Ue[ot]=Sn(lt)}),Ue}const $i=Symbol("internals");function qr(Le){return Le&&String(Le).trim().toLowerCase()}function Bi(Le){return Le===!1||Le==null?Le:Y.isArray(Le)?Le.map(Bi):fn(String(Le))}function ms(Le){const Ue=Object.create(null),lt=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let ot;for(;ot=lt.exec(Le);)Ue[ot[1]]=ot[2];return Ue}const hs=Le=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Le.trim());function Mi(Le,Ue,lt,ot,Yt){if(Y.isFunction(ot))return ot.call(this,Ue,lt);if(Yt&&(Ue=lt),!!Y.isString(Ue)){if(Y.isString(ot))return Ue.indexOf(ot)!==-1;if(Y.isRegExp(ot))return ot.test(Ue)}}function gi(Le){return Le.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Ue,lt,ot)=>lt.toUpperCase()+ot)}function Hi(Le,Ue){const lt=Y.toCamelCase(" "+Ue);["get","set","has"].forEach(ot=>{Object.defineProperty(Le,ot+lt,{__proto__:null,value:function(Yt,rr,Or){return this[ot].call(this,Ue,Yt,rr,Or)},configurable:!0})})}class qn{constructor(Ue){Ue&&this.set(Ue)}set(Ue,lt,ot){const Yt=this;function rr(tn,kn,En){const Rn=qr(kn);if(!Rn)throw new Error("header name must be a non-empty string");const ki=Y.findKey(Yt,Rn);(!ki||Yt[ki]===void 0||En===!0||En===void 0&&Yt[ki]!==!1)&&(Yt[ki||kn]=Bi(tn))}const Or=(tn,kn)=>Y.forEach(tn,(En,Rn)=>rr(En,Rn,kn));if(Y.isPlainObject(Ue)||Ue instanceof this.constructor)Or(Ue,lt);else if(Y.isString(Ue)&&(Ue=Ue.trim())&&!hs(Ue))Or(ur(Ue),lt);else if(Y.isObject(Ue)&&Y.isIterable(Ue)){let tn={},kn,En;for(const Rn of Ue){if(!Y.isArray(Rn))throw TypeError("Object iterator must return a key-value pair");tn[En=Rn[0]]=(kn=tn[En])?Y.isArray(kn)?[...kn,Rn[1]]:[kn,Rn[1]]:Rn[1]}Or(tn,lt)}else Ue!=null&&rr(lt,Ue,ot);return this}get(Ue,lt){if(Ue=qr(Ue),Ue){const ot=Y.findKey(this,Ue);if(ot){const Yt=this[ot];if(!lt)return Yt;if(lt===!0)return ms(Yt);if(Y.isFunction(lt))return lt.call(this,Yt,ot);if(Y.isRegExp(lt))return lt.exec(Yt);throw new TypeError("parser must be boolean|regexp|function")}}}has(Ue,lt){if(Ue=qr(Ue),Ue){const ot=Y.findKey(this,Ue);return!!(ot&&this[ot]!==void 0&&(!lt||Mi(this,this[ot],ot,lt)))}return!1}delete(Ue,lt){const ot=this;let Yt=!1;function rr(Or){if(Or=qr(Or),Or){const tn=Y.findKey(ot,Or);tn&&(!lt||Mi(ot,ot[tn],tn,lt))&&(delete ot[tn],Yt=!0)}}return Y.isArray(Ue)?Ue.forEach(rr):rr(Ue),Yt}clear(Ue){const lt=Object.keys(this);let ot=lt.length,Yt=!1;for(;ot--;){const rr=lt[ot];(!Ue||Mi(this,this[rr],rr,Ue,!0))&&(delete this[rr],Yt=!0)}return Yt}normalize(Ue){const lt=this,ot={};return Y.forEach(this,(Yt,rr)=>{const Or=Y.findKey(ot,rr);if(Or){lt[Or]=Bi(Yt),delete lt[rr];return}const tn=Ue?gi(rr):String(rr).trim();tn!==rr&&delete lt[rr],lt[tn]=Bi(Yt),ot[tn]=!0}),this}concat(...Ue){return this.constructor.concat(this,...Ue)}toJSON(Ue){const lt=Object.create(null);return Y.forEach(this,(ot,Yt)=>{ot!=null&&ot!==!1&&(lt[Yt]=Ue&&Y.isArray(ot)?ot.join(", "):ot)}),lt}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Ue,lt])=>Ue+": "+lt).join(` 1007`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Ue){return Ue instanceof this?Ue:new this(Ue)}static concat(Ue,...lt){const ot=new this(Ue);return lt.forEach(Yt=>ot.set(Yt)),ot}static accessor(Ue){const ot=(this[$i]=this[$i]={accessors:{}}).accessors,Yt=this.prototype;function rr(Or){const tn=qr(Or);ot[tn]||(Hi(Yt,Or),ot[tn]=!0)}return Y.isArray(Ue)?Ue.forEach(rr):rr(Ue),this}}qn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(qn.prototype,({value:Le},Ue)=>{let lt=Ue[0].toUpperCase()+Ue.slice(1);return{get:()=>Le,set(ot){this[lt]=ot}}}),Y.freezeMethods(qn);const $n=qn,$s="[REDACTED ****]";function ys(Le){if(Y.hasOwnProp(Le,"toJSON"))return!0;let Ue=Object.getPrototypeOf(Le);for(;
vendor: 4,359 bytes, line 1007
1007Ue&&Ue!==Object.prototype;){if(Y.hasOwnProp(Ue,"toJSON"))return!0;Ue=Object.getPrototypeOf(Ue)}return!1}function Es(Le,Ue){const lt=new Set(Ue.map(rr=>String(rr).toLowerCase())),ot=[],Yt=rr=>{if(rr===null||typeof rr!="object"||Y.isBuffer(rr))return rr;if(ot.indexOf(rr)!==-1)return;rr instanceof $n&&(rr=rr.toJSON()),ot.push(rr);let Or;if(Y.isArray(rr))Or=[],rr.forEach((tn,kn)=>{const En=Yt(tn);Y.isUndefined(En)||(Or[kn]=En)});else{if(!Y.isPlainObject(rr)&&ys(rr))return ot.pop(),rr;Or=Object.create(null);for(const[tn,kn]of Object.entries(rr)){const En=lt.has(tn.toLowerCase())?$s:Yt(kn);Y.isUndefined(En)||(Or[tn]=En)}}return ot.pop(),Or};return Yt(Le)}class oe extends Error{static from(Ue,lt,ot,Yt,rr,Or){const tn=new oe(Ue.message,lt||Ue.code,ot,Yt,rr);return tn.cause=Ue,tn.name=Ue.name,Ue.status!=null&&tn.status==null&&(tn.status=Ue.status),Or&&Object.assign(tn,Or),tn}constructor(Ue,lt,ot,Yt,rr){super(Ue),Object.defineProperty(this,"message",{__proto__:null,value:Ue,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,lt&&(this.code=lt),ot&&(this.config=ot),Yt&&(this.request=Yt),rr&&(this.response=rr,this.status=rr.status)}toJSON(){const Ue=this.config,lt=Ue&&Y.hasOwnProp(Ue,"redact")?Ue.redact:void 0,ot=Y.isArray(lt)&<.length>0?Es(Ue,lt):Y.toJSONObject(Ue);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ot,code:this.code,status:this.status}}}oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",oe.ERR_BAD_OPTION="ERR_BAD_OPTION",oe.ECONNABORTED="ECONNABORTED",oe.ETIMEDOUT="ETIMEDOUT",oe.ECONNREFUSED="ECONNREFUSED",oe.ERR_NETWORK="ERR_NETWORK",oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",oe.ERR_DEPRECATED="ERR_DEPRECATED",oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST",oe.ERR_CANCELED="ERR_CANCELED",oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",oe.ERR_INVALID_URL="ERR_INVALID_URL",oe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const xe=oe,Ge=null;function bt(Le){return Y.isPlainObject(Le)||Y.isArray(Le)}function Et(Le){return Y.endsWith(Le,"[]")?Le.slice(0,-2):Le}function Tr(Le,Ue,lt){return Le?Le.concat(Ue).map(function(Yt,rr){return Yt=Et(Yt),!lt&&rr?"["+Yt+"]":Yt}).join(lt?".":""):Ue}function vn(Le){return Y.isArray(Le)&&!Le.some(bt)}const Gt=Y.toFlatObject(Y,{},null,function(Ue){return/^is[A-Z]/.test(Ue)});function ei(Le,Ue,lt){if(!Y.isObject(Le))throw new TypeError("target must be an object");Ue=Ue||new(Ge||FormData),lt=Y.toFlatObject(lt,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Gn,oi){return!Y.isUndefined(oi[Gn])});const ot=lt.metaTokens,Yt=lt.visitor||ki,rr=lt.dots,Or=lt.indexes,tn=lt.Blob||typeof Blob<"u"&&Blob,kn=lt.maxDepth===void 0?100:lt.maxDepth,En=tn&&Y.isSpecCompliantForm(Ue);if(!Y.isFunction(Yt))throw new TypeError("visitor must be a function");function Rn(di){if(di===null)return"";if(Y.isDate(di))return di.toISOString();if(Y.isBoolean(di))return di.toString();if(!En&&Y.isBlob(di))throw new xe("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(di)||Y.isTypedArray(di)?En&&typeof Blob=="function"?new Blob([di]):Buffer.from(di):di}function ki(di,Gn,oi){let Ks=di;if(Y.isReactNative(Ue)&&Y.isReactNativeBlob(di))return Ue.append(Tr(oi,Gn,rr),Rn(di)),!1;if(di&&!oi&&typeof di=="object"){if(Y.endsWith(Gn,"{}"))Gn=ot?Gn:Gn.slice(0,-2),di=JSON.stringify(di);else if(Y.isArray(di)&&vn(di)||(Y.isFileList(di)||Y.endsWith(Gn,"[]"))&&(Ks=Y.toArray(di)))return Gn=Et(Gn),Ks.forEach(function(ns,Ba){!(Y.isUndefined(ns)||ns===null)&&Ue.append(Or===!0?Tr([Gn],Ba,rr):Or===null?Gn:Gn+"[]",Rn(ns))}),!1}return bt(di)?!0:(Ue.append(Tr(oi,Gn,rr),Rn(di)),!1)}const bs=[],Rs=Object.assign(Gt,{defaultVisitor:ki,convertValue:Rn,isVisitable:bt});function As(di,Gn,oi=0){if(!Y.isUndefined(di)){if(oi>kn)throw new xe("Object is too deeply nested ("+oi+" levels). Max depth: "+kn,xe.ERR_FORM_DATA_DEPTH_EXCEEDED);if(bs.indexOf(di)!==-1)throw Error("Circular reference detected in "+Gn.join("."));bs.push(di),Y.forEach(di,function(qs,ns){(!(Y.isUndefined(qs)||qs===null)&&Yt.call(Ue,qs,Y.isString(ns)?ns.trim():ns,Gn,Rs))===!0&&As(qs,Gn?Gn.concat(ns):[ns],oi+1)}),bs.pop()}}if(!Y.isObject(Le))throw new TypeError("data must be an object");return As(Le),Ue}const si=ei;
vendor: 3,711 bytes, line 1007
1007function yn(Le){const Ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(Le).replace(/[!'()~]|%20/g,function(ot){return Ue[ot]})}function rs(Le,Ue){this._pairs=[],Le&&si(Le,this,Ue)}const xn=rs.prototype;xn.append=function(Ue,lt){this._pairs.push([Ue,lt])},xn.toString=function(Ue){const lt=Ue?function(ot){return Ue.call(this,ot,yn)}:yn;return this._pairs.map(function(Yt){return lt(Yt[0])+"="+lt(Yt[1])},"").join("&")};const Ms=rs;function Yi(Le){return encodeURIComponent(Le).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Gs(Le,Ue,lt){if(!Ue)return Le;const ot=lt&<.encode||Yi,Yt=Y.isFunction(lt)?{serialize:lt}:lt,rr=Yt&&Yt.serialize;let Or;if(rr?Or=rr(Ue,Yt):Or=Y.isURLSearchParams(Ue)?Ue.toString():new Ms(Ue,Yt).toString(ot),Or){const tn=Le.indexOf("#");tn!==-1&&(Le=Le.slice(0,tn)),Le+=(Le.indexOf("?")===-1?"?":"&")+Or}return Le}class us{constructor(){this.handlers=[]}use(Ue,lt,ot){return this.handlers.push({fulfilled:Ue,rejected:lt,synchronous:ot?ot.synchronous:!1,runWhen:ot?ot.runWhen:null}),this.handlers.length-1}eject(Ue){this.handlers[Ue]&&(this.handlers[Ue]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Ue){Y.forEach(this.handlers,function(ot){ot!==null&&Ue(ot)})}}const nr=us,cr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},wn={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ms,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ti=typeof window<"u"&&typeof document<"u",Ti=typeof navigator=="object"&&navigator||void 0,Pi=ti&&(!Ti||["ReactNative","NativeScript","NS"].indexOf(Ti.product)<0),Zi=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ui=ti&&window.location.href||"http://localhost",vi={...n,...wn};function Wi(Le,Ue){return si(Le,new vi.classes.URLSearchParams,{visitor:function(lt,ot,Yt,rr){return vi.isNode&&Y.isBuffer(lt)?(this.append(ot,lt.toString("base64")),!1):rr.defaultVisitor.apply(this,arguments)},...Ue})}function ks(Le){return Y.matchAll(/\w+|\[(\w*)]/g,Le).map(Ue=>Ue[0]==="[]"?"":Ue[1]||Ue[0])}function ss(Le){const Ue={},lt=Object.keys(Le);let ot;const Yt=lt.length;let rr;for(ot=0;ot<Yt;ot++)rr=lt[ot],Ue[rr]=Le[rr];return Ue}function xs(Le){function Ue(lt,ot,Yt,rr){let Or=lt[rr++];if(Or==="__proto__")return!0;const tn=Number.isFinite(+Or),kn=rr>=lt.length;return Or=!Or&&Y.isArray(Yt)?Yt.length:Or,kn?(Y.hasOwnProp(Yt,Or)?Yt[Or]=Y.isArray(Yt[Or])?Yt[Or].concat(ot):[Yt[Or],ot]:Yt[Or]=ot,!tn):((!Y.hasOwnProp(Yt,Or)||!Y.isObject(Yt[Or]))&&(Yt[Or]=[]),Ue(lt,ot,Yt[Or],rr)&&Y.isArray(Yt[Or])&&(Yt[Or]=ss(Yt[Or])),!tn)}if(Y.isFormData(Le)&&Y.isFunction(Le.entries)){const lt={};return Y.forEachEntry(Le,(ot,Yt)=>{Ue(ks(ot),Yt,lt,0)}),lt}return null}const wi=xs,Ns=(Le,Ue)=>Le!=null&&Y.hasOwnProp(Le,Ue)?Le[Ue]:void 0;function Cs(Le,Ue,lt){if(Y.isString(Le))try{return(Ue||JSON.parse)(Le),Y.trim(Le)}catch(ot){if(ot.name!=="SyntaxError")throw ot}return(lt||JSON.stringify)(Le)}const as={transitional:cr,adapter:["xhr","http","fetch"],transformRequest:[function(Ue,lt){const ot=lt.getContentType()||"",Yt=ot.indexOf("application/json")>-1,rr=Y.isObject(Ue);if(rr&&Y.isHTMLForm(Ue)&&(Ue=new FormData(Ue)),Y.isFormData(Ue))return Yt?JSON.stringify(wi(Ue)):Ue;if(Y.isArrayBuffer(Ue)||Y.isBuffer(Ue)||Y.isStream(Ue)||Y.isFile(Ue)||Y.isBlob(Ue)||Y.isReadableStream(Ue))return Ue;if(Y.isArrayBufferView(Ue))return Ue.buffer;if(Y.isURLSearchParams(Ue))return lt.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Ue.toString();let tn;
vendor: 20,492 bytes, lines 1007-1013
1007if(rr){const kn=Ns(this,"formSerializer");if(ot.indexOf("application/x-www-form-urlencoded")>-1)return Wi(Ue,kn).toString();if((tn=Y.isFileList(Ue))||ot.indexOf("multipart/form-data")>-1){const En=Ns(this,"env"),Rn=En&&En.FormData;return si(tn?{"files[]":Ue}:Ue,Rn&&new Rn,kn)}}return rr||Yt?(lt.setContentType("application/json",!1),Cs(Ue)):Ue}],transformResponse:[function(Ue){const lt=Ns(this,"transitional")||as.transitional,ot=lt&<.forcedJSONParsing,Yt=Ns(this,"responseType"),rr=Yt==="json";if(Y.isResponse(Ue)||Y.isReadableStream(Ue))return Ue;if(Ue&&Y.isString(Ue)&&(ot&&!Yt||rr)){const tn=!(lt&<.silentJSONParsing)&&rr;try{return JSON.parse(Ue,Ns(this,"parseReviver"))}catch(kn){if(tn)throw kn.name==="SyntaxError"?xe.from(kn,xe.ERR_BAD_RESPONSE,this,null,Ns(this,"response")):kn}}return Ue}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vi.classes.FormData,Blob:vi.classes.Blob},validateStatus:function(Ue){return Ue>=200&&Ue<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch","query"],Le=>{as.headers[Le]={}});const Os=as;function ce(Le,Ue){const lt=this||Os,ot=Ue||lt,Yt=$n.from(ot.headers);let rr=ot.data;return Y.forEach(Le,function(tn){rr=tn.call(lt,rr,Yt.normalize(),Ue?Ue.status:void 0)}),Yt.normalize(),rr}function He(Le){return!!(Le&&Le.__CANCEL__)}class Lt extends xe{constructor(Ue,lt,ot){super(Ue??"canceled",xe.ERR_CANCELED,lt,ot),this.name="CanceledError",this.__CANCEL__=!0}}const fr=Lt;function un(Le,Ue,lt){const ot=lt.config.validateStatus;!lt.status||!ot||ot(lt.status)?Le(lt):Ue(new xe("Request failed with status code "+lt.status,lt.status>=400&<.status<500?xe.ERR_BAD_REQUEST:xe.ERR_BAD_RESPONSE,lt.config,lt.request,lt))}function Qn(Le){const Ue=/^([-+\w]{1,25}):(?:\/\/)?/.exec(Le);return Ue&&Ue[1]||""}function Xi(Le,Ue){Le=Le||10;const lt=new Array(Le),ot=new Array(Le);let Yt=0,rr=0,Or;return Ue=Ue!==void 0?Ue:1e3,function(kn){const En=Date.now(),Rn=ot[rr];Or||(Or=En),lt[Yt]=kn,ot[Yt]=En;let ki=rr,bs=0;for(;ki!==Yt;)bs+=lt[ki++],ki=ki%Le;if(Yt=(Yt+1)%Le,Yt===rr&&(rr=(rr+1)%Le),En-Or<Ue)return;const Rs=Rn&&En-Rn;return Rs?Math.round(bs*1e3/Rs):void 0}}const qi=Xi;function ls(Le,Ue){let lt=0,ot=1e3/Ue,Yt,rr;const Or=(En,Rn=Date.now())=>{lt=Rn,Yt=null,rr&&(clearTimeout(rr),rr=null),Le(...En)};return[(...En)=>{const Rn=Date.now(),ki=Rn-lt;ki>=ot?Or(En,Rn):(Yt=En,rr||(rr=setTimeout(()=>{rr=null,Or(Yt)},ot-ki)))},()=>Yt&&Or(Yt)]}const ps=ls,la=(Le,Ue,lt=3)=>{let ot=0;const Yt=qi(50,250);return ps(rr=>{if(!rr||typeof rr.loaded!="number")return;const Or=rr.loaded,tn=rr.lengthComputable?rr.total:void 0,kn=tn!=null?Math.min(Or,tn):Or,En=Math.max(0,kn-ot),Rn=Yt(En);ot=Math.max(ot,kn);const ki={loaded:kn,total:tn,progress:tn?kn/tn:void 0,bytes:En,rate:Rn||void 0,estimated:Rn&&tn?(tn-kn)/Rn:void 0,event:rr,lengthComputable:tn!=null,[Ue?"download":"upload"]:!0};Le(ki)},lt)},ca=(Le,Ue)=>{const lt=Le!=null;return[ot=>Ue[0]({lengthComputable:lt,total:Le,loaded:ot}),Ue[1]]},za=Le=>(...Ue)=>Y.asap(()=>Le(...Ue)),io=vi.hasStandardBrowserEnv?((Le,Ue)=>lt=>(lt=new URL(lt,vi.origin),Le.protocol===lt.protocol&&Le.host===lt.host&&(Ue||Le.port===lt.port)))(new URL(vi.origin),vi.navigator&&/(msie|trident)/i.test(vi.navigator.userAgent)):()=>!0,Is=vi.hasStandardBrowserEnv?{write(Le,Ue,lt,ot,Yt,rr,Or){if(typeof document>"u")return;const tn=[`${Le}=${encodeURIComponent(Ue)}`];Y.isNumber(lt)&&tn.push(`expires=${new Date(lt).toUTCString()}`),Y.isString(ot)&&tn.push(`path=${ot}`),Y.isString(Yt)&&tn.push(`domain=${Yt}`),rr===!0&&tn.push("secure"),Y.isString(Or)&&tn.push(`SameSite=${Or}`),document.cookie=tn.join("; ")},read(Le){if(typeof document>"u")return null;const Ue=document.cookie.split(";");for(let lt=0;lt<Ue.length;lt++){const ot=Ue[lt].replace(/^\s+/,""),Yt=ot.indexOf("=");if(Yt!==-1&&ot.slice(0,Yt)===Le)return decodeURIComponent(ot.slice(Yt+1))}return null},remove(Le){this.write(Le,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function yr(Le){return typeof Le!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Le)}function Fa(Le,Ue){return Ue?Le.replace(/\/?\/$/,"")+"/"+Ue.replace(/^\/+/,""):Le}function on(Le,Ue,lt){let ot=!yr(Ue);return Le&&(ot||lt===!1)?Fa(Le,Ue):Ue}const va=Le=>Le instanceof $n?{...Le}:Le;function pa(Le,Ue){Ue=Ue||{};const lt=Object.create(null);Object.defineProperty(lt,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function ot(En,Rn,ki,bs){return Y.isPlainObject(En)&&Y.isPlainObject(Rn)?Y.merge.call({caseless:bs},En,Rn):Y.isPlainObject(Rn)?Y.merge({},Rn):Y.isArray(Rn)?Rn.slice():Rn}function Yt(En,Rn,ki,bs){if(Y.isUndefined(Rn)){if(!Y.isUndefined(En))return ot(void 0,En,ki,bs)}else return ot(En,Rn,ki,bs)}function rr(En,Rn){if(!Y.isUndefined(Rn))return ot(void 0,Rn)}function Or(En,Rn){if(Y.isUndefined(Rn)){if(!Y.isUndefined(En))return ot(void 0,En)}else return ot(void 0,Rn)}function tn(En,Rn,ki){if(Y.hasOwnProp(Ue,ki))return ot(En,Rn);if(Y.hasOwnProp(Le,ki))return ot(void 0,En)}const kn={url:rr,method:rr,data:rr,baseURL:Or,transformRequest:Or,transformResponse:Or,paramsSerializer:Or,timeout:Or,timeoutMessage:Or,withCredentials:Or,withXSRFToken:Or,adapter:Or,responseType:Or,xsrfCookieName:Or,xsrfHeaderName:Or,onUploadProgress:Or,onDownloadProgress:Or,decompress:Or,maxContentLength:Or,maxBodyLength:Or,beforeRedirect:Or,transport:Or,httpAgent:Or,httpsAgent:Or,cancelToken:Or,socketPath:Or,allowedSocketPaths:Or,responseEncoding:Or,validateStatus:tn,headers:(En,Rn,ki)=>Yt(va(En),va(Rn),ki,!0)};return Y.forEach(Object.keys({...Le,...Ue}),function(Rn){if(Rn==="__proto__"||Rn==="constructor"||Rn==="prototype")return;const ki=Y.hasOwnProp(kn,Rn)?kn[Rn]:Yt,bs=Y.hasOwnProp(Le,Rn)?Le[Rn]:void 0,Rs=Y.hasOwnProp(Ue,Rn)?Ue[Rn]:void 0,As=ki(bs,Rs,Rn);Y.isUndefined(As)&&ki!==tn||(lt[Rn]=As)}),lt}const aa=["content-type","content-length"];function ta(Le,Ue,lt){if(lt!=="content-only"){Le.set(Ue);return}Object.entries(Ue).forEach(([ot,Yt])=>{aa.includes(ot.toLowerCase())&&Le.set(ot,Yt)})}const Za=Le=>encodeURIComponent(Le).replace(/%([0-9A-F]{2})/gi,(Ue,lt)=>String.fromCharCode(parseInt(lt,16))),$a=(Le=>{const Ue=pa({},Le),lt=bs=>Y.hasOwnProp(Ue,bs)?Ue[bs]:void 0,ot=lt("data");let Yt=lt("withXSRFToken");const rr=lt("xsrfHeaderName"),Or=lt("xsrfCookieName");let tn=lt("headers");const kn=lt("auth"),En=lt("baseURL"),Rn=lt("allowAbsoluteUrls"),ki=lt("url");if(Ue.headers=tn=$n.from(tn),Ue.url=Gs(on(En,ki,Rn),Le.params,Le.paramsSerializer),kn&&tn.set("Authorization","Basic "+btoa((kn.username||"")+":"+(kn.password?Za(kn.password):""))),Y.isFormData(ot)&&(vi.hasStandardBrowserEnv||vi.hasStandardBrowserWebWorkerEnv?tn.setContentType(void 0):Y.isFunction(ot.getHeaders)&&ta(tn,ot.getHeaders(),lt("formDataHeaderPolicy"))),vi.hasStandardBrowserEnv&&(Y.isFunction(Yt)&&(Yt=Yt(Ue)),Yt===!0||Yt==null&&io(Ue.url))){const Rs=rr&&Or&&Is.read(Or);Rs&&tn.set(rr,Rs)}return Ue});(Object.getOwnPropertyDescriptor($a,"name")||{}).writable||Object.defineProperty($a,"name",{value:"default",configurable:!0});const Co=typeof XMLHttpRequest<"u"&&function(Le){return new Promise(function(lt,ot){const Yt=$a(Le);let rr=Yt.data;const Or=$n.from(Yt.headers).normalize();let{responseType:tn,onUploadProgress:kn,onDownloadProgress:En}=Yt,Rn,ki,bs,Rs,As;function di(){Rs&&Rs(),As&&As(),Yt.cancelToken&&Yt.cancelToken.unsubscribe(Rn),Yt.signal&&Yt.signal.removeEventListener("abort",Rn)}let Gn=new XMLHttpRequest;Gn.open(Yt.method.toUpperCase(),Yt.url,!0),Gn.timeout=Yt.timeout;function oi(){if(!Gn)return;const qs=$n.from("getAllResponseHeaders"in Gn&&Gn.getAllResponseHeaders()),Ba={data:!tn||tn==="text"||tn==="json"?Gn.responseText:Gn.response,status:Gn.status,statusText:Gn.statusText,headers:qs,config:Le,request:Gn};un(function(H){lt(H),di()},function(H){ot(H),di()},Ba),Gn=null}"onloadend"in Gn?Gn.onloadend=oi:Gn.onreadystatechange=function(){!Gn||Gn.readyState!==4||Gn.status===0&&!(Gn.responseURL&&Gn.responseURL.startsWith("file:"))||setTimeout(oi)},Gn.onabort=function(){Gn&&(ot(new xe("Request aborted",xe.ECONNABORTED,Le,Gn)),di(),Gn=null)},Gn.onerror=function(ns){const Ba=ns&&ns.message?ns.message:"Network Error",ka=new xe(Ba,xe.ERR_NETWORK,Le,Gn);ka.event=ns||null,ot(ka),di(),Gn=null},Gn.ontimeout=function(){let ns=Yt.timeout?"timeout of "+Yt.timeout+"ms exceeded":"timeout exceeded";const Ba=Yt.transitional||cr;Yt.timeoutErrorMessage&&(ns=Yt.timeoutErrorMessage),ot(new xe(ns,Ba.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,Le,Gn)),di(),Gn=null},rr===void 0&&Or.setContentType(null),"setRequestHeader"in Gn&&Y.forEach(Ci(Or),function(ns,Ba){Gn.setRequestHeader(Ba,ns)}),Y.isUndefined(Yt.withCredentials)||(Gn.withCredentials=!!Yt.withCredentials),tn&&tn!=="json"&&(Gn.responseType=Yt.responseType),En&&([bs,As]=la(En,!0),Gn.addEventListener("progress",bs)),kn&&Gn.upload&&([ki,Rs]=la(kn),Gn.upload.addEventListener("progress",ki),Gn.upload.addEventListener("loadend",Rs)),(Yt.cancelToken||Yt.signal)&&(Rn=qs=>{Gn&&(ot(!qs||qs.type?new fr(null,Le,Gn):qs),Gn.abort(),di(),Gn=null)},Yt.cancelToken&&Yt.cancelToken.subscribe(Rn),Yt.signal&&(Yt.signal.aborted?Rn():Yt.signal.addEventListener("abort",Rn)));const Ks=Qn(Yt.url);if(Ks&&!vi.protocols.includes(Ks)){ot(new xe("Unsupported protocol "+Ks+":",xe.ERR_BAD_REQUEST,Le));return}Gn.send(rr||null)})},Hs=(Le,Ue)=>{if(Le=Le?Le.filter(Boolean):[],!Ue&&!Le.length)return;const lt=new AbortController;let ot=!1;const Yt=function(kn){if(!ot){ot=!0,Or();const En=kn instanceof Error?kn:this.reason;lt.abort(En instanceof xe?En:new fr(En instanceof Error?En.message:En))}};let rr=Ue&&setTimeout(()=>{rr=null,Yt(new xe(`timeout of ${Ue}ms exceeded`,xe.ETIMEDOUT))},Ue);const Or=()=>{Le&&(rr&&clearTimeout(rr),rr=null,Le.forEach(kn=>{kn.unsubscribe?kn.unsubscribe(Yt):kn.removeEventListener("abort",Yt)}),Le=null)};Le.forEach(kn=>kn.addEventListener("abort",Yt));const{signal:tn}=lt;return tn.unsubscribe=()=>Y.asap(Or),tn},cs=function*(Le,Ue){let lt=Le.byteLength;if(!Ue||lt<Ue){yield Le;return}let ot=0,Yt;for(;ot<lt;)Yt=ot+Ue,yield Le.slice(ot,Yt),ot=Yt},Me=async function*(Le,Ue){for await(const lt of We(Le))yield*cs(lt,Ue)},We=async function*(Le){if(Le[Symbol.asyncIterator]){yield*Le;return}const Ue=Le.getReader();try{for(;;){const{done:lt,value:ot}=await Ue.read();if(lt)break;yield ot}}finally{await Ue.cancel()}},Nt=(Le,Ue,lt,ot)=>{const Yt=Me(Le,Ue);let rr=0,Or,tn=kn=>{Or||(Or=!0,ot&&ot(kn))};return new ReadableStream({async pull(kn){try{const{done:En,value:Rn}=await Yt.next();if(En){tn(),kn.close();return}let ki=Rn.byteLength;if(lt){let bs=rr+=ki;lt(bs)}kn.enqueue(new Uint8Array(Rn))}catch(En){throw tn(En),En}},cancel(kn){return tn(kn),Yt.return()}},{highWaterMark:2})};function Jt(Le){if(!Le||typeof Le!="string"||!Le.startsWith("data:"))return 0;const Ue=Le.indexOf(",");if(Ue<0)return 0;const lt=Le.slice(5,Ue),ot=Le.slice(Ue+1);if(/;base64/i.test(lt)){let Or=ot.length;const tn=ot.length;for(let Rs=0;Rs<tn;Rs++)if(ot.charCodeAt(Rs)===37&&Rs+2<tn){const As=ot.charCodeAt(Rs+1),di=ot.charCodeAt(Rs+2);(As>=48&&As<=57||As>=65&&As<=70||As>=97&&As<=102)&&(di>=48&&di<=57||di>=65&&di<=70||di>=97&&di<=102)&&(Or-=2,Rs+=2)}let kn=0,En=tn-1;const Rn=Rs=>Rs>=2&&ot.charCodeAt(Rs-2)===37&&ot.charCodeAt(Rs-1)===51&&(ot.charCodeAt(Rs)===68||ot.charCodeAt(Rs)===100);En>=0&&(ot.charCodeAt(En)===61?(kn++,En--):Rn(En)&&(kn++,En-=3)),kn===1&&En>=0&&(ot.charCodeAt(En)===61||Rn(En))&&kn++;const bs=Math.floor(Or/4)*3-(kn||0);return bs>0?bs:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(ot,"utf8");let rr=0;for(let Or=0,tn=ot.length;Or<tn;Or++){const kn=ot.charCodeAt(Or);if(kn<128)rr+=1;else if(kn<2048)rr+=2;else if(kn>=55296&&kn<=56319&&Or+1<tn){const En=ot.charCodeAt(Or+1);En>=56320&&En<=57343?(rr+=4,Or++):rr+=3}else rr+=3}return rr}const jr="1.16.1",Jr=64*1024,{isFunction:an}=Y,ai=(Le,...Ue)=>{try{return!!Le(...Ue)}catch{return!1}},Si=Le=>{const Ue=Y.global!==void 0&&Y.global!==null?Y.global:globalThis,{ReadableStream:lt,TextEncoder:ot}=Ue;Le=Y.merge.call({skipUndefined:!0},{Request:Ue.Request,Response:Ue.Response},Le);const{fetch:Yt,Request:rr,Response:Or}=Le,tn=Yt?an(Yt):typeof fetch=="function",kn=an(rr),En=an(Or);if(!tn)return!1;const Rn=tn&&an(lt),ki=tn&&(typeof ot=="function"?(oi=>Ks=>oi.encode(Ks))(new ot):async oi=>new Uint8Array(await new rr(oi).arrayBuffer())),bs=kn&&Rn&&ai(()=>{let oi=!1;const Ks=new rr(vi.origin,{body:new lt,method:"POST",get duplex(){return oi=!0,"half"}}),qs=Ks.headers.has("Content-Type");return Ks.body!=null&&Ks.body.cancel(),oi&&!qs}),Rs=En&&Rn&&ai(()=>Y.isReadableStream(new Or("").body)),As={stream:Rs&&(oi=>oi.body)};tn&&["text","arrayBuffer","blob","formData","stream"].forEach(oi=>{!As[oi]&&(As[oi]=(Ks,qs)=>{let ns=Ks&&Ks[oi];if(ns)return ns.call(Ks);throw new xe(`Response type '${oi}' is not supported`,xe.ERR_NOT_SUPPORT,qs)})});const di=async oi=>{if(oi==null)return 0;if(Y.isBlob(oi))return oi.size;if(Y.isSpecCompliantForm(oi))return(await new rr(vi.origin,{method:"POST",body:oi}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(oi)||Y.isArrayBuffer(oi))return oi.byteLength;if(Y.isURLSearchParams(oi)&&(oi=oi+""),Y.isString(oi))return(await ki(oi)).byteLength},Gn=async(oi,Ks)=>{const qs=Y.toFiniteNumber(oi.getContentLength());return qs??di(Ks)};return async oi=>{let{url:Ks,method:qs,data:ns,signal:Ba,cancelToken:ka,timeout:H,onDownloadProgress:z,onUploadProgress:ee,responseType:pe,headers:Ce,withCredentials:ze="same-origin",fetchOptions:st,maxContentLength:ft,maxBodyLength:Dt}=$a(oi);const lr=Y.isNumber(ft)&&ft>-1,$t=Y.isNumber(Dt)&&Dt>-1;let Nr=Yt||fetch;pe=pe?(pe+"").toLowerCase():"text";let cn=Hs([Ba,ka&&ka.toAbortSignal()],H),Nn=null;const jn=cn&&cn.unsubscribe&&(()=>{cn.unsubscribe()});let fi;try{if(lr&&typeof Ks=="string"&&Ks.startsWith("data:")&&Jt(Ks)>ft)throw new xe("maxContentLength size of "+ft+" exceeded",xe.ERR_BAD_RESPONSE,oi,Nn);if($t&&qs!=="get"&&qs!=="head"){const br=await Gn(Ce,ns);if(typeof br=="number"&&isFinite(br)&&br>Dt)throw new xe("Request body larger than maxBodyLength limit",xe.ERR_BAD_REQUEST,oi,Nn)}if(ee&&bs&&qs!=="get"&&qs!=="head"&&(fi=await Gn(Ce,ns))!==0){let br=new rr(Ks,{method:"POST",body:ns,duplex:"half"}),xr;if(Y.isFormData(ns)&&(xr=br.headers.get("content-type"))&&Ce.setContentType(xr),br.body){const[yi,Ni]=ca(fi,la(za(ee)));ns=Nt(br.body,Jr,yi,Ni)}}Y.isString(ze)||(ze=ze?"include":"omit");const xi=kn&&"credentials"in rr.prototype;if(Y.isFormData(ns)){const br=Ce.getContentType();br&&/^multipart\/form-data/i.test(br)&&!/boundary=/i.test(br)&&Ce.delete("content-type")}Ce.set("User-Agent","axios/"+jr,!1);const Ii={...st,signal:cn,method:qs.toUpperCase(),headers:Ci(Ce.normalize()),body:ns,duplex:"half",credentials:xi?ze:void 0};Nn=kn&&new rr(Ks,Ii);let zi=await(kn?Nr(Nn,st):Nr(Ks,Ii));if(lr){const br=Y.toFiniteNumber(zi.headers.get("content-length"));if(br!=null&&br>ft)throw new xe("maxContentLength size of "+ft+" exceeded",xe.ERR_BAD_RESPONSE,oi,Nn)}const gs=Rs&&(pe==="stream"||pe==="response");if(Rs&&zi.body&&(z||lr||gs&&jn)){const br={};["status","statusText","headers"].forEach(Ys=>{br[Ys]=zi[Ys]});const xr=Y.toFiniteNumber(zi.headers.get("content-length")),[yi,Ni]=z&&ca(xr,la(za(z),!0))||[];let pi=0;const ra=Ys=>{if(lr&&(pi=Ys,pi>ft))throw new xe("maxContentLength size of "+ft+" exceeded",xe.ERR_BAD_RESPONSE,oi,Nn);yi&&yi(Ys)};zi=new Or(Nt(zi.body,Jr,ra,()=>{Ni&&Ni(),jn&&jn()}),br)}pe=pe||"text";let er=await As[Y.findKey(As,pe)||"text"](zi,oi);if(lr&&!Rs&&!gs){let br;if(er!=null&&(typeof er.byteLength=="number"?br=er.byteLength:typeof er.size=="number"?br=er.size:typeof er=="string"&&(br=typeof ot=="function"?new ot().encode(er).byteLength:er.length)),typeof br=="number"&&br>ft)throw new xe("maxContentLength size of "+ft+" exceeded",xe.ERR_BAD_RESPONSE,oi,Nn)}return!gs&&jn&&jn(),await new Promise((br,xr)=>{un(br,xr,{data:er,headers:$n.from(zi.headers),status:zi.status,statusText:zi.statusText,config:oi,request:Nn})})}catch(xi){if(jn&&jn(),cn&&cn.aborted&&cn.reason instanceof xe){const Ii=cn.reason;throw Ii.config=oi,Nn&&(Ii.request=Nn),xi!==Ii&&(Ii.cause=xi),Ii}throw xi&&xi.name==="TypeError"&&/Load failed|fetch/i.test(xi.message)?Object.assign(new xe("Network Error",xe.ERR_NETWORK,oi,Nn,xi&&xi.response),{cause:xi.cause||xi}):xe.from(xi,xi&&xi.code,oi,Nn,xi&&xi.response)}}},Di=new Map,Vi=Le=>{let Ue=Le&&Le.env||{};const{fetch:lt,Request:ot,Response:Yt}=Ue,rr=[ot,Yt,lt];let Or=rr.length,tn=Or,kn,En,Rn=Di;for(;tn--;)kn=rr[tn],En=Rn.get(kn),En===void 0&&Rn.set(kn,En=tn?new Map:Si(Ue)),Rn=En;return En},da=Vi(),ya=null,Qi={http:Ge,xhr:Co,fetch:{get:Vi}};Y.forEach(Qi,(Le,Ue)=>{if(Le){try{Object.defineProperty(Le,"name",{__proto__:null,value:Ue})}catch{}Object.defineProperty(Le,"adapterName",{__proto__:null,value:Ue})}});const Do=Le=>`- ${Le}`,Oo=Le=>Y.isFunction(Le)||Le===null||Le===!1;function Ta(Le,Ue){Le=Y.isArray(Le)?Le:[Le];const{length:lt}=Le;let ot,Yt;const rr={};for(let Or=0;Or<lt;Or++){ot=Le[Or];let tn;if(Yt=ot,!Oo(ot)&&(Yt=Qi[(tn=String(ot)).toLowerCase()],Yt===void 0))throw new xe(`Unknown adapter '${tn}'`);if(Yt&&(Y.isFunction(Yt)||(Yt=Yt.get(Ue))))break;rr[tn||"#"+Or]=Yt}if(!Yt){const Or=Object.entries(rr).map(([kn,En])=>`adapter ${kn} `+(En===!1?"is not supported by the environment":"is not available in the build"));let tn=lt?Or.length>1?`since : 1008`+Or.map(Do).join(` 1009`):" "+Do(Or[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+tn,"ERR_NOT_SUPPORT")}return Yt}const Ne={getAdapter:Ta,adapters:Qi};function Ve(Le){if(Le.cancelToken&&Le.cancelToken.throwIfRequested(),Le.signal&&Le.signal.aborted)throw new fr(null,Le)}function gt(Le){return Ve(Le),Le.headers=$n.from(Le.headers),Le.data=ce.call(Le,Le.transformRequest),["post","put","patch"].indexOf(Le.method)!==-1&&Le.headers.setContentType("application/x-www-form-urlencoded",!1),Ne.getAdapter(Le.adapter||Os.adapter,Le)(Le).then(function(ot){Ve(Le),Le.response=ot;try{ot.data=ce.call(Le,Le.transformResponse,ot)}finally{delete Le.response}return ot.headers=$n.from(ot.headers),ot},function(ot){if(!He(ot)&&(Ve(Le),ot&&ot.response)){Le.response=ot.response;try{ot.response.data=ce.call(Le,Le.transformResponse,ot.response)}finally{delete Le.response}ot.response.headers=$n.from(ot.response.headers)}return Promise.reject(ot)})}const ct={};["object","boolean","number","function","string","symbol"].forEach((Le,Ue)=>{ct[Le]=function(ot){return typeof ot===Le||"a"+(Ue<1?"n ":" ")+Le}});const Kt={};ct.transitional=function(Ue,lt,ot){function Yt(rr,Or){return"[Axios v"+jr+"] Transitional option '"+rr+"'"+Or+(ot?". "+ot:"")}return(rr,Or,tn)=>{if(Ue===!1)throw new xe(Yt(Or," has been removed"+(lt?" in "+lt:"")),xe.ERR_DEPRECATED);return lt&&!Kt[Or]&&(Kt[Or]=!0,console.warn(Yt(Or," has been deprecated since v"+lt+" and will be removed in the near future"))),Ue?Ue(rr,Or,tn):!0}},ct.spelling=function(Ue){return(lt,ot)=>(console.warn(`${ot} is likely a misspelling of ${Ue}`),!0)};function tr(Le,Ue,lt){if(typeof Le!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const ot=Object.keys(Le);let Yt=ot.length;for(;Yt-- >0;){const rr=ot[Yt],Or=Object.prototype.hasOwnProperty.call(Ue,rr)?Ue[rr]:void 0;if(Or){const tn=Le[rr],kn=tn===void 0||Or(tn,rr,Le);if(kn!==!0)throw new xe("option "+rr+" must be "+kn,xe.ERR_BAD_OPTION_VALUE);continue}if(lt!==!0)throw new xe("Unknown option "+rr,xe.ERR_BAD_OPTION)}}const Cr={assertOptions:tr,validators:ct},kr=Cr.validators;class Bn{constructor(Ue){this.defaults=Ue||{},this.interceptors={request:new nr,response:new nr}}async request(Ue,lt){try{return await this._request(Ue,lt)}catch(ot){if(ot instanceof Error){let Yt={};Error.captureStackTrace?Error.captureStackTrace(Yt):Yt=new Error;const rr=(()=>{if(!Yt.stack)return"";const Or=Yt.stack.indexOf(` 1010`);return Or===-1?"":Yt.stack.slice(Or+1)})();try{if(!ot.stack)ot.stack=rr;else if(rr){const Or=rr.indexOf(` 1011`),tn=Or===-1?-1:rr.indexOf(` 1012`,Or+1),kn=tn===-1?"":rr.slice(tn+1);String(ot.stack).endsWith(kn)||(ot.stack+=` 1013`+rr)}}catch{}}throw ot}}_request(Ue,lt){typeof Ue=="string"?(lt=lt||{},lt.url=Ue):lt=Ue||{},lt=pa(this.defaults,lt);const{transitional:ot,paramsSerializer:Yt,headers:rr}=lt;ot!==void 0&&Cr.assertOptions(ot,{silentJSONParsing:kr.transitional(kr.boolean),forcedJSONParsing:kr.transitional(kr.boolean),clarifyTimeoutError:kr.transitional(kr.boolean),legacyInterceptorReqResOrdering:kr.transitional(kr.boolean)}
vendor: 3,358 bytes, line 1013
1013,!1),Yt!=null&&(Y.isFunction(Yt)?lt.paramsSerializer={serialize:Yt}:Cr.assertOptions(Yt,{encode:kr.function,serialize:kr.function},!0)),lt.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?lt.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:lt.allowAbsoluteUrls=!0),Cr.assertOptions(lt,{baseUrl:kr.spelling("baseURL"),withXsrfToken:kr.spelling("withXSRFToken")},!0),lt.method=(lt.method||this.defaults.method||"get").toLowerCase();let Or=rr&&Y.merge(rr.common,rr[lt.method]);rr&&Y.forEach(["delete","get","head","post","put","patch","query","common"],As=>{delete rr[As]}),lt.headers=$n.concat(Or,rr);const tn=[];let kn=!0;this.interceptors.request.forEach(function(di){if(typeof di.runWhen=="function"&&di.runWhen(lt)===!1)return;kn=kn&&di.synchronous;const Gn=lt.transitional||cr;Gn&&Gn.legacyInterceptorReqResOrdering?tn.unshift(di.fulfilled,di.rejected):tn.push(di.fulfilled,di.rejected)});const En=[];this.interceptors.response.forEach(function(di){En.push(di.fulfilled,di.rejected)});let Rn,ki=0,bs;if(!kn){const As=[gt.bind(this),void 0];for(As.unshift(...tn),As.push(...En),bs=As.length,Rn=Promise.resolve(lt);ki<bs;)Rn=Rn.then(As[ki++],As[ki++]);return Rn}bs=tn.length;let Rs=lt;for(;ki<bs;){const As=tn[ki++],di=tn[ki++];try{Rs=As(Rs)}catch(Gn){di.call(this,Gn);break}}try{Rn=gt.call(this,Rs)}catch(As){return Promise.reject(As)}for(ki=0,bs=En.length;ki<bs;)Rn=Rn.then(En[ki++],En[ki++]);return Rn}getUri(Ue){Ue=pa(this.defaults,Ue);const lt=on(Ue.baseURL,Ue.url,Ue.allowAbsoluteUrls);return Gs(lt,Ue.params,Ue.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(Ue){Bn.prototype[Ue]=function(lt,ot){return this.request(pa(ot||{},{method:Ue,url:lt,data:(ot||{}).data}))}}),Y.forEach(["post","put","patch","query"],function(Ue){function lt(ot){return function(rr,Or,tn){return this.request(pa(tn||{},{method:Ue,headers:ot?{"Content-Type":"multipart/form-data"}:{},url:rr,data:Or}))}}Bn.prototype[Ue]=lt(),Ue!=="query"&&(Bn.prototype[Ue+"Form"]=lt(!0))});const Hn=Bn;class Bt{constructor(Ue){if(typeof Ue!="function")throw new TypeError("executor must be a function.");let lt;this.promise=new Promise(function(rr){lt=rr});const ot=this;this.promise.then(Yt=>{if(!ot._listeners)return;let rr=ot._listeners.length;for(;rr-- >0;)ot._listeners[rr](Yt);ot._listeners=null}),this.promise.then=Yt=>{let rr;const Or=new Promise(tn=>{ot.subscribe(tn),rr=tn}).then(Yt);return Or.cancel=function(){ot.unsubscribe(rr)},Or},Ue(function(rr,Or,tn){ot.reason||(ot.reason=new fr(rr,Or,tn),lt(ot.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(Ue){if(this.reason){Ue(this.reason);return}this._listeners?this._listeners.push(Ue):this._listeners=[Ue]}unsubscribe(Ue){if(!this._listeners)return;const lt=this._listeners.indexOf(Ue);lt!==-1&&this._listeners.splice(lt,1)}toAbortSignal(){const Ue=new AbortController,lt=ot=>{Ue.abort(ot)};return this.subscribe(lt),Ue.signal.unsubscribe=()=>this.unsubscribe(lt),Ue.signal}static source(){let Ue;return{token:new Bt(function(Yt){Ue=Yt}),cancel:Ue}}}const Wt=Bt;function Wr(Le){return function(lt){return Le.apply(null,lt)}}function sn(Le){return Y.isObject(Le)&&Le.isAxiosError===!0}const Mn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1013alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Mn).forEach(([Le,Ue])=>{Mn[Ue]=Le});const _n=Mn;function Wn(Le){const Ue=new Hn(Le),lt=r(Hn.prototype.request,Ue);return Y.extend(lt,Hn.prototype,Ue,{allOwnKeys:!0}),Y.extend(lt,Ue,null,{allOwnKeys:!0}),lt.create=function(Yt){return Wn(pa(Le,Yt))},lt}const Un=Wn(Os);Un.Axios=Hn,Un.CanceledError=fr,Un.CancelToken=Wt,Un.isCancel=He,Un.VERSION=jr,Un.toFormData=si,Un.AxiosError=xe,Un.Cancel=Un.CanceledError,Un.all=function(Ue){return Promise.all(Ue)},Un.spread=Wr,Un.isAxiosError=sn,Un.mergeConfig=pa,Un.AxiosHeaders=$n,Un.formToJSON=Le=>wi(Y.isHTMLForm(Le)?new FormData(Le):Le),Un.getAdapter=Ne.getAdapter,Un.HttpStatusCode=_n,Un.default=Un;const Fi=Un},33e3(f,d,e){"use strict";e.d(d,{i:()=>ge});var n=e(80588),r=e(63955);const a=be=>{const Ie="-zoom",Re=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],ye=new Map;if(be.hasAttribute("id")){const{id:$e}=be,qe=$e+Ie;ye.set($e,qe);const It=be;It.id=qe}be.querySelectorAll("[id]").forEach($e=>{const{id:qe}=$e,It=qe+Ie;ye.set(qe,It);const mt=$e;mt.id=It});const De=Re.map($e=>`[${$e}]`).join(", ");be.querySelectorAll(De).forEach($e=>{for(const qe of Re){const It=$e.getAttribute(qe);if(It?.startsWith("url(#")===!0){const mt=It.slice(5,-1),kt=ye.get(mt);kt!==void 0&&$e.setAttribute(qe,`url(#${kt})`)}}}),be.querySelectorAll("style").forEach($e=>{const{textContent:qe}=$e;if(qe!==""){let It=qe;if(ye.forEach((mt,kt)=>{It=It.replaceAll(`#${kt}`,`#${mt}`)}),It!==qe){const mt=$e;mt.textContent=It}}})};function s(be){return typeof Element>"u"?!1:be instanceof Element}const i=(be,Ie)=>s(Ie)&&Ie.tagName.toUpperCase()===be,u=be=>i("DIV",be)||i("SPAN",be),l=be=>i("IMG",be),m=be=>be.complete&&be.naturalHeight!==0,g=be=>i("SVG",be),h=be=>{if(be!==null)return l(be)?be.alt:be.getAttribute("aria-label")??void 0},v=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,x=be=>{if(be!==null){if(l(be))return be.currentSrc===""?void 0:be.currentSrc;if(u(be)){const{backgroundImage:Ie}=window.getComputedStyle(be);if(Ie!=="")return v.exec(Ie)?.[1]}}},T=be=>{if(be==null)return{};if(g(be)){const{parentElement:Ie}=be,Re=be.getBoundingClientRect();if(Ie==null)return{height:Re.height,left:Re.left,width:Re.width,top:Re.top};{const ye=Ie.getBoundingClientRect();return{height:Re.height,left:ye.left-Re.left,top:ye.top-Re.top,width:Re.width}}}else return{height:be.offsetHeight,left:be.offsetLeft,width:be.offsetWidth,top:be.offsetTop}},E=({height:be,offset:Ie,width:Re})=>Math.min((window.innerWidth-Ie*2)/Re,(window.innerHeight-Ie*2)/be),_=({containerHeight:be,containerWidth:Ie,offset:Re,targetHeight:ye,targetWidth:De})=>{const $e=E({height:ye,offset:Re,width:De}),qe=De>ye?De/Ie:ye/be;return $e>1?qe:$e*qe},C=({containerHeight:be,containerWidth:Ie,hasScalableSrc:Re,offset:ye,targetHeight:De,targetWidth:$e})=>be===0||Ie===0?1:!Re&&De!==0&&$e!==0?_({containerHeight:be,containerWidth:Ie,offset:ye,targetHeight:De,targetWidth:$e}):E({height:be,offset:ye,width:Ie}),P=({containerHeight:be,containerLeft:Ie,containerTop:Re,containerWidth:ye,hasScalableSrc:De,offset:$e,targetHeight:qe,targetWidth:It})=>{const mt=C({containerHeight:be,containerWidth:ye,hasScalableSrc:De,offset:$e,targetHeight:qe,targetWidth:It});return{top:Re,left:Ie,width:ye*mt,height:be*mt,initialTransform:`translate(0,0) scale(${1/mt})`}},k=(be,Ie)=>{const Re=parseFloat(be);return be.endsWith("%")?Ie*Re/100:Re},D=({containerHeight:be,containerLeft:Ie,containerTop:Re,containerWidth:ye,hasScalableSrc:De,offset:$e,position:qe,targetHeight:It,targetWidth:mt,visibleHeight:kt,visibleWidth:Ut})=>{const[Ir="50%",Sr="50%"]=qe.split(" "),Yr=k(Ir,ye-Ut),Gr=k(Sr,be-kt),dn=C({containerHeight:kt,containerWidth:Ut,hasScalableSrc:De,offset:$e,targetHeight:It,targetWidth:mt});return{top:Re+Gr,left:Ie+Yr,width:Ut*dn,height:kt*dn,initialTransform:`translate(0,0) scale(${1/dn})`}},B=({containerHeight:be,containerLeft:Ie,containerTop:Re,containerWidth:ye,hasScalableSrc:De,objectFit:$e,objectPosition:qe,offset:It,targetHeight:mt,targetWidth:kt})=>{let Ut=$e;Ut==="scale-down"&&(kt<=ye&&mt<=be?Ut="none":Ut="contain");const Ir={containerHeight:be,containerLeft:Ie,containerTop:Re,containerWidth:ye,hasScalableSrc:De,offset:It,position:qe,targetHeight:mt,targetWidth:kt};if(Ut==="cover"||Ut==="contain"){const Sr=ye/kt,Yr=be/mt,Gr=Ut==="cover"?Math.max(Sr,Yr):Math.min(Sr,Yr);return D({...Ir,visibleWidth:kt*Gr,visibleHeight:mt*Gr})}else{if(Ut==="none")return D({...Ir,visibleWidth:kt,visibleHeight:mt});{const Sr=ye/kt,Yr=be/mt,Gr=Math.max(Sr,Yr),dn=C({containerHeight:mt*Gr,containerWidth:kt*Gr,hasScalableSrc:De,offset:It,targetHeight:mt,targetWidth:kt});return{top:Re,left:Ie,width:ye*dn,height:be*dn,initialTransform:`translate(0,0) scale(${1/dn})`}}}},$=({backgroundPosition:be,backgroundSize:Ie,containerHeight:Re,containerLeft:ye,containerTop:De,containerWidth:$e,hasScalableSrc:qe,offset:It,targetHeight:mt,targetWidth:kt})=>{const Ut={containerHeight:Re,containerLeft:ye,containerTop:De,containerWidth:$e,hasScalableSrc:qe,offset:It,position:be,targetHeight:mt,targetWidth:kt};if(Ie==="cover"||Ie==="contain"){const Ir=$e/kt,Sr=Re/mt,Yr=Ie==="cover"?Math.max(Ir,Sr):Math.min(Ir,Sr);return D({...Ut,visibleWidth:kt*Yr,visibleHeight:mt*Yr})}else{if(Ie==="auto")return D({...Ut,visibleWidth:kt,visibleHeight:mt});{const[Ir="50%",Sr="50%"]=Ie.split(" "),Yr=k(Ir,$e),Gr=k(Sr,Re),dn=Yr/kt,Kr=Gr/mt,yt=Math.min(dn,Kr);return D({...Ut,visibleWidth:kt*yt,visibleHeight:mt*yt})}}},F=({height:be,initialTransform:Ie,isZoomed:Re,left:ye,top:De,userTransform:$e,width:qe})=>{let It="";if($e!=="none"&&$e!==""){const dn=qe/2,Kr=be/2;It=`translate(${dn}px,${Kr}px) ${$e} translate(${-dn}px,${-Kr}px)`}if(!Re)return It===""?Ie:`${Ie} ${It}`;const mt=window.innerWidth/2,kt=window.innerHeight/2,Ut=ye+qe/2,Ir=De+be/2,Sr=mt-Ut,Yr=kt-Ir,Gr=`translate(${Sr}px,${Yr}px) scale(1)`;return It===""?Gr:`${Gr} ${It}`}
1013,V=({fallback:be,natural:Ie})=>Ie!==void 0&&Ie!==0?Ie:be,W=/\.svg$/i,Z=({hasZoomImg:be,imgSrc:Ie,isSvg:Re})=>Re||Ie?.slice(0,18)==="data:image/svg+xml"||be||Ie!==void 0&&W.test(Ie),J=({hasZoomImg:be,imgSrc:Ie,isSvg:Re,isZoomed:ye,loadedImgEl:De,offset:$e,shouldRefresh:qe,targetEl:It})=>{const mt=Z({hasZoomImg:be,imgSrc:Ie,isSvg:Re}),kt=It.getBoundingClientRect(),Ut=window.getComputedStyle(It),Ir=De!=null&&u(It),Sr=De!=null&&!Ir,Yr=V({fallback:kt.height,natural:De?.naturalHeight}),Gr=V({fallback:kt.width,natural:De?.naturalWidth}),{height:dn,left:Kr,top:yt,width:tt}=kt,Ar=Ir?$({backgroundPosition:Ut.backgroundPosition,backgroundSize:Ut.backgroundSize,containerHeight:dn,containerLeft:Kr,containerTop:yt,containerWidth:tt,hasScalableSrc:mt,offset:$e,targetHeight:Yr,targetWidth:Gr}):Sr?B({containerHeight:dn,containerLeft:Kr,containerTop:yt,containerWidth:tt,hasScalableSrc:mt,objectFit:Ut.objectFit,objectPosition:Ut.objectPosition,offset:$e,targetHeight:Yr,targetWidth:Gr}):P({containerHeight:dn,containerLeft:Kr,containerTop:yt,containerWidth:tt,hasScalableSrc:mt,offset:$e,targetHeight:Yr,targetWidth:Gr}),Mr={top:Ar.top,left:Ar.left,width:Ar.width,height:Ar.height,transform:F({...Ar,isZoomed:ye,userTransform:Ut.transform})};return ye&&qe&&(Mr.transitionDuration="0.01ms"),Mr},ie=["img","svg",'[role="img"]',"[data-zoom]"].map(be=>`${be}:not([aria-hidden="true"])`).join(","),le={overflow:"",position:"",top:"",width:""};function he(){const be=document.querySelector("[data-rmiz-portal]");if(be!=null)return be;const Ie=document.createElement("div");return Ie.setAttribute("data-rmiz-portal",""),document.body.appendChild(Ie),Ie}function me(be){be.preventDefault()}function je(be){return n.createElement(Fe,{...be})}class Fe extends n.Component{constructor(){super(...arguments),this.state={id:"",isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:"UNLOADED",shouldRefresh:!1,styleGhost:{}},this.refContent=n.createRef(),this.refDialog=n.createRef(),this.refModalContent=n.createRef(),this.refModalImg=n.createRef(),this.refWrap=n.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=le,this.prevScrollY=0,this.styleModalImg={},this.handleModalStateChange=Ie=>{const{state:{modalState:Re}}=this;Ie!=="LOADING"&&Re==="LOADING"?(this.isScaling=!1,this.loadZoomImg(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),window.addEventListener("touchmove",this.handleTouchMove,{passive:!0}),window.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),window.addEventListener("touchcancel",this.handleTouchCancel,{passive:!0}),document.addEventListener("keydown",this.handleKeyDown,!0)):Ie!=="LOADED"&&Re==="LOADED"?window.addEventListener("wheel",this.handleWheel,{passive:!0}):Ie!=="UNLOADING"&&Re==="UNLOADING"?(this.ensureImgTransitionEnd(),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),document.removeEventListener("keydown",this.handleKeyDown,!0)):Ie!=="UNLOADED"&&Re==="UNLOADED"&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refDialog.current?.close())},this.setId=()=>{const Ie=()=>Math.random().toString(16).slice(-4);this.setState({id:Ie()+Ie()+Ie()})},this.setAndTrackImg=()=>{const{refContent:{current:Ie}}=this;Ie!=null&&(this.imgEl=Ie.querySelector(ie),this.imgEl!==null?(this.contentNotFoundChangeObserver?.disconnect(),this.imgEl.addEventListener("load",this.handleImgLoad),this.imgEl.addEventListener("click",this.handleZoom),this.state.loadedImgEl==null&&this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(Re=>{const[ye]=Re;ye?.target!==void 0&&(this.imgEl=ye.target,this.setState({styleGhost:T(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver==null&&(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:T(this.imgEl)})}),this.contentChangeObserver.observe(Ie,{attributes:!0,childList:!0,subtree:!0}))):this.contentNotFoundChangeObserver==null&&(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(Ie,{childList:!0,subtree:!0})))},this.handleIfZoomChanged=Ie=>{const{props:{isZoomed:Re}}=this;!Ie&&Re?this.zoom():Ie&&!Re&&this.unzoom()},this.handleImgLoad=()=>{const Ie=x(this.imgEl);
1013if(Ie==null||Ie==="")return;const Re=new Image,{imgEl:ye}=this;if(l(ye)){const{sizes:$e,srcset:qe,crossOrigin:It}=ye;Re.sizes=$e,Re.srcset=qe,Re.crossOrigin=It}Re.src=Ie;const De=()=>{this.setState({loadedImgEl:Re,styleGhost:T(this.imgEl)})};Re.decode().then(De).catch(()=>{if(m(Re)){De();return}Re.onload=De})},this.handleZoom=Ie=>{this.props.isDisabled!==!0&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:Ie})},this.handleUnzoom=Ie=>{this.props.isDisabled!==!0&&this.props.onZoomChange?.(!1,{event:Ie})},this.handleBtnUnzoomClick=Ie=>{Ie.preventDefault(),Ie.stopPropagation(),this.handleUnzoom(Ie)},this.handleDialogClick=Ie=>{(Ie.target===this.refModalContent.current||Ie.target===this.refModalImg.current)&&(Ie.stopPropagation(),this.handleUnzoom(Ie))},this.handleDialogClose=Ie=>{Ie.stopPropagation(),this.handleUnzoom(Ie)},this.handleKeyDown=Ie=>{Ie.key==="Escape"&&(Ie.preventDefault(),Ie.stopPropagation(),this.handleUnzoom(Ie))},this.handleWheel=Ie=>{Ie.ctrlKey||this.isScaling||(window.visualViewport?.scale??1)>1||(Ie.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(Ie)}))},this.handleTouchStart=Ie=>{if(Ie.touches.length>1){this.isScaling=!0;return}const{changedTouches:Re}=Ie,[ye]=Re;if(Re.length===1&&ye!==void 0){const{screenY:De}=ye;this.touchYStart=De}},this.handleTouchMove=Ie=>{const Re=window.visualViewport?.scale??1,{changedTouches:ye}=Ie,[De]=ye;if(this.props.canSwipeToUnzoom&&!this.isScaling&&Re<=1&&this.touchYStart!=null&&De!==void 0){const{screenY:$e}=De;this.touchYEnd=$e;const qe=Math.max(this.touchYStart,this.touchYEnd),It=Math.min(this.touchYStart,this.touchYEnd);Math.abs(qe-It)>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(Ie))}},this.handleTouchEnd=()=>{this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>this.imgEl!==null&&(this.state.loadedImgEl!==void 0||g(this.imgEl))&&window.getComputedStyle(this.imgEl).display!=="none",this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal(),this.setState({modalState:"LOADING"})},this.unzoom=()=>{this.setState({modalState:"UNLOADING"})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),this.state.modalState==="LOADING"?this.setState({modalState:"LOADED"}):this.state.modalState==="UNLOADING"&&this.setState({shouldRefresh:!1,modalState:"UNLOADED"})},this.ensureImgTransitionEnd=()=>
1013{if(this.refModalImg.current!==null){const{transitionDuration:Ie}=window.getComputedStyle(this.refModalImg.current),Re=parseFloat(Ie);if(Re!==0&&!Number.isNaN(Re)){const ye=Re*(Ie.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,ye)}}},this.bodyScrollDisable=()=>{const Ie=document.body.style;this.prevBodyAttrs={overflow:Ie.overflow,position:Ie.position,top:Ie.top,width:Ie.width};const Re=window.scrollY;this.prevScrollY=Re;const ye=document.body.clientWidth;Ie.overflow="hidden",Ie.position="fixed",Ie.top=`-${Re}px`,Ie.width=`${ye}px`},this.bodyScrollEnable=()=>{const Ie=document.body.style,Re=this.prevBodyAttrs;Ie.width=Re.width,Ie.position=Re.position,Ie.top=Re.top,Ie.overflow=Re.overflow,window.scrollTo(0,this.prevScrollY),this.prevBodyAttrs=le,this.prevScrollY=0},this.loadZoomImg=()=>{const{props:{zoomImg:Ie}}=this;if(Ie==null)return;const{src:Re}=Ie;if(Re!==void 0&&Re!==""){const ye=new Image;ye.sizes=Ie.sizes??"",ye.srcset=Ie.srcSet??"",ye.crossOrigin=Ie.crossOrigin??void 0,ye.src=Re;const De=()=>{this.setState({isZoomImgLoaded:!0})};ye.decode().then(De).catch(()=>{if(m(ye)){De();return}ye.onload=De})}},this.UNSAFE_handleSvg=()=>{const{imgEl:Ie,refModalImg:Re,styleModalImg:ye}=this;if(g(Ie)){const De=Ie.cloneNode(!0);a(De),De.style.width=`${ye.width??0}px`,De.style.height=`${ye.height??0}px`,De.addEventListener("click",this.handleUnzoom),Re.current?.firstChild?.remove(),Re.current?.appendChild(De)}}}render(){const{handleBtnUnzoomClick:Ie,handleDialogClick:Re,handleDialogClose:ye,handleUnzoom:De,handleZoom:$e,imgEl:qe,props:{a11yNameButtonUnzoom:It,a11yNameButtonZoom:mt,children:kt,classDialog:Ut,IconUnzoom:Ir,IconZoom:Sr,wrapElement:Yr,ZoomContent:Gr,zoomImg:dn,zoomMargin:Kr},refContent:yt,refDialog:tt,refModalContent:Ar,refModalImg:Mr,refWrap:Er,state:{id:Ur,isZoomImgLoaded:or,loadedImgEl:An,modalState:dr,shouldRefresh:Xr,styleGhost:hn}}=this,Qt=`rmiz-modal-${Ur}`,Br=`rmiz-modal-img-${Ur}`,zt=u(qe),Tt=l(qe),Pr=g(qe),Y=h(qe),ht=x(qe),ur=Tt?qe.sizes:void 0,it=Tt?qe.srcset:void 0,Rt=Tt?qe.crossOrigin:void 0,Zr=dn?.src!==void 0&&dn.src!=="",nn=this.hasImage(),fn=Y!==void 0&&Y!==""?`${mt}: ${Y}`:mt,Sn=dr==="LOADING"||dr==="LOADED",Ci=nn?"found":"not-found",$i=dr==="UNLOADED"||dr==="UNLOADING"?"hidden":"visible",qr={visibility:dr==="UNLOADED"?"visible":"hidden"};this.styleModalImg=nn&&qe!==null?J({hasZoomImg:Zr,imgSrc:ht,isSvg:Pr,isZoomed:Sn,loadedImgEl:An,offset:Kr,shouldRefresh:Xr,targetEl:qe}):{};let Bi=null;if(nn){const ms=Tt||zt?n.createElement("img",{alt:Y,crossOrigin:Rt,sizes:ur,src:ht,srcSet:it,...or&&dr==="LOADED"?dn:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height??void 0,id:Br,onTransitionEnd:this.handleImgTransitionEnd,ref:Mr,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):Pr?n.createElement("div",{"data-rmiz-modal-img":!0,onTransitionEnd:this.handleImgTransitionEnd,ref:Mr,style:this.styleModalImg}):null,hs=n.createElement("button",{"aria-label":It,"data-rmiz-btn-unzoom":"",onClick:Ie,type:"button"},n.createElement(Ir,null));Bi=Gr==null?n.createElement(n.Fragment,null,ms,hs):n.createElement(Gr,{buttonUnzoom:hs,modalState:dr,img:ms,isZoomImgLoaded:or,onUnzoom:De})}return n.createElement(Yr,{"aria-owns":Qt,"data-rmiz":"",ref:Er},n.createElement(Yr,{"data-rmiz-content":Ci,ref:yt,style:qr},kt),nn&&n.createElement(Yr,{"data-rmiz-ghost":"",style:hn},n.createElement("button",{"aria-label":fn,"data-rmiz-btn-zoom":"",onClick:$e,type:"button"},n.createElement(Sr,null))),nn&&r.createPortal(n.createElement("dialog",{"aria-labelledby":Br,"aria-modal":"true",className:Ut,"data-rmiz-modal":"",id:Qt,onClick:Re,onClose:ye,onCancel:me,ref:tt,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":$i}),n.createElement("div",{"data-rmiz-modal-content":"",ref:Ar},Bi)),he()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){this.state.modalState!=="UNLOADED"&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect(),this.contentNotFoundChangeObserver?.disconnect(),this.imgElResizeObserver?.disconnect(),this.img
1013El?.removeEventListener("load",this.handleImgLoad),this.imgEl?.removeEventListener("click",this.handleZoom),clearTimeout(this.timeoutTransitionEnd),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),window.removeEventListener("resize",this.handleResize),document.removeEventListener("keydown",this.handleKeyDown,!0)}componentDidUpdate(Ie,Re){this.handleModalStateChange(Re.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(Ie.isZoomed)}}Fe.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:Je,IconZoom:Xe,isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0};function Je(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-unzoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z"}))}function Xe(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-zoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z"}))}function ge({onZoomChange:be,...Ie}){const[Re,ye]=n.useState(!1),De=n.useCallback(($e,{event:qe})=>{ye($e),be?.($e,{event:qe})},[be]);return n.createElement(je,{...Ie,isZoomed:Re,onZoomChange:De})}},16149(f){"use strict";f.exports=JSON.parse('{"description":"The iconic font, CSS, and SVG framework","keywords":["font","awesome","fontawesome","icon","svg","bootstrap"],"homepage":"https://fontawesome.com","bugs":{"url":"https://github.com/FortAwesome/Font-Awesome/issues"},"author":"The Font Awesome Team (https://github.com/orgs/FortAwesome/people)","repository":{"type":"git","url":"https://github.com/FortAwesome/Font-Awesome"},"engines":{"node":">=6"},"dependencies":{"@fortawesome/fontawesome-common-types":"6.7.2"},"version":"6.7.2","name":"@fortawesome/fontawesome-svg-core","main":"index.js","module":"index.mjs","jsnext:main":"index.mjs","style":"styles.css","license":"MIT","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","style":"./styles.css","default":"./index.js"},"./index":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js":{"types":"./index.d.ts","module":"./index.mjs","import":"./index.mjs","require":"./index.js","default":"./index.js"},"./plugins":{"types":"./index.d.ts","module":"./plugins.mjs","import":"./plugins.mjs","default":"./plugins.mjs"},"./import.macro":"./import.macro.js","./import.macro.js":"./import.macro.js","./styles":"./styles.css","./styles.css":"./styles.css","./package.json":"./package.json"},"sideEffects":["./index.js","./index.mjs","./styles.css"]}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.